PageSourceSearch

https://keralamirror.in/wp-content/themes/kadence/assets/js/splide.min.js?ver=1.3.3

js keralamirror.in collected 2026-10-09 18:13:49 UTC 31,820 bytes, 6 lines download raw bytes

1function _defineProperties(e,t){for(var s,o=0;o<t.length;o++)s=t[o],s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}function _createClass(e,t,i){return t&&_defineProperties(e.prototype,t),i&&_defineProperties(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e}/*!
2 * Splide.js
3 * Version  : 4.0.1
4 * License  : MIT
5 * Copyright: 2022 Naotoshi Fujita
6 */(function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"==typeof globalThis?e||self:globalThis,e.Splide=t())})(this,function(){"use strict";function e(e){e.length=0}function t(e,t,i){return Array.prototype.slice.call(e,t,i)}function s(e){return e.bind.apply(e,[null].concat(t(arguments,1)))}function o(e){return requestAnimationFrame(e)}function a(e,t){return typeof t===e}function r(e){return!n(e)&&a("object",e)}function n(e){return null===e}function l(e){return e instanceof HTMLElement}function d(e){return ce(e)?e:[e]}function c(e,t){d(e).forEach(t)}function p(e,t){return-1<e.indexOf(t)}function u(e,t){return e.push.apply(e,d(t)),e}function g(e,t,i){e&&c(t,function(t){t&&e.classList[i?"add":"remove"](t)})}function h(e,t){g(e,ue(t)?t.split(" "):t,!0)}function m(e,t){c(t,e.appendChild.bind(e))}function y(e,t){c(e,function(e){var i=(t||e).parentNode;i&&i.insertBefore(e,t)})}function f(e,t){return l(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function v(e,i){var s=e?t(e.children):[];return i?s.filter(function(e){return f(e,i)}):s}function b(e,t){return t?v(e,t)[0]:e.firstElementChild}function _(e,t,s){if(e){var o=he(e);o=s?o.reverse():o;for(var a,r=0;r<o.length&&(a=o[r],"__proto__"===a||!1!==t(e[a],a));r++);}return e}function w(e){return t(arguments,1).forEach(function(t){_(t,function(i,s){e[s]=t[s]})}),e}function x(e){return t(arguments,1).forEach(function(t){_(t,function(t,i){e[i]=ce(t)?t.slice():r(t)?x({},r(e[i])?e[i]:{},t):t})}),e}function E(e,t){d(t||he(e)).forEach(function(t){delete e[t]})}function S(e,t){c(e,function(e){c(t,function(t){e&&e.removeAttribute(t)})})}function k(e,t,i){r(t)?_(t,function(t,i){k(e,i,t)}):c(e,function(e){n(i)||""===i?S(e,t):e.setAttribute(t,i+"")})}function P(e,t,i){var s=document.createElement(e);return t&&(ue(t)?h(s,t):k(s,t)),i&&m(i,s),s}function C(e,t,i){return ge(i)?getComputedStyle(e)[t]:void(!n(i)&&(e.style[t]=""+i))}function L(e,t){C(e,"display",t)}function z(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function A(e,t){return e.getAttribute(t)}function D(e,t){return e&&e.classList.contains(t)}function N(e){return e.getBoundingClientRect()}function I(e){c(e,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function M(e){return b(new DOMParser().parseFromString(e,"text/html").body)}function R(t,e){t.preventDefault(),e&&(t.stopPropagation(),t.stopImmediatePropagation())}function T(e,t){return e&&e.querySelector(t)}function O(e,i){return i?t(e.querySelectorAll(i)):[]}function F(e,t){g(e,t,!1)}function W(t){return t.timeStamp}function j(e){return ue(e)?e:e?e+"px":""}function G(e,t){if(!e)throw new Error("[splide] "+(t||""))}function X(e,t,i){return we(e-t)<i}function B(e,t,i,s){var o=fe(t,i),a=ve(t,i);return s?o<e&&e<a:o<=e&&e<=a}function H(e,t,i){var s=fe(t,i),o=ve(t,i);return fe(ve(s,e),o)}function Y(e){return+(0<e)-+(0>e)}function U(e,t){return c(t,function(t){e=e.replace("%s",""+t)}),e}function q(e){return 10>e?"0"+e:""+e}function K(e){return""+e+q(xe[e]=(xe[e]||0)+1)}function J(){function t(e,t,i){c(e,function(e){e&&c(t,function(t){t.split(" ").forEach(function(t){var s=t.split(".");i(e,s[0],s[1])})})})}function i(){s.forEach(function(e){e[4]()}),e(s)}var s=[];return{bind:function r(e,i,o,a){t(e,i,function(e,t,i){var r=("addEventListener"in e),n=r?e.removeEventListener.bind(e,t,o,a):e.removeListener.bind(e,o);r?e.addEventListener(t,o,a):e.addListener(o),s.push([e,t,i,o,n])})},unbind:function a(e,i,o){t(e,i,function(e,t,i){s=s.filter(function(s){return!!(s[0]!==e||s[1]!==t||s[2]!==i||o&&s[3]!==o)||(s[4](),!1)})})},dispatch:function o(t,i,s){var a,r=!0;return"function"==typeof CustomEvent?a=new CustomEvent(i,{bubbles:r,detail
6:s}):(a=document.createEvent("CustomEvent"),a.initCustomEvent(i,r,!1,s)),t.dispatchEvent(a),a},destroy:i}}function Q(e){function i(e,t){r.bind(a,d(e).join(" "),function(i){t.apply(t,ce(i.detail)?i.detail:[])})}function o(e){r.dispatch(a,e,t(arguments,1))}var a=e?e.event.bus:document.createDocumentFragment(),r=J();return e&&e.event.on("destroy",r.destroy),w(r,{bus:a,on:i,off:s(r.unbind,a),emit:o})}function V(e,t,i,s){function a(){if(!y){if(m=e?fe((h()-u)/e,1):1,i&&i(m),1<=m&&(t(),u=h(),s&&++f>=s))return n();o(a)}}function r(t){t||d(),u=h()-(t?m*e:0),y=!1,o(a)}function n(){y=!0}function l(){u=h(),m=0,i&&i(m)}function d(){g&&cancelAnimationFrame(g),m=0,g=0,y=!0}function c(t){e=t}function p(){return y}var u,g,h=Date.now,m=0,y=!0,f=0;return{start:r,rewind:l,pause:n,cancel:d,set:c,isPaused:p}}function Z(e){function t(e){s=e}function i(e){return p(d(e),s)}var s=e;return{set:t,is:i}}function $(e,t){function i(){s||(s=V(t||0,function(){e(),s=null},null,1),s.start())}var s;return i}function ee(e,t){if(pe(e.closest))return e.closest(t);for(var i=e;i&&1===i.nodeType&&!f(i,t);)i=i.parentElement;return i}function te(e,t,i,o){function a(){H||(o.id=L.id+"-slide"+q(t+1),k(o,"role",W?"tabpanel":"group"),k(o,"aria-roledescription",T.slide),k(o,"aria-label",B||U(T.slideLabel,[t+1,e.length]))),r()}function r(){E(o,"click",s(x,"click",J)),E(o,"keydown",s(x,"slide:keydown",J)),w(["moved","shifted","scrolled"],c),w("navigation:mounted",l),R&&w("move",d)}function n(){v=!0,_.destroy(),F(o,Oe),S(o,Ie),k(o,"style",X),k(o,"aria-label",B||"")}function l(){var s=e.splides.map(function(e){var i=e.splide.Components.Slides.getAt(t);return i?i.slide.id:""}).join(" ");k(o,"aria-label",U(T.slideX,(H?i:t)+1)),k(o,"aria-controls",s),k(o,"role",j?"button":""),j&&S(o,"aria-roledescription")}function d(){v||c()}function c(){if(!v){var i=e.index;p(),u(),g(o,"is-prev",t===i-1),g(o,"is-next",t===i+1)}}function p(){var e=m();e!==D(o,"is-active")&&(g(o,"is-active",e),k(o,"aria-current",M&&e||""),x(e?"active":"inactive",J))}function u(){var t=y(),i=!t&&(!m()||H);if(e.state.is([4,5])||k(o,"aria-hidden",i||""),k(K,"tabindex",i?-1:""),j&&k(o,"tabindex",i?-1:0),t!==D(o,"is-visible")&&(g(o,"is-visible",t),x(t?"visible":"hidden",J)),!t&&document.activeElement===o){var s=P.Slides.getAt(e.index);s&&z(s.slide)}}function h(e,t,i){C(i&&Y||o,e,t)}function m(){var s=e.index;return s===t||I.cloneStatus&&s===i}function y(){if(e.is("fade"))return m();var t=N(P.Elements.track),i=N(o),s=G("left"),a=G("right");return be(t[s])<=_e(i[s])&&be(i[a])<=_e(t[a])}function f(i,s){var o=we(i-t);return!H&&(I.rewind||e.is("loop"))&&(o=fe(o,e.length-o)),o<=s}var v,_=Q(e),w=_.on,x=_.emit,E=_.bind,P=e.Components,L=e.root,I=e.options,M=I.isNavigation,R=I.updateOnMove,T=I.i18n,W=I.pagination,j=I.slideFocus,G=P.Direction.resolve,X=A(o,"style"),B=A(o,"aria-label"),H=-1<i,Y=b(o,".splide__slide__container"),K=O(o,I.focusableNodes||""),J={index:t,slideIndex:i,slide:o,container:Y,isClone:H,mount:a,destroy:n,update:c,style:h,isWithin:f};return J}function ie(e){return e=ue(e)?e:e.key,We[e]||e}function se(e,t,i){function s(){r(["mounted","refresh"],function(){le(function(){t.Slides.style("transition","opacity "+i.speed+"ms "+i.easing)})})}function o(e,i){var s=t.Elements.track;C(s,"height",j(N(s).height)),le(function(){i(),C(s,"height","")})}var a=Q(e),r=a.on;return{mount:s,start:o,cancel:de}}function oe(e,t,i){function o(){c(h,"transitionend",function(t){t.target===h&&l&&(r(),l())})}function a(e,t){var s=p.toPosition(e,!0),o=p.getPosition(),a=n(e);1<=we(s-o)&&1<=a?i.useScroll?g.scroll(s,a,!1,t):(m("transform "+a+"ms "+i.easing),p.translate(s,!0),l=t):(p.jump(e),t())}function r(){m(""),g.cancel()}function n(t){var s=i.rewindSpeed;if(e.is("slide")&&s){var o=u.getIndex(!0),a=u.getEnd();if(0===o&&t>=a||o>=a&&0===t)return s}return i.speed}var l,d=Q(e),c=d.bind,p=t.Move,u=t.Controller,g=t.Scroll,h=t.Elements.list,m=s(C,h,"transition");return{mount:o,start:a,cancel:r}}var ae=1,re=3,ne=7,le=setTimeout,de=function e(){},ce=Array.isArray,pe=s(a,"function"),ue=s(a,"string"),ge=s(a,"undefined"),he=Object.keys,me="splide",ye="data-"+me,fe=Math.min,ve=Math.max,be=Math.floor,_e=Math.ceil,we=Math.abs,xe={},Ee="ready",Se="Arrow",ke=Se+"Left",Pe=Se+"Right",Ce=Se+"Up",Le=Se+"Down",ze={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Ce,Pe],ArrowRight:[Le,ke]},Ae="aria-",De=Ae+"label",Ne=Ae+"labelledby",Ie=["role","tabindex","disabled",Ae+"controls",Ae+"current",De,Ne,Ae+"hidden",Ae+"orientation",Ae+"roledescription"],Me=me+"__slide",Re=me+"__arrow",Te=me+"__pagination",Oe=["is-active","is-visible","is-prev","is-next","is-loading","is-focus-in"],Fe={passive:!1,capture:!0},We={Spacebar:" ",Right:Pe,Left:ke,Up:Ce,Down:Le}
6,je=ye+"-lazy",Ge=[" ","Enter"],Xe=Object.freeze({__proto__:null,Media:function s(e,t,i){function o(){var e="min"===i.mediaQuery;he(p).sort(function(t,i){return e?+t-+i:+i-+t}).forEach(function(t){r(p[t],"("+(e?"min":"max")+"-width:"+t+"px)")}),r(u,"(prefers-reduced-motion: reduce)"),n()}function a(e){e&&g.destroy()}function r(e,t){var i=matchMedia(t);g.bind(i,"change",n),h.push([e,i])}function n(){var t=c.is(7),s=i.direction,o=h.reduce(function(e,t){return x(e,t[1].matches?t[0]:{})},{});E(i),d(o),i.destroy?e.destroy("completely"===i.destroy):t?(a(!0),e.mount()):s!==i.direction&&e.refresh()}function l(e){matchMedia("(prefers-reduced-motion: reduce)").matches&&(e?x(i,u):E(i,he(u)))}function d(t,s){x(i,t),s&&x(Object.getPrototypeOf(i),t),c.is(1)||e.emit("updated",i)}var c=e.state,p=i.breakpoints||{},u=i.reducedMotion||{},g=J(),h=[];return{setup:o,destroy:a,reduce:l,set:d}},Direction:function s(e,t,i){function o(e,t,s){s=s||i.direction;var o="rtl"!==s||t?"ttb"===s?0:-1:1;return ze[e]&&ze[e][o]||e.replace(/width|left|right/i,function(e,t){var i=ze[e.toLowerCase()][o]||e;return 0<t?i.charAt(0).toUpperCase()+i.slice(1):i})}function a(e){return e*("rtl"===i.direction?1:-1)}return{resolve:o,orient:a}},Elements:function o(t,i,s){function a(){d(),c(),l()}function r(){P("refresh",n),P("refresh",a),P("updated",l),C(document,"touchstart mousedown keydown",function(t){x="keydown"===t.type},{capture:!0}),C(L,"focusin",function(){g(L,"is-focus-in",!!x)})}function n(t){var i=Ie.concat("style");e(N),F(L,I),F(y,M),S([y,f],i),S(L,t?i:["style","aria-roledescription"])}function l(){F(L,I),F(y,M),I=m("splide"),M=m("splide__track"),h(L,I),h(y,M),k(L,"aria-label",s.label),k(L,"aria-labelledby",s.labelledby)}function d(){y=p(".splide__track"),f=b(y,".splide__list"),G(y&&f,"A track/list element is missing."),u(N,v(f,".splide__slide:not(.splide__slide--clone)")),_({arrows:"splide__arrows",pagination:"splide__pagination",prev:"splide__arrow--prev",next:"splide__arrow--next",bar:"splide__progress__bar",toggle:"splide__toggle"},function(e,t){D[t]=p("."+e)}),w(D,{root:L,track:y,list:f,slides:N})}function c(){var e=L.id||K("splide"),t=s.role;L.id=e,y.id=y.id||e+"-track",f.id=f.id||e+"-list",!A(L,"role")&&"SECTION"!==L.tagName&&t&&k(L,"role",t),k(L,"aria-roledescription",z.carousel),k(f,"role","presentation")}function p(e){var t=T(L,e);return t&&ee(t,".splide")===L?t:void 0}function m(e){return[e+"--"+s.type,e+"--"+s.direction,s.drag&&e+"--draggable",s.isNavigation&&e+"--nav","splide"===e&&"is-active"]}var y,f,x,E=Q(t),P=E.on,C=E.bind,L=t.root,z=s.i18n,D={},N=[],I=[],M=[];return w(D,{setup:a,mount:r,destroy:n})},Slides:function a(t,i,o){function r(){n(),D("refresh",u),D("refresh",n),D(["mounted","refresh"],function(){j.sort(function(e,t){return e.index-t.index})})}function n(){F.forEach(function(e,t){v(e,t,-1)})}function u(){S(function(e){e.destroy()}),e(j)}function g(){S(function(e){e.update()})}function v(e,i,s){var o=te(t,i,s,e);o.mount(),j.push(o)}function b(e){return e?k(function(e){return!e.isClone}):j}function _(e){var t=i.Controller,s=t.toIndex(e),a=t.hasFocus()?1:o.perPage;return k(function(e){return B(e.index,s,s+a-1)})}function w(e){return k(e)[0]}function x(e,t){c(e,function(e){if(ue(e)&&(e=M(e)),l(e)){var i=F[t];i?y(e,i):m(W,e),h(e,o.classes.slide),C(e,s(N,"resize"))}}),N("refresh")}function E(e){I(k(e).map(function(e){return e.slide})),N("refresh")}function S(e,t){b(t).forEach(e)}function k(e){return j.filter(pe(e)?e:function(t){return ue(e)?f(t.slide,e):p(d(e),t.index)})}function P(e,t,i){S(function(s){s.style(e,t,i)})}function C(e,t){var i=O(e,"img"),s=i.length;s?i.forEach(function(e){R(e,"load error",function(){--s||t()})}):t()}function L(e){return e?F.length:j.length}function z(){return j.length>o.perPage}var A=Q(t),D=A.on,N=A.emit,R=A.bind,T=i.Elements,F=T.slides,W=T.list,j=[];return{mount:r,destroy:u,update:g,register:v,get:b,getIn:_,getAt:w,add:x,remove:E,forEach:S,filter:k,style:P,getLength:L,isEnough:z}},Layout:function o(e,t,i){function a(){n(),k(window,"resize load",$(s(P,"resize"))),S(["updated","refresh"],n),S("resize",l)}
6function n(){x=null,w="ttb"===i.direction,C(D,"maxWidth",j(i.width)),C(I,z("paddingLeft"),d(!1)),C(I,z("paddingRight"),d(!0)),l()}function l(){var e=N(D);x&&x.width===e.width&&x.height===e.height||(C(I,"height",c()),T(z("marginRight"),j(i.gap)),T("width",u()),T("height",g(),!0),x=e,P("resized"))}function d(e){var t=i.padding,s=z(e?"right":"left");return t&&j(t[s]||(r(t)?0:t))||"0px"}function c(){var e="";return w&&(e=p(),G(e,"height or heightRatio is missing."),e="calc("+e+" - "+d(!1)+" - "+d(!0)+")"),e}function p(){return j(i.height||N(M).width*i.heightRatio)}function u(){return i.autoWidth?null:j(i.fixedWidth)||(w?"":h())}function g(){return j(i.fixedHeight)||(w?i.autoHeight?null:h():p())}function h(){var e=j(i.gap);return"calc((100%"+(e&&" + "+e)+")/"+(i.perPage||1)+(e&&" - "+e)+")"}function m(){return N(M)[z("width")]}function y(e,t){var i=R(e||0);return i?N(i.slide)[z("width")]+(t?0:b()):0}function f(e,t){var i=R(e);if(i){var s=N(i.slide)[z("right")],o=N(M)[z("left")];return we(s-o)+(t?0:b())}return 0}function v(){return f(e.length-1,!0)-f(-1,!0)}function b(){var e=R(0);return e&&parseFloat(C(e.slide,z("marginRight")))||0}function _(e){return parseFloat(C(I,z("padding"+(e?"Right":"Left"))))||0}var w,x,E=Q(e),S=E.on,k=E.bind,P=E.emit,L=t.Slides,z=t.Direction.resolve,A=t.Elements,D=A.root,I=A.track,M=A.list,R=L.getAt,T=L.style;return{mount:a,listSize:m,slideSize:y,sliderSize:v,totalSize:f,getPadding:_}},Clones:function o(t,i,s){function a(){r(),v("refresh",n),v("refresh",r),v(["updated","resize"],l)}function r(){(g=p())&&(d(g),b("resize"))}function n(){I(E),e(E)}function l(){g<p()&&b("refresh")}function d(e){var t=w.get().slice(),i=t.length;if(i){for(;t.length<e;)u(t,t);u(t.slice(-e),t.slice(0,e)).forEach(function(s,o){var a=o<e,r=c(s.slide,o);a?y(r,t[0].slide):m(_.list,r),u(E,r),w.register(r,o-e+(a?0:i),s.index)})}}function c(e,i){var o=e.cloneNode(!0);return h(o,s.classes.clone),o.id=t.root.id+"-clone"+q(i+1),o}function p(){var e=s.clones;if(!t.is("loop"))e=0;else if(!e){var o=s[x("fixedWidth")]&&i.Layout.slideSize(0),a=o&&_e(N(_.track)[x("width")]/o);e=a||s[x("autoWidth")]&&t.length||2*s.perPage}return e}var g,f=Q(t),v=f.on,b=f.emit,_=i.Elements,w=i.Slides,x=i.Direction.resolve,E=[];return{mount:a,destroy:n}},Move:function s(e,t,i){function o(){_=t.Transition,x(["mounted","resized","updated","refresh"],a)}function a(){t.Controller.isBusy()||(t.Scroll.cancel(),n(e.index),t.Slides.update())}function r(e,t,i,s){var o=h();e!==t&&v(e>t)&&(p(),l(c(o,e>t),!0)),S(4),E("move",t,i,e),_.start(t,function(){S(3),E("moved",t,i,e),s&&s()})}function n(e){l(g(e,!0))}function l(t,i){if(!e.is("fade")){var s=i?t:d(t);C(O,"transform","translate"+M("X")+"("+s+"px)"),t!==s&&E("shifted")}}function d(t){if(e.is("loop")){var i=R(t-h()),s=b(!1,t)&&0>i,o=b(!0,t)&&0<i;(s||o)&&(t=c(t,o))}return t}function c(e,t){var i=e-f(t),s=D();return e-=R(s*(_e(we(i)/s)||1))*(t?1:-1),e}function p(){l(h()),_.cancel()}function u(e){for(var s=t.Slides.get(),o=0,a=1/0,r=0;r<s.length;r++){var n=s[r].index,l=we(g(n,!0)-e);if(l<=a)a=l,o=n;else break}return o}function g(e,t){var i=R(z(e-1)-y(e));return t?m(i):i}function h(){var e=M("left");return N(O)[e]-N(F)[e]+R(L(!1))}function m(t){return i.trimSpace&&e.is("slide")&&(t=H(t,0,R(D()-A()))),t}function y(e){var t=i.focus;return"center"===t?(A()-P(e,!0))/2:+t*P(e)||0}function f(e){return g(e?t.Controller.getEnd():0,!!i.trimSpace)}function v(e){var t=R(c(h(),e));return e?0<=t:t<=O["scroll"+M("Width")]-N(F)[M("width")]}function b(e,t){t=ge(t)?h():t;var i=!0!==e&&R(t)<R(f(!1)),s=!1!==e&&R(t)>R(f(!0));return i||s}var _,w=Q(e),x=w.on,E=w.emit,S=e.state.set,k=t.Layout,P=k.slideSize,L=k.getPadding,z=k.totalSize,A=k.listSize,D=k.sliderSize,I=t.Direction,M=I.resolve,R=I.orient,T=t.Elements,O=T.list,F=T.track;return{mount:o,move:r,jump:n,translate:l,shift:c,cancel:p,toIndex:u,toPosition:g,getPosition:h,getLimit:f,exceededLimit:b,reposition:a}},Controller:function o(e,t,i){function a(){r(),P(["updated","refresh"],r)}function r(){x=I(!0),E=i.perMove,S=i.perPage;var e=H(F,0,x-1);e!==F&&(F=e,C.reposition())}function n(e,t,i){if(!w()){var s=d(e),o=g(s);-1<o&&(t||o!==F)&&(v(o),C.move(s,o,W,i))}}function l(e,i,s,o){t.Scroll.scroll(e,i,s,function(){v(g(C.toIndex(C.getPosition()))),o&&o()})}function d(e){var t=F;if(ue(e)){var i=e.match(/([+\-<>])(\d+)?/)||[],s=i[1],o=i[2];"+"===s||"-"===s?t=p(F+ +(""+s+(+o||1)),F):">"===s?t=o?m(+o):T(!0):"<"===s&&(t=O(!0))}else t=M?e:H(e,0,h());return t}function c(e,t){var i=E||(_()?1:S),s=p(F+i*(e?-1:1),F,!(E||_()));return-1===s&&R&&!X(L(),z(!e),1)?e?0:h():t?s:g(s)}function p(e,t,s){if(N()){var o=h(),a=u(e);a!==e&&(t=e,e=a,s=!1),0>e||e>o?B(0,e,t,!0)||B(o,t,e,!0)?e=m(y(e)):M?e=s?0>e?-(x%S||S):x:e:i.rewind?e=0>e?o:0:e=-1:s&&e!==t&&(e=m(y(t)+(e<t?-1:1)))}else e=-1;return e}
6function u(t){if(R&&"move"===i.trimSpace&&t!==F)for(var s=L();s===A(t,!0)&&B(t,0,e.length-1,!i.rewind);)t<F?--t:++t;return t}function g(e){return M?(e+x)%x||0:e}function h(){return ve(x-(_()||M&&E?1:S),0)}function m(e){return H(_()?e:S*e,0,h())}function y(e){return _()?e:be((e>=h()?x-1:e)/S)}function f(e){var t=C.toIndex(e);return R?H(t,0,h()):t}function v(e){e!==F&&(W=F,F=e)}function b(e){return e?W:F}function _(){return!ge(i.focus)||i.isNavigation}function w(){return e.state.is([4,5])&&!!i.waitForTransition}var x,E,S,k=Q(e),P=k.on,C=t.Move,L=C.getPosition,z=C.getLimit,A=C.toPosition,D=t.Slides,N=D.isEnough,I=D.getLength,M=e.is("loop"),R=e.is("slide"),T=s(c,!1),O=s(c,!0),F=i.start||0,W=F;return{mount:a,go:n,scroll:l,getNext:T,getPrev:O,getAdjacent:c,getEnd:h,setIndex:v,getIndex:b,toIndex:m,toPage:y,toDest:f,hasFocus:_,isBusy:w}},Arrows:function o(e,t,i){function a(){n(),_("updated",r)}function r(){l(),a()}function n(){var e=i.arrows;e&&!(O&&W)&&p(),O&&W&&(w(j,{prev:O,next:W}),L(T,e?"":"none"),h(T,v="splide__arrows--"+i.direction),e&&(d(),g(),k([O,W],"aria-controls",R.id),E("arrows:mounted",O,W)))}function l(){b.destroy(),F(T,v),f?(I(N?[O,W]:T),O=W=null):S([O,W],Ie)}function d(){_(["moved","refresh","scrolled"],g),x(W,"click",s(c,">")),x(O,"click",s(c,"<"))}function c(e){D.go(e,!0)}function p(){T=N||P("div",C.arrows),O=u(!0),W=u(!1),f=!0,m(T,[O,W]),N||y(T,R)}function u(e){var t="<button class=\""+C.arrow+" "+(e?C.prev:C.next)+"\" type=\"button\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 "+40+" "+40+"\" width=\""+40+"\" height=\""+40+"\" focusable=\"false\"><path d=\""+(i.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+"\" />";return M(t)}function g(){var t=e.index,i=D.getPrev(),s=D.getNext(),o=-1<i&&t<i?z.last:z.prev,a=-1<s&&t>s?z.first:z.next;O.disabled=0>i,W.disabled=0>s,k(O,"aria-label",o),k(W,"aria-label",a),E("arrows:updated",O,W,i,s)}var f,v,b=Q(e),_=b.on,x=b.bind,E=b.emit,C=i.classes,z=i.i18n,A=t.Elements,D=t.Controller,N=A.arrows,R=A.track,T=N,O=A.prev,W=A.next,j={};return{arrows:j,mount:a,destroy:l}},Autoplay:function s(e,t,i){function o(){P&&(a(),S&&k(S,"aria-controls",w.track.id),L||r(),d())}function a(){i.pauseOnHover&&f(E,"mouseenter mouseleave",function(t){u="mouseenter"===t.type,l()}),i.pauseOnFocus&&f(E,"focusin focusout",function(t){h="focusin"===t.type,l()}),S&&f(S,"click",function(){L?r():n(!0)}),y(["move","scroll","refresh"],b.rewind),y("move",p)}function r(){_()&&t.Slides.isEnough()&&(b.start(!i.resetProgress),h=u=L=!1,d(),v("autoplay:play"))}function n(e){void 0===e&&(e=!0),L=!!e,d(),_()||(b.pause(),v("autoplay:pause"))}function l(){L||(u||h?n(!1):r())}function d(){S&&(g(S,"is-active",!L),k(S,"aria-label",i.i18n[L?"play":"pause"]))}function c(e){var t=w.bar;t&&C(t,"width",100*e+"%"),v("autoplay:playing",e)}function p(e){var s=t.Slides.getAt(e);b.set(s&&+A(s.slide,"data-splide-interval")||i.interval)}var u,h,m=Q(e),y=m.on,f=m.bind,v=m.emit,b=V(i.interval,e.go.bind(e,">"),c),_=b.isPaused,w=t.Elements,x=t.Elements,E=x.root,S=x.toggle,P=i.autoplay,L="pause"===P;return{mount:o,destroy:b.cancel,play:r,pause:n,isPaused:_}},Cover:function o(e,t,i){function a(){i.cover&&(d("lazyload:loaded",s(n,!0)),d(["mounted","updated","refresh"],s(r,!0)))}function r(e){t.Slides.forEach(function(t){var i=b(t.container||t.slide,"img");i&&i.src&&n(e,i,t)})}function n(e,t,i){i.style("background",e?"center/cover no-repeat url(\""+t.src+"\")":"",!0),L(t,e?"none":"")}var l=Q(e),d=l.on;return{mount:a,destroy:s(r,!1)}},Scroll:function o(e,t,i){function a(){m("move",d),m(["updated","refresh"],c)}function r(e,i,o,a,r){var c=b();if(d(),o){var p=t.Layout.sliderSize(),h=Y(e)*p*be(we(e)/p)||0;e=v.toPosition(t.Controller.toDest(e%p))+h}var m=X(c,e,1);E=1,i=m?0:i||ve(we(e-c)/1.5,800),g=a,u=V(i,n,s(l,c,e,r),1),f(5),y("scroll"),u.start()}function n(){f(3),g&&g(),y("scrolled")}function l(t,i,s,o){var a=b(),n=t+(i-t)*p(o),l=(n-a)*E;x(a+l),e.is("slide")&&!s&&w()&&(E*=.6,10>we(l)&&r(_(w(!0)),600,!1,void 0,!0))}function d(){u&&u.cancel()}function c(){u&&!u.isPaused()&&(d(),n())}function p(e){var t=i.easingFunc;return t?t(e):1-Math.pow(1-e,4)}var u,g,h=Q(e),m=h.on,y=h.emit,f=e.state.set,v=t.Move,b=v.getPosition,_=v.getLimit,w=v.exceededLimit,x=v.translate,E=1;return{mount:a,destroy:d,scroll:r,cancel:c}},Drag:function o(t,i,s){function a(){G(K,"touchmove mousemove",de,Fe),G(K,"touchend touchcancel mouseup",de,Fe),G(K,"touchstart mousedown",l,Fe),G(K,"click",p,{capture:!0}),G(K,"dragstart",R),F(["mounted","updated"],n)}function n(){var e=s.drag;C(!e),D="free"===e}function l(t){if(I=!1,!M){var e=k(t);S(t.target)&&(e||!t.button)&&(q.isBusy()?R(t,!0):(T=e?K:window,N=B.is([4,5]),A=null,G(T,"touchmove mousemove",d,Fe),G(T,"touchend touchcancel mouseup",c,Fe),H.cancel(),U.cancel(),u(t)))}}function d(t){if(B.is(6)||(B.set(6),j("drag")),t.cancelable)if(N){H.translate(L+E(b(t)));var e=200<_(t),i=ie!==(ie=te());(e||i)&&u(t),I=!0,j("dragging"),R(t)}else m(t)&&(N=h(t),R(t))}function c(t){B.is(6)&&(B.set(3),j("dragged")),N&&(g(t),R(t)),X(T,"touchmove mousemove",d),X(T,"touchend touchcancel mouseup",c),N=!1}function p(t){!M&&I&&R(t,!0)}function u(t){A=z,z=t,L=ee()}function g(i){var e=y(i),o=v(e),a=s.rewind&&s.rewindByDrag;J(!1),D?q.scroll(o,0,s.snap):t.is("fade")?q.go(0>$(Y(e))?a?"<":"-":a?">":"+"):t.is("slide")&&ie&&a?q.go(te(!0)?">":"<"):q.go(q.toDest(o),!0),J(!0)}function h(t){var e=s.dragMinThreshold,i=r(e),o=i&&e.mouse||0,a=(i?e.touch:+e)||10;return we(b(t))>(k(t)?a:o)}function m(t){return we(b(t))>we(b(t,!0))}function y(i){if(t.is("loop")||!ie){var e=_(i);if(e&&200>e)return b(i)/e}return 0}function v(e){return ee()+Y(e)*fe(we(e)*(s.flickPower||600),D?1/0:i.Layout.listSize()*(s.flickMaxPages||1))}function b(t,e){return x(t,e)-x(w(t),e)}function _(t){return W(t)-W(w(t))}function w(t){return z===t&&A||z}function x(t,e){return(k(t)?t.changedTouches[0]:t)["page"+Z(e?"Y":"X")]}function E(e){return e/(ie&&t.is("slide")?5:1)}function S(e){var t=s.noDrag;return!f(e,".splide__pagination__page, .splide__arrow")&&(!t||!f(e,t))}function k(t){return"undefined"!=typeof TouchEvent&&t instanceof TouchEvent}function P(){return N}function C(e){M=e}var L,z,A,D,N,I,M,T,O=Q(t),F=O.on,j=O.emit,G=O.bind,X=O.unbind,B=t.state,H=i.Move,U=i.Scroll,q=i.C
6ontroller,K=i.Elements.track,J=i.Media.reduce,V=i.Direction,Z=V.resolve,$=V.orient,ee=H.getPosition,te=H.exceededLimit,ie=!1;return{mount:a,disable:C,isDragging:P}},Keyboard:function o(t,i,s){function a(){r(),h("updated",n),h("updated",r),h("move",d)}function r(){var t=s.keyboard;t&&(p="global"===t?window:y,e(p,"keydown",c))}function n(){m(p,"keydown")}function l(e){u=e}function d(){var e=u;u=!0,le(function(){u=e})}function c(i){if(!u){var e=ie(i);e===f("ArrowLeft")?t.go("<"):e===f("ArrowRight")&&t.go(">")}}var p,u,g=Q(t),h=g.on,e=g.bind,m=g.unbind,y=t.root,f=i.Direction.resolve;return{mount:a,destroy:n,disable:l}},LazyLoad:function a(t,i,o){function r(){o.lazyLoad&&(n(),g("refresh",n),v||g(_,l))}function n(){e(w),i.Slides.forEach(function(e){O(e.slide,"[data-splide-lazy], [data-splide-lazy-srcset]").forEach(function(t){var i=A(t,"data-splide-lazy"),s=A(t,"data-splide-lazy-srcset");if(i!==t.src||s!==t.srcset){var a=o.classes.spinner,r=t.parentElement,n=b(r,"."+a)||P("span",a,r);w.push([t,e,n]),t.src||L(t,"none")}})}),v&&p()}function l(){w=w.filter(function(e){var i=o.perPage*((o.preloadPages||1)+1)-1;return!e[1].isWithin(t.index,i)||d(e)}),w.length||m(_)}function d(e){var t=e[0];h(e[1].slide,"is-loading"),y(t,"load error",s(c,e)),k(t,"src",A(t,"data-splide-lazy")),k(t,"srcset",A(t,"data-splide-lazy-srcset")),S(t,"data-splide-lazy"),S(t,"data-splide-lazy-srcset")}function c(t,i){var e=t[0],s=t[1];F(s.slide,"is-loading"),"error"!==i.type&&(I(t[2]),L(e,""),f("lazyload:loaded",e,s),f("resize")),v&&p()}function p(){w.length&&d(w.shift())}var u=Q(t),g=u.on,m=u.off,y=u.bind,f=u.emit,v="sequential"===o.lazyLoad,_=["mounted","refresh","moved","scrolled"],w=[];return{mount:r,destroy:s(e,w)}},Pagination:function n(o,a,r){function l(){d(),_(["updated","refresh"],l),r.pagination&&x.isEnough()&&(_(["move","scroll","scrolled"],y),c(),y(),i("pagination:mounted",{list:f,items:M},m(o.index)))}function d(){f&&(I(E.pagination?t(f.children):f),F(f,v),e(M),f=null),b.destroy()}function c(){var e=o.length,t=r.classes,a=r.i18n,n=r.perPage,l=L()?e:_e(e/n);f=E.pagination||P("ul",t.pagination,E.track.parentElement),h(f,v="splide__pagination--"+g()),k(f,"role","tablist"),k(f,"aria-label",a.select),k(f,"aria-orientation","ttb"===g()?"vertical":"");for(var d=0;d<l;d++){var c=P("li",null,f),m=P("button",{class:t.page,type:"button"},c),y=x.getIn(d).map(function(e){return e.slide.id}),b=!L()&&1<n?a.pageX:a.slideX;w(m,"click",s(p,d)),r.paginationKeyboard&&w(m,"keydown",s(u,d)),k(c,"role","presentation"),k(m,"role","tab"),k(m,"aria-controls",y.join(" ")),k(m,"aria-label",U(b,d+1)),k(m,"tabindex",-1),M.push({li:c,button:m,page:d})}}function p(e){D(">"+e,!0)}function u(t,i){var e=M.length,s=ie(i),o=g(),a=-1;s===N("ArrowRight",!1,o)?a=++t%e:s===N("ArrowLeft",!1,o)?a=(--t+e)%e:"Home"===s?a=0:"End"===s&&(a=e-1);var r=M[a];r&&(z(r.button),D(">"+a),R(i,!0))}function g(){return r.paginationDirection||r.direction}function m(e){return M[C.toPage(e)]}function y(){var e=m(A(!0)),t=m(A());if(e){var s=e.button;F(s,"is-active"),S(s,"aria-selected"),k(s,"tabindex",-1)}if(t){var o=t.button;h(o,"is-active"),k(o,"aria-selected",!0),k(o,"tabindex","")}i("pagination:updated",{list:f,items:M},e,t)}var f,v,b=Q(o),_=b.on,i=b.emit,w=b.bind,x=a.Slides,E=a.Elements,C=a.Controller,L=C.hasFocus,A=C.getIndex,D=C.go,N=a.Direction.resolve,M=[];return{items:M,mount:l,destroy:d,getAt:m,update:y}},Sync:function o(t,i,s){function a(){t.options={slideFocus:ge(y)?m:y}}function r(){t.splides.forEach(function(e){e.isParent||(d(t,e.splide),d(e.splide,t))}),m&&c()}function n(){f.forEach(function(e){e.destroy()}),e(f)}function l(){n(),r()}function d(e,t){var i=Q(e);i.on("move",function(e,i,s){t.go(t.is("loop")?s:e)}),f.push(i)}function c(){var e=Q(t),i=e.on;i("click",g),i("slide:keydown",h),i(["mounted","updated"],u),f.push(e),e.emit("navigation:mounted",t.splides)}function u(){k(i.Elements.list,"aria-orientation","ttb"===s.direction?"vertical":"")}function g(e){t.go(e.index)}function h(t,i){p(Ge,ie(i))&&(g(t),R(i))}var m=s.isNavigation,y=s.slideFocus,f=[];return{setup:a,mount:r,destroy:n,remount:l}},Wheel:function o(t,i,s){function a(){s.wheel&&d(i.Elements.track,"wheel",r,Fe)}function r(i){if(i.cancelable){var e=i.deltaY,o=0>e,a=W(i),r=s.wheelMinThreshold||0,l=s.wheelSleep||0;we(e)>r&&a-c>l&&(t.go(o?"<":">"),c=a),n(o)&&R(i)}}function n(e){return!s.releaseWheel||t.state.is(4)||-1!==i.Controller.getAdjacent(e)}var l=Q(t),d=l.bind,c=0;return{mount:a}},Live:function o(e,t,i){function a(){u&&(n(!t.Autoplay.isPaused()),k(c,"aria-relevant","additions"),g.textContent="\u2026",d("autoplay:play",s(n,!0)),d("autoplay:pause",s(n,!1)),d(["moved","scrolled"],s(m,c,g)))}function r(){S(c,["aria-live","aria-relevant"]),I(g)}function n(e){u&&k(c,"aria-live",e?"off":"polite")}var l=Q(e),d=l.on,c=t.Elements.track,p=i.live,u=p&&!i.isNavigation,g=P("span","splide__sr");return{mount:a,disable:n,destroy:r}}}),Be={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace
6:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:{slide:Me,clone:Me+"--clone",arrows:me+"__arrows",arrow:Re,prev:Re+"--prev",next:Re+"--next",pagination:Te,page:Te+"__page",spinner:me+"__spinner"},i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}},He=function(){function i(e,t){this.event=Q(),this.Components={},this.state=Z(ae),this.splides=[],this._o={},this._E={};var s=ue(e)?T(document,e):e;G(s,s+" is invalid."),this.root=s,t=x({label:A(s,De)||"",labelledby:A(s,Ne)||""},Be,i.defaults,t||{});try{x(t,JSON.parse(A(s,ye)))}catch(t){G(!1,"Invalid JSON")}this._o=Object.create(x({},t))}var s=i.prototype;return s.mount=function i(e,t){var s=this,o=this.state,a=this.Components;G(o.is([ae,ne]),"Already mounted!"),o.set(ae),this._C=a,this._T=t||this._T||(this.is("fade")?se:oe),this._E=e||this._E;var r=w({},Xe,this._E,{Transition:this._T});return _(r,function(e,t){var i=e(s,a,s._o);a[t]=i,i.setup&&i.setup()}),_(a,function(e){e.mount&&e.mount()}),this.emit("mounted"),h(this.root,"is-initialized"),o.set(re),this.emit(Ee),this},s.sync=function t(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(re)&&(this._C.Sync.remount(),e.Components.Sync.remount()),this},s.go=function t(e){return this._C.Controller.go(e),this},s.on=function i(e,t){return this.event.on(e,t),this},s.off=function t(e){return this.event.off(e),this},s.emit=function i(e){var s;return(s=this.event).emit.apply(s,[e].concat(t(arguments,1))),this},s.add=function i(e,t){return this._C.Slides.add(e,t),this},s.remove=function t(e){return this._C.Slides.remove(e),this},s.is=function t(e){return this._o.type===e},s.refresh=function e(){return this.emit("refresh"),this},s.destroy=function i(t){void 0===t&&(t=!0);var s=this.event,o=this.state;return o.is(ae)?Q(this).on(Ee,this.destroy.bind(this,t)):(_(this._C,function(e){e.destroy&&e.destroy(t)},!0),s.emit("destroy"),s.destroy(),t&&e(this.splides),o.set(ne)),this},_createClass(i,[{key:"options",get:function e(){return this._o},set:function t(e){this._C.Media.set(e,!0)}},{key:"length",get:function e(){return this._C.Slides.getLength(!0)}},{key:"index",get:function e(){return this._C.Controller.getIndex()}}]),i}(),Ye=He;return Ye.defaults={},Ye.STATES={CREATED:ae,MOUNTED:2,IDLE:re,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:ne},Ye});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.