(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1931],{44171:function(n,e,t){Promise.resolve().then(t.bind(t,76774))},76774:function(n,e,t){"use strict";t.r(e);var r=t(48646),i=t(57437),o=t(89183),a=t(16463),u=t(88546),l=t(30857),s=t(43781);function c(){let n=(0,r._)(["\n  align-items: center;\n  bottom: 0;\n  display: flex;\n  justify-content: center;\n  left: 0;\n  position: absolute;\n  right: 0;\n  top: 0;\n"]);return c=function(){return n},n}e.default=()=>{let{isAuthenticated:n}=(0,l.E)(),{push:e}=(0,a.useRouter)(),[r,{prevUrl:o}]=(0,s.o)(null);return null!=t.g.window&&n&&(o&&r({prevUrl:o}),e("/auth/complete")),(0,i.jsx)(d,{children:(0,i.jsx)(u.a,{})})};let d=o.ZP.div(c())},88546:function(n,e,t){"use strict";t.d(e,{a:function(){return x}});var r=t(48646),i=t(57437),o=t(89183),a=t(75646);function u(){let n=(0,r._)(["\n  background: ",";\n  transform: scale(1.3);\n"]);return u=function(){return n},n}function l(){let n=(0,r._)(["\n  background: ",";\n  transform: scale(1);\n"]);return l=function(){return n},n}function s(){let n=(0,r._)(["\n	0% {\n		","\n	}\n	25% {\n		","\n	}\n	75% {\n		","\n	}\n	100% {\n		","\n	}\n"]);return s=function(){return n},n}function c(){let n=(0,r._)(["\n	0% {\n		","\n	}\n	25% {\n		","\n	}\n	50% {\n		","\n	}\n	75% {\n		","\n	}\n	100% {\n		","\n	}\n"]);return c=function(){return n},n}function d(){let n=(0,r._)(["\n	0% {\n		","\n	}\n	25% {\n		","\n	}\n	50% {\n		","\n	}\n	75% {\n		","\n	}\n"]);return d=function(){return n},n}function f(){let n=(0,r._)(["\n  animation: "," ","ms infinite;\n  background: ",";\n  border-radius: 50%;\n  height: ","px;\n  transition: all ","ms cubic-bezier(0.93, 0.02, 0.07, 0.98);\n  width: ","px;\n\n  &:nth-child(2) {\n    animation-name: ",";\n  }\n\n  &:nth-child(3) {\n    animation-name: ",";\n  }\n"]);return f=function(){return n},n}function p(){let n=(0,r._)(["\n  align-items: center;\n  display: flex;\n  flex: 1;\n  justify-content: space-between;\n  margin: 60px auto;\n  max-width: ","px;\n  position: relative;\n  width: 100%;\n"]);return p=function(){return n},n}let g=[void 0,void 0,void 0],x=n=>{let{className:e}=n;return(0,i.jsx)(w,{className:e,children:g.map((n,e)=>(0,i.jsx)(v,{$aColor:a.O9.secondary.light,$nColor:a.O9.grayscale.darkGray},e))})},F=n=>(0,o.iv)(u(),n),h=n=>(0,o.iv)(l(),n),b=n=>{let{aColor:e,nColor:t}=n;return(0,o.F4)(s(),F(e),h(t),h(t),F(e))},m=n=>{let{aColor:e,nColor:t}=n;return(0,o.F4)(c(),h(t),F(e),h(t),F(e),h(t))},y=n=>{let{aColor:e,nColor:t}=n;return(0,o.F4)(d(),h(t),h(t),F(e),h(t))},v=o.ZP.div(f(),n=>b({aColor:n.$aColor,nColor:n.$nColor}),2400,a.O9.grayscale.darkGray,26,600,26,n=>m({aColor:n.$aColor,nColor:n.$nColor}),n=>y({aColor:n.$aColor,nColor:n.$nColor})),w=o.ZP.div(p(),130)},30857:function(n,e,t){"use strict";t.d(e,{E:function(){return c},H:function(){return s}});var r=t(57437),i=t(2265),o=t(16463),a=t(70277),u=t(20132);let l=(0,i.createContext)(null),s=n=>{let{children:e}=n,[t,s]=(0,i.useState)(null),[c,d]=(0,i.useState)(!1),f=(0,o.usePathname)(),{review_tkn:p,tkn:g}=(0,a.parseCookies)();return(0,i.useEffect)(()=>{(async()=>{let{data:n}=await u.Z.get("/clientAccounts/current");s(n)})()},[f]),(0,r.jsx)(l.Provider,{value:{clientAccount:t,isAuthenticated:c,review_tkn:p,setClientAccount:s,setIsAuthenticated:d,tkn:g},children:e})},c=()=>(0,i.useContext)(l)},2685:function(n,e,t){"use strict";/**
 * @license React
 * use-sync-external-store-shim.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=t(2265),i="function"==typeof Object.is?Object.is:function(n,e){return n===e&&(0!==n||1/n==1/e)||n!=n&&e!=e},o=r.useState,a=r.useEffect,u=r.useLayoutEffect,l=r.useDebugValue;function s(n){var e=n.getSnapshot;n=n.value;try{var t=e();return!i(n,t)}catch(n){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(n,e){return e()}:function(n,e){var t=e(),r=o({inst:{value:t,getSnapshot:e}}),i=r[0].inst,c=r[1];return u(function(){i.value=t,i.getSnapshot=e,s(i)&&c({inst:i})},[n,t,e]),a(function(){return s(i)&&c({inst:i}),n(function(){s(i)&&c({inst:i})})},[n]),l(t),t};e.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},44959:function(n,e,t){"use strict";/**
 * @license React
 * use-sync-external-store-shim/with-selector.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=t(2265),i=t(14239),o="function"==typeof Object.is?Object.is:function(n,e){return n===e&&(0!==n||1/n==1/e)||n!=n&&e!=e},a=i.useSyncExternalStore,u=r.useRef,l=r.useEffect,s=r.useMemo,c=r.useDebugValue;e.useSyncExternalStoreWithSelector=function(n,e,t,r,i){var d=u(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var p=a(n,(d=s(function(){function n(n){if(!l){if(l=!0,a=n,n=r(n),void 0!==i&&f.hasValue){var e=f.value;if(i(e,n))return u=e}return u=n}if(e=u,o(a,n))return e;var t=r(n);return void 0!==i&&i(e,t)?e:(a=n,u=t)}var a,u,l=!1,s=void 0===t?null:t;return[function(){return n(e())},null===s?void 0:function(){return n(s())}]},[e,t,r,i]))[0],d[1]);return l(function(){f.hasValue=!0,f.value=p},[p]),c(p),p}},14239:function(n,e,t){"use strict";n.exports=t(2685)},81290:function(n,e,t){"use strict";n.exports=t(44959)},20132:function(n,e,t){"use strict";var r=t(86623),i=t(38472);let o=[r.WE.InternalServerError],a=i.default.create({baseURL:"/api/site/core",headers:{Accept:"application/json","Content-Type":"application/json"}});a.interceptors.response.use(n=>n,n=>{let{status:e}=n.response,t=(window.location.pathname+window.location.search).substring(1);e===r.WE.Unauthorized?window.location.href="/auth/login?prevUrl=".concat(t):o.some(n=>n===e)&&!window.location.href.includes("localhost:30")&&(window.location.href="/error")}),e.Z=a},75646:function(n,e,t){"use strict";t.d(e,{AV:function(){return d},Hb:function(){return f},IM:function(){return c},O9:function(){return i},Rq:function(){return l},cz:function(){return u},fZ:function(){return p},hI:function(){return a},q:function(){return o},rS:function(){return r},roundButton:function(){return s}});let r={colors:{primary:{base:"#664DFF",light:"#B1A5FF",lightest:"#F0EDFF",gradient:{start:"#664DFF",end:"#B1A5FF"}},secondary:{base:"#345BFF",light:"#6595FF",lightest:"#CBD6FE",gradient:{start:"#0033FF",end:"#6595FF"}},grayscale:{darkGray:"#E4E6ED",grayHover:"#E7EBF7",lightGray:"#F9FAFD",primaryText:"#292739",secondaryText:"#74767D",standardGray:"#F3F5FB",trueBlack:"#000000",white:"#ffffff"},accent:{berry:"#FF0066",blue:"#0033FF",fuchsia:"#CC33FF",information:"#0086D1",lavender:"#9973FF",lightBerry:"#FFEBF3",lightFuchsia:"#F6DBFF",lightTurquoise:"#D0F5F8",lightYellow:"#FFF6DE",mint:"#31E4A8",orange:"#FF7755",skyBlue:"#5CE1EC",success:"#00A822",turquoise:"#00D6E8",yellow:"#FFCC4D"},background:{overlay:"rgba(40,44,89,0.5)"}},shadows:{button:"0px 10px 27px -10px rgba(89,114,215,0.07)",card:"0px 0px 15px rgba(89,114,215,0.15)",challenge:"-20px 20px 85px 40px rgba(89,114,215,0.07)",cpc:"-12px 26px 25px rgba(89,114,215,0.15)",input:"0px 6px 20px -2px rgba(41,39,57,0.1)",inputFocus:"0px 14px 59px rgba(41,39,57,0.1), 0px 21px 28px rgba(89,114,215,0.15)",mobileFooter:"0px -5px 30px rgba(41,39,57,0.1)",modal:"0px 0px 30px rgba(89,114,215,0.15)",pill:"0 4px 34px rgba(102,77,255,0.2)",reward:"-20px 20px 205px 40px rgba(89,114,215,0.15)",round:"0px 5px 15px rgba(102,77,255,0.04)",roundNumber:"0px 3px 8px 1px rgba(89,114,215,0.15)"}},{colors:i,shadows:o}={...r},a=8,u={blue:"linear-gradient(218.08deg, #6585FF -1.81%, #345BFF 97.67%)",blurple:"linear-gradient(90deg, #5366FF -1.78%, #8B66FF 74.9%, #AE66FF 161.16%)",grayBlue:"linear-gradient(to top right, #EBEFFF 0%, #C2CEFF 100%)",mintBlue:"linear-gradient(180deg, #31e4a8 0%, #00d6e8 132.3%)",whiteBlue:"linear-gradient(59.91deg, #EFF3FF -0.85%, #9AABFF 119.18%)",whiteTransparent:"linear-gradient(0deg, #F3F5FB 71.36%, #FFFFFF 99.73%)"},l={family:"Karla",secondary:"Rubik",lineHeight:"150%"},s={primary:{alignItems:"center",border:0,borderRadius:"50%",color:i.grayscale.white,cursor:"pointer",display:"flex",fontFamily:l.family,fontSize:"18px",fontWeight:700,height:"65px",justifyContent:"center",width:"65px"}},c={primary:{base:{borderRadius:"14px",display:"inline-block",maxWidth:"374px",transition:"all 250ms ease",width:"100%"},children:{cursor:"pointer",fontFamily:l.family,fontSize:"18px",fontWeight:"400",lineHeight:"18px",padding:"20px 15px",transition:"color 250ms ease"}},small:{base:{width:"auto"},children:{fontSize:"14px",fontWeight:400,padding:"7px 15px"}}},d={smMobile:360,mobile:375,largeMobile:411,tablet:768,desktop:1025,largeDesktop:1272,xlDesktop:1440,xxlDesktop:1650},f={smMobile:"min-width: ".concat(d.smMobile,"px"),mobile:"min-width: ".concat(d.mobile,"px"),largeMobile:"min-width: ".concat(d.largeMobile,"px"),tablet:"min-width: ".concat(d.tablet,"px"),desktop:"min-width: ".concat(d.desktop,"px"),largeDesktop:"min-width: ".concat(d.largeDesktop,"px"),xlDesktop:"min-width: ".concat(d.xlDesktop,"px"),xxlDesktop:"min-width: ".concat(d.xxlDesktop,"px")},p={100:"FF",95:"F2",90:"E6",85:"D9",80:"CC",75:"BF",70:"B3",65:"A6",60:"99",55:"8C",50:"80",45:"73",40:"66",35:"59",30:"4D",25:"40",20:"33",15:"26",10:"1A",5:"0D",0:"00"}},43781:function(n,e,t){"use strict";t.d(e,{o:function(){return u}});var r=t(2265),i=t(39099);let o={commentId:null,feedId:null,hasNewLessons:!1,isAgeOver13:!0,isReady:!1,lang:"en",lastCheckedAgeAt:null,prevUrl:null,uid:null},a=(0,i.Ue)(n=>({...o,set:e=>{n(()=>e)},reset:()=>{n(o)}}));a.subscribe(n=>{localStorage.setItem("state",JSON.stringify(n))});let u=n=>{let{set:e,...t}=a(n=>n),i=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{e({...JSON.parse(localStorage.getItem("state")||"{}"),isReady:!0})},[e]),(0,r.useEffect)(()=>{t.isReady&&!i.current&&(n&&n(t),i.current=!0)},[t,n]),[e,t]}},39099:function(n,e,t){"use strict";t.d(e,{Ue:function(){return f}});let r=n=>{let e;let t=new Set,r=(n,r)=>{let i="function"==typeof n?n(e):n;if(!Object.is(i,e)){let n=e;e=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},e,i),t.forEach(t=>t(e,n))}},i=()=>e,o={setState:r,getState:i,getInitialState:()=>a,subscribe:n=>(t.add(n),()=>t.delete(n)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),t.clear()}},a=e=n(r,i,o);return o},i=n=>n?r(n):r;var o=t(2265),a=t(81290);let{useDebugValue:u}=o,{useSyncExternalStoreWithSelector:l}=a,s=!1,c=n=>n,d=n=>{"function"!=typeof n&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let e="function"==typeof n?i(n):n,t=(n,t)=>(function(n,e=c,t){t&&!s&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),s=!0);let r=l(n.subscribe,n.getState,n.getServerState||n.getInitialState,e,t);return u(r),r})(e,n,t);return Object.assign(t,e),t},f=n=>n?d(n):d}},function(n){n.O(0,[746,2971,7023,1744],function(){return n(n.s=44171)}),_N_E=n.O()}]);