function _defineProperties(n,t){for(var e=0;e=o))return l();p(f)}}function l(){a=!0}function d(){cancelAnimationFrame(n),a=!(n=s=0)}return{start:function(n){n||d(),r=u()-(n?s*t:0),a=!1,p(f)},rewind:function(){r=u(),s=0,i&&i(s)},pause:l,cancel:d,set:function(n){t=n},isPaused:function(){return a}}}function s(n){var t=n;return{set:function(n){t=n},is:function(n){return w(y(n),t)}}}function jn(e,i){var o;return function(){var n,t=this;o||(n=S(arguments),(o=Fn(i||0,function(){e.apply(t,n),o=null},null,1)).start())}}var Wn="ttb",a={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 Bn="role",Gn="tabindex",e="aria-",Hn=e+"controls",Xn=e+"current",Yn=e+"selected",qn=e+"label",Un=e+"hidden",Kn=e+"orientation",Jn=e+"roledescription",c=e+"atomic",f=e+"live",Qn=[Bn,Gn,"disabled",Hn,Xn,qn,Un,Kn,Jn,c,f],Vn=tn,Zn=tn+"__track",$n=tn+"__list",nt=tn+"__slide",tt=nt+"--clone",et=nt+"__container",it=tn+"__arrows",ot=tn+"__arrow",rt=ot+"--prev",ut=ot+"--next",st=tn+"__pagination",at=st+"__page",ct=tn+"__progress"+"__bar",ft=tn+"__autoplay",lt=tn+"__play",dt=tn+"__pause",pt=tn+"__sr",ht="is-active",gt="is-prev",vt="is-next",mt="is-visible",yt="is-loading",bt=[ht,mt,gt,vt,yt];var wt="slide",_t="loop",Et="fade";function xt(o,i,t,r){var u,n=On(o),e=n.on,s=n.emit,a=n.bind,c=o.Components,f=o.root,l=o.options,d=l.isNavigation,p=l.updateOnMove,h=l.i18n,g=l.pagination,v=l.slideFocus,m=c.Direction.resolve,y=X(r,"style"),b=X(r,qn),w=-1r.perPage}}},Layout:function(n,t,e){var i,o,r=(a=On(n)).on,u=a.bind,s=a.emit,a=t.Slides,c=t.Direction.resolve,f=(t=t.Elements).root,l=t.track,d=t.list,p=a.getAt,h=a.style;function g(){o=null,i=e.direction===Wn,G(f,"maxWidth",nn(e.width)),G(l,c("paddingLeft"),m(!1)),G(l,c("paddingRight"),m(!0)),v()}function v(){var n=q(f);o&&o.width===n.width&&o.height===n.height||(G(l,"height",function(){var n="";i&&(en(n=y(),"height or heightRatio is missing."),n="calc("+n+" - "+m(!1)+" - "+m(!0)+")");return n}()),h(c("marginRight"),nn(e.gap)),h("width",(e.autoWidth?"":nn(e.fixedWidth)||(i?"":b()))||null),h("height",nn(e.fixedHeight)||(i?e.autoHeight?"":b():y())||null,!0),o=n,s(kn))}function m(n){var t=e.padding,n=c(n?"right":"left");return t&&nn(t[n]||(j(t)?0:t))||"0px"}function y(){return nn(e.height||q(d).width*e.heightRatio)}function b(){var n=nn(e.gap);return"calc((100%"+(n&&" + "+n)+")/"+(e.perPage||1)+(n&&" - "+n)+")"}function w(n,t){var e=p(n);if(e){n=q(e.slide)[c("right")],e=q(d)[c("left")];return an(n-e)+(t?0:_())}return 0}function _(){var n=p(0);return n&&parseFloat(G(n.slide,c("marginRight")))||0}return{mount:function(){g(),u(window,"resize load",jn(D(s,An))),r([Ln,Cn],g),r(An,v)},listSize:function(){return q(d)[c("width")]},slideSize:function(n,t){return(n=p(n||0))?q(n.slide)[c("width")]+(t?0:_()):0},sliderSize:function(){return w(n.length-1,!0)-w(-1,!0)},totalSize:w,getPadding:function(n){return parseFloat(G(l,c("padding"+(n?"Right":"Left"))))||0}}},Clones:function(s,e,a){var n,t=On(s),i=t.on,o=t.emit,c=e.Elements,f=e.Slides,r=e.Direction.resolve,l=[];function u(){(n=h())&&(function(o){var r=f.get().slice(),u=r.length;if(u){for(;r.lengthh(S(!0));return e||t}return{mount:function(){a=s.Transition,t([vn,kn,Ln,Cn],m)},move:function(n,t,e,i){var o,r,u=x();n!==t&&(o=t=S()?s-1:n)/a)}function L(n){n!==y&&(b=y,y=n)}function A(){return!z(u.focus)||u.isNavigation}function k(){return r.state.is([4,5])&&!!u.waitForTransition}return{mount:function(){w(),n([Ln,Cn],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=E(y+ +(""+e+(+i||1)),y):">"===e?t=i?P(+i):v(!0):"<"===e&&(t=m(!0))):t=h?n:ln(n,0,S())}return t}(n)))&&(t||n!==y)&&(L(n),c.move(i,n,b,e))},scroll:function(n,t,e,i){o.Scroll.scroll(n,t,e,function(){L(x(c.toIndex(c.getPosition()))),i&&i()})},getNext:v,getPrev:m,getAdjacent:_,getEnd:S,setIndex:L,getIndex:function(n){return n?b:y},toIndex:P,toPage:C,toDest:function(n){return n=c.toIndex(n),g?ln(n,0,S()):n},hasFocus:A,isBusy:k}},Arrows:function(o,n,t){var e,i,r=On(o),u=r.on,s=r.bind,a=r.emit,c=t.classes,f=t.i18n,l=n.Elements,d=n.Controller,p=l.arrows,h=p,g=l.prev,v=l.next,m={};function y(){!function(){var n=t.arrows;!n||g&&v||(h=p||B("div",c.arrows),g=E(!0),v=E(!1),e=!0,C(h,[g,v]),p||N(h,l.track));g&&v&&(A(m,{prev:g,next:v}),k(h,n?"":"none"),P(h,i=it+"--"+t.direction),n&&(u([yn,Cn,zn],x),s(v,"click",D(_,">")),s(g,"click",D(_,"<")),x(),O([g,v],Hn,l.list.id),a("arrows:mounted",g,v)))}(),u(Ln,b)}function b(){w(),y()}function w(){r.destroy(),Z(h,i),e?(U(p?[g,v]:h),g=v=null):R([g,v],Qn)}function _(n){d.go(n,!0)}function E(n){return K('