PageSourceSearch

https://solarelle.com/_astro/SplideCarousel.astro_astro_type_script_index_0_lang.DRf30Dqr.js

js solarelle.com collected 2026-10-08 06:45:35 UTC 32,692 bytes, 6 lines download raw bytes

vendor: 5,130 bytes, lines 1-6
1function zn(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Un(e,n,t){return n&&zn(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}/*!
2 * Splide.js
3 * Version  : 4.1.4
4 * License  : MIT
5 * Copyright: 2022 Naotoshi Fujita
6 */var Kt="(prefers-reduced-motion: reduce)",Ce=1,Bn=2,De=3,Me=4,qe=5,it=6,st=7,Wn={CREATED:Ce,MOUNTED:Bn,IDLE:De,MOVING:Me,SCROLLING:qe,DRAGGING:it,DESTROYED:st};function de(e){e.length=0}function _e(e,n,t){return Array.prototype.slice.call(e,n,t)}function U(e){return e.bind.apply(e,[null].concat(_e(arguments,1)))}var sn=setTimeout,It=function(){};function qt(e){return requestAnimationFrame(e)}function lt(e,n){return typeof n===e}function ze(e){return!Dt(e)&&lt("object",e)}var wt=Array.isArray,cn=U(lt,"function"),he=U(lt,"string"),$e=U(lt,"undefined");function Dt(e){return e===null}function fn(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function je(e){return wt(e)?e:[e]}function ne(e,n){je(e).forEach(n)}function Pt(e,n){return e.indexOf(n)>-1}function at(e,n){return e.push.apply(e,je(n)),e}function fe(e,n,t){e&&ne(n,function(r){r&&e.classList[t?"add":"remove"](r)})}function oe(e,n){fe(e,he(n)?n.split(" "):n,!0)}function Ze(e,n){ne(n,e.appendChild.bind(e))}function Mt(e,n){ne(e,function(t){var r=(n||t).parentNode;r&&r.insertBefore(t,n)})}function Ue(e,n){return fn(e)&&(e.msMatchesSelector||e.matches).call(e,n)}function vn(e,n){var t=e?_e(e.children):[];return n?t.filter(function(r){return Ue(r,n)}):t}function Je(e,n){return n?vn(e,n)[0]:e.firstElementChild}var Be=Object.keys;function Le(e,n,t){return e&&(t?Be(e).reverse():Be(e)).forEach(function(r){r!=="__proto__"&&n(e[r],r)}),e}function We(e){return _e(arguments,1).forEach(function(n){Le(n,function(t,r){e[r]=n[r]})}),e}function Ee(e){return _e(arguments,1).forEach(function(n){Le(n,function(t,r){wt(t)?e[r]=t.slice():ze(t)?e[r]=Ee({},ze(e[r])?e[r]:{},t):e[r]=t})}),e}function $t(e,n){ne(n||Be(e),function(t){delete e[t]})}function ue(e,n){ne(e,function(t){ne(n,function(r){t&&t.removeAttribute(r)})})}function x(e,n,t){ze(n)?Le(n,function(r,a){x(e,a,r)}):ne(e,function(r){Dt(t)||t===""?ue(r,n):r.setAttribute(n,String(t))})}function Oe(e,n,t){var r=document.createElement(e);return n&&(he(n)?oe(r,n):x(r,n)),t&&Ze(t,r),r}function re(e,n,t){if($e(t))return getComputedStyle(e)[n];Dt(t)||(e.style[n]=""+t)}function He(e,n){re(e,"display",n)}function ln(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function ie(e,n){return e.getAttribute(n)}function jt(e,n){return e&&e.classList.contains(n)}function ee(e){return e.getBoundingClientRect()}function pe(e){ne(e,function(n){n&&n.parentNode&&n.parentNode.removeChild(n)})}function dn(e){return Je(new DOMParser().parseFromString(e,"text/html").body)}function ce(e,n){e.preventDefault(),n&&(e.stopPropagation(),e.stopImmediatePropagation())}function gn(e,n){return e&&e.querySelector(n)}function Vt(e,n){return n?_e(e.querySelectorAll(n)):[]}function ve(e,n){fe(e,n,!1)}function Nt(e){return e.timeStamp}function Te(e){return he(e)?e:e?e+"px":""}var Qe="splide",xt="data-"+Qe;function Fe(e,n){if(!e)throw new Error("["+Qe+"] "+(n||""))}var me=Math.min,ct=Math.max,ft=Math.floor,Ye=Math.ceil,J=Math.abs;function En(e,n,t){return J(e-n)<t}function ot(e,n,t,r){var a=me(n,t),f=ct(n,t);return r?a<e&&e<f:a<=e&&e<=f}function Re(e,n,t){var r=me(n,t),a=ct(n,t);return me(ct(r,e),a)}function Rt(e){return+(e>0)-+(e<0)}function bt(e,n){return ne(n,function(t){e=e.replace("%s",""+t)}),e}function kt(e){return e<10?"0"+e:""+e}var Zt={};function Hn(e){return""+e+kt(Zt[e]=(Zt[e]||0)+1)}function hn(){var e=[];function n(i,s,c,l){a(i,s,function(o,m,d){var g="addEventListener"in o,u=g?o.removeEventListener.bind(o,m,c,l):o.removeListener.bind(o,c);g?o.addEventListener(m,c,l):o.addListener(c),e.push([o,m,d,c,u])})}function t(i,s,c){a(i,s,function(l,o,m){e=e.filter(function(d){return d[0]===l&&d[1]===o&&d[2]===m&&(!c||d[3]===c)?(d[4](),!1):!0})})}function r(i,s,c){var l,o=!0;return typeof CustomEvent=="function"?l=new CustomEvent(s,{bubbles:o,detail:c}):(l=document.createEvent("CustomEvent"),l.initCustomEvent(s,o,!1,c)),i.dispatchEvent(l),l}function a(i,s,c){ne(i,function(l){l&&ne(s,function(o){o.split(" ").forEach(function(m){var d=m.split(".");c(l,d[0],d[1])})})})}function f(){e.forEach(function(i){i[4]()}),de(e)}return{bind:n,unbind:t,dispatch:r,destroy:f}}var Ne="mounted",Jt="ready",Ae="move",et="moved",mn="click",Yn="active",Xn="inactive",Kn="visible",qn="hidden",K="refresh",Q="updated",Xe="resize",Ft="resized",$n="drag",jn="dragging",Zn="dragged",Gt="scroll",Ve="scrolled",Jn="overflow",An="destroy",Qn="arrows:mounted",er="arrows:updated",tr="pagination:mounted",nr="pagination:updated",_n="navigation:mounted",yn="autoplay:play",rr="autoplay:playing",Sn="autoplay:pause",Tn="lazyload:loaded",Ln="sk",pn="sh",vt="ei";function H(e){var n=e?e.event.bus:document.createDocumentFragment(),t=hn();function r(f,i){t.bind(n,je(f).join(" "),function(s){i.apply(i,wt(s.detail)?s.detail:[])})}
vendor: 4,689 bytes, line 6
6function a(f){t.dispatch(n,f,_e(arguments,1))}return e&&e.event.on(An,t.destroy),We(t,{bus:n,on:r,off:U(t.unbind,n),emit:a})}function dt(e,n,t,r){var a=Date.now,f,i=0,s,c=!0,l=0;function o(){if(!c){if(i=e?me((a()-f)/e,1):1,t&&t(i),i>=1&&(n(),f=a(),r&&++l>=r))return d();s=qt(o)}}function m(A){A||u(),f=a()-(A?i*e:0),c=!1,s=qt(o)}function d(){c=!0}function g(){f=a(),i=0,t&&t(i)}function u(){s&&cancelAnimationFrame(s),i=0,s=0,c=!0}function v(A){e=A}function _(){return c}return{start:m,rewind:g,pause:d,cancel:u,set:v,isPaused:_}}function ir(e){var n=e;function t(a){n=a}function r(a){return Pt(je(a),n)}return{set:t,is:r}}function ar(e,n){var t=dt(0,e,null,1);return function(){t.isPaused()&&t.start()}}function or(e,n,t){var r=e.state,a=t.breakpoints||{},f=t.reducedMotion||{},i=hn(),s=[];function c(){var u=t.mediaQuery==="min";Be(a).sort(function(v,_){return u?+v-+_:+_-+v}).forEach(function(v){o(a[v],"("+(u?"min":"max")+"-width:"+v+"px)")}),o(f,Kt),m()}function l(u){u&&i.destroy()}function o(u,v){var _=matchMedia(v);i.bind(_,"change",m),s.push([u,_])}function m(){var u=r.is(st),v=t.direction,_=s.reduce(function(A,h){return Ee(A,h[1].matches?h[0]:{})},{});$t(t),g(_),t.destroy?e.destroy(t.destroy==="completely"):u?(l(!0),e.mount()):v!==t.direction&&e.refresh()}function d(u){matchMedia(Kt).matches&&(u?Ee(t,f):$t(t,Be(f)))}function g(u,v,_){Ee(t,u),v&&Ee(Object.getPrototypeOf(t),u),(_||!r.is(Ce))&&e.emit(Q,t)}return{setup:c,destroy:l,reduce:d,set:g}}var gt="Arrow",Et=gt+"Left",ht=gt+"Right",In=gt+"Up",Nn=gt+"Down",Qt="rtl",mt="ttb",St={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[In,ht],ArrowRight:[Nn,Et]};function ur(e,n,t){function r(f,i,s){s=s||t.direction;var c=s===Qt&&!i?1:s===mt?0:-1;return St[f]&&St[f][c]||f.replace(/width|left|right/i,function(l,o){var m=St[l.toLowerCase()][c]||l;return o>0?m.charAt(0).toUpperCase()+m.slice(1):m})}function a(f){return f*(t.direction===Qt?1:-1)}return{resolve:r,orient:a}}var le="role",we="tabindex",sr="disabled",ae="aria-",tt=ae+"controls",Rn=ae+"current",en=ae+"selected",te=ae+"label",zt=ae+"labelledby",bn=ae+"hidden",Ut=ae+"orientation",Ke=ae+"roledescription",tn=ae+"live",nn=ae+"busy",rn=ae+"atomic",Bt=[le,we,sr,tt,Rn,te,zt,bn,Ut,Ke],se=Qe+"__",ye="is-",Tt=Qe,an=se+"track",cr=se+"list",At=se+"slide",Cn=At+"--clone",fr=At+"__container",Wt=se+"arrows",_t=se+"arrow",On=_t+"--prev",wn=_t+"--next",yt=se+"pagination",Dn=yt+"__page",vr=se+"progress",lr=vr+"__bar",dr=se+"toggle",gr=se+"spinner",Er=se+"sr",hr=ye+"initialized",Ie=ye+"active",Pn=ye+"prev",Mn=ye+"next",Ct=ye+"visible",Ot=ye+"loading",Vn=ye+"focus-in",xn=ye+"overflow",mr=[Ie,Ct,Pn,Mn,Ot,Vn,xn],Ar={slide:At,clone:Cn,arrows:Wt,arrow:_t,prev:On,next:wn,pagination:yt,page:Dn,spinner:gr};function _r(e,n){if(cn(e.closest))return e.closest(n);for(var t=e;t&&t.nodeType===1&&!Ue(t,n);)t=t.parentElement;return t}var yr=5,on=200,kn="touchstart mousedown",Lt="touchmove mousemove",pt="touchend touchcancel mouseup click";function Sr(e,n,t){var r=H(e),a=r.on,f=r.bind,i=e.root,s=t.i18n,c={},l=[],o=[],m=[],d,g,u;function v(){E(),D(),h()}function _(){a(K,A),a(K,v),a(Q,h),f(document,kn+" keydown",function(S){u=S.type==="keydown"},{capture:!0}),f(i,"focusin",function(){fe(i,Vn,!!u)})}function A(S){var b=Bt.concat("style");de(l),ve(i,o),ve(d,m),ue([d,g],b),ue(i,S?b:["style",Ke])}function h(){ve(i,o),ve(d,m),o=M(Tt),m=M(an),oe(i,o),oe(d,m),x(i,te,t.label),x(i,zt,t.labelledby)}function E(){d=R("."+an),g=Je(d,"."+cr),Fe(d&&g,"A track/list element is missing."),at(l,vn(g,"."+At+":not(."+Cn+")")),Le({arrows:Wt,pagination:yt,prev:On,next:wn,bar:lr,toggle:dr},function(S,b){c[b]=R("."+S)}),We(c,{root:i,track:d,list:g,slides:l})}function D(){var S=i.id||Hn(Qe),b=t.role;i.id=S,d.id=d.id||S+"-track",g.id=g.id||S+"-list",!ie(i,le)&&i.tagName!=="SECTION"&&b&&x(i,le,b),x(i,Ke,s.carousel),x(g,le,"presentation")}function R(S){var b=gn(i,S);return b&&_r(b,"."+Tt)===i?b:void 0}function M(S){return[S+"--"+t.type,S+"--"+t.direction,t.drag&&S+"--draggable",t.isNavigation&&S+"--nav",S===Tt&&Ie]}return We(c,{setup:v,mount:_,destroy:A})}var Pe="slide",xe="loop",nt="fade";function Tr(e,n,t,r){var a=H(e),f=a.on,i=a.emit,s=a.bind,c=e.Components,l=e.root,o=e.options,m=o.isNavigation,d=o.updateOnMove,g=o.i18n,u=o.pagination,v=o.slideFocus,_=c.Direction.resolve,A=ie(r,"style"),h=ie(r,te),E=t>-1,D=Je(r,"."+fr),R;function M(){E||(r.id=l.id+"-slide"+kt(n+1),x(r,le,u?"tabpanel":"group"),x(r,Ke,g.slide),x(r,te,h||bt(g.slideLabel,[n+1,e.length]))),S()}function S(){s(r,"click",U(i,mn,P)),s(r,"keydown",U(i,Ln,P)),f([et,pn,Ve],L),f(_n,F),d&&f(Ae,w)}function b(){R=!0,a.destroy(),ve(r,mr),ue(r,Bt),x(r,"style",A),x(r,te,h||"")}
vendor: 16,428 bytes, line 6
6function F(){var O=e.splides.map(function(T){var C=T.splide.Components.Slides.getAt(n);return C?C.slide.id:""}).join(" ");x(r,te,bt(g.slideX,(E?t:n)+1)),x(r,tt,O),x(r,le,v?"button":""),v&&ue(r,Ke)}function w(){R||L()}function L(){if(!R){var O=e.index;p(),I(),fe(r,Pn,n===O-1),fe(r,Mn,n===O+1)}}function p(){var O=k();O!==jt(r,Ie)&&(fe(r,Ie,O),x(r,Rn,m&&O||""),i(O?Yn:Xn,P))}function I(){var O=Y(),T=!O&&(!k()||E);if(e.state.is([Me,qe])||x(r,bn,T||""),x(Vt(r,o.focusableNodes||""),we,T?-1:""),v&&x(r,we,T?-1:0),O!==jt(r,Ct)&&(fe(r,Ct,O),i(O?Kn:qn,P)),!O&&document.activeElement===r){var C=c.Slides.getAt(e.index);C&&ln(C.slide)}}function V(O,T,C){re(C&&D||r,O,T)}function k(){var O=e.index;return O===n||o.cloneStatus&&O===t}function Y(){if(e.is(nt))return k();var O=ee(c.Elements.track),T=ee(r),C=_("left",!0),G=_("right",!0);return ft(O[C])<=Ye(T[C])&&ft(T[G])<=Ye(O[G])}function W(O,T){var C=J(O-n);return!E&&(o.rewind||e.is(xe))&&(C=me(C,e.length-C)),C<=T}var P={index:n,slideIndex:t,slide:r,container:D,isClone:E,mount:M,destroy:b,update:L,style:V,isWithin:W};return P}function Lr(e,n,t){var r=H(e),a=r.on,f=r.emit,i=r.bind,s=n.Elements,c=s.slides,l=s.list,o=[];function m(){d(),a(K,g),a(K,d)}function d(){c.forEach(function(L,p){v(L,p,-1)})}function g(){R(function(L){L.destroy()}),de(o)}function u(){R(function(L){L.update()})}function v(L,p,I){var V=Tr(e,p,I,L);V.mount(),o.push(V),o.sort(function(k,Y){return k.index-Y.index})}function _(L){return L?M(function(p){return!p.isClone}):o}function A(L){var p=n.Controller,I=p.toIndex(L),V=p.hasFocus()?1:t.perPage;return M(function(k){return ot(k.index,I,I+V-1)})}function h(L){return M(L)[0]}function E(L,p){ne(L,function(I){if(he(I)&&(I=dn(I)),fn(I)){var V=c[p];V?Mt(I,V):Ze(l,I),oe(I,t.classes.slide),b(I,U(f,Xe))}}),f(K)}function D(L){pe(M(L).map(function(p){return p.slide})),f(K)}function R(L,p){_(p).forEach(L)}function M(L){return o.filter(cn(L)?L:function(p){return he(L)?Ue(p.slide,L):Pt(je(L),p.index)})}function S(L,p,I){R(function(V){V.style(L,p,I)})}function b(L,p){var I=Vt(L,"img"),V=I.length;V?I.forEach(function(k){i(k,"load error",function(){--V||p()})}):p()}function F(L){return L?c.length:o.length}function w(){return o.length>t.perPage}return{mount:m,destroy:g,update:u,register:v,get:_,getIn:A,getAt:h,add:E,remove:D,forEach:R,filter:M,style:S,getLength:F,isEnough:w}}function pr(e,n,t){var r=H(e),a=r.on,f=r.bind,i=r.emit,s=n.Slides,c=n.Direction.resolve,l=n.Elements,o=l.root,m=l.track,d=l.list,g=s.getAt,u=s.style,v,_,A;function h(){E(),f(window,"resize load",ar(U(i,Xe))),a([Q,K],E),a(Xe,D)}function E(){v=t.direction===mt,re(o,"maxWidth",Te(t.width)),re(m,c("paddingLeft"),R(!1)),re(m,c("paddingRight"),R(!0)),D(!0)}function D(P){var O=ee(o);(P||_.width!==O.width||_.height!==O.height)&&(re(m,"height",M()),u(c("marginRight"),Te(t.gap)),u("width",b()),u("height",F(),!0),_=O,i(Ft),A!==(A=W())&&(fe(o,xn,A),i(Jn,A)))}function R(P){var O=t.padding,T=c(P?"right":"left");return O&&Te(O[T]||(ze(O)?0:O))||"0px"}function M(){var P="";return v&&(P=S(),Fe(P,"height or heightRatio is missing."),P="calc("+P+" - "+R(!1)+" - "+R(!0)+")"),P}function S(){return Te(t.height||ee(d).width*t.heightRatio)}function b(){return t.autoWidth?null:Te(t.fixedWidth)||(v?"":w())}function F(){return Te(t.fixedHeight)||(v?t.autoHeight?null:w():S())}function w(){var P=Te(t.gap);return"calc((100%"+(P&&" + "+P)+")/"+(t.perPage||1)+(P&&" - "+P)+")"}function L(){return ee(d)[c("width")]}function p(P,O){var T=g(P||0);return T?ee(T.slide)[c("width")]+(O?0:k()):0}function I(P,O){var T=g(P);if(T){var C=ee(T.slide)[c("right")],G=ee(d)[c("left")];return J(C-G)+(O?0:k())}return 0}function V(P){return I(e.length-1)-I(0)+p(0,P)}function k(){var P=g(0);return P&&parseFloat(re(P.slide,c("marginRight")))||0}function Y(P){return parseFloat(re(m,c("padding"+(P?"Right":"Left"))))||0}function W(){return e.is(nt)||V(!0)>L()}return{mount:h,resize:D,listSize:L,slideSize:p,sliderSize:V,totalSize:I,getPadding:Y,isOverflow:W}}var Ir=2;function Nr(e,n,t){var r=H(e),a=r.on,f=n.Elements,i=n.Slides,s=n.Direction.resolve,c=[],l;function o(){a(K,m),a([Q,Xe],g),(l=_())&&(u(l),n.Layout.resize(!0))}function m(){d(),o()}function d(){pe(c),de(c),r.destroy()}function g(){var A=_();l!==A&&(l<A||!A)&&r.emit(K)}function u(A){var h=i.get().slice(),E=h.length;if(E){for(;h.length<A;)at(h,h);at(h.slice(-A),h.slice(0,A)).forEach(function(D,R){var M=R<A,S=v(D.slide,R);M?Mt(S,h[0].slide):Ze(f.list,S),at(c,S),i.register(S,R-A+(M?0:E),D.index)})}}function v(A,h){var E=A.cloneNode(!0);return oe(E,t.classes.clone),E.id=e.root.id+"-clone"+kt(h+1),E}function _(){var A=t.clones;if(!e.is(xe))A=0;else if($e(A)){var h=t[s("fixedWidth")]&&n.Layout.slideSize(0),E=h&&Ye(ee(f.track)[s("width")]/h);A=E||t[s("autoWidth")]&&e.length||t.perPage*Ir}return A}return{mount:o,destroy:d}}function Rr(e,n,t){var r=H(e),a=r.on,f=r.emit,i=e.state.set,s=n.Layout,c=s.slideSize,l=s.getPadding,o=s.totalSize,m=s.listSize,d=s.sliderSize,g=n.Direction,u=g.resolve,v=g.orient,_=n.Elements,A=_.list,h=_.track,E;function D(){E=n.Transition,a([Ne,Ft,Q,K],R)}function R(){n.Controller.isBusy()||(n.Scroll.cancel(),S(e.index),n.Slides.update())}function M(T,C,G,$){T!==C&&P(T>G)&&(L(),b(w(V(),T>G),!0)),i(Me),f(Ae,C,G,T),E.start(C,function(){i(De),f(et,C,G,T),$&&$()})}function S(T){b(I(T,!0))}function b(T,C){if(!e.is(nt)){var G=C?T:F(T);re(A,"transform","translate"+u("X")+"("+G+"px)"),T!==G&&f(pn)}}function F(T){if(e.is(xe)){var C=p(T),G=C>n.Controller.getEnd(),$=C<0;($||G)&&(T=w(T,G))}return T}function w(T,C){var G=T-W(C),$=d();return T-=v($*(Ye(J(G)/$)||1))*(C?1:-1),T}function L(){b(V(),!0),E.cancel()}function p(T){for(var C=n.Slides.get(),G=0,$=1/0,q=0;q<C.length;q++){var ge=C[q].index,y=J(I(ge,!0)-T);if(y<=$)$=y,G=ge;else break}return G}function I(T,C){var G=v(o(T-1)-Y(T));return C?k(G):G}function V(){var T=u("left");return ee(A)[T]-ee(h)[T]+v(l(!1))}function k(T){return t.trimSpace&&e.is(Pe)&&(T=Re(T,0,v(d(!0)-m()))),T}function Y(T){var C=t.focus;return C==="center"?(m()-c(T,!0))/2:+C*c(T)||0}function W(T){return I(T?n.Controller.getEnd():0,!!t.trimSpace)}function P(T){var C=v(w(V(),T));return T?C>=0:C<=A[u("scrollWidth")]-ee(h)[u("width")]}function O(T,C){C=$e(C)?V():C;var G=T!==!0&&v(C)<v(W(!1)),$=T!==!1&&v(C)>v(W(!0));return G||$}return{mount:D,move:M,jump:S,translate:b,shift:w,cancel:L,toIndex:p,toPosition:I,getPosition:V,getLimit:W,exceededLimit:O,reposition:R}}function br(e,n,t){var r=H(e),a=r.on,f=r.emit,i=n.Move,s=i.getPosition,c=i.getLimit,l=i.toPosition,o=n.Slides,m=o.isEnough,d=o.getLength,g=t.omitEnd,u=e.is(xe),v=e.is(Pe),_=U(V,!1),A=U(V,!0),h=t.start||0,E,D=h,R,M,S;function b(){F(),a([Q,K,vt],F),a(Ft,w)}function F(){R=d(!0),M=t.perMove,S=t.perPage,E=P();var y=Re(h,0,g?E:R-1);y!==h&&(h=y,i.reposition())}function w(){E!==P()&&f(vt)}function L(y,z,Z){if(!ge()){var X=I(y),j=W(X);j>-1&&(z||j!==h)&&(G(j),i.move(X,j,D,Z))}}function p(y,z,Z,X){n.Scroll.scroll(y,z,Z,function(){var j=W(i.toIndex(s()));G(g?me(j,E):j),X&&X()})}function I(y){var z=h;if(he(y)){var Z=y.match(/([+\-<>])(\d+)?/)||[],X=Z[1],j=Z[2];X==="+"||X==="-"?z=k(h+ +(""+X+(+j||1)),h):X===">"?z=j?O(+j):_(!0):X==="<"&&(z=A(!0))}else z=u?y:Re(y,0,E);return z}function V(y,z){var Z=M||(q()?1:S),X=k(h+Z*(y?-1:1),h,!(M||q()));return X===-1&&v&&!En(s(),c(!y),1)?y?0:E:z?X:W(X)}function k(y,z,Z){if(m()||q()){var X=Y(y);X!==y&&(z=y,y=X,Z=!1),y<0||y>E?!M&&(ot(0,y,z,!0)||ot(E,z,y,!0))?y=O(T(y)):u?y=Z?y<0?-(R%S||S):R:y:t.rewind?y=y<0?E:0:y=-1:Z&&y!==z&&(y=O(T(z)+(y<z?-1:1)))}else y=-1;return y}function Y(y){if(v&&t.trimSpace==="move"&&y!==h)for(var z=s();z===l(y,!0)&&ot(y,0,e.length-1,!t.rewind);)y<h?--y:++y;return y}function W(y){return u?(y+R)%R||0:y}function P(){for(var y=R-(q()||u&&M?1:S);g&&y-- >0;)if(l(R-1,!0)!==l(y,!0)){y++;break}return Re(y,0,R-1)}function O(y){return Re(q()?y:S*y,0,E)}function T(y){return q()?me(y,E):ft((y>=E?R-1:y)/S)}function C(y){var z=i.toIndex(y);return v?Re(z,0,E):z}function G(y){y!==h&&(D=h,h=y)}function $(y){return y?D:h}function q(){return!$e(t.focus)||t.isNavigation}function ge(){return e.state.is([Me,qe])&&!!t.waitForTransition}return{mount:b,go:L,scroll:p,getNext:_,getPrev:A,getAdjacent:V,getEnd:P,setIndex:G,getIndex:$,toIndex:O,toPage:T,toDest:C,hasFocus:q,isBusy:ge}}var Cr="http://www.w3.org/2000/svg",Or="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",rt=40;function wr(e,n,t){var r=H(e),a=r.on,f=r.bind,i=r.emit,s=t.classes,c=t.i18n,l=n.Elements,o=n.Controller,m=l.arrows,d=l.track,g=m,u=l.prev,v=l.next,_,A,h={};function E(){R(),a(Q,D)}function D(){M(),E()}function R(){var p=t.arrows;p&&!(u&&v)&&F(),u&&v&&(We(h,{prev:u,next:v}),He(g,p?"":"none"),oe(g,A=Wt+"--"+t.direction),p&&(S(),L(),x([u,v],tt,d.id),i(Qn,u,v)))}function M(){r.destroy(),ve(g,A),_?(pe(m?[u,v]:g),u=v=null):ue([u,v],Bt)}function S(){a([Ne,et,K,Ve,vt],L),f(v,"click",U(b,">")),f(u,"click",U(b,"<"))}function b(p){o.go(p,!0)}function F(){g=m||Oe("div",s.arrows),u=w(!0),v=w(!1),_=!0,Ze(g,[u,v]),!m&&Mt(g,d)}function w(p){var I='<button class="'+s.arrow+" "+(p?s.prev:s.next)+'" type="button"><svg xmlns="'+Cr+'" viewBox="0 0 '+rt+" "+rt+'" width="'+rt+'" height="'+rt+'" focusable="false"><path d="'+(t.arrowPath||Or)+'" />';return dn(I)}function L(){if(u&&v){var p=e.index,I=o.getPrev(),V=o.getNext(),k=I>-1&&p<I?c.last:c.prev,Y=V>-1&&p>V?c.first:c.next;u.disabled=I<0,v.disabled=V<0,x(u,te,k),x(v,te,Y),i(er,u,v,I,V)}}return{arrows:h,mount:E,destroy:M,update:L}}var Dr=xt+"-interval";function Pr(e,n,t){var r=H(e),a=r.on,f=r.bind,i=r.emit,s=dt(t.interval,e.go.bind(e,">"),S),c=s.isPaused,l=n.Elements,o=n.Elements,m=o.root,d=o.toggle,g=t.autoplay,u,v,_=g==="pause";function A(){g&&(h(),d&&x(d,tt,l.track.id),_||E(),M())}function h(){t.pauseOnHover&&f(m,"mouseenter mouseleave",function(F){u=F.type==="mouseenter",R()}),t.pauseOnFocus&&f(m,"focusin focusout",function(F){v=F.type==="focusin",R()}),d&&f(d,"click",function(){_?E():D(!0)}),a([Ae,Gt,K],s.rewind),a(Ae,b)}function E(){c()&&n.Slides.isEnough()&&(s.start(!t.resetProgress),v=u=_=!1,M(),i(yn))}function D(F){F===void 0&&(F=!0),_=!!F,M(),c()||(s.pause(),i(Sn))}function R(){_||(u||v?D(!1):E())}function M(){d&&(fe(d,Ie,!_),x(d,te,t.i18n[_?"play":"pause"]))}function S(F){var w=l.bar;w&&re(w,"width",F*100+"%"),i(rr,F)}function b(F){var w=n.Slides.getAt(F);s.set(w&&+ie(w.slide,Dr)||t.interval)}return{mount:A,destroy:s.cancel,play:E,pause:D,isPaused:c}}function Mr(e,n,t){var r=H(e),a=r.on;function f(){t.cover&&(a(Tn,U(s,!0)),a([Ne,Q,K],U(i,!0)))}function i(c){n.Slides.forEach(function(l){var o=Je(l.container||l.slide,"img");o&&o.src&&s(c,o,l)})}function s(c,l,o){o.style("background",c?'center/cover no-repeat url("'+l.src+'")':"",!0),He(l,c?"none":"")}return{mount:f,destroy:U(i,!1)}}var Vr=10,xr=600,kr=.6,Fr=1.5,Gr=800;function zr(e,n,t){var r=H(e),a=r.on,f=r.emit,i=e.state.set,s=n.Move,c=s.getPosition,l=s.getLimit,o=s.exceededLimit,m=s.translate,d=e.is(Pe),g,u,v=1;function _(){a(Ae,D),a([Q,K],R)}function A(S,b,F,w,L){var p=c();if(D(),F&&(!d||!o())){var I=n.Layout.sliderSize(),V=Rt(S)*I*ft(J(S)/I)||0;S=s.toPosition(n.Controller.toDest(S%I))+V}var k=En(p,S,1);v=1,b=k?0:b||ct(J(S-p)/Fr,Gr),u=w,g=dt(b,h,U(E,p,S,L),1),i(qe),f(Gt),g.start()}function h(){i(De),u&&u(),f(Ve)}function E(S,b,F,w){var L=c(),p=S+(b-S)*M(w),I=(p-L)*v;m(L+I),d&&!F&&o()&&(v*=kr,J(I)<Vr&&A(l(o(!0)),xr,!1,u,!0))}function D(){g&&g.cancel()}function R(){g&&!g.isPaused()&&(D(),h())}function M(S){var b=t.easingFunc;return b?b(S):1-Math.pow(1-S,4)}return{mount:_,destroy:D,scroll:A,cancel:R}}var be={passive:!1,capture:!0};function Ur(e,n,t){var r=H(e),a=r.on,f=r.emit,i=r.bind,s=r.unbind,c=e.state,l=n.Move,o=n.Scroll,m=n.Controller,d=n.Elements.track,g=n.Media.reduce,u=n.Direction,v=u.resolve,_=u.orient,A=l.getPosition,h=l.exceededLimit,E,D,R,M,S,b=!1,F,w,L;function p(){i(d,Lt,It,be),i(d,pt,It,be),i(d,kn,V,be),i(d,"click",W,{capture:!0}),i(d,"dragstart",ce),a([Ne,Q],I)}function I(){var N=t.drag;Xt(!N),M=N==="free"}function V(N){if(F=!1,!w){var B=j(N);X(N.target)&&(B||!N.button)&&(m.isBusy()?ce(N,!0):(L=B?d:window,S=c.is([Me,qe]),R=null,i(L,Lt,k,be),i(L,pt,Y,be),l.cancel(),o.cancel(),P(N)))}}function k(N){if(c.is(it)||(c.set(it),f($n)),N.cancelable)if(S){l.translate(E+Z(q(N)));var B=ge(N)>on,Se=b!==(b=h());(B||Se)&&P(N),F=!0,f(jn),ce(N)}else C(N)&&(S=T(N),ce(N))}function Y(N){c.is(it)&&(c.set(De),f(Zn)),S&&(O(N),ce(N)),s(L,Lt,k),s(L,pt,Y),S=!1}function W(N){!w&&F&&ce(N,!0)}function P(N){R=D,D=N,E=A()}function O(N){var B=G(N),Se=$(B),ke=t.rewind&&t.rewindByDrag;g(!1),M?m.scroll(Se,0,t.snap):e.is(nt)?m.go(_(Rt(B))<0?ke?"<":"-":ke?">":"+"):e.is(Pe)&&b&&ke?m.go(h(!0)?">":"<"):m.go(m.toDest(Se),!0),g(!0)}function T(N){var B=t.dragMinThreshold,Se=ze(B),ke=Se&&B.mouse||0,Gn=(Se?B.touch:+B)||10;return J(q(N))>(j(N)?Gn:ke)}function C(N){return J(q(N))>J(q(N,!0))}function G(N){if(e.is(xe)||!b){var B=ge(N);if(B&&B<on)return q(N)/B}return 0}function $(N){return A()+Rt(N)*me(J(N)*(t.flickPower||600),M?1/0:n.Layout.listSize()*(t.flickMaxPages||1))}function q(N,B){return z(N,B)-z(y(N),B)}function ge(N){return Nt(N)-Nt(y(N))}function y(N){return D===N&&R||D}function z(N,B){return(j(N)?N.changedTouches[0]:N)["page"+v(B?"Y":"X")]}function Z(N){return N/(b&&e.is(Pe)?yr:1)}function X(N){var B=t.noDrag;return!Ue(N,"."+Dn+", ."+_t)&&(!B||!Ue(N,B))}function j(N){return typeof TouchEvent<"u"&&N instanceof TouchEvent}function Fn(){return S}function Xt(N){w=N}return{mount:p,disable:Xt,isDragging:Fn}}var Br={Spacebar:" ",Right:ht,Left:Et,Up:In,Down:Nn};function Ht(e){return e=he(e)?e:e.key,Br[e]||e}var un="keydown";function Wr(e,n,t){var r=H(e),a=r.on,f=r.bind,i=r.unbind,s=e.root,c=n.Direction.resolve,l,o;function m(){d(),a(Q,g),a(Q,d),a(Ae,v)}function d(){var A=t.keyboard;A&&(l=A==="global"?window:s,f(l,un,_))}function g(){i(l,un)}function u(A){o=A}function v(){var A=o;o=!0,sn(function(){o=A})}function _(A){if(!o){var h=Ht(A);h===c(Et)?e.go("<"):h===c(ht)&&e.go(">")}}return{mount:m,destroy:g,disable:u}}var Ge=xt+"-lazy",ut=Ge+"-srcset",Hr="["+Ge+"], ["+ut+"]";function Yr(e,n,t){var r=H(e),a=r.on,f=r.off,i=r.bind,s=r.emit,c=t.lazyLoad==="sequential",l=[et,Ve],o=[];function m(){t.lazyLoad&&(d(),a(K,d))}function d(){de(o),g(),c?A():(f(l),a(l,u),u())}function g(){n.Slides.forEach(function(h){Vt(h.slide,Hr).forEach(function(E){var D=ie(E,Ge),R=ie(E,ut);if(D!==E.src||R!==E.srcset){var M=t.classes.spinner,S=E.parentElement,b=Je(S,"."+M)||Oe("span",M,S);o.push([E,h,b]),E.src||He(E,"none")}})})}function u(){o=o.filter(function(h){var E=t.perPage*((t.preloadPages||1)+1)-1;return h[1].isWithin(e.index,E)?v(h):!0}),o.length||f(l)}function v(h){var E=h[0];oe(h[1].slide,Ot),i(E,"load error",U(_,h)),x(E,"src",ie(E,Ge)),x(E,"srcset",ie(E,ut)),ue(E,Ge),ue(E,ut)}function _(h,E){var D=h[0],R=h[1];ve(R.slide,Ot),E.type!=="error"&&(pe(h[2]),He(D,""),s(Tn,D,R),s(Xe)),c&&A()}function A(){o.length&&v(o.shift())}return{mount:m,destroy:U(de,o),check:u}}function Xr(e,n,t){var r=H(e),a=r.on,f=r.emit,i=r.bind,s=n.Slides,c=n.Elements,l=n.Controller,o=l.hasFocus,m=l.getIndex,d=l.go,g=n.Direction.resolve,u=c.pagination,v=[],_,A;function h(){E(),a([Q,K,vt],h);var w=t.pagination;u&&He(u,w?"":"none"),w&&(a([Ae,Gt,Ve],F),D(),F(),f(tr,{list:_,items:v},b(e.index)))}function E(){_&&(pe(u?_e(_.children):_),ve(_,A),de(v),_=null),r.destroy()}function D(){var w=e.length,L=t.classes,p=t.i18n,I=t.perPage,V=o()?l.getEnd()+1:Ye(w/I);_=u||Oe("ul",L.pagination,c.track.parentElement),oe(_,A=yt+"--"+S()),x(_,le,"tablist"),x(_,te,p.select),x(_,Ut,S()===mt?"vertical":"");for(var k=0;k<V;k++){var Y=Oe("li",null,_),W=Oe("button",{class:L.page,type:"button"},Y),P=s.getIn(k).map(function(T){return T.slide.id}),O=!o()&&I>1?p.pageX:p.slideX;i(W,"click",U(R,k)),t.paginationKeyboard&&i(W,"keydown",U(M,k)),x(Y,le,"presentation"),x(W,le,"tab"),x(W,tt,P.join(" ")),x(W,te,bt(O,k+1)),x(W,we,-1),v.push({li:Y,button:W,page:k})}}function R(w){d(">"+w,!0)}function M(w,L){var p=v.length,I=Ht(L),V=S(),k=-1;I===g(ht,!1,V)?k=++w%p:I===g(Et,!1,V)?k=(--w+p)%p:I==="Home"?k=0:I==="End"&&(k=p-1);var Y=v[k];Y&&(ln(Y.button),d(">"+k),ce(L,!0))}function S(){return t.paginationDirection||t.direction}function b(w){return v[l.toPage(w)]}function F(){var w=b(m(!0)),L=b(m());if(w){var p=w.button;ve(p,Ie),ue(p,en),x(p,we,-1)}if(L){var I=L.button;oe(I,Ie),x(I,en,!0),x(I,we,"")}f(nr,{list:_,items:v},w,L)}return{items:v,mount:h,destroy:E,getAt:b,update:F}}var Kr=[" ","Enter"];function qr(e,n,t){var r=t.isNavigation,a=t.slideFocus,f=[];
vendor: 4,208 bytes, line 6
6function i(){e.splides.forEach(function(u){u.isParent||(l(e,u.splide),l(u.splide,e))}),r&&o()}function s(){f.forEach(function(u){u.destroy()}),de(f)}function c(){s(),i()}function l(u,v){var _=H(u);_.on(Ae,function(A,h,E){v.go(v.is(xe)?E:A)}),f.push(_)}function o(){var u=H(e),v=u.on;v(mn,d),v(Ln,g),v([Ne,Q],m),f.push(u),u.emit(_n,e.splides)}function m(){x(n.Elements.list,Ut,t.direction===mt?"vertical":"")}function d(u){e.go(u.index)}function g(u,v){Pt(Kr,Ht(v))&&(d(u),ce(v))}return{setup:U(n.Media.set,{slideFocus:$e(a)?r:a},!0),mount:i,destroy:s,remount:c}}function $r(e,n,t){var r=H(e),a=r.bind,f=0;function i(){t.wheel&&a(n.Elements.track,"wheel",s,be)}function s(l){if(l.cancelable){var o=l.deltaY,m=o<0,d=Nt(l),g=t.wheelMinThreshold||0,u=t.wheelSleep||0;J(o)>g&&d-f>u&&(e.go(m?"<":">"),f=d),c(m)&&ce(l)}}function c(l){return!t.releaseWheel||e.state.is(Me)||n.Controller.getAdjacent(l)!==-1}return{mount:i}}var jr=90;function Zr(e,n,t){var r=H(e),a=r.on,f=n.Elements.track,i=t.live&&!t.isNavigation,s=Oe("span",Er),c=dt(jr,U(o,!1));function l(){i&&(d(!n.Autoplay.isPaused()),x(f,rn,!0),s.textContent="…",a(yn,U(d,!0)),a(Sn,U(d,!1)),a([et,Ve],U(o,!0)))}function o(g){x(f,nn,g),g?(Ze(f,s),c.start()):(pe(s),c.cancel())}function m(){ue(f,[tn,rn,nn]),pe(s)}function d(g){i&&x(f,tn,g?"off":"polite")}return{mount:l,disable:d,destroy:m}}var Jr=Object.freeze({__proto__:null,Media:or,Direction:ur,Elements:Sr,Slides:Lr,Layout:pr,Clones:Nr,Move:Rr,Controller:br,Arrows:wr,Autoplay:Pr,Cover:Mr,Scroll:zr,Drag:Ur,Keyboard:Wr,LazyLoad:Yr,Pagination:Xr,Sync:qr,Wheel:$r,Live:Zr}),Qr={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"},ei={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:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Ar,i18n:Qr,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function ti(e,n,t){var r=n.Slides;function a(){H(e).on([Ne,K],f)}function f(){r.forEach(function(s){s.style("transform","translateX(-"+100*s.index+"%)")})}function i(s,c){r.style("transition","opacity "+t.speed+"ms "+t.easing),sn(c)}return{mount:a,start:i,cancel:It}}function ni(e,n,t){var r=n.Move,a=n.Controller,f=n.Scroll,i=n.Elements.list,s=U(re,i,"transition"),c;function l(){H(e).bind(i,"transitionend",function(g){g.target===i&&c&&(m(),c())})}function o(g,u){var v=r.toPosition(g,!0),_=r.getPosition(),A=d(g);J(v-_)>=1&&A>=1?t.useScroll?f.scroll(v,A,!1,u):(s("transform "+A+"ms "+t.easing),r.translate(v,!0),c=u):(r.jump(g),u())}function m(){s(""),f.cancel()}function d(g){var u=t.rewindSpeed;if(e.is(Pe)&&u){var v=a.getIndex(!0),_=a.getEnd();if(v===0&&g>=_||v>=_&&g===0)return u}return t.speed}return{mount:l,start:o,cancel:m}}var ri=(function(){function e(t,r){this.event=H(),this.Components={},this.state=ir(Ce),this.splides=[],this._o={},this._E={};var a=he(t)?gn(document,t):t;Fe(a,a+" is invalid."),this.root=a,r=Ee({label:ie(a,te)||"",labelledby:ie(a,zt)||""},ei,e.defaults,r||{});try{Ee(r,JSON.parse(ie(a,xt)))}catch{Fe(!1,"Invalid JSON")}this._o=Object.create(Ee({},r))}var n=e.prototype;return n.mount=function(r,a){var f=this,i=this.state,s=this.Components;Fe(i.is([Ce,st]),"Already mounted!"),i.set(Ce),this._C=s,this._T=a||this._T||(this.is(nt)?ti:ni),this._E=r||this._E;var c=We({},Jr,this._E,{Transition:this._T});return Le(c,function(l,o){var m=l(f,s,f._o);s[o]=m,m.setup&&m.setup()}),Le(s,function(l){l.mount&&l.mount()}),this.emit(Ne),oe(this.root,hr),i.set(De),this.emit(Jt),this},n.sync=function(r){return this.splides.push({splide:r}),r.splides.push({splide:this,isParent:!0}),this.state.is(De)&&(this._C.Sync.remount(),r.Components.Sync.remount()),this},n.go=function(r){return this._C.Controller.go(r),this},n.on=function(r,a){return this.event.on(r,a),this},n.off=function(r){return this.event.off(r),this},n.emit=function(r){var a;
6return(a=this.event).emit.apply(a,[r].concat(_e(arguments,1))),this},n.add=function(r,a){return this._C.Slides.add(r,a),this},n.remove=function(r){return this._C.Slides.remove(r),this},n.is=function(r){return this._o.type===r},n.refresh=function(){return this.emit(K),this},n.destroy=function(r){r===void 0&&(r=!0);var a=this.event,f=this.state;return f.is(Ce)?H(this).on(Jt,this.destroy.bind(this,r)):(Le(this._C,function(i){i.destroy&&i.destroy(r)},!0),a.emit(An),a.destroy(),r&&de(this.splides),f.set(st)),this},Un(e,[{key:"options",get:function(){return this._o},set:function(r){this._C.Media.set(r,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),e})(),Yt=ri;Yt.defaults={};Yt.STATES=Wn;document.addEventListener("DOMContentLoaded",function(){const e=new Yt("#policy-carousel",{type:"loop",perPage:1,autoplay:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!1,arrows:!1,pagination:!1,drag:!0,snap:!0,gap:0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",speed:700,focus:"center",updateOnMove:!0,trimSpace:!1,breakpoints:{768:{perPage:1},1024:{perPage:1}}});e.mount();const n=document.getElementById("splide-prev-btn"),t=document.getElementById("splide-next-btn"),r=document.querySelectorAll("[data-splide-to]");n&&n.addEventListener("click",()=>{e.Components.Autoplay.pause(),e.go("-"),e.Components.Autoplay.play()}),t&&t.addEventListener("click",()=>{e.Components.Autoplay.pause(),e.go("+"),e.Components.Autoplay.play()}),r.forEach((a,f)=>{a.addEventListener("click",()=>{e.Components.Autoplay.pause(),e.go(f),e.Components.Autoplay.play()})}),e.on("moved",a=>{r.forEach((f,i)=>{i===a?(f.classList.add("bg-accent-600","w-4","lg:w-5"),f.classList.remove("bg-slate-300","hover:bg-slate-400")):(f.classList.remove("bg-accent-600","w-4","lg:w-5"),f.classList.add("bg-slate-300","hover:bg-slate-400"))})}),document.addEventListener("keydown",a=>{a.key==="ArrowLeft"?(e.Components.Autoplay.pause(),e.go("-"),e.Components.Autoplay.play()):a.key==="ArrowRight"&&(e.Components.Autoplay.pause(),e.go("+"),e.Components.Autoplay.play())}),e.on("click",()=>{e.Components.Autoplay.pause(),setTimeout(()=>{e.Components.Autoplay.play()},3e3)})});

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.