1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3056],{20202:function(e,t,r){"use strict";r.d(t,{$:function(){return o}});var i=r(13428),n=r(43655);function o(e,t,r){return void 0===e||(0,n.X)(e)?t:(0,i.Z)({},t,{ownerState:(0,i.Z)({},t.ownerState,r)})}},55095:function(e,t,r){"use strict";function i(e,t=[]){if(void 0===e)return{};let r={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r)).forEach(t=>{r[t]=e[t]}),r}r.d(t,{_:function(){return i}})},43655:function(e,t,r){"use strict";function i(e){return"string"==typeof e}r.d(t,{X:function(){return i}})},9700:function(e,t,r){"use strict";function i(e,t,r){return"function"==typeof e?e(t,r):e}r.d(t,{x:function(){return i}})},94269:function(e,t,r){"use strict";r.d(t,{y:function(){return h}});var i=r(13428),n=r(20791),o=r(95137),s=r(20202),a=r(57042),l=r(55095);function u(e){if(void 0===e)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(r=>{t[r]=e[r]}),t}var c=r(9700);let d=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function h(e){var t;let{elementType:r,externalSlotProps:h,ownerState:p,skipResolvingSlotProps:f=!1}=e,g=(0,n.Z)(e,d),m=f?{}:(0,c.x)(h,p),{props:v,internalRef:y}=function(e){let{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:s}=e;if(!t){let e=(0,a.Z)(null==r?void 0:r.className,s,null==o?void 0:o.className,null==n?void 0:n.className),t=(0,i.Z)({},null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),l=(0,i.Z)({},r,o,n);return e.length>0&&(l.className=e),Object.keys(t).length>0&&(l.style=t),{props:l,internalRef:void 0}}let c=(0,l._)((0,i.Z)({},o,n)),d=u(n),h=u(o),p=t(c),f=(0,a.Z)(null==p?void 0:p.className,null==r?void 0:r.className,s,null==o?void 0:o.className,null==n?void 0:n.className),g=(0,i.Z)({},null==p?void 0:p.style,null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),m=(0,i.Z)({},p,r,h,d);return f.length>0&&(m.className=f),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:p.ref}}((0,i.Z)({},g,{externalSlotProps:m})),b=(0,o.Z)(y,null==m?void 0:m.ref,null==(t=e.additionalProps)?void 0:t.ref);return(0,s.$)(r,(0,i.Z)({},v,{ref:b}),p)}},96239:function(e,t,r){"use strict";r.d(t,{_:function(){return n}});var i=r(25702);function n(e){return(0,i.Z)("MuiLoadingButton",e)}let o=(0,r(26520).Z)("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]);t.Z=o},24197:function(e,t,r){"use strict";r.d(t,{k:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiAccordion",e)}let s=(0,i.Z)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]);t.Z=s},1921:function(e,t,r){"use strict";r.d(t,{i:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiAccordionSummary",e)}let s=(0,i.Z)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);t.Z=s},88682:function(e,t,r){"use strict";r.d(t,{t:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiAlert",e)}let s=(0,i.Z)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);t.Z=s},91331:function(e,t,r){"use strict";r.d(t,{m:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiAvatarGroup",e)}let s=(0,i.Z)("MuiAvatarGroup",["root","avatar"]);t.Z=s},25383:function(e,t,r){"use strict";r.d(t,{I:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiBadge",e)}let s=(0,i.Z)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);t.Z=s},79245:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var i=r(13428),n=r(20791),o=r(2265),s=r(57042),a=r(69613),l=r(87947),u=r(43381),c=r(95270),d=r(57437);let h=["className","component"];var p=r(25097),f=r(60299),g=r(53469);let m=(0,r(26520).Z)("MuiBox",["root"]),v=(0,f.Z)();var y=function(e={}){let{themeId:t,defaultTheme:r,defaultClassName:p="MuiBox-root",generateClassName:f}=e,g=(0,a.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(l.Z);return o.forwardRef(function(e,o){let a=(0,c.Z)(r),l=(0,u.Z)(e),{className:m,component:v="div"}=l,y=(0,n.Z)(l,h);return(0,d.jsx)(g,(0,i.Z)({as:v,ref:o,className:(0,s.Z)(m,f?f(p):p),theme:t&&a[t]||a},y))})}({themeId:g.Z,defaultTheme:v,defaultClassName:m.root,generateClassName:p.Z.generate})},12200:function(e,t,r){"use strict";r.d(t,{l:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiButtonGroup",e)}let s=(0,i.Z)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]);t.Z=s},25075:function(e,t,r){"use strict";r.d(t,{z:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiChip",e)}let s=(0,i.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);t.Z=s},49996:function(e,t,r){"use strict";r.d(t,{C:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiCircularProgress",e)}let s=(0,i.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);t.Z=s},3857:function(e,t,r){"use strict";var i=r(13428),n=r(2265),o=r(87927),s=r(29826),a=r(57437);let l=(e,t)=>
1(0,i.Z)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),u=e=>(0,i.Z)({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),c=(e,t=!1)=>{var r;let n={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([t,r])=>{var i;n[e.getColorSchemeSelector(t).replace(/\s*&/,"")]={colorScheme:null==(i=r.palette)?void 0:i.mode}});let o=(0,i.Z)({html:l(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:(0,i.Z)({margin:0},u(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},n),s=null==(r=e.components)||null==(r=r.MuiCssBaseline)?void 0:r.styleOverrides;return s&&(o=[o,s]),o};t.ZP=function(e){let{children:t,enableColorScheme:r=!1}=(0,o.Z)({props:e,name:"MuiCssBaseline"});return(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)(s.default,{styles:e=>c(e,r)}),t]})}},73031:function(e,t,r){"use strict";r.d(t,{N:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiFab",e)}let s=(0,i.Z)("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]);t.Z=s},19274:function(e,t,r){"use strict";r.d(t,{_:function(){return a}});var i=r(13428),n=r(26520),o=r(25702),s=r(97044);function a(e){return(0,o.Z)("MuiFilledInput",e)}let l=(0,i.Z)({},s.Z,(0,n.Z)("MuiFilledInput",["root","underline","input"]));t.Z=l},16570:function(e,t,r){"use strict";r.d(t,{e:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiFormControl",e)}let s=(0,i.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);t.Z=s},29826:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return c}});var i=r(13428);r(2265);var n=r(45536),o=r(95270),s=r(57437),a=function({styles:e,themeId:t,defaultTheme:r={}}){let i=(0,o.Z)(r),a="function"==typeof e?e(t&&i[t]||i):e;return(0,s.jsx)(n.Z,{styles:a})},l=r(53794),u=r(53469),c=function(e){return(0,s.jsx)(a,(0,i.Z)({},e,{defaultTheme:l.Z,themeId:u.Z}))}},97044:function(e,t,r){"use strict";r.d(t,{u:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiInputBase",e)}let s=(0,i.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);t.Z=s},88392:function(e,t,r){"use strict";r.d(t,{Y:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiInputLabel",e)}let s=(0,i.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);t.Z=s},54755:function(e,t,r){"use strict";var i=r(20791),n=r(13428),o=r(2265),s=r(57042),a=r(95600),l=r(99538),u=r(89975),c=r(28702),d=r(41101),h=r(35843),p=r(87927),f=r(12120),g=r(57437);let m=["className","color","value","valueBuffer","variant"],v=e=>e,y,b,x,S,k,w,C=(0,l.F4)(y||(y=v` 2 0% { 3 left: -35%; 4 right: 100%; 5 } 6 7 60% { 8 left: 100%; 9 right: -90%; 10 } 11 12 100% { 13 left: 100%; 14 right: -90%; 15 } 16`)),P=(0,l.F4)(b||(b=v` 17 0% { 18 left: -200%; 19 right: 100%; 20 } 21 22 60% { 23 left: 107%; 24 right: -8%; 25 } 26 27 100% { 28 left: 107%; 29 right: -8%; 30 } 31`)),T=(0,l.F4)(x||(x=v` 32 0% { 33 opacity: 1; 34 background-position: 0 -23px; 35 } 36 37 60% { 38 opacity: 0; 39 background-position: 0 -23px; 40 } 41 42 100% { 43 opacity: 1; 44 background-position: -200px -23px; 45 } 46`)),L=e=>{let{classes:t,variant:r,color:i}=e,n={root:["root",`color${(0,c.Z)(i)}`,r],dashed:["dashed",`dashedColor${(0,c.Z)(i)}`],bar1:["bar",`barColor${(0,c.Z)(i)}`,("indeterminate"===r||"query"===r)&&"bar1Indeterminate","determinate"===r&&"bar1Determinate","buffer"===r&&"bar1Buffer"],bar2:["bar","buffer"!==r&&`barColor${(0,c.Z)(i)}`,"buffer"===r&&`color${(0,c.Z)(i)}`,("indeterminate"===r||"query"===r)&&"bar2Indeterminate","buffer"===r&&"bar2Buffer"]};return(0,a.Z)(n,f.E,t)},A=(e,t)=>
46"inherit"===t?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?(0,u.$n)(e.palette[t].main,.62):(0,u._j)(e.palette[t].main,.5),E=(0,h.ZP)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`color${(0,c.Z)(r.color)}`],t[r.variant]]}})(({ownerState:e,theme:t})=>(0,n.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:A(t,e.color)},"inherit"===e.color&&"buffer"!==e.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===e.variant&&{backgroundColor:"transparent"},"query"===e.variant&&{transform:"rotate(180deg)"})),R=(0,h.ZP)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.dashed,t[`dashedColor${(0,c.Z)(r.color)}`]]}})(({ownerState:e,theme:t})=>{let r=A(t,e.color);return(0,n.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===e.color&&{opacity:.3},{backgroundImage:`radial-gradient(${r} 0%, ${r} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},(0,l.iv)(S||(S=v` 47 animation: ${0} 3s infinite linear; 48 `),T)),Z=(0,h.ZP)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.bar,t[`barColor${(0,c.Z)(r.color)}`],("indeterminate"===r.variant||"query"===r.variant)&&t.bar1Indeterminate,"determinate"===r.variant&&t.bar1Determinate,"buffer"===r.variant&&t.bar1Buffer]}})(({ownerState:e,theme:t})=>(0,n.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"determinate"===e.variant&&{transition:"transform .4s linear"},"buffer"===e.variant&&{zIndex:1,transition:"transform .4s linear"}),({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,l.iv)(k||(k=v` 49 width: auto; 50 animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; 51 `),C)),M=(0,h.ZP)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.bar,t[`barColor${(0,c.Z)(r.color)}`],("indeterminate"===r.variant||"query"===r.variant)&&t.bar2Indeterminate,"buffer"===r.variant&&t.bar2Buffer]}})(({ownerState:e,theme:t})=>(0,n.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==e.variant&&{backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:A(t,e.color),transition:"transform .4s linear"}),({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,l.iv)(w||(w=v` 52 width: auto; 53 animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; 54 `),P)),O=o.forwardRef(function(e,t){let r=(0,p.Z)({props:e,name:"MuiLinearProgress"}),{className:o,color:a="primary",value:l,valueBuffer:u,variant:c="indeterminate"}=r,h=(0,i.Z)(r,m),f=(0,n.Z)({},r,{color:a,variant:c}),v=L(f),y=(0,d.Z)(),b={},x={bar1:{},bar2:{}};if(("determinate"===c||"buffer"===c)&&void 0!==l){b["aria-valuenow"]=Math.round(l),b["aria-valuemin"]=0,b["aria-valuemax"]=100;let e=l-100;"rtl"===y.direction&&(e=-e),x.bar1.transform=`translateX(${e}%)`}if("buffer"===c&&void 0!==u){let e=(u||0)-100;"rtl"===y.direction&&(e=-e),x.bar2.transform=`translateX(${e}%)`}return(0,g.jsxs)(E,(0,n.Z)({className:(0,s.Z)(v.root,o),ownerState:f,role:"progressbar"},b,{ref:t},h,{children:["buffer"===c?(0,g.jsx)(R,{className:v.dashed,ownerState:f}):null,(0,g.jsx)(Z,{className:v.bar1,ownerState:f,style:x.bar1}),"determinate"===c?null:(0,g.jsx)(M,{className:v.bar2,ownerState:f,style:x.bar2})]}))});t.Z=O},12120:function(e,t,r){"use strict";r.d(t,{E:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiLinearProgress",e)}let s=(0,i.Z)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);t.Z=s},3514:function(e,t,r){"use strict";r.d(t,{z:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiList",e)}let s=(0,i.Z)("MuiList",["root","padding","dense","subheader"]);t.Z=s},78342:function(e,t,r){"use strict";r.d(t,{f:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiListItemIcon",e)}let s=(0,i.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]);t.Z=s},90130:function(e,t,r){"use strict";r.d(t,{e:function(){return a}});var i=r(13428),n=r(26520),o=r(25702),s=r(97044);function a(e){return(0,o.Z)("MuiOutlinedInput",e)}let l=(0,i.Z)({},s.Z,(0,n.Z)("MuiOutlinedInput",["root","notchedOutline","input"]));t.Z=l},79855:function(e,t,r){"use strict";r.d(t,{b:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiPaginationItem",e)}let s=(0,i.Z)("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon"]);t.Z=s},18687:function(e,t,r){"use strict";var i=r(20791),n=r(13428),o=r(2265),s=r(57042),a=r(95600),l=r(89975),u=r(35843),c=r(80404),d=r(87927),h=r(89225),p=r(57437);let f=["className","component","elevation","square","variant"],g=e=>{let{square:t,elevation:r,variant:i,classes:n}=e,o={root:["root",i,!t&&"rounded","elevation"===i&&`elevation${r}`]}
54;return(0,a.Z)(o,h.J,n)},m=(0,u.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;return(0,n.Z)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&(0,n.Z)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,l.Fq)("#fff",(0,c.Z)(t.elevation))}, ${(0,l.Fq)("#fff",(0,c.Z)(t.elevation))})`},e.vars&&{backgroundImage:null==(r=e.vars.overlays)?void 0:r[t.elevation]}))}),v=o.forwardRef(function(e,t){let r=(0,d.Z)({props:e,name:"MuiPaper"}),{className:o,component:a="div",elevation:l=1,square:u=!1,variant:c="elevation"}=r,h=(0,i.Z)(r,f),v=(0,n.Z)({},r,{component:a,elevation:l,square:u,variant:c}),y=g(v);return(0,p.jsx)(m,(0,n.Z)({as:a,ownerState:v,className:(0,s.Z)(y.root,o),ref:t},h))});t.Z=v},89225:function(e,t,r){"use strict";r.d(t,{J:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiPaper",e)}let s=(0,i.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);t.Z=s},71540:function(e,t,r){"use strict";r.d(t,{l:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiRadio",e)}let s=(0,i.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]);t.Z=s},41044:function(e,t,r){"use strict";r.d(t,{s:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiRating",e)}let s=(0,i.Z)("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);t.Z=s},25598:function(e,t,r){"use strict";r.d(t,{k:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiSlider",e)}let s=(0,i.Z)("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]);t.Z=s},74500:function(e,t,r){"use strict";var i=r(13428),n=r(20791),o=r(2265),s=r(57042),a=r(95600),l=r(28702),u=r(87927),c=r(35843),d=r(60556),h=r(57437);let p=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],f=e=>{let{color:t,fontSize:r,classes:i}=e,n={root:["root","inherit"!==t&&`color${(0,l.Z)(t)}`,`fontSize${(0,l.Z)(r)}`]};return(0,a.Z)(n,d.h,i)},g=(0,c.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${(0,l.Z)(r.color)}`],t[`fontSize${(0,l.Z)(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,i,n,o,s,a,l,u,c,d,h,p,f;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=e.transitions)||null==(i=r.create)?void 0:i.call(r,"fill",{duration:null==(n=e.transitions)||null==(n=n.duration)?void 0:n.shorter}),fontSize:({inherit:"inherit",small:(null==(o=e.typography)||null==(s=o.pxToRem)?void 0:s.call(o,20))||"1.25rem",medium:(null==(a=e.typography)||null==(l=a.pxToRem)?void 0:l.call(a,24))||"1.5rem",large:(null==(u=e.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(h=(e.vars||e).palette)||null==(h=h[t.color])?void 0:h.main)?d:({action:null==(p=(e.vars||e).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.disabled,inherit:void 0})[t.color]}}),m=o.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiSvgIcon"}),{children:a,className:l,color:c="inherit",component:d="svg",fontSize:m="medium",htmlColor:v,inheritViewBox:y=!1,titleAccess:b,viewBox:x="0 0 24 24"}=r,S=(0,n.Z)(r,p),k=o.isValidElement(a)&&"svg"===a.type,w=(0,i.Z)({},r,{color:c,component:d,fontSize:m,instanceFontSize:e.fontSize,inheritViewBox:y,viewBox:x,hasSvgAsChild:k}),C={};y||(C.viewBox=x);let P=f(w);return(0,h.jsxs)(g,(0,i.Z)({as:d,className:(0,s.Z)(P.root,l),focusable:"false",color:v,"aria-hidden":!b||void 0,role:b?"img":void 0,ref:t},C,S,k&&a.props,{ownerState:w,children:[k?a.props.children:a,b?(0,h.jsx)("title",{children:b}):null]}))});m.muiName="SvgIcon",t.Z=m},60556:function(e,t,r){"use strict";r.d(t,{h:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiSvgIcon",e)}let s=(0,i.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);t.Z=s},52511:function(e,t,r){"use strict";r.d(t,{H:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiSwitch",e)}let s=(0,i.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);t.Z=s},59972:function(e,t,r){"use strict";r.d(t,{V:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiTab",e)}let s=(0,i.Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);t.Z=s},25246:function(e,t,r){"use strict";r.d(t,{U:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiTableCell",e)}let s=(0,i.Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);t.Z=s},93681:function(e,t,r){"use strict";r.d(t,{G:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiTableRow",e)}let s=(0,i.Z)("MuiTableRow",["root","selected","hover","head","footer"]);t.Z=s},57230:function(e,t,r){"use strict";r.d(t,{a:function(){return o}});var i=r(26520),n=r(25702);function o(e){return(0,n.Z)("MuiToggleButton",e)}let s=(0,i.Z)("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]);t.Z=s},69987:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var i=r(13428),n=r(20791);r(2265);var o=r(65059),s=r(53469),a=r(57437);let l=["theme"];function u(e){let{theme:t}=e,r=(0,n.Z)(e,l),u=t[s.Z];return(0,a.jsx)(o.Z,(0,i.Z)({},r,{themeId:u?s.Z:void 0,theme:u||t}))}},98865:function(e,t,r){"use strict";function i(e){return String(parseFloat(e)).length===String(e).length}function n(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function o(e){return parseFloat(e)}function s(e){return(t,r)=>{let i=n(t);if(i===r)return t;let s=o(t);"px"!==i&&("em"===i?s=o(t)*o(e):"rem"===i&&(s=o(t)*o(e)));let a=s;if("px"!==r){if("em"===r)a=s/o(e);else{if("rem"!==r)return t;a=s/o(e)}}return parseFloat(a.toFixed(5))+r}}function a({size:e,grid:t}
54){let r=e-e%t,i=r+t;return e-r<i-e?r:i}function l({lineHeight:e,pixels:t,htmlFontSize:r}){return t/(e*r)}function u({cssProperty:e,min:t,max:r,unit:i="rem",breakpoints:n=[600,900,1200],transform:o=null}){let s={[e]:`${t}${i}`},a=(r-t)/n[n.length-1];return n.forEach(r=>{let n=t+a*r;null!==o&&(n=o(n)),s[`@media (min-width:${r}px)`]={[e]:`${Math.round(1e4*n)/1e4}${i}`}}),s}r.d(t,{LV:function(){return a},Wy:function(){return n},YL:function(){return o},dA:function(){return i},vY:function(){return l},vs:function(){return s},ze:function(){return u}})},80404:function(e,t){"use strict";t.Z=e=>((e<1?5.11916*e**2:4.5*Math.log(e+1)+2)/100).toFixed(2)},36512:function(e,t,r){"use strict";let i;r.r(t),r.d(t,{Experimental_CssVarsProvider:function(){return ep},StyledEngineProvider:function(){return Z},THEME_ID:function(){return o.Z},ThemeProvider:function(){return T.Z},adaptV4Theme:function(){return h},alpha:function(){return p.Fq},createMuiTheme:function(){return g.A},createStyles:function(){return b},createTheme:function(){return g.Z},css:function(){return f.iv},darken:function(){return p._j},decomposeColor:function(){return p.tB},duration:function(){return k.x9},easing:function(){return k.Ui},emphasize:function(){return p._4},experimentalStyled:function(){return P.ZP},experimental_extendTheme:function(){return eu},experimental_sx:function(){return em},getContrastRatio:function(){return p.mi},getInitColorSchemeScript:function(){return eg},getLuminance:function(){return p.H3},getOverlayAlpha:function(){return et.Z},hexToRgb:function(){return p.oo},hslToRgb:function(){return p.ve},keyframes:function(){return f.F4},lighten:function(){return p.$n},makeStyles:function(){return M},private_createTypography:function(){return ec.Z},private_excludeVariablesFromRoot:function(){return ed},recomposeColor:function(){return p.wy},responsiveFontSizes:function(){return S},rgbToHex:function(){return p.vq},shouldSkipGeneratingVar:function(){return ee},styled:function(){return P.ZP},unstable_createMuiStrictModeTheme:function(){return v},unstable_getUnit:function(){return x.Wy},unstable_toUnitless:function(){return x.YL},useColorScheme:function(){return ef},useTheme:function(){return w.Z},useThemeProps:function(){return C.Z},withStyles:function(){return O},withTheme:function(){return $}});var n=r(30018),o=r(53469),s=r(13428),a=r(20791),l=r(11421),u=r(64846);let c=["defaultProps","mixins","overrides","palette","props","styleOverrides"],d=["type","mode"];function h(e){let{defaultProps:t={},mixins:r={},overrides:i={},palette:n={},props:o={},styleOverrides:h={}}=e,p=(0,a.Z)(e,c),f=(0,s.Z)({},p,{components:{}});Object.keys(t).forEach(e=>{let r=f.components[e]||{};r.defaultProps=t[e],f.components[e]=r}),Object.keys(o).forEach(e=>{let t=f.components[e]||{};t.defaultProps=o[e],f.components[e]=t}),Object.keys(h).forEach(e=>{let t=f.components[e]||{};t.styleOverrides=h[e],f.components[e]=t}
54),Object.keys(i).forEach(e=>{let t=f.components[e]||{};t.styleOverrides=i[e],f.components[e]=t}),f.spacing=(0,l.Z)(e.spacing);let g=(0,u.Z)(e.breakpoints||{}),m=f.spacing;f.mixins=(0,s.Z)({gutters:(e={})=>(0,s.Z)({paddingLeft:m(2),paddingRight:m(2)},e,{[g.up("sm")]:(0,s.Z)({paddingLeft:m(3),paddingRight:m(3)},e[g.up("sm")])})},r);let{type:v,mode:y}=n,b=(0,a.Z)(n,d),x=y||v||"light";return f.palette=(0,s.Z)({text:{hint:"dark"===x?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:x,type:x},b),f}var p=r(89975),f=r(99538),g=r(60299),m=r(15959);function v(e,...t){return(0,g.Z)((0,m.Z)({unstable_strictMode:!0},e),...t)}let y=!1;function b(e){return y||(console.warn("MUI: createStyles from @mui/material/styles is deprecated.\nPlease use @mui/styles/createStyles"),y=!0),e}var x=r(98865);function S(e,t={}){let{breakpoints:r=["sm","md","lg"],disableAlign:i=!1,factor:o=2,variants:a=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=t,l=(0,s.Z)({},e);l.typography=(0,s.Z)({},l.typography);let u=l.typography,c=(0,x.vs)(u.htmlFontSize),d=r.map(e=>l.breakpoints.values[e]);return a.forEach(e=>{let t=u[e],r=parseFloat(c(t.fontSize,"rem"));if(r<=1)return;let{lineHeight:a}=t;if(!(0,x.dA)(a)&&!i)throw Error((0,n.Z)(6));(0,x.dA)(a)||(a=parseFloat(c(a,"rem"))/parseFloat(r));let l=null;i||(l=e=>(0,x.LV)({size:e,grid:(0,x.vY)({pixels:4,lineHeight:a,htmlFontSize:u.htmlFontSize})})),u[e]=(0,s.Z)({},t,(0,x.ze)({cssProperty:"fontSize",min:1+(r-1)/o,max:r,unit:"rem",breakpoints:d,transform:l}))}),l}var k=r(97039),w=r(41101),C=r(87927),P=r(35843),T=r(69987),L=r(2265),A=r(86375),E=r(83340),R=r(57437);function Z(e){let{injectFirst:t,children:r}=e;return t&&i?(0,R.jsx)(A.C,{value:i,children:r}):r}function M(){throw Error((0,n.Z)(14))}function O(){throw Error((0,n.Z)(15))}function $(){throw Error((0,n.Z)(16))}"object"==typeof document&&(i=(0,E.Z)({key:"css",prepend:!0}));var j=r(45536),I=r(424),V=r(65059);let D="mode",F="color-scheme",B="data-color-scheme";function N(e){if("undefined"!=typeof window&&"system"===e)return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function z(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function U(e,t){let r;if("undefined"!=typeof window){try{(r=localStorage.getItem(e)||void 0)||localStorage.setItem(e,t)}catch(e){}return r||t}}let _=["colorSchemes","components","generateCssVars","cssVarPrefix"];var H=r(87947);let q=(e,t,r,i=[])=>{let n=e;t.forEach((e,o)=>{o===t.length-1?Array.isArray(n)?n[Number(e)]=r:n&&"object"==typeof n&&(n[e]=r):n&&"object"==typeof n&&(n[e]||(n[e]=i.includes(e)?[]:{}),n=n[e])})},W=(e,t,r)=>{!function e(i,n=[],o=[]){Object.entries(i).forEach(([i,s])=>{r&&(!r||r([...n,i]))||null==s||("object"==typeof s&&Object.keys(s).length>0?e(s,[...n,i],Array.isArray(s)?[...o,i]:o):t([...n,i],s,o))})}(e)},K=(e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:`${t}px`:t;function G(e,t){let{prefix:r,shouldSkipGeneratingVar:i}=t||{},n={},o={},s={};return W(e,(e,t,a)=>{if(("string"==typeof t||"number"==typeof t)&&(!i||!i(e,t))){let i=`--${r?`${r}-`:""}${e.join("-")}`;Object.assign(n,{[i]:K(e,t)}),q(o,e,`var(${i})`,a),q(s,e,`var(${i}, ${t})`,a)}},e=>"vars"===e[0]),{css:n,vars:o,varsWithDefaults:s}}let Y=["colorSchemes","components"],J=["light"];var X=function(e,t){let{colorSchemes:r={}}=e,{vars:i,css:n,varsWithDefaults:o}=G((0,a.Z)(e,Y),t),l=o,u={},{light:c}=r;if(Object.entries((0,a.Z)(r,J)||{}).forEach(([e,r])=>{let{vars:i,css:n,varsWithDefaults:o}=G(r,t);l=(0,m.Z)(l,o),u[e]={css:n,vars:i}}),c){let{css:e,vars:r,varsWithDefaults:i}=G(c,t);l=(0,m.Z)(l,i),u.light={css:e,vars:r}}return{vars:l,generateCssVars:e=>e?{css:(0,s.Z)({},u[e].css),vars:u[e].vars}:{css:(0,s.Z)({},n),vars:i}}},Q=r(58122);function ee(e){var t;return!!e[0].match(/(cssVarPrefix|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!(null!=(t=e[1])&&t.match(/(mode|contrastThreshold|tonalOffset)/))}var et=r(80404);let er=["colorSchemes","cssVarPrefix","shouldSkipGeneratingVar"],ei=["palette"],en=[...Array(25)].map((e,t)=>{if(0===t)return;let r=(0,et.Z)(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function eo(e,t,r){!e[t]&&r&&(e[t]=r)}function es(e,t){`${t}Channel` in e||(e[`${t}Channel`]=(0,p.LR)(e[t],`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). 55To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, e.g. "12 12 12") or undefined if you want to remove the channel token.`))}let ea=e=>{try{return e()}catch(e){}},el=(e="mui")=>(function(e=""){return(t,...r)=>`var(--${e?`${e}-`:""}${t}${function t(...r){if(!r.length)return"";let i=r[0];return"string"!=typeof i||i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${i}`:`, var(--${e?`${e}-`:""}${i}${t(...r.slice(1))})`}(...r)})`})(e);function eu(e={},...t){var r,i,n,o,l,u;let{colorSchemes:c={},cssVarPrefix:d="mui",shouldSkipGeneratingVar:h=ee}=e,f=(0,a.Z)(e,er),v=el(d),y=(0,g.Z)((0,s.Z)({},f,c.light&&{palette:null==(r=c.light)?void 0:r.palette})),{palette:b}=y,x=(0,a.Z)(y,ei),{palette:S}=(0,g.Z)({palette:(0,s.Z)({mode:"dark"},null==(i=c.dark)?void 0:i.palette)}),k=(0,s.Z)({},x,{cssVarPrefix:d,getCssVar:v,colorSchemes:(0,s.Z)({},c,{light:(0,s.Z)({},c.light,{palette:b,opacity:(0,s.Z)({inputPlaceholder:.42,inputUnderline:.42,switchTrackDisabled:.12,switchTrack:.38},null==(n=c.light)?void 0:n.opacity),overlays:(null==(o=c.light)?void 0:o.overlays)||[]}),dark:(0,s.Z)({},c.dark,{palette:S,opacity:(0,s.Z)({inputPlaceholder:.5,inputUnderline:.7,switchTrackDisabled:.2,switchTrack:.3},null==(l=c.dark)?void 0:l.opacity),overlays:(null==(u=c.dark)?void 0:u.overlays)||en})})});
55Object.keys(k.colorSchemes).forEach(e=>{let t=k.colorSchemes[e].palette,r=e=>{let r=e.split("-"),i=r[1],n=r[2];return v(e,t[i][n])};if("light"===e?(eo(t.common,"background","#fff"),eo(t.common,"onBackground","#000")):(eo(t.common,"background","#000"),eo(t.common,"onBackground","#fff")),function(e,t){t.forEach(t=>{e[t]||(e[t]={})})}(t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),"light"===e){eo(t.Alert,"errorColor",(0,p.q8)(t.error.light,.6)),eo(t.Alert,"infoColor",(0,p.q8)(t.info.light,.6)),eo(t.Alert,"successColor",(0,p.q8)(t.success.light,.6)),eo(t.Alert,"warningColor",(0,p.q8)(t.warning.light,.6)),eo(t.Alert,"errorFilledBg",r("palette-error-main")),eo(t.Alert,"infoFilledBg",r("palette-info-main")),eo(t.Alert,"successFilledBg",r("palette-success-main")),eo(t.Alert,"warningFilledBg",r("palette-warning-main")),eo(t.Alert,"errorFilledColor",ea(()=>b.getContrastText(t.error.main))),eo(t.Alert,"infoFilledColor",ea(()=>b.getContrastText(t.info.main))),eo(t.Alert,"successFilledColor",ea(()=>b.getContrastText(t.success.main))),eo(t.Alert,"warningFilledColor",ea(()=>b.getContrastText(t.warning.main))),eo(t.Alert,"errorStandardBg",(0,p.ux)(t.error.light,.9)),eo(t.Alert,"infoStandardBg",(0,p.ux)(t.info.light,.9)),eo(t.Alert,"successStandardBg",(0,p.ux)(t.success.light,.9)),eo(t.Alert,"warningStandardBg",(0,p.ux)(t.warning.light,.9)),eo(t.Alert,"errorIconColor",r("palette-error-main")),eo(t.Alert,"infoIconColor",r("palette-info-main")),eo(t.Alert,"successIconColor",r("palette-success-main")),eo(t.Alert,"warningIconColor",r("palette-warning-main")),eo(t.AppBar,"defaultBg",r("palette-grey-100")),eo(t.Avatar,"defaultBg",r("palette-grey-400")),eo(t.Button,"inheritContainedBg",r("palette-grey-300")),eo(t.Button,"inheritContainedHoverBg",r("palette-grey-A100")),eo(t.Chip,"defaultBorder",r("palette-grey-400")),eo(t.Chip,"defaultAvatarColor",r("palette-grey-700")),eo(t.Chip,"defaultIconColor",r("palette-grey-700")),eo(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),eo(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),eo(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),eo(t.LinearProgress,"primaryBg",(0,p.ux)(t.primary.main,.62)),eo(t.LinearProgress,"secondaryBg",(0,p.ux)(t.secondary.main,.62)),eo(t.LinearProgress,"errorBg",(0,p.ux)(t.error.main,.62)),eo(t.LinearProgress,"infoBg",(0,p.ux)(t.info.main,.62)),eo(t.LinearProgress,"successBg",(0,p.ux)(t.success.main,.62)),eo(t.LinearProgress,"warningBg",(0,p.ux)(t.warning.main,.62)),eo(t.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.11)`),eo(t.Slider,"primaryTrack",(0,p.ux)(t.primary.main,.62)),eo(t.Slider,"secondaryTrack",(0,p.ux)(t.secondary.main,.62)),eo(t.Slider,"errorTrack",(0,p.ux)(t.error.main,.62)),eo(t.Slider,"infoTrack",(0,p.ux)(t.info.main,.62)),eo(t.Slider,"successTrack",(0,p.ux)(t.success.main,.62)),eo(t.Slider,"warningTrack",(0,p.ux)(t.warning.main,.62));let e=(0,p.fk)(t.background.default,.8);eo(t.SnackbarContent,"bg",e),eo(t.SnackbarContent,"color",ea(()=>b.getContrastText(e))),eo(t.SpeedDialAction,"fabHoverBg",(0,p.fk)(t.background.paper,.15)),eo(t.StepConnector,"border",r("palette-grey-400")),eo(t.StepContent,"border",r("palette-grey-400")),eo(t.Switch,"defaultColor",r("palette-common-white")),eo(t.Switch,"defaultDisabledColor",r("palette-grey-100")),eo(t.Switch,"primaryDisabledColor",(0,p.ux)(t.primary.main,.62)),eo(t.Switch,"secondaryDisabledColor",(0,p.ux)(t.secondary.main,.62)),eo(t.Switch,"errorDisabledColor",(0,p.ux)(t.error.main,.62)),eo(t.Switch,"infoDisabledColor",(0,p.ux)(t.info.main,.62)),eo(t.Switch,"successDisabledColor",(0,p.ux)(t.success.main,.62)),eo(t.Switch,"warningDisabledColor",(0,p.ux)(t.warning.main,.62)),eo(t.TableCell,"border",(0,p.ux)((0,p.zp)(t.divider,1),.88)),eo(t.Tooltip,"bg",(0,p.zp)(t.grey[700],.92))}else{eo(t.Alert,"errorColor",(0,p.ux)(t.error.light,.6)),eo(t.Alert,"infoColor",(0,p.ux)(t.info.light,.6)),eo(t.Alert,"successColor",(0,p.ux)(t.success.light,.6)),eo(t.Alert,"warningColor",(0,p.ux)(t.warning.light,.6)),eo(t.Alert,"errorFilledBg",r("palette-error-dark")),eo(t.Alert,"infoFilledBg",r("palette-info-dark")),eo(t.Alert,"successFilledBg",r("palette-success-dark")),eo(t.Alert,"warningFilledBg",r("palette-warning-dark")),eo(t.Alert,"errorFilledColor",ea(()=>S.getContrastText(t.error.dark))),eo(t.Alert,"infoFilledColor",ea(()=>S.getContrastText(t.info.dark))),eo(t.Alert,"successFilledColor",ea(()=>S.getContrastText(t.success.dark))),eo(t.Alert,"warningFilledColor",ea(()=>S.getContrastText(t.warning.dark))),eo(t.Alert,"errorStandardBg",(0,p.q8)(t.error.light,.9)),eo(t.Alert,"infoStandardBg",(0,p.q8)(t.info.light,.9)),eo(t.Alert,"successStandardBg",(0,p.q8)(t.success.light,.9)),eo(t.Alert,"warningStandardBg",(0,p.q8)(t.warning.light,.9)),eo(t.Alert,"errorIconColor",r("palette-error-main")),eo(t.Alert,"infoIconColor",r("palette-info-main")),eo(t.Alert,"successIconColor",r("palette-success-main")),eo(t.Alert,"warningIconColor",r("palette-warning-main")),eo(t.AppBar,"defaultBg",r("palette-grey-900")),eo(t.AppBar,"darkBg",r("palette-background-paper")),eo(t.AppBar,"darkColor",r("palette-text-primary")),eo(t.Avatar,"defaultBg",r("palette-grey-600")),eo(t.Button,"inheritContainedBg",r("palette-grey-800")),eo(t.Button,"inheritContainedHoverBg",r("palette-grey-700")),eo(t.Chip,"defaultBorder",r("palette-grey-700")),eo(t.Chip,"defaultAvatarColor",r("palette-grey-300")),eo(t.Chip,"defaultIconColor",r("palette-grey-300")),eo(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),eo(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),eo(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),eo(t.LinearProgress,"primaryBg",(0,p.q8)(t.primary.main,.5)),eo(t.LinearProgress,"secondaryBg",(0,p.q8)(t.secondary.main,.5)),eo(t.LinearProgress,"errorBg",(0,p.q8)(t.error.main,.5)),eo(t.LinearProgress,"infoBg",(0,p.q8)(t.info.main,.5)),eo(t.LinearProgress,"successBg",(0,p.q8)(t.success.main,.5)),eo(t.LinearProgress,"warningBg",(0,p.q8)(t.warning.main,.5)),eo(t.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.13)`),eo(t.Slider,"primaryTrack",(0,p.q8)(t.primary.main,.5)),eo(t.Slider,"secondaryTrack",(0,p.q8)(t.secondary.main,.5)),eo(t.Slider,"errorTrack",(0,p.q8)(t.error.main,.5)),eo(t.Slider,"infoTrack",(0,p.q8)(t.info.main,.5)),eo(t.Slider,"successTrack",(0,p.q8)(t.success.main,.5)),eo(t.Slider,"warningTrack",(0,p.q8)(t.warning.main,.5));let e=(0,p.fk)(t.background.default,.98);eo(t.SnackbarContent,"bg",e),eo(t.SnackbarContent,"color",ea(()=>S.getContrastText(e))),eo(t.SpeedDialAction,"fabHoverBg",(0,p.fk)(t.background.paper,.15)),eo(t.StepConnector,"border",r("palette-grey-600")),eo(t.StepContent,"border",r("palette-grey-600")),eo(t.Switch,"defaultColor",r("palette-grey-300")),eo(t.Switch,"defaultDisabledColor",r("palette-grey-600")),eo(t.Switch,"primaryDisabledColor",(0,p.q8)(t.primary.main,.55)),eo(t.Switch,"secondary
55DisabledColor",(0,p.q8)(t.secondary.main,.55)),eo(t.Switch,"errorDisabledColor",(0,p.q8)(t.error.main,.55)),eo(t.Switch,"infoDisabledColor",(0,p.q8)(t.info.main,.55)),eo(t.Switch,"successDisabledColor",(0,p.q8)(t.success.main,.55)),eo(t.Switch,"warningDisabledColor",(0,p.q8)(t.warning.main,.55)),eo(t.TableCell,"border",(0,p.q8)((0,p.zp)(t.divider,1),.68)),eo(t.Tooltip,"bg",(0,p.zp)(t.grey[700],.92))}es(t.background,"default"),es(t.common,"background"),es(t.common,"onBackground"),es(t,"divider"),Object.keys(t).forEach(e=>{let r=t[e];r&&"object"==typeof r&&(r.main&&eo(t[e],"mainChannel",(0,p.LR)(r.main)),r.light&&eo(t[e],"lightChannel",(0,p.LR)(r.light)),r.dark&&eo(t[e],"darkChannel",(0,p.LR)(r.dark)),r.contrastText&&eo(t[e],"contrastTextChannel",(0,p.LR)(r.contrastText)),"text"===e&&(es(t[e],"primary"),es(t[e],"secondary")),"action"===e&&(r.active&&es(t[e],"active"),r.selected&&es(t[e],"selected")))})});let{vars:w,generateCssVars:C}=X(k=t.reduce((e,t)=>(0,m.Z)(e,t),k),{prefix:d,shouldSkipGeneratingVar:h});return k.vars=w,k.generateCssVars=C,k.shouldSkipGeneratingVar=h,k.unstable_sxConfig=(0,s.Z)({},Q.Z,null==f?void 0:f.unstable_sxConfig),k.unstable_sx=function(e){return(0,H.Z)({sx:e,theme:this})},k}var ec=r(69593),ed=e=>[...[...Array(24)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r+1}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`];let eh=eu(),{CssVarsProvider:ep,useColorScheme:ef,getInitColorSchemeScript:eg}=function(e){let{themeId:t,theme:r={},attribute:i=B,modeStorageKey:o=D,colorSchemeStorageKey:l=F,defaultMode:u="light",defaultColorScheme:c,disableTransitionOnChange:d=!1,resolveTheme:h,excludeVariablesFromRoot:p}=e;r.colorSchemes&&("string"!=typeof c||r.colorSchemes[c])&&("object"!=typeof c||r.colorSchemes[null==c?void 0:c.light])&&("object"!=typeof c||r.colorSchemes[null==c?void 0:c.dark])||console.error(`MUI: \`${c}\` does not exist in \`theme.colorSchemes\`.`);let f=L.createContext(void 0),g="string"==typeof c?c:c.light,v="string"==typeof c?c:c.dark;return{CssVarsProvider:function({children:e,theme:n=r,modeStorageKey:g=o,colorSchemeStorageKey:v=l,attribute:y=i,defaultMode:b=u,defaultColorScheme:x=c,disableTransitionOnChange:S=d,storageWindow:k="undefined"==typeof window?void 0:window,documentNode:w="undefined"==typeof document?void 0:document,colorSchemeNode:C="undefined"==typeof document?void 0:document.documentElement,colorSchemeSelector:P=":root",disableNestedContext:T=!1,disableStyleSheetGeneration:A=!1}){let E=L.useRef(!1),Z=(0,I.Z)(),M=L.useContext(f),O=!!M&&!T,$=n[t],B=$||n,{colorSchemes:H={},components:q={},generateCssVars:W=()=>({vars:{},css:{}}),cssVarPrefix:K}=B,G=(0,a.Z)(B,_),Y=Object.keys(H),J="string"==typeof x?x:x.light,X="string"==typeof x?x:x.dark,{mode:Q,setMode:ee,systemMode:et,lightColorScheme:er,darkColorScheme:ei,colorScheme:en,setColorScheme:eo}=function(e){let{defaultMode:t="light",defaultLightColorScheme:r,defaultDarkColorScheme:i,supportedColorSchemes:n=[],modeStorageKey:o=D,colorSchemeStorageKey:a=F,storageWindow:l="undefined"==typeof window?void 0:window}=e,u=n.join(","),[c,d]=L.useState(()=>{let e=U(o,t),n=U(`${a}-light`,r),s=U(`${a}-dark`,i);return{mode:e,systemMode:N(e),lightColorScheme:n,darkColorScheme:s}}),h=z(c,e=>"light"===e?c.lightColorScheme:"dark"===e?c.darkColorScheme:void 0),p=L.useCallback(e=>{d(r=>{if(e===r.mode)return r;let i=e||t;try{localStorage.setItem(o,i)}catch(e){}return(0,s.Z)({},r,{mode:i,systemMode:N(i)})})},[o,t]),f=L.useCallback(e=>{e?"string"==typeof e?e&&!u.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):d(t=>{let r=(0,s.Z)({},t);return z(t,t=>{try{localStorage.setItem(`${a}-${t}`,e)}catch(e){}"light"===t&&(r.lightColorScheme=e),"dark"===t&&(r.darkColorScheme=e)}),r}):d(t=>{let n=(0,s.Z)({},t),o=null===e.light?r:e.light,l=null===e.dark?i:e.dark;if(o){if(u.includes(o)){n.lightColorScheme=o;try{localStorage.setItem(`${a}-light`,o)}catch(e){}}else console.error(`\`${o}\` does not exist in \`theme.colorSchemes\`.`)}if(l){if(u.includes(l)){n.darkColorScheme=l;try{localStorage.setItem(`${a}-dark`,l)}catch(e){}}else console.error(`\`${l}\` does not exist in \`theme.colorSchemes\`.`)}return n}):d(e=>{try{localStorage.setItem(`${a}-light`,r),localStorage.setItem(`${a}-dark`,i)}catch(e){}return(0,s.Z)({},e,{lightColorScheme:r,darkColorScheme:i})})},[u,a,r,i]),g=L.useCallback(e=>{"system"===c.mode&&d(t=>(0,s.Z)({}
55,t,{systemMode:null!=e&&e.matches?"dark":"light"}))},[c.mode]),m=L.useRef(g);return m.current=g,L.useEffect(()=>{let e=(...e)=>m.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>t.removeListener(e)},[]),L.useEffect(()=>{let e=e=>{let r=e.newValue;"string"==typeof e.key&&e.key.startsWith(a)&&(!r||u.match(r))&&(e.key.endsWith("light")&&f({light:r}),e.key.endsWith("dark")&&f({dark:r})),e.key===o&&(!r||["light","dark","system"].includes(r))&&p(r||t)};if(l)return l.addEventListener("storage",e),()=>l.removeEventListener("storage",e)},[f,p,o,a,u,t,l]),(0,s.Z)({},c,{colorScheme:h,setMode:p,setColorScheme:f})}({supportedColorSchemes:Y,defaultLightColorScheme:J,defaultDarkColorScheme:X,modeStorageKey:g,colorSchemeStorageKey:v,defaultMode:b,storageWindow:k}),es=Q,ea=en;O&&(es=M.mode,ea=M.colorScheme);let el=es||("system"===b?u:b),eu=ea||("dark"===el?X:J),{css:ec,vars:ed}=W(),eh=(0,s.Z)({},G,{components:q,colorSchemes:H,cssVarPrefix:K,vars:ed,getColorSchemeSelector:e=>`[${y}="${e}"] &`}),ep={},ef={};Object.entries(H).forEach(([e,t])=>{let{css:r,vars:i}=W(e);if(eh.vars=(0,m.Z)(eh.vars,i),e===eu&&(Object.keys(t).forEach(e=>{t[e]&&"object"==typeof t[e]?eh[e]=(0,s.Z)({},eh[e],t[e]):eh[e]=t[e]}),eh.palette&&(eh.palette.colorScheme=e)),e===("string"==typeof x?x:"dark"===b?x.dark:x.light)){if(p){let t={};p(K).forEach(e=>{t[e]=r[e],delete r[e]}),ep[`[${y}="${e}"]`]=t}ep[`${P}, [${y}="${e}"]`]=r}else ef[`${":root"===P?"":P}[${y}="${e}"]`]=r}),eh.vars=(0,m.Z)(eh.vars,ed),L.useEffect(()=>{ea&&C&&C.setAttribute(y,ea)},[ea,y,C]),L.useEffect(()=>{let e;if(S&&E.current&&w){let t=w.createElement("style");t.appendChild(w.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),w.head.appendChild(t),window.getComputedStyle(w.body),e=setTimeout(()=>{w.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[ea,S,w]),L.useEffect(()=>(E.current=!0,()=>{E.current=!1}),[]);let eg=L.useMemo(()=>({mode:es,systemMode:et,setMode:ee,lightColorScheme:er,darkColorScheme:ei,colorScheme:ea,setColorScheme:eo,allColorSchemes:Y}),[Y,ea,ei,er,es,eo,ee,et]),em=!0;(A||O&&(null==Z?void 0:Z.cssVarPrefix)===K)&&(em=!1);let ev=(0,R.jsxs)(L.Fragment,{children:[em&&(0,R.jsxs)(L.Fragment,{children:[(0,R.jsx)(j.Z,{styles:{[P]:ec}}),(0,R.jsx)(j.Z,{styles:ep}),(0,R.jsx)(j.Z,{styles:ef})]}),(0,R.jsx)(V.Z,{themeId:$?t:void 0,theme:h?h(eh):eh,children:e})]});return O?ev:(0,R.jsx)(f.Provider,{value:eg,children:ev})},useColorScheme:()=>{let e=L.useContext(f);if(!e)throw Error((0,n.Z)(19));return e},getInitColorSchemeScript:e=>(function(e){let{defaultMode:t="light",defaultLightColorScheme:r="light",defaultDarkColorScheme:i="dark",modeStorageKey:n=D,colorSchemeStorageKey:o=F,attribute:s=B,colorSchemeNode:a="document.documentElement"}=e||{};return(0,R.jsx)("script",{dangerouslySetInnerHTML:{__html:`(function() { 56try { 57 var mode = localStorage.getItem('${n}') || '${t}'; 58 var colorScheme = ''; 59 if (mode === 'system') { 60 // handle system mode 61 var mql = window.matchMedia('(prefers-color-scheme: dark)'); 62 if (mql.matches) { 63 colorScheme = localStorage.getItem('${o}-dark') || '${i}'; 64 } else { 65 colorScheme = localStorage.getItem('${o}-light') || '${r}'; 66 } 67 } 68 if (mode === 'light') { 69 colorScheme = localStorage.getItem('${o}-light') || '${r}'; 70 } 71 if (mode === 'dark') { 72 colorScheme = localStorage.getItem('${o}-dark') || '${i}'; 73 } 74 if (colorScheme) { 75 ${a}.setAttribute('${s}', colorScheme); 76 } 77} catch(e){}})();`}},"mui-color-scheme-init")})((0,s.Z)({attribute:i,colorSchemeStorageKey:l,defaultMode:u,defaultLightColorScheme:g,defaultDarkColorScheme:v,modeStorageKey:o},e))}}({themeId:o.Z,theme:eh,attribute:"data-mui-color-scheme",modeStorageKey:"mui-mode",colorSchemeStorageKey:"mui-color-scheme",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:e=>{let t=(0,s.Z)({},e,{typography:(0,ec.Z)(e.palette,e.typography)});return t.unstable_sx=function(e){return(0,H.Z)({sx:e,theme:this})},t},excludeVariablesFromRoot:ed});function em(){throw Error((0,n.Z)(20))}},41101:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}}),r(2265);var i=r(95270),n=r(53794),o=r(53469);function s(){let e=(0,i.Z)(n.Z);return e[o.Z]||e}},81909:function(e,t,r){"use strict";let i=r(2265).createContext(null);t.Z=i},424:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var i=r(2265),n=r(81909);function o(){return i.useContext(n.Z)}},45536:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}}),r(2265);var i=r(99538),n=r(57437);function o(e){let{styles:t,defaultTheme:r={}}=e,o="function"==typeof t?e=>t(null==e||0===Object.keys(e).length?r:e):t;return(0,n.jsx)(i.xB,{styles:o})}},65059:function(e,t,r){"use strict";r.d(t,{Z:function(){return f}});var i=r(13428),n=r(2265),o=r(424),s=r(81909),a="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",l=r(57437),u=function(e){let{children:t,theme:r}=e,u=(0,o.Z)(),c=n.useMemo(()=>{let e=null===u?r:"function"==typeof r?r(u):(0,i.Z)({},u,r);return null!=e&&(e[a]=null!==u),e},[r,u]);return(0,l.jsx)(s.Z.Provider,{value:c,children:t})},c=r(86375),d=r(44809);let h={};function p(e,t,r,o=!1){return n.useMemo(()=>{let n=e&&t[e]||t;if("function"==typeof r){let s=r(n),a=e?(0,i.Z)({},t,{[e]:s}):s;return o?()=>a:a}return e?(0,i.Z)({},t,{[e]:r}):(0,i.Z)({},t,r)},[e,t,r,o])}var f=function(e){let{children:t,theme:r,themeId:i}=e,n=(0,d.Z)(h),s=(0,o.Z)()||h,a=p(i,n,r),f=p(i,s,r,!0);return(0,l.jsx)(u,{theme:f,children:(0,l.jsx)(c.T.Provider,{value:a,children:t})})}},61733:function(e,t){/*!
78 * CSSJanus. https://github.com/cssjanus/cssjanus 79 * 80 * Copyright 2014 Trevor Parscal 81 * Copyright 2010 Roan Kattouw 82 * Copyright 2008 Google Inc. 83 * 84 * Licensed under the Apache License, Version 2.0 (the "License"); 85 * you may not use this file except in compliance with the License. 86 * You may obtain a copy of the License at 87 * 88 * http://www.apache.org/licenses/LICENSE-2.0 89 * 90 * Unless required by applicable law or agreed to in writing, software 91 * distributed under the License is distributed on an "AS IS" BASIS, 92 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 93 * See the License for the specific language governing permissions and 94 * limitations under the License. 95 */var r;function i(e,t){var r=[],i=0;function n(e){return r.push(e),t}function o(){return r[i++]}return{tokenize:function(t){return t.replace(e,n)},detokenize:function(e){return e.replace(RegExp("("+t+")","g"),o)}}}r=new function(){var e="`TMP`",t="`COMMENT`",r="[^\\u0020-\\u007e]",n="(?:[0-9]*\\.[0-9]+|[0-9]+)",o="direction\\s*:\\s*",s="['\"]?\\s*",a="(^|[^a-zA-Z])",l="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",u="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",c="(?:[_a-z0-9-]|"+r+"|"+u+")",d=n+"(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?(?:[_a-z]|"+r+"|"+u)+")"+c+"*)?",h="((?:-?"+d+")|(?:inherit|auto))",p="(#?"+c+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",f="(?:[!#$%&*-~]|"+r+"|"+u+")*?",g="(?![a-zA-Z])",m="(?!("+c+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+t+")*?{)",v="(?!"+f+s+"\\))",y="(?="+f+s+"\\))",b="(\\s*(?:!important\\s*)?[;}])",x=/`TMP`/g,S=RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),k=RegExp("("+l+m+"[^;}]+;?)","gi"),w=RegExp("("+l+"[^\\}]*?})","gi"),C=RegExp("("+o+")ltr","gi"),P=RegExp("("+o+")rtl","gi"),T=RegExp(a+"(left)"+g+v+m,"gi"),L=RegExp(a+"(right)"+g+v+m,"gi"),A=RegExp(a+"(left)"+y,"gi"),E=RegExp(a+"(right)"+y,"gi"),R=RegExp(a+"(ltr)"+y,"gi"),Z=RegExp(a+"(rtl)"+y,"gi"),M=RegExp(a+"([ns]?)e-resize","gi"),O=RegExp(a+"([ns]?)w-resize","gi"),$=RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+h+"(\\s+)"+h+"(\\s+)"+h+"(\\s+)"+h+b,"gi"),j=RegExp("((?:-color|border-style)\\s*:\\s*)"+p+"(\\s+)"+p+"(\\s+)"+p+"(\\s+)"+p+b,"gi"),I=RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+d+")","gi"),V=RegExp("(background-position-x\\s*:\\s*)(-?"+n+"%)","gi"),D=RegExp("(border-radius\\s*:\\s*)"+h+"(?:(?:\\s+"+h+")(?:\\s+"+h+")?(?:\\s+"+h+")?)?(?:(?:(?:\\s*\\/\\s*)"+h+")(?:\\s+"+h+")?(?:\\s+"+h+")?(?:\\s+"+h+")?)?"+b,"gi"),F=RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+h,"gi"),B=RegExp("(text-shadow\\s*:\\s*)"+h+"(\\s*)"+p,"gi"),N=RegExp("(text-shadow\\s*:\\s*)"+p+"(\\s*)"+h,"gi"),z=RegExp("(text-shadow\\s*:\\s*)"+h,"gi"),U=RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+h+"(\\s*\\))","gi"),_=RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+h+"((?:\\s*,\\s*"+h+"){0,2}\\s*\\))","gi");function H(e,t,r){var i,n;return"%"===r.slice(-1)&&(-1!==(i=r.indexOf("."))?(n=r.length-i-2,r=(r=100-parseFloat(r)).toFixed(n)+"%"):r=100-parseFloat(r)+"%"),t+r}function q(e){switch(e.length){case 4:e=[e[1],e[0],e[3],e[2]];break;case 3:e=[e[1],e[0],e[1],e[2]];break;case 2:e=[e[1],e[0]];break;case 1:e=[e[0]]}return e.join(" ")}function W(e,t){var r=[].slice.call(arguments),i=r.slice(2,6).filter(function(e){return e}),n=r.slice(6,10).filter(function(e){return e}),o=r[10]||"";return t+(n.length?q(i)+" / "+q(n):q(i))+o}function K(e){return 0===parseFloat(e)?e:"-"===e[0]?e.slice(1):"-"+e}function G(e,t,r){return t+K(r)}
95function Y(e,t,r,i,n){return t+r+K(i)+n}function J(e,t,r,i,n){return t+r+i+K(n)}return{transform:function(r,n){var o=new i(k,"`NOFLIP_SINGLE`"),s=new i(w,"`NOFLIP_CLASS`"),a=new i(S,t);return r=a.tokenize(s.tokenize(o.tokenize(r.replace("`","%60")))),n.transformDirInUrl&&(r=r.replace(R,"$1"+e).replace(Z,"$1ltr").replace(x,"rtl")),n.transformEdgeInUrl&&(r=r.replace(A,"$1"+e).replace(E,"$1left").replace(x,"right")),r=r.replace(C,"$1"+e).replace(P,"$1ltr").replace(x,"rtl").replace(T,"$1"+e).replace(L,"$1left").replace(x,"right").replace(M,"$1$2"+e).replace(O,"$1$2e-resize").replace(x,"w-resize").replace(D,W).replace(F,G).replace(B,J).replace(N,J).replace(z,G).replace(U,Y).replace(_,Y).replace($,"$1$2$3$8$5$6$7$4$9").replace(j,"$1$2$3$8$5$6$7$4$9").replace(I,H).replace(V,H),r=o.detokenize(s.detokenize(a.detokenize(r)))}}},e.exports?t.transform=function(e,t,i){var n;return"object"==typeof t?n=t:(n={},"boolean"==typeof t&&(n.transformDirInUrl=t),"boolean"==typeof i&&(n.transformEdgeInUrl=i)),r.transform(e,n)}:"undefined"!=typeof window&&(window.cssjanus=r)},13313:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DOMAttributeNames:function(){return i},isEqualNode:function(){return o},default:function(){return s}});let i={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function n(e){let{type:t,props:r}=e,n=document.createElement(t);for(let e in r){if(!r.hasOwnProperty(e)||"children"===e||"dangerouslySetInnerHTML"===e||void 0===r[e])continue;let o=i[e]||e.toLowerCase();"script"===t&&("async"===o||"defer"===o||"noModule"===o)?n[o]=!!r[e]:n.setAttribute(o,r[e])}let{children:o,dangerouslySetInnerHTML:s}=r;return s?n.innerHTML=s.__html||"":o&&(n.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):""),n}function o(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){let i=t.cloneNode(!0);return i.setAttribute("nonce",""),i.nonce=r,r===e.nonce&&e.isEqualNode(i)}}return e.isEqualNode(t)}function s(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let i=t.title?t.title[0]:null,n="";if(i){let{children:e}=i.props;n="string"==typeof e?e:Array.isArray(e)?e.join(""):""}n!==document.title&&(document.title=n),["meta","base","link","style","script"].forEach(e=>{r(e,t[e]||[])})}}}r=(e,t)=>{let r=document.getElementsByTagName("head")[0],i=r.querySelector("meta[name=next-head-count]"),s=Number(i.content),a=[];for(let t=0,r=i.previousElementSibling;t<s;t++,r=(null==r?void 0:r.previousElementSibling)||null){var l;(null==r?void 0:null==(l=r.tagName)?void 0:l.toLowerCase())===e&&a.push(r)}let u=t.map(n).filter(e=>{for(let t=0,r=a.length;t<r;t++)if(o(a[t],e))return a.splice(t,1),!1;return!0});a.forEach(e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),u.forEach(e=>r.insertBefore(e,i)),i.content=(s-a.length+u.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52185:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{requestIdleCallback:function(){return r},cancelIdleCallback:function(){return i}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},i="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
95dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},85935:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleClientScriptLoad:function(){return g},initScriptLoader:function(){return m},default:function(){return y}});let i=r(70817),n=r(37401),o=i._(r(54887)),s=n._(r(2265)),a=r(27484),l=r(13313),u=r(52185),c=new Map,d=new Set,h=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"],p=e=>{if(o.default.preinit){e.forEach(e=>{o.default.preinit(e,{as:"style"})});return}{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}},f=e=>{let{src:t,id:r,onLoad:i=()=>{},onReady:n=null,dangerouslySetInnerHTML:o,children:s="",strategy:a="afterInteractive",onError:u,stylesheets:f}=e,g=r||t;if(g&&d.has(g))return;if(c.has(t)){d.add(g),c.get(t).then(i,u);return}let m=()=>{n&&n(),d.add(g)},v=document.createElement("script"),y=new Promise((e,t)=>{v.addEventListener("load",function(t){e(),i&&i.call(this,t),m()}),v.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});for(let[r,i]of(o?(v.innerHTML=o.__html||"",m()):s?(v.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",m()):t&&(v.src=t,c.set(t,y)),Object.entries(e))){if(void 0===i||h.includes(r))continue;let e=l.DOMAttributeNames[r]||r.toLowerCase();v.setAttribute(e,i)}"worker"===a&&v.setAttribute("type","text/partytown"),v.setAttribute("data-nscript",a),f&&p(f),document.body.appendChild(v)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>f(e))}):f(e)}function m(e){e.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");d.add(t)})}function v(e){let{id:t,src:r="",onLoad:i=()=>{},onReady:n=null,strategy:l="afterInteractive",onError:c,stylesheets:h,...p}=e,{updateScripts:g,scripts:m,getIsSsr:v,appDir:y,nonce:b}=(0,s.useContext)(a.HeadManagerContext),x=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||r;x.current||(n&&e&&d.has(e)&&n(),x.current=!0)},[n,t,r]);let S=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{!S.current&&("afterInteractive"===l?f(e):"lazyOnload"===l&&("complete"===document.readyState?(0,u.requestIdleCallback)(()=>f(e)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>f(e))})),S.current=!0)},[e,l]),("beforeInteractive"===l||"worker"===l)&&(g?(m[l]=(m[l]||[]).concat([{id:t,src:r,onLoad:i,onReady:n,onError:c,...p}]),g(m)):v&&v()?d.add(t||r):v&&!v()&&f(e)),y){if(h&&h.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===l)return r?(o.default.preload(r,p.integrity?{as:"script",integrity:p.integrity}:{as:"script"}),s.default.createElement("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r])+")"}})):(p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),s.default.createElement("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...p}])+")"}}));"afterInteractive"===l&&r&&o.default.preload(r,p.integrity?{as:"script",integrity:p.integrity}:{as:"script"})}return null}Object.defineProperty(v,"__nextScript",{value:!0});let y=v;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53939:function(e){e.exports={style:{fontFamily:"'__Barlow_fe8f83', '__Barlow_Fallback_fe8f83', Helvetica, Arial, sans-serif",fontStyle:"normal"},className:"__className_fe8f83"}},28522:function(e){e.exports={style:{fontFamily:"'__Pacifico_a5c4ba', '__Pacifico_Fallback_a5c4ba', Helvetica, Arial, sans-serif",fontWeight:400,fontStyle:"normal"},className:"__className_a5c4ba"}},79462:function(e){e.exports={style:{fontFamily:"'__Public_Sans_af9ad8', '__Public_Sans_Fallback_af9ad8', Helvetica, Arial, sans-serif",fontStyle:"normal"},className:"__className_af9ad8"}},24033:function(e,t,r){e.exports=r(15313)},14918:function(e,t,r){var i,n;void 0!==(n="function"==typeof(i=function(){var e,t,r,i={};i.version="0.2.0";var n=i.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,r){return e<t?t:e>r?r:e}i.configure=function(e){var t,r;for(t in e)void 0!==(r=e[t])&&e.hasOwnProperty(t)&&(n[t]=r);return this},i.status=null,i.set=function(e){var t=i.isStarted();e=o(e,n.minimum,1),i.status=1===e?null:e;var r=i.render(!t),l=r.querySelector(n.barSelector),u=n.speed,c=n.easing;return r.offsetWidth,s(function(t){var o,s;""===n.positionUsing&&(n.positionUsing=i.getPositioningCSS()),a(l,(o=e,(s="translate3d"===n.positionUsing?{transform:"translate3d("+(-1+o)*100+"%,0,0)"}:"translate"===n.positionUsing?{transform:"translate("+(-1+o)*100+"%,0)"}:{"margin-left":(-1+o)*100+"%"}).transition="all "+u+"ms "+c,s)),1===e?(a(r,{transition:"none",opacity:1}),r.offsetWidth,setTimeout(function(){a(r,{transition:"all "+u+"ms linear",opacity:0}
95),setTimeout(function(){i.remove(),t()},u)},u)):setTimeout(t,u)}),this},i.isStarted=function(){return"number"==typeof i.status},i.start=function(){i.status||i.set(0);var e=function(){setTimeout(function(){i.status&&(i.trickle(),e())},n.trickleSpeed)};return n.trickle&&e(),this},i.done=function(e){return e||i.status?i.inc(.3+.5*Math.random()).set(1):this},i.inc=function(e){var t=i.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),i.set(t)):i.start()},i.trickle=function(){return i.inc(Math.random()*n.trickleRate)},e=0,t=0,i.promise=function(r){return r&&"resolved"!==r.state()&&(0===t&&i.start(),e++,t++,r.always(function(){0==--t?(e=0,i.done()):i.set((e-t)/e)})),this},i.render=function(e){if(i.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=n.template;var r,o=t.querySelector(n.barSelector),s=e?"-100":(-1+(i.status||0))*100,l=document.querySelector(n.parent);return a(o,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),!n.showSpinner&&(r=t.querySelector(n.spinnerSelector))&&h(r),l!=document.body&&u(l,"nprogress-custom-parent"),l.appendChild(t),t},i.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(n.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&h(e)},i.isRendered=function(){return!!document.getElementById("nprogress")},i.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective" in e?"translate3d":t+"Transform" in e?"translate":"margin"};var s=(r=[],function(e){r.push(e),1==r.length&&function e(){var t=r.shift();t&&t(e)}()}),a=function(){var e=["Webkit","O","Moz","ms"],t={};function r(r,i,n){var o;i=t[o=(o=i).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[o]=function(t){var r=document.body.style;if(t in r)return t;for(var i,n=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);n--;)if((i=e[n]+o)in r)return i;return t}(o)),r.style[i]=n}return function(e,t){var i,n,o=arguments;if(2==o.length)for(i in t)void 0!==(n=t[i])&&t.hasOwnProperty(i)&&r(e,i,n);else r(e,o[1],o[2])}}();function l(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function u(e,t){var r=d(e),i=r+t;l(r,t)||(e.className=i.substring(1))}function c(e,t){var r,i=d(e);l(e,t)&&(r=i.replace(" "+t+" "," "),e.className=r.substring(1,r.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function h(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return i})?i.call(t,r,t,e):i)&&(e.exports=n)},35288:function(e,t,r){"use strict";r.d(t,{Z:function(){return E}});var i=r(61733),n=r.n(i),o="comm",s="rule",a="decl",l=Math.abs,u=String.fromCharCode;function c(e,t,r){return e.replace(t,r)}function d(e,t){return 0|e.charCodeAt(t)}function h(e,t,r){return e.slice(t,r)}function p(e){return e.length}function f(e,t){return t.push(e),e}var g=1,m=1,v=0,y=0,b=0,x="";function S(e,t,r,i,n,o,s,a){return{value:e,root:t,parent:r,type:i,props:n,children:o,line:g,column:m,length:s,return:"",siblings:a}}function k(){return b=y<v?d(x,y++):0,m++,10===b&&(m=1,g++),b}function w(){return d(x,y)}function C(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function P(e){var t,r;return(t=y-1,r=function e(t){for(;k();)switch(b){case t:return y;case 34:case 39:34!==t&&39!==t&&e(b);break;case 40:41===t&&e(t);break;case 92:k()}return y}(91===e?e+2:40===e?e+1:e),h(x,t,r)).trim()}function T(e,t,r,i,n,o,a,u,d,p,f,g){for(var m=n-1,v=0===n?o:[""],y=v.length,b=0,x=0,k=0;b<i;++b)for(var w=0,C=h(e,m+1,m=l(x=a[b])),P=e;w<y;++w)(P=(x>0?v[w]+" "+C:c(C,/&\f/g,v[w])).trim())&&(d[k++]=P);return S(e,t,r,0===n?s:u,d,p,f,g)}function L(e,t,r,i,n){return S(e,t,r,a,h(e,0,i),h(e,i+1,-1),i,n)}
95function A(e,t,r,i){if("@keyframes"===e.type||"@supports"===e.type||e.type===s&&(!e.parent||"@media"===e.parent.type||e.parent.type===s)){var l,A,E,R=n().transform(function e(t,r,i){switch(t.type){case"@import":case a:case o:return t.return=t.return||t.value;case s:t.value=Array.isArray(t.props)?t.props.join(","):t.props,Array.isArray(t.children)&&t.children.forEach(function(e){e.type===o&&(e.children=e.value)})}var n=function(e,t){for(var r="",i=0;i<e.length;i++)r+=t(e[i],i,e,t)||"";return r}(Array.prototype.concat(t.children),e);return p(n)?t.return=t.value+"{"+n+"}":""}(e,t,r));e.children=R?(E=function e(t,r,i,n,s,a,l,v,A){for(var E,R=0,Z=0,M=l,O=0,$=0,j=0,I=1,V=1,D=1,F=0,B="",N=s,z=a,U=n,_=B;V;)switch(j=F,F=k()){case 40:if(108!=j&&58==d(_,M-1)){-1!=(_+=c(P(F),"&","&\f")).indexOf("&\f")&&(D=-1);break}case 34:case 39:case 91:_+=P(F);break;case 9:case 10:case 13:case 32:_+=function(e){for(;b=w();)if(b<33)k();else break;return C(e)>2||C(b)>3?"":" "}(j);break;case 92:_+=function(e,t){for(var r;--t&&k()&&!(b<48)&&!(b>102)&&(!(b>57)||!(b<65))&&(!(b>70)||!(b<97)););return r=y+(t<6&&32==w()&&32==k()),h(x,e,r)}(y-1,7);continue;case 47:switch(w()){case 42:case 47:f(S(E=function(e,t){for(;k();)if(e+b===57)break;else if(e+b===84&&47===w())break;return"/*"+h(x,t,y-1)+"*"+u(47===e?e:k())}(k(),y),r,i,o,u(b),h(E,2,-2),0,A),A);break;default:_+="/"}break;case 123*I:v[R++]=p(_)*D;case 125*I:case 59:case 0:switch(F){case 0:case 125:V=0;case 59+Z:-1==D&&(_=c(_,/\f/g,"")),$>0&&p(_)-M&&f($>32?L(_+";",n,i,M-1,A):L(c(_," ","")+";",n,i,M-2,A),A);break;case 59:_+=";";default:if(f(U=T(_,r,i,R,Z,s,v,B,N=[],z=[],M,a),a),123===F){if(0===Z)e(_,r,U,U,N,a,M,v,z);else switch(99===O&&110===d(_,3)?100:O){case 100:case 108:case 109:case 115:e(t,U,U,n&&f(T(t,U,U,0,0,s,v,B,s,N=[],M,z),z),s,z,M,v,n?N:z);break;default:e(_,U,U,U,[""],z,0,v,z)}}}R=Z=$=0,I=D=1,B=_="",M=l;break;case 58:M=1+p(_),$=j;default:if(I<1){if(123==F)--I;else if(125==F&&0==I++&&125==(b=y>0?d(x,--y):0,m--,10===b&&(m=1,g--),b))continue}switch(_+=u(F),F*I){case 38:D=Z>0?1:(_+="\f",-1);break;case 44:v[R++]=(p(_)-1)*D,D=1;break;case 64:45===w()&&(_+=P(k())),O=w(),Z=M=p(B=_+=function(e){for(;!C(w());)k();return h(x,e,y)}(y)),F++;break;case 45:45===j&&2==p(_)&&(I=0)}}return a}("",null,null,null,[""],(A=l=R,g=m=1,v=p(x=A),y=0,l=[]),0,[0],l),x="",E)[0].children:[],e.return=""}}Object.defineProperty(A,"name",{value:"stylisRTLPlugin"});var E=A},18170:function(e,t,r){"use strict";r.d(t,{X:function(){return s}});var i=r(2265),n=r(59334),o=r(65334);function s({children:e,features:t,strict:r=!1}){let[,s]=(0,i.useState)(!a(t)),l=(0,i.useRef)(void 0);if(!a(t)){let{renderer:e,...r}=t;l.current=e,(0,o.K)(r)}return(0,i.useEffect)(()=>{a(t)&&t().then(({renderer:e,...t})=>{(0,o.K)(t),l.current=e,s(!0)})},[]),i.createElement(n.u.Provider,{value:{renderer:l.current,strict:r}},e)}function a(e){return"function"==typeof e}},94926:function(e,t,r){"use strict";let i;r.d(t,{g:function(){return r6}});class n{constructor(e){this.isMounted=!1,this.node=e}update(){}}var o,s=r(26977),a=r(46567);let l=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function u(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}let c=e=>t=>l(t)&&e(t,u(t));var d=r(81356);function h(e,t,r,i={passive:!0}){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r)}function p(e,t,r,i){return h(e,t,c(r),i)}var f=r(44694);let g=(e,t)=>Math.abs(e-t);var m=r(72363);class v{constructor(e,t,{transformPagePoint:r,contextWindow:i}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=x(this.lastMoveEventInfo,this.history),i=null!==this.startEvent,n=(e=r.offset,t={x:0,y:0},Math.sqrt(g(e.x,t.x)**2+g(e.y,t.y)**2)>=3);if(!i&&!n)return;let{point:o}=r,{timestamp:s}=m.frameData;this.history.push({...o,timestamp:s});let{onStart:a,onMove:l}=this.handlers;
95i||(a&&a(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=y(t,this.transformPagePoint),m.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:r,onSessionEnd:i}=this.handlers,n=x("pointercancel"===e.type?this.lastMoveEventInfo:y(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,n),i&&i(e,n)},!l(e))return;this.handlers=t,this.transformPagePoint=r,this.contextWindow=i||window;let n=y(u(e),this.transformPagePoint),{point:o}=n,{timestamp:s}=m.frameData;this.history=[{...o,timestamp:s}];let{onSessionStart:a}=t;a&&a(e,x(n,this.history)),this.removeListeners=(0,f.z)(p(this.contextWindow,"pointermove",this.handlePointerMove),p(this.contextWindow,"pointerup",this.handlePointerUp),p(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,m.Pn)(this.updatePoint)}}function y(e,t){return t?{point:t(e.point)}:e}function b(e,t){return{x:e.x-t.x,y:e.y-t.y}}function x({point:e},t){return{point:e,delta:b(e,S(t)),offset:b(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,i=null,n=S(e);for(;r>=0&&(i=e[r],!(n.timestamp-i.timestamp>(0,d.w)(.1)));)r--;if(!i)return{x:0,y:0};let o=(0,d.X)(n.timestamp-i.timestamp);if(0===o)return{x:0,y:0};let s={x:(n.x-i.x)/o,y:(n.y-i.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t,0)}}function S(e){return e[e.length-1]}function k(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let w=k("dragHorizontal"),C=k("dragVertical");function P(e){let t=!1;if("y"===e)t=C();else if("x"===e)t=w();else{let e=w(),r=C();e&&r?t=()=>{e(),r()}
95:(e&&e(),r&&r())}return t}function T(){let e=P(!0);return!e||(e(),!1)}var L=r(95503),A=r(42868),E=r(40007);function R(e){return e.max-e.min}function Z(e,t=0,r=.01){return Math.abs(e-t)<=r}function M(e,t,r,i=.5){e.origin=i,e.originPoint=(0,E.C)(t.min,t.max,e.origin),e.scale=R(r)/R(t),(Z(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=(0,E.C)(r.min,r.max,e.origin)-e.originPoint,(Z(e.translate)||isNaN(e.translate))&&(e.translate=0)}function O(e,t,r,i){M(e.x,t.x,r.x,i?i.originX:void 0),M(e.y,t.y,r.y,i?i.originY:void 0)}function $(e,t,r){e.min=r.min+t.min,e.max=e.min+R(t)}function j(e,t,r){e.min=t.min-r.min,e.max=e.min+R(t)}function I(e,t,r){j(e.x,t.x,r.x),j(e.y,t.y,r.y)}var V=r(43021);function D(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function F(e,t){let r=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,i]=[i,r]),{min:r,max:i}}function B(e,t,r){return{min:N(e,t),max:N(e,r)}}function N(e,t){return"number"==typeof e?e:e[t]||0}let z=()=>({translate:0,scale:1,origin:0,originPoint:0}),U=()=>({x:z(),y:z()}),_=()=>({min:0,max:0}),H=()=>({x:_(),y:_()});function q(e){return[e("x"),e("y")]}function W({top:e,left:t,right:r,bottom:i}){return{x:{min:t,max:r},y:{min:e,max:i}}}function K(e){return void 0===e||1===e}function G({scale:e,scaleX:t,scaleY:r}){return!K(e)||!K(t)||!K(r)}function Y(e){return G(e)||J(e)||e.z||e.rotate||e.rotateX||e.rotateY}function J(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function X(e,t,r,i,n){return void 0!==n&&(e=i+n*(e-i)),i+r*(e-i)+t}function Q(e,t=0,r=1,i,n){e.min=X(e.min,t,r,i,n),e.max=X(e.max,t,r,i,n)}function ee(e,{x:t,y:r}){Q(e.x,t.translate,t.scale,t.originPoint),Q(e.y,r.translate,r.scale,r.originPoint)}function et(e){return Number.isInteger(e)?e:e>1.0000000000001||e<.999999999999?e:1}function er(e,t){e.min=e.min+t,e.max=e.max+t}function ei(e,t,[r,i,n]){let o=void 0!==t[n]?t[n]:.5,s=(0,E.C)(e.min,e.max,o);Q(e,t[r],t[i],s,t.scale)}let en=["x","scaleX","originX"],eo=["y","scaleY","originY"];function es(e,t){ei(e.x,t,en),ei(e.y,t,eo)}function ea(e,t){return W(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}(e.getBoundingClientRect(),t))}var el=r(43681);let eu={current:!1},ec=e=>Array.isArray(e)&&"number"==typeof e[0],ed=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`,eh={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ed([0,.65,.55,1]),circOut:ed([.55,0,1,.45]),backIn:ed([.31,.01,.66,-.59]),backOut:ed([.33,1.53,.69,.99])};var ep=r(40123);let ef=(o=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===i&&(i=o()),i)),eg=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),em=(e,t)=>"spring"===t.type||"backgroundColor"===e||!function e(t){return!!(!t||"string"==typeof t&&eh[t]||ec(t)||Array.isArray(t)&&t.every(e))}(t.ease);var ev=r(49303);let ey={type:"spring",stiffness:500,damping:25,restSpeed:10},eb=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),ex={type:"keyframes",duration:.8},eS={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ek=(e,{keyframes:t})=>t.length>2?ex:ev.G.has(e)?e.startsWith("scale")?eb(t[1]):ey:eS;var ew=r(89155);let eC=(e,t)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(ew.P.test(t)||"0"===t)&&!t.startsWith("url("));var eP=r(2038);let eT=new Set(["brightness","contrast","saturate","opacity"]);function eL(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[i]=r.match(eP.KP)||[];if(!i)return e;let n=r.replace(i,""),o=eT.has(t)?1:0;return i!==r&&(o*=100),t+"("+o+n+")"}let eA=/([a-z-]*)\(.*?\)/g,eE={...ew.P,getAnimatableNone:e=>{let t=e.match(eA);return t?t.map(eL).join(" "):e}};var eR=r(2199);let eZ={...r(83002).j,color:eR.$,backgroundColor:eR.$,outlineColor:eR.$,fill:eR.$,stroke:eR.$,borderColor:eR.$,borderTopColor:eR.$,borderRightColor:eR.$,borderBottomColor:eR.$,borderLeftColor:eR.$,filter:eE,WebkitFilter:eE},eM=e=>eZ[e];function eO(e,t){let r=eM(e);return r!==eE&&(r=ew.P),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let e$=e=>/^0[^.\s]+$/.test(e);function ej(e,t){return e[t]||e.default||e}let eI=(e,t,r,i={})=>n=>{let o=ej(i,e)||{},l=o.delay||i.delay||0,{elapsed:u=0}=i;u-=(0,d.w)(l);let c=function(e,t,r,i){let n,o;let s=eC(t,r);n=Array.isArray(r)?[...r]:[null,r];let a=void 0!==i.from?i.from:e.get(),l=[];for(let e=0;e<n.length;e++){var u;null===n[e]&&(n[e]=0===e?a:n[e-1]),("number"==typeof(u=n[e])?0===u:null!==u?"none"===u||"0"===u||e$(u):void 0)&&l.push(e),"string"==typeof n[e]&&"none"!==n[e]&&"0"!==n[e]&&(o=n[e])}if(s&&l.length&&o)for(let e=0;e<l.length;e++)n[l[e]]=eO(t,o);return n}(t,e,r,o),h=c[0],p=c[c.length-1],f=eC(e,h),g=eC(e,p);(0,a.K)(f===g,`You are trying to animate ${e} from "${h}" to "${p}". ${h} is not an animatable value - to enable this animation set ${h} to a value animatable to ${p} via the \`style\` property.`);let v={keyframes:c,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-u,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{n(),o.onComplete&&o.onComplete()}};if(!function({when:e,delay:t,delayChildren:r,staggerChildren:i,staggerDirection:n,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(o)&&(v={...v,...ek(e,v)}),v.duration&&(v.duration=(0,d.w)(v.duration)),v.repeatDelay&&(v.repeatDelay=(0,d.w)(v.repeatDelay)),!f||!g||eu.current||!1===o.type)return function({keyframes:e,delay:t,onUpdate:r,onComplete:i}){let n=()=>(r&&r(e[e.length-1]),i&&i(),{time:0,speed:1,duration:0,play:s.Z,pause:s.Z,stop:s.Z,then:e=>(e(),Promise.resolve()),cancel:s.Z,complete:s.Z});return t?(0,ep.y)({keyframes:[0,1],duration:0,delay:t,onComplete:n}):n()}(eu.current?{...v,delay:0}:v);if(!i.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUp
95date){let r=function(e,t,{onUpdate:r,onComplete:i,...n}){let o,a;if(!(ef()&&eg.has(t)&&!n.repeatDelay&&"mirror"!==n.repeatType&&0!==n.damping&&"inertia"!==n.type))return!1;let l=!1,u=()=>{a=new Promise(e=>{o=e})};u();let{keyframes:c,duration:h=300,ease:p,times:f}=n;if(em(t,n)){let e=(0,ep.y)({...n,repeat:0,delay:0}),t={done:!1,value:c[0]},r=[],i=0;for(;!t.done&&i<2e4;)t=e.sample(i),r.push(t.value),i+=10;f=void 0,c=r,h=i-10,p="linear"}let g=function(e,t,r,{delay:i=0,duration:n,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){let u={[t]:r};l&&(u.offset=l);let c=function e(t){if(t)return ec(t)?ed(t):Array.isArray(t)?t.map(e):eh[t]}(a);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:i,duration:n,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(e.owner.current,t,c,{...n,duration:h,ease:p,times:f}),v=()=>g.cancel(),y=()=>{m.Wi.update(v),o(),u()};return g.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:r="loop"}){let i=t&&"loop"!==r&&t%2==1?0:e.length-1;return e[i]}(c,n)),i&&i(),y()},{then:(e,t)=>a.then(e,t),attachTimeline:e=>(g.timeline=e,g.onfinish=null,s.Z),get time(){return(0,d.X)(g.currentTime||0)},set time(newTime){g.currentTime=(0,d.w)(newTime)},get speed(){return g.playbackRate},set speed(newSpeed){g.playbackRate=newSpeed},get duration(){return(0,d.X)(h)},play:()=>{l||(g.play(),(0,m.Pn)(v))},pause:()=>g.pause(),stop:()=>{if(l=!0,"idle"===g.playState)return;let{currentTime:t}=g;if(t){let r=(0,ep.y)({...n,autoplay:!1});e.setWithVelocity(r.sample(t-10).value,r.sample(t).value,10)}y()},complete:()=>g.finish(),cancel:y}}(t,e,v);if(r)return r}return(0,ep.y)(v)},eV=({current:e})=>e?e.ownerDocument.defaultView:null,eD=new WeakMap;class eF{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=H(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:r}=this.visualElement;r&&!1===r.isPresent||(this.panSession=new v(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(u(e,"page").point)},onStart:(e,t)=>{let{drag:r,dragPropagation:i,onDragStart:n}=this.getProps();if(r&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=P(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),q(e=>{let t=this.getAxisMotionValue(e).get()||0;if(el.aQ.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let i=r.layout.layoutBox[e];if(i){let e=R(i);t=parseFloat(t)/100*e}}}this.originPoint[e]=t}),n&&m.Wi.update(()=>n(e,t),!1,!0);let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{let{dragPropagation:r,dragDirectionLock:i,onDirectionLock:n,onDrag:o}=this.getProps();if(!r&&!this.openGlobalLock)return;let{offset:s}=t;if(i&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(s),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint(),contextWindow:eV(this.visualElement)}))}stop(e,t){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:i}=t;this.startAnimation(i);let{onDragEnd:n}=this.getProps();n&&m.Wi.update(()=>n(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){let{drag:i}=this.getProps();if(!r||!eB(e,i,this.currentDirection))return;let n=this.getAxisMotionValue(e),o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:r},i){return void 0!==t&&e<t?e=i?(0,E.C)(t,e,i.min):Math.max(e,t):void 0!==r&&e>r&&(e=i?(0,E.C)(r,e,i.max):Math.min(e,r)),e}(o,this.constraints[e],this.elastic[e])),n.set(o)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,n=this.constraints;t&&(0,L.I)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(e,{top:t,left:r,bottom:i,right:n}){return{x:D(e.x,r,n),y:D(e.y,t,i)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:B(e,"left","right"),y:B(e,"top","bottom")}}(r),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&q(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(i.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!(0,L.I)(t))return!1;let i=t.current;
95(0,a.k)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let o=function(e,t,r){let i=ea(e,r),{scroll:n}=t;return n&&(er(i.x,n.offset.x),er(i.y,n.offset.y)),i}(i,n.root,this.visualElement.getTransformPagePoint()),s={x:F((e=n.layout.layoutBox).x,o.x),y:F(e.y,o.y)};if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(s));this.hasMutatedConstraints=!!e,e&&(s=W(e))}return s}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:i,dragTransition:n,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(q(s=>{if(!eB(s,t,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[s]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return r.start(eI(e,r,0,t))}stopAnimation(){q(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t="_drag"+e.toUpperCase(),r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){q(t=>{let{drag:r}=this.getProps();if(!eB(t,r,this.currentDirection))return;let{projection:i}=this.visualElement,n=this.getAxisMotionValue(t);if(i&&i.layout){let{min:r,max:o}=i.layout.layoutBox[t];n.set(e[t]-(0,E.C)(r,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!(0,L.I)(t)||!r||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};q(e=>{let t=this.getAxisMotionValue(e);if(t){let r=t.get();i[e]=function(e,t){let r=.5,i=R(e),n=R(t);return n>i?r=(0,A.Y)(t.min,t.max-i,e.min):i>n&&(r=(0,A.Y)(e.min,e.max-n,t.min)),(0,V.u)(0,1,r)}({min:r,max:r},this.constraints[e])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),q(t=>{if(!eB(t,e,null))return;let r=this.getAxisMotionValue(t),{min:n,max:o}=this.constraints[t];r.set((0,E.C)(n,o,i[t]))})}addListeners(){if(!this.visualElement.current)return;eD.set(this.visualElement,this);let e=p(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();(0,L.I)(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),t();let n=h(window,"resize",()=>this.scalePositionWithinConstraints()),o=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(q(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{n(),e(),i(),o&&o()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:n=!1,dragElastic:o=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:i,dragConstraints:n,dragElastic:o,dragMomentum:s}}}function eB(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class eN extends n{constructor(e){super(e),this.removeGroupControls=s.Z,this.removeListeners=s.Z,this.controls=new eF(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||s.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let ez=e=>(t,r)=>{e&&m.Wi.update(()=>e(t,r))};class eU extends n{constructor(){super(...arguments),this.removePointerDownListener=s.Z}onPointerDown(e){this.session=new v(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:eV(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:ez(e),onStart:ez(t),onMove:r,onEnd:(e,t)=>{delete this.session,i&&m.Wi.update(()=>i(e,t))}}}mount(){this.removePointerDownListener=p(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var e_=r(2265),eH=r(38243),eq=r(781),eW=r(27266);let eK={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function eG(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let eY={correct:(e,t)=>
95{if(!t.target)return e;if("string"==typeof e){if(!el.px.test(e))return e;e=parseFloat(e)}let r=eG(e,t.target.x),i=eG(e,t.target.y);return`${r}% ${i}%`}};var eJ=r(611);class eX extends e_.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:i}=this.props,{projection:n}=e;(0,eJ.B)(e0),n&&(t.group&&t.group.add(n),r&&r.register&&i&&r.register(n),n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),eK.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:i,isPresent:n}=this.props,o=r.projection;return o&&(o.isPresent=n,i||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent===n||(n?o.promote():o.relegate()||m.Wi.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function eQ(e){let[t,r]=function(){let e=(0,e_.useContext)(eH.O);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:r,register:i}=e,n=(0,e_.useId)();return(0,e_.useEffect)(()=>i(n),[]),!t&&r?[!1,()=>r&&r(n)]:[!0]}(),i=(0,e_.useContext)(eq.p);return e_.createElement(eX,{...e,layoutGroup:i,switchLayoutGroup:(0,e_.useContext)(eW.g),isPresent:t,safeToRemove:r})}let e0={borderRadius:{...eY,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eY,borderTopRightRadius:eY,borderBottomLeftRadius:eY,borderBottomRightRadius:eY,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let i=ew.P.parse(e);if(i.length>5)return e;let n=ew.P.createTransformer(e),o="number"!=typeof i[0]?1:0,s=r.x.scale*t.x,a=r.y.scale*t.y;i[0+o]/=s,i[1+o]/=a;let l=(0,E.C)(s,a,.5);return"number"==typeof i[2+o]&&(i[2+o]/=l),"number"==typeof i[3+o]&&(i[3+o]/=l),n(i)}}};var e1=r(27026),e2=r(927);let e5=["TopLeft","TopRight","BottomLeft","BottomRight"],e3=e5.length,e4=e=>"string"==typeof e?parseFloat(e):e,e8=e=>"number"==typeof e||el.px.test(e);function e9(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let e6=te(0,.5,e2.Bn),e7=te(.5,.95,s.Z);function te(e,t,r){return i=>i<e?0:i>t?1:r((0,A.Y)(e,t,i))}function tt(e,t){e.min=t.min,e.max=t.max}function tr(e,t){tt(e.x,t.x),tt(e.y,t.y)}function ti(e,t,r,i,n){return e-=t,e=i+1/r*(e-i),void 0!==n&&(e=i+1/n*(e-i)),e}function tn(e,t,[r,i,n],o,s){!function(e,t=0,r=1,i=.5,n,o=e,s=e){if(el.aQ.test(t)&&(t=parseFloat(t),t=(0,E.C)(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let a=(0,E.C)(o.min,o.max,i);e===o&&(a-=t),e.min=ti(e.min,t,r,a,n),e.max=ti(e.max,t,r,a,n)}(e,t[r],t[i],t[n],t.scale,o,s)}let to=["x","scaleX","originX"],ts=["y","scaleY","originY"];function ta(e,t,r,i){tn(e.x,t,to,r?r.x:void 0,i?i.x:void 0),tn(e.y,t,ts,r?r.y:void 0,i?i.y:void 0)}function tl(e){return 0===e.translate&&1===e.scale}function tu(e){return tl(e.x)&&tl(e.y)}function tc(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function td(e){return R(e.x)/R(e.y)}var th=r(77081);class tp{constructor(){this.members=[]}add(e){(0,th.y4)(this.members,e),e.scheduleRender()}remove(e){if((0,th.cl)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let r=this.members.findIndex(t=>e===t);if(0===r)return!1;for(let e=r;e>=0;e--){let r=this.members[e];if(!1!==r.isPresent){t=r;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:i}=e.options;!1===i&&r.hide()}}
95exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function tf(e,t,r){let i="",n=e.x.translate/t.x,o=e.y.translate/t.y;if((n||o)&&(i=`translate3d(${n}px, ${o}px, 0) `),(1!==t.x||1!==t.y)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),r){let{rotate:e,rotateX:t,rotateY:n}=r;e&&(i+=`rotate(${e}deg) `),t&&(i+=`rotateX(${t}deg) `),n&&(i+=`rotateY(${n}deg) `)}let s=e.x.scale*t.x,a=e.y.scale*t.y;return(1!==s||1!==a)&&(i+=`scale(${s}, ${a})`),i||"none"}let tg=(e,t)=>e.depth-t.depth;class tm{constructor(){this.children=[],this.isDirty=!1}add(e){(0,th.y4)(this.children,e),this.isDirty=!0}remove(e){(0,th.cl)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(tg),this.isDirty=!1,this.children.forEach(e)}}var tv=r(18039),ty=r(74101),tb=r(65735);let tx=["","X","Y","Z"],tS={visibility:"hidden"},tk=0,tw={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function tC({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:i,resetTransform:n}){return class{constructor(e={},r=null==t?void 0:t()){this.id=tk++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,tw.totalNodes=tw.resolvedTargetDeltas=tw.recalculatedProjection=0,this.nodes.forEach(tL),this.nodes.forEach(t$),this.nodes.forEach(tj),this.nodes.forEach(tA),window.MotionDebug&&window.MotionDebug.record(tw)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new tm)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new e1.L),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:i,layout:n,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(n||i)&&(this.isLayoutDirty=!0),e){let r;let i=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){let r=performance.now(),i=({timestamp:n})=>{let o=n-r;o>=t&&((0,m.Pn)(i),e(o-t))};return m.Wi.read(i,!0),()=>(0,m.Pn)(i)}(i,250),eK.hasAnimatedSinceResize&&(eK.hasAnimatedSinceResize=!1,this.nodes.forEach(tO))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:r,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||o.getDefaultTransition()||tN,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!tc(this.targetLayout,i)||r,u=!t&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...ej(n,"layout"),onPlay:s,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||tO(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,m.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
95h(tI),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(tR);return}this.isUpdating||this.nodes.forEach(tZ),this.isUpdating=!1,this.nodes.forEach(tM),this.nodes.forEach(tP),this.nodes.forEach(tT),this.clearAllSnapshots();let e=performance.now();m.frameData.delta=(0,V.u)(0,1e3/60,e-m.frameData.timestamp),m.frameData.timestamp=e,m.frameData.isProcessing=!0,m.S6.update.process(m.frameData),m.S6.preRender.process(m.frameData),m.S6.render.process(m.frameData),m.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(tE),this.sharedNodes.forEach(tV)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,m.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){m.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=H(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:i(this.instance),offset:r(this.instance)})}resetTransform(){if(!n)return;let e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!tu(this.projectionDelta),r=this.getTransformTemplate(),i=r?r(this.latestValues,""):void 0,o=i!==this.prevTransformTemplateValue;e&&(t||Y(this.latestValues)||o)&&(n(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),i=this.removeElementScroll(r);return e&&(i=this.removeTransform(i)),t_((t=i).x),t_(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return H();let t=e.measureViewportBox(),{scroll:r}=this.root;return r&&(er(t.x,r.offset.x),er(t.y,r.offset.y)),t}removeElementScroll(e){let t=H();tr(t,e);for(let r=0;r<this.path.length;r++){let i=this.path[r],{scroll:n,options:o}=i;if(i!==this.root&&n&&o.layoutScroll){if(n.isRoot){tr(t,e);let{scroll:r}=this.root;r&&(er(t.x,-r.offset.x),er(t.y,-r.offset.y))}er(t.x,n.offset.x),er(t.y,n.offset.y)}}return t}applyTransform(e,t=!1){let r=H();tr(r,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&es(r,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),Y(i.latestValues)&&es(r,i.latestValues)}return Y(this.latestValues)&&es(r,this.latestValues),r}removeTransform(e){let t=H();tr(t,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];if(!r.instance||!Y(r.latestValues))continue;G(r.latestValues)&&r.updateSnapshot();let i=H();tr(i,r.measurePageBox()),ta(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,i)}return Y(this.latestValues)&&ta(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==m.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,r,i,n;let o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);let s=!!this.resumingFrom||this!==o;if(!(e||s&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=m.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=H(),this.relativeTargetOrigin=H(),I(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),tr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=H(),this.targetWithTransforms=H()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),r=this.target,i=this.relativeTarget,n=this.relativeParent.target,$(r.x,i.x,n.x),$(r.y,i.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):tr(this.target,this.layout.layoutBox),ee(this.target,this.targetDelta)):tr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=H(),this.relativeTargetOrigin=H(),I(this.relativeTargetOrigin,this.target,e.target),tr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}tw.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||G(this.parent.latestValues)||J(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),r=!!this.resumingFrom||this!==t,i=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(i=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===m.frameData.timestamp&&(i=!1),i)return;let{layout:n,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||o))return;tr(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,a=this.treeScale.y;!function(e,t,r,i=!1){let n,o;let s=r.length;if(s){t.x=t.y=1;for(let a=0;a<s;a++){o=(n=r[a]).projectionDelta;let s=n.instance;(!s||!s.style||"contents"!==s.style.display)&&(i&&n.options.layoutScroll&&n.scroll&&n!==n.root&&es(e,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,ee(e,o)),i&&Y(n.latestValues)&&es(e,n.latestValues))}t.x=et(t.x),t.y=et(t.y)}}(this.layoutCorrected,this.treeScale,this.path,r),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox);let{target:l}=t;if(!l){this.projectionTransform&&(this.projectionDelta=U(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=U(),this.projectionDeltaWithTransform=U());let u=this.projectionTransform;O(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=tf(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==s||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),tw.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){let r;let i=this.snapshot,n=i?i.latestValues:{},o={...this.latestValues},s=U();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=H(),l=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(tB));this.animationProgress=0,this.mixTargetDelta=t=>{let i=t/1e3;if(tD(s.x,e.x,i),tD(s.y,e.y,i),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,p,f;I(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,tF(p.x,f.x,a.x,i),tF(p.y,f.y,a.y,i),r&&(u=this.relativeTarget,h=r,u.x.min===h.x.min&&u.x.max===h.x.max&&u.y.min===
95h.y.min&&u.y.max===h.y.max)&&(this.isProjectionDirty=!1),r||(r=H()),tr(r,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,r,i,n,o){n?(e.opacity=(0,E.C)(0,void 0!==r.opacity?r.opacity:1,e6(i)),e.opacityExit=(0,E.C)(void 0!==t.opacity?t.opacity:1,0,e7(i))):o&&(e.opacity=(0,E.C)(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,i));for(let n=0;n<e3;n++){let o=`border${e5[n]}Radius`,s=e9(t,o),a=e9(r,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||e8(s)===e8(a)?(e[o]=Math.max((0,E.C)(e4(s),e4(a),i),0),(el.aQ.test(a)||el.aQ.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||r.rotate)&&(e.rotate=(0,E.C)(t.rotate||0,r.rotate||0,i))}(o,n,this.latestValues,i,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,m.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=m.Wi.update(()=>
95{eK.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,r){let i=(0,tb.i)(e)?e:(0,ty.BX)(e);return i.start(eI("",i,1e3,r)),i.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:i,latestValues:n}=e;if(t&&r&&i){if(this!==e&&this.layout&&i&&tH(this.options.animationType,this.layout.layoutBox,i.layoutBox)){r=this.target||H();let t=R(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let i=R(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+i}tr(t,r),es(t,n),O(this.projectionDeltaWithTransform,this.layoutCorrected,t,n)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new tp),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let i=this.getStack();i&&i.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.rotate||r.rotateX||r.rotateY||r.rotateZ)&&(t=!0),!t)return;let i={};for(let t=0;t<tx.length;t++){let n="rotate"+tx[t];r[n]&&(i[n]=r[n],e.setStaticValue(n,0))}for(let t in e.render(),i)e.setStaticValue(t,i[t]);e.scheduleRender()}getProjectionStyles(e){var t,r;if(!this.instance||this.isSVG)return;if(!this.isVisible)return tS;let i={visibility:""},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=(0,tv.b)(null==e?void 0:e.pointerEvents)||"",i.transform=n?n(this.latestValues,""):"none",i;let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,tv.b)(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!Y(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1),t}let s=o.animationValues||o.latestValues;this.applyTransformsToTarget(),i.transform=tf(this.projectionDeltaWithTransform,this.treeScale,s),n&&(i.transform=n(s,i.transform));let{x:a,y:l}=this.projectionDelta;for(let e in i.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?i.opacity=o===this?null!==(r=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:i.opacity=o===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,eJ.P){if(void 0===s[e])continue;let{correct:t,applyTo:r}=eJ.P[e],n="none"===i.transform?s[e]:t(s[e],o);if(r){let e=r.length;for(let t=0;t<e;t++)i[r[t]]=n}else i[e]=n}return this.options.layoutId&&(i.pointerEvents=o===this?(0,tv.b)(null==e?void 0:e.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
95resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(tR),this.root.sharedNodes.clear()}}}function tP(e){e.updateLayout()}function tT(e){var t;let r=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:i}=e.layout,{animationType:n}=e.options,o=r.source!==e.layout.source;"size"===n?q(e=>{let i=o?r.measuredBox[e]:r.layoutBox[e],n=R(i);i.min=t[e].min,i.max=i.min+n}):tH(n,r.layoutBox,t)&&q(i=>{let n=o?r.measuredBox[i]:r.layoutBox[i],s=R(t[i]);n.max=n.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[i].max=e.relativeTarget[i].min+s)});let s=U();O(s,t,r.layoutBox);let a=U();o?O(a,e.applyTransform(i,!0),r.measuredBox):O(a,t,r.layoutBox);let l=!tu(s),u=!1;if(!e.resumeFrom){let i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:n,layout:o}=i;if(n&&o){let s=H();I(s,r.layoutBox,n.layoutBox);let a=H();I(a,t,o.layoutBox),tc(s,a)||(u=!0),i.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=i)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:r,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function tL(e){tw.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function tA(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function tE(e){e.clearSnapshot()}function tR(e){e.clearMeasurements()}function tZ(e){e.isLayoutDirty=!1}function tM(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function tO(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function t$(e){e.resolveTargetDelta()}function tj(e){e.calcProjection()}function tI(e){e.resetRotation()}function tV(e){e.removeLeadSnapshot()}function tD(e,t,r){e.translate=(0,E.C)(t.translate,0,r),e.scale=(0,E.C)(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function tF(e,t,r,i){e.min=(0,E.C)(t.min,r.min,i),e.max=(0,E.C)(t.max,r.max,i)}function tB(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let tN={duration:.45,ease:[.4,0,.1,1]},tz=e=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(e),tU=tz("applewebkit/")&&!tz("chrome/")?Math.round:s.Z;function t_(e){e.min=tU(e.min),e.max=tU(e.max)}function tH(e,t,r){return"position"===e||"preserve-aspect"===e&&!Z(td(t),td(r),.2)}let tq=tC({attachResizeListener:(e,t)=>h(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),tW={current:void 0},tK=tC({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!tW.current){let e=new tq({});e.mount(window),e.setOptions({layoutScroll:!0}),tW.current=e}return tW.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});var tG=r(67866),tY=r(10363);function tJ(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let i=0;i<r;i++)if(t[i]!==e[i])return!1;return!0}var tX=r(13345),tQ=r(93331);function t0(e,t,r){let i=e.getProps();return(0,tQ.o)(i,t,void 0!==r?r:i.custom,function(e){let t={};return e.values.forEach((e,r)=>t[r]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,r)=>t[r]=e.getVelocity()),t}(e))}var t1=r(75247),t2=r(76348);function t5(e){return!!((0,tb.i)(e)&&e.add)}let t3=e=>/^\-?\d*\.?\d+$/.test(e);var t4=r(61832),t8=r(2980);let t9=e=>t=>t.test(e),t6=[t8.Rx,el.px,el.aQ,el.RW,el.vw,el.vh,{test:e=>"auto"===e,parse:e=>e}],t7=e=>t6.find(t9(e)),re=[...t6,eR.$,ew.P],rt=e=>re.find(t9(e));function rr(e,t,{delay:r=0,transitionOverride:i,type:n}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:s,...a}=e.makeTargetAnimatable(t),l=e.getValue("willChange");i&&(o=i);let u=[],c=n&&e.animationState&&e.animationState.getState()[n];for(let t in a){let i=e.getValue(t),n=a[t];if(!i||void 0===n||c&&function({protectedKeys:e,needsAnimating:t},r){let i=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,i}(c,t))continue;let s={delay:r,elapsed:0,...ej(o||{},t)};if(window.HandoffAppearAnimations){let r=e.getProps()[t2.M];if(r){let e=window.HandoffAppearAnimations(r,t,i,m.Wi);null!==e&&(s.elapsed=e,s.isHandoff=!0)}}let d=!s.isHandoff&&!function(e,t){let r=e.get();if(!Array.isArray(t))return r!==t;for(let e=0;e<t.length;e++)if(t[e]!==r)return!0}(i,n);if("spring"===s.type&&(i.getVelocity()||s.velocity)&&(d=!1),i.animation&&(d=!1),d)continue;i.start(eI(t,i,n,e.shouldReduceMotion&&ev.G.has(t)?{type:!1}:s));let h=i.animation;t5(l)&&(l.add(t),h.then(()=>l.remove(t))),u.push(h)}return s&&Promise.all(u).then(()=>{s&&function(e,t){let r=t0(e,t),{transitionEnd:i={},transition:n={},...o}=r?e.makeTargetAnimatable(r,!1):{};for(let t in o={...o,...i}){let r=(0,t4.Y)(o[t]);e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,(0,ty.BX)(r))}}(e,s)}),u}function ri(e,t,r={}){let i=t0(e,t,r.custom),{transition:n=e.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(n=r.transitionOverride);let o=i?()=>Promise.all(rr(e,i,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(i=0)=>{let{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=n;return function(e,t,r=0,i=0,n=1,o){let s=[],a=(e.variantChildren.size-1)*i,l=1===n?(e=0)=>e*i:(e=0)=>a-e*i;
95return Array.from(e.variantChildren).sort(rn).forEach((e,i)=>{e.notify("AnimationStart",t),s.push(ri(e,t,{...o,delay:r+l(i)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,o+i,s,a,r)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([o(),s(r.delay)]);{let[e,t]="beforeChildren"===a?[o,s]:[s,o];return e().then(()=>t())}}function rn(e,t){return e.sortNodePosition(t)}let ro=[...t1.e].reverse(),rs=t1.e.length;function ra(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class rl extends n{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t))i=Promise.all(t.map(t=>ri(e,t,r)));else if("string"==typeof t)i=ri(e,t,r);else{let n="function"==typeof t?t0(e,t,r.custom):t;i=Promise.all(rr(e,n,r))}return i.then(()=>e.notify("AnimationComplete",t))})(e,t,r))),r={animate:ra(!0),whileInView:ra(),whileHover:ra(),whileTap:ra(),whileDrag:ra(),whileFocus:ra(),exit:ra()},i=!0,n=(t,r)=>{let i=t0(e,r);if(i){let{transition:e,transitionEnd:r,...n}=i;t={...t,...n,...r}}return t};function o(o,s){let a=e.getProps(),l=e.getVariantContext(!0)||{},u=[],c=new Set,d={},h=1/0;for(let t=0;t<rs;t++){var p;let f=ro[t],g=r[f],m=void 0!==a[f]?a[f]:l[f],v=(0,tX.$)(m),y=f===s?g.isActive:null;!1===y&&(h=t);let b=m===l[f]&&m!==a[f]&&v;if(b&&i&&e.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...d},!g.isActive&&null===y||!m&&!g.prevProp||(0,tG.H)(m)||"boolean"==typeof m)continue;let x=(p=g.prevProp,"string"==typeof m?m!==p:!!Array.isArray(m)&&!tJ(m,p)),S=x||f===s&&g.isActive&&!b&&v||t>h&&v,k=Array.isArray(m)?m:[m],w=k.reduce(n,{});!1===y&&(w={});let{prevResolvedValues:C={}}=g,P={...C,...w},T=e=>{S=!0,c.delete(e),g.needsAnimating[e]=!0};for(let e in P){let t=w[e],r=C[e];d.hasOwnProperty(e)||(t!==r?(0,tY.C)(t)&&(0,tY.C)(r)?!tJ(t,r)||x?T(e):g.protectedKeys[e]=!0:void 0!==t?T(e):c.add(e):void 0!==t&&c.has(e)?T(e):g.protectedKeys[e]=!0)}g.prevProp=m,g.prevResolvedValues=w,g.isActive&&(d={...d,...w}),i&&e.blockInitialAnimation&&(S=!1),S&&!b&&u.push(...k.map(e=>({animation:e,options:{type:f,...o}})))}if(c.size){let t={};
95c.forEach(r=>{let i=e.getBaseTarget(r);void 0!==i&&(t[r]=i)}),u.push({animation:t})}let f=!!u.length;return i&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(f=!1),i=!1,f?t(u):Promise.resolve()}return{animateChanges:o,setActive:function(t,i,n){var s;if(r[t].isActive===i)return Promise.resolve();null===(s=e.variantChildren)||void 0===s||s.forEach(e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,i)}),r[t].isActive=i;let a=o(n,t);for(let e in r)r[e].protectedKeys={};return a},setAnimateFunction:function(r){t=r(e)},getState:()=>r}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),(0,tG.H)(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}let ru=0;class rc extends n{constructor(){super(...arguments),this.id=ru++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t,custom:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;let n=this.node.animationState.setActive("exit",!e,{custom:null!=r?r:this.node.getProps().custom});t&&!e&&n.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}function rd(e,t){let r="onHover"+(t?"Start":"End");return p(e.current,"pointer"+(t?"enter":"leave"),(i,n)=>{if("touch"===i.type||T())return;let o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[r]&&m.Wi.update(()=>o[r](i,n))},{passive:!e.getProps()[r]})}class rh extends n{mount(){this.unmount=(0,f.z)(rd(this.node,!0),rd(this.node,!1))}unmount(){}}class rp extends n{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,f.z)(h(this.node.current,"focus",()=>this.onFocus()),h(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let rf=(e,t)=>!!t&&(e===t||rf(e,t.parentElement));function rg(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,u(r))}class rm extends n{constructor(){super(...arguments),this.removeStartListeners=s.Z,this.removeEndListeners=s.Z,this.removeAccessibleListeners=s.Z,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;let r=this.node.getProps(),i=p(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:i}=this.node.getProps();m.Wi.update(()=>{rf(this.node.current,e.target)?r&&r(e,t):i&&i(e,t)})},{passive:!(r.onTap||r.onPointerUp)}),n=p(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=(0,f.z)(i,n),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=h(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=h(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&rg("up",(e,t)=>{let{onTap:r}=this.node.getProps();r&&m.Wi.update(()=>r(e,t))})}),rg("down",(e,t)=>{this.startPress(e,t)}))}),t=h(this.node.current,"blur",()=>{this.isPressing&&rg("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=(0,f.z)(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&m.Wi.update(()=>r(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!T()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&m.Wi.update(()=>r(e,t))}mount(){let e=this.node.getProps(),t=p(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=h(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,f.z)(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}
95let rv=new WeakMap,ry=new WeakMap,rb=e=>{let t=rv.get(e.target);t&&t(e)},rx=e=>{e.forEach(rb)},rS={some:0,all:1};class rk extends n{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:i="some",once:n}=e,o={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof i?i:rS[i]};return function(e,t,r){let i=function({root:e,...t}){let r=e||document;ry.has(r)||ry.set(r,{});let i=ry.get(r),n=JSON.stringify(t);return i[n]||(i[n]=new IntersectionObserver(rx,{root:e,...t})),i[n]}(t);return rv.set(e,r),i.observe(e),()=>{rv.delete(e),i.unobserve(e)}}(this.node.current,o,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,n&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:i}=this.node.getProps(),o=t?r:i;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}var rw=r(40458),rC=r(80417),rP=r(63495),rT=r(82449);let rL=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function rA(e,t,r=1){(0,a.k)(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[i,n]=function(e){let t=rL.exec(e);if(!t)return[,];let[,r,i]=t;return[r,i]}(e);if(!i)return;let o=window.getComputedStyle(t).getPropertyValue(i);if(o){let e=o.trim();return t3(e)?parseFloat(e):e}return(0,rC.tm)(n)?rA(n,t,r+1):n}var rE=r(16613);let rR=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),rZ=e=>rR.has(e),rM=e=>Object.keys(e).some(rZ),rO=e=>e===t8.Rx||e===el.px,r$=(e,t)=>parseFloat(e.split(", ")[t]),rj=(e,t)=>(r,{transform:i})=>{if("none"===i||!i)return 0;let n=i.match(/^matrix3d\((.+)\)$/);if(n)return r$(n[1],t);{let t=i.match(/^matrix\((.+)\)$/);return t?r$(t[1],e):0}},rI=new Set(["x","y","z"]),rV=ev._.filter(e=>!rI.has(e)),rD={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:rj(4,13),y:rj(5,14)};rD.translateX=rD.x,rD.translateY=rD.y;let rF=(e,t,r)=>{let i=t.measureViewportBox(),n=t.current,o=getComputedStyle(n),{display:s}=o,a={};"none"===s&&t.setStaticValue("display",e.display||"block"),r.forEach(e=>{a[e]=rD[e](i,o)}),t.render();let l=t.measureViewportBox();return r.forEach(r=>{let i=t.getValue(r);i&&i.jump(a[r]),e[r]=rD[r](l,o)}),e},rB=(e,t,r={},i={})=>{t={...t},i={...i};let n=Object.keys(t).filter(rZ),o=[],s=!1,l=[];if(n.forEach(n=>{let u;let c=e.getValue(n);if(!e.hasValue(n))return;let d=r[n],h=t7(d),p=t[n];if((0,tY.C)(p)){let e=p.length,t=null===p[0]?1:0;h=t7(d=p[t]);for(let r=t;r<e&&null!==p[r];r++)u?(0,a.k)(t7(p[r])===u,"All keyframes must be of the same type"):(u=t7(p[r]),(0,a.k)(u===h||rO(h)&&rO(u),"Keyframes must be of the same dimension as the current value"))}else u=t7(p);if(h!==u){if(rO(h)&&rO(u)){let e=c.get();"string"==typeof e&&c.set(parseFloat(e)),"string"==typeof p?t[n]=parseFloat(p):Array.isArray(p)&&u===el.px&&(t[n]=p.map(parseFloat))}else(null==h?void 0:h.transform)&&(null==u?void 0:u.transform)&&(0===d||0===p)?0===d?c.set(u.transform(d)):t[n]=h.transform(p):(s||(o=function(e){let t=[];return rV.forEach(r=>{let i=e.getValue(r);void 0!==i&&(t.push([r,i.get()]),i.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),s=!0),l.push(n),i[n]=void 0!==i[n]?i[n]:t[n],c.jump(p))}}),!l.length)return{target:t,transitionEnd:i};{let r=l.indexOf("height")>=0?window.pageYOffset:null,n=rF(t,e,l);return o.length&&o.forEach(([t,r])=>{e.getValue(t).set(r)}),e.render(),rE.j&&null!==r&&window.scrollTo({top:r}),{target:n,transitionEnd:i}}},rN=(e,t,r,i)=>{var n,o;let s=function(e,{...t},r){let i=e.current;if(!(i instanceof Element))return{target:t,transitionEnd:r};for(let n in r&&(r={...r}
95),e.values.forEach(e=>{let t=e.get();if(!(0,rC.tm)(t))return;let r=rA(t,i);r&&e.set(r)}),t){let e=t[n];if(!(0,rC.tm)(e))continue;let o=rA(e,i);o&&(t[n]=o,r||(r={}),void 0===r[n]&&(r[n]=e))}return{target:t,transitionEnd:r}}(e,t,i);return t=s.target,i=s.transitionEnd,n=t,o=i,rM(n)?rB(e,n,r,o):{target:n,transitionEnd:o}},rz={current:null},rU={current:!1};var r_=r(76049),rH=r(9001);let rq=new WeakMap,rW=Object.keys(rH.A),rK=rW.length,rG=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],rY=t1.V.length;class rJ{constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:i,visualState:n},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>m.Wi.render(this.render,!1,!0);let{latestValues:s,renderState:a}=n;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=a,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=o,this.isControllingVariants=(0,r_.G)(t),this.isVariantNode=(0,r_.M)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(t,{});for(let e in u){let t=u[e];void 0!==s[e]&&(0,tb.i)(t)&&(t.set(s[e],!1),t5(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,rq.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),rU.current||function(){if(rU.current=!0,rE.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>rz.current=e.matches;e.addListener(t),t()}else rz.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||rz.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in rq.delete(this.current),this.projection&&this.projection.unmount(),(0,m.Pn)(this.notifyUpdate),(0,m.Pn)(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){let r=ev.G.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&m.Wi.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),n=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{i(),n()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},r,i,n){let o,s;for(let e=0;e<rK;e++){let r=rW[e],{isEnabled:i,Feature:n,ProjectionNode:a,MeasureLayout:l}=rH.A[r];a&&(o=a),i(t)&&(!this.features[r]&&n&&(this.features[r]=new n(this)),l&&(s=l))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);let{layoutId:e,layout:r,drag:i,dragConstraints:s,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:r,alwaysMeasureLayout:!!i||s&&(0,L.I)(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:n,layoutScroll:a,layoutRoot:l})}return s}updateFeatures(){for(let e in this.features){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):H()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<rG.length;t++){let r=rG[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let i=e["on"+r];i&&(this.propEventSubscriptions[r]=this.on(r,i))}this.prevMotionValues=function(e,t,r){let{willChange:i}=t;
95for(let n in t){let o=t[n],s=r[n];if((0,tb.i)(o))e.addValue(n,o),t5(i)&&i.add(n);else if((0,tb.i)(s))e.addValue(n,(0,ty.BX)(o,{owner:e})),t5(i)&&i.remove(n);else if(s!==o){if(e.hasValue(n)){let t=e.getValue(n);t.hasAnimated||t.set(o)}else{let t=e.getStaticValue(n);e.addValue(n,(0,ty.BX)(void 0!==t?t:o,{owner:e}))}}}for(let i in r)void 0===t[i]&&e.removeValue(i);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;e<rY;e++){let r=t1.V[e],i=this.props[r];((0,tX.$)(i)||!1===i)&&(t[r]=i)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=(0,ty.BX)(t,{owner:this}),this.addValue(e,r)),r}readValue(e){var t;return void 0===this.latestValues[e]&&this.current?null!==(t=this.getBaseTargetFromProps(this.props,e))&&void 0!==t?t:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:r}=this.props,i="string"==typeof r||"object"==typeof r?null===(t=(0,tQ.o)(this.props,r))||void 0===t?void 0:t[e]:void 0;if(r&&void 0!==i)return i;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||(0,tb.i)(n)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new e1.L),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class rX extends rJ{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...r},{transformValues:i},n){let o=function(e,t,r){let i={};for(let n in e){let e=function(e,t){if(t)return(t[e]||t.default||t).from}(n,t);if(void 0!==e)i[n]=e;else{let e=r.getValue(n);e&&(i[n]=e.get())}}return i}(r,e||{},this);if(i&&(t&&(t=i(t)),r&&(r=i(r)),o&&(o=i(o))),n){!function(e,t,r){var i,n;let o=Object.keys(t).filter(t=>!e.hasValue(t)),s=o.length;if(s)for(let a=0;a<s;a++){let s=o[a],l=t[s],u=null;Array.isArray(l)&&(u=l[0]),null===u&&(u=null!==(n=null!==(i=r[s])&&void 0!==i?i:e.readValue(s))&&void 0!==n?n:t[s]),null!=u&&("string"==typeof u&&(t3(u)||e$(u))?u=parseFloat(u):!rt(u)&&ew.P.test(l)&&(u=eO(s,l)),e.addValue(s,(0,ty.BX)(u,{owner:e})),void 0===r[s]&&(r[s]=u),null!==u&&e.setBaseTarget(s,u))}}(this,r,o);let e=rN(this,r,o,t);t=e.transitionEnd,r=e.target}return{transition:e,transitionEnd:t,...r}}}class rQ extends rX{readValueFromInstance(e,t){if(ev.G.has(t)){let e=eM(t);return e&&e.default||0}{let r=window.getComputedStyle(e),i=((0,rC.f9)(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:t}){return ea(e,t)}build(e,t,r,i){(0,rw.r)(e,t,r,i.transformTemplate)}scrapeMotionValuesFromProps(e,t){return(0,rP.U)(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,tb.i)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}
95renderInstance(e,t,r,i){(0,rT.N)(e,t,r,i)}}var r0=r(75625),r1=r(1524),r2=r(27905),r5=r(70888),r3=r(58239),r4=r(30922);class r8 extends rX{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(ev.G.has(t)){let e=eM(t);return e&&e.default||0}return t=r5.s.has(t)?t:(0,r2.D)(t),e.getAttribute(t)}measureInstanceViewportBox(){return H()}scrapeMotionValuesFromProps(e,t){return(0,r0.U)(e,t)}build(e,t,r,i){(0,r1.i)(e,t,r,this.isSVGTag,i.transformTemplate)}renderInstance(e,t,r,i){(0,r3.K)(e,t,r,i)}mount(e){this.isSVGTag=(0,r4.a)(e.tagName),super.mount(e)}}var r9=r(20468);let r6={renderer:(e,t)=>(0,r9.q)(e)?new r8(t,{enableHardwareAcceleration:!1}):new rQ(t,{enableHardwareAcceleration:!0}),animation:{Feature:rl},exit:{Feature:rc},inView:{Feature:rk},tap:{Feature:rm},focus:{Feature:rp},hover:{Feature:rh},pan:{Feature:eU},drag:{Feature:eN,ProjectionNode:tK,MeasureLayout:eQ},layout:{ProjectionNode:tK,MeasureLayout:eQ}}},56334:function(e,t,r){"use strict";r.d(t,{Z:function(){return w}});var i=r(49034),n=r(88755),o=[],s=o.forEach,a=o.slice,l=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,u=function(e,t,r){var i=r||{};i.path=i.path||"/";var n=encodeURIComponent(t),o="".concat(e,"=").concat(n);if(i.maxAge>0){var s=i.maxAge-0;if(Number.isNaN(s))throw Error("maxAge should be a Number");o+="; Max-Age=".concat(Math.floor(s))}if(i.domain){if(!l.test(i.domain))throw TypeError("option domain is invalid");o+="; Domain=".concat(i.domain)}if(i.path){if(!l.test(i.path))throw TypeError("option path is invalid");o+="; Path=".concat(i.path)}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw TypeError("option expires is invali
95d");o+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(o+="; HttpOnly"),i.secure&&(o+="; Secure"),i.sameSite)switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:case"strict":o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"none":o+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return o},c={create:function(e,t,r,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};r&&(n.expires=new Date,n.expires.setTime(n.expires.getTime()+6e4*r)),i&&(n.domain=i),document.cookie=u(e,encodeURIComponent(t),n)},read:function(e){for(var t="".concat(e,"="),r=document.cookie.split(";"),i=0;i<r.length;i++){for(var n=r[i];" "===n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(t))return n.substring(t.length,n.length)}return null},remove:function(e){this.create(e,"",-1)}},d={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var r=c.read(e.lookupCookie);r&&(t=r)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&c.create(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},h={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window){var r=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1).split("&"),n=0;n<i.length;n++){var o=i[n].indexOf("=");o>0&&i[n].substring(0,o)===e.lookupQuerystring&&(t=i[n].substring(o+1))}}return t}},p=null,f=function(){if(null!==p)return p;try{p="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){p=!1}return p},g={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&f()){var r=window.localStorage.getItem(e.lookupLocalStorage);r&&(t=r)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&f()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},m=null,v=function(){if(null!==m)return m;try{m="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){m=!1}return m},y={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&v()){var r=window.sessionStorage.getItem(e.lookupSessionStorage);r&&(t=r)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&v()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},b={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var r=0;r<navigator.languages.length;r++)t.push(navigator.languages[r]);navigator.userLanguage&&t.push(navigator.userLanguage),navigator.language&&t.push(navigator.language)}return t.length>0?t:void 0}},x={name:"htmlTag",lookup:function(e){var t,r=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return r&&"function"==typeof r.getAttribute&&(t=r.getAttribute("lang")),t}},S={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array){if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof r[e.lookupFromPathIndex])return;t=r[e.lookupFromPathIndex].replace("/","")}else t=r[0].replace("/","")}}return t}},k={name:"subdomain",lookup:function(e){var t="number"==typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,r="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[t]}},w=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.Z)(this,e),this.type="languageDetector",this.detectors={},this.init(t,r)}return(0,n.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e||{languageUtils:{}}
95,this.options=function(e){return s.call(a.call(arguments,1),function(t){if(t)for(var r in t)void 0===e[r]&&(e[r]=t[r])}),e}(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(e){return e}}),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(e){return e.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(d),this.addDetector(h),this.addDetector(g),this.addDetector(y),this.addDetector(b),this.addDetector(x),this.addDetector(S),this.addDetector(k)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var r=[];return(e.forEach(function(e){if(t.detectors[e]){var i=t.detectors[e].lookup(t.options);i&&"string"==typeof i&&(i=[i]),i&&(r=r.concat(i))}}),r=r.map(function(e){return t.options.convertDetectedLanguage(e)}),this.services.languageUtils.getBestMatchFromCodes)?r:r.length>0?r[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var r=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach(function(t){r.detectors[t]&&r.detectors[t].cacheUserLanguage(e,r.options)}))}}]),e}();w.type="languageDetector"},33968:function(e,t,r){"use strict";r.d(t,{ZP:function(){return F}});let i={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class n{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||i,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,r,i){return i&&!this.debug?null:("string"==typeof e[0]&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new n(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new n(this.logger,e)}}var o=new n;class s{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]=this.observers[e]||[],this.observers[e].push(t)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e]=this.observers[e].filter(e=>e!==t)}}emit(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];this.observers[e]&&[].concat(this.observers[e]).forEach(e=>{e(...r)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(t=>{t.apply(t,[e,...r])})}}function a(){let e,t;let r=new Promise((r,i)=>{e=r,t=i});return r.resolve=e,r.reject=t,r}function l(e){return null==e?"":""+e}function u(e,t,r){function i(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function n(){return!e||"string"==typeof e}let o="string"!=typeof t?[].concat(t):t.split(".");for(;o.length>1;){if(n())return{};let t=i(o.shift());!e[t]&&r&&(e[t]=new r),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{}}return n()?{}:{obj:e,k:i(o.shift())}}function c(e,t,r){let{obj:i,k:n}=u(e,t,Object);i[n]=r}function d(e,t){let{obj:r,k:i}=u(e,t);if(r)return r[i]}function h(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var p={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function f(e){return"string"==typeof e?e.replace(/[&<>
95"'\/]/g,e=>p[e]):e}let g=[" ",",","?","!",";"];function m(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];let i=t.split(r),n=e;for(let e=0;e<i.length;++e){if(!n||"string"==typeof n[i[e]]&&e+1<i.length)return;if(void 0===n[i[e]]){let o=2,s=i.slice(e,e+o).join(r),a=n[s];for(;void 0===a&&i.length>e+o;)o++,a=n[s=i.slice(e,e+o).join(r)];if(void 0===a)return;if(null===a)return null;if(t.endsWith(s)){if("string"==typeof a)return a;if(s&&"string"==typeof a[s])return a[s]}let l=i.slice(e+o).join(r);if(l)return m(a,l,r);return}n=n[i[e]]}return n}function v(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class y extends s{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,o=void 0!==i.ignoreJSONStructure?i.ignoreJSONStructure:this.options.ignoreJSONStructure,s=[e,t];r&&"string"!=typeof r&&(s=s.concat(r)),r&&"string"==typeof r&&(s=s.concat(n?r.split(n):r)),e.indexOf(".")>-1&&(s=e.split("."));let a=d(this.data,s);return a||!o||"string"!=typeof r?a:m(this.data&&this.data[e]&&this.data[e][t],r,n)}addResource(e,t,r,i){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,s=[e,t];r&&(s=s.concat(o?r.split(o):r)),e.indexOf(".")>-1&&(s=e.split("."),i=t,t=s[1]),this.addNamespaces(t),c(this.data,s,i),n.silent||this.emit("added",e,t,r,i)}addResources(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(let i in r)("string"==typeof r[i]||"[object Array]"===Object.prototype.toString.apply(r[i]))&&this.addResource(e,t,i,r[i],{silent:!0});i.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,i,n){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},s=[e,t];e.indexOf(".")>-1&&(s=e.split("."),i=r,r=t,t=s[1]),this.addNamespaces(t);let a=d(this.data,s)||{};i?function e(t,r,i){for(let n in r)"__proto__"!==n&&"constructor"!==n&&(n in t?"string"==typeof t[n]||t[n]instanceof String||"string"==typeof r[n]||r[n]instanceof String?i&&(t[n]=r[n]):e(t[n],r[n],i):t[n]=r[n]);return t}(a,r,n):a={...a,...r},c(this.data,s,a),o.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var b={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,i,n){return e.forEach(e=>{this.processors[e]&&(t=this.processors[e].process(t,r,i,n))}),t}};let x={};class S extends s{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),function(e,t,r){e.forEach(e=>{t[e]&&(r[e]=t[e])})}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
95i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=o.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;let r=this.resolve(e,t);return r&&void 0!==r.res}extractFromKey(e,t){let r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");let i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,n=t.ns||this.options.defaultNS||[],o=r&&e.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,r){t=t||"",r=r||"";let i=g.filter(e=>0>t.indexOf(e)&&0>r.indexOf(e));if(0===i.length)return!0;let n=RegExp(`(${i.map(e=>"?"===e?"\\?":e).join("|")})`),o=!n.test(e);if(!o){let t=e.indexOf(r);t>0&&!n.test(e.substring(0,t))&&(o=!0)}return o}(e,r,i);if(o&&!s){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:n};let o=e.split(r);(r!==i||r===i&&this.options.ns.indexOf(o[0])>-1)&&(n=o.shift()),e=o.join(i)}return"string"==typeof n&&(n=[n]),{key:e,namespaces:n}}translate(e,t,r){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);let i=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,n=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:o,namespaces:s}=this.extractFromKey(e[e.length-1],t),a=s[s.length-1],l=t.lng||this.language,u=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(u){let e=t.nsSeparator||this.options.nsSeparator;return i?{res:`${a}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:a,usedParams:this.getUsedParamsDetails(t)}:`${a}${e}${o}`}return i?{res:o,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:a,usedParams:this.getUsedParamsDetails(t)}:o}let c=this.resolve(e,t),d=c&&c.res,h=c&&c.usedKey||o,p=c&&c.exactUsedKey||o,f=Object.prototype.toString.apply(d),g=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,m=!this.i18nFormat||this.i18nFormat.handleAsObject,v="string"!=typeof d&&"boolean"!=typeof d&&"number"!=typeof d;if(m&&d&&v&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(f)&&!("string"==typeof g&&"[object Array]"===f)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,d,{...t,ns:s}):`key '${o} (${this.language})' returned an object instead of string.`;return i?(c.res=e,c.usedParams=this.getUsedParamsDetails(t),c):e}if(n){let e="[object Array]"===f,r=e?[]:{},i=e?p:h;for(let e in d)if(Object.prototype.hasOwnProperty.call(d,e)){let o=`${i}${n}${e}`;r[e]=this.translate(o,{...t,joinArrays:!1,ns:s}),r[e]===o&&(r[e]=d[e])}d=r}}else if(m&&"string"==typeof g&&"[object Array]"===f)(d=d.join(g))&&(d=this.extendTranslation(d,e,t,r));else{let i=!1,s=!1,u=void 0!==t.count&&"string"!=typeof t.count,h=S.hasDefaultValue(t),p=u?this.pluralResolver.getSuffix(l,t.count,t):"",f=t.ordinal&&u?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",g=t[`defaultValue${p}`]||t[`defaultValue${f}`]||t.defaultValue;!this.isValidLookup(d)&&h&&(i=!0,d=g),this.isValidLookup(d)||(s=!0,d=o);let m=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&s?void 0:d,v=h&&g!==d&&this.options.updateMissing;if(s||i||v){if(this.logger.log(v?"updateKey":"missingKey",l,a,o,v?g:d),n){let e=this.resolve(o,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],r=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&r&&r[0])for(let t=0;t<r.length;t++)e.push(r[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);let i=(e,r,i)=>{let n=h&&i!==d?i:m;this.options.missingKeyHandler?this.options.missingKeyHandler(e,a,r,n,v,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,a,r,n,v,t),this.emit
95("missingKey",e,a,r,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&u?e.forEach(e=>{this.pluralResolver.getSuffixes(e,t).forEach(r=>{i([e],o+r,t[`defaultValue${r}`]||g)})}):i(e,o,g))}d=this.extendTranslation(d,e,t,c,r),s&&d===o&&this.options.appendNamespaceToMissingKey&&(d=`${a}:${o}`),(s||i)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${a}:${o}`:o,i?d:void 0):this.options.parseMissingKeyHandler(d))}return i?(c.res=d,c.usedParams=this.getUsedParamsDetails(t),c):d}extendTranslation(e,t,r,i,n){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){let s;r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});let a="string"==typeof e&&(r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(a){let t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let l=r.replace&&"string"!=typeof r.replace?r.replace:r;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,r.lng||this.language,r),a){let t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(r.nest=!1)}!r.lng&&"v1"!==this.options.compatibilityAPI&&i&&i.res&&(r.lng=i.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,i=Array(e),s=0;s<e;s++)i[s]=arguments[s];return n&&n[0]===i[0]&&!r.context?(o.logger.warn(`It seems you are nesting recursively key: ${i[0]} in key: ${t[0]}`),null):o.translate(...i,t)},r)),r.interpolation&&this.interpolator.reset()}let s=r.postProcess||this.options.postProcess,a="string"==typeof s?[s]:s;return null!=e&&a&&a.length&&!1!==r.applyPostProcessor&&(e=b.handle(a,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e){let t,r,i,n,o,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(t))return;let a=this.extractFromKey(e,s),l=a.key;r=l;let u=a.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));let c=void 0!==s.count&&"string"!=typeof s.count,d=c&&!s.ordinal&&0===s.count&&this.pluralResolver.shouldUseIntlApi(),h=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,p=s.lngs?s.lngs:this.languageUtils.toResolveHierarchy(s.lng||this.language,s.fallbackLng);u.forEach(e=>{this.isValidLookup(t)||(o=e,!x[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(x[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(r=>{let o;if(this.isValidLookup(t))return;n=r;let a=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(a,l,r,e,s);else{let e;c&&(e=this.pluralResolver.getSuffix(r,s.count,s));let t=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(a.push(l+e),s.ordinal&&0===e.indexOf(i)&&a.push(l+e.replace(i,this.options.pluralSeparator)),d&&a.push(l+t)),h){let r=`${l}${this.options.contextSeparator}
95${s.context}`;a.push(r),c&&(a.push(r+e),s.ordinal&&0===e.indexOf(i)&&a.push(r+e.replace(i,this.options.pluralSeparator)),d&&a.push(r+t))}}for(;o=a.pop();)this.isValidLookup(t)||(i=o,t=this.getResource(r,e,o,s))}))})}),{res:t,usedKey:r,exactUsedKey:i,usedLng:n,usedNS:o}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,r,i):this.resourceStore.getResource(e,t,r,i)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.replace&&"string"!=typeof e.replace,r=t?e.replace:e;if(t&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!t)for(let e of(r={...r},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete r[e];return r}static hasDefaultValue(e){let t="defaultValue";for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&void 0!==e[r])return!0;return!1}}function k(e){return e.charAt(0).toUpperCase()+e.slice(1)}class w{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=o.create("languageUtils")}getScriptPartFromCode(e){if(!(e=v(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=v(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){let t=["hans","hant","latn","cyrl","cans","mong","arab"],r=e.split("-");return this.options.lowerCaseLng?r=r.map(e=>e.toLowerCase()):2===r.length?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=k(r[1].toLowerCase()))):3===r.length&&(r[0]=r[0].toLowerCase(),2===r[1].length&&(r[1]=r[1].toUpperCase()),"sgn"!==r[0]&&2===r[2].length&&(r[2]=r[2].toUpperCase()),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=k(r[1].toLowerCase())),t.indexOf(r[2].toLowerCase())>-1&&(r[2]=k(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let r=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(r))&&(t=r)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>{if(e===r||!(0>e.indexOf("-")&&0>r.indexOf("-"))&&0===e.indexOf(r))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){let r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],n=e=>{e&&(this.isSupportedCode(e)?i.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&n(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&n(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&n(this.getLanguagePartFromCode(e))):"string"==typeof e&&n(this.formatLanguageCode(e)),r.forEach(e
vendor: 3,301 bytes, line 95
95=>{0>i.indexOf(e)&&n(this.formatLanguageCode(e))}),i}}let C=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],P={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},T=["v1","v2","v3"],L=["v4"],A={zero:0,one:1,two:2,few:3,many:4,other:5};class E{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=o.create("pluralResolver"),(!this.options.compatibilityJSON||L.includes(this.options.compatibilityJSON))&&("undefined"==typeof Intl||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){let e={};
95return C.forEach(t=>{t.lngs.forEach(r=>{e[r]={numbers:t.nr,plurals:P[t.fc]}})}),e}()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(v(e),{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,t);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,r).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,t);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((e,t)=>A[e]-A[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):r.numbers.map(r=>this.getSuffix(e,r,t)):[]}getSuffix(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this.getRule(e,r);return i?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(t)}`:this.getSuffixRetroCompatible(i,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){let r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),i=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===i?i="plural":1===i&&(i=""));let n=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?`_plural_${i.toString()}`:n():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?n():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}
95shouldUseIntlApi(){return!T.includes(this.options.compatibilityJSON)}}function R(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",n=!(arguments.length>4)||void 0===arguments[4]||arguments[4],o=function(e,t,r){let i=d(e,r);return void 0!==i?i:d(t,r)}(e,t,r);return!o&&n&&"string"==typeof r&&void 0===(o=m(e,r,i))&&(o=m(t,r,i)),o}class Z{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=o.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});let t=e.interpolation;this.escape=void 0!==t.escape?t.escape:f,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?h(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?h(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?h(t.nestingPrefix):t.nestingPrefixEscaped||h("$t("),this.nestingSuffix=t.nestingSuffix?h(t.nestingSuffix):t.nestingSuffixEscaped||h(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=`${this.prefix}(.+?)${this.suffix}`;this.regexp=RegExp(e,"g");let t=`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;this.regexpUnescape=RegExp(t,"g");let r=`${this.nestingPrefix}(.+?)${this.nestingSuffix}`;this.nestingRegexp=RegExp(r,"g")}interpolate(e,t,r,i){let n,o,s;let a=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}let c=e=>{if(0>e.indexOf(this.formatSeparator)){let n=R(t,a,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(n,void 0,r,{...i,...t,interpolationkey:e}):n}let n=e.split(this.formatSeparator),o=n.shift().trim(),s=n.join(this.formatSeparator).trim();return this.format(R(t,a,o,this.options.keySeparator,this.options.ignoreJSONStructure),s,r,{...i,...t,interpolationkey:o})};this.resetRegExp();let d=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,h=i&&i.interpolation&&void 0!==i.interpolation.skipOnVariables?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>u(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?u(this.escape(e)):u(e)}].forEach(t=>{for(s=0;n=t.regex.exec(e);){let r=n[1].trim();if(void 0===(o=c(r))){if("function"==typeof d){let t=d(e,n,i);o="string"==typeof t?t:""}else if(i&&Object.prototype.hasOwnProperty.call(i,r))o="";else if(h){o=n[0];continue}else this.logger.warn(`missed to pass in variable ${r} for interpolating ${e}`),o=""}else"string"==typeof o||this.useRawValueToEscape||(o=l(o));let a=t.safeValue(o);if(e=e.replace(n[0],a),h?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=n[0].length):t.regex.lastIndex=0,++s>=this.maxReplaces)break}}),e}nest(e,t){let r,i,n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function s(e,t){let r=this.nestingOptionsSeparator;if(0>e.indexOf(r))return e;let i=e.split(RegExp(`${r}[ ]*{`)),o=`{${i[1]}`;e=i[0];let s=(o=this.interpolate(o,n)).match(/'/g),a=o.match(/"/g);(s&&s.length%2==0&&!a||a.length%2!=0)&&(o=o.replace(/'/g,'"'));try{n=JSON.parse(o),t&&(n={...t,...n})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${r}${o}`}return delete n.defaultValue,e}for(;r=this.nestingRegexp.exec(e);){let a=[];(n=(n={...o}).replace&&"string"!=typeof n.replace?n.replace:n).applyPostProcessor=!1,delete n.defaultValue;let u=!1;if(-1!==r[0].indexOf(this.formatSeparator)&&!/{.*}/.test(r[1])){let e=r[1].split(this.formatSeparator).map(e=>e.trim());r[1]=e.shift(),a=e,u=!0}if((i=t(s.call(this,r[1].trim(),n),n))&&r[0]===e&&"string"!=typeof i)return i;"string"!=typeof i&&(i=l(i)),i||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),i=""),u&&(i=a.reduce((e,t)=>
95this.format(e,t,o.lng,{...o,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}}function M(e){let t={};return function(r,i,n){let o=i+JSON.stringify(n),s=t[o];return s||(s=e(v(i),n),t[o]=s),s(r)}}class O{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=o.create("formatter"),this.options=e,this.formats={number:M((e,t)=>{let r=new Intl.NumberFormat(e,{...t});return e=>r.format(e)}),currency:M((e,t)=>{let r=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>r.format(e)}),datetime:M((e,t)=>{let r=new Intl.DateTimeFormat(e,{...t});return e=>r.format(e)}),relativetime:M((e,t)=>{let r=new Intl.RelativeTimeFormat(e,{...t});return e=>r.format(e,t.range||"day")}),list:M((e,t)=>{let r=new Intl.ListFormat(e,{...t});return e=>r.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},r=t.interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=M(t)}format(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce((e,t)=>{let{formatName:n,formatOptions:o}=function(e){let t=e.toLowerCase().trim(),r={};if(e.indexOf("(")>-1){let i=e.split("(");t=i[0].toLowerCase().trim();let n=i[1].substring(0,i[1].length-1);"currency"===t&&0>n.indexOf(":")?r.currency||(r.currency=n.trim()):"relativetime"===t&&0>n.indexOf(":")?r.range||(r.range=n.trim()):n.split(";").forEach(e=>{if(!e)return;let[t,...i]=e.split(":"),n=i.join(":").trim().replace(/^'+|'+$/g,"");r[t.trim()]||(r[t.trim()]=n),"false"===n&&(r[t.trim()]=!1),"true"===n&&(r[t.trim()]=!0),isNaN(n)||(r[t.trim()]=parseInt(n,10))})}return{formatName:t,formatOptions:r}}(t);if(this.formats[n]){let t=e;try{let s=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},a=s.locale||s.lng||i.locale||i.lng||r;t=this.formats[n](e,a,{...o,...i,...s})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${n}`),e},e)}}class $ extends s{constructor(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=o.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,i.backend,i)}queueLoad(e,t,r,i){let n={},o={},s={},a={};return e.forEach(e=>{let i=!0;t.forEach(t=>{let s=`${e}|${t}`;!r.reload&&this.store.hasResourceBundle(e,t)?this.state[s]=2:this.state[s]<0||(1===this.state[s]?void 0===o[s]&&(o[s]=!0):(this.state[s]=1,i=!1,void 0===o[s]&&(o[s]=!0),void 0===n[s]&&(n[s]=!0),void 0===a[t]&&(a[t]=!0)))}),i||(s[e]=!0)}),(Object.keys(n).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(n),pending:Object.keys(o),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(a)}}loaded(e,t,r){let i=e.split("|"),n=i[0],o=i[1];t&&this.emit("failedLoading",n,o,t),r&&this.store.addResourceBundle(n,o,r),this.state[e]=t?-1:2;let s={};this.queue.forEach(r=>{(function(e,t,r,i){let{obj:n,k:o}=u(e,t,Object);n[o]=n[o]||[],i&&(n[o]=n[o].concat(r)),i||n[o].push(r)})(r.loaded,[n],o),void 0!==r.pending[e]&&(delete r.pending[e],r.pendingCount--),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(e=>{s[e]||(s[e]={});let t=r.loaded[e];t.length&&t.forEach(t=>{void 0===s[e][t]&&(s[e][t]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(e=>!e.done)}read(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:r,tried:i,wait:n,callback:o});return}this.readingCalls++;let s=(s,a)=>
95{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(s&&a&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,r,i+1,2*n,o)},n);return}o(s,a)},a=this.backend[r].bind(this.backend);if(2===a.length){try{let r=a(e,t);r&&"function"==typeof r.then?r.then(e=>s(null,e)).catch(s):s(null,r)}catch(e){s(e)}return}return a(e,t,s)}prepareLoading(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);let n=this.queueLoad(e,t,r,i);if(!n.toLoad.length)return n.pending.length||i(),null;n.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),i=r[0],n=r[1];this.read(i,n,"read",void 0,void 0,(r,o)=>{r&&this.logger.warn(`${t}loading namespace ${n} for language ${i} failed`,r),!r&&o&&this.logger.log(`${t}loaded namespace ${n} for language ${i}`,o),this.loaded(e,r,o)})}saveMissing(e,t,r,i,n){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(null!=r&&""!==r){if(this.backend&&this.backend.create){let a={...o,isUpdate:n},l=this.backend.create.bind(this.backend);if(l.length<6)try{let n;(n=5===l.length?l(e,t,r,i,a):l(e,t,r,i))&&"function"==typeof n.then?n.then(e=>s(null,e)).catch(s):s(null,n)}catch(e){s(e)}else l(e,t,r,i,s,a)}e&&e[0]&&this.store.addResource(e[0],t,r,i)}}}function j(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let r=e[3]||e[2];Object.keys(r).forEach(e=>{t[e]=r[e]})}return t},interpolation:{escapeValue:!0,format:(e,t,r,i)=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function I(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function V(){}class D extends s{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=I(e),this.services={},this.logger=o,this.modules={external:[]},!function(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})}(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(r=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));let i=j();function n(e){return e?"function"==typeof e?new e:e:null}if(this.options={...i,...this.options,...I(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){let t;this.modules.logger?o.init(n(this.modules.logger),this.options):o.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=O);let r=new w(this.options);this.store=new y(this.options.resources,this.options);let s=this.services;s.logger=o,s.resourceStore=this.store,s.languageUtils=r,s.pluralResolver=new E(r,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),t&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(s.formatter=n(t),s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new Z(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new $(n(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",function(t){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];e.emit(t,...i)}),this.modules.languageDetector&&(s.languageDetector=n(this.modules.languageDetector),s.languageDetector.init&&s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=n(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new S(this.services,this.options),this.translator.on("*",function(t){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];e.emit(t,...i)}
95),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,r||(r=V),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});let s=a(),l=()=>{let e=(e,t)=>{this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),s.resolve(t),r(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),s}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:V,r=t,i="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return r();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};i?t(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload&&this.options.preload.forEach(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),r(e)})}else r(null)}reloadResources(e,t,r){let i=a();return e||(e=this.languages),t||(t=this.options.ns),r||(r=V),this.services.backendConnector.reload(e,t,e=>{i.resolve(),r(e)}),i}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&b.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var r=this;this.isLanguageChangingTo=e;let i=a();this.emit("languageChanging",e);let n=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(e,o)=>{o?(n(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,i.resolve(function(){return r.t(...arguments)}),t&&t(e,function(){return r.t(...arguments)})},s=t=>{e||t||!this.services.languageDetector||(t=[]);let r="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);r&&(this.language||n(r),this.translator.language||this.translator.changeLanguage(r),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(r)),this.loadResources(r,e=>{o(e,r)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e):s(this.services.languageDetector.detect()),i}getFixedT(e,t,r){var i=this;let n=function(e,t){let o,s;if("object"!=typeof t){for(var a=arguments.length,l=Array(a>2?a-2:0),u=2;u<a;u++)l[u-2]=arguments[u];o=i.options.overloadTranslationOptionHandler([e,t].concat(l))}else o={...t};o.lng=o.lng||n.lng,o.lngs=o.lngs||n.lngs,o.ns=o.ns||n.ns,o.keyPrefix=o.keyPrefix||r||n.keyPrefix;let c=i.options.keySeparator||".";return s=o.keyPrefix&&Array.isArray(e)?e.map(e=>`${o.keyPrefix}${c}${e}`):o.keyPrefix?`${o.keyPrefix}${c}${e}`:e,i.t(s,o)};return"string"==typeof e?n.lng=e:n.lngs=e,n.ns=t,n.keyPrefix=r,n}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
95if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let r=t.lng||this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,n=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;let o=(e,t)=>{let r=this.services.backendConnector.state[`${e}|${t}`];return -1===r||2===r};if(t.precheck){let e=t.precheck(this,o);if(void 0!==e)return e}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(r,e)&&(!i||o(n,e)))}loadNamespaces(e,t){let r=a();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){let r=a();"string"==typeof e&&(e=[e]);let i=this.options.preload||[],n=e.filter(e=>0>i.indexOf(e));return n.length?(this.options.preload=i.concat(n),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}dir(e){return(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf((this.services&&this.services.languageUtils||new w(j())).getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}static createInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new D(e,t)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:V,r=e.forkResourceStore;r&&delete e.forkResourceStore;let i={...this.options,...e,isClone:!0},n=new D(i);return(void 0!==e.debug||void 0!==e.prefix)&&(n.logger=n.logger.clone(e)),["store","services","language"].forEach(e=>{n[e]=this[e]}),n.services={...this.services},n.services.utils={hasLoadedNamespace:n.hasLoadedNamespace.bind(n)},r&&(n.store=new y(this.store.data,i),n.services.resourceStore=n.store),n.translator=new S(n.services,i),n.translator.on("*",function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];n.emit(e,...r)}),n.init(i,t),n.translator.options=i,n.translator.backendConnector.services.utils={hasLoadedNamespace:n.hasLoadedNamespace.bind(n)},n}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let F=D.createInstance();F.createInstance=D.createInstance,F.createInstance,F.dir,F.init,F.loadResources,F.reloadResources,F.use,F.changeLanguage,F.getFixedT,F.t,F.exists,F.setDefaultNamespace,F.hasLoadedNamespace,F.loadNamespaces,F.loadLanguages}}]);
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.