"use strict";(self.webpackChunkm3pyok7m_b63o0v8tu9=self.webpackChunkm3pyok7m_b63o0v8tu9||[]).push([[314],{8809:(e,s,o)=>{o.r(s),o.d(s,{LoginModal:()=>b});var t=o(6141),l=o(2172),n=o(3019),a=o(5832),i=o(1017),c=o(8251),r=o(7160),u=o(6487);const m=["isVisible","handleClose","isMobileFromProps","verticalAlign","className","contentClassName","isOneTapButtonAuthEnabled","trapFocus","restoreFocus"],b=(0,n.memo)((e=>{let{isVisible:s,handleClose:o,isMobileFromProps:n,verticalAlign:b,className:p,contentClassName:d,isOneTapButtonAuthEnabled:C=!0,trapFocus:h,restoreFocus:F}=e,A=(0,l.A)(e,m);const k=Boolean(n),N=b||(k?"bottom":"middle"),g=a.createElement(r.f,(0,t.A)({className:d,isMobile:k,isOneTapButtonAuthEnabled:C,ariaLabel:"Попап авторизации",isBottomView:k,isLoginModalInCenter:!0},A));return k?a.createElement(i.D,{isVisible:s,onClose:o,type:"singleScreen",scroll:"any",curtainClassName:p,anchors:{start:u.o.content,max:u.o.content,middle:null,min:null}},g):a.createElement(c.a,{className:p,visible:s,onClose:o,hasCloseButton:!0,autoFocus:!1,trapFocus:h,restoreFocus:F,contentVerticalAlign:N,keepMounted:!1},g)}))}}]);
//# sourceMappingURL=https://s3-zen.mds.yandex.net/zen-eb/source-maps/prod/dzen-layout/1.52.1/dzen-layout-desktop-login-modal.modern.bundle.js.map