mirador-dl-plugin 1.0.0-alpha.2 → 1.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,37 +1,37 @@
1
- (function(Ue,ae){typeof exports=="object"&&typeof module<"u"?ae(exports,require("react"),require("react-i18next"),require("mirador"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-i18next","mirador","react-dom"],ae):(Ue=typeof globalThis<"u"?globalThis:Ue||self,ae(Ue.MiradorDlPlugin={},Ue.React,Ue.reactI18next,Ue.mirador,Ue.ReactDOM))})(this,function(Ue,ae,pn,ct,zt){"use strict";function Ua(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const S=Ua(ae),Zf=Ua(zt);var vr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function br(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function nt(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var mt={},hn={exports:{}},Ga;function mn(){return Ga||(Ga=1,function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(hn)),hn.exports}var gn={exports:{}},Ya;function Qf(){return Ya||(Ya=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(r){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var i in o)({}).hasOwnProperty.call(o,i)&&(r[i]=o[i])}return r},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(gn)),gn.exports}var yn={exports:{}},Ha;function ed(){return Ha||(Ha=1,function(e){function t(r,n){if(r==null)return{};var o={};for(var i in r)if({}.hasOwnProperty.call(r,i)){if(n.indexOf(i)!==-1)continue;o[i]=r[i]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(yn)),yn.exports}function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w.apply(null,arguments)}function td(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function rd(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var nd=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(rd(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=td(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e}(),qe="-ms-",_r="-moz-",se="-webkit-",Ka="comm",vn="rule",bn="decl",od="@import",Xa="@keyframes",id="@layer",ad=Math.abs,xr=String.fromCharCode,sd=Object.assign;function ud(e,t){return De(e,0)^45?(((t<<2^De(e,0))<<2^De(e,1))<<2^De(e,2))<<2^De(e,3):0}function Ja(e){return e.trim()}function cd(e,t){return(e=t.exec(e))?e[0]:e}function ue(e,t,r){return e.replace(t,r)}function _n(e,t){return e.indexOf(t)}function De(e,t){return e.charCodeAt(t)|0}function Vt(e,t,r){return e.slice(t,r)}function Je(e){return e.length}function xn(e){return e.length}function Er(e,t){return t.push(e),e}function ld(e,t){return e.map(t).join("")}var Tr=1,xt=1,Za=0,Fe=0,Ie=0,Et="";function Sr(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Tr,column:xt,length:a,return:""}}function Wt(e,t){return sd(Sr("",null,null,"",null,null,0),e,{length:-e.length},t)}function fd(){return Ie}function dd(){return Ie=Fe>0?De(Et,--Fe):0,xt--,Ie===10&&(xt=1,Tr--),Ie}function ze(){return Ie=Fe<Za?De(Et,Fe++):0,xt++,Ie===10&&(xt=1,Tr++),Ie}function Ze(){return De(Et,Fe)}function Rr(){return Fe}function Ut(e,t){return Vt(Et,e,t)}function Gt(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 Qa(e){return Tr=xt=1,Za=Je(Et=e),Fe=0,[]}function es(e){return Et="",e}function Cr(e){return Ja(Ut(Fe-1,En(e===91?e+2:e===40?e+1:e)))}function pd(e){for(;(Ie=Ze())&&Ie<33;)ze();return Gt(e)>2||Gt(Ie)>3?"":" "}function hd(e,t){for(;--t&&ze()&&!(Ie<48||Ie>102||Ie>57&&Ie<65||Ie>70&&Ie<97););return Ut(e,Rr()+(t<6&&Ze()==32&&ze()==32))}function En(e){for(;ze();)switch(Ie){case e:return Fe;case 34:case 39:e!==34&&e!==39&&En(Ie);break;case 40:e===41&&En(e);break;case 92:ze();break}return Fe}function md(e,t){for(;ze()&&e+Ie!==57;)if(e+Ie===84&&Ze()===47)break;return"/*"+Ut(t,Fe-1)+"*"+xr(e===47?e:ze())}function gd(e){for(;!Gt(Ze());)ze();return Ut(e,Fe)}function yd(e){return es(Or("",null,null,null,[""],e=Qa(e),0,[0],e))}function Or(e,t,r,n,o,i,a,u,c){for(var f=0,d=0,p=a,m=0,b=0,v=0,l=1,_=1,E=1,C=0,T="",x=o,y=i,A=n,h=T;_;)switch(v=C,C=ze()){case 40:if(v!=108&&De(h,p-1)==58){_n(h+=ue(Cr(C),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:h+=Cr(C);break;case 9:case 10:case 13:case 32:h+=pd(v);break;case 92:h+=hd(Rr()-1,7);continue;case 47:switch(Ze()){case 42:case 47:Er(vd(md(ze(),Rr()),t,r),c);break;default:h+="/"}break;case 123*l:u[f++]=Je(h)*E;case 125*l:case 59:case 0:switch(C){case 0:case 125:_=0;case 59+d:E==-1&&(h=ue(h,/\f/g,"")),b>0&&Je(h)-p&&Er(b>32?rs(h+";",n,r,p-1):rs(ue(h," ","")+";",n,r,p-2),c);break;case 59:h+=";";default:if(Er(A=ts(h,t,r,f,d,o,u,T,x=[],y=[],p),i),C===123)if(d===0)Or(h,t,A,A,x,i,p,u,y);else switch(m===99&&De(h,3)===110?100:m){case 100:case 108:case 109:case 115:Or(e,A,A,n&&Er(ts(e,A,A,0,0,o,u,T,o,x=[],p),y),o,y,p,u,n?x:y);break;default:Or(h,A,A,A,[""],y,0,u,y)}}f=d=b=0,l=E=1,T=h="",p=a;break;case 58:p=1+Je(h),b=v;default:if(l<1){if(C==123)--l;else if(C==125&&l++==0&&dd()==125)continue}switch(h+=xr(C),C*l){case 38:E=d>0?1:(h+="\f",-1);break;case 44:u[f++]=(Je(h)-1)*E,E=1;break;case 64:Ze()===45&&(h+=Cr(ze())),m=Ze(),d=p=Je(T=h+=gd(Rr())),C++;break;case 45:v===45&&Je(h)==2&&(l=0)}}return i}function ts(e,t,r,n,o,i,a,u,c,f,d){for(var p=o-1,m=o===0?i:[""],b=xn(m),v=0,l=0,_=0;v<n;++v)for(var E=0,C=Vt(e,p+1,p=ad(l=a[v])),T=e;E<b;++E)(T=Ja(l>0?m[E]+" "+C:ue(C,/&\f/g,m[E])))&&(c[_++]=T);return Sr(e,t,r,o===0?vn:u,c,f,d)}function vd(e,t,r){return Sr(e,t,r,Ka,xr(fd()),Vt(e,2,-2),0)}function rs(e,t,r,n){return Sr(e,t,r,bn,Vt(e,0,n),Vt(e,n+1,-1),n)}function Tt(e,t){for(var r="",n=xn(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function bd(e,t,r,n){switch(e.type){case id:if(e.children.length)break;case od:case bn:return e.return=e.return||e.value;case Ka:return"";case Xa:return e.return=e.value+"{"+Tt(e.children,n)+"}";case vn:e.value=e.props.join(",")}return Je(r=Tt(e.children,n))?e.return=e.value+"{"+r+"}":""}function _d(e){var t=xn(e);return function(r,n,o,i){for(var a="",u=0;u<t;u++)a+=e[u](r,n,o,i)||"";return a}}function xd(e){return function(t){t.root||(t=t.return)&&e(t)}}function ns(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ed=function(t,r,n){for(var o=0,i=0;o=i,i=Ze(),o===38&&i===12&&(r[n]=1),!Gt(i);)ze();return Ut(t,Fe)},Td=function(t,r){var n=-1,o=44;do switch(Gt(o)){case 0:o===38&&Ze()===12&&(r[n]=1),t[n]+=Ed(Fe-1,r,n);break;case 2:t[n]+=Cr(o);break;case 4:if(o===44){t[++n]=Ze()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=xr(o)}while(o=ze());return t},Sd=function(t,r){return es(Td(Qa(t),r))},os=new WeakMap,Rd=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!os.get(n))&&!o){os.set(t,!0);for(var i=[],a=Sd(r,i),u=n.props,c=0,f=0;c<a.length;c++)for(var d=0;d<u.length;d++,f++)t.props[f]=i[c]?a[c].replace(/&\f/g,u[d]):u[d]+" "+a[c]}}},Cd=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function is(e,t){switch(ud(e,t)){case 5103:return se+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return se+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return se+e+_r+e+qe+e+e;case 6828:case 4268:return se+e+qe+e+e;case 6165:return se+e+qe+"flex-"+e+e;case 5187:return se+e+ue(e,/(\w+).+(:[^]+)/,se+"box-$1$2"+qe+"flex-$1$2")+e;case 5443:return se+e+qe+"flex-item-"+ue(e,/flex-|-self/,"")+e;case 4675:return se+e+qe+"flex-line-pack"+ue(e,/align-content|flex-|-self/,"")+e;case 5548:return se+e+qe+ue(e,"shrink","negative")+e;case 5292:return se+e+qe+ue(e,"basis","preferred-size")+e;case 6060:return se+"box-"+ue(e,"-grow","")+se+e+qe+ue(e,"grow","positive")+e;case 4554:return se+ue(e,/([^-])(transform)/g,"$1"+se+"$2")+e;case 6187:return ue(ue(ue(e,/(zoom-|grab)/,se+"$1"),/(image-set)/,se+"$1"),e,"")+e;case 5495:case 3959:return ue(e,/(image-set\([^]*)/,se+"$1$`$1");case 4968:return ue(ue(e,/(.+:)(flex-)?(.*)/,se+"box-pack:$3"+qe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+se+e+e;case 4095:case 3583:case 4068:case 2532:return ue(e,/(.+)-inline(.+)/,se+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Je(e)-1-t>6)switch(De(e,t+1)){case 109:if(De(e,t+4)!==45)break;case 102:return ue(e,/(.+:)(.+)-([^]+)/,"$1"+se+"$2-$3$1"+_r+(De(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~_n(e,"stretch")?is(ue(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(De(e,t+1)!==115)break;case 6444:switch(De(e,Je(e)-3-(~_n(e,"!important")&&10))){case 107:return ue(e,":",":"+se)+e;case 101:return ue(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+se+(De(e,14)===45?"inline-":"")+"box$3$1"+se+"$2$3$1"+qe+"$2box$3")+e}break;case 5936:switch(De(e,t+11)){case 114:return se+e+qe+ue(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return se+e+qe+ue(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return se+e+qe+ue(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return se+e+qe+e+e}return e}var Od=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case bn:t.return=is(t.value,t.length);break;case Xa:return Tt([Wt(t,{value:ue(t.value,"@","@"+se)})],o);case vn:if(t.length)return ld(t.props,function(i){switch(cd(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Tt([Wt(t,{props:[ue(i,/:(read-\w+)/,":"+_r+"$1")]})],o);case"::placeholder":return Tt([Wt(t,{props:[ue(i,/:(plac\w+)/,":"+se+"input-$1")]}),Wt(t,{props:[ue(i,/:(plac\w+)/,":"+_r+"$1")]}),Wt(t,{props:[ue(i,/:(plac\w+)/,qe+"input-$1")]})],o)}return""})}},Pd=[Od],as=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(l){var _=l.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(l),l.setAttribute("data-s",""))})}var o=t.stylisPlugins||Pd,i={},a,u=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(l){for(var _=l.getAttribute("data-emotion").split(" "),E=1;E<_.length;E++)i[_[E]]=!0;u.push(l)});var c,f=[Rd,Cd];{var d,p=[bd,xd(function(l){d.insert(l)})],m=_d(f.concat(o,p)),b=function(_){return Tt(yd(_),m)};c=function(_,E,C,T){d=C,b(_?_+"{"+E.styles+"}":E.styles),T&&(v.inserted[E.name]=!0)}}var v={key:r,sheet:new nd({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:c};return v.sheet.hydrate(u),v},Pr={exports:{}},ce={};/** @license React v16.13.1
1
+ (function(Ke,ae){typeof exports=="object"&&typeof module<"u"?ae(exports,require("react"),require("mirador"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","mirador","react-dom"],ae):(Ke=typeof globalThis<"u"?globalThis:Ke||self,ae(Ke.MiradorDlPlugin={},Ke.React,Ke.mirador,Ke.ReactDOM))})(this,function(Ke,ae,Xe,zt){"use strict";function Wa(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const S=Wa(ae),Jd=Wa(zt);var vr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function br(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ot(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var mt={},pn={exports:{}},Ua;function hn(){return Ua||(Ua=1,function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(pn)),pn.exports}var mn={exports:{}},Ga;function Zd(){return Ga||(Ga=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(r){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var i in o)({}).hasOwnProperty.call(o,i)&&(r[i]=o[i])}return r},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(mn)),mn.exports}var gn={exports:{}},Ya;function Qd(){return Ya||(Ya=1,function(e){function t(r,n){if(r==null)return{};var o={};for(var i in r)if({}.hasOwnProperty.call(r,i)){if(n.includes(i))continue;o[i]=r[i]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(gn)),gn.exports}function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w.apply(null,arguments)}function ef(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function tf(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var rf=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(tf(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=ef(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e}(),qe="-ms-",_r="-moz-",se="-webkit-",Ha="comm",yn="rule",vn="decl",nf="@import",Ka="@keyframes",of="@layer",af=Math.abs,xr=String.fromCharCode,sf=Object.assign;function uf(e,t){return De(e,0)^45?(((t<<2^De(e,0))<<2^De(e,1))<<2^De(e,2))<<2^De(e,3):0}function Xa(e){return e.trim()}function cf(e,t){return(e=t.exec(e))?e[0]:e}function ue(e,t,r){return e.replace(t,r)}function bn(e,t){return e.indexOf(t)}function De(e,t){return e.charCodeAt(t)|0}function Vt(e,t,r){return e.slice(t,r)}function Ze(e){return e.length}function _n(e){return e.length}function Er(e,t){return t.push(e),e}function lf(e,t){return e.map(t).join("")}var Tr=1,xt=1,Ja=0,Fe=0,Ie=0,Et="";function Sr(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Tr,column:xt,length:a,return:""}}function Wt(e,t){return sf(Sr("",null,null,"",null,null,0),e,{length:-e.length},t)}function df(){return Ie}function ff(){return Ie=Fe>0?De(Et,--Fe):0,xt--,Ie===10&&(xt=1,Tr--),Ie}function ze(){return Ie=Fe<Ja?De(Et,Fe++):0,xt++,Ie===10&&(xt=1,Tr++),Ie}function Qe(){return De(Et,Fe)}function Rr(){return Fe}function Ut(e,t){return Vt(Et,e,t)}function Gt(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 Za(e){return Tr=xt=1,Ja=Ze(Et=e),Fe=0,[]}function Qa(e){return Et="",e}function Cr(e){return Xa(Ut(Fe-1,xn(e===91?e+2:e===40?e+1:e)))}function pf(e){for(;(Ie=Qe())&&Ie<33;)ze();return Gt(e)>2||Gt(Ie)>3?"":" "}function hf(e,t){for(;--t&&ze()&&!(Ie<48||Ie>102||Ie>57&&Ie<65||Ie>70&&Ie<97););return Ut(e,Rr()+(t<6&&Qe()==32&&ze()==32))}function xn(e){for(;ze();)switch(Ie){case e:return Fe;case 34:case 39:e!==34&&e!==39&&xn(Ie);break;case 40:e===41&&xn(e);break;case 92:ze();break}return Fe}function mf(e,t){for(;ze()&&e+Ie!==57;)if(e+Ie===84&&Qe()===47)break;return"/*"+Ut(t,Fe-1)+"*"+xr(e===47?e:ze())}function gf(e){for(;!Gt(Qe());)ze();return Ut(e,Fe)}function yf(e){return Qa(Or("",null,null,null,[""],e=Za(e),0,[0],e))}function Or(e,t,r,n,o,i,a,u,c){for(var d=0,f=0,p=a,m=0,b=0,v=0,l=1,_=1,E=1,C=0,T="",x=o,y=i,$=n,h=T;_;)switch(v=C,C=ze()){case 40:if(v!=108&&De(h,p-1)==58){bn(h+=ue(Cr(C),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:h+=Cr(C);break;case 9:case 10:case 13:case 32:h+=pf(v);break;case 92:h+=hf(Rr()-1,7);continue;case 47:switch(Qe()){case 42:case 47:Er(vf(mf(ze(),Rr()),t,r),c);break;default:h+="/"}break;case 123*l:u[d++]=Ze(h)*E;case 125*l:case 59:case 0:switch(C){case 0:case 125:_=0;case 59+f:E==-1&&(h=ue(h,/\f/g,"")),b>0&&Ze(h)-p&&Er(b>32?ts(h+";",n,r,p-1):ts(ue(h," ","")+";",n,r,p-2),c);break;case 59:h+=";";default:if(Er($=es(h,t,r,d,f,o,u,T,x=[],y=[],p),i),C===123)if(f===0)Or(h,t,$,$,x,i,p,u,y);else switch(m===99&&De(h,3)===110?100:m){case 100:case 108:case 109:case 115:Or(e,$,$,n&&Er(es(e,$,$,0,0,o,u,T,o,x=[],p),y),o,y,p,u,n?x:y);break;default:Or(h,$,$,$,[""],y,0,u,y)}}d=f=b=0,l=E=1,T=h="",p=a;break;case 58:p=1+Ze(h),b=v;default:if(l<1){if(C==123)--l;else if(C==125&&l++==0&&ff()==125)continue}switch(h+=xr(C),C*l){case 38:E=f>0?1:(h+="\f",-1);break;case 44:u[d++]=(Ze(h)-1)*E,E=1;break;case 64:Qe()===45&&(h+=Cr(ze())),m=Qe(),f=p=Ze(T=h+=gf(Rr())),C++;break;case 45:v===45&&Ze(h)==2&&(l=0)}}return i}function es(e,t,r,n,o,i,a,u,c,d,f){for(var p=o-1,m=o===0?i:[""],b=_n(m),v=0,l=0,_=0;v<n;++v)for(var E=0,C=Vt(e,p+1,p=af(l=a[v])),T=e;E<b;++E)(T=Xa(l>0?m[E]+" "+C:ue(C,/&\f/g,m[E])))&&(c[_++]=T);return Sr(e,t,r,o===0?yn:u,c,d,f)}function vf(e,t,r){return Sr(e,t,r,Ha,xr(df()),Vt(e,2,-2),0)}function ts(e,t,r,n){return Sr(e,t,r,vn,Vt(e,0,n),Vt(e,n+1,-1),n)}function Tt(e,t){for(var r="",n=_n(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function bf(e,t,r,n){switch(e.type){case of:if(e.children.length)break;case nf:case vn:return e.return=e.return||e.value;case Ha:return"";case Ka:return e.return=e.value+"{"+Tt(e.children,n)+"}";case yn:e.value=e.props.join(",")}return Ze(r=Tt(e.children,n))?e.return=e.value+"{"+r+"}":""}function _f(e){var t=_n(e);return function(r,n,o,i){for(var a="",u=0;u<t;u++)a+=e[u](r,n,o,i)||"";return a}}function xf(e){return function(t){t.root||(t=t.return)&&e(t)}}function rs(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ef=function(t,r,n){for(var o=0,i=0;o=i,i=Qe(),o===38&&i===12&&(r[n]=1),!Gt(i);)ze();return Ut(t,Fe)},Tf=function(t,r){var n=-1,o=44;do switch(Gt(o)){case 0:o===38&&Qe()===12&&(r[n]=1),t[n]+=Ef(Fe-1,r,n);break;case 2:t[n]+=Cr(o);break;case 4:if(o===44){t[++n]=Qe()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=xr(o)}while(o=ze());return t},Sf=function(t,r){return Qa(Tf(Za(t),r))},ns=new WeakMap,Rf=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!ns.get(n))&&!o){ns.set(t,!0);for(var i=[],a=Sf(r,i),u=n.props,c=0,d=0;c<a.length;c++)for(var f=0;f<u.length;f++,d++)t.props[d]=i[c]?a[c].replace(/&\f/g,u[f]):u[f]+" "+a[c]}}},Cf=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function os(e,t){switch(uf(e,t)){case 5103:return se+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return se+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return se+e+_r+e+qe+e+e;case 6828:case 4268:return se+e+qe+e+e;case 6165:return se+e+qe+"flex-"+e+e;case 5187:return se+e+ue(e,/(\w+).+(:[^]+)/,se+"box-$1$2"+qe+"flex-$1$2")+e;case 5443:return se+e+qe+"flex-item-"+ue(e,/flex-|-self/,"")+e;case 4675:return se+e+qe+"flex-line-pack"+ue(e,/align-content|flex-|-self/,"")+e;case 5548:return se+e+qe+ue(e,"shrink","negative")+e;case 5292:return se+e+qe+ue(e,"basis","preferred-size")+e;case 6060:return se+"box-"+ue(e,"-grow","")+se+e+qe+ue(e,"grow","positive")+e;case 4554:return se+ue(e,/([^-])(transform)/g,"$1"+se+"$2")+e;case 6187:return ue(ue(ue(e,/(zoom-|grab)/,se+"$1"),/(image-set)/,se+"$1"),e,"")+e;case 5495:case 3959:return ue(e,/(image-set\([^]*)/,se+"$1$`$1");case 4968:return ue(ue(e,/(.+:)(flex-)?(.*)/,se+"box-pack:$3"+qe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+se+e+e;case 4095:case 3583:case 4068:case 2532:return ue(e,/(.+)-inline(.+)/,se+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ze(e)-1-t>6)switch(De(e,t+1)){case 109:if(De(e,t+4)!==45)break;case 102:return ue(e,/(.+:)(.+)-([^]+)/,"$1"+se+"$2-$3$1"+_r+(De(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~bn(e,"stretch")?os(ue(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(De(e,t+1)!==115)break;case 6444:switch(De(e,Ze(e)-3-(~bn(e,"!important")&&10))){case 107:return ue(e,":",":"+se)+e;case 101:return ue(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+se+(De(e,14)===45?"inline-":"")+"box$3$1"+se+"$2$3$1"+qe+"$2box$3")+e}break;case 5936:switch(De(e,t+11)){case 114:return se+e+qe+ue(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return se+e+qe+ue(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return se+e+qe+ue(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return se+e+qe+e+e}return e}var Of=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case vn:t.return=os(t.value,t.length);break;case Ka:return Tt([Wt(t,{value:ue(t.value,"@","@"+se)})],o);case yn:if(t.length)return lf(t.props,function(i){switch(cf(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Tt([Wt(t,{props:[ue(i,/:(read-\w+)/,":"+_r+"$1")]})],o);case"::placeholder":return Tt([Wt(t,{props:[ue(i,/:(plac\w+)/,":"+se+"input-$1")]}),Wt(t,{props:[ue(i,/:(plac\w+)/,":"+_r+"$1")]}),Wt(t,{props:[ue(i,/:(plac\w+)/,qe+"input-$1")]})],o)}return""})}},Pf=[Of],is=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(l){var _=l.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(l),l.setAttribute("data-s",""))})}var o=t.stylisPlugins||Pf,i={},a,u=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(l){for(var _=l.getAttribute("data-emotion").split(" "),E=1;E<_.length;E++)i[_[E]]=!0;u.push(l)});var c,d=[Rf,Cf];{var f,p=[bf,xf(function(l){f.insert(l)})],m=_f(d.concat(o,p)),b=function(_){return Tt(yf(_),m)};c=function(_,E,C,T){f=C,b(_?_+"{"+E.styles+"}":E.styles),T&&(v.inserted[E.name]=!0)}}var v={key:r,sheet:new rf({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:c};return v.sheet.hydrate(u),v},Pr={exports:{}},ce={};/** @license React v16.13.1
2
2
  * react-is.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
5
5
  *
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
- */var ss;function wd(){if(ss)return ce;ss=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function T(y){if(typeof y=="object"&&y!==null){var A=y.$$typeof;switch(A){case t:switch(y=y.type,y){case c:case f:case n:case i:case o:case p:return y;default:switch(y=y&&y.$$typeof,y){case u:case d:case v:case b:case a:return y;default:return A}}case r:return A}}}function x(y){return T(y)===f}return ce.AsyncMode=c,ce.ConcurrentMode=f,ce.ContextConsumer=u,ce.ContextProvider=a,ce.Element=t,ce.ForwardRef=d,ce.Fragment=n,ce.Lazy=v,ce.Memo=b,ce.Portal=r,ce.Profiler=i,ce.StrictMode=o,ce.Suspense=p,ce.isAsyncMode=function(y){return x(y)||T(y)===c},ce.isConcurrentMode=x,ce.isContextConsumer=function(y){return T(y)===u},ce.isContextProvider=function(y){return T(y)===a},ce.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===t},ce.isForwardRef=function(y){return T(y)===d},ce.isFragment=function(y){return T(y)===n},ce.isLazy=function(y){return T(y)===v},ce.isMemo=function(y){return T(y)===b},ce.isPortal=function(y){return T(y)===r},ce.isProfiler=function(y){return T(y)===i},ce.isStrictMode=function(y){return T(y)===o},ce.isSuspense=function(y){return T(y)===p},ce.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===n||y===f||y===i||y===o||y===p||y===m||typeof y=="object"&&y!==null&&(y.$$typeof===v||y.$$typeof===b||y.$$typeof===a||y.$$typeof===u||y.$$typeof===d||y.$$typeof===_||y.$$typeof===E||y.$$typeof===C||y.$$typeof===l)},ce.typeOf=T,ce}var le={};/** @license React v16.13.1
8
+ */var as;function wf(){if(as)return ce;as=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function T(y){if(typeof y=="object"&&y!==null){var $=y.$$typeof;switch($){case t:switch(y=y.type,y){case c:case d:case n:case i:case o:case p:return y;default:switch(y=y&&y.$$typeof,y){case u:case f:case v:case b:case a:return y;default:return $}}case r:return $}}}function x(y){return T(y)===d}return ce.AsyncMode=c,ce.ConcurrentMode=d,ce.ContextConsumer=u,ce.ContextProvider=a,ce.Element=t,ce.ForwardRef=f,ce.Fragment=n,ce.Lazy=v,ce.Memo=b,ce.Portal=r,ce.Profiler=i,ce.StrictMode=o,ce.Suspense=p,ce.isAsyncMode=function(y){return x(y)||T(y)===c},ce.isConcurrentMode=x,ce.isContextConsumer=function(y){return T(y)===u},ce.isContextProvider=function(y){return T(y)===a},ce.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===t},ce.isForwardRef=function(y){return T(y)===f},ce.isFragment=function(y){return T(y)===n},ce.isLazy=function(y){return T(y)===v},ce.isMemo=function(y){return T(y)===b},ce.isPortal=function(y){return T(y)===r},ce.isProfiler=function(y){return T(y)===i},ce.isStrictMode=function(y){return T(y)===o},ce.isSuspense=function(y){return T(y)===p},ce.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===n||y===d||y===i||y===o||y===p||y===m||typeof y=="object"&&y!==null&&(y.$$typeof===v||y.$$typeof===b||y.$$typeof===a||y.$$typeof===u||y.$$typeof===f||y.$$typeof===_||y.$$typeof===E||y.$$typeof===C||y.$$typeof===l)},ce.typeOf=T,ce}var le={};/** @license React v16.13.1
9
9
  * react-is.development.js
10
10
  *
11
11
  * Copyright (c) Facebook, Inc. and its affiliates.
12
12
  *
13
13
  * This source code is licensed under the MIT license found in the
14
14
  * LICENSE file in the root directory of this source tree.
15
- */var us;function Id(){return us||(us=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function T(P){return typeof P=="string"||typeof P=="function"||P===n||P===f||P===i||P===o||P===p||P===m||typeof P=="object"&&P!==null&&(P.$$typeof===v||P.$$typeof===b||P.$$typeof===a||P.$$typeof===u||P.$$typeof===d||P.$$typeof===_||P.$$typeof===E||P.$$typeof===C||P.$$typeof===l)}function x(P){if(typeof P=="object"&&P!==null){var ge=P.$$typeof;switch(ge){case t:var ie=P.type;switch(ie){case c:case f:case n:case i:case o:case p:return ie;default:var Se=ie&&ie.$$typeof;switch(Se){case u:case d:case v:case b:case a:return Se;default:return ge}}case r:return ge}}}var y=c,A=f,h=u,O=a,R=t,I=d,M=n,F=v,D=b,L=r,B=i,q=o,G=p,Z=!1;function Pe(P){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),$(P)||x(P)===c}function $(P){return x(P)===f}function j(P){return x(P)===u}function Q(P){return x(P)===a}function X(P){return typeof P=="object"&&P!==null&&P.$$typeof===t}function V(P){return x(P)===d}function H(P){return x(P)===n}function Y(P){return x(P)===v}function K(P){return x(P)===b}function W(P){return x(P)===r}function U(P){return x(P)===i}function J(P){return x(P)===o}function be(P){return x(P)===p}le.AsyncMode=y,le.ConcurrentMode=A,le.ContextConsumer=h,le.ContextProvider=O,le.Element=R,le.ForwardRef=I,le.Fragment=M,le.Lazy=F,le.Memo=D,le.Portal=L,le.Profiler=B,le.StrictMode=q,le.Suspense=G,le.isAsyncMode=Pe,le.isConcurrentMode=$,le.isContextConsumer=j,le.isContextProvider=Q,le.isElement=X,le.isForwardRef=V,le.isFragment=H,le.isLazy=Y,le.isMemo=K,le.isPortal=W,le.isProfiler=U,le.isStrictMode=J,le.isSuspense=be,le.isValidElementType=T,le.typeOf=x}()),le}var cs;function Ad(){return cs||(cs=1,process.env.NODE_ENV==="production"?Pr.exports=wd():Pr.exports=Id()),Pr.exports}var Tn,ls;function $d(){if(ls)return Tn;ls=1;var e=Ad(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=n,i[e.Memo]=o;function a(v){return e.isMemo(v)?o:i[v.$$typeof]||t}var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function b(v,l,_){if(typeof l!="string"){if(m){var E=p(l);E&&E!==m&&b(v,E,_)}var C=c(l);f&&(C=C.concat(f(l)));for(var T=a(v),x=a(l),y=0;y<C.length;++y){var A=C[y];if(!r[A]&&!(_&&_[A])&&!(x&&x[A])&&!(T&&T[A])){var h=d(l,A);try{u(v,A,h)}catch{}}}}return v}return Tn=b,Tn}$d();var Md=!0;function fs(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Sn=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||Md===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Rn=function(t,r,n){Sn(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Nd(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var kd={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Dd=/[A-Z]|^ms/g,jd=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ds=function(t){return t.charCodeAt(1)===45},ps=function(t){return t!=null&&typeof t!="boolean"},Cn=ns(function(e){return ds(e)?e:e.replace(Dd,"-$&").toLowerCase()}),hs=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(jd,function(n,o,i){return Qe={name:o,styles:i,next:Qe},o})}return kd[t]!==1&&!ds(t)&&typeof r=="number"&&r!==0?r+"px":r};function Yt(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return Qe={name:o.name,styles:o.styles,next:Qe},o.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)Qe={name:a.name,styles:a.styles,next:Qe},a=a.next;var u=i.styles+";";return u}return qd(e,t,r)}case"function":{if(e!==void 0){var c=Qe,f=r(e);return Qe=c,Yt(e,t,f)}break}}var d=r;if(t==null)return d;var p=t[d];return p!==void 0?p:d}function qd(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Yt(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var u=a;t!=null&&t[u]!==void 0?n+=i+"{"+t[u]+"}":ps(u)&&(n+=Cn(i)+":"+hs(i,u)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var c=0;c<a.length;c++)ps(a[c])&&(n+=Cn(i)+":"+hs(i,a[c])+";");else{var f=Yt(e,t,a);switch(i){case"animation":case"animationName":{n+=Cn(i)+":"+f+";";break}default:n+=i+"{"+f+"}"}}}return n}var ms=/label:\s*([^\s;{]+)\s*(;|$)/g,Qe;function wr(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";Qe=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Yt(r,t,i);else{var a=i;o+=a[0]}for(var u=1;u<e.length;u++)if(o+=Yt(r,t,e[u]),n){var c=i;o+=c[u]}ms.lastIndex=0;for(var f="",d;(d=ms.exec(o))!==null;)f+="-"+d[1];var p=Nd(o)+f;return{name:p,styles:o,next:Qe}}var Ld=function(t){return t()},gs=S.useInsertionEffect?S.useInsertionEffect:!1,ys=gs||Ld,vs=gs||S.useLayoutEffect,bs=S.createContext(typeof HTMLElement<"u"?as({key:"css"}):null),Fd=bs.Provider,On=function(t){return ae.forwardRef(function(r,n){var o=ae.useContext(bs);return t(r,o,n)})},Ht=S.createContext({}),Pn={}.hasOwnProperty,wn="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Bd=function(t,r){var n={};for(var o in r)Pn.call(r,o)&&(n[o]=r[o]);return n[wn]=t,n},zd=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Sn(r,n,o),ys(function(){return Rn(r,n,o)}),null},Vd=On(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[wn],i=[n],a="";typeof e.className=="string"?a=fs(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var u=wr(i,void 0,S.useContext(Ht));a+=t.key+"-"+u.name;var c={};for(var f in e)Pn.call(e,f)&&f!=="css"&&f!==wn&&(c[f]=e[f]);return c.className=a,r&&(c.ref=r),S.createElement(S.Fragment,null,S.createElement(zd,{cache:t,serialized:u,isStringTag:typeof o=="string"}),S.createElement(o,c))}),Wd=Vd,Ud=function(t,r){var n=arguments;if(r==null||!Pn.call(r,"css"))return S.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=Wd,i[1]=Bd(t,r);for(var a=2;a<o;a++)i[a]=n[a];return S.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Ud);var Gd=On(function(e,t){var r=e.styles,n=wr([r],void 0,S.useContext(Ht)),o=S.useRef();return vs(function(){var i=t.key+"-global",a=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),u=!1,c=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),c!==null&&(u=!0,c.setAttribute("data-emotion",i),a.hydrate([c])),o.current=[a,u],function(){a.flush()}},[t]),vs(function(){var i=o.current,a=i[0],u=i[1];if(u){i[1]=!1;return}if(n.next!==void 0&&Rn(t,n.next,!0),a.tags.length){var c=a.tags[a.tags.length-1].nextElementSibling;a.before=c,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});function _s(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return wr(t)}function Ir(){var e=_s.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Yd=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Hd=ns(function(e){return Yd.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Kd=Hd,Xd=function(t){return t!=="theme"},xs=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Kd:Xd},Es=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Jd=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Sn(r,n,o),ys(function(){return Rn(r,n,o)}),null},Zd=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var u=Es(t,r,n),c=u||xs(o),f=!c("as");return function(){var d=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),d[0]==null||d[0].raw===void 0)p.push.apply(p,d);else{var m=d[0];p.push(m[0]);for(var b=d.length,v=1;v<b;v++)p.push(d[v],m[v])}var l=On(function(_,E,C){var T=f&&_.as||o,x="",y=[],A=_;if(_.theme==null){A={};for(var h in _)A[h]=_[h];A.theme=S.useContext(Ht)}typeof _.className=="string"?x=fs(E.registered,y,_.className):_.className!=null&&(x=_.className+" ");var O=wr(p.concat(y),E.registered,A);x+=E.key+"-"+O.name,a!==void 0&&(x+=" "+a);var R=f&&u===void 0?xs(T):c,I={};for(var M in _)f&&M==="as"||R(M)&&(I[M]=_[M]);return I.className=x,C&&(I.ref=C),S.createElement(S.Fragment,null,S.createElement(Jd,{cache:E,serialized:O,isStringTag:typeof T=="string"}),S.createElement(T,I))});return l.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",l.defaultProps=t.defaultProps,l.__emotion_real=l,l.__emotion_base=o,l.__emotion_styles=p,l.__emotion_forwardProp=u,Object.defineProperty(l,"toString",{value:function(){return"."+a}}),l.withComponent=function(_,E){var C=e(_,w({},r,E,{shouldForwardProp:Es(l,E,!0)}));return C.apply(void 0,p)},l}},Qd=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],In=Zd.bind(null);Qd.forEach(function(e){In[e]=In(e)});var Ar={exports:{}},$r={exports:{}},fe={};/** @license React v16.13.1
15
+ */var ss;function If(){return ss||(ss=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function T(P){return typeof P=="string"||typeof P=="function"||P===n||P===d||P===i||P===o||P===p||P===m||typeof P=="object"&&P!==null&&(P.$$typeof===v||P.$$typeof===b||P.$$typeof===a||P.$$typeof===u||P.$$typeof===f||P.$$typeof===_||P.$$typeof===E||P.$$typeof===C||P.$$typeof===l)}function x(P){if(typeof P=="object"&&P!==null){var ge=P.$$typeof;switch(ge){case t:var ie=P.type;switch(ie){case c:case d:case n:case i:case o:case p:return ie;default:var Se=ie&&ie.$$typeof;switch(Se){case u:case f:case v:case b:case a:return Se;default:return ge}}case r:return ge}}}var y=c,$=d,h=u,O=a,R=t,I=f,M=n,F=v,D=b,L=r,B=i,q=o,G=p,Z=!1;function Pe(P){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),A(P)||x(P)===c}function A(P){return x(P)===d}function j(P){return x(P)===u}function Q(P){return x(P)===a}function X(P){return typeof P=="object"&&P!==null&&P.$$typeof===t}function V(P){return x(P)===f}function H(P){return x(P)===n}function Y(P){return x(P)===v}function K(P){return x(P)===b}function W(P){return x(P)===r}function U(P){return x(P)===i}function J(P){return x(P)===o}function be(P){return x(P)===p}le.AsyncMode=y,le.ConcurrentMode=$,le.ContextConsumer=h,le.ContextProvider=O,le.Element=R,le.ForwardRef=I,le.Fragment=M,le.Lazy=F,le.Memo=D,le.Portal=L,le.Profiler=B,le.StrictMode=q,le.Suspense=G,le.isAsyncMode=Pe,le.isConcurrentMode=A,le.isContextConsumer=j,le.isContextProvider=Q,le.isElement=X,le.isForwardRef=V,le.isFragment=H,le.isLazy=Y,le.isMemo=K,le.isPortal=W,le.isProfiler=U,le.isStrictMode=J,le.isSuspense=be,le.isValidElementType=T,le.typeOf=x}()),le}var us;function $f(){return us||(us=1,process.env.NODE_ENV==="production"?Pr.exports=wf():Pr.exports=If()),Pr.exports}var En,cs;function Af(){if(cs)return En;cs=1;var e=$f(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=n,i[e.Memo]=o;function a(v){return e.isMemo(v)?o:i[v.$$typeof]||t}var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function b(v,l,_){if(typeof l!="string"){if(m){var E=p(l);E&&E!==m&&b(v,E,_)}var C=c(l);d&&(C=C.concat(d(l)));for(var T=a(v),x=a(l),y=0;y<C.length;++y){var $=C[y];if(!r[$]&&!(_&&_[$])&&!(x&&x[$])&&!(T&&T[$])){var h=f(l,$);try{u(v,$,h)}catch{}}}}return v}return En=b,En}Af();var Mf=!0;function ls(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Tn=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||Mf===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Sn=function(t,r,n){Tn(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Nf(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var kf={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Df=/[A-Z]|^ms/g,jf=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ds=function(t){return t.charCodeAt(1)===45},fs=function(t){return t!=null&&typeof t!="boolean"},Rn=rs(function(e){return ds(e)?e:e.replace(Df,"-$&").toLowerCase()}),ps=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(jf,function(n,o,i){return et={name:o,styles:i,next:et},o})}return kf[t]!==1&&!ds(t)&&typeof r=="number"&&r!==0?r+"px":r};function Yt(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return et={name:o.name,styles:o.styles,next:et},o.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)et={name:a.name,styles:a.styles,next:et},a=a.next;var u=i.styles+";";return u}return qf(e,t,r)}case"function":{if(e!==void 0){var c=et,d=r(e);return et=c,Yt(e,t,d)}break}}var f=r;if(t==null)return f;var p=t[f];return p!==void 0?p:f}function qf(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Yt(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var u=a;t!=null&&t[u]!==void 0?n+=i+"{"+t[u]+"}":fs(u)&&(n+=Rn(i)+":"+ps(i,u)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var c=0;c<a.length;c++)fs(a[c])&&(n+=Rn(i)+":"+ps(i,a[c])+";");else{var d=Yt(e,t,a);switch(i){case"animation":case"animationName":{n+=Rn(i)+":"+d+";";break}default:n+=i+"{"+d+"}"}}}return n}var hs=/label:\s*([^\s;{]+)\s*(;|$)/g,et;function wr(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";et=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Yt(r,t,i);else{var a=i;o+=a[0]}for(var u=1;u<e.length;u++)if(o+=Yt(r,t,e[u]),n){var c=i;o+=c[u]}hs.lastIndex=0;for(var d="",f;(f=hs.exec(o))!==null;)d+="-"+f[1];var p=Nf(o)+d;return{name:p,styles:o,next:et}}var Lf=function(t){return t()},ms=S.useInsertionEffect?S.useInsertionEffect:!1,gs=ms||Lf,ys=ms||S.useLayoutEffect,vs=S.createContext(typeof HTMLElement<"u"?is({key:"css"}):null),Ff=vs.Provider,Cn=function(t){return ae.forwardRef(function(r,n){var o=ae.useContext(vs);return t(r,o,n)})},Ht=S.createContext({}),On={}.hasOwnProperty,Pn="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Bf=function(t,r){var n={};for(var o in r)On.call(r,o)&&(n[o]=r[o]);return n[Pn]=t,n},zf=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Tn(r,n,o),gs(function(){return Sn(r,n,o)}),null},Vf=Cn(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[Pn],i=[n],a="";typeof e.className=="string"?a=ls(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var u=wr(i,void 0,S.useContext(Ht));a+=t.key+"-"+u.name;var c={};for(var d in e)On.call(e,d)&&d!=="css"&&d!==Pn&&(c[d]=e[d]);return c.className=a,r&&(c.ref=r),S.createElement(S.Fragment,null,S.createElement(zf,{cache:t,serialized:u,isStringTag:typeof o=="string"}),S.createElement(o,c))}),Wf=Vf,bs=function(t,r){var n=arguments;if(r==null||!On.call(r,"css"))return S.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=Wf,i[1]=Bf(t,r);for(var a=2;a<o;a++)i[a]=n[a];return S.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(bs||(bs={}));var Uf=Cn(function(e,t){var r=e.styles,n=wr([r],void 0,S.useContext(Ht)),o=S.useRef();return ys(function(){var i=t.key+"-global",a=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),u=!1,c=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),c!==null&&(u=!0,c.setAttribute("data-emotion",i),a.hydrate([c])),o.current=[a,u],function(){a.flush()}},[t]),ys(function(){var i=o.current,a=i[0],u=i[1];if(u){i[1]=!1;return}if(n.next!==void 0&&Sn(t,n.next,!0),a.tags.length){var c=a.tags[a.tags.length-1].nextElementSibling;a.before=c,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});function _s(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return wr(t)}function Ir(){var e=_s.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Gf=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Yf=rs(function(e){return Gf.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Hf=Yf,Kf=function(t){return t!=="theme"},xs=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Hf:Kf},Es=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Xf=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Tn(r,n,o),gs(function(){return Sn(r,n,o)}),null},Jf=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var u=Es(t,r,n),c=u||xs(o),d=!c("as");return function(){var f=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)p.push.apply(p,f);else{var m=f[0];p.push(m[0]);for(var b=f.length,v=1;v<b;v++)p.push(f[v],m[v])}var l=Cn(function(_,E,C){var T=d&&_.as||o,x="",y=[],$=_;if(_.theme==null){$={};for(var h in _)$[h]=_[h];$.theme=S.useContext(Ht)}typeof _.className=="string"?x=ls(E.registered,y,_.className):_.className!=null&&(x=_.className+" ");var O=wr(p.concat(y),E.registered,$);x+=E.key+"-"+O.name,a!==void 0&&(x+=" "+a);var R=d&&u===void 0?xs(T):c,I={};for(var M in _)d&&M==="as"||R(M)&&(I[M]=_[M]);return I.className=x,C&&(I.ref=C),S.createElement(S.Fragment,null,S.createElement(Xf,{cache:E,serialized:O,isStringTag:typeof T=="string"}),S.createElement(T,I))});return l.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",l.defaultProps=t.defaultProps,l.__emotion_real=l,l.__emotion_base=o,l.__emotion_styles=p,l.__emotion_forwardProp=u,Object.defineProperty(l,"toString",{value:function(){return"."+a}}),l.withComponent=function(_,E){var C=e(_,w({},r,E,{shouldForwardProp:Es(l,E,!0)}));return C.apply(void 0,p)},l}},Zf=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],wn=Jf.bind(null);Zf.forEach(function(e){wn[e]=wn(e)});var $r={exports:{}},Ar={exports:{}},de={};/** @license React v16.13.1
16
16
  * react-is.production.min.js
17
17
  *
18
18
  * Copyright (c) Facebook, Inc. and its affiliates.
19
19
  *
20
20
  * This source code is licensed under the MIT license found in the
21
21
  * LICENSE file in the root directory of this source tree.
22
- */var Ts;function ep(){if(Ts)return fe;Ts=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function T(y){if(typeof y=="object"&&y!==null){var A=y.$$typeof;switch(A){case t:switch(y=y.type,y){case c:case f:case n:case i:case o:case p:return y;default:switch(y=y&&y.$$typeof,y){case u:case d:case v:case b:case a:return y;default:return A}}case r:return A}}}function x(y){return T(y)===f}return fe.AsyncMode=c,fe.ConcurrentMode=f,fe.ContextConsumer=u,fe.ContextProvider=a,fe.Element=t,fe.ForwardRef=d,fe.Fragment=n,fe.Lazy=v,fe.Memo=b,fe.Portal=r,fe.Profiler=i,fe.StrictMode=o,fe.Suspense=p,fe.isAsyncMode=function(y){return x(y)||T(y)===c},fe.isConcurrentMode=x,fe.isContextConsumer=function(y){return T(y)===u},fe.isContextProvider=function(y){return T(y)===a},fe.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===t},fe.isForwardRef=function(y){return T(y)===d},fe.isFragment=function(y){return T(y)===n},fe.isLazy=function(y){return T(y)===v},fe.isMemo=function(y){return T(y)===b},fe.isPortal=function(y){return T(y)===r},fe.isProfiler=function(y){return T(y)===i},fe.isStrictMode=function(y){return T(y)===o},fe.isSuspense=function(y){return T(y)===p},fe.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===n||y===f||y===i||y===o||y===p||y===m||typeof y=="object"&&y!==null&&(y.$$typeof===v||y.$$typeof===b||y.$$typeof===a||y.$$typeof===u||y.$$typeof===d||y.$$typeof===_||y.$$typeof===E||y.$$typeof===C||y.$$typeof===l)},fe.typeOf=T,fe}var de={};/** @license React v16.13.1
22
+ */var Ts;function Qf(){if(Ts)return de;Ts=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function T(y){if(typeof y=="object"&&y!==null){var $=y.$$typeof;switch($){case t:switch(y=y.type,y){case c:case d:case n:case i:case o:case p:return y;default:switch(y=y&&y.$$typeof,y){case u:case f:case v:case b:case a:return y;default:return $}}case r:return $}}}function x(y){return T(y)===d}return de.AsyncMode=c,de.ConcurrentMode=d,de.ContextConsumer=u,de.ContextProvider=a,de.Element=t,de.ForwardRef=f,de.Fragment=n,de.Lazy=v,de.Memo=b,de.Portal=r,de.Profiler=i,de.StrictMode=o,de.Suspense=p,de.isAsyncMode=function(y){return x(y)||T(y)===c},de.isConcurrentMode=x,de.isContextConsumer=function(y){return T(y)===u},de.isContextProvider=function(y){return T(y)===a},de.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===t},de.isForwardRef=function(y){return T(y)===f},de.isFragment=function(y){return T(y)===n},de.isLazy=function(y){return T(y)===v},de.isMemo=function(y){return T(y)===b},de.isPortal=function(y){return T(y)===r},de.isProfiler=function(y){return T(y)===i},de.isStrictMode=function(y){return T(y)===o},de.isSuspense=function(y){return T(y)===p},de.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===n||y===d||y===i||y===o||y===p||y===m||typeof y=="object"&&y!==null&&(y.$$typeof===v||y.$$typeof===b||y.$$typeof===a||y.$$typeof===u||y.$$typeof===f||y.$$typeof===_||y.$$typeof===E||y.$$typeof===C||y.$$typeof===l)},de.typeOf=T,de}var fe={};/** @license React v16.13.1
23
23
  * react-is.development.js
24
24
  *
25
25
  * Copyright (c) Facebook, Inc. and its affiliates.
26
26
  *
27
27
  * This source code is licensed under the MIT license found in the
28
28
  * LICENSE file in the root directory of this source tree.
29
- */var Ss;function tp(){return Ss||(Ss=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function T(P){return typeof P=="string"||typeof P=="function"||P===n||P===f||P===i||P===o||P===p||P===m||typeof P=="object"&&P!==null&&(P.$$typeof===v||P.$$typeof===b||P.$$typeof===a||P.$$typeof===u||P.$$typeof===d||P.$$typeof===_||P.$$typeof===E||P.$$typeof===C||P.$$typeof===l)}function x(P){if(typeof P=="object"&&P!==null){var ge=P.$$typeof;switch(ge){case t:var ie=P.type;switch(ie){case c:case f:case n:case i:case o:case p:return ie;default:var Se=ie&&ie.$$typeof;switch(Se){case u:case d:case v:case b:case a:return Se;default:return ge}}case r:return ge}}}var y=c,A=f,h=u,O=a,R=t,I=d,M=n,F=v,D=b,L=r,B=i,q=o,G=p,Z=!1;function Pe(P){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),$(P)||x(P)===c}function $(P){return x(P)===f}function j(P){return x(P)===u}function Q(P){return x(P)===a}function X(P){return typeof P=="object"&&P!==null&&P.$$typeof===t}function V(P){return x(P)===d}function H(P){return x(P)===n}function Y(P){return x(P)===v}function K(P){return x(P)===b}function W(P){return x(P)===r}function U(P){return x(P)===i}function J(P){return x(P)===o}function be(P){return x(P)===p}de.AsyncMode=y,de.ConcurrentMode=A,de.ContextConsumer=h,de.ContextProvider=O,de.Element=R,de.ForwardRef=I,de.Fragment=M,de.Lazy=F,de.Memo=D,de.Portal=L,de.Profiler=B,de.StrictMode=q,de.Suspense=G,de.isAsyncMode=Pe,de.isConcurrentMode=$,de.isContextConsumer=j,de.isContextProvider=Q,de.isElement=X,de.isForwardRef=V,de.isFragment=H,de.isLazy=Y,de.isMemo=K,de.isPortal=W,de.isProfiler=U,de.isStrictMode=J,de.isSuspense=be,de.isValidElementType=T,de.typeOf=x}()),de}var Rs;function Cs(){return Rs||(Rs=1,process.env.NODE_ENV==="production"?$r.exports=ep():$r.exports=tp()),$r.exports}/*
29
+ */var Ss;function ep(){return Ss||(Ss=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function T(P){return typeof P=="string"||typeof P=="function"||P===n||P===d||P===i||P===o||P===p||P===m||typeof P=="object"&&P!==null&&(P.$$typeof===v||P.$$typeof===b||P.$$typeof===a||P.$$typeof===u||P.$$typeof===f||P.$$typeof===_||P.$$typeof===E||P.$$typeof===C||P.$$typeof===l)}function x(P){if(typeof P=="object"&&P!==null){var ge=P.$$typeof;switch(ge){case t:var ie=P.type;switch(ie){case c:case d:case n:case i:case o:case p:return ie;default:var Se=ie&&ie.$$typeof;switch(Se){case u:case f:case v:case b:case a:return Se;default:return ge}}case r:return ge}}}var y=c,$=d,h=u,O=a,R=t,I=f,M=n,F=v,D=b,L=r,B=i,q=o,G=p,Z=!1;function Pe(P){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),A(P)||x(P)===c}function A(P){return x(P)===d}function j(P){return x(P)===u}function Q(P){return x(P)===a}function X(P){return typeof P=="object"&&P!==null&&P.$$typeof===t}function V(P){return x(P)===f}function H(P){return x(P)===n}function Y(P){return x(P)===v}function K(P){return x(P)===b}function W(P){return x(P)===r}function U(P){return x(P)===i}function J(P){return x(P)===o}function be(P){return x(P)===p}fe.AsyncMode=y,fe.ConcurrentMode=$,fe.ContextConsumer=h,fe.ContextProvider=O,fe.Element=R,fe.ForwardRef=I,fe.Fragment=M,fe.Lazy=F,fe.Memo=D,fe.Portal=L,fe.Profiler=B,fe.StrictMode=q,fe.Suspense=G,fe.isAsyncMode=Pe,fe.isConcurrentMode=A,fe.isContextConsumer=j,fe.isContextProvider=Q,fe.isElement=X,fe.isForwardRef=V,fe.isFragment=H,fe.isLazy=Y,fe.isMemo=K,fe.isPortal=W,fe.isProfiler=U,fe.isStrictMode=J,fe.isSuspense=be,fe.isValidElementType=T,fe.typeOf=x}()),fe}var Rs;function Cs(){return Rs||(Rs=1,process.env.NODE_ENV==="production"?Ar.exports=Qf():Ar.exports=ep()),Ar.exports}/*
30
30
  object-assign
31
31
  (c) Sindre Sorhus
32
32
  @license MIT
33
- */var An,Os;function rp(){if(Os)return An;Os=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},u=0;u<10;u++)a["_"+String.fromCharCode(u)]=u;var c=Object.getOwnPropertyNames(a).map(function(d){return a[d]});if(c.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(d){f[d]=d}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return An=o()?Object.assign:function(i,a){for(var u,c=n(i),f,d=1;d<arguments.length;d++){u=Object(arguments[d]);for(var p in u)t.call(u,p)&&(c[p]=u[p]);if(e){f=e(u);for(var m=0;m<f.length;m++)r.call(u,f[m])&&(c[f[m]]=u[f[m]])}}return c},An}var $n,Ps;function Mn(){if(Ps)return $n;Ps=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return $n=e,$n}var Nn,ws;function Is(){return ws||(ws=1,Nn=Function.call.bind(Object.prototype.hasOwnProperty)),Nn}var kn,As;function np(){if(As)return kn;As=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Mn(),r={},n=Is();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,u,c,f){if(process.env.NODE_ENV!=="production"){for(var d in i)if(n(i,d)){var p;try{if(typeof i[d]!="function"){var m=Error((c||"React class")+": "+u+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}p=i[d](a,d,c,u,null,t)}catch(v){p=v}if(p&&!(p instanceof Error)&&e((c||"React class")+": type specification of "+u+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in r)){r[p.message]=!0;var b=f?f():"";e("Failed "+u+" type: "+p.message+(b??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},kn=o,kn}var Dn,$s;function op(){if($s)return Dn;$s=1;var e=Cs(),t=rp(),r=Mn(),n=Is(),o=np(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(u){var c="Warning: "+u;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function a(){return null}return Dn=function(u,c){var f=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function p($){var j=$&&(f&&$[f]||$[d]);if(typeof j=="function")return j}var m="<<anonymous>>",b={array:E("array"),bigint:E("bigint"),bool:E("boolean"),func:E("function"),number:E("number"),object:E("object"),string:E("string"),symbol:E("symbol"),any:C(),arrayOf:T,element:x(),elementType:y(),instanceOf:A,node:I(),objectOf:O,oneOf:h,oneOfType:R,shape:F,exact:D};function v($,j){return $===j?$!==0||1/$===1/j:$!==$&&j!==j}function l($,j){this.message=$,this.data=j&&typeof j=="object"?j:{},this.stack=""}l.prototype=Error.prototype;function _($){if(process.env.NODE_ENV!=="production")var j={},Q=0;function X(H,Y,K,W,U,J,be){if(W=W||m,J=J||K,be!==r){if(c){var P=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw P.name="Invariant Violation",P}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ge=W+":"+K;!j[ge]&&Q<3&&(i("You are manually calling a React.PropTypes validation function for the `"+J+"` prop on `"+W+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),j[ge]=!0,Q++)}}return Y[K]==null?H?Y[K]===null?new l("The "+U+" `"+J+"` is marked as required "+("in `"+W+"`, but its value is `null`.")):new l("The "+U+" `"+J+"` is marked as required in "+("`"+W+"`, but its value is `undefined`.")):null:$(Y,K,W,U,J)}var V=X.bind(null,!1);return V.isRequired=X.bind(null,!0),V}function E($){function j(Q,X,V,H,Y,K){var W=Q[X],U=q(W);if(U!==$){var J=G(W);return new l("Invalid "+H+" `"+Y+"` of type "+("`"+J+"` supplied to `"+V+"`, expected ")+("`"+$+"`."),{expectedType:$})}return null}return _(j)}function C(){return _(a)}function T($){function j(Q,X,V,H,Y){if(typeof $!="function")return new l("Property `"+Y+"` of component `"+V+"` has invalid PropType notation inside arrayOf.");var K=Q[X];if(!Array.isArray(K)){var W=q(K);return new l("Invalid "+H+" `"+Y+"` of type "+("`"+W+"` supplied to `"+V+"`, expected an array."))}for(var U=0;U<K.length;U++){var J=$(K,U,V,H,Y+"["+U+"]",r);if(J instanceof Error)return J}return null}return _(j)}function x(){function $(j,Q,X,V,H){var Y=j[Q];if(!u(Y)){var K=q(Y);return new l("Invalid "+V+" `"+H+"` of type "+("`"+K+"` supplied to `"+X+"`, expected a single ReactElement."))}return null}return _($)}function y(){function $(j,Q,X,V,H){var Y=j[Q];if(!e.isValidElementType(Y)){var K=q(Y);return new l("Invalid "+V+" `"+H+"` of type "+("`"+K+"` supplied to `"+X+"`, expected a single ReactElement type."))}return null}return _($)}function A($){function j(Q,X,V,H,Y){if(!(Q[X]instanceof $)){var K=$.name||m,W=Pe(Q[X]);return new l("Invalid "+H+" `"+Y+"` of type "+("`"+W+"` supplied to `"+V+"`, expected ")+("instance of `"+K+"`."))}return null}return _(j)}function h($){if(!Array.isArray($))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function j(Q,X,V,H,Y){for(var K=Q[X],W=0;W<$.length;W++)if(v(K,$[W]))return null;var U=JSON.stringify($,function(be,P){var ge=G(P);return ge==="symbol"?String(P):P});return new l("Invalid "+H+" `"+Y+"` of value `"+String(K)+"` "+("supplied to `"+V+"`, expected one of "+U+"."))}return _(j)}function O($){function j(Q,X,V,H,Y){if(typeof $!="function")return new l("Property `"+Y+"` of component `"+V+"` has invalid PropType notation inside objectOf.");var K=Q[X],W=q(K);if(W!=="object")return new l("Invalid "+H+" `"+Y+"` of type "+("`"+W+"` supplied to `"+V+"`, expected an object."));for(var U in K)if(n(K,U)){var J=$(K,U,V,H,Y+"."+U,r);if(J instanceof Error)return J}return null}return _(j)}function R($){if(!Array.isArray($))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var j=0;j<$.length;j++){var Q=$[j];if(typeof Q!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Z(Q)+" at index "+j+"."),a}function X(V,H,Y,K,W){for(var U=[],J=0;J<$.length;J++){var be=$[J],P=be(V,H,Y,K,W,r);if(P==null)return null;P.data&&n(P.data,"expectedType")&&U.push(P.data.expectedType)}var ge=U.length>0?", expected one of type ["+U.join(", ")+"]":"";return new l("Invalid "+K+" `"+W+"` supplied to "+("`"+Y+"`"+ge+"."))}return _(X)}function I(){function $(j,Q,X,V,H){return L(j[Q])?null:new l("Invalid "+V+" `"+H+"` supplied to "+("`"+X+"`, expected a ReactNode."))}return _($)}function M($,j,Q,X,V){return new l(($||"React class")+": "+j+" type `"+Q+"."+X+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+V+"`.")}function F($){function j(Q,X,V,H,Y){var K=Q[X],W=q(K);if(W!=="object")return new l("Invalid "+H+" `"+Y+"` of type `"+W+"` "+("supplied to `"+V+"`, expected `object`."));for(var U in $){var J=$[U];if(typeof J!="function")return M(V,H,Y,U,G(J));var be=J(K,U,V,H,Y+"."+U,r);if(be)return be}return null}return _(j)}function D($){function j(Q,X,V,H,Y){var K=Q[X],W=q(K);if(W!=="object")return new l("Invalid "+H+" `"+Y+"` of type `"+W+"` "+("supplied to `"+V+"`, expected `object`."));var U=t({},Q[X],$);for(var J in U){var be=$[J];if(n($,J)&&typeof be!="function")return M(V,H,Y,J,G(be));if(!be)return new l("Invalid "+H+" `"+Y+"` key `"+J+"` supplied to `"+V+"`.\nBad object: "+JSON.stringify(Q[X],null," ")+`
34
- Valid keys: `+JSON.stringify(Object.keys($),null," "));var P=be(K,J,V,H,Y+"."+J,r);if(P)return P}return null}return _(j)}function L($){switch(typeof $){case"number":case"string":case"undefined":return!0;case"boolean":return!$;case"object":if(Array.isArray($))return $.every(L);if($===null||u($))return!0;var j=p($);if(j){var Q=j.call($),X;if(j!==$.entries){for(;!(X=Q.next()).done;)if(!L(X.value))return!1}else for(;!(X=Q.next()).done;){var V=X.value;if(V&&!L(V[1]))return!1}}else return!1;return!0;default:return!1}}function B($,j){return $==="symbol"?!0:j?j["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&j instanceof Symbol:!1}function q($){var j=typeof $;return Array.isArray($)?"array":$ instanceof RegExp?"object":B(j,$)?"symbol":j}function G($){if(typeof $>"u"||$===null)return""+$;var j=q($);if(j==="object"){if($ instanceof Date)return"date";if($ instanceof RegExp)return"regexp"}return j}function Z($){var j=G($);switch(j){case"array":case"object":return"an "+j;case"boolean":case"date":case"regexp":return"a "+j;default:return j}}function Pe($){return!$.constructor||!$.constructor.name?m:$.constructor.name}return b.checkPropTypes=o,b.resetWarningCache=o.resetWarningCache,b.PropTypes=b,b},Dn}var jn,Ms;function ip(){if(Ms)return jn;Ms=1;var e=Mn();function t(){}function r(){}return r.resetWarningCache=t,jn=function(){function n(a,u,c,f,d,p){if(p!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},jn}var Ns;function ap(){if(Ns)return Ar.exports;if(Ns=1,process.env.NODE_ENV!=="production"){var e=Cs(),t=!0;Ar.exports=op()(e.isElement,t)}else Ar.exports=ip()();return Ar.exports}var sp=ap();const s=br(sp);var Mr={exports:{}},Kt={};/**
33
+ */var In,Os;function tp(){if(Os)return In;Os=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},u=0;u<10;u++)a["_"+String.fromCharCode(u)]=u;var c=Object.getOwnPropertyNames(a).map(function(f){return a[f]});if(c.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(f){d[f]=f}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return In=o()?Object.assign:function(i,a){for(var u,c=n(i),d,f=1;f<arguments.length;f++){u=Object(arguments[f]);for(var p in u)t.call(u,p)&&(c[p]=u[p]);if(e){d=e(u);for(var m=0;m<d.length;m++)r.call(u,d[m])&&(c[d[m]]=u[d[m]])}}return c},In}var $n,Ps;function An(){if(Ps)return $n;Ps=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return $n=e,$n}var Mn,ws;function Is(){return ws||(ws=1,Mn=Function.call.bind(Object.prototype.hasOwnProperty)),Mn}var Nn,$s;function rp(){if($s)return Nn;$s=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=An(),r={},n=Is();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,u,c,d){if(process.env.NODE_ENV!=="production"){for(var f in i)if(n(i,f)){var p;try{if(typeof i[f]!="function"){var m=Error((c||"React class")+": "+u+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}p=i[f](a,f,c,u,null,t)}catch(v){p=v}if(p&&!(p instanceof Error)&&e((c||"React class")+": type specification of "+u+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in r)){r[p.message]=!0;var b=d?d():"";e("Failed "+u+" type: "+p.message+(b??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Nn=o,Nn}var kn,As;function np(){if(As)return kn;As=1;var e=Cs(),t=tp(),r=An(),n=Is(),o=rp(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(u){var c="Warning: "+u;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function a(){return null}return kn=function(u,c){var d=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function p(A){var j=A&&(d&&A[d]||A[f]);if(typeof j=="function")return j}var m="<<anonymous>>",b={array:E("array"),bigint:E("bigint"),bool:E("boolean"),func:E("function"),number:E("number"),object:E("object"),string:E("string"),symbol:E("symbol"),any:C(),arrayOf:T,element:x(),elementType:y(),instanceOf:$,node:I(),objectOf:O,oneOf:h,oneOfType:R,shape:F,exact:D};function v(A,j){return A===j?A!==0||1/A===1/j:A!==A&&j!==j}function l(A,j){this.message=A,this.data=j&&typeof j=="object"?j:{},this.stack=""}l.prototype=Error.prototype;function _(A){if(process.env.NODE_ENV!=="production")var j={},Q=0;function X(H,Y,K,W,U,J,be){if(W=W||m,J=J||K,be!==r){if(c){var P=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw P.name="Invariant Violation",P}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ge=W+":"+K;!j[ge]&&Q<3&&(i("You are manually calling a React.PropTypes validation function for the `"+J+"` prop on `"+W+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),j[ge]=!0,Q++)}}return Y[K]==null?H?Y[K]===null?new l("The "+U+" `"+J+"` is marked as required "+("in `"+W+"`, but its value is `null`.")):new l("The "+U+" `"+J+"` is marked as required in "+("`"+W+"`, but its value is `undefined`.")):null:A(Y,K,W,U,J)}var V=X.bind(null,!1);return V.isRequired=X.bind(null,!0),V}function E(A){function j(Q,X,V,H,Y,K){var W=Q[X],U=q(W);if(U!==A){var J=G(W);return new l("Invalid "+H+" `"+Y+"` of type "+("`"+J+"` supplied to `"+V+"`, expected ")+("`"+A+"`."),{expectedType:A})}return null}return _(j)}function C(){return _(a)}function T(A){function j(Q,X,V,H,Y){if(typeof A!="function")return new l("Property `"+Y+"` of component `"+V+"` has invalid PropType notation inside arrayOf.");var K=Q[X];if(!Array.isArray(K)){var W=q(K);return new l("Invalid "+H+" `"+Y+"` of type "+("`"+W+"` supplied to `"+V+"`, expected an array."))}for(var U=0;U<K.length;U++){var J=A(K,U,V,H,Y+"["+U+"]",r);if(J instanceof Error)return J}return null}return _(j)}function x(){function A(j,Q,X,V,H){var Y=j[Q];if(!u(Y)){var K=q(Y);return new l("Invalid "+V+" `"+H+"` of type "+("`"+K+"` supplied to `"+X+"`, expected a single ReactElement."))}return null}return _(A)}function y(){function A(j,Q,X,V,H){var Y=j[Q];if(!e.isValidElementType(Y)){var K=q(Y);return new l("Invalid "+V+" `"+H+"` of type "+("`"+K+"` supplied to `"+X+"`, expected a single ReactElement type."))}return null}return _(A)}function $(A){function j(Q,X,V,H,Y){if(!(Q[X]instanceof A)){var K=A.name||m,W=Pe(Q[X]);return new l("Invalid "+H+" `"+Y+"` of type "+("`"+W+"` supplied to `"+V+"`, expected ")+("instance of `"+K+"`."))}return null}return _(j)}function h(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function j(Q,X,V,H,Y){for(var K=Q[X],W=0;W<A.length;W++)if(v(K,A[W]))return null;var U=JSON.stringify(A,function(be,P){var ge=G(P);return ge==="symbol"?String(P):P});return new l("Invalid "+H+" `"+Y+"` of value `"+String(K)+"` "+("supplied to `"+V+"`, expected one of "+U+"."))}return _(j)}function O(A){function j(Q,X,V,H,Y){if(typeof A!="function")return new l("Property `"+Y+"` of component `"+V+"` has invalid PropType notation inside objectOf.");var K=Q[X],W=q(K);if(W!=="object")return new l("Invalid "+H+" `"+Y+"` of type "+("`"+W+"` supplied to `"+V+"`, expected an object."));for(var U in K)if(n(K,U)){var J=A(K,U,V,H,Y+"."+U,r);if(J instanceof Error)return J}return null}return _(j)}function R(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var j=0;j<A.length;j++){var Q=A[j];if(typeof Q!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Z(Q)+" at index "+j+"."),a}function X(V,H,Y,K,W){for(var U=[],J=0;J<A.length;J++){var be=A[J],P=be(V,H,Y,K,W,r);if(P==null)return null;P.data&&n(P.data,"expectedType")&&U.push(P.data.expectedType)}var ge=U.length>0?", expected one of type ["+U.join(", ")+"]":"";return new l("Invalid "+K+" `"+W+"` supplied to "+("`"+Y+"`"+ge+"."))}return _(X)}function I(){function A(j,Q,X,V,H){return L(j[Q])?null:new l("Invalid "+V+" `"+H+"` supplied to "+("`"+X+"`, expected a ReactNode."))}return _(A)}function M(A,j,Q,X,V){return new l((A||"React class")+": "+j+" type `"+Q+"."+X+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+V+"`.")}function F(A){function j(Q,X,V,H,Y){var K=Q[X],W=q(K);if(W!=="object")return new l("Invalid "+H+" `"+Y+"` of type `"+W+"` "+("supplied to `"+V+"`, expected `object`."));for(var U in A){var J=A[U];if(typeof J!="function")return M(V,H,Y,U,G(J));var be=J(K,U,V,H,Y+"."+U,r);if(be)return be}return null}return _(j)}function D(A){function j(Q,X,V,H,Y){var K=Q[X],W=q(K);if(W!=="object")return new l("Invalid "+H+" `"+Y+"` of type `"+W+"` "+("supplied to `"+V+"`, expected `object`."));var U=t({},Q[X],A);for(var J in U){var be=A[J];if(n(A,J)&&typeof be!="function")return M(V,H,Y,J,G(be));if(!be)return new l("Invalid "+H+" `"+Y+"` key `"+J+"` supplied to `"+V+"`.\nBad object: "+JSON.stringify(Q[X],null," ")+`
34
+ Valid keys: `+JSON.stringify(Object.keys(A),null," "));var P=be(K,J,V,H,Y+"."+J,r);if(P)return P}return null}return _(j)}function L(A){switch(typeof A){case"number":case"string":case"undefined":return!0;case"boolean":return!A;case"object":if(Array.isArray(A))return A.every(L);if(A===null||u(A))return!0;var j=p(A);if(j){var Q=j.call(A),X;if(j!==A.entries){for(;!(X=Q.next()).done;)if(!L(X.value))return!1}else for(;!(X=Q.next()).done;){var V=X.value;if(V&&!L(V[1]))return!1}}else return!1;return!0;default:return!1}}function B(A,j){return A==="symbol"?!0:j?j["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&j instanceof Symbol:!1}function q(A){var j=typeof A;return Array.isArray(A)?"array":A instanceof RegExp?"object":B(j,A)?"symbol":j}function G(A){if(typeof A>"u"||A===null)return""+A;var j=q(A);if(j==="object"){if(A instanceof Date)return"date";if(A instanceof RegExp)return"regexp"}return j}function Z(A){var j=G(A);switch(j){case"array":case"object":return"an "+j;case"boolean":case"date":case"regexp":return"a "+j;default:return j}}function Pe(A){return!A.constructor||!A.constructor.name?m:A.constructor.name}return b.checkPropTypes=o,b.resetWarningCache=o.resetWarningCache,b.PropTypes=b,b},kn}var Dn,Ms;function op(){if(Ms)return Dn;Ms=1;var e=An();function t(){}function r(){}return r.resetWarningCache=t,Dn=function(){function n(a,u,c,d,f,p){if(p!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},Dn}var Ns;function ip(){if(Ns)return $r.exports;if(Ns=1,process.env.NODE_ENV!=="production"){var e=Cs(),t=!0;$r.exports=np()(e.isElement,t)}else $r.exports=op()();return $r.exports}var ap=ip();const s=br(ap);var Mr={exports:{}},Kt={};/**
35
35
  * @license React
36
36
  * react-jsx-runtime.production.min.js
37
37
  *
@@ -39,7 +39,7 @@ Valid keys: `+JSON.stringify(Object.keys($),null," "));var P=be(K,J,V,H,Y+"."+J
39
39
  *
40
40
  * This source code is licensed under the MIT license found in the
41
41
  * LICENSE file in the root directory of this source tree.
42
- */var ks;function up(){if(ks)return Kt;ks=1;var e=ae,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(u,c,f){var d,p={},m=null,b=null;f!==void 0&&(m=""+f),c.key!==void 0&&(m=""+c.key),c.ref!==void 0&&(b=c.ref);for(d in c)n.call(c,d)&&!i.hasOwnProperty(d)&&(p[d]=c[d]);if(u&&u.defaultProps)for(d in c=u.defaultProps,c)p[d]===void 0&&(p[d]=c[d]);return{$$typeof:t,type:u,key:m,ref:b,props:p,_owner:o.current}}return Kt.Fragment=r,Kt.jsx=a,Kt.jsxs=a,Kt}var Xt={};/**
42
+ */var ks;function sp(){if(ks)return Kt;ks=1;var e=ae,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(u,c,d){var f,p={},m=null,b=null;d!==void 0&&(m=""+d),c.key!==void 0&&(m=""+c.key),c.ref!==void 0&&(b=c.ref);for(f in c)n.call(c,f)&&!i.hasOwnProperty(f)&&(p[f]=c[f]);if(u&&u.defaultProps)for(f in c=u.defaultProps,c)p[f]===void 0&&(p[f]=c[f]);return{$$typeof:t,type:u,key:m,ref:b,props:p,_owner:o.current}}return Kt.Fragment=r,Kt.jsx=a,Kt.jsxs=a,Kt}var Xt={};/**
43
43
  * @license React
44
44
  * react-jsx-runtime.development.js
45
45
  *
@@ -47,27 +47,27 @@ Valid keys: `+JSON.stringify(Object.keys($),null," "));var P=be(K,J,V,H,Y+"."+J
47
47
  *
48
48
  * This source code is licensed under the MIT license found in the
49
49
  * LICENSE file in the root directory of this source tree.
50
- */var Ds;function cp(){return Ds||(Ds=1,process.env.NODE_ENV!=="production"&&function(){var e=ae,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),v=Symbol.iterator,l="@@iterator";function _(g){if(g===null||typeof g!="object")return null;var N=v&&g[v]||g[l];return typeof N=="function"?N:null}var E=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function C(g){{for(var N=arguments.length,z=new Array(N>1?N-1:0),ee=1;ee<N;ee++)z[ee-1]=arguments[ee];T("error",g,z)}}function T(g,N,z){{var ee=E.ReactDebugCurrentFrame,he=ee.getStackAddendum();he!==""&&(N+="%s",z=z.concat([he]));var _e=z.map(function(oe){return String(oe)});_e.unshift("Warning: "+N),Function.prototype.apply.call(console[g],console,_e)}}var x=!1,y=!1,A=!1,h=!1,O=!1,R;R=Symbol.for("react.module.reference");function I(g){return!!(typeof g=="string"||typeof g=="function"||g===n||g===i||O||g===o||g===f||g===d||h||g===b||x||y||A||typeof g=="object"&&g!==null&&(g.$$typeof===m||g.$$typeof===p||g.$$typeof===a||g.$$typeof===u||g.$$typeof===c||g.$$typeof===R||g.getModuleId!==void 0))}function M(g,N,z){var ee=g.displayName;if(ee)return ee;var he=N.displayName||N.name||"";return he!==""?z+"("+he+")":z}function F(g){return g.displayName||"Context"}function D(g){if(g==null)return null;if(typeof g.tag=="number"&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof g=="function")return g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case f:return"Suspense";case d:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case u:var N=g;return F(N)+".Consumer";case a:var z=g;return F(z._context)+".Provider";case c:return M(g,g.render,"ForwardRef");case p:var ee=g.displayName||null;return ee!==null?ee:D(g.type)||"Memo";case m:{var he=g,_e=he._payload,oe=he._init;try{return D(oe(_e))}catch{return null}}}return null}var L=Object.assign,B=0,q,G,Z,Pe,$,j,Q;function X(){}X.__reactDisabledLog=!0;function V(){{if(B===0){q=console.log,G=console.info,Z=console.warn,Pe=console.error,$=console.group,j=console.groupCollapsed,Q=console.groupEnd;var g={configurable:!0,enumerable:!0,value:X,writable:!0};Object.defineProperties(console,{info:g,log:g,warn:g,error:g,group:g,groupCollapsed:g,groupEnd:g})}B++}}function H(){{if(B--,B===0){var g={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},g,{value:q}),info:L({},g,{value:G}),warn:L({},g,{value:Z}),error:L({},g,{value:Pe}),group:L({},g,{value:$}),groupCollapsed:L({},g,{value:j}),groupEnd:L({},g,{value:Q})})}B<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Y=E.ReactCurrentDispatcher,K;function W(g,N,z){{if(K===void 0)try{throw Error()}catch(he){var ee=he.stack.trim().match(/\n( *(at )?)/);K=ee&&ee[1]||""}return`
50
+ */var Ds;function up(){return Ds||(Ds=1,process.env.NODE_ENV!=="production"&&function(){var e=ae,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),v=Symbol.iterator,l="@@iterator";function _(g){if(g===null||typeof g!="object")return null;var N=v&&g[v]||g[l];return typeof N=="function"?N:null}var E=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function C(g){{for(var N=arguments.length,z=new Array(N>1?N-1:0),ee=1;ee<N;ee++)z[ee-1]=arguments[ee];T("error",g,z)}}function T(g,N,z){{var ee=E.ReactDebugCurrentFrame,he=ee.getStackAddendum();he!==""&&(N+="%s",z=z.concat([he]));var _e=z.map(function(oe){return String(oe)});_e.unshift("Warning: "+N),Function.prototype.apply.call(console[g],console,_e)}}var x=!1,y=!1,$=!1,h=!1,O=!1,R;R=Symbol.for("react.module.reference");function I(g){return!!(typeof g=="string"||typeof g=="function"||g===n||g===i||O||g===o||g===d||g===f||h||g===b||x||y||$||typeof g=="object"&&g!==null&&(g.$$typeof===m||g.$$typeof===p||g.$$typeof===a||g.$$typeof===u||g.$$typeof===c||g.$$typeof===R||g.getModuleId!==void 0))}function M(g,N,z){var ee=g.displayName;if(ee)return ee;var he=N.displayName||N.name||"";return he!==""?z+"("+he+")":z}function F(g){return g.displayName||"Context"}function D(g){if(g==null)return null;if(typeof g.tag=="number"&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof g=="function")return g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case d:return"Suspense";case f:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case u:var N=g;return F(N)+".Consumer";case a:var z=g;return F(z._context)+".Provider";case c:return M(g,g.render,"ForwardRef");case p:var ee=g.displayName||null;return ee!==null?ee:D(g.type)||"Memo";case m:{var he=g,_e=he._payload,oe=he._init;try{return D(oe(_e))}catch{return null}}}return null}var L=Object.assign,B=0,q,G,Z,Pe,A,j,Q;function X(){}X.__reactDisabledLog=!0;function V(){{if(B===0){q=console.log,G=console.info,Z=console.warn,Pe=console.error,A=console.group,j=console.groupCollapsed,Q=console.groupEnd;var g={configurable:!0,enumerable:!0,value:X,writable:!0};Object.defineProperties(console,{info:g,log:g,warn:g,error:g,group:g,groupCollapsed:g,groupEnd:g})}B++}}function H(){{if(B--,B===0){var g={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},g,{value:q}),info:L({},g,{value:G}),warn:L({},g,{value:Z}),error:L({},g,{value:Pe}),group:L({},g,{value:A}),groupCollapsed:L({},g,{value:j}),groupEnd:L({},g,{value:Q})})}B<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Y=E.ReactCurrentDispatcher,K;function W(g,N,z){{if(K===void 0)try{throw Error()}catch(he){var ee=he.stack.trim().match(/\n( *(at )?)/);K=ee&&ee[1]||""}return`
51
51
  `+K+g}}var U=!1,J;{var be=typeof WeakMap=="function"?WeakMap:Map;J=new be}function P(g,N){if(!g||U)return"";{var z=J.get(g);if(z!==void 0)return z}var ee;U=!0;var he=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var _e;_e=Y.current,Y.current=null,V();try{if(N){var oe=function(){throw Error()};if(Object.defineProperty(oe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(oe,[])}catch(Be){ee=Be}Reflect.construct(g,[],oe)}else{try{oe.call()}catch(Be){ee=Be}g.call(oe.prototype)}}else{try{throw Error()}catch(Be){ee=Be}g()}}catch(Be){if(Be&&ee&&typeof Be.stack=="string"){for(var re=Be.stack.split(`
52
52
  `),Le=ee.stack.split(`
53
- `),we=re.length-1,$e=Le.length-1;we>=1&&$e>=0&&re[we]!==Le[$e];)$e--;for(;we>=1&&$e>=0;we--,$e--)if(re[we]!==Le[$e]){if(we!==1||$e!==1)do if(we--,$e--,$e<0||re[we]!==Le[$e]){var Ke=`
54
- `+re[we].replace(" at new "," at ");return g.displayName&&Ke.includes("<anonymous>")&&(Ke=Ke.replace("<anonymous>",g.displayName)),typeof g=="function"&&J.set(g,Ke),Ke}while(we>=1&&$e>=0);break}}}finally{U=!1,Y.current=_e,H(),Error.prepareStackTrace=he}var Bt=g?g.displayName||g.name:"",_t=Bt?W(Bt):"";return typeof g=="function"&&J.set(g,_t),_t}function ge(g,N,z){return P(g,!1)}function ie(g){var N=g.prototype;return!!(N&&N.isReactComponent)}function Se(g,N,z){if(g==null)return"";if(typeof g=="function")return P(g,ie(g));if(typeof g=="string")return W(g);switch(g){case f:return W("Suspense");case d:return W("SuspenseList")}if(typeof g=="object")switch(g.$$typeof){case c:return ge(g.render);case p:return Se(g.type,N,z);case m:{var ee=g,he=ee._payload,_e=ee._init;try{return Se(_e(he),N,z)}catch{}}}return""}var We=Object.prototype.hasOwnProperty,ut={},qt=E.ReactDebugCurrentFrame;function pt(g){if(g){var N=g._owner,z=Se(g.type,g._source,N?N.type:null);qt.setExtraStackFrame(z)}else qt.setExtraStackFrame(null)}function pr(g,N,z,ee,he){{var _e=Function.call.bind(We);for(var oe in g)if(_e(g,oe)){var re=void 0;try{if(typeof g[oe]!="function"){var Le=Error((ee||"React class")+": "+z+" type `"+oe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof g[oe]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Le.name="Invariant Violation",Le}re=g[oe](N,oe,ee,z,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(we){re=we}re&&!(re instanceof Error)&&(pt(he),C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ee||"React class",z,oe,typeof re),pt(null)),re instanceof Error&&!(re.message in ut)&&(ut[re.message]=!0,pt(he),C("Failed %s type: %s",z,re.message),pt(null))}}}var hr=Array.isArray;function mr(g){return hr(g)}function qa(g){{var N=typeof Symbol=="function"&&Symbol.toStringTag,z=N&&g[Symbol.toStringTag]||g.constructor.name||"Object";return z}}function Lt(g){try{return ht(g),!1}catch{return!0}}function ht(g){return""+g}function fn(g){if(Lt(g))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qa(g)),ht(g)}var gr=E.ReactCurrentOwner,La={key:!0,ref:!0,__self:!0,__source:!0},te,yr;function Fa(g){if(We.call(g,"ref")){var N=Object.getOwnPropertyDescriptor(g,"ref").get;if(N&&N.isReactWarning)return!1}return g.ref!==void 0}function dn(g){if(We.call(g,"key")){var N=Object.getOwnPropertyDescriptor(g,"key").get;if(N&&N.isReactWarning)return!1}return g.key!==void 0}function Wf(g,N){typeof g.ref=="string"&&gr.current}function Lb(g,N){{var z=function(){te||(te=!0,C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",N))};z.isReactWarning=!0,Object.defineProperty(g,"key",{get:z,configurable:!0})}}function Fb(g,N){{var z=function(){yr||(yr=!0,C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",N))};z.isReactWarning=!0,Object.defineProperty(g,"ref",{get:z,configurable:!0})}}var Bb=function(g,N,z,ee,he,_e,oe){var re={$$typeof:t,type:g,key:N,ref:z,props:oe,_owner:_e};return re._store={},Object.defineProperty(re._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(re,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ee}),Object.defineProperty(re,"_source",{configurable:!1,enumerable:!1,writable:!1,value:he}),Object.freeze&&(Object.freeze(re.props),Object.freeze(re)),re};function zb(g,N,z,ee,he){{var _e,oe={},re=null,Le=null;z!==void 0&&(fn(z),re=""+z),dn(N)&&(fn(N.key),re=""+N.key),Fa(N)&&(Le=N.ref,Wf(N,he));for(_e in N)We.call(N,_e)&&!La.hasOwnProperty(_e)&&(oe[_e]=N[_e]);if(g&&g.defaultProps){var we=g.defaultProps;for(_e in we)oe[_e]===void 0&&(oe[_e]=we[_e])}if(re||Le){var $e=typeof g=="function"?g.displayName||g.name||"Unknown":g;re&&Lb(oe,$e),Le&&Fb(oe,$e)}return Bb(g,re,Le,he,ee,gr.current,oe)}}var Ba=E.ReactCurrentOwner,Uf=E.ReactDebugCurrentFrame;function Ft(g){if(g){var N=g._owner,z=Se(g.type,g._source,N?N.type:null);Uf.setExtraStackFrame(z)}else Uf.setExtraStackFrame(null)}var za;za=!1;function Va(g){return typeof g=="object"&&g!==null&&g.$$typeof===t}function Gf(){{if(Ba.current){var g=D(Ba.current.type);if(g)return`
53
+ `),we=re.length-1,Ae=Le.length-1;we>=1&&Ae>=0&&re[we]!==Le[Ae];)Ae--;for(;we>=1&&Ae>=0;we--,Ae--)if(re[we]!==Le[Ae]){if(we!==1||Ae!==1)do if(we--,Ae--,Ae<0||re[we]!==Le[Ae]){var He=`
54
+ `+re[we].replace(" at new "," at ");return g.displayName&&He.includes("<anonymous>")&&(He=He.replace("<anonymous>",g.displayName)),typeof g=="function"&&J.set(g,He),He}while(we>=1&&Ae>=0);break}}}finally{U=!1,Y.current=_e,H(),Error.prepareStackTrace=he}var Bt=g?g.displayName||g.name:"",_t=Bt?W(Bt):"";return typeof g=="function"&&J.set(g,_t),_t}function ge(g,N,z){return P(g,!1)}function ie(g){var N=g.prototype;return!!(N&&N.isReactComponent)}function Se(g,N,z){if(g==null)return"";if(typeof g=="function")return P(g,ie(g));if(typeof g=="string")return W(g);switch(g){case d:return W("Suspense");case f:return W("SuspenseList")}if(typeof g=="object")switch(g.$$typeof){case c:return ge(g.render);case p:return Se(g.type,N,z);case m:{var ee=g,he=ee._payload,_e=ee._init;try{return Se(_e(he),N,z)}catch{}}}return""}var We=Object.prototype.hasOwnProperty,ct={},qt=E.ReactDebugCurrentFrame;function pt(g){if(g){var N=g._owner,z=Se(g.type,g._source,N?N.type:null);qt.setExtraStackFrame(z)}else qt.setExtraStackFrame(null)}function pr(g,N,z,ee,he){{var _e=Function.call.bind(We);for(var oe in g)if(_e(g,oe)){var re=void 0;try{if(typeof g[oe]!="function"){var Le=Error((ee||"React class")+": "+z+" type `"+oe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof g[oe]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Le.name="Invariant Violation",Le}re=g[oe](N,oe,ee,z,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(we){re=we}re&&!(re instanceof Error)&&(pt(he),C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ee||"React class",z,oe,typeof re),pt(null)),re instanceof Error&&!(re.message in ct)&&(ct[re.message]=!0,pt(he),C("Failed %s type: %s",z,re.message),pt(null))}}}var hr=Array.isArray;function mr(g){return hr(g)}function ja(g){{var N=typeof Symbol=="function"&&Symbol.toStringTag,z=N&&g[Symbol.toStringTag]||g.constructor.name||"Object";return z}}function Lt(g){try{return ht(g),!1}catch{return!0}}function ht(g){return""+g}function dn(g){if(Lt(g))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ja(g)),ht(g)}var gr=E.ReactCurrentOwner,qa={key:!0,ref:!0,__self:!0,__source:!0},te,yr;function La(g){if(We.call(g,"ref")){var N=Object.getOwnPropertyDescriptor(g,"ref").get;if(N&&N.isReactWarning)return!1}return g.ref!==void 0}function fn(g){if(We.call(g,"key")){var N=Object.getOwnPropertyDescriptor(g,"key").get;if(N&&N.isReactWarning)return!1}return g.key!==void 0}function Vd(g,N){typeof g.ref=="string"&&gr.current}function qb(g,N){{var z=function(){te||(te=!0,C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",N))};z.isReactWarning=!0,Object.defineProperty(g,"key",{get:z,configurable:!0})}}function Lb(g,N){{var z=function(){yr||(yr=!0,C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",N))};z.isReactWarning=!0,Object.defineProperty(g,"ref",{get:z,configurable:!0})}}var Fb=function(g,N,z,ee,he,_e,oe){var re={$$typeof:t,type:g,key:N,ref:z,props:oe,_owner:_e};return re._store={},Object.defineProperty(re._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(re,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ee}),Object.defineProperty(re,"_source",{configurable:!1,enumerable:!1,writable:!1,value:he}),Object.freeze&&(Object.freeze(re.props),Object.freeze(re)),re};function Bb(g,N,z,ee,he){{var _e,oe={},re=null,Le=null;z!==void 0&&(dn(z),re=""+z),fn(N)&&(dn(N.key),re=""+N.key),La(N)&&(Le=N.ref,Vd(N,he));for(_e in N)We.call(N,_e)&&!qa.hasOwnProperty(_e)&&(oe[_e]=N[_e]);if(g&&g.defaultProps){var we=g.defaultProps;for(_e in we)oe[_e]===void 0&&(oe[_e]=we[_e])}if(re||Le){var Ae=typeof g=="function"?g.displayName||g.name||"Unknown":g;re&&qb(oe,Ae),Le&&Lb(oe,Ae)}return Fb(g,re,Le,he,ee,gr.current,oe)}}var Fa=E.ReactCurrentOwner,Wd=E.ReactDebugCurrentFrame;function Ft(g){if(g){var N=g._owner,z=Se(g.type,g._source,N?N.type:null);Wd.setExtraStackFrame(z)}else Wd.setExtraStackFrame(null)}var Ba;Ba=!1;function za(g){return typeof g=="object"&&g!==null&&g.$$typeof===t}function Ud(){{if(Fa.current){var g=D(Fa.current.type);if(g)return`
55
55
 
56
- Check the render method of \``+g+"`."}return""}}function Vb(g){return""}var Yf={};function Wb(g){{var N=Gf();if(!N){var z=typeof g=="string"?g:g.displayName||g.name;z&&(N=`
56
+ Check the render method of \``+g+"`."}return""}}function zb(g){return""}var Gd={};function Vb(g){{var N=Ud();if(!N){var z=typeof g=="string"?g:g.displayName||g.name;z&&(N=`
57
57
 
58
- Check the top-level render call using <`+z+">.")}return N}}function Hf(g,N){{if(!g._store||g._store.validated||g.key!=null)return;g._store.validated=!0;var z=Wb(N);if(Yf[z])return;Yf[z]=!0;var ee="";g&&g._owner&&g._owner!==Ba.current&&(ee=" It was passed a child from "+D(g._owner.type)+"."),Ft(g),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',z,ee),Ft(null)}}function Kf(g,N){{if(typeof g!="object")return;if(mr(g))for(var z=0;z<g.length;z++){var ee=g[z];Va(ee)&&Hf(ee,N)}else if(Va(g))g._store&&(g._store.validated=!0);else if(g){var he=_(g);if(typeof he=="function"&&he!==g.entries)for(var _e=he.call(g),oe;!(oe=_e.next()).done;)Va(oe.value)&&Hf(oe.value,N)}}}function Ub(g){{var N=g.type;if(N==null||typeof N=="string")return;var z;if(typeof N=="function")z=N.propTypes;else if(typeof N=="object"&&(N.$$typeof===c||N.$$typeof===p))z=N.propTypes;else return;if(z){var ee=D(N);pr(z,g.props,"prop",ee,g)}else if(N.PropTypes!==void 0&&!za){za=!0;var he=D(N);C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",he||"Unknown")}typeof N.getDefaultProps=="function"&&!N.getDefaultProps.isReactClassApproved&&C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Gb(g){{for(var N=Object.keys(g.props),z=0;z<N.length;z++){var ee=N[z];if(ee!=="children"&&ee!=="key"){Ft(g),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ee),Ft(null);break}}g.ref!==null&&(Ft(g),C("Invalid attribute `ref` supplied to `React.Fragment`."),Ft(null))}}var Xf={};function Jf(g,N,z,ee,he,_e){{var oe=I(g);if(!oe){var re="";(g===void 0||typeof g=="object"&&g!==null&&Object.keys(g).length===0)&&(re+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Le=Vb();Le?re+=Le:re+=Gf();var we;g===null?we="null":mr(g)?we="array":g!==void 0&&g.$$typeof===t?(we="<"+(D(g.type)||"Unknown")+" />",re=" Did you accidentally export a JSX literal instead of a component?"):we=typeof g,C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",we,re)}var $e=zb(g,N,z,he,_e);if($e==null)return $e;if(oe){var Ke=N.children;if(Ke!==void 0)if(ee)if(mr(Ke)){for(var Bt=0;Bt<Ke.length;Bt++)Kf(Ke[Bt],g);Object.freeze&&Object.freeze(Ke)}else C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Kf(Ke,g)}if(We.call(N,"key")){var _t=D(g),Be=Object.keys(N).filter(function(Zb){return Zb!=="key"}),Wa=Be.length>0?"{key: someKey, "+Be.join(": ..., ")+": ...}":"{key: someKey}";if(!Xf[_t+Wa]){var Jb=Be.length>0?"{"+Be.join(": ..., ")+": ...}":"{}";C(`A props object containing a "key" prop is being spread into JSX:
58
+ Check the top-level render call using <`+z+">.")}return N}}function Yd(g,N){{if(!g._store||g._store.validated||g.key!=null)return;g._store.validated=!0;var z=Vb(N);if(Gd[z])return;Gd[z]=!0;var ee="";g&&g._owner&&g._owner!==Fa.current&&(ee=" It was passed a child from "+D(g._owner.type)+"."),Ft(g),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',z,ee),Ft(null)}}function Hd(g,N){{if(typeof g!="object")return;if(mr(g))for(var z=0;z<g.length;z++){var ee=g[z];za(ee)&&Yd(ee,N)}else if(za(g))g._store&&(g._store.validated=!0);else if(g){var he=_(g);if(typeof he=="function"&&he!==g.entries)for(var _e=he.call(g),oe;!(oe=_e.next()).done;)za(oe.value)&&Yd(oe.value,N)}}}function Wb(g){{var N=g.type;if(N==null||typeof N=="string")return;var z;if(typeof N=="function")z=N.propTypes;else if(typeof N=="object"&&(N.$$typeof===c||N.$$typeof===p))z=N.propTypes;else return;if(z){var ee=D(N);pr(z,g.props,"prop",ee,g)}else if(N.PropTypes!==void 0&&!Ba){Ba=!0;var he=D(N);C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",he||"Unknown")}typeof N.getDefaultProps=="function"&&!N.getDefaultProps.isReactClassApproved&&C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ub(g){{for(var N=Object.keys(g.props),z=0;z<N.length;z++){var ee=N[z];if(ee!=="children"&&ee!=="key"){Ft(g),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ee),Ft(null);break}}g.ref!==null&&(Ft(g),C("Invalid attribute `ref` supplied to `React.Fragment`."),Ft(null))}}var Kd={};function Xd(g,N,z,ee,he,_e){{var oe=I(g);if(!oe){var re="";(g===void 0||typeof g=="object"&&g!==null&&Object.keys(g).length===0)&&(re+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Le=zb();Le?re+=Le:re+=Ud();var we;g===null?we="null":mr(g)?we="array":g!==void 0&&g.$$typeof===t?(we="<"+(D(g.type)||"Unknown")+" />",re=" Did you accidentally export a JSX literal instead of a component?"):we=typeof g,C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",we,re)}var Ae=Bb(g,N,z,he,_e);if(Ae==null)return Ae;if(oe){var He=N.children;if(He!==void 0)if(ee)if(mr(He)){for(var Bt=0;Bt<He.length;Bt++)Hd(He[Bt],g);Object.freeze&&Object.freeze(He)}else C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Hd(He,g)}if(We.call(N,"key")){var _t=D(g),Be=Object.keys(N).filter(function(Jb){return Jb!=="key"}),Va=Be.length>0?"{key: someKey, "+Be.join(": ..., ")+": ...}":"{key: someKey}";if(!Kd[_t+Va]){var Xb=Be.length>0?"{"+Be.join(": ..., ")+": ...}":"{}";C(`A props object containing a "key" prop is being spread into JSX:
59
59
  let props = %s;
60
60
  <%s {...props} />
61
61
  React keys must be passed directly to JSX without using spread:
62
62
  let props = %s;
63
- <%s key={someKey} {...props} />`,Wa,_t,Jb,_t),Xf[_t+Wa]=!0}}return g===n?Gb($e):Ub($e),$e}}function Yb(g,N,z){return Jf(g,N,z,!0)}function Hb(g,N,z){return Jf(g,N,z,!1)}var Kb=Hb,Xb=Yb;Xt.Fragment=n,Xt.jsx=Kb,Xt.jsxs=Xb}()),Xt}var js;function qs(){return js||(js=1,process.env.NODE_ENV==="production"?Mr.exports=up():Mr.exports=cp()),Mr.exports}var k=qs();let qn;typeof document=="object"&&(qn=as({key:"css",prepend:!0}));function Ls(e){const{injectFirst:t,children:r}=e;return t&&qn?k.jsx(Fd,{value:qn,children:r}):r}process.env.NODE_ENV!=="production"&&(Ls.propTypes={children:s.node,injectFirst:s.bool});function lp(e){return e==null||Object.keys(e).length===0}function Fs(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?o=>t(lp(o)?r:o):t;return k.jsx(Gd,{styles:n})}process.env.NODE_ENV!=="production"&&(Fs.propTypes={defaultTheme:s.object,styles:s.oneOfType([s.array,s.string,s.object,s.func])});/**
63
+ <%s key={someKey} {...props} />`,Va,_t,Xb,_t),Kd[_t+Va]=!0}}return g===n?Ub(Ae):Wb(Ae),Ae}}function Gb(g,N,z){return Xd(g,N,z,!0)}function Yb(g,N,z){return Xd(g,N,z,!1)}var Hb=Yb,Kb=Gb;Xt.Fragment=n,Xt.jsx=Hb,Xt.jsxs=Kb}()),Xt}var js;function qs(){return js||(js=1,process.env.NODE_ENV==="production"?Mr.exports=sp():Mr.exports=up()),Mr.exports}var k=qs();let jn;typeof document=="object"&&(jn=is({key:"css",prepend:!0}));function Ls(e){const{injectFirst:t,children:r}=e;return t&&jn?k.jsx(Ff,{value:jn,children:r}):r}process.env.NODE_ENV!=="production"&&(Ls.propTypes={children:s.node,injectFirst:s.bool});function cp(e){return e==null||Object.keys(e).length===0}function Fs(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?o=>t(cp(o)?r:o):t;return k.jsx(Uf,{styles:n})}process.env.NODE_ENV!=="production"&&(Fs.propTypes={defaultTheme:s.object,styles:s.oneOfType([s.array,s.string,s.object,s.func])});/**
64
64
  * @mui/styled-engine v5.16.14
65
65
  *
66
66
  * @license MIT
67
67
  * This source code is licensed under the MIT license found in the
68
68
  * LICENSE file in the root directory of this source tree.
69
- */function fp(e,t){const r=In(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
70
- `)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}const dp=nt(Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Fs,StyledEngineProvider:Ls,ThemeContext:Ht,css:_s,default:fp,internal_processStyles:(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},keyframes:Ir},Symbol.toStringTag,{value:"Module"})));function lt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Bs(e){if(S.isValidElement(e)||!lt(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Bs(e[r])}),t}function et(e,t,r={clone:!0}){const n=r.clone?w({},e):e;return lt(e)&&lt(t)&&Object.keys(t).forEach(o=>{S.isValidElement(t[o])?n[o]=t[o]:lt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&lt(e[o])?n[o]=et(e[o],t[o],r):r.clone?n[o]=lt(t[o])?Bs(t[o]):t[o]:n[o]=t[o]}),n}const pp=nt(Object.freeze(Object.defineProperty({__proto__:null,default:et,isPlainObject:lt},Symbol.toStringTag,{value:"Module"})));function Jt(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const hp=Object.freeze(Object.defineProperty({__proto__:null,default:Jt},Symbol.toStringTag,{value:"Module"}));function me(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Jt(7));return e.charAt(0).toUpperCase()+e.slice(1)}const mp=nt(Object.freeze(Object.defineProperty({__proto__:null,default:me},Symbol.toStringTag,{value:"Module"})));var Nr={exports:{}},ye={};/**
69
+ */function lp(e,t){const r=wn(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
70
+ `)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}const dp=ot(Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Fs,StyledEngineProvider:Ls,ThemeContext:Ht,css:_s,default:lp,internal_processStyles:(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},keyframes:Ir},Symbol.toStringTag,{value:"Module"})));function lt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Bs(e){if(S.isValidElement(e)||!lt(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Bs(e[r])}),t}function tt(e,t,r={clone:!0}){const n=r.clone?w({},e):e;return lt(e)&&lt(t)&&Object.keys(t).forEach(o=>{S.isValidElement(t[o])?n[o]=t[o]:lt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&lt(e[o])?n[o]=tt(e[o],t[o],r):r.clone?n[o]=lt(t[o])?Bs(t[o]):t[o]:n[o]=t[o]}),n}const fp=ot(Object.freeze(Object.defineProperty({__proto__:null,default:tt,isPlainObject:lt},Symbol.toStringTag,{value:"Module"})));function Jt(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const pp=Object.freeze(Object.defineProperty({__proto__:null,default:Jt},Symbol.toStringTag,{value:"Module"}));function me(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Jt(7));return e.charAt(0).toUpperCase()+e.slice(1)}const hp=ot(Object.freeze(Object.defineProperty({__proto__:null,default:me},Symbol.toStringTag,{value:"Module"})));var Nr={exports:{}},ye={};/**
71
71
  * @license React
72
72
  * react-is.production.js
73
73
  *
@@ -75,7 +75,7 @@ React keys must be passed directly to JSX without using spread:
75
75
  *
76
76
  * This source code is licensed under the MIT license found in the
77
77
  * LICENSE file in the root directory of this source tree.
78
- */var zs;function gp(){if(zs)return ye;zs=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),b=Symbol.for("react.client.reference");function v(l){if(typeof l=="object"&&l!==null){var _=l.$$typeof;switch(_){case e:switch(l=l.type,l){case r:case o:case n:case c:case f:return l;default:switch(l=l&&l.$$typeof,l){case a:case u:case p:case d:return l;case i:return l;default:return _}}case t:return _}}}return ye.ContextConsumer=i,ye.ContextProvider=a,ye.Element=e,ye.ForwardRef=u,ye.Fragment=r,ye.Lazy=p,ye.Memo=d,ye.Portal=t,ye.Profiler=o,ye.StrictMode=n,ye.Suspense=c,ye.SuspenseList=f,ye.isContextConsumer=function(l){return v(l)===i},ye.isContextProvider=function(l){return v(l)===a},ye.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===e},ye.isForwardRef=function(l){return v(l)===u},ye.isFragment=function(l){return v(l)===r},ye.isLazy=function(l){return v(l)===p},ye.isMemo=function(l){return v(l)===d},ye.isPortal=function(l){return v(l)===t},ye.isProfiler=function(l){return v(l)===o},ye.isStrictMode=function(l){return v(l)===n},ye.isSuspense=function(l){return v(l)===c},ye.isSuspenseList=function(l){return v(l)===f},ye.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===r||l===o||l===n||l===c||l===f||l===m||typeof l=="object"&&l!==null&&(l.$$typeof===p||l.$$typeof===d||l.$$typeof===a||l.$$typeof===i||l.$$typeof===u||l.$$typeof===b||l.getModuleId!==void 0)},ye.typeOf=v,ye}var ve={};/**
78
+ */var zs;function mp(){if(zs)return ye;zs=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),b=Symbol.for("react.client.reference");function v(l){if(typeof l=="object"&&l!==null){var _=l.$$typeof;switch(_){case e:switch(l=l.type,l){case r:case o:case n:case c:case d:return l;default:switch(l=l&&l.$$typeof,l){case a:case u:case p:case f:return l;case i:return l;default:return _}}case t:return _}}}return ye.ContextConsumer=i,ye.ContextProvider=a,ye.Element=e,ye.ForwardRef=u,ye.Fragment=r,ye.Lazy=p,ye.Memo=f,ye.Portal=t,ye.Profiler=o,ye.StrictMode=n,ye.Suspense=c,ye.SuspenseList=d,ye.isContextConsumer=function(l){return v(l)===i},ye.isContextProvider=function(l){return v(l)===a},ye.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===e},ye.isForwardRef=function(l){return v(l)===u},ye.isFragment=function(l){return v(l)===r},ye.isLazy=function(l){return v(l)===p},ye.isMemo=function(l){return v(l)===f},ye.isPortal=function(l){return v(l)===t},ye.isProfiler=function(l){return v(l)===o},ye.isStrictMode=function(l){return v(l)===n},ye.isSuspense=function(l){return v(l)===c},ye.isSuspenseList=function(l){return v(l)===d},ye.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===r||l===o||l===n||l===c||l===d||l===m||typeof l=="object"&&l!==null&&(l.$$typeof===p||l.$$typeof===f||l.$$typeof===a||l.$$typeof===i||l.$$typeof===u||l.$$typeof===b||l.getModuleId!==void 0)},ye.typeOf=v,ye}var ve={};/**
79
79
  * @license React
80
80
  * react-is.development.js
81
81
  *
@@ -83,12 +83,12 @@ React keys must be passed directly to JSX without using spread:
83
83
  *
84
84
  * This source code is licensed under the MIT license found in the
85
85
  * LICENSE file in the root directory of this source tree.
86
- */var Vs;function yp(){return Vs||(Vs=1,process.env.NODE_ENV!=="production"&&function(){function e(l){if(typeof l=="object"&&l!==null){var _=l.$$typeof;switch(_){case t:switch(l=l.type,l){case n:case i:case o:case f:case d:return l;default:switch(l=l&&l.$$typeof,l){case u:case c:case m:case p:return l;case a:return l;default:return _}}case r:return _}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),v=Symbol.for("react.client.reference");ve.ContextConsumer=a,ve.ContextProvider=u,ve.Element=t,ve.ForwardRef=c,ve.Fragment=n,ve.Lazy=m,ve.Memo=p,ve.Portal=r,ve.Profiler=i,ve.StrictMode=o,ve.Suspense=f,ve.SuspenseList=d,ve.isContextConsumer=function(l){return e(l)===a},ve.isContextProvider=function(l){return e(l)===u},ve.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===t},ve.isForwardRef=function(l){return e(l)===c},ve.isFragment=function(l){return e(l)===n},ve.isLazy=function(l){return e(l)===m},ve.isMemo=function(l){return e(l)===p},ve.isPortal=function(l){return e(l)===r},ve.isProfiler=function(l){return e(l)===i},ve.isStrictMode=function(l){return e(l)===o},ve.isSuspense=function(l){return e(l)===f},ve.isSuspenseList=function(l){return e(l)===d},ve.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===n||l===i||l===o||l===f||l===d||l===b||typeof l=="object"&&l!==null&&(l.$$typeof===m||l.$$typeof===p||l.$$typeof===u||l.$$typeof===a||l.$$typeof===c||l.$$typeof===v||l.getModuleId!==void 0)},ve.typeOf=e}()),ve}var Ws;function vp(){return Ws||(Ws=1,process.env.NODE_ENV==="production"?Nr.exports=gp():Nr.exports=yp()),Nr.exports}var Us=vp();const bp=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Gs(e){const t=`${e}`.match(bp);return t&&t[1]||""}function Ys(e,t=""){return e.displayName||e.name||Gs(e)||t}function Hs(e,t,r){const n=Ys(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function _p(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Ys(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Us.ForwardRef:return Hs(e,e.render,"ForwardRef");case Us.Memo:return Hs(e,e.type,"memo");default:return}}}const xp=nt(Object.freeze(Object.defineProperty({__proto__:null,default:_p,getFunctionName:Gs},Symbol.toStringTag,{value:"Module"})));function pe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}const Ep=["values","unit","step"],Tp=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>w({},r,{[n.key]:n.val}),{})};function Ks(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=pe(e,Ep),i=Tp(t),a=Object.keys(i);function u(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r})`}function c(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-n/100}${r})`}function f(m,b){const v=a.indexOf(b);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r}) and (max-width:${(v!==-1&&typeof t[a[v]]=="number"?t[a[v]]:b)-n/100}${r})`}function d(m){return a.indexOf(m)+1<a.length?f(m,a[a.indexOf(m)+1]):u(m)}function p(m){const b=a.indexOf(m);return b===0?u(a[1]):b===a.length-1?c(a[b]):f(m,a[a.indexOf(m)+1]).replace("@media","@media not all and")}return w({keys:a,values:i,up:u,down:c,between:f,only:d,not:p,unit:r},o)}const Sp={borderRadius:4},ft=process.env.NODE_ENV!=="production"?s.oneOfType([s.number,s.string,s.object,s.array]):{};function Zt(e,t){return t?et(e,t,{clone:!1}):e}const Ln={xs:0,sm:600,md:900,lg:1200,xl:1536},Xs={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ln[e]}px)`};function ot(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Xs;return t.reduce((a,u,c)=>(a[i.up(i.keys[c])]=r(t[c]),a),{})}if(typeof t=="object"){const i=n.breakpoints||Xs;return Object.keys(t).reduce((a,u)=>{if(Object.keys(i.values||Ln).indexOf(u)!==-1){const c=i.up(u);a[c]=r(t[u],u)}else{const c=u;a[c]=t[c]}return a},{})}return r(t)}function Rp(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Cp(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function St(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function kr(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=St(e,r)||n,t&&(o=t(o,n,e)),o}function Oe(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const u=a[t],c=a.theme,f=St(c,n)||{};return ot(a,u,p=>{let m=kr(f,o,p);return p===m&&typeof p=="string"&&(m=kr(f,o,`${t}${p==="default"?"":me(p)}`,p)),r===!1?m:{[r]:m}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:ft}:{},i.filterProps=[t],i}function Op(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Pp={m:"margin",p:"padding"},wp={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Js={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Ip=Op(e=>{if(e.length>2)if(Js[e])e=Js[e];else return[e];const[t,r]=e.split(""),n=Pp[t],o=wp[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Dr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],jr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Ap=[...Dr,...jr];function Qt(e,t,r,n){var o;const i=(o=St(e,t,!1))!=null?o:r;return typeof i=="number"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`),i*a):Array.isArray(i)?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>i.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${a} > ${i.length-1}, you need to add the missing values.`].join(`
86
+ */var Vs;function gp(){return Vs||(Vs=1,process.env.NODE_ENV!=="production"&&function(){function e(l){if(typeof l=="object"&&l!==null){var _=l.$$typeof;switch(_){case t:switch(l=l.type,l){case n:case i:case o:case d:case f:return l;default:switch(l=l&&l.$$typeof,l){case u:case c:case m:case p:return l;case a:return l;default:return _}}case r:return _}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),v=Symbol.for("react.client.reference");ve.ContextConsumer=a,ve.ContextProvider=u,ve.Element=t,ve.ForwardRef=c,ve.Fragment=n,ve.Lazy=m,ve.Memo=p,ve.Portal=r,ve.Profiler=i,ve.StrictMode=o,ve.Suspense=d,ve.SuspenseList=f,ve.isContextConsumer=function(l){return e(l)===a},ve.isContextProvider=function(l){return e(l)===u},ve.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===t},ve.isForwardRef=function(l){return e(l)===c},ve.isFragment=function(l){return e(l)===n},ve.isLazy=function(l){return e(l)===m},ve.isMemo=function(l){return e(l)===p},ve.isPortal=function(l){return e(l)===r},ve.isProfiler=function(l){return e(l)===i},ve.isStrictMode=function(l){return e(l)===o},ve.isSuspense=function(l){return e(l)===d},ve.isSuspenseList=function(l){return e(l)===f},ve.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===n||l===i||l===o||l===d||l===f||l===b||typeof l=="object"&&l!==null&&(l.$$typeof===m||l.$$typeof===p||l.$$typeof===u||l.$$typeof===a||l.$$typeof===c||l.$$typeof===v||l.getModuleId!==void 0)},ve.typeOf=e}()),ve}var Ws;function yp(){return Ws||(Ws=1,process.env.NODE_ENV==="production"?Nr.exports=mp():Nr.exports=gp()),Nr.exports}var Us=yp();const vp=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Gs(e){const t=`${e}`.match(vp);return t&&t[1]||""}function Ys(e,t=""){return e.displayName||e.name||Gs(e)||t}function Hs(e,t,r){const n=Ys(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function bp(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Ys(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Us.ForwardRef:return Hs(e,e.render,"ForwardRef");case Us.Memo:return Hs(e,e.type,"memo");default:return}}}const _p=ot(Object.freeze(Object.defineProperty({__proto__:null,default:bp,getFunctionName:Gs},Symbol.toStringTag,{value:"Module"})));function pe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}const xp=["values","unit","step"],Ep=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>w({},r,{[n.key]:n.val}),{})};function Ks(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=pe(e,xp),i=Ep(t),a=Object.keys(i);function u(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r})`}function c(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-n/100}${r})`}function d(m,b){const v=a.indexOf(b);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r}) and (max-width:${(v!==-1&&typeof t[a[v]]=="number"?t[a[v]]:b)-n/100}${r})`}function f(m){return a.indexOf(m)+1<a.length?d(m,a[a.indexOf(m)+1]):u(m)}function p(m){const b=a.indexOf(m);return b===0?u(a[1]):b===a.length-1?c(a[b]):d(m,a[a.indexOf(m)+1]).replace("@media","@media not all and")}return w({keys:a,values:i,up:u,down:c,between:d,only:f,not:p,unit:r},o)}const Tp={borderRadius:4},dt=process.env.NODE_ENV!=="production"?s.oneOfType([s.number,s.string,s.object,s.array]):{};function Zt(e,t){return t?tt(e,t,{clone:!1}):e}const qn={xs:0,sm:600,md:900,lg:1200,xl:1536},Xs={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${qn[e]}px)`};function it(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Xs;return t.reduce((a,u,c)=>(a[i.up(i.keys[c])]=r(t[c]),a),{})}if(typeof t=="object"){const i=n.breakpoints||Xs;return Object.keys(t).reduce((a,u)=>{if(Object.keys(i.values||qn).indexOf(u)!==-1){const c=i.up(u);a[c]=r(t[u],u)}else{const c=u;a[c]=t[c]}return a},{})}return r(t)}function Sp(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Rp(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function St(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function kr(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=St(e,r)||n,t&&(o=t(o,n,e)),o}function Oe(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const u=a[t],c=a.theme,d=St(c,n)||{};return it(a,u,p=>{let m=kr(d,o,p);return p===m&&typeof p=="string"&&(m=kr(d,o,`${t}${p==="default"?"":me(p)}`,p)),r===!1?m:{[r]:m}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:dt}:{},i.filterProps=[t],i}function Cp(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Op={m:"margin",p:"padding"},Pp={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Js={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},wp=Cp(e=>{if(e.length>2)if(Js[e])e=Js[e];else return[e];const[t,r]=e.split(""),n=Op[t],o=Pp[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Dr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],jr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Ip=[...Dr,...jr];function Qt(e,t,r,n){var o;const i=(o=St(e,t,!1))!=null?o:r;return typeof i=="number"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`),i*a):Array.isArray(i)?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>i.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${a} > ${i.length-1}, you need to add the missing values.`].join(`
87
87
  `)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
88
88
  `))),i[a]):typeof i=="function"?i:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join(`
89
- `)),()=>{})}function Zs(e){return Qt(e,"spacing",8,"spacing")}function er(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function $p(e,t){return r=>e.reduce((n,o)=>(n[o]=er(t,r),n),{})}function Mp(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=Ip(r),i=$p(o,n),a=e[r];return ot(e,a,i)}function Qs(e,t){const r=Zs(e.theme);return Object.keys(e).map(n=>Mp(e,t,n,r)).reduce(Zt,{})}function Re(e){return Qs(e,Dr)}Re.propTypes=process.env.NODE_ENV!=="production"?Dr.reduce((e,t)=>(e[t]=ft,e),{}):{},Re.filterProps=Dr;function Ce(e){return Qs(e,jr)}Ce.propTypes=process.env.NODE_ENV!=="production"?jr.reduce((e,t)=>(e[t]=ft,e),{}):{},Ce.filterProps=jr,process.env.NODE_ENV!=="production"&&Ap.reduce((e,t)=>(e[t]=ft,e),{});function Np(e=8){if(e.mui)return e;const t=Zs({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function qr(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?Zt(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function Ge(e){return typeof e!="number"?e:`${e}px solid`}function Ye(e,t){return Oe({prop:e,themeKey:"borders",transform:t})}const kp=Ye("border",Ge),Dp=Ye("borderTop",Ge),jp=Ye("borderRight",Ge),qp=Ye("borderBottom",Ge),Lp=Ye("borderLeft",Ge),Fp=Ye("borderColor"),Bp=Ye("borderTopColor"),zp=Ye("borderRightColor"),Vp=Ye("borderBottomColor"),Wp=Ye("borderLeftColor"),Up=Ye("outline",Ge),Gp=Ye("outlineColor"),Lr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Qt(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:er(t,n)});return ot(e,e.borderRadius,r)}return null};Lr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:ft}:{},Lr.filterProps=["borderRadius"],qr(kp,Dp,jp,qp,Lp,Fp,Bp,zp,Vp,Wp,Lr,Up,Gp);const Fr=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Qt(e.theme,"spacing",8,"gap"),r=n=>({gap:er(t,n)});return ot(e,e.gap,r)}return null};Fr.propTypes=process.env.NODE_ENV!=="production"?{gap:ft}:{},Fr.filterProps=["gap"];const Br=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Qt(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:er(t,n)});return ot(e,e.columnGap,r)}return null};Br.propTypes=process.env.NODE_ENV!=="production"?{columnGap:ft}:{},Br.filterProps=["columnGap"];const zr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Qt(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:er(t,n)});return ot(e,e.rowGap,r)}return null};zr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:ft}:{},zr.filterProps=["rowGap"];const Yp=Oe({prop:"gridColumn"}),Hp=Oe({prop:"gridRow"}),Kp=Oe({prop:"gridAutoFlow"}),Xp=Oe({prop:"gridAutoColumns"}),Jp=Oe({prop:"gridAutoRows"}),Zp=Oe({prop:"gridTemplateColumns"}),Qp=Oe({prop:"gridTemplateRows"}),eh=Oe({prop:"gridTemplateAreas"}),th=Oe({prop:"gridArea"});qr(Fr,Br,zr,Yp,Hp,Kp,Xp,Jp,Zp,Qp,eh,th);function Rt(e,t){return t==="grey"?t:e}const rh=Oe({prop:"color",themeKey:"palette",transform:Rt}),nh=Oe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Rt}),oh=Oe({prop:"backgroundColor",themeKey:"palette",transform:Rt});qr(rh,nh,oh);function Ve(e){return e<=1&&e!==0?`${e*100}%`:e}const ih=Oe({prop:"width",transform:Ve}),Fn=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Ln[r];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Ve(r)}};return ot(e,e.maxWidth,t)}return null};Fn.filterProps=["maxWidth"];const ah=Oe({prop:"minWidth",transform:Ve}),sh=Oe({prop:"height",transform:Ve}),uh=Oe({prop:"maxHeight",transform:Ve}),ch=Oe({prop:"minHeight",transform:Ve});Oe({prop:"size",cssProperty:"width",transform:Ve}),Oe({prop:"size",cssProperty:"height",transform:Ve});const lh=Oe({prop:"boxSizing"});qr(ih,Fn,ah,sh,uh,ch,lh);const tr={border:{themeKey:"borders",transform:Ge},borderTop:{themeKey:"borders",transform:Ge},borderRight:{themeKey:"borders",transform:Ge},borderBottom:{themeKey:"borders",transform:Ge},borderLeft:{themeKey:"borders",transform:Ge},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ge},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Lr},color:{themeKey:"palette",transform:Rt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Rt},backgroundColor:{themeKey:"palette",transform:Rt},p:{style:Ce},pt:{style:Ce},pr:{style:Ce},pb:{style:Ce},pl:{style:Ce},px:{style:Ce},py:{style:Ce},padding:{style:Ce},paddingTop:{style:Ce},paddingRight:{style:Ce},paddingBottom:{style:Ce},paddingLeft:{style:Ce},paddingX:{style:Ce},paddingY:{style:Ce},paddingInline:{style:Ce},paddingInlineStart:{style:Ce},paddingInlineEnd:{style:Ce},paddingBlock:{style:Ce},paddingBlockStart:{style:Ce},paddingBlockEnd:{style:Ce},m:{style:Re},mt:{style:Re},mr:{style:Re},mb:{style:Re},ml:{style:Re},mx:{style:Re},my:{style:Re},margin:{style:Re},marginTop:{style:Re},marginRight:{style:Re},marginBottom:{style:Re},marginLeft:{style:Re},marginX:{style:Re},marginY:{style:Re},marginInline:{style:Re},marginInlineStart:{style:Re},marginInlineEnd:{style:Re},marginBlock:{style:Re},marginBlockStart:{style:Re},marginBlockEnd:{style:Re},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Fr},rowGap:{style:zr},columnGap:{style:Br},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ve},maxWidth:{style:Fn},minWidth:{transform:Ve},height:{transform:Ve},maxHeight:{transform:Ve},minHeight:{transform:Ve},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function fh(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function dh(e,t){return typeof e=="function"?e(t):e}function eu(){function e(r,n,o,i){const a={[r]:n,theme:o},u=i[r];if(!u)return{[r]:n};const{cssProperty:c=r,themeKey:f,transform:d,style:p}=u;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[r]:n};const m=St(o,f)||{};return p?p(a):ot(a,n,v=>{let l=kr(m,d,v);return v===l&&typeof v=="string"&&(l=kr(m,d,`${r}${v==="default"?"":me(v)}`,v)),c===!1?l:{[c]:l}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:tr;function u(c){let f=c;if(typeof c=="function")f=c(i);else if(typeof c!="object")return c;if(!f)return null;const d=Rp(i.breakpoints),p=Object.keys(d);let m=d;return Object.keys(f).forEach(b=>{const v=dh(f[b],i);if(v!=null)if(typeof v=="object")if(a[b])m=Zt(m,e(b,v,i,a));else{const l=ot({theme:i},v,_=>({[b]:_}));fh(l,v)?m[b]=t({sx:v,theme:i}):m=Zt(m,l)}else m=Zt(m,e(b,v,i,a))}),Cp(p,m)}return Array.isArray(o)?o.map(u):u(o)}return t}const Vr=eu();Vr.filterProps=["sx"];function tu(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const ph=["breakpoints","palette","spacing","shape"];function Bn(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=pe(e,ph),u=Ks(r),c=Np(o);let f=et({breakpoints:u,direction:"ltr",components:{},palette:w({mode:"light"},n),spacing:c,shape:w({},Sp,i)},a);return f.applyStyles=tu,f=t.reduce((d,p)=>et(d,p),f),f.unstable_sxConfig=w({},tr,a==null?void 0:a.unstable_sxConfig),f.unstable_sx=function(p){return Vr({sx:p,theme:this})},f}const hh=nt(Object.freeze(Object.defineProperty({__proto__:null,default:Bn,private_createBreakpoints:Ks,unstable_applyStyles:tu},Symbol.toStringTag,{value:"Module"}))),mh=["sx"],gh=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:tr;return Object.keys(e).forEach(i=>{o[i]?n.systemProps[i]=e[i]:n.otherProps[i]=e[i]}),n};function ru(e){const{sx:t}=e,r=pe(e,mh),{systemProps:n,otherProps:o}=gh(r);let i;return Array.isArray(t)?i=[n,...t]:typeof t=="function"?i=(...a)=>{const u=t(...a);return lt(u)?w({},n,u):n}:i=w({},n,t),w({},o,{sx:i})}const yh=nt(Object.freeze(Object.defineProperty({__proto__:null,default:Vr,extendSxProp:ru,unstable_createStyleFunctionSx:eu,unstable_defaultSxConfig:tr},Symbol.toStringTag,{value:"Module"})));var nu;function vh(){if(nu)return mt;nu=1;var e=mn();Object.defineProperty(mt,"__esModule",{value:!0}),mt.default=A,mt.shouldForwardProp=_,mt.systemDefaultTheme=void 0;var t=e(Qf()),r=e(ed()),n=b(dp),o=pp,i=e(mp),a=e(xp),u=e(hh),c=e(yh);const f=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function m(h){if(typeof WeakMap!="function")return null;var O=new WeakMap,R=new WeakMap;return(m=function(I){return I?R:O})(h)}function b(h,O){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var R=m(O);if(R&&R.has(h))return R.get(h);var I={__proto__:null},M=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var F in h)if(F!=="default"&&Object.prototype.hasOwnProperty.call(h,F)){var D=M?Object.getOwnPropertyDescriptor(h,F):null;D&&(D.get||D.set)?Object.defineProperty(I,F,D):I[F]=h[F]}return I.default=h,R&&R.set(h,I),I}function v(h){return Object.keys(h).length===0}function l(h){return typeof h=="string"&&h.charCodeAt(0)>96}function _(h){return h!=="ownerState"&&h!=="theme"&&h!=="sx"&&h!=="as"}const E=mt.systemDefaultTheme=(0,u.default)(),C=h=>h&&h.charAt(0).toLowerCase()+h.slice(1);function T({defaultTheme:h,theme:O,themeId:R}){return v(O)?h:O[R]||O}function x(h){return h?(O,R)=>R[h]:null}function y(h,O){let{ownerState:R}=O,I=(0,r.default)(O,f);const M=typeof h=="function"?h((0,t.default)({ownerState:R},I)):h;if(Array.isArray(M))return M.flatMap(F=>y(F,(0,t.default)({ownerState:R},I)));if(M&&typeof M=="object"&&Array.isArray(M.variants)){const{variants:F=[]}=M;let L=(0,r.default)(M,d);return F.forEach(B=>{let q=!0;typeof B.props=="function"?q=B.props((0,t.default)({ownerState:R},I,R)):Object.keys(B.props).forEach(G=>{(R==null?void 0:R[G])!==B.props[G]&&I[G]!==B.props[G]&&(q=!1)}),q&&(Array.isArray(L)||(L=[L]),L.push(typeof B.style=="function"?B.style((0,t.default)({ownerState:R},I,R)):B.style))}),L}return M}function A(h={}){const{themeId:O,defaultTheme:R=E,rootShouldForwardProp:I=_,slotShouldForwardProp:M=_}=h,F=D=>(0,c.default)((0,t.default)({},D,{theme:T((0,t.default)({},D,{defaultTheme:R,themeId:O}))}));return F.__mui_systemSx=!0,(D,L={})=>{(0,n.internal_processStyles)(D,W=>W.filter(U=>!(U!=null&&U.__mui_systemSx)));const{name:B,slot:q,skipVariantsResolver:G,skipSx:Z,overridesResolver:Pe=x(C(q))}=L,$=(0,r.default)(L,p),j=G!==void 0?G:q&&q!=="Root"&&q!=="root"||!1,Q=Z||!1;let X;process.env.NODE_ENV!=="production"&&B&&(X=`${B}-${C(q||"Root")}`);let V=_;q==="Root"||q==="root"?V=I:q?V=M:l(D)&&(V=void 0);const H=(0,n.default)(D,(0,t.default)({shouldForwardProp:V,label:X},$)),Y=W=>typeof W=="function"&&W.__emotion_real!==W||(0,o.isPlainObject)(W)?U=>y(W,(0,t.default)({},U,{theme:T({theme:U.theme,defaultTheme:R,themeId:O})})):W,K=(W,...U)=>{let J=Y(W);const be=U?U.map(Y):[];B&&Pe&&be.push(ie=>{const Se=T((0,t.default)({},ie,{defaultTheme:R,themeId:O}));if(!Se.components||!Se.components[B]||!Se.components[B].styleOverrides)return null;const We=Se.components[B].styleOverrides,ut={};return Object.entries(We).forEach(([qt,pt])=>{ut[qt]=y(pt,(0,t.default)({},ie,{theme:Se}))}),Pe(ie,ut)}),B&&!j&&be.push(ie=>{var Se;const We=T((0,t.default)({},ie,{defaultTheme:R,themeId:O})),ut=We==null||(Se=We.components)==null||(Se=Se[B])==null?void 0:Se.variants;return y({variants:ut},(0,t.default)({},ie,{theme:We}))}),Q||be.push(F);const P=be.length-U.length;if(Array.isArray(W)&&P>0){const ie=new Array(P).fill("");J=[...W,...ie],J.raw=[...W.raw,...ie]}const ge=H(J,...be);if(process.env.NODE_ENV!=="production"){let ie;B&&(ie=`${B}${(0,i.default)(q||"")}`),ie===void 0&&(ie=`Styled(${(0,a.default)(D)})`),ge.displayName=ie}return D.muiName&&(ge.muiName=D.muiName),ge};return H.withConfig&&(K.withConfig=H.withConfig),K}}return mt}var bh=vh();const _h=br(bh),ou=e=>e,iu=(()=>{let e=ou;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ou}}})(),xh={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Me(e,t,r="Mui"){const n=xh[t];return n?`${r}-${n}`:`${iu.generate(e)}-${t}`}function Eh(e,t){return w({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Te={};const Th=nt(hp);function Sh(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const Rh=nt(Object.freeze(Object.defineProperty({__proto__:null,default:Sh},Symbol.toStringTag,{value:"Module"})));var au;function Ch(){if(au)return Te;au=1;var e=mn();Object.defineProperty(Te,"__esModule",{value:!0}),Te.alpha=v,Te.blend=A,Te.colorChannel=void 0,Te.darken=_,Te.decomposeColor=a,Te.emphasize=x,Te.getContrastRatio=b,Te.getLuminance=m,Te.hexToRgb=o,Te.hslToRgb=p,Te.lighten=C,Te.private_safeAlpha=l,Te.private_safeColorChannel=void 0,Te.private_safeDarken=E,Te.private_safeEmphasize=y,Te.private_safeLighten=T,Te.recomposeColor=f,Te.rgbToHex=d;var t=e(Th),r=e(Rh);function n(h,O=0,R=1){return process.env.NODE_ENV!=="production"&&(h<O||h>R)&&console.error(`MUI: The value provided ${h} is out of range [${O}, ${R}].`),(0,r.default)(h,O,R)}function o(h){h=h.slice(1);const O=new RegExp(`.{1,${h.length>=6?2:1}}`,"g");let R=h.match(O);return R&&R[0].length===1&&(R=R.map(I=>I+I)),R?`rgb${R.length===4?"a":""}(${R.map((I,M)=>M<3?parseInt(I,16):Math.round(parseInt(I,16)/255*1e3)/1e3).join(", ")})`:""}function i(h){const O=h.toString(16);return O.length===1?`0${O}`:O}function a(h){if(h.type)return h;if(h.charAt(0)==="#")return a(o(h));const O=h.indexOf("("),R=h.substring(0,O);if(["rgb","rgba","hsl","hsla","color"].indexOf(R)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${h}\` color.
89
+ `)),()=>{})}function Zs(e){return Qt(e,"spacing",8,"spacing")}function er(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function $p(e,t){return r=>e.reduce((n,o)=>(n[o]=er(t,r),n),{})}function Ap(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=wp(r),i=$p(o,n),a=e[r];return it(e,a,i)}function Qs(e,t){const r=Zs(e.theme);return Object.keys(e).map(n=>Ap(e,t,n,r)).reduce(Zt,{})}function Re(e){return Qs(e,Dr)}Re.propTypes=process.env.NODE_ENV!=="production"?Dr.reduce((e,t)=>(e[t]=dt,e),{}):{},Re.filterProps=Dr;function Ce(e){return Qs(e,jr)}Ce.propTypes=process.env.NODE_ENV!=="production"?jr.reduce((e,t)=>(e[t]=dt,e),{}):{},Ce.filterProps=jr,process.env.NODE_ENV!=="production"&&Ip.reduce((e,t)=>(e[t]=dt,e),{});function Mp(e=8){if(e.mui)return e;const t=Zs({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function qr(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?Zt(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function Ue(e){return typeof e!="number"?e:`${e}px solid`}function Ge(e,t){return Oe({prop:e,themeKey:"borders",transform:t})}const Np=Ge("border",Ue),kp=Ge("borderTop",Ue),Dp=Ge("borderRight",Ue),jp=Ge("borderBottom",Ue),qp=Ge("borderLeft",Ue),Lp=Ge("borderColor"),Fp=Ge("borderTopColor"),Bp=Ge("borderRightColor"),zp=Ge("borderBottomColor"),Vp=Ge("borderLeftColor"),Wp=Ge("outline",Ue),Up=Ge("outlineColor"),Lr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Qt(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:er(t,n)});return it(e,e.borderRadius,r)}return null};Lr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:dt}:{},Lr.filterProps=["borderRadius"],qr(Np,kp,Dp,jp,qp,Lp,Fp,Bp,zp,Vp,Lr,Wp,Up);const Fr=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Qt(e.theme,"spacing",8,"gap"),r=n=>({gap:er(t,n)});return it(e,e.gap,r)}return null};Fr.propTypes=process.env.NODE_ENV!=="production"?{gap:dt}:{},Fr.filterProps=["gap"];const Br=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Qt(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:er(t,n)});return it(e,e.columnGap,r)}return null};Br.propTypes=process.env.NODE_ENV!=="production"?{columnGap:dt}:{},Br.filterProps=["columnGap"];const zr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Qt(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:er(t,n)});return it(e,e.rowGap,r)}return null};zr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:dt}:{},zr.filterProps=["rowGap"];const Gp=Oe({prop:"gridColumn"}),Yp=Oe({prop:"gridRow"}),Hp=Oe({prop:"gridAutoFlow"}),Kp=Oe({prop:"gridAutoColumns"}),Xp=Oe({prop:"gridAutoRows"}),Jp=Oe({prop:"gridTemplateColumns"}),Zp=Oe({prop:"gridTemplateRows"}),Qp=Oe({prop:"gridTemplateAreas"}),eh=Oe({prop:"gridArea"});qr(Fr,Br,zr,Gp,Yp,Hp,Kp,Xp,Jp,Zp,Qp,eh);function Rt(e,t){return t==="grey"?t:e}const th=Oe({prop:"color",themeKey:"palette",transform:Rt}),rh=Oe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Rt}),nh=Oe({prop:"backgroundColor",themeKey:"palette",transform:Rt});qr(th,rh,nh);function Ve(e){return e<=1&&e!==0?`${e*100}%`:e}const oh=Oe({prop:"width",transform:Ve}),Ln=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||qn[r];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Ve(r)}};return it(e,e.maxWidth,t)}return null};Ln.filterProps=["maxWidth"];const ih=Oe({prop:"minWidth",transform:Ve}),ah=Oe({prop:"height",transform:Ve}),sh=Oe({prop:"maxHeight",transform:Ve}),uh=Oe({prop:"minHeight",transform:Ve});Oe({prop:"size",cssProperty:"width",transform:Ve}),Oe({prop:"size",cssProperty:"height",transform:Ve});const ch=Oe({prop:"boxSizing"});qr(oh,Ln,ih,ah,sh,uh,ch);const tr={border:{themeKey:"borders",transform:Ue},borderTop:{themeKey:"borders",transform:Ue},borderRight:{themeKey:"borders",transform:Ue},borderBottom:{themeKey:"borders",transform:Ue},borderLeft:{themeKey:"borders",transform:Ue},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ue},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Lr},color:{themeKey:"palette",transform:Rt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Rt},backgroundColor:{themeKey:"palette",transform:Rt},p:{style:Ce},pt:{style:Ce},pr:{style:Ce},pb:{style:Ce},pl:{style:Ce},px:{style:Ce},py:{style:Ce},padding:{style:Ce},paddingTop:{style:Ce},paddingRight:{style:Ce},paddingBottom:{style:Ce},paddingLeft:{style:Ce},paddingX:{style:Ce},paddingY:{style:Ce},paddingInline:{style:Ce},paddingInlineStart:{style:Ce},paddingInlineEnd:{style:Ce},paddingBlock:{style:Ce},paddingBlockStart:{style:Ce},paddingBlockEnd:{style:Ce},m:{style:Re},mt:{style:Re},mr:{style:Re},mb:{style:Re},ml:{style:Re},mx:{style:Re},my:{style:Re},margin:{style:Re},marginTop:{style:Re},marginRight:{style:Re},marginBottom:{style:Re},marginLeft:{style:Re},marginX:{style:Re},marginY:{style:Re},marginInline:{style:Re},marginInlineStart:{style:Re},marginInlineEnd:{style:Re},marginBlock:{style:Re},marginBlockStart:{style:Re},marginBlockEnd:{style:Re},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Fr},rowGap:{style:zr},columnGap:{style:Br},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ve},maxWidth:{style:Ln},minWidth:{transform:Ve},height:{transform:Ve},maxHeight:{transform:Ve},minHeight:{transform:Ve},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function lh(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function dh(e,t){return typeof e=="function"?e(t):e}function eu(){function e(r,n,o,i){const a={[r]:n,theme:o},u=i[r];if(!u)return{[r]:n};const{cssProperty:c=r,themeKey:d,transform:f,style:p}=u;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const m=St(o,d)||{};return p?p(a):it(a,n,v=>{let l=kr(m,f,v);return v===l&&typeof v=="string"&&(l=kr(m,f,`${r}${v==="default"?"":me(v)}`,v)),c===!1?l:{[c]:l}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:tr;function u(c){let d=c;if(typeof c=="function")d=c(i);else if(typeof c!="object")return c;if(!d)return null;const f=Sp(i.breakpoints),p=Object.keys(f);let m=f;return Object.keys(d).forEach(b=>{const v=dh(d[b],i);if(v!=null)if(typeof v=="object")if(a[b])m=Zt(m,e(b,v,i,a));else{const l=it({theme:i},v,_=>({[b]:_}));lh(l,v)?m[b]=t({sx:v,theme:i}):m=Zt(m,l)}else m=Zt(m,e(b,v,i,a))}),Rp(p,m)}return Array.isArray(o)?o.map(u):u(o)}return t}const Vr=eu();Vr.filterProps=["sx"];function tu(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const fh=["breakpoints","palette","spacing","shape"];function Fn(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=pe(e,fh),u=Ks(r),c=Mp(o);let d=tt({breakpoints:u,direction:"ltr",components:{},palette:w({mode:"light"},n),spacing:c,shape:w({},Tp,i)},a);return d.applyStyles=tu,d=t.reduce((f,p)=>tt(f,p),d),d.unstable_sxConfig=w({},tr,a==null?void 0:a.unstable_sxConfig),d.unstable_sx=function(p){return Vr({sx:p,theme:this})},d}const ph=ot(Object.freeze(Object.defineProperty({__proto__:null,default:Fn,private_createBreakpoints:Ks,unstable_applyStyles:tu},Symbol.toStringTag,{value:"Module"}))),hh=["sx"],mh=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:tr;return Object.keys(e).forEach(i=>{o[i]?n.systemProps[i]=e[i]:n.otherProps[i]=e[i]}),n};function ru(e){const{sx:t}=e,r=pe(e,hh),{systemProps:n,otherProps:o}=mh(r);let i;return Array.isArray(t)?i=[n,...t]:typeof t=="function"?i=(...a)=>{const u=t(...a);return lt(u)?w({},n,u):n}:i=w({},n,t),w({},o,{sx:i})}const gh=ot(Object.freeze(Object.defineProperty({__proto__:null,default:Vr,extendSxProp:ru,unstable_createStyleFunctionSx:eu,unstable_defaultSxConfig:tr},Symbol.toStringTag,{value:"Module"})));var nu;function yh(){if(nu)return mt;nu=1;var e=hn();Object.defineProperty(mt,"__esModule",{value:!0}),mt.default=$,mt.shouldForwardProp=_,mt.systemDefaultTheme=void 0;var t=e(Zd()),r=e(Qd()),n=b(dp),o=fp,i=e(hp),a=e(_p),u=e(ph),c=e(gh);const d=["ownerState"],f=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function m(h){if(typeof WeakMap!="function")return null;var O=new WeakMap,R=new WeakMap;return(m=function(I){return I?R:O})(h)}function b(h,O){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var R=m(O);if(R&&R.has(h))return R.get(h);var I={__proto__:null},M=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var F in h)if(F!=="default"&&Object.prototype.hasOwnProperty.call(h,F)){var D=M?Object.getOwnPropertyDescriptor(h,F):null;D&&(D.get||D.set)?Object.defineProperty(I,F,D):I[F]=h[F]}return I.default=h,R&&R.set(h,I),I}function v(h){return Object.keys(h).length===0}function l(h){return typeof h=="string"&&h.charCodeAt(0)>96}function _(h){return h!=="ownerState"&&h!=="theme"&&h!=="sx"&&h!=="as"}const E=mt.systemDefaultTheme=(0,u.default)(),C=h=>h&&h.charAt(0).toLowerCase()+h.slice(1);function T({defaultTheme:h,theme:O,themeId:R}){return v(O)?h:O[R]||O}function x(h){return h?(O,R)=>R[h]:null}function y(h,O){let{ownerState:R}=O,I=(0,r.default)(O,d);const M=typeof h=="function"?h((0,t.default)({ownerState:R},I)):h;if(Array.isArray(M))return M.flatMap(F=>y(F,(0,t.default)({ownerState:R},I)));if(M&&typeof M=="object"&&Array.isArray(M.variants)){const{variants:F=[]}=M;let L=(0,r.default)(M,f);return F.forEach(B=>{let q=!0;typeof B.props=="function"?q=B.props((0,t.default)({ownerState:R},I,R)):Object.keys(B.props).forEach(G=>{(R==null?void 0:R[G])!==B.props[G]&&I[G]!==B.props[G]&&(q=!1)}),q&&(Array.isArray(L)||(L=[L]),L.push(typeof B.style=="function"?B.style((0,t.default)({ownerState:R},I,R)):B.style))}),L}return M}function $(h={}){const{themeId:O,defaultTheme:R=E,rootShouldForwardProp:I=_,slotShouldForwardProp:M=_}=h,F=D=>(0,c.default)((0,t.default)({},D,{theme:T((0,t.default)({},D,{defaultTheme:R,themeId:O}))}));return F.__mui_systemSx=!0,(D,L={})=>{(0,n.internal_processStyles)(D,W=>W.filter(U=>!(U!=null&&U.__mui_systemSx)));const{name:B,slot:q,skipVariantsResolver:G,skipSx:Z,overridesResolver:Pe=x(C(q))}=L,A=(0,r.default)(L,p),j=G!==void 0?G:q&&q!=="Root"&&q!=="root"||!1,Q=Z||!1;let X;process.env.NODE_ENV!=="production"&&B&&(X=`${B}-${C(q||"Root")}`);let V=_;q==="Root"||q==="root"?V=I:q?V=M:l(D)&&(V=void 0);const H=(0,n.default)(D,(0,t.default)({shouldForwardProp:V,label:X},A)),Y=W=>typeof W=="function"&&W.__emotion_real!==W||(0,o.isPlainObject)(W)?U=>y(W,(0,t.default)({},U,{theme:T({theme:U.theme,defaultTheme:R,themeId:O})})):W,K=(W,...U)=>{let J=Y(W);const be=U?U.map(Y):[];B&&Pe&&be.push(ie=>{const Se=T((0,t.default)({},ie,{defaultTheme:R,themeId:O}));if(!Se.components||!Se.components[B]||!Se.components[B].styleOverrides)return null;const We=Se.components[B].styleOverrides,ct={};return Object.entries(We).forEach(([qt,pt])=>{ct[qt]=y(pt,(0,t.default)({},ie,{theme:Se}))}),Pe(ie,ct)}),B&&!j&&be.push(ie=>{var Se;const We=T((0,t.default)({},ie,{defaultTheme:R,themeId:O})),ct=We==null||(Se=We.components)==null||(Se=Se[B])==null?void 0:Se.variants;return y({variants:ct},(0,t.default)({},ie,{theme:We}))}),Q||be.push(F);const P=be.length-U.length;if(Array.isArray(W)&&P>0){const ie=new Array(P).fill("");J=[...W,...ie],J.raw=[...W.raw,...ie]}const ge=H(J,...be);if(process.env.NODE_ENV!=="production"){let ie;B&&(ie=`${B}${(0,i.default)(q||"")}`),ie===void 0&&(ie=`Styled(${(0,a.default)(D)})`),ge.displayName=ie}return D.muiName&&(ge.muiName=D.muiName),ge};return H.withConfig&&(K.withConfig=H.withConfig),K}}return mt}var vh=yh();const bh=br(vh),ou=e=>e,iu=(()=>{let e=ou;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ou}}})(),_h={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Me(e,t,r="Mui"){const n=_h[t];return n?`${r}-${n}`:`${iu.generate(e)}-${t}`}function xh(e,t){return w({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Te={};const Eh=ot(pp);function Th(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const Sh=ot(Object.freeze(Object.defineProperty({__proto__:null,default:Th},Symbol.toStringTag,{value:"Module"})));var au;function Rh(){if(au)return Te;au=1;var e=hn();Object.defineProperty(Te,"__esModule",{value:!0}),Te.alpha=v,Te.blend=$,Te.colorChannel=void 0,Te.darken=_,Te.decomposeColor=a,Te.emphasize=x,Te.getContrastRatio=b,Te.getLuminance=m,Te.hexToRgb=o,Te.hslToRgb=p,Te.lighten=C,Te.private_safeAlpha=l,Te.private_safeColorChannel=void 0,Te.private_safeDarken=E,Te.private_safeEmphasize=y,Te.private_safeLighten=T,Te.recomposeColor=d,Te.rgbToHex=f;var t=e(Eh),r=e(Sh);function n(h,O=0,R=1){return process.env.NODE_ENV!=="production"&&(h<O||h>R)&&console.error(`MUI: The value provided ${h} is out of range [${O}, ${R}].`),(0,r.default)(h,O,R)}function o(h){h=h.slice(1);const O=new RegExp(`.{1,${h.length>=6?2:1}}`,"g");let R=h.match(O);return R&&R[0].length===1&&(R=R.map(I=>I+I)),R?`rgb${R.length===4?"a":""}(${R.map((I,M)=>M<3?parseInt(I,16):Math.round(parseInt(I,16)/255*1e3)/1e3).join(", ")})`:""}function i(h){const O=h.toString(16);return O.length===1?`0${O}`:O}function a(h){if(h.type)return h;if(h.charAt(0)==="#")return a(o(h));const O=h.indexOf("("),R=h.substring(0,O);if(["rgb","rgba","hsl","hsla","color"].indexOf(R)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${h}\` color.
90
90
  The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,t.default)(9,h));let I=h.substring(O+1,h.length-1),M;if(R==="color"){if(I=I.split(" "),M=I.shift(),I.length===4&&I[3].charAt(0)==="/"&&(I[3]=I[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(M)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${M}\` color space.
91
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,t.default)(10,M))}else I=I.split(",");return I=I.map(F=>parseFloat(F)),{type:R,values:I,colorSpace:M}}const u=h=>{const O=a(h);return O.values.slice(0,3).map((R,I)=>O.type.indexOf("hsl")!==-1&&I!==0?`${R}%`:R).join(" ")};Te.colorChannel=u;const c=(h,O)=>{try{return u(h)}catch{return O&&process.env.NODE_ENV!=="production"&&console.warn(O),h}};Te.private_safeColorChannel=c;function f(h){const{type:O,colorSpace:R}=h;let{values:I}=h;return O.indexOf("rgb")!==-1?I=I.map((M,F)=>F<3?parseInt(M,10):M):O.indexOf("hsl")!==-1&&(I[1]=`${I[1]}%`,I[2]=`${I[2]}%`),O.indexOf("color")!==-1?I=`${R} ${I.join(" ")}`:I=`${I.join(", ")}`,`${O}(${I})`}function d(h){if(h.indexOf("#")===0)return h;const{values:O}=a(h);return`#${O.map((R,I)=>i(I===3?Math.round(255*R):R)).join("")}`}function p(h){h=a(h);const{values:O}=h,R=O[0],I=O[1]/100,M=O[2]/100,F=I*Math.min(M,1-M),D=(q,G=(q+R/30)%12)=>M-F*Math.max(Math.min(G-3,9-G,1),-1);let L="rgb";const B=[Math.round(D(0)*255),Math.round(D(8)*255),Math.round(D(4)*255)];return h.type==="hsla"&&(L+="a",B.push(O[3])),f({type:L,values:B})}function m(h){h=a(h);let O=h.type==="hsl"||h.type==="hsla"?a(p(h)).values:h.values;return O=O.map(R=>(h.type!=="color"&&(R/=255),R<=.03928?R/12.92:((R+.055)/1.055)**2.4)),Number((.2126*O[0]+.7152*O[1]+.0722*O[2]).toFixed(3))}function b(h,O){const R=m(h),I=m(O);return(Math.max(R,I)+.05)/(Math.min(R,I)+.05)}function v(h,O){return h=a(h),O=n(O),(h.type==="rgb"||h.type==="hsl")&&(h.type+="a"),h.type==="color"?h.values[3]=`/${O}`:h.values[3]=O,f(h)}function l(h,O,R){try{return v(h,O)}catch{return R&&process.env.NODE_ENV!=="production"&&console.warn(R),h}}function _(h,O){if(h=a(h),O=n(O),h.type.indexOf("hsl")!==-1)h.values[2]*=1-O;else if(h.type.indexOf("rgb")!==-1||h.type.indexOf("color")!==-1)for(let R=0;R<3;R+=1)h.values[R]*=1-O;return f(h)}function E(h,O,R){try{return _(h,O)}catch{return R&&process.env.NODE_ENV!=="production"&&console.warn(R),h}}function C(h,O){if(h=a(h),O=n(O),h.type.indexOf("hsl")!==-1)h.values[2]+=(100-h.values[2])*O;else if(h.type.indexOf("rgb")!==-1)for(let R=0;R<3;R+=1)h.values[R]+=(255-h.values[R])*O;else if(h.type.indexOf("color")!==-1)for(let R=0;R<3;R+=1)h.values[R]+=(1-h.values[R])*O;return f(h)}function T(h,O,R){try{return C(h,O)}catch{return R&&process.env.NODE_ENV!=="production"&&console.warn(R),h}}function x(h,O=.15){return m(h)>.5?_(h,O):C(h,O)}function y(h,O,R){try{return x(h,O)}catch{return R&&process.env.NODE_ENV!=="production"&&console.warn(R),h}}function A(h,O,R,I=1){const M=(B,q)=>Math.round((B**(1/I)*(1-R)+q**(1/I)*R)**I),F=a(h),D=a(O),L=[M(F.values[0],D.values[0]),M(F.values[1],D.values[1]),M(F.values[2],D.values[2])];return f({type:"rgb",values:L})}return Te}var Ne=Ch();const rr={black:"#000",white:"#fff"},Oh={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Ct={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ot={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},nr={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Pt={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},wt={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},It={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Ph=["mode","contrastThreshold","tonalOffset"],su={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:rr.white,default:rr.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},zn={text:{primary:rr.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:rr.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function uu(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Ne.lighten(e.main,o):t==="dark"&&(e.dark=Ne.darken(e.main,i)))}function wh(e="light"){return e==="dark"?{main:Pt[200],light:Pt[50],dark:Pt[400]}:{main:Pt[700],light:Pt[400],dark:Pt[800]}}function Ih(e="light"){return e==="dark"?{main:Ct[200],light:Ct[50],dark:Ct[400]}:{main:Ct[500],light:Ct[300],dark:Ct[700]}}function Ah(e="light"){return e==="dark"?{main:Ot[500],light:Ot[300],dark:Ot[700]}:{main:Ot[700],light:Ot[400],dark:Ot[800]}}function $h(e="light"){return e==="dark"?{main:wt[400],light:wt[300],dark:wt[700]}:{main:wt[700],light:wt[500],dark:wt[900]}}function Mh(e="light"){return e==="dark"?{main:It[400],light:It[300],dark:It[700]}:{main:It[800],light:It[500],dark:It[900]}}function Nh(e="light"){return e==="dark"?{main:nr[400],light:nr[300],dark:nr[700]}:{main:"#ed6c02",light:nr[500],dark:nr[900]}}function kh(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=pe(e,Ph),i=e.primary||wh(t),a=e.secondary||Ih(t),u=e.error||Ah(t),c=e.info||$h(t),f=e.success||Mh(t),d=e.warning||Nh(t);function p(l){const _=Ne.getContrastRatio(l,zn.text.primary)>=r?zn.text.primary:su.text.primary;if(process.env.NODE_ENV!=="production"){const E=Ne.getContrastRatio(l,_);E<3&&console.error([`MUI: The contrast ratio of ${E}:1 for ${_} on ${l}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
91
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,t.default)(10,M))}else I=I.split(",");return I=I.map(F=>parseFloat(F)),{type:R,values:I,colorSpace:M}}const u=h=>{const O=a(h);return O.values.slice(0,3).map((R,I)=>O.type.indexOf("hsl")!==-1&&I!==0?`${R}%`:R).join(" ")};Te.colorChannel=u;const c=(h,O)=>{try{return u(h)}catch{return O&&process.env.NODE_ENV!=="production"&&console.warn(O),h}};Te.private_safeColorChannel=c;function d(h){const{type:O,colorSpace:R}=h;let{values:I}=h;return O.indexOf("rgb")!==-1?I=I.map((M,F)=>F<3?parseInt(M,10):M):O.indexOf("hsl")!==-1&&(I[1]=`${I[1]}%`,I[2]=`${I[2]}%`),O.indexOf("color")!==-1?I=`${R} ${I.join(" ")}`:I=`${I.join(", ")}`,`${O}(${I})`}function f(h){if(h.indexOf("#")===0)return h;const{values:O}=a(h);return`#${O.map((R,I)=>i(I===3?Math.round(255*R):R)).join("")}`}function p(h){h=a(h);const{values:O}=h,R=O[0],I=O[1]/100,M=O[2]/100,F=I*Math.min(M,1-M),D=(q,G=(q+R/30)%12)=>M-F*Math.max(Math.min(G-3,9-G,1),-1);let L="rgb";const B=[Math.round(D(0)*255),Math.round(D(8)*255),Math.round(D(4)*255)];return h.type==="hsla"&&(L+="a",B.push(O[3])),d({type:L,values:B})}function m(h){h=a(h);let O=h.type==="hsl"||h.type==="hsla"?a(p(h)).values:h.values;return O=O.map(R=>(h.type!=="color"&&(R/=255),R<=.03928?R/12.92:((R+.055)/1.055)**2.4)),Number((.2126*O[0]+.7152*O[1]+.0722*O[2]).toFixed(3))}function b(h,O){const R=m(h),I=m(O);return(Math.max(R,I)+.05)/(Math.min(R,I)+.05)}function v(h,O){return h=a(h),O=n(O),(h.type==="rgb"||h.type==="hsl")&&(h.type+="a"),h.type==="color"?h.values[3]=`/${O}`:h.values[3]=O,d(h)}function l(h,O,R){try{return v(h,O)}catch{return R&&process.env.NODE_ENV!=="production"&&console.warn(R),h}}function _(h,O){if(h=a(h),O=n(O),h.type.indexOf("hsl")!==-1)h.values[2]*=1-O;else if(h.type.indexOf("rgb")!==-1||h.type.indexOf("color")!==-1)for(let R=0;R<3;R+=1)h.values[R]*=1-O;return d(h)}function E(h,O,R){try{return _(h,O)}catch{return R&&process.env.NODE_ENV!=="production"&&console.warn(R),h}}function C(h,O){if(h=a(h),O=n(O),h.type.indexOf("hsl")!==-1)h.values[2]+=(100-h.values[2])*O;else if(h.type.indexOf("rgb")!==-1)for(let R=0;R<3;R+=1)h.values[R]+=(255-h.values[R])*O;else if(h.type.indexOf("color")!==-1)for(let R=0;R<3;R+=1)h.values[R]+=(1-h.values[R])*O;return d(h)}function T(h,O,R){try{return C(h,O)}catch{return R&&process.env.NODE_ENV!=="production"&&console.warn(R),h}}function x(h,O=.15){return m(h)>.5?_(h,O):C(h,O)}function y(h,O,R){try{return x(h,O)}catch{return R&&process.env.NODE_ENV!=="production"&&console.warn(R),h}}function $(h,O,R,I=1){const M=(B,q)=>Math.round((B**(1/I)*(1-R)+q**(1/I)*R)**I),F=a(h),D=a(O),L=[M(F.values[0],D.values[0]),M(F.values[1],D.values[1]),M(F.values[2],D.values[2])];return d({type:"rgb",values:L})}return Te}var Ne=Rh();const rr={black:"#000",white:"#fff"},Ch={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Ct={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Ot={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},nr={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Pt={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},wt={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},It={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Oh=["mode","contrastThreshold","tonalOffset"],su={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:rr.white,default:rr.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Bn={text:{primary:rr.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:rr.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function uu(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Ne.lighten(e.main,o):t==="dark"&&(e.dark=Ne.darken(e.main,i)))}function Ph(e="light"){return e==="dark"?{main:Pt[200],light:Pt[50],dark:Pt[400]}:{main:Pt[700],light:Pt[400],dark:Pt[800]}}function wh(e="light"){return e==="dark"?{main:Ct[200],light:Ct[50],dark:Ct[400]}:{main:Ct[500],light:Ct[300],dark:Ct[700]}}function Ih(e="light"){return e==="dark"?{main:Ot[500],light:Ot[300],dark:Ot[700]}:{main:Ot[700],light:Ot[400],dark:Ot[800]}}function $h(e="light"){return e==="dark"?{main:wt[400],light:wt[300],dark:wt[700]}:{main:wt[700],light:wt[500],dark:wt[900]}}function Ah(e="light"){return e==="dark"?{main:It[400],light:It[300],dark:It[700]}:{main:It[800],light:It[500],dark:It[900]}}function Mh(e="light"){return e==="dark"?{main:nr[400],light:nr[300],dark:nr[700]}:{main:"#ed6c02",light:nr[500],dark:nr[900]}}function Nh(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=pe(e,Oh),i=e.primary||Ph(t),a=e.secondary||wh(t),u=e.error||Ih(t),c=e.info||$h(t),d=e.success||Ah(t),f=e.warning||Mh(t);function p(l){const _=Ne.getContrastRatio(l,Bn.text.primary)>=r?Bn.text.primary:su.text.primary;if(process.env.NODE_ENV!=="production"){const E=Ne.getContrastRatio(l,_);E<3&&console.error([`MUI: The contrast ratio of ${E}:1 for ${_} on ${l}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
92
92
  `))}return _}const m=({color:l,name:_,mainShade:E=500,lightShade:C=300,darkShade:T=700})=>{if(l=w({},l),!l.main&&l[E]&&(l.main=l[E]),!l.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${_?` (${_})`:""} provided to augmentColor(color) is invalid.
93
93
  The color object needs to have a \`main\` property or a \`${E}\` property.`:Jt(11,_?` (${_})`:"",E));if(typeof l.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${_?` (${_})`:""} provided to augmentColor(color) is invalid.
94
94
  \`color.main\` should be a string, but \`${JSON.stringify(l.main)}\` was provided instead.
@@ -103,11 +103,11 @@ const theme1 = createTheme({ palette: {
103
103
 
104
104
  const theme2 = createTheme({ palette: {
105
105
  primary: { main: green[500] },
106
- } });`:Jt(12,_?` (${_})`:"",JSON.stringify(l.main)));return uu(l,"light",C,n),uu(l,"dark",T,n),l.contrastText||(l.contrastText=p(l.main)),l},b={dark:zn,light:su};return process.env.NODE_ENV!=="production"&&(b[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),et(w({common:w({},rr),mode:t,primary:m({color:i,name:"primary"}),secondary:m({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:u,name:"error"}),warning:m({color:d,name:"warning"}),info:m({color:c,name:"info"}),success:m({color:f,name:"success"}),grey:Oh,contrastThreshold:r,getContrastText:p,augmentColor:m,tonalOffset:n},b[t]),o)}const Dh=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function jh(e){return Math.round(e*1e5)/1e5}const cu={textTransform:"uppercase"},lu='"Roboto", "Helvetica", "Arial", sans-serif';function qh(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=lu,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:u=500,fontWeightBold:c=700,htmlFontSize:f=16,allVariants:d,pxToRem:p}=r,m=pe(r,Dh);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof f!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const b=o/14,v=p||(E=>`${E/f*b}rem`),l=(E,C,T,x,y)=>w({fontFamily:n,fontWeight:E,fontSize:v(C),lineHeight:T},n===lu?{letterSpacing:`${jh(x/C)}em`}:{},y,d),_={h1:l(i,96,1.167,-1.5),h2:l(i,60,1.2,-.5),h3:l(a,48,1.167,0),h4:l(a,34,1.235,.25),h5:l(a,24,1.334,0),h6:l(u,20,1.6,.15),subtitle1:l(a,16,1.75,.15),subtitle2:l(u,14,1.57,.1),body1:l(a,16,1.5,.15),body2:l(a,14,1.43,.15),button:l(u,14,1.75,.4,cu),caption:l(a,12,1.66,.4),overline:l(a,12,2.66,1,cu),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return et(w({htmlFontSize:f,pxToRem:v,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:u,fontWeightBold:c},_),m,{clone:!1})}const Lh=.2,Fh=.14,Bh=.12;function Ee(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Lh})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Fh})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Bh})`].join(",")}const zh=["none",Ee(0,2,1,-1,0,1,1,0,0,1,3,0),Ee(0,3,1,-2,0,2,2,0,0,1,5,0),Ee(0,3,3,-2,0,3,4,0,0,1,8,0),Ee(0,2,4,-1,0,4,5,0,0,1,10,0),Ee(0,3,5,-1,0,5,8,0,0,1,14,0),Ee(0,3,5,-1,0,6,10,0,0,1,18,0),Ee(0,4,5,-2,0,7,10,1,0,2,16,1),Ee(0,5,5,-3,0,8,10,1,0,3,14,2),Ee(0,5,6,-3,0,9,12,1,0,3,16,2),Ee(0,6,6,-3,0,10,14,1,0,4,18,3),Ee(0,6,7,-4,0,11,15,1,0,4,20,3),Ee(0,7,8,-4,0,12,17,2,0,5,22,4),Ee(0,7,8,-4,0,13,19,2,0,5,24,4),Ee(0,7,9,-4,0,14,21,2,0,5,26,4),Ee(0,8,9,-5,0,15,22,2,0,6,28,5),Ee(0,8,10,-5,0,16,24,2,0,6,30,5),Ee(0,8,11,-5,0,17,26,2,0,6,32,5),Ee(0,9,11,-5,0,18,28,2,0,7,34,6),Ee(0,9,12,-6,0,19,29,2,0,7,36,6),Ee(0,10,13,-6,0,20,31,3,0,8,38,7),Ee(0,10,13,-6,0,21,33,3,0,8,40,7),Ee(0,10,14,-6,0,22,35,3,0,8,42,7),Ee(0,11,14,-7,0,23,36,3,0,9,44,8),Ee(0,11,15,-7,0,24,38,3,0,9,46,8)],Vh=["duration","easing","delay"],Wh={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Uh={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function fu(e){return`${Math.round(e)}ms`}function Gh(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Yh(e){const t=w({},Wh,e.easing),r=w({},Uh,e.duration);return w({getAutoHeightDuration:Gh,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:u=t.easeInOut,delay:c=0}=i,f=pe(i,Vh);if(process.env.NODE_ENV!=="production"){const d=m=>typeof m=="string",p=m=>!isNaN(parseFloat(m));!d(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(a)&&!d(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),d(u)||console.error('MUI: Argument "easing" must be a string.'),!p(c)&&!d(c)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
107
- `)),Object.keys(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(d=>`${d} ${typeof a=="string"?a:fu(a)} ${u} ${typeof c=="string"?c:fu(c)}`).join(",")}},e,{easing:t,duration:r})}const Hh={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Kh=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Xh(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=pe(e,Kh);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Jt(18));const u=kh(n),c=Bn(e);let f=et(c,{mixins:Eh(c.breakpoints,r),palette:u,shadows:zh.slice(),typography:qh(u,i),transitions:Yh(o),zIndex:w({},Hh)});if(f=et(f,a),f=t.reduce((d,p)=>et(d,p),f),process.env.NODE_ENV!=="production"){const d=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],p=(m,b)=>{let v;for(v in m){const l=m[v];if(d.indexOf(v)!==-1&&Object.keys(l).length>0){if(process.env.NODE_ENV!=="production"){const _=Me("",v);console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${v}\` internal state.`,"You can not override it like this: ",JSON.stringify(m,null,2),"",`Instead, you need to use the '&.${_}' syntax:`,JSON.stringify({root:{[`&.${_}`]:l}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
108
- `))}m[v]={}}}};Object.keys(f.components).forEach(m=>{const b=f.components[m].styleOverrides;b&&m.indexOf("Mui")===0&&p(b,m)})}return f.unstable_sxConfig=w({},tr,a==null?void 0:a.unstable_sxConfig),f.unstable_sx=function(p){return Vr({sx:p,theme:this})},f}const du=Xh(),pu="$$material";function Jh(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Vn=e=>Jh(e)&&e!=="classes",xe=_h({themeId:pu,defaultTheme:du,rootShouldForwardProp:Vn});function hu(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=hu(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function ne(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=hu(e))&&(n&&(n+=" "),n+=t);return n}function je(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,a)=>{if(a){const u=t(a);u!==""&&i.push(u),r&&r[a]&&i.push(r[a])}return i},[]).join(" ")}),n}function Wr(e,t){const r=w({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=w({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=w({},i),Object.keys(o).forEach(a=>{r[n][a]=Wr(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}const Zh=S.createContext(void 0);process.env.NODE_ENV!=="production"&&(s.node,s.object);function Qh(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?Wr(o.defaultProps,n):!o.styleOverrides&&!o.variants?Wr(o,n):n}function em({props:e,name:t}){const r=S.useContext(Zh);return Qh({props:e,name:t,theme:{components:r}})}process.env.NODE_ENV!=="production"&&(s.node,s.object.isRequired);function ke(e){return em(e)}const tt=S.createContext({});process.env.NODE_ENV!=="production"&&(tt.displayName="ListContext");const tm=s.oneOfType([s.func,s.object]);function or(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function rm(e){const{prototype:t={}}=e;return!!t.isReactComponent}function nm(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window>"u")return null;let u;return typeof i=="function"&&!rm(i)&&(u="Did you accidentally provide a plain function component instead?"),u!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Wn=or(s.elementType,nm);function Ur(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Xe(...e){return S.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{Ur(r,t)})},e)}const At=typeof window<"u"?S.useLayoutEffect:S.useEffect;function gt(e){const t=S.useRef(e);return At(()=>{t.current=e}),S.useRef((...r)=>(0,t.current)(...r)).current}const mu={};function om(e,t){const r=S.useRef(mu);return r.current===mu&&(r.current=e(t)),r}const im=[];function am(e){S.useEffect(e,im)}class Gr{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Gr}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function sm(){const e=om(Gr.create).current;return am(e.disposeEffect),e}let Yr=!0,Un=!1;const um=new Gr,cm={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function lm(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&cm[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function fm(e){e.metaKey||e.altKey||e.ctrlKey||(Yr=!0)}function Gn(){Yr=!1}function dm(){this.visibilityState==="hidden"&&Un&&(Yr=!0)}function pm(e){e.addEventListener("keydown",fm,!0),e.addEventListener("mousedown",Gn,!0),e.addEventListener("pointerdown",Gn,!0),e.addEventListener("touchstart",Gn,!0),e.addEventListener("visibilitychange",dm,!0)}function hm(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Yr||lm(t)}function Yn(){const e=S.useCallback(o=>{o!=null&&pm(o.ownerDocument)},[]),t=S.useRef(!1);function r(){return t.current?(Un=!0,um.start(100,()=>{Un=!1}),t.current=!1,!0):!1}function n(o){return hm(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function Hn(e,t){return Hn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Hn(e,t)}function gu(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Hn(e,t)}const yu={disabled:!1};var mm=process.env.NODE_ENV!=="production"?s.oneOfType([s.number,s.shape({enter:s.number,exit:s.number,appear:s.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&s.oneOfType([s.string,s.shape({enter:s.string,exit:s.string,active:s.string}),s.shape({enter:s.string,enterDone:s.string,enterActive:s.string,exit:s.string,exitDone:s.string,exitActive:s.string})]);const Hr=ae.createContext(null);var gm=function(t){return t.scrollTop},ir="unmounted",yt="exited",vt="entering",$t="entered",Kn="exiting",it=function(e){gu(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=o,u=a&&!a.isMounting?n.enter:n.appear,c;return i.appearStatus=null,n.in?u?(c=yt,i.appearStatus=vt):c=$t:n.unmountOnExit||n.mountOnEnter?c=ir:c=yt,i.state={status:c},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===ir?{status:yt}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==vt&&a!==$t&&(i=vt):(a===vt||a===$t)&&(i=Kn)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,i,a,u;return i=a=u=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,u=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:u}},r.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===vt){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:zt.findDOMNode(this);a&&gm(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===yt&&this.setState({status:ir})},r.performEnter=function(o){var i=this,a=this.props.enter,u=this.context?this.context.isMounting:o,c=this.props.nodeRef?[u]:[zt.findDOMNode(this),u],f=c[0],d=c[1],p=this.getTimeouts(),m=u?p.appear:p.enter;if(!o&&!a||yu.disabled){this.safeSetState({status:$t},function(){i.props.onEntered(f)});return}this.props.onEnter(f,d),this.safeSetState({status:vt},function(){i.props.onEntering(f,d),i.onTransitionEnd(m,function(){i.safeSetState({status:$t},function(){i.props.onEntered(f,d)})})})},r.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),u=this.props.nodeRef?void 0:zt.findDOMNode(this);if(!i||yu.disabled){this.safeSetState({status:yt},function(){o.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:Kn},function(){o.props.onExiting(u),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:yt},function(){o.props.onExited(u)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},r.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(u){a&&(a=!1,i.nextCallback=null,o(u))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:zt.findDOMNode(this),u=o==null&&!this.props.addEndListener;if(!a||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],f=c[0],d=c[1];this.props.addEndListener(f,d)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===ir)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var u=pe(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ae.createElement(Hr.Provider,{value:null},typeof a=="function"?a(o,u):ae.cloneElement(ae.Children.only(a),u))},t}(ae.Component);it.contextType=Hr,it.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:s.shape({current:typeof Element>"u"?s.any:function(e,t,r,n,o,i){var a=e[t];return s.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,r,n,o,i)}}),children:s.oneOfType([s.func.isRequired,s.element.isRequired]).isRequired,in:s.bool,mountOnEnter:s.bool,unmountOnExit:s.bool,appear:s.bool,enter:s.bool,exit:s.bool,timeout:function(t){var r=mm;t.addEndListener||(r=r.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return r.apply(void 0,[t].concat(o))},addEndListener:s.func,onEnter:s.func,onEntering:s.func,onEntered:s.func,onExit:s.func,onExiting:s.func,onExited:s.func}:{};function Mt(){}it.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Mt,onEntering:Mt,onEntered:Mt,onExit:Mt,onExiting:Mt,onExited:Mt},it.UNMOUNTED=ir,it.EXITED=yt,it.ENTERING=vt,it.ENTERED=$t,it.EXITING=Kn;function ym(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xn(e,t){var r=function(i){return t&&ae.isValidElement(i)?t(i):i},n=Object.create(null);return e&&ae.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function vm(e,t){e=e||{},t=t||{};function r(d){return d in t?t[d]:e[d]}var n=Object.create(null),o=[];for(var i in e)i in t?o.length&&(n[i]=o,o=[]):o.push(i);var a,u={};for(var c in t){if(n[c])for(a=0;a<n[c].length;a++){var f=n[c][a];u[n[c][a]]=r(f)}u[c]=r(c)}for(a=0;a<o.length;a++)u[o[a]]=r(o[a]);return u}function bt(e,t,r){return r[t]!=null?r[t]:e.props[t]}function bm(e,t){return Xn(e.children,function(r){return ae.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:bt(r,"appear",e),enter:bt(r,"enter",e),exit:bt(r,"exit",e)})})}function _m(e,t,r){var n=Xn(e.children),o=vm(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if(ae.isValidElement(a)){var u=i in t,c=i in n,f=t[i],d=ae.isValidElement(f)&&!f.props.in;c&&(!u||d)?o[i]=ae.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:bt(a,"exit",e),enter:bt(a,"enter",e)}):!c&&u&&!d?o[i]=ae.cloneElement(a,{in:!1}):c&&u&&ae.isValidElement(f)&&(o[i]=ae.cloneElement(a,{onExited:r.bind(null,a),in:f.props.in,exit:bt(a,"exit",e),enter:bt(a,"enter",e)}))}}),o}var xm=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Em={component:"div",childFactory:function(t){return t}},Jn=function(e){gu(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=i.handleExited.bind(ym(i));return i.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},i}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var a=i.children,u=i.handleExited,c=i.firstRender;return{children:c?bm(o,u):_m(o,a,u),firstRender:!1}},r.handleExited=function(o,i){var a=Xn(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(u){var c=w({},u.children);return delete c[o.key],{children:c}}))},r.render=function(){var o=this.props,i=o.component,a=o.childFactory,u=pe(o,["component","childFactory"]),c=this.state.contextValue,f=xm(this.state.children).map(a);return delete u.appear,delete u.enter,delete u.exit,i===null?ae.createElement(Hr.Provider,{value:c},f):ae.createElement(Hr.Provider,{value:c},ae.createElement(i,u,f))},t}(ae.Component);Jn.propTypes=process.env.NODE_ENV!=="production"?{component:s.any,children:s.node,appear:s.bool,enter:s.bool,exit:s.bool,childFactory:s.func}:{},Jn.defaultProps=Em;function Tm(e){return Object.keys(e).length===0}function Sm(e=null){const t=S.useContext(Ht);return!t||Tm(t)?e:t}const Rm=Bn();function Cm(e=Rm){return Sm(e)}function Ae(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Me(e,o,r)}),n}function Om(e){const{prototype:t={}}=e;return!!t.isReactComponent}function vu(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window>"u")return null;let u;const c=i.type;return typeof c=="function"&&!Om(c)&&(u="Did you accidentally use a plain function component for an element instead?"),u!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Kr=or(s.element,vu);Kr.isRequired=or(s.element.isRequired,vu);const Pm="exact-prop: ​";function bu(e){return process.env.NODE_ENV==="production"?e:w({},e,{[Pm]:t=>{const r=Object.keys(t).filter(n=>!e.hasOwnProperty(n));return r.length>0?new Error(`The following props are not supported: ${r.map(n=>`\`${n}\``).join(", ")}. Please remove them.`):null}})}function _u(e,t,r,n,o){if(process.env.NODE_ENV==="production")return null;const i=e[t],a=o||t;return i==null?null:i&&i.nodeType!==1?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an HTMLElement.`):null}function Zn(...e){return e.reduce((t,r)=>r==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function wm(e,t=166){let r;function n(...o){const i=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}function Im(e,t){return process.env.NODE_ENV==="production"?()=>null:(r,n,o,i,a)=>{const u=o||"<<anonymous>>",c=a||n;return typeof r[n]<"u"?new Error(`The ${i} \`${c}\` of \`${u}\` is deprecated. ${t}`):null}}function Qn(e,t){var r,n;return S.isValidElement(e)&&t.indexOf((r=e.type.muiName)!=null?r:(n=e.type)==null||(n=n._payload)==null||(n=n.value)==null?void 0:n.muiName)!==-1}function at(e){return e&&e.ownerDocument||document}function Xr(e){return at(e).defaultView||window}function Am(e,t){if(process.env.NODE_ENV==="production")return()=>null;const r=t?w({},t.propTypes):null;return o=>(i,a,u,c,f,...d)=>{const p=f||a,m=r==null?void 0:r[p];if(m){const b=m(i,a,u,c,f,...d);if(b)return b}return typeof i[a]<"u"&&!i[o]?new Error(`The prop \`${p}\` of \`${e}\` can only be used together with the \`${o}\` prop.`):null}}let xu=0;function $m(e){const[t,r]=S.useState(e),n=e||t;return S.useEffect(()=>{t==null&&(xu+=1,r(`mui-${xu}`))},[t]),n}const Eu=S.useId;function Tu(e){if(Eu!==void 0){const t=Eu();return e??t}return $m(e)}function Mm(e,t,r,n,o){if(process.env.NODE_ENV==="production")return null;const i=o||t;return typeof e[t]<"u"?new Error(`The prop \`${i}\` is not supported. Please remove it.`):null}function Nm({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=S.useRef(e!==void 0),[i,a]=S.useState(t),u=o?e:i;if(process.env.NODE_ENV!=="production"){S.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${n} state of ${r} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
109
- `))},[n,r,e]);const{current:f}=S.useRef(t);S.useEffect(()=>{!o&&!Object.is(f,t)&&console.error([`MUI: A component is changing the default ${n} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
110
- `))},[JSON.stringify(t)])}const c=S.useCallback(f=>{o||a(f)},[]);return[u,c]}function km(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Dm(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function jm(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const qm=Number.isInteger||jm;function Su(e,t,r,n){const o=e[t];if(o==null||!qm(o)){const i=Dm(o);return new RangeError(`Invalid ${n} \`${t}\` of type \`${i}\` supplied to \`${r}\`, expected \`integer\`.`)}return null}function Ru(e,t,...r){return e[t]===void 0?null:Su(e,t,...r)}function eo(){return null}Ru.isRequired=Su,eo.isRequired=eo;const Lm=process.env.NODE_ENV==="production"?eo:Ru;function to(e){return typeof e=="string"}function Fm(e,t,r){return e===void 0||to(e)?t:w({},t,{ownerState:w({},t.ownerState,r)})}function Cu(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function Ou(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function Bm(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const b=ne(r==null?void 0:r.className,i,o==null?void 0:o.className,n==null?void 0:n.className),v=w({},r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),l=w({},r,o,n);return b.length>0&&(l.className=b),Object.keys(v).length>0&&(l.style=v),{props:l,internalRef:void 0}}const a=Cu(w({},o,n)),u=Ou(n),c=Ou(o),f=t(a),d=ne(f==null?void 0:f.className,r==null?void 0:r.className,i,o==null?void 0:o.className,n==null?void 0:n.className),p=w({},f==null?void 0:f.style,r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),m=w({},f,r,c,u);return d.length>0&&(m.className=d),Object.keys(p).length>0&&(m.style=p),{props:m,internalRef:f.ref}}function zm(e,t,r){return typeof e=="function"?e(t,r):e}const Vm=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Pu(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=pe(e,Vm),u=i?{}:zm(n,o),{props:c,internalRef:f}=Bm(w({},a,{externalSlotProps:u})),d=Xe(f,u==null?void 0:u.ref,(t=e.additionalProps)==null?void 0:t.ref);return Fm(r,w({},c,{ref:d}),o)}function ro(e){if(parseInt(S.version,10)>=19){var t;return(e==null||(t=e.props)==null?void 0:t.ref)||null}return(e==null?void 0:e.ref)||null}function wu(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:u,onExited:c,timeout:f}=e,[d,p]=S.useState(!1),m=ne(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),b={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},v=ne(r.child,d&&r.childLeaving,n&&r.childPulsate);return!u&&!d&&p(!0),S.useEffect(()=>{if(!u&&c!=null){const l=setTimeout(c,f);return()=>{clearTimeout(l)}}},[c,u,f]),k.jsx("span",{className:m,style:b,children:k.jsx("span",{className:v})})}process.env.NODE_ENV!=="production"&&(wu.propTypes={classes:s.object.isRequired,className:s.string,in:s.bool,onExited:s.func,pulsate:s.bool,rippleSize:s.number,rippleX:s.number,rippleY:s.number,timeout:s.number.isRequired});const He=Ae("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Wm=["center","classes","className"];let Jr=e=>e,Iu,Au,$u,Mu;const no=550,Um=80,Gm=Ir(Iu||(Iu=Jr`
106
+ } });`:Jt(12,_?` (${_})`:"",JSON.stringify(l.main)));return uu(l,"light",C,n),uu(l,"dark",T,n),l.contrastText||(l.contrastText=p(l.main)),l},b={dark:Bn,light:su};return process.env.NODE_ENV!=="production"&&(b[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),tt(w({common:w({},rr),mode:t,primary:m({color:i,name:"primary"}),secondary:m({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:u,name:"error"}),warning:m({color:f,name:"warning"}),info:m({color:c,name:"info"}),success:m({color:d,name:"success"}),grey:Ch,contrastThreshold:r,getContrastText:p,augmentColor:m,tonalOffset:n},b[t]),o)}const kh=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Dh(e){return Math.round(e*1e5)/1e5}const cu={textTransform:"uppercase"},lu='"Roboto", "Helvetica", "Arial", sans-serif';function jh(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=lu,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:u=500,fontWeightBold:c=700,htmlFontSize:d=16,allVariants:f,pxToRem:p}=r,m=pe(r,kh);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof d!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const b=o/14,v=p||(E=>`${E/d*b}rem`),l=(E,C,T,x,y)=>w({fontFamily:n,fontWeight:E,fontSize:v(C),lineHeight:T},n===lu?{letterSpacing:`${Dh(x/C)}em`}:{},y,f),_={h1:l(i,96,1.167,-1.5),h2:l(i,60,1.2,-.5),h3:l(a,48,1.167,0),h4:l(a,34,1.235,.25),h5:l(a,24,1.334,0),h6:l(u,20,1.6,.15),subtitle1:l(a,16,1.75,.15),subtitle2:l(u,14,1.57,.1),body1:l(a,16,1.5,.15),body2:l(a,14,1.43,.15),button:l(u,14,1.75,.4,cu),caption:l(a,12,1.66,.4),overline:l(a,12,2.66,1,cu),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return tt(w({htmlFontSize:d,pxToRem:v,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:u,fontWeightBold:c},_),m,{clone:!1})}const qh=.2,Lh=.14,Fh=.12;function Ee(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${qh})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Lh})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Fh})`].join(",")}const Bh=["none",Ee(0,2,1,-1,0,1,1,0,0,1,3,0),Ee(0,3,1,-2,0,2,2,0,0,1,5,0),Ee(0,3,3,-2,0,3,4,0,0,1,8,0),Ee(0,2,4,-1,0,4,5,0,0,1,10,0),Ee(0,3,5,-1,0,5,8,0,0,1,14,0),Ee(0,3,5,-1,0,6,10,0,0,1,18,0),Ee(0,4,5,-2,0,7,10,1,0,2,16,1),Ee(0,5,5,-3,0,8,10,1,0,3,14,2),Ee(0,5,6,-3,0,9,12,1,0,3,16,2),Ee(0,6,6,-3,0,10,14,1,0,4,18,3),Ee(0,6,7,-4,0,11,15,1,0,4,20,3),Ee(0,7,8,-4,0,12,17,2,0,5,22,4),Ee(0,7,8,-4,0,13,19,2,0,5,24,4),Ee(0,7,9,-4,0,14,21,2,0,5,26,4),Ee(0,8,9,-5,0,15,22,2,0,6,28,5),Ee(0,8,10,-5,0,16,24,2,0,6,30,5),Ee(0,8,11,-5,0,17,26,2,0,6,32,5),Ee(0,9,11,-5,0,18,28,2,0,7,34,6),Ee(0,9,12,-6,0,19,29,2,0,7,36,6),Ee(0,10,13,-6,0,20,31,3,0,8,38,7),Ee(0,10,13,-6,0,21,33,3,0,8,40,7),Ee(0,10,14,-6,0,22,35,3,0,8,42,7),Ee(0,11,14,-7,0,23,36,3,0,9,44,8),Ee(0,11,15,-7,0,24,38,3,0,9,46,8)],zh=["duration","easing","delay"],Vh={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Wh={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function du(e){return`${Math.round(e)}ms`}function Uh(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Gh(e){const t=w({},Vh,e.easing),r=w({},Wh,e.duration);return w({getAutoHeightDuration:Uh,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:u=t.easeInOut,delay:c=0}=i,d=pe(i,zh);if(process.env.NODE_ENV!=="production"){const f=m=>typeof m=="string",p=m=>!isNaN(parseFloat(m));!f(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(a)&&!f(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),f(u)||console.error('MUI: Argument "easing" must be a string.'),!p(c)&&!f(c)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
107
+ `)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(f=>`${f} ${typeof a=="string"?a:du(a)} ${u} ${typeof c=="string"?c:du(c)}`).join(",")}},e,{easing:t,duration:r})}const Yh={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Hh=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Kh(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=pe(e,Hh);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Jt(18));const u=Nh(n),c=Fn(e);let d=tt(c,{mixins:xh(c.breakpoints,r),palette:u,shadows:Bh.slice(),typography:jh(u,i),transitions:Gh(o),zIndex:w({},Yh)});if(d=tt(d,a),d=t.reduce((f,p)=>tt(f,p),d),process.env.NODE_ENV!=="production"){const f=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],p=(m,b)=>{let v;for(v in m){const l=m[v];if(f.indexOf(v)!==-1&&Object.keys(l).length>0){if(process.env.NODE_ENV!=="production"){const _=Me("",v);console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${v}\` internal state.`,"You can not override it like this: ",JSON.stringify(m,null,2),"",`Instead, you need to use the '&.${_}' syntax:`,JSON.stringify({root:{[`&.${_}`]:l}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
108
+ `))}m[v]={}}}};Object.keys(d.components).forEach(m=>{const b=d.components[m].styleOverrides;b&&m.indexOf("Mui")===0&&p(b,m)})}return d.unstable_sxConfig=w({},tr,a==null?void 0:a.unstable_sxConfig),d.unstable_sx=function(p){return Vr({sx:p,theme:this})},d}const fu=Kh(),pu="$$material";function Xh(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const zn=e=>Xh(e)&&e!=="classes",xe=bh({themeId:pu,defaultTheme:fu,rootShouldForwardProp:zn});function hu(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=hu(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function ne(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=hu(e))&&(n&&(n+=" "),n+=t);return n}function je(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,a)=>{if(a){const u=t(a);u!==""&&i.push(u),r&&r[a]&&i.push(r[a])}return i},[]).join(" ")}),n}function Wr(e,t){const r=w({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=w({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=w({},i),Object.keys(o).forEach(a=>{r[n][a]=Wr(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}const Jh=S.createContext(void 0);process.env.NODE_ENV!=="production"&&(s.node,s.object);function Zh(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?Wr(o.defaultProps,n):!o.styleOverrides&&!o.variants?Wr(o,n):n}function Qh({props:e,name:t}){const r=S.useContext(Jh);return Zh({props:e,name:t,theme:{components:r}})}process.env.NODE_ENV!=="production"&&(s.node,s.object.isRequired);function ke(e){return Qh(e)}const rt=S.createContext({});process.env.NODE_ENV!=="production"&&(rt.displayName="ListContext");const em=s.oneOfType([s.func,s.object]);function or(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function tm(e){const{prototype:t={}}=e;return!!t.isReactComponent}function rm(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window>"u")return null;let u;return typeof i=="function"&&!tm(i)&&(u="Did you accidentally provide a plain function component instead?"),u!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Vn=or(s.elementType,rm);function Ur(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Je(...e){return S.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{Ur(r,t)})},e)}const $t=typeof window<"u"?S.useLayoutEffect:S.useEffect;function gt(e){const t=S.useRef(e);return $t(()=>{t.current=e}),S.useRef((...r)=>(0,t.current)(...r)).current}const mu={};function nm(e,t){const r=S.useRef(mu);return r.current===mu&&(r.current=e(t)),r}const om=[];function im(e){S.useEffect(e,om)}class Gr{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Gr}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function am(){const e=nm(Gr.create).current;return im(e.disposeEffect),e}let Yr=!0,Wn=!1;const sm=new Gr,um={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function cm(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&um[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function lm(e){e.metaKey||e.altKey||e.ctrlKey||(Yr=!0)}function Un(){Yr=!1}function dm(){this.visibilityState==="hidden"&&Wn&&(Yr=!0)}function fm(e){e.addEventListener("keydown",lm,!0),e.addEventListener("mousedown",Un,!0),e.addEventListener("pointerdown",Un,!0),e.addEventListener("touchstart",Un,!0),e.addEventListener("visibilitychange",dm,!0)}function pm(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Yr||cm(t)}function Gn(){const e=S.useCallback(o=>{o!=null&&fm(o.ownerDocument)},[]),t=S.useRef(!1);function r(){return t.current?(Wn=!0,sm.start(100,()=>{Wn=!1}),t.current=!1,!0):!1}function n(o){return pm(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function Yn(e,t){return Yn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Yn(e,t)}function gu(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Yn(e,t)}const yu={disabled:!1};var hm=process.env.NODE_ENV!=="production"?s.oneOfType([s.number,s.shape({enter:s.number,exit:s.number,appear:s.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&s.oneOfType([s.string,s.shape({enter:s.string,exit:s.string,active:s.string}),s.shape({enter:s.string,enterDone:s.string,enterActive:s.string,exit:s.string,exitDone:s.string,exitActive:s.string})]);const Hr=ae.createContext(null);var mm=function(t){return t.scrollTop},ir="unmounted",yt="exited",vt="entering",At="entered",Hn="exiting",at=function(e){gu(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=o,u=a&&!a.isMounting?n.enter:n.appear,c;return i.appearStatus=null,n.in?u?(c=yt,i.appearStatus=vt):c=At:n.unmountOnExit||n.mountOnEnter?c=ir:c=yt,i.state={status:c},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===ir?{status:yt}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==vt&&a!==At&&(i=vt):(a===vt||a===At)&&(i=Hn)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,i,a,u;return i=a=u=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,u=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:u}},r.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===vt){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:zt.findDOMNode(this);a&&mm(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===yt&&this.setState({status:ir})},r.performEnter=function(o){var i=this,a=this.props.enter,u=this.context?this.context.isMounting:o,c=this.props.nodeRef?[u]:[zt.findDOMNode(this),u],d=c[0],f=c[1],p=this.getTimeouts(),m=u?p.appear:p.enter;if(!o&&!a||yu.disabled){this.safeSetState({status:At},function(){i.props.onEntered(d)});return}this.props.onEnter(d,f),this.safeSetState({status:vt},function(){i.props.onEntering(d,f),i.onTransitionEnd(m,function(){i.safeSetState({status:At},function(){i.props.onEntered(d,f)})})})},r.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),u=this.props.nodeRef?void 0:zt.findDOMNode(this);if(!i||yu.disabled){this.safeSetState({status:yt},function(){o.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:Hn},function(){o.props.onExiting(u),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:yt},function(){o.props.onExited(u)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},r.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(u){a&&(a=!1,i.nextCallback=null,o(u))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:zt.findDOMNode(this),u=o==null&&!this.props.addEndListener;if(!a||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],d=c[0],f=c[1];this.props.addEndListener(d,f)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===ir)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var u=pe(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ae.createElement(Hr.Provider,{value:null},typeof a=="function"?a(o,u):ae.cloneElement(ae.Children.only(a),u))},t}(ae.Component);at.contextType=Hr,at.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:s.shape({current:typeof Element>"u"?s.any:function(e,t,r,n,o,i){var a=e[t];return s.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,r,n,o,i)}}),children:s.oneOfType([s.func.isRequired,s.element.isRequired]).isRequired,in:s.bool,mountOnEnter:s.bool,unmountOnExit:s.bool,appear:s.bool,enter:s.bool,exit:s.bool,timeout:function(t){var r=hm;t.addEndListener||(r=r.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return r.apply(void 0,[t].concat(o))},addEndListener:s.func,onEnter:s.func,onEntering:s.func,onEntered:s.func,onExit:s.func,onExiting:s.func,onExited:s.func}:{};function Mt(){}at.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Mt,onEntering:Mt,onEntered:Mt,onExit:Mt,onExiting:Mt,onExited:Mt},at.UNMOUNTED=ir,at.EXITED=yt,at.ENTERING=vt,at.ENTERED=At,at.EXITING=Hn;function gm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kn(e,t){var r=function(i){return t&&ae.isValidElement(i)?t(i):i},n=Object.create(null);return e&&ae.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function ym(e,t){e=e||{},t=t||{};function r(f){return f in t?t[f]:e[f]}var n=Object.create(null),o=[];for(var i in e)i in t?o.length&&(n[i]=o,o=[]):o.push(i);var a,u={};for(var c in t){if(n[c])for(a=0;a<n[c].length;a++){var d=n[c][a];u[n[c][a]]=r(d)}u[c]=r(c)}for(a=0;a<o.length;a++)u[o[a]]=r(o[a]);return u}function bt(e,t,r){return r[t]!=null?r[t]:e.props[t]}function vm(e,t){return Kn(e.children,function(r){return ae.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:bt(r,"appear",e),enter:bt(r,"enter",e),exit:bt(r,"exit",e)})})}function bm(e,t,r){var n=Kn(e.children),o=ym(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if(ae.isValidElement(a)){var u=i in t,c=i in n,d=t[i],f=ae.isValidElement(d)&&!d.props.in;c&&(!u||f)?o[i]=ae.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:bt(a,"exit",e),enter:bt(a,"enter",e)}):!c&&u&&!f?o[i]=ae.cloneElement(a,{in:!1}):c&&u&&ae.isValidElement(d)&&(o[i]=ae.cloneElement(a,{onExited:r.bind(null,a),in:d.props.in,exit:bt(a,"exit",e),enter:bt(a,"enter",e)}))}}),o}var _m=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},xm={component:"div",childFactory:function(t){return t}},Xn=function(e){gu(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=i.handleExited.bind(gm(i));return i.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},i}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var a=i.children,u=i.handleExited,c=i.firstRender;return{children:c?vm(o,u):bm(o,a,u),firstRender:!1}},r.handleExited=function(o,i){var a=Kn(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(u){var c=w({},u.children);return delete c[o.key],{children:c}}))},r.render=function(){var o=this.props,i=o.component,a=o.childFactory,u=pe(o,["component","childFactory"]),c=this.state.contextValue,d=_m(this.state.children).map(a);return delete u.appear,delete u.enter,delete u.exit,i===null?ae.createElement(Hr.Provider,{value:c},d):ae.createElement(Hr.Provider,{value:c},ae.createElement(i,u,d))},t}(ae.Component);Xn.propTypes=process.env.NODE_ENV!=="production"?{component:s.any,children:s.node,appear:s.bool,enter:s.bool,exit:s.bool,childFactory:s.func}:{},Xn.defaultProps=xm;function Em(e){return Object.keys(e).length===0}function Tm(e=null){const t=S.useContext(Ht);return!t||Em(t)?e:t}const Sm=Fn();function Rm(e=Sm){return Tm(e)}function $e(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Me(e,o,r)}),n}function Cm(e){const{prototype:t={}}=e;return!!t.isReactComponent}function vu(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window>"u")return null;let u;const c=i.type;return typeof c=="function"&&!Cm(c)&&(u="Did you accidentally use a plain function component for an element instead?"),u!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Kr=or(s.element,vu);Kr.isRequired=or(s.element.isRequired,vu);const Om="exact-prop: ​";function bu(e){return process.env.NODE_ENV==="production"?e:w({},e,{[Om]:t=>{const r=Object.keys(t).filter(n=>!e.hasOwnProperty(n));return r.length>0?new Error(`The following props are not supported: ${r.map(n=>`\`${n}\``).join(", ")}. Please remove them.`):null}})}function _u(e,t,r,n,o){if(process.env.NODE_ENV==="production")return null;const i=e[t],a=o||t;return i==null?null:i&&i.nodeType!==1?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an HTMLElement.`):null}function Jn(...e){return e.reduce((t,r)=>r==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function Pm(e,t=166){let r;function n(...o){const i=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}function wm(e,t){return process.env.NODE_ENV==="production"?()=>null:(r,n,o,i,a)=>{const u=o||"<<anonymous>>",c=a||n;return typeof r[n]<"u"?new Error(`The ${i} \`${c}\` of \`${u}\` is deprecated. ${t}`):null}}function Zn(e,t){var r,n;return S.isValidElement(e)&&t.indexOf((r=e.type.muiName)!=null?r:(n=e.type)==null||(n=n._payload)==null||(n=n.value)==null?void 0:n.muiName)!==-1}function st(e){return e&&e.ownerDocument||document}function Xr(e){return st(e).defaultView||window}function Im(e,t){if(process.env.NODE_ENV==="production")return()=>null;const r=t?w({},t.propTypes):null;return o=>(i,a,u,c,d,...f)=>{const p=d||a,m=r==null?void 0:r[p];if(m){const b=m(i,a,u,c,d,...f);if(b)return b}return typeof i[a]<"u"&&!i[o]?new Error(`The prop \`${p}\` of \`${e}\` can only be used together with the \`${o}\` prop.`):null}}let xu=0;function $m(e){const[t,r]=S.useState(e),n=e||t;return S.useEffect(()=>{t==null&&(xu+=1,r(`mui-${xu}`))},[t]),n}const Eu=S.useId;function Tu(e){if(Eu!==void 0){const t=Eu();return e??t}return $m(e)}function Am(e,t,r,n,o){if(process.env.NODE_ENV==="production")return null;const i=o||t;return typeof e[t]<"u"?new Error(`The prop \`${i}\` is not supported. Please remove it.`):null}function Mm({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=S.useRef(e!==void 0),[i,a]=S.useState(t),u=o?e:i;if(process.env.NODE_ENV!=="production"){S.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${n} state of ${r} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
109
+ `))},[n,r,e]);const{current:d}=S.useRef(t);S.useEffect(()=>{!o&&!Object.is(d,t)&&console.error([`MUI: A component is changing the default ${n} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
110
+ `))},[JSON.stringify(t)])}const c=S.useCallback(d=>{o||a(d)},[]);return[u,c]}function Nm(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function km(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function Dm(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const jm=Number.isInteger||Dm;function Su(e,t,r,n){const o=e[t];if(o==null||!jm(o)){const i=km(o);return new RangeError(`Invalid ${n} \`${t}\` of type \`${i}\` supplied to \`${r}\`, expected \`integer\`.`)}return null}function Ru(e,t,...r){return e[t]===void 0?null:Su(e,t,...r)}function Qn(){return null}Ru.isRequired=Su,Qn.isRequired=Qn;const qm=process.env.NODE_ENV==="production"?Qn:Ru;function eo(e){return typeof e=="string"}function Lm(e,t,r){return e===void 0||eo(e)?t:w({},t,{ownerState:w({},t.ownerState,r)})}function Cu(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function Ou(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function Fm(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const b=ne(r==null?void 0:r.className,i,o==null?void 0:o.className,n==null?void 0:n.className),v=w({},r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),l=w({},r,o,n);return b.length>0&&(l.className=b),Object.keys(v).length>0&&(l.style=v),{props:l,internalRef:void 0}}const a=Cu(w({},o,n)),u=Ou(n),c=Ou(o),d=t(a),f=ne(d==null?void 0:d.className,r==null?void 0:r.className,i,o==null?void 0:o.className,n==null?void 0:n.className),p=w({},d==null?void 0:d.style,r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),m=w({},d,r,c,u);return f.length>0&&(m.className=f),Object.keys(p).length>0&&(m.style=p),{props:m,internalRef:d.ref}}function Bm(e,t,r){return typeof e=="function"?e(t,r):e}const zm=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Pu(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=pe(e,zm),u=i?{}:Bm(n,o),{props:c,internalRef:d}=Fm(w({},a,{externalSlotProps:u})),f=Je(d,u==null?void 0:u.ref,(t=e.additionalProps)==null?void 0:t.ref);return Lm(r,w({},c,{ref:f}),o)}function to(e){if(parseInt(S.version,10)>=19){var t;return(e==null||(t=e.props)==null?void 0:t.ref)||null}return(e==null?void 0:e.ref)||null}function wu(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:u,onExited:c,timeout:d}=e,[f,p]=S.useState(!1),m=ne(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),b={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},v=ne(r.child,f&&r.childLeaving,n&&r.childPulsate);return!u&&!f&&p(!0),S.useEffect(()=>{if(!u&&c!=null){const l=setTimeout(c,d);return()=>{clearTimeout(l)}}},[c,u,d]),k.jsx("span",{className:m,style:b,children:k.jsx("span",{className:v})})}process.env.NODE_ENV!=="production"&&(wu.propTypes={classes:s.object.isRequired,className:s.string,in:s.bool,onExited:s.func,pulsate:s.bool,rippleSize:s.number,rippleX:s.number,rippleY:s.number,timeout:s.number.isRequired});const Ye=$e("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Vm=["center","classes","className"];let Jr=e=>e,Iu,$u,Au,Mu;const ro=550,Wm=80,Um=Ir(Iu||(Iu=Jr`
111
111
  0% {
112
112
  transform: scale(0);
113
113
  opacity: 0.1;
@@ -117,7 +117,7 @@ const theme2 = createTheme({ palette: {
117
117
  transform: scale(1);
118
118
  opacity: 0.3;
119
119
  }
120
- `)),Ym=Ir(Au||(Au=Jr`
120
+ `)),Gm=Ir($u||($u=Jr`
121
121
  0% {
122
122
  opacity: 1;
123
123
  }
@@ -125,7 +125,7 @@ const theme2 = createTheme({ palette: {
125
125
  100% {
126
126
  opacity: 0;
127
127
  }
128
- `)),Hm=Ir($u||($u=Jr`
128
+ `)),Ym=Ir(Au||(Au=Jr`
129
129
  0% {
130
130
  transform: scale(1);
131
131
  }
@@ -137,7 +137,7 @@ const theme2 = createTheme({ palette: {
137
137
  100% {
138
138
  transform: scale(1);
139
139
  }
140
- `)),Km=xe("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Xm=xe(wu,{name:"MuiTouchRipple",slot:"Ripple"})(Mu||(Mu=Jr`
140
+ `)),Hm=xe("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Km=xe(wu,{name:"MuiTouchRipple",slot:"Ripple"})(Mu||(Mu=Jr`
141
141
  opacity: 0;
142
142
  position: absolute;
143
143
 
@@ -180,9 +180,9 @@ const theme2 = createTheme({ palette: {
180
180
  animation-iteration-count: infinite;
181
181
  animation-delay: 200ms;
182
182
  }
183
- `),He.rippleVisible,Gm,no,({theme:e})=>e.transitions.easing.easeInOut,He.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,He.child,He.childLeaving,Ym,no,({theme:e})=>e.transitions.easing.easeInOut,He.childPulsate,Hm,({theme:e})=>e.transitions.easing.easeInOut),Nu=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=n,u=pe(n,Wm),[c,f]=S.useState([]),d=S.useRef(0),p=S.useRef(null);S.useEffect(()=>{p.current&&(p.current(),p.current=null)},[c]);const m=S.useRef(!1),b=sm(),v=S.useRef(null),l=S.useRef(null),_=S.useCallback(x=>{const{pulsate:y,rippleX:A,rippleY:h,rippleSize:O,cb:R}=x;f(I=>[...I,k.jsx(Xm,{classes:{ripple:ne(i.ripple,He.ripple),rippleVisible:ne(i.rippleVisible,He.rippleVisible),ripplePulsate:ne(i.ripplePulsate,He.ripplePulsate),child:ne(i.child,He.child),childLeaving:ne(i.childLeaving,He.childLeaving),childPulsate:ne(i.childPulsate,He.childPulsate)},timeout:no,pulsate:y,rippleX:A,rippleY:h,rippleSize:O},d.current)]),d.current+=1,p.current=R},[i]),E=S.useCallback((x={},y={},A=()=>{})=>{const{pulsate:h=!1,center:O=o||y.pulsate,fakeElement:R=!1}=y;if((x==null?void 0:x.type)==="mousedown"&&m.current){m.current=!1;return}(x==null?void 0:x.type)==="touchstart"&&(m.current=!0);const I=R?null:l.current,M=I?I.getBoundingClientRect():{width:0,height:0,left:0,top:0};let F,D,L;if(O||x===void 0||x.clientX===0&&x.clientY===0||!x.clientX&&!x.touches)F=Math.round(M.width/2),D=Math.round(M.height/2);else{const{clientX:B,clientY:q}=x.touches&&x.touches.length>0?x.touches[0]:x;F=Math.round(B-M.left),D=Math.round(q-M.top)}if(O)L=Math.sqrt((2*M.width**2+M.height**2)/3),L%2===0&&(L+=1);else{const B=Math.max(Math.abs((I?I.clientWidth:0)-F),F)*2+2,q=Math.max(Math.abs((I?I.clientHeight:0)-D),D)*2+2;L=Math.sqrt(B**2+q**2)}x!=null&&x.touches?v.current===null&&(v.current=()=>{_({pulsate:h,rippleX:F,rippleY:D,rippleSize:L,cb:A})},b.start(Um,()=>{v.current&&(v.current(),v.current=null)})):_({pulsate:h,rippleX:F,rippleY:D,rippleSize:L,cb:A})},[o,_,b]),C=S.useCallback(()=>{E({},{pulsate:!0})},[E]),T=S.useCallback((x,y)=>{if(b.clear(),(x==null?void 0:x.type)==="touchend"&&v.current){v.current(),v.current=null,b.start(0,()=>{T(x,y)});return}v.current=null,f(A=>A.length>0?A.slice(1):A),p.current=y},[b]);return S.useImperativeHandle(r,()=>({pulsate:C,start:E,stop:T}),[C,E,T]),k.jsx(Km,w({className:ne(He.root,i.root,a),ref:l},u,{children:k.jsx(Jn,{component:null,exit:!0,children:c})}))});process.env.NODE_ENV!=="production"&&(Nu.propTypes={center:s.bool,classes:s.object,className:s.string});function Jm(e){return Me("MuiButtonBase",e)}const Zm=Ae("MuiButtonBase",["root","disabled","focusVisible"]),Qm=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],eg=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=je({root:["root",t&&"disabled",r&&"focusVisible"]},Jm,o);return r&&n&&(a.root+=` ${n}`),a},tg=xe("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Zm.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Zr=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:u,component:c="button",disabled:f=!1,disableRipple:d=!1,disableTouchRipple:p=!1,focusRipple:m=!1,LinkComponent:b="a",onBlur:v,onClick:l,onContextMenu:_,onDragLeave:E,onFocus:C,onFocusVisible:T,onKeyDown:x,onKeyUp:y,onMouseDown:A,onMouseLeave:h,onMouseUp:O,onTouchEnd:R,onTouchMove:I,onTouchStart:M,tabIndex:F=0,TouchRippleProps:D,touchRippleRef:L,type:B}=n,q=pe(n,Qm),G=S.useRef(null),Z=S.useRef(null),Pe=Xe(Z,L),{isFocusVisibleRef:$,onFocus:j,onBlur:Q,ref:X}=Yn(),[V,H]=S.useState(!1);f&&V&&H(!1),S.useImperativeHandle(o,()=>({focusVisible:()=>{H(!0),G.current.focus()}}),[]);const[Y,K]=S.useState(!1);S.useEffect(()=>{K(!0)},[]);const W=Y&&!d&&!f;S.useEffect(()=>{V&&m&&!d&&Y&&Z.current.pulsate()},[d,m,V,Y]);function U(te,yr,Fa=p){return gt(dn=>(yr&&yr(dn),!Fa&&Z.current&&Z.current[te](dn),!0))}const J=U("start",A),be=U("stop",_),P=U("stop",E),ge=U("stop",O),ie=U("stop",te=>{V&&te.preventDefault(),h&&h(te)}),Se=U("start",M),We=U("stop",R),ut=U("stop",I),qt=U("stop",te=>{Q(te),$.current===!1&&H(!1),v&&v(te)},!1),pt=gt(te=>{G.current||(G.current=te.currentTarget),j(te),$.current===!0&&(H(!0),T&&T(te)),C&&C(te)}),pr=()=>{const te=G.current;return c&&c!=="button"&&!(te.tagName==="A"&&te.href)},hr=S.useRef(!1),mr=gt(te=>{m&&!hr.current&&V&&Z.current&&te.key===" "&&(hr.current=!0,Z.current.stop(te,()=>{Z.current.start(te)})),te.target===te.currentTarget&&pr()&&te.key===" "&&te.preventDefault(),x&&x(te),te.target===te.currentTarget&&pr()&&te.key==="Enter"&&!f&&(te.preventDefault(),l&&l(te))}),qa=gt(te=>{m&&te.key===" "&&Z.current&&V&&!te.defaultPrevented&&(hr.current=!1,Z.current.stop(te,()=>{Z.current.pulsate(te)})),y&&y(te),l&&te.target===te.currentTarget&&pr()&&te.key===" "&&!te.defaultPrevented&&l(te)});let Lt=c;Lt==="button"&&(q.href||q.to)&&(Lt=b);const ht={};Lt==="button"?(ht.type=B===void 0?"button":B,ht.disabled=f):(!q.href&&!q.to&&(ht.role="button"),f&&(ht["aria-disabled"]=f));const fn=Xe(r,X,G);process.env.NODE_ENV!=="production"&&S.useEffect(()=>{W&&!Z.current&&console.error(["MUI: The `component` prop provided to ButtonBase is invalid.","Please make sure the children prop is rendered in this custom component."].join(`
184
- `))},[W]);const gr=w({},n,{centerRipple:i,component:c,disabled:f,disableRipple:d,disableTouchRipple:p,focusRipple:m,tabIndex:F,focusVisible:V}),La=eg(gr);return k.jsxs(tg,w({as:Lt,className:ne(La.root,u),ownerState:gr,onBlur:qt,onClick:l,onContextMenu:be,onFocus:pt,onKeyDown:mr,onKeyUp:qa,onMouseDown:J,onMouseLeave:ie,onMouseUp:ge,onDragLeave:P,onTouchEnd:We,onTouchMove:ut,onTouchStart:Se,ref:fn,tabIndex:f?-1:F,type:B},ht,q,{children:[a,W?k.jsx(Nu,w({ref:Pe,center:i},D)):null]}))});process.env.NODE_ENV!=="production"&&(Zr.propTypes={action:tm,centerRipple:s.bool,children:s.node,classes:s.object,className:s.string,component:Wn,disabled:s.bool,disableRipple:s.bool,disableTouchRipple:s.bool,focusRipple:s.bool,focusVisibleClassName:s.string,href:s.any,LinkComponent:s.elementType,onBlur:s.func,onClick:s.func,onContextMenu:s.func,onDragLeave:s.func,onFocus:s.func,onFocusVisible:s.func,onKeyDown:s.func,onKeyUp:s.func,onMouseDown:s.func,onMouseLeave:s.func,onMouseUp:s.func,onTouchEnd:s.func,onTouchMove:s.func,onTouchStart:s.func,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),tabIndex:s.number,TouchRippleProps:s.object,touchRippleRef:s.oneOfType([s.func,s.shape({current:s.shape({pulsate:s.func.isRequired,start:s.func.isRequired,stop:s.func.isRequired})})]),type:s.oneOfType([s.oneOf(["button","reset","submit"]),s.string])});const ku=Ae("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);function rg(e){return Me("MuiListItemIcon",e)}const Du=Ae("MuiListItemIcon",["root","alignItemsFlexStart"]),ng=["className"],og=e=>{const{alignItems:t,classes:r}=e;return je({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},rg,r)},ig=xe("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>w({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),ju=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiListItemIcon"}),{className:o}=n,i=pe(n,ng),a=S.useContext(tt),u=w({},n,{alignItems:a.alignItems}),c=og(u);return k.jsx(ig,w({className:ne(c.root,o),ownerState:u,ref:r},i))});process.env.NODE_ENV!=="production"&&(ju.propTypes={children:s.node,classes:s.object,className:s.string,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function ag(e){return Me("MuiTypography",e)}Ae("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const sg=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],ug=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e,u={root:["root",i,e.align!=="inherit"&&`align${me(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return je(u,ag,a)},cg=xe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${me(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>w({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),qu={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},lg={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},fg=e=>lg[e]||e,rt=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiTypography"}),o=fg(n.color),i=ru(w({},n,{color:o})),{align:a="inherit",className:u,component:c,gutterBottom:f=!1,noWrap:d=!1,paragraph:p=!1,variant:m="body1",variantMapping:b=qu}=i,v=pe(i,sg),l=w({},i,{align:a,color:o,className:u,component:c,gutterBottom:f,noWrap:d,paragraph:p,variant:m,variantMapping:b}),_=c||(p?"p":b[m]||qu[m])||"span",E=ug(l);return k.jsx(cg,w({as:_,ref:r,ownerState:l,className:ne(E.root,u)},v))});process.env.NODE_ENV!=="production"&&(rt.propTypes={align:s.oneOf(["center","inherit","justify","left","right"]),children:s.node,classes:s.object,className:s.string,component:s.elementType,gutterBottom:s.bool,noWrap:s.bool,paragraph:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),variant:s.oneOfType([s.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),s.string]),variantMapping:s.object});function dg(e){return Me("MuiListItemText",e)}const Qr=Ae("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),pg=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],hg=e=>{const{classes:t,inset:r,primary:n,secondary:o,dense:i}=e;return je({root:["root",r&&"inset",i&&"dense",n&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},dg,t)},mg=xe("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Qr.primary}`]:t.primary},{[`& .${Qr.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.dense&&t.dense]}})(({ownerState:e})=>w({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),oo=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiListItemText"}),{children:o,className:i,disableTypography:a=!1,inset:u=!1,primary:c,primaryTypographyProps:f,secondary:d,secondaryTypographyProps:p}=n,m=pe(n,pg),{dense:b}=S.useContext(tt);let v=c??o,l=d;const _=w({},n,{disableTypography:a,inset:u,primary:!!v,secondary:!!l,dense:b}),E=hg(_);return v!=null&&v.type!==rt&&!a&&(v=k.jsx(rt,w({variant:b?"body2":"body1",className:E.primary,component:f!=null&&f.variant?void 0:"span",display:"block"},f,{children:v}))),l!=null&&l.type!==rt&&!a&&(l=k.jsx(rt,w({variant:"body2",className:E.secondary,color:"text.secondary",display:"block"},p,{children:l}))),k.jsxs(mg,w({className:ne(E.root,i),ownerState:_,ref:r},m,{children:[v,l]}))});process.env.NODE_ENV!=="production"&&(oo.propTypes={children:s.node,classes:s.object,className:s.string,disableTypography:s.bool,inset:s.bool,primary:s.node,primaryTypographyProps:s.object,secondary:s.node,secondaryTypographyProps:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function gg(e){return Me("MuiMenuItem",e)}const ar=Ae("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),yg=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],vg=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]},bg=e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e,c=je({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},gg,a);return w({},a,c)},_g=xe(Zr,{shouldForwardProp:e=>Vn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:vg})(({theme:e,ownerState:t})=>w({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ar.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ne.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ar.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ne.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ar.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ne.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ne.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${ar.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ar.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${ku.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${ku.inset}`]:{marginLeft:52},[`& .${Qr.root}`]:{marginTop:0,marginBottom:0},[`& .${Qr.inset}`]:{paddingLeft:36},[`& .${Du.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&w({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Du.root} svg`]:{fontSize:"1.25rem"}}))),Lu=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:a=!1,divider:u=!1,disableGutters:c=!1,focusVisibleClassName:f,role:d="menuitem",tabIndex:p,className:m}=n,b=pe(n,yg),v=S.useContext(tt),l=S.useMemo(()=>({dense:a||v.dense||!1,disableGutters:c}),[v.dense,a,c]),_=S.useRef(null);At(()=>{o&&(_.current?_.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."))},[o]);const E=w({},n,{dense:l.dense,divider:u,disableGutters:c}),C=bg(n),T=Xe(_,r);let x;return n.disabled||(x=p!==void 0?p:-1),k.jsx(tt.Provider,{value:l,children:k.jsx(_g,w({ref:T,role:d,tabIndex:x,component:i,focusVisibleClassName:ne(C.focusVisible,f),className:ne(C.root,m)},b,{ownerState:E,classes:C}))})});process.env.NODE_ENV!=="production"&&(Lu.propTypes={autoFocus:s.bool,children:s.node,classes:s.object,className:s.string,component:s.elementType,dense:s.bool,disabled:s.bool,disableGutters:s.bool,divider:s.bool,focusVisibleClassName:s.string,role:s.string,selected:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),tabIndex:s.number});var sr={},io={};function xg(e){return Me("MuiSvgIcon",e)}Ae("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Eg=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Tg=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${me(t)}`,`fontSize${me(r)}`]};return je(o,xg,n)},Sg=xe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${me(r.color)}`],t[`fontSize${me(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,u,c,f,d,p,m,b,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((u=e.typography)==null||(c=u.pxToRem)==null?void 0:c.call(u,24))||"1.5rem",large:((f=e.typography)==null||(d=f.pxToRem)==null?void 0:d.call(f,35))||"2.1875rem"}[t.fontSize],color:(p=(m=(e.vars||e).palette)==null||(m=m[t.color])==null?void 0:m.main)!=null?p:{action:(b=(e.vars||e).palette)==null||(b=b.action)==null?void 0:b.active,disabled:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),en=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:u="svg",fontSize:c="medium",htmlColor:f,inheritViewBox:d=!1,titleAccess:p,viewBox:m="0 0 24 24"}=n,b=pe(n,Eg),v=S.isValidElement(o)&&o.type==="svg",l=w({},n,{color:a,component:u,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:m,hasSvgAsChild:v}),_={};d||(_.viewBox=m);const E=Tg(l);return k.jsxs(Sg,w({as:u,className:ne(E.root,i),focusable:"false",color:f,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r},_,b,v&&o.props,{ownerState:l,children:[v?o.props.children:o,p?k.jsx("title",{children:p}):null]}))});process.env.NODE_ENV!=="production"&&(en.propTypes={children:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),s.string]),component:s.elementType,fontSize:s.oneOfType([s.oneOf(["inherit","large","medium","small"]),s.string]),htmlColor:s.string,inheritViewBox:s.bool,shapeRendering:s.string,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),titleAccess:s.string,viewBox:s.string}),en.muiName="SvgIcon";function Rg(e,t){function r(n,o){return k.jsx(en,w({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=en.muiName,S.memo(S.forwardRef(r))}const Cg=nt(Object.freeze(Object.defineProperty({__proto__:null,capitalize:me,createChainedFunction:Zn,createSvgIcon:Rg,debounce:wm,deprecatedPropType:Im,isMuiElement:Qn,ownerDocument:at,ownerWindow:Xr,requirePropFactory:Am,setRef:Ur,unstable_ClassNameGenerator:{configure:e=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
185
- `)),iu.configure(e)}},unstable_useEnhancedEffect:At,unstable_useId:Tu,unsupportedProp:Mm,useControlled:Nm,useEventCallback:gt,useForkRef:Xe,useIsFocusVisible:Yn},Symbol.toStringTag,{value:"Module"})));var Fu;function Og(){return Fu||(Fu=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Cg}(io)),io}var Bu;function Pg(){if(Bu)return sr;Bu=1;var e=mn();Object.defineProperty(sr,"__esModule",{value:!0}),sr.default=void 0;var t=e(Og()),r=qs();return sr.default=(0,t.default)((0,r.jsx)("path",{d:"M16 13h-3V3h-2v10H8l4 4zM4 19v2h16v-2z"}),"VerticalAlignBottom"),sr}var wg=Pg();const Ig=br(wg),zu={de:{"mirador-dl-plugin":{close:"Schließen",download:"Download",other_download:"Andere Download-Optionen",whole_image:"Gesamtes Bild ({{width}} x {{height}}px)",zoomed_region:"Aktueller Bildausschnitt ({{width}} x {{height}}px)"}},en:{"mirador-dl-plugin":{close:"Close",download:"Download",other_download:"Other download options",whole_image:"Whole image ({{width}} x {{height}}px)",zoomed_region:"Zoomed region ({{width}} x {{height}}px)"}},et:{"mirador-dl-plugin":{close:"Sulge",download:"Lae alla",other_download:"Teised allalaadimise valikud",whole_image:"Kogu pilt ({{width}} x {{height}}px)",zoomed_region:"Suurendatud piirkond ({{width}} x {{height}}px)"}},fr:{"mirador-dl-plugin":{close:"Fermer",download:"Télécharger",other_download:"Autres options de téléchargement",whole_image:"Image entière ({{width}} x {{height}}px)",zoomed_region:"Région zoomée ({{width}} x {{height}}px)"}}},Ag=(e={},t)=>t.type==="OPEN_WINDOW_DIALOG"?{...e,[t.windowId]:{openDialog:t.dialogType}}:t.type==="CLOSE_WINDOW_DIALOG"?{...e,[t.windowId]:{openDialog:null}}:e,$g=(e,{windowId:t})=>({openDownloadDialog:()=>e({type:"OPEN_WINDOW_DIALOG",windowId:t,dialogType:"download"})});function Vu({handleClose:e=()=>{},openDownloadDialog:t=()=>{}}){const r=ae.useCallback(()=>{t(),e()},[e,t]),{t:n}=pn.useTranslation();return k.jsxs(Lu,{onClick:r,children:[k.jsx(ju,{children:k.jsx(Ig,{})}),k.jsx(oo,{primaryTypographyProps:{variant:"body1"},children:n("mirador-dl-plugin.download")})]})}Vu.propTypes={handleClose:s.func,openDownloadDialog:s.func};const Wu={target:"WindowTopBarPluginMenu",mode:"add",name:"MiradorDownloadPlugin",component:Vu,config:{translations:zu},mapDispatchToProps:$g,reducers:{windowDialogs:Ag}};function Mg(e){const t=at(e);return t.body===e?Xr(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ur(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Uu(e){return parseInt(Xr(e).getComputedStyle(e).paddingRight,10)||0}function Ng(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function Gu(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,a=>{const u=i.indexOf(a)===-1,c=!Ng(a);u&&c&&ur(a,o)})}function ao(e,t){let r=-1;return e.some((n,o)=>t(n)?(r=o,!0):!1),r}function kg(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(Mg(n)){const a=km(at(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${Uu(n)+a}px`;const u=at(n).querySelectorAll(".mui-fixed");[].forEach.call(u,c=>{r.push({value:c.style.paddingRight,property:"padding-right",el:c}),c.style.paddingRight=`${Uu(c)+a}px`})}let i;if(n.parentNode instanceof DocumentFragment)i=at(n).body;else{const a=n.parentElement,u=Xr(n);i=(a==null?void 0:a.nodeName)==="HTML"&&u.getComputedStyle(a).overflowY==="scroll"?a:n}r.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{r.forEach(({value:i,el:a,property:u})=>{i?a.style.setProperty(u,i):a.style.removeProperty(u)})}}function Dg(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class jg{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&ur(t.modalRef,!1);const o=Dg(r);Gu(r,t.mount,t.modalRef,o,!0);const i=ao(this.containers,a=>a.container===r);return i!==-1?(this.containers[i].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:o}),n)}mount(t,r){const n=ao(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[n];o.restore||(o.restore=kg(o,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const o=ao(this.containers,a=>a.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&ur(t.modalRef,r),Gu(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=i.modals[i.modals.length-1];a.modalRef&&ur(a.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const qg=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Lg(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Fg(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function Bg(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Fg(e))}function zg(e){const t=[],r=[];return Array.from(e.querySelectorAll(qg)).forEach((n,o)=>{const i=Lg(n);i===-1||!Bg(n)||(i===0?t.push(n):r.push({documentOrder:o,tabIndex:i,node:n}))}),r.sort((n,o)=>n.tabIndex===o.tabIndex?n.documentOrder-o.documentOrder:n.tabIndex-o.tabIndex).map(n=>n.node).concat(t)}function Vg(){return!0}function tn(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:i=zg,isEnabled:a=Vg,open:u}=e,c=S.useRef(!1),f=S.useRef(null),d=S.useRef(null),p=S.useRef(null),m=S.useRef(null),b=S.useRef(!1),v=S.useRef(null),l=Xe(ro(t),v),_=S.useRef(null);S.useEffect(()=>{!u||!v.current||(b.current=!r)},[r,u]),S.useEffect(()=>{if(!u||!v.current)return;const T=at(v.current);return v.current.contains(T.activeElement)||(v.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
186
- `)),v.current.setAttribute("tabIndex","-1")),b.current&&v.current.focus()),()=>{o||(p.current&&p.current.focus&&(c.current=!0,p.current.focus()),p.current=null)}},[u]),S.useEffect(()=>{if(!u||!v.current)return;const T=at(v.current),x=h=>{_.current=h,!(n||!a()||h.key!=="Tab")&&T.activeElement===v.current&&h.shiftKey&&(c.current=!0,d.current&&d.current.focus())},y=()=>{const h=v.current;if(h===null)return;if(!T.hasFocus()||!a()||c.current){c.current=!1;return}if(h.contains(T.activeElement)||n&&T.activeElement!==f.current&&T.activeElement!==d.current)return;if(T.activeElement!==m.current)m.current=null;else if(m.current!==null)return;if(!b.current)return;let O=[];if((T.activeElement===f.current||T.activeElement===d.current)&&(O=i(v.current)),O.length>0){var R,I;const M=!!((R=_.current)!=null&&R.shiftKey&&((I=_.current)==null?void 0:I.key)==="Tab"),F=O[0],D=O[O.length-1];typeof F!="string"&&typeof D!="string"&&(M?D.focus():F.focus())}else h.focus()};T.addEventListener("focusin",y),T.addEventListener("keydown",x,!0);const A=setInterval(()=>{T.activeElement&&T.activeElement.tagName==="BODY"&&y()},50);return()=>{clearInterval(A),T.removeEventListener("focusin",y),T.removeEventListener("keydown",x,!0)}},[r,n,o,a,u,i]);const E=T=>{p.current===null&&(p.current=T.relatedTarget),b.current=!0,m.current=T.target;const x=t.props.onFocus;x&&x(T)},C=T=>{p.current===null&&(p.current=T.relatedTarget),b.current=!0};return k.jsxs(S.Fragment,{children:[k.jsx("div",{tabIndex:u?0:-1,onFocus:C,ref:f,"data-testid":"sentinelStart"}),S.cloneElement(t,{ref:l,onFocus:E}),k.jsx("div",{tabIndex:u?0:-1,onFocus:C,ref:d,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(tn.propTypes={children:Kr,disableAutoFocus:s.bool,disableEnforceFocus:s.bool,disableRestoreFocus:s.bool,getTabbable:s.func,isEnabled:s.func,open:s.bool.isRequired}),process.env.NODE_ENV!=="production"&&(tn.propTypes=bu(tn.propTypes));function Wg(e){return typeof e=="function"?e():e}const rn=S.forwardRef(function(t,r){const{children:n,container:o,disablePortal:i=!1}=t,[a,u]=S.useState(null),c=Xe(S.isValidElement(n)?ro(n):null,r);if(At(()=>{i||u(Wg(o)||document.body)},[o,i]),At(()=>{if(a&&!i)return Ur(r,a),()=>{Ur(r,null)}},[r,a,i]),i){if(S.isValidElement(n)){const f={ref:c};return S.cloneElement(n,f)}return k.jsx(S.Fragment,{children:n})}return k.jsx(S.Fragment,{children:a&&Zf.createPortal(n,a)})});process.env.NODE_ENV!=="production"&&(rn.propTypes={children:s.node,container:s.oneOfType([_u,s.func]),disablePortal:s.bool}),process.env.NODE_ENV!=="production"&&(rn.propTypes=bu(rn.propTypes));function so(){const e=Cm(du);return process.env.NODE_ENV!=="production"&&S.useDebugValue(e),e[pu]||e}const Ug=e=>e.scrollTop;function Yu(e,t){var r,n;const{timeout:o,easing:i,style:a={}}=e;return{duration:(r=a.transitionDuration)!=null?r:typeof o=="number"?o:o[t.mode]||0,easing:(n=a.transitionTimingFunction)!=null?n:typeof i=="object"?i[t.mode]:i,delay:a.transitionDelay}}const Gg=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Yg={entering:{opacity:1},entered:{opacity:1}},uo=S.forwardRef(function(t,r){const n=so(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:u,easing:c,in:f,onEnter:d,onEntered:p,onEntering:m,onExit:b,onExited:v,onExiting:l,style:_,timeout:E=o,TransitionComponent:C=it}=t,T=pe(t,Gg),x=S.useRef(null),y=Xe(x,ro(u),r),A=L=>B=>{if(L){const q=x.current;B===void 0?L(q):L(q,B)}},h=A(m),O=A((L,B)=>{Ug(L);const q=Yu({style:_,timeout:E,easing:c},{mode:"enter"});L.style.webkitTransition=n.transitions.create("opacity",q),L.style.transition=n.transitions.create("opacity",q),d&&d(L,B)}),R=A(p),I=A(l),M=A(L=>{const B=Yu({style:_,timeout:E,easing:c},{mode:"exit"});L.style.webkitTransition=n.transitions.create("opacity",B),L.style.transition=n.transitions.create("opacity",B),b&&b(L)}),F=A(v),D=L=>{i&&i(x.current,L)};return k.jsx(C,w({appear:a,in:f,nodeRef:x,onEnter:O,onEntered:R,onEntering:h,onExit:M,onExited:F,onExiting:I,addEndListener:D,timeout:E},T,{children:(L,B)=>S.cloneElement(u,w({style:w({opacity:0,visibility:L==="exited"&&!f?"hidden":void 0},Yg[L],_,u.props.style),ref:y},B))}))});process.env.NODE_ENV!=="production"&&(uo.propTypes={addEndListener:s.func,appear:s.bool,children:Kr.isRequired,easing:s.oneOfType([s.shape({enter:s.string,exit:s.string}),s.string]),in:s.bool,onEnter:s.func,onEntered:s.func,onEntering:s.func,onExit:s.func,onExited:s.func,onExiting:s.func,style:s.object,timeout:s.oneOfType([s.number,s.shape({appear:s.number,enter:s.number,exit:s.number})])});function Hg(e){return Me("MuiBackdrop",e)}Ae("MuiBackdrop",["root","invisible"]);const Kg=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Xg=e=>{const{classes:t,invisible:r}=e;return je({root:["root",r&&"invisible"]},Hg,t)},Jg=xe("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})(({ownerState:e})=>w({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),co=S.forwardRef(function(t,r){var n,o,i;const a=ke({props:t,name:"MuiBackdrop"}),{children:u,className:c,component:f="div",components:d={},componentsProps:p={},invisible:m=!1,open:b,slotProps:v={},slots:l={},TransitionComponent:_=uo,transitionDuration:E}=a,C=pe(a,Kg),T=w({},a,{component:f,invisible:m}),x=Xg(T),y=(n=v.root)!=null?n:p.root;return k.jsx(_,w({in:b,timeout:E},C,{children:k.jsx(Jg,w({"aria-hidden":!0},y,{as:(o=(i=l.root)!=null?i:d.Root)!=null?o:f,className:ne(x.root,c,y==null?void 0:y.className),ownerState:w({},T,y==null?void 0:y.ownerState),classes:x,ref:r,children:u}))}))});process.env.NODE_ENV!=="production"&&(co.propTypes={children:s.node,classes:s.object,className:s.string,component:s.elementType,components:s.shape({Root:s.elementType}),componentsProps:s.shape({root:s.object}),invisible:s.bool,open:s.bool.isRequired,slotProps:s.shape({root:s.object}),slots:s.shape({root:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),TransitionComponent:s.elementType,transitionDuration:s.oneOfType([s.number,s.shape({appear:s.number,enter:s.number,exit:s.number})])});function Zg(e){return typeof e=="function"?e():e}function Qg(e){return e?e.props.hasOwnProperty("in"):!1}const ey=new jg;function ty(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:o=ey,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:u,children:c,onClose:f,open:d,rootRef:p}=e,m=S.useRef({}),b=S.useRef(null),v=S.useRef(null),l=Xe(v,p),[_,E]=S.useState(!d),C=Qg(c);let T=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(T=!1);const x=()=>at(b.current),y=()=>(m.current.modalRef=v.current,m.current.mount=b.current,m.current),A=()=>{o.mount(y(),{disableScrollLock:n}),v.current&&(v.current.scrollTop=0)},h=gt(()=>{const q=Zg(t)||x().body;o.add(y(),q),v.current&&A()}),O=S.useCallback(()=>o.isTopModal(y()),[o]),R=gt(q=>{b.current=q,q&&(d&&O()?A():v.current&&ur(v.current,T))}),I=S.useCallback(()=>{o.remove(y(),T)},[T,o]);S.useEffect(()=>()=>{I()},[I]),S.useEffect(()=>{d?h():(!C||!i)&&I()},[d,I,C,i,h]);const M=q=>G=>{var Z;(Z=q.onKeyDown)==null||Z.call(q,G),!(G.key!=="Escape"||G.which===229||!O())&&(r||(G.stopPropagation(),f&&f(G,"escapeKeyDown")))},F=q=>G=>{var Z;(Z=q.onClick)==null||Z.call(q,G),G.target===G.currentTarget&&f&&f(G,"backdropClick")};return{getRootProps:(q={})=>{const G=Cu(e);delete G.onTransitionEnter,delete G.onTransitionExited;const Z=w({},G,q);return w({role:"presentation"},Z,{onKeyDown:M(Z),ref:l})},getBackdropProps:(q={})=>{const G=q;return w({"aria-hidden":!0},G,{onClick:F(G),open:d})},getTransitionProps:()=>{const q=()=>{E(!1),a&&a()},G=()=>{E(!0),u&&u(),i&&I()};return{onEnter:Zn(q,c==null?void 0:c.props.onEnter),onExited:Zn(G,c==null?void 0:c.props.onExited)}},rootRef:l,portalRef:R,isTopModal:O,exited:_,hasTransition:C}}function ry(e){return Me("MuiModal",e)}Ae("MuiModal",["root","hidden","backdrop"]);const ny=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],oy=e=>{const{open:t,exited:r,classes:n}=e;return je({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},ry,n)},iy=xe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(({theme:e,ownerState:t})=>w({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),ay=xe(co,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Hu=S.forwardRef(function(t,r){var n,o,i,a,u,c;const f=ke({name:"MuiModal",props:t}),{BackdropComponent:d=ay,BackdropProps:p,className:m,closeAfterTransition:b=!1,children:v,container:l,component:_,components:E={},componentsProps:C={},disableAutoFocus:T=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:y=!1,disablePortal:A=!1,disableRestoreFocus:h=!1,disableScrollLock:O=!1,hideBackdrop:R=!1,keepMounted:I=!1,onBackdropClick:M,open:F,slotProps:D,slots:L}=f,B=pe(f,ny),q=w({},f,{closeAfterTransition:b,disableAutoFocus:T,disableEnforceFocus:x,disableEscapeKeyDown:y,disablePortal:A,disableRestoreFocus:h,disableScrollLock:O,hideBackdrop:R,keepMounted:I}),{getRootProps:G,getBackdropProps:Z,getTransitionProps:Pe,portalRef:$,isTopModal:j,exited:Q,hasTransition:X}=ty(w({},q,{rootRef:r})),V=w({},q,{exited:Q}),H=oy(V),Y={};if(v.props.tabIndex===void 0&&(Y.tabIndex="-1"),X){const{onEnter:ge,onExited:ie}=Pe();Y.onEnter=ge,Y.onExited=ie}const K=(n=(o=L==null?void 0:L.root)!=null?o:E.Root)!=null?n:iy,W=(i=(a=L==null?void 0:L.backdrop)!=null?a:E.Backdrop)!=null?i:d,U=(u=D==null?void 0:D.root)!=null?u:C.root,J=(c=D==null?void 0:D.backdrop)!=null?c:C.backdrop,be=Pu({elementType:K,externalSlotProps:U,externalForwardedProps:B,getSlotProps:G,additionalProps:{ref:r,as:_},ownerState:V,className:ne(m,U==null?void 0:U.className,H==null?void 0:H.root,!V.open&&V.exited&&(H==null?void 0:H.hidden))}),P=Pu({elementType:W,externalSlotProps:J,additionalProps:p,getSlotProps:ge=>Z(w({},ge,{onClick:ie=>{M&&M(ie),ge!=null&&ge.onClick&&ge.onClick(ie)}})),className:ne(J==null?void 0:J.className,p==null?void 0:p.className,H==null?void 0:H.backdrop),ownerState:V});return!I&&!F&&(!X||Q)?null:k.jsx(rn,{ref:$,container:l,disablePortal:A,children:k.jsxs(K,w({},be,{children:[!R&&d?k.jsx(W,w({},P)):null,k.jsx(tn,{disableEnforceFocus:x,disableAutoFocus:T,disableRestoreFocus:h,isEnabled:j,open:F,children:S.cloneElement(v,Y)})]}))})});process.env.NODE_ENV!=="production"&&(Hu.propTypes={BackdropComponent:s.elementType,BackdropProps:s.object,children:Kr.isRequired,classes:s.object,className:s.string,closeAfterTransition:s.bool,component:s.elementType,components:s.shape({Backdrop:s.elementType,Root:s.elementType}),componentsProps:s.shape({backdrop:s.oneOfType([s.func,s.object]),root:s.oneOfType([s.func,s.object])}),container:s.oneOfType([_u,s.func]),disableAutoFocus:s.bool,disableEnforceFocus:s.bool,disableEscapeKeyDown:s.bool,disablePortal:s.bool,disableRestoreFocus:s.bool,disableScrollLock:s.bool,hideBackdrop:s.bool,keepMounted:s.bool,onBackdropClick:s.func,onClose:s.func,onTransitionEnter:s.func,onTransitionExited:s.func,open:s.bool.isRequired,slotProps:s.shape({backdrop:s.oneOfType([s.func,s.object]),root:s.oneOfType([s.func,s.object])}),slots:s.shape({backdrop:s.elementType,root:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});const Ku=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function sy(e){return Me("MuiPaper",e)}Ae("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"]);const uy=["className","component","elevation","square","variant"],cy=e=>{const{square:t,elevation:r,variant:n,classes:o}=e,i={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return je(i,sy,o)},ly=xe("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;return w({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},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&w({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Ne.alpha("#fff",Ku(t.elevation))}, ${Ne.alpha("#fff",Ku(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),lo=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:a=1,square:u=!1,variant:c="elevation"}=n,f=pe(n,uy),d=w({},n,{component:i,elevation:a,square:u,variant:c}),p=cy(d);return process.env.NODE_ENV!=="production"&&so().shadows[a]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${a}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${a}]\` is defined.`].join(`
187
- `)),k.jsx(ly,w({as:i,ownerState:d,className:ne(p.root,o),ref:r},f))});process.env.NODE_ENV!=="production"&&(lo.propTypes={children:s.node,classes:s.object,className:s.string,component:s.elementType,elevation:or(Lm,e=>{const{elevation:t,variant:r}=e;return t>0&&r==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${r}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),variant:s.oneOfType([s.oneOf(["elevation","outlined"]),s.string])});function fy(e){return Me("MuiDialog",e)}const fo=Ae("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),po=S.createContext({});process.env.NODE_ENV!=="production"&&(po.displayName="DialogContext");const dy=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],py=xe(co,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),hy=e=>{const{classes:t,scroll:r,maxWidth:n,fullWidth:o,fullScreen:i}=e,a={root:["root"],container:["container",`scroll${me(r)}`],paper:["paper",`paperScroll${me(r)}`,`paperWidth${me(String(n))}`,o&&"paperFullWidth",i&&"paperFullScreen"]};return je(a,fy,t)},my=xe(Hu,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),gy=xe("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.container,t[`scroll${me(r.scroll)}`]]}})(({ownerState:e})=>w({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),yy=xe(lo,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`scrollPaper${me(r.scroll)}`],t[`paperWidth${me(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>w({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${fo.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${fo.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${fo.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),Xu=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiDialog"}),o=so(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":u,BackdropComponent:c,BackdropProps:f,children:d,className:p,disableEscapeKeyDown:m=!1,fullScreen:b=!1,fullWidth:v=!1,maxWidth:l="sm",onBackdropClick:_,onClick:E,onClose:C,open:T,PaperComponent:x=lo,PaperProps:y={},scroll:A="paper",TransitionComponent:h=uo,transitionDuration:O=i,TransitionProps:R}=n,I=pe(n,dy),M=w({},n,{disableEscapeKeyDown:m,fullScreen:b,fullWidth:v,maxWidth:l,scroll:A}),F=hy(M),D=S.useRef(),L=Z=>{D.current=Z.target===Z.currentTarget},B=Z=>{E&&E(Z),D.current&&(D.current=null,_&&_(Z),C&&C(Z,"backdropClick"))},q=Tu(u),G=S.useMemo(()=>({titleId:q}),[q]);return k.jsx(my,w({className:ne(F.root,p),closeAfterTransition:!0,components:{Backdrop:py},componentsProps:{backdrop:w({transitionDuration:O,as:c},f)},disableEscapeKeyDown:m,onClose:C,open:T,ref:r,onClick:B,ownerState:M},I,{children:k.jsx(h,w({appear:!0,in:T,timeout:O,role:"presentation"},R,{children:k.jsx(gy,{className:ne(F.container),onMouseDown:L,ownerState:M,children:k.jsx(yy,w({as:x,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":q},y,{className:ne(F.paper,y.className),ownerState:M,children:k.jsx(po.Provider,{value:G,children:d})}))})}))}))});process.env.NODE_ENV!=="production"&&(Xu.propTypes={"aria-describedby":s.string,"aria-labelledby":s.string,BackdropComponent:s.elementType,BackdropProps:s.object,children:s.node,classes:s.object,className:s.string,disableEscapeKeyDown:s.bool,fullScreen:s.bool,fullWidth:s.bool,maxWidth:s.oneOfType([s.oneOf(["xs","sm","md","lg","xl",!1]),s.string]),onBackdropClick:s.func,onClick:s.func,onClose:s.func,open:s.bool.isRequired,PaperComponent:s.elementType,PaperProps:s.object,scroll:s.oneOf(["body","paper"]),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),TransitionComponent:s.elementType,transitionDuration:s.oneOfType([s.number,s.shape({appear:s.number,enter:s.number,exit:s.number})]),TransitionProps:s.object});function vy(e){return Me("MuiDialogTitle",e)}Ae("MuiDialogTitle",["root"]);const by=["className","id"],_y=e=>{const{classes:t}=e;return je({root:["root"]},vy,t)},xy=xe(rt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),Ju=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiDialogTitle"}),{className:o,id:i}=n,a=pe(n,by),u=n,c=_y(u),{titleId:f=i}=S.useContext(po);return k.jsx(xy,w({component:"h2",className:ne(c.root,o),ownerState:u,ref:r,variant:"h6",id:i??f},a))});process.env.NODE_ENV!=="production"&&(Ju.propTypes={children:s.node,classes:s.object,className:s.string,id:s.string,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function Ey(e){return Me("MuiDialogActions",e)}Ae("MuiDialogActions",["root","spacing"]);const Ty=["className","disableSpacing"],Sy=e=>{const{classes:t,disableSpacing:r}=e;return je({root:["root",!r&&"spacing"]},Ey,t)},Ry=xe("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})(({ownerState:e})=>w({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),Zu=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiDialogActions"}),{className:o,disableSpacing:i=!1}=n,a=pe(n,Ty),u=w({},n,{disableSpacing:i}),c=Sy(u);return k.jsx(Ry,w({className:ne(c.root,o),ownerState:u,ref:r},a))});process.env.NODE_ENV!=="production"&&(Zu.propTypes={children:s.node,classes:s.object,className:s.string,disableSpacing:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function Cy(e){return Me("MuiButton",e)}const nn=Ae("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"]),Qu=S.createContext({});process.env.NODE_ENV!=="production"&&(Qu.displayName="ButtonGroupContext");const ec=S.createContext(void 0);process.env.NODE_ENV!=="production"&&(ec.displayName="ButtonGroupButtonContext");const Oy=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Py=e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e,u={root:["root",i,`${i}${me(t)}`,`size${me(o)}`,`${i}Size${me(o)}`,`color${me(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${me(o)}`],endIcon:["icon","endIcon",`iconSize${me(o)}`]},c=je(u,Cy,a);return w({},a,c)},tc=e=>w({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),wy=xe(Zr,{shouldForwardProp:e=>Vn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${me(r.color)}`],t[`size${me(r.size)}`],t[`${r.variant}Size${me(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return w({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":w({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne.alpha(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":w({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${nn.focusVisible}`]:w({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${nn.disabled}`]:w({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Ne.alpha(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${nn.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${nn.disabled}`]:{boxShadow:"none"}}),Iy=xe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${me(r.size)}`]]}})(({ownerState:e})=>w({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},tc(e))),Ay=xe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${me(r.size)}`]]}})(({ownerState:e})=>w({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},tc(e))),rc=S.forwardRef(function(t,r){const n=S.useContext(Qu),o=S.useContext(ec),i=Wr(n,t),a=ke({props:i,name:"MuiButton"}),{children:u,color:c="primary",component:f="button",className:d,disabled:p=!1,disableElevation:m=!1,disableFocusRipple:b=!1,endIcon:v,focusVisibleClassName:l,fullWidth:_=!1,size:E="medium",startIcon:C,type:T,variant:x="text"}=a,y=pe(a,Oy),A=w({},a,{color:c,component:f,disabled:p,disableElevation:m,disableFocusRipple:b,fullWidth:_,size:E,type:T,variant:x}),h=Py(A),O=C&&k.jsx(Iy,{className:h.startIcon,ownerState:A,children:C}),R=v&&k.jsx(Ay,{className:h.endIcon,ownerState:A,children:v}),I=o||"";return k.jsxs(wy,w({ownerState:A,className:ne(n.className,h.root,d,I),component:f,disabled:p,focusRipple:!b,focusVisibleClassName:ne(h.focusVisible,l),ref:r,type:T},y,{classes:h,children:[O,u,R]}))});process.env.NODE_ENV!=="production"&&(rc.propTypes={children:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["inherit","primary","secondary","success","error","info","warning"]),s.string]),component:s.elementType,disabled:s.bool,disableElevation:s.bool,disableFocusRipple:s.bool,disableRipple:s.bool,endIcon:s.node,focusVisibleClassName:s.string,fullWidth:s.bool,href:s.string,size:s.oneOfType([s.oneOf(["small","medium","large"]),s.string]),startIcon:s.node,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),type:s.oneOfType([s.oneOf(["button","reset","submit"]),s.string]),variant:s.oneOfType([s.oneOf(["contained","outlined","text"]),s.string])});function $y(e){return Me("MuiList",e)}Ae("MuiList",["root","padding","dense","subheader"]);const My=["children","className","component","dense","disablePadding","subheader"],Ny=e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return je({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},$y,t)},ky=xe("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})(({ownerState:e})=>w({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),ho=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:u=!1,disablePadding:c=!1,subheader:f}=n,d=pe(n,My),p=S.useMemo(()=>({dense:u}),[u]),m=w({},n,{component:a,dense:u,disablePadding:c}),b=Ny(m);return k.jsx(tt.Provider,{value:p,children:k.jsxs(ky,w({as:a,className:ne(b.root,i),ref:r,ownerState:m},d,{children:[f,o]}))})});process.env.NODE_ENV!=="production"&&(ho.propTypes={children:s.node,classes:s.object,className:s.string,component:s.elementType,dense:s.bool,disablePadding:s.bool,subheader:s.node,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function Dy(e){return Me("MuiLink",e)}const jy=Ae("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),nc={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},qy=e=>nc[e]||e,Ly=({theme:e,ownerState:t})=>{const r=qy(t.color),n=St(e,`palette.${r}`,!1)||t.color,o=St(e,`palette.${r}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:Ne.alpha(n,.4)},Fy=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],By=e=>{const{classes:t,component:r,focusVisible:n,underline:o}=e,i={root:["root",`underline${me(o)}`,r==="button"&&"button",n&&"focusVisible"]};return je(i,Dy,t)},zy=xe(rt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`underline${me(r.underline)}`],r.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>w({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&w({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:Ly({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${jy.focusVisible}`]:{outline:"auto"}})),Nt=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiLink"}),{className:o,color:i="primary",component:a="a",onBlur:u,onFocus:c,TypographyClasses:f,underline:d="always",variant:p="inherit",sx:m}=n,b=pe(n,Fy),{isFocusVisibleRef:v,onBlur:l,onFocus:_,ref:E}=Yn(),[C,T]=S.useState(!1),x=Xe(r,E),y=R=>{l(R),v.current===!1&&T(!1),u&&u(R)},A=R=>{_(R),v.current===!0&&T(!0),c&&c(R)},h=w({},n,{color:i,component:a,focusVisible:C,underline:d,variant:p}),O=By(h);return k.jsx(zy,w({color:i,className:ne(O.root,o),classes:f,component:a,onBlur:y,onFocus:A,ref:x,ownerState:h,variant:p,sx:[...Object.keys(nc).includes(i)?[]:[{color:i}],...Array.isArray(m)?m:[m]]},b))});process.env.NODE_ENV!=="production"&&(Nt.propTypes={children:s.node,classes:s.object,className:s.string,color:s.any,component:Wn,onBlur:s.func,onFocus:s.func,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),TypographyClasses:s.object,underline:s.oneOf(["always","hover","none"]),variant:s.oneOfType([s.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),s.string])});function Vy(e){return Me("MuiListItem",e)}const kt=Ae("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),Wy=Ae("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function Uy(e){return Me("MuiListItemSecondaryAction",e)}Ae("MuiListItemSecondaryAction",["root","disableGutters"]);const Gy=["className"],Yy=e=>{const{disableGutters:t,classes:r}=e;return je({root:["root",t&&"disableGutters"]},Uy,r)},Hy=xe("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.disableGutters&&t.disableGutters]}})(({ownerState:e})=>w({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),mo=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiListItemSecondaryAction"}),{className:o}=n,i=pe(n,Gy),a=S.useContext(tt),u=w({},n,{disableGutters:a.disableGutters}),c=Yy(u);return k.jsx(Hy,w({className:ne(c.root,o),ownerState:u,ref:r},i))});process.env.NODE_ENV!=="production"&&(mo.propTypes={children:s.node,classes:s.object,className:s.string,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])}),mo.muiName="ListItemSecondaryAction";const Ky=["className"],Xy=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Jy=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.alignItems==="flex-start"&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters,!r.disablePadding&&t.padding,r.button&&t.button,r.hasSecondaryAction&&t.secondaryAction]},Zy=e=>{const{alignItems:t,button:r,classes:n,dense:o,disabled:i,disableGutters:a,disablePadding:u,divider:c,hasSecondaryAction:f,selected:d}=e;return je({root:["root",o&&"dense",!a&&"gutters",!u&&"padding",c&&"divider",i&&"disabled",r&&"button",t==="flex-start"&&"alignItemsFlexStart",f&&"secondaryAction",d&&"selected"],container:["container"]},Vy,n)},Qy=xe("div",{name:"MuiListItem",slot:"Root",overridesResolver:Jy})(({theme:e,ownerState:t})=>w({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&w({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Wy.root}`]:{paddingRight:48}},{[`&.${kt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${kt.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ne.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${kt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ne.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${kt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.alignItems==="flex-start"&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${kt.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ne.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ne.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),ev=xe("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Dt=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiListItem"}),{alignItems:o="center",autoFocus:i=!1,button:a=!1,children:u,className:c,component:f,components:d={},componentsProps:p={},ContainerComponent:m="li",ContainerProps:{className:b}={},dense:v=!1,disabled:l=!1,disableGutters:_=!1,disablePadding:E=!1,divider:C=!1,focusVisibleClassName:T,secondaryAction:x,selected:y=!1,slotProps:A={},slots:h={}}=n,O=pe(n.ContainerProps,Ky),R=pe(n,Xy),I=S.useContext(tt),M=S.useMemo(()=>({dense:v||I.dense||!1,alignItems:o,disableGutters:_}),[o,I.dense,v,_]),F=S.useRef(null);At(()=>{i&&(F.current?F.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a ListItem whose component has not been rendered."))},[i]);const D=S.Children.toArray(u),L=D.length&&Qn(D[D.length-1],["ListItemSecondaryAction"]),B=w({},n,{alignItems:o,autoFocus:i,button:a,dense:M.dense,disabled:l,disableGutters:_,disablePadding:E,divider:C,hasSecondaryAction:L,selected:y}),q=Zy(B),G=Xe(F,r),Z=h.root||d.Root||Qy,Pe=A.root||p.root||{},$=w({className:ne(q.root,Pe.className,c),disabled:l},R);let j=f||"li";return a&&($.component=f||"div",$.focusVisibleClassName=ne(kt.focusVisible,T),j=Zr),L?(j=!$.component&&!f?"div":j,m==="li"&&(j==="li"?j="div":$.component==="li"&&($.component="div")),k.jsx(tt.Provider,{value:M,children:k.jsxs(ev,w({as:m,className:ne(q.container,b),ref:G,ownerState:B},O,{children:[k.jsx(Z,w({},Pe,!to(Z)&&{as:j,ownerState:w({},B,Pe.ownerState)},$,{children:D})),D.pop()]}))})):k.jsx(tt.Provider,{value:M,children:k.jsxs(Z,w({},Pe,{as:j,ref:G},!to(Z)&&{ownerState:w({},B,Pe.ownerState)},$,{children:[D,x&&k.jsx(mo,{children:x})]}))})});process.env.NODE_ENV!=="production"&&(Dt.propTypes={alignItems:s.oneOf(["center","flex-start"]),autoFocus:s.bool,button:s.bool,children:or(s.node,e=>{const t=S.Children.toArray(e.children);let r=-1;for(let n=t.length-1;n>=0;n-=1){const o=t[n];if(Qn(o,["ListItemSecondaryAction"])){r=n;break}}return r!==-1&&r!==t.length-1?new Error("MUI: You used an element after ListItemSecondaryAction. For ListItem to detect that it has a secondary action you must pass it as the last child to ListItem."):null}),classes:s.object,className:s.string,component:s.elementType,components:s.shape({Root:s.elementType}),componentsProps:s.shape({root:s.object}),ContainerComponent:Wn,ContainerProps:s.object,dense:s.bool,disabled:s.bool,disableGutters:s.bool,disablePadding:s.bool,divider:s.bool,focusVisibleClassName:s.string,secondaryAction:s.node,selected:s.bool,slotProps:s.shape({root:s.object}),slots:s.shape({root:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});class go extends ae.Component{render(){const{rendering:t}=this.props;return k.jsx(Dt,{disableGutters:!0,divider:!0,children:k.jsxs(oo,{primaryTypographyProps:{variant:"body1"},children:[k.jsx(Nt,{href:t.id,download:!0,rel:"noopener noreferrer",target:"_blank",variant:"body1",children:t.getLabel().getValue()}),t.getFormat()&&t.getFormat().value&&` (${t.getFormat().value})`]})},t.id)}}go.propTypes={rendering:s.shape({id:s.string.isRequired,getLabel:s.func.isRequired,getFormat:s.func.isRequired}).isRequired};function oc({renderings:e}){const{t}=pn.useTranslation();return k.jsxs(k.Fragment,{children:[k.jsx(rt,{variant:"h3",sx:{marginTop:"20px"},children:t("mirador-dl-plugin.other_download")}),k.jsx(ho,{children:e.map(r=>k.jsx(go,{rendering:r},r.id))})]})}oc.propTypes={renderings:s.array.isRequired};var yo,ic;function tv(){if(ic)return yo;ic=1;function e(){this.__data__=[],this.size=0}return yo=e,yo}var vo,ac;function sc(){if(ac)return vo;ac=1;function e(t,r){return t===r||t!==t&&r!==r}return vo=e,vo}var bo,uc;function on(){if(uc)return bo;uc=1;var e=sc();function t(r,n){for(var o=r.length;o--;)if(e(r[o][0],n))return o;return-1}return bo=t,bo}var _o,cc;function rv(){if(cc)return _o;cc=1;var e=on(),t=Array.prototype,r=t.splice;function n(o){var i=this.__data__,a=e(i,o);if(a<0)return!1;var u=i.length-1;return a==u?i.pop():r.call(i,a,1),--this.size,!0}return _o=n,_o}var xo,lc;function nv(){if(lc)return xo;lc=1;var e=on();function t(r){var n=this.__data__,o=e(n,r);return o<0?void 0:n[o][1]}return xo=t,xo}var Eo,fc;function ov(){if(fc)return Eo;fc=1;var e=on();function t(r){return e(this.__data__,r)>-1}return Eo=t,Eo}var To,dc;function iv(){if(dc)return To;dc=1;var e=on();function t(r,n){var o=this.__data__,i=e(o,r);return i<0?(++this.size,o.push([r,n])):o[i][1]=n,this}return To=t,To}var So,pc;function an(){if(pc)return So;pc=1;var e=tv(),t=rv(),r=nv(),n=ov(),o=iv();function i(a){var u=-1,c=a==null?0:a.length;for(this.clear();++u<c;){var f=a[u];this.set(f[0],f[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,So=i,So}var Ro,hc;function av(){if(hc)return Ro;hc=1;var e=an();function t(){this.__data__=new e,this.size=0}return Ro=t,Ro}var Co,mc;function sv(){if(mc)return Co;mc=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return Co=e,Co}var Oo,gc;function uv(){if(gc)return Oo;gc=1;function e(t){return this.__data__.get(t)}return Oo=e,Oo}var Po,yc;function cv(){if(yc)return Po;yc=1;function e(t){return this.__data__.has(t)}return Po=e,Po}var wo,vc;function bc(){if(vc)return wo;vc=1;var e=typeof vr=="object"&&vr&&vr.Object===Object&&vr;return wo=e,wo}var Io,_c;function st(){if(_c)return Io;_c=1;var e=bc(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return Io=r,Io}var Ao,xc;function sn(){if(xc)return Ao;xc=1;var e=st(),t=e.Symbol;return Ao=t,Ao}var $o,Ec;function lv(){if(Ec)return $o;Ec=1;var e=sn(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,o=e?e.toStringTag:void 0;function i(a){var u=r.call(a,o),c=a[o];try{a[o]=void 0;var f=!0}catch{}var d=n.call(a);return f&&(u?a[o]=c:delete a[o]),d}return $o=i,$o}var Mo,Tc;function fv(){if(Tc)return Mo;Tc=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return Mo=r,Mo}var No,Sc;function cr(){if(Sc)return No;Sc=1;var e=sn(),t=lv(),r=fv(),n="[object Null]",o="[object Undefined]",i=e?e.toStringTag:void 0;function a(u){return u==null?u===void 0?o:n:i&&i in Object(u)?t(u):r(u)}return No=a,No}var ko,Rc;function Do(){if(Rc)return ko;Rc=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return ko=e,ko}var jo,Cc;function Oc(){if(Cc)return jo;Cc=1;var e=cr(),t=Do(),r="[object AsyncFunction]",n="[object Function]",o="[object GeneratorFunction]",i="[object Proxy]";function a(u){if(!t(u))return!1;var c=e(u);return c==n||c==o||c==r||c==i}return jo=a,jo}var qo,Pc;function dv(){if(Pc)return qo;Pc=1;var e=st(),t=e["__core-js_shared__"];return qo=t,qo}var Lo,wc;function pv(){if(wc)return Lo;wc=1;var e=dv(),t=function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function r(n){return!!t&&t in n}return Lo=r,Lo}var Fo,Ic;function Ac(){if(Ic)return Fo;Ic=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return Fo=r,Fo}var Bo,$c;function hv(){if($c)return Bo;$c=1;var e=Oc(),t=pv(),r=Do(),n=Ac(),o=/[\\^$.*+?()[\]{}|]/g,i=/^\[object .+?Constructor\]$/,a=Function.prototype,u=Object.prototype,c=a.toString,f=u.hasOwnProperty,d=RegExp("^"+c.call(f).replace(o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(m){if(!r(m)||t(m))return!1;var b=e(m)?d:i;return b.test(n(m))}return Bo=p,Bo}var zo,Mc;function mv(){if(Mc)return zo;Mc=1;function e(t,r){return t==null?void 0:t[r]}return zo=e,zo}var Vo,Nc;function jt(){if(Nc)return Vo;Nc=1;var e=hv(),t=mv();function r(n,o){var i=t(n,o);return e(i)?i:void 0}return Vo=r,Vo}var Wo,kc;function Uo(){if(kc)return Wo;kc=1;var e=jt(),t=st(),r=e(t,"Map");return Wo=r,Wo}var Go,Dc;function un(){if(Dc)return Go;Dc=1;var e=jt(),t=e(Object,"create");return Go=t,Go}var Yo,jc;function gv(){if(jc)return Yo;jc=1;var e=un();function t(){this.__data__=e?e(null):{},this.size=0}return Yo=t,Yo}var Ho,qc;function yv(){if(qc)return Ho;qc=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return Ho=e,Ho}var Ko,Lc;function vv(){if(Lc)return Ko;Lc=1;var e=un(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function o(i){var a=this.__data__;if(e){var u=a[i];return u===t?void 0:u}return n.call(a,i)?a[i]:void 0}return Ko=o,Ko}var Xo,Fc;function bv(){if(Fc)return Xo;Fc=1;var e=un(),t=Object.prototype,r=t.hasOwnProperty;function n(o){var i=this.__data__;return e?i[o]!==void 0:r.call(i,o)}return Xo=n,Xo}var Jo,Bc;function _v(){if(Bc)return Jo;Bc=1;var e=un(),t="__lodash_hash_undefined__";function r(n,o){var i=this.__data__;return this.size+=this.has(n)?0:1,i[n]=e&&o===void 0?t:o,this}return Jo=r,Jo}var Zo,zc;function xv(){if(zc)return Zo;zc=1;var e=gv(),t=yv(),r=vv(),n=bv(),o=_v();function i(a){var u=-1,c=a==null?0:a.length;for(this.clear();++u<c;){var f=a[u];this.set(f[0],f[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,Zo=i,Zo}var Qo,Vc;function Ev(){if(Vc)return Qo;Vc=1;var e=xv(),t=an(),r=Uo();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return Qo=n,Qo}var ei,Wc;function Tv(){if(Wc)return ei;Wc=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return ei=e,ei}var ti,Uc;function cn(){if(Uc)return ti;Uc=1;var e=Tv();function t(r,n){var o=r.__data__;return e(n)?o[typeof n=="string"?"string":"hash"]:o.map}return ti=t,ti}var ri,Gc;function Sv(){if(Gc)return ri;Gc=1;var e=cn();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return ri=t,ri}var ni,Yc;function Rv(){if(Yc)return ni;Yc=1;var e=cn();function t(r){return e(this,r).get(r)}return ni=t,ni}var oi,Hc;function Cv(){if(Hc)return oi;Hc=1;var e=cn();function t(r){return e(this,r).has(r)}return oi=t,oi}var ii,Kc;function Ov(){if(Kc)return ii;Kc=1;var e=cn();function t(r,n){var o=e(this,r),i=o.size;return o.set(r,n),this.size+=o.size==i?0:1,this}return ii=t,ii}var ai,Xc;function si(){if(Xc)return ai;Xc=1;var e=Ev(),t=Sv(),r=Rv(),n=Cv(),o=Ov();function i(a){var u=-1,c=a==null?0:a.length;for(this.clear();++u<c;){var f=a[u];this.set(f[0],f[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,ai=i,ai}var ui,Jc;function Pv(){if(Jc)return ui;Jc=1;var e=an(),t=Uo(),r=si(),n=200;function o(i,a){var u=this.__data__;if(u instanceof e){var c=u.__data__;if(!t||c.length<n-1)return c.push([i,a]),this.size=++u.size,this;u=this.__data__=new r(c)}return u.set(i,a),this.size=u.size,this}return ui=o,ui}var ci,Zc;function Qc(){if(Zc)return ci;Zc=1;var e=an(),t=av(),r=sv(),n=uv(),o=cv(),i=Pv();function a(u){var c=this.__data__=new e(u);this.size=c.size}return a.prototype.clear=t,a.prototype.delete=r,a.prototype.get=n,a.prototype.has=o,a.prototype.set=i,ci=a,ci}var li,el;function wv(){if(el)return li;el=1;var e="__lodash_hash_undefined__";function t(r){return this.__data__.set(r,e),this}return li=t,li}var fi,tl;function Iv(){if(tl)return fi;tl=1;function e(t){return this.__data__.has(t)}return fi=e,fi}var di,rl;function nl(){if(rl)return di;rl=1;var e=si(),t=wv(),r=Iv();function n(o){var i=-1,a=o==null?0:o.length;for(this.__data__=new e;++i<a;)this.add(o[i])}return n.prototype.add=n.prototype.push=t,n.prototype.has=r,di=n,di}var pi,ol;function Av(){if(ol)return pi;ol=1;function e(t,r){for(var n=-1,o=t==null?0:t.length;++n<o;)if(r(t[n],n,t))return!0;return!1}return pi=e,pi}var hi,il;function al(){if(il)return hi;il=1;function e(t,r){return t.has(r)}return hi=e,hi}var mi,sl;function ul(){if(sl)return mi;sl=1;var e=nl(),t=Av(),r=al(),n=1,o=2;function i(a,u,c,f,d,p){var m=c&n,b=a.length,v=u.length;if(b!=v&&!(m&&v>b))return!1;var l=p.get(a),_=p.get(u);if(l&&_)return l==u&&_==a;var E=-1,C=!0,T=c&o?new e:void 0;for(p.set(a,u),p.set(u,a);++E<b;){var x=a[E],y=u[E];if(f)var A=m?f(y,x,E,u,a,p):f(x,y,E,a,u,p);if(A!==void 0){if(A)continue;C=!1;break}if(T){if(!t(u,function(h,O){if(!r(T,O)&&(x===h||d(x,h,c,f,p)))return T.push(O)})){C=!1;break}}else if(!(x===y||d(x,y,c,f,p))){C=!1;break}}return p.delete(a),p.delete(u),C}return mi=i,mi}var gi,cl;function $v(){if(cl)return gi;cl=1;var e=st(),t=e.Uint8Array;return gi=t,gi}var yi,ll;function Mv(){if(ll)return yi;ll=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(o,i){n[++r]=[i,o]}),n}return yi=e,yi}var vi,fl;function bi(){if(fl)return vi;fl=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(o){n[++r]=o}),n}return vi=e,vi}var _i,dl;function Nv(){if(dl)return _i;dl=1;var e=sn(),t=$v(),r=sc(),n=ul(),o=Mv(),i=bi(),a=1,u=2,c="[object Boolean]",f="[object Date]",d="[object Error]",p="[object Map]",m="[object Number]",b="[object RegExp]",v="[object Set]",l="[object String]",_="[object Symbol]",E="[object ArrayBuffer]",C="[object DataView]",T=e?e.prototype:void 0,x=T?T.valueOf:void 0;function y(A,h,O,R,I,M,F){switch(O){case C:if(A.byteLength!=h.byteLength||A.byteOffset!=h.byteOffset)return!1;A=A.buffer,h=h.buffer;case E:return!(A.byteLength!=h.byteLength||!M(new t(A),new t(h)));case c:case f:case m:return r(+A,+h);case d:return A.name==h.name&&A.message==h.message;case b:case l:return A==h+"";case p:var D=o;case v:var L=R&a;if(D||(D=i),A.size!=h.size&&!L)return!1;var B=F.get(A);if(B)return B==h;R|=u,F.set(A,h);var q=n(D(A),D(h),R,I,M,F);return F.delete(A),q;case _:if(x)return x.call(A)==x.call(h)}return!1}return _i=y,_i}var xi,pl;function kv(){if(pl)return xi;pl=1;function e(t,r){for(var n=-1,o=r.length,i=t.length;++n<o;)t[i+n]=r[n];return t}return xi=e,xi}var Ei,hl;function dt(){if(hl)return Ei;hl=1;var e=Array.isArray;return Ei=e,Ei}var Ti,ml;function Dv(){if(ml)return Ti;ml=1;var e=kv(),t=dt();function r(n,o,i){var a=o(n);return t(n)?a:e(a,i(n))}return Ti=r,Ti}var Si,gl;function jv(){if(gl)return Si;gl=1;function e(t,r){for(var n=-1,o=t==null?0:t.length,i=0,a=[];++n<o;){var u=t[n];r(u,n,t)&&(a[i++]=u)}return a}return Si=e,Si}var Ri,yl;function qv(){if(yl)return Ri;yl=1;function e(){return[]}return Ri=e,Ri}var Ci,vl;function Lv(){if(vl)return Ci;vl=1;var e=jv(),t=qv(),r=Object.prototype,n=r.propertyIsEnumerable,o=Object.getOwnPropertySymbols,i=o?function(a){return a==null?[]:(a=Object(a),e(o(a),function(u){return n.call(a,u)}))}:t;return Ci=i,Ci}var Oi,bl;function Fv(){if(bl)return Oi;bl=1;function e(t,r){for(var n=-1,o=Array(t);++n<t;)o[n]=r(n);return o}return Oi=e,Oi}var Pi,_l;function lr(){if(_l)return Pi;_l=1;function e(t){return t!=null&&typeof t=="object"}return Pi=e,Pi}var wi,xl;function Bv(){if(xl)return wi;xl=1;var e=cr(),t=lr(),r="[object Arguments]";function n(o){return t(o)&&e(o)==r}return wi=n,wi}var Ii,El;function Tl(){if(El)return Ii;El=1;var e=Bv(),t=lr(),r=Object.prototype,n=r.hasOwnProperty,o=r.propertyIsEnumerable,i=e(function(){return arguments}())?e:function(a){return t(a)&&n.call(a,"callee")&&!o.call(a,"callee")};return Ii=i,Ii}var fr={exports:{}},Ai,Sl;function zv(){if(Sl)return Ai;Sl=1;function e(){return!1}return Ai=e,Ai}fr.exports;var Rl;function Cl(){return Rl||(Rl=1,function(e,t){var r=st(),n=zv(),o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,u=a?r.Buffer:void 0,c=u?u.isBuffer:void 0,f=c||n;e.exports=f}(fr,fr.exports)),fr.exports}var $i,Ol;function Pl(){if(Ol)return $i;Ol=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,o){var i=typeof n;return o=o??e,!!o&&(i=="number"||i!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<o}return $i=r,$i}var Mi,wl;function Ni(){if(wl)return Mi;wl=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return Mi=t,Mi}var ki,Il;function Vv(){if(Il)return ki;Il=1;var e=cr(),t=Ni(),r=lr(),n="[object Arguments]",o="[object Array]",i="[object Boolean]",a="[object Date]",u="[object Error]",c="[object Function]",f="[object Map]",d="[object Number]",p="[object Object]",m="[object RegExp]",b="[object Set]",v="[object String]",l="[object WeakMap]",_="[object ArrayBuffer]",E="[object DataView]",C="[object Float32Array]",T="[object Float64Array]",x="[object Int8Array]",y="[object Int16Array]",A="[object Int32Array]",h="[object Uint8Array]",O="[object Uint8ClampedArray]",R="[object Uint16Array]",I="[object Uint32Array]",M={};M[C]=M[T]=M[x]=M[y]=M[A]=M[h]=M[O]=M[R]=M[I]=!0,M[n]=M[o]=M[_]=M[i]=M[E]=M[a]=M[u]=M[c]=M[f]=M[d]=M[p]=M[m]=M[b]=M[v]=M[l]=!1;function F(D){return r(D)&&t(D.length)&&!!M[e(D)]}return ki=F,ki}var Di,Al;function Wv(){if(Al)return Di;Al=1;function e(t){return function(r){return t(r)}}return Di=e,Di}var dr={exports:{}};dr.exports;var $l;function Uv(){return $l||($l=1,function(e,t){var r=bc(),n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,a=i&&r.process,u=function(){try{var c=o&&o.require&&o.require("util").types;return c||a&&a.binding&&a.binding("util")}catch{}}();e.exports=u}(dr,dr.exports)),dr.exports}var ji,Ml;function Nl(){if(Ml)return ji;Ml=1;var e=Vv(),t=Wv(),r=Uv(),n=r&&r.isTypedArray,o=n?t(n):e;return ji=o,ji}var qi,kl;function Gv(){if(kl)return qi;kl=1;var e=Fv(),t=Tl(),r=dt(),n=Cl(),o=Pl(),i=Nl(),a=Object.prototype,u=a.hasOwnProperty;function c(f,d){var p=r(f),m=!p&&t(f),b=!p&&!m&&n(f),v=!p&&!m&&!b&&i(f),l=p||m||b||v,_=l?e(f.length,String):[],E=_.length;for(var C in f)(d||u.call(f,C))&&!(l&&(C=="length"||b&&(C=="offset"||C=="parent")||v&&(C=="buffer"||C=="byteLength"||C=="byteOffset")||o(C,E)))&&_.push(C);return _}return qi=c,qi}var Li,Dl;function Yv(){if(Dl)return Li;Dl=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,o=typeof n=="function"&&n.prototype||e;return r===o}return Li=t,Li}var Fi,jl;function Hv(){if(jl)return Fi;jl=1;function e(t,r){return function(n){return t(r(n))}}return Fi=e,Fi}var Bi,ql;function Kv(){if(ql)return Bi;ql=1;var e=Hv(),t=e(Object.keys,Object);return Bi=t,Bi}var zi,Ll;function Xv(){if(Ll)return zi;Ll=1;var e=Yv(),t=Kv(),r=Object.prototype,n=r.hasOwnProperty;function o(i){if(!e(i))return t(i);var a=[];for(var u in Object(i))n.call(i,u)&&u!="constructor"&&a.push(u);return a}return zi=o,zi}var Vi,Fl;function Jv(){if(Fl)return Vi;Fl=1;var e=Oc(),t=Ni();function r(n){return n!=null&&t(n.length)&&!e(n)}return Vi=r,Vi}var Wi,Bl;function zl(){if(Bl)return Wi;Bl=1;var e=Gv(),t=Xv(),r=Jv();function n(o){return r(o)?e(o):t(o)}return Wi=n,Wi}var Ui,Vl;function Zv(){if(Vl)return Ui;Vl=1;var e=Dv(),t=Lv(),r=zl();function n(o){return e(o,r,t)}return Ui=n,Ui}var Gi,Wl;function Qv(){if(Wl)return Gi;Wl=1;var e=Zv(),t=1,r=Object.prototype,n=r.hasOwnProperty;function o(i,a,u,c,f,d){var p=u&t,m=e(i),b=m.length,v=e(a),l=v.length;if(b!=l&&!p)return!1;for(var _=b;_--;){var E=m[_];if(!(p?E in a:n.call(a,E)))return!1}var C=d.get(i),T=d.get(a);if(C&&T)return C==a&&T==i;var x=!0;d.set(i,a),d.set(a,i);for(var y=p;++_<b;){E=m[_];var A=i[E],h=a[E];if(c)var O=p?c(h,A,E,a,i,d):c(A,h,E,i,a,d);if(!(O===void 0?A===h||f(A,h,u,c,d):O)){x=!1;break}y||(y=E=="constructor")}if(x&&!y){var R=i.constructor,I=a.constructor;R!=I&&"constructor"in i&&"constructor"in a&&!(typeof R=="function"&&R instanceof R&&typeof I=="function"&&I instanceof I)&&(x=!1)}return d.delete(i),d.delete(a),x}return Gi=o,Gi}var Yi,Ul;function eb(){if(Ul)return Yi;Ul=1;var e=jt(),t=st(),r=e(t,"DataView");return Yi=r,Yi}var Hi,Gl;function tb(){if(Gl)return Hi;Gl=1;var e=jt(),t=st(),r=e(t,"Promise");return Hi=r,Hi}var Ki,Yl;function Hl(){if(Yl)return Ki;Yl=1;var e=jt(),t=st(),r=e(t,"Set");return Ki=r,Ki}var Xi,Kl;function rb(){if(Kl)return Xi;Kl=1;var e=jt(),t=st(),r=e(t,"WeakMap");return Xi=r,Xi}var Ji,Xl;function nb(){if(Xl)return Ji;Xl=1;var e=eb(),t=Uo(),r=tb(),n=Hl(),o=rb(),i=cr(),a=Ac(),u="[object Map]",c="[object Object]",f="[object Promise]",d="[object Set]",p="[object WeakMap]",m="[object DataView]",b=a(e),v=a(t),l=a(r),_=a(n),E=a(o),C=i;return(e&&C(new e(new ArrayBuffer(1)))!=m||t&&C(new t)!=u||r&&C(r.resolve())!=f||n&&C(new n)!=d||o&&C(new o)!=p)&&(C=function(T){var x=i(T),y=x==c?T.constructor:void 0,A=y?a(y):"";if(A)switch(A){case b:return m;case v:return u;case l:return f;case _:return d;case E:return p}return x}),Ji=C,Ji}var Zi,Jl;function ob(){if(Jl)return Zi;Jl=1;var e=Qc(),t=ul(),r=Nv(),n=Qv(),o=nb(),i=dt(),a=Cl(),u=Nl(),c=1,f="[object Arguments]",d="[object Array]",p="[object Object]",m=Object.prototype,b=m.hasOwnProperty;function v(l,_,E,C,T,x){var y=i(l),A=i(_),h=y?d:o(l),O=A?d:o(_);h=h==f?p:h,O=O==f?p:O;var R=h==p,I=O==p,M=h==O;if(M&&a(l)){if(!a(_))return!1;y=!0,R=!1}if(M&&!R)return x||(x=new e),y||u(l)?t(l,_,E,C,T,x):r(l,_,h,E,C,T,x);if(!(E&c)){var F=R&&b.call(l,"__wrapped__"),D=I&&b.call(_,"__wrapped__");if(F||D){var L=F?l.value():l,B=D?_.value():_;return x||(x=new e),T(L,B,E,C,x)}}return M?(x||(x=new e),n(l,_,E,C,T,x)):!1}return Zi=v,Zi}var Qi,Zl;function Ql(){if(Zl)return Qi;Zl=1;var e=ob(),t=lr();function r(n,o,i,a,u){return n===o?!0:n==null||o==null||!t(n)&&!t(o)?n!==n&&o!==o:e(n,o,i,a,r,u)}return Qi=r,Qi}var ea,ef;function ib(){if(ef)return ea;ef=1;var e=Qc(),t=Ql(),r=1,n=2;function o(i,a,u,c){var f=u.length,d=f,p=!c;if(i==null)return!d;for(i=Object(i);f--;){var m=u[f];if(p&&m[2]?m[1]!==i[m[0]]:!(m[0]in i))return!1}for(;++f<d;){m=u[f];var b=m[0],v=i[b],l=m[1];if(p&&m[2]){if(v===void 0&&!(b in i))return!1}else{var _=new e;if(c)var E=c(v,l,b,i,a,_);if(!(E===void 0?t(l,v,r|n,c,_):E))return!1}}return!0}return ea=o,ea}var ta,tf;function rf(){if(tf)return ta;tf=1;var e=Do();function t(r){return r===r&&!e(r)}return ta=t,ta}var ra,nf;function ab(){if(nf)return ra;nf=1;var e=rf(),t=zl();function r(n){for(var o=t(n),i=o.length;i--;){var a=o[i],u=n[a];o[i]=[a,u,e(u)]}return o}return ra=r,ra}var na,of;function af(){if(of)return na;of=1;function e(t,r){return function(n){return n==null?!1:n[t]===r&&(r!==void 0||t in Object(n))}}return na=e,na}var oa,sf;function sb(){if(sf)return oa;sf=1;var e=ib(),t=ab(),r=af();function n(o){var i=t(o);return i.length==1&&i[0][2]?r(i[0][0],i[0][1]):function(a){return a===o||e(a,o,i)}}return oa=n,oa}var ia,uf;function aa(){if(uf)return ia;uf=1;var e=cr(),t=lr(),r="[object Symbol]";function n(o){return typeof o=="symbol"||t(o)&&e(o)==r}return ia=n,ia}var sa,cf;function ua(){if(cf)return sa;cf=1;var e=dt(),t=aa(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function o(i,a){if(e(i))return!1;var u=typeof i;return u=="number"||u=="symbol"||u=="boolean"||i==null||t(i)?!0:n.test(i)||!r.test(i)||a!=null&&i in Object(a)}return sa=o,sa}var ca,lf;function ub(){if(lf)return ca;lf=1;var e=si(),t="Expected a function";function r(n,o){if(typeof n!="function"||o!=null&&typeof o!="function")throw new TypeError(t);var i=function(){var a=arguments,u=o?o.apply(this,a):a[0],c=i.cache;if(c.has(u))return c.get(u);var f=n.apply(this,a);return i.cache=c.set(u,f)||c,f};return i.cache=new(r.Cache||e),i}return r.Cache=e,ca=r,ca}var la,ff;function cb(){if(ff)return la;ff=1;var e=ub(),t=500;function r(n){var o=e(n,function(a){return i.size===t&&i.clear(),a}),i=o.cache;return o}return la=r,la}var fa,df;function lb(){if(df)return fa;df=1;var e=cb(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(o){var i=[];return o.charCodeAt(0)===46&&i.push(""),o.replace(t,function(a,u,c,f){i.push(c?f.replace(r,"$1"):u||a)}),i});return fa=n,fa}var da,pf;function fb(){if(pf)return da;pf=1;function e(t,r){for(var n=-1,o=t==null?0:t.length,i=Array(o);++n<o;)i[n]=r(t[n],n,t);return i}return da=e,da}var pa,hf;function db(){if(hf)return pa;hf=1;var e=sn(),t=fb(),r=dt(),n=aa(),o=e?e.prototype:void 0,i=o?o.toString:void 0;function a(u){if(typeof u=="string")return u;if(r(u))return t(u,a)+"";if(n(u))return i?i.call(u):"";var c=u+"";return c=="0"&&1/u==-1/0?"-0":c}return pa=a,pa}var ha,mf;function pb(){if(mf)return ha;mf=1;var e=db();function t(r){return r==null?"":e(r)}return ha=t,ha}var ma,gf;function yf(){if(gf)return ma;gf=1;var e=dt(),t=ua(),r=lb(),n=pb();function o(i,a){return e(i)?i:t(i,a)?[i]:r(n(i))}return ma=o,ma}var ga,vf;function ln(){if(vf)return ga;vf=1;var e=aa();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return ga=t,ga}var ya,bf;function _f(){if(bf)return ya;bf=1;var e=yf(),t=ln();function r(n,o){o=e(o,n);for(var i=0,a=o.length;n!=null&&i<a;)n=n[t(o[i++])];return i&&i==a?n:void 0}return ya=r,ya}var va,xf;function hb(){if(xf)return va;xf=1;var e=_f();function t(r,n,o){var i=r==null?void 0:e(r,n);return i===void 0?o:i}return va=t,va}var ba,Ef;function mb(){if(Ef)return ba;Ef=1;function e(t,r){return t!=null&&r in Object(t)}return ba=e,ba}var _a,Tf;function gb(){if(Tf)return _a;Tf=1;var e=yf(),t=Tl(),r=dt(),n=Pl(),o=Ni(),i=ln();function a(u,c,f){c=e(c,u);for(var d=-1,p=c.length,m=!1;++d<p;){var b=i(c[d]);if(!(m=u!=null&&f(u,b)))break;u=u[b]}return m||++d!=p?m:(p=u==null?0:u.length,!!p&&o(p)&&n(b,p)&&(r(u)||t(u)))}return _a=a,_a}var xa,Sf;function yb(){if(Sf)return xa;Sf=1;var e=mb(),t=gb();function r(n,o){return n!=null&&t(n,o,e)}return xa=r,xa}var Ea,Rf;function vb(){if(Rf)return Ea;Rf=1;var e=Ql(),t=hb(),r=yb(),n=ua(),o=rf(),i=af(),a=ln(),u=1,c=2;function f(d,p){return n(d)&&o(p)?i(a(d),p):function(m){var b=t(m,d);return b===void 0&&b===p?r(m,d):e(p,b,u|c)}}return Ea=f,Ea}var Ta,Cf;function bb(){if(Cf)return Ta;Cf=1;function e(t){return t}return Ta=e,Ta}var Sa,Of;function _b(){if(Of)return Sa;Of=1;function e(t){return function(r){return r==null?void 0:r[t]}}return Sa=e,Sa}var Ra,Pf;function xb(){if(Pf)return Ra;Pf=1;var e=_f();function t(r){return function(n){return e(n,r)}}return Ra=t,Ra}var Ca,wf;function Eb(){if(wf)return Ca;wf=1;var e=_b(),t=xb(),r=ua(),n=ln();function o(i){return r(i)?e(n(i)):t(i)}return Ca=o,Ca}var Oa,If;function Tb(){if(If)return Oa;If=1;var e=sb(),t=vb(),r=bb(),n=dt(),o=Eb();function i(a){return typeof a=="function"?a:a==null?r:typeof a=="object"?n(a)?t(a[0],a[1]):e(a):o(a)}return Oa=i,Oa}var Pa,Af;function Sb(){if(Af)return Pa;Af=1;function e(t,r,n,o){for(var i=t.length,a=n+(o?1:-1);o?a--:++a<i;)if(r(t[a],a,t))return a;return-1}return Pa=e,Pa}var wa,$f;function Rb(){if($f)return wa;$f=1;function e(t){return t!==t}return wa=e,wa}var Ia,Mf;function Cb(){if(Mf)return Ia;Mf=1;function e(t,r,n){for(var o=n-1,i=t.length;++o<i;)if(t[o]===r)return o;return-1}return Ia=e,Ia}var Aa,Nf;function Ob(){if(Nf)return Aa;Nf=1;var e=Sb(),t=Rb(),r=Cb();function n(o,i,a){return i===i?r(o,i,a):e(o,t,a)}return Aa=n,Aa}var $a,kf;function Pb(){if(kf)return $a;kf=1;var e=Ob();function t(r,n){var o=r==null?0:r.length;return!!o&&e(r,n,0)>-1}return $a=t,$a}var Ma,Df;function wb(){if(Df)return Ma;Df=1;function e(t,r,n){for(var o=-1,i=t==null?0:t.length;++o<i;)if(n(r,t[o]))return!0;return!1}return Ma=e,Ma}var Na,jf;function Ib(){if(jf)return Na;jf=1;function e(){}return Na=e,Na}var ka,qf;function Ab(){if(qf)return ka;qf=1;var e=Hl(),t=Ib(),r=bi(),n=1/0,o=e&&1/r(new e([,-0]))[1]==n?function(i){return new e(i)}:t;return ka=o,ka}var Da,Lf;function $b(){if(Lf)return Da;Lf=1;var e=nl(),t=Pb(),r=wb(),n=al(),o=Ab(),i=bi(),a=200;function u(c,f,d){var p=-1,m=t,b=c.length,v=!0,l=[],_=l;if(d)v=!1,m=r;else if(b>=a){var E=f?null:o(c);if(E)return i(E);v=!1,m=n,_=new e}else _=f?[]:l;e:for(;++p<b;){var C=c[p],T=f?f(C):C;if(C=d||C!==0?C:0,v&&T===T){for(var x=_.length;x--;)if(_[x]===T)continue e;f&&_.push(T),l.push(C)}else m(_,T,d)||(_!==l&&_.push(T),l.push(C))}return l}return Da=u,Da}var ja,Ff;function Mb(){if(Ff)return ja;Ff=1;var e=Tb(),t=$b();function r(n,o){return n&&n.length?t(n,e(o,2)):[]}return ja=r,ja}var Nb=Mb();const kb=br(Nb);class Bf extends ae.Component{zoomedImageLabel(){const{t}=this.props,r=this.currentBounds();return t("mirador-dl-plugin.zoomed_region",{width:Math.floor(r.width),height:Math.floor(r.height)})}fullImageLabel(){const{canvas:t,t:r}=this.props;return r("mirador-dl-plugin.whole_image",{width:t.getWidth(),height:t.getHeight()})}smallImageLabel(){const{canvas:t,t:r}=this.props,n=Math.floor(1e3*t.getHeight()/t.getWidth());return r("mirador-dl-plugin.whole_image",{width:1e3,height:n})}zoomedImageUrl(){const{canvas:t}=this.props,r=this.currentBounds();return`${t.getCanonicalImageUri().replace(/\/full\/.*\/0\//,`/${r.x},${r.y},${r.width},${r.height}/full/0/`)}?download=true`}imageUrlForSize(t){const{canvas:r}=this.props;return`${r.getCanonicalImageUri(t.width)}?download=true`}fullImageUrl(){const{canvas:t}=this.props;return`${t.getCanonicalImageUri().replace(/\/full\/.*\/0\//,"/full/full/0/")}?download=true`}thousandPixelWideImage(){const{canvas:t}=this.props;return`${t.getCanonicalImageUri("1000")}?download=true`}osdViewport(){const{windowId:t}=this.props;return ct.OSDReferences.get(t).current.viewport}currentBounds(){const t=this.osdViewport().getBounds();return Object.keys(t).reduce((r,n)=>(r[n]=Math.ceil(t[n]),r),{})}definedSizesRestrictsDownload(){const{infoResponse:t}=this.props;if(!t.json)return!1;const{height:r,width:n}=t.json;return this.definedSizes().length!==1?!1:this.definedSizes()[0].width<=n&&this.definedSizes()[0].height<=r}displayCurrentZoomLink(){const{restrictDownloadOnSizeDefinition:t,infoResponse:r,viewType:n}=this.props;if(n!=="single"||t&&this.definedSizesRestrictsDownload()||!(r&&r.json))return!1;const o=this.currentBounds();return o.height<r.json.height&&o.width<r.json.width&&o.x>=0&&o.y>=0}definedSizes(){const{infoResponse:t}=this.props;return t&&t.json&&t.json.sizes?kb(t.json.sizes,r=>`${r.width}${r.height}`):[]}fullImageLink(){return k.jsx(Dt,{disableGutters:!0,divider:!0,children:k.jsx(Nt,{href:this.fullImageUrl(),rel:"noopener noreferrer",target:"_blank",variant:"body1",children:this.fullImageLabel()})},this.fullImageUrl())}thousandPixelWideLink(){const{canvas:t}=this.props;return t.getWidth()<1e3?"":k.jsx(Dt,{disableGutters:!0,divider:!0,children:k.jsx(Nt,{href:this.thousandPixelWideImage(),rel:"noopener noreferrer",target:"_blank",variant:"body1",children:this.smallImageLabel()})},this.thousandPixelWideImage())}linksForDefinedSizes(){const{t}=this.props;return this.definedSizes().map(r=>k.jsx(Dt,{disableGutters:!0,divider:!0,children:k.jsx(Nt,{href:this.imageUrlForSize(r),rel:"noopener noreferrer",target:"_blank",variant:"body1",children:t("mirador-dl-plugin.whole_image",{width:r.width,height:r.height})})},`${r.width}${r.height}`))}render(){const{canvas:t,canvasLabel:r}=this.props;return k.jsxs(k.Fragment,{children:[k.jsx(rt,{noWrap:!0,variant:"h3",sx:{marginTop:"20px"},children:r}),k.jsxs(ho,{children:[this.displayCurrentZoomLink()&&k.jsx(Dt,{disableGutters:!0,divider:!0,children:k.jsx(Nt,{href:this.zoomedImageUrl(),download:!0,rel:"noopener noreferrer",target:"_blank",variant:"body1",children:this.zoomedImageLabel()})}),this.definedSizes().length===0&&[this.fullImageLink(),this.thousandPixelWideLink()],this.definedSizes().length>0&&this.linksForDefinedSizes(),t.getRenderings().map(n=>k.jsx(go,{rendering:n},n.id))]})]})}}Bf.propTypes={canvas:s.shape({id:s.string.isRequired,getCanonicalImageUri:s.func.isRequired,getHeight:s.func.isRequired,getRenderings:s.func.isRequired,getWidth:s.func.isRequired}).isRequired,canvasLabel:s.string.isRequired,infoResponse:s.shape({json:s.shape({height:s.number,sizes:s.arrayOf(s.shape({height:s.number,width:s.number})),width:s.number})}).isRequired,restrictDownloadOnSizeDefinition:s.bool.isRequired,t:s.func.isRequired,viewType:s.string.isRequired,windowId:s.string.isRequired};const Db=(e,{windowId:t})=>({closeDialog:()=>e({type:"CLOSE_WINDOW_DIALOG",windowId:t})}),jb=(e,{windowId:t})=>({canvases:ct.getVisibleCanvases(e,{windowId:t}),canvasLabel:r=>ct.getCanvasLabel(e,{canvasId:r,windowId:t}),containerId:ct.getContainerId(e),infoResponse:r=>ct.selectInfoResponse(e,{windowId:t,canvasId:r})||{},manifest:ct.getManifestoInstance(e,{windowId:t}),restrictDownloadOnSizeDefinition:e.config.miradorDownloadPlugin&&e.config.miradorDownloadPlugin.restrictDownloadOnSizeDefinition,open:e.windowDialogs[t]&&e.windowDialogs[t].openDialog==="download",viewType:ct.getWindowViewType(e,{windowId:t})});function zf({canvases:e=[],canvasLabel:t,closeDialog:r,containerId:n,infoResponse:o,manifest:i=void 0,open:a=!1,restrictDownloadOnSizeDefinition:u=!1,viewType:c,windowId:f}){const{t:d}=pn.useTranslation(),p=ae.useMemo(()=>i&&i.getSequences()&&i.getSequences()[0]&&i.getSequences()[0].getRenderings()?i.getSequences()[0].getRenderings():[],[i]);return a?k.jsxs(Xu,{"data-testid":"dialog-content",container:document.querySelector(`#${n} .mirador-viewer`),disableEnforceFocus:!0,onClose:r,open:a,scroll:"paper",fullWidth:!0,maxWidth:"xs",children:[k.jsx(Ju,{sx:{paddingBottom:0},children:k.jsx(rt,{variant:"h2",component:"span",children:d("mirador-dl-plugin.download")})}),k.jsxs(ct.ScrollIndicatedDialogContent,{children:[e.map(m=>k.jsx(Bf,{canvas:m,canvasLabel:t(m.id),infoResponse:o(m.id),restrictDownloadOnSizeDefinition:u,t:d,viewType:c,windowId:f},m.id)),p.length>0&&k.jsx(oc,{renderings:p,t:d})]}),k.jsx(Zu,{children:k.jsx(rc,{onClick:r,color:"primary",children:d("mirador-dl-plugin.close")})})]}):""}zf.propTypes={canvasLabel:s.func.isRequired,canvases:s.arrayOf(s.shape({id:s.string,index:s.number})),closeDialog:s.func.isRequired,containerId:s.string.isRequired,infoResponse:s.func.isRequired,manifest:s.shape({getSequences:s.func}),open:s.bool,restrictDownloadOnSizeDefinition:s.bool,viewType:s.string.isRequired,windowId:s.string.isRequired};const Vf={target:"Window",mode:"add",name:"MiradorDownloadDialog",component:zf,config:{translations:zu},mapDispatchToProps:Db,mapStateToProps:jb},qb=[Wu,Vf];Ue.MiradorDownloadDialogPlugin=Vf,Ue.default=qb,Ue.miradorDownloadPlugin=Wu,Object.defineProperties(Ue,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
183
+ `),Ye.rippleVisible,Um,ro,({theme:e})=>e.transitions.easing.easeInOut,Ye.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Ye.child,Ye.childLeaving,Gm,ro,({theme:e})=>e.transitions.easing.easeInOut,Ye.childPulsate,Ym,({theme:e})=>e.transitions.easing.easeInOut),Nu=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=n,u=pe(n,Vm),[c,d]=S.useState([]),f=S.useRef(0),p=S.useRef(null);S.useEffect(()=>{p.current&&(p.current(),p.current=null)},[c]);const m=S.useRef(!1),b=am(),v=S.useRef(null),l=S.useRef(null),_=S.useCallback(x=>{const{pulsate:y,rippleX:$,rippleY:h,rippleSize:O,cb:R}=x;d(I=>[...I,k.jsx(Km,{classes:{ripple:ne(i.ripple,Ye.ripple),rippleVisible:ne(i.rippleVisible,Ye.rippleVisible),ripplePulsate:ne(i.ripplePulsate,Ye.ripplePulsate),child:ne(i.child,Ye.child),childLeaving:ne(i.childLeaving,Ye.childLeaving),childPulsate:ne(i.childPulsate,Ye.childPulsate)},timeout:ro,pulsate:y,rippleX:$,rippleY:h,rippleSize:O},f.current)]),f.current+=1,p.current=R},[i]),E=S.useCallback((x={},y={},$=()=>{})=>{const{pulsate:h=!1,center:O=o||y.pulsate,fakeElement:R=!1}=y;if((x==null?void 0:x.type)==="mousedown"&&m.current){m.current=!1;return}(x==null?void 0:x.type)==="touchstart"&&(m.current=!0);const I=R?null:l.current,M=I?I.getBoundingClientRect():{width:0,height:0,left:0,top:0};let F,D,L;if(O||x===void 0||x.clientX===0&&x.clientY===0||!x.clientX&&!x.touches)F=Math.round(M.width/2),D=Math.round(M.height/2);else{const{clientX:B,clientY:q}=x.touches&&x.touches.length>0?x.touches[0]:x;F=Math.round(B-M.left),D=Math.round(q-M.top)}if(O)L=Math.sqrt((2*M.width**2+M.height**2)/3),L%2===0&&(L+=1);else{const B=Math.max(Math.abs((I?I.clientWidth:0)-F),F)*2+2,q=Math.max(Math.abs((I?I.clientHeight:0)-D),D)*2+2;L=Math.sqrt(B**2+q**2)}x!=null&&x.touches?v.current===null&&(v.current=()=>{_({pulsate:h,rippleX:F,rippleY:D,rippleSize:L,cb:$})},b.start(Wm,()=>{v.current&&(v.current(),v.current=null)})):_({pulsate:h,rippleX:F,rippleY:D,rippleSize:L,cb:$})},[o,_,b]),C=S.useCallback(()=>{E({},{pulsate:!0})},[E]),T=S.useCallback((x,y)=>{if(b.clear(),(x==null?void 0:x.type)==="touchend"&&v.current){v.current(),v.current=null,b.start(0,()=>{T(x,y)});return}v.current=null,d($=>$.length>0?$.slice(1):$),p.current=y},[b]);return S.useImperativeHandle(r,()=>({pulsate:C,start:E,stop:T}),[C,E,T]),k.jsx(Hm,w({className:ne(Ye.root,i.root,a),ref:l},u,{children:k.jsx(Xn,{component:null,exit:!0,children:c})}))});process.env.NODE_ENV!=="production"&&(Nu.propTypes={center:s.bool,classes:s.object,className:s.string});function Xm(e){return Me("MuiButtonBase",e)}const Jm=$e("MuiButtonBase",["root","disabled","focusVisible"]),Zm=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Qm=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=je({root:["root",t&&"disabled",r&&"focusVisible"]},Xm,o);return r&&n&&(a.root+=` ${n}`),a},eg=xe("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Jm.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Zr=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:u,component:c="button",disabled:d=!1,disableRipple:f=!1,disableTouchRipple:p=!1,focusRipple:m=!1,LinkComponent:b="a",onBlur:v,onClick:l,onContextMenu:_,onDragLeave:E,onFocus:C,onFocusVisible:T,onKeyDown:x,onKeyUp:y,onMouseDown:$,onMouseLeave:h,onMouseUp:O,onTouchEnd:R,onTouchMove:I,onTouchStart:M,tabIndex:F=0,TouchRippleProps:D,touchRippleRef:L,type:B}=n,q=pe(n,Zm),G=S.useRef(null),Z=S.useRef(null),Pe=Je(Z,L),{isFocusVisibleRef:A,onFocus:j,onBlur:Q,ref:X}=Gn(),[V,H]=S.useState(!1);d&&V&&H(!1),S.useImperativeHandle(o,()=>({focusVisible:()=>{H(!0),G.current.focus()}}),[]);const[Y,K]=S.useState(!1);S.useEffect(()=>{K(!0)},[]);const W=Y&&!f&&!d;S.useEffect(()=>{V&&m&&!f&&Y&&Z.current.pulsate()},[f,m,V,Y]);function U(te,yr,La=p){return gt(fn=>(yr&&yr(fn),!La&&Z.current&&Z.current[te](fn),!0))}const J=U("start",$),be=U("stop",_),P=U("stop",E),ge=U("stop",O),ie=U("stop",te=>{V&&te.preventDefault(),h&&h(te)}),Se=U("start",M),We=U("stop",R),ct=U("stop",I),qt=U("stop",te=>{Q(te),A.current===!1&&H(!1),v&&v(te)},!1),pt=gt(te=>{G.current||(G.current=te.currentTarget),j(te),A.current===!0&&(H(!0),T&&T(te)),C&&C(te)}),pr=()=>{const te=G.current;return c&&c!=="button"&&!(te.tagName==="A"&&te.href)},hr=S.useRef(!1),mr=gt(te=>{m&&!hr.current&&V&&Z.current&&te.key===" "&&(hr.current=!0,Z.current.stop(te,()=>{Z.current.start(te)})),te.target===te.currentTarget&&pr()&&te.key===" "&&te.preventDefault(),x&&x(te),te.target===te.currentTarget&&pr()&&te.key==="Enter"&&!d&&(te.preventDefault(),l&&l(te))}),ja=gt(te=>{m&&te.key===" "&&Z.current&&V&&!te.defaultPrevented&&(hr.current=!1,Z.current.stop(te,()=>{Z.current.pulsate(te)})),y&&y(te),l&&te.target===te.currentTarget&&pr()&&te.key===" "&&!te.defaultPrevented&&l(te)});let Lt=c;Lt==="button"&&(q.href||q.to)&&(Lt=b);const ht={};Lt==="button"?(ht.type=B===void 0?"button":B,ht.disabled=d):(!q.href&&!q.to&&(ht.role="button"),d&&(ht["aria-disabled"]=d));const dn=Je(r,X,G);process.env.NODE_ENV!=="production"&&S.useEffect(()=>{W&&!Z.current&&console.error(["MUI: The `component` prop provided to ButtonBase is invalid.","Please make sure the children prop is rendered in this custom component."].join(`
184
+ `))},[W]);const gr=w({},n,{centerRipple:i,component:c,disabled:d,disableRipple:f,disableTouchRipple:p,focusRipple:m,tabIndex:F,focusVisible:V}),qa=Qm(gr);return k.jsxs(eg,w({as:Lt,className:ne(qa.root,u),ownerState:gr,onBlur:qt,onClick:l,onContextMenu:be,onFocus:pt,onKeyDown:mr,onKeyUp:ja,onMouseDown:J,onMouseLeave:ie,onMouseUp:ge,onDragLeave:P,onTouchEnd:We,onTouchMove:ct,onTouchStart:Se,ref:dn,tabIndex:d?-1:F,type:B},ht,q,{children:[a,W?k.jsx(Nu,w({ref:Pe,center:i},D)):null]}))});process.env.NODE_ENV!=="production"&&(Zr.propTypes={action:em,centerRipple:s.bool,children:s.node,classes:s.object,className:s.string,component:Vn,disabled:s.bool,disableRipple:s.bool,disableTouchRipple:s.bool,focusRipple:s.bool,focusVisibleClassName:s.string,href:s.any,LinkComponent:s.elementType,onBlur:s.func,onClick:s.func,onContextMenu:s.func,onDragLeave:s.func,onFocus:s.func,onFocusVisible:s.func,onKeyDown:s.func,onKeyUp:s.func,onMouseDown:s.func,onMouseLeave:s.func,onMouseUp:s.func,onTouchEnd:s.func,onTouchMove:s.func,onTouchStart:s.func,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),tabIndex:s.number,TouchRippleProps:s.object,touchRippleRef:s.oneOfType([s.func,s.shape({current:s.shape({pulsate:s.func.isRequired,start:s.func.isRequired,stop:s.func.isRequired})})]),type:s.oneOfType([s.oneOf(["button","reset","submit"]),s.string])});const ku=$e("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);function tg(e){return Me("MuiListItemIcon",e)}const Du=$e("MuiListItemIcon",["root","alignItemsFlexStart"]),rg=["className"],ng=e=>{const{alignItems:t,classes:r}=e;return je({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},tg,r)},og=xe("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>w({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),ju=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiListItemIcon"}),{className:o}=n,i=pe(n,rg),a=S.useContext(rt),u=w({},n,{alignItems:a.alignItems}),c=ng(u);return k.jsx(og,w({className:ne(c.root,o),ownerState:u,ref:r},i))});process.env.NODE_ENV!=="production"&&(ju.propTypes={children:s.node,classes:s.object,className:s.string,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function ig(e){return Me("MuiTypography",e)}$e("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const ag=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],sg=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e,u={root:["root",i,e.align!=="inherit"&&`align${me(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return je(u,ig,a)},ug=xe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${me(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>w({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),qu={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},cg={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},lg=e=>cg[e]||e,nt=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiTypography"}),o=lg(n.color),i=ru(w({},n,{color:o})),{align:a="inherit",className:u,component:c,gutterBottom:d=!1,noWrap:f=!1,paragraph:p=!1,variant:m="body1",variantMapping:b=qu}=i,v=pe(i,ag),l=w({},i,{align:a,color:o,className:u,component:c,gutterBottom:d,noWrap:f,paragraph:p,variant:m,variantMapping:b}),_=c||(p?"p":b[m]||qu[m])||"span",E=sg(l);return k.jsx(ug,w({as:_,ref:r,ownerState:l,className:ne(E.root,u)},v))});process.env.NODE_ENV!=="production"&&(nt.propTypes={align:s.oneOf(["center","inherit","justify","left","right"]),children:s.node,classes:s.object,className:s.string,component:s.elementType,gutterBottom:s.bool,noWrap:s.bool,paragraph:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),variant:s.oneOfType([s.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),s.string]),variantMapping:s.object});function dg(e){return Me("MuiListItemText",e)}const Qr=$e("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),fg=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],pg=e=>{const{classes:t,inset:r,primary:n,secondary:o,dense:i}=e;return je({root:["root",r&&"inset",i&&"dense",n&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},dg,t)},hg=xe("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Qr.primary}`]:t.primary},{[`& .${Qr.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.dense&&t.dense]}})(({ownerState:e})=>w({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),no=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiListItemText"}),{children:o,className:i,disableTypography:a=!1,inset:u=!1,primary:c,primaryTypographyProps:d,secondary:f,secondaryTypographyProps:p}=n,m=pe(n,fg),{dense:b}=S.useContext(rt);let v=c??o,l=f;const _=w({},n,{disableTypography:a,inset:u,primary:!!v,secondary:!!l,dense:b}),E=pg(_);return v!=null&&v.type!==nt&&!a&&(v=k.jsx(nt,w({variant:b?"body2":"body1",className:E.primary,component:d!=null&&d.variant?void 0:"span",display:"block"},d,{children:v}))),l!=null&&l.type!==nt&&!a&&(l=k.jsx(nt,w({variant:"body2",className:E.secondary,color:"text.secondary",display:"block"},p,{children:l}))),k.jsxs(hg,w({className:ne(E.root,i),ownerState:_,ref:r},m,{children:[v,l]}))});process.env.NODE_ENV!=="production"&&(no.propTypes={children:s.node,classes:s.object,className:s.string,disableTypography:s.bool,inset:s.bool,primary:s.node,primaryTypographyProps:s.object,secondary:s.node,secondaryTypographyProps:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function mg(e){return Me("MuiMenuItem",e)}const ar=$e("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),gg=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],yg=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]},vg=e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e,c=je({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},mg,a);return w({},a,c)},bg=xe(Zr,{shouldForwardProp:e=>zn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:yg})(({theme:e,ownerState:t})=>w({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ar.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ne.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ar.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ne.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ar.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ne.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ne.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${ar.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ar.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${ku.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${ku.inset}`]:{marginLeft:52},[`& .${Qr.root}`]:{marginTop:0,marginBottom:0},[`& .${Qr.inset}`]:{paddingLeft:36},[`& .${Du.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&w({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Du.root} svg`]:{fontSize:"1.25rem"}}))),Lu=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:a=!1,divider:u=!1,disableGutters:c=!1,focusVisibleClassName:d,role:f="menuitem",tabIndex:p,className:m}=n,b=pe(n,gg),v=S.useContext(rt),l=S.useMemo(()=>({dense:a||v.dense||!1,disableGutters:c}),[v.dense,a,c]),_=S.useRef(null);$t(()=>{o&&(_.current?_.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."))},[o]);const E=w({},n,{dense:l.dense,divider:u,disableGutters:c}),C=vg(n),T=Je(_,r);let x;return n.disabled||(x=p!==void 0?p:-1),k.jsx(rt.Provider,{value:l,children:k.jsx(bg,w({ref:T,role:f,tabIndex:x,component:i,focusVisibleClassName:ne(C.focusVisible,d),className:ne(C.root,m)},b,{ownerState:E,classes:C}))})});process.env.NODE_ENV!=="production"&&(Lu.propTypes={autoFocus:s.bool,children:s.node,classes:s.object,className:s.string,component:s.elementType,dense:s.bool,disabled:s.bool,disableGutters:s.bool,divider:s.bool,focusVisibleClassName:s.string,role:s.string,selected:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),tabIndex:s.number});var sr={},oo={};function _g(e){return Me("MuiSvgIcon",e)}$e("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const xg=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Eg=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${me(t)}`,`fontSize${me(r)}`]};return je(o,_g,n)},Tg=xe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${me(r.color)}`],t[`fontSize${me(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,u,c,d,f,p,m,b,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((u=e.typography)==null||(c=u.pxToRem)==null?void 0:c.call(u,24))||"1.5rem",large:((d=e.typography)==null||(f=d.pxToRem)==null?void 0:f.call(d,35))||"2.1875rem"}[t.fontSize],color:(p=(m=(e.vars||e).palette)==null||(m=m[t.color])==null?void 0:m.main)!=null?p:{action:(b=(e.vars||e).palette)==null||(b=b.action)==null?void 0:b.active,disabled:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),en=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:u="svg",fontSize:c="medium",htmlColor:d,inheritViewBox:f=!1,titleAccess:p,viewBox:m="0 0 24 24"}=n,b=pe(n,xg),v=S.isValidElement(o)&&o.type==="svg",l=w({},n,{color:a,component:u,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:m,hasSvgAsChild:v}),_={};f||(_.viewBox=m);const E=Eg(l);return k.jsxs(Tg,w({as:u,className:ne(E.root,i),focusable:"false",color:d,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r},_,b,v&&o.props,{ownerState:l,children:[v?o.props.children:o,p?k.jsx("title",{children:p}):null]}))});process.env.NODE_ENV!=="production"&&(en.propTypes={children:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),s.string]),component:s.elementType,fontSize:s.oneOfType([s.oneOf(["inherit","large","medium","small"]),s.string]),htmlColor:s.string,inheritViewBox:s.bool,shapeRendering:s.string,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),titleAccess:s.string,viewBox:s.string}),en.muiName="SvgIcon";function Sg(e,t){function r(n,o){return k.jsx(en,w({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=en.muiName,S.memo(S.forwardRef(r))}const Rg=ot(Object.freeze(Object.defineProperty({__proto__:null,capitalize:me,createChainedFunction:Jn,createSvgIcon:Sg,debounce:Pm,deprecatedPropType:wm,isMuiElement:Zn,ownerDocument:st,ownerWindow:Xr,requirePropFactory:Im,setRef:Ur,unstable_ClassNameGenerator:{configure:e=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
185
+ `)),iu.configure(e)}},unstable_useEnhancedEffect:$t,unstable_useId:Tu,unsupportedProp:Am,useControlled:Mm,useEventCallback:gt,useForkRef:Je,useIsFocusVisible:Gn},Symbol.toStringTag,{value:"Module"})));var Fu;function Cg(){return Fu||(Fu=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Rg}(oo)),oo}var Bu;function Og(){if(Bu)return sr;Bu=1;var e=hn();Object.defineProperty(sr,"__esModule",{value:!0}),sr.default=void 0;var t=e(Cg()),r=qs();return sr.default=(0,t.default)((0,r.jsx)("path",{d:"M16 13h-3V3h-2v10H8l4 4zM4 19v2h16v-2z"}),"VerticalAlignBottom"),sr}var Pg=Og();const wg=br(Pg),zu={de:{"mirador-dl-plugin":{close:"Schließen",download:"Download",other_download:"Andere Download-Optionen",whole_image:"Gesamtes Bild ({{width}} x {{height}}px)",zoomed_region:"Aktueller Bildausschnitt ({{width}} x {{height}}px)"}},en:{"mirador-dl-plugin":{close:"Close",download:"Download",other_download:"Other download options",whole_image:"Whole image ({{width}} x {{height}}px)",zoomed_region:"Zoomed region ({{width}} x {{height}}px)"}},et:{"mirador-dl-plugin":{close:"Sulge",download:"Lae alla",other_download:"Teised allalaadimise valikud",whole_image:"Kogu pilt ({{width}} x {{height}}px)",zoomed_region:"Suurendatud piirkond ({{width}} x {{height}}px)"}},fr:{"mirador-dl-plugin":{close:"Fermer",download:"Télécharger",other_download:"Autres options de téléchargement",whole_image:"Image entière ({{width}} x {{height}}px)",zoomed_region:"Région zoomée ({{width}} x {{height}}px)"}}},Ig=(e={},t)=>t.type==="OPEN_WINDOW_DIALOG"?{...e,[t.windowId]:{openDialog:t.dialogType}}:t.type==="CLOSE_WINDOW_DIALOG"?{...e,[t.windowId]:{openDialog:null}}:e,$g=(e,{windowId:t})=>({openDownloadDialog:()=>e({type:"OPEN_WINDOW_DIALOG",windowId:t,dialogType:"download"})});function Vu({handleClose:e=()=>{},openDownloadDialog:t=()=>{}}){const r=ae.useCallback(()=>{t(),e()},[e,t]),{t:n}=Xe.useTranslation();return k.jsxs(Lu,{onClick:r,children:[k.jsx(ju,{children:k.jsx(wg,{})}),k.jsx(no,{primaryTypographyProps:{variant:"body1"},children:n("mirador-dl-plugin.download")})]})}Vu.propTypes={handleClose:s.func,openDownloadDialog:s.func};const Wu={target:"WindowTopBarPluginMenu",mode:"add",name:"MiradorDownloadPlugin",component:Vu,config:{translations:zu},mapDispatchToProps:$g,reducers:{windowDialogs:Ig}};function Ag(e){const t=st(e);return t.body===e?Xr(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ur(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Uu(e){return parseInt(Xr(e).getComputedStyle(e).paddingRight,10)||0}function Mg(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function Gu(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,a=>{const u=i.indexOf(a)===-1,c=!Mg(a);u&&c&&ur(a,o)})}function io(e,t){let r=-1;return e.some((n,o)=>t(n)?(r=o,!0):!1),r}function Ng(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(Ag(n)){const a=Nm(st(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${Uu(n)+a}px`;const u=st(n).querySelectorAll(".mui-fixed");[].forEach.call(u,c=>{r.push({value:c.style.paddingRight,property:"padding-right",el:c}),c.style.paddingRight=`${Uu(c)+a}px`})}let i;if(n.parentNode instanceof DocumentFragment)i=st(n).body;else{const a=n.parentElement,u=Xr(n);i=(a==null?void 0:a.nodeName)==="HTML"&&u.getComputedStyle(a).overflowY==="scroll"?a:n}r.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{r.forEach(({value:i,el:a,property:u})=>{i?a.style.setProperty(u,i):a.style.removeProperty(u)})}}function kg(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class Dg{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&ur(t.modalRef,!1);const o=kg(r);Gu(r,t.mount,t.modalRef,o,!0);const i=io(this.containers,a=>a.container===r);return i!==-1?(this.containers[i].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:o}),n)}mount(t,r){const n=io(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[n];o.restore||(o.restore=Ng(o,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const o=io(this.containers,a=>a.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&ur(t.modalRef,r),Gu(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=i.modals[i.modals.length-1];a.modalRef&&ur(a.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const jg=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function qg(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Lg(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function Fg(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Lg(e))}function Bg(e){const t=[],r=[];return Array.from(e.querySelectorAll(jg)).forEach((n,o)=>{const i=qg(n);i===-1||!Fg(n)||(i===0?t.push(n):r.push({documentOrder:o,tabIndex:i,node:n}))}),r.sort((n,o)=>n.tabIndex===o.tabIndex?n.documentOrder-o.documentOrder:n.tabIndex-o.tabIndex).map(n=>n.node).concat(t)}function zg(){return!0}function tn(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:i=Bg,isEnabled:a=zg,open:u}=e,c=S.useRef(!1),d=S.useRef(null),f=S.useRef(null),p=S.useRef(null),m=S.useRef(null),b=S.useRef(!1),v=S.useRef(null),l=Je(to(t),v),_=S.useRef(null);S.useEffect(()=>{!u||!v.current||(b.current=!r)},[r,u]),S.useEffect(()=>{if(!u||!v.current)return;const T=st(v.current);return v.current.contains(T.activeElement)||(v.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
186
+ `)),v.current.setAttribute("tabIndex","-1")),b.current&&v.current.focus()),()=>{o||(p.current&&p.current.focus&&(c.current=!0,p.current.focus()),p.current=null)}},[u]),S.useEffect(()=>{if(!u||!v.current)return;const T=st(v.current),x=h=>{_.current=h,!(n||!a()||h.key!=="Tab")&&T.activeElement===v.current&&h.shiftKey&&(c.current=!0,f.current&&f.current.focus())},y=()=>{const h=v.current;if(h===null)return;if(!T.hasFocus()||!a()||c.current){c.current=!1;return}if(h.contains(T.activeElement)||n&&T.activeElement!==d.current&&T.activeElement!==f.current)return;if(T.activeElement!==m.current)m.current=null;else if(m.current!==null)return;if(!b.current)return;let O=[];if((T.activeElement===d.current||T.activeElement===f.current)&&(O=i(v.current)),O.length>0){var R,I;const M=!!((R=_.current)!=null&&R.shiftKey&&((I=_.current)==null?void 0:I.key)==="Tab"),F=O[0],D=O[O.length-1];typeof F!="string"&&typeof D!="string"&&(M?D.focus():F.focus())}else h.focus()};T.addEventListener("focusin",y),T.addEventListener("keydown",x,!0);const $=setInterval(()=>{T.activeElement&&T.activeElement.tagName==="BODY"&&y()},50);return()=>{clearInterval($),T.removeEventListener("focusin",y),T.removeEventListener("keydown",x,!0)}},[r,n,o,a,u,i]);const E=T=>{p.current===null&&(p.current=T.relatedTarget),b.current=!0,m.current=T.target;const x=t.props.onFocus;x&&x(T)},C=T=>{p.current===null&&(p.current=T.relatedTarget),b.current=!0};return k.jsxs(S.Fragment,{children:[k.jsx("div",{tabIndex:u?0:-1,onFocus:C,ref:d,"data-testid":"sentinelStart"}),S.cloneElement(t,{ref:l,onFocus:E}),k.jsx("div",{tabIndex:u?0:-1,onFocus:C,ref:f,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(tn.propTypes={children:Kr,disableAutoFocus:s.bool,disableEnforceFocus:s.bool,disableRestoreFocus:s.bool,getTabbable:s.func,isEnabled:s.func,open:s.bool.isRequired}),process.env.NODE_ENV!=="production"&&(tn.propTypes=bu(tn.propTypes));function Vg(e){return typeof e=="function"?e():e}const rn=S.forwardRef(function(t,r){const{children:n,container:o,disablePortal:i=!1}=t,[a,u]=S.useState(null),c=Je(S.isValidElement(n)?to(n):null,r);if($t(()=>{i||u(Vg(o)||document.body)},[o,i]),$t(()=>{if(a&&!i)return Ur(r,a),()=>{Ur(r,null)}},[r,a,i]),i){if(S.isValidElement(n)){const d={ref:c};return S.cloneElement(n,d)}return k.jsx(S.Fragment,{children:n})}return k.jsx(S.Fragment,{children:a&&Jd.createPortal(n,a)})});process.env.NODE_ENV!=="production"&&(rn.propTypes={children:s.node,container:s.oneOfType([_u,s.func]),disablePortal:s.bool}),process.env.NODE_ENV!=="production"&&(rn.propTypes=bu(rn.propTypes));function ao(){const e=Rm(fu);return process.env.NODE_ENV!=="production"&&S.useDebugValue(e),e[pu]||e}const Wg=e=>e.scrollTop;function Yu(e,t){var r,n;const{timeout:o,easing:i,style:a={}}=e;return{duration:(r=a.transitionDuration)!=null?r:typeof o=="number"?o:o[t.mode]||0,easing:(n=a.transitionTimingFunction)!=null?n:typeof i=="object"?i[t.mode]:i,delay:a.transitionDelay}}const Ug=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Gg={entering:{opacity:1},entered:{opacity:1}},so=S.forwardRef(function(t,r){const n=ao(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:u,easing:c,in:d,onEnter:f,onEntered:p,onEntering:m,onExit:b,onExited:v,onExiting:l,style:_,timeout:E=o,TransitionComponent:C=at}=t,T=pe(t,Ug),x=S.useRef(null),y=Je(x,to(u),r),$=L=>B=>{if(L){const q=x.current;B===void 0?L(q):L(q,B)}},h=$(m),O=$((L,B)=>{Wg(L);const q=Yu({style:_,timeout:E,easing:c},{mode:"enter"});L.style.webkitTransition=n.transitions.create("opacity",q),L.style.transition=n.transitions.create("opacity",q),f&&f(L,B)}),R=$(p),I=$(l),M=$(L=>{const B=Yu({style:_,timeout:E,easing:c},{mode:"exit"});L.style.webkitTransition=n.transitions.create("opacity",B),L.style.transition=n.transitions.create("opacity",B),b&&b(L)}),F=$(v),D=L=>{i&&i(x.current,L)};return k.jsx(C,w({appear:a,in:d,nodeRef:x,onEnter:O,onEntered:R,onEntering:h,onExit:M,onExited:F,onExiting:I,addEndListener:D,timeout:E},T,{children:(L,B)=>S.cloneElement(u,w({style:w({opacity:0,visibility:L==="exited"&&!d?"hidden":void 0},Gg[L],_,u.props.style),ref:y},B))}))});process.env.NODE_ENV!=="production"&&(so.propTypes={addEndListener:s.func,appear:s.bool,children:Kr.isRequired,easing:s.oneOfType([s.shape({enter:s.string,exit:s.string}),s.string]),in:s.bool,onEnter:s.func,onEntered:s.func,onEntering:s.func,onExit:s.func,onExited:s.func,onExiting:s.func,style:s.object,timeout:s.oneOfType([s.number,s.shape({appear:s.number,enter:s.number,exit:s.number})])});function Yg(e){return Me("MuiBackdrop",e)}$e("MuiBackdrop",["root","invisible"]);const Hg=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Kg=e=>{const{classes:t,invisible:r}=e;return je({root:["root",r&&"invisible"]},Yg,t)},Xg=xe("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})(({ownerState:e})=>w({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),uo=S.forwardRef(function(t,r){var n,o,i;const a=ke({props:t,name:"MuiBackdrop"}),{children:u,className:c,component:d="div",components:f={},componentsProps:p={},invisible:m=!1,open:b,slotProps:v={},slots:l={},TransitionComponent:_=so,transitionDuration:E}=a,C=pe(a,Hg),T=w({},a,{component:d,invisible:m}),x=Kg(T),y=(n=v.root)!=null?n:p.root;return k.jsx(_,w({in:b,timeout:E},C,{children:k.jsx(Xg,w({"aria-hidden":!0},y,{as:(o=(i=l.root)!=null?i:f.Root)!=null?o:d,className:ne(x.root,c,y==null?void 0:y.className),ownerState:w({},T,y==null?void 0:y.ownerState),classes:x,ref:r,children:u}))}))});process.env.NODE_ENV!=="production"&&(uo.propTypes={children:s.node,classes:s.object,className:s.string,component:s.elementType,components:s.shape({Root:s.elementType}),componentsProps:s.shape({root:s.object}),invisible:s.bool,open:s.bool.isRequired,slotProps:s.shape({root:s.object}),slots:s.shape({root:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),TransitionComponent:s.elementType,transitionDuration:s.oneOfType([s.number,s.shape({appear:s.number,enter:s.number,exit:s.number})])});function Jg(e){return typeof e=="function"?e():e}function Zg(e){return e?e.props.hasOwnProperty("in"):!1}const Qg=new Dg;function ey(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:o=Qg,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:u,children:c,onClose:d,open:f,rootRef:p}=e,m=S.useRef({}),b=S.useRef(null),v=S.useRef(null),l=Je(v,p),[_,E]=S.useState(!f),C=Zg(c);let T=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(T=!1);const x=()=>st(b.current),y=()=>(m.current.modalRef=v.current,m.current.mount=b.current,m.current),$=()=>{o.mount(y(),{disableScrollLock:n}),v.current&&(v.current.scrollTop=0)},h=gt(()=>{const q=Jg(t)||x().body;o.add(y(),q),v.current&&$()}),O=S.useCallback(()=>o.isTopModal(y()),[o]),R=gt(q=>{b.current=q,q&&(f&&O()?$():v.current&&ur(v.current,T))}),I=S.useCallback(()=>{o.remove(y(),T)},[T,o]);S.useEffect(()=>()=>{I()},[I]),S.useEffect(()=>{f?h():(!C||!i)&&I()},[f,I,C,i,h]);const M=q=>G=>{var Z;(Z=q.onKeyDown)==null||Z.call(q,G),!(G.key!=="Escape"||G.which===229||!O())&&(r||(G.stopPropagation(),d&&d(G,"escapeKeyDown")))},F=q=>G=>{var Z;(Z=q.onClick)==null||Z.call(q,G),G.target===G.currentTarget&&d&&d(G,"backdropClick")};return{getRootProps:(q={})=>{const G=Cu(e);delete G.onTransitionEnter,delete G.onTransitionExited;const Z=w({},G,q);return w({role:"presentation"},Z,{onKeyDown:M(Z),ref:l})},getBackdropProps:(q={})=>{const G=q;return w({"aria-hidden":!0},G,{onClick:F(G),open:f})},getTransitionProps:()=>{const q=()=>{E(!1),a&&a()},G=()=>{E(!0),u&&u(),i&&I()};return{onEnter:Jn(q,c==null?void 0:c.props.onEnter),onExited:Jn(G,c==null?void 0:c.props.onExited)}},rootRef:l,portalRef:R,isTopModal:O,exited:_,hasTransition:C}}function ty(e){return Me("MuiModal",e)}$e("MuiModal",["root","hidden","backdrop"]);const ry=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],ny=e=>{const{open:t,exited:r,classes:n}=e;return je({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},ty,n)},oy=xe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(({theme:e,ownerState:t})=>w({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),iy=xe(uo,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Hu=S.forwardRef(function(t,r){var n,o,i,a,u,c;const d=ke({name:"MuiModal",props:t}),{BackdropComponent:f=iy,BackdropProps:p,className:m,closeAfterTransition:b=!1,children:v,container:l,component:_,components:E={},componentsProps:C={},disableAutoFocus:T=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:y=!1,disablePortal:$=!1,disableRestoreFocus:h=!1,disableScrollLock:O=!1,hideBackdrop:R=!1,keepMounted:I=!1,onBackdropClick:M,open:F,slotProps:D,slots:L}=d,B=pe(d,ry),q=w({},d,{closeAfterTransition:b,disableAutoFocus:T,disableEnforceFocus:x,disableEscapeKeyDown:y,disablePortal:$,disableRestoreFocus:h,disableScrollLock:O,hideBackdrop:R,keepMounted:I}),{getRootProps:G,getBackdropProps:Z,getTransitionProps:Pe,portalRef:A,isTopModal:j,exited:Q,hasTransition:X}=ey(w({},q,{rootRef:r})),V=w({},q,{exited:Q}),H=ny(V),Y={};if(v.props.tabIndex===void 0&&(Y.tabIndex="-1"),X){const{onEnter:ge,onExited:ie}=Pe();Y.onEnter=ge,Y.onExited=ie}const K=(n=(o=L==null?void 0:L.root)!=null?o:E.Root)!=null?n:oy,W=(i=(a=L==null?void 0:L.backdrop)!=null?a:E.Backdrop)!=null?i:f,U=(u=D==null?void 0:D.root)!=null?u:C.root,J=(c=D==null?void 0:D.backdrop)!=null?c:C.backdrop,be=Pu({elementType:K,externalSlotProps:U,externalForwardedProps:B,getSlotProps:G,additionalProps:{ref:r,as:_},ownerState:V,className:ne(m,U==null?void 0:U.className,H==null?void 0:H.root,!V.open&&V.exited&&(H==null?void 0:H.hidden))}),P=Pu({elementType:W,externalSlotProps:J,additionalProps:p,getSlotProps:ge=>Z(w({},ge,{onClick:ie=>{M&&M(ie),ge!=null&&ge.onClick&&ge.onClick(ie)}})),className:ne(J==null?void 0:J.className,p==null?void 0:p.className,H==null?void 0:H.backdrop),ownerState:V});return!I&&!F&&(!X||Q)?null:k.jsx(rn,{ref:A,container:l,disablePortal:$,children:k.jsxs(K,w({},be,{children:[!R&&f?k.jsx(W,w({},P)):null,k.jsx(tn,{disableEnforceFocus:x,disableAutoFocus:T,disableRestoreFocus:h,isEnabled:j,open:F,children:S.cloneElement(v,Y)})]}))})});process.env.NODE_ENV!=="production"&&(Hu.propTypes={BackdropComponent:s.elementType,BackdropProps:s.object,children:Kr.isRequired,classes:s.object,className:s.string,closeAfterTransition:s.bool,component:s.elementType,components:s.shape({Backdrop:s.elementType,Root:s.elementType}),componentsProps:s.shape({backdrop:s.oneOfType([s.func,s.object]),root:s.oneOfType([s.func,s.object])}),container:s.oneOfType([_u,s.func]),disableAutoFocus:s.bool,disableEnforceFocus:s.bool,disableEscapeKeyDown:s.bool,disablePortal:s.bool,disableRestoreFocus:s.bool,disableScrollLock:s.bool,hideBackdrop:s.bool,keepMounted:s.bool,onBackdropClick:s.func,onClose:s.func,onTransitionEnter:s.func,onTransitionExited:s.func,open:s.bool.isRequired,slotProps:s.shape({backdrop:s.oneOfType([s.func,s.object]),root:s.oneOfType([s.func,s.object])}),slots:s.shape({backdrop:s.elementType,root:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});const Ku=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function ay(e){return Me("MuiPaper",e)}$e("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"]);const sy=["className","component","elevation","square","variant"],uy=e=>{const{square:t,elevation:r,variant:n,classes:o}=e,i={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return je(i,ay,o)},cy=xe("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;return w({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},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&w({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Ne.alpha("#fff",Ku(t.elevation))}, ${Ne.alpha("#fff",Ku(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),co=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:a=1,square:u=!1,variant:c="elevation"}=n,d=pe(n,sy),f=w({},n,{component:i,elevation:a,square:u,variant:c}),p=uy(f);return process.env.NODE_ENV!=="production"&&ao().shadows[a]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${a}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${a}]\` is defined.`].join(`
187
+ `)),k.jsx(cy,w({as:i,ownerState:f,className:ne(p.root,o),ref:r},d))});process.env.NODE_ENV!=="production"&&(co.propTypes={children:s.node,classes:s.object,className:s.string,component:s.elementType,elevation:or(qm,e=>{const{elevation:t,variant:r}=e;return t>0&&r==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${r}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),variant:s.oneOfType([s.oneOf(["elevation","outlined"]),s.string])});function ly(e){return Me("MuiDialog",e)}const lo=$e("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),fo=S.createContext({});process.env.NODE_ENV!=="production"&&(fo.displayName="DialogContext");const dy=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],fy=xe(uo,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),py=e=>{const{classes:t,scroll:r,maxWidth:n,fullWidth:o,fullScreen:i}=e,a={root:["root"],container:["container",`scroll${me(r)}`],paper:["paper",`paperScroll${me(r)}`,`paperWidth${me(String(n))}`,o&&"paperFullWidth",i&&"paperFullScreen"]};return je(a,ly,t)},hy=xe(Hu,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),my=xe("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.container,t[`scroll${me(r.scroll)}`]]}})(({ownerState:e})=>w({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),gy=xe(co,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`scrollPaper${me(r.scroll)}`],t[`paperWidth${me(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>w({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${lo.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${lo.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${lo.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),Xu=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiDialog"}),o=ao(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":u,BackdropComponent:c,BackdropProps:d,children:f,className:p,disableEscapeKeyDown:m=!1,fullScreen:b=!1,fullWidth:v=!1,maxWidth:l="sm",onBackdropClick:_,onClick:E,onClose:C,open:T,PaperComponent:x=co,PaperProps:y={},scroll:$="paper",TransitionComponent:h=so,transitionDuration:O=i,TransitionProps:R}=n,I=pe(n,dy),M=w({},n,{disableEscapeKeyDown:m,fullScreen:b,fullWidth:v,maxWidth:l,scroll:$}),F=py(M),D=S.useRef(),L=Z=>{D.current=Z.target===Z.currentTarget},B=Z=>{E&&E(Z),D.current&&(D.current=null,_&&_(Z),C&&C(Z,"backdropClick"))},q=Tu(u),G=S.useMemo(()=>({titleId:q}),[q]);return k.jsx(hy,w({className:ne(F.root,p),closeAfterTransition:!0,components:{Backdrop:fy},componentsProps:{backdrop:w({transitionDuration:O,as:c},d)},disableEscapeKeyDown:m,onClose:C,open:T,ref:r,onClick:B,ownerState:M},I,{children:k.jsx(h,w({appear:!0,in:T,timeout:O,role:"presentation"},R,{children:k.jsx(my,{className:ne(F.container),onMouseDown:L,ownerState:M,children:k.jsx(gy,w({as:x,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":q},y,{className:ne(F.paper,y.className),ownerState:M,children:k.jsx(fo.Provider,{value:G,children:f})}))})}))}))});process.env.NODE_ENV!=="production"&&(Xu.propTypes={"aria-describedby":s.string,"aria-labelledby":s.string,BackdropComponent:s.elementType,BackdropProps:s.object,children:s.node,classes:s.object,className:s.string,disableEscapeKeyDown:s.bool,fullScreen:s.bool,fullWidth:s.bool,maxWidth:s.oneOfType([s.oneOf(["xs","sm","md","lg","xl",!1]),s.string]),onBackdropClick:s.func,onClick:s.func,onClose:s.func,open:s.bool.isRequired,PaperComponent:s.elementType,PaperProps:s.object,scroll:s.oneOf(["body","paper"]),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),TransitionComponent:s.elementType,transitionDuration:s.oneOfType([s.number,s.shape({appear:s.number,enter:s.number,exit:s.number})]),TransitionProps:s.object});function yy(e){return Me("MuiDialogTitle",e)}$e("MuiDialogTitle",["root"]);const vy=["className","id"],by=e=>{const{classes:t}=e;return je({root:["root"]},yy,t)},_y=xe(nt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),Ju=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiDialogTitle"}),{className:o,id:i}=n,a=pe(n,vy),u=n,c=by(u),{titleId:d=i}=S.useContext(fo);return k.jsx(_y,w({component:"h2",className:ne(c.root,o),ownerState:u,ref:r,variant:"h6",id:i??d},a))});process.env.NODE_ENV!=="production"&&(Ju.propTypes={children:s.node,classes:s.object,className:s.string,id:s.string,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function xy(e){return Me("MuiDialogActions",e)}$e("MuiDialogActions",["root","spacing"]);const Ey=["className","disableSpacing"],Ty=e=>{const{classes:t,disableSpacing:r}=e;return je({root:["root",!r&&"spacing"]},xy,t)},Sy=xe("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})(({ownerState:e})=>w({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),Zu=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiDialogActions"}),{className:o,disableSpacing:i=!1}=n,a=pe(n,Ey),u=w({},n,{disableSpacing:i}),c=Ty(u);return k.jsx(Sy,w({className:ne(c.root,o),ownerState:u,ref:r},a))});process.env.NODE_ENV!=="production"&&(Zu.propTypes={children:s.node,classes:s.object,className:s.string,disableSpacing:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function Ry(e){return Me("MuiButton",e)}const nn=$e("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"]),Qu=S.createContext({});process.env.NODE_ENV!=="production"&&(Qu.displayName="ButtonGroupContext");const ec=S.createContext(void 0);process.env.NODE_ENV!=="production"&&(ec.displayName="ButtonGroupButtonContext");const Cy=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Oy=e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e,u={root:["root",i,`${i}${me(t)}`,`size${me(o)}`,`${i}Size${me(o)}`,`color${me(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${me(o)}`],endIcon:["icon","endIcon",`iconSize${me(o)}`]},c=je(u,Ry,a);return w({},a,c)},tc=e=>w({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),Py=xe(Zr,{shouldForwardProp:e=>zn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${me(r.color)}`],t[`size${me(r.size)}`],t[`${r.variant}Size${me(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return w({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":w({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne.alpha(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":w({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${nn.focusVisible}`]:w({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${nn.disabled}`]:w({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Ne.alpha(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${nn.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${nn.disabled}`]:{boxShadow:"none"}}),wy=xe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${me(r.size)}`]]}})(({ownerState:e})=>w({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},tc(e))),Iy=xe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${me(r.size)}`]]}})(({ownerState:e})=>w({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},tc(e))),rc=S.forwardRef(function(t,r){const n=S.useContext(Qu),o=S.useContext(ec),i=Wr(n,t),a=ke({props:i,name:"MuiButton"}),{children:u,color:c="primary",component:d="button",className:f,disabled:p=!1,disableElevation:m=!1,disableFocusRipple:b=!1,endIcon:v,focusVisibleClassName:l,fullWidth:_=!1,size:E="medium",startIcon:C,type:T,variant:x="text"}=a,y=pe(a,Cy),$=w({},a,{color:c,component:d,disabled:p,disableElevation:m,disableFocusRipple:b,fullWidth:_,size:E,type:T,variant:x}),h=Oy($),O=C&&k.jsx(wy,{className:h.startIcon,ownerState:$,children:C}),R=v&&k.jsx(Iy,{className:h.endIcon,ownerState:$,children:v}),I=o||"";return k.jsxs(Py,w({ownerState:$,className:ne(n.className,h.root,f,I),component:d,disabled:p,focusRipple:!b,focusVisibleClassName:ne(h.focusVisible,l),ref:r,type:T},y,{classes:h,children:[O,u,R]}))});process.env.NODE_ENV!=="production"&&(rc.propTypes={children:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["inherit","primary","secondary","success","error","info","warning"]),s.string]),component:s.elementType,disabled:s.bool,disableElevation:s.bool,disableFocusRipple:s.bool,disableRipple:s.bool,endIcon:s.node,focusVisibleClassName:s.string,fullWidth:s.bool,href:s.string,size:s.oneOfType([s.oneOf(["small","medium","large"]),s.string]),startIcon:s.node,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),type:s.oneOfType([s.oneOf(["button","reset","submit"]),s.string]),variant:s.oneOfType([s.oneOf(["contained","outlined","text"]),s.string])});function $y(e){return Me("MuiList",e)}$e("MuiList",["root","padding","dense","subheader"]);const Ay=["children","className","component","dense","disablePadding","subheader"],My=e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return je({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},$y,t)},Ny=xe("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})(({ownerState:e})=>w({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),po=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:u=!1,disablePadding:c=!1,subheader:d}=n,f=pe(n,Ay),p=S.useMemo(()=>({dense:u}),[u]),m=w({},n,{component:a,dense:u,disablePadding:c}),b=My(m);return k.jsx(rt.Provider,{value:p,children:k.jsxs(Ny,w({as:a,className:ne(b.root,i),ref:r,ownerState:m},f,{children:[d,o]}))})});process.env.NODE_ENV!=="production"&&(po.propTypes={children:s.node,classes:s.object,className:s.string,component:s.elementType,dense:s.bool,disablePadding:s.bool,subheader:s.node,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function ky(e){return Me("MuiLink",e)}const Dy=$e("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),nc={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},jy=e=>nc[e]||e,qy=({theme:e,ownerState:t})=>{const r=jy(t.color),n=St(e,`palette.${r}`,!1)||t.color,o=St(e,`palette.${r}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:Ne.alpha(n,.4)},Ly=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],Fy=e=>{const{classes:t,component:r,focusVisible:n,underline:o}=e,i={root:["root",`underline${me(o)}`,r==="button"&&"button",n&&"focusVisible"]};return je(i,ky,t)},By=xe(nt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`underline${me(r.underline)}`],r.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>w({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&w({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:qy({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Dy.focusVisible}`]:{outline:"auto"}})),Nt=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiLink"}),{className:o,color:i="primary",component:a="a",onBlur:u,onFocus:c,TypographyClasses:d,underline:f="always",variant:p="inherit",sx:m}=n,b=pe(n,Ly),{isFocusVisibleRef:v,onBlur:l,onFocus:_,ref:E}=Gn(),[C,T]=S.useState(!1),x=Je(r,E),y=R=>{l(R),v.current===!1&&T(!1),u&&u(R)},$=R=>{_(R),v.current===!0&&T(!0),c&&c(R)},h=w({},n,{color:i,component:a,focusVisible:C,underline:f,variant:p}),O=Fy(h);return k.jsx(By,w({color:i,className:ne(O.root,o),classes:d,component:a,onBlur:y,onFocus:$,ref:x,ownerState:h,variant:p,sx:[...Object.keys(nc).includes(i)?[]:[{color:i}],...Array.isArray(m)?m:[m]]},b))});process.env.NODE_ENV!=="production"&&(Nt.propTypes={children:s.node,classes:s.object,className:s.string,color:s.any,component:Vn,onBlur:s.func,onFocus:s.func,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),TypographyClasses:s.object,underline:s.oneOf(["always","hover","none"]),variant:s.oneOfType([s.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),s.string])});function zy(e){return Me("MuiListItem",e)}const kt=$e("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),Vy=$e("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function Wy(e){return Me("MuiListItemSecondaryAction",e)}$e("MuiListItemSecondaryAction",["root","disableGutters"]);const Uy=["className"],Gy=e=>{const{disableGutters:t,classes:r}=e;return je({root:["root",t&&"disableGutters"]},Wy,r)},Yy=xe("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.disableGutters&&t.disableGutters]}})(({ownerState:e})=>w({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),ho=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiListItemSecondaryAction"}),{className:o}=n,i=pe(n,Uy),a=S.useContext(rt),u=w({},n,{disableGutters:a.disableGutters}),c=Gy(u);return k.jsx(Yy,w({className:ne(c.root,o),ownerState:u,ref:r},i))});process.env.NODE_ENV!=="production"&&(ho.propTypes={children:s.node,classes:s.object,className:s.string,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])}),ho.muiName="ListItemSecondaryAction";const Hy=["className"],Ky=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Xy=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.alignItems==="flex-start"&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters,!r.disablePadding&&t.padding,r.button&&t.button,r.hasSecondaryAction&&t.secondaryAction]},Jy=e=>{const{alignItems:t,button:r,classes:n,dense:o,disabled:i,disableGutters:a,disablePadding:u,divider:c,hasSecondaryAction:d,selected:f}=e;return je({root:["root",o&&"dense",!a&&"gutters",!u&&"padding",c&&"divider",i&&"disabled",r&&"button",t==="flex-start"&&"alignItemsFlexStart",d&&"secondaryAction",f&&"selected"],container:["container"]},zy,n)},Zy=xe("div",{name:"MuiListItem",slot:"Root",overridesResolver:Xy})(({theme:e,ownerState:t})=>w({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&w({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Vy.root}`]:{paddingRight:48}},{[`&.${kt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${kt.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ne.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${kt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ne.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${kt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.alignItems==="flex-start"&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${kt.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ne.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ne.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),Qy=xe("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Dt=S.forwardRef(function(t,r){const n=ke({props:t,name:"MuiListItem"}),{alignItems:o="center",autoFocus:i=!1,button:a=!1,children:u,className:c,component:d,components:f={},componentsProps:p={},ContainerComponent:m="li",ContainerProps:{className:b}={},dense:v=!1,disabled:l=!1,disableGutters:_=!1,disablePadding:E=!1,divider:C=!1,focusVisibleClassName:T,secondaryAction:x,selected:y=!1,slotProps:$={},slots:h={}}=n,O=pe(n.ContainerProps,Hy),R=pe(n,Ky),I=S.useContext(rt),M=S.useMemo(()=>({dense:v||I.dense||!1,alignItems:o,disableGutters:_}),[o,I.dense,v,_]),F=S.useRef(null);$t(()=>{i&&(F.current?F.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a ListItem whose component has not been rendered."))},[i]);const D=S.Children.toArray(u),L=D.length&&Zn(D[D.length-1],["ListItemSecondaryAction"]),B=w({},n,{alignItems:o,autoFocus:i,button:a,dense:M.dense,disabled:l,disableGutters:_,disablePadding:E,divider:C,hasSecondaryAction:L,selected:y}),q=Jy(B),G=Je(F,r),Z=h.root||f.Root||Zy,Pe=$.root||p.root||{},A=w({className:ne(q.root,Pe.className,c),disabled:l},R);let j=d||"li";return a&&(A.component=d||"div",A.focusVisibleClassName=ne(kt.focusVisible,T),j=Zr),L?(j=!A.component&&!d?"div":j,m==="li"&&(j==="li"?j="div":A.component==="li"&&(A.component="div")),k.jsx(rt.Provider,{value:M,children:k.jsxs(Qy,w({as:m,className:ne(q.container,b),ref:G,ownerState:B},O,{children:[k.jsx(Z,w({},Pe,!eo(Z)&&{as:j,ownerState:w({},B,Pe.ownerState)},A,{children:D})),D.pop()]}))})):k.jsx(rt.Provider,{value:M,children:k.jsxs(Z,w({},Pe,{as:j,ref:G},!eo(Z)&&{ownerState:w({},B,Pe.ownerState)},A,{children:[D,x&&k.jsx(ho,{children:x})]}))})});process.env.NODE_ENV!=="production"&&(Dt.propTypes={alignItems:s.oneOf(["center","flex-start"]),autoFocus:s.bool,button:s.bool,children:or(s.node,e=>{const t=S.Children.toArray(e.children);let r=-1;for(let n=t.length-1;n>=0;n-=1){const o=t[n];if(Zn(o,["ListItemSecondaryAction"])){r=n;break}}return r!==-1&&r!==t.length-1?new Error("MUI: You used an element after ListItemSecondaryAction. For ListItem to detect that it has a secondary action you must pass it as the last child to ListItem."):null}),classes:s.object,className:s.string,component:s.elementType,components:s.shape({Root:s.elementType}),componentsProps:s.shape({root:s.object}),ContainerComponent:Vn,ContainerProps:s.object,dense:s.bool,disabled:s.bool,disableGutters:s.bool,disablePadding:s.bool,divider:s.bool,focusVisibleClassName:s.string,secondaryAction:s.node,selected:s.bool,slotProps:s.shape({root:s.object}),slots:s.shape({root:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});class mo extends ae.Component{render(){const{rendering:t}=this.props;return k.jsx(Dt,{disableGutters:!0,divider:!0,children:k.jsxs(no,{primaryTypographyProps:{variant:"body1"},children:[k.jsx(Nt,{href:t.id,download:!0,rel:"noopener noreferrer",target:"_blank",variant:"body1",children:t.getLabel().getValue()}),t.getFormat()&&t.getFormat().value&&` (${t.getFormat().value})`]})},t.id)}}mo.propTypes={rendering:s.shape({id:s.string.isRequired,getLabel:s.func.isRequired,getFormat:s.func.isRequired}).isRequired};function oc({renderings:e}){const{t}=Xe.useTranslation();return k.jsxs(k.Fragment,{children:[k.jsx(nt,{variant:"h3",sx:{marginTop:"20px"},children:t("mirador-dl-plugin.other_download")}),k.jsx(po,{children:e.map(r=>k.jsx(mo,{rendering:r},r.id))})]})}oc.propTypes={renderings:s.array.isRequired};var go,ic;function ev(){if(ic)return go;ic=1;function e(){this.__data__=[],this.size=0}return go=e,go}var yo,ac;function sc(){if(ac)return yo;ac=1;function e(t,r){return t===r||t!==t&&r!==r}return yo=e,yo}var vo,uc;function on(){if(uc)return vo;uc=1;var e=sc();function t(r,n){for(var o=r.length;o--;)if(e(r[o][0],n))return o;return-1}return vo=t,vo}var bo,cc;function tv(){if(cc)return bo;cc=1;var e=on(),t=Array.prototype,r=t.splice;function n(o){var i=this.__data__,a=e(i,o);if(a<0)return!1;var u=i.length-1;return a==u?i.pop():r.call(i,a,1),--this.size,!0}return bo=n,bo}var _o,lc;function rv(){if(lc)return _o;lc=1;var e=on();function t(r){var n=this.__data__,o=e(n,r);return o<0?void 0:n[o][1]}return _o=t,_o}var xo,dc;function nv(){if(dc)return xo;dc=1;var e=on();function t(r){return e(this.__data__,r)>-1}return xo=t,xo}var Eo,fc;function ov(){if(fc)return Eo;fc=1;var e=on();function t(r,n){var o=this.__data__,i=e(o,r);return i<0?(++this.size,o.push([r,n])):o[i][1]=n,this}return Eo=t,Eo}var To,pc;function an(){if(pc)return To;pc=1;var e=ev(),t=tv(),r=rv(),n=nv(),o=ov();function i(a){var u=-1,c=a==null?0:a.length;for(this.clear();++u<c;){var d=a[u];this.set(d[0],d[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,To=i,To}var So,hc;function iv(){if(hc)return So;hc=1;var e=an();function t(){this.__data__=new e,this.size=0}return So=t,So}var Ro,mc;function av(){if(mc)return Ro;mc=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return Ro=e,Ro}var Co,gc;function sv(){if(gc)return Co;gc=1;function e(t){return this.__data__.get(t)}return Co=e,Co}var Oo,yc;function uv(){if(yc)return Oo;yc=1;function e(t){return this.__data__.has(t)}return Oo=e,Oo}var Po,vc;function bc(){if(vc)return Po;vc=1;var e=typeof vr=="object"&&vr&&vr.Object===Object&&vr;return Po=e,Po}var wo,_c;function ut(){if(_c)return wo;_c=1;var e=bc(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return wo=r,wo}var Io,xc;function sn(){if(xc)return Io;xc=1;var e=ut(),t=e.Symbol;return Io=t,Io}var $o,Ec;function cv(){if(Ec)return $o;Ec=1;var e=sn(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,o=e?e.toStringTag:void 0;function i(a){var u=r.call(a,o),c=a[o];try{a[o]=void 0;var d=!0}catch{}var f=n.call(a);return d&&(u?a[o]=c:delete a[o]),f}return $o=i,$o}var Ao,Tc;function lv(){if(Tc)return Ao;Tc=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return Ao=r,Ao}var Mo,Sc;function cr(){if(Sc)return Mo;Sc=1;var e=sn(),t=cv(),r=lv(),n="[object Null]",o="[object Undefined]",i=e?e.toStringTag:void 0;function a(u){return u==null?u===void 0?o:n:i&&i in Object(u)?t(u):r(u)}return Mo=a,Mo}var No,Rc;function ko(){if(Rc)return No;Rc=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return No=e,No}var Do,Cc;function Oc(){if(Cc)return Do;Cc=1;var e=cr(),t=ko(),r="[object AsyncFunction]",n="[object Function]",o="[object GeneratorFunction]",i="[object Proxy]";function a(u){if(!t(u))return!1;var c=e(u);return c==n||c==o||c==r||c==i}return Do=a,Do}var jo,Pc;function dv(){if(Pc)return jo;Pc=1;var e=ut(),t=e["__core-js_shared__"];return jo=t,jo}var qo,wc;function fv(){if(wc)return qo;wc=1;var e=dv(),t=function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function r(n){return!!t&&t in n}return qo=r,qo}var Lo,Ic;function $c(){if(Ic)return Lo;Ic=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return Lo=r,Lo}var Fo,Ac;function pv(){if(Ac)return Fo;Ac=1;var e=Oc(),t=fv(),r=ko(),n=$c(),o=/[\\^$.*+?()[\]{}|]/g,i=/^\[object .+?Constructor\]$/,a=Function.prototype,u=Object.prototype,c=a.toString,d=u.hasOwnProperty,f=RegExp("^"+c.call(d).replace(o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(m){if(!r(m)||t(m))return!1;var b=e(m)?f:i;return b.test(n(m))}return Fo=p,Fo}var Bo,Mc;function hv(){if(Mc)return Bo;Mc=1;function e(t,r){return t==null?void 0:t[r]}return Bo=e,Bo}var zo,Nc;function jt(){if(Nc)return zo;Nc=1;var e=pv(),t=hv();function r(n,o){var i=t(n,o);return e(i)?i:void 0}return zo=r,zo}var Vo,kc;function Wo(){if(kc)return Vo;kc=1;var e=jt(),t=ut(),r=e(t,"Map");return Vo=r,Vo}var Uo,Dc;function un(){if(Dc)return Uo;Dc=1;var e=jt(),t=e(Object,"create");return Uo=t,Uo}var Go,jc;function mv(){if(jc)return Go;jc=1;var e=un();function t(){this.__data__=e?e(null):{},this.size=0}return Go=t,Go}var Yo,qc;function gv(){if(qc)return Yo;qc=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return Yo=e,Yo}var Ho,Lc;function yv(){if(Lc)return Ho;Lc=1;var e=un(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function o(i){var a=this.__data__;if(e){var u=a[i];return u===t?void 0:u}return n.call(a,i)?a[i]:void 0}return Ho=o,Ho}var Ko,Fc;function vv(){if(Fc)return Ko;Fc=1;var e=un(),t=Object.prototype,r=t.hasOwnProperty;function n(o){var i=this.__data__;return e?i[o]!==void 0:r.call(i,o)}return Ko=n,Ko}var Xo,Bc;function bv(){if(Bc)return Xo;Bc=1;var e=un(),t="__lodash_hash_undefined__";function r(n,o){var i=this.__data__;return this.size+=this.has(n)?0:1,i[n]=e&&o===void 0?t:o,this}return Xo=r,Xo}var Jo,zc;function _v(){if(zc)return Jo;zc=1;var e=mv(),t=gv(),r=yv(),n=vv(),o=bv();function i(a){var u=-1,c=a==null?0:a.length;for(this.clear();++u<c;){var d=a[u];this.set(d[0],d[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,Jo=i,Jo}var Zo,Vc;function xv(){if(Vc)return Zo;Vc=1;var e=_v(),t=an(),r=Wo();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return Zo=n,Zo}var Qo,Wc;function Ev(){if(Wc)return Qo;Wc=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return Qo=e,Qo}var ei,Uc;function cn(){if(Uc)return ei;Uc=1;var e=Ev();function t(r,n){var o=r.__data__;return e(n)?o[typeof n=="string"?"string":"hash"]:o.map}return ei=t,ei}var ti,Gc;function Tv(){if(Gc)return ti;Gc=1;var e=cn();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return ti=t,ti}var ri,Yc;function Sv(){if(Yc)return ri;Yc=1;var e=cn();function t(r){return e(this,r).get(r)}return ri=t,ri}var ni,Hc;function Rv(){if(Hc)return ni;Hc=1;var e=cn();function t(r){return e(this,r).has(r)}return ni=t,ni}var oi,Kc;function Cv(){if(Kc)return oi;Kc=1;var e=cn();function t(r,n){var o=e(this,r),i=o.size;return o.set(r,n),this.size+=o.size==i?0:1,this}return oi=t,oi}var ii,Xc;function ai(){if(Xc)return ii;Xc=1;var e=xv(),t=Tv(),r=Sv(),n=Rv(),o=Cv();function i(a){var u=-1,c=a==null?0:a.length;for(this.clear();++u<c;){var d=a[u];this.set(d[0],d[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,ii=i,ii}var si,Jc;function Ov(){if(Jc)return si;Jc=1;var e=an(),t=Wo(),r=ai(),n=200;function o(i,a){var u=this.__data__;if(u instanceof e){var c=u.__data__;if(!t||c.length<n-1)return c.push([i,a]),this.size=++u.size,this;u=this.__data__=new r(c)}return u.set(i,a),this.size=u.size,this}return si=o,si}var ui,Zc;function Qc(){if(Zc)return ui;Zc=1;var e=an(),t=iv(),r=av(),n=sv(),o=uv(),i=Ov();function a(u){var c=this.__data__=new e(u);this.size=c.size}return a.prototype.clear=t,a.prototype.delete=r,a.prototype.get=n,a.prototype.has=o,a.prototype.set=i,ui=a,ui}var ci,el;function Pv(){if(el)return ci;el=1;var e="__lodash_hash_undefined__";function t(r){return this.__data__.set(r,e),this}return ci=t,ci}var li,tl;function wv(){if(tl)return li;tl=1;function e(t){return this.__data__.has(t)}return li=e,li}var di,rl;function nl(){if(rl)return di;rl=1;var e=ai(),t=Pv(),r=wv();function n(o){var i=-1,a=o==null?0:o.length;for(this.__data__=new e;++i<a;)this.add(o[i])}return n.prototype.add=n.prototype.push=t,n.prototype.has=r,di=n,di}var fi,ol;function Iv(){if(ol)return fi;ol=1;function e(t,r){for(var n=-1,o=t==null?0:t.length;++n<o;)if(r(t[n],n,t))return!0;return!1}return fi=e,fi}var pi,il;function al(){if(il)return pi;il=1;function e(t,r){return t.has(r)}return pi=e,pi}var hi,sl;function ul(){if(sl)return hi;sl=1;var e=nl(),t=Iv(),r=al(),n=1,o=2;function i(a,u,c,d,f,p){var m=c&n,b=a.length,v=u.length;if(b!=v&&!(m&&v>b))return!1;var l=p.get(a),_=p.get(u);if(l&&_)return l==u&&_==a;var E=-1,C=!0,T=c&o?new e:void 0;for(p.set(a,u),p.set(u,a);++E<b;){var x=a[E],y=u[E];if(d)var $=m?d(y,x,E,u,a,p):d(x,y,E,a,u,p);if($!==void 0){if($)continue;C=!1;break}if(T){if(!t(u,function(h,O){if(!r(T,O)&&(x===h||f(x,h,c,d,p)))return T.push(O)})){C=!1;break}}else if(!(x===y||f(x,y,c,d,p))){C=!1;break}}return p.delete(a),p.delete(u),C}return hi=i,hi}var mi,cl;function $v(){if(cl)return mi;cl=1;var e=ut(),t=e.Uint8Array;return mi=t,mi}var gi,ll;function Av(){if(ll)return gi;ll=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(o,i){n[++r]=[i,o]}),n}return gi=e,gi}var yi,dl;function vi(){if(dl)return yi;dl=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(o){n[++r]=o}),n}return yi=e,yi}var bi,fl;function Mv(){if(fl)return bi;fl=1;var e=sn(),t=$v(),r=sc(),n=ul(),o=Av(),i=vi(),a=1,u=2,c="[object Boolean]",d="[object Date]",f="[object Error]",p="[object Map]",m="[object Number]",b="[object RegExp]",v="[object Set]",l="[object String]",_="[object Symbol]",E="[object ArrayBuffer]",C="[object DataView]",T=e?e.prototype:void 0,x=T?T.valueOf:void 0;function y($,h,O,R,I,M,F){switch(O){case C:if($.byteLength!=h.byteLength||$.byteOffset!=h.byteOffset)return!1;$=$.buffer,h=h.buffer;case E:return!($.byteLength!=h.byteLength||!M(new t($),new t(h)));case c:case d:case m:return r(+$,+h);case f:return $.name==h.name&&$.message==h.message;case b:case l:return $==h+"";case p:var D=o;case v:var L=R&a;if(D||(D=i),$.size!=h.size&&!L)return!1;var B=F.get($);if(B)return B==h;R|=u,F.set($,h);var q=n(D($),D(h),R,I,M,F);return F.delete($),q;case _:if(x)return x.call($)==x.call(h)}return!1}return bi=y,bi}var _i,pl;function Nv(){if(pl)return _i;pl=1;function e(t,r){for(var n=-1,o=r.length,i=t.length;++n<o;)t[i+n]=r[n];return t}return _i=e,_i}var xi,hl;function ft(){if(hl)return xi;hl=1;var e=Array.isArray;return xi=e,xi}var Ei,ml;function kv(){if(ml)return Ei;ml=1;var e=Nv(),t=ft();function r(n,o,i){var a=o(n);return t(n)?a:e(a,i(n))}return Ei=r,Ei}var Ti,gl;function Dv(){if(gl)return Ti;gl=1;function e(t,r){for(var n=-1,o=t==null?0:t.length,i=0,a=[];++n<o;){var u=t[n];r(u,n,t)&&(a[i++]=u)}return a}return Ti=e,Ti}var Si,yl;function jv(){if(yl)return Si;yl=1;function e(){return[]}return Si=e,Si}var Ri,vl;function qv(){if(vl)return Ri;vl=1;var e=Dv(),t=jv(),r=Object.prototype,n=r.propertyIsEnumerable,o=Object.getOwnPropertySymbols,i=o?function(a){return a==null?[]:(a=Object(a),e(o(a),function(u){return n.call(a,u)}))}:t;return Ri=i,Ri}var Ci,bl;function Lv(){if(bl)return Ci;bl=1;function e(t,r){for(var n=-1,o=Array(t);++n<t;)o[n]=r(n);return o}return Ci=e,Ci}var Oi,_l;function lr(){if(_l)return Oi;_l=1;function e(t){return t!=null&&typeof t=="object"}return Oi=e,Oi}var Pi,xl;function Fv(){if(xl)return Pi;xl=1;var e=cr(),t=lr(),r="[object Arguments]";function n(o){return t(o)&&e(o)==r}return Pi=n,Pi}var wi,El;function Tl(){if(El)return wi;El=1;var e=Fv(),t=lr(),r=Object.prototype,n=r.hasOwnProperty,o=r.propertyIsEnumerable,i=e(function(){return arguments}())?e:function(a){return t(a)&&n.call(a,"callee")&&!o.call(a,"callee")};return wi=i,wi}var dr={exports:{}},Ii,Sl;function Bv(){if(Sl)return Ii;Sl=1;function e(){return!1}return Ii=e,Ii}dr.exports;var Rl;function Cl(){return Rl||(Rl=1,function(e,t){var r=ut(),n=Bv(),o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,u=a?r.Buffer:void 0,c=u?u.isBuffer:void 0,d=c||n;e.exports=d}(dr,dr.exports)),dr.exports}var $i,Ol;function Pl(){if(Ol)return $i;Ol=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,o){var i=typeof n;return o=o??e,!!o&&(i=="number"||i!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<o}return $i=r,$i}var Ai,wl;function Mi(){if(wl)return Ai;wl=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return Ai=t,Ai}var Ni,Il;function zv(){if(Il)return Ni;Il=1;var e=cr(),t=Mi(),r=lr(),n="[object Arguments]",o="[object Array]",i="[object Boolean]",a="[object Date]",u="[object Error]",c="[object Function]",d="[object Map]",f="[object Number]",p="[object Object]",m="[object RegExp]",b="[object Set]",v="[object String]",l="[object WeakMap]",_="[object ArrayBuffer]",E="[object DataView]",C="[object Float32Array]",T="[object Float64Array]",x="[object Int8Array]",y="[object Int16Array]",$="[object Int32Array]",h="[object Uint8Array]",O="[object Uint8ClampedArray]",R="[object Uint16Array]",I="[object Uint32Array]",M={};M[C]=M[T]=M[x]=M[y]=M[$]=M[h]=M[O]=M[R]=M[I]=!0,M[n]=M[o]=M[_]=M[i]=M[E]=M[a]=M[u]=M[c]=M[d]=M[f]=M[p]=M[m]=M[b]=M[v]=M[l]=!1;function F(D){return r(D)&&t(D.length)&&!!M[e(D)]}return Ni=F,Ni}var ki,$l;function Vv(){if($l)return ki;$l=1;function e(t){return function(r){return t(r)}}return ki=e,ki}var fr={exports:{}};fr.exports;var Al;function Wv(){return Al||(Al=1,function(e,t){var r=bc(),n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,a=i&&r.process,u=function(){try{var c=o&&o.require&&o.require("util").types;return c||a&&a.binding&&a.binding("util")}catch{}}();e.exports=u}(fr,fr.exports)),fr.exports}var Di,Ml;function Nl(){if(Ml)return Di;Ml=1;var e=zv(),t=Vv(),r=Wv(),n=r&&r.isTypedArray,o=n?t(n):e;return Di=o,Di}var ji,kl;function Uv(){if(kl)return ji;kl=1;var e=Lv(),t=Tl(),r=ft(),n=Cl(),o=Pl(),i=Nl(),a=Object.prototype,u=a.hasOwnProperty;function c(d,f){var p=r(d),m=!p&&t(d),b=!p&&!m&&n(d),v=!p&&!m&&!b&&i(d),l=p||m||b||v,_=l?e(d.length,String):[],E=_.length;for(var C in d)(f||u.call(d,C))&&!(l&&(C=="length"||b&&(C=="offset"||C=="parent")||v&&(C=="buffer"||C=="byteLength"||C=="byteOffset")||o(C,E)))&&_.push(C);return _}return ji=c,ji}var qi,Dl;function Gv(){if(Dl)return qi;Dl=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,o=typeof n=="function"&&n.prototype||e;return r===o}return qi=t,qi}var Li,jl;function Yv(){if(jl)return Li;jl=1;function e(t,r){return function(n){return t(r(n))}}return Li=e,Li}var Fi,ql;function Hv(){if(ql)return Fi;ql=1;var e=Yv(),t=e(Object.keys,Object);return Fi=t,Fi}var Bi,Ll;function Kv(){if(Ll)return Bi;Ll=1;var e=Gv(),t=Hv(),r=Object.prototype,n=r.hasOwnProperty;function o(i){if(!e(i))return t(i);var a=[];for(var u in Object(i))n.call(i,u)&&u!="constructor"&&a.push(u);return a}return Bi=o,Bi}var zi,Fl;function Xv(){if(Fl)return zi;Fl=1;var e=Oc(),t=Mi();function r(n){return n!=null&&t(n.length)&&!e(n)}return zi=r,zi}var Vi,Bl;function zl(){if(Bl)return Vi;Bl=1;var e=Uv(),t=Kv(),r=Xv();function n(o){return r(o)?e(o):t(o)}return Vi=n,Vi}var Wi,Vl;function Jv(){if(Vl)return Wi;Vl=1;var e=kv(),t=qv(),r=zl();function n(o){return e(o,r,t)}return Wi=n,Wi}var Ui,Wl;function Zv(){if(Wl)return Ui;Wl=1;var e=Jv(),t=1,r=Object.prototype,n=r.hasOwnProperty;function o(i,a,u,c,d,f){var p=u&t,m=e(i),b=m.length,v=e(a),l=v.length;if(b!=l&&!p)return!1;for(var _=b;_--;){var E=m[_];if(!(p?E in a:n.call(a,E)))return!1}var C=f.get(i),T=f.get(a);if(C&&T)return C==a&&T==i;var x=!0;f.set(i,a),f.set(a,i);for(var y=p;++_<b;){E=m[_];var $=i[E],h=a[E];if(c)var O=p?c(h,$,E,a,i,f):c($,h,E,i,a,f);if(!(O===void 0?$===h||d($,h,u,c,f):O)){x=!1;break}y||(y=E=="constructor")}if(x&&!y){var R=i.constructor,I=a.constructor;R!=I&&"constructor"in i&&"constructor"in a&&!(typeof R=="function"&&R instanceof R&&typeof I=="function"&&I instanceof I)&&(x=!1)}return f.delete(i),f.delete(a),x}return Ui=o,Ui}var Gi,Ul;function Qv(){if(Ul)return Gi;Ul=1;var e=jt(),t=ut(),r=e(t,"DataView");return Gi=r,Gi}var Yi,Gl;function eb(){if(Gl)return Yi;Gl=1;var e=jt(),t=ut(),r=e(t,"Promise");return Yi=r,Yi}var Hi,Yl;function Hl(){if(Yl)return Hi;Yl=1;var e=jt(),t=ut(),r=e(t,"Set");return Hi=r,Hi}var Ki,Kl;function tb(){if(Kl)return Ki;Kl=1;var e=jt(),t=ut(),r=e(t,"WeakMap");return Ki=r,Ki}var Xi,Xl;function rb(){if(Xl)return Xi;Xl=1;var e=Qv(),t=Wo(),r=eb(),n=Hl(),o=tb(),i=cr(),a=$c(),u="[object Map]",c="[object Object]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",m="[object DataView]",b=a(e),v=a(t),l=a(r),_=a(n),E=a(o),C=i;return(e&&C(new e(new ArrayBuffer(1)))!=m||t&&C(new t)!=u||r&&C(r.resolve())!=d||n&&C(new n)!=f||o&&C(new o)!=p)&&(C=function(T){var x=i(T),y=x==c?T.constructor:void 0,$=y?a(y):"";if($)switch($){case b:return m;case v:return u;case l:return d;case _:return f;case E:return p}return x}),Xi=C,Xi}var Ji,Jl;function nb(){if(Jl)return Ji;Jl=1;var e=Qc(),t=ul(),r=Mv(),n=Zv(),o=rb(),i=ft(),a=Cl(),u=Nl(),c=1,d="[object Arguments]",f="[object Array]",p="[object Object]",m=Object.prototype,b=m.hasOwnProperty;function v(l,_,E,C,T,x){var y=i(l),$=i(_),h=y?f:o(l),O=$?f:o(_);h=h==d?p:h,O=O==d?p:O;var R=h==p,I=O==p,M=h==O;if(M&&a(l)){if(!a(_))return!1;y=!0,R=!1}if(M&&!R)return x||(x=new e),y||u(l)?t(l,_,E,C,T,x):r(l,_,h,E,C,T,x);if(!(E&c)){var F=R&&b.call(l,"__wrapped__"),D=I&&b.call(_,"__wrapped__");if(F||D){var L=F?l.value():l,B=D?_.value():_;return x||(x=new e),T(L,B,E,C,x)}}return M?(x||(x=new e),n(l,_,E,C,T,x)):!1}return Ji=v,Ji}var Zi,Zl;function Ql(){if(Zl)return Zi;Zl=1;var e=nb(),t=lr();function r(n,o,i,a,u){return n===o?!0:n==null||o==null||!t(n)&&!t(o)?n!==n&&o!==o:e(n,o,i,a,r,u)}return Zi=r,Zi}var Qi,ed;function ob(){if(ed)return Qi;ed=1;var e=Qc(),t=Ql(),r=1,n=2;function o(i,a,u,c){var d=u.length,f=d,p=!c;if(i==null)return!f;for(i=Object(i);d--;){var m=u[d];if(p&&m[2]?m[1]!==i[m[0]]:!(m[0]in i))return!1}for(;++d<f;){m=u[d];var b=m[0],v=i[b],l=m[1];if(p&&m[2]){if(v===void 0&&!(b in i))return!1}else{var _=new e;if(c)var E=c(v,l,b,i,a,_);if(!(E===void 0?t(l,v,r|n,c,_):E))return!1}}return!0}return Qi=o,Qi}var ea,td;function rd(){if(td)return ea;td=1;var e=ko();function t(r){return r===r&&!e(r)}return ea=t,ea}var ta,nd;function ib(){if(nd)return ta;nd=1;var e=rd(),t=zl();function r(n){for(var o=t(n),i=o.length;i--;){var a=o[i],u=n[a];o[i]=[a,u,e(u)]}return o}return ta=r,ta}var ra,od;function id(){if(od)return ra;od=1;function e(t,r){return function(n){return n==null?!1:n[t]===r&&(r!==void 0||t in Object(n))}}return ra=e,ra}var na,ad;function ab(){if(ad)return na;ad=1;var e=ob(),t=ib(),r=id();function n(o){var i=t(o);return i.length==1&&i[0][2]?r(i[0][0],i[0][1]):function(a){return a===o||e(a,o,i)}}return na=n,na}var oa,sd;function ia(){if(sd)return oa;sd=1;var e=cr(),t=lr(),r="[object Symbol]";function n(o){return typeof o=="symbol"||t(o)&&e(o)==r}return oa=n,oa}var aa,ud;function sa(){if(ud)return aa;ud=1;var e=ft(),t=ia(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function o(i,a){if(e(i))return!1;var u=typeof i;return u=="number"||u=="symbol"||u=="boolean"||i==null||t(i)?!0:n.test(i)||!r.test(i)||a!=null&&i in Object(a)}return aa=o,aa}var ua,cd;function sb(){if(cd)return ua;cd=1;var e=ai(),t="Expected a function";function r(n,o){if(typeof n!="function"||o!=null&&typeof o!="function")throw new TypeError(t);var i=function(){var a=arguments,u=o?o.apply(this,a):a[0],c=i.cache;if(c.has(u))return c.get(u);var d=n.apply(this,a);return i.cache=c.set(u,d)||c,d};return i.cache=new(r.Cache||e),i}return r.Cache=e,ua=r,ua}var ca,ld;function ub(){if(ld)return ca;ld=1;var e=sb(),t=500;function r(n){var o=e(n,function(a){return i.size===t&&i.clear(),a}),i=o.cache;return o}return ca=r,ca}var la,dd;function cb(){if(dd)return la;dd=1;var e=ub(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(o){var i=[];return o.charCodeAt(0)===46&&i.push(""),o.replace(t,function(a,u,c,d){i.push(c?d.replace(r,"$1"):u||a)}),i});return la=n,la}var da,fd;function lb(){if(fd)return da;fd=1;function e(t,r){for(var n=-1,o=t==null?0:t.length,i=Array(o);++n<o;)i[n]=r(t[n],n,t);return i}return da=e,da}var fa,pd;function db(){if(pd)return fa;pd=1;var e=sn(),t=lb(),r=ft(),n=ia(),o=e?e.prototype:void 0,i=o?o.toString:void 0;function a(u){if(typeof u=="string")return u;if(r(u))return t(u,a)+"";if(n(u))return i?i.call(u):"";var c=u+"";return c=="0"&&1/u==-1/0?"-0":c}return fa=a,fa}var pa,hd;function fb(){if(hd)return pa;hd=1;var e=db();function t(r){return r==null?"":e(r)}return pa=t,pa}var ha,md;function gd(){if(md)return ha;md=1;var e=ft(),t=sa(),r=cb(),n=fb();function o(i,a){return e(i)?i:t(i,a)?[i]:r(n(i))}return ha=o,ha}var ma,yd;function ln(){if(yd)return ma;yd=1;var e=ia();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return ma=t,ma}var ga,vd;function bd(){if(vd)return ga;vd=1;var e=gd(),t=ln();function r(n,o){o=e(o,n);for(var i=0,a=o.length;n!=null&&i<a;)n=n[t(o[i++])];return i&&i==a?n:void 0}return ga=r,ga}var ya,_d;function pb(){if(_d)return ya;_d=1;var e=bd();function t(r,n,o){var i=r==null?void 0:e(r,n);return i===void 0?o:i}return ya=t,ya}var va,xd;function hb(){if(xd)return va;xd=1;function e(t,r){return t!=null&&r in Object(t)}return va=e,va}var ba,Ed;function mb(){if(Ed)return ba;Ed=1;var e=gd(),t=Tl(),r=ft(),n=Pl(),o=Mi(),i=ln();function a(u,c,d){c=e(c,u);for(var f=-1,p=c.length,m=!1;++f<p;){var b=i(c[f]);if(!(m=u!=null&&d(u,b)))break;u=u[b]}return m||++f!=p?m:(p=u==null?0:u.length,!!p&&o(p)&&n(b,p)&&(r(u)||t(u)))}return ba=a,ba}var _a,Td;function gb(){if(Td)return _a;Td=1;var e=hb(),t=mb();function r(n,o){return n!=null&&t(n,o,e)}return _a=r,_a}var xa,Sd;function yb(){if(Sd)return xa;Sd=1;var e=Ql(),t=pb(),r=gb(),n=sa(),o=rd(),i=id(),a=ln(),u=1,c=2;function d(f,p){return n(f)&&o(p)?i(a(f),p):function(m){var b=t(m,f);return b===void 0&&b===p?r(m,f):e(p,b,u|c)}}return xa=d,xa}var Ea,Rd;function vb(){if(Rd)return Ea;Rd=1;function e(t){return t}return Ea=e,Ea}var Ta,Cd;function bb(){if(Cd)return Ta;Cd=1;function e(t){return function(r){return r==null?void 0:r[t]}}return Ta=e,Ta}var Sa,Od;function _b(){if(Od)return Sa;Od=1;var e=bd();function t(r){return function(n){return e(n,r)}}return Sa=t,Sa}var Ra,Pd;function xb(){if(Pd)return Ra;Pd=1;var e=bb(),t=_b(),r=sa(),n=ln();function o(i){return r(i)?e(n(i)):t(i)}return Ra=o,Ra}var Ca,wd;function Eb(){if(wd)return Ca;wd=1;var e=ab(),t=yb(),r=vb(),n=ft(),o=xb();function i(a){return typeof a=="function"?a:a==null?r:typeof a=="object"?n(a)?t(a[0],a[1]):e(a):o(a)}return Ca=i,Ca}var Oa,Id;function Tb(){if(Id)return Oa;Id=1;function e(t,r,n,o){for(var i=t.length,a=n+(o?1:-1);o?a--:++a<i;)if(r(t[a],a,t))return a;return-1}return Oa=e,Oa}var Pa,$d;function Sb(){if($d)return Pa;$d=1;function e(t){return t!==t}return Pa=e,Pa}var wa,Ad;function Rb(){if(Ad)return wa;Ad=1;function e(t,r,n){for(var o=n-1,i=t.length;++o<i;)if(t[o]===r)return o;return-1}return wa=e,wa}var Ia,Md;function Cb(){if(Md)return Ia;Md=1;var e=Tb(),t=Sb(),r=Rb();function n(o,i,a){return i===i?r(o,i,a):e(o,t,a)}return Ia=n,Ia}var $a,Nd;function Ob(){if(Nd)return $a;Nd=1;var e=Cb();function t(r,n){var o=r==null?0:r.length;return!!o&&e(r,n,0)>-1}return $a=t,$a}var Aa,kd;function Pb(){if(kd)return Aa;kd=1;function e(t,r,n){for(var o=-1,i=t==null?0:t.length;++o<i;)if(n(r,t[o]))return!0;return!1}return Aa=e,Aa}var Ma,Dd;function wb(){if(Dd)return Ma;Dd=1;function e(){}return Ma=e,Ma}var Na,jd;function Ib(){if(jd)return Na;jd=1;var e=Hl(),t=wb(),r=vi(),n=1/0,o=e&&1/r(new e([,-0]))[1]==n?function(i){return new e(i)}:t;return Na=o,Na}var ka,qd;function $b(){if(qd)return ka;qd=1;var e=nl(),t=Ob(),r=Pb(),n=al(),o=Ib(),i=vi(),a=200;function u(c,d,f){var p=-1,m=t,b=c.length,v=!0,l=[],_=l;if(f)v=!1,m=r;else if(b>=a){var E=d?null:o(c);if(E)return i(E);v=!1,m=n,_=new e}else _=d?[]:l;e:for(;++p<b;){var C=c[p],T=d?d(C):C;if(C=f||C!==0?C:0,v&&T===T){for(var x=_.length;x--;)if(_[x]===T)continue e;d&&_.push(T),l.push(C)}else m(_,T,f)||(_!==l&&_.push(T),l.push(C))}return l}return ka=u,ka}var Da,Ld;function Ab(){if(Ld)return Da;Ld=1;var e=Eb(),t=$b();function r(n,o){return n&&n.length?t(n,e(o,2)):[]}return Da=r,Da}var Mb=Ab();const Nb=br(Mb);class Fd extends ae.Component{zoomedImageLabel(){const{t}=this.props,r=this.currentBounds();return t("mirador-dl-plugin.zoomed_region",{width:Math.floor(r.width),height:Math.floor(r.height)})}fullImageLabel(){const{canvas:t,t:r}=this.props;return r("mirador-dl-plugin.whole_image",{width:t.getWidth(),height:t.getHeight()})}smallImageLabel(){const{canvas:t,t:r}=this.props,n=Math.floor(1e3*t.getHeight()/t.getWidth());return r("mirador-dl-plugin.whole_image",{width:1e3,height:n})}zoomedImageUrl(){const{canvas:t}=this.props,r=this.currentBounds();return`${t.getCanonicalImageUri().replace(/\/full\/.*\/0\//,`/${r.x},${r.y},${r.width},${r.height}/full/0/`)}?download=true`}imageUrlForSize(t){const{canvas:r}=this.props;return`${r.getCanonicalImageUri(t.width)}?download=true`}fullImageUrl(){const{canvas:t}=this.props;return`${t.getCanonicalImageUri().replace(/\/full\/.*\/0\//,"/full/full/0/")}?download=true`}thousandPixelWideImage(){const{canvas:t}=this.props;return`${t.getCanonicalImageUri("1000")}?download=true`}osdViewport(){const{windowId:t}=this.props;return Xe.OSDReferences.get(t).current.viewport}currentBounds(){const t=this.osdViewport().getBounds();return Object.keys(t).reduce((r,n)=>(r[n]=Math.ceil(t[n]),r),{})}definedSizesRestrictsDownload(){const{infoResponse:t}=this.props;if(!t.json)return!1;const{height:r,width:n}=t.json;return this.definedSizes().length!==1?!1:this.definedSizes()[0].width<=n&&this.definedSizes()[0].height<=r}displayCurrentZoomLink(){const{restrictDownloadOnSizeDefinition:t,infoResponse:r,viewType:n}=this.props;if(n!=="single"||t&&this.definedSizesRestrictsDownload()||!(r&&r.json))return!1;const o=this.currentBounds();return o.height<r.json.height&&o.width<r.json.width&&o.x>=0&&o.y>=0}definedSizes(){const{infoResponse:t}=this.props;return t&&t.json&&t.json.sizes?Nb(t.json.sizes,r=>`${r.width}${r.height}`):[]}fullImageLink(){return k.jsx(Dt,{disableGutters:!0,divider:!0,children:k.jsx(Nt,{href:this.fullImageUrl(),rel:"noopener noreferrer",target:"_blank",variant:"body1",children:this.fullImageLabel()})},this.fullImageUrl())}thousandPixelWideLink(){const{canvas:t}=this.props;return t.getWidth()<1e3?"":k.jsx(Dt,{disableGutters:!0,divider:!0,children:k.jsx(Nt,{href:this.thousandPixelWideImage(),rel:"noopener noreferrer",target:"_blank",variant:"body1",children:this.smallImageLabel()})},this.thousandPixelWideImage())}linksForDefinedSizes(){const{t}=this.props;return this.definedSizes().map(r=>k.jsx(Dt,{disableGutters:!0,divider:!0,children:k.jsx(Nt,{href:this.imageUrlForSize(r),rel:"noopener noreferrer",target:"_blank",variant:"body1",children:t("mirador-dl-plugin.whole_image",{width:r.width,height:r.height})})},`${r.width}${r.height}`))}render(){const{canvas:t,canvasLabel:r}=this.props;return k.jsxs(k.Fragment,{children:[k.jsx(nt,{noWrap:!0,variant:"h3",sx:{marginTop:"20px"},children:r}),k.jsxs(po,{children:[this.displayCurrentZoomLink()&&k.jsx(Dt,{disableGutters:!0,divider:!0,children:k.jsx(Nt,{href:this.zoomedImageUrl(),download:!0,rel:"noopener noreferrer",target:"_blank",variant:"body1",children:this.zoomedImageLabel()})}),this.definedSizes().length===0&&[this.fullImageLink(),this.thousandPixelWideLink()],this.definedSizes().length>0&&this.linksForDefinedSizes(),t.getRenderings().map(n=>k.jsx(mo,{rendering:n},n.id))]})]})}}Fd.propTypes={canvas:s.shape({id:s.string.isRequired,getCanonicalImageUri:s.func.isRequired,getHeight:s.func.isRequired,getRenderings:s.func.isRequired,getWidth:s.func.isRequired}).isRequired,canvasLabel:s.string.isRequired,infoResponse:s.shape({json:s.shape({height:s.number,sizes:s.arrayOf(s.shape({height:s.number,width:s.number})),width:s.number})}).isRequired,restrictDownloadOnSizeDefinition:s.bool.isRequired,t:s.func.isRequired,viewType:s.string.isRequired,windowId:s.string.isRequired};const kb=(e,{windowId:t})=>({closeDialog:()=>e({type:"CLOSE_WINDOW_DIALOG",windowId:t})}),Db=(e,{windowId:t})=>({canvases:Xe.getVisibleCanvases(e,{windowId:t}),canvasLabel:r=>Xe.getCanvasLabel(e,{canvasId:r,windowId:t}),containerId:Xe.getContainerId(e),infoResponse:r=>Xe.selectInfoResponse(e,{windowId:t,canvasId:r})||{},manifest:Xe.getManifestoInstance(e,{windowId:t}),restrictDownloadOnSizeDefinition:e.config.miradorDownloadPlugin&&e.config.miradorDownloadPlugin.restrictDownloadOnSizeDefinition,open:e.windowDialogs[t]&&e.windowDialogs[t].openDialog==="download",viewType:Xe.getWindowViewType(e,{windowId:t})});function Bd({canvases:e=[],canvasLabel:t,closeDialog:r,containerId:n,infoResponse:o,manifest:i=void 0,open:a=!1,restrictDownloadOnSizeDefinition:u=!1,viewType:c,windowId:d}){const{t:f}=Xe.useTranslation(),p=ae.useMemo(()=>i&&i.getSequences()&&i.getSequences()[0]&&i.getSequences()[0].getRenderings()?i.getSequences()[0].getRenderings():[],[i]);return a?k.jsxs(Xu,{"data-testid":"dialog-content",container:document.querySelector(`#${n} .mirador-viewer`),disableEnforceFocus:!0,onClose:r,open:a,scroll:"paper",fullWidth:!0,maxWidth:"xs",children:[k.jsx(Ju,{sx:{paddingBottom:0},children:k.jsx(nt,{variant:"h2",component:"span",children:f("mirador-dl-plugin.download")})}),k.jsxs(Xe.ScrollIndicatedDialogContent,{children:[e.map(m=>k.jsx(Fd,{canvas:m,canvasLabel:t(m.id),infoResponse:o(m.id),restrictDownloadOnSizeDefinition:u,t:f,viewType:c,windowId:d},m.id)),p.length>0&&k.jsx(oc,{renderings:p,t:f})]}),k.jsx(Zu,{children:k.jsx(rc,{onClick:r,color:"primary",children:f("mirador-dl-plugin.close")})})]}):""}Bd.propTypes={canvasLabel:s.func.isRequired,canvases:s.arrayOf(s.shape({id:s.string,index:s.number})),closeDialog:s.func.isRequired,containerId:s.string.isRequired,infoResponse:s.func.isRequired,manifest:s.shape({getSequences:s.func}),open:s.bool,restrictDownloadOnSizeDefinition:s.bool,viewType:s.string.isRequired,windowId:s.string.isRequired};const zd={target:"Window",mode:"add",name:"MiradorDownloadDialog",component:Bd,config:{translations:zu},mapDispatchToProps:kb,mapStateToProps:Db},jb=[Wu,zd];Ke.MiradorDownloadDialogPlugin=zd,Ke.default=jb,Ke.miradorDownloadPlugin=Wu,Object.defineProperties(Ke,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
188
188
  //# sourceMappingURL=mirador-dl-plugin.js.map