import{cf as E,R,p as m,aZ as j,aN as H,a as $,a5 as N,s as U,v as M,J as z,am as w,H as q,cR as W,g4 as X,ah as J,_ as T,X as k,dk as Q,w as Z,x as G,bS as Y,cQ as K,q as tt,bu as D,bE as et,gl as nt,b as rt,f as L,k as _,bO as x,aC as b,o as S,h as ot,j as P,l as C,n as at,F as it}from"./index.2cdbaad0.js";import{c as I,u as st}from"./index.22d5e1f1.js";import ct from"./SessionTimeoutLogin.a1a0c58e.js";import{s as lt,g as ut}from"./scrollTo.8be90725.js";import"./FullscreenOutlined.2399646b.js";import"./index.95d3317b.js";import"./useWindowSizeFn.37c64509.js";import"./useContentViewHeight.9010a11c.js";import"./uniqBy.725fa3fa.js";import"./_baseIteratee.08cafe90.js";import"./get.7d647d75.js";import"./index.eadffb1c.js";import"./index.775c28b3.js";import"./useRefs.e6353c4f.js";import"./PlusOutlined.5121905f.js";import"./RedoOutlined.bb7075a0.js";import"./index.958a1a8c.js";import"./lock.3edb9ca2.js";import"./Login.2e08b7b0.js";import"./LoginForm.0e9e51ae.js";import"./md5.e304d3f3.js";import"./index.df6501fa.js";import"./index.a8e4332c.js";import"./useSize.6a81371f.js";import"./LoginFormTitle.47cfecca.js";import"./ForgetPasswordForm.72872a91.js";import"./index.12083f86.js";import"./RegisterForm.dff366da.js";import"./index.0c5172a8.js";import"./Checkbox.c3dcd23d.js";import"./MobileForm.ba91e6e4.js";import"./QrCodeForm.e7a90dc8.js";import"./index.d52f5601.js";import"./download.7790a0b6.js";function pt(e){var t,n=function(s){return function(){t=null,e.apply(void 0,R(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()})}),q(function(){w(function(){y()})}),W(function(){w(function(){y()})}),X(function(){O()}),J(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=Q("fade");return m(Y,d,{default:function(){return[Z(m("div",T(T({},f),{},{ref:l}),[((u=r.default)===null||u===void 0?void 0:u.call(r))||p]),[[G,g.visible]])]}})}}}),_t=H(Tt);const bt=$({name:"LayoutFeatures",components:{BackTop:_t,LayoutLockPage:I(()=>D(()=>import("./index.96e5123c.js"),["assets/index.96e5123c.js","assets/index.2cdbaad0.js","assets/index.f55f825d.css","assets/LockPage.a8513cc2.js","assets/LockPage.afa0c1ae.css","assets/lock.3edb9ca2.js","assets/dateUtil.667ca424.js","assets/header.d801b988.js"])),SettingDrawer:I(()=>D(()=>import("./index.158477fa.js").then(function(e){return e.i}),["assets/index.158477fa.js","assets/index.127e760e.js","assets/index.5c7227e9.css","assets/index.2cdbaad0.js","assets/index.f55f825d.css","assets/index.eadffb1c.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.496f293c.js","assets/index.d52f5601.js","assets/index.3a3c1369.css","assets/index.22d5e1f1.js","assets/index.48abc832.css","assets/FullscreenOutlined.2399646b.js","assets/index.95d3317b.js","assets/index.55076fdd.css","assets/useWindowSizeFn.37c64509.js","assets/useContentViewHeight.9010a11c.js","assets/uniqBy.725fa3fa.js","assets/_baseIteratee.08cafe90.js","assets/get.7d647d75.js","assets/index.775c28b3.js","assets/index.a2831ae3.css","assets/useRefs.e6353c4f.js","assets/PlusOutlined.5121905f.js","assets/RedoOutlined.bb7075a0.js","assets/index.958a1a8c.js","assets/lock.3edb9ca2.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===x.AUTO?!_(c)||_(r):l===x.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"])):C("",!0),e.getIsFixedSettingDrawer?(S(),P(v,{key:1,class:at(e.prefixCls)},null,8,["class"])):C("",!0),e.getIsSessionTimeout?(S(),P(l,{key:2})):C("",!0)],64)}var ne=tt(bt,[["render",St]]);export{ne as default};