function _defineProperties(n,t){for(var e=0;e=o))return l();p(f)}}function l(){c=!0}function d(){cancelAnimationFrame(n),c=!(n=s=0)}return{start:function(n){n||d(),r=u()-(n?s*t:0),c=!1,p(f)},rewind:function(){r=u(),s=0,i&&i(s)},pause:l,cancel:d,set:function(n){t=n},isPaused:function(){return c}}}function s(n){var t=n;return{set:function(n){t=n},is:function(n){return b(m(n),t)}}}var Bn="ttb",c={marginRight:["marginBottom","marginLeft"],autoWidth:["autoHeight"],fixedWidth:["fixedHeight"],paddingLeft:["paddingTop","paddingRight"],paddingRight:["paddingBottom","paddingLeft"],width:["height"],Width:["Height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:["ArrowUp","ArrowRight"],ArrowRight:["ArrowDown","ArrowLeft"]};var Gn="role",Hn="tabindex",e="aria-",Xn=e+"controls",Yn=e+"current",qn=e+"selected",Un=e+"label",Kn=e+"hidden",Jn=e+"orientation",Qn=e+"roledescription",a=e+"live",Vn=[Gn,Hn,"disabled",Xn,Yn,Un,Kn,Jn,Qn,"aria-atomic",a],Zn=rn,$n=rn+"__track",nt=rn+"__list",tt=rn+"__slide",et=tt+"--clone",it=tt+"__container",ot=rn+"__arrows",rt=rn+"__arrow",ut=rt+"--prev",st=rt+"--next",ct=rn+"__pagination",at=ct+"__page",ft=rn+"__progress"+"__bar",lt=rn+"__toggle",dt=rn+"__sr",pt="is-active",gt="is-prev",ht="is-next",vt="is-visible",mt="is-loading",yt="has-focus-visible",bt=[pt,vt,gt,ht,mt,yt];var wt="touchstart mousedown",Et="touchmove mousemove",_t="touchend touchcancel mouseup";var xt="slide",St="loop",Pt="fade";function Ct(o,e,t,r){var i,n=jn(o),u=n.on,s=n.emit,c=n.bind,a=o.Components,f=o.root,l=o.options,d=l.isNavigation,p=l.updateOnMove,g=l.i18n,h=l.pagination,v=l.slideFocus,m=a.Direction.resolve,y=U(r,"style"),b=U(r,Un),w=-1r.perPage}}},Layout:function(n,t,e){var i,o,r=(c=jn(n)).on,u=c.bind,s=c.emit,c=t.Slides,a=t.Direction.resolve,f=(t=t.Elements).root,l=t.track,d=t.list,p=c.getAt,g=c.style;function h(){o=null,i=e.direction===Bn,X(f,"maxWidth",on(e.width)),X(l,a("paddingLeft"),m(!1)),X(l,a("paddingRight"),m(!0)),v()}function v(){var n=J(f);o&&o.width===n.width&&o.height===n.height||(X(l,"height",function(){var n="";i&&(un(n=y(),"height or heightRatio is missing."),n="calc("+n+" - "+m(!1)+" - "+m(!0)+")");return n}()),g(a("marginRight"),on(e.gap)),g("width",e.autoWidth?null:on(e.fixedWidth)||(i?"":b())),g("height",on(e.fixedHeight)||(i?e.autoHeight?null:b():y()),!0),o=n,s(zn))}function m(n){var t=e.padding,n=a(n?"right":"left");return t&&on(t[n]||(G(t)?0:t))||"0px"}function y(){return on(e.height||J(d).width*e.heightRatio)}function b(){var n=on(e.gap);return"calc((100%"+(n&&" + "+n)+")/"+(e.perPage||1)+(n&&" - "+n)+")"}function w(n,t){var e=p(n);if(e){n=J(e.slide)[a("right")],e=J(d)[a("left")];return ln(n-e)+(t?0:E())}return 0}function E(){var n=p(0);return n&&parseFloat(X(n.slide,a("marginRight")))||0}return{mount:function(){var n,t,e;h(),u(window,"resize load",(n=D(s,Mn),function(){e||(e=Wn(t||0,function(){n(),e=null},null,1)).start()})),r([Dn,kn],h),r(Mn,v)},listSize:function(){return J(d)[a("width")]},slideSize:function(n,t){return(n=p(n||0))?J(n.slide)[a("width")]+(t?0:E()):0},sliderSize:function(){return w(n.length-1,!0)-w(-1,!0)},totalSize:w,getPadding:function(n){return parseFloat(X(l,a("padding"+(n?"Right":"Left"))))||0}}},Clones:function(s,e,c){var n,t=jn(s),i=t.on,o=t.emit,a=e.Elements,f=e.Slides,r=e.Direction.resolve,l=[];function u(){(n=g())&&(function(o){var r=f.get().slice(),u=r.length;if(u){for(;r.lengthg(S(!0));return e||t}return{mount:function(){c=s.Transition,t([bn,zn,Dn,kn],m)},move:function(n,t,e,i){var o,r,u=x();n!==t&&(o=t=S()?s-1:n)/c)}function L(n){n!==y&&(b=y,y=n)}function A(){return!z(u.focus)||u.isNavigation}function k(){return r.state.is([j,W])&&!!u.waitForTransition}return{mount:function(){w(),n([Dn,kn],w)},go:function(n,t,e){var i;k()||-1<(n=x(i=function(n){var t=y;{var e,i;M(n)?(i=n.match(/([+\-<>])(\d+)?/)||[],e=i[1],i=i[2],"+"===e||"-"===e?t=_(y+ +(""+e+(+i||1)),y):">"===e?t=i?P(+i):v(!0):"<"===e&&(t=m(!0))):t=g?n:gn(n,0,S())}return t}(n)))&&(t||n!==y)&&(L(n),a.move(i,n,b,e))},scroll:function(n,t,e,i){o.Scroll.scroll(n,t,e,function(){L(x(a.toIndex(a.getPosition()))),i&&i()})},getNext:v,getPrev:m,getAdjacent:E,getEnd:S,setIndex:L,getIndex:function(n){return n?b:y},toIndex:P,toPage:C,toDest:function(n){return n=a.toIndex(n),h?gn(n,0,S()):n},hasFocus:A,isBusy:k}},Arrows:function(o,n,t){var e,i,r=jn(o),u=r.on,s=r.bind,c=r.emit,a=t.classes,f=t.i18n,l=n.Elements,d=n.Controller,p=l.arrows,g=l.track,h=p,v=l.prev,m=l.next,y={};function b(){!function(){var n=t.arrows;!n||v&&m||(h=p||F("div",a.arrows),v=x(!0),m=x(!1),e=!0,C(h,[v,m]),p||L(h,g));v&&m&&(I(y,{prev:v,next:m}),Y(h,n?"":"none"),P(h,i=ot+"--"+t.direction),n&&(u([En,kn,Nn],S),s(m,"click",D(_,">")),s(v,"click",D(_,"<")),S(),O([v,m],Xn,g.id),c("arrows:mounted",v,m)))}(),u(Dn,w)}function w(){E(),b()}function E(){r.destroy(),tn(h,i),e?(Q(p?[v,m]:h),v=m=null):R([v,m],Vn)}function _(n){d.go(n,!0)}function x(n){return V('