"use strict";const b=require("./tslib.es6-C4EgNkz1.js"),s=require("react"),n=require("classnames"),d=require("./dialog-previous-button-D-rmw6O1.js");require("./icon-button-AJ6dtyvc.js");require("./icon-I30uh1Ov.js");const m=o=>{var{open:l,mode:r,size:t,bannerImgSrc:e,bannerImgPosition:g,onClose:a=()=>{}}=o,i=b.__rest(o,["open","mode","size","bannerImgSrc","bannerImgPosition","onClose"]);const c=e?s.createElement("div",{className:"lightbox-dialog__image",style:{backgroundImage:`url(${e})`,backgroundPosition:g}}):i.top;return s.createElement(d.DialogBaseWithState,Object.assign({buttonPosition:"right"},i,{classPrefix:"lightbox-dialog",onCloseBtnClick:a,onBackgroundClick:a,className:n(i.className,"lightbox-dialog--mask-fade",{[`lightbox-dialog--${t}`]:t,"lightbox-dialog--expressive":e}),windowClass:n("lightbox-dialog__window--animate",{"lightbox-dialog__window--mini":r==="mini"}),top:c,open:l}))};exports.EbayLightboxDialog=m;
