PageSourceSearch

https://www.aerzteblatt.de/_next/static/chunks/8433-d88dd1f6e354d32d.js

js aerzteblatt.de collected 2026-09-24 08:32:49 UTC 49,868 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8433],{13835:()=>{},23655:()=>{},26445:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(14232),l=n(46924),i=n(31545);let a=e=>(0,l.oF)(`slide_${e}`),o={descriptionTextAlign:"start",descriptionMaxLines:3,showToggle:!1,hidden:!1},u=e=>({...o,...e}),c=r.createContext(null),s=(0,l.Tz)("useCaptions","CaptionsContext",c);function d({captions:e,children:t}){let{ref:n,hidden:l}=u(e),[i,a]=r.useState(!l),o=r.useMemo(()=>({visible:i,show:()=>a(!0),hide:()=>a(!1)}),[i]);return r.useImperativeHandle(n,()=>o,[o]),r.createElement(c.Provider,{value:o},t)}function h({title:e}){let{toolbarWidth:t}=(0,l.as)(),{styles:n}=(0,l.D$)(),{visible:i}=s();return i?r.createElement("div",{role:"heading","aria-level":2,style:n.captionsTitleContainer,className:(0,l.$z)(a("captions_container"),a("title_container"))},r.createElement("div",{className:a("title"),style:{...t?{[(0,l.Vg)("toolbar_width")]:`${t}px`}:null,...n.captionsTitle}},e)):null}function f({description:e}){let{descriptionTextAlign:t,descriptionMaxLines:n}=function(){let{captions:e}=(0,l.D$)();return u(e)}(),{styles:i,labels:c}=(0,l.D$)(),{visible:d}=s();return d?r.createElement("div",{style:i.captionsDescriptionContainer,className:(0,l.$z)(a("captions_container"),a("description_container"))},r.createElement("div",{className:a("description"),style:{...t!==o.descriptionTextAlign||n!==o.descriptionMaxLines?{[(0,l.Vg)("slide_description_text_align")]:t,[(0,l.Vg)("slide_description_max_lines")]:n}:null,...i.captionsDescription},role:"paragraph","aria-roledescription":(0,l.l6)(c,"Caption")},"string"==typeof e?e.split("\n").flatMap((e,t)=>[...t>0?[r.createElement("br",{key:t})]:[],e]):e)):null}let m=()=>r.createElement(r.Fragment,null,r.createElement("path",{strokeWidth:2,stroke:"currentColor",strokeLinejoin:"round",fill:"none",d:"M3 5l18 0l0 14l-18 0l0-14z"}),r.createElement("path",{d:"M7 15h3c.55 0 1-.45 1-1v-1H9.5v.5h-2v-3h2v.5H11v-1c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1zm7 0h3c.55 0 1-.45 1-1v-1h-1.5v.5h-2v-3h2v.5H18v-1c0-.55-.45-1-1-1h-3c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1z"})),p=(0,l.wt)("CaptionsVisible",m()),v=(0,l.Q5)("CaptionsVisible",m());function g(){let{visible:e,show:t,hide:n}=s(),{render:i}=(0,l.D$)();return i.buttonCaptions?r.createElement(r.Fragment,null,i.buttonCaptions({visible:e,show:t,hide:n})):r.createElement(l.K0,{label:e?"Hide captions":"Show captions",icon:e?p:v,renderIcon:e?i.iconCaptionsVisible:i.iconCaptionsHidden,onClick:e?n:t})}function b({augment:e,addModule:t}){e(({captions:e,render:{slideFooter:t,...n},toolbar:a,...o})=>{let c=u(e);return{render:{slideFooter:({slide:e})=>r.createElement(r.Fragment,null,null==t?void 0:t({slide:e}),e.title&&r.createElement(h,{title:e.title}),e.description&&r.createElement(f,{description:e.description})),...n},toolbar:(0,l.bo)(a,i.Ev,c.showToggle?r.createElement(g,null):null),captions:c,...o}}),t((0,l.Fi)(i.Ev,d))}},30441:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=n(14232),l=n(46924),i=n(31545);let a={minZoom:1,maxZoomPixelRatio:1,zoomInMultiplier:2,doubleTapDelay:300,doubleClickDelay:500,doubleClickMaxStops:2,keyboardMoveDistance:50,wheelZoomDistanceFactor:100,pinchZoomDistanceFactor:100,pinchZoomV4:!1,scrollToZoom:!1};function o(e){let{minZoom:t,...n}={...a,...e};return{minZoom:Math.min(Math.max(t,Number.EPSILON),1),...n}}function u(){let{zoom:e}=(0,l.D$)();return o(e)}function c(e,t){return Math.hypot(e.clientX-t.clientX,e.clientY-t.clientY)}function s(e,t,n=100,r=2){return e*Math.min(1+Math.abs(t/n),r)**Math.sign(t)}let d=r.createContext(null),h=(0,l.Tz)("useZoom","ZoomControllerContext",d);function f({children:e}){let[t,n]=r.useState(),{slideRect:a}=(0,l.as)(),{ref:o,minZoom:h}=u(),{imageRect:f,maxZoom:m}=function(e,t){var n,r;let i={width:0,height:0},a={width:0,height:0},{currentSlide:o}=(0,l.mp)(),{imageFit:c}=(0,l.D$)().carousel,{maxZoomPixelRatio:s}=u();if(e&&o){let u={...o,...t};if((0,l.tx)(u)){let t=(0,l.QJ)(u,c),o=Math.max(...((null==(n=u.srcSet)?void 0:n.map(e=>e.width))||[]).concat(u.width?[u.width]:[])),d=Math.max(...((null==(r=u.srcSet)?void 0:r.map(e=>e.height))||[]).concat(u.height?[u.height]:[]));o>0&&d>0&&e.width>0&&e.height>
10&&(a={width:(a=t?{width:Math.round(Math.min(o,e.width/e.height*d)),height:Math.round(Math.min(d,e.height/e.width*o))}:{width:o,height:d}).width*s,height:a.height*s},i=t?{width:Math.min(e.width,a.width,o),height:Math.min(e.height,a.height,d)}:{width:Math.round(Math.min(e.width,e.height/d*o,o)),height:Math.round(Math.min(e.height,e.width/o*d,d))})}}let d=i.width?Math.max((0,l.LI)(a.width/i.width,5),1):1;return{imageRect:i,maxZoom:d}}(a,null==t?void 0:t.imageDimensions),{zoom:p,offsetX:v,offsetY:g,disabled:b,changeZoom:E,changeOffsets:w,zoomIn:x,zoomOut:C}=function(e,t,n){let[i,a]=r.useState(1),[o,c]=r.useState(0),[s,d]=r.useState(0),h=function(e,t,n,i){let a=r.useRef(void 0),o=r.useRef(void 0),{zoom:u}=(0,l.D$)().animation,c=(0,l.iJ)(),s=(0,l.DK)(()=>{var r,l,s;if(null==(r=a.current)||r.cancel(),a.current=void 0,o.current&&(null==i?void 0:i.current)){try{a.current=null==(s=(l=i.current).animate)?void 0:s.call(l,[{transform:o.current},{transform:`scale(${e}) translateX(${t}px) translateY(${n}px)`}],{duration:c?0:null!=u?u:500,easing:a.current?"ease-out":"ease-in-out"})}catch(e){console.error(e)}o.current=void 0,a.current&&(a.current.onfinish=()=>{a.current=void 0})}});return(0,l.Nf)(s,[e,t,n,s]),r.useCallback(()=>{o.current=(null==i?void 0:i.current)?window.getComputedStyle(i.current).transform:void 0},[i])}(i,o,s,n),{currentSlide:f,globalIndex:m}=(0,l.mp)(),{containerRect:p,slideRect:v}=(0,l.as)(),{minZoom:g,zoomInMultiplier:b}=u(),E=f&&(0,l.tx)(f)?f.src:void 0,w=!E||!(null==n?void 0:n.current);(0,l.Nf)(()=>{a(1),c(0),d(0)},[m,E]);let x=r.useCallback((t,n,r)=>{let l=r||i,a=o-(t||0),u=s-(n||0),h=(e.width*l-v.width)/2/l,f=(e.height*l-v.height)/2/l;c(Math.min(Math.abs(a),Math.max(h,0))*Math.sign(a)),d(Math.min(Math.abs(u),Math.max(f,0))*Math.sign(u))},[i,o,s,v,e.width,e.height]),C=r.useCallback((e,n,r,o)=>{let u=(0,l.LI)(e+.01<t?e-.01>g?e:g:t,5);n||h(),x(r?r*(1/i-1/u):0,o?o*(1/i-1/u):0,u),a(u)},[i,g,t,x,h]),y=(0,l.DK)(()=>{i>1&&(i>t&&C(t,!0),x())});(0,l.Nf)(y,[p.width,p.height,y]);let M=r.useCallback(()=>{let e=i*b;C(i<1&&e>1?1:e)},[i,b,C]),k=r.useCallback(()=>{let e=i/b;C(i>1&&e<1?1:e)},[i,b,C]);return{zoom:i,offsetX:o,offsetY:s,disabled:w,changeOffsets:x,changeZoom:C,zoomIn:M,zoomOut:k}}(f,m,null==t?void 0:t.zoomWrapperRef),{on:y}=(0,l.D$)(),M=(0,l.DK)(()=>{var e;b||null==(e=y.zoom)||e.call(y,{zoom:p})});r.useEffect(M,[p,M]),function(e,t,n,a,o,d,h,f,m){let p=r.useRef([]),v=r.useRef(0),g=r.useRef(void 0),{globalIndex:b}=(0,l.mp)(),{getOwnerWindow:E}=(0,l.uG)(),{containerRef:w,subscribeSensors:x}=(0,l.as)(),{keyboardMoveDistance:C,zoomInMultiplier:y,wheelZoomDistanceFactor:M,scrollToZoom:k,doubleTapDelay:N,doubleClickDelay:$,doubleClickMaxStops:P,pinchZoomDistanceFactor:R,pinchZoomV4:L}=u(),I=r.useCallback(e=>{if(w.current){let{pageX:t,pageY:n}=e,{scrollX:r,scrollY:l}=E(),{left:i,top:a,width:o,height:u}=w.current.getBoundingClientRect();return[t-i-r-o/2,n-a-l-u/2]}return[]},[w,E]),S=(0,l.DK)(t=>{let{key:n,metaKey:r,ctrlKey:l}=t,i=r||l,a=()=>{t.preventDefault(),t.stopPropagation()};if(e>1){let e=(e,t)=>{a(),f(e,t)};"ArrowDown"===n?e(0,C):"ArrowUp"===n?e(0,-C):"ArrowLeft"===n?e(-C,0):"ArrowRight"===n&&e(C,0)}"+"===n||i&&"="===n?(a(),o()):"-"===n||i&&"_"===n?(a(),d()):i&&"0"===n&&(a(),h(1))}),D=(0,l.DK)(t=>{if((t.ctrlKey||k)&&Math.abs(t.deltaY)>Math.abs(t.deltaX)){t.stopPropagation(),h(s(e,-t.deltaY,M),!0,...I(t));return}e>1&&(t.stopPropagation(),k||f(t.deltaX,t.deltaY))}),F=r.useCallback(e=>{let t=p.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),z=r.useCallback(e=>{F(e),e.persist(),p.current.push(e)},[F]),T=(0,l.DK)(r=>{var l;let i=p.current;if("mouse"===r.pointerType&&r.buttons>1||!(null==(l=null==m?void 0:m.current)?void 0:l.contains(r.target)))return;e>1&&r.stopPropagation();let{timeStamp:a}=r;if(0===i.length&&a-v.current<("touch"===r.pointerType?N:$)?(v.current=0,h(e>=1?e!==n?e*Math.max(n**(1/P),y):1:e!==t?e/Math.max(t**(-1/P),y):1,!1,...I(r))):v.current=a,z(r),2===i.length){let t=c(i[0],i[1]);g.current={previousDistance:t,initialDistance:Math.max(t,1),initialZoom:e}}}),_=(0,l.DK)(t=>{let n=p.current,r=n.find(e=>e.pointerId===t.pointerId);if(2===n.length&&g.current){t.stopPropagation(),z(t);let r=c(n[0],n[1]);h(L?g.current.initialZoom/g.current.initialDistance*r:s(e,r-g.current.previousDistance,R),!0,...n.map(e=>I(e)).reduce((e,t)=>
1t.map((t,n)=>e[n]+t/2))),g.current.previousDistance=r;return}e>1&&(t.stopPropagation(),r&&(1===n.length&&f((r.clientX-t.clientX)/e,(r.clientY-t.clientY)/e),z(t)))}),A=r.useCallback(e=>{let t=p.current;2===t.length&&t.find(t=>t.pointerId===e.pointerId)&&(g.current=void 0),F(e)},[F]),H=r.useCallback(()=>{let e=p.current;e.splice(0,e.length),v.current=0,g.current=void 0},[]);(0,l.yQ)(x,T,_,A,a),r.useEffect(H,[b,H]),r.useEffect(()=>a?()=>{}:(0,l.tP)(H,x(i.uF,S),x(i.j7,D)),[a,x,H,S,D])}(p,h,m,b,x,C,E,w,null==t?void 0:t.zoomWrapperRef);let k=r.useMemo(()=>({zoom:p,minZoom:h,maxZoom:m,offsetX:v,offsetY:g,disabled:b,zoomIn:x,zoomOut:C,changeZoom:E}),[p,h,m,v,g,b,x,C,E]);r.useImperativeHandle(o,()=>k,[k]);let N=r.useMemo(()=>({...k,setZoomWrapper:n}),[k,n]);return r.createElement(d.Provider,{value:N},e)}let m=(0,l.wt)("ZoomIn",r.createElement(r.Fragment,null,r.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),r.createElement("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"}))),p=(0,l.wt)("ZoomOut",r.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"})),v=r.forwardRef(function({zoomIn:e,onLoseFocus:t},n){let i=r.useRef(!1),a=r.useRef(!1),{zoom:o,minZoom:u,maxZoom:c,zoomIn:s,zoomOut:d,disabled:f}=h(),{render:v}=(0,l.D$)(),g=f||(e?o>=c:o<=u);return r.useEffect(()=>{g&&i.current&&a.current&&t(),g||(i.current=!0)},[g,t]),r.createElement(l.K0,{ref:n,disabled:g,label:e?"Zoom in":"Zoom out",icon:e?m:p,renderIcon:e?v.iconZoomIn:v.iconZoomOut,onClick:e?s:d,onFocus:()=>{a.current=!0},onBlur:()=>{a.current=!1}})});function g(){let e=r.useRef(null),t=r.useRef(null),{focus:n}=(0,l.as)(),i=r.useCallback(e=>{var t,r;(null==(t=e.current)?void 0:t.disabled)?n():null==(r=e.current)||r.focus()},[n]),a=r.useCallback(()=>i(e),[i]),o=r.useCallback(()=>i(t),[i]);return r.createElement(r.Fragment,null,r.createElement(v,{zoomIn:!0,ref:e,onLoseFocus:o}),r.createElement(v,{ref:t,onLoseFocus:a}))}function b(){let{render:e}=(0,l.D$)(),t=h();
1return e.buttonZoom?r.createElement(r.Fragment,null,e.buttonZoom(t)):r.createElement(g,null)}function E({current:e,preload:t},{type:n,source:r}){switch(n){case"fetch":if(!e)return{current:r};return{current:e,preload:r};case"done":if(r===t)return{current:r};return{current:e,preload:t};default:throw Error(i.V)}}function w(e){var t,n;let[{current:i,preload:a},o]=r.useReducer(E,{}),{slide:u,rect:c,imageFit:s,render:d,interactive:h}=e,f=u.srcSet.sort((e,t)=>e.width-t.width),m=null!=(t=u.width)?t:f[f.length-1].width,p=null!=(n=u.height)?n:f[f.length-1].height,v=(0,l.QJ)(u,s),g=Math.max(...f.map(e=>e.width)),b=Math.min((v?Math.max:Math.min)(c.width,m*(c.height/p)),g),w=(0,l.Y5)(),x=(0,l.DK)(()=>{var e;let t=null!=(e=f.find(e=>e.width>=b*w))?e:f[f.length-1];(!i||f.findIndex(e=>e.src===i)<f.findIndex(e=>e===t))&&o({type:"fetch",source:t.src})});(0,l.Nf)(x,[c.width,c.height,w,x]);let C=(0,l.DK)(e=>o({type:"done",source:e})),y={WebkitTransform:h?"initial":"translateZ(0)"};return v||Object.assign(y,c.width/c.height<m/p?{width:"100%",height:"auto"}:{width:"auto",height:"100%"}),r.createElement(r.Fragment,null,a&&a!==i&&r.createElement(l.Z$,{key:"preload",...e,offset:void 0,slide:{...u,src:a,srcSet:void 0},style:{position:"absolute",visibility:"hidden",...y},onLoad:()=>C(a),render:{...d,iconLoading:()=>null,iconError:()=>null}}),i&&r.createElement(l.Z$,{key:"current",...e,slide:{...u,src:i,srcSet:void 0},style:y}))}function x({render:e,slide:t,offset:n,rect:a}){var o,u;let[c,s]=r.useState(),d=r.useRef(null),{zoom:f,maxZoom:m,offsetX:p,offsetY:v,setZoomWrapper:g}=h(),b=f>1,{carousel:E,on:x}=(0,l.D$)(),{currentIndex:C}=(0,l.mp)();(0,l.Nf)(()=>0===n?(g({zoomWrapperRef:d,imageDimensions:c}),()=>g(void 0)):()=>{},[n,c,g]);let y=null==(o=e.slide)?void 0:o.call(e,{slide:t,offset:n,rect:a,zoom:f,maxZoom:m});if(!y&&(0,l.tx)(t)){let i={slide:t,offset:n,rect:a,render:e,imageFit:E.imageFit,imageProps:E.imageProps,onClick:0===n?()=>{var e;return null==(e=x.click)?void 0:e.call(x,{index:C})}:void 0};y=((null==(u=t.srcSet)?void 0:u.length)||0)>0?r.createElement(w,{...i,slide:t,interactive:b,rect:0===n?{width:a.width*f,height:a.height*f}:a}):r.createElement(l.Z$,{onLoad:e=>s({width:e.naturalWidth,height:e.naturalHeight}),...i})}return y?r.createElement("div",{ref:d,className:(0,l.$z)((0,l.oF)(i.CC),(0,l.oF)(i.tC),(0,l.oF)(i.pc),b&&(0,l.oF)(i.Ue)),style:0===n?{transform:`scale(${f}) translateX(${p}px) translateY(${v}px)`}:void 0},y):null}let C=({augment:e,addModule:t})=>{e(({zoom:e,toolbar:t,render:n,controller:a,...u})=>{let c=o(e);return{zoom:c,toolbar:(0,l.bo)(t,i.AH,r.createElement(b,null)),render:{...n,slide:e=>{var t;return(0,l.tx)(e.slide)?r.createElement(x,{render:n,...e}):null==(t=n.slide)?void 0:t.call(n,e)}},controller:{...a,preventDefaultWheelY:c.scrollToZoom},...u}}),t((0,l.Fi)(i.AH,f))}},31545:(e,t,n)=>{"use strict";n.d(t,{A9:()=>H,AH:()=>f,Bv:()=>g,C:()=>R,CC:()=>E,EC:()=>b,Ev:()=>s,HR:()=>x,I1:()=>p,Kv:()=>l,Ky:()=>i,Nc:()=>$,OT:()=>u,P9:()=>v,QQ:()=>h,Qe:()=>d,Qo:()=>m,RK:()=>I,Td:()=>K,Ue:()=>k,Uj:()=>O,V:()=>Y,b6:()=>a,e7:()=>Z,h0:()=>y,j7:()=>_,jR:()=>W,jn:()=>V,kJ:()=>o,mY:()=>r,or:()=>A,pc:()=>M,pq:()=>c,qq:()=>L,s:()=>F,sI:()=>P,t$:()=>T,tC:()=>w,tD:()=>D,tu:()=>S,uF:()=>z,vg:()=>C,zn:()=>N});let r="carousel",l="controller",i="navigation",a="no-scroll",o="portal",u="root",c="toolbar",s="captions",d="fullscreen",h="thumbnails",f="zoom",m="loading",p="error",v="complete",g="placeholder",b=e=>`active-slide-${e}`;b(m),b("playing"),b(p),b(v);let E="fullsize",w="flex_center",x="no_scroll",C="no_scroll_padding",y="slide",M="slide_wrapper",k="slide_wrapper_interactive",N="prev",$="next",P="swipe",R="close",L="onPointerDown",I="onPointerMove",S="onPointerUp",D="onPointerLeave",F="onPointerCancel",z="onKeyDown",T="onKeyUp",_="onWheel",A="Escape",H="ArrowLeft",V="ArrowRight",O="button",W="icon",K="contain",Z="cover",Y="Unknown action type"},46924:(e,t,n)=>{"use strict";n.d(t,{$z:()=>c,Ay:()=>eU,D$:()=>X,DB:()=>N,DK:()=>eb,Fi:()=>F,Hw:()=>R,JZ:()=>eA,K0:()=>el,LI:()=>E,LJ:()=>Z,Nf:()=>ef,Q5:()=>eo,QJ:()=>x,RT:()=>B,Tz:()=>g,Vg:()=>d,Y5:()=>M,Yc:()=>eC,Z$:()=>eN,as:()=>eI,bo:()=>L,eS:()=>I,f4:()=>h,fh:()=>f,gZ:()=>$,iF:()=>p,iJ:()=>em,l6:()=>m,mp:()=>j,oF:()=>s,sM:()=>ep,tP:()=>v,tx:()=>w,uG:()=>O,wt:()=>ea,x3:()=>ex,yQ:()=>eP});var r,l,i=n(14232),a=n(31545),o=n(28041);let u="yarl__";function c(...e){return e.filter(Boolean).join(" ")}function s(e){return`${u}${e}`}function d(e){return`--${u}${e}`}function h(e,t){return`${e}${t?`_${t}`:""}`}function f(e){return t=>h(e,t)}function m(e,t){var n;return null!=(n=null==e?void 0:e[t])?n:t}function p(e,t,n){return m(e,"{index} of {total}").replace(/\{index}/g,`${k(n,t.length)+1}`).replace(/\{total}/g,`${t.length}`)}function v(...e){return()=>
1{e.forEach(e=>{e()})}}function g(e,t,n){return()=>{let r=i.useContext(n);if(!r)throw Error(`${e} must be used within a ${t}.Provider`);return r}}function b(){return"undefined"!=typeof window}function E(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 x(e,t){return e.imageFit===a.e7||e.imageFit!==a.Td&&t===a.e7}function C(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=C(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function M(){return(b()?null==window?void 0:window.devicePixelRatio:void 0)||1}function k(e,t){return t>0?(e%t+t)%t:0}function N(e){return e.length>0}function $(e,t){return e[k(t,e.length)]}function P(e,t){return N(e)?$(e,t):void 0}function R(e){return w(e)?e.src:void 0}function L(e,t,n){if(!n)return e;let{buttons:r,...l}=e,a=r.findIndex(e=>e===t),o=i.isValidElement(n)?i.cloneElement(n,{key:t},null):n;if(a>=0){let e=[...r];return e.splice(a,1,o),{buttons:e,...l}}return{buttons:[o,...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 S=Number(i.version.split(".")[0])>=19,D={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[a.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:a.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 F(e,t){return{name:e,component:t}}function z(e,t){return{module:e,children:t}}function T(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?[z(t.module,t.children.flatMap(t=>{var l;return null!=(l=e(t,n,r))?l:[]}))]:[t]}(e,t,n))?r:[]})}let _=i.createContext(null),A=g("useA11yContext","A11yContext",_);function H({children:e}){let[t,n]=i.useState(!1),[r,l]=i.useState(!1),a=i.useMemo(()=>({focusWithin:t,trackFocusWithin:(e,t)=>{let r=r=>l=>{var i;l.currentTarget.contains(l.relatedTarget)||n(r),null==(i=r?e:t)||i(l)};return{onFocus:r(!0),onBlur:r(!1)}},autoPlaying:r,setAutoPlaying:l}),[t,r]);return i.createElement(_.Provider,{value:a},e)}let V=i.createContext(null),O=g("useDocument","DocumentContext",V);function W({nodeRef:e,children:t}){let n=i.useMemo(()=>{let t=t=>{var n;return(null==(n=t||e.current)?void 0:n.ownerDocument)||document};return{getOwnerDocument:t,getOwnerWindow:e=>{var n;return(null==(n=t(e))?void 0:n.defaultView)||window}}},[e]);return i.createElement(V.Provider,{value:n},t)}let K=i.createContext(null),Z=g("useEvents","EventsContext",K);function Y({children:e}){let[t]=i.useState({});i.useEffect(()=>()=>{Object.keys(t).forEach(e=>delete t[e])},[t]);let n=i.useMemo(()=>{let e=(e,n)=>{var r;null==(r=t[e])||r.splice(0,t[e].length,...t[e].filter(e=>e!==n))};return{publish:(...[e,n])=>{var r;null==(r=t[e])||r.forEach(e=>e(n))},subscribe:(n,r)=>(t[n]||(t[n]=[]),t[n].push(r),()=>e(n,r)),unsubscribe:e}},[t]);return i.createElement(K.Provider,{value:n},e)}let Q=i.createContext(null),X=g("useLightboxProps","LightboxPropsContext",Q);function B({children:e,...t}){return i.createElement(Q.Provider,{value:t},e)}let U=i.createContext(null),j=g("useLightboxState","LightboxStateContext",U),J=i.createContext(null),q=g("useLightboxDispatch","LightboxDispatchContext",J);function G(e,t){switch(t.type){case"swipe":{let{slides:n}=e,r=(null==t?void 0:t.increment)||0,l=e.globalIndex+r,i=k(l,n.length),a=P(n,i);return{slides:n,currentIndex:i,globalIndex:l,currentSlide:a,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:P(t.slides,t.index)};return e;default:throw Error(a.V)}}function ee({slides:e,index:t,children:n}){let[r,l]=i.useReducer(G,{slides:e,currentIndex:t,globalIndex:t,currentSlide:P(e,t)});i.useEffect(()=>{l({type:"update",slides:e,index:t})},[e,t]);let a=i.useMemo(()=>({...r,state:r,dispatch:l}),[r,l]);return i.createElement(J.Provider,{value:l},i.createElement(U.Provider,{value:a},n))}let et=i.createContext(null),en=g("useTimeouts","TimeoutsContext",et);function er({children:e}){let[t]=i.useState([]);i.useEffect(()=>()=>
1{t.forEach(e=>window.clearTimeout(e)),t.splice(0,t.length)},[t]);let n=i.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 i.createElement(et.Provider,{value:n},e)}let el=i.forwardRef(function({label:e,className:t,icon:n,renderIcon:r,onClick:l,style:o,...u},d){let{styles:h,labels:f}=X(),p=m(f,e);return i.createElement("button",{ref:d,type:"button",title:p,"aria-label":p,className:c(s(a.Uj),t),onClick:l,style:{...o,...h.button},...u},r?r():i.createElement(n,{className:s(a.jR),style:h.icon}))});function ei(e,t){let n=e=>i.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 ea(e,t){return ei(e,i.createElement("g",{fill:"currentColor"},i.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function eo(e,t){return ei(e,i.createElement(i.Fragment,null,i.createElement("defs",null,i.createElement("mask",{id:"strike"},i.createElement("path",{d:"M0 0h24v24H0z",fill:"white"}),i.createElement("path",{d:"M0 0L24 24",stroke:"black",strokeWidth:4}))),i.createElement("path",{d:"M0.70707 2.121320L21.878680 23.292883",stroke:"currentColor",strokeWidth:2}),i.createElement("g",{fill:"currentColor",mask:"url(#strike)"},i.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t)))}let eu=ea("Close",i.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"})),ec=ea("Previous",i.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),es=ea("Next",i.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),ed=ea("Loading",i.createElement(i.Fragment,null,Array.from({length:8}).map((e,t,n)=>i.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)`})))),eh=ea("Error",i.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"})),ef=b()?i.useLayoutEffect:i.useEffect;function em(){let[e,t]=i.useState(!1);return i.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 ep(e,t){let n=i.useRef(void 0),r=i.useRef(void 0),l=em();return ef(()=>{var i,a,o;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(C);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==(i=r.current)||i.cancel(),r.current=void 0;try{r.current=null==(o=(a=e.current).animate)?void 0:o.call(a,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 ev(){let e=i.useRef(null),t=i.useRef(void 0),[n,r]=i.useState();return{setContainerRef:i.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)};l(),n&&"undefined"!=typeof ResizeObserver&&(t.current=new ResizeObserver(l),t.current.observe(n))},[]),containerRef:e,containerRect:n}}function eg(){let e=i.useRef(void 0),{setTimeout:t,clearTimeout:n}=en();return i.useCallback((r,l)=>{n(e.current),e.current=t(r,l>0?l:0)},[t,n])}function eb(e){let t=i.useRef(e);return ef(()=>{t.current=e}),i.useCallback((...e)=>{var n;return null==(n=t.current)?void 0:n.call(t,...e)},[])}function eE(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function ew(e,t){return i.useMemo(()=>null==e&&null==t?null:n=>{eE(e,n),eE(t,n)},[e,t])}function ex(){let[e,t]=i.useState(!1);return ef(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function eC(){let[e]=i.useState({}),t=i.useCallback((t,n)=>{var r;
1null==(r=e[t])||r.forEach(e=>{n.isPropagationStopped()||e(n)})},[e]);return{registerSensors:i.useMemo(()=>({onPointerDown:e=>t(a.qq,e),onPointerMove:e=>t(a.RK,e),onPointerUp:e=>t(a.tu,e),onPointerLeave:e=>t(a.tD,e),onPointerCancel:e=>t(a.s,e),onKeyDown:e=>t(a.uF,e),onKeyUp:e=>t(a.t$,e),onWheel:e=>t(a.j7,e)}),[t]),subscribeSensors:i.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 ey(e,t){let n=i.useRef(0),r=eg(),l=eb((...t)=>{n.current=Date.now(),e(t)});return i.useCallback((...e)=>{r(()=>{l(e)},t-(Date.now()-n.current))},[t,l,r])}let eM=f("slide"),ek=f("slide_image");function eN({slide:e,offset:t,render:n,rect:r,imageFit:l,imageProps:o,onClick:u,onLoad:d,onError:h,style:f}){var m,p,v,g,E,w,C,y;let[M,k]=i.useState(a.Qo),{publish:N}=Z(),{setTimeout:$}=en(),P=i.useRef(null);i.useEffect(()=>{0===t&&N((0,a.EC)(M))},[t,M,N]);let R=eb(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(k(a.P9),$(()=>{null==d||d(e)},0))})}),L=i.useCallback(e=>{P.current=e,(null==e?void 0:e.complete)&&R(e)},[R]),I=i.useCallback(e=>{R(e.currentTarget)},[R]),S=eb(()=>{k(a.I1),null==h||h()}),D=x(e,l),F=(e,t)=>Number.isFinite(e)?e:t,z=F(Math.max(...(null!=(p=null==(m=e.srcSet)?void 0:m.map(e=>e.width))?p:[]).concat(e.width?[e.width]:[]).filter(Boolean)),(null==(v=P.current)?void 0:v.naturalWidth)||0),T=F(Math.max(...(null!=(E=null==(g=e.srcSet)?void 0:g.map(e=>e.height))?E:[]).concat(e.height?[e.height]:[]).filter(Boolean)),(null==(w=P.current)?void 0:w.naturalHeight)||0),_=z&&T?{maxWidth:`min(${z}px, 100%)`,maxHeight:`min(${T}px, 100%)`}:{maxWidth:"100%",maxHeight:"100%"},A=null==(C=e.srcSet)?void 0:C.slice().sort((e,t)=>e.width-t.width).map(e=>`${e.src}
1 ${e.width}w`).join(", "),H=A&&r&&b()?`${Math.round(Math.min(r&&!D&&e.width&&e.height?r.height/e.height*e.width:Number.MAX_VALUE,r.width))}px`:void 0,{style:V,className:O,...W}=("function"==typeof o?o(e):o)||{};return i.createElement(i.Fragment,null,i.createElement("img",{ref:L,onLoad:I,onError:S,onClick:u,draggable:!1,className:c(s(ek()),D&&s(ek("cover")),M!==a.P9&&s(ek("loading")),O),style:{..._,...f,...V},...W,alt:null!=(y=e.alt)?y:"",sizes:H,srcSet:A,src:e.src}),M!==a.P9&&i.createElement("div",{className:s(eM(a.Bv))},M===a.Qo&&((null==n?void 0:n.iconLoading)?n.iconLoading():i.createElement(ed,{className:c(s(a.jR),s(eM(a.Qo)))})),M===a.I1&&((null==n?void 0:n.iconError)?n.iconError():i.createElement(eh,{className:c(s(a.jR),s(eM(a.I1)))}))))}let e$=i.forwardRef(function({className:e,children:t,onFocus:n,onBlur:r,...l},a){let o=i.useRef(null),{trackFocusWithin:u}=A();return i.createElement(W,{nodeRef:o},i.createElement("div",{ref:ew(a,o),className:c(s("root"),e),...u(n,r),...l},t))});function eP(e,t,n,r,l){i.useEffect(()=>l?()=>{}:v(e(a.qq,t),e(a.RK,n),e(a.tu,r),e(a.tD,r),e(a.s,r)),[e,t,n,r,l])}!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 eR=f("container"),eL=i.createContext(null),eI=g("useController","ControllerContext",eL),eS=F(a.Kv,function({children:e,...t}){var n;let{carousel:o,animation:u,controller:h,on:f,styles:m,render:p}=t,{closeOnPullUp:g,closeOnPullDown:b,preventDefaultWheelX:w,preventDefaultWheelY:x}=h,[C,M]=i.useState(),k=j(),N=q(),[$,P]=i.useState(r.NONE),R=i.useRef(0),L=i.useRef(0),I=i.useRef(1),{registerSensors:S,subscribeSensors:D}=eC(),{subscribe:F,publish:z}=Z(),T=eg(),_=eg(),A=eg(),{containerRef:H,setContainerRef:V,containerRect:W}=ev(),K=ew(function({preventDefaultWheelX:e,preventDefaultWheelY:t}){let n=i.useRef(null),r=eb(n=>{let r=Math.abs(n.deltaX)>Math.abs(n.deltaY);(r&&e||!r&&t||n.ctrlKey)&&n.preventDefault()});return i.useCallback(e=>{var t;e?e.addEventListener("wheel",r,{passive:!1}):null==(t=n.current)||t.removeEventListener("wheel",r),n.current=e},[r])}({preventDefaultWheelX:w,preventDefaultWheelY:x}),V),Y=i.useRef(null),Q=ew(Y,void 0),{getOwnerDocument:X}=O(),B=ex(),U=e=>(B?-1:1)*("number"==typeof e?e:1),J=eb(()=>{var e;return null==(e=H.current)?void 0:e.focus()}),G=eb(()=>t),ee=eb(()=>k),et=i.useCallback(e=>z(a.zn,e),[z]),er=i.useCallback(e=>z(a.Nc,e),[z]),el=i.useCallback(()=>z(a.C),[z]),ei=e=>!(o.finite&&(U(e)>0&&0===k.currentIndex||0>U(e)&&k.currentIndex===k.slides.length-1)),ea=e=>{var t;R.current=e,null==(t=H.current)||t.style.setProperty(d("swipe_offset"),`${Math.round(e)}px`)},eo=e=>{var t,n;L.current=e,I.current=Math.min(Math.max(E(1-(b&&e>0?e:g&&e<0?-e:0)/60*.5,2),.5),1),null==(t=H.current)||t.style.setProperty(d("pull_offset"),`${Math.round(e)}px`),null==(n=H.current)||n.style.setProperty(d("pull_opacity"),`${I.current}`)},{prepareAnimation:eu}=ep(Y,(e,t,n)=>{if(Y.current&&W)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:u.easing.fade}}),ec=(e,t)=>{if(g||b){eo(e);let n=0;Y.current&&(n=u.fade*(t?2:1),eu({rect:Y.current.getBoundingClientRect(),opacity:I.current,duration:n})),A(()=>{eo(0),P(r.NONE)},n),P(r.ANIMATION),t||el()}},{prepareAnimation:es,isAnimationPlaying:ed}=ep(Y,(e,t,n)=>{var r;if(Y.current&&W&&(null==(r=k.animation)?void 0:r.duration)){let r=y(o.spacing),l=(r.percent?r.percent*W.width/100:r.pixel)||0;return{keyframes:[{transform:`translate(${U(k.globalIndex-e.index)*(W.width+l)+e.rect.x-t.x+n.x}px, 0)`},{transform:"translate(0, 0)"}],duration:k.animation.duration,easing:k.animation.easing}}}),eh=eb(e=>{var t,n;let l=e.offset||0,i=l?u.swipe:null!=(t=u.navigation)?t:u.swipe,o=l||ed()?u.easing.swipe:u.easing.navigation,{direction:c}=e,s=null!=(n=e.count)?n:1,d=r.ANIMATION,h=i*s;if(!c){let t=null==W?void 0:W.width,n=e.duration||0,r=t?i/t*Math.abs(l):i;0!==s?(n<r?h=h/r*Math.max(n,r/5):t&&(h=i/t*(t-Math.abs(l))),c=U(l)>0?a.zn:a.Nc):h=i/2}let f=0;c===a.zn?ei(U(1))?f=-s:(d=r.NONE,h=i):c===a.Nc&&(ei(U(-1))?f=s:(d=r.NONE,h=i)),_(()=>{ea(0),P(r.NONE)},h=Math.round(h)),Y.current&&es({rect:Y.current.getBoundingClientRect(),index:k.globalIndex}),P(d),z(a.sI,{type:"swipe",increment:f,duration:h,easing:o})});i.useEffect(()=>{var e,t;(null==(e=k.animation)?void 0:e.increment)&&(null==(t=k.animation)?void 0:t.duration)&&T(()=>N({type:"swipe",increment:0}),k.animation.duration)},[k.animation,N,T]);let ef=[D,ei,(null==W?void 0:W.width)||0,u.swipe,()=>P(r.SWIPE),e=>ea(e),(e,t)=>eh({offset:e,duration:t,count:1}),e=>eh({offset:e,count:0})],em=[()=>{b&&P(r.PULL)},e=>eo(e),e=>ec(e),e=>ec(e,!0)];!function({disableSwipeNavigation:e,closeOnBackdropClick:t},n,r,o,u,c,d,h,f,m,p,v,g,b,E,w){let x=i.useRef(0),C=i.useRef([]),y=i.useRef(void 0),M=i.useRef(0),k=i.useRef(l.NONE),N=i.useCallback(e=>{y.current===e.pointerId&&(y.current=void 0,k.current=l.NONE);let t=C.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),$=i.useCallback(e=>{N(e),e.persist(),C.current.push(e)},[N]),P=i.useCallback(e=>C.current.find(({pointerId:t})=>e.pointerId===t),[]),R=eb(e=>{$(e)}),L=(e,t)=>p&&e>t||m&&e<-t,I=eb(e=>{let n=P(e);if(n)if(y.current===e.pointerId){let e=Date.now()-M.current,t=x.current;k.current===l.SWIPE?Math.abs(t)>.3*o||Math.abs(t)>5&&e<u?h(t,e):f(t):k.current===l.PULL&&(L(t,60)?b(t,e):E(t)),x.current=0,k.current=l.NONE}else{let{target:r}=e;t&&r instanceof HTMLElement&&r===n.target&&(r.classList.contains(s(a.h0))||r.classList.contains(s(a.pc)))&&w()}N(e)});eP(n,R,eb(t=>{let n=P(t);if(n){let i=y.current===t.pointerId;if(0===t.buttons)return void(i&&0!==x.current?I(t):N(n));let a=t.clientX-n.clientX,o=t.clientY-n.clientY;if(void 0===y.current){let n=e=>{$(t),y.current=t.pointerId,M.current=Date.now(),k.current=e};Math.abs(a)>Math.abs(o)&&Math.abs(a)>30&&r(a)?e||(n(l.SWIPE),c()):Math.abs(o)>Math.abs(a)&&L(o,30)&&(n(l.PULL),v())}else i&&(k.current===l.SWIPE?(x.current=a,d(a)):k.current===l.PULL&&(x.current=o,g(o)))}}),I)}(h,...ef,g,b,...em,el),function(e,t,n,l,o,u,c,s,d){let h=i.useRef(0),f=i.useRef(0),m=i.useRef(void 0),p=i.useRef(void 0),v=i.useRef(0),g=i.useRef(void 0),b=i.useRef(0),{setTimeout:E,clearTimeout:w}=en(),x=i.useCallback(()=>{m.current&&(w(m.current),m.current=void 0)},[w]),C=i.useCallback(()=>{p.current&&(w(p.current),p.current=void 0)},[w]),y=eb(()=>{e!==r.SWIPE&&(h.current=0,b.current=0,x(),C())});i.useEffect(y,[e,y]);let M=eb(e=>{p.current=void 0,h.current===e&&d(h.current)}),k=eb(t=>{if(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))return;let i=e=>{v.current=e,w(g.current),g.current=e>0?E(()=>{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 i(t.deltaX);if(!n(-t.deltaX))return;if(f.current+=t.deltaX,x(),Math.abs(f.current)>30)f.current=0,i(0),b.current=Date.now(),u();else{let e=f.current;m.current=E(()=>{m.current=void 0,e===f.current&&(f.current=0)},o)}}else if(e===r.SWIPE){let e=h.current-t.deltaX;if(h.current=e=Math.min(Math.abs(e),l)*Math.sign(e),c(e),C(),Math.abs(e)>.2*l){i(t.deltaX),s(e,Date.now()-b.current);return}p.current=E(()=>M(e),2*o)}else i(t.deltaX)});i.useEffect(()=>t(a.j7,k),[t,k])}($,...ef);let eE=eb(()=>{h.focus&&X().querySelector(`.${s(a.kJ)} .${s(eR())}`)&&J()});i.useEffect(eE,[eE]);let ey=eb(()=>{var e;null==(e=f.view)||e.call(f,{index:k.currentIndex})});i.useEffect(ey,[k.globalIndex,ey]),i.useEffect(()=>v(F(a.zn,e=>eh({direction:a.zn,...e})),F(a.Nc,e=>eh({direction:a.Nc,...e})),F(a.sI,e=>N(e))),[F,eh,N]);let eM=i.useMemo(()=>({prev:et,next:er,close:el,focus:J,slideRect:W?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)}}(W,o.padding):{width:0,height:0},containerRect:W||{width:0,height:0},subscribeSensors:D,containerRef:H,setCarouselRef:Q,toolbarWidth:C,setToolbarWidth:M}),[et,er,el,J,D,W,H,Q,C,M,o.padding]);return i.useImperativeHandle(h.ref,()=>({prev:et,next:er,close:el,focus:J,getLightboxProps:G,getLightboxState:ee}),[et,er,el,J,G,ee]),i.createElement("div",{ref:K,className:c(s(eR()),s(a.tC)),style:{...$===r.SWIPE?{[d("swipe_offset")]:`${Math.round(R.current)}px`}:null,...$===r.PULL?{[d("pull_offset")]:`${Math.round(L.current)}px`,[d("pull_opacity")]:`${I.current}`}:null,..."none"!==h.touchAction?{[d("controller_touch_action")]:h.touchAction}:null,...m.container},tabIndex:-1,...S},W&&i.createElement(eL.Provider,{value:eM},e,null==(n=p.controls)?void 0:n.call(p)))});function eD(e){return h(a.mY,e)}function eF({slide:e,offset:t}){var n,r,l,o;let u,d=i.useRef(null),{currentIndex:f,slides:v}=j(),{slideRect:g,focus:b}=eI(),{render:E,carousel:{imageFit:x,imageProps:C},on:{click:y},styles:{slide:M},labels:k}=X(),{getOwnerDocument:N}=O(),$=0!==t;return i.useEffect(()=>{var e;
1$&&(null==(e=d.current)?void 0:e.contains(N().activeElement))&&b()},[$,b,N]),i.createElement("div",{ref:d,className:c(s(h(a.h0,void 0)),!$&&s(h(a.h0,"current")),s(a.tC)),...{inert:S?$:$?"":void 0},style:M,role:"group","aria-roledescription":m(k,"Slide"),"aria-label":p(k,v,f+t)},(!(u=null==(n=E.slide)?void 0:n.call(E,{slide:e,offset:t,rect:g}))&&w(e)&&(u=i.createElement(eN,{slide:e,offset:t,render:E,rect:g,imageFit:x,imageProps:C,onClick:$?void 0:()=>null==y?void 0:y({index:f})})),u?i.createElement(i.Fragment,null,null==(r=E.slideHeader)?void 0:r.call(E,{slide:e}),(null!=(l=E.slideContainer)?l:({children:e})=>e)({slide:e,children:u}),null==(o=E.slideFooter)?void 0:o.call(E,{slide:e})):null))}function ez(){let e=X().styles.slide;return i.createElement("div",{className:s(a.h0),style:e})}let eT=F(a.mY,function({carousel:e,labels:t}){let{slides:n,currentIndex:r,globalIndex:l}=j(),{setCarouselRef:a}=eI(),{autoPlaying:o,focusWithin:u}=A(),h=y(e.spacing),f=y(e.padding),p=I(e,n,1),v=[];if(N(n))for(let t=r-p;t<=r+p;t+=1){let i=$(n,t),a=l-r+t,o=e.finite&&(t<0||t>n.length-1);v.push(o?{key:a}:{key:[`${a}`,R(i)].filter(Boolean).join("|"),offset:t-r,slide:i})}return i.createElement("div",{ref:a,className:c(s(eD()),v.length>0&&s(eD("with_slides"))),style:{[`${d(eD("slides_count"))}`]:v.length,[`${d(eD("spacing_px"))}`]:h.pixel||0,[`${d(eD("spacing_percent"))}`]:h.percent||0,[`${d(eD("padding_px"))}`]:f.pixel||0,[`${d(eD("padding_percent"))}`]:f.percent||0},role:"region","aria-live":o&&!u?"off":"polite","aria-roledescription":m(t,"Carousel"),"aria-label":m(t,"Photo gallery")},v.map(({key:e,slide:t,offset:n})=>t?i.createElement(eF,{key:e,slide:t,offset:n}):i.createElement(ez,{key:e})))});function e_(){let{carousel:e}=X(),{slides:t,currentIndex:n}=j();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function eA(e){var t;let n=ex(),{publish:r}=Z(),{animation:l}=X(),{prevDisabled:o,nextDisabled:u}=e_(),c=(null!=(t=l.navigation)?t:l.swipe)/2,s=ey(()=>r(a.zn),c),d=ey(()=>r(a.Nc),c),h=eb(e=>{switch(e.key){case a.or:r(a.C);break;case a.A9:(n?u:o)||(n?d:s)();break;case a.jn:(n?o:u)||(n?s:d)()}});i.useEffect(()=>e(a.uF,h),[e,h])}function eH({label:e,icon:t,renderIcon:n,action:r,onClick:l,disabled:a,style:o}){return i.createElement(el,{label:e,icon:t,renderIcon:n,className:s(`navigation_${r}`),disabled:a,onClick:l,style:o,...function(e,t=!1){let n=i.useRef(!1);return ef(()=>{t&&n.current&&(n.current=!1,e())},[t,e]),{onFocus:i.useCallback(()=>{n.current=!0},[]),onBlur:i.useCallback(()=>{n.current=!1},[])}}(eI().focus,a)})}let eV=F(a.Ky,function({render:{buttonPrev:e,buttonNext:t,iconPrev:n,iconNext:r},styles:l}){let{prev:o,next:u,subscribeSensors:c}=eI(),{prevDisabled:s,nextDisabled:d}=e_();return eA(c),i.createElement(i.Fragment,null,e?e():i.createElement(eH,{label:"Previous",action:a.zn,icon:ec,renderIcon:n,style:l.navigationPrev,disabled:s,onClick:o}),t?t():i.createElement(eH,{label:"Next",action:a.Nc,icon:es,renderIcon:r,style:l.navigationNext,disabled:d,onClick:u}))}),eO=s(a.HR),eW=s(a.vg);function eK(e,t,n){let r=window.getComputedStyle(e),l=n?"padding-left":"padding-right",i=n?r.paddingLeft:r.paddingRight,a=e.style.getPropertyValue(l);return e.style.setProperty(l,`${(C(i)||0)+t}px`),()=>{a?e.style.setProperty(l,a):e.style.removeProperty(l)}}let eZ=F(a.b6,function({noScroll:{disabled:e},children:t}){let n=ex(),{getOwnerDocument:r,getOwnerWindow:l}=O();return i.useEffect(()=>{if(e)return()=>{};let t=[],i=l(),{body:a,documentElement:o}=r(),u=Math.round(i.innerWidth-o.clientWidth);if(u>0){t.push(eK(a,u,n));let e=a.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(eW)&&t.push(eK(l,u,n))}}return a.classList.add(eO),()=>{a.classList.remove(eO),t.forEach(e=>e())}},[n,e,r,l]),i.createElement(i.Fragment,null,t)});function eY(e,t,n){let r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}let eQ=F(a.kJ,function({children:e,animation:t,styles:n,className:r,on:l,portal:u,close:f,labels:p}){let[v,g]=i.useState(!1),[b,E]=i.useState(!1),w=i.useRef([]),x=i.useRef(null),{setTimeout:C}=en(),{subscribe:y}=Z(),M=em()?0:t.fade;i.useEffect(()=>(g(!0),()=>{g(!1),E(!1)}),[]);let k=eb(()=>
1{w.current.forEach(e=>e()),w.current=[]}),N=eb(()=>{var e;E(!1),k(),null==(e=l.exiting)||e.call(l),C(()=>{var e;null==(e=l.exited)||e.call(l),f()},M)});i.useEffect(()=>y(a.C,N),[y,N]);let $=eb(e=>{var t,n,r;e.scrollTop,E(!0),null==(t=l.entering)||t.call(l);let i=null!=(r=null==(n=e.parentNode)?void 0:n.children)?r:[];for(let t=0;t<i.length;t+=1){let n=i[t];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(n.tagName)&&n!==e&&(w.current.push(eY(n,"inert","")),w.current.push(eY(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=l.entered)||e.call(l)},M)}),P=i.useCallback(e=>{e?$(e):k()},[$,k]);return v?(0,o.createPortal)(i.createElement(e$,{ref:P,className:c(r,s(h(a.kJ,void 0)),s(a.vg),b&&s(h(a.kJ,"open"))),"aria-modal":!0,role:"dialog","aria-label":m(p,"Lightbox"),style:{...t.fade!==D.animation.fade?{[d("fade_animation_duration")]:`${M}ms`}:null,...t.easing.fade!==D.animation.easing.fade?{[d("fade_animation_timing_function")]:t.easing.fade}:null,...n.root},onFocus:e=>{x.current||(x.current=e.relatedTarget)}},e),u.root||document.body):null}),eX=F(a.OT,function({children:e}){return i.createElement(i.Fragment,null,e)}),eB=F(a.pq,function({toolbar:{buttons:e},render:{buttonClose:t,iconClose:n},styles:r}){let{close:l,setToolbarWidth:o}=eI(),{setContainerRef:u,containerRect:c}=ev();return ef(()=>{o(null==c?void 0:c.width)},[o,null==c?void 0:c.width]),i.createElement("div",{ref:u,style:r.toolbar,className:s(h(a.pq,void 0))},null==e?void 0:e.map(e=>e===a.C?t?t():i.createElement(el,{key:a.C,label:"Close",icon:eu,renderIcon:n,onClick:l}):e))});function eU({carousel:e,animation:t,render:n,toolbar:r,controller:l,noScroll:o,on:u,plugins:c,slides:s,index:d,...h}){let{animation:f,carousel:m,render:p,toolbar:v,controller:g,noScroll:b,on:E,slides:w,index:x,plugins:y,...M}=D,{config:k,augmentation:N}=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;(null==n?void 0:n.children)&&t.push(...n.children)}return!1},i=(e,t)=>{if(""===e){r=[z(t,r)];return}r=T(r,e,e=>[z(t,[e])])},o=(e,t)=>{r=T(r,e,e=>[z(e.module,[z(t,e.children)])])},u=(e,t,n)=>{r=T(r,e,e=>{var r;return[z(e.module,[...n?[z(t)]:[],...null!=(r=e.children)?r:[],...n?[]:[z(t)]])]})},c=(e,t,n)=>{r=T(r,e,e=>[...n?[z(t)]:[],e,...n?[]:[z(t)]])},s=e=>{o(a.Kv,e)},d=(e,t)=>{r=T(r,e,e=>[z(t,e.children)])},h=e=>{r=T(r,e,e=>e.children)},f=e=>{n.push(e)};return t.forEach(e=>{e({contains:l,addParent:i,append:o,addChild:u,addSibling:c,addModule:s,replace:d,remove:h,augment:f})}),{config:r,augmentation:e=>n.reduce((e,t)=>t(e),e)}}([z(eQ,[z(eZ,[z(eS,[z(eT),z(eB),z(eV)])])])],c||y),$=N({animation:function(e,t={}){let{easing:n,...r}=e,{easing:l,...i}=t;return{easing:{...n,...l},...r,...i}}(f,t),carousel:{...m,...e},render:{...p,...n},toolbar:{...v,...r},controller:{...g,...l},noScroll:{...b,...o},on:{...E,...u},...M,...h});return $.open?i.createElement(B,{...$},i.createElement(ee,{slides:s||w,index:C(d||x)},i.createElement(er,null,i.createElement(Y,null,i.createElement(H,null,function e(t,n){var r;return i.createElement(t.module.component,{key:t.module.name,...n},null==(r=t.children)?void 0:r.map(t=>e(t,n)))}(z(eX,k),$)))))):null}},55779:(e,t,n)=>{"use strict";n.d(t,{A:()=>L});var r=n(14232),l=n(46924),i=n(31545);let a={ref:null,position:"bottom",width:120,height:80,border:1,borderRadius:4,padding:4,gap:16,imageFit:"contain",vignette:!0,hidden:!1,showToggle:!1},o=e=>({...a,...e});function u(){let{thumbnails:e}=(0,l.D$)();return o(e)}let c=e=>(0,l.f4)(i.QQ,e),s=e=>c((0,l.f4)("thumbnail",e)),d=(0,l.wt)("VideoThumbnail",r.createElement("path",{d:"M10 16.5l6-4.5-6-4.5v9zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"})),h=(0,l.wt)("UnknownThumbnail",r.createElement("path",{d:"M23 18V6c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zM8.5 12.5l2.5 3.01L14.5 11l4.5 6H5l3.5-4.5z"})),f=(0,l.fh)("active"),m=(0,l.fh)("fadein"),p=(0,l.fh)("fadeout"),v=(0,l.fh)("placeholder"),g="delay",b="duration";function E({slide:e,index:t,onClick:n,fadeIn:a,fadeOut:o,placeholder:c,onLoseFocus:E}){let w=r.useRef(null),{render:x,styles:C,labels:y}=(0,l.D$)(),{slides:M,globalIndex:k}=(0,l.mp)(),{getOwnerDocument:N}=(0,l.uG)(),{width:$,height:P,imageFit:R}=u(),L=t===k,I=(0,l.DK)(E);return r.useEffect(()=>{o&&N().activeElement===w.current&&I()},[o,I,N]),r.createElement("button",{ref:w,type:"button",className:(0,l.$z)((0,l.oF)(i.tC),(0,l.oF)(s()),L&&(0,l.oF)(s(f())),a&&(0,l.oF)(s(m())),o&&(0,l.oF)(s(p())),c&&(0,l.oF)(s(v()))),style:{...a?{[(0,l.Vg)(s(m(b)))]:`${a.duration}ms`,[(0,l.Vg)(s(m(g)))]:`${a.delay}ms`}:null,...o?{[(0,l.Vg)(s(p(b)))]:`${o.duration}ms`,[(0,l.Vg)(s(p(g)))]:`${o.delay}ms`}:null,...C.thumbnail},onClick:n,"aria-current":!!L||void 0,"aria-label":(0,l.iF)(y,M,t)},e&&function({slide:e,render:t,rect:n,imageFit:a}){var o;let u=null==(o=t.thumbnail)?void 0:o.call(t,{slide:e,render:t,rect:n,imageFit:a});if(u)return u;let c={render:t,rect:n,imageFit:a};if(e.thumbnail)return r.createElement(l.Z$,{slide:{src:e.thumbnail},...c});if((0,l.tx)(e))return r.createElement(l.Z$,{slide:e,...c});let f=(0,l.oF)(s(i.jR));return"video"===e.type?r.createElement(r.Fragment,null,e.poster&&r.createElement(l.Z$,{slide:{src:e.poster},...c}),r.createElement(d,{className:f})):r.createElement(h,{className:f})}({slide:e,render:x,rect:{width:$,height:P},imageFit:R}))}function w(e){return["top","bottom"].includes(e)}function x(e,t){return t+2*(e.border+e.padding)+e.gap}function C({visible:e,containerRef:t}){let n=r.useRef(null),o=(0,l.x3)(),{publish:d,subscribe:h}=(0,l.LJ)(),{carousel:f,styles:m,labels:p}=(0,l.D$)(),{slides:v,globalIndex:g,animation:b}=(0,l.mp)(),{registerSensors:C,subscribeSensors:y}=(0,l.Yc)();(0,l.JZ)(y);let M=u(),{position:k,width:N,height:$,border:P,borderStyle:R,borderColor:L,borderRadius:I,padding:S,gap:D,vignette:F}=M,z=(null==b?void 0:b.duration)!==void 0&&(null==b?void 0:b.increment)||0,T=(null==b?void 0:b.duration)||0,{prepareAnimation:_}=(0,l.sM)(n,e=>({keyframes:w(k)?[{transform:`translateX(${(o?-1:1)*x(M,N)*z+e}px)`},{transform:"translateX(0)"}]:[{transform:`translateY(${x(M,$)*z+e}px)`},{transform:"translateY(0)"}],duration:T,easing:null==b?void 0:b.easing})),A=(0,l.DK)(()=>{let e=0;if(t.current&&n.current){let r=t.current.getBoundingClientRect(),l=n.current.getBoundingClientRect();e=w(k)?l.left-r.left-(r.width-l.width)/2:l.top-r.top-(r.height-l.height)/2}_(e)});r.useEffect(()=>(0,l.tP)(h(i.sI,A)),[h,A]);let H=(0,l.eS)(f,v),V=[];if((0,l.DB)(v))for(let e=g-H-Math.abs(z);e<=g+H+Math.abs(z);e+=1){let t=f.finite&&(e<0||e>v.length-1)||z<0&&e<g-H||z>0&&e>g+H?null:(0,l.gZ)(v,e),n=[`${e}`,function(e){let{thumbnail:t,poster:n}=e||{thumbnail:"placeholder"};return"string"==typeof t&&t||"string"==typeof n&&n||e&&(0,l.Hw)(e)||void 0}
1(t)].filter(Boolean).join("|");V.push({key:n,index:e,slide:t})}return r.createElement("div",{className:(0,l.$z)((0,l.oF)(c("container")),(0,l.oF)(i.tC)),style:{...!e?{display:"none"}:null,...N!==a.width?{[(0,l.Vg)(s("width"))]:`${N}px`}:null,...$!==a.height?{[(0,l.Vg)(s("height"))]:`${$}px`}:null,...P!==a.border?{[(0,l.Vg)(s("border"))]:`${P}px`}:null,...R?{[(0,l.Vg)(s("border_style"))]:R}:null,...L?{[(0,l.Vg)(s("border_color"))]:L}:null,...I!==a.borderRadius?{[(0,l.Vg)(s("border_radius"))]:`${I}px`}:null,...S!==a.padding?{[(0,l.Vg)(s("padding"))]:`${S}px`}:null,...D!==a.gap?{[(0,l.Vg)(s("gap"))]:`${D}px`}:null,...m.thumbnailsContainer}},r.createElement("nav",{ref:n,style:m.thumbnailsTrack,className:(0,l.$z)((0,l.oF)(c("track")),(0,l.oF)(i.tC)),"aria-label":(0,l.l6)(p,"Thumbnails"),tabIndex:-1,...C},V.map(({key:e,index:t,slide:l})=>{let a=T/Math.abs(z||1),o=z>0&&t>g+H-z&&t<=g+H||z<0&&t<g-H-z&&t>=g-H?{duration:a,delay:((z>0?t-(g+H-z):g-H-z-t)-1)*a}:void 0,u=z>0&&t<g-H||z<0&&t>g+H?{duration:a,delay:(z>0?z-(g-H-t):-z-(t-(g+H)))*a}:void 0;return r.createElement(E,{key:e,index:t,slide:l,fadeIn:o,fadeOut:u,placeholder:!l,onClick:()=>{t>g?d(i.Nc,{count:t-g}):t<g&&d(i.zn,{count:g-t})},onLoseFocus:()=>{var e;return null==(e=n.current)?void 0:e.focus()}})})),F&&r.createElement("div",{className:(0,l.oF)(c("vignette"))}))}let y=r.createContext(null),M=(0,l.Tz)("useThumbnails","ThumbnailsContext",y);function k({children:e,...t}){let{ref:n,position:i,hidden:a}=o(t.thumbnails),[u,s]=r.useState(!a),d=r.useRef(null),h=r.useMemo(()=>({visible:u,show:()=>s(!0),hide:()=>s(!1)}),[u]);return r.useImperativeHandle(n,()=>h,[h]),r.createElement(l.RT,{...t},r.createElement(y.Provider,{value:h},r.createElement("div",{ref:d,className:(0,l.$z)((0,l.oF)(c()),(0,l.oF)(c(`${i}`)))},["start","top"].includes(i)&&r.createElement(C,{containerRef:d,visible:u}),r.createElement("div",{className:(0,l.oF)(c("wrapper"))},e),["end","bottom"].includes(i)&&r.createElement(C,{containerRef:d,visible:u}))))}let N=()=>r.createElement(r.Fragment,null,r.createElement("path",{strokeWidth:2,stroke:"currentColor",strokeLinejoin:"round",fill:"none",d:"M3 5l18 0l0 14l-18 0l0-14z"}),r.createElement("path",{d:"M5 14h4v3h-4zM10 14h4v3h-4zM15 14h4v3h-4z"})),$=(0,l.wt)("ThumbnailsVisible",N()),P=(0,l.Q5)("ThumbnailsHidden",N());function R(){let{visible:e,show:t,hide:n}=M(),{render:i}=(0,l.D$)();return i.buttonThumbnails?r.createElement(r.Fragment,null,i.buttonThumbnails({visible:e,show:t,hide:n})):r.createElement(l.K0,{label:e?"Hide thumbnails":"Show thumbnails",
1icon:e?$:P,renderIcon:e?i.iconThumbnailsVisible:i.iconThumbnailsHidden,onClick:e?n:t})}function L({augment:e,contains:t,append:n,addParent:a}){e(({thumbnails:e,toolbar:t,...n})=>{let a=o(e);return{toolbar:(0,l.bo)(t,i.QQ,a.showToggle?r.createElement(R,null):null),thumbnails:a,...n}});let u=(0,l.Fi)(i.QQ,k);t(i.Qe)?n(i.Qe,u):a(i.Kv,u)}},99891:()=>{}}]);

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.