PageSourceSearch

https://inteligentnisvet.cz/_next/static/chunks/704.ad0d58eba7668f1b.js

js inteligentnisvet.cz collected 2026-09-25 07:37:11 UTC 32,547 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[704],{8704:(e,t,n)=>{n.r(t),n.d(t,{ACTION_CLOSE:()=>B,ACTION_NEXT:()=>V,ACTION_PREV:()=>W,ACTION_SWIPE:()=>F,ACTIVE_SLIDE_COMPLETE:()=>R,ACTIVE_SLIDE_ERROR:()=>M,ACTIVE_SLIDE_LOADING:()=>w,ACTIVE_SLIDE_PLAYING:()=>y,CLASS_FLEX_CENTER:()=>T,CLASS_FULLSIZE:()=>O,CLASS_NO_SCROLL:()=>A,CLASS_NO_SCROLL_PADDING:()=>k,CLASS_SLIDE_WRAPPER:()=>D,CLASS_SLIDE_WRAPPER_INTERACTIVE:()=>U,Carousel:()=>tw,CarouselModule:()=>ty,CloseIcon:()=>e3,Controller:()=>tx,ControllerContext:()=>tb,ControllerModule:()=>tC,DocumentContext:()=>eU,DocumentContextProvider:()=>eV,ELEMENT_BUTTON:()=>Q,ELEMENT_ICON:()=>ee,EVENT_ON_KEY_DOWN:()=>Y,EVENT_ON_KEY_UP:()=>j,EVENT_ON_POINTER_CANCEL:()=>z,EVENT_ON_POINTER_DOWN:()=>G,EVENT_ON_POINTER_LEAVE:()=>X,EVENT_ON_POINTER_MOVE:()=>H,EVENT_ON_POINTER_UP:()=>K,EVENT_ON_WHEEL:()=>Z,ErrorIcon:()=>e7,EventsContext:()=>eF,EventsProvider:()=>eG,IMAGE_FIT_CONTAIN:()=>et,IMAGE_FIT_COVER:()=>en,IconButton:()=>e1,ImageSlide:()=>tp,Lightbox:()=>tY,LightboxDefaultProps:()=>eO,LightboxDispatchContext:()=>ej,LightboxPropsContext:()=>eH,LightboxPropsProvider:()=>eX,LightboxRoot:()=>tm,LightboxStateContext:()=>ez,LightboxStateProvider:()=>e$,LoadingIcon:()=>e8,MODULE_CAROUSEL:()=>i,MODULE_CONTROLLER:()=>a,MODULE_NAVIGATION:()=>u,MODULE_NO_SCROLL:()=>c,MODULE_PORTAL:()=>s,MODULE_ROOT:()=>d,MODULE_TOOLBAR:()=>f,Navigation:()=>tT,NavigationButton:()=>tO,NavigationModule:()=>tA,NextIcon:()=>e6,NoScroll:()=>tW,NoScrollModule:()=>tV,PLUGIN_CAPTIONS:()=>h,PLUGIN_COUNTER:()=>p,PLUGIN_DOWNLOAD:()=>m,PLUGIN_FULLSCREEN:()=>E,PLUGIN_INLINE:()=>v,PLUGIN_SHARE:()=>g,PLUGIN_SLIDESHOW:()=>L,PLUGIN_THUMBNAILS:()=>N,PLUGIN_ZOOM:()=>b,Portal:()=>tB,PortalModule:()=>tG,PreviousIcon:()=>e9,Root:()=>tH,RootModule:()=>tK,SLIDE_STATUS_COMPLETE:()=>I,SLIDE_STATUS_ERROR:()=>C,SLIDE_STATUS_LOADING:()=>_,SLIDE_STATUS_PLACEHOLDER:()=>P,SLIDE_STATUS_PLAYING:()=>x,SwipeState:()=>r,TimeoutsContext:()=>eJ,TimeoutsProvider:()=>e0,Toolbar:()=>tX,ToolbarModule:()=>tz,UNKNOWN_ACTION_TYPE:()=>er,VK_ARROW_LEFT:()=>$,VK_ARROW_RIGHT:()=>J,VK_ESCAPE:()=>q,activeSlideStatus:()=>S,addToolbarButton:()=>eS,calculatePreload:()=>ey,cleanup:()=>ef,clsx:()=>ei,composePrefix:()=>ec,computeSlideRect:()=>eN,createIcon:()=>e5,createIconDisabled:()=>e4,createModule:()=>eT,createNode:()=>eA,cssClass:()=>ea,cssVar:()=>eu,default:()=>tY,devicePixelRatio:()=>eb,getSlide:()=>eC,getSlideIfPresent:()=>eI,getSlideIndex:()=>e_,getSlideKey:()=>eP,hasSlides:()=>ex,hasWindow:()=>ep,isImageFitCover:()=>ev,isImageSlide:()=>eE,label:()=>ed,makeComposePrefix:()=>es,makeInertWhen:()=>eR,makeUseContext:()=>eh,parseInt:()=>eg,parseLengthPercentage:()=>eL,round:()=>em,setRef:()=>ti,stopNavigationEventsPropagation:()=>ew,useAnimation:()=>tn,useContainerRect:()=>tr,useController:()=>t_,useDelay:()=>tl,useDocumentContext:()=>eW,useEventCallback:()=>to,useEvents:()=>eB,useForkRef:()=>ta,useKeyboardNavigation:()=>tR,useLayoutEffect:()=>te,useLightboxDispatch:()=>eZ,useLightboxProps:()=>eK,useLightboxState:()=>eY,useLoseFocus:()=>tu,useMotionPreference:()=>tt,useNavigationState:()=>tM,usePointerEvents:()=>tE,usePointerSwipe:()=>tv,usePreventWheelDefaults:()=>tg,useRTL:()=>tc,useSensors:()=>ts,useThrottle:()=>td,useTimeouts:()=>eQ,useWheelSwipe:()=>tL,withPlugins:()=>eD});var r,l,o=n(5558);let i="carousel",a="controller",u="navigation",c="no-scroll",s="portal",d="root",f="toolbar",h="captions",p="counter",m="download",E="fullscreen",v="inline",g="share",L="slideshow",N="thumbnails",b="zoom",_="loading",x="playing",C="error",I="complete",P="placeholder",S=e=>`active-slide-${e}`,w=S(_),y=S(x),M=S(C),R=S(I),O="fullsize",T="flex_center",A="no_scroll",k="no_scroll_padding",D="slide_wrapper",U="slide_wrapper_interactive",W="prev",V="next",F="swipe",B="close",G="onPointerDown",H="onPointerMove",K="onPointerUp",X="onPointerLeave",z="onPointerCancel",Y="onKeyDown",j="onKeyUp",Z="onWheel",q="Escape",$="ArrowLeft",J="ArrowRight",Q="button",ee="icon",et="contain",en="cover",er="Unknown action type";var el=n(4371);let eo="yarl__";function ei(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];
1return[...t].filter(Boolean).join(" ")}function ea(e){return"".concat(eo).concat(e)}function eu(e){return"--".concat(eo).concat(e)}function ec(e,t){return"".concat(e).concat(t?"_".concat(t):"")}function es(e){return t=>ec(e,t)}function ed(e,t){var n;return null!=(n=null==e?void 0:e[t])?n:t}function ef(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return()=>{t.forEach(e=>{e()})}}function eh(e,t,n){return()=>{let r=o.useContext(n);if(!r)throw Error("".concat(e," must be used within a ").concat(t,".Provider"));return r}}function ep(){return"undefined"!=typeof window}function em(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=10**t;return Math.round((e+Number.EPSILON)*n)/n}function eE(e){return void 0===e.type||"image"===e.type}function ev(e,t){return e.imageFit===en||e.imageFit!==et&&t===en}function eg(e){return"string"==typeof e?Number.parseInt(e,10):e}function eL(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=eg(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function eN(e,t){let n=eL(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)}}function eb(){return(ep()?null==window?void 0:window.devicePixelRatio:void 0)||1}function e_(e,t){return t>0?(e%t+t)%t:0}function ex(e){return e.length>0}function eC(e,t){return e[e_(t,e.length)]}function eI(e,t){return ex(e)?eC(e,t):void 0}function eP(e){return eE(e)?e.src:void 0}function eS(e,t,n){if(!n)return e;let{buttons:r,...l}=e,i=r.findIndex(e=>e===t),a=o.isValidElement(n)?o.cloneElement(n,{key:t},null):n;if(i>=0){let e=[...r];return e.splice(i,1,a),{buttons:e,...l}}return{buttons:[a,...r],...l}}function ew(){let e=e=>{e.stopPropagation()};return{onPointerDown:e,onKeyDown:e,onWheel:e}}function ey(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))}let eM=Number(o.version.split(".")[0])>=19;function eR(e){return{inert:eM?e:e?"":void 0}}let eO={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[B]},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:et,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 eT(e,t){return{name:e,component:t}}function eA(e,t){return{module:e,children:t}}function ek(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?[eA(t.module,t.children.flatMap(t=>{var l;return null!=(l=e(t,n,r))?l:[]}))]:[t]}(e,t,n))?r:[]})}function eD(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},o=(e,t)=>{if(""===e){r=[eA(t,r)];return}r=ek(r,e,e=>[eA(t,[e])])},i=(e,t)=>{r=ek(r,e,e=>[eA(e.module,[eA(t,e.children)])])},u=(e,t,n)=>{r=ek(r,e,e=>{var r;return[eA(e.module,[...n?[eA(t)]:[],...null!=(r=e.children)?r:[],...n?[]:[eA(t)]])]})},c=(e,t,n)=>{r=ek(r,e,e=>[...n?[eA(t)]:[],e,...n?[]:[eA(t)]])},s=e=>{i(a,e)},d=(e,t)=>{r=ek(r,e,e=>[eA(t,e.children)])},f=e=>{r=ek(r,e,e=>e.children)},h=e=>{n.push(e)};return t.forEach(e=>{e({contains:l,addParent:o,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)}}let eU=o.createContext(null),eW=eh("useDocument","DocumentContext",eU);function eV(e){let{nodeRef:t,children:n}=e,r=o.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 o.createElement(eU.Provider,{value:r},n)}let eF=o.createContext(null),eB=eh("useEvents","EventsContext",eF);function eG(e){let{children:t}=e,[n]=o.useState({});o.useEffect(()=>()=>
1{Object.keys(n).forEach(e=>delete n[e])},[n]);let r=o.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[o,i]=r;null==(e=n[o])||e.forEach(e=>e(i))},subscribe:(t,r)=>(n[t]||(n[t]=[]),n[t].push(r),()=>e(t,r)),unsubscribe:e}},[n]);return o.createElement(eF.Provider,{value:r},t)}let eH=o.createContext(null),eK=eh("useLightboxProps","LightboxPropsContext",eH);function eX(e){let{children:t,...n}=e;return o.createElement(eH.Provider,{value:n},t)}let ez=o.createContext(null),eY=eh("useLightboxState","LightboxStateContext",ez),ej=o.createContext(null),eZ=eh("useLightboxDispatch","LightboxDispatchContext",ej);function eq(e,t){switch(t.type){case"swipe":{let{slides:n}=e,r=(null==t?void 0:t.increment)||0,l=e.globalIndex+r,o=e_(l,n.length),i=eI(n,o);return{slides:n,currentIndex:o,globalIndex:l,currentSlide:i,animation:r||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:eI(t.slides,t.index)};return e;default:throw Error(er)}}function e$(e){let{slides:t,index:n,children:r}=e,[l,i]=o.useReducer(eq,{slides:t,currentIndex:n,globalIndex:n,currentSlide:eI(t,n)});o.useEffect(()=>{i({type:"update",slides:t,index:n})},[t,n]);let a=o.useMemo(()=>({...l,state:l,dispatch:i}),[l,i]);return o.createElement(ej.Provider,{value:i},o.createElement(ez.Provider,{value:a},r))}let eJ=o.createContext(null),eQ=eh("useTimeouts","TimeoutsContext",eJ);function e0(e){let{children:t}=e,[n]=o.useState([]);o.useEffect(()=>()=>{n.forEach(e=>window.clearTimeout(e)),n.splice(0,n.length)},[n]);let r=o.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 o.createElement(eJ.Provider,{value:r},t)}let e1=o.forwardRef(function(e,t){let{label:n,className:r,icon:l,renderIcon:i,onClick:a,style:u,...c}=e,{styles:s,labels:d}=eK(),f=ed(d,n);return o.createElement("button",{ref:t,type:"button",title:f,"aria-label":f,className:ei(ea(Q),r),onClick:a,style:{...u,...s.button},...c},i?i():o.createElement(l,{className:ea(ee),style:s.icon}))});function e2(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 e5(e,t){return e2(e,o.createElement("g",{fill:"currentColor"},o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function e4(e,t){return e2(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 e3=e5("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"})),e9=e5("Previous",o.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),e6=e5("Next",o.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),e8=e5("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(".concat(360/n.length*t,", 12, 12)")})))),e7=e5("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"})),te=ep()?o.useLayoutEffect:o.useEffect;function tt(){let[e,t]=o.useState(!1);return o.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 tn(e,t){let n=o.useRef(void 0),r=o.useRef(void 0),l=tt();return te(()=>{var o,i,a;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(eg);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==(o=r.current)||o.cancel(),r.current=void 0;try{r.current=null==(a=(i=e.current).animate)?void 0:a.call(i,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 tr(){let e=o.useRef(null),t=o.useRef(void 0),[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 tl(){let e=o.useRef(void 0),{setTimeout:t,clearTimeout:n}=eQ();return o.useCallback((r,l)=>{n(e.current),e.current=t(r,l>0?l:0)},[t,n])}function to(e){let t=o.useRef(e);return te(()=>{t.current=e}),o.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 ti(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function ta(e,t){return o.useMemo(()=>null==e&&null==t?null:n=>{ti(e,n),ti(t,n)},[e,t])}function tu(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=o.useRef(!1);return te(()=>{t&&n.current&&(n.current=!1,e())},[t,e]),{onFocus:o.useCallback(()=>{n.current=!0},[]),onBlur:o.useCallback(()=>{n.current=!1},[])}}function tc(){let[e,t]=o.useState(!1);return te(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function ts(){let[e]=o.useState({}),t=o.useCallback((t,n)=>{var r;null==(r=e[t])||r.forEach(e=>{n.isPropagationStopped()||e(n)})},[e]);return{registerSensors:o.useMemo(()=>({onPointerDown:e=>t(G,e),onPointerMove:e=>t(H,e),onPointerUp:e=>t(K,e),onPointerLeave:e=>t(X,e),onPointerCancel:e=>t(z,e),onKeyDown:e=>t(Y,e),onKeyUp:e=>t(j,e),onWheel:e=>t(Z,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 td(e,t){let n=o.useRef(0),r=tl(),l=to(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 o.useCallback(function(){for(var e=arguments.length,o=Array(e),i=0;i<e;i++)o[i]=arguments[i];r(()=>{l(o)},t-(Date.now()-n.current))},[t,l,r])}let tf=es("slide"),th=es("slide_image");function tp(e){var t,n,r,l,i,a,u;let{slide:c,offset:s,render:d,rect:f,imageFit:h,imageProps:p,onClick:m,onLoad:E,onError:v,style:g}=e,[L,N]=o.useState(_),{publish:b}=eB(),{setTimeout:x}=eQ(),w=o.useRef(null);o.useEffect(()=>{0===s&&b(S(L))},[s,L,b]);let y=to(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(N(I),x(()=>{null==E||E(e)},0))})}),M=o.useCallback(e=>{w.current=e,(null==e?void 0:e.complete)&&y(e)},[y]),R=o.useCallback(e=>{y(e.currentTarget)},[y]),O=to(()=>{N(C),null==v||v()}),T=ev(c,h),A=(e,t)=>Number.isFinite(e)?e:t,k=A(Math.max(...(null!=(n=null==(t=c.srcSet)?void 0:t.map(e=>e.width))?n:[]).concat(c.width?[c.width]:[]).filter(Boolean)),(null==(r=w.current)?void 0:r.naturalWidth)||0),D=A(Math.max(...(null!=(i=null==(l=c.srcSet)?void 0:l.map(e=>e.height))?i:[]).concat(c.height?[c.height]:[]).filter(Boolean)),(null==(a=w.current)?void 0:a.naturalHeight)||0),U=null==(u=c.srcSet)?void 0:u.sort((e,t)=>e.width-t.width).map(e=>"".concat(e.src," ").concat(e.width,"w")).join(", "),W=U&&f&&ep()?"".concat(Math.round(Math.min(f&&!T&&c.width&&c.height?f.height/c.height*c.width:Number.MAX_VALUE,f.width)),"px"):void 0,{style:V,className:F,...B}=p||{};return o.createElement(o.Fragment,null,o.createElement("img",{ref:M,onLoad:R,onError:O,onClick:m,draggable:!1,className:ei(ea(th()),T&&ea(th("cover")),L!==I&&ea(th("loading")),F),style:{...k&&D?{maxWidth:"min(".concat(k,"px, 100%)"),maxHeight:"min(".concat(D,"px, 100%)")}:{maxWidth:"100%",maxHeight:"100%"},...g,...V},...B,alt:c.alt,sizes:W,srcSet:U,src:c.src}),L!==I&&o.createElement("div",{className:ea(tf(P))},L===_&&((null==d?void 0:d.iconLoading)?d.iconLoading():o.createElement(e8,{className:ei(ea(ee),ea(tf(_)))})),L===C&&((null==d?void 0:d.iconError)?d.iconError():o.createElement(e7,{className:ei(ea(ee),ea(tf(C)))}))))}let tm=o.forwardRef(function(e,t){let{className:n,children:r,...l}=e,i=o.useRef(null);return o.createElement(eV,{nodeRef:i},o.createElement("div",{ref:ta(t,i),className:ei(ea("root"),n),...l},r))});function tE(e,t,n,r,l){o.useEffect(()=>l?()=>{}:ef(e(G,t),e(H,n),e(K,r),e(X,r),e(z,r)),[e,t,n,r,l])}function tv(e,t,n,r,i,a,u,c,s,d,f,h,p,m){let E=o.useRef(0),v=o.useRef([]),g=o.useRef(void 0),L=o.useRef(0),N=o.useRef(l.NONE),b=
1o.useCallback(e=>{g.current===e.pointerId&&(g.current=void 0,N.current=l.NONE);let t=v.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),_=o.useCallback(e=>{b(e),e.persist(),v.current.push(e)},[b]),x=to(e=>{_(e)}),C=(e,t)=>d&&e>t||s&&e<-t,I=to(e=>{if(v.current.find(t=>t.pointerId===e.pointerId)&&g.current===e.pointerId){let e=Date.now()-L.current,t=E.current;N.current===l.SWIPE?Math.abs(t)>.3*n||Math.abs(t)>5&&e<r?u(t,e):c(t):N.current===l.PULL&&(C(t,60)?p(t,e):m(t)),E.current=0,N.current=l.NONE}b(e)});tE(e,x,to(e=>{let n=v.current.find(t=>t.pointerId===e.pointerId);if(n){let r=g.current===e.pointerId;if(0===e.buttons)return void(r&&0!==E.current?I(e):b(n));let o=e.clientX-n.clientX,u=e.clientY-n.clientY;if(void 0===g.current){let n=t=>{_(e),g.current=e.pointerId,L.current=Date.now(),N.current=t};Math.abs(o)>Math.abs(u)&&Math.abs(o)>30&&t(o)?(n(l.SWIPE),i()):Math.abs(u)>Math.abs(o)&&C(u,30)&&(n(l.PULL),f())}else r&&(N.current===l.SWIPE?(E.current=o,a(o)):N.current===l.PULL&&(E.current=u,h(u)))}}),I)}function tg(e){let{preventDefaultWheelX:t,preventDefaultWheelY:n}=e,r=o.useRef(null),l=to(e=>{let r=Math.abs(e.deltaX)>Math.abs(e.deltaY);(r&&t||!r&&n||e.ctrlKey)&&e.preventDefault()});return o.useCallback(e=>{var t;e?e.addEventListener("wheel",l,{passive:!1}):null==(t=r.current)||t.removeEventListener("wheel",l),r.current=e},[l])}function tL(e,t,n,l,i,a,u,c,s){let d=o.useRef(0),f=o.useRef(0),h=o.useRef(void 0),p=o.useRef(void 0),m=o.useRef(0),E=o.useRef(void 0),v=o.useRef(0),{setTimeout:g,clearTimeout:L}=eQ(),N=o.useCallback(()=>{h.current&&(L(h.current),h.current=void 0)},[L]),b=o.useCallback(()=>{p.current&&(L(p.current),p.current=void 0)},[L]),_=to(()=>{e!==r.SWIPE&&(d.current=0,v.current=0,N(),b())});o.useEffect(_,[e,_]);let x=to(e=>{p.current=void 0,d.current===e&&s(d.current)}),C=to(t=>{if(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))return;let o=e=>{m.current=e,L(E.current),E.current=e>0?g(()=>{m.current=0,E.current=void 0},300):void 0};if(e===r.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(m.current))return void o(t.deltaX);if(!n(-t.deltaX))return;if(f.current+=t.deltaX,N(),Math.abs(f.current)>30)f.current=0,o(0),v.current=Date.now(),a();else{let e=f.current;h.current=g(()=>{h.current=void 0,e===f.current&&(f.current=0)},i)}}else if(e===r.SWIPE){let e=d.current-t.deltaX;if(d.current=e=Math.min(Math.abs(e),l)*Math.sign(e),u(e),b(),Math.abs(e)>.2*l){o(t.deltaX),c(e,Date.now()-v.current);return}p.current=g(()=>x(e),2*i)}else o(t.deltaX)});o.useEffect(()=>t(Z,C),[t,C])}!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 tN=es("container"),tb=o.createContext(null),t_=eh("useController","ControllerContext",tb);function tx(e){var t;let{children:n,...l}=e,{carousel:i,animation:a,controller:u,on:c,styles:d,render:f}=l,{closeOnPullUp:h,closeOnPullDown:p,preventDefaultWheelX:m,preventDefaultWheelY:E}=u,[v,g]=o.useState(),L=eY(),N=eZ(),[b,_]=o.useState(r.NONE),x=o.useRef(0),C=o.useRef(0),I=o.useRef(1),{registerSensors:P,subscribeSensors:S}=ts(),{subscribe:w,publish:y}=eB(),M=tl(),R=tl(),O=tl(),{containerRef:A,setContainerRef:k,containerRect:D}=tr(),U=ta(tg({preventDefaultWheelX:m,preventDefaultWheelY:E}),k),G=o.useRef(null),H=ta(G,void 0),{getOwnerDocument:K}=eW(),X=tc(),z=e=>(X?-1:1)*("number"==typeof e?e:1),Y=to(()=>{var e;return null==(e=A.current)?void 0:e.focus()}),j=to(()=>l),Z=to(()=>L),q=o.useCallback(e=>y(W,e),[y]),$=o.useCallback(e=>y(V,e),[y]),J=o.useCallback(()=>y(B),[y]),Q=e=>!(i.finite&&(z(e)>0&&0===L.currentIndex||0>z(e)&&L.currentIndex===L.slides.length-1)),ee=e=>{var t;x.current=e,null==(t=A.current)||t.style.setProperty(eu("swipe_offset"),"".concat(Math.round(e),"px"))},et=e=>{var t,n;C.current=e,I.current=Math.min(Math.max(em(1-(p&&e>0?e:h&&e<0?-e:0)/60*.5,2),.5),1),null==(t=A.current)||t.style.setProperty(eu("pull_offset"),"".concat(Math.round(e),"px")),null==(n=A.current)||n.style.setProperty(eu("pull_opacity"),"".concat(I.current))},{prepareAnimation:en}=tn(G,(e,t,n)=>{if(G.current&&D)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:a.easing.fade}}),er=(e,t)=>{if(h||p){et(e);let n=0;G.current&&(n=a.fade*(t?2:1),en({rect:G.current.getBoundingClientRect(),opacity:I.current,duration:n})),O(()=>{et(0),_(r.NONE)},n),_(r.ANIMATION),t||J()}},{prepareAnimation:el,isAnimationPlaying:eo}=tn(G,(e,t,n)=>{var r;if(G.current&&D&&(null==(r=L.animation)?void 0:r.duration)){let r=eL(i.spacing),l=(r.percent?r.percent*D.width/100:r.pixel)||0;return{keyframes:[{transform:"translate(".concat(z(L.globalIndex-e.index)*(D.width+l)+e.rect.x-t.x+n.x,"px, 0)")},{transform:"translate(0, 0)"}],duration:L.animation.duration,easing:L.animation.easing}}}),ec=to(e=>{var t,n;let l=e.offset||0,o=l?a.swipe:null!=(t=a.navigation)?t:a.swipe,i=l||eo()?a.easing.swipe:a.easing.navigation,{direction:u}=e,c=null!=(n=e.count)?n:1,s=r.ANIMATION,d=o*c;if(!u){let t=null==D?void 0:D.width,n=e.duration||0,r=t?o/t*Math.abs(l):o;0!==c?(n<r?d=d/r*Math.max(n,r/5):t&&(d=o/t*(t-Math.abs(l))),u=z(l)>0?W:V):d=o/2}let f=0;u===W?Q(z(1))?f=-c:(s=r.NONE,d=o):u===V&&(Q(z(-1))?f=c:(s=r.NONE,d=o)),R(()=>{ee(0),_(r.NONE)}
1,d=Math.round(d)),G.current&&el({rect:G.current.getBoundingClientRect(),index:L.globalIndex}),_(s),y(F,{type:"swipe",increment:f,duration:d,easing:i})});o.useEffect(()=>{var e,t;(null==(e=L.animation)?void 0:e.increment)&&(null==(t=L.animation)?void 0:t.duration)&&M(()=>N({type:"swipe",increment:0}),L.animation.duration)},[L.animation,N,M]);let es=[S,Q,(null==D?void 0:D.width)||0,a.swipe,()=>_(r.SWIPE),e=>ee(e),(e,t)=>ec({offset:e,duration:t,count:1}),e=>ec({offset:e,count:0})],ed=[()=>{p&&_(r.PULL)},e=>et(e),e=>er(e),e=>er(e,!0)];tv(...es,h,p,...ed),tL(b,...es);let eh=to(()=>{u.focus&&K().querySelector(".".concat(ea(s)," .").concat(ea(tN())))&&Y()});o.useEffect(eh,[eh]);let ep=to(()=>{var e;null==(e=c.view)||e.call(c,{index:L.currentIndex})});o.useEffect(ep,[L.globalIndex,ep]),o.useEffect(()=>ef(w(W,e=>ec({direction:W,...e})),w(V,e=>ec({direction:V,...e})),w(F,e=>N(e))),[w,ec,N]);let eE=o.useMemo(()=>({prev:q,next:$,close:J,focus:Y,slideRect:D?eN(D,i.padding):{width:0,height:0},containerRect:D||{width:0,height:0},subscribeSensors:S,containerRef:A,setCarouselRef:H,toolbarWidth:v,setToolbarWidth:g}),[q,$,J,Y,S,D,A,H,v,g,i.padding]);return o.useImperativeHandle(u.ref,()=>({prev:q,next:$,close:J,focus:Y,getLightboxProps:j,getLightboxState:Z}),[q,$,J,Y,j,Z]),o.createElement("div",{ref:U,className:ei(ea(tN()),ea(T)),style:{...b===r.SWIPE?{[eu("swipe_offset")]:"".concat(Math.round(x.current),"px")}:null,...b===r.PULL?{[eu("pull_offset")]:"".concat(Math.round(C.current),"px"),[eu("pull_opacity")]:"".concat(I.current)}:null,..."none"!==u.touchAction?{[eu("controller_touch_action")]:u.touchAction}:null,...d.container},...u.aria?{role:"presentation","aria-live":"polite"}:null,tabIndex:-1,...P},D&&o.createElement(tb.Provider,{value:eE},n,null==(t=f.controls)?void 0:t.call(f)))}let tC=eT(a,tx);function tI(e){return ec("slide",e)}function tP(e){var t,n,r,l;let i,{slide:a,offset:u}=e,c=o.useRef(null),{currentIndex:s}=eY(),{slideRect:d,close:f,focus:h}=t_(),{render:p,carousel:{imageFit:m,imageProps:E},on:{click:v},controller:{closeOnBackdropClick:g},styles:{slide:L}}=eK(),{getOwnerDocument:N}=eW(),b=0!==u;return o.useEffect(()=>{var e;b&&(null==(e=c.current)?void 0:e.contains(N().activeElement))&&h()},[b,h,N]),o.createElement("div",{ref:c,className:ei(ea(tI()),!b&&ea(tI("current")),ea(T)),...eR(b),onClick:e=>{let t=c.current,n=e.target instanceof HTMLElement?e.target:void 0;g&&n&&t&&(n===t||Array.from(t.children).find(e=>e===n)&&n.classList.contains(ea(D)))&&f()},style:L},(!(i=null==(t=p.slide)?void 0:t.call(p,{slide:a,offset:u,rect:d}))&&eE(a)&&(i=o.createElement(tp,{slide:a,offset:u,render:p,rect:d,imageFit:m,imageProps:E,onClick:b?void 0:()=>null==v?void 0:v({index:s})})),i?o.createElement(o.Fragment,null,null==(n=p.slideHeader)?void 0:n.call(p,{slide:a}),(null!=(r=p.slideContainer)?r:e=>{let{children:t}=e;return t})({slide:a,children:i}),null==(l=p.slideFooter)?void 0:l.call(p,{slide:a})):null))}function tS(){let e=eK().styles.slide;return o.createElement("div",{className:ea("slide"),style:e})}function tw(e){let{carousel:t}=e,{slides:n,currentIndex:r,globalIndex:l}=eY(),{setCarouselRef:a}=t_(),u=eL(t.spacing),c=eL(t.padding),s=ey(t,n,1),d=[];if(ex(n))for(let e=r-s;e<=r+s;e+=1){let o=eC(n,e),i=l-r+e,a=t.finite&&(e<0||e>n.length-1);d.push(a?{key:i}:{key:["".concat(i),eP(o)].filter(Boolean).join("|"),offset:e-r,slide:o})}return o.createElement("div",{ref:a,className:ei(ea(ec(i,void 0)),d.length>0&&ea(ec(i,"with_slides"))),style:{["".concat(eu(ec(i,"slides_count")))]:d.length,["".concat(eu(ec(i,"spacing_px")))]:u.pixel||0,["".concat(eu(ec(i,"spacing_percent")))]:u.percent||0,["".concat(eu(ec(i,"padding_px")))]:c.pixel||0,["".concat(eu(ec(i,"padding_percent")))]:c.percent||0}},d.map(e=>{let{key:t,slide:n,offset:r}=e;return n?o.createElement(tP,{key:t,slide:n,offset:r}):o.createElement(tS,{key:t})}))}let ty=eT(i,tw);function tM(){let{carousel:e}=eK(),{slides:t,currentIndex:n}=eY();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function tR(e){var t;let n=tc(),{publish:r}=eB(),{animation:l}=eK(),{prevDisabled:i,nextDisabled:a}=tM(),u=(null!=(t=l.navigation)?t:l.swipe)/2,c=td(()=>r(W),u),s=td(()=>r(V),u),d=to(e=>{switch(e.key){case q:r(B);break;case $:(n?a:i)||(n?s:c)();break;
1case J:(n?i:a)||(n?c:s)()}});o.useEffect(()=>e(Y,d),[e,d])}function tO(e){let{label:t,icon:n,renderIcon:r,action:l,onClick:i,disabled:a,style:u}=e;return o.createElement(e1,{label:t,icon:n,renderIcon:r,className:ea("navigation_".concat(l)),disabled:a,onClick:i,style:u,...tu(t_().focus,a)})}function tT(e){let{render:{buttonPrev:t,buttonNext:n,iconPrev:r,iconNext:l},styles:i}=e,{prev:a,next:u,subscribeSensors:c}=t_(),{prevDisabled:s,nextDisabled:d}=tM();return tR(c),o.createElement(o.Fragment,null,t?t():o.createElement(tO,{label:"Previous",action:W,icon:e9,renderIcon:r,style:i.navigationPrev,disabled:s,onClick:a}),n?n():o.createElement(tO,{label:"Next",action:V,icon:e6,renderIcon:l,style:i.navigationNext,disabled:d,onClick:u}))}let tA=eT(u,tT),tk=ea(A),tD=ea(k);function tU(e,t,n){let r=window.getComputedStyle(e),l=n?"padding-left":"padding-right",o=n?r.paddingLeft:r.paddingRight,i=e.style.getPropertyValue(l);return e.style.setProperty(l,"".concat((eg(o)||0)+t,"px")),()=>{i?e.style.setProperty(l,i):e.style.removeProperty(l)}}function tW(e){let{noScroll:{disabled:t},children:n}=e,r=tc(),{getOwnerDocument:l,getOwnerWindow:i}=eW();return o.useEffect(()=>{if(t)return()=>{};let e=[],n=i(),{body:o,documentElement:a}=l(),u=Math.round(n.innerWidth-a.clientWidth);if(u>0){e.push(tU(o,u,r));let t=o.getElementsByTagName("*");for(let l=0;l<t.length;l+=1){let o=t[l];"style"in o&&"fixed"===n.getComputedStyle(o).getPropertyValue("position")&&!o.classList.contains(tD)&&e.push(tU(o,u,r))}}return o.classList.add(tk),()=>{o.classList.remove(tk),e.forEach(e=>e())}},[r,t,l,i]),o.createElement(o.Fragment,null,n)}let tV=eT(c,tW);function tF(e,t,n){let r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}function tB(e){let{children:t,animation:n,styles:r,className:l,on:i,portal:a,close:u}
1=e,[c,d]=o.useState(!1),[f,h]=o.useState(!1),p=o.useRef([]),m=o.useRef(null),{setTimeout:E}=eQ(),{subscribe:v}=eB(),g=tt()?0:n.fade;o.useEffect(()=>(d(!0),()=>{d(!1),h(!1)}),[]);let L=to(()=>{p.current.forEach(e=>e()),p.current=[]}),N=to(()=>{var e;h(!1),L(),null==(e=i.exiting)||e.call(i),E(()=>{var e;null==(e=i.exited)||e.call(i),u()},g)});o.useEffect(()=>v(B,N),[v,N]);let b=to(e=>{var t,n,r;e.scrollTop,h(!0),null==(t=i.entering)||t.call(i);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&&(p.current.push(tF(n,"inert","")),p.current.push(tF(n,"aria-hidden","true")))}p.current.push(()=>{var e,t;null==(t=null==(e=m.current)?void 0:e.focus)||t.call(e)}),E(()=>{var e;null==(e=i.entered)||e.call(i)},g)}),_=o.useCallback(e=>{e?b(e):L()},[b,L]);return c?(0,el.createPortal)(o.createElement(tm,{ref:_,className:ei(l,ea(ec(s,void 0)),ea(k),f&&ea(ec(s,"open"))),role:"presentation","aria-live":"polite",style:{...n.fade!==eO.animation.fade?{[eu("fade_animation_duration")]:"".concat(g,"ms")}:null,...n.easing.fade!==eO.animation.easing.fade?{[eu("fade_animation_timing_function")]:n.easing.fade}:null,...r.root},onFocus:e=>{m.current||(m.current=e.relatedTarget)}},t),a.root||document.body):null}let tG=eT(s,tB);function tH(e){let{children:t}=e;return o.createElement(o.Fragment,null,t)}let tK=eT(d,tH);function tX(e){let{toolbar:{buttons:t},render:{buttonClose:n,iconClose:r},styles:l}=e,{close:i,setToolbarWidth:a}=t_(),{setContainerRef:u,containerRect:c}=tr();return te(()=>{a(null==c?void 0:c.width)},[a,null==c?void 0:c.width]),o.createElement("div",{ref:u,style:l.toolbar,className:ea(ec(f,void 0))},null==t?void 0:t.map(e=>e===B?n?n():o.createElement(e1,{key:B,label:"Close",icon:e3,renderIcon:r,onClick:i}):e))}let tz=eT(f,tX);function tY(e){let{carousel:t,animation:n,render:r,toolbar:l,controller:i,noScroll:a,on:u,plugins:c,slides:s,index:d,...f}=e,{animation:h,carousel:p,render:m,toolbar:E,controller:v,noScroll:g,on:L,slides:N,index:b,plugins:_,...x}=eO,{config:C,augmentation:I}=eD([eA(tG,[eA(tV,[eA(tC,[eA(ty),eA(tz),eA(tA)])])])],c||_),P=I({animation:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{easing:n,...r}=e,{easing:l,...o}=t;return{easing:{...n,...l},...r,...o}}(h,n),carousel:{...p,...t},render:{...m,...r},toolbar:{...E,...l},controller:{...v,...i},noScroll:{...g,...a},on:{...L,...u},...x,...f});return P.open?o.createElement(eX,{...P},o.createElement(e$,{slides:s||N,index:eg(d||b)},o.createElement(e0,null,o.createElement(eG,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.map(t=>e(t,n)))}(eA(tK,C),P))))):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.