1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6249],{66249:function(e,t,n){n.d(t,{$0:function(){return ev},CT:function(){return P},Dy:function(){return eg},Eq:function(){return p},Fy:function(){return g},Ju:function(){return C},KL:function(){return M},NM:function(){return b},Nc:function(){return f},OL:function(){return ec},OV:function(){return z},P0:function(){return ey},QB:function(){return w},RD:function(){return H},Su:function(){return ep},TX:function(){return en},U2:function(){return et},VI:function(){return y},Wy:function(){return d},Xl:function(){return h},ZP:function(){return eK},_7:function(){return es},bQ:function(){return eN},bc:function(){return eP},bt:function(){return ea},cO:function(){return m},gJ:function(){return v},hI:function(){return U},hU:function(){return G},iv:function(){return k},l6:function(){return $},mw:function(){return I},oc:function(){return K},t$:function(){return e_},tS:function(){return T},wQ:function(){return S}});var r,l,i,u,o=n(67294),a=n(56567),c=n(73935);let s="yarl__";function d(...e){return[...e].filter(Boolean).join(" ")}function f(e){return`${s}${e}`}function v(e){return`--${s}${e}`}function h(e,t){return`${e}${t?`_${t}`:""}`}function m(e){return t=>h(e,t)}function p(...e){return()=>{e.forEach(e=>{e()})}}function g(e,t,n){return()=>{let r=o.useContext(n);if(!r)throw Error(`${e} must be used within a ${t}.Provider`);return r}}function E(){return"undefined"!=typeof window}function b(e,t=0){let n=10**t;return Math.round((e+Number.EPSILON)*n)/n}function w(e){return void 0===e.type||"image"===e.type}function y(e,t){return e.imageFit===a.rO||e.imageFit!==a.j3&&t===a.rO}function x(e){return"string"==typeof e?Number.parseInt(e,10):e}function N(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=x(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function M(){return(E()?null==window?void 0:window.devicePixelRatio:void 0)||1}function C(e){return e.length>0}function P(e,t){var n;return e[(n=e.length)>0?(t%n+n)%n:0]}function L(e,t){return C(e)?P(e,t):void 0}function k(e){return w(e)?e.src:void 0}function S(e,t,n){if(!n)return e;let{buttons:r,...l}=e,i=r.findIndex(e=>e===t),u=o.isValidElement(n)?o.cloneElement(n,{key:t},null):n;if(i>=0){let e=[...r];return e.splice(i,1,u),{buttons:e,...l}}return{buttons:[u,...r],...l}}function I(e,t,n=0){return Math.min(e.preload,Math.max(e.finite?t.length-1:Math.floor(t.length/2),n))}let R={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[a.t9]},labels:{},animation:{fade:250,swipe:500,easing:{fade:"ease",swipe:"ease-out",navigation:"ease-in-out"}},carousel:{finite:!1,preload:2,padding:"16px",spacing:"30%",imageFit:a.j3,imageProps:{}},controller:{ref:null,focus:!0,aria:!1,touchAction:"none",closeOnPullUp:!1,closeOnPullDown:!1,closeOnBackdropClick:!1,preventDefaultWheelX:!0,preventDefaultWheelY:!1},portal:{},noScroll:{disabled:!1},on:{},styles:{},className:""};function $(e,t){return{name:e,component:t}}function O(e,t){return{module:e,children:t}}function _(e,t,n){return e.flatMap(e=>{var r;return null!==(r=function e(t,n,r){return t.module.name===n?r(t):t.children?[O(t.module,t.children.flatMap(t=>{var l;return null!==(l=e(t,n,r))&&void 0!==l?l:[]}))]:[t]}(e,t,n))&&void 0!==r?r:[]})}let A=o.createContext(null),T=g("useDocument","DocumentContext",A);function W({nodeRef:e,children:t}){let n=o.useMemo(()=>{let t=t=>{var n;return(null===(n=t||e.current)||void 0===n?void 0:n.ownerDocument)||document};return{getOwnerDocument:t,getOwnerWindow:e=>{var n;return(null===(n=t(e))||void 0===n?void 0:n.defaultView)||window}}},[e]);return o.createElement(A.Provider,{value:n},t)}let D=o.createContext(null),U=g("useEvents","EventsContext",D);function X({children:e}){let[t]=o.useState({});o.useEffect(()=>()=>{Object.keys(t).forEach(e=>delete t[e])},[t]);let n=o.useMemo(()=>{let e=(e,n)=>{var r;null===(r=t[e])||void 0===r||r.splice(0,t[e].length,...t[e].filter(e=>e!==n))};return{publish:(...[e,n])=>{var r;null===(r=t[e])||void 0===r||r.forEach(e=>e(n))},subscribe:(n,r)=>(t[n]||(t[n]=[]),t[n].push(r),()=>e(n,r)),unsubscribe:e}},[t]);return o.createElement(D.Provider,{value:n},e)}let F=o.createContext(null),H=g("useLightboxProps","LightboxPropsContext",F);function z({children:e,...t}){return o.createElement(F.Provider,{value:t},e)}let B=o.createContext(null),K=g("useLightboxState","LightboxStateContext",B),V=o.createContext(null),Z=g("useLightbox
1Dispatch","LightboxDispatchContext",V);function j(e,t){switch(t.type){case"swipe":{var n;let{slides:r}=e,l=(null==t?void 0:t.increment)||0,i=e.globalIndex+l,u=(n=r.length)>0?(i%n+n)%n:0,o=L(r,u);return{slides:r,currentIndex:u,globalIndex:i,currentSlide:o,animation:l||t.duration?{increment:l,duration:t.duration,easing:t.easing}:void 0}}case"update":if(t.slides!==e.slides||t.index!==e.currentIndex)return{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:L(t.slides,t.index)};return e;default:throw Error(a.c3)}}function Y({slides:e,index:t,children:n}){let[r,l]=o.useReducer(j,{slides:e,currentIndex:t,globalIndex:t,currentSlide:L(e,t)});o.useEffect(()=>{l({type:"update",slides:e,index:t})},[e,t]);let i=o.useMemo(()=>({...r,state:r,dispatch:l}),[r,l]);return o.createElement(V.Provider,{value:l},o.createElement(B.Provider,{value:i},n))}let q=o.createContext(null),J=g("useTimeouts","TimeoutsContext",q);function Q({children:e}){let[t]=o.useState([]);o.useEffect(()=>()=>{t.forEach(e=>window.clearTimeout(e)),t.splice(0,t.length)},[t]);let n=o.useMemo(()=>{let e=e=>{t.splice(0,t.length,...t.filter(t=>t!==e))};return{setTimeout:(n,r)=>{let l=window.setTimeout(()=>{e(l),n()},r);return t.push(l),l},clearTimeout:t=>{void 0!==t&&(e(t),window.clearTimeout(t))}}},[t]);return o.createElement(q.Provider,{value:n},e)}let G=o.forwardRef(function({label:e,className:t,icon:n,renderIcon:r,onClick:l,style:i,...u},c){var s;let{styles:v,labels:h}=H();return o.createElement("button",{ref:c,type:"button","aria-label":null!==(s=null==h?void 0:h[e])&&void 0!==s?s:e,className:d(f(a.bg),t),onClick:l,style:{...i,...v.button},...u},r?r():o.createElement(n,{className:f(a.vg),style:v.icon}))});function ee(e,t){let n=e=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",...e},t);return n.displayName=e,n}function et(e,t){return ee(e,o.createElement("g",{fill:"currentColor"},o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function en(e,t){return ee(e,o.createElement(o.Fragment,null,o.createElement("defs",null,o.createElement("mask",{id:"strike"},o.createElement("path",{d:"M0 0h24v24H0z",fill:"white"}),o.createElement("path",{d:"M0 0L24 24",stroke:"black",strokeWidth:4}))),o.createElement("path",{d:"M0.70707 2.121320L21.878680 23.292883",stroke:"currentColor",strokeWidth:2}),o.createElement("g",{fill:"currentColor",mask:"url(#strike)"},o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t)))}let er=et("Close",o.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),el=et("Previous",o.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),ei=et("Next",o.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),eu=et("Loading",o.createElement(o.Fragment,null,Array.from({length:8}).map((e,t,n)=>o.createElement("line",{key:t,x1:"12",y1:"6.5",x2:"12",y2:"1.8",strokeLinecap:"round",strokeWidth:"2.6",stroke:"currentColor",strokeOpacity:1/n.length*(t+1),transform:`rotate(${360/n.length*t}, 12, 12)`})))),eo=et("Error",o.createElement("path",{d:"M21.9,21.9l-8.49-8.49l0,0L3.59,3.59l0,0L2.1,2.1L0.69,3.51L3,5.83V19c0,1.1,0.9,2,2,2h13.17l2.31,2.31L21.9,21.9z M5,18 l3.5-4.5l2.5,3.01L12.17,15l3,3H5z M21,18.17L5.83,3H19c1.1,0,2,0.9,2,2V18.17z"})),ea=E()?o.useLayoutEffect:o.useEffect;function ec(){let[e,t]=o.useState(!1);return o.useEffect(()=>{var e,n;let r=null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-reduced-motion: reduce)");t(null==r?void 0:r.matches);let l=e=>t(e.matches);return null===(n=null==r?void 0:r.addEventListener)||void 0===n||n.call(r,"change",l),()=>{var e;return null===(e=null==r?void 0:r.removeEventListener)||void 0===e?void 0:e.call(r,"change",l)}},[]),e}function es(e,t){let n=o.useRef(),r=o.useRef(),l=ec();return ea(()=>{var i,u,o;if(e.current&&void 0!==n.current&&!l){let{keyframes:l,duration:a,easing:c,onfinish:s}=t(n.current,e.current.getBoundingClientRect(),function(e){let t=0,n=0,r=0,l=window.getComputedStyle(e).transform.match(/matrix.*\((.+)\)/);if(l){let e=l[1].split(",").map(x);6===e.length?(t=e[4],n=e[5]):16===e.length&&(t=e[12],n=e[13],r=e[14])}return{x:t,y:n,z:r}}(e.current))||{};if(l&&a){null===(i=r.current)||void 0===i||i.cancel(),r.current=void 0;try{r.current=null===(o=(u=e.current).animate)||void 0===o?void 0:o.call(u,l,{duration:a,easing:c})}catch(e){console.error(e)}r.current&&(r.current.onfinish=()=>{r.current=void 0,null==s||s()})}}n.current=void 0}),{prepareAnimation:e=>{n.current=e},isAnimationPlaying:()=>{var e;return(null===(e=r.current)||void 0===e?void 0:e.playState)==="running"}}}function ed(){let e=o.useRef(null),t=o.useRef(),[n,r]=o.useState();return{setContainerRef:o.useCallback(n=>{e.current=n,t.current&&(t.current.disconnect(),t.current=void 0);let l=()=>{if(n){let e=window.getComputedStyle(n),t=e=>parseFloat(e)||0;r({width:Math.round(n.clientWidth-t(e.paddingLeft)-t(e.paddingRight)),height:Math.round(n.clientHeight-t(e.paddingTop)-t(e.paddingBottom))})}else r(void 0)};
1l(),n&&"undefined"!=typeof ResizeObserver&&(t.current=new ResizeObserver(l),t.current.observe(n))},[]),containerRef:e,containerRect:n}}function ef(){let e=o.useRef(),{setTimeout:t,clearTimeout:n}=J();return o.useCallback((r,l)=>{n(e.current),e.current=t(r,l>0?l:0)},[t,n])}function ev(e){let t=o.useRef(e);return ea(()=>{t.current=e}),o.useCallback((...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function eh(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function em(e,t){return o.useMemo(()=>null==e&&null==t?null:n=>{eh(e,n),eh(t,n)},[e,t])}function ep(){let[e,t]=o.useState(!1);return ea(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function eg(){let[e]=o.useState({}),t=o.useCallback((t,n)=>{var r;null===(r=e[t])||void 0===r||r.forEach(e=>{n.isPropagationStopped()||e(n)})},[e]);return{registerSensors:o.useMemo(()=>({onPointerDown:e=>t(a.NZ,e),onPointerMove:e=>t(a.N4,e),onPointerUp:e=>t(a.S2,e),onPointerLeave:e=>t(a.pE,e),onPointerCancel:e=>t(a.Vt,e),onKeyDown:e=>t(a.ds,e),onKeyUp:e=>t(a.Bm,e),onWheel:e=>t(a.yq,e)}),[t]),subscribeSensors:o.useCallback((t,n)=>(e[t]||(e[t]=[]),e[t].unshift(n),()=>{let r=e[t];r&&r.splice(0,r.length,...r.filter(e=>e!==n))}),[e])}}function eE(e,t){let n=o.useRef(0),r=ef(),l=ev((...t)=>{n.current=Date.now(),e(t)});return o.useCallback((...e)=>{r(()=>{l(e)},t-(Date.now()-n.current))},[t,l,r])}let eb=m("slide"),ew=m("slide_image");function ey({slide:e,offset:t,render:n,rect:r,imageFit:l,imageProps:i,onClick:u,onLoad:c,style:s}){var v,h,m,p,g,b,w;let[x,N]=o.useState(a.Xe),{publish:M}=U(),{setTimeout:C}=J(),P=o.useRef(null);o.useEffect(()=>{0===t&&M((0,a.J1)(x))},[t,x,M]);let L=ev(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(N(a.Zv),C(()=>{null==c||c(e)},0))})}),k=o.useCallback(e=>{P.current=e,(null==e?void 0:e.complete)&&L(e)},[L]),S=o.useCallback(e=>{L(e.currentTarget)},[L]),I=o.useCallback(()=>{N(a.fS)},[]),R=y(e,l),$=(e,t)=>Number.isFinite(e)?e:t,O=$(Math.max(...(null!==(h=null===(v=e.srcSet)||void 0===v?void 0:v.map(e=>e.width))&&void 0!==h?h:[]).concat(e.width?[e.width]:[]).filter(Boolean)),(null===(m=P.current)||void 0===m?void 0:m.naturalWidth)||0),_=$(Math.max(...(null!==(g=null===(p=e.srcSet)||void 0===p?void 0:p.map(e=>e.height))&&void 0!==g?g:[]).concat(e.height?[e.height]:[]).filter(Boolean)),(null===(b=P.current)||void 0===b?void 0:b.naturalHeight)||0),A=O&&_?{maxWidth:`min(${O}px, 100%)`,maxHeight:`min(${_}px, 100%)`}:{maxWidth:"100%",maxHeight:"100%"},T=null===(w=e.srcSet)||void 0===w?void 0:w.sort((e,t)=>e.width-t.width).map(e=>`${e.src}
1 ${e.width}w`).join(", "),W=T&&r&&E()?`${Math.round(Math.min(r&&!R&&e.width&&e.height?r.height/e.height*e.width:Number.MAX_VALUE,r.width))}px`:void 0,{style:D,className:X,...F}=i||{};return o.createElement(o.Fragment,null,o.createElement("img",{ref:k,onLoad:S,onError:I,onClick:u,draggable:!1,className:d(f(ew()),R&&f(ew("cover")),x!==a.Zv&&f(ew("loading")),X),style:{...A,...s,...D},...F,alt:e.alt,sizes:W,srcSet:T,src:e.src}),x!==a.Zv&&o.createElement("div",{className:f(eb(a.$L))},x===a.Xe&&((null==n?void 0:n.iconLoading)?n.iconLoading():o.createElement(eu,{className:d(f(a.vg),f(eb(a.Xe)))})),x===a.fS&&((null==n?void 0:n.iconError)?n.iconError():o.createElement(eo,{className:d(f(a.vg),f(eb(a.fS)))}))))}let ex=o.forwardRef(function({className:e,children:t,...n},r){let l=o.useRef(null);return o.createElement(W,{nodeRef:l},o.createElement("div",{ref:em(r,l),className:d(f("root"),e),...n},t))});function eN(e,t,n,r,l){o.useEffect(()=>l?()=>{}:p(e(a.NZ,t),e(a.N4,n),e(a.S2,r),e(a.pE,r),e(a.Vt,r)),[e,t,n,r,l])}(r=i||(i={}))[r.NONE=0]="NONE",r[r.SWIPE=1]="SWIPE",r[r.PULL=2]="PULL",r[r.ANIMATION=3]="ANIMATION",(l=u||(u={}))[l.NONE=0]="NONE",l[l.SWIPE=1]="SWIPE",l[l.PULL=2]="PULL";let eM=m("container"),eC=o.createContext(null),eP=g("useController","ControllerContext",eC),eL=$(a.l4,function({children:e,...t}){var n;let{carousel:r,animation:l,controller:c,on:s,styles:h,render:m}=t,{closeOnPullUp:g,closeOnPullDown:E,preventDefaultWheelX:w,preventDefaultWheelY:y}
1=c,[x,M]=o.useState(),C=K(),P=Z(),[L,k]=o.useState(i.NONE),S=o.useRef(0),I=o.useRef(0),R=o.useRef(1),{registerSensors:$,subscribeSensors:O}=eg(),{subscribe:_,publish:A}=U(),W=ef(),D=ef(),X=ef(),{containerRef:F,setContainerRef:H,containerRect:z}=ed(),B=em(function({preventDefaultWheelX:e,preventDefaultWheelY:t}){let n=o.useRef(null),r=ev(n=>{let r=Math.abs(n.deltaX)>Math.abs(n.deltaY);(r&&e||!r&&t||n.ctrlKey)&&n.preventDefault()});return o.useCallback(e=>{var t;e?e.addEventListener("wheel",r,{passive:!1}):null===(t=n.current)||void 0===t||t.removeEventListener("wheel",r),n.current=e},[r])}({preventDefaultWheelX:w,preventDefaultWheelY:y}),H),V=o.useRef(null),j=em(V,void 0),{getOwnerDocument:Y}=T(),q=ep(),Q=e=>(q?-1:1)*("number"==typeof e?e:1),G=ev(()=>{var e;return null===(e=F.current)||void 0===e?void 0:e.focus()}),ee=ev(()=>t),et=ev(()=>C),en=o.useCallback(e=>A(a.KN,e),[A]),er=o.useCallback(e=>A(a.Eb,e),[A]),el=o.useCallback(()=>A(a.t9),[A]),ei=e=>!(r.finite&&(Q(e)>0&&0===C.currentIndex||0>Q(e)&&C.currentIndex===C.slides.length-1)),eu=e=>{var t;S.current=e,null===(t=F.current)||void 0===t||t.style.setProperty(v("swipe_offset"),`${Math.round(e)}px`)},eo=e=>{var t,n;I.current=e,R.current=Math.min(Math.max(b(1-(E&&e>0?e:g&&e<0?-e:0)/60*.5,2),.5),1),null===(t=F.current)||void 0===t||t.style.setProperty(v("pull_offset"),`${Math.round(e)}px`),null===(n=F.current)||void 0===n||n.style.setProperty(v("pull_opacity"),`${R.current}`)},{prepareAnimation:ea}=es(V,(e,t,n)=>{if(V.current&&z)return{keyframes:[{transform:`translate(0, ${e.rect.y-t.y+n.y}px)`,opacity:e.opacity},{transform:"translate(0, 0)",opacity:1}],duration:e.duration,easing:l.easing.fade}}),ec=(e,t)=>{if(g||E){eo(e);let n=0;V.current&&(n=l.fade*(t?2:1),ea({rect:V.current.getBoundingClientRect(),opacity:R.current,duration:n})),X(()=>{eo(0),k(i.NONE)},n),k(i.ANIMATION),t||el()}},{prepareAnimation:eh,isAnimationPlaying:eE}=es(V,(e,t,n)=>{var l;if(V.current&&z&&(null===(l=C.animation)||void 0===l?void 0:l.duration)){let l=N(r.spacing),i=(l.percent?l.percent*z.width/100:l.pixel)||0;return{keyframes:[{transform:`translate(${Q(C.globalIndex-e.index)*(z.width+i)+e.rect.x-t.x+n.x}px, 0)`},{transform:"translate(0, 0)"}],duration:C.animation.duration,easing:C.animation.easing}}}),eb=ev(e=>{var t,n;let r=e.offset||0,u=r?l.swipe:null!==(t=l.navigation)&&void 0!==t?t:l.swipe,o=r||eE()?l.easing.swipe:l.easing.navigation,{direction:c}=e,s=null!==(n=e.count)&&void 0!==n?n:1,d=i.ANIMATION,f=u*s;if(!c){let t=null==z?void 0:z.width,n=e.duration||0,l=t?u/t*Math.abs(r):u;0!==s?(n<l?f=f/l*Math.max(n,l/5):t&&(f=u/t*(t-Math.abs(r))),c=Q(r)>0?a.KN:a.Eb):f=u/2}let v=0;c===a.KN?ei(Q(1))?v=-s:(d=i.NONE,f=u):c===a.Eb&&(ei(Q(-1))?v=s:(d=i.NONE,f=u)),D(()=>{eu(0),k(i.NONE)},f=Math.round(f)),V.current&&eh({rect:V.current.getBoundingClientRect(),index:C.globalIndex}),k(d),A(a.Tn,{type:"swipe",increment:v,duration:f,easing:o})});o.useEffect(()=>{var e,t;(null===(e=C.animation)||void 0===e?void 0:e.increment)&&(null===(t=C.animation)||void 0===t?void 0:t.duration)&&W(()=>P({type:"swipe",increment:0}),C.animation.duration)},[C.animation,P,W]);let ew=[O,ei,(null==z?void 0:z.width)||0,l.swipe,()=>k(i.SWIPE),e=>eu(e),(e,t)=>eb({offset:e,duration:t,count:1}),e=>eb({offset:e,count:0})],ey=[()=>{E&&k(i.PULL)},e=>eo(e),e=>ec(e),e=>ec(e,!0)];!function(e,t,n,r,l,i,a,c,s,d,f,v,h,m){let p=o.useRef(0),g=o.useRef([]),E=o.useRef(),b=o.useRef(0),w=o.useRef(u.NONE),y=o.useCallback(e=>{E.current===e.pointerId&&(E.current=void 0,w.current=u.NONE);let t=g.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),x=o.useCallback(e=>{y(e),e.persist(),g.current.push(e)},[y]),N=ev(e=>{x(e)}),M=(e,t)=>d&&e>t||s&&e<-t,C=ev(e=>{if(g.current.find(t=>t.pointerId===e.pointerId)&&E.current===e.pointerId){let e=Date.now()-b.current,t=p.current;w.current===u.SWIPE?Math.abs(t)>.3*n||Math.abs(t)>5&&e<r?a(t,e):c(t):w.current===u.PULL&&(M(t,60)?h(t,e):m(t)),p.current=0,w.current=u.NONE}y(e)});eN(e,N,ev(e=>{let n=g.current.find(t=>t.pointerId===e.pointerId);if(n){let r=E.current===e.pointerId;
1if(0===e.buttons){r&&0!==p.current?C(e):y(n);return}let o=e.clientX-n.clientX,a=e.clientY-n.clientY;if(void 0===E.current){let n=t=>{x(e),E.current=e.pointerId,b.current=Date.now(),w.current=t};Math.abs(o)>Math.abs(a)&&Math.abs(o)>30&&t(o)?(n(u.SWIPE),l()):Math.abs(a)>Math.abs(o)&&M(a,30)&&(n(u.PULL),f())}else r&&(w.current===u.SWIPE?(p.current=o,i(o)):w.current===u.PULL&&(p.current=a,v(a)))}}),C)}(...ew,g,E,...ey),function(e,t,n,r,l,u,c,s,d){let f=o.useRef(0),v=o.useRef(0),h=o.useRef(),m=o.useRef(),p=o.useRef(0),g=o.useRef(0),{setTimeout:E,clearTimeout:b}=J(),w=o.useCallback(()=>{h.current&&(b(h.current),h.current=void 0)},[b]),y=o.useCallback(()=>{m.current&&(b(m.current),m.current=void 0)},[b]),x=ev(()=>{e!==i.SWIPE&&(f.current=0,g.current=0,w(),y())});o.useEffect(x,[e,x]);let N=ev(e=>{m.current=void 0,f.current===e&&d(f.current)}),M=ev(t=>{if(!(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))){if(e===i.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(p.current)){p.current=t.deltaX;return}if(n(-t.deltaX)){if(v.current+=t.deltaX,w(),Math.abs(v.current)>30)v.current=0,p.current=0,g.current=Date.now(),u();else{let e=v.current;h.current=E(()=>{h.current=void 0,e===v.current&&(v.current=0)},l)}}}else if(e===i.SWIPE){let e=f.current-t.deltaX;if(e=Math.min(Math.abs(e),r)*Math.sign(e),f.current=e,c(e),y(),Math.abs(e)>.2*r){p.current=t.deltaX,s(e,Date.now()-g.current);return}m.current=E(()=>N(e),2*l)}else p.current=t.deltaX}});o.useEffect(()=>t(a.yq,M),[t,M])}(L,...ew);let ex=ev(()=>{c.focus&&Y().querySelector(`.${f(a.SA)} .${f(eM())}`)&&G()});o.useEffect(ex,[ex]);let eP=ev(()=>{var e;null===(e=s.view)||void 0===e||e.call(s,{index:C.currentIndex})});o.useEffect(eP,[C.globalIndex,eP]),o.useEffect(()=>p(_(a.KN,e=>eb({direction:a.KN,...e})),_(a.Eb,e=>eb({direction:a.Eb,...e})),_(a.Tn,e=>P(e))),[_,eb,P]);let eL=o.useMemo(()=>({prev:en,next:er,close:el,focus:G,slideRect:z?function(e,t){let n=N(t),r=void 0!==n.percent?e.width/100*n.percent:n.pixel;return{width:Math.max(e.width-2*r,0),height:Math.max(e.height-2*r,0)}}(z,r.padding):{width:0,height:0},containerRect:z||{width:0,height:0},subscribeSensors:O,containerRef:F,setCarouselRef:j,toolbarWidth:x,setToolbarWidth:M}),[en,er,el,G,O,z,F,j,x,M,r.padding]);return o.useImperativeHandle(c.ref,()=>({prev:en,next:er,close:el,focus:G,getLightboxProps:ee,getLightboxState:et}),[en,er,el,G,ee,et]),o.createElement("div",{ref:B,className:d(f(eM()),f(a.aN)),style:{...L===i.SWIPE?{[v("swipe_offset")]:`${Math.round(S.current)}px`}:null,...L===i.PULL?{[v("pull_offset")]:`${Math.round(I.current)}px`,[v("pull_opacity")]:`${R.current}`}:null,..."none"!==c.touchAction?{[v("controller_touch_action")]:c.touchAction}:null,...h.container},...c.aria?{role:"presentation","aria-live":"polite"}:null,tabIndex:-1,...$},z&&o.createElement(eC.Provider,{value:eL},e,null===(n=m.controls)||void 0===n?void 0:n.call(m)))});function ek(e){return h(a.k0,e)}function eS(e){return h("slide",e)}function eI({slide:e,offset:t}){var n,r,l,i;let u;let c=o.useRef(null),{currentIndex:s}=K(),{slideRect:v,close:h}=eP(),{render:m,carousel:{imageFit:p,imageProps:g},on:{click:E},controller:{closeOnBackdropClick:b},styles:{slide:y}}=H();return o.createElement("div",{ref:c,className:d(f(eS()),0===t&&f(eS("current")),f(a.aN)),onClick:e=>{let t=c.current,n=e.target instanceof HTMLElement?e.target:void 0;b&&n&&t&&(n===t||Array.from(t.children).find(e=>e===n)&&n.classList.contains(f(a.af)))&&h()},style:y},(!(u=null===(n=m.slide)||void 0===n?void 0:n.call(m,{slide:e,offset:t,rect:v}))&&w(e)&&(u=o.createElement(ey,{slide:e,offset:t,render:m,rect:v,imageFit:p,imageProps:g,onClick:0===t?()=>null==E?void 0:E({index:s}):void 0})),u?o.createElement(o.Fragment,null,null===(r=m.slideHeader)||void 0===r?void 0:r.call(m,{slide:e}),(null!==(l=m.slideContainer)&&void 0!==l?l:({children:e})=>e)({slide:e,children:u}),null===(i=m.slideFooter)||void 0===i?void 0:i.call(m,{slide:e})):null))}function eR(){let e=H().styles.slide;return o.createElement("div",{className:f("slide"),style:e})}let e$=$(a.k0,function({carousel:e}){let{slides:t,currentIndex:n,globalIndex:r}=K(),{setCarouselRef:l}=eP(),i=N(e.spacing),u=N(e.padding),a=I(e,t,1),c=[];if(C(t))for(let l=n-a;l<=n+a;l+=1){let i=P(t,l),u=r-n+l,o=e.finite&&(l<0||l>t.length-1);c.push(o?{key:u}:{key:[`${u}
1`,k(i)].filter(Boolean).join("|"),offset:l-n,slide:i})}return o.createElement("div",{ref:l,className:d(f(ek()),c.length>0&&f(ek("with_slides"))),style:{[`${v(ek("slides_count"))}`]:c.length,[`${v(ek("spacing_px"))}`]:i.pixel||0,[`${v(ek("spacing_percent"))}`]:i.percent||0,[`${v(ek("padding_px"))}`]:u.pixel||0,[`${v(ek("padding_percent"))}`]:u.percent||0}},c.map(({key:e,slide:t,offset:n})=>t?o.createElement(eI,{key:e,slide:t,offset:n}):o.createElement(eR,{key:e})))});function eO(){let{carousel:e}=H(),{slides:t,currentIndex:n}=K();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function e_(e){var t;let n=ep(),{publish:r}=U(),{animation:l}=H(),{prevDisabled:i,nextDisabled:u}=eO(),c=(null!==(t=l.navigation)&&void 0!==t?t:l.swipe)/2,s=eE(()=>r(a.KN),c),d=eE(()=>r(a.Eb),c),f=ev(e=>{switch(e.key){case a.PU:r(a.t9);break;case a.Sl:(n?u:i)||(n?d:s)();break;case a.NH:(n?i:u)||(n?s:d)()}});o.useEffect(()=>e(a.ds,f),[e,f])}function eA({label:e,icon:t,renderIcon:n,action:r,onClick:l,disabled:i,style:u}){return o.createElement(G,{label:e,icon:t,renderIcon:n,className:f(`navigation_${r}`),disabled:i,onClick:l,style:u,...function(e,t=!1){let n=o.useRef();return ea(()=>{t&&n.current&&(n.current=!1,e())},[t,e]),{onFocus:o.useCallback(()=>{n.current=!0},[]),onBlur:o.useCallback(()=>{n.current=!1},[])}}(eP().focus,i)})}let eT=$(a.Op,function({render:{buttonPrev:e,buttonNext:t,iconPrev:n,iconNext:r},styles:l}){let{prev:i,next:u,subscribeSensors:c}=eP(),{prevDisabled:s,nextDisabled:d}=eO();return e_(c),o.createElement(o.Fragment,null,e?e():o.createElement(eA,{label:"Previous",action:a.KN,icon:el,renderIcon:n,style:l.navigationPrev,disabled:s,onClick:i}),t?t():o.createElement(eA,{label:"Next",action:a.Eb,icon:ei,renderIcon:r,style:l.navigationNext,disabled:d,onClick:u}))}),eW=f(a.Tf),eD=f(a.M9);function eU(e,t,n){let r=window.getComputedStyle(e),l=n?"padding-left":"padding-right",i=n?r.paddingLeft:r.paddingRight,u=e.style.getPropertyValue(l);return e.style.setProperty(l,`${(x(i)||0)+t}px`),()=>{u?e.style.setProperty(l,u):e.style.removeProperty(l)}}let eX=$(a.HE,function({noScroll:{disabled:e},children:t}){let n=ep(),{getOwnerDocument:r,getOwnerWindow:l}=T();return o.useEffect(()=>{if(e)return()=>{};let t=[],i=l(),{body:u,documentElement:o}=r(),a=Math.round(i.innerWidth-o.clientWidth);if(a>0){t.push(eU(u,a,n));let e=u.getElementsByTagName("*");for(let r=0;r<e.length;r+=1){let l=e[r];"style"in l&&"fixed"===i.getComputedStyle(l).getPropertyValue("position")&&!l.classList.contains(eD)&&t.push(eU(l,a,n))}}return u.classList.add(eW),()=>{u.classList.remove(eW),t.forEach(e=>e())}},[n,e,r,l]),o.createElement(o.Fragment,null,t)});function eF(e,t,n){let r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}let eH=$(a.SA,function({children:e,animation:t,styles:n,className:r,on:l,portal:i,close:u}){var s;let[m,p]=o.useState(!1),[g,E]=o.useState(!1),b=o.useRef([]),w=o.useRef(null),{setTimeout:y}=J(),{subscribe:x}=U(),N=ec()?0:t.fade;o.useEffect(()=>(p(!0),()=>{p(!1),E(!1)}),[]);let M=ev(()=>{b.current.forEach(e=>e()),b.current=[]}),C=ev(()=>{var e;E(!1),M(),null===(e=l.exiting)||void 0===e||e.call(l),y(()=>{var e;null===(e=l.exited)||void 0===e||e.call(l),u()},N)});o.useEffect(()=>x(a.t9,C),[x,C]);let P=ev(e=>{var t,n,r;e.scrollTop,E(!0),null===(t=l.entering)||void 0===t||t.call(l);let i=null!==(r=null===(n=e.parentNode)||void 0===n?void 0:n.children)&&void 0!==r?r:[];for(let t=0;t<i.length;t+=1){let n=i[t];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(n.tagName)&&n!==e&&(b.current.push(eF(n,"inert","true")),b.current.push(eF(n,"aria-hidden","true")))}b.current.push(()=>{var e,t;null===(t=null===(e=w.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}),y(()=>{var e;null===(e=l.entered)||void 0===e||e.call(l)},N)}),L=o.useCallback(e=>{e?P(e):M()},[P,M]);return m?(0,c.createPortal)(o.createElement(ex,{ref:L,className:d(r,f(h(a.SA,void 0)),f(a.M9),g&&f((s="open",h(a.SA,s)))),role:"presentation","aria-live":"polite",style:{...t.fade!==R.animation.fade?{[v("fade_animation_duration")]:`${N}ms`}:null,...t.easing.fade!==R.animation.easing.fade?{[v("fade_animation_timing_function")]:t.easing.fade}:null,...n.root},onFocus:e=>{w.current||(w.current=e.relatedTarget)}},e),i.root||document.body):null}),ez=$(a.lT,function({children:e}){return o.createElement(o.Fragment,null,e)}),eB=$(a.hb,function({toolbar:{buttons:e},render:{buttonClose:t,iconClose:n},styles:r}){let{close:l,setToolbarWidth:i}=eP(),{setContainerRef:u,containerRect:c}=ed();ea(()=>{i(null==c?void 0:c.width)},[i,null==c?void 0:c.width]);let s=()=>t?t():o.createElement(G,{key:a.t9,label:"Close",icon:er,renderIcon:n,onClick:l});return o.createElement("div",{ref:u,style:r.toolbar,className:f(h(a.hb,void 0))},null==e?void 0:e.map(e=>e===a.t9?s():e))});function eK({carousel:e,animation:t,render:n,toolbar:r,controller:l,noScroll:i,on:u,plugins:c,slides:s,index:d,...f}){let{animation:v,carousel:h,render:m,toolbar:p,controller:g,noScroll:E,on:b,slides:w,index:y,plugins:N,...M}=R,{config:C,augmentation:P}=function(e,t=[],n=[]){let r=e,l=e=>{let t=[...r];for(;t.length>0;){let n=t.pop();if((null==n?void 0:n.module.name)===e)return!0;
1(null==n?void 0:n.children)&&t.push(...n.children)}return!1},i=(e,t)=>{if(""===e){r=[O(t,r)];return}r=_(r,e,e=>[O(t,[e])])},u=(e,t)=>{r=_(r,e,e=>[O(e.module,[O(t,e.children)])])},o=(e,t,n)=>{r=_(r,e,e=>{var r;return[O(e.module,[...n?[O(t)]:[],...null!==(r=e.children)&&void 0!==r?r:[],...n?[]:[O(t)]])]})},c=(e,t,n)=>{r=_(r,e,e=>[...n?[O(t)]:[],e,...n?[]:[O(t)]])},s=e=>{u(a.l4,e)},d=(e,t)=>{r=_(r,e,e=>[O(t,e.children)])},f=e=>{r=_(r,e,e=>e.children)},v=e=>{n.push(e)};return t.forEach(e=>{e({contains:l,addParent:i,append:u,addChild:o,addSibling:c,addModule:s,replace:d,remove:f,augment:v})}),{config:r,augmentation:e=>n.reduce((e,t)=>t(e),e)}}([O(eH,[O(eX,[O(eL,[O(e$),O(eB),O(eT)])])])],c||N),L=P({animation:function(e,t={}){let{easing:n,...r}=e,{easing:l,...i}=t;return{easing:{...n,...l},...r,...i}}(v,t),carousel:{...h,...e},render:{...m,...n},toolbar:{...p,...r},controller:{...g,...l},noScroll:{...E,...i},on:{...b,...u},...M,...f});return L.open?o.createElement(z,{...L},o.createElement(Y,{slides:s||w,index:x(d||y)},o.createElement(Q,null,o.createElement(X,null,function e(t,n){var r;return o.createElement(t.module.component,{key:t.module.name,...n},null===(r=t.children)||void 0===r?void 0:r.map(t=>e(t,n)))}(O(ez,C),L))))):null}},56567:function(e,t,n){n.d(t,{$L:function(){return p},Bm:function(){return O},Eb:function(){return M},HE:function(){return u},J1:function(){return g},KN:function(){return N},M9:function(){return y},N4:function(){return k},NH:function(){return W},NZ:function(){return L},Op:function(){return i},PU:function(){return A},S2:function(){return S},SA:function(){return o},Sl:function(){return T},Tf:function(){return w},Tn:function(){return C},Vt:function(){return R},Xe:function(){return v},Zv:function(){return m},aN:function(){return b},af:function(){return x},bg:function(){return D},c3:function(){return H},dA:function(){return d},ds:function(){return $},fS:function(){return h},hb:function(){return c},j3:function(){return X},k0:function(){return r},l4:function(){return l},lT:function(){return a},pE:function(){return I},rO:function(){return F},t9:function(){return P},vg:function(){return U},xc:function(){return f},yS:function(){return E},yq:function(){return _},zr:function(){return s}});let r="carousel",l="controller",i="navigation",u="no-scroll",o="portal",a="root",c="toolbar",s="fullscreen",d="thumbnails",f="zoom",v="loading",h="error",m="complete",p="placeholder",g=e=>`active-slide-${e}`;g(v),g("playing"),g(h),g(m);let E="fullsize",b="flex_center",w="no_scroll",y="no_scroll_padding",x="slide_wrapper",N="prev",M="next",C="swipe",P="close",L="onPointerDown",k="onPointerMove",S="onPointerUp",I="onPointerLeave",R="onPointerCancel",$="onKeyDown",O="onKeyUp",_="onWheel",A="Escape",T="ArrowLeft",W="ArrowRight",D="button",U="icon",X="contain",F="cover",H="Unknown action type"}}]);
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.