diff --git a/assets/index-CmtnXxLS.js b/assets/index-B2VZTa4g.js similarity index 94% rename from assets/index-CmtnXxLS.js rename to assets/index-B2VZTa4g.js index 2264853..83a8295 100644 --- a/assets/index-CmtnXxLS.js +++ b/assets/index-B2VZTa4g.js @@ -66,7 +66,7 @@ function print() { __p += __j.call(arguments, '') } }`;var dt=KT(function(){return $t(B,Ye+"return "+Pe).apply(r,K)});if(dt.source=Pe,x1(dt))throw dt;return dt}function wK(u){return Tt(u).toLowerCase()}function SK(u){return Tt(u).toUpperCase()}function OK(u,p,y){if(u=Tt(u),u&&(y||p===r))return nk(u);if(!u||!(p=Zn(p)))return u;var T=aa(u),M=aa(p),B=ok(T,M),K=ak(T,M)+1;return Yi(T,B,K).join("")}function CK(u,p,y){if(u=Tt(u),u&&(y||p===r))return u.slice(0,sk(u)+1);if(!u||!(p=Zn(p)))return u;var T=aa(u),M=ak(T,aa(p))+1;return Yi(T,0,M).join("")}function EK(u,p,y){if(u=Tt(u),u&&(y||p===r))return u.replace(gn,"");if(!u||!(p=Zn(p)))return u;var T=aa(u),M=ok(T,aa(p));return Yi(T,M).join("")}function PK(u,p){var y=A,T=F;if(rr(p)){var M="separator"in p?p.separator:M;y="length"in p?ut(p.length):y,T="omission"in p?Zn(p.omission):T}u=Tt(u);var B=u.length;if(gu(u)){var K=aa(u);B=K.length}if(y>=B)return u;var Q=y-yu(T);if(Q<1)return T;var re=K?Yi(K,0,Q).join(""):u.slice(0,Q);if(M===r)return re+T;if(K&&(Q+=re.length-Q),w1(M)){if(u.slice(Q).search(M)){var xe,we=re;for(M.global||(M=N_(M.source,Tt(nm.exec(M))+"g")),M.lastIndex=0;xe=M.exec(we);)var Pe=xe.index;re=re.slice(0,Pe===r?Q:Pe)}}else if(u.indexOf(Zn(M),Q)!=Q){var Ne=re.lastIndexOf(M);Ne>-1&&(re=re.slice(0,Ne))}return re+T}function $K(u){return u=Tt(u),u&&Xn.test(u)?u.replace(hn,nW):u}var RK=Cu(function(u,p,y){return u+(y?" ":"")+p.toUpperCase()}),C1=Qk("toUpperCase");function GT(u,p,y){return u=Tt(u),p=y?r:p,p===r?JV(u)?iW(u):VV(u):u.match(p)||[]}var KT=pt(function(u,p){try{return Yn(u,r,p)}catch(y){return x1(y)?y:new st(y)}}),kK=ui(function(u,p){return So(p,function(y){y=Ra(y),si(u,y,b1(u[y],u))}),u});function TK(u){var p=u==null?0:u.length,y=tt();return u=p?Zt(u,function(T){if(typeof T[1]!="function")throw new Oo(i);return[y(T[0]),T[1]]}):[],pt(function(T){for(var M=-1;++Mz)return[];var y=ne,T=nn(u,ne);p=tt(p),u-=ne;for(var M=M_(T,p);++y0||p<0)?new _t(y):(u<0?y=y.takeRight(-u):u&&(y=y.drop(u)),p!==r&&(p=ut(p),y=p<0?y.dropRight(-p):y.take(p-u)),y)},_t.prototype.takeRightWhile=function(u){return this.reverse().takeWhile(u).reverse()},_t.prototype.toArray=function(){return this.take(ne)},Pa(_t.prototype,function(u,p){var y=/^(?:filter|find|map|reject)|While$/.test(p),T=/^(?:head|last)$/.test(p),M=N[T?"take"+(p=="last"?"Right":""):p],B=T||/^find/.test(p);M&&(N.prototype[p]=function(){var K=this.__wrapped__,Q=T?[1]:arguments,re=K instanceof _t,xe=Q[0],we=re||lt(K),Pe=function(gt){var wt=M.apply(N,qi([gt],Q));return T&&Ne?wt[0]:wt};we&&y&&typeof xe=="function"&&xe.length!=1&&(re=we=!1);var Ne=this.__chain__,Ye=!!this.__actions__.length,nt=B&&!Ne,dt=re&&!Ye;if(!B&&we){K=dt?K:new _t(this);var ot=u.apply(K,Q);return ot.__actions__.push({func:Nm,args:[Pe],thisArg:r}),new Co(ot,Ne)}return nt&&dt?u.apply(this,Q):(ot=this.thru(Pe),nt?T?ot.value()[0]:ot.value():ot)})}),So(["pop","push","shift","sort","splice","unshift"],function(u){var p=cm[u],y=/^(?:push|sort|unshift)$/.test(u)?"tap":"thru",T=/^(?:pop|shift)$/.test(u);N.prototype[u]=function(){var M=arguments;if(T&&!this.__chain__){var B=this.value();return p.apply(lt(B)?B:[],M)}return this[y](function(K){return p.apply(lt(K)?K:[],M)})}}),Pa(_t.prototype,function(u,p){var y=N[p];if(y){var T=y.name+"";It.call(wu,T)||(wu[T]=[]),wu[T].push({name:p,func:y})}}),wu[Tm(r,b).name]=[{name:"wrapper",func:r}],_t.prototype.clone=$W,_t.prototype.reverse=RW,_t.prototype.value=kW,N.prototype.at=aH,N.prototype.chain=iH,N.prototype.commit=sH,N.prototype.next=lH,N.prototype.plant=cH,N.prototype.reverse=dH,N.prototype.toJSON=N.prototype.valueOf=N.prototype.value=fH,N.prototype.first=N.prototype.head,Gd&&(N.prototype[Gd]=uH),N},bu=sW();al?((al.exports=bu)._=bu,P_._=bu):Hr._=bu}).call(ao)})(Qg,Qg.exports);var Ib=Qg.exports,ij=Object.prototype.toString,R3=function(t){var r=ij.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&ij.call(t.callee)==="[object Function]"),n},ox,sj;function zY(){if(sj)return ox;sj=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=R3,o=Object.prototype.propertyIsEnumerable,a=!o.call({toString:null},"toString"),i=o.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],c=function(m){var h=m.constructor;return h&&h.prototype===m},l={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if(typeof window>"u")return!1;for(var m in window)try{if(!l["$"+m]&&t.call(window,m)&&window[m]!==null&&typeof window[m]=="object")try{c(window[m])}catch{return!0}}catch{return!0}return!1}(),v=function(m){if(typeof window>"u"||!f)return c(m);try{return c(m)}catch{return!1}};e=function(h){var x=h!==null&&typeof h=="object",w=r.call(h)==="[object Function]",O=n(h),b=x&&r.call(h)==="[object String]",g=[];if(!x&&!w&&!O)throw new TypeError("Object.keys called on a non-object");var _=i&&w;if(b&&h.length>0&&!t.call(h,0))for(var $=0;$0)for(var P=0;P"u"||!Dr?xt:Dr(Uint8Array),Fl={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?xt:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?xt:ArrayBuffer,"%ArrayIteratorPrototype%":ku&&Dr?Dr([][Symbol.iterator]()):xt,"%AsyncFromSyncIteratorPrototype%":xt,"%AsyncFunction%":Vu,"%AsyncGenerator%":Vu,"%AsyncGeneratorFunction%":Vu,"%AsyncIteratorPrototype%":Vu,"%Atomics%":typeof Atomics>"u"?xt:Atomics,"%BigInt%":typeof BigInt>"u"?xt:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?xt:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?xt:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?xt:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":dJ,"%eval%":eval,"%EvalError%":fJ,"%Float32Array%":typeof Float32Array>"u"?xt:Float32Array,"%Float64Array%":typeof Float64Array>"u"?xt:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?xt:FinalizationRegistry,"%Function%":j3,"%GeneratorFunction%":Vu,"%Int8Array%":typeof Int8Array>"u"?xt:Int8Array,"%Int16Array%":typeof Int16Array>"u"?xt:Int16Array,"%Int32Array%":typeof Int32Array>"u"?xt:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ku&&Dr?Dr(Dr([][Symbol.iterator]())):xt,"%JSON%":typeof JSON=="object"?JSON:xt,"%Map%":typeof Map>"u"?xt:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ku||!Dr?xt:Dr(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?xt:Promise,"%Proxy%":typeof Proxy>"u"?xt:Proxy,"%RangeError%":pJ,"%ReferenceError%":vJ,"%Reflect%":typeof Reflect>"u"?xt:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?xt:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ku||!Dr?xt:Dr(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?xt:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ku&&Dr?Dr(""[Symbol.iterator]()):xt,"%Symbol%":ku?Symbol:xt,"%SyntaxError%":Wc,"%ThrowTypeError%":hJ,"%TypedArray%":yJ,"%TypeError%":xc,"%Uint8Array%":typeof Uint8Array>"u"?xt:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?xt:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?xt:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?xt:Uint32Array,"%URIError%":mJ,"%WeakMap%":typeof WeakMap>"u"?xt:WeakMap,"%WeakRef%":typeof WeakRef>"u"?xt:WeakRef,"%WeakSet%":typeof WeakSet>"u"?xt:WeakSet};if(Dr)try{null.error}catch(e){var bJ=Dr(Dr(e));Fl["%Error.prototype%"]=bJ}var _J=function e(t){var r;if(t==="%AsyncFunction%")r=ix("async function () {}");else if(t==="%GeneratorFunction%")r=ix("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=ix("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&Dr&&(r=Dr(o.prototype))}return Fl[t]=r,r},fj={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},uv=IE,Xg=cJ,xJ=uv.call(Function.call,Array.prototype.concat),wJ=uv.call(Function.apply,Array.prototype.splice),pj=uv.call(Function.call,String.prototype.replace),Yg=uv.call(Function.call,String.prototype.slice),SJ=uv.call(Function.call,RegExp.prototype.exec),OJ=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,CJ=/\\(\\)?/g,EJ=function(t){var r=Yg(t,0,1),n=Yg(t,-1);if(r==="%"&&n!=="%")throw new Wc("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Wc("invalid intrinsic syntax, expected opening `%`");var o=[];return pj(t,OJ,function(a,i,s,c){o[o.length]=s?pj(c,CJ,"$1"):i||a}),o},PJ=function(t,r){var n=t,o;if(Xg(fj,n)&&(o=fj[n],n="%"+o[0]+"%"),Xg(Fl,n)){var a=Fl[n];if(a===Vu&&(a=_J(n)),typeof a>"u"&&!r)throw new xc("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:a}}throw new Wc("intrinsic "+t+" does not exist!")},Ja=function(t,r){if(typeof t!="string"||t.length===0)throw new xc("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new xc('"allowMissing" argument must be a boolean');if(SJ(/^%?[^%]*%?$/,t)===null)throw new Wc("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=EJ(t),o=n.length>0?n[0]:"",a=PJ("%"+o+"%",r),i=a.name,s=a.value,c=!1,l=a.alias;l&&(o=l[0],wJ(n,xJ([0,1],l)));for(var f=1,v=!0;f=n.length){var w=Ml(s,m);v=!!w,v&&"get"in w&&!("originalValue"in w.get)?s=w.get:s=s[m]}else v=Xg(s,m),s=s[m];v&&!c&&(Fl[i]=s)}}return s},$J=Ja,Gh=$J("%Object.defineProperty%",!0)||!1;if(Gh)try{Gh({},"a",{value:1})}catch{Gh=!1}var jE=Gh,RJ=Ja,Kh=RJ("%Object.getOwnPropertyDescriptor%",!0);if(Kh)try{Kh([],"length")}catch{Kh=null}var A3=Kh,vj=jE,kJ=k3,Tu=Tn,mj=A3,M3=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new Tu("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Tu("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Tu("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Tu("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Tu("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Tu("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,c=!!mj&&mj(t,r);if(vj)vj(t,r,{configurable:i===null&&c?c.configurable:!i,enumerable:o===null&&c?c.enumerable:!o,value:n,writable:a===null&&c?c.writable:!a});else if(s||!o&&!a&&!i)t[r]=n;else throw new kJ("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},lS=jE,F3=function(){return!!lS};F3.hasArrayLengthDefineBug=function(){if(!lS)return null;try{return lS([],"length",{value:1}).length!==1}catch{return!0}};var L3=F3,TJ=WY,IJ=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",jJ=Object.prototype.toString,AJ=Array.prototype.concat,hj=M3,MJ=function(e){return typeof e=="function"&&jJ.call(e)==="[object Function]"},N3=L3(),FJ=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!MJ(n)||!n())return}N3?hj(e,t,r,!0):hj(e,t,r)},D3=function(e,t){var r=arguments.length>2?arguments[2]:{},n=TJ(t);IJ&&(n=AJ.call(n,Object.getOwnPropertySymbols(t)));for(var o=0;o4294967295||DJ(r)!==r)throw new bj("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,a=!0;if("length"in t&&yj){var i=yj(t,"length");i&&!i.configurable&&(o=!1),i&&!i.writable&&(a=!1)}return(o||a||!n)&&(NJ?gj(t,"length",r,!0,!0):gj(t,"length",r)),t};(function(e){var t=IE,r=Ja,n=BJ,o=Tn,a=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||t.call(i,a),c=jE,l=r("%Math.max%");e.exports=function(m){if(typeof m!="function")throw new o("a function is required");var h=s(t,i,arguments);return n(h,1+l(0,m.length-(arguments.length-1)),!0)};var f=function(){return s(t,a,arguments)};c?c(e.exports,"apply",{value:f}):e.exports.apply=f})(B3);var jb=B3.exports,z3=Ja,U3=jb,zJ=U3(z3("String.prototype.indexOf")),ji=function(t,r){var n=z3(t,!!r);return typeof n=="function"&&zJ(t,".prototype.")>-1?U3(n):n},UJ=Tn,cv=function(t){if(t==null)throw new UJ(arguments.length>0&&arguments[1]||"Cannot call method on "+t);return t},VJ=Ja,V3=VJ("%Array%"),WJ=!V3.isArray&&ji("Object.prototype.toString"),qJ=V3.isArray||function(t){return WJ(t)==="[object Array]"},HJ=qJ,GJ=Ja,KJ=ji,QJ=Tn,XJ=HJ,YJ=GJ("%Reflect.apply%",!0)||KJ("Function.prototype.apply"),JJ=function(t,r){var n=arguments.length>2?arguments[2]:[];if(!XJ(n))throw new QJ("Assertion failed: optional `argumentsList`, if provided, must be a List");return YJ(t,r,n)};const ZJ={},eZ=Object.freeze(Object.defineProperty({__proto__:null,default:ZJ},Symbol.toStringTag,{value:"Module"})),tZ=Ya(eZ);var AE=typeof Map=="function"&&Map.prototype,lx=Object.getOwnPropertyDescriptor&&AE?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Jg=AE&&lx&&typeof lx.get=="function"?lx.get:null,_j=AE&&Map.prototype.forEach,ME=typeof Set=="function"&&Set.prototype,ux=Object.getOwnPropertyDescriptor&&ME?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Zg=ME&&ux&&typeof ux.get=="function"?ux.get:null,xj=ME&&Set.prototype.forEach,rZ=typeof WeakMap=="function"&&WeakMap.prototype,Kf=rZ?WeakMap.prototype.has:null,nZ=typeof WeakSet=="function"&&WeakSet.prototype,Qf=nZ?WeakSet.prototype.has:null,oZ=typeof WeakRef=="function"&&WeakRef.prototype,wj=oZ?WeakRef.prototype.deref:null,aZ=Boolean.prototype.valueOf,iZ=Object.prototype.toString,sZ=Function.prototype.toString,lZ=String.prototype.match,FE=String.prototype.slice,gs=String.prototype.replace,uZ=String.prototype.toUpperCase,Sj=String.prototype.toLowerCase,W3=RegExp.prototype.test,Oj=Array.prototype.concat,Aa=Array.prototype.join,cZ=Array.prototype.slice,Cj=Math.floor,uS=typeof BigInt=="function"?BigInt.prototype.valueOf:null,cx=Object.getOwnPropertySymbols,cS=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,qc=typeof Symbol=="function"&&typeof Symbol.iterator=="object",mn=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===qc||!0)?Symbol.toStringTag:null,q3=Object.prototype.propertyIsEnumerable,Ej=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Pj(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||W3.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-Cj(-e):Cj(e);if(n!==e){var o=String(n),a=FE.call(t,o.length+1);return gs.call(o,r,"$&_")+"."+gs.call(gs.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return gs.call(t,r,"$&_")}var dS=tZ,$j=dS.custom,Rj=G3($j)?$j:null,dZ=function e(t,r,n,o){var a=r||{};if(ls(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ls(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=ls(a,"customInspect")?a.customInspect:!0;if(typeof i!="boolean"&&i!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ls(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ls(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return Q3(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var c=String(t);return s?Pj(t,c):c}if(typeof t=="bigint"){var l=String(t)+"n";return s?Pj(t,l):l}var f=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=f&&f>0&&typeof t=="object")return fS(t)?"[Array]":"[Object]";var v=RZ(a,n);if(typeof o>"u")o=[];else if(K3(o,t)>=0)return"[Circular]";function m(D,U,H){if(U&&(o=cZ.call(o),o.push(U)),H){var q={depth:a.depth};return ls(a,"quoteStyle")&&(q.quoteStyle=a.quoteStyle),e(D,q,n+1,o)}return e(D,a,n+1,o)}if(typeof t=="function"&&!kj(t)){var h=_Z(t),x=uh(t,m);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(x.length>0?" { "+Aa.call(x,", ")+" }":"")}if(G3(t)){var w=qc?gs.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):cS.call(t);return typeof t=="object"&&!qc?hf(w):w}if(EZ(t)){for(var O="<"+Sj.call(String(t.nodeName)),b=t.attributes||[],g=0;g",O}if(fS(t)){if(t.length===0)return"[]";var _=uh(t,m);return v&&!$Z(_)?"["+pS(_,v)+"]":"[ "+Aa.call(_,", ")+" ]"}if(vZ(t)){var $=uh(t,m);return!("cause"in Error.prototype)&&"cause"in t&&!q3.call(t,"cause")?"{ ["+String(t)+"] "+Aa.call(Oj.call("[cause]: "+m(t.cause),$),", ")+" }":$.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Aa.call($,", ")+" }"}if(typeof t=="object"&&i){if(Rj&&typeof t[Rj]=="function"&&dS)return dS(t,{depth:f-n});if(i!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(xZ(t)){var P=[];return _j&&_j.call(t,function(D,U){P.push(m(U,t,!0)+" => "+m(D,t))}),Tj("Map",Jg.call(t),P,v)}if(OZ(t)){var C=[];return xj&&xj.call(t,function(D){C.push(m(D,t))}),Tj("Set",Zg.call(t),C,v)}if(wZ(t))return dx("WeakMap");if(CZ(t))return dx("WeakSet");if(SZ(t))return dx("WeakRef");if(hZ(t))return hf(m(Number(t)));if(yZ(t))return hf(m(uS.call(t)));if(gZ(t))return hf(aZ.call(t));if(mZ(t))return hf(m(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(t===ao)return"{ [object globalThis] }";if(!pZ(t)&&!kj(t)){var k=uh(t,m),R=Ej?Ej(t)===Object.prototype:t instanceof Object||t.constructor===Object,I=t instanceof Object?"":"null prototype",A=!R&&mn&&Object(t)===t&&mn in t?FE.call(Vs(t),8,-1):I?"Object":"",F=R||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",L=F+(A||I?"["+Aa.call(Oj.call([],A||[],I||[]),": ")+"] ":"");return k.length===0?L+"{}":v?L+"{"+pS(k,v)+"}":L+"{ "+Aa.call(k,", ")+" }"}return String(t)};function H3(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function fZ(e){return gs.call(String(e),/"/g,""")}function fS(e){return Vs(e)==="[object Array]"&&(!mn||!(typeof e=="object"&&mn in e))}function pZ(e){return Vs(e)==="[object Date]"&&(!mn||!(typeof e=="object"&&mn in e))}function kj(e){return Vs(e)==="[object RegExp]"&&(!mn||!(typeof e=="object"&&mn in e))}function vZ(e){return Vs(e)==="[object Error]"&&(!mn||!(typeof e=="object"&&mn in e))}function mZ(e){return Vs(e)==="[object String]"&&(!mn||!(typeof e=="object"&&mn in e))}function hZ(e){return Vs(e)==="[object Number]"&&(!mn||!(typeof e=="object"&&mn in e))}function gZ(e){return Vs(e)==="[object Boolean]"&&(!mn||!(typeof e=="object"&&mn in e))}function G3(e){if(qc)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!cS)return!1;try{return cS.call(e),!0}catch{}return!1}function yZ(e){if(!e||typeof e!="object"||!uS)return!1;try{return uS.call(e),!0}catch{}return!1}var bZ=Object.prototype.hasOwnProperty||function(e){return e in this};function ls(e,t){return bZ.call(e,t)}function Vs(e){return iZ.call(e)}function _Z(e){if(e.name)return e.name;var t=lZ.call(sZ.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function K3(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Q3(FE.call(e,0,t.maxStringLength),t)+n}var o=gs.call(gs.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,PZ);return H3(o,"single",t)}function PZ(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+uZ.call(t.toString(16))}function hf(e){return"Object("+e+")"}function dx(e){return e+" { ? }"}function Tj(e,t,r,n){var o=n?pS(r,n):Aa.call(r,", ");return e+" ("+t+") {"+o+"}"}function $Z(e){for(var t=0;t=0)return!1;return!0}function RZ(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Aa.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Aa.call(Array(t+1),r)}}function pS(e,t){if(e.length===0)return"";var r=` `+t.prev+t.base;return r+Aa.call(e,","+r)+` -`+t.prev}function uh(e,t){var r=fS(e),n=[];if(r){n.length=e.length;for(var o=0;o"u")return"Undefined";if(typeof t=="function"||typeof t=="object")return"Object";if(typeof t=="number")return"Number";if(typeof t=="boolean")return"Boolean";if(typeof t=="string")return"String"},TZ=kZ,LE=function(t){return typeof t=="symbol"?"Symbol":typeof t=="bigint"?"BigInt":TZ(t)},Ij=Tn,IZ=dZ,jZ=X3,AZ=LE,Y3=function(t,r){if(AZ(t)!=="Object")throw new Ij("Assertion failed: Type(O) is not Object");if(!jZ(r))throw new Ij("Assertion failed: IsPropertyKey(P) is not true, got "+IZ(r));return t[r]},jj=Tn,MZ=X3,FZ=LE,LZ=function(t,r){if(FZ(t)!=="Object")throw new jj("Assertion failed: `O` must be an Object");if(!MZ(r))throw new jj("Assertion failed: `P` must be a Property Key");return r in t},J3=Function.prototype.toString,ac=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,vS,Qh;if(typeof ac=="function"&&typeof Object.defineProperty=="function")try{vS=Object.defineProperty({},"length",{get:function(){throw Qh}}),Qh={},ac(function(){throw 42},null,vS)}catch(e){e!==Qh&&(ac=null)}else ac=null;var NZ=/^\s*class\b/,mS=function(t){try{var r=J3.call(t);return NZ.test(r)}catch{return!1}},fx=function(t){try{return mS(t)?!1:(J3.call(t),!0)}catch{return!1}},Xh=Object.prototype.toString,DZ="[object Object]",BZ="[object Function]",zZ="[object GeneratorFunction]",UZ="[object HTMLAllCollection]",VZ="[object HTML document.all class]",WZ="[object HTMLCollection]",qZ=typeof Symbol=="function"&&!!Symbol.toStringTag,HZ=!(0 in[,]),hS=function(){return!1};if(typeof document=="object"){var GZ=document.all;Xh.call(GZ)===Xh.call(document.all)&&(hS=function(t){if((HZ||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=Xh.call(t);return(r===UZ||r===VZ||r===WZ||r===DZ)&&t("")==null}catch{}return!1})}var Z3=ac?function(t){if(hS(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{ac(t,null,vS)}catch(r){if(r!==Qh)return!1}return!mS(t)&&fx(t)}:function(t){if(hS(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(qZ)return fx(t);if(mS(t))return!1;var r=Xh.call(t);return r!==BZ&&r!==zZ&&!/^\[object HTML/.test(r)?!1:fx(t)},KZ=Z3,QZ=Number.MAX_SAFE_INTEGER||9007199254740991,px,Aj;function XZ(){return Aj||(Aj=1,px=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),px}var vx,Mj;function YZ(){return Mj||(Mj=1,vx=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),vx}var JZ=T3,NE=function(){return JZ()&&!!Symbol.toStringTag},mx,Fj;function ZZ(){if(Fj)return mx;Fj=1;var e=Date.prototype.getDay,t=function(i){try{return e.call(i),!0}catch{return!1}},r=Object.prototype.toString,n="[object Date]",o=NE();return mx=function(i){return typeof i!="object"||i===null?!1:o?t(i):r.call(i)===n},mx}var ch={exports:{}},Lj;function eee(){if(Lj)return ch.exports;Lj=1;var e=Object.prototype.toString,t=I3();if(t){var r=Symbol.prototype.toString,n=/^Symbol\(.*\)$/,o=function(i){return typeof i.valueOf()!="symbol"?!1:n.test(r.call(i))};ch.exports=function(i){if(typeof i=="symbol")return!0;if(e.call(i)!=="[object Symbol]")return!1;try{return o(i)}catch{return!1}}}else ch.exports=function(i){return!1};return ch.exports}var hx,Nj;function tee(){if(Nj)return hx;Nj=1;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",t=YZ(),r=Z3,n=ZZ(),o=eee(),a=function(c,l){if(typeof c>"u"||c===null)throw new TypeError("Cannot call method on "+c);if(typeof l!="string"||l!=="number"&&l!=="string")throw new TypeError('hint must be "string" or "number"');var f=l==="string"?["toString","valueOf"]:["valueOf","toString"],v,m,h;for(h=0;h1&&(arguments[1]===String?l="string":arguments[1]===Number&&(l="number"));var f;if(e&&(Symbol.toPrimitive?f=i(c,Symbol.toPrimitive):o(c)&&(f=Symbol.prototype.valueOf)),typeof f<"u"){var v=f.call(c,l);if(t(v))return v;throw new TypeError("unable to convert exotic object to primitive")}return l==="default"&&(n(c)||o(c))&&(l="string"),a(c,l==="default"?"number":l)},hx}var gx,Dj;function ree(){if(Dj)return gx;Dj=1;var e=tee();return gx=function(r){return arguments.length>1?e(r,arguments[1]):e(r)},gx}var yx,Bj;function nee(){if(Bj)return yx;Bj=1;var e=ji,t=NE(),r,n,o,a;if(t){r=e("Object.prototype.hasOwnProperty"),n=e("RegExp.prototype.exec"),o={};var i=function(){throw o};a={toString:i,valueOf:i},typeof Symbol.toPrimitive=="symbol"&&(a[Symbol.toPrimitive]=i)}var s=e("Object.prototype.toString"),c=Object.getOwnPropertyDescriptor,l="[object RegExp]";return yx=t?function(v){if(!v||typeof v!="object")return!1;var m=c(v,"lastIndex"),h=m&&r(m,"value");if(!h)return!1;try{n(v,a)}catch(x){return x===o}}:function(v){return!v||typeof v!="object"&&typeof v!="function"?!1:s(v)===l},yx}var bx,zj;function oee(){if(zj)return bx;zj=1;var e=ji,t=nee(),r=e("RegExp.prototype.exec"),n=Tn;return bx=function(a){if(!t(a))throw new n("`regex` must be a RegExp");return function(s){return r(a,s)!==null}},bx}var aee=Ja,iee=aee("%String%"),see=Tn,e4=function(t){if(typeof t=="symbol")throw new see("Cannot convert a Symbol value to a string");return iee(t)},lee=cv,uee=e4,cee=ji,Uj=cee("String.prototype.replace"),t4=/^\s$/.test("᠎"),dee=t4?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,fee=t4?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/,r4=function(){var t=uee(lee(this));return Uj(Uj(t,dee,""),fee,"")},pee=r4,Vj="​",Iu="᠎",n4=function(){return String.prototype.trim&&Vj.trim()===Vj&&Iu.trim()===Iu&&("_"+Iu).trim()==="_"+Iu&&(Iu+"_").trim()===Iu+"_"?String.prototype.trim:pee},vee=fd,mee=n4,hee=function(){var t=mee();return vee(String.prototype,{trim:t},{trim:function(){return String.prototype.trim!==t}}),t},gee=jb,yee=fd,bee=cv,_ee=r4,o4=n4,xee=hee,wee=gee(o4()),a4=function(t){return bee(t),wee(t)};yee(a4,{getPolyfill:o4,implementation:_ee,shim:xee});var i4=a4,_x,Wj;function See(){if(Wj)return _x;Wj=1;var e=Ja,t=e("%Number%"),r=e("%RegExp%"),n=Tn,o=e("%parseInt%"),a=ji,i=oee(),s=a("String.prototype.slice"),c=i(/^0b[01]+$/i),l=i(/^0o[0-7]+$/i),f=i(/^[-+]0x[0-9a-f]+$/i),v=["…","​","￾"].join(""),m=new r("["+v+"]","g"),h=i(m),x=i4;return _x=function w(O){if(typeof O!="string")throw new n("Assertion failed: `argument` is not a String");if(c(O))return t(o(s(O,2),2));if(l(O))return t(o(s(O,2),8));if(h(O)||f(O))return NaN;var b=x(O);return b!==O?w(b):t(O)},_x}var Oee=Ja,qj=Tn,Hj=Oee("%Number%"),Cee=XZ(),Eee=ree(),Pee=See(),$ee=function(t){var r=Cee(t)?t:Eee(t,Hj);if(typeof r=="symbol")throw new qj("Cannot convert a Symbol value to a number");if(typeof r=="bigint")throw new qj("Conversion from 'BigInt' to 'number' is not allowed.");return typeof r=="string"?Pee(r):Hj(r)},Ree=Math.floor,kee=function(t){return typeof t=="bigint"?t:Ree(t)},Gj=kee,Tee=Tn,Iee=function(t){if(typeof t!="number"&&typeof t!="bigint")throw new Tee("argument must be a Number or a BigInt");var r=t<0?-Gj(-t):Gj(t);return r===0?0:r},s4=Number.isNaN||function(t){return t!==t},jee=s4,Aee=function(e){return(typeof e=="number"||typeof e=="bigint")&&!jee(e)&&e!==1/0&&e!==-1/0},Mee=$ee,Fee=Iee,Lee=s4,Nee=Aee,Dee=function(t){var r=Mee(t);return Lee(r)||r===0?0:Nee(r)?Fee(r):r},Kj=QZ,Bee=Dee,zee=function(t){var r=Bee(t);return r<=0?0:r>Kj?Kj:r},Uee=Tn,Vee=Y3,Wee=zee,qee=LE,Hee=function(t){if(qee(t)!=="Object")throw new Uee("Assertion failed: `obj` must be an Object");return Wee(Vee(t,"length"))},Gee=Object,Kee=Gee,Qee=cv,Xee=function(t){return Qee(t),Kee(t)},Yee=String.prototype.valueOf,Jee=function(t){try{return Yee.call(t),!0}catch{return!1}},Zee=Object.prototype.toString,ete="[object String]",tte=NE(),rte=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:tte?Jee(t):Zee.call(t)===ete},nte=ji,ote=Tn,ate=JJ,ite=Y3,ste=LZ,lte=KZ,ute=Hee,cte=Xee,dte=e4,fte=rte,pte=nte("String.prototype.split"),Qj=Object("a"),vte=Qj[0]!=="a"||!(0 in Qj),l4=function(t){var r=cte(this),n=vte&&fte(this)?pte(this,""):r,o=ute(n);if(!lte(t))throw new ote("Array.prototype.forEach callback must be a function");var a;arguments.length>1&&(a=arguments[1]);for(var i=0;i=12&&t<=14)?1:2},_4={pluralTypes:{arabic:function(e){if(e<3)return e;var t=e%100;return t>=3&&t<=10?3:t>=11?4:5},bosnian_serbian:Sx,chinese:function(){return 0},croatian:Sx,french:function(e){return e>=2?1:0},german:function(e){return e!==1?1:0},russian:Sx,lithuanian:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=9&&(e%100<11||e%100>19)?1:2},czech:function(e){return e===1?0:e>=2&&e<=4?1:2},polish:function(e){if(e===1)return 0;var t=e%10;return 2<=t&&t<=4&&(e%100<10||e%100>=20)?1:2},icelandic:function(e){return e%10!==1||e%100===11?1:0},slovenian:function(e){var t=e%100;return t===1?0:t===2?1:t===3||t===4?2:3},romanian:function(e){if(e===1)return 0;var t=e%100;return e===0||t>=2&&t<=19?1:2}},pluralTypeToLanguages:{arabic:["ar"],bosnian_serbian:["bs-Latn-BA","bs-Cyrl-BA","srl-RS","sr-RS"],chinese:["id","id-ID","ja","ko","ko-KR","lo","ms","th","th-TH","zh"],croatian:["hr","hr-HR"],german:["fa","da","de","en","es","fi","el","he","hi-IN","hu","hu-HU","it","nl","no","pt","sv","tr"],french:["fr","tl","pt-br"],russian:["ru","ru-RU"],lithuanian:["lt"],czech:["cs","cs-CZ","sk"],polish:["pl"],icelandic:["is","mk"],slovenian:["sl-SL"],romanian:["ro"]}};function Wte(e){var t={};return ey(DE(e),function(r){var n=r[0],o=r[1];ey(o,function(a){t[a]=n})}),t}function qte(e,t){var r=Wte(e.pluralTypeToLanguages);return r[t]||r[b4.call(t,/-/,1)[0]]||r.en}function Hte(e,t,r){return e.pluralTypes[t](r)}function Gte(){var e={};return function(t,r){var n=e[r];return n&&!t.pluralTypes[n]&&(n=null,e[r]=n),n||(n=qte(t,r),n&&(e[r]=n)),n}}function Jj(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Kte(e){var t=e&&e.prefix||"%{",r=e&&e.suffix||"}";if(t===Yh||r===Yh)throw new RangeError('"'+Yh+'" token is reserved for pluralization');return new RegExp(Jj(t)+"(.*?)"+Jj(r),"g")}var Qte=Gte(),Xte=/%\{(.*?)\}/g;function BE(e,t,r,n,o,a){if(typeof e!="string")throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(t==null)return e;var i=e,s=n||Xte,c=a||y4,l=typeof t=="number"?{smart_count:t}:t;if(l.smart_count!=null&&e){var f=o||_4,v=b4.call(e,Yh),m=r||"en",h=Qte(f,m),x=Hte(f,h,l.smart_count);i=Ute(v[x]||v[0])}return i=c.call(i,s,function(w,O){return!g4(l,O)||l[O]==null?w:l[O]}),i}function Ai(e){var t=e||{};this.phrases={},this.extend(t.phrases||{}),this.currentLocale=t.locale||"en";var r=t.allowMissing?BE:null;this.onMissingKey=typeof t.onMissingKey=="function"?t.onMissingKey:r,this.warn=t.warn||Vte,this.replaceImplementation=t.replace||y4,this.tokenRegex=Kte(t.interpolation),this.pluralRules=t.pluralRules||_4}Ai.prototype.locale=function(e){return e&&(this.currentLocale=e),this.currentLocale};Ai.prototype.extend=function(e,t){ey(DE(e||{}),function(r){var n=r[0],o=r[1],a=t?t+"."+n:n;typeof o=="object"?this.extend(o,a):this.phrases[a]=o},this)};Ai.prototype.unset=function(e,t){typeof e=="string"?delete this.phrases[e]:ey(DE(e||{}),function(r){var n=r[0],o=r[1],a=t?t+"."+n:n;typeof o=="object"?this.unset(o,a):delete this.phrases[a]},this)};Ai.prototype.clear=function(){this.phrases={}};Ai.prototype.replace=function(e){this.clear(),this.extend(e)};Ai.prototype.t=function(e,t){var r,n,o=t??{};if(typeof this.phrases[e]=="string")r=this.phrases[e];else if(typeof o._=="string")r=o._;else if(this.onMissingKey){var a=this.onMissingKey;n=a(e,o,this.currentLocale,this.tokenRegex,this.pluralRules,this.replaceImplementation)}else this.warn('Missing translation for key: "'+e+'"'),n=e;return typeof r=="string"&&(n=BE(r,o,this.currentLocale,this.tokenRegex,this.pluralRules,this.replaceImplementation)),n};Ai.prototype.has=function(e){return g4(this.phrases,e)};Ai.transformPhrase=function(t,r,n){return BE(t,r,n)};var Yte=Ai;const Zj=gr(Yte);var ic=function(){return ic=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}();function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u";function Yr(){}function ere(e,t){return typeof e=="function"?e(t):e}function yS(e){return typeof e=="number"&&e>=0&&e!==1/0}function ry(e){return Array.isArray(e)?e:[e]}function w4(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Jh(e,t,r){return dv(e)?typeof t=="function"?j({},r,{queryKey:e,queryFn:t}):j({},t,{queryKey:e}):e}function tre(e,t,r){return dv(e)?typeof t=="function"?j({},r,{mutationKey:e,mutationFn:t}):j({},t,{mutationKey:e}):typeof e=="function"?j({},t,{mutationFn:e}):j({},e)}function us(e,t,r){return dv(e)?[j({},t,{queryKey:e}),r]:[e||{},t]}function rre(e,t){if(e===!0&&t===!0||e==null&&t==null)return"all";if(e===!1&&t===!1)return"none";var r=e??!t;return r?"active":"inactive"}function eA(e,t){var r=e.active,n=e.exact,o=e.fetching,a=e.inactive,i=e.predicate,s=e.queryKey,c=e.stale;if(dv(s)){if(n){if(t.queryHash!==UE(s,t.options))return!1}else if(!ny(t.queryKey,s))return!1}var l=rre(r,a);if(l==="none")return!1;if(l!=="all"){var f=t.isActive();if(l==="active"&&!f||l==="inactive"&&f)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||typeof o=="boolean"&&t.isFetching()!==o||i&&!i(t))}function tA(e,t){var r=e.exact,n=e.fetching,o=e.predicate,a=e.mutationKey;if(dv(a)){if(!t.options.mutationKey)return!1;if(r){if(ys(t.options.mutationKey)!==ys(a))return!1}else if(!ny(t.options.mutationKey,a))return!1}return!(typeof n=="boolean"&&t.state.status==="loading"!==n||o&&!o(t))}function UE(e,t){var r=(t==null?void 0:t.queryKeyHashFn)||ys;return r(e)}function ys(e){var t=ry(e);return nre(t)}function nre(e){return JSON.stringify(e,function(t,r){return bS(r)?Object.keys(r).sort().reduce(function(n,o){return n[o]=r[o],n},{}):r})}function ny(e,t){return S4(ry(e),ry(t))}function S4(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(function(r){return!S4(e[r],t[r])}):!1}function oy(e,t){if(e===t)return e;var r=Array.isArray(e)&&Array.isArray(t);if(r||bS(e)&&bS(t)){for(var n=r?e.length:Object.keys(e).length,o=r?t:Object.keys(t),a=o.length,i=r?[]:{},s=0,c=0;c"u")return!0;var r=t.prototype;return!(!rA(r)||!r.hasOwnProperty("isPrototypeOf"))}function rA(e){return Object.prototype.toString.call(e)==="[object Object]"}function dv(e){return typeof e=="string"||Array.isArray(e)}function are(e){return new Promise(function(t){setTimeout(t,e)})}function nA(e){Promise.resolve().then(e).catch(function(t){return setTimeout(function(){throw t})})}function O4(){if(typeof AbortController=="function")return new AbortController}var ire=function(e){Fi(t,e);function t(){var n;return n=e.call(this)||this,n.setup=function(o){var a;if(!ty&&((a=window)!=null&&a.addEventListener)){var i=function(){return o()};return window.addEventListener("visibilitychange",i,!1),window.addEventListener("focus",i,!1),function(){window.removeEventListener("visibilitychange",i),window.removeEventListener("focus",i)}}},n}var r=t.prototype;return r.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},r.onUnsubscribe=function(){if(!this.hasListeners()){var o;(o=this.cleanup)==null||o.call(this),this.cleanup=void 0}},r.setEventListener=function(o){var a,i=this;this.setup=o,(a=this.cleanup)==null||a.call(this),this.cleanup=o(function(s){typeof s=="boolean"?i.setFocused(s):i.onFocus()})},r.setFocused=function(o){this.focused=o,o&&this.onFocus()},r.onFocus=function(){this.listeners.forEach(function(o){o()})},r.isFocused=function(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)},t}(pd),Xf=new ire,sre=function(e){Fi(t,e);function t(){var n;return n=e.call(this)||this,n.setup=function(o){var a;if(!ty&&((a=window)!=null&&a.addEventListener)){var i=function(){return o()};return window.addEventListener("online",i,!1),window.addEventListener("offline",i,!1),function(){window.removeEventListener("online",i),window.removeEventListener("offline",i)}}},n}var r=t.prototype;return r.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},r.onUnsubscribe=function(){if(!this.hasListeners()){var o;(o=this.cleanup)==null||o.call(this),this.cleanup=void 0}},r.setEventListener=function(o){var a,i=this;this.setup=o,(a=this.cleanup)==null||a.call(this),this.cleanup=o(function(s){typeof s=="boolean"?i.setOnline(s):i.onOnline()})},r.setOnline=function(o){this.online=o,o&&this.onOnline()},r.onOnline=function(){this.listeners.forEach(function(o){o()})},r.isOnline=function(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine},t}(pd),Zh=new sre;function lre(e){return Math.min(1e3*Math.pow(2,e),3e4)}function ay(e){return typeof(e==null?void 0:e.cancel)=="function"}var C4=function(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent};function eg(e){return e instanceof C4}var E4=function(t){var r=this,n=!1,o,a,i,s;this.abort=t.abort,this.cancel=function(m){return o==null?void 0:o(m)},this.cancelRetry=function(){n=!0},this.continueRetry=function(){n=!1},this.continue=function(){return a==null?void 0:a()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise(function(m,h){i=m,s=h});var c=function(h){r.isResolved||(r.isResolved=!0,t.onSuccess==null||t.onSuccess(h),a==null||a(),i(h))},l=function(h){r.isResolved||(r.isResolved=!0,t.onError==null||t.onError(h),a==null||a(),s(h))},f=function(){return new Promise(function(h){a=h,r.isPaused=!0,t.onPause==null||t.onPause()}).then(function(){a=void 0,r.isPaused=!1,t.onContinue==null||t.onContinue()})},v=function m(){if(!r.isResolved){var h;try{h=t.fn()}catch(x){h=Promise.reject(x)}o=function(w){if(!r.isResolved&&(l(new C4(w)),r.abort==null||r.abort(),ay(h)))try{h.cancel()}catch{}},r.isTransportCancelable=ay(h),Promise.resolve(h).then(c).catch(function(x){var w,O;if(!r.isResolved){var b=(w=t.retry)!=null?w:3,g=(O=t.retryDelay)!=null?O:lre,_=typeof g=="function"?g(r.failureCount,x):g,$=b===!0||typeof b=="number"&&r.failureCount"u"&&(s.exact=!0),this.queries.find(function(c){return eA(s,c)})},r.findAll=function(o,a){var i=us(o,a),s=i[0];return Object.keys(s).length>0?this.queries.filter(function(c){return eA(s,c)}):this.queries},r.notify=function(o){var a=this;Wt.batch(function(){a.listeners.forEach(function(i){i(o)})})},r.onFocus=function(){var o=this;Wt.batch(function(){o.queries.forEach(function(a){a.onFocus()})})},r.onOnline=function(){var o=this;Wt.batch(function(){o.queries.forEach(function(a){a.onOnline()})})},t}(pd),pre=function(){function e(r){this.options=j({},r.defaultOptions,r.options),this.mutationId=r.mutationId,this.mutationCache=r.mutationCache,this.observers=[],this.state=r.state||$4(),this.meta=r.meta}var t=e.prototype;return t.setState=function(n){this.dispatch({type:"setState",state:n})},t.addObserver=function(n){this.observers.indexOf(n)===-1&&this.observers.push(n)},t.removeObserver=function(n){this.observers=this.observers.filter(function(o){return o!==n})},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(Yr).catch(Yr)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var n=this,o,a=this.state.status==="loading",i=Promise.resolve();return a||(this.dispatch({type:"loading",variables:this.options.variables}),i=i.then(function(){n.mutationCache.config.onMutate==null||n.mutationCache.config.onMutate(n.state.variables,n)}).then(function(){return n.options.onMutate==null?void 0:n.options.onMutate(n.state.variables)}).then(function(s){s!==n.state.context&&n.dispatch({type:"loading",context:s,variables:n.state.variables})})),i.then(function(){return n.executeMutation()}).then(function(s){o=s,n.mutationCache.config.onSuccess==null||n.mutationCache.config.onSuccess(o,n.state.variables,n.state.context,n)}).then(function(){return n.options.onSuccess==null?void 0:n.options.onSuccess(o,n.state.variables,n.state.context)}).then(function(){return n.options.onSettled==null?void 0:n.options.onSettled(o,null,n.state.variables,n.state.context)}).then(function(){return n.dispatch({type:"success",data:o}),o}).catch(function(s){return n.mutationCache.config.onError==null||n.mutationCache.config.onError(s,n.state.variables,n.state.context,n),iy().error(s),Promise.resolve().then(function(){return n.options.onError==null?void 0:n.options.onError(s,n.state.variables,n.state.context)}).then(function(){return n.options.onSettled==null?void 0:n.options.onSettled(void 0,s,n.state.variables,n.state.context)}).then(function(){throw n.dispatch({type:"error",error:s}),s})})},t.executeMutation=function(){var n=this,o;return this.retryer=new E4({fn:function(){return n.options.mutationFn?n.options.mutationFn(n.state.variables):Promise.reject("No mutationFn found")},onFail:function(){n.dispatch({type:"failed"})},onPause:function(){n.dispatch({type:"pause"})},onContinue:function(){n.dispatch({type:"continue"})},retry:(o=this.options.retry)!=null?o:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(n){var o=this;this.state=vre(this.state,n),Wt.batch(function(){o.observers.forEach(function(a){a.onMutationUpdate(n)}),o.mutationCache.notify(o)})},e}();function $4(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}function vre(e,t){switch(t.type){case"failed":return j({},e,{failureCount:e.failureCount+1});case"pause":return j({},e,{isPaused:!0});case"continue":return j({},e,{isPaused:!1});case"loading":return j({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return j({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return j({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return j({},e,t.state);default:return e}}var mre=function(e){Fi(t,e);function t(n){var o;return o=e.call(this)||this,o.config=n||{},o.mutations=[],o.mutationId=0,o}var r=t.prototype;return r.build=function(o,a,i){var s=new pre({mutationCache:this,mutationId:++this.mutationId,options:o.defaultMutationOptions(a),state:i,defaultOptions:a.mutationKey?o.getMutationDefaults(a.mutationKey):void 0,meta:a.meta});return this.add(s),s},r.add=function(o){this.mutations.push(o),this.notify(o)},r.remove=function(o){this.mutations=this.mutations.filter(function(a){return a!==o}),o.cancel(),this.notify(o)},r.clear=function(){var o=this;Wt.batch(function(){o.mutations.forEach(function(a){o.remove(a)})})},r.getAll=function(){return this.mutations},r.find=function(o){return typeof o.exact>"u"&&(o.exact=!0),this.mutations.find(function(a){return tA(o,a)})},r.findAll=function(o){return this.mutations.filter(function(a){return tA(o,a)})},r.notify=function(o){var a=this;Wt.batch(function(){a.listeners.forEach(function(i){i(o)})})},r.onFocus=function(){this.resumePausedMutations()},r.onOnline=function(){this.resumePausedMutations()},r.resumePausedMutations=function(){var o=this.mutations.filter(function(a){return a.state.isPaused});return Wt.batch(function(){return o.reduce(function(a,i){return a.then(function(){return i.continue().catch(Yr)})},Promise.resolve())})},t}(pd);function hre(){return{onFetch:function(t){t.fetchFn=function(){var r,n,o,a,i,s,c=(r=t.fetchOptions)==null||(n=r.meta)==null?void 0:n.refetchPage,l=(o=t.fetchOptions)==null||(a=o.meta)==null?void 0:a.fetchMore,f=l==null?void 0:l.pageParam,v=(l==null?void 0:l.direction)==="forward",m=(l==null?void 0:l.direction)==="backward",h=((i=t.state.data)==null?void 0:i.pages)||[],x=((s=t.state.data)==null?void 0:s.pageParams)||[],w=O4(),O=w==null?void 0:w.signal,b=x,g=!1,_=t.options.queryFn||function(){return Promise.reject("Missing queryFn")},$=function(U,H,q,G){return b=G?[H].concat(b):[].concat(b,[H]),G?[q].concat(U):[].concat(U,[q])},P=function(U,H,q,G){if(g)return Promise.reject("Cancelled");if(typeof q>"u"&&!H&&U.length)return Promise.resolve(U);var z={queryKey:t.queryKey,signal:O,pageParam:q,meta:t.meta},W=_(z),te=Promise.resolve(W).then(function(ee){return $(U,q,ee,G)});if(ay(W)){var ne=te;ne.cancel=W.cancel}return te},C;if(!h.length)C=P([]);else if(v){var k=typeof f<"u",R=k?f:oA(t.options,h);C=P(h,k,R)}else if(m){var I=typeof f<"u",A=I?f:gre(t.options,h);C=P(h,I,A,!0)}else(function(){b=[];var D=typeof t.options.getNextPageParam>"u",U=c&&h[0]?c(h[0],0,h):!0;C=U?P([],D,x[0]):Promise.resolve($([],x[0],h[0]));for(var H=function(z){C=C.then(function(W){var te=c&&h[z]?c(h[z],z,h):!0;if(te){var ne=D?x[z]:oA(t.options,W);return P(W,D,ne)}return Promise.resolve($(W,x[z],h[z]))})},q=1;q"u"&&(f.revert=!0);var v=Wt.batch(function(){return i.queryCache.findAll(c).map(function(m){return m.cancel(f)})});return Promise.all(v).then(Yr).catch(Yr)},t.invalidateQueries=function(n,o,a){var i,s,c,l=this,f=us(n,o,a),v=f[0],m=f[1],h=j({},v,{active:(i=(s=v.refetchActive)!=null?s:v.active)!=null?i:!0,inactive:(c=v.refetchInactive)!=null?c:!1});return Wt.batch(function(){return l.queryCache.findAll(v).forEach(function(x){x.invalidate()}),l.refetchQueries(h,m)})},t.refetchQueries=function(n,o,a){var i=this,s=us(n,o,a),c=s[0],l=s[1],f=Wt.batch(function(){return i.queryCache.findAll(c).map(function(m){return m.fetch(void 0,j({},l,{meta:{refetchPage:c==null?void 0:c.refetchPage}}))})}),v=Promise.all(f).then(Yr);return l!=null&&l.throwOnError||(v=v.catch(Yr)),v},t.fetchQuery=function(n,o,a){var i=Jh(n,o,a),s=this.defaultQueryOptions(i);typeof s.retry>"u"&&(s.retry=!1);var c=this.queryCache.build(this,s);return c.isStaleByTime(s.staleTime)?c.fetch(s):Promise.resolve(c.state.data)},t.prefetchQuery=function(n,o,a){return this.fetchQuery(n,o,a).then(Yr).catch(Yr)},t.fetchInfiniteQuery=function(n,o,a){var i=Jh(n,o,a);return i.behavior=hre(),this.fetchQuery(i)},t.prefetchInfiniteQuery=function(n,o,a){return this.fetchInfiniteQuery(n,o,a).then(Yr).catch(Yr)},t.cancelMutations=function(){var n=this,o=Wt.batch(function(){return n.mutationCache.getAll().map(function(a){return a.cancel()})});return Promise.all(o).then(Yr).catch(Yr)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(n){return this.mutationCache.build(this,n).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(n){this.defaultOptions=n},t.setQueryDefaults=function(n,o){var a=this.queryDefaults.find(function(i){return ys(n)===ys(i.queryKey)});a?a.defaultOptions=o:this.queryDefaults.push({queryKey:n,defaultOptions:o})},t.getQueryDefaults=function(n){var o;return n?(o=this.queryDefaults.find(function(a){return ny(n,a.queryKey)}))==null?void 0:o.defaultOptions:void 0},t.setMutationDefaults=function(n,o){var a=this.mutationDefaults.find(function(i){return ys(n)===ys(i.mutationKey)});a?a.defaultOptions=o:this.mutationDefaults.push({mutationKey:n,defaultOptions:o})},t.getMutationDefaults=function(n){var o;return n?(o=this.mutationDefaults.find(function(a){return ny(n,a.mutationKey)}))==null?void 0:o.defaultOptions:void 0},t.defaultQueryOptions=function(n){if(n!=null&&n._defaulted)return n;var o=j({},this.defaultOptions.queries,this.getQueryDefaults(n==null?void 0:n.queryKey),n,{_defaulted:!0});return!o.queryHash&&o.queryKey&&(o.queryHash=UE(o.queryKey,o)),o},t.defaultQueryObserverOptions=function(n){return this.defaultQueryOptions(n)},t.defaultMutationOptions=function(n){return n!=null&&n._defaulted?n:j({},this.defaultOptions.mutations,this.getMutationDefaults(n==null?void 0:n.mutationKey),n,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}(),bre=function(e){Fi(t,e);function t(n,o){var a;return a=e.call(this)||this,a.client=n,a.options=o,a.trackedProps=[],a.selectError=null,a.bindMethods(),a.setOptions(o),a}var r=t.prototype;return r.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},r.onSubscribe=function(){this.listeners.length===1&&(this.currentQuery.addObserver(this),aA(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},r.onUnsubscribe=function(){this.listeners.length||this.destroy()},r.shouldFetchOnReconnect=function(){return _S(this.currentQuery,this.options,this.options.refetchOnReconnect)},r.shouldFetchOnWindowFocus=function(){return _S(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},r.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},r.setOptions=function(o,a){var i=this.options,s=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(o),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=i.queryKey),this.updateQuery();var c=this.hasListeners();c&&iA(this.currentQuery,s,this.options,i)&&this.executeFetch(),this.updateResult(a),c&&(this.currentQuery!==s||this.options.enabled!==i.enabled||this.options.staleTime!==i.staleTime)&&this.updateStaleTimeout();var l=this.computeRefetchInterval();c&&(this.currentQuery!==s||this.options.enabled!==i.enabled||l!==this.currentRefetchInterval)&&this.updateRefetchInterval(l)},r.getOptimisticResult=function(o){var a=this.client.defaultQueryObserverOptions(o),i=this.client.getQueryCache().build(this.client,a);return this.createResult(i,a)},r.getCurrentResult=function(){return this.currentResult},r.trackResult=function(o,a){var i=this,s={},c=function(f){i.trackedProps.includes(f)||i.trackedProps.push(f)};return Object.keys(o).forEach(function(l){Object.defineProperty(s,l,{configurable:!1,enumerable:!0,get:function(){return c(l),o[l]}})}),(a.useErrorBoundary||a.suspense)&&c("error"),s},r.getNextResult=function(o){var a=this;return new Promise(function(i,s){var c=a.subscribe(function(l){l.isFetching||(c(),l.isError&&(o!=null&&o.throwOnError)?s(l.error):i(l))})})},r.getCurrentQuery=function(){return this.currentQuery},r.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},r.refetch=function(o){return this.fetch(j({},o,{meta:{refetchPage:o==null?void 0:o.refetchPage}}))},r.fetchOptimistic=function(o){var a=this,i=this.client.defaultQueryObserverOptions(o),s=this.client.getQueryCache().build(this.client,i);return s.fetch().then(function(){return a.createResult(s,i)})},r.fetch=function(o){var a=this;return this.executeFetch(o).then(function(){return a.updateResult(),a.currentResult})},r.executeFetch=function(o){this.updateQuery();var a=this.currentQuery.fetch(this.options,o);return o!=null&&o.throwOnError||(a=a.catch(Yr)),a},r.updateStaleTimeout=function(){var o=this;if(this.clearStaleTimeout(),!(ty||this.currentResult.isStale||!yS(this.options.staleTime))){var a=w4(this.currentResult.dataUpdatedAt,this.options.staleTime),i=a+1;this.staleTimeoutId=setTimeout(function(){o.currentResult.isStale||o.updateResult()},i)}},r.computeRefetchInterval=function(){var o;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(o=this.options.refetchInterval)!=null?o:!1},r.updateRefetchInterval=function(o){var a=this;this.clearRefetchInterval(),this.currentRefetchInterval=o,!(ty||this.options.enabled===!1||!yS(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(function(){(a.options.refetchIntervalInBackground||Xf.isFocused())&&a.executeFetch()},this.currentRefetchInterval))},r.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},r.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},r.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},r.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},r.createResult=function(o,a){var i=this.currentQuery,s=this.options,c=this.currentResult,l=this.currentResultState,f=this.currentResultOptions,v=o!==i,m=v?o.state:this.currentQueryInitialState,h=v?this.currentResult:this.previousQueryResult,x=o.state,w=x.dataUpdatedAt,O=x.error,b=x.errorUpdatedAt,g=x.isFetching,_=x.status,$=!1,P=!1,C;if(a.optimisticResults){var k=this.hasListeners(),R=!k&&aA(o,a),I=k&&iA(o,i,a,s);(R||I)&&(g=!0,w||(_="loading"))}if(a.keepPreviousData&&!x.dataUpdateCount&&(h!=null&&h.isSuccess)&&_!=="error")C=h.data,w=h.dataUpdatedAt,_=h.status,$=!0;else if(a.select&&typeof x.data<"u")if(c&&x.data===(l==null?void 0:l.data)&&a.select===this.selectFn)C=this.selectResult;else try{this.selectFn=a.select,C=a.select(x.data),a.structuralSharing!==!1&&(C=oy(c==null?void 0:c.data,C)),this.selectResult=C,this.selectError=null}catch(L){iy().error(L),this.selectError=L}else C=x.data;if(typeof a.placeholderData<"u"&&typeof C>"u"&&(_==="loading"||_==="idle")){var A;if(c!=null&&c.isPlaceholderData&&a.placeholderData===(f==null?void 0:f.placeholderData))A=c.data;else if(A=typeof a.placeholderData=="function"?a.placeholderData():a.placeholderData,a.select&&typeof A<"u")try{A=a.select(A),a.structuralSharing!==!1&&(A=oy(c==null?void 0:c.data,A)),this.selectError=null}catch(L){iy().error(L),this.selectError=L}typeof A<"u"&&(_="success",C=A,P=!0)}this.selectError&&(O=this.selectError,C=this.selectResult,b=Date.now(),_="error");var F={status:_,isLoading:_==="loading",isSuccess:_==="success",isError:_==="error",isIdle:_==="idle",data:C,dataUpdatedAt:w,error:O,errorUpdatedAt:b,failureCount:x.fetchFailureCount,errorUpdateCount:x.errorUpdateCount,isFetched:x.dataUpdateCount>0||x.errorUpdateCount>0,isFetchedAfterMount:x.dataUpdateCount>m.dataUpdateCount||x.errorUpdateCount>m.errorUpdateCount,isFetching:g,isRefetching:g&&_!=="loading",isLoadingError:_==="error"&&x.dataUpdatedAt===0,isPlaceholderData:P,isPreviousData:$,isRefetchError:_==="error"&&x.dataUpdatedAt!==0,isStale:VE(o,a),refetch:this.refetch,remove:this.remove};return F},r.shouldNotifyListeners=function(o,a){if(!a)return!0;var i=this.options,s=i.notifyOnChangeProps,c=i.notifyOnChangePropsExclusions;if(!s&&!c||s==="tracked"&&!this.trackedProps.length)return!0;var l=s==="tracked"?this.trackedProps:s;return Object.keys(o).some(function(f){var v=f,m=o[v]!==a[v],h=l==null?void 0:l.some(function(w){return w===f}),x=c==null?void 0:c.some(function(w){return w===f});return m&&!x&&(!l||h)})},r.updateResult=function(o){var a=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!ore(this.currentResult,a)){var i={cache:!0};(o==null?void 0:o.listeners)!==!1&&this.shouldNotifyListeners(this.currentResult,a)&&(i.listeners=!0),this.notify(j({},i,o))}},r.updateQuery=function(){var o=this.client.getQueryCache().build(this.client,this.options);if(o!==this.currentQuery){var a=this.currentQuery;this.currentQuery=o,this.currentQueryInitialState=o.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(a==null||a.removeObserver(this),o.addObserver(this))}},r.onQueryUpdate=function(o){var a={};o.type==="success"?a.onSuccess=!0:o.type==="error"&&!eg(o.error)&&(a.onError=!0),this.updateResult(a),this.hasListeners()&&this.updateTimers()},r.notify=function(o){var a=this;Wt.batch(function(){o.onSuccess?(a.options.onSuccess==null||a.options.onSuccess(a.currentResult.data),a.options.onSettled==null||a.options.onSettled(a.currentResult.data,null)):o.onError&&(a.options.onError==null||a.options.onError(a.currentResult.error),a.options.onSettled==null||a.options.onSettled(void 0,a.currentResult.error)),o.listeners&&a.listeners.forEach(function(i){i(a.currentResult)}),o.cache&&a.client.getQueryCache().notify({query:a.currentQuery,type:"observerResultsUpdated"})})},t}(pd);function _re(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function aA(e,t){return _re(e,t)||e.state.dataUpdatedAt>0&&_S(e,t,t.refetchOnMount)}function _S(e,t,r){if(t.enabled!==!1){var n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&VE(e,t)}return!1}function iA(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error")&&VE(e,r)}function VE(e,t){return e.isStaleByTime(t.staleTime)}var xre=function(e){Fi(t,e);function t(n,o){var a;return a=e.call(this)||this,a.client=n,a.setOptions(o),a.bindMethods(),a.updateResult(),a}var r=t.prototype;return r.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},r.setOptions=function(o){this.options=this.client.defaultMutationOptions(o)},r.onUnsubscribe=function(){if(!this.listeners.length){var o;(o=this.currentMutation)==null||o.removeObserver(this)}},r.onMutationUpdate=function(o){this.updateResult();var a={listeners:!0};o.type==="success"?a.onSuccess=!0:o.type==="error"&&(a.onError=!0),this.notify(a)},r.getCurrentResult=function(){return this.currentResult},r.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},r.mutate=function(o,a){return this.mutateOptions=a,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,j({},this.options,{variables:typeof o<"u"?o:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},r.updateResult=function(){var o=this.currentMutation?this.currentMutation.state:$4(),a=j({},o,{isLoading:o.status==="loading",isSuccess:o.status==="success",isError:o.status==="error",isIdle:o.status==="idle",mutate:this.mutate,reset:this.reset});this.currentResult=a},r.notify=function(o){var a=this;Wt.batch(function(){a.mutateOptions&&(o.onSuccess?(a.mutateOptions.onSuccess==null||a.mutateOptions.onSuccess(a.currentResult.data,a.currentResult.variables,a.currentResult.context),a.mutateOptions.onSettled==null||a.mutateOptions.onSettled(a.currentResult.data,null,a.currentResult.variables,a.currentResult.context)):o.onError&&(a.mutateOptions.onError==null||a.mutateOptions.onError(a.currentResult.error,a.currentResult.variables,a.currentResult.context),a.mutateOptions.onSettled==null||a.mutateOptions.onSettled(void 0,a.currentResult.error,a.currentResult.variables,a.currentResult.context))),o.listeners&&a.listeners.forEach(function(i){i(a.currentResult)})})},t}(pd),wre=Af.unstable_batchedUpdates;Wt.setBatchNotifyFunction(wre);var Sre=console;cre(Sre);var sA=fe.createContext(void 0),R4=fe.createContext(!1);function k4(e){return e&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=sA),window.ReactQueryClientContext):sA}var Jo=function(){var t=fe.useContext(k4(fe.useContext(R4)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Ore=function(t){var r=t.client,n=t.contextSharing,o=n===void 0?!1:n,a=t.children;fe.useEffect(function(){return r.mount(),function(){r.unmount()}},[r]);var i=k4(o);return fe.createElement(R4.Provider,{value:o},fe.createElement(i.Provider,{value:r},a))};function Cre(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var Ere=fe.createContext(Cre()),Pre=function(){return fe.useContext(Ere)};function T4(e,t,r){return typeof t=="function"?t.apply(void 0,r):typeof t=="boolean"?t:!!e}function au(e,t,r){var n=fe.useRef(!1),o=fe.useState(0),a=o[1],i=tre(e,t,r),s=Jo(),c=fe.useRef();c.current?c.current.setOptions(i):c.current=new xre(s,i);var l=c.current.getCurrentResult();fe.useEffect(function(){n.current=!0;var v=c.current.subscribe(Wt.batchCalls(function(){n.current&&a(function(m){return m+1})}));return function(){n.current=!1,v()}},[]);var f=fe.useCallback(function(v,m){c.current.mutate(v,m).catch(Yr)},[]);if(l.error&&T4(void 0,c.current.options.useErrorBoundary,[l.error]))throw l.error;return j({},l,{mutate:f,mutateAsync:l.mutate})}function $re(e,t){var r=fe.useRef(!1),n=fe.useState(0),o=n[1],a=Jo(),i=Pre(),s=a.defaultQueryObserverOptions(e);s.optimisticResults=!0,s.onError&&(s.onError=Wt.batchCalls(s.onError)),s.onSuccess&&(s.onSuccess=Wt.batchCalls(s.onSuccess)),s.onSettled&&(s.onSettled=Wt.batchCalls(s.onSettled)),s.suspense&&(typeof s.staleTime!="number"&&(s.staleTime=1e3),s.cacheTime===0&&(s.cacheTime=1)),(s.suspense||s.useErrorBoundary)&&(i.isReset()||(s.retryOnMount=!1));var c=fe.useState(function(){return new t(a,s)}),l=c[0],f=l.getOptimisticResult(s);if(fe.useEffect(function(){r.current=!0,i.clearReset();var v=l.subscribe(Wt.batchCalls(function(){r.current&&o(function(m){return m+1})}));return l.updateResult(),function(){r.current=!1,v()}},[i,l]),fe.useEffect(function(){l.setOptions(s,{listeners:!1})},[s,l]),s.suspense&&f.isLoading)throw l.fetchOptimistic(s).then(function(v){var m=v.data;s.onSuccess==null||s.onSuccess(m),s.onSettled==null||s.onSettled(m,null)}).catch(function(v){i.clearReset(),s.onError==null||s.onError(v),s.onSettled==null||s.onSettled(void 0,v)});if(f.isError&&!i.isReset()&&!f.isFetching&&T4(s.suspense,s.useErrorBoundary,[f.error,l.getCurrentQuery()]))throw f.error;return s.notifyOnChangeProps==="tracked"&&(f=l.trackResult(f,s)),f}function Ws(e,t,r){var n=Jh(e,t,r);return $re(n,bre)}/** +`+t.prev}function uh(e,t){var r=fS(e),n=[];if(r){n.length=e.length;for(var o=0;o"u")return"Undefined";if(typeof t=="function"||typeof t=="object")return"Object";if(typeof t=="number")return"Number";if(typeof t=="boolean")return"Boolean";if(typeof t=="string")return"String"},TZ=kZ,LE=function(t){return typeof t=="symbol"?"Symbol":typeof t=="bigint"?"BigInt":TZ(t)},Ij=Tn,IZ=dZ,jZ=X3,AZ=LE,Y3=function(t,r){if(AZ(t)!=="Object")throw new Ij("Assertion failed: Type(O) is not Object");if(!jZ(r))throw new Ij("Assertion failed: IsPropertyKey(P) is not true, got "+IZ(r));return t[r]},jj=Tn,MZ=X3,FZ=LE,LZ=function(t,r){if(FZ(t)!=="Object")throw new jj("Assertion failed: `O` must be an Object");if(!MZ(r))throw new jj("Assertion failed: `P` must be a Property Key");return r in t},J3=Function.prototype.toString,ac=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,vS,Qh;if(typeof ac=="function"&&typeof Object.defineProperty=="function")try{vS=Object.defineProperty({},"length",{get:function(){throw Qh}}),Qh={},ac(function(){throw 42},null,vS)}catch(e){e!==Qh&&(ac=null)}else ac=null;var NZ=/^\s*class\b/,mS=function(t){try{var r=J3.call(t);return NZ.test(r)}catch{return!1}},fx=function(t){try{return mS(t)?!1:(J3.call(t),!0)}catch{return!1}},Xh=Object.prototype.toString,DZ="[object Object]",BZ="[object Function]",zZ="[object GeneratorFunction]",UZ="[object HTMLAllCollection]",VZ="[object HTML document.all class]",WZ="[object HTMLCollection]",qZ=typeof Symbol=="function"&&!!Symbol.toStringTag,HZ=!(0 in[,]),hS=function(){return!1};if(typeof document=="object"){var GZ=document.all;Xh.call(GZ)===Xh.call(document.all)&&(hS=function(t){if((HZ||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=Xh.call(t);return(r===UZ||r===VZ||r===WZ||r===DZ)&&t("")==null}catch{}return!1})}var Z3=ac?function(t){if(hS(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{ac(t,null,vS)}catch(r){if(r!==Qh)return!1}return!mS(t)&&fx(t)}:function(t){if(hS(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(qZ)return fx(t);if(mS(t))return!1;var r=Xh.call(t);return r!==BZ&&r!==zZ&&!/^\[object HTML/.test(r)?!1:fx(t)},KZ=Z3,QZ=Number.MAX_SAFE_INTEGER||9007199254740991,px,Aj;function XZ(){return Aj||(Aj=1,px=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),px}var vx,Mj;function YZ(){return Mj||(Mj=1,vx=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),vx}var JZ=T3,NE=function(){return JZ()&&!!Symbol.toStringTag},mx,Fj;function ZZ(){if(Fj)return mx;Fj=1;var e=Date.prototype.getDay,t=function(i){try{return e.call(i),!0}catch{return!1}},r=Object.prototype.toString,n="[object Date]",o=NE();return mx=function(i){return typeof i!="object"||i===null?!1:o?t(i):r.call(i)===n},mx}var ch={exports:{}},Lj;function eee(){if(Lj)return ch.exports;Lj=1;var e=Object.prototype.toString,t=I3();if(t){var r=Symbol.prototype.toString,n=/^Symbol\(.*\)$/,o=function(i){return typeof i.valueOf()!="symbol"?!1:n.test(r.call(i))};ch.exports=function(i){if(typeof i=="symbol")return!0;if(e.call(i)!=="[object Symbol]")return!1;try{return o(i)}catch{return!1}}}else ch.exports=function(i){return!1};return ch.exports}var hx,Nj;function tee(){if(Nj)return hx;Nj=1;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",t=YZ(),r=Z3,n=ZZ(),o=eee(),a=function(c,l){if(typeof c>"u"||c===null)throw new TypeError("Cannot call method on "+c);if(typeof l!="string"||l!=="number"&&l!=="string")throw new TypeError('hint must be "string" or "number"');var f=l==="string"?["toString","valueOf"]:["valueOf","toString"],v,m,h;for(h=0;h1&&(arguments[1]===String?l="string":arguments[1]===Number&&(l="number"));var f;if(e&&(Symbol.toPrimitive?f=i(c,Symbol.toPrimitive):o(c)&&(f=Symbol.prototype.valueOf)),typeof f<"u"){var v=f.call(c,l);if(t(v))return v;throw new TypeError("unable to convert exotic object to primitive")}return l==="default"&&(n(c)||o(c))&&(l="string"),a(c,l==="default"?"number":l)},hx}var gx,Dj;function ree(){if(Dj)return gx;Dj=1;var e=tee();return gx=function(r){return arguments.length>1?e(r,arguments[1]):e(r)},gx}var yx,Bj;function nee(){if(Bj)return yx;Bj=1;var e=ji,t=NE(),r,n,o,a;if(t){r=e("Object.prototype.hasOwnProperty"),n=e("RegExp.prototype.exec"),o={};var i=function(){throw o};a={toString:i,valueOf:i},typeof Symbol.toPrimitive=="symbol"&&(a[Symbol.toPrimitive]=i)}var s=e("Object.prototype.toString"),c=Object.getOwnPropertyDescriptor,l="[object RegExp]";return yx=t?function(v){if(!v||typeof v!="object")return!1;var m=c(v,"lastIndex"),h=m&&r(m,"value");if(!h)return!1;try{n(v,a)}catch(x){return x===o}}:function(v){return!v||typeof v!="object"&&typeof v!="function"?!1:s(v)===l},yx}var bx,zj;function oee(){if(zj)return bx;zj=1;var e=ji,t=nee(),r=e("RegExp.prototype.exec"),n=Tn;return bx=function(a){if(!t(a))throw new n("`regex` must be a RegExp");return function(s){return r(a,s)!==null}},bx}var aee=Ja,iee=aee("%String%"),see=Tn,e4=function(t){if(typeof t=="symbol")throw new see("Cannot convert a Symbol value to a string");return iee(t)},lee=cv,uee=e4,cee=ji,Uj=cee("String.prototype.replace"),t4=/^\s$/.test("᠎"),dee=t4?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,fee=t4?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/,r4=function(){var t=uee(lee(this));return Uj(Uj(t,dee,""),fee,"")},pee=r4,Vj="​",Iu="᠎",n4=function(){return String.prototype.trim&&Vj.trim()===Vj&&Iu.trim()===Iu&&("_"+Iu).trim()==="_"+Iu&&(Iu+"_").trim()===Iu+"_"?String.prototype.trim:pee},vee=fd,mee=n4,hee=function(){var t=mee();return vee(String.prototype,{trim:t},{trim:function(){return String.prototype.trim!==t}}),t},gee=jb,yee=fd,bee=cv,_ee=r4,o4=n4,xee=hee,wee=gee(o4()),a4=function(t){return bee(t),wee(t)};yee(a4,{getPolyfill:o4,implementation:_ee,shim:xee});var i4=a4,_x,Wj;function See(){if(Wj)return _x;Wj=1;var e=Ja,t=e("%Number%"),r=e("%RegExp%"),n=Tn,o=e("%parseInt%"),a=ji,i=oee(),s=a("String.prototype.slice"),c=i(/^0b[01]+$/i),l=i(/^0o[0-7]+$/i),f=i(/^[-+]0x[0-9a-f]+$/i),v=["…","​","￾"].join(""),m=new r("["+v+"]","g"),h=i(m),x=i4;return _x=function w(O){if(typeof O!="string")throw new n("Assertion failed: `argument` is not a String");if(c(O))return t(o(s(O,2),2));if(l(O))return t(o(s(O,2),8));if(h(O)||f(O))return NaN;var b=x(O);return b!==O?w(b):t(O)},_x}var Oee=Ja,qj=Tn,Hj=Oee("%Number%"),Cee=XZ(),Eee=ree(),Pee=See(),$ee=function(t){var r=Cee(t)?t:Eee(t,Hj);if(typeof r=="symbol")throw new qj("Cannot convert a Symbol value to a number");if(typeof r=="bigint")throw new qj("Conversion from 'BigInt' to 'number' is not allowed.");return typeof r=="string"?Pee(r):Hj(r)},Ree=Math.floor,kee=function(t){return typeof t=="bigint"?t:Ree(t)},Gj=kee,Tee=Tn,Iee=function(t){if(typeof t!="number"&&typeof t!="bigint")throw new Tee("argument must be a Number or a BigInt");var r=t<0?-Gj(-t):Gj(t);return r===0?0:r},s4=Number.isNaN||function(t){return t!==t},jee=s4,Aee=function(e){return(typeof e=="number"||typeof e=="bigint")&&!jee(e)&&e!==1/0&&e!==-1/0},Mee=$ee,Fee=Iee,Lee=s4,Nee=Aee,Dee=function(t){var r=Mee(t);return Lee(r)||r===0?0:Nee(r)?Fee(r):r},Kj=QZ,Bee=Dee,zee=function(t){var r=Bee(t);return r<=0?0:r>Kj?Kj:r},Uee=Tn,Vee=Y3,Wee=zee,qee=LE,Hee=function(t){if(qee(t)!=="Object")throw new Uee("Assertion failed: `obj` must be an Object");return Wee(Vee(t,"length"))},Gee=Object,Kee=Gee,Qee=cv,Xee=function(t){return Qee(t),Kee(t)},Yee=String.prototype.valueOf,Jee=function(t){try{return Yee.call(t),!0}catch{return!1}},Zee=Object.prototype.toString,ete="[object String]",tte=NE(),rte=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:tte?Jee(t):Zee.call(t)===ete},nte=ji,ote=Tn,ate=JJ,ite=Y3,ste=LZ,lte=KZ,ute=Hee,cte=Xee,dte=e4,fte=rte,pte=nte("String.prototype.split"),Qj=Object("a"),vte=Qj[0]!=="a"||!(0 in Qj),l4=function(t){var r=cte(this),n=vte&&fte(this)?pte(this,""):r,o=ute(n);if(!lte(t))throw new ote("Array.prototype.forEach callback must be a function");var a;arguments.length>1&&(a=arguments[1]);for(var i=0;i=12&&t<=14)?1:2},_4={pluralTypes:{arabic:function(e){if(e<3)return e;var t=e%100;return t>=3&&t<=10?3:t>=11?4:5},bosnian_serbian:Sx,chinese:function(){return 0},croatian:Sx,french:function(e){return e>=2?1:0},german:function(e){return e!==1?1:0},russian:Sx,lithuanian:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=9&&(e%100<11||e%100>19)?1:2},czech:function(e){return e===1?0:e>=2&&e<=4?1:2},polish:function(e){if(e===1)return 0;var t=e%10;return 2<=t&&t<=4&&(e%100<10||e%100>=20)?1:2},icelandic:function(e){return e%10!==1||e%100===11?1:0},slovenian:function(e){var t=e%100;return t===1?0:t===2?1:t===3||t===4?2:3},romanian:function(e){if(e===1)return 0;var t=e%100;return e===0||t>=2&&t<=19?1:2}},pluralTypeToLanguages:{arabic:["ar"],bosnian_serbian:["bs-Latn-BA","bs-Cyrl-BA","srl-RS","sr-RS"],chinese:["id","id-ID","ja","ko","ko-KR","lo","ms","th","th-TH","zh"],croatian:["hr","hr-HR"],german:["fa","da","de","en","es","fi","el","he","hi-IN","hu","hu-HU","it","nl","no","pt","sv","tr"],french:["fr","tl","pt-br"],russian:["ru","ru-RU"],lithuanian:["lt"],czech:["cs","cs-CZ","sk"],polish:["pl"],icelandic:["is","mk"],slovenian:["sl-SL"],romanian:["ro"]}};function Wte(e){var t={};return ey(DE(e),function(r){var n=r[0],o=r[1];ey(o,function(a){t[a]=n})}),t}function qte(e,t){var r=Wte(e.pluralTypeToLanguages);return r[t]||r[b4.call(t,/-/,1)[0]]||r.en}function Hte(e,t,r){return e.pluralTypes[t](r)}function Gte(){var e={};return function(t,r){var n=e[r];return n&&!t.pluralTypes[n]&&(n=null,e[r]=n),n||(n=qte(t,r),n&&(e[r]=n)),n}}function Jj(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Kte(e){var t=e&&e.prefix||"%{",r=e&&e.suffix||"}";if(t===Yh||r===Yh)throw new RangeError('"'+Yh+'" token is reserved for pluralization');return new RegExp(Jj(t)+"(.*?)"+Jj(r),"g")}var Qte=Gte(),Xte=/%\{(.*?)\}/g;function BE(e,t,r,n,o,a){if(typeof e!="string")throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(t==null)return e;var i=e,s=n||Xte,c=a||y4,l=typeof t=="number"?{smart_count:t}:t;if(l.smart_count!=null&&e){var f=o||_4,v=b4.call(e,Yh),m=r||"en",h=Qte(f,m),x=Hte(f,h,l.smart_count);i=Ute(v[x]||v[0])}return i=c.call(i,s,function(w,O){return!g4(l,O)||l[O]==null?w:l[O]}),i}function Ai(e){var t=e||{};this.phrases={},this.extend(t.phrases||{}),this.currentLocale=t.locale||"en";var r=t.allowMissing?BE:null;this.onMissingKey=typeof t.onMissingKey=="function"?t.onMissingKey:r,this.warn=t.warn||Vte,this.replaceImplementation=t.replace||y4,this.tokenRegex=Kte(t.interpolation),this.pluralRules=t.pluralRules||_4}Ai.prototype.locale=function(e){return e&&(this.currentLocale=e),this.currentLocale};Ai.prototype.extend=function(e,t){ey(DE(e||{}),function(r){var n=r[0],o=r[1],a=t?t+"."+n:n;typeof o=="object"?this.extend(o,a):this.phrases[a]=o},this)};Ai.prototype.unset=function(e,t){typeof e=="string"?delete this.phrases[e]:ey(DE(e||{}),function(r){var n=r[0],o=r[1],a=t?t+"."+n:n;typeof o=="object"?this.unset(o,a):delete this.phrases[a]},this)};Ai.prototype.clear=function(){this.phrases={}};Ai.prototype.replace=function(e){this.clear(),this.extend(e)};Ai.prototype.t=function(e,t){var r,n,o=t??{};if(typeof this.phrases[e]=="string")r=this.phrases[e];else if(typeof o._=="string")r=o._;else if(this.onMissingKey){var a=this.onMissingKey;n=a(e,o,this.currentLocale,this.tokenRegex,this.pluralRules,this.replaceImplementation)}else this.warn('Missing translation for key: "'+e+'"'),n=e;return typeof r=="string"&&(n=BE(r,o,this.currentLocale,this.tokenRegex,this.pluralRules,this.replaceImplementation)),n};Ai.prototype.has=function(e){return g4(this.phrases,e)};Ai.transformPhrase=function(t,r,n){return BE(t,r,n)};var Yte=Ai;const Zj=gr(Yte);var ic=function(){return ic=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}();function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u";function Yr(){}function ere(e,t){return typeof e=="function"?e(t):e}function yS(e){return typeof e=="number"&&e>=0&&e!==1/0}function ry(e){return Array.isArray(e)?e:[e]}function w4(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Jh(e,t,r){return dv(e)?typeof t=="function"?j({},r,{queryKey:e,queryFn:t}):j({},t,{queryKey:e}):e}function tre(e,t,r){return dv(e)?typeof t=="function"?j({},r,{mutationKey:e,mutationFn:t}):j({},t,{mutationKey:e}):typeof e=="function"?j({},t,{mutationFn:e}):j({},e)}function us(e,t,r){return dv(e)?[j({},t,{queryKey:e}),r]:[e||{},t]}function rre(e,t){if(e===!0&&t===!0||e==null&&t==null)return"all";if(e===!1&&t===!1)return"none";var r=e??!t;return r?"active":"inactive"}function eA(e,t){var r=e.active,n=e.exact,o=e.fetching,a=e.inactive,i=e.predicate,s=e.queryKey,c=e.stale;if(dv(s)){if(n){if(t.queryHash!==UE(s,t.options))return!1}else if(!ny(t.queryKey,s))return!1}var l=rre(r,a);if(l==="none")return!1;if(l!=="all"){var f=t.isActive();if(l==="active"&&!f||l==="inactive"&&f)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||typeof o=="boolean"&&t.isFetching()!==o||i&&!i(t))}function tA(e,t){var r=e.exact,n=e.fetching,o=e.predicate,a=e.mutationKey;if(dv(a)){if(!t.options.mutationKey)return!1;if(r){if(ys(t.options.mutationKey)!==ys(a))return!1}else if(!ny(t.options.mutationKey,a))return!1}return!(typeof n=="boolean"&&t.state.status==="loading"!==n||o&&!o(t))}function UE(e,t){var r=(t==null?void 0:t.queryKeyHashFn)||ys;return r(e)}function ys(e){var t=ry(e);return nre(t)}function nre(e){return JSON.stringify(e,function(t,r){return bS(r)?Object.keys(r).sort().reduce(function(n,o){return n[o]=r[o],n},{}):r})}function ny(e,t){return S4(ry(e),ry(t))}function S4(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(function(r){return!S4(e[r],t[r])}):!1}function oy(e,t){if(e===t)return e;var r=Array.isArray(e)&&Array.isArray(t);if(r||bS(e)&&bS(t)){for(var n=r?e.length:Object.keys(e).length,o=r?t:Object.keys(t),a=o.length,i=r?[]:{},s=0,c=0;c"u")return!0;var r=t.prototype;return!(!rA(r)||!r.hasOwnProperty("isPrototypeOf"))}function rA(e){return Object.prototype.toString.call(e)==="[object Object]"}function dv(e){return typeof e=="string"||Array.isArray(e)}function are(e){return new Promise(function(t){setTimeout(t,e)})}function nA(e){Promise.resolve().then(e).catch(function(t){return setTimeout(function(){throw t})})}function O4(){if(typeof AbortController=="function")return new AbortController}var ire=function(e){Fi(t,e);function t(){var n;return n=e.call(this)||this,n.setup=function(o){var a;if(!ty&&((a=window)!=null&&a.addEventListener)){var i=function(){return o()};return window.addEventListener("visibilitychange",i,!1),window.addEventListener("focus",i,!1),function(){window.removeEventListener("visibilitychange",i),window.removeEventListener("focus",i)}}},n}var r=t.prototype;return r.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},r.onUnsubscribe=function(){if(!this.hasListeners()){var o;(o=this.cleanup)==null||o.call(this),this.cleanup=void 0}},r.setEventListener=function(o){var a,i=this;this.setup=o,(a=this.cleanup)==null||a.call(this),this.cleanup=o(function(s){typeof s=="boolean"?i.setFocused(s):i.onFocus()})},r.setFocused=function(o){this.focused=o,o&&this.onFocus()},r.onFocus=function(){this.listeners.forEach(function(o){o()})},r.isFocused=function(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)},t}(pd),Xf=new ire,sre=function(e){Fi(t,e);function t(){var n;return n=e.call(this)||this,n.setup=function(o){var a;if(!ty&&((a=window)!=null&&a.addEventListener)){var i=function(){return o()};return window.addEventListener("online",i,!1),window.addEventListener("offline",i,!1),function(){window.removeEventListener("online",i),window.removeEventListener("offline",i)}}},n}var r=t.prototype;return r.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},r.onUnsubscribe=function(){if(!this.hasListeners()){var o;(o=this.cleanup)==null||o.call(this),this.cleanup=void 0}},r.setEventListener=function(o){var a,i=this;this.setup=o,(a=this.cleanup)==null||a.call(this),this.cleanup=o(function(s){typeof s=="boolean"?i.setOnline(s):i.onOnline()})},r.setOnline=function(o){this.online=o,o&&this.onOnline()},r.onOnline=function(){this.listeners.forEach(function(o){o()})},r.isOnline=function(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine},t}(pd),Zh=new sre;function lre(e){return Math.min(1e3*Math.pow(2,e),3e4)}function ay(e){return typeof(e==null?void 0:e.cancel)=="function"}var C4=function(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent};function eg(e){return e instanceof C4}var E4=function(t){var r=this,n=!1,o,a,i,s;this.abort=t.abort,this.cancel=function(m){return o==null?void 0:o(m)},this.cancelRetry=function(){n=!0},this.continueRetry=function(){n=!1},this.continue=function(){return a==null?void 0:a()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise(function(m,h){i=m,s=h});var c=function(h){r.isResolved||(r.isResolved=!0,t.onSuccess==null||t.onSuccess(h),a==null||a(),i(h))},l=function(h){r.isResolved||(r.isResolved=!0,t.onError==null||t.onError(h),a==null||a(),s(h))},f=function(){return new Promise(function(h){a=h,r.isPaused=!0,t.onPause==null||t.onPause()}).then(function(){a=void 0,r.isPaused=!1,t.onContinue==null||t.onContinue()})},v=function m(){if(!r.isResolved){var h;try{h=t.fn()}catch(x){h=Promise.reject(x)}o=function(w){if(!r.isResolved&&(l(new C4(w)),r.abort==null||r.abort(),ay(h)))try{h.cancel()}catch{}},r.isTransportCancelable=ay(h),Promise.resolve(h).then(c).catch(function(x){var w,O;if(!r.isResolved){var b=(w=t.retry)!=null?w:3,g=(O=t.retryDelay)!=null?O:lre,_=typeof g=="function"?g(r.failureCount,x):g,$=b===!0||typeof b=="number"&&r.failureCount"u"&&(s.exact=!0),this.queries.find(function(c){return eA(s,c)})},r.findAll=function(o,a){var i=us(o,a),s=i[0];return Object.keys(s).length>0?this.queries.filter(function(c){return eA(s,c)}):this.queries},r.notify=function(o){var a=this;Wt.batch(function(){a.listeners.forEach(function(i){i(o)})})},r.onFocus=function(){var o=this;Wt.batch(function(){o.queries.forEach(function(a){a.onFocus()})})},r.onOnline=function(){var o=this;Wt.batch(function(){o.queries.forEach(function(a){a.onOnline()})})},t}(pd),pre=function(){function e(r){this.options=j({},r.defaultOptions,r.options),this.mutationId=r.mutationId,this.mutationCache=r.mutationCache,this.observers=[],this.state=r.state||$4(),this.meta=r.meta}var t=e.prototype;return t.setState=function(n){this.dispatch({type:"setState",state:n})},t.addObserver=function(n){this.observers.indexOf(n)===-1&&this.observers.push(n)},t.removeObserver=function(n){this.observers=this.observers.filter(function(o){return o!==n})},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(Yr).catch(Yr)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var n=this,o,a=this.state.status==="loading",i=Promise.resolve();return a||(this.dispatch({type:"loading",variables:this.options.variables}),i=i.then(function(){n.mutationCache.config.onMutate==null||n.mutationCache.config.onMutate(n.state.variables,n)}).then(function(){return n.options.onMutate==null?void 0:n.options.onMutate(n.state.variables)}).then(function(s){s!==n.state.context&&n.dispatch({type:"loading",context:s,variables:n.state.variables})})),i.then(function(){return n.executeMutation()}).then(function(s){o=s,n.mutationCache.config.onSuccess==null||n.mutationCache.config.onSuccess(o,n.state.variables,n.state.context,n)}).then(function(){return n.options.onSuccess==null?void 0:n.options.onSuccess(o,n.state.variables,n.state.context)}).then(function(){return n.options.onSettled==null?void 0:n.options.onSettled(o,null,n.state.variables,n.state.context)}).then(function(){return n.dispatch({type:"success",data:o}),o}).catch(function(s){return n.mutationCache.config.onError==null||n.mutationCache.config.onError(s,n.state.variables,n.state.context,n),iy().error(s),Promise.resolve().then(function(){return n.options.onError==null?void 0:n.options.onError(s,n.state.variables,n.state.context)}).then(function(){return n.options.onSettled==null?void 0:n.options.onSettled(void 0,s,n.state.variables,n.state.context)}).then(function(){throw n.dispatch({type:"error",error:s}),s})})},t.executeMutation=function(){var n=this,o;return this.retryer=new E4({fn:function(){return n.options.mutationFn?n.options.mutationFn(n.state.variables):Promise.reject("No mutationFn found")},onFail:function(){n.dispatch({type:"failed"})},onPause:function(){n.dispatch({type:"pause"})},onContinue:function(){n.dispatch({type:"continue"})},retry:(o=this.options.retry)!=null?o:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(n){var o=this;this.state=vre(this.state,n),Wt.batch(function(){o.observers.forEach(function(a){a.onMutationUpdate(n)}),o.mutationCache.notify(o)})},e}();function $4(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}function vre(e,t){switch(t.type){case"failed":return j({},e,{failureCount:e.failureCount+1});case"pause":return j({},e,{isPaused:!0});case"continue":return j({},e,{isPaused:!1});case"loading":return j({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return j({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return j({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return j({},e,t.state);default:return e}}var mre=function(e){Fi(t,e);function t(n){var o;return o=e.call(this)||this,o.config=n||{},o.mutations=[],o.mutationId=0,o}var r=t.prototype;return r.build=function(o,a,i){var s=new pre({mutationCache:this,mutationId:++this.mutationId,options:o.defaultMutationOptions(a),state:i,defaultOptions:a.mutationKey?o.getMutationDefaults(a.mutationKey):void 0,meta:a.meta});return this.add(s),s},r.add=function(o){this.mutations.push(o),this.notify(o)},r.remove=function(o){this.mutations=this.mutations.filter(function(a){return a!==o}),o.cancel(),this.notify(o)},r.clear=function(){var o=this;Wt.batch(function(){o.mutations.forEach(function(a){o.remove(a)})})},r.getAll=function(){return this.mutations},r.find=function(o){return typeof o.exact>"u"&&(o.exact=!0),this.mutations.find(function(a){return tA(o,a)})},r.findAll=function(o){return this.mutations.filter(function(a){return tA(o,a)})},r.notify=function(o){var a=this;Wt.batch(function(){a.listeners.forEach(function(i){i(o)})})},r.onFocus=function(){this.resumePausedMutations()},r.onOnline=function(){this.resumePausedMutations()},r.resumePausedMutations=function(){var o=this.mutations.filter(function(a){return a.state.isPaused});return Wt.batch(function(){return o.reduce(function(a,i){return a.then(function(){return i.continue().catch(Yr)})},Promise.resolve())})},t}(pd);function hre(){return{onFetch:function(t){t.fetchFn=function(){var r,n,o,a,i,s,c=(r=t.fetchOptions)==null||(n=r.meta)==null?void 0:n.refetchPage,l=(o=t.fetchOptions)==null||(a=o.meta)==null?void 0:a.fetchMore,f=l==null?void 0:l.pageParam,v=(l==null?void 0:l.direction)==="forward",m=(l==null?void 0:l.direction)==="backward",h=((i=t.state.data)==null?void 0:i.pages)||[],x=((s=t.state.data)==null?void 0:s.pageParams)||[],w=O4(),O=w==null?void 0:w.signal,b=x,g=!1,_=t.options.queryFn||function(){return Promise.reject("Missing queryFn")},$=function(U,H,q,G){return b=G?[H].concat(b):[].concat(b,[H]),G?[q].concat(U):[].concat(U,[q])},P=function(U,H,q,G){if(g)return Promise.reject("Cancelled");if(typeof q>"u"&&!H&&U.length)return Promise.resolve(U);var z={queryKey:t.queryKey,signal:O,pageParam:q,meta:t.meta},W=_(z),te=Promise.resolve(W).then(function(ee){return $(U,q,ee,G)});if(ay(W)){var ne=te;ne.cancel=W.cancel}return te},C;if(!h.length)C=P([]);else if(v){var k=typeof f<"u",R=k?f:oA(t.options,h);C=P(h,k,R)}else if(m){var I=typeof f<"u",A=I?f:gre(t.options,h);C=P(h,I,A,!0)}else(function(){b=[];var D=typeof t.options.getNextPageParam>"u",U=c&&h[0]?c(h[0],0,h):!0;C=U?P([],D,x[0]):Promise.resolve($([],x[0],h[0]));for(var H=function(z){C=C.then(function(W){var te=c&&h[z]?c(h[z],z,h):!0;if(te){var ne=D?x[z]:oA(t.options,W);return P(W,D,ne)}return Promise.resolve($(W,x[z],h[z]))})},q=1;q"u"&&(f.revert=!0);var v=Wt.batch(function(){return i.queryCache.findAll(c).map(function(m){return m.cancel(f)})});return Promise.all(v).then(Yr).catch(Yr)},t.invalidateQueries=function(n,o,a){var i,s,c,l=this,f=us(n,o,a),v=f[0],m=f[1],h=j({},v,{active:(i=(s=v.refetchActive)!=null?s:v.active)!=null?i:!0,inactive:(c=v.refetchInactive)!=null?c:!1});return Wt.batch(function(){return l.queryCache.findAll(v).forEach(function(x){x.invalidate()}),l.refetchQueries(h,m)})},t.refetchQueries=function(n,o,a){var i=this,s=us(n,o,a),c=s[0],l=s[1],f=Wt.batch(function(){return i.queryCache.findAll(c).map(function(m){return m.fetch(void 0,j({},l,{meta:{refetchPage:c==null?void 0:c.refetchPage}}))})}),v=Promise.all(f).then(Yr);return l!=null&&l.throwOnError||(v=v.catch(Yr)),v},t.fetchQuery=function(n,o,a){var i=Jh(n,o,a),s=this.defaultQueryOptions(i);typeof s.retry>"u"&&(s.retry=!1);var c=this.queryCache.build(this,s);return c.isStaleByTime(s.staleTime)?c.fetch(s):Promise.resolve(c.state.data)},t.prefetchQuery=function(n,o,a){return this.fetchQuery(n,o,a).then(Yr).catch(Yr)},t.fetchInfiniteQuery=function(n,o,a){var i=Jh(n,o,a);return i.behavior=hre(),this.fetchQuery(i)},t.prefetchInfiniteQuery=function(n,o,a){return this.fetchInfiniteQuery(n,o,a).then(Yr).catch(Yr)},t.cancelMutations=function(){var n=this,o=Wt.batch(function(){return n.mutationCache.getAll().map(function(a){return a.cancel()})});return Promise.all(o).then(Yr).catch(Yr)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(n){return this.mutationCache.build(this,n).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(n){this.defaultOptions=n},t.setQueryDefaults=function(n,o){var a=this.queryDefaults.find(function(i){return ys(n)===ys(i.queryKey)});a?a.defaultOptions=o:this.queryDefaults.push({queryKey:n,defaultOptions:o})},t.getQueryDefaults=function(n){var o;return n?(o=this.queryDefaults.find(function(a){return ny(n,a.queryKey)}))==null?void 0:o.defaultOptions:void 0},t.setMutationDefaults=function(n,o){var a=this.mutationDefaults.find(function(i){return ys(n)===ys(i.mutationKey)});a?a.defaultOptions=o:this.mutationDefaults.push({mutationKey:n,defaultOptions:o})},t.getMutationDefaults=function(n){var o;return n?(o=this.mutationDefaults.find(function(a){return ny(n,a.mutationKey)}))==null?void 0:o.defaultOptions:void 0},t.defaultQueryOptions=function(n){if(n!=null&&n._defaulted)return n;var o=j({},this.defaultOptions.queries,this.getQueryDefaults(n==null?void 0:n.queryKey),n,{_defaulted:!0});return!o.queryHash&&o.queryKey&&(o.queryHash=UE(o.queryKey,o)),o},t.defaultQueryObserverOptions=function(n){return this.defaultQueryOptions(n)},t.defaultMutationOptions=function(n){return n!=null&&n._defaulted?n:j({},this.defaultOptions.mutations,this.getMutationDefaults(n==null?void 0:n.mutationKey),n,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}(),bre=function(e){Fi(t,e);function t(n,o){var a;return a=e.call(this)||this,a.client=n,a.options=o,a.trackedProps=[],a.selectError=null,a.bindMethods(),a.setOptions(o),a}var r=t.prototype;return r.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},r.onSubscribe=function(){this.listeners.length===1&&(this.currentQuery.addObserver(this),aA(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},r.onUnsubscribe=function(){this.listeners.length||this.destroy()},r.shouldFetchOnReconnect=function(){return _S(this.currentQuery,this.options,this.options.refetchOnReconnect)},r.shouldFetchOnWindowFocus=function(){return _S(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},r.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},r.setOptions=function(o,a){var i=this.options,s=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(o),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=i.queryKey),this.updateQuery();var c=this.hasListeners();c&&iA(this.currentQuery,s,this.options,i)&&this.executeFetch(),this.updateResult(a),c&&(this.currentQuery!==s||this.options.enabled!==i.enabled||this.options.staleTime!==i.staleTime)&&this.updateStaleTimeout();var l=this.computeRefetchInterval();c&&(this.currentQuery!==s||this.options.enabled!==i.enabled||l!==this.currentRefetchInterval)&&this.updateRefetchInterval(l)},r.getOptimisticResult=function(o){var a=this.client.defaultQueryObserverOptions(o),i=this.client.getQueryCache().build(this.client,a);return this.createResult(i,a)},r.getCurrentResult=function(){return this.currentResult},r.trackResult=function(o,a){var i=this,s={},c=function(f){i.trackedProps.includes(f)||i.trackedProps.push(f)};return Object.keys(o).forEach(function(l){Object.defineProperty(s,l,{configurable:!1,enumerable:!0,get:function(){return c(l),o[l]}})}),(a.useErrorBoundary||a.suspense)&&c("error"),s},r.getNextResult=function(o){var a=this;return new Promise(function(i,s){var c=a.subscribe(function(l){l.isFetching||(c(),l.isError&&(o!=null&&o.throwOnError)?s(l.error):i(l))})})},r.getCurrentQuery=function(){return this.currentQuery},r.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},r.refetch=function(o){return this.fetch(j({},o,{meta:{refetchPage:o==null?void 0:o.refetchPage}}))},r.fetchOptimistic=function(o){var a=this,i=this.client.defaultQueryObserverOptions(o),s=this.client.getQueryCache().build(this.client,i);return s.fetch().then(function(){return a.createResult(s,i)})},r.fetch=function(o){var a=this;return this.executeFetch(o).then(function(){return a.updateResult(),a.currentResult})},r.executeFetch=function(o){this.updateQuery();var a=this.currentQuery.fetch(this.options,o);return o!=null&&o.throwOnError||(a=a.catch(Yr)),a},r.updateStaleTimeout=function(){var o=this;if(this.clearStaleTimeout(),!(ty||this.currentResult.isStale||!yS(this.options.staleTime))){var a=w4(this.currentResult.dataUpdatedAt,this.options.staleTime),i=a+1;this.staleTimeoutId=setTimeout(function(){o.currentResult.isStale||o.updateResult()},i)}},r.computeRefetchInterval=function(){var o;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(o=this.options.refetchInterval)!=null?o:!1},r.updateRefetchInterval=function(o){var a=this;this.clearRefetchInterval(),this.currentRefetchInterval=o,!(ty||this.options.enabled===!1||!yS(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(function(){(a.options.refetchIntervalInBackground||Xf.isFocused())&&a.executeFetch()},this.currentRefetchInterval))},r.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},r.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},r.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},r.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},r.createResult=function(o,a){var i=this.currentQuery,s=this.options,c=this.currentResult,l=this.currentResultState,f=this.currentResultOptions,v=o!==i,m=v?o.state:this.currentQueryInitialState,h=v?this.currentResult:this.previousQueryResult,x=o.state,w=x.dataUpdatedAt,O=x.error,b=x.errorUpdatedAt,g=x.isFetching,_=x.status,$=!1,P=!1,C;if(a.optimisticResults){var k=this.hasListeners(),R=!k&&aA(o,a),I=k&&iA(o,i,a,s);(R||I)&&(g=!0,w||(_="loading"))}if(a.keepPreviousData&&!x.dataUpdateCount&&(h!=null&&h.isSuccess)&&_!=="error")C=h.data,w=h.dataUpdatedAt,_=h.status,$=!0;else if(a.select&&typeof x.data<"u")if(c&&x.data===(l==null?void 0:l.data)&&a.select===this.selectFn)C=this.selectResult;else try{this.selectFn=a.select,C=a.select(x.data),a.structuralSharing!==!1&&(C=oy(c==null?void 0:c.data,C)),this.selectResult=C,this.selectError=null}catch(L){iy().error(L),this.selectError=L}else C=x.data;if(typeof a.placeholderData<"u"&&typeof C>"u"&&(_==="loading"||_==="idle")){var A;if(c!=null&&c.isPlaceholderData&&a.placeholderData===(f==null?void 0:f.placeholderData))A=c.data;else if(A=typeof a.placeholderData=="function"?a.placeholderData():a.placeholderData,a.select&&typeof A<"u")try{A=a.select(A),a.structuralSharing!==!1&&(A=oy(c==null?void 0:c.data,A)),this.selectError=null}catch(L){iy().error(L),this.selectError=L}typeof A<"u"&&(_="success",C=A,P=!0)}this.selectError&&(O=this.selectError,C=this.selectResult,b=Date.now(),_="error");var F={status:_,isLoading:_==="loading",isSuccess:_==="success",isError:_==="error",isIdle:_==="idle",data:C,dataUpdatedAt:w,error:O,errorUpdatedAt:b,failureCount:x.fetchFailureCount,errorUpdateCount:x.errorUpdateCount,isFetched:x.dataUpdateCount>0||x.errorUpdateCount>0,isFetchedAfterMount:x.dataUpdateCount>m.dataUpdateCount||x.errorUpdateCount>m.errorUpdateCount,isFetching:g,isRefetching:g&&_!=="loading",isLoadingError:_==="error"&&x.dataUpdatedAt===0,isPlaceholderData:P,isPreviousData:$,isRefetchError:_==="error"&&x.dataUpdatedAt!==0,isStale:VE(o,a),refetch:this.refetch,remove:this.remove};return F},r.shouldNotifyListeners=function(o,a){if(!a)return!0;var i=this.options,s=i.notifyOnChangeProps,c=i.notifyOnChangePropsExclusions;if(!s&&!c||s==="tracked"&&!this.trackedProps.length)return!0;var l=s==="tracked"?this.trackedProps:s;return Object.keys(o).some(function(f){var v=f,m=o[v]!==a[v],h=l==null?void 0:l.some(function(w){return w===f}),x=c==null?void 0:c.some(function(w){return w===f});return m&&!x&&(!l||h)})},r.updateResult=function(o){var a=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!ore(this.currentResult,a)){var i={cache:!0};(o==null?void 0:o.listeners)!==!1&&this.shouldNotifyListeners(this.currentResult,a)&&(i.listeners=!0),this.notify(j({},i,o))}},r.updateQuery=function(){var o=this.client.getQueryCache().build(this.client,this.options);if(o!==this.currentQuery){var a=this.currentQuery;this.currentQuery=o,this.currentQueryInitialState=o.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(a==null||a.removeObserver(this),o.addObserver(this))}},r.onQueryUpdate=function(o){var a={};o.type==="success"?a.onSuccess=!0:o.type==="error"&&!eg(o.error)&&(a.onError=!0),this.updateResult(a),this.hasListeners()&&this.updateTimers()},r.notify=function(o){var a=this;Wt.batch(function(){o.onSuccess?(a.options.onSuccess==null||a.options.onSuccess(a.currentResult.data),a.options.onSettled==null||a.options.onSettled(a.currentResult.data,null)):o.onError&&(a.options.onError==null||a.options.onError(a.currentResult.error),a.options.onSettled==null||a.options.onSettled(void 0,a.currentResult.error)),o.listeners&&a.listeners.forEach(function(i){i(a.currentResult)}),o.cache&&a.client.getQueryCache().notify({query:a.currentQuery,type:"observerResultsUpdated"})})},t}(pd);function _re(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function aA(e,t){return _re(e,t)||e.state.dataUpdatedAt>0&&_S(e,t,t.refetchOnMount)}function _S(e,t,r){if(t.enabled!==!1){var n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&VE(e,t)}return!1}function iA(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error")&&VE(e,r)}function VE(e,t){return e.isStaleByTime(t.staleTime)}var xre=function(e){Fi(t,e);function t(n,o){var a;return a=e.call(this)||this,a.client=n,a.setOptions(o),a.bindMethods(),a.updateResult(),a}var r=t.prototype;return r.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},r.setOptions=function(o){this.options=this.client.defaultMutationOptions(o)},r.onUnsubscribe=function(){if(!this.listeners.length){var o;(o=this.currentMutation)==null||o.removeObserver(this)}},r.onMutationUpdate=function(o){this.updateResult();var a={listeners:!0};o.type==="success"?a.onSuccess=!0:o.type==="error"&&(a.onError=!0),this.notify(a)},r.getCurrentResult=function(){return this.currentResult},r.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},r.mutate=function(o,a){return this.mutateOptions=a,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,j({},this.options,{variables:typeof o<"u"?o:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},r.updateResult=function(){var o=this.currentMutation?this.currentMutation.state:$4(),a=j({},o,{isLoading:o.status==="loading",isSuccess:o.status==="success",isError:o.status==="error",isIdle:o.status==="idle",mutate:this.mutate,reset:this.reset});this.currentResult=a},r.notify=function(o){var a=this;Wt.batch(function(){a.mutateOptions&&(o.onSuccess?(a.mutateOptions.onSuccess==null||a.mutateOptions.onSuccess(a.currentResult.data,a.currentResult.variables,a.currentResult.context),a.mutateOptions.onSettled==null||a.mutateOptions.onSettled(a.currentResult.data,null,a.currentResult.variables,a.currentResult.context)):o.onError&&(a.mutateOptions.onError==null||a.mutateOptions.onError(a.currentResult.error,a.currentResult.variables,a.currentResult.context),a.mutateOptions.onSettled==null||a.mutateOptions.onSettled(void 0,a.currentResult.error,a.currentResult.variables,a.currentResult.context))),o.listeners&&a.listeners.forEach(function(i){i(a.currentResult)})})},t}(pd),wre=Af.unstable_batchedUpdates;Wt.setBatchNotifyFunction(wre);var Sre=console;cre(Sre);var sA=fe.createContext(void 0),R4=fe.createContext(!1);function k4(e){return e&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=sA),window.ReactQueryClientContext):sA}var Jo=function(){var t=fe.useContext(k4(fe.useContext(R4)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Ore=function(t){var r=t.client,n=t.contextSharing,o=n===void 0?!1:n,a=t.children;fe.useEffect(function(){return r.mount(),function(){r.unmount()}},[r]);var i=k4(o);return fe.createElement(R4.Provider,{value:o},fe.createElement(i.Provider,{value:r},a))};function Cre(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var Ere=fe.createContext(Cre()),Pre=function(){return fe.useContext(Ere)};function T4(e,t,r){return typeof t=="function"?t.apply(void 0,r):typeof t=="boolean"?t:!!e}function au(e,t,r){var n=fe.useRef(!1),o=fe.useState(0),a=o[1],i=tre(e,t,r),s=Jo(),c=fe.useRef();c.current?c.current.setOptions(i):c.current=new xre(s,i);var l=c.current.getCurrentResult();fe.useEffect(function(){n.current=!0;var v=c.current.subscribe(Wt.batchCalls(function(){n.current&&a(function(m){return m+1})}));return function(){n.current=!1,v()}},[]);var f=fe.useCallback(function(v,m){c.current.mutate(v,m).catch(Yr)},[]);if(l.error&&T4(void 0,c.current.options.useErrorBoundary,[l.error]))throw l.error;return j({},l,{mutate:f,mutateAsync:l.mutate})}function $re(e,t){var r=fe.useRef(!1),n=fe.useState(0),o=n[1],a=Jo(),i=Pre(),s=a.defaultQueryObserverOptions(e);s.optimisticResults=!0,s.onError&&(s.onError=Wt.batchCalls(s.onError)),s.onSuccess&&(s.onSuccess=Wt.batchCalls(s.onSuccess)),s.onSettled&&(s.onSettled=Wt.batchCalls(s.onSettled)),s.suspense&&(typeof s.staleTime!="number"&&(s.staleTime=1e3),s.cacheTime===0&&(s.cacheTime=1)),(s.suspense||s.useErrorBoundary)&&(i.isReset()||(s.retryOnMount=!1));var c=fe.useState(function(){return new t(a,s)}),l=c[0],f=l.getOptimisticResult(s);if(fe.useEffect(function(){r.current=!0,i.clearReset();var v=l.subscribe(Wt.batchCalls(function(){r.current&&o(function(m){return m+1})}));return l.updateResult(),function(){r.current=!1,v()}},[i,l]),fe.useEffect(function(){l.setOptions(s,{listeners:!1})},[s,l]),s.suspense&&f.isLoading)throw l.fetchOptimistic(s).then(function(v){var m=v.data;s.onSuccess==null||s.onSuccess(m),s.onSettled==null||s.onSettled(m,null)}).catch(function(v){i.clearReset(),s.onError==null||s.onError(v),s.onSettled==null||s.onSettled(void 0,v)});if(f.isError&&!i.isReset()&&!f.isFetching&&T4(s.suspense,s.useErrorBoundary,[f.error,l.getCurrentQuery()]))throw f.error;return s.notifyOnChangeProps==="tracked"&&(f=l.trackResult(f,s)),f}function Ws(e,t,r){var n=Jh(e,t,r);return $re(n,bre)}/** * @remix-run/router v1.18.0 * * Copyright (c) Remix Software Inc. @@ -118,7 +118,7 @@ React-admin requires a valid dataProvider function to work.`);var v=d.useMemo(fu * * @fileoverview * A port of inflection-js to node.js module. - */(function(e,t){(function(r,n){e.exports=n()})(ao,function(){var r=["accommodation","adulthood","advertising","advice","aggression","aid","air","aircraft","alcohol","anger","applause","arithmetic","assistance","athletics","bacon","baggage","beef","biology","blood","botany","bread","butter","carbon","cardboard","cash","chalk","chaos","chess","crossroads","countryside","dancing","deer","dignity","dirt","dust","economics","education","electricity","engineering","enjoyment","envy","equipment","ethics","evidence","evolution","fame","fiction","flour","flu","food","fuel","fun","furniture","gallows","garbage","garlic","genetics","gold","golf","gossip","grammar","gratitude","grief","guilt","gymnastics","happiness","hardware","harm","hate","hatred","health","heat","help","homework","honesty","honey","hospitality","housework","humour","hunger","hydrogen","ice","importance","inflation","information","innocence","iron","irony","jam","jewelry","judo","karate","knowledge","lack","laughter","lava","leather","leisure","lightning","linguine","linguini","linguistics","literature","litter","livestock","logic","loneliness","luck","luggage","macaroni","machinery","magic","management","mankind","marble","mathematics","mayonnaise","measles","methane","milk","minus","money","mud","music","mumps","nature","news","nitrogen","nonsense","nurture","nutrition","obedience","obesity","oxygen","pasta","patience","physics","poetry","pollution","poverty","pride","psychology","publicity","punctuation","quartz","racism","relaxation","reliability","research","respect","revenge","rice","rubbish","rum","safety","scenery","seafood","seaside","series","shame","sheep","shopping","sleep","smoke","smoking","snow","soap","software","soil","spaghetti","species","steam","stuff","stupidity","sunshine","symmetry","tennis","thirst","thunder","timber","traffic","transportation","trust","underwear","unemployment","unity","validity","veal","vegetation","vegetarianism","vengeance","violence","vitality","warmth","wealth","weather","welfare","wheat","wildlife","wisdom","yoga","zinc","zoology"],n={plural:{men:new RegExp("^(m|wom)en$","gi"),people:new RegExp("(pe)ople$","gi"),children:new RegExp("(child)ren$","gi"),tia:new RegExp("([ti])a$","gi"),analyses:new RegExp("((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$","gi"),hives:new RegExp("(hi|ti)ves$","gi"),curves:new RegExp("(curve)s$","gi"),lrves:new RegExp("([lr])ves$","gi"),aves:new RegExp("([a])ves$","gi"),foves:new RegExp("([^fo])ves$","gi"),movies:new RegExp("(m)ovies$","gi"),aeiouyies:new RegExp("([^aeiouy]|qu)ies$","gi"),series:new RegExp("(s)eries$","gi"),xes:new RegExp("(x|ch|ss|sh)es$","gi"),mice:new RegExp("([m|l])ice$","gi"),buses:new RegExp("(bus)es$","gi"),oes:new RegExp("(o)es$","gi"),shoes:new RegExp("(shoe)s$","gi"),crises:new RegExp("(cris|ax|test)es$","gi"),octopi:new RegExp("(octop|vir)i$","gi"),aliases:new RegExp("(alias|canvas|status|campus)es$","gi"),summonses:new RegExp("^(summons)es$","gi"),oxen:new RegExp("^(ox)en","gi"),matrices:new RegExp("(matr)ices$","gi"),vertices:new RegExp("(vert|ind)ices$","gi"),feet:new RegExp("^feet$","gi"),teeth:new RegExp("^teeth$","gi"),geese:new RegExp("^geese$","gi"),quizzes:new RegExp("(quiz)zes$","gi"),whereases:new RegExp("^(whereas)es$","gi"),criteria:new RegExp("^(criteri)a$","gi"),genera:new RegExp("^genera$","gi"),ss:new RegExp("ss$","gi"),s:new RegExp("s$","gi")},singular:{man:new RegExp("^(m|wom)an$","gi"),person:new RegExp("(pe)rson$","gi"),child:new RegExp("(child)$","gi"),ox:new RegExp("^(ox)$","gi"),axis:new RegExp("(ax|test)is$","gi"),octopus:new RegExp("(octop|vir)us$","gi"),alias:new RegExp("(alias|status|canvas|campus)$","gi"),summons:new RegExp("^(summons)$","gi"),bus:new RegExp("(bu)s$","gi"),buffalo:new RegExp("(buffal|tomat|potat)o$","gi"),tium:new RegExp("([ti])um$","gi"),sis:new RegExp("sis$","gi"),ffe:new RegExp("(?:([^f])fe|([lr])f)$","gi"),hive:new RegExp("(hi|ti)ve$","gi"),aeiouyy:new RegExp("([^aeiouy]|qu)y$","gi"),x:new RegExp("(x|ch|ss|sh)$","gi"),matrix:new RegExp("(matr)ix$","gi"),vertex:new RegExp("(vert|ind)ex$","gi"),mouse:new RegExp("([m|l])ouse$","gi"),foot:new RegExp("^foot$","gi"),tooth:new RegExp("^tooth$","gi"),goose:new RegExp("^goose$","gi"),quiz:new RegExp("(quiz)$","gi"),whereas:new RegExp("^(whereas)$","gi"),criterion:new RegExp("^(criteri)on$","gi"),genus:new RegExp("^genus$","gi"),s:new RegExp("s$","gi"),common:new RegExp("$","gi")}},o=[[n.plural.men],[n.plural.people],[n.plural.children],[n.plural.tia],[n.plural.analyses],[n.plural.hives],[n.plural.curves],[n.plural.lrves],[n.plural.foves],[n.plural.aeiouyies],[n.plural.series],[n.plural.movies],[n.plural.xes],[n.plural.mice],[n.plural.buses],[n.plural.oes],[n.plural.shoes],[n.plural.crises],[n.plural.octopi],[n.plural.aliases],[n.plural.summonses],[n.plural.oxen],[n.plural.matrices],[n.plural.feet],[n.plural.teeth],[n.plural.geese],[n.plural.quizzes],[n.plural.whereases],[n.plural.criteria],[n.plural.genera],[n.singular.man,"$1en"],[n.singular.person,"$1ople"],[n.singular.child,"$1ren"],[n.singular.ox,"$1en"],[n.singular.axis,"$1es"],[n.singular.octopus,"$1i"],[n.singular.alias,"$1es"],[n.singular.summons,"$1es"],[n.singular.bus,"$1ses"],[n.singular.buffalo,"$1oes"],[n.singular.tium,"$1a"],[n.singular.sis,"ses"],[n.singular.ffe,"$1$2ves"],[n.singular.hive,"$1ves"],[n.singular.aeiouyy,"$1ies"],[n.singular.matrix,"$1ices"],[n.singular.vertex,"$1ices"],[n.singular.x,"$1es"],[n.singular.mouse,"$1ice"],[n.singular.foot,"feet"],[n.singular.tooth,"teeth"],[n.singular.goose,"geese"],[n.singular.quiz,"$1zes"],[n.singular.whereas,"$1es"],[n.singular.criterion,"$1a"],[n.singular.genus,"genera"],[n.singular.s,"s"],[n.singular.common,"s"]],a=[[n.singular.man],[n.singular.person],[n.singular.child],[n.singular.ox],[n.singular.axis],[n.singular.octopus],[n.singular.alias],[n.singular.summons],[n.singular.bus],[n.singular.buffalo],[n.singular.tium],[n.singular.sis],[n.singular.ffe],[n.singular.hive],[n.singular.aeiouyy],[n.singular.x],[n.singular.matrix],[n.singular.mouse],[n.singular.foot],[n.singular.tooth],[n.singular.goose],[n.singular.quiz],[n.singular.whereas],[n.singular.criterion],[n.singular.genus],[n.plural.men,"$1an"],[n.plural.people,"$1rson"],[n.plural.children,"$1"],[n.plural.genera,"genus"],[n.plural.criteria,"$1on"],[n.plural.tia,"$1um"],[n.plural.analyses,"$1$2sis"],[n.plural.hives,"$1ve"],[n.plural.curves,"$1"],[n.plural.lrves,"$1f"],[n.plural.aves,"$1ve"],[n.plural.foves,"$1fe"],[n.plural.movies,"$1ovie"],[n.plural.aeiouyies,"$1y"],[n.plural.series,"$1eries"],[n.plural.xes,"$1"],[n.plural.mice,"$1ouse"],[n.plural.buses,"$1"],[n.plural.oes,"$1"],[n.plural.shoes,"$1"],[n.plural.crises,"$1is"],[n.plural.octopi,"$1us"],[n.plural.aliases,"$1"],[n.plural.summonses,"$1"],[n.plural.oxen,"$1"],[n.plural.matrices,"$1ix"],[n.plural.vertices,"$1ex"],[n.plural.feet,"foot"],[n.plural.teeth,"tooth"],[n.plural.geese,"goose"],[n.plural.quizzes,"$1"],[n.plural.whereases,"$1"],[n.plural.ss,"ss"],[n.plural.s,""]],i=["and","or","nor","a","an","the","so","but","to","of","at","by","from","into","on","onto","off","out","in","over","with","for"],s=new RegExp("(_ids|_id)$","g"),c=new RegExp("_","g"),l=new RegExp("[ _]","g"),f=new RegExp("([A-Z])","g"),v=new RegExp("^_"),m={_apply_rules:function(h,x,w,O){if(O)h=O;else{var b=m.indexOf(w,h.toLowerCase())>-1;if(!b){for(var g=0,_=x.length;g<_;g++)if(h.match(x[g][0])){x[g][1]!==void 0&&(h=h.replace(x[g][0],x[g][1]));break}}}return h},indexOf:function(h,x,w,O){w||(w=-1);for(var b=-1,g=w,_=h.length;g<_;g++)if(h[g]===x||O&&O(h[g],x)){b=g;break}return b},pluralize:function(h,x){return m._apply_rules(h,o,r,x)},singularize:function(h,x){return m._apply_rules(h,a,r,x)},inflect:function(h,x,w,O){return x=parseInt(x,10),isNaN(x)?h:x===0||x>1?m._apply_rules(h,o,r,O):m._apply_rules(h,a,r,w)},camelize:function(h,x){for(var w=h.split("/"),O=0,b=w.length,g,_,$,P;O1?js.pluralize(r):js.singularize(r))});return a}},Ct=function(e){var t=d.useContext(VB);return e&&e.resource||t},Di=function(e){var t=Ct(e),r=a0(),n=e||{},o=n.hasCreate,a=n.hasEdit,i=n.hasList,s=n.hasShow,c=n.recordRepresentation,l=d.useMemo(function(){return su({},{hasCreate:o,hasEdit:a,hasList:i,hasShow:s,recordRepresentation:c},r[t])},[t,r,o,a,i,s,c]);return l},i0=function(e){var t=Di({resource:e}).recordRepresentation;return d.useCallback(function(r){return r?typeof t=="function"?t(r):typeof t=="string"?vt(r,t):d.isValidElement(t)?t:"#".concat(r.id):""},[t])},je=function(){var e=bP(),t=d.useCallback(function(r,n){return e.translate(r,n)},[e]);return e?t:Bbe},Bbe=function(e){return e},qB=function(){var e=je(),t=KB(),r=Ct();return d.useCallback(function(n){var o=n.source,a=n.label,i=n.resource;return a===!1||a===""?null:a&&typeof a!="string"?a:e.apply(void 0,Ube({label:a,prefix:t,resource:i,resourceFromContext:r,source:o}))},[t,r,e])},zbe="en",HB=function(e){var t=e.source,r=e.label,n=e.resource,o=e.isRequired,a=qB();if(r===!0)throw new Error("Label parameter must be a string, a ReactElement or false");return r===!1||r===""?null:r&&typeof r!="string"?r:d.createElement("span",null,a({label:r,resource:n,source:t}),o&&d.createElement("span",{"aria-hidden":"true"}," *"))};HB.displayName="FieldTitle";const Ho=d.memo(HB),Ube=function(e){if(!e)return[""];var t=e.label,r=e.prefix,n=e.resource,o=e.resourceFromContext,a=e.source;if(typeof t<"u")return[t,{_:t}];if(typeof a>"u")return[""];var i=Vbe(a),s=i.sourceWithoutDigits,c=i.sourceSuffix,l=js.transform(c.replace(/\./g," "),["underscore","humanize"]);return n?["resources.".concat(n,".fields.").concat(s),{_:l}]:r?["".concat(r,".").concat(s),{_:l}]:["resources.".concat(o,".fields.").concat(s),{_:l}]};var Vbe=function(e){var t=e.replace(/\.\d+\./g,"."),r=e.split("."),n;r.forEach(function(a,i){Wbe(a)&&(n=i)});var o=n!=null?r.slice(n+1).join("."):e;return{sourceWithoutDigits:t,sourceSuffix:o}},Wbe=function(e){for(var t=e.length-1;t>=0;t--){var r=e.charCodeAt(t);if(r<48||r>57)return!1}return!0};const s0=function(e,t,r){if(e[t]&&!UB.isValidElementType(e[t]))return new Error("Invalid prop '".concat(t,"' supplied to '").concat(r,"': the prop is not a valid React component"))},qbe=function(){return d.createElement("span",null)},LP=function(e,t){};var Hbe=typeof window<"u"?d.useLayoutEffect:d.useEffect,Jl=function(e){var t=d.useRef(function(){throw new Error("Cannot call an event handler while rendering.")});return Hbe(function(){t.current=e}),d.useCallback(function(){for(var r=[],n=0;n"u"?t:m)});return function(){return v()}},[e,a,t,n,s]);var l=Jl(function(f,v){var m=typeof f=="function"?f(s):f;o(e,typeof m>"u"?typeof v>"u"?t:v:m)});return[s,l]},Gbe=function(e){var t=qb().removeItem;return d.useCallback(function(r){if(typeof r>"u"&&typeof e>"u")throw new Error("You must provide a key to remove an item from the store");return t(r??e)},[t,e])},Kbe=function(e){var t=qb().removeItems;return d.useCallback(function(r){if(typeof r>"u"&&typeof e>"u")throw new Error("You must provide a key to remove an item from the store");return t(r??e)},[t,e])},Qbe=function(){var e=qb().reset;return e},Pd=function(){var e=Mi(),t=Jo(),r=Qbe(),n=ei(),o=d.useRef(n),a=Lr(),i=d.useRef(a),s=Hs(),c=Ma("".concat(s,"/").concat(Ab.loginUrl));d.useEffect(function(){i.current=a,o.current=n},[a,n]);var l=d.useCallback(function(v,m,h){return v===void 0&&(v={}),m===void 0&&(m=c),h===void 0&&(h=!0),e.logout(v).then(function(x){if(x===!1||m===!1){r(),t.clear();return}var w=x||m;if(w!=null&&w.startsWith("http"))return r(),t.clear(),window.location.href=w,w;var O=w.split("?"),b={pathname:O[0]},g={};return h&&i.current&&i.current.pathname&&(g={state:{nextPathname:i.current.pathname,nextSearch:i.current.search}}),O[1]&&(b.search=O[1]),o.current(b,g),r(),t.clear(),x})},[e,r,c,t]),f=d.useCallback(function(v){return n({pathname:c},{state:{nextPathname:a&&a.pathname}}),r(),t.clear(),Promise.resolve()},[r,a,n,c,t]);return e?l:f},US=function(){return US=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"u"||!e.message?t:e.message},VS=function(){return VS=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]"),$d(t);var i=YB(t).permissions;if(o)return d.createElement(o,tp({permissions:i},a));if(n)return n(tp({permissions:i},a));if(r)return r(tp({permissions:i},a))},JB=function(){var e=Mi(),t=Lr(),r=t.state,n=ei(),o=Hs(),a=f5().resetNotifications,i=r&&r.nextPathname,s=r&&r.nextSearch,c=Ma("".concat(o,"/").concat(Ab.afterLoginUrl)),l=d.useCallback(function(v,m){return v===void 0&&(v={}),e.login(v).then(function(h){if(a(),h&&h.hasOwnProperty("redirectTo"))h&&n(h.redirectTo);else{var x=m||i+s||c;n(x)}return h})},[e,n,i,s,a,c]),f=d.useCallback(function(v,m){return a(),n(c),Promise.resolve()},[n,a,c]);return e?l:f},a0e="AUTH_LOGIN",i0e="AUTH_CHECK",s0e="AUTH_ERROR",l0e="AUTH_LOGOUT",u0e="AUTH_GET_PERMISSIONS";const c0e=function(e){var t=function(){for(var r=[],n=0;n"u"||!e.message?t:e.message},WS=function(){return WS=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]? If you don't want to use Configurable, you can use the useStore hook instead.");return pn(r&&e?"".concat(r,".").concat(e):r??e,t)},NP=function(){return d.useContext(TB)},w0e=function(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]a.current&&t&&(a.current=n,Object.keys(o).length>0&&i("ra.message.invalid_form",{type:"error"}))},[o,n,i,t])},N0e=function(e,t,r){var n=d.useContext(Li).navigator,o=Lr(),a=je(),i=Cd(r?{control:r}:void 0),s=i.isSubmitSuccessful,c=i.isSubmitting,l=i.dirtyFields,f=Object.keys(l).length>0,v=d.useRef(t||o.pathname);d.useEffect(function(){if(!(!e||!f)&&n.block){var m=n.block(function(h){var x=h.location.pathname.startsWith(v.current),w=h.location.pathname.startsWith("".concat(v.current,"/show")),O=x&&!w;!c&&(O||s||window.confirm(a("ra.message.unsaved_changes")))?(m(),h.retry()):c&&setTimeout(function(){h.retry()},100)});return m}},[e,o,n,f,c,s,a])},D0e=function(e,t){t===void 0&&(t={});var r={};return Object.keys(e).forEach(function(n){e[n]==null||e[n]===""?t.hasOwnProperty(n)&&(r[n]=null):r[n]=e[n]}),r},QS=function(){return QS=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,Ks=function(e){return typeof e>"u"||e===null||e===""||Array.isArray(e)&&e.length===0};function q0e(e){return e?e.hasOwnProperty("message"):!1}var Qs=function(e,t,r,n){return typeof e=="function"?e({args:t,value:r,values:n}):t?{message:e,args:t}:e},Xs=function(e){return G4(e,function(){for(var t=[],r=0;re?Qs(t,{max:e},r,n):void 0}});Xs(function(e,t){return t===void 0&&(t="ra.validation.minValue"),function(r,n){return!Ks(r)&&re?Qs(t,{max:e},r,n):void 0}}),lz=Xs(function(e){return e===void 0&&(e="ra.validation.number"),function(t,r){return!Ks(t)&&isNaN(Number(t))?Qs(e,void 0,t,r):void 0}}),DP=G4(function(e,t){return t===void 0&&(t="ra.validation.regex"),function(r,n){return!Ks(r)&&typeof r=="string"&&!e.test(r)?Qs(t,{pattern:e},r,n):void 0}},function(e,t){return e.toString()+t});Xs(function(e){return e===void 0&&(e="ra.validation.email"),DP(W0e,e)});var X0e=function(e){var t=e.args;return{message:"ra.validation.oneOf",args:t}};Xs(function(e,t){return t===void 0&&(t=X0e),function(r,n){return!Ks(r)&&e.indexOf(r)===-1?Qs(t,{list:e},r,n):void 0}});var Y0e=function(e){return e&&e.isRequired?!0:Array.isArray(e)?!!e.find(function(t){return t.isRequired}):!1},uz=d.createContext(void 0),u0=function(){var e=d.useContext(nz);return e},J0e=function(e){var t=e.children,r=e.name,n=u0();return d.useEffect(function(){if(!n||!n.registerGroup||!n.unregisterGroup){console.warn("The FormGroupContextProvider can only be used inside a FormContext such as provided by the SimpleForm and TabbedForm components");return}return n.registerGroup(r),function(){n.unregisterGroup(r)}},[n,r]),d.createElement(uz.Provider,{value:r},t)},cz=function(e){var t=e.inputProps,r=e.isArrayInput,n=e.fieldArrayInputControl,o=t.defaultValue,a=t.source,i=ht(t),s=ea(),c=s.getValues,l=s.resetField,f=s.getFieldState,v=s.formState,m=s.reset,h=vt(i,a),x=vt(c(),a),w=f(a,v).isDirty;d.useEffect(function(){if(!(o==null||x!=null||h!=null||w)){var O=a.split(".").some(function(_){return Z0e.test(_)});if(O){var b=a.split(".").slice(0,-1).join("."),g=vt(c(),b);if(g==null)return}if(r){if(!n)throw new Error("useApplyInputDefaultValues: No fieldArrayInputControl passed in props for array input usage");n.replace(o),m({},{keepValues:!0});return}l(a,{defaultValue:o})}})},Z0e=/^\d+$/,dz=function(e){var t=e.optionText,r=t===void 0?"name":t,n=e.optionValue,o=n===void 0?"id":n,a=e.disableValue,i=a===void 0?"disabled":a,s=e.translateChoice,c=s===void 0?!0:s,l=je(),f=d.useCallback(function(h){if(d.isValidElement(r))return d.createElement(Ds,{value:h},r);var x=typeof r=="function"?r(h):vt(h,r);return d.isValidElement(x)?x:c?l(String(x),{_:x}):String(x)},[r,l,c]),v=d.useCallback(function(h){return vt(h,o)},[o]),m=d.useCallback(function(h){return vt(h,i)},[i]);return{getChoiceText:f,getChoiceValue:v,getDisableValue:m}},e_e=function(e){var t=Cd(),r=t.dirtyFields,n=t.touchedFields,o=t.errors,a=u0(),i=d.useState({errors:void 0,isDirty:!1,isTouched:!1,isValid:!0}),s=i[0],c=i[1],l=d.useCallback(function(){var f=a.getGroupFields(e),v=f.map(function(h){return{name:h,error:vt(o,h,void 0),isDirty:vt(r,h,!1)!==!1,isValid:vt(o,h,void 0)==null,isTouched:vt(n,h,!1)!==!1}}).filter(function(h){return h!=null}),m=t_e(v);c(function(h){return Uo(h,m)?h:m})},[r,o,n,a,e]);return d.useEffect(function(){l()},[JSON.stringify({dirtyFields:r,errors:o,touchedFields:n}),l]),d.useEffect(function(){return a.subscribe(e,function(){l()})},[a,e,l]),s},t_e=function(e){return e.reduce(function(t,r){var n=t.errors||{};r.error&&(n[r.name]=r.error);var o={isDirty:t.isDirty||r.isDirty,errors:n,isTouched:t.isTouched||r.isTouched,isValid:t.isValid&&r.isValid};return o},{isDirty:!1,errors:void 0,isValid:!0,isTouched:!1})},fz=function(){var e=d.useContext(uz);return e},YS=function(){return YS=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]=0)&&(r[o]=e[o]);return r}function pz(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var f_e=/^((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|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)-.*))$/,p_e=pz(function(e){return f_e.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),v_e=!1;function m_e(e){if(e.sheet)return e.sheet;for(var t=0;t0?Jr(Rd,--Qn):0,Qc--,Or===10&&(Qc=1,d0--),Or}function fo(){return Or=Qn2||zp(Or)>3?"":" "}function $_e(e,t){for(;--t&&fo()&&!(Or<48||Or>102||Or>57&&Or<65||Or>70&&Or<97););return kv(e,ng()+(t<6&&qa()==32&&fo()==32))}function ZS(e){for(;fo();)switch(Or){case e:return Qn;case 34:case 39:e!==34&&e!==39&&ZS(Or);break;case 40:e===41&&ZS(e);break;case 92:fo();break}return Qn}function R_e(e,t){for(;fo()&&e+Or!==57;)if(e+Or===84&&qa()===47)break;return"/*"+kv(t,Qn-1)+"*"+c0(e===47?e:fo())}function k_e(e){for(;!zp(qa());)fo();return kv(e,Qn)}function T_e(e){return bz(ag("",null,null,null,[""],e=yz(e),0,[0],e))}function ag(e,t,r,n,o,a,i,s,c){for(var l=0,f=0,v=i,m=0,h=0,x=0,w=1,O=1,b=1,g=0,_="",$=o,P=a,C=n,k=_;O;)switch(x=g,g=fo()){case 40:if(x!=108&&Jr(k,v-1)==58){JS(k+=kt(og(g),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:k+=og(g);break;case 9:case 10:case 13:case 32:k+=P_e(x);break;case 92:k+=$_e(ng()-1,7);continue;case 47:switch(qa()){case 42:case 47:hh(I_e(R_e(fo(),ng()),t,r),c);break;default:k+="/"}break;case 123*w:s[l++]=Fa(k)*b;case 125*w:case 59:case 0:switch(g){case 0:case 125:O=0;case 59+f:b==-1&&(k=kt(k,/\f/g,"")),h>0&&Fa(k)-v&&hh(h>32?nF(k+";",n,r,v-1):nF(kt(k," ","")+";",n,r,v-2),c);break;case 59:k+=";";default:if(hh(C=rF(k,t,r,l,f,o,s,_,$=[],P=[],v),a),g===123)if(f===0)ag(k,t,C,C,$,a,v,s,P);else switch(m===99&&Jr(k,3)===110?100:m){case 100:case 108:case 109:case 115:ag(e,C,C,n&&hh(rF(e,C,C,0,0,o,s,_,o,$=[],v),P),o,P,v,s,n?$:P);break;default:ag(k,C,C,C,[""],P,0,s,P)}}l=f=h=0,w=b=1,_=k="",v=i;break;case 58:v=1+Fa(k),h=x;default:if(w<1){if(g==123)--w;else if(g==125&&w++==0&&E_e()==125)continue}switch(k+=c0(g),g*w){case 38:b=f>0?1:(k+="\f",-1);break;case 44:s[l++]=(Fa(k)-1)*b,b=1;break;case 64:qa()===45&&(k+=og(fo())),m=qa(),f=v=Fa(_=k+=k_e(ng())),g++;break;case 45:x===45&&Fa(k)==2&&(w=0)}}return a}function rF(e,t,r,n,o,a,i,s,c,l,f){for(var v=o-1,m=o===0?a:[""],h=UP(m),x=0,w=0,O=0;x0?m[b]+" "+g:kt(g,/&\f/g,m[b])))&&(c[O++]=_);return f0(e,t,r,o===0?BP:s,c,l,f)}function I_e(e,t,r){return f0(e,t,r,vz,c0(C_e()),Bp(e,2,-2),0)}function nF(e,t,r,n){return f0(e,t,r,zP,Bp(e,0,n),Bp(e,n+1,-1),n)}function Sc(e,t){for(var r="",n=UP(e),o=0;o6)switch(Jr(e,t+1)){case 109:if(Jr(e,t+4)!==45)break;case 102:return kt(e,/(.+:)(.+)-([^]+)/,"$1"+Rt+"$2-$3$1"+Py+(Jr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~JS(e,"stretch")?_z(kt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Jr(e,t+1)!==115)break;case 6444:switch(Jr(e,Fa(e)-3-(~JS(e,"!important")&&10))){case 107:return kt(e,":",":"+Rt)+e;case 101:return kt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Rt+(Jr(e,14)===45?"inline-":"")+"box$3$1"+Rt+"$2$3$1"+ln+"$2box$3")+e}break;case 5936:switch(Jr(e,t+11)){case 114:return Rt+e+ln+kt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Rt+e+ln+kt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Rt+e+ln+kt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Rt+e+ln+e+e}return e}var z_e=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case zP:t.return=_z(t.value,t.length);break;case mz:return Sc([_f(t,{value:kt(t.value,"@","@"+Rt)})],o);case BP:if(t.length)return O_e(t.props,function(a){switch(S_e(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Sc([_f(t,{props:[kt(a,/:(read-\w+)/,":"+Py+"$1")]})],o);case"::placeholder":return Sc([_f(t,{props:[kt(a,/:(plac\w+)/,":"+Rt+"input-$1")]}),_f(t,{props:[kt(a,/:(plac\w+)/,":"+Py+"$1")]}),_f(t,{props:[kt(a,/:(plac\w+)/,ln+"input-$1")]})],o)}return""})}},U_e=[z_e],xz=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(w){var O=w.getAttribute("data-emotion");O.indexOf(" ")!==-1&&(document.head.appendChild(w),w.setAttribute("data-s",""))})}var o=t.stylisPlugins||U_e,a={},i,s=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(w){for(var O=w.getAttribute("data-emotion").split(" "),b=1;b-1;if(!b){for(var g=0,_=x.length;g<_;g++)if(h.match(x[g][0])){x[g][1]!==void 0&&(h=h.replace(x[g][0],x[g][1]));break}}}return h},indexOf:function(h,x,w,O){w||(w=-1);for(var b=-1,g=w,_=h.length;g<_;g++)if(h[g]===x||O&&O(h[g],x)){b=g;break}return b},pluralize:function(h,x){return m._apply_rules(h,o,r,x)},singularize:function(h,x){return m._apply_rules(h,a,r,x)},inflect:function(h,x,w,O){return x=parseInt(x,10),isNaN(x)?h:x===0||x>1?m._apply_rules(h,o,r,O):m._apply_rules(h,a,r,w)},camelize:function(h,x){for(var w=h.split("/"),O=0,b=w.length,g,_,$,P;O1?js.pluralize(r):js.singularize(r))});return a}},Ct=function(e){var t=d.useContext(VB);return e&&e.resource||t},Di=function(e){var t=Ct(e),r=a0(),n=e||{},o=n.hasCreate,a=n.hasEdit,i=n.hasList,s=n.hasShow,c=n.recordRepresentation,l=d.useMemo(function(){return su({},{hasCreate:o,hasEdit:a,hasList:i,hasShow:s,recordRepresentation:c},r[t])},[t,r,o,a,i,s,c]);return l},i0=function(e){var t=Di({resource:e}).recordRepresentation;return d.useCallback(function(r){return r?typeof t=="function"?t(r):typeof t=="string"?vt(r,t):d.isValidElement(t)?t:"#".concat(r.id):""},[t])},je=function(){var e=bP(),t=d.useCallback(function(r,n){return e.translate(r,n)},[e]);return e?t:Bbe},Bbe=function(e){return e},qB=function(){var e=je(),t=KB(),r=Ct();return d.useCallback(function(n){var o=n.source,a=n.label,i=n.resource;return a===!1||a===""?null:a&&typeof a!="string"?a:e.apply(void 0,Ube({label:a,prefix:t,resource:i,resourceFromContext:r,source:o}))},[t,r,e])},zbe="en",HB=function(e){var t=e.source,r=e.label,n=e.resource,o=e.isRequired,a=qB();if(r===!0)throw new Error("Label parameter must be a string, a ReactElement or false");return r===!1||r===""?null:r&&typeof r!="string"?r:d.createElement("span",null,a({label:r,resource:n,source:t}),o&&d.createElement("span",{"aria-hidden":"true"}," *"))};HB.displayName="FieldTitle";const Ho=d.memo(HB),Ube=function(e){if(!e)return[""];var t=e.label,r=e.prefix,n=e.resource,o=e.resourceFromContext,a=e.source;if(typeof t<"u")return[t,{_:t}];if(typeof a>"u")return[""];var i=Vbe(a),s=i.sourceWithoutDigits,c=i.sourceSuffix,l=js.transform(c.replace(/\./g," "),["underscore","humanize"]);return n?["resources.".concat(n,".fields.").concat(s),{_:l}]:r?["".concat(r,".").concat(s),{_:l}]:["resources.".concat(o,".fields.").concat(s),{_:l}]};var Vbe=function(e){var t=e.replace(/\.\d+\./g,"."),r=e.split("."),n;r.forEach(function(a,i){Wbe(a)&&(n=i)});var o=n!=null?r.slice(n+1).join("."):e;return{sourceWithoutDigits:t,sourceSuffix:o}},Wbe=function(e){for(var t=e.length-1;t>=0;t--){var r=e.charCodeAt(t);if(r<48||r>57)return!1}return!0};const s0=function(e,t,r){if(e[t]&&!UB.isValidElementType(e[t]))return new Error("Invalid prop '".concat(t,"' supplied to '").concat(r,"': the prop is not a valid React component"))},qbe=function(){return d.createElement("span",null)},LP=function(e,t){};var Hbe=typeof window<"u"?d.useLayoutEffect:d.useEffect,Jl=function(e){var t=d.useRef(function(){throw new Error("Cannot call an event handler while rendering.")});return Hbe(function(){t.current=e}),d.useCallback(function(){for(var r=[],n=0;n"u"?t:m)});return function(){return v()}},[e,a,t,n,s]);var l=Jl(function(f,v){var m=typeof f=="function"?f(s):f;o(e,typeof m>"u"?typeof v>"u"?t:v:m)});return[s,l]},Gbe=function(e){var t=qb().removeItem;return d.useCallback(function(r){if(typeof r>"u"&&typeof e>"u")throw new Error("You must provide a key to remove an item from the store");return t(r??e)},[t,e])},Kbe=function(e){var t=qb().removeItems;return d.useCallback(function(r){if(typeof r>"u"&&typeof e>"u")throw new Error("You must provide a key to remove an item from the store");return t(r??e)},[t,e])},Qbe=function(){var e=qb().reset;return e},Pd=function(){var e=Mi(),t=Jo(),r=Qbe(),n=ei(),o=d.useRef(n),a=Lr(),i=d.useRef(a),s=Hs(),c=Ma("".concat(s,"/").concat(Ab.loginUrl));d.useEffect(function(){i.current=a,o.current=n},[a,n]);var l=d.useCallback(function(v,m,h){return v===void 0&&(v={}),m===void 0&&(m=c),h===void 0&&(h=!0),e.logout(v).then(function(x){if(x===!1||m===!1){r(),t.clear();return}var w=x||m;if(w!=null&&w.startsWith("http"))return r(),t.clear(),window.location.href=w,w;var O=w.split("?"),b={pathname:O[0]},g={};return h&&i.current&&i.current.pathname&&(g={state:{nextPathname:i.current.pathname,nextSearch:i.current.search}}),O[1]&&(b.search=O[1]),o.current(b,g),r(),t.clear(),x})},[e,r,c,t]),f=d.useCallback(function(v){return n({pathname:c},{state:{nextPathname:a&&a.pathname}}),r(),t.clear(),Promise.resolve()},[r,a,n,c,t]);return e?l:f},US=function(){return US=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"u"||!e.message?t:e.message},VS=function(){return VS=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]"),$d(t);var i=YB(t).permissions;if(o)return d.createElement(o,tp({permissions:i},a));if(n)return n(tp({permissions:i},a));if(r)return r(tp({permissions:i},a))},JB=function(){var e=Mi(),t=Lr(),r=t.state,n=ei(),o=Hs(),a=f5().resetNotifications,i=r&&r.nextPathname,s=r&&r.nextSearch,c=Ma("".concat(o,"/").concat(Ab.afterLoginUrl)),l=d.useCallback(function(v,m){return v===void 0&&(v={}),e.login(v).then(function(h){if(a(),h&&h.hasOwnProperty("redirectTo"))h&&n(h.redirectTo);else{var x=m||i+s||c;n(x)}return h})},[e,n,i,s,a,c]),f=d.useCallback(function(v,m){return a(),n(c),Promise.resolve()},[n,a,c]);return e?l:f},a0e="AUTH_LOGIN",i0e="AUTH_CHECK",s0e="AUTH_ERROR",l0e="AUTH_LOGOUT",u0e="AUTH_GET_PERMISSIONS";const c0e=function(e){var t=function(){for(var r=[],n=0;n"u"||!e.message?t:e.message},WS=function(){return WS=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]? If you don't want to use Configurable, you can use the useStore hook instead.");return pn(r&&e?"".concat(r,".").concat(e):r??e,t)},NP=function(){return d.useContext(TB)},w0e=function(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]a.current&&t&&(a.current=n,Object.keys(o).length>0&&i("ra.message.invalid_form",{type:"error"}))},[o,n,i,t])},N0e=function(e,t,r){var n=d.useContext(Li).navigator,o=Lr(),a=je(),i=Cd(r?{control:r}:void 0),s=i.isSubmitSuccessful,c=i.isSubmitting,l=i.dirtyFields,f=Object.keys(l).length>0,v=d.useRef(t||o.pathname);d.useEffect(function(){if(!(!e||!f)&&n.block){var m=n.block(function(h){var x=h.location.pathname.startsWith(v.current),w=h.location.pathname.startsWith("".concat(v.current,"/show")),O=x&&!w;!c&&(O||s||window.confirm(a("ra.message.unsaved_changes")))?(m(),h.retry()):c&&setTimeout(function(){h.retry()},100)});return m}},[e,o,n,f,c,s,a])},D0e=function(e,t){t===void 0&&(t={});var r={};return Object.keys(e).forEach(function(n){e[n]==null||e[n]===""?t.hasOwnProperty(n)&&(r[n]=null):r[n]=e[n]}),r},QS=function(){return QS=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,Ks=function(e){return typeof e>"u"||e===null||e===""||Array.isArray(e)&&e.length===0};function q0e(e){return e?e.hasOwnProperty("message"):!1}var Qs=function(e,t,r,n){return typeof e=="function"?e({args:t,value:r,values:n}):t?{message:e,args:t}:e},Xs=function(e){return G4(e,function(){for(var t=[],r=0;re?Qs(t,{max:e},r,n):void 0}});Xs(function(e,t){return t===void 0&&(t="ra.validation.minValue"),function(r,n){return!Ks(r)&&re?Qs(t,{max:e},r,n):void 0}}),lz=Xs(function(e){return e===void 0&&(e="ra.validation.number"),function(t,r){return!Ks(t)&&isNaN(Number(t))?Qs(e,void 0,t,r):void 0}}),DP=G4(function(e,t){return t===void 0&&(t="ra.validation.regex"),function(r,n){return!Ks(r)&&typeof r=="string"&&!e.test(r)?Qs(t,{pattern:e},r,n):void 0}},function(e,t){return e.toString()+t});Xs(function(e){return e===void 0&&(e="ra.validation.email"),DP(W0e,e)});var X0e=function(e){var t=e.args;return{message:"ra.validation.oneOf",args:t}};Xs(function(e,t){return t===void 0&&(t=X0e),function(r,n){return!Ks(r)&&e.indexOf(r)===-1?Qs(t,{list:e},r,n):void 0}});var Y0e=function(e){return e&&e.isRequired?!0:Array.isArray(e)?!!e.find(function(t){return t.isRequired}):!1},uz=d.createContext(void 0),u0=function(){var e=d.useContext(nz);return e},J0e=function(e){var t=e.children,r=e.name,n=u0();return d.useEffect(function(){if(!n||!n.registerGroup||!n.unregisterGroup){console.warn("The FormGroupContextProvider can only be used inside a FormContext such as provided by the SimpleForm and TabbedForm components");return}return n.registerGroup(r),function(){n.unregisterGroup(r)}},[n,r]),d.createElement(uz.Provider,{value:r},t)},cz=function(e){var t=e.inputProps,r=e.isArrayInput,n=e.fieldArrayInputControl,o=t.defaultValue,a=t.source,i=ht(t),s=ea(),c=s.getValues,l=s.resetField,f=s.getFieldState,v=s.formState,m=s.reset,h=vt(i,a),x=vt(c(),a),w=f(a,v).isDirty;d.useEffect(function(){if(!(o==null||x!=null||h!=null||w)){var O=a.split(".").some(function(_){return Z0e.test(_)});if(O){var b=a.split(".").slice(0,-1).join("."),g=vt(c(),b);if(g==null)return}if(r){if(!n)throw new Error("useApplyInputDefaultValues: No fieldArrayInputControl passed in props for array input usage");n.replace(o),m({},{keepValues:!0});return}l(a,{defaultValue:o})}})},Z0e=/^\d+$/,dz=function(e){var t=e.optionText,r=t===void 0?"name":t,n=e.optionValue,o=n===void 0?"id":n,a=e.disableValue,i=a===void 0?"disabled":a,s=e.translateChoice,c=s===void 0?!0:s,l=je(),f=d.useCallback(function(h){if(d.isValidElement(r))return d.createElement(Ds,{value:h},r);var x=typeof r=="function"?r(h):vt(h,r);return d.isValidElement(x)?x:c?l(String(x),{_:x}):String(x)},[r,l,c]),v=d.useCallback(function(h){return vt(h,o)},[o]),m=d.useCallback(function(h){return vt(h,i)},[i]);return{getChoiceText:f,getChoiceValue:v,getDisableValue:m}},e_e=function(e){var t=Cd(),r=t.dirtyFields,n=t.touchedFields,o=t.errors,a=u0(),i=d.useState({errors:void 0,isDirty:!1,isTouched:!1,isValid:!0}),s=i[0],c=i[1],l=d.useCallback(function(){var f=a.getGroupFields(e),v=f.map(function(h){return{name:h,error:vt(o,h,void 0),isDirty:vt(r,h,!1)!==!1,isValid:vt(o,h,void 0)==null,isTouched:vt(n,h,!1)!==!1}}).filter(function(h){return h!=null}),m=t_e(v);c(function(h){return Uo(h,m)?h:m})},[r,o,n,a,e]);return d.useEffect(function(){l()},[JSON.stringify({dirtyFields:r,errors:o,touchedFields:n}),l]),d.useEffect(function(){return a.subscribe(e,function(){l()})},[a,e,l]),s},t_e=function(e){return e.reduce(function(t,r){var n=t.errors||{};r.error&&(n[r.name]=r.error);var o={isDirty:t.isDirty||r.isDirty,errors:n,isTouched:t.isTouched||r.isTouched,isValid:t.isValid&&r.isValid};return o},{isDirty:!1,errors:void 0,isValid:!0,isTouched:!1})},fz=function(){var e=d.useContext(uz);return e},YS=function(){return YS=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]0?Jr(Rd,--Qn):0,Qc--,Or===10&&(Qc=1,d0--),Or}function fo(){return Or=Qn2||zp(Or)>3?"":" "}function $_e(e,t){for(;--t&&fo()&&!(Or<48||Or>102||Or>57&&Or<65||Or>70&&Or<97););return kv(e,ng()+(t<6&&qa()==32&&fo()==32))}function ZS(e){for(;fo();)switch(Or){case e:return Qn;case 34:case 39:e!==34&&e!==39&&ZS(Or);break;case 40:e===41&&ZS(e);break;case 92:fo();break}return Qn}function R_e(e,t){for(;fo()&&e+Or!==57;)if(e+Or===84&&qa()===47)break;return"/*"+kv(t,Qn-1)+"*"+c0(e===47?e:fo())}function k_e(e){for(;!zp(qa());)fo();return kv(e,Qn)}function T_e(e){return bz(ag("",null,null,null,[""],e=yz(e),0,[0],e))}function ag(e,t,r,n,o,a,i,s,c){for(var l=0,f=0,v=i,m=0,h=0,x=0,w=1,O=1,b=1,g=0,_="",$=o,P=a,C=n,k=_;O;)switch(x=g,g=fo()){case 40:if(x!=108&&Jr(k,v-1)==58){JS(k+=kt(og(g),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:k+=og(g);break;case 9:case 10:case 13:case 32:k+=P_e(x);break;case 92:k+=$_e(ng()-1,7);continue;case 47:switch(qa()){case 42:case 47:hh(I_e(R_e(fo(),ng()),t,r),c);break;default:k+="/"}break;case 123*w:s[l++]=Fa(k)*b;case 125*w:case 59:case 0:switch(g){case 0:case 125:O=0;case 59+f:b==-1&&(k=kt(k,/\f/g,"")),h>0&&Fa(k)-v&&hh(h>32?nF(k+";",n,r,v-1):nF(kt(k," ","")+";",n,r,v-2),c);break;case 59:k+=";";default:if(hh(C=rF(k,t,r,l,f,o,s,_,$=[],P=[],v),a),g===123)if(f===0)ag(k,t,C,C,$,a,v,s,P);else switch(m===99&&Jr(k,3)===110?100:m){case 100:case 108:case 109:case 115:ag(e,C,C,n&&hh(rF(e,C,C,0,0,o,s,_,o,$=[],v),P),o,P,v,s,n?$:P);break;default:ag(k,C,C,C,[""],P,0,s,P)}}l=f=h=0,w=b=1,_=k="",v=i;break;case 58:v=1+Fa(k),h=x;default:if(w<1){if(g==123)--w;else if(g==125&&w++==0&&E_e()==125)continue}switch(k+=c0(g),g*w){case 38:b=f>0?1:(k+="\f",-1);break;case 44:s[l++]=(Fa(k)-1)*b,b=1;break;case 64:qa()===45&&(k+=og(fo())),m=qa(),f=v=Fa(_=k+=k_e(ng())),g++;break;case 45:x===45&&Fa(k)==2&&(w=0)}}return a}function rF(e,t,r,n,o,a,i,s,c,l,f){for(var v=o-1,m=o===0?a:[""],h=UP(m),x=0,w=0,O=0;x0?m[b]+" "+g:kt(g,/&\f/g,m[b])))&&(c[O++]=_);return f0(e,t,r,o===0?BP:s,c,l,f)}function I_e(e,t,r){return f0(e,t,r,vz,c0(C_e()),Bp(e,2,-2),0)}function nF(e,t,r,n){return f0(e,t,r,zP,Bp(e,0,n),Bp(e,n+1,-1),n)}function Sc(e,t){for(var r="",n=UP(e),o=0;o6)switch(Jr(e,t+1)){case 109:if(Jr(e,t+4)!==45)break;case 102:return kt(e,/(.+:)(.+)-([^]+)/,"$1"+Rt+"$2-$3$1"+Py+(Jr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~JS(e,"stretch")?_z(kt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Jr(e,t+1)!==115)break;case 6444:switch(Jr(e,Fa(e)-3-(~JS(e,"!important")&&10))){case 107:return kt(e,":",":"+Rt)+e;case 101:return kt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Rt+(Jr(e,14)===45?"inline-":"")+"box$3$1"+Rt+"$2$3$1"+ln+"$2box$3")+e}break;case 5936:switch(Jr(e,t+11)){case 114:return Rt+e+ln+kt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Rt+e+ln+kt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Rt+e+ln+kt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Rt+e+ln+e+e}return e}var z_e=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case zP:t.return=_z(t.value,t.length);break;case mz:return Sc([_f(t,{value:kt(t.value,"@","@"+Rt)})],o);case BP:if(t.length)return O_e(t.props,function(a){switch(S_e(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Sc([_f(t,{props:[kt(a,/:(read-\w+)/,":"+Py+"$1")]})],o);case"::placeholder":return Sc([_f(t,{props:[kt(a,/:(plac\w+)/,":"+Rt+"input-$1")]}),_f(t,{props:[kt(a,/:(plac\w+)/,":"+Py+"$1")]}),_f(t,{props:[kt(a,/:(plac\w+)/,ln+"input-$1")]})],o)}return""})}},U_e=[z_e],xz=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(w){var O=w.getAttribute("data-emotion");O.indexOf(" ")!==-1&&(document.head.appendChild(w),w.setAttribute("data-s",""))})}var o=t.stylisPlugins||U_e,a={},i,s=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(w){for(var O=w.getAttribute("data-emotion").split(" "),b=1;b96}function Qx(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Nxe=Td(),Dxe=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function gh({defaultTheme:e,theme:t,themeId:r}){return Fxe(t)?e:t[r]||t}function Bxe(e){return e?(t,r)=>r[e]:null}function ig(e,t){let{ownerState:r}=t,n=Ce(t,jxe);const o=typeof e=="function"?e(j({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(a=>ig(a,j({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:a=[]}=o;let s=Ce(o,Axe);return a.forEach(c=>{let l=!0;typeof c.props=="function"?l=c.props(j({ownerState:r},n,r)):Object.keys(c.props).forEach(f=>{(r==null?void 0:r[f])!==c.props[f]&&n[f]!==c.props[f]&&(l=!1)}),l&&(Array.isArray(s)||(s=[s]),s.push(typeof c.style=="function"?c.style(j({ownerState:r},n,r)):c.style))}),s}return o}function zxe(e={}){const{themeId:t,defaultTheme:r=Nxe,rootShouldForwardProp:n=Qx,slotShouldForwardProp:o=Qx}=e,a=i=>kd(j({},i,{theme:gh(j({},i,{defaultTheme:r,themeId:t}))}));return a.__mui_systemSx=!0,(i,s={})=>{Fz(i,P=>P.filter(C=>!(C!=null&&C.__mui_systemSx)));const{name:c,slot:l,skipVariantsResolver:f,skipSx:v,overridesResolver:m=Bxe(Dxe(l))}=s,h=Ce(s,Mxe),x=f!==void 0?f:l&&l!=="Root"&&l!=="root"||!1,w=v||!1;let O,b=Qx;l==="Root"||l==="root"?b=n:l?b=o:Lxe(i)&&(b=void 0);const g=GP(i,j({shouldForwardProp:b,label:O},h)),_=P=>typeof P=="function"&&P.__emotion_real!==P||xi(P)?C=>ig(P,j({},C,{theme:gh({theme:C.theme,defaultTheme:r,themeId:t})})):P,$=(P,...C)=>{let k=_(P);const R=C?C.map(_):[];c&&m&&R.push(F=>{const L=gh(j({},F,{defaultTheme:r,themeId:t}));if(!L.components||!L.components[c]||!L.components[c].styleOverrides)return null;const D=L.components[c].styleOverrides,U={};return Object.entries(D).forEach(([H,q])=>{U[H]=ig(q,j({},F,{theme:L}))}),m(F,U)}),c&&!x&&R.push(F=>{var L;const D=gh(j({},F,{defaultTheme:r,themeId:t})),U=D==null||(L=D.components)==null||(L=L[c])==null?void 0:L.variants;return ig({variants:U},j({},F,{theme:D}))}),w||R.push(a);const I=R.length-C.length;if(Array.isArray(P)&&I>0){const F=new Array(I).fill("");k=[...P,...F],k.raw=[...P.raw,...F]}const A=g(k,...R);return i.muiName&&(A.muiName=i.muiName),A};return g.withConfig&&($.withConfig=g.withConfig),$}}const Qz=zxe();function Wp(e,t){const r=j({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=j({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},a=t[n];r[n]={},!a||!Object.keys(a)?r[n]=o:!o||!Object.keys(o)?r[n]=a:(r[n]=j({},a),Object.keys(o).forEach(i=>{r[n][i]=Wp(o[i],a[i])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Xz(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:Wp(t.components[r].defaultProps,n)}function Yz({props:e,name:t,defaultTheme:r,themeId:n}){let o=$0(r);return n&&(o=o[n]||o),Xz({theme:o,name:t,props:e})}const vo=typeof window<"u"?d.useLayoutEffect:d.useEffect;function Uxe(e,t,r,n,o){const[a,i]=d.useState(()=>o&&r?r(e).matches:n?n(e).matches:t);return vo(()=>{let s=!0;if(!r)return;const c=r(e),l=()=>{s&&i(c.matches)};return l(),c.addListener(l),()=>{s=!1,c.removeListener(l)}},[e,r]),a}const Jz=d.useSyncExternalStore;function Vxe(e,t,r,n,o){const a=d.useCallback(()=>t,[t]),i=d.useMemo(()=>{if(o&&r)return()=>r(e).matches;if(n!==null){const{matches:f}=n(e);return()=>f}return a},[a,e,n,o,r]),[s,c]=d.useMemo(()=>{if(r===null)return[a,()=>()=>{}];const f=r(e);return[()=>f.matches,v=>(f.addListener(v),()=>{f.removeListener(v)})]},[a,r,e]);return Jz(c,s,i)}function In(e,t={}){const r=ZP(),n=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:o=!1,matchMedia:a=n?window.matchMedia:null,ssrMatchMedia:i=null,noSsr:s=!1}=Xz({name:"MuiUseMediaQuery",props:t,theme:r});let c=typeof e=="function"?e(r):e;return c=c.replace(/^@media( ?)/m,""),(Jz!==void 0?Vxe:Uxe)(c,o,a,i,s)}function Zz(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const Wxe=Object.freeze(Object.defineProperty({__proto__:null,default:Zz},Symbol.toStringTag,{value:"Module"}));function e6(e,t=0,r=1){return Zz(e,t,r)}function qxe(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function n2(e){if(e.type)return e;if(e.charAt(0)==="#")return n2(qxe(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(ki(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(ki(10,o))}else n=n.split(",");return n=n.map(a=>parseFloat(a)),{type:r,values:n,colorSpace:o}}function t6(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,a)=>a<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Yc(e,t){return e=n2(e),t=e6(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,t6(e)}function Hxe(e,t){if(e=n2(e),t=e6(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return t6(e)}function rO(...e){return e.reduce((t,r)=>r==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function Id(e,t=166){let r;function n(...o){const a=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(a,t)}return n.clear=()=>{clearTimeout(r)},n}function Gxe(e,t){return()=>null}function sg(e,t){var r,n;return d.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 Pr(e){return e&&e.ownerDocument||document}function Go(e){return Pr(e).defaultView||window}function Kxe(e,t){return()=>null}function Ry(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let mF=0;function Qxe(e){const[t,r]=d.useState(e),n=e||t;return d.useEffect(()=>{t==null&&(mF+=1,r(`mui-${mF}`))},[t]),n}const hF=mw.useId;function eu(e){if(hF!==void 0){const t=hF();return e??t}return Qxe(e)}function Xxe(e,t,r,n,o){return null}function Jc({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=d.useRef(e!==void 0),[a,i]=d.useState(t),s=o?e:a,c=d.useCallback(l=>{o||i(l)},[]);return[s,c]}function En(e){const t=d.useRef(e);return vo(()=>{t.current=e}),d.useRef((...r)=>(0,t.current)(...r)).current}function sr(...e){return d.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{Ry(r,t)})},e)}const gF={};function Yxe(e,t){const r=d.useRef(gF);return r.current===gF&&(r.current=e(t)),r}const Jxe=[];function Zxe(e){d.useEffect(e,Jxe)}class Av{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Av}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function Rl(){const e=Yxe(Av.create).current;return Zxe(e.disposeEffect),e}let B0=!0,nO=!1;const ewe=new Av,twe={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 rwe(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&twe[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function nwe(e){e.metaKey||e.altKey||e.ctrlKey||(B0=!0)}function Xx(){B0=!1}function owe(){this.visibilityState==="hidden"&&nO&&(B0=!0)}function awe(e){e.addEventListener("keydown",nwe,!0),e.addEventListener("mousedown",Xx,!0),e.addEventListener("pointerdown",Xx,!0),e.addEventListener("touchstart",Xx,!0),e.addEventListener("visibilitychange",owe,!0)}function iwe(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return B0||rwe(t)}function z0(){const e=d.useCallback(o=>{o!=null&&awe(o.ownerDocument)},[]),t=d.useRef(!1);function r(){return t.current?(nO=!0,ewe.start(100,()=>{nO=!1}),t.current=!1,!0):!1}function n(o){return iwe(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function r6(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Bu;function n6(){if(Bu)return Bu;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Bu="reverse",e.scrollLeft>0?Bu="default":(e.scrollLeft=1,e.scrollLeft===0&&(Bu="negative")),document.body.removeChild(e),Bu}function swe(e,t){const r=e.scrollLeft;if(t!=="rtl")return r;switch(n6()){case"negative":return e.scrollWidth-e.clientWidth+r;case"reverse":return e.scrollWidth-e.clientWidth-r;default:return r}}function Ve(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((a,i)=>{if(i){const s=t(i);s!==""&&a.push(s),r&&r[i]&&a.push(r[i])}return a},[]).join(" ")}),n}function qp(e){return typeof e=="string"}function vc(e,t,r){return e===void 0||qp(e)?t:j({},t,{ownerState:j({},t.ownerState,r)})}function ky(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 yF(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 o6(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:a}=e;if(!t){const h=$e(r==null?void 0:r.className,a,o==null?void 0:o.className,n==null?void 0:n.className),x=j({},r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),w=j({},r,o,n);return h.length>0&&(w.className=h),Object.keys(x).length>0&&(w.style=x),{props:w,internalRef:void 0}}const i=ky(j({},o,n)),s=yF(n),c=yF(o),l=t(i),f=$e(l==null?void 0:l.className,r==null?void 0:r.className,a,o==null?void 0:o.className,n==null?void 0:n.className),v=j({},l==null?void 0:l.style,r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),m=j({},l,r,c,s);return f.length>0&&(m.className=f),Object.keys(v).length>0&&(m.style=v),{props:m,internalRef:l.ref}}function a6(e,t,r){return typeof e=="function"?e(t,r):e}const lwe=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Ko(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:a=!1}=e,i=Ce(e,lwe),s=a?{}:a6(n,o),{props:c,internalRef:l}=o6(j({},i,{externalSlotProps:s})),f=sr(l,s==null?void 0:s.ref,(t=e.additionalProps)==null?void 0:t.ref);return vc(r,j({},c,{ref:f}),o)}const i6=d.createContext(null);function s6(){return d.useContext(i6)}const uwe=typeof Symbol=="function"&&Symbol.for,cwe=uwe?Symbol.for("mui.nested"):"__THEME_NESTED__";function dwe(e,t){return typeof t=="function"?t(e):j({},e,t)}function fwe(e){const{children:t,theme:r}=e,n=s6(),o=d.useMemo(()=>{const a=n===null?r:dwe(n,r);return a!=null&&(a[cwe]=n!==null),a},[r,n]);return S.jsx(i6.Provider,{value:o,children:t})}const pwe=["value"],l6=d.createContext();function vwe(e){let{value:t}=e,r=Ce(e,pwe);return S.jsx(l6.Provider,j({value:t??!0},r))}const Ys=()=>{const e=d.useContext(l6);return e??!1},u6=d.createContext(void 0);function mwe({value:e,children:t}){return S.jsx(u6.Provider,{value:e,children:t})}function hwe(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?Wp(o.defaultProps,n):!o.styleOverrides&&!o.variants?Wp(o,n):n}function gwe({props:e,name:t}){const r=d.useContext(u6);return hwe({props:e,name:t,theme:{components:r}})}const bF={};function _F(e,t,r,n=!1){return d.useMemo(()=>{const o=e&&t[e]||t;if(typeof r=="function"){const a=r(o),i=e?j({},t,{[e]:a}):a;return n?()=>i:i}return e?j({},t,{[e]:r}):j({},t,r)},[e,t,r,n])}function ywe(e){const{children:t,theme:r,themeId:n}=e,o=ZP(bF),a=s6()||bF,i=_F(n,o,r),s=_F(n,a,r,!0),c=i.direction==="rtl";return S.jsx(fwe,{theme:s,children:S.jsx(Tv.Provider,{value:i,children:S.jsx(vwe,{value:c,children:S.jsx(mwe,{value:i==null?void 0:i.components,children:t})})})})}const bwe=["className","component","disableGutters","fixed","maxWidth","classes"],_we=Td(),xwe=Qz("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`maxWidth${Se(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),wwe=e=>Yz({props:e,name:"MuiContainer",defaultTheme:_we}),Swe=(e,t)=>{const r=c=>Ue(t,c),{classes:n,fixed:o,disableGutters:a,maxWidth:i}=e,s={root:["root",i&&`maxWidth${Se(String(i))}`,o&&"fixed",a&&"disableGutters"]};return Ve(s,r,n)};function Owe(e={}){const{createStyledComponent:t=xwe,useThemeProps:r=wwe,componentName:n="MuiContainer"}=e,o=t(({theme:i,ownerState:s})=>j({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!s.disableGutters&&{paddingLeft:i.spacing(2),paddingRight:i.spacing(2),[i.breakpoints.up("sm")]:{paddingLeft:i.spacing(3),paddingRight:i.spacing(3)}}),({theme:i,ownerState:s})=>s.fixed&&Object.keys(i.breakpoints.values).reduce((c,l)=>{const f=l,v=i.breakpoints.values[f];return v!==0&&(c[i.breakpoints.up(f)]={maxWidth:`${v}${i.breakpoints.unit}`}),c},{}),({theme:i,ownerState:s})=>j({},s.maxWidth==="xs"&&{[i.breakpoints.up("xs")]:{maxWidth:Math.max(i.breakpoints.values.xs,444)}},s.maxWidth&&s.maxWidth!=="xs"&&{[i.breakpoints.up(s.maxWidth)]:{maxWidth:`${i.breakpoints.values[s.maxWidth]}${i.breakpoints.unit}`}}));return d.forwardRef(function(s,c){const l=r(s),{className:f,component:v="div",disableGutters:m=!1,fixed:h=!1,maxWidth:x="lg"}=l,w=Ce(l,bwe),O=j({},l,{component:v,disableGutters:m,fixed:h,maxWidth:x}),b=Swe(O,n);return S.jsx(o,j({as:v,ownerState:O,className:$e(b.root,f),ref:c},w))})}const Cwe=["component","direction","spacing","divider","children","className","useFlexGap"],Ewe=Td(),Pwe=Qz("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function $we(e){return Yz({props:e,name:"MuiStack",defaultTheme:Ewe})}function Rwe(e,t){const r=d.Children.toArray(e).filter(Boolean);return r.reduce((n,o,a)=>(n.push(o),a({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],Twe=({ownerState:e,theme:t})=>{let r=j({display:"flex",flexDirection:"column"},_a({theme:t},Kx({values:e.direction,breakpoints:t.breakpoints.values}),n=>({flexDirection:n})));if(e.spacing){const n=YP(t),o=Object.keys(t.breakpoints.values).reduce((c,l)=>((typeof e.spacing=="object"&&e.spacing[l]!=null||typeof e.direction=="object"&&e.direction[l]!=null)&&(c[l]=!0),c),{}),a=Kx({values:e.direction,base:o}),i=Kx({values:e.spacing,base:o});typeof a=="object"&&Object.keys(a).forEach((c,l,f)=>{if(!a[c]){const m=l>0?a[f[l-1]]:"column";a[c]=m}}),r=$n(r,_a({theme:t},i,(c,l)=>e.useFlexGap?{gap:Zl(n,c)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${kwe(l?a[l]:e.direction)}`]:Zl(n,c)}}))}return r=$1e(t.breakpoints,r),r};function Iwe(e={}){const{createStyledComponent:t=Pwe,useThemeProps:r=$we,componentName:n="MuiStack"}=e,o=()=>Ve({root:["root"]},c=>Ue(n,c),{}),a=t(Twe);return d.forwardRef(function(c,l){const f=r(c),v=R0(f),{component:m="div",direction:h="column",spacing:x=0,divider:w,children:O,className:b,useFlexGap:g=!1}=v,_=Ce(v,Cwe),$={direction:h,spacing:x,useFlexGap:g},P=o();return S.jsx(a,j({as:m,ownerState:$,ref:l,className:$e(P.root,b)},_,{children:w?Rwe(O,w):O}))})}function jwe(e,t){return j({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var br={},c6={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(c6);var He=c6.exports;const Awe=Ya(d_e),Mwe=Ya(Wxe);var d6=He;Object.defineProperty(br,"__esModule",{value:!0});var jt=br.alpha=m6;br.blend=Gwe;br.colorChannel=void 0;var U0=br.darken=a2;br.decomposeColor=Qo;var Fwe=br.emphasize=h6,Lwe=br.getContrastRatio=Uwe;br.getLuminance=Ty;br.hexToRgb=f6;br.hslToRgb=v6;var V0=br.lighten=i2;br.private_safeAlpha=Vwe;br.private_safeColorChannel=void 0;br.private_safeDarken=Wwe;br.private_safeEmphasize=Hwe;br.private_safeLighten=qwe;br.recomposeColor=jd;br.rgbToHex=zwe;var xF=d6(Awe),Nwe=d6(Mwe);function o2(e,t=0,r=1){return(0,Nwe.default)(e,t,r)}function f6(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Dwe(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Qo(e){if(e.type)return e;if(e.charAt(0)==="#")return Qo(f6(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error((0,xF.default)(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,xF.default)(10,o))}else n=n.split(",");return n=n.map(a=>parseFloat(a)),{type:r,values:n,colorSpace:o}}const p6=e=>{const t=Qo(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};br.colorChannel=p6;const Bwe=(e,t)=>{try{return p6(e)}catch{return e}};br.private_safeColorChannel=Bwe;function jd(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,a)=>a<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function zwe(e){if(e.indexOf("#")===0)return e;const{values:t}=Qo(e);return`#${t.map((r,n)=>Dwe(n===3?Math.round(255*r):r)).join("")}`}function v6(e){e=Qo(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),i=(l,f=(l+r/30)%12)=>o-a*Math.max(Math.min(f-3,9-f,1),-1);let s="rgb";const c=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(s+="a",c.push(t[3])),jd({type:s,values:c})}function Ty(e){e=Qo(e);let t=e.type==="hsl"||e.type==="hsla"?Qo(v6(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Uwe(e,t){const r=Ty(e),n=Ty(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function m6(e,t){return e=Qo(e),t=o2(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,jd(e)}function Vwe(e,t,r){try{return m6(e,t)}catch{return e}}function a2(e,t){if(e=Qo(e),t=o2(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return jd(e)}function Wwe(e,t,r){try{return a2(e,t)}catch{return e}}function i2(e,t){if(e=Qo(e),t=o2(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return jd(e)}function qwe(e,t,r){try{return i2(e,t)}catch{return e}}function h6(e,t=.15){return Ty(e)>.5?a2(e,t):i2(e,t)}function Hwe(e,t,r){try{return h6(e,t)}catch{return e}}function Gwe(e,t,r,n=1){const o=(c,l)=>Math.round((c**(1/n)*(1-r)+l**(1/n)*r)**n),a=Qo(e),i=Qo(t),s=[o(a.values[0],i.values[0]),o(a.values[1],i.values[1]),o(a.values[2],i.values[2])];return jd({type:"rgb",values:s})}const Kwe=["mode","contrastThreshold","tonalOffset"],wF={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:Dp.white,default:Dp.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}},Yx={text:{primary:Dp.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:Dp.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 SF(e,t,r,n){const o=n.light||n,a=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=V0(e.main,o):t==="dark"&&(e.dark=U0(e.main,a)))}function Qwe(e="light"){return e==="dark"?{main:Lu[200],light:Lu[50],dark:Lu[400]}:{main:Lu[700],light:Lu[400],dark:Lu[800]}}function Xwe(e="light"){return e==="dark"?{main:Fu[200],light:Fu[50],dark:Fu[400]}:{main:Fu[500],light:Fu[300],dark:Fu[700]}}function Ywe(e="light"){return e==="dark"?{main:Mu[500],light:Mu[300],dark:Mu[700]}:{main:Mu[700],light:Mu[400],dark:Mu[800]}}function Jwe(e="light"){return e==="dark"?{main:Nu[400],light:Nu[300],dark:Nu[700]}:{main:Nu[700],light:Nu[500],dark:Nu[900]}}function Zwe(e="light"){return e==="dark"?{main:Du[400],light:Du[300],dark:Du[700]}:{main:Du[800],light:Du[500],dark:Du[900]}}function eSe(e="light"){return e==="dark"?{main:bf[400],light:bf[300],dark:bf[700]}:{main:"#ed6c02",light:bf[500],dark:bf[900]}}function tSe(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=Ce(e,Kwe),a=e.primary||Qwe(t),i=e.secondary||Xwe(t),s=e.error||Ywe(t),c=e.info||Jwe(t),l=e.success||Zwe(t),f=e.warning||eSe(t);function v(w){return Lwe(w,Yx.text.primary)>=r?Yx.text.primary:wF.text.primary}const m=({color:w,name:O,mainShade:b=500,lightShade:g=300,darkShade:_=700})=>{if(w=j({},w),!w.main&&w[b]&&(w.main=w[b]),!w.hasOwnProperty("main"))throw new Error(ki(11,O?` (${O})`:"",b));if(typeof w.main!="string")throw new Error(ki(12,O?` (${O})`:"",JSON.stringify(w.main)));return SF(w,"light",g,n),SF(w,"dark",_,n),w.contrastText||(w.contrastText=v(w.main)),w},h={dark:Yx,light:wF};return $n(j({common:j({},Dp),mode:t,primary:m({color:a,name:"primary"}),secondary:m({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:s,name:"error"}),warning:m({color:f,name:"warning"}),info:m({color:c,name:"info"}),success:m({color:l,name:"success"}),grey:c_e,contrastThreshold:r,getContrastText:v,augmentColor:m,tonalOffset:n},h[t]),o)}const rSe=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function nSe(e){return Math.round(e*1e5)/1e5}const OF={textTransform:"uppercase"},CF='"Roboto", "Helvetica", "Arial", sans-serif';function oSe(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=CF,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:c=700,htmlFontSize:l=16,allVariants:f,pxToRem:v}=r,m=Ce(r,rSe),h=o/14,x=v||(b=>`${b/l*h}rem`),w=(b,g,_,$,P)=>j({fontFamily:n,fontWeight:b,fontSize:x(g),lineHeight:_},n===CF?{letterSpacing:`${nSe($/g)}em`}:{},P,f),O={h1:w(a,96,1.167,-1.5),h2:w(a,60,1.2,-.5),h3:w(i,48,1.167,0),h4:w(i,34,1.235,.25),h5:w(i,24,1.334,0),h6:w(s,20,1.6,.15),subtitle1:w(i,16,1.75,.15),subtitle2:w(s,14,1.57,.1),body1:w(i,16,1.5,.15),body2:w(i,14,1.43,.15),button:w(s,14,1.75,.4,OF),caption:w(i,12,1.66,.4),overline:w(i,12,2.66,1,OF),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return $n(j({htmlFontSize:l,pxToRem:x,fontFamily:n,fontSize:o,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:c},O),m,{clone:!1})}const aSe=.2,iSe=.14,sSe=.12;function er(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${aSe})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${iSe})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${sSe})`].join(",")}const lSe=["none",er(0,2,1,-1,0,1,1,0,0,1,3,0),er(0,3,1,-2,0,2,2,0,0,1,5,0),er(0,3,3,-2,0,3,4,0,0,1,8,0),er(0,2,4,-1,0,4,5,0,0,1,10,0),er(0,3,5,-1,0,5,8,0,0,1,14,0),er(0,3,5,-1,0,6,10,0,0,1,18,0),er(0,4,5,-2,0,7,10,1,0,2,16,1),er(0,5,5,-3,0,8,10,1,0,3,14,2),er(0,5,6,-3,0,9,12,1,0,3,16,2),er(0,6,6,-3,0,10,14,1,0,4,18,3),er(0,6,7,-4,0,11,15,1,0,4,20,3),er(0,7,8,-4,0,12,17,2,0,5,22,4),er(0,7,8,-4,0,13,19,2,0,5,24,4),er(0,7,9,-4,0,14,21,2,0,5,26,4),er(0,8,9,-5,0,15,22,2,0,6,28,5),er(0,8,10,-5,0,16,24,2,0,6,30,5),er(0,8,11,-5,0,17,26,2,0,6,32,5),er(0,9,11,-5,0,18,28,2,0,7,34,6),er(0,9,12,-6,0,19,29,2,0,7,36,6),er(0,10,13,-6,0,20,31,3,0,8,38,7),er(0,10,13,-6,0,21,33,3,0,8,40,7),er(0,10,14,-6,0,22,35,3,0,8,42,7),er(0,11,14,-7,0,23,36,3,0,9,44,8),er(0,11,15,-7,0,24,38,3,0,9,46,8)],uSe=["duration","easing","delay"],cSe={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)"},dSe={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function EF(e){return`${Math.round(e)}ms`}function fSe(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function pSe(e){const t=j({},cSe,e.easing),r=j({},dSe,e.duration);return j({getAutoHeightDuration:fSe,create:(o=["all"],a={})=>{const{duration:i=r.standard,easing:s=t.easeInOut,delay:c=0}=a;return Ce(a,uSe),(Array.isArray(o)?o:[o]).map(l=>`${l} ${typeof i=="string"?i:EF(i)} ${s} ${typeof c=="string"?c:EF(c)}`).join(",")}},e,{easing:t,duration:r})}const vSe={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},mSe=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Iy(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:a={}}=e,i=Ce(e,mSe);if(e.vars)throw new Error(ki(18));const s=tSe(n),c=Td(e);let l=$n(c,{mixins:jwe(c.breakpoints,r),palette:s,shadows:lSe.slice(),typography:oSe(s,a),transitions:pSe(o),zIndex:j({},vSe)});return l=$n(l,i),l=t.reduce((f,v)=>$n(f,v),l),l.unstable_sxConfig=j({},jv,i==null?void 0:i.unstable_sxConfig),l.unstable_sx=function(v){return kd({sx:v,theme:this})},l}const s2=Iy();function na(){const e=$0(s2);return e[Kc]||e}var Mv={},Jx={exports:{}},PF;function hSe(){return PF||(PF=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(r){for(var n=1;n=0)&&(o[i]=r[i]);return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Zx)),Zx.exports}const g6=Ya(S1e),ySe=Ya(O1e),bSe=Ya(k1e),_Se=Ya(Ixe),xSe=Ya(gxe),wSe=Ya(Sxe);var Ad=He;Object.defineProperty(Mv,"__esModule",{value:!0});var SSe=Mv.default=FSe;Mv.shouldForwardProp=lg;Mv.systemDefaultTheme=void 0;var To=Ad(hSe()),oO=Ad(gSe()),RF=kSe(g6),OSe=ySe;Ad(bSe);Ad(_Se);var CSe=Ad(xSe),ESe=Ad(wSe);const PSe=["ownerState"],$Se=["variants"],RSe=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function y6(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(y6=function(n){return n?r:t})(e)}function kSe(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=y6(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}function TSe(e){return Object.keys(e).length===0}function ISe(e){return typeof e=="string"&&e.charCodeAt(0)>96}function lg(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const jSe=Mv.systemDefaultTheme=(0,CSe.default)(),ASe=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function yh({defaultTheme:e,theme:t,themeId:r}){return TSe(t)?e:t[r]||t}function MSe(e){return e?(t,r)=>r[e]:null}function ug(e,t){let{ownerState:r}=t,n=(0,oO.default)(t,PSe);const o=typeof e=="function"?e((0,To.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(a=>ug(a,(0,To.default)({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:a=[]}=o;let s=(0,oO.default)(o,$Se);return a.forEach(c=>{let l=!0;typeof c.props=="function"?l=c.props((0,To.default)({ownerState:r},n,r)):Object.keys(c.props).forEach(f=>{(r==null?void 0:r[f])!==c.props[f]&&n[f]!==c.props[f]&&(l=!1)}),l&&(Array.isArray(s)||(s=[s]),s.push(typeof c.style=="function"?c.style((0,To.default)({ownerState:r},n,r)):c.style))}),s}return o}function FSe(e={}){const{themeId:t,defaultTheme:r=jSe,rootShouldForwardProp:n=lg,slotShouldForwardProp:o=lg}=e,a=i=>(0,ESe.default)((0,To.default)({},i,{theme:yh((0,To.default)({},i,{defaultTheme:r,themeId:t}))}));return a.__mui_systemSx=!0,(i,s={})=>{(0,RF.internal_processStyles)(i,P=>P.filter(C=>!(C!=null&&C.__mui_systemSx)));const{name:c,slot:l,skipVariantsResolver:f,skipSx:v,overridesResolver:m=MSe(ASe(l))}=s,h=(0,oO.default)(s,RSe),x=f!==void 0?f:l&&l!=="Root"&&l!=="root"||!1,w=v||!1;let O,b=lg;l==="Root"||l==="root"?b=n:l?b=o:ISe(i)&&(b=void 0);const g=(0,RF.default)(i,(0,To.default)({shouldForwardProp:b,label:O},h)),_=P=>typeof P=="function"&&P.__emotion_real!==P||(0,OSe.isPlainObject)(P)?C=>ug(P,(0,To.default)({},C,{theme:yh({theme:C.theme,defaultTheme:r,themeId:t})})):P,$=(P,...C)=>{let k=_(P);const R=C?C.map(_):[];c&&m&&R.push(F=>{const L=yh((0,To.default)({},F,{defaultTheme:r,themeId:t}));if(!L.components||!L.components[c]||!L.components[c].styleOverrides)return null;const D=L.components[c].styleOverrides,U={};return Object.entries(D).forEach(([H,q])=>{U[H]=ug(q,(0,To.default)({},F,{theme:L}))}),m(F,U)}),c&&!x&&R.push(F=>{var L;const D=yh((0,To.default)({},F,{defaultTheme:r,themeId:t})),U=D==null||(L=D.components)==null||(L=L[c])==null?void 0:L.variants;return ug({variants:U},(0,To.default)({},F,{theme:D}))}),w||R.push(a);const I=R.length-C.length;if(Array.isArray(P)&&I>0){const F=new Array(I).fill("");k=[...P,...F],k.raw=[...P.raw,...F]}const A=g(k,...R);return i.muiName&&(A.muiName=i.muiName),A};return g.withConfig&&($.withConfig=g.withConfig),$}}function b6(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const rn=e=>b6(e)&&e!=="classes",J=SSe({themeId:Kc,defaultTheme:s2,rootShouldForwardProp:rn}),LSe=["theme"];function NSe(e){let{theme:t}=e,r=Ce(e,LSe);const n=t[Kc];return S.jsx(ywe,j({},r,{themeId:n?Kc:void 0,theme:n||t}))}const kF=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Ge(e){return gwe(e)}function DSe(e){return Ue("MuiSvgIcon",e)}qe("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const BSe=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],zSe=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${Se(t)}`,`fontSize${Se(r)}`]};return Ve(o,DSe,n)},USe=J("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${Se(r.color)}`],t[`fontSize${Se(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,a,i,s,c,l,f,v,m,h,x;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:((a=e.typography)==null||(i=a.pxToRem)==null?void 0:i.call(a,20))||"1.25rem",medium:((s=e.typography)==null||(c=s.pxToRem)==null?void 0:c.call(s,24))||"1.5rem",large:((l=e.typography)==null||(f=l.pxToRem)==null?void 0:f.call(l,35))||"2.1875rem"}[t.fontSize],color:(v=(m=(e.vars||e).palette)==null||(m=m[t.color])==null?void 0:m.main)!=null?v:{action:(h=(e.vars||e).palette)==null||(h=h.action)==null?void 0:h.active,disabled:(x=(e.vars||e).palette)==null||(x=x.action)==null?void 0:x.disabled,inherit:void 0}[t.color]}}),aO=d.forwardRef(function(t,r){const n=Ge({props:t,name:"MuiSvgIcon"}),{children:o,className:a,color:i="inherit",component:s="svg",fontSize:c="medium",htmlColor:l,inheritViewBox:f=!1,titleAccess:v,viewBox:m="0 0 24 24"}=n,h=Ce(n,BSe),x=d.isValidElement(o)&&o.type==="svg",w=j({},n,{color:i,component:s,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:m,hasSvgAsChild:x}),O={};f||(O.viewBox=m);const b=zSe(w);return S.jsxs(USe,j({as:s,className:$e(b.root,a),focusable:"false",color:l,"aria-hidden":v?void 0:!0,role:v?"img":void 0,ref:r},O,h,x&&o.props,{ownerState:w,children:[x?o.props.children:o,v?S.jsx("title",{children:v}):null]}))});aO.muiName="SvgIcon";function _o(e,t){function r(n,o){return S.jsx(aO,j({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return r.muiName=aO.muiName,d.memo(d.forwardRef(r))}const VSe={configure:e=>{e2.configure(e)}},WSe=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Se,createChainedFunction:rO,createSvgIcon:_o,debounce:Id,deprecatedPropType:Gxe,isMuiElement:sg,ownerDocument:Pr,ownerWindow:Go,requirePropFactory:Kxe,setRef:Ry,unstable_ClassNameGenerator:VSe,unstable_useEnhancedEffect:vo,unstable_useId:eu,unsupportedProp:Xxe,useControlled:Jc,useEventCallback:En,useForkRef:sr,useIsFocusVisible:z0},Symbol.toStringTag,{value:"Module"})),TF={disabled:!1},jy=fe.createContext(null);var qSe=function(t){return t.scrollTop},Ff="unmounted",_l="exited",xl="entering",Wu="entered",iO="exiting",Ca=function(e){Fi(t,e);function t(n,o){var a;a=e.call(this,n,o)||this;var i=o,s=i&&!i.isMounting?n.enter:n.appear,c;return a.appearStatus=null,n.in?s?(c=_l,a.appearStatus=xl):c=Wu:n.unmountOnExit||n.mountOnEnter?c=Ff:c=_l,a.state={status:c},a.nextCallback=null,a}t.getDerivedStateFromProps=function(o,a){var i=o.in;return i&&a.status===Ff?{status:_l}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var a=null;if(o!==this.props){var i=this.state.status;this.props.in?i!==xl&&i!==Wu&&(a=xl):(i===xl||i===Wu)&&(a=iO)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,a,i,s;return a=i=s=o,o!=null&&typeof o!="number"&&(a=o.exit,i=o.enter,s=o.appear!==void 0?o.appear:i),{exit:a,enter:i,appear:s}},r.updateStatus=function(o,a){if(o===void 0&&(o=!1),a!==null)if(this.cancelNextCallback(),a===xl){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Af.findDOMNode(this);i&&qSe(i)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===_l&&this.setState({status:Ff})},r.performEnter=function(o){var a=this,i=this.props.enter,s=this.context?this.context.isMounting:o,c=this.props.nodeRef?[s]:[Af.findDOMNode(this),s],l=c[0],f=c[1],v=this.getTimeouts(),m=s?v.appear:v.enter;if(!o&&!i||TF.disabled){this.safeSetState({status:Wu},function(){a.props.onEntered(l)});return}this.props.onEnter(l,f),this.safeSetState({status:xl},function(){a.props.onEntering(l,f),a.onTransitionEnd(m,function(){a.safeSetState({status:Wu},function(){a.props.onEntered(l,f)})})})},r.performExit=function(){var o=this,a=this.props.exit,i=this.getTimeouts(),s=this.props.nodeRef?void 0:Af.findDOMNode(this);if(!a||TF.disabled){this.safeSetState({status:_l},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:iO},function(){o.props.onExiting(s),o.onTransitionEnd(i.exit,function(){o.safeSetState({status:_l},function(){o.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,a){a=this.setNextCallback(a),this.setState(o,a)},r.setNextCallback=function(o){var a=this,i=!0;return this.nextCallback=function(s){i&&(i=!1,a.nextCallback=null,o(s))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},r.onTransitionEnd=function(o,a){this.setNextCallback(a);var i=this.props.nodeRef?this.props.nodeRef.current:Af.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!i||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],l=c[0],f=c[1];this.props.addEndListener(l,f)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===Ff)return null;var a=this.props,i=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var s=Ce(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return fe.createElement(jy.Provider,{value:null},typeof i=="function"?i(o,s):fe.cloneElement(fe.Children.only(i),s))},t}(fe.Component);Ca.contextType=jy;Ca.propTypes={};function zu(){}Ca.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:zu,onEntering:zu,onEntered:zu,onExit:zu,onExiting:zu,onExited:zu};Ca.UNMOUNTED=Ff;Ca.EXITED=_l;Ca.ENTERING=xl;Ca.ENTERED=Wu;Ca.EXITING=iO;function l2(e,t){var r=function(a){return t&&d.isValidElement(a)?t(a):a},n=Object.create(null);return e&&d.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function HSe(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 a in e)a in t?o.length&&(n[a]=o,o=[]):o.push(a);var i,s={};for(var c in t){if(n[c])for(i=0;ie.scrollTop;function Zc(e,t){var r,n;const{timeout:o,easing:a,style:i={}}=e;return{duration:(r=i.transitionDuration)!=null?r:typeof o=="number"?o:o[t.mode]||0,easing:(n=i.transitionTimingFunction)!=null?n:typeof a=="object"?a[t.mode]:a,delay:i.transitionDelay}}function YSe(e){return Ue("MuiPaper",e)}qe("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 JSe=["className","component","elevation","square","variant"],ZSe=e=>{const{square:t,elevation:r,variant:n,classes:o}=e,a={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return Ve(a,YSe,o)},eOe=J("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 j({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"&&j({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${jt("#fff",kF(t.elevation))}, ${jt("#fff",kF(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),Js=d.forwardRef(function(t,r){const n=Ge({props:t,name:"MuiPaper"}),{className:o,component:a="div",elevation:i=1,square:s=!1,variant:c="elevation"}=n,l=Ce(n,JSe),f=j({},n,{component:a,elevation:i,square:s,variant:c}),v=ZSe(f);return S.jsx(eOe,j({as:a,ownerState:f,className:$e(v.root,o),ref:r},l))}),tOe=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],rOe=["component","slots","slotProps"],nOe=["component"];function oOe(e,t){const{className:r,elementType:n,ownerState:o,externalForwardedProps:a,getSlotOwnerState:i,internalForwardedProps:s}=t,c=Ce(t,tOe),{component:l,slots:f={[e]:void 0},slotProps:v={[e]:void 0}}=a;Ce(a,rOe);const m=f[e]||n,h=a6(v[e],o),x=o6(j({className:r},c,{externalForwardedProps:void 0,externalSlotProps:h})),{props:{component:w},internalRef:O}=x,b=Ce(x.props,nOe),g=sr(O,h==null?void 0:h.ref,t.ref),_=i?i(b):{},$=j({},o,_),P=w,C=vc(m,j({},e==="root",!f[e]&&s,b,P&&{as:P},{ref:g}),$);return Object.keys(_).forEach(k=>{delete C[k]}),[m,C]}function aOe(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:a,rippleSize:i,in:s,onExited:c,timeout:l}=e,[f,v]=d.useState(!1),m=$e(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),h={width:i,height:i,top:-(i/2)+a,left:-(i/2)+o},x=$e(r.child,f&&r.childLeaving,n&&r.childPulsate);return!s&&!f&&v(!0),d.useEffect(()=>{if(!s&&c!=null){const w=setTimeout(c,l);return()=>{clearTimeout(w)}}},[c,s,l]),S.jsx("span",{className:m,style:h,children:S.jsx("span",{className:x})})}const Io=qe("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),iOe=["center","classes","className"];let W0=e=>e,IF,jF,AF,MF;const sO=550,sOe=80,lOe=Bi(IF||(IF=W0` + */var t2=Symbol.for("react.element"),r2=Symbol.for("react.portal"),k0=Symbol.for("react.fragment"),T0=Symbol.for("react.strict_mode"),I0=Symbol.for("react.profiler"),j0=Symbol.for("react.provider"),A0=Symbol.for("react.context"),$xe=Symbol.for("react.server_context"),M0=Symbol.for("react.forward_ref"),F0=Symbol.for("react.suspense"),L0=Symbol.for("react.suspense_list"),N0=Symbol.for("react.memo"),D0=Symbol.for("react.lazy"),Rxe=Symbol.for("react.offscreen"),Hz;Hz=Symbol.for("react.module.reference");function ra(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case t2:switch(e=e.type,e){case k0:case I0:case T0:case F0:case L0:return e;default:switch(e=e&&e.$$typeof,e){case $xe:case A0:case M0:case D0:case N0:case j0:return e;default:return t}}case r2:return t}}}Ft.ContextConsumer=A0;Ft.ContextProvider=j0;Ft.Element=t2;Ft.ForwardRef=M0;Ft.Fragment=k0;Ft.Lazy=D0;Ft.Memo=N0;Ft.Portal=r2;Ft.Profiler=I0;Ft.StrictMode=T0;Ft.Suspense=F0;Ft.SuspenseList=L0;Ft.isAsyncMode=function(){return!1};Ft.isConcurrentMode=function(){return!1};Ft.isContextConsumer=function(e){return ra(e)===A0};Ft.isContextProvider=function(e){return ra(e)===j0};Ft.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===t2};Ft.isForwardRef=function(e){return ra(e)===M0};Ft.isFragment=function(e){return ra(e)===k0};Ft.isLazy=function(e){return ra(e)===D0};Ft.isMemo=function(e){return ra(e)===N0};Ft.isPortal=function(e){return ra(e)===r2};Ft.isProfiler=function(e){return ra(e)===I0};Ft.isStrictMode=function(e){return ra(e)===T0};Ft.isSuspense=function(e){return ra(e)===F0};Ft.isSuspenseList=function(e){return ra(e)===L0};Ft.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===k0||e===I0||e===T0||e===F0||e===L0||e===Rxe||typeof e=="object"&&e!==null&&(e.$$typeof===D0||e.$$typeof===N0||e.$$typeof===j0||e.$$typeof===A0||e.$$typeof===M0||e.$$typeof===Hz||e.getModuleId!==void 0)};Ft.typeOf=ra;qz.exports=Ft;var Vp=qz.exports;const kxe=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Gz(e){const t=`${e}`.match(kxe);return t&&t[1]||""}function Kz(e,t=""){return e.displayName||e.name||Gz(e)||t}function vF(e,t,r){const n=Kz(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Txe(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Kz(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Vp.ForwardRef:return vF(e,e.render,"ForwardRef");case Vp.Memo:return vF(e,e.type,"memo");default:return}}}const Ixe=Object.freeze(Object.defineProperty({__proto__:null,default:Txe,getFunctionName:Gz},Symbol.toStringTag,{value:"Module"})),jxe=["ownerState"],Axe=["variants"],Mxe=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Fxe(e){return Object.keys(e).length===0}function Lxe(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Qx(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Nxe=Td(),Dxe=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function gh({defaultTheme:e,theme:t,themeId:r}){return Fxe(t)?e:t[r]||t}function Bxe(e){return e?(t,r)=>r[e]:null}function ig(e,t){let{ownerState:r}=t,n=Ce(t,jxe);const o=typeof e=="function"?e(j({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(a=>ig(a,j({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:a=[]}=o;let s=Ce(o,Axe);return a.forEach(c=>{let l=!0;typeof c.props=="function"?l=c.props(j({ownerState:r},n,r)):Object.keys(c.props).forEach(f=>{(r==null?void 0:r[f])!==c.props[f]&&n[f]!==c.props[f]&&(l=!1)}),l&&(Array.isArray(s)||(s=[s]),s.push(typeof c.style=="function"?c.style(j({ownerState:r},n,r)):c.style))}),s}return o}function zxe(e={}){const{themeId:t,defaultTheme:r=Nxe,rootShouldForwardProp:n=Qx,slotShouldForwardProp:o=Qx}=e,a=i=>kd(j({},i,{theme:gh(j({},i,{defaultTheme:r,themeId:t}))}));return a.__mui_systemSx=!0,(i,s={})=>{Fz(i,P=>P.filter(C=>!(C!=null&&C.__mui_systemSx)));const{name:c,slot:l,skipVariantsResolver:f,skipSx:v,overridesResolver:m=Bxe(Dxe(l))}=s,h=Ce(s,Mxe),x=f!==void 0?f:l&&l!=="Root"&&l!=="root"||!1,w=v||!1;let O,b=Qx;l==="Root"||l==="root"?b=n:l?b=o:Lxe(i)&&(b=void 0);const g=GP(i,j({shouldForwardProp:b,label:O},h)),_=P=>typeof P=="function"&&P.__emotion_real!==P||xi(P)?C=>ig(P,j({},C,{theme:gh({theme:C.theme,defaultTheme:r,themeId:t})})):P,$=(P,...C)=>{let k=_(P);const R=C?C.map(_):[];c&&m&&R.push(F=>{const L=gh(j({},F,{defaultTheme:r,themeId:t}));if(!L.components||!L.components[c]||!L.components[c].styleOverrides)return null;const D=L.components[c].styleOverrides,U={};return Object.entries(D).forEach(([H,q])=>{U[H]=ig(q,j({},F,{theme:L}))}),m(F,U)}),c&&!x&&R.push(F=>{var L;const D=gh(j({},F,{defaultTheme:r,themeId:t})),U=D==null||(L=D.components)==null||(L=L[c])==null?void 0:L.variants;return ig({variants:U},j({},F,{theme:D}))}),w||R.push(a);const I=R.length-C.length;if(Array.isArray(P)&&I>0){const F=new Array(I).fill("");k=[...P,...F],k.raw=[...P.raw,...F]}const A=g(k,...R);return i.muiName&&(A.muiName=i.muiName),A};return g.withConfig&&($.withConfig=g.withConfig),$}}const Qz=zxe();function Wp(e,t){const r=j({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=j({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},a=t[n];r[n]={},!a||!Object.keys(a)?r[n]=o:!o||!Object.keys(o)?r[n]=a:(r[n]=j({},a),Object.keys(o).forEach(i=>{r[n][i]=Wp(o[i],a[i])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Xz(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:Wp(t.components[r].defaultProps,n)}function Yz({props:e,name:t,defaultTheme:r,themeId:n}){let o=$0(r);return n&&(o=o[n]||o),Xz({theme:o,name:t,props:e})}const vo=typeof window<"u"?d.useLayoutEffect:d.useEffect;function Uxe(e,t,r,n,o){const[a,i]=d.useState(()=>o&&r?r(e).matches:n?n(e).matches:t);return vo(()=>{let s=!0;if(!r)return;const c=r(e),l=()=>{s&&i(c.matches)};return l(),c.addListener(l),()=>{s=!1,c.removeListener(l)}},[e,r]),a}const Jz=d.useSyncExternalStore;function Vxe(e,t,r,n,o){const a=d.useCallback(()=>t,[t]),i=d.useMemo(()=>{if(o&&r)return()=>r(e).matches;if(n!==null){const{matches:f}=n(e);return()=>f}return a},[a,e,n,o,r]),[s,c]=d.useMemo(()=>{if(r===null)return[a,()=>()=>{}];const f=r(e);return[()=>f.matches,v=>(f.addListener(v),()=>{f.removeListener(v)})]},[a,r,e]);return Jz(c,s,i)}function In(e,t={}){const r=ZP(),n=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:o=!1,matchMedia:a=n?window.matchMedia:null,ssrMatchMedia:i=null,noSsr:s=!1}=Xz({name:"MuiUseMediaQuery",props:t,theme:r});let c=typeof e=="function"?e(r):e;return c=c.replace(/^@media( ?)/m,""),(Jz!==void 0?Vxe:Uxe)(c,o,a,i,s)}function Zz(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const Wxe=Object.freeze(Object.defineProperty({__proto__:null,default:Zz},Symbol.toStringTag,{value:"Module"}));function e6(e,t=0,r=1){return Zz(e,t,r)}function qxe(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function n2(e){if(e.type)return e;if(e.charAt(0)==="#")return n2(qxe(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(ki(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(ki(10,o))}else n=n.split(",");return n=n.map(a=>parseFloat(a)),{type:r,values:n,colorSpace:o}}function t6(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,a)=>a<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Yc(e,t){return e=n2(e),t=e6(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,t6(e)}function Hxe(e,t){if(e=n2(e),t=e6(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return t6(e)}function rO(...e){return e.reduce((t,r)=>r==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function Id(e,t=166){let r;function n(...o){const a=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(a,t)}return n.clear=()=>{clearTimeout(r)},n}function Gxe(e,t){return()=>null}function sg(e,t){var r,n;return d.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 Pr(e){return e&&e.ownerDocument||document}function Go(e){return Pr(e).defaultView||window}function Kxe(e,t){return()=>null}function Ry(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let mF=0;function Qxe(e){const[t,r]=d.useState(e),n=e||t;return d.useEffect(()=>{t==null&&(mF+=1,r(`mui-${mF}`))},[t]),n}const hF=mw.useId;function eu(e){if(hF!==void 0){const t=hF();return e??t}return Qxe(e)}function Xxe(e,t,r,n,o){return null}function Jc({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=d.useRef(e!==void 0),[a,i]=d.useState(t),s=o?e:a,c=d.useCallback(l=>{o||i(l)},[]);return[s,c]}function En(e){const t=d.useRef(e);return vo(()=>{t.current=e}),d.useRef((...r)=>(0,t.current)(...r)).current}function sr(...e){return d.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{Ry(r,t)})},e)}const gF={};function Yxe(e,t){const r=d.useRef(gF);return r.current===gF&&(r.current=e(t)),r}const Jxe=[];function Zxe(e){d.useEffect(e,Jxe)}class Av{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Av}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function Rl(){const e=Yxe(Av.create).current;return Zxe(e.disposeEffect),e}let B0=!0,nO=!1;const ewe=new Av,twe={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 rwe(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&twe[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function nwe(e){e.metaKey||e.altKey||e.ctrlKey||(B0=!0)}function Xx(){B0=!1}function owe(){this.visibilityState==="hidden"&&nO&&(B0=!0)}function awe(e){e.addEventListener("keydown",nwe,!0),e.addEventListener("mousedown",Xx,!0),e.addEventListener("pointerdown",Xx,!0),e.addEventListener("touchstart",Xx,!0),e.addEventListener("visibilitychange",owe,!0)}function iwe(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return B0||rwe(t)}function z0(){const e=d.useCallback(o=>{o!=null&&awe(o.ownerDocument)},[]),t=d.useRef(!1);function r(){return t.current?(nO=!0,ewe.start(100,()=>{nO=!1}),t.current=!1,!0):!1}function n(o){return iwe(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function r6(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Bu;function n6(){if(Bu)return Bu;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Bu="reverse",e.scrollLeft>0?Bu="default":(e.scrollLeft=1,e.scrollLeft===0&&(Bu="negative")),document.body.removeChild(e),Bu}function swe(e,t){const r=e.scrollLeft;if(t!=="rtl")return r;switch(n6()){case"negative":return e.scrollWidth-e.clientWidth+r;case"reverse":return e.scrollWidth-e.clientWidth-r;default:return r}}function Ve(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((a,i)=>{if(i){const s=t(i);s!==""&&a.push(s),r&&r[i]&&a.push(r[i])}return a},[]).join(" ")}),n}function qp(e){return typeof e=="string"}function vc(e,t,r){return e===void 0||qp(e)?t:j({},t,{ownerState:j({},t.ownerState,r)})}function ky(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 yF(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 o6(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:a}=e;if(!t){const h=$e(r==null?void 0:r.className,a,o==null?void 0:o.className,n==null?void 0:n.className),x=j({},r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),w=j({},r,o,n);return h.length>0&&(w.className=h),Object.keys(x).length>0&&(w.style=x),{props:w,internalRef:void 0}}const i=ky(j({},o,n)),s=yF(n),c=yF(o),l=t(i),f=$e(l==null?void 0:l.className,r==null?void 0:r.className,a,o==null?void 0:o.className,n==null?void 0:n.className),v=j({},l==null?void 0:l.style,r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),m=j({},l,r,c,s);return f.length>0&&(m.className=f),Object.keys(v).length>0&&(m.style=v),{props:m,internalRef:l.ref}}function a6(e,t,r){return typeof e=="function"?e(t,r):e}const lwe=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Ko(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:a=!1}=e,i=Ce(e,lwe),s=a?{}:a6(n,o),{props:c,internalRef:l}=o6(j({},i,{externalSlotProps:s})),f=sr(l,s==null?void 0:s.ref,(t=e.additionalProps)==null?void 0:t.ref);return vc(r,j({},c,{ref:f}),o)}const i6=d.createContext(null);function s6(){return d.useContext(i6)}const uwe=typeof Symbol=="function"&&Symbol.for,cwe=uwe?Symbol.for("mui.nested"):"__THEME_NESTED__";function dwe(e,t){return typeof t=="function"?t(e):j({},e,t)}function fwe(e){const{children:t,theme:r}=e,n=s6(),o=d.useMemo(()=>{const a=n===null?r:dwe(n,r);return a!=null&&(a[cwe]=n!==null),a},[r,n]);return S.jsx(i6.Provider,{value:o,children:t})}const pwe=["value"],l6=d.createContext();function vwe(e){let{value:t}=e,r=Ce(e,pwe);return S.jsx(l6.Provider,j({value:t??!0},r))}const Ys=()=>{const e=d.useContext(l6);return e??!1},u6=d.createContext(void 0);function mwe({value:e,children:t}){return S.jsx(u6.Provider,{value:e,children:t})}function hwe(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?Wp(o.defaultProps,n):!o.styleOverrides&&!o.variants?Wp(o,n):n}function gwe({props:e,name:t}){const r=d.useContext(u6);return hwe({props:e,name:t,theme:{components:r}})}const bF={};function _F(e,t,r,n=!1){return d.useMemo(()=>{const o=e&&t[e]||t;if(typeof r=="function"){const a=r(o),i=e?j({},t,{[e]:a}):a;return n?()=>i:i}return e?j({},t,{[e]:r}):j({},t,r)},[e,t,r,n])}function ywe(e){const{children:t,theme:r,themeId:n}=e,o=ZP(bF),a=s6()||bF,i=_F(n,o,r),s=_F(n,a,r,!0),c=i.direction==="rtl";return S.jsx(fwe,{theme:s,children:S.jsx(Tv.Provider,{value:i,children:S.jsx(vwe,{value:c,children:S.jsx(mwe,{value:i==null?void 0:i.components,children:t})})})})}const bwe=["className","component","disableGutters","fixed","maxWidth","classes"],_we=Td(),xwe=Qz("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`maxWidth${Se(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),wwe=e=>Yz({props:e,name:"MuiContainer",defaultTheme:_we}),Swe=(e,t)=>{const r=c=>Ue(t,c),{classes:n,fixed:o,disableGutters:a,maxWidth:i}=e,s={root:["root",i&&`maxWidth${Se(String(i))}`,o&&"fixed",a&&"disableGutters"]};return Ve(s,r,n)};function Owe(e={}){const{createStyledComponent:t=xwe,useThemeProps:r=wwe,componentName:n="MuiContainer"}=e,o=t(({theme:i,ownerState:s})=>j({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!s.disableGutters&&{paddingLeft:i.spacing(2),paddingRight:i.spacing(2),[i.breakpoints.up("sm")]:{paddingLeft:i.spacing(3),paddingRight:i.spacing(3)}}),({theme:i,ownerState:s})=>s.fixed&&Object.keys(i.breakpoints.values).reduce((c,l)=>{const f=l,v=i.breakpoints.values[f];return v!==0&&(c[i.breakpoints.up(f)]={maxWidth:`${v}${i.breakpoints.unit}`}),c},{}),({theme:i,ownerState:s})=>j({},s.maxWidth==="xs"&&{[i.breakpoints.up("xs")]:{maxWidth:Math.max(i.breakpoints.values.xs,444)}},s.maxWidth&&s.maxWidth!=="xs"&&{[i.breakpoints.up(s.maxWidth)]:{maxWidth:`${i.breakpoints.values[s.maxWidth]}${i.breakpoints.unit}`}}));return d.forwardRef(function(s,c){const l=r(s),{className:f,component:v="div",disableGutters:m=!1,fixed:h=!1,maxWidth:x="lg"}=l,w=Ce(l,bwe),O=j({},l,{component:v,disableGutters:m,fixed:h,maxWidth:x}),b=Swe(O,n);return S.jsx(o,j({as:v,ownerState:O,className:$e(b.root,f),ref:c},w))})}const Cwe=["component","direction","spacing","divider","children","className","useFlexGap"],Ewe=Td(),Pwe=Qz("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function $we(e){return Yz({props:e,name:"MuiStack",defaultTheme:Ewe})}function Rwe(e,t){const r=d.Children.toArray(e).filter(Boolean);return r.reduce((n,o,a)=>(n.push(o),a({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],Twe=({ownerState:e,theme:t})=>{let r=j({display:"flex",flexDirection:"column"},_a({theme:t},Kx({values:e.direction,breakpoints:t.breakpoints.values}),n=>({flexDirection:n})));if(e.spacing){const n=YP(t),o=Object.keys(t.breakpoints.values).reduce((c,l)=>((typeof e.spacing=="object"&&e.spacing[l]!=null||typeof e.direction=="object"&&e.direction[l]!=null)&&(c[l]=!0),c),{}),a=Kx({values:e.direction,base:o}),i=Kx({values:e.spacing,base:o});typeof a=="object"&&Object.keys(a).forEach((c,l,f)=>{if(!a[c]){const m=l>0?a[f[l-1]]:"column";a[c]=m}}),r=$n(r,_a({theme:t},i,(c,l)=>e.useFlexGap?{gap:Zl(n,c)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${kwe(l?a[l]:e.direction)}`]:Zl(n,c)}}))}return r=$1e(t.breakpoints,r),r};function Iwe(e={}){const{createStyledComponent:t=Pwe,useThemeProps:r=$we,componentName:n="MuiStack"}=e,o=()=>Ve({root:["root"]},c=>Ue(n,c),{}),a=t(Twe);return d.forwardRef(function(c,l){const f=r(c),v=R0(f),{component:m="div",direction:h="column",spacing:x=0,divider:w,children:O,className:b,useFlexGap:g=!1}=v,_=Ce(v,Cwe),$={direction:h,spacing:x,useFlexGap:g},P=o();return S.jsx(a,j({as:m,ownerState:$,ref:l,className:$e(P.root,b)},_,{children:w?Rwe(O,w):O}))})}function jwe(e,t){return j({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var br={},c6={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(c6);var He=c6.exports;const Awe=Ya(d_e),Mwe=Ya(Wxe);var d6=He;Object.defineProperty(br,"__esModule",{value:!0});var jt=br.alpha=m6;br.blend=Gwe;br.colorChannel=void 0;var U0=br.darken=a2;br.decomposeColor=Qo;var Fwe=br.emphasize=h6,Lwe=br.getContrastRatio=Uwe;br.getLuminance=Ty;br.hexToRgb=f6;br.hslToRgb=v6;var V0=br.lighten=i2;br.private_safeAlpha=Vwe;br.private_safeColorChannel=void 0;br.private_safeDarken=Wwe;br.private_safeEmphasize=Hwe;br.private_safeLighten=qwe;br.recomposeColor=jd;br.rgbToHex=zwe;var xF=d6(Awe),Nwe=d6(Mwe);function o2(e,t=0,r=1){return(0,Nwe.default)(e,t,r)}function f6(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Dwe(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Qo(e){if(e.type)return e;if(e.charAt(0)==="#")return Qo(f6(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error((0,xF.default)(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,xF.default)(10,o))}else n=n.split(",");return n=n.map(a=>parseFloat(a)),{type:r,values:n,colorSpace:o}}const p6=e=>{const t=Qo(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};br.colorChannel=p6;const Bwe=(e,t)=>{try{return p6(e)}catch{return e}};br.private_safeColorChannel=Bwe;function jd(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,a)=>a<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function zwe(e){if(e.indexOf("#")===0)return e;const{values:t}=Qo(e);return`#${t.map((r,n)=>Dwe(n===3?Math.round(255*r):r)).join("")}`}function v6(e){e=Qo(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),i=(l,f=(l+r/30)%12)=>o-a*Math.max(Math.min(f-3,9-f,1),-1);let s="rgb";const c=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(s+="a",c.push(t[3])),jd({type:s,values:c})}function Ty(e){e=Qo(e);let t=e.type==="hsl"||e.type==="hsla"?Qo(v6(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Uwe(e,t){const r=Ty(e),n=Ty(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function m6(e,t){return e=Qo(e),t=o2(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,jd(e)}function Vwe(e,t,r){try{return m6(e,t)}catch{return e}}function a2(e,t){if(e=Qo(e),t=o2(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return jd(e)}function Wwe(e,t,r){try{return a2(e,t)}catch{return e}}function i2(e,t){if(e=Qo(e),t=o2(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return jd(e)}function qwe(e,t,r){try{return i2(e,t)}catch{return e}}function h6(e,t=.15){return Ty(e)>.5?a2(e,t):i2(e,t)}function Hwe(e,t,r){try{return h6(e,t)}catch{return e}}function Gwe(e,t,r,n=1){const o=(c,l)=>Math.round((c**(1/n)*(1-r)+l**(1/n)*r)**n),a=Qo(e),i=Qo(t),s=[o(a.values[0],i.values[0]),o(a.values[1],i.values[1]),o(a.values[2],i.values[2])];return jd({type:"rgb",values:s})}const Kwe=["mode","contrastThreshold","tonalOffset"],wF={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:Dp.white,default:Dp.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}},Yx={text:{primary:Dp.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:Dp.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 SF(e,t,r,n){const o=n.light||n,a=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=V0(e.main,o):t==="dark"&&(e.dark=U0(e.main,a)))}function Qwe(e="light"){return e==="dark"?{main:Lu[200],light:Lu[50],dark:Lu[400]}:{main:Lu[700],light:Lu[400],dark:Lu[800]}}function Xwe(e="light"){return e==="dark"?{main:Fu[200],light:Fu[50],dark:Fu[400]}:{main:Fu[500],light:Fu[300],dark:Fu[700]}}function Ywe(e="light"){return e==="dark"?{main:Mu[500],light:Mu[300],dark:Mu[700]}:{main:Mu[700],light:Mu[400],dark:Mu[800]}}function Jwe(e="light"){return e==="dark"?{main:Nu[400],light:Nu[300],dark:Nu[700]}:{main:Nu[700],light:Nu[500],dark:Nu[900]}}function Zwe(e="light"){return e==="dark"?{main:Du[400],light:Du[300],dark:Du[700]}:{main:Du[800],light:Du[500],dark:Du[900]}}function eSe(e="light"){return e==="dark"?{main:bf[400],light:bf[300],dark:bf[700]}:{main:"#ed6c02",light:bf[500],dark:bf[900]}}function tSe(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=Ce(e,Kwe),a=e.primary||Qwe(t),i=e.secondary||Xwe(t),s=e.error||Ywe(t),c=e.info||Jwe(t),l=e.success||Zwe(t),f=e.warning||eSe(t);function v(w){return Lwe(w,Yx.text.primary)>=r?Yx.text.primary:wF.text.primary}const m=({color:w,name:O,mainShade:b=500,lightShade:g=300,darkShade:_=700})=>{if(w=j({},w),!w.main&&w[b]&&(w.main=w[b]),!w.hasOwnProperty("main"))throw new Error(ki(11,O?` (${O})`:"",b));if(typeof w.main!="string")throw new Error(ki(12,O?` (${O})`:"",JSON.stringify(w.main)));return SF(w,"light",g,n),SF(w,"dark",_,n),w.contrastText||(w.contrastText=v(w.main)),w},h={dark:Yx,light:wF};return $n(j({common:j({},Dp),mode:t,primary:m({color:a,name:"primary"}),secondary:m({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:s,name:"error"}),warning:m({color:f,name:"warning"}),info:m({color:c,name:"info"}),success:m({color:l,name:"success"}),grey:c_e,contrastThreshold:r,getContrastText:v,augmentColor:m,tonalOffset:n},h[t]),o)}const rSe=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function nSe(e){return Math.round(e*1e5)/1e5}const OF={textTransform:"uppercase"},CF='"Roboto", "Helvetica", "Arial", sans-serif';function oSe(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=CF,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:c=700,htmlFontSize:l=16,allVariants:f,pxToRem:v}=r,m=Ce(r,rSe),h=o/14,x=v||(b=>`${b/l*h}rem`),w=(b,g,_,$,P)=>j({fontFamily:n,fontWeight:b,fontSize:x(g),lineHeight:_},n===CF?{letterSpacing:`${nSe($/g)}em`}:{},P,f),O={h1:w(a,96,1.167,-1.5),h2:w(a,60,1.2,-.5),h3:w(i,48,1.167,0),h4:w(i,34,1.235,.25),h5:w(i,24,1.334,0),h6:w(s,20,1.6,.15),subtitle1:w(i,16,1.75,.15),subtitle2:w(s,14,1.57,.1),body1:w(i,16,1.5,.15),body2:w(i,14,1.43,.15),button:w(s,14,1.75,.4,OF),caption:w(i,12,1.66,.4),overline:w(i,12,2.66,1,OF),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return $n(j({htmlFontSize:l,pxToRem:x,fontFamily:n,fontSize:o,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:c},O),m,{clone:!1})}const aSe=.2,iSe=.14,sSe=.12;function er(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${aSe})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${iSe})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${sSe})`].join(",")}const lSe=["none",er(0,2,1,-1,0,1,1,0,0,1,3,0),er(0,3,1,-2,0,2,2,0,0,1,5,0),er(0,3,3,-2,0,3,4,0,0,1,8,0),er(0,2,4,-1,0,4,5,0,0,1,10,0),er(0,3,5,-1,0,5,8,0,0,1,14,0),er(0,3,5,-1,0,6,10,0,0,1,18,0),er(0,4,5,-2,0,7,10,1,0,2,16,1),er(0,5,5,-3,0,8,10,1,0,3,14,2),er(0,5,6,-3,0,9,12,1,0,3,16,2),er(0,6,6,-3,0,10,14,1,0,4,18,3),er(0,6,7,-4,0,11,15,1,0,4,20,3),er(0,7,8,-4,0,12,17,2,0,5,22,4),er(0,7,8,-4,0,13,19,2,0,5,24,4),er(0,7,9,-4,0,14,21,2,0,5,26,4),er(0,8,9,-5,0,15,22,2,0,6,28,5),er(0,8,10,-5,0,16,24,2,0,6,30,5),er(0,8,11,-5,0,17,26,2,0,6,32,5),er(0,9,11,-5,0,18,28,2,0,7,34,6),er(0,9,12,-6,0,19,29,2,0,7,36,6),er(0,10,13,-6,0,20,31,3,0,8,38,7),er(0,10,13,-6,0,21,33,3,0,8,40,7),er(0,10,14,-6,0,22,35,3,0,8,42,7),er(0,11,14,-7,0,23,36,3,0,9,44,8),er(0,11,15,-7,0,24,38,3,0,9,46,8)],uSe=["duration","easing","delay"],cSe={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)"},dSe={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function EF(e){return`${Math.round(e)}ms`}function fSe(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function pSe(e){const t=j({},cSe,e.easing),r=j({},dSe,e.duration);return j({getAutoHeightDuration:fSe,create:(o=["all"],a={})=>{const{duration:i=r.standard,easing:s=t.easeInOut,delay:c=0}=a;return Ce(a,uSe),(Array.isArray(o)?o:[o]).map(l=>`${l} ${typeof i=="string"?i:EF(i)} ${s} ${typeof c=="string"?c:EF(c)}`).join(",")}},e,{easing:t,duration:r})}const vSe={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},mSe=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Iy(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:a={}}=e,i=Ce(e,mSe);if(e.vars)throw new Error(ki(18));const s=tSe(n),c=Td(e);let l=$n(c,{mixins:jwe(c.breakpoints,r),palette:s,shadows:lSe.slice(),typography:oSe(s,a),transitions:pSe(o),zIndex:j({},vSe)});return l=$n(l,i),l=t.reduce((f,v)=>$n(f,v),l),l.unstable_sxConfig=j({},jv,i==null?void 0:i.unstable_sxConfig),l.unstable_sx=function(v){return kd({sx:v,theme:this})},l}const s2=Iy();function na(){const e=$0(s2);return e[Kc]||e}var Mv={},Jx={exports:{}},PF;function hSe(){return PF||(PF=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(r){for(var n=1;n96}function lg(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const jSe=Mv.systemDefaultTheme=(0,CSe.default)(),ASe=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function yh({defaultTheme:e,theme:t,themeId:r}){return TSe(t)?e:t[r]||t}function MSe(e){return e?(t,r)=>r[e]:null}function ug(e,t){let{ownerState:r}=t,n=(0,oO.default)(t,PSe);const o=typeof e=="function"?e((0,To.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(a=>ug(a,(0,To.default)({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:a=[]}=o;let s=(0,oO.default)(o,$Se);return a.forEach(c=>{let l=!0;typeof c.props=="function"?l=c.props((0,To.default)({ownerState:r},n,r)):Object.keys(c.props).forEach(f=>{(r==null?void 0:r[f])!==c.props[f]&&n[f]!==c.props[f]&&(l=!1)}),l&&(Array.isArray(s)||(s=[s]),s.push(typeof c.style=="function"?c.style((0,To.default)({ownerState:r},n,r)):c.style))}),s}return o}function FSe(e={}){const{themeId:t,defaultTheme:r=jSe,rootShouldForwardProp:n=lg,slotShouldForwardProp:o=lg}=e,a=i=>(0,ESe.default)((0,To.default)({},i,{theme:yh((0,To.default)({},i,{defaultTheme:r,themeId:t}))}));return a.__mui_systemSx=!0,(i,s={})=>{(0,RF.internal_processStyles)(i,P=>P.filter(C=>!(C!=null&&C.__mui_systemSx)));const{name:c,slot:l,skipVariantsResolver:f,skipSx:v,overridesResolver:m=MSe(ASe(l))}=s,h=(0,oO.default)(s,RSe),x=f!==void 0?f:l&&l!=="Root"&&l!=="root"||!1,w=v||!1;let O,b=lg;l==="Root"||l==="root"?b=n:l?b=o:ISe(i)&&(b=void 0);const g=(0,RF.default)(i,(0,To.default)({shouldForwardProp:b,label:O},h)),_=P=>typeof P=="function"&&P.__emotion_real!==P||(0,OSe.isPlainObject)(P)?C=>ug(P,(0,To.default)({},C,{theme:yh({theme:C.theme,defaultTheme:r,themeId:t})})):P,$=(P,...C)=>{let k=_(P);const R=C?C.map(_):[];c&&m&&R.push(F=>{const L=yh((0,To.default)({},F,{defaultTheme:r,themeId:t}));if(!L.components||!L.components[c]||!L.components[c].styleOverrides)return null;const D=L.components[c].styleOverrides,U={};return Object.entries(D).forEach(([H,q])=>{U[H]=ug(q,(0,To.default)({},F,{theme:L}))}),m(F,U)}),c&&!x&&R.push(F=>{var L;const D=yh((0,To.default)({},F,{defaultTheme:r,themeId:t})),U=D==null||(L=D.components)==null||(L=L[c])==null?void 0:L.variants;return ug({variants:U},(0,To.default)({},F,{theme:D}))}),w||R.push(a);const I=R.length-C.length;if(Array.isArray(P)&&I>0){const F=new Array(I).fill("");k=[...P,...F],k.raw=[...P.raw,...F]}const A=g(k,...R);return i.muiName&&(A.muiName=i.muiName),A};return g.withConfig&&($.withConfig=g.withConfig),$}}function b6(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const rn=e=>b6(e)&&e!=="classes",J=SSe({themeId:Kc,defaultTheme:s2,rootShouldForwardProp:rn}),LSe=["theme"];function NSe(e){let{theme:t}=e,r=Ce(e,LSe);const n=t[Kc];return S.jsx(ywe,j({},r,{themeId:n?Kc:void 0,theme:n||t}))}const kF=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Ge(e){return gwe(e)}function DSe(e){return Ue("MuiSvgIcon",e)}qe("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const BSe=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],zSe=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${Se(t)}`,`fontSize${Se(r)}`]};return Ve(o,DSe,n)},USe=J("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${Se(r.color)}`],t[`fontSize${Se(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,a,i,s,c,l,f,v,m,h,x;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:((a=e.typography)==null||(i=a.pxToRem)==null?void 0:i.call(a,20))||"1.25rem",medium:((s=e.typography)==null||(c=s.pxToRem)==null?void 0:c.call(s,24))||"1.5rem",large:((l=e.typography)==null||(f=l.pxToRem)==null?void 0:f.call(l,35))||"2.1875rem"}[t.fontSize],color:(v=(m=(e.vars||e).palette)==null||(m=m[t.color])==null?void 0:m.main)!=null?v:{action:(h=(e.vars||e).palette)==null||(h=h.action)==null?void 0:h.active,disabled:(x=(e.vars||e).palette)==null||(x=x.action)==null?void 0:x.disabled,inherit:void 0}[t.color]}}),aO=d.forwardRef(function(t,r){const n=Ge({props:t,name:"MuiSvgIcon"}),{children:o,className:a,color:i="inherit",component:s="svg",fontSize:c="medium",htmlColor:l,inheritViewBox:f=!1,titleAccess:v,viewBox:m="0 0 24 24"}=n,h=Ce(n,BSe),x=d.isValidElement(o)&&o.type==="svg",w=j({},n,{color:i,component:s,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:m,hasSvgAsChild:x}),O={};f||(O.viewBox=m);const b=zSe(w);return S.jsxs(USe,j({as:s,className:$e(b.root,a),focusable:"false",color:l,"aria-hidden":v?void 0:!0,role:v?"img":void 0,ref:r},O,h,x&&o.props,{ownerState:w,children:[x?o.props.children:o,v?S.jsx("title",{children:v}):null]}))});aO.muiName="SvgIcon";function _o(e,t){function r(n,o){return S.jsx(aO,j({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return r.muiName=aO.muiName,d.memo(d.forwardRef(r))}const VSe={configure:e=>{e2.configure(e)}},WSe=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Se,createChainedFunction:rO,createSvgIcon:_o,debounce:Id,deprecatedPropType:Gxe,isMuiElement:sg,ownerDocument:Pr,ownerWindow:Go,requirePropFactory:Kxe,setRef:Ry,unstable_ClassNameGenerator:VSe,unstable_useEnhancedEffect:vo,unstable_useId:eu,unsupportedProp:Xxe,useControlled:Jc,useEventCallback:En,useForkRef:sr,useIsFocusVisible:z0},Symbol.toStringTag,{value:"Module"})),TF={disabled:!1},jy=fe.createContext(null);var qSe=function(t){return t.scrollTop},Ff="unmounted",_l="exited",xl="entering",Wu="entered",iO="exiting",Ca=function(e){Fi(t,e);function t(n,o){var a;a=e.call(this,n,o)||this;var i=o,s=i&&!i.isMounting?n.enter:n.appear,c;return a.appearStatus=null,n.in?s?(c=_l,a.appearStatus=xl):c=Wu:n.unmountOnExit||n.mountOnEnter?c=Ff:c=_l,a.state={status:c},a.nextCallback=null,a}t.getDerivedStateFromProps=function(o,a){var i=o.in;return i&&a.status===Ff?{status:_l}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var a=null;if(o!==this.props){var i=this.state.status;this.props.in?i!==xl&&i!==Wu&&(a=xl):(i===xl||i===Wu)&&(a=iO)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,a,i,s;return a=i=s=o,o!=null&&typeof o!="number"&&(a=o.exit,i=o.enter,s=o.appear!==void 0?o.appear:i),{exit:a,enter:i,appear:s}},r.updateStatus=function(o,a){if(o===void 0&&(o=!1),a!==null)if(this.cancelNextCallback(),a===xl){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Af.findDOMNode(this);i&&qSe(i)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===_l&&this.setState({status:Ff})},r.performEnter=function(o){var a=this,i=this.props.enter,s=this.context?this.context.isMounting:o,c=this.props.nodeRef?[s]:[Af.findDOMNode(this),s],l=c[0],f=c[1],v=this.getTimeouts(),m=s?v.appear:v.enter;if(!o&&!i||TF.disabled){this.safeSetState({status:Wu},function(){a.props.onEntered(l)});return}this.props.onEnter(l,f),this.safeSetState({status:xl},function(){a.props.onEntering(l,f),a.onTransitionEnd(m,function(){a.safeSetState({status:Wu},function(){a.props.onEntered(l,f)})})})},r.performExit=function(){var o=this,a=this.props.exit,i=this.getTimeouts(),s=this.props.nodeRef?void 0:Af.findDOMNode(this);if(!a||TF.disabled){this.safeSetState({status:_l},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:iO},function(){o.props.onExiting(s),o.onTransitionEnd(i.exit,function(){o.safeSetState({status:_l},function(){o.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,a){a=this.setNextCallback(a),this.setState(o,a)},r.setNextCallback=function(o){var a=this,i=!0;return this.nextCallback=function(s){i&&(i=!1,a.nextCallback=null,o(s))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},r.onTransitionEnd=function(o,a){this.setNextCallback(a);var i=this.props.nodeRef?this.props.nodeRef.current:Af.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!i||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],l=c[0],f=c[1];this.props.addEndListener(l,f)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===Ff)return null;var a=this.props,i=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var s=Ce(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return fe.createElement(jy.Provider,{value:null},typeof i=="function"?i(o,s):fe.cloneElement(fe.Children.only(i),s))},t}(fe.Component);Ca.contextType=jy;Ca.propTypes={};function zu(){}Ca.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:zu,onEntering:zu,onEntered:zu,onExit:zu,onExiting:zu,onExited:zu};Ca.UNMOUNTED=Ff;Ca.EXITED=_l;Ca.ENTERING=xl;Ca.ENTERED=Wu;Ca.EXITING=iO;function l2(e,t){var r=function(a){return t&&d.isValidElement(a)?t(a):a},n=Object.create(null);return e&&d.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function HSe(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 a in e)a in t?o.length&&(n[a]=o,o=[]):o.push(a);var i,s={};for(var c in t){if(n[c])for(i=0;ie.scrollTop;function Zc(e,t){var r,n;const{timeout:o,easing:a,style:i={}}=e;return{duration:(r=i.transitionDuration)!=null?r:typeof o=="number"?o:o[t.mode]||0,easing:(n=i.transitionTimingFunction)!=null?n:typeof a=="object"?a[t.mode]:a,delay:i.transitionDelay}}function YSe(e){return Ue("MuiPaper",e)}qe("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 JSe=["className","component","elevation","square","variant"],ZSe=e=>{const{square:t,elevation:r,variant:n,classes:o}=e,a={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return Ve(a,YSe,o)},eOe=J("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 j({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"&&j({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${jt("#fff",kF(t.elevation))}, ${jt("#fff",kF(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),Js=d.forwardRef(function(t,r){const n=Ge({props:t,name:"MuiPaper"}),{className:o,component:a="div",elevation:i=1,square:s=!1,variant:c="elevation"}=n,l=Ce(n,JSe),f=j({},n,{component:a,elevation:i,square:s,variant:c}),v=ZSe(f);return S.jsx(eOe,j({as:a,ownerState:f,className:$e(v.root,o),ref:r},l))}),tOe=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],rOe=["component","slots","slotProps"],nOe=["component"];function oOe(e,t){const{className:r,elementType:n,ownerState:o,externalForwardedProps:a,getSlotOwnerState:i,internalForwardedProps:s}=t,c=Ce(t,tOe),{component:l,slots:f={[e]:void 0},slotProps:v={[e]:void 0}}=a;Ce(a,rOe);const m=f[e]||n,h=a6(v[e],o),x=o6(j({className:r},c,{externalForwardedProps:void 0,externalSlotProps:h})),{props:{component:w},internalRef:O}=x,b=Ce(x.props,nOe),g=sr(O,h==null?void 0:h.ref,t.ref),_=i?i(b):{},$=j({},o,_),P=w,C=vc(m,j({},e==="root",!f[e]&&s,b,P&&{as:P},{ref:g}),$);return Object.keys(_).forEach(k=>{delete C[k]}),[m,C]}function aOe(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:a,rippleSize:i,in:s,onExited:c,timeout:l}=e,[f,v]=d.useState(!1),m=$e(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),h={width:i,height:i,top:-(i/2)+a,left:-(i/2)+o},x=$e(r.child,f&&r.childLeaving,n&&r.childPulsate);return!s&&!f&&v(!0),d.useEffect(()=>{if(!s&&c!=null){const w=setTimeout(c,l);return()=>{clearTimeout(w)}}},[c,s,l]),S.jsx("span",{className:m,style:h,children:S.jsx("span",{className:x})})}const Io=qe("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),iOe=["center","classes","className"];let W0=e=>e,IF,jF,AF,MF;const sO=550,sOe=80,lOe=Bi(IF||(IF=W0` 0% { transform: scale(0); opacity: 0.1; diff --git a/index.html b/index.html index 0b6bd37..f7d10b2 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ - + @@ -113,7 +113,7 @@ } } - + @@ -129,8 +129,8 @@ Synapse-Admin by Awesome Technologies Innovationslabor GmbH - - + +