1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d563b51d-465b-4053-b32a-a71ff9281cdb",e._sentryDebugIdIdentifier="sentry-dbid-d563b51d-465b-4053-b32a-a71ff9281cdb")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1481],{59347:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/change-password",function(){return r(75541)}])},44006:function(e,t,r){"use strict";var a=r(85893);r(67294);let s=e=>{let{title:t="My Cart"}=e;return(0,a.jsx)("div",{className:"bg-[#FFEB02] p-8 px-10",children:(0,a.jsx)("div",{className:"mx-4",children:(0,a.jsx)("h1",{className:"text-3xl font-bold",children:t})})})};t.Z=s},81614:function(e,t,r){"use strict";var a=r(85893),s=r(36408);let n=e=>{let{color:t,title:r,links:n,active:l,onMenuClicked:i,className:o}=e;return(0,a.jsxs)("div",{className:(0,s.cn)(["hidden p-8 h-full md:block",t||"bg-white",o]),children:[(0,a.jsx)("div",{className:"mb-10 text-xl font-extrabold",children:r}),n.map(e=>{var t;let r=!!(l===e.slug||e.path&&e.path.includes(l));return(0,a.jsx)("div",{className:"table mb-5 font-bold",onClick:()=>i(null!==(t=e.path)&&void 0!==t?t:"/account/?page="+e.slug),children:(0,a.jsx)("span",{className:"".concat(r?"text-black":"text-gray-600"," hover:cursor-pointer hover:text-black"),children:e.label})},e.slug)})]})};t.Z=n},87816:function(e,t,r){"use strict";var a=r(85893),s=r(67294),n=r(81373);let l=e=>{let{links:t,active:r,onMenuClicked:l}=e,i=(0,s.useRef)(),{events:o}=(0,n.O)(i);return(0,a.jsx)("div",{className:"flex justify-start pt-3 overflow-auto md:hidden whitespace-nowrap scrollbar-hide",...o,ref:i,children:t.map((e,t)=>{var s;let n=!(r!==e.slug);return(0,a.jsxs)("div",{className:"inline-block",children:[(0,a.jsx)("div",{className:"".concat(n?"text-black":"text-gray-500"," px-3 hover:text-black hover:cursor-pointer "),onClick:()=>l(null!==(s=e.path)&&void 0!==s?s:"/account/?page="+e.slug),children:e.label}),n?(0,a.jsx)("div",{className:"h-[3px] bg-black mt-1"}):null]},e.slug)})})};t.Z=l},13564:function(e,t,r){"use strict";var a=r(85893);let s=e=>{let{children:t,className:r,isHeader:s=!1}=e,n="relative md:container md:mx-auto ".concat(s?"py-3":"py-10"," px-3 md:px-5"),l=r&&r.length>0,i=l?n.concat(" ".concat(r)):n;return(0,a.jsx)("div",{className:i,children:t})};t.Z=s},74670:function(e,t,r){"use strict";var a=r(85893),s=r(90675);let n=e=>(0,a.jsx)("div",{className:"relative",children:(0,a.jsx)(s.Z,{...e})});t.Z=n},75541:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return b},default:function(){return y}});var a=r(85893),s=r(11163),n=r(44006),l=r(81614),i=r(87816),o=r(13564),c=r(67294),d=r(48075),u=r(74670),h=r(11871),m=r(97533),p=r(39802),f=r(97719);let w=()=>{let e=(0,s.useRouter)(),t=(0,p.$)(),[r,n]=(0,c.useState)(""),[l,i]=(0,c.useState)(""),[o,w]=(0,c.useState)(""),[g,v]=(0,c.useState)(""),[b,y]=(0,c.useState)(""),[x,C]=(0,c.useState)(!1),{hasMinimumLength:N,hasNumber:E,hasLowercase:S,isValid:M}=(0,m.uo)(l),j=f.SX.users.auth.changePasswordAuthenticated.useMutation(),L=o.length>0&&l!==o,T=l.length>0&&r===l,k=!!(r&&l&&o&&M&&!T&&l===o&&!x),P=e=>e?"text-baby-teal-900":"text-baby-red-900",I=e=>e?"â":"â",F=async()=>{try{await d.g.signOut()}catch(e){}finally{await e.push("/sign-in")}},D=async()=>{if(k){v(""),y(""),C(!0);try{let e=await j.mutateAsync({currentPassword:r,newPassword:l});if(e){n(""),i(""),w(""),t.showAlert("Password changed successfully. Please sign in again.","success"),await F();return}throw Error("unknownError")}catch(a){let e=a instanceof Error?a.message:"unknownError",r=e.toLowerCase();switch(e){default:if(r.includes("new password must be different from current password")){let e="New password must be different from current password.";y(e),t.showAlert(e,"error");break}if(r.includes("current password is incorrect")){v("Current password is incorrect"),t.showAlert("Current password is incorrect","error");break}if(r.includes("password attempts exceeded")||r.includes("attempts exceeded")){let e="You've reached the password attempt limit. Please try again later.";y(e),t.showAlert(e,"error");break}if(r.includes("invalid session token")||r.includes("unauthorized")){t.showAlert("Your session has expired. Please sign in again.","error"),await F();break}if("unknownError"===e){y("Failed to change password. Please try again."),t.showAlert("Failed to change password. Please try again.","error");break}y(e||"Failed to change password. Please try again."),t.showAlert(e||"Failed to change password. Please try again.","error")}}finally{C(!1)}}},O=e=>{"Enter"===e.key&&k&&(e.preventDefault(),D())};return(0,a.jsx)("div",{className:"max-w-xl",onKeyDown:O,children:(0,a.jsxs)("div",{className:"mt-8",children:[(0,a.jsx)(u.Z,{label:"CURRENT PASSWORD",value:r,autoComplete:"current-password",autoCorrect:"false",onChange:e=>{v(""),y(""),n(e.target.value)},hasError:!!g,errorMessage:g,isRequired:!0}),(0,a.jsx)("div",{className:"my-8"}),(0,a.jsx)(u.Z,{label:"NEW PASSWORD",value:l,autoComplete:"new-password",autoCorrect:"false",onChange:e=>{y(""),i(e.target.value)},hasError:T,errorMessage:"New password must be different from current password.",isRequired:!0}),(0,a.jsx)("div",{className:"my-2"}),l.length<1?null:(0,a.jsxs)("div",{className:"text-xs text-gray-500",children:[(0,a.jsx)("div",{children:"For security reason, passwords are required to meet these requirements:"}),(0,a.jsx)("div",{className:"mt-2"}),(0,a.jsxs)("div",{className:l.length>0?P(N):"",children:[I(N)," Contain at least 8 characters"]}),(0,a.jsxs)("div",{className:l.length>0?P(E):"",children:[I(E)," Contain at least 1 number"]}),(0,a.jsxs)("div",{className:l.length>0?P(S):"",children:[I(S)," Contain at least 1 lowercase letter"]})]}),(0,a.jsx)("div",{className:"my-8"}),(0,a.jsx)(u.Z,{label:"CONFIRM NEW PASSWORD",value:o,autoComplete:"new-password",autoCorrect:"false",onChange:e=>{y(""),w(e.target.value)},hasError:L,errorMessage:"Password and Confirm Password does not match",isRequired:!0}),!!b&&(0,a.jsx)("div",{className:"mt-4 text-sm text-baby-red-900",children:b}),(0,a.jsx)("div",{className:"mt-10 flex justify-center md:block",children:(0,a.jsx)(h.default,{label:"Change Password",color:"yellow",onClick:D,disabled:!k,isLoading:x})})]})})};var g=r(21508);let v=()=>{let e=(0,s.useRouter)(),{userLinks:t}=(0,g.d)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.Z,{title:"Change Password"}),(0,a.jsx)("div",{className:"flex flex-col min-h-screen",children:(0,a.jsxs)("div",{className:"flex flex-1",children:[(0,a.jsx)("div",{className:"hidden bg-white shadow-sm md:w-64 lg:w-72 xl:w-96 md:block",children:(0,a.jsx)(l.Z,{title:"Manage My Account",links:t,active:"settings",onMenuClicked:t=>{e.push(t)},className:"p-8"})}),(0,a.jsx)("div",{className:"w-full bg-gray-100",children:(0,a.jsxs)(o.Z,{children:[(0,a.jsx)(i.Z,{links:t,active:"settings",onMenuClicked:t=>{e.push(t)}}),(0,a.jsxs)("div",{className:"mb-5",children:[(0,a.jsx)("div",{className:"text-lg font-bold text-center md:text-left",children:"Change Password"}),(0,a.jsx)("div",{className:"mt-3 text-sm text-center text-gray-600 md:text-left",children:"Update your password for this account. You need your current password to continue."})]}),(0,a.jsx)(w,{})]})})]})})]})};var b=!0,y=v},81373:function(e,t,r){"use strict";r.d(t,{O:function(){return n}});var a=r(67294),s="undefined"!=typeof window?a.useLayoutEffect:a.useEffect;function n(e,t){var r,n,l,i,o,c,d,u=void 0===t?{}:t,h=u.decayRate,m=void 0===h?.95:h,p=u.safeDisplacement,f=void 0===p?10:p,w=u.applyRubberBandEffect,g=void 0!==w&&w,v=u.activeMouseButton,b=void 0===v?"Left":v,y=u.isMounted,x=void 0===y||y,C=(0,a.useRef)({isMouseDown:!1,isDraggingX:!1,isDraggingY:!1,initialMouseX:0,initialMouseY:0,lastMouseX:0,lastMouseY:0,scrollSpeedX:0,scrollSpeedY:0,lastScrollX:0,lastScrollY:0}),N=!1,E=!1,S=0,M=0,j=1/60*1e3;s(function(){x&&(N="scroll"===window.getComputedStyle(e.current).overflowX,E="scroll"===window.getComputedStyle(e.current).overflowY,S=e.current.scrollWidth-e.current.clientWidth,M=e.current.scrollHeight-e.current.clientHeight,r=window.getComputedStyle(e.current).cursor,n=[],l=[],i=[],e.current.childNodes.forEac
1h(function(e){n.push(window.getComputedStyle(e).cursor),l.push("none"===window.getComputedStyle(e).transform?"":window.getComputedStyle(e).transform),i.push("none"===window.getComputedStyle(e).transition?"":window.getComputedStyle(e).transition)}))},[x]);var L=function(){var t=C.current.scrollSpeedX*j,r=C.current.scrollSpeedY*j,a=e.current.scrollLeft+t,s=e.current.scrollTop+r;e.current.scrollLeft=a,e.current.scrollTop=s,C.current.lastScrollX=a,C.current.lastScrollY=s},T=function(t){var r=t.clientX-C.current.initialMouseX,a=t.clientY-C.current.initialMouseY,s=e.current,n=s.clientWidth,l=s.clientHeight,i=0,o=0;N&&E?(i=.3*n*Math.sign(r)*Math.log10(1+.5*Math.abs(r)/n),o=.3*l*Math.sign(a)*Math.log10(1+.5*Math.abs(a)/l)):N?i=.3*n*Math.sign(r)*Math.log10(1+.5*Math.abs(r)/n):E&&(o=.3*l*Math.sign(a)*Math.log10(1+.5*Math.abs(a)/l)),e.current.childNodes.forEach(function(e){e.style.transform="translate3d("+i+"px, "+o+"px, 0px)",e.style.transition="transform 0ms"})},k=function(){e.current.childNodes.forEach(function(e,t){e.style.transform=l[t],e.style.transition=i[t]})},P=function(){c=setInterval(function(){var t=C.current.scrollSpeedX*m;C.current.scrollSpeedX=t;var r=e.current.scrollLeft<=0,a=e.current.scrollLeft>=S;L(),(.05>Math.abs(t)||C.current.isMouseDown||r||a)&&(C.current.scrollSpeedX=0,clearInterval(c))},j),d=setInterval(function(){var t=C.current.scrollSpeedY*m;C.current.scrollSpeedY=t;var r=e.current.scrollTop<=0,a=e.current.scrollTop>=M;L(),(.05>Math.abs(t)||C.current.isMouseDown||r||a)&&(C.current.scrollSpeedY=0,clearInterval(d))},j),C.current.isDraggingX=!1,C.current.isDraggingY=!1,g&&(e.current.childNodes.forEach(function(e){e.style.transform="translate3d(0px, 0px, 0px)",e.style.transition="transform 250ms"}),o=setTimeout(k,250))},I=function(e){e.preventDefault(),e.stopImmediatePropagation()},F=function(t){var a=C.current.isDraggingX||C.current.isDraggingY,s=C.current.initialMouseX-t.clientX,l=C.current.initialMouseY-t.clientY,i=a&&(Math.abs(s)>f||Math.abs(l)>f);i?e.current.childNodes.forEach(function(e){e.addEventListener("click",I)}):e.current.childNodes.forEach(function(e){e.removeEventListener("click",I)}),C.current.isMouseDown=!1,C.current.lastMouseX=0,C.current.lastMouseY=0,e.current.style.cursor=r,e.current.childNodes.forEach(function(e,t){e.style.cursor=n[t]}),i&&P()},D=function(t){if(C.current.isMouseDown){t.preventDefault();var r=C.current.lastMouseX-t.clientX;C.current.lastMouseX=t.clientX,C.current.scrollSpeedX=r/j,C.current.isDraggingX=!0;var a=C.current.lastMouseY-t.clientY;C.current.lastMouseY=t.clientY,C.current.scrollSpeedY=a/j,C.current.isDraggingY=!0,e.current.style.cursor="grabbing",e.current.childNodes.forEach(function(e){e.style.cursor="grabbing"});var s=e.current.scrollLeft<=0&&N,n=e.current.scrollLeft>=S&&N,l=e.current.scrollTop<=0&&E,i=e.current.scrollTop>=M&&E;(s||n||l||i)&&g&&T(t),L()}},O=function(){S=e.current.scrollWidth-e.current.clientWidth,M=e.current.scrollHeight-e.current.clientHeight};return(0,a.useEffect)(function(){return x&&(window.addEventListener("mouseup",F),window.addEventListener("mousemove",D),window.addEventListener("resize",O)),function(){window.removeEventListener("mouseup",F),window.removeEventListener("mousemove",D),window.removeEventListener("resize",O),clearInterval(c),clearInterval(d),clearTimeout(o)}},[x]),{events:{onMouseDown:function(e){var t;t=e.buttons,("Left"===b&&1===t||"Middle"===b&&4===t||"Right"===b&&2===t)&&(C.current.isMouseDown=!0,C.current.lastMouseX=e.clientX,C.current.lastMouseY=e.clientY,C.current.initialMouseX=e.clientX,C.current.initialMouseY=e.clientY)}}}}},85723:function(e,t,r){"use strict";r.d(t,{z:function(){return h}});var a=r(45010),s=r(14524),n=r(67294),l=r(47297),i=r(98013),o=r(46657),c=r(10008);let d=84*Math.PI,u=n.forwardRef((e,t)=>{var{className:r,filledColor:o,emptyColor:u,size:h,variation:m,isDeterminate:p=!1,isPercentageTextHidden:f=!1,percentage:w=0}=e,g=(0,a._T)(e,["className","filledColor","emptyColor","size","variation","isDeterminate","isPercentageTextHidden","percentage"]);w=Math.min(w,100);let v=`${w=Math.max(w,0)}%`,b=s(i.h9.Loader,(0,l.wq)(i.h9.Loader,h),(0,l.wq)(i.h9.Loader,m),p?i.h9.LoaderDeterminate:null,r),y=n.createElement("g",null,n.createElement("line",{x1:"0",x2:"100%",y1:"50%",y2:"50%",style:{stroke:String(u)},"data-testid":"linear-empty"}),n.createElement("line",{x1:"0",x2:p?v:"100%",y1:"50%",y2:"50%",style:{stroke:p&&0===w?"none":o?String(o):void 0},"data-testid":"linear-filled"}),p?n.createElement("text",{"aria-live":"polite",className:s(i.h9.LoaderPercentageText,f?i.h9.VisuallyHidden:null),x:`${-1+w}%`,y:"200%"},v):null),x=n.createElement("g",null,n.createElement("circle",{cx:"50%",cy:"50%",r:"42%",strokeWidth:"8%",style:{stroke:String(u)},"data-testid":"circular-empty"}),n.createElement("circle",{cx:"50%",cy:"50%",r:"42%",strokeWidth:"8%",style:{stroke:String(o),strokeDasharray:p?`${d}% ${d}%`:void 0,strokeDashoffset:p?d-d*w/100+"%":void 0},"data-testid":"circular-filled"}),p?n.createElement("text",{"aria-live":"polite",className:s(i.h9.LoaderPercentageText,f?i.h9.VisuallyHidden:null),x:"130%",y:"80%"},v):null);return n.createElement(c.G,Object.assign({as:"svg",className:b,"data-size":h,"data-variation":m,ref:t,role:"img"},g),"linear"===m?y:x)});u.displayName="Loader";let h=n.forwardRef((e,t)=>
1{var r,{className:d,children:h,isFullWidth:m=!1,isDisabled:p,isLoading:f,loadingText:w="",size:g,type:v="button",variation:b}=e,y=(0,a._T)(e,["className","children","isFullWidth","isDisabled","isLoading","loadingText","size","type","variation"]);let x=s(i.h9.Button,i.h9.FieldGroupControl,(0,l.wq)(i.h9.Button,b),(0,l.wq)(i.h9.Button,g),(0,l.T2)(i.h9.Button,"disabled",null!==(r=null!=p?p:f)&&void 0!==r?r:y.disabled),(0,l.T2)(i.h9.Button,"loading",f),(0,l.T2)(i.h9.Button,"fullwidth",m),d);return n.createElement(c.G,Object.assign({ref:t,as:"button",className:x,"data-fullwidth":m,"data-loading":f,"data-size":g,"data-variation":b,isDisabled:null!=p?p:f,type:v},y),f?n.createElement(o.k,{as:"span",className:i.h9.ButtonLoaderWrapper},n.createElement(u,{size:g}),w||null):h)});h.displayName="Button"},30306:function(e,t,r){"use strict";r.d(t,{D:function(){return o}});var a=r(45010),s=r(67294),n=r(14524),l=r(86210),i=r(98013);let o=e=>{var{descriptiveText:t,labelHidden:r}=e,o=(0,a._T)(e,["descriptiveText","labelHidden"]);return t?s.createElement(l.x,Object.assign({"data-testid":"qa-field-description",className:n(i.h9.FieldDescription,{[i.h9.VisuallyHidden]:r})},o),t):null};o.displayName="FieldDescription"},10584:function(e,t,r){"use strict";r.d(t,{d:function(){return i}});var a=r(45010),s=r(67294),n=r(86210),l=r(98013);let i=e=>{var{errorMessage:t,hasError:r}=e,i=(0,a._T)(e,["errorMessage","hasError"]);return r&&t?s.createElement(n.x,Object.assign({className:l.h9.FieldErrorMessage},i),t):null};i.displayName="FieldErrorMessage"},44296:function(e,t,r){"use strict";r.d(t,{I:function(){return c}});var a=r(45010),s=r(67294),n=r(14524),l=r(47297),i=r(98013),o=r(10008);let c=s.forwardRef((e,t)=>{var{autoComplete:r,checked:c,className:d,defaultChecked:u,defaultValue:h,id:m,isDisabled:p,isReadOnly:f,isRequired:w,size:g,type:v="text",hasError:b=!1,value:y,variation:x,onBlur:C,onChange:N,onCopy:E,onCut:S,onFocus:M,onInput:j,onPaste:L,onSelect:T,onWheel:k}=e,P=(0,a._T)(e,["autoComplete","checked","className","defaultChecked","defaultValue","id","isDisabled","isReadOnly","isRequired","size","type","hasError","value","variation","onBlur","onChange","onCopy","onCut","onFocus","onInput","onPaste","onSelect","onWheel"]);let I=n(i.h9.Input,i.h9.FieldGroupControl,(0,l.wq)(i.h9.Input,x),(0,l.T2)(i.h9.Input,"error",b),(0,l.wq)(i.h9.Input,g),d);return s.createElement(o.G,Object.assign({"aria-invalid":b,as:"input",autoComplete:r,checked:c,className:I,"data-size":g,"data-variation":x,defaultChecked:u,defaultValue:h,isDisabled:p,id:m,onBlur:C,onChange:N,onCopy:E,onCut:S,onFocus:M,onInput:j,onPaste:L,onSelect:T,onWheel:k,readOnly:f,ref:t,required:w,type:v,value:y},P))});c.displayName="Input"},31517:function(e,t,r){"use strict";r.d(t,{_:function(){return o}});var a=r(45010),s=r(67294),n=r(14524),l=r(98013),i=r(10008);let o=s.forwardRef((e,t)=>{var{children:r,className:o,visuallyHidden:c}=e,d=(0,a._T)(e,["children","className","visuallyHidden"]);return s.createElement(i.G,Object.assign({as:"label",className:n(l.h9.Label,o,{[l.h9.VisuallyHidden]:c}),ref:t},d),r)});o.displayName="Label"},90675:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var a=r(45010),s=r(14524),n=r(67294),l=r(98013),i=r(85723),o=r(41593),c=r(10008);let d=e=>{let{className:t}=e,r=(0,a._T)(e,["className"]);return n.createElement(c.G,Object.assign({as:"span",width:"1em",height:"1em",className:s(l.h9.Icon,t)},r),n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M12 6.0002C15.79 6.0002 19.17 8.1302 20.82 11.5002C20.23 12.7202 19.4 13.7702 18.41 14.6202L19.82 16.0302C21.21 14.8002 22.31 13.2602 23 11.5002C21.27 7.1102 17 4.0002 12 4.0002C10.73 4.0002 9.51 4.2002 8.36 4.5702L10.01 6.2202C10.66 6.0902 11.32 6.0002 12 6.0002ZM10.93 7.14019L13 9.2102C13.57 9.4602 14.03 9.9202 14.28 10.4902L16.35 12.5602C16.43 12.2202 16.49 11.8602 16.49 11.4902C16.5 9.0102 14.48 7.0002 12 7.0002C11.63 7.0002 11.28 7.05019 10.93 7.14019ZM2.01 3.8702L4.69 6.5502C3.06 7.8302 1.77 9.5302 1 11.5002C2.73 15.8902 7 19.0002 12 19.0002C13.52 19.0002 14.98 18.7102 16.32 18.1802L19.74 21.6002L21.15 20.1902L3.42 2.4502L2.01 3.8702ZM9.51 11.3702L12.12 13.9802C12.08 13.9902 12.04 14.0002 12 14.0002C10.62 14.0002 9.5 12.8802 9.5 11.5002C9.5 11.4502 9.51 11.4202 9.51 11.3702V11.3702ZM6.11 7.97019L7.86 9.7202C7.63 10.2702 7.5 10.8702 7.5 11.5002C7.5 13.9802 9.52 16.0002 12 16.0002C12.63 16.0002 13.23 15.8702 13.77 15.6402L14.75 16.6202C13.87 16.8602 12.95 17.0002 12 17.0002C8.21 17.0002 4.83 14.8702 3.18 11.5002C3.88 10.0702 4.9 8.89019 6.11 7.97019Z",fill:"currentColor"})))},u=e=>{let{className:t}=e,r=(0,a._T)(e,["className"]);return n.createElement(c.G,Object.assign({as:"span",width:"1em",height:"1em",className:s(l.h9.Icon,t)},r),n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M12 6C15.79 6 19.17 8.13 20.82 11.5C19.17 14.87 15.79 17 12 17C8.21 17 4.83 14.87 3.18 11.5C4.83 8.13 8.21 6 12 6ZM12 4C7 4 2.73 7.11 1 11.5C2.73 15.89 7 19 12 19C17 19 21.27 15.89 23 11.5C21.27 7.11 17 4 12 4ZM12 9C13.38 9 14.5 10.12 14.5 11.5C14.5 12.88 13.38 14 12 14C10.62 14 9.5 12.88 9.5 11.5C9.5 10.12 10.62 9 12 9ZM12 7C9.52 7 7.5 9.02 7.5 11.5C7.5 13.98 9.52 16 12 16C14.48 16 16.5 13.98 16.5 11.5C16.5 9.02 14.48 7 12 7Z",fill:"currentColor"})))},{passwordIsHidden:h,passwordIsShown:m,showPassword:p}=l.b9.PasswordField,f=n.forwardRef((e,t)=>
1{var{fieldType:r,passwordIsHiddenLabel:s=h,passwordIsShownLabel:c=m,showPasswordButtonLabel:f=p,size:w}=e,g=(0,a._T)(e,["fieldType","passwordIsHiddenLabel","passwordIsShownLabel","showPasswordButtonLabel","size"]);return n.createElement(i.z,Object.assign({"aria-checked":"password"!==r,ariaLabel:f,className:l.h9.FieldShowPassword,ref:t,role:"switch",size:w},g),n.createElement(o.T,{"aria-live":"polite"},"password"===r?s:c),"password"===r?n.createElement(u,{size:w}):n.createElement(d,{size:w}))});f.displayName="ShowPasswordButton";var w=r(70210);let g=n.forwardRef((e,t)=>{var{autoComplete:r="current-password",label:i,className:o,hideShowPassword:c=!1,passwordIsHiddenLabel:d,passwordIsShownLabel:u,showPasswordButtonLabel:h,showPasswordButtonRef:m,size:p}=e,g=(0,a._T)(e,["autoComplete","label","className","hideShowPassword","passwordIsHiddenLabel","passwordIsShownLabel","showPasswordButtonLabel","showPasswordButtonRef","size"]);let[v,b]=n.useState("password"),y=n.useCallback(()=>{b("password"===v?"text":"password")},[b,v]);return n.createElement(w.n,Object.assign({autoComplete:r,outerEndComponent:c?null:n.createElement(f,{fieldType:v,onClick:y,passwordIsHiddenLabel:d,passwordIsShownLabel:u,ref:m,size:p,showPasswordButtonLabel:h}),size:p,type:v,label:i,className:s(l.h9.PasswordField,o),ref:t},g))});g.displayName="PasswordField"},86210:function(e,t,r){"use strict";r.d(t,{x:function(){return c}});var a=r(45010),s=r(67294),n=r(14524),l=r(47297),i=r(98013),o=r(10008);let c=s.forwardRef((e,t)=>{var{as:r="p",className:c,children:d,isTruncated:u,variation:h}=e,m=(0,a._T)(e,["as","className","children","isTruncated","variation"]);let p=n(i.h9.Text,(0,l.wq)(i.h9.Text,h),(0,l.T2)(i.h9.Text,"truncated",u),c);return s.createElement(o.G,Object.assign({as:r,className:p,"data-truncate":u,"data-variation":h,ref:t},m),d)});c.displayName="Text"},70210:function(e,t,r){"use strict";r.d(t,{n:function(){return g}});var a=r(45010),s=r(67294),n=r(14524),l=r(47297),i=r(98013),o=r(30306),c=r(10584),d=r(46657),u=r(10008);let h=s.forwardRef((e,t)=>{var{children:r,className:o,innerEndComponent:c,innerStartComponent:h,orientation:m="horizontal",outerEndComponent:p,outerStartComponent:f,variation:w}=e,g=(0,a._T)(e,["children","className","innerEndComponent","innerStartComponent","orientation","outerEndComponent","outerStartComponent","variation"]);let v=null!=h?i.h9.FieldGroupHasInnerStart:null,b=null!=c?i.h9.FieldGroupHasInnerEnd:null,y=n(i.h9.FieldGroup,v,b,(0,l.wq)(i.h9.FieldGroup,m),o);return s.createElement(d.k,Object.assign({className:y,"data-orientation":m,ref:t},g),f&&s.createElement(u.G,{className:n(i.h9.FieldGroupOuterStart,(0,l.wq)(i.h9.FieldGroupOuterStart,w))},f),s.createElement(u.G,{className:n(i.h9.FieldGroupFieldWrapper,(0,l.wq)(i.h9.FieldGroupFieldWrapper,m)),"data-orientation":m},h&&s.createElement(u.G,{className:i.h9.FieldGroupInnerStart},h),r,c&&s.createElement(u.G,{className:i.h9.FieldGroupInnerEnd},c)),p&&s.createElement(u.G,{className:n(i.h9.FieldGroupOuterEnd,(0,l.wq)(i.h9.FieldGroupOuterEnd,w))},p))});h.displayName="FieldGroup";var m=r(44296),p=r(31517),f=r(59266),w=r(93170);let g=s.forwardRef((e,t)=>{let{className:r,descriptiveText:u,errorMessage:g,hasError:v=!1,id:b,innerEndComponent:y,innerStartComponent:x,label:C,labelHidden:N=!1,outerEndComponent:E,outerStartComponent:S,size:M,testId:j,variation:L,inputStyles:T}=e,k=(0,a._T)(e,["className","descriptiveText","errorMessage","hasError","id","innerEndComponent","innerStartComponent","label","labelHidden","outerEndComponent","outerStartComponent","size","testId","variation","inputStyles"]),P=(0,w.A)(b),I=(0,w.A)(),{styleProps:F,rest:D}=(0,f.d)(k);return s.createElement(d.k,Object.assign({className:n(i.h9.Field,(0,l.wq)(i.h9.Field,M),i.h9.TextField,r),"data-size":M,testId:j},F),s.createElement(p._,{htmlFor:P,visuallyHidden:N},C),s.createElement(o.D,{id:I,labelHidden:N,descriptiveText:u}),s.createElement(h,{outerStartComponent:S,outerEndComponent:E,innerStartComponent:x,innerEndComponent:y,variation:L},s.createElement(m.I,Object.assign({"aria-describedby":u?I:void 0,hasError:v,id:P,ref:t,size:M,variation:L},T,D))),s.createElement(c.d,{hasError:v,errorMessage:g}))});g.displayName="TextField"},41593:function(e,t,r){"use strict";r.d(t,{T:function(){return o}});var a=r(45010),s=r(67294),n=r(14524),l=r(98013),i=r(10008);let o=s.forwardRef((e,t)=>
1{var{as:r="span",children:o,className:c}=e,d=(0,a._T)(e,["as","children","className"]);return s.createElement(i.G,Object.assign({as:r,className:n(l.h9.VisuallyHidden,c),ref:t},d),o)});o.displayName="VisuallyHidden"},59266:function(e,t,r){"use strict";r.d(t,{d:function(){return s}});var a=r(71793);let s=e=>{let t={styleProps:{},rest:{}};return Object.keys(e).forEach(r=>{r in a.Q?t.styleProps=Object.assign(Object.assign({},t.styleProps),{[r]:e[r]}):t.rest=Object.assign(Object.assign({},t.rest),{[r]:e[r]})}),t}},93170:function(e,t,r){"use strict";r.d(t,{A:function(){return o}});var a=r(67294),s=r.t(a,2);let n=(null==globalThis?void 0:globalThis.document)?a.useLayoutEffect:()=>{},l=s["useId".toString()]||(()=>{}),i=0,o=e=>{let[t,r]=a.useState(l());return n(()=>{e||r(e=>null!=e?e:String(i++))},[e]),null!=e?e:t?`amplify-id-${t}`:""}}},function(e){e.O(0,[6657,9774,2888,179],function(){return e(e.s=59347)}),_N_E=e.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.