const e=require("../PanelContext.js"),t=require("../hooks/useMergeProps.js");let n=require("vue");var r={visibility:`hidden`};function i(i,{slots:a}){let{prefixCls:o,prevIcon:s=`‹`,nextIcon:c=`›`,superPrevIcon:l=`«`,superNextIcon:u=`»`,onSuperPrev:d,onSuperNext:f,onPrev:p,onNext:m}=t.default(i),{hideNextBtn:h,hidePrevBtn:g}=e.useInjectPanel();return(0,n.createVNode)(`div`,{class:o},[d&&(0,n.createVNode)(`button`,{type:`button`,onClick:d,tabindex:-1,class:`${o}-super-prev-btn`,style:g.value?r:{}},[l]),p&&(0,n.createVNode)(`button`,{type:`button`,onClick:p,tabindex:-1,class:`${o}-prev-btn`,style:g.value?r:{}},[s]),(0,n.createVNode)(`div`,{class:`${o}-view`},[a.default?.()]),m&&(0,n.createVNode)(`button`,{type:`button`,onClick:m,tabindex:-1,class:`${o}-next-btn`,style:h.value?r:{}},[c]),f&&(0,n.createVNode)(`button`,{type:`button`,onClick:f,tabindex:-1,class:`${o}-super-next-btn`,style:h.value?r:{}},[u])])}i.displayName=`Header`,i.inheritAttrs=!1,exports.default=i;