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,fU 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,g7 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.f9e8de6e.js";import{c as I,u as st}from"./index.a708f3ad.js";import ct from"./SessionTimeoutLogin.005e89a5.js";import{s as lt,g as ut}from"./scrollTo.5bc7fb65.js";import"./FullscreenOutlined.288713af.js";import"./index.2e53aef1.js";import"./useWindowSizeFn.fb3c3aa2.js";import"./useContentViewHeight.7d34d520.js";import"./uniqBy.af4e6da4.js";import"./_baseIteratee.bfcc2801.js";import"./get.64e02e0f.js";import"./index.665600ee.js";import"./index.410afd62.js";import"./useRefs.467c36cb.js";import"./PlusOutlined.6c4fd9bc.js";import"./RedoOutlined.883d2127.js";import"./index.2d9b4f20.js";import"./lock.9a7badfb.js";import"./Login.00ebd792.js";import"./LoginForm.10bf4e19.js";import"./index.0a473efa.js";import"./index.b20468fe.js";import"./useSize.a48ea943.js";import"./LoginFormTitle.5d4c8679.js";import"./ForgetPasswordForm.b3476afa.js";import"./index.68f41bad.js";import"./RegisterForm.e953b87c.js";import"./index.dd93e6d6.js";import"./Checkbox.dbfe1b64.js";import"./MobileForm.405086a2.js";import"./QrCodeForm.57d4582c.js";import"./index.38428dcf.js";import"./download.881cbc3a.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.87cd7ae9.js"),["assets/index.87cd7ae9.js","assets/index.f9e8de6e.js","assets/index.99ce3776.css","assets/LockPage.dc60b3dc.js","assets/LockPage.ad5cabd1.css","assets/lock.9a7badfb.js","assets/dateUtil.346c3327.js","assets/header.d801b988.js"])),SettingDrawer:I(()=>E(()=>import("./index.8edeb26e.js").then(function(e){return e.i}),["assets/index.8edeb26e.js","assets/index.1fa56501.js","assets/index.5c7227e9.css","assets/index.f9e8de6e.js","assets/index.99ce3776.css","assets/index.665600ee.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.1bb204e5.js","assets/index.38428dcf.js","assets/index.3a3c1369.css","assets/index.a708f3ad.js","assets/index.5924ac04.css","assets/FullscreenOutlined.288713af.js","assets/index.2e53aef1.js","assets/index.0935299d.css","assets/useWindowSizeFn.fb3c3aa2.js","assets/useContentViewHeight.7d34d520.js","assets/uniqBy.af4e6da4.js","assets/_baseIteratee.bfcc2801.js","assets/get.64e02e0f.js","assets/index.410afd62.js","assets/index.a2831ae3.css","assets/useRefs.467c36cb.js","assets/PlusOutlined.6c4fd9bc.js","assets/RedoOutlined.883d2127.js","assets/index.2d9b4f20.js","assets/lock.9a7badfb.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};