"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[96],{501(e,t,o){o.d(t,["a",0,{loginFormContainer:"mGmAcGF8"}])},11(e,t,o){o.d(t,["a",0,{modalOverlay:"pKklj6A7",modalOverlayHidden:"FbGOep4Z",modalBackground:"srpRGD58",modal:"L76vEo7G",fitContent:"dC1D3FxI",closeBtn:"E2U6v0rP",closeIconSVG:"SMOJf3ND",modalImage:"v3EoYlrW",sizeGuidePage:"tZxZJ5xu",modalOverlayBottomSheet:"aTeBB3HC",modalBottomSheet:"rRLnrN0A __bite_extend __bite_theme_modalBottomSheet",slideUp:"woWeB2Ks",fadeIn:"rXVUk9Yk",large:"shRTi3NB",closing:"oitbq3f8",slideDown:"GC4NNj4H",fadeOut:"jtefEfQd",bottomSheetHeader:"pfc5sVVL",bottomSheetTitle:"WYgR_YWU",bottomSheetCloseBtn:"Ti_CbCl8",bottomSheetCloseBtnFloating:"PDrsEZxz",bottomSheetContent:"VI6yo2BU"}])},339(e,t,o){var n=o(340),a=o(342);(0,o(2).createEntrypoint)("login_modal",n.a,a.a)},343(e,t,o){var n=o(23);const a=(0,n.b)({state:(0,n.c)(),namespace:"auth",version:"0.1.0",selectors:{isOpen:e=>{var t;return null!==(t=null==e?void 0:e.isOpen)&&void 0!==t&&t},returnTo:e=>null==e?void 0:e.returnTo},actions:{open:(0,n.a)(),close:(0,n.a)()}});o.d(t,["a",0,a])},341(e,t,o){o.d(t,{a:()=>l});var n=o(0),a=o(44),r=o(119),s=o(501);function l({isOpen:e,onClose:t,loginOnly:o=!0,returnTo:l}){return(0,n.jsx)(a.a,{isOpen:e,onClose:t,title:"Sign in",children:(0,n.jsx)("div",{class:s.a.loginFormContainer,children:(0,n.jsx)(r.a,{loginOnly:o,returnTo:l})})})}},340(e,t,o){o.d(t,{a:()=>l});var n=o(0),a=o(1),r=o(341),s=o(4);function l({apps:e}){const t=e.auth.isOpen.value,o=e.auth.returnTo.value,l=(0,s.d)((e=>e.setLoginActions)),i=(0,a.a)((({returnTo:t}={})=>e.auth.open({returnTo:t})),[e.auth]),u=(0,a.a)((()=>e.auth.close()),[e.auth]);return(0,a.c)((()=>{l({open:i,close:u})}),[i,u,l]),(0,n.jsx)(r.a,{isOpen:t,onClose:u,returnTo:o})}},342(e,t,o){const n=[o(343).a];o.d(t,["a",0,n])},65(e,t,o){function n(e){if(!e||"string"!=typeof e)return!1;if(!/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]{1,63}@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z]{2,63})+$/.test(e))return!1;const[t,o]=e.split("@");return!(!t||!o||o.length>255)}function a(e){return"string"==typeof e&&e.length>=8&&/[a-z]/.test(e)&&/[A-Z]/.test(e)&&/\d/.test(e)}o.d(t,{a:()=>a,b:()=>n})}},e=>{e.O(0,[37,47,1,2,3,4,5,6,7,15,16],(()=>e(e.s=339))),e.O()}]);