1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1278],{13891:(t,e,s)=>{"use strict";s.d(e,{A:()=>f});var o=s(6029),n=s(77560),a=s(59009),r=s(77116),i=s(69759),l=s(58202),c=s(32988),d=s.n(c),u=s(39976),_=s(54197),h=s(69084),m=s(64437),w=s(81759),x=s(66908),p=s.n(x);function j(){return(0,o.jsx)("div",{className:p().container,children:(0,o.jsxs)("div",{className:p().overflowContainer,children:[(0,o.jsx)("div",{className:p().aura,children:(0,o.jsx)("div",{className:p().blueAura})}),(0,o.jsx)("div",{className:p().aura,children:(0,o.jsx)("div",{className:p().greenAura})}),(0,o.jsxs)("div",{className:p().content,children:[(0,o.jsx)("div",{className:p().top,children:(0,o.jsx)(b,{})}),(0,o.jsx)("div",{className:p().bottom,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:p().dataEvolution,children:"JOIN THE DATA EVOLUTION"}),(0,o.jsx)("h1",{className:p().titleForDarkBg,children:"Get started with Dolt"}),(0,o.jsxs)("div",{className:p().bottomButtons,children:[(0,o.jsx)(N,{}),(0,o.jsx)(v,{})]})]})}),(0,o.jsx)(l.iJ,{})]})]})})}function b(){return(0,o.jsx)(h.Gr,{className:p().textLink,href:l.wr,children:(0,o.jsxs)("span",{className:p().openSourceText,children:[(0,o.jsx)(w.hL4,{className:p().githubIcon}),"Dolt is open source"," ",(0,o.jsx)(m.QTF,{className:p().whiteButtonArrowIcon})]})})}function N(){return(0,o.jsx)(u.A,{className:p().installButtonLink,path:"/introduction/installation",children:(0,o.jsx)(h.$n,{className:p().installDoltButton,children:"Install Dolt"})})}function v(){return(0,o.jsx)(_.A,{href:"/signin",className:p().textLink,children:(0,o.jsxs)(h.$n.Link,{className:p().createAccountButton,children:["Create an account",(0,o.jsx)(m.QTF,{className:p().buttonArrowIcon})]})})}var g=s(91533),S=s.n(g);function f({children:t,className:e,transparentHeader:s=!1,...c}){(0,i.iQ)("main-content");let{sharedInfo:u,isDoltLabDeployment:_}=(0,r.B$)();return(0,o.jsx)("div",{className:d()(S().signedOut,e,{[S().fullHeight]:!!c.fullHeight}),children:(0,o.jsxs)("main",{tabIndex:-1,id:"main-content",children:[(0,o.jsx)("div",{className:c.headerClassName,children:(0,o.jsx)(n.H,{doltLabInfo:u,transparentBg:s})}),(0,o.jsxs)("div",{className:S().contentContainer,children:[(0,o.jsx)("div",{className:S().top,children:t}),(0,o.jsxs)("div",{className:S().bottomOuter,children:[(0,o.jsx)("div",{className:d()(S().diagonalBg,{[S().diagonalDoltlab]:!!_})}),(0,o.jsxs)("div",{className:d()(S().bottom,{[S().bottomDoltlab]:!!_}),children:[(0,o.jsx)(a.A,{children:(0,o.jsx)(j,{})}),(0,o.jsx)(l.wi,{doltLabInfo:u})]})]})]})]})})}},15382:(t,e,s)=>{"use strict";function o(t){return t.length<8}function n(t,e){return!!e&&!!t.match(e)}function a(t){return t.toLowerCase()===t}function r(t){return!t.match(/.*[^A-Za-z].*/g)}function i(t,e){let s=!!t&&(o(t)||n(t,e||"")||a(t)||r(t));return{passwordInvalid:s,passwordError:s?"Password invalid":""}}s.d(e,{F6:()=>r,UX:()=>n,qR:()=>i,su:()=>o,y8:()=>a})},39976:(t,e,s)=>{"use strict";s.d(e,{A:()=>n});var o=s(6029);function n(t){var e,s,n;let a=(e=t.path,(s=t.systemTableType)?`/sql-reference/version-control/dolt-system-tables#${"diff"===(n=s)||"history"===n?`dolt_${n}_usdtablename`:`dolt_${n}`}`:e??"");return(0,o.jsx)("a",{className:t.className,href:`https://dolthub.com/docs${a}`,children:t.children})}},44593:(t,e,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/recover-password",function(){return s(64429)}])},61560:t=>{t.exports={passInput:"PasswordInput_passInput__VW0S_",input:"PasswordInput_input__SlF0K",show:"PasswordInput_show__AN2aI",showNoLabel:"PasswordInput_showNoLabel__FBXhq",icon:"PasswordInput_icon__nc5Fx",ex:"PasswordInput_ex__EkZSu",check:"PasswordInput_check__sN_dW",innerTooltip:"PasswordInput_innerTooltip__Stg01",err:"PasswordInput_err__9YUkN"}},64429:(t,e,s)=>{"use strict";s.r(e),s.d(e,{__N_SSP:()=>a,default:()=>r});var o=s(6029),n=s(99516),a=!0;let r=({token:t})=>(0,o.jsx)(n.A,{token:t})},66665:t=>{t.exports={container:"RecoverPasswordPage_container__XwXtr",inner:"RecoverPasswordPage_inner__WxuBI",form:"RecoverPasswordPage_form__e_OQw",button:"RecoverPasswordPage_button__8aExL",icon:"RecoverPasswordPage_icon__QGczQ",err:"RecoverPasswordPage_err__1BVQt"}}
1,66908:t=>{t.exports={container:"GetStartedWithDolt_container__vSVB6",overflowContainer:"GetStartedWithDolt_overflowContainer__23Xre",content:"GetStartedWithDolt_content__H38oi",top:"GetStartedWithDolt_top__qB5Wu",bottom:"GetStartedWithDolt_bottom__G36PZ",bottomButtons:"GetStartedWithDolt_bottomButtons__DGl7M",aura:"GetStartedWithDolt_aura__9xcls",greenAura:"GetStartedWithDolt_greenAura__t2ICS",blueAura:"GetStartedWithDolt_blueAura__ewszM",dataEvolution:"GetStartedWithDolt_dataEvolution__76z6W",titleForDarkBg:"GetStartedWithDolt_titleForDarkBg__WT8IP",textLink:"GetStartedWithDolt_textLink__e0_ML",openSourceText:"GetStartedWithDolt_openSourceText__ZS6ij",githubIcon:"GetStartedWithDolt_githubIcon__tgDNQ",whiteButtonArrowIcon:"GetStartedWithDolt_whiteButtonArrowIcon__YrJrj",installButtonLink:"GetStartedWithDolt_installButtonLink__W3Vkm",installDoltButton:"GetStartedWithDolt_installDoltButton__wwVwo",contributeButton:"GetStartedWithDolt_contributeButton__JHBmP",createAccountButton:"GetStartedWithDolt_createAccountButton__1il9l",buttonArrowIcon:"GetStartedWithDolt_buttonArrowIcon__KjcBf"}},84641:(t,e,s)=>{"use strict";s.d(e,{A:()=>w});var o=s(6029),n=s(69084),a=s(32988),r=s.n(a),i=s(55729),l=s(64437),c=s(88052),d=s(61560),u=s.n(d),_=s(15382);function h(t){return(0,o.jsx)(n.zD,{on:"focus",position:"top center",trigger:t.children,contentStyle:{width:"350px"},children:(0,o.jsxs)("div",{className:u().innerTooltip,children:[(0,o.jsx)("h4",{children:"Password requirements"}),(0,o.jsxs)("ol",{children:[(0,o.jsxs)("li",{children:[(0,o.jsx)(m,{invalid:_.su(t.password)}),"At least 8 characters"]}),(0,o.jsxs)("li",{children:[(0,o.jsx)(m,{invalid:_.y8(t.password)}),"At least one upper case letter"]}),(0,o.jsxs)("li",{children:[(0,o.jsx)(m,{invalid:_.F6(t.password)}),"At least one special character or number"]}),(0,o.jsxs)("li",{children:[(0,o.jsx)(m,{invalid:_.UX(t.password,t.username)}),"Doesn't contain username"]})]})]})})}function m({invalid:t}){return t?(0,o.jsx)(c.WQq,{className:r()(u().icon,u().ex)}):(0,o.jsx)(l.waL,{className:r()(u().icon,u().check)})}function w(t){let[e,s]=(0,i.useState)(""),[a,l]=(0,i.useState)(!1);(0,i.useEffect)(()=>{(""===t.password||""===t.err)&&s("")},[t.password,s,t.err]);let c=(0,o.jsx)("div",{children:(0,o.jsx)(n.ZQ,{label:t.label,value:t.password,onChangeString:e=>{t.setPassword(e),s(t.err)},type:a?"text":"password",placeholder:t.withTooltip?"8 character minimum":"password",className:u().input,hasError:t.invalid,name:"password","data-cy":t["data-cy"],autoComplete:t.autoComplete,blue:t.blue,mobileFriendly:!0})});return(0,o.jsxs)("div",{className:u().passInput,children:[t.withTooltip?(0,o.jsx)(h,{password:t.password,username:t.username||"",children:c}):c,(0,o.jsx)(n.$n.Link,{onClick:()=>l(!a),className:r()(u().show,{[u().showNoLabel]:!t.label}),children:a?"hide":"show"}),!!e&&(0,o.jsx)("div",{className:u().err,children:e})]})}},91533:t=>{t.exports={signedOut:"SignedOutLayout_signedOut__Wl_k3",fullHeight:"SignedOutLayout_fullHeight__EeT40",contentContainer:"SignedOutLayout_contentContainer__enkzS",top:"SignedOutLayout_top__5iNSM",bottomOuter:"SignedOutLayout_bottomOuter__5EoZY",diagonalBg:"SignedOutLayout_diagonalBg__XMwhN",diagonalDoltlab:"SignedOutLayout_diagonalDoltlab__GSn7g",bottom:"SignedOutLayout_bottom__aqYTq",bottomDoltlab:"SignedOutLayout_bottomDoltlab__IUIsy"}},99516:(t,e,s)=>{"use strict";s.d(e,{A:()=>x,R:()=>p});var o=s(6029),n=s(69084),a=s(63331),r=s(28925),i=s(13891),l=s(81759),c=s(81278),d=s(55729),u=s(84641),_=s(15382),h=s(66665),m=s.n(h);function w(t){let e=(0,c.useRouter)(),[s,h]=(0,d.useState)(""),[w,x]=(0,d.useState)(""),{passwordInvalid:j,passwordError:b}=(0,_.qR)(s),{confirmedInvalid:N,confirmedError:v}=p(s,w),g=!s||!w||j||N,{mutateFn:S,err:f,loading:D}=(0,r.A)({hook:a.wKb}),I=async o=>{o.preventDefault();let{success:n}=await S({variables:{token:t.token,newPassword:s}});n&&e.push("/signin?open=signin").catch(console.error)};return(0,o.jsx)(i.A,{children:(0,o.jsx)("div",{className:m().container,"data-cy":"reset-password-page",children:(0,o.jsxs)("div",{className:m().inner,children:[(0,o.jsx)(n.aH,{loaded:!D}),(0,o.jsx)(l.dRt,{className:m().icon}),(0,o.jsx)("h2",{children:"Reset your password"}),(0,o.jsx)("p",{children:"Please enter a new password below."}),(0,o.jsxs)("form",{className:m().form,onSubmit:I,"data-cy":"reset-password-form",children:[(0,o.jsx)(u.A,{err:b,invali
1d:j,password:s,setPassword:h,label:"New Password",withTooltip:!0,autoComplete:"new-password"}),(0,o.jsx)(u.A,{err:v,invalid:N,password:w,setPassword:x,label:"Confirm Password",autoComplete:"new-password"}),(0,o.jsx)(n.$n,{className:m().button,disabled:g,type:"submit",children:"Reset password"}),(0,o.jsx)(n.IW,{err:f,className:m().err})]}),(0,o.jsx)("p",{children:"You will be redirected to the login screen."})]})})})}function x(t){let e=(0,c.useRouter)();return t.token?(0,o.jsx)(w,{token:t.token}):(e.push("/signin?open=recover").catch(console.error),(0,o.jsx)(n.aH,{loaded:!1}))}function p(t,e){let s=!!e&&t!==e;return{confirmedInvalid:s,confirmedError:s?"Passwords do not match":""}}}},t=>{t.O(0,[2203,7560,636,6593,8792],()=>t(t.s=44593)),_N_E=t.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.