From 759b1cde50d2b5a74cd4b8f82181e4f2ce3374e1 Mon Sep 17 00:00:00 2001 From: Phineas Kibbey Date: Mon, 13 Jul 2020 12:47:50 -0700 Subject: [PATCH] update free trial registration URL for production --- free-trial-registration/asset-manifest.json | 8 ++++---- free-trial-registration/index.html | 2 +- ...precache-manifest.16e14393f7cd3feec980d368094c3c3a.js} | 6 +++--- free-trial-registration/service-worker.js | 2 +- free-trial-registration/static/js/main.67a287d1.chunk.js | 2 ++ ...n.7f101a59.chunk.js.map => main.67a287d1.chunk.js.map} | 2 +- free-trial-registration/static/js/main.7f101a59.chunk.js | 2 -- 7 files changed, 12 insertions(+), 12 deletions(-) rename free-trial-registration/{precache-manifest.e6349e974943f187070b160bc167f1f8.js => precache-manifest.16e14393f7cd3feec980d368094c3c3a.js} (91%) create mode 100644 free-trial-registration/static/js/main.67a287d1.chunk.js rename free-trial-registration/static/js/{main.7f101a59.chunk.js.map => main.67a287d1.chunk.js.map} (65%) delete mode 100644 free-trial-registration/static/js/main.7f101a59.chunk.js diff --git a/free-trial-registration/asset-manifest.json b/free-trial-registration/asset-manifest.json index bd5aec7c2d..dd62fac7ed 100644 --- a/free-trial-registration/asset-manifest.json +++ b/free-trial-registration/asset-manifest.json @@ -1,14 +1,14 @@ { "files": { - "main.js": "/free-trial-registration/static/js/main.7f101a59.chunk.js", - "main.js.map": "/free-trial-registration/static/js/main.7f101a59.chunk.js.map", + "main.js": "/free-trial-registration/static/js/main.67a287d1.chunk.js", + "main.js.map": "/free-trial-registration/static/js/main.67a287d1.chunk.js.map", "runtime-main.js": "/free-trial-registration/static/js/runtime-main.f7c07ee1.js", "runtime-main.js.map": "/free-trial-registration/static/js/runtime-main.f7c07ee1.js.map", "static/css/2.117ce29f.chunk.css": "/free-trial-registration/static/css/2.117ce29f.chunk.css", "static/js/2.041802f1.chunk.js": "/free-trial-registration/static/js/2.041802f1.chunk.js", "static/js/2.041802f1.chunk.js.map": "/free-trial-registration/static/js/2.041802f1.chunk.js.map", "index.html": "/free-trial-registration/index.html", - "precache-manifest.e6349e974943f187070b160bc167f1f8.js": "/free-trial-registration/precache-manifest.e6349e974943f187070b160bc167f1f8.js", + "precache-manifest.16e14393f7cd3feec980d368094c3c3a.js": "/free-trial-registration/precache-manifest.16e14393f7cd3feec980d368094c3c3a.js", "service-worker.js": "/free-trial-registration/service-worker.js", "static/css/2.117ce29f.chunk.css.map": "/free-trial-registration/static/css/2.117ce29f.chunk.css.map", "static/js/2.041802f1.chunk.js.LICENSE.txt": "/free-trial-registration/static/js/2.041802f1.chunk.js.LICENSE.txt", @@ -24,6 +24,6 @@ "static/js/runtime-main.f7c07ee1.js", "static/css/2.117ce29f.chunk.css", "static/js/2.041802f1.chunk.js", - "static/js/main.7f101a59.chunk.js" + "static/js/main.67a287d1.chunk.js" ] } \ No newline at end of file diff --git a/free-trial-registration/index.html b/free-trial-registration/index.html index af363ed565..218de41cdb 100644 --- a/free-trial-registration/index.html +++ b/free-trial-registration/index.html @@ -1 +1 @@ -Register for a LivePerson Free Trial
\ No newline at end of file +Register for a LivePerson Free Trial
\ No newline at end of file diff --git a/free-trial-registration/precache-manifest.e6349e974943f187070b160bc167f1f8.js b/free-trial-registration/precache-manifest.16e14393f7cd3feec980d368094c3c3a.js similarity index 91% rename from free-trial-registration/precache-manifest.e6349e974943f187070b160bc167f1f8.js rename to free-trial-registration/precache-manifest.16e14393f7cd3feec980d368094c3c3a.js index 5e95b809f7..f270ab1f9e 100644 --- a/free-trial-registration/precache-manifest.e6349e974943f187070b160bc167f1f8.js +++ b/free-trial-registration/precache-manifest.16e14393f7cd3feec980d368094c3c3a.js @@ -1,6 +1,6 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ { - "revision": "8e3f2ce4340c1ce492389d21e656c6d8", + "revision": "0cf67d07bd87bd10556f43724a7805e5", "url": "/free-trial-registration/index.html" }, { @@ -16,8 +16,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/free-trial-registration/static/js/2.041802f1.chunk.js.LICENSE.txt" }, { - "revision": "66d87b211836cf518a81", - "url": "/free-trial-registration/static/js/main.7f101a59.chunk.js" + "revision": "2549321a5c1b07278051", + "url": "/free-trial-registration/static/js/main.67a287d1.chunk.js" }, { "revision": "16d2eee13acead85a280", diff --git a/free-trial-registration/service-worker.js b/free-trial-registration/service-worker.js index 993056f569..f420b34fef 100644 --- a/free-trial-registration/service-worker.js +++ b/free-trial-registration/service-worker.js @@ -14,7 +14,7 @@ importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts( - "/free-trial-registration/precache-manifest.e6349e974943f187070b160bc167f1f8.js" + "/free-trial-registration/precache-manifest.16e14393f7cd3feec980d368094c3c3a.js" ); self.addEventListener('message', (event) => { diff --git a/free-trial-registration/static/js/main.67a287d1.chunk.js b/free-trial-registration/static/js/main.67a287d1.chunk.js new file mode 100644 index 0000000000..46472af813 --- /dev/null +++ b/free-trial-registration/static/js/main.67a287d1.chunk.js @@ -0,0 +1,2 @@ +(this["webpackJsonpfree-trial-registration"]=this["webpackJsonpfree-trial-registration"]||[]).push([[0],{161:function(e,a,t){"use strict";t.r(a);t(96);var n=t(0),r=t.n(n),i=t(82),o=t.n(i),l=(t(152),t(83)),u=t(7),c=t(3),s=t(1),m=t(93),d=t(86),v=/[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}/,p=function(e){return e.includes("\n")?e.split("\n").map((function(e,a){return r.a.createElement("div",{key:a},e)})):e},f=function(e){var a=document.cookie.match(new RegExp("(^| )".concat(e,"=([^;]+)")));return a&&"null"!==a[2].toLowerCase()?a[2]:void 0},g=function(e){var a=e.item,t=e.carouselWidth;return r.a.createElement(s.a,{px:5,sx:{height:"100%",width:t,backgroundImage:"url(".concat("/free-trial-registration","/img/").concat(a.bgImage,")"),backgroundSize:"cover",paddingTop:104,paddingBottom:84,display:"conversational-ai"===a.id?"flex":"block",alignItems:"center",overflow:"auto"}},a.beforeImage&&r.a.createElement(s.d,{src:"".concat("/free-trial-registration","/img/").concat(a.beforeImage),alt:"LivePerson logo",px:3,py:5,sx:{margin:"0 auto",display:"block",width:"channels"===a.id?["100%","100%","90%","80%","70%"]:["100%","100%","50%","40%"],height:"auto"}}),a.title&&r.a.createElement(s.f,{variant:"carouselTitle",mt:1},p(a.title)),a.text&&r.a.createElement(s.f,{variant:"carouselText",mt:1},p(a.text)),a.subtitle&&r.a.createElement(s.f,{variant:"carouselSubtitle",mt:1},p(a.subtitle)),a.author&&r.a.createElement(r.a.Fragment,null,r.a.createElement(s.f,{variant:"carouselAuthorName",mt:3},p(a.author.name)),r.a.createElement(s.f,{variant:"carouselAuthorRole",mt:1},p(a.author.role))))},h=function(e){var a=e.index,t=e.activeIndex,n=e.setActiveIndex;return r.a.createElement(s.a,{onClick:function(e){e.stopPropagation(),n(a)},"data-testid":"carousel-dot"},r.a.createElement(s.a,{variant:t===a?"activeDot":"inactiveDot",m:1,sx:{width:12,height:12,borderRadius:12,cursor:"pointer"}}))},z=function(e){var a=e.slides,t=Object(n.useState)(0),i=Object(c.a)(t,2),o=i[0],l=i[1],u=Object(n.useState)(null),m=Object(c.a)(u,2),d=m[0],v=m[1],p=Object(n.useState)(null),f=Object(c.a)(p,2),z=f[0],b=f[1],y=Object(n.useRef)(),E=Object(n.useCallback)((function(){l((function(e){return e+1>=a.length?0:e+1}))}),[a.length]),x=Object(n.useCallback)((function(){return clearInterval(d)}),[d]),S=Object(n.useCallback)((function(){return v(setInterval(E,6e3)),x}),[x,E]);return Object(n.useEffect)((function(){S()}),[]),Object(n.useLayoutEffect)((function(){var e=function(){b(y.current.offsetWidth)};return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[]),r.a.createElement(s.a,{"data-testid":"carousel",variant:"carousel",onMouseEnter:x,onMouseLeave:S,onClick:E,ref:y,sx:{width:"100%",position:"relative",overflow:"hidden",display:["none","none","block"],cursor:"pointer"}},r.a.createElement(s.c,{sx:{transition:"transform 0.5s",transform:"translate3d(-".concat(z*o,"px, 0, 0)"),position:"absolute",top:0,bottom:0,left:0,width:z*a.length}},a.map((function(e){return r.a.createElement(g,{key:e.id,item:e,carouselWidth:z})}))),r.a.createElement(s.c,{sx:{position:"absolute",left:32,bottom:32,zIndex:1}},a.map((function(e,a){return r.a.createElement(h,{key:a,index:a,activeIndex:o,setActiveIndex:l})}))))},b=t(87),y=t.n(b),E=function(e){var a=e.smallSize,t=e.isStatic;return r.a.createElement(s.d,{src:y.a,alt:"LivePerson logo",px:a?[0,0,2]:4,pt:a?3:6,pb:3,sx:{display:t?"static":a?["block","block","none"]:["none","none","block"],position:t?"static":["static","static","absolute"],top:0,left:0,zIndex:2,width:a?170:215,height:a?66:83}})},x=t(88),S=function(){return r.a.createElement(s.c,{p:[0,0,4,6],justifyContent:"space-between",alignItems:"center",flexWrap:"wrap"},r.a.createElement(E,{smallSize:!0}),r.a.createElement(s.c,{justifyContent:"flex-end",flex:1},r.a.createElement(s.e,{href:"https://authentication.liveperson.net/login.html","data-testid":"signInButton",variant:"secondaryLink"},"Sign In")))},C=t(59),w=t.n(C),O=t(89),k=t(29),j=t(22),I=function(e){var a=e.name,t=e.error;return t.isError&&t.hasInteracted?r.a.createElement(s.f,{variant:"errorMessage",mb:3,mt:"recaptcha"===a?2:0},t.message):null},R=function(e){var a=e.items;return Object.keys(a).map((function(e){switch(e){case"data":return a.data.map((function(e){return r.a.createElement(s.f,{key:e.name,variant:e.isError?"errorText":"errorInformation",ml:e.shouldIndent?2:0},"".concat(e.name))}));case"name":return r.a.createElement(s.f,{key:a.name,variant:"errorInformation"},"".concat(a.name,":"));default:return null}}))},B=function(e){var a=e.focused,t=e.error;return(!0===t.isError||a)&&t.requirements?r.a.createElement(s.f,{"data-testid":"error-requirements",ml:6,mr:6,variant:"errorInformation",sx:{overflow:"visible",height:0,display:["none","block"]}},r.a.createElement(R,{items:t.requirements})):null};function F(){return(F=Object.assign||function(e){for(var a=1;a=0||(r[t]=e[t]);return r}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var A=r.a.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M8 14C12.4183 14 16 11.3137 16 8C16 4.68629 12.4183 2 8 2C3.58172 2 0 4.68629 0 8C0 11.3137 3.58172 14 8 14ZM8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z"}),D=function(e){var a=e.svgRef,t=e.title,n=M(e,["svgRef","title"]);return r.a.createElement("svg",F({width:16,height:16,viewBox:"0 0 16 16",ref:a},n),t?r.a.createElement("title",null,t):null,A)},T=r.a.forwardRef((function(e,a){return r.a.createElement(D,F({svgRef:a},e))}));t.p;function W(){return(W=Object.assign||function(e){for(var a=1;a=0||(r[t]=e[t]);return r}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var G=r.a.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M16 8C16 11.3137 12.4183 14 8 14C3.58172 14 0 11.3137 0 8C0 4.68629 3.58172 2 8 2C12.4183 2 16 4.68629 16 8ZM14 8C14 10.2091 11.3137 12 8 12C4.68629 12 2 10.2091 2 8C2 5.79086 4.68629 4 8 4C11.3137 4 14 5.79086 14 8ZM8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z"}),H=function(e){var a=e.svgRef,t=e.title,n=L(e,["svgRef","title"]);return r.a.createElement("svg",W({width:16,height:16,viewBox:"0 0 16 16",ref:a},n),t?r.a.createElement("title",null,t):null,G)},N=r.a.forwardRef((function(e,a){return r.a.createElement(H,W({svgRef:a},e))})),P=(t.p,function(e){var a=e.name,t=e.placeholder,i=e.value,o=e.updateUserDetail,l=e.updateError,u=e.error,m=e.isFirst,d=e.isMultiple,v=Object(n.useState)(!1),p=Object(c.a)(v,2),f=p[0],g=p[1],h=Object(n.useState)(!1),z=Object(c.a)(h,2),b=z[0],y=z[1],E=Object(n.useRef)(),x="password"===a;Object(n.useEffect)((function(){m&&E.current.focus()}),[m]);var S=function(){return r.a.createElement(s.c,{"data-testid":"password-icon",title:"toggle password visibility",alignItems:"center",onClick:function(){return y(!b)},sx:{padding:"13px",position:"absolute",right:0,top:0,cursor:"pointer",color:"gray",zIndex:1}},b?r.a.createElement(T,null):r.a.createElement(N,null))};return r.a.createElement(s.a,null,r.a.createElement(s.a,{sx:{display:d?"block":"grid",gridTemplateColumns:["auto","5fr 4fr"]}},r.a.createElement(s.a,{sx:{position:"relative"}},r.a.createElement(j.b,{htmlFor:"input-field-".concat(a),style:{display:"none"}},a),x&&r.a.createElement(S,null),r.a.createElement(j.a,{autoComplete:function(){switch(a){case"password":return"new-password";case"email":return"email";case"firstName":return"given-name";case"lastName":return"family-name";default:return"off"}}(),"data-testid":"input-field-".concat(a),id:"input-field-".concat(a),ref:E,variant:u.isError?"textInputError":"textInput",type:x&&!b?"password":"text",placeholder:t,mb:u.isError?2:4,value:i,onFocus:function(){return g(!0)},onBlur:function(){g(!1),l(a,{hasInteracted:!0})},pr:x&&!b?6:3,onChange:function(e){return o(a,e.target.value)},sx:{"&:focus, &:hover":{outlineColor:"navyGray",outlineWidth:2,outlineStyle:"auto"}}})),r.a.createElement(B,{focused:f,error:u})),u&&r.a.createElement(I,{name:a,error:u}))}),U=function(e){var a=e.name,t=e.value,n=e.updateUserDetail,i=e.error,o=e.updateError;return r.a.createElement(s.a,null,r.a.createElement(s.a,{sx:{position:"relative",display:"grid",gridTemplateColumns:["auto","5fr 4fr"]}},r.a.createElement(j.b,{htmlFor:"select-field-".concat(a),style:{display:"none"}},a),r.a.createElement(j.c,{"data-testid":"select-field-".concat(a),autoComplete:"off",variant:i.isError&&""===t?"textInputErrorDisabled":i.isError?"textInputError":""===t?"textInputDisabled":"textInput",defaultValue:"choose-country",onChange:function(e){return n(a,e.target.value)},onBlur:function(){return o(a,{hasInteracted:!0})},name:"region",mb:i.isError?2:4,sx:{"&:focus, &:hover":{outlineColor:"navyGray",outlineWidth:2,outlineStyle:"auto"}}},[{name:"Select country",value:"choose-country",disabled:!0}].concat(Object(m.a)(d.sort((function(e,a){return e.name / ( ) % # =",shouldIndent:!0},{name:"- cannot use any other special characters"}]}},region:{message:"Required Field"},recaptchaResponseToken:{message:"Required Field"}}),h=Object(c.a)(g,2),z=h[0],b=h[1],y=function(e,a){b((function(t){return Object(u.a)(Object(u.a)({},t),{},Object(k.a)({},e,Object(u.a)(Object(u.a)({},t[e]),a)))}))},E=function(e,a){b((function(t){var n=Object(u.a)({},t);return n.password.requirements.data[e].isError=a,n}))},x=function(e,a){var t;switch(e){case"email":t=!v.test(a);break;case"password":t=function(e){var a=e.length>=8;E(0,!a);var t=null!==e.match(/[A-Z]+/);E(1,!t);var n=null!==e.match(/[a-z]+/);E(2,!n);var r=null!==e.match(/[0-9]+/);E(3,!r);var i=null!==e.match(/[&@!*$<>/()%#=]+/);E(4,!i),E(5,!i);var o=null!==e.match(/^[(0-9)(a-z)(A-Z)&@!*$<>/()%#=]+$/);return E(6,!o),!a||!t||!n||!r||!i||!o}(a);break;case"firstName":case"lastName":t=a.length<1;break;case"region":t=!("z1"===a||"z2"===a||"z3"===a);break;default:t=""===a}return y(e,{hasInteracted:!0,isError:t}),t},S=function(e,a){l(Object(u.a)(Object(u.a)({},o),{},Object(k.a)({},e,a))),x(e,a)},C=function(){var e=Object(O.a)(w.a.mark((function e(a){return w.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",fetch("https://self-service.liveperson.com/api/free-trial/account",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(a)}).then((function(e){return"function"===typeof e.json?e.json():e})).then((function(e){f(!1),e.accountId?(t("success"),i(Object(u.a)(Object(u.a)({},e),{},{username:a.email}))):t("error")})).catch((function(){f(!1),t("error")})));case 1:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}();return r.a.createElement(s.a,{sx:{position:"relative"}},r.a.createElement(q,null),r.a.createElement("form",{"data-testid":"registerForm"},r.a.createElement(s.a,{sx:{display:"grid",gridTemplateColumns:["1fr 1fr","2.5fr 2.5fr 4fr"],gridGap:"16px"}},r.a.createElement(P,{name:"firstName",value:o.firstName,updateUserDetail:S,updateError:y,placeholder:"First name",error:z.firstName,isFirst:!0,isMultiple:!0}),r.a.createElement(P,{name:"lastName",value:o.lastName,updateUserDetail:S,updateError:y,placeholder:"Last name",error:z.lastName,isMultiple:!0})),r.a.createElement(P,{name:"email",value:o.email,updateUserDetail:S,updateError:y,placeholder:"Enter business email address",error:z.email}),r.a.createElement(P,{name:"password",value:o.password,updateUserDetail:S,updateError:y,placeholder:"Create password",error:z.password}),r.a.createElement(U,{name:"region",value:o.region,updateUserDetail:S,updateError:y,error:z.region}),r.a.createElement(V,{updateUserDetail:S,error:z.recaptchaResponseToken}),r.a.createElement(s.a,{sx:{display:"grid",gridTemplateColumns:["auto","5fr 4fr"]}},r.a.createElement(s.b,{"data-testid":"registerButton",mt:4,onClick:function(e){e.preventDefault(),Object.keys(o).map((function(e){return x(e,o[e])})).reduce((function(e,a){return a||e}),!1)||(f(!0),C(Object(u.a)(Object(u.a)({},o),$)),a(!0))}},p?r.a.createElement(Y,null):"Create Account"))))},Q=t(91),X=t(92),ee=t(12);function ae(){var e=Object(X.a)(["\n from, 10%, 27%, 40%, to {\n transform: translate3d(0,0,0);\n }\n 20%, 22% {\n transform: translate3d(0, -8px, 0);\n }\n 35% {\n transform: translate3d(0, -4px, 0);\n }\n 45% {\n transform: translate3d(0,-1px,0);\n }\n"]);return ae=function(){return e},e}var te=Object(ee.b)(ae()),ne=function(e){var a=e.delay;return r.a.createElement(s.a,{as:"span",sx:{backgroundColor:"white",width:"3px",height:"3px",borderRadius:"50%",animationName:te,animationDuration:"1.5s",animationTimingFunction:"linear",animationIterationCount:"3",animationDelay:"".concat(a,"s")}})},re=function(){return r.a.createElement(s.a,{as:"span",style:{display:"inline-flex",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box",width:"16px",height:"24px",marginLeft:"4px"}},r.a.createElement(ne,{delay:0}),r.a.createElement(ne,{delay:.15}),r.a.createElement(ne,{delay:.3}))};function ie(){return(ie=Object.assign||function(e){for(var a=1;a=0||(r[t]=e[t]);return r}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var le=r.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72 36C72 55.8823 55.8823 72 36 72C16.1177 72 0 55.8823 0 36C0 16.1177 16.1177 0 36 0C55.8823 0 72 16.1177 72 36ZM38.8284 44.8284C40.3905 46.3905 40.3905 48.9232 38.8284 50.4853C37.2663 52.0474 34.7337 52.0474 33.1716 50.4853C31.6095 48.9232 31.6095 46.3905 33.1716 44.8284C34.7337 43.2663 37.2663 43.2663 38.8284 44.8284ZM36 18C34.3431 18 33 19.3431 33 21V36C33 37.6569 34.3431 39 36 39C37.6569 39 39 37.6569 39 36V21C39 19.3431 37.6569 18 36 18Z",fill:"#EC5252"}),ue=function(e){var a=e.svgRef,t=e.title,n=oe(e,["svgRef","title"]);return r.a.createElement("svg",ie({width:72,height:72,viewBox:"0 0 72 72",fill:"none",ref:a},n),t?r.a.createElement("title",null,t):null,le)},ce=r.a.forwardRef((function(e,a){return r.a.createElement(ue,ie({svgRef:a},e))}));t.p;function se(){return(se=Object.assign||function(e){for(var a=1;a=0||(r[t]=e[t]);return r}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var de=r.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36 72C55.8823 72 72 55.8823 72 36C72 16.1177 55.8823 0 36 0C16.1177 0 0 16.1177 0 36C0 55.8823 16.1177 72 36 72ZM23.4853 32.8284C21.9232 31.2663 19.3905 31.2663 17.8284 32.8284C16.2663 34.3905 16.2663 36.9232 17.8284 38.4853C19.3905 40.0474 21.9232 40.0474 23.4853 38.4853C25.0474 36.9232 25.0474 34.3905 23.4853 32.8284ZM32.8284 32.8284C34.3905 31.2663 36.9232 31.2663 38.4853 32.8284C40.0474 34.3905 40.0474 36.9232 38.4853 38.4853C36.9232 40.0474 34.3905 40.0474 32.8284 38.4853C31.2663 36.9232 31.2663 34.3905 32.8284 32.8284ZM53.4853 32.8284C51.9232 31.2663 49.3905 31.2663 47.8284 32.8284C46.2663 34.3905 46.2663 36.9232 47.8284 38.4853C49.3905 40.0474 51.9232 40.0474 53.4853 38.4853C55.0474 36.9232 55.0474 34.3905 53.4853 32.8284Z",fill:"#DEAD89"}),ve=function(e){var a=e.svgRef,t=e.title,n=me(e,["svgRef","title"]);return r.a.createElement("svg",se({width:72,height:72,viewBox:"0 0 72 72",fill:"none",ref:a},n),t?r.a.createElement("title",null,t):null,de)},pe=r.a.forwardRef((function(e,a){return r.a.createElement(ve,se({svgRef:a},e))}));t.p;function fe(){return(fe=Object.assign||function(e){for(var a=1;a=0||(r[t]=e[t]);return r}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var he=r.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72 36C72 55.8823 55.8823 72 36 72C16.1177 72 0 55.8823 0 36C0 16.1177 16.1177 0 36 0C55.8823 0 72 16.1177 72 36ZM45.7488 26.1213C46.9204 24.9497 48.8199 24.9497 49.9914 26.1213C51.163 27.2929 51.163 29.1924 49.9914 30.364L34.26 46.0954C34.1445 46.2767 34.0075 46.4483 33.8492 46.6066C33.3323 47.1236 32.6735 47.4124 31.9982 47.4732C31.1084 47.587 30.1773 47.3023 29.4939 46.6189C29.3169 46.4419 29.1667 46.2483 29.0432 46.0432L21.1213 38.1213C19.9497 36.9497 19.9497 35.0503 21.1213 33.8787C22.2929 32.7071 24.1924 32.7071 25.364 33.8787L31.6777 40.1924L45.7488 26.1213Z",fill:"#13CF5E"}),ze=function(e){var a=e.svgRef,t=e.title,n=ge(e,["svgRef","title"]);return r.a.createElement("svg",fe({width:72,height:72,viewBox:"0 0 72 72",fill:"none",ref:a},n),t?r.a.createElement("title",null,t):null,he)},be=r.a.forwardRef((function(e,a){return r.a.createElement(ze,fe({svgRef:a},e))})),ye=(t.p,{creating:{icon:r.a.createElement(pe,{"data-testid":"creatingIcon",style:{width:44,height:44}}),title:"Setting up your account",description:"Please wait while we configure and set your account. In the meanwhile, please watch our product overview video"},success:{icon:r.a.createElement(be,{"data-testid":"successIcon",style:{width:44,height:44}}),title:"Congratulations! Your 45 day trial account has been created"},error:{icon:r.a.createElement(ce,{"data-testid":"errorIcon",style:{width:44,height:44}}),title:"Oops! Something went wrong",description:"Get ready to explore and build amazing conversational experiences for your business.",retryMessage:"Retry to sign up again"}}),Ee=function(e){var a=e.isVideoActive,t=e.messageState,i=e.accountDetails,o=e.resetRegistration,l=Object(n.useState)(!1),u=Object(c.a)(l,2),m=u[0],d=u[1],v=Object(n.useState)({}),f=Object(c.a)(v,2),g=f[0],h=f[1],z=Object(n.useRef)(),b=Object(n.useRef)(),y=Object(n.useRef)(),x=Object(n.useRef)(),S="success"===t,C="creating"===t,w=ye[t],O=w.icon,k=w.title,j=w.description,I=w.retryMessage;return Object(n.useLayoutEffect)((function(){var e=function(){var e=b.current.offsetHeight,a=b.current.offsetWidth,t=y.current.offsetHeight;h(function(e,a,t){var n=window.innerHeight-e-t-40;return n/.5625>a?{width:a,height:.5625*a}:{width:n/.5625,height:n}}(e,a,t))};return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[t]),Object(n.useEffect)((function(){z.current=new Q.a("video"),d(!0)}),[]),Object(n.useEffect)((function(){m&&a&&z.current.play()}),[m,a]),r.a.createElement(s.a,{backgroundColor:"navy",sx:{height:"100%",flex:1,overflow:"auto",display:"grid",gridTemplateRows:"auto 1fr"}},r.a.createElement(s.a,{ref:y},r.a.createElement(E,{isStatic:!0})),r.a.createElement(s.c,{flexDirection:"column",alignItems:"center",mx:[4,6,7],pb:6,px:[4,6,7],sx:{textAlign:"center",height:"100%"}},r.a.createElement(s.a,{ref:b,width:"100%"},O,k&&r.a.createElement(s.f,{variant:"videoTitle",my:3},k,C?r.a.createElement(re,null):null),j&&r.a.createElement(s.f,{variant:"videoDescription",mb:6,mx:[2,4,6]},p(j),I&&r.a.createElement(s.f,{"data-testid":"retryButton",onClick:o,mt:4,mb:6,ml:1,fontSize:1,sx:{display:"inline",color:"aqua",cursor:"pointer",fontWeight:700,"&:hover":{color:"aquaHover"}}},I)),S&&r.a.createElement(s.c,{mb:7,alignItems:"center",mt:4,justifyContent:"center",flexWrap:"wrap"},r.a.createElement(s.f,{variant:"accountLabel",mr:3},"Account #"),r.a.createElement(s.f,{variant:"accountDetail",mr:6},i.accountId),r.a.createElement(s.f,{variant:"accountLabel",mr:3},"Username"),r.a.createElement(s.f,{variant:"accountDetail",mr:7},i.username),r.a.createElement(s.e,{href:"https://authentication.liveperson.net/login.html",target:"_blank",variant:"primaryLink"},"Login to your account"))),r.a.createElement(s.a,{flex:1,sx:{width:"100%"},ref:x},r.a.createElement(s.a,{sx:{margin:"0 auto",position:"relative",height:g.height,width:g.width,outlineColor:"shadow",outlineWidth:"6px",outlineStyle:"solid"}},r.a.createElement("iframe",{title:"FTUE",ref:z,id:"video","data-testid":"video",src:"https://player.vimeo.com/video/398468660?autoplay=0&app_id=122963",frameBorder:"0",allow:"autoplay; fullscreen",allowFullScreen:!0,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"}})))))},xe=function(){var e=Object(n.useState)("creating"),a=Object(c.a)(e,2),t=a[0],i=a[1],o=Object(n.useState)(!1),l=Object(c.a)(o,2),m=l[0],d=l[1],v=Object(n.useState)({}),p=Object(c.a)(v,2),f=p[0],g=p[1],h=Object(n.useState)({firstName:"",lastName:"",email:"",password:"",region:"",recaptchaResponseToken:""}),b=Object(c.a)(h,2),y=b[0],C=b[1];return m?r.a.createElement(Ee,{isVideoActive:m,messageState:t,accountDetails:f,resetRegistration:function(){i("creating"),d(!1),g(null),C(Object(u.a)(Object(u.a)({},y),{},{password:""}))}}):r.a.createElement(s.a,{sx:{height:"100%",position:"relative",display:["block","block","grid"],gridTemplateColumns:"5fr 2fr 9fr"},mx:[5,6,0]},r.a.createElement(E,null),r.a.createElement(z,{slides:x}),r.a.createElement(s.a,{backgroundColor:"white"}),r.a.createElement(s.a,{sx:{flex:1,overflow:"auto"},"data-testid":"registerContent"},r.a.createElement(S,null),r.a.createElement(_,{setIsVideoActive:d,setMessageState:i,setAccountDetails:g,userDetails:y,setUserDetails:C}),r.a.createElement(s.f,{variant:"privacyPolicy",mt:6,mb:7},"By creating an account, I agree to LivePerson's\xa0",r.a.createElement(s.e,{sx:{textDecoration:"none",color:"electricBlue","&hover":{color:"electricBlueHover"}},href:"https://www.liveperson.com/policies/license-agreement/"},"End User License Agreement"))))};o.a.render(r.a.createElement(r.a.StrictMode,null,r.a.createElement(l.a,{theme:{breakpoints:["40em","52em","75em","100em"],fontSizes:[".75rem",".875rem","1rem","1.25rem","1.5rem","2rem","2.5rem"],colors:{orange:"#ff6900",electricBlue:"#005EF4",electricBlueHover:"#003FA3",darkBlue:"#1B1E4D",navy:"#090C43",darkNavy:"#04051F",navyGray:"#2D2F52",darkGray:"#675D55",darkerGray:"#463E36",gray:"#847970",lightGray:"#D9D4D0",lighterGray:"#F8F5F3",lightGrey:"#A2A3B8",red:"#DF2A31",lightRed:"#FEECEC",lightBlue:"#5879DA",shadow:"#141358",aqua:"#5ED7FB",aquaHover:"#00a4d6"},space:[0,".25rem",".5rem","1rem","1.5rem","2rem","2.5rem","4rem","8rem","11.875rem"],variants:{activeDot:{backgroundColor:"orange",borderColor:"orange",borderWidth:1,borderStyle:"solid"},inactiveDot:{backgroundColor:"transparent",borderColor:"white",borderWidth:1,borderStyle:"solid"},carousel:{backgroundColor:"darkBlue"},secondaryLink:{fontSize:0,fontFamily:"Roboto",fontWeight:700,lineHeight:"20px",borderRadius:32,paddingLeft:"24px",paddingRight:"24px",paddingTop:"6px",paddingBottom:"6px",backgroundColor:"lighterGray",color:"darkGray",WebkitFontSmoothing:"antialiased",textDecoration:"none","&:hover":{backgroundColor:"lightGray",color:"darkerGray"}},primaryLink:{fontSize:0,fontFamily:"Roboto",fontWeight:700,lineHeight:"20px",borderRadius:32,paddingLeft:"24px",paddingRight:"24px",paddingTop:"6px",paddingBottom:"6px",backgroundColor:"electricBlue",color:"white",WebkitFontSmoothing:"antialiased",textDecoration:"none","&:hover":{backgroundColor:"electricBlueHover"}}},text:{dropdownSelected:{fontSize:0,lineHeight:"20px",color:"navy"},carouselTitle:{color:"white",fontFamily:'"Roboto Slab", sans-serif',fontSize:[2,3,4,6],lineHeight:["24px","32px","40px","56px"]},carouselText:{color:"white",fontSize:[1,1,2,4],lineHeight:["20px","20px","24px","40px"],textAlign:"center",letterSpacing:"0.008em",WebkitFontSmoothing:"antialiased"},carouselSubtitle:{color:"white",fontSize:[1,1,2,3],lineHeight:["20px","20px","24px","32px"],letterSpacing:"0.008em",WebkitFontSmoothing:"antialiased"},carouselAuthorName:{color:"white",fontSize:[1,1,2,3],fontWeight:700,textAlign:"center",lineHeight:["20px","20px","24px","32px"],letterSpacing:"0.008em",WebkitFontSmoothing:"antialiased"},carouselAuthorRole:{color:"white",fontSize:[0,1],textAlign:"center",lineHeight:["20px","24px"],letterSpacing:"0.01em",WebkitFontSmoothing:"antialiased"},header:{fontSize:[3,4,5],fontWeight:700,lineHeight:["28px","36px","44px"],color:"navy",letterSpacing:"0.008em",WebkitFontSmoothing:"antialiased"},subheader:{fontSize:2,fontWeight:300,lineHeight:"24px",color:"navy",letterSpacing:"0.01em",WebkitFontSmoothing:"antialiased"},privacyPolicy:{fontSize:0,lineHeight:"20px",letterSpacing:"0.01em",color:"gray"},errorInformation:{fontSize:0,lineHeight:"20px",color:"navyGray",WebkitFontSmoothing:"antialiased"},errorText:{fontSize:0,lineHeight:"20px",color:"red",WebkitFontSmoothing:"antialiased"},errorMessage:{fontSize:0,lineHeight:"20px",color:"red",WebkitFontSmoothing:"antialiased",maxWidth:["100%","100%",414]},videoTitle:{color:"white",fontSize:3,fontWeight:700,lineHeight:"32px",letterSpacing:"0.008em",WebkitFontSmoothing:"antialiased"},videoDescription:{color:"white",fontSize:1,fontWeight:400,lineHeight:"24px",letterSpacing:"0.01em",WebkitFontSmoothing:"antialiased"},accountLabel:{display:"inline",color:"lightGrey",whiteSpace:"nowrap"},accountDetail:{display:"inline",color:"white",whiteSpace:"nowrap"}},buttons:{primary:{fontSize:2,fontFamily:"Roboto",fontWeight:700,lineHeight:"20px",borderRadius:32,letterSpacing:"0.008em",cursor:"pointer",paddingTop:"22px",paddingBottom:"22px",backgroundColor:"electricBlue",color:"white",WebkitFontSmoothing:"antialiased",maxWidth:"100%",whiteSpace:"nowrap",width:"100%","&:hover":{backgroundColor:"electricBlueHover"}},compact:{fontSize:1,fontFamily:"Roboto",fontWeight:700,lineHeight:"24px",borderRadius:32,letterSpacing:"0.008em",cursor:"pointer",backgroundColor:"electricBlue",color:"white",WebkitFontSmoothing:"antialiased",whiteSpace:"nowrap","&:hover":{backgroundColor:"electricBlueHover"}}},forms:{textInputError:{fontSize:1,fontFamily:"Roboto",color:"navyGray",borderWidth:1,borderStyle:"solid",borderColor:"red",backgroundColor:"lightRed",borderRadius:8,lineHeight:"40px",paddingLeft:3,paddingRight:3,paddingTop:0,paddingBottom:0,letterSpacing:"0.01em",WebkitFontSmoothing:"antialiased",WebkitBoxShadow:"inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px #FEECEC","&::placeholder":{color:"darkGray"}},textInputErrorDisabled:{fontSize:1,fontFamily:"Roboto",color:"darkGray",borderWidth:1,borderStyle:"solid",borderColor:"red",backgroundColor:"lightRed",borderRadius:8,lineHeight:"40px",paddingLeft:3,paddingRight:3,paddingTop:0,paddingBottom:0,letterSpacing:"0.01em",WebkitFontSmoothing:"antialiased",WebkitBoxShadow:"inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px #FEECEC","&::placeholder":{color:"darkGray"}},textInputDisabled:{fontSize:1,fontFamily:"Roboto",color:"darkGray",borderWidth:1,borderStyle:"solid",borderColor:"gray",borderRadius:8,lineHeight:"40px",paddingLeft:3,paddingRight:3,paddingTop:0,paddingBottom:0,letterSpacing:"0.01em",WebkitFontSmoothing:"antialiased",boxShadow:"inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px white","&::placeholder":{color:"darkGray"}},textInput:{fontSize:1,fontFamily:"Roboto",color:"navyGray",borderWidth:1,borderStyle:"solid",borderColor:"gray",borderRadius:8,lineHeight:"40px",paddingLeft:3,paddingRight:3,paddingTop:0,paddingBottom:0,letterSpacing:"0.01em",WebkitFontSmoothing:"antialiased",boxShadow:"inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px white","&::placeholder":{color:"darkGray"}},errorText:{fontSize:1,fontFamily:"Roboto",color:"red"}}}},r.a.createElement(xe,null))),document.getElementById("root")||document.createElement("div"))},86:function(e){e.exports=JSON.parse('[{"name":"Andorra","value":"z2"},{"name":"United Arab Emirates","value":"z2"},{"name":"Afghanistan","value":"z2"},{"name":"Antigua and Barbuda","value":"z1"},{"name":"Anguilla","value":"z1"},{"name":"Albania","value":"z2"},{"name":"Armenia","value":"z2"},{"name":"Angola","value":"z2"},{"name":"Antarctica","value":""},{"name":"Argentina","value":"z1"},{"name":"American Samoa","value":"z1"},{"name":"Austria","value":"z2"},{"name":"Australia","value":"z3"},{"name":"Aruba","value":"z1"},{"name":"Aland Islands","value":"z2"},{"name":"Azerbaijan","value":"z2"},{"name":"Bosnia and Herzegovina","value":"z2"},{"name":"Barbados","value":"z1"},{"name":"Bangladesh","value":"z3"},{"name":"Belgium","value":"z2"},{"name":"Burkina Faso","value":"z2"},{"name":"Bulgaria","value":"z2"},{"name":"Bahrain","value":"z2"},{"name":"Burundi","value":"z2"},{"name":"Benin","value":"z2"},{"name":"Saint Barth\xe9lemy","value":"z1"},{"name":"Bermuda","value":"z1"},{"name":"Brunei Darussalam","value":"z3"},{"name":"Bolivia","value":"z1"},{"name":"Bonaire","value":"z1"},{"name":"Brazil","value":"z1"},{"name":"Bahamas","value":"z1"},{"name":"Bhutan","value":"z3"},{"name":"Bouvet Island","value":"z2"},{"name":"Botswana","value":"z2"},{"name":"Belarus","value":"z2"},{"name":"Belize","value":"z1"},{"name":"Canada","value":"z1"},{"name":"Cocos (Keeling) Islands","value":"z3"},{"name":"Congo (Kinshasa)","value":"z2"},{"name":"Central African Republic","value":"z2"},{"name":"Congo (Brazzaville)","value":"z2"},{"name":"Switzerland","value":"z2"},{"name":"Cote d\'Ivoire","value":"z2"},{"name":"Cook Islands","value":"z3"},{"name":"Chile","value":"z1"},{"name":"Cameroon","value":"z2"},{"name":"China","value":"z3"},{"name":"Colombia","value":"z1"},{"name":"Costa Rica","value":"z1"},{"name":"Cuba","value":"z1"},{"name":"Cape Verde","value":"z2"},{"name":"Cura\xe7ao","value":"z1"},{"name":"Christmas Island","value":"z3"},{"name":"Cyprus","value":"z2"},{"name":"Czech Republic","value":"z2"},{"name":"Germany","value":"z2"},{"name":"Djibouti","value":"z2"},{"name":"Denmark","value":"z2"},{"name":"Dominica","value":"z1"},{"name":"Dominican Republic","value":"z1"},{"name":"Algeria","value":"z2"},{"name":"Ecuador","value":"z1"},{"name":"Estonia","value":"z2"},{"name":"Egypt","value":"z2"},{"name":"Western Sahara","value":"z2"},{"name":"Eritrea","value":"z2"},{"name":"Spain","value":"z2"},{"name":"Ethiopia","value":"z2"},{"name":"Finland","value":"z2"},{"name":"Fiji","value":"z3"},{"name":"Falkland Islands (Malvinas)","value":"z1"},{"name":"Micronesia","value":"z1"},{"name":"Faroe Islands","value":"z2"},{"name":"France","value":"z2"},{"name":"Gabon","value":"z2"},{"name":"United Kingdom","value":"z2"},{"name":"Grenada","value":"z2"},{"name":"Georgia","value":"z2"},{"name":"French Guiana","value":"z2"},{"name":"Guernsey","value":"z2"},{"name":"Ghana","value":"z2"},{"name":"Gibraltar","value":"z2"},{"name":"Greenland","value":"z2"},{"name":"Gambia","value":"z2"},{"name":"Guinea","value":"z1"},{"name":"Guadeloupe","value":"z1"},{"name":"Equatorial Guinea","value":"z2"},{"name":"Greece","value":"z2"},{"name":"South Georgia and the South Sandwich Islands","value":"z1"},{"name":"Guatemala","value":"z1"},{"name":"Guam","value":"z1"},{"name":"Guinea-Bissau","value":"z2"},{"name":"Guyana","value":"z1"},{"name":"Hong Kong","value":"z3"},{"name":"Heard Island and McDonald Islands","value":"z2"},{"name":"Honduras","value":"z1"},{"name":"Croatia","value":"z2"},{"name":"Haiti","value":"z1"},{"name":"Hungary","value":"z2"},{"name":"Indonesia","value":"z3"},{"name":"Ireland","value":"z2"},{"name":"Israel","value":"z2"},{"name":"Isle of Man","value":"z2"},{"name":"India","value":"z3"},{"name":"British Indian Ocean Territory","value":"z3"},{"name":"Iraq","value":"z2"},{"name":"Iran","value":"z2"},{"name":"Iceland","value":"z2"},{"name":"Italy","value":"z2"},{"name":"Jersey","value":"z2"},{"name":"Jamaica","value":"z1"},{"name":"Jordan","value":"z2"},{"name":"Japan","value":"z3"},{"name":"Kenya","value":"z2"},{"name":"Kyrgyzstan","value":"z2"},{"name":"Cambodia","value":"z3"},{"name":"Kiribati","value":"z3"},{"name":"Comoros","value":"z2"},{"name":"Saint Kitts and Nevis","value":"z1"},{"name":"North Korea","value":"z3"},{"name":"South Korea","value":"z3"},{"name":"Kuwait","value":"z2"},{"name":"Cayman Islands","value":"z1"},{"name":"Kazakhstan","value":"z2"},{"name":"Laos","value":"z3"},{"name":"Lebanon","value":"z2"},{"name":"Saint Lucia","value":"z1"},{"name":"Liechtenstein","value":"z2"},{"name":"Sri Lanka","value":"z3"},{"name":"Liberia","value":"z2"},{"name":"Lesotho","value":"z2"},{"name":"Lithuania","value":"z2"},{"name":"Luxembourg","value":"z2"},{"name":"Latvia","value":"z2"},{"name":"Libya","value":"z2"},{"name":"Morocco","value":"z2"},{"name":"Monaco","value":"z2"},{"name":"Moldova","value":"z2"},{"name":"Montenegro","value":"z2"},{"name":"Saint Martin (French part)","value":"z2"},{"name":"Madagascar","value":"z2"},{"name":"Marshall Islands","value":"z3"},{"name":"Macedonia","value":"z2"},{"name":"Mali","value":"z2"},{"name":"Myanmar","value":"z3"},{"name":"Mongolia","value":"z3"},{"name":"Macao","value":"z3"},{"name":"Northern Mariana Islands","value":"z3"},{"name":"Martinique","value":"z1"},{"name":"Mauritania","value":"z2"},{"name":"Montserrat","value":"z1"},{"name":"Malta","value":"z2"},{"name":"Mauritius","value":"z2"},{"name":"Maldives","value":"z3"},{"name":"Malawi","value":"z2"},{"name":"Mexico","value":"z1"},{"name":"Malaysia","value":"z3"},{"name":"Mozambique","value":"z2"},{"name":"Namibia","value":"z2"},{"name":"New Caledonia","value":"z3"},{"name":"Niger","value":"z2"},{"name":"Norfolk Island","value":"z3"},{"name":"Nigeria","value":"z2"},{"name":"Nicaragua","value":"z1"},{"name":"Netherlands","value":"z2"},{"name":"Norway","value":"z2"},{"name":"Nepal","value":"z3"},{"name":"Nauru","value":"z3"},{"name":"Niue","value":"z3"},{"name":"New Zealand","value":"z3"},{"name":"Oman","value":"z2"},{"name":"Panama","value":"z1"},{"name":"Peru","value":"z1"},{"name":"French Polynesia","value":"z3"},{"name":"Papua New Guinea","value":"z3"},{"name":"Philippines","value":"z3"},{"name":"Pakistan","value":"z2"},{"name":"Poland","value":"z2"},{"name":"Saint Pierre and Miquelon","value":"z3"},{"name":"Pitcairn","value":"z3"},{"name":"Puerto Rico","value":"z1"},{"name":"Palestinian Territory, Occupied","value":"z2"},{"name":"Portugal","value":"z2"},{"name":"Palau","value":"z3"},{"name":"Paraguay","value":"z1"},{"name":"Qatar","value":"z2"},{"name":"Reunion","value":"z2"},{"name":"Romania","value":"z2"},{"name":"Serbia","value":"z2"},{"name":"Russia","value":"z2"},{"name":"Rwanda","value":"z2"},{"name":"Saudi Arabia","value":"z2"},{"name":"Solomon Islands","value":"z3"},{"name":"Seychelles","value":"z2"},{"name":"Sudan","value":"z2"},{"name":"Sweden","value":"z2"},{"name":"Singapore","value":"z3"},{"name":"Saint Helena, Ascension and Tristan da Cunha","value":"z2"},{"name":"Slovenia","value":"z2"},{"name":"Svalbard and Jan Mayen","value":"z2"},{"name":"Slovakia","value":"z2"},{"name":"Sierra Leone","value":"z2"},{"name":"San Marino","value":"z2"},{"name":"Senegal","value":"z2"},{"name":"Somalia","value":"z2"},{"name":"Suriname","value":"z1"},{"name":"South Sudan","value":"z2"},{"name":"Sao Tome and Principe","value":"z2"},{"name":"El Salvador","value":"z1"},{"name":"Sint Maarten (Dutch part)","value":"z1"},{"name":"Syria","value":"z2"},{"name":"Swaziland","value":"z2"},{"name":"Turks and Caicos Islands","value":"z1"},{"name":"Chad","value":"z2"},{"name":"French Southern Territories","value":"z2"},{"name":"Togo","value":"z2"},{"name":"Thailand","value":"z3"},{"name":"Tajikistan","value":"z2"},{"name":"Tokelau","value":"z3"},{"name":"Timor-Leste","value":"z3"},{"name":"Turkmenistan","value":"z2"},{"name":"Tunisia","value":"z2"},{"name":"Tonga","value":"z3"},{"name":"Turkey","value":"z2"},{"name":"Trinidad and Tobago","value":"z1"},{"name":"Tuvalu","value":"z3"},{"name":"Taiwan","value":"z3"},{"name":"Tanzania","value":"z3"},{"name":"Ukraine","value":"z2"},{"name":"Uganda","value":"z2"},{"name":"United States Minor Outlying Islands","value":"z1"},{"name":"United States","value":"z1"},{"name":"Uruguay","value":"z1"},{"name":"Uzbekistan","value":"z2"},{"name":"Holy See (Vatican City State)","value":"z2"},{"name":"Saint Vincent and the Grenadines","value":"z1"},{"name":"Venezuela","value":"z1"},{"name":"Virgin Islands (British)","value":"z1"},{"name":"Virgin Islands (United States)","value":"z1"},{"name":"Vietnam","value":"z3"},{"name":"Vanuatu","value":"z3"},{"name":"Wallis and Futuna","value":"z3"},{"name":"Samoa","value":"z3"},{"name":"Yemen","value":"z2"},{"name":"Mayotte","value":"z2"},{"name":"Yugoslavia","value":"z2"},{"name":"South Africa","value":"z2"},{"name":"zambia","value":"z2"},{"name":"zimbabwe","value":"z2"},{"name":"TBD","value":""}]')},87:function(e,a,t){e.exports=t.p+"static/media/logo.df9acfdb.svg"},88:function(e){e.exports=JSON.parse('[{"id":"conversational-ai","bgImage":"carousel-1.jpg","title":"Unleash the\\ntrue power of\\nConversational AI"},{"id":"channels","beforeImage":"banner-image.png","bgImage":"carousel-2.jpg","minHeight":270,"maxHeight":495,"title":"Connect\\nand converse","subtitle":"Engage with customers directly in their preferred communication channels"},{"id":"tools","bgImage":"carousel-3.jpg","beforeImage":"gett.png","minHeight":200,"maxHeight":270,"text":"We\u2019re researchers at heart, and LivePerson\u2019s tools helped us learn and automate more than we thought was possible.","author":{"name":"Yonina Ben Shimon","role":"Global Head of Customer Experience, Gett"}}]')},90:function(e,a,t){e.exports=t.p+"static/media/oval.be00fc4a.svg"},95:function(e,a,t){e.exports=t(161)}},[[95,1,2]]]); +//# sourceMappingURL=main.67a287d1.chunk.js.map \ No newline at end of file diff --git a/free-trial-registration/static/js/main.7f101a59.chunk.js.map b/free-trial-registration/static/js/main.67a287d1.chunk.js.map similarity index 65% rename from free-trial-registration/static/js/main.7f101a59.chunk.js.map rename to free-trial-registration/static/js/main.67a287d1.chunk.js.map index ea3bfe61d9..01c76b816b 100644 --- a/free-trial-registration/static/js/main.7f101a59.chunk.js.map +++ b/free-trial-registration/static/js/main.67a287d1.chunk.js.map @@ -1 +1 @@ -{"version":3,"sources":["utils.js","components/CarouselItem.js","components/CarouselDot.js","components/Carousel.js","components/Logo.js","components/Header.js","components/ErrorText.js","components/ErrorRequirements.js","assets/password-show.svg","assets/password-hide.svg","components/InputField.js","components/SelectField.js","components/Title.js","components/Recaptcha.js","components/Loader.js","components/RegistrationForm.js","components/Loading.js","assets/icon-error.svg","assets/icon-creating.svg","assets/icon-success.svg","components/Video.js","components/App.js","index.js","theme.js","assets/logo.svg","assets/oval.svg"],"names":["emailPattern","convertTextToLines","text","includes","split","map","t","i","key","getCookie","name","match","document","cookie","RegExp","toLowerCase","undefined","CarouselItem","item","carouselWidth","px","sx","height","width","backgroundImage","process","bgImage","backgroundSize","paddingTop","paddingBottom","display","id","alignItems","overflow","beforeImage","src","alt","py","margin","title","variant","mt","subtitle","author","role","CarouselDot","index","activeIndex","setActiveIndex","onClick","event","stopPropagation","data-testid","m","borderRadius","cursor","Carousel","slides","useState","timer","setTimer","setCarouselWidth","carouselRef","useRef","advanceSlider","useCallback","length","stopCarousel","clearInterval","startCarousel","setInterval","useEffect","useLayoutEffect","handleResize","current","offsetWidth","window","addEventListener","removeEventListener","onMouseEnter","onMouseLeave","ref","position","transition","transform","top","bottom","left","zIndex","Logo","smallSize","isStatic","LivePersonLogo","pt","pb","Header","p","justifyContent","flexWrap","flex","href","ErrorText","error","isError","hasInteracted","mb","message","ErrorRequirementsItem","items","Object","keys","data","d","ml","shouldIndent","ErrorRequirements","focused","requirements","mr","_extends","assign","target","arguments","source","prototype","hasOwnProperty","call","apply","this","_objectWithoutProperties","excluded","sourceKeys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","createElement","fill","fillRule","clipRule","_ref","svgRef","props","viewBox","ForwardRef","forwardRef","InputField","placeholder","value","updateUserDetail","updateError","isFirst","isMultiple","isFocused","setIsFocused","isPasswordVisible","setIsPasswordVisible","inputRef","isPassword","focus","PasswordIcon","padding","right","color","gridTemplateColumns","htmlFor","style","autoComplete","getAutoCompleteType","type","onFocus","onBlur","pr","onChange","outlineColor","outlineWidth","outlineStyle","SelectField","defaultValue","disabled","countries","sort","a","b","option","Title","backgroundColor","Recaptcha","size","sitekey","Loader","Spinner","MARKETING_DATA","marketingData","leadSource","referringUrl","utmCampaignId","utmCampaignMedium","utmCampaignSearchKeywords","utmCampaignSource","utmContent","RegistrationForm","setIsVideoActive","setMessageState","setAccountDetails","userDetails","setUserDetails","isCreatingAccount","setIsCreatingAccount","firstName","lastName","email","password","region","recaptchaResponseToken","errors","setErrors","obj","prevErrors","updateRequirement","newErrors","validateUserDetail","userDetail","test","hasLength","hasUppercase","hasLowercase","hasNumber","hasSpecial","hasNoExtra","isPasswordErrored","sendAccountData","accountData","fetch","method","headers","Accept","body","JSON","stringify","then","response","json","result","accountId","username","catch","gridGap","preventDefault","reduce","acc","bounce","keyframes","LoadingDot","delay","as","animationName","animationDuration","animationTimingFunction","animationIterationCount","animationDelay","Loading","boxSizing","marginLeft","MESSAGE_STATES","creating","icon","description","success","retryMessage","Video","isVideoActive","messageState","accountDetails","resetRegistration","isVideoReady","setIsVideoReady","dimensions","setDimensions","playerRef","headerRef","logoRef","playerContainer","isSuccess","isCreating","headerHeight","offsetHeight","headerWidth","logoHeight","newHeight","innerHeight","getSize","Player","play","gridTemplateRows","flexDirection","mx","textAlign","my","fontSize","fontWeight","frameBorder","allow","allowFullScreen","App","carouselData","textDecoration","ReactDOM","render","StrictMode","theme","breakpoints","fontSizes","colors","orange","electricBlue","electricBlueHover","darkBlue","navy","darkNavy","navyGray","darkGray","darkerGray","gray","lightGray","lighterGray","lightGrey","red","lightRed","lightBlue","shadow","aqua","aquaHover","space","variants","activeDot","borderColor","borderWidth","borderStyle","inactiveDot","carousel","secondaryLink","fontFamily","lineHeight","paddingLeft","paddingRight","WebkitFontSmoothing","primaryLink","dropdownSelected","carouselTitle","carouselText","letterSpacing","carouselSubtitle","carouselAuthorName","carouselAuthorRole","header","subheader","privacyPolicy","errorInformation","errorText","errorMessage","maxWidth","videoTitle","videoDescription","accountLabel","whiteSpace","accountDetail","buttons","primary","compact","forms","textInputError","WebkitBoxShadow","textInputError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T,WAAY,EACZC,cAAe,EACfmU,cAAe,SACfL,oBAAqB,cAErB6B,UAAW,kEACX,iBAAkB,CAChBpN,MAAO,aAGXoM,UAAW,CACT5D,SAAU,EACV2C,WAAY,SACZnL,MAAO,UDzTP,kBAAC,GAAD,QAGJxJ,SAAS8W,eAAe,SAAW9W,SAAS6H,cAAc,S,ysREd5DkP,EAAOC,QAAU,IAA0B,kC,mtBCA3CD,EAAOC,QAAU,IAA0B,kC","file":"static/js/main.7f101a59.chunk.js","sourcesContent":["import React from 'react';\nimport countries from './assets/countries.json';\n\nconst emailPattern = /[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,3}/;\n\nconst convertTextToLines = (text) => {\n if (text.includes('\\n')) {\n return text.split('\\n').map((t, i) =>
{t}
);\n }\n return text;\n};\n\nconst getCookie = (name) => {\n const match = document.cookie.match(new RegExp(`(^| )${name}=([^;]+)`));\n return match && match[2].toLowerCase() !== 'null' ? match[2] : undefined;\n};\n\nconst getCountries = () => [\n { name: 'Select country', value: 'choose-country', disabled: true },\n ...countries.sort((a, b) => (a.name < b.name ? -1 : 1)),\n];\n\nexport {\n emailPattern, convertTextToLines, getCookie, getCountries,\n};\n","import React from 'react';\nimport { Box, Text, Image } from 'rebass';\nimport { convertTextToLines } from '../utils';\n\nconst CarouselItem = ({ item, carouselWidth }) => (\n \n {item.beforeImage && (\n \n )}\n {item.title && {convertTextToLines(item.title)}}\n {item.text && {convertTextToLines(item.text)}}\n {item.subtitle && {convertTextToLines(item.subtitle)}}\n {item.author && (\n <>\n {convertTextToLines(item.author.name)}\n {convertTextToLines(item.author.role)}\n \n )}\n \n);\n\nexport default CarouselItem;\n","import React from 'react';\nimport { Box } from 'rebass';\n\nconst CarouselDot = ({ index, activeIndex, setActiveIndex }) => (\n {\n // Prevent click from going through to parent\n event.stopPropagation();\n setActiveIndex(index);\n }}\n data-testid=\"carousel-dot\"\n >\n \n \n);\n\nexport default CarouselDot;\n","import React, {\n useState, useEffect, useCallback, useRef, useLayoutEffect,\n} from 'react';\nimport { Box, Flex } from 'rebass';\nimport CarouselItem from './CarouselItem';\nimport CarouselDot from './CarouselDot';\n\nconst CAROUSEL_DURATION = 6000;\n\nconst Carousel = ({ slides }) => {\n const [activeIndex, setActiveIndex] = useState(0);\n const [timer, setTimer] = useState(null);\n const [carouselWidth, setCarouselWidth] = useState(null);\n const carouselRef = useRef();\n\n const advanceSlider = useCallback(() => {\n setActiveIndex((index) => (index + 1 >= slides.length ? 0 : index + 1));\n }, [slides.length]);\n\n const stopCarousel = useCallback(() => clearInterval(timer), [timer]);\n\n const startCarousel = useCallback(() => {\n setTimer(setInterval(advanceSlider, CAROUSEL_DURATION));\n return stopCarousel;\n }, [stopCarousel, advanceSlider]);\n\n useEffect(() => {\n startCarousel();\n }, []); // eslint-disable-line\n\n useLayoutEffect(() => {\n const handleResize = () => {\n setCarouselWidth(carouselRef.current.offsetWidth);\n };\n\n window.addEventListener('resize', handleResize);\n handleResize();\n\n return () => window.removeEventListener('resize', handleResize);\n }, []);\n return (\n \n \n {slides.map((item) => (\n \n ))}\n \n \n {slides.map((item, index) => (\n \n ))}\n \n \n );\n};\n\nexport default Carousel;\n","import React from 'react';\nimport { Image } from 'rebass';\nimport LivePersonLogo from '../assets/logo.svg';\n\nconst Logo = ({ smallSize, isStatic }) => {\n const getDisplay = () => {\n if (isStatic) {\n return 'static';\n }\n if (smallSize) {\n return ['block', 'block', 'none'];\n }\n return ['none', 'none', 'block'];\n };\n\n return (\n \n );\n};\n\nexport default Logo;\n","import React from 'react';\nimport { Flex, Link } from 'rebass';\nimport Logo from './Logo';\n\nconst Header = () => (\n \n \n \n Sign In\n \n \n);\n\nexport default Header;\n","import React from 'react';\nimport { Text } from 'rebass';\n\nconst ErrorText = ({ name, error }) => (error.isError && error.hasInteracted\n ? (\n \n {error.message}\n \n )\n : null);\nexport default ErrorText;\n","import React from 'react';\nimport { Text } from 'rebass';\n\nconst ErrorRequirementsItem = ({ items }) => Object.keys(items).map((item) => {\n switch (item) {\n case 'data':\n return (\n items.data.map((d) => (\n \n {`${d.name}`}\n \n ))\n );\n case 'name':\n return (\n {`${items.name}:`}\n );\n default:\n return null;\n }\n});\n\nconst ErrorRequirements = ({ focused, error }) => {\n if ((error.isError === true || focused) && error.requirements) {\n return (\n \n \n \n );\n }\n return null;\n};\n\nexport default ErrorRequirements;\n","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\n\nvar _ref2 = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M8 14C12.4183 14 16 11.3137 16 8C16 4.68629 12.4183 2 8 2C3.58172 2 0 4.68629 0 8C0 11.3137 3.58172 14 8 14ZM8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z\"\n});\n\nvar SvgPasswordShow = function SvgPasswordShow(_ref) {\n var svgRef = _ref.svgRef,\n title = _ref.title,\n props = _objectWithoutProperties(_ref, [\"svgRef\", \"title\"]);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 16,\n height: 16,\n viewBox: \"0 0 16 16\",\n ref: svgRef\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", null, title) : null, _ref2);\n};\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(SvgPasswordShow, _extends({\n svgRef: ref\n }, props));\n});\nexport default __webpack_public_path__ + \"static/media/password-show.eb7812d0.svg\";\nexport { ForwardRef as ReactComponent };","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\n\nvar _ref2 = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M16 8C16 11.3137 12.4183 14 8 14C3.58172 14 0 11.3137 0 8C0 4.68629 3.58172 2 8 2C12.4183 2 16 4.68629 16 8ZM14 8C14 10.2091 11.3137 12 8 12C4.68629 12 2 10.2091 2 8C2 5.79086 4.68629 4 8 4C11.3137 4 14 5.79086 14 8ZM8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z\"\n});\n\nvar SvgPasswordHide = function SvgPasswordHide(_ref) {\n var svgRef = _ref.svgRef,\n title = _ref.title,\n props = _objectWithoutProperties(_ref, [\"svgRef\", \"title\"]);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 16,\n height: 16,\n viewBox: \"0 0 16 16\",\n ref: svgRef\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", null, title) : null, _ref2);\n};\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(SvgPasswordHide, _extends({\n svgRef: ref\n }, props));\n});\nexport default __webpack_public_path__ + \"static/media/password-hide.5811cbdd.svg\";\nexport { ForwardRef as ReactComponent };","import React, { useEffect, useState, useRef } from 'react';\nimport { Flex, Box } from 'rebass';\nimport { Input, Label } from '@rebass/forms';\nimport ErrorText from './ErrorText';\nimport ErrorRequirements from './ErrorRequirements';\nimport { ReactComponent as PasswordShow } from '../assets/password-show.svg';\nimport { ReactComponent as PasswordHide } from '../assets/password-hide.svg';\n\nconst InputField = ({\n name, placeholder, value, updateUserDetail, updateError, error, isFirst, isMultiple,\n}) => {\n const [isFocused, setIsFocused] = useState(false);\n const [isPasswordVisible, setIsPasswordVisible] = useState(false);\n const inputRef = useRef();\n\n const isPassword = name === 'password';\n\n const getAutoCompleteType = () => {\n switch (name) {\n case 'password':\n return 'new-password';\n case 'email':\n return 'email';\n case 'firstName':\n return 'given-name';\n case 'lastName':\n return 'family-name';\n default:\n return 'off';\n }\n };\n\n useEffect(() => {\n // Focus the first input field onload\n if (isFirst) { inputRef.current.focus(); }\n }, [isFirst]);\n\n const PasswordIcon = () => (\n setIsPasswordVisible(!isPasswordVisible)}\n sx={{\n padding: '13px',\n position: 'absolute',\n right: 0,\n top: 0,\n cursor: 'pointer',\n color: 'gray',\n zIndex: 1,\n }}\n >\n {isPasswordVisible ? : }\n \n );\n\n return (\n \n \n \n \n {isPassword && }\n setIsFocused(true)}\n onBlur={() => {\n setIsFocused(false);\n updateError(name, { hasInteracted: true });\n }}\n pr={isPassword && !isPasswordVisible ? 6 : 3}\n onChange={(event) => updateUserDetail(name, event.target.value)}\n sx={{\n '&:focus, &:hover': {\n outlineColor: 'navyGray',\n outlineWidth: 2,\n outlineStyle: 'auto',\n },\n }}\n />\n \n \n \n {error && }\n \n );\n};\n\nexport default InputField;\n","import React from 'react';\nimport { Box } from 'rebass';\nimport { Select, Label } from '@rebass/forms';\nimport ErrorText from './ErrorText';\nimport { getCountries } from '../utils';\n\nconst INTITIAL_VALUE = 'choose-country';\n\nconst SelectField = ({\n name, value, updateUserDetail, error, updateError,\n}) => {\n const getVariant = () => {\n if (error.isError && value === '') {\n return 'textInputErrorDisabled';\n }\n if (error.isError) {\n return 'textInputError';\n }\n if (value === '') {\n return 'textInputDisabled';\n }\n return 'textInput';\n };\n\n return (\n \n \n \n updateUserDetail(name, event.target.value)}\n onBlur={() => updateError(name, { hasInteracted: true })}\n name=\"region\"\n mb={error.isError ? 2 : 4}\n sx={{\n '&:focus, &:hover': {\n outlineColor: 'navyGray',\n outlineWidth: 2,\n outlineStyle: 'auto',\n },\n }}\n >\n {getCountries().map((option) => (\n \n ))}\n \n \n {error && }\n \n );\n};\n\nexport default SelectField;\n","import React from 'react';\nimport { Box, Text } from 'rebass';\n\nconst Title = () => (\n \n \n \n Sign up for a free trial\n \n \n No credit card required\n \n \n);\nexport default Title;\n","import React from 'react';\nimport ReCAPTCHA from 'react-google-recaptcha';\nimport ErrorText from './ErrorText';\n\n// TODO: add REACT_APP_TEST_RECAPTCHA_KEY here if it is in test mode\n\nconst Recaptcha = ({ updateUserDetail, error }) => (\n <>\n updateUserDetail('recaptchaResponseToken', value)}\n />\n {error.isError && }\n \n);\n\nexport default Recaptcha;\n","import React from 'react';\nimport { Image } from 'rebass';\nimport Spinner from '../assets/oval.svg';\n\nconst Loader = () => (\n \"\"\n);\n\nexport default Loader;\n","import React, { useState } from 'react';\nimport { Box, Button } from 'rebass';\nimport InputField from './InputField';\nimport SelectField from './SelectField';\nimport Title from './Title';\nimport Recaptcha from './Recaptcha';\nimport Loader from './Loader';\nimport { getCookie, emailPattern } from '../utils';\n\nconst MARKETING_DATA = {\n marketingData: {\n leadSource: getCookie('lp-leadSource') || '',\n referringUrl: getCookie('lp-lsRef') || '',\n utmCampaignId: getCookie('lp-lsCampaign') || '',\n utmCampaignMedium: getCookie('lp-lsMedium') || '',\n utmCampaignSearchKeywords: getCookie('lp-lsTerms') || '',\n utmCampaignSource: getCookie('lp-lsSource') || '',\n utmContent: getCookie('lp-lsContent') || '',\n },\n};\n\nconst RegistrationForm = ({\n setIsVideoActive, setMessageState, setAccountDetails, userDetails, setUserDetails,\n}) => {\n const [isCreatingAccount, setIsCreatingAccount] = useState(null);\n const [errors, setErrors] = useState(\n {\n firstName: {\n message: 'Required field',\n },\n lastName: {\n message: 'Required Field',\n },\n email: {\n message: 'The business email address entered is not valid.',\n },\n password: {\n message: 'Your password does not meet all the requirements',\n requirements: {\n name: 'Your password must consist of:',\n data: [\n { name: '- minimum of 8 characters' },\n { name: '- one or more uppercase letters (A-Z)' },\n { name: '- one or more lowercase letters (a-z)' },\n { name: '- one or more numbers (0-9)' },\n { name: '- one or more of these special characters:' },\n { name: '& @ ! * $ < > / ( ) % # =', shouldIndent: true },\n { name: '- cannot use any other special characters' },\n ],\n },\n },\n region: {\n message: 'Required Field',\n },\n recaptchaResponseToken: {\n message: 'Required Field',\n },\n },\n );\n\n const updateError = (name, obj) => {\n setErrors((prevErrors) => ({\n ...prevErrors,\n [name]: {\n ...prevErrors[name],\n ...obj,\n },\n }));\n };\n\n const updateRequirement = (index, value) => {\n setErrors((prevErrors) => {\n const newErrors = { ...prevErrors };\n newErrors.password.requirements.data[index].isError = value;\n return newErrors;\n });\n };\n\n const isPasswordErrored = (value) => {\n // Check length\n const hasLength = value.length >= 8;\n updateRequirement(0, !hasLength);\n\n // Check uppercase\n const hasUppercase = value.match(/[A-Z]+/) !== null;\n updateRequirement(1, !hasUppercase);\n\n // Check lowercase\n const hasLowercase = value.match(/[a-z]+/) !== null;\n updateRequirement(2, !hasLowercase);\n\n // Check numbers\n const hasNumber = value.match(/[0-9]+/) !== null;\n updateRequirement(3, !hasNumber);\n\n // Check special characters\n const hasSpecial = value.match(/[&@!*$<>/()%#=]+/) !== null;\n updateRequirement(4, !hasSpecial);\n updateRequirement(5, !hasSpecial);\n\n // Check special characters\n const hasNoExtra = value.match(/^[(0-9)(a-z)(A-Z)&@!*$<>/()%#=]+$/) !== null;\n updateRequirement(6, !hasNoExtra);\n\n return !hasLength || !hasUppercase || !hasLowercase || !hasNumber || !hasSpecial || !hasNoExtra;\n };\n\n const validateUserDetail = (name, userDetail) => {\n let isError;\n\n switch (name) {\n case 'email':\n isError = !emailPattern.test(userDetail);\n break;\n case 'password':\n isError = isPasswordErrored(userDetail);\n break;\n case 'firstName':\n case 'lastName':\n isError = userDetail.length < 1;\n break;\n case 'region':\n isError = !(userDetail === 'z1' || userDetail === 'z2' || userDetail === 'z3');\n break;\n default:\n isError = userDetail === '';\n }\n\n updateError(name, {\n hasInteracted: true,\n isError,\n });\n\n return isError;\n };\n\n const updateUserDetail = (name, userDetail) => {\n setUserDetails({ ...userDetails, [name]: userDetail });\n validateUserDetail(name, userDetail);\n };\n\n const hasErrors = () => {\n const userDetailErrors = Object.keys(userDetails).map(\n (item) => validateUserDetail(item, userDetails[item]),\n );\n return userDetailErrors.reduce((item, acc) => acc || item, false);\n };\n\n const sendAccountData = async (accountData) => fetch(process.env.REACT_APP_ENDPOINT_ALPHA, {\n method: 'POST',\n headers: { 'Content-Type': 'application/json', Accept: 'application/json' },\n body: JSON.stringify(accountData),\n })\n .then((response) => {\n if (typeof response.json === 'function') {\n return response.json();\n }\n return response;\n })\n .then((result) => {\n setIsCreatingAccount(false);\n if (result.accountId) {\n setMessageState('success');\n setAccountDetails({ ...result, username: accountData.email });\n } else {\n setMessageState('error');\n }\n })\n .catch(() => {\n setIsCreatingAccount(false);\n setMessageState('error');\n });\n\n const createAccount = (event) => {\n event.preventDefault();\n if (!hasErrors()) {\n setIsCreatingAccount(true);\n sendAccountData({ ...userDetails, ...MARKETING_DATA });\n setIsVideoActive(true);\n }\n };\n\n return (\n \n \n <form data-testid=\"registerForm\">\n <Box sx={{ display: 'grid', gridTemplateColumns: ['1fr 1fr', '2.5fr 2.5fr 4fr'], gridGap: '16px' }}>\n <InputField\n name=\"firstName\"\n value={userDetails.firstName}\n updateUserDetail={updateUserDetail}\n updateError={updateError}\n placeholder=\"First name\"\n error={errors.firstName}\n isFirst\n isMultiple\n />\n <InputField\n name=\"lastName\"\n value={userDetails.lastName}\n updateUserDetail={updateUserDetail}\n updateError={updateError}\n placeholder=\"Last name\"\n error={errors.lastName}\n isMultiple\n />\n </Box>\n <InputField\n name=\"email\"\n value={userDetails.email}\n updateUserDetail={updateUserDetail}\n updateError={updateError}\n placeholder=\"Enter business email address\"\n error={errors.email}\n />\n <InputField\n name=\"password\"\n value={userDetails.password}\n updateUserDetail={updateUserDetail}\n updateError={updateError}\n placeholder=\"Create password\"\n error={errors.password}\n />\n <SelectField\n name=\"region\"\n value={userDetails.region}\n updateUserDetail={updateUserDetail}\n updateError={updateError}\n error={errors.region}\n />\n <Recaptcha\n updateUserDetail={updateUserDetail}\n error={errors.recaptchaResponseToken}\n />\n <Box sx={{ display: 'grid', gridTemplateColumns: ['auto', '5fr 4fr'] }}>\n <Button data-testid=\"registerButton\" mt={4} onClick={createAccount}>\n {isCreatingAccount ? <Loader /> : 'Create Account'}\n </Button>\n </Box>\n </form>\n </Box>\n );\n};\n\nexport default RegistrationForm;\n","import React from 'react';\nimport { Box } from 'rebass';\nimport { keyframes } from '@emotion/core';\n\nconst bounce = keyframes`\n from, 10%, 27%, 40%, to {\n transform: translate3d(0,0,0);\n }\n 20%, 22% {\n transform: translate3d(0, -8px, 0);\n }\n 35% {\n transform: translate3d(0, -4px, 0);\n }\n 45% {\n transform: translate3d(0,-1px,0);\n }\n`;\n\nconst LoadingDot = ({ delay }) => (\n <Box\n as=\"span\"\n sx={{\n backgroundColor: 'white',\n width: '3px',\n height: '3px',\n borderRadius: '50%',\n animationName: bounce,\n animationDuration: '1.5s',\n animationTimingFunction: 'linear',\n animationIterationCount: '3',\n animationDelay: `${delay}s`,\n }}\n />\n);\n\nconst Loading = () => (\n <Box\n as=\"span\"\n style={{\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n boxSizing: 'border-box',\n width: '16px',\n height: '24px',\n marginLeft: '4px',\n }}\n >\n <LoadingDot delay={0} />\n <LoadingDot delay={0.15} />\n <LoadingDot delay={0.3} />\n </Box>\n);\n\nexport default Loading;\n","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\n\nvar _ref2 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M72 36C72 55.8823 55.8823 72 36 72C16.1177 72 0 55.8823 0 36C0 16.1177 16.1177 0 36 0C55.8823 0 72 16.1177 72 36ZM38.8284 44.8284C40.3905 46.3905 40.3905 48.9232 38.8284 50.4853C37.2663 52.0474 34.7337 52.0474 33.1716 50.4853C31.6095 48.9232 31.6095 46.3905 33.1716 44.8284C34.7337 43.2663 37.2663 43.2663 38.8284 44.8284ZM36 18C34.3431 18 33 19.3431 33 21V36C33 37.6569 34.3431 39 36 39C37.6569 39 39 37.6569 39 36V21C39 19.3431 37.6569 18 36 18Z\",\n fill: \"#EC5252\"\n});\n\nvar SvgIconError = function SvgIconError(_ref) {\n var svgRef = _ref.svgRef,\n title = _ref.title,\n props = _objectWithoutProperties(_ref, [\"svgRef\", \"title\"]);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 72,\n height: 72,\n viewBox: \"0 0 72 72\",\n fill: \"none\",\n ref: svgRef\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", null, title) : null, _ref2);\n};\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(SvgIconError, _extends({\n svgRef: ref\n }, props));\n});\nexport default __webpack_public_path__ + \"static/media/icon-error.f45043ca.svg\";\nexport { ForwardRef as ReactComponent };","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\n\nvar _ref2 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M36 72C55.8823 72 72 55.8823 72 36C72 16.1177 55.8823 0 36 0C16.1177 0 0 16.1177 0 36C0 55.8823 16.1177 72 36 72ZM23.4853 32.8284C21.9232 31.2663 19.3905 31.2663 17.8284 32.8284C16.2663 34.3905 16.2663 36.9232 17.8284 38.4853C19.3905 40.0474 21.9232 40.0474 23.4853 38.4853C25.0474 36.9232 25.0474 34.3905 23.4853 32.8284ZM32.8284 32.8284C34.3905 31.2663 36.9232 31.2663 38.4853 32.8284C40.0474 34.3905 40.0474 36.9232 38.4853 38.4853C36.9232 40.0474 34.3905 40.0474 32.8284 38.4853C31.2663 36.9232 31.2663 34.3905 32.8284 32.8284ZM53.4853 32.8284C51.9232 31.2663 49.3905 31.2663 47.8284 32.8284C46.2663 34.3905 46.2663 36.9232 47.8284 38.4853C49.3905 40.0474 51.9232 40.0474 53.4853 38.4853C55.0474 36.9232 55.0474 34.3905 53.4853 32.8284Z\",\n fill: \"#DEAD89\"\n});\n\nvar SvgIconCreating = function SvgIconCreating(_ref) {\n var svgRef = _ref.svgRef,\n title = _ref.title,\n props = _objectWithoutProperties(_ref, [\"svgRef\", \"title\"]);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 72,\n height: 72,\n viewBox: \"0 0 72 72\",\n fill: \"none\",\n ref: svgRef\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", null, title) : null, _ref2);\n};\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(SvgIconCreating, _extends({\n svgRef: ref\n }, props));\n});\nexport default __webpack_public_path__ + \"static/media/icon-creating.5a981910.svg\";\nexport { ForwardRef as ReactComponent };","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\n\nvar _ref2 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M72 36C72 55.8823 55.8823 72 36 72C16.1177 72 0 55.8823 0 36C0 16.1177 16.1177 0 36 0C55.8823 0 72 16.1177 72 36ZM45.7488 26.1213C46.9204 24.9497 48.8199 24.9497 49.9914 26.1213C51.163 27.2929 51.163 29.1924 49.9914 30.364L34.26 46.0954C34.1445 46.2767 34.0075 46.4483 33.8492 46.6066C33.3323 47.1236 32.6735 47.4124 31.9982 47.4732C31.1084 47.587 30.1773 47.3023 29.4939 46.6189C29.3169 46.4419 29.1667 46.2483 29.0432 46.0432L21.1213 38.1213C19.9497 36.9497 19.9497 35.0503 21.1213 33.8787C22.2929 32.7071 24.1924 32.7071 25.364 33.8787L31.6777 40.1924L45.7488 26.1213Z\",\n fill: \"#13CF5E\"\n});\n\nvar SvgIconSuccess = function SvgIconSuccess(_ref) {\n var svgRef = _ref.svgRef,\n title = _ref.title,\n props = _objectWithoutProperties(_ref, [\"svgRef\", \"title\"]);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 72,\n height: 72,\n viewBox: \"0 0 72 72\",\n fill: \"none\",\n ref: svgRef\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", null, title) : null, _ref2);\n};\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(SvgIconSuccess, _extends({\n svgRef: ref\n }, props));\n});\nexport default __webpack_public_path__ + \"static/media/icon-success.f528a38e.svg\";\nexport { ForwardRef as ReactComponent };","import React, {\n useEffect, useState, useRef, useLayoutEffect,\n} from 'react';\nimport {\n Box, Text, Flex, Link,\n} from 'rebass';\nimport Player from '@vimeo/player';\nimport Logo from './Logo';\nimport Loading from './Loading';\nimport { ReactComponent as ErrorIcon } from '../assets/icon-error.svg';\nimport { ReactComponent as CreatingIcon } from '../assets/icon-creating.svg';\nimport { ReactComponent as SuccessIcon } from '../assets/icon-success.svg';\nimport { convertTextToLines } from '../utils';\n\nconst MESSAGE_STATES = {\n creating: {\n icon: <CreatingIcon data-testid=\"creatingIcon\" style={{ width: 44, height: 44 }} />,\n title: 'Setting up your account',\n description: 'Please wait while we configure and set your account. In the meanwhile, please watch our product overview video',\n },\n success: {\n icon: <SuccessIcon data-testid=\"successIcon\" style={{ width: 44, height: 44 }} />,\n title: 'Congratulations! Your 45 day trial account has been created',\n },\n error: {\n icon: <ErrorIcon data-testid=\"errorIcon\" style={{ width: 44, height: 44 }} />,\n title: 'Oops! Something went wrong',\n description: 'Get ready to explore and build amazing conversational experiences for your business.',\n retryMessage: 'Retry to sign up again',\n },\n};\n\nconst getSize = (headerHeight, headerWidth, logoHeight) => {\n const newHeight = window.innerHeight - headerHeight - logoHeight - 40;\n if (newHeight / 0.5625 > headerWidth) {\n return {\n width: headerWidth,\n height: headerWidth * 0.5625,\n };\n }\n return {\n width: newHeight / 0.5625,\n height: newHeight,\n };\n};\n\nconst Video = ({\n isVideoActive,\n messageState,\n accountDetails,\n resetRegistration,\n}) => {\n const [isVideoReady, setIsVideoReady] = useState(false);\n const [dimensions, setDimensions] = useState({});\n const playerRef = useRef();\n const headerRef = useRef();\n const logoRef = useRef();\n const playerContainer = useRef();\n const isSuccess = messageState === 'success';\n const isCreating = messageState === 'creating';\n const {\n icon, title, description, retryMessage,\n } = MESSAGE_STATES[messageState];\n\n useLayoutEffect(() => {\n const handleResize = () => {\n const headerHeight = headerRef.current.offsetHeight;\n const headerWidth = headerRef.current.offsetWidth;\n const logoHeight = logoRef.current.offsetHeight;\n setDimensions(getSize(headerHeight, headerWidth, logoHeight));\n };\n\n window.addEventListener('resize', handleResize);\n handleResize();\n\n return () => window.removeEventListener('resize', handleResize);\n }, [messageState]);\n\n useEffect(() => {\n playerRef.current = new Player('video');\n setIsVideoReady(true);\n }, []);\n\n useEffect(() => {\n if (isVideoReady && isVideoActive) {\n playerRef.current.play();\n }\n }, [isVideoReady, isVideoActive]);\n\n return (\n <Box\n backgroundColor=\"navy\"\n sx={{\n height: '100%',\n flex: 1,\n overflow: 'auto',\n display: 'grid',\n gridTemplateRows: 'auto 1fr',\n }}\n >\n <Box ref={logoRef}>\n <Logo isStatic />\n </Box>\n <Flex\n flexDirection=\"column\"\n alignItems=\"center\"\n mx={[4, 6, 7]}\n pb={6}\n px={[4, 6, 7]}\n sx={{ textAlign: 'center', height: '100%' }}\n >\n <Box ref={headerRef} width=\"100%\">\n {icon}\n {title && (\n <Text variant=\"videoTitle\" my={3}>\n {title}\n {isCreating ? <Loading /> : null}\n </Text>\n )}\n {description && (\n <Text variant=\"videoDescription\" mb={6} mx={[2, 4, 6]}>\n {convertTextToLines(description)}\n {retryMessage && (\n <Text\n data-testid=\"retryButton\"\n onClick={resetRegistration}\n mt={4}\n mb={6}\n ml={1}\n fontSize={1}\n sx={{\n display: 'inline',\n color: 'aqua',\n cursor: 'pointer',\n fontWeight: 700,\n '&:hover': {\n color: 'aquaHover',\n },\n }}\n >\n {retryMessage}\n </Text>\n )}\n </Text>\n )}\n {isSuccess && (\n <Flex mb={7} alignItems=\"center\" mt={4} justifyContent=\"center\" flexWrap=\"wrap\">\n <Text variant=\"accountLabel\" mr={3}>Account #</Text>\n <Text variant=\"accountDetail\" mr={6}>{accountDetails.accountId}</Text>\n <Text variant=\"accountLabel\" mr={3}>Username</Text>\n <Text variant=\"accountDetail\" mr={7}>{accountDetails.username}</Text>\n <Link href=\"https://authentication.liveperson.net/login.html\" target=\"_blank\" variant=\"primaryLink\">Login to your account</Link>\n </Flex>\n )}\n </Box>\n <Box flex={1} sx={{ width: '100%' }} ref={playerContainer}>\n <Box\n sx={{\n margin: '0 auto',\n position: 'relative',\n height: dimensions.height,\n width: dimensions.width,\n outlineColor: 'shadow',\n outlineWidth: '6px',\n outlineStyle: 'solid',\n }}\n >\n <iframe\n title=\"FTUE\"\n ref={playerRef}\n id=\"video\"\n data-testid=\"video\"\n src=\"https://player.vimeo.com/video/398468660?autoplay=0&app_id=122963\"\n frameBorder=\"0\"\n allow=\"autoplay; fullscreen\"\n allowFullScreen\n style={{\n position: 'absolute',\n top: 0,\n left: 0,\n width: '100%',\n height: '100%',\n }}\n />\n </Box>\n </Box>\n </Flex>\n </Box>\n );\n};\n\nexport default Video;\n","import React, { useState } from 'react';\nimport { Box, Text, Link } from 'rebass';\nimport Carousel from './Carousel';\nimport Logo from './Logo';\nimport carouselData from '../assets/carouselData.json';\nimport Header from './Header';\nimport RegistrationForm from './RegistrationForm';\nimport Video from './Video';\n\nconst App = () => {\n const [messageState, setMessageState] = useState('creating');\n const [isVideoActive, setIsVideoActive] = useState(false);\n const [accountDetails, setAccountDetails] = useState({});\n const [userDetails, setUserDetails] = useState(\n {\n firstName: '',\n lastName: '',\n email: '',\n password: '',\n region: '',\n recaptchaResponseToken: '',\n },\n );\n\n const resetRegistration = () => {\n setMessageState('creating');\n setIsVideoActive(false);\n setAccountDetails(null);\n // Reset password\n setUserDetails({ ...userDetails, password: '' });\n };\n\n if (isVideoActive) {\n return (\n <Video\n isVideoActive={isVideoActive}\n messageState={messageState}\n accountDetails={accountDetails}\n resetRegistration={resetRegistration}\n />\n );\n }\n\n return (\n <Box\n sx={{\n height: '100%',\n position: 'relative',\n display: ['block', 'block', 'grid'],\n gridTemplateColumns: '5fr 2fr 9fr',\n }}\n mx={[5, 6, 0]}\n >\n <Logo />\n <Carousel slides={carouselData} />\n <Box backgroundColor=\"white\" />\n <Box sx={{ flex: 1, overflow: 'auto' }} data-testid=\"registerContent\">\n <Header />\n <RegistrationForm\n setIsVideoActive={setIsVideoActive}\n setMessageState={setMessageState}\n setAccountDetails={setAccountDetails}\n userDetails={userDetails}\n setUserDetails={setUserDetails}\n />\n <Text variant=\"privacyPolicy\" mt={6} mb={7}>\n By creating an account, I agree to LivePerson's \n <Link\n sx={{\n textDecoration: 'none',\n color: 'electricBlue',\n '&hover': {\n color: 'electricBlueHover',\n },\n }}\n href=\"https://www.liveperson.com/policies/license-agreement/\"\n >\n End User License Agreement\n </Link>\n </Text>\n </Box>\n </Box>\n );\n};\n\nexport default App;\n","import 'react-app-polyfill/ie11';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport 'reset-css';\nimport { ThemeProvider } from 'emotion-theming';\nimport App from './components/App';\nimport theme from './theme';\n\nReactDOM.render(\n <React.StrictMode>\n <ThemeProvider theme={theme}>\n <App />\n </ThemeProvider>\n </React.StrictMode>,\n document.getElementById('root') || document.createElement('div'),\n);\n","/*\n ...Theme...\n Used to provide style units to the components to encourage consistency.\n Adheres to the Theme UI specs: https://theme-ui.com/theme-spec\n\n ...Variants...\n variants, text and buttons can be used to offset repeated stylistic changes.\n*/\nexport default {\n breakpoints: ['40em', '52em', '75em', '100em'],\n fontSizes: [\n '.75rem', '.875rem', '1rem', '1.25rem', '1.5rem', '2rem', '2.5rem',\n ],\n colors: {\n orange: '#ff6900',\n electricBlue: '#005EF4',\n electricBlueHover: '#003FA3',\n darkBlue: '#1B1E4D',\n navy: '#090C43',\n darkNavy: '#04051F',\n navyGray: '#2D2F52',\n darkGray: '#675D55',\n darkerGray: '#463E36',\n gray: '#847970',\n lightGray: '#D9D4D0',\n lighterGray: '#F8F5F3',\n lightGrey: '#A2A3B8',\n red: '#DF2A31',\n lightRed: '#FEECEC',\n lightBlue: '#5879DA',\n shadow: '#141358',\n aqua: '#5ED7FB',\n aquaHover: '#00a4d6',\n },\n space: [\n 0, '.25rem', '.5rem', '1rem', '1.5rem', '2rem', '2.5rem', '4rem', '8rem', '11.875rem',\n ],\n variants: {\n activeDot: {\n backgroundColor: 'orange',\n borderColor: 'orange',\n borderWidth: 1,\n borderStyle: 'solid',\n },\n inactiveDot: {\n backgroundColor: 'transparent',\n borderColor: 'white',\n borderWidth: 1,\n borderStyle: 'solid',\n },\n carousel: {\n backgroundColor: 'darkBlue',\n },\n secondaryLink: {\n fontSize: 0,\n fontFamily: 'Roboto',\n fontWeight: 700,\n lineHeight: '20px',\n borderRadius: 32,\n paddingLeft: '24px',\n paddingRight: '24px',\n paddingTop: '6px',\n paddingBottom: '6px',\n backgroundColor: 'lighterGray',\n color: 'darkGray',\n WebkitFontSmoothing: 'antialiased',\n textDecoration: 'none',\n '&:hover': {\n backgroundColor: 'lightGray',\n color: 'darkerGray',\n },\n },\n primaryLink: {\n fontSize: 0,\n fontFamily: 'Roboto',\n fontWeight: 700,\n lineHeight: '20px',\n borderRadius: 32,\n paddingLeft: '24px',\n paddingRight: '24px',\n paddingTop: '6px',\n paddingBottom: '6px',\n backgroundColor: 'electricBlue',\n color: 'white',\n WebkitFontSmoothing: 'antialiased',\n textDecoration: 'none',\n '&:hover': {\n backgroundColor: 'electricBlueHover',\n },\n },\n\n },\n text: {\n dropdownSelected: {\n fontSize: 0,\n lineHeight: '20px',\n color: 'navy',\n },\n carouselTitle: {\n color: 'white',\n fontFamily: '\"Roboto Slab\", sans-serif',\n fontSize: [2, 3, 4, 6],\n lineHeight: ['24px', '32px', '40px', '56px'],\n },\n carouselText: {\n color: 'white',\n fontSize: [1, 1, 2, 4],\n lineHeight: ['20px', '20px', '24px', '40px'],\n textAlign: 'center',\n letterSpacing: '0.008em',\n WebkitFontSmoothing: 'antialiased',\n },\n carouselSubtitle: {\n color: 'white',\n fontSize: [1, 1, 2, 3],\n lineHeight: ['20px', '20px', '24px', '32px'],\n letterSpacing: '0.008em',\n WebkitFontSmoothing: 'antialiased',\n },\n carouselAuthorName: {\n color: 'white',\n fontSize: [1, 1, 2, 3],\n fontWeight: 700,\n textAlign: 'center',\n lineHeight: ['20px', '20px', '24px', '32px'],\n letterSpacing: '0.008em',\n WebkitFontSmoothing: 'antialiased',\n },\n carouselAuthorRole: {\n color: 'white',\n fontSize: [0, 1],\n textAlign: 'center',\n lineHeight: ['20px', '24px'],\n letterSpacing: '0.01em',\n WebkitFontSmoothing: 'antialiased',\n },\n header: {\n fontSize: [3, 4, 5],\n fontWeight: 700,\n lineHeight: ['28px', '36px', '44px'],\n color: 'navy',\n letterSpacing: '0.008em',\n WebkitFontSmoothing: 'antialiased',\n },\n subheader: {\n fontSize: 2,\n fontWeight: 300,\n lineHeight: '24px',\n color: 'navy',\n letterSpacing: '0.01em',\n WebkitFontSmoothing: 'antialiased',\n },\n privacyPolicy: {\n fontSize: 0,\n lineHeight: '20px',\n letterSpacing: '0.01em',\n color: 'gray',\n },\n errorInformation: {\n fontSize: 0,\n lineHeight: '20px',\n color: 'navyGray',\n WebkitFontSmoothing: 'antialiased',\n },\n errorText: {\n fontSize: 0,\n lineHeight: '20px',\n color: 'red',\n WebkitFontSmoothing: 'antialiased',\n },\n errorMessage: {\n fontSize: 0,\n lineHeight: '20px',\n color: 'red',\n WebkitFontSmoothing: 'antialiased',\n maxWidth: ['100%', '100%', 414],\n },\n videoTitle: {\n color: 'white',\n fontSize: 3,\n fontWeight: 700,\n lineHeight: '32px',\n letterSpacing: '0.008em',\n WebkitFontSmoothing: 'antialiased',\n },\n videoDescription: {\n color: 'white',\n fontSize: 1,\n fontWeight: 400,\n lineHeight: '24px',\n letterSpacing: '0.01em',\n WebkitFontSmoothing: 'antialiased',\n },\n accountLabel: { display: 'inline', color: 'lightGrey', whiteSpace: 'nowrap' },\n accountDetail: { display: 'inline', color: 'white', whiteSpace: 'nowrap' },\n },\n buttons: {\n primary: {\n fontSize: 2,\n fontFamily: 'Roboto',\n fontWeight: 700,\n lineHeight: '20px',\n borderRadius: 32,\n letterSpacing: '0.008em',\n cursor: 'pointer',\n paddingTop: '22px',\n paddingBottom: '22px',\n backgroundColor: 'electricBlue',\n color: 'white',\n WebkitFontSmoothing: 'antialiased',\n maxWidth: '100%',\n whiteSpace: 'nowrap',\n width: '100%',\n '&:hover': {\n backgroundColor: 'electricBlueHover',\n },\n },\n compact: {\n fontSize: 1,\n fontFamily: 'Roboto',\n fontWeight: 700,\n lineHeight: '24px',\n borderRadius: 32,\n letterSpacing: '0.008em',\n cursor: 'pointer',\n backgroundColor: 'electricBlue',\n color: 'white',\n WebkitFontSmoothing: 'antialiased',\n whiteSpace: 'nowrap',\n '&:hover': {\n backgroundColor: 'electricBlueHover',\n },\n },\n },\n forms: {\n textInputError: {\n fontSize: 1,\n fontFamily: 'Roboto',\n color: 'navyGray',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'red',\n backgroundColor: 'lightRed',\n borderRadius: 8,\n lineHeight: '40px',\n paddingLeft: 3,\n paddingRight: 3,\n paddingTop: 0,\n paddingBottom: 0,\n letterSpacing: '0.01em',\n WebkitFontSmoothing: 'antialiased',\n // HACK: colorize webkit autocomplete input fields\n WebkitBoxShadow: 'inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px #FEECEC',\n '&::placeholder': {\n color: 'darkGray',\n },\n },\n textInputErrorDisabled: {\n fontSize: 1,\n fontFamily: 'Roboto',\n color: 'darkGray',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'red',\n backgroundColor: 'lightRed',\n borderRadius: 8,\n lineHeight: '40px',\n paddingLeft: 3,\n paddingRight: 3,\n paddingTop: 0,\n paddingBottom: 0,\n letterSpacing: '0.01em',\n WebkitFontSmoothing: 'antialiased',\n // HACK: colorize webkit autocomplete input fields\n WebkitBoxShadow: 'inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px #FEECEC',\n '&::placeholder': {\n color: 'darkGray',\n },\n },\n textInputDisabled: {\n fontSize: 1,\n fontFamily: 'Roboto',\n color: 'darkGray',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'gray',\n borderRadius: 8,\n lineHeight: '40px',\n paddingLeft: 3,\n paddingRight: 3,\n paddingTop: 0,\n paddingBottom: 0,\n letterSpacing: '0.01em',\n WebkitFontSmoothing: 'antialiased',\n // HACK: colorize webkit autocomplete input fields\n boxShadow: 'inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px white',\n '&::placeholder': {\n color: 'darkGray',\n },\n },\n textInput: {\n fontSize: 1,\n fontFamily: 'Roboto',\n color: 'navyGray',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'gray',\n borderRadius: 8,\n lineHeight: '40px',\n paddingLeft: 3,\n paddingRight: 3,\n paddingTop: 0,\n paddingBottom: 0,\n letterSpacing: '0.01em',\n WebkitFontSmoothing: 'antialiased',\n // HACK: colorize webkit autocomplete input fields\n boxShadow: 'inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px white',\n '&::placeholder': {\n color: 'darkGray',\n },\n },\n errorText: {\n fontSize: 1,\n fontFamily: 'Roboto',\n color: 'red',\n },\n },\n};\n","module.exports = __webpack_public_path__ + \"static/media/logo.df9acfdb.svg\";","module.exports = __webpack_public_path__ + \"static/media/oval.be00fc4a.svg\";"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["utils.js","components/CarouselItem.js","components/CarouselDot.js","components/Carousel.js","components/Logo.js","components/Header.js","components/ErrorText.js","components/ErrorRequirements.js","assets/password-show.svg","assets/password-hide.svg","components/InputField.js","components/SelectField.js","components/Title.js","components/Recaptcha.js","components/Loader.js","components/RegistrationForm.js","components/Loading.js","assets/icon-error.svg","assets/icon-creating.svg","assets/icon-success.svg","components/Video.js","components/App.js","index.js","theme.js","assets/logo.svg","assets/oval.svg"],"names":["emailPattern","convertTextToLines","text","includes","split","map","t","i","key","getCookie","name","match","document","cookie","RegExp","toLowerCase","undefined","CarouselItem","item","carouselWidth","px","sx","height","width","backgroundImage","process","bgImage","backgroundSize","paddingTop","paddingBottom","display","id","alignItems","overflow","beforeImage","src","alt","py","margin","title","variant","mt","subtitle","author","role","CarouselDot","index","activeIndex","setActiveIndex","onClick","event","stopPropagation","data-testid","m","borderRadius","cursor","Carousel","slides","useState","timer","setTimer","setCarouselWidth","carouselRef","useRef","advanceSlider","useCallback","length","stopCarousel","clearInterval","startCarousel","setInterval","useEffect","useLayoutEffect","handleResize","current","offsetWidth","window","addEventListener","removeEventListener","onMouseEnter","onMouseLeave","ref","position","transition","transform","top","bottom","left","zIndex","Logo","smallSize","isStatic","LivePersonLogo","pt","pb","Header","p","justifyContent","flexWrap","flex","href","ErrorText","error","isError","hasInteracted","mb","message","ErrorRequirementsItem","items","Object","keys","data","d","ml","shouldIndent","ErrorRequirements","focused","requirements","mr","_extends","assign","target","arguments","source","prototype","hasOwnProperty","call","apply","this","_objectWithoutProperties","excluded","sourceKeys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","createElement","fill","fillRule","clipRule","_ref","svgRef","props","viewBox","ForwardRef","forwardRef","InputField","placeholder","value","updateUserDetail","updateError","isFirst","isMultiple","isFocused","setIsFocused","isPasswordVisible","setIsPasswordVisible","inputRef","isPassword","focus","PasswordIcon","padding","right","color","gridTemplateColumns","htmlFor","style","autoComplete","getAutoCompleteType","type","onFocus","onBlur","pr","onChange","outlineColor","outlineWidth","outlineStyle","SelectField","defaultValue","disabled","countries","sort","a","b","option","Title","backgroundColor","Recaptcha","size","sitekey","Loader","Spinner","MARKETING_DATA","marketingData","leadSource","referringUrl","utmCampaignId","utmCampaignMedium","utmCampaignSearchKeywords","utmCampaignSource","utmContent","RegistrationForm","setIsVideoActive","setMessageState","setAccountDetails","userDetails","setUserDetails","isCreatingAccount","setIsCreatingAccount","firstName","lastName","email","password","region","recaptchaResponseToken","errors","setErrors","obj","prevErrors","updateRequirement","newErrors","validateUserDetail","userDetail","test","hasLength","hasUppercase","hasLowercase","hasNumber","hasSpecial","hasNoExtra","isPasswordErrored","sendAccountData","accountData","fetch","method","headers","Accept","body","JSON","stringify","then","response","json","result","accountId","username","catch","gridGap","preventDefault","reduce","acc","bounce","keyframes","LoadingDot","delay","as","animationName","animationDuration","animationTimingFunction","animationIterationCount","animationDelay","Loading","boxSizing","marginLeft","MESSAGE_STATES","creating","icon","description","success","retryMessage","Video","isVideoActive","messageState","accountDetails","resetRegistration","isVideoReady","setIsVideoReady","dimensions","setDimensions","playerRef","headerRef","logoRef","playerContainer","isSuccess","isCreating","headerHeight","offsetHeight","headerWidth","logoHeight","newHeight","innerHeight","getSize","Player","play","gridTemplateRows","flexDirection","mx","textAlign","my","fontSize","fontWeight","frameBorder","allow","allowFullScreen","App","carouselData","textDecoration","ReactDOM","render","StrictMode","theme","breakpoints","fontSizes","colors","orange","electricBlue","electricBlueHover","darkBlue","navy","darkNavy","navyGray","darkGray","darkerGray","gray","lightGray","lighterGray","lightGrey","red","lightRed","lightBlue","shadow","aqua","aquaHover","space","variants","activeDot","borderColor","borderWidth","borderStyle","inactiveDot","carousel","secondaryLink","fontFamily","lineHeight","paddingLeft","paddingRight","WebkitFontSmoothing","primaryLink","dropdownSelected","carouselTitle","carouselText","letterSpacing","carouselSubtitle","carouselAuthorName","carouselAuthorRole","header","subheader","privacyPolicy","errorInformation","errorText","errorMessage","maxWidth","videoTitle","videoDescription","accountLabel","whiteSpace","accountDetail","buttons","primary","compact","forms","textInputError","WebkitBoxShadow","textInputErrorDisabled","textInputDisabled","boxShadow","textInput","getElementById","module","exports"],"mappings":"kPAGMA,EAAe,yCAEfC,EAAqB,SAACC,GAC1B,OAAIA,EAAKC,SAAS,MACTD,EAAKE,MAAM,MAAMC,KAAI,SAACC,EAAGC,GAAJ,OAAU,yBAAKC,IAAKD,G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e,SAAW9W,SAAS6H,cAAc,S,ysREd5DkP,EAAOC,QAAU,IAA0B,kC,mtBCA3CD,EAAOC,QAAU,IAA0B,kC","file":"static/js/main.67a287d1.chunk.js","sourcesContent":["import React from 'react';\nimport countries from './assets/countries.json';\n\nconst emailPattern = /[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,3}/;\n\nconst convertTextToLines = (text) => {\n if (text.includes('\\n')) {\n return text.split('\\n').map((t, i) => <div key={i}>{t}</div>);\n }\n return text;\n};\n\nconst getCookie = (name) => {\n const match = document.cookie.match(new RegExp(`(^| )${name}=([^;]+)`));\n return match && match[2].toLowerCase() !== 'null' ? match[2] : undefined;\n};\n\nconst getCountries = () => [\n { name: 'Select country', value: 'choose-country', disabled: true },\n ...countries.sort((a, b) => (a.name < b.name ? -1 : 1)),\n];\n\nexport {\n emailPattern, convertTextToLines, getCookie, getCountries,\n};\n","import React from 'react';\nimport { Box, Text, Image } from 'rebass';\nimport { convertTextToLines } from '../utils';\n\nconst CarouselItem = ({ item, carouselWidth }) => (\n <Box\n px={5}\n sx={{\n height: '100%',\n width: carouselWidth,\n backgroundImage: `url(${process.env.PUBLIC_URL}/img/${item.bgImage})`,\n backgroundSize: 'cover',\n paddingTop: 104,\n paddingBottom: 84,\n display: item.id === 'conversational-ai' ? 'flex' : 'block',\n alignItems: 'center',\n overflow: 'auto',\n }}\n >\n {item.beforeImage && (\n <Image\n src={`${process.env.PUBLIC_URL}/img/${item.beforeImage}`}\n alt=\"LivePerson logo\"\n px={3}\n py={5}\n sx={{\n margin: '0 auto',\n display: 'block',\n width: item.id === 'channels' ? ['100%', '100%', '90%', '80%', '70%'] : ['100%', '100%', '50%', '40%'],\n height: 'auto',\n }}\n />\n )}\n {item.title && <Text variant=\"carouselTitle\" mt={1}>{convertTextToLines(item.title)}</Text>}\n {item.text && <Text variant=\"carouselText\" mt={1}>{convertTextToLines(item.text)}</Text>}\n {item.subtitle && <Text variant=\"carouselSubtitle\" mt={1}>{convertTextToLines(item.subtitle)}</Text>}\n {item.author && (\n <>\n <Text variant=\"carouselAuthorName\" mt={3}>{convertTextToLines(item.author.name)}</Text>\n <Text variant=\"carouselAuthorRole\" mt={1}>{convertTextToLines(item.author.role)}</Text>\n </>\n )}\n </Box>\n);\n\nexport default CarouselItem;\n","import React from 'react';\nimport { Box } from 'rebass';\n\nconst CarouselDot = ({ index, activeIndex, setActiveIndex }) => (\n <Box\n onClick={(event) => {\n // Prevent click from going through to parent\n event.stopPropagation();\n setActiveIndex(index);\n }}\n data-testid=\"carousel-dot\"\n >\n <Box\n variant={activeIndex === index ? 'activeDot' : 'inactiveDot'}\n m={1}\n sx={{\n width: 12,\n height: 12,\n borderRadius: 12,\n cursor: 'pointer',\n }}\n />\n </Box>\n);\n\nexport default CarouselDot;\n","import React, {\n useState, useEffect, useCallback, useRef, useLayoutEffect,\n} from 'react';\nimport { Box, Flex } from 'rebass';\nimport CarouselItem from './CarouselItem';\nimport CarouselDot from './CarouselDot';\n\nconst CAROUSEL_DURATION = 6000;\n\nconst Carousel = ({ slides }) => {\n const [activeIndex, setActiveIndex] = useState(0);\n const [timer, setTimer] = useState(null);\n const [carouselWidth, setCarouselWidth] = useState(null);\n const carouselRef = useRef();\n\n const advanceSlider = useCallback(() => {\n setActiveIndex((index) => (index + 1 >= slides.length ? 0 : index + 1));\n }, [slides.length]);\n\n const stopCarousel = useCallback(() => clearInterval(timer), [timer]);\n\n const startCarousel = useCallback(() => {\n setTimer(setInterval(advanceSlider, CAROUSEL_DURATION));\n return stopCarousel;\n }, [stopCarousel, advanceSlider]);\n\n useEffect(() => {\n startCarousel();\n }, []); // eslint-disable-line\n\n useLayoutEffect(() => {\n const handleResize = () => {\n setCarouselWidth(carouselRef.current.offsetWidth);\n };\n\n window.addEventListener('resize', handleResize);\n handleResize();\n\n return () => window.removeEventListener('resize', handleResize);\n }, []);\n return (\n <Box\n data-testid=\"carousel\"\n variant=\"carousel\"\n onMouseEnter={stopCarousel}\n onMouseLeave={startCarousel}\n onClick={advanceSlider}\n ref={carouselRef}\n sx={{\n width: '100%',\n position: 'relative',\n overflow: 'hidden',\n display: ['none', 'none', 'block'],\n cursor: 'pointer',\n }}\n >\n <Flex sx={{\n transition: 'transform 0.5s',\n transform: `translate3d(-${carouselWidth * activeIndex}px, 0, 0)`,\n position: 'absolute',\n top: 0,\n bottom: 0,\n left: 0,\n width: carouselWidth * slides.length,\n }}\n >\n {slides.map((item) => (\n <CarouselItem\n key={item.id}\n item={item}\n carouselWidth={carouselWidth}\n />\n ))}\n </Flex>\n <Flex sx={{\n position: 'absolute', left: 32, bottom: 32, zIndex: 1,\n }}\n >\n {slides.map((item, index) => (\n <CarouselDot\n key={index}\n index={index}\n activeIndex={activeIndex}\n setActiveIndex={setActiveIndex}\n />\n ))}\n </Flex>\n </Box>\n );\n};\n\nexport default Carousel;\n","import React from 'react';\nimport { Image } from 'rebass';\nimport LivePersonLogo from '../assets/logo.svg';\n\nconst Logo = ({ smallSize, isStatic }) => {\n const getDisplay = () => {\n if (isStatic) {\n return 'static';\n }\n if (smallSize) {\n return ['block', 'block', 'none'];\n }\n return ['none', 'none', 'block'];\n };\n\n return (\n <Image\n src={LivePersonLogo}\n alt=\"LivePerson logo\"\n px={smallSize ? [0, 0, 2] : 4}\n pt={smallSize ? 3 : 6}\n pb={3}\n sx={{\n display: getDisplay(),\n position: isStatic ? 'static' : ['static', 'static', 'absolute'],\n top: 0,\n left: 0,\n zIndex: 2,\n width: smallSize ? 170 : 215,\n height: smallSize ? 66 : 83,\n }}\n />\n );\n};\n\nexport default Logo;\n","import React from 'react';\nimport { Flex, Link } from 'rebass';\nimport Logo from './Logo';\n\nconst Header = () => (\n <Flex p={[0, 0, 4, 6]} justifyContent=\"space-between\" alignItems=\"center\" flexWrap=\"wrap\">\n <Logo smallSize />\n <Flex justifyContent=\"flex-end\" flex={1}>\n <Link href=\"https://authentication.liveperson.net/login.html\" data-testid=\"signInButton\" variant=\"secondaryLink\">Sign In</Link>\n </Flex>\n </Flex>\n);\n\nexport default Header;\n","import React from 'react';\nimport { Text } from 'rebass';\n\nconst ErrorText = ({ name, error }) => (error.isError && error.hasInteracted\n ? (\n <Text\n variant=\"errorMessage\"\n mb={3}\n mt={name === 'recaptcha' ? 2 : 0}\n >\n {error.message}\n </Text>\n )\n : null);\nexport default ErrorText;\n","import React from 'react';\nimport { Text } from 'rebass';\n\nconst ErrorRequirementsItem = ({ items }) => Object.keys(items).map((item) => {\n switch (item) {\n case 'data':\n return (\n items.data.map((d) => (\n <Text\n key={d.name}\n variant={d.isError ? 'errorText' : 'errorInformation'}\n ml={d.shouldIndent ? 2 : 0}\n >\n {`${d.name}`}\n </Text>\n ))\n );\n case 'name':\n return (\n <Text key={items.name} variant=\"errorInformation\">{`${items.name}:`}</Text>\n );\n default:\n return null;\n }\n});\n\nconst ErrorRequirements = ({ focused, error }) => {\n if ((error.isError === true || focused) && error.requirements) {\n return (\n <Text\n data-testid=\"error-requirements\"\n ml={6}\n mr={6}\n variant=\"errorInformation\"\n sx={{\n overflow: 'visible',\n height: 0,\n display: ['none', 'block'],\n }}\n >\n <ErrorRequirementsItem items={error.requirements} />\n </Text>\n );\n }\n return null;\n};\n\nexport default ErrorRequirements;\n","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\n\nvar _ref2 = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M8 14C12.4183 14 16 11.3137 16 8C16 4.68629 12.4183 2 8 2C3.58172 2 0 4.68629 0 8C0 11.3137 3.58172 14 8 14ZM8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z\"\n});\n\nvar SvgPasswordShow = function SvgPasswordShow(_ref) {\n var svgRef = _ref.svgRef,\n title = _ref.title,\n props = _objectWithoutProperties(_ref, [\"svgRef\", \"title\"]);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 16,\n height: 16,\n viewBox: \"0 0 16 16\",\n ref: svgRef\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", null, title) : null, _ref2);\n};\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(SvgPasswordShow, _extends({\n svgRef: ref\n }, props));\n});\nexport default __webpack_public_path__ + \"static/media/password-show.eb7812d0.svg\";\nexport { ForwardRef as ReactComponent };","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\n\nvar _ref2 = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M16 8C16 11.3137 12.4183 14 8 14C3.58172 14 0 11.3137 0 8C0 4.68629 3.58172 2 8 2C12.4183 2 16 4.68629 16 8ZM14 8C14 10.2091 11.3137 12 8 12C4.68629 12 2 10.2091 2 8C2 5.79086 4.68629 4 8 4C11.3137 4 14 5.79086 14 8ZM8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z\"\n});\n\nvar SvgPasswordHide = function SvgPasswordHide(_ref) {\n var svgRef = _ref.svgRef,\n title = _ref.title,\n props = _objectWithoutProperties(_ref, [\"svgRef\", \"title\"]);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 16,\n height: 16,\n viewBox: \"0 0 16 16\",\n ref: svgRef\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", null, title) : null, _ref2);\n};\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(SvgPasswordHide, _extends({\n svgRef: ref\n }, props));\n});\nexport default __webpack_public_path__ + \"static/media/password-hide.5811cbdd.svg\";\nexport { ForwardRef as ReactComponent };","import React, { useEffect, useState, useRef } from 'react';\nimport { Flex, Box } from 'rebass';\nimport { Input, Label } from '@rebass/forms';\nimport ErrorText from './ErrorText';\nimport ErrorRequirements from './ErrorRequirements';\nimport { ReactComponent as PasswordShow } from '../assets/password-show.svg';\nimport { ReactComponent as PasswordHide } from '../assets/password-hide.svg';\n\nconst InputField = ({\n name, placeholder, value, updateUserDetail, updateError, error, isFirst, isMultiple,\n}) => {\n const [isFocused, setIsFocused] = useState(false);\n const [isPasswordVisible, setIsPasswordVisible] = useState(false);\n const inputRef = useRef();\n\n const isPassword = name === 'password';\n\n const getAutoCompleteType = () => {\n switch (name) {\n case 'password':\n return 'new-password';\n case 'email':\n return 'email';\n case 'firstName':\n return 'given-name';\n case 'lastName':\n return 'family-name';\n default:\n return 'off';\n }\n };\n\n useEffect(() => {\n // Focus the first input field onload\n if (isFirst) { inputRef.current.focus(); }\n }, [isFirst]);\n\n const PasswordIcon = () => (\n <Flex\n data-testid=\"password-icon\"\n title=\"toggle password visibility\"\n alignItems=\"center\"\n onClick={() => setIsPasswordVisible(!isPasswordVisible)}\n sx={{\n padding: '13px',\n position: 'absolute',\n right: 0,\n top: 0,\n cursor: 'pointer',\n color: 'gray',\n zIndex: 1,\n }}\n >\n {isPasswordVisible ? <PasswordShow /> : <PasswordHide />}\n </Flex>\n );\n\n return (\n <Box>\n <Box sx={{ display: isMultiple ? 'block' : 'grid', gridTemplateColumns: ['auto', '5fr 4fr'] }}>\n <Box sx={{ position: 'relative' }}>\n <Label htmlFor={`input-field-${name}`} style={{ display: 'none' }}>{name}</Label>\n {isPassword && <PasswordIcon />}\n <Input\n autoComplete={getAutoCompleteType()}\n data-testid={`input-field-${name}`}\n id={`input-field-${name}`}\n ref={inputRef}\n variant={(error.isError) ? 'textInputError' : 'textInput'}\n type={isPassword && !isPasswordVisible ? 'password' : 'text'}\n placeholder={placeholder}\n mb={error.isError ? 2 : 4}\n value={value}\n onFocus={() => setIsFocused(true)}\n onBlur={() => {\n setIsFocused(false);\n updateError(name, { hasInteracted: true });\n }}\n pr={isPassword && !isPasswordVisible ? 6 : 3}\n onChange={(event) => updateUserDetail(name, event.target.value)}\n sx={{\n '&:focus, &:hover': {\n outlineColor: 'navyGray',\n outlineWidth: 2,\n outlineStyle: 'auto',\n },\n }}\n />\n </Box>\n <ErrorRequirements focused={isFocused} error={error} />\n </Box>\n {error && <ErrorText name={name} error={error} />}\n </Box>\n );\n};\n\nexport default InputField;\n","import React from 'react';\nimport { Box } from 'rebass';\nimport { Select, Label } from '@rebass/forms';\nimport ErrorText from './ErrorText';\nimport { getCountries } from '../utils';\n\nconst INTITIAL_VALUE = 'choose-country';\n\nconst SelectField = ({\n name, value, updateUserDetail, error, updateError,\n}) => {\n const getVariant = () => {\n if (error.isError && value === '') {\n return 'textInputErrorDisabled';\n }\n if (error.isError) {\n return 'textInputError';\n }\n if (value === '') {\n return 'textInputDisabled';\n }\n return 'textInput';\n };\n\n return (\n <Box>\n <Box sx={{ position: 'relative', display: 'grid', gridTemplateColumns: ['auto', '5fr 4fr'] }}>\n <Label htmlFor={`select-field-${name}`} style={{ display: 'none' }}>{name}</Label>\n <Select\n data-testid={`select-field-${name}`}\n autoComplete=\"off\"\n variant={getVariant()}\n defaultValue={INTITIAL_VALUE}\n onChange={(event) => updateUserDetail(name, event.target.value)}\n onBlur={() => updateError(name, { hasInteracted: true })}\n name=\"region\"\n mb={error.isError ? 2 : 4}\n sx={{\n '&:focus, &:hover': {\n outlineColor: 'navyGray',\n outlineWidth: 2,\n outlineStyle: 'auto',\n },\n }}\n >\n {getCountries().map((option) => (\n <option key={option.name} value={option.value || 'z1'} disabled={option.disabled}>\n {option.name}\n </option>\n ))}\n </Select>\n </Box>\n {error && <ErrorText name={name} error={error} />}\n </Box>\n );\n};\n\nexport default SelectField;\n","import React from 'react';\nimport { Box, Text } from 'rebass';\n\nconst Title = () => (\n <Box mb={6}>\n <Box sx={{ backgroundColor: 'liveNavy', width: [40, 60, 80], height: 8 }} mb={3} />\n <Text variant=\"header\" mb={2}>\n Sign up for a free trial\n </Text>\n <Text variant=\"subheader\">\n No credit card required\n </Text>\n </Box>\n);\nexport default Title;\n","import React from 'react';\nimport ReCAPTCHA from 'react-google-recaptcha';\nimport ErrorText from './ErrorText';\n\n// TODO: add REACT_APP_TEST_RECAPTCHA_KEY here if it is in test mode\n\nconst Recaptcha = ({ updateUserDetail, error }) => (\n <>\n <ReCAPTCHA\n data-testid=\"recaptcha\"\n size=\"normal\"\n sitekey={process.env.REACT_APP_RECAPTCHA_KEY}\n onChange={(value) => updateUserDetail('recaptchaResponseToken', value)}\n />\n {error.isError && <ErrorText name=\"recaptcha\" error={error} />}\n </>\n);\n\nexport default Recaptcha;\n","import React from 'react';\nimport { Image } from 'rebass';\nimport Spinner from '../assets/oval.svg';\n\nconst Loader = () => (\n <Image alt=\"\" data-testid=\"loader\" src={Spinner} height={24} width={24} />\n);\n\nexport default Loader;\n","import React, { useState } from 'react';\nimport { Box, Button } from 'rebass';\nimport InputField from './InputField';\nimport SelectField from './SelectField';\nimport Title from './Title';\nimport Recaptcha from './Recaptcha';\nimport Loader from './Loader';\nimport { getCookie, emailPattern } from '../utils';\n\nconst MARKETING_DATA = {\n marketingData: {\n leadSource: getCookie('lp-leadSource') || '',\n referringUrl: getCookie('lp-lsRef') || '',\n utmCampaignId: getCookie('lp-lsCampaign') || '',\n utmCampaignMedium: getCookie('lp-lsMedium') || '',\n utmCampaignSearchKeywords: getCookie('lp-lsTerms') || '',\n utmCampaignSource: getCookie('lp-lsSource') || '',\n utmContent: getCookie('lp-lsContent') || '',\n },\n};\n\nconst RegistrationForm = ({\n setIsVideoActive, setMessageState, setAccountDetails, userDetails, setUserDetails,\n}) => {\n const [isCreatingAccount, setIsCreatingAccount] = useState(null);\n const [errors, setErrors] = useState(\n {\n firstName: {\n message: 'Required field',\n },\n lastName: {\n message: 'Required Field',\n },\n email: {\n message: 'The business email address entered is not valid.',\n },\n password: {\n message: 'Your password does not meet all the requirements',\n requirements: {\n name: 'Your password must consist of:',\n data: [\n { name: '- minimum of 8 characters' },\n { name: '- one or more uppercase letters (A-Z)' },\n { name: '- one or more lowercase letters (a-z)' },\n { name: '- one or more numbers (0-9)' },\n { name: '- one or more of these special characters:' },\n { name: '& @ ! * $ < > / ( ) % # =', shouldIndent: true },\n { name: '- cannot use any other special characters' },\n ],\n },\n },\n region: {\n message: 'Required Field',\n },\n recaptchaResponseToken: {\n message: 'Required Field',\n },\n },\n );\n\n const updateError = (name, obj) => {\n setErrors((prevErrors) => ({\n ...prevErrors,\n [name]: {\n ...prevErrors[name],\n ...obj,\n },\n }));\n };\n\n const updateRequirement = (index, value) => {\n setErrors((prevErrors) => {\n const newErrors = { ...prevErrors };\n newErrors.password.requirements.data[index].isError = value;\n return newErrors;\n });\n };\n\n const isPasswordErrored = (value) => {\n // Check length\n const hasLength = value.length >= 8;\n updateRequirement(0, !hasLength);\n\n // Check uppercase\n const hasUppercase = value.match(/[A-Z]+/) !== null;\n updateRequirement(1, !hasUppercase);\n\n // Check lowercase\n const hasLowercase = value.match(/[a-z]+/) !== null;\n updateRequirement(2, !hasLowercase);\n\n // Check numbers\n const hasNumber = value.match(/[0-9]+/) !== null;\n updateRequirement(3, !hasNumber);\n\n // Check special characters\n const hasSpecial = value.match(/[&@!*$<>/()%#=]+/) !== null;\n updateRequirement(4, !hasSpecial);\n updateRequirement(5, !hasSpecial);\n\n // Check special characters\n const hasNoExtra = value.match(/^[(0-9)(a-z)(A-Z)&@!*$<>/()%#=]+$/) !== null;\n updateRequirement(6, !hasNoExtra);\n\n return !hasLength || !hasUppercase || !hasLowercase || !hasNumber || !hasSpecial || !hasNoExtra;\n };\n\n const validateUserDetail = (name, userDetail) => {\n let isError;\n\n switch (name) {\n case 'email':\n isError = !emailPattern.test(userDetail);\n break;\n case 'password':\n isError = isPasswordErrored(userDetail);\n break;\n case 'firstName':\n case 'lastName':\n isError = userDetail.length < 1;\n break;\n case 'region':\n isError = !(userDetail === 'z1' || userDetail === 'z2' || userDetail === 'z3');\n break;\n default:\n isError = userDetail === '';\n }\n\n updateError(name, {\n hasInteracted: true,\n isError,\n });\n\n return isError;\n };\n\n const updateUserDetail = (name, userDetail) => {\n setUserDetails({ ...userDetails, [name]: userDetail });\n validateUserDetail(name, userDetail);\n };\n\n const hasErrors = () => {\n const userDetailErrors = Object.keys(userDetails).map(\n (item) => validateUserDetail(item, userDetails[item]),\n );\n return userDetailErrors.reduce((item, acc) => acc || item, false);\n };\n\n const sendAccountData = async (accountData) => fetch(process.env.REACT_APP_ENDPOINT, {\n method: 'POST',\n headers: { 'Content-Type': 'application/json', Accept: 'application/json' },\n body: JSON.stringify(accountData),\n })\n .then((response) => {\n if (typeof response.json === 'function') {\n return response.json();\n }\n return response;\n })\n .then((result) => {\n setIsCreatingAccount(false);\n if (result.accountId) {\n setMessageState('success');\n setAccountDetails({ ...result, username: accountData.email });\n } else {\n setMessageState('error');\n }\n })\n .catch(() => {\n setIsCreatingAccount(false);\n setMessageState('error');\n });\n\n const createAccount = (event) => {\n event.preventDefault();\n if (!hasErrors()) {\n setIsCreatingAccount(true);\n sendAccountData({ ...userDetails, ...MARKETING_DATA });\n setIsVideoActive(true);\n }\n };\n\n return (\n <Box sx={{ position: 'relative' }}>\n <Title />\n <form data-testid=\"registerForm\">\n <Box sx={{ display: 'grid', gridTemplateColumns: ['1fr 1fr', '2.5fr 2.5fr 4fr'], gridGap: '16px' }}>\n <InputField\n name=\"firstName\"\n value={userDetails.firstName}\n updateUserDetail={updateUserDetail}\n updateError={updateError}\n placeholder=\"First name\"\n error={errors.firstName}\n isFirst\n isMultiple\n />\n <InputField\n name=\"lastName\"\n value={userDetails.lastName}\n updateUserDetail={updateUserDetail}\n updateError={updateError}\n placeholder=\"Last name\"\n error={errors.lastName}\n isMultiple\n />\n </Box>\n <InputField\n name=\"email\"\n value={userDetails.email}\n updateUserDetail={updateUserDetail}\n updateError={updateError}\n placeholder=\"Enter business email address\"\n error={errors.email}\n />\n <InputField\n name=\"password\"\n value={userDetails.password}\n updateUserDetail={updateUserDetail}\n updateError={updateError}\n placeholder=\"Create password\"\n error={errors.password}\n />\n <SelectField\n name=\"region\"\n value={userDetails.region}\n updateUserDetail={updateUserDetail}\n updateError={updateError}\n error={errors.region}\n />\n <Recaptcha\n updateUserDetail={updateUserDetail}\n error={errors.recaptchaResponseToken}\n />\n <Box sx={{ display: 'grid', gridTemplateColumns: ['auto', '5fr 4fr'] }}>\n <Button data-testid=\"registerButton\" mt={4} onClick={createAccount}>\n {isCreatingAccount ? <Loader /> : 'Create Account'}\n </Button>\n </Box>\n </form>\n </Box>\n );\n};\n\nexport default RegistrationForm;\n","import React from 'react';\nimport { Box } from 'rebass';\nimport { keyframes } from '@emotion/core';\n\nconst bounce = keyframes`\n from, 10%, 27%, 40%, to {\n transform: translate3d(0,0,0);\n }\n 20%, 22% {\n transform: translate3d(0, -8px, 0);\n }\n 35% {\n transform: translate3d(0, -4px, 0);\n }\n 45% {\n transform: translate3d(0,-1px,0);\n }\n`;\n\nconst LoadingDot = ({ delay }) => (\n <Box\n as=\"span\"\n sx={{\n backgroundColor: 'white',\n width: '3px',\n height: '3px',\n borderRadius: '50%',\n animationName: bounce,\n animationDuration: '1.5s',\n animationTimingFunction: 'linear',\n animationIterationCount: '3',\n animationDelay: `${delay}s`,\n }}\n />\n);\n\nconst Loading = () => (\n <Box\n as=\"span\"\n style={{\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n boxSizing: 'border-box',\n width: '16px',\n height: '24px',\n marginLeft: '4px',\n }}\n >\n <LoadingDot delay={0} />\n <LoadingDot delay={0.15} />\n <LoadingDot delay={0.3} />\n </Box>\n);\n\nexport default Loading;\n","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\n\nvar _ref2 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M72 36C72 55.8823 55.8823 72 36 72C16.1177 72 0 55.8823 0 36C0 16.1177 16.1177 0 36 0C55.8823 0 72 16.1177 72 36ZM38.8284 44.8284C40.3905 46.3905 40.3905 48.9232 38.8284 50.4853C37.2663 52.0474 34.7337 52.0474 33.1716 50.4853C31.6095 48.9232 31.6095 46.3905 33.1716 44.8284C34.7337 43.2663 37.2663 43.2663 38.8284 44.8284ZM36 18C34.3431 18 33 19.3431 33 21V36C33 37.6569 34.3431 39 36 39C37.6569 39 39 37.6569 39 36V21C39 19.3431 37.6569 18 36 18Z\",\n fill: \"#EC5252\"\n});\n\nvar SvgIconError = function SvgIconError(_ref) {\n var svgRef = _ref.svgRef,\n title = _ref.title,\n props = _objectWithoutProperties(_ref, [\"svgRef\", \"title\"]);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 72,\n height: 72,\n viewBox: \"0 0 72 72\",\n fill: \"none\",\n ref: svgRef\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", null, title) : null, _ref2);\n};\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(SvgIconError, _extends({\n svgRef: ref\n }, props));\n});\nexport default __webpack_public_path__ + \"static/media/icon-error.f45043ca.svg\";\nexport { ForwardRef as ReactComponent };","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\n\nvar _ref2 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M36 72C55.8823 72 72 55.8823 72 36C72 16.1177 55.8823 0 36 0C16.1177 0 0 16.1177 0 36C0 55.8823 16.1177 72 36 72ZM23.4853 32.8284C21.9232 31.2663 19.3905 31.2663 17.8284 32.8284C16.2663 34.3905 16.2663 36.9232 17.8284 38.4853C19.3905 40.0474 21.9232 40.0474 23.4853 38.4853C25.0474 36.9232 25.0474 34.3905 23.4853 32.8284ZM32.8284 32.8284C34.3905 31.2663 36.9232 31.2663 38.4853 32.8284C40.0474 34.3905 40.0474 36.9232 38.4853 38.4853C36.9232 40.0474 34.3905 40.0474 32.8284 38.4853C31.2663 36.9232 31.2663 34.3905 32.8284 32.8284ZM53.4853 32.8284C51.9232 31.2663 49.3905 31.2663 47.8284 32.8284C46.2663 34.3905 46.2663 36.9232 47.8284 38.4853C49.3905 40.0474 51.9232 40.0474 53.4853 38.4853C55.0474 36.9232 55.0474 34.3905 53.4853 32.8284Z\",\n fill: \"#DEAD89\"\n});\n\nvar SvgIconCreating = function SvgIconCreating(_ref) {\n var svgRef = _ref.svgRef,\n title = _ref.title,\n props = _objectWithoutProperties(_ref, [\"svgRef\", \"title\"]);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 72,\n height: 72,\n viewBox: \"0 0 72 72\",\n fill: \"none\",\n ref: svgRef\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", null, title) : null, _ref2);\n};\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(SvgIconCreating, _extends({\n svgRef: ref\n }, props));\n});\nexport default __webpack_public_path__ + \"static/media/icon-creating.5a981910.svg\";\nexport { ForwardRef as ReactComponent };","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\n\nvar _ref2 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M72 36C72 55.8823 55.8823 72 36 72C16.1177 72 0 55.8823 0 36C0 16.1177 16.1177 0 36 0C55.8823 0 72 16.1177 72 36ZM45.7488 26.1213C46.9204 24.9497 48.8199 24.9497 49.9914 26.1213C51.163 27.2929 51.163 29.1924 49.9914 30.364L34.26 46.0954C34.1445 46.2767 34.0075 46.4483 33.8492 46.6066C33.3323 47.1236 32.6735 47.4124 31.9982 47.4732C31.1084 47.587 30.1773 47.3023 29.4939 46.6189C29.3169 46.4419 29.1667 46.2483 29.0432 46.0432L21.1213 38.1213C19.9497 36.9497 19.9497 35.0503 21.1213 33.8787C22.2929 32.7071 24.1924 32.7071 25.364 33.8787L31.6777 40.1924L45.7488 26.1213Z\",\n fill: \"#13CF5E\"\n});\n\nvar SvgIconSuccess = function SvgIconSuccess(_ref) {\n var svgRef = _ref.svgRef,\n title = _ref.title,\n props = _objectWithoutProperties(_ref, [\"svgRef\", \"title\"]);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 72,\n height: 72,\n viewBox: \"0 0 72 72\",\n fill: \"none\",\n ref: svgRef\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", null, title) : null, _ref2);\n};\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(SvgIconSuccess, _extends({\n svgRef: ref\n }, props));\n});\nexport default __webpack_public_path__ + \"static/media/icon-success.f528a38e.svg\";\nexport { ForwardRef as ReactComponent };","import React, {\n useEffect, useState, useRef, useLayoutEffect,\n} from 'react';\nimport {\n Box, Text, Flex, Link,\n} from 'rebass';\nimport Player from '@vimeo/player';\nimport Logo from './Logo';\nimport Loading from './Loading';\nimport { ReactComponent as ErrorIcon } from '../assets/icon-error.svg';\nimport { ReactComponent as CreatingIcon } from '../assets/icon-creating.svg';\nimport { ReactComponent as SuccessIcon } from '../assets/icon-success.svg';\nimport { convertTextToLines } from '../utils';\n\nconst MESSAGE_STATES = {\n creating: {\n icon: <CreatingIcon data-testid=\"creatingIcon\" style={{ width: 44, height: 44 }} />,\n title: 'Setting up your account',\n description: 'Please wait while we configure and set your account. In the meanwhile, please watch our product overview video',\n },\n success: {\n icon: <SuccessIcon data-testid=\"successIcon\" style={{ width: 44, height: 44 }} />,\n title: 'Congratulations! Your 45 day trial account has been created',\n },\n error: {\n icon: <ErrorIcon data-testid=\"errorIcon\" style={{ width: 44, height: 44 }} />,\n title: 'Oops! Something went wrong',\n description: 'Get ready to explore and build amazing conversational experiences for your business.',\n retryMessage: 'Retry to sign up again',\n },\n};\n\nconst getSize = (headerHeight, headerWidth, logoHeight) => {\n const newHeight = window.innerHeight - headerHeight - logoHeight - 40;\n if (newHeight / 0.5625 > headerWidth) {\n return {\n width: headerWidth,\n height: headerWidth * 0.5625,\n };\n }\n return {\n width: newHeight / 0.5625,\n height: newHeight,\n };\n};\n\nconst Video = ({\n isVideoActive,\n messageState,\n accountDetails,\n resetRegistration,\n}) => {\n const [isVideoReady, setIsVideoReady] = useState(false);\n const [dimensions, setDimensions] = useState({});\n const playerRef = useRef();\n const headerRef = useRef();\n const logoRef = useRef();\n const playerContainer = useRef();\n const isSuccess = messageState === 'success';\n const isCreating = messageState === 'creating';\n const {\n icon, title, description, retryMessage,\n } = MESSAGE_STATES[messageState];\n\n useLayoutEffect(() => {\n const handleResize = () => {\n const headerHeight = headerRef.current.offsetHeight;\n const headerWidth = headerRef.current.offsetWidth;\n const logoHeight = logoRef.current.offsetHeight;\n setDimensions(getSize(headerHeight, headerWidth, logoHeight));\n };\n\n window.addEventListener('resize', handleResize);\n handleResize();\n\n return () => window.removeEventListener('resize', handleResize);\n }, [messageState]);\n\n useEffect(() => {\n playerRef.current = new Player('video');\n setIsVideoReady(true);\n }, []);\n\n useEffect(() => {\n if (isVideoReady && isVideoActive) {\n playerRef.current.play();\n }\n }, [isVideoReady, isVideoActive]);\n\n return (\n <Box\n backgroundColor=\"navy\"\n sx={{\n height: '100%',\n flex: 1,\n overflow: 'auto',\n display: 'grid',\n gridTemplateRows: 'auto 1fr',\n }}\n >\n <Box ref={logoRef}>\n <Logo isStatic />\n </Box>\n <Flex\n flexDirection=\"column\"\n alignItems=\"center\"\n mx={[4, 6, 7]}\n pb={6}\n px={[4, 6, 7]}\n sx={{ textAlign: 'center', height: '100%' }}\n >\n <Box ref={headerRef} width=\"100%\">\n {icon}\n {title && (\n <Text variant=\"videoTitle\" my={3}>\n {title}\n {isCreating ? <Loading /> : null}\n </Text>\n )}\n {description && (\n <Text variant=\"videoDescription\" mb={6} mx={[2, 4, 6]}>\n {convertTextToLines(description)}\n {retryMessage && (\n <Text\n data-testid=\"retryButton\"\n onClick={resetRegistration}\n mt={4}\n mb={6}\n ml={1}\n fontSize={1}\n sx={{\n display: 'inline',\n color: 'aqua',\n cursor: 'pointer',\n fontWeight: 700,\n '&:hover': {\n color: 'aquaHover',\n },\n }}\n >\n {retryMessage}\n </Text>\n )}\n </Text>\n )}\n {isSuccess && (\n <Flex mb={7} alignItems=\"center\" mt={4} justifyContent=\"center\" flexWrap=\"wrap\">\n <Text variant=\"accountLabel\" mr={3}>Account #</Text>\n <Text variant=\"accountDetail\" mr={6}>{accountDetails.accountId}</Text>\n <Text variant=\"accountLabel\" mr={3}>Username</Text>\n <Text variant=\"accountDetail\" mr={7}>{accountDetails.username}</Text>\n <Link href=\"https://authentication.liveperson.net/login.html\" target=\"_blank\" variant=\"primaryLink\">Login to your account</Link>\n </Flex>\n )}\n </Box>\n <Box flex={1} sx={{ width: '100%' }} ref={playerContainer}>\n <Box\n sx={{\n margin: '0 auto',\n position: 'relative',\n height: dimensions.height,\n width: dimensions.width,\n outlineColor: 'shadow',\n outlineWidth: '6px',\n outlineStyle: 'solid',\n }}\n >\n <iframe\n title=\"FTUE\"\n ref={playerRef}\n id=\"video\"\n data-testid=\"video\"\n src=\"https://player.vimeo.com/video/398468660?autoplay=0&app_id=122963\"\n frameBorder=\"0\"\n allow=\"autoplay; fullscreen\"\n allowFullScreen\n style={{\n position: 'absolute',\n top: 0,\n left: 0,\n width: '100%',\n height: '100%',\n }}\n />\n </Box>\n </Box>\n </Flex>\n </Box>\n );\n};\n\nexport default Video;\n","import React, { useState } from 'react';\nimport { Box, Text, Link } from 'rebass';\nimport Carousel from './Carousel';\nimport Logo from './Logo';\nimport carouselData from '../assets/carouselData.json';\nimport Header from './Header';\nimport RegistrationForm from './RegistrationForm';\nimport Video from './Video';\n\nconst App = () => {\n const [messageState, setMessageState] = useState('creating');\n const [isVideoActive, setIsVideoActive] = useState(false);\n const [accountDetails, setAccountDetails] = useState({});\n const [userDetails, setUserDetails] = useState(\n {\n firstName: '',\n lastName: '',\n email: '',\n password: '',\n region: '',\n recaptchaResponseToken: '',\n },\n );\n\n const resetRegistration = () => {\n setMessageState('creating');\n setIsVideoActive(false);\n setAccountDetails(null);\n // Reset password\n setUserDetails({ ...userDetails, password: '' });\n };\n\n if (isVideoActive) {\n return (\n <Video\n isVideoActive={isVideoActive}\n messageState={messageState}\n accountDetails={accountDetails}\n resetRegistration={resetRegistration}\n />\n );\n }\n\n return (\n <Box\n sx={{\n height: '100%',\n position: 'relative',\n display: ['block', 'block', 'grid'],\n gridTemplateColumns: '5fr 2fr 9fr',\n }}\n mx={[5, 6, 0]}\n >\n <Logo />\n <Carousel slides={carouselData} />\n <Box backgroundColor=\"white\" />\n <Box sx={{ flex: 1, overflow: 'auto' }} data-testid=\"registerContent\">\n <Header />\n <RegistrationForm\n setIsVideoActive={setIsVideoActive}\n setMessageState={setMessageState}\n setAccountDetails={setAccountDetails}\n userDetails={userDetails}\n setUserDetails={setUserDetails}\n />\n <Text variant=\"privacyPolicy\" mt={6} mb={7}>\n By creating an account, I agree to LivePerson's \n <Link\n sx={{\n textDecoration: 'none',\n color: 'electricBlue',\n '&hover': {\n color: 'electricBlueHover',\n },\n }}\n href=\"https://www.liveperson.com/policies/license-agreement/\"\n >\n End User License Agreement\n </Link>\n </Text>\n </Box>\n </Box>\n );\n};\n\nexport default App;\n","import 'react-app-polyfill/ie11';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport 'reset-css';\nimport { ThemeProvider } from 'emotion-theming';\nimport App from './components/App';\nimport theme from './theme';\n\nReactDOM.render(\n <React.StrictMode>\n <ThemeProvider theme={theme}>\n <App />\n </ThemeProvider>\n </React.StrictMode>,\n document.getElementById('root') || document.createElement('div'),\n);\n","/*\n ...Theme...\n Used to provide style units to the components to encourage consistency.\n Adheres to the Theme UI specs: https://theme-ui.com/theme-spec\n\n ...Variants...\n variants, text and buttons can be used to offset repeated stylistic changes.\n*/\nexport default {\n breakpoints: ['40em', '52em', '75em', '100em'],\n fontSizes: [\n '.75rem', '.875rem', '1rem', '1.25rem', '1.5rem', '2rem', '2.5rem',\n ],\n colors: {\n orange: '#ff6900',\n electricBlue: '#005EF4',\n electricBlueHover: '#003FA3',\n darkBlue: '#1B1E4D',\n navy: '#090C43',\n darkNavy: '#04051F',\n navyGray: '#2D2F52',\n darkGray: '#675D55',\n darkerGray: '#463E36',\n gray: '#847970',\n lightGray: '#D9D4D0',\n lighterGray: '#F8F5F3',\n lightGrey: '#A2A3B8',\n red: '#DF2A31',\n lightRed: '#FEECEC',\n lightBlue: '#5879DA',\n shadow: '#141358',\n aqua: '#5ED7FB',\n aquaHover: '#00a4d6',\n },\n space: [\n 0, '.25rem', '.5rem', '1rem', '1.5rem', '2rem', '2.5rem', '4rem', '8rem', '11.875rem',\n ],\n variants: {\n activeDot: {\n backgroundColor: 'orange',\n borderColor: 'orange',\n borderWidth: 1,\n borderStyle: 'solid',\n },\n inactiveDot: {\n backgroundColor: 'transparent',\n borderColor: 'white',\n borderWidth: 1,\n borderStyle: 'solid',\n },\n carousel: {\n backgroundColor: 'darkBlue',\n },\n secondaryLink: {\n fontSize: 0,\n fontFamily: 'Roboto',\n fontWeight: 700,\n lineHeight: '20px',\n borderRadius: 32,\n paddingLeft: '24px',\n paddingRight: '24px',\n paddingTop: '6px',\n paddingBottom: '6px',\n backgroundColor: 'lighterGray',\n color: 'darkGray',\n WebkitFontSmoothing: 'antialiased',\n textDecoration: 'none',\n '&:hover': {\n backgroundColor: 'lightGray',\n color: 'darkerGray',\n },\n },\n primaryLink: {\n fontSize: 0,\n fontFamily: 'Roboto',\n fontWeight: 700,\n lineHeight: '20px',\n borderRadius: 32,\n paddingLeft: '24px',\n paddingRight: '24px',\n paddingTop: '6px',\n paddingBottom: '6px',\n backgroundColor: 'electricBlue',\n color: 'white',\n WebkitFontSmoothing: 'antialiased',\n textDecoration: 'none',\n '&:hover': {\n backgroundColor: 'electricBlueHover',\n },\n },\n\n },\n text: {\n dropdownSelected: {\n fontSize: 0,\n lineHeight: '20px',\n color: 'navy',\n },\n carouselTitle: {\n color: 'white',\n fontFamily: '\"Roboto Slab\", sans-serif',\n fontSize: [2, 3, 4, 6],\n lineHeight: ['24px', '32px', '40px', '56px'],\n },\n carouselText: {\n color: 'white',\n fontSize: [1, 1, 2, 4],\n lineHeight: ['20px', '20px', '24px', '40px'],\n textAlign: 'center',\n letterSpacing: '0.008em',\n WebkitFontSmoothing: 'antialiased',\n },\n carouselSubtitle: {\n color: 'white',\n fontSize: [1, 1, 2, 3],\n lineHeight: ['20px', '20px', '24px', '32px'],\n letterSpacing: '0.008em',\n WebkitFontSmoothing: 'antialiased',\n },\n carouselAuthorName: {\n color: 'white',\n fontSize: [1, 1, 2, 3],\n fontWeight: 700,\n textAlign: 'center',\n lineHeight: ['20px', '20px', '24px', '32px'],\n letterSpacing: '0.008em',\n WebkitFontSmoothing: 'antialiased',\n },\n carouselAuthorRole: {\n color: 'white',\n fontSize: [0, 1],\n textAlign: 'center',\n lineHeight: ['20px', '24px'],\n letterSpacing: '0.01em',\n WebkitFontSmoothing: 'antialiased',\n },\n header: {\n fontSize: [3, 4, 5],\n fontWeight: 700,\n lineHeight: ['28px', '36px', '44px'],\n color: 'navy',\n letterSpacing: '0.008em',\n WebkitFontSmoothing: 'antialiased',\n },\n subheader: {\n fontSize: 2,\n fontWeight: 300,\n lineHeight: '24px',\n color: 'navy',\n letterSpacing: '0.01em',\n WebkitFontSmoothing: 'antialiased',\n },\n privacyPolicy: {\n fontSize: 0,\n lineHeight: '20px',\n letterSpacing: '0.01em',\n color: 'gray',\n },\n errorInformation: {\n fontSize: 0,\n lineHeight: '20px',\n color: 'navyGray',\n WebkitFontSmoothing: 'antialiased',\n },\n errorText: {\n fontSize: 0,\n lineHeight: '20px',\n color: 'red',\n WebkitFontSmoothing: 'antialiased',\n },\n errorMessage: {\n fontSize: 0,\n lineHeight: '20px',\n color: 'red',\n WebkitFontSmoothing: 'antialiased',\n maxWidth: ['100%', '100%', 414],\n },\n videoTitle: {\n color: 'white',\n fontSize: 3,\n fontWeight: 700,\n lineHeight: '32px',\n letterSpacing: '0.008em',\n WebkitFontSmoothing: 'antialiased',\n },\n videoDescription: {\n color: 'white',\n fontSize: 1,\n fontWeight: 400,\n lineHeight: '24px',\n letterSpacing: '0.01em',\n WebkitFontSmoothing: 'antialiased',\n },\n accountLabel: { display: 'inline', color: 'lightGrey', whiteSpace: 'nowrap' },\n accountDetail: { display: 'inline', color: 'white', whiteSpace: 'nowrap' },\n },\n buttons: {\n primary: {\n fontSize: 2,\n fontFamily: 'Roboto',\n fontWeight: 700,\n lineHeight: '20px',\n borderRadius: 32,\n letterSpacing: '0.008em',\n cursor: 'pointer',\n paddingTop: '22px',\n paddingBottom: '22px',\n backgroundColor: 'electricBlue',\n color: 'white',\n WebkitFontSmoothing: 'antialiased',\n maxWidth: '100%',\n whiteSpace: 'nowrap',\n width: '100%',\n '&:hover': {\n backgroundColor: 'electricBlueHover',\n },\n },\n compact: {\n fontSize: 1,\n fontFamily: 'Roboto',\n fontWeight: 700,\n lineHeight: '24px',\n borderRadius: 32,\n letterSpacing: '0.008em',\n cursor: 'pointer',\n backgroundColor: 'electricBlue',\n color: 'white',\n WebkitFontSmoothing: 'antialiased',\n whiteSpace: 'nowrap',\n '&:hover': {\n backgroundColor: 'electricBlueHover',\n },\n },\n },\n forms: {\n textInputError: {\n fontSize: 1,\n fontFamily: 'Roboto',\n color: 'navyGray',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'red',\n backgroundColor: 'lightRed',\n borderRadius: 8,\n lineHeight: '40px',\n paddingLeft: 3,\n paddingRight: 3,\n paddingTop: 0,\n paddingBottom: 0,\n letterSpacing: '0.01em',\n WebkitFontSmoothing: 'antialiased',\n // HACK: colorize webkit autocomplete input fields\n WebkitBoxShadow: 'inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px #FEECEC',\n '&::placeholder': {\n color: 'darkGray',\n },\n },\n textInputErrorDisabled: {\n fontSize: 1,\n fontFamily: 'Roboto',\n color: 'darkGray',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'red',\n backgroundColor: 'lightRed',\n borderRadius: 8,\n lineHeight: '40px',\n paddingLeft: 3,\n paddingRight: 3,\n paddingTop: 0,\n paddingBottom: 0,\n letterSpacing: '0.01em',\n WebkitFontSmoothing: 'antialiased',\n // HACK: colorize webkit autocomplete input fields\n WebkitBoxShadow: 'inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px #FEECEC',\n '&::placeholder': {\n color: 'darkGray',\n },\n },\n textInputDisabled: {\n fontSize: 1,\n fontFamily: 'Roboto',\n color: 'darkGray',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'gray',\n borderRadius: 8,\n lineHeight: '40px',\n paddingLeft: 3,\n paddingRight: 3,\n paddingTop: 0,\n paddingBottom: 0,\n letterSpacing: '0.01em',\n WebkitFontSmoothing: 'antialiased',\n // HACK: colorize webkit autocomplete input fields\n boxShadow: 'inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px white',\n '&::placeholder': {\n color: 'darkGray',\n },\n },\n textInput: {\n fontSize: 1,\n fontFamily: 'Roboto',\n color: 'navyGray',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'gray',\n borderRadius: 8,\n lineHeight: '40px',\n paddingLeft: 3,\n paddingRight: 3,\n paddingTop: 0,\n paddingBottom: 0,\n letterSpacing: '0.01em',\n WebkitFontSmoothing: 'antialiased',\n // HACK: colorize webkit autocomplete input fields\n boxShadow: 'inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px white',\n '&::placeholder': {\n color: 'darkGray',\n },\n },\n errorText: {\n fontSize: 1,\n fontFamily: 'Roboto',\n color: 'red',\n },\n },\n};\n","module.exports = __webpack_public_path__ + \"static/media/logo.df9acfdb.svg\";","module.exports = __webpack_public_path__ + \"static/media/oval.be00fc4a.svg\";"],"sourceRoot":""} \ No newline at end of file diff --git a/free-trial-registration/static/js/main.7f101a59.chunk.js b/free-trial-registration/static/js/main.7f101a59.chunk.js deleted file mode 100644 index 61b0fb39dc..0000000000 --- a/free-trial-registration/static/js/main.7f101a59.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -(this["webpackJsonpfree-trial-registration"]=this["webpackJsonpfree-trial-registration"]||[]).push([[0],{161:function(e,a,t){"use strict";t.r(a);t(96);var n=t(0),r=t.n(n),i=t(82),o=t.n(i),l=(t(152),t(83)),u=t(7),c=t(3),s=t(1),m=t(93),d=t(86),v=/[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}/,p=function(e){return e.includes("\n")?e.split("\n").map((function(e,a){return r.a.createElement("div",{key:a},e)})):e},f=function(e){var a=document.cookie.match(new RegExp("(^| )".concat(e,"=([^;]+)")));return a&&"null"!==a[2].toLowerCase()?a[2]:void 0},g=function(e){var a=e.item,t=e.carouselWidth;return r.a.createElement(s.a,{px:5,sx:{height:"100%",width:t,backgroundImage:"url(".concat("/free-trial-registration","/img/").concat(a.bgImage,")"),backgroundSize:"cover",paddingTop:104,paddingBottom:84,display:"conversational-ai"===a.id?"flex":"block",alignItems:"center",overflow:"auto"}},a.beforeImage&&r.a.createElement(s.d,{src:"".concat("/free-trial-registration","/img/").concat(a.beforeImage),alt:"LivePerson logo",px:3,py:5,sx:{margin:"0 auto",display:"block",width:"channels"===a.id?["100%","100%","90%","80%","70%"]:["100%","100%","50%","40%"],height:"auto"}}),a.title&&r.a.createElement(s.f,{variant:"carouselTitle",mt:1},p(a.title)),a.text&&r.a.createElement(s.f,{variant:"carouselText",mt:1},p(a.text)),a.subtitle&&r.a.createElement(s.f,{variant:"carouselSubtitle",mt:1},p(a.subtitle)),a.author&&r.a.createElement(r.a.Fragment,null,r.a.createElement(s.f,{variant:"carouselAuthorName",mt:3},p(a.author.name)),r.a.createElement(s.f,{variant:"carouselAuthorRole",mt:1},p(a.author.role))))},h=function(e){var a=e.index,t=e.activeIndex,n=e.setActiveIndex;return r.a.createElement(s.a,{onClick:function(e){e.stopPropagation(),n(a)},"data-testid":"carousel-dot"},r.a.createElement(s.a,{variant:t===a?"activeDot":"inactiveDot",m:1,sx:{width:12,height:12,borderRadius:12,cursor:"pointer"}}))},z=function(e){var a=e.slides,t=Object(n.useState)(0),i=Object(c.a)(t,2),o=i[0],l=i[1],u=Object(n.useState)(null),m=Object(c.a)(u,2),d=m[0],v=m[1],p=Object(n.useState)(null),f=Object(c.a)(p,2),z=f[0],b=f[1],y=Object(n.useRef)(),E=Object(n.useCallback)((function(){l((function(e){return e+1>=a.length?0:e+1}))}),[a.length]),x=Object(n.useCallback)((function(){return clearInterval(d)}),[d]),S=Object(n.useCallback)((function(){return v(setInterval(E,6e3)),x}),[x,E]);return Object(n.useEffect)((function(){S()}),[]),Object(n.useLayoutEffect)((function(){var e=function(){b(y.current.offsetWidth)};return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[]),r.a.createElement(s.a,{"data-testid":"carousel",variant:"carousel",onMouseEnter:x,onMouseLeave:S,onClick:E,ref:y,sx:{width:"100%",position:"relative",overflow:"hidden",display:["none","none","block"],cursor:"pointer"}},r.a.createElement(s.c,{sx:{transition:"transform 0.5s",transform:"translate3d(-".concat(z*o,"px, 0, 0)"),position:"absolute",top:0,bottom:0,left:0,width:z*a.length}},a.map((function(e){return r.a.createElement(g,{key:e.id,item:e,carouselWidth:z})}))),r.a.createElement(s.c,{sx:{position:"absolute",left:32,bottom:32,zIndex:1}},a.map((function(e,a){return r.a.createElement(h,{key:a,index:a,activeIndex:o,setActiveIndex:l})}))))},b=t(87),y=t.n(b),E=function(e){var a=e.smallSize,t=e.isStatic;return r.a.createElement(s.d,{src:y.a,alt:"LivePerson logo",px:a?[0,0,2]:4,pt:a?3:6,pb:3,sx:{display:t?"static":a?["block","block","none"]:["none","none","block"],position:t?"static":["static","static","absolute"],top:0,left:0,zIndex:2,width:a?170:215,height:a?66:83}})},x=t(88),S=function(){return r.a.createElement(s.c,{p:[0,0,4,6],justifyContent:"space-between",alignItems:"center",flexWrap:"wrap"},r.a.createElement(E,{smallSize:!0}),r.a.createElement(s.c,{justifyContent:"flex-end",flex:1},r.a.createElement(s.e,{href:"https://authentication.liveperson.net/login.html","data-testid":"signInButton",variant:"secondaryLink"},"Sign In")))},C=t(59),w=t.n(C),O=t(89),k=t(29),j=t(22),I=function(e){var a=e.name,t=e.error;return t.isError&&t.hasInteracted?r.a.createElement(s.f,{variant:"errorMessage",mb:3,mt:"recaptcha"===a?2:0},t.message):null},R=function(e){var a=e.items;return Object.keys(a).map((function(e){switch(e){case"data":return a.data.map((function(e){return r.a.createElement(s.f,{key:e.name,variant:e.isError?"errorText":"errorInformation",ml:e.shouldIndent?2:0},"".concat(e.name))}));case"name":return r.a.createElement(s.f,{key:a.name,variant:"errorInformation"},"".concat(a.name,":"));default:return null}}))},B=function(e){var a=e.focused,t=e.error;return(!0===t.isError||a)&&t.requirements?r.a.createElement(s.f,{"data-testid":"error-requirements",ml:6,mr:6,variant:"errorInformation",sx:{overflow:"visible",height:0,display:["none","block"]}},r.a.createElement(R,{items:t.requirements})):null};function F(){return(F=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function M(e,a){if(null==e)return{};var t,n,r=function(e,a){if(null==e)return{};var t,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],a.indexOf(t)>=0||(r[t]=e[t]);return r}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],a.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var A=r.a.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M8 14C12.4183 14 16 11.3137 16 8C16 4.68629 12.4183 2 8 2C3.58172 2 0 4.68629 0 8C0 11.3137 3.58172 14 8 14ZM8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z"}),D=function(e){var a=e.svgRef,t=e.title,n=M(e,["svgRef","title"]);return r.a.createElement("svg",F({width:16,height:16,viewBox:"0 0 16 16",ref:a},n),t?r.a.createElement("title",null,t):null,A)},T=r.a.forwardRef((function(e,a){return r.a.createElement(D,F({svgRef:a},e))}));t.p;function W(){return(W=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function L(e,a){if(null==e)return{};var t,n,r=function(e,a){if(null==e)return{};var t,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],a.indexOf(t)>=0||(r[t]=e[t]);return r}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],a.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var G=r.a.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M16 8C16 11.3137 12.4183 14 8 14C3.58172 14 0 11.3137 0 8C0 4.68629 3.58172 2 8 2C12.4183 2 16 4.68629 16 8ZM14 8C14 10.2091 11.3137 12 8 12C4.68629 12 2 10.2091 2 8C2 5.79086 4.68629 4 8 4C11.3137 4 14 5.79086 14 8ZM8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z"}),H=function(e){var a=e.svgRef,t=e.title,n=L(e,["svgRef","title"]);return r.a.createElement("svg",W({width:16,height:16,viewBox:"0 0 16 16",ref:a},n),t?r.a.createElement("title",null,t):null,G)},N=r.a.forwardRef((function(e,a){return r.a.createElement(H,W({svgRef:a},e))})),P=(t.p,function(e){var a=e.name,t=e.placeholder,i=e.value,o=e.updateUserDetail,l=e.updateError,u=e.error,m=e.isFirst,d=e.isMultiple,v=Object(n.useState)(!1),p=Object(c.a)(v,2),f=p[0],g=p[1],h=Object(n.useState)(!1),z=Object(c.a)(h,2),b=z[0],y=z[1],E=Object(n.useRef)(),x="password"===a;Object(n.useEffect)((function(){m&&E.current.focus()}),[m]);var S=function(){return r.a.createElement(s.c,{"data-testid":"password-icon",title:"toggle password visibility",alignItems:"center",onClick:function(){return y(!b)},sx:{padding:"13px",position:"absolute",right:0,top:0,cursor:"pointer",color:"gray",zIndex:1}},b?r.a.createElement(T,null):r.a.createElement(N,null))};return r.a.createElement(s.a,null,r.a.createElement(s.a,{sx:{display:d?"block":"grid",gridTemplateColumns:["auto","5fr 4fr"]}},r.a.createElement(s.a,{sx:{position:"relative"}},r.a.createElement(j.b,{htmlFor:"input-field-".concat(a),style:{display:"none"}},a),x&&r.a.createElement(S,null),r.a.createElement(j.a,{autoComplete:function(){switch(a){case"password":return"new-password";case"email":return"email";case"firstName":return"given-name";case"lastName":return"family-name";default:return"off"}}(),"data-testid":"input-field-".concat(a),id:"input-field-".concat(a),ref:E,variant:u.isError?"textInputError":"textInput",type:x&&!b?"password":"text",placeholder:t,mb:u.isError?2:4,value:i,onFocus:function(){return g(!0)},onBlur:function(){g(!1),l(a,{hasInteracted:!0})},pr:x&&!b?6:3,onChange:function(e){return o(a,e.target.value)},sx:{"&:focus, &:hover":{outlineColor:"navyGray",outlineWidth:2,outlineStyle:"auto"}}})),r.a.createElement(B,{focused:f,error:u})),u&&r.a.createElement(I,{name:a,error:u}))}),U=function(e){var a=e.name,t=e.value,n=e.updateUserDetail,i=e.error,o=e.updateError;return r.a.createElement(s.a,null,r.a.createElement(s.a,{sx:{position:"relative",display:"grid",gridTemplateColumns:["auto","5fr 4fr"]}},r.a.createElement(j.b,{htmlFor:"select-field-".concat(a),style:{display:"none"}},a),r.a.createElement(j.c,{"data-testid":"select-field-".concat(a),autoComplete:"off",variant:i.isError&&""===t?"textInputErrorDisabled":i.isError?"textInputError":""===t?"textInputDisabled":"textInput",defaultValue:"choose-country",onChange:function(e){return n(a,e.target.value)},onBlur:function(){return o(a,{hasInteracted:!0})},name:"region",mb:i.isError?2:4,sx:{"&:focus, &:hover":{outlineColor:"navyGray",outlineWidth:2,outlineStyle:"auto"}}},[{name:"Select country",value:"choose-country",disabled:!0}].concat(Object(m.a)(d.sort((function(e,a){return e.name<a.name?-1:1})))).map((function(e){return r.a.createElement("option",{key:e.name,value:e.value||"z1",disabled:e.disabled},e.name)})))),i&&r.a.createElement(I,{name:a,error:i}))},q=function(){return r.a.createElement(s.a,{mb:6},r.a.createElement(s.a,{sx:{backgroundColor:"liveNavy",width:[40,60,80],height:8},mb:3}),r.a.createElement(s.f,{variant:"header",mb:2},"Sign up for a free trial"),r.a.createElement(s.f,{variant:"subheader"},"No credit card required"))},Z=t(94),V=function(e){var a=e.updateUserDetail,t=e.error;return r.a.createElement(r.a.Fragment,null,r.a.createElement(Z.a,{"data-testid":"recaptcha",size:"normal",sitekey:"6Ld569AUAAAAAJ8bKdSR4QCf5Z09zOBYLXprOlWa",onChange:function(e){return a("recaptchaResponseToken",e)}}),t.isError&&r.a.createElement(I,{name:"recaptcha",error:t}))},K=t(90),J=t.n(K),Y=function(){return r.a.createElement(s.d,{alt:"","data-testid":"loader",src:J.a,height:24,width:24})},$={marketingData:{leadSource:f("lp-leadSource")||"",referringUrl:f("lp-lsRef")||"",utmCampaignId:f("lp-lsCampaign")||"",utmCampaignMedium:f("lp-lsMedium")||"",utmCampaignSearchKeywords:f("lp-lsTerms")||"",utmCampaignSource:f("lp-lsSource")||"",utmContent:f("lp-lsContent")||""}},_=function(e){var a=e.setIsVideoActive,t=e.setMessageState,i=e.setAccountDetails,o=e.userDetails,l=e.setUserDetails,m=Object(n.useState)(null),d=Object(c.a)(m,2),p=d[0],f=d[1],g=Object(n.useState)({firstName:{message:"Required field"},lastName:{message:"Required Field"},email:{message:"The business email address entered is not valid."},password:{message:"Your password does not meet all the requirements",requirements:{name:"Your password must consist of:",data:[{name:"- minimum of 8 characters"},{name:"- one or more uppercase letters (A-Z)"},{name:"- one or more lowercase letters (a-z)"},{name:"- one or more numbers (0-9)"},{name:"- one or more of these special characters:"},{name:"& @ ! * $ < > / ( ) % # =",shouldIndent:!0},{name:"- cannot use any other special characters"}]}},region:{message:"Required Field"},recaptchaResponseToken:{message:"Required Field"}}),h=Object(c.a)(g,2),z=h[0],b=h[1],y=function(e,a){b((function(t){return Object(u.a)(Object(u.a)({},t),{},Object(k.a)({},e,Object(u.a)(Object(u.a)({},t[e]),a)))}))},E=function(e,a){b((function(t){var n=Object(u.a)({},t);return n.password.requirements.data[e].isError=a,n}))},x=function(e,a){var t;switch(e){case"email":t=!v.test(a);break;case"password":t=function(e){var a=e.length>=8;E(0,!a);var t=null!==e.match(/[A-Z]+/);E(1,!t);var n=null!==e.match(/[a-z]+/);E(2,!n);var r=null!==e.match(/[0-9]+/);E(3,!r);var i=null!==e.match(/[&@!*$<>/()%#=]+/);E(4,!i),E(5,!i);var o=null!==e.match(/^[(0-9)(a-z)(A-Z)&@!*$<>/()%#=]+$/);return E(6,!o),!a||!t||!n||!r||!i||!o}(a);break;case"firstName":case"lastName":t=a.length<1;break;case"region":t=!("z1"===a||"z2"===a||"z3"===a);break;default:t=""===a}return y(e,{hasInteracted:!0,isError:t}),t},S=function(e,a){l(Object(u.a)(Object(u.a)({},o),{},Object(k.a)({},e,a))),x(e,a)},C=function(){var e=Object(O.a)(w.a.mark((function e(a){return w.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",fetch("https://free-trial.liveperson.com/api/free-trial/account",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(a)}).then((function(e){return"function"===typeof e.json?e.json():e})).then((function(e){f(!1),e.accountId?(t("success"),i(Object(u.a)(Object(u.a)({},e),{},{username:a.email}))):t("error")})).catch((function(){f(!1),t("error")})));case 1:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}();return r.a.createElement(s.a,{sx:{position:"relative"}},r.a.createElement(q,null),r.a.createElement("form",{"data-testid":"registerForm"},r.a.createElement(s.a,{sx:{display:"grid",gridTemplateColumns:["1fr 1fr","2.5fr 2.5fr 4fr"],gridGap:"16px"}},r.a.createElement(P,{name:"firstName",value:o.firstName,updateUserDetail:S,updateError:y,placeholder:"First name",error:z.firstName,isFirst:!0,isMultiple:!0}),r.a.createElement(P,{name:"lastName",value:o.lastName,updateUserDetail:S,updateError:y,placeholder:"Last name",error:z.lastName,isMultiple:!0})),r.a.createElement(P,{name:"email",value:o.email,updateUserDetail:S,updateError:y,placeholder:"Enter business email address",error:z.email}),r.a.createElement(P,{name:"password",value:o.password,updateUserDetail:S,updateError:y,placeholder:"Create password",error:z.password}),r.a.createElement(U,{name:"region",value:o.region,updateUserDetail:S,updateError:y,error:z.region}),r.a.createElement(V,{updateUserDetail:S,error:z.recaptchaResponseToken}),r.a.createElement(s.a,{sx:{display:"grid",gridTemplateColumns:["auto","5fr 4fr"]}},r.a.createElement(s.b,{"data-testid":"registerButton",mt:4,onClick:function(e){e.preventDefault(),Object.keys(o).map((function(e){return x(e,o[e])})).reduce((function(e,a){return a||e}),!1)||(f(!0),C(Object(u.a)(Object(u.a)({},o),$)),a(!0))}},p?r.a.createElement(Y,null):"Create Account"))))},Q=t(91),X=t(92),ee=t(12);function ae(){var e=Object(X.a)(["\n from, 10%, 27%, 40%, to {\n transform: translate3d(0,0,0);\n }\n 20%, 22% {\n transform: translate3d(0, -8px, 0);\n }\n 35% {\n transform: translate3d(0, -4px, 0);\n }\n 45% {\n transform: translate3d(0,-1px,0);\n }\n"]);return ae=function(){return e},e}var te=Object(ee.b)(ae()),ne=function(e){var a=e.delay;return r.a.createElement(s.a,{as:"span",sx:{backgroundColor:"white",width:"3px",height:"3px",borderRadius:"50%",animationName:te,animationDuration:"1.5s",animationTimingFunction:"linear",animationIterationCount:"3",animationDelay:"".concat(a,"s")}})},re=function(){return r.a.createElement(s.a,{as:"span",style:{display:"inline-flex",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box",width:"16px",height:"24px",marginLeft:"4px"}},r.a.createElement(ne,{delay:0}),r.a.createElement(ne,{delay:.15}),r.a.createElement(ne,{delay:.3}))};function ie(){return(ie=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function oe(e,a){if(null==e)return{};var t,n,r=function(e,a){if(null==e)return{};var t,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],a.indexOf(t)>=0||(r[t]=e[t]);return r}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],a.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var le=r.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72 36C72 55.8823 55.8823 72 36 72C16.1177 72 0 55.8823 0 36C0 16.1177 16.1177 0 36 0C55.8823 0 72 16.1177 72 36ZM38.8284 44.8284C40.3905 46.3905 40.3905 48.9232 38.8284 50.4853C37.2663 52.0474 34.7337 52.0474 33.1716 50.4853C31.6095 48.9232 31.6095 46.3905 33.1716 44.8284C34.7337 43.2663 37.2663 43.2663 38.8284 44.8284ZM36 18C34.3431 18 33 19.3431 33 21V36C33 37.6569 34.3431 39 36 39C37.6569 39 39 37.6569 39 36V21C39 19.3431 37.6569 18 36 18Z",fill:"#EC5252"}),ue=function(e){var a=e.svgRef,t=e.title,n=oe(e,["svgRef","title"]);return r.a.createElement("svg",ie({width:72,height:72,viewBox:"0 0 72 72",fill:"none",ref:a},n),t?r.a.createElement("title",null,t):null,le)},ce=r.a.forwardRef((function(e,a){return r.a.createElement(ue,ie({svgRef:a},e))}));t.p;function se(){return(se=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function me(e,a){if(null==e)return{};var t,n,r=function(e,a){if(null==e)return{};var t,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],a.indexOf(t)>=0||(r[t]=e[t]);return r}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],a.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var de=r.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36 72C55.8823 72 72 55.8823 72 36C72 16.1177 55.8823 0 36 0C16.1177 0 0 16.1177 0 36C0 55.8823 16.1177 72 36 72ZM23.4853 32.8284C21.9232 31.2663 19.3905 31.2663 17.8284 32.8284C16.2663 34.3905 16.2663 36.9232 17.8284 38.4853C19.3905 40.0474 21.9232 40.0474 23.4853 38.4853C25.0474 36.9232 25.0474 34.3905 23.4853 32.8284ZM32.8284 32.8284C34.3905 31.2663 36.9232 31.2663 38.4853 32.8284C40.0474 34.3905 40.0474 36.9232 38.4853 38.4853C36.9232 40.0474 34.3905 40.0474 32.8284 38.4853C31.2663 36.9232 31.2663 34.3905 32.8284 32.8284ZM53.4853 32.8284C51.9232 31.2663 49.3905 31.2663 47.8284 32.8284C46.2663 34.3905 46.2663 36.9232 47.8284 38.4853C49.3905 40.0474 51.9232 40.0474 53.4853 38.4853C55.0474 36.9232 55.0474 34.3905 53.4853 32.8284Z",fill:"#DEAD89"}),ve=function(e){var a=e.svgRef,t=e.title,n=me(e,["svgRef","title"]);return r.a.createElement("svg",se({width:72,height:72,viewBox:"0 0 72 72",fill:"none",ref:a},n),t?r.a.createElement("title",null,t):null,de)},pe=r.a.forwardRef((function(e,a){return r.a.createElement(ve,se({svgRef:a},e))}));t.p;function fe(){return(fe=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function ge(e,a){if(null==e)return{};var t,n,r=function(e,a){if(null==e)return{};var t,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],a.indexOf(t)>=0||(r[t]=e[t]);return r}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],a.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var he=r.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72 36C72 55.8823 55.8823 72 36 72C16.1177 72 0 55.8823 0 36C0 16.1177 16.1177 0 36 0C55.8823 0 72 16.1177 72 36ZM45.7488 26.1213C46.9204 24.9497 48.8199 24.9497 49.9914 26.1213C51.163 27.2929 51.163 29.1924 49.9914 30.364L34.26 46.0954C34.1445 46.2767 34.0075 46.4483 33.8492 46.6066C33.3323 47.1236 32.6735 47.4124 31.9982 47.4732C31.1084 47.587 30.1773 47.3023 29.4939 46.6189C29.3169 46.4419 29.1667 46.2483 29.0432 46.0432L21.1213 38.1213C19.9497 36.9497 19.9497 35.0503 21.1213 33.8787C22.2929 32.7071 24.1924 32.7071 25.364 33.8787L31.6777 40.1924L45.7488 26.1213Z",fill:"#13CF5E"}),ze=function(e){var a=e.svgRef,t=e.title,n=ge(e,["svgRef","title"]);return r.a.createElement("svg",fe({width:72,height:72,viewBox:"0 0 72 72",fill:"none",ref:a},n),t?r.a.createElement("title",null,t):null,he)},be=r.a.forwardRef((function(e,a){return r.a.createElement(ze,fe({svgRef:a},e))})),ye=(t.p,{creating:{icon:r.a.createElement(pe,{"data-testid":"creatingIcon",style:{width:44,height:44}}),title:"Setting up your account",description:"Please wait while we configure and set your account. In the meanwhile, please watch our product overview video"},success:{icon:r.a.createElement(be,{"data-testid":"successIcon",style:{width:44,height:44}}),title:"Congratulations! Your 45 day trial account has been created"},error:{icon:r.a.createElement(ce,{"data-testid":"errorIcon",style:{width:44,height:44}}),title:"Oops! Something went wrong",description:"Get ready to explore and build amazing conversational experiences for your business.",retryMessage:"Retry to sign up again"}}),Ee=function(e){var a=e.isVideoActive,t=e.messageState,i=e.accountDetails,o=e.resetRegistration,l=Object(n.useState)(!1),u=Object(c.a)(l,2),m=u[0],d=u[1],v=Object(n.useState)({}),f=Object(c.a)(v,2),g=f[0],h=f[1],z=Object(n.useRef)(),b=Object(n.useRef)(),y=Object(n.useRef)(),x=Object(n.useRef)(),S="success"===t,C="creating"===t,w=ye[t],O=w.icon,k=w.title,j=w.description,I=w.retryMessage;return Object(n.useLayoutEffect)((function(){var e=function(){var e=b.current.offsetHeight,a=b.current.offsetWidth,t=y.current.offsetHeight;h(function(e,a,t){var n=window.innerHeight-e-t-40;return n/.5625>a?{width:a,height:.5625*a}:{width:n/.5625,height:n}}(e,a,t))};return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[t]),Object(n.useEffect)((function(){z.current=new Q.a("video"),d(!0)}),[]),Object(n.useEffect)((function(){m&&a&&z.current.play()}),[m,a]),r.a.createElement(s.a,{backgroundColor:"navy",sx:{height:"100%",flex:1,overflow:"auto",display:"grid",gridTemplateRows:"auto 1fr"}},r.a.createElement(s.a,{ref:y},r.a.createElement(E,{isStatic:!0})),r.a.createElement(s.c,{flexDirection:"column",alignItems:"center",mx:[4,6,7],pb:6,px:[4,6,7],sx:{textAlign:"center",height:"100%"}},r.a.createElement(s.a,{ref:b,width:"100%"},O,k&&r.a.createElement(s.f,{variant:"videoTitle",my:3},k,C?r.a.createElement(re,null):null),j&&r.a.createElement(s.f,{variant:"videoDescription",mb:6,mx:[2,4,6]},p(j),I&&r.a.createElement(s.f,{"data-testid":"retryButton",onClick:o,mt:4,mb:6,ml:1,fontSize:1,sx:{display:"inline",color:"aqua",cursor:"pointer",fontWeight:700,"&:hover":{color:"aquaHover"}}},I)),S&&r.a.createElement(s.c,{mb:7,alignItems:"center",mt:4,justifyContent:"center",flexWrap:"wrap"},r.a.createElement(s.f,{variant:"accountLabel",mr:3},"Account #"),r.a.createElement(s.f,{variant:"accountDetail",mr:6},i.accountId),r.a.createElement(s.f,{variant:"accountLabel",mr:3},"Username"),r.a.createElement(s.f,{variant:"accountDetail",mr:7},i.username),r.a.createElement(s.e,{href:"https://authentication.liveperson.net/login.html",target:"_blank",variant:"primaryLink"},"Login to your account"))),r.a.createElement(s.a,{flex:1,sx:{width:"100%"},ref:x},r.a.createElement(s.a,{sx:{margin:"0 auto",position:"relative",height:g.height,width:g.width,outlineColor:"shadow",outlineWidth:"6px",outlineStyle:"solid"}},r.a.createElement("iframe",{title:"FTUE",ref:z,id:"video","data-testid":"video",src:"https://player.vimeo.com/video/398468660?autoplay=0&app_id=122963",frameBorder:"0",allow:"autoplay; fullscreen",allowFullScreen:!0,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"}})))))},xe=function(){var e=Object(n.useState)("creating"),a=Object(c.a)(e,2),t=a[0],i=a[1],o=Object(n.useState)(!1),l=Object(c.a)(o,2),m=l[0],d=l[1],v=Object(n.useState)({}),p=Object(c.a)(v,2),f=p[0],g=p[1],h=Object(n.useState)({firstName:"",lastName:"",email:"",password:"",region:"",recaptchaResponseToken:""}),b=Object(c.a)(h,2),y=b[0],C=b[1];return m?r.a.createElement(Ee,{isVideoActive:m,messageState:t,accountDetails:f,resetRegistration:function(){i("creating"),d(!1),g(null),C(Object(u.a)(Object(u.a)({},y),{},{password:""}))}}):r.a.createElement(s.a,{sx:{height:"100%",position:"relative",display:["block","block","grid"],gridTemplateColumns:"5fr 2fr 9fr"},mx:[5,6,0]},r.a.createElement(E,null),r.a.createElement(z,{slides:x}),r.a.createElement(s.a,{backgroundColor:"white"}),r.a.createElement(s.a,{sx:{flex:1,overflow:"auto"},"data-testid":"registerContent"},r.a.createElement(S,null),r.a.createElement(_,{setIsVideoActive:d,setMessageState:i,setAccountDetails:g,userDetails:y,setUserDetails:C}),r.a.createElement(s.f,{variant:"privacyPolicy",mt:6,mb:7},"By creating an account, I agree to LivePerson's\xa0",r.a.createElement(s.e,{sx:{textDecoration:"none",color:"electricBlue","&hover":{color:"electricBlueHover"}},href:"https://www.liveperson.com/policies/license-agreement/"},"End User License Agreement"))))};o.a.render(r.a.createElement(r.a.StrictMode,null,r.a.createElement(l.a,{theme:{breakpoints:["40em","52em","75em","100em"],fontSizes:[".75rem",".875rem","1rem","1.25rem","1.5rem","2rem","2.5rem"],colors:{orange:"#ff6900",electricBlue:"#005EF4",electricBlueHover:"#003FA3",darkBlue:"#1B1E4D",navy:"#090C43",darkNavy:"#04051F",navyGray:"#2D2F52",darkGray:"#675D55",darkerGray:"#463E36",gray:"#847970",lightGray:"#D9D4D0",lighterGray:"#F8F5F3",lightGrey:"#A2A3B8",red:"#DF2A31",lightRed:"#FEECEC",lightBlue:"#5879DA",shadow:"#141358",aqua:"#5ED7FB",aquaHover:"#00a4d6"},space:[0,".25rem",".5rem","1rem","1.5rem","2rem","2.5rem","4rem","8rem","11.875rem"],variants:{activeDot:{backgroundColor:"orange",borderColor:"orange",borderWidth:1,borderStyle:"solid"},inactiveDot:{backgroundColor:"transparent",borderColor:"white",borderWidth:1,borderStyle:"solid"},carousel:{backgroundColor:"darkBlue"},secondaryLink:{fontSize:0,fontFamily:"Roboto",fontWeight:700,lineHeight:"20px",borderRadius:32,paddingLeft:"24px",paddingRight:"24px",paddingTop:"6px",paddingBottom:"6px",backgroundColor:"lighterGray",color:"darkGray",WebkitFontSmoothing:"antialiased",textDecoration:"none","&:hover":{backgroundColor:"lightGray",color:"darkerGray"}},primaryLink:{fontSize:0,fontFamily:"Roboto",fontWeight:700,lineHeight:"20px",borderRadius:32,paddingLeft:"24px",paddingRight:"24px",paddingTop:"6px",paddingBottom:"6px",backgroundColor:"electricBlue",color:"white",WebkitFontSmoothing:"antialiased",textDecoration:"none","&:hover":{backgroundColor:"electricBlueHover"}}},text:{dropdownSelected:{fontSize:0,lineHeight:"20px",color:"navy"},carouselTitle:{color:"white",fontFamily:'"Roboto Slab", sans-serif',fontSize:[2,3,4,6],lineHeight:["24px","32px","40px","56px"]},carouselText:{color:"white",fontSize:[1,1,2,4],lineHeight:["20px","20px","24px","40px"],textAlign:"center",letterSpacing:"0.008em",WebkitFontSmoothing:"antialiased"},carouselSubtitle:{color:"white",fontSize:[1,1,2,3],lineHeight:["20px","20px","24px","32px"],letterSpacing:"0.008em",WebkitFontSmoothing:"antialiased"},carouselAuthorName:{color:"white",fontSize:[1,1,2,3],fontWeight:700,textAlign:"center",lineHeight:["20px","20px","24px","32px"],letterSpacing:"0.008em",WebkitFontSmoothing:"antialiased"},carouselAuthorRole:{color:"white",fontSize:[0,1],textAlign:"center",lineHeight:["20px","24px"],letterSpacing:"0.01em",WebkitFontSmoothing:"antialiased"},header:{fontSize:[3,4,5],fontWeight:700,lineHeight:["28px","36px","44px"],color:"navy",letterSpacing:"0.008em",WebkitFontSmoothing:"antialiased"},subheader:{fontSize:2,fontWeight:300,lineHeight:"24px",color:"navy",letterSpacing:"0.01em",WebkitFontSmoothing:"antialiased"},privacyPolicy:{fontSize:0,lineHeight:"20px",letterSpacing:"0.01em",color:"gray"},errorInformation:{fontSize:0,lineHeight:"20px",color:"navyGray",WebkitFontSmoothing:"antialiased"},errorText:{fontSize:0,lineHeight:"20px",color:"red",WebkitFontSmoothing:"antialiased"},errorMessage:{fontSize:0,lineHeight:"20px",color:"red",WebkitFontSmoothing:"antialiased",maxWidth:["100%","100%",414]},videoTitle:{color:"white",fontSize:3,fontWeight:700,lineHeight:"32px",letterSpacing:"0.008em",WebkitFontSmoothing:"antialiased"},videoDescription:{color:"white",fontSize:1,fontWeight:400,lineHeight:"24px",letterSpacing:"0.01em",WebkitFontSmoothing:"antialiased"},accountLabel:{display:"inline",color:"lightGrey",whiteSpace:"nowrap"},accountDetail:{display:"inline",color:"white",whiteSpace:"nowrap"}},buttons:{primary:{fontSize:2,fontFamily:"Roboto",fontWeight:700,lineHeight:"20px",borderRadius:32,letterSpacing:"0.008em",cursor:"pointer",paddingTop:"22px",paddingBottom:"22px",backgroundColor:"electricBlue",color:"white",WebkitFontSmoothing:"antialiased",maxWidth:"100%",whiteSpace:"nowrap",width:"100%","&:hover":{backgroundColor:"electricBlueHover"}},compact:{fontSize:1,fontFamily:"Roboto",fontWeight:700,lineHeight:"24px",borderRadius:32,letterSpacing:"0.008em",cursor:"pointer",backgroundColor:"electricBlue",color:"white",WebkitFontSmoothing:"antialiased",whiteSpace:"nowrap","&:hover":{backgroundColor:"electricBlueHover"}}},forms:{textInputError:{fontSize:1,fontFamily:"Roboto",color:"navyGray",borderWidth:1,borderStyle:"solid",borderColor:"red",backgroundColor:"lightRed",borderRadius:8,lineHeight:"40px",paddingLeft:3,paddingRight:3,paddingTop:0,paddingBottom:0,letterSpacing:"0.01em",WebkitFontSmoothing:"antialiased",WebkitBoxShadow:"inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px #FEECEC","&::placeholder":{color:"darkGray"}},textInputErrorDisabled:{fontSize:1,fontFamily:"Roboto",color:"darkGray",borderWidth:1,borderStyle:"solid",borderColor:"red",backgroundColor:"lightRed",borderRadius:8,lineHeight:"40px",paddingLeft:3,paddingRight:3,paddingTop:0,paddingBottom:0,letterSpacing:"0.01em",WebkitFontSmoothing:"antialiased",WebkitBoxShadow:"inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px #FEECEC","&::placeholder":{color:"darkGray"}},textInputDisabled:{fontSize:1,fontFamily:"Roboto",color:"darkGray",borderWidth:1,borderStyle:"solid",borderColor:"gray",borderRadius:8,lineHeight:"40px",paddingLeft:3,paddingRight:3,paddingTop:0,paddingBottom:0,letterSpacing:"0.01em",WebkitFontSmoothing:"antialiased",boxShadow:"inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px white","&::placeholder":{color:"darkGray"}},textInput:{fontSize:1,fontFamily:"Roboto",color:"navyGray",borderWidth:1,borderStyle:"solid",borderColor:"gray",borderRadius:8,lineHeight:"40px",paddingLeft:3,paddingRight:3,paddingTop:0,paddingBottom:0,letterSpacing:"0.01em",WebkitFontSmoothing:"antialiased",boxShadow:"inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px white","&::placeholder":{color:"darkGray"}},errorText:{fontSize:1,fontFamily:"Roboto",color:"red"}}}},r.a.createElement(xe,null))),document.getElementById("root")||document.createElement("div"))},86:function(e){e.exports=JSON.parse('[{"name":"Andorra","value":"z2"},{"name":"United Arab Emirates","value":"z2"},{"name":"Afghanistan","value":"z2"},{"name":"Antigua and Barbuda","value":"z1"},{"name":"Anguilla","value":"z1"},{"name":"Albania","value":"z2"},{"name":"Armenia","value":"z2"},{"name":"Angola","value":"z2"},{"name":"Antarctica","value":""},{"name":"Argentina","value":"z1"},{"name":"American Samoa","value":"z1"},{"name":"Austria","value":"z2"},{"name":"Australia","value":"z3"},{"name":"Aruba","value":"z1"},{"name":"Aland Islands","value":"z2"},{"name":"Azerbaijan","value":"z2"},{"name":"Bosnia and Herzegovina","value":"z2"},{"name":"Barbados","value":"z1"},{"name":"Bangladesh","value":"z3"},{"name":"Belgium","value":"z2"},{"name":"Burkina Faso","value":"z2"},{"name":"Bulgaria","value":"z2"},{"name":"Bahrain","value":"z2"},{"name":"Burundi","value":"z2"},{"name":"Benin","value":"z2"},{"name":"Saint Barth\xe9lemy","value":"z1"},{"name":"Bermuda","value":"z1"},{"name":"Brunei Darussalam","value":"z3"},{"name":"Bolivia","value":"z1"},{"name":"Bonaire","value":"z1"},{"name":"Brazil","value":"z1"},{"name":"Bahamas","value":"z1"},{"name":"Bhutan","value":"z3"},{"name":"Bouvet Island","value":"z2"},{"name":"Botswana","value":"z2"},{"name":"Belarus","value":"z2"},{"name":"Belize","value":"z1"},{"name":"Canada","value":"z1"},{"name":"Cocos (Keeling) Islands","value":"z3"},{"name":"Congo (Kinshasa)","value":"z2"},{"name":"Central African Republic","value":"z2"},{"name":"Congo (Brazzaville)","value":"z2"},{"name":"Switzerland","value":"z2"},{"name":"Cote d\'Ivoire","value":"z2"},{"name":"Cook Islands","value":"z3"},{"name":"Chile","value":"z1"},{"name":"Cameroon","value":"z2"},{"name":"China","value":"z3"},{"name":"Colombia","value":"z1"},{"name":"Costa Rica","value":"z1"},{"name":"Cuba","value":"z1"},{"name":"Cape Verde","value":"z2"},{"name":"Cura\xe7ao","value":"z1"},{"name":"Christmas Island","value":"z3"},{"name":"Cyprus","value":"z2"},{"name":"Czech Republic","value":"z2"},{"name":"Germany","value":"z2"},{"name":"Djibouti","value":"z2"},{"name":"Denmark","value":"z2"},{"name":"Dominica","value":"z1"},{"name":"Dominican Republic","value":"z1"},{"name":"Algeria","value":"z2"},{"name":"Ecuador","value":"z1"},{"name":"Estonia","value":"z2"},{"name":"Egypt","value":"z2"},{"name":"Western Sahara","value":"z2"},{"name":"Eritrea","value":"z2"},{"name":"Spain","value":"z2"},{"name":"Ethiopia","value":"z2"},{"name":"Finland","value":"z2"},{"name":"Fiji","value":"z3"},{"name":"Falkland Islands (Malvinas)","value":"z1"},{"name":"Micronesia","value":"z1"},{"name":"Faroe Islands","value":"z2"},{"name":"France","value":"z2"},{"name":"Gabon","value":"z2"},{"name":"United Kingdom","value":"z2"},{"name":"Grenada","value":"z2"},{"name":"Georgia","value":"z2"},{"name":"French Guiana","value":"z2"},{"name":"Guernsey","value":"z2"},{"name":"Ghana","value":"z2"},{"name":"Gibraltar","value":"z2"},{"name":"Greenland","value":"z2"},{"name":"Gambia","value":"z2"},{"name":"Guinea","value":"z1"},{"name":"Guadeloupe","value":"z1"},{"name":"Equatorial Guinea","value":"z2"},{"name":"Greece","value":"z2"},{"name":"South Georgia and the South Sandwich Islands","value":"z1"},{"name":"Guatemala","value":"z1"},{"name":"Guam","value":"z1"},{"name":"Guinea-Bissau","value":"z2"},{"name":"Guyana","value":"z1"},{"name":"Hong Kong","value":"z3"},{"name":"Heard Island and McDonald Islands","value":"z2"},{"name":"Honduras","value":"z1"},{"name":"Croatia","value":"z2"},{"name":"Haiti","value":"z1"},{"name":"Hungary","value":"z2"},{"name":"Indonesia","value":"z3"},{"name":"Ireland","value":"z2"},{"name":"Israel","value":"z2"},{"name":"Isle of Man","value":"z2"},{"name":"India","value":"z3"},{"name":"British Indian Ocean Territory","value":"z3"},{"name":"Iraq","value":"z2"},{"name":"Iran","value":"z2"},{"name":"Iceland","value":"z2"},{"name":"Italy","value":"z2"},{"name":"Jersey","value":"z2"},{"name":"Jamaica","value":"z1"},{"name":"Jordan","value":"z2"},{"name":"Japan","value":"z3"},{"name":"Kenya","value":"z2"},{"name":"Kyrgyzstan","value":"z2"},{"name":"Cambodia","value":"z3"},{"name":"Kiribati","value":"z3"},{"name":"Comoros","value":"z2"},{"name":"Saint Kitts and Nevis","value":"z1"},{"name":"North Korea","value":"z3"},{"name":"South Korea","value":"z3"},{"name":"Kuwait","value":"z2"},{"name":"Cayman Islands","value":"z1"},{"name":"Kazakhstan","value":"z2"},{"name":"Laos","value":"z3"},{"name":"Lebanon","value":"z2"},{"name":"Saint Lucia","value":"z1"},{"name":"Liechtenstein","value":"z2"},{"name":"Sri Lanka","value":"z3"},{"name":"Liberia","value":"z2"},{"name":"Lesotho","value":"z2"},{"name":"Lithuania","value":"z2"},{"name":"Luxembourg","value":"z2"},{"name":"Latvia","value":"z2"},{"name":"Libya","value":"z2"},{"name":"Morocco","value":"z2"},{"name":"Monaco","value":"z2"},{"name":"Moldova","value":"z2"},{"name":"Montenegro","value":"z2"},{"name":"Saint Martin (French part)","value":"z2"},{"name":"Madagascar","value":"z2"},{"name":"Marshall Islands","value":"z3"},{"name":"Macedonia","value":"z2"},{"name":"Mali","value":"z2"},{"name":"Myanmar","value":"z3"},{"name":"Mongolia","value":"z3"},{"name":"Macao","value":"z3"},{"name":"Northern Mariana Islands","value":"z3"},{"name":"Martinique","value":"z1"},{"name":"Mauritania","value":"z2"},{"name":"Montserrat","value":"z1"},{"name":"Malta","value":"z2"},{"name":"Mauritius","value":"z2"},{"name":"Maldives","value":"z3"},{"name":"Malawi","value":"z2"},{"name":"Mexico","value":"z1"},{"name":"Malaysia","value":"z3"},{"name":"Mozambique","value":"z2"},{"name":"Namibia","value":"z2"},{"name":"New Caledonia","value":"z3"},{"name":"Niger","value":"z2"},{"name":"Norfolk Island","value":"z3"},{"name":"Nigeria","value":"z2"},{"name":"Nicaragua","value":"z1"},{"name":"Netherlands","value":"z2"},{"name":"Norway","value":"z2"},{"name":"Nepal","value":"z3"},{"name":"Nauru","value":"z3"},{"name":"Niue","value":"z3"},{"name":"New Zealand","value":"z3"},{"name":"Oman","value":"z2"},{"name":"Panama","value":"z1"},{"name":"Peru","value":"z1"},{"name":"French Polynesia","value":"z3"},{"name":"Papua New Guinea","value":"z3"},{"name":"Philippines","value":"z3"},{"name":"Pakistan","value":"z2"},{"name":"Poland","value":"z2"},{"name":"Saint Pierre and Miquelon","value":"z3"},{"name":"Pitcairn","value":"z3"},{"name":"Puerto Rico","value":"z1"},{"name":"Palestinian Territory, Occupied","value":"z2"},{"name":"Portugal","value":"z2"},{"name":"Palau","value":"z3"},{"name":"Paraguay","value":"z1"},{"name":"Qatar","value":"z2"},{"name":"Reunion","value":"z2"},{"name":"Romania","value":"z2"},{"name":"Serbia","value":"z2"},{"name":"Russia","value":"z2"},{"name":"Rwanda","value":"z2"},{"name":"Saudi Arabia","value":"z2"},{"name":"Solomon Islands","value":"z3"},{"name":"Seychelles","value":"z2"},{"name":"Sudan","value":"z2"},{"name":"Sweden","value":"z2"},{"name":"Singapore","value":"z3"},{"name":"Saint Helena, Ascension and Tristan da Cunha","value":"z2"},{"name":"Slovenia","value":"z2"},{"name":"Svalbard and Jan Mayen","value":"z2"},{"name":"Slovakia","value":"z2"},{"name":"Sierra Leone","value":"z2"},{"name":"San Marino","value":"z2"},{"name":"Senegal","value":"z2"},{"name":"Somalia","value":"z2"},{"name":"Suriname","value":"z1"},{"name":"South Sudan","value":"z2"},{"name":"Sao Tome and Principe","value":"z2"},{"name":"El Salvador","value":"z1"},{"name":"Sint Maarten (Dutch part)","value":"z1"},{"name":"Syria","value":"z2"},{"name":"Swaziland","value":"z2"},{"name":"Turks and Caicos Islands","value":"z1"},{"name":"Chad","value":"z2"},{"name":"French Southern Territories","value":"z2"},{"name":"Togo","value":"z2"},{"name":"Thailand","value":"z3"},{"name":"Tajikistan","value":"z2"},{"name":"Tokelau","value":"z3"},{"name":"Timor-Leste","value":"z3"},{"name":"Turkmenistan","value":"z2"},{"name":"Tunisia","value":"z2"},{"name":"Tonga","value":"z3"},{"name":"Turkey","value":"z2"},{"name":"Trinidad and Tobago","value":"z1"},{"name":"Tuvalu","value":"z3"},{"name":"Taiwan","value":"z3"},{"name":"Tanzania","value":"z3"},{"name":"Ukraine","value":"z2"},{"name":"Uganda","value":"z2"},{"name":"United States Minor Outlying Islands","value":"z1"},{"name":"United States","value":"z1"},{"name":"Uruguay","value":"z1"},{"name":"Uzbekistan","value":"z2"},{"name":"Holy See (Vatican City State)","value":"z2"},{"name":"Saint Vincent and the Grenadines","value":"z1"},{"name":"Venezuela","value":"z1"},{"name":"Virgin Islands (British)","value":"z1"},{"name":"Virgin Islands (United States)","value":"z1"},{"name":"Vietnam","value":"z3"},{"name":"Vanuatu","value":"z3"},{"name":"Wallis and Futuna","value":"z3"},{"name":"Samoa","value":"z3"},{"name":"Yemen","value":"z2"},{"name":"Mayotte","value":"z2"},{"name":"Yugoslavia","value":"z2"},{"name":"South Africa","value":"z2"},{"name":"zambia","value":"z2"},{"name":"zimbabwe","value":"z2"},{"name":"TBD","value":""}]')},87:function(e,a,t){e.exports=t.p+"static/media/logo.df9acfdb.svg"},88:function(e){e.exports=JSON.parse('[{"id":"conversational-ai","bgImage":"carousel-1.jpg","title":"Unleash the\\ntrue power of\\nConversational AI"},{"id":"channels","beforeImage":"banner-image.png","bgImage":"carousel-2.jpg","minHeight":270,"maxHeight":495,"title":"Connect\\nand converse","subtitle":"Engage with customers directly in their preferred communication channels"},{"id":"tools","bgImage":"carousel-3.jpg","beforeImage":"gett.png","minHeight":200,"maxHeight":270,"text":"We\u2019re researchers at heart, and LivePerson\u2019s tools helped us learn and automate more than we thought was possible.","author":{"name":"Yonina Ben Shimon","role":"Global Head of Customer Experience, Gett"}}]')},90:function(e,a,t){e.exports=t.p+"static/media/oval.be00fc4a.svg"},95:function(e,a,t){e.exports=t(161)}},[[95,1,2]]]); -//# sourceMappingURL=main.7f101a59.chunk.js.map \ No newline at end of file