import{t as e}from"./rolldown-runtime.CMAw1HyY.mjs";import{B as t,F as n,M as r,N as i,O as a,R as o,S as s,T as c,_ as l,g as u,j as ee,k as d,l as f,s as p,u as m,v as h,w as g}from"./react.D3LpXLeJ.mjs";import{C as _,F as v,G as y,R as b,S as te,f as ne,h as re,q as x,r as S,t as ie}from"./motion.DmxynPzX.mjs";import{S as C,Y as w,a as T,k as E}from"./framer.B9eBDazG.mjs";import{n as ae,t as D}from"./index.es.BBDHDHx3.mjs";import{n as oe,t as O}from"./UsePageVisibility.BXFDyWDM.mjs";function k(e,t){let n,r=e.current;return Object.defineProperty(e,`current`,{get(){return r},set(e){if(r=e,e===null){t.abort();return}n?.(e)},configurable:!0}),r||new Promise((e,r)=>{n=e,t.signal.addEventListener(`abort`,r)}).catch(()=>{})}function A(e){let{slots:o=[],startFrom:l,direction:u,effectsOptions:d,autoPlayControl:p,dragControl:g,alignment:te,gap:S,padding:ie,paddingPerSide:w,paddingTop:T,paddingRight:E,paddingBottom:D,paddingLeft:O,itemAmount:A,fadeOptions:_e,intervalControl:ve,transitionControl:ye,arrowOptions:be,borderRadius:xe,progressOptions:Se,style:Ce}=e,{effectsOpacity:we,effectsScale:Te,effectsRotate:Ee,effectsPerspective:De,effectsHover:Oe,playOffscreen:ke}=d,{fadeContent:Ae,overflow:je,fadeWidth:Me,fadeInset:Ne,fadeAlpha:Pe}=_e,{showMouseControls:Fe,arrowSize:P,arrowRadius:Ie,arrowFill:Le,leftArrow:Re,rightArrow:ze,arrowShouldSpace:F=!0,arrowShouldFadeIn:Be=!1,arrowPosition:I,arrowPadding:L,arrowGap:Ve,arrowPaddingTop:He,arrowPaddingRight:Ue,arrowPaddingBottom:We,arrowPaddingLeft:Ge}=be,{showProgressDots:Ke,dotSize:qe,dotsInset:Je,dotsRadius:Ye,dotsPadding:Xe,dotsGap:Ze,dotsFill:Qe,dotsBackground:$e,dotsActiveOpacity:et,dotsOpacity:tt,dotsBlur:nt}=Se,rt=w?`${T}px ${E}px ${D}px ${O}px`:`${ie}px`,R=C.current()===C.canvas,z=o.filter(Boolean),it=c.count(z)>0,B=u===`left`||u===`right`,V=u===`right`||u===`bottom`;if(!it)return m(`section`,{style:se,children:[f(`div`,{style:ce,children:`⭐️`}),f(`p`,{style:le,children:`Connect to Content`}),f(`p`,{style:ue,children:`Add layers or components to make infinite auto-playing slideshows.`})]});let H=a(null),U=ee(()=>[{current:null},{current:null}],[z]),W=a(void 0),[G,at]=n({parent:null,children:null,item:null,itemWidth:null,itemHeight:null,viewportLength:null}),[ot,st]=n(!1),[ct,lt]=n(p),[ut,dt]=n(!1),[K,ft]=n(!1),q=[],pt=4;R&&(pt=1);let mt=r(()=>{if(!H.current)return;let e=U[0].current,n=U[1].current,r=B?H.current.offsetWidth:H.current.offsetHeight,i=e?B?e.offsetLeft:e.offsetTop:0;at({parent:r,children:(n?B?n.offsetLeft+n.offsetWidth:n.offsetTop+n.offsetHeight:0)-i+S,item:e?B?e.offsetWidth:e.offsetHeight:0,itemWidth:e?e.offsetWidth:0,itemHeight:e?e.offsetHeight:0,viewportLength:B?Math.max(document.documentElement.clientWidth||0,t.innerWidth||0,H.current.offsetWidth):Math.max(document.documentElement.clientHeight||0,t.innerHeight||0,H.current.offsetHeight)})},[]),ht=r(async()=>{let e=new AbortController,[t,n]=U;if(!R&&(!t.current||!n.current))try{await Promise.all([k(t,e),k(n,e)])}catch{e.abort()}re.read(mt,!1,!0)},[mt]);s(()=>{ht()},[A]);let gt=a(!0);i(()=>ae(H.current,({contentSize:e})=>{!gt.current&&(e.width||e.height)&&(ht(),h(()=>ft(!0))),gt.current=!1}),[]),i(()=>{if(K){let e=setTimeout(()=>h(()=>ft(!1)),500);return()=>clearTimeout(e)}},[K]);let J=z?.length,Y=R?0:G?.children,_t=G?.item+S,vt=l*_t,[X,Z]=n(l+J),[yt,bt]=n(!1);R&&X!==l&&Z(l);let xt=a(null),St=v(xt),Ct=oe()&&St,wt=V?1:-1,Q=b(Y),Tt=B?-l*(G?.itemWidth+S):-l*(G?.itemHeight+S),Et=()=>wt*X*_t,Dt=R?0:y(Q,e=>{let t=x(-Y,-Y*2,e);return isNaN(t)?0:t}),Ot=x(0,J,X),kt=x(0,-J,X);s(()=>{G?.children!==null&&!gt.current&&K&&Q.set(Et())},[G,Y,wt,vt,X,_t,K]);let At=()=>{R||!it||!G.parent||yt||(Q.get()!==Et()&&ne(Q,Et(),ye),p&&ct&&(ke||Ct)&&(W.current=setTimeout(()=>{h(()=>Z(e=>e+1)),At()},ve*1e3)))},$=(e,t=!1)=>{V?t?h(()=>Z(t=>t-e)):Z(t=>t-e):t?h(()=>Z(t=>t+e)):Z(t=>t+e)},jt=e=>{let t=x(0,J,X),n=x(0,-J,X),r=e-t,i=e-Math.abs(n);h(V?()=>Z(e=>e-i):()=>Z(e=>e+r))},Mt=()=>{h(()=>bt(!0))},Nt=(e,{offset:t,velocity:n})=>{h(()=>bt(!1));let r=B?t.x:t.y,i=B?n.x:n.y,a=r<-G.item/2,o=r>G.item/2,s=Math.abs(r),c=Math.round(s/G.item),l=c===0?1:c;i>200?$(-l,!0):i<-200?$(l,!0):(a&&$(c,!0),o&&$(-c,!0))};i(()=>{if(!(!Ct||K))return At(),()=>W.current&&clearTimeout(W.current)},[q,Ct,K]);let Pt=0,Ft=`calc(${100/A}% - ${S}px + ${S/A}px)`;for(let e=0;e{let r;return e===0&&(n===0&&(r=U[0]),n===z.length-1&&(r=U[1])),f(pe,{ref:r,slideKey:e+n+`lg`,index:e,width:B&&A>1?Ft:`100%`,height:B?`100%`:A>1?Ft:`100%`,size:G,child:t,numChildren:z?.length,wrappedValue:Dt,childCounter:Pt++,gap:S,isCanvas:R,isHorizontal:B,effectsOpacity:we,effectsScale:Te,effectsRotate:Ee,children:e+n},e+n+`lg`)}));let It=B?`to right`:`to bottom`,Lt=Me/2,Rt=100-Me/2,zt=`linear-gradient(${It}, rgba(0, 0, 0, ${Pe}) ${fe(Ne,0,Lt)}%, rgba(0, 0, 0, 1) ${Lt}%, rgba(0, 0, 0, 1) ${Rt}%, rgba(0, 0, 0, ${Pe}) ${100-Ne}%)`,Bt=[],Vt={};if(Ke){for(let e=0;ejt(e),wrappedIndex:Ot,wrappedIndexInverted:kt,total:J,index:e,gap:Ze,padding:Xe,isHorizontal:B,isInverted:V},e));nt>0&&(Vt.backdropFilter=Vt.WebkitBackdropFilter=`blur(${nt}px)`)}let Ht=g?{drag:B?`x`:`y`,onDragStart:Mt,onDragEnd:Nt,dragDirectionLock:!0,values:{x:Q,y:Q},dragMomentum:!1}:{},Ut=I===`top-left`||I===`top-mid`||I===`top-right`,Wt=I===`bottom-left`||I===`bottom-mid`||I===`bottom-right`,Gt=I===`top-left`||I===`bottom-left`,Kt=I===`top-right`||I===`bottom-right`,qt=I===`top-mid`||I===`bottom-mid`||I===`auto`;return m(`section`,{style:{...M,padding:rt,WebkitMaskImage:Ae?zt:void 0,maskImage:Ae?zt:void 0,opacity:G?.item===null?j:1,userSelect:`none`},onMouseEnter:()=>{st(!0),Oe||lt(!1)},onMouseLeave:()=>{st(!1),Oe||lt(!0)},onMouseDown:e=>{e.preventDefault(),h(()=>dt(!0))},onMouseUp:()=>h(()=>dt(!1)),ref:xt,children:[f(`div`,{style:{width:`100%`,height:`100%`,margin:0,padding:`inherit`,position:`absolute`,inset:0,overflow:je?`visible`:`hidden`,borderRadius:xe,userSelect:`none`,perspective:R?`none`:De},children:f(_.ul,{ref:H,...Ht,style:{...M,gap:S,placeItems:te,x:B?R?Tt:Dt:0,y:B?0:R?Tt:Dt,flexDirection:B?`row`:`column`,transformStyle:Ee!==0&&!R?`preserve-3d`:void 0,cursor:g?ut?`grabbing`:`grab`:`auto`,userSelect:`none`,...Ce},children:q})}),m(`fieldset`,{style:{...de},"aria-label":`Slideshow pagination controls`,className:`framer--slideshow-controls`,children:[m(_.div,{style:{position:`absolute`,display:`flex`,flexDirection:B?`row`:`column`,justifyContent:F?`space-between`:`center`,gap:F?`unset`:Ve,opacity:Be?j:1,alignItems:`center`,inset:L,top:F?L:Ut?He:`unset`,left:F?L:Gt?Ge:qt?0:`unset`,right:F?L:Kt?Ue:qt?0:`unset`,bottom:F?L:Wt?We:`unset`},animate:Be&&{opacity:ot?1:j},transition:ye,children:[f(_.button,{type:`button`,style:{...N,backgroundColor:Le,width:P,height:P,borderRadius:Ie,rotate:B?0:90,display:Fe?`block`:`none`,pointerEvents:`auto`},onClick:()=>$(-1,!0),"aria-label":`Previous`,whileTap:{scale:.9},transition:{duration:.15},children:f(`img`,{decoding:`async`,width:P,height:P,src:Re||`assets/images/back-arrow.svg`,alt:`Back Arrow`})}),f(_.button,{type:`button`,style:{...N,backgroundColor:Le,width:P,height:P,borderRadius:Ie,rotate:B?0:90,display:Fe?`block`:`none`,pointerEvents:`auto`},onClick:()=>$(1,!0),"aria-label":`Next`,whileTap:{scale:.9},transition:{duration:.15},children:f(`img`,{decoding:`async`,width:P,height:P,src:ze||`assets/images/next-arrow.svg`,alt:`Next Arrow`})})]}),Bt.length>1?f(`div`,{style:{...he,left:B?`50%`:Je,top:B?`unset`:`50%`,transform:B?`translateX(-50%)`:`translateY(-50%)`,flexDirection:B?`row`:`column`,bottom:B?Je:`unset`,borderRadius:Ye,backgroundColor:$e,userSelect:`none`,...Vt},children:Bt}):null]})]})}var j,M,se,ce,le,ue,N,de,fe,pe,me,he,ge,_e=e((()=>{o(),p(),D(),w(),ie(),g(),O(),j=.001,A.defaultProps={direction:`left`,dragControl:!1,startFrom:0,itemAmount:1,infinity:!0,gap:10,padding:10,autoPlayControl:!0,effectsOptions:{effectsOpacity:1,effectsScale:1,effectsRotate:0,effectsPerspective:1200,effectsHover:!0,playOffscreen:!1},transitionControl:{type:`spring`,stiffness:200,damping:40},fadeOptions:{fadeContent:!1,overflow:!1,fadeWidth:25,fadeAlpha:0,fadeInset:0},arrowOptions:{showMouseControls:!0,arrowShouldFadeIn:!1,arrowShouldSpace:!0,arrowFill:`rgba(0,0,0,0.2)`,arrowSize:40},progressOptions:{showProgressDots:!0}},E(A,{slots:{type:T.Array,title:`Content`,control:{type:T.ComponentInstance}},direction:{type:T.Enum,title:`Direction`,options:[`left`,`right`,`top`,`bottom`],optionIcons:[`direction-left`,`direction-right`,`direction-up`,`direction-down`],optionTitles:[`Left`,`Right`,`Top`,`Bottom`],displaySegmentedControl:!0,defaultValue:A.defaultProps.direction},autoPlayControl:{type:T.Boolean,title:`Auto Play`,defaultValue:!0},intervalControl:{type:T.Number,title:`Interval`,defaultValue:1.5,min:.5,max:10,step:.1,displayStepper:!0,unit:`s`,hidden:e=>!e.autoPlayControl},dragControl:{type:T.Boolean,title:`Draggable`,defaultValue:!1},startFrom:{type:T.Number,title:`Current`,min:0,max:10,displayStepper:!0,defaultValue:A.defaultProps.startFrom},effectsOptions:{type:T.Object,title:`Effects`,controls:{effectsOpacity:{type:T.Number,title:`Opacity`,defaultValue:A.defaultProps.effectsOptions.effectsOpacity,min:0,max:1,step:.01,displayStepper:!0},effectsScale:{type:T.Number,title:`Scale`,defaultValue:A.defaultProps.effectsOptions.effectsScale,min:0,max:1,step:.01,displayStepper:!0},effectsPerspective:{type:T.Number,title:`Perspective`,defaultValue:A.defaultProps.effectsOptions.effectsPerspective,min:200,max:2e3,step:1},effectsRotate:{type:T.Number,title:`Rotate`,defaultValue:A.defaultProps.effectsOptions.effectsRotate,min:-180,max:180,step:1},effectsHover:{type:T.Boolean,title:`On Hover`,enabledTitle:`Play`,disabledTitle:`Pause`,defaultValue:A.defaultProps.effectsOptions.effectsHover},playOffscreen:{type:T.Boolean,title:`Offscreen`,enabledTitle:`Play`,disabledTitle:`Pause`,defaultValue:A.defaultProps.effectsOptions.playOffscreen}}},alignment:{type:T.Enum,title:`Align`,options:[`flex-start`,`center`,`flex-end`],optionIcons:{direction:{right:[`align-top`,`align-middle`,`align-bottom`],left:[`align-top`,`align-middle`,`align-bottom`],top:[`align-left`,`align-center`,`align-right`],bottom:[`align-left`,`align-center`,`align-right`]}},defaultValue:`center`,displaySegmentedControl:!0},itemAmount:{type:T.Number,title:`Items`,min:1,max:10,displayStepper:!0,defaultValue:A.defaultProps.itemAmount},gap:{type:T.Number,title:`Gap`,min:0},padding:{title:`Padding`,type:T.FusedNumber,toggleKey:`paddingPerSide`,toggleTitles:[`Padding`,`Padding per side`],defaultValue:0,valueKeys:[`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`],valueLabels:[`T`,`R`,`B`,`L`],min:0},borderRadius:{type:T.Number,title:`Radius`,min:0,max:500,displayStepper:!0,defaultValue:0},transitionControl:{type:T.Transition,defaultValue:A.defaultProps.transitionControl,title:`Transition`},fadeOptions:{type:T.Object,title:`Clipping`,controls:{fadeContent:{type:T.Boolean,title:`Fade`,defaultValue:!1},overflow:{type:T.Boolean,title:`Overflow`,enabledTitle:`Show`,disabledTitle:`Hide`,defaultValue:!1,hidden(e){return e.fadeContent===!0}},fadeWidth:{type:T.Number,title:`Width`,defaultValue:25,min:0,max:100,unit:`%`,hidden(e){return e.fadeContent===!1}},fadeInset:{type:T.Number,title:`Inset`,defaultValue:0,min:0,max:100,unit:`%`,hidden(e){return e.fadeContent===!1}},fadeAlpha:{type:T.Number,title:`Opacity`,defaultValue:0,min:0,max:1,step:.05,hidden(e){return e.fadeContent===!1}}}},arrowOptions:{type:T.Object,title:`Arrows`,controls:{showMouseControls:{type:T.Boolean,title:`Show`,defaultValue:A.defaultProps.arrowOptions.showMouseControls},arrowFill:{type:T.Color,title:`Fill`,hidden:e=>!e.showMouseControls,defaultValue:A.defaultProps.arrowOptions.arrowFill},leftArrow:{type:T.Image,title:`Previous`,hidden:e=>!e.showMouseControls},rightArrow:{type:T.Image,title:`Next`,hidden:e=>!e.showMouseControls},arrowSize:{type:T.Number,title:`Size`,min:0,max:200,displayStepper:!0,defaultValue:A.defaultProps.arrowOptions.arrowSize,hidden:e=>!e.showMouseControls},arrowRadius:{type:T.Number,title:`Radius`,min:0,max:500,defaultValue:40,hidden:e=>!e.showMouseControls},arrowShouldFadeIn:{type:T.Boolean,title:`Fade In`,defaultValue:!1,hidden:e=>!e.showMouseControls},arrowShouldSpace:{type:T.Boolean,title:`Distance`,enabledTitle:`Space`,disabledTitle:`Group`,defaultValue:A.defaultProps.arrowOptions.arrowShouldSpace,hidden:e=>!e.showMouseControls},arrowPosition:{type:T.Enum,title:`Position`,options:[`auto`,`top-left`,`top-mid`,`top-right`,`bottom-left`,`bottom-mid`,`bottom-right`],optionTitles:[`Center`,`Top Left`,`Top Middle`,`Top Right`,`Bottom Left`,`Bottom Middle`,`Bottom Right`],hidden:e=>!e.showMouseControls||e.arrowShouldSpace},arrowPadding:{type:T.Number,title:`Inset`,min:-100,max:100,defaultValue:20,displayStepper:!0,hidden:e=>!e.showMouseControls||!e.arrowShouldSpace},arrowPaddingTop:{type:T.Number,title:`Top`,min:-500,max:500,defaultValue:0,displayStepper:!0,hidden:e=>!e.showMouseControls||e.arrowShouldSpace||e.arrowPosition===`auto`||e.arrowPosition===`bottom-mid`||e.arrowPosition===`bottom-left`||e.arrowPosition===`bottom-right`},arrowPaddingBottom:{type:T.Number,title:`Bottom`,min:-500,max:500,defaultValue:0,displayStepper:!0,hidden:e=>!e.showMouseControls||e.arrowShouldSpace||e.arrowPosition===`auto`||e.arrowPosition===`top-mid`||e.arrowPosition===`top-left`||e.arrowPosition===`top-right`},arrowPaddingRight:{type:T.Number,title:`Right`,min:-500,max:500,defaultValue:0,displayStepper:!0,hidden:e=>!e.showMouseControls||e.arrowShouldSpace||e.arrowPosition===`auto`||e.arrowPosition===`top-left`||e.arrowPosition===`top-mid`||e.arrowPosition===`bottom-left`||e.arrowPosition===`bottom-mid`},arrowPaddingLeft:{type:T.Number,title:`Left`,min:-500,max:500,defaultValue:0,displayStepper:!0,hidden:e=>!e.showMouseControls||e.arrowShouldSpace||e.arrowPosition===`auto`||e.arrowPosition===`top-right`||e.arrowPosition===`top-mid`||e.arrowPosition===`bottom-right`||e.arrowPosition===`bottom-mid`},arrowGap:{type:T.Number,title:`Gap`,min:0,max:100,defaultValue:10,displayStepper:!0,hidden:e=>!e.showMouseControls||e.arrowShouldSpace}}},progressOptions:{type:T.Object,title:`Dots`,controls:{showProgressDots:{type:T.Boolean,title:`Show`,defaultValue:!1},dotSize:{type:T.Number,title:`Size`,min:1,max:100,defaultValue:10,displayStepper:!0,hidden:e=>!e.showProgressDots||e.showScrollbar},dotsInset:{type:T.Number,title:`Inset`,min:-100,max:100,defaultValue:10,displayStepper:!0,hidden:e=>!e.showProgressDots||e.showScrollbar},dotsGap:{type:T.Number,title:`Gap`,min:0,max:100,defaultValue:10,displayStepper:!0,hidden:e=>!e.showProgressDots||e.showScrollbar},dotsPadding:{type:T.Number,title:`Padding`,min:0,max:100,defaultValue:10,displayStepper:!0,hidden:e=>!e.showProgressDots||e.showScrollbar},dotsFill:{type:T.Color,title:`Fill`,defaultValue:`#fff`,hidden:e=>!e.showProgressDots||e.showScrollbar},dotsBackground:{type:T.Color,title:`Backdrop`,defaultValue:`rgba(0,0,0,0.2)`,hidden:e=>!e.showProgressDots||e.showScrollbar},dotsRadius:{type:T.Number,title:`Radius`,min:0,max:200,defaultValue:50,hidden:e=>!e.showProgressDots||e.showScrollbar},dotsOpacity:{type:T.Number,title:`Opacity`,min:0,max:1,defaultValue:.5,step:.1,displayStepper:!0,hidden:e=>!e.showProgressDots||e.showScrollbar},dotsActiveOpacity:{type:T.Number,title:`Current`,min:0,max:1,defaultValue:1,step:.1,displayStepper:!0,hidden:e=>!e.showProgressDots||e.showScrollbar},dotsBlur:{type:T.Number,title:`Blur`,min:0,max:50,defaultValue:0,step:1,hidden:e=>!e.showProgressDots||e.showScrollbar}}}}),M={display:`flex`,flexDirection:`row`,width:`100%`,height:`100%`,maxWidth:`100%`,maxHeight:`100%`,placeItems:`center`,margin:0,padding:0,listStyleType:`none`,textIndent:`none`},se={display:`flex`,width:`100%`,height:`100%`,placeContent:`center`,placeItems:`center`,flexDirection:`column`,color:`#96F`,background:`rgba(136, 85, 255, 0.1)`,fontSize:11,overflow:`hidden`,padding:`20px 20px 30px 20px`},ce={fontSize:32,marginBottom:10},le={margin:0,marginBottom:10,fontWeight:600,textAlign:`center`},ue={margin:0,opacity:.7,maxWidth:180,lineHeight:1.5,textAlign:`center`},N={border:`none`,display:`flex`,placeContent:`center`,placeItems:`center`,overflow:`hidden`,background:`transparent`,cursor:`pointer`,margin:0,padding:0},de={display:`flex`,justifyContent:`space-between`,alignItems:`center`,position:`absolute`,pointerEvents:`none`,userSelect:`none`,top:0,left:0,right:0,bottom:0,border:0,padding:0,margin:0},fe=(e,t,n)=>Math.min(Math.max(e,t),n),pe=u(l(function(e,t){let{slideKey:n,width:r,height:o,child:s,size:c,gap:l,wrappedValue:u,numChildren:ee,childCounter:p,isCanvas:m,effects:h,effectsOpacity:g,effectsScale:_,effectsRotate:v,isHorizontal:b,isLast:ne,index:re}=e,x=a(),ie=(c?.item+l)*p,C=[-c?.item,0,c?.parent-c?.item+l,c?.parent].map(e=>e-ie),w=!m&&y(u,C,[-v,0,0,v]),T=!m&&y(u,C,[v,0,0,-v]),E=!m&&y(u,C,[g,1,1,g]),ae=!m&&y(u,C,[_,1,1,_]),D=!m&&y(u,C,[1,1,0,0]),oe=!m&&y(u,e=>e>=C[1]&&e<=C[2]);i(()=>{if(oe)return oe.on(`change`,e=>{(t?.current??x.current)?.setAttribute(`aria-hidden`,!e)})},[]);let O=m?`visible`:y(u,[C[0]-c.viewportLength,te(C[1],C[2],.5),C[3]+c.viewportLength],[`hidden`,`visible`,`hidden`]),k=n+`child`;return f(S,{inherit:`id`,id:k,children:f(`li`,{style:{display:`contents`},"aria-hidden":re!==0,children:d(s,{ref:t??x,key:k,style:{...s.props?.style,flexShrink:0,userSelect:`none`,width:r,height:o,opacity:E,scale:ae,originX:b?D:.5,originY:b?.5:D,rotateY:b?w:0,rotateX:b?0:T,visibility:O},layoutId:s.props.layoutId?s.props.layoutId+`-original-`+re:void 0})})})})),me=u(function({selectedOpacity:e,opacity:t,total:n,index:r,wrappedIndex:i,wrappedIndexInverted:a,dotStyle:o,buttonStyle:s,gap:c,padding:l,isHorizontal:u,isInverted:ee,...d}){let p=i===r;ee&&(p=Math.abs(a)===r);let m=c/2,h=!u&&r>0?m:l,g=!u&&r!==n-1?m:l,v=u&&r!==n-1?m:l,y=u&&r>0?m:l;return f(`button`,{"aria-label":`Scroll to page ${r+1}`,type:`button`,...d,style:{...s,padding:`${h}px ${v}px ${g}px ${y}px`},children:f(_.div,{style:{...o},initial:!1,animate:{opacity:p?e:t},transition:{duration:.3}})})}),he={display:`flex`,placeContent:`center`,placeItems:`center`,overflow:`hidden`,position:`absolute`,pointerEvents:`auto`},ge={borderRadius:`50%`,background:`white`,cursor:`pointer`,border:`none`,placeContent:`center`,placeItems:`center`,padding:0}}));export{_e as n,A as t}; //# sourceMappingURL=SlideShow.DXAKrnq0.mjs.map