import{N as _,y as B,a_ as T,u as y,a5 as l,_ as D}from"./index.js";import{c as d,u as L}from"./index-094bd341.js";import{aS as P}from"./antd-fb8ca017.js";import{d as w,c as f,u as t,Z as s,_ as C,k as E,a4 as S,a8 as k,a1 as F,F as v,a6 as a}from"./vue-08ef39cb.js";import"./index-5222460c.js";import"./index-be3bd629.js";import"./useContentViewHeight-3410df66.js";import"./useWindowSizeFn-40274562.js";import"./lock-4bf6aa77.js";const x=w({name:"LayoutFeatures",components:{BackTop:P,LayoutLockPage:d(()=>_(()=>import("./index-7bc3df1d.js"),["./index-7bc3df1d.js","./vue-08ef39cb.js","./LockPage-5a118990.js","./index.js","./antd-fb8ca017.js","./index-50de0f48.css","./lock-4bf6aa77.js","./header-b90f4bbc.js","./LockPage-b0b08e00.css"],import.meta.url)),SettingDrawer:d(()=>_(()=>import("./index-1adf9d7f.js").then(e=>e.i),["./index-1adf9d7f.js","./index-922f0b14.js","./index.js","./vue-08ef39cb.js","./antd-fb8ca017.js","./index-50de0f48.css","./index-ac2d527c.css","./index-094bd341.js","./index-5222460c.js","./index-be3bd629.js","./useContentViewHeight-3410df66.js","./useWindowSizeFn-40274562.js","./index-054645fa.css","./lock-4bf6aa77.js","./index-fffcad33.css"],import.meta.url))},setup(){const{getUseOpenBackTop:e,getShowSettingButton:i,getSettingButtonPosition:u,getFullContent:c}=B(),p=T(),{prefixCls:m}=y("setting-drawer-feature"),{getShowHeader:o}=L(),n=f(()=>p.getSessionTimeout),r=f(()=>{if(!t(i))return!1;const g=t(u);return g===l.AUTO?!t(o)||t(c):g===l.FIXED});return{getTarget:()=>document.body,getUseOpenBackTop:e,getIsFixedSettingDrawer:r,prefixCls:m,getIsSessionTimeout:n}}});function I(e,i,u,c,p,m){const o=a("LayoutLockPage"),n=a("BackTop"),r=a("SettingDrawer");return s(),C(v,null,[E(o),e.getUseOpenBackTop?(s(),S(n,{key:0,target:e.getTarget},null,8,["target"])):k("",!0),e.getIsFixedSettingDrawer?(s(),S(r,{key:1,class:F(e.prefixCls)},null,8,["class"])):k("",!0)],64)}const b=D(x,[["render",I]]);export{b as default};
