1"use strict";(self.webpackChunksantorini_gatsby=self.webpackChunksantorini_gatsby||[]).push([[6819],{6970:function(n,t,e){var i=e(7294),r=e(8032);t.Z=n=>{let{image:t,alt:e,className:a,objectFit:o,noLazy:u}=n;return t?i.createElement(r.G,{image:t,alt:e,className:a,objectFit:o,loading:u?"eager":"lazy"}):null}},2270:function(n,t,e){e.d(t,{Z:function(){return u}});var i=e(7294),r=e(5785);var a=n=>{var t,e,a,o;let{instanceRef:u,currentSlide:c,perView:s}=n;return i.createElement("div",{className:"dots"},(0,r.Z)(Array(((null==u||null===(t=u.current)||void 0===t||null===(e=t.track)||void 0===e||null===(a=e.details)||void 0===a||null===(o=a.slides)||void 0===o?void 0:o.length)||0)/s).keys()).map((n=>i.createElement("button",{type:"button","aria-label":"dot",key:n,onClick:t=>{var e;t.preventDefault(),null===(e=u.current)||void 0===e||e.moveToIdx(n)},className:"dot"+(c===n?" active":"")}))))};const o=()=>i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"m 15.650974,12.137646 h -10e-5 l -0.306121,0.03451 c -0.06383,0.0072 0.244721,0.08959 0.200621,0.13649 -1.456663,1.581584 -2.267816,2.341608 -2.9955,2.9954 l -0.0014,0.0015 c -0.0465,0.0469 -0.1018,0.0841 -0.1627,0.1094 -0.0609,0.0254 -0.1263,0.0385 -0.1923,0.0385 -0.066,0 -0.1314,-0.0131 -0.1923,-0.0385 -0.0609,-0.0253 -0.1162,-0.0625 -0.1627,-0.1094 l -0.0029,-0.0029 c -0.0469,-0.0465 -0.0841,-0.1018 -0.1094,-0.1627 -0.0254,-0.0609 -0.0385,-0.1263 -0.0385,-0.1923 0,-0.066 0.0131,-0.1314 0.0385,-0.1923 0.0253,-0.0609 0.0625,-0.1162 0.1094,-0.1627 l 10e-5,-10e-5 1.3,-1.29 0.8615,-0.8549 h -1.2137 -3.5899999 c -0.1326,0 -0.25978,-0.0527 -0.35355,-0.1464 -0.09377,-0.0938 -0.14645,-0.221 -0.14645,-0.3536 0,-0.1326 0.05268,-0.2598 0.14645,-0.3535 0.09377,-0.0938 0.372225,-0.119306 0.50481,-0.12129 1.0908059,-0.01632 1.9240299,-0.06944 3.4387399,-0.02521 0.908379,-0.229006 1.01764,-0.09478 1.2137,0 l -0.8615,-0.8549 -1.2986,-1.2886499 c -2e-4,-2e-4 -5e-4,-4.1e-4 -7e-4,-6.1e-4 -0.0941,-0.09448 -0.147,-0.2224296 -0.147,-0.3558396 0,-0.13369 0.0531,-0.26191 0.1477,-0.35644 0.0945,-0.09454 0.2227,-0.14765 0.3564,-0.14765 0.1337,0 0.2619,0.05311 0.3565,0.14765 l 2.9954,2.9954395 c 0.0441,0.0469 0.0787,0.1018 0.1019,0.1618 h -10e-5 l 0.0038,0.0092 c 0.05,0.1217 0.05,0.2583 0,0.38 z",fill:"#fff",stroke:"#fff",id:"first-arrow"}),i.createElement("path",{d:"M 19.899,6.72209 C 20.9428,8.28435 21.5,10.1211 21.5,12 c 0,2.5196 -1.0009,4.9359 -2.7825,6.7175 C 16.9359,20.4991 14.5196,21.5 12,21.5 10.1211,21.5 8.28435,20.9428 6.72209,19.899 5.15982,18.8551 3.94218,17.3714 3.22315,15.6355 2.50412,13.8996 2.31598,11.9895 2.68254,10.1466 3.0491,8.30383 3.95389,6.61109 5.28249,5.28249 6.61109,3.95389 8.30383,3.0491 10.1466,2.68254 c 1.8429,-0.36656 3.753,-0.17842 5.4889,0.54061 1.7359,0.71903 3.2196,1.93667 4.2635,3.49894 z M 4.93251,7.27766 C 3.99852,8.67548 3.5,10.3189 3.5,12 c 0,2.2543 0.89554,4.4164 2.4896,6.0104 C 7.58366,19.6045 9.74567,20.5 12,20.5 c 1.6811,0 3.3245,-0.4985 4.7224,-1.4325 1.3978,-0.934 2.4872,-2.2615 3.1306,-3.8147 0.6433,-1.5532 0.8117,-3.2622 0.4837,-4.9111 C 20.0087,8.6929 19.1992,7.17834 18.0104,5.9896 16.8217,4.80085 15.3071,3.9913 13.6583,3.66333 12.0094,3.33536 10.3004,3.50368 8.7472,4.14703 7.19402,4.79037 5.86651,5.87984 4.93251,7.27766 Z",fill:"#fff",stroke:"#fff"}),i.createElement("path",{d:"m 15.650974,12.137646 h -10e-5 l -0.306121,0.03451 c -0.06383,0.0072 0.244721,0.08959 0.200621,0.13649 -1.456663,1.581584 -2.267816,2.341608 -2.9955,2.9954 l -0.0014,0.0015 c -0.0465,0.0469 -0.1018,0.0841 -0.1627,0.1094 -0.0609,0.0254 -0.1263,0.0385 -0.1923,0.0385 -0.066,0 -0.1314,-0.0131 -0.1923,-0.0385 -0.0609,-0.0253 -0.1162,-0.0625 -0.1627,-0.1094 l -0.0029,-0.0029 c -0.0469,-0.0465 -0.0841,-0.1018 -0.1094,-0.1627 -0.0254,-0.0609 -0.0385,-0.1263 -0.0385,-0.1923 0,-0.066 0.0131,-0.1314 0.0385,-0.1923 0.0253,-0.0609 0.0625,-0.1162 0.1094,-0.1627 l 10e-5,-10e-5 1.3,-1.29 0.8615,-0.8549 h -1.2137 -3.5899999 c -0.1326,0 -0.25978,-0.0527 -0.35355,-0.1464 -0.09377,-0.0938 -0.14645,-0.221 -0.14645,-0.3536 0,-0.1326 0.05268,-0.2598 0.14645,-0.3535 0.09377,-0.0938 0.372225,-0.119306 0.50481,-0.12129 1.0908059,-0.01632 1.9240299,-0.06944 3.4387399,-0.02521 0.908379,-0.229006 1.01764,-0.
109478 1.2137,0 l -0.8615,-0.8549 -1.2986,-1.2886499 c -2e-4,-2e-4 -5e-4,-4.1e-4 -7e-4,-6.1e-4 -0.0941,-0.09448 -0.147,-0.2224296 -0.147,-0.3558396 0,-0.13369 0.0531,-0.26191 0.1477,-0.35644 0.0945,-0.09454 0.2227,-0.14765 0.3564,-0.14765 0.1337,0 0.2619,0.05311 0.3565,0.14765 l 2.9954,2.9954395 c 0.0441,0.0469 0.0787,0.1018 0.1019,0.1618 h -10e-5 l 0.0038,0.0092 c 0.05,0.1217 0.05,0.2583 0,0.38 z",fill:"#fff",stroke:"#fff",id:"second-arrow"}));var u=n=>{var t,e,r,u;let{infinite:c=!0,loaded:s,instanceRef:l,items:d,currentSlide:f,showDots:v=!0,perView:p=1}=n;const m=v?"":"without-dots",h="not-infinite";return i.createElement("div",{className:`paginations ${m}`},i.createElement("div",{role:"button","aria-label":"arrow",className:`slider-arrow slider-button-prev-unique ${0!==f||c?"":h}`,onClick:n=>{var t;return n.stopPropagation()||(null==l||null===(t=l.current)||void 0===t?void 0:t.prev())}},i.createElement(o,null)),v&&i.createElement(a,{loaded:s,instanceRef:l,items:d,currentSlide:f,perView:p}),i.createElement("div",{role:"button","aria-label":"arrow",className:`slider-arrow slider-button-next-unique ${(null==l||null===(t=l.current)||void 0===t||null===(e=t.track)||void 0===e||null===(r=e.details)||void 0===r||null===(u=r.slides)||void 0===u?void 0:u.length)/p-1!==f||c?"":h}`,onClick:n=>{var t;return n.stopPropagation()||(null==l||null===(t=l.current)||void 0===t?void 0:t.next())}},i.createElement(o,null)))}},7479:function(n,t,e){e.d(t,{a:function(){return r}});var i=e(7294);const r=(n,t)=>{const{0:e,1:r}=(0,i.useState)(t),{0:a,1:o}=(0,i.useState)(!1);return(0,i.useEffect)((()=>{const t=window.matchMedia(n);r(t.matches),o(!0);const e=n=>{r(n.matches)};return t.addEventListener?t.addEventListener("change",e):t.addListener(e),()=>t.removeEventListener?t.removeEventListener("change",e):t.removeListener(e)}),[n]),{isMatching:e,calculated:a}}},2730:function(n,t,e){var i=e(7294);function r(n){return Array.prototype.slice.call(n)}function a(n,t){var e=Math.floor(n);return e===t||e+1===t?n:t}function o(){return Date.now()}function u(n,t,e){if(t="data-keen-slider-"+t,null===e)return n.removeAttribute(t);n.setAttribute(t,e||"")}function c(n,t){return t=t||document,"function"==typeof n&&(n=n(t)),Array.isArray(n)?n:"string"==typeof n?r(t.querySelectorAll(n)):n instanceof HTMLElement?[n]:n instanceof NodeList?r(n):[]}function s(n){n.raw&&(n=n.raw),n.cancelable&&!n.defaultPrevented&&n.preventDefault()}function l(n){n.raw&&(n=n.raw),n.stopPropagation&&n.stopPropagation()}function d(){var n=[];return{add:function(t,e,i,r){t.addListener?t.addListener(i):t.addEventListener(e,i,r),n.push([t,e,i,r])},input:function(n,t,e,i){this.add(n,t,function(n){return function(t){t.nativeEvent&&(t=t.nativeEvent);var e=t.changedTouches||[],i=t.targetTouches||[],r=t.detail&&t.detail.x?t.detail:null;return n({id:r?r.identifier?r.identifier:"i":i[0]?i[0]?i[0].identifier:"e":"d",idChanged:r?r.identifier?r.identifier:"i":e[0]?e[0]?e[0].identifier:"e":"d",raw:t,x:r&&r.x?r.x:i[0]?i[0].screenX:r?r.x:t.pageX,y:r&&r.y?r.y:i[0]?i[0].screenY:r?r.y:t.pageY})}}(e),i)},purge:function(){n.forEach((function(n){n[0].removeListener?n[0].removeListener(n[2]):n[0].removeEventListener(n[1],n[2],n[3])})),n=[]}}}function f(n,t,e){return Math.min(Math.max(n,t),e)}function v(n){return(n>0?1:0)-(n<0?1:0)||+n}function p(n){var t=n.getBoundingClientRect();return{height:a(t.height,n.offsetHeight),width:a(t.width,n.offsetWidth)}}function m(n,t,e,i){var r=n&&n[t];return null==r?e:i&&"function"==typeof r?r():r}function h(n){return Math.round(1e6*n)/1e6}function g(n,t){if(n===t)return!0;var e=typeof n;if(e!==typeof t)return!1;if("object"!==e||null===n||null===t)return"function"===e&&n.toString()===t.toString();if(n.length!==t.length||Object.getOwnPropertyNames(n).length!==Object.getOwnPropertyNames(t).length)return!1;for(var i in n)if(!g(n[i],t[i]))return!1;return!0}var b=function(){return b=Object.assign||function(n){for(var t,e=1,i=arguments.length;e<i;e++)for(var r in t=arguments[e])Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},b.apply(this,arguments)};function w(n,t,e){if(e||2===arguments.length)for(var i,r=0,a=t.length;r<a;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return n.concat(i||Array.prototype.slice.call(t))}function k(n){var t,e,i,r,a,u,c,s,l,d,p,g,b,k,y=1/0,x=[],M=null,E=0;function C(n){O(E+n)}function T(n){var t=z(E+n).abs;return I(t)?t:null}function z(n){var t=Math.floor(Math.abs(h(n/e))),i=h((n%e+e)%e);i===e&&(i=0);var r=v(n),a=c.indexOf(w([],c,!0).reduce((function(n,t){return Math.abs(t-i)<Math.abs(n-i)?t:n}))),o=a;return r<0&&t++,a===u&&(o=0,t+=r>0?1:-1),{abs:o+t*u*r,origin:a,rel:o}}function L(n,t,e){var i;if(t||!D())return S(n,e);if(!I(n))return null;var r=z(null!=e?e:E),a=r.abs,o=n-r.rel,c=a+o;i=S(c);var s=S(c-u*v(o));return(null!==s&&Math.abs(s)<Math.abs(i)||null===i)&&(i=s),h(i)}function S(n,t){if(null==t&&(t=h(E)),!I(n)||null===n)return null;n=Math.round(n);var i=z(t),r=i.abs,a=i.rel,o=i.origin,s=N(n),l=(t%e+e)%e,d=c[o],f=Math.floor((n-(r-a))/u)*e;return h(d-l-d+c[s]+f+(o===u?e:0))}function I(n){return A(n)===n}function A(n){return f(n,l,d)}function D(){return r.loop}function N(n){return(n%u+u)%u}function O(t){var e;e=t-E,x.push({distance:e,timestamp:o()}),x.length>6&&(x=x.slice(-6)),E=h(t);var i=P().abs;if(i!==M){var r=null!==M;M=i,r&&n.emit("slideChanged")}}function P(o){var c=o?null:function(){if(u){var n=D(),t=n?(E%e+e)%e:E,o=(n?E%e:E)-a[0][2],c=0-(o<0&&n?e-Math.abs(o):o),s=0,f=z(E),m=f.abs,h=f.rel,w=a[h][2],y=a.map((function(t,i){var a=c+s;(a<0-t[0]||a>1)&&(a+=(Math.abs(a)>e-1&&n?e:0)*v(-a));var o=i-h,l=v(o),d=o+m;n&&(-1===l&&a>w&&(d+=u),1===l&&a<w&&(d-=u),null!==p&&d<p&&(a+=e),null!==g&&d>g&&(a-=e));var f=a+t[0]+t[1],b=Math.max(a>=0&&f<=1?1:f<0||a>1?0:a<0?Math.min(1,(t[0]+a)/t[0]):(1-a)/t[0],0);return s+=t[0]+t[1],{abs:d,distance:r.rtl?-1*a+1-t[0]:a,portion:b,size:t[0]}}));return m=A(m),h=N(m),{abs:A(m),length:i,max:k,maxIdx:d,min:b,minIdx:l,position:E,progress:n?t/e:E/i,rel:h,slides:y,slidesLength:e}}}();return t.details=c,n.emit("detailsChanged"),c}return t={absToRel:N,add:C,details:null,distToIdx:T,idxToDist:L,init:function(t){if(function(){if(r=n.options,a=(r.trackConfig||[]).map((function(n){return[m(n,"size",1),m(n,"spacing",0),m(n,"origin",0)]})),u=a.length){e=h(a.reduce((function(n,t){return n+t[0]+t[1]}),0));var t,o=u-1;i=h(e+a[0][2]-a[o][0]-a[o][2]-a[o][1]),c=a.reduce((function(n,e){if(!n)return[0];var i=a[n.length-1],r=n[n.length-1]+(i[0]+i[2])+i[1];return r-=e[2],n[n.length-1]>r&&(r=n[n.length-1]),r=h(r),n.push(r),(!t||t<r)&&(s=n.length-1),t=r,n}),null),0===i&&(s=0),c.push(h(e))}}(),!u)return P(!0);var o;!function(){var t=n.options.range,e=n.options.loop;p=l=e?m(e,"min",-1/0):0,g=d=e?m(e,"max",y):s;var i=m(t,"min",null),r=m(t,"max",null);null!==i&&(l=i),null!==r&&(d=r),b=l===-1/0?l:n.track.idxToDist(l||0,!0,0),k=d===y?d:L(d,!0,0),null===r&&(g=d),m(t,"align",!1)&&d!==y&&0===a[N(d)][2]&&(k-=1-a[N(d)][0],d=T(k-E)),b=h(b),k=h(k)}(),o=t,Number(o)===o?C(S(A(t))):P()},to:O,velocity:function(){var n=o(),t=x.reduce((function(t,e){var i=e.distance,r=e.timestamp;return n-r>200||(v(i)!==v(t.distance)&&t.distance&&(t={distance:0,lastTimestamp:0,time:0}),t.time&&(t.distance+=i),t.lastTimestamp&&(t.time+=r-t.lastTimestamp),t.lastTimestamp=r),t}),{distance:0,lastTimestamp:0,time:0});return t.distance/t.time||0}}}function y(n){var t,e,i,r,a,o,u,c;function s(n){return 2*n}function l(n){return f(n,u,c)}function d(n){return 1-Math.pow(1-n,3)}function p(){return i?n.track.velocity():0}function m(n,t){void 0===t&&(t=1e3);var e=147e-9+(n=Math.abs(n))/t;return{dist:Math.pow(n,2)/e,dur:n/e}}function h(){var t=n.track.details;t&&(a=t.min,o=t.max,u=t.minIdx,c=t.maxIdx)}function g(){n.animator.stop()}n.on("updated",h),n.on("optionsChanged",h),n.on("created",h),n.on("dragStarted",(function(){i=!1,g(),t=e=n.track.details.abs})),n.on("dragChecked",(function(){i=!0})),n.on("dragEnded",(function(){var i=n.options.mode;"snap"===i&&function(){var i=n.track,r=n.track.details,u=r.position,c=v(p());(u>
vendor: 6,237 bytes, line 1
1o||u<a)&&(c=0);var s=t+c;0===r.slides[i.absToRel(s)].portion&&(s-=c),t!==e&&(s=e),v(i.idxToDist(s,!0))!==c&&(s+=c),s=l(s);var d=i.idxToDist(s,!0);n.animator.start([{distance:d,duration:500,easing:function(n){return 1+--n*n*n*n*n}}])}(),"free"!==i&&"free-snap"!==i||function(){g();var t="free-snap"===n.options.mode,e=n.track,i=p();r=v(i);var u=n.track.details,c=[];if(i||!t){var f=m(i),h=f.dist,b=f.dur;if(b=s(b),h*=r,t){var w=e.idxToDist(e.distToIdx(h),!0);w&&(h=w)}c.push({distance:h,duration:b,easing:d});var k=u.position,y=k+h;if(y<a||y>o){var x=y<a?a-k:o-k,M=0,E=i;if(v(x)===r){var C=Math.min(Math.abs(x)/Math.abs(h),1),T=function(n){return 1-Math.pow(1-n,1/3)}(C)*b;c[0].earlyExit=T,E=i*(1-C)}else c[0].earlyExit=0,M+=x;var z=m(E,100),L=z.dist*r;n.options.rubberband&&(c.push({distance:L,duration:s(z.dur),easing:d}),c.push({distance:-L+M,duration:500,easing:d}))}n.animator.start(c)}else n.moveToIdx(l(u.abs),!0,{duration:500,easing:function(n){return 1+--n*n*n*n*n}})}()})),n.on("dragged",(function(){e=n.track.details.abs}))}function x(n){var t,e,i,r,a,o,u,p,m,h,g,b,w,k,y,x,M,E,C=d();function T(t){if(o&&p===t.id){var c=I(t);if(m){if(!S(t))return L(t);h=c,m=!1,n.emit("dragChecked")}if(x)return h=c;s(t);var d=function(t){if(M===-1/0&&E===1/0)return t;var i=n.track.details,o=i.length,u=i.position,c=f(t,M-u,E-u);if(0===o)return 0;if(!n.options.rubberband)return c;if(u<=E&&u>=M)return t;if(u<M&&e>0||u>E&&e<0)return t;var s=(u<M?u-M:u-E)/o,l=r*o,d=Math.abs(s*l),v=Math.max(0,1-d/a*2);return v*v*t}(u(h-c)/r*i);e=v(d);var w=n.track.details.position;(w>M&&w<E||w===M&&e>0||w===E&&e<0)&&l(t),g+=d,!b&&Math.abs(g*r)>5&&(b=!0),n.track.add(d),h=c,n.emit("dragged")}}function z(t){!o&&n.track.details&&n.track.details.length&&(g=0,o=!0,b=!1,m=!0,p=t.id,S(t),h=I(t),n.emit("dragStarted"))}function L(t){o&&p===t.idChanged&&(o=!1,n.emit("dragEnded"))}function S(n){var t=A(),e=t?n.y:n.x,i=t?n.x:n.y,r=void 0!==w&&void 0!==k&&Math.abs(k-i)<=Math.abs(w-e);return w=e,k=i,r}function I(n){return A()?n.y:n.x}function A(){return n.options.vertical}function D(){r=n.size,a=A()?window.innerHeight:window.innerWidth;var t=n.track.details;t&&(M=t.min,E=t.max)}function N(n){b&&(l(n),s(n))}function O(){if(C.purge(),n.options.drag&&!n.options.disabled){var e;e=n.options.dragSpeed||1,u="function"==typeof e?e:function(n){return n*e},i=n.options.rtl?-1:1,D(),t=n.container,function(){var n="data-keen-slider-clickable";c("[".concat(n,"]:not([").concat(n,"=false])"),t).map((function(n){C.add(n,"dragstart",l),C.add(n,"mousedown",l),C.add(n,"touchstart",l)}))}(),C.add(t,"dragstart",(function(n){s(n)})),C.add(t,"click",N,{capture:!0}),C.input(t,"ksDragStart",z),C.input(t,"ksDrag",T),C.input(t,"ksDragEnd",L),C.input(t,"mousedown",z),C.input(t,"mousemove",T),C.input(t,"mouseleave",L),C.input(t,"mouseup",L),C.input(t,"touchstart",z,{passive:!0}),C.input(t,"touchmove",T,{passive:!1}),C.input(t,"touchend",L),C.input(t,"touchcancel",L),C.add(window,"wheel",(function(n){o&&s(n)}));var r="data-keen-slider-scrollable";c("[".concat(r,"]:not([").concat(r,"=false])"),n.container).map((function(n){return function(n){var t;C.input(n,"touchstart",(function(n){t=I(n),x=!0,y=!0}),{passive:!0}),C.input(n,"touchmove",(function(e){var i=A(),r=i?n.scrollHeight-n.clientHeight:n.scrollWidth-n.clientWidth,a=t-I(e),o=i?n.scrollTop:n.scrollLeft,u=i&&"scroll"===n.style.overflowY||!i&&"scroll"===n.style.overflowX;if(t=I(e),(a<0&&o>0||a>0&&o<r)&&y&&u)return x=!0;y=!1,s(e),x=!1})),C.input(n,"touchend",(function(){x=!1}))}(n)}))}}n.on("updated",D),n.on("optionsChanged",O),n.on("created",O),n.on("destroyed",C.purge)}function M(n){var t,e,i=null;function r(t,e,i){n.animator.active?o(t,e,i):requestAnimationFrame((function(){return o(t,e,i)}))}function a(){r(!1,!1,e)}function o(e,r,a){var o=0,u=n.size,l=n.track.details;if(l&&t){var d=l.slides;t.forEach((function(n,t){if(e)!i&&r&&c(n,null,a),s(n,null,a);else{if(!d[t])return;var l=d[t].size*u;!i&&r&&c(n,l,a),s(n,d[t].distance*u-o,a),o+=l}}))}}function u(t){return"performance"===n.options.renderMode?Math.round(t):t}function c(n,t,e){var i=e?"height":"width";null!==t&&(t=u(t)+"px"),n.style["min-"+i]=t,n.style["max-"+i]=t}function s(n,t,e){if(null!==t){t=u(t);var i=e?t:0;t="translate3d(".concat(e?0:t,"px, ").concat(i,"px, 0)")}n.style.transform=t,n.style["-webkit-transform"]=t}function l(){t&&(o(!0,!0,e),t=null),n.on("detailsChanged",a,!0)}function d(){r(!1,!0,e)}function f(){l(),e=n.options.vertical,n.options.disabled||"custom"===n.options.renderMode||(i="auto"===m(n.options.slides,"perView",null),n.on("detailsChanged",a),(t=n.slides).length&&d())}n.on("created",f),n.on("optionsChanged",f),n.on("beforeOptionsChanged",(function(){l()})),n.on("updated",d),n.on("destroyed",l)}function E(n,t){return function(e){var i,r,a,o,s,l=d();function f(n){var t;u(e.container,"reverse","rtl"!==(t=e.container,window.getComputedStyle(t,null).getPropertyValue("direction"))||n?null:""),u(e.container,"v",e.options.vertical&&!n?"":null),u(e.container,"disabled",e.options.disabled&&!n?"":null)}function v(){h()&&x()}function h(){var n=null;if(o.forEach((function(t){t.matches&&(n=t.__media)})),n===i)return!1;i||e.emit("beforeOptionsChanged"),i=n;var t=n?a.breakpoints[n]:a;return e.options=b(b({},a),t),f(),z(),L(),E(),!0}function g(n){var t=p(n);return(e.options.vertical?t.height:t.width)/e.size||1}function w(){return e.options.trackConfig.length}function k(n){for(var u in i=!1,a=b(b({},t),n),l.purge(),r=e.size,o=[],a.breakpoints||[]){var c=window.matchMedia(u);c.__media=u,o.push(c),l.add(c,"change",v)}l.add(window,"orientationchange",T),l.add(window,"resize",C),h()}function y(n){e.animator.stop();var t=e.track.details;e.track.init(null!=n?n:t?t.abs:0)}function x(n){y(n),e.emit("optionsChanged")}function M(n,t){if(n)return k(n),void x(t);z(),L();var i=w();E(),w()!==i?x(t):y(t),e.emit("updated")}function E(){var n=e.options.slides;if("function"==typeof n)return e.options.trackConfig=n(e.size,e.slides);for(var t=e.slides,i=t.length,r="number"==typeof n?n:m(n,"number",i,!0),a=[],o=m(n,"perView",1,!0),u=m(n,"spacing",0,!0)/e.size||0,c="auto"===o?u:u/o,s=m(n,"origin","auto"),l=0,d=0;d<r;d++){var f="auto"===o?g(t[d]):1/o-u+c,v="center"===s?.5-f/2:"auto"===s?0:s;a.push({origin:v,size:f,spacing:u}
vendor: 2,728 bytes, lines 1-2
1),l+=f}if(l+=u*(r-1),"auto"===s&&!e.options.loop&&1!==o){var p=0;a.map((function(n){var t=l-p;return p+=n.size+u,t>=1||(n.origin=1-t-(l>1?0:1-l)),n}))}e.options.trackConfig=a}function C(){z();var n=e.size;e.options.disabled||n===r||(r=n,M())}function T(){C(),setTimeout(C,500),setTimeout(C,2e3)}function z(){var n=p(e.container);e.size=(e.options.vertical?n.height:n.width)||1}function L(){e.slides=c(e.options.selector,e.container)}e.container=(s=c(n,document)).length?s[0]:null,e.destroy=function(){l.purge(),e.emit("destroyed"),f(!0)},e.prev=function(){e.moveToIdx(e.track.details.abs-1,!0)},e.next=function(){e.moveToIdx(e.track.details.abs+1,!0)},e.update=M,k(e.options)}}var C=function(n,t,e){try{return function(n,t){var e,i={};return e={emit:function(n){i[n]&&i[n].forEach((function(n){n(e)}));var t=e.options&&e.options[n];t&&t(e)},moveToIdx:function(n,t,i){var r=e.track.idxToDist(n,t);if(r){var a=e.options.defaultAnimation;e.animator.start([{distance:r,duration:m(i||a,"duration",500),easing:m(i||a,"easing",(function(n){return 1+--n*n*n*n*n}))}])}},on:function(n,t,e){void 0===e&&(e=!1),i[n]||(i[n]=[]);var r=i[n].indexOf(t);r>-1?e&&delete i[n][r]:e||i[n].push(t)},options:n},function(){if(e.track=k(e),e.animator=function(n){var t,e,i,r,a,o;function u(t){o||(o=t),c(!0);var a=t-o;a>i&&(a=i);var d=r[e];if(d[3]<a)return e++,u(t);var f=d[2],v=d[4],p=d[0],m=d[1]*(0,d[5])(0===v?1:(a-f)/v);if(m&&n.track.to(p+m),a<i)return l();o=null,c(!1),s(null),n.emit("animationEnded")}function c(n){t.active=n}function s(n){t.targetIdx=n}function l(){var n;n=u,a=window.requestAnimationFrame(n)}function d(){var t;t=a,window.cancelAnimationFrame(t),c(!1),s(null),o&&n.emit("animationStopped"),o=null}return t={active:!1,start:function(t){if(d(),n.track.details){var a=0,o=n.track.details.position;e=0,i=0,r=t.map((function(n){var t,e=Number(o),r=null!==(t=n.earlyExit)&&void 0!==t?t:n.duration,u=n.easing,c=n.distance*u(r/n.duration)||0;o+=c;var s=i;return i+=r,a+=c,[e,n.distance,s,i,n.duration,u]})),s(n.track.distToIdx(a)),l(),n.emit("animationStarted")}},stop:d,targetIdx:null}}(e),t)for(var n=0,i=t;n<i.length;n++)(0,i[n])(e);e.track.init(e.options.initial||0),e.emit("created")}(),e}(t,w([E(n,{drag:!0,mode:"snap",renderMode:"precision",rubberband:!0,selector:".keen-slider__slide"}),M,x,y],e||[],!0))}catch(n){console.error(n)}};t.E=function(n,t){var e=i.useRef(null),r=i.useRef(!1),a=i.useRef(n),o=i.useCallback((function(i){i?(a.current=n,e.current=new C(i,n,t),r.current=!1):(e.current&&e.current.destroy&&e.current.destroy(),e.current=null)}),[]);return i.useEffect((function(){g(a.current,n)||(a.current=n,e.current&&e.current.update(a.current))}),[n]),[o,e]}}}]); 2//# sourceMappingURL=6819-7569628f009d5b3951f3.js.map
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.