PageSourceSearch

https://www.grtjewels.com/_next/static/chunks/8248-cc99f7f2aad3560b.js

js grtjewels.com collected 2026-09-24 10:27:58 UTC 84,296 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8248],{79118:function(e,t,n){var r="Expected a function",o=0/0,i=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt,s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,f=s||d||Function("return this")(),h=Object.prototype.toString,m=Math.max,v=Math.min,p=function(){return f.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==h.call(t))return o;if(g(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=g(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var r=a.test(e);return r||u.test(e)?c(e.slice(2),r?2:8):l.test(e)?o:+e}e.exports=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw TypeError(r);return g(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),function(e,t,n){var o,i,l,a,u,c,s=0,d=!1,f=!1,h=!0;if("function"!=typeof e)throw TypeError(r);function y(t){var n=o,r=i;return o=i=void 0,s=t,a=e.apply(r,n)}function E(e){var n=e-c,r=e-s;return void 0===c||n>=t||n<0||f&&r>=l}function w(){var e,n,r,o=p();if(E(o))return x(o);u=setTimeout(w,(e=o-c,n=o-s,r=t-e,f?v(r,l-n):r))}function x(e){return(u=void 0,h&&o)?y(e):(o=i=void 0,a)}function M(){var e,n=p(),r=E(n);if(o=arguments,i=this,c=n,r){if(void 0===u)return s=e=c,u=setTimeout(w,t),d?y(e):a;if(f)return u=setTimeout(w,t),y(c)}return void 0===u&&(u=setTimeout(w,t)),a}return t=b(t)||0,g(n)&&(d=!!n.leading,l=(f="maxWait"in n)?m(b(n.maxWait)||0,t):l,h="trailing"in n?!!n.trailing:h),M.cancel=function(){void 0!==u&&clearTimeout(u),s=0,o=c=i=u=void 0},M.flush=function(){return void 0===u?a:x(p())},M}(e,t,{leading:o,maxWait:t,trailing:i})}},58586:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(36760),o=n.n(r),i=n(2265),l=n(85001),a=n(19555),u=n(80453),c=n(54499),s=n(57437);let d=i.forwardRef((e,t)=>{let{bsPrefix:n,className:r,as:a="div",...u}=e,d=(0,l.vE)(n,"card-header"),f=(0,i.useMemo)(()=>({cardHeaderBsPrefix:d}),[d]);return(0,s.jsx)(c.Z.Provider,{value:f,children:(0,s.jsx)(a,{ref:t,...u,className:o()(r,d)})})});d.displayName="CardHeader";var f=n(9807);let h=i.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:i="div",...a}=e;return r=(0,l.vE)(r,"card-img-overlay"),(0,s.jsx)(i,{ref:t,className:o()(n,r),...a})});h.displayName="CardImgOverlay";let m=i.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:i="a",...a}=e;return r=(0,l.vE)(r,"card-link"),(0,s.jsx)(i,{ref:t,className:o()(n,r),...a})});m.displayName="CardLink";var v=n(2189);let p=i.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:i="p",...a}=e;return r=(0,l.vE)(r,"card-text"),(0,s.jsx)(i,{ref:t,className:o()(n,r),...a})});p.displayName="CardText";var g=n(49360);let b=i.forwardRef((e,t)=>{let{bsPrefix:n,className:r,bg:i,text:u,border:c,body:d=!1,children:f,as:h="div",...m}=e,v=(0,l.vE)(n,"card");return(0,s.jsx)(h,{ref:t,...m,className:o()(r,v,i&&"bg-".concat(i),u&&"text-".concat(u),c&&"border-".concat(c)),children:d?(0,s.jsx)(a.Z,{children:f}):f})});b.displayName="Card";var y=Object.assign(b,{Img:f.Z,Title:g.Z,Subtitle:v.Z,Body:a.Z,Link:m,Text:p,Header:d,Footer:u.Z,ImgOverlay:h})},9807:function(e,t,n){"use strict";var r=n(36760),o=n.n(r),i=n(2265),l=n(85001),a=n(57437);let u=i.forwardRef((e,t)=>{let{bsPrefix:n,className:r,variant:i,as:u="img",...c}=e,s=(0,l.vE)(n,"card-img");return(0,a.jsx)(u,{ref:t,className:o()(i?"".concat(s,"-").concat(i):s,r),...c})});u.displayName="CardImg",t.Z=u},2189:function(e,t,n){"use strict";var r=n(2265),o=n(36760),i=n.n(o),l=n(85001),a=n(94726),u=n(57437);let c=(0,a.Z)("h6"),s=r.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:o=c,...a}=e;return r=(0,l.vE)(r,"card-subtitle"),(0,u.jsx)(o,{ref:t,className:i()(n,r),...a})});s.displayName="CardSubtitle",t.Z=s},75674:function(e,t,n){"use strict";n.d(t,{Z:function(){return L}});var r=n(36760),o=n.n(r),i=n(40718),l=n.n(i),a=n(2265),u=n(57437);let c={type:l().string,tooltip:l().bool,as:l().elementType},s=a.forwardRef((e,t)=>
1{let{as:n="div",className:r,type:i="valid",tooltip:l=!1,...a}=e;return(0,u.jsx)(n,{...a,ref:t,className:o()(r,"".concat(i,"-").concat(l?"tooltip":"feedback"))})});s.displayName="Feedback",s.propTypes=c;var d=n(68440),f=n(40222),h=n(85001);let m=a.forwardRef((e,t)=>{let{bsPrefix:n,className:r,htmlFor:i,...l}=e,{controlId:c}=(0,a.useContext)(f.Z);return n=(0,h.vE)(n,"form-check-label"),(0,u.jsx)("label",{...l,ref:t,htmlFor:i||c,className:o()(r,n)})});m.displayName="FormCheckLabel";var v=n(36788);let p=a.forwardRef((e,t)=>{let{id:n,bsPrefix:r,bsSwitchPrefix:i,inline:l=!1,reverse:c=!1,disabled:p=!1,isValid:g=!1,isInvalid:b=!1,feedbackTooltip:y=!1,feedback:E,feedbackType:w,className:x,style:M,title:N="",type:C="checkbox",label:O,children:S,as:R="input",...k}=e;r=(0,h.vE)(r,"form-check"),i=(0,h.vE)(i,"form-switch");let{controlId:P}=(0,a.useContext)(f.Z),L=(0,a.useMemo)(()=>({controlId:n||P}),[P,n]),T=!S&&null!=O&&!1!==O||(0,v.XW)(S,m),I=(0,u.jsx)(d.Z,{...k,type:"switch"===C?"checkbox":C,ref:t,isValid:g,isInvalid:b,disabled:p,as:R});return(0,u.jsx)(f.Z.Provider,{value:L,children:(0,u.jsx)("div",{style:M,className:o()(x,T&&r,l&&"".concat(r,"-inline"),c&&"".concat(r,"-reverse"),"switch"===C&&i),children:S||(0,u.jsxs)(u.Fragment,{children:[I,T&&(0,u.jsx)(m,{title:N,children:O}),E&&(0,u.jsx)(s,{type:w,tooltip:y,children:E})]})})})});p.displayName="FormCheck";var g=Object.assign(p,{Input:d.Z,Label:m});n(58768);let b=a.forwardRef((e,t)=>{let{bsPrefix:n,type:r,size:i,htmlSize:l,id:c,className:s,isValid:d=!1,isInvalid:m=!1,plaintext:v,readOnly:p,as:g="input",...b}=e,{controlId:y}=(0,a.useContext)(f.Z);return n=(0,h.vE)(n,"form-control"),(0,u.jsx)(g,{...b,type:r,size:l,ref:t,readOnly:p,id:c||y,className:o()(s,v?"".concat(n,"-plaintext"):n,i&&"".concat(n,"-").concat(i),"color"===r&&"".concat(n,"-color"),d&&"is-valid",m&&"is-invalid")})});b.displayName="FormControl";var y=Object.assign(b,{Feedback:s});let E=a.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:i="div",...l}=e;return r=(0,h.vE)(r,"form-floating"),(0,u.jsx)(i,{ref:t,className:o()(n,r),...l})});E.displayName="FormFloating";let w=a.forwardRef((e,t)=>{let{controlId:n,as:r="div",...o}=e,i=(0,a.useMemo)(()=>({controlId:n}),[n]);return(0,u.jsx)(f.Z.Provider,{value:i,children:(0,u.jsx)(r,{...o,ref:t})})});w.displayName="FormGroup";var x=n(29990);let M=a.forwardRef((e,t)=>{let{bsPrefix:n,className:r,id:i,...l}=e,{controlId:c}=(0,a.useContext)(f.Z);return n=(0,h.vE)(n,"form-range"),(0,u.jsx)("input",{...l,type:"range",ref:t,className:o()(r,n),id:i||c})});M.displayName="FormRange";let N=a.forwardRef((e,t)=>{let{bsPrefix:n,size:r,htmlSize:i,className:l,isValid:c=!1,isInvalid:s=!1,id:d,...m}=e,{controlId:v}=(0,a.useContext)(f.Z);return n=(0,h.vE)(n,"form-select"),(0,u.jsx)("select",{...m,size:i,ref:t,className:o()(l,n,r&&"".concat(n,"-").concat(r),c&&"is-valid",s&&"is-invalid"),id:d||v})});N.displayName="FormSelect";let C=a.forwardRef((e,t)=>{let{bsPrefix:n,className:r,as:i="small",muted:l,...a}=e;return n=(0,h.vE)(n,"form-text"),(0,u.jsx)(i,{...a,ref:t,className:o()(r,n,l&&"text-muted")})});C.displayName="FormText";let O=a.forwardRef((e,t)=>(0,u.jsx)(g,{...e,ref:t,type:"switch"}));O.displayName="Switch";var S=Object.assign(O,{Input:g.Input,Label:g.Label});let R=a.forwardRef((e,t)=>{let{bsPrefix:n,className:r,children:i,controlId:l,label:a,...c}=e;return n=(0,h.vE)(n,"form-floating"),(0,u.jsxs)(w,{ref:t,className:o()(r,n),controlId:l,...c,children:[i,(0,u.jsx)("label",{htmlFor:l,children:a})]})});R.displayName="FloatingLabel";let k={_ref:l().any,validated:l().bool,as:l().elementType},P=a.forwardRef((e,t)=>{let{className:n,validated:r,as:i="form",...l}=e;return(0,u.jsx)(i,{...l,ref:t,className:o()(n,r&&"was-validated")})});P.displayName="Form",P.propTypes=k;var L=Object.assign(P,{Group:w,Control:y,Floating:E,Check:g,Switch:S,Label:x.Z,Text:C,Range:M,Select:N,FloatingLabel:R})},40456:function(e,t,n){"use strict";n.d(t,{Z:function(){return H}});var r=n(18169),o=n(40718),i=n.n(o),l=n(2265),a=n(27459);let u=2147483648-1;n(58768);var c=n(21668),s=n(14591),d=n(88793),f=n(36760),h=n.n(f),m=n(54887),v=n(44397),p=n(67906),g=n(73982),b=n(16392),y=n(54946),E=n(99763),w=n(17669);let x=()=>{};var M=function(e,t,{disabled:n,clickTrigger:r}={}){let o=t||x;(0,w.Z)(e,o,{disabled:n,clickTrigger:r});let i=(0,E.Z)(e=>{(0,d.kl)(e)&&o(e)});(0,l.useEffect)(()=>
1{if(n||null==e)return;let t=(0,y.Z)((0,w.f)(e)),r=(t.defaultView||window).event,o=(0,b.Z)(t,"keyup",e=>{if(e===r){r=void 0;return}i(e)});return()=>{o()}},[e,n,i])},N=n(23980),C=n(55805),O=n(77863);let S=l.forwardRef((e,t)=>{let{flip:n,offset:r,placement:o,containerPadding:i,popperConfig:a={},transition:u,runTransition:c}=e,[s,d]=(0,v.Z)(),[f,h]=(0,v.Z)(),b=(0,p.Z)(d,t),y=(0,N.Z)(e.container),E=(0,N.Z)(e.target),[w,x]=(0,l.useState)(!e.show),S=(0,g.Z)(E,s,(0,C.ZP)({placement:o,enableEvents:!!e.show,containerPadding:i||5,flip:n,offset:r,arrowElement:f,popperConfig:a}));e.show&&w&&x(!1);let R=e.show||!w;if(M(s,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!R)return null;let{onExit:k,onExiting:P,onEnter:L,onEntering:T,onEntered:I}=e,D=e.children(Object.assign({},S.attributes.popper,{style:S.styles.popper,ref:b}),{popper:S,placement:o,show:!!e.show,arrowProps:Object.assign({},S.attributes.arrow,{style:S.styles.arrow,ref:h})});return D=(0,O.sD)(u,c,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:D,onExit:k,onExiting:P,onExited:(...t)=>{x(!0),e.onExited&&e.onExited(...t)},onEnter:L,onEntering:T,onEntered:I}),y?m.createPortal(D,y):null});S.displayName="Overlay";var R=n(98671),k=n(50626),P=n(92258),L=n(85001),T=n(57437);let I=l.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:o="div",...i}=e;return r=(0,L.vE)(r,"popover-header"),(0,T.jsx)(o,{ref:t,className:h()(n,r),...i})});I.displayName="PopoverHeader";let D=l.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:o="div",...i}=e;return r=(0,L.vE)(r,"popover-body"),(0,T.jsx)(o,{ref:t,className:h()(n,r),...i})});D.displayName="PopoverBody";var Z=n(21022),j=n(76880);let F=l.forwardRef((e,t)=>{let{bsPrefix:n,placement:r="right",className:o,style:i,children:l,body:a,arrowProps:u,hasDoneInitialMeasure:c,popper:s,show:d,...f}=e,m=(0,L.vE)(n,"popover"),v=(0,L.SC)(),[p]=(null==r?void 0:r.split("-"))||[],g=(0,Z.z)(p,v),b=i;return d&&!c&&(b={...i,...(0,j.Z)(null==s?void 0:s.strategy)}),(0,T.jsxs)("div",{ref:t,role:"tooltip",style:b,"x-placement":p,className:h()(o,m,p&&"bs-popover-".concat(g)),...f,children:[(0,T.jsx)("div",{className:"popover-arrow",...u}),a?(0,T.jsx)(D,{children:l}):l]})});F.displayName="Popover";var _=Object.assign(F,{Header:I,Body:D,POPPER_OFFSET:[0,8]}),B=n(32491),X=n(21636),A=n(51409);let z=l.forwardRef((e,t)=>{let{children:n,transition:r=X.Z,popperConfig:o={},rootClose:i=!1,placement:a="top",show:u=!1,...c}=e,d=(0,l.useRef)({}),[f,m]=(0,l.useState)(null),[v,p]=function(e){let t=(0,l.useRef)(null),n=(0,L.vE)(void 0,"popover"),r=(0,L.vE)(void 0,"tooltip"),o=(0,l.useMemo)(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if((0,P.Z)(t.current,n))return _.POPPER_OFFSET;if((0,P.Z)(t.current,r))return B.Z.TOOLTIP_OFFSET}return[0,0]}}}),[e,n,r]);return[t,[o]]}(c.offset),g=(0,s.Z)(t,v),b=!0===r?X.Z:r||void 0,y=(0,R.Z)(e=>{m(e),null==o||null==o.onFirstUpdate||o.onFirstUpdate(e)});return(0,k.Z)(()=>{f&&c.target&&(null==d.current.scheduleUpdate||d.current.scheduleUpdate())},[f,c.target]),(0,l.useEffect)(()=>{u||m(null)},[u]),(0,T.jsx)(S,{...c,ref:g,popperConfig:{...o,modifiers:p.concat(o.modifiers||[]),onFirstUpdate:y},transition:b,rootClose:i,placement:a,show:u,children:(e,t)=>{var i;let{arrowProps:a,popper:u,show:c}=t;!function(e,t){let{ref:n}=e,{ref:r}=t;e.ref=n.__wrapped||(n.__wrapped=e=>n((0,A.Z)(e))),t.ref=r.__wrapped||(r.__wrapped=e=>r((0,A.Z)(e)))}(e,a);let s=null==u?void 0:u.placement,m=Object.assign(d.current,{state:null==u?void 0:u.state,scheduleUpdate:null==u?void 0:u.update,placement:s,outOfBoundaries:(null==u||null==(i=u.state)||null==(i=i.modifiersData.hide)?void 0:i.isReferenceHidden)||!1,strategy:o.strategy}),v=!!f;return"function"==typeof n?n({...e,placement:s,show:c,...!r&&c&&{className:"show"},popper:m,arrowProps:a,hasDoneInitialMeasure:v}):l.cloneElement(n,{...e,placement:s,arrowProps:a,popper:m,hasDoneInitialMeasure:v,className:h()(n.props.className,!r&&c&&"show"),style:{...n.props.style,...e.style}})}})});function W(e,t,n){let[o]=t,i=o.currentTarget,l=o.relatedTarget||o.nativeEvent[n];l&&l===i||(0,r.Z)(i,l)||e(...t)}z.displayName="Overlay",i().oneOf(["click","hover","focus"]);var H=e=>{let{trigger:t=["hover","focus"],overlay:n,children:r,popperConfig:o={},show:i,defaultShow:f=!1,onToggle:h,delay:m,placement:v,flip:p=v&&-1!==v.indexOf("auto"),...g}=e,b=(0,l.useRef)(null),y=(0,s.Z)(b,(0,d.IV)(r)),E=function(){let e=function(){let e=(0,l.useRef)(!0),t=(0,l.useRef)(()=>e.current);return(0,l.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}(),t=(0,l.useRef)();return(0,a.Z)(()=>clearTimeout(t.current)),(0,l.useMemo)(()=>{let n=()=>clearTimeout(t.current);return{set:function(r,o=0){e()&&(n(),o<=u?t.current=setTimeout(r,o):function e(t,n,r){let o=r-Date.now();t.current=o<=u?setTimeout(n,o):setTimeout(()=>e(t,n,r),u)}(t,r,Date.now()+o))},clear:n,handleRef:t}},[])}(),w=(0,l.useRef)(""),[x,M]=(0,c.$c)(i,f,h),N=m&&"object"==typeof m?m:{show:m,hide:m},{onFocus:C,onBlur:O,onClick:S}="function"!=typeof r?l.Children.only(r).props:{},R=(0,l.useCallback)(()=>
1{if(E.clear(),w.current="show",!N.show){M(!0);return}E.set(()=>{"show"===w.current&&M(!0)},N.show)},[N.show,M,E]),k=(0,l.useCallback)(()=>{if(E.clear(),w.current="hide",!N.hide){M(!1);return}E.set(()=>{"hide"===w.current&&M(!1)},N.hide)},[N.hide,M,E]),P=(0,l.useCallback)(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];R(),null==C||C(...t)},[R,C]),L=(0,l.useCallback)(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];k(),null==O||O(...t)},[k,O]),I=(0,l.useCallback)(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];M(!x),null==S||S(...t)},[S,M,x]),D=(0,l.useCallback)(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];W(R,t,"fromElement")},[R]),Z=(0,l.useCallback)(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];W(k,t,"toElement")},[k]),j=null==t?[]:[].concat(t),F={ref:e=>{y((0,A.Z)(e))}};return -1!==j.indexOf("click")&&(F.onClick=I),-1!==j.indexOf("focus")&&(F.onFocus=P,F.onBlur=L),-1!==j.indexOf("hover")&&(F.onMouseOver=D,F.onMouseOut=Z),(0,T.jsxs)(T.Fragment,{children:["function"==typeof r?r(F):(0,l.cloneElement)(r,F),(0,T.jsx)(z,{...g,show:x,onHide:k,flip:p,placement:v,popperConfig:o,target:b.current,children:n})]})}},98820:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(2265),o=n(36760),i=n.n(o),l=n(85001),a=n(4670);function u(e){let{animation:t,bg:n,bsPrefix:r,size:o,...u}=e;r=(0,l.vE)(r,"placeholder");let[{className:c,...s}]=(0,a.useCol)(u);return{...s,className:i()(c,t?"".concat(r,"-").concat(t):r,o&&"".concat(r,"-").concat(o),n&&"bg-".concat(n))}}var c=n(24076),s=n(57437);let d=r.forwardRef((e,t)=>{let n=u(e);return(0,s.jsx)(c.Z,{...n,ref:t,disabled:!0,tabIndex:-1})});d.displayName="PlaceholderButton";let f=r.forwardRef((e,t)=>{let{as:n="span",...r}=e,o=u(r);return(0,s.jsx)(n,{...o,ref:t})});f.displayName="Placeholder";var h=Object.assign(f,{Button:d})},4273:function(e,t,n){"use strict";var r=n(36760),o=n.n(r),i=n(2265),l=n(85001),a=n(57437);let u=i.forwardRef((e,t)=>{let{bsPrefix:n,className:r,striped:i,bordered:u,borderless:c,hover:s,size:d,variant:f,responsive:h,...m}=e,v=(0,l.vE)(n,"table"),p=o()(r,v,f&&"".concat(v,"-").concat(f),d&&"".concat(v,"-").concat(d),i&&"".concat(v,"-").concat("string"==typeof i?"striped-".concat(i):"striped"),u&&"".concat(v,"-bordered"),c&&"".concat(v,"-borderless"),s&&"".concat(v,"-hover")),g=(0,a.jsx)("table",{...m,className:p,ref:t});if(h){let e="".concat(v,"-responsive");return"string"==typeof h&&(e="".concat(e,"-").concat(h)),(0,a.jsx)("div",{className:e,children:g})}return g});u.displayName="Table",t.Z=u},32491:function(e,t,n){"use strict";var r=n(36760),o=n.n(r),i=n(2265),l=n(85001),a=n(21022),u=n(76880),c=n(57437);let s=i.forwardRef((e,t)=>{let{bsPrefix:n,placement:r="right",className:i,style:s,children:d,arrowProps:f,hasDoneInitialMeasure:h,popper:m,show:v,...p}=e;n=(0,l.vE)(n,"tooltip");let g=(0,l.SC)(),[b]=(null==r?void 0:r.split("-"))||[],y=(0,a.z)(b,g),E=s;return v&&!h&&(E={...s,...(0,u.Z)(null==m?void 0:m.strategy)}),(0,c.jsxs)("div",{ref:t,style:E,role:"tooltip","x-placement":b,className:o()(i,n,"bs-tooltip-".concat(y)),...p,children:[(0,c.jsx)("div",{className:"tooltip-arrow",...f}),(0,c.jsx)("div",{className:"".concat(n,"-inner"),children:d})]})});s.displayName="Tooltip",t.Z=Object.assign(s,{TOOLTIP_OFFSET:[0,6]})},76880:function(e,t,n){"use strict";function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"absolute";return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}n.d(t,{Z:function(){return r}})},21022:function(e,t,n){"use strict";function r(e,t){let n=e;return"left"===e?n=t?"end":"start":"right"===e&&(n=t?"start":"end"),n}n.d(t,{z:function(){return r}}),n(2265)},78339:function(e,t,n){"use strict";var r=n(14123),o=n.n(r),i=n(79118),l=n.n(i),a=n(2265),u=function(e,t){return(u=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");
1o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".magnifier {\n  position: relative;\n  display: inline-block;\n  line-height: 0;\n}\n\n.magnifier-image {\n  cursor: none;\n}\n\n.magnifying-glass {\n  position: absolute;\n  z-index: 1;\n  background: #e5e5e5 no-repeat;\n  border: solid #ebebeb;\n  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);\n  opacity: 0;\n  transition: opacity 0.3s;\n  pointer-events: none;\n}\n.magnifying-glass.circle {\n  border-radius: 50%;\n}\n.magnifying-glass.visible {\n  opacity: 1;\n}");var s=function(e){function t(t){var n=e.call(this,t)||this;return n.state={showZoom:!1,mgOffsetX:0,mgOffsetY:0,relX:0,relY:0},n.componentDidMount=function(){n.img.addEventListener("mouseenter",n.onMouseEnter,{passive:!1}),n.img.addEventListener("mousemove",n.onMouseMove,{passive:!1}),n.img.addEventListener("mouseout",n.onMouseOut,{passive:!1}),n.img.addEventListener("touchstart",n.onTouchStart,{passive:!1}),n.img.addEventListener("touchmove",n.onTouchMove,{passive:!1}),n.img.addEventListener("touchend",n.onTouchEnd,{passive:!1}),window.addEventListener("resize",n.calcImgBoundsDebounced),window.addEventListener("scroll",n.calcImgBoundsDebounced,!0)},n.componentWillUnmount=function(){n.img.removeEventListener("mouseenter",n.onMouseEnter),n.img.removeEventListener("mousemove",n.onMouseMove),n.img.removeEventListener("mouseout",n.onMouseOut),n.img.removeEventListener("touchstart",n.onTouchStart),n.img.removeEventListener("touchmove",n.onTouchMove),n.img.removeEventListener("touchend",n.onTouchEnd),window.removeEventListener("resize",n.calcImgBoundsDebounced),window.removeEventListener("scroll",n.calcImgBoundsDebounced,!0)},n.onMouseEnter=function(){n.calcImgBounds()},n.onMouseMove=function(e){var t=n.props,r=t.mgMouseOffsetX,o=t.mgMouseOffsetY;if(n.imgBounds){var i=e.target,l=(e.clientX-n.imgBounds.left)/i.clientWidth,a=(e.clientY-n.imgBounds.top)/i.clientHeight;n.setState({mgOffsetX:r,mgOffsetY:o,relX:l,relY:a,showZoom:!0})}},n.onMouseOut=function(){n.setState({showZoom:!1})},n.onTouchStart=function(e){e.preventDefault(),n.calcImgBounds()},n.onTouchMove=function(e){if(e.preventDefault(),n.imgBounds){var t=e.target,r=n.props,o=r.mgTouchOffsetX,i=r.mgTouchOffsetY,l=(e.targetTouches[0].clientX-n.imgBounds.left)/t.clientWidth,a=(e.targetTouches[0].clientY-n.imgBounds.top)/t.clientHeight;l>=0&&a>=0&&l<=1&&a<=1?n.setState({mgOffsetX:o,mgOffsetY:i,relX:l,relY:a,showZoom:!0}):n.setState({showZoom:!1})}},n.onTouchEnd=function(){n.setState({showZoom:!1})},n.calcImgBounds=function(){n.img&&(n.imgBounds=n.img.getBoundingClientRect())},n.render=function(){var e=n.props,t=e.src,r=e.width,o=e.height,i=e.className,l=e.zoomImgSrc,u=e.zoomFactor,s=e.mgHeight,d=e.mgWidth,f=e.mgBorderWidth,h=(e.mgMouseOffsetX,e.mgMouseOffsetY,e.mgTouchOffsetX,e.mgTouchOffsetY,e.mgShape),m=e.mgShowOverflow,v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}(e,["src","width","height","className","zoomImgSrc","zoomFactor","mgHeight","mgWidth","mgBorderWidth","mgMouseOffsetX","mgMouseOffsetY","mgTouchOffsetX","mgTouchOffsetY","mgShape","mgShowOverflow"]),p=n.state,g=p.mgOffsetX,b=p.mgOffsetY,y=p.relX,E=p.relY,w=p.showZoom,x="magnifying-glass";return w&&(x+=" visible"),"circle"===h&&(x+=" circle"),a.createElement("div",{className:"magnifier "+i,style:{width:r,height:o,overflow:m?"visible":"hidden"}},a.createElement("img",c({className:"magnifier-image",src:t,width:"100%",height:"100%"},v,{onLoad:function(){n.calcImgBounds()},ref:function(e){n.img=e}})),n.imgBounds&&a.createElement("div",{className:x,style:{width:d,height:s,left:"calc("+100*y+"% - "+d/2+"px + "+g+"px - "+f+"px)",top:"calc("+100*E+"% - "+s/2+"px + "+b+"px - "+f+"px)",backgroundImage:'url("'+(l||t)+'")',backgroundPosition:"calc("+100*y+"% + "+d/2+"px - "+y*d+"px) calc("+100*E+"% + "+s/2+"px - "+E*d+"px)",backgroundSize:u*n.imgBounds.width+"% "+u*n.imgBounds.height+"%",borderWidth:f}}))},n.onMouseMove=l()(n.onMouseMove.bind(n),20,{trailing:!1}),n.onTouchMove=l()(n.onTouchMove.bind(n),20,{trailing:!1}),n.calcImgBoundsDebounced=o()(n.calcImgBounds,200),n}return!function(e,t){function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.defaultProps={width:"100%",height:"auto",className:"",zoomImgSrc:"",zoomFactor:1.5,mgWidth:150,mgHeight:150,mgBorderWidth:2,mgShape:"circle",mgShowOverflow:!0,mgMouseOffsetX:0,mgMouseOffsetY:0,mgTouchOffsetX:-50,mgTouchOffsetY:-50},t}
1(a.PureComponent);t.Z=s},80320:function(){},83522:function(){},48700:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(14993),o=n(55036);function i(e,t,n){let i=(0,o.Q)(e,null==n?void 0:n.in);return isNaN(t)?(0,r.L)((null==n?void 0:n.in)||e,NaN):(t&&i.setDate(i.getDate()+t),i)}},25697:function(e,t,n){"use strict";n.d(t,{y:function(){return o}});var r=n(14993);function o(e){return(0,r.L)(e,Date.now())}},60817:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(77967);function o(e,t,n){let[o,i]=(0,r.d)(null==n?void 0:n.in,e,t);return 12*(o.getFullYear()-i.getFullYear())+(o.getMonth()-i.getMonth())}},32864:function(e,t,n){"use strict";n.d(t,{j:function(){return i}});var r=n(77967),o=n(75959);function i(e,t,n){let[i,a]=(0,r.d)(null==n?void 0:n.in,e,t),u=l(i,a),c=Math.abs((0,o.w)(i,a));i.setDate(i.getDate()-u*c);let s=Number(l(i,a)===-u),d=u*(c-s);return 0===d?0:d}function l(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}},26062:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});var r=n(55036);function o(e,t){let n=(0,r.Q)(e,null==t?void 0:t.in),o=n.getMonth();return n.setFullYear(n.getFullYear(),o+1,0),n.setHours(23,59,59,999),n}},70896:function(e,t,n){"use strict";n.d(t,{Q:function(){return h}});var r=n(25697),o=n(89897),i=n(24293),l=n(85365),a=n(77967),u=n(14835),c=n(29955),s=n(60817),d=n(55036),f=n(26062);function h(e,t){return function(e,t,n){var r,h,m,v,p,g;let b;let y=(0,i.j)(),E=null!==(h=null!==(r=null==n?void 0:n.locale)&&void 0!==r?r:y.locale)&&void 0!==h?h:o._,w=(0,u.U)(e,t);if(isNaN(w))throw RangeError("Invalid time value");let x=Object.assign({},n,{addSuffix:null==n?void 0:n.addSuffix,comparison:w}),[M,N]=(0,a.d)(null==n?void 0:n.in,...w>0?[t,e]:[e,t]),C=(m=N,v=M,(g=null==void 0?void 0:(void 0).roundingMethod,e=>{let t=(g?Math[g]:Math.trunc)(e);return 0===t?0:t})((+(0,d.Q)(m)-+(0,d.Q)(v))/1e3)),O=Math.round((C-((0,l.D)(N)-(0,l.D)(M))/1e3)/60);if(O<2){if(null==n?void 0:n.includeSeconds){if(C<5)return E.formatDistance("lessThanXSeconds",5,x);if(C<10)return E.formatDistance("lessThanXSeconds",10,x);if(C<20)return E.formatDistance("lessThanXSeconds",20,x);if(C<40)return E.formatDistance("halfAMinute",0,x);else if(C<60)return E.formatDistance("lessThanXMinutes",1,x);else return E.formatDistance("xMinutes",1,x)}return 0===O?E.formatDistance("lessThanXMinutes",1,x):E.formatDistance("xMinutes",O,x)}if(O<45)return E.formatDistance("xMinutes",O,x);if(O<90)return E.formatDistance("aboutXHours",1,x);if(O<c.H_)return E.formatDistance("aboutXHours",Math.round(O/60),x);if(O<2520)return E.formatDistance("xDays",1,x);if(O<c.fH){let e=Math.round(O/c.H_);return E.formatDistance("xDays",e,x)}if(O<2*c.fH)return b=Math.round(O/c.fH),E.formatDistance("aboutXMonths",b,x);if((b=function(e,t,n){let[r,o,i]=(0,a.d)(void 0,e,e,t),l=(0,u.U)(o,i),c=Math.abs((0,s.T)(o,i));if(c<1)return 0;1===o.getMonth()&&o.getDate()>27&&o.setDate(30),o.setMonth(o.getMonth()-l*c);let h=(0,u.U)(o,i)===-l;(function(e,t){let n=(0,d.Q)(e,void 0);return+function(e,t){let n=(0,d.Q)(e,null==t?void 0:t.in);return n.setHours(23,59,59,999),n}(n,void 0)==+(0,f.V)(n,void 0)})(r)&&1===c&&1===(0,u.U)(r,i)&&(h=!1);let m=l*(c-+h);return 0===m?0:m}(N,M))<12){let e=Math.round(O/c.fH);return E.formatDistance("xMonths",e,x)}{let e=b%12,t=Math.trunc(b/12);return e<3?E.formatDistance("aboutXYears",t,x):e<9?E.formatDistance("overXYears",t,x):E.formatDistance("almostXYears",t+1,x)}}(e,(0,r.y)(e),t)}},6496:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});var r=n(77967),o=n(54405);function i(e,t,n){let[i,l]=(0,r.d)(null==n?void 0:n.in,e,t);return+(0,o.b)(i)==+(0,o.b)(l)}},56614:function(e,t,n){"use strict";n.d(t,{z:function(){return l}});var r=n(14993),o=n(25697),i=n(6496);function l(e,t){return(0,i.K)((0,r.L)((null==t?void 0:t.in)||e,e),(0,o.y)((null==t?void 0:t.in)||e))}},42845:function(e,t,n){"use strict";n.d(t,{P:function(){return l}});var r=n(48700),o=n(25697),i=n(6496);function l(e,t){return(0,i.K)(e,(0,r.E)((0,o.y)((null==t?void 0:t.in)||e),1),t)}},28819:function(e,t,n){"use strict";n.d(t,{YD:function(){return c}});var r=n(2265),o=Object.defineProperty,i=new Map,l=new WeakMap,a=0,u=void 0;function c(){var e;let{threshold:t,delay:n,trackVisibility:o,rootMargin:c,root:s,triggerOnce:d,skip:f,initialInView:h,fallbackInView:m,onChange:v}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[p,g]=r.useState(null),b=r.useRef(v),[y,E]=r.useState({inView:!!h,entry:void 0});b.current=v,r.useEffect(()=>{let e;if(!f&&p)return e=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u;if(void 0===window.IntersectionObserver&&void 0!==r){let o=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),()=>{}}let{id:o,observer:c,elements:s}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var n;return"".concat(t,"_").concat("root"===t?(n=e.root)?(l.has(n)||(a+=1,l.set(n,a.toString())),l.get(n)):"0":e[t])}).toString(),n=i.get(t);if(!n){let r;let o=new Map,l=new IntersectionObserver(t=>{t.forEach(t=>{var n;let i=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(n=o.get(t.target))||n.forEac
1h(e=>{e(i,t)})})},e);r=l.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:l,elements:o},i.set(t,n)}return n}(n),d=s.get(e)||[];return s.has(e)||s.set(e,d),d.push(t),c.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(s.delete(e),c.unobserve(e)),0===s.size&&(c.disconnect(),i.delete(o))}}(p,(t,n)=>{E({inView:t,entry:n}),b.current&&b.current(t,n),n.isIntersecting&&d&&e&&(e(),e=void 0)},{root:s,rootMargin:c,threshold:t,trackVisibility:o,delay:n},m),()=>{e&&e()}},[Array.isArray(t)?t.toString():t,p,s,c,d,f,o,m,n]);let w=null==(e=y.entry)?void 0:e.target,x=r.useRef(void 0);p||!w||d||f||x.current===w||(x.current=w,E({inView:!!h,entry:void 0}));let M=[g,y.inView,y.entry];return M.ref=M[0],M.inView=M[1],M.entry=M[2],M}r.Component},82442:function(e,t,n){"use strict";n.d(t,{$0:function(){return eN},Ac:function(){return p},CT:function(){return k},Dy:function(){return eR},Eq:function(){return b},Fy:function(){return y},Ju:function(){return R},KL:function(){return O},NM:function(){return w},Nc:function(){return f},OL:function(){return eE},OV:function(){return J},P0:function(){return eT},QB:function(){return x},RD:function(){return Q},Su:function(){return eS},TX:function(){return eh},U2:function(){return ef},VI:function(){return M},Wy:function(){return d},Xl:function(){return m},ZP:function(){return e1},_7:function(){return ew},bQ:function(){return eD},bc:function(){return eF},bt:function(){return ey},cO:function(){return v},gJ:function(){return h},hI:function(){return U},hU:function(){return es},iv:function(){return L},l6:function(){return F},mw:function(){return I},nq:function(){return Z},oc:function(){return G},t$:function(){return eH},tS:function(){return H},u9:function(){return ex},wQ:function(){return T},x$:function(){return g}});var r,o,i,l,a=n(2265),u=n(15575),c=n(54887);let s="yarl__";function d(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}function f(e){return"".concat(s).concat(e)}function h(e){return"--".concat(s).concat(e)}function m(e,t){return"".concat(e).concat(t?"_".concat(t):"")}function v(e){return t=>m(e,t)}function p(e,t){var n;return null!==(n=null==e?void 0:e[t])&&void 0!==n?n:t}function g(e,t,n){return p(e,"{index} of {total}").replace(/\{index}/g,"".concat(S(n,t.length)+1)).replace(/\{total}/g,"".concat(t.length))}function b(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return()=>{t.forEach(e=>{e()})}}function y(e,t,n){return()=>{let r=a.useContext(n);if(!r)throw Error("".concat(e," must be used within a ").concat(t,".Provider"));return r}}function E(){return"undefined"!=typeof window}function w(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 x(e){return void 0===e.type||"image"===e.type}function M(e,t){return e.imageFit===u.rO||e.imageFit!==u.j3&&t===u.rO}function N(e){return"string"==typeof e?Number.parseInt(e,10):e}function C(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=N(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function O(){return(E()?null==window?void 0:window.devicePixelRatio:void 0)||1}function S(e,t){return t>0?(e%t+t)%t:0}function R(e){return e.length>0}function k(e,t){return e[S(t,e.length)]}function P(e,t){return R(e)?k(e,t):void 0}function L(e){return x(e)?e.src:void 0}function T(e,t,n){if(!n)return e;let{buttons:r,...o}=e,i=r.findIndex(e=>e===t),l=a.isValidElement(n)?a.cloneElement(n,{key:t},null):n;if(i>=0){let e=[...r];return e.splice(i,1,l),{buttons:e,...o}}return{buttons:[l,...r],...o}}function I(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 D=Number(a.version.split(".")[0])>=19;function Z(e){e.scrollTop}let j={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[u.t9]},labels:{},animation:{fade:250,swipe:500,easing:{fade:"ease",swipe:"ease-out",navigation:"ease-in-out"}},carousel:{finite:!1,preload:2,padding:"16px",spacing:"30%",imageFit:u.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 F(e,t){return{name:e,component:t}}function _(e,t){return{module:e,children:t}}function B(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?[_(t.module,t.children.flatMap(t=>{var o;return null!==(o=e(t,n,r))&&void 0!==o?o:[]}))]:[t]}(e,t,n))&&void 0!==r?r:[]})}let X=a.createContext(null),A=y("useA11yContext","A11yContext",X);function z(e){let{children:t}=e,[n,r]=a.useState(!1),[o,i]=a.useState(!1),l=a.useMemo(()=>({focusWithin:n,trackFocusWithin:(e,t)=>{let n=n=>o=>{var i;o.currentTarget.contains(o.relatedTarget)||r(n),null===(i=n?e:t)||void 0===i||i(o)};return{onFocus:n(!0),onBlur:n(!1)}},autoPlaying:o,setAutoPlaying:i}),[n,o]);return a.createElement(X.Provider,{value:l},t)}let W=a.createContext(null),H=y("useDocument","DocumentContext",W);function Y(e){let{nodeRef:t,children:n}=e,r=a.useMemo(()=>{let e=e=>{var n;return(null===(n=e||t.current)||void 0===n?void 0:n.ownerDocument)||document};return{getOwnerDocument:e,getOwnerWindow:t=>{var n;return(null===(n=e(t))||void 0===n?void 0:n.defaultView)||window}}},[t]);return a.createElement(W.Provider,{value:r},n)}let $=a.createContext(null),U=y("useEvents","EventsContext",$);function V(e){let{children:t}=e,[n]=a.useState({});a.useEffect(()=>()=>
1{Object.keys(n).forEach(e=>delete n[e])},[n]);let r=a.useMemo(()=>{let e=(e,t)=>{var r;null===(r=n[e])||void 0===r||r.splice(0,n[e].length,...n[e].filter(e=>e!==t))};return{publish:function(){for(var e,t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];let[i,l]=r;null===(e=n[i])||void 0===e||e.forEach(e=>e(l))},subscribe:(t,r)=>(n[t]||(n[t]=[]),n[t].push(r),()=>e(t,r)),unsubscribe:e}},[n]);return a.createElement($.Provider,{value:r},t)}let K=a.createContext(null),Q=y("useLightboxProps","LightboxPropsContext",K);function J(e){let{children:t,...n}=e;return a.createElement(K.Provider,{value:n},t)}let q=a.createContext(null),G=y("useLightboxState","LightboxStateContext",q),ee=a.createContext(null),et=y("useLightboxDispatch","LightboxDispatchContext",ee);function en(e,t){switch(t.type){case"swipe":{let{slides:n}=e,r=(null==t?void 0:t.increment)||0,o=e.globalIndex+r,i=S(o,n.length),l=P(n,i);return{slides:n,currentIndex:i,globalIndex:o,currentSlide:l,animation:r||void 0!==t.duration?{increment:r,duration:t.duration,easing:t.easing}:void 0}}case"update":if(t.slides!==e.slides||t.index!==e.currentIndex)return{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:P(t.slides,t.index)};return e;default:throw Error(u.c3)}}function er(e){let{slides:t,index:n,children:r}=e,[o,i]=a.useReducer(en,{slides:t,currentIndex:n,globalIndex:n,currentSlide:P(t,n)}),[l,u]=a.useState(t),[c,s]=a.useState(n);(t!==l||n!==c)&&(u(t),s(n),i({type:"update",slides:t,index:n}));let d=a.useMemo(()=>({...o,state:o,dispatch:i}),[o,i]);return a.createElement(ee.Provider,{value:i},a.createElement(q.Provider,{value:d},r))}let eo=a.createContext(null),ei=y("useRTLContext","RTLContext",eo);function el(e){let{isRTL:t,children:n}=e,r=a.useMemo(()=>({isRTL:t}),[t]);return a.createElement(eo.Provider,{value:r},n)}let ea=a.createContext(null),eu=y("useTimeouts","TimeoutsContext",ea);function ec(e){let{children:t}=e,[n]=a.useState([]);a.useEffect(()=>()=>{n.forEach(e=>window.clearTimeout(e)),n.splice(0,n.length)},[n]);let r=a.useMemo(()=>{let e=e=>{n.splice(0,n.length,...n.filter(t=>t!==e))};return{setTimeout:(t,r)=>{let o=window.setTimeout(()=>{e(o),t()},r);return n.push(o),o},clearTimeout:t=>{void 0!==t&&(e(t),window.clearTimeout(t))}}},[n]);return a.createElement(ea.Provider,{value:r},t)}let es=a.forwardRef(function(e,t){let{label:n,className:r,icon:o,renderIcon:i,onClick:l,style:c,...s}=e,{styles:h,labels:m}=Q(),v=p(m,n);return a.createElement("button",{ref:t,type:"button",title:v,"aria-label":v,className:d(f(u.bg),r),onClick:l,style:{...c,...h.button},...s},i?i():a.createElement(o,{className:f(u.vg),style:h.icon}))});function ed(e,t){let n=e=>a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",...e},t);return n.displayName=e,n}function ef(e,t){return ed(e,a.createElement("g",{fill:"currentColor"},a.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function eh(e,t){return ed(e,a.createElement(a.Fragment,null,a.createElement("defs",null,a.createElement("mask",{id:"strike"},a.createElement("path",{d:"M0 0h24v24H0z",fill:"white"}),a.createElement("path",{d:"M0 0L24 24",stroke:"black",strokeWidth:4}))),a.createElement("path",{d:"M0.70707 2.121320L21.878680 23.292883",stroke:"currentColor",strokeWidth:2}),a.createElement("g",{fill:"currentColor",mask:"url(#strike)"},a.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t)))}let em=ef("Close",a.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),ev=ef("Previous",a.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),ep=ef("Next",a.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),eg=ef("Loading",a.createElement(a.Fragment,null,Array.from({length:8}).map((e,t,n)=>a.createElement("line",{key:t,x1:"12",y1:"6.5",x2:"12",y2:"1.8",strokeLinecap:"round",strokeWidth:"2.6",stroke:"currentColor",strokeOpacity:1/n.length*(t+1),transform:"rotate(".concat(360/n.length*t,", 12, 12)")})))),eb=ef("Error",a.createElement("path",{d:"M21.9,21.9l-8.49-8.49l0,0L3.59,3.59l0,0L2.1,2.1L0.69,3.51L3,5.83V19c0,1.1,0.9,2,2,2h13.17l2.31,2.31L21.9,21.9z M5,18 l3.5-4.5l2.5,3.01L12.17,15l3,3H5z M21,18.17L5.83,3H19c1.1,0,2,0.9,2,2V18.17z"})),ey=E()?a.useLayoutEffect:a.useEffect;function eE(){let[e,t]=a.useState(!1);return a.useEffect(()=>{var e,n;let r=null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-reduced-motion: reduce)");t(null==r?void 0:r.matches);let o=e=>t(e.matches);return null===(n=null==r?void 0:r.addEventListener)||void 0===n||n.call(r,"change",o),()=>{var e;return null===(e=null==r?void 0:r.removeEventListener)||void 0===e?void 0:e.call(r,"change",o)}},[]),e}function ew(e,t){let n=a.useRef(void 0),r=a.useRef(void 0),o=eE();return ey(()=>{var i,l,a;if(e.current&&void 0!==n.current&&!o){let{keyframes:o,duration:u,easing:c,onfinish:s}=t(n.current,e.current.getBoundingClientRect(),function(e){let t=0,n=0,r=0,o=window.getComputedStyle(e).transform.match(/matrix.*\((.+)\)/);
1if(o){let e=o[1].split(",").map(N);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(o&&u){null===(i=r.current)||void 0===i||i.cancel(),r.current=void 0;try{r.current=null===(a=(l=e.current).animate)||void 0===a?void 0:a.call(l,o,{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?void 0:e.playState)==="running"}}}function ex(){let e=a.useRef(null),t=a.useRef(void 0),[n,r]=a.useState();return{setContainerRef:a.useCallback(n=>{e.current=n,t.current&&(t.current.disconnect(),t.current=void 0);let o=()=>{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)};o(),n&&"undefined"!=typeof ResizeObserver&&(t.current=new ResizeObserver(o),t.current.observe(n))},[]),containerRef:e,containerRect:n}}function eM(){let e=a.useRef(void 0),{setTimeout:t,clearTimeout:n}=eu();return a.useCallback((r,o)=>{n(e.current),e.current=t(r,o>0?o:0)},[t,n])}function eN(e){let t=a.useRef(e);return ey(()=>{t.current=e}),a.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call(t,...r)},[])}function eC(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function eO(e,t){return a.useMemo(()=>null==e&&null==t?null:n=>{eC(e,n),eC(t,n)},[e,t])}function eS(){return ei().isRTL}function eR(){let[e]=a.useState({}),t=a.useCallback((t,n)=>{var r;null===(r=e[t])||void 0===r||r.forEach(e=>{n.isPropagationStopped()||e(n)})},[e]);return{registerSensors:a.useMemo(()=>({onPointerDown:e=>t(u.NZ,e),onPointerMove:e=>t(u.N4,e),onPointerUp:e=>t(u.S2,e),onPointerLeave:e=>t(u.pE,e),onPointerCancel:e=>t(u.Vt,e),onKeyDown:e=>t(u.ds,e),onKeyUp:e=>t(u.Bm,e),onWheel:e=>t(u.yq,e)}),[t]),subscribeSensors:a.useCallback((t,n)=>(e[t]||(e[t]=[]),e[t].unshift(n),()=>{let r=e[t];r&&r.splice(0,r.length,...r.filter(e=>e!==n))}),[e])}}function ek(e,t){let n=a.useRef(0),r=eM(),o=eN(function(){for(var t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];n.current=Date.now(),e(...r)});return a.useCallback(function(){for(var e=arguments.length,i=Array(e),l=0;l<e;l++)i[l]=arguments[l];r(()=>{o(...i)},t-(Date.now()-n.current))},[t,o,r])}let eP=v("slide"),eL=v("slide_image");function eT(e){var t,n,r,o,i,l,c,s;let{slide:h,offset:m,render:v,rect:p,imageFit:g,imageProps:b,onClick:y,onLoad:w,onError:x,style:N}=e,[C,O]=a.useState(u.Xe),{publish:S}=U(),{setTimeout:R}=eu(),k=a.useRef(null);a.useEffect(()=>{0===m&&S((0,u.J1)(C))},[m,C,S]);let P=eN(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(O(u.Zv),R(()=>{null==w||w(e)},0))})}),L=a.useCallback(e=>{k.current=e,(null==e?void 0:e.complete)&&P(e)},[P]),T=a.useCallback(e=>{P(e.currentTarget)},[P]),I=eN(()=>{O(u.fS),null==x||x()}),D=M(h,g),Z=(e,t)=>Number.isFinite(e)?e:t,j=Z(Math.max(...(null!==(n=null===(t=h.srcSet)||void 0===t?void 0:t.map(e=>e.width))&&void 0!==n?n:[]).concat(h.width?[h.width]:[]).filter(Boolean)),(null===(r=k.current)||void 0===r?void 0:r.naturalWidth)||0),F=Z(Math.max(...(null!==(i=null===(o=h.srcSet)||void 0===o?void 0:o.map(e=>e.height))&&void 0!==i?i:[]).concat(h.height?[h.height]:[]).filter(Boolean)),(null===(l=k.current)||void 0===l?void 0:l.naturalHeight)||0),_=null===(c=h.srcSet)||void 0===c?void 0:c.slice().sort((e,t)=>e.width-t.width).map(e=>"".concat(e.src," ").concat(e.width,"w")).join(", "),B=_&&p&&E()?"".concat(Math.round(Math.min(p&&!D&&h.width&&h.height?p.height/h.height*h.width:Number.MAX_VALUE,p.width)),"px"):void 0,{style:X,className:A,...z}=("function"==typeof b?b(h):b)||{};return a.createElement(a.Fragment,null,a.createElement("img",{ref:L,onLoad:T,onError:I,onClick:y,draggable:!1,className:d(f(eL()),D&&f(eL("cover")),C!==u.Zv&&f(eL("loading")),A),style:{...j&&F?{maxWidth:"min(".concat(j,"px, 100%)"),maxHeight:"min(".concat(F,"px, 100%)")}:{maxWidth:"100%",maxHeight:"100%"},...N,...X},...z,alt:null!==(s=h.alt)&&void 0!==s?s:"",sizes:B,srcSet:_,src:h.src}),C!==u.Zv&&a.createElement("div",{className:f(eP(u.$L))},C===u.Xe&&((null==v?void 0:v.iconLoading)?v.iconLoading():a.createElement(eg,{className:d(f(u.vg),f(eP(u.Xe)))})),C===u.fS&&((null==v?void 0:v.iconError)?v.iconError():a.createElement(eb,{className:d(f(u.vg),f(eP(u.fS)))}
1))))}let eI=a.forwardRef(function(e,t){let{className:n,children:r,onFocus:o,onBlur:i,...l}=e,u=a.useRef(null),[c,s]=a.useState(!1),{trackFocusWithin:h}=A(),m=eN(()=>{if(u.current){let e="rtl"===window.getComputedStyle(u.current).direction;e!==c&&s(e)}});return a.useEffect(m),a.createElement(Y,{nodeRef:u},a.createElement(el,{isRTL:c},a.createElement("div",{ref:eO(t,u),className:d(f("root"),n),...h(o,i),...l},r)))});function eD(e,t,n,r,o){a.useEffect(()=>o?()=>{}:b(e(u.NZ,t),e(u.N4,n),e(u.S2,r),e(u.pE,r),e(u.Vt,r)),[e,t,n,r,o])}(r=i||(i={}))[r.NONE=0]="NONE",r[r.SWIPE=1]="SWIPE",r[r.PULL=2]="PULL",r[r.ANIMATION=3]="ANIMATION",(o=l||(l={}))[o.NONE=0]="NONE",o[o.SWIPE=1]="SWIPE",o[o.PULL=2]="PULL";let eZ=v("container"),ej=a.createContext(null),eF=y("useController","ControllerContext",ej),e_=F(u.l4,function(e){var t;let{children:n,...r}=e,{carousel:o,animation:c,controller:s,on:m,styles:v,render:p}=r,{closeOnPullUp:g,closeOnPullDown:y,preventDefaultWheelX:E,preventDefaultWheelY:x}=s,[M,N]=a.useState(),O=G(),S=et(),[R,k]=a.useState(i.NONE),P=a.useRef(0),L=a.useRef(0),T=a.useRef(1),{registerSensors:I,subscribeSensors:D}=eR(),{subscribe:Z,publish:j}=U(),F=eM(),_=eM(),B=eM(),{containerRef:X,setContainerRef:A,containerRect:z}=ex(),W=eO(function(e){let{preventDefaultWheelX:t,preventDefaultWheelY:n}=e,r=a.useRef(null),o=eN(e=>{let r=Math.abs(e.deltaX)>Math.abs(e.deltaY);(r&&t||!r&&n||e.ctrlKey)&&e.preventDefault()});return a.useCallback(e=>{var t;e?e.addEventListener("wheel",o,{passive:!1}):null===(t=r.current)||void 0===t||t.removeEventListener("wheel",o),r.current=e},[o])}({preventDefaultWheelX:E,preventDefaultWheelY:x}),A),Y=a.useRef(null),$=eO(Y,void 0),{getOwnerDocument:V}=H(),K=eS(),Q=e=>(K?-1:1)*("number"==typeof e?e:1),J=eN(()=>{var e;return null===(e=X.current)||void 0===e?void 0:e.focus()}),q=eN(()=>r),ee=eN(()=>O),en=a.useCallback(e=>j(u.KN,e),[j]),er=a.useCallback(e=>j(u.Eb,e),[j]),eo=a.useCallback(()=>j(u.t9),[j]),ei=e=>!(o.finite&&(Q(e)>0&&0===O.currentIndex||0>Q(e)&&O.currentIndex===O.slides.length-1)),el=e=>{var t;P.current=e,null===(t=X.current)||void 0===t||t.style.setProperty(h("swipe_offset"),"".concat(Math.round(e),"px"))},ea=e=>{var t,n;L.current=e,T.current=Math.min(Math.max(w(1-(y&&e>0?e:g&&e<0?-e:0)/60*.5,2),.5),1),null===(t=X.current)||void 0===t||t.style.setProperty(h("pull_offset"),"".concat(Math.round(e),"px")),null===(n=X.current)||void 0===n||n.style.setProperty(h("pull_opacity"),"".concat(T.current))},{prepareAnimation:ec}=ew(Y,(e,t,n)=>{if(Y.current&&z)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:c.easing.fade}}),es=(e,t)=>{if(g||y){ea(e);let n=0;Y.current&&(n=c.fade*(t?2:1),ec({rect:Y.current.getBoundingClientRect(),opacity:T.current,duration:n})),B(()=>{ea(0),k(i.NONE)},n),k(i.ANIMATION),t||eo()}},{prepareAnimation:ed,isAnimationPlaying:ef}=ew(Y,(e,t,n)=>{var r;if(Y.current&&z&&(null===(r=O.animation)||void 0===r?void 0:r.duration)){let r=C(o.spacing),i=(r.percent?r.percent*z.width/100:r.pixel)||0;return{keyframes:[{transform:"translate(".concat(Q(O.globalIndex-e.index)*(z.width+i)+e.rect.x-t.x+n.x,"px, 0)")},{transform:"translate(0, 0)"}],duration:O.animation.duration,easing:O.animation.easing}}}),eh=eN(e=>{var t,n;let r=e.offset||0,o=r?c.swipe:null!==(t=c.navigation)&&void 0!==t?t:c.swipe,l=r||ef()?c.easing.swipe:c.easing.navigation,{direction:a}=e,s=null!==(n=e.count)&&void 0!==n?n:1,d=i.ANIMATION,f=o*s;if(!a){let t=null==z?void 0:z.width,n=e.duration||0,i=t?o/t*Math.abs(r):o;0!==s?(n<i?f=f/i*Math.max(n,i/5):t&&(f=o/t*(t-Math.abs(r))),a=Q(r)>0?u.KN:u.Eb):f=o/2}let h=0;a===u.KN?ei(Q(1))?h=-s:(d=i.NONE,f=o):a===u.Eb&&(ei(Q(-1))?h=s:(d=i.NONE,f=o)),_(()=>{el(0),k(i.NONE)},f=Math.round(f)),Y.current&&ed({rect:Y.current.getBoundingClientRect(),index:O.globalIndex}),k(d),j(u.Tn,{type:"swipe",increment:h,duration:f,easing:l})});a.useEffect(()=>{var e,t;(null===(e=O.animation)||void 0===e?void 0:e.increment)&&(null===(t=O.animation)||void 0===t?void 0:t.duration)&&F(()=>S({type:"swipe",increment:0}),O.animation.duration)},[O.animation,S,F]);let em=[D,ei,(null==z?void 0:z.width)||0,c.swipe,()=>k(i.SWIPE),e=>el(e),(e,t)=>eh({offset:e,duration:t,count:1}),e=>eh({offset:e,count:0})],ev=[()=>{y&&k(i.PULL)},e=>ea(e),e=>es(e),e=>es(e,!0)];!function(e,t,n,r,o,i,c,s,d,h,m,v,p,g,b,y){let{disableSwipeNavigation:E,closeOnBackdropClick:w}=e,x=a.useRef(0),M=a.useRef([]),N=a.useRef(void 0),C=a.useRef(0),O=a.useRef(l.NONE),S=a.useCallback(e=>{N.current===e.pointerId&&(N.current=void 0,O.current=l.NONE);let t=M.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),R=a.useCallback(e=>{S(e),e.persist(),M.current.push(e)},[S]),k=a.useCallback(e=>M.current.find(t=>{let{pointerId:n}=t;return e.pointerId===n}
1),[]),P=eN(e=>{R(e)}),L=(e,t)=>m&&e>t||h&&e<-t,T=eN(e=>{let t=k(e);if(t){if(N.current===e.pointerId){let e=Date.now()-C.current,t=x.current;O.current===l.SWIPE?Math.abs(t)>.3*r||Math.abs(t)>5&&e<o?s(t,e):d(t):O.current===l.PULL&&(L(t,60)?g(t,e):b(t)),x.current=0,O.current=l.NONE}else{let{target:n}=e;w&&n instanceof HTMLElement&&n===t.target&&(n.classList.contains(f(u.hD))||n.classList.contains(f(u.af)))&&y()}}S(e)});eD(t,P,eN(e=>{let t=k(e);if(t){let r=N.current===e.pointerId;if(0===e.buttons){r&&0!==x.current?T(e):S(t);return}let o=e.clientX-t.clientX,a=e.clientY-t.clientY;if(void 0===N.current){let t=t=>{R(e),N.current=e.pointerId,C.current=Date.now(),O.current=t};Math.abs(o)>Math.abs(a)&&Math.abs(o)>30&&n(o)?E||(t(l.SWIPE),i()):Math.abs(a)>Math.abs(o)&&L(a,30)&&(t(l.PULL),v())}else r&&(O.current===l.SWIPE?(x.current=o,c(o)):O.current===l.PULL&&(x.current=a,p(a)))}}),T)}(s,...em,g,y,...ev,eo),function(e,t,n,r,o,l,c,s,d){let f=a.useRef(0),h=a.useRef(0),m=a.useRef(void 0),v=a.useRef(void 0),p=a.useRef(0),g=a.useRef(void 0),b=a.useRef(0),{setTimeout:y,clearTimeout:E}=eu(),w=a.useCallback(()=>{m.current&&(E(m.current),m.current=void 0)},[E]),x=a.useCallback(()=>{v.current&&(E(v.current),v.current=void 0)},[E]),M=eN(()=>{e!==i.SWIPE&&(f.current=0,b.current=0,w(),x())});a.useEffect(M,[e,M]);let N=eN(e=>{v.current=void 0,f.current===e&&d(f.current)}),C=eN(t=>{if(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))return;let a=e=>{p.current=e,E(g.current),g.current=e>0?y(()=>{p.current=0,g.current=void 0},300):void 0};if(e===i.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(p.current)){a(t.deltaX);return}if(!n(-t.deltaX))return;if(h.current+=t.deltaX,w(),Math.abs(h.current)>30)h.current=0,a(0),b.current=Date.now(),l();else{let e=h.current;m.current=y(()=>{m.current=void 0,e===h.current&&(h.current=0)},o)}}else if(e===i.SWIPE){let e=f.current-t.deltaX;if(e=Math.min(Math.abs(e),r)*Math.sign(e),f.current=e,c(e),x(),Math.abs(e)>.2*r){a(t.deltaX),s(e,Date.now()-b.current);return}v.current=y(()=>N(e),2*o)}else a(t.deltaX)});a.useEffect(()=>t(u.yq,C),[t,C])}(R,...em);let ep=eN(()=>{s.focus&&V().querySelector(".".concat(f(u.SA)," .").concat(f(eZ())))&&J()});a.useEffect(ep,[ep]);let eg=eN(()=>{var e;null===(e=m.view)||void 0===e||e.call(m,{index:O.currentIndex})});a.useEffect(eg,[O.globalIndex,eg]),a.useEffect(()=>b(Z(u.KN,e=>eh({direction:u.KN,...e})),Z(u.Eb,e=>eh({direction:u.Eb,...e})),Z(u.Tn,e=>S(e))),[Z,eh,S]);let eb=a.useMemo(()=>({prev:en,next:er,close:eo,focus:J,slideRect:z?function(e,t){let n=C(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)}}(z,o.padding):{width:0,height:0},containerRect:z||{width:0,height:0},subscribeSensors:D,containerRef:X,setCarouselRef:$,toolbarWidth:M,setToolbarWidth:N}),[en,er,eo,J,D,z,X,$,M,N,o.padding]);return a.useImperativeHandle(s.ref,()=>({prev:en,next:er,close:eo,focus:J,getLightboxProps:q,getLightboxState:ee}),[en,er,eo,J,q,ee]),a.createElement("div",{ref:W,className:d(f(eZ()),f(u.aN)),style:{...R===i.SWIPE?{[h("swipe_offset")]:"".concat(Math.round(P.current),"px")}:null,...R===i.PULL?{[h("pull_offset")]:"".concat(Math.round(L.current),"px"),[h("pull_opacity")]:"".concat(T.current)}:null,..."none"!==s.touchAction?{[h("controller_touch_action")]:s.touchAction}:null,...v.container},tabIndex:-1,...I},z&&a.createElement(ej.Provider,{value:eb},n,null===(t=p.controls)||void 0===t?void 0:t.call(p)))});function eB(e){return m(u.k0,e)}function eX(e){var t,n,r,o,i;let l,{slide:c,offset:s}=e,h=a.useRef(null),{currentIndex:v,slides:b}=G(),{slideRect:y,focus:E}=eF(),{render:w,carousel:{imageFit:M,imageProps:N},on:{click:C},styles:{slide:O},labels:S}=Q(),{getOwnerDocument:R}=H(),k=0!==s;return a.useEffect(()=>{var e;k&&(null===(e=h.current)||void 0===e?void 0:e.contains(R().activeElement))&&E()},[k,E,R]),a.createElement("div",{ref:h,className:d(f(m(u.hD,void 0)),!k&&f((t="current",m(u.hD,t))),f(u.aN)),inert:D?k:k?"":void 0,style:O,role:"group","aria-roledescription":p(S,"Slide"),"aria-label":g(S,b,v+s)},(!(l=null===(n=w.slide)||void 0===n?void 0:n.call(w,{slide:c,offset:s,rect:y}))&&x(c)&&(l=a.createElement(eT,{slide:c,offset:s,render:w,rect:y,imageFit:M,imageProps:N,onClick:k?void 0:()=>null==C?void 0:C({index:v})})),l?a.createElement(a.Fragment,null,null===(r=w.slideHeader)||void 0===r?void 0:r.call(w,{slide:c}),(null!==(o=w.slideContainer)&&void 0!==o?o:e=>{let{children:t}=e;return t})({slide:c,children:l}),null===(i=w.slideFooter)||void 0===i?void 0:i.call(w,{slide:c})):null))}function eA(){let e=Q().styles.slide;return a.createElement("div",{className:f(u.hD),style:e})}let ez=F(u.k0,function(e){let{carousel:t,labels:n}=e,{slides:r,currentIndex:o,globalIndex:i}=G(),{setCarouselRef:l}=eF(),{autoPlaying:u,focusWithin:c}=A(),s=C(t.spacing),m=C(t.padding),v=I(t,r,1),g=[];if(R(r))for(let e=o-v;e<=o+v;e+=1){let n=k(r,e),l=i-o+e,a=t.finite&&(e<0||e>r.length-1);g.push(a?{key:l}
1:{key:["".concat(l),L(n)].filter(Boolean).join("|"),offset:e-o,slide:n})}return a.createElement("div",{ref:l,className:d(f(eB()),g.length>0&&f(eB("with_slides"))),style:{["".concat(h(eB("slides_count")))]:g.length,["".concat(h(eB("spacing_px")))]:s.pixel||0,["".concat(h(eB("spacing_percent")))]:s.percent||0,["".concat(h(eB("padding_px")))]:m.pixel||0,["".concat(h(eB("padding_percent")))]:m.percent||0},role:"region","aria-live":u&&!c?"off":"polite","aria-roledescription":p(n,"Carousel"),"aria-label":p(n,"Photo gallery")},g.map(e=>{let{key:t,slide:n,offset:r}=e;return n?a.createElement(eX,{key:t,slide:n,offset:r}):a.createElement(eA,{key:t})}))});function eW(){let{carousel:e}=Q(),{slides:t,currentIndex:n}=G();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function eH(e){var t;let n=eS(),{publish:r}=U(),{animation:o,controller:i}=Q(),{prevDisabled:l,nextDisabled:c}=eW(),s=(null!==(t=o.navigation)&&void 0!==t?t:o.swipe)/2,d=ek(()=>r(u.KN),s),f=ek(()=>r(u.Eb),s),h=eN(e=>{switch(e.key){case u.PU:if(!i.closeOnEscape)return;r(u.t9);break;case u.Sl:(n?c:l)||(n?f:d)();break;case u.NH:(n?l:c)||(n?d:f)();break;default:return}e.stopPropagation()});a.useEffect(()=>e(u.ds,h),[e,h])}function eY(e){let{label:t,icon:n,renderIcon:r,action:o,onClick:i,disabled:l,style:u}=e;return a.createElement(es,{label:t,icon:n,renderIcon:r,className:f("navigation_".concat(o)),disabled:l,onClick:i,style:u,...function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=a.useRef(!1);return ey(()=>{t&&n.current&&(n.current=!1,e())},[t,e]),{onFocus:a.useCallback(()=>{n.current=!0},[]),onBlur:a.useCallback(()=>{n.current=!1},[])}}(eF().focus,l)})}let e$=F(u.Op,function(e){let{render:{buttonPrev:t,buttonNext:n,iconPrev:r,iconNext:o},styles:i}=e,{prev:l,next:c,subscribeSensors:s}=eF(),{prevDisabled:d,nextDisabled:f}=eW();return eH(s),a.createElement(a.Fragment,null,t?t():a.createElement(eY,{label:"Previous",action:u.KN,icon:ev,renderIcon:r,style:i.navigationPrev,disabled:d,onClick:l}),n?n():a.createElement(eY,{label:"Next",action:u.Eb,icon:ep,renderIcon:o,style:i.navigationNext,disabled:f,onClick:c}))}),eU=f(u.Tf),eV=f(u.M9);function eK(e,t,n){let 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,"".concat((N(i)||0)+t,"px")),()=>{l?e.style.setProperty(o,l):e.style.removeProperty(o)}}let eQ=F(u.HE,function(e){let{noScroll:{disabled:t},children:n}=e,r=eS(),{getOwnerDocument:o,getOwnerWindow:i}=H();return a.useEffect(()=>{if(t)return()=>{};let e=[],n=i(),{body:l,documentElement:a}=o(),u=Math.round(n.innerWidth-a.clientWidth);if(u>0){e.push(eK(l,u,r));let t=l.getElementsByTagName("*");for(let o=0;o<t.length;o+=1){let i=t[o];"style"in i&&"fixed"===n.getComputedStyle(i).getPropertyValue("position")&&!i.classList.contains(eV)&&e.push(eK(i,u,r))}}return l.classList.add(eU),()=>{l.classList.remove(eU),e.forEach(e=>e())}},[r,t,o,i]),a.createElement(a.Fragment,null,n)});function eJ(e,t,n){let r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}let eq=F(u.SA,function(e){var t;let{portal:{root:n,container:{className:r,style:o,...i}={}},animation:l,styles:s,className:v,on:g,close:b,labels:y,children:E}=e,[w,x]=a.useState(!1),[M,N]=a.useState(!1),C=a.useRef([]),O=a.useRef(null),{setTimeout:S}=eu(),{subscribe:R}=U(),k=eE()?0:l.fade;a.useEffect(()=>(x(!0),()=>{x(!1),N(!1)}),[]);let P=eN(()=>{C.current.forEach(e=>e()),C.current=[]}),L=eN(()=>{var e;N(!1),P(),null===(e=g.exiting)||void 0===e||e.call(g),S(()=>{var e;null===(e=g.exited)||void 0===e||e.call(g),b()},k)});a.useEffect(()=>R(u.t9,L),[R,L]);let T=eN(e=>{var t,n,r;Z(e),N(!0),null===(t=g.entering)||void 0===t||t.call(g);let o=null!==(r=null===(n=e.parentNode)||void 0===n?void 0:n.children)&&void 0!==r?r:[];for(let t=0;t<o.length;t+=1){let n=o[t];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(n.tagName)&&n!==e&&(C.current.push(eJ(n,"inert","")),C.current.push(eJ(n,"aria-hidden","true")))}C.current.push(()=>{var e,t;null===(t=null===(e=O.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}),S(()=>{var e;null===(e=g.entered)||void 0===e||e.call(g)},k)}),I=a.useCallback(e=>{e?T(e):P()},[T,P]);return w?(0,c.createPortal)(a.createElement(eI,{ref:I,className:d(v,r,f(m(u.SA,void 0)),f(u.M9),M&&f((t="open",m(u.SA,t)))),"aria-modal":!0,role:"dialog","aria-label":p(y,"Lightbox"),style:{...l.fade!==j.animation.fade?{[h("fade_animation_duration")]:"".concat(k,"ms")}:null,...l.easing.fade!==j.animation.easing.fade?{[h("fade_animation_timing_function")]:l.easing.fade}:null,...s.root,...o},onFocus:e=>{O.current||(O.current=e.relatedTarget)},...i},E),("function"==typeof n?n():n)||document.body):null}),eG=F(u.lT,function(e){let{children:t}=e;return a.createElement(a.Fragment,null,t)}),e0=F(u.hb,function(e){let{toolbar:{buttons:t},render:{buttonClose:n,iconClose:r},styles:o}=e,{close:i,setToolbarWidth:l}=eF(),{setContainerRef:c,containerRect:s}=ex();ey(()=>{l(null==s?void 0:s.width)},[l,null==s?void 0:s.width]);let d=()=>n?n():a.createElement(es,{key:u.t9,label:"Close",icon:em,renderIcon:r,onClick:i});return a.createElement("div",{ref:c,style:o.toolbar,className:f(m(u.hb,void 0))},null==t?void 0:t.map(e=>e===u.t9?d():e))});function e1(e){let{carousel:t,animation:n,render:r,toolbar:o,controller:i,noScroll:l,on:c,plugins:s,slides:d,index:f,...h}=e,{animation:m,carousel:v,render:p,toolbar:g,controller:b,noScroll:y,on:E,slides:w,index:x,plugins:M,...C}=j,{config:O,augmentation:S}=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,o=e=>{let t=[...r];for(;t.length>0;){let n=t.pop();if((null==n?void 0:n.module.name)===e)return!0;
1(null==n?void 0:n.children)&&t.push(...n.children)}return!1},i=(e,t)=>{if(""===e){r=[_(t,r)];return}r=B(r,e,e=>[_(t,[e])])},l=(e,t)=>{r=B(r,e,e=>[_(e.module,[_(t,e.children)])])},a=(e,t,n)=>{r=B(r,e,e=>{var r;return[_(e.module,[...n?[_(t)]:[],...null!==(r=e.children)&&void 0!==r?r:[],...n?[]:[_(t)]])]})},c=(e,t,n)=>{r=B(r,e,e=>[...n?[_(t)]:[],e,...n?[]:[_(t)]])},s=e=>{l(u.l4,e)},d=(e,t)=>{r=B(r,e,e=>[_(t,e.children)])},f=e=>{r=B(r,e,e=>e.children)},h=e=>{n.push(e)};return t.forEach(e=>{e({contains:o,addParent:i,append:l,addChild:a,addSibling:c,addModule:s,replace:d,remove:f,augment:h})}),{config:r,augmentation:e=>n.reduce((e,t)=>t(e),e)}}([_(eq,[_(eQ,[_(e_,[_(ez),_(e0),_(e$)])])])],s||M),R=S({animation:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{easing:n,...r}=e,{easing:o,...i}=t;return{easing:{...n,...o},...r,...i}}(m,n),carousel:{...v,...t},render:{...p,...r},toolbar:{...g,...o},controller:{...b,...i},noScroll:{...y,...l},on:{...E,...c},...C,...h});return R.open?a.createElement(J,{...R},a.createElement(er,{slides:d||w,index:N(f||x)},a.createElement(ec,null,a.createElement(V,null,a.createElement(z,null,function e(t,n){var r;return a.createElement(t.module.component,{key:t.module.name,...n},null===(r=t.children)||void 0===r?void 0:r.map(t=>e(t,n)))}(_(eG,O),R)))))):null}},50784:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(2265),o=n(82442),i=n(15575);let 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},a=e=>({...l,...e});function u(){let{thumbnails:e}=(0,o.RD)();return a(e)}let c=e=>(0,o.Xl)(i.dA,e),s=e=>c((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"})),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 y({slide:e,index:t,onClick:n,fadeIn:l,fadeOut:a,placeholder:c,onLoseFocus:y}){let E=r.useRef(null),{render:w,styles:x,labels:M}=(0,o.RD)(),{slides:N,globalIndex:C}=(0,o.oc)(),{getOwnerDocument:O}=(0,o.tS)(),{width:S,height:R,imageFit:k}=u(),P=t===C,L=(0,o.$0)(y);return r.useEffect(()=>{a&&O().activeElement===E.current&&L()},[a,L,O]),r.createElement("button",{ref:E,type:"button",className:(0,o.Wy)((0,o.Nc)(i.aN),(0,o.Nc)(s()),P&&(0,o.Nc)(s(h())),l&&(0,o.Nc)(s(m())),a&&(0,o.Nc)(s(v())),c&&(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,...a?{[(0,o.gJ)(s(v(b)))]:`${a.duration}ms`,[(0,o.gJ)(s(v(g)))]:`${a.delay}ms`}:null,...x.thumbnail},onClick:n,"aria-current":!!P||void 0,"aria-label":(0,o.x$)(M,N,t)},e&&function({slide:e,render:t,rect:n,imageFit:l}){var a;let u=null===(a=t.thumbnail)||void 0===a?void 0:a.call(t,{slide:e,render:t,rect:n,imageFit:l});if(u)return u;let c={render:t,rect:n,imageFit:l};if(e.thumbnail)return r.createElement(o.P0,{slide:{src:e.thumbnail},...c});if((0,o.QB)(e))return r.createElement(o.P0,{slide:e,...c});let 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},...c}),r.createElement(d,{className:h})):r.createElement(f,{className:h})}({slide:e,render:w,rect:{width:S,height:R},imageFit:k}))}function E(e){return["top","bottom"].includes(e)}function w(e,t){return t+2*(e.border+e.padding)+e.gap}function x({visible:e,containerRef:t}){let n=r.useRef(null),a=(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:x,subscribeSensors:M}=(0,o.Dy)();(0,o.t$)(M);let N=u(),{position:C,width:O,height:S,border:R,borderStyle:k,borderColor:P,borderRadius:L,padding:T,gap:I,vignette:D}=N,Z=(null==b?void 0:b.duration)!==void 0&&(null==b?void 0:b.increment)||0,j=(null==b?void 0:b.duration)||0,{prepareAnimation:F}=(0,o._7)(n,e=>({keyframes:E(C)?[{transform:`translateX(${(a?-1:1)*w(N,O)*Z+e}px)`},{transform:"translateX(0)"}]:[{transform:`translateY(${w(N,S)*Z+e}px)`},{transform:"translateY(0)"}],duration:j,easing:null==b?void 0:b.easing})),_=(0,o.$0)(()=>{let e=0;if(t.current&&n.current){let r=t.current.getBoundingClientRect(),o=n.current.getBoundingClientRect();e=E(C)?o.left-r.left-(r.width-o.width)/2:o.top-r.top-(r.height-o.height)/2}F(e)});r.useEffect(()=>(0,o.Eq)(f(i.Tn,_)),[f,_]);let B=(0,o.mw)(h,p),X=[];if((0,o.Ju)(p))for(let e=g-B-Math.abs(Z);e<=g+B+Math.abs(Z);e+=1){let t=h.finite&&(e<0||e>p.length-1)||Z<0&&e<g-B||Z>0&&e>g+B?null:(0,o.CT)(p,e),n=[`${e}`,function(e){let{thumbnail:t,poster:n}=e||{thumbnail:"placeholder"};return"string"==typeof t&&t||"string"==typeof n&&n||e&&(0,o.iv)(e)||void 0}
1(t)].filter(Boolean).join("|");X.push({key:n,index:e,slide:t})}let A=e=>()=>{e>g?d(i.Eb,{count:e-g}):e<g&&d(i.KN,{count:g-e})};return r.createElement("div",{className:(0,o.Wy)((0,o.Nc)(c("container")),(0,o.Nc)(i.aN)),style:{...e?null:{display:"none"},...O!==l.width?{[(0,o.gJ)(s("width"))]:`${O}px`}:null,...S!==l.height?{[(0,o.gJ)(s("height"))]:`${S}px`}:null,...R!==l.border?{[(0,o.gJ)(s("border"))]:`${R}px`}:null,...k?{[(0,o.gJ)(s("border_style"))]:k}:null,...P?{[(0,o.gJ)(s("border_color"))]:P}:null,...L!==l.borderRadius?{[(0,o.gJ)(s("border_radius"))]:`${L}px`}:null,...T!==l.padding?{[(0,o.gJ)(s("padding"))]:`${T}px`}:null,...I!==l.gap?{[(0,o.gJ)(s("gap"))]:`${I}px`}:null,...m.thumbnailsContainer}},r.createElement("nav",{ref:n,style:m.thumbnailsTrack,className:(0,o.Wy)((0,o.Nc)(c("track")),(0,o.Nc)(i.aN)),"aria-label":(0,o.Ac)(v,"Thumbnails"),tabIndex:-1,...x},X.map(({key:e,index:t,slide:o})=>{let i=j/Math.abs(Z||1),l=Z>0&&t>g+B-Z&&t<=g+B||Z<0&&t<g-B-Z&&t>=g-B?{duration:i,delay:((Z>0?t-(g+B-Z):g-B-Z-t)-1)*i}:void 0,a=Z>0&&t<g-B||Z<0&&t>g+B?{duration:i,delay:(Z>0?Z-(g-B-t):-Z-(t-(g+B)))*i}:void 0;return r.createElement(y,{key:e,index:t,slide:o,fadeIn:l,fadeOut:a,placeholder:!o,onClick:A(t),onLoseFocus:()=>{var e;return null===(e=n.current)||void 0===e?void 0:e.focus()}})})),D&&r.createElement("div",{className:(0,o.Nc)(c("vignette"))}))}let M=r.createContext(null),N=(0,o.Fy)("useThumbnails","ThumbnailsContext",M);function C({children:e,...t}){let{ref:n,position:i,hidden:l}=a(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(M.Provider,{value:f},r.createElement("div",{ref:d,className:(0,o.Wy)((0,o.Nc)(c()),(0,o.Nc)(c(`${i}`)))},["start","top"].includes(i)&&r.createElement(x,{containerRef:d,visible:u}),r.createElement("div",{className:(0,o.Nc)(c("wrapper"))},e),["end","bottom"].includes(i)&&r.createElement(x,{containerRef:d,visible:u}))))}let O=()=>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"})),S=(0,o.U2)("ThumbnailsVisible",O()),R=(0,o.TX)("ThumbnailsHidden",O());function k(){let{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?S:R,renderIcon:e?i.iconThumbnailsVisible:i.iconThumbnailsHidden,onClick:e?n:t})}function P({augment:e,contains:t,append:n,addParent:l}){e(({thumbnails:e,toolbar:t,...n})=>{let l=a(e);return{toolbar:(0,o.wQ)(t,i.dA,l.showToggle?r.createElement(k,null):null),thumbnails:l,...n}});let u=(0,o.l6)(i.dA,C);t(i.zr)?n(i.zr,u):l(i.l4,u)}},70307:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2265),o=n(82442),i=n(15575);let l={controls:!0,playsInline:!0},a=e=>({...l,...e});function u({slide:e,offset:t}){let n=function(){let{video:e}=(0,o.RD)();return a(e)}(),{publish:l}=(0,o.hI)(),{setContainerRef:u,containerRect:c,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]);let v=(0,o.$0)(()=>{let e=setTimeout(()=>{if(s.current){let 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(()=>{var e;if(((null===(e=navigator.userAgentData)||void 0===e?void 0:e.brands.some(({brand:e})=>"Chromium"===e))||window.chrome)&&0===t)return v()},[t,v]);let 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,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,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]);let{width:b,height:y,poster:E,sources:w}=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,N=e=>{m.current&&e.stopPropagation()};return r.createElement(r.Fragment,null,w&&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))},c&&r.createElement("video",{ref:g,poster:E,...(()=>{let e={};if(e.style={maxWidth:"100%",maxHeight:"100%"},b&&y&&c){let t=b/y>c.width/c.height,n=t?c.width:Math.round(c.height/y*b),r=t?Math.round(c.width/b*y):c.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;if(0!==t){null===(e=h.current)||void 0===e||e.pause();return}l(i.fV)},onEnded:()=>{l(i.LN)},onWheel:N,onKeyDown:N,onPointerDown:e=>{N(e),/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&h.current&&h.current.getBoundingClientRect().bottom-e.clientY<40&&e.stopPropagation()}},w.map(({src:e,type:t,media:n})=>r.createElement("source",{key:[e,t,n].filter(Boolean).join("|"),src:e,type:t,media:n})))))}function c({augment:e}){e(({render:{slide:e,...t},video:n,...o})=>({render:{slide:({slide:t,offset:n,rect:o})=>{var i;return"video"===t.type?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({slide:t,offset:n,rect:o})},...t},video:a(n),...o}))}},68032:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(2265),o=n(82442),i=n(15575);let 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};
1function a(e){let{minZoom:t,...n}={...l,...e};return{minZoom:Math.min(Math.max(t,Number.EPSILON),1),...n}}function u(){let{zoom:e}=(0,o.RD)();return a(e)}function c(e,t){return Math.hypot(e.clientX-t.clientX,e.clientY-t.clientY)}function s(e,t,n=100,r=2){return e*Math.min(1+Math.abs(t/n),r)**Math.sign(t)}let d=r.createContext(null),f=(0,o.Fy)("useZoom","ZoomControllerContext",d);function h({children:e}){let[t,n]=r.useState(),{slideRect:a}=(0,o.bc)(),{ref:f,minZoom:h}=u(),{imageRect:m,maxZoom:v}=function(e,t){var n,r,i;let a={width:0,height:0},c={width:0,height:0},{currentSlide:s}=(0,o.oc)(),{imageFit:d}=(0,o.RD)().carousel,{maxZoomPixelRatio:f,maxZoom:h}=u();if(e&&s){let i={...s,...t};if((0,o.QB)(i)){let t=(0,o.VI)(i,d),l=Math.max(...((null===(n=i.srcSet)||void 0===n?void 0:n.map(e=>e.width))||[]).concat(i.width?[i.width]:[])),u=Math.max(...((null===(r=i.srcSet)||void 0===r?void 0:r.map(e=>e.height))||[]).concat(i.height?[i.height]:[]));l>0&&u>0&&e.width>0&&e.height>0&&(c={width:(c=t?{width:Math.round(Math.min(l,e.width/e.height*u)),height:Math.round(Math.min(u,e.height/e.width*l))}:{width:l,height:u}).width*f,height:c.height*f},a=t?{width:Math.min(e.width,c.width,l),height:Math.min(e.height,c.height,u)}:{width:Math.round(Math.min(e.width,e.height/u*l,l)),height:Math.round(Math.min(e.height,e.width/l*u,u))})}else e.width>0&&e.height>0&&(a=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})}let m=s&&a.width?(0,o.QB)(s)?Math.max((0,o.NM)(c.width/a.width,5),1):Math.max("function"==typeof h?null!==(i=h(s))&&void 0!==i?i:l.maxZoom:h,1):1;return{imageRect:a,maxZoom:m}}(a,null==t?void 0:t.imageDimensions),{zoom:p,offsetX:g,offsetY:b,disabled:y,changeZoom:E,changeOffsets:w,zoomIn:x,zoomOut:M}=function(e,t,n){let[i,l]=r.useState(1),[a,c]=r.useState(0),[s,d]=r.useState(0),f=function(e,t,n,i){let l=r.useRef(void 0),a=r.useRef(void 0),{zoom:u}=(0,o.RD)().animation,c=(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,a.current&&(null==i?void 0:i.current)){try{l.current=null===(s=(o=i.current).animate)||void 0===s?void 0:s.call(o,[{transform:a.current},{transform:`scale(${e}) translateX(${t}px) translateY(${n}px)`}],{duration:c?0:null!=u?u:500,easing:l.current?"ease-out":"ease-in-out"})}catch(e){console.error(e)}a.current=void 0,l.current&&(l.current.onfinish=()=>{l.current=void 0})}});return(0,o.bt)(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,o.oc)(),{containerRect:v,slideRect:p}=(0,o.bc)(),{minZoom:g,zoomInMultiplier:b}=u(),y=h&&(0,o.QB)(h)?h.src:void 0,E=!(null==n?void 0:n.current);(0,o.bt)(()=>{l(1),c(0),d(0)},[m,y]);let w=r.useCallback((t,n,r)=>{let o=r||i,l=a-(t||0),u=s-(n||0),f=(e.width*o-p.width)/2/o,h=(e.height*o-p.height)/2/o;c(Math.min(Math.abs(l),Math.max(f,0))*Math.sign(l)),d(Math.min(Math.abs(u),Math.max(h,0))*Math.sign(u))},[i,a,s,p,e.width,e.height]),x=r.useCallback((e,n,r,a)=>{let u=(0,o.NM)(e+.01<t?e-.01>g?e:g:t,5);n||f(),w(r?r*(1/i-1/u):0,a?a*(1/i-1/u):0,u),l(u)},[i,g,t,w,f]),M=(0,o.$0)(()=>{i>1&&(i>t&&x(t,!0),w())});(0,o.bt)(M,[v.width,v.height,M]);let N=r.useCallback(()=>{let e=i*b;x(i<1&&e>1?1:e)},[i,b,x]),C=r.useCallback(()=>{let e=i/b;x(i>1&&e<1?1:e)},[i,b,x]);return{zoom:i,offsetX:a,offsetY:s,disabled:E,changeOffsets:w,changeZoom:x,zoomIn:N,zoomOut:C}}(m,v,null==t?void 0:t.zoomWrapperRef);!function(e,t){let{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])}(p,y),function(e,t,n,l,a,d,f,h,m){let v=r.useRef([]),p=r.useRef(0),g=r.useRef(void 0),{globalIndex:b}=(0,o.oc)(),{getOwnerWindow:y}=(0,o.tS)(),{containerRef:E,subscribeSensors:w}=(0,o.bc)(),{keyboardMoveDistance:x,zoomInMultiplier:M,wheelZoomDistanceFactor:N,scrollToZoom:C,doubleTapDelay:O,doubleClickDelay:S,doubleClickMaxStops:R,pinchZoomDistanceFactor:k,pinchZoomV4:P}=u(),L=r.useCallback(e=>{if(E.current){let{pageX:t,pageY:n}=e,{scrollX:r,scrollY:o}=y(),{left:i,top:l,width:a,height:u}=E.current.getBoundingClientRect();return[t-i-r-a/2,n-l-o-u/2]}return[]},[E,y]),T=(0,o.$0)(t=>{let{key:n,metaKey:r,ctrlKey:o}=t,i=r||o,l=()=>{t.preventDefault(),t.stopPropagation()};if(e>1){let e=(e,t)=>
1{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(),a()):"-"===n||i&&"_"===n?(l(),d()):i&&"0"===n&&(l(),f(1))}),I=(0,o.$0)(t=>{if((t.ctrlKey||C)&&Math.abs(t.deltaY)>Math.abs(t.deltaX)){t.stopPropagation(),f(s(e,-t.deltaY,N),!0,...L(t));return}e>1&&(t.stopPropagation(),C||h(t.deltaX,t.deltaY))}),D=r.useCallback(e=>{let t=v.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),Z=r.useCallback(e=>{D(e),e.persist(),v.current.push(e)},[D]),j=(0,o.$0)(r=>{var o;let i=v.current;if("mouse"===r.pointerType&&r.buttons>1||!(null===(o=null==m?void 0:m.current)||void 0===o?void 0:o.contains(r.target)))return;e>1&&r.stopPropagation();let{timeStamp:l}=r;if(0===i.length&&l-p.current<("touch"===r.pointerType?O:S)?(p.current=0,f(e>=1?e!==n?e*Math.max(n**(1/R),M):1:e!==t?e/Math.max(t**(-1/R),M):1,!1,...L(r))):p.current=l,Z(r),2===i.length){let t=c(i[0],i[1]);g.current={previousDistance:t,initialDistance:Math.max(t,1),initialZoom:e}}}),F=(0,o.$0)(t=>{let n=v.current,r=n.find(e=>e.pointerId===t.pointerId);if(2===n.length&&g.current){t.stopPropagation(),Z(t);let r=c(n[0],n[1]);f(P?g.current.initialZoom/g.current.initialDistance*r:s(e,r-g.current.previousDistance,k),!0,...n.map(e=>L(e)).reduce((e,t)=>t.map((t,n)=>e[n]+t/2))),g.current.previousDistance=r;return}e>1&&(t.stopPropagation(),r&&(1===n.length&&h((r.clientX-t.clientX)/e,(r.clientY-t.clientY)/e),Z(t)))}),_=r.useCallback(e=>{let t=v.current;2===t.length&&t.find(t=>t.pointerId===e.pointerId)&&(g.current=void 0),D(e)},[D]),B=r.useCallback(()=>{let e=v.current;e.splice(0,e.length),p.current=0,g.current=void 0},[]);(0,o.bQ)(w,j,F,_,l),r.useEffect(B,[b,B]),r.useEffect(()=>l?()=>{}:(0,o.Eq)(B,w(i.ds,T),w(i.yq,I)),[l,w,B,T,I])}(p,h,v,y,x,M,E,w,null==t?void 0:t.zoomWrapperRef);let N=r.useMemo(()=>({zoom:p,minZoom:h,maxZoom:v,offsetX:g,offsetY:b,disabled:y,zoomIn:x,zoomOut:M,changeZoom:E}),[p,h,v,g,b,y,x,M,E]);r.useImperativeHandle(f,()=>N,[N]);let C=r.useMemo(()=>({...N,setZoomWrapper:n}),[N,n]);return r.createElement(d.Provider,{value:C},e)}let m=(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"}))),v=(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"})),p=r.forwardRef(function({zoomIn:e,onLoseFocus:t},n){let i=r.useRef(!1),l=r.useRef(!1),{zoom:a,minZoom:u,maxZoom:c,zoomIn:s,zoomOut:d,disabled:h}=f(),{render:p}=(0,o.RD)(),g=h||(e?a>=c:a<=u);return r.useEffect(()=>{g&&i.current&&l.current&&t(),g||(i.current=!0)},[g,t]),r.createElement(o.hU,{ref:n,disabled:g,label:e?"Zoom in":"Zoom out",icon:e?m:v,renderIcon:e?p.iconZoomIn:p.iconZoomOut,onClick:e?s:d,onFocus:()=>{l.current=!0},onBlur:()=>{l.current=!1}})});function g(){let 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]),a=r.useCallback(()=>i(t),[i]);return r.createElement(r.Fragment,null,r.createElement(p,{zoomIn:!0,ref:e,onLoseFocus:a}),r.createElement(p,{ref:t,onLoseFocus:l}))}function b(){let{render:e}=(0,o.RD)(),t=f();
1return e.buttonZoom?r.createElement(r.Fragment,null,e.buttonZoom(t)):r.createElement(g,null)}function y({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.c3)}}function E(e){var t,n;let[{current:i,preload:l},a]=r.useReducer(y,{}),{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)&&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)(c.width,c.height/v*m),g),E=(0,o.KL)(),w=(0,o.$0)(()=>{var e;let 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))&&a({type:"fetch",source:t.src})});(0,o.bt)(w,[c.width,c.height,E,w]);let x=(0,o.$0)(e=>a({type:"done",source:e})),M={WebkitTransform:f?"initial":"translateZ(0)"};return p||Object.assign(M,c.width/c.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:()=>x(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 w({render:e,slide:t,offset:n,rect:l}){var a,u;let[c,s]=r.useState(),d=r.useRef(null),h=(0,o.QB)(t),{zoom:m,maxZoom:v,offsetX:p,offsetY:g,setZoomWrapper:b}=f(),y=m>1,{carousel:w,on:x}=(0,o.RD)(),{currentIndex:M}=(0,o.oc)();(0,o.bt)(()=>{if(0!==n||h||!d.current)return()=>{};let e=()=>{let e=d.current;if(!e)return;let t=0,n=0;for(let r of e.children)r instanceof HTMLElement&&(t=Math.max(t,r.offsetWidth),n=Math.max(n,r.offsetHeight));s(e=>e&&e.width===t&&e.height===n?e:{width:t,height:n})};if(e(),"undefined"==typeof ResizeObserver)return()=>{};let t=new ResizeObserver(e);for(let e of d.current.children)t.observe(e);return()=>t.disconnect()},[n,h,l]),(0,o.bt)(()=>0===n?(b({zoomWrapperRef:d,imageDimensions:c}),()=>b(void 0)):()=>{},[n,c,b]);let N=null===(a=e.slide)||void 0===a?void 0:a.call(e,{slide:t,offset:n,rect:l,zoom:m,maxZoom:v});if(!N&&h){let i={slide:t,offset:n,rect:l,render:e,imageFit:w.imageFit,imageProps:w.imageProps,onClick:0===n?()=>{var e;return null===(e=x.click)||void 0===e?void 0:e.call(x,{index:M})}:void 0};N=((null===(u=t.srcSet)||void 0===u?void 0:u.length)||0)>0?r.createElement(E,{...i,slide:t,interactive:y,rect:0===n?{width:l.width*m,height:l.height*m}:l}):r.createElement(o.P0,{onLoad:e=>s({width:e.naturalWidth,height:e.naturalHeight}),...i})}return N?r.createElement("div",{ref:d,className:(0,o.Wy)((0,o.Nc)(i.yS),(0,o.Nc)(i.aN),(0,o.Nc)(i.af),y&&(0,o.Nc)(i.ZZ)),style:0===n?{transform:`scale(${m}) translateX(${p}px) translateY(${g}px)`}:void 0},N):null}let x=({augment:e,addModule:t})=>{e(({zoom:e,toolbar:t,render:n,controller:l,...u})=>{let c=a(e);return{zoom:c,toolbar:(0,o.wQ)(t,i.xc,r.createElement(b,null)),render:{...n,slide:e=>{var t,i;return(0,o.QB)(e.slide)||null!=e.slide.type&&(null===(t=c.supports)||void 0===t?void 0:t.includes(e.slide.type))?r.createElement(w,{render:n,...e}):null===(i=n.slide)||void 0===i?void 0:i.call(n,e)}},controller:{...l,preventDefaultWheelY:c.scrollToZoom},...u}}),t((0,o.l6)(i.xc,h))}},15575:function(e,t,n){"use strict";n.d(t,{$L:function(){return p},Bm:function(){return _},Eb:function(){return k},HE:function(){return l},J1:function(){return g},KN:function(){return R},LN:function(){return E},M9:function(){return N},N4:function(){return I},NH:function(){return z},NZ:function(){return T},Op:function(){return i},PU:function(){return X},S2:function(){return D},SA:function(){return a},Sl:function(){return A},Tf:function(){return M},Tn:function(){return P},Vt:function(){return j},Xe:function(){return h},ZZ:function(){return S},Zv:function(){return v},aN:function(){return x},af:function(){return O},bg:function(){return W},c3:function(){return U},dA:function(){return d},ds:function(){return F},fS:function(){return m},fV:function(){return y},hD:function(){return C},hb:function(){return c},j3:function(){return Y},k0:function(){return r},l4:function(){return o},lT:function(){return u},p7:function(){return b},pE:function(){return Z},rO:function(){return $},t9:function(){return L},vg:function(){return H},xc:function(){return f},yS:function(){return w},yq:function(){return B},zr:function(){return s}});let r="carousel",o="controller",i="navigation",l="no-scroll",a="portal",u="root",c="toolbar",s="fullscreen",d="thumbnails",f="zoom",h="loading",m="error",v="complete",p="placeholder",g=e=>`active-slide-${e}`,b=g(h),y=g("playing");g(m);let E=g(v),w="fullsize",x="flex_center",M="no_scroll",N="no_scroll_padding",C="slide",O="slide_wrapper",S="slide_wrapper_interactive",R="prev",k="next",P="swipe",L="close",T="onPointerDown",I="onPointerMove",D="onPointerUp",Z="onPointerLeave",j="onPointerCancel",F="onKeyDown",_="onKeyUp",B="onWheel",X="Escape",A="ArrowLeft",z="ArrowRight",W="button",H="icon",Y="contain",$="cover",U="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.