1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7595,5874],{27508:function(e,t,n){"use strict";var o=n(71600);t.Z=void 0;var r=o(n(68671)),i=n(52322);t.Z=(0,r.default)((0,i.jsx)("path",{d:"M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1"}),"AddRounded")},42654:function(e,t,n){"use strict";var o=n(71600);t.Z=void 0;var r=o(n(68671)),i=n(52322);t.Z=(0,r.default)((0,i.jsx)("path",{d:"M9 16.17 5.53 12.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71c.39-.39.39-1.02 0-1.41a.9959.9959 0 0 0-1.41 0z"}),"CheckRounded")},7522:function(e,t,n){"use strict";var o=n(71600);t.Z=void 0;var r=o(n(68671)),i=n(52322);t.Z=(0,r.default)((0,i.jsx)("path",{d:"M15 20H5V7c0-.55-.45-1-1-1s-1 .45-1 1v13c0 1.1.9 2 2 2h10c.55 0 1-.45 1-1s-.45-1-1-1m5-4V4c0-1.1-.9-2-2-2H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2m-2 0H9V4h9z"}),"ContentCopyRounded")},89025:function(e,t,n){"use strict";var o=n(71600);t.Z=void 0;var r=o(n(68671)),i=n(52322);t.Z=(0,r.default)((0,i.jsx)("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"InfoOutlined")},85101:function(e,t,n){"use strict";var o=n(71600);t.Z=void 0;var r=o(n(68671)),i=n(52322);t.Z=(0,r.default)((0,i.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown")},25661:function(e,t,n){"use strict";var o=n(71600);t.Z=void 0;var r=o(n(68671)),i=n(52322);t.Z=(0,r.default)((0,i.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp")},82552:function(e,t,n){"use strict";var o=n(71600);t.Z=void 0;var r=o(n(68671)),i=n(52322);t.Z=(0,r.default)((0,i.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVertOutlined")},75874:function(e,t,n){"use strict";var o=n(71600);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(68671)),i=n(52322);t.default=(0,r.default)((0,i.jsx)("path",{d:"M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1"}),"RemoveRounded")},82393:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var o=n(7896),r=n(31461),i=n(2784),a=(n(48570),n(40489)),l=n(69075),s=n(95008),u=n(65992),c=n(35354),d=n(79312),m=n(408),p=n(6620),f=n(52322),h=(0,p.Z)((0,f.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),v=n(31373);const g=["slots","slotProps"],b=(0,u.ZP)(v.Z)((({theme:e})=>(0,o.Z)({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},"light"===e.palette.mode?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":(0,o.Z)({},"light"===e.palette.mode?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":(0,o.Z)({boxShadow:e.shadows[0]},"light"===e.palette.mode?{backgroundColor:(0,m._4)(e.palette.grey[200],.12)}:{backgroundColor:(0,m._4)(e.palette.grey[600],.12)})}))),w=(0,u.ZP)(h)({width:24,height:16});var x=function(e){const{slots:t={},slotProps:n={}}=e,i=(0,r.Z)(e,g),a=e;return(0,f.jsx)("li",{children:(0,f.jsx)(b,(0,o.Z)({focusRipple:!0},i,{ownerState:a,children:(0,f.jsx)(w,(0,o.Z)({as:t.CollapsedIcon,ownerState:a},n.collapsedIcon))}))})},y=n(69222),C=n(15672);function M(e){return(0,C.ZP)("MuiBreadcrumbs",e)}var Z=(0,y.Z)("MuiBreadcrumbs",["root","ol","li","separator"]);const P=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],T=(0,u.ZP)(d.Z,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${Z.li}`]:t.li},t.root]})({}),k=(0,u.ZP)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),S=(0,u.ZP)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function E(e,t,n,o){return e.reduce(((r,i,a)=>
1(a<e.length-1?r=r.concat(i,(0,f.jsx)(S,{"aria-hidden":!0,className:t,ownerState:o,children:n},`separator-${a}`)):r.push(i),r)),[])}var R=i.forwardRef((function(e,t){const n=(0,c.i)({props:e,name:"MuiBreadcrumbs"}),{children:u,className:d,component:m="nav",slots:p={},slotProps:h={},expandText:v="Show path",itemsAfterCollapse:g=1,itemsBeforeCollapse:b=1,maxItems:w=8,separator:y="/"}=n,C=(0,r.Z)(n,P),[Z,S]=i.useState(!1),R=(0,o.Z)({},n,{component:m,expanded:Z,expandText:v,itemsAfterCollapse:g,itemsBeforeCollapse:b,maxItems:w,separator:y}),N=(e=>{const{classes:t}=e;return(0,l.Z)({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},M,t)})(R),D=(0,s.Z)({elementType:p.CollapsedIcon,externalSlotProps:h.collapsedIcon,ownerState:R}),I=i.useRef(null),L=i.Children.toArray(u).filter((e=>i.isValidElement(e))).map(((e,t)=>(0,f.jsx)("li",{className:N.li,children:e},`child-${t}`)));return(0,f.jsx)(T,(0,o.Z)({ref:t,component:m,color:"text.secondary",className:(0,a.Z)(N.root,d),ownerState:R},C,{children:(0,f.jsx)(k,{className:N.ol,ref:I,ownerState:R,children:E(Z||w&&L.length<=w?L:(e=>b+g>=e.length?e:[...e.slice(0,b),(0,f.jsx)(x,{"aria-label":v,slots:{CollapsedIcon:p.CollapsedIcon},slotProps:{collapsedIcon:D},onClick:()=>{S(!0);const e=I.current.querySelector("a[href],button,[tabindex]");e&&e.focus()}},"ellipsis"),...e.slice(e.length-g,e.length)])(L),N.separator,y,R)})}))}))},41033:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var o=n(31461),r=n(7896),i=n(2784),a=n(40489),l=n(37198),s=n(17363),u=n(69075),c=n(65992),d=n(35354),m=n(15633),p=n(13331),f=n(47746),h=n(98659),v=n(69222),g=n(15672);function b(e){return(0,g.ZP)("MuiCollapse",e)}(0,v.Z)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var w=n(52322);const x=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],y=(0,c.ZP)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((({theme:e,ownerState:t})=>(0,r.Z)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&(0,r.Z)({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"}))),C=(0,c.ZP)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>(0,r.Z)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),M=(0,c.ZP)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})((({ownerState:e})=>(0,r.Z)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),Z=i.forwardRef((function(e,t){const n=(0,d.i)({props:e,name:"MuiCollapse"}),{addEndListener:c,children:v,className:g,collapsedSize:Z="0px",component:P,easing:T,in:k,onEnter:S,onEntered:E,onEntering:R,onExit:N,onExited:D,onExiting:I,orientation:L="vertical",style:O,timeout:F=m.x9.standard,TransitionComponent:$=l.ZP}=n,z=(0,o.Z)(n,x),V=(0,r.Z)({},n,{orientation:L,collapsedSize:Z}),A=(e=>{const{orientation:t,classes:n}=e,o={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return(0,u.Z)(o,b,n)})(V),j=(0,f.Z)(),B=(0,s.Z)(),W=i.useRef(null),H=i.useRef(),_="number"===typeof Z?`${Z}px`:Z,X="horizontal"===L,U=X?"width":"height",Y=i.useRef(null),K=(0,h.Z)(t,Y),q=e=>t=>{if(e){const n=Y.current;void 0===t?e(n):e(n,t)}},J=()=>W.current?W.current[X?"clientWidth":"clientHeight"]:0,Q=q(((e,t)=>{W.current&&X&&(W.current.style.position="absolute"),e.style[U]=_,S&&S(e,t)})),G=q(((e,t)=>{const n=J();W.current&&X&&(W.current.style.position="");const{duration:o,easing:r}=(0,p.C)({style:O,timeout:F,easing:T},{mode:"enter"});if("auto"===F){const t=j.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,H.current=t}else e.style.transitionDuration="string"===typeof o?o:`${o}ms`;e.style[U]=`${n}px`,e.style.transitionTimingFunction=r,R&&R(e,t)})),ee=q(((e,t)=>{e.style[U]="auto",E&&E(e,t)})),te=q((e=>
1{e.style[U]=`${J()}px`,N&&N(e)})),ne=q(D),oe=q((e=>{const t=J(),{duration:n,easing:o}=(0,p.C)({style:O,timeout:F,easing:T},{mode:"exit"});if("auto"===F){const n=j.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,H.current=n}else e.style.transitionDuration="string"===typeof n?n:`${n}ms`;e.style[U]=_,e.style.transitionTimingFunction=o,I&&I(e)}));return(0,w.jsx)($,(0,r.Z)({in:k,onEnter:Q,onEntered:ee,onEntering:G,onExit:te,onExited:ne,onExiting:oe,addEndListener:e=>{"auto"===F&&B.start(H.current||0,e),c&&c(Y.current,e)},nodeRef:Y,timeout:"auto"===F?null:F},z,{children:(e,t)=>(0,w.jsx)(y,(0,r.Z)({as:P,className:(0,a.Z)(A.root,g,{entered:A.entered,exited:!k&&"0px"===_&&A.hidden}[e]),style:(0,r.Z)({[X?"minWidth":"minHeight"]:_},O),ref:K},t,{ownerState:(0,r.Z)({},V,{state:e}),children:(0,w.jsx)(C,{ownerState:(0,r.Z)({},V,{state:e}),className:A.wrapper,ref:W,children:(0,w.jsx)(M,{ownerState:(0,r.Z)({},V,{state:e}),className:A.wrapperInner,children:v})})}))}))}));Z.muiSupportAuto=!0;var P=Z},24032:function(e,t,n){"use strict";n.d(t,{Z:function(){return F}});var o=n(31461),r=n(7896),i=n(2784),a=n(40489),l=n(17363),s=n(69075),u=n(408),c=n(74692),d=n(85506),m=n(65992),p=n(47746),f=n(35354),h=n(7342),v=n(6693),g=n(97227),b=n(78647),w=n(98659),x=n(85954),y=n(28592),C=n(19570),M=n(69222),Z=n(15672);function P(e){return(0,Z.ZP)("MuiTooltip",e)}var T=(0,M.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),k=n(52322);const S=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];const E=(0,m.ZP)(g.Z,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>(0,r.Z)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${T.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${T.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${T.arrow}`]:(0,r.Z)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${T.arrow}`]:(0,r.Z)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),R=(0,m.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${(0,h.Z)(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return(0,r.Z)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,u.Fq)(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${T.popper}[data-popper-placement*="left"] &`]:(0,r.Z)({transformOrigin:"right center"},t.isRtl?(0,r.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):(0,r.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${T.popper}[data-popper-placement*="right"] &`]:(0,r.Z)({transformOrigin:"left center"},t.isRtl?(0,r.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):(0,r.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${T.popper}[data-popper-placement*="top"] &`]:(0,r.Z)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${T.popper}[data-popper-placement*="bottom"] &`]:(0,r.Z)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),N=(0,m.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,u.Fq)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let D=!1;const I=new l.V;let L={x:0,y:0};function O(e,t){return(n,...o)=>{t&&t(n,...o),e(n,...o)}}var F=i.forwardRef((function(e,t){var n,u,m,M,Z,T,F,$,z,V,A,j,B,W,H,_,X,U,Y;const K=(0,f.i)({props:e,name:"MuiTooltip"}),{arrow:q=!1,children:J,components:Q={},componentsProps:G={},describeChild:ee=!1,disableFocusListener:te=!1,disableHoverListener:ne=!1,disableInteractive:oe=!1,disableTouchListener:re=!1,enterDelay:ie=100,enterNextDelay:ae=0,enterTouchDelay:le=700,followCursor:se=!1,id:ue,leaveDelay:ce=0,leaveTouchDelay:de=1500,onClose:me,onOpen:pe,open:fe,placement:he="bottom",PopperComponent:ve,PopperProps:ge={},slotProps:be={},slots:we={},title:xe,TransitionComponent:ye=v.Z,TransitionProps:Ce}=K,Me=(0,o.Z)(K,S),Ze=i.isValidElement(J)?J:(0,k.jsx)("span",{children:J}),Pe=(0,p.Z)(),Te=(0,c.V)(),[ke,Se]=i.useState(),[Ee,Re]=i.useState(null),Ne=i.useRef(!1),De=oe||se,Ie=(0,l.Z)(),Le=(0,l.Z)(),Oe=(0,l.Z)(),Fe=(0,l.Z)(),[$e,ze]=(0,C.Z)({controlled:fe,default:!1,name:"Tooltip",state:"open"});let Ve=$e;const Ae=(0,x.Z)(ue),je=i.useRef(),Be=(0,b.Z)((()=>{void 0!==je.current&&(document.body.style.WebkitUserSelect=je.current,je.current=void 0),Fe.clear()}
1));i.useEffect((()=>Be),[Be]);const We=e=>{I.clear(),D=!0,ze(!0),pe&&!Ve&&pe(e)},He=(0,b.Z)((e=>{I.start(800+ce,(()=>{D=!1})),ze(!1),me&&Ve&&me(e),Ie.start(Pe.transitions.duration.shortest,(()=>{Ne.current=!1}))})),_e=e=>{Ne.current&&"touchstart"!==e.type||(ke&&ke.removeAttribute("title"),Le.clear(),Oe.clear(),ie||D&&ae?Le.start(D?ae:ie,(()=>{We(e)})):We(e))},Xe=e=>{Le.clear(),Oe.start(ce,(()=>{He(e)}))},{isFocusVisibleRef:Ue,onBlur:Ye,onFocus:Ke,ref:qe}=(0,y.Z)(),[,Je]=i.useState(!1),Qe=e=>{Ye(e),!1===Ue.current&&(Je(!1),Xe(e))},Ge=e=>{ke||Se(e.currentTarget),Ke(e),!0===Ue.current&&(Je(!0),_e(e))},et=e=>{Ne.current=!0;const t=Ze.props;t.onTouchStart&&t.onTouchStart(e)},tt=e=>{et(e),Oe.clear(),Ie.clear(),Be(),je.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Fe.start(le,(()=>{document.body.style.WebkitUserSelect=je.current,_e(e)}))},nt=e=>{Ze.props.onTouchEnd&&Ze.props.onTouchEnd(e),Be(),Oe.start(de,(()=>{He(e)}))};i.useEffect((()=>{if(Ve)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||He(e)}}),[He,Ve]);const ot=(0,w.Z)(Ze.ref,qe,Se,t);xe||0===xe||(Ve=!1);const rt=i.useRef(),it={},at="string"===typeof xe;ee?(it.title=Ve||!at||ne?null:xe,it["aria-describedby"]=Ve?Ae:null):(it["aria-label"]=at?xe:null,it["aria-labelledby"]=Ve&&!at?Ae:null);const lt=(0,r.Z)({},it,Me,Ze.props,{className:(0,a.Z)(Me.className,Ze.props.className),onTouchStart:et,ref:ot},se?{onMouseMove:e=>{const t=Ze.props;t.onMouseMove&&t.onMouseMove(e),L={x:e.clientX,y:e.clientY},rt.current&&rt.current.update()}}:{});const st={};re||(lt.onTouchStart=tt,lt.onTouchEnd=nt),ne||(lt.onMouseOver=O(_e,lt.onMouseOver),lt.onMouseLeave=O(Xe,lt.onMouseLeave),De||(st.onMouseOver=_e,st.onMouseLeave=Xe)),te||(lt.onFocus=O(Ge,lt.onFocus),lt.onBlur=O(Qe,lt.onBlur),De||(st.onFocus=Ge,st.onBlur=Qe));const ut=i.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(Ee),options:{element:Ee,padding:4}}];return null!=(e=ge.popperOptions)&&e.modifiers&&(t=t.concat(ge.popperOptions.modifiers)),(0,r.Z)({},ge.popperOptions,{modifiers:t})}),[Ee,ge]),ct=(0,r.Z)({},K,{isRtl:Te,arrow:q,disableInteractive:De,placement:he,PopperComponentProp:ve,touch:Ne.current}),dt=(e=>{const{classes:t,disableInteractive:n,arrow:o,touch:r,placement:i}=e,a={popper:["popper",!n&&"popperInteractive",o&&"popperArrow"],tooltip:["tooltip",o&&"tooltipArrow",r&&"touch",`tooltipPlacement${(0,h.Z)(i.split("-")[0])}`],arrow:["arrow"]};return(0,s.Z)(a,P,t)})(ct),mt=null!=(n=null!=(u=we.popper)?u:Q.Popper)?n:E,pt=null!=(m=null!=(M=null!=(Z=we.transition)?Z:Q.Transition)?M:ye)?m:v.Z,ft=null!=(T=null!=(F=we.tooltip)?F:Q.Tooltip)?T:R,ht=null!=($=null!=(z=we.arrow)?z:Q.Arrow)?$:N,vt=(0,d.Z)(mt,(0,r.Z)({},ge,null!=(V=be.popper)?V:G.popper,{className:(0,a.Z)(dt.popper,null==ge?void 0:ge.className,null==(A=null!=(j=be.popper)?j:G.popper)?void 0:A.className)}),ct),gt=(0,d.Z)(pt,(0,r.Z)({},Ce,null!=(B=be.transition)?B:G.transition),ct),bt=(0,d.Z)(ft,(0,r.Z)({},null!=(W=be.tooltip)?W:G.tooltip,{className:(0,a.Z)(dt.tooltip,null==(H=null!=(_=be.tooltip)?_:G.tooltip)?void 0:H.className)}),ct),wt=(0,d.Z)(ht,(0,r.Z)({},null!=(X=be.arrow)?X:G.arrow,{className:(0,a.Z)(dt.arrow,null==(U=null!=(Y=be.arrow)?Y:G.arrow)?void 0:U.className)}),ct);return(0,k.jsxs)(i.Fragment,{children:[i.cloneElement(Ze,lt),(0,k.jsx)(mt,(0,r.Z)({as:null!=ve?ve:g.Z,placement:he,anchorEl:se?{getBoundingClientRect:()=>({top:L.y,left:L.x,right:L.x,bottom:L.y,width:0,height:0})}:ke,popperRef:rt,open:!!ke&&Ve,id:Ae,transition:!0},st,vt,{popperOptions:ut,children:({TransitionProps:e})=>(0,k.jsx)(pt,(0,r.Z)({timeout:Pe.transitions.duration.shorter},e,gt,{children:(0,k.jsxs)(ft,(0,r.Z)({},bt,{children:[xe,q?(0,k.jsx)(ht,(0,r.Z)({},wt,{ref:Re})):null]}))}))}))]})}))},53114:function(e,t,n){"use strict";n.d(t,{k:function(){return ze}});var o=n(7896),r=n(2784),i=n(13980),a=n.n(i),l=n(43540),s=n(20911),u=n(68232),c=n(31461),d=n(53242),m=n(43853),p=n(97918),f=n(76776),h=n(74702);const v=({adapter:e,value:t,props:n})=>{if(null===t)return null;const{minTime:o,maxTime:r,minutesStep:i,shouldDisableClock:a,shouldDisableTime:l,disableIgnoringDatePartForTimeValidation:s=!1,disablePast:u,disableFuture:c,timezone:d}=n,m=e.utils.dateWithTimezone(void 0,d),p=(0,h.X4)(s,e.utils);switch(!0){case!e.utils.isValid(t):return"invalidDate";case Boolean(o&&p(o,t)):return"minTime";case Boolean(r&&p(t,r)):return"maxTime";case Boolean(c&&e.utils.isAfter(t,m)):return"disableFuture";case Boolean(u&&e.utils.isBefore(t,m)):return"disablePast";case Boolean(l&&l(t,"hours")):return"shouldDisableTime-hours";case Boolean(l&&l(t,"minutes")):return"shouldDisableTime-minutes";case Boolean(l&&l(t,"seconds")):return"shouldDisableTime-seconds";case Boolean(a&&a(e.utils.getHours(t),"hours")):return"shouldDisableClock-hours";case Boolean(a&&a(e.utils.getMinutes(t),"minutes")):return"shouldDisableClock-minutes";case Boolean(a&&a(e.utils.getSeconds(t),"seconds")):return"shouldDisableClock-seconds";case Boolean(i&&e.utils.getMinutes(t)%i!==0):return"minutesStep";default:return null}};var g=n(63713),b=n(58547);const w=({props:e,inputRef:t})=>{const n=(e=>{var t,n,r,i;const a=(0,g.nB)(),l=(null!=(t=e.ampm)?t:a.is12HourCycleInCurrentLocale())?a.formats.fullTime12h:a.formats.fullTime24h;return(0,o.Z)({},e,{disablePast:null!=(n=e.disablePast)&&n,disableFuture:null!=(r=e.disableFuture)&&r,format:null!=(i=e.format)?i:l})})(e),{forwardedProps:r,internalProps:i}=(0,b._)(n,"time");return(0,f.U)({inputRef:t,forwardedProps:r,internalProps:i,valueManager:u.h,fieldValueManager:u.a,validator:v,valueType:"time"})};var x=n(26349),y=n(52322);const C=["slots","slotProps","components","componentsProps","InputProps","inputProps"],M=["inputRef"],Z=["ref","onPaste","onKeyDown","inputMode","readOnly","clearable","onClear"],P=r.forwardRef((function(e,t){var n,r,i;const a=(0,m.Z)({props:e,name:"MuiTimeField"}),{slots:l,slotProps:s,components:u,componentsProps:f,InputProps:h,inputProps:v}=a,g=(0,c.Z)(a,C),b=a,P=null!=(n=null!=(r=null==l?void 0:l.textField)?r:null==u?void 0:u.TextField)?n:d.Z,T=(0,p.y)({elementType:P,externalSlotProps:null!=(i=null==s?void 0:s.textField)?i:null==f?void 0:f.textField,externalForwardedProps:g,ownerState:b}),{inputRef:k}=T,S=(0,c.Z)(T,M);S.inputProps=(0,o.Z)({},v,S.inputProps),S.InputProps=(0,o.Z)({},h,S.InputProps);const E=w({props:S,inputRef:k}),{ref:R,onPaste:N,onKeyDown:D,inputMode:I,readOnly:L,clearable:O,onClear:F}=E,$=(0,c.Z)(E,Z),{InputProps:z,fieldProps:V}=(0,x.T)({onClear:F,clearable:O,fieldProps:$,InputProps:$.InputProps,slots:l,slotProps:s,components:u,componentsProps:f});return(0,y.jsx)(P,(0,o.Z)({ref:t},V,{InputProps:(0,o.Z)({},z,{readOnly:L}),inputProps:(0,o.Z)({},$.inputProps,{inputMode:I,onPaste:N,onKeyDown:D,ref:R})}))}));var T=n(65992),k=n(47746),S=n(69075),E=n(40489),R=n(79312),N=n(15672),D=n(69222);function I(e){return(0,N.ZP)("MuiPickersToolbarText",e)}const L=(0,D.Z)("MuiPickersToolbarText",["root","selected"]),O=["className","selected","value"],F=(0,T.ZP)(R.Z,{name:"MuiPickersToolbarText",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`&.${L.selected}`]:t.selected}]})((({theme:e})=>({transition:e.transitions.create("color"),color:(e.vars||e).palette.text.secondary,[`&.${L.selected}`]:{color:(e.vars||e).palette.text.primary}}))),$=r.forwardRef((function(e,t){const n=(0,m.Z)({props:e,name:"MuiPickersToolbarText"}),{className:r,value:i}=n,a=(0,c.Z)(n,O),l=(e=>{const{classes:t,selected:n}=e,o={root:["root",n&&"selected"]};return(0,S.Z)(o,I,t)})(n);return(0,y.jsx)(F,(0,o.Z)({ref:t,className:(0,E.Z)(r,l.root),component:"span"},a,{children:i}))}));var z=n(35300),V=n(91031);const A=["align","className","selected","typographyClassName","value","variant","width"],j=(0,T.ZP)(z.Z,{name:"MuiPickersToolbarButton",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:0,minWidth:16,textTransform:"none"}),B=r.forwardRef((function(e,t){const n=(0,m.Z)({props:e,name:"MuiPickersToolbarButton"}),{align:r,className:i,selected:a,typographyClassName:l,value:s,variant:u,width:d}=n,p=(0,c.Z)(n,A),f=(e=>{const{classes:t}=e;return(0,S.Z)({root:["root"]},V.T,t)})(n);return(0,y.jsx)(j,(0,o.Z)({variant:"text",ref:t,className:(0,E.Z)(i,f.root)},d?{sx:{width:d}}:{},p,{children:(0,y.jsx)($,{align:r,className:l,variant:u,value:s,selected:a})}))}));var W=n(66399),H=n(23449),_=n(88563);function X(e){return(0,N.ZP)("MuiTimePickerToolbar",e)}const U=(0,D.Z)("MuiTimePickerToolbar",["root","separator","hourMinuteLabel","hourMinuteLabelLandscape","hourMinuteLabelReverse","ampmSelection","ampmLandscape","ampmLabel"]);var Y=n(73004);const K=["ampm","ampmInClock","value","isLandscape","onChange","view","onViewChange","views","disabled","readOnly"],q=(0,T.ZP)(W.e,{name:"MuiTimePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),J=(0,T.ZP)($,{name:"MuiTimePickerToolbar",slot:"Separator",overridesResolver:(e,t)=>t.separator})({outline:0,margin:"0 4px 0 2px",cursor:"default"}),Q=(0,T.ZP)("div",{name:"MuiTimePickerToolbar",slot:"HourMinuteLabel",overridesResolver:(e,t)=>[{[`&.${U.hourMinuteLabelLandscape}`]:t.hourMinuteLabelLandscape,[`&.${U.hourMinuteLabelReverse}`]:t.hourMinuteLabelReverse},t.hourMinuteLabel]})((({theme:e,ownerState:t})=>(0,o.Z)({display:"flex",justifyContent:"flex-end",alignItems:"flex-end"},t.isLandscape&&{marginTop:"auto"},"rtl"===e.direction&&{flexDirection:"row-reverse"})));Q.propTypes={as:a().elementType,ownerState:a().object.isRequired,sx:a().oneOfType([a().arrayOf(a().oneOfType([a().func,a().object,a().bool])),a().func,a().object])};const G=(0,T.ZP)("div",{name:"MuiTimePickerToolbar",slot:"AmPmSelection",overridesResolver:(e,t)=>[{[`.${U.ampmLabel}`]:t.ampmLabel},{[`&.${U.ampmLandscape}`]:t.ampmLandscape},t.ampmSelection]})((({ownerState:e})=>(0,o.Z)({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12},e.isLandscape&&{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",flexBasis:"100%"},{[`& .${U.ampmLabel}`]:{fontSize:17}})));function ee(e){const t=(0,m.Z)({props:e,name:"MuiTimePickerToolbar"}),{ampm:n,ampmInClock:r,value:i,isLandscape:a,onChange:l,view:s,onViewChange:u,views:d,disabled:p,readOnly:f}=t,h=(0,c.Z)(t,K),v=(0,g.nB)(),b=(0,g.og)(),w=(0,k.Z)(),x=Boolean(n&&!r&&d.includes("hours")),{meridiemMode:C,handleMeridiemChange:M}=(0,_.iC)(i,n,l),Z=t,P=(e=>{const{theme:t,isLandscape:n,classes:o}=e,r={root:["root"],separator:["separator"],hourMinuteLabel:["hourMinuteLabel",n&&"hourMinuteLabelLandscape","rtl"===t.direction&&"hourMinuteLabelReverse"],ampmSelection:["ampmSelection",n&&"ampmLandscape"],ampmLabel:["ampmLabel"]};return(0,S.Z)(r,X,o)})((0,o.Z)({},Z,{theme:w})),T=(0,y.jsx)(J,{tabIndex:-1,value:":",variant:"h3",selected:!1,className:P.separator});return(0,y.jsxs)(q,(0,o.Z)({landscapeDirection:"row",toolbarTitle:b.timePickerToolbarTitle,isLandscape:a,ownerState:Z,className:P.root},h,{children:[(0,y.jsxs)(Q,{className:P.hourMinuteLabel,ownerState:Z,children:[(0,H.kI)(d,"hours")&&(0,y.jsx)(B,{tabIndex:-1,variant:"h3",onClick:()=>u("hours"),selected:"hours"===s,value:i?(E=i,n?v.format(E,"hours12h"):v.format(E,"hours24h")):"--"}),(0,H.kI)(d,["hours","minutes"])&&T,(0,H.kI)(d,"minutes")&&(0,y.jsx)(B,{tabIndex:-1,variant:"h3",onClick:()=>u("minutes"),selected:"minutes"===s,value:i?v.format(i,"minutes"):"--"}),(0,H.kI)(d,["minutes","seconds"])&&T,(0,H.kI)(d,"seconds")&&(0,y.jsx)(B,{variant:"h3",onClick:()=>u("seconds"),selected:"seconds"===s,value:i?v.format(i,"seconds"):"--"})]}),x&&(0,y.jsxs)(G,{className:P.ampmSelection,ownerState:Z,children:[(0,y.jsx)(B,{disableRipple:!0,variant:"subtitle2",selected:"am"===C,typographyClassName:P.ampmLabel,value:(0,Y.lu)(v,"am"),onClick:f?void 0:()=>M("am"),disabled:p}),(0,y.jsx)(B,{disableRipple:!0,variant:"subtitle2",selected:"pm"===C,typographyClassName:P.ampmLabel,value:(0,Y.lu)(v,"pm"),onClick:f?void 0:()=>M("pm"),disabled:p})]})]}));var E}G.propTypes={as:a().elementType,ownerState:a().object.isRequired,sx:a().oneOfType([a().arrayOf(a().oneOfType([a().func,a().object,a().bool])),a().func,a().object])};var te=n(4958),ne=n(66701);function oe(e,t){var n,i,a,l,s;const u=(0,g.nB)(),c=(0,m.Z)({props:e,name:t}),d=null!=(n=c.ampm)?n:u.is12HourCycleInCurrentLocale(),p=r.useMemo((()=>{var e;return null==(null==(e=c.localeText)?void 0:e.toolbarTitle)?c.localeText:(0,o.Z)({},c.localeText,{timePickerToolbarTitle:c.localeText.toolbarTitle})}),[c.localeText]),f=null!=(i=c.slots)?i:(0,ne.S)(c.components),h=null!=(a=c.slotProps)?a:c.componentsProps;return(0,o.Z)({},c,{ampm:d,localeText:p},(0,te.d)({views:c.views,openTo:c.openTo,defaultViews:["hours","minutes"],defaultOpenTo:"hours"}),{disableFuture:null!=(l=c.disableFuture)&&l,disablePast:null!=(s=c.disablePast)&&s,slots:(0,o.Z)({toolbar:ee},f),slotProps:(0,o.Z)({}
1,h,{toolbar:(0,o.Z)({ampm:d,ampmInClock:c.ampmInClock},null==h?void 0:h.toolbar)})})}var re=n(86006),ie=n(39323),ae=n(75964),le=n(47591),se=n(39983),ue=n(95341),ce=n(19181),de=n(53640),me=n(97448);function pe(e){return(0,N.ZP)("MuiDigitalClock",e)}(0,D.Z)("MuiDigitalClock",["root","list","item"]);var fe=n(25285),he=n(40603),ve=n(63995),ge=n(67224);const be=({value:e,referenceDate:t,utils:n,props:o,timezone:i})=>{const a=r.useMemo((()=>u.h.getInitialReferenceValue({value:e,utils:n,props:o,referenceDate:t,granularity:ge.Kn.day,timezone:i,getTodayDate:()=>(0,Y.X$)(n,i,"date")})),[]);return null!=e?e:a},we=["ampm","timeStep","autoFocus","components","componentsProps","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableClock","shouldDisableTime","onChange","view","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","views","skipDisabled","timezone"],xe=(0,T.ZP)(me.Z,{name:"MuiDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e})=>({overflowY:"auto",width:"100%","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:e.alreadyRendered?"smooth":"auto"},maxHeight:he.Fn}))),ye=(0,T.ZP)(ce.Z,{name:"MuiDigitalClock",slot:"List",overridesResolver:(e,t)=>t.list})({padding:0}),Ce=(0,T.ZP)(ue.Z,{name:"MuiDigitalClock",slot:"Item",overridesResolver:(e,t)=>t.item})((({theme:e})=>({padding:"8px 16px",margin:"2px 4px","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,le.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,le.Fq)(e.palette.primary.main,e.palette.action.focusOpacity)}}))),Me=r.forwardRef((function(e,t){var n,i,a;const l=(0,g.nB)(),s=r.useRef(null),d=(0,de.Z)(t,s),f=(0,m.Z)({props:e,name:"MuiDigitalClock"}),{ampm:v=l.is12HourCycleInCurrentLocale(),timeStep:b=30,autoFocus:w,components:x,componentsProps:C,slots:M,slotProps:Z,value:P,defaultValue:T,referenceDate:k,disableIgnoringDatePartForTimeValidation:R=!1,maxTime:N,minTime:D,disableFuture:I,disablePast:L,minutesStep:O=1,shouldDisableClock:F,shouldDisableTime:$,onChange:z,view:V,openTo:A,onViewChange:j,focusedView:B,onFocusedViewChange:W,className:H,disabled:_,readOnly:X,views:U=["hours"],skipDisabled:Y=!1,timezone:K}=f,q=(0,c.Z)(f,we),{value:J,handleValueChange:Q,timezone:G}=(0,ve.m)({name:"DigitalClock",timezone:K,value:P,defaultValue:T,onChange:z,valueManager:u.h}),ee=(0,g.og)(),te=(0,g.mX)(G),ne=r.useMemo((()=>(0,o.Z)({},f,{alreadyRendered:!!s.current})),[f]),oe=(e=>{const{classes:t}=e;return(0,S.Z)({root:["root"],list:["list"],item:["item"]},pe,t)})(ne),re=null!=(n=null!=(i=null==M?void 0:M.digitalClockItem)?i:null==x?void 0:x.DigitalClockItem)?n:Ce,ie=(0,p.y)({elementType:re,externalSlotProps:null!=(a=null==Z?void 0:Z.digitalClockItem)?a:null==C?void 0:C.digitalClockItem,ownerState:{},className:oe.item}),ae=be({value:J,referenceDate:k,utils:l,props:f,timezone:G}),le=(0,se.Z)((e=>Q(e,"finish","hours"))),{setValueAndGoToNextView:ue}=(0,fe.B)({view:V,views:U,openTo:A,onViewChange:j,onChange:le,focusedView:B,onFocusedViewChange:W}),ce=(0,se.Z)((e=>{ue(e,"finish")}));r.useEffect((()=>{if(null===s.current)return;const e=s.current.querySelector('[role="listbox"] [role="option"][aria-selected="true"]');if(!e)return;const t=e.offsetTop;s.current.scrollTop=t-4}));const me=r.useCallback((e=>{const t=(0,h.X4)(R,l);
1return!((!D||!t(D,e))&&(!N||!t(e,N))&&(!I||!t(e,te))&&(!L||!t(te,e)))||!(l.getMinutes(e)%O===0&&(null==F||!F(l.toJsDate(e).getTime(),"hours"))&&(!$||!$(e,"hours")))}),[R,l,D,N,I,te,L,O,F,$]),he=r.useMemo((()=>{const e=l.startOfDay(ae);return[e,...Array.from({length:Math.ceil(1440/b)-1},((t,n)=>l.addMinutes(e,b*(n+1))))]}),[ae,b,l]);return(0,y.jsx)(xe,(0,o.Z)({ref:d,className:(0,E.Z)(oe.root,H),ownerState:ne},q,{children:(0,y.jsx)(ye,{autoFocusItem:w||!!B,role:"listbox","aria-label":ee.timePickerToolbarTitle,className:oe.list,children:he.map((e=>{if(Y&&me(e))return null;const t=l.isEqual(e,J);return(0,y.jsx)(re,(0,o.Z)({onClick:()=>!X&&ce(e),selected:t,disabled:_||me(e),disableRipple:X,role:"option","aria-disabled":X,"aria-selected":t},ie,{children:l.format(e,v?"fullTime12h":"fullTime24h")}),l.toISO(e))}))})}))}));function Ze(e){return(0,N.ZP)("MuiMultiSectionDigitalClock",e)}(0,D.Z)("MuiMultiSectionDigitalClock",["root"]);function Pe(e){return(0,N.ZP)("MuiMultiSectionDigitalClockSection",e)}(0,D.Z)("MuiMultiSectionDigitalClockSection",["root","item"]);const Te=["autoFocus","onChange","className","disabled","readOnly","items","active","slots","slotProps","skipDisabled"],ke=(0,T.ZP)(ce.Z,{name:"MuiMultiSectionDigitalClockSection",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>({maxHeight:he.Fn,width:56,padding:0,overflow:"hidden","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:t.alreadyRendered?"smooth":"auto"},"@media (pointer: fine)":{"&:hover":{overflowY:"auto"}},"@media (pointer: none), (pointer: coarse)":{overflowY:"auto"},"&:not(:first-of-type)":{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"&:after":{display:"block",content:'""',height:"calc(100% - 40px - 6px)"}}))),Se=(0,T.ZP)(ue.Z,{name:"MuiMultiSectionDigitalClockSection",slot:"Item",overridesResolver:(e,t)=>t.item})((({theme:e})=>({padding:8,margin:"2px 4px",width:he.kD,justifyContent:"center","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,le.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,le.Fq)(e.palette.primary.main,e.palette.action.focusOpacity)}}))),Ee=r.forwardRef((function(e,t){var n;const i=r.useRef(null),a=(0,de.Z)(t,i),l=r.useRef(null),s=(0,m.Z)({props:e,name:"MuiMultiSectionDigitalClockSection"}),{autoFocus:u,onChange:d,className:p,disabled:f,readOnly:h,items:v,active:g,slots:b,slotProps:w,skipDisabled:x}=s,C=(0,c.Z)(s,Te),M=r.useMemo((()=>(0,o.Z)({},s,{alreadyRendered:!!i.current})),[s]),Z=(e=>{const{classes:t}=e;return(0,S.Z)({root:["root"],item:["item"]},Pe,t)})(M),P=null!=(n=null==b?void 0:b.digitalClockSectionItem)?n:Se;return r.useEffect((()=>{if(null===i.current)return;const e=i.current.querySelector('[role="option"][aria-selected="true"]');if(!e||l.current===e)return void(l.current!==e&&(l.current=e));l.current=e,g&&u&&e.focus();const t=e.offsetTop;i.current.scrollTop=t-4})),(0,y.jsx)(ke,(0,o.Z)({ref:a,className:(0,E.Z)(Z.root,p),ownerState:M,autoFocusItem:u&&g,role:"listbox"},C,{children:v.map((e=>{var t,n;if(x&&null!=(t=e.isDisabled)&&t.call(e,e.value))return null;const r=e.isSelected(e.value);return(0,y.jsx)(P,(0,o.Z)({onClick:()=>!h&&d(e.value),selected:r,disabled:f||(null==(n=e.isDisabled)?void 0:n.call(e,e.value)),disableRipple:h,role:"option","aria-disabled":h,"aria-label":e.ariaLabel,"aria-selected":r,className:Z.item},null==w?void 0:w.digitalClockSectionItem,{children:e.label}),e.label)}))}))})),Re=({now:e,value:t,utils:n,ampm:o,isDisabled:r,resolveAriaLabel:i,timeStep:a})=>{const l=t?n.getHours(t):null,s=[],u=e=>null!==l&&(o?12===e?12===l||0===l:l===e||l-12===e:l===e),c=o?11:23;for(let d=0;d<=c;d+=a){let t=n.format(n.setHours(e,d),o?"hours12h":"hours24h");const a=i(parseInt(t,10).toString());t=n.formatNumber(t),s.push({value:d,label:t,isSelected:u,isDisabled:r,ariaLabel:a})}return s},Ne=({value:e,utils:t,isDisabled:n,timeStep:o,resolveLabel:r,resolveAriaLabel:i,hasValue:a=!0})=>{const l=t=>null!==e&&(a&&e===t);return[...Array.from({length:Math.ceil(60/o)},((e,a)=>{const s=o*a;return{value:s,label:t.formatNumber(r(s)),isDisabled:n,isSelected:l,ariaLabel:i(s.toString())}}))]},De=["ampm","timeSteps","autoFocus","components","componentsProps","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableClock","shouldDisableTime","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","skipDisabled","timezone"],Ie=(0,T.ZP)(me.Z,{name:"MuiMultiSectionDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",flexDirection:"row",width:"100%",borderBottom:`1px solid ${(e.vars||e).palette.divider}`}))),Le=r.forwardRef((function(e,t){const n=(0,g.nB)(),i=(0,m.Z)({props:e,name:"MuiMultiSectionDigitalClock"}),{ampm:a=n.is12HourCycleInCurrentLocale(),timeSteps:l,autoFocus:s,components:d,componentsProps:p,slots:f,slotProps:v,value:b,defaultValue:w,referenceDate:x,disableIgnoringDatePartForTimeValidation:C=!1,maxTime:M,minTime:Z,disableFuture:P,disablePast:T,minutesStep:k=1,shouldDisableClock:R,shouldDisableTime:N,onChange:D,view:I,views:L=["hours","minutes"],openTo:O,onViewChange:F,focusedView:$,onFocusedViewChange:z,className:V,disabled:A,readOnly:j,skipDisabled:B=!1,timezone:W}=i,H=(0,c.Z)(i,De),{value:X,handleValueChange:U,timezone:K}=(0,ve.m)({name:"MultiSectionDigitalClock",timezone:W,value:b,defaultValue:w,onChange:D,valueManager:u.h}),q=(0,g.og)(),J=(0,g.mX)(K),Q=r.useMemo((()=>(0,o.Z)({hours:1,minutes:5,seconds:5},l)),[l]),G=be({value:X,referenceDate:x,utils:n,props:i,timezone:K}),ee=(0,se.Z)(((e,t,n)=>U(e,t,n))),te=r.useMemo((()=>a&&L.includes("hours")?L.includes("meridiem")?L:[...L,"meridiem"]:L),[a,L]),{view:ne,setValueAndGoToView:oe,focusedView:re}=(0,fe.B)({view:I,views:te,openTo:O,onViewChange:F,onChange:ee,focusedView:$,onFocusedViewChange:z}),ie=(0,se.Z)((e=>
1{oe(e,null,"meridiem")})),{meridiemMode:ae,handleMeridiemChange:le}=(0,_.iC)(G,a,ie,"finish"),ue=r.useCallback(((e,t)=>{const o=(0,h.X4)(C,n),r="hours"===t||"minutes"===t&&te.includes("seconds"),i=({start:e,end:t})=>(!Z||!o(Z,t))&&((!M||!o(e,M))&&((!P||!o(e,J))&&(!T||!o(J,r?t:e)))),l=(e,o=1)=>{if(e%o!==0)return!1;if(null!=R&&R(e,t))return!1;if(N)switch(t){case"hours":return!N(n.setHours(G,e),"hours");case"minutes":return!N(n.setMinutes(G,e),"minutes");case"seconds":return!N(n.setSeconds(G,e),"seconds");default:return!1}return!0};switch(t){case"hours":{const t=(0,h.b_)(e,ae,a),o=n.setHours(G,t);return!i({start:n.setSeconds(n.setMinutes(o,0),0),end:n.setSeconds(n.setMinutes(o,59),59)})||!l(t)}case"minutes":{const t=n.setMinutes(G,e);return!i({start:n.setSeconds(t,0),end:n.setSeconds(t,59)})||!l(e,k)}case"seconds":{const t=n.setSeconds(G,e);return!i({start:t,end:t})||!l(e)}default:throw new Error("not supported")}}),[a,G,C,M,ae,Z,k,R,N,n,P,T,J,te]),ce=(0,se.Z)(((e,t)=>{const n=te.indexOf(e),o=te[n+1];oe(t,o,e)})),de=r.useCallback((e=>{switch(e){case"hours":return{onChange:e=>{const t=(0,h.b_)(e,ae,a);ce("hours",n.setHours(G,t))},items:Re({now:J,value:X,ampm:a,utils:n,isDisabled:e=>A||ue(e,"hours"),timeStep:Q.hours,resolveAriaLabel:q.hoursClockNumberText})};case"minutes":return{onChange:e=>{ce("minutes",n.setMinutes(G,e))},items:Ne({value:n.getMinutes(G),utils:n,isDisabled:e=>A||ue(e,"minutes"),resolveLabel:e=>n.format(n.setMinutes(J,e),"minutes"),timeStep:Q.minutes,hasValue:!!X,resolveAriaLabel:q.minutesClockNumberText})};case"seconds":return{onChange:e=>{ce("seconds",n.setSeconds(G,e))},items:Ne({value:n.getSeconds(G),utils:n,isDisabled:e=>A||ue(e,"seconds"),resolveLabel:e=>n.format(n.setSeconds(J,e),"seconds"),timeStep:Q.seconds,hasValue:!!X,resolveAriaLabel:q.secondsClockNumberText})};case"meridiem":{const e=(0,Y.lu)(n,"am"),t=(0,Y.lu)(n,"pm");return{onChange:le,items:[{value:"am",label:e,isSelected:()=>!!X&&"am"===ae,ariaLabel:e},{value:"pm",label:t,isSelected:()=>!!X&&"pm"===ae,ariaLabel:t}]}}default:throw new Error(`Unknown view: ${e} found.`)}}),[J,X,a,n,Q.hours,Q.minutes,Q.seconds,q.hoursClockNumberText,q.minutesClockNumberText,q.secondsClockNumberText,ae,ce,G,A,ue,le]),me=r.useMemo((()=>te.reduce(((e,t)=>(0,o.Z)({},e,{[t]:de(t)})),{})),[te,de]),pe=i,he=(e=>{const{classes:t}=e;return(0,S.Z)({root:["root"]},Ze,t)})(pe);return(0,y.jsx)(Ie,(0,o.Z)({ref:t,className:(0,E.Z)(he.root,V),ownerState:pe,role:"group"},H,{children:Object.entries(me).map((([e,t])=>(0,y.jsx)(Ee,{items:t.items,onChange:t.onChange,active:ne===e,autoFocus:null!=s?s:re===e,disabled:A,readOnly:j,slots:null!=f?f:d,slotProps:null!=v?v:p,skipDisabled:B,"aria-label":q.selectViewText(e)},e)))}))})),Oe=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:o,views:r,value:i,defaultValue:a,referenceDate:l,onChange:s,className:u,classes:c,disableFuture:d,disablePast:m,minTime:p,maxTime:f,shouldDisableTime:v,shouldDisableClock:g,minutesStep:b,ampm:w,components:x,componentsProps:C,slots:M,slotProps:Z,readOnly:P,disabled:T,sx:k,autoFocus:S,disableIgnoringDatePartForTimeValidation:E,timeSteps:R,skipDisabled:N,timezone:D})=>(0,y.jsx)(Me,{view:e,onViewChange:t,focusedView:n,onFocusedViewChange:o,views:r.filter(h.Is),value:i,defaultValue:a,referenceDate:l,onChange:s,className:u,classes:c,disableFuture:d,disablePast:m,minTime:p,maxTime:f,shouldDisableTime:v,shouldDisableClock:g,minutesStep:b,ampm:w,components:x,componentsProps:C,slots:M,slotProps:Z,readOnly:P,disabled:T,sx:k,autoFocus:S,disableIgnoringDatePartForTimeValidation:E,timeStep:null==R?void 0:R.minutes,skipDisabled:N,timezone:D}),Fe=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:o,views:r,value:i,defaultValue:a,referenceDate:l,onChange:s,className:u,classes:c,disableFuture:d,disablePast:m,minTime:p,maxTime:f,shouldDisableTime:v,shouldDisableClock:g,minutesStep:b,ampm:w,components:x,componentsProps:C,slots:M,slotProps:Z,readOnly:P,disabled:T,sx:k,autoFocus:S,disableIgnoringDatePartForTimeValidation:E,timeSteps:R,skipDisabled:N,timezone:D})=>(0,y.jsx)(Le,{view:e,onViewChange:t,focusedView:n,onFocusedViewChange:o,views:r.filter(h.Is),value:i,defaultValue:a,referenceDate:l,onCh
1ange:s,className:u,classes:c,disableFuture:d,disablePast:m,minTime:p,maxTime:f,shouldDisableTime:v,shouldDisableClock:g,minutesStep:b,ampm:w,components:x,componentsProps:C,slots:M,slotProps:Z,readOnly:P,disabled:T,sx:k,autoFocus:S,disableIgnoringDatePartForTimeValidation:E,timeSteps:R,skipDisabled:N,timezone:D}),$e=(e,t,n)=>n?t.filter((e=>!(0,h.SZ)(e)||"hours"===e)):e?[...t,"meridiem"]:t;const ze=r.forwardRef((function(e,t){var n,r,i,a,s,c;const d=(0,g.og)(),m=(0,g.nB)(),p=oe(e,"MuiDesktopTimePicker"),{shouldRenderTimeInASingleColumn:f,views:b,timeSteps:w}=function({thresholdToRenderTimeInASingleColumn:e,ampm:t,timeSteps:n,views:r}){const i=null!=e?e:24,a=(0,o.Z)({hours:1,minutes:5,seconds:5},n),l=((e,t)=>{var n,o;return 1440/((null!=(n=e.hours)?n:1)*(null!=(o=e.minutes)?o:5))<=t})(a,i);return{thresholdToRenderTimeInASingleColumn:i,timeSteps:a,shouldRenderTimeInASingleColumn:l,views:$e(t,r,l)}}(p),x=f?Oe:Fe,y=(0,o.Z)({hours:x,minutes:x,seconds:x,meridiem:x},p.viewRenderers),C=null==(n=p.ampmInClock)||n,M=f?[]:["accept"],Z=(null==(r=y.hours)?void 0:r.name)===Fe.name?b:b.filter((e=>"meridiem"!==e)),T=(0,o.Z)({},p,{ampmInClock:C,timeSteps:w,viewRenderers:y,format:(0,h.l9)(m,p),views:f?["hours"]:Z,slots:(0,o.Z)({field:P,openPickerIcon:re.T3},p.slots),slotProps:(0,o.Z)({},p.slotProps,{field:e=>{var n;return(0,o.Z)({},(0,l.x)(null==(n=p.slotProps)?void 0:n.field,e),(0,ae.f_)(p),{ref:t})},toolbar:(0,o.Z)({hidden:!0,ampmInClock:C},null==(i=p.slotProps)?void 0:i.toolbar),actionBar:(0,o.Z)({actions:M},null==(a=p.slotProps)?void 0:a.actionBar)})}),{renderPicker:k}=(0,ie.B)({props:T,valueManager:u.h,valueType:"time",getOpenDialogAriaText:null!=(s=null==(c=T.localeText)?void 0:c.openTimePickerDialogue)?s:d.openTimePickerDialogue,validator:v});return k()}));ze.propTypes={ampm:a().bool,ampmInClock:a().bool,autoFocus:a().bool,className:a().string,closeOnSelect:a().bool,components:a().object,componentsProps:a().object,defaultValue:a().any,disabled:a().bool,disableFuture:a().bool,disableIgnoringDatePartForTimeValidation:a().bool,disableOpenPicker:a().bool,disablePast:a().bool,format:a().string,formatDensity:a().oneOf(["dense","spacious"]),inputRef:s.Z,label:a().node,localeText:a().object,maxTime:a().any,minTime:a().any,minutesStep:a().number,onAccept:a().func,onChange:a().func,onClose:a().func,onError:a().func,onOpen:a().func,onSelectedSectionsChange:a().func,onViewChange:a().func,open:a().bool,openTo:a().oneOf(["hours","meridiem","minutes","seconds"]),orientation:a().oneOf(["landscape","portrait"]),readOnly:a().bool,reduceAnimations:a().bool,referenceDate:a().any,selectedSections:a().oneOfType([a().oneOf(["all","day","hours","meridiem","minutes","month","seconds","weekDay","year"]),a().number,a().shape({endIndex:a().number.isRequired,startIndex:a().number.isRequired})]),shouldDisableClock:a().func,shouldDisableTime:a().func,skipDisabled:a().bool,slotProps:a().object,slots:a().object,sx:a().oneOfType([a().arrayOf(a().oneOfType([a().func,a().object,a().bool])),a().func,a().object]),thresholdToRenderTimeInASingleColumn:a().number,timeSteps:a().shape({hours:a().number,minutes:a().number,seconds:a().number}),timezone:a().string,value:a().any,view:a().oneOf(["hours","meridiem","minutes","seconds"]),viewRenderers:a().shape({hours:a().func,meridiem:a().func,minutes:a().func,seconds:a().func}),views:a().arrayOf(a().oneOf(["hours","minutes","seconds"]).isRequired)}},30786:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var o=n(66700),r=n(81290),i=n(8849),a=n(19785);function l(e){(0,a.Z)(1,arguments);var t=(0,o.Z)(e),n=(0,i.Z)(t,(0,r.Z)(t)),l=n+1;return l}},49432:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},62034:function(e,t,n){var o=n(65067),r=n(95882);e.exports=function e(t,n,i,a,l){var s=-1,u=t.length;for(i||(i=r),l||(l=[]);++s<u;){var c=t[s];n>0&&i(c)?n>1?e(c,n-1,i,a,l):o(l,c):a||(l[l.length]=c)}return l}},17606:function(e){e.exports=function(e,t){return e<t}},92602:function(e,t,n){var o=n(93759),r=n(95041);e.exports=function(e,t){return o(e,t,(function(t,n){return r(e,n)}))}},86532:function(e,t,n){var o=n(86874),r=n(83043),i=n(23059),a=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:o(t),writable:!0})}:i;e.exports=a},29097:function(e,t,n){var o=n(35676),r=n(43114),i=n(75251);e.exports=function(e){return i(r(e,void 0,o),e+"")}},95882:function(e,t,n){var o=n(50857),r=n(79631),i=n(86152),a=o?o.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||r(e)||!!(a&&e&&e[a])}},43114:function(e,t,n){var o=n(49432),r=Math.max;e.exports=function(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,l=r(i.length-t,0),s=Array(l);++a<l;)s[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(s),o(e,this,u)}}},75251:function(e,t,n){var o=n(86532),r=n(97787)(o);e.exports=r},97787:function(e){var t=Date.now;e.exports=function(e){var n=0,o=0;
1return function(){var r=t(),i=16-(r-o);if(o=r,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},86874:function(e){e.exports=function(e){return function(){return e}}},35676:function(e,t,n){var o=n(62034);e.exports=function(e){return(null==e?0:e.length)?o(e,1):[]}},65680:function(e,t,n){var o=n(2229),r=n(17606),i=n(23059);e.exports=function(e){return e&&e.length?o(e,i,r):void 0}},13888:function(e,t,n){var o=n(92602),r=n(29097)((function(e,t){return null==e?{}:o(e,t)}));e.exports=r},15656:function(){},34896:function(){},41659:function(){},67682:function(){},90281:function(e,t,n){"use strict";n.d(t,{$0:function(){return de},CT:function(){return M},Dy:function(){return ve},Eq:function(){return d},Fy:function(){return m},Ju:function(){return C},KL:function(){return x},NM:function(){return f},Nc:function(){return l},OL:function(){return le},OV:function(){return j},P0:function(){return xe},QB:function(){return h},RD:function(){return A},Su:function(){return he},TX:function(){return ee},U2:function(){return G},VI:function(){return v},Wy:function(){return a},Xl:function(){return u},ZP:function(){return qe},_7:function(){return se},bQ:function(){return Ze},bc:function(){return ke},bt:function(){return ae},cO:function(){return c},gJ:function(){return s},hI:function(){return $},hU:function(){return J},iv:function(){return P},l6:function(){return E},mw:function(){return k},oc:function(){return W},t$:function(){return Oe},tS:function(){return L},wQ:function(){return T}});var o=n(2784),r=n(51890),i=n(28316);function a(...e){return[...e].filter(Boolean).join(" ")}function l(e){return`yarl__${e}`}function s(e){return`--yarl__${e}`}function u(e,t){return`${e}${t?`_${t}`:""}`}function c(e){return t=>u(e,t)}function d(...e){return()=>{e.forEach((e=>{e()}))}}function m(e,t,n){return()=>{const r=o.useContext(n);if(!r)throw new Error(`${e} must be used within a ${t}.Provider`);return r}}function p(){return"undefined"!==typeof window}function f(e,t=0){const n=10**t;return Math.round((e+Number.EPSILON)*n)/n}function h(e){return void 0===e.type||"image"===e.type}function v(e,t){return e.imageFit===r.rO||e.imageFit!==r.j3&&t===r.rO}function g(e){return"string"===typeof e?Number.parseInt(e,10):e}function b(e){if("number"===typeof e)return{pixel:e};if("string"===typeof e){const t=g(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function w(e,t){const n=b(t),o=void 0!==n.percent?e.width/100*n.percent:n.pixel;return{width:Math.max(e.width-2*o,0),height:Math.max(e.height-2*o,0)}}function x(){return(p()?null===window||void 0===window?void 0:window.devicePixelRatio:void 0)||1}function y(e,t){return t>0?(e%t+t)%t:0}function C(e){return e.length>0}function M(e,t){return e[y(t,e.length)]}function Z(e,t){return C(e)?M(e,t):void 0}function P(e){return h(e)?e.src:void 0}function T(e,t,n){if(!n)return e;const{buttons:r,...i}=e,a=r.findIndex((e=>e===t)),l=o.isValidElement(n)?o.cloneElement(n,{key:t},null):n;if(a>=0){const e=[...r];return e.splice(a,1,l),{buttons:e,...i}}return{buttons:[l,...r],...i}}function k(e,t,n=0){return Math.min(e.preload,Math.max(e.finite?t.length-1:Math.floor(t.length/2),n))}const S={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[r.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:r.j3,imageProps:{}},controller:{ref:null,focus:!0,aria:!1,touchAction:"none",closeOnPullUp:!1,closeOnPullDown:!1,closeOnBackdropClick:!1,preventDefaultWheelX:!0,preventDefaultWheelY:!1},portal:{},noScroll:{disabled:!1},on:{},styles:{},className:""};function E(e,t){return{name:e,component:t}}function R(e,t){return{module:e,children:t}}function N(e,t,n){return e.module.name===t?n(e):e.children?[R(e.module,e.children.flatMap((e=>{var o;return null!==(o=N(e,t,n))&&void 0!==o?o:[]})))]:[e]}function D(e,t,n){return e.flatMap((e=>{var o;return null!==(o=N(e,t,n))&&void 0!==o?o:[]}))}const I=o.createContext(null),L=m("useDocument","DocumentContext",I);function O({nodeRef:e,children:t}){const n=o.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 o.createElement(I.Provider,{value:n},t)}const F=o.createContext(null),$=m("useEvents","EventsContext",F);function z({children:e}){const[t]=o.useState({});o.useEffect((()=>()=>{Object.keys(t).forEach((e=>delete t[e]))}),[t]);const n=o.useMemo((()=>{const e=(e,n)=>{var o;null===(o=t[e])||void 0===o||o.splice(0,t[e].length,...t[e].filter((e=>e!==n)))};return{publish:(...[e,n])=>{var o;null===(o=t[e])||void 0===o||o.forEach((e=>e(n)))},subscribe:(n,o)=>(t[n]||(t[n]=[]),t[n].push(o),()=>e(n,o)),unsubscribe:e}}),[t]);return o.createElement(F.Provider,{value:n},e)}const V=o.createContext(null),A=m("useLightboxProps","LightboxPropsContext",V);function j({children:e,...t}){return o.createElement(V.Provider,{value:t},e)}const B=o.createContext(null),W=m("useLightboxState","LightboxStateContext",B),H=o.createContext(null),_=m("useLightbox
1Dispatch","LightboxDispatchContext",H);function X(e,t){switch(t.type){case"swipe":{const{slides:n}=e,o=(null===t||void 0===t?void 0:t.increment)||0,r=e.globalIndex+o,i=y(r,n.length);return{slides:n,currentIndex:i,globalIndex:r,currentSlide:Z(n,i),animation:o||t.duration?{increment:o,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:Z(t.slides,t.index)}:e;default:throw new Error(r.c3)}}function U({slides:e,index:t,children:n}){const[r,i]=o.useReducer(X,{slides:e,currentIndex:t,globalIndex:t,currentSlide:Z(e,t)});o.useEffect((()=>{i({type:"update",slides:e,index:t})}),[e,t]);const a=o.useMemo((()=>({...r,state:r,dispatch:i})),[r,i]);return o.createElement(H.Provider,{value:i},o.createElement(B.Provider,{value:a},n))}const Y=o.createContext(null),K=m("useTimeouts","TimeoutsContext",Y);function q({children:e}){const[t]=o.useState([]);o.useEffect((()=>()=>{t.forEach((e=>window.clearTimeout(e))),t.splice(0,t.length)}),[t]);const n=o.useMemo((()=>{const e=e=>{t.splice(0,t.length,...t.filter((t=>t!==e)))};return{setTimeout:(n,o)=>{const r=window.setTimeout((()=>{e(r),n()}),o);return t.push(r),r},clearTimeout:t=>{void 0!==t&&(e(t),window.clearTimeout(t))}}}),[t]);return o.createElement(Y.Provider,{value:n},e)}const J=o.forwardRef((function({label:e,className:t,icon:n,renderIcon:i,onClick:s,style:u,...c},d){const{styles:m,labels:p}=A(),f=function(e,t){var n;return null!==(n=null===e||void 0===e?void 0:e[t])&&void 0!==n?n:t}(p,e);return o.createElement("button",{ref:d,type:"button",title:f,"aria-label":f,className:a(l(r.bg),t),onClick:s,style:{...u,...m.button},...c},i?i():o.createElement(n,{className:l(r.vg),style:m.icon}))}));function Q(e,t){const n=e=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",...e},t);return n.displayName=e,n}function G(e,t){return Q(e,o.createElement("g",{fill:"currentColor"},o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function ee(e,t){return Q(e,o.createElement(o.Fragment,null,o.createElement("defs",null,o.createElement("mask",{id:"strike"},o.createElement("path",{d:"M0 0h24v24H0z",fill:"white"}),o.createElement("path",{d:"M0 0L24 24",stroke:"black",strokeWidth:4}))),o.createElement("path",{d:"M0.70707 2.121320L21.878680 23.292883",stroke:"currentColor",strokeWidth:2}),o.createElement("g",{fill:"currentColor",mask:"url(#strike)"},o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t)))}const te=G("Close",o.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),ne=G("Previous",o.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),oe=G("Next",o.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),re=G("Loading",o.createElement(o.Fragment,null,Array.from({length:8}).map(((e,t,n)=>o.createElement("line",{key:t,x1:"12",y1:"6.5",x2:"12",y2:"1.8",strokeLinecap:"round",strokeWidth:"2.6",stroke:"currentColor",strokeOpacity:1/n.length*(t+1),transform:`rotate(${360/n.length*t}, 12, 12)`}
1))))),ie=G("Error",o.createElement("path",{d:"M21.9,21.9l-8.49-8.49l0,0L3.59,3.59l0,0L2.1,2.1L0.69,3.51L3,5.83V19c0,1.1,0.9,2,2,2h13.17l2.31,2.31L21.9,21.9z M5,18 l3.5-4.5l2.5,3.01L12.17,15l3,3H5z M21,18.17L5.83,3H19c1.1,0,2,0.9,2,2V18.17z"})),ae=p()?o.useLayoutEffect:o.useEffect;function le(){const[e,t]=o.useState(!1);return o.useEffect((()=>{var e,n;const o=null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-reduced-motion: reduce)");t(null===o||void 0===o?void 0:o.matches);const r=e=>t(e.matches);return null===(n=null===o||void 0===o?void 0:o.addEventListener)||void 0===n||n.call(o,"change",r),()=>{var e;return null===(e=null===o||void 0===o?void 0:o.removeEventListener)||void 0===e?void 0:e.call(o,"change",r)}}),[]),e}function se(e,t){const n=o.useRef(),r=o.useRef(),i=le();return ae((()=>{var o,a,l;if(e.current&&void 0!==n.current&&!i){const{keyframes:i,duration:u,easing:c,onfinish:d}=t(n.current,e.current.getBoundingClientRect(),function(e){let t=0,n=0,o=0;const r=window.getComputedStyle(e).transform.match(/matrix.*\((.+)\)/);if(r){const e=r[1].split(",").map(g);6===e.length?(t=e[4],n=e[5]):16===e.length&&(t=e[12],n=e[13],o=e[14])}return{x:t,y:n,z:o}}(e.current))||{};if(i&&u){null===(o=r.current)||void 0===o||o.cancel(),r.current=void 0;try{r.current=null===(l=(a=e.current).animate)||void 0===l?void 0:l.call(a,i,{duration:u,easing:c})}catch(s){console.error(s)}r.current&&(r.current.onfinish=()=>{r.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=r.current)||void 0===e?void 0:e.playState)}}}function ue(){const e=o.useRef(null),t=o.useRef(),[n,r]=o.useState();return{setContainerRef:o.useCallback((n=>{e.current=n,t.current&&(t.current.disconnect(),t.current=void 0);const o=()=>{if(n){const 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 ce(){const e=o.useRef(),{setTimeout:t,clearTimeout:n}=K();return o.useCallback(((o,r)=>{n(e.current),e.current=t(o,r>0?r:0)}),[t,n])}function de(e){const t=o.useRef(e);return ae((()=>{t.current=e})),o.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 pe(e,t){return o.useMemo((()=>null==e&&null==t?null:n=>{me(e,n),me(t,n)}),[e,t])}function fe(e,t=!1){const n=o.useRef();ae((()=>{t&&n.current&&(n.current=!1,e())}),[t,e]);return{onFocus:o.useCallback((()=>{n.current=!0}),[]),onBlur:o.useCallback((()=>{n.current=!1}),[])}}function he(){const[e,t]=o.useState(!1);return ae((()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)}),[]),e}function ve(){const[e]=o.useState({}),t=o.useCallback(((t,n)=>{var o;null===(o=e[t])||void 0===o||o.forEach((e=>{n.isPropagationStopped()||e(n)}))}),[e]);return{registerSensors:o.useMemo((()=>({onPointerDown:e=>t(r.NZ,e),onPointerMove:e=>t(r.N4,e),onPointerUp:e=>t(r.S2,e),onPointerLeave:e=>t(r.pE,e),onPointerCancel:e=>t(r.Vt,e),onKeyDown:e=>t(r.ds,e),onKeyUp:e=>t(r.Bm,e),onWheel:e=>t(r.yq,e)})),[t]),subscribeSensors:o.useCallback(((t,n)=>(e[t]||(e[t]=[]),e[t].unshift(n),()=>{const o=e[t];o&&o.splice(0,o.length,...o.filter((e=>e!==n)))})),[e])}}function ge(e,t){const n=o.useRef(0),r=ce(),i=de(((...t)=>{n.current=Date.now(),e(t)}));return o.useCallback(((...e)=>{r((()=>{i(e)}),t-(Date.now()-n.current))}),[t,i,r])}const be=c("slide"),we=c("slide_image");function xe({slide:e,offset:t,render:n,rect:i,imageFit:s,imageProps:u,onClick:c,onLoad:d,onError:m,style:f}){var h,g,b,w,x,y,C;const[M,Z]=o.useState(r.Xe),{publish:P}=$(),{setTimeout:T}=K(),k=o.useRef(null);o.useEffect((()=>{0===t&&P((0,r.J1)(M))}),[t,M,P]);const S=de((e=>{("decode"in e?e.decode():Promise.resolve()).catch((()=>{})).then((()=>{e.parentNode&&(Z(r.Zv),T((()=>{null===d||void 0===d||d(e)}),0))}))})),E=o.useCallback((e=>{k.current=e,(null===e||void 0===e?void 0:e.complete)&&S(e)}),[S]),R=o.useCallback((e=>{S(e.currentTarget)}),[S]),N=de((()=>{Z(r.fS),null===m||void 0===m||m()})),D=v(e,s),I=(e,t)=>Number.isFinite(e)?e:t,L=I(Math.max(...(null!==(g=null===(h=e.srcSet)||void 0===h?void 0:h.map((e=>e.width)))&&void 0!==g?g:[]).concat(e.width?[e.width]:[]).filter(
1Boolean)),(null===(b=k.current)||void 0===b?void 0:b.naturalWidth)||0),O=I(Math.max(...(null!==(x=null===(w=e.srcSet)||void 0===w?void 0:w.map((e=>e.height)))&&void 0!==x?x:[]).concat(e.height?[e.height]:[]).filter(Boolean)),(null===(y=k.current)||void 0===y?void 0:y.naturalHeight)||0),F=L&&O?{maxWidth:`min(${L}px, 100%)`,maxHeight:`min(${O}px, 100%)`}:{maxWidth:"100%",maxHeight:"100%"},z=null===(C=e.srcSet)||void 0===C?void 0:C.sort(((e,t)=>e.width-t.width)).map((e=>`${e.src} ${e.width}w`)).join(", "),V=z&&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:j,...B}=u||{};return o.createElement(o.Fragment,null,o.createElement("img",{ref:E,onLoad:R,onError:N,onClick:c,draggable:!1,className:a(l(we()),D&&l(we("cover")),M!==r.Zv&&l(we("loading")),j),style:{...F,...f,...A},...B,alt:e.alt,sizes:V,srcSet:z,src:e.src}),M!==r.Zv&&o.createElement("div",{className:l(be(r.$L))},M===r.Xe&&((null===n||void 0===n?void 0:n.iconLoading)?n.iconLoading():o.createElement(re,{className:a(l(r.vg),l(be(r.Xe)))})),M===r.fS&&((null===n||void 0===n?void 0:n.iconError)?n.iconError():o.createElement(ie,{className:a(l(r.vg),l(be(r.fS)))}))))}const ye=o.forwardRef((function({className:e,children:t,...n},r){const i=o.useRef(null);return o.createElement(O,{nodeRef:i},o.createElement("div",{ref:pe(r,i),className:a(l("root"),e),...n},t))}));var Ce,Me;function Ze(e,t,n,i,a){o.useEffect((()=>a?()=>{}:d(e(r.NZ,t),e(r.N4,n),e(r.S2,i),e(r.pE,i),e(r.Vt,i))),[e,t,n,i,a])}!function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL=2]="PULL",e[e.ANIMATION=3]="ANIMATION"}(Ce||(Ce={})),function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL=2]="PULL"}(Me||(Me={}));const Pe=c("container"),Te=o.createContext(null),ke=m("useController","ControllerContext",Te);const Se=E(r.l4,(function({children:e,...t}){var n;const{carousel:i,animation:u,controller:c,on:m,styles:p,render:h}=t,{closeOnPullUp:v,closeOnPullDown:g,preventDefaultWheelX:x,preventDefaultWheelY:y}=c,[C,M]=o.useState(),Z=W(),P=_(),[T,k]=o.useState(Ce.NONE),S=o.useRef(0),E=o.useRef(0),R=o.useRef(1),{registerSensors:N,subscribeSensors:D}=ve(),{subscribe:I,publish:O}=$(),F=ce(),z=ce(),V=ce(),{containerRef:A,setContainerRef:j,containerRect:B}=ue(),H=pe(function({preventDefaultWheelX:e,preventDefaultWheelY:t}){const n=o.useRef(null),r=de((n=>{const o=Math.abs(n.deltaX)>Math.abs(n.deltaY);(o&&e||!o&&t||n.ctrlKey)&&n.preventDefault()}));return o.useCallback((e=>{var t;e?e.addEventListener("wheel",r,{passive:!1}):null===(t=n.current)||void 0===t||t.removeEventListener("wheel",r),n.current=e}),[r])}({preventDefaultWheelX:x,preventDefaultWheelY:y}),j),X=o.useRef(null),U=pe(X,void 0),{getOwnerDocument:Y}=L(),q=he(),J=e=>(q?-1:1)*("number"===typeof e?e:1),Q=de((()=>{var e;return null===(e=A.current)||void 0===e?void 0:e.focus()})),G=de((()=>t)),ee=de((()=>Z)),te=o.useCallback((e=>O(r.KN,e)),[O]),ne=o.useCallback((e=>O(r.Eb,e)),[O]),oe=o.useCallback((()=>O(r.t9)),[O]),re=e=>!(i.finite&&(J(e)>0&&0===Z.currentIndex||J(e)<0&&Z.currentIndex===Z.slides.length-1)),ie=e=>{var t;S.current=e,null===(t=A.current)||void 0===t||t.style.setProperty(s("swipe_offset"),`${Math.round(e)}px`)},ae=e=>{var t,n;E.current=e,R.current=(()=>{const t=g&&e>0?e:v&&e<0?-e:0;return Math.min(Math.max(f(1-t/60*.5,2),.5),1)})(),null===(t=A.current)||void 0===t||t.style.setProperty(s("pull_offset"),`${Math.round(e)}px`),null===(n=A.current)||void 0===n||n.style.setProperty(s("pull_opacity"),`${R.current}`)},{prepareAnimation:le}=se(X,((e,t,n)=>{if(X.current&&B)return{keyframes:[{transform:`translate(0, ${e.rect.y-t.y+n.y}px)`,opacity:e.opacity},{transform:"translate(0, 0)",opacity:1}],duration:e.duration,easing:u.easing.fade}})),me=(e,t)=>
1{if(v||g){ae(e);let n=0;X.current&&(n=u.fade*(t?2:1),le({rect:X.current.getBoundingClientRect(),opacity:R.current,duration:n})),V((()=>{ae(0),k(Ce.NONE)}),n),k(Ce.ANIMATION),t||oe()}},{prepareAnimation:fe,isAnimationPlaying:ge}=se(X,((e,t,n)=>{var o;if(X.current&&B&&(null===(o=Z.animation)||void 0===o?void 0:o.duration)){const o=b(i.spacing),r=(o.percent?o.percent*B.width/100:o.pixel)||0;return{keyframes:[{transform:`translate(${J(Z.globalIndex-e.index)*(B.width+r)+e.rect.x-t.x+n.x}px, 0)`},{transform:"translate(0, 0)"}],duration:Z.animation.duration,easing:Z.animation.easing}}})),be=de((e=>{var t,n;const o=e.offset||0,i=o?u.swipe:null!==(t=u.navigation)&&void 0!==t?t:u.swipe,a=o||ge()?u.easing.swipe:u.easing.navigation;let{direction:l}=e;const s=null!==(n=e.count)&&void 0!==n?n:1;let c=Ce.ANIMATION,d=i*s;if(!l){const t=null===B||void 0===B?void 0:B.width,n=e.duration||0,a=t?i/t*Math.abs(o):i;0!==s?(n<a?d=d/a*Math.max(n,a/5):t&&(d=i/t*(t-Math.abs(o))),l=J(o)>0?r.KN:r.Eb):d=i/2}let m=0;l===r.KN?re(J(1))?m=-s:(c=Ce.NONE,d=i):l===r.Eb&&(re(J(-1))?m=s:(c=Ce.NONE,d=i)),d=Math.round(d),z((()=>{ie(0),k(Ce.NONE)}),d),X.current&&fe({rect:X.current.getBoundingClientRect(),index:Z.globalIndex}),k(c),O(r.Tn,{type:"swipe",increment:m,duration:d,easing:a})}));o.useEffect((()=>{var e,t;(null===(e=Z.animation)||void 0===e?void 0:e.increment)&&(null===(t=Z.animation)||void 0===t?void 0:t.duration)&&F((()=>P({type:"swipe",increment:0})),Z.animation.duration)}),[Z.animation,P,F]);const we=[D,re,(null===B||void 0===B?void 0:B.width)||0,u.swipe,()=>k(Ce.SWIPE),e=>ie(e),(e,t)=>be({offset:e,duration:t,count:1}),e=>be({offset:e,count:0})],xe=[()=>{g&&k(Ce.PULL)},e=>ae(e),e=>me(e),e=>me(e,!0)];!function(e,t,n,r,i,a,l,s,u,c,d,m,p,f){const h=o.useRef(0),v=o.useRef([]),g=o.useRef(),b=o.useRef(0),w=o.useRef(Me.NONE),x=o.useCallback((e=>{g.current===e.pointerId&&(g.current=void 0,w.current=Me.NONE);const t=v.current;t.splice(0,t.length,...t.filter((t=>t.pointerId!==e.pointerId)))}),[]),y=o.useCallback((e=>{x(e),e.persist(),v.current.push(e)}),[x]),C=de((e=>{y(e)})),M=(e,t)=>c&&e>t||u&&e<-t,Z=de((e=>{if(v.current.find((t=>t.pointerId===e.pointerId))&&g.current===e.pointerId){const e=Date.now()-b.current,t=h.current;w.current===Me.SWIPE?Math.abs(t)>.3*n||Math.abs(t)>5&&e<r?l(t,e):s(t):w.current===Me.PULL&&(M(t,60)?p(t,e):f(t)),h.current=0,w.current=Me.NONE}x(e)}));Ze(e,C,de((e=>{const n=v.current.find((t=>t.pointerId===e.pointerId));if(n){const o=g.current===e.pointerId;if(0===e.buttons)return void(o&&0!==h.current?Z(e):x(n));const r=e.clientX-n.clientX,l=e.clientY-n.clientY;if(void 0===g.current){const n=t=>{y(e),g.current=e.pointerId,b.current=Date.now(),w.current=t};Math.abs(r)>Math.abs(l)&&Math.abs(r)>30&&t(r)?(n(Me.SWIPE),i()):Math.abs(l)>Math.abs(r)&&M(l,30)&&(n(Me.PULL),d())}else o&&(w.current===Me.SWIPE?(h.current=r,a(r)):w.current===Me.PULL&&(h.current=l,m(l)))}})),Z)}(...we,v,g,...xe),function(e,t,n,i,a,l,s,u,c){const d=o.useRef(0),m=o.useRef(0),p=o.useRef(),f=o.useRef(),h=o.useRef(0),v=o.useRef(0),{setTimeout:g,clearTimeout:b}=K(),w=o.useCallback((()=>{p.current&&(b(p.current),p.current=void 0)}),[b]),x=o.useCallback((()=>{f.current&&(b(f.current),f.current=void 0)}),[b]),y=de((()=>{e!==Ce.SWIPE&&(d.current=0,v.current=0,w(),x())}));o.useEffect(y,[e,y]);const C=de((e=>{f.current=void 0,d.current===e&&c(d.current)})),M=de((t=>{if(!t.ctrlKey&&!(Math.abs(t.deltaY)>Math.abs(t.deltaX)))if(e===Ce.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(h.current))return void(h.current=t.deltaX);if(!n(-t.deltaX))return;if(m.current+=t.deltaX,w(),Math.abs(m.current)>30)m.current=0,h.current=0,v.current=Date.now(),l();else{const e=m.current;p.current=g((()=>{p.current=void 0,e===m.current&&(m.current=0)}),a)}}else if(e===Ce.SWIPE){let e=d.current-t.deltaX;if(e=Math.min(Math.abs(e),i)*Math.sign(e),d.current=e,s(e),x(),Math.abs(e)>.2*i)return h.current=t.deltaX,void u(e,Date.now()-v.current);f.current=g((()=>C(e)),2*a)}else h.current=t.deltaX}));o.useEffect((()=>t(r.yq,M)),[t,M])}(T,...we);const ye=de((()=>{c.focus&&Y().querySelector(`.${l(r.SA)} .${l(Pe())}`)&&Q()}));o.useEffect(ye,[ye]);const ke=de((()=>{var e;null===(e=m.view)||void 0===e||e.call(m,{index:Z.currentIndex})}));o.useEffect(ke,[Z.globalIndex,ke]),o.useEffect((()=>d(I(r.KN,(e=>be({direction:r.KN,...e}))),I(r.Eb,(e=>be({direction:r.Eb,...e}))),I(r.Tn,(e=>
1P(e))))),[I,be,P]);const Se=o.useMemo((()=>({prev:te,next:ne,close:oe,focus:Q,slideRect:B?w(B,i.padding):{width:0,height:0},containerRect:B||{width:0,height:0},subscribeSensors:D,containerRef:A,setCarouselRef:U,toolbarWidth:C,setToolbarWidth:M})),[te,ne,oe,Q,D,B,A,U,C,M,i.padding]);return o.useImperativeHandle(c.ref,(()=>({prev:te,next:ne,close:oe,focus:Q,getLightboxProps:G,getLightboxState:ee})),[te,ne,oe,Q,G,ee]),o.createElement("div",{ref:H,className:a(l(Pe()),l(r.aN)),style:{...T===Ce.SWIPE?{[s("swipe_offset")]:`${Math.round(S.current)}px`}:null,...T===Ce.PULL?{[s("pull_offset")]:`${Math.round(E.current)}px`,[s("pull_opacity")]:`${R.current}`}:null,..."none"!==c.touchAction?{[s("controller_touch_action")]:c.touchAction}:null,...p.container},...c.aria?{role:"presentation","aria-live":"polite"}:null,tabIndex:-1,...N},B&&o.createElement(Te.Provider,{value:Se},e,null===(n=h.controls)||void 0===n?void 0:n.call(h)))}));function Ee(e){return u(r.k0,e)}function Re(e){return u("slide",e)}function Ne({slide:e,offset:t}){const n=o.useRef(null),{currentIndex:i}=W(),{slideRect:s,close:u}=ke(),{render:c,carousel:{imageFit:d,imageProps:m},on:{click:p},controller:{closeOnBackdropClick:f},styles:{slide:v}}=A();return o.createElement("div",{ref:n,className:a(l(Re()),0===t&&l(Re("current")),l(r.aN)),"aria-hidden":0!==t,onClick:e=>{const t=n.current,o=e.target instanceof HTMLElement?e.target:void 0;f&&o&&t&&(o===t||Array.from(t.children).find((e=>e===o))&&o.classList.contains(l(r.af)))&&u()},style:v},(()=>{var n,r,a,l;let u=null===(n=c.slide)||void 0===n?void 0:n.call(c,{slide:e,offset:t,rect:s});return!u&&h(e)&&(u=o.createElement(xe,{slide:e,offset:t,render:c,rect:s,imageFit:d,imageProps:m,onClick:0===t?()=>null===p||void 0===p?void 0:p({index:i}):void 0})),u?o.createElement(o.Fragment,null,null===(r=c.slideHeader)||void 0===r?void 0:r.call(c,{slide:e}),(null!==(a=c.slideContainer)&&void 0!==a?a:({children:e})=>e)({slide:e,children:u}),null===(l=c.slideFooter)||void 0===l?void 0:l.call(c,{slide:e})):null})())}function De(){const e=A().styles.slide;return o.createElement("div",{className:l("slide"),style:e})}const Ie=E(r.k0,(function({carousel:e}){const{slides:t,currentIndex:n,globalIndex:r}=W(),{setCarouselRef:i}=ke(),u=b(e.spacing),c=b(e.padding),d=k(e,t,1),m=[];if(C(t))for(let o=n-d;o<=n+d;o+=1){const i=M(t,o),a=r-n+o,l=e.finite&&(o<0||o>t.length-1);m.push(l?{key:a}:{key:[`${a}`,P(i)].filter(Boolean).join("|"),offset:o-n,slide:i})}return o.createElement("div",{ref:i,className:a(l(Ee()),m.length>0&&l(Ee("with_slides"))),style:{[`${s(Ee("slides_count"))}`]:m.length,[`${s(Ee("spacing_px"))}`]:u.pixel||0,[`${s(Ee("spacing_percent"))}`]:u.percent||0,[`${s(Ee("padding_px"))}`]:c.pixel||0,[`${s(Ee("padding_percent"))}`]:c.percent||0}},m.map((({key:e,slide:t,offset:n})=>t?o.createElement(Ne,{key:e,slide:t,offset:n}):o.createElement(De,{key:e}))))}));function Le(){const{carousel:e}=A(),{slides:t,currentIndex:n}=W();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function Oe(e){var t;const n=he(),{publish:i}=$(),{animation:a}=A(),{prevDisabled:l,nextDisabled:s}=Le(),u=(null!==(t=a.navigation)&&void 0!==t?t:a.swipe)/2,c=ge((()=>i(r.KN)),u),d=ge((()=>i(r.Eb)),u),m=de((e=>{switch(e.key){case r.PU:i(r.t9);break;case r.Sl:(n?s:l)||(n?d:c)();break;case r.NH:(n?l:s)||(n?c:d)()}}));o.useEffect((()=>e(r.ds,m)),[e,m])}function Fe({label:e,icon:t,renderIcon:n,action:r,onClick:i,disabled:a,style:s}){return o.createElement(J,{label:e,icon:t,renderIcon:n,className:l(`navigation_${r}`),disabled:a,onClick:i,style:s,...fe(ke().focus,a)})}const $e=E(r.Op,(function({render:{buttonPrev:e,buttonNext:t,iconPrev:n,iconNext:i},styles:a}){const{prev:l,next:s,subscribeSensors:u}=ke(),{prevDisabled:c,nextDisabled:d}=Le();return Oe(u),o.createElement(o.Fragment,null,e?e():o.createElement(Fe,{label:"Previous",action:r.KN,icon:ne,renderIcon:n,style:a.navigationPrev,disabled:c,onClick:l}),t?t():o.createElement(Fe,{label:"Next",action:r.Eb,icon:oe,renderIcon:i,style:a.navigationNext,disabled:d,onClick:s}))})),ze=l(r.Tf),Ve=l(r.M9);function Ae(e){return"style"in e}function je(e,t,n){const o=window.getComputedStyle(e),r=n?"padding-left":"padding-right",i=n?o.paddingLeft:o.paddingRight,a=e.style.getPropertyValue(r);return e.style.setProperty(r,`${(g(i)||0)+t}px`),()=>{a?e.style.setProperty(r,a):e.style.removeProperty(r)}}const Be=E(r.HE,(function({noScroll:{disabled:e}
1,children:t}){const n=he(),{getOwnerDocument:r,getOwnerWindow:i}=L();return o.useEffect((()=>{if(e)return()=>{};const t=[],o=i(),{body:a,documentElement:l}=r(),s=Math.round(o.innerWidth-l.clientWidth);if(s>0){t.push(je(a,s,n));const e=a.getElementsByTagName("*");for(let r=0;r<e.length;r+=1){const i=e[r];Ae(i)&&"fixed"===o.getComputedStyle(i).getPropertyValue("position")&&!i.classList.contains(Ve)&&t.push(je(i,s,n))}}return a.classList.add(ze),()=>{a.classList.remove(ze),t.forEach((e=>e()))}}),[n,e,r,i]),o.createElement(o.Fragment,null,t)}));function We(e){return u(r.SA,e)}function He(e,t,n){const o=e.getAttribute(t);return e.setAttribute(t,n),()=>{o?e.setAttribute(t,o):e.removeAttribute(t)}}const _e=E(r.SA,(function({children:e,animation:t,styles:n,className:u,on:c,portal:d,close:m}){const[p,f]=o.useState(!1),[h,v]=o.useState(!1),g=o.useRef([]),b=o.useRef(null),{setTimeout:w}=K(),{subscribe:x}=$(),y=le()?0:t.fade;o.useEffect((()=>(f(!0),()=>{f(!1),v(!1)})),[]);const C=de((()=>{g.current.forEach((e=>e())),g.current=[]})),M=de((()=>{var e;v(!1),C(),null===(e=c.exiting)||void 0===e||e.call(c),w((()=>{var e;null===(e=c.exited)||void 0===e||e.call(c),m()}),y)}));o.useEffect((()=>x(r.t9,M)),[x,M]);const Z=de((e=>{var t,n,o;e.scrollTop,v(!0),null===(t=c.entering)||void 0===t||t.call(c);const r=null!==(o=null===(n=e.parentNode)||void 0===n?void 0:n.children)&&void 0!==o?o:[];for(let i=0;i<r.length;i+=1){const t=r[i];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(t.tagName)&&t!==e&&(g.current.push(He(t,"inert","true")),g.current.push(He(t,"aria-hidden","true")))}g.current.push((()=>{var e,t;null===(t=null===(e=b.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)})),w((()=>{var e;null===(e=c.entered)||void 0===e||e.call(c)}),y)})),P=o.useCallback((e=>{e?Z(e):C()}),[Z,C]);return p?(0,i.createPortal)(o.createElement(ye,{ref:P,className:a(u,l(We()),l(r.M9),h&&l(We("open"))),role:"presentation","aria-live":"polite",style:{...t.fade!==S.animation.fade?{[s("fade_animation_duration")]:`${y}ms`}:null,...t.easing.fade!==S.animation.easing.fade?{[s("fade_animation_timing_function")]:t.easing.fade}:null,...n.root},onFocus:e=>{b.current||(b.current=e.relatedTarget)}},e),d.root||document.body):null}));const Xe=E(r.lT,(function({children:e}){return o.createElement(o.Fragment,null,e)}));const Ue=E(r.hb,(function({toolbar:{buttons:e},render:{buttonClose:t,iconClose:n},styles:i}){const{close:a,setToolbarWidth:s}=ke(),{setContainerRef:c,containerRect:d}=ue();return ae((()=>{s(null===d||void 0===d?void 0:d.width)}),[s,null===d||void 0===d?void 0:d.width]),o.createElement("div",{ref:c,style:i.toolbar,className:l(u(r.hb,m))},null===e||void 0===e?void 0:e.map((e=>e===r.t9?t?t():o.createElement(J,{key:r.t9,label:"Close",icon:te,renderIcon:n,onClick:a}):e)));var m}));function Ye(e,t){var n;return o.createElement(e.module.component,{key:e.module.name,...t},null===(n=e.children)||void 0===n?void 0:n.map((e=>Ye(e,t))))}function Ke(e,t={}){const{easing:n,...o}=e,{easing:r,...i}=t;return{easing:{...n,...r},...o,...i}}function qe({carousel:e,animation:t,render:n,toolbar:i,controller:a,noScroll:l,on:s,plugins:u,slides:c,index:d,...m}){const{animation:p,carousel:f,render:h,toolbar:v,controller:b,noScroll:w,on:x,slides:y,index:C,plugins:M,...Z}=S,{config:P,augmentation:T}=function(e,t=[],n=[]){let o=e;const i=e=>{const t=[...o];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},a=(e,t)=>{o=""!==e?D(o,e,(e=>[R(t,[e])])):[R(t,o)]},l=(e,t)=>{o=D(o,e,(e=>[R(e.module,[R(t,e.children)])]))},s=(e,t,n)=>{o=D(o,e,(e=>{var o;return[R(e.module,[...n?[R(t)]:[],...null!==(o=e.children)&&void 0!==o?o:[],...n?[]:[R(t)]])]}))},u=(e,t,n)=>{o=D(o,e,(e=>[...n?[R(t)]:[],e,...n?[]:[R(t)]]))},c=e=>{l(r.l4,e)},d=(e,t)=>{o=D(o,e,(e=>[R(t,e.children)]))},m=e=>{o=D(o,e,(e=>e.children))},p=e=>{n.push(e)};return t.forEach((e=>{e({contains:i,addParent:a,append:l,addChild:s,addSibling:u,addModule:c,replace:d,remove:m,augment:p})})),{config:o,augmentation:e=>n.reduce(((e,t)=>t(e)),e)}}([R(_e,[R(Be,[R(Se,[R(Ie),R(Ue),R($e)])])])],u||M),k=T({animation:Ke(p,t),carousel:{...f,...e},render:{...h,...n},toolbar:{...v,...i},controller:{...b,...a},noScroll:{...w,...l},on:{...x,...s},...Z,...m});return k.open?o.createElement(j,{...k},o.createElement(U,{slides:c||y,index:g(d||C)},o.createElement(q,null,o.createElement(z,null,Ye(R(Xe,P),k))))):null}},55772:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var o=n(2784),r=n(90281),i=n(51890);const a={separator:"/",container:{}},l=e=>({...a,...e});function s({counter:e}){const{slides:t,currentIndex:n}=(0,r.oc)(),{separator:i,container:{className:a,...s},className:u,...c}=l(e);return 0===t.length?null:o.createElement("div",{className:(0,r.Wy)((0,r.Nc)("counter"),a||u),...c,...s},n+1," ",i," ",t.length)}function u({augment:e,addChild:t}){e((({counter:e,...t})=>({counter:l(e),...t}))),t(i.l4,(0,r.l6)(i.mH,s))}},60062:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var o=n(2784),r=n(90281),i=n(51890);const a={ref:null,position:"bottom",width:120,height:80,border:1,borderRadius:4,padding:4,gap:16,imageFit:"contain",vignette:!0,hidden:!1,showToggle:!1},l=e=>({...a,...e});function s(){const{thumbnails:e}=(0,r.RD)();return l(e)}const u=e=>(0,r.Xl)(i.dA,e),c=e=>u((0,r.Xl)("thumbnail",e)),d=(0,r.U2)("VideoThumbnail",o.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"})),m=(0,r.U2)("UnknownThumbnail",o.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 p=(0,r.cO)("active"),f=(0,r.cO)("fadein"),h=(0,r.cO)("fadeout"),v=(0,r.cO)("placeholder"),g="delay",b="duration";function w({slide:e,onClick:t,active:n,fadeIn:a,fadeOut:l,placeholder:u,onLoseFocus:w}
1){const x=o.useRef(null),{render:y,styles:C}=(0,r.RD)(),{getOwnerDocument:M}=(0,r.tS)(),{width:Z,height:P,imageFit:T}=s(),k={width:Z,height:P},S=(0,r.$0)(w);return o.useEffect((()=>{l&&M().activeElement===x.current&&S()}),[l,S,M]),o.createElement("button",{ref:x,type:"button",className:(0,r.Wy)((0,r.Nc)(i.aN),(0,r.Nc)(c()),n&&(0,r.Nc)(c(p())),a&&(0,r.Nc)(c(f())),l&&(0,r.Nc)(c(h())),u&&(0,r.Nc)(c(v()))),style:{...a?{[(0,r.gJ)(c(f(b)))]:`${a.duration}ms`,[(0,r.gJ)(c(f(g)))]:`${a.delay}ms`}:null,...l?{[(0,r.gJ)(c(h(b)))]:`${l.duration}ms`,[(0,r.gJ)(c(h(g)))]:`${l.delay}ms`}:null,...C.thumbnail},onClick:t},e&&function({slide:e,render:t,rect:n,imageFit:a}){var l;const s=null===(l=t.thumbnail)||void 0===l?void 0:l.call(t,{slide:e,render:t,rect:n,imageFit:a});if(s)return s;const u={render:t,rect:n,imageFit:a};if(e.thumbnail)return o.createElement(r.P0,{slide:{src:e.thumbnail},...u});if((0,r.QB)(e))return o.createElement(r.P0,{slide:e,...u});const p=(0,r.Nc)(c(i.vg));return"video"===e.type?o.createElement(o.Fragment,null,e.poster&&o.createElement(r.P0,{slide:{src:e.poster},...u}),o.createElement(d,{className:p})):o.createElement(m,{className:p})}({slide:e,render:y,rect:k,imageFit:T}))}function x(e){return["top","bottom"].includes(e)}function y(e,t){return t+2*(e.border+e.padding)+e.gap}function C(e){const{thumbnail:t,poster:n}=e||{thumbnail:"placeholder"};return"string"===typeof t&&t||"string"===typeof n&&n||e&&(0,r.iv)(e)||void 0}function M({visible:e,containerRef:t}){const n=o.useRef(null),l=(0,r.Su)(),{publish:d,subscribe:m}=(0,r.hI)(),{carousel:p,styles:f}=(0,r.RD)(),{slides:h,globalIndex:v,animation:g}=(0,r.oc)(),{registerSensors:b,subscribeSensors:M}=(0,r.Dy)();(0,r.t$)(M);const Z=s(),{position:P,width:T,height:k,border:S,borderStyle:E,borderColor:R,borderRadius:N,padding:D,gap:I,vignette:L}=Z,O=(null===g||void 0===g?void 0:g.duration)||0,F=O>0&&(null===g||void 0===g?void 0:g.increment)||0,{prepareAnimation:$}=(0,r._7)(n,(e=>({keyframes:x(P)?[{transform:`translateX(${(l?-1:1)*y(Z,T)*F+e}px)`},{transform:"translateX(0)"}]:[{transform:`translateY(${y(Z,k)*F+e}px)`},{transform:"translateY(0)"}],duration:O,easing:null===g||void 0===g?void 0:g.easing}))),z=(0,r.$0)((()=>{let e=0;if(t.current&&n.current){const o=t.current.getBoundingClientRect(),r=n.current.getBoundingClientRect();e=x(P)?r.left-o.left-(o.width-r.width)/2:r.top-o.top-(o.height-r.height)/2}$(e)}));o.useEffect((()=>(0,r.Eq)(m(i.Tn,z))),[m,z]);const V=(0,r.mw)(p,h),A=[];if((0,r.Ju)(h))for(let o=v-V-Math.abs(F);o<=v+V+Math.abs(F);o+=1){const e=p.finite&&(o<0||o>h.length-1)||F<0&&o<v-V||F>0&&o>v+V?null:(0,r.CT)(h,o),t=[`${o}`,C(e)].filter(Boolean).join("|");A.push({key:t,index:o,slide:e})}return o.createElement("div",{className:(0,r.Wy)((0,r.Nc)(u("container")),(0,r.Nc)(i.aN)),style:{...e?null:{display:"none"},...T!==a.width?{[(0,r.gJ)(c("width"))]:`${T}px`}:null,...k!==a.height?{[(0,r.gJ)(c("height"))]:`${k}px`}:null,...S!==a.border?{[(0,r.gJ)(c("border"))]:`${S}px`}:null,...E?{[(0,r.gJ)(c("border_style"))]:E}:null,...R?{[(0,r.gJ)(c("border_color"))]:R}:null,...N!==a.borderRadius?{[(0,r.gJ)(c("border_radius"))]:`${N}px`}:null,...D!==a.padding?{[(0,r.gJ)(c("padding"))]:`${D}px`}:null,...I!==a.gap?{[(0,r.gJ)(c("gap"))]:`${I}px`}:null,...f.thumbnailsContainer}},o.createElement("nav",{ref:n,style:f.thumbnailsTrack,className:(0,r.Wy)((0,r.Nc)(u("track")),(0,r.Nc)(i.aN)),tabIndex:-1,...b},A.map((({key:e,index:t,slide:r})=>{const a=O/Math.abs(F||1),l=F>0&&t>v+V-F&&t<=v+V||F<0&&t<v-V-F&&t>=v-V?{duration:a,delay:((F>0?t-(v+V-F):v-V-F-t)-1)*a}:void 0,s=F>0&&t<v-V||F<0&&t>v+V?{duration:a,delay:(F>0?F-(v-V-t):-F-(t-(v+V)))*a}:void 0;return o.createElement(w,{key:e,slide:r,active:t===v,fadeIn:l,fadeOut:s,placeholder:!r,onClick:(u=t,()=>{u>v?d(i.Eb,{count:u-v}):u<v&&d(i.KN,{count:v-u})}),onLoseFocus:()=>{var e;return null===(e=n.current)||void 0===e?void 0:e.focus()}});var u}))),L&&o.createElement("div",{className:(0,r.Nc)(u("vignette"))}))}const Z=o.createContext(null),P=(0,r.Fy)("useThumbnails","ThumbnailsContext",Z);function T({children:e,...t}){const{ref:n,position:i,hidden:a}=l(t.thumbnails),[s,c]=o.useState(!a),d=o.useRef(null),m=o.useMemo((()=>({visible:s,show:()=>c(!0),hide:()=>c(!1)})),[s]);return o.useImperativeHandle(n,(()=>m),[m]),o.createElement(r.OV,{...t},o.createElement(Z.Provider,{value:m},o.createElement("div",{ref:d,className:(0,r.Wy)((0,r.Nc)(u()),(0,r.Nc)(u(`${i}`)))}
1,["start","top"].includes(i)&&o.createElement(M,{containerRef:d,visible:s}),o.createElement("div",{className:(0,r.Nc)(u("wrapper"))},e),["end","bottom"].includes(i)&&o.createElement(M,{containerRef:d,visible:s}))))}const k=()=>o.createElement(o.Fragment,null,o.createElement("path",{strokeWidth:2,stroke:"currentColor",strokeLinejoin:"round",fill:"none",d:"M3 5l18 0l0 14l-18 0l0-14z"}),o.createElement("path",{d:"M5 14h4v3h-4zM10 14h4v3h-4zM15 14h4v3h-4z"})),S=(0,r.U2)("ThumbnailsVisible",k()),E=(0,r.TX)("ThumbnailsHidden",k());function R(){const{visible:e,show:t,hide:n}=P(),{render:i}=(0,r.RD)();return i.buttonThumbnails?o.createElement(o.Fragment,null,i.buttonThumbnails({visible:e,show:t,hide:n})):o.createElement(r.hU,{label:e?"Hide thumbnails":"Show thumbnails",icon:e?S:E,renderIcon:e?i.iconThumbnailsVisible:i.iconThumbnailsHidden,onClick:e?n:t})}function N({augment:e,contains:t,append:n,addParent:a}){e((({thumbnails:e,toolbar:t,...n})=>{const a=l(e);return{toolbar:(0,r.wQ)(t,i.dA,a.showToggle?o.createElement(R,null):null),thumbnails:a,...n}}));const s=(0,r.l6)(i.dA,T);t(i.zr)?n(i.zr,s):a(i.l4,s)}},2923:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var o=n(2784),r=n(90281),i=n(51890);const a={maxZoomPixelRatio:1,zoomInMultiplier:2,doubleTapDelay:300,doubleClickDelay:500,doubleClickMaxStops:2,keyboardMoveDistance:50,wheelZoomDistanceFactor:100,pinchZoomDistanceFactor:100,scrollToZoom:!1},l=e=>({...a,...e});function s(){const{zoom:e}=(0,r.RD)();return l(e)}function u(e,t){return((e.clientX-t.clientX)**2+(e.clientY-t.clientY)**2)**.5}function c(e,t,n=100,o=2){return e*Math.min(1+Math.abs(t/n),o)**Math.sign(t)}function d(e,t,n){const[i,a]=o.useState(1),[l,u]=o.useState(0),[c,d]=o.useState(0),m=function(e,t,n,i){const a=o.useRef(),l=o.useRef(),{zoom:s}=(0,r.RD)().animation,u=(0,r.OL)(),c=(0,r.$0)((()=>{var o,r,c;if(null===(o=a.current)||void 0===o||o.cancel(),a.current=void 0,l.current&&(null===i||void 0===i?void 0:i.current)){try{a.current=null===(c=(r=i.current).animate)||void 0===c?void 0:c.call(r,[{transform:l.current},{transform:`scale(${e}) translateX(${t}px) translateY(${n}px)`}],{duration:u?0:null!==s&&void 0!==s?s:500,easing:a.current?"ease-out":"ease-in-out"})}catch(d){console.error(d)}l.current=void 0,a.current&&(a.current.onfinish=()=>{a.current=void 0})}}));return(0,r.bt)(c,[e,t,n,c]),o.useCallback((()=>{l.current=(null===i||void 0===i?void 0:i.current)?window.getComputedStyle(i.current).transform:void 0}),[i])}(i,l,c,n),{currentSlide:p,globalIndex:f}=(0,r.oc)(),{containerRect:h,slideRect:v}=(0,r.bc)(),{zoomInMultiplier:g}=s(),b=p&&(0,r.QB)(p)?p.src:void 0,w=!b||!(null===n||void 0===n?void 0:n.current);(0,r.bt)((()=>{a(1),u(0),d(0)}),[f,b]);const x=o.useCallback(((t,n,o)=>{const r=o||i,a=l-(t||0),s=c-(n||0),m=(e.width*r-v.width)/2/r,p=(e.height*r-v.height)/2/r;u(Math.min(Math.abs(a),Math.max(m,0))*Math.sign(a)),d(Math.min(Math.abs(s),Math.max(p,0))*Math.sign(s))}),[i,l,c,v,e.width,e.height]),y=o.useCallback(((e,n,o,l)=>{const s=(0,r.NM)(Math.min(Math.max(e+.001<t?e:t,1),t),5);s!==i&&(n||m(),x(o?o*(1/i-1/s):0,l?l*(1/i-1/s):0,s),a(s))}),[i,t,x,m]),C=(0,r.$0)((()=>{i>1&&(i>t&&y(t,!0),x())}));(0,r.bt)(C,[h.width,h.height,C]);const M=o.useCallback((()=>y(i*g)),[i,g,y]),Z=o.useCallback((()=>y(i/g)),[i,g,y]);return{zoom:i,offsetX:l,offsetY:c,disabled:w,changeOffsets:x,changeZoom:y,zoomIn:M,zoomOut:Z}}const m=o.createContext(null),p=(0,r.Fy)("useZoom","ZoomControllerContext",m);function f({children:e}){const[t,n]=o.useState(),{slideRect:a}=(0,r.bc)(),{imageRect:l,maxZoom:p}=function(e,t){var n,o;let i={width:0,height:0},a={width:0,height:0};const{currentSlide:l}=(0,r.oc)(),{imageFit:u}=(0,r.RD)().carousel,{maxZoomPixelRatio:c}=s();if(e&&l){const s={...l,...t};if((0,r.QB)(s)){const t=(0,r.VI)(s,u),l=Math.max(...((null===(n=s.srcSet)||void 0===n?void 0:n.map((e=>e.width)))||[]).concat(s.width?[s.width]:[])),d=Math.max(...((null===(o=s.srcSet)||void 0===o?void 0:o.map((e=>e.height)))||[]).concat(s.height?[s.height]:[]));l>0&&d>0&&e.width>0&&e.height>0&&(a=t?{width:Math.round(Math.min(l,e.width/e.height*d)),height:Math.round(Math.min(d,e.height/e.width*l))}:{width:l,height:d},a={width:a.width*c,height:a.height*c},i=t?{width:Math.min(e.width,a.width,l),height:Math.min(e.height,a.height,d)}:{width:Math.round(Math.min(e.width,e.height/d*l,l)),height:Math.round(Math.min(e.height,e.width/l*d,d))})}}return{imageRect:i,maxZoom:i.width?Math.max((0,r.NM)(a.width/i.width,5),1):1}}(a,null===t||void 0===t?void 0:t.imageDimensions),{zoom:f,offsetX:h,offsetY:v,disabled:g,changeZoom:b,changeOffsets:w,zoomIn:x,zoomOut:y}=d(l,p,null===t||void 0===t?void 0:t.zoomWrapperRef);!function(e,t){const{on:n}=(0,r.RD)(),i=(0,r.$0)((()=>{var o;t||null===(o=n.zoom)||void 0===o||o.call(n,{zoom:e})}));o.useEffect(i,[e,i])}(f,g),function(e,t,n,a,l,d){const m=o.useRef([]),p=o.useRef(0),f=o.useRef(),{globalIndex:h}=(0,r.oc)(),{getOwnerWindow:v}=(0,r.tS)(),{containerRef:g,subscribeSensors:b}=(0,r.bc)(),{keyboardMoveDistance:w,zoomInMultiplier:x,wheelZoomDistanceFactor:y,scrollToZoom:C,doubleTapDelay:M,doubleClickDelay:Z,doubleClickMaxStops:P,pinchZoomDistanceFactor:T}=s(),k=o.useCallback((e=>{if(g.current){const{pageX:t,pageY:n}=e,{scrollX:o,scrollY:r}=v(),{left:i,top:a,width:l,height:s}=g.current.getBoundingClientRect();return[t-i-o-l/2,n-a-r-s/2]}return[]}),[g,v]),S=(0,r.$0)((t=>{const n=()=>{t.preventDefault(),t.stopPropagation()};if(e>1){const e=(e,t)=>
1{n(),l(e,t)};"ArrowDown"===t.key?e(0,w):"ArrowUp"===t.key?e(0,-w):"ArrowLeft"===t.key?e(-w,0):"ArrowRight"===t.key&&e(w,0)}const o=e=>{n(),a(e)},r=()=>t.getModifierState("Meta");"+"===t.key||"="===t.key&&r()?o(e*x):"-"===t.key||"_"===t.key&&r()?o(e/x):"0"===t.key&&r()&&o(1)})),E=(0,r.$0)((t=>{if((t.ctrlKey||C)&&Math.abs(t.deltaY)>Math.abs(t.deltaX))return t.stopPropagation(),void a(c(e,-t.deltaY,y),!0,...k(t));e>1&&(t.stopPropagation(),C||l(t.deltaX,t.deltaY))})),R=o.useCallback((e=>{const t=m.current;t.splice(0,t.length,...t.filter((t=>t.pointerId!==e.pointerId)))}),[]),N=o.useCallback((e=>{R(e),e.persist(),m.current.push(e)}),[R]),D=(0,r.$0)((n=>{var o;const r=m.current;if("mouse"===n.pointerType&&n.buttons>1||!(null===(o=null===d||void 0===d?void 0:d.current)||void 0===o?void 0:o.contains(n.target)))return;e>1&&n.stopPropagation();const{timeStamp:i}=n;0===r.length&&i-p.current<("touch"===n.pointerType?M:Z)?(p.current=0,a(e!==t?e*Math.max(t**(1/P),x):1,!1,...k(n))):p.current=i,N(n),2===r.length&&(f.current=u(r[0],r[1]))})),I=(0,r.$0)((t=>{const n=m.current,o=n.find((e=>e.pointerId===t.pointerId));if(2===n.length&&f.current){t.stopPropagation(),N(t);const o=u(n[0],n[1]),r=o-f.current;Math.abs(r)>0&&(a(c(e,r,T),!0,...n.map((e=>k(e))).reduce(((e,t)=>t.map(((t,n)=>e[n]+t/2))))),f.current=o)}else e>1&&(t.stopPropagation(),o&&(1===n.length&&l((o.clientX-t.clientX)/e,(o.clientY-t.clientY)/e),N(t)))})),L=o.useCallback((e=>{const t=m.current;2===t.length&&t.find((t=>t.pointerId===e.pointerId))&&(f.current=void 0),R(e)}),[R]),O=o.useCallback((()=>{const e=m.current;e.splice(0,e.length),p.current=0,f.current=void 0}),[]);(0,r.bQ)(b,D,I,L,n),o.useEffect(O,[h,O]),o.useEffect((()=>n?()=>{}:(0,r.Eq)(O,b(i.ds,S),b(i.yq,E))),[n,b,O,S,E])}(f,p,g,b,w,null===t||void 0===t?void 0:t.zoomWrapperRef);const C=o.useMemo((()=>({zoom:f,maxZoom:p,offsetX:h,offsetY:v,disabled:g,zoomIn:x,zoomOut:y,changeZoom:b})),[f,p,h,v,g,x,y,b]);o.useImperativeHandle(s().ref,(()=>C),[C]);const M=o.useMemo((()=>({...C,setZoomWrapper:n})),[C,n]);return o.createElement(m.Provider,{value:M},e)}const h=(0,r.U2)("ZoomIn",o.createElement(o.Fragment,null,o.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"}),o.createElement("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"}))),v=(0,r.U2)("ZoomOut",o.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"})),g=o.forwardRef((function({zoomIn:e,onLoseFocus:t},n){const i=o.useRef(!1),a=o.useRef(!1),{zoom:l,maxZoom:s,zoomIn:u,zoomOut:c,disabled:d}=p(),{render:m}=(0,r.RD)(),f=d||(e?l>=s:l<=1);return o.useEffect((()=>{f&&i.current&&a.current&&t(),f||(i.current=!0)}),[f,t]),o.createElement(r.hU,{ref:n,disabled:f,label:e?"Zoom in":"Zoom out",icon:e?h:v,renderIcon:e?m.iconZoomIn:m.iconZoomOut,onClick:e?u:c,onFocus:()=>{a.current=!0},onBlur:()=>{a.current=!1}})}));function b(){const e=o.useRef(null),t=o.useRef(null),{focus:n}=(0,r.bc)(),i=o.useCallback((e=>{var t,o;(null===(t=e.current)||void 0===t?void 0:t.disabled)?n():null===(o=e.current)||void 0===o||o.focus()}),[n]),a=o.useCallback((()=>i(e)),[i]),l=o.useCallback((()=>i(t)),[i]);return o.createElement(o.Fragment,null,o.createElement(g,{zoomIn:!0,ref:e,onLoseFocus:l}),o.createElement(g,{ref:t,onLoseFocus:a}))}function w(){const{render:e}=(0,r.RD)(),t=p();
1return e.buttonZoom?o.createElement(o.Fragment,null,e.buttonZoom(t)):o.createElement(b,null)}function x({current:e,preload:t},{type:n,source:o}){switch(n){case"fetch":return e?{current:e,preload:o}:{current:o};case"done":return o===t?{current:o}:{current:e,preload:t};default:throw new Error(i.c3)}}function y(e){var t,n;const[{current:i,preload:a},l]=o.useReducer(x,{}),{slide:s,rect:u,imageFit:c,render:d,interactive:m}=e,p=s.srcSet.sort(((e,t)=>e.width-t.width)),f=null!==(t=s.width)&&void 0!==t?t:p[p.length-1].width,h=null!==(n=s.height)&&void 0!==n?n:p[p.length-1].height,v=(0,r.VI)(s,c),g=Math.max(...p.map((e=>e.width))),b=Math.min((v?Math.max:Math.min)(u.width,f*(u.height/h)),g),w=(0,r.KL)(),y=(0,r.$0)((()=>{var e;const t=null!==(e=p.find((e=>e.width>=b*w)))&&void 0!==e?e:p[p.length-1];(!i||p.findIndex((e=>e.src===i))<p.findIndex((e=>e===t)))&&l({type:"fetch",source:t.src})}));(0,r.bt)(y,[u.width,u.height,w,y]);const C=(0,r.$0)((e=>l({type:"done",source:e}))),M={WebkitTransform:m?"initial":"translateZ(0)"};return v||Object.assign(M,u.width/u.height<f/h?{width:"100%",height:"auto"}:{width:"auto",height:"100%"}),o.createElement(o.Fragment,null,a&&a!==i&&o.createElement(r.P0,{key:"preload",...e,slide:{...s,src:a,srcSet:void 0},style:{position:"absolute",visibility:"hidden",...M},onLoad:()=>C(a),render:{...d,iconLoading:()=>null,iconError:()=>null}}),i&&o.createElement(r.P0,{key:"current",...e,slide:{...s,src:i,srcSet:void 0},style:M}))}function C({render:e,slide:t,offset:n,rect:a}){var l;const[s,u]=o.useState(),c=o.useRef(null),{zoom:d,maxZoom:m,offsetX:f,offsetY:h,setZoomWrapper:v}=p(),g=d>1,{carousel:b,on:w}=(0,r.RD)(),{currentIndex:x}=(0,r.oc)();(0,r.bt)((()=>0===n?(v({zoomWrapperRef:c,imageDimensions:s}),()=>v(void 0)):()=>{}),[n,s,v]);let C=null===(l=e.slide)||void 0===l?void 0:l.call(e,{slide:t,offset:n,rect:a,zoom:d,maxZoom:m});if(!C&&(0,r.QB)(t)){const i={slide:t,offset:n,rect:a,render:e,imageFit:b.imageFit,imageProps:b.imageProps,onClick:0===n?()=>{var e;return null===(e=w.click)||void 0===e?void 0:e.call(w,{index:x})}:void 0};C=function(e){var t;return((null===(t=e.srcSet)||void 0===t?void 0:t.length)||0)>0}(t)?o.createElement(y,{...i,slide:t,interactive:g,rect:0===n?{width:a.width*d,height:a.height*d}:a}):o.createElement(r.P0,{onLoad:e=>u({width:e.naturalWidth,height:e.naturalHeight}),...i})}return C?o.createElement("div",{ref:c,className:(0,r.Wy)((0,r.Nc)(i.yS),(0,r.Nc)(i.aN),(0,r.Nc)(i.af),g&&(0,r.Nc)(i.ZZ)),style:0===n?{transform:`scale(${d}) translateX(${f}px) translateY(${h}px)`}:void 0},C):null}const M=({augment:e,addModule:t})=>{e((({zoom:e,toolbar:t,render:n,controller:a,...s})=>{const u=l(e);return{zoom:u,toolbar:(0,r.wQ)(t,i.xc,o.createElement(w,null)),render:{...n,slide:e=>{var t;return(0,r.QB)(e.slide)?o.createElement(C,{render:n,...e}):null===(t=n.slide)||void 0===t?void 0:t.call(n,e)}},controller:{...a,preventDefaultWheelY:u.scrollToZoom},...s}})),t((0,r.l6)(i.xc,f))}},51890:function(e,t,n){"use strict";n.d(t,{$L:function(){return g},Bm:function(){return O},Eb:function(){return T},HE:function(){return a},J1:function(){return b},KN:function(){return P},M9:function(){return C},N4:function(){return R},NH:function(){return V},NZ:function(){return E},Op:function(){return i},PU:function(){return $},S2:function(){return N},SA:function(){return l},Sl:function(){return z},Tf:function(){return y},Tn:function(){return k},Vt:function(){return I},Xe:function(){return f},ZZ:function(){return Z},Zv:function(){return v},aN:function(){return x},af:function(){return M},bg:function(){return A},c3:function(){return H},dA:function(){return m},ds:function(){return L},fS:function(){return h},hb:function(){return u},j3:function(){return B},k0:function(){return o},l4:function(){return r},lT:function(){return s},mH:function(){return c},pE:function(){return D},rO:function(){return W},t9:function(){return S},vg:function(){return j},xc:function(){return p},yS:function(){return w},yq:function(){return F},zr:function(){return d}});const o="carousel",r="controller",i="navigation",a="no-scroll",l="portal",s="root",u="toolbar",c="counter",d="fullscreen",m="thumbnails",p="zoom",f="loading",h="error",v="complete",g="placeholder",b=e=>`active-slide-${e}`,w=(b(f),b("playing"),b(h),b(v),"fullsize"),x="flex_center",y="no_scroll",C="no_scroll_padding",M="slide_wrapper",Z="slide_wrapper_interactive",P="prev",T="next",k="swipe",S="close",E="onPointerDown",R="onPointerMove",N="onPointerUp",D="onPointerLeave",I="onPointerCancel",L="onKeyDown",O="onKeyUp",F="onWheel",$="Escape",z="ArrowLeft",V="ArrowRight",A="button",j="icon",B="contain",W="cover",H="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.