function _defineProperties(n,t){for(var e=0;e=i))return f();h(l)}}function f(){c=!0}function d(){r&&cancelAnimationFrame(r),c=!(r=s=0)}return{start:function(n){n||d(),o=u()-(n?s*t:0),c=!1,h(l)},rewind:function(){o=u(),s=0,e&&e(s)},pause:f,cancel:d,set:function(n){t=n},isPaused:function(){return c}}}function a(n){var t=n;return{set:function(n){t=n},is:function(n){return b(g(n),t)}}}var n="Arrow",Yn=n+"Left",qn=n+"Right",l=n+"Up",n=n+"Down",Un="ttb",f={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[l,qn],ArrowRight:[n,Yn]};var Q="role",Kn="tabindex",t="aria-",Jn=t+"controls",Qn=t+"current",Vn=t+"selected",V=t+"label",Zn=t+"labelledby",$n=t+"hidden",nt=t+"orientation",tt=t+"roledescription",et=t+"live",it=t+"busy",ot=t+"atomic",rt=[Q,Kn,"disabled",Jn,Qn,V,Zn,$n,nt,tt],ut=E,st=E+"__track",ct=E+"__list",at=E+"__slide",lt=at+"--clone",ft=at+"__container",dt=E+"__arrows",pt=E+"__arrow",ht=pt+"--prev",vt=pt+"--next",gt=E+"__pagination",mt=gt+"__page",yt=E+"__progress"+"__bar",bt=E+"__toggle",wt=E+"__sr",Z="is-active",Et="is-prev",St="is-next",xt="is-visible",_t="is-loading",Ct="is-focus-in",Pt=[Z,xt,Et,St,_t,Ct];var kt="touchstart mousedown",Lt="touchmove mousemove",At="touchend touchcancel mouseup click";var Dt="slide",Mt="loop",zt="fade";function Nt(o,i,t,r){var u,n=J(o),e=n.on,s=n.emit,c=n.bind,a=o.Components,l=o.root,f=o.options,d=f.isNavigation,p=f.updateOnMove,h=f.i18n,v=f.pagination,g=f.slideFocus,m=a.Direction.resolve,y=I(r,"style"),b=I(r,V),w=-1r.perPage}}},Layout:function(n,t,e){var i,o,r=(c=J(n)).on,u=c.bind,s=c.emit,c=t.Slides,a=t.Direction.resolve,l=(t=t.Elements).root,f=t.track,d=t.list,p=c.getAt,h=c.style;function v(){o=null,i=e.direction===Un,L(l,"maxWidth",S(e.width)),L(f,a("paddingLeft"),m(!1)),L(f,a("paddingRight"),m(!0)),g()}function g(){var n=F(l);o&&o.width===n.width&&o.height===n.height||(L(f,"height",function(){var n="";i&&(yn(n=y(),"height or heightRatio is missing."),n="calc("+n+" - "+m(!1)+" - "+m(!0)+")");return n}()),h(a("marginRight"),S(e.gap)),h("width",e.autoWidth?null:S(e.fixedWidth)||(i?"":b())),h("height",S(e.fixedHeight)||(i?e.autoHeight?null:b():y()),!0),o=n,s(jn))}function m(n){var t=e.padding,n=a(n?"right":"left");return t&&S(t[n]||(tn(t)?0:t))||"0px"}function y(){return S(e.height||F(d).width*e.heightRatio)}function b(){var n=S(e.gap);return"calc((100%"+(n&&" + "+n)+")/"+(e.perPage||1)+(n&&" - "+n)+")"}function w(n,t){var e,n=p(n);return n?(n=F(n.slide)[a("right")],e=F(d)[a("left")],B(n-e)+(t?0:E())):0}function E(){var n=p(0);return n&&parseFloat(L(n.slide,a("marginRight")))||0}return{mount:function(){var n,t,e;v(),u(window,"resize load",(n=D(s,x),function(){e||(e=Hn(t||0,function(){n(),e=null},null,1)).start()})),r([U,q],v),r(x,g)},listSize:function(){return F(d)[a("width")]},slideSize:function(n,t){return(n=p(n||0))?F(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(L(f,a("padding"+(n?"Right":"Left"))))||0}}},Clones:function(s,e,c){var n,t=J(s),i=t.on,a=t.emit,l=e.Elements,f=e.Slides,o=e.Direction.resolve,d=[];function r(){if(n=h()){var o=n,r=f.get().slice(),u=r.length;if(u){for(;r.lengths.Controller.getEnd(),(t<0||e)&&(n=w(n,e)))}return n}(n),L(v,"transform","translate"+p("X")+"("+t+"px)"),n!==t&&c(Mn))}function w(n,t){var e=n-C(t),i=d();return n-=h(i*(En(B(e)/i)||1))*(t?1:-1)}function E(){b(_()),u.cancel()}function S(n){for(var t=s.Slides.get(),e=0,i=1/0,o=0;oh(C(!0));return e||n},reposition:m}},Controller:function(r,o,u){var s,c,a,n=J(r).on,l=o.Move,f=l.getPosition,i=l.getLimit,d=l.toPosition,t=o.Slides,p=t.isEnough,e=t.getLength,h=r.is(Mt),v=r.is(Dt),g=D(E,!1),m=D(E,!0),y=u.start||0,b=y;function w(){s=e(!0),c=u.perMove,a=u.perPage;var n=_n(y,0,s-1);n!==y&&(y=n,l.reposition())}function E(n,t){var e=c||(L()?1:a),e=S(y+e*(n?-1:1),y,!(c||L()));return-1===e&&v&&!Sn(f(),i(!n),1)?n?0:_():t?e:x(e)}function S(n,t,e){var i,o;return p()?(i=_(),(o=function(n){if(v&&"move"===u.trimSpace&&n!==y)for(var t=f();t===d(n,!0)&&xn(n,0,r.length-1,!u.rewind);)n=_()?s-1:n)/a)}function k(n){n!==y&&(b=y,y=n)}function L(){return!en(u.focus)||u.isNavigation}function A(){return r.state.is([R,$])&&!!u.waitForTransition}return{mount:function(){w(),n([U,q],w)},go:function(n,t,e){var i;A()||-1<(i=x(n=function(n){var t=y;{var e,i;M(n)?(i=n.match(/([+\-<>])(\d+)?/)||[],e=i[1],i=i[2],"+"===e||"-"===e?t=S(y+ +(""+e+(+i||1)),y):">"===e?t=i?C(+i):g(!0):"<"===e&&(t=m(!0))):t=h?n:_n(n,0,_())}return t}(n)))&&(t||i!==y)&&(k(i),l.move(n,i,b,e))},scroll:function(n,t,e,i){o.Scroll.scroll(n,t,e,function(){k(x(l.toIndex(f()))),i&&i()})},getNext:g,getPrev:m,getAdjacent:E,getEnd:_,setIndex:k,getIndex:function(n){return n?b:y},toIndex:C,toPage:P,toDest:function(n){return n=l.toIndex(n),v?_n(n,0,_()):n},hasFocus:L,isBusy:A}},Arrows:function(o,n,t){var e,i,r=J(o),u=r.on,s=r.bind,c=r.emit,a=t.classes,l=t.i18n,f=n.Elements,d=n.Controller,p=f.arrows,h=f.track,v=p,g=f.prev,m=f.next,y={};function b(){var n=t.arrows;!n||g&&m||(v=p||O("div",a.arrows),g=x(!0),m=x(!1),e=!0,P(v,[g,m]),p||on(v,h)),g&&m&&(an(y,{prev:g,next:m}),fn(v,n?"":"none"),z(v,i=dt+"--"+t.direction),n&&(u([Dn,q,K],_),s(m,"click",D(S,">")),s(g,"click",D(S,"<")),_(),T([g,m],Jn,h.id),c("arrows:mounted",g,m))),u(U,w)}function w(){E(),b()}function E(){r.destroy(),G(v,i),e?(j(p?[g,m]:v),g=m=null):N([g,m],rt)}function S(n){d.go(n,!0)}function x(n){return hn('