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,cP as X,f_ as q,af as G,_ as T,V as P,di as J,w as Q,v as Y,bP as Z,cO as K,J as tt,bs as E,bC as et,gf as nt,b as rt,f as L,k as _,bM as V,aA as b,o as S,h as ot,j as k,l as A,n as at,F as it}from"./index.eec7c138.js";import{c as I,u as st}from"./index.d138e84e.js";import ct from"./SessionTimeoutLogin.c8ebdf0b.js";import{s as lt,g as ut}from"./scrollTo.b4be90fb.js";import"./FullscreenOutlined.05779bfe.js";import"./index.79d07be2.js";import"./useWindowSizeFn.0f608d47.js";import"./useContentViewHeight.17fa274c.js";import"./uniqBy.4b5d9352.js";import"./_baseIteratee.8e9620dd.js";import"./get.2199c57c.js";import"./index.abfdfeab.js";import"./index.a2ec4afe.js";import"./useRefs.77e50e1b.js";import"./PlusOutlined.073ab670.js";import"./RedoOutlined.4acab324.js";import"./index.ba75b5cb.js";import"./lock.e299ad2d.js";import"./Login.1454c77b.js";import"./LoginForm.08e4850a.js";import"./index.d17e923e.js";import"./index.a2241d89.js";import"./useSize.507b40b9.js";import"./LoginFormTitle.bb3f60e2.js";import"./ForgetPasswordForm.96d8736e.js";import"./index.af861c3a.js";import"./RegisterForm.167d829d.js";import"./index.df77d9c7.js";import"./Checkbox.51b3985f.js";import"./MobileForm.9d764e5a.js";import"./QrCodeForm.1edd0483.js";import"./index.638bb3e3.js";import"./download.e8f65dad.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}),O=function(){var u=t.target,p=u||B,f=p();g.scrollEvent=K(f,"scroll",function(d){h(d)}),h({target:f})},y=function(){g.scrollEvent&&g.scrollEvent.remove(),h.cancel()};return z(function(){return t.target},function(){y(),w(function(){O()})}),W(function(){w(function(){O()})}),X(function(){w(function(){O()})}),q(function(){y()}),G(function(){y()}),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={},P(i,"".concat(a.value),!0),P(i,"".concat(o.class),o.class),P(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.8716425d.js"),["assets/index.8716425d.js","assets/index.eec7c138.js","assets/index.51a73cc2.css","assets/LockPage.29b5e314.js","assets/LockPage.ad5cabd1.css","assets/lock.e299ad2d.js","assets/dateUtil.160b2c2f.js","assets/header.d801b988.js"])),SettingDrawer:I(()=>E(()=>import("./index.4c25bb40.js").then(function(e){return e.i}),["assets/index.4c25bb40.js","assets/index.1560549a.js","assets/index.5c7227e9.css","assets/index.eec7c138.js","assets/index.51a73cc2.css","assets/index.abfdfeab.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.489857b7.js","assets/index.638bb3e3.js","assets/index.3a3c1369.css","assets/index.d138e84e.js","assets/index.5924ac04.css","assets/FullscreenOutlined.05779bfe.js","assets/index.79d07be2.js","assets/index.0935299d.css","assets/useWindowSizeFn.0f608d47.js","assets/useContentViewHeight.17fa274c.js","assets/uniqBy.4b5d9352.js","assets/_baseIteratee.8e9620dd.js","assets/get.2199c57c.js","assets/index.a2ec4afe.js","assets/index.a2831ae3.css","assets/useRefs.77e50e1b.js","assets/PlusOutlined.073ab670.js","assets/RedoOutlined.4acab324.js","assets/index.ba75b5cb.js","assets/lock.e299ad2d.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(),k(a,{key:0,target:e.getTarget},null,8,["target"])):A("",!0),e.getIsFixedSettingDrawer?(S(),k(v,{key:1,class:at(e.prefixCls)},null,8,["class"])):A("",!0),e.getIsSessionTimeout?(S(),k(l,{key:2})):A("",!0)],64)}var ee=tt(bt,[["render",St]]);export{ee as default};