import{cf as C,T as j,p as m,a$ as R,aP as H,a as x,a7 as N,v as U,w as z,L as M,ao as w,K as q,cR as W,g4 as Q,aj as X,_ as T,Z as k,dk as Z,y as G,z as J,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 I,aE as b,o as S,h as ot,j as P,l as E,n as at,F as it}from"./index.d39002cd.js";import{c as V,u as st}from"./index.84c3dcb2.js";import ct from"./SessionTimeoutLogin.71ade032.js";import{s as lt,g as ut}from"./scrollTo.e659753f.js";import"./FullscreenOutlined.c9237a1e.js";import"./index.1d513f67.js";import"./useWindowSizeFn.b01bfa18.js";import"./useContentViewHeight.c16bb11a.js";import"./uniqBy.948a872c.js";import"./_baseIteratee.7084243b.js";import"./get.bf2aa0fe.js";import"./index.f4d17beb.js";import"./index.15c1ccfb.js";import"./useRefs.88f4372b.js";import"./PlusOutlined.6d8b56de.js";import"./RedoOutlined.89d86ff0.js";import"./index.c0ba52d9.js";import"./lock.174a315a.js";import"./Login.60cdcc99.js";import"./LoginForm.b4300eda.js";import"./md5.ff9309fc.js";import"./index.1d30c971.js";import"./index.22ab5e63.js";import"./useSize.d6417580.js";import"./LoginFormTitle.d8b9d39f.js";import"./ForgetPasswordForm.920e2be1.js";import"./index.52a2dbb2.js";import"./RegisterForm.633b4f59.js";import"./index.62d78962.js";import"./Checkbox.5d03fb9c.js";import"./MobileForm.4632944d.js";import"./QrCodeForm.77fd8efe.js";import"./index.a65cfc0e.js";import"./download.9c8781e1.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 M(function(){return t.target},function(){O(),w(function(){y()})}),q(function(){w(function(){y()})}),W(function(){w(function(){y()})}),Q(function(){O()}),X(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=Z("fade");return m(Y,d,{default:function(){return[G(m("div",T(T({},f),{},{ref:l}),[((u=r.default)===null||u===void 0?void 0:u.call(r))||p]),[[J,g.visible]])]}})}}}),_t=H(Tt);const bt=x({name:"LayoutFeatures",components:{BackTop:_t,LayoutLockPage:V(()=>D(()=>import("./index.2e8fbbfd.js"),["assets/index.2e8fbbfd.js","assets/index.d39002cd.js","assets/index.6274dca4.css","assets/LockPage.d5a7da7a.js","assets/LockPage.ad5cabd1.css","assets/lock.174a315a.js","assets/dateUtil.cdadf7a4.js","assets/header.d801b988.js"])),SettingDrawer:V(()=>D(()=>import("./index.ac35faaf.js").then(function(e){return e.i}),["assets/index.ac35faaf.js","assets/index.48e0a0bc.js","assets/index.5c7227e9.css","assets/index.d39002cd.js","assets/index.6274dca4.css","assets/index.f4d17beb.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.43fb40bd.js","assets/index.a65cfc0e.js","assets/index.3a3c1369.css","assets/index.84c3dcb2.js","assets/index.5924ac04.css","assets/FullscreenOutlined.c9237a1e.js","assets/index.1d513f67.js","assets/index.0935299d.css","assets/useWindowSizeFn.b01bfa18.js","assets/useContentViewHeight.c16bb11a.js","assets/uniqBy.948a872c.js","assets/_baseIteratee.7084243b.js","assets/get.bf2aa0fe.js","assets/index.15c1ccfb.js","assets/index.a2831ae3.css","assets/useRefs.88f4372b.js","assets/PlusOutlined.6d8b56de.js","assets/RedoOutlined.89d86ff0.js","assets/index.c0ba52d9.js","assets/lock.174a315a.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===I.AUTO?!_(c)||_(r):l===I.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"])):E("",!0),e.getIsFixedSettingDrawer?(S(),P(v,{key:1,class:at(e.prefixCls)},null,8,["class"])):E("",!0),e.getIsSessionTimeout?(S(),P(l,{key:2})):E("",!0)],64)}var ne=tt(bt,[["render",St]]);export{ne as default};