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,cN as X,fT as q,af as G,_ as T,V as k,dh as J,w as Q,v as Y,bP as Z,cM as K,J as tt,bs as E,bC as et,g6 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.9457847f.js";import{c as I,u as st}from"./index.c5b7941c.js";import ct from"./SessionTimeoutLogin.f6fded79.js";import{s as lt,g as ut}from"./scrollTo.b1954148.js";import"./FullscreenOutlined.b9b278be.js";import"./index.4cce2644.js";import"./useWindowSizeFn.10f54f57.js";import"./useContentViewHeight.96e27479.js";import"./uniqBy.7ca798fc.js";import"./_baseIteratee.99737c7a.js";import"./get.b806d865.js";import"./index.c131f79d.js";import"./index.b3b64de6.js";import"./useRefs.ad03f4f9.js";import"./PlusOutlined.4bc16c98.js";import"./RedoOutlined.b2349661.js";import"./index.70d06c37.js";import"./lock.46a8f464.js";import"./Login.1dc3a1d8.js";import"./LoginForm.ab16f71f.js";import"./index.ba0fd0ec.js";import"./index.ca85c2a9.js";import"./useSize.f5b2feaa.js";import"./LoginFormTitle.df3e023e.js";import"./ForgetPasswordForm.21f5b985.js";import"./index.fbd47791.js";import"./RegisterForm.f1ad3e42.js";import"./index.bf6aa8f5.js";import"./Checkbox.13b012bf.js";import"./MobileForm.37971acd.js";import"./QrCodeForm.a8e9bd07.js";import"./index.bedbb3ac.js";import"./download.89df59e7.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:I(()=>E(()=>import("./index.18cc7f8c.js"),["assets/index.18cc7f8c.js","assets/index.9457847f.js","assets/index.9eec1556.css","assets/LockPage.a5e9b139.js","assets/LockPage.afa0c1ae.css","assets/lock.46a8f464.js","assets/dateUtil.a512b017.js","assets/header.d801b988.js"])),SettingDrawer:I(()=>E(()=>import("./index.e672c48b.js").then(function(e){return e.i}),["assets/index.e672c48b.js","assets/index.3bab745c.js","assets/index.5c7227e9.css","assets/index.9457847f.js","assets/index.9eec1556.css","assets/index.c131f79d.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.a09e9a7f.js","assets/index.bedbb3ac.js","assets/index.3a3c1369.css","assets/index.c5b7941c.js","assets/index.48abc832.css","assets/FullscreenOutlined.b9b278be.js","assets/index.4cce2644.js","assets/index.55076fdd.css","assets/useWindowSizeFn.10f54f57.js","assets/useContentViewHeight.96e27479.js","assets/uniqBy.7ca798fc.js","assets/_baseIteratee.99737c7a.js","assets/get.b806d865.js","assets/index.b3b64de6.js","assets/index.a2831ae3.css","assets/useRefs.ad03f4f9.js","assets/PlusOutlined.4bc16c98.js","assets/RedoOutlined.b2349661.js","assets/index.70d06c37.js","assets/lock.46a8f464.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};