import{cd as D,V as R,n as m,aR as j,at as H,a as $,H as N,s as M,v as U,a6 as z,ak as O,M as q,cx as W,fM as X,L as G,_ as T,S as k,el as J,w as Q,x as Y,bN as Z,cR as K,av as tt,br as E,bB as et,fN as nt,b as rt,f as L,i as _,bK as x,a_ as b,o as S,h as ot,j as P,k as B,q as at,F as it}from"./index.3f97cc33.js";import{c as V,u as st}from"./index.3e181a91.js";import ct from"./SessionTimeoutLogin.05a6229a.js";import{s as lt,g as ut}from"./scrollTo.073f007f.js";import"./FullscreenOutlined.79df86c0.js";import"./index.8e28a80a.js";import"./useWindowSizeFn.63c1b6a0.js";import"./useContentViewHeight.1983ed20.js";import"./uniqBy.66af1ece.js";import"./_baseIteratee.74621dd5.js";import"./get.7e5a4802.js";import"./index.fb0ad110.js";import"./index.8c14bde9.js";import"./useRefs.428779fe.js";import"./PlusOutlined.f1f3bd13.js";import"./RedoOutlined.fe1eaec0.js";import"./index.f74085c4.js";import"./TabPane.2340d2dc.js";import"./lock.b909ef7b.js";import"./Login.9167b480.js";import"./LoginForm.4d8234fc.js";import"./index.cde36067.js";import"./Checkbox.d22129d5.js";/* empty css *//* empty css */import"./LoginFormTitle.2651f34e.js";import"./Form.e8d8d176.js";import"./Col.a5c4aef2.js";import"./useFlexGapSupport.a62ab4b7.js";import"./useSize.029b57c4.js";import"./index.872d0787.js";import"./QrCodeForm.abf0b5a7.js";import"./index.222f0459.js";import"./index.347335ff.js";import"./download.ab58da56.js";import"./base64Conver.08b9f4ec.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||C,f=p();g.scrollEvent=K(f,"scroll",function(d){h(d)}),h({target:f})},w=function(){g.scrollEvent&&g.scrollEvent.remove(),h.cancel()};return z(function(){return t.target},function(){w(),O(function(){y()})}),q(function(){O(function(){y()})}),W(function(){O(function(){y()})}),X(function(){w()}),G(function(){w()}),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=H(Tt);const bt=$({name:"LayoutFeatures",components:{BackTop:_t,LayoutLockPage:V(()=>E(()=>import("./index.c51129a9.js"),["assets/index.c51129a9.js","assets/index.3f97cc33.js","assets/index.b7e9411f.css","assets/LockPage.1049656f.js","assets/LockPage.ad5cabd1.css","assets/lock.b909ef7b.js","assets/header.b3b1e10f.js"])),SettingDrawer:V(()=>E(()=>import("./index.432261d4.js").then(function(e){return e.i}),["assets/index.432261d4.js","assets/index.57748f4c.js","assets/index.5c7227e9.css","assets/index.3f97cc33.js","assets/index.b7e9411f.css","assets/index.fb0ad110.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.5c21fff9.js","assets/index.222f0459.js","assets/index.3a3c1369.css","assets/index.3e181a91.js","assets/index.5924ac04.css","assets/FullscreenOutlined.79df86c0.js","assets/index.8e28a80a.js","assets/index.0935299d.css","assets/useWindowSizeFn.63c1b6a0.js","assets/useContentViewHeight.1983ed20.js","assets/uniqBy.66af1ece.js","assets/_baseIteratee.74621dd5.js","assets/get.7e5a4802.js","assets/index.8c14bde9.js","assets/index.a2831ae3.css","assets/useRefs.428779fe.js","assets/PlusOutlined.f1f3bd13.js","assets/RedoOutlined.fe1eaec0.js","assets/index.f74085c4.js","assets/TabPane.2340d2dc.js","assets/lock.b909ef7b.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===x.AUTO?!_(c)||_(r):l===x.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"])):B("",!0),e.getIsFixedSettingDrawer?(S(),P(v,{key:1,class:at(e.prefixCls)},null,8,["class"])):B("",!0),e.getIsSessionTimeout?(S(),P(l,{key:2})):B("",!0)],64)}var oe=tt(bt,[["render",St]]);export{oe as default};