const e=require("../_util/classNames.js"),t=require("../vc-resize-observer/index.js");let n=require("vue");var r=({height:r,offset:i,prefixCls:a,onInnerResize:o},{slots:s})=>{let c={},l={display:`flex`,flexDirection:`column`};return i!==void 0&&(c={height:`${r}px`,position:`relative`,overflow:`hidden`},l={...l,transform:`translateY(${i}px)`,position:`absolute`,left:0,right:0,top:0}),(0,n.createVNode)(`div`,{style:c},[(0,n.createVNode)(t.default,{onResize:({offsetHeight:e})=>{e&&o&&o()}},{default:()=>[(0,n.createVNode)(`div`,{style:l,class:e.default({[`${a}-holder-inner`]:a})},[s.default?.()])]})])};r.displayName=`Filter`,r.inheritAttrs=!1,r.props={prefixCls:String,height:Number,offset:Number,onInnerResize:Function},exports.default=r;