const e=require("../../_util/classNames.js"),t=require("../interface.js");let n=require("vue");var r=(0,n.defineComponent)({name:`DefaultPanel`,inheritAttrs:!1,props:t.tourStepProps(),setup(t,{attrs:r}){return()=>{let{prefixCls:i,current:a,total:o,title:s,description:c,onClose:l,onPrev:u,onNext:d,onFinish:f}=t;return(0,n.createVNode)(`div`,{...r,class:e.default(`${i}-content`,r.class)},[(0,n.createVNode)(`div`,{class:`${i}-inner`},[(0,n.createVNode)(`button`,{type:`button`,onClick:l,"aria-label":`Close`,class:`${i}-close`},[(0,n.createVNode)(`span`,{class:`${i}-close-x`},[(0,n.createTextVNode)(`×`)])]),(0,n.createVNode)(`div`,{class:`${i}-header`},[(0,n.createVNode)(`div`,{class:`${i}-title`},[s])]),(0,n.createVNode)(`div`,{class:`${i}-description`},[c]),(0,n.createVNode)(`div`,{class:`${i}-footer`},[(0,n.createVNode)(`div`,{class:`${i}-sliders`},[o>1?[...Array.from({length:o}).keys()].map((e,t)=>(0,n.createVNode)(`span`,{key:e,class:t===a?`active`:``},null)):null]),(0,n.createVNode)(`div`,{class:`${i}-buttons`},[a===0?null:(0,n.createVNode)(`button`,{class:`${i}-prev-btn`,onClick:u},[(0,n.createTextVNode)(`Prev`)]),a===o-1?(0,n.createVNode)(`button`,{class:`${i}-finish-btn`,onClick:f},[(0,n.createTextVNode)(`Finish`)]):(0,n.createVNode)(`button`,{class:`${i}-next-btn`,onClick:d},[(0,n.createTextVNode)(`Next`)])])])])])}}});exports.default=r;