PageSourceSearch

https://www.provazek.cz/_next/static/chunks/7918-7123b0dbba77fbbc.js

js provazek.cz collected 2026-10-02 11:25:25 UTC 30,582 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1955b3aa-b1b9-4e73-8bfd-2dfb44ac1d5f",e._sentryDebugIdIdentifier="sentry-dbid-1955b3aa-b1b9-4e73-8bfd-2dfb44ac1d5f")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7918],{31479:()=>{},80573:(e,t,n)=>{"use strict";n.d(t,{A9:()=>T,Bv:()=>p,C:()=>N,EC:()=>m,Ev:()=>s,HR:()=>g,I1:()=>f,Kv:()=>l,Ky:()=>a,Nc:()=>x,OT:()=>u,P9:()=>h,Qo:()=>d,RK:()=>P,Td:()=>F,Uj:()=>O,V:()=>U,b6:()=>o,e7:()=>z,h0:()=>b,j7:()=>_,jR:()=>W,jn:()=>D,kJ:()=>i,mY:()=>r,or:()=>A,pc:()=>y,pq:()=>c,qq:()=>M,s:()=>I,sI:()=>C,t$:()=>S,tC:()=>v,tD:()=>L,tu:()=>k,uF:()=>R,vg:()=>E,zn:()=>w});let r="carousel",l="controller",a="navigation",o="no-scroll",i="portal",u="root",c="toolbar",s="captions",d="loading",f="error",h="complete",p="placeholder",m=e=>`active-slide-${e}`;m(d),m("playing"),m(f),m(h);let v="flex_center",g="no_scroll",E="no_scroll_padding",b="slide",y="slide_wrapper",w="prev",x="next",C="swipe",N="close",M="onPointerDown",P="onPointerMove",k="onPointerUp",L="onPointerLeave",I="onPointerCancel",R="onKeyDown",S="onKeyUp",_="onWheel",A="Escape",T="ArrowLeft",D="ArrowRight",O="button",W="icon",F="contain",z="cover",U="Unknown action type"},91148:(e,t,n)=>{"use strict";n.d(t,{$z:()=>c,Ay:()=>ez,D$:()=>U,Fi:()=>k,K0:()=>$,Q5:()=>ee,Tz:()=>v,Vg:()=>d,as:()=>ex,bo:()=>N,l6:()=>p,oF:()=>s,wt:()=>Z});var r,l,a=n(12933),o=n(80573),i=n(8840);let u="yarl__";function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}function s(e){return"".concat(u).concat(e)}function d(e){return"--".concat(u).concat(e)}function f(e,t){return"".concat(e).concat(t?"_".concat(t):"")}function h(e){return t=>f(e,t)}function p(e,t){var n;return null!=(n=null==e?void 0:e[t])?n:t}function m(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return()=>{t.forEach(e=>{e()})}}function v(e,t,n){return()=>{let r=a.useContext(n);if(!r)throw Error("".concat(e," must be used within a ").concat(t,".Provider"));return r}}function g(){return"undefined"!=typeof window}function E(e){return void 0===e.type||"image"===e.type}function b(e){return"string"==typeof e?Number.parseInt(e,10):e}function y(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=b(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function w(e,t){return t>0?(e%t+t)%t:0}function x(e,t){return e[w(t,e.length)]}function C(e,t){return e.length>0?x(e,t):void 0}function N(e,t,n){if(!n)return e;let{buttons:r,...l}=e,o=r.findIndex(e=>e===t),i=a.isValidElement(n)?a.cloneElement(n,{key:t},null):n;if(o>=0){let e=[...r];return e.splice(o,1,i),{buttons:e,...l}}return{buttons:[i,...r],...l}}let M=Number(a.version.split(".")[0])>=19,P={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[o.C]},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:o.Td,imageProps:{}},controller:{ref:null,focus:!0,aria:!1,touchAction:"none",closeOnPullUp:!1,closeOnPullDown:!1,closeOnBackdropClick:!1,preventDefaultWheelX:!0,preventDefaultWheelY:!1,disableSwipeNavigation:!1},portal:{},noScroll:{disabled:!1},on:{},styles:{},className:""};function k(e,t){return{name:e,component:t}}function L(e,t){return{module:e,children:t}}function I(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?[L(t.module,t.children.flatMap(t=>{var l;return null!=(l=e(t,n,r))?l:[]}))]:[t]}(e,t,n))?r:[]})}let R=a.createContext(null),S=v("useA11yContext","A11yContext",R);function _(e){let{children:t}=e,[n,r]=a.useState(!1),[l,o]=a.useState(!1),i=a.useMemo(()=>({focusWithin:n,trackFocusWithin:(e,t)=>{let n=n=>l=>{var a;l.currentTarget.contains(l.relatedTarget)||r(n),null==(a=n?e:t)||a(l)};return{onFocus:n(!0),onBlur:n(!1)}},autoPlaying:l,setAutoPlaying:o}),[n,l]);return a.createElement(R.Provider,{value:i},t)}let A=a.createContext(null),T=v("useDocument","DocumentContext",A);function D(e){let{nodeRef:t,children:n}=e,r=a.useMemo(()=>{let e=e=>{var n;return(null==(n=e||t.current)?void 0:n.ownerDocument)||document};return{getOwnerDocument:e,getOwnerWindow:t=>{var n;return(null==(n=e(t))?void 0:n.defaultView)||window}}},[t]);return a.createElement(A.Provider,{value:r},n)}let O=a.createContext(null),W=v("useEvents","EventsContext",O);function F(e){let{children:t}=e,[n]=a.useState({});a.useEffect(()=>()=>
1{Object.keys(n).forEach(e=>delete n[e])},[n]);let r=a.useMemo(()=>{let e=(e,t)=>{var r;null==(r=n[e])||r.splice(0,n[e].length,...n[e].filter(e=>e!==t))};return{publish:function(){for(var e,t=arguments.length,r=Array(t),l=0;l<t;l++)r[l]=arguments[l];let[a,o]=r;null==(e=n[a])||e.forEach(e=>e(o))},subscribe:(t,r)=>(n[t]||(n[t]=[]),n[t].push(r),()=>e(t,r)),unsubscribe:e}},[n]);return a.createElement(O.Provider,{value:r},t)}let z=a.createContext(null),U=v("useLightboxProps","LightboxPropsContext",z);function j(e){let{children:t,...n}=e;return a.createElement(z.Provider,{value:n},t)}let B=a.createContext(null),K=v("useLightboxState","LightboxStateContext",B),H=a.createContext(null),X=v("useLightboxDispatch","LightboxDispatchContext",H);function q(e,t){switch(t.type){case"swipe":{let{slides:n}=e,r=(null==t?void 0:t.increment)||0,l=e.globalIndex+r,a=w(l,n.length),o=C(n,a);return{slides:n,currentIndex:a,globalIndex:l,currentSlide:o,animation:r||void 0!==t.duration?{increment:r,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:C(t.slides,t.index)};return e;default:throw Error(o.V)}}function V(e){let{slides:t,index:n,children:r}=e,[l,o]=a.useReducer(q,{slides:t,currentIndex:n,globalIndex:n,currentSlide:C(t,n)});a.useEffect(()=>{o({type:"update",slides:t,index:n})},[t,n]);let i=a.useMemo(()=>({...l,state:l,dispatch:o}),[l,o]);return a.createElement(H.Provider,{value:o},a.createElement(B.Provider,{value:i},r))}let Y=a.createContext(null),J=v("useTimeouts","TimeoutsContext",Y);function Q(e){let{children:t}=e,[n]=a.useState([]);a.useEffect(()=>()=>{n.forEach(e=>window.clearTimeout(e)),n.splice(0,n.length)},[n]);let r=a.useMemo(()=>{let e=e=>{n.splice(0,n.length,...n.filter(t=>t!==e))};return{setTimeout:(t,r)=>{let l=window.setTimeout(()=>{e(l),t()},r);return n.push(l),l},clearTimeout:t=>{void 0!==t&&(e(t),window.clearTimeout(t))}}},[n]);return a.createElement(Y.Provider,{value:r},t)}let $=a.forwardRef(function(e,t){let{label:n,className:r,icon:l,renderIcon:i,onClick:u,style:d,...f}=e,{styles:h,labels:m}=U(),v=p(m,n);return a.createElement("button",{ref:t,type:"button",title:v,"aria-label":v,className:c(s(o.Uj),r),onClick:u,style:{...d,...h.button},...f},i?i():a.createElement(l,{className:s(o.jR),style:h.icon}))});function G(e,t){let n=e=>a.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 Z(e,t){return G(e,a.createElement("g",{fill:"currentColor"},a.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function ee(e,t){return G(e,a.createElement(a.Fragment,null,a.createElement("defs",null,a.createElement("mask",{id:"strike"},a.createElement("path",{d:"M0 0h24v24H0z",fill:"white"}),a.createElement("path",{d:"M0 0L24 24",stroke:"black",strokeWidth:4}))),a.createElement("path",{d:"M0.70707 2.121320L21.878680 23.292883",stroke:"currentColor",strokeWidth:2}),a.createElement("g",{fill:"currentColor",mask:"url(#strike)"},a.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t)))}let et=Z("Close",a.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"})),en=Z("Previous",a.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),er=Z("Next",a.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),el=Z("Loading",a.createElement(a.Fragment,null,Array.from({length:8}).map((e,t,n)=>a.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(".concat(360/n.length*t,", 12, 12)")})))),ea=Z("Error",a.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"})),eo=g()?a.useLayoutEffect:a.useEffect;function ei(){let[e,t]=a.useState(!1);return a.useEffect(()=>{var e,n;let r=null==(e=window.matchMedia)?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)||n.call(r,"change",l),()=>{var e;return null==(e=null==r?void 0:r.removeEventListener)?void 0:e.call(r,"change",l)}},[]),e}function eu(e,t){let n=a.useRef(void 0),r=a.useRef(void 0),l=ei();return eo(()=>{var a,o,i;if(e.current&&void 0!==n.current&&!l){let{keyframes:l,duration:u,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(b);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&&u){null==(a=r.current)||a.cancel(),r.current=void 0;try{r.current=null==(i=(o=e.current).animate)?void 0:i.call(o,l,{duration:u,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.playState)==="running"}}}function ec(){let e=a.useRef(null),t=a.useRef(void 0),[n,r]=a.useState();return{setContainerRef:a.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 es(){let e=a.useRef(void 0),{setTimeout:t,clearTimeout:n}=J();return a.useCallback((r,l)=>{n(e.current),e.current=t(r,l>0?l:0)},[t,n])}function ed(e){let t=a.useRef(e);return eo(()=>{t.current=e}),a.useCallback(function(){for(var e,n=arguments.length,r=Array(n),l=0;l<n;l++)r[l]=arguments[l];return null==(e=t.current)?void 0:e.call(t,...r)},[])}function ef(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function eh(e,t){return a.useMemo(()=>null==e&&null==t?null:n=>{ef(e,n),ef(t,n)},[e,t])}function ep(){let[e,t]=a.useState(!1);return eo(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function em(e,t){let n=a.useRef(0),r=es(),l=ed(function(){for(var t=arguments.length,r=Array(t),l=0;l<t;l++)r[l]=arguments[l];n.current=Date.now(),e(r)});return a.useCallback(function(){for(var e=arguments.length,a=Array(e),o=0;o<e;o++)a[o]=arguments[o];r(()=>{l(a)},t-(Date.now()-n.current))},[t,l,r])}let ev=h("slide"),eg=h("slide_image");function eE(e){var t,n,r,l,i,u,d,f;let{slide:h,offset:p,render:m,rect:v,imageFit:E,imageProps:b,onClick:y,onLoad:w,onError:x,style:C}=e,[N,M]=a.useState(o.Qo),{publish:P}=W(),{setTimeout:k}=J(),L=a.useRef(null);a.useEffect(()=>{0===p&&P((0,o.EC)(N))},[p,N,P]);let I=ed(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(M(o.P9),k(()=>{null==w||w(e)},0))})}),R=a.useCallback(e=>{L.current=e,(null==e?void 0:e.complete)&&I(e)},[I]),S=a.useCallback(e=>{I(e.currentTarget)},[I]),_=ed(()=>{M(o.I1),null==x||x()}),A=h.imageFit===o.e7||h.imageFit!==o.Td&&E===o.e7,T=(e,t)=>
1Number.isFinite(e)?e:t,D=T(Math.max(...(null!=(n=null==(t=h.srcSet)?void 0:t.map(e=>e.width))?n:[]).concat(h.width?[h.width]:[]).filter(Boolean)),(null==(r=L.current)?void 0:r.naturalWidth)||0),O=T(Math.max(...(null!=(i=null==(l=h.srcSet)?void 0:l.map(e=>e.height))?i:[]).concat(h.height?[h.height]:[]).filter(Boolean)),(null==(u=L.current)?void 0:u.naturalHeight)||0),F=null==(d=h.srcSet)?void 0:d.slice().sort((e,t)=>e.width-t.width).map(e=>"".concat(e.src," ").concat(e.width,"w")).join(", "),z=F&&v&&g()?"".concat(Math.round(Math.min(v&&!A&&h.width&&h.height?v.height/h.height*h.width:Number.MAX_VALUE,v.width)),"px"):void 0,{style:U,className:j,...B}=("function"==typeof b?b(h):b)||{};return a.createElement(a.Fragment,null,a.createElement("img",{ref:R,onLoad:S,onError:_,onClick:y,draggable:!1,className:c(s(eg()),A&&s(eg("cover")),N!==o.P9&&s(eg("loading")),j),style:{...D&&O?{maxWidth:"min(".concat(D,"px, 100%)"),maxHeight:"min(".concat(O,"px, 100%)")}:{maxWidth:"100%",maxHeight:"100%"},...C,...U},...B,alt:null!=(f=h.alt)?f:"",sizes:z,srcSet:F,src:h.src}),N!==o.P9&&a.createElement("div",{className:s(ev(o.Bv))},N===o.Qo&&((null==m?void 0:m.iconLoading)?m.iconLoading():a.createElement(el,{className:c(s(o.jR),s(ev(o.Qo)))})),N===o.I1&&((null==m?void 0:m.iconError)?m.iconError():a.createElement(ea,{className:c(s(o.jR),s(ev(o.I1)))}))))}let eb=a.forwardRef(function(e,t){let{className:n,children:r,onFocus:l,onBlur:o,...i}=e,u=a.useRef(null),{trackFocusWithin:d}=S();return a.createElement(D,{nodeRef:u},a.createElement("div",{ref:eh(t,u),className:c(s("root"),n),...d(l,o),...i},r))});!function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL=2]="PULL",e[e.ANIMATION=3]="ANIMATION"}(r||(r={})),!function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL=2]="PULL"}(l||(l={}));let ey=h("container"),ew=a.createContext(null),ex=v("useController","ControllerContext",ew),eC=k(o.Kv,function(e){var t;let{children:n,...i}=e,{carousel:u,animation:f,controller:h,on:p,styles:v,render:g}=i,{closeOnPullUp:E,closeOnPullDown:b,preventDefaultWheelX:w,preventDefaultWheelY:x}=h,[C,N]=a.useState(),M=K(),P=X(),[k,L]=a.useState(r.NONE),I=a.useRef(0),R=a.useRef(0),S=a.useRef(1),{registerSensors:_,subscribeSensors:A}=function(){let[e]=a.useState({}),t=a.useCallback((t,n)=>{var r;null==(r=e[t])||r.forEach(e=>{n.isPropagationStopped()||e(n)})},[e]);return{registerSensors:a.useMemo(()=>({onPointerDown:e=>t(o.qq,e),onPointerMove:e=>t(o.RK,e),onPointerUp:e=>t(o.tu,e),onPointerLeave:e=>t(o.tD,e),onPointerCancel:e=>t(o.s,e),onKeyDown:e=>t(o.uF,e),onKeyUp:e=>t(o.t$,e),onWheel:e=>t(o.j7,e)}),[t]),subscribeSensors:a.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])}}(),{subscribe:D,publish:O}=W(),F=es(),z=es(),U=es(),{containerRef:j,setContainerRef:B,containerRect:H}=ec(),q=eh(function(e){let{preventDefaultWheelX:t,preventDefaultWheelY:n}=e,r=a.useRef(null),l=ed(e=>{let r=Math.abs(e.deltaX)>Math.abs(e.deltaY);(r&&t||!r&&n||e.ctrlKey)&&e.preventDefault()});return a.useCallback(e=>{var t;e?e.addEventListener("wheel",l,{passive:!1}):null==(t=r.current)||t.removeEventListener("wheel",l),r.current=e},[l])}({preventDefaultWheelX:w,preventDefaultWheelY:x}),B),V=a.useRef(null),Y=eh(V,void 0),{getOwnerDocument:Q}=T(),$=ep(),G=e=>($?-1:1)*("number"==typeof e?e:1),Z=ed(()=>{var e;return null==(e=j.current)?void 0:e.focus()}),ee=ed(()=>i),et=ed(()=>M),en=a.useCallback(e=>O(o.zn,e),[O]),er=a.useCallback(e=>O(o.Nc,e),[O]),el=a.useCallback(()=>O(o.C),[O]),ea=e=>!(u.finite&&(G(e)>0&&0===M.currentIndex||0>G(e)&&M.currentIndex===M.slides.length-1)),eo=e=>{var t;I.current=e,null==(t=j.current)||t.style.setProperty(d("swipe_offset"),"".concat(Math.round(e),"px"))},ei=e=>{var t,n;R.current=e,S.current=Math.min(Math.max(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=10**t;return Math.round((e+Number.EPSILON)*n)/n}(1-(b&&e>0?e:E&&e<0?-e:0)/60*.5,2),.5),1),null==(t=j.current)||t.style.setProperty(d("pull_offset"),"".concat(Math.round(e),"px")),null==(n=j.current)||n.style.setProperty(d("pull_opacity"),"".concat(S.current))},{prepareAnimation:ef}=eu(V,(e,t,n)=>{if(V.current&&H)return{keyframes:[{transform:"translate(0, ".concat(e.rect.y-t.y+n.y,"px)"),opacity:e.opacity},{transform:"translate(0, 0)",opacity:1}],duration:e.duration,easing:f.easing.fade}}),em=(e,t)=>
1{if(E||b){ei(e);let n=0;V.current&&(n=f.fade*(t?2:1),ef({rect:V.current.getBoundingClientRect(),opacity:S.current,duration:n})),U(()=>{ei(0),L(r.NONE)},n),L(r.ANIMATION),t||el()}},{prepareAnimation:ev,isAnimationPlaying:eg}=eu(V,(e,t,n)=>{var r;if(V.current&&H&&(null==(r=M.animation)?void 0:r.duration)){let r=y(u.spacing),l=(r.percent?r.percent*H.width/100:r.pixel)||0;return{keyframes:[{transform:"translate(".concat(G(M.globalIndex-e.index)*(H.width+l)+e.rect.x-t.x+n.x,"px, 0)")},{transform:"translate(0, 0)"}],duration:M.animation.duration,easing:M.animation.easing}}}),eE=ed(e=>{var t,n;let l=e.offset||0,a=l?f.swipe:null!=(t=f.navigation)?t:f.swipe,i=l||eg()?f.easing.swipe:f.easing.navigation,{direction:u}=e,c=null!=(n=e.count)?n:1,s=r.ANIMATION,d=a*c;if(!u){let t=null==H?void 0:H.width,n=e.duration||0,r=t?a/t*Math.abs(l):a;0!==c?(n<r?d=d/r*Math.max(n,r/5):t&&(d=a/t*(t-Math.abs(l))),u=G(l)>0?o.zn:o.Nc):d=a/2}let h=0;u===o.zn?ea(G(1))?h=-c:(s=r.NONE,d=a):u===o.Nc&&(ea(G(-1))?h=c:(s=r.NONE,d=a)),z(()=>{eo(0),L(r.NONE)},d=Math.round(d)),V.current&&ev({rect:V.current.getBoundingClientRect(),index:M.globalIndex}),L(s),O(o.sI,{type:"swipe",increment:h,duration:d,easing:i})});a.useEffect(()=>{var e,t;(null==(e=M.animation)?void 0:e.increment)&&(null==(t=M.animation)?void 0:t.duration)&&F(()=>P({type:"swipe",increment:0}),M.animation.duration)},[M.animation,P,F]);let eb=[A,ea,(null==H?void 0:H.width)||0,f.swipe,()=>L(r.SWIPE),e=>eo(e),(e,t)=>eE({offset:e,duration:t,count:1}),e=>eE({offset:e,count:0})],ex=[()=>{b&&L(r.PULL)},e=>ei(e),e=>em(e),e=>em(e,!0)];!function(e,t,n,r,i,u,c,d,f,h,p,v,g,E,b,y){var w;let{disableSwipeNavigation:x,closeOnBackdropClick:C}=e,N=a.useRef(0),M=a.useRef([]),P=a.useRef(void 0),k=a.useRef(0),L=a.useRef(l.NONE),I=a.useCallback(e=>{P.current===e.pointerId&&(P.current=void 0,L.current=l.NONE);let t=M.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),R=a.useCallback(e=>{I(e),e.persist(),M.current.push(e)},[I]),S=a.useCallback(e=>M.current.find(t=>{let{pointerId:n}=t;return e.pointerId===n}),[]),_=ed(e=>{R(e)}),A=(e,t)=>p&&e>t||h&&e<-t,T=ed(e=>{let t=S(e);if(t)if(P.current===e.pointerId){let e=Date.now()-k.current,t=N.current;L.current===l.SWIPE?Math.abs(t)>.3*r||Math.abs(t)>5&&e<i?d(t,e):f(t):L.current===l.PULL&&(A(t,60)?E(t,e):b(t)),N.current=0,L.current=l.NONE}else{let{target:n}=e;C&&n instanceof HTMLElement&&n===t.target&&(n.classList.contains(s(o.h0))||n.classList.contains(s(o.pc)))&&y()}I(e)}),D=ed(e=>{let t=S(e);if(t){let r=P.current===e.pointerId;if(0===e.buttons)return void(r&&0!==N.current?T(e):I(t));let a=e.clientX-t.clientX,o=e.clientY-t.clientY;if(void 0===P.current){let t=t=>{R(e),P.current=e.pointerId,k.current=Date.now(),L.current=t};Math.abs(a)>Math.abs(o)&&Math.abs(a)>30&&n(a)?x||(t(l.SWIPE),u()):Math.abs(o)>Math.abs(a)&&A(o,30)&&(t(l.PULL),v())}else r&&(L.current===l.SWIPE?(N.current=a,c(a)):L.current===l.PULL&&(N.current=o,g(o)))}});a.useEffect(()=>m(t(o.qq,_),t(o.RK,D),t(o.tu,T),t(o.tD,T),t(o.s,T)),[t,_,D,T,w])}(h,...eb,E,b,...ex,el),function(e,t,n,l,i,u,c,s,d){let f=a.useRef(0),h=a.useRef(0),p=a.useRef(void 0),m=a.useRef(void 0),v=a.useRef(0),g=a.useRef(void 0),E=a.useRef(0),{setTimeout:b,clearTimeout:y}=J(),w=a.useCallback(()=>{p.current&&(y(p.current),p.current=void 0)},[y]),x=a.useCallback(()=>{m.current&&(y(m.current),m.current=void 0)},[y]),C=ed(()=>{e!==r.SWIPE&&(f.current=0,E.current=0,w(),x())});a.useEffect(C,[e,C]);let N=ed(e=>{m.current=void 0,f.current===e&&d(f.current)}),M=ed(t=>{if(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))return;let a=e=>{v.current=e,y(g.current),g.current=e>0?b(()=>{v.current=0,g.current=void 0},300):void 0};if(e===r.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(v.current))return void a(t.deltaX);if(!n(-t.deltaX))return;if(h.current+=t.deltaX,w(),Math.abs(h.current)>30)h.current=0,a(0),E.current=Date.now(),u();else{let e=h.current;p.current=b(()=>{p.current=void 0,e===h.current&&(h.current=0)},i)}}else if(e===r.SWIPE){let e=f.current-t.deltaX;if(f.current=e=Math.min(Math.abs(e),l)*Math.sign(e),c(e),x(),Math.abs(e)>.2*l){a(t.deltaX),s(e,Date.now()-E.current);return}m.current=b(()=>N(e),2*i)}else a(t.deltaX)});a.useEffect(()=>t(o.j7,M),[t,M])}(k,...eb);
1let eC=ed(()=>{h.focus&&Q().querySelector(".".concat(s(o.kJ)," .").concat(s(ey())))&&Z()});a.useEffect(eC,[eC]);let eN=ed(()=>{var e;null==(e=p.view)||e.call(p,{index:M.currentIndex})});a.useEffect(eN,[M.globalIndex,eN]),a.useEffect(()=>m(D(o.zn,e=>eE({direction:o.zn,...e})),D(o.Nc,e=>eE({direction:o.Nc,...e})),D(o.sI,e=>P(e))),[D,eE,P]);let eM=a.useMemo(()=>({prev:en,next:er,close:el,focus:Z,slideRect:H?function(e,t){let n=y(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)}}(H,u.padding):{width:0,height:0},containerRect:H||{width:0,height:0},subscribeSensors:A,containerRef:j,setCarouselRef:Y,toolbarWidth:C,setToolbarWidth:N}),[en,er,el,Z,A,H,j,Y,C,N,u.padding]);return a.useImperativeHandle(h.ref,()=>({prev:en,next:er,close:el,focus:Z,getLightboxProps:ee,getLightboxState:et}),[en,er,el,Z,ee,et]),a.createElement("div",{ref:q,className:c(s(ey()),s(o.tC)),style:{...k===r.SWIPE?{[d("swipe_offset")]:"".concat(Math.round(I.current),"px")}:null,...k===r.PULL?{[d("pull_offset")]:"".concat(Math.round(R.current),"px"),[d("pull_opacity")]:"".concat(S.current)}:null,..."none"!==h.touchAction?{[d("controller_touch_action")]:h.touchAction}:null,...v.container},tabIndex:-1,..._},H&&a.createElement(ew.Provider,{value:eM},n,null==(t=g.controls)?void 0:t.call(g)))});function eN(e){return f(o.mY,e)}function eM(e){var t,n,r,l,i;let u,{slide:d,offset:h}=e,m=a.useRef(null),{currentIndex:v,slides:g}=K(),{slideRect:b,focus:y}=ex(),{render:x,carousel:{imageFit:C,imageProps:N},on:{click:P},styles:{slide:k},labels:L}=U(),{getOwnerDocument:I}=T(),R=0!==h;return a.useEffect(()=>{var e;R&&(null==(e=m.current)?void 0:e.contains(I().activeElement))&&y()},[R,y,I]),a.createElement("div",{ref:m,className:c(s(f(o.h0,void 0)),!R&&s(f(o.h0,"current")),s(o.tC)),...{inert:M?R:R?"":void 0},style:k,role:"group","aria-roledescription":p(L,"Slide"),"aria-label":(t=v+h,p(L,"{index} of {total}").replace(/\{index}/g,"".concat(w(t,g.length)+1)).replace(/\{total}/g,"".concat(g.length)))},(!(u=null==(n=x.slide)?void 0:n.call(x,{slide:d,offset:h,rect:b}))&&E(d)&&(u=a.createElement(eE,{slide:d,offset:h,render:x,rect:b,imageFit:C,imageProps:N,onClick:R?void 0:()=>null==P?void 0:P({index:v})})),u?a.createElement(a.Fragment,null,null==(r=x.slideHeader)?void 0:r.call(x,{slide:d}),(null!=(l=x.slideContainer)?l:e=>{let{children:t}=e;return t})({slide:d,children:u}),null==(i=x.slideFooter)?void 0:i.call(x,{slide:d})):null))}function eP(){let e=U().styles.slide;return a.createElement("div",{className:s(o.h0),style:e})}let ek=k(o.mY,function(e){let{carousel:t,labels:n}=e,{slides:r,currentIndex:l,globalIndex:o}=K(),{setCarouselRef:i}=ex(),{autoPlaying:u,focusWithin:f}=S(),h=y(t.spacing),m=y(t.padding),v=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Math.min(e.preload,Math.max(e.finite?t.length-1:Math.floor(t.length/2),n))}(t,r,1),g=[];if(r.length>0)for(let e=l-v;e<=l+v;e+=1){let n=x(r,e),a=o-l+e,i=t.finite&&(e<0||e>r.length-1);g.push(i?{key:a}:{key:["".concat(a),E(n)?n.src:void 0].filter(Boolean).join("|"),offset:e-l,slide:n})}return a.createElement("div",{ref:i,className:c(s(eN()),g.length>0&&s(eN("with_slides"))),style:{["".concat(d(eN("slides_count")))]:g.length,["".concat(d(eN("spacing_px")))]:h.pixel||0,["".concat(d(eN("spacing_percent")))]:h.percent||0,["".concat(d(eN("padding_px")))]:m.pixel||0,["".concat(d(eN("padding_percent")))]:m.percent||0},role:"region","aria-live":u&&!f?"off":"polite","aria-roledescription":p(n,"Carousel"),"aria-label":p(n,"Photo gallery")},g.map(e=>{let{key:t,slide:n,offset:r}=e;return n?a.createElement(eM,{key:t,slide:n,offset:r}):a.createElement(eP,{key:t})}))});function eL(){let{carousel:e}=U(),{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 eI(e){let{label:t,icon:n,renderIcon:r,action:l,onClick:o,disabled:i,style:u}=e;return a.createElement($,{label:t,icon:n,renderIcon:r,className:s("navigation_".concat(l)),disabled:i,onClick:o,style:u,...function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=a.useRef(!1);return eo(()=>{t&&n.current&&(n.current=!1,e())},[t,e]),{onFocus:a.useCallback(()=>{n.current=!0},[]),onBlur:a.useCallback(()=>{n.current=!1},[])}}(ex().focus,i)})}let eR=k(o.Ky,function(e){let{render:{buttonPrev:t,buttonNext:n,iconPrev:r,iconNext:l},styles:i}=e,{prev:u,next:c,subscribeSensors:s}=ex(),{prevDisabled:d,nextDisabled:f}=eL();return!function(e){var t;let n=ep(),{publish:r}=W(),{animation:l}=U(),{prevDisabled:i,nextDisabled:u}=eL(),c=(null!=(t=l.navigation)?t:l.swipe)/2,s=em(()=>r(o.zn),c),d=em(()=>r(o.Nc),c),f=ed(e=>{switch(e.key){case o.or:r(o.C);break;case o.A9:(n?u:i)||(n?d:s)();break;case o.jn:(n?i:u)||(n?s:d)()}});a.useEffect(()=>e(o.uF,f),[e,f])}(s),a.createElement(a.Fragment,null,t?t():a.createElement(eI,{label:"Previous",action:o.zn,icon:en,renderIcon:r,style:i.navigationPrev,disabled:d,onClick:u}),n?n():a.createElement(eI,{label:"Next",action:o.Nc,icon:er,renderIcon:l,style:i.navigationNext,disabled:f,onClick:c}))}),eS=s(o.HR),e_=s(o.vg);function eA(e,t,n){let r=window.getComputedStyle(e),l=n?"padding-left":"padding-right",a=n?r.paddingLeft:r.paddingRight,o=e.style.getPropertyValue(l);return e.style.setProperty(l,"".concat((b(a)||0)+t,"px")),()=>{o?e.style.setProperty(l,o):e.style.removeProperty(l)}}let eT=k(o.b6,function(e){let{noScroll:{disabled:t},children:n}=e,r=ep(),{getOwnerDocument:l,getOwnerWindow:o}=T();return a.useEffect(()=>{if(t)return()=>{};let e=[],n=o(),{body:a,documentElement:i}=l(),u=Math.round(n.innerWidth-i.clientWidth);if(u>0){e.push(eA(a,u,r));let t=a.getElementsByTagName("*");for(let l=0;l<t.length;l+=1){let a=t[l];"style"in a&&"fixed"===n.getComputedStyle(a).getPropertyValue("position")&&!a.classList.contains(e_)&&e.push(eA(a,u,r))}}return a.classList.add(eS),()=>
1{a.classList.remove(eS),e.forEach(e=>e())}},[r,t,l,o]),a.createElement(a.Fragment,null,n)});function eD(e,t,n){let r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}let eO=k(o.kJ,function(e){let{children:t,animation:n,styles:r,className:l,on:u,portal:h,close:m,labels:v}=e,[g,E]=a.useState(!1),[b,y]=a.useState(!1),w=a.useRef([]),x=a.useRef(null),{setTimeout:C}=J(),{subscribe:N}=W(),M=ei()?0:n.fade;a.useEffect(()=>(E(!0),()=>{E(!1),y(!1)}),[]);let k=ed(()=>{w.current.forEach(e=>e()),w.current=[]}),L=ed(()=>{var e;y(!1),k(),null==(e=u.exiting)||e.call(u),C(()=>{var e;null==(e=u.exited)||e.call(u),m()},M)});a.useEffect(()=>N(o.C,L),[N,L]);let I=ed(e=>{var t,n,r;e.scrollTop,y(!0),null==(t=u.entering)||t.call(u);let l=null!=(r=null==(n=e.parentNode)?void 0:n.children)?r:[];for(let t=0;t<l.length;t+=1){let n=l[t];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(n.tagName)&&n!==e&&(w.current.push(eD(n,"inert","")),w.current.push(eD(n,"aria-hidden","true")))}w.current.push(()=>{var e,t;null==(t=null==(e=x.current)?void 0:e.focus)||t.call(e)}),C(()=>{var e;null==(e=u.entered)||e.call(u)},M)}),R=a.useCallback(e=>{e?I(e):k()},[I,k]);return g?(0,i.createPortal)(a.createElement(eb,{ref:R,className:c(l,s(f(o.kJ,void 0)),s(o.vg),b&&s(f(o.kJ,"open"))),"aria-modal":!0,role:"dialog","aria-label":p(v,"Lightbox"),style:{...n.fade!==P.animation.fade?{[d("fade_animation_duration")]:"".concat(M,"ms")}:null,...n.easing.fade!==P.animation.easing.fade?{[d("fade_animation_timing_function")]:n.easing.fade}:null,...r.root},onFocus:e=>{x.current||(x.current=e.relatedTarget)}},t),h.root||document.body):null}),eW=k(o.OT,function(e){let{children:t}=e;return a.createElement(a.Fragment,null,t)}),eF=k(o.pq,function(e){let{toolbar:{buttons:t},render:{buttonClose:n,iconClose:r},styles:l}=e,{close:i,setToolbarWidth:u}=ex(),{setContainerRef:c,containerRect:d}=ec();return eo(()=>{u(null==d?void 0:d.width)},[u,null==d?void 0:d.width]),a.createElement("div",{ref:c,style:l.toolbar,className:s(f(o.pq,void 0))},null==t?void 0:t.map(e=>e===o.C?n?n():a.createElement($,{key:o.C,label:"Close",icon:et,renderIcon:r,onClick:i}):e))});function ez(e){let{carousel:t,animation:n,render:r,toolbar:l,controller:i,noScroll:u,on:c,plugins:s,slides:d,index:f,...h}=e,{animation:p,carousel:m,render:v,toolbar:g,controller:E,noScroll:y,on:w,slides:x,index:C,plugins:N,...M}=P,{config:k,augmentation:R}=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],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;(null==n?void 0:n.children)&&t.push(...n.children)}return!1},a=(e,t)=>{if(""===e){r=[L(t,r)];return}r=I(r,e,e=>[L(t,[e])])},i=(e,t)=>{r=I(r,e,e=>[L(e.module,[L(t,e.children)])])},u=(e,t,n)=>{r=I(r,e,e=>{var r;return[L(e.module,[...n?[L(t)]:[],...null!=(r=e.children)?r:[],...n?[]:[L(t)]])]})},c=(e,t,n)=>{r=I(r,e,e=>[...n?[L(t)]:[],e,...n?[]:[L(t)]])},s=e=>{i(o.Kv,e)},d=(e,t)=>{r=I(r,e,e=>[L(t,e.children)])},f=e=>{r=I(r,e,e=>e.children)},h=e=>{n.push(e)};return t.forEach(e=>{e({contains:l,addParent:a,append:i,addChild:u,addSibling:c,addModule:s,replace:d,remove:f,augment:h})}),{config:r,augmentation:e=>n.reduce((e,t)=>t(e),e)}}([L(eO,[L(eT,[L(eC,[L(ek),L(eF),L(eR)])])])],s||N),S=R({animation:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{easing:n,...r}=e,{easing:l,...a}=t;return{easing:{...n,...l},...r,...a}}(p,n),carousel:{...m,...t},render:{...v,...r},toolbar:{...g,...l},controller:{...E,...i},noScroll:{...y,...u},on:{...w,...c},...M,...h});return S.open?a.createElement(j,{...S},a.createElement(V,{slides:d||x,index:b(f||C)},a.createElement(Q,null,a.createElement(F,null,a.createElement(_,null,function e(t,n){var r;return a.createElement(t.module.component,{key:t.module.name,...n},null==(r=t.children)?void 0:r.map(t=>e(t,n)))}(L(eW,k),S)))))):null}}}]);

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.