1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3952],{45092:function(e,t,n){"use strict";var r=n(71131),o=n(45929),i=n(75271),l=n(4814),c=n(94538),u=n(78808),a=n(28715),s=n(9846),d=n(52676);const f=["className","disableSpacing"],h=(0,u.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})((e=>{let{ownerState:t}=e;return(0,o.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!t.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})})),m=i.forwardRef((function(e,t){const n=(0,a.i)({props:e,name:"MuiDialogActions"}),{className:i,disableSpacing:u=!1}=n,m=(0,r.Z)(n,f),v=(0,o.Z)({},n,{disableSpacing:u}),p=(e=>{const{classes:t,disableSpacing:n}=e,r={root:["root",!n&&"spacing"]};return(0,c.Z)(r,s.d,t)})(v);return(0,d.jsx)(h,(0,o.Z)({className:(0,l.Z)(p.root,i),ownerState:v,ref:t},m))}));t.Z=m},23699:function(){},74423:function(){},75985:function(){},22263:function(e,t,n){"use strict";n.d(t,{$0:function(){return xe},Ac:function(){return f},CT:function(){return R},Dy:function(){return Se},Eq:function(){return m},Fy:function(){return v},Ju:function(){return N},KL:function(){return M},NM:function(){return g},Nc:function(){return u},OL:function(){return be},OV:function(){return K},P0:function(){return Ie},QB:function(){return b},RD:function(){return J},Su:function(){return Re},TX:function(){return de},U2:function(){return se},VI:function(){return E},Wy:function(){return c},Xl:function(){return s},ZP:function(){return ut},_7:function(){return Ee},aU:function(){return le},bQ:function(){return Te},bc:function(){return We},bt:function(){return ge},cO:function(){return d},d8:function(){return Ne},gJ:function(){return a},hI:function(){return V},hU:function(){return ue},iv:function(){return k},l6:function(){return z},mw:function(){return L},nq:function(){return F},oc:function(){return j},t$:function(){return Ye},tS:function(){return H},u9:function(){return we},wQ:function(){return P},x$:function(){return h},xA:function(){return W}});var r=n(75271),o=n(34387),i=n(30967);const l="yarl__";function c(...e){return e.filter(Boolean).join(" ")}function u(e){return`${l}${e}`}function a(e){return`--${l}${e}`}function s(e,t){return`${e}${t?`_${t}`:""}`}function d(e){return t=>s(e,t)}function f(e,t){var n;return null!==(n=null===e||void 0===e?void 0:e[t])&&void 0!==n?n:t}function h(e,t,n){return f(e,"{index} of {total}").replace(/\{index}/g,`${C(n,t.length)+1}`).replace(/\{total}/g,`${t.length}`)}function m(...e){return()=>{e.forEach((e=>{e()}))}}function v(e,t,n){return()=>{const o=r.useContext(n);if(!o)throw new Error(`${e} must be used within a ${t}.Provider`);return o}}function p(){return"undefined"!==typeof window}function g(e,t=0){const n=10**t;return Math.round((e+Number.EPSILON)*n)/n}function b(e){return void 0===e.type||"image"===e.type}function E(e,t){return e.imageFit===o.rO||e.imageFit!==o.j3&&t===o.rO}function w(e){return"string"===typeof e?Number.parseInt(e,10):e}function y(e){if("number"===typeof e)return{pixel:e};if("string"===typeof e){const t=w(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function x(e,t){const 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)}}function M(){return(p()?null===window||void 0===window?void 0:window.devicePixelRatio:void 0)||1}function C(e,t){return t>0?(e%t+t)%t:0}function N(e){return e.length>0}function R(e,t){return e[C(t,e.length)]}function S(e,t){return N(e)?R(e,t):void 0}function k(e){return b(e)?e.src:void 0}function P(e,t,n){if(!n)return e;const{buttons:o,...i}=e,l=o.findIndex((e=>e===t)),c=r.isValidElement(n)?r.cloneElement(n,{key:t},null):n;if(l>=0){const e=[...o];return e.splice(l,1,c),{buttons:e,...i}}return{buttons:[c,...o],...i}}function L(e,t,n=0){return Math.min(e.preload,Math.max(e.finite?t.length-1:Math.floor(t.length/2),n))}const I=Number(r.version.split(".")[0])>=19;function F(e){e.scrollTop}const D={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[o.t9]},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.j3,imageProps:{}},controller:{ref:null,focus:!0,aria:!1,touchAction:"none",closeOnPullUp:!1,closeOnPullDown:!1,closeOnBackdropClick:!1,closeOnEscape:!0,preventDefaultWheelX:!0,preventDefaultWheelY:!1,disableSwipeNavigation:!1},portal:{},noScroll:{disabled:!1},on:{},styles:{},className:""};function z(e,t){return{name:e,component:t}}function T(e,t){return{module:e,children:t}}function $(e,t,n){return e.module.name===t?n(e):e.children?[T(e.module,e.children.flatMap((e=>{var r;return null!==(r=$(e,t,n))&&void 0!==r?r:[]})))]:[e]}function Z(e,t,n){return e.flatMap((e=>{var r;return null!==(r=$(e,t,n))&&void 0!==r?r:[]}))}const O=r.createContext(null),W=v("useA11yContext","A11yContext",O);function A({children:e}){const[t,n]=r.useState(!1),[o,i]=r.useState(!1),l=r.useMemo((()=>({focusWithin:t,trackFocusWithin:(e,t)=>{const r=r=>o=>{var i;o.currentTarget.contains(o.relatedTarget)||n(r),null===(i=r?e:t)||void 0===i||i(o)};return{onFocus:r(!0),onBlur:r(!1)}},autoPlaying:o,setAutoPlaying:i})),[t,o]);return r.createElement(O.Provider,{value:l},e)}const _=r.createContext(null),H=v("useDocument","DocumentContext",_);function X({nodeRef:e,children:t}){const n=r.useMemo((()=>{const t=t=>{var n;return(null===(n=t||e.current)||void 0===n?void 0:n.ownerDocument)||document};return{getOwnerDocument:t,getOwnerWindow:e=>{var n;return(null===(n=t(e))||void 0===n?void 0:n.defaultView)||window}}}),[e]);return r.createElement(_.Provider,{value:n},t)}const U=r.createContext(null),V=v("useEvents","EventsContext",U);function B({children:e}){const[t]=r.useState({});r.useEffect((()=>()=>{Object.keys(t).forEach((e=>delete t[e]))}),[t]);const n=r.useMemo((()=>{const e=(e,n)=>{var r;null===(r=t[e])||void 0===r||r.splice(0,t[e].length,...t[e].filter((e=>e!==n)))};return{publish:(...[e,n])=>{var r;null===(r=t[e])||void 0===r||r.forEach((e=>e(n)))},subscribe:(n,r)=>(t[n]||(t[n]=[]),t[n].push(r),()=>e(n,r)),unsubscribe:e}}),[t]);return r.createElement(U.Provider,{value:n},e)}const Y=r.createContext(null),J=v("useLightboxProps","LightboxPropsContext",Y);function K({children:e,...t}){return r.createElement(Y.Provider,{value:t},e)}const q=r.createContext(null),j=v("useLightboxState","LightboxStateContext",q),Q=r.createContext(null),G=v("useLightboxDispatch","LightboxDispatchContext",Q);function ee(e,t){switch(t.type){case"swipe":{const{slides:n}=e,r=(null===t||void 0===t?void 0:t.increment)||0,o=e.globalIndex+r,i=C(o,n.length);return{slides:n,currentIndex:i,globalIndex:o,currentSlide:S(n,i),animation:r||void 0!==t.duration?{increment:r,duration:t.duration,easing:t.easing}:void 0}}case"update":return t.slides!==e.slides||t.index!==e.currentIndex?{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:S(t.slides,t.index)}:e;default:throw new Error(o.c3)}}function te({slides:e,index:t,children:n}){const[o,i]=r.useReducer(ee,{slides:e,currentIndex:t,globalIndex:t,currentSlide:S(e,t)}),[l,c]=r.useState(e),[u,a]=r.useState(t);e===l&&t===u||(c(e),a(t),i({type:"update",slides:e,index:t}));const s=r.useMemo((()=>({...o,state:o,dispatch:i})),[o,i]);return r.createElement(Q.Provider,{value:i},r.createElement(q.Provider,{value:s},n))}const ne=r.createContext(null),re=v("useRTLContext","RTLContext",ne);function oe({isRTL:e,children:t}){const n=r.useMemo((()=>({isRTL:e})),[e]);return r.createElement(ne.Provider,{value:n},t)}const ie=r.createContext(null),le=v("useTimeouts","TimeoutsContext",ie);function ce({children:e}){const[t]=r.useState([]);r.useEffect((()=>()=>{t.forEach((e=>window.clearTimeout(e))),t.splice(0,t.length)}),[t]);const n=r.useMemo((()=>{const e=e=>{t.splice(0,t.length,...t.filter((t=>t!==e)))};return{setTimeout:(n,r)=>{const o=window.setTimeout((()=>{e(o),n()}),r);return t.push(o),o},clearTimeout:t=>{void 0!==t&&(e(t),window.clearTimeout(t))}}}),[t]);return r.createElement(ie.Provider,{value:n},e)}const ue=r.forwardRef((function({label:e,className:t,icon:n,renderIcon:i,onClick:l,style:a,...s},d){const{styles:h,labels:m}=J(),v=f(m,e);return r.createElement("button",{ref:d,type:"button",title:v,"aria-label":v,className:c(u(o.bg),t),onClick:l,style:{...a,...h.button},...s},i?i():r.createElement(n,{className:u(o.vg),style:h.icon}))}));function ae(e,t){const n=e=>r.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 se(e,t){return ae(e,r.createElement("g",{fill:"currentColor"},r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function de(e,t){return ae(e,r.createElement(r.Fragment,null,r.createElement("defs",null,r.createElement("mask",{id:"strike"},r.createElement("path",{d:"M0 0h24v24H0z",fill:"white"}),r.createElement("path",{d:"M0 0L24 24",stroke:"black",strokeWidth:4}))),r.createElement("path",{d:"M0.70707 2.121320L21.878680 23.292883",stroke:"currentColor",strokeWidth:2}),r.createElement("g",{fill:"currentColor",mask:"url(#strike)"},r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t)))}const fe=se("Close",r.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"})),he=se("Previous",r.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),me=se("Next",r.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),ve=se("Loading",r.createElement(r.Fragment,null,Array.from({length:8}).map(((e,t,n)=>r.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)`}))))),pe=se("Error",r.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"})),ge=p()?r.useLayoutEffect:r.useEffect;function be(){const[e,t]=r.useState(!1);return r.useEffect((()=>{var e,n;const r=null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-reduced-motion: reduce)");t(null===r||void 0===r?void 0:r.matches);const o=e=>t(e.matches);return null===(n=null===r||void 0===r?void 0:r.addEventListener)||void 0===n||n.call(r,"change",o),()=>{var e;return null===(e=null===r||void 0===r?void 0:r.removeEventListener)||void 0===e?void 0:e.call(r,"change",o)}}),[]),e}function Ee(e,t){const n=r.useRef(void 0),o=r.useRef(void 0),i=be();return ge((()=>{var r,l,c;if(e.current&&void 0!==n.current&&!i){const{keyframes:i,duration:a,easing:s,onfinish:d}=t(n.current,e.current.getBoundingClientRect(),function(e){let t=0,n=0,r=0;const o=window.getComputedStyle(e).transform.match(/matrix.*\((.+)\)/);if(o){const e=o[1].split(",").map(w);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(i&&a){null===(r=o.current)||void 0===r||r.cancel(),o.current=void 0;try{o.current=null===(c=(l=e.current).animate)||void 0===c?void 0:c.call(l,i,{duration:a,easing:s})}catch(u){console.error(u)}o.current&&(o.current.onfinish=()=>{o.current=void 0,null===d||void 0===d||d()})}}n.current=void 0})),{prepareAnimation:e=>{n.current=e},isAnimationPlaying:()=>{var e;return"running"===(null===(e=o.current)||void 0===e?void 0:e.playState)}}}function we(){const e=r.useRef(null),t=r.useRef(void 0),[n,o]=r.useState();return{setContainerRef:r.useCallback((n=>{e.current=n,t.current&&(t.current.disconnect(),t.current=void 0);const r=()=>{if(n){const e=window.getComputedStyle(n),t=e=>parseFloat(e)||0;o({width:Math.round(n.clientWidth-t(e.paddingLeft)-t(e.paddingRight)),height:Math.round(n.clientHeight-t(e.paddingTop)-t(e.paddingBottom))})}else o(void 0)};
1r(),n&&"undefined"!==typeof ResizeObserver&&(t.current=new ResizeObserver(r),t.current.observe(n))}),[]),containerRef:e,containerRect:n}}function ye(){const e=r.useRef(void 0),{setTimeout:t,clearTimeout:n}=le();return r.useCallback(((r,o)=>{n(e.current),e.current=t(r,o>0?o:0)}),[t,n])}function xe(e){const t=r.useRef(e);return ge((()=>{t.current=e})),r.useCallback(((...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}function Me(e,t){"function"===typeof e?e(t):e&&(e.current=t)}function Ce(e,t){return r.useMemo((()=>null==e&&null==t?null:n=>{Me(e,n),Me(t,n)}),[e,t])}function Ne(e,t=!1){const n=r.useRef(!1);ge((()=>{t&&n.current&&(n.current=!1,e())}),[t,e]);return{onFocus:r.useCallback((()=>{n.current=!0}),[]),onBlur:r.useCallback((()=>{n.current=!1}),[])}}function Re(){return re().isRTL}function Se(){const[e]=r.useState({}),t=r.useCallback(((t,n)=>{var r;null===(r=e[t])||void 0===r||r.forEach((e=>{n.isPropagationStopped()||e(n)}))}),[e]);return{registerSensors:r.useMemo((()=>({onPointerDown:e=>t(o.NZ,e),onPointerMove:e=>t(o.N4,e),onPointerUp:e=>t(o.S2,e),onPointerLeave:e=>t(o.pE,e),onPointerCancel:e=>t(o.Vt,e),onKeyDown:e=>t(o.ds,e),onKeyUp:e=>t(o.Bm,e),onWheel:e=>t(o.yq,e)})),[t]),subscribeSensors:r.useCallback(((t,n)=>(e[t]||(e[t]=[]),e[t].unshift(n),()=>{const r=e[t];r&&r.splice(0,r.length,...r.filter((e=>e!==n)))})),[e])}}function ke(e,t){const n=r.useRef(0),o=ye(),i=xe(((...t)=>{n.current=Date.now(),e(t)}));return r.useCallback(((...e)=>{o((()=>{i(e)}),t-(Date.now()-n.current))}),[t,i,o])}const Pe=d("slide"),Le=d("slide_image");function Ie({slide:e,offset:t,render:n,rect:i,imageFit:l,imageProps:a,onClick:s,onLoad:d,onError:f,style:h}){var m,v,g,b,w,y,x,M;const[C,N]=r.useState(o.Xe),{publish:R}=V(),{setTimeout:S}=le(),k=r.useRef(null);r.useEffect((()=>{0===t&&R((0,o.J1)(C))}),[t,C,R]);const P=xe((e=>{("decode"in e?e.decode():Promise.resolve()).catch((()=>{})).then((()=>{e.parentNode&&(N(o.Zv),S((()=>{null===d||void 0===d||d(e)}),0))}))})),L=r.useCallback((e=>{k.current=e,(null===e||void 0===e?void 0:e.complete)&&P(e)}),[P]),I=r.useCallback((e=>{P(e.currentTarget)}),[P]),F=xe((()=>{N(o.fS),null===f||void 0===f||f()})),D=E(e,l),z=(e,t)=>Number.isFinite(e)?e:t,T=z(Math.max(...(null!==(v=null===(m=e.srcSet)||void 0===m?void 0:m.map((e=>e.width)))&&void 0!==v?v:[]).concat(e.width?[e.width]:[]).filter(Boolean)),(null===(g=k.current)||void 0===g?void 0:g.naturalWidth)||0),$=z(Math.max(...(null!==(w=null===(b=e.srcSet)||void 0===b?void 0:b.map((e=>e.height)))&&void 0!==w?w:[]).concat(e.height?[e.height]:[]).filter(Boolean)),(null===(y=k.current)||void 0===y?void 0:y.naturalHeight)||0),Z=T&&$?{maxWidth:`min(${T}px, 100%)`,maxHeight:`min(${$}px, 100%)`}:{maxWidth:"100%",maxHeight:"100%"},O=null===(x=e.srcSet)||void 0===x?void 0:x.slice().sort(((e,t)=>e.width-t.width)).map((e=>`${e.src}
1 ${e.width}w`)).join(", "),W=O&&i&&p()?`${Math.round(Math.min(i&&!D&&e.width&&e.height?i.height/e.height*e.width:Number.MAX_VALUE,i.width))}px`:void 0,{style:A,className:_,...H}=("function"===typeof a?a(e):a)||{};return r.createElement(r.Fragment,null,r.createElement("img",{ref:L,onLoad:I,onError:F,onClick:s,draggable:!1,className:c(u(Le()),D&&u(Le("cover")),C!==o.Zv&&u(Le("loading")),_),style:{...Z,...h,...A},...H,alt:null!==(M=e.alt)&&void 0!==M?M:"",sizes:W,srcSet:O,src:e.src}),C!==o.Zv&&r.createElement("div",{className:u(Pe(o.$L))},C===o.Xe&&((null===n||void 0===n?void 0:n.iconLoading)?n.iconLoading():r.createElement(ve,{className:c(u(o.vg),u(Pe(o.Xe)))})),C===o.fS&&((null===n||void 0===n?void 0:n.iconError)?n.iconError():r.createElement(pe,{className:c(u(o.vg),u(Pe(o.fS)))}))))}const Fe=r.forwardRef((function({className:e,children:t,onFocus:n,onBlur:o,...i},l){const a=r.useRef(null),[s,d]=r.useState(!1),{trackFocusWithin:f}=W(),h=xe((()=>{if(a.current){const e="rtl"===window.getComputedStyle(a.current).direction;e!==s&&d(e)}}));return r.useEffect(h),r.createElement(X,{nodeRef:a},r.createElement(oe,{isRTL:s},r.createElement("div",{ref:Ce(l,a),className:c(u("root"),e),...f(n,o),...i},t)))}));var De,ze;function Te(e,t,n,i,l){r.useEffect((()=>l?()=>{}:m(e(o.NZ,t),e(o.N4,n),e(o.S2,i),e(o.pE,i),e(o.Vt,i))),[e,t,n,i,l])}!function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL=2]="PULL",e[e.ANIMATION=3]="ANIMATION"}(De||(De={})),function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL=2]="PULL"}(ze||(ze={}));const $e=30;const Ze=d("container"),Oe=r.createContext(null),We=v("useController","ControllerContext",Oe);const Ae=z(o.l4,(function({children:e,...t}){var n;const{carousel:i,animation:l,controller:s,on:d,styles:f,render:h}=t,{closeOnPullUp:v,closeOnPullDown:p,preventDefaultWheelX:b,preventDefaultWheelY:E}=s,[w,M]=r.useState(),C=j(),N=G(),[R,S]=r.useState(De.NONE),k=r.useRef(0),P=r.useRef(0),L=r.useRef(1),{registerSensors:I,subscribeSensors:F}=Se(),{subscribe:D,publish:z}=V(),T=ye(),$=ye(),Z=ye(),{containerRef:O,setContainerRef:W,containerRect:A}=we(),_=Ce(function({preventDefaultWheelX:e,preventDefaultWheelY:t}){const n=r.useRef(null),o=xe((n=>{const r=Math.abs(n.deltaX)>Math.abs(n.deltaY);(r&&e||!r&&t||n.ctrlKey)&&n.preventDefault()}));return r.useCallback((e=>{var t;e?e.addEventListener("wheel",o,{passive:!1}):null===(t=n.current)||void 0===t||t.removeEventListener("wheel",o),n.current=e}),[o])}({preventDefaultWheelX:b,preventDefaultWheelY:E}),W),X=r.useRef(null),U=Ce(X,void 0),{getOwnerDocument:B}=H(),Y=Re(),J=e=>(Y?-1:1)*("number"===typeof e?e:1),K=xe((()=>{var e;return null===(e=O.current)||void 0===e?void 0:e.focus()})),q=xe((()=>t)),Q=xe((()=>C)),ee=r.useCallback((e=>z(o.KN,e)),[z]),te=r.useCallback((e=>z(o.Eb,e)),[z]),ne=r.useCallback((()=>z(o.t9)),[z]),re=e=>!(i.finite&&(J(e)>0&&0===C.currentIndex||J(e)<0&&C.currentIndex===C.slides.length-1)),oe=e=>{var t;k.current=e,null===(t=O.current)||void 0===t||t.style.setProperty(a("swipe_offset"),`${Math.round(e)}px`)},ie=e=>{var t,n;P.current=e,L.current=(()=>{const t=p&&e>0?e:v&&e<0?-e:0;return Math.min(Math.max(g(1-t/60*.5,2),.5),1)})(),null===(t=O.current)||void 0===t||t.style.setProperty(a("pull_offset"),`${Math.round(e)}px`),null===(n=O.current)||void 0===n||n.style.setProperty(a("pull_opacity"),`${L.current}`)},{prepareAnimation:ce}=Ee(X,((e,t,n)=>{if(X.current&&A)return{keyframes:[{transform:`translate(0, ${e.rect.y-t.y+n.y}px)`,opacity:e.opacity},{transform:"translate(0, 0)",opacity:1}],duration:e.duration,easing:l.easing.fade}})),ue=(e,t)=>{if(v||p){ie(e);let n=0;X.current&&(n=l.fade*(t?2:1),ce({rect:X.current.getBoundingClientRect(),opacity:L.current,duration:n})),Z((()=>{ie(0),S(De.NONE)}),n),S(De.ANIMATION),t||ne()}},{prepareAnimation:ae,isAnimationPlaying:se}=Ee(X,((e,t,n)=>{var r;if(X.current&&A&&(null===(r=C.animation)||void 0===r?void 0:r.duration)){const r=y(i.spacing),o=(r.percent?r.percent*A.width/100:r.pixel)||0;return{keyframes:[{transform:`translate(${J(C.globalIndex-e.index)*(A.width+o)+e.rect.x-t.x+n.x}px, 0)`},{transform:"translate(0, 0)"}],duration:C.animation.duration,easing:C.animation.easing}}})),de=xe((e=>{var t,n;const r=e.offset||0,i=r?l.swipe:null!==(t=l.navigation)&&void 0!==t?t:l.swipe,c=r||se()?l.easing.swipe:l.easing.navigation;let{direction:u}=e;const a=null!==(n=e.count)&&void 0!==n?n:1;let s=De.ANIMATION,d=i*a;if(!u){const t=null===A||void 0===A?void 0:A.width,n=e.duration||0,l=t?i/t*Math.abs(r):i;0!==a?(n<l?d=d/l*Math.max(n,l/5):t&&(d=i/t*(t-Math.abs(r))),u=J(r)>0?o.KN:o.Eb):d=i/2}let f=0;u===o.KN?re(J(1))?f=-a:(s=De.NONE,d=i):u===o.Eb&&(re(J(-1))?f=a:(s=De.NONE,d=i)),d=Math.round(d),$((()=>{oe(0),S(De.NONE)}),d),X.current&&ae({rect:X.current.getBoundingClientRect(),index:C.globalIndex}),S(s),z(o.Tn,{type:"swipe",increment:f,duration:d,easing:c})}));r.useEffect((()=>{var e,t;(null===(e=C.animation)||void 0===e?void 0:e.increment)&&(null===(t=C.animation)||void 0===t?void 0:t.duration)&&T((()=>N({type:"swipe",increment:0})),C.animation.duration)}),[C.animation,N,T]);const fe=[F,re,(null===A||void 0===A?void 0:A.width)||0,l.swipe,()=>S(De.SWIPE),e=>oe(e),(e,t)=>de({offset:e,duration:t,count:1}),e=>de({offset:e,count:0}
1)],he=[()=>{p&&S(De.PULL)},e=>ie(e),e=>ue(e),e=>ue(e,!0)];!function({disableSwipeNavigation:e,closeOnBackdropClick:t},n,i,l,c,a,s,d,f,h,m,v,p,g,b,E){const w=r.useRef(0),y=r.useRef([]),x=r.useRef(void 0),M=r.useRef(0),C=r.useRef(ze.NONE),N=r.useCallback((e=>{x.current===e.pointerId&&(x.current=void 0,C.current=ze.NONE);const t=y.current;t.splice(0,t.length,...t.filter((t=>t.pointerId!==e.pointerId)))}),[]),R=r.useCallback((e=>{N(e),e.persist(),y.current.push(e)}),[N]),S=r.useCallback((e=>y.current.find((({pointerId:t})=>e.pointerId===t))),[]),k=xe((e=>{R(e)})),P=(e,t)=>m&&e>t||h&&e<-t,L=xe((e=>{const n=S(e);if(n)if(x.current===e.pointerId){const e=Date.now()-M.current,t=w.current;C.current===ze.SWIPE?Math.abs(t)>.3*l||Math.abs(t)>5&&e<c?d(t,e):f(t):C.current===ze.PULL&&(P(t,2*$e)?g(t,e):b(t)),w.current=0,C.current=ze.NONE}else{const{target:r}=e;t&&r instanceof HTMLElement&&r===n.target&&(r.classList.contains(u(o.hD))||r.classList.contains(u(o.af)))&&E()}N(e)}));Te(n,k,xe((t=>{const n=S(t);if(n){const r=x.current===t.pointerId;if(0===t.buttons)return void(r&&0!==w.current?L(t):N(n));const o=t.clientX-n.clientX,l=t.clientY-n.clientY;if(void 0===x.current){const n=e=>{R(t),x.current=t.pointerId,M.current=Date.now(),C.current=e};Math.abs(o)>Math.abs(l)&&Math.abs(o)>$e&&i(o)?e||(n(ze.SWIPE),a()):Math.abs(l)>Math.abs(o)&&P(l,$e)&&(n(ze.PULL),v())}else r&&(C.current===ze.SWIPE?(w.current=o,s(o)):C.current===ze.PULL&&(w.current=l,p(l)))}})),L)}(s,...fe,v,p,...he,ne),function(e,t,n,i,l,c,u,a,s){const d=r.useRef(0),f=r.useRef(0),h=r.useRef(void 0),m=r.useRef(void 0),v=r.useRef(0),p=r.useRef(void 0),g=r.useRef(0),{setTimeout:b,clearTimeout:E}=le(),w=r.useCallback((()=>{h.current&&(E(h.current),h.current=void 0)}),[E]),y=r.useCallback((()=>{m.current&&(E(m.current),m.current=void 0)}),[E]),x=xe((()=>{e!==De.SWIPE&&(d.current=0,g.current=0,w(),y())}));r.useEffect(x,[e,x]);const M=xe((e=>{m.current=void 0,d.current===e&&s(d.current)})),C=xe((t=>{if(t.ctrlKey)return;if(Math.abs(t.deltaY)>Math.abs(t.deltaX))return;const r=e=>{v.current=e,E(p.current),p.current=e>0?b((()=>{v.current=0,p.current=void 0}),300):void 0};if(e===De.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(v.current))return void r(t.deltaX);if(!n(-t.deltaX))return;if(f.current+=t.deltaX,w(),Math.abs(f.current)>30)f.current=0,r(0),g.current=Date.now(),c();else{const e=f.current;h.current=b((()=>{h.current=void 0,e===f.current&&(f.current=0)}),l)}}else if(e===De.SWIPE){let e=d.current-t.deltaX;if(e=Math.min(Math.abs(e),i)*Math.sign(e),d.current=e,u(e),y(),Math.abs(e)>.2*i)return r(t.deltaX),void a(e,Date.now()-g.current);m.current=b((()=>M(e)),2*l)}else r(t.deltaX)}));r.useEffect((()=>t(o.yq,C)),[t,C])}(R,...fe);const me=xe((()=>{s.focus&&B().querySelector(`.${u(o.SA)} .${u(Ze())}`)&&K()}));r.useEffect(me,[me]);const ve=xe((()=>{var e;null===(e=d.view)||void 0===e||e.call(d,{index:C.currentIndex})}));r.useEffect(ve,[C.globalIndex,ve]),r.useEffect((()=>m(D(o.KN,(e=>de({direction:o.KN,...e}))),D(o.Eb,(e=>de({direction:o.Eb,...e}))),D(o.Tn,(e=>N(e))))),[D,de,N]);const pe=r.useMemo((()=>({prev:ee,next:te,close:ne,focus:K,slideRect:A?x(A,i.padding):{width:0,height:0},containerRect:A||{width:0,height:0},subscribeSensors:F,containerRef:O,setCarouselRef:U,toolbarWidth:w,setToolbarWidth:M})),[ee,te,ne,K,F,A,O,U,w,M,i.padding]);return r.useImperativeHandle(s.ref,(()=>({prev:ee,next:te,close:ne,focus:K,getLightboxProps:q,getLightboxState:Q})),[ee,te,ne,K,q,Q]),r.createElement("div",{ref:_,className:c(u(Ze()),u(o.aN)),style:{...R===De.SWIPE?{[a("swipe_offset")]:`${Math.round(k.current)}px`}:null,...R===De.PULL?{[a("pull_offset")]:`${Math.round(P.current)}px`,[a("pull_opacity")]:`${L.current}`}:null,..."none"!==s.touchAction?{[a("controller_touch_action")]:s.touchAction}:null,...f.container},tabIndex:-1,...I},A&&r.createElement(Oe.Provider,{value:pe},e,null===(n=h.controls)||void 0===n?void 0:n.call(h)))}));function _e(e){return s(o.k0,e)}function He(e){return s(o.hD,e)}function Xe({slide:e,offset:t}){const n=r.useRef(null),{currentIndex:i,slides:l}=j(),{slideRect:a,focus:s}=We(),{render:d,carousel:{imageFit:m,imageProps:v},on:{click:p},styles:{slide:g},labels:E}=J(),{getOwnerDocument:w}=H(),y=0!==t;r.useEffect((()=>{var e;y&&(null===(e=n.current)||void 0===e?void 0:e.contains(w().activeElement))&&s()}),[y,s,w]);return r.createElement("div",{ref:n,className:c(u(He()),!y&&u(He("current")),u(o.aN)),...(x=y,{inert:I?x:x?"":void 0}),style:g,role:"group","aria-roledescription":f(E,"Slide"),"aria-label":h(E,l,i+t)},(()=>{var n,o,l,c;let u=null===(n=d.slide)||void 0===n?void 0:n.call(d,{slide:e,offset:t,rect:a});return!u&&b(e)&&(u=r.createElement(Ie,{slide:e,offset:t,render:d,rect:a,imageFit:m,imageProps:v,onClick:y?void 0:()=>null===p||void 0===p?void 0:p({index:i})})),u?r.createElement(r.Fragment,null,null===(o=d.slideHeader)||void 0===o?void 0:o.call(d,{slide:e}),(null!==(l=d.slideContainer)&&void 0!==l?l:({children:e})=>e)({slide:e,children:u}
1),null===(c=d.slideFooter)||void 0===c?void 0:c.call(d,{slide:e})):null})());var x}function Ue(){const e=J().styles.slide;return r.createElement("div",{className:u(o.hD),style:e})}const Ve=z(o.k0,(function({carousel:e,labels:t}){const{slides:n,currentIndex:o,globalIndex:i}=j(),{setCarouselRef:l}=We(),{autoPlaying:s,focusWithin:d}=W(),h=y(e.spacing),m=y(e.padding),v=L(e,n,1),p=[];if(N(n))for(let r=o-v;r<=o+v;r+=1){const t=R(n,r),l=i-o+r,c=e.finite&&(r<0||r>n.length-1);p.push(c?{key:l}:{key:[`${l}`,k(t)].filter(Boolean).join("|"),offset:r-o,slide:t})}return r.createElement("div",{ref:l,className:c(u(_e()),p.length>0&&u(_e("with_slides"))),style:{[`${a(_e("slides_count"))}`]:p.length,[`${a(_e("spacing_px"))}`]:h.pixel||0,[`${a(_e("spacing_percent"))}`]:h.percent||0,[`${a(_e("padding_px"))}`]:m.pixel||0,[`${a(_e("padding_percent"))}`]:m.percent||0},role:"region","aria-live":s&&!d?"off":"polite","aria-roledescription":f(t,"Carousel"),"aria-label":f(t,"Photo gallery")},p.map((({key:e,slide:t,offset:n})=>t?r.createElement(Xe,{key:e,slide:t,offset:n}):r.createElement(Ue,{key:e}))))}));function Be(){const{carousel:e}=J(),{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 Ye(e){var t;const n=Re(),{publish:i}=V(),{animation:l,controller:c}=J(),{prevDisabled:u,nextDisabled:a}=Be(),s=(null!==(t=l.navigation)&&void 0!==t?t:l.swipe)/2,d=ke((()=>i(o.KN)),s),f=ke((()=>i(o.Eb)),s),h=xe((e=>{switch(e.key){case o.PU:if(!c.closeOnEscape)return;i(o.t9);break;case o.Sl:(n?a:u)||(n?f:d)();break;case o.NH:(n?u:a)||(n?d:f)();break;default:return}e.stopPropagation()}));r.useEffect((()=>e(o.ds,h)),[e,h])}function Je({label:e,icon:t,renderIcon:n,action:o,onClick:i,disabled:l,style:c}){return r.createElement(ue,{label:e,icon:t,renderIcon:n,className:u(`navigation_${o}`),disabled:l,onClick:i,style:c,...Ne(We().focus,l)})}const Ke=z(o.Op,(function({render:{buttonPrev:e,buttonNext:t,iconPrev:n,iconNext:i},styles:l}){const{prev:c,next:u,subscribeSensors:a}=We(),{prevDisabled:s,nextDisabled:d}=Be();return Ye(a),r.createElement(r.Fragment,null,e?e():r.createElement(Je,{label:"Previous",action:o.KN,icon:he,renderIcon:n,style:l.navigationPrev,disabled:s,onClick:c}),t?t():r.createElement(Je,{label:"Next",action:o.Eb,icon:me,renderIcon:i,style:l.navigationNext,disabled:d,onClick:u}))})),qe=u(o.Tf),je=u(o.M9);function Qe(e){return"style"in e}function Ge(e,t,n){const r=window.getComputedStyle(e),o=n?"padding-left":"padding-right",i=n?r.paddingLeft:r.paddingRight,l=e.style.getPropertyValue(o);return e.style.setProperty(o,`${(w(i)||0)+t}px`),()=>{l?e.style.setProperty(o,l):e.style.removeProperty(o)}}const et=z(o.HE,(function({noScroll:{disabled:e},children:t}){const n=Re(),{getOwnerDocument:o,getOwnerWindow:i}=H();return r.useEffect((()=>{if(e)return()=>{};const t=[],r=i(),{body:l,documentElement:c}=o(),u=Math.round(r.innerWidth-c.clientWidth);if(u>0){t.push(Ge(l,u,n));const e=l.getElementsByTagName("*");for(let o=0;o<e.length;o+=1){const i=e[o];Qe(i)&&"fixed"===r.getComputedStyle(i).getPropertyValue("position")&&!i.classList.contains(je)&&t.push(Ge(i,u,n))}}return l.classList.add(qe),()=>{l.classList.remove(qe),t.forEach((e=>e()))}}),[n,e,o,i]),r.createElement(r.Fragment,null,t)}));function tt(e){return s(o.SA,e)}function nt(e,t,n){const r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}const rt=z(o.SA,(function({portal:{root:e,container:{className:t,style:n,...l}={}},animation:s,styles:d,className:h,on:m,close:v,labels:p,children:g}){const[b,E]=r.useState(!1),[w,y]=r.useState(!1),x=r.useRef([]),M=r.useRef(null),{setTimeout:C}=le(),{subscribe:N}=V(),R=be()?0:s.fade;r.useEffect((()=>(E(!0),()=>{E(!1),y(!1)})),[]);const S=xe((()=>{x.current.forEach((e=>e())),x.current=[]})),k=xe((()=>{var e;y(!1),S(),null===(e=m.exiting)||void 0===e||e.call(m),C((()=>{var e;null===(e=m.exited)||void 0===e||e.call(m),v()}),R)}));r.useEffect((()=>N(o.t9,k)),[N,k]);const P=xe((e=>{var t,n,r;F(e),y(!0),null===(t=m.entering)||void 0===t||t.call(m);const o=null!==(r=null===(n=e.parentNode)||void 0===n?void 0:n.children)&&void 0!==r?r:[];for(let i=0;i<o.length;i+=1){const t=o[i];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(t.tagName)&&t!==e&&(x.current.push(nt(t,"inert","")),x.current.push(nt(t,"aria-hidden","true")))}x.current.push((()=>{var e,t;null===(t=null===(e=M.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)})),C((()=>{var e;null===(e=m.entered)||void 0===e||e.call(m)}),R)})),L=r.useCallback((e=>{e?P(e):S()}),[P,S]);return b?(0,i.createPortal)(r.createElement(Fe,{ref:L,className:c(h,t,u(tt()),u(o.M9),w&&u(tt("open"))),"aria-modal":!0,role:"dialog","aria-label":f(p,"Lightbox"),style:{...s.fade!==D.animation.fade?{[a("fade_animation_duration")]:`${R}ms`}:null,...s.easing.fade!==D.animation.easing.fade?{[a("fade_animation_timing_function")]:s.easing.fade}:null,...d.root,...n},onFocus:e=>{M.current||(M.current=e.relatedTarget)},...l},g),("function"===typeof e?e():e)||document.body):null}));const ot=z(o.lT,(function({children:e}){return r.createElement(r.Fragment,null,e)}));const it=z(o.hb,(function({toolbar:{buttons:e},render:{buttonClose:t,iconClose:n},styles:i}){const{close:l,setToolbarWidth:c}=We(),{setContainerRef:a,containerRect:d}=we();return ge((()=>{c(null===d||void 0===d?void 0:d.width)}),[c,null===d||void 0===d?void 0:d.width]),r.createElement("div",{ref:a,style:i.toolbar,className:u(s(o.hb,f))},null===e||void 0===e?void 0:e.map((e=>e===o.t9?t?t():r.createElement(ue,{key:o.t9,label:"Close",icon:fe,renderIcon:n,onClick:l}):e)));var f}));function lt(e,t){var n;return r.createElement(e.module.component,{key:e.module.name,...t},null===(n=e.children)||void 0===n?void 0:n.map((e=>lt(e,t))))}
1function ct(e,t={}){const{easing:n,...r}=e,{easing:o,...i}=t;return{easing:{...n,...o},...r,...i}}function ut({carousel:e,animation:t,render:n,toolbar:i,controller:l,noScroll:c,on:u,plugins:a,slides:s,index:d,...f}){const{animation:h,carousel:m,render:v,toolbar:p,controller:g,noScroll:b,on:E,slides:y,index:x,plugins:M,...C}=D,{config:N,augmentation:R}=function(e,t=[],n=[]){let r=e;const i=e=>{const t=[...r];for(;t.length>0;){const n=t.pop();if((null===n||void 0===n?void 0:n.module.name)===e)return!0;(null===n||void 0===n?void 0:n.children)&&t.push(...n.children)}return!1},l=(e,t)=>{r=""!==e?Z(r,e,(e=>[T(t,[e])])):[T(t,r)]},c=(e,t)=>{r=Z(r,e,(e=>[T(e.module,[T(t,e.children)])]))},u=(e,t,n)=>{r=Z(r,e,(e=>{var r;return[T(e.module,[...n?[T(t)]:[],...null!==(r=e.children)&&void 0!==r?r:[],...n?[]:[T(t)]])]}))},a=(e,t,n)=>{r=Z(r,e,(e=>[...n?[T(t)]:[],e,...n?[]:[T(t)]]))},s=e=>{c(o.l4,e)},d=(e,t)=>{r=Z(r,e,(e=>[T(t,e.children)]))},f=e=>{r=Z(r,e,(e=>e.children))},h=e=>{n.push(e)};return t.forEach((e=>{e({contains:i,addParent:l,append:c,addChild:u,addSibling:a,addModule:s,replace:d,remove:f,augment:h})})),{config:r,augmentation:e=>n.reduce(((e,t)=>t(e)),e)}}([T(rt,[T(et,[T(Ae,[T(Ve),T(it),T(Ke)])])])],a||M),S=R({animation:ct(h,t),carousel:{...m,...e},render:{...v,...n},toolbar:{...p,...i},controller:{...g,...l},noScroll:{...b,...c},on:{...E,...u},...C,...f});return S.open?r.createElement(K,{...S},r.createElement(te,{slides:s||y,index:w(d||x)},r.createElement(ce,null,r.createElement(B,null,r.createElement(A,null,lt(T(ot,N),S)))))):null}},8686:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(75271),o=n(22263),i=n(34387);const l=e=>(0,o.Nc)(`slide_${e}`),c={descriptionTextAlign:"start",descriptionMaxLines:3,showToggle:!1,hidden:!1},u=e=>({...c,...e});const a=r.createContext(null),s=(0,o.Fy)("useCaptions","CaptionsContext",a);function d({captions:e,children:t}){const{ref:n,hidden:o}=u(e),[i,l]=r.useState(!o),c=r.useMemo((()=>({visible:i,show:()=>l(!0),hide:()=>l(!1)})),[i]);return r.useImperativeHandle(n,(()=>c),[c]),r.createElement(a.Provider,{value:c},t)}function f({title:e}){const{toolbarWidth:t}=(0,o.bc)(),{styles:n}=(0,o.RD)(),{visible:i}=s();return i?r.createElement("div",{role:"heading","aria-level":2,style:n.captionsTitleContainer,className:(0,o.Wy)(l("captions_container"),l("title_container"))},r.createElement("div",{className:l("title"),style:{...t?{[(0,o.gJ)("toolbar_width")]:`${t}px`}:null,...n.captionsTitle}},e)):null}function h({description:e}){const{descriptionTextAlign:t,descriptionMaxLines:n}=function(){const{captions:e}=(0,o.RD)();return u(e)}(),{styles:i,labels:a}=(0,o.RD)(),{visible:d}=s();return d?r.createElement("div",{style:i.captionsDescriptionContainer,className:(0,o.Wy)(l("captions_container"),l("description_container"))},r.createElement("div",{className:l("description"),style:{...t!==c.descriptionTextAlign||n!==c.descriptionMaxLines?{[(0,o.gJ)("slide_description_text_align")]:t,[(0,o.gJ)("slide_description_max_lines")]:n}:null,...i.captionsDescription},role:"paragraph","aria-roledescription":(0,o.Ac)(a,"Caption")},"string"===typeof e?e.split("\n").flatMap(((e,t)=>[...t>0?[r.createElement("br",{key:t})]:[],e])):e)):null}const 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"})),v=(0,o.U2)("CaptionsVisible",m()),p=(0,o.TX)("CaptionsVisible",m());function g(){const{visible:e,show:t,hide:n}=s(),{render:i}=(0,o.RD)();return i.buttonCaptions?r.createElement(r.Fragment,null,i.buttonCaptions({visible:e,show:t,hide:n})):r.createElement(o.hU,{label:e?"Hide captions":"Show captions",icon:e?v:p,renderIcon:e?i.iconCaptionsVisible:i.iconCaptionsHidden,onClick:e?n:t})}function b({augment:e,addModule:t}){e((({captions:e,render:{slideFooter:t,...n},toolbar:l,...c})=>{const a=u(e);return{render:{slideFooter:({slide:e})=>r.createElement(r.Fragment,null,null===t||void 0===t?void 0:t({slide:e}),e.title&&r.createElement(f,{title:e.title}),e.description&&r.createElement(h,{description:e.description})),...n},toolbar:(0,o.wQ)(l,i.JT,a.showToggle?r.createElement(g,null):null),captions:a,...c}})),t((0,o.l6)(i.JT,d))}},19099:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(75271),o=n(22263),i=n(34387);const l={auto:!1,ref:null},c=e=>({...l,...e}),u=r.createContext(null),a=(0,o.Fy)("useFullscreen","FullscreenContext",u);function s({fullscreen:e,on:t,children:n}
1){const{auto:l,ref:a}=c(e),s=r.useRef(null),[d,f]=r.useState(),[h,m]=r.useState(!1),v=r.useRef(!1),{getOwnerDocument:p}=(0,o.tS)();(0,o.bt)((()=>{var e,t,n,r;const o=p();f(!(null!==(r=null!==(n=null!==(t=null!==(e=o.fullscreenEnabled)&&void 0!==e?e:o.webkitFullscreenEnabled)&&void 0!==t?t:o.mozFullScreenEnabled)&&void 0!==n?n:o.msFullscreenEnabled)&&void 0!==r&&r))}),[p]);const g=r.useCallback((()=>{var e;const t=p(),n=t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement;return(null===(e=null===n||void 0===n?void 0:n.shadowRoot)||void 0===e?void 0:e.fullscreenElement)||n}),[p]),b=r.useCallback((()=>{const e=s.current;try{e.requestFullscreen?e.requestFullscreen().catch((()=>{})):e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen()}catch(t){}}),[]),E=r.useCallback((()=>{if(!g())return;const e=p();try{e.exitFullscreen?e.exitFullscreen().catch((()=>{})):e.webkitExitFullscreen?e.webkitExitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.msExitFullscreen&&e.msExitFullscreen()}catch(t){}}),[g,p]);r.useEffect((()=>{const e=p(),t=()=>{m(g()===s.current)};return(0,o.Eq)(...["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"].map((n=>(e.addEventListener(n,t),()=>e.removeEventListener(n,t)))))}),[g,p]);const w=(0,o.$0)((()=>{var e;return null===(e=t.enterFullscreen)||void 0===e?void 0:e.call(t)})),y=(0,o.$0)((()=>{var e;return null===(e=t.exitFullscreen)||void 0===e?void 0:e.call(t)}));r.useEffect((()=>{h&&(v.current=!0),v.current&&(h?w:y)()}),[h,w,y]);const x=(0,o.$0)((()=>{var e;return null===(e=l?b:null)||void 0===e||e(),E}));r.useEffect(x,[x]);const M=r.useMemo((()=>({fullscreen:h,disabled:d,enter:b,exit:E})),[h,d,b,E]);return r.useImperativeHandle(a,(()=>M),[M]),r.createElement("div",{ref:s,className:(0,o.Wy)((0,o.Nc)(i.zr),(0,o.Nc)(i.yS))},r.createElement(u.Provider,{value:M},n))}const d=(0,o.U2)("EnterFullscreen",r.createElement("path",{d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"})),f=(0,o.U2)("ExitFullscreen",r.createElement("path",{d:"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"}));function h(){var e;const{fullscreen:t,disabled:n,enter:i,exit:l}=a(),{render:c}=(0,o.RD)();return n?null:c.buttonFullscreen?r.createElement(r.Fragment,null,null===(e=c.buttonFullscreen)||void 0===e?void 0:e.call(c,{fullscreen:t,disabled:n,enter:i,exit:l})):r.createElement(o.hU,{disabled:n,label:t?"Exit Fullscreen":"Enter Fullscreen",icon:t?f:d,renderIcon:t?c.iconExitFullscreen:c.iconEnterFullscreen,onClick:t?l:i})}function m({augment:e,contains:t,addParent:n}){e((({fullscreen:e,toolbar:t,...n})=>({toolbar:(0,o.wQ)(t,i.zr,r.createElement(h,null)),fullscreen:c(e),...n}))),n(t(i.dA)?i.dA:i.l4,(0,o.l6)(i.zr,s))}},34279:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(75271),o=n(22263),i=n(34387);const l={autoplay:!1,delay:3e3,ref:null},c=e=>({...l,...e}),u=r.createContext(null),a=(0,o.Fy)("useSlideshow","SlideshowContext",u);function s({slideshow:e,carousel:{finite:t},on:n,children:l}){const{autoplay:a,delay:s,ref:d}=c(e),f=r.useRef(a),[h,m]=r.useState(a),v=r.useRef(void 0),p=r.useRef(void 0),{slides:g,currentIndex:b}=(0,o.oc)(),{setTimeout:E,clearTimeout:w}=(0,o.aU)(),{subscribe:y}=(0,o.hI)(),{next:x}=(0,o.bc)(),{setAutoPlaying:M}=(0,o.xA)();r.useEffect((()=>M(h)),[h,M]);const C=0===g.length||t&&b===g.length-1,N=r.useCallback((()=>{h||C||m(!0)}),[h,C]),R=r.useCallback((()=>{h&&m(!1)}),[h]),S=r.useCallback((()=>{w(v.current),v.current=void 0}),[w]),k=(0,o.$0)((()=>{S(),h&&!C&&p.current!==i.Xe&&p.current!==i.hP&&(v.current=E((()=>{h&&(p.current=void 0,x())}),s))}));r.useEffect(k,[b,h,k]),r.useEffect((()=>{h&&C&&m(!1)}),[b,h,C]);const P=(0,o.$0)((()=>{var e;return null===(e=n.slideshowStart)||void 0===e?void 0:e.call(n)})),L=(0,o.$0)((()=>{var e;return null===(e=n.slideshowStop)||void 0===e?void 0:e.call(n)}));r.useEffect((()=>{h?P():f.current&&L(),f.current=h}),[h,P,L]),r.useEffect((()=>(0,o.Eq)(S,y(i.p7,(()=>{p.current=i.Xe,S()})),y(i.fV,(()=>{p.current=i.hP,S()})),y(i.vP,(()=>{p.current=i.fS,k()})),y(i.LN,(()=>{p.current=i.Zv,k()})))),[y,S,k]);const I=r.useMemo((()=>({playing:h,disabled:C,play:N,pause:R})),[h,C,N,R]);return r.useImperativeHandle(d,(()=>I),[I]),r.createElement(u.Provider,{value:I},l)}const d=(0,o.U2)("Play",r.createElement("path",{d:"M8 5v14l11-7z"})),f=(0,o.U2)("Pause",r.createElement("path",{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"}));function h(){const{playing:e,disabled:t,play:n,pause:i}=a(),{render:l}=(0,o.RD)(),c=(0,o.d8)((0,o.bc)().focus,t);return l.buttonSlideshow?r.createElement(r.Fragment,null,l.buttonSlideshow({playing:e,disabled:t,play:n,pause:i})):r.createElement(o.hU,{label:e?"Pause":"Play",icon:e?f:d,renderIcon:e?l.iconSli
1deshowPause:l.iconSlideshowPlay,onClick:e?i:n,disabled:t,...c})}function m({augment:e,addModule:t}){e((({slideshow:e,toolbar:t,...n})=>({toolbar:(0,o.wQ)(t,i.HY,r.createElement(h,null)),slideshow:c(e),...n}))),t((0,o.l6)(i.HY,s))}},71715:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(75271),o=n(22263),i=n(34387);const l={ref:null,position:"bottom",width:120,height:80,border:1,borderRadius:4,padding:4,gap:16,imageFit:"contain",vignette:!0,hidden:!1,showToggle:!1},c=e=>({...l,...e});function u(){const{thumbnails:e}=(0,o.RD)();return c(e)}const a=e=>(0,o.Xl)(i.dA,e),s=e=>a((0,o.Xl)("thumbnail",e)),d=(0,o.U2)("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"})),f=(0,o.U2)("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"}));const h=(0,o.cO)("active"),m=(0,o.cO)("fadein"),v=(0,o.cO)("fadeout"),p=(0,o.cO)("placeholder"),g="delay",b="duration";function E({slide:e,index:t,onClick:n,fadeIn:l,fadeOut:c,placeholder:a,onLoseFocus:E}){const w=r.useRef(null),{render:y,styles:x,labels:M}=(0,o.RD)(),{slides:C,globalIndex:N}=(0,o.oc)(),{getOwnerDocument:R}=(0,o.tS)(),{width:S,height:k,imageFit:P}=u(),L={width:S,height:k},I=t===N,F=(0,o.$0)(E);return r.useEffect((()=>{c&&R().activeElement===w.current&&F()}),[c,F,R]),r.createElement("button",{ref:w,type:"button",className:(0,o.Wy)((0,o.Nc)(i.aN),(0,o.Nc)(s()),I&&(0,o.Nc)(s(h())),l&&(0,o.Nc)(s(m())),c&&(0,o.Nc)(s(v())),a&&(0,o.Nc)(s(p()))),style:{...l?{[(0,o.gJ)(s(m(b)))]:`${l.duration}ms`,[(0,o.gJ)(s(m(g)))]:`${l.delay}ms`}:null,...c?{[(0,o.gJ)(s(v(b)))]:`${c.duration}ms`,[(0,o.gJ)(s(v(g)))]:`${c.delay}ms`}:null,...x.thumbnail},onClick:n,"aria-current":!!I||void 0,"aria-label":(0,o.x$)(M,C,t)},e&&function({slide:e,render:t,rect:n,imageFit:l}){var c;const u=null===(c=t.thumbnail)||void 0===c?void 0:c.call(t,{slide:e,render:t,rect:n,imageFit:l});if(u)return u;const a={render:t,rect:n,imageFit:l};if(e.thumbnail)return r.createElement(o.P0,{slide:{src:e.thumbnail},...a});if((0,o.QB)(e))return r.createElement(o.P0,{slide:e,...a});const h=(0,o.Nc)(s(i.vg));return"video"===e.type?r.createElement(r.Fragment,null,e.poster&&r.createElement(o.P0,{slide:{src:e.poster},...a}),r.createElement(d,{className:h})):r.createElement(f,{className:h})}({slide:e,render:y,rect:L,imageFit:P}))}function w(e){return["top","bottom"].includes(e)}function y(e,t){return t+2*(e.border+e.padding)+e.gap}function x(e){const{thumbnail:t,poster:n}=e||{thumbnail:"placeholder"};return"string"===typeof t&&t||"string"===typeof n&&n||e&&(0,o.iv)(e)||void 0}function M({visible:e,containerRef:t}){const n=r.useRef(null),c=(0,o.Su)(),{publish:d,subscribe:f}=(0,o.hI)(),{carousel:h,styles:m,labels:v}=(0,o.RD)(),{slides:p,globalIndex:g,animation:b}=(0,o.oc)(),{registerSensors:M,subscribeSensors:C}=(0,o.Dy)();(0,o.t$)(C);const N=u(),{position:R,width:S,height:k,border:P,borderStyle:L,borderColor:I,borderRadius:F,padding:D,gap:z,vignette:T}=N,$=void 0!==(null===b||void 0===b?void 0:b.duration)&&(null===b||void 0===b?void 0:b.increment)||0,Z=(null===b||void 0===b?void 0:b.duration)||0,{prepareAnimation:O}=(0,o._7)(n,(e=>({keyframes:w(R)?[{transform:`translateX(${(c?-1:1)*y(N,S)*$+e}px)`},{transform:"translateX(0)"}]:[{transform:`translateY(${y(N,k)*$+e}px)`},{transform:"translateY(0)"}],duration:Z,easing:null===b||void 0===b?void 0:b.easing}))),W=(0,o.$0)((()=>{let e=0;if(t.current&&n.current){const r=t.current.getBoundingClientRect(),o=n.current.getBoundingClientRect();e=w(R)?o.left-r.left-(r.width-o.width)/2:o.top-r.top-(r.height-o.height)/2}O(e)}));r.useEffect((()=>(0,o.Eq)(f(i.Tn,W))),[f,W]);const A=(0,o.mw)(h,p),_=[];if((0,o.Ju)(p))for(let r=g-A-Math.abs($);r<=g+A+Math.abs($);r+=1){const e=h.finite&&(r<0||r>p.length-1)||$<0&&r<g-A||$>0&&r>g+A?null:(0,o.CT)(p,r),t=[`${r}`,x(e)].filter(Boolean).join("|");_.push({key:t,index:r,slide:e})}return r.createElement("div",{className:(0,o.Wy)((0,o.Nc)(a("container")),(0,o.Nc)(i.aN)),style:{...e?null:{display:"none"},...S!==l.width?{[(0,o.gJ)(s("width"))]:`${S}px`}:null,...k!==l.height?{[(0,o.gJ)(s("height"))]:`${k}px`}:null,...P!==l.border?{[(0,o.gJ)(s("border"))]:`${P}px`}:null,...L?{[(0,o.gJ)(s("border_style"))]:L}:null,...I?{[(0,o.gJ)(s("border_color"))]:I}:null,...F!==l.borderRadius?{[(0,o.gJ)(s("border_radius"))]:`${F}px`}:null,...D!==l.padding?{[(0,o.gJ)(s("padding"))]:`${D}px`}:null,...z!==l.gap?{[(0,o.gJ)(s("gap"))]:`${z}px`}:null,...m.thumbnailsContainer}}
1,r.createElement("nav",{ref:n,style:m.thumbnailsTrack,className:(0,o.Wy)((0,o.Nc)(a("track")),(0,o.Nc)(i.aN)),"aria-label":(0,o.Ac)(v,"Thumbnails"),tabIndex:-1,...M},_.map((({key:e,index:t,slide:o})=>{const l=Z/Math.abs($||1),c=$>0&&t>g+A-$&&t<=g+A||$<0&&t<g-A-$&&t>=g-A?{duration:l,delay:(($>0?t-(g+A-$):g-A-$-t)-1)*l}:void 0,u=$>0&&t<g-A||$<0&&t>g+A?{duration:l,delay:($>0?$-(g-A-t):-$-(t-(g+A)))*l}:void 0;return r.createElement(E,{key:e,index:t,slide:o,fadeIn:c,fadeOut:u,placeholder:!o,onClick:(a=t,()=>{a>g?d(i.Eb,{count:a-g}):a<g&&d(i.KN,{count:g-a})}),onLoseFocus:()=>{var e;return null===(e=n.current)||void 0===e?void 0:e.focus()}});var a}))),T&&r.createElement("div",{className:(0,o.Nc)(a("vignette"))}))}const C=r.createContext(null),N=(0,o.Fy)("useThumbnails","ThumbnailsContext",C);function R({children:e,...t}){const{ref:n,position:i,hidden:l}=c(t.thumbnails),[u,s]=r.useState(!l),d=r.useRef(null),f=r.useMemo((()=>({visible:u,show:()=>s(!0),hide:()=>s(!1)})),[u]);return r.useImperativeHandle(n,(()=>f),[f]),r.createElement(o.OV,{...t},r.createElement(C.Provider,{value:f},r.createElement("div",{ref:d,className:(0,o.Wy)((0,o.Nc)(a()),(0,o.Nc)(a(`${i}`)))},["start","top"].includes(i)&&r.createElement(M,{containerRef:d,visible:u}),r.createElement("div",{className:(0,o.Nc)(a("wrapper"))},e),["end","bottom"].includes(i)&&r.createElement(M,{containerRef:d,visible:u}))))}const S=()=>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"})),k=(0,o.U2)("ThumbnailsVisible",S()),P=(0,o.TX)("ThumbnailsHidden",S());function L(){const{visible:e,show:t,hide:n}=N(),{render:i}=(0,o.RD)();return i.buttonThumbnails?r.createElement(r.Fragment,null,i.buttonThumbnails({visible:e,show:t,hide:n})):r.createElement(o.hU,{label:e?"Hide thumbnails":"Show thumbnails",
1icon:e?k:P,renderIcon:e?i.iconThumbnailsVisible:i.iconThumbnailsHidden,onClick:e?n:t})}function I({augment:e,contains:t,append:n,addParent:l}){e((({thumbnails:e,toolbar:t,...n})=>{const l=c(e);return{toolbar:(0,o.wQ)(t,i.dA,l.showToggle?r.createElement(L,null):null),thumbnails:l,...n}}));const u=(0,o.l6)(i.dA,R);t(i.zr)?n(i.zr,u):l(i.l4,u)}},26028:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(75271),o=n(22263),i=n(34387);const l={controls:!0,playsInline:!0},c=e=>({...l,...e});function u({slide:e,offset:t}){const n=function(){const{video:e}=(0,o.RD)();return c(e)}(),{publish:l}=(0,o.hI)(),{setContainerRef:u,containerRect:a,containerRef:s}=(0,o.u9)(),{getOwnerDocument:d}=(0,o.tS)(),{animation:f}=(0,o.RD)(),h=r.useRef(null),m=r.useRef(!1);r.useEffect((()=>{0!==t&&h.current&&!h.current.paused&&h.current.pause()}),[t]),r.useEffect((()=>{0===t&&h.current&&(e.autoPlay||n.autoPlay)&&(l(i.p7),h.current.play().catch((()=>{})))}),[t,n.autoPlay,e.autoPlay,l]);const v=(0,o.$0)((()=>{const e=setTimeout((()=>{if(s.current){const e=s.current.style.border;s.current.style.border="1px solid transparent",(0,o.nq)(s.current),s.current.style.border=e}}),Math.max(f.swipe,f.navigation||0)+50);return()=>clearTimeout(e)}));r.useEffect((()=>{if(function(){var e;return(null===(e=navigator.userAgentData)||void 0===e?void 0:e.brands.some((({brand:e})=>"Chromium"===e)))||!!window.chrome}()&&0===t)return v()}),[t,v]);const p=(0,o.$0)((r=>{0===t&&(n.autoPlay||e.autoPlay)&&r.paused&&r.play().catch((()=>{}))})),g=r.useCallback((e=>{h.current=e,e&&p(e)}),[p]);r.useEffect((()=>{if(0===t){let e=!1;const t=()=>{e=d().fullscreenElement===h.current,m.current=e};return d().addEventListener("fullscreenchange",t),()=>{d().removeEventListener("fullscreenchange",t),e&&(m.current=!1,d().exitFullscreen().catch((()=>{})))}}}),[t,d]),r.useEffect((()=>{if(0===t){let e=!1;const t=t=>n=>{n.target===h.current&&(e=t,m.current=e)},n=t(!0),r=t(!1);return d().addEventListener("enterpictureinpicture",n),d().addEventListener("leavepictureinpicture",r),()=>{d().removeEventListener("enterpictureinpicture",n),d().removeEventListener("leavepictureinpicture",r),e&&(m.current=!1,d().exitPictureInPicture().catch((()=>{})))}}}),[t,d]);const{width:b,height:E,poster:w,sources:y}=e,x=t=>!1===e[t]?null:!0===e[t]?{[t]:!0}:!1===n[t]?null:!0===n[t]?{[t]:!0}:null,M=t=>n[t]||e[t]?{[t]:e[t]||n[t]}:null,C=e=>{m.current&&e.stopPropagation()};return r.createElement(r.Fragment,null,y&&r.createElement("div",{ref:u,style:{width:"100%",height:"100%",...b?{maxWidth:`${b}px`}:null},className:(0,o.Wy)((0,o.Nc)("video_container"),(0,o.Nc)(i.aN),(0,o.Nc)(i.af))},a&&r.createElement("video",{ref:g,poster:w,...(()=>{const e={style:{maxWidth:"100%",maxHeight:"100%"}};if(b&&E&&a){const t=b/E>a.width/a.height,n=t?a.width:Math.round(a.height/E*b),r=t?Math.round(a.width/b*E):a.height;e.width=n,e.height=r,e.style.width=n,e.style.height=r}return e})(),...x("controls"),...x("playsInline"),...x("loop"),...x("muted"),...x("playsInline"),...x("disablePictureInPicture"),...x("disableRemotePlayback"),...M("controlsList"),...M("crossOrigin"),...M("preload"),onPlay:()=>{var e;0===t?l(i.fV):null===(e=h.current)||void 0===e||e.pause()},onEnded:()=>{l(i.LN)},onWheel:C,onKeyDown:C,onPointerDown:e=>{C(e),/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&h.current&&h.current.getBoundingClientRect().bottom-e.clientY<40&&e.stopPropagation()}},y.map((({src:e,type:t,media:n})=>r.createElement("source",{key:[e,t,n].filter(Boolean).join("|"),src:e,type:t,media:n}))))))}function a({augment:e}){e((({render:{slide:e,...t},video:n,...o})=>({render:{slide:({slide:t,offset:n,rect:o})=>{var i;return function(e){return"video"===e.type}(t)?r.createElement(u,{key:null===(i=t.sources)||void 0===i?void 0:i.map((e=>e.src)).join("|"),slide:t,offset:n}):null===e||void 0===e?void 0:e({slide:t,offset:n,rect:o})},...t},video:c(n),...o})))}},92861:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var r=n(75271),o=n(22263),i=n(34387);const l={minZoom:1,maxZoomPixelRatio:1,zoomInMultiplier:2,doubleTapDelay:300,doubleClickDelay:500,doubleClickMaxStops:2,keyboardMoveDistance:50,wheelZoomDistanceFactor:100,pinchZoomDistanceFactor:100,pinchZoomV4:!1,scrollToZoom:!1,maxZoom:8};function c(e){return Math.min(Math.max(e,Number.EPSILON),1)}function u(e){const{minZoom:t,...n}={...l,...e};return{minZoom:c(t),...n}}function a(){const{zoom:e}=(0,o.RD)();return u(e)}function s(e,t){var n,r;let i={width:0,height:0},c={width:0,height:0};const{currentSlide:u}=(0,o.oc)(),{imageFit:s}=(0,o.RD)().carousel,{maxZoomPixelRatio:d,maxZoom:f}=a();if(e&&u){const l={...u,...t};if((0,o.QB)(l)){const t=(0,o.VI)(l,s),u=Math.max(...((null===(n=l.srcSet)||void 0===n?void 0:n.map((e=>e.width)))||[]).concat(l.width?[l.width]:[])),a=Math.max(...((null===(r=l.srcSet)||void 0===r?void 0:r.map((e=>e.height)))||[]).concat(l.height?[l.height]:[]));u>0&&a>0&&e.width>0&&e.height>0&&(c=t?{width:Math.round(Math.min(u,e.width/e.height*a)),height:Math.round(Math.min(a,e.height/e.width*u))}:{width:u,height:a},c={width:c.width*d,height:c.height*d},i=t?{width:Math.min(e.width,c.width,u),height:Math.min(e.height,c.height,a)}:{width:Math.round(Math.min(e.width,e.height/a*u,u)),height:Math.round(Math.min(e.height,e.width/u*a,a))})}else e.width>0&&e.height>0&&(i=t&&t.width>0&&t.height>0?{width:Math.min(e.width,t.width),height:Math.min(e.height,t.height)}:{width:e.width,height:e.height})}const h=u&&i.width?(0,o.QB)(u)?Math.max((0,o.NM)(c.width/i.width,5),1):function(e,t){var n;const r="function"===typeof e?null!==(n=e(t))&&void 0!==n?n:l.maxZoom:e;return Math.max(r,1)}(f,u):1;return{imageRect:i,maxZoom:h}}function d(e,t){return Math.hypot(e.clientX-t.clientX,e.clientY-t.clientY)}function f(e,t,n=100,r=2){return e*Math.min(1+Math.abs(t/n),r)**Math.sign(t)}function h(e,t,n){const[i,l]=r.useState(1),[c,u]=r.useState(0),[s,d]=r.useState(0),f=function(e,t,n,i){const l=r.useRef(void 0),c=r.useRef(void 0),{zoom:u}=(0,o.RD)().animation,a=(0,o.OL)(),s=(0,o.$0)((()=>{var r,o,s;if(null===(r=l.current)||void 0===r||r.cancel(),l.current=void 0,c.current&&(null===i||void 0===i?void 0:i.current)){try{l.current=null===(s=(o=i.current).animate)||void 0===s?void 0:s.call(o,[{transform:c.current},{transform:`scale(${e}) translateX(${t}px) translateY(${n}px)`}],{duration:a?0:null!==u&&void 0!==u?u:500,easing:l.current?"ease-out":"ease-in-out"})}catch(d){console.error(d)}c.current=void 0,l.current&&(l.current.onfinish=()=>{l.current=void 0})}}));return(0,o.bt)(s,[e,t,n,s]),r.useCallback((()=>{c.current=(null===i||void 0===i?void 0:i.current)?window.getComputedStyle(i.current).transform:void 0}),[i])}(i,c,s,n),{currentSlide:h,globalIndex:m}=(0,o.oc)(),{containerRect:v,slideRect:p}=(0,o.bc)(),{minZoom:g,zoomInMultiplier:b}=a(),E=h&&(0,o.QB)(h)?h.src:void 0,w=!(null===n||void 0===n?void 0:n.current);(0,o.bt)((()=>
1{l(1),u(0),d(0)}),[m,E]);const y=r.useCallback(((t,n,r)=>{const o=r||i,l=c-(t||0),a=s-(n||0),f=(e.width*o-p.width)/2/o,h=(e.height*o-p.height)/2/o;u(Math.min(Math.abs(l),Math.max(f,0))*Math.sign(l)),d(Math.min(Math.abs(a),Math.max(h,0))*Math.sign(a))}),[i,c,s,p,e.width,e.height]),x=r.useCallback(((e,n,r,c)=>{const u=(0,o.NM)(e+.01<t?e-.01>g?e:g:t,5);n||f(),y(r?r*(1/i-1/u):0,c?c*(1/i-1/u):0,u),l(u)}),[i,g,t,y,f]),M=(0,o.$0)((()=>{i>1&&(i>t&&x(t,!0),y())}));(0,o.bt)(M,[v.width,v.height,M]);const C=r.useCallback((()=>{const e=i*b;x(i<1&&e>1?1:e)}),[i,b,x]),N=r.useCallback((()=>{const e=i/b;x(i>1&&e<1?1:e)}),[i,b,x]);return{zoom:i,offsetX:c,offsetY:s,disabled:w,changeOffsets:y,changeZoom:x,zoomIn:C,zoomOut:N}}const m=r.createContext(null),v=(0,o.Fy)("useZoom","ZoomControllerContext",m);function p({children:e}){const[t,n]=r.useState(),{slideRect:l}=(0,o.bc)(),{ref:c,minZoom:u}=a(),{imageRect:v,maxZoom:p}=s(l,null===t||void 0===t?void 0:t.imageDimensions),{zoom:g,offsetX:b,offsetY:E,disabled:w,changeZoom:y,changeOffsets:x,zoomIn:M,zoomOut:C}=h(v,p,null===t||void 0===t?void 0:t.zoomWrapperRef);!function(e,t){const{on:n}=(0,o.RD)(),i=(0,o.$0)((()=>{var r;t||null===(r=n.zoom)||void 0===r||r.call(n,{zoom:e})}));r.useEffect(i,[e,i])}(g,w),function(e,t,n,l,c,u,s,h,m){const v=r.useRef([]),p=r.useRef(0),g=r.useRef(void 0),{globalIndex:b}=(0,o.oc)(),{getOwnerWindow:E}=(0,o.tS)(),{containerRef:w,subscribeSensors:y}=(0,o.bc)(),{keyboardMoveDistance:x,zoomInMultiplier:M,wheelZoomDistanceFactor:C,scrollToZoom:N,doubleTapDelay:R,doubleClickDelay:S,doubleClickMaxStops:k,pinchZoomDistanceFactor:P,pinchZoomV4:L}=a(),I=r.useCallback((e=>{if(w.current){const{pageX:t,pageY:n}=e,{scrollX:r,scrollY:o}=E(),{left:i,top:l,width:c,height:u}=w.current.getBoundingClientRect();return[t-i-r-c/2,n-l-o-u/2]}return[]}),[w,E]),F=(0,o.$0)((t=>{const{key:n,metaKey:r,ctrlKey:o}=t,i=r||o,l=()=>{t.preventDefault(),t.stopPropagation()};if(e>1){const e=(e,t)=>{l(),h(e,t)};"ArrowDown"===n?e(0,x):"ArrowUp"===n?e(0,-x):"ArrowLeft"===n?e(-x,0):"ArrowRight"===n&&e(x,0)}"+"===n||i&&"="===n?(l(),c()):"-"===n||i&&"_"===n?(l(),u()):i&&"0"===n&&(l(),s(1))})),D=(0,o.$0)((t=>{if((t.ctrlKey||N)&&Math.abs(t.deltaY)>Math.abs(t.deltaX))return t.stopPropagation(),void s(f(e,-t.deltaY,C),!0,...I(t));e>1&&(t.stopPropagation(),N||h(t.deltaX,t.deltaY))})),z=r.useCallback((e=>{const t=v.current;t.splice(0,t.length,...t.filter((t=>t.pointerId!==e.pointerId)))}),[]),T=r.useCallback((e=>{z(e),e.persist(),v.current.push(e)}),[z]),$=(0,o.$0)((r=>{var o;const i=v.current;if("mouse"===r.pointerType&&r.buttons>1||!(null===(o=null===m||void 0===m?void 0:m.current)||void 0===o?void 0:o.contains(r.target)))return;e>1&&r.stopPropagation();const{timeStamp:l}=r;if(0===i.length&&l-p.current<("touch"===r.pointerType?R:S)){p.current=0;const o=e>=1?e!==n?e*Math.max(n**(1/k),M):1:e!==t?e/Math.max(t**(-1/k),M):1;s(o,!1,...I(r))}else p.current=l;if(T(r),2===i.length){const t=d(i[0],i[1]);g.current={previousDistance:t,initialDistance:Math.max(t,1),initialZoom:e}}})),Z=(0,o.$0)((t=>{const n=v.current,r=n.find((e=>e.pointerId===t.pointerId));if(2===n.length&&g.current){t.stopPropagation(),T(t);const r=d(n[0],n[1]),o=L?g.current.initialZoom/g.current.initialDistance*r:f(e,r-g.current.previousDistance,P);return s(o,!0,...n.map((e=>I(e))).reduce(((e,t)=>t.map(((t,n)=>e[n]+t/2))))),void(g.current.previousDistance=r)}e>1&&(t.stopPropagation(),r&&(1===n.length&&h((r.clientX-t.clientX)/e,(r.clientY-t.clientY)/e),T(t)))})),O=r.useCallback((e=>{const t=v.current;2===t.length&&t.find((t=>t.pointerId===e.pointerId))&&(g.current=void 0),z(e)}),[z]),W=r.useCallback((()=>{const e=v.current;e.splice(0,e.length),p.current=0,g.current=void 0}),[]);(0,o.bQ)(y,$,Z,O,l),r.useEffect(W,[b,W]),r.useEffect((()=>l?()=>{}:(0,o.Eq)(W,y(i.ds,F),y(i.yq,D))),[l,y,W,F,D])}(g,u,p,w,M,C,y,x,null===t||void 0===t?void 0:t.zoomWrapperRef);const N=r.useMemo((()=>({zoom:g,minZoom:u,maxZoom:p,offsetX:b,offsetY:E,disabled:w,zoomIn:M,zoomOut:C,changeZoom:y})),[g,u,p,b,E,w,M,C,y]);r.useImperativeHandle(c,(()=>N),[N]);const R=r.useMemo((()=>({...N,setZoomWrapper:n})),[N,n]);return r.createElement(m.Provider,{value:R},e)}const g=(0,o.U2)("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"}))),b=(0,o.U2)("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"})),E=r.forwardRef((function({zoomIn:e,onLoseFocus:t},n){const i=r.useRef(!1),l=r.useRef(!1),{zoom:c,minZoom:u,maxZoom:a,zoomIn:s,zoomOut:d,disabled:f}=v(),{render:h}=(0,o.RD)(),m=f||(e?c>=a:c<=u);return r.useEffect((()=>{m&&i.current&&l.current&&t(),m||(i.current=!0)}),[m,t]),r.createElement(o.hU,{ref:n,disabled:m,label:e?"Zoom in":"Zoom out",icon:e?g:b,renderIcon:e?h.iconZoomIn:h.iconZoomOut,onClick:e?s:d,onFocus:()=>{l.current=!0},onBlur:()=>{l.current=!1}})}));function w(){const e=r.useRef(null),t=r.useRef(null),{focus:n}=(0,o.bc)(),i=r.useCallback((e=>{var t,r;(null===(t=e.current)||void 0===t?void 0:t.disabled)?n():null===(r=e.current)||void 0===r||r.focus()}),[n]),l=r.useCallback((()=>i(e)),[i]),c=r.useCallback((()=>i(t)),[i]);return r.createElement(r.Fragment,null,r.createElement(E,{zoomIn:!0,ref:e,onLoseFocus:c}),r.createElement(E,{ref:t,onLoseFocus:l}))}function y(){const{render:e}=(0,o.RD)(),t=v();
1return e.buttonZoom?r.createElement(r.Fragment,null,e.buttonZoom(t)):r.createElement(w,null)}function x({current:e,preload:t},{type:n,source:r}){switch(n){case"fetch":return e?{current:e,preload:r}:{current:r};case"done":return r===t?{current:r}:{current:e,preload:t};default:throw new Error(i.c3)}}function M(e){var t,n;const[{current:i,preload:l},c]=r.useReducer(x,{}),{slide:u,rect:a,imageFit:s,render:d,interactive:f}=e,h=u.srcSet.sort(((e,t)=>e.width-t.width)),m=null!==(t=u.width)&&void 0!==t?t:h[h.length-1].width,v=null!==(n=u.height)&&void 0!==n?n:h[h.length-1].height,p=(0,o.VI)(u,s),g=Math.max(...h.map((e=>e.width))),b=Math.min((p?Math.max:Math.min)(a.width,m*(a.height/v)),g),E=(0,o.KL)(),w=(0,o.$0)((()=>{var e;const t=null!==(e=h.find((e=>e.width>=b*E)))&&void 0!==e?e:h[h.length-1];(!i||h.findIndex((e=>e.src===i))<h.findIndex((e=>e===t)))&&c({type:"fetch",source:t.src})}));(0,o.bt)(w,[a.width,a.height,E,w]);const y=(0,o.$0)((e=>c({type:"done",source:e}))),M={WebkitTransform:f?"initial":"translateZ(0)"};return p||Object.assign(M,a.width/a.height<m/v?{width:"100%",height:"auto"}:{width:"auto",height:"100%"}),r.createElement(r.Fragment,null,l&&l!==i&&r.createElement(o.P0,{key:"preload",...e,offset:void 0,slide:{...u,src:l,srcSet:void 0},style:{position:"absolute",visibility:"hidden",...M},onLoad:()=>y(l),render:{...d,iconLoading:()=>null,iconError:()=>null}}),i&&r.createElement(o.P0,{key:"current",...e,slide:{...u,src:i,srcSet:void 0},style:M}))}function C({render:e,slide:t,offset:n,rect:l}){var c;const[u,a]=r.useState(),s=r.useRef(null),d=(0,o.QB)(t),{zoom:f,maxZoom:h,offsetX:m,offsetY:p,setZoomWrapper:g}=v(),b=f>1,{carousel:E,on:w}=(0,o.RD)(),{currentIndex:y}=(0,o.oc)();(0,o.bt)((()=>{if(0!==n||d||!s.current)return()=>{};const e=()=>{const e=s.current;if(!e)return;let t=0,n=0;for(const r of e.children)r instanceof HTMLElement&&(t=Math.max(t,r.offsetWidth),n=Math.max(n,r.offsetHeight));a((e=>e&&e.width===t&&e.height===n?e:{width:t,height:n}))};if(e(),"undefined"===typeof ResizeObserver)return()=>{};const t=new ResizeObserver(e);for(const n of s.current.children)t.observe(n);return()=>t.disconnect()}),[n,d,l]),(0,o.bt)((()=>0===n?(g({zoomWrapperRef:s,imageDimensions:u}),()=>g(void 0)):()=>{}),[n,u,g]);let x=null===(c=e.slide)||void 0===c?void 0:c.call(e,{slide:t,offset:n,rect:l,zoom:f,maxZoom:h});if(!x&&d){const i={slide:t,offset:n,rect:l,render:e,imageFit:E.imageFit,imageProps:E.imageProps,onClick:0===n?()=>{var e;return null===(e=w.click)||void 0===e?void 0:e.call(w,{index:y})}:void 0};x=function(e){var t;return((null===(t=e.srcSet)||void 0===t?void 0:t.length)||0)>0}(t)?r.createElement(M,{...i,slide:t,interactive:b,rect:0===n?{width:l.width*f,height:l.height*f}:l}):r.createElement(o.P0,{onLoad:e=>a({width:e.naturalWidth,height:e.naturalHeight}),...i})}return x?r.createElement("div",{ref:s,className:(0,o.Wy)((0,o.Nc)(i.yS),(0,o.Nc)(i.aN),(0,o.Nc)(i.af),b&&(0,o.Nc)(i.ZZ)),style:0===n?{transform:`scale(${f}) translateX(${m}px) translateY(${p}px)`}:void 0},x):null}const N=({augment:e,addModule:t})=>{e((({zoom:e,toolbar:t,render:n,controller:l,...c})=>{const a=u(e);return{zoom:a,toolbar:(0,o.wQ)(t,i.xc,r.createElement(y,null)),render:{...n,slide:e=>{var t,i;return(0,o.QB)(e.slide)||null!=e.slide.type&&(null===(t=a.supports)||void 0===t?void 0:t.includes(e.slide.type))?r.createElement(C,{render:n,...e}):null===(i=n.slide)||void 0===i?void 0:i.call(n,e)}},controller:{...l,preventDefaultWheelY:a.scrollToZoom},...c}})),t((0,o.l6)(i.xc,p))}},34387:function(e,t,n){"use strict";n.d(t,{$L:function(){return E},Bm:function(){return H},Eb:function(){return D},HE:function(){return l},HY:function(){return f},J1:function(){return w},JT:function(){return s},KN:function(){return F},LN:function(){return C},M9:function(){return k},N4:function(){return Z},NH:function(){return B},NZ:function(){return $},Op:function(){return i},PU:function(){return U},S2:function(){return O},SA:function(){return c},Sl:function(){return V},Tf:function(){return S},Tn:function(){return z},Vt:function(){return A},Xe:function(){return v},ZZ:function(){return I},Zv:function(){return b},aN:function(){return R},af:function(){return L},bg:function(){return Y},c3:function(){return j},dA:function(){return h},ds:function(){return _},fS:function(){return g},fV:function(){return x},hD:function(){return P},hP:function(){return p},hb:function(){return a},j3:function(){return K},k0:function(){return r},l4:function(){return o},lT:function(){return u},p7:function(){return y},pE:function(){return W},rO:function(){return q},t9:function(){return T},vP:function(){return M},vg:function(){return J},xc:function(){return m},yS:function(){return N},yq:function(){return X},zr:function(){return d}});const r="carousel",o="controller",i="navigation",l="no-scroll",c="portal",u="root",a="toolbar",s="captions",d="fullscreen",f="slideshow",h="thumbnails",m="zoom",v="loading",p="playing",g="error",b="complete",E="placeholder",w=e=>`active-slide-${e}`,y=w(v),x=w(p),M=w(g),C=w(b),N="fullsize",R="flex_center",S="no_scroll",k="no_scroll_padding",P="slide",L="slide_wrapper",I="slide_wrapper_interactive",F="prev",D="next",z="swipe",T="close",$="onPointerDown",Z="onPointerMove",O="onPointerUp",W="onPointerLeave",A="onPointerCancel",_="onKeyDown",H="onKeyUp",X="onWheel",U="Escape",V="ArrowLeft",B="ArrowRight",Y="button",J="icon",K="contain",q="cover",j="Unknown action type"}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.