import{cd as D,O as j,p as m,aX as H,aL as R,a as $,a3 as M,r as N,s as U,H as z,ak as w,G as W,cx as X,fV as q,af as G,_ as T,V as k,dg as J,w as Q,v as Y,bP as Z,cM as K,J as tt,bs as E,bC as et,fW as nt,b as rt,f as L,k as _,bM as V,aA as b,o as S,h as ot,j as P,l as A,n as at,F as it}from"./index.447fcd47.js";import{c as x,u as st}from"./index.c5e84787.js";import ct from"./SessionTimeoutLogin.b0fd4efa.js";import{s as lt,g as ut}from"./scrollTo.c71fa1d7.js";import"./FullscreenOutlined.1a2449a1.js";import"./index.23f5b46e.js";import"./useWindowSizeFn.10277ba6.js";import"./useContentViewHeight.cd643d8d.js";import"./uniqBy.8c6ea8ad.js";import"./_baseIteratee.156fdacb.js";import"./get.db2ca295.js";import"./index.b53971bb.js";import"./index.38a5c08f.js";import"./useRefs.bc1e0f8a.js";import"./PlusOutlined.85be7614.js";import"./RedoOutlined.84275451.js";import"./index.cc22d934.js";import"./lock.f98e74c4.js";import"./Login.c186c3cc.js";import"./LoginForm.298f8aa2.js";import"./index.4254314c.js";import"./index.e506f773.js";import"./useSize.0d6f12dd.js";import"./LoginFormTitle.553150b8.js";import"./ForgetPasswordForm.79d64f5e.js";import"./index.2469af39.js";import"./RegisterForm.ee0a9538.js";import"./index.2b369c52.js";import"./Checkbox.fe56bb46.js";import"./MobileForm.87b2867f.js";import"./QrCodeForm.5329d523.js";import"./index.39a016d6.js";import"./download.792e9b9c.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}),y=function(){var u=t.target,p=u||B,f=p();g.scrollEvent=K(f,"scroll",function(d){h(d)}),h({target:f})},O=function(){g.scrollEvent&&g.scrollEvent.remove(),h.cancel()};return z(function(){return t.target},function(){O(),w(function(){y()})}),W(function(){w(function(){y()})}),X(function(){w(function(){y()})}),q(function(){O()}),G(function(){O()}),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={},k(i,"".concat(a.value),!0),k(i,"".concat(o.class),o.class),k(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=$({name:"LayoutFeatures",components:{BackTop:_t,LayoutLockPage:x(()=>E(()=>import("./index.f63d07a1.js"),["assets/index.f63d07a1.js","assets/index.447fcd47.js","assets/index.17ca3528.css","assets/LockPage.c85842c4.js","assets/LockPage.afa0c1ae.css","assets/lock.f98e74c4.js","assets/dateUtil.c5c90170.js","assets/header.d801b988.js"])),SettingDrawer:x(()=>E(()=>import("./index.8ff9e81f.js").then(function(e){return e.i}),["assets/index.8ff9e81f.js","assets/index.48c99b5b.js","assets/index.5c7227e9.css","assets/index.447fcd47.js","assets/index.17ca3528.css","assets/index.b53971bb.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.92b7f9df.js","assets/index.39a016d6.js","assets/index.3a3c1369.css","assets/index.c5e84787.js","assets/index.48abc832.css","assets/FullscreenOutlined.1a2449a1.js","assets/index.23f5b46e.js","assets/index.55076fdd.css","assets/useWindowSizeFn.10277ba6.js","assets/useContentViewHeight.cd643d8d.js","assets/uniqBy.8c6ea8ad.js","assets/_baseIteratee.156fdacb.js","assets/get.db2ca295.js","assets/index.38a5c08f.js","assets/index.a2831ae3.css","assets/useRefs.bc1e0f8a.js","assets/PlusOutlined.85be7614.js","assets/RedoOutlined.84275451.js","assets/index.cc22d934.js","assets/lock.f98e74c4.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(),P(a,{key:0,target:e.getTarget},null,8,["target"])):A("",!0),e.getIsFixedSettingDrawer?(S(),P(v,{key:1,class:at(e.prefixCls)},null,8,["class"])):A("",!0),e.getIsSessionTimeout?(S(),P(l,{key:2})):A("",!0)],64)}var ee=tt(bt,[["render",St]]);export{ee as default};