import{cd as D,O as j,p as m,aX as H,aL as R,a as x,a3 as M,r as N,s as U,H as z,ak as w,G as W,cP as X,f$ as q,af as G,_ as T,V as P,di as J,w as Q,v as Y,bP as Z,cO as K,J as tt,bs as E,bC as et,gg as nt,b as rt,f as L,k as _,bM as V,aA as b,o as S,h as ot,j as k,l as A,n as at,F as it}from"./index.6748bdd0.js";import{c as I,u as st}from"./index.182020c8.js";import ct from"./SessionTimeoutLogin.24962fe7.js";import{s as lt,g as ut}from"./scrollTo.a9624d8b.js";import"./FullscreenOutlined.74a6e43c.js";import"./index.d691926a.js";import"./useWindowSizeFn.df19d895.js";import"./useContentViewHeight.ae4f0cd5.js";import"./uniqBy.102c2d42.js";import"./_baseIteratee.7cd6d531.js";import"./get.1a92c246.js";import"./index.547e0df9.js";import"./index.2fa844fb.js";import"./useRefs.7023f327.js";import"./PlusOutlined.5683999e.js";import"./RedoOutlined.c36fc200.js";import"./index.252ee80e.js";import"./lock.b3425b0d.js";import"./Login.18967a33.js";import"./LoginForm.c8d5b3e9.js";import"./index.e8c32249.js";import"./index.f01a865f.js";import"./useSize.b37d7c5e.js";import"./LoginFormTitle.2ba3e3f2.js";import"./ForgetPasswordForm.c60559ef.js";import"./index.a160bec3.js";import"./RegisterForm.f3addc5f.js";import"./index.f89b590f.js";import"./Checkbox.5492d77a.js";import"./MobileForm.5ce57274.js";import"./QrCodeForm.29a9fbda.js";import"./index.c9e2eb68.js";import"./download.772cbbf9.js";function pt(e){var t,n=function(s){return function(){t=null,e.apply(void 0,j(s))}},r=function(){if(t==null){for(var s=arguments.length,c=new Array(s),a=0;au}),O=function(){var u=t.target,p=u||B,f=p();g.scrollEvent=K(f,"scroll",function(d){h(d)}),h({target:f})},y=function(){g.scrollEvent&&g.scrollEvent.remove(),h.cancel()};return z(function(){return t.target},function(){y(),w(function(){O()})}),W(function(){w(function(){O()})}),X(function(){w(function(){O()})}),q(function(){y()}),G(function(){y()}),function(){var i,u,p=m("div",{class:"".concat(a.value,"-content")},[m("div",{class:"".concat(a.value,"-icon")},[m(gt,null,null)])]),f=T(T({},o),{},{onClick:F,class:(i={},P(i,"".concat(a.value),!0),P(i,"".concat(o.class),o.class),P(i,"".concat(a.value,"-rtl"),v.value==="rtl"),i)}),d=J("fade");return m(Z,d,{default:function(){return[Q(m("div",T(T({},f),{},{ref:l}),[((u=r.default)===null||u===void 0?void 0:u.call(r))||p]),[[Y,g.visible]])]}})}}}),_t=R(Tt);const bt=x({name:"LayoutFeatures",components:{BackTop:_t,LayoutLockPage:I(()=>E(()=>import("./index.7a600c21.js"),["assets/index.7a600c21.js","assets/index.6748bdd0.js","assets/index.57331be4.css","assets/LockPage.a2b80b9a.js","assets/LockPage.afa0c1ae.css","assets/lock.b3425b0d.js","assets/dateUtil.f672de35.js","assets/header.d801b988.js"])),SettingDrawer:I(()=>E(()=>import("./index.2475a9bc.js").then(function(e){return e.i}),["assets/index.2475a9bc.js","assets/index.afbaf8ef.js","assets/index.5c7227e9.css","assets/index.6748bdd0.js","assets/index.57331be4.css","assets/index.547e0df9.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.260ffe5c.js","assets/index.c9e2eb68.js","assets/index.3a3c1369.css","assets/index.182020c8.js","assets/index.48abc832.css","assets/FullscreenOutlined.74a6e43c.js","assets/index.d691926a.js","assets/index.55076fdd.css","assets/useWindowSizeFn.df19d895.js","assets/useContentViewHeight.ae4f0cd5.js","assets/uniqBy.102c2d42.js","assets/_baseIteratee.7cd6d531.js","assets/get.1a92c246.js","assets/index.2fa844fb.js","assets/index.a2831ae3.css","assets/useRefs.7023f327.js","assets/PlusOutlined.5683999e.js","assets/RedoOutlined.c36fc200.js","assets/index.252ee80e.js","assets/lock.b3425b0d.js"])),SessionTimeoutLogin:ct},setup(){const{getUseOpenBackTop:e,getShowSettingButton:t,getSettingButtonPosition:n,getFullContent:r}=et(),o=nt(),{prefixCls:s}=rt("setting-drawer-feature"),{getShowHeader:c}=st(),a=L(()=>o.getSessionTimeout),v=L(()=>{if(!_(t))return!1;const l=_(n);return l===V.AUTO?!_(c)||_(r):l===V.FIXED});return{getTarget:()=>document.body,getUseOpenBackTop:e,getIsFixedSettingDrawer:v,prefixCls:s,getIsSessionTimeout:a}}});function St(e,t,n,r,o,s){const c=b("LayoutLockPage"),a=b("BackTop"),v=b("SettingDrawer"),l=b("SessionTimeoutLogin");return S(),ot(it,null,[m(c),e.getUseOpenBackTop?(S(),k(a,{key:0,target:e.getTarget},null,8,["target"])):A("",!0),e.getIsFixedSettingDrawer?(S(),k(v,{key:1,class:at(e.prefixCls)},null,8,["class"])):A("",!0),e.getIsSessionTimeout?(S(),k(l,{key:2})):A("",!0)],64)}var ee=tt(bt,[["render",St]]);export{ee as default};