import{cf as E,R,p as m,aZ as j,aN as H,a as $,a5 as N,r as U,s as M,H as z,am as w,G as W,cR as X,g4 as q,ah as G,_ as T,X as k,dk as J,w as Q,v as Z,bS as Y,cQ as K,J as tt,bu as D,bE as et,gl as nt,b as rt,f as L,k as _,bO as I,aC as b,o as S,h as ot,j as P,l as C,n as at,F as it}from"./index.10bef8d9.js";import{c as V,u as st}from"./index.e436a39a.js";import ct from"./SessionTimeoutLogin.085e2e3f.js";import{s as lt,g as ut}from"./scrollTo.29e5c0fe.js";import"./FullscreenOutlined.1a57dd79.js";import"./index.67f05a07.js";import"./useWindowSizeFn.828b4ed1.js";import"./useContentViewHeight.34af3465.js";import"./uniqBy.3a475547.js";import"./_baseIteratee.ca4916de.js";import"./get.54ea2f74.js";import"./index.88228e57.js";import"./index.8b456bbf.js";import"./useRefs.c7d6606b.js";import"./PlusOutlined.0369c814.js";import"./RedoOutlined.5e7f9ab6.js";import"./index.18155631.js";import"./lock.64dfded4.js";import"./Login.1dd31a48.js";import"./LoginForm.c43db0b1.js";import"./md5.d699466e.js";import"./index.6b7c6906.js";import"./index.ac844111.js";import"./useSize.a3cc155e.js";import"./LoginFormTitle.73aaefe2.js";import"./ForgetPasswordForm.ca726845.js";import"./index.be423f4b.js";import"./RegisterForm.b700859d.js";import"./index.2c46e1c2.js";import"./Checkbox.3916bf4f.js";import"./MobileForm.acca181e.js";import"./QrCodeForm.76b47fb1.js";import"./index.7c202422.js";import"./download.8b305a5b.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()})}),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(Y,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]),[[Z,g.visible]])]}})}}}),_t=H(Tt);const bt=$({name:"LayoutFeatures",components:{BackTop:_t,LayoutLockPage:V(()=>D(()=>import("./index.09cbeb4d.js"),["assets/index.09cbeb4d.js","assets/index.10bef8d9.js","assets/index.b4c40bca.css","assets/LockPage.d0a1bca3.js","assets/LockPage.afa0c1ae.css","assets/lock.64dfded4.js","assets/dateUtil.9f7564f2.js","assets/header.d801b988.js"])),SettingDrawer:V(()=>D(()=>import("./index.ae175441.js").then(function(e){return e.i}),["assets/index.ae175441.js","assets/index.11d0d4f7.js","assets/index.5c7227e9.css","assets/index.10bef8d9.js","assets/index.b4c40bca.css","assets/index.88228e57.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.00865997.js","assets/index.7c202422.js","assets/index.3a3c1369.css","assets/index.e436a39a.js","assets/index.48abc832.css","assets/FullscreenOutlined.1a57dd79.js","assets/index.67f05a07.js","assets/index.55076fdd.css","assets/useWindowSizeFn.828b4ed1.js","assets/useContentViewHeight.34af3465.js","assets/uniqBy.3a475547.js","assets/_baseIteratee.ca4916de.js","assets/get.54ea2f74.js","assets/index.8b456bbf.js","assets/index.a2831ae3.css","assets/useRefs.c7d6606b.js","assets/PlusOutlined.0369c814.js","assets/RedoOutlined.5e7f9ab6.js","assets/index.18155631.js","assets/lock.64dfded4.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"])):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};