"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[920,658,1398],{76489:function(e,t){/*!
 * cookie
 * Copyright(c) 2012-2014 Roman Shtylman
 * Copyright(c) 2015 Douglas Christopher Wilson
 * MIT Licensed
 */t.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var o={},r=(t||{}).decode||n,i=0;i<e.length;){var a=e.indexOf("=",i);if(-1===a)break;var c=e.indexOf(";",i);if(-1===c)c=e.length;else if(c<a){i=e.lastIndexOf(";",a-1)+1;continue}var l=e.slice(i,a).trim();if(void 0===o[l]){var s=e.slice(a+1,c).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),o[l]=function(e,t){try{return t(e)}catch(t){return e}}(s,r)}i=c+1}return o},t.serialize=function(e,t,n){var a=n||{},c=a.encode||i;if("function"!=typeof c)throw TypeError("option encode is invalid");if(!r.test(e))throw TypeError("argument name is invalid");var l=c(t);if(l&&!r.test(l))throw TypeError("argument val is invalid");var s=e+"="+l;if(null!=a.maxAge){var u=a.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(u)}if(a.domain){if(!r.test(a.domain))throw TypeError("option domain is invalid");s+="; Domain="+a.domain}if(a.path){if(!r.test(a.path))throw TypeError("option path is invalid");s+="; Path="+a.path}if(a.expires){var d=a.expires;if("[object Date]"!==o.call(d)&&!(d instanceof Date)||isNaN(d.valueOf()))throw TypeError("option expires is invalid");s+="; Expires="+d.toUTCString()}if(a.httpOnly&&(s+="; HttpOnly"),a.secure&&(s+="; Secure"),a.partitioned&&(s+="; Partitioned"),a.priority)switch("string"==typeof a.priority?a.priority.toLowerCase():a.priority){case"low":s+="; Priority=Low";break;case"medium":s+="; Priority=Medium";break;case"high":s+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(a.sameSite)switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"none":s+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return s};var o=Object.prototype.toString,r=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function n(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}function i(e){return encodeURIComponent(e)}},47041:function(e,t,o){var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},n=this&&this.__rest||function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o};Object.defineProperty(t,"__esModule",{value:!0}),t.hasCookie=t.deleteCookie=t.setCookie=t.getCookie=t.getCookies=void 0;var i=o(76489),a=function(){return"undefined"!=typeof window},c=function(e){return!!e&&"getAll"in e&&"set"in e&&"function"==typeof e.getAll&&"function"==typeof e.set},l=function(e){return!!(null==e?void 0:e.req)&&"cookies"in e.req&&c(null==e?void 0:e.req.cookies)||!!(null==e?void 0:e.res)&&"cookies"in e.res&&c(null==e?void 0:e.res.cookies)||!!(null==e?void 0:e.cookies)&&c(e.cookies())},s=function(e){var t={};return e.getAll().forEach(function(e){var o=e.name,r=e.value;t[o]=r}),t},u=function(e){void 0===e&&(e="");try{var t=JSON.stringify(e);return/^[\{\[]/.test(t)?t:e}catch(t){return e}};t.getCookies=function(e){if(l(e)){if(null==e?void 0:e.req)return s(e.req.cookies);if(null==e?void 0:e.cookies)return s(e.cookies())}if(e&&(t=e.req),!a())return t&&t.cookies?t.cookies:t&&t.headers.cookie?(0,i.parse)(t.headers.cookie):{};for(var t,o={},r=document.cookie?document.cookie.split("; "):[],n=0,c=r.length;n<c;n++){var u=r[n].split("="),d=u.slice(1).join("=");o[u[0]]=d}return o},t.getCookie=function(e,o){var r=(0,t.getCookies)(o)[e];if(void 0!==r)return r?r.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent):r},t.setCookie=function(e,t,o){if(l(o)){var c,s,d,p=o.req,f=o.res,h=o.cookies,v=n(o,["req","res","cookies"]),g=r({name:e,value:t},v);p&&p.cookies.set(g),f&&f.cookies.set(g),h&&h().set(g);return}if(o){var p=o.req,f=o.res,m=n(o,["req","res"]);s=p,d=f,c=m}var y=(0,i.serialize)(e,u(t),r({path:"/"},c));if(a())document.cookie=y;else if(d&&s){var b=d.getHeader("Set-Cookie");if(Array.isArray(b)||(b=b?[String(b)]:[]),d.setHeader("Set-Cookie",b.concat(y)),s&&s.cookies){var S=s.cookies;""===t?delete S[e]:S[e]=u(t)}if(s&&s.headers&&s.headers.cookie){var S=(0,i.parse)(s.headers.cookie);""===t?delete S[e]:S[e]=u(t),s.headers.cookie=Object.entries(S).reduce(function(e,t){return e.concat("".concat(t[0],"=").concat(t[1],";"))},"")}}},t.deleteCookie=function(e,o){return(0,t.setCookie)(e,"",r(r({},o),{maxAge:-1}))},t.hasCookie=function(e,o){return!!e&&(0,t.getCookies)(o).hasOwnProperty(e)}},73173:function(e,t,o){var r=o(63366),n=o(87462),i=o(67294),a=o(90512),c=o(35971),l=o(94780),s=o(47804),u=o(89262),d=o(13188),p=o(59145),f=o(63552),h=o(75228),v=o(46778),g=o(26855),m=o(88980),y=o(85893);let b=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],S=e=>{let{color:t,disableElevation:o,fullWidth:r,size:i,variant:a,classes:c}=e,s={root:["root",a,"".concat(a).concat((0,h.Z)(t)),"size".concat((0,h.Z)(i)),"".concat(a,"Size").concat((0,h.Z)(i)),"color".concat((0,h.Z)(t)),o&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon","iconSize".concat((0,h.Z)(i))],endIcon:["icon","endIcon","iconSize".concat((0,h.Z)(i))]},u=(0,l.Z)(s,v.F,c);return(0,n.Z)({},c,u)},x=e=>(0,n.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),w=(0,u.ZP)(f.Z,{shouldForwardProp:e=>(0,d.Z)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t["".concat(o.variant).concat((0,h.Z)(o.color))],t["size".concat((0,h.Z)(o.size))],t["".concat(o.variant,"Size").concat((0,h.Z)(o.size))],"inherit"===o.color&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth]}})(e=>{var t,o;let{theme:r,ownerState:i}=e,a="light"===r.palette.mode?r.palette.grey[300]:r.palette.grey[800],c="light"===r.palette.mode?r.palette.grey.A100:r.palette.grey[700];return(0,n.Z)({},r.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(r.vars||r).shape.borderRadius,transition:r.transitions.create(["background-color","box-shadow","border-color","color"],{duration:r.transitions.duration.short}),"&:hover":(0,n.Z)({textDecoration:"none",backgroundColor:r.vars?"rgba(".concat(r.vars.palette.text.primaryChannel," / ").concat(r.vars.palette.action.hoverOpacity,")"):(0,s.Fq)(r.palette.text.primary,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===i.variant&&"inherit"!==i.color&&{backgroundColor:r.vars?"rgba(".concat(r.vars.palette[i.color].mainChannel," / ").concat(r.vars.palette.action.hoverOpacity,")"):(0,s.Fq)(r.palette[i.color].main,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===i.variant&&"inherit"!==i.color&&{border:"1px solid ".concat((r.vars||r).palette[i.color].main),backgroundColor:r.vars?"rgba(".concat(r.vars.palette[i.color].mainChannel," / ").concat(r.vars.palette.action.hoverOpacity,")"):(0,s.Fq)(r.palette[i.color].main,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===i.variant&&{backgroundColor:r.vars?r.vars.palette.Button.inheritContainedHoverBg:c,boxShadow:(r.vars||r).shadows[4],"@media (hover: none)":{boxShadow:(r.vars||r).shadows[2],backgroundColor:(r.vars||r).palette.grey[300]}},"contained"===i.variant&&"inherit"!==i.color&&{backgroundColor:(r.vars||r).palette[i.color].dark,"@media (hover: none)":{backgroundColor:(r.vars||r).palette[i.color].main}}),"&:active":(0,n.Z)({},"contained"===i.variant&&{boxShadow:(r.vars||r).shadows[8]}),["&.".concat(v.Z.focusVisible)]:(0,n.Z)({},"contained"===i.variant&&{boxShadow:(r.vars||r).shadows[6]}),["&.".concat(v.Z.disabled)]:(0,n.Z)({color:(r.vars||r).palette.action.disabled},"outlined"===i.variant&&{border:"1px solid ".concat((r.vars||r).palette.action.disabledBackground)},"contained"===i.variant&&{color:(r.vars||r).palette.action.disabled,boxShadow:(r.vars||r).shadows[0],backgroundColor:(r.vars||r).palette.action.disabledBackground})},"text"===i.variant&&{padding:"6px 8px"},"text"===i.variant&&"inherit"!==i.color&&{color:(r.vars||r).palette[i.color].main},"outlined"===i.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===i.variant&&"inherit"!==i.color&&{color:(r.vars||r).palette[i.color].main,border:r.vars?"1px solid rgba(".concat(r.vars.palette[i.color].mainChannel," / 0.5)"):"1px solid ".concat((0,s.Fq)(r.palette[i.color].main,.5))},"contained"===i.variant&&{color:r.vars?r.vars.palette.text.primary:null==(t=(o=r.palette).getContrastText)?void 0:t.call(o,r.palette.grey[300]),backgroundColor:r.vars?r.vars.palette.Button.inheritContainedBg:a,boxShadow:(r.vars||r).shadows[2]},"contained"===i.variant&&"inherit"!==i.color&&{color:(r.vars||r).palette[i.color].contrastText,backgroundColor:(r.vars||r).palette[i.color].main},"inherit"===i.color&&{color:"inherit",borderColor:"currentColor"},"small"===i.size&&"text"===i.variant&&{padding:"4px 5px",fontSize:r.typography.pxToRem(13)},"large"===i.size&&"text"===i.variant&&{padding:"8px 11px",fontSize:r.typography.pxToRem(15)},"small"===i.size&&"outlined"===i.variant&&{padding:"3px 9px",fontSize:r.typography.pxToRem(13)},"large"===i.size&&"outlined"===i.variant&&{padding:"7px 21px",fontSize:r.typography.pxToRem(15)},"small"===i.size&&"contained"===i.variant&&{padding:"4px 10px",fontSize:r.typography.pxToRem(13)},"large"===i.size&&"contained"===i.variant&&{padding:"8px 22px",fontSize:r.typography.pxToRem(15)},i.fullWidth&&{width:"100%"})},e=>{let{ownerState:t}=e;return t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},["&.".concat(v.Z.focusVisible)]:{boxShadow:"none"},"&:active":{boxShadow:"none"},["&.".concat(v.Z.disabled)]:{boxShadow:"none"}}}),Z=(0,u.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.startIcon,t["iconSize".concat((0,h.Z)(o.size))]]}})(e=>{let{ownerState:t}=e;return(0,n.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},x(t))}),k=(0,u.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.endIcon,t["iconSize".concat((0,h.Z)(o.size))]]}})(e=>{let{ownerState:t}=e;return(0,n.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},x(t))}),C=i.forwardRef(function(e,t){let o=i.useContext(g.Z),l=i.useContext(m.Z),s=(0,c.Z)(o,e),u=(0,p.Z)({props:s,name:"MuiButton"}),{children:d,color:f="primary",component:h="button",className:v,disabled:x=!1,disableElevation:C=!1,disableFocusRipple:z=!1,endIcon:E,focusVisibleClassName:O,fullWidth:I=!1,size:R="medium",startIcon:P,type:T,variant:M="text"}=u,j=(0,r.Z)(u,b),B=(0,n.Z)({},u,{color:f,component:h,disabled:x,disableElevation:C,disableFocusRipple:z,fullWidth:I,size:R,type:T,variant:M}),W=S(B),L=P&&(0,y.jsx)(Z,{className:W.startIcon,ownerState:B,children:P}),A=E&&(0,y.jsx)(k,{className:W.endIcon,ownerState:B,children:E});return(0,y.jsxs)(w,(0,n.Z)({ownerState:B,className:(0,a.Z)(o.className,W.root,v,l||""),component:h,disabled:x,focusRipple:!z,focusVisibleClassName:(0,a.Z)(W.focusVisible,O),ref:t,type:T},j,{classes:W,children:[L,d,A]}))});t.Z=C},46778:function(e,t,o){o.d(t,{F:function(){return i}});var r=o(1588),n=o(34867);function i(e){return(0,n.ZP)("MuiButton",e)}let a=(0,r.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);t.Z=a},88980:function(e,t,o){let r=o(67294).createContext(void 0);t.Z=r},26855:function(e,t,o){let r=o(67294).createContext({});t.Z=r},58046:function(e,t,o){var r=o(63366),n=o(87462),i=o(67294),a=o(90512),c=o(49687),l=o(94780),s=o(89262),u=o(59145),d=o(75228),p=o(40655),f=o(85893);let h=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],v=e=>{let{align:t,gutterBottom:o,noWrap:r,paragraph:n,variant:i,classes:a}=e,c={root:["root",i,"inherit"!==e.align&&"align".concat((0,d.Z)(t)),o&&"gutterBottom",r&&"noWrap",n&&"paragraph"]};return(0,l.Z)(c,p.f,a)},g=(0,s.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.variant&&t[o.variant],"inherit"!==o.align&&t["align".concat((0,d.Z)(o.align))],o.noWrap&&t.noWrap,o.gutterBottom&&t.gutterBottom,o.paragraph&&t.paragraph]}})(e=>{let{theme:t,ownerState:o}=e;return(0,n.Z)({margin:0},"inherit"===o.variant&&{font:"inherit"},"inherit"!==o.variant&&t.typography[o.variant],"inherit"!==o.align&&{textAlign:o.align},o.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},o.gutterBottom&&{marginBottom:"0.35em"},o.paragraph&&{marginBottom:16})}),m={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},b=e=>y[e]||e,S=i.forwardRef(function(e,t){let o=(0,u.Z)({props:e,name:"MuiTypography"}),i=b(o.color),l=(0,c.Z)((0,n.Z)({},o,{color:i})),{align:s="inherit",className:d,component:p,gutterBottom:y=!1,noWrap:S=!1,paragraph:x=!1,variant:w="body1",variantMapping:Z=m}=l,k=(0,r.Z)(l,h),C=(0,n.Z)({},l,{align:s,color:i,className:d,component:p,gutterBottom:y,noWrap:S,paragraph:x,variant:w,variantMapping:Z}),z=p||(x?"p":Z[w]||m[w])||"span",E=v(C);return(0,f.jsx)(g,(0,n.Z)({as:z,ref:t,ownerState:C,className:(0,a.Z)(E.root,d)},k))});t.Z=S},40655:function(e,t,o){o.d(t,{f:function(){return i}});var r=o(1588),n=o(34867);function i(e){return(0,n.ZP)("MuiTypography",e)}let a=(0,r.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);t.Z=a},53071:function(e,t,o){o.d(t,{Z:function(){return s}});var r,n=o(67294),i=o(73546),a=o(53232),c=o(69713);let l=(r||(r=o.t(n,2))).useSyncExternalStore;function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=(0,c.Z)(),r=void 0!==window.matchMedia,{defaultMatches:s=!1,matchMedia:u=r?window.matchMedia:null,ssrMatchMedia:d=null,noSsr:p=!1}=(0,a.Z)({name:"MuiUseMediaQuery",props:t,theme:o}),f="function"==typeof e?e(o):e;return(void 0!==l?function(e,t,o,r,i){let a=n.useCallback(()=>t,[t]),c=n.useMemo(()=>{if(i&&o)return()=>o(e).matches;if(null!==r){let{matches:t}=r(e);return()=>t}return a},[a,e,r,i,o]),[s,u]=n.useMemo(()=>{if(null===o)return[a,()=>()=>{}];let t=o(e);return[()=>t.matches,e=>(t.addListener(e),()=>{t.removeListener(e)})]},[a,o,e]);return l(u,s,c)}:function(e,t,o,r,a){let[c,l]=n.useState(()=>a&&o?o(e).matches:r?r(e).matches:t);return(0,i.Z)(()=>{let t=!0;if(!o)return;let r=o(e),n=()=>{t&&l(r.matches)};return n(),r.addListener(n),()=>{t=!1,r.removeListener(n)}},[e,o]),c})(f=f.replace(/^@media( ?)/m,""),s,u,d,p)}},49360:function(e,t,o){o.d(t,{Z:function(){return a}}),o(67294);var r=o(92091),n=o(17854),i=o(95038);function a(){let e=(0,r.Z)(n.Z);return e[i.Z]||e}},75228:function(e,t,o){var r=o(14142);t.Z=r.Z},53250:function(e,t,o){/**
 * @license React
 * use-sync-external-store-shim.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=o(67294),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,c=r.useLayoutEffect,l=r.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!n(e,o)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var o=t(),r=i({inst:{value:o,getSnapshot:t}}),n=r[0].inst,u=r[1];return c(function(){n.value=o,n.getSnapshot=t,s(n)&&u({inst:n})},[e,o,t]),a(function(){return s(n)&&u({inst:n}),e(function(){s(n)&&u({inst:n})})},[e]),l(o),o};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},50139:function(e,t,o){/**
 * @license React
 * use-sync-external-store-shim/with-selector.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=o(67294),n=o(61688),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useSyncExternalStore,c=r.useRef,l=r.useEffect,s=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,o,r,n){var d=c(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;var f=a(e,(d=s(function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==n&&p.hasValue){var t=p.value;if(n(t,e))return c=t}return c=e}if(t=c,i(a,e))return t;var o=r(e);return void 0!==n&&n(t,o)?t:(a=e,c=o)}var a,c,l=!1,s=void 0===o?null:o;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]},[t,o,r,n]))[0],d[1]);return l(function(){p.hasValue=!0,p.value=f},[f]),u(f),f}},61688:function(e,t,o){e.exports=o(53250)},52798:function(e,t,o){e.exports=o(50139)},82729:function(e,t,o){o.d(t,{_:function(){return r}});function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},64529:function(e,t,o){o.d(t,{Ue:function(){return p}});let r=e=>{let t;let o=new Set,r=(e,r)=>{let n="function"==typeof e?e(t):e;if(!Object.is(n,t)){let e=t;t=(null!=r?r:"object"!=typeof n||null===n)?n:Object.assign({},t,n),o.forEach(o=>o(t,e))}},n=()=>t,i={setState:r,getState:n,getInitialState:()=>a,subscribe:e=>(o.add(e),()=>o.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),o.clear()}},a=t=e(r,n,i);return i},n=e=>e?r(e):r;var i=o(67294),a=o(52798);let{useDebugValue:c}=i,{useSyncExternalStoreWithSelector:l}=a,s=!1,u=e=>e,d=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?n(e):e,o=(e,o)=>(function(e,t=u,o){o&&!s&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),s=!0);let r=l(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,o);return c(r),r})(t,e,o);return Object.assign(o,t),o},p=e=>e?d(e):d}}]);