PageSourceSearch

https://blabber.ai/_next/static/chunks/1042.8fe8c6610f012dd8.js

js blabber.ai collected 2026-10-05 12:55:46 UTC 41,164 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:blabber-web":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d9350ce8-3da0-4cfc-b98f-b8b3fffef20e",e._sentryDebugIdIdentifier="sentry-dbid-d9350ce8-3da0-4cfc-b98f-b8b3fffef20e")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1042],{4178:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(12115),l=n(36209),i=n(41804);let o={maxZoomPixelRatio:1,zoomInMultiplier:2,doubleTapDelay:300,doubleClickDelay:500,doubleClickMaxStops:2,keyboardMoveDistance:50,wheelZoomDistanceFactor:100,pinchZoomDistanceFactor:100,scrollToZoom:!1},a=e=>({...o,...e});function u(){let{zoom:e}=(0,l.D$)();return a(e)}function c(e,t){return((e.clientX-t.clientX)**2+(e.clientY-t.clientY)**2)**.5}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),f=(0,l.Tz)("useZoom","ZoomControllerContext",d);function h({children:e}){let[t,n]=r.useState(),{slideRect:o}=(0,l.as)(),{imageRect:a,maxZoom:f}=function(e,t){var n,r;let i={width:0,height:0},o={width:0,height:0},{currentSlide:a}=(0,l.mp)(),{imageFit:c}=(0,l.D$)().carousel,{maxZoomPixelRatio:s}=u();if(e&&a){let u={...a,...t};if((0,l.tx)(u)){let t=(0,l.QJ)(u,c),a=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]:[]));a>0&&d>0&&e.width>0&&e.height>0&&(o={width:(o=t?{width:Math.round(Math.min(a,e.width/e.height*d)),height:Math.round(Math.min(d,e.height/e.width*a))}:{width:a,height:d}).width*s,height:o.height*s},i=t?{width:Math.min(e.width,o.width,a),height:Math.min(e.height,o.height,d)}:{width:Math.round(Math.min(e.width,e.height/d*a,a)),height:Math.round(Math.min(e.height,e.width/a*d,d))})}}let d=i.width?Math.max((0,l.LI)(o.width/i.width,5),1):1;return{imageRect:i,maxZoom:d}}(o,null==t?void 0:t.imageDimensions),{zoom:h,offsetX:m,offsetY:p,disabled:v,changeZoom:g,changeOffsets:b,zoomIn:w,zoomOut:E}=function(e,t,n){let[i,o]=r.useState(1),[a,c]=r.useState(0),[s,d]=r.useState(0),f=function(e,t,n,i){let o=r.useRef(void 0),a=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=o.current)||r.cancel(),o.current=void 0,a.current&&(null==i?void 0:i.current)){try{o.current=null==(s=(l=i.current).animate)?void 0:s.call(l,[{transform:a.current},{transform:`scale(${e}) translateX(${t}px) translateY(${n}px)`}],{duration:c?0:null!=u?u:500,easing:o.current?"ease-out":"ease-in-out"})}catch(e){console.error(e)}a.current=void 0,o.current&&(o.current.onfinish=()=>{o.current=void 0})}});return(0,l.Nf)(s,[e,t,n,s]),r.useCallback(()=>{a.current=(null==i?void 0:i.current)?window.getComputedStyle(i.current).transform:void 0},[i])}(i,a,s,n),{currentSlide:h,globalIndex:m}=(0,l.mp)(),{containerRect:p,slideRect:v}=(0,l.as)(),{zoomInMultiplier:g}=u(),b=h&&(0,l.tx)(h)?h.src:void 0,w=!b||!(null==n?void 0:n.current);(0,l.Nf)(()=>{o(1),c(0),d(0)},[m,b]);let E=r.useCallback((t,n,r)=>{let l=r||i,o=a-(t||0),u=s-(n||0),f=(e.width*l-v.width)/2/l,h=(e.height*l-v.height)/2/l;c(Math.min(Math.abs(o),Math.max(f,0))*Math.sign(o)),d(Math.min(Math.abs(u),Math.max(h,0))*Math.sign(u))},[i,a,s,v,e.width,e.height]),y=r.useCallback((e,n,r,a)=>{let u=(0,l.LI)(Math.min(Math.max(e+.001<t?e:t,1),t),5);u!==i&&(n||f(),E(r?r*(1/i-1/u):0,a?a*(1/i-1/u):0,u),o(u))},[i,t,E,f]),x=(0,l.DK)(()=>{i>1&&(i>t&&y(t,!0),E())});(0,l.Nf)(x,[p.width,p.height,x]);let M=r.useCallback(()=>y(i*g),[i,g,y]),C=r.useCallback(()=>y(i/g),[i,g,y]);return{zoom:i,offsetX:a,offsetY:s,disabled:w,changeOffsets:E,changeZoom:y,zoomIn:M,zoomOut:C}}(a,f,null==t?void 0:t.zoomWrapperRef),{on:y}=(0,l.D$)(),x=(0,l.DK)(()=>{var e;v||null==(e=y.zoom)||e.call(y,{zoom:h})});r.useEffect(x,[h,x]),function(e,t,n,o,a,d){let f=r.useRef([]),h=r.useRef(0),m=r.useRef(void 0),{globalIndex:p}=(0,l.mp)(),{getOwnerWindow:v}=(0,l.uG)(),{containerRef:g,subscribeSensors:b}=(0,l.as)(),{keyboardMoveDistance:w,zoomInMultiplier:E,wheelZoomDistanceFactor:y,scrollToZoom:x,doubleTapDelay:M,doubleClickDelay:C,doubleClickMaxStops:k,pinchZoomDistanceFactor:N}=u(),I=r.useCallback(e=>{if(g.current){let{pageX:t,pageY:n}=e,{scrollX:r,scrollY:l}=v(),{left:i,top:o,width:a,height:u}=g.current.getBoundingClientRect();return[t-i-r-a/2,n-o-l-u/2]}return[]},[g,v]),P=(0,l.DK)(t=>{let{key:n,metaKey:r,ctrlKey:l}=t,i=r||l,u=()=>{t.preventDefault(),t.stopPropagation()};if(e>1){let e=(e,t)=>
1{u(),a(e,t)};"ArrowDown"===n?e(0,w):"ArrowUp"===n?e(0,-w):"ArrowLeft"===n?e(-w,0):"ArrowRight"===n&&e(w,0)}let c=e=>{u(),o(e)};"+"===n||i&&"="===n?c(e*E):"-"===n||i&&"_"===n?c(e/E):i&&"0"===n&&c(1)}),L=(0,l.DK)(t=>{if((t.ctrlKey||x)&&Math.abs(t.deltaY)>Math.abs(t.deltaX)){t.stopPropagation(),o(s(e,-t.deltaY,y),!0,...I(t));return}e>1&&(t.stopPropagation(),x||a(t.deltaX,t.deltaY))}),R=r.useCallback(e=>{let t=f.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),S=r.useCallback(e=>{R(e),e.persist(),f.current.push(e)},[R]),D=(0,l.DK)(n=>{var r;let l=f.current;if("mouse"===n.pointerType&&n.buttons>1||!(null==(r=null==d?void 0:d.current)?void 0:r.contains(n.target)))return;e>1&&n.stopPropagation();let{timeStamp:i}=n;0===l.length&&i-h.current<("touch"===n.pointerType?M:C)?(h.current=0,o(e!==t?e*Math.max(t**(1/k),E):1,!1,...I(n))):h.current=i,S(n),2===l.length&&(m.current=c(l[0],l[1]))}),_=(0,l.DK)(t=>{let n=f.current,r=n.find(e=>e.pointerId===t.pointerId);if(2===n.length&&m.current){t.stopPropagation(),S(t);let r=c(n[0],n[1]),l=r-m.current;Math.abs(l)>0&&(o(s(e,l,N),!0,...n.map(e=>I(e)).reduce((e,t)=>t.map((t,n)=>e[n]+t/2))),m.current=r);return}e>1&&(t.stopPropagation(),r&&(1===n.length&&a((r.clientX-t.clientX)/e,(r.clientY-t.clientY)/e),S(t)))}),A=r.useCallback(e=>{let t=f.current;2===t.length&&t.find(t=>t.pointerId===e.pointerId)&&(m.current=void 0),R(e)},[R]),z=r.useCallback(()=>{let e=f.current;e.splice(0,e.length),h.current=0,m.current=void 0},[]);(0,l.yQ)(b,D,_,A,n),r.useEffect(z,[p,z]),r.useEffect(()=>n?()=>{}:(0,l.tP)(z,b(i.uF,P),b(i.j7,L)),[n,b,z,P,L])}(h,f,v,g,b,null==t?void 0:t.zoomWrapperRef);let M=r.useMemo(()=>({zoom:h,maxZoom:f,offsetX:m,offsetY:p,disabled:v,zoomIn:w,zoomOut:E,changeZoom:g}),[h,f,m,p,v,w,E,g]);r.useImperativeHandle(u().ref,()=>M,[M]);let C=r.useMemo(()=>({...M,setZoomWrapper:n}),[M,n]);return r.createElement(d.Provider,{value:C},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),o=r.useRef(!1),{zoom:a,maxZoom:u,zoomIn:c,zoomOut:s,disabled:d}=f(),{render:h}=(0,l.D$)(),v=d||(e?a>=u:a<=1);return r.useEffect(()=>{v&&i.current&&o.current&&t(),v||(i.current=!0)},[v,t]),r.createElement(l.K0,{ref:n,disabled:v,label:e?"Zoom in":"Zoom out",icon:e?m:p,renderIcon:e?h.iconZoomIn:h.iconZoomOut,onClick:e?c:s,onFocus:()=>{o.current=!0},onBlur:()=>{o.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]),o=r.useCallback(()=>i(e),[i]),a=r.useCallback(()=>i(t),[i]);return r.createElement(r.Fragment,null,r.createElement(v,{zoomIn:!0,ref:e,onLoseFocus:a}),r.createElement(v,{ref:t,onLoseFocus:o}))}function b(){let{render:e}=(0,l.D$)(),t=f();
1return e.buttonZoom?r.createElement(r.Fragment,null,e.buttonZoom(t)):r.createElement(g,null)}function w({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 E(e){var t,n;let[{current:i,preload:o},a]=r.useReducer(w,{}),{slide:u,rect:c,imageFit:s,render:d,interactive:f}=e,h=u.srcSet.sort((e,t)=>e.width-t.width),m=null!=(t=u.width)?t:h[h.length-1].width,p=null!=(n=u.height)?n:h[h.length-1].height,v=(0,l.QJ)(u,s),g=Math.max(...h.map(e=>e.width)),b=Math.min((v?Math.max:Math.min)(c.width,m*(c.height/p)),g),E=(0,l.Y5)(),y=(0,l.DK)(()=>{var e;let t=null!=(e=h.find(e=>e.width>=b*E))?e:h[h.length-1];(!i||h.findIndex(e=>e.src===i)<h.findIndex(e=>e===t))&&a({type:"fetch",source:t.src})});(0,l.Nf)(y,[c.width,c.height,E,y]);let x=(0,l.DK)(e=>a({type:"done",source:e})),M={WebkitTransform:f?"initial":"translateZ(0)"};return v||Object.assign(M,c.width/c.height<m/p?{width:"100%",height:"auto"}:{width:"auto",height:"100%"}),r.createElement(r.Fragment,null,o&&o!==i&&r.createElement(l.Z$,{key:"preload",...e,offset:void 0,slide:{...u,src:o,srcSet:void 0},style:{position:"absolute",visibility:"hidden",...M},onLoad:()=>x(o),render:{...d,iconLoading:()=>null,iconError:()=>null}}),i&&r.createElement(l.Z$,{key:"current",...e,slide:{...u,src:i,srcSet:void 0},style:M}))}function y({render:e,slide:t,offset:n,rect:o}){var a,u;let[c,s]=r.useState(),d=r.useRef(null),{zoom:h,maxZoom:m,offsetX:p,offsetY:v,setZoomWrapper:g}=f(),b=h>1,{carousel:w,on:y}=(0,l.D$)(),{currentIndex:x}=(0,l.mp)();(0,l.Nf)(()=>0===n?(g({zoomWrapperRef:d,imageDimensions:c}),()=>g(void 0)):()=>{},[n,c,g]);let M=null==(a=e.slide)?void 0:a.call(e,{slide:t,offset:n,rect:o,zoom:h,maxZoom:m});if(!M&&(0,l.tx)(t)){let i={slide:t,offset:n,rect:o,render:e,imageFit:w.imageFit,imageProps:w.imageProps,onClick:0===n?()=>{var e;return null==(e=y.click)?void 0:e.call(y,{index:x})}:void 0};M=((null==(u=t.srcSet)?void 0:u.length)||0)>0?r.createElement(E,{...i,slide:t,interactive:b,rect:0===n?{width:o.width*h,height:o.height*h}:o}):r.createElement(l.Z$,{onLoad:e=>s({width:e.naturalWidth,height:e.naturalHeight}),...i})}return M?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(${h}) translateX(${p}px) translateY(${v}px)`}:void 0},M):null}let x=({augment:e,addModule:t})=>{e(({zoom:e,toolbar:t,render:n,controller:o,...u})=>{let c=a(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(y,{render:n,...e}):null==(t=n.slide)?void 0:t.call(n,e)}},controller:{...o,preventDefaultWheelY:c.scrollToZoom},...u}}),t((0,l.Fi)(i.AH,h))}},36209:(e,t,n)=>{"use strict";n.d(t,{$z:()=>c,Ay:()=>eZ,D$:()=>H,DB:()=>M,DK:()=>ef,Fi:()=>S,Hw:()=>N,JZ:()=>e_,K0:()=>q,LI:()=>g,LJ:()=>O,Nf:()=>ea,Q5:()=>et,QJ:()=>w,RT:()=>$,Tz:()=>p,Vg:()=>d,Y5:()=>x,Yc:()=>ev,Z$:()=>eE,as:()=>ek,bo:()=>I,eS:()=>P,f4:()=>f,fh:()=>h,gZ:()=>C,iJ:()=>eu,mp:()=>Z,oF:()=>s,sM:()=>ec,tP:()=>m,tx:()=>b,uG:()=>z,wt:()=>ee,x3:()=>ep,yQ:()=>ex});var r,l,i=n(12115),o=n(41804),a=n(47650);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 m(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return()=>{t.forEach(e=>{e()})}}function p(e,t,n){return()=>{let r=i.useContext(n);if(!r)throw Error("".concat(e," must be used within a ").concat(t,".Provider"));return r}}function v(){return"undefined"!=typeof window}function g(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 b(e){return void 0===e.type||"image"===e.type}function w(e,t){return e.imageFit===o.e7||e.imageFit!==o.Td&&t===o.e7}function E(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=E(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function x(){return(v()?null==window?void 0:window.devicePixelRatio:void 0)||1}function M(e){return e.length>0}function C(e,t){var n;return e[(n=e.length)>0?(t%n+n)%n:0]}function k(e,t){return M(e)?C(e,t):void 0}function N(e){return b(e)?e.src:void 0}function I(e,t,n){if(!n)return e;let{buttons:r,...l}=e,o=r.findIndex(e=>e===t),a=i.isValidElement(n)?i.cloneElement(n,{key:t},null):n;if(o>=0){let e=[...r];return e.splice(o,1,a),{buttons:e,...l}}return{buttons:[a,...r],...l}}function P(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 L=Number(i.version.split(".")[0])>=19,R={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[o.C]},labels:{},animation:{fade:250,swipe:500,easing:{fade:"ease",swipe:"ease-out",n
1avigation:"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 S(e,t){return{name:e,component:t}}function D(e,t){return{module:e,children:t}}function _(e,t,n){return e.flatMap(e=>{var r;return null!=(r=function e(t,n,r){return t.module.name===n?r(t):t.children?[D(t.module,t.children.flatMap(t=>{var l;return null!=(l=e(t,n,r))?l:[]}))]:[t]}(e,t,n))?r:[]})}let A=i.createContext(null),z=p("useDocument","DocumentContext",A);function F(e){let{nodeRef:t,children:n}=e,r=i.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 i.createElement(A.Provider,{value:r},n)}let T=i.createContext(null),O=p("useEvents","EventsContext",T);function W(e){let{children:t}=e,[n]=i.useState({});i.useEffect(()=>()=>{Object.keys(n).forEach(e=>delete n[e])},[n]);let r=i.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[i,o]=r;null==(e=n[i])||e.forEach(e=>e(o))},subscribe:(t,r)=>(n[t]||(n[t]=[]),n[t].push(r),()=>e(t,r)),unsubscribe:e}},[n]);return i.createElement(T.Provider,{value:r},t)}let K=i.createContext(null),H=p("useLightboxProps","LightboxPropsContext",K);function $(e){let{children:t,...n}=e;return i.createElement(K.Provider,{value:n},t)}let Y=i.createContext(null),Z=p("useLightboxState","LightboxStateContext",Y),U=i.createContext(null),X=p("useLightboxDispatch","LightboxDispatchContext",U);function B(e,t){switch(t.type){case"swipe":{var n;let{slides:r}=e,l=(null==t?void 0:t.increment)||0,i=e.globalIndex+l,o=(n=r.length)>0?(i%n+n)%n:0,a=k(r,o);return{slides:r,currentIndex:o,globalIndex:i,currentSlide:a,animation:l||void 0!==t.duration?{increment:l,duration:t.duration,easing:t.easing}:void 0}}case"update":if(t.slides!==e.slides||t.index!==e.currentIndex)return{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:k(t.slides,t.index)};return e;default:throw Error(o.V)}}function j(e){let{slides:t,index:n,children:r}=e,[l,o]=i.useReducer(B,{slides:t,currentIndex:n,globalIndex:n,currentSlide:k(t,n)});i.useEffect(()=>{o({type:"update",slides:t,index:n})},[t,n]);let a=i.useMemo(()=>({...l,state:l,dispatch:o}),[l,o]);return i.createElement(U.Provider,{value:o},i.createElement(Y.Provider,{value:a},r))}let Q=i.createContext(null),V=p("useTimeouts","TimeoutsContext",Q);function J(e){let{children:t}=e,[n]=i.useState([]);i.useEffect(()=>()=>{n.forEach(e=>window.clearTimeout(e)),n.splice(0,n.length)},[n]);let r=i.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 i.createElement(Q.Provider,{value:r},t)}let q=i.forwardRef(function(e,t){var n;let{label:r,className:l,icon:a,renderIcon:u,onClick:d,style:f,...h}=e,{styles:m,labels:p}=H(),v=null!=(n=null==p?void 0:p[r])?n:r;return i.createElement("button",{ref:t,type:"button",title:v,"aria-label":v,className:c(s(o.Uj),l),onClick:d,style:{...f,...m.button},...h},u?u():i.createElement(a,{className:s(o.jR),style:m.icon}))});function G(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 ee(e,t){return G(e,i.createElement("g",{fill:"currentColor"},i.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function et(e,t){return G(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 en=ee("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"})),er=ee("Previous",i.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),el=ee("Next",i.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),ei=ee("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(".concat(360/n.length*t,", 12, 12)")})))),eo=ee("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"})),ea=v()?i.useLayoutEffect:i.useEffect;function eu(){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 ec(e,t){let n=i.useRef(void 0),r=i.useRef(void 0),l=eu();return ea(()=>{var i,o,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(E);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==(a=(o=e.current).animate)?void 0:a.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 es(){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)};
1l(),n&&"undefined"!=typeof ResizeObserver&&(t.current=new ResizeObserver(l),t.current.observe(n))},[]),containerRef:e,containerRect:n}}function ed(){let e=i.useRef(void 0),{setTimeout:t,clearTimeout:n}=V();return i.useCallback((r,l)=>{n(e.current),e.current=t(r,l>0?l:0)},[t,n])}function ef(e){let t=i.useRef(e);return ea(()=>{t.current=e}),i.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 eh(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function em(e,t){return i.useMemo(()=>null==e&&null==t?null:n=>{eh(e,n),eh(t,n)},[e,t])}function ep(){let[e,t]=i.useState(!1);return ea(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function ev(){let[e]=i.useState({}),t=i.useCallback((t,n)=>{var r;null==(r=e[t])||r.forEach(e=>{n.isPropagationStopped()||e(n)})},[e]);return{registerSensors:i.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: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 eg(e,t){let n=i.useRef(0),r=ed(),l=ef(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 i.useCallback(function(){for(var e=arguments.length,i=Array(e),o=0;o<e;o++)i[o]=arguments[o];r(()=>{l(i)},t-(Date.now()-n.current))},[t,l,r])}let eb=h("slide"),ew=h("slide_image");function eE(e){var t,n,r,l,a,u,d;let{slide:f,offset:h,render:m,rect:p,imageFit:g,imageProps:b,onClick:E,onLoad:y,onError:x,style:M}=e,[C,k]=i.useState(o.Qo),{publish:N}=O(),{setTimeout:I}=V(),P=i.useRef(null);i.useEffect(()=>{0===h&&N((0,o.EC)(C))},[h,C,N]);let L=ef(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(k(o.P9),I(()=>{null==y||y(e)},0))})}),R=i.useCallback(e=>{P.current=e,(null==e?void 0:e.complete)&&L(e)},[L]),S=i.useCallback(e=>{L(e.currentTarget)},[L]),D=ef(()=>{k(o.I1),null==x||x()}),_=w(f,g),A=(e,t)=>
1Number.isFinite(e)?e:t,z=A(Math.max(...(null!=(n=null==(t=f.srcSet)?void 0:t.map(e=>e.width))?n:[]).concat(f.width?[f.width]:[]).filter(Boolean)),(null==(r=P.current)?void 0:r.naturalWidth)||0),F=A(Math.max(...(null!=(a=null==(l=f.srcSet)?void 0:l.map(e=>e.height))?a:[]).concat(f.height?[f.height]:[]).filter(Boolean)),(null==(u=P.current)?void 0:u.naturalHeight)||0),T=null==(d=f.srcSet)?void 0:d.sort((e,t)=>e.width-t.width).map(e=>"".concat(e.src," ").concat(e.width,"w")).join(", "),W=T&&p&&v()?"".concat(Math.round(Math.min(p&&!_&&f.width&&f.height?p.height/f.height*f.width:Number.MAX_VALUE,p.width)),"px"):void 0,{style:K,className:H,...$}=b||{};return i.createElement(i.Fragment,null,i.createElement("img",{ref:R,onLoad:S,onError:D,onClick:E,draggable:!1,className:c(s(ew()),_&&s(ew("cover")),C!==o.P9&&s(ew("loading")),H),style:{...z&&F?{maxWidth:"min(".concat(z,"px, 100%)"),maxHeight:"min(".concat(F,"px, 100%)")}:{maxWidth:"100%",maxHeight:"100%"},...M,...K},...$,alt:f.alt,sizes:W,srcSet:T,src:f.src}),C!==o.P9&&i.createElement("div",{className:s(eb(o.Bv))},C===o.Qo&&((null==m?void 0:m.iconLoading)?m.iconLoading():i.createElement(ei,{className:c(s(o.jR),s(eb(o.Qo)))})),C===o.I1&&((null==m?void 0:m.iconError)?m.iconError():i.createElement(eo,{className:c(s(o.jR),s(eb(o.I1)))}))))}let ey=i.forwardRef(function(e,t){let{className:n,children:r,...l}=e,o=i.useRef(null);return i.createElement(F,{nodeRef:o},i.createElement("div",{ref:em(t,o),className:c(s("root"),n),...l},r))});function ex(e,t,n,r,l){i.useEffect(()=>l?()=>{}:m(e(o.qq,t),e(o.RK,n),e(o.tu,r),e(o.tD,r),e(o.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 eM=h("container"),eC=i.createContext(null),ek=p("useController","ControllerContext",eC),eN=S(o.Kv,function(e){var t;let{children:n,...a}=e,{carousel:u,animation:f,controller:h,on:p,styles:v,render:b}=a,{closeOnPullUp:w,closeOnPullDown:E,preventDefaultWheelX:x,preventDefaultWheelY:M}=h,[C,k]=i.useState(),N=Z(),I=X(),[P,L]=i.useState(r.NONE),R=i.useRef(0),S=i.useRef(0),D=i.useRef(1),{registerSensors:_,subscribeSensors:A}=ev(),{subscribe:F,publish:T}=O(),W=ed(),K=ed(),H=ed(),{containerRef:$,setContainerRef:Y,containerRect:U}=es(),B=em(function(e){let{preventDefaultWheelX:t,preventDefaultWheelY:n}=e,r=i.useRef(null),l=ef(e=>{let r=Math.abs(e.deltaX)>Math.abs(e.deltaY);(r&&t||!r&&n||e.ctrlKey)&&e.preventDefault()});return i.useCallback(e=>{var t;e?e.addEventListener("wheel",l,{passive:!1}):null==(t=r.current)||t.removeEventListener("wheel",l),r.current=e},[l])}({preventDefaultWheelX:x,preventDefaultWheelY:M}),Y),j=i.useRef(null),Q=em(j,void 0),{getOwnerDocument:J}=z(),q=ep(),G=e=>(q?-1:1)*("number"==typeof e?e:1),ee=ef(()=>{var e;return null==(e=$.current)?void 0:e.focus()}),et=ef(()=>a),en=ef(()=>N),er=i.useCallback(e=>T(o.zn,e),[T]),el=i.useCallback(e=>T(o.Nc,e),[T]),ei=i.useCallback(()=>T(o.C),[T]),eo=e=>!(u.finite&&(G(e)>0&&0===N.currentIndex||0>G(e)&&N.currentIndex===N.slides.length-1)),ea=e=>{var t;R.current=e,null==(t=$.current)||t.style.setProperty(d("swipe_offset"),"".concat(Math.round(e),"px"))},eu=e=>{var t,n;S.current=e,D.current=Math.min(Math.max(g(1-(E&&e>0?e:w&&e<0?-e:0)/60*.5,2),.5),1),null==(t=$.current)||t.style.setProperty(d("pull_offset"),"".concat(Math.round(e),"px")),null==(n=$.current)||n.style.setProperty(d("pull_opacity"),"".concat(D.current))},{prepareAnimation:eh}=ec(j,(e,t,n)=>{if(j.current&&U)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}}),eg=(e,t)=>{if(w||E){eu(e);let n=0;j.current&&(n=f.fade*(t?2:1),eh({rect:j.current.getBoundingClientRect(),opacity:D.current,duration:n})),H(()=>{eu(0),L(r.NONE)},n),L(r.ANIMATION),t||ei()}},{prepareAnimation:eb,isAnimationPlaying:ew}=ec(j,(e,t,n)=>{var r;if(j.current&&U&&(null==(r=N.animation)?void 0:r.duration)){let r=y(u.spacing),l=(r.percent?r.percent*U.width/100:r.pixel)||0;return{keyframes:[{transform:"translate(".concat(G(N.globalIndex-e.index)*(U.width+l)+e.rect.x-t.x+n.x,"px, 0)")},{transform:"translate(0, 0)"}],duration:N.animation.duration,easing:N.animation.easing}}}),eE=ef(e=>{var t,n;let l=e.offset||0,i=l?f.swipe:null!=(t=f.navigation)?t:f.swipe,a=l||ew()?f.easing.swipe:f.easing.navigation,{direction:u}=e,c=null!=(n=e.count)?n:1,s=r.ANIMATION,d=i*c;if(!u){let t=null==U?void 0:U.width,n=e.duration||0,r=t?i/t*Math.abs(l):i;0!==c?(n<r?d=d/r*Math.max(n,r/5):t&&(d=i/t*(t-Math.abs(l))),u=G(l)>0?o.zn:o.Nc):d=i/2}let h=0;u===o.zn?eo(G(1))?h=-c:(s=r.NONE,d=i):u===o.Nc&&(eo(G(-1))?h=c:(s=r.NONE,d=i)),K(()=>{ea(0),L(r.NONE)},d=Math.round(d)),j.current&&eb({rect:j.current.getBoundingClientRect(),index:N.globalIndex}),L(s),T(o.sI,{type:"swipe",increment:h,duration:d,easing:a})});i.useEffect(()=>{var e,t;(null==(e=N.animation)?void 0:e.increment)&&(null==(t=N.animation)?void 0:t.duration)&&W(()=>I({type:"swipe",increment:0}),N.animation.duration)},[N.animation,I,W]);let ey=[A,eo,(null==U?void 0:U.width)||0,f.swipe,()=>L(r.SWIPE),e=>ea(e),(e,t)=>eE({offset:e,duration:t,count:1}),e=>eE({offset:e,count:0})],ek=[()=>{E&&L(r.PULL)},e=>eu(e),e=>eg(e),e=>eg(e,!0)];!function(e,t,n,r,o,a,u,c,s,d,f,h,m,p,v){let{disableSwipeNavigation:g}=e,b=i.useRef(0),w=i.useRef([]),E=i.useRef(void 0),y=i.useRef(0),x=i.useRef(l.NONE),M=i.useCallback(e=>{E.current===e.pointerId&&(E.current=void 0,x.current=l.NONE);let t=w.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),C=i.useCallback(e=>{M(e),e.persist(),w.current.push(e)},[M]),k=ef(e=>{C(e)}),N=(e,t)=>f&&e>t||d&&e<-t,I=ef(e=>{if(w.current.find(t=>t.pointerId===e.pointerId)&&E.current===e.pointerId){let e=Date.now()-y.current,t=b.current;x.current===l.SWIPE?Math.abs(t)>.3*r||Math.abs(t)>5&&e<o?c(t,e):s(t):x.current===l.PULL&&(N(t,60)?p(t,e):v(t)),b.current=0,x.current=l.NONE}M(e)});ex(t,k,ef(e=>{let t=w.current.find(t=>t.pointerId===e.pointerId);if(t){let r=E.current===e.pointerId;if(0===e.buttons)return void(r&&0!==b.current?I(e):M(t));let i=e.clientX-t.clientX,o=e.clientY-t.clientY;if(void 0===E.current){let t=t=>{C(e),E.current=e.pointerId,y.current=Date.now(),x.current=t};Math.abs(i)>Math.abs(o)&&Math.abs(i)>30&&n(i)?g||(t(l.SWIPE),a()):Math.abs(o)>Math.abs(i)&&N(o,30)&&(t(l.PULL),h())}else r&&(x.current===l.SWIPE?(b.current=i,u(i)):x.current===l.PULL&&(b.current=o,m(o)))}}),I)}(h,...ey,w,E,...ek),function(e,t,n,l,a,u,c,s,d){let f=i.useRef(0),h=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:w,clearTimeout:E}=V(),y=i.useCallback(()=>{m.current&&(E(m.current),m.current=void 0)},[E]),x=i.useCallback(()=>{p.current&&(E(p.current),p.current=void 0)},[E]),M=ef(()=>{e!==r.SWIPE&&(f.current=0,b.current=0,y(),x())});i.useEffect(M,[e,M]);let C=ef(e=>{p.current=void 0,f.current===e&&d(f.current)}),k=ef(t=>{if(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))return;let i=e=>{v.current=e,E(g.current),g.current=e>0?w(()=>{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(h.current+=t.deltaX,y(),Math.abs(h.current)>30)h.current=0,i(0),b.current=Date.now(),u();else{let e=h.current;m.current=w(()=>{m.current=void 0,e===h.current&&(h.current=0)},a)}}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){i(t.deltaX),s(e,Date.now()-b.current);return}p.current=w(()=>C(e),2*a)}else i(t.deltaX)});i.useEffect(()=>t(o.j7,k),[t,k])}(P,...ey);let eN=ef(()=>{h.focus&&J().querySelector(".".concat(s(o.kJ)," .").concat(s(eM())))&&ee()});i.useEffect(eN,[eN]);let eI=ef(()=>{var e;null==(e=p.view)||e.call(p,{index:N.currentIndex})});i.useEffect(eI,[N.globalIndex,eI]),i.useEffect(()=>m(F(o.zn,e=>eE({direction:o.zn,...e})),F(o.Nc,e=>eE({direction:o.Nc,...e})),F(o.sI,e=>I(e))),[F,eE,I]);let eP=i.useMemo(()=>({prev:er,next:el,close:ei,focus:ee,slideRect:U?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)}}(U,u.padding):{width:0,height:0},containerRect:U||{width:0,height:0},subscribeSensors:A,containerRef:$,setCarouselRef:Q,toolbarWidth:C,setToolbarWidth:k}),[er,el,ei,ee,A,U,$,Q,C,k,u.padding]);return i.useImperativeHandle(h.ref,()=>({prev:er,next:el,close:ei,focus:ee,getLightboxProps:et,getLightboxState:en}),[er,el,ei,ee,et,en]),i.createElement("div",{ref:B,className:c(s(eM()),s(o.tC)),style:{...P===r.SWIPE?{[d("swipe_offset")]:"".concat(Math.round(R.current),"px")}:null,...P===r.PULL?{[d("pull_offset")]:"".concat(Math.round(S.current),"px"),[d("pull_opacity")]:"".concat(D.current)}:null,..."none"!==h.touchAction?{[d("controller_touch_action")]:h.touchAction}:null,...v.container},...h.aria?{role:"region","aria-live":"polite","aria-roledescription":"carousel"}:null,tabIndex:-1,..._},U&&i.createElement(eC.Provider,{value:eP},n,null==(t=b.controls)?void 0:t.call(b)))});function eI(e){return f(o.mY,e)}function eP(e){return f("slide",e)}function eL(e){var t,n,r,l;let a,{slide:u,offset:d}=e,f=i.useRef(null),{currentIndex:h}=Z(),{slideRect:m,close:p,focus:v}=ek(),{render:g,carousel:{imageFit:w,imageProps:E},on:{click:y}
1,controller:{closeOnBackdropClick:x},styles:{slide:M}}=H(),{getOwnerDocument:C}=z(),k=0!==d;return i.useEffect(()=>{var e;k&&(null==(e=f.current)?void 0:e.contains(C().activeElement))&&v()},[k,v,C]),i.createElement("div",{ref:f,className:c(s(eP()),!k&&s(eP("current")),s(o.tC)),...{inert:L?k:k?"":void 0},onClick:e=>{let t=f.current,n=e.target instanceof HTMLElement?e.target:void 0;x&&n&&t&&(n===t||Array.from(t.children).find(e=>e===n)&&n.classList.contains(s(o.pc)))&&p()},style:M,role:"region","aria-roledescription":"slide"},(!(a=null==(t=g.slide)?void 0:t.call(g,{slide:u,offset:d,rect:m}))&&b(u)&&(a=i.createElement(eE,{slide:u,offset:d,render:g,rect:m,imageFit:w,imageProps:E,onClick:k?void 0:()=>null==y?void 0:y({index:h})})),a?i.createElement(i.Fragment,null,null==(n=g.slideHeader)?void 0:n.call(g,{slide:u}),(null!=(r=g.slideContainer)?r:e=>{let{children:t}=e;return t})({slide:u,children:a}),null==(l=g.slideFooter)?void 0:l.call(g,{slide:u})):null))}function eR(){let e=H().styles.slide;return i.createElement("div",{className:s("slide"),style:e})}let eS=S(o.mY,function(e){let{carousel:t}=e,{slides:n,currentIndex:r,globalIndex:l}=Z(),{setCarouselRef:o}=ek(),a=y(t.spacing),u=y(t.padding),f=P(t,n,1),h=[];if(M(n))for(let e=r-f;e<=r+f;e+=1){let i=C(n,e),o=l-r+e,a=t.finite&&(e<0||e>n.length-1);h.push(a?{key:o}:{key:["".concat(o),N(i)].filter(Boolean).join("|"),offset:e-r,slide:i})}return i.createElement("div",{ref:o,className:c(s(eI()),h.length>0&&s(eI("with_slides"))),style:{["".concat(d(eI("slides_count")))]:h.length,["".concat(d(eI("spacing_px")))]:a.pixel||0,["".concat(d(eI("spacing_percent")))]:a.percent||0,["".concat(d(eI("padding_px")))]:u.pixel||0,["".concat(d(eI("padding_percent")))]:u.percent||0}},h.map(e=>{let{key:t,slide:n,offset:r}=e;return n?i.createElement(eL,{key:t,slide:n,offset:r}):i.createElement(eR,{key:t})}))});function eD(){let{carousel:e}=H(),{slides:t,currentIndex:n}=Z();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function e_(e){var t;let n=ep(),{publish:r}=O(),{animation:l}=H(),{prevDisabled:a,nextDisabled:u}=eD(),c=(null!=(t=l.navigation)?t:l.swipe)/2,s=eg(()=>r(o.zn),c),d=eg(()=>r(o.Nc),c),f=ef(e=>{switch(e.key){case o.or:r(o.C);break;case o.A9:(n?u:a)||(n?d:s)();break;case o.jn:(n?a:u)||(n?s:d)()}});i.useEffect(()=>e(o.uF,f),[e,f])}function eA(e){let{label:t,icon:n,renderIcon:r,action:l,onClick:o,disabled:a,style:u}=e;return i.createElement(q,{label:t,icon:n,renderIcon:r,className:s("navigation_".concat(l)),disabled:a,onClick:o,style:u,...function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=i.useRef(!1);return ea(()=>{t&&n.current&&(n.current=!1,e())},[t,e]),{onFocus:i.useCallback(()=>{n.current=!0},[]),onBlur:i.useCallback(()=>{n.current=!1},[])}}(ek().focus,a)})}let ez=S(o.Ky,function(e){let{render:{buttonPrev:t,buttonNext:n,iconPrev:r,iconNext:l},styles:a}=e,{prev:u,next:c,subscribeSensors:s}=ek(),{prevDisabled:d,nextDisabled:f}=eD();return e_(s),i.createElement(i.Fragment,null,t?t():i.createElement(eA,{label:"Previous",action:o.zn,icon:er,renderIcon:r,style:a.navigationPrev,disabled:d,onClick:u}),n?n():i.createElement(eA,{label:"Next",action:o.Nc,icon:el,renderIcon:l,style:a.navigationNext,disabled:f,onClick:c}))}),eF=s(o.HR),eT=s(o.vg);function eO(e,t,n){let r=window.getComputedStyle(e),l=n?"padding-left":"padding-right",i=n?r.paddingLeft:r.paddingRight,o=e.style.getPropertyValue(l);return e.style.setProperty(l,"".concat((E(i)||0)+t,"px")),()=>{o?e.style.setProperty(l,o):e.style.removeProperty(l)}}let eW=S(o.b6,function(e){let{noScroll:{disabled:t},children:n}=e,r=ep(),{getOwnerDocument:l,getOwnerWindow:o}=z();return i.useEffect(()=>{if(t)return()=>{};let e=[],n=o(),{body:i,documentElement:a}=l(),u=Math.round(n.innerWidth-a.clientWidth);if(u>0){e.push(eO(i,u,r));let t=i.getElementsByTagName("*");for(let l=0;l<t.length;l+=1){let i=t[l];"style"in i&&"fixed"===n.getComputedStyle(i).getPropertyValue("position")&&!i.classList.contains(eT)&&e.push(eO(i,u,r))}}return i.classList.add(eF),()=>
1{i.classList.remove(eF),e.forEach(e=>e())}},[r,t,l,o]),i.createElement(i.Fragment,null,n)});function eK(e,t,n){let r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}let eH=S(o.kJ,function(e){var t;let{children:n,animation:r,styles:l,className:u,on:h,portal:m,close:p}=e,[v,g]=i.useState(!1),[b,w]=i.useState(!1),E=i.useRef([]),y=i.useRef(null),{setTimeout:x}=V(),{subscribe:M}=O(),C=eu()?0:r.fade;i.useEffect(()=>(g(!0),()=>{g(!1),w(!1)}),[]);let k=ef(()=>{E.current.forEach(e=>e()),E.current=[]}),N=ef(()=>{var e;w(!1),k(),null==(e=h.exiting)||e.call(h),x(()=>{var e;null==(e=h.exited)||e.call(h),p()},C)});i.useEffect(()=>M(o.C,N),[M,N]);let I=ef(e=>{var t,n,r;e.scrollTop,w(!0),null==(t=h.entering)||t.call(h);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&&(E.current.push(eK(n,"inert","")),E.current.push(eK(n,"aria-hidden","true")))}E.current.push(()=>{var e,t;null==(t=null==(e=y.current)?void 0:e.focus)||t.call(e)}),x(()=>{var e;null==(e=h.entered)||e.call(h)},C)}),P=i.useCallback(e=>{e?I(e):k()},[I,k]);return v?(0,a.createPortal)(i.createElement(ey,{ref:P,className:c(u,s(f(o.kJ,void 0)),s(o.vg),b&&s((t="open",f(o.kJ,t)))),"aria-modal":!0,role:"dialog","aria-live":"polite","aria-roledescription":"lightbox",style:{...r.fade!==R.animation.fade?{[d("fade_animation_duration")]:"".concat(C,"ms")}:null,...r.easing.fade!==R.animation.easing.fade?{[d("fade_animation_timing_function")]:r.easing.fade}:null,...l.root},onFocus:e=>{y.current||(y.current=e.relatedTarget)}},n),m.root||document.body):null}),e$=S(o.OT,function(e){let{children:t}=e;return i.createElement(i.Fragment,null,t)}),eY=S(o.pq,function(e){let{toolbar:{buttons:t},render:{buttonClose:n,iconClose:r},styles:l}=e,{close:a,setToolbarWidth:u}=ek(),{setContainerRef:c,containerRect:d}=es();ea(()=>{u(null==d?void 0:d.width)},[u,null==d?void 0:d.width]);let h=()=>n?n():i.createElement(q,{key:o.C,label:"Close",icon:en,renderIcon:r,onClick:a});return i.createElement("div",{ref:c,style:l.toolbar,className:s(f(o.pq,void 0))},null==t?void 0:t.map(e=>e===o.C?h():e))});function eZ(e){let{carousel:t,animation:n,render:r,toolbar:l,controller:a,noScroll:u,on:c,plugins:s,slides:d,index:f,...h}=e,{animation:m,carousel:p,render:v,toolbar:g,controller:b,noScroll:w,on:y,slides:x,index:M,plugins:C,...k}=R,{config:N,augmentation:I}=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},i=(e,t)=>{if(""===e){r=[D(t,r)];return}r=_(r,e,e=>[D(t,[e])])},a=(e,t)=>{r=_(r,e,e=>[D(e.module,[D(t,e.children)])])},u=(e,t,n)=>{r=_(r,e,e=>{var r;return[D(e.module,[...n?[D(t)]:[],...null!=(r=e.children)?r:[],...n?[]:[D(t)]])]})},c=(e,t,n)=>{r=_(r,e,e=>[...n?[D(t)]:[],e,...n?[]:[D(t)]])},s=e=>{a(o.Kv,e)},d=(e,t)=>{r=_(r,e,e=>[D(t,e.children)])},f=e=>{r=_(r,e,e=>e.children)},h=e=>{n.push(e)};return t.forEach(e=>{e({contains:l,addParent:i,append:a,addChild:u,addSibling:c,addModule:s,replace:d,remove:f,augment:h})}),{config:r,augmentation:e=>n.reduce((e,t)=>t(e),e)}}([D(eH,[D(eW,[D(eN,[D(eS),D(eY),D(ez)])])])],s||C),P=I({animation:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{easing:n,...r}=e,{easing:l,...i}=t;return{easing:{...n,...l},...r,...i}}(m,n),carousel:{...p,...t},render:{...v,...r},toolbar:{...g,...l},controller:{...b,...a},noScroll:{...w,...u},on:{...y,...c},...k,...h});return P.open?i.createElement($,{...P},i.createElement(j,{slides:d||x,index:E(f||M)},i.createElement(J,null,i.createElement(W,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)))}(D(e$,N),P))))):null}},41804:(e,t,n)=>{"use strict";n.d(t,{A9:()=>T,AH:()=>f,Bv:()=>v,C:()=>I,CC:()=>b,EC:()=>g,HR:()=>E,I1:()=>m,Kv:()=>l,Ky:()=>i,Nc:()=>k,OT:()=>u,P9:()=>p,QQ:()=>d,Qe:()=>s,Qo:()=>h,RK:()=>L,Td:()=>H,Ue:()=>M,Uj:()=>W,V:()=>Y,b6:()=>o,e7:()=>$,j7:()=>z,jR:()=>K,jn:()=>O,kJ:()=>a,mY:()=>r,or:()=>F,pc:()=>x,pq:()=>c,qq:()=>P,s:()=>D,sI:()=>N,t$:()=>A,tC:()=>w,tD:()=>S,tu:()=>R,uF:()=>_,vg:()=>y,zn:()=>C});let r="carousel",l="controller",i="navigation",o="no-scroll",a="portal",u="root",c="toolbar",s="fullscreen",d="thumbnails",f="zoom",h="loading",m="error",p="complete",v="placeholder",g=e=>`active-slide-${e}`;g(h),g("playing"),g(m),g(p);let b="fullsize",w="flex_center",E="no_scroll",y="no_scroll_padding",x="slide_wrapper",M="slide_wrapper_interactive",C="prev",k="next",N="swipe",I="close",P="onPointerDown",L="onPointerMove",R="onPointerUp",S="onPointerLeave",D="onPointerCancel",_="onKeyDown",A="onKeyUp",z="onWheel",F="Escape",T="ArrowLeft",O="ArrowRight",W="button",K="icon",H="contain",$="cover",Y="Unknown action type"},58561:()=>{}}]);

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.