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 w(y(n),t)}}}var jn="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 Wn="role",Bn="tabindex",e="aria-",Gn=e+"controls",Hn=e+"current",Xn=e+"selected",Yn=e+"label",qn=e+"hidden",Un=e+"orientation",Kn=e+"roledescription",a=e+"atomic",Jn=e+"live",Qn=[Wn,Bn,"disabled",Gn,Hn,Yn,qn,Un,Kn,a,Jn],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",ct=st+"__page",at=tn+"__progress"+"__bar",ft=tn+"__toggle",lt=tn+"__sr",dt="is-active",pt="is-prev",gt="is-next",ht="is-visible",vt="is-loading",mt=[dt,ht,pt,gt,vt];var yt="slide",bt="loop",wt="fade";function Et(o,i,t,r){var u,n=On(o),e=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=l.live,y=a.Direction.resolve,b=Y(r,"style"),w=Y(r,Yn),E=w||pn(g.slideLabel,[i+1,o.length]),_=-1r.perPage}}},Layout:function(n,t,e){var i,o,r=(c=On(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===jn,H(f,"maxWidth",nn(e.width)),H(l,a("paddingLeft"),m(!1)),H(l,a("paddingRight"),m(!0)),v()}function v(){var n=U(f);o&&o.width===n.width&&o.height===n.height||(H(l,"height",function(){var n="";i&&(en(n=y(),"height or heightRatio is missing."),n="calc("+n+" - "+m(!1)+" - "+m(!0)+")");return n}()),g(a("marginRight"),nn(e.gap)),g("width",e.autoWidth?null:nn(e.fixedWidth)||(i?"":b())),g("height",nn(e.fixedHeight)||(i?e.autoHeight?null:b():y()),!0),o=n,s(Dn))}function m(n){var t=e.padding,n=a(n?"right":"left");return t&&nn(t[n]||(W(t)?0:t))||"0px"}function y(){return nn(e.height||U(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=U(e.slide)[a("right")],e=U(d)[a("left")];return cn(n-e)+(t?0:E())}return 0}function E(){var n=p(0);return n&&parseFloat(H(n.slide,a("marginRight")))||0}return{mount:function(){var n,t,e;h(),u(window,"resize load",(n=T(s,kn),function(){e||(e=Fn(t||0,function(){n(),e=null},null,1)).start()})),r([An,Ln],h),r(kn,v)},listSize:function(){return U(d)[a("width")]},slideSize:function(n,t){return(n=p(n||0))?U(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(H(l,a("padding"+(n?"Right":"Left"))))||0}}},Clones:function(s,e,c){var n,t=On(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([mn,Dn,An,Ln],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!M(u.focus)||u.isNavigation}function k(){return r.state.is([4,5])&&!!u.waitForTransition}return{mount:function(){w(),n([An,Ln],w)},go:function(n,t,e){var i;k()||-1<(n=x(i=function(n){var t=y;{var e,i;D(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:ln(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?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,c=r.emit,a=t.classes,f=t.i18n,l=n.Elements,d=n.Controller,p=l.arrows,g=p,h=l.prev,v=l.next,m={};function y(){!function(){var n=t.arrows;!n||h&&v||(g=p||G("div",a.arrows),h=_(!0),v=_(!1),e=!0,C(g,[h,v]),p||I(g,l.track));h&&v&&(A(m,{prev:h,next:v}),k(g,n?"":"none"),P(g,i=it+"--"+t.direction),n&&(u([bn,Ln,zn],x),s(v,"click",T(E,">")),s(h,"click",T(E,"<")),x(),F([h,v],Gn,l.list.id),c("arrows:mounted",h,v)))}(),u(An,b)}function b(){w(),y()}function w(){r.destroy(),Z(g,i),e?(K(p?[h,v]:g),h=v=null):O([h,v],Qn)}function E(n){d.go(n,!0)}function _(n){return z('