@applica-software-guru/react-admin 1.5.363 → 1.5.364

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -234,7 +234,7 @@ attempted value: ${s}
234
234
  * Counter block mode compatible with Dr Brian Gladman fileenc.c
235
235
  * derived from CryptoJS.mode.CTR
236
236
  * Jan Hruby jhruby.web@gmail.com
237
- */return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function o(l){if((l>>24&255)===255){var d=l>>16&255,u=l>>8&255,p=l&255;d===255?(d=0,u===255?(u=0,p===255?p=0:++p):++u):++d,l=0,l+=d<<16,l+=u<<8,l+=p}else l+=1<<24;return l}function i(l){return(l[0]=o(l[0]))===0&&(l[1]=o(l[1])),l}var s=r.Encryptor=r.extend({processBlock:function(l,d){var u=this._cipher,p=u.blockSize,g=this._iv,h=this._counter;g&&(h=this._counter=g.slice(0),this._iv=void 0),i(h);var m=h.slice(0);u.encryptBlock(m,0);for(var v=0;v<p;v++)l[d+v]^=m[v]}});return r.Decryptor=s,r}(),n.mode.CTRGladman})}(mm)),mm.exports}var ym={exports:{}},bm;function aoe(){return bm||(bm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),gn())})(et,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),o=r.Encryptor=r.extend({processBlock:function(i,s){var l=this._cipher,d=l.blockSize,u=this._iv,p=this._keystream;u&&(p=this._keystream=u.slice(0),this._iv=void 0),l.encryptBlock(p,0);for(var g=0;g<d;g++)i[s+g]^=p[g]}});return r.Decryptor=o,r}(),n.mode.OFB})}(ym)),ym.exports}var Cm={exports:{}},xm;function loe(){return xm||(xm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),gn())})(et,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(o,i){this._cipher.encryptBlock(o,i)}}),r.Decryptor=r.extend({processBlock:function(o,i){this._cipher.decryptBlock(o,i)}}),r}(),n.mode.ECB})}(Cm)),Cm.exports}var wm={exports:{}},Sm;function coe(){return Sm||(Sm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),gn())})(et,function(n){return n.pad.AnsiX923={pad:function(r,o){var i=r.sigBytes,s=o*4,l=s-i%s,d=i+l-1;r.clamp(),r.words[d>>>2]|=l<<24-d%4*8,r.sigBytes+=l},unpad:function(r){var o=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=o}},n.pad.Ansix923})}(wm)),wm.exports}var Am={exports:{}},Em;function uoe(){return Em||(Em=1,function(e,t){(function(n,r,o){e.exports=r(rt(),gn())})(et,function(n){return n.pad.Iso10126={pad:function(r,o){var i=o*4,s=i-r.sigBytes%i;r.concat(n.lib.WordArray.random(s-1)).concat(n.lib.WordArray.create([s<<24],1))},unpad:function(r){var o=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=o}},n.pad.Iso10126})}(Am)),Am.exports}var Tm={exports:{}},Im;function doe(){return Im||(Im=1,function(e,t){(function(n,r,o){e.exports=r(rt(),gn())})(et,function(n){return n.pad.Iso97971={pad:function(r,o){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,o)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(Tm)),Tm.exports}var Om={exports:{}},Pm;function foe(){return Pm||(Pm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),gn())})(et,function(n){return n.pad.ZeroPadding={pad:function(r,o){var i=o*4;r.clamp(),r.sigBytes+=i-(r.sigBytes%i||i)},unpad:function(r){for(var o=r.words,i=r.sigBytes-1;!(o[i>>>2]>>>24-i%4*8&255);)i--;r.sigBytes=i+1}},n.pad.ZeroPadding})}(Om)),Om.exports}var jm={exports:{}},Rm;function poe(){return Rm||(Rm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),gn())})(et,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(jm)),jm.exports}var Mm={exports:{}},km;function hoe(){return km||(km=1,function(e,t){(function(n,r,o){e.exports=r(rt(),gn())})(et,function(n){return function(r){var o=n,i=o.lib,s=i.CipherParams,l=o.enc,d=l.Hex,u=o.format;u.Hex={stringify:function(p){return p.ciphertext.toString(d)},parse:function(p){var g=d.parse(p);return s.create({ciphertext:g})}}}(),n.format.Hex})}(Mm)),Mm.exports}var _m={exports:{}},Dm;function goe(){return Dm||(Dm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),Ia(),Oa(),ss(),gn())})(et,function(n){return function(){var r=n,o=r.lib,i=o.BlockCipher,s=r.algo,l=[],d=[],u=[],p=[],g=[],h=[],m=[],v=[],b=[],x=[];(function(){for(var w=[],T=0;T<256;T++)T<128?w[T]=T<<1:w[T]=T<<1^283;for(var O=0,j=0,T=0;T<256;T++){var M=j^j<<1^j<<2^j<<3^j<<4;M=M>>>8^M&255^99,l[O]=M,d[M]=O;var F=w[O],N=w[F],k=w[N],_=w[M]*257^M*16843008;u[O]=_<<24|_>>>8,p[O]=_<<16|_>>>16,g[O]=_<<8|_>>>24,h[O]=_;var _=k*16843009^N*65537^F*257^O*16843008;m[M]=_<<24|_>>>8,v[M]=_<<16|_>>>16,b[M]=_<<8|_>>>24,x[M]=_,O?(O=F^w[w[w[k^F]]],j^=w[w[j]]):O=j=1}})();var S=[0,1,2,4,8,16,32,64,128,27,54],I=s.AES=i.extend({_doReset:function(){if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var w=this._keyPriorReset=this._key,T=w.words,O=w.sigBytes/4,j=this._nRounds=O+6,M=(j+1)*4,F=this._keySchedule=[],N=0;N<M;N++)if(N<O)F[N]=T[N];else{var k=F[N-1];N%O?O>6&&N%O==4&&(k=l[k>>>24]<<24|l[k>>>16&255]<<16|l[k>>>8&255]<<8|l[k&255]):(k=k<<8|k>>>24,k=l[k>>>24]<<24|l[k>>>16&255]<<16|l[k>>>8&255]<<8|l[k&255],k^=S[N/O|0]<<24),F[N]=F[N-O]^k}for(var _=this._invKeySchedule=[],H=0;H<M;H++){var N=M-H;if(H%4)var k=F[N];else var k=F[N-4];H<4||N<=4?_[H]=k:_[H]=m[l[k>>>24]]^v[l[k>>>16&255]]^b[l[k>>>8&255]]^x[l[k&255]]}}},encryptBlock:function(w,T){this._doCryptBlock(w,T,this._keySchedule,u,p,g,h,l)},decryptBlock:function(w,T){var O=w[T+1];w[T+1]=w[T+3],w[T+3]=O,this._doCryptBlock(w,T,this._invKeySchedule,m,v,b,x,d);var O=w[T+1];w[T+1]=w[T+3],w[T+3]=O},_doCryptBlock:function(w,T,O,j,M,F,N,k){for(var _=this._nRounds,H=w[T]^O[0],U=w[T+1]^O[1],G=w[T+2]^O[2],Y=w[T+3]^O[3],V=4,Z=1;Z<_;Z++){var W=j[H>>>24]^M[U>>>16&255]^F[G>>>8&255]^N[Y&255]^O[V++],se=j[U>>>24]^M[G>>>16&255]^F[Y>>>8&255]^N[H&255]^O[V++],K=j[G>>>24]^M[Y>>>16&255]^F[H>>>8&255]^N[U&255]^O[V++],$=j[Y>>>24]^M[H>>>16&255]^F[U>>>8&255]^N[G&255]^O[V++];H=W,U=se,G=K,Y=$}var W=(k[H>>>24]<<24|k[U>>>16&255]<<16|k[G>>>8&255]<<8|k[Y&255])^O[V++],se=(k[U>>>24]<<24|k[G>>>16&255]<<16|k[Y>>>8&255]<<8|k[H&255])^O[V++],K=(k[G>>>24]<<24|k[Y>>>16&255]<<16|k[H>>>8&255]<<8|k[U&255])^O[V++],$=(k[Y>>>24]<<24|k[H>>>16&255]<<16|k[U>>>8&255]<<8|k[G&255])^O[V++];w[T]=W,w[T+1]=se,w[T+2]=K,w[T+3]=$},keySize:256/32});r.AES=i._createHelper(I)}(),n.AES})}(_m)),_m.exports}var Fm={exports:{}},Lm;function moe(){return Lm||(Lm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),Ia(),Oa(),ss(),gn())})(et,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,s=o.BlockCipher,l=r.algo,d=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],p=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],g=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],h=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],m=l.DES=s.extend({_doReset:function(){for(var S=this._key,I=S.words,w=[],T=0;T<56;T++){var O=d[T]-1;w[T]=I[O>>>5]>>>31-O%32&1}for(var j=this._subKeys=[],M=0;M<16;M++){for(var F=j[M]=[],N=p[M],T=0;T<24;T++)F[T/6|0]|=w[(u[T]-1+N)%28]<<31-T%6,F[4+(T/6|0)]|=w[28+(u[T+24]-1+N)%28]<<31-T%6;F[0]=F[0]<<1|F[0]>>>31;for(var T=1;T<7;T++)F[T]=F[T]>>>(T-1)*4+3;F[7]=F[7]<<5|F[7]>>>27}for(var k=this._invSubKeys=[],T=0;T<16;T++)k[T]=j[15-T]},encryptBlock:function(S,I){this._doCryptBlock(S,I,this._subKeys)},decryptBlock:function(S,I){this._doCryptBlock(S,I,this._invSubKeys)},_doCryptBlock:function(S,I,w){this._lBlock=S[I],this._rBlock=S[I+1],v.call(this,4,252645135),v.call(this,16,65535),b.call(this,2,858993459),b.call(this,8,16711935),v.call(this,1,1431655765);for(var T=0;T<16;T++){for(var O=w[T],j=this._lBlock,M=this._rBlock,F=0,N=0;N<8;N++)F|=g[N][((M^O[N])&h[N])>>>0];this._lBlock=M,this._rBlock=j^F}var k=this._lBlock;this._lBlock=this._rBlock,this._rBlock=k,v.call(this,1,1431655765),b.call(this,8,16711935),b.call(this,2,858993459),v.call(this,16,65535),v.call(this,4,252645135),S[I]=this._lBlock,S[I+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function v(S,I){var w=(this._lBlock>>>S^this._rBlock)&I;this._rBlock^=w,this._lBlock^=w<<S}function b(S,I){var w=(this._rBlock>>>S^this._lBlock)&I;this._lBlock^=w,this._rBlock^=w<<S}r.DES=s._createHelper(m);var x=l.TripleDES=s.extend({_doReset:function(){var S=this._key,I=S.words;this._des1=m.createEncryptor(i.create(I.slice(0,2))),this._des2=m.createEncryptor(i.create(I.slice(2,4))),this._des3=m.createEncryptor(i.create(I.slice(4,6)))},encryptBlock:function(S,I){this._des1.encryptBlock(S,I),this._des2.decryptBlock(S,I),this._des3.encryptBlock(S,I)},decryptBlock:function(S,I){this._des3.decryptBlock(S,I),this._des2.encryptBlock(S,I),this._des1.decryptBlock(S,I)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=s._createHelper(x)}(),n.TripleDES})}(Fm)),Fm.exports}var Bm={exports:{}},Nm;function voe(){return Nm||(Nm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),Ia(),Oa(),ss(),gn())})(et,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,s=r.algo,l=s.RC4=i.extend({_doReset:function(){for(var p=this._key,g=p.words,h=p.sigBytes,m=this._S=[],v=0;v<256;v++)m[v]=v;for(var v=0,b=0;v<256;v++){var x=v%h,S=g[x>>>2]>>>24-x%4*8&255;b=(b+m[v]+S)%256;var I=m[v];m[v]=m[b],m[b]=I}this._i=this._j=0},_doProcessBlock:function(p,g){p[g]^=d.call(this)},keySize:256/32,ivSize:0});function d(){for(var p=this._S,g=this._i,h=this._j,m=0,v=0;v<4;v++){g=(g+1)%256,h=(h+p[g])%256;var b=p[g];p[g]=p[h],p[h]=b,m|=p[(p[g]+p[h])%256]<<24-v*8}return this._i=g,this._j=h,m}r.RC4=i._createHelper(l);var u=s.RC4Drop=l.extend({cfg:l.cfg.extend({drop:192}),_doReset:function(){l._doReset.call(this);for(var p=this.cfg.drop;p>0;p--)d.call(this)}});r.RC4Drop=i._createHelper(u)}(),n.RC4})}(Bm)),Bm.exports}var $m={exports:{}},Vm;function yoe(){return Vm||(Vm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),Ia(),Oa(),ss(),gn())})(et,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,s=r.algo,l=[],d=[],u=[],p=s.Rabbit=i.extend({_doReset:function(){for(var h=this._key.words,m=this.cfg.iv,v=0;v<4;v++)h[v]=(h[v]<<8|h[v]>>>24)&16711935|(h[v]<<24|h[v]>>>8)&4278255360;var b=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],x=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var v=0;v<4;v++)g.call(this);for(var v=0;v<8;v++)x[v]^=b[v+4&7];if(m){var S=m.words,I=S[0],w=S[1],T=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,O=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,j=T>>>16|O&4294901760,M=O<<16|T&65535;x[0]^=T,x[1]^=j,x[2]^=O,x[3]^=M,x[4]^=T,x[5]^=j,x[6]^=O,x[7]^=M;for(var v=0;v<4;v++)g.call(this)}},_doProcessBlock:function(h,m){var v=this._X;g.call(this),l[0]=v[0]^v[5]>>>16^v[3]<<16,l[1]=v[2]^v[7]>>>16^v[5]<<16,l[2]=v[4]^v[1]>>>16^v[7]<<16,l[3]=v[6]^v[3]>>>16^v[1]<<16;for(var b=0;b<4;b++)l[b]=(l[b]<<8|l[b]>>>24)&16711935|(l[b]<<24|l[b]>>>8)&4278255360,h[m+b]^=l[b]},blockSize:128/32,ivSize:64/32});function g(){for(var h=this._X,m=this._C,v=0;v<8;v++)d[v]=m[v];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0<d[0]>>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0<d[1]>>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0<d[2]>>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0<d[3]>>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0<d[4]>>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0<d[5]>>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0<d[6]>>>0?1:0)|0,this._b=m[7]>>>0<d[7]>>>0?1:0;for(var v=0;v<8;v++){var b=h[v]+m[v],x=b&65535,S=b>>>16,I=((x*x>>>17)+x*S>>>15)+S*S,w=((b&4294901760)*b|0)+((b&65535)*b|0);u[v]=I^w}h[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,h[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,h[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,h[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,h[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,h[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,h[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,h[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}r.Rabbit=i._createHelper(p)}(),n.Rabbit})}($m)),$m.exports}var zm={exports:{}},Wm;function boe(){return Wm||(Wm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),Ia(),Oa(),ss(),gn())})(et,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,s=r.algo,l=[],d=[],u=[],p=s.RabbitLegacy=i.extend({_doReset:function(){var h=this._key.words,m=this.cfg.iv,v=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],b=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var x=0;x<4;x++)g.call(this);for(var x=0;x<8;x++)b[x]^=v[x+4&7];if(m){var S=m.words,I=S[0],w=S[1],T=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,O=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,j=T>>>16|O&4294901760,M=O<<16|T&65535;b[0]^=T,b[1]^=j,b[2]^=O,b[3]^=M,b[4]^=T,b[5]^=j,b[6]^=O,b[7]^=M;for(var x=0;x<4;x++)g.call(this)}},_doProcessBlock:function(h,m){var v=this._X;g.call(this),l[0]=v[0]^v[5]>>>16^v[3]<<16,l[1]=v[2]^v[7]>>>16^v[5]<<16,l[2]=v[4]^v[1]>>>16^v[7]<<16,l[3]=v[6]^v[3]>>>16^v[1]<<16;for(var b=0;b<4;b++)l[b]=(l[b]<<8|l[b]>>>24)&16711935|(l[b]<<24|l[b]>>>8)&4278255360,h[m+b]^=l[b]},blockSize:128/32,ivSize:64/32});function g(){for(var h=this._X,m=this._C,v=0;v<8;v++)d[v]=m[v];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0<d[0]>>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0<d[1]>>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0<d[2]>>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0<d[3]>>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0<d[4]>>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0<d[5]>>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0<d[6]>>>0?1:0)|0,this._b=m[7]>>>0<d[7]>>>0?1:0;for(var v=0;v<8;v++){var b=h[v]+m[v],x=b&65535,S=b>>>16,I=((x*x>>>17)+x*S>>>15)+S*S,w=((b&4294901760)*b|0)+((b&65535)*b|0);u[v]=I^w}h[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,h[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,h[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,h[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,h[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,h[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,h[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,h[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}r.RabbitLegacy=i._createHelper(p)}(),n.RabbitLegacy})}(zm)),zm.exports}(function(e,t){(function(n,r,o){e.exports=r(rt(),M3(),Xre(),Qre(),Ia(),Oa(),mp(),KC(),Jre(),ZC(),eoe(),toe(),noe(),vp(),roe(),ss(),gn(),ooe(),ioe(),soe(),aoe(),loe(),coe(),uoe(),doe(),foe(),poe(),hoe(),goe(),moe(),voe(),yoe(),boe())})(et,function(n){return n})})(Zre);var XC=(e=>(e.GOOGLE="google",e))(XC||{});function Coe(e={}){const{nonce:t,onScriptLoadSuccess:n,onScriptLoadError:r}=e,[o,i]=P.useState(!1),s=P.useRef(n);s.current=n;const l=P.useRef(r);return l.current=r,P.useEffect(()=>{const d=document.createElement("script");return d.src="https://accounts.google.com/gsi/client",d.async=!0,d.defer=!0,d.nonce=t,d.onload=()=>{var u;i(!0),(u=s.current)===null||u===void 0||u.call(s)},d.onerror=()=>{var u;i(!1),(u=l.current)===null||u===void 0||u.call(l)},document.body.appendChild(d),()=>{document.body.removeChild(d)}},[t]),o}const QC=P.createContext(null);function xoe({clientId:e,nonce:t,onScriptLoadSuccess:n,onScriptLoadError:r,children:o}){const i=Coe({nonce:t,onScriptLoadSuccess:n,onScriptLoadError:r}),s=P.useMemo(()=>({clientId:e,scriptLoadedSuccessfully:i}),[e,i]);return P.createElement(QC.Provider,{value:s},o)}function woe(){const e=P.useContext(QC);if(!e)throw new Error("Google OAuth components must be used within GoogleOAuthProvider");return e}function Soe(e){var t;return(t=e==null?void 0:e.clientId)!==null&&t!==void 0?t:e==null?void 0:e.client_id}const Aoe={large:40,medium:32,small:20};function Eoe({onSuccess:e,onError:t,useOneTap:n,promptMomentNotification:r,type:o="standard",theme:i="outline",size:s="large",text:l,shape:d,logo_alignment:u,width:p,locale:g,click_listener:h,containerProps:m,...v}){const b=P.useRef(null),{clientId:x,scriptLoadedSuccessfully:S}=woe(),I=P.useRef(e);I.current=e;const w=P.useRef(t);w.current=t;const T=P.useRef(r);return T.current=r,P.useEffect(()=>{var O,j,M,F,N,k,_,H,U;if(S)return(M=(j=(O=window==null?void 0:window.google)===null||O===void 0?void 0:O.accounts)===null||j===void 0?void 0:j.id)===null||M===void 0||M.initialize({client_id:x,callback:G=>{var Y;if(!(G!=null&&G.credential))return(Y=w.current)===null||Y===void 0?void 0:Y.call(w);const{credential:V,select_by:Z}=G;I.current({credential:V,clientId:Soe(G),select_by:Z})},...v}),(k=(N=(F=window==null?void 0:window.google)===null||F===void 0?void 0:F.accounts)===null||N===void 0?void 0:N.id)===null||k===void 0||k.renderButton(b.current,{type:o,theme:i,size:s,text:l,shape:d,logo_alignment:u,width:p,locale:g,click_listener:h}),n&&((U=(H=(_=window==null?void 0:window.google)===null||_===void 0?void 0:_.accounts)===null||H===void 0?void 0:H.id)===null||U===void 0||U.prompt(T.current)),()=>{var G,Y,V;n&&((V=(Y=(G=window==null?void 0:window.google)===null||G===void 0?void 0:G.accounts)===null||Y===void 0?void 0:Y.id)===null||V===void 0||V.cancel())}},[x,S,n,o,i,s,l,d,u,p,g]),P.createElement("div",{...m,ref:b,style:{height:Aoe[s],...m==null?void 0:m.style}})}function JC({setLoading:e}){const n=E.useTheme().palette.mode==="dark",r=te.useAuthProvider(),o=te.useNotify(),i=ut.useNavigate(),[s,l]=P.useState(395),d=P.useRef(null);P.useEffect(()=>{const g=Qe.debounce(()=>{d!=null&&d.current&&l(d.current.offsetWidth)},100);return g(),window.addEventListener("resize",g),()=>{window.removeEventListener("resize",g),g.cancel()}},[d]);function u(g){e(!0),r.thirdPartyLogin({provider:XC.GOOGLE,payload:{credential:g.credential}}).then(()=>{e(!1),i("/")}).catch(h=>{e(!1),o(typeof h=="string"?h:typeof h>"u"||!h.message?"ra.auth.sign_in_error":h.message,{type:"error",messageArgs:{_:typeof h=="string"?h:h&&h.message?h.message:void 0}})})}function p(){o("ra.auth.sign_in_error",{type:"error"})}return f.jsx(E.Box,{sx:{colorScheme:n?"light":"dark",width:"100%"},ref:d,children:f.jsx(Eoe,{theme:"outline",width:s,onSuccess:u,onError:p})})}function Toe({label:e="ra.auth.sign_in",redirect:t="/",...n}){const r=z.useRecordContext(),[o,i]=P.useState(!1),s=z.useAuthProvider(),l=P.useCallback(d=>{d.stopPropagation(),d.preventDefault(),i(!0),s.impersonate(r==null?void 0:r.id).then(()=>{i(!1),document.location.href=t})},[s,r==null?void 0:r.id,t]);return f.jsx(z.Button,{disabled:o||s.impersonate===void 0,color:"primary",variant:"text",label:e,onClick:l,...n,children:f.jsx(Vt.VpnKey,{})})}const Ioe=a1(z.SimpleForm,{slot:"Root"})(({theme:e})=>({[e.breakpoints.down("sm")]:{paddingBottom:`${e.spacing(2.5)}`}}));function yp({title:e,modal:t=!1,content:n=!1,subheader:r=null,toolbar:o=f.jsx(gi,{children:f.jsx(z.SaveButton,{type:"button"})}),secondary:i=f.jsx(ui,{children:f.jsx(is,{})}),sx:s,...l}){const d=fp(e),u=z.useRecordContext(),p=Y6();return f.jsx(Nn,{content:n,title:d,subheader:r,secondary:u!=null&&u.id?i:null,sx:{...s,"& .MuiToolbar-root":{paddingLeft:p.spacing(2.5),paddingRight:p.spacing(2.5),paddingBottom:p.spacing(2.5),paddingTop:t?p.spacing(2.5):0,borderTop:t?`1px solid ${p.palette.divider}`:void 0}},border:!t,divider:!0,children:f.jsx(Ioe,{toolbar:o,...l})})}const ex={openDialogs:[],getCurrentDialog:()=>null,openDialog:(e,t)=>{throw new Error(`openDialog not yet ready for: ${e}, ${t}`)},closeDialog:(e,t)=>{throw new Error(`closeDialog not yet ready for: ${e}, ${t}`)}},tx=P.createContext(ex);function Ooe(e){const[t,n]=P.useState(ex);function r(s,l){n(d=>({...d,openDialogs:[...d.openDialogs,s]})),l&&l()}function o(s,l){n(d=>({...d,openDialogs:d.openDialogs.filter(u=>u!==s)})),l&&l()}function i(){return t.openDialogs.length>0?t.openDialogs[t.openDialogs.length-1]:null}return f.jsx(tx.Provider,{value:{...t,openDialog:r,closeDialog:o,getCurrentDialog:i},children:e.children})}function nx(){const e=P.useContext(tx);if(e===void 0)throw new Error("useAppState must be used within an AppStateProvider");return e}function bp(){return nx()}function rx({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:i,divider:s=!1,fullWidth:l,...d}){const u=dn.useTheme(),p=z.useTranslate(),{getCurrentDialog:g}=bp(),{source:h,resource:m,isRequired:v}=d,{getFieldState:b,formState:x}=fn.useFormContext(),{error:S}=b(h,x),I=g();return f.jsxs(E.Stack,{spacing:1,sx:{"& .MuiFormHelperText-root":{color:S?u.palette.error.main:u.palette.text.secondary,"& span":{display:"none"}},width:l?"100%":"auto",...o},children:[n==="label"&&e!==!1&&i!==!1&&f.jsx(E.InputLabel,{error:!!S,sx:{borderBottom:s?`1px solid ${u.palette.divider}`:"none",pb:s?1:0,mt:s?1:0,pt:1},children:f.jsx(z.FieldTitle,{label:e,source:h,resource:I||m,isRequired:v})}),P.isValidElement(t)?P.cloneElement(t,{...t.props,...d,label:n==="legend"?e:!1}):t,n==="label"&&r?f.jsx(E.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:!!S,children:P.isValidElement(r)?r:typeof r=="string"?p(r,{_:r}):r}):null]})}const Poe=ge(z.ArrayInput,{slot:"root"})(({theme:e})=>({"& .MuiStack-root > label":{marginTop:e.spacing(2)},"& .MuiInputLabel-shrink":{paddingBottom:0},marginTop:"0 !important","& .RaSimpleFormIterator-line > .RaSimpleFormIterator-form":{paddingBottom:e.spacing(.5),"& > div":{width:"100%"}}}));function joe({label:e,addLabel:t,source:n,helperText:r,divider:o=!0,...i}){return f.jsx(rx,{label:e,addLabel:t,source:n,helperText:r,divider:o,fullWidth:i==null?void 0:i.fullWidth,children:f.jsx(Poe,{source:n,label:!1,...i})})}function Roe({canEdit:e=!0,canDelete:t=!0,canClone:n=!1}){return!e&&!t&&!n?null:f.jsxs(ui,{children:[e?f.jsx(z.EditButton,{}):null,t?f.jsx(is,{}):null,n?f.jsx(z.CloneButton,{}):null]})}const Um=ge("div",{overridesResolver:(e,t)=>t.root})({display:"inline-block"}),Moe=ge("ul")({display:"inline-block"});function koe(e){var p;const{className:t,emptyText:n,source:r,title:o,...i}=e,s=te.useRecordContext(e),l=Qe.get(s,r),d=te.useTranslate();if(!l)return n?f.jsx(E.Typography,{component:"span",variant:"body2",className:t,...i,children:n?d(n,{_:n}):null}):f.jsx(Um,{className:t,...i});if(Array.isArray(l))return f.jsx(Moe,{className:t,...i,children:l.map((g,h)=>{var v;const m=o instanceof String?(v=Qe.get(g,o))==null?void 0:v.toString():o;return f.jsx("li",{children:m},h)})});const u=o instanceof String?(p=Qe.get(s,o))==null?void 0:p.toString():o;return f.jsx(Um,{className:t,...i,children:u})}function ox({entityId:e,property:t,disabled:n,showUser:r=!1,userResource:o="entities/user",resource:i,...s}){const[l,d]=P.useState(null),u=z.useRecordContext(s),p=z.useDataProvider(),g=z.useResourceContext(),h=z.useNotify(),m=P.useCallback(async x=>{x.preventDefault(),x.stopPropagation(),h("ra.notification.download",{type:"info"});const S=Qe.get(u,s==null?void 0:s.source),I=(i||g).replace("entities/",""),w=e||(u==null?void 0:u.id),T=await p.getFile(`/attachments/${I}/${w}/${t||(s==null?void 0:s.source)}/${(S==null?void 0:S.id)||(u==null?void 0:u.id)}`),O=document.createElement("a");O.href=T,O.download=Qe.get(u,(s==null?void 0:s.title)||(s==null?void 0:s.source)),O.click()},[p,u,e,g,i,t,s==null?void 0:s.source,s==null?void 0:s.title,h]),v=P.useMemo(()=>({...u,[s==null?void 0:s.source]:(u==null?void 0:u.src)||Qe.get(u,s==null?void 0:s.source),[s==null?void 0:s.title]:(u==null?void 0:u.title)||Qe.get(u,(s==null?void 0:s.title)||(s==null?void 0:s.source))}),[u,s==null?void 0:s.source,s==null?void 0:s.title]),b=z.useTranslate();return P.useEffect(()=>{!u||!(u!=null&&u.userId)||r===!1||p.getOne(o,{id:u==null?void 0:u.userId}).then(({data:x})=>d(x)).catch(()=>d(null))},[u,p,o,r]),f.jsx(koe,{...s,disabled:n,record:v,onClick:m,title:f.jsxs(E.Box,{sx:{cursor:"pointer"},children:[f.jsx(E.Typography,{variant:"subtitle1",children:Qe.get(v,(s==null?void 0:s.title)||(s==null?void 0:s.source))}),f.jsxs(E.Typography,{variant:"caption",color:"secondary",children:[Qe.get(v,"sizeDescription"),r&&l?" | ":null,r&&l?b("ra.attachment.info",{user:l==null?void 0:l.name,created:Br(v==null?void 0:v.createdAt).format("DD/MM/YYYY HH:mm")}):null]})]})})}const _oe=ge(z.ImageField,{slot:"root"})(()=>({}));function ix(e){const t=`_${e==null?void 0:e.source}`;return f.jsx(_oe,{...e,source:t})}function sx({width:e=150,height:t=150,circle:n=!1,justify:r="flex-start",record:o,sx:i,...s}){const l=P.useMemo(()=>({width:typeof e=="number"?`${e}px !important`:`${e} !important`,height:typeof t=="number"?`${t}px !important`:`${t} !important`,borderRadius:n?"50%":1.5,...i}),[e,t,n,i]),d=z.useRecordContext(),u=o||d;return f.jsx(ix,{sx:p=>({margin:0,display:"flex",justifyContent:r,"& img":{margin:"0px !important",border:`1px solid ${p.palette.divider}`,objectFit:"cover !important",...l,minWidth:l.width,minHeight:l.height}}),...s,record:u})}var Doe={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Pn,function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(n){var r=["th","st","nd","rd"],o=n%100;return"["+n+(r[(o-20)%10]||r[o]||r[0])+"]"}}})})(Doe);var Foe={exports:{}};(function(e,t){(function(n,r){e.exports=r(BC)})(Pn,function(n){function r(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var o=r(n),i={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(s){return s+"º"}};return o.default.locale(i,null,!0),i})})(Foe);var ax={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Pn,function(){return function(n,r,o){n=n||{};var i=r.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function l(u,p,g,h){return i.fromToBase(u,p,g,h)}o.en.relativeTime=s,i.fromToBase=function(u,p,g,h,m){for(var v,b,x,S=g.$locale().relativeTime||s,I=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],w=I.length,T=0;T<w;T+=1){var O=I[T];O.d&&(v=h?o(u).diff(g,O.d,!0):g.diff(u,O.d,!0));var j=(n.rounding||Math.round)(Math.abs(v));if(x=v>0,j<=O.r||!O.r){j<=1&&T>0&&(O=I[T-1]);var M=S[O.l];m&&(j=m(""+j)),b=typeof M=="string"?M.replace("%d",j):M(j,p,O.l,x);break}}if(p)return b;var F=x?S.future:S.past;return typeof F=="function"?F(b):F.replace("%s",b)},i.to=function(u,p){return l(u,p,this,!0)},i.from=function(u,p){return l(u,p,this)};var d=function(u){return u.$u?o.utc():o()};i.toNow=function(u){return this.to(d(this),u)},i.fromNow=function(u){return this.from(d(this),u)}}})})(ax);var Loe=ax.exports;const Boe=Nr(Loe);Br.extend(Boe);function lx(e){const t=z.useRecordContext(e),[n]=z.useLocaleState(),r=P.useMemo(()=>Br(Qe.get(t,e==null?void 0:e.source)).locale(n).fromNow(),[t,e==null?void 0:e.source,n]);return f.jsxs(f.Fragment,{children:[f.jsx(z.DateField,{record:t,source:e.source,showTime:!0}),f.jsx("br",{}),f.jsx(E.Typography,{variant:"caption",color:"textSecondary",children:r})]})}const Noe=ge(z.DateField,{slot:"Root"})(()=>({}));function $oe({variant:e="body1",...t}){return f.jsx(Noe,{...t,variant:e})}const Voe=ge(z.EmailField,{slot:"Root"})(()=>({}));function zoe({variant:e="body1",...t}){return f.jsx(Voe,{...t,variant:e})}const Woe=ge(z.FileField,{slot:"root"})(()=>({}));function cx({...e}){const t=z.useRecordContext(e),n=P.useCallback(r=>{r.preventDefault(),r.stopPropagation();const o=Qe.get(t,`_${e==null?void 0:e.source}`,Qe.get(t,e==null?void 0:e.source)),i=Qe.get(t,(e==null?void 0:e.title)||(e==null?void 0:e.source))||(e==null?void 0:e.title),s=document.createElement("a");s.href=o,s.download=i,s.click()},[e==null?void 0:e.source,t,e==null?void 0:e.title]);return f.jsx(Woe,{...e,record:t,onClick:n})}function $0({variant:e="body1",...t}){return f.jsx(z.FunctionField,{...t,variant:e})}function ux(e){var g;const{resource:t,source:n}=e,r=z.useDataProvider(),o=z.useResourceContext(),i=Q.isNil(t)?(g=o==null?void 0:o.match(new RegExp("(?<=\\/)[^\\/]+$")))==null?void 0:g[0]:t,s=z.useRecordContext(e),l=s==null?void 0:s.id,d=s==null?void 0:s[n??""],[u,p]=P.useState(null);return P.useEffect(()=>{if(Q.isNil(d)||Q.isNil(r)||Q.isNil(i)||Q.isNil(l)||Q.isNil(n))return;const h=`/attachments/${i}/${l}/${n}/`;function m(v){return r.getFile(`${h}${v==null?void 0:v.id}`).then(b=>({url:b,title:v==null?void 0:v.name}))}Q.isArray(d)?Promise.all(d.map(m)).then(v=>{p({image:v})}):m(d).then(v=>{p({image:v})})},[d,r,i,l,n]),Q.isNil(u)?null:f.jsx(z.ImageField,{...e,src:"url",source:Q.isArray(d)?"image":"image.url",title:"image.title",record:u})}const Uoe=ge(z.TextField,{slot:"Root"})(()=>({}));function dx({variant:e="body1",...t}){return f.jsx(Uoe,{...t,variant:e})}function Hoe(e){const t=E.useTheme(),n=te.useLocales(),{source:r=""}=e,i=te.useRecordContext(e)[r],s=!ku(i,n),l=$r(e,{flex:1}),[d]=te.useLocaleState(),u=P.useMemo(()=>s?f.jsx(He.FlagFilled,{style:{color:t.palette.warning.main}}):f.jsx(He.FlagOutlined,{}),[s,t.palette.warning.main]),p=P.useMemo(()=>f.jsx(E.Stack,{children:Q.map(n,(g,h)=>f.jsx(E.Typography,{children:`${g.locale.toUpperCase()}: ${(i??{})[g.locale]??""}`},h))}),[i,n]);return f.jsx(b3,{title:p,arrow:!1,children:f.jsxs(E.Stack,{alignItems:"center",direction:"row",gap:1,children:[u,f.jsx(dx,{...e,source:`${r}.${d}`,sx:l})]})})}const Goe=ge("div")(({theme:e,fullWidth:t})=>({borderBottom:`1px solid ${e.palette.divider}`,paddingTop:e.spacing(1),paddingBottom:e.spacing(1),marginBottom:e.spacing(1),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:t?"100%":"auto",[e.breakpoints.down("sm")]:{whiteSpace:"normal",overflow:"visible",textOverflow:"inherit"}}));function qoe({source:e,defaultValue:t="&nbsp;",...n}){const r=z.useRecordContext(n),o=Qe.get(r,e,t);return f.jsx(E.Typography,{...n,dangerouslySetInnerHTML:{__html:o&&o!==null?o:t}})}function Yoe({title:e,children:t}){return t==null?null:typeof e=="string"||e===!0?f.jsx(E.Tooltip,{title:e,placement:"top",children:t}):t}function Koe({label:e,source:t,defaultValue:n="&nbsp;",children:r=f.jsx(qoe,{source:"",defaultValue:void 0,record:void 0}),tooltip:o,...i}){const s=P.Children.only(r),{getCurrentDialog:l}=nx(),d=z.useRecordContext(i),u=z.useResourceContext(i),p=l(),g=P.useMemo(()=>o===!1?!1:typeof o=="function"?o(d):typeof o=="string"?Qe.get(d,o,o):o,[d,o]),h=$r(i,{width:i!=null&&i.fullWidth?"100%":"auto"});return f.jsx(Yoe,{title:g,children:f.jsxs(f.Fragment,{children:[f.jsx(E.InputLabel,{sx:{pt:1},children:f.jsx(z.FieldTitle,{label:e,source:t,resource:p||u})}),f.jsx(Goe,{...i,children:P.isValidElement(s)?P.cloneElement(s,{...s.props,source:t,record:d,defaultValue:n,resource:p||u,sx:h}):null})]})})}function Zoe({children:e=null,className:t=""}){return f.jsx("div",{className:t,children:e})}const Xoe=a1(Zoe,{slot:"root"})(({theme:e,bulkActionButtons:t})=>({marginLeft:`-${e.spacing(2.5)}`,marginRight:`-${e.spacing(2.5)}`,"&>div:first-of-type":{alignItems:"center","& form":{padding:e.spacing(2.5)},"& .MuiToolbar-root":{alignItems:"center",padding:"0 !important",marginTop:e.spacing(1),[e.breakpoints.up("sm")]:{marginLeft:e.spacing(2),marginRight:e.spacing(2),width:`calc(100% - ${e.spacing(4)})`},[e.breakpoints.down("md")]:{marginTop:0,display:"contents"}}},"& .RaDatagrid-root":{overflowX:"auto",paddingTop:t===!1?0:48,[e.breakpoints.down("sm")]:{width:"calc(100vw - 26px)"},"& .RaBulkActionsToolbar-toolbar":{borderRadius:0,"& > .RaBulkActionsToolbar-title":{alignItems:"center"},[e.breakpoints.down("sm")]:{paddingLeft:e.spacing(3)}},"& .RaDatagrid-table":{borderBottom:`1px solid ${e.palette.divider}`}},"& .MuiTablePagination-toolbar":{marginTop:"0 !important",marginBottom:"0 !important"},"& .RaBulkActionsToolbar-collapsed.RaBulkActionsToolbar-toolbar":{minHeight:0}}));function fx(e){return f.jsx(Xoe,{...e,children:f.jsx(z.ReferenceManyField,{pagination:f.jsx(z.Pagination,{}),...e})})}function Qoe({source:e,...t}){const n=z.useRecordContext(t),r=Qe.get(n,e,0),o=r/1024,i=o/1024,s=i/1024,l=s>1?`${s.toFixed(2)} GB`:i>1?`${i.toFixed(2)} MB`:o>1?`${o.toFixed(2)} KB`:`${r.toFixed(2)} B`;return f.jsx(E.Typography,{component:"span",variant:"body1",...t,children:l})}function on({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:i,divider:s=!1,...l}){const d=wt(),u=z.useTranslate(),{getCurrentDialog:p}=bp(),{source:g,resource:h,isRequired:m,chip:v}=l,{fieldState:{invalid:b}}=z.useInput(l),x=p();return f.jsxs(E.Stack,{spacing:1,sx:{width:l!=null&&l.fullWidth?"100%":"auto","& .MuiFormHelperText-root":{pb:0,color:b?d.palette.error.main:d.palette.text.secondary,"& span":{display:"none"}},...o},children:[n==="label"&&e!==!1&&i!==!1&&f.jsx(E.InputLabel,{error:b===!0,sx:{borderBottom:s?`1px solid ${d.palette.divider}`:"none",pt:.5,pb:s?1:0,mt:s?1:0},children:f.jsx(z.FieldTitle,{label:e,source:g,resource:x||h,isRequired:m})}),P.isValidElement(t)?P.cloneElement(t,{...t.props,...l,chip:v&&typeof v=="function"?P.createElement(v):v,label:n==="legend"?e:!1}):t,r?f.jsx(E.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:b===!0,children:P.isValidElement(r)?r:typeof r=="string"?u(r,{_:r}):r}):null]})}function Joe(e){return e?{"& .RaFileInput-removeButton > .RaFileInputPreview-removeButton":{display:"none",visiblity:"hidden"},"& .RaFileInput-dropZone":{display:"none",visiblity:"hidden"}}:{}}const eie=ge(z.FileInput,{slot:"root"})(({disabled:e,theme:t})=>({"& .previews":{},"& .previews>div":{marginTop:t.spacing(1),padding:t.spacing(1.5),border:`1px solid ${t.palette.divider}`,borderRadius:t.shape.borderRadius,"& button":{float:"right",placeItems:"flex-end",verticalAlign:"middle"},"&:hover":{backgroundColor:t.palette.action.hover},"& .MuiLink-root":{fontSize:t.typography.body1.fontSize}},...Joe(e)}));function px({children:e=f.jsx(ox,{title:"name",source:"path"}),multiple:t=!1,disabled:n=!1,type:r="attachment",...o}){const i=z.useRecordContext(o),s=o==null?void 0:o.source,l=i==null?void 0:i.id;return z.useInput({source:`__${r}__${o==null?void 0:o.source}`,defaultValue:o==null?void 0:o.source}),f.jsx(on,{...o,disabled:n,children:f.jsx(eie,{type:r,multiple:t,disabled:n,children:P.cloneElement(e,{entityId:l,property:s,...e.props})})})}const tie=ge(z.AutocompleteArrayInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"},"& .MuiOutlinedInput-root.MuiInputBase-sizeSmall:has(.MuiChip-root)":{paddingBottom:"4px"},"& .MuiAutocomplete-tag":{margin:"0px 4px 4px 0px"}}));function nie({size:e="small",...t}){return f.jsx(on,{...t,children:f.jsx(tie,{size:e})})}const rie=ge(z.AutocompleteInput,{name:"StyledAutocompleteInput"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"}}));function oie({size:e="small",...t}){const{perPage:n,...r}=t;return f.jsx(on,{...r,children:f.jsx(rie,{size:e})})}const iie=ge(z.BooleanInput,{slot:"Root"})(()=>({marginTop:"0 !important"}));function sie({...e}){const t=dn.useTheme();return f.jsx(on,{...e,children:f.jsx(iie,{sx:{"& .MuiFormControlLabel-root":{marginLeft:"0 !important",marginRight:"0 !important"},"& .MuiSwitch-root":{margin:"0 !important",marginRight:"6px !important",marginTop:e.display==="legend"?0:`${t.spacing(1)} !important`}}})})}const aie=4,lie=ge(z.DateInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function cie(e){const[t,n]=P.useState(""),r=P.useCallback(o=>{const i=o.target.value;Br(i).year().toString().length>aie?o.target.value=t:n(i)},[t]);return f.jsx(on,{...e,children:f.jsx(lie,{...e,onInput:r})})}const uie=ge(z.DateTimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function die(e){return f.jsx(on,{...e,children:f.jsx(uie,{})})}const fie=ge(z.FileInput,{slot:"root"})(({theme:e})=>({"& .previews":{},"& .previews>div":{marginTop:e.spacing(1),padding:e.spacing(1.5),border:`1px solid ${e.palette.divider}`,borderRadius:e.shape.borderRadius,"& button":{float:"right",placeItems:"flex-end",verticalAlign:"middle"},"&:hover":{backgroundColor:e.palette.action.hover},"& .MuiLink-root":{fontSize:e.typography.body1.fontSize}}}));function pie({children:e=f.jsx(cx,{source:"",title:""}),title:t,...n}){const r=fn.useWatch({name:n.source}),o=z.useRecordContext(n),{source:i}=n,s=P.useMemo(()=>{if(r&&(r!=null&&r.title))return r==null?void 0:r.title;const l=Qe.get(o,i);if(l){const d=l.split("__");return d.length>0?d[d.length-1]:l}return l},[o,i,r]);return f.jsx(on,{...n,children:f.jsx(fie,{children:P.cloneElement(e,{...e.props,title:t||i,source:i,record:{...o,[i]:(r==null?void 0:r.title)||Qe.get(o,i),[`_${i}`]:(r==null?void 0:r.src)||Qe.get(o,`_${i}`),[t||i]:s}})})})}function hie(e){const{source:t}=e,n=te.useRecordContext(e),{id:r}=n??{};return f.jsx(px,{...e,children:f.jsx(gie,{entityId:String(r),source:t})})}function gie(e){const t=te.useRecordContext();return Q.isNil(t==null?void 0:t.rawFile)?f.jsx(mie,{...e}):f.jsx(J2,{...e,title:"title",source:"src"})}function mie(e){const{entityId:t,...n}=e,r=e.source??"",o=te.useRecordContext(),[i,s]=P.useState(r?{id:t,[r]:o}:{id:t});return P.useEffect(()=>{s({id:t,[r]:o})},[o,t,r]),f.jsx(te.RecordContextProvider,{value:i,children:f.jsx(ux,{...n})})}function vie({children:e=f.jsx(sx,{}),title:t,multiple:n=!1,...r}){const o=fn.useWatch({name:r.source}),i=z.useRecordContext(r),{source:s}=r;return z.useInput({source:`__image__${r==null?void 0:r.source}`,defaultValue:r==null?void 0:r.source}),f.jsx(on,{...r,multiple:n,children:f.jsx(z.ImageInput,{accept:"image/*",children:P.cloneElement(e,{...e.props,title:t,source:s,record:{...i,[s]:(o==null?void 0:o.title)||Qe.get(i,s),[`_${s}`]:(o==null?void 0:o.src)||Qe.get(i,`_${s}`)}})})})}function Sr(e){return f.jsx(on,{...e,children:f.jsx(z.TextInput,{})})}const yie={vertical:"bottom",horizontal:"right"},bie={vertical:"top",horizontal:"right"};function Cie({requiredAtLeastOneLocale:e,requiredLocale:t,validate:n,required:r,...o}){const{source:i}=o,s=te.useLocales(),l=P.useCallback((j="ra.validation.required",M="ra.validation.required_locale")=>F=>{if(e&&!t&&!DC(F,s))return j;if(t&&(!Q.has(F,t)||Q.isEmpty(Q.get(F,t))))return{message:M,args:{locale:t}};if(!e&&r&&!ku(F,s))return j},[e,t,s,r]),d=P.useMemo(()=>te.composeValidators(n,l()),[n,l]),{fieldState:u}=te.useInput({...o,validate:d}),{error:p}=u,g=fn.useWatch({name:i}),h=!ku(g,s),[m]=te.useLocaleState(),[v,b]=P.useState(m),[x,S]=P.useState(null),I=!!x,w=P.useCallback(j=>S(I?null:j.currentTarget),[I,S]),T=P.useCallback(()=>S(null),[S]),O=P.useMemo(()=>Q.map(s,(j,M)=>f.jsx(E.MenuItem,{onClick:()=>{b(j.locale),T()},children:f.jsx(E.ListItemText,{primary:`${j.locale.toUpperCase()}: ${(g??{})[j.locale]??""}`})},M)),[s,b,T,g]);return f.jsx(on,{...o,validate:d,helperText:p!=null&&p.message?f.jsx(te.ValidationError,{error:p==null?void 0:p.message}):o==null?void 0:o.helperText,children:f.jsx(f.Fragment,{children:f.jsxs(E.Box,{flex:1,children:[Q.map(s,(j,M)=>f.jsx(Sr,{...o,source:`${i}.${j.locale}`,sx:{width:"100%",display:j.locale===v?"inline-flex":"none"},label:!1,helperText:!1,required:!1,InputProps:{endAdornment:f.jsx(E.Chip,{label:f.jsx(E.Typography,{variant:"button",children:v}),size:"small",onClick:w,color:h?"warning":void 0})}},M)),f.jsx(E.Menu,{anchorEl:x,open:I,anchorOrigin:yie,transformOrigin:bie,onClose:T,children:O})]})})})}const xie=ge(z.NumberInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function wie(e){return f.jsx(on,{...e,children:f.jsx(xie,{})})}const Sie=ge(z.RadioButtonGroupInput,{slot:"root"})(()=>({marginTop:"0 !important","& .MuiFormControlLabel-root":{marginLeft:-8}}));function Aie(e){return f.jsx(on,{...e,children:f.jsx(Sie,{})})}function Eie({source:e,minWidth:t=300,children:n}){const r=z.useResourceContext(),o=z.useRecordContext(),[i,s]=P.useState(Qe.get(o,e,"")),[l,d]=P.useState(!1),u=P.useCallback(v=>s(v.target.value),[]),p=z.useDataProvider(),g=P.useCallback(v=>{v.key==="Enter"&&(d(!0),p.update(r,{id:o.id,data:{...o,[e]:i,_changed:e},previousData:o}).then(()=>d(!1)))},[i,p,r,o,e]),h=P.useCallback(()=>{Qe.get(o,e)!==i&&(d(!0),p.update(r,{id:o.id,data:{...o,[e]:i,_changed:e},previousData:o}).then(()=>d(!1)))},[i,p,r,e,o]),m=P.useCallback(v=>{d(!0),p.update(r,{id:o.id,data:{...o,[e]:v,_changed:e},previousData:o}).then(()=>d(!1))},[p,r,e,o]);return P.useEffect(()=>s(Qe.get(o,e)),[o,e]),n?P.cloneElement(n,{...n.props,source:e,value:i,onChange:m}):f.jsx(E.TextField,{value:i,disabled:l,onChange:u,onKeyPress:g,onBlur:h,style:{minWidth:t,width:"100%"},multiline:!0,InputProps:{"arial-label":"naked"},size:"small"})}function Tie({children:e,...t}){const n=P.Children.only(e);return f.jsx(z.ReferenceArrayInput,{...t,children:P.cloneElement(n,{...t,source:n.props.source||t.source})})}function Iie({children:e,...t}){const n=P.Children.only(e);return f.jsx(z.ReferenceInput,{...t,children:P.cloneElement(n,{...t,source:n.props.source||t.source})})}const Oie=ge(z.SearchInput,{slot:"root"})(()=>({}));function Cp(e){return f.jsx(Oie,{...e})}const xp=P.memo(e=>{const{page:t,rowsPerPage:n,count:r,onPageChange:o,size:i="small",className:s,...l}=e,d=te.useTranslate(),u=Math.ceil(r/n)||1;if(u===1)return f.jsx(Hm,{className:s});function p(g,h,m){return g==="page"?m?d("ra.navigation.current_page",{page:h,_:`page ${h}`}):d("ra.navigation.page",{page:h,_:`Go to page ${h}`}):d(`ra.navigation.${g}`,{_:`Go to ${g} page`})}return f.jsx(Hm,{className:s,children:f.jsx(E.Pagination,{size:i,count:u,page:t+1,onChange:(g,h)=>o(g,h-1),...jie(l),getItemAriaLabel:p})})});xp.propTypes={count:C.number.isRequired,onPageChange:C.func.isRequired,page:C.number.isRequired,rowsPerPage:C.number.isRequired,color:C.oneOf(["primary","secondary","standard"]),size:C.oneOf(["small","medium","large"])};const Pie="RaPaginationActions",Hm=ge("div",{name:Pie,overridesResolver:e=>e.root})(()=>({flexShrink:0,ml:4}));function jie({nextIconButtonProps:e,backIconButtonProps:t,slotProps:n,...r}){return r}const k3=P.memo(e=>{const{rowsPerPageOptions:t=Rie,actions:n,limit:r=null,...o}=e,{isLoading:i,hasNextPage:s,page:l,perPage:d,total:u,setPage:p,setPerPage:g}=te.useListPaginationContext(e),h=te.useTranslate(),m=E.useMediaQuery(_=>_.breakpoints.down("md")),[v,b]=P.useState(l-1),{hasCreate:x}=te.useResourceDefinition(e),[S,I]=P.useState(!1),w=E.useTheme();P.useEffect(()=>{l!==v+1&&!S&&b(l-1)},[v,S,l]),P.useEffect(()=>{I(!1)},[l]);const T=P.useMemo(()=>u!=null?Math.ceil(u/d):void 0,[d,u]),O=P.useCallback(Qe.debounce(_=>{p(_+1)},500),[p]),j=P.useCallback((_,H)=>{var Y,V;if(!_)return;if(_.preventDefault(),H<0||T!==void 0&&H>T-1)throw new Error(h("ra.navigation.page_out_of_boundaries",{page:H+1}));const U=(((Y=_.target.dataset)==null?void 0:Y.testid)||((V=_.target.classList)==null?void 0:V.value))??"",G=U.includes("MuiPaginationItem-previousNext")||U.includes("NavigateBeforeIcon")||U.includes("NavigateNextIcon")||U.includes("KeyboardArrowLeftIcon")||U.includes("KeyboardArrowRightIcon");b(H),I(!0),G?O(H):p(H+1)},[O,p,h,T,I]),M=P.useCallback(_=>{g(Number(_.target.value))},[g]),F=P.useCallback(({from:_,to:H,count:U})=>U===-1&&s?h("ra.navigation.partial_page_range_info",{offsetBegin:_,offsetEnd:H,_:"%{from}-%{to} of more than %{to}"}):h("ra.navigation.page_range_info",{offsetBegin:_,offsetEnd:H,total:U===-1?H:U,_:"%{from}-%{to} of %{count === -1 ? to : count}"}),[h,s]),N=P.useCallback(_=>h(`ra.navigation.${_}`,{_:`Go to ${_} page`}),[h]);if(i)return f.jsx(E.Toolbar,{variant:"dense"});if(u===0||l<1||T!==void 0&&l>T)return r!=null&&process.env.NODE_ENV==="development"&&console.warn("The Pagination limit prop is deprecated. Empty state should be handled by the component displaying data (Datagrid, SimpleList)."),null;if(m)return f.jsx(E.TablePagination,{count:u??-1,rowsPerPage:d,page:v,onPageChange:j,rowsPerPageOptions:Mie,component:"span",labelDisplayedRows:F,sx:{justifyContent:x?"flex-start":"flex-end",display:x?"flex":"block",...e.displayStyle!=="text"&&{".MuiTablePagination-actions":{display:"flex",flexDirection:"row",gap:"4px"},"& button":{border:`1px solid ${w.palette.divider}`}}},...te.sanitizeListRestProps(o)});const k=n||(!i&&u!=null?xp:void 0);return f.jsx(E.TablePagination,{count:u??-1,rowsPerPage:d,page:v,onPageChange:j,onRowsPerPageChange:M,ActionsComponent:k,nextIconButtonProps:{disabled:!s},component:"span",labelRowsPerPage:h("ra.navigation.page_rows_per_page"),labelDisplayedRows:F,getItemAriaLabel:N,rowsPerPageOptions:t,sx:e.displayStyle!=="text"?{".MuiInputBase-root":{border:`1px solid ${w.palette.divider}`,borderRadius:"4px"},".MuiTablePagination-spacer":{display:"none"},".MuiTablePagination-selectLabel":{color:w.palette.text.secondary},".MuiTablePagination-actions":{flex:1,position:"absolute",right:24},"& button":{border:`1px solid ${w.palette.divider}`,"&.Mui-selected":{fontSize:"0.875rem",fontWeight:"regular",backgroundColor:"trasparent",border:`1px solid ${w.palette.primary.main}`,color:w.palette.primary.main}}}:{},...te.sanitizeListRestProps(o)})});k3.propTypes={actions:te.ComponentPropType,limit:C.element,rowsPerPageOptions:C.arrayOf(C.oneOfType([C.number,C.shape({label:C.string.isRequired,value:C.number.isRequired})]))};const Rie=[5,10,25,50],Mie=[];function hx(e){const{label:t="ra.action.bulk_actions",children:n,className:r,...o}=e,{filterValues:i,resource:s,selectedIds:l=[],onUnselectItems:d}=te.useListContext(e),u=te.useTranslate(),p=P.useCallback(()=>{d()},[d]);return f.jsx(kie,{className:r,children:f.jsxs(E.Toolbar,{"data-test":"bulk-actions-toolbar",className:$e(Fr.toolbar,{[Fr.collapsed]:l.length===0}),...te.sanitizeListRestProps(o),children:[f.jsxs("div",{className:Fr.title,children:[f.jsx(E.IconButton,{className:Fr.icon,"aria-label":u("ra.action.unselect"),title:u("ra.action.unselect"),onClick:p,size:"small",children:f.jsx(Vt.Close,{fontSize:"small"})}),f.jsx(E.Typography,{color:"inherit",variant:"subtitle1",children:u(t,{_:t,smart_count:l.length})})]}),f.jsx(z.TopToolbar,{className:Fr.topToolbar,children:P.Children.map(n,g=>P.isValidElement(g)?P.cloneElement(g,{filterValues:i,resource:s,selectedIds:l}):null)})]})})}const Bi="RaBulkActionsToolbar",Fr={toolbar:`${Bi}-toolbar`,topToolbar:`${Bi}-topToolbar`,buttons:`${Bi}-buttons`,collapsed:`${Bi}-collapsed`,title:`${Bi}-title`,icon:`${Bi}-icon`},kie=ge("div",{name:Bi,overridesResolver:(e,t)=>t.root})(({theme:e})=>({position:"relative",[`& .${Fr.toolbar}`]:{position:"absolute",left:0,right:0,zIndex:3,color:e.palette.mode==="light"?e.palette.primary.main:e.palette.text.primary,justifyContent:"space-between",backgroundColor:e.palette.mode==="light"?f0(e.palette.primary.light,.8):e.palette.primary.dark,minHeight:e.spacing(6),height:e.spacing(6),transform:`translateY(-${e.spacing(6)})`,transition:`${e.transitions.create("height")}, ${e.transitions.create("min-height")}, ${e.transitions.create("transform")}`,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius},[`& .${Fr.topToolbar}`]:{paddingBottom:e.spacing(1),minHeight:"auto",[e.breakpoints.down("sm")]:{backgroundColor:"transparent"}},[`& .${Fr.buttons}`]:{},[`& .${Fr.collapsed}`]:{minHeight:0,height:0,transform:"translateY(0)",overflowY:"hidden"},[`& .${Fr.title}`]:{display:"flex",flex:"0 0 auto"},[`& .${Fr.icon}`]:{marginLeft:"-0.5em",marginRight:"0.5em"}})),Ff={p:0,m:0},Gm={p:2,m:0,borderRadius:0,width:"100%"};function _ie(e){const{children:t}=e,[n,r]=B.useState(null);function o(v){r(v.currentTarget)}function i(){r(null)}const s=E.useMediaQuery(v=>v.breakpoints.down("md")),{filterValues:l,resource:d,selectedIds:u=[],onUnselectItems:p}=z.useListContext(e),g=!!n&&u!==void 0&&u.length>0,h=g?"simple-popover":void 0,m=B.useCallback(()=>{p(),r(null)},[p,r]);return f.jsx(E.Fade,{in:u!==void 0&&u.length>0,children:f.jsxs(E.Box,{sx:{position:"fixed",bottom:"16px",right:"16px"},children:[f.jsx(E.Fab,{color:"primary","aria-label":"manage",onClick:o,children:u==null?void 0:u.length}),f.jsx(E.Popover,{id:h,open:g,anchorEl:n,onClose:i,anchorOrigin:{vertical:"top",horizontal:s?"center":"right"},transformOrigin:{vertical:"bottom",horizontal:s?"center":"right"},disableScrollLock:!0,elevation:10,children:f.jsxs(E.List,{sx:Ff,children:[f.jsx(E.ListItem,{sx:Ff,children:f.jsx(z.Button,{onClick:m,sx:Gm,label:"ra.action.unselect",startIcon:f.jsx(R0,{}),children:f.jsx(R0,{})})}),B.Children.map(t,v=>{var b;return f.jsx(E.ListItem,{sx:Ff,children:B.isValidElement(v)?B.cloneElement(v,{filterValues:l,resource:d,selectedIds:u,sx:Gm,...(b=v.props)!=null&&b.popover?{closePopover:i}:{}}):null})})]})})]})})}const gx=P.createContext({});gx.displayName="DatagridContext";function Die({children:e,value:t}){return f.jsx(gx.Provider,{value:t,children:e})}function Fie({width:e=250,height:t=250,className:n=""}){return f.jsx("svg",{version:"1.0",xmlns:"http://www.w3.org/2000/svg",width:e,height:t,viewBox:"0 0 1600.000000 1600.000000",preserveAspectRatio:"xMidYMid meet",className:n,children:f.jsxs("g",{transform:"translate(0.000000,1600.000000) scale(0.100000,-0.100000)",stroke:"none",children:[f.jsx("path",{d:`M7380 13469 c-469 -10 -920 -27 -1300 -50 -179 -10 -351 -19 -383
237
+ */return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function o(l){if((l>>24&255)===255){var d=l>>16&255,u=l>>8&255,p=l&255;d===255?(d=0,u===255?(u=0,p===255?p=0:++p):++u):++d,l=0,l+=d<<16,l+=u<<8,l+=p}else l+=1<<24;return l}function i(l){return(l[0]=o(l[0]))===0&&(l[1]=o(l[1])),l}var s=r.Encryptor=r.extend({processBlock:function(l,d){var u=this._cipher,p=u.blockSize,g=this._iv,h=this._counter;g&&(h=this._counter=g.slice(0),this._iv=void 0),i(h);var m=h.slice(0);u.encryptBlock(m,0);for(var v=0;v<p;v++)l[d+v]^=m[v]}});return r.Decryptor=s,r}(),n.mode.CTRGladman})}(mm)),mm.exports}var ym={exports:{}},bm;function aoe(){return bm||(bm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),gn())})(et,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),o=r.Encryptor=r.extend({processBlock:function(i,s){var l=this._cipher,d=l.blockSize,u=this._iv,p=this._keystream;u&&(p=this._keystream=u.slice(0),this._iv=void 0),l.encryptBlock(p,0);for(var g=0;g<d;g++)i[s+g]^=p[g]}});return r.Decryptor=o,r}(),n.mode.OFB})}(ym)),ym.exports}var Cm={exports:{}},xm;function loe(){return xm||(xm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),gn())})(et,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(o,i){this._cipher.encryptBlock(o,i)}}),r.Decryptor=r.extend({processBlock:function(o,i){this._cipher.decryptBlock(o,i)}}),r}(),n.mode.ECB})}(Cm)),Cm.exports}var wm={exports:{}},Sm;function coe(){return Sm||(Sm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),gn())})(et,function(n){return n.pad.AnsiX923={pad:function(r,o){var i=r.sigBytes,s=o*4,l=s-i%s,d=i+l-1;r.clamp(),r.words[d>>>2]|=l<<24-d%4*8,r.sigBytes+=l},unpad:function(r){var o=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=o}},n.pad.Ansix923})}(wm)),wm.exports}var Am={exports:{}},Em;function uoe(){return Em||(Em=1,function(e,t){(function(n,r,o){e.exports=r(rt(),gn())})(et,function(n){return n.pad.Iso10126={pad:function(r,o){var i=o*4,s=i-r.sigBytes%i;r.concat(n.lib.WordArray.random(s-1)).concat(n.lib.WordArray.create([s<<24],1))},unpad:function(r){var o=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=o}},n.pad.Iso10126})}(Am)),Am.exports}var Tm={exports:{}},Im;function doe(){return Im||(Im=1,function(e,t){(function(n,r,o){e.exports=r(rt(),gn())})(et,function(n){return n.pad.Iso97971={pad:function(r,o){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,o)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(Tm)),Tm.exports}var Om={exports:{}},Pm;function foe(){return Pm||(Pm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),gn())})(et,function(n){return n.pad.ZeroPadding={pad:function(r,o){var i=o*4;r.clamp(),r.sigBytes+=i-(r.sigBytes%i||i)},unpad:function(r){for(var o=r.words,i=r.sigBytes-1;!(o[i>>>2]>>>24-i%4*8&255);)i--;r.sigBytes=i+1}},n.pad.ZeroPadding})}(Om)),Om.exports}var jm={exports:{}},Rm;function poe(){return Rm||(Rm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),gn())})(et,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(jm)),jm.exports}var Mm={exports:{}},km;function hoe(){return km||(km=1,function(e,t){(function(n,r,o){e.exports=r(rt(),gn())})(et,function(n){return function(r){var o=n,i=o.lib,s=i.CipherParams,l=o.enc,d=l.Hex,u=o.format;u.Hex={stringify:function(p){return p.ciphertext.toString(d)},parse:function(p){var g=d.parse(p);return s.create({ciphertext:g})}}}(),n.format.Hex})}(Mm)),Mm.exports}var _m={exports:{}},Dm;function goe(){return Dm||(Dm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),Ia(),Oa(),ss(),gn())})(et,function(n){return function(){var r=n,o=r.lib,i=o.BlockCipher,s=r.algo,l=[],d=[],u=[],p=[],g=[],h=[],m=[],v=[],b=[],x=[];(function(){for(var w=[],T=0;T<256;T++)T<128?w[T]=T<<1:w[T]=T<<1^283;for(var O=0,j=0,T=0;T<256;T++){var M=j^j<<1^j<<2^j<<3^j<<4;M=M>>>8^M&255^99,l[O]=M,d[M]=O;var F=w[O],N=w[F],k=w[N],_=w[M]*257^M*16843008;u[O]=_<<24|_>>>8,p[O]=_<<16|_>>>16,g[O]=_<<8|_>>>24,h[O]=_;var _=k*16843009^N*65537^F*257^O*16843008;m[M]=_<<24|_>>>8,v[M]=_<<16|_>>>16,b[M]=_<<8|_>>>24,x[M]=_,O?(O=F^w[w[w[k^F]]],j^=w[w[j]]):O=j=1}})();var S=[0,1,2,4,8,16,32,64,128,27,54],I=s.AES=i.extend({_doReset:function(){if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var w=this._keyPriorReset=this._key,T=w.words,O=w.sigBytes/4,j=this._nRounds=O+6,M=(j+1)*4,F=this._keySchedule=[],N=0;N<M;N++)if(N<O)F[N]=T[N];else{var k=F[N-1];N%O?O>6&&N%O==4&&(k=l[k>>>24]<<24|l[k>>>16&255]<<16|l[k>>>8&255]<<8|l[k&255]):(k=k<<8|k>>>24,k=l[k>>>24]<<24|l[k>>>16&255]<<16|l[k>>>8&255]<<8|l[k&255],k^=S[N/O|0]<<24),F[N]=F[N-O]^k}for(var _=this._invKeySchedule=[],H=0;H<M;H++){var N=M-H;if(H%4)var k=F[N];else var k=F[N-4];H<4||N<=4?_[H]=k:_[H]=m[l[k>>>24]]^v[l[k>>>16&255]]^b[l[k>>>8&255]]^x[l[k&255]]}}},encryptBlock:function(w,T){this._doCryptBlock(w,T,this._keySchedule,u,p,g,h,l)},decryptBlock:function(w,T){var O=w[T+1];w[T+1]=w[T+3],w[T+3]=O,this._doCryptBlock(w,T,this._invKeySchedule,m,v,b,x,d);var O=w[T+1];w[T+1]=w[T+3],w[T+3]=O},_doCryptBlock:function(w,T,O,j,M,F,N,k){for(var _=this._nRounds,H=w[T]^O[0],U=w[T+1]^O[1],G=w[T+2]^O[2],Y=w[T+3]^O[3],V=4,Z=1;Z<_;Z++){var W=j[H>>>24]^M[U>>>16&255]^F[G>>>8&255]^N[Y&255]^O[V++],se=j[U>>>24]^M[G>>>16&255]^F[Y>>>8&255]^N[H&255]^O[V++],K=j[G>>>24]^M[Y>>>16&255]^F[H>>>8&255]^N[U&255]^O[V++],$=j[Y>>>24]^M[H>>>16&255]^F[U>>>8&255]^N[G&255]^O[V++];H=W,U=se,G=K,Y=$}var W=(k[H>>>24]<<24|k[U>>>16&255]<<16|k[G>>>8&255]<<8|k[Y&255])^O[V++],se=(k[U>>>24]<<24|k[G>>>16&255]<<16|k[Y>>>8&255]<<8|k[H&255])^O[V++],K=(k[G>>>24]<<24|k[Y>>>16&255]<<16|k[H>>>8&255]<<8|k[U&255])^O[V++],$=(k[Y>>>24]<<24|k[H>>>16&255]<<16|k[U>>>8&255]<<8|k[G&255])^O[V++];w[T]=W,w[T+1]=se,w[T+2]=K,w[T+3]=$},keySize:256/32});r.AES=i._createHelper(I)}(),n.AES})}(_m)),_m.exports}var Fm={exports:{}},Lm;function moe(){return Lm||(Lm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),Ia(),Oa(),ss(),gn())})(et,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,s=o.BlockCipher,l=r.algo,d=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],p=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],g=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],h=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],m=l.DES=s.extend({_doReset:function(){for(var S=this._key,I=S.words,w=[],T=0;T<56;T++){var O=d[T]-1;w[T]=I[O>>>5]>>>31-O%32&1}for(var j=this._subKeys=[],M=0;M<16;M++){for(var F=j[M]=[],N=p[M],T=0;T<24;T++)F[T/6|0]|=w[(u[T]-1+N)%28]<<31-T%6,F[4+(T/6|0)]|=w[28+(u[T+24]-1+N)%28]<<31-T%6;F[0]=F[0]<<1|F[0]>>>31;for(var T=1;T<7;T++)F[T]=F[T]>>>(T-1)*4+3;F[7]=F[7]<<5|F[7]>>>27}for(var k=this._invSubKeys=[],T=0;T<16;T++)k[T]=j[15-T]},encryptBlock:function(S,I){this._doCryptBlock(S,I,this._subKeys)},decryptBlock:function(S,I){this._doCryptBlock(S,I,this._invSubKeys)},_doCryptBlock:function(S,I,w){this._lBlock=S[I],this._rBlock=S[I+1],v.call(this,4,252645135),v.call(this,16,65535),b.call(this,2,858993459),b.call(this,8,16711935),v.call(this,1,1431655765);for(var T=0;T<16;T++){for(var O=w[T],j=this._lBlock,M=this._rBlock,F=0,N=0;N<8;N++)F|=g[N][((M^O[N])&h[N])>>>0];this._lBlock=M,this._rBlock=j^F}var k=this._lBlock;this._lBlock=this._rBlock,this._rBlock=k,v.call(this,1,1431655765),b.call(this,8,16711935),b.call(this,2,858993459),v.call(this,16,65535),v.call(this,4,252645135),S[I]=this._lBlock,S[I+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function v(S,I){var w=(this._lBlock>>>S^this._rBlock)&I;this._rBlock^=w,this._lBlock^=w<<S}function b(S,I){var w=(this._rBlock>>>S^this._lBlock)&I;this._lBlock^=w,this._rBlock^=w<<S}r.DES=s._createHelper(m);var x=l.TripleDES=s.extend({_doReset:function(){var S=this._key,I=S.words;this._des1=m.createEncryptor(i.create(I.slice(0,2))),this._des2=m.createEncryptor(i.create(I.slice(2,4))),this._des3=m.createEncryptor(i.create(I.slice(4,6)))},encryptBlock:function(S,I){this._des1.encryptBlock(S,I),this._des2.decryptBlock(S,I),this._des3.encryptBlock(S,I)},decryptBlock:function(S,I){this._des3.decryptBlock(S,I),this._des2.encryptBlock(S,I),this._des1.decryptBlock(S,I)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=s._createHelper(x)}(),n.TripleDES})}(Fm)),Fm.exports}var Bm={exports:{}},Nm;function voe(){return Nm||(Nm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),Ia(),Oa(),ss(),gn())})(et,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,s=r.algo,l=s.RC4=i.extend({_doReset:function(){for(var p=this._key,g=p.words,h=p.sigBytes,m=this._S=[],v=0;v<256;v++)m[v]=v;for(var v=0,b=0;v<256;v++){var x=v%h,S=g[x>>>2]>>>24-x%4*8&255;b=(b+m[v]+S)%256;var I=m[v];m[v]=m[b],m[b]=I}this._i=this._j=0},_doProcessBlock:function(p,g){p[g]^=d.call(this)},keySize:256/32,ivSize:0});function d(){for(var p=this._S,g=this._i,h=this._j,m=0,v=0;v<4;v++){g=(g+1)%256,h=(h+p[g])%256;var b=p[g];p[g]=p[h],p[h]=b,m|=p[(p[g]+p[h])%256]<<24-v*8}return this._i=g,this._j=h,m}r.RC4=i._createHelper(l);var u=s.RC4Drop=l.extend({cfg:l.cfg.extend({drop:192}),_doReset:function(){l._doReset.call(this);for(var p=this.cfg.drop;p>0;p--)d.call(this)}});r.RC4Drop=i._createHelper(u)}(),n.RC4})}(Bm)),Bm.exports}var $m={exports:{}},Vm;function yoe(){return Vm||(Vm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),Ia(),Oa(),ss(),gn())})(et,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,s=r.algo,l=[],d=[],u=[],p=s.Rabbit=i.extend({_doReset:function(){for(var h=this._key.words,m=this.cfg.iv,v=0;v<4;v++)h[v]=(h[v]<<8|h[v]>>>24)&16711935|(h[v]<<24|h[v]>>>8)&4278255360;var b=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],x=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var v=0;v<4;v++)g.call(this);for(var v=0;v<8;v++)x[v]^=b[v+4&7];if(m){var S=m.words,I=S[0],w=S[1],T=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,O=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,j=T>>>16|O&4294901760,M=O<<16|T&65535;x[0]^=T,x[1]^=j,x[2]^=O,x[3]^=M,x[4]^=T,x[5]^=j,x[6]^=O,x[7]^=M;for(var v=0;v<4;v++)g.call(this)}},_doProcessBlock:function(h,m){var v=this._X;g.call(this),l[0]=v[0]^v[5]>>>16^v[3]<<16,l[1]=v[2]^v[7]>>>16^v[5]<<16,l[2]=v[4]^v[1]>>>16^v[7]<<16,l[3]=v[6]^v[3]>>>16^v[1]<<16;for(var b=0;b<4;b++)l[b]=(l[b]<<8|l[b]>>>24)&16711935|(l[b]<<24|l[b]>>>8)&4278255360,h[m+b]^=l[b]},blockSize:128/32,ivSize:64/32});function g(){for(var h=this._X,m=this._C,v=0;v<8;v++)d[v]=m[v];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0<d[0]>>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0<d[1]>>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0<d[2]>>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0<d[3]>>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0<d[4]>>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0<d[5]>>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0<d[6]>>>0?1:0)|0,this._b=m[7]>>>0<d[7]>>>0?1:0;for(var v=0;v<8;v++){var b=h[v]+m[v],x=b&65535,S=b>>>16,I=((x*x>>>17)+x*S>>>15)+S*S,w=((b&4294901760)*b|0)+((b&65535)*b|0);u[v]=I^w}h[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,h[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,h[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,h[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,h[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,h[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,h[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,h[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}r.Rabbit=i._createHelper(p)}(),n.Rabbit})}($m)),$m.exports}var zm={exports:{}},Wm;function boe(){return Wm||(Wm=1,function(e,t){(function(n,r,o){e.exports=r(rt(),Ia(),Oa(),ss(),gn())})(et,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,s=r.algo,l=[],d=[],u=[],p=s.RabbitLegacy=i.extend({_doReset:function(){var h=this._key.words,m=this.cfg.iv,v=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],b=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var x=0;x<4;x++)g.call(this);for(var x=0;x<8;x++)b[x]^=v[x+4&7];if(m){var S=m.words,I=S[0],w=S[1],T=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,O=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,j=T>>>16|O&4294901760,M=O<<16|T&65535;b[0]^=T,b[1]^=j,b[2]^=O,b[3]^=M,b[4]^=T,b[5]^=j,b[6]^=O,b[7]^=M;for(var x=0;x<4;x++)g.call(this)}},_doProcessBlock:function(h,m){var v=this._X;g.call(this),l[0]=v[0]^v[5]>>>16^v[3]<<16,l[1]=v[2]^v[7]>>>16^v[5]<<16,l[2]=v[4]^v[1]>>>16^v[7]<<16,l[3]=v[6]^v[3]>>>16^v[1]<<16;for(var b=0;b<4;b++)l[b]=(l[b]<<8|l[b]>>>24)&16711935|(l[b]<<24|l[b]>>>8)&4278255360,h[m+b]^=l[b]},blockSize:128/32,ivSize:64/32});function g(){for(var h=this._X,m=this._C,v=0;v<8;v++)d[v]=m[v];m[0]=m[0]+1295307597+this._b|0,m[1]=m[1]+3545052371+(m[0]>>>0<d[0]>>>0?1:0)|0,m[2]=m[2]+886263092+(m[1]>>>0<d[1]>>>0?1:0)|0,m[3]=m[3]+1295307597+(m[2]>>>0<d[2]>>>0?1:0)|0,m[4]=m[4]+3545052371+(m[3]>>>0<d[3]>>>0?1:0)|0,m[5]=m[5]+886263092+(m[4]>>>0<d[4]>>>0?1:0)|0,m[6]=m[6]+1295307597+(m[5]>>>0<d[5]>>>0?1:0)|0,m[7]=m[7]+3545052371+(m[6]>>>0<d[6]>>>0?1:0)|0,this._b=m[7]>>>0<d[7]>>>0?1:0;for(var v=0;v<8;v++){var b=h[v]+m[v],x=b&65535,S=b>>>16,I=((x*x>>>17)+x*S>>>15)+S*S,w=((b&4294901760)*b|0)+((b&65535)*b|0);u[v]=I^w}h[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,h[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,h[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,h[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,h[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,h[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,h[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,h[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}r.RabbitLegacy=i._createHelper(p)}(),n.RabbitLegacy})}(zm)),zm.exports}(function(e,t){(function(n,r,o){e.exports=r(rt(),M3(),Xre(),Qre(),Ia(),Oa(),mp(),KC(),Jre(),ZC(),eoe(),toe(),noe(),vp(),roe(),ss(),gn(),ooe(),ioe(),soe(),aoe(),loe(),coe(),uoe(),doe(),foe(),poe(),hoe(),goe(),moe(),voe(),yoe(),boe())})(et,function(n){return n})})(Zre);var XC=(e=>(e.GOOGLE="google",e))(XC||{});function Coe(e={}){const{nonce:t,onScriptLoadSuccess:n,onScriptLoadError:r}=e,[o,i]=P.useState(!1),s=P.useRef(n);s.current=n;const l=P.useRef(r);return l.current=r,P.useEffect(()=>{const d=document.createElement("script");return d.src="https://accounts.google.com/gsi/client",d.async=!0,d.defer=!0,d.nonce=t,d.onload=()=>{var u;i(!0),(u=s.current)===null||u===void 0||u.call(s)},d.onerror=()=>{var u;i(!1),(u=l.current)===null||u===void 0||u.call(l)},document.body.appendChild(d),()=>{document.body.removeChild(d)}},[t]),o}const QC=P.createContext(null);function xoe({clientId:e,nonce:t,onScriptLoadSuccess:n,onScriptLoadError:r,children:o}){const i=Coe({nonce:t,onScriptLoadSuccess:n,onScriptLoadError:r}),s=P.useMemo(()=>({clientId:e,scriptLoadedSuccessfully:i}),[e,i]);return P.createElement(QC.Provider,{value:s},o)}function woe(){const e=P.useContext(QC);if(!e)throw new Error("Google OAuth components must be used within GoogleOAuthProvider");return e}function Soe(e){var t;return(t=e==null?void 0:e.clientId)!==null&&t!==void 0?t:e==null?void 0:e.client_id}const Aoe={large:40,medium:32,small:20};function Eoe({onSuccess:e,onError:t,useOneTap:n,promptMomentNotification:r,type:o="standard",theme:i="outline",size:s="large",text:l,shape:d,logo_alignment:u,width:p,locale:g,click_listener:h,containerProps:m,...v}){const b=P.useRef(null),{clientId:x,scriptLoadedSuccessfully:S}=woe(),I=P.useRef(e);I.current=e;const w=P.useRef(t);w.current=t;const T=P.useRef(r);return T.current=r,P.useEffect(()=>{var O,j,M,F,N,k,_,H,U;if(S)return(M=(j=(O=window==null?void 0:window.google)===null||O===void 0?void 0:O.accounts)===null||j===void 0?void 0:j.id)===null||M===void 0||M.initialize({client_id:x,callback:G=>{var Y;if(!(G!=null&&G.credential))return(Y=w.current)===null||Y===void 0?void 0:Y.call(w);const{credential:V,select_by:Z}=G;I.current({credential:V,clientId:Soe(G),select_by:Z})},...v}),(k=(N=(F=window==null?void 0:window.google)===null||F===void 0?void 0:F.accounts)===null||N===void 0?void 0:N.id)===null||k===void 0||k.renderButton(b.current,{type:o,theme:i,size:s,text:l,shape:d,logo_alignment:u,width:p,locale:g,click_listener:h}),n&&((U=(H=(_=window==null?void 0:window.google)===null||_===void 0?void 0:_.accounts)===null||H===void 0?void 0:H.id)===null||U===void 0||U.prompt(T.current)),()=>{var G,Y,V;n&&((V=(Y=(G=window==null?void 0:window.google)===null||G===void 0?void 0:G.accounts)===null||Y===void 0?void 0:Y.id)===null||V===void 0||V.cancel())}},[x,S,n,o,i,s,l,d,u,p,g]),P.createElement("div",{...m,ref:b,style:{height:Aoe[s],...m==null?void 0:m.style}})}function JC({setLoading:e}){const n=E.useTheme().palette.mode==="dark",r=te.useAuthProvider(),o=te.useNotify(),i=ut.useNavigate(),[s,l]=P.useState(395),d=P.useRef(null);P.useEffect(()=>{const g=Qe.debounce(()=>{d!=null&&d.current&&l(d.current.offsetWidth)},100);return g(),window.addEventListener("resize",g),()=>{window.removeEventListener("resize",g),g.cancel()}},[d]);function u(g){e(!0),r.thirdPartyLogin({provider:XC.GOOGLE,payload:{credential:g.credential}}).then(()=>{e(!1),i("/")}).catch(h=>{e(!1),o(typeof h=="string"?h:typeof h>"u"||!h.message?"ra.auth.sign_in_error":h.message,{type:"error",messageArgs:{_:typeof h=="string"?h:h&&h.message?h.message:void 0}})})}function p(){o("ra.auth.sign_in_error",{type:"error"})}return f.jsx(E.Box,{sx:{colorScheme:n?"light":"dark",width:"100%"},ref:d,children:f.jsx(Eoe,{theme:"outline",width:s,onSuccess:u,onError:p})})}function Toe({label:e="ra.auth.sign_in",redirect:t="/",...n}){const r=z.useRecordContext(),[o,i]=P.useState(!1),s=z.useAuthProvider(),l=P.useCallback(d=>{d.stopPropagation(),d.preventDefault(),i(!0),s.impersonate(r==null?void 0:r.id).then(()=>{i(!1),document.location.href=t})},[s,r==null?void 0:r.id,t]);return f.jsx(z.Button,{disabled:o||s.impersonate===void 0,color:"primary",variant:"text",label:e,onClick:l,...n,children:f.jsx(Vt.VpnKey,{})})}const Ioe=a1(z.SimpleForm,{slot:"Root"})(({theme:e})=>({[e.breakpoints.down("sm")]:{paddingBottom:`${e.spacing(2.5)}`}}));function yp({title:e,modal:t=!1,content:n=!1,subheader:r=null,toolbar:o=f.jsx(gi,{children:f.jsx(z.SaveButton,{type:"button"})}),secondary:i=f.jsx(ui,{children:f.jsx(is,{})}),sx:s,...l}){const d=fp(e),u=z.useRecordContext(),p=Y6();return f.jsx(Nn,{content:n,title:d,subheader:r,secondary:u!=null&&u.id?i:null,sx:{...s,"& .MuiToolbar-root":{paddingLeft:p.spacing(2.5),paddingRight:p.spacing(2.5),paddingBottom:p.spacing(2.5),paddingTop:t?p.spacing(2.5):0,borderTop:t?`1px solid ${p.palette.divider}`:void 0}},border:!t,divider:!0,children:f.jsx(Ioe,{toolbar:o,...l})})}const ex={openDialogs:[],getCurrentDialog:()=>null,openDialog:(e,t)=>{throw new Error(`openDialog not yet ready for: ${e}, ${t}`)},closeDialog:(e,t)=>{throw new Error(`closeDialog not yet ready for: ${e}, ${t}`)}},tx=P.createContext(ex);function Ooe(e){const[t,n]=P.useState(ex);function r(s,l){n(d=>({...d,openDialogs:[...d.openDialogs,s]})),l&&l()}function o(s,l){n(d=>({...d,openDialogs:d.openDialogs.filter(u=>u!==s)})),l&&l()}function i(){return t.openDialogs.length>0?t.openDialogs[t.openDialogs.length-1]:null}return f.jsx(tx.Provider,{value:{...t,openDialog:r,closeDialog:o,getCurrentDialog:i},children:e.children})}function nx(){const e=P.useContext(tx);if(e===void 0)throw new Error("useAppState must be used within an AppStateProvider");return e}function bp(){return nx()}function rx({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:i,divider:s=!1,fullWidth:l,...d}){const u=dn.useTheme(),p=z.useTranslate(),{getCurrentDialog:g}=bp(),{source:h,resource:m,isRequired:v}=d,{getFieldState:b,formState:x}=fn.useFormContext(),{error:S}=b(h,x),I=g();return f.jsxs(E.Stack,{spacing:1,sx:{"& .MuiFormHelperText-root":{color:S?u.palette.error.main:u.palette.text.secondary,"& span":{display:"none"}},width:l?"100%":"auto",...o},children:[n==="label"&&e!==!1&&i!==!1&&f.jsx(E.InputLabel,{error:!!S,sx:{borderBottom:s?`1px solid ${u.palette.divider}`:"none",pb:s?1:0,mt:s?1:0,pt:1},children:f.jsx(z.FieldTitle,{label:e,source:h,resource:I||m,isRequired:v})}),P.isValidElement(t)?P.cloneElement(t,{...t.props,...d,label:n==="legend"?e:!1}):t,n==="label"&&r?f.jsx(E.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:!!S,children:P.isValidElement(r)?r:typeof r=="string"?p(r,{_:r}):r}):null]})}const Poe=ge(z.ArrayInput,{slot:"root"})(({theme:e})=>({"& .MuiStack-root > label":{marginTop:e.spacing(2)},"& .MuiInputLabel-shrink":{paddingBottom:0},marginTop:"0 !important","& .RaSimpleFormIterator-line > .RaSimpleFormIterator-form":{paddingBottom:e.spacing(.5),"& > div":{width:"100%"}}}));function joe({label:e,addLabel:t,source:n,helperText:r,divider:o=!0,...i}){return f.jsx(rx,{label:e,addLabel:t,source:n,helperText:r,divider:o,fullWidth:i==null?void 0:i.fullWidth,children:f.jsx(Poe,{source:n,label:!1,...i})})}function Roe({canEdit:e=!0,canDelete:t=!0,canClone:n=!1}){return!e&&!t&&!n?null:f.jsxs(ui,{children:[e?f.jsx(z.EditButton,{}):null,t?f.jsx(is,{}):null,n?f.jsx(z.CloneButton,{}):null]})}const Um=ge("div",{overridesResolver:(e,t)=>t.root})({display:"inline-block"}),Moe=ge("ul")({display:"inline-block"});function koe(e){var p;const{className:t,emptyText:n,source:r,title:o,...i}=e,s=te.useRecordContext(e),l=Qe.get(s,r),d=te.useTranslate();if(!l)return n?f.jsx(E.Typography,{component:"span",variant:"body2",className:t,...i,children:n?d(n,{_:n}):null}):f.jsx(Um,{className:t,...i});if(Array.isArray(l))return f.jsx(Moe,{className:t,...i,children:l.map((g,h)=>{var v;const m=o instanceof String?(v=Qe.get(g,o))==null?void 0:v.toString():o;return f.jsx("li",{children:m},h)})});const u=o instanceof String?(p=Qe.get(s,o))==null?void 0:p.toString():o;return f.jsx(Um,{className:t,...i,children:u})}function ox({entityId:e,property:t,disabled:n,showUser:r=!1,userResource:o="entities/user",resource:i,...s}){const[l,d]=P.useState(null),u=z.useRecordContext(s),p=z.useDataProvider(),g=z.useResourceContext(),h=z.useNotify(),m=P.useCallback(async x=>{x.preventDefault(),x.stopPropagation(),h("ra.notification.download",{type:"info"});const S=Qe.get(u,s==null?void 0:s.source),I=(i||g).replace("entities/",""),w=e||(u==null?void 0:u.id),T=await p.getFile(`/attachments/${I}/${w}/${t||(s==null?void 0:s.source)}/${(S==null?void 0:S.id)||(u==null?void 0:u.id)}`),O=document.createElement("a");O.href=T,O.download=Qe.get(u,(s==null?void 0:s.title)||(s==null?void 0:s.source)),O.click()},[p,u,e,g,i,t,s==null?void 0:s.source,s==null?void 0:s.title,h]),v=P.useMemo(()=>({...u,[s==null?void 0:s.source]:(u==null?void 0:u.src)||Qe.get(u,s==null?void 0:s.source),[s==null?void 0:s.title]:(u==null?void 0:u.title)||Qe.get(u,(s==null?void 0:s.title)||(s==null?void 0:s.source))}),[u,s==null?void 0:s.source,s==null?void 0:s.title]),b=z.useTranslate();return P.useEffect(()=>{!u||!(u!=null&&u.userId)||r===!1||p.getOne(o,{id:u==null?void 0:u.userId}).then(({data:x})=>d(x)).catch(()=>d(null))},[u,p,o,r]),f.jsx(koe,{...s,disabled:n,record:v,onClick:m,title:f.jsxs(E.Box,{sx:{cursor:"pointer"},children:[f.jsx(E.Typography,{variant:"subtitle1",children:Qe.get(v,(s==null?void 0:s.title)||(s==null?void 0:s.source))}),f.jsxs(E.Typography,{variant:"caption",color:"secondary",children:[Qe.get(v,"sizeDescription"),r&&l?" | ":null,r&&l?b("ra.attachment.info",{user:l==null?void 0:l.name,created:Br(v==null?void 0:v.createdAt).format("DD/MM/YYYY HH:mm")}):null]})]})})}const _oe=ge(z.ImageField,{slot:"root"})(()=>({}));function ix(e){const t=`_${e==null?void 0:e.source}`;return f.jsx(_oe,{...e,source:t})}function sx({width:e=150,height:t=150,circle:n=!1,justify:r="flex-start",record:o,sx:i,...s}){const l=P.useMemo(()=>({width:typeof e=="number"?`${e}px !important`:`${e} !important`,height:typeof t=="number"?`${t}px !important`:`${t} !important`,borderRadius:n?"50%":1.5,...i}),[e,t,n,i]),d=z.useRecordContext(),u=o||d;return f.jsx(ix,{sx:p=>({margin:0,display:"flex",justifyContent:r,"& img":{margin:"0px !important",border:`1px solid ${p.palette.divider}`,objectFit:"cover !important",...l,minWidth:l.width,minHeight:l.height}}),...s,record:u})}var Doe={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Pn,function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(n){var r=["th","st","nd","rd"],o=n%100;return"["+n+(r[(o-20)%10]||r[o]||r[0])+"]"}}})})(Doe);var Foe={exports:{}};(function(e,t){(function(n,r){e.exports=r(BC)})(Pn,function(n){function r(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var o=r(n),i={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(s){return s+"º"}};return o.default.locale(i,null,!0),i})})(Foe);var ax={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Pn,function(){return function(n,r,o){n=n||{};var i=r.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function l(u,p,g,h){return i.fromToBase(u,p,g,h)}o.en.relativeTime=s,i.fromToBase=function(u,p,g,h,m){for(var v,b,x,S=g.$locale().relativeTime||s,I=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],w=I.length,T=0;T<w;T+=1){var O=I[T];O.d&&(v=h?o(u).diff(g,O.d,!0):g.diff(u,O.d,!0));var j=(n.rounding||Math.round)(Math.abs(v));if(x=v>0,j<=O.r||!O.r){j<=1&&T>0&&(O=I[T-1]);var M=S[O.l];m&&(j=m(""+j)),b=typeof M=="string"?M.replace("%d",j):M(j,p,O.l,x);break}}if(p)return b;var F=x?S.future:S.past;return typeof F=="function"?F(b):F.replace("%s",b)},i.to=function(u,p){return l(u,p,this,!0)},i.from=function(u,p){return l(u,p,this)};var d=function(u){return u.$u?o.utc():o()};i.toNow=function(u){return this.to(d(this),u)},i.fromNow=function(u){return this.from(d(this),u)}}})})(ax);var Loe=ax.exports;const Boe=Nr(Loe);Br.extend(Boe);function lx(e){const t=z.useRecordContext(e),[n]=z.useLocaleState(),r=P.useMemo(()=>Br(Qe.get(t,e==null?void 0:e.source)).locale(n).fromNow(),[t,e==null?void 0:e.source,n]);return f.jsxs(f.Fragment,{children:[f.jsx(z.DateField,{record:t,source:e.source,showTime:!0}),f.jsx("br",{}),f.jsx(E.Typography,{variant:"caption",color:"textSecondary",children:r})]})}const Noe=ge(z.DateField,{slot:"Root"})(()=>({}));function $oe({variant:e="body1",...t}){return f.jsx(Noe,{...t,variant:e})}const Voe=ge(z.EmailField,{slot:"Root"})(()=>({}));function zoe({variant:e="body1",...t}){return f.jsx(Voe,{...t,variant:e})}const Woe=ge(z.FileField,{slot:"root"})(()=>({}));function cx({...e}){const t=z.useRecordContext(e),n=P.useCallback(r=>{r.preventDefault(),r.stopPropagation();const o=Qe.get(t,`_${e==null?void 0:e.source}`,Qe.get(t,e==null?void 0:e.source)),i=Qe.get(t,(e==null?void 0:e.title)||(e==null?void 0:e.source))||(e==null?void 0:e.title),s=document.createElement("a");s.href=o,s.download=i,s.click()},[e==null?void 0:e.source,t,e==null?void 0:e.title]);return f.jsx(Woe,{...e,record:t,onClick:n})}function $0({variant:e="body1",...t}){return f.jsx(z.FunctionField,{...t,variant:e})}function ux(e){var g;const{resource:t,source:n}=e,r=z.useDataProvider(),o=z.useResourceContext(),i=Q.isNil(t)?(g=o==null?void 0:o.match(new RegExp("(?<=\\/)[^\\/]+$")))==null?void 0:g[0]:t,s=z.useRecordContext(e),l=s==null?void 0:s.id,d=s==null?void 0:s[n??""],[u,p]=P.useState(null);return P.useEffect(()=>{if(Q.isNil(d)||Q.isNil(r)||Q.isNil(i)||Q.isNil(l)||Q.isNil(n))return;const h=`/attachments/${i}/${l}/${n}/`;function m(v){return r.getFile(`${h}${v==null?void 0:v.id}`).then(b=>({url:b,title:v==null?void 0:v.name}))}Q.isArray(d)?Promise.all(d.map(m)).then(v=>{p({image:v})}):m(d).then(v=>{p({image:v})})},[d,r,i,l,n]),Q.isNil(u)?null:f.jsx(z.ImageField,{...e,src:"url",source:Q.isArray(d)?"image":"image.url",title:"image.title",record:u})}const Uoe=ge(z.TextField,{slot:"Root"})(()=>({}));function dx({variant:e="body1",...t}){return f.jsx(Uoe,{...t,variant:e})}function Hoe(e){const t=E.useTheme(),n=te.useLocales(),{source:r=""}=e,i=te.useRecordContext(e)[r],s=!ku(i,n),l=$r(e,{flex:1}),[d]=te.useLocaleState(),u=P.useMemo(()=>s?f.jsx(He.FlagFilled,{style:{color:t.palette.warning.main}}):f.jsx(He.FlagOutlined,{}),[s,t.palette.warning.main]),p=P.useMemo(()=>f.jsx(E.Stack,{children:Q.map(n,(g,h)=>f.jsx(E.Typography,{children:`${g.locale.toUpperCase()}: ${(i??{})[g.locale]??""}`},h))}),[i,n]);return f.jsx(b3,{title:p,arrow:!1,children:f.jsxs(E.Stack,{alignItems:"center",direction:"row",gap:1,children:[u,f.jsx(dx,{...e,source:`${r}.${d}`,sx:l})]})})}const Goe=ge("div")(({theme:e,fullWidth:t})=>({borderBottom:`1px solid ${e.palette.divider}`,paddingTop:e.spacing(1),paddingBottom:e.spacing(1),marginBottom:e.spacing(1),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:t?"100%":"auto",[e.breakpoints.down("sm")]:{whiteSpace:"normal",overflow:"visible",textOverflow:"inherit"}}));function qoe({source:e,defaultValue:t="&nbsp;",...n}){const r=z.useRecordContext(n),o=Qe.get(r,e,t);return f.jsx(E.Typography,{...n,dangerouslySetInnerHTML:{__html:o&&o!==null?o:t}})}function Yoe({title:e,children:t}){return t==null?null:typeof e=="string"||e===!0?f.jsx(E.Tooltip,{title:e,placement:"top",children:t}):t}function Koe({label:e,source:t,defaultValue:n="&nbsp;",children:r=f.jsx(qoe,{source:"",defaultValue:void 0,record:void 0}),tooltip:o,...i}){const s=P.Children.only(r),{getCurrentDialog:l}=nx(),d=z.useRecordContext(i),u=z.useResourceContext(i),p=l(),g=P.useMemo(()=>o===!1?!1:typeof o=="function"?o(d):typeof o=="string"?Qe.get(d,o,o):o,[d,o]),h=$r(i,{width:i!=null&&i.fullWidth?"100%":"auto"});return f.jsx(Yoe,{title:g,children:f.jsxs(f.Fragment,{children:[f.jsx(E.InputLabel,{sx:{pt:1},children:f.jsx(z.FieldTitle,{label:e,source:t,resource:p||u})}),f.jsx(Goe,{...i,children:P.isValidElement(s)?P.cloneElement(s,{...s.props,source:t,record:d,defaultValue:n,resource:p||u,sx:h}):null})]})})}function Zoe({children:e=null,className:t=""}){return f.jsx("div",{className:t,children:e})}const Xoe=a1(Zoe,{slot:"root"})(({theme:e,bulkActionButtons:t})=>({marginLeft:`-${e.spacing(2.5)}`,marginRight:`-${e.spacing(2.5)}`,"&>div:first-of-type":{alignItems:"center","& form":{padding:e.spacing(2.5)},"& .MuiToolbar-root":{alignItems:"center",padding:"0 !important",marginTop:e.spacing(1),[e.breakpoints.up("sm")]:{marginLeft:e.spacing(2),marginRight:e.spacing(2),width:`calc(100% - ${e.spacing(4)})`},[e.breakpoints.down("md")]:{marginTop:0,display:"contents"}}},"& .RaDatagrid-root":{overflowX:"auto",paddingTop:t===!1?0:48,[e.breakpoints.down("sm")]:{width:"calc(100vw - 26px)"},"& .RaBulkActionsToolbar-toolbar":{borderRadius:0,"& > .RaBulkActionsToolbar-title":{alignItems:"center"},[e.breakpoints.down("sm")]:{paddingLeft:e.spacing(3)}},"& .RaDatagrid-table":{borderBottom:`1px solid ${e.palette.divider}`}},"& .MuiTablePagination-toolbar":{marginTop:"0 !important",marginBottom:"0 !important"},"& .RaBulkActionsToolbar-collapsed.RaBulkActionsToolbar-toolbar":{minHeight:0}}));function fx(e){return f.jsx(Xoe,{...e,children:f.jsx(z.ReferenceManyField,{pagination:f.jsx(z.Pagination,{}),...e})})}function Qoe({source:e,...t}){const n=z.useRecordContext(t),r=Qe.get(n,e,0),o=r/1024,i=o/1024,s=i/1024,l=s>1?`${s.toFixed(2)} GB`:i>1?`${i.toFixed(2)} MB`:o>1?`${o.toFixed(2)} KB`:`${r.toFixed(2)} B`;return f.jsx(E.Typography,{component:"span",variant:"body1",...t,children:l})}function on({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:i,divider:s=!1,...l}){const d=wt(),u=z.useTranslate(),{getCurrentDialog:p}=bp(),{source:g,resource:h,isRequired:m,chip:v}=l,{fieldState:{invalid:b}}=z.useInput(l),x=p();return f.jsxs(E.Stack,{spacing:1,sx:{width:l!=null&&l.fullWidth?"100%":"auto","& .MuiFormHelperText-root":{pb:0,color:b?d.palette.error.main:d.palette.text.secondary,"& span":{display:"none"}},...o},children:[n==="label"&&e!==!1&&i!==!1&&f.jsx(E.InputLabel,{error:b===!0,sx:{borderBottom:s?`1px solid ${d.palette.divider}`:"none",pt:.5,pb:s?1:0,mt:s?1:0},children:f.jsx(z.FieldTitle,{label:e,source:g,resource:x||h,isRequired:m})}),P.isValidElement(t)?P.cloneElement(t,{...t.props,...l,chip:v&&typeof v=="function"?P.createElement(v):v,label:n==="legend"?e:!1}):t,r?f.jsx(E.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:b===!0,children:P.isValidElement(r)?r:typeof r=="string"?u(r,{_:r}):r}):null]})}function Joe(e){return e?{"& .RaFileInput-removeButton > .RaFileInputPreview-removeButton":{display:"none",visiblity:"hidden"},"& .RaFileInput-dropZone":{display:"none",visiblity:"hidden"}}:{}}const eie=ge(z.FileInput,{slot:"root"})(({disabled:e,theme:t})=>({"& .previews":{},"& .previews>div":{marginTop:t.spacing(1),padding:t.spacing(1.5),border:`1px solid ${t.palette.divider}`,borderRadius:t.shape.borderRadius,"& button":{float:"right",placeItems:"flex-end",verticalAlign:"middle"},"&:hover":{backgroundColor:t.palette.action.hover},"& .MuiLink-root":{fontSize:t.typography.body1.fontSize}},...Joe(e)}));function px({children:e=f.jsx(ox,{title:"name",source:"path"}),multiple:t=!1,disabled:n=!1,type:r="attachment",...o}){const i=z.useRecordContext(o),s=o==null?void 0:o.source,l=i==null?void 0:i.id;return z.useInput({source:`__${r}__${o==null?void 0:o.source}`,defaultValue:o==null?void 0:o.source}),f.jsx(on,{...o,disabled:n,children:f.jsx(eie,{type:r,multiple:t,disabled:n,children:P.cloneElement(e,{entityId:l,property:s,...e.props})})})}const tie=ge(z.AutocompleteArrayInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"},"& .MuiOutlinedInput-root.MuiInputBase-sizeSmall:has(.MuiChip-root)":{paddingBottom:"4px"},"& .MuiAutocomplete-tag":{margin:"0px 4px 4px 0px"}}));function nie({size:e="small",...t}){return f.jsx(on,{...t,children:f.jsx(tie,{size:e})})}const rie=ge(z.AutocompleteInput,{name:"StyledAutocompleteInput"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"}}));function oie({size:e="small",...t}){const{perPage:n,...r}=t;return f.jsx(on,{...r,children:f.jsx(rie,{size:e})})}const iie=ge(z.BooleanInput,{slot:"Root"})(()=>({marginTop:"0 !important"}));function sie({...e}){const t=dn.useTheme();return f.jsx(on,{...e,children:f.jsx(iie,{sx:{"& .MuiFormControlLabel-root":{marginLeft:"0 !important",marginRight:"0 !important"},"& .MuiSwitch-root":{margin:"0 !important",marginRight:"6px !important",marginTop:e.display==="legend"?0:`${t.spacing(1)} !important`}}})})}const aie=4,lie=ge(z.DateInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function cie(e){const[t,n]=P.useState(""),r=P.useCallback(o=>{const i=o.target.value;Br(i).year().toString().length>aie?o.target.value=t:n(i)},[t]);return f.jsx(on,{...e,children:f.jsx(lie,{...e,onInput:r})})}const uie=ge(z.DateTimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function die(e){return f.jsx(on,{...e,children:f.jsx(uie,{})})}const fie=ge(z.FileInput,{slot:"root"})(({theme:e})=>({"& .previews":{},"& .previews>div":{marginTop:e.spacing(1),padding:e.spacing(1.5),border:`1px solid ${e.palette.divider}`,borderRadius:e.shape.borderRadius,"& button":{float:"right",placeItems:"flex-end",verticalAlign:"middle"},"&:hover":{backgroundColor:e.palette.action.hover},"& .MuiLink-root":{fontSize:e.typography.body1.fontSize}}}));function pie({children:e=f.jsx(cx,{source:"",title:""}),title:t,...n}){const r=fn.useWatch({name:n.source}),o=z.useRecordContext(n),{source:i}=n,s=P.useMemo(()=>{if(r&&(r!=null&&r.title))return r==null?void 0:r.title;const l=Qe.get(o,i);if(l){const d=l.split("__");return d.length>0?d[d.length-1]:l}return l},[o,i,r]);return f.jsx(on,{...n,children:f.jsx(fie,{children:P.cloneElement(e,{...e.props,title:t||i,source:i,record:{...o,[i]:(r==null?void 0:r.title)||Qe.get(o,i),[`_${i}`]:(r==null?void 0:r.src)||Qe.get(o,`_${i}`),[t||i]:s}})})})}function hie(e){const{source:t}=e,n=te.useRecordContext(e),{id:r}=n??{};return f.jsx(px,{...e,children:f.jsx(gie,{entityId:String(r),source:t})})}function gie(e){const t=te.useRecordContext();return Q.isNil(t==null?void 0:t.rawFile)?f.jsx(mie,{...e}):f.jsx(J2,{...e,title:"title",source:"src"})}function mie(e){const{entityId:t,...n}=e,r=e.source??"",o=te.useRecordContext(),[i,s]=P.useState(r?{id:t,[r]:o}:{id:t});return P.useEffect(()=>{s({id:t,[r]:o})},[o,t,r]),f.jsx(te.RecordContextProvider,{value:i,children:f.jsx(ux,{...n})})}function vie({children:e=f.jsx(sx,{}),title:t,multiple:n=!1,...r}){const o=fn.useWatch({name:r.source}),i=z.useRecordContext(r),{source:s}=r;return z.useInput({source:`__image__${r==null?void 0:r.source}`,defaultValue:r==null?void 0:r.source}),f.jsx(on,{...r,multiple:n,children:f.jsx(z.ImageInput,{accept:"image/*",children:P.cloneElement(e,{...e.props,title:t,source:s,record:{...i,[s]:(o==null?void 0:o.title)||Qe.get(i,s),[`_${s}`]:(o==null?void 0:o.src)||Qe.get(i,`_${s}`)}})})})}function Sr(e){return f.jsx(on,{...e,children:f.jsx(z.TextInput,{})})}const yie={vertical:"bottom",horizontal:"right"},bie={vertical:"top",horizontal:"right"};function Cie({requiredAtLeastOneLocale:e,requiredLocale:t,validate:n,required:r,...o}){const{source:i}=o,s=te.useLocales(),l=P.useCallback((j="ra.validation.required",M="ra.validation.required_locale")=>F=>{if(e&&!t&&!DC(F,s))return j;if(t&&(!Q.has(F,t)||Q.isEmpty(Q.get(F,t))))return{message:M,args:{locale:t}};if(!e&&r&&!ku(F,s))return j},[e,t,s,r]),d=P.useMemo(()=>te.composeValidators(n,l()),[n,l]),{fieldState:u}=te.useInput({...o,validate:d}),{error:p}=u,g=fn.useWatch({name:i}),h=!ku(g,s),[m]=te.useLocaleState(),[v,b]=P.useState(m),[x,S]=P.useState(null),I=!!x,w=P.useCallback(j=>S(I?null:j.currentTarget),[I,S]),T=P.useCallback(()=>S(null),[S]),O=P.useMemo(()=>Q.map(s,(j,M)=>f.jsx(E.MenuItem,{onClick:()=>{b(j.locale),T()},children:f.jsx(E.ListItemText,{primary:`${j.locale.toUpperCase()}: ${(g??{})[j.locale]??""}`})},M)),[s,b,T,g]);return f.jsx(on,{...o,validate:d,helperText:p!=null&&p.message?f.jsx(te.ValidationError,{error:p==null?void 0:p.message}):o==null?void 0:o.helperText,children:f.jsx(f.Fragment,{children:f.jsxs(E.Box,{flex:1,children:[Q.map(s,(j,M)=>f.jsx(Sr,{...o,source:`${i}.${j.locale}`,sx:{width:"100%",display:j.locale===v?"inline-flex":"none"},label:!1,helperText:!1,required:!1,InputProps:{endAdornment:f.jsx(E.Chip,{label:f.jsx(E.Typography,{variant:"button",children:v}),size:"small",onClick:w,color:h?"warning":void 0})}},M)),f.jsx(E.Menu,{anchorEl:x,open:I,anchorOrigin:yie,transformOrigin:bie,onClose:T,children:O})]})})})}const xie=ge(z.NumberInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function wie(e){return f.jsx(on,{...e,children:f.jsx(xie,{})})}const Sie=ge(z.RadioButtonGroupInput,{slot:"root"})(()=>({marginTop:"0 !important","& .MuiFormControlLabel-root":{marginLeft:-8}}));function Aie(e){return f.jsx(on,{...e,children:f.jsx(Sie,{})})}function Eie({source:e,minWidth:t=300,children:n}){const r=z.useResourceContext(),o=z.useRecordContext(),[i,s]=P.useState(Qe.get(o,e,"")),[l,d]=P.useState(!1),u=P.useCallback(v=>s(v.target.value),[]),p=z.useDataProvider(),g=P.useCallback(v=>{v.key==="Enter"&&(d(!0),p.update(r,{id:o.id,data:{...o,[e]:i,_changed:e},previousData:o}).then(()=>d(!1)))},[i,p,r,o,e]),h=P.useCallback(()=>{Qe.get(o,e)!==i&&(d(!0),p.update(r,{id:o.id,data:{...o,[e]:i,_changed:e},previousData:o}).then(()=>d(!1)))},[i,p,r,e,o]),m=P.useCallback(v=>{d(!0),p.update(r,{id:o.id,data:{...o,[e]:v,_changed:e},previousData:o}).then(()=>d(!1))},[p,r,e,o]);return P.useEffect(()=>s(Qe.get(o,e)),[o,e]),n?P.cloneElement(n,{...n.props,source:e,value:i,onChange:m}):f.jsx(E.TextField,{value:i,disabled:l,onChange:u,onKeyPress:g,onBlur:h,style:{minWidth:t,width:"100%"},multiline:!0,InputProps:{"arial-label":"naked"},size:"small"})}function Tie({children:e,...t}){const n=P.Children.only(e);return f.jsx(z.ReferenceArrayInput,{...t,children:P.cloneElement(n,{...t,source:n.props.source||t.source})})}function Iie({children:e,...t}){const n=P.Children.only(e);return f.jsx(z.ReferenceInput,{...t,children:P.cloneElement(n,{...t,source:n.props.source||t.source})})}const Oie=ge(z.SearchInput,{slot:"root"})(()=>({}));function Cp(e){return f.jsx(Oie,{...e})}const xp=P.memo(e=>{const{page:t,rowsPerPage:n,count:r,onPageChange:o,size:i="small",className:s,...l}=e,d=te.useTranslate(),u=Math.ceil(r/n)||1;if(u===1)return f.jsx(Hm,{className:s});function p(g,h,m){return g==="page"?m?d("ra.navigation.current_page",{page:h,_:`page ${h}`}):d("ra.navigation.page",{page:h,_:`Go to page ${h}`}):d(`ra.navigation.${g}`,{_:`Go to ${g} page`})}return f.jsx(Hm,{className:s,children:f.jsx(E.Pagination,{size:i,count:u,page:t+1,onChange:(g,h)=>o(g,h-1),...jie(l),getItemAriaLabel:p})})});xp.propTypes={count:C.number.isRequired,onPageChange:C.func.isRequired,page:C.number.isRequired,rowsPerPage:C.number.isRequired,color:C.oneOf(["primary","secondary","standard"]),size:C.oneOf(["small","medium","large"])};const Pie="RaPaginationActions",Hm=ge("div",{name:Pie,overridesResolver:e=>e.root})(()=>({flexShrink:0,ml:4}));function jie({nextIconButtonProps:e,backIconButtonProps:t,slotProps:n,...r}){return r}const k3=P.memo(e=>{const{rowsPerPageOptions:t=Rie,actions:n,limit:r=null,...o}=e,{isLoading:i,hasNextPage:s,page:l,perPage:d,total:u,setPage:p,setPerPage:g}=te.useListPaginationContext(e),h=te.useTranslate(),m=E.useMediaQuery(_=>_.breakpoints.down("md")),[v,b]=P.useState(l-1),{hasCreate:x}=te.useResourceDefinition(e),[S,I]=P.useState(!1),w=E.useTheme();P.useEffect(()=>{l!==v+1&&!S&&b(l-1)},[v,S,l]),P.useEffect(()=>{I(!1)},[l]);const T=P.useMemo(()=>u!=null?Math.ceil(u/d):void 0,[d,u]),O=P.useCallback(Qe.debounce(_=>{p(_+1)},500),[p]),j=P.useCallback((_,H)=>{var Y,V;if(!_)return;if(_.preventDefault(),H<0||T!==void 0&&H>T-1)throw new Error(h("ra.navigation.page_out_of_boundaries",{page:H+1}));const U=(((Y=_.target.dataset)==null?void 0:Y.testid)||((V=_.target.classList)==null?void 0:V.value))??"",G=U.includes("MuiPaginationItem-previousNext")||U.includes("NavigateBeforeIcon")||U.includes("NavigateNextIcon")||U.includes("KeyboardArrowLeftIcon")||U.includes("KeyboardArrowRightIcon");b(H),I(!0),G?O(H):p(H+1)},[O,p,h,T,I]),M=P.useCallback(_=>{g(Number(_.target.value))},[g]),F=P.useCallback(({from:_,to:H,count:U})=>U===-1&&s?h("ra.navigation.partial_page_range_info",{offsetBegin:_,offsetEnd:H,_:"%{from}-%{to} of more than %{to}"}):h("ra.navigation.page_range_info",{offsetBegin:_,offsetEnd:H,total:U===-1?H:U,_:"%{from}-%{to} of %{count === -1 ? to : count}"}),[h,s]),N=P.useCallback(_=>h(`ra.navigation.${_}`,{_:`Go to ${_} page`}),[h]);if(i)return f.jsx(E.Toolbar,{variant:"dense"});if(u===0||l<1||T!==void 0&&l>T)return r!=null&&process.env.NODE_ENV==="development"&&console.warn("The Pagination limit prop is deprecated. Empty state should be handled by the component displaying data (Datagrid, SimpleList)."),null;if(m)return f.jsx(E.TablePagination,{count:u??-1,rowsPerPage:d,page:v,onPageChange:j,rowsPerPageOptions:Mie,component:"span",labelDisplayedRows:F,sx:{justifyContent:x?"flex-start":"flex-end",display:x?"flex":"block",...e.displayStyle!=="text"&&{".MuiTablePagination-actions":{display:"flex",flexDirection:"row",gap:"4px"},"& button":{border:`1px solid ${w.palette.divider}`}}},...te.sanitizeListRestProps(o)});const k=n||(!i&&u!=null?xp:void 0);return f.jsx(E.TablePagination,{count:u??-1,rowsPerPage:d,page:v,onPageChange:j,onRowsPerPageChange:M,ActionsComponent:k,slotProps:{actions:{nextButton:{disabled:!s}}},component:"span",labelRowsPerPage:h("ra.navigation.page_rows_per_page"),labelDisplayedRows:F,getItemAriaLabel:N,rowsPerPageOptions:t,sx:e.displayStyle!=="text"?{".MuiInputBase-root":{border:`1px solid ${w.palette.divider}`,borderRadius:"4px"},".MuiTablePagination-spacer":{display:"none"},".MuiTablePagination-selectLabel":{color:w.palette.text.secondary},".MuiTablePagination-actions":{flex:1,position:"absolute",right:24},"& button":{border:`1px solid ${w.palette.divider}`,"&.Mui-selected":{fontSize:"0.875rem",fontWeight:"regular",backgroundColor:"trasparent",border:`1px solid ${w.palette.primary.main}`,color:w.palette.primary.main}}}:{},...te.sanitizeListRestProps(o)})});k3.propTypes={actions:te.ComponentPropType,limit:C.element,rowsPerPageOptions:C.arrayOf(C.oneOfType([C.number,C.shape({label:C.string.isRequired,value:C.number.isRequired})]))};const Rie=[5,10,25,50],Mie=[];function hx(e){const{label:t="ra.action.bulk_actions",children:n,className:r,...o}=e,{filterValues:i,resource:s,selectedIds:l=[],onUnselectItems:d}=te.useListContext(e),u=te.useTranslate(),p=P.useCallback(()=>{d()},[d]);return f.jsx(kie,{className:r,children:f.jsxs(E.Toolbar,{"data-test":"bulk-actions-toolbar",className:$e(Fr.toolbar,{[Fr.collapsed]:l.length===0}),...te.sanitizeListRestProps(o),children:[f.jsxs("div",{className:Fr.title,children:[f.jsx(E.IconButton,{className:Fr.icon,"aria-label":u("ra.action.unselect"),title:u("ra.action.unselect"),onClick:p,size:"small",children:f.jsx(Vt.Close,{fontSize:"small"})}),f.jsx(E.Typography,{color:"inherit",variant:"subtitle1",children:u(t,{_:t,smart_count:l.length})})]}),f.jsx(z.TopToolbar,{className:Fr.topToolbar,children:P.Children.map(n,g=>P.isValidElement(g)?P.cloneElement(g,{filterValues:i,resource:s,selectedIds:l}):null)})]})})}const Bi="RaBulkActionsToolbar",Fr={toolbar:`${Bi}-toolbar`,topToolbar:`${Bi}-topToolbar`,buttons:`${Bi}-buttons`,collapsed:`${Bi}-collapsed`,title:`${Bi}-title`,icon:`${Bi}-icon`},kie=ge("div",{name:Bi,overridesResolver:(e,t)=>t.root})(({theme:e})=>({position:"relative",[`& .${Fr.toolbar}`]:{position:"absolute",left:0,right:0,zIndex:3,color:e.palette.mode==="light"?e.palette.primary.main:e.palette.text.primary,justifyContent:"space-between",backgroundColor:e.palette.mode==="light"?f0(e.palette.primary.light,.8):e.palette.primary.dark,minHeight:e.spacing(6),height:e.spacing(6),transform:`translateY(-${e.spacing(6)})`,transition:`${e.transitions.create("height")}, ${e.transitions.create("min-height")}, ${e.transitions.create("transform")}`,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius},[`& .${Fr.topToolbar}`]:{paddingBottom:e.spacing(1),minHeight:"auto",[e.breakpoints.down("sm")]:{backgroundColor:"transparent"}},[`& .${Fr.buttons}`]:{},[`& .${Fr.collapsed}`]:{minHeight:0,height:0,transform:"translateY(0)",overflowY:"hidden"},[`& .${Fr.title}`]:{display:"flex",flex:"0 0 auto"},[`& .${Fr.icon}`]:{marginLeft:"-0.5em",marginRight:"0.5em"}})),Ff={p:0,m:0},Gm={p:2,m:0,borderRadius:0,width:"100%"};function _ie(e){const{children:t}=e,[n,r]=B.useState(null);function o(v){r(v.currentTarget)}function i(){r(null)}const s=E.useMediaQuery(v=>v.breakpoints.down("md")),{filterValues:l,resource:d,selectedIds:u=[],onUnselectItems:p}=z.useListContext(e),g=!!n&&u!==void 0&&u.length>0,h=g?"simple-popover":void 0,m=B.useCallback(()=>{p(),r(null)},[p,r]);return f.jsx(E.Fade,{in:u!==void 0&&u.length>0,children:f.jsxs(E.Box,{sx:{position:"fixed",bottom:"16px",right:"16px"},children:[f.jsx(E.Fab,{color:"primary","aria-label":"manage",onClick:o,children:u==null?void 0:u.length}),f.jsx(E.Popover,{id:h,open:g,anchorEl:n,onClose:i,anchorOrigin:{vertical:"top",horizontal:s?"center":"right"},transformOrigin:{vertical:"bottom",horizontal:s?"center":"right"},disableScrollLock:!0,elevation:10,children:f.jsxs(E.List,{sx:Ff,children:[f.jsx(E.ListItem,{sx:Ff,children:f.jsx(z.Button,{onClick:m,sx:Gm,label:"ra.action.unselect",startIcon:f.jsx(R0,{}),children:f.jsx(R0,{})})}),B.Children.map(t,v=>{var b;return f.jsx(E.ListItem,{sx:Ff,children:B.isValidElement(v)?B.cloneElement(v,{filterValues:l,resource:d,selectedIds:u,sx:Gm,...(b=v.props)!=null&&b.popover?{closePopover:i}:{}}):null})})]})})]})})}const gx=P.createContext({});gx.displayName="DatagridContext";function Die({children:e,value:t}){return f.jsx(gx.Provider,{value:t,children:e})}function Fie({width:e=250,height:t=250,className:n=""}){return f.jsx("svg",{version:"1.0",xmlns:"http://www.w3.org/2000/svg",width:e,height:t,viewBox:"0 0 1600.000000 1600.000000",preserveAspectRatio:"xMidYMid meet",className:n,children:f.jsxs("g",{transform:"translate(0.000000,1600.000000) scale(0.100000,-0.100000)",stroke:"none",children:[f.jsx("path",{d:`M7380 13469 c-469 -10 -920 -27 -1300 -50 -179 -10 -351 -19 -383
238
238
  -19 -64 0 -165 -35 -205 -73 -14 -12 -40 -46 -59 -75 l-34 -53 -10 -177 c-6
239
239
  -101 -16 -190 -24 -208 -17 -39 -32 -41 -348 -50 -144 -5 -233 -11 -243 -19
240
240
  -12 -8 -20 -57 -34 -210 -25 -277 -59 -480 -120 -725 -11 -41 -22 -91 -26
@@ -621,6 +621,6 @@ c-172 118 -186 134 -132 145 15 3 52 12 82 20 105 26 292 47 380 42 116 -7
621
621
  -28 15 -28 96 -3 33 11 112 27 175 36 103 14 128 14 248 1 74 -9 156 -23 182
622
622
  -32 74 -25 93 14 24 48 -73 36 -346 66 -432 47z`,fill:"currentColor"}),f.jsx("path",{d:`M4714 6090 c-25 -10 -54 -47 -54 -69 0 -8 18 -31 40 -53 35 -32 48
623
623
  -38 85 -38 105 0 144 109 55 155 -32 16 -92 19 -126 5z`,fill:"currentColor"}),f.jsx("path",{d:`M4711 5211 c-44 -42 -43 -83 6 -127 45 -41 80 -44 139 -9 67 40 74
624
- 84 21 143 -17 18 -31 22 -78 22 -49 0 -61 -4 -88 -29z`,fill:"currentColor"})]})})}function Lie({width:e=250,height:t=250,className:n=""}){return f.jsxs("svg",{width:e,height:t,viewBox:"0 0 2134 2134",className:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M1045.33 52.933C1017.87 55.733 987.333 72.133 969.466 93.733C960.533 104.533 961.199 103.733 956.666 111.333C953.066 117.2 952.666 119.2 952.666 128.666C952.666 138.666 952.933 139.733 957.199 145.733C959.733 149.2 966.666 155.733 972.533 160.266C989.999 173.466 999.066 183.733 1003.6 194.933C1006.93 203.733 1007.33 206.133 1007.2 220C1007.2 232 1006.4 237.6 1004.13 245.333C997.733 266.266 997.733 266.266 1019.6 263.466C1049.47 259.6 1074.4 253.333 1089.73 245.866C1109.87 236.133 1125.2 220 1132.53 200.666C1136 191.466 1136.27 189.6 1135.73 176.933C1135.2 165.066 1134.53 161.866 1131.07 154.533C1125.47 142.533 1120.67 137.6 1100.53 122.533C1076.27 104.666 1071.6 97.1996 1066.67 69.5996C1063.47 51.733 1062.8 51.0663 1045.33 52.933ZM1055.87 61.733C1056.67 62.7996 1058.13 68.2663 1059.33 73.9996C1061.33 84.6663 1064.8 95.1996 1069.2 103.733C1071.87 108.933 1086 123.2 1092.67 127.333C1098 130.666 1110.4 141.066 1114.93 146C1116.93 148.133 1120.27 153.333 1122.27 157.333C1125.73 164 1126 165.866 1126 179.333C1126 192.933 1125.73 194.666 1121.87 202.666C1119.6 207.466 1115.33 214.4 1112.27 218.133C1106.67 225.2 1092.13 235.866 1083.2 239.333C1080.27 240.533 1077.07 241.866 1076 242.533C1074.8 243.2 1071.2 244.133 1068 244.666C1064.67 245.2 1059.73 246.533 1056.8 247.466C1054 248.533 1048.27 249.866 1044.13 250.666C1040 251.333 1032.13 252.933 1026.67 254C1021.2 255.066 1015.6 256 1014.27 256C1011.2 256 1010 252.533 1011.87 248.933C1015.47 241.866 1017.07 216.8 1014.53 203.6C1011.33 186.133 1004.4 176.133 984.266 159.866C965.333 144.666 962.133 141.2 960.133 133.733C958.399 127.466 960.266 117.2 963.466 114.533C964.533 113.733 965.333 112.266 965.333 111.333C965.333 108.533 986.799 86.6663 994.933 81.1996C1009.73 71.4663 1026 64.933 1044.67 61.333C1052.8 59.733 1054.27 59.8663 1055.87 61.733Z",fill:"currentColor"}),f.jsx("path",{d:"M672 182C669.333 185.2 671.733 186.4 682.666 186.933C691.066 187.333 693.6 188 698.666 191.333C705.466 196 711.333 204 712.8 210.666C713.333 213.2 713.866 227.333 713.866 242C714 274.266 714.4 275.466 731.466 293.333C737.6 299.866 743.2 306.666 743.866 308.4C744.533 310.133 744.8 315.333 744.4 319.733C743.466 329.6 745.6 333.6 753.066 336.666C762.933 340.8 768 348.4 768 358.8C768 362.266 768.533 365.466 769.2 365.866C772.666 368.133 777.333 361.733 777.333 354.933C777.2 348.133 770.533 336.933 763.733 332.4C760.266 330.133 756.666 328 755.866 327.733C754.8 327.333 753.866 322.533 753.333 315.2C752.4 301.733 750.533 298.266 738.666 287.6C724 274.4 720.933 265.6 722.133 240.4C723.733 207.6 718 193.066 699.733 183.866C693.466 180.666 690.4 180 682.933 180C676.133 180 673.2 180.533 672 182Z",fill:"currentColor"}),f.jsx("path",{d:"M896.8 223.066C891.333 231.2 889.2 244.4 891.866 252.8C892.533 254.933 895.066 262.933 897.333 270.4C904.666 294.266 902.133 303.333 883.866 317.2C873.866 324.8 872.266 326.533 867.2 335.333C863.733 341.466 863.333 343.066 863.333 354.666C863.466 366.666 863.6 367.733 867.733 374.266C872 380.933 875.866 383.733 878.666 382C880.8 380.666 880.133 374.666 877.466 371.066C873.333 365.866 871.2 354.266 873.066 347.066C875.066 339.733 881.466 331.066 890.133 324.266C904.266 313.066 910.666 302.8 910.666 291.2C910.666 285.866 908 274.133 904.133 262.666C898.666 246.533 898.266 242.666 901.333 234C906.133 220.533 906.133 220 902.133 220C900 220 898 221.2 896.8 223.066Z",fill:"currentColor"}),f.jsx("path",{d:"M1431.33 248.133C1429.87 248.933 1422.13 256.4 1414 264.533C1379.87 299.467 1350.13 321.333 1313.33 339.067C1281.73 354.267 1246.67 364.667 1216 368.133C1187.33 371.333 1186.8 371.6 1192.53 383.6C1199.73 398.267 1211.2 414 1226 429.067C1250 453.867 1252.4 454.533 1292.4 450.667C1308 449.2 1330.13 446.4 1341.73 444.533C1380.8 438.4 1436.53 424.667 1446.93 418.667C1448.27 417.867 1450 417.333 1450.8 417.333C1452.53 417.333 1457.87 415.067 1476 406.267C1510.67 389.6 1542.8 362.133 1560.53 334.133C1563.73 329.2 1561.73 325.333 1554.13 321.6C1551.2 320.133 1545.07 317.2 1540.67 315.067C1504.8 297.733 1475.87 278.933 1454 258.533C1440.93 246.4 1437.47 244.8 1431.33 248.133ZM1447.07 263.733C1451.6 268 1458.4 273.867 1462 276.667C1465.73 279.6 1469.87 283.067 1471.2 284.267C1478 290.4 1499.87 303.733 1524.67 316.667C1531.33 320.133 1539.6 324.533 1543.33 326.533C1546.93 328.4 1550.13 331.067 1550.4 332.267C1551.07 335.867 1537.6 351.733 1524.53 362.667C1518 368.133 1511.87 373.467 1510.8 374.4C1504.13 380.8 1468.13 401.067 1455.07 405.867C1452.27 406.8 1444.27 409.867 1437.07 412.4C1416.8 419.867 1381.2 429.067 1348.67 435.2C1314.67 441.6 1267.07 446.267 1258.67 444C1251.47 442 1242.93 435.333 1227.87 420C1215.6 407.467 1200 386.267 1200 382.267C1200 378.667 1203.33 377.6 1220.67 375.333C1246.27 372.133 1274 364.8 1297.33 355.333C1308.27 350.933 1334 338 1338.8 334.533C1340.8 333.2 1342.8 332 1343.33 332C1343.73 332 1346.13 330.533 1348.53 328.667C1350.93 326.8 1353.33 325.333 1353.87 325.333C1357.07 325.333 1394.8 294.133 1412.67 276.8C1424.4 265.467 1435.07 256.133 1436.4 256.133C1437.73 256 1442.53 259.467 1447.07 263.733Z",fill:"currentColor"}),f.jsx("path",{d:"M1422.67 316.933C1422.67 319.067 1435.47 330.4 1439.33 331.867C1440.13 332.133 1441.6 333.067 1442.67 334C1447.87 338.267 1464.67 345.733 1476.67 349.2C1491.87 353.467 1495.2 353.867 1497.33 351.333C1499.07 349.333 1498.93 348.667 1496.27 346.667C1494.67 345.2 1489.87 343.467 1485.6 342.667C1475.07 340.533 1463.6 336.4 1452.67 330.933C1442.67 326 1432 319.067 1430.27 316.267C1428.53 313.733 1422.67 314.267 1422.67 316.933Z",fill:"currentColor"}),f.jsx("path",{d:"M1354.67 350.533C1354.67 354.133 1365.33 365.466 1376.27 373.466C1387.47 381.6 1397.33 386.666 1410.8 391.2C1419.47 394.133 1420.93 394.266 1422.67 392.533C1424.13 391.066 1424.27 390 1423.2 388.4C1421.47 385.6 1420.4 385.066 1408.13 381.2C1395.2 377.066 1377.87 366.8 1366.67 356.266C1357.2 347.6 1354.67 346.4 1354.67 350.533Z",fill:"currentColor"}),f.jsx("path",{d:"M1293.33 369.2C1293.33 372.933 1305.2 387.866 1313.6 394.666C1322.27 401.6 1336.93 410 1342.4 411.333C1345.07 411.866 1346.8 411.466 1348 410C1350.4 407.066 1348.4 405.333 1334.13 398C1321.47 391.6 1305.87 378.8 1300.67 370.266C1298 366.133 1293.33 365.333 1293.33 369.2Z",fill:"currentColor"}),f.jsx("path",{d:"M1249.33 385.6C1249.2 390.4 1260.13 408 1269.2 417.466C1278.93 428 1282.27 429.733 1285.33 426C1287.6 423.2 1286.27 420.666 1279.73 416C1276.53 413.733 1271.73 409.066 1268.93 405.6C1266.27 402.133 1263.33 398.666 1262.67 397.733C1261.87 396.8 1260.67 394.4 1259.73 392.4C1258.8 390.4 1257.33 387.6 1256.27 386.266C1254 383.6 1249.33 383.2 1249.33 385.6Z",fill:"currentColor"}),f.jsx("path",{d:"M1005.33 316.666C1004.4 317.733 1002.93 318.666 1002.13 318.666C999.333 318.666 987.333 325.6 982.933 329.866C975.466 336.8 974.133 340.533 973.999 354.8C973.866 366.266 973.466 368 970.533 371.733C968.799 374 963.599 377.866 959.066 380.266C952.666 383.6 950.666 385.333 950.666 387.6C950.666 393.866 959.599 392.266 971.066 384C980.266 377.466 981.866 373.6 982.666 356C983.199 342.8 983.733 340 986.266 336.933C989.599 332.533 999.733 325.333 1002.53 325.333C1003.6 325.333 1006.4 323.733 1008.93 321.866C1012.53 319.066 1013.2 318 1011.87 316.533C1009.87 314.133 1007.47 314.133 1005.33 316.666Z",fill:"currentColor"}),f.jsx("path",{d:"M298 343.066C282.4 352.533 272.133 356.266 252.133 359.466C235.867 362.133 211.2 361.466 194 358C178.267 354.933 174.667 356.533 179.2 365.066C180.267 367.066 185.733 378.266 191.333 390C196.933 401.733 202.8 413.066 204.4 415.333C206.133 417.466 208.133 420.8 209.067 422.666C212.533 429.466 228.267 450.4 240.933 465.066C253.867 480 269.2 494.933 282.933 505.6C286.8 508.666 290.8 512 291.733 512.8C294.133 515.2 322 533.6 330.667 538.533C355.2 552.4 386.533 565.2 412.4 572C428.933 576.4 434.8 573.6 458 551.066C476.267 533.2 487.2 515.333 492 495.333C495.333 481.466 495.6 473.066 492.8 463.733C490 454.133 487.067 451.866 470.533 446.133C442.667 436.4 406 419.333 390.933 409.2C387.733 407.066 384.933 405.333 384.533 405.333C383.467 405.333 362.8 390.933 356.4 385.733C346.267 377.6 327.2 358 319.333 347.6C315.2 342 310.667 337.333 309.467 337.333C308.267 337.333 303.067 339.866 298 343.066ZM316.8 358.133C324.4 368.533 338.667 382.933 351.867 393.466C360.4 400.4 379.2 413.866 384 416.4C385.867 417.466 394.8 422.4 404 427.466C417.867 435.2 449.333 450 467.867 457.466C470.4 458.533 475.467 460.8 479.2 462.666C485.333 465.733 486 466.4 486.4 471.066C487.467 483.2 481.733 501.2 469.733 523.333C466.133 530 435.867 559.2 429.333 562.4C422.933 565.466 423.467 565.466 406.667 560.666C369.067 550.133 334.667 532.133 299.067 504.4C275.467 486 265.067 475.733 236.667 442.8C227.733 432.533 208.667 403.066 199.6 385.6C193.067 373.2 192 370.266 193.467 368.533C194.4 367.466 196 366.933 197.067 367.333C202.533 369.466 229.6 370.533 242.667 369.2C270.133 366.4 296.4 358.266 303.6 350.266C304.8 349.066 306.533 348 307.467 348C308.4 348 312.667 352.533 316.8 358.133Z",fill:"currentColor"}),f.jsx("path",{d:"M307.733 393.867C305.6 394.933 303.2 396.267 302.4 396.933C296.533 400.533 286 402.933 272.667 403.6C264.667 404 256.8 404.933 255.467 405.733C252.933 406.933 252.933 407.067 255.333 408.8C259.6 412 286.533 411.333 296.533 407.867C313.867 401.867 318.667 397.867 314.4 393.6C312.4 391.6 312.133 391.6 307.733 393.867Z",fill:"currentColor"}),f.jsx("path",{d:"M348.667 437.867C336.8 450 324.8 456.933 313.067 458.267C306.133 459.067 303.2 461.333 304.533 464.8C306.667 470.133 331.067 463.467 344 454C354.533 446.267 364.267 434.933 363.733 430.8C363.467 428.933 362.4 427.2 361.333 427.067C360.267 426.933 354.533 431.733 348.667 437.867Z",fill:"currentColor"}),f.jsx("path",{d:"M394.133 454.933C393.067 456.667 391.867 459.467 391.333 461.333C387.6 474.267 374.267 497.6 366.133 505.2C362.533 508.533 361.6 513.867 364.133 515.467C367.733 517.6 385.867 495.067 394.267 478C401.2 464.133 403.467 456.533 401.467 454.133C398.933 451.2 396.4 451.467 394.133 454.933Z",fill:"currentColor"}),f.jsx("path",{d:"M444.4 474.4C443.6 474.933 438.533 484.667 432.933 496C427.467 507.333 419.2 522.267 414.667 528.933C406.533 541.2 405.867 544 410.8 544C417.6 544 449.2 490.267 449.333 478.533C449.333 474.933 446.8 472.933 444.4 474.4Z",fill:"currentColor"}),f.jsx("path",{d:"M1788.93 343.733C1787.6 345.067 1786.67 347.333 1786.67 348.8C1786.67 353.333 1780.13 371.867 1774.8 382.4C1762.93 406.4 1739.87 433.733 1717.07 451.2C1714.13 453.333 1712 456.133 1712 457.6C1712 459.067 1715.2 464.533 1719.07 469.867C1731.87 487.067 1739.87 506.667 1742.8 527.6C1744.27 538.933 1746.13 542.133 1750.4 540.8C1754.4 539.467 1780.4 520.667 1794 509.2C1829.47 479.067 1849.33 448.533 1849.33 424.133C1849.2 401.333 1838.13 381.733 1810.4 355.333C1802.27 347.6 1794.67 341.333 1793.33 341.333C1792.13 341.333 1790.13 342.4 1788.93 343.733ZM1811.47 368.533C1824 381.467 1835.2 396.8 1838.13 405.2C1840.53 411.867 1840.4 426.8 1837.87 435.733C1831.6 457.467 1816.67 477.067 1786.67 503.2C1762.53 524.133 1756.13 528.8 1752.8 527.6C1751.87 527.2 1750.67 523.733 1750.13 519.867C1748.13 504.667 1738.13 480.8 1728.53 468.267C1723.07 461.067 1722.93 458.267 1727.73 454.267C1740.67 443.733 1759.73 423.333 1767.33 412C1778.27 395.6 1792 368.667 1792 363.733C1792 360.667 1794.93 356 1796.93 356C1798.27 356 1804.8 361.6 1811.47 368.533Z",fill:"currentColor"}),f.jsx("path",{d:"M518.667 392C513.467 393.733 509.867 396.133 506.267 400.267C498.267 409.467 501.333 416.267 509.6 407.333C514.667 401.6 522.4 397.333 527.467 397.333C532.933 397.333 540.4 402.267 544.4 408.533C546.4 411.733 548 414.933 548 415.733C548 420.267 555.733 435.467 560.8 441.2C572 453.733 586 456.533 607.733 450.8C614.533 448.933 620.267 448.133 622.667 448.667C626.8 449.6 632.667 454.8 638.533 462.667C645.2 471.6 656.4 474.667 662.8 469.6C667.467 465.733 665.333 462.133 659.067 463.067C654.667 463.867 649.733 462.4 648 460C642.533 452.133 632.267 442.533 627.6 440.933C621.867 439.067 621.467 439.067 598 442.8C584.4 444.933 576.533 443.733 570.4 438.667C565.867 434.933 563.867 431.6 557.2 416.267C550.667 401.333 546.533 396 538.133 391.867C531.6 388.667 528 388.667 518.667 392Z",fill:"currentColor"}),f.jsx("path",{d:"M833.866 414.8C823.333 418 815.733 422.4 806.933 429.866C799.333 436.4 796.666 437.2 792.533 434C788.266 430.666 772.666 431.466 764.4 435.333C756.666 438.933 749.333 445.466 746 452C744.666 454.533 741.866 456.933 738.933 458.266C726.933 463.2 720.133 472.4 720 483.466C720 488.533 719.466 489.466 712.933 494.533C703.733 501.6 699.066 510 697.866 521.866C697.066 529.6 696.4 531.6 693.2 534.266C688.133 538.933 684 548.133 684 555.2C684 560.4 683.466 561.333 679.733 563.733C677.333 565.2 669.866 571.066 663.333 576.8C656.666 582.666 648.533 589.333 645.333 591.866C642 594.4 638.8 597.066 638 597.866C637.333 598.666 628.533 606.533 618.666 615.333C573.866 654.933 547.6 683.6 523.6 719.066C516.4 729.733 504.8 754.4 500.933 767.2C497.6 778.4 496.8 783.733 496.4 798.8C495.6 821.733 498 832.533 509.333 855.333C515.866 868.666 519.6 874 531.066 887.333C538.8 896.133 548.4 906.133 552.533 909.6C556.666 913.066 567.466 922.8 576.4 931.466C596.133 950.266 628 975.066 646.133 985.733C650.266 988 655.733 991.333 658.4 992.933C664.666 996.8 701.333 1014.8 709.333 1018C712.666 1019.33 717.2 1021.2 719.6 1022.13C721.866 1023.2 724.666 1024 725.6 1024C726.666 1024 728.666 1025.2 730 1026.67C732 1028.93 732.133 1029.87 730.933 1032.67C729.066 1036.8 728.533 1036.8 719.733 1032.93C715.866 1031.2 706.933 1027.73 700 1025.33C693.066 1022.93 686.8 1020.53 686 1020C685.333 1019.47 682.533 1018.53 680 1018C677.466 1017.47 674.533 1016.4 673.333 1015.87C671.066 1014.4 631.6 1000.27 614 994.533C607.466 992.266 600.8 990 599.333 989.2C597.866 988.533 592.533 986.8 587.333 985.2C557.066 976.266 555.6 976 540.933 976C528 976 496.266 979.066 471.333 982.666C466.266 983.333 456.266 984.533 449.333 985.333C442.4 986.133 430.133 987.733 422 988.8C414 989.733 402.266 991.2 396 991.866C389.733 992.666 369.333 995.066 350.666 997.333C332 999.466 313.733 1001.73 310 1002.13C306.4 1002.4 296.4 1003.6 288 1004.8C279.6 1005.87 260.133 1008.13 244.666 1010C218.133 1013.2 171.066 1019.07 137.333 1023.33C114.266 1026.27 95.7331 1029.33 92.3997 1030.67L89.3331 1032V1090.67V1149.47L82.5331 1156C78.6664 1159.73 75.9997 1163.47 76.2664 1164.8C76.5331 1166 79.0664 1167.73 81.8664 1168.67C84.6664 1169.73 87.5997 1171.33 88.1331 1172.27C88.7997 1173.2 89.3331 1184.53 89.3331 1197.33C89.4664 1238.27 91.8664 1344.67 92.6664 1346.8C93.4664 1348.8 103.6 1354.67 106.266 1354.67C107.066 1354.67 108.4 1355.6 109.333 1356.67C110.266 1357.73 113.333 1359.33 116.266 1360C119.333 1360.93 121.333 1362.13 120.933 1363.07C120.133 1365.73 115.866 1365.73 110.133 1362.93C102.666 1359.33 96.7997 1358.4 93.9997 1360.53C91.7331 1362.13 91.7331 1364.53 93.0664 1399.87C94.6664 1441.73 94.9331 1442.53 103.6 1445.33C106.4 1446.27 110.533 1447.73 112.666 1448.67C118.933 1451.2 129.866 1455.33 148.666 1462.13C158.266 1465.47 167.866 1469.2 170.266 1470.13C172.533 1471.2 174.8 1472 175.466 1472C176 1472 180.933 1473.73 186.533 1475.87C192.133 1478 202.933 1482 210.666 1484.67C218.4 1487.47 226.533 1490.4 228.933 1491.47C231.2 1492.53 233.6 1493.33 234.133 1493.33C234.8 1493.33 238.266 1494.53 242 1496C245.6 1497.47 256.533 1501.33 266 1504.8C275.6 1508.13 284.533 1511.47 286 1512.13C287.466 1512.8 291.333 1514.13 294.666 1515.2C298 1516.27 304.933 1518.67 310 1520.67C315.2 1522.53 325.333 1526.27 332.666 1528.93L345.866 1533.6L355.333 1530.93C372.4 1526.13 384.533 1522.67 398 1518.53C405.333 1516.27 417.333 1512.67 424.666 1510.53C432 1508.27 442.533 1505.07 448 1503.33C453.466 1501.73 463.066 1498.8 469.333 1496.93C475.6 1495.07 487.866 1491.33 496.666 1488.67C505.466 1486 517.733 1482.27 524 1480.4C530.266 1478.53 540.8 1475.33 547.333 1473.33C572.4 1465.73 604.133 1456 627.333 1449.07C634.666 1446.93 642.533 1444.4 644.666 1443.47C646.933 1442.4 650.8 1441.2 653.333 1440.8C658.533 1439.73 684.933 1431.73 695.733 1427.87C706.666 1424 707.2 1424.53 705.866 1441.2C704.4 1458.53 704.266 1524.13 705.6 1541.07C706.533 1551.87 706.4 1553.47 704.4 1554.27C702.266 1555.07 688.266 1553.73 659.866 1550C652.133 1548.93 640.533 1547.47 633.866 1546.67C627.333 1546 608.266 1543.47 591.333 1541.33C574.533 1539.07 553.466 1536.27 544.666 1535.2C535.866 1534 526.266 1533.2 523.333 1533.2C518.533 1533.33 516.4 1532.27 506.133 1524.4C478.933 1503.47 475.466 1503.07 461.2 1519.33C453.6 1528.13 445.333 1538 439.733 1544.93C437.333 1548 426.933 1560.8 416.666 1573.33C406.4 1585.87 397.066 1597.47 396 1599.07C394.933 1600.67 392.4 1604 390.4 1606.4C386.266 1611.2 385.733 1613.6 388.4 1615.87C390.4 1617.47 397.866 1616.67 421.333 1612.27C429.066 1610.8 441.333 1608.67 448.666 1607.33C456 1606.13 464.266 1604.53 466.933 1603.73C470.8 1602.53 473.733 1602.67 479.333 1604C489.466 1606.4 490 1607.33 487.6 1618.93C483.866 1636.53 483.6 1640.67 486.266 1642.93C488.533 1644.8 509.066 1657.2 513.333 1659.07C514.4 1659.6 519.866 1662.93 525.333 1666.53C530.8 1670.27 537.733 1674.53 540.666 1676C543.6 1677.6 563.466 1690.53 584.666 1704.8C619.466 1728 634.933 1738.93 677.066 1770.27C717.333 1800.13 745.333 1816 770.666 1823.2C774 1824.13 778 1825.6 779.333 1826.27C780.8 1827.07 784.666 1828.13 788 1828.67C791.333 1829.2 797.066 1830.4 800.666 1831.47C811.066 1834.27 840.533 1836.4 855.733 1835.33C882.933 1833.6 905.2 1826.27 927.333 1811.87C940.266 1803.47 947.866 1796.27 956.533 1784.67C974.266 1761.2 981.466 1744.67 990.533 1706C991.333 1702.8 991.333 1693.33 990.666 1682C988.133 1641.87 989.6 1598 995.333 1544.67C1004.67 1458.67 1004.8 1457.2 1008.27 1446C1010.8 1438 1012.4 1435.47 1019.2 1428.67C1033.2 1414.8 1064.13 1387.87 1067.73 1386.53C1072.53 1384.67 1077.07 1386.93 1078.13 1391.6C1079.6 1397.2 1075.07 1403.47 1061.2 1415.07C1026.93 1443.6 1025.6 1445.2 1024 1462.8C1021.47 1489.6 1016.53 1576.4 1013.87 1638.93L1012.93 1660L1028.8 1675.73C1057.6 1704.53 1082.27 1717.33 1108.27 1717.33C1141.73 1717.33 1170.4 1694.4 1192.27 1650.13C1198.53 1637.2 1205.33 1614.67 1205.33 1606.27C1205.33 1601.33 1208 1600.67 1214.13 1603.87C1216.93 1605.47 1220.27 1606.67 1221.33 1606.67C1222.4 1606.67 1224.93 1607.47 1226.93 1608.53C1228.93 1609.6 1232.27 1610.8 1234.53 1611.33C1236.8 1611.87 1239.2 1613.2 1239.87 1614.53C1240.53 1615.73 1241.73 1632.67 1242.53 1652C1243.33 1671.47 1244.93 1702.53 1246 1721.2C1247.33 1741.87 1247.6 1755.6 1246.8 1756.4C1246.13 1757.07 1238.13 1753.87 1226.4 1748.13C1215.73 1742.93 1206.13 1738.67 1204.8 1738.67C1203.6 1738.67 1199.73 1740.27 1196.27 1742.27C1192.8 1744.13 1187.73 1747.07 1185.07 1748.53C1170.67 1756.67 1155.07 1766 1153.33 1767.33C1152.27 1768.27 1148 1770.8 1144 1772.93C1135.47 1777.73 1096.8 1800.67 1092 1803.87C1090.13 1805.2 1083.07 1809.47 1076.27 1813.47C1069.47 1817.47 1059.33 1823.47 1053.6 1826.93C1048 1830.4 1042.4 1833.73 1041.33 1834.27C1040.27 1834.8 1033.33 1838.67 1026 1842.93C1011.2 1851.6 1012 1851.2 1000 1858.4C995.2 1861.33 989.2 1864.93 986.666 1866.4C984.133 1867.73 977.333 1871.87 971.466 1875.2C965.733 1878.67 958 1883.2 954.133 1885.2C940.933 1892.4 937.333 1894.93 937.333 1897.33C937.333 1898.67 938.133 1900.4 939.2 1901.2C940.933 1902.67 952.266 1906.93 961.333 1909.47C963.866 1910.13 968.133 1911.6 970.666 1912.67C975.333 1914.53 977.6 1915.2 1011.33 1925.33C1021.6 1928.4 1035.73 1932.67 1042.67 1934.8C1049.6 1936.93 1058.67 1939.47 1062.67 1940.53C1066.67 1941.47 1071.47 1943.07 1073.33 1943.73C1075.2 1944.53 1082.4 1946.67 1089.33 1948.53C1096.27 1950.53 1105.87 1953.2 1110.67 1954.67C1115.47 1956 1127.73 1959.6 1138 1962.53C1148.27 1965.47 1165.07 1970.27 1175.33 1973.2C1185.6 1976.13 1198.8 1979.73 1204.67 1981.33C1210.53 1983.07 1217.73 1985.07 1220.67 1986.13C1223.6 1987.07 1232 1989.47 1239.33 1991.33C1246.67 1993.33 1256.27 1996 1260.67 1997.33C1265.07 1998.67 1273.73 2001.07 1280 2002.67C1286.27 2004.27 1294.93 2006.67 1299.33 2008.13C1306.27 2010.27 1335.6 2018.27 1347.33 2021.33C1349.6 2021.87 1352.27 2022.8 1353.47 2023.2C1354.67 2023.73 1364.27 2026.4 1374.8 2029.33C1385.33 2032.13 1403.07 2036.93 1414.27 2039.87C1433.07 2044.93 1434.93 2045.33 1438.93 2043.6C1442.27 2042.13 1449.07 2034.13 1467.2 2009.87C1480.4 1992.4 1492.53 1976.4 1494.4 1974.4C1496.27 1972.4 1499.87 1967.73 1502.53 1964.13C1512.8 1949.87 1552.53 1897.87 1555.47 1894.67L1558.67 1891.47L1587.6 1897.2C1603.6 1900.27 1632 1905.87 1650.67 1909.47C1669.33 1913.07 1688.53 1916.93 1693.33 1918C1698.13 1919.07 1708 1920.93 1715.33 1922.13L1728.67 1924.4L1744.67 1919.47C1753.47 1916.8 1762.8 1913.73 1765.33 1912.67C1767.87 1911.6 1772.67 1910.13 1776 1909.33C1779.33 1908.4 1788 1905.73 1795.33 1903.33C1810 1898.53 1832.27 1891.47 1860 1882.67C1869.87 1879.6 1880.13 1876.27 1882.67 1875.33C1889.07 1872.93 1898.93 1869.73 1909.33 1866.8C1914.13 1865.33 1919.87 1863.6 1922 1862.8C1924.27 1862 1936.13 1858 1948.4 1854.13C1960.8 1850.13 1973.2 1845.2 1976.13 1843.2C1979.47 1840.93 1982.67 1836.93 1984.93 1832.13L1988.67 1824.67L1989.6 1755.33C1990 1717.2 1991.07 1670.13 1991.87 1650.67C1995.07 1572.53 1996.27 1547.2 1999.33 1480.67C2001.2 1442.53 2003.33 1400.27 2004.13 1386.8C2005.6 1364.67 2005.47 1362.13 2003.6 1360.67C2002.4 1359.87 1993.73 1358.13 1984.4 1356.8C1934.67 1350.13 1891.6 1344.4 1868 1341.33C1856.67 1339.87 1838.4 1337.47 1827.33 1336.13C1807.87 1333.6 1776.13 1329.47 1750.67 1326.27L1738 1324.67L1738.13 1293.33C1738.27 1276.13 1739.07 1231.2 1739.87 1193.6C1741.47 1122 1741.33 1117.47 1736 1112.67C1732.67 1109.73 1706.53 1104.67 1660.93 1098.13C1654.53 1097.2 1648.67 1095.87 1647.73 1094.93C1646.67 1093.87 1646.8 1089.33 1648.53 1077.07C1664.4 961.866 1669.47 871.866 1666.67 746.666C1665.33 682.933 1664.53 670.133 1662.27 668.266C1660.4 666.933 1642.53 663.6 1615.33 659.733C1605.07 658.4 1588.53 656 1578.67 654.533C1568.8 653.066 1556.53 651.333 1551.33 650.666C1542.13 649.466 1526.4 647.2 1500.67 643.066C1493.33 642 1481.33 640.266 1474 639.2C1466.67 638.266 1442.13 634.666 1419.33 631.333C1396.67 627.866 1372 624.266 1364.67 623.333C1357.33 622.266 1347.73 620.8 1343.33 620C1338.93 619.333 1323.07 616.8 1308 614.666C1292.93 612.533 1277.73 610.133 1274 609.466C1263.2 607.466 1240.4 603.866 1225.33 601.866C1217.73 600.8 1210 599.066 1208.4 598C1205.6 596.133 1205.47 595.333 1206.13 585.6C1207.47 568 1204 556.4 1192.8 541.333C1179.73 523.866 1162.27 506.8 1146.13 496.133C1138 490.8 1120 480 1119.2 480C1118.8 480 1115.87 478.8 1112.53 477.333C1097.6 470.533 1095.07 469.6 1090.67 468.666C1088.13 468.133 1084.53 466.933 1082.67 466C1078.13 463.733 1056.4 459.066 1042.67 457.333C1010.67 453.466 968 458.133 960.266 466.266C957.466 469.066 956.133 469.466 949.066 469.066C943.466 468.8 940.666 468 940 466.666C939.466 465.6 938.133 462.8 937.2 460.666C934.266 454.4 921.333 442.266 915.333 440.133C912.4 439.2 907.066 435.466 903.333 432.133C884.266 414.266 856.933 407.466 833.866 414.8ZM1049.33 468.8C1073.6 472.666 1090.13 477.733 1111.73 488C1142.93 502.8 1178.27 531.333 1189.73 551.066C1194.53 559.2 1198.67 572.533 1198.67 580C1198.67 588.133 1194.8 603.066 1188 620.666C1184.93 628.666 1181.6 637.466 1180.67 640C1176.53 651.066 1170.53 665.466 1166 675.333C1163.33 681.2 1159.07 690.533 1156.53 696C1154 701.466 1150.67 708.4 1149.2 711.333C1140.93 727.466 1139.07 730.8 1134.67 738.666C1132 743.466 1127.87 750.666 1125.73 754.666C1120 765.066 1117.73 768.933 1108.27 783.6C1103.6 790.8 1099.2 797.866 1098.27 799.333C1088.4 815.466 1084.93 817.333 1083.33 807.333C1082.13 799.333 1076.4 786.266 1074.27 787.066C1071.87 787.733 1071.6 795.333 1073.73 799.6C1074.8 801.6 1076.13 806.266 1076.67 810C1077.2 813.6 1078.13 817.733 1078.93 819.066C1079.6 820.4 1081.07 825.2 1082 829.733C1083.07 834.266 1086.4 847.333 1089.33 858.666C1094.4 877.866 1098.93 896.133 1103.33 915.333C1104.27 919.733 1106.67 929.866 1108.53 938C1116.53 971.333 1132.53 1052.93 1139.33 1094.67C1143.47 1119.2 1147.6 1144.13 1148.8 1150C1154.27 1179.2 1154 1197.33 1147.33 1216.13C1141.47 1232.93 1139.47 1235.6 1122.93 1246.8C1105.33 1258.8 1102.27 1260.53 1074.67 1274.4C1049.73 1286.67 1043.6 1289.33 1029.07 1294C1023.07 1296 1016.27 1298.4 1014 1299.33C1006.93 1302.27 963.866 1311.73 949.333 1313.6C930.8 1315.87 886.8 1315.87 870.666 1313.47C850.4 1310.53 831.733 1305.73 806.666 1296.67C791.466 1291.2 756.8 1271.33 752.4 1265.73C751.466 1264.53 749.2 1258.8 747.2 1252.8C744.133 1243.33 742.8 1237.47 738.666 1214.67C738 1211.33 736.8 1196 735.866 1180.67C733.6 1142.8 737.066 1032.27 740.533 1030.4C741.733 1029.73 742.666 1027.73 742.666 1026C742.666 1023.6 741.333 1022.27 737.066 1020.27C730 1017.07 723.466 1014.27 717.333 1012C713.466 1010.4 681.733 994.533 667.333 986.933C657.333 981.6 612.666 952 610.666 949.466C610.266 948.933 604 943.866 596.666 938.133C578.4 923.733 532.666 877.6 524.933 865.6C510.666 843.466 506 827.733 506 801.333C506 784 506.4 780.666 509.866 769.6C511.866 762.8 514.4 755.6 515.466 753.6C516.533 751.6 517.333 749.333 517.333 748.666C517.333 746.8 534.266 717.466 537.333 714C538.666 712.533 542 708 544.666 704C560.666 680.933 605.2 636.666 653.333 596C657.333 592.666 665.466 585.6 671.6 580.266C677.733 575.066 683.6 570.666 684.666 570.666C685.733 570.666 691.466 578 697.466 586.933C703.466 596 711.066 606.933 714.533 611.333C723.333 622.666 723.2 622 719.466 630C717.6 633.866 716 638.533 716 640.266C716 642 711.733 649.733 706.4 657.466C691.066 679.866 667.466 715.333 665.2 719.466C664 721.6 657.866 731.866 651.466 742.133C642.8 756.533 640 762.266 640 765.733C640 773.866 639.333 773.6 683.333 784C695.866 786.933 710.533 790.533 716 791.866C721.466 793.333 730.8 795.466 736.666 796.666C742.533 798 750.933 799.866 755.333 800.8C759.733 801.866 769.6 804.133 777.333 805.866C795.2 809.866 798 811.066 800.266 815.466C802.133 819.333 810.133 824.133 822 828.533C825.733 829.866 831.866 832.4 835.733 834.133C839.6 835.866 843.333 837.333 844.133 837.333C844.933 837.333 847.466 838.266 849.733 839.333C852.133 840.4 856.4 842 859.333 843.066C867.733 846 890.933 854.8 895.6 856.8C897.866 857.866 900.4 858.666 901.2 858.666C902 858.666 904.533 859.466 906.933 860.533C909.333 861.6 915.466 863.733 920.4 865.333C931.466 868.8 933.333 867.866 933.333 858.8C933.333 851.066 934.8 848.8 938.666 850C942.133 851.066 956.266 848.533 962 845.6C974.4 839.466 985.066 825.733 986.533 814.133C987.466 806.666 987.733 806.533 999.2 808.8C1003.47 809.6 1004.67 809.333 1006.13 807.333C1010 802.133 1007.07 780.666 1000 761.6C998.533 757.866 996.133 751.466 994.8 747.6C985.466 722.266 980.8 712 977.2 708.533C973.333 704.933 972.133 699.6 974.666 698C975.466 697.6 976 696.133 976 694.8C976 693.6 977.866 688.933 980.133 684.533C982.4 680.266 985.2 674.8 986.4 672.666C987.466 670.4 989.733 667.066 991.2 665.2C992.8 663.333 994.933 660.4 996 658.666C998.133 655.333 1009.2 641.733 1017.33 632C1020.13 628.666 1027.6 619.466 1033.87 611.6C1047.6 594.266 1048.13 591.733 1039.73 584.933C1031.2 578.133 971.2 537.333 969.733 537.333C969.333 537.333 967.333 536.133 965.2 534.533C960.933 531.466 960.4 528.4 963.333 522.266C966.666 515.066 970.133 492.266 969.2 482C968.8 476.8 968.933 472.266 969.333 471.6C970.533 470.133 984.133 468 999.333 466.8C1016 465.6 1032.93 466.266 1049.33 468.8ZM960 479.466C961.733 483.866 961.733 492.533 959.866 504.4C957.733 518.4 954.266 521.333 945.733 516C942.266 514 941.333 512.4 941.333 509.333C941.333 507.2 940.666 502.8 939.733 499.466C938.4 494.533 938.533 492.533 940.533 486.133C943.2 477.6 945.066 476.133 953.066 476C958 476 958.933 476.533 960 479.466ZM778.4 509.466C791.6 512.8 790.933 516.133 776.533 518.133C757.066 520.933 746.666 525.2 746.666 530.266C746.666 533.066 750.533 533.866 753.066 531.6C756.133 528.8 770.4 525.866 786 524.666C797.066 523.866 798.266 524 800.533 526.533C804.8 531.2 802.533 532.8 790.4 533.733C777.6 534.666 764.266 537.866 761.466 540.666C758.133 544 763.2 544.533 780.266 542.8C796.8 540.933 799.333 541.466 798.4 546.133C798.133 547.6 795.866 549.066 792 550.133C781.466 552.933 776.8 555.066 768.666 560.8C758.133 568.133 755.333 571.333 745.466 587.466C735.6 603.6 728 611.6 724.666 609.733C723.466 609.066 718.266 602.533 713.333 595.2C708.266 588 702.266 579.466 700 576.4C693.866 567.866 693.866 567.466 700.4 560.4C705.733 554.666 709.066 549.733 712.933 541.866C713.733 540.4 715.066 537.866 716 536C717.066 534.133 718.666 531.2 719.6 529.333C723.733 521.6 728.933 515.466 733.466 513.066C742.133 508.533 766.533 506.666 778.4 509.466ZM948.933 526C950.533 527.066 952.133 529.733 952.666 531.733C953.2 534.533 956 537.2 963.733 542.4C969.333 546.133 978.266 552.133 983.466 555.733C988.8 559.333 998.933 566.4 1006.13 571.333C1024.27 583.866 1034.8 592 1035.6 594.133C1036.13 595.6 1023.87 612.8 1020 616C1018.4 617.333 997.733 643.333 991.066 652.533C987.2 657.733 983.6 662.666 982.8 663.466C981.066 665.6 968 692.4 968 694C968 694.666 966.8 696.8 965.333 698.666C963.333 701.333 962.533 701.733 961.066 700.266C959.6 698.8 959.866 697.6 962.133 693.6C967.866 683.866 967.6 671.466 961.466 649.333C960 643.866 957.733 635.733 956.533 631.333C955.333 626.933 954 622.666 953.466 622C952.933 621.2 951.733 618.266 950.8 615.333C949.2 610.4 947.6 606.533 941.733 593.333C937.066 582.533 932.4 573.333 926.4 562.933C922.933 556.8 920 550.933 920 550C920 548.933 922.266 546.533 924.933 544.666C930.8 540.666 938.666 531.2 938.666 528C938.666 526.8 939.066 525.333 939.6 524.933C941.066 523.333 946 523.866 948.933 526ZM923.866 575.733C939.6 609.066 940.933 612.266 947.733 632.666C955.066 654.4 958 672.266 956 682C955.066 686.266 952.933 691.066 950.933 693.6C947.466 697.6 947.333 698.666 946.533 717.2C945.466 741.733 940.266 762.533 933.733 768.266C930.4 771.2 927.733 771.866 912.533 773.333C895.6 774.933 876.666 773.066 856.533 768.133C839.6 763.866 835.2 761.6 833.2 756.266C831.6 752 829.066 746.533 818.4 724.4C814.133 715.466 810.666 707.733 810.666 707.066C810.533 706.533 809.466 703.6 808 700.666C806.533 697.733 805.466 693.466 805.333 691.2C805.333 686.133 803.6 684.533 796.133 682.8C785.066 680.4 776.533 668.8 778.133 658.533C778.933 654.133 780 652.533 784.133 649.866C790.666 645.733 793.2 645.866 801.6 650.266C820 660.266 822.266 661.2 827.866 661.2C834.4 661.333 840 657.6 840 653.2C840 650.8 833.466 645.333 830.666 645.333C828.266 645.333 816.533 632.8 813.6 627.2C807.733 615.466 806.666 600.133 811.6 595.333C813.466 593.466 814 593.466 816.933 595.466C822 598.666 838 598.266 846 594.666C857.066 589.6 863.466 582 869.2 567.466C870.4 564.4 871.333 563.866 873.733 564.666C884.266 567.866 887.866 568.133 894.8 566C898.8 564.8 903.866 562.4 906 560.666C913.333 554.666 914.4 555.6 923.866 575.733ZM1238 612.133C1255.6 615.066 1273.87 618 1278.67 618.8C1283.47 619.466 1290.93 620.533 1295.33 621.333C1299.73 622 1310 623.6 1318 624.666C1326.13 625.733 1334.13 627.066 1336 627.466C1337.87 627.866 1345.33 629.066 1352.67 630C1360 631.066 1375.87 633.466 1388 635.333C1400.13 637.2 1416.53 639.6 1424.67 640.666C1432.67 641.733 1442.27 643.2 1446 643.866C1449.6 644.666 1458.13 645.866 1464.67 646.666C1471.33 647.466 1480 648.666 1484 649.333C1490.93 650.533 1500.53 652 1548 658.666C1558.67 660.266 1575.2 662.666 1584.67 664C1594.27 665.333 1607.2 667.2 1613.6 668C1625.33 669.6 1631.2 672 1628.67 674.4C1628 675.066 1621.07 677.6 1613.33 680C1605.6 682.533 1597.87 685.333 1596 686.266C1594.13 687.2 1592.13 688 1591.6 688C1590.93 688 1582.27 691.066 1572.27 694.8C1562.13 698.533 1551.07 702.666 1547.33 704C1536.53 707.733 1514.4 716.133 1509.73 718.133C1507.47 719.2 1504.8 720 1503.73 720C1502.67 720 1501.33 720.533 1500.53 721.066C1499.87 721.733 1490.67 725.333 1480 729.2C1469.33 733.066 1459.47 736.8 1458 737.466C1456.53 738 1450.27 740.4 1444 742.8C1437.73 745.066 1431.2 747.6 1429.33 748.4C1414.8 754.533 1404.93 756 1394.8 753.466C1392.13 752.8 1384.93 751.466 1378.67 750.666C1372.4 749.866 1365.6 748.666 1363.33 748C1359.6 746.933 1351.73 745.333 1327.33 740.666C1314.13 738.266 1298 734.933 1288.67 732.666C1284.27 731.733 1274.8 729.6 1267.73 728.133C1260.53 726.533 1249.07 724.133 1242.4 722.666C1224.13 718.666 1211.2 716 1200 714C1194.53 712.933 1186.13 711.2 1181.33 710.133C1176.53 708.933 1170.8 708 1168.4 708C1162.8 708 1161.6 704.266 1165.2 697.733C1166.67 694.933 1169.47 689.066 1171.33 684.666C1180.13 664.666 1180 664.8 1196.67 655.066C1198.13 654.133 1204.13 650.533 1210 647.066C1215.87 643.6 1221.33 640.4 1222 640.133C1222.8 639.866 1224.27 638.933 1225.33 638C1226.4 637.066 1230.53 634.666 1234.4 632.666C1242.13 628.666 1243.87 626.4 1241.33 623.333C1239.47 621.066 1238.4 621.466 1221.73 630.933C1214.27 635.2 1207.07 639.066 1205.73 639.6C1204.4 640 1201.6 641.733 1199.33 643.466C1197.2 645.066 1194 646.8 1192.4 647.333C1189.73 648 1189.33 647.733 1189.33 644.666C1189.33 642.8 1190.53 638.933 1192 636C1193.47 633.066 1194.67 630 1194.67 629.066C1194.67 628.133 1195.47 625.733 1196.53 623.733C1197.6 621.733 1198.8 618.266 1199.33 615.866C1200.53 610.533 1202.8 606.666 1204.67 606.666C1205.33 606.666 1220.4 609.066 1238 612.133ZM721.066 662C727.466 676 756.266 694.266 789.866 705.6L802.933 710L808.266 721.333C811.2 727.6 816.666 738.933 820.4 746.533C826.666 759.733 826.933 760.533 824.533 762.266C823.2 763.2 821.466 764 820.533 764C818.266 764 813.066 771.6 808.8 781.333C801.866 797.6 799.2 802 796.533 801.733C795.066 801.6 788.666 800.266 782 798.666C775.466 797.2 767.2 795.333 763.733 794.666C760.266 794 754 792.533 749.733 791.466C741.066 789.2 684.933 775.066 676.666 773.2C670.533 771.733 659.733 768.4 654.4 766.4C651.866 765.466 650.666 764 650.666 762.133C650.8 756.666 713.866 658.8 717.466 658.8C718.666 658.666 720.266 660.133 721.066 662ZM1656.4 685.333C1658.27 697.333 1658.13 882.666 1656.27 910.666C1655.47 924.266 1654.13 944.666 1653.33 956C1652.13 974.8 1651.33 984.133 1646.53 1028C1645.33 1039.87 1640.67 1073.47 1638 1089.33C1636.27 1100 1637.6 1099.2 1588.67 1121.2C1576.93 1126.53 1566.27 1131.47 1565.07 1132.13C1563.73 1132.8 1556.93 1136 1549.73 1139.2C1524.4 1150.53 1520.67 1152.27 1514 1155.33C1502.93 1160.53 1490.8 1165.87 1475.33 1172.53C1467.33 1176 1459.6 1179.47 1458.27 1180.13C1449.47 1184.8 1416.27 1198.67 1413.87 1198.67H1411.07L1410.13 1120.13C1409.2 1041.73 1409.47 1036 1413.47 1036C1414.27 1036 1420.4 1033.33 1427.07 1030.13C1453.6 1017.47 1470.13 1009.6 1474.4 1008C1477.2 1006.93 1478.67 1005.6 1478.4 1004.13C1477.73 1001.33 1470.27 1001.87 1459.47 1005.47C1455.07 1006.8 1450.27 1008 1448.53 1008C1446.93 1008 1441.87 1009.07 1437.2 1010.53C1423.6 1014.53 1413.73 1016.4 1411.47 1015.6C1409.6 1014.8 1409.33 1007.07 1409.33 940.8C1409.33 894.8 1409.87 866.533 1410.67 866C1412.4 864.933 1440.4 854.933 1448 852.666C1451.33 851.733 1457.33 849.6 1461.33 848C1465.33 846.533 1474.13 843.466 1480.67 841.2C1487.33 839.066 1493.6 836.8 1494.67 836.133C1495.73 835.6 1499.87 834.266 1503.6 833.333C1507.87 832.133 1512 830 1514.27 827.733L1517.87 824L1511.2 824.8C1507.6 825.2 1501.07 826.4 1496.67 827.333C1485.07 830 1476.4 831.466 1454.67 834.533C1416.27 840 1414.4 840.133 1412.53 838.533C1411.07 837.333 1410.67 829.866 1410.67 800.8V764.533L1416.53 761.6C1419.73 760 1423.07 758.666 1424 758.666C1424.8 758.666 1427.47 757.866 1429.73 756.8C1432.13 755.733 1436.67 754 1440 752.8C1443.33 751.733 1450.27 749.2 1455.33 747.333C1460.53 745.333 1467.33 742.933 1470.67 741.866C1474 740.8 1477.87 739.466 1479.33 738.8C1480.8 738.133 1488.27 735.333 1496 732.666C1503.73 730 1514.53 726 1520.13 723.866C1525.73 721.733 1530.67 720 1531.2 720C1531.87 720 1534.13 719.2 1536.4 718.133C1538.8 717.066 1542.8 715.6 1545.33 714.8C1547.87 714.133 1554.8 711.733 1560.67 709.6C1583.6 701.066 1602.27 694.4 1606.67 693.066C1609.2 692.4 1612 691.333 1612.67 690.666C1613.47 690.133 1616.4 689.066 1619.33 688.266C1626.13 686.4 1646.8 678.933 1647.87 678C1648.27 677.6 1650.13 677.333 1652 677.6C1654.93 678 1655.47 678.8 1656.4 685.333ZM968.933 713.6C973.733 716.4 975.866 720.666 984.133 742.666C989.466 757.066 996.4 781.6 998 791.6C998.8 796.8 998.666 797.333 996.133 797.333C994.666 797.333 987.066 794.266 979.466 790.666C971.866 786.933 965.066 784 964.4 784C963.866 784 961.866 782.8 960 781.333C958.133 779.866 955.866 778.666 954.933 778.666C951.866 778.666 944 772.666 944 770.4C944 769.066 945.066 766.133 946.4 763.733C950 757.2 954.4 738.266 955.333 724.666C955.866 718 956.4 711.866 956.8 710.933C957.466 708.8 963.066 710 968.933 713.6ZM1172.67 715.466C1177.07 716.4 1181.6 717.466 1182.67 717.866C1183.73 718.4 1189.2 719.6 1194.67 720.533C1200.13 721.6 1211.87 724 1220.67 726C1229.47 727.866 1241.07 730.266 1246.4 731.333C1251.73 732.4 1256.67 733.6 1257.33 734C1258 734.4 1263.33 735.6 1268.93 736.666C1279.2 738.4 1299.07 742.533 1324 748.133C1330.93 749.6 1340 751.466 1344 752.133C1348 752.8 1355.2 754.266 1360 755.333C1372 758.133 1389.07 761.6 1394.67 762.266C1397.2 762.666 1400.13 763.6 1401.07 764.266C1402.8 765.733 1403.07 798.133 1401.47 826L1400.67 840.666L1388.67 840.266C1343.2 838.666 1174.67 826.666 1158.13 823.733C1156.8 823.466 1155.33 824 1155.07 824.8C1154.27 827.2 1166.93 831.6 1181.33 833.866C1189.07 835.066 1202.27 837.2 1210.67 838.666C1219.07 840.266 1229.6 842 1234 842.666C1238.4 843.2 1247.47 844.666 1254 845.733C1260.67 846.933 1275.07 849.066 1286 850.666C1297.07 852.266 1313.87 854.666 1323.33 856C1332.93 857.333 1351.2 859.733 1364 861.333C1376.8 862.933 1390.4 864.666 1394 865.066L1400.67 866V941.333V1016.67L1396 1016.53C1393.47 1016.4 1384.8 1015.33 1376.67 1014.13C1331.07 1007.33 1289.6 1006 1295.07 1011.47C1295.47 1012 1307.73 1014.8 1322.27 1017.6C1355.47 1024.27 1355.33 1024.27 1371.33 1028.53C1378.67 1030.53 1388 1033.07 1391.87 1034.13C1395.87 1035.2 1399.73 1036.53 1400.27 1037.07C1400.93 1037.73 1401.2 1074.4 1401.07 1118.8L1400.67 1199.33L1397.07 1199.73C1395.07 1200 1387.87 1198.93 1381.07 1197.33C1374.27 1195.73 1363.33 1193.2 1356.67 1191.73C1350.13 1190.27 1339.73 1187.87 1333.73 1186.53C1327.6 1185.2 1317.73 1182.8 1311.73 1181.47C1290.53 1176.67 1276.53 1173.47 1263.33 1170.67C1256 1169.07 1245.47 1166.67 1240 1165.33C1228.27 1162.53 1195.33 1154.93 1186.67 1153.07C1175.33 1150.67 1159.33 1146.27 1157.87 1145.2C1157.07 1144.53 1155.47 1137.07 1154.13 1128.4C1152.93 1119.73 1151.33 1110 1150.67 1106.67C1149.87 1103.33 1148.8 1096.13 1148 1090.67C1146.4 1079.6 1143.87 1065.07 1136 1023.33C1130.4 993.733 1129.6 990.133 1122 957.333C1119.33 946 1115.87 931.2 1114.4 924.666C1108.93 900.266 1109.33 901.866 1096.67 855.333C1093.2 842.8 1090.13 831.333 1089.73 829.6C1089.2 827.333 1092.27 821.733 1102 806.933C1109.2 796.133 1116.4 785.2 1118 782.666C1119.6 780.133 1122 776.133 1123.47 774C1124.8 771.733 1127.07 767.866 1128.4 765.333C1129.73 762.8 1131.87 759.2 1133.07 757.333C1134.27 755.466 1136.13 752.133 1137.33 750C1138.53 747.733 1141.87 741.733 1144.67 736.666C1147.47 731.466 1151.2 724.666 1152.93 721.333C1156.8 714.266 1159.87 711.6 1162.67 712.8C1163.73 713.333 1168.27 714.4 1172.67 715.466ZM839.333 773.333C842.266 774 851.6 776.533 860 778.933C874.8 782.933 876.266 783.2 899.333 783.066C912.533 782.933 925.733 782.666 928.666 782.4L934 782L933.6 790.666C933.466 795.466 932.4 805.333 931.333 812.666C930.266 820 928.8 831.333 928 838C927.2 844.533 926.266 851.066 925.866 852.266C924.8 855.6 920 855.333 909.6 851.2C904.666 849.333 897.333 846.533 893.333 845.066C889.333 843.466 883.466 841.2 880.4 839.733C877.2 838.4 874 837.333 873.066 837.333C872.133 837.2 868.933 836.133 866 834.666C863.066 833.2 860.133 832.133 859.333 832C858.666 832 852 829.6 844.666 826.533C805.6 810.533 806.8 811.333 810 801.733C813.2 792.533 822.533 772.933 824.4 771.733C826 770.533 829.866 770.933 839.333 773.333ZM584 993.733C615.6 1004.4 633.6 1010.67 636.666 1012C638.133 1012.67 641.466 1013.73 644 1014.53C649.866 1016.13 659.866 1019.73 663.333 1021.33C664.8 1022 669.333 1023.73 673.333 1025.07C703.2 1035.2 710.266 1037.87 711.733 1039.73C714 1042.67 712.533 1043.6 703.333 1045.07C690.933 1047.07 673.066 1050.67 668.666 1052C666.533 1052.67 660.533 1053.87 655.333 1054.67C650.266 1055.47 642.666 1057.07 638.666 1058C634.666 1059.07 626.533 1060.8 620.666 1062C614.8 1063.2 600.133 1066.27 588 1068.8C575.866 1071.33 559.866 1074.67 552.266 1076C544.666 1077.47 538 1078.93 537.466 1079.33C536.8 1079.6 531.6 1080.8 525.866 1081.87C516.8 1083.47 498 1087.33 431.333 1101.33C424 1102.93 412.266 1105.33 405.333 1106.8C398.4 1108.13 389.866 1110 386.533 1110.8C368.8 1114.8 358 1116.4 344.666 1116.93L330 1117.47L310.666 1110.93C300 1107.2 285.333 1102 278 1099.33C270.666 1096.67 263.2 1094 261.333 1093.33C259.466 1092.67 253.866 1090.53 248.666 1088.53C243.6 1086.67 236.4 1084 232.666 1082.67C229.066 1081.33 222.666 1078.93 218.666 1077.33C211.333 1074.53 203.2 1071.47 192 1067.47C188.666 1066.27 184.8 1064.67 183.333 1064C181.866 1063.33 178.266 1061.87 175.333 1060.93C164.8 1057.2 115.333 1038.4 114.666 1037.73C113.333 1036.53 118 1034.93 125.2 1034.13C136.4 1032.8 163.466 1029.6 186.666 1026.53C228.266 1021.33 446.666 994.4 484.666 990C515.466 986.266 527.066 985.466 544.666 985.866C561.733 986.266 562.4 986.4 584 993.733ZM107.2 1045.2C111.733 1047.33 119.6 1050.67 124.666 1052.53C129.866 1054.53 135.866 1056.93 138 1057.87C140.266 1058.93 146.266 1061.33 151.333 1063.2C156.533 1065.2 162.8 1067.73 165.333 1068.93C167.866 1070 174.266 1072.4 179.333 1074.27C184.533 1076.13 190.533 1078.4 192.666 1079.33C197.733 1081.47 221.6 1090.53 228.666 1092.93C231.6 1093.87 235.2 1095.33 236.666 1096C241.866 1098.27 286.133 1113.6 297.2 1116.8C303.333 1118.67 311.866 1121.33 316.133 1122.67C320.4 1124.13 325.733 1125.33 327.866 1125.33C336 1125.33 336 1125.2 336 1171.87C336 1205.2 335.6 1214.67 334.266 1215.73C332.533 1217.2 323.466 1216.67 298 1213.33C285.733 1211.73 249.2 1208.27 239.466 1207.73C235.866 1207.6 232.666 1208 232.4 1208.67C231.866 1210.53 240.666 1214.4 250 1216.67C254.4 1217.6 262.266 1219.73 267.333 1221.2C272.533 1222.8 279.733 1224.93 283.333 1226C287.066 1227.07 294.933 1229.47 301.066 1231.33C307.066 1233.2 316.933 1236.13 322.8 1237.87C328.8 1239.6 334.266 1241.87 334.8 1242.93C335.466 1243.87 336 1266 336 1292.13C336 1328.53 335.6 1340 334.4 1341.07C333.2 1342 329.733 1341.47 322.666 1339.07C317.2 1337.2 308.8 1334.67 304 1333.2C299.2 1331.87 285.733 1328 274 1324.53C262.266 1321.2 249.333 1317.87 245.333 1317.07C241.333 1316.4 236.666 1315.2 235.066 1314.4C233.333 1313.6 231.6 1313.33 231.066 1313.87C229.866 1315.07 238.533 1322.53 240.933 1322.67C242.4 1322.67 273.866 1335.2 286 1340.53C288.266 1341.6 293.6 1343.87 298 1345.73C309.733 1350.53 323.866 1356.53 330.4 1359.47C333.866 1360.93 336.266 1362.93 336.666 1364.67C336.933 1366.13 337.733 1391.07 338.666 1420C339.466 1448.93 340.4 1483.87 340.933 1497.6C341.6 1518.27 341.466 1522.67 339.866 1522.67C338.933 1522.67 331.733 1520.27 324 1517.47C316.266 1514.53 303.733 1510 296 1507.33C288.266 1504.67 280.8 1501.87 279.333 1501.33C273.066 1498.53 255.2 1492 254 1492C253.333 1491.87 250.266 1490.8 247.333 1489.33C244.4 1487.87 241.066 1486.67 240 1486.67C238.933 1486.67 236.4 1485.87 234.4 1484.8C232.4 1483.73 228.8 1482.53 226.4 1482C224 1481.47 221.333 1480.53 220.533 1479.87C219.733 1479.2 216.4 1477.87 213.2 1476.8C210 1475.73 203.2 1473.33 198 1471.33C185.733 1466.67 175.066 1462.8 169.333 1461.07C166.8 1460.4 164.133 1459.2 163.333 1458.67C162.666 1458.13 160.533 1457.2 158.666 1456.67C155.066 1455.6 123.733 1444.4 119.333 1442.67C105.333 1436.8 104 1436 103.466 1433.07C102.133 1426.8 101.333 1372.67 102.4 1370.93C103.466 1369.47 106 1369.87 116.133 1373.2C138.266 1380.53 158 1386.4 163.066 1387.33C167.333 1388.13 168 1388 168 1385.73C168 1383.87 164.133 1380.8 153.733 1374.53C146 1369.87 138.933 1365.73 138.133 1365.47C137.333 1365.2 134.933 1363.6 132.666 1362C130.533 1360.4 127.733 1358.67 126.666 1358.13C125.6 1357.6 122.266 1355.73 119.333 1354C116.4 1352.27 112.133 1349.87 109.866 1348.67C107.6 1347.47 104.4 1345.2 102.933 1343.6C100.4 1340.8 100.266 1337.2 98.1331 1258.67C96.3997 1190.93 96.2664 1176.53 97.7331 1175.07C99.1997 1173.6 100.533 1173.6 105.333 1175.33C108.666 1176.53 115.733 1178.27 121.333 1179.33C126.8 1180.4 136.133 1182.13 142 1183.33C161.6 1187.47 162.666 1187.47 162.666 1183.6C162.666 1181.07 160.933 1179.33 154.4 1175.33C149.733 1172.53 136.533 1164 125.066 1156.4C113.6 1148.8 102.933 1142.67 101.466 1142.67C95.8664 1142.67 95.3331 1139.33 95.9997 1112.93C96.3997 1099.33 97.0664 1087.73 97.5997 1087.2C98.5331 1086.4 101.333 1087.2 111.333 1091.33C113.6 1092.13 120.8 1094.93 127.333 1097.33C134 1099.6 140.533 1102.13 142 1102.8C145.733 1104.4 155.733 1107.87 161.333 1109.6C163.866 1110.27 166.933 1111.73 168.133 1112.8C169.2 1113.87 172.133 1114.67 174.533 1114.67C180.133 1114.67 179.733 1110.8 174 1108.93C171.866 1108.27 169.066 1106.93 168 1106C166.933 1105.07 164.533 1103.87 162.666 1103.33C160.8 1102.8 156 1100.93 152 1099.07C148 1097.2 143.466 1095.33 142 1094.8C140.533 1094.27 136.666 1092.53 133.333 1091.07C130 1089.6 120.8 1085.73 112.666 1082.67C104.666 1079.6 97.5997 1076.4 97.0664 1075.6C95.7331 1073.6 95.7331 1043.47 96.9331 1042.27C98.1331 1040.93 98.2664 1040.93 107.2 1045.2ZM730.133 1051.33C730.533 1053.2 730.133 1068.27 729.2 1084.93C726.8 1125.33 727.066 1187.6 729.733 1209.33C731.866 1226.27 735.333 1243.47 739.466 1258.13C741.733 1266 741.733 1266.4 738.8 1276.13C737.066 1281.6 734.933 1288.13 734 1290.67C731.2 1297.87 721.466 1335.2 718.133 1352C715.333 1365.47 710.933 1393.47 709.866 1403.73C709.333 1408.27 708.266 1412.93 707.466 1414.13C706.533 1415.2 698.666 1418.27 690 1420.93C674 1425.6 664.4 1428.53 642 1435.33C635.466 1437.33 624.266 1440.67 617.333 1442.8C610.4 1444.93 601.733 1447.47 598 1448.67C594.4 1449.87 587.2 1452 582 1453.47C576.933 1455.07 571.2 1456.8 569.333 1457.33C567.466 1457.87 560 1460.27 552.666 1462.4C545.333 1464.67 531.6 1468.93 522 1471.87C512.533 1474.8 499.6 1478.67 493.333 1480.53C487.066 1482.4 479.333 1484.8 476 1485.87C470.533 1487.6 462.266 1490.13 438 1497.47C421.6 1502.4 412.533 1505.2 408.666 1506.53C406.533 1507.33 398.4 1509.73 390.666 1512.13C382.933 1514.4 372.8 1517.47 368 1518.93C353.466 1523.33 352.266 1523.47 351.466 1519.87C350.4 1514.67 345.066 1367.87 345.866 1364.8C346.533 1361.87 350.8 1360 386.666 1346.4C390.666 1344.8 396.4 1342.4 399.466 1341.07C402.4 1339.73 406 1338.67 407.466 1338.67C411.066 1338.67 413.866 1336.53 412.8 1334.8C411.6 1332.93 404 1332.93 399.466 1334.67C397.6 1335.33 389.733 1336.8 381.733 1338C373.866 1339.07 363.2 1340.67 358.133 1341.33C350.533 1342.53 348.533 1342.4 346.933 1340.8C345.333 1339.33 345.066 1330.4 344.8 1291.2L344.666 1243.47L350.666 1241.07C354 1239.87 362.666 1237.2 370 1235.33C377.333 1233.47 387.2 1230.67 392 1229.2C396.8 1227.87 401.466 1226.67 402.4 1226.67C403.466 1226.67 408.533 1225.47 413.733 1224.13C424.8 1221.07 440.933 1217.07 453.333 1214.13C458.133 1212.93 468.4 1210.53 476.133 1208.67C484 1206.8 491.6 1205.33 493.066 1205.33C496.933 1205.33 502.8 1202.53 501.866 1201.2C500.933 1199.6 485.066 1199.73 477.333 1201.33C474 1202 457.6 1204.4 440.666 1206.53C369.733 1215.87 350 1217.87 346.4 1215.87C344.133 1214.67 344 1211.6 344 1171.2V1128L347.466 1126.67C349.333 1125.87 352.666 1125.33 355.066 1125.33C359.066 1125.33 372.933 1122.8 398 1117.33C410.133 1114.8 424.133 1111.87 448.666 1106.67C456 1105.2 467.466 1102.8 474 1101.47C480.666 1100 490.533 1098 496 1096.8C512.266 1093.47 537.333 1088 546.666 1086C558 1083.6 574.933 1080.13 583.333 1078.53C587.066 1077.87 592.666 1076.67 596 1075.73C602.933 1074.13 612.666 1072 631.333 1068.13C657.866 1062.8 664.933 1061.33 677.333 1058.67C684.266 1057.07 694.266 1054.93 699.333 1053.87C704.533 1052.8 712 1051.07 716 1050.13C727.333 1047.33 729.2 1047.47 730.133 1051.33ZM1672.27 1109.47C1687.2 1111.87 1703.33 1114.13 1708.4 1114.67C1713.33 1115.2 1717.87 1116 1718.4 1116.53C1719.87 1118.13 1713.2 1122.4 1706.67 1124C1703.33 1124.8 1700.13 1126 1699.33 1126.53C1698.67 1127.2 1691.47 1129.87 1683.33 1132.67C1675.33 1135.33 1668.13 1138.13 1667.33 1138.67C1666.67 1139.2 1663.87 1140.13 1661.33 1140.67C1658.8 1141.2 1654.93 1142.53 1652.67 1143.47C1650.53 1144.4 1637.33 1149.2 1623.33 1154C1609.47 1158.8 1596.27 1163.6 1594 1164.67C1591.87 1165.6 1588.53 1166.8 1586.67 1167.33C1584.8 1167.73 1581.2 1168.93 1578.67 1170C1576.13 1170.93 1562.67 1175.73 1548.67 1180.67C1534.8 1185.47 1521.6 1190.27 1519.33 1191.33C1517.2 1192.4 1513.2 1193.73 1510.67 1194.53C1508.13 1195.2 1500.93 1197.73 1494.67 1200C1479.73 1205.6 1477.73 1206 1470.67 1203.33C1467.33 1202.13 1462.27 1200.67 1459.33 1200.13C1451.73 1198.8 1450.4 1197.73 1452 1194.53C1452.8 1193.2 1454 1192 1454.67 1192C1456 1192 1532.27 1158.4 1548.67 1150.53C1553.07 1148.53 1560.53 1145.07 1565.33 1142.8C1570.13 1140.67 1580.53 1135.87 1588.53 1132.13C1596.4 1128.4 1603.2 1125.33 1603.6 1125.33C1604.93 1125.33 1634 1110.4 1637.07 1108.13C1639.07 1106.67 1641.73 1105.33 1642.93 1105.33C1644.13 1105.33 1657.33 1107.2 1672.27 1109.47ZM1731.07 1125.73C1732.27 1128.8 1727.87 1320.53 1726.53 1321.87C1725.87 1322.67 1717.87 1322.27 1705.73 1320.8C1608.8 1309.33 1570.4 1308.13 1533.87 1315.47C1518.4 1318.53 1492.13 1325.2 1489.07 1326.8C1484.53 1329.2 1482.67 1327.33 1482.67 1320.13C1482.67 1311.87 1484.27 1310.27 1494.13 1308.13C1498.53 1307.2 1504.67 1305.6 1508 1304.53C1511.33 1303.6 1520.27 1301.2 1528 1299.33C1544.67 1295.07 1579.33 1285.87 1588.67 1283.2C1592.4 1282.13 1598.13 1280.8 1601.6 1280.13C1605.07 1279.6 1609.47 1278 1611.2 1276.8C1613.07 1275.6 1615.87 1274.67 1617.33 1274.67C1619.33 1274.67 1620 1274 1619.73 1272.27C1619.47 1270.8 1618.27 1270.13 1616.67 1270.4C1615.2 1270.67 1606.27 1272 1596.67 1273.2C1578.8 1275.73 1558.4 1278.8 1538.67 1282C1532.4 1283.07 1520.13 1284.8 1511.33 1286C1502.53 1287.2 1493.33 1288.8 1490.93 1289.6C1482.67 1292.13 1482.67 1292 1482.67 1250.53V1213.33L1486.4 1211.87C1488.4 1211.07 1491.87 1209.6 1494 1208.67C1496.27 1207.6 1500.67 1206.13 1503.87 1205.33C1507.07 1204.53 1510.67 1203.33 1511.87 1202.67C1514.53 1201.2 1540.53 1192 1541.87 1192C1543.07 1192 1563.2 1184.4 1568.67 1182C1570.93 1180.93 1574.8 1179.6 1577.33 1178.8C1579.87 1178.13 1585.33 1176.27 1589.33 1174.8C1614.8 1165.87 1627.87 1161.07 1631.6 1159.33C1633.87 1158.27 1636.4 1157.33 1637.33 1157.33C1638.27 1157.33 1640.8 1156.53 1643.07 1155.47C1645.47 1154.4 1652.13 1152 1658 1150C1663.87 1148.13 1669.87 1146 1671.33 1145.33C1672.8 1144.67 1680 1142 1687.33 1139.47C1694.67 1136.8 1701.6 1134.13 1702.67 1133.47C1703.87 1132.8 1706.8 1131.87 1709.33 1131.33C1711.87 1130.8 1714.8 1129.73 1716 1129.2C1718 1128 1727.87 1124.27 1729.47 1124.13C1730 1124 1730.67 1124.8 1731.07 1125.73ZM108.133 1155.73C112.533 1158.93 126.8 1167.33 129.733 1168.4C132.533 1169.47 132.666 1171.87 129.866 1172.93C127.333 1173.87 96.1331 1165.33 93.8664 1162.93C91.5997 1160.67 92.5331 1158.53 97.0664 1155.73C101.866 1152.8 104.266 1152.8 108.133 1155.73ZM1169.87 1193.2C1173.87 1194.53 1187.2 1197.2 1216.67 1202.67C1224.8 1204.27 1234.4 1206 1238 1206.8C1246.67 1208.4 1282.13 1214.67 1287.33 1215.47C1289.6 1215.87 1298.4 1217.33 1306.93 1218.8C1331.2 1222.8 1352.4 1226.4 1371.33 1229.6C1396.93 1233.87 1411.33 1233.2 1432.67 1227.2C1440.13 1225.07 1443.33 1220.93 1444.8 1211.87C1445.33 1208.93 1446.13 1206.27 1446.8 1206C1448.13 1205.07 1470.8 1211.6 1472.53 1213.33C1473.33 1214.13 1474.13 1230.27 1474.4 1252L1474.93 1289.2L1471.6 1290C1469.73 1290.53 1454.53 1289.6 1437.73 1288.13C1421.07 1286.67 1392.93 1284.13 1375.33 1282.53C1357.73 1281.07 1334.67 1278.93 1324 1277.87C1298 1275.07 1294.4 1275.07 1293.73 1276.93C1293.33 1277.87 1293.87 1278.93 1294.93 1279.2C1295.87 1279.47 1301.2 1280.93 1306.67 1282.53C1312.13 1284 1323.6 1286.53 1332 1288C1340.4 1289.47 1350.67 1291.2 1354.67 1292C1358.67 1292.8 1367.2 1294.27 1373.6 1295.33C1380 1296.27 1390.53 1298.13 1396.93 1299.2C1415.47 1302.4 1439.6 1306.27 1452.67 1308C1459.33 1308.93 1466.67 1310.53 1469.07 1311.47C1473.2 1313.2 1473.33 1313.33 1473.33 1321.73C1473.33 1329.2 1472.93 1330.4 1470.4 1331.6C1467.6 1332.93 1444.67 1340.27 1410 1350.8C1402.67 1353.07 1394.53 1355.73 1392 1356.8C1389.47 1357.73 1384.67 1359.2 1381.33 1360C1378 1360.8 1372.93 1362.27 1370 1363.33C1362.8 1365.73 1335.47 1374.4 1313.33 1381.33C1303.47 1384.4 1293.2 1387.73 1290.67 1388.67C1288.13 1389.73 1283.33 1391.2 1280 1392.13C1276.67 1392.93 1273.47 1394 1272.67 1394.67C1272 1395.2 1269.2 1396.13 1266.67 1396.67C1264.13 1397.2 1258.27 1399.33 1253.87 1401.33C1246.27 1404.8 1245.6 1405.47 1244.8 1410.27C1242.27 1427.07 1240.8 1472.4 1240.67 1534.4V1604.27L1237.33 1603.6C1233.33 1602.8 1222.8 1599.07 1219.87 1597.47C1218.67 1596.8 1215.33 1595.6 1212.4 1594.8L1207.07 1593.33L1206.13 1568.27C1204.13 1511.73 1196.27 1439.73 1187.07 1394C1186 1388.13 1184.53 1380 1183.87 1376C1183.33 1372 1181.87 1364.8 1180.8 1360C1172 1322.67 1166.4 1300 1164.8 1296C1163.73 1293.47 1161.07 1285.6 1158.8 1278.67C1153.47 1261.87 1150.93 1254.8 1148.67 1249.73C1146 1244 1146.13 1239.6 1149.33 1235.6C1150.8 1233.73 1152 1231.47 1152 1230.4C1152 1229.47 1152.93 1226.8 1154.13 1224.67C1155.33 1222.4 1157.33 1215.47 1158.67 1209.2C1160.93 1198 1163.2 1192 1164.93 1192C1165.47 1192 1167.6 1192.53 1169.87 1193.2ZM1637.07 1323.33C1676 1326.93 1733.47 1333.87 1822 1345.33C1833.73 1346.8 1847.6 1348.67 1852.67 1349.33C1857.87 1350 1876.13 1352.4 1893.33 1354.67C1910.53 1356.93 1934.53 1360 1946.67 1361.47C1978.4 1365.2 1985.2 1367.6 1973.07 1370.67C1969.87 1371.47 1965.2 1372.93 1962.67 1374C1954.93 1377.07 1933.2 1385.47 1925.33 1388.27C1921.33 1389.73 1914.8 1392.4 1910.93 1394.13C1907.07 1395.87 1903.33 1397.33 1902.53 1397.33C1901.73 1397.33 1899.2 1398.13 1896.93 1399.2C1887.87 1403.33 1880.13 1406.53 1866.67 1412C1847.87 1419.47 1825.47 1429.07 1821.33 1431.33C1819.47 1432.27 1814.93 1434.27 1811.33 1435.73C1807.6 1437.2 1801.07 1440 1796.67 1442C1792.27 1444 1786.93 1446.4 1784.67 1447.33C1782.53 1448.4 1777.2 1450.67 1772.93 1452.53C1768.67 1454.4 1764.93 1456 1764.53 1456C1764.13 1456 1761.87 1456.93 1759.6 1458C1752.93 1460.93 1734.8 1465.33 1728.67 1465.33C1725.6 1465.33 1714.27 1463.87 1703.2 1462C1684.4 1458.8 1644 1452.4 1635.33 1451.07C1628.4 1450.13 1598.53 1445.47 1584.67 1443.33C1577.33 1442.13 1566.8 1440.67 1561.33 1440C1555.87 1439.33 1545.33 1437.87 1538 1436.67C1486.53 1428.8 1366.93 1413.33 1306.93 1406.8C1285.73 1404.53 1278.93 1402.67 1280.67 1400C1281.07 1399.33 1283.87 1398.53 1287.07 1398C1290.13 1397.47 1293.87 1396.4 1295.33 1395.6C1296.67 1394.93 1301.87 1393.2 1306.67 1391.87C1318.67 1388.67 1326.27 1386.27 1374 1371.47C1379.87 1369.6 1389.47 1366.67 1395.33 1364.8C1401.2 1363.07 1412.93 1359.33 1421.33 1356.67C1429.73 1354 1440.27 1350.8 1444.67 1349.47C1449.07 1348.13 1457.47 1345.47 1463.33 1343.73C1508.67 1329.6 1526.67 1324.93 1543.73 1322.8C1550.13 1322 1556.8 1321.07 1558.67 1320.8C1565.07 1319.6 1615.6 1321.2 1637.07 1323.33ZM126.666 1368C126.666 1368.67 126.133 1369.33 125.466 1369.33C124.666 1369.33 123.733 1368.67 123.333 1368C122.933 1367.2 123.466 1366.67 124.533 1366.67C125.733 1366.67 126.666 1367.2 126.666 1368ZM885.066 1377.6C885.733 1385.07 874.4 1407.6 864.8 1418.27C858.4 1425.2 840.266 1440 838 1440C837.6 1440 834.8 1441.2 831.6 1442.53C821.733 1447.07 811.733 1449.47 799.066 1450.27C785.6 1451.07 782.666 1450.13 782.666 1444.67C782.666 1440.13 785.2 1438.93 795.333 1438C819.6 1435.87 837.2 1428.4 852.533 1413.73C863.2 1403.33 868.933 1394.93 875.2 1379.33C878.933 1370.27 884.4 1369.33 885.066 1377.6ZM1996.67 1376.93C1996.13 1379.73 1995.33 1387.33 1994.8 1394L1994 1405.87L1984.53 1410.93C1975.87 1415.47 1950.4 1426.8 1900.67 1448.13C1890.4 1452.53 1880.8 1456.67 1879.33 1457.33C1867.07 1462.8 1857.33 1466.67 1856.27 1466.67C1855.6 1466.67 1854.27 1467.47 1853.47 1468.53C1852.53 1469.6 1850 1470.93 1847.73 1471.47C1845.47 1471.87 1841.73 1473.47 1839.47 1474.8C1837.2 1476.13 1834.27 1477.33 1833.07 1477.33C1830.67 1477.33 1826.67 1480.8 1826.67 1482.8C1826.67 1484.93 1833.2 1484.13 1838.67 1481.33C1841.6 1479.87 1844.67 1478.67 1845.47 1478.67C1846.27 1478.67 1849.47 1477.6 1852.53 1476.13C1860.67 1472.4 1875.87 1466.67 1877.47 1466.67C1878.27 1466.67 1880.8 1465.87 1883.07 1464.8C1885.47 1463.73 1899.07 1458.67 1913.33 1453.33C1927.6 1448.13 1941.2 1442.93 1943.33 1442C1945.6 1441.07 1950.4 1438.93 1954 1437.2C1962.4 1433.6 1982.53 1423.6 1986.13 1421.33C1990.13 1418.93 1993.6 1420.53 1992.8 1424.27C1989.47 1439.73 1982.67 1602.4 1980.53 1716.67C1979.73 1761.2 1979.6 1763.47 1976.93 1766.4C1975.47 1768 1973.73 1769.33 1973.07 1769.33C1971.87 1769.33 1966.8 1771.47 1950.67 1778.93C1945.87 1781.2 1937.2 1785.07 1931.33 1787.6C1925.47 1790.13 1919.47 1792.67 1918 1793.33C1908.93 1797.2 1898.93 1801.33 1896.4 1802C1892.53 1803.07 1889.33 1806.27 1889.33 1808.93C1889.33 1811.33 1895.2 1810.4 1903.33 1806.67C1906.27 1805.33 1910.13 1803.87 1912 1803.33C1913.87 1802.93 1916.53 1802 1918 1801.33C1919.47 1800.67 1926.13 1798 1932.67 1795.47C1946 1790.4 1965.2 1782.27 1971.47 1779.07C1973.73 1777.87 1976.67 1777.33 1978 1777.87C1980.13 1778.67 1980.27 1780.67 1979.73 1801.73C1979.2 1825.47 1978.53 1828.4 1972.67 1833.6C1967.73 1838 1963.47 1839.6 1886.67 1864C1872.4 1868.53 1858.53 1873.07 1856 1874.13C1853.47 1875.07 1849.87 1876.27 1848 1876.67C1846.13 1877.07 1842.53 1878.27 1840 1879.33C1837.47 1880.27 1829.07 1883.07 1821.33 1885.33C1813.6 1887.73 1801.33 1891.6 1794 1894C1786.67 1896.4 1772 1901.2 1761.47 1904.67C1750.8 1908.13 1740.8 1911.6 1739.07 1912.4C1731.87 1915.6 1732 1917.2 1734.13 1828C1736.13 1746 1736.13 1746 1739.07 1743.73C1740.67 1742.4 1742.4 1741.33 1742.93 1741.33C1743.73 1741.33 1765.2 1732 1788 1721.73C1792.8 1719.6 1800.93 1716 1806 1714C1811.2 1711.87 1815.6 1709.73 1816 1709.2C1816.4 1708.67 1818.8 1707.73 1821.33 1707.07C1827.87 1705.33 1828.53 1701.33 1822.13 1701.33C1819.6 1701.33 1817.2 1701.87 1816.67 1702.53C1816.27 1703.2 1814 1704.13 1811.6 1704.67C1806.4 1705.73 1787.73 1711.6 1781.33 1714C1778.8 1715.07 1773.33 1716.8 1769.33 1717.87C1761.07 1720.13 1750 1723.73 1746 1725.47C1743.33 1726.53 1740.4 1727.07 1738 1726.8C1737.2 1726.67 1736.8 1717.6 1737.07 1701.73C1737.6 1672.4 1737.2 1673.2 1751.33 1670.27C1756.53 1669.2 1767.6 1666.4 1776 1664C1784.4 1661.6 1793.87 1659.2 1797.07 1658.53C1800.13 1657.87 1803.73 1656.93 1805.07 1656.27C1806.27 1655.6 1814 1653.2 1822 1650.8C1841.2 1645.47 1866.53 1637.07 1881.73 1631.2C1917.6 1617.33 1926.67 1612.67 1926.67 1608.27C1926.67 1605.6 1922.67 1606.53 1900 1614.53C1889.33 1618.13 1872.53 1623.73 1862.67 1626.67C1852.8 1629.73 1842 1633.07 1838.67 1634.13C1831.73 1636.4 1826.8 1637.87 1803.33 1644.53C1793.87 1647.33 1783.87 1650.27 1781.33 1651.33C1778.8 1652.27 1771.6 1654.4 1765.33 1656C1759.07 1657.6 1751.47 1659.87 1748.27 1660.93C1737.87 1664.53 1738.27 1666.67 1739.33 1618.93C1739.73 1595.73 1740.53 1575.73 1740.8 1574.53C1741.2 1573.33 1744.53 1570.93 1748.4 1569.47C1752.27 1567.87 1756.53 1566 1758 1565.33C1759.47 1564.67 1765.47 1562.27 1771.33 1560C1777.2 1557.73 1783.87 1555.07 1786.27 1554C1788.53 1552.93 1790.8 1552 1791.2 1552C1792.13 1552 1815.73 1541.47 1830.27 1534.53C1834.8 1532.4 1839.33 1530.67 1840.4 1530.67C1841.47 1530.67 1842.67 1529.73 1843.07 1528.67C1843.6 1527.6 1845.87 1526.27 1848.27 1525.6C1853.07 1524.4 1854.4 1520.53 1850 1520.93C1847.07 1521.2 1836.4 1524.53 1830 1527.33C1827.87 1528.27 1823.87 1529.47 1821.33 1530C1818.8 1530.53 1815.2 1531.73 1813.33 1532.67C1811.47 1533.6 1807.07 1534.93 1803.33 1535.87C1799.73 1536.67 1794.53 1538.27 1792 1539.2C1789.47 1540.27 1777.87 1543.87 1766.27 1547.33C1749.33 1552.27 1744.8 1553.2 1743.2 1551.87C1741.6 1550.53 1741.33 1544.27 1741.6 1512.13L1742 1474L1756 1468.4C1763.73 1465.2 1770.53 1462.67 1771.07 1462.67C1771.73 1462.67 1775.47 1461.2 1779.47 1459.33C1783.47 1457.47 1787.07 1456 1787.47 1456C1787.87 1456 1790.13 1455.2 1792.4 1454.13C1796.27 1452.27 1824.53 1440.8 1840.4 1434.53C1863.07 1425.47 1882.4 1417.6 1887.6 1415.2C1889.87 1414.13 1892.13 1413.33 1892.53 1413.33C1892.93 1413.33 1895.87 1412.13 1899.07 1410.8C1902.13 1409.33 1911.6 1405.33 1920 1402C1928.4 1398.67 1937.2 1395.07 1939.33 1394C1941.6 1393.07 1946.67 1390.93 1950.67 1389.33C1954.67 1387.73 1961.6 1384.93 1966 1383.07C1970.4 1381.2 1975.87 1379.07 1978 1378.13C1980.27 1377.2 1984.13 1375.47 1986.67 1374.27C1989.2 1373.2 1992.8 1372.13 1994.53 1372.13C1997.47 1372 1997.6 1372.4 1996.67 1376.93ZM1267.2 1412C1271.73 1412.67 1284.93 1414.53 1296.67 1416C1341.73 1422 1387.33 1428.13 1410.67 1431.47C1419.07 1432.53 1428.4 1433.87 1431.33 1434.27C1438.13 1435.07 1469.47 1439.2 1494.67 1442.67C1505.33 1444.13 1523.33 1446.53 1534.67 1448C1546 1449.47 1561.6 1451.6 1569.33 1452.67C1577.07 1453.87 1587.87 1455.33 1593.33 1456C1598.8 1456.67 1625.87 1460.27 1653.33 1464C1680.8 1467.87 1709.47 1471.6 1717.07 1472.4C1727.33 1473.47 1731.07 1474.27 1731.73 1475.87C1732.27 1477.07 1732.4 1495.33 1732 1516.67L1731.33 1555.33L1720.67 1555.07C1706.67 1554.8 1671.47 1550.67 1629.33 1544.53C1568.8 1535.87 1552.27 1534.13 1547.2 1536.13L1543.33 1537.6L1547.33 1539.47C1549.6 1540.4 1552.8 1541.2 1554.67 1541.33C1556.4 1541.33 1563.07 1542.53 1569.33 1544C1581.87 1546.8 1601.2 1550.67 1607.33 1551.47C1609.6 1551.87 1617.33 1553.2 1624.67 1554.67C1632 1556.13 1644.67 1558.53 1652.67 1559.87C1660.8 1561.33 1674 1563.73 1682 1565.2C1690.13 1566.67 1703.47 1568.93 1711.73 1570.13C1720 1571.33 1727.73 1573.2 1728.93 1574C1730.93 1575.47 1730.93 1581.07 1729.47 1646.8C1728.53 1686 1727.33 1720.13 1726.8 1722.67C1726.13 1726.27 1725.2 1727.47 1722.67 1727.87C1718.4 1728.4 1700 1725.73 1685.33 1722.4C1679.07 1721.07 1669.2 1718.93 1663.33 1717.87C1657.47 1716.67 1651.6 1715.2 1650.4 1714.53C1647.07 1712.8 1643.73 1713.07 1644.27 1714.93C1644.67 1715.87 1646 1716.93 1647.47 1717.33C1648.8 1717.73 1651.47 1718.93 1653.33 1720.27C1655.2 1721.47 1658.8 1722.8 1661.33 1723.33C1663.87 1723.87 1666.67 1724.8 1667.33 1725.33C1668.13 1726 1672 1727.33 1676 1728.4C1680 1729.6 1686.67 1731.73 1690.67 1733.33C1694.67 1734.93 1701.07 1737.07 1704.67 1738.13C1708.4 1739.07 1712.53 1740.53 1714 1741.2C1715.47 1742 1718.93 1743.47 1721.87 1744.67L1727.07 1746.67L1726.27 1755.07C1725.73 1759.6 1724.93 1796.8 1724.53 1837.73C1723.73 1898.13 1723.2 1912.27 1721.73 1913.6C1720.4 1914.67 1717.33 1914.53 1709.6 1912.67C1698.8 1910.27 1679.87 1906.53 1662 1903.2C1656.13 1902.13 1650.53 1901.07 1649.6 1900.67C1648.67 1900.27 1628 1896.13 1603.6 1891.33C1579.2 1886.4 1555.47 1881.73 1550.67 1880.67C1545.87 1879.6 1482 1866.8 1408.67 1852.13C1335.33 1837.33 1273.33 1824.93 1270.8 1824.27C1263.2 1822.53 1261.07 1818.13 1259.87 1802.4C1259.33 1794.93 1259.33 1788 1259.6 1787.07C1260.4 1784.93 1269.2 1784.93 1318.67 1786.67C1355.33 1788.13 1363.2 1787.73 1362.27 1784.93C1362 1784 1353.47 1781.07 1343.2 1778.4C1333.07 1775.73 1321.73 1772.53 1318 1771.47C1314.4 1770.4 1305.6 1768 1298.67 1766C1261.6 1755.47 1258.93 1754.67 1257.6 1752.93C1255.6 1750.53 1251.07 1634.13 1250.4 1567.33L1250 1536.67L1287.73 1536.27C1323.47 1536 1325.33 1535.87 1325.33 1533.47C1325.33 1531.6 1324 1530.67 1320.4 1530.13C1314.8 1529.07 1287.33 1520.8 1280 1517.87C1277.47 1516.93 1272 1515.2 1268 1514.27C1264 1513.2 1258.27 1511.2 1255.33 1509.87L1250 1507.33L1250.4 1490C1250.93 1464.53 1253.33 1415.73 1254.13 1412.93C1254.93 1410.27 1256.13 1410.27 1267.2 1412ZM486.933 1520.13C496.266 1526.13 496.666 1527.47 490.8 1534.53C479.6 1548.13 474.666 1561.47 473.466 1580.53L472.666 1593.87L463.333 1596.13C454.4 1598.53 409.066 1606.67 405.733 1606.67C401.733 1606.67 404.666 1600.67 414.4 1588.93C440.266 1557.33 447.866 1548.13 455.6 1538.53C467.333 1523.87 475.2 1516 478 1516C479.333 1516 483.333 1517.87 486.933 1520.13ZM510.533 1540L515.066 1543.87L510.266 1554.27C507.6 1560 504.266 1568 502.666 1572C501.2 1576 499.066 1581.2 498 1583.6C496.933 1585.87 496 1588.4 496 1589.2C496 1589.87 495.333 1592.13 494.4 1594C492.666 1597.87 486.8 1598.67 483.466 1595.2C478.4 1590.27 482.8 1562.93 490.8 1549.6C499.6 1534.8 502.666 1533.33 510.533 1540ZM1214.13 1750.13C1226.93 1755.73 1245.87 1765.33 1247.47 1767.07C1248.4 1768 1250 1780.53 1251.33 1795.33C1252.53 1810 1254.13 1822.93 1254.67 1824C1258.8 1831.6 1254.67 1830.53 1404.13 1860.53C1482 1876.13 1546 1889.47 1546.27 1890.13C1546.67 1891.33 1541.33 1898.8 1530.67 1912C1528.53 1914.53 1517.47 1928.93 1506.13 1944C1494.67 1959.07 1482.8 1974.53 1479.73 1978.53C1476.53 1982.53 1471.6 1988.93 1468.67 1992.8C1444.53 2024.8 1437.73 2033.33 1436 2034C1434.8 2034.4 1424.93 2032.13 1414 2029.2C1402.93 2026.13 1385.6 2021.33 1375.33 2018.53C1365.07 2015.73 1351.33 2011.87 1344.67 2010C1309.47 2000 1297.73 1996.67 1281.33 1992C1271.47 1989.2 1254.67 1984.53 1244 1981.47C1233.33 1978.4 1219.33 1974.4 1212.67 1972.53C1206.13 1970.67 1198 1968.27 1194.67 1967.33C1191.33 1966.4 1182.93 1964 1176 1962C1169.07 1960 1160.67 1957.6 1157.33 1956.67C1154 1955.73 1142.67 1952.53 1132 1949.47C1121.33 1946.4 1104.27 1941.6 1094 1938.67C1083.73 1935.73 1068.8 1931.47 1060.67 1929.2C1052.67 1927.07 1042.4 1924 1038 1922.67C1033.6 1921.33 1021.33 1917.73 1010.67 1914.67C955.733 1899.07 953.333 1898.27 953.333 1896.13C953.333 1895.47 956.533 1893.47 960.4 1891.47C966.666 1888.4 980.4 1880.67 991.333 1874.13C993.6 1872.93 998.4 1870 1002 1867.87C1005.73 1865.73 1009.6 1863.47 1010.67 1862.67C1011.73 1862 1018.93 1857.73 1026.67 1853.33C1034.4 1848.93 1041.6 1844.8 1042.67 1844.13C1048.27 1840.67 1090 1815.2 1108.8 1803.87C1120.67 1796.8 1137.6 1786.4 1146.53 1780.8C1155.47 1775.2 1163.33 1770.67 1164 1770.67C1164.67 1770.67 1165.33 1770.13 1165.6 1769.6C1165.87 1768.93 1169.33 1766.53 1173.33 1764.13C1177.33 1761.73 1183.33 1758.13 1186.67 1756C1196.8 1749.47 1201.87 1746.8 1204.13 1746.8C1205.33 1746.67 1209.87 1748.27 1214.13 1750.13Z",fill:"currentColor"}),f.jsx("path",{d:"M985.733 845.2C984.4 847.333 981.467 850.533 979.2 852.533C973.6 857.066 960.4 864 957.067 864C948.667 864 947.2 870 953.067 881.333C955.2 885.333 958 891.6 959.333 895.333C960.667 898.933 962.267 902.533 962.667 903.333C964.267 905.466 974.533 938.8 976.133 946.666C976.933 950.666 978.133 956.4 978.8 959.333C982 974 984.133 999.866 984.133 1024C984.133 1071.33 989.2 1104.13 1002.4 1141.33C1005.2 1149.33 1012.67 1167.07 1015.07 1171.33C1015.87 1172.8 1017.07 1175.2 1017.87 1176.67C1021.33 1183.07 1024.13 1185.6 1028.93 1186.8C1031.73 1187.47 1046.27 1188.4 1061.33 1188.93C1086.93 1189.6 1088.8 1189.47 1090.8 1187.2C1093.33 1184 1098.27 1153.33 1102.13 1115.2L1102.93 1107.07L1095.73 1098.53C1085.73 1086.53 1069.47 1061.87 1061.87 1046.67C1053.6 1030.13 1040.13 988.8 1040 979.866C1040 977.866 1038.93 972.533 1037.47 967.866C1036.13 963.2 1034 954.8 1032.8 949.333C1030.67 939.733 1025.47 921.733 1022 912C1013.73 889.066 1011.47 883.466 1006 871.333C1004.27 867.6 1000.93 860.4 998.667 855.333C994.533 846.266 991.2 841.333 989.2 841.333C988.667 841.333 987.2 843.066 985.733 845.2Z",fill:"currentColor"}),f.jsx("path",{d:"M910.667 976.133C898.934 981.467 888.534 984.933 876.667 987.467C860.667 990.8 835.467 990.8 819.734 987.6C804.8 984.4 801.867 985.467 803.334 993.733C803.867 996.8 804.8 1003.2 805.334 1008C805.867 1012.8 806.667 1017.6 807.067 1018.67C807.467 1019.73 809.2 1032.4 810.8 1046.67C812.667 1063.47 814.4 1073.6 815.734 1075.73C818 1079.2 826.534 1083.87 838.134 1087.87C842.4 1089.33 849.334 1091.87 853.334 1093.33C881.734 1104.27 884.267 1104.67 891.6 1098.4C903.067 1088.53 928.8 1063.2 931.2 1059.47C933.334 1055.87 933.6 1053.6 932.8 1041.6C931.2 1015.33 926.534 982.267 923.734 977.6C920.667 972.667 918.8 972.4 910.667 976.133ZM918.534 993.6C919.467 998.933 920.667 1006.67 921.334 1010.67C922 1014.67 922.934 1026.27 923.467 1036.27L924.267 1054.53L915.867 1063.47C911.2 1068.4 902 1077.2 895.467 1082.93C884.267 1093.07 883.467 1093.6 878.534 1092.93C875.734 1092.53 871.6 1091.33 869.2 1090.13C866.8 1088.93 864.4 1088 863.6 1088C862.934 1088 860.534 1087.07 858.267 1086C855.867 1084.93 847.734 1081.73 840.134 1078.8C824 1072.53 821.334 1070.53 821.334 1064.67C821.334 1062.27 819.734 1048.4 817.867 1033.87C815.867 1019.2 814.267 1004.67 814.134 1001.33C814 996 814.267 995.333 816.667 995.733C829.867 997.333 852 998.4 860.667 997.867C876.667 996.667 905.334 989.2 910 985.067C910.667 984.533 912.534 984 914.134 984C916.8 984 917.2 985.067 918.534 993.6Z",fill:"currentColor"}),f.jsx("path",{d:"M891.467 582.533C889.6 585.466 892.4 587.733 898.4 588.4C901.867 588.666 906.667 589.733 908.934 590.8C912.4 592.266 913.6 592.266 914.934 590.933C916.267 589.6 915.734 588.4 912.4 585.333C908.667 581.866 907.2 581.333 900.134 581.333C895.734 581.333 891.867 581.866 891.467 582.533Z",fill:"currentColor"}),f.jsx("path",{d:"M906.666 599.867C906.666 601.2 908.666 605.867 911.066 610.133C914.533 616.4 916.133 618 918.666 618C924.133 618 923.733 612.933 917.333 604.533C911.733 597.067 906.666 594.933 906.666 599.867Z",fill:"currentColor"}),f.jsx("path",{d:"M837.333 610.533C832.4 615.733 830 622.133 831.6 626C832.667 629.067 836.533 627.867 837.067 624.267C837.333 622.667 840.267 618.533 843.6 615.333C848.933 610.4 849.6 609.2 848 607.467C845.333 604.133 842.667 604.933 837.333 610.533Z",fill:"currentColor"}),f.jsx("path",{d:"M848.933 619.466C846.933 621.466 848.133 626.666 852.533 635.6C857.999 646.533 860.399 649.066 863.333 646.666C865.999 644.533 865.866 641.333 863.066 637.333C861.733 635.6 858.799 630.8 856.666 626.8C852.666 619.6 850.666 617.733 848.933 619.466Z",fill:"currentColor"}),f.jsx("path",{d:"M886 630.667C884.8 632.667 886.533 634.533 895.333 640.667C902.133 645.6 902.667 646.267 901.867 650C900.4 657.067 900.667 658 903.333 658.4C905.2 658.667 907.067 657.067 909.733 653.067C911.733 650 913.333 646.4 913.333 645.2C913.333 642.533 908.933 639.2 898 633.467C889.467 629.067 887.333 628.533 886 630.667Z",fill:"currentColor"}),f.jsx("path",{d:"M889.599 682.8C882.799 686.266 875.199 694.8 873.866 700.533C873.466 702.8 872.133 706.266 871.066 708.4C869.466 711.6 869.466 712.666 871.333 716.533C876.266 726.8 887.866 724 893.599 711.066C895.999 705.733 895.999 705.466 893.333 699.333C891.866 695.866 890.666 692.266 890.666 691.333C890.666 689.2 895.066 687.6 900.399 687.733C904.666 687.866 906.399 684.933 903.999 682C901.733 679.2 896.266 679.466 889.599 682.8ZM886.666 700.666C888.666 703.066 887.466 711.066 884.666 713.333C882.266 715.333 877.333 713.866 877.333 711.066C877.333 707.6 881.733 698.666 883.466 698.666C884.266 698.666 885.733 699.6 886.666 700.666Z",fill:"currentColor"}),f.jsx("path",{d:"M1286 634.533C1282.93 635.467 1262.53 645.867 1252.67 651.333C1230.27 663.733 1230 664 1208.4 677.867C1199.33 683.6 1192 688.933 1192 689.867C1192 692 1194.8 694.667 1196.8 694.667C1197.73 694.667 1202 692.4 1206.27 689.467C1213.2 684.933 1236 670.8 1242.27 667.333C1256.8 659.2 1275.73 648.8 1282.67 645.333C1293.33 639.733 1296 637.6 1295.07 635.2C1294.4 633.2 1290.67 632.933 1286 634.533Z",fill:"currentColor"}),f.jsx("path",{d:"M1363.47 646.533C1363.07 647.2 1358.27 649.867 1353.07 652.533C1347.73 655.2 1339.2 659.733 1334 662.4C1328.93 665.2 1318.13 671.067 1310 675.333C1302 679.733 1292.4 684.933 1288.67 686.933C1285.07 688.933 1279.87 691.733 1277.33 693.2C1270.27 697.067 1267.2 700.8 1269.33 703.333C1271.6 706.133 1273.87 705.867 1280 702C1282.93 700.133 1285.6 698.667 1286.13 698.667C1286.53 698.667 1288.53 697.6 1290.4 696.133C1292.4 694.8 1296.67 692.267 1300 690.4C1303.33 688.533 1307.87 685.867 1310.27 684.533C1315.2 681.467 1328.8 673.733 1338 668.667C1341.73 666.667 1347.07 663.6 1350 661.867C1352.93 660.133 1356.8 658 1358.67 657.067C1371.73 650.533 1375.87 645.333 1368.13 645.333C1365.87 645.333 1363.87 645.867 1363.47 646.533Z",fill:"currentColor"}),f.jsx("path",{d:"M1421.6 656.266C1420.8 657.2 1415.73 660.4 1410.4 663.2C1405.07 666 1399.73 668.8 1398.67 669.466C1397.6 670.133 1384.4 677.6 1369.33 686.133C1354.27 694.666 1340.4 702.666 1338.53 703.866C1336.67 705.066 1331.73 708 1327.73 710.4C1318.67 715.733 1313.33 720.533 1313.33 723.333C1313.33 727.466 1319.73 726.266 1329.87 720.133C1334.27 717.333 1338.93 714.8 1340 714.266C1341.07 713.733 1344.4 711.866 1347.33 710C1350.27 708.266 1354.8 705.466 1357.33 704C1359.87 702.533 1362.93 700.666 1364 700C1365.07 699.333 1371.73 695.2 1378.67 690.933C1405.47 674.266 1421.6 664.533 1426.13 662.266C1429.2 660.666 1430.67 659.066 1430.4 657.6C1429.87 654.8 1423.6 653.866 1421.6 656.266Z",fill:"currentColor"}),f.jsx("path",{d:"M1491.2 665.6C1487.47 668 1483.33 670.8 1481.87 671.6C1480.53 672.533 1477.2 674.533 1474.67 676C1472.13 677.466 1467.87 680 1465.2 681.733C1457.2 686.666 1423.07 707.066 1405.73 717.2C1396.67 722.4 1389.33 727.466 1389.33 728.4C1389.33 730.666 1392.13 733.333 1394.4 733.333C1396 733.333 1409.47 726.266 1417.87 720.933C1419.33 720 1427.2 715.2 1435.2 710.133C1451.47 700 1472.4 686.533 1484.4 678.533C1488.67 675.6 1492.53 673.333 1493.07 673.333C1495.33 673.2 1504.27 664.266 1503.47 662.8C1501.87 660.266 1498.27 661.2 1491.2 665.6Z",fill:"currentColor"}),f.jsx("path",{d:"M1615.07 742.8C1614.27 743.6 1609.07 745.067 1603.73 746C1585.87 749.067 1542.27 761.867 1517.07 771.6C1507.6 775.2 1505.33 777.867 1508.67 781.2C1510.8 783.333 1509.47 783.733 1536 773.733C1540.8 771.867 1547.73 769.467 1551.33 768.4C1555.07 767.2 1558.67 765.867 1559.33 765.333C1560.13 764.8 1562.8 763.867 1565.33 763.333C1567.87 762.8 1571.47 761.733 1573.33 760.933C1575.2 760.133 1579.73 758.8 1583.33 757.867C1587.07 756.933 1593.87 755.2 1598.67 754C1615.47 749.733 1620.67 747.467 1620.67 744.667C1620.67 741.6 1617.33 740.533 1615.07 742.8Z",fill:"currentColor"}),f.jsx("path",{d:"M1614 827.2C1612.53 828.267 1608.67 829.867 1605.33 830.8C1602 831.733 1598.8 832.933 1598 833.333C1597.33 833.867 1593.33 835.067 1589.33 836C1585.33 836.933 1581.33 838.133 1580.67 838.8C1579.87 839.333 1576.27 840.533 1572.67 841.467C1568.93 842.267 1565.47 843.467 1564.67 844.133C1564 844.667 1559.47 846.133 1554.93 847.333C1550.27 848.533 1545.47 850 1544.27 850.667C1542.93 851.333 1536.67 853.467 1530 855.333C1523.47 857.333 1512.67 860.533 1506 862.667C1499.47 864.667 1487.47 868.4 1479.47 870.8C1471.47 873.333 1464.67 876.133 1464.4 877.067C1463.47 879.2 1466.4 882.667 1469.07 882.667C1472.27 882.667 1524.4 866.267 1532.67 862.667C1534.13 862 1541.33 859.6 1548.67 857.333C1556 855.067 1563.2 852.533 1564.67 851.733C1566.13 850.933 1570 849.467 1573.33 848.533C1582.93 845.733 1594.93 841.467 1596.53 840.133C1597.33 839.467 1600.53 838.533 1603.6 838C1606.53 837.6 1610.13 836.267 1611.6 835.333C1612.93 834.267 1614.93 833.333 1616.13 833.333C1617.2 833.333 1619.33 832.4 1620.8 831.333C1623.33 829.333 1623.33 829.333 1620.8 827.333C1617.6 824.933 1617.2 824.933 1614 827.2Z",fill:"currentColor"}),f.jsx("path",{d:"M1120.4 890.266C1117.87 891.2 1118.27 895.733 1121.07 897.066C1127.6 900.533 1218.67 922 1283.33 935.466C1299.33 938.8 1329.87 942.533 1331.07 941.333C1331.73 940.8 1332 939.2 1331.73 937.866C1331.33 935.2 1330.8 935.066 1308.67 930.666C1300.67 929.066 1289.2 926.533 1283.33 925.2C1277.47 923.866 1265.47 921.2 1256.67 919.333C1247.87 917.466 1237.07 915.066 1232.67 914C1222.4 911.6 1184.13 903.2 1168.67 899.866C1162.13 898.4 1149.33 895.466 1140.27 893.333C1123.07 889.2 1122.93 889.2 1120.4 890.266Z",fill:"currentColor"}),f.jsx("path",{d:"M531.599 998.267C531.066 998.667 530.666 999.6 530.666 1000.13C530.666 1001.33 542.399 1008 544.533 1008C545.333 1008 547.733 1008.93 549.999 1010.13C554.666 1012.53 569.866 1018.67 571.199 1018.67C571.733 1018.67 574.666 1019.73 577.733 1021.2C585.066 1024.53 608.666 1032.8 621.999 1036.8C633.066 1040 641.999 1040.93 643.199 1038.8C645.733 1034.8 639.199 1031.33 618.799 1025.33C610.533 1022.93 606.399 1021.6 591.066 1016.53C587.466 1015.47 581.999 1013.73 578.666 1012.67C565.066 1008.4 559.199 1006.4 555.733 1004.53C553.866 1003.47 551.466 1002.67 550.399 1002.67C549.333 1002.67 546.266 1001.47 543.333 1000C537.999 997.333 533.199 996.533 531.599 998.267Z",fill:"currentColor"}),f.jsx("path",{d:"M480.533 1004.67C479.466 1007.33 483.866 1010.93 496 1017.2C519.333 1029.07 575.733 1056.93 579.6 1058.53C585.066 1060.8 588 1059.6 588 1055.33C588 1052.53 586.666 1051.33 579.066 1047.87C545.333 1032.27 528 1024.13 516.666 1018.67C510.8 1015.87 502 1011.6 496.933 1009.33C492 1006.93 487.6 1004.53 487.2 1003.87C486 1001.87 481.333 1002.53 480.533 1004.67Z",fill:"currentColor"}),f.jsx("path",{d:"M431.333 1013.33C430 1015.6 431.733 1017.07 442.4 1022.4C448 1025.33 461.733 1032.27 472.667 1038C507.067 1055.87 523.733 1064 525.733 1064C528.933 1064 529.733 1059.73 527.067 1057.2C524.8 1054.93 506.267 1045.6 465.333 1025.73C455.467 1020.93 445.2 1015.87 442.533 1014.53C437.2 1011.73 432.667 1011.33 431.333 1013.33Z",fill:"currentColor"}),f.jsx("path",{d:"M349.333 1024.53C349.333 1027.07 351.733 1028.53 358.666 1030.53C362 1031.47 365.333 1032.67 366 1033.33C366.8 1033.87 369.2 1034.67 371.333 1035.2C373.6 1035.73 377.2 1036.93 379.333 1037.87C381.6 1038.8 388.4 1041.47 394.666 1043.87C409.333 1049.47 416 1052 419.333 1053.47C420.8 1054.13 426.8 1056.4 432.666 1058.67C438.533 1060.93 445.2 1063.6 447.333 1064.53C449.6 1065.47 453.466 1067.07 456 1068C458.533 1068.93 461.2 1070.27 462 1070.93C465.866 1074.27 470.933 1069.6 467.733 1065.6C465.6 1063.07 445.333 1053.6 425.333 1045.73C416.933 1042.53 407.866 1039.07 405.333 1038C402.8 1037.07 395.866 1034.67 390 1032.8C358.4 1022.53 349.333 1020.8 349.333 1024.53Z",fill:"currentColor"}),f.jsx("path",{d:"M258.666 1032.4C258.666 1034.13 265.599 1040 267.466 1040C267.999 1040 271.466 1041.47 275.199 1043.2C287.866 1049.07 293.999 1051.6 315.333 1060C327.066 1064.67 337.866 1068.93 339.333 1069.47C349.599 1073.73 388.399 1086.67 390.933 1086.67C393.999 1086.67 395.599 1083.07 393.733 1080.27C393.066 1079.07 389.733 1077.33 386.533 1076.53C378.133 1074.13 367.999 1070.67 363.066 1068.53C360.799 1067.47 358.266 1066.67 357.466 1066.67C356.666 1066.67 354.133 1065.87 351.733 1064.8C349.333 1063.73 338.666 1059.73 327.999 1056C317.333 1052.27 307.066 1048.27 305.066 1047.2C303.199 1046.13 300.799 1045.33 299.733 1045.33C298.799 1045.33 295.066 1043.87 291.333 1042C287.733 1040.27 283.999 1038.67 283.199 1038.67C282.399 1038.67 277.733 1036.8 272.933 1034.67C263.466 1030.4 258.666 1029.6 258.666 1032.4Z",fill:"currentColor"}),f.jsx("path",{d:"M181.733 1039.6C178.799 1040.67 179.866 1044 183.733 1045.6C189.999 1048.27 201.866 1053.47 204.266 1054.8C205.599 1055.47 207.333 1056 208.266 1056C209.199 1056 211.866 1056.93 213.999 1058.13C216.266 1059.33 223.066 1062.27 229.333 1064.67C235.599 1067.07 242.533 1070 244.666 1071.2C246.933 1072.4 249.333 1073.33 250.133 1073.33C251.599 1073.33 259.333 1076.4 268.666 1080.53C270.933 1081.6 280.799 1085.47 290.666 1089.2C300.533 1093.07 309.866 1096.67 311.333 1097.2C330.533 1105.2 337.333 1106.27 337.333 1101.33C337.333 1097.87 334.533 1096 320.933 1091.2C314.266 1088.8 303.599 1084.93 297.333 1082.67C291.066 1080.4 283.866 1077.87 281.333 1077.07C278.799 1076.4 276.133 1075.33 275.333 1074.8C274.666 1074.27 271.066 1072.67 267.333 1071.47C263.733 1070.13 258.799 1068.27 256.399 1067.2C254.133 1066.13 251.333 1065.33 250.266 1065.33C249.066 1065.33 247.866 1064.8 247.466 1064.13C247.066 1063.47 245.066 1062.53 243.066 1062.13C240.933 1061.6 236.933 1060.13 233.999 1058.8C225.866 1055.2 214.133 1050.67 212.799 1050.67C212.133 1050.67 209.199 1049.47 206.133 1048.13C195.999 1043.33 185.066 1038.67 184.133 1038.8C183.733 1038.8 182.533 1039.2 181.733 1039.6Z",fill:"currentColor"}),f.jsx("path",{d:"M705.333 1184.27C690.133 1191.47 671.466 1200.27 668.666 1201.33C667.2 1202 661.466 1204.4 656 1206.67C650.533 1208.93 644.8 1211.33 643.333 1212C641.866 1212.67 634.4 1215.33 626.666 1218C618.933 1220.67 611.2 1223.47 609.333 1224.27C604.266 1226.4 580.133 1233.2 560 1238.13C528.133 1246 524.8 1246.8 517.333 1248C513.333 1248.53 504.666 1250 498 1251.07C471.066 1255.6 452.8 1257.73 431.333 1258.67C418.933 1259.33 408.533 1259.73 408.4 1259.87C407.466 1260.27 408.133 1265.33 409.2 1265.87C411.2 1267.2 465.2 1264 487.333 1261.33C521.6 1257.07 552 1251.07 582.666 1242.4C601.733 1237.07 635.2 1225.33 649.333 1219.07C671.2 1209.47 681.866 1204.27 705.2 1191.73C712 1188.13 717.333 1183.6 717.333 1181.47C717.333 1179.2 714.666 1179.73 705.333 1184.27Z",fill:"currentColor"}),f.jsx("path",{d:"M1662.13 1190.53C1661.6 1191.2 1659.33 1192.27 1656.93 1192.8C1654.67 1193.2 1649.6 1195.07 1645.73 1196.8C1642 1198.53 1638.13 1200 1637.33 1200C1636.4 1200 1633.87 1200.8 1631.6 1201.87C1627.33 1203.73 1619.2 1206.53 1608 1210C1597.47 1213.2 1588.8 1216.13 1584 1218C1581.47 1219.07 1576.93 1220.53 1574 1221.33C1565.07 1223.73 1559.33 1227.07 1559.33 1230C1559.33 1233.6 1566.8 1234.27 1574.8 1231.33C1578 1230.13 1582.8 1228.53 1585.33 1227.87C1587.87 1227.07 1596.27 1224 1604 1221.07C1666.93 1196.93 1671.33 1194.93 1671.33 1192C1671.33 1189.73 1663.47 1188.4 1662.13 1190.53Z",fill:"currentColor"}),f.jsx("path",{d:"M1184.4 1320.8C1183.47 1321.2 1182.67 1322.67 1182.67 1324C1182.67 1325.87 1183.87 1326.67 1187.07 1327.2C1197.73 1328.67 1244.27 1333.6 1266 1335.33C1295.73 1337.87 1370.8 1340.8 1373.87 1339.6C1375.33 1339.07 1376 1337.6 1375.73 1335.73C1375.33 1332.8 1374.53 1332.67 1359.33 1331.73C1285.73 1327.47 1221.47 1323.33 1192.67 1320.8C1189.07 1320.4 1185.2 1320.53 1184.4 1320.8Z",fill:"currentColor"}),f.jsx("path",{d:"M1544.67 1332C1543.2 1332.67 1534.8 1335.87 1526 1339.33C1517.2 1342.67 1508.8 1346 1507.33 1346.67C1505.87 1347.33 1499.87 1349.73 1494 1352C1488.13 1354.27 1482.13 1356.67 1480.67 1357.33C1479.2 1358 1473.2 1360.4 1467.33 1362.67C1461.47 1364.93 1455.47 1367.33 1454 1368C1450.67 1369.47 1429.33 1378.53 1416.67 1383.6C1402.53 1389.47 1398.67 1391.73 1398.67 1394.67C1398.67 1400.53 1405.47 1399.2 1427.33 1389.33C1428.8 1388.67 1437.2 1385.33 1446 1381.87C1469.2 1372.93 1478.67 1369.2 1483.33 1367.33C1485.47 1366.4 1490.67 1364.27 1494.67 1362.67C1498.67 1361.07 1504.4 1358.67 1507.33 1357.33C1510.27 1356.13 1515.33 1353.87 1518.67 1352.53C1530.27 1347.6 1548.67 1338.4 1551.07 1336.4C1556 1331.87 1551.73 1328.93 1544.67 1332Z",fill:"currentColor"}),f.jsx("path",{d:"M1631.2 1340.67C1629.87 1341.73 1627.87 1342.67 1626.8 1342.67C1625.73 1342.67 1622.53 1343.87 1619.47 1345.2C1616.4 1346.67 1607.47 1350.67 1599.33 1354C1591.33 1357.47 1582.8 1361.07 1580.67 1362C1578.4 1363.07 1571.87 1365.73 1566 1368C1560.27 1370.4 1554.53 1372.8 1553.47 1373.47C1552.27 1374 1548.67 1375.73 1545.33 1377.07C1497.6 1397.47 1489.87 1401.73 1493.33 1405.87C1495.47 1408.67 1496.93 1408.53 1503.33 1405.33C1511.73 1401.2 1527.87 1394 1537.33 1390.13C1545.07 1386.93 1553.47 1383.07 1560.4 1379.73C1561.73 1379.07 1569.87 1375.6 1578.4 1371.87C1586.93 1368.13 1596.67 1363.87 1600 1362.4C1603.33 1360.8 1607.87 1358.8 1610 1357.87C1612.27 1356.93 1619.33 1353.73 1625.73 1350.8C1632.27 1347.73 1638 1345.33 1638.67 1345.33C1640.13 1345.33 1641.47 1341.33 1640.53 1339.87C1639.47 1338 1634.13 1338.4 1631.2 1340.67Z",fill:"currentColor"}),f.jsx("path",{d:"M1720.67 1350.13C1717.73 1351.2 1713.6 1352.67 1711.33 1353.2C1702.8 1355.47 1675.2 1364.67 1668.67 1367.47C1666.53 1368.4 1662.53 1369.73 1660 1370.53C1653.2 1372.53 1642.27 1376.4 1628 1382C1621.07 1384.67 1611.47 1388.4 1606.67 1390.27C1602 1392.13 1596.27 1394.4 1594 1395.33C1591.87 1396.27 1586.67 1398.4 1582.67 1400C1563.87 1407.47 1562 1408.8 1563.47 1412.67C1564.67 1415.87 1571.07 1414.67 1585.33 1408.53C1591.6 1406 1598.53 1403.2 1600.93 1402.53C1603.33 1401.87 1606.93 1400.4 1608.93 1399.33C1610.93 1398.27 1613.33 1397.33 1614.27 1397.33C1615.2 1397.33 1619.07 1395.87 1622.93 1394.13C1626.8 1392.4 1639.87 1387.33 1652 1382.8C1664.13 1378.27 1675.07 1374 1676.27 1373.33C1677.6 1372.53 1679.33 1372 1680.13 1372C1680.93 1372 1683.47 1371.2 1685.73 1370.13C1688.13 1369.2 1692.13 1367.6 1694.67 1366.67C1697.2 1365.73 1701.2 1364.13 1703.33 1363.2C1707.33 1361.6 1710.8 1360.4 1723.33 1356C1728.13 1354.4 1730 1353.07 1730 1351.2C1730 1347.87 1727.2 1347.6 1720.67 1350.13Z",fill:"currentColor"}),f.jsx("path",{d:"M1811.33 1358.93C1809.2 1359.73 1806.4 1361.2 1805.2 1362.13C1804.13 1363.2 1802.53 1364 1801.73 1364C1800.53 1364 1771.47 1375.07 1763.33 1378.67C1761.87 1379.33 1754.93 1381.73 1748 1384C1741.07 1386.4 1733.6 1389.07 1731.33 1390C1729.2 1390.8 1723.73 1392.93 1719.33 1394.53C1704.4 1400.13 1678.8 1411.07 1672 1414.8C1653.6 1424.93 1650.4 1427.87 1653.6 1431.6C1655.73 1434.27 1657.73 1433.6 1678.67 1424C1688.53 1419.47 1698.8 1414.93 1701.33 1413.87C1703.87 1412.67 1707.2 1411.33 1708.67 1410.67C1716.67 1407.07 1740.27 1397.33 1740.8 1397.33C1741.2 1397.33 1743.47 1396.53 1745.73 1395.47C1748.13 1394.4 1756.8 1390.8 1764.93 1387.47C1782 1380.53 1805.07 1369.6 1806 1368C1806.4 1367.33 1808.67 1366.4 1811.07 1366C1816.4 1364.8 1818.67 1363.07 1818.67 1359.87C1818.67 1357.07 1817.2 1356.93 1811.33 1358.93Z",fill:"currentColor"}),f.jsx("path",{d:"M1888.67 1372C1885.73 1373.47 1882.93 1374.67 1882.27 1374.67C1881.6 1374.67 1879.2 1375.6 1876.93 1376.67C1874.53 1377.73 1864 1381.87 1853.33 1386C1842.67 1390.13 1832.13 1394.27 1829.73 1395.33C1827.47 1396.4 1825.2 1397.33 1824.67 1397.33C1823.47 1397.33 1794.67 1408.53 1788.4 1411.33C1786.13 1412.4 1783.6 1413.33 1782.8 1413.33C1782 1413.33 1778.8 1414.53 1775.6 1416C1772.53 1417.33 1762.8 1421.33 1754 1424.67C1745.2 1428 1736.13 1431.6 1733.73 1432.67C1731.47 1433.73 1728.67 1434.67 1727.73 1434.67C1725.2 1434.67 1721.33 1438.93 1721.33 1441.73C1721.33 1445.47 1725.47 1446.67 1730.67 1444.4C1733.2 1443.33 1746.4 1438.27 1760 1433.07C1773.6 1427.87 1786.53 1422.93 1788.67 1421.87C1790.93 1420.93 1797.47 1418.27 1803.33 1416C1809.2 1413.73 1815.2 1411.33 1816.67 1410.67C1818.13 1410 1824.13 1407.6 1830 1405.33C1835.87 1403.07 1841.87 1400.67 1843.33 1400C1844.8 1399.33 1849.07 1397.6 1852.8 1396.13C1856.53 1394.67 1862.53 1392.13 1866.13 1390.53C1869.73 1388.93 1876 1386.13 1880 1384.4C1896.27 1377.33 1901.33 1373.2 1897.33 1370.67C1894.67 1368.93 1894.67 1368.93 1888.67 1372Z",fill:"currentColor"}),f.jsx("path",{d:"M1352.67 1598.53C1351.73 1600.27 1355.47 1603.87 1359.07 1604.67C1362.67 1605.47 1364.27 1605.87 1410.67 1617.47C1467.2 1631.6 1467.47 1631.6 1483.33 1634.67C1491.47 1636.27 1503.47 1638.67 1510 1640C1551.6 1648.4 1607.2 1655.2 1641.6 1656.27C1656.4 1656.67 1659.47 1655.73 1657.87 1651.6C1656.93 1648.93 1655.73 1648.67 1638.67 1646.67C1631.73 1645.87 1622.67 1644.67 1618.67 1644C1614.67 1643.2 1603.6 1641.47 1594 1640C1573.2 1636.67 1548.53 1632.53 1534 1629.73C1528.13 1628.67 1519.73 1627.33 1515.33 1626.67C1510.93 1626.13 1502.27 1624.67 1496 1623.47C1489.73 1622.4 1477.73 1620.13 1469.33 1618.67C1460.93 1617.2 1442.67 1613.73 1428.67 1611.2C1414.8 1608.67 1398.27 1605.6 1392 1604.53C1385.73 1603.47 1379.73 1602.27 1378.67 1601.87C1376.8 1601.2 1356.27 1597.33 1354.4 1597.33C1353.87 1597.33 1353.2 1597.87 1352.67 1598.53Z",fill:"currentColor"}),f.jsx("path",{d:"M1318.93 1732.4C1316.4 1735.33 1319.87 1738.13 1328.67 1740.4C1333.07 1741.47 1342.93 1744.27 1350.67 1746.53C1368.67 1751.6 1397.2 1759.07 1413.33 1762.67C1420.27 1764.27 1430.8 1766.67 1436.67 1768C1450.13 1771.07 1467.33 1774.27 1479.33 1775.87C1484.53 1776.53 1495.87 1778.13 1504.67 1779.33C1513.47 1780.53 1529.73 1781.6 1540.67 1781.73C1560.53 1782 1560.67 1782 1561.07 1778.93C1561.47 1776.67 1560.93 1776 1558.4 1776C1551.07 1776 1500.53 1767.2 1440 1755.2C1426.4 1752.53 1412 1749.87 1408 1749.33C1399.47 1748.13 1381.73 1744.53 1355.33 1738.67C1345.07 1736.27 1334 1733.87 1330.67 1733.2C1327.33 1732.53 1323.73 1731.6 1322.53 1731.33C1321.33 1730.93 1319.73 1731.47 1318.93 1732.4Z",fill:"currentColor"}),f.jsx("path",{d:"M1220.67 1816C1213.33 1821.07 1205.6 1826.27 1203.33 1827.47C1201.2 1828.8 1196.27 1832 1192.53 1834.93C1188.8 1837.73 1185.33 1840 1184.8 1840C1184.27 1840 1180 1842.93 1175.2 1846.67C1170.4 1850.27 1165.2 1854 1163.73 1854.8C1162.13 1855.73 1160.13 1856.93 1159.47 1857.6C1158.67 1858.27 1149.33 1865.07 1138.8 1872.67C1128.13 1880.27 1118.93 1887.6 1118.27 1888.8C1116.4 1892.13 1120.93 1895.33 1124.13 1892.93C1138.93 1882.53 1151.47 1873.47 1158 1868.53C1177.87 1853.6 1194.13 1841.73 1196 1840.93C1197.07 1840.4 1201.6 1837.33 1206 1834C1213.33 1828.4 1221.47 1822.8 1226.8 1819.33C1236.53 1813.2 1240.13 1810.27 1239.6 1808.93C1238.4 1805.33 1233.2 1807.2 1220.67 1816Z",fill:"currentColor"}),f.jsx("path",{d:"M1285.87 1861.07C1275.47 1871.07 1272.13 1874.13 1247.87 1894.8C1210.13 1927.07 1204 1932.53 1204 1933.47C1204 1936.13 1205.87 1938.67 1207.87 1938.67C1212.67 1938.67 1301.33 1857.6 1301.33 1853.2C1301.33 1848.4 1296.67 1850.67 1285.87 1861.07Z",fill:"currentColor"}),f.jsx("path",{d:"M1407.6 1880.93C1406.8 1882.93 1405.2 1885.6 1404.27 1886.67C1403.33 1887.73 1399.47 1892.53 1395.6 1897.33C1391.87 1902.13 1377.07 1917.73 1362.93 1932C1348.67 1946.27 1336.67 1958.93 1336.13 1960C1334.53 1962.93 1335.87 1965.33 1339.07 1965.33C1344.27 1965.33 1401.87 1902.67 1411.87 1886.27C1414.4 1882.27 1414.67 1880.93 1413.33 1879.33C1410.93 1876.4 1409.47 1876.93 1407.6 1880.93Z",fill:"currentColor"}),f.jsx("path",{d:"M409.067 754C408.667 754.4 404.533 755.333 399.867 756.133C387.2 758.133 372.533 762.933 355.333 770.666C308.4 791.866 289.333 798.933 272.666 801.333C251.866 804.266 240.533 802.266 220.8 792.4C213.733 788.8 206.667 786.266 203.867 786.133C198.133 786 193.066 789.066 122.666 834.666C113.066 840.933 104.133 846.533 102.8 847.333C88.3998 855.733 84.2665 859.733 86.2665 863.2C89.3332 868.266 116.666 888.8 129.2 895.466C132.533 897.2 136.266 899.2 137.333 900C138.4 900.666 142.133 902.4 145.733 904C149.2 905.466 154.666 907.866 157.866 909.333C161.2 910.8 164.533 912 165.333 912C166.266 912 168.8 912.8 171.067 913.866C179.2 917.6 203.467 922.4 222 924.133C240.667 925.733 270.666 924.4 282.666 921.466C285.2 920.933 290.666 919.6 294.666 918.8C303.333 916.8 330.533 908.133 347.333 902C371.467 893.066 384.4 890.4 402.667 890.266C414.533 890.133 421.467 890.8 427.067 892.4C446.267 898 448.8 898.533 452.667 897.6C456.8 896.4 462.267 889.733 463.2 884.8C464 880.666 469.2 857.066 472.133 844C474.4 833.733 478 813.466 479.467 803.333C479.867 801.066 481.067 793.066 482.267 785.2C483.467 777.466 484 769.6 483.6 767.733C481.6 759.733 456.8 753.333 427.867 753.333C417.867 753.333 409.467 753.6 409.067 754ZM462 766C467.2 767.333 472.133 769.066 473.067 769.866C474.4 771.2 473.867 777.066 470.667 799.333C468.4 814.8 465.067 834.8 463.2 844C461.333 853.2 458.933 865.2 458 870.8C457.067 876.4 455.333 882.933 454 885.2C451.467 890.133 453.2 890.266 432 884.133C420.267 880.666 415.733 880 404 880C383.733 880.133 370.4 883.333 328 898.666C276.933 917.066 232 919.866 184.667 907.333C168.4 903.066 163.2 901.066 144.666 892.133C126.666 883.466 99.9998 865.2 99.9998 861.733C99.9998 861.066 106.8 856.533 115.066 851.466C123.2 846.266 143.866 833.066 160.666 821.866C192.4 801.066 200.933 796 204.8 796C206 796 210.933 798.133 215.867 800.666C233.733 809.866 239.866 811.333 261.333 811.2C277.333 811.066 282.266 810.533 290 808.133C303.066 804 310.533 801.333 316.666 798.666C319.6 797.333 331.067 792.4 342 787.6C371.6 774.666 381.6 771.066 396.533 767.333C414.133 763.066 416.4 762.933 436 763.333C446.533 763.466 456.133 764.533 462 766Z",fill:"currentColor"}),f.jsx("path",{d:"M2044.27 784.8C2040.4 787.2 2037.07 789.333 2036.67 789.333C2036.4 789.333 2032.67 791.733 2028.4 794.666C2024.13 797.6 2019.73 800.666 2018.67 801.333C2017.6 802.133 2012 806 2006.27 810C1964.8 839.333 1945.07 846.666 1897.47 850.533C1885.6 851.466 1881.73 852.266 1879.87 854.266C1878.67 855.6 1875.73 862.4 1873.33 869.333C1871.07 876.266 1868.67 882.533 1868.13 883.333C1867.47 884 1866.53 886.133 1866 888C1864 895.2 1858.4 908.4 1854.67 914.8C1852.4 918.4 1850.67 922 1850.67 922.533C1850.67 924 1839.6 940.266 1833.73 947.6C1827.87 954.8 1828.13 958.8 1834.67 960.266C1850.93 964.133 1865.07 965.6 1891.33 966.266C1923.87 967.066 1957.6 965.2 1968.4 961.866C1979.2 958.666 1993.07 951.866 2000.8 946C2007.2 941.2 2021.33 924.4 2021.33 921.733C2021.33 921.066 2022.4 919.066 2023.73 917.333C2024.93 915.466 2026.67 912.133 2027.47 910C2028.27 907.733 2030.8 901.466 2032.93 896C2039.2 880.133 2045.33 858.533 2048.67 840C2049.2 837.466 2050.4 831.733 2051.33 827.333C2054 815.333 2057.87 784.533 2056.93 782.133C2055.6 778.933 2052.13 779.6 2044.27 784.8ZM2046 801.6C2043.07 824.666 2033.73 865.333 2027.2 883.333C2025.33 888.4 2022.93 895.333 2022 898.666C2020.93 902 2019.2 905.866 2018.13 907.333C2016.93 908.8 2016 910.8 2016 911.733C2016 912.666 2013.2 917.733 2009.73 922.933C1995.07 945.2 1972 954.933 1928.67 957.333C1901.33 958.8 1845.33 955.866 1842.8 952.8C1841.87 951.733 1843.73 947.733 1848.53 940.666C1856.27 929.066 1869.33 904.8 1869.33 902C1869.33 901.066 1870.27 898.533 1871.33 896.533C1872.4 894.4 1873.33 891.6 1873.33 890.4C1873.33 889.2 1873.87 887.866 1874.53 887.466C1875.07 887.066 1877.6 880.666 1880 873.333C1884.93 858.133 1883.33 859.2 1902 858.133C1924.8 856.666 1947.33 851.866 1962.67 845.066C1968.8 842.4 1969.6 842 1979.87 836.266C1985.73 833.066 2011.2 816.533 2014 814.266C2019.87 809.333 2042.53 794.8 2044.4 794.8C2046.67 794.666 2046.8 795.466 2046 801.6Z",fill:"currentColor"}),f.jsx("path",{d:"M359.334 1671.6C356.934 1672.13 329.734 1684.27 306 1695.33C285.734 1704.8 275.067 1709.73 268 1712.93C260.667 1716.27 254.8 1718.93 235.334 1728.13C229.467 1730.8 220.8 1734.93 216 1737.07C179.067 1754 142.8 1771.2 120.267 1782.4C102.934 1791.07 99.7335 1794.4 103.2 1801.07C105.6 1805.73 142.8 1840.67 193.067 1885.6C197.2 1889.33 200 1892.8 200 1894.53C200 1896.13 199.467 1897.33 198.667 1897.33C198 1897.33 194.267 1899.87 190.4 1902.93C186.4 1906.13 180.267 1910.8 176.667 1913.2C170.534 1917.47 163.6 1923.33 138.934 1944.93C134.4 1948.93 130.667 1953.33 130.667 1954.53C130.667 1957.6 134.8 1961.33 144.4 1966.8C148.667 1969.33 153.2 1972 154.4 1972.67C169.6 1981.87 191.067 1994.4 195.334 1996.8C198.267 1998.27 212.4 2006.27 226.667 2014.27C240.934 2022.4 256.934 2031.2 262 2034C267.2 2036.8 273.2 2040.13 275.334 2041.33C277.6 2042.67 282.934 2045.6 287.334 2048C297.067 2053.2 310.934 2060.67 323.334 2067.33C340.534 2076.67 350 2081.33 352.134 2081.33C353.467 2081.33 360.267 2074.13 367.467 2065.07C374.8 2056.13 382.8 2046.4 385.467 2043.47C388 2040.4 393.867 2033.2 398.534 2027.33C403.067 2021.47 411.867 2010.4 418 2002.67C424.267 1994.93 431.867 1985.33 434.934 1981.33C454.134 1956.53 459.867 1949.33 464.8 1943.33C467.734 1939.6 474.4 1931.2 479.334 1924.67C484.4 1918 488.934 1912.4 489.334 1912C489.734 1911.6 493.067 1907.47 496.667 1902.67C500.267 1897.87 510.534 1884.27 519.6 1872.4C528.667 1860.53 536 1849.87 536 1848.8C536 1846.27 527.2 1841.07 515.067 1836.53C504 1832.53 503.2 1830.93 509.2 1824.53C512.534 1820.93 528 1799.07 528 1798C528 1797.73 530.534 1793.2 533.734 1787.73C542.134 1773.6 546 1766.67 555.734 1748C560.534 1738.8 565.734 1729.2 567.334 1726.67C568.934 1724.13 570.534 1720.93 571.067 1719.6C572.134 1716.67 567.734 1712 563.734 1712C560.134 1712 541.2 1708.4 474.667 1695.2C424.934 1685.33 414.4 1683.2 382.667 1675.73C373.467 1673.6 365.067 1671.73 364 1671.47C362.934 1671.2 360.8 1671.33 359.334 1671.6ZM376.667 1683.33C381.067 1684.27 392.534 1686.67 402 1688.67C417.867 1691.87 429.6 1694.27 453.334 1699.33C463.334 1701.47 478.934 1704.53 493.334 1707.33C498.8 1708.4 510.8 1710.8 520 1712.8C529.2 1714.67 540.667 1716.93 545.734 1717.87C558.534 1720.27 558.934 1720.8 552.934 1732.4C550.267 1737.6 547.067 1743.47 546 1745.33C534.4 1765.2 528 1776.4 528 1776.8C528 1777.2 526.8 1779.07 525.467 1781.07C524.134 1783.07 516.534 1794.4 508.8 1806.27C500.267 1819.33 493.867 1828 492.534 1828C491.334 1828 480.667 1824.8 468.8 1820.8C442.134 1811.87 418.534 1804.27 410.667 1802C407.334 1801.07 398.534 1798.4 390.934 1796.13C372.534 1790.53 365.867 1790.67 353.2 1796.8C347.734 1799.47 342.134 1802.13 340.667 1802.8C339.2 1803.47 335.734 1805.33 333.067 1806.93C330.4 1808.67 322.534 1813.2 315.734 1817.2C308.934 1821.2 301.867 1825.47 300 1826.8C286 1836.27 247.734 1861.33 245.334 1862.67C242.134 1864.4 240.934 1863.73 216 1846.13C189.867 1827.6 172.8 1810.67 163.334 1794C158.134 1784.93 157.467 1784 155.2 1784.93C152.4 1786 152.934 1790.13 156.934 1797.07C169.2 1818.4 197.867 1845.47 226.534 1862.93C231.067 1865.6 234.667 1868.53 234.667 1869.33C234.667 1870.13 231.867 1872.67 228.4 1875.07C225.067 1877.33 219.6 1881.33 216.4 1883.6C213.2 1886 210 1888 209.2 1888C208.4 1888 201.734 1882.4 194.267 1875.6C179.067 1862 168.667 1852.67 143.867 1830.93C126.8 1816.13 115.334 1805.2 112.134 1801.07C108.134 1795.73 111.6 1793.73 162 1770.67C167.2 1768.4 174.4 1765.07 178 1763.33C192 1756.8 204.934 1750.93 211.334 1748.13C215.067 1746.53 219.067 1744.67 220.267 1744C221.6 1743.33 228.534 1740 235.734 1736.8C249.067 1730.8 258.534 1726.4 278.4 1717.2C284.4 1714.27 289.6 1712 290 1712C290.4 1712 306.667 1704.67 319.334 1698.67C322.267 1697.2 330.4 1693.47 337.334 1690.4C344.267 1687.2 352.134 1683.6 354.667 1682.4C359.6 1680 362.534 1680.13 376.667 1683.33ZM383.734 1802.67C389.334 1804.27 396.4 1806.27 399.334 1807.2C402.267 1808.13 408.267 1810 412.667 1811.33C417.067 1812.53 424 1814.67 428 1816C432 1817.33 440.8 1820.13 447.334 1822C454 1824 461.2 1826.4 463.334 1827.33C465.6 1828.27 469.467 1829.47 472 1830C474.534 1830.53 477.334 1831.47 478 1832C478.8 1832.67 482 1833.73 485.334 1834.53C488.667 1835.47 493.467 1836.93 496 1837.87C498.534 1838.93 505.867 1841.73 512.4 1844.13C520.267 1847.07 524 1849.2 524 1850.53C524 1852.27 487.467 1902.13 473.067 1920.13C471.067 1922.67 466.8 1927.87 463.734 1931.87C427.734 1977.33 421.6 1984.93 407.334 2002.53C400 2011.6 392.267 2021.2 390 2024C387.867 2026.8 381.2 2034.8 375.334 2042C369.467 2049.2 361.867 2058.53 358.4 2062.67C354.934 2066.93 351.467 2070.8 350.8 2071.33C350 2071.73 342.4 2068.4 333.734 2063.87C325.067 2059.33 316.267 2054.67 314 2053.6C311.867 2052.53 301.067 2046.4 290 2040.27C279.067 2034 267.867 2027.73 265.334 2026.4C260.667 2023.87 254.8 2020.53 244.667 2014.67C241.734 2012.93 237.867 2010.67 236 2009.73C234.134 2008.67 230.934 2006.8 228.667 2005.47C226.534 2004.13 218.667 1999.6 211.334 1995.33C204 1991.2 197.067 1986.8 195.867 1985.87C194.8 1984.8 193.334 1984 192.8 1984C192.267 1984 185.867 1980.4 178.534 1976C171.2 1971.6 164.934 1968 164.534 1968C164.134 1968 161.867 1966.53 159.6 1964.8C157.2 1963.07 152.8 1960.4 149.6 1958.8C146.534 1957.2 144 1955.2 144 1954.27C144 1952.4 151.734 1945.33 172.4 1928.8C188.934 1915.6 230.934 1883.87 242.134 1876.27C246.667 1873.2 251.067 1869.73 252 1868.67C252.934 1867.6 254.134 1866.67 254.667 1866.67C255.2 1866.67 264.934 1860.53 276.134 1852.93C318.4 1824.53 361.334 1800.13 369.067 1800C371.467 1800 378 1801.2 383.734 1802.67Z",fill:"currentColor"}),f.jsx("path",{d:"M271.2 1740.13C269.6 1742.8 293.066 1764.53 307.333 1773.33C316.266 1778.93 322.666 1782.27 337.6 1789.2C344.133 1792.27 349.333 1792 349.333 1788.67C349.333 1786.4 343.066 1781.87 338.266 1780.67C334.8 1779.73 327.466 1776.13 314 1768.67C305.466 1764 292 1753.73 283.2 1745.2C276.4 1738.8 273.066 1737.33 271.2 1740.13Z",fill:"currentColor"}),f.jsx("path",{d:"M193.867 1767.33C191.6 1773.07 228.667 1803.47 251.867 1814.8C259.6 1818.53 267.867 1822.53 270.134 1823.73C275.067 1826.13 278.667 1825.2 278.667 1821.47C278.667 1819.47 274.667 1816.93 261.734 1810.53C236 1798 227.467 1792.4 210.267 1776.93C206 1773.2 200.8 1768.93 198.667 1767.6C194.934 1765.33 194.667 1765.2 193.867 1767.33Z",fill:"currentColor"}),f.jsx("path",{d:"M363.066 1876.93C359.866 1878.13 361.333 1881.2 367.066 1884.93C370.133 1887.07 373.6 1889.2 374.666 1889.73C375.733 1890.4 379.066 1892.27 382 1893.87C394.266 1901.2 425.733 1916 428.667 1916C429.6 1916 431.066 1915.07 432 1914C433.333 1912.4 433.333 1911.6 432 1910C430.266 1908 423.067 1904 421.067 1904C417.6 1904 376.933 1883.73 369.466 1878.27C366.133 1875.87 365.733 1875.73 363.066 1876.93Z",fill:"currentColor"}),f.jsx("path",{d:"M276 1904.93C276.133 1907.87 297.867 1926.53 313.6 1937.2C326.533 1946 345.333 1956.8 355.333 1961.2C359.067 1962.93 363.867 1965.07 366 1966C372.133 1968.8 390.667 1974.67 393.333 1974.67C394.667 1974.67 396.4 1973.73 397.333 1972.67C399.6 1970 397.2 1967.2 391.867 1966C389.733 1965.47 387.733 1964.53 387.333 1963.87C386.8 1963.2 385.6 1962.67 384.533 1962.67C381.733 1962.67 373.333 1959.07 350.667 1947.73C328.4 1936.8 306.4 1922.93 291.067 1910.53C281.467 1902.53 276 1900.53 276 1904.93Z",fill:"currentColor"}),f.jsx("path",{d:"M206.666 1937.07C206.666 1939.47 208.799 1941.33 225.999 1953.33C231.199 1956.93 235.999 1960.4 236.666 1960.93C237.466 1961.6 239.466 1962.8 241.333 1963.6C243.199 1964.53 248.933 1968 253.999 1971.2C262.266 1976.4 292.533 1992 305.333 1997.73C331.199 2009.2 333.599 2009.73 334.399 2004.27C334.799 2002.13 333.866 2000.93 331.066 1999.87C329.066 1999.2 325.599 1997.73 323.333 1996.67C321.199 1995.73 315.466 1993.2 310.666 1991.2C286.399 1980.67 254.799 1963.87 236.133 1951.33C228.533 1946.13 221.199 1941.33 219.866 1940.53C218.533 1939.73 216.266 1938.13 214.933 1936.93C211.599 1933.87 206.666 1934 206.666 1937.07Z",fill:"currentColor"})]})}const Bie=E.styled("div")(({theme:e})=>({padding:e.spacing(2),display:"flex",justifyContent:"center",gap:e.spacing(2)})),Tl="ApplicaEmpty",si={message:`${Tl}-message`,icon:`${Tl}-icon`,toolbar:`${Tl}-toolbar`},Nie=E.styled("span",{name:Tl,slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({flex:1,height:"calc(100vh - 200px)",[`& .${si.message}`]:{textAlign:"center",opacity:e.palette.mode==="light"?1:.8,margin:"0 1em",color:e.palette.mode==="light"?"inherit":e.palette.text.primary},[`& .${si.icon}`]:{fontSize:"9em",marginTop:"16px",marginBottom:"16px"},[`& .${si.toolbar}`]:{textAlign:"center"}}));function $ie({icon:e,className:t}){return e!==void 0?e:t!=null&&t.includes("RaList-noResults")?f.jsx(Lie,{className:si.icon}):f.jsx(Fie,{className:si.icon})}function f1({actions:e,className:t,hasCreate:n,icon:r,title:o,subtitle:i,sx:s,...l}){const{hasCreate:d}=te.useResourceDefinition(l),u=n!==void 0?n:d,p=te.useResourceContext(l),g=te.useTranslate(),h=te.useGetResourceLabel(),m=p?g(`resources.${p}.name`,{smart_count:0,_:h(p,0)}):g("ra.empty.no_resource"),v=g("ra.page.empty",{name:m}),b=g("ra.page.invite");return f.jsxs(Nie,{className:$e(`${Tl}-root`,t),sx:s,children:[f.jsxs(E.Box,{className:si.message,children:[$ie({icon:r,className:t}),f.jsx(E.Typography,{variant:"h4",paragraph:!0,children:o||g(`resources.${p}.empty`,{_:v})}),i||(u?f.jsx(E.Typography,{variant:"body1",children:g(`resources.${p}.invite`,{_:b})}):null)]}),f.jsx(Bie,{className:si.toolbar,children:e||(u?f.jsx(YC,{variant:"contained",size:"medium",disableFloatingButton:!0}):null)})]})}function qm(e){const{children:t,hasExpand:n,hasBulkActions:r,isRowSelectable:o,onSelect:i,selectedIds:s=[],data:l=[],multiSort:d=[],setMultiSort:u,resource:p}=e,{setSort:g}=te.useListContext(),h=te.useTranslateLabel(),m=P.useCallback((w,T=!1)=>{if(!u){const M=d.find(N=>N.field===w),F=(M==null?void 0:M.order)==="ASC"?"DESC":"ASC";g({field:w,order:F});return}const O=d.findIndex(M=>M.field===w);if(!T){if(O>=0){const M=d[O].order;u(M==="ASC"?[{field:w,order:"DESC"}]:[])}else u([{field:w,order:"ASC"}]);return}const j=[...d];O>=0?j[O].order==="ASC"?j[O]={field:w,order:"DESC"}:j.splice(O,1):j.push({field:w,order:"ASC"}),u(j)},[d,u,g]),v=P.useCallback(w=>{if(i)if(w.target.checked){const T=l.filter(O=>o?o(O):!0).map(O=>O.id);i(T)}else i([])},[l,o,i]),b=P.useCallback(w=>{const T=d.findIndex(O=>O.field===w);return T>=0?{order:d[T].order,index:T}:null},[d]),x=P.useMemo(()=>P.Children.toArray(t),[t]),S=P.useMemo(()=>l.filter(w=>o?o(w):!0).length,[l,o]),I=P.useCallback(w=>T=>{m(w,T.ctrlKey||T.metaKey)},[m]);return f.jsx(E.TableHead,{children:f.jsxs(E.TableRow,{children:[!!n&&f.jsx(E.TableCell,{}),!!r&&f.jsx(E.TableCell,{padding:"checkbox",children:f.jsx(E.Checkbox,{color:"primary",checked:s.length>0&&s.length===S,onChange:v})}),x.length>0?x.map((w,T)=>{if(!w||typeof w!="object"||!("props"in w))return f.jsx(E.TableCell,{},T);const O=w.props.source??(typeof w.props.label=="string"?w.props.label:void 0),j=w.props.sortable!==!1&&!!O,M=j?b(O):null,N=h({...w.props,source:w.props.source??O,resource:p})??w.props.label??null;return f.jsx(E.TableCell,{align:w.props.textAlign||"left",sx:{cursor:j?"pointer":"default"},children:j?f.jsx(E.TableSortLabel,{active:!!M,direction:(M==null?void 0:M.order.toLowerCase())||"asc",onClick:I(O),children:f.jsx(E.Typography,{children:N})}):N},w.props.source??T)}):f.jsx(E.TableCell,{})]})})}const Ym=f.jsx(z.BulkDeleteButton,{}),mx=B.forwardRef((e,t)=>{const{optimized:n=!1,body:r=n?z.PureDatagridBody:z.DatagridBody,header:o=qm,children:i,className:s,empty:l,expand:d,bulkActionsToolbar:u=!1,bulkActionButtons:p=Ym,hover:g,isRowSelectable:h,isRowExpandable:m,resource:v,rowClick:b,rowSx:x,rowStyle:S,size:I="small",sx:w,expandSingle:T=!1,...O}=e,j=te.useTranslate(),{sort:M,data:F,isLoading:N,onSelect:k,onToggleItem:_,selectedIds:H,setSort:U,total:G}=te.useListContext(e),[Y,V]=P.useState([]),Z=P.useRef(""),W=P.useMemo(()=>Y.map(ce=>`${ce.field}:${ce.order}`).join("|"),[Y]);P.useEffect(()=>{Z.current!==W&&(Y.length>0&&U({field:Y.map(fe=>fe.field).join(","),order:Y.map(fe=>fe.order).join(",")}),Z.current=W)},[W,Y,U]);const se=P.useCallback(ce=>{V(ce)},[]),K=!!p,$=P.useMemo(()=>({isRowExpandable:m,expandSingle:T}),[m,T]),ne=P.useRef(null);P.useEffect(()=>{(!H||H.length===0)&&(ne.current=null)},[JSON.stringify(H)]);const oe=P.useCallback((ce,fe)=>{const be=F.map(ye=>ye.id),ue=be.indexOf(ne.current);if(ne.current=fe.target.checked?ce:null,fe.shiftKey&&ue!==-1){const ye=be.indexOf(ce),Ce=be.slice(Math.min(ue,ye),Math.max(ue,ye)+1),Ee=fe.target.checked?Yte(H,Ce):cne(H,Ce);k(h?Ee.filter(me=>h(F.find(je=>je.id===me))):Ee)}else _(ce)},[F,h,k,_,H]),J=f.jsx(f1,{hasCreate:!1,sx:{"& .ApplicaEmpty-icon":{fontSize:"7em"}},title:j("ra.navigation.no_results")});return N===!0?f.jsx(z.DatagridLoading,{className:s,expand:d,hasBulkActions:K,nbChildren:B.Children.count(i),size:I}):F==null||F.length===0||G===0?l||J:f.jsx(Die,{value:$,children:f.jsxs(z.DatagridRoot,{sx:w,className:$e(z.DatagridClasses.root,s),children:[u!=null&&P.isValidElement(u)?P.cloneElement(u,{selectedIds:H,total:G}):p!==!1?f.jsx(hx,{children:P.isValidElement(p)?p:Ym}):null,f.jsx("div",{className:z.DatagridClasses.tableWrapper,children:f.jsxs(E.Table,{ref:t,className:z.DatagridClasses.table,size:I,...zie(O),children:[Km(f.jsx(qm,{multiSort:Y,setMultiSort:se}),{children:i,sort:M,data:F,hasExpand:!!d,hasBulkActions:K,isRowSelectable:h,onSelect:k,resource:v,selectedIds:H,setSort:U},i),Km(r,{expand:d,rowClick:b,data:F,hasBulkActions:K,hover:g,onToggleItem:oe,resource:v,rowSx:x,rowStyle:S,selectedIds:H,isRowSelectable:h},i)]})})]})})});function Km(e,t,n){return P.isValidElement(e)?P.cloneElement(e,t,n):P.createElement(e,t,n)}const Vie=["isRequired","setFilter","setPagination","limitChoicesToValue","translateChoice","field","fieldState","formState"];function zie(e){return Object.keys(te.sanitizeListRestProps(e)).filter(t=>!Vie.includes(t)).reduce((t,n)=>({...t,[n]:e[n]}),{})}mx.displayName="Datagrid";const Wie=ge(mx,{slot:"root"})(({theme:e})=>({"& .RaBulkActionsToolbar-toolbar":{height:48},"& .RaBulkActionsToolbar-collapsed":{height:0,paddingTop:0,paddingBottom:0},"& .RaBulkActionsToolbar-topToolbar":{backgroundColor:"transparent"},"& .icon span":{top:-1,left:-1},"& th":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",backgroundColor:"inherit !important",textTransform:"none",fontSize:e.typography.subtitle1.fontSize}}));function vx(e){return f.jsx(Wie,{...e})}const wp=P.createContext({hasFilterSidebar:!1});function yx(){var e;return((e=P.useContext(wp))==null?void 0:e.hasFilterSidebar)??!1}function Sp({source:e,value:t}){const n=P.useContext(z.FilterContext),r=z.useResourceContext(),o=P.useMemo(()=>n.find(d=>{var u,p;return P.isValidElement(d)&&(((u=d.props)==null?void 0:u.source)===e||(e==null?void 0:e.includes((p=d.props)==null?void 0:p.source)))}),[n,e]),i=P.useMemo(()=>P.isValidElement(o)?o.props:{},[o]);if(!(i!=null&&i.chip))throw new Error(`No chip component found for filter source "${e}". Ensure your filter components define a 'chip' prop.`);const s={...i,specificSource:e,record:{[e]:t},value:t,resource:r};return P.isValidElement(i.chip)?P.cloneElement(i.chip,s):Qe.isFunction(i.chip)?P.createElement(i.chip,s):null}function Uie(e){const{value:t,source:n,lastItem:r}=e,o=Sp({source:n,value:t});return f.jsxs(E.Stack,{children:[f.jsx(E.ListItem,{alignItems:"flex-start",sx:{pl:0},children:f.jsx(E.ListItemText,{primary:o,sx:{my:0}})}),r===n?null:f.jsx(E.Divider,{})]})}function Hie(){const{filterValues:e}=te.useListContext(),t=te.useTranslate();return f.jsxs(E.Stack,{mt:4,width:"100%",children:[f.jsx(E.Typography,{variant:"h6",fontWeight:"bold",color:"secondary",children:t("ra.title.selected_filters")}),f.jsx(E.List,{sx:{bgcolor:"background.paper",pt:0,overflowY:"auto",maxHeight:400},children:e?Object.entries(e).map(([n,r])=>{const o=Object.entries(e).pop(),i=o?o[0]:"";return f.jsx(Uie,{lastItem:i,value:r,source:n},n)}):null})]})}function Gie(e){const{onClose:t,addQuery:n}=e,r=te.useTranslate(),{handleSubmit:o}=fn.useFormContext(),i=P.useCallback(s=>{n(s.queryName)},[n]);return f.jsxs(E.Toolbar,{sx:{display:"flex",justifyContent:"flex-end",gap:1},children:[f.jsx(E.Button,{onClick:t,children:r("ra.action.cancel")}),f.jsx(E.Button,{variant:"contained",onClick:o(i),children:r("ra.action.save")})]})}function bx(e){const{open:t,onClose:n}=e,{filterValues:r,sort:o,perPage:i,displayedFilters:s,resource:l}=te.useListContext(),[d,u]=dC(l),p=te.useTranslate(),g=P.useCallback(m=>{const v={label:m.trim(),value:{filter:r,sort:o,perPage:i,displayedFilters:s}},b=fC(d);u(b.concat(v)),n()},[r,o,i,s,d,u,n]),h=P.useCallback(()=>m=>{if(d.some(v=>v.label===(m==null?void 0:m.trim())))return"ra.validation.already_exists"},[d]);return f.jsx(E.Dialog,{open:t,onClose:n,maxWidth:"xs",fullWidth:!0,children:f.jsxs(yp,{toolbar:f.jsx(Gie,{addQuery:g,onClose:n}),title:p("ra.title.save_favorite_filter"),modal:!0,children:[f.jsx(Sr,{fullWidth:!0,source:"queryName",label:p("ra.input.query_name"),placeholder:p("ra.input.query_name_placeholder"),validate:[te.required(),h()]}),f.jsx(Hie,{})]})})}function Cx(){const[e,t]=P.useState(!1),n=te.useTranslate(),r=P.useCallback(()=>{t(!1)},[]),o=P.useCallback(()=>{t(!0)},[]);return f.jsxs(f.Fragment,{children:[f.jsx(E.Button,{sx:{height:"36px"},variant:"contained",onClick:o,children:n("ra.action.save_filter")}),f.jsx(bx,{open:e,onClose:r})]})}function qie(e){const{onDelete:t,value:n,source:r}=e,o=Sp({source:r,value:n});return o&&f.jsx(E.Chip,{label:o,variant:"combined",color:"primary",sx:{height:"36px","& .MuiChip-deleteIcon":{fontSize:"1rem !important",mr:1}},deleteIcon:f.jsx(Vt.Close,{}),onDelete:t})}function Yie(){const{filterValues:e,setFilters:t}=te.useListContext(),n=E.useTheme(),r=E.useMediaQuery(n.breakpoints.down("sm")),o=te.useTranslate(),i=P.useCallback(()=>{t({})},[t]),s=P.useCallback(d=>{const u={...e};delete u[d],t(u)},[e,t]),l=P.useCallback(()=>f.jsxs(E.Stack,{flexDirection:"row",gap:2,children:[f.jsx(Cx,{}),f.jsx(E.Button,{variant:"outlined",onClick:i,children:o("ra.action.reset_filters")})]}),[i,o]);return f.jsxs(E.Stack,{gap:2,flexDirection:r?"column":"row",children:[f.jsxs(E.Stack,{flexDirection:"row",flexWrap:r?"nowrap":"wrap",gap:2,py:.5,overflow:"auto",width:r?window.innerWidth-58:"auto",children:[Object.entries(e).map(([d,u])=>f.jsx(qie,{source:d,value:u,onDelete:()=>s(d)},d)),r?null:f.jsx(l,{})]}),r?f.jsx(l,{}):null]})}function V0(){const{filterValues:e}=te.useListContext(),t=E.useTheme(),n=E.useMediaQuery(t.breakpoints.down("sm")),r=te.useTranslate();return e&&!Qe.isEmpty(e)?f.jsxs(E.Stack,{sx:{backgroundColor:t.palette.background.paper},flexDirection:n?"column":"row",alignItems:"baseline",gap:2,p:n?2:0,children:[f.jsx(E.Typography,{variant:"h6",color:"secondary",whiteSpace:"nowrap",children:r("ra.title.active_filters")}),f.jsx(Yie,{})]}):null}function xx({open:e,onClose:t,filterToRemove:n}){var v;const r=te.useTranslate(),{resource:o,filterValues:i,sort:s,perPage:l,displayedFilters:d}=te.useListContext(),u=((v=n==null?void 0:n.value)==null?void 0:v.filter)||i,p=(n==null?void 0:n.label)??"",[g,h]=z.useSavedQueries(o);function m(){const b={filter:u,sort:s,perPage:l,displayedFilters:d},x=z.extractValidSavedQueries(g),S=x.findIndex(I=>Nl(I.value,b));h([...x.slice(0,S),...x.slice(S+1)]),t()}return f.jsxs(E.Dialog,{open:e,onClose:t,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[f.jsx(E.DialogTitle,{id:"alert-dialog-title",children:r("ra.saved_queries.remove_dialog_title",{label:p,_:"Remove saved query?"})}),f.jsx(E.DialogContent,{children:f.jsx(E.DialogContentText,{children:r("ra.saved_queries.remove_message",{_:"Are you sure you want to remove that item from your list of saved queries?"})})}),f.jsxs(E.DialogActions,{children:[f.jsx(E.Button,{onClick:t,children:r("ra.action.cancel")}),f.jsx(E.Button,{onClick:m,color:"primary",autoFocus:!0,children:r("ra.action.confirm")})]})]})}function Kie(e){const{query:t}=e,[n,r]=P.useState(!1),o=P.useCallback(()=>{r(s=>!s)},[]),i=te.useTranslate();return f.jsxs(f.Fragment,{children:[f.jsx(E.Button,{size:"small",color:"primary",onClick:o,children:i("ra.action.delete")}),f.jsx(xx,{open:n,onClose:o,filterToRemove:t})]})}function wx(e){const{closeSidebar:t}=e,{resource:n,setFilters:r,setSort:o,setPage:i,setPerPage:s}=te.useListContext(),[l,d]=P.useState(!1),u=wt(),[p]=dC(n),g=fC(p),h=te.useTranslate(),m=P.useCallback(()=>{d(b=>!b)},[]),v=P.useCallback(b=>{const{value:x}=b;r(x.filter),o({field:x.sort.field,order:x.sort.order}),i(1),s(x.perPage),t()},[r,o,i,s,t]);return p&&p.length>0?f.jsx(E.Box,{sx:{mt:"-1px",mb:2,"& .MuiAccordion-root":{borderColor:u.palette.divider,"& .Mui-expanded:last-of-type":{marginBottom:"inherit"},"& .MuiAccordionSummary-root":{bgcolor:"transparent",flexDirection:"row"},"& .MuiAccordionSummary-content":{justifyContent:"space-between",marginLeft:0},"& .MuiAccordionDetails-root":{borderColor:u.palette.divider},"& .MuiAccordionSummary-expandIconWrapper":{color:u.palette.text.primary,"&.Mui-expanded":{transform:"rotate(180deg)"}}}},children:f.jsxs(E.Accordion,{expanded:l,onChange:m,children:[f.jsx(E.AccordionSummary,{sx:{px:"20px"},expandIcon:f.jsx(Vb,{fontSize:"small"}),children:f.jsxs(E.Typography,{variant:"h5",fontWeight:"bold",children:[h("ra.action.saved_filters")," (",g.length,")"]})}),g==null?void 0:g.map((b,x)=>f.jsxs(E.AccordionDetails,{sx:{display:"flex",justifyContent:"space-between",px:"20px",alignItems:"center"},children:[f.jsx(E.Typography,{variant:"body1",children:b.label}),f.jsxs(E.Stack,{flexDirection:"row",alignItems:"center",children:[f.jsx(Kie,{query:b}),f.jsx(E.Button,{size:"small",color:"primary",onClick:()=>v({value:b.value}),children:h("ra.action.apply")})]})]},x))]})}):f.jsx(E.Box,{height:16})}function Zie(e){const{sx:t}=e;return f.jsx(E.Box,{sx:{...t,flex:"1 1 auto",backgroundColor:"background.paper",overflowY:"auto"},children:e.children})}const Xie=444;function Qie(e){const{sx:t,anchor:n="right",variant:r="temporary",open:o=!1,onClose:i,keepMounted:s=!1}=e,l=E.useTheme(),u=E.useMediaQuery(l.breakpoints.down("sm"))?"bottom":n,p=P.useCallback(()=>{i&&i()},[i]),g=P.useMemo(()=>({backgroundImage:"none",boxShadow:"-10px 4px 42px 0px rgba(0, 0, 0, 0.25)",width:{sm:"30%"},maxWidth:{sm:Xie},[l.breakpoints.down("sm")]:{width:"100% !important",maxWidth:"100% !important"}}),[l.breakpoints]);return f.jsx(E.Drawer,{...e,anchor:u,onClose:p,open:o,PaperProps:{sx:{...g,...t}},variant:r,keepMounted:s,children:e.children})}const Jie=P.memo(Qie);function ese(e){return f.jsxs(E.Box,{children:[f.jsx(E.Divider,{}),f.jsx(E.Box,{bgcolor:"background.paper",px:2,py:2.5,children:e.children})]})}function tse(e){const{sx:t}=e;return f.jsxs(E.Box,{children:[f.jsx(E.Stack,{alignItems:"center",bgcolor:"background.paper",direction:"row",px:2.5,py:2,spacing:2,minHeight:"64px",sx:t,children:e.children}),f.jsx(E.Divider,{sx:{opacity:.6}})]})}function nse(e){const{primary:t,secondary:n}=e;return f.jsxs(E.Box,{display:"inline-flex",flexGrow:1,flexShrink:1,flexDirection:"column",children:[t?f.jsx(E.Typography,{variant:"h5",children:t}):null,n?f.jsx(E.Typography,{variant:"h6",children:n}):null]})}function rse(e){return f.jsx(E.Box,{display:"inline-flex",flexGrow:0,flexShrink:0,children:e.children})}const xr=Jie;xr.Content=Zie;xr.Footer=ese;xr.Header=tse;xr.HeaderText=nse;xr.HeaderAction=rse;function ose(e){const{form:t,filters:n}=e,r=te.useResourceContext();return f.jsx(z.FilterContext.Provider,{value:Array.isArray(n)?n:[n],children:f.jsx(fn.FormProvider,{...t,children:f.jsx(E.Box,{px:"20px",children:n?(Array.isArray(n)?n:[n]).map((o,i)=>{const s={...o.props,display:"label"};return P.isValidElement(o)?f.jsx(E.Box,{mb:1,children:P.cloneElement(o,{...s,resource:r})},i):null}):null})})})}function ise(e){const{filters:t,keepMounted:n=!1}=e,[r,o]=P.useState(!1),{setSidebarOpen:i,sidebarOpen:s}=_3(),{filterValues:l,setFilters:d}=te.useListContext(),u=te.useTranslate(),p=P.useMemo(()=>t?(Array.isArray(t)?t:[t]).reduce((w,T)=>(w[T.props.source]=(l==null?void 0:l[T.props.source])??"",w),{}):{},[t,l]),g=fn.useForm({defaultValues:l,values:p}),{handleSubmit:h,getValues:m,reset:v}=g;P.useEffect(()=>{const w=z.getFilterFormValues(m(),l),T=m();Qe.isEqual(w,T)||v(w)},[JSON.stringify(l),l,m,v]);const b=P.useCallback(()=>{i&&i(!1)},[i]),x=P.useCallback(w=>{Object.keys(w).forEach(T=>{(Qe.isNull(w[T])||Qe.isUndefined(w[T])||w[T]==="")&&delete w[T]}),d(w),b()},[d,b]),S=P.useCallback(()=>{v({}),d({})},[v,d]),I=P.useCallback(()=>{o(w=>!w),S(),setTimeout(()=>o(!1),1e3)},[S]);return f.jsxs(xr,{sx:{height:"100%"},open:s,onClose:b,keepMounted:n,children:[f.jsxs(xr.Header,{children:[f.jsx(xr.HeaderText,{primary:u("ra.action.add_filter")}),f.jsx(xr.HeaderAction,{children:f.jsx(Ky,{variant:"text",loading:r,loadingPosition:"start",startIcon:f.jsx(He.ReloadOutlined,{}),onClick:I,children:u("ra.action.reset_filters")})})]}),f.jsxs(xr.Content,{children:[f.jsx(wx,{closeSidebar:b}),f.jsx(ose,{form:g,filters:t})]}),f.jsx(xr.Footer,{children:f.jsxs(E.Stack,{direction:"row",spacing:2,children:[f.jsx(E.Button,{fullWidth:!0,onClick:()=>{v({}),b()},children:u("ra.action.close")}),f.jsx(E.Button,{fullWidth:!0,variant:"contained",color:"primary",onClick:h(x),children:u("ra.action.apply_filters")})]})})]})}const qc=P.memo(ise);function sse(){const{setSidebarOpen:e}=_3(),t=P.useContext(z.FilterContext),n=yx(),r=z.useTranslate(),o=E.useTheme(),i=E.useMediaQuery(o.breakpoints.down("sm"));if(!n)throw new Error("The <FilterSidebarButton> component requires the <List aside={<FilterSidebar />}> prop to be set");if(t===void 0)throw new Error("The <FilterSidebarButton> component requires the <List filters> prop to be set");const s=P.useCallback(()=>{Qe.isFunction(e)&&e(!0)},[e]);return i?f.jsxs(E.Button,{className:"add-filter",onClick:s,children:[f.jsx(Vt.FilterList,{sx:{fontSize:"1rem",mr:.5}}),f.jsx(E.Typography,{variant:"h6",children:r("ra.action.add_filter")})]}):f.jsx(os,{label:"ra.action.add_filter",onClick:s,children:f.jsx(Vt.FilterList,{})})}const Sx=P.createContext({sidebarOpen:!1,setSidebarOpen:()=>{},currentTabKey:"",setCurrentTabKey:()=>{}});function Ax(e){const[t,n]=P.useState(!1),[r,o]=P.useState("");return f.jsx(Sx.Provider,{value:{currentTabKey:r,setCurrentTabKey:o,sidebarOpen:t,setSidebarOpen:n},children:e.children})}function _3(){return P.useContext(Sx)}function ase(e){const[t]=ut.useSearchParams(),n=z.useResourceContext(),{setCurrentTabKey:r}=_3(),{filterValues:o,displayedFilters:i,setFilters:s}=z.useListContext(),l=P.useMemo(()=>n.replace(/^entities\//,""),[n]),d=`${l}-tab-group`,u=`${l}-tab-filters`,p=P.useMemo(()=>e.findIndex(I=>I.default)??0,[e]),[g,h]=B0(d,p),[m,v]=B0(u,{}),b=P.useRef(!1),x=P.useRef(!1),S=P.useCallback(I=>{const w=e[I];if(!w)return;h(I),r==null||r(w.key);const T=m==null?void 0:m[w.key],O=(T==null?void 0:T.filterValues)??w.filter,j=(T==null?void 0:T.displayedFilters)??{};(!Q.isEqual(O,o)||!Q.isEqual(j,i))&&(x.current=!0,s(O,j))},[e,m,o,i,h,r,s]);return P.useEffect(()=>{var O;if(b.current)return;b.current=!0;const I=t.get(d),w=I!=null?Number(I):Number(g);t.get("filter")!==null?(h(w),r==null||r((O=e[w])==null?void 0:O.key)):S(w)},[t,d,g,h,r,S,e]),P.useEffect(()=>{var w;if(!b.current||x.current){x.current=!1;return}const I=(w=e[Number(g)])==null?void 0:w.key;I&&v(T=>{const O=T==null?void 0:T[I];return Q.isEqual(O==null?void 0:O.filterValues,o)&&Q.isEqual(O==null?void 0:O.displayedFilters,i)?T:{...T,[I]:{filterValues:o,displayedFilters:i}}})},[o,i,g,e,v]),{currentTab:g,handleTabChange:(I,w)=>S(w)}}function z0({tabs:e=[]}){const t=wt(),{currentTab:n,handleTabChange:r}=ase(e);if(e.length>0&&e.some(o=>!o.key))throw new Error("ListTabsToolbar: Each tab must have a unique key.");return e.length===0?null:f.jsx(E.Box,{sx:{width:"100%"},children:f.jsx(E.Tabs,{value:Number(n),onChange:r,allowScrollButtonsMobile:!0,variant:"scrollable",scrollButtons:"auto",sx:{width:"100%",".MuiTabs-scrollButtons.Mui-disabled":{opacity:.2}},children:e.map(o=>f.jsx(E.Tab,{icon:o.icon,label:o.label,sx:{flex:"0 0 auto",lineHeight:1,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","& .MuiTab-iconWrapper":{marginRight:t.spacing(.5)}}},o.key))})})}function Ex(e){const{filters:t,actions:n,className:r,hasFilterSidebar:o,tabs:i,...s}=e,l=wt(),d=E.useMediaQuery(l.breakpoints.down("sm")),u=n?P.cloneElement(n,{...s,...n.props}):null,{filterValues:p,data:g,isLoading:h}=te.useListContext(),m=!h&&g&&g.length===0,v=i&&i.length>0;return Array.isArray(t)?f.jsx(wp.Provider,{value:{hasFilterSidebar:o},children:f.jsx(z.FilterContext.Provider,{value:t,children:f.jsx(Zm,{className:r,children:f.jsxs(E.Box,{sx:{width:"100%",display:"flex",flexDirection:"column",gap:2},children:[i?f.jsx(z0,{tabs:i}):null,f.jsx(E.Box,{children:d&&o?f.jsxs(E.Box,{sx:{border:d&&m?"1px solid":0,borderColor:l.palette.mode==="dark"?l.palette.divider:l.palette.grey.A800},children:[u,Qe.isEmpty(p)?null:f.jsxs(E.Box,{children:[f.jsx(E.Divider,{}),f.jsx(V0,{})]})]}):f.jsxs(E.Box,{sx:{display:"flex",flexDirection:d?"column":"row",alignItems:d?"flex-start":"center",gap:2,px:2.5,py:2.5},children:[o?f.jsx(V0,{}):f.jsx(z.FilterForm,{}),d?null:f.jsx(E.Box,{sx:{flex:1}}),u]})})]})})})}):f.jsx(Zm,{className:r,children:f.jsxs(E.Box,{sx:{display:"flex",flex:1,flexDirection:"column",gap:2,width:"100%"},children:[i?f.jsx(z0,{tabs:i}):null,f.jsxs(E.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-end",gap:2,p:v?0:l.spacing(2.5),px:l.spacing(2.5),pb:l.spacing(2.5),width:"100%"},children:[t?P.cloneElement(t,{...s,context:"form"}):null,f.jsx("span",{}),n?P.cloneElement(n,{...s,filters:t,...n.props}):null]})]})})}Ex.propTypes={filters:C.oneOfType([C.element,C.arrayOf(C.element)]),actions:C.oneOfType([C.bool,C.element]),exporter:C.oneOfType([C.func,C.bool])};const lse="RaListToolbar",Zm=ge("div",{name:lse,overridesResolver:e=>e.root})(({theme:e})=>({display:"flex",position:"relative",justifyContent:"space-between",alignItems:"flex-end",width:"100%",padding:0,[e.breakpoints.down("sm")]:{backgroundColor:e.palette.background.paper,flexWrap:"inherit",flexDirection:"column-reverse"}})),Ap=P.memo(Ex),cse=f.jsx(z.ListActions,{}),use=f.jsx(z.Pagination,{}),dse=f.jsx(f1,{}),fse=E.Card;function pse(e){const{actions:t=cse,aside:n,filters:r,bulkActionButtons:o,emptyWhileLoading:i,hasCreate:s,pagination:l=use,children:d,className:u,component:p=fse,title:g,empty:h=dse,tabs:m,...v}=e,{defaultTitle:b,data:x,error:S,isLoading:I,filterValues:w,resource:T}=te.useListContext(e),O=wt(),j=B.isValidElement(n)&&(n==null?void 0:n.type)!==qc,M=B.isValidElement(n)&&(n==null?void 0:n.type)===qc;if(!d||!x&&I&&i)return null;function F(V){return f.jsxs("div",{className:Kr.main,style:{border:j?"1px solid":"none",borderRadius:j?4:0,borderColor:j?O.palette.mode==="dark"?O.palette.divider:O.palette.grey.A800:"transparent",backgroundColor:j?O.palette.background.paper:"transparent"},children:[r||t?f.jsx(Ap,{className:Kr.actions,filters:r,actions:t,hasCreate:s,hasFilterSidebar:M,tabs:m}):null,!S&&f.jsx(p,{className:Kr.content,sx:V?{background:"transparent"}:{},children:o&&d&&B.isValidElement(d)?P.cloneElement(d,{bulkActionButtons:o}):d}),S?f.jsx(ep,{error:S,resetErrorBoundary:null}):l!==!1&&l]})}function N(){return h!==!1&&P.cloneElement(h,{className:Kr.noResults,hasCreate:s})}const k=!I&&(x==null?void 0:x.length)===0,_=!I&&(x==null?void 0:x.length)===0&&!Object.keys(w).length&&h!==!1,H=B.isValidElement(n),U=H&&(n==null?void 0:n.type)===qc,G=I||_||H&&!U?B.Fragment:Nn,Y=!I&&!_&&(!n||U)?{content:!1}:void 0;return f.jsxs(gse,{className:$e("list-page",u),...v,sx:k?{"& .MuiPaper-root":{backgroundColor:"transparent",border:"none",borderRadius:0},"& .RaList-actions":{border:"1px solid",borderRadius:`${O.shape.borderRadius}px`,borderColor:O.palette.mode==="dark"?O.palette.divider:O.palette.grey.A800,backgroundColor:O.palette.background.paper}}:{},children:[f.jsx(z.Title,{title:g,defaultTitle:b,preferenceKey:`${T}.list.title`}),f.jsx(G,{...Y,children:I?f.jsx(E.CircularProgress,{sx:{position:"absolute",top:"50%",left:"50%",marginTop:"-20px",marginLeft:"-20px"}}):_?N():F(k)}),j?f.jsx(hse,{aside:n}):null,M?B.cloneElement(n,{filters:r}):null]})}function hse({aside:e}){var r;const t=((r=e==null?void 0:e.props)==null?void 0:r.order)??-1,n=wt();return f.jsx(E.Card,{className:Kr.asideCard,sx:{order:t,mr:t===-1?2:0,ml:t!==-1?2:0,width:200,border:"1px solid",borderRadius:1,borderColor:n.palette.mode==="dark"?n.palette.divider:n.palette.grey.A800,backgroundColor:n.palette.background.paper,backgroundImage:"none"},children:f.jsx(E.CardContent,{sx:{pt:1},children:P.cloneElement(e,{})})})}const zs="RaList",Kr={main:`${zs}-main`,content:`${zs}-content`,actions:`${zs}-actions`,noResults:`${zs}-noResults`,asideCard:`${zs}-asideCard`},gse=ge("div",{name:zs,overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"flex","& >.MuiPaper-root":{flex:1},[`& .${Kr.main}`]:{flex:"1 1 auto",display:"flex",flexDirection:"column"},[`& .${Kr.content}`]:{position:"relative",[e.breakpoints.down("sm")]:{boxShadow:"none"},overflow:"inherit"},[`& .${Kr.actions}`]:{},[`& .${Kr.noResults}`]:{alignContent:"center"},[`& .${Kr.asideCard}`]:{[e.breakpoints.down("md")]:{display:"none"},[`& .${z.SavedQueriesListClasses.floatingIcon}`]:{fontSize:"1.125rem"},[`& .${z.SavedQueriesListClasses.floatingTooltip}`]:{top:"-1.2em"},"& form":{marginTop:e.spacing(2)}}}));function mse({debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o=vse,filterDefaultValues:i,perPage:s=10,queryOptions:l,resource:d,sort:u,storeKey:p,...g}){return f.jsx(te.ListBase,{debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o,filterDefaultValues:i,perPage:s,queryOptions:l,resource:d,sort:u,storeKey:p,children:f.jsx(Ax,{children:f.jsx(pse,{...g})})})}const vse={},yse=a1(mse,{slot:"root"})(({theme:e})=>({"& .RaList-main":{overflowX:"auto","& .RaBulkActionsToolbar-toolbar":{height:36,top:42,paddingTop:16,"& .RaBulkActionsToolbar-title":{alignItems:"end","& .MuiTypography-root":{alignSelf:"center"}}},"& .MuiToolbar-root":{"& form":{padding:e.spacing(2),paddingBottom:e.spacing(2),alignItems:"flex-start"}},"& .MuiButton-root":{margin:0},"& .RaList-actions":{minHeight:80,alignItems:"center",borderTopLeftRadius:`${e.shape.borderRadius}px`,borderTopRightRadius:`${e.shape.borderRadius}px`,borderBottomLeftRadius:0,borderBottomRightRadius:0,[e.breakpoints.down("sm")]:{flexDirection:"row"},"& form":{alignItems:"center",minHeight:"auto",paddingBottom:0,rowGap:e.spacing(2.5)},"& .RaFilterForm-filterFormInput":{margin:0,"& .MuiInputLabel-root":{paddingTop:0},"& .MuiFormControl-root":{marginTop:0},"& .ra-input":{alignSelf:"center",marginTop:0},[e.breakpoints.down("sm")]:{"&>.MuiStack-root":{width:"100%","&>div:not(.MuiStack-root)":{width:"100%"}}}},"& .RaFilterFormInput-hideButton":{margin:"0 !important",alignSelf:"center"},"& > .MuiToolbar-root":{flex:"unset",padding:0,alignSelf:"center",minHeight:"fit-content",[e.breakpoints.down("sm")]:{paddingBottom:e.spacing(2)}}},"& .RaList-content":{borderRadius:0,"& .RaBulkActionsToolbar-collapsed":{height:0,paddingTop:0,paddingBottom:0},"& .icon span":{top:-1,left:-1}},"& .ApplicaEmpty-root":{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"calc(100vh - 260px)",backgroundColor:e.palette.background.paper,border:"1px solid",borderTop:"none",borderColor:e.palette.mode==="dark"?e.palette.divider:e.palette.grey.A800,borderBottomLeftRadius:`${e.shape.borderRadius}px`,borderBottomRightRadius:`${e.shape.borderRadius}px`}},"& .RaList-noResults":{backgroundColor:e.palette.background.paper,border:"1px solid",borderColor:e.palette.mode==="dark"?e.palette.divider:e.palette.grey.A800,borderRadius:`${e.shape.borderRadius}px`},"& .RaEmpty-toolbar":{margin:e.spacing(2)}}));function bse(e){const t={...e,pagination:e.pagination??f.jsx(k3,{})};return f.jsx(yse,{...t})}function Cse(){const e=z.useRefresh(),t=z.useNotify(),n=z.useResourceContext(),r=z.useUnselectAll(n),{selectedIds:o,data:i}=z.useListContext(),s=z.useRecordContext(),l=o.map(g=>i.find(h=>h.id===g)),[d,{isLoading:u}]=z.useUpdateMany(n,{ids:o.length>0?o:[s==null?void 0:s.id],data:{readed:Br().toISOString()},rows:l},{onSuccess:()=>{e(),t("resources.notifications.messages.readed.done"),r()},onError:()=>t("ra.notification.readed_error",{type:"warning"}),onFailure:()=>t("ra.notification.readed_error",{type:"warning"})}),p=P.useCallback(()=>{d()},[d]);return f.jsx(z.Button,{label:"ra.notification.mark_as_readed",disabled:u||(s==null?void 0:s.readed)!==null,onClick:p,children:f.jsx(Vt.Email,{})})}function xse(){const e=z.useRefresh(),t=z.useNotify(),n=z.useResourceContext(),r=z.useUnselectAll(n),{selectedIds:o,data:i}=z.useListContext(),s=z.useRecordContext(),l=o.map(g=>i.find(h=>h.id===g)).concat([s]),[d,{isLoading:u}]=z.useUpdateMany(n,{ids:o.length>0?o:[s==null?void 0:s.id],data:{readed:null},rows:l},{onSuccess:()=>{e(),t("resources.notifications.messages.unreaded.done"),r()},onFailure:()=>t("resources.notifications.messages.unreaded.error",{type:"warning"})}),p=P.useCallback(()=>{d()},[d]);return f.jsx(z.Button,{color:"secondary",label:"ra.notification.mark_as_unreaded",disabled:u||s&&!(s!=null&&s.readed),onClick:p,children:f.jsx(Vt.Drafts,{})})}function wse(e){const t=z.useRecordContext(e),n=z.useResourceContext(e),r=z.useRedirect(),o=z.useNotify(),i=z.useTranslate(),[s]=z.useLocaleState(),l=P.useMemo(()=>t!=null&&t.readed?Br(t==null?void 0:t.readed).locale(s).format("ddd, DD MMM YYYY HH:mm:ss"):!1,[t==null?void 0:t.readed,s]),[d]=z.useUpdate(n,{id:t==null?void 0:t.id,data:{...t,readed:Br().toISOString()}},{onSuccess:()=>{t!=null&&t.resource&&(t!=null&&t.resource.startsWith("/")?r(t==null?void 0:t.resource):document.location.href=t==null?void 0:t.resource)},onError:()=>{o("ra.notification.readed_error",{type:"warning"})}}),u=P.useCallback(()=>d(),[d]);return f.jsxs("div",{onClick:u,style:{cursor:"pointer"},role:"button",tabIndex:0,children:[f.jsx(E.Typography,{variant:"subtitle1",children:f.jsxs(E.Box,{fontWeight:"bold",children:[" ",t==null?void 0:t.title]})}),f.jsx(E.Typography,{variant:"body1",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",whiteSpace:"break-spaces"},dangerouslySetInnerHTML:{__html:t==null?void 0:t.content}}),l?f.jsx(E.Typography,{variant:"caption",display:"block",sx:{mt:1},color:"textSecondary",children:i("ra.notification.readed",{readed:l})}):null]})}function Sse({...e}){const t=E.useTheme(),{mode:n,colorize:r,density:o}=P.useMemo(()=>({mode:t.palette.mode,colorize:t.palette.mode==="dark"?E.darken:E.lighten,density:t.palette.mode==="dark"?.5:.9}),[t.palette.mode]);function i(s){return{backgroundColor:s!=null&&s.readed?r(t.palette.secondary[n],o):r(t.palette.primary[n],o)}}return f.jsxs(z.Datagrid,{...e,rowSx:i,children:[f.jsx(wse,{source:"notification",sortable:!1}),f.jsx(lx,{source:"created"}),f.jsxs(ui,{children:[f.jsx(Cse,{}),f.jsx(xse,{})]})]})}function Ase({empty:e,...t}){const n=z.useTranslate(),r=f.jsx(f1,{sx:{"& .ApplicaEmpty-icon":{fontSize:"7em"}},title:f.jsx(E.Typography,{variant:"subtitle1",style:{color:"inherit"},gutterBottom:!0,children:n("ra.navigation.no_results")})});return f.jsx(z.SimpleList,{...t,empty:e||r})}function Tx(e){const{id:t,onClick:n,onDelete:r,recordRepresentation:o,resource:i}=e,s=te.useGetRecordRepresentation(i),{data:l,isLoading:d,error:u}=te.useGetMany(i,{ids:[t]}),p=Q.find(l??[],{id:t}),g=!Q.isNil(p)&&Q.isFunction(r),h=P.useCallback(()=>{g&&r(p)},[r,p,g]),m=!Q.isNil(p)&&Q.isFunction(n),v=P.useCallback(()=>{m&&n(p)},[n,p,m]);if(d)return null;if(u||Q.isNil(p))return f.jsx(Vt.Error,{color:"error"});{const b=Q.isFunction(o)?o(p):s(p);return f.jsx(E.Chip,{label:b,onDelete:g?h:void 0,onClick:m?v:void 0})}}function Ix(e){const t=WC(),n=te.useTranslate(),{children:r,multiple:o,onCancel:i,onConfirm:s,slotProps:l}=e,{dialogContent:d={},listToolbar:u={},pagination:p}=l??{},g=Q.chain(l==null?void 0:l.list).defaults({disableSyncWithLocation:!0,emptyWhileLoading:!0,exporter:!1}).value(),h=!Q.isNil(u.filters),m=Q.chain(l==null?void 0:l.dialog).defaults({disableEscapeKeyDown:!0,fullWidth:!0,keepMounted:!1,open:!1}).value(),v=Q.chain(l==null?void 0:l.dataGrid).defaults({}).extend({bulkActionButtons:!1,rowClick:"toggleSelection"}).value(),b=P.useCallback((x,S)=>o?Q.includes(x,S)?Q.without(x,S):Q.concat(x,S):Q.includes(x,S)?[]:[S],[o]);return f.jsx(te.ListBase,{...g,storeKey:`reference-lookup-input-${t}`,children:f.jsx(te.WithListContext,{render:({onSelect:x,selectedIds:S,onUnselectItems:I})=>f.jsx(E.Dialog,{...m,onClose:()=>{I(),i()},children:f.jsx(E.DialogContent,{...d,children:f.jsxs(E.Stack,{spacing:2,flexDirection:"column",children:[h?f.jsx(Ap,{...u}):null,f.jsxs(vx,{...v,onToggleItem:w=>x(b(S,w)),children:[f.jsx($0,{render:w=>Q.includes(S,w.id)?f.jsx(Vt.CheckBox,{}):f.jsx(Vt.CheckBoxOutlineBlankOutlined,{})}),r??f.jsx($0,{label:n("ra.input.referenceLookup.dialog.defaultField"),render:w=>f.jsx(te.RecordRepresentation,{record:w})})]}),f.jsx(k3,{...p}),f.jsxs(E.DialogActions,{children:[f.jsx(E.Button,{onClick:()=>{I(),i()},children:n("ra.input.referenceLookup.dialog.cancel")}),f.jsx(E.Button,{disabled:Q.isEmpty(S),onClick:()=>{s(S),I()},color:"primary",children:n("ra.input.referenceLookup.dialog.confirm")})]})]})})})})})}function Ese(e){const{children:t,filter:n,filterDefaultValues:r,filters:o,recordRepresentation:i,reference:s,source:l}=e,{field:d}=te.useInput({source:l}),{value:u,onChange:p}=d??{},g=!Q.isEmpty(u),{open:h,handleOpen:m,handleClose:v}=np(!1),b=P.useMemo(()=>Q.isEmpty(u)?n:Q.chain(n??{}).clone().extend({id__ne:u}).value(),[n,u]),x=P.useMemo(()=>o??[f.jsx(Cp,{source:"keyword",alwaysOn:!0},"keyword")],[o]),S=P.useCallback(w=>{const T=Q.first(w);return v(),p(T),T},[p,v]),I=P.useCallback(()=>p(null),[p]);return f.jsx(on,{...e,children:f.jsxs(E.Stack,{alignItems:"center",direction:"row",spacing:1,children:[g?f.jsx(Tx,{id:u,onClick:m,onDelete:I,recordRepresentation:i,resource:s}):null,!g&&f.jsx(ba,{onClick:m,children:f.jsx(Vt.AddCircleRounded,{})}),f.jsx(Ix,{onCancel:v,onConfirm:S,multiple:!1,slotProps:{dialog:{open:h,onClose:v},list:{filter:b,filterDefaultValues:r,resource:s},listToolbar:{filters:x}},children:t})]})})}function Tse(e){const{children:t,filter:n,filterDefaultValues:r,filters:o,recordRepresentation:i,reference:s,source:l}=e,{field:d}=te.useInput({source:l}),{value:u,onChange:p}=d??{},g=!Q.isEmpty(u),{open:h,handleOpen:m,handleClose:v}=np(!1),b=P.useMemo(()=>Q.isEmpty(u)?n:Q.chain(n??{}).clone().extend({id__nin:u}).value(),[n,u]),x=P.useMemo(()=>o??[f.jsx(Cp,{source:"keyword",alwaysOn:!0},"keyword")],[o]),S=P.useCallback(w=>{const T=Q.union(u??[],w);return v(),p(T),T},[p,v,u]),I=P.useCallback(w=>p(Q.without(u??[],w.id)),[p,u]);return f.jsx(on,{...e,children:f.jsxs(E.Stack,{alignItems:"center",direction:"row",spacing:1,children:[g?Q.map(u??[],(w,T)=>f.jsx(Tx,{id:w,onDelete:I,recordRepresentation:i,resource:s},T)):null,f.jsx(ba,{onClick:m,children:f.jsx(Vt.AddCircleRounded,{})}),f.jsx(Ix,{onCancel:v,onConfirm:S,multiple:!0,slotProps:{dialog:{open:h,onClose:v},list:{filter:b,filterDefaultValues:r,resource:s},listToolbar:{filters:x}},children:t})]})})}function Ise({reference:e,target:t,children:n,filters:r,actions:o,...i}){return f.jsx(z.ResourceContextProvider,{value:e,children:f.jsx(fx,{perPage:5,pagination:f.jsx(z.Pagination,{}),...i,reference:e,target:t,children:f.jsxs(f.Fragment,{children:[f.jsx(z.ListToolbar,{filters:r,actions:o}),n]})})})}const Ose=ge(z.SelectArrayInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiFormLabel-root.MuiInputLabel-root":{marginTop:"-3px"},"& .MuiInputLabel-root.MuiInputLabel-shrink":{marginTop:0},"& .MuiOutlinedInput-input:has(.MuiChip-root)":{paddingTop:"4px",paddingBottom:"6px",paddingLeft:"6px"}}));function Pse({optionText:e="name",optionValue:t="id",...n}){return f.jsx(on,{...n,children:f.jsx(Ose,{optionText:e,optionValue:t,options:{autoWidth:!1}})})}const jse=ge(z.SelectInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1||e===null?0:"auto"}}));function Rse(e){return f.jsx(on,{...e,children:f.jsx(jse,{})})}function Mse({multiline:e=!1,...t}){var d,u;const n=z.useTranslate(),r=z.maxLength(t==null?void 0:t.maxLength,"app.input.max_length_error"),o=(u=(d=fn.useController({name:t==null?void 0:t.source}))==null?void 0:d.field)==null?void 0:u.value;let i=t.helperText,s=t.validate;s?Array.isArray(s)&&s.indexOf(r)===-1&&s.push(r):s=[r];const l=n("app.input.max_length_info",{count:(o==null?void 0:o.length)||0,max:t==null?void 0:t.maxLength});return t!=null&&t.maxLength&&(i=i&&i.length>0?`${l} - ${n(i)}`:l),f.jsx(Sr,{...t,validate:s,helperText:i,multiline:e,inputProps:{maxLength:t==null?void 0:t.maxLength}})}function kse(e){if(!e)return"";const t=NC(e);return t?t.format("HH:mm"):""}function _se(e){return e}const Dse=ge(z.TimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function Fse({parse:e=_se,format:t=kse,...n}){return f.jsx(on,{...n,children:f.jsx(Dse,{parse:e,format:t,...n})})}function Ep({onSuccess:e,firstAccess:t}){const{spacing:n}=jn(),[r,o]=P.useState(!1),i=te.useAuthProvider(),s=te.useTranslate(),l=te.useNotify(),d=Hi.useQueryClient(),u=P.useCallback(p=>{const{oldPassword:g,newPassword:h}=p;o(!0),i==null||i.changePassword(g,h).then(()=>{l("ra.auth.password_changed"),d.invalidateQueries(["auth","getIdentity"]),e()}).catch(m=>{l((m==null?void 0:m.message)||(m==null?void 0:m.toString()),{type:"error"})}).finally(()=>o(!1))},[i,e,l,d]);return f.jsx(te.ResourceContextProvider,{value:"user/change-password",children:f.jsx(te.EditContextProvider,{value:{record:{},resource:"user/change-password",save:u},children:f.jsx(yp,{onSubmit:u,toolbar:f.jsx(gi,{children:f.jsx(z.SaveButton,{disabled:r})}),children:f.jsxs(E.Grid,{container:!0,spacing:n,children:[t===!0&&f.jsx(E.Grid,{item:!0,xs:12,children:f.jsxs(E.Alert,{severity:"warning",children:[f.jsx(E.AlertTitle,{children:s("ra.auth.first_access.change_password")}),s("ra.auth.first_access.change_password_helper")]})}),f.jsx(E.Grid,{item:!0,xs:12,children:f.jsx(Sr,{source:"oldPassword",type:"password",validate:te.required()})}),f.jsx(E.Grid,{item:!0,xs:12,children:f.jsx(Sr,{source:"newPassword",type:"password",validate:te.required()})})]})})})})}const Ox=P.createContext({});function Lse(e){const{useDefaults:t=!1,queryOptions:n={}}=e,r=z.useResourceContext(),o=z.useDataProvider(),{search:i}=Yi.useLocation(),s=`${r}/new`,l=P.useCallback(()=>{if(!t||!Q.isFunction(o.get))return Promise.resolve({});const h={};return new URLSearchParams(i??"").forEach((m,v)=>{h[v]=m}),o.get(s,h).then(m=>m.data).then(m=>{const{responseCode:v,value:b}=m;return v==="ok"?b:Promise.reject(m)})},[t,i,o,s]),d=P.useMemo(()=>Q.chain(n).extend({queryKey:[r,i],queryFn:l}).value(),[r,i,l,n]),{data:u,isLoading:p}=Hi.useQuery(d),g=Q.omit(e,["useDefaults"]);return p?f.jsx(E.Stack,{alignItems:"center",justifyContent:"center",flex:1,p:2,children:f.jsx(E.CircularProgress,{})}):f.jsx(Ox.Provider,{value:u??{},children:f.jsx(z.Create,{...g,children:e.children})})}const Bse=ge(Lse,{slot:"root"})(({theme:e})=>({"& .RaCreate-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaCreate-main":{marginTop:0},"& .RaCreate-main>.MuiPaper-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaToolbar-mobileToolbar":{paddingLeft:`${e.spacing(2.5)} !important`,paddingRight:`${e.spacing(2.5)} !important`,paddingTop:"0 !important"},"& .RaCreate-main:has(.LongFormView)>.MuiPaper-root:first-of-type":{overflow:"visible"},"& .RaCreate-main:has(.tabbed-form) .MuiTableContainer-root":{width:"inherit"}}));function Nse(){return P.useContext(Ox)}const $se=ge(z.Edit,{slot:"root"})(({theme:e})=>({"&>.MuiToolbar-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaEdit-card":{[e.breakpoints.down("sm")]:{marginBottom:e.spacing(6)}},"& .RaEdi-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaToolbar-mobileToolbar":{paddingLeft:`${e.spacing(2.5)} !important`,paddingRight:`${e.spacing(2.5)} !important`,paddingTop:"0 !important"},"& .RaEdit-main":{marginTop:0},"& .RaEdit-main>.MuiPaper-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaEdit-main:has(.LongFormView)>.MuiPaper-root:first-of-type":{overflow:"visible"},"& .RaEdit-main:has(.tabbed-form) .MuiTableContainer-root":{width:"inherit"}}));function Vse(e){return f.jsx($se,{...e})}const zse=ge(E.CardHeader)(({theme:e})=>({marginTop:e.spacing(2.5),marginLeft:0,marginRight:0,paddingLeft:0,paddingRight:0})),Wse=ge(E.Divider)(({theme:e})=>({marginLeft:`-${e.spacing(2.5)}`,marginRight:`-${e.spacing(2.5)}`,marginBottom:e.spacing(2),width:`calc(100% + ${e.spacing(5)})`}));function Use({title:e,divider:t=!0,variant:n="h5"}){const r=z.useTranslate();return f.jsxs(f.Fragment,{children:[f.jsx(zse,{title:r(e,{_:e}),titleTypographyProps:{variant:n}}),t?f.jsx(Wse,{}):null]})}function W0(e){return e.id??e.label}function Px(e,t){const n=`^${e}.`.replaceAll(".","\\."),r=new RegExp(n,"g");return t.match(r)!==null}function Hse(e){return Q.map(e,"id")}function Fu(e){const t=e.match(new RegExp("[^.]+","g"));return t===null?0:t.length}function jx(e,t){const n=e!==void 0?Fu(e):0;return Q.chain(t).filter(o=>e!==void 0?Px(e,o.id):!0).filter(o=>Fu(o.id)===n+1).value()}function Gse(e,t){var i;const n=Q.clone(e),{type:r,payload:o}=t;switch(r){case"setFormRootPath":return Q.extend(n,{formRootPath:o});case"setSyncWithLocation":return Q.extend(n,{syncWithLocation:o});case"setErrorCount":return Q.extend(n,{errorCount:o});case"setActiveItem":return Q.includes(Hse(e.items),o)?Q.extend(n,{activeItem:o}):n;case"addItem":{const{id:s}=o;return Q.extend(n,{items:Q.chain(n.items).clone().reject(l=>l.id===s).concat([o]).orderBy(l=>l.index).value()})}case"removeItem":{const s=Q.isString(o)?o:o.id,l=Q.chain(n.items).clone().reject(d=>d.id===s).value();return Q.extend(n,{items:l}),n.activeItem===s&&Q.extend(n,{activeItem:((i=Q.first(l))==null?void 0:i.id)??void 0}),n}default:return n}}const qse={syncWithLocation:!0,errorCount:!0,items:[],activeItem:void 0},Rx=P.createContext(void 0);function Mx(e){const t=!!(e.syncWithLocation??!0),n=!!(e.errorCount??!0),{rootMatchString:r}=e,{pathname:o}=Yi.useLocation(),[i,s]=P.useReducer(Gse,Q.cloneDeep(qse)),{formRootPath:l,items:d}=i,u=P.useMemo(()=>({state:i,dispatch:s}),[i,s]);return P.useEffect(()=>{const p=["entities/:resource/create/*",":resource/create/*","entities/:resource/:id/show/*",":resource/:id/show/*","entities/:resource/:id/*",":resource/:id/*"];r!==void 0&&p.push(r);const g=Q.chain(p).map(m=>Yi.matchPath(m,o)).reject(m=>m===null).first().value(),h=g==null?void 0:g.pathnameBase;h!==void 0&&h!==l&&s({type:"setFormRootPath",payload:h})},[o,l,r]),P.useEffect(()=>{s({type:"setSyncWithLocation",payload:!!t})},[t,s]),P.useEffect(()=>{s({type:"setErrorCount",payload:!!n})},[n,s]),P.useEffect(()=>{var p;if(t&&l!==void 0){let g=o.replace(l,"").replace(new RegExp(/^\/?/),"");Q.isEmpty(g)&&(g=((p=Q.chain(d).filter(h=>jx(h.id,d).length===0).orderBy([h=>Fu(h.id),h=>h.index]).first().value())==null?void 0:p.id)??void 0),s({type:"setActiveItem",payload:g})}},[s,l,o,d,t]),f.jsx(Rx.Provider,{value:u,children:e.children})}function kx(){const e=P.useContext(Rx);if(e===void 0)throw new Error("[LongForm] useFormContext: context undefined. Please provide a valid Context using LongForm.Provider");return e}function p1(){return kx().state}function Tp(){return kx().dispatch}function _x(){return p1().formRootPath}function Dx(){return p1().activeItem}function Fx(){return p1().items}function Lx(){return p1().syncWithLocation}function Bx(){return p1().errorCount}function Nx(){const e=Tp();return P.useCallback(n=>{e({type:"setActiveItem",payload:n})},[e])}function $x(){const e=Tp();return P.useCallback(n=>{e({type:"addItem",payload:n})},[e])}function Vx(){const e=Tp();return P.useCallback(n=>{e({type:"removeItem",payload:n})},[e])}const Yse=ge(E.Grid,{name:"LongFormView",slot:"Root"})(({theme:e})=>({"& .MuiToolbar-root.RaToolbar-desktopToolbar":{marginLeft:`-${e.spacing(3)}`,marginRight:`-${e.spacing(3)}`,marginBottom:`-${e.spacing(2)}`,paddingTop:e.spacing(2.5),paddingBottom:e.spacing(2.5),[e.breakpoints.down("sm")]:{width:"auto !important",marginRight:0}},"& .RaToolbar-mobileToolbar":{paddingTop:`${e.spacing(2.5)} !important`,paddingLeft:"0 !important",paddingRight:"0 !important",paddingBottom:"0 !important"},"& form > .MuiToolbar-root":{margin:0,marginRight:`-${e.spacing(.5)}`,[e.breakpoints.down("sm")]:{marginRight:e.spacing(.5)}}}));function zx(e){const{spacing:t}=jn(),{spacing:n=t}=e,r=Q.omit(e,["spacing"]);return f.jsx(z.Form,{...r,className:"LongFormView",children:f.jsx(Yse,{container:!0,spacing:n*2,children:e.children})})}function Wx(e){const{disposition:t={xl:9,lg:9,md:8,sm:8,xs:12}}=e,n=Q.omit(e,["disposition"]);return f.jsx(E.Grid,{...n,item:!0,...t,children:e.children})}function Ux(e){const t=Dx();return t===void 0?!1:e===t||Px(e,t)}function Hx(e){const t=Fx();return P.useMemo(()=>jx(e,t),[t,e])}function Kse(){const e=_x(),{search:t}=Yi.useLocation(),n=Yi.useNavigate();return P.useCallback(o=>{n(`${e}/${o}${t}`)},[e,n,t])}function Gx(){const e=Hx();return f.jsx(E.Card,{variant:"outlined",children:f.jsx(E.List,{sx:{"& .MuiListItemButton-root.Mui-selected":{borderColor:"palette.primary.main",borderRightStyle:"solid",borderRightWidth:2},"& .MuiListItemAvatar-root":{minWidth:24}},children:Q.map(e,(t,n)=>f.jsx(Ip,{...t},n))})})}function Ip(e){const t=te.useTranslate()??Q.identity,n=qx(e),{selected:r,label:o,icon:i,onClick:s,badge:l,items:d,isGroup:u,level:p,errors:g=0}=n,{spacing:h}=jn(),[m,v]=P.useState(r),b=P.useCallback(I=>{v(!m),s(I)},[s,m]),x=i!==void 0,S=Q.omit(e,["label","icon","selected","badge"]);return P.useEffect(()=>{r&&!m&&v(r)},[r,m,v]),f.jsxs(f.Fragment,{children:[f.jsx(E.ListItem,{...S,disablePadding:!0,children:f.jsxs(E.ListItemButton,{selected:r?!u:null,onClick:b,sx:{pl:h*p},children:[x?f.jsx(E.ListItemIcon,{children:i}):null,f.jsx(E.ListItemText,{inset:!x,primary:g===0?t(o):f.jsx(E.Badge,{variant:"dot",color:"error",sx:{"& > .MuiBadge-badge":{transform:"scale(1) translate(125%, 0)"}},children:t(o)})}),l?f.jsx(E.ListItemAvatar,{children:f.jsx(du,{type:"filled",size:"xs",color:l.color??"default",children:l.content})}):null,u?m?f.jsx(Vt.ExpandLess,{}):f.jsx(Vt.ExpandMore,{}):null]})}),u?f.jsx(E.Collapse,{in:m,timeout:"auto",children:f.jsx(E.List,{children:Q.map(d,(I,w)=>f.jsx(Ip,{...I},w))})}):null]})}function qx(e){const{id:t}=e,n=Ux(t),r=Fu(t),o=Kse(),i=Lx(),s=Nx(),l=Hx(t),d=!Q.isEmpty(l),u=P.useCallback(g=>{d||(i?o(e.id):s(e.id)),Q.isFunction(e.onClick)&&e.onClick(g)},[s,o,e,i,d]);return P.useMemo(()=>({...e,selected:n,onClick:u,items:l,isGroup:d,level:r}),[e,n,u,l,d,r])}var Zse=e=>{let t=e;for(;t=t.parentElement;){const n=getComputedStyle(t,null).getPropertyValue("overflow-y");if(t===document.body)return window;if(n==="auto"||n==="scroll"||n==="overlay")return t}return window},Yx=e=>e.firstChild?e.firstChild.offsetParent===e:!0,Xse=(e,t)=>{let n=e,r=0;Yx(t)||(r+=e.offsetTop-t.offsetTop,t=e.offsetParent,r+=-e.offsetTop);do r+=n.offsetTop,n=n.offsetParent;while(n&&n!==t);return r},Qse=e=>{let t=e.parentElement;for(;t&&getComputedStyle(t,null).getPropertyValue("display")==="contents";)t=t.parentElement;return t||window},zl=null;typeof CSS<"u"&&CSS.supports&&(CSS.supports("position","sticky")?zl="sticky":CSS.supports("position","-webkit-sticky")&&(zl="-webkit-sticky"));var Lu=!1;try{const e=Object.defineProperty({},"passive",{get(){Lu={passive:!0}}}),t=()=>{};window.addEventListener("testPassive",t,e),window.removeEventListener("testPassive",t,e)}catch{}var Lf=e=>{const{el:t,onChange:n,unsubs:r,measure:o}=e;if(t===window){const i=()=>({top:0,left:0,height:window.innerHeight,width:window.innerWidth}),s=o(i()),l=()=>{Object.assign(s,o(i())),n()};return window.addEventListener("resize",l,Lu),r.push(()=>window.removeEventListener("resize",l)),s}else{const i=o(t.getBoundingClientRect()),s=()=>{Object.assign(i,o(t.getBoundingClientRect())),n()},l=new ResizeObserver(s);return l.observe(t),r.push(()=>l.disconnect()),i}},Jse=e=>{const t=getComputedStyle(e,null),n=parseInt(t.getPropertyValue("padding-top"),10),r=parseInt(t.getPropertyValue("padding-bottom"),10);return{top:n,bottom:r}},eae=(e,t,n)=>{const{bottom:r,offsetBottom:o,offsetTop:i}=n,s=Zse(e);let l=!1;const d=()=>{l||requestAnimationFrame(()=>{const M=g();M!==w&&T(M),l=!1}),l=!0};let u=s===window?window.scrollY:s.scrollTop;const p=M=>{const{offsetTop:F,height:N}=m,{naturalTop:k}=x,{height:_}=S;return M+F+N>=k+_+I+o},g=()=>{const{height:M}=m,{height:F}=S;return F+i+o<=M?3:p(u)?1:2},h=s!==window&&Yx(s),m=Lf({el:s,onChange:d,unsubs:t,measure:({height:M,top:F})=>({height:M,offsetTop:h?F:0})}),v=Qse(e),b=v===window?{top:0,bottom:0}:Jse(v),x=Lf({el:v,onChange:d,unsubs:t,measure:({height:M})=>({height:M-b.top-b.bottom,naturalTop:v===window?0:Xse(v,s)+b.top+m.offsetTop})}),S=Lf({el:e,onChange:d,unsubs:t,measure:({height:M})=>({height:M})});let I=0,w=g();const T=M=>{const F=w;if(w=M,F===2&&(I=-1),M===3){e.style.position=zl,r?e.style.bottom=`${o}px`:e.style.top=`${i}px`;return}const{height:N,offsetTop:k}=m,{height:_,naturalTop:H}=x,{height:U}=S;if(M===2)if(e.style.position="relative",I=F===0?Math.max(0,k+u-H+i):Math.max(0,k+u+N-(H+U+o)),r){const G=Math.max(0,_-U-I);e.style.bottom=`${G}px`}else e.style.top=`${I}px`;else e.style.position=zl,M===1?r?e.style.bottom=`${o}px`:e.style.top=`${N-U-o}px`:r?e.style.bottom=`${N-U-o}px`:e.style.top=`${i}px`};T(w);const O=M=>{if(M===u)return;const F=M-u;if(u=M,w===3)return;const{offsetTop:N,height:k}=m,{naturalTop:_,height:H}=x,{height:U}=S;if(F>0)if(w===0){if(M+N+i>_){const G=Math.max(0,N+u-_+i);M+N+k<=_+U+G+o?T(2):T(1)}}else w===2&&p(M)&&T(1);else if(w===1){if(N+M+k<_+H+o){const G=Math.max(0,N+u+k-(_+U+o));N+M+i>=_+G?T(2):T(0)}}else w===2&&N+M+i<_+I&&T(0)},j=s===window?()=>O(window.scrollY):()=>O(s.scrollTop);s.addEventListener("scroll",j,Lu),s.addEventListener("mousewheel",j,Lu),t.push(()=>s.removeEventListener("scroll",j),()=>s.removeEventListener("mousewheel",j))},tae=({offsetTop:e=0,offsetBottom:t=0,bottom:n=!1}={})=>{const[r,o]=P.useState(null);return P.useEffect(()=>{if(!r||!zl)return;const i=[];return eae(r,i,{offsetBottom:t,offsetTop:e,bottom:n}),()=>{i.forEach(s=>s())}},[r,t,e,n]),o},nae=e=>{const{offsetTop:t,offsetBottom:n,bottom:r,children:o,className:i,style:s}=e,l=tae({offsetTop:t,offsetBottom:n,bottom:r});return f.jsx("div",{className:i,style:s,ref:l,children:o})},rae=nae,Kx=(e=>(e.TOP="top",e.BOTTOM="bottom",e))(Kx||{});function Zx(e){const{sticky:t=!0,disposition:n={xl:3,lg:3,md:4,sm:4,xs:12},spacing:r=2}=e,o=Q.omit(e,["sticky","disposition","spacing"]),i=t?rae:E.Box,s=P.useMemo(()=>t?{offsetTop:74,offsetBottom:r*2}:{},[t,r]);return f.jsx(E.Grid,{...o,item:!0,...n,children:f.jsx(i,{...s,children:f.jsx(E.Stack,{spacing:r,children:e.children})})})}function Xx(e){return f.jsx(f.Fragment,{children:e.children})}function Qx(e){const{children:t}=e;return P.useMemo(()=>{const r={top:[],bottom:[]};return P.Children.forEach(t,o=>{if(P.isValidElement(o)&&(o==null?void 0:o.type)===Xx){const{position:i}=o.props;switch(i){case"top":r.top.push(o);break;case"bottom":r.bottom.push(o);break}}}),r},[t])}function Jx(e){const{errors:t}=fn.useFormState(),n=Bx(),{label:r,icon:o,badge:i,index:s=0,children:l}=e,d=W0(e),u=$x(),p=Vx(),g=Ux(d),h=[];n&&(e.sources!==void 0?h.push(...e.sources):R3(l,v=>{var b;((b=v==null?void 0:v.props)==null?void 0:b.source)!==void 0&&h.push(v.props.source)}));const m=Q.chain(h).uniq().map(v=>Q.get(t,v)).reject(v=>v===void 0).value().length;return P.useEffect(()=>{u({id:d,index:s,label:r,icon:o,badge:i,errors:m})},[u,p,r,o,d,i,s,m]),P.useEffect(()=>()=>{p(d)},[d,p]),f.jsx(E.Box,{display:g?"unset":"none",children:e.children})}function ew(e){const t=Op(e),n=W0(e);return f.jsx(Jx,{...e,id:n,children:P.Children.map(t,r=>{const o=W0(r.props);return P.cloneElement(r,{id:`${n}.${o}`})})})}function tw(e){return f.jsx(Jx,{...e})}function Op(e){const{children:t}=e;return P.useMemo(()=>Q.chain(P.Children.toArray(t)).filter(r=>P.isValidElement(r)&&((r==null?void 0:r.type)===tw||(r==null?void 0:r.type)===ew)).map((r,o)=>P.cloneElement(r,{index:o})).value(),[t])}function oae(e){const{tabsDisposition:t,contentDisposition:n,spacing:r=2}=e,o=Q.pick(e,["syncWithLocation","errorCount"]),i=Q.omit(e,["tabsDisposition","contentDisposition","syncWithLocation"]),{top:s,bottom:l}=Qx(e),d=Op(e);return f.jsx(Mx,{...o,children:f.jsxs(zx,{...i,spacing:r,children:[f.jsxs(Zx,{disposition:t,spacing:r,children:[s,f.jsx(Gx,{}),l]}),f.jsx(Wx,{disposition:n,children:d})]})})}const zt=oae;zt.BaseForm=zx;zt.Content=Wx;zt.Provider=Mx;zt.useItems=Fx;zt.useSyncWithLocation=Lx;zt.useErrorCount=Bx;zt.useFormRootPath=_x;zt.useActiveItem=Dx;zt.useSetActiveItem=Nx;zt.useAddItem=$x;zt.useRemoveItem=Vx;zt.Sidebar=Zx;zt.SidebarSection=Xx;zt.SidebarSectionPosition=Kx;zt.useSidebarChildren=Qx;zt.NavMenu=Gx;zt.NavMenuItem=Ip;zt.useNavMenuItem=qx;zt.Tab=tw;zt.Group=ew;zt.useBaseItemChildren=Op;const iae=ge(z.Show,{slot:"root"})(({theme:e})=>({"&>.MuiToolbar-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaShow-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaShow-main>.MuiPaper-root:first-of-type":{overflow:"visible"}}));function sae(e){return f.jsx(iae,{...e})}const aae=ge(z.SimpleFormIterator,{root:"root"})(({theme:e})=>({"& .RaSimpleFormIterator-line":{paddingTop:e.spacing(1),paddingBottom:e.spacing(.5)},"& .RaSimpleFormIterator-action":{display:"flex",flexDirection:"row",alignItems:"center",mb:1.5},"& section":{width:"100%","& label":{position:"relative",overflow:"visible",transform:"none",marginLeft:0}}}));function lae(e){return f.jsx(aae,{...e})}const cae=a1(z.TabbedForm,{slot:"Root"})(({theme:e})=>({"& .MuiGrid-root.MuiGrid-container":{paddingBottom:0},[e.breakpoints.down("sm")]:{paddingBottom:0,"& .MuiTableContainer-root":{paddingBottom:e.spacing(1)}}}));function uae({children:e}){return f.jsx(f.Fragment,{children:e})}function Pp(e){const{title:t,modal:n,content:r,subheader:o,secondary:i=f.jsx(ui,{children:f.jsx(is,{})}),sx:s,noPadding:l,toolbar:d=f.jsx(gi,{children:f.jsx(z.SaveButton,{type:"button"})}),...u}=e,p=fp(t),g=E.useTheme();return f.jsx(Nn,{title:p,modal:n,content:r,subheader:o,secondary:i,sx:{...s,"& .MuiTabs-root":{m:2.5,mb:0},"& .tabbed-form > .MuiDivider-root":{ml:2.5,mr:2.5},"& .MuiToolbar-root.RaToolbar-desktopToolbar":{paddingTop:n?g.spacing(2.5):0},"& .MuiToolbar-root":{padding:g.spacing(2.5),borderTop:n?`1px solid ${g.palette.divider}`:void 0}},border:!n,divider:!0,children:f.jsx(cae,{toolbar:d,component:l?uae:void 0,...u})})}function dae({children:e,...t}){return f.jsx(z.TabbedForm.Tab,{...t,children:f.jsx(E.Box,{sx:{width:"100%",p:2.5},children:e})})}Pp.Tab=z.TabbedForm.Tab;Pp.TabStack=dae;function jp(e){const{label:t,disableAdd:n,onClick:r,inset:o}=e,i=E.useTheme(),s=i.palette.mode==="dark"?i.palette.grey.A400:i.palette.grey.A800,l=i.palette.mode==="light"?"#000000":"#FFFFFF";return f.jsxs(E.Stack,{justifyContent:"space-between",alignItems:"center",flexDirection:"row",sx:o?{p:2.5}:{pt:2},children:[t!==!1&&f.jsx(E.Typography,{children:t}),!n&&(P.isValidElement(e==null?void 0:e.customButton)?P.cloneElement(e==null?void 0:e.customButton,{onClick:r}):f.jsx(E.IconButton,{color:"secondary",sx:{border:`1px solid ${s}`},onClick:r,children:f.jsx(He.PlusCircleOutlined,{style:{color:l}})}))]})}const Rp=P.createContext(void 0);function nw(){return P.useContext(Rp)}function Bu(e){const{children:t}=e,{item:n,index:r}=nw(),[o,i]=P.useState(!1),{update:s}=z.useArrayInput(),l=z.useTranslate(),d=P.useCallback(u=>(i(!1),s(r,u),Promise.resolve()),[r,s]);return f.jsxs(f.Fragment,{children:[f.jsx(E.Button,{color:"primary",onClick:()=>i(!0),sx:{justifyContent:"flex-start"},children:l("ra.action.edit")}),f.jsx(E.Dialog,{open:o,onClose:()=>i(!1),maxWidth:"xs",fullWidth:!0,children:f.jsx(z.EditContextProvider,{value:{record:n,save:d},children:t})})]})}function rw({source:e,children:t}){const n=P.Children.only(t),{getValues:r}=fn.useFormContext(),o=z.useRecordContext({record:r()});return P.isValidElement(n)?P.cloneElement(n,{source:e,record:o}):null}function Mp(e){const{label:t,disableAdd:n,inset:r,source:o,template:i}=e,[s,l]=P.useState(!1),{append:d}=z.useArrayInput(),u=P.useCallback(()=>{l(g=>!g)},[l]),p=P.useCallback(g=>(l(!1),d(g),Promise.resolve()),[l,d]);return f.jsxs(f.Fragment,{children:[P.cloneElement(f.jsx(jp,{}),{label:t,source:o,disableAdd:n,template:i,onClick:u,inset:r}),f.jsx(E.Dialog,{open:s,onClose:u,maxWidth:"xs",children:f.jsx(te.CreateContextProvider,{value:{save:p},children:e.children})})]})}const kp=P.createContext(void 0);function ow(){return P.useContext(kp)}const iw=B.forwardRef((e,t)=>{const{children:n,disabled:r,disableRemove:o=!1,index:i,member:s,resource:l,record:d}=e,u=z.useTranslate(),{total:p,remove:g}=ow(),h=B.useCallback(()=>{g(i)},[i,g]),m=P.useMemo(()=>({index:i,total:p,item:d,remove:()=>g(i)}),[i,p,g,d]),v=P.useMemo(()=>P.Children.map(n,b=>P.isValidElement(b)&&(b==null?void 0:b.type)===Bu&&B.isValidElement(b)?b:null),[n]);return f.jsxs(Rp.Provider,{value:m,children:[P.Children.map(n,(b,x)=>{if(b.type===Bu||!P.isValidElement(b))return null;const{source:S,...I}=b.props;return f.jsx(E.TableCell,{children:P.cloneElement(b,{source:S?`${s}.${S}`:s,index:S?void 0:x,resource:l,disabled:r,...I,label:""})})}),!o&&f.jsx(E.TableCell,{children:f.jsx(E.Stack,{direction:"row",spacing:1,justifyContent:"center",alignItems:"center",children:f.jsxs(ui,{horizontal:!0,children:[f.jsx(is,{onConfirm:h,confirmContent:u("ra.message.remove_item")}),v]})})}),o&&v?f.jsx(E.TableCell,{children:f.jsx(E.Stack,{direction:"row",spacing:1,justifyContent:"center",alignItems:"center",children:f.jsx(ui,{horizontal:!0,children:v})})}):null]})});function fae(e){var Y,V;const{children:t,resource:n,source:r,label:o,disableAdd:i=!1,disableRemove:s=!1,enableClearAll:l=!1,className:d,empty:u,template:p={},addButton:g=f.jsx(jp,{}),inset:h,sx:m}=e,{fields:v,remove:b,replace:x,append:S}=z.useArrayInput(e),{resetField:I}=fn.useFormContext(),w=wt(),T=te.useTranslate(),O=P.useRef(p||{}),j=te.useTranslateLabel(),M=P.useCallback(Z=>{b(Z)},[b]);if(v.length>0){const{...Z}=v[0];O.current=Z;for(const W in O.current)O.current[W]=null}const F=P.useCallback((Z=void 0)=>{let W=Z;Z==null&&(W=O.current,P.Children.count(t)===1&&B.isValidElement(P.Children.only(t))&&!P.Children.only(t).props.source&&P.Children.map(t,K=>B.isValidElement(K)&&K.type!==te.FormDataConsumer).some(Boolean)?W="":(W=W||{},P.Children.forEach(t,K=>{B.isValidElement(K)&&K.type!==te.FormDataConsumer&&K.props.source&&(W[K.props.source]=K.props.defaultValue??null)})));const se={...W,...p};S(se),I(`${r}.${v.length}`,{defaultValue:W})},[S,t,I,r,v.length,p]);function N(Z){return W=>{F(),Z&&Z(W)}}const k=P.useCallback(()=>{x([])},[x]),_=P.useMemo(()=>({total:v.length,remove:M,source:r}),[v.length,M,r]),H=w.palette.mode==="dark"?w.palette.grey.A400:w.palette.grey.A800,U=v.length>0&&l,G=h===!0?{borderRadius:0,borderBottom:`1px solid ${w.palette.divider}`}:{mt:2,border:`1px solid ${H}`,boxShadow:w.customShadows.z0};return v?f.jsx(kp.Provider,{value:_,children:f.jsxs("div",{className:d,children:[B.cloneElement(g,{label:o,source:r,disableAdd:i,template:p,onClick:(g==null?void 0:g.type)!==Mp?N((V=(Y=e==null?void 0:e.addButton)==null?void 0:Y.props)==null?void 0:V.onClick):void 0,inset:h}),f.jsx(E.TableContainer,{component:E.Paper,sx:{...G,boxShadow:w.customShadows.z0,...m},children:f.jsxs(E.Table,{size:"small",children:[f.jsx(E.TableHead,{sx:h===!0?{}:{borderTop:0,borderBottom:`1px solid ${H}`},children:f.jsxs(E.TableRow,{children:[P.Children.map(t,(Z,W)=>{if(Z.type===Bu||!B.isValidElement(Z))return null;const se=f.jsx(E.Typography,{display:"flex",variant:"subtitle1",color:"text.primary",textTransform:"none",children:j({...Z.props,resource:n})});return f.jsx(E.TableCell,{children:Z.props.title?f.jsx(b3,{title:Z.props.title,arrow:!0,children:se}):se},W)}),!s&&U?f.jsx(E.TableCell,{sx:{display:"flex",justifyContent:"center",alignItems:"center"},children:f.jsx(ui,{horizontal:!0,children:f.jsx(is,{onConfirm:k,confirmContent:T("ra.message.clear_array_input")})})},"actions"):f.jsx(E.TableCell,{},"empty_actions")]})}),f.jsxs(E.TableBody,{children:[v.length===0&&f.jsx(E.TableRow,{sx:{"&:last-child td, &:last-child th":{border:0}},children:f.jsx(E.TableCell,{colSpan:4+(s?0:1),align:"center",children:u||f.jsx(E.Typography,{variant:"body1",color:"text.secondary",children:"-"})})}),v.length>0&&v.map((Z,W)=>f.jsx(E.TableRow,{sx:{borderBottom:0},children:f.jsx(iw,{disableRemove:s,index:W,member:`${r}.${W}`,onRemoveField:M,record:v&&v[W]||{},resource:n,source:r,children:t})},Z.id))]})]})})]})}):null}const pae=ge(fae,{slot:"Root"})(({theme:e})=>({"& > div.MuiPaper-root":{overflowX:"auto",[e.breakpoints.down("sm")]:{width:`calc(100vw - ${e.spacing(8.25)})`}},[e.breakpoints.down("sm")]:{"& .MuiTableRow-root:last-child":{borderBottom:0}}})),D3=pae;D3.CreateButton=Mp;D3.EditButton=Bu;D3.Field=rw;const sw=P.createContext(void 0);function F3(){const e=P.useContext(sw);if(!e)throw new Error("useWizardFormContext must be used within a WizardFormProvider");return e}function hae({value:e,children:t}){return f.jsx(sw.Provider,{value:e,children:t})}function gae({cancelButton:e,...t}){const{hasNextStep:n,hasPreviousStep:r,goToNextStep:o,goToPreviousStep:i}=F3(),s=te.useTranslate(),{handleSubmit:l}=fn.useFormContext(),d=P.useCallback(()=>{o()},[o]);return f.jsxs(gi,{...t,children:[f.jsx(E.Box,{sx:{"& .MuiButtonBase-root":{ml:0}},children:e?P.cloneElement(e):null}),f.jsx(E.Box,{sx:{flex:"1 1 auto"}}),r()&&f.jsx(E.Button,{variant:"text",color:"primary",onClick:i,children:s("ra.action.back")}),n()?f.jsx(E.Button,{variant:"contained",color:"primary",onClick:l(d),children:s("ra.action.next")}):f.jsx(z.SaveButton,{})]})}const mae=E.styled(E.Stepper,{shouldForwardProp:e=>e!=="isHorizontal"})(({theme:e,isHorizontal:t})=>({paddingBottom:e.spacing(2),display:"flex",justifyContent:t?"space-between":"flex-start",".MuiStep-root":{flex:t?1:"none",maxWidth:t?"none":"100%",display:"flex",justifyContent:t?"center":"flex-start"},".MuiStepConnector-line.MuiStepConnector-lineVertical":{minHeight:12},".MuiStepConnector-vertical":{marginLeft:14.5},".MuiStepConnector-horizontal":{marginLeft:-10}})),vae=E.styled(E.Box)(({theme:e,ownerState:t})=>({backgroundColor:t.error?e.palette.error.main:t.completed||t.active?e.palette.primary.main:e.palette.mode==="dark"?e.palette.grey[200]:e.palette.grey[400],zIndex:1,color:e.palette.common.white,width:30,height:30,display:"flex",borderRadius:"50%",justifyContent:"center",alignItems:"center"}));function yae({completed:e,active:t,error:n,icon:r,className:o}){return f.jsx(vae,{ownerState:{completed:e,active:t,error:n},className:o,children:n?"!":r})}function bae({isHorizontal:e,setCurrentStep:t,stepFields:n}){const{currentStep:r,steps:o}=F3(),{errors:i}=fn.useFormState();function s(l){l<=r&&t(l)}return f.jsx(mae,{activeStep:r,orientation:e?"horizontal":"vertical",isHorizontal:e,sx:{p:3,mt:1},children:o.map((l,d)=>{const u=n[d].some(h=>Q.get(i,h)),{label:p,icon:g}=l.props;return f.jsx(E.Step,{children:f.jsx(E.StepLabel,{StepIconComponent:yae,error:u,icon:g,onClick:()=>s(d),style:{cursor:d<=r?"pointer":"default"},children:e?null:p})},d)})})}function Cae({title:e,subheader:t,secondary:n,toolbar:r,progress:o,isSmall:i,modal:s,sx:l,setCurrentStep:d}){const{currentStep:u,steps:p}=F3(),g=z.useTranslate(),h=E.useTheme(),m=i||s,v=P.useMemo(()=>r?P.Children.toArray(r.props.children).find(x=>{var S;return P.isValidElement(x)&&x.type===E.Button&&((S=x.props)==null?void 0:S.children)===g("ra.action.cancel")}):null,[r,g]),b=p.map(x=>{const S=[],{sources:I}=x.props;return I!==void 0?S.push(...I):R3(x,w=>{var T;((T=w==null?void 0:w.props)==null?void 0:T.source)!==void 0&&S.push(w.props.source)}),S});return f.jsxs(E.Grid,{container:!0,spacing:2,sx:l,children:[f.jsx(E.Grid,{item:!0,xl:s?12:2,lg:s?12:3,md:s?12:3,sm:s?12:4,xs:12,children:o||f.jsx(bae,{isHorizontal:m,setCurrentStep:d,stepFields:b})}),s?f.jsx(E.Divider,{sx:{width:"100%"}}):null,f.jsx(E.Grid,{item:!0,xl:s?12:10,lg:s?12:9,md:s?12:9,sm:s?12:8,xs:12,sx:{paddingTop:s?"0 !important":null},children:f.jsxs(Nn,{title:e||p[u].props.label,subheader:t,secondary:n,border:!s,divider:!0,children:[f.jsx(E.Box,{children:p[u]}),f.jsx(E.Box,{sx:{"& .MuiToolbar-root":{paddingLeft:0,paddingRight:0,paddingBottom:0,paddingTop:h.spacing(2)}},children:r&&!v?r:f.jsx(gae,{cancelButton:v})})]})})]})}const xae=E.styled(z.Form,{shouldForwardProp:e=>e!=="modal"})(({theme:e,modal:t})=>({[e.breakpoints.down("sm")]:t?{}:{paddingBottom:`${e.spacing(2.5)}`}}));function aw({children:e,toolbar:t,progress:n,title:r,subheader:o=null,secondary:i=null,sx:s,modal:l=!1,...d}){const[u,p]=P.useState(0),g=P.Children.toArray(e),h=E.useMediaQuery(I=>I.breakpoints.down("sm"));function m(){return u<g.length-1}function v(){return u>0}function b(){p(I=>Math.min(I+1,g.length-1))}function x(){p(I=>Math.max(I-1,0))}const S={currentStep:u,steps:g,hasNextStep:m,hasPreviousStep:v,goToNextStep:b,goToPreviousStep:x};return f.jsx(hae,{value:S,children:f.jsx(xae,{...d,modal:l,children:f.jsx(Cae,{title:r,subheader:o,secondary:i,modal:l,sx:s,toolbar:t,progress:n,isSmall:h,setCurrentStep:p})})})}function wae({children:e}){return f.jsx(f.Fragment,{children:e})}aw.Step=wae;function Sae(e,t){const n=Q.clone(e),{type:r,payload:o}=t;switch(r){case"updateMedia":{const i=Q.chain(n.media).clone().extend(o).value();return Q.extend(n,{media:i})}case"updateDrawer":{const i=Q.chain(n.drawer).clone().extend(o).value();return Q.extend(n,{drawer:i})}case"updateLogo":{const i=Q.chain(n.logo).clone().extend(o).value();return Q.extend(n,{logo:i})}case"updateNotifications":{const i=Q.chain(n.notifications).clone().extend(o).value();return Q.extend(n,{notifications:i})}case"updateTheme":{const i=Q.chain(n.theme).clone().extend(o).value();return Q.extend(n,{theme:i})}default:return n}}const Aae={drawer:{open:!0,width:260,handleDrawerToggle:()=>{}},media:{downMd:!1,downLg:!1,downXl:!1,horizontal:!1},logo:{},notifications:{enable:!0,resource:"entities/notification"},theme:{iconColor:"grey.300",iconColorOpen:"grey.100"}},lw=P.createContext(void 0);function cw(e){var k;const t=te.useAuthProvider(),n=te.useGetIdentity(),r=E.useTheme(),o=E.useMediaQuery(r.breakpoints.down("md")),i=E.useMediaQuery(r.breakpoints.down("lg")),s=E.useMediaQuery(r.breakpoints.down("xl")),{miniDrawer:l,isHorizontalLayout:d,themeDirection:u,drawerWidth:p}=hp(),g=d(u)&&!i,{drawerOpen:h,openDrawer:m}=I3(),v=P.useCallback(()=>{m(!h)},[h,m]),[b,x]=P.useState(!1),[S,I]=P.useReducer(Sae,Q.chain(Aae).clone().merge({drawer:{open:!l||h}}).value()),w=P.useCallback(()=>x(!1),[]),T=P.useMemo(()=>({state:S,dispatch:I}),[S,I]),{logoIcon:O,logoMain:j,enableNotification:M,notification:F}=e,N=z.useLoading();return P.useEffect(()=>{I({type:"updateMedia",payload:{downMd:o,downLg:i,downXl:s,horizontal:g}})},[o,i,s,g]),P.useEffect(()=>{I({type:"updateDrawer",payload:{open:h,width:p,handleDrawerToggle:v}})},[h,p,v]),P.useEffect(()=>{l||m(!s)},[s,l]),P.useEffect(()=>{I({type:"updateLogo",payload:{main:j,icon:O}})},[O,j]),P.useEffect(()=>{I({type:"updateNotifications",payload:{enable:M,resource:F??"entities/notification"}})},[M,F]),P.useEffect(()=>{I({type:"updateTheme",payload:{iconColorOpen:r.palette.mode==="dark"?"grey.200":"grey.300",iconColor:r.palette.mode==="dark"?"background.default":"grey.100"}})},[r.palette.mode]),P.useEffect(()=>{if(!N){if(!t.isImpersonating){console.warn("authProvider does not contain a method called isImpersonating",t);return}t==null||t.isImpersonating().then(_=>{var H;x(!_&&((H=n==null?void 0:n.data)==null?void 0:H.needToChangePassword)===!0)})}},[(k=n==null?void 0:n.data)==null?void 0:k.needToChangePassword,t,N]),f.jsxs(lw.Provider,{value:T,children:[f.jsx(E.Dialog,{open:b,maxWidth:"xs",fullWidth:!0,children:f.jsx(Ep,{onSuccess:w,firstAccess:!0})}),e.children]})}function uw(e){return P.forwardRef((t,n)=>{const{logoIcon:r,logoMain:o,enableNotification:i,notification:s}=t;return f.jsx(cw,{logoIcon:r,logoMain:o,enableNotification:i,notification:s,children:f.jsx(e,{ref:n,...t})})})}function _p(){const e=P.useContext(lw);if(e===void 0)throw new Error("[Layout] useLayoutContext: context undefined. Please provide a valid LayoutContext using LayoutProvider");return e}function Eae(){return _p().dispatch}function Pa(){return _p().state}function ir(){return Pa().media}function as(){return Pa().drawer}function dw(){return Pa().logo}function L3(){return Pa().notifications}function Tae(){return Pa().theme}function fw(e){const{width:t}=as(),{horizontal:n}=ir(),{container:r}=jn(),[o,i]=P.useState(null);function s(d,u){i(u)}const l=wt();return f.jsx(hJ,{onError:s,fallbackRender:({error:d,resetErrorBoundary:u})=>f.jsx(ep,{error:d,errorComponent:e.error,errorInfo:o,resetErrorBoundary:u}),children:f.jsx(P.Suspense,{fallback:f.jsx(qb,{}),children:f.jsxs(E.Box,{component:"main",sx:{width:`calc(100% - ${t}px)`,flexGrow:1,p:{xs:0,sm:2,lg:1},pt:{lg:2}},children:[f.jsx(E.Toolbar,{sx:{mt:n?8:"inherit"}})," ",f.jsx(E.Container,{maxWidth:r?"xl":!1,sx:{...r&&{px:{xs:0,sm:2}},position:"relative",minHeight:"calc(100vh - 110px)",display:"flex",flexDirection:"column",[l.breakpoints.down("sm")]:{px:"12px"}},children:e.children})]})})})}const pw=ge(E.Box,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>({...e.mixins.toolbar,display:"flex",alignItems:"center",justifyContent:t?"flex-start":"center",paddingLeft:e.spacing(t?3:0)}));function hw({isIcon:e,sx:t,to:n,logoIcon:r,logoMain:o}){const{appDefaultPath:i}=jn();return f.jsx(E.ButtonBase,{disableRipple:!0,component:ut.Link,to:n||i,sx:t,children:e?r:o})}function gw(e){const t=E.useTheme(),{horizontal:n}=ir(),{open:r}=as(),{icon:o,main:i}=dw(),s=$r(e,{minHeight:n?"unset":"60px",width:n?{xs:"100%",lg:"424px"}:"inherit",paddingTop:n?{xs:"10px",lg:"0"}:"8px",paddingBottom:n?{xs:"18px",lg:"0"}:"8px",paddingLeft:n?{xs:"24px",lg:"0"}:r?"24px":0});return f.jsx(pw,{theme:t,open:r,sx:s,children:f.jsx(hw,{to:"/",isIcon:!r,sx:{width:r?"auto":35,height:35},logoMain:i,logoIcon:o})})}function Xm(e,t){return{width:t,borderRight:`1px solid ${e.palette.divider}`,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),overflowX:"hidden",boxShadow:e.palette.mode==="dark"?e.customShadows.z1:"none"}}function Qm(e){return{transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:e.spacing(7.5),borderRight:"none",boxShadow:e.customShadows.z1}}const Iae=ge(E.Drawer,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=jn();return{width:n,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box",...t&&{...Xm(e,n),"& .MuiDrawer-paper":Xm(e,n)},...!t&&{...Qm(e),"& .MuiDrawer-paper":Qm(e)}}});var Ae={},U0={exports:{}};(function(e,t){(function(n,r){var o="1.0.39",i="",s="?",l="function",d="undefined",u="object",p="string",g="major",h="model",m="name",v="type",b="vendor",x="version",S="architecture",I="console",w="mobile",T="tablet",O="smarttv",j="wearable",M="embedded",F=500,N="Amazon",k="Apple",_="ASUS",H="BlackBerry",U="Browser",G="Chrome",Y="Edge",V="Firefox",Z="Google",W="Huawei",se="LG",K="Microsoft",$="Motorola",ne="Opera",oe="Samsung",J="Sharp",ce="Sony",fe="Xiaomi",be="Zebra",ue="Facebook",ye="Chromium OS",Ce="Mac OS",Ee=" Browser",me=function(Pe,Re){var Ie={};for(var xe in Pe)Re[xe]&&Re[xe].length%2===0?Ie[xe]=Re[xe].concat(Pe[xe]):Ie[xe]=Pe[xe];return Ie},je=function(Pe){for(var Re={},Ie=0;Ie<Pe.length;Ie++)Re[Pe[Ie].toUpperCase()]=Pe[Ie];return Re},ve=function(Pe,Re){return typeof Pe===p?qe(Re).indexOf(qe(Pe))!==-1:!1},qe=function(Pe){return Pe.toLowerCase()},Ft=function(Pe){return typeof Pe===p?Pe.replace(/[^\d\.]/g,i).split(".")[0]:r},bt=function(Pe,Re){if(typeof Pe===p)return Pe=Pe.replace(/^\s\s*/,i),typeof Re===d?Pe:Pe.substring(0,F)},st=function(Pe,Re){for(var Ie=0,xe,vt,Ct,De,Oe,Yt;Ie<Re.length&&!Oe;){var Sn=Re[Ie],Hn=Re[Ie+1];for(xe=vt=0;xe<Sn.length&&!Oe&&Sn[xe];)if(Oe=Sn[xe++].exec(Pe),Oe)for(Ct=0;Ct<Hn.length;Ct++)Yt=Oe[++vt],De=Hn[Ct],typeof De===u&&De.length>0?De.length===2?typeof De[1]==l?this[De[0]]=De[1].call(this,Yt):this[De[0]]=De[1]:De.length===3?typeof De[1]===l&&!(De[1].exec&&De[1].test)?this[De[0]]=Yt?De[1].call(this,Yt,De[2]):r:this[De[0]]=Yt?Yt.replace(De[1],De[2]):r:De.length===4&&(this[De[0]]=Yt?De[3].call(this,Yt.replace(De[1],De[2])):r):this[De]=Yt||r;Ie+=2}},sn=function(Pe,Re){for(var Ie in Re)if(typeof Re[Ie]===u&&Re[Ie].length>0){for(var xe=0;xe<Re[Ie].length;xe++)if(ve(Re[Ie][xe],Pe))return Ie===s?r:Ie}else if(ve(Re[Ie],Pe))return Ie===s?r:Ie;return Re.hasOwnProperty("*")?Re["*"]:Pe},mt={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Ke={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},kt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[x,[m,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[x,[m,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[m,x],[/opios[\/ ]+([\w\.]+)/i],[x,[m,ne+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[x,[m,ne+" GX"]],[/\bopr\/([\w\.]+)/i],[x,[m,ne]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[x,[m,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[m,x],[/quark(?:pc)?\/([-\w\.]+)/i],[x,[m,"Quark"]],[/\bddg\/([\w\.]+)/i],[x,[m,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[x,[m,"UC"+U]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[x,[m,"WeChat"]],[/konqueror\/([\w\.]+)/i],[x,[m,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[x,[m,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[x,[m,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[x,[m,"Smart Lenovo "+U]],[/(avast|avg)\/([\w\.]+)/i],[[m,/(.+)/,"$1 Secure "+U],x],[/\bfocus\/([\w\.]+)/i],[x,[m,V+" Focus"]],[/\bopt\/([\w\.]+)/i],[x,[m,ne+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[x,[m,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[x,[m,"Dolphin"]],[/coast\/([\w\.]+)/i],[x,[m,ne+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[x,[m,"MIUI "+U]],[/fxios\/([-\w\.]+)/i],[x,[m,V]],[/\bqihu|(qi?ho?o?|360)browser/i],[[m,"360"+Ee]],[/\b(qq)\/([\w\.]+)/i],[[m,/(.+)/,"$1Browser"],x],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[m,/(.+)/,"$1"+Ee],x],[/samsungbrowser\/([\w\.]+)/i],[x,[m,oe+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[m,/_/g," "],x],[/metasr[\/ ]?([\d\.]+)/i],[x,[m,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[m,"Sogou Mobile"],x],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[m,x],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[m],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[m,ue],x],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[m,x],[/\bgsa\/([\w\.]+) .*safari\//i],[x,[m,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[x,[m,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[x,[m,G+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[m,G+" WebView"],x],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[x,[m,"Android "+U]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[m,x],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[x,[m,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[x,m],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[m,[x,sn,mt]],[/(webkit|khtml)\/([\w\.]+)/i],[m,x],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[m,"Netscape"],x],[/(wolvic)\/([\w\.]+)/i],[m,x],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[x,[m,V+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[m,[x,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[m,[x,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[S,"amd64"]],[/(ia32(?=;))/i],[[S,qe]],[/((?:i[346]|x)86)[;\)]/i],[[S,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[S,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[S,"armhf"]],[/windows (ce|mobile); ppc;/i],[[S,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[S,/ower/,i,qe]],[/(sun4\w)[;\)]/i],[[S,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[S,qe]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[h,[b,oe],[v,T]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[h,[b,oe],[v,w]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[h,[b,k],[v,w]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[h,[b,k],[v,T]],[/(macintosh);/i],[h,[b,k]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[h,[b,J],[v,w]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[h,[b,W],[v,T]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[h,[b,W],[v,w]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[h,/_/g," "],[b,fe],[v,w]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[h,/_/g," "],[b,fe],[v,T]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[h,[b,"OPPO"],[v,w]],[/\b(opd2\d{3}a?) bui/i],[h,[b,"OPPO"],[v,T]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[h,[b,"Vivo"],[v,w]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[h,[b,"Realme"],[v,w]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[h,[b,$],[v,w]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[h,[b,$],[v,T]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[h,[b,se],[v,T]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[h,[b,se],[v,w]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[h,[b,"Lenovo"],[v,T]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[h,/_/g," "],[b,"Nokia"],[v,w]],[/(pixel c)\b/i],[h,[b,Z],[v,T]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[h,[b,Z],[v,w]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[h,[b,ce],[v,w]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[h,"Xperia Tablet"],[b,ce],[v,T]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[h,[b,"OnePlus"],[v,w]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[h,[b,N],[v,T]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[h,/(.+)/g,"Fire Phone $1"],[b,N],[v,w]],[/(playbook);[-\w\),; ]+(rim)/i],[h,b,[v,T]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[h,[b,H],[v,w]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[h,[b,_],[v,T]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[h,[b,_],[v,w]],[/(nexus 9)/i],[h,[b,"HTC"],[v,T]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[b,[h,/_/g," "],[v,w]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[h,[b,"TCL"],[v,T]],[/(itel) ((\w+))/i],[[b,qe],h,[v,sn,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[h,[b,"Acer"],[v,T]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[h,[b,"Meizu"],[v,w]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[h,[b,"Ulefone"],[v,w]],[/droid.+; (a(?:015|06[35]|142p?))/i],[h,[b,"Nothing"],[v,w]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[b,h,[v,w]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[b,h,[v,T]],[/(surface duo)/i],[h,[b,K],[v,T]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[h,[b,"Fairphone"],[v,w]],[/(u304aa)/i],[h,[b,"AT&T"],[v,w]],[/\bsie-(\w*)/i],[h,[b,"Siemens"],[v,w]],[/\b(rct\w+) b/i],[h,[b,"RCA"],[v,T]],[/\b(venue[\d ]{2,7}) b/i],[h,[b,"Dell"],[v,T]],[/\b(q(?:mv|ta)\w+) b/i],[h,[b,"Verizon"],[v,T]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[h,[b,"Barnes & Noble"],[v,T]],[/\b(tm\d{3}\w+) b/i],[h,[b,"NuVision"],[v,T]],[/\b(k88) b/i],[h,[b,"ZTE"],[v,T]],[/\b(nx\d{3}j) b/i],[h,[b,"ZTE"],[v,w]],[/\b(gen\d{3}) b.+49h/i],[h,[b,"Swiss"],[v,w]],[/\b(zur\d{3}) b/i],[h,[b,"Swiss"],[v,T]],[/\b((zeki)?tb.*\b) b/i],[h,[b,"Zeki"],[v,T]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[b,"Dragon Touch"],h,[v,T]],[/\b(ns-?\w{0,9}) b/i],[h,[b,"Insignia"],[v,T]],[/\b((nxa|next)-?\w{0,9}) b/i],[h,[b,"NextBook"],[v,T]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[b,"Voice"],h,[v,w]],[/\b(lvtel\-)?(v1[12]) b/i],[[b,"LvTel"],h,[v,w]],[/\b(ph-1) /i],[h,[b,"Essential"],[v,w]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[h,[b,"Envizen"],[v,T]],[/\b(trio[-\w\. ]+) b/i],[h,[b,"MachSpeed"],[v,T]],[/\btu_(1491) b/i],[h,[b,"Rotor"],[v,T]],[/(shield[\w ]+) b/i],[h,[b,"Nvidia"],[v,T]],[/(sprint) (\w+)/i],[b,h,[v,w]],[/(kin\.[onetw]{3})/i],[[h,/\./g," "],[b,K],[v,w]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[h,[b,be],[v,T]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[h,[b,be],[v,w]],[/smart-tv.+(samsung)/i],[b,[v,O]],[/hbbtv.+maple;(\d+)/i],[[h,/^/,"SmartTV"],[b,oe],[v,O]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[b,se],[v,O]],[/(apple) ?tv/i],[b,[h,k+" TV"],[v,O]],[/crkey/i],[[h,G+"cast"],[b,Z],[v,O]],[/droid.+aft(\w+)( bui|\))/i],[h,[b,N],[v,O]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[h,[b,J],[v,O]],[/(bravia[\w ]+)( bui|\))/i],[h,[b,ce],[v,O]],[/(mitv-\w{5}) bui/i],[h,[b,fe],[v,O]],[/Hbbtv.*(technisat) (.*);/i],[b,h,[v,O]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[b,bt],[h,bt],[v,O]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[v,O]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[b,h,[v,I]],[/droid.+; (shield) bui/i],[h,[b,"Nvidia"],[v,I]],[/(playstation [345portablevi]+)/i],[h,[b,ce],[v,I]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[h,[b,K],[v,I]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[h,[b,oe],[v,j]],[/((pebble))app/i],[b,h,[v,j]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[h,[b,k],[v,j]],[/droid.+; (glass) \d/i],[h,[b,Z],[v,j]],[/droid.+; (wt63?0{2,3})\)/i],[h,[b,be],[v,j]],[/(quest( \d| pro)?)/i],[h,[b,ue],[v,j]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[b,[v,M]],[/(aeobc)\b/i],[h,[b,N],[v,M]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[h,[v,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[h,[v,T]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[v,T]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[v,w]],[/(android[-\w\. ]{0,9});.+buil/i],[h,[b,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[x,[m,Y+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[x,[m,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[m,x],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[x,m]],os:[[/microsoft (windows) (vista|xp)/i],[m,x],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[m,[x,sn,Ke]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[x,sn,Ke],[m,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[x,/_/g,"."],[m,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[m,Ce],[x,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[x,m],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[m,x],[/\(bb(10);/i],[x,[m,H]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[x,[m,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[x,[m,V+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[x,[m,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[x,[m,"watchOS"]],[/crkey\/([\d\.]+)/i],[x,[m,G+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[m,ye],x],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[m,x],[/(sunos) ?([\w\.\d]*)/i],[[m,"Solaris"],x],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[m,x]]},tt=function(Pe,Re){if(typeof Pe===u&&(Re=Pe,Pe=r),!(this instanceof tt))return new tt(Pe,Re).getResult();var Ie=typeof n!==d&&n.navigator?n.navigator:r,xe=Pe||(Ie&&Ie.userAgent?Ie.userAgent:i),vt=Ie&&Ie.userAgentData?Ie.userAgentData:r,Ct=Re?me(kt,Re):kt,De=Ie&&Ie.userAgent==xe;return this.getBrowser=function(){var Oe={};return Oe[m]=r,Oe[x]=r,st.call(Oe,xe,Ct.browser),Oe[g]=Ft(Oe[x]),De&&Ie&&Ie.brave&&typeof Ie.brave.isBrave==l&&(Oe[m]="Brave"),Oe},this.getCPU=function(){var Oe={};return Oe[S]=r,st.call(Oe,xe,Ct.cpu),Oe},this.getDevice=function(){var Oe={};return Oe[b]=r,Oe[h]=r,Oe[v]=r,st.call(Oe,xe,Ct.device),De&&!Oe[v]&&vt&&vt.mobile&&(Oe[v]=w),De&&Oe[h]=="Macintosh"&&Ie&&typeof Ie.standalone!==d&&Ie.maxTouchPoints&&Ie.maxTouchPoints>2&&(Oe[h]="iPad",Oe[v]=T),Oe},this.getEngine=function(){var Oe={};return Oe[m]=r,Oe[x]=r,st.call(Oe,xe,Ct.engine),Oe},this.getOS=function(){var Oe={};return Oe[m]=r,Oe[x]=r,st.call(Oe,xe,Ct.os),De&&!Oe[m]&&vt&&vt.platform&&vt.platform!="Unknown"&&(Oe[m]=vt.platform.replace(/chrome os/i,ye).replace(/macos/i,Ce)),Oe},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return xe},this.setUA=function(Oe){return xe=typeof Oe===p&&Oe.length>F?bt(Oe,F):Oe,this},this.setUA(xe),this};tt.VERSION=o,tt.BROWSER=je([m,x,g]),tt.CPU=je([S]),tt.DEVICE=je([h,b,v,I,w,O,T,j,M]),tt.ENGINE=tt.OS=je([m,x]),e.exports&&(t=e.exports=tt),t.UAParser=tt;var ot=typeof n!==d&&(n.jQuery||n.Zepto);if(ot&&!ot.ua){var St=new tt;ot.ua=St.getResult(),ot.ua.get=function(){return St.getUA()},ot.ua.set=function(Pe){St.setUA(Pe);var Re=St.getResult();for(var Ie in Re)ot.ua[Ie]=Re[Ie]}}})(typeof window=="object"?window:Pn)})(U0,U0.exports);var Oae=U0.exports;Object.defineProperty(Ae,"__esModule",{value:!0});function Pae(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var xn=P,Et=Pae(xn),mw=Oae,mi=new mw,wn=mi.getBrowser(),jae=mi.getCPU(),sr=mi.getDevice(),Dp=mi.getEngine(),vi=mi.getOS(),h1=mi.getUA(),vw=function(t){return mi.setUA(t)},g1=function(t){if(!t){console.error("No userAgent string was provided");return}var n=new mw(t);return{UA:n,browser:n.getBrowser(),cpu:n.getCPU(),device:n.getDevice(),engine:n.getEngine(),os:n.getOS(),ua:n.getUA(),setUserAgent:function(o){return n.setUA(o)}}},yw=Object.freeze({ClientUAInstance:mi,browser:wn,cpu:jae,device:sr,engine:Dp,os:vi,ua:h1,setUa:vw,parseUserAgent:g1});function Jm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Rae(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Jm(Object(n),!0).forEach(function(r){Dae(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jm(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Il(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Il=function(t){return typeof t}:Il=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Il(e)}function Mae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _ae(e,t,n){return t&&kae(e.prototype,t),e}function Dae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H0(){return H0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H0.apply(this,arguments)}function Fae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q0(e,t)}function G0(e){return G0=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},G0(e)}function q0(e,t){return q0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},q0(e,t)}function Lae(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function jr(e,t){if(e==null)return{};var n=Lae(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Yc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bae(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Yc(e)}function Nae(e,t){return $ae(e)||Vae(e,t)||zae(e,t)||Wae()}function $ae(e){if(Array.isArray(e))return e}function Vae(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,s,l;try{for(n=n.call(e);!(o=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));o=!0);}catch(d){i=!0,l=d}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw l}}return r}}function zae(e,t){if(e){if(typeof e=="string")return e9(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e9(e,t)}}function e9(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Wae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
624
+ 84 21 143 -17 18 -31 22 -78 22 -49 0 -61 -4 -88 -29z`,fill:"currentColor"})]})})}function Lie({width:e=250,height:t=250,className:n=""}){return f.jsxs("svg",{width:e,height:t,viewBox:"0 0 2134 2134",className:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M1045.33 52.933C1017.87 55.733 987.333 72.133 969.466 93.733C960.533 104.533 961.199 103.733 956.666 111.333C953.066 117.2 952.666 119.2 952.666 128.666C952.666 138.666 952.933 139.733 957.199 145.733C959.733 149.2 966.666 155.733 972.533 160.266C989.999 173.466 999.066 183.733 1003.6 194.933C1006.93 203.733 1007.33 206.133 1007.2 220C1007.2 232 1006.4 237.6 1004.13 245.333C997.733 266.266 997.733 266.266 1019.6 263.466C1049.47 259.6 1074.4 253.333 1089.73 245.866C1109.87 236.133 1125.2 220 1132.53 200.666C1136 191.466 1136.27 189.6 1135.73 176.933C1135.2 165.066 1134.53 161.866 1131.07 154.533C1125.47 142.533 1120.67 137.6 1100.53 122.533C1076.27 104.666 1071.6 97.1996 1066.67 69.5996C1063.47 51.733 1062.8 51.0663 1045.33 52.933ZM1055.87 61.733C1056.67 62.7996 1058.13 68.2663 1059.33 73.9996C1061.33 84.6663 1064.8 95.1996 1069.2 103.733C1071.87 108.933 1086 123.2 1092.67 127.333C1098 130.666 1110.4 141.066 1114.93 146C1116.93 148.133 1120.27 153.333 1122.27 157.333C1125.73 164 1126 165.866 1126 179.333C1126 192.933 1125.73 194.666 1121.87 202.666C1119.6 207.466 1115.33 214.4 1112.27 218.133C1106.67 225.2 1092.13 235.866 1083.2 239.333C1080.27 240.533 1077.07 241.866 1076 242.533C1074.8 243.2 1071.2 244.133 1068 244.666C1064.67 245.2 1059.73 246.533 1056.8 247.466C1054 248.533 1048.27 249.866 1044.13 250.666C1040 251.333 1032.13 252.933 1026.67 254C1021.2 255.066 1015.6 256 1014.27 256C1011.2 256 1010 252.533 1011.87 248.933C1015.47 241.866 1017.07 216.8 1014.53 203.6C1011.33 186.133 1004.4 176.133 984.266 159.866C965.333 144.666 962.133 141.2 960.133 133.733C958.399 127.466 960.266 117.2 963.466 114.533C964.533 113.733 965.333 112.266 965.333 111.333C965.333 108.533 986.799 86.6663 994.933 81.1996C1009.73 71.4663 1026 64.933 1044.67 61.333C1052.8 59.733 1054.27 59.8663 1055.87 61.733Z",fill:"currentColor"}),f.jsx("path",{d:"M672 182C669.333 185.2 671.733 186.4 682.666 186.933C691.066 187.333 693.6 188 698.666 191.333C705.466 196 711.333 204 712.8 210.666C713.333 213.2 713.866 227.333 713.866 242C714 274.266 714.4 275.466 731.466 293.333C737.6 299.866 743.2 306.666 743.866 308.4C744.533 310.133 744.8 315.333 744.4 319.733C743.466 329.6 745.6 333.6 753.066 336.666C762.933 340.8 768 348.4 768 358.8C768 362.266 768.533 365.466 769.2 365.866C772.666 368.133 777.333 361.733 777.333 354.933C777.2 348.133 770.533 336.933 763.733 332.4C760.266 330.133 756.666 328 755.866 327.733C754.8 327.333 753.866 322.533 753.333 315.2C752.4 301.733 750.533 298.266 738.666 287.6C724 274.4 720.933 265.6 722.133 240.4C723.733 207.6 718 193.066 699.733 183.866C693.466 180.666 690.4 180 682.933 180C676.133 180 673.2 180.533 672 182Z",fill:"currentColor"}),f.jsx("path",{d:"M896.8 223.066C891.333 231.2 889.2 244.4 891.866 252.8C892.533 254.933 895.066 262.933 897.333 270.4C904.666 294.266 902.133 303.333 883.866 317.2C873.866 324.8 872.266 326.533 867.2 335.333C863.733 341.466 863.333 343.066 863.333 354.666C863.466 366.666 863.6 367.733 867.733 374.266C872 380.933 875.866 383.733 878.666 382C880.8 380.666 880.133 374.666 877.466 371.066C873.333 365.866 871.2 354.266 873.066 347.066C875.066 339.733 881.466 331.066 890.133 324.266C904.266 313.066 910.666 302.8 910.666 291.2C910.666 285.866 908 274.133 904.133 262.666C898.666 246.533 898.266 242.666 901.333 234C906.133 220.533 906.133 220 902.133 220C900 220 898 221.2 896.8 223.066Z",fill:"currentColor"}),f.jsx("path",{d:"M1431.33 248.133C1429.87 248.933 1422.13 256.4 1414 264.533C1379.87 299.467 1350.13 321.333 1313.33 339.067C1281.73 354.267 1246.67 364.667 1216 368.133C1187.33 371.333 1186.8 371.6 1192.53 383.6C1199.73 398.267 1211.2 414 1226 429.067C1250 453.867 1252.4 454.533 1292.4 450.667C1308 449.2 1330.13 446.4 1341.73 444.533C1380.8 438.4 1436.53 424.667 1446.93 418.667C1448.27 417.867 1450 417.333 1450.8 417.333C1452.53 417.333 1457.87 415.067 1476 406.267C1510.67 389.6 1542.8 362.133 1560.53 334.133C1563.73 329.2 1561.73 325.333 1554.13 321.6C1551.2 320.133 1545.07 317.2 1540.67 315.067C1504.8 297.733 1475.87 278.933 1454 258.533C1440.93 246.4 1437.47 244.8 1431.33 248.133ZM1447.07 263.733C1451.6 268 1458.4 273.867 1462 276.667C1465.73 279.6 1469.87 283.067 1471.2 284.267C1478 290.4 1499.87 303.733 1524.67 316.667C1531.33 320.133 1539.6 324.533 1543.33 326.533C1546.93 328.4 1550.13 331.067 1550.4 332.267C1551.07 335.867 1537.6 351.733 1524.53 362.667C1518 368.133 1511.87 373.467 1510.8 374.4C1504.13 380.8 1468.13 401.067 1455.07 405.867C1452.27 406.8 1444.27 409.867 1437.07 412.4C1416.8 419.867 1381.2 429.067 1348.67 435.2C1314.67 441.6 1267.07 446.267 1258.67 444C1251.47 442 1242.93 435.333 1227.87 420C1215.6 407.467 1200 386.267 1200 382.267C1200 378.667 1203.33 377.6 1220.67 375.333C1246.27 372.133 1274 364.8 1297.33 355.333C1308.27 350.933 1334 338 1338.8 334.533C1340.8 333.2 1342.8 332 1343.33 332C1343.73 332 1346.13 330.533 1348.53 328.667C1350.93 326.8 1353.33 325.333 1353.87 325.333C1357.07 325.333 1394.8 294.133 1412.67 276.8C1424.4 265.467 1435.07 256.133 1436.4 256.133C1437.73 256 1442.53 259.467 1447.07 263.733Z",fill:"currentColor"}),f.jsx("path",{d:"M1422.67 316.933C1422.67 319.067 1435.47 330.4 1439.33 331.867C1440.13 332.133 1441.6 333.067 1442.67 334C1447.87 338.267 1464.67 345.733 1476.67 349.2C1491.87 353.467 1495.2 353.867 1497.33 351.333C1499.07 349.333 1498.93 348.667 1496.27 346.667C1494.67 345.2 1489.87 343.467 1485.6 342.667C1475.07 340.533 1463.6 336.4 1452.67 330.933C1442.67 326 1432 319.067 1430.27 316.267C1428.53 313.733 1422.67 314.267 1422.67 316.933Z",fill:"currentColor"}),f.jsx("path",{d:"M1354.67 350.533C1354.67 354.133 1365.33 365.466 1376.27 373.466C1387.47 381.6 1397.33 386.666 1410.8 391.2C1419.47 394.133 1420.93 394.266 1422.67 392.533C1424.13 391.066 1424.27 390 1423.2 388.4C1421.47 385.6 1420.4 385.066 1408.13 381.2C1395.2 377.066 1377.87 366.8 1366.67 356.266C1357.2 347.6 1354.67 346.4 1354.67 350.533Z",fill:"currentColor"}),f.jsx("path",{d:"M1293.33 369.2C1293.33 372.933 1305.2 387.866 1313.6 394.666C1322.27 401.6 1336.93 410 1342.4 411.333C1345.07 411.866 1346.8 411.466 1348 410C1350.4 407.066 1348.4 405.333 1334.13 398C1321.47 391.6 1305.87 378.8 1300.67 370.266C1298 366.133 1293.33 365.333 1293.33 369.2Z",fill:"currentColor"}),f.jsx("path",{d:"M1249.33 385.6C1249.2 390.4 1260.13 408 1269.2 417.466C1278.93 428 1282.27 429.733 1285.33 426C1287.6 423.2 1286.27 420.666 1279.73 416C1276.53 413.733 1271.73 409.066 1268.93 405.6C1266.27 402.133 1263.33 398.666 1262.67 397.733C1261.87 396.8 1260.67 394.4 1259.73 392.4C1258.8 390.4 1257.33 387.6 1256.27 386.266C1254 383.6 1249.33 383.2 1249.33 385.6Z",fill:"currentColor"}),f.jsx("path",{d:"M1005.33 316.666C1004.4 317.733 1002.93 318.666 1002.13 318.666C999.333 318.666 987.333 325.6 982.933 329.866C975.466 336.8 974.133 340.533 973.999 354.8C973.866 366.266 973.466 368 970.533 371.733C968.799 374 963.599 377.866 959.066 380.266C952.666 383.6 950.666 385.333 950.666 387.6C950.666 393.866 959.599 392.266 971.066 384C980.266 377.466 981.866 373.6 982.666 356C983.199 342.8 983.733 340 986.266 336.933C989.599 332.533 999.733 325.333 1002.53 325.333C1003.6 325.333 1006.4 323.733 1008.93 321.866C1012.53 319.066 1013.2 318 1011.87 316.533C1009.87 314.133 1007.47 314.133 1005.33 316.666Z",fill:"currentColor"}),f.jsx("path",{d:"M298 343.066C282.4 352.533 272.133 356.266 252.133 359.466C235.867 362.133 211.2 361.466 194 358C178.267 354.933 174.667 356.533 179.2 365.066C180.267 367.066 185.733 378.266 191.333 390C196.933 401.733 202.8 413.066 204.4 415.333C206.133 417.466 208.133 420.8 209.067 422.666C212.533 429.466 228.267 450.4 240.933 465.066C253.867 480 269.2 494.933 282.933 505.6C286.8 508.666 290.8 512 291.733 512.8C294.133 515.2 322 533.6 330.667 538.533C355.2 552.4 386.533 565.2 412.4 572C428.933 576.4 434.8 573.6 458 551.066C476.267 533.2 487.2 515.333 492 495.333C495.333 481.466 495.6 473.066 492.8 463.733C490 454.133 487.067 451.866 470.533 446.133C442.667 436.4 406 419.333 390.933 409.2C387.733 407.066 384.933 405.333 384.533 405.333C383.467 405.333 362.8 390.933 356.4 385.733C346.267 377.6 327.2 358 319.333 347.6C315.2 342 310.667 337.333 309.467 337.333C308.267 337.333 303.067 339.866 298 343.066ZM316.8 358.133C324.4 368.533 338.667 382.933 351.867 393.466C360.4 400.4 379.2 413.866 384 416.4C385.867 417.466 394.8 422.4 404 427.466C417.867 435.2 449.333 450 467.867 457.466C470.4 458.533 475.467 460.8 479.2 462.666C485.333 465.733 486 466.4 486.4 471.066C487.467 483.2 481.733 501.2 469.733 523.333C466.133 530 435.867 559.2 429.333 562.4C422.933 565.466 423.467 565.466 406.667 560.666C369.067 550.133 334.667 532.133 299.067 504.4C275.467 486 265.067 475.733 236.667 442.8C227.733 432.533 208.667 403.066 199.6 385.6C193.067 373.2 192 370.266 193.467 368.533C194.4 367.466 196 366.933 197.067 367.333C202.533 369.466 229.6 370.533 242.667 369.2C270.133 366.4 296.4 358.266 303.6 350.266C304.8 349.066 306.533 348 307.467 348C308.4 348 312.667 352.533 316.8 358.133Z",fill:"currentColor"}),f.jsx("path",{d:"M307.733 393.867C305.6 394.933 303.2 396.267 302.4 396.933C296.533 400.533 286 402.933 272.667 403.6C264.667 404 256.8 404.933 255.467 405.733C252.933 406.933 252.933 407.067 255.333 408.8C259.6 412 286.533 411.333 296.533 407.867C313.867 401.867 318.667 397.867 314.4 393.6C312.4 391.6 312.133 391.6 307.733 393.867Z",fill:"currentColor"}),f.jsx("path",{d:"M348.667 437.867C336.8 450 324.8 456.933 313.067 458.267C306.133 459.067 303.2 461.333 304.533 464.8C306.667 470.133 331.067 463.467 344 454C354.533 446.267 364.267 434.933 363.733 430.8C363.467 428.933 362.4 427.2 361.333 427.067C360.267 426.933 354.533 431.733 348.667 437.867Z",fill:"currentColor"}),f.jsx("path",{d:"M394.133 454.933C393.067 456.667 391.867 459.467 391.333 461.333C387.6 474.267 374.267 497.6 366.133 505.2C362.533 508.533 361.6 513.867 364.133 515.467C367.733 517.6 385.867 495.067 394.267 478C401.2 464.133 403.467 456.533 401.467 454.133C398.933 451.2 396.4 451.467 394.133 454.933Z",fill:"currentColor"}),f.jsx("path",{d:"M444.4 474.4C443.6 474.933 438.533 484.667 432.933 496C427.467 507.333 419.2 522.267 414.667 528.933C406.533 541.2 405.867 544 410.8 544C417.6 544 449.2 490.267 449.333 478.533C449.333 474.933 446.8 472.933 444.4 474.4Z",fill:"currentColor"}),f.jsx("path",{d:"M1788.93 343.733C1787.6 345.067 1786.67 347.333 1786.67 348.8C1786.67 353.333 1780.13 371.867 1774.8 382.4C1762.93 406.4 1739.87 433.733 1717.07 451.2C1714.13 453.333 1712 456.133 1712 457.6C1712 459.067 1715.2 464.533 1719.07 469.867C1731.87 487.067 1739.87 506.667 1742.8 527.6C1744.27 538.933 1746.13 542.133 1750.4 540.8C1754.4 539.467 1780.4 520.667 1794 509.2C1829.47 479.067 1849.33 448.533 1849.33 424.133C1849.2 401.333 1838.13 381.733 1810.4 355.333C1802.27 347.6 1794.67 341.333 1793.33 341.333C1792.13 341.333 1790.13 342.4 1788.93 343.733ZM1811.47 368.533C1824 381.467 1835.2 396.8 1838.13 405.2C1840.53 411.867 1840.4 426.8 1837.87 435.733C1831.6 457.467 1816.67 477.067 1786.67 503.2C1762.53 524.133 1756.13 528.8 1752.8 527.6C1751.87 527.2 1750.67 523.733 1750.13 519.867C1748.13 504.667 1738.13 480.8 1728.53 468.267C1723.07 461.067 1722.93 458.267 1727.73 454.267C1740.67 443.733 1759.73 423.333 1767.33 412C1778.27 395.6 1792 368.667 1792 363.733C1792 360.667 1794.93 356 1796.93 356C1798.27 356 1804.8 361.6 1811.47 368.533Z",fill:"currentColor"}),f.jsx("path",{d:"M518.667 392C513.467 393.733 509.867 396.133 506.267 400.267C498.267 409.467 501.333 416.267 509.6 407.333C514.667 401.6 522.4 397.333 527.467 397.333C532.933 397.333 540.4 402.267 544.4 408.533C546.4 411.733 548 414.933 548 415.733C548 420.267 555.733 435.467 560.8 441.2C572 453.733 586 456.533 607.733 450.8C614.533 448.933 620.267 448.133 622.667 448.667C626.8 449.6 632.667 454.8 638.533 462.667C645.2 471.6 656.4 474.667 662.8 469.6C667.467 465.733 665.333 462.133 659.067 463.067C654.667 463.867 649.733 462.4 648 460C642.533 452.133 632.267 442.533 627.6 440.933C621.867 439.067 621.467 439.067 598 442.8C584.4 444.933 576.533 443.733 570.4 438.667C565.867 434.933 563.867 431.6 557.2 416.267C550.667 401.333 546.533 396 538.133 391.867C531.6 388.667 528 388.667 518.667 392Z",fill:"currentColor"}),f.jsx("path",{d:"M833.866 414.8C823.333 418 815.733 422.4 806.933 429.866C799.333 436.4 796.666 437.2 792.533 434C788.266 430.666 772.666 431.466 764.4 435.333C756.666 438.933 749.333 445.466 746 452C744.666 454.533 741.866 456.933 738.933 458.266C726.933 463.2 720.133 472.4 720 483.466C720 488.533 719.466 489.466 712.933 494.533C703.733 501.6 699.066 510 697.866 521.866C697.066 529.6 696.4 531.6 693.2 534.266C688.133 538.933 684 548.133 684 555.2C684 560.4 683.466 561.333 679.733 563.733C677.333 565.2 669.866 571.066 663.333 576.8C656.666 582.666 648.533 589.333 645.333 591.866C642 594.4 638.8 597.066 638 597.866C637.333 598.666 628.533 606.533 618.666 615.333C573.866 654.933 547.6 683.6 523.6 719.066C516.4 729.733 504.8 754.4 500.933 767.2C497.6 778.4 496.8 783.733 496.4 798.8C495.6 821.733 498 832.533 509.333 855.333C515.866 868.666 519.6 874 531.066 887.333C538.8 896.133 548.4 906.133 552.533 909.6C556.666 913.066 567.466 922.8 576.4 931.466C596.133 950.266 628 975.066 646.133 985.733C650.266 988 655.733 991.333 658.4 992.933C664.666 996.8 701.333 1014.8 709.333 1018C712.666 1019.33 717.2 1021.2 719.6 1022.13C721.866 1023.2 724.666 1024 725.6 1024C726.666 1024 728.666 1025.2 730 1026.67C732 1028.93 732.133 1029.87 730.933 1032.67C729.066 1036.8 728.533 1036.8 719.733 1032.93C715.866 1031.2 706.933 1027.73 700 1025.33C693.066 1022.93 686.8 1020.53 686 1020C685.333 1019.47 682.533 1018.53 680 1018C677.466 1017.47 674.533 1016.4 673.333 1015.87C671.066 1014.4 631.6 1000.27 614 994.533C607.466 992.266 600.8 990 599.333 989.2C597.866 988.533 592.533 986.8 587.333 985.2C557.066 976.266 555.6 976 540.933 976C528 976 496.266 979.066 471.333 982.666C466.266 983.333 456.266 984.533 449.333 985.333C442.4 986.133 430.133 987.733 422 988.8C414 989.733 402.266 991.2 396 991.866C389.733 992.666 369.333 995.066 350.666 997.333C332 999.466 313.733 1001.73 310 1002.13C306.4 1002.4 296.4 1003.6 288 1004.8C279.6 1005.87 260.133 1008.13 244.666 1010C218.133 1013.2 171.066 1019.07 137.333 1023.33C114.266 1026.27 95.7331 1029.33 92.3997 1030.67L89.3331 1032V1090.67V1149.47L82.5331 1156C78.6664 1159.73 75.9997 1163.47 76.2664 1164.8C76.5331 1166 79.0664 1167.73 81.8664 1168.67C84.6664 1169.73 87.5997 1171.33 88.1331 1172.27C88.7997 1173.2 89.3331 1184.53 89.3331 1197.33C89.4664 1238.27 91.8664 1344.67 92.6664 1346.8C93.4664 1348.8 103.6 1354.67 106.266 1354.67C107.066 1354.67 108.4 1355.6 109.333 1356.67C110.266 1357.73 113.333 1359.33 116.266 1360C119.333 1360.93 121.333 1362.13 120.933 1363.07C120.133 1365.73 115.866 1365.73 110.133 1362.93C102.666 1359.33 96.7997 1358.4 93.9997 1360.53C91.7331 1362.13 91.7331 1364.53 93.0664 1399.87C94.6664 1441.73 94.9331 1442.53 103.6 1445.33C106.4 1446.27 110.533 1447.73 112.666 1448.67C118.933 1451.2 129.866 1455.33 148.666 1462.13C158.266 1465.47 167.866 1469.2 170.266 1470.13C172.533 1471.2 174.8 1472 175.466 1472C176 1472 180.933 1473.73 186.533 1475.87C192.133 1478 202.933 1482 210.666 1484.67C218.4 1487.47 226.533 1490.4 228.933 1491.47C231.2 1492.53 233.6 1493.33 234.133 1493.33C234.8 1493.33 238.266 1494.53 242 1496C245.6 1497.47 256.533 1501.33 266 1504.8C275.6 1508.13 284.533 1511.47 286 1512.13C287.466 1512.8 291.333 1514.13 294.666 1515.2C298 1516.27 304.933 1518.67 310 1520.67C315.2 1522.53 325.333 1526.27 332.666 1528.93L345.866 1533.6L355.333 1530.93C372.4 1526.13 384.533 1522.67 398 1518.53C405.333 1516.27 417.333 1512.67 424.666 1510.53C432 1508.27 442.533 1505.07 448 1503.33C453.466 1501.73 463.066 1498.8 469.333 1496.93C475.6 1495.07 487.866 1491.33 496.666 1488.67C505.466 1486 517.733 1482.27 524 1480.4C530.266 1478.53 540.8 1475.33 547.333 1473.33C572.4 1465.73 604.133 1456 627.333 1449.07C634.666 1446.93 642.533 1444.4 644.666 1443.47C646.933 1442.4 650.8 1441.2 653.333 1440.8C658.533 1439.73 684.933 1431.73 695.733 1427.87C706.666 1424 707.2 1424.53 705.866 1441.2C704.4 1458.53 704.266 1524.13 705.6 1541.07C706.533 1551.87 706.4 1553.47 704.4 1554.27C702.266 1555.07 688.266 1553.73 659.866 1550C652.133 1548.93 640.533 1547.47 633.866 1546.67C627.333 1546 608.266 1543.47 591.333 1541.33C574.533 1539.07 553.466 1536.27 544.666 1535.2C535.866 1534 526.266 1533.2 523.333 1533.2C518.533 1533.33 516.4 1532.27 506.133 1524.4C478.933 1503.47 475.466 1503.07 461.2 1519.33C453.6 1528.13 445.333 1538 439.733 1544.93C437.333 1548 426.933 1560.8 416.666 1573.33C406.4 1585.87 397.066 1597.47 396 1599.07C394.933 1600.67 392.4 1604 390.4 1606.4C386.266 1611.2 385.733 1613.6 388.4 1615.87C390.4 1617.47 397.866 1616.67 421.333 1612.27C429.066 1610.8 441.333 1608.67 448.666 1607.33C456 1606.13 464.266 1604.53 466.933 1603.73C470.8 1602.53 473.733 1602.67 479.333 1604C489.466 1606.4 490 1607.33 487.6 1618.93C483.866 1636.53 483.6 1640.67 486.266 1642.93C488.533 1644.8 509.066 1657.2 513.333 1659.07C514.4 1659.6 519.866 1662.93 525.333 1666.53C530.8 1670.27 537.733 1674.53 540.666 1676C543.6 1677.6 563.466 1690.53 584.666 1704.8C619.466 1728 634.933 1738.93 677.066 1770.27C717.333 1800.13 745.333 1816 770.666 1823.2C774 1824.13 778 1825.6 779.333 1826.27C780.8 1827.07 784.666 1828.13 788 1828.67C791.333 1829.2 797.066 1830.4 800.666 1831.47C811.066 1834.27 840.533 1836.4 855.733 1835.33C882.933 1833.6 905.2 1826.27 927.333 1811.87C940.266 1803.47 947.866 1796.27 956.533 1784.67C974.266 1761.2 981.466 1744.67 990.533 1706C991.333 1702.8 991.333 1693.33 990.666 1682C988.133 1641.87 989.6 1598 995.333 1544.67C1004.67 1458.67 1004.8 1457.2 1008.27 1446C1010.8 1438 1012.4 1435.47 1019.2 1428.67C1033.2 1414.8 1064.13 1387.87 1067.73 1386.53C1072.53 1384.67 1077.07 1386.93 1078.13 1391.6C1079.6 1397.2 1075.07 1403.47 1061.2 1415.07C1026.93 1443.6 1025.6 1445.2 1024 1462.8C1021.47 1489.6 1016.53 1576.4 1013.87 1638.93L1012.93 1660L1028.8 1675.73C1057.6 1704.53 1082.27 1717.33 1108.27 1717.33C1141.73 1717.33 1170.4 1694.4 1192.27 1650.13C1198.53 1637.2 1205.33 1614.67 1205.33 1606.27C1205.33 1601.33 1208 1600.67 1214.13 1603.87C1216.93 1605.47 1220.27 1606.67 1221.33 1606.67C1222.4 1606.67 1224.93 1607.47 1226.93 1608.53C1228.93 1609.6 1232.27 1610.8 1234.53 1611.33C1236.8 1611.87 1239.2 1613.2 1239.87 1614.53C1240.53 1615.73 1241.73 1632.67 1242.53 1652C1243.33 1671.47 1244.93 1702.53 1246 1721.2C1247.33 1741.87 1247.6 1755.6 1246.8 1756.4C1246.13 1757.07 1238.13 1753.87 1226.4 1748.13C1215.73 1742.93 1206.13 1738.67 1204.8 1738.67C1203.6 1738.67 1199.73 1740.27 1196.27 1742.27C1192.8 1744.13 1187.73 1747.07 1185.07 1748.53C1170.67 1756.67 1155.07 1766 1153.33 1767.33C1152.27 1768.27 1148 1770.8 1144 1772.93C1135.47 1777.73 1096.8 1800.67 1092 1803.87C1090.13 1805.2 1083.07 1809.47 1076.27 1813.47C1069.47 1817.47 1059.33 1823.47 1053.6 1826.93C1048 1830.4 1042.4 1833.73 1041.33 1834.27C1040.27 1834.8 1033.33 1838.67 1026 1842.93C1011.2 1851.6 1012 1851.2 1000 1858.4C995.2 1861.33 989.2 1864.93 986.666 1866.4C984.133 1867.73 977.333 1871.87 971.466 1875.2C965.733 1878.67 958 1883.2 954.133 1885.2C940.933 1892.4 937.333 1894.93 937.333 1897.33C937.333 1898.67 938.133 1900.4 939.2 1901.2C940.933 1902.67 952.266 1906.93 961.333 1909.47C963.866 1910.13 968.133 1911.6 970.666 1912.67C975.333 1914.53 977.6 1915.2 1011.33 1925.33C1021.6 1928.4 1035.73 1932.67 1042.67 1934.8C1049.6 1936.93 1058.67 1939.47 1062.67 1940.53C1066.67 1941.47 1071.47 1943.07 1073.33 1943.73C1075.2 1944.53 1082.4 1946.67 1089.33 1948.53C1096.27 1950.53 1105.87 1953.2 1110.67 1954.67C1115.47 1956 1127.73 1959.6 1138 1962.53C1148.27 1965.47 1165.07 1970.27 1175.33 1973.2C1185.6 1976.13 1198.8 1979.73 1204.67 1981.33C1210.53 1983.07 1217.73 1985.07 1220.67 1986.13C1223.6 1987.07 1232 1989.47 1239.33 1991.33C1246.67 1993.33 1256.27 1996 1260.67 1997.33C1265.07 1998.67 1273.73 2001.07 1280 2002.67C1286.27 2004.27 1294.93 2006.67 1299.33 2008.13C1306.27 2010.27 1335.6 2018.27 1347.33 2021.33C1349.6 2021.87 1352.27 2022.8 1353.47 2023.2C1354.67 2023.73 1364.27 2026.4 1374.8 2029.33C1385.33 2032.13 1403.07 2036.93 1414.27 2039.87C1433.07 2044.93 1434.93 2045.33 1438.93 2043.6C1442.27 2042.13 1449.07 2034.13 1467.2 2009.87C1480.4 1992.4 1492.53 1976.4 1494.4 1974.4C1496.27 1972.4 1499.87 1967.73 1502.53 1964.13C1512.8 1949.87 1552.53 1897.87 1555.47 1894.67L1558.67 1891.47L1587.6 1897.2C1603.6 1900.27 1632 1905.87 1650.67 1909.47C1669.33 1913.07 1688.53 1916.93 1693.33 1918C1698.13 1919.07 1708 1920.93 1715.33 1922.13L1728.67 1924.4L1744.67 1919.47C1753.47 1916.8 1762.8 1913.73 1765.33 1912.67C1767.87 1911.6 1772.67 1910.13 1776 1909.33C1779.33 1908.4 1788 1905.73 1795.33 1903.33C1810 1898.53 1832.27 1891.47 1860 1882.67C1869.87 1879.6 1880.13 1876.27 1882.67 1875.33C1889.07 1872.93 1898.93 1869.73 1909.33 1866.8C1914.13 1865.33 1919.87 1863.6 1922 1862.8C1924.27 1862 1936.13 1858 1948.4 1854.13C1960.8 1850.13 1973.2 1845.2 1976.13 1843.2C1979.47 1840.93 1982.67 1836.93 1984.93 1832.13L1988.67 1824.67L1989.6 1755.33C1990 1717.2 1991.07 1670.13 1991.87 1650.67C1995.07 1572.53 1996.27 1547.2 1999.33 1480.67C2001.2 1442.53 2003.33 1400.27 2004.13 1386.8C2005.6 1364.67 2005.47 1362.13 2003.6 1360.67C2002.4 1359.87 1993.73 1358.13 1984.4 1356.8C1934.67 1350.13 1891.6 1344.4 1868 1341.33C1856.67 1339.87 1838.4 1337.47 1827.33 1336.13C1807.87 1333.6 1776.13 1329.47 1750.67 1326.27L1738 1324.67L1738.13 1293.33C1738.27 1276.13 1739.07 1231.2 1739.87 1193.6C1741.47 1122 1741.33 1117.47 1736 1112.67C1732.67 1109.73 1706.53 1104.67 1660.93 1098.13C1654.53 1097.2 1648.67 1095.87 1647.73 1094.93C1646.67 1093.87 1646.8 1089.33 1648.53 1077.07C1664.4 961.866 1669.47 871.866 1666.67 746.666C1665.33 682.933 1664.53 670.133 1662.27 668.266C1660.4 666.933 1642.53 663.6 1615.33 659.733C1605.07 658.4 1588.53 656 1578.67 654.533C1568.8 653.066 1556.53 651.333 1551.33 650.666C1542.13 649.466 1526.4 647.2 1500.67 643.066C1493.33 642 1481.33 640.266 1474 639.2C1466.67 638.266 1442.13 634.666 1419.33 631.333C1396.67 627.866 1372 624.266 1364.67 623.333C1357.33 622.266 1347.73 620.8 1343.33 620C1338.93 619.333 1323.07 616.8 1308 614.666C1292.93 612.533 1277.73 610.133 1274 609.466C1263.2 607.466 1240.4 603.866 1225.33 601.866C1217.73 600.8 1210 599.066 1208.4 598C1205.6 596.133 1205.47 595.333 1206.13 585.6C1207.47 568 1204 556.4 1192.8 541.333C1179.73 523.866 1162.27 506.8 1146.13 496.133C1138 490.8 1120 480 1119.2 480C1118.8 480 1115.87 478.8 1112.53 477.333C1097.6 470.533 1095.07 469.6 1090.67 468.666C1088.13 468.133 1084.53 466.933 1082.67 466C1078.13 463.733 1056.4 459.066 1042.67 457.333C1010.67 453.466 968 458.133 960.266 466.266C957.466 469.066 956.133 469.466 949.066 469.066C943.466 468.8 940.666 468 940 466.666C939.466 465.6 938.133 462.8 937.2 460.666C934.266 454.4 921.333 442.266 915.333 440.133C912.4 439.2 907.066 435.466 903.333 432.133C884.266 414.266 856.933 407.466 833.866 414.8ZM1049.33 468.8C1073.6 472.666 1090.13 477.733 1111.73 488C1142.93 502.8 1178.27 531.333 1189.73 551.066C1194.53 559.2 1198.67 572.533 1198.67 580C1198.67 588.133 1194.8 603.066 1188 620.666C1184.93 628.666 1181.6 637.466 1180.67 640C1176.53 651.066 1170.53 665.466 1166 675.333C1163.33 681.2 1159.07 690.533 1156.53 696C1154 701.466 1150.67 708.4 1149.2 711.333C1140.93 727.466 1139.07 730.8 1134.67 738.666C1132 743.466 1127.87 750.666 1125.73 754.666C1120 765.066 1117.73 768.933 1108.27 783.6C1103.6 790.8 1099.2 797.866 1098.27 799.333C1088.4 815.466 1084.93 817.333 1083.33 807.333C1082.13 799.333 1076.4 786.266 1074.27 787.066C1071.87 787.733 1071.6 795.333 1073.73 799.6C1074.8 801.6 1076.13 806.266 1076.67 810C1077.2 813.6 1078.13 817.733 1078.93 819.066C1079.6 820.4 1081.07 825.2 1082 829.733C1083.07 834.266 1086.4 847.333 1089.33 858.666C1094.4 877.866 1098.93 896.133 1103.33 915.333C1104.27 919.733 1106.67 929.866 1108.53 938C1116.53 971.333 1132.53 1052.93 1139.33 1094.67C1143.47 1119.2 1147.6 1144.13 1148.8 1150C1154.27 1179.2 1154 1197.33 1147.33 1216.13C1141.47 1232.93 1139.47 1235.6 1122.93 1246.8C1105.33 1258.8 1102.27 1260.53 1074.67 1274.4C1049.73 1286.67 1043.6 1289.33 1029.07 1294C1023.07 1296 1016.27 1298.4 1014 1299.33C1006.93 1302.27 963.866 1311.73 949.333 1313.6C930.8 1315.87 886.8 1315.87 870.666 1313.47C850.4 1310.53 831.733 1305.73 806.666 1296.67C791.466 1291.2 756.8 1271.33 752.4 1265.73C751.466 1264.53 749.2 1258.8 747.2 1252.8C744.133 1243.33 742.8 1237.47 738.666 1214.67C738 1211.33 736.8 1196 735.866 1180.67C733.6 1142.8 737.066 1032.27 740.533 1030.4C741.733 1029.73 742.666 1027.73 742.666 1026C742.666 1023.6 741.333 1022.27 737.066 1020.27C730 1017.07 723.466 1014.27 717.333 1012C713.466 1010.4 681.733 994.533 667.333 986.933C657.333 981.6 612.666 952 610.666 949.466C610.266 948.933 604 943.866 596.666 938.133C578.4 923.733 532.666 877.6 524.933 865.6C510.666 843.466 506 827.733 506 801.333C506 784 506.4 780.666 509.866 769.6C511.866 762.8 514.4 755.6 515.466 753.6C516.533 751.6 517.333 749.333 517.333 748.666C517.333 746.8 534.266 717.466 537.333 714C538.666 712.533 542 708 544.666 704C560.666 680.933 605.2 636.666 653.333 596C657.333 592.666 665.466 585.6 671.6 580.266C677.733 575.066 683.6 570.666 684.666 570.666C685.733 570.666 691.466 578 697.466 586.933C703.466 596 711.066 606.933 714.533 611.333C723.333 622.666 723.2 622 719.466 630C717.6 633.866 716 638.533 716 640.266C716 642 711.733 649.733 706.4 657.466C691.066 679.866 667.466 715.333 665.2 719.466C664 721.6 657.866 731.866 651.466 742.133C642.8 756.533 640 762.266 640 765.733C640 773.866 639.333 773.6 683.333 784C695.866 786.933 710.533 790.533 716 791.866C721.466 793.333 730.8 795.466 736.666 796.666C742.533 798 750.933 799.866 755.333 800.8C759.733 801.866 769.6 804.133 777.333 805.866C795.2 809.866 798 811.066 800.266 815.466C802.133 819.333 810.133 824.133 822 828.533C825.733 829.866 831.866 832.4 835.733 834.133C839.6 835.866 843.333 837.333 844.133 837.333C844.933 837.333 847.466 838.266 849.733 839.333C852.133 840.4 856.4 842 859.333 843.066C867.733 846 890.933 854.8 895.6 856.8C897.866 857.866 900.4 858.666 901.2 858.666C902 858.666 904.533 859.466 906.933 860.533C909.333 861.6 915.466 863.733 920.4 865.333C931.466 868.8 933.333 867.866 933.333 858.8C933.333 851.066 934.8 848.8 938.666 850C942.133 851.066 956.266 848.533 962 845.6C974.4 839.466 985.066 825.733 986.533 814.133C987.466 806.666 987.733 806.533 999.2 808.8C1003.47 809.6 1004.67 809.333 1006.13 807.333C1010 802.133 1007.07 780.666 1000 761.6C998.533 757.866 996.133 751.466 994.8 747.6C985.466 722.266 980.8 712 977.2 708.533C973.333 704.933 972.133 699.6 974.666 698C975.466 697.6 976 696.133 976 694.8C976 693.6 977.866 688.933 980.133 684.533C982.4 680.266 985.2 674.8 986.4 672.666C987.466 670.4 989.733 667.066 991.2 665.2C992.8 663.333 994.933 660.4 996 658.666C998.133 655.333 1009.2 641.733 1017.33 632C1020.13 628.666 1027.6 619.466 1033.87 611.6C1047.6 594.266 1048.13 591.733 1039.73 584.933C1031.2 578.133 971.2 537.333 969.733 537.333C969.333 537.333 967.333 536.133 965.2 534.533C960.933 531.466 960.4 528.4 963.333 522.266C966.666 515.066 970.133 492.266 969.2 482C968.8 476.8 968.933 472.266 969.333 471.6C970.533 470.133 984.133 468 999.333 466.8C1016 465.6 1032.93 466.266 1049.33 468.8ZM960 479.466C961.733 483.866 961.733 492.533 959.866 504.4C957.733 518.4 954.266 521.333 945.733 516C942.266 514 941.333 512.4 941.333 509.333C941.333 507.2 940.666 502.8 939.733 499.466C938.4 494.533 938.533 492.533 940.533 486.133C943.2 477.6 945.066 476.133 953.066 476C958 476 958.933 476.533 960 479.466ZM778.4 509.466C791.6 512.8 790.933 516.133 776.533 518.133C757.066 520.933 746.666 525.2 746.666 530.266C746.666 533.066 750.533 533.866 753.066 531.6C756.133 528.8 770.4 525.866 786 524.666C797.066 523.866 798.266 524 800.533 526.533C804.8 531.2 802.533 532.8 790.4 533.733C777.6 534.666 764.266 537.866 761.466 540.666C758.133 544 763.2 544.533 780.266 542.8C796.8 540.933 799.333 541.466 798.4 546.133C798.133 547.6 795.866 549.066 792 550.133C781.466 552.933 776.8 555.066 768.666 560.8C758.133 568.133 755.333 571.333 745.466 587.466C735.6 603.6 728 611.6 724.666 609.733C723.466 609.066 718.266 602.533 713.333 595.2C708.266 588 702.266 579.466 700 576.4C693.866 567.866 693.866 567.466 700.4 560.4C705.733 554.666 709.066 549.733 712.933 541.866C713.733 540.4 715.066 537.866 716 536C717.066 534.133 718.666 531.2 719.6 529.333C723.733 521.6 728.933 515.466 733.466 513.066C742.133 508.533 766.533 506.666 778.4 509.466ZM948.933 526C950.533 527.066 952.133 529.733 952.666 531.733C953.2 534.533 956 537.2 963.733 542.4C969.333 546.133 978.266 552.133 983.466 555.733C988.8 559.333 998.933 566.4 1006.13 571.333C1024.27 583.866 1034.8 592 1035.6 594.133C1036.13 595.6 1023.87 612.8 1020 616C1018.4 617.333 997.733 643.333 991.066 652.533C987.2 657.733 983.6 662.666 982.8 663.466C981.066 665.6 968 692.4 968 694C968 694.666 966.8 696.8 965.333 698.666C963.333 701.333 962.533 701.733 961.066 700.266C959.6 698.8 959.866 697.6 962.133 693.6C967.866 683.866 967.6 671.466 961.466 649.333C960 643.866 957.733 635.733 956.533 631.333C955.333 626.933 954 622.666 953.466 622C952.933 621.2 951.733 618.266 950.8 615.333C949.2 610.4 947.6 606.533 941.733 593.333C937.066 582.533 932.4 573.333 926.4 562.933C922.933 556.8 920 550.933 920 550C920 548.933 922.266 546.533 924.933 544.666C930.8 540.666 938.666 531.2 938.666 528C938.666 526.8 939.066 525.333 939.6 524.933C941.066 523.333 946 523.866 948.933 526ZM923.866 575.733C939.6 609.066 940.933 612.266 947.733 632.666C955.066 654.4 958 672.266 956 682C955.066 686.266 952.933 691.066 950.933 693.6C947.466 697.6 947.333 698.666 946.533 717.2C945.466 741.733 940.266 762.533 933.733 768.266C930.4 771.2 927.733 771.866 912.533 773.333C895.6 774.933 876.666 773.066 856.533 768.133C839.6 763.866 835.2 761.6 833.2 756.266C831.6 752 829.066 746.533 818.4 724.4C814.133 715.466 810.666 707.733 810.666 707.066C810.533 706.533 809.466 703.6 808 700.666C806.533 697.733 805.466 693.466 805.333 691.2C805.333 686.133 803.6 684.533 796.133 682.8C785.066 680.4 776.533 668.8 778.133 658.533C778.933 654.133 780 652.533 784.133 649.866C790.666 645.733 793.2 645.866 801.6 650.266C820 660.266 822.266 661.2 827.866 661.2C834.4 661.333 840 657.6 840 653.2C840 650.8 833.466 645.333 830.666 645.333C828.266 645.333 816.533 632.8 813.6 627.2C807.733 615.466 806.666 600.133 811.6 595.333C813.466 593.466 814 593.466 816.933 595.466C822 598.666 838 598.266 846 594.666C857.066 589.6 863.466 582 869.2 567.466C870.4 564.4 871.333 563.866 873.733 564.666C884.266 567.866 887.866 568.133 894.8 566C898.8 564.8 903.866 562.4 906 560.666C913.333 554.666 914.4 555.6 923.866 575.733ZM1238 612.133C1255.6 615.066 1273.87 618 1278.67 618.8C1283.47 619.466 1290.93 620.533 1295.33 621.333C1299.73 622 1310 623.6 1318 624.666C1326.13 625.733 1334.13 627.066 1336 627.466C1337.87 627.866 1345.33 629.066 1352.67 630C1360 631.066 1375.87 633.466 1388 635.333C1400.13 637.2 1416.53 639.6 1424.67 640.666C1432.67 641.733 1442.27 643.2 1446 643.866C1449.6 644.666 1458.13 645.866 1464.67 646.666C1471.33 647.466 1480 648.666 1484 649.333C1490.93 650.533 1500.53 652 1548 658.666C1558.67 660.266 1575.2 662.666 1584.67 664C1594.27 665.333 1607.2 667.2 1613.6 668C1625.33 669.6 1631.2 672 1628.67 674.4C1628 675.066 1621.07 677.6 1613.33 680C1605.6 682.533 1597.87 685.333 1596 686.266C1594.13 687.2 1592.13 688 1591.6 688C1590.93 688 1582.27 691.066 1572.27 694.8C1562.13 698.533 1551.07 702.666 1547.33 704C1536.53 707.733 1514.4 716.133 1509.73 718.133C1507.47 719.2 1504.8 720 1503.73 720C1502.67 720 1501.33 720.533 1500.53 721.066C1499.87 721.733 1490.67 725.333 1480 729.2C1469.33 733.066 1459.47 736.8 1458 737.466C1456.53 738 1450.27 740.4 1444 742.8C1437.73 745.066 1431.2 747.6 1429.33 748.4C1414.8 754.533 1404.93 756 1394.8 753.466C1392.13 752.8 1384.93 751.466 1378.67 750.666C1372.4 749.866 1365.6 748.666 1363.33 748C1359.6 746.933 1351.73 745.333 1327.33 740.666C1314.13 738.266 1298 734.933 1288.67 732.666C1284.27 731.733 1274.8 729.6 1267.73 728.133C1260.53 726.533 1249.07 724.133 1242.4 722.666C1224.13 718.666 1211.2 716 1200 714C1194.53 712.933 1186.13 711.2 1181.33 710.133C1176.53 708.933 1170.8 708 1168.4 708C1162.8 708 1161.6 704.266 1165.2 697.733C1166.67 694.933 1169.47 689.066 1171.33 684.666C1180.13 664.666 1180 664.8 1196.67 655.066C1198.13 654.133 1204.13 650.533 1210 647.066C1215.87 643.6 1221.33 640.4 1222 640.133C1222.8 639.866 1224.27 638.933 1225.33 638C1226.4 637.066 1230.53 634.666 1234.4 632.666C1242.13 628.666 1243.87 626.4 1241.33 623.333C1239.47 621.066 1238.4 621.466 1221.73 630.933C1214.27 635.2 1207.07 639.066 1205.73 639.6C1204.4 640 1201.6 641.733 1199.33 643.466C1197.2 645.066 1194 646.8 1192.4 647.333C1189.73 648 1189.33 647.733 1189.33 644.666C1189.33 642.8 1190.53 638.933 1192 636C1193.47 633.066 1194.67 630 1194.67 629.066C1194.67 628.133 1195.47 625.733 1196.53 623.733C1197.6 621.733 1198.8 618.266 1199.33 615.866C1200.53 610.533 1202.8 606.666 1204.67 606.666C1205.33 606.666 1220.4 609.066 1238 612.133ZM721.066 662C727.466 676 756.266 694.266 789.866 705.6L802.933 710L808.266 721.333C811.2 727.6 816.666 738.933 820.4 746.533C826.666 759.733 826.933 760.533 824.533 762.266C823.2 763.2 821.466 764 820.533 764C818.266 764 813.066 771.6 808.8 781.333C801.866 797.6 799.2 802 796.533 801.733C795.066 801.6 788.666 800.266 782 798.666C775.466 797.2 767.2 795.333 763.733 794.666C760.266 794 754 792.533 749.733 791.466C741.066 789.2 684.933 775.066 676.666 773.2C670.533 771.733 659.733 768.4 654.4 766.4C651.866 765.466 650.666 764 650.666 762.133C650.8 756.666 713.866 658.8 717.466 658.8C718.666 658.666 720.266 660.133 721.066 662ZM1656.4 685.333C1658.27 697.333 1658.13 882.666 1656.27 910.666C1655.47 924.266 1654.13 944.666 1653.33 956C1652.13 974.8 1651.33 984.133 1646.53 1028C1645.33 1039.87 1640.67 1073.47 1638 1089.33C1636.27 1100 1637.6 1099.2 1588.67 1121.2C1576.93 1126.53 1566.27 1131.47 1565.07 1132.13C1563.73 1132.8 1556.93 1136 1549.73 1139.2C1524.4 1150.53 1520.67 1152.27 1514 1155.33C1502.93 1160.53 1490.8 1165.87 1475.33 1172.53C1467.33 1176 1459.6 1179.47 1458.27 1180.13C1449.47 1184.8 1416.27 1198.67 1413.87 1198.67H1411.07L1410.13 1120.13C1409.2 1041.73 1409.47 1036 1413.47 1036C1414.27 1036 1420.4 1033.33 1427.07 1030.13C1453.6 1017.47 1470.13 1009.6 1474.4 1008C1477.2 1006.93 1478.67 1005.6 1478.4 1004.13C1477.73 1001.33 1470.27 1001.87 1459.47 1005.47C1455.07 1006.8 1450.27 1008 1448.53 1008C1446.93 1008 1441.87 1009.07 1437.2 1010.53C1423.6 1014.53 1413.73 1016.4 1411.47 1015.6C1409.6 1014.8 1409.33 1007.07 1409.33 940.8C1409.33 894.8 1409.87 866.533 1410.67 866C1412.4 864.933 1440.4 854.933 1448 852.666C1451.33 851.733 1457.33 849.6 1461.33 848C1465.33 846.533 1474.13 843.466 1480.67 841.2C1487.33 839.066 1493.6 836.8 1494.67 836.133C1495.73 835.6 1499.87 834.266 1503.6 833.333C1507.87 832.133 1512 830 1514.27 827.733L1517.87 824L1511.2 824.8C1507.6 825.2 1501.07 826.4 1496.67 827.333C1485.07 830 1476.4 831.466 1454.67 834.533C1416.27 840 1414.4 840.133 1412.53 838.533C1411.07 837.333 1410.67 829.866 1410.67 800.8V764.533L1416.53 761.6C1419.73 760 1423.07 758.666 1424 758.666C1424.8 758.666 1427.47 757.866 1429.73 756.8C1432.13 755.733 1436.67 754 1440 752.8C1443.33 751.733 1450.27 749.2 1455.33 747.333C1460.53 745.333 1467.33 742.933 1470.67 741.866C1474 740.8 1477.87 739.466 1479.33 738.8C1480.8 738.133 1488.27 735.333 1496 732.666C1503.73 730 1514.53 726 1520.13 723.866C1525.73 721.733 1530.67 720 1531.2 720C1531.87 720 1534.13 719.2 1536.4 718.133C1538.8 717.066 1542.8 715.6 1545.33 714.8C1547.87 714.133 1554.8 711.733 1560.67 709.6C1583.6 701.066 1602.27 694.4 1606.67 693.066C1609.2 692.4 1612 691.333 1612.67 690.666C1613.47 690.133 1616.4 689.066 1619.33 688.266C1626.13 686.4 1646.8 678.933 1647.87 678C1648.27 677.6 1650.13 677.333 1652 677.6C1654.93 678 1655.47 678.8 1656.4 685.333ZM968.933 713.6C973.733 716.4 975.866 720.666 984.133 742.666C989.466 757.066 996.4 781.6 998 791.6C998.8 796.8 998.666 797.333 996.133 797.333C994.666 797.333 987.066 794.266 979.466 790.666C971.866 786.933 965.066 784 964.4 784C963.866 784 961.866 782.8 960 781.333C958.133 779.866 955.866 778.666 954.933 778.666C951.866 778.666 944 772.666 944 770.4C944 769.066 945.066 766.133 946.4 763.733C950 757.2 954.4 738.266 955.333 724.666C955.866 718 956.4 711.866 956.8 710.933C957.466 708.8 963.066 710 968.933 713.6ZM1172.67 715.466C1177.07 716.4 1181.6 717.466 1182.67 717.866C1183.73 718.4 1189.2 719.6 1194.67 720.533C1200.13 721.6 1211.87 724 1220.67 726C1229.47 727.866 1241.07 730.266 1246.4 731.333C1251.73 732.4 1256.67 733.6 1257.33 734C1258 734.4 1263.33 735.6 1268.93 736.666C1279.2 738.4 1299.07 742.533 1324 748.133C1330.93 749.6 1340 751.466 1344 752.133C1348 752.8 1355.2 754.266 1360 755.333C1372 758.133 1389.07 761.6 1394.67 762.266C1397.2 762.666 1400.13 763.6 1401.07 764.266C1402.8 765.733 1403.07 798.133 1401.47 826L1400.67 840.666L1388.67 840.266C1343.2 838.666 1174.67 826.666 1158.13 823.733C1156.8 823.466 1155.33 824 1155.07 824.8C1154.27 827.2 1166.93 831.6 1181.33 833.866C1189.07 835.066 1202.27 837.2 1210.67 838.666C1219.07 840.266 1229.6 842 1234 842.666C1238.4 843.2 1247.47 844.666 1254 845.733C1260.67 846.933 1275.07 849.066 1286 850.666C1297.07 852.266 1313.87 854.666 1323.33 856C1332.93 857.333 1351.2 859.733 1364 861.333C1376.8 862.933 1390.4 864.666 1394 865.066L1400.67 866V941.333V1016.67L1396 1016.53C1393.47 1016.4 1384.8 1015.33 1376.67 1014.13C1331.07 1007.33 1289.6 1006 1295.07 1011.47C1295.47 1012 1307.73 1014.8 1322.27 1017.6C1355.47 1024.27 1355.33 1024.27 1371.33 1028.53C1378.67 1030.53 1388 1033.07 1391.87 1034.13C1395.87 1035.2 1399.73 1036.53 1400.27 1037.07C1400.93 1037.73 1401.2 1074.4 1401.07 1118.8L1400.67 1199.33L1397.07 1199.73C1395.07 1200 1387.87 1198.93 1381.07 1197.33C1374.27 1195.73 1363.33 1193.2 1356.67 1191.73C1350.13 1190.27 1339.73 1187.87 1333.73 1186.53C1327.6 1185.2 1317.73 1182.8 1311.73 1181.47C1290.53 1176.67 1276.53 1173.47 1263.33 1170.67C1256 1169.07 1245.47 1166.67 1240 1165.33C1228.27 1162.53 1195.33 1154.93 1186.67 1153.07C1175.33 1150.67 1159.33 1146.27 1157.87 1145.2C1157.07 1144.53 1155.47 1137.07 1154.13 1128.4C1152.93 1119.73 1151.33 1110 1150.67 1106.67C1149.87 1103.33 1148.8 1096.13 1148 1090.67C1146.4 1079.6 1143.87 1065.07 1136 1023.33C1130.4 993.733 1129.6 990.133 1122 957.333C1119.33 946 1115.87 931.2 1114.4 924.666C1108.93 900.266 1109.33 901.866 1096.67 855.333C1093.2 842.8 1090.13 831.333 1089.73 829.6C1089.2 827.333 1092.27 821.733 1102 806.933C1109.2 796.133 1116.4 785.2 1118 782.666C1119.6 780.133 1122 776.133 1123.47 774C1124.8 771.733 1127.07 767.866 1128.4 765.333C1129.73 762.8 1131.87 759.2 1133.07 757.333C1134.27 755.466 1136.13 752.133 1137.33 750C1138.53 747.733 1141.87 741.733 1144.67 736.666C1147.47 731.466 1151.2 724.666 1152.93 721.333C1156.8 714.266 1159.87 711.6 1162.67 712.8C1163.73 713.333 1168.27 714.4 1172.67 715.466ZM839.333 773.333C842.266 774 851.6 776.533 860 778.933C874.8 782.933 876.266 783.2 899.333 783.066C912.533 782.933 925.733 782.666 928.666 782.4L934 782L933.6 790.666C933.466 795.466 932.4 805.333 931.333 812.666C930.266 820 928.8 831.333 928 838C927.2 844.533 926.266 851.066 925.866 852.266C924.8 855.6 920 855.333 909.6 851.2C904.666 849.333 897.333 846.533 893.333 845.066C889.333 843.466 883.466 841.2 880.4 839.733C877.2 838.4 874 837.333 873.066 837.333C872.133 837.2 868.933 836.133 866 834.666C863.066 833.2 860.133 832.133 859.333 832C858.666 832 852 829.6 844.666 826.533C805.6 810.533 806.8 811.333 810 801.733C813.2 792.533 822.533 772.933 824.4 771.733C826 770.533 829.866 770.933 839.333 773.333ZM584 993.733C615.6 1004.4 633.6 1010.67 636.666 1012C638.133 1012.67 641.466 1013.73 644 1014.53C649.866 1016.13 659.866 1019.73 663.333 1021.33C664.8 1022 669.333 1023.73 673.333 1025.07C703.2 1035.2 710.266 1037.87 711.733 1039.73C714 1042.67 712.533 1043.6 703.333 1045.07C690.933 1047.07 673.066 1050.67 668.666 1052C666.533 1052.67 660.533 1053.87 655.333 1054.67C650.266 1055.47 642.666 1057.07 638.666 1058C634.666 1059.07 626.533 1060.8 620.666 1062C614.8 1063.2 600.133 1066.27 588 1068.8C575.866 1071.33 559.866 1074.67 552.266 1076C544.666 1077.47 538 1078.93 537.466 1079.33C536.8 1079.6 531.6 1080.8 525.866 1081.87C516.8 1083.47 498 1087.33 431.333 1101.33C424 1102.93 412.266 1105.33 405.333 1106.8C398.4 1108.13 389.866 1110 386.533 1110.8C368.8 1114.8 358 1116.4 344.666 1116.93L330 1117.47L310.666 1110.93C300 1107.2 285.333 1102 278 1099.33C270.666 1096.67 263.2 1094 261.333 1093.33C259.466 1092.67 253.866 1090.53 248.666 1088.53C243.6 1086.67 236.4 1084 232.666 1082.67C229.066 1081.33 222.666 1078.93 218.666 1077.33C211.333 1074.53 203.2 1071.47 192 1067.47C188.666 1066.27 184.8 1064.67 183.333 1064C181.866 1063.33 178.266 1061.87 175.333 1060.93C164.8 1057.2 115.333 1038.4 114.666 1037.73C113.333 1036.53 118 1034.93 125.2 1034.13C136.4 1032.8 163.466 1029.6 186.666 1026.53C228.266 1021.33 446.666 994.4 484.666 990C515.466 986.266 527.066 985.466 544.666 985.866C561.733 986.266 562.4 986.4 584 993.733ZM107.2 1045.2C111.733 1047.33 119.6 1050.67 124.666 1052.53C129.866 1054.53 135.866 1056.93 138 1057.87C140.266 1058.93 146.266 1061.33 151.333 1063.2C156.533 1065.2 162.8 1067.73 165.333 1068.93C167.866 1070 174.266 1072.4 179.333 1074.27C184.533 1076.13 190.533 1078.4 192.666 1079.33C197.733 1081.47 221.6 1090.53 228.666 1092.93C231.6 1093.87 235.2 1095.33 236.666 1096C241.866 1098.27 286.133 1113.6 297.2 1116.8C303.333 1118.67 311.866 1121.33 316.133 1122.67C320.4 1124.13 325.733 1125.33 327.866 1125.33C336 1125.33 336 1125.2 336 1171.87C336 1205.2 335.6 1214.67 334.266 1215.73C332.533 1217.2 323.466 1216.67 298 1213.33C285.733 1211.73 249.2 1208.27 239.466 1207.73C235.866 1207.6 232.666 1208 232.4 1208.67C231.866 1210.53 240.666 1214.4 250 1216.67C254.4 1217.6 262.266 1219.73 267.333 1221.2C272.533 1222.8 279.733 1224.93 283.333 1226C287.066 1227.07 294.933 1229.47 301.066 1231.33C307.066 1233.2 316.933 1236.13 322.8 1237.87C328.8 1239.6 334.266 1241.87 334.8 1242.93C335.466 1243.87 336 1266 336 1292.13C336 1328.53 335.6 1340 334.4 1341.07C333.2 1342 329.733 1341.47 322.666 1339.07C317.2 1337.2 308.8 1334.67 304 1333.2C299.2 1331.87 285.733 1328 274 1324.53C262.266 1321.2 249.333 1317.87 245.333 1317.07C241.333 1316.4 236.666 1315.2 235.066 1314.4C233.333 1313.6 231.6 1313.33 231.066 1313.87C229.866 1315.07 238.533 1322.53 240.933 1322.67C242.4 1322.67 273.866 1335.2 286 1340.53C288.266 1341.6 293.6 1343.87 298 1345.73C309.733 1350.53 323.866 1356.53 330.4 1359.47C333.866 1360.93 336.266 1362.93 336.666 1364.67C336.933 1366.13 337.733 1391.07 338.666 1420C339.466 1448.93 340.4 1483.87 340.933 1497.6C341.6 1518.27 341.466 1522.67 339.866 1522.67C338.933 1522.67 331.733 1520.27 324 1517.47C316.266 1514.53 303.733 1510 296 1507.33C288.266 1504.67 280.8 1501.87 279.333 1501.33C273.066 1498.53 255.2 1492 254 1492C253.333 1491.87 250.266 1490.8 247.333 1489.33C244.4 1487.87 241.066 1486.67 240 1486.67C238.933 1486.67 236.4 1485.87 234.4 1484.8C232.4 1483.73 228.8 1482.53 226.4 1482C224 1481.47 221.333 1480.53 220.533 1479.87C219.733 1479.2 216.4 1477.87 213.2 1476.8C210 1475.73 203.2 1473.33 198 1471.33C185.733 1466.67 175.066 1462.8 169.333 1461.07C166.8 1460.4 164.133 1459.2 163.333 1458.67C162.666 1458.13 160.533 1457.2 158.666 1456.67C155.066 1455.6 123.733 1444.4 119.333 1442.67C105.333 1436.8 104 1436 103.466 1433.07C102.133 1426.8 101.333 1372.67 102.4 1370.93C103.466 1369.47 106 1369.87 116.133 1373.2C138.266 1380.53 158 1386.4 163.066 1387.33C167.333 1388.13 168 1388 168 1385.73C168 1383.87 164.133 1380.8 153.733 1374.53C146 1369.87 138.933 1365.73 138.133 1365.47C137.333 1365.2 134.933 1363.6 132.666 1362C130.533 1360.4 127.733 1358.67 126.666 1358.13C125.6 1357.6 122.266 1355.73 119.333 1354C116.4 1352.27 112.133 1349.87 109.866 1348.67C107.6 1347.47 104.4 1345.2 102.933 1343.6C100.4 1340.8 100.266 1337.2 98.1331 1258.67C96.3997 1190.93 96.2664 1176.53 97.7331 1175.07C99.1997 1173.6 100.533 1173.6 105.333 1175.33C108.666 1176.53 115.733 1178.27 121.333 1179.33C126.8 1180.4 136.133 1182.13 142 1183.33C161.6 1187.47 162.666 1187.47 162.666 1183.6C162.666 1181.07 160.933 1179.33 154.4 1175.33C149.733 1172.53 136.533 1164 125.066 1156.4C113.6 1148.8 102.933 1142.67 101.466 1142.67C95.8664 1142.67 95.3331 1139.33 95.9997 1112.93C96.3997 1099.33 97.0664 1087.73 97.5997 1087.2C98.5331 1086.4 101.333 1087.2 111.333 1091.33C113.6 1092.13 120.8 1094.93 127.333 1097.33C134 1099.6 140.533 1102.13 142 1102.8C145.733 1104.4 155.733 1107.87 161.333 1109.6C163.866 1110.27 166.933 1111.73 168.133 1112.8C169.2 1113.87 172.133 1114.67 174.533 1114.67C180.133 1114.67 179.733 1110.8 174 1108.93C171.866 1108.27 169.066 1106.93 168 1106C166.933 1105.07 164.533 1103.87 162.666 1103.33C160.8 1102.8 156 1100.93 152 1099.07C148 1097.2 143.466 1095.33 142 1094.8C140.533 1094.27 136.666 1092.53 133.333 1091.07C130 1089.6 120.8 1085.73 112.666 1082.67C104.666 1079.6 97.5997 1076.4 97.0664 1075.6C95.7331 1073.6 95.7331 1043.47 96.9331 1042.27C98.1331 1040.93 98.2664 1040.93 107.2 1045.2ZM730.133 1051.33C730.533 1053.2 730.133 1068.27 729.2 1084.93C726.8 1125.33 727.066 1187.6 729.733 1209.33C731.866 1226.27 735.333 1243.47 739.466 1258.13C741.733 1266 741.733 1266.4 738.8 1276.13C737.066 1281.6 734.933 1288.13 734 1290.67C731.2 1297.87 721.466 1335.2 718.133 1352C715.333 1365.47 710.933 1393.47 709.866 1403.73C709.333 1408.27 708.266 1412.93 707.466 1414.13C706.533 1415.2 698.666 1418.27 690 1420.93C674 1425.6 664.4 1428.53 642 1435.33C635.466 1437.33 624.266 1440.67 617.333 1442.8C610.4 1444.93 601.733 1447.47 598 1448.67C594.4 1449.87 587.2 1452 582 1453.47C576.933 1455.07 571.2 1456.8 569.333 1457.33C567.466 1457.87 560 1460.27 552.666 1462.4C545.333 1464.67 531.6 1468.93 522 1471.87C512.533 1474.8 499.6 1478.67 493.333 1480.53C487.066 1482.4 479.333 1484.8 476 1485.87C470.533 1487.6 462.266 1490.13 438 1497.47C421.6 1502.4 412.533 1505.2 408.666 1506.53C406.533 1507.33 398.4 1509.73 390.666 1512.13C382.933 1514.4 372.8 1517.47 368 1518.93C353.466 1523.33 352.266 1523.47 351.466 1519.87C350.4 1514.67 345.066 1367.87 345.866 1364.8C346.533 1361.87 350.8 1360 386.666 1346.4C390.666 1344.8 396.4 1342.4 399.466 1341.07C402.4 1339.73 406 1338.67 407.466 1338.67C411.066 1338.67 413.866 1336.53 412.8 1334.8C411.6 1332.93 404 1332.93 399.466 1334.67C397.6 1335.33 389.733 1336.8 381.733 1338C373.866 1339.07 363.2 1340.67 358.133 1341.33C350.533 1342.53 348.533 1342.4 346.933 1340.8C345.333 1339.33 345.066 1330.4 344.8 1291.2L344.666 1243.47L350.666 1241.07C354 1239.87 362.666 1237.2 370 1235.33C377.333 1233.47 387.2 1230.67 392 1229.2C396.8 1227.87 401.466 1226.67 402.4 1226.67C403.466 1226.67 408.533 1225.47 413.733 1224.13C424.8 1221.07 440.933 1217.07 453.333 1214.13C458.133 1212.93 468.4 1210.53 476.133 1208.67C484 1206.8 491.6 1205.33 493.066 1205.33C496.933 1205.33 502.8 1202.53 501.866 1201.2C500.933 1199.6 485.066 1199.73 477.333 1201.33C474 1202 457.6 1204.4 440.666 1206.53C369.733 1215.87 350 1217.87 346.4 1215.87C344.133 1214.67 344 1211.6 344 1171.2V1128L347.466 1126.67C349.333 1125.87 352.666 1125.33 355.066 1125.33C359.066 1125.33 372.933 1122.8 398 1117.33C410.133 1114.8 424.133 1111.87 448.666 1106.67C456 1105.2 467.466 1102.8 474 1101.47C480.666 1100 490.533 1098 496 1096.8C512.266 1093.47 537.333 1088 546.666 1086C558 1083.6 574.933 1080.13 583.333 1078.53C587.066 1077.87 592.666 1076.67 596 1075.73C602.933 1074.13 612.666 1072 631.333 1068.13C657.866 1062.8 664.933 1061.33 677.333 1058.67C684.266 1057.07 694.266 1054.93 699.333 1053.87C704.533 1052.8 712 1051.07 716 1050.13C727.333 1047.33 729.2 1047.47 730.133 1051.33ZM1672.27 1109.47C1687.2 1111.87 1703.33 1114.13 1708.4 1114.67C1713.33 1115.2 1717.87 1116 1718.4 1116.53C1719.87 1118.13 1713.2 1122.4 1706.67 1124C1703.33 1124.8 1700.13 1126 1699.33 1126.53C1698.67 1127.2 1691.47 1129.87 1683.33 1132.67C1675.33 1135.33 1668.13 1138.13 1667.33 1138.67C1666.67 1139.2 1663.87 1140.13 1661.33 1140.67C1658.8 1141.2 1654.93 1142.53 1652.67 1143.47C1650.53 1144.4 1637.33 1149.2 1623.33 1154C1609.47 1158.8 1596.27 1163.6 1594 1164.67C1591.87 1165.6 1588.53 1166.8 1586.67 1167.33C1584.8 1167.73 1581.2 1168.93 1578.67 1170C1576.13 1170.93 1562.67 1175.73 1548.67 1180.67C1534.8 1185.47 1521.6 1190.27 1519.33 1191.33C1517.2 1192.4 1513.2 1193.73 1510.67 1194.53C1508.13 1195.2 1500.93 1197.73 1494.67 1200C1479.73 1205.6 1477.73 1206 1470.67 1203.33C1467.33 1202.13 1462.27 1200.67 1459.33 1200.13C1451.73 1198.8 1450.4 1197.73 1452 1194.53C1452.8 1193.2 1454 1192 1454.67 1192C1456 1192 1532.27 1158.4 1548.67 1150.53C1553.07 1148.53 1560.53 1145.07 1565.33 1142.8C1570.13 1140.67 1580.53 1135.87 1588.53 1132.13C1596.4 1128.4 1603.2 1125.33 1603.6 1125.33C1604.93 1125.33 1634 1110.4 1637.07 1108.13C1639.07 1106.67 1641.73 1105.33 1642.93 1105.33C1644.13 1105.33 1657.33 1107.2 1672.27 1109.47ZM1731.07 1125.73C1732.27 1128.8 1727.87 1320.53 1726.53 1321.87C1725.87 1322.67 1717.87 1322.27 1705.73 1320.8C1608.8 1309.33 1570.4 1308.13 1533.87 1315.47C1518.4 1318.53 1492.13 1325.2 1489.07 1326.8C1484.53 1329.2 1482.67 1327.33 1482.67 1320.13C1482.67 1311.87 1484.27 1310.27 1494.13 1308.13C1498.53 1307.2 1504.67 1305.6 1508 1304.53C1511.33 1303.6 1520.27 1301.2 1528 1299.33C1544.67 1295.07 1579.33 1285.87 1588.67 1283.2C1592.4 1282.13 1598.13 1280.8 1601.6 1280.13C1605.07 1279.6 1609.47 1278 1611.2 1276.8C1613.07 1275.6 1615.87 1274.67 1617.33 1274.67C1619.33 1274.67 1620 1274 1619.73 1272.27C1619.47 1270.8 1618.27 1270.13 1616.67 1270.4C1615.2 1270.67 1606.27 1272 1596.67 1273.2C1578.8 1275.73 1558.4 1278.8 1538.67 1282C1532.4 1283.07 1520.13 1284.8 1511.33 1286C1502.53 1287.2 1493.33 1288.8 1490.93 1289.6C1482.67 1292.13 1482.67 1292 1482.67 1250.53V1213.33L1486.4 1211.87C1488.4 1211.07 1491.87 1209.6 1494 1208.67C1496.27 1207.6 1500.67 1206.13 1503.87 1205.33C1507.07 1204.53 1510.67 1203.33 1511.87 1202.67C1514.53 1201.2 1540.53 1192 1541.87 1192C1543.07 1192 1563.2 1184.4 1568.67 1182C1570.93 1180.93 1574.8 1179.6 1577.33 1178.8C1579.87 1178.13 1585.33 1176.27 1589.33 1174.8C1614.8 1165.87 1627.87 1161.07 1631.6 1159.33C1633.87 1158.27 1636.4 1157.33 1637.33 1157.33C1638.27 1157.33 1640.8 1156.53 1643.07 1155.47C1645.47 1154.4 1652.13 1152 1658 1150C1663.87 1148.13 1669.87 1146 1671.33 1145.33C1672.8 1144.67 1680 1142 1687.33 1139.47C1694.67 1136.8 1701.6 1134.13 1702.67 1133.47C1703.87 1132.8 1706.8 1131.87 1709.33 1131.33C1711.87 1130.8 1714.8 1129.73 1716 1129.2C1718 1128 1727.87 1124.27 1729.47 1124.13C1730 1124 1730.67 1124.8 1731.07 1125.73ZM108.133 1155.73C112.533 1158.93 126.8 1167.33 129.733 1168.4C132.533 1169.47 132.666 1171.87 129.866 1172.93C127.333 1173.87 96.1331 1165.33 93.8664 1162.93C91.5997 1160.67 92.5331 1158.53 97.0664 1155.73C101.866 1152.8 104.266 1152.8 108.133 1155.73ZM1169.87 1193.2C1173.87 1194.53 1187.2 1197.2 1216.67 1202.67C1224.8 1204.27 1234.4 1206 1238 1206.8C1246.67 1208.4 1282.13 1214.67 1287.33 1215.47C1289.6 1215.87 1298.4 1217.33 1306.93 1218.8C1331.2 1222.8 1352.4 1226.4 1371.33 1229.6C1396.93 1233.87 1411.33 1233.2 1432.67 1227.2C1440.13 1225.07 1443.33 1220.93 1444.8 1211.87C1445.33 1208.93 1446.13 1206.27 1446.8 1206C1448.13 1205.07 1470.8 1211.6 1472.53 1213.33C1473.33 1214.13 1474.13 1230.27 1474.4 1252L1474.93 1289.2L1471.6 1290C1469.73 1290.53 1454.53 1289.6 1437.73 1288.13C1421.07 1286.67 1392.93 1284.13 1375.33 1282.53C1357.73 1281.07 1334.67 1278.93 1324 1277.87C1298 1275.07 1294.4 1275.07 1293.73 1276.93C1293.33 1277.87 1293.87 1278.93 1294.93 1279.2C1295.87 1279.47 1301.2 1280.93 1306.67 1282.53C1312.13 1284 1323.6 1286.53 1332 1288C1340.4 1289.47 1350.67 1291.2 1354.67 1292C1358.67 1292.8 1367.2 1294.27 1373.6 1295.33C1380 1296.27 1390.53 1298.13 1396.93 1299.2C1415.47 1302.4 1439.6 1306.27 1452.67 1308C1459.33 1308.93 1466.67 1310.53 1469.07 1311.47C1473.2 1313.2 1473.33 1313.33 1473.33 1321.73C1473.33 1329.2 1472.93 1330.4 1470.4 1331.6C1467.6 1332.93 1444.67 1340.27 1410 1350.8C1402.67 1353.07 1394.53 1355.73 1392 1356.8C1389.47 1357.73 1384.67 1359.2 1381.33 1360C1378 1360.8 1372.93 1362.27 1370 1363.33C1362.8 1365.73 1335.47 1374.4 1313.33 1381.33C1303.47 1384.4 1293.2 1387.73 1290.67 1388.67C1288.13 1389.73 1283.33 1391.2 1280 1392.13C1276.67 1392.93 1273.47 1394 1272.67 1394.67C1272 1395.2 1269.2 1396.13 1266.67 1396.67C1264.13 1397.2 1258.27 1399.33 1253.87 1401.33C1246.27 1404.8 1245.6 1405.47 1244.8 1410.27C1242.27 1427.07 1240.8 1472.4 1240.67 1534.4V1604.27L1237.33 1603.6C1233.33 1602.8 1222.8 1599.07 1219.87 1597.47C1218.67 1596.8 1215.33 1595.6 1212.4 1594.8L1207.07 1593.33L1206.13 1568.27C1204.13 1511.73 1196.27 1439.73 1187.07 1394C1186 1388.13 1184.53 1380 1183.87 1376C1183.33 1372 1181.87 1364.8 1180.8 1360C1172 1322.67 1166.4 1300 1164.8 1296C1163.73 1293.47 1161.07 1285.6 1158.8 1278.67C1153.47 1261.87 1150.93 1254.8 1148.67 1249.73C1146 1244 1146.13 1239.6 1149.33 1235.6C1150.8 1233.73 1152 1231.47 1152 1230.4C1152 1229.47 1152.93 1226.8 1154.13 1224.67C1155.33 1222.4 1157.33 1215.47 1158.67 1209.2C1160.93 1198 1163.2 1192 1164.93 1192C1165.47 1192 1167.6 1192.53 1169.87 1193.2ZM1637.07 1323.33C1676 1326.93 1733.47 1333.87 1822 1345.33C1833.73 1346.8 1847.6 1348.67 1852.67 1349.33C1857.87 1350 1876.13 1352.4 1893.33 1354.67C1910.53 1356.93 1934.53 1360 1946.67 1361.47C1978.4 1365.2 1985.2 1367.6 1973.07 1370.67C1969.87 1371.47 1965.2 1372.93 1962.67 1374C1954.93 1377.07 1933.2 1385.47 1925.33 1388.27C1921.33 1389.73 1914.8 1392.4 1910.93 1394.13C1907.07 1395.87 1903.33 1397.33 1902.53 1397.33C1901.73 1397.33 1899.2 1398.13 1896.93 1399.2C1887.87 1403.33 1880.13 1406.53 1866.67 1412C1847.87 1419.47 1825.47 1429.07 1821.33 1431.33C1819.47 1432.27 1814.93 1434.27 1811.33 1435.73C1807.6 1437.2 1801.07 1440 1796.67 1442C1792.27 1444 1786.93 1446.4 1784.67 1447.33C1782.53 1448.4 1777.2 1450.67 1772.93 1452.53C1768.67 1454.4 1764.93 1456 1764.53 1456C1764.13 1456 1761.87 1456.93 1759.6 1458C1752.93 1460.93 1734.8 1465.33 1728.67 1465.33C1725.6 1465.33 1714.27 1463.87 1703.2 1462C1684.4 1458.8 1644 1452.4 1635.33 1451.07C1628.4 1450.13 1598.53 1445.47 1584.67 1443.33C1577.33 1442.13 1566.8 1440.67 1561.33 1440C1555.87 1439.33 1545.33 1437.87 1538 1436.67C1486.53 1428.8 1366.93 1413.33 1306.93 1406.8C1285.73 1404.53 1278.93 1402.67 1280.67 1400C1281.07 1399.33 1283.87 1398.53 1287.07 1398C1290.13 1397.47 1293.87 1396.4 1295.33 1395.6C1296.67 1394.93 1301.87 1393.2 1306.67 1391.87C1318.67 1388.67 1326.27 1386.27 1374 1371.47C1379.87 1369.6 1389.47 1366.67 1395.33 1364.8C1401.2 1363.07 1412.93 1359.33 1421.33 1356.67C1429.73 1354 1440.27 1350.8 1444.67 1349.47C1449.07 1348.13 1457.47 1345.47 1463.33 1343.73C1508.67 1329.6 1526.67 1324.93 1543.73 1322.8C1550.13 1322 1556.8 1321.07 1558.67 1320.8C1565.07 1319.6 1615.6 1321.2 1637.07 1323.33ZM126.666 1368C126.666 1368.67 126.133 1369.33 125.466 1369.33C124.666 1369.33 123.733 1368.67 123.333 1368C122.933 1367.2 123.466 1366.67 124.533 1366.67C125.733 1366.67 126.666 1367.2 126.666 1368ZM885.066 1377.6C885.733 1385.07 874.4 1407.6 864.8 1418.27C858.4 1425.2 840.266 1440 838 1440C837.6 1440 834.8 1441.2 831.6 1442.53C821.733 1447.07 811.733 1449.47 799.066 1450.27C785.6 1451.07 782.666 1450.13 782.666 1444.67C782.666 1440.13 785.2 1438.93 795.333 1438C819.6 1435.87 837.2 1428.4 852.533 1413.73C863.2 1403.33 868.933 1394.93 875.2 1379.33C878.933 1370.27 884.4 1369.33 885.066 1377.6ZM1996.67 1376.93C1996.13 1379.73 1995.33 1387.33 1994.8 1394L1994 1405.87L1984.53 1410.93C1975.87 1415.47 1950.4 1426.8 1900.67 1448.13C1890.4 1452.53 1880.8 1456.67 1879.33 1457.33C1867.07 1462.8 1857.33 1466.67 1856.27 1466.67C1855.6 1466.67 1854.27 1467.47 1853.47 1468.53C1852.53 1469.6 1850 1470.93 1847.73 1471.47C1845.47 1471.87 1841.73 1473.47 1839.47 1474.8C1837.2 1476.13 1834.27 1477.33 1833.07 1477.33C1830.67 1477.33 1826.67 1480.8 1826.67 1482.8C1826.67 1484.93 1833.2 1484.13 1838.67 1481.33C1841.6 1479.87 1844.67 1478.67 1845.47 1478.67C1846.27 1478.67 1849.47 1477.6 1852.53 1476.13C1860.67 1472.4 1875.87 1466.67 1877.47 1466.67C1878.27 1466.67 1880.8 1465.87 1883.07 1464.8C1885.47 1463.73 1899.07 1458.67 1913.33 1453.33C1927.6 1448.13 1941.2 1442.93 1943.33 1442C1945.6 1441.07 1950.4 1438.93 1954 1437.2C1962.4 1433.6 1982.53 1423.6 1986.13 1421.33C1990.13 1418.93 1993.6 1420.53 1992.8 1424.27C1989.47 1439.73 1982.67 1602.4 1980.53 1716.67C1979.73 1761.2 1979.6 1763.47 1976.93 1766.4C1975.47 1768 1973.73 1769.33 1973.07 1769.33C1971.87 1769.33 1966.8 1771.47 1950.67 1778.93C1945.87 1781.2 1937.2 1785.07 1931.33 1787.6C1925.47 1790.13 1919.47 1792.67 1918 1793.33C1908.93 1797.2 1898.93 1801.33 1896.4 1802C1892.53 1803.07 1889.33 1806.27 1889.33 1808.93C1889.33 1811.33 1895.2 1810.4 1903.33 1806.67C1906.27 1805.33 1910.13 1803.87 1912 1803.33C1913.87 1802.93 1916.53 1802 1918 1801.33C1919.47 1800.67 1926.13 1798 1932.67 1795.47C1946 1790.4 1965.2 1782.27 1971.47 1779.07C1973.73 1777.87 1976.67 1777.33 1978 1777.87C1980.13 1778.67 1980.27 1780.67 1979.73 1801.73C1979.2 1825.47 1978.53 1828.4 1972.67 1833.6C1967.73 1838 1963.47 1839.6 1886.67 1864C1872.4 1868.53 1858.53 1873.07 1856 1874.13C1853.47 1875.07 1849.87 1876.27 1848 1876.67C1846.13 1877.07 1842.53 1878.27 1840 1879.33C1837.47 1880.27 1829.07 1883.07 1821.33 1885.33C1813.6 1887.73 1801.33 1891.6 1794 1894C1786.67 1896.4 1772 1901.2 1761.47 1904.67C1750.8 1908.13 1740.8 1911.6 1739.07 1912.4C1731.87 1915.6 1732 1917.2 1734.13 1828C1736.13 1746 1736.13 1746 1739.07 1743.73C1740.67 1742.4 1742.4 1741.33 1742.93 1741.33C1743.73 1741.33 1765.2 1732 1788 1721.73C1792.8 1719.6 1800.93 1716 1806 1714C1811.2 1711.87 1815.6 1709.73 1816 1709.2C1816.4 1708.67 1818.8 1707.73 1821.33 1707.07C1827.87 1705.33 1828.53 1701.33 1822.13 1701.33C1819.6 1701.33 1817.2 1701.87 1816.67 1702.53C1816.27 1703.2 1814 1704.13 1811.6 1704.67C1806.4 1705.73 1787.73 1711.6 1781.33 1714C1778.8 1715.07 1773.33 1716.8 1769.33 1717.87C1761.07 1720.13 1750 1723.73 1746 1725.47C1743.33 1726.53 1740.4 1727.07 1738 1726.8C1737.2 1726.67 1736.8 1717.6 1737.07 1701.73C1737.6 1672.4 1737.2 1673.2 1751.33 1670.27C1756.53 1669.2 1767.6 1666.4 1776 1664C1784.4 1661.6 1793.87 1659.2 1797.07 1658.53C1800.13 1657.87 1803.73 1656.93 1805.07 1656.27C1806.27 1655.6 1814 1653.2 1822 1650.8C1841.2 1645.47 1866.53 1637.07 1881.73 1631.2C1917.6 1617.33 1926.67 1612.67 1926.67 1608.27C1926.67 1605.6 1922.67 1606.53 1900 1614.53C1889.33 1618.13 1872.53 1623.73 1862.67 1626.67C1852.8 1629.73 1842 1633.07 1838.67 1634.13C1831.73 1636.4 1826.8 1637.87 1803.33 1644.53C1793.87 1647.33 1783.87 1650.27 1781.33 1651.33C1778.8 1652.27 1771.6 1654.4 1765.33 1656C1759.07 1657.6 1751.47 1659.87 1748.27 1660.93C1737.87 1664.53 1738.27 1666.67 1739.33 1618.93C1739.73 1595.73 1740.53 1575.73 1740.8 1574.53C1741.2 1573.33 1744.53 1570.93 1748.4 1569.47C1752.27 1567.87 1756.53 1566 1758 1565.33C1759.47 1564.67 1765.47 1562.27 1771.33 1560C1777.2 1557.73 1783.87 1555.07 1786.27 1554C1788.53 1552.93 1790.8 1552 1791.2 1552C1792.13 1552 1815.73 1541.47 1830.27 1534.53C1834.8 1532.4 1839.33 1530.67 1840.4 1530.67C1841.47 1530.67 1842.67 1529.73 1843.07 1528.67C1843.6 1527.6 1845.87 1526.27 1848.27 1525.6C1853.07 1524.4 1854.4 1520.53 1850 1520.93C1847.07 1521.2 1836.4 1524.53 1830 1527.33C1827.87 1528.27 1823.87 1529.47 1821.33 1530C1818.8 1530.53 1815.2 1531.73 1813.33 1532.67C1811.47 1533.6 1807.07 1534.93 1803.33 1535.87C1799.73 1536.67 1794.53 1538.27 1792 1539.2C1789.47 1540.27 1777.87 1543.87 1766.27 1547.33C1749.33 1552.27 1744.8 1553.2 1743.2 1551.87C1741.6 1550.53 1741.33 1544.27 1741.6 1512.13L1742 1474L1756 1468.4C1763.73 1465.2 1770.53 1462.67 1771.07 1462.67C1771.73 1462.67 1775.47 1461.2 1779.47 1459.33C1783.47 1457.47 1787.07 1456 1787.47 1456C1787.87 1456 1790.13 1455.2 1792.4 1454.13C1796.27 1452.27 1824.53 1440.8 1840.4 1434.53C1863.07 1425.47 1882.4 1417.6 1887.6 1415.2C1889.87 1414.13 1892.13 1413.33 1892.53 1413.33C1892.93 1413.33 1895.87 1412.13 1899.07 1410.8C1902.13 1409.33 1911.6 1405.33 1920 1402C1928.4 1398.67 1937.2 1395.07 1939.33 1394C1941.6 1393.07 1946.67 1390.93 1950.67 1389.33C1954.67 1387.73 1961.6 1384.93 1966 1383.07C1970.4 1381.2 1975.87 1379.07 1978 1378.13C1980.27 1377.2 1984.13 1375.47 1986.67 1374.27C1989.2 1373.2 1992.8 1372.13 1994.53 1372.13C1997.47 1372 1997.6 1372.4 1996.67 1376.93ZM1267.2 1412C1271.73 1412.67 1284.93 1414.53 1296.67 1416C1341.73 1422 1387.33 1428.13 1410.67 1431.47C1419.07 1432.53 1428.4 1433.87 1431.33 1434.27C1438.13 1435.07 1469.47 1439.2 1494.67 1442.67C1505.33 1444.13 1523.33 1446.53 1534.67 1448C1546 1449.47 1561.6 1451.6 1569.33 1452.67C1577.07 1453.87 1587.87 1455.33 1593.33 1456C1598.8 1456.67 1625.87 1460.27 1653.33 1464C1680.8 1467.87 1709.47 1471.6 1717.07 1472.4C1727.33 1473.47 1731.07 1474.27 1731.73 1475.87C1732.27 1477.07 1732.4 1495.33 1732 1516.67L1731.33 1555.33L1720.67 1555.07C1706.67 1554.8 1671.47 1550.67 1629.33 1544.53C1568.8 1535.87 1552.27 1534.13 1547.2 1536.13L1543.33 1537.6L1547.33 1539.47C1549.6 1540.4 1552.8 1541.2 1554.67 1541.33C1556.4 1541.33 1563.07 1542.53 1569.33 1544C1581.87 1546.8 1601.2 1550.67 1607.33 1551.47C1609.6 1551.87 1617.33 1553.2 1624.67 1554.67C1632 1556.13 1644.67 1558.53 1652.67 1559.87C1660.8 1561.33 1674 1563.73 1682 1565.2C1690.13 1566.67 1703.47 1568.93 1711.73 1570.13C1720 1571.33 1727.73 1573.2 1728.93 1574C1730.93 1575.47 1730.93 1581.07 1729.47 1646.8C1728.53 1686 1727.33 1720.13 1726.8 1722.67C1726.13 1726.27 1725.2 1727.47 1722.67 1727.87C1718.4 1728.4 1700 1725.73 1685.33 1722.4C1679.07 1721.07 1669.2 1718.93 1663.33 1717.87C1657.47 1716.67 1651.6 1715.2 1650.4 1714.53C1647.07 1712.8 1643.73 1713.07 1644.27 1714.93C1644.67 1715.87 1646 1716.93 1647.47 1717.33C1648.8 1717.73 1651.47 1718.93 1653.33 1720.27C1655.2 1721.47 1658.8 1722.8 1661.33 1723.33C1663.87 1723.87 1666.67 1724.8 1667.33 1725.33C1668.13 1726 1672 1727.33 1676 1728.4C1680 1729.6 1686.67 1731.73 1690.67 1733.33C1694.67 1734.93 1701.07 1737.07 1704.67 1738.13C1708.4 1739.07 1712.53 1740.53 1714 1741.2C1715.47 1742 1718.93 1743.47 1721.87 1744.67L1727.07 1746.67L1726.27 1755.07C1725.73 1759.6 1724.93 1796.8 1724.53 1837.73C1723.73 1898.13 1723.2 1912.27 1721.73 1913.6C1720.4 1914.67 1717.33 1914.53 1709.6 1912.67C1698.8 1910.27 1679.87 1906.53 1662 1903.2C1656.13 1902.13 1650.53 1901.07 1649.6 1900.67C1648.67 1900.27 1628 1896.13 1603.6 1891.33C1579.2 1886.4 1555.47 1881.73 1550.67 1880.67C1545.87 1879.6 1482 1866.8 1408.67 1852.13C1335.33 1837.33 1273.33 1824.93 1270.8 1824.27C1263.2 1822.53 1261.07 1818.13 1259.87 1802.4C1259.33 1794.93 1259.33 1788 1259.6 1787.07C1260.4 1784.93 1269.2 1784.93 1318.67 1786.67C1355.33 1788.13 1363.2 1787.73 1362.27 1784.93C1362 1784 1353.47 1781.07 1343.2 1778.4C1333.07 1775.73 1321.73 1772.53 1318 1771.47C1314.4 1770.4 1305.6 1768 1298.67 1766C1261.6 1755.47 1258.93 1754.67 1257.6 1752.93C1255.6 1750.53 1251.07 1634.13 1250.4 1567.33L1250 1536.67L1287.73 1536.27C1323.47 1536 1325.33 1535.87 1325.33 1533.47C1325.33 1531.6 1324 1530.67 1320.4 1530.13C1314.8 1529.07 1287.33 1520.8 1280 1517.87C1277.47 1516.93 1272 1515.2 1268 1514.27C1264 1513.2 1258.27 1511.2 1255.33 1509.87L1250 1507.33L1250.4 1490C1250.93 1464.53 1253.33 1415.73 1254.13 1412.93C1254.93 1410.27 1256.13 1410.27 1267.2 1412ZM486.933 1520.13C496.266 1526.13 496.666 1527.47 490.8 1534.53C479.6 1548.13 474.666 1561.47 473.466 1580.53L472.666 1593.87L463.333 1596.13C454.4 1598.53 409.066 1606.67 405.733 1606.67C401.733 1606.67 404.666 1600.67 414.4 1588.93C440.266 1557.33 447.866 1548.13 455.6 1538.53C467.333 1523.87 475.2 1516 478 1516C479.333 1516 483.333 1517.87 486.933 1520.13ZM510.533 1540L515.066 1543.87L510.266 1554.27C507.6 1560 504.266 1568 502.666 1572C501.2 1576 499.066 1581.2 498 1583.6C496.933 1585.87 496 1588.4 496 1589.2C496 1589.87 495.333 1592.13 494.4 1594C492.666 1597.87 486.8 1598.67 483.466 1595.2C478.4 1590.27 482.8 1562.93 490.8 1549.6C499.6 1534.8 502.666 1533.33 510.533 1540ZM1214.13 1750.13C1226.93 1755.73 1245.87 1765.33 1247.47 1767.07C1248.4 1768 1250 1780.53 1251.33 1795.33C1252.53 1810 1254.13 1822.93 1254.67 1824C1258.8 1831.6 1254.67 1830.53 1404.13 1860.53C1482 1876.13 1546 1889.47 1546.27 1890.13C1546.67 1891.33 1541.33 1898.8 1530.67 1912C1528.53 1914.53 1517.47 1928.93 1506.13 1944C1494.67 1959.07 1482.8 1974.53 1479.73 1978.53C1476.53 1982.53 1471.6 1988.93 1468.67 1992.8C1444.53 2024.8 1437.73 2033.33 1436 2034C1434.8 2034.4 1424.93 2032.13 1414 2029.2C1402.93 2026.13 1385.6 2021.33 1375.33 2018.53C1365.07 2015.73 1351.33 2011.87 1344.67 2010C1309.47 2000 1297.73 1996.67 1281.33 1992C1271.47 1989.2 1254.67 1984.53 1244 1981.47C1233.33 1978.4 1219.33 1974.4 1212.67 1972.53C1206.13 1970.67 1198 1968.27 1194.67 1967.33C1191.33 1966.4 1182.93 1964 1176 1962C1169.07 1960 1160.67 1957.6 1157.33 1956.67C1154 1955.73 1142.67 1952.53 1132 1949.47C1121.33 1946.4 1104.27 1941.6 1094 1938.67C1083.73 1935.73 1068.8 1931.47 1060.67 1929.2C1052.67 1927.07 1042.4 1924 1038 1922.67C1033.6 1921.33 1021.33 1917.73 1010.67 1914.67C955.733 1899.07 953.333 1898.27 953.333 1896.13C953.333 1895.47 956.533 1893.47 960.4 1891.47C966.666 1888.4 980.4 1880.67 991.333 1874.13C993.6 1872.93 998.4 1870 1002 1867.87C1005.73 1865.73 1009.6 1863.47 1010.67 1862.67C1011.73 1862 1018.93 1857.73 1026.67 1853.33C1034.4 1848.93 1041.6 1844.8 1042.67 1844.13C1048.27 1840.67 1090 1815.2 1108.8 1803.87C1120.67 1796.8 1137.6 1786.4 1146.53 1780.8C1155.47 1775.2 1163.33 1770.67 1164 1770.67C1164.67 1770.67 1165.33 1770.13 1165.6 1769.6C1165.87 1768.93 1169.33 1766.53 1173.33 1764.13C1177.33 1761.73 1183.33 1758.13 1186.67 1756C1196.8 1749.47 1201.87 1746.8 1204.13 1746.8C1205.33 1746.67 1209.87 1748.27 1214.13 1750.13Z",fill:"currentColor"}),f.jsx("path",{d:"M985.733 845.2C984.4 847.333 981.467 850.533 979.2 852.533C973.6 857.066 960.4 864 957.067 864C948.667 864 947.2 870 953.067 881.333C955.2 885.333 958 891.6 959.333 895.333C960.667 898.933 962.267 902.533 962.667 903.333C964.267 905.466 974.533 938.8 976.133 946.666C976.933 950.666 978.133 956.4 978.8 959.333C982 974 984.133 999.866 984.133 1024C984.133 1071.33 989.2 1104.13 1002.4 1141.33C1005.2 1149.33 1012.67 1167.07 1015.07 1171.33C1015.87 1172.8 1017.07 1175.2 1017.87 1176.67C1021.33 1183.07 1024.13 1185.6 1028.93 1186.8C1031.73 1187.47 1046.27 1188.4 1061.33 1188.93C1086.93 1189.6 1088.8 1189.47 1090.8 1187.2C1093.33 1184 1098.27 1153.33 1102.13 1115.2L1102.93 1107.07L1095.73 1098.53C1085.73 1086.53 1069.47 1061.87 1061.87 1046.67C1053.6 1030.13 1040.13 988.8 1040 979.866C1040 977.866 1038.93 972.533 1037.47 967.866C1036.13 963.2 1034 954.8 1032.8 949.333C1030.67 939.733 1025.47 921.733 1022 912C1013.73 889.066 1011.47 883.466 1006 871.333C1004.27 867.6 1000.93 860.4 998.667 855.333C994.533 846.266 991.2 841.333 989.2 841.333C988.667 841.333 987.2 843.066 985.733 845.2Z",fill:"currentColor"}),f.jsx("path",{d:"M910.667 976.133C898.934 981.467 888.534 984.933 876.667 987.467C860.667 990.8 835.467 990.8 819.734 987.6C804.8 984.4 801.867 985.467 803.334 993.733C803.867 996.8 804.8 1003.2 805.334 1008C805.867 1012.8 806.667 1017.6 807.067 1018.67C807.467 1019.73 809.2 1032.4 810.8 1046.67C812.667 1063.47 814.4 1073.6 815.734 1075.73C818 1079.2 826.534 1083.87 838.134 1087.87C842.4 1089.33 849.334 1091.87 853.334 1093.33C881.734 1104.27 884.267 1104.67 891.6 1098.4C903.067 1088.53 928.8 1063.2 931.2 1059.47C933.334 1055.87 933.6 1053.6 932.8 1041.6C931.2 1015.33 926.534 982.267 923.734 977.6C920.667 972.667 918.8 972.4 910.667 976.133ZM918.534 993.6C919.467 998.933 920.667 1006.67 921.334 1010.67C922 1014.67 922.934 1026.27 923.467 1036.27L924.267 1054.53L915.867 1063.47C911.2 1068.4 902 1077.2 895.467 1082.93C884.267 1093.07 883.467 1093.6 878.534 1092.93C875.734 1092.53 871.6 1091.33 869.2 1090.13C866.8 1088.93 864.4 1088 863.6 1088C862.934 1088 860.534 1087.07 858.267 1086C855.867 1084.93 847.734 1081.73 840.134 1078.8C824 1072.53 821.334 1070.53 821.334 1064.67C821.334 1062.27 819.734 1048.4 817.867 1033.87C815.867 1019.2 814.267 1004.67 814.134 1001.33C814 996 814.267 995.333 816.667 995.733C829.867 997.333 852 998.4 860.667 997.867C876.667 996.667 905.334 989.2 910 985.067C910.667 984.533 912.534 984 914.134 984C916.8 984 917.2 985.067 918.534 993.6Z",fill:"currentColor"}),f.jsx("path",{d:"M891.467 582.533C889.6 585.466 892.4 587.733 898.4 588.4C901.867 588.666 906.667 589.733 908.934 590.8C912.4 592.266 913.6 592.266 914.934 590.933C916.267 589.6 915.734 588.4 912.4 585.333C908.667 581.866 907.2 581.333 900.134 581.333C895.734 581.333 891.867 581.866 891.467 582.533Z",fill:"currentColor"}),f.jsx("path",{d:"M906.666 599.867C906.666 601.2 908.666 605.867 911.066 610.133C914.533 616.4 916.133 618 918.666 618C924.133 618 923.733 612.933 917.333 604.533C911.733 597.067 906.666 594.933 906.666 599.867Z",fill:"currentColor"}),f.jsx("path",{d:"M837.333 610.533C832.4 615.733 830 622.133 831.6 626C832.667 629.067 836.533 627.867 837.067 624.267C837.333 622.667 840.267 618.533 843.6 615.333C848.933 610.4 849.6 609.2 848 607.467C845.333 604.133 842.667 604.933 837.333 610.533Z",fill:"currentColor"}),f.jsx("path",{d:"M848.933 619.466C846.933 621.466 848.133 626.666 852.533 635.6C857.999 646.533 860.399 649.066 863.333 646.666C865.999 644.533 865.866 641.333 863.066 637.333C861.733 635.6 858.799 630.8 856.666 626.8C852.666 619.6 850.666 617.733 848.933 619.466Z",fill:"currentColor"}),f.jsx("path",{d:"M886 630.667C884.8 632.667 886.533 634.533 895.333 640.667C902.133 645.6 902.667 646.267 901.867 650C900.4 657.067 900.667 658 903.333 658.4C905.2 658.667 907.067 657.067 909.733 653.067C911.733 650 913.333 646.4 913.333 645.2C913.333 642.533 908.933 639.2 898 633.467C889.467 629.067 887.333 628.533 886 630.667Z",fill:"currentColor"}),f.jsx("path",{d:"M889.599 682.8C882.799 686.266 875.199 694.8 873.866 700.533C873.466 702.8 872.133 706.266 871.066 708.4C869.466 711.6 869.466 712.666 871.333 716.533C876.266 726.8 887.866 724 893.599 711.066C895.999 705.733 895.999 705.466 893.333 699.333C891.866 695.866 890.666 692.266 890.666 691.333C890.666 689.2 895.066 687.6 900.399 687.733C904.666 687.866 906.399 684.933 903.999 682C901.733 679.2 896.266 679.466 889.599 682.8ZM886.666 700.666C888.666 703.066 887.466 711.066 884.666 713.333C882.266 715.333 877.333 713.866 877.333 711.066C877.333 707.6 881.733 698.666 883.466 698.666C884.266 698.666 885.733 699.6 886.666 700.666Z",fill:"currentColor"}),f.jsx("path",{d:"M1286 634.533C1282.93 635.467 1262.53 645.867 1252.67 651.333C1230.27 663.733 1230 664 1208.4 677.867C1199.33 683.6 1192 688.933 1192 689.867C1192 692 1194.8 694.667 1196.8 694.667C1197.73 694.667 1202 692.4 1206.27 689.467C1213.2 684.933 1236 670.8 1242.27 667.333C1256.8 659.2 1275.73 648.8 1282.67 645.333C1293.33 639.733 1296 637.6 1295.07 635.2C1294.4 633.2 1290.67 632.933 1286 634.533Z",fill:"currentColor"}),f.jsx("path",{d:"M1363.47 646.533C1363.07 647.2 1358.27 649.867 1353.07 652.533C1347.73 655.2 1339.2 659.733 1334 662.4C1328.93 665.2 1318.13 671.067 1310 675.333C1302 679.733 1292.4 684.933 1288.67 686.933C1285.07 688.933 1279.87 691.733 1277.33 693.2C1270.27 697.067 1267.2 700.8 1269.33 703.333C1271.6 706.133 1273.87 705.867 1280 702C1282.93 700.133 1285.6 698.667 1286.13 698.667C1286.53 698.667 1288.53 697.6 1290.4 696.133C1292.4 694.8 1296.67 692.267 1300 690.4C1303.33 688.533 1307.87 685.867 1310.27 684.533C1315.2 681.467 1328.8 673.733 1338 668.667C1341.73 666.667 1347.07 663.6 1350 661.867C1352.93 660.133 1356.8 658 1358.67 657.067C1371.73 650.533 1375.87 645.333 1368.13 645.333C1365.87 645.333 1363.87 645.867 1363.47 646.533Z",fill:"currentColor"}),f.jsx("path",{d:"M1421.6 656.266C1420.8 657.2 1415.73 660.4 1410.4 663.2C1405.07 666 1399.73 668.8 1398.67 669.466C1397.6 670.133 1384.4 677.6 1369.33 686.133C1354.27 694.666 1340.4 702.666 1338.53 703.866C1336.67 705.066 1331.73 708 1327.73 710.4C1318.67 715.733 1313.33 720.533 1313.33 723.333C1313.33 727.466 1319.73 726.266 1329.87 720.133C1334.27 717.333 1338.93 714.8 1340 714.266C1341.07 713.733 1344.4 711.866 1347.33 710C1350.27 708.266 1354.8 705.466 1357.33 704C1359.87 702.533 1362.93 700.666 1364 700C1365.07 699.333 1371.73 695.2 1378.67 690.933C1405.47 674.266 1421.6 664.533 1426.13 662.266C1429.2 660.666 1430.67 659.066 1430.4 657.6C1429.87 654.8 1423.6 653.866 1421.6 656.266Z",fill:"currentColor"}),f.jsx("path",{d:"M1491.2 665.6C1487.47 668 1483.33 670.8 1481.87 671.6C1480.53 672.533 1477.2 674.533 1474.67 676C1472.13 677.466 1467.87 680 1465.2 681.733C1457.2 686.666 1423.07 707.066 1405.73 717.2C1396.67 722.4 1389.33 727.466 1389.33 728.4C1389.33 730.666 1392.13 733.333 1394.4 733.333C1396 733.333 1409.47 726.266 1417.87 720.933C1419.33 720 1427.2 715.2 1435.2 710.133C1451.47 700 1472.4 686.533 1484.4 678.533C1488.67 675.6 1492.53 673.333 1493.07 673.333C1495.33 673.2 1504.27 664.266 1503.47 662.8C1501.87 660.266 1498.27 661.2 1491.2 665.6Z",fill:"currentColor"}),f.jsx("path",{d:"M1615.07 742.8C1614.27 743.6 1609.07 745.067 1603.73 746C1585.87 749.067 1542.27 761.867 1517.07 771.6C1507.6 775.2 1505.33 777.867 1508.67 781.2C1510.8 783.333 1509.47 783.733 1536 773.733C1540.8 771.867 1547.73 769.467 1551.33 768.4C1555.07 767.2 1558.67 765.867 1559.33 765.333C1560.13 764.8 1562.8 763.867 1565.33 763.333C1567.87 762.8 1571.47 761.733 1573.33 760.933C1575.2 760.133 1579.73 758.8 1583.33 757.867C1587.07 756.933 1593.87 755.2 1598.67 754C1615.47 749.733 1620.67 747.467 1620.67 744.667C1620.67 741.6 1617.33 740.533 1615.07 742.8Z",fill:"currentColor"}),f.jsx("path",{d:"M1614 827.2C1612.53 828.267 1608.67 829.867 1605.33 830.8C1602 831.733 1598.8 832.933 1598 833.333C1597.33 833.867 1593.33 835.067 1589.33 836C1585.33 836.933 1581.33 838.133 1580.67 838.8C1579.87 839.333 1576.27 840.533 1572.67 841.467C1568.93 842.267 1565.47 843.467 1564.67 844.133C1564 844.667 1559.47 846.133 1554.93 847.333C1550.27 848.533 1545.47 850 1544.27 850.667C1542.93 851.333 1536.67 853.467 1530 855.333C1523.47 857.333 1512.67 860.533 1506 862.667C1499.47 864.667 1487.47 868.4 1479.47 870.8C1471.47 873.333 1464.67 876.133 1464.4 877.067C1463.47 879.2 1466.4 882.667 1469.07 882.667C1472.27 882.667 1524.4 866.267 1532.67 862.667C1534.13 862 1541.33 859.6 1548.67 857.333C1556 855.067 1563.2 852.533 1564.67 851.733C1566.13 850.933 1570 849.467 1573.33 848.533C1582.93 845.733 1594.93 841.467 1596.53 840.133C1597.33 839.467 1600.53 838.533 1603.6 838C1606.53 837.6 1610.13 836.267 1611.6 835.333C1612.93 834.267 1614.93 833.333 1616.13 833.333C1617.2 833.333 1619.33 832.4 1620.8 831.333C1623.33 829.333 1623.33 829.333 1620.8 827.333C1617.6 824.933 1617.2 824.933 1614 827.2Z",fill:"currentColor"}),f.jsx("path",{d:"M1120.4 890.266C1117.87 891.2 1118.27 895.733 1121.07 897.066C1127.6 900.533 1218.67 922 1283.33 935.466C1299.33 938.8 1329.87 942.533 1331.07 941.333C1331.73 940.8 1332 939.2 1331.73 937.866C1331.33 935.2 1330.8 935.066 1308.67 930.666C1300.67 929.066 1289.2 926.533 1283.33 925.2C1277.47 923.866 1265.47 921.2 1256.67 919.333C1247.87 917.466 1237.07 915.066 1232.67 914C1222.4 911.6 1184.13 903.2 1168.67 899.866C1162.13 898.4 1149.33 895.466 1140.27 893.333C1123.07 889.2 1122.93 889.2 1120.4 890.266Z",fill:"currentColor"}),f.jsx("path",{d:"M531.599 998.267C531.066 998.667 530.666 999.6 530.666 1000.13C530.666 1001.33 542.399 1008 544.533 1008C545.333 1008 547.733 1008.93 549.999 1010.13C554.666 1012.53 569.866 1018.67 571.199 1018.67C571.733 1018.67 574.666 1019.73 577.733 1021.2C585.066 1024.53 608.666 1032.8 621.999 1036.8C633.066 1040 641.999 1040.93 643.199 1038.8C645.733 1034.8 639.199 1031.33 618.799 1025.33C610.533 1022.93 606.399 1021.6 591.066 1016.53C587.466 1015.47 581.999 1013.73 578.666 1012.67C565.066 1008.4 559.199 1006.4 555.733 1004.53C553.866 1003.47 551.466 1002.67 550.399 1002.67C549.333 1002.67 546.266 1001.47 543.333 1000C537.999 997.333 533.199 996.533 531.599 998.267Z",fill:"currentColor"}),f.jsx("path",{d:"M480.533 1004.67C479.466 1007.33 483.866 1010.93 496 1017.2C519.333 1029.07 575.733 1056.93 579.6 1058.53C585.066 1060.8 588 1059.6 588 1055.33C588 1052.53 586.666 1051.33 579.066 1047.87C545.333 1032.27 528 1024.13 516.666 1018.67C510.8 1015.87 502 1011.6 496.933 1009.33C492 1006.93 487.6 1004.53 487.2 1003.87C486 1001.87 481.333 1002.53 480.533 1004.67Z",fill:"currentColor"}),f.jsx("path",{d:"M431.333 1013.33C430 1015.6 431.733 1017.07 442.4 1022.4C448 1025.33 461.733 1032.27 472.667 1038C507.067 1055.87 523.733 1064 525.733 1064C528.933 1064 529.733 1059.73 527.067 1057.2C524.8 1054.93 506.267 1045.6 465.333 1025.73C455.467 1020.93 445.2 1015.87 442.533 1014.53C437.2 1011.73 432.667 1011.33 431.333 1013.33Z",fill:"currentColor"}),f.jsx("path",{d:"M349.333 1024.53C349.333 1027.07 351.733 1028.53 358.666 1030.53C362 1031.47 365.333 1032.67 366 1033.33C366.8 1033.87 369.2 1034.67 371.333 1035.2C373.6 1035.73 377.2 1036.93 379.333 1037.87C381.6 1038.8 388.4 1041.47 394.666 1043.87C409.333 1049.47 416 1052 419.333 1053.47C420.8 1054.13 426.8 1056.4 432.666 1058.67C438.533 1060.93 445.2 1063.6 447.333 1064.53C449.6 1065.47 453.466 1067.07 456 1068C458.533 1068.93 461.2 1070.27 462 1070.93C465.866 1074.27 470.933 1069.6 467.733 1065.6C465.6 1063.07 445.333 1053.6 425.333 1045.73C416.933 1042.53 407.866 1039.07 405.333 1038C402.8 1037.07 395.866 1034.67 390 1032.8C358.4 1022.53 349.333 1020.8 349.333 1024.53Z",fill:"currentColor"}),f.jsx("path",{d:"M258.666 1032.4C258.666 1034.13 265.599 1040 267.466 1040C267.999 1040 271.466 1041.47 275.199 1043.2C287.866 1049.07 293.999 1051.6 315.333 1060C327.066 1064.67 337.866 1068.93 339.333 1069.47C349.599 1073.73 388.399 1086.67 390.933 1086.67C393.999 1086.67 395.599 1083.07 393.733 1080.27C393.066 1079.07 389.733 1077.33 386.533 1076.53C378.133 1074.13 367.999 1070.67 363.066 1068.53C360.799 1067.47 358.266 1066.67 357.466 1066.67C356.666 1066.67 354.133 1065.87 351.733 1064.8C349.333 1063.73 338.666 1059.73 327.999 1056C317.333 1052.27 307.066 1048.27 305.066 1047.2C303.199 1046.13 300.799 1045.33 299.733 1045.33C298.799 1045.33 295.066 1043.87 291.333 1042C287.733 1040.27 283.999 1038.67 283.199 1038.67C282.399 1038.67 277.733 1036.8 272.933 1034.67C263.466 1030.4 258.666 1029.6 258.666 1032.4Z",fill:"currentColor"}),f.jsx("path",{d:"M181.733 1039.6C178.799 1040.67 179.866 1044 183.733 1045.6C189.999 1048.27 201.866 1053.47 204.266 1054.8C205.599 1055.47 207.333 1056 208.266 1056C209.199 1056 211.866 1056.93 213.999 1058.13C216.266 1059.33 223.066 1062.27 229.333 1064.67C235.599 1067.07 242.533 1070 244.666 1071.2C246.933 1072.4 249.333 1073.33 250.133 1073.33C251.599 1073.33 259.333 1076.4 268.666 1080.53C270.933 1081.6 280.799 1085.47 290.666 1089.2C300.533 1093.07 309.866 1096.67 311.333 1097.2C330.533 1105.2 337.333 1106.27 337.333 1101.33C337.333 1097.87 334.533 1096 320.933 1091.2C314.266 1088.8 303.599 1084.93 297.333 1082.67C291.066 1080.4 283.866 1077.87 281.333 1077.07C278.799 1076.4 276.133 1075.33 275.333 1074.8C274.666 1074.27 271.066 1072.67 267.333 1071.47C263.733 1070.13 258.799 1068.27 256.399 1067.2C254.133 1066.13 251.333 1065.33 250.266 1065.33C249.066 1065.33 247.866 1064.8 247.466 1064.13C247.066 1063.47 245.066 1062.53 243.066 1062.13C240.933 1061.6 236.933 1060.13 233.999 1058.8C225.866 1055.2 214.133 1050.67 212.799 1050.67C212.133 1050.67 209.199 1049.47 206.133 1048.13C195.999 1043.33 185.066 1038.67 184.133 1038.8C183.733 1038.8 182.533 1039.2 181.733 1039.6Z",fill:"currentColor"}),f.jsx("path",{d:"M705.333 1184.27C690.133 1191.47 671.466 1200.27 668.666 1201.33C667.2 1202 661.466 1204.4 656 1206.67C650.533 1208.93 644.8 1211.33 643.333 1212C641.866 1212.67 634.4 1215.33 626.666 1218C618.933 1220.67 611.2 1223.47 609.333 1224.27C604.266 1226.4 580.133 1233.2 560 1238.13C528.133 1246 524.8 1246.8 517.333 1248C513.333 1248.53 504.666 1250 498 1251.07C471.066 1255.6 452.8 1257.73 431.333 1258.67C418.933 1259.33 408.533 1259.73 408.4 1259.87C407.466 1260.27 408.133 1265.33 409.2 1265.87C411.2 1267.2 465.2 1264 487.333 1261.33C521.6 1257.07 552 1251.07 582.666 1242.4C601.733 1237.07 635.2 1225.33 649.333 1219.07C671.2 1209.47 681.866 1204.27 705.2 1191.73C712 1188.13 717.333 1183.6 717.333 1181.47C717.333 1179.2 714.666 1179.73 705.333 1184.27Z",fill:"currentColor"}),f.jsx("path",{d:"M1662.13 1190.53C1661.6 1191.2 1659.33 1192.27 1656.93 1192.8C1654.67 1193.2 1649.6 1195.07 1645.73 1196.8C1642 1198.53 1638.13 1200 1637.33 1200C1636.4 1200 1633.87 1200.8 1631.6 1201.87C1627.33 1203.73 1619.2 1206.53 1608 1210C1597.47 1213.2 1588.8 1216.13 1584 1218C1581.47 1219.07 1576.93 1220.53 1574 1221.33C1565.07 1223.73 1559.33 1227.07 1559.33 1230C1559.33 1233.6 1566.8 1234.27 1574.8 1231.33C1578 1230.13 1582.8 1228.53 1585.33 1227.87C1587.87 1227.07 1596.27 1224 1604 1221.07C1666.93 1196.93 1671.33 1194.93 1671.33 1192C1671.33 1189.73 1663.47 1188.4 1662.13 1190.53Z",fill:"currentColor"}),f.jsx("path",{d:"M1184.4 1320.8C1183.47 1321.2 1182.67 1322.67 1182.67 1324C1182.67 1325.87 1183.87 1326.67 1187.07 1327.2C1197.73 1328.67 1244.27 1333.6 1266 1335.33C1295.73 1337.87 1370.8 1340.8 1373.87 1339.6C1375.33 1339.07 1376 1337.6 1375.73 1335.73C1375.33 1332.8 1374.53 1332.67 1359.33 1331.73C1285.73 1327.47 1221.47 1323.33 1192.67 1320.8C1189.07 1320.4 1185.2 1320.53 1184.4 1320.8Z",fill:"currentColor"}),f.jsx("path",{d:"M1544.67 1332C1543.2 1332.67 1534.8 1335.87 1526 1339.33C1517.2 1342.67 1508.8 1346 1507.33 1346.67C1505.87 1347.33 1499.87 1349.73 1494 1352C1488.13 1354.27 1482.13 1356.67 1480.67 1357.33C1479.2 1358 1473.2 1360.4 1467.33 1362.67C1461.47 1364.93 1455.47 1367.33 1454 1368C1450.67 1369.47 1429.33 1378.53 1416.67 1383.6C1402.53 1389.47 1398.67 1391.73 1398.67 1394.67C1398.67 1400.53 1405.47 1399.2 1427.33 1389.33C1428.8 1388.67 1437.2 1385.33 1446 1381.87C1469.2 1372.93 1478.67 1369.2 1483.33 1367.33C1485.47 1366.4 1490.67 1364.27 1494.67 1362.67C1498.67 1361.07 1504.4 1358.67 1507.33 1357.33C1510.27 1356.13 1515.33 1353.87 1518.67 1352.53C1530.27 1347.6 1548.67 1338.4 1551.07 1336.4C1556 1331.87 1551.73 1328.93 1544.67 1332Z",fill:"currentColor"}),f.jsx("path",{d:"M1631.2 1340.67C1629.87 1341.73 1627.87 1342.67 1626.8 1342.67C1625.73 1342.67 1622.53 1343.87 1619.47 1345.2C1616.4 1346.67 1607.47 1350.67 1599.33 1354C1591.33 1357.47 1582.8 1361.07 1580.67 1362C1578.4 1363.07 1571.87 1365.73 1566 1368C1560.27 1370.4 1554.53 1372.8 1553.47 1373.47C1552.27 1374 1548.67 1375.73 1545.33 1377.07C1497.6 1397.47 1489.87 1401.73 1493.33 1405.87C1495.47 1408.67 1496.93 1408.53 1503.33 1405.33C1511.73 1401.2 1527.87 1394 1537.33 1390.13C1545.07 1386.93 1553.47 1383.07 1560.4 1379.73C1561.73 1379.07 1569.87 1375.6 1578.4 1371.87C1586.93 1368.13 1596.67 1363.87 1600 1362.4C1603.33 1360.8 1607.87 1358.8 1610 1357.87C1612.27 1356.93 1619.33 1353.73 1625.73 1350.8C1632.27 1347.73 1638 1345.33 1638.67 1345.33C1640.13 1345.33 1641.47 1341.33 1640.53 1339.87C1639.47 1338 1634.13 1338.4 1631.2 1340.67Z",fill:"currentColor"}),f.jsx("path",{d:"M1720.67 1350.13C1717.73 1351.2 1713.6 1352.67 1711.33 1353.2C1702.8 1355.47 1675.2 1364.67 1668.67 1367.47C1666.53 1368.4 1662.53 1369.73 1660 1370.53C1653.2 1372.53 1642.27 1376.4 1628 1382C1621.07 1384.67 1611.47 1388.4 1606.67 1390.27C1602 1392.13 1596.27 1394.4 1594 1395.33C1591.87 1396.27 1586.67 1398.4 1582.67 1400C1563.87 1407.47 1562 1408.8 1563.47 1412.67C1564.67 1415.87 1571.07 1414.67 1585.33 1408.53C1591.6 1406 1598.53 1403.2 1600.93 1402.53C1603.33 1401.87 1606.93 1400.4 1608.93 1399.33C1610.93 1398.27 1613.33 1397.33 1614.27 1397.33C1615.2 1397.33 1619.07 1395.87 1622.93 1394.13C1626.8 1392.4 1639.87 1387.33 1652 1382.8C1664.13 1378.27 1675.07 1374 1676.27 1373.33C1677.6 1372.53 1679.33 1372 1680.13 1372C1680.93 1372 1683.47 1371.2 1685.73 1370.13C1688.13 1369.2 1692.13 1367.6 1694.67 1366.67C1697.2 1365.73 1701.2 1364.13 1703.33 1363.2C1707.33 1361.6 1710.8 1360.4 1723.33 1356C1728.13 1354.4 1730 1353.07 1730 1351.2C1730 1347.87 1727.2 1347.6 1720.67 1350.13Z",fill:"currentColor"}),f.jsx("path",{d:"M1811.33 1358.93C1809.2 1359.73 1806.4 1361.2 1805.2 1362.13C1804.13 1363.2 1802.53 1364 1801.73 1364C1800.53 1364 1771.47 1375.07 1763.33 1378.67C1761.87 1379.33 1754.93 1381.73 1748 1384C1741.07 1386.4 1733.6 1389.07 1731.33 1390C1729.2 1390.8 1723.73 1392.93 1719.33 1394.53C1704.4 1400.13 1678.8 1411.07 1672 1414.8C1653.6 1424.93 1650.4 1427.87 1653.6 1431.6C1655.73 1434.27 1657.73 1433.6 1678.67 1424C1688.53 1419.47 1698.8 1414.93 1701.33 1413.87C1703.87 1412.67 1707.2 1411.33 1708.67 1410.67C1716.67 1407.07 1740.27 1397.33 1740.8 1397.33C1741.2 1397.33 1743.47 1396.53 1745.73 1395.47C1748.13 1394.4 1756.8 1390.8 1764.93 1387.47C1782 1380.53 1805.07 1369.6 1806 1368C1806.4 1367.33 1808.67 1366.4 1811.07 1366C1816.4 1364.8 1818.67 1363.07 1818.67 1359.87C1818.67 1357.07 1817.2 1356.93 1811.33 1358.93Z",fill:"currentColor"}),f.jsx("path",{d:"M1888.67 1372C1885.73 1373.47 1882.93 1374.67 1882.27 1374.67C1881.6 1374.67 1879.2 1375.6 1876.93 1376.67C1874.53 1377.73 1864 1381.87 1853.33 1386C1842.67 1390.13 1832.13 1394.27 1829.73 1395.33C1827.47 1396.4 1825.2 1397.33 1824.67 1397.33C1823.47 1397.33 1794.67 1408.53 1788.4 1411.33C1786.13 1412.4 1783.6 1413.33 1782.8 1413.33C1782 1413.33 1778.8 1414.53 1775.6 1416C1772.53 1417.33 1762.8 1421.33 1754 1424.67C1745.2 1428 1736.13 1431.6 1733.73 1432.67C1731.47 1433.73 1728.67 1434.67 1727.73 1434.67C1725.2 1434.67 1721.33 1438.93 1721.33 1441.73C1721.33 1445.47 1725.47 1446.67 1730.67 1444.4C1733.2 1443.33 1746.4 1438.27 1760 1433.07C1773.6 1427.87 1786.53 1422.93 1788.67 1421.87C1790.93 1420.93 1797.47 1418.27 1803.33 1416C1809.2 1413.73 1815.2 1411.33 1816.67 1410.67C1818.13 1410 1824.13 1407.6 1830 1405.33C1835.87 1403.07 1841.87 1400.67 1843.33 1400C1844.8 1399.33 1849.07 1397.6 1852.8 1396.13C1856.53 1394.67 1862.53 1392.13 1866.13 1390.53C1869.73 1388.93 1876 1386.13 1880 1384.4C1896.27 1377.33 1901.33 1373.2 1897.33 1370.67C1894.67 1368.93 1894.67 1368.93 1888.67 1372Z",fill:"currentColor"}),f.jsx("path",{d:"M1352.67 1598.53C1351.73 1600.27 1355.47 1603.87 1359.07 1604.67C1362.67 1605.47 1364.27 1605.87 1410.67 1617.47C1467.2 1631.6 1467.47 1631.6 1483.33 1634.67C1491.47 1636.27 1503.47 1638.67 1510 1640C1551.6 1648.4 1607.2 1655.2 1641.6 1656.27C1656.4 1656.67 1659.47 1655.73 1657.87 1651.6C1656.93 1648.93 1655.73 1648.67 1638.67 1646.67C1631.73 1645.87 1622.67 1644.67 1618.67 1644C1614.67 1643.2 1603.6 1641.47 1594 1640C1573.2 1636.67 1548.53 1632.53 1534 1629.73C1528.13 1628.67 1519.73 1627.33 1515.33 1626.67C1510.93 1626.13 1502.27 1624.67 1496 1623.47C1489.73 1622.4 1477.73 1620.13 1469.33 1618.67C1460.93 1617.2 1442.67 1613.73 1428.67 1611.2C1414.8 1608.67 1398.27 1605.6 1392 1604.53C1385.73 1603.47 1379.73 1602.27 1378.67 1601.87C1376.8 1601.2 1356.27 1597.33 1354.4 1597.33C1353.87 1597.33 1353.2 1597.87 1352.67 1598.53Z",fill:"currentColor"}),f.jsx("path",{d:"M1318.93 1732.4C1316.4 1735.33 1319.87 1738.13 1328.67 1740.4C1333.07 1741.47 1342.93 1744.27 1350.67 1746.53C1368.67 1751.6 1397.2 1759.07 1413.33 1762.67C1420.27 1764.27 1430.8 1766.67 1436.67 1768C1450.13 1771.07 1467.33 1774.27 1479.33 1775.87C1484.53 1776.53 1495.87 1778.13 1504.67 1779.33C1513.47 1780.53 1529.73 1781.6 1540.67 1781.73C1560.53 1782 1560.67 1782 1561.07 1778.93C1561.47 1776.67 1560.93 1776 1558.4 1776C1551.07 1776 1500.53 1767.2 1440 1755.2C1426.4 1752.53 1412 1749.87 1408 1749.33C1399.47 1748.13 1381.73 1744.53 1355.33 1738.67C1345.07 1736.27 1334 1733.87 1330.67 1733.2C1327.33 1732.53 1323.73 1731.6 1322.53 1731.33C1321.33 1730.93 1319.73 1731.47 1318.93 1732.4Z",fill:"currentColor"}),f.jsx("path",{d:"M1220.67 1816C1213.33 1821.07 1205.6 1826.27 1203.33 1827.47C1201.2 1828.8 1196.27 1832 1192.53 1834.93C1188.8 1837.73 1185.33 1840 1184.8 1840C1184.27 1840 1180 1842.93 1175.2 1846.67C1170.4 1850.27 1165.2 1854 1163.73 1854.8C1162.13 1855.73 1160.13 1856.93 1159.47 1857.6C1158.67 1858.27 1149.33 1865.07 1138.8 1872.67C1128.13 1880.27 1118.93 1887.6 1118.27 1888.8C1116.4 1892.13 1120.93 1895.33 1124.13 1892.93C1138.93 1882.53 1151.47 1873.47 1158 1868.53C1177.87 1853.6 1194.13 1841.73 1196 1840.93C1197.07 1840.4 1201.6 1837.33 1206 1834C1213.33 1828.4 1221.47 1822.8 1226.8 1819.33C1236.53 1813.2 1240.13 1810.27 1239.6 1808.93C1238.4 1805.33 1233.2 1807.2 1220.67 1816Z",fill:"currentColor"}),f.jsx("path",{d:"M1285.87 1861.07C1275.47 1871.07 1272.13 1874.13 1247.87 1894.8C1210.13 1927.07 1204 1932.53 1204 1933.47C1204 1936.13 1205.87 1938.67 1207.87 1938.67C1212.67 1938.67 1301.33 1857.6 1301.33 1853.2C1301.33 1848.4 1296.67 1850.67 1285.87 1861.07Z",fill:"currentColor"}),f.jsx("path",{d:"M1407.6 1880.93C1406.8 1882.93 1405.2 1885.6 1404.27 1886.67C1403.33 1887.73 1399.47 1892.53 1395.6 1897.33C1391.87 1902.13 1377.07 1917.73 1362.93 1932C1348.67 1946.27 1336.67 1958.93 1336.13 1960C1334.53 1962.93 1335.87 1965.33 1339.07 1965.33C1344.27 1965.33 1401.87 1902.67 1411.87 1886.27C1414.4 1882.27 1414.67 1880.93 1413.33 1879.33C1410.93 1876.4 1409.47 1876.93 1407.6 1880.93Z",fill:"currentColor"}),f.jsx("path",{d:"M409.067 754C408.667 754.4 404.533 755.333 399.867 756.133C387.2 758.133 372.533 762.933 355.333 770.666C308.4 791.866 289.333 798.933 272.666 801.333C251.866 804.266 240.533 802.266 220.8 792.4C213.733 788.8 206.667 786.266 203.867 786.133C198.133 786 193.066 789.066 122.666 834.666C113.066 840.933 104.133 846.533 102.8 847.333C88.3998 855.733 84.2665 859.733 86.2665 863.2C89.3332 868.266 116.666 888.8 129.2 895.466C132.533 897.2 136.266 899.2 137.333 900C138.4 900.666 142.133 902.4 145.733 904C149.2 905.466 154.666 907.866 157.866 909.333C161.2 910.8 164.533 912 165.333 912C166.266 912 168.8 912.8 171.067 913.866C179.2 917.6 203.467 922.4 222 924.133C240.667 925.733 270.666 924.4 282.666 921.466C285.2 920.933 290.666 919.6 294.666 918.8C303.333 916.8 330.533 908.133 347.333 902C371.467 893.066 384.4 890.4 402.667 890.266C414.533 890.133 421.467 890.8 427.067 892.4C446.267 898 448.8 898.533 452.667 897.6C456.8 896.4 462.267 889.733 463.2 884.8C464 880.666 469.2 857.066 472.133 844C474.4 833.733 478 813.466 479.467 803.333C479.867 801.066 481.067 793.066 482.267 785.2C483.467 777.466 484 769.6 483.6 767.733C481.6 759.733 456.8 753.333 427.867 753.333C417.867 753.333 409.467 753.6 409.067 754ZM462 766C467.2 767.333 472.133 769.066 473.067 769.866C474.4 771.2 473.867 777.066 470.667 799.333C468.4 814.8 465.067 834.8 463.2 844C461.333 853.2 458.933 865.2 458 870.8C457.067 876.4 455.333 882.933 454 885.2C451.467 890.133 453.2 890.266 432 884.133C420.267 880.666 415.733 880 404 880C383.733 880.133 370.4 883.333 328 898.666C276.933 917.066 232 919.866 184.667 907.333C168.4 903.066 163.2 901.066 144.666 892.133C126.666 883.466 99.9998 865.2 99.9998 861.733C99.9998 861.066 106.8 856.533 115.066 851.466C123.2 846.266 143.866 833.066 160.666 821.866C192.4 801.066 200.933 796 204.8 796C206 796 210.933 798.133 215.867 800.666C233.733 809.866 239.866 811.333 261.333 811.2C277.333 811.066 282.266 810.533 290 808.133C303.066 804 310.533 801.333 316.666 798.666C319.6 797.333 331.067 792.4 342 787.6C371.6 774.666 381.6 771.066 396.533 767.333C414.133 763.066 416.4 762.933 436 763.333C446.533 763.466 456.133 764.533 462 766Z",fill:"currentColor"}),f.jsx("path",{d:"M2044.27 784.8C2040.4 787.2 2037.07 789.333 2036.67 789.333C2036.4 789.333 2032.67 791.733 2028.4 794.666C2024.13 797.6 2019.73 800.666 2018.67 801.333C2017.6 802.133 2012 806 2006.27 810C1964.8 839.333 1945.07 846.666 1897.47 850.533C1885.6 851.466 1881.73 852.266 1879.87 854.266C1878.67 855.6 1875.73 862.4 1873.33 869.333C1871.07 876.266 1868.67 882.533 1868.13 883.333C1867.47 884 1866.53 886.133 1866 888C1864 895.2 1858.4 908.4 1854.67 914.8C1852.4 918.4 1850.67 922 1850.67 922.533C1850.67 924 1839.6 940.266 1833.73 947.6C1827.87 954.8 1828.13 958.8 1834.67 960.266C1850.93 964.133 1865.07 965.6 1891.33 966.266C1923.87 967.066 1957.6 965.2 1968.4 961.866C1979.2 958.666 1993.07 951.866 2000.8 946C2007.2 941.2 2021.33 924.4 2021.33 921.733C2021.33 921.066 2022.4 919.066 2023.73 917.333C2024.93 915.466 2026.67 912.133 2027.47 910C2028.27 907.733 2030.8 901.466 2032.93 896C2039.2 880.133 2045.33 858.533 2048.67 840C2049.2 837.466 2050.4 831.733 2051.33 827.333C2054 815.333 2057.87 784.533 2056.93 782.133C2055.6 778.933 2052.13 779.6 2044.27 784.8ZM2046 801.6C2043.07 824.666 2033.73 865.333 2027.2 883.333C2025.33 888.4 2022.93 895.333 2022 898.666C2020.93 902 2019.2 905.866 2018.13 907.333C2016.93 908.8 2016 910.8 2016 911.733C2016 912.666 2013.2 917.733 2009.73 922.933C1995.07 945.2 1972 954.933 1928.67 957.333C1901.33 958.8 1845.33 955.866 1842.8 952.8C1841.87 951.733 1843.73 947.733 1848.53 940.666C1856.27 929.066 1869.33 904.8 1869.33 902C1869.33 901.066 1870.27 898.533 1871.33 896.533C1872.4 894.4 1873.33 891.6 1873.33 890.4C1873.33 889.2 1873.87 887.866 1874.53 887.466C1875.07 887.066 1877.6 880.666 1880 873.333C1884.93 858.133 1883.33 859.2 1902 858.133C1924.8 856.666 1947.33 851.866 1962.67 845.066C1968.8 842.4 1969.6 842 1979.87 836.266C1985.73 833.066 2011.2 816.533 2014 814.266C2019.87 809.333 2042.53 794.8 2044.4 794.8C2046.67 794.666 2046.8 795.466 2046 801.6Z",fill:"currentColor"}),f.jsx("path",{d:"M359.334 1671.6C356.934 1672.13 329.734 1684.27 306 1695.33C285.734 1704.8 275.067 1709.73 268 1712.93C260.667 1716.27 254.8 1718.93 235.334 1728.13C229.467 1730.8 220.8 1734.93 216 1737.07C179.067 1754 142.8 1771.2 120.267 1782.4C102.934 1791.07 99.7335 1794.4 103.2 1801.07C105.6 1805.73 142.8 1840.67 193.067 1885.6C197.2 1889.33 200 1892.8 200 1894.53C200 1896.13 199.467 1897.33 198.667 1897.33C198 1897.33 194.267 1899.87 190.4 1902.93C186.4 1906.13 180.267 1910.8 176.667 1913.2C170.534 1917.47 163.6 1923.33 138.934 1944.93C134.4 1948.93 130.667 1953.33 130.667 1954.53C130.667 1957.6 134.8 1961.33 144.4 1966.8C148.667 1969.33 153.2 1972 154.4 1972.67C169.6 1981.87 191.067 1994.4 195.334 1996.8C198.267 1998.27 212.4 2006.27 226.667 2014.27C240.934 2022.4 256.934 2031.2 262 2034C267.2 2036.8 273.2 2040.13 275.334 2041.33C277.6 2042.67 282.934 2045.6 287.334 2048C297.067 2053.2 310.934 2060.67 323.334 2067.33C340.534 2076.67 350 2081.33 352.134 2081.33C353.467 2081.33 360.267 2074.13 367.467 2065.07C374.8 2056.13 382.8 2046.4 385.467 2043.47C388 2040.4 393.867 2033.2 398.534 2027.33C403.067 2021.47 411.867 2010.4 418 2002.67C424.267 1994.93 431.867 1985.33 434.934 1981.33C454.134 1956.53 459.867 1949.33 464.8 1943.33C467.734 1939.6 474.4 1931.2 479.334 1924.67C484.4 1918 488.934 1912.4 489.334 1912C489.734 1911.6 493.067 1907.47 496.667 1902.67C500.267 1897.87 510.534 1884.27 519.6 1872.4C528.667 1860.53 536 1849.87 536 1848.8C536 1846.27 527.2 1841.07 515.067 1836.53C504 1832.53 503.2 1830.93 509.2 1824.53C512.534 1820.93 528 1799.07 528 1798C528 1797.73 530.534 1793.2 533.734 1787.73C542.134 1773.6 546 1766.67 555.734 1748C560.534 1738.8 565.734 1729.2 567.334 1726.67C568.934 1724.13 570.534 1720.93 571.067 1719.6C572.134 1716.67 567.734 1712 563.734 1712C560.134 1712 541.2 1708.4 474.667 1695.2C424.934 1685.33 414.4 1683.2 382.667 1675.73C373.467 1673.6 365.067 1671.73 364 1671.47C362.934 1671.2 360.8 1671.33 359.334 1671.6ZM376.667 1683.33C381.067 1684.27 392.534 1686.67 402 1688.67C417.867 1691.87 429.6 1694.27 453.334 1699.33C463.334 1701.47 478.934 1704.53 493.334 1707.33C498.8 1708.4 510.8 1710.8 520 1712.8C529.2 1714.67 540.667 1716.93 545.734 1717.87C558.534 1720.27 558.934 1720.8 552.934 1732.4C550.267 1737.6 547.067 1743.47 546 1745.33C534.4 1765.2 528 1776.4 528 1776.8C528 1777.2 526.8 1779.07 525.467 1781.07C524.134 1783.07 516.534 1794.4 508.8 1806.27C500.267 1819.33 493.867 1828 492.534 1828C491.334 1828 480.667 1824.8 468.8 1820.8C442.134 1811.87 418.534 1804.27 410.667 1802C407.334 1801.07 398.534 1798.4 390.934 1796.13C372.534 1790.53 365.867 1790.67 353.2 1796.8C347.734 1799.47 342.134 1802.13 340.667 1802.8C339.2 1803.47 335.734 1805.33 333.067 1806.93C330.4 1808.67 322.534 1813.2 315.734 1817.2C308.934 1821.2 301.867 1825.47 300 1826.8C286 1836.27 247.734 1861.33 245.334 1862.67C242.134 1864.4 240.934 1863.73 216 1846.13C189.867 1827.6 172.8 1810.67 163.334 1794C158.134 1784.93 157.467 1784 155.2 1784.93C152.4 1786 152.934 1790.13 156.934 1797.07C169.2 1818.4 197.867 1845.47 226.534 1862.93C231.067 1865.6 234.667 1868.53 234.667 1869.33C234.667 1870.13 231.867 1872.67 228.4 1875.07C225.067 1877.33 219.6 1881.33 216.4 1883.6C213.2 1886 210 1888 209.2 1888C208.4 1888 201.734 1882.4 194.267 1875.6C179.067 1862 168.667 1852.67 143.867 1830.93C126.8 1816.13 115.334 1805.2 112.134 1801.07C108.134 1795.73 111.6 1793.73 162 1770.67C167.2 1768.4 174.4 1765.07 178 1763.33C192 1756.8 204.934 1750.93 211.334 1748.13C215.067 1746.53 219.067 1744.67 220.267 1744C221.6 1743.33 228.534 1740 235.734 1736.8C249.067 1730.8 258.534 1726.4 278.4 1717.2C284.4 1714.27 289.6 1712 290 1712C290.4 1712 306.667 1704.67 319.334 1698.67C322.267 1697.2 330.4 1693.47 337.334 1690.4C344.267 1687.2 352.134 1683.6 354.667 1682.4C359.6 1680 362.534 1680.13 376.667 1683.33ZM383.734 1802.67C389.334 1804.27 396.4 1806.27 399.334 1807.2C402.267 1808.13 408.267 1810 412.667 1811.33C417.067 1812.53 424 1814.67 428 1816C432 1817.33 440.8 1820.13 447.334 1822C454 1824 461.2 1826.4 463.334 1827.33C465.6 1828.27 469.467 1829.47 472 1830C474.534 1830.53 477.334 1831.47 478 1832C478.8 1832.67 482 1833.73 485.334 1834.53C488.667 1835.47 493.467 1836.93 496 1837.87C498.534 1838.93 505.867 1841.73 512.4 1844.13C520.267 1847.07 524 1849.2 524 1850.53C524 1852.27 487.467 1902.13 473.067 1920.13C471.067 1922.67 466.8 1927.87 463.734 1931.87C427.734 1977.33 421.6 1984.93 407.334 2002.53C400 2011.6 392.267 2021.2 390 2024C387.867 2026.8 381.2 2034.8 375.334 2042C369.467 2049.2 361.867 2058.53 358.4 2062.67C354.934 2066.93 351.467 2070.8 350.8 2071.33C350 2071.73 342.4 2068.4 333.734 2063.87C325.067 2059.33 316.267 2054.67 314 2053.6C311.867 2052.53 301.067 2046.4 290 2040.27C279.067 2034 267.867 2027.73 265.334 2026.4C260.667 2023.87 254.8 2020.53 244.667 2014.67C241.734 2012.93 237.867 2010.67 236 2009.73C234.134 2008.67 230.934 2006.8 228.667 2005.47C226.534 2004.13 218.667 1999.6 211.334 1995.33C204 1991.2 197.067 1986.8 195.867 1985.87C194.8 1984.8 193.334 1984 192.8 1984C192.267 1984 185.867 1980.4 178.534 1976C171.2 1971.6 164.934 1968 164.534 1968C164.134 1968 161.867 1966.53 159.6 1964.8C157.2 1963.07 152.8 1960.4 149.6 1958.8C146.534 1957.2 144 1955.2 144 1954.27C144 1952.4 151.734 1945.33 172.4 1928.8C188.934 1915.6 230.934 1883.87 242.134 1876.27C246.667 1873.2 251.067 1869.73 252 1868.67C252.934 1867.6 254.134 1866.67 254.667 1866.67C255.2 1866.67 264.934 1860.53 276.134 1852.93C318.4 1824.53 361.334 1800.13 369.067 1800C371.467 1800 378 1801.2 383.734 1802.67Z",fill:"currentColor"}),f.jsx("path",{d:"M271.2 1740.13C269.6 1742.8 293.066 1764.53 307.333 1773.33C316.266 1778.93 322.666 1782.27 337.6 1789.2C344.133 1792.27 349.333 1792 349.333 1788.67C349.333 1786.4 343.066 1781.87 338.266 1780.67C334.8 1779.73 327.466 1776.13 314 1768.67C305.466 1764 292 1753.73 283.2 1745.2C276.4 1738.8 273.066 1737.33 271.2 1740.13Z",fill:"currentColor"}),f.jsx("path",{d:"M193.867 1767.33C191.6 1773.07 228.667 1803.47 251.867 1814.8C259.6 1818.53 267.867 1822.53 270.134 1823.73C275.067 1826.13 278.667 1825.2 278.667 1821.47C278.667 1819.47 274.667 1816.93 261.734 1810.53C236 1798 227.467 1792.4 210.267 1776.93C206 1773.2 200.8 1768.93 198.667 1767.6C194.934 1765.33 194.667 1765.2 193.867 1767.33Z",fill:"currentColor"}),f.jsx("path",{d:"M363.066 1876.93C359.866 1878.13 361.333 1881.2 367.066 1884.93C370.133 1887.07 373.6 1889.2 374.666 1889.73C375.733 1890.4 379.066 1892.27 382 1893.87C394.266 1901.2 425.733 1916 428.667 1916C429.6 1916 431.066 1915.07 432 1914C433.333 1912.4 433.333 1911.6 432 1910C430.266 1908 423.067 1904 421.067 1904C417.6 1904 376.933 1883.73 369.466 1878.27C366.133 1875.87 365.733 1875.73 363.066 1876.93Z",fill:"currentColor"}),f.jsx("path",{d:"M276 1904.93C276.133 1907.87 297.867 1926.53 313.6 1937.2C326.533 1946 345.333 1956.8 355.333 1961.2C359.067 1962.93 363.867 1965.07 366 1966C372.133 1968.8 390.667 1974.67 393.333 1974.67C394.667 1974.67 396.4 1973.73 397.333 1972.67C399.6 1970 397.2 1967.2 391.867 1966C389.733 1965.47 387.733 1964.53 387.333 1963.87C386.8 1963.2 385.6 1962.67 384.533 1962.67C381.733 1962.67 373.333 1959.07 350.667 1947.73C328.4 1936.8 306.4 1922.93 291.067 1910.53C281.467 1902.53 276 1900.53 276 1904.93Z",fill:"currentColor"}),f.jsx("path",{d:"M206.666 1937.07C206.666 1939.47 208.799 1941.33 225.999 1953.33C231.199 1956.93 235.999 1960.4 236.666 1960.93C237.466 1961.6 239.466 1962.8 241.333 1963.6C243.199 1964.53 248.933 1968 253.999 1971.2C262.266 1976.4 292.533 1992 305.333 1997.73C331.199 2009.2 333.599 2009.73 334.399 2004.27C334.799 2002.13 333.866 2000.93 331.066 1999.87C329.066 1999.2 325.599 1997.73 323.333 1996.67C321.199 1995.73 315.466 1993.2 310.666 1991.2C286.399 1980.67 254.799 1963.87 236.133 1951.33C228.533 1946.13 221.199 1941.33 219.866 1940.53C218.533 1939.73 216.266 1938.13 214.933 1936.93C211.599 1933.87 206.666 1934 206.666 1937.07Z",fill:"currentColor"})]})}const Bie=E.styled("div")(({theme:e})=>({padding:e.spacing(2),display:"flex",justifyContent:"center",gap:e.spacing(2)})),Tl="ApplicaEmpty",si={message:`${Tl}-message`,icon:`${Tl}-icon`,toolbar:`${Tl}-toolbar`},Nie=E.styled("span",{name:Tl,slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({flex:1,height:"calc(100vh - 200px)",[`& .${si.message}`]:{textAlign:"center",opacity:e.palette.mode==="light"?1:.8,margin:"0 1em",color:e.palette.mode==="light"?"inherit":e.palette.text.primary},[`& .${si.icon}`]:{fontSize:"9em",marginTop:"16px",marginBottom:"16px"},[`& .${si.toolbar}`]:{textAlign:"center"}}));function $ie({icon:e,className:t}){return e!==void 0?e:t!=null&&t.includes("RaList-noResults")?f.jsx(Lie,{className:si.icon}):f.jsx(Fie,{className:si.icon})}function f1({actions:e,className:t,hasCreate:n,icon:r,title:o,subtitle:i,sx:s,...l}){const{hasCreate:d}=te.useResourceDefinition(l),u=n!==void 0?n:d,p=te.useResourceContext(l),g=te.useTranslate(),h=te.useGetResourceLabel(),m=p?g(`resources.${p}.name`,{smart_count:0,_:h(p,0)}):g("ra.empty.no_resource"),v=g("ra.page.empty",{name:m}),b=g("ra.page.invite");return f.jsxs(Nie,{className:$e(`${Tl}-root`,t),sx:s,children:[f.jsxs(E.Box,{className:si.message,children:[$ie({icon:r,className:t}),f.jsx(E.Typography,{variant:"h4",paragraph:!0,children:o||g(`resources.${p}.empty`,{_:v})}),i||(u?f.jsx(E.Typography,{variant:"body1",children:g(`resources.${p}.invite`,{_:b})}):null)]}),f.jsx(Bie,{className:si.toolbar,children:e||(u?f.jsx(YC,{variant:"contained",size:"medium",disableFloatingButton:!0}):null)})]})}function qm(e){const{children:t,hasExpand:n,hasBulkActions:r,isRowSelectable:o,onSelect:i,selectedIds:s=[],data:l=[],multiSort:d=[],setMultiSort:u,resource:p}=e,{setSort:g}=te.useListContext(),h=te.useTranslateLabel(),m=P.useCallback((w,T=!1)=>{if(!u){const M=d.find(N=>N.field===w),F=(M==null?void 0:M.order)==="ASC"?"DESC":"ASC";g({field:w,order:F});return}const O=d.findIndex(M=>M.field===w);if(!T){if(O>=0){const M=d[O].order;u(M==="ASC"?[{field:w,order:"DESC"}]:[])}else u([{field:w,order:"ASC"}]);return}const j=[...d];O>=0?j[O].order==="ASC"?j[O]={field:w,order:"DESC"}:j.splice(O,1):j.push({field:w,order:"ASC"}),u(j)},[d,u,g]),v=P.useCallback(w=>{if(i)if(w.target.checked){const T=l.filter(O=>o?o(O):!0).map(O=>O.id);i(T)}else i([])},[l,o,i]),b=P.useCallback(w=>{const T=d.findIndex(O=>O.field===w);return T>=0?{order:d[T].order,index:T}:null},[d]),x=P.useMemo(()=>P.Children.toArray(t),[t]),S=P.useMemo(()=>l.filter(w=>o?o(w):!0).length,[l,o]),I=P.useCallback(w=>T=>{m(w,T.ctrlKey||T.metaKey)},[m]);return f.jsx(E.TableHead,{children:f.jsxs(E.TableRow,{children:[!!n&&f.jsx(E.TableCell,{}),!!r&&f.jsx(E.TableCell,{padding:"checkbox",children:f.jsx(E.Checkbox,{color:"primary",checked:s.length>0&&s.length===S,onChange:v})}),x.length>0?x.map((w,T)=>{if(!w||typeof w!="object"||!("props"in w))return f.jsx(E.TableCell,{},T);const O=w.props.sortBy??w.props.source??(typeof w.props.label=="string"?w.props.label:void 0),j=w.props.sortable!==!1&&!!O,M=j?b(O):null,N=h({...w.props,source:w.props.source??O,resource:p})??w.props.label??null;return f.jsx(E.TableCell,{align:w.props.textAlign||"left",sx:{cursor:j?"pointer":"default"},children:j?f.jsx(E.TableSortLabel,{active:!!M,direction:(M==null?void 0:M.order.toLowerCase())||"asc",onClick:I(O),children:f.jsx(E.Typography,{children:N})}):N},w.props.source??T)}):f.jsx(E.TableCell,{})]})})}const Ym=f.jsx(z.BulkDeleteButton,{}),mx=B.forwardRef((e,t)=>{const{optimized:n=!1,body:r=n?z.PureDatagridBody:z.DatagridBody,header:o=qm,children:i,className:s,empty:l,expand:d,bulkActionsToolbar:u=!1,bulkActionButtons:p=Ym,hover:g,isRowSelectable:h,isRowExpandable:m,resource:v,rowClick:b,rowSx:x,rowStyle:S,size:I="small",sx:w,expandSingle:T=!1,...O}=e,j=te.useTranslate(),{sort:M,data:F,isLoading:N,onSelect:k,onToggleItem:_,selectedIds:H,setSort:U,total:G}=te.useListContext(e),[Y,V]=P.useState([]),Z=P.useRef(""),W=P.useMemo(()=>Y.map(ce=>`${ce.field}:${ce.order}`).join("|"),[Y]);P.useEffect(()=>{Z.current!==W&&(Y.length>0&&U({field:Y.map(fe=>fe.field).join(","),order:Y.map(fe=>fe.order).join(",")}),Z.current=W)},[W,Y,U]);const se=P.useCallback(ce=>{V(ce)},[]),K=!!p,$=P.useMemo(()=>({isRowExpandable:m,expandSingle:T}),[m,T]),ne=P.useRef(null);P.useEffect(()=>{(!H||H.length===0)&&(ne.current=null)},[JSON.stringify(H)]);const oe=P.useCallback((ce,fe)=>{const be=F.map(ye=>ye.id),ue=be.indexOf(ne.current);if(ne.current=fe.target.checked?ce:null,fe.shiftKey&&ue!==-1){const ye=be.indexOf(ce),Ce=be.slice(Math.min(ue,ye),Math.max(ue,ye)+1),Ee=fe.target.checked?Yte(H,Ce):cne(H,Ce);k(h?Ee.filter(me=>h(F.find(je=>je.id===me))):Ee)}else _(ce)},[F,h,k,_,H]),J=f.jsx(f1,{hasCreate:!1,sx:{"& .ApplicaEmpty-icon":{fontSize:"7em"}},title:j("ra.navigation.no_results")});return N===!0?f.jsx(z.DatagridLoading,{className:s,expand:d,hasBulkActions:K,nbChildren:B.Children.count(i),size:I}):F==null||F.length===0||G===0?l||J:f.jsx(Die,{value:$,children:f.jsxs(z.DatagridRoot,{sx:w,className:$e(z.DatagridClasses.root,s),children:[u!=null&&P.isValidElement(u)?P.cloneElement(u,{selectedIds:H,total:G}):p!==!1?f.jsx(hx,{children:P.isValidElement(p)?p:Ym}):null,f.jsx("div",{className:z.DatagridClasses.tableWrapper,children:f.jsxs(E.Table,{ref:t,className:z.DatagridClasses.table,size:I,...zie(O),children:[Km(f.jsx(qm,{multiSort:Y,setMultiSort:se}),{children:i,sort:M,data:F,hasExpand:!!d,hasBulkActions:K,isRowSelectable:h,onSelect:k,resource:v,selectedIds:H,setSort:U},i),Km(r,{expand:d,rowClick:b,data:F,hasBulkActions:K,hover:g,onToggleItem:oe,resource:v,rowSx:x,rowStyle:S,selectedIds:H,isRowSelectable:h},i)]})})]})})});function Km(e,t,n){return P.isValidElement(e)?P.cloneElement(e,t,n):P.createElement(e,t,n)}const Vie=["isRequired","setFilter","setPagination","limitChoicesToValue","translateChoice","field","fieldState","formState"];function zie(e){return Object.keys(te.sanitizeListRestProps(e)).filter(t=>!Vie.includes(t)).reduce((t,n)=>({...t,[n]:e[n]}),{})}mx.displayName="Datagrid";const Wie=ge(mx,{slot:"root"})(({theme:e})=>({"& .RaBulkActionsToolbar-toolbar":{height:48},"& .RaBulkActionsToolbar-collapsed":{height:0,paddingTop:0,paddingBottom:0},"& .RaBulkActionsToolbar-topToolbar":{backgroundColor:"transparent"},"& .icon span":{top:-1,left:-1},"& th":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",backgroundColor:"inherit !important",textTransform:"none",fontSize:e.typography.subtitle1.fontSize}}));function vx(e){return f.jsx(Wie,{...e})}const wp=P.createContext({hasFilterSidebar:!1});function yx(){var e;return((e=P.useContext(wp))==null?void 0:e.hasFilterSidebar)??!1}function Sp({source:e,value:t}){const n=P.useContext(z.FilterContext),r=z.useResourceContext(),o=P.useMemo(()=>n.find(d=>{var u,p;return P.isValidElement(d)&&(((u=d.props)==null?void 0:u.source)===e||(e==null?void 0:e.includes((p=d.props)==null?void 0:p.source)))}),[n,e]),i=P.useMemo(()=>P.isValidElement(o)?o.props:{},[o]);if(!(i!=null&&i.chip))throw new Error(`No chip component found for filter source "${e}". Ensure your filter components define a 'chip' prop.`);const s={...i,specificSource:e,record:{[e]:t},value:t,resource:r};return P.isValidElement(i.chip)?P.cloneElement(i.chip,s):Qe.isFunction(i.chip)?P.createElement(i.chip,s):null}function Uie(e){const{value:t,source:n,lastItem:r}=e,o=Sp({source:n,value:t});return f.jsxs(E.Stack,{children:[f.jsx(E.ListItem,{alignItems:"flex-start",sx:{pl:0},children:f.jsx(E.ListItemText,{primary:o,sx:{my:0}})}),r===n?null:f.jsx(E.Divider,{})]})}function Hie(){const{filterValues:e}=te.useListContext(),t=te.useTranslate();return f.jsxs(E.Stack,{mt:4,width:"100%",children:[f.jsx(E.Typography,{variant:"h6",fontWeight:"bold",color:"secondary",children:t("ra.title.selected_filters")}),f.jsx(E.List,{sx:{bgcolor:"background.paper",pt:0,overflowY:"auto",maxHeight:400},children:e?Object.entries(e).map(([n,r])=>{const o=Object.entries(e).pop(),i=o?o[0]:"";return f.jsx(Uie,{lastItem:i,value:r,source:n},n)}):null})]})}function Gie(e){const{onClose:t,addQuery:n}=e,r=te.useTranslate(),{handleSubmit:o}=fn.useFormContext(),i=P.useCallback(s=>{n(s.queryName)},[n]);return f.jsxs(E.Toolbar,{sx:{display:"flex",justifyContent:"flex-end",gap:1},children:[f.jsx(E.Button,{onClick:t,children:r("ra.action.cancel")}),f.jsx(E.Button,{variant:"contained",onClick:o(i),children:r("ra.action.save")})]})}function bx(e){const{open:t,onClose:n}=e,{filterValues:r,sort:o,perPage:i,displayedFilters:s,resource:l}=te.useListContext(),[d,u]=dC(l),p=te.useTranslate(),g=P.useCallback(m=>{const v={label:m.trim(),value:{filter:r,sort:o,perPage:i,displayedFilters:s}},b=fC(d);u(b.concat(v)),n()},[r,o,i,s,d,u,n]),h=P.useCallback(()=>m=>{if(d.some(v=>v.label===(m==null?void 0:m.trim())))return"ra.validation.already_exists"},[d]);return f.jsx(E.Dialog,{open:t,onClose:n,maxWidth:"xs",fullWidth:!0,children:f.jsxs(yp,{toolbar:f.jsx(Gie,{addQuery:g,onClose:n}),title:p("ra.title.save_favorite_filter"),modal:!0,children:[f.jsx(Sr,{fullWidth:!0,source:"queryName",label:p("ra.input.query_name"),placeholder:p("ra.input.query_name_placeholder"),validate:[te.required(),h()]}),f.jsx(Hie,{})]})})}function Cx(){const[e,t]=P.useState(!1),n=te.useTranslate(),r=P.useCallback(()=>{t(!1)},[]),o=P.useCallback(()=>{t(!0)},[]);return f.jsxs(f.Fragment,{children:[f.jsx(E.Button,{sx:{height:"36px"},variant:"contained",onClick:o,children:n("ra.action.save_filter")}),f.jsx(bx,{open:e,onClose:r})]})}function qie(e){const{onDelete:t,value:n,source:r}=e,o=Sp({source:r,value:n});return o&&f.jsx(E.Chip,{label:o,variant:"combined",color:"primary",sx:{height:"36px","& .MuiChip-deleteIcon":{fontSize:"1rem !important",mr:1}},deleteIcon:f.jsx(Vt.Close,{}),onDelete:t})}function Yie(){const{filterValues:e,setFilters:t}=te.useListContext(),n=E.useTheme(),r=E.useMediaQuery(n.breakpoints.down("sm")),o=te.useTranslate(),i=P.useCallback(()=>{t({})},[t]),s=P.useCallback(d=>{const u={...e};delete u[d],t(u)},[e,t]),l=P.useCallback(()=>f.jsxs(E.Stack,{flexDirection:"row",gap:2,children:[f.jsx(Cx,{}),f.jsx(E.Button,{variant:"outlined",onClick:i,children:o("ra.action.reset_filters")})]}),[i,o]);return f.jsxs(E.Stack,{gap:2,flexDirection:r?"column":"row",children:[f.jsxs(E.Stack,{flexDirection:"row",flexWrap:r?"nowrap":"wrap",gap:2,py:.5,overflow:"auto",width:r?window.innerWidth-58:"auto",children:[Object.entries(e).map(([d,u])=>f.jsx(qie,{source:d,value:u,onDelete:()=>s(d)},d)),r?null:f.jsx(l,{})]}),r?f.jsx(l,{}):null]})}function V0(){const{filterValues:e}=te.useListContext(),t=E.useTheme(),n=E.useMediaQuery(t.breakpoints.down("sm")),r=te.useTranslate();return e&&!Qe.isEmpty(e)?f.jsxs(E.Stack,{sx:{backgroundColor:t.palette.background.paper},flexDirection:n?"column":"row",alignItems:"baseline",gap:2,p:n?2:0,children:[f.jsx(E.Typography,{variant:"h6",color:"secondary",whiteSpace:"nowrap",children:r("ra.title.active_filters")}),f.jsx(Yie,{})]}):null}function xx({open:e,onClose:t,filterToRemove:n}){var v;const r=te.useTranslate(),{resource:o,filterValues:i,sort:s,perPage:l,displayedFilters:d}=te.useListContext(),u=((v=n==null?void 0:n.value)==null?void 0:v.filter)||i,p=(n==null?void 0:n.label)??"",[g,h]=z.useSavedQueries(o);function m(){const b={filter:u,sort:s,perPage:l,displayedFilters:d},x=z.extractValidSavedQueries(g),S=x.findIndex(I=>Nl(I.value,b));h([...x.slice(0,S),...x.slice(S+1)]),t()}return f.jsxs(E.Dialog,{open:e,onClose:t,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[f.jsx(E.DialogTitle,{id:"alert-dialog-title",children:r("ra.saved_queries.remove_dialog_title",{label:p,_:"Remove saved query?"})}),f.jsx(E.DialogContent,{children:f.jsx(E.DialogContentText,{children:r("ra.saved_queries.remove_message",{_:"Are you sure you want to remove that item from your list of saved queries?"})})}),f.jsxs(E.DialogActions,{children:[f.jsx(E.Button,{onClick:t,children:r("ra.action.cancel")}),f.jsx(E.Button,{onClick:m,color:"primary",autoFocus:!0,children:r("ra.action.confirm")})]})]})}function Kie(e){const{query:t}=e,[n,r]=P.useState(!1),o=P.useCallback(()=>{r(s=>!s)},[]),i=te.useTranslate();return f.jsxs(f.Fragment,{children:[f.jsx(E.Button,{size:"small",color:"primary",onClick:o,children:i("ra.action.delete")}),f.jsx(xx,{open:n,onClose:o,filterToRemove:t})]})}function wx(e){const{closeSidebar:t}=e,{resource:n,setFilters:r,setSort:o,setPage:i,setPerPage:s}=te.useListContext(),[l,d]=P.useState(!1),u=wt(),[p]=dC(n),g=fC(p),h=te.useTranslate(),m=P.useCallback(()=>{d(b=>!b)},[]),v=P.useCallback(b=>{const{value:x}=b;r(x.filter),o({field:x.sort.field,order:x.sort.order}),i(1),s(x.perPage),t()},[r,o,i,s,t]);return p&&p.length>0?f.jsx(E.Box,{sx:{mt:"-1px",mb:2,"& .MuiAccordion-root":{borderColor:u.palette.divider,"& .Mui-expanded:last-of-type":{marginBottom:"inherit"},"& .MuiAccordionSummary-root":{bgcolor:"transparent",flexDirection:"row"},"& .MuiAccordionSummary-content":{justifyContent:"space-between",marginLeft:0},"& .MuiAccordionDetails-root":{borderColor:u.palette.divider},"& .MuiAccordionSummary-expandIconWrapper":{color:u.palette.text.primary,"&.Mui-expanded":{transform:"rotate(180deg)"}}}},children:f.jsxs(E.Accordion,{expanded:l,onChange:m,children:[f.jsx(E.AccordionSummary,{sx:{px:"20px"},expandIcon:f.jsx(Vb,{fontSize:"small"}),children:f.jsxs(E.Typography,{variant:"h5",fontWeight:"bold",children:[h("ra.action.saved_filters")," (",g.length,")"]})}),g==null?void 0:g.map((b,x)=>f.jsxs(E.AccordionDetails,{sx:{display:"flex",justifyContent:"space-between",px:"20px",alignItems:"center"},children:[f.jsx(E.Typography,{variant:"body1",children:b.label}),f.jsxs(E.Stack,{flexDirection:"row",alignItems:"center",children:[f.jsx(Kie,{query:b}),f.jsx(E.Button,{size:"small",color:"primary",onClick:()=>v({value:b.value}),children:h("ra.action.apply")})]})]},x))]})}):f.jsx(E.Box,{height:16})}function Zie(e){const{sx:t}=e;return f.jsx(E.Box,{sx:{...t,flex:"1 1 auto",backgroundColor:"background.paper",overflowY:"auto"},children:e.children})}const Xie=444;function Qie(e){const{sx:t,anchor:n="right",variant:r="temporary",open:o=!1,onClose:i,keepMounted:s=!1}=e,l=E.useTheme(),u=E.useMediaQuery(l.breakpoints.down("sm"))?"bottom":n,p=P.useCallback(()=>{i&&i()},[i]),g=P.useMemo(()=>({backgroundImage:"none",boxShadow:"-10px 4px 42px 0px rgba(0, 0, 0, 0.25)",width:{sm:"30%"},maxWidth:{sm:Xie},[l.breakpoints.down("sm")]:{width:"100% !important",maxWidth:"100% !important"}}),[l.breakpoints]);return f.jsx(E.Drawer,{...e,anchor:u,onClose:p,open:o,PaperProps:{sx:{...g,...t}},variant:r,keepMounted:s,children:e.children})}const Jie=P.memo(Qie);function ese(e){return f.jsxs(E.Box,{children:[f.jsx(E.Divider,{}),f.jsx(E.Box,{bgcolor:"background.paper",px:2,py:2.5,children:e.children})]})}function tse(e){const{sx:t}=e;return f.jsxs(E.Box,{children:[f.jsx(E.Stack,{alignItems:"center",bgcolor:"background.paper",direction:"row",px:2.5,py:2,spacing:2,minHeight:"64px",sx:t,children:e.children}),f.jsx(E.Divider,{sx:{opacity:.6}})]})}function nse(e){const{primary:t,secondary:n}=e;return f.jsxs(E.Box,{display:"inline-flex",flexGrow:1,flexShrink:1,flexDirection:"column",children:[t?f.jsx(E.Typography,{variant:"h5",children:t}):null,n?f.jsx(E.Typography,{variant:"h6",children:n}):null]})}function rse(e){return f.jsx(E.Box,{display:"inline-flex",flexGrow:0,flexShrink:0,children:e.children})}const xr=Jie;xr.Content=Zie;xr.Footer=ese;xr.Header=tse;xr.HeaderText=nse;xr.HeaderAction=rse;function ose(e){const{form:t,filters:n}=e,r=te.useResourceContext();return f.jsx(z.FilterContext.Provider,{value:Array.isArray(n)?n:[n],children:f.jsx(fn.FormProvider,{...t,children:f.jsx(E.Box,{px:"20px",children:n?(Array.isArray(n)?n:[n]).map((o,i)=>{const s={...o.props,display:"label"};return P.isValidElement(o)?f.jsx(E.Box,{mb:1,children:P.cloneElement(o,{...s,resource:r})},i):null}):null})})})}function ise(e){const{filters:t,keepMounted:n=!1}=e,[r,o]=P.useState(!1),{setSidebarOpen:i,sidebarOpen:s}=_3(),{filterValues:l,setFilters:d}=te.useListContext(),u=te.useTranslate(),p=P.useMemo(()=>t?(Array.isArray(t)?t:[t]).reduce((w,T)=>(w[T.props.source]=(l==null?void 0:l[T.props.source])??"",w),{}):{},[t,l]),g=fn.useForm({defaultValues:l,values:p}),{handleSubmit:h,getValues:m,reset:v}=g;P.useEffect(()=>{const w=z.getFilterFormValues(m(),l),T=m();Qe.isEqual(w,T)||v(w)},[JSON.stringify(l),l,m,v]);const b=P.useCallback(()=>{i&&i(!1)},[i]),x=P.useCallback(w=>{Object.keys(w).forEach(T=>{(Qe.isNull(w[T])||Qe.isUndefined(w[T])||w[T]==="")&&delete w[T]}),d(w),b()},[d,b]),S=P.useCallback(()=>{v({}),d({})},[v,d]),I=P.useCallback(()=>{o(w=>!w),S(),setTimeout(()=>o(!1),1e3)},[S]);return f.jsxs(xr,{sx:{height:"100%"},open:s,onClose:b,keepMounted:n,children:[f.jsxs(xr.Header,{children:[f.jsx(xr.HeaderText,{primary:u("ra.action.add_filter")}),f.jsx(xr.HeaderAction,{children:f.jsx(Ky,{variant:"text",loading:r,loadingPosition:"start",startIcon:f.jsx(He.ReloadOutlined,{}),onClick:I,children:u("ra.action.reset_filters")})})]}),f.jsxs(xr.Content,{children:[f.jsx(wx,{closeSidebar:b}),f.jsx(ose,{form:g,filters:t})]}),f.jsx(xr.Footer,{children:f.jsxs(E.Stack,{direction:"row",spacing:2,children:[f.jsx(E.Button,{fullWidth:!0,onClick:()=>{v({}),b()},children:u("ra.action.close")}),f.jsx(E.Button,{fullWidth:!0,variant:"contained",color:"primary",onClick:h(x),children:u("ra.action.apply_filters")})]})})]})}const qc=P.memo(ise);function sse(){const{setSidebarOpen:e}=_3(),t=P.useContext(z.FilterContext),n=yx(),r=z.useTranslate(),o=E.useTheme(),i=E.useMediaQuery(o.breakpoints.down("sm"));if(!n)throw new Error("The <FilterSidebarButton> component requires the <List aside={<FilterSidebar />}> prop to be set");if(t===void 0)throw new Error("The <FilterSidebarButton> component requires the <List filters> prop to be set");const s=P.useCallback(()=>{Qe.isFunction(e)&&e(!0)},[e]);return i?f.jsxs(E.Button,{className:"add-filter",onClick:s,children:[f.jsx(Vt.FilterList,{sx:{fontSize:"1rem",mr:.5}}),f.jsx(E.Typography,{variant:"h6",children:r("ra.action.add_filter")})]}):f.jsx(os,{label:"ra.action.add_filter",onClick:s,children:f.jsx(Vt.FilterList,{})})}const Sx=P.createContext({sidebarOpen:!1,setSidebarOpen:()=>{},currentTabKey:"",setCurrentTabKey:()=>{}});function Ax(e){const[t,n]=P.useState(!1),[r,o]=P.useState("");return f.jsx(Sx.Provider,{value:{currentTabKey:r,setCurrentTabKey:o,sidebarOpen:t,setSidebarOpen:n},children:e.children})}function _3(){return P.useContext(Sx)}function ase(e){const[t]=ut.useSearchParams(),n=z.useResourceContext(),{setCurrentTabKey:r}=_3(),{filterValues:o,displayedFilters:i,setFilters:s}=z.useListContext(),l=P.useMemo(()=>n.replace(/^entities\//,""),[n]),d=`${l}-tab-group`,u=`${l}-tab-filters`,p=P.useMemo(()=>e.findIndex(I=>I.default)??0,[e]),[g,h]=B0(d,p),[m,v]=B0(u,{}),b=P.useRef(!1),x=P.useRef(!1),S=P.useCallback(I=>{const w=e[I];if(!w)return;h(I),r==null||r(w.key);const T=m==null?void 0:m[w.key],O=(T==null?void 0:T.filterValues)??w.filter,j=(T==null?void 0:T.displayedFilters)??{};(!Q.isEqual(O,o)||!Q.isEqual(j,i))&&(x.current=!0,s(O,j))},[e,m,o,i,h,r,s]);return P.useEffect(()=>{var O;if(b.current)return;b.current=!0;const I=t.get(d),w=I!=null?Number(I):Number(g);t.get("filter")!==null?(h(w),r==null||r((O=e[w])==null?void 0:O.key)):S(w)},[t,d,g,h,r,S,e]),P.useEffect(()=>{var w;if(!b.current||x.current){x.current=!1;return}const I=(w=e[Number(g)])==null?void 0:w.key;I&&v(T=>{const O=T==null?void 0:T[I];return Q.isEqual(O==null?void 0:O.filterValues,o)&&Q.isEqual(O==null?void 0:O.displayedFilters,i)?T:{...T,[I]:{filterValues:o,displayedFilters:i}}})},[o,i,g,e,v]),{currentTab:g,handleTabChange:(I,w)=>S(w)}}function z0({tabs:e=[]}){const t=wt(),{currentTab:n,handleTabChange:r}=ase(e);if(e.length>0&&e.some(o=>!o.key))throw new Error("ListTabsToolbar: Each tab must have a unique key.");return e.length===0?null:f.jsx(E.Box,{sx:{width:"100%"},children:f.jsx(E.Tabs,{value:Number(n),onChange:r,allowScrollButtonsMobile:!0,variant:"scrollable",scrollButtons:"auto",sx:{width:"100%",".MuiTabs-scrollButtons.Mui-disabled":{opacity:.2}},children:e.map(o=>f.jsx(E.Tab,{icon:o.icon,label:o.label,sx:{flex:"0 0 auto",lineHeight:1,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","& .MuiTab-iconWrapper":{marginRight:t.spacing(.5)}}},o.key))})})}function Ex(e){const{filters:t,actions:n,className:r,hasFilterSidebar:o,tabs:i,...s}=e,l=wt(),d=E.useMediaQuery(l.breakpoints.down("sm")),u=n?P.cloneElement(n,{...s,...n.props}):null,{filterValues:p,data:g,isLoading:h}=te.useListContext(),m=!h&&g&&g.length===0,v=i&&i.length>0;return Array.isArray(t)?f.jsx(wp.Provider,{value:{hasFilterSidebar:o},children:f.jsx(z.FilterContext.Provider,{value:t,children:f.jsx(Zm,{className:r,children:f.jsxs(E.Box,{sx:{width:"100%",display:"flex",flexDirection:"column",gap:2},children:[i?f.jsx(z0,{tabs:i}):null,f.jsx(E.Box,{children:d&&o?f.jsxs(E.Box,{sx:{border:d&&m?"1px solid":0,borderColor:l.palette.mode==="dark"?l.palette.divider:l.palette.grey.A800},children:[u,Qe.isEmpty(p)?null:f.jsxs(E.Box,{children:[f.jsx(E.Divider,{}),f.jsx(V0,{})]})]}):f.jsxs(E.Box,{sx:{display:"flex",flexDirection:d?"column":"row",alignItems:d?"flex-start":"center",gap:2,px:2.5,py:2.5},children:[o?f.jsx(V0,{}):f.jsx(z.FilterForm,{}),d?null:f.jsx(E.Box,{sx:{flex:1}}),u]})})]})})})}):f.jsx(Zm,{className:r,children:f.jsxs(E.Box,{sx:{display:"flex",flex:1,flexDirection:"column",gap:2,width:"100%"},children:[i?f.jsx(z0,{tabs:i}):null,f.jsxs(E.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-end",gap:2,p:v?0:l.spacing(2.5),px:l.spacing(2.5),pb:l.spacing(2.5),width:"100%"},children:[t?P.cloneElement(t,{...s,context:"form"}):null,f.jsx("span",{}),n?P.cloneElement(n,{...s,filters:t,...n.props}):null]})]})})}Ex.propTypes={filters:C.oneOfType([C.element,C.arrayOf(C.element)]),actions:C.oneOfType([C.bool,C.element]),exporter:C.oneOfType([C.func,C.bool])};const lse="RaListToolbar",Zm=ge("div",{name:lse,overridesResolver:e=>e.root})(({theme:e})=>({display:"flex",position:"relative",justifyContent:"space-between",alignItems:"flex-end",width:"100%",padding:0,[e.breakpoints.down("sm")]:{backgroundColor:e.palette.background.paper,flexWrap:"inherit",flexDirection:"column-reverse"}})),Ap=P.memo(Ex),cse=f.jsx(z.ListActions,{}),use=f.jsx(z.Pagination,{}),dse=f.jsx(f1,{}),fse=E.Card;function pse(e){const{actions:t=cse,aside:n,filters:r,bulkActionButtons:o,emptyWhileLoading:i,hasCreate:s,pagination:l=use,children:d,className:u,component:p=fse,title:g,empty:h=dse,tabs:m,...v}=e,{defaultTitle:b,data:x,error:S,isLoading:I,filterValues:w,resource:T}=te.useListContext(e),O=wt(),j=B.isValidElement(n)&&(n==null?void 0:n.type)!==qc,M=B.isValidElement(n)&&(n==null?void 0:n.type)===qc;if(!d||!x&&I&&i)return null;function F(V){return f.jsxs("div",{className:Kr.main,style:{border:j?"1px solid":"none",borderRadius:j?4:0,borderColor:j?O.palette.mode==="dark"?O.palette.divider:O.palette.grey.A800:"transparent",backgroundColor:j?O.palette.background.paper:"transparent"},children:[r||t?f.jsx(Ap,{className:Kr.actions,filters:r,actions:t,hasCreate:s,hasFilterSidebar:M,tabs:m}):null,!S&&f.jsx(p,{className:Kr.content,sx:V?{background:"transparent"}:{},children:o&&d&&B.isValidElement(d)?P.cloneElement(d,{bulkActionButtons:o}):d}),S?f.jsx(ep,{error:S,resetErrorBoundary:null}):l!==!1&&l]})}function N(){return h!==!1&&P.cloneElement(h,{className:Kr.noResults,hasCreate:s})}const k=!I&&(x==null?void 0:x.length)===0,_=!I&&(x==null?void 0:x.length)===0&&!Object.keys(w).length&&h!==!1,H=B.isValidElement(n),U=H&&(n==null?void 0:n.type)===qc,G=I||_||H&&!U?B.Fragment:Nn,Y=!I&&!_&&(!n||U)?{content:!1}:void 0;return f.jsxs(gse,{className:$e("list-page",u),...v,sx:k?{"& .MuiPaper-root":{backgroundColor:"transparent",border:"none",borderRadius:0},"& .RaList-actions":{border:"1px solid",borderRadius:`${O.shape.borderRadius}px`,borderColor:O.palette.mode==="dark"?O.palette.divider:O.palette.grey.A800,backgroundColor:O.palette.background.paper}}:{},children:[f.jsx(z.Title,{title:g,defaultTitle:b,preferenceKey:`${T}.list.title`}),f.jsx(G,{...Y,children:I?f.jsx(E.CircularProgress,{sx:{position:"absolute",top:"50%",left:"50%",marginTop:"-20px",marginLeft:"-20px"}}):_?N():F(k)}),j?f.jsx(hse,{aside:n}):null,M?B.cloneElement(n,{filters:r}):null]})}function hse({aside:e}){var r;const t=((r=e==null?void 0:e.props)==null?void 0:r.order)??-1,n=wt();return f.jsx(E.Card,{className:Kr.asideCard,sx:{order:t,mr:t===-1?2:0,ml:t!==-1?2:0,width:200,border:"1px solid",borderRadius:1,borderColor:n.palette.mode==="dark"?n.palette.divider:n.palette.grey.A800,backgroundColor:n.palette.background.paper,backgroundImage:"none"},children:f.jsx(E.CardContent,{sx:{pt:1},children:P.cloneElement(e,{})})})}const zs="RaList",Kr={main:`${zs}-main`,content:`${zs}-content`,actions:`${zs}-actions`,noResults:`${zs}-noResults`,asideCard:`${zs}-asideCard`},gse=ge("div",{name:zs,overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"flex","& >.MuiPaper-root":{flex:1},[`& .${Kr.main}`]:{flex:"1 1 auto",display:"flex",flexDirection:"column"},[`& .${Kr.content}`]:{position:"relative",[e.breakpoints.down("sm")]:{boxShadow:"none"},overflow:"inherit"},[`& .${Kr.actions}`]:{},[`& .${Kr.noResults}`]:{alignContent:"center"},[`& .${Kr.asideCard}`]:{[e.breakpoints.down("md")]:{display:"none"},[`& .${z.SavedQueriesListClasses.floatingIcon}`]:{fontSize:"1.125rem"},[`& .${z.SavedQueriesListClasses.floatingTooltip}`]:{top:"-1.2em"},"& form":{marginTop:e.spacing(2)}}}));function mse({debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o=vse,filterDefaultValues:i,perPage:s=10,queryOptions:l,resource:d,sort:u,storeKey:p,...g}){return f.jsx(te.ListBase,{debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o,filterDefaultValues:i,perPage:s,queryOptions:l,resource:d,sort:u,storeKey:p,children:f.jsx(Ax,{children:f.jsx(pse,{...g})})})}const vse={},yse=a1(mse,{slot:"root"})(({theme:e})=>({"& .RaList-main":{overflowX:"auto","& .RaBulkActionsToolbar-toolbar":{height:36,top:42,paddingTop:16,"& .RaBulkActionsToolbar-title":{alignItems:"end","& .MuiTypography-root":{alignSelf:"center"}}},"& .MuiToolbar-root":{"& form":{padding:e.spacing(2),paddingBottom:e.spacing(2),alignItems:"flex-start"}},"& .MuiButton-root":{margin:0},"& .RaList-actions":{minHeight:80,alignItems:"center",borderTopLeftRadius:`${e.shape.borderRadius}px`,borderTopRightRadius:`${e.shape.borderRadius}px`,borderBottomLeftRadius:0,borderBottomRightRadius:0,[e.breakpoints.down("sm")]:{flexDirection:"row"},"& form":{alignItems:"center",minHeight:"auto",paddingBottom:0,rowGap:e.spacing(2.5)},"& .RaFilterForm-filterFormInput":{margin:0,"& .MuiInputLabel-root":{paddingTop:0},"& .MuiFormControl-root":{marginTop:0},"& .ra-input":{alignSelf:"center",marginTop:0},[e.breakpoints.down("sm")]:{"&>.MuiStack-root":{width:"100%","&>div:not(.MuiStack-root)":{width:"100%"}}}},"& .RaFilterFormInput-hideButton":{margin:"0 !important",alignSelf:"center"},"& > .MuiToolbar-root":{flex:"unset",padding:0,alignSelf:"center",minHeight:"fit-content",[e.breakpoints.down("sm")]:{paddingBottom:e.spacing(2)}}},"& .RaList-content":{borderRadius:0,"& .RaBulkActionsToolbar-collapsed":{height:0,paddingTop:0,paddingBottom:0},"& .icon span":{top:-1,left:-1}},"& .ApplicaEmpty-root":{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"calc(100vh - 260px)",backgroundColor:e.palette.background.paper,border:"1px solid",borderTop:"none",borderColor:e.palette.mode==="dark"?e.palette.divider:e.palette.grey.A800,borderBottomLeftRadius:`${e.shape.borderRadius}px`,borderBottomRightRadius:`${e.shape.borderRadius}px`}},"& .RaList-noResults":{backgroundColor:e.palette.background.paper,border:"1px solid",borderColor:e.palette.mode==="dark"?e.palette.divider:e.palette.grey.A800,borderRadius:`${e.shape.borderRadius}px`},"& .RaEmpty-toolbar":{margin:e.spacing(2)}}));function bse(e){const t={...e,pagination:e.pagination??f.jsx(k3,{})};return f.jsx(yse,{...t})}function Cse(){const e=z.useRefresh(),t=z.useNotify(),n=z.useResourceContext(),r=z.useUnselectAll(n),{selectedIds:o,data:i}=z.useListContext(),s=z.useRecordContext(),l=o.map(g=>i.find(h=>h.id===g)),[d,{isLoading:u}]=z.useUpdateMany(n,{ids:o.length>0?o:[s==null?void 0:s.id],data:{readed:Br().toISOString()},rows:l},{onSuccess:()=>{e(),t("resources.notifications.messages.readed.done"),r()},onError:()=>t("ra.notification.readed_error",{type:"warning"}),onFailure:()=>t("ra.notification.readed_error",{type:"warning"})}),p=P.useCallback(()=>{d()},[d]);return f.jsx(z.Button,{label:"ra.notification.mark_as_readed",disabled:u||(s==null?void 0:s.readed)!==null,onClick:p,children:f.jsx(Vt.Email,{})})}function xse(){const e=z.useRefresh(),t=z.useNotify(),n=z.useResourceContext(),r=z.useUnselectAll(n),{selectedIds:o,data:i}=z.useListContext(),s=z.useRecordContext(),l=o.map(g=>i.find(h=>h.id===g)).concat([s]),[d,{isLoading:u}]=z.useUpdateMany(n,{ids:o.length>0?o:[s==null?void 0:s.id],data:{readed:null},rows:l},{onSuccess:()=>{e(),t("resources.notifications.messages.unreaded.done"),r()},onFailure:()=>t("resources.notifications.messages.unreaded.error",{type:"warning"})}),p=P.useCallback(()=>{d()},[d]);return f.jsx(z.Button,{color:"secondary",label:"ra.notification.mark_as_unreaded",disabled:u||s&&!(s!=null&&s.readed),onClick:p,children:f.jsx(Vt.Drafts,{})})}function wse(e){const t=z.useRecordContext(e),n=z.useResourceContext(e),r=z.useRedirect(),o=z.useNotify(),i=z.useTranslate(),[s]=z.useLocaleState(),l=P.useMemo(()=>t!=null&&t.readed?Br(t==null?void 0:t.readed).locale(s).format("ddd, DD MMM YYYY HH:mm:ss"):!1,[t==null?void 0:t.readed,s]),[d]=z.useUpdate(n,{id:t==null?void 0:t.id,data:{...t,readed:Br().toISOString()}},{onSuccess:()=>{t!=null&&t.resource&&(t!=null&&t.resource.startsWith("/")?r(t==null?void 0:t.resource):document.location.href=t==null?void 0:t.resource)},onError:()=>{o("ra.notification.readed_error",{type:"warning"})}}),u=P.useCallback(()=>d(),[d]);return f.jsxs("div",{onClick:u,style:{cursor:"pointer"},role:"button",tabIndex:0,children:[f.jsx(E.Typography,{variant:"subtitle1",children:f.jsxs(E.Box,{fontWeight:"bold",children:[" ",t==null?void 0:t.title]})}),f.jsx(E.Typography,{variant:"body1",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",whiteSpace:"break-spaces"},dangerouslySetInnerHTML:{__html:t==null?void 0:t.content}}),l?f.jsx(E.Typography,{variant:"caption",display:"block",sx:{mt:1},color:"textSecondary",children:i("ra.notification.readed",{readed:l})}):null]})}function Sse({...e}){const t=E.useTheme(),{mode:n,colorize:r,density:o}=P.useMemo(()=>({mode:t.palette.mode,colorize:t.palette.mode==="dark"?E.darken:E.lighten,density:t.palette.mode==="dark"?.5:.9}),[t.palette.mode]);function i(s){return{backgroundColor:s!=null&&s.readed?r(t.palette.secondary[n],o):r(t.palette.primary[n],o)}}return f.jsxs(z.Datagrid,{...e,rowSx:i,children:[f.jsx(wse,{source:"notification",sortable:!1}),f.jsx(lx,{source:"created"}),f.jsxs(ui,{children:[f.jsx(Cse,{}),f.jsx(xse,{})]})]})}function Ase({empty:e,...t}){const n=z.useTranslate(),r=f.jsx(f1,{sx:{"& .ApplicaEmpty-icon":{fontSize:"7em"}},title:f.jsx(E.Typography,{variant:"subtitle1",style:{color:"inherit"},gutterBottom:!0,children:n("ra.navigation.no_results")})});return f.jsx(z.SimpleList,{...t,empty:e||r})}function Tx(e){const{id:t,onClick:n,onDelete:r,recordRepresentation:o,resource:i}=e,s=te.useGetRecordRepresentation(i),{data:l,isLoading:d,error:u}=te.useGetMany(i,{ids:[t]}),p=Q.find(l??[],{id:t}),g=!Q.isNil(p)&&Q.isFunction(r),h=P.useCallback(()=>{g&&r(p)},[r,p,g]),m=!Q.isNil(p)&&Q.isFunction(n),v=P.useCallback(()=>{m&&n(p)},[n,p,m]);if(d)return null;if(u||Q.isNil(p))return f.jsx(Vt.Error,{color:"error"});{const b=Q.isFunction(o)?o(p):s(p);return f.jsx(E.Chip,{label:b,onDelete:g?h:void 0,onClick:m?v:void 0})}}function Ix(e){const t=WC(),n=te.useTranslate(),{children:r,multiple:o,onCancel:i,onConfirm:s,slotProps:l}=e,{dialogContent:d={},listToolbar:u={},pagination:p}=l??{},g=Q.chain(l==null?void 0:l.list).defaults({disableSyncWithLocation:!0,emptyWhileLoading:!0,exporter:!1}).value(),h=!Q.isNil(u.filters),m=Q.chain(l==null?void 0:l.dialog).defaults({disableEscapeKeyDown:!0,fullWidth:!0,keepMounted:!1,open:!1}).value(),v=Q.chain(l==null?void 0:l.dataGrid).defaults({}).extend({bulkActionButtons:!1,rowClick:"toggleSelection"}).value(),b=P.useCallback((x,S)=>o?Q.includes(x,S)?Q.without(x,S):Q.concat(x,S):Q.includes(x,S)?[]:[S],[o]);return f.jsx(te.ListBase,{...g,storeKey:`reference-lookup-input-${t}`,children:f.jsx(te.WithListContext,{render:({onSelect:x,selectedIds:S,onUnselectItems:I})=>f.jsx(E.Dialog,{...m,onClose:()=>{I(),i()},children:f.jsx(E.DialogContent,{...d,children:f.jsxs(E.Stack,{spacing:2,flexDirection:"column",children:[h?f.jsx(Ap,{...u}):null,f.jsxs(vx,{...v,onToggleItem:w=>x(b(S,w)),children:[f.jsx($0,{render:w=>Q.includes(S,w.id)?f.jsx(Vt.CheckBox,{}):f.jsx(Vt.CheckBoxOutlineBlankOutlined,{})}),r??f.jsx($0,{label:n("ra.input.referenceLookup.dialog.defaultField"),render:w=>f.jsx(te.RecordRepresentation,{record:w})})]}),f.jsx(k3,{...p}),f.jsxs(E.DialogActions,{children:[f.jsx(E.Button,{onClick:()=>{I(),i()},children:n("ra.input.referenceLookup.dialog.cancel")}),f.jsx(E.Button,{disabled:Q.isEmpty(S),onClick:()=>{s(S),I()},color:"primary",children:n("ra.input.referenceLookup.dialog.confirm")})]})]})})})})})}function Ese(e){const{children:t,filter:n,filterDefaultValues:r,filters:o,recordRepresentation:i,reference:s,source:l}=e,{field:d}=te.useInput({source:l}),{value:u,onChange:p}=d??{},g=!Q.isEmpty(u),{open:h,handleOpen:m,handleClose:v}=np(!1),b=P.useMemo(()=>Q.isEmpty(u)?n:Q.chain(n??{}).clone().extend({id__ne:u}).value(),[n,u]),x=P.useMemo(()=>o??[f.jsx(Cp,{source:"keyword",alwaysOn:!0},"keyword")],[o]),S=P.useCallback(w=>{const T=Q.first(w);return v(),p(T),T},[p,v]),I=P.useCallback(()=>p(null),[p]);return f.jsx(on,{...e,children:f.jsxs(E.Stack,{alignItems:"center",direction:"row",spacing:1,children:[g?f.jsx(Tx,{id:u,onClick:m,onDelete:I,recordRepresentation:i,resource:s}):null,!g&&f.jsx(ba,{onClick:m,children:f.jsx(Vt.AddCircleRounded,{})}),f.jsx(Ix,{onCancel:v,onConfirm:S,multiple:!1,slotProps:{dialog:{open:h,onClose:v},list:{filter:b,filterDefaultValues:r,resource:s},listToolbar:{filters:x}},children:t})]})})}function Tse(e){const{children:t,filter:n,filterDefaultValues:r,filters:o,recordRepresentation:i,reference:s,source:l}=e,{field:d}=te.useInput({source:l}),{value:u,onChange:p}=d??{},g=!Q.isEmpty(u),{open:h,handleOpen:m,handleClose:v}=np(!1),b=P.useMemo(()=>Q.isEmpty(u)?n:Q.chain(n??{}).clone().extend({id__nin:u}).value(),[n,u]),x=P.useMemo(()=>o??[f.jsx(Cp,{source:"keyword",alwaysOn:!0},"keyword")],[o]),S=P.useCallback(w=>{const T=Q.union(u??[],w);return v(),p(T),T},[p,v,u]),I=P.useCallback(w=>p(Q.without(u??[],w.id)),[p,u]);return f.jsx(on,{...e,children:f.jsxs(E.Stack,{alignItems:"center",direction:"row",spacing:1,children:[g?Q.map(u??[],(w,T)=>f.jsx(Tx,{id:w,onDelete:I,recordRepresentation:i,resource:s},T)):null,f.jsx(ba,{onClick:m,children:f.jsx(Vt.AddCircleRounded,{})}),f.jsx(Ix,{onCancel:v,onConfirm:S,multiple:!0,slotProps:{dialog:{open:h,onClose:v},list:{filter:b,filterDefaultValues:r,resource:s},listToolbar:{filters:x}},children:t})]})})}function Ise({reference:e,target:t,children:n,filters:r,actions:o,...i}){return f.jsx(z.ResourceContextProvider,{value:e,children:f.jsx(fx,{perPage:5,pagination:f.jsx(z.Pagination,{}),...i,reference:e,target:t,children:f.jsxs(f.Fragment,{children:[f.jsx(z.ListToolbar,{filters:r,actions:o}),n]})})})}const Ose=ge(z.SelectArrayInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiFormLabel-root.MuiInputLabel-root":{marginTop:"-3px"},"& .MuiInputLabel-root.MuiInputLabel-shrink":{marginTop:0},"& .MuiOutlinedInput-input:has(.MuiChip-root)":{paddingTop:"4px",paddingBottom:"6px",paddingLeft:"6px"}}));function Pse({optionText:e="name",optionValue:t="id",...n}){return f.jsx(on,{...n,children:f.jsx(Ose,{optionText:e,optionValue:t,options:{autoWidth:!1}})})}const jse=ge(z.SelectInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1||e===null?0:"auto"}}));function Rse(e){return f.jsx(on,{...e,children:f.jsx(jse,{})})}function Mse({multiline:e=!1,...t}){var d,u;const n=z.useTranslate(),r=z.maxLength(t==null?void 0:t.maxLength,"app.input.max_length_error"),o=(u=(d=fn.useController({name:t==null?void 0:t.source}))==null?void 0:d.field)==null?void 0:u.value;let i=t.helperText,s=t.validate;s?Array.isArray(s)&&s.indexOf(r)===-1&&s.push(r):s=[r];const l=n("app.input.max_length_info",{count:(o==null?void 0:o.length)||0,max:t==null?void 0:t.maxLength});return t!=null&&t.maxLength&&(i=i&&i.length>0?`${l} - ${n(i)}`:l),f.jsx(Sr,{...t,validate:s,helperText:i,multiline:e,inputProps:{maxLength:t==null?void 0:t.maxLength}})}function kse(e){if(!e)return"";const t=NC(e);return t?t.format("HH:mm"):""}function _se(e){return e}const Dse=ge(z.TimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function Fse({parse:e=_se,format:t=kse,...n}){return f.jsx(on,{...n,children:f.jsx(Dse,{parse:e,format:t,...n})})}function Ep({onSuccess:e,firstAccess:t}){const{spacing:n}=jn(),[r,o]=P.useState(!1),i=te.useAuthProvider(),s=te.useTranslate(),l=te.useNotify(),d=Hi.useQueryClient(),u=P.useCallback(p=>{const{oldPassword:g,newPassword:h}=p;o(!0),i==null||i.changePassword(g,h).then(()=>{l("ra.auth.password_changed"),d.invalidateQueries(["auth","getIdentity"]),e()}).catch(m=>{l((m==null?void 0:m.message)||(m==null?void 0:m.toString()),{type:"error"})}).finally(()=>o(!1))},[i,e,l,d]);return f.jsx(te.ResourceContextProvider,{value:"user/change-password",children:f.jsx(te.EditContextProvider,{value:{record:{},resource:"user/change-password",save:u},children:f.jsx(yp,{onSubmit:u,toolbar:f.jsx(gi,{children:f.jsx(z.SaveButton,{disabled:r})}),children:f.jsxs(E.Grid,{container:!0,spacing:n,children:[t===!0&&f.jsx(E.Grid,{item:!0,xs:12,children:f.jsxs(E.Alert,{severity:"warning",children:[f.jsx(E.AlertTitle,{children:s("ra.auth.first_access.change_password")}),s("ra.auth.first_access.change_password_helper")]})}),f.jsx(E.Grid,{item:!0,xs:12,children:f.jsx(Sr,{source:"oldPassword",type:"password",validate:te.required()})}),f.jsx(E.Grid,{item:!0,xs:12,children:f.jsx(Sr,{source:"newPassword",type:"password",validate:te.required()})})]})})})})}const Ox=P.createContext({});function Lse(e){const{useDefaults:t=!1,queryOptions:n={}}=e,r=z.useResourceContext(),o=z.useDataProvider(),{search:i}=Yi.useLocation(),s=`${r}/new`,l=P.useCallback(()=>{if(!t||!Q.isFunction(o.get))return Promise.resolve({});const h={};return new URLSearchParams(i??"").forEach((m,v)=>{h[v]=m}),o.get(s,h).then(m=>m.data).then(m=>{const{responseCode:v,value:b}=m;return v==="ok"?b:Promise.reject(m)})},[t,i,o,s]),d=P.useMemo(()=>Q.chain(n).extend({queryKey:[r,i],queryFn:l}).value(),[r,i,l,n]),{data:u,isLoading:p}=Hi.useQuery(d),g=Q.omit(e,["useDefaults"]);return p?f.jsx(E.Stack,{alignItems:"center",justifyContent:"center",flex:1,p:2,children:f.jsx(E.CircularProgress,{})}):f.jsx(Ox.Provider,{value:u??{},children:f.jsx(z.Create,{...g,children:e.children})})}const Bse=ge(Lse,{slot:"root"})(({theme:e})=>({"& .RaCreate-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaCreate-main":{marginTop:0},"& .RaCreate-main>.MuiPaper-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaToolbar-mobileToolbar":{paddingLeft:`${e.spacing(2.5)} !important`,paddingRight:`${e.spacing(2.5)} !important`,paddingTop:"0 !important"},"& .RaCreate-main:has(.LongFormView)>.MuiPaper-root:first-of-type":{overflow:"visible"},"& .RaCreate-main:has(.tabbed-form) .MuiTableContainer-root":{width:"inherit"}}));function Nse(){return P.useContext(Ox)}const $se=ge(z.Edit,{slot:"root"})(({theme:e})=>({"&>.MuiToolbar-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaEdit-card":{[e.breakpoints.down("sm")]:{marginBottom:e.spacing(6)}},"& .RaEdi-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaToolbar-mobileToolbar":{paddingLeft:`${e.spacing(2.5)} !important`,paddingRight:`${e.spacing(2.5)} !important`,paddingTop:"0 !important"},"& .RaEdit-main":{marginTop:0},"& .RaEdit-main>.MuiPaper-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaEdit-main:has(.LongFormView)>.MuiPaper-root:first-of-type":{overflow:"visible"},"& .RaEdit-main:has(.tabbed-form) .MuiTableContainer-root":{width:"inherit"}}));function Vse(e){return f.jsx($se,{...e})}const zse=ge(E.CardHeader)(({theme:e})=>({marginTop:e.spacing(2.5),marginLeft:0,marginRight:0,paddingLeft:0,paddingRight:0})),Wse=ge(E.Divider)(({theme:e})=>({marginLeft:`-${e.spacing(2.5)}`,marginRight:`-${e.spacing(2.5)}`,marginBottom:e.spacing(2),width:`calc(100% + ${e.spacing(5)})`}));function Use({title:e,divider:t=!0,variant:n="h5"}){const r=z.useTranslate();return f.jsxs(f.Fragment,{children:[f.jsx(zse,{title:r(e,{_:e}),titleTypographyProps:{variant:n}}),t?f.jsx(Wse,{}):null]})}function W0(e){return e.id??e.label}function Px(e,t){const n=`^${e}.`.replaceAll(".","\\."),r=new RegExp(n,"g");return t.match(r)!==null}function Hse(e){return Q.map(e,"id")}function Fu(e){const t=e.match(new RegExp("[^.]+","g"));return t===null?0:t.length}function jx(e,t){const n=e!==void 0?Fu(e):0;return Q.chain(t).filter(o=>e!==void 0?Px(e,o.id):!0).filter(o=>Fu(o.id)===n+1).value()}function Gse(e,t){var i;const n=Q.clone(e),{type:r,payload:o}=t;switch(r){case"setFormRootPath":return Q.extend(n,{formRootPath:o});case"setSyncWithLocation":return Q.extend(n,{syncWithLocation:o});case"setErrorCount":return Q.extend(n,{errorCount:o});case"setActiveItem":return Q.includes(Hse(e.items),o)?Q.extend(n,{activeItem:o}):n;case"addItem":{const{id:s}=o;return Q.extend(n,{items:Q.chain(n.items).clone().reject(l=>l.id===s).concat([o]).orderBy(l=>l.index).value()})}case"removeItem":{const s=Q.isString(o)?o:o.id,l=Q.chain(n.items).clone().reject(d=>d.id===s).value();return Q.extend(n,{items:l}),n.activeItem===s&&Q.extend(n,{activeItem:((i=Q.first(l))==null?void 0:i.id)??void 0}),n}default:return n}}const qse={syncWithLocation:!0,errorCount:!0,items:[],activeItem:void 0},Rx=P.createContext(void 0);function Mx(e){const t=!!(e.syncWithLocation??!0),n=!!(e.errorCount??!0),{rootMatchString:r}=e,{pathname:o}=Yi.useLocation(),[i,s]=P.useReducer(Gse,Q.cloneDeep(qse)),{formRootPath:l,items:d}=i,u=P.useMemo(()=>({state:i,dispatch:s}),[i,s]);return P.useEffect(()=>{const p=["entities/:resource/create/*",":resource/create/*","entities/:resource/:id/show/*",":resource/:id/show/*","entities/:resource/:id/*",":resource/:id/*"];r!==void 0&&p.push(r);const g=Q.chain(p).map(m=>Yi.matchPath(m,o)).reject(m=>m===null).first().value(),h=g==null?void 0:g.pathnameBase;h!==void 0&&h!==l&&s({type:"setFormRootPath",payload:h})},[o,l,r]),P.useEffect(()=>{s({type:"setSyncWithLocation",payload:!!t})},[t,s]),P.useEffect(()=>{s({type:"setErrorCount",payload:!!n})},[n,s]),P.useEffect(()=>{var p;if(t&&l!==void 0){let g=o.replace(l,"").replace(new RegExp(/^\/?/),"");Q.isEmpty(g)&&(g=((p=Q.chain(d).filter(h=>jx(h.id,d).length===0).orderBy([h=>Fu(h.id),h=>h.index]).first().value())==null?void 0:p.id)??void 0),s({type:"setActiveItem",payload:g})}},[s,l,o,d,t]),f.jsx(Rx.Provider,{value:u,children:e.children})}function kx(){const e=P.useContext(Rx);if(e===void 0)throw new Error("[LongForm] useFormContext: context undefined. Please provide a valid Context using LongForm.Provider");return e}function p1(){return kx().state}function Tp(){return kx().dispatch}function _x(){return p1().formRootPath}function Dx(){return p1().activeItem}function Fx(){return p1().items}function Lx(){return p1().syncWithLocation}function Bx(){return p1().errorCount}function Nx(){const e=Tp();return P.useCallback(n=>{e({type:"setActiveItem",payload:n})},[e])}function $x(){const e=Tp();return P.useCallback(n=>{e({type:"addItem",payload:n})},[e])}function Vx(){const e=Tp();return P.useCallback(n=>{e({type:"removeItem",payload:n})},[e])}const Yse=ge(E.Grid,{name:"LongFormView",slot:"Root"})(({theme:e})=>({"& .MuiToolbar-root.RaToolbar-desktopToolbar":{marginLeft:`-${e.spacing(3)}`,marginRight:`-${e.spacing(3)}`,marginBottom:`-${e.spacing(2)}`,paddingTop:e.spacing(2.5),paddingBottom:e.spacing(2.5),[e.breakpoints.down("sm")]:{width:"auto !important",marginRight:0}},"& .RaToolbar-mobileToolbar":{paddingTop:`${e.spacing(2.5)} !important`,paddingLeft:"0 !important",paddingRight:"0 !important",paddingBottom:"0 !important"},"& form > .MuiToolbar-root":{margin:0,marginRight:`-${e.spacing(.5)}`,[e.breakpoints.down("sm")]:{marginRight:e.spacing(.5)}}}));function zx(e){const{spacing:t}=jn(),{spacing:n=t}=e,r=Q.omit(e,["spacing"]);return f.jsx(z.Form,{...r,className:"LongFormView",children:f.jsx(Yse,{container:!0,spacing:n*2,children:e.children})})}function Wx(e){const{disposition:t={xl:9,lg:9,md:8,sm:8,xs:12}}=e,n=Q.omit(e,["disposition"]);return f.jsx(E.Grid,{...n,item:!0,...t,children:e.children})}function Ux(e){const t=Dx();return t===void 0?!1:e===t||Px(e,t)}function Hx(e){const t=Fx();return P.useMemo(()=>jx(e,t),[t,e])}function Kse(){const e=_x(),{search:t}=Yi.useLocation(),n=Yi.useNavigate();return P.useCallback(o=>{n(`${e}/${o}${t}`)},[e,n,t])}function Gx(){const e=Hx();return f.jsx(E.Card,{variant:"outlined",children:f.jsx(E.List,{sx:{"& .MuiListItemButton-root.Mui-selected":{borderColor:"palette.primary.main",borderRightStyle:"solid",borderRightWidth:2},"& .MuiListItemAvatar-root":{minWidth:24}},children:Q.map(e,(t,n)=>f.jsx(Ip,{...t},n))})})}function Ip(e){const t=te.useTranslate()??Q.identity,n=qx(e),{selected:r,label:o,icon:i,onClick:s,badge:l,items:d,isGroup:u,level:p,errors:g=0}=n,{spacing:h}=jn(),[m,v]=P.useState(r),b=P.useCallback(I=>{v(!m),s(I)},[s,m]),x=i!==void 0,S=Q.omit(e,["label","icon","selected","badge"]);return P.useEffect(()=>{r&&!m&&v(r)},[r,m,v]),f.jsxs(f.Fragment,{children:[f.jsx(E.ListItem,{...S,disablePadding:!0,children:f.jsxs(E.ListItemButton,{selected:r?!u:null,onClick:b,sx:{pl:h*p},children:[x?f.jsx(E.ListItemIcon,{children:i}):null,f.jsx(E.ListItemText,{inset:!x,primary:g===0?t(o):f.jsx(E.Badge,{variant:"dot",color:"error",sx:{"& > .MuiBadge-badge":{transform:"scale(1) translate(125%, 0)"}},children:t(o)})}),l?f.jsx(E.ListItemAvatar,{children:f.jsx(du,{type:"filled",size:"xs",color:l.color??"default",children:l.content})}):null,u?m?f.jsx(Vt.ExpandLess,{}):f.jsx(Vt.ExpandMore,{}):null]})}),u?f.jsx(E.Collapse,{in:m,timeout:"auto",children:f.jsx(E.List,{children:Q.map(d,(I,w)=>f.jsx(Ip,{...I},w))})}):null]})}function qx(e){const{id:t}=e,n=Ux(t),r=Fu(t),o=Kse(),i=Lx(),s=Nx(),l=Hx(t),d=!Q.isEmpty(l),u=P.useCallback(g=>{d||(i?o(e.id):s(e.id)),Q.isFunction(e.onClick)&&e.onClick(g)},[s,o,e,i,d]);return P.useMemo(()=>({...e,selected:n,onClick:u,items:l,isGroup:d,level:r}),[e,n,u,l,d,r])}var Zse=e=>{let t=e;for(;t=t.parentElement;){const n=getComputedStyle(t,null).getPropertyValue("overflow-y");if(t===document.body)return window;if(n==="auto"||n==="scroll"||n==="overlay")return t}return window},Yx=e=>e.firstChild?e.firstChild.offsetParent===e:!0,Xse=(e,t)=>{let n=e,r=0;Yx(t)||(r+=e.offsetTop-t.offsetTop,t=e.offsetParent,r+=-e.offsetTop);do r+=n.offsetTop,n=n.offsetParent;while(n&&n!==t);return r},Qse=e=>{let t=e.parentElement;for(;t&&getComputedStyle(t,null).getPropertyValue("display")==="contents";)t=t.parentElement;return t||window},zl=null;typeof CSS<"u"&&CSS.supports&&(CSS.supports("position","sticky")?zl="sticky":CSS.supports("position","-webkit-sticky")&&(zl="-webkit-sticky"));var Lu=!1;try{const e=Object.defineProperty({},"passive",{get(){Lu={passive:!0}}}),t=()=>{};window.addEventListener("testPassive",t,e),window.removeEventListener("testPassive",t,e)}catch{}var Lf=e=>{const{el:t,onChange:n,unsubs:r,measure:o}=e;if(t===window){const i=()=>({top:0,left:0,height:window.innerHeight,width:window.innerWidth}),s=o(i()),l=()=>{Object.assign(s,o(i())),n()};return window.addEventListener("resize",l,Lu),r.push(()=>window.removeEventListener("resize",l)),s}else{const i=o(t.getBoundingClientRect()),s=()=>{Object.assign(i,o(t.getBoundingClientRect())),n()},l=new ResizeObserver(s);return l.observe(t),r.push(()=>l.disconnect()),i}},Jse=e=>{const t=getComputedStyle(e,null),n=parseInt(t.getPropertyValue("padding-top"),10),r=parseInt(t.getPropertyValue("padding-bottom"),10);return{top:n,bottom:r}},eae=(e,t,n)=>{const{bottom:r,offsetBottom:o,offsetTop:i}=n,s=Zse(e);let l=!1;const d=()=>{l||requestAnimationFrame(()=>{const M=g();M!==w&&T(M),l=!1}),l=!0};let u=s===window?window.scrollY:s.scrollTop;const p=M=>{const{offsetTop:F,height:N}=m,{naturalTop:k}=x,{height:_}=S;return M+F+N>=k+_+I+o},g=()=>{const{height:M}=m,{height:F}=S;return F+i+o<=M?3:p(u)?1:2},h=s!==window&&Yx(s),m=Lf({el:s,onChange:d,unsubs:t,measure:({height:M,top:F})=>({height:M,offsetTop:h?F:0})}),v=Qse(e),b=v===window?{top:0,bottom:0}:Jse(v),x=Lf({el:v,onChange:d,unsubs:t,measure:({height:M})=>({height:M-b.top-b.bottom,naturalTop:v===window?0:Xse(v,s)+b.top+m.offsetTop})}),S=Lf({el:e,onChange:d,unsubs:t,measure:({height:M})=>({height:M})});let I=0,w=g();const T=M=>{const F=w;if(w=M,F===2&&(I=-1),M===3){e.style.position=zl,r?e.style.bottom=`${o}px`:e.style.top=`${i}px`;return}const{height:N,offsetTop:k}=m,{height:_,naturalTop:H}=x,{height:U}=S;if(M===2)if(e.style.position="relative",I=F===0?Math.max(0,k+u-H+i):Math.max(0,k+u+N-(H+U+o)),r){const G=Math.max(0,_-U-I);e.style.bottom=`${G}px`}else e.style.top=`${I}px`;else e.style.position=zl,M===1?r?e.style.bottom=`${o}px`:e.style.top=`${N-U-o}px`:r?e.style.bottom=`${N-U-o}px`:e.style.top=`${i}px`};T(w);const O=M=>{if(M===u)return;const F=M-u;if(u=M,w===3)return;const{offsetTop:N,height:k}=m,{naturalTop:_,height:H}=x,{height:U}=S;if(F>0)if(w===0){if(M+N+i>_){const G=Math.max(0,N+u-_+i);M+N+k<=_+U+G+o?T(2):T(1)}}else w===2&&p(M)&&T(1);else if(w===1){if(N+M+k<_+H+o){const G=Math.max(0,N+u+k-(_+U+o));N+M+i>=_+G?T(2):T(0)}}else w===2&&N+M+i<_+I&&T(0)},j=s===window?()=>O(window.scrollY):()=>O(s.scrollTop);s.addEventListener("scroll",j,Lu),s.addEventListener("mousewheel",j,Lu),t.push(()=>s.removeEventListener("scroll",j),()=>s.removeEventListener("mousewheel",j))},tae=({offsetTop:e=0,offsetBottom:t=0,bottom:n=!1}={})=>{const[r,o]=P.useState(null);return P.useEffect(()=>{if(!r||!zl)return;const i=[];return eae(r,i,{offsetBottom:t,offsetTop:e,bottom:n}),()=>{i.forEach(s=>s())}},[r,t,e,n]),o},nae=e=>{const{offsetTop:t,offsetBottom:n,bottom:r,children:o,className:i,style:s}=e,l=tae({offsetTop:t,offsetBottom:n,bottom:r});return f.jsx("div",{className:i,style:s,ref:l,children:o})},rae=nae,Kx=(e=>(e.TOP="top",e.BOTTOM="bottom",e))(Kx||{});function Zx(e){const{sticky:t=!0,disposition:n={xl:3,lg:3,md:4,sm:4,xs:12},spacing:r=2}=e,o=Q.omit(e,["sticky","disposition","spacing"]),i=t?rae:E.Box,s=P.useMemo(()=>t?{offsetTop:74,offsetBottom:r*2}:{},[t,r]);return f.jsx(E.Grid,{...o,item:!0,...n,children:f.jsx(i,{...s,children:f.jsx(E.Stack,{spacing:r,children:e.children})})})}function Xx(e){return f.jsx(f.Fragment,{children:e.children})}function Qx(e){const{children:t}=e;return P.useMemo(()=>{const r={top:[],bottom:[]};return P.Children.forEach(t,o=>{if(P.isValidElement(o)&&(o==null?void 0:o.type)===Xx){const{position:i}=o.props;switch(i){case"top":r.top.push(o);break;case"bottom":r.bottom.push(o);break}}}),r},[t])}function Jx(e){const{errors:t}=fn.useFormState(),n=Bx(),{label:r,icon:o,badge:i,index:s=0,children:l}=e,d=W0(e),u=$x(),p=Vx(),g=Ux(d),h=[];n&&(e.sources!==void 0?h.push(...e.sources):R3(l,v=>{var b;((b=v==null?void 0:v.props)==null?void 0:b.source)!==void 0&&h.push(v.props.source)}));const m=Q.chain(h).uniq().map(v=>Q.get(t,v)).reject(v=>v===void 0).value().length;return P.useEffect(()=>{u({id:d,index:s,label:r,icon:o,badge:i,errors:m})},[u,p,r,o,d,i,s,m]),P.useEffect(()=>()=>{p(d)},[d,p]),f.jsx(E.Box,{display:g?"unset":"none",children:e.children})}function ew(e){const t=Op(e),n=W0(e);return f.jsx(Jx,{...e,id:n,children:P.Children.map(t,r=>{const o=W0(r.props);return P.cloneElement(r,{id:`${n}.${o}`})})})}function tw(e){return f.jsx(Jx,{...e})}function Op(e){const{children:t}=e;return P.useMemo(()=>Q.chain(P.Children.toArray(t)).filter(r=>P.isValidElement(r)&&((r==null?void 0:r.type)===tw||(r==null?void 0:r.type)===ew)).map((r,o)=>P.cloneElement(r,{index:o})).value(),[t])}function oae(e){const{tabsDisposition:t,contentDisposition:n,spacing:r=2}=e,o=Q.pick(e,["syncWithLocation","errorCount"]),i=Q.omit(e,["tabsDisposition","contentDisposition","syncWithLocation"]),{top:s,bottom:l}=Qx(e),d=Op(e);return f.jsx(Mx,{...o,children:f.jsxs(zx,{...i,spacing:r,children:[f.jsxs(Zx,{disposition:t,spacing:r,children:[s,f.jsx(Gx,{}),l]}),f.jsx(Wx,{disposition:n,children:d})]})})}const zt=oae;zt.BaseForm=zx;zt.Content=Wx;zt.Provider=Mx;zt.useItems=Fx;zt.useSyncWithLocation=Lx;zt.useErrorCount=Bx;zt.useFormRootPath=_x;zt.useActiveItem=Dx;zt.useSetActiveItem=Nx;zt.useAddItem=$x;zt.useRemoveItem=Vx;zt.Sidebar=Zx;zt.SidebarSection=Xx;zt.SidebarSectionPosition=Kx;zt.useSidebarChildren=Qx;zt.NavMenu=Gx;zt.NavMenuItem=Ip;zt.useNavMenuItem=qx;zt.Tab=tw;zt.Group=ew;zt.useBaseItemChildren=Op;const iae=ge(z.Show,{slot:"root"})(({theme:e})=>({"&>.MuiToolbar-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaShow-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaShow-main>.MuiPaper-root:first-of-type":{overflow:"visible"}}));function sae(e){return f.jsx(iae,{...e})}const aae=ge(z.SimpleFormIterator,{root:"root"})(({theme:e})=>({"& .RaSimpleFormIterator-line":{paddingTop:e.spacing(1),paddingBottom:e.spacing(.5)},"& .RaSimpleFormIterator-action":{display:"flex",flexDirection:"row",alignItems:"center",mb:1.5},"& section":{width:"100%","& label":{position:"relative",overflow:"visible",transform:"none",marginLeft:0}}}));function lae(e){return f.jsx(aae,{...e})}const cae=a1(z.TabbedForm,{slot:"Root"})(({theme:e})=>({"& .MuiGrid-root.MuiGrid-container":{paddingBottom:0},[e.breakpoints.down("sm")]:{paddingBottom:0,"& .MuiTableContainer-root":{paddingBottom:e.spacing(1)}}}));function uae({children:e}){return f.jsx(f.Fragment,{children:e})}function Pp(e){const{title:t,modal:n,content:r,subheader:o,secondary:i=f.jsx(ui,{children:f.jsx(is,{})}),sx:s,noPadding:l,toolbar:d=f.jsx(gi,{children:f.jsx(z.SaveButton,{type:"button"})}),...u}=e,p=fp(t),g=E.useTheme();return f.jsx(Nn,{title:p,modal:n,content:r,subheader:o,secondary:i,sx:{...s,"& .MuiTabs-root":{m:2.5,mb:0},"& .tabbed-form > .MuiDivider-root":{ml:2.5,mr:2.5},"& .MuiToolbar-root.RaToolbar-desktopToolbar":{paddingTop:n?g.spacing(2.5):0},"& .MuiToolbar-root":{padding:g.spacing(2.5),borderTop:n?`1px solid ${g.palette.divider}`:void 0}},border:!n,divider:!0,children:f.jsx(cae,{toolbar:d,component:l?uae:void 0,...u})})}function dae({children:e,...t}){return f.jsx(z.TabbedForm.Tab,{...t,children:f.jsx(E.Box,{sx:{width:"100%",p:2.5},children:e})})}Pp.Tab=z.TabbedForm.Tab;Pp.TabStack=dae;function jp(e){const{label:t,disableAdd:n,onClick:r,inset:o}=e,i=E.useTheme(),s=i.palette.mode==="dark"?i.palette.grey.A400:i.palette.grey.A800,l=i.palette.mode==="light"?"#000000":"#FFFFFF";return f.jsxs(E.Stack,{justifyContent:"space-between",alignItems:"center",flexDirection:"row",sx:o?{p:2.5}:{pt:2},children:[t!==!1&&f.jsx(E.Typography,{children:t}),!n&&(P.isValidElement(e==null?void 0:e.customButton)?P.cloneElement(e==null?void 0:e.customButton,{onClick:r}):f.jsx(E.IconButton,{color:"secondary",sx:{border:`1px solid ${s}`},onClick:r,children:f.jsx(He.PlusCircleOutlined,{style:{color:l}})}))]})}const Rp=P.createContext(void 0);function nw(){return P.useContext(Rp)}function Bu(e){const{children:t}=e,{item:n,index:r}=nw(),[o,i]=P.useState(!1),{update:s}=z.useArrayInput(),l=z.useTranslate(),d=P.useCallback(u=>(i(!1),s(r,u),Promise.resolve()),[r,s]);return f.jsxs(f.Fragment,{children:[f.jsx(E.Button,{color:"primary",onClick:()=>i(!0),sx:{justifyContent:"flex-start"},children:l("ra.action.edit")}),f.jsx(E.Dialog,{open:o,onClose:()=>i(!1),maxWidth:"xs",fullWidth:!0,children:f.jsx(z.EditContextProvider,{value:{record:n,save:d},children:t})})]})}function rw({source:e,children:t}){const n=P.Children.only(t),{getValues:r}=fn.useFormContext(),o=z.useRecordContext({record:r()});return P.isValidElement(n)?P.cloneElement(n,{source:e,record:o}):null}function Mp(e){const{label:t,disableAdd:n,inset:r,source:o,template:i}=e,[s,l]=P.useState(!1),{append:d}=z.useArrayInput(),u=P.useCallback(()=>{l(g=>!g)},[l]),p=P.useCallback(g=>(l(!1),d(g),Promise.resolve()),[l,d]);return f.jsxs(f.Fragment,{children:[P.cloneElement(f.jsx(jp,{}),{label:t,source:o,disableAdd:n,template:i,onClick:u,inset:r}),f.jsx(E.Dialog,{open:s,onClose:u,maxWidth:"xs",children:f.jsx(te.CreateContextProvider,{value:{save:p},children:e.children})})]})}const kp=P.createContext(void 0);function ow(){return P.useContext(kp)}const iw=B.forwardRef((e,t)=>{const{children:n,disabled:r,disableRemove:o=!1,index:i,member:s,resource:l,record:d}=e,u=z.useTranslate(),{total:p,remove:g}=ow(),h=B.useCallback(()=>{g(i)},[i,g]),m=P.useMemo(()=>({index:i,total:p,item:d,remove:()=>g(i)}),[i,p,g,d]),v=P.useMemo(()=>P.Children.map(n,b=>P.isValidElement(b)&&(b==null?void 0:b.type)===Bu&&B.isValidElement(b)?b:null),[n]);return f.jsxs(Rp.Provider,{value:m,children:[P.Children.map(n,(b,x)=>{if(b.type===Bu||!P.isValidElement(b))return null;const{source:S,...I}=b.props;return f.jsx(E.TableCell,{children:P.cloneElement(b,{source:S?`${s}.${S}`:s,index:S?void 0:x,resource:l,disabled:r,...I,label:""})})}),!o&&f.jsx(E.TableCell,{children:f.jsx(E.Stack,{direction:"row",spacing:1,justifyContent:"center",alignItems:"center",children:f.jsxs(ui,{horizontal:!0,children:[f.jsx(is,{onConfirm:h,confirmContent:u("ra.message.remove_item")}),v]})})}),o&&v?f.jsx(E.TableCell,{children:f.jsx(E.Stack,{direction:"row",spacing:1,justifyContent:"center",alignItems:"center",children:f.jsx(ui,{horizontal:!0,children:v})})}):null]})});function fae(e){var Y,V;const{children:t,resource:n,source:r,label:o,disableAdd:i=!1,disableRemove:s=!1,enableClearAll:l=!1,className:d,empty:u,template:p={},addButton:g=f.jsx(jp,{}),inset:h,sx:m}=e,{fields:v,remove:b,replace:x,append:S}=z.useArrayInput(e),{resetField:I}=fn.useFormContext(),w=wt(),T=te.useTranslate(),O=P.useRef(p||{}),j=te.useTranslateLabel(),M=P.useCallback(Z=>{b(Z)},[b]);if(v.length>0){const{...Z}=v[0];O.current=Z;for(const W in O.current)O.current[W]=null}const F=P.useCallback((Z=void 0)=>{let W=Z;Z==null&&(W=O.current,P.Children.count(t)===1&&B.isValidElement(P.Children.only(t))&&!P.Children.only(t).props.source&&P.Children.map(t,K=>B.isValidElement(K)&&K.type!==te.FormDataConsumer).some(Boolean)?W="":(W=W||{},P.Children.forEach(t,K=>{B.isValidElement(K)&&K.type!==te.FormDataConsumer&&K.props.source&&(W[K.props.source]=K.props.defaultValue??null)})));const se={...W,...p};S(se),I(`${r}.${v.length}`,{defaultValue:W})},[S,t,I,r,v.length,p]);function N(Z){return W=>{F(),Z&&Z(W)}}const k=P.useCallback(()=>{x([])},[x]),_=P.useMemo(()=>({total:v.length,remove:M,source:r}),[v.length,M,r]),H=w.palette.mode==="dark"?w.palette.grey.A400:w.palette.grey.A800,U=v.length>0&&l,G=h===!0?{borderRadius:0,borderBottom:`1px solid ${w.palette.divider}`}:{mt:2,border:`1px solid ${H}`,boxShadow:w.customShadows.z0};return v?f.jsx(kp.Provider,{value:_,children:f.jsxs("div",{className:d,children:[B.cloneElement(g,{label:o,source:r,disableAdd:i,template:p,onClick:(g==null?void 0:g.type)!==Mp?N((V=(Y=e==null?void 0:e.addButton)==null?void 0:Y.props)==null?void 0:V.onClick):void 0,inset:h}),f.jsx(E.TableContainer,{component:E.Paper,sx:{...G,boxShadow:w.customShadows.z0,...m},children:f.jsxs(E.Table,{size:"small",children:[f.jsx(E.TableHead,{sx:h===!0?{}:{borderTop:0,borderBottom:`1px solid ${H}`},children:f.jsxs(E.TableRow,{children:[P.Children.map(t,(Z,W)=>{if(Z.type===Bu||!B.isValidElement(Z))return null;const se=f.jsx(E.Typography,{display:"flex",variant:"subtitle1",color:"text.primary",textTransform:"none",children:j({...Z.props,resource:n})});return f.jsx(E.TableCell,{children:Z.props.title?f.jsx(b3,{title:Z.props.title,arrow:!0,children:se}):se},W)}),!s&&U?f.jsx(E.TableCell,{sx:{display:"flex",justifyContent:"center",alignItems:"center"},children:f.jsx(ui,{horizontal:!0,children:f.jsx(is,{onConfirm:k,confirmContent:T("ra.message.clear_array_input")})})},"actions"):f.jsx(E.TableCell,{},"empty_actions")]})}),f.jsxs(E.TableBody,{children:[v.length===0&&f.jsx(E.TableRow,{sx:{"&:last-child td, &:last-child th":{border:0}},children:f.jsx(E.TableCell,{colSpan:4+(s?0:1),align:"center",children:u||f.jsx(E.Typography,{variant:"body1",color:"text.secondary",children:"-"})})}),v.length>0&&v.map((Z,W)=>f.jsx(E.TableRow,{sx:{borderBottom:0},children:f.jsx(iw,{disableRemove:s,index:W,member:`${r}.${W}`,onRemoveField:M,record:v&&v[W]||{},resource:n,source:r,children:t})},Z.id))]})]})})]})}):null}const pae=ge(fae,{slot:"Root"})(({theme:e})=>({"& > div.MuiPaper-root":{overflowX:"auto",[e.breakpoints.down("sm")]:{width:`calc(100vw - ${e.spacing(8.25)})`}},[e.breakpoints.down("sm")]:{"& .MuiTableRow-root:last-child":{borderBottom:0}}})),D3=pae;D3.CreateButton=Mp;D3.EditButton=Bu;D3.Field=rw;const sw=P.createContext(void 0);function F3(){const e=P.useContext(sw);if(!e)throw new Error("useWizardFormContext must be used within a WizardFormProvider");return e}function hae({value:e,children:t}){return f.jsx(sw.Provider,{value:e,children:t})}function gae({cancelButton:e,...t}){const{hasNextStep:n,hasPreviousStep:r,goToNextStep:o,goToPreviousStep:i}=F3(),s=te.useTranslate(),{handleSubmit:l}=fn.useFormContext(),d=P.useCallback(()=>{o()},[o]);return f.jsxs(gi,{...t,children:[f.jsx(E.Box,{sx:{"& .MuiButtonBase-root":{ml:0}},children:e?P.cloneElement(e):null}),f.jsx(E.Box,{sx:{flex:"1 1 auto"}}),r()&&f.jsx(E.Button,{variant:"text",color:"primary",onClick:i,children:s("ra.action.back")}),n()?f.jsx(E.Button,{variant:"contained",color:"primary",onClick:l(d),children:s("ra.action.next")}):f.jsx(z.SaveButton,{})]})}const mae=E.styled(E.Stepper,{shouldForwardProp:e=>e!=="isHorizontal"})(({theme:e,isHorizontal:t})=>({paddingBottom:e.spacing(2),display:"flex",justifyContent:t?"space-between":"flex-start",".MuiStep-root":{flex:t?1:"none",maxWidth:t?"none":"100%",display:"flex",justifyContent:t?"center":"flex-start"},".MuiStepConnector-line.MuiStepConnector-lineVertical":{minHeight:12},".MuiStepConnector-vertical":{marginLeft:14.5},".MuiStepConnector-horizontal":{marginLeft:-10}})),vae=E.styled(E.Box)(({theme:e,ownerState:t})=>({backgroundColor:t.error?e.palette.error.main:t.completed||t.active?e.palette.primary.main:e.palette.mode==="dark"?e.palette.grey[200]:e.palette.grey[400],zIndex:1,color:e.palette.common.white,width:30,height:30,display:"flex",borderRadius:"50%",justifyContent:"center",alignItems:"center"}));function yae({completed:e,active:t,error:n,icon:r,className:o}){return f.jsx(vae,{ownerState:{completed:e,active:t,error:n},className:o,children:n?"!":r})}function bae({isHorizontal:e,setCurrentStep:t,stepFields:n}){const{currentStep:r,steps:o}=F3(),{errors:i}=fn.useFormState();function s(l){l<=r&&t(l)}return f.jsx(mae,{activeStep:r,orientation:e?"horizontal":"vertical",isHorizontal:e,sx:{p:3,mt:1},children:o.map((l,d)=>{const u=n[d].some(h=>Q.get(i,h)),{label:p,icon:g}=l.props;return f.jsx(E.Step,{children:f.jsx(E.StepLabel,{StepIconComponent:yae,error:u,icon:g,onClick:()=>s(d),style:{cursor:d<=r?"pointer":"default"},children:e?null:p})},d)})})}function Cae({title:e,subheader:t,secondary:n,toolbar:r,progress:o,isSmall:i,modal:s,sx:l,setCurrentStep:d}){const{currentStep:u,steps:p}=F3(),g=z.useTranslate(),h=E.useTheme(),m=i||s,v=P.useMemo(()=>r?P.Children.toArray(r.props.children).find(x=>{var S;return P.isValidElement(x)&&x.type===E.Button&&((S=x.props)==null?void 0:S.children)===g("ra.action.cancel")}):null,[r,g]),b=p.map(x=>{const S=[],{sources:I}=x.props;return I!==void 0?S.push(...I):R3(x,w=>{var T;((T=w==null?void 0:w.props)==null?void 0:T.source)!==void 0&&S.push(w.props.source)}),S});return f.jsxs(E.Grid,{container:!0,spacing:2,sx:l,children:[f.jsx(E.Grid,{item:!0,xl:s?12:2,lg:s?12:3,md:s?12:3,sm:s?12:4,xs:12,children:o||f.jsx(bae,{isHorizontal:m,setCurrentStep:d,stepFields:b})}),s?f.jsx(E.Divider,{sx:{width:"100%"}}):null,f.jsx(E.Grid,{item:!0,xl:s?12:10,lg:s?12:9,md:s?12:9,sm:s?12:8,xs:12,sx:{paddingTop:s?"0 !important":null},children:f.jsxs(Nn,{title:e||p[u].props.label,subheader:t,secondary:n,border:!s,divider:!0,children:[f.jsx(E.Box,{children:p[u]}),f.jsx(E.Box,{sx:{"& .MuiToolbar-root":{paddingLeft:0,paddingRight:0,paddingBottom:0,paddingTop:h.spacing(2)}},children:r&&!v?r:f.jsx(gae,{cancelButton:v})})]})})]})}const xae=E.styled(z.Form,{shouldForwardProp:e=>e!=="modal"})(({theme:e,modal:t})=>({[e.breakpoints.down("sm")]:t?{}:{paddingBottom:`${e.spacing(2.5)}`}}));function aw({children:e,toolbar:t,progress:n,title:r,subheader:o=null,secondary:i=null,sx:s,modal:l=!1,...d}){const[u,p]=P.useState(0),g=P.Children.toArray(e),h=E.useMediaQuery(I=>I.breakpoints.down("sm"));function m(){return u<g.length-1}function v(){return u>0}function b(){p(I=>Math.min(I+1,g.length-1))}function x(){p(I=>Math.max(I-1,0))}const S={currentStep:u,steps:g,hasNextStep:m,hasPreviousStep:v,goToNextStep:b,goToPreviousStep:x};return f.jsx(hae,{value:S,children:f.jsx(xae,{...d,modal:l,children:f.jsx(Cae,{title:r,subheader:o,secondary:i,modal:l,sx:s,toolbar:t,progress:n,isSmall:h,setCurrentStep:p})})})}function wae({children:e}){return f.jsx(f.Fragment,{children:e})}aw.Step=wae;function Sae(e,t){const n=Q.clone(e),{type:r,payload:o}=t;switch(r){case"updateMedia":{const i=Q.chain(n.media).clone().extend(o).value();return Q.extend(n,{media:i})}case"updateDrawer":{const i=Q.chain(n.drawer).clone().extend(o).value();return Q.extend(n,{drawer:i})}case"updateLogo":{const i=Q.chain(n.logo).clone().extend(o).value();return Q.extend(n,{logo:i})}case"updateNotifications":{const i=Q.chain(n.notifications).clone().extend(o).value();return Q.extend(n,{notifications:i})}case"updateTheme":{const i=Q.chain(n.theme).clone().extend(o).value();return Q.extend(n,{theme:i})}default:return n}}const Aae={drawer:{open:!0,width:260,handleDrawerToggle:()=>{}},media:{downMd:!1,downLg:!1,downXl:!1,horizontal:!1},logo:{},notifications:{enable:!0,resource:"entities/notification"},theme:{iconColor:"grey.300",iconColorOpen:"grey.100"}},lw=P.createContext(void 0);function cw(e){var k;const t=te.useAuthProvider(),n=te.useGetIdentity(),r=E.useTheme(),o=E.useMediaQuery(r.breakpoints.down("md")),i=E.useMediaQuery(r.breakpoints.down("lg")),s=E.useMediaQuery(r.breakpoints.down("xl")),{miniDrawer:l,isHorizontalLayout:d,themeDirection:u,drawerWidth:p}=hp(),g=d(u)&&!i,{drawerOpen:h,openDrawer:m}=I3(),v=P.useCallback(()=>{m(!h)},[h,m]),[b,x]=P.useState(!1),[S,I]=P.useReducer(Sae,Q.chain(Aae).clone().merge({drawer:{open:!l||h}}).value()),w=P.useCallback(()=>x(!1),[]),T=P.useMemo(()=>({state:S,dispatch:I}),[S,I]),{logoIcon:O,logoMain:j,enableNotification:M,notification:F}=e,N=z.useLoading();return P.useEffect(()=>{I({type:"updateMedia",payload:{downMd:o,downLg:i,downXl:s,horizontal:g}})},[o,i,s,g]),P.useEffect(()=>{I({type:"updateDrawer",payload:{open:h,width:p,handleDrawerToggle:v}})},[h,p,v]),P.useEffect(()=>{l||m(!s)},[s,l]),P.useEffect(()=>{I({type:"updateLogo",payload:{main:j,icon:O}})},[O,j]),P.useEffect(()=>{I({type:"updateNotifications",payload:{enable:M,resource:F??"entities/notification"}})},[M,F]),P.useEffect(()=>{I({type:"updateTheme",payload:{iconColorOpen:r.palette.mode==="dark"?"grey.200":"grey.300",iconColor:r.palette.mode==="dark"?"background.default":"grey.100"}})},[r.palette.mode]),P.useEffect(()=>{if(!N){if(!t.isImpersonating){console.warn("authProvider does not contain a method called isImpersonating",t);return}t==null||t.isImpersonating().then(_=>{var H;x(!_&&((H=n==null?void 0:n.data)==null?void 0:H.needToChangePassword)===!0)})}},[(k=n==null?void 0:n.data)==null?void 0:k.needToChangePassword,t,N]),f.jsxs(lw.Provider,{value:T,children:[f.jsx(E.Dialog,{open:b,maxWidth:"xs",fullWidth:!0,children:f.jsx(Ep,{onSuccess:w,firstAccess:!0})}),e.children]})}function uw(e){return P.forwardRef((t,n)=>{const{logoIcon:r,logoMain:o,enableNotification:i,notification:s}=t;return f.jsx(cw,{logoIcon:r,logoMain:o,enableNotification:i,notification:s,children:f.jsx(e,{ref:n,...t})})})}function _p(){const e=P.useContext(lw);if(e===void 0)throw new Error("[Layout] useLayoutContext: context undefined. Please provide a valid LayoutContext using LayoutProvider");return e}function Eae(){return _p().dispatch}function Pa(){return _p().state}function ir(){return Pa().media}function as(){return Pa().drawer}function dw(){return Pa().logo}function L3(){return Pa().notifications}function Tae(){return Pa().theme}function fw(e){const{width:t}=as(),{horizontal:n}=ir(),{container:r}=jn(),[o,i]=P.useState(null);function s(d,u){i(u)}const l=wt();return f.jsx(hJ,{onError:s,fallbackRender:({error:d,resetErrorBoundary:u})=>f.jsx(ep,{error:d,errorComponent:e.error,errorInfo:o,resetErrorBoundary:u}),children:f.jsx(P.Suspense,{fallback:f.jsx(qb,{}),children:f.jsxs(E.Box,{component:"main",sx:{width:`calc(100% - ${t}px)`,flexGrow:1,p:{xs:0,sm:2,lg:1},pt:{lg:2}},children:[f.jsx(E.Toolbar,{sx:{mt:n?8:"inherit"}})," ",f.jsx(E.Container,{maxWidth:r?"xl":!1,sx:{...r&&{px:{xs:0,sm:2}},position:"relative",minHeight:"calc(100vh - 110px)",display:"flex",flexDirection:"column",[l.breakpoints.down("sm")]:{px:"12px"}},children:e.children})]})})})}const pw=ge(E.Box,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>({...e.mixins.toolbar,display:"flex",alignItems:"center",justifyContent:t?"flex-start":"center",paddingLeft:e.spacing(t?3:0)}));function hw({isIcon:e,sx:t,to:n,logoIcon:r,logoMain:o}){const{appDefaultPath:i}=jn();return f.jsx(E.ButtonBase,{disableRipple:!0,component:ut.Link,to:n||i,sx:t,children:e?r:o})}function gw(e){const t=E.useTheme(),{horizontal:n}=ir(),{open:r}=as(),{icon:o,main:i}=dw(),s=$r(e,{minHeight:n?"unset":"60px",width:n?{xs:"100%",lg:"424px"}:"inherit",paddingTop:n?{xs:"10px",lg:"0"}:"8px",paddingBottom:n?{xs:"18px",lg:"0"}:"8px",paddingLeft:n?{xs:"24px",lg:"0"}:r?"24px":0});return f.jsx(pw,{theme:t,open:r,sx:s,children:f.jsx(hw,{to:"/",isIcon:!r,sx:{width:r?"auto":35,height:35},logoMain:i,logoIcon:o})})}function Xm(e,t){return{width:t,borderRight:`1px solid ${e.palette.divider}`,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),overflowX:"hidden",boxShadow:e.palette.mode==="dark"?e.customShadows.z1:"none"}}function Qm(e){return{transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:e.spacing(7.5),borderRight:"none",boxShadow:e.customShadows.z1}}const Iae=ge(E.Drawer,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=jn();return{width:n,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box",...t&&{...Xm(e,n),"& .MuiDrawer-paper":Xm(e,n)},...!t&&{...Qm(e),"& .MuiDrawer-paper":Qm(e)}}});var Ae={},U0={exports:{}};(function(e,t){(function(n,r){var o="1.0.39",i="",s="?",l="function",d="undefined",u="object",p="string",g="major",h="model",m="name",v="type",b="vendor",x="version",S="architecture",I="console",w="mobile",T="tablet",O="smarttv",j="wearable",M="embedded",F=500,N="Amazon",k="Apple",_="ASUS",H="BlackBerry",U="Browser",G="Chrome",Y="Edge",V="Firefox",Z="Google",W="Huawei",se="LG",K="Microsoft",$="Motorola",ne="Opera",oe="Samsung",J="Sharp",ce="Sony",fe="Xiaomi",be="Zebra",ue="Facebook",ye="Chromium OS",Ce="Mac OS",Ee=" Browser",me=function(Pe,Re){var Ie={};for(var xe in Pe)Re[xe]&&Re[xe].length%2===0?Ie[xe]=Re[xe].concat(Pe[xe]):Ie[xe]=Pe[xe];return Ie},je=function(Pe){for(var Re={},Ie=0;Ie<Pe.length;Ie++)Re[Pe[Ie].toUpperCase()]=Pe[Ie];return Re},ve=function(Pe,Re){return typeof Pe===p?qe(Re).indexOf(qe(Pe))!==-1:!1},qe=function(Pe){return Pe.toLowerCase()},Ft=function(Pe){return typeof Pe===p?Pe.replace(/[^\d\.]/g,i).split(".")[0]:r},bt=function(Pe,Re){if(typeof Pe===p)return Pe=Pe.replace(/^\s\s*/,i),typeof Re===d?Pe:Pe.substring(0,F)},st=function(Pe,Re){for(var Ie=0,xe,vt,Ct,De,Oe,Yt;Ie<Re.length&&!Oe;){var Sn=Re[Ie],Hn=Re[Ie+1];for(xe=vt=0;xe<Sn.length&&!Oe&&Sn[xe];)if(Oe=Sn[xe++].exec(Pe),Oe)for(Ct=0;Ct<Hn.length;Ct++)Yt=Oe[++vt],De=Hn[Ct],typeof De===u&&De.length>0?De.length===2?typeof De[1]==l?this[De[0]]=De[1].call(this,Yt):this[De[0]]=De[1]:De.length===3?typeof De[1]===l&&!(De[1].exec&&De[1].test)?this[De[0]]=Yt?De[1].call(this,Yt,De[2]):r:this[De[0]]=Yt?Yt.replace(De[1],De[2]):r:De.length===4&&(this[De[0]]=Yt?De[3].call(this,Yt.replace(De[1],De[2])):r):this[De]=Yt||r;Ie+=2}},sn=function(Pe,Re){for(var Ie in Re)if(typeof Re[Ie]===u&&Re[Ie].length>0){for(var xe=0;xe<Re[Ie].length;xe++)if(ve(Re[Ie][xe],Pe))return Ie===s?r:Ie}else if(ve(Re[Ie],Pe))return Ie===s?r:Ie;return Re.hasOwnProperty("*")?Re["*"]:Pe},mt={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Ke={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},kt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[x,[m,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[x,[m,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[m,x],[/opios[\/ ]+([\w\.]+)/i],[x,[m,ne+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[x,[m,ne+" GX"]],[/\bopr\/([\w\.]+)/i],[x,[m,ne]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[x,[m,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[m,x],[/quark(?:pc)?\/([-\w\.]+)/i],[x,[m,"Quark"]],[/\bddg\/([\w\.]+)/i],[x,[m,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[x,[m,"UC"+U]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[x,[m,"WeChat"]],[/konqueror\/([\w\.]+)/i],[x,[m,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[x,[m,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[x,[m,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[x,[m,"Smart Lenovo "+U]],[/(avast|avg)\/([\w\.]+)/i],[[m,/(.+)/,"$1 Secure "+U],x],[/\bfocus\/([\w\.]+)/i],[x,[m,V+" Focus"]],[/\bopt\/([\w\.]+)/i],[x,[m,ne+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[x,[m,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[x,[m,"Dolphin"]],[/coast\/([\w\.]+)/i],[x,[m,ne+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[x,[m,"MIUI "+U]],[/fxios\/([-\w\.]+)/i],[x,[m,V]],[/\bqihu|(qi?ho?o?|360)browser/i],[[m,"360"+Ee]],[/\b(qq)\/([\w\.]+)/i],[[m,/(.+)/,"$1Browser"],x],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[m,/(.+)/,"$1"+Ee],x],[/samsungbrowser\/([\w\.]+)/i],[x,[m,oe+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[m,/_/g," "],x],[/metasr[\/ ]?([\d\.]+)/i],[x,[m,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[m,"Sogou Mobile"],x],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[m,x],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[m],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[m,ue],x],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[m,x],[/\bgsa\/([\w\.]+) .*safari\//i],[x,[m,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[x,[m,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[x,[m,G+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[m,G+" WebView"],x],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[x,[m,"Android "+U]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[m,x],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[x,[m,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[x,m],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[m,[x,sn,mt]],[/(webkit|khtml)\/([\w\.]+)/i],[m,x],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[m,"Netscape"],x],[/(wolvic)\/([\w\.]+)/i],[m,x],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[x,[m,V+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[m,[x,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[m,[x,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[S,"amd64"]],[/(ia32(?=;))/i],[[S,qe]],[/((?:i[346]|x)86)[;\)]/i],[[S,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[S,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[S,"armhf"]],[/windows (ce|mobile); ppc;/i],[[S,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[S,/ower/,i,qe]],[/(sun4\w)[;\)]/i],[[S,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[S,qe]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[h,[b,oe],[v,T]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[h,[b,oe],[v,w]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[h,[b,k],[v,w]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[h,[b,k],[v,T]],[/(macintosh);/i],[h,[b,k]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[h,[b,J],[v,w]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[h,[b,W],[v,T]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[h,[b,W],[v,w]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[h,/_/g," "],[b,fe],[v,w]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[h,/_/g," "],[b,fe],[v,T]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[h,[b,"OPPO"],[v,w]],[/\b(opd2\d{3}a?) bui/i],[h,[b,"OPPO"],[v,T]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[h,[b,"Vivo"],[v,w]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[h,[b,"Realme"],[v,w]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[h,[b,$],[v,w]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[h,[b,$],[v,T]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[h,[b,se],[v,T]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[h,[b,se],[v,w]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[h,[b,"Lenovo"],[v,T]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[h,/_/g," "],[b,"Nokia"],[v,w]],[/(pixel c)\b/i],[h,[b,Z],[v,T]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[h,[b,Z],[v,w]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[h,[b,ce],[v,w]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[h,"Xperia Tablet"],[b,ce],[v,T]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[h,[b,"OnePlus"],[v,w]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[h,[b,N],[v,T]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[h,/(.+)/g,"Fire Phone $1"],[b,N],[v,w]],[/(playbook);[-\w\),; ]+(rim)/i],[h,b,[v,T]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[h,[b,H],[v,w]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[h,[b,_],[v,T]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[h,[b,_],[v,w]],[/(nexus 9)/i],[h,[b,"HTC"],[v,T]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[b,[h,/_/g," "],[v,w]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[h,[b,"TCL"],[v,T]],[/(itel) ((\w+))/i],[[b,qe],h,[v,sn,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[h,[b,"Acer"],[v,T]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[h,[b,"Meizu"],[v,w]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[h,[b,"Ulefone"],[v,w]],[/droid.+; (a(?:015|06[35]|142p?))/i],[h,[b,"Nothing"],[v,w]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[b,h,[v,w]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[b,h,[v,T]],[/(surface duo)/i],[h,[b,K],[v,T]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[h,[b,"Fairphone"],[v,w]],[/(u304aa)/i],[h,[b,"AT&T"],[v,w]],[/\bsie-(\w*)/i],[h,[b,"Siemens"],[v,w]],[/\b(rct\w+) b/i],[h,[b,"RCA"],[v,T]],[/\b(venue[\d ]{2,7}) b/i],[h,[b,"Dell"],[v,T]],[/\b(q(?:mv|ta)\w+) b/i],[h,[b,"Verizon"],[v,T]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[h,[b,"Barnes & Noble"],[v,T]],[/\b(tm\d{3}\w+) b/i],[h,[b,"NuVision"],[v,T]],[/\b(k88) b/i],[h,[b,"ZTE"],[v,T]],[/\b(nx\d{3}j) b/i],[h,[b,"ZTE"],[v,w]],[/\b(gen\d{3}) b.+49h/i],[h,[b,"Swiss"],[v,w]],[/\b(zur\d{3}) b/i],[h,[b,"Swiss"],[v,T]],[/\b((zeki)?tb.*\b) b/i],[h,[b,"Zeki"],[v,T]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[b,"Dragon Touch"],h,[v,T]],[/\b(ns-?\w{0,9}) b/i],[h,[b,"Insignia"],[v,T]],[/\b((nxa|next)-?\w{0,9}) b/i],[h,[b,"NextBook"],[v,T]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[b,"Voice"],h,[v,w]],[/\b(lvtel\-)?(v1[12]) b/i],[[b,"LvTel"],h,[v,w]],[/\b(ph-1) /i],[h,[b,"Essential"],[v,w]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[h,[b,"Envizen"],[v,T]],[/\b(trio[-\w\. ]+) b/i],[h,[b,"MachSpeed"],[v,T]],[/\btu_(1491) b/i],[h,[b,"Rotor"],[v,T]],[/(shield[\w ]+) b/i],[h,[b,"Nvidia"],[v,T]],[/(sprint) (\w+)/i],[b,h,[v,w]],[/(kin\.[onetw]{3})/i],[[h,/\./g," "],[b,K],[v,w]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[h,[b,be],[v,T]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[h,[b,be],[v,w]],[/smart-tv.+(samsung)/i],[b,[v,O]],[/hbbtv.+maple;(\d+)/i],[[h,/^/,"SmartTV"],[b,oe],[v,O]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[b,se],[v,O]],[/(apple) ?tv/i],[b,[h,k+" TV"],[v,O]],[/crkey/i],[[h,G+"cast"],[b,Z],[v,O]],[/droid.+aft(\w+)( bui|\))/i],[h,[b,N],[v,O]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[h,[b,J],[v,O]],[/(bravia[\w ]+)( bui|\))/i],[h,[b,ce],[v,O]],[/(mitv-\w{5}) bui/i],[h,[b,fe],[v,O]],[/Hbbtv.*(technisat) (.*);/i],[b,h,[v,O]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[b,bt],[h,bt],[v,O]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[v,O]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[b,h,[v,I]],[/droid.+; (shield) bui/i],[h,[b,"Nvidia"],[v,I]],[/(playstation [345portablevi]+)/i],[h,[b,ce],[v,I]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[h,[b,K],[v,I]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[h,[b,oe],[v,j]],[/((pebble))app/i],[b,h,[v,j]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[h,[b,k],[v,j]],[/droid.+; (glass) \d/i],[h,[b,Z],[v,j]],[/droid.+; (wt63?0{2,3})\)/i],[h,[b,be],[v,j]],[/(quest( \d| pro)?)/i],[h,[b,ue],[v,j]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[b,[v,M]],[/(aeobc)\b/i],[h,[b,N],[v,M]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[h,[v,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[h,[v,T]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[v,T]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[v,w]],[/(android[-\w\. ]{0,9});.+buil/i],[h,[b,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[x,[m,Y+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[x,[m,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[m,x],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[x,m]],os:[[/microsoft (windows) (vista|xp)/i],[m,x],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[m,[x,sn,Ke]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[x,sn,Ke],[m,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[x,/_/g,"."],[m,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[m,Ce],[x,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[x,m],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[m,x],[/\(bb(10);/i],[x,[m,H]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[x,[m,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[x,[m,V+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[x,[m,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[x,[m,"watchOS"]],[/crkey\/([\d\.]+)/i],[x,[m,G+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[m,ye],x],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[m,x],[/(sunos) ?([\w\.\d]*)/i],[[m,"Solaris"],x],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[m,x]]},tt=function(Pe,Re){if(typeof Pe===u&&(Re=Pe,Pe=r),!(this instanceof tt))return new tt(Pe,Re).getResult();var Ie=typeof n!==d&&n.navigator?n.navigator:r,xe=Pe||(Ie&&Ie.userAgent?Ie.userAgent:i),vt=Ie&&Ie.userAgentData?Ie.userAgentData:r,Ct=Re?me(kt,Re):kt,De=Ie&&Ie.userAgent==xe;return this.getBrowser=function(){var Oe={};return Oe[m]=r,Oe[x]=r,st.call(Oe,xe,Ct.browser),Oe[g]=Ft(Oe[x]),De&&Ie&&Ie.brave&&typeof Ie.brave.isBrave==l&&(Oe[m]="Brave"),Oe},this.getCPU=function(){var Oe={};return Oe[S]=r,st.call(Oe,xe,Ct.cpu),Oe},this.getDevice=function(){var Oe={};return Oe[b]=r,Oe[h]=r,Oe[v]=r,st.call(Oe,xe,Ct.device),De&&!Oe[v]&&vt&&vt.mobile&&(Oe[v]=w),De&&Oe[h]=="Macintosh"&&Ie&&typeof Ie.standalone!==d&&Ie.maxTouchPoints&&Ie.maxTouchPoints>2&&(Oe[h]="iPad",Oe[v]=T),Oe},this.getEngine=function(){var Oe={};return Oe[m]=r,Oe[x]=r,st.call(Oe,xe,Ct.engine),Oe},this.getOS=function(){var Oe={};return Oe[m]=r,Oe[x]=r,st.call(Oe,xe,Ct.os),De&&!Oe[m]&&vt&&vt.platform&&vt.platform!="Unknown"&&(Oe[m]=vt.platform.replace(/chrome os/i,ye).replace(/macos/i,Ce)),Oe},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return xe},this.setUA=function(Oe){return xe=typeof Oe===p&&Oe.length>F?bt(Oe,F):Oe,this},this.setUA(xe),this};tt.VERSION=o,tt.BROWSER=je([m,x,g]),tt.CPU=je([S]),tt.DEVICE=je([h,b,v,I,w,O,T,j,M]),tt.ENGINE=tt.OS=je([m,x]),e.exports&&(t=e.exports=tt),t.UAParser=tt;var ot=typeof n!==d&&(n.jQuery||n.Zepto);if(ot&&!ot.ua){var St=new tt;ot.ua=St.getResult(),ot.ua.get=function(){return St.getUA()},ot.ua.set=function(Pe){St.setUA(Pe);var Re=St.getResult();for(var Ie in Re)ot.ua[Ie]=Re[Ie]}}})(typeof window=="object"?window:Pn)})(U0,U0.exports);var Oae=U0.exports;Object.defineProperty(Ae,"__esModule",{value:!0});function Pae(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var xn=P,Et=Pae(xn),mw=Oae,mi=new mw,wn=mi.getBrowser(),jae=mi.getCPU(),sr=mi.getDevice(),Dp=mi.getEngine(),vi=mi.getOS(),h1=mi.getUA(),vw=function(t){return mi.setUA(t)},g1=function(t){if(!t){console.error("No userAgent string was provided");return}var n=new mw(t);return{UA:n,browser:n.getBrowser(),cpu:n.getCPU(),device:n.getDevice(),engine:n.getEngine(),os:n.getOS(),ua:n.getUA(),setUserAgent:function(o){return n.setUA(o)}}},yw=Object.freeze({ClientUAInstance:mi,browser:wn,cpu:jae,device:sr,engine:Dp,os:vi,ua:h1,setUa:vw,parseUserAgent:g1});function Jm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Rae(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Jm(Object(n),!0).forEach(function(r){Dae(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jm(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Il(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Il=function(t){return typeof t}:Il=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Il(e)}function Mae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _ae(e,t,n){return t&&kae(e.prototype,t),e}function Dae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H0(){return H0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H0.apply(this,arguments)}function Fae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q0(e,t)}function G0(e){return G0=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},G0(e)}function q0(e,t){return q0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},q0(e,t)}function Lae(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function jr(e,t){if(e==null)return{};var n=Lae(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Yc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bae(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Yc(e)}function Nae(e,t){return $ae(e)||Vae(e,t)||zae(e,t)||Wae()}function $ae(e){if(Array.isArray(e))return e}function Vae(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,s,l;try{for(n=n.call(e);!(o=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));o=!0);}catch(d){i=!0,l=d}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw l}}return r}}function zae(e,t){if(e){if(typeof e=="string")return e9(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e9(e,t)}}function e9(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Wae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
625
625
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Cn={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},Un={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},ja={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},Uae={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},Hae=function(t){switch(t){case Cn.Mobile:return{isMobile:!0};case Cn.Tablet:return{isTablet:!0};case Cn.SmartTv:return{isSmartTV:!0};case Cn.Console:return{isConsole:!0};case Cn.Wearable:return{isWearable:!0};case Cn.Browser:return{isBrowser:!0};case Cn.Embedded:return{isEmbedded:!0};default:return Uae}},Gae=function(t){return vw(t)},Le=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return t||n},Fp=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},Lp=function(t){var n=Fp();return n&&n.platform&&(n.platform.indexOf(t)!==-1||n.platform==="MacIntel"&&n.maxTouchPoints>1&&!window.MSStream)},qae=function(t,n,r,o,i){return{isBrowser:t,browserMajorVersion:Le(n.major),browserFullVersion:Le(n.version),browserName:Le(n.name),engineName:Le(r.name),engineVersion:Le(r.version),osName:Le(o.name),osVersion:Le(o.version),userAgent:Le(i)}},t9=function(t,n,r,o){return Rae({},t,{vendor:Le(n.vendor),model:Le(n.model),os:Le(r.name),osVersion:Le(r.version),ua:Le(o)})},Yae=function(t,n,r,o){return{isSmartTV:t,engineName:Le(n.name),engineVersion:Le(n.version),osName:Le(r.name),osVersion:Le(r.version),userAgent:Le(o)}},Kae=function(t,n,r,o){return{isConsole:t,engineName:Le(n.name),engineVersion:Le(n.version),osName:Le(r.name),osVersion:Le(r.version),userAgent:Le(o)}},Zae=function(t,n,r,o){return{isWearable:t,engineName:Le(n.name),engineVersion:Le(n.version),osName:Le(r.name),osVersion:Le(r.version),userAgent:Le(o)}},Xae=function(t,n,r,o,i){return{isEmbedded:t,vendor:Le(n.vendor),model:Le(n.model),engineName:Le(r.name),engineVersion:Le(r.version),osName:Le(o.name),osVersion:Le(o.version),userAgent:Le(i)}};function Qae(e){var t=e?g1(e):yw,n=t.device,r=t.browser,o=t.engine,i=t.os,s=t.ua,l=Hae(n.type),d=l.isBrowser,u=l.isMobile,p=l.isTablet,g=l.isSmartTV,h=l.isConsole,m=l.isWearable,v=l.isEmbedded;if(d)return qae(d,r,o,i,s);if(g)return Yae(g,o,i,s);if(h)return Kae(h,o,i,s);if(u||p)return t9(l,n,i,s);if(m)return Zae(m,o,i,s);if(v)return Xae(v,n,o,i,s)}var bw=function(t){var n=t.type;return n===Cn.Mobile},Cw=function(t){var n=t.type;return n===Cn.Tablet},xw=function(t){var n=t.type;return n===Cn.Mobile||n===Cn.Tablet},ww=function(t){var n=t.type;return n===Cn.SmartTv},Nu=function(t){var n=t.type;return n===Cn.Browser},Sw=function(t){var n=t.type;return n===Cn.Wearable},Aw=function(t){var n=t.type;return n===Cn.Console},Ew=function(t){var n=t.type;return n===Cn.Embedded},Tw=function(t){var n=t.vendor;return Le(n)},Iw=function(t){var n=t.model;return Le(n)},Ow=function(t){var n=t.type;return Le(n,"browser")},Pw=function(t){var n=t.name;return n===ja.Android},jw=function(t){var n=t.name;return n===ja.Windows},Rw=function(t){var n=t.name;return n===ja.MAC_OS},Mw=function(t){var n=t.name;return n===ja.WindowsPhone},kw=function(t){var n=t.name;return n===ja.IOS},_w=function(t){var n=t.version;return Le(n)},Dw=function(t){var n=t.name;return Le(n)},Fw=function(t){var n=t.name;return n===Un.Chrome},Lw=function(t){var n=t.name;return n===Un.Firefox},Bw=function(t){var n=t.name;return n===Un.Chromium},$u=function(t){var n=t.name;return n===Un.Edge},Nw=function(t){var n=t.name;return n===Un.Yandex},$w=function(t){var n=t.name;return n===Un.Safari||n===Un.MobileSafari},Vw=function(t){var n=t.name;return n===Un.MobileSafari},zw=function(t){var n=t.name;return n===Un.Opera},Ww=function(t){var n=t.name;return n===Un.InternetExplorer||n===Un.Ie},Uw=function(t){var n=t.name;return n===Un.MIUI},Hw=function(t){var n=t.name;return n===Un.SamsungBrowser},Gw=function(t){var n=t.version;return Le(n)},qw=function(t){var n=t.major;return Le(n)},Yw=function(t){var n=t.name;return Le(n)},Kw=function(t){var n=t.name;return Le(n)},Zw=function(t){var n=t.version;return Le(n)},Xw=function(){var t=Fp(),n=t&&t.userAgent&&t.userAgent.toLowerCase();return typeof n=="string"?/electron/.test(n):!1},na=function(t){return typeof t=="string"&&t.indexOf("Edg/")!==-1},Qw=function(){var t=Fp();return t&&(/iPad|iPhone|iPod/.test(t.platform)||t.platform==="MacIntel"&&t.maxTouchPoints>1)&&!window.MSStream},Zr=function(){return Lp("iPad")},Jw=function(){return Lp("iPhone")},eS=function(){return Lp("iPod")},tS=function(t){return Le(t)};function nS(e){var t=e||yw,n=t.device,r=t.browser,o=t.os,i=t.engine,s=t.ua;return{isSmartTV:ww(n),isConsole:Aw(n),isWearable:Sw(n),isEmbedded:Ew(n),isMobileSafari:Vw(r)||Zr(),isChromium:Bw(r),isMobile:xw(n)||Zr(),isMobileOnly:bw(n),isTablet:Cw(n)||Zr(),isBrowser:Nu(n),isDesktop:Nu(n),isAndroid:Pw(o),isWinPhone:Mw(o),isIOS:kw(o)||Zr(),isChrome:Fw(r),isFirefox:Lw(r),isSafari:$w(r),isOpera:zw(r),isIE:Ww(r),osVersion:_w(o),osName:Dw(o),fullBrowserVersion:Gw(r),browserVersion:qw(r),browserName:Yw(r),mobileVendor:Tw(n),mobileModel:Iw(n),engineName:Kw(i),engineVersion:Zw(i),getUA:tS(s),isEdge:$u(r)||na(s),isYandex:Nw(r),deviceType:Ow(n),isIOS13:Qw(),isIPad13:Zr(),isIPhone13:Jw(),isIPod13:eS(),isElectron:Xw(),isEdgeChromium:na(s),isLegacyEdge:$u(r)&&!na(s),isWindows:jw(o),isMacOs:Rw(o),isMIUI:Uw(r),isSamsungBrowser:Hw(r)}}var rS=ww(sr),oS=Aw(sr),iS=Sw(sr),Jae=Ew(sr),ele=Vw(wn)||Zr(),tle=Bw(wn),B3=xw(sr)||Zr(),sS=bw(sr),aS=Cw(sr)||Zr(),lS=Nu(sr),nle=Nu(sr),cS=Pw(vi),uS=Mw(vi),dS=kw(vi)||Zr(),rle=Fw(wn),ole=Lw(wn),ile=$w(wn),sle=zw(wn),fS=Ww(wn),ale=_w(vi),lle=Dw(vi),cle=Gw(wn),ule=qw(wn),dle=Yw(wn),fle=Tw(sr),ple=Iw(sr),hle=Kw(Dp),gle=Zw(Dp),mle=tS(h1),vle=$u(wn)||na(h1),yle=Nw(wn),ble=Ow(sr),Cle=Qw(),xle=Zr(),wle=Jw(),Sle=eS(),Ale=Xw(),Ele=na(h1),Tle=$u(wn)&&!na(h1),Ile=jw(vi),Ole=Rw(vi),Ple=Uw(wn),jle=Hw(wn),Rle=function(t){if(!t||typeof t!="string"){console.error("No valid user agent string was provided");return}var n=g1(t),r=n.device,o=n.browser,i=n.os,s=n.engine,l=n.ua;return nS({device:r,browser:o,os:i,engine:s,ua:l})},Mle=function(t){var n=t.renderWithFragment,r=t.children,o=jr(t,["renderWithFragment","children"]);return cS?n?Et.createElement(xn.Fragment,null,r):Et.createElement("div",o,r):null},kle=function(t){var n=t.renderWithFragment,r=t.children,o=jr(t,["renderWithFragment","children"]);return lS?n?Et.createElement(xn.Fragment,null,r):Et.createElement("div",o,r):null},_le=function(t){var n=t.renderWithFragment,r=t.children,o=jr(t,["renderWithFragment","children"]);return fS?n?Et.createElement(xn.Fragment,null,r):Et.createElement("div",o,r):null},Dle=function(t){var n=t.renderWithFragment,r=t.children,o=jr(t,["renderWithFragment","children"]);return dS?n?Et.createElement(xn.Fragment,null,r):Et.createElement("div",o,r):null},Fle=function(t){var n=t.renderWithFragment,r=t.children,o=jr(t,["renderWithFragment","children"]);return B3?n?Et.createElement(xn.Fragment,null,r):Et.createElement("div",o,r):null},Lle=function(t){var n=t.renderWithFragment,r=t.children,o=jr(t,["renderWithFragment","children"]);return aS?n?Et.createElement(xn.Fragment,null,r):Et.createElement("div",o,r):null},Ble=function(t){var n=t.renderWithFragment,r=t.children,o=jr(t,["renderWithFragment","children"]);return uS?n?Et.createElement(xn.Fragment,null,r):Et.createElement("div",o,r):null},Nle=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=jr(t,["renderWithFragment","children","viewClassName","style"]);return sS?n?Et.createElement(xn.Fragment,null,r):Et.createElement("div",o,r):null},$le=function(t){var n=t.renderWithFragment,r=t.children,o=jr(t,["renderWithFragment","children"]);return rS?n?Et.createElement(xn.Fragment,null,r):Et.createElement("div",o,r):null},Vle=function(t){var n=t.renderWithFragment,r=t.children,o=jr(t,["renderWithFragment","children"]);return oS?n?Et.createElement(xn.Fragment,null,r):Et.createElement("div",o,r):null},zle=function(t){var n=t.renderWithFragment,r=t.children,o=jr(t,["renderWithFragment","children"]);return iS?n?Et.createElement(xn.Fragment,null,r):Et.createElement("div",o,r):null},Wle=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=t.condition,i=jr(t,["renderWithFragment","children","viewClassName","style","condition"]);return o?n?Et.createElement(xn.Fragment,null,r):Et.createElement("div",i,r):null};function Ule(e){return function(t){Fae(n,t);function n(r){var o;return Mae(this,n),o=Bae(this,G0(n).call(this,r)),o.isEventListenerAdded=!1,o.handleOrientationChange=o.handleOrientationChange.bind(Yc(o)),o.onOrientationChange=o.onOrientationChange.bind(Yc(o)),o.onPageLoad=o.onPageLoad.bind(Yc(o)),o.state={isLandscape:!1,isPortrait:!1},o}return _ae(n,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var o=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:o===0,isLandscape:o===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window>"u"?"undefined":Il(window))!==void 0&&B3&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return Et.createElement(e,H0({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),n}(Et.Component)}function Hle(){var e=xn.useState(function(){var i=window.innerWidth>window.innerHeight?90:0;return{isPortrait:i===0,isLandscape:i===90,orientation:i===0?"portrait":"landscape"}}),t=Nae(e,2),n=t[0],r=t[1],o=xn.useCallback(function(){var i=window.innerWidth>window.innerHeight?90:0,s={isPortrait:i===0,isLandscape:i===90,orientation:i===0?"portrait":"landscape"};n.orientation!==s.orientation&&r(s)},[n.orientation]);return xn.useEffect(function(){return(typeof window>"u"?"undefined":Il(window))!==void 0&&B3&&(o(),window.addEventListener("load",o,!1),window.addEventListener("resize",o,!1)),function(){window.removeEventListener("resize",o,!1),window.removeEventListener("load",o,!1)}},[o]),n}function pS(e){var t=e||window.navigator.userAgent;return g1(t)}function Gle(e){var t=e||window.navigator.userAgent,n=pS(t),r=nS(n);return[r,n]}Ae.AndroidView=Mle;Ae.BrowserTypes=Un;var qle=Ae.BrowserView=kle;Ae.ConsoleView=Vle;Ae.CustomView=Wle;Ae.IEView=_le;Ae.IOSView=Dle;Ae.MobileOnlyView=Nle;var Yle=Ae.MobileView=Fle;Ae.OsTypes=ja;Ae.SmartTVView=$le;Ae.TabletView=Lle;Ae.WearableView=zle;Ae.WinPhoneView=Ble;Ae.browserName=dle;Ae.browserVersion=ule;Ae.deviceDetect=Qae;Ae.deviceType=ble;Ae.engineName=hle;Ae.engineVersion=gle;Ae.fullBrowserVersion=cle;Ae.getSelectorsByUserAgent=Rle;Ae.getUA=mle;Ae.isAndroid=cS;Ae.isBrowser=lS;Ae.isChrome=rle;Ae.isChromium=tle;Ae.isConsole=oS;Ae.isDesktop=nle;Ae.isEdge=vle;Ae.isEdgeChromium=Ele;Ae.isElectron=Ale;Ae.isEmbedded=Jae;Ae.isFirefox=ole;Ae.isIE=fS;Ae.isIOS=dS;Ae.isIOS13=Cle;Ae.isIPad13=xle;Ae.isIPhone13=wle;Ae.isIPod13=Sle;Ae.isLegacyEdge=Tle;Ae.isMIUI=Ple;Ae.isMacOs=Ole;Ae.isMobile=B3;Ae.isMobileOnly=sS;Ae.isMobileSafari=ele;Ae.isOpera=sle;Ae.isSafari=ile;Ae.isSamsungBrowser=jle;Ae.isSmartTV=rS;Ae.isTablet=aS;Ae.isWearable=iS;Ae.isWinPhone=uS;Ae.isWindows=Ile;Ae.isYandex=yle;Ae.mobileModel=ple;Ae.mobileVendor=fle;Ae.osName=lle;Ae.osVersion=ale;Ae.parseUserAgent=g1;Ae.setUserAgent=Gae;Ae.useDeviceData=pS;Ae.useDeviceSelectors=Gle;Ae.useMobileOrientation=Hle;Ae.withOrientationChange=Ule;var Kle=typeof global=="object"&&global&&global.Object===Object&&global,Zle=typeof self=="object"&&self&&self.Object===Object&&self,hS=Kle||Zle||Function("return this")(),Vu=hS.Symbol,gS=Object.prototype,Xle=gS.hasOwnProperty,Qle=gS.toString,al=Vu?Vu.toStringTag:void 0;function Jle(e){var t=Xle.call(e,al),n=e[al];try{e[al]=void 0;var r=!0}catch{}var o=Qle.call(e);return r&&(t?e[al]=n:delete e[al]),o}var e1e=Object.prototype,t1e=e1e.toString;function n1e(e){return t1e.call(e)}var r1e="[object Null]",o1e="[object Undefined]",n9=Vu?Vu.toStringTag:void 0;function i1e(e){return e==null?e===void 0?o1e:r1e:n9&&n9 in Object(e)?Jle(e):n1e(e)}function s1e(e){return e!=null&&typeof e=="object"}var a1e="[object Symbol]";function l1e(e){return typeof e=="symbol"||s1e(e)&&i1e(e)==a1e}var c1e=/\s/;function u1e(e){for(var t=e.length;t--&&c1e.test(e.charAt(t)););return t}var d1e=/^\s+/;function f1e(e){return e&&e.slice(0,u1e(e)+1).replace(d1e,"")}function zu(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var r9=NaN,p1e=/^[-+]0x[0-9a-f]+$/i,h1e=/^0b[01]+$/i,g1e=/^0o[0-7]+$/i,m1e=parseInt;function o9(e){if(typeof e=="number")return e;if(l1e(e))return r9;if(zu(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=zu(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=f1e(e);var n=h1e.test(e);return n||g1e.test(e)?m1e(e.slice(2),n?2:8):p1e.test(e)?r9:+e}var Bf=function(){return hS.Date.now()},v1e="Expected a function",y1e=Math.max,b1e=Math.min;function Kc(e,t,n){var r,o,i,s,l,d,u=0,p=!1,g=!1,h=!0;if(typeof e!="function")throw new TypeError(v1e);t=o9(t)||0,zu(n)&&(p=!!n.leading,g="maxWait"in n,i=g?y1e(o9(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h);function m(j){var M=r,F=o;return r=o=void 0,u=j,s=e.apply(F,M),s}function v(j){return u=j,l=setTimeout(S,t),p?m(j):s}function b(j){var M=j-d,F=j-u,N=t-M;return g?b1e(N,i-F):N}function x(j){var M=j-d,F=j-u;return d===void 0||M>=t||M<0||g&&F>=i}function S(){var j=Bf();if(x(j))return I(j);l=setTimeout(S,b(j))}function I(j){return l=void 0,h&&r?m(j):(r=o=void 0,s)}function w(){l!==void 0&&clearTimeout(l),u=0,r=d=o=l=void 0}function T(){return l===void 0?s:I(Bf())}function O(){var j=Bf(),M=x(j);if(r=arguments,o=this,d=j,M){if(l===void 0)return v(d);if(g)return clearTimeout(l),l=setTimeout(S,t),m(d)}return l===void 0&&(l=setTimeout(S,t)),s}return O.cancel=w,O.flush=T,O}var C1e="Expected a function";function x1e(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(C1e);return zu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Kc(e,t,{leading:r,maxWait:t,trailing:o})}var Qs=function(){return Qs=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Qs.apply(this,arguments)};function mS(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function vS(e){return!e||!e.ownerDocument?document:e.ownerDocument}var yS=function(e){var t={},n=Array.prototype.reduce.call(e,function(r,o){var i=o.name.match(/data-simplebar-(.+)/);if(i){var s=i[1].replace(/\W+(.)/g,function(l,d){return d.toUpperCase()});switch(o.value){case"true":r[s]=!0;break;case"false":r[s]=!1;break;case void 0:r[s]=!0;break;default:r[s]=o.value}}return r},t);return n};function bS(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function CS(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function xS(e){return".".concat(e.split(" ").join("."))}var Bp=!!(typeof window<"u"&&window.document&&window.document.createElement),w1e=Object.freeze({__proto__:null,addClasses:bS,canUseDOM:Bp,classNamesToQuery:xS,getElementDocument:vS,getElementWindow:mS,getOptions:yS,removeClasses:CS}),Ws=null,i9=null;Bp&&window.addEventListener("resize",function(){i9!==window.devicePixelRatio&&(i9=window.devicePixelRatio,Ws=null)});function s9(){if(Ws===null){if(typeof document>"u")return Ws=0,Ws;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),Ws=n}return Ws}var Go=mS,Nf=vS,S1e=yS,qo=bS,Yo=CS,Dn=xS,Pc=function(){function e(t,n){n===void 0&&(n={});var r=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var o=Go(r.el);r.scrollXTicking||(o.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(o.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0),r.isScrolling||(r.isScrolling=!0,qo(r.el,r.classNames.scrolling)),r.showScrollbar("x"),r.showScrollbar("y"),r.onStopScrolling()},this.scrollX=function(){r.axis.x.isOverflowing&&r.positionScrollbar("x"),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&r.positionScrollbar("y"),r.scrollYTicking=!1},this._onStopScrolling=function(){Yo(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(qo(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){Yo(r.el,r.classNames.mouseEntered),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isMouseEntering=!1},this._onMouseMove=function(o){r.mouseX=o.clientX,r.mouseY=o.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this._onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.onPointerEvent=function(o){if(!(!r.axis.x.track.el||!r.axis.y.track.el||!r.axis.x.scrollbar.el||!r.axis.y.scrollbar.el)){var i,s;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(i=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(s=r.isWithinBounds(r.axis.y.track.rect)),(i||s)&&(o.stopPropagation(),o.type==="pointerdown"&&o.pointerType!=="touch"&&(i&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(o,"x"):r.onTrackClick(o,"x")),s&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(o,"y"):r.onTrackClick(o,"y"))))}},this.drag=function(o){var i,s,l,d,u,p,g,h,m,v,b;if(!(!r.draggedAxis||!r.contentWrapperEl)){var x,S=r.axis[r.draggedAxis].track,I=(s=(i=S.rect)===null||i===void 0?void 0:i[r.axis[r.draggedAxis].sizeAttr])!==null&&s!==void 0?s:0,w=r.axis[r.draggedAxis].scrollbar,T=(d=(l=r.contentWrapperEl)===null||l===void 0?void 0:l[r.axis[r.draggedAxis].scrollSizeAttr])!==null&&d!==void 0?d:0,O=parseInt((p=(u=r.elStyles)===null||u===void 0?void 0:u[r.axis[r.draggedAxis].sizeAttr])!==null&&p!==void 0?p:"0px",10);o.preventDefault(),o.stopPropagation(),r.draggedAxis==="y"?x=o.pageY:x=o.pageX;var j=x-((h=(g=S.rect)===null||g===void 0?void 0:g[r.axis[r.draggedAxis].offsetAttr])!==null&&h!==void 0?h:0)-r.axis[r.draggedAxis].dragOffset;j=r.draggedAxis==="x"&&r.isRtl?((v=(m=S.rect)===null||m===void 0?void 0:m[r.axis[r.draggedAxis].sizeAttr])!==null&&v!==void 0?v:0)-w.size-j:j;var M=j/(I-w.size),F=M*(T-O);r.draggedAxis==="x"&&r.isRtl&&(F=!((b=e.getRtlHelpers())===null||b===void 0)&&b.isScrollingToNegative?-F:F),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=F}},this.onEndDrag=function(o){r.isDragging=!1;var i=Nf(r.el),s=Go(r.el);o.preventDefault(),o.stopPropagation(),Yo(r.el,r.classNames.dragging),r.onStopScrolling(),i.removeEventListener("mousemove",r.drag,!0),i.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=s.setTimeout(function(){i.removeEventListener("click",r.preventClick,!0),i.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(o){o.preventDefault(),o.stopPropagation()},this.el=t,this.options=Qs(Qs({},e.defaultOptions),n),this.classNames=Qs(Qs({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=x1e(this._onMouseMove,64),this.onWindowResize=Kc(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Kc(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Kc(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,r=n==null?void 0:n.firstElementChild;if(!r)return null;document.body.appendChild(n),n.scrollLeft=0;var o=e.getOffset(n),i=e.getOffset(r);n.scrollLeft=-999;var s=e.getOffset(r);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:o.left!==i.left,isScrollingToNegative:i.left!==s.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:s9()}catch{return s9()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),r=Nf(t),o=Go(t);return{top:n.top+(o.pageYOffset||r.documentElement.scrollTop),left:n.left+(o.pageXOffset||r.documentElement.scrollLeft)}},e.prototype.init=function(){Bp&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(Dn(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(Dn(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(Dn(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(Dn(this.classNames.offset)),this.maskEl=this.el.querySelector(Dn(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,Dn(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(Dn(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(Dn(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(Dn(this.classNames.track)).concat(Dn(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(Dn(this.classNames.track)).concat(Dn(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(Dn(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(Dn(this.classNames.scrollbar)))||null,this.options.autoHide||(qo(this.axis.x.scrollbar.el,this.classNames.visible),qo(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,r=Go(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),r.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var o=!1,i=r.ResizeObserver||ResizeObserver;this.resizeObserver=new i(function(){o&&r.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),r.requestAnimationFrame(function(){o=!0})}this.mutationObserver=new r.MutationObserver(function(){r.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=Go(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,r=this.heightAutoObserverEl.offsetHeight<=1,o=this.heightAutoObserverEl.offsetWidth<=1||n>0,i=this.contentWrapperEl.offsetWidth,s=this.elStyles.overflowX,l=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var d=this.contentEl.scrollHeight,u=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=r?"auto":"100%",this.placeholderEl.style.width=o?"".concat(n||u,"px"):"auto",this.placeholderEl.style.height="".concat(d,"px");var p=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&u>n,this.axis.y.isOverflowing=d>p,this.axis.x.isOverflowing=s==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=l==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var g=this.axis.x.isOverflowing?this.scrollbarWidth:0,h=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&u>i-h,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&d>p-g,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,r;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var o=this.contentEl[this.axis[t].scrollSizeAttr],i=(r=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&r!==void 0?r:0,s=i/o,l;return l=Math.max(~~(s*i),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(l=Math.min(l,this.options.scrollbarMaxSize)),l},e.prototype.positionScrollbar=function(t){var n,r,o;t===void 0&&(t="y");var i=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!i.el||!this.elStyles)){var s=this.contentWrapperEl[this.axis[t].scrollSizeAttr],l=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,d=parseInt(this.elStyles[this.axis[t].sizeAttr],10),u=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];u=t==="x"&&this.isRtl&&(!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollOriginAtZero)?-u:u,t==="x"&&this.isRtl&&(u=!((o=e.getRtlHelpers())===null||o===void 0)&&o.isScrollingToNegative?u:-u);var p=u/(s-d),g=~~((l-i.size)*p);g=t==="x"&&this.isRtl?-g+(l-i.size):g,i.el.style.transform=t==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,r=this.axis[t].scrollbar.el;!n||!r||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?r.style.display="block":r.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(qo(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),!this.isDragging&&this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(Yo(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),qo(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?qo(n.scrollbar.el,this.classNames.hover):Yo(n.scrollbar.el,this.classNames.hover)):(Yo(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),Yo(this.axis[t].track.el,this.classNames.hover),Yo(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var r;n===void 0&&(n="y"),this.isDragging=!0;var o=Nf(this.el),i=Go(this.el),s=this.axis[n].scrollbar,l=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=l-(((r=s.rect)===null||r===void 0?void 0:r[this.axis[n].offsetAttr])||0),this.draggedAxis=n,qo(this.el,this.classNames.dragging),o.addEventListener("mousemove",this.drag,!0),o.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(o.addEventListener("click",this.preventClick,!0),o.addEventListener("dblclick",this.preventClick,!0)):(i.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var r=this,o,i,s,l;n===void 0&&(n="y");var d=this.axis[n];if(!(!this.options.clickOnTrack||!d.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var u=Go(this.el);this.axis[n].scrollbar.rect=d.scrollbar.el.getBoundingClientRect();var p=this.axis[n].scrollbar,g=(i=(o=p.rect)===null||o===void 0?void 0:o[this.axis[n].offsetAttr])!==null&&i!==void 0?i:0,h=parseInt((l=(s=this.elStyles)===null||s===void 0?void 0:s[this.axis[n].sizeAttr])!==null&&l!==void 0?l:"0px",10),m=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],v=n==="y"?this.mouseY-g:this.mouseX-g,b=v<0?-1:1,x=b===-1?m-h:m+h,S=40,I=function(){r.contentWrapperEl&&(b===-1?m>x&&(m-=S,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=m,u.requestAnimationFrame(I)):m<x&&(m+=S,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=m,u.requestAnimationFrame(I)))};I()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=Go(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var r=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(o){return r.call(o,n)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=S1e,e.helpers=w1e,e}(),Jn=function(){return Jn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Jn.apply(this,arguments)};function A1e(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var wS=B.forwardRef(function(e,t){var n=e.children,r=e.scrollableNodeProps,o=r===void 0?{}:r,i=A1e(e,["children","scrollableNodeProps"]),s=B.useRef(),l=B.useRef(),d=B.useRef(),u={},p={};Object.keys(i).forEach(function(m){Object.prototype.hasOwnProperty.call(Pc.defaultOptions,m)?u[m]=i[m]:p[m]=i[m]});var g=Jn(Jn({},Pc.defaultOptions.classNames),u.classNames),h=Jn(Jn({},o),{className:"".concat(g.contentWrapper).concat(o.className?" ".concat(o.className):""),tabIndex:0,role:"region","aria-label":u.ariaLabel||Pc.defaultOptions.ariaLabel});return B.useEffect(function(){var m;return l.current=h.ref?h.ref.current:l.current,s.current&&(m=new Pc(s.current,Jn(Jn(Jn({},u),l.current&&{scrollableNode:l.current}),d.current&&{contentNode:d.current})),typeof t=="function"?t(m):t&&(t.current=m)),function(){m==null||m.unMount(),m=null,typeof t=="function"&&t(null)}},[]),B.createElement("div",Jn({"data-simplebar":"init",ref:s},p),B.createElement("div",{className:g.wrapper},B.createElement("div",{className:g.heightAutoObserverWrapperEl},B.createElement("div",{className:g.heightAutoObserverEl})),B.createElement("div",{className:g.mask},B.createElement("div",{className:g.offset},typeof n=="function"?n({scrollableNodeRef:l,scrollableNodeProps:Jn(Jn({},h),{ref:l}),contentNodeRef:d,contentNodeProps:{className:g.contentEl,ref:d}}):B.createElement("div",Jn({},h),B.createElement("div",{className:g.contentEl},n)))),B.createElement("div",{className:g.placeholder})),B.createElement("div",{className:"".concat(g.track," simplebar-horizontal")},B.createElement("div",{className:g.scrollbar})),B.createElement("div",{className:"".concat(g.track," simplebar-vertical")},B.createElement("div",{className:g.scrollbar})))});wS.displayName="SimpleBar";const E1e=ge(qle)({flexGrow:1,height:"100%",overflow:"hidden"}),T1e=ge(wS)(({theme:e})=>({maxHeight:"100%","& .simplebar-scrollbar":{"&:before":{backgroundColor:nt(e.palette.grey[500],.48)},"&.simplebar-visible:before":{opacity:1}},"& .simplebar-track.simplebar-vertical":{width:10},"& .simplebar-track.simplebar-horizontal .simplebar-scrollbar":{height:6},"& .simplebar-mask":{zIndex:"inherit"}}));function SS({children:e,sx:t,...n}){return f.jsxs(f.Fragment,{children:[f.jsx(E1e,{children:f.jsx(T1e,{timeout:500,clickOnTrack:!1,sx:t,...n,children:e})}),f.jsx(Yle,{children:f.jsx(E.Box,{sx:{overflowX:"auto",...t},...n,children:e})})]})}function AS(e){const t=E.useTheme(),n=$r(e,{flexShrink:{md:0},zIndex:1200}),{downLg:r}=ir(),{open:o,handleDrawerToggle:i,width:s}=as(),l=r?E.Drawer:Iae,d=document.body,u=P.useMemo(()=>r?{container:d,variant:"temporary",onClose:i,ModalProps:{keepMounted:!0},sx:{display:{xs:"block",lg:"none"},"& .MuiDrawer-paper":{boxSizing:"border-box",width:s,borderRight:`1px solid ${t.palette.divider}`,backgroundImage:"none",boxShadow:"inherit",overflow:"auto"}}}:{variant:"permanent"},[r,d,i,s,t.palette.divider]);return f.jsx(E.Box,{component:"nav",sx:n,"aria-label":"mailbox folders",children:f.jsxs(l,{...u,open:o,children:[f.jsx(gw,{}),f.jsx(SS,{sx:{"& .simplebar-content":{display:"flex",flexDirection:"column"}},children:e.children})]})})}function Np(e){const{name:t,version:n,copy:r="&copy; Applica Software Guru for"}=e;return f.jsx(E.Stack,{direction:"row",justifyContent:"space-between",alignItems:"flex-end",flexGrow:1,height:"auto",sx:{pt:1},children:f.jsxs(E.Typography,{variant:"caption",children:[f.jsx("span",{dangerouslySetInnerHTML:{__html:r||""}})," ",t," - ",n]})})}const ES=ge(E.AppBar,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=jn();return{zIndex:e.zIndex.drawer+1,transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),...!t&&{width:`calc(100% - ${e.spacing(7.5)})`},...t&&{marginLeft:n,width:`calc(100% - ${n}px)`,transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen})}}}),TS=P.forwardRef(function(t,n){const r=$r(t,{color:"text.primary"},{defaults:!0});return f.jsx(E.Button,{ref:n,...t,color:"secondary",variant:"text",sx:r})}),I1e=P.forwardRef(function(t,n){const r=$r(t,{color:"text.primary"},{defaults:!0});return f.jsx(ba,{ref:n,...t,color:"secondary",variant:"text",sx:r})}),Ra=P.forwardRef(function(t,n){const r=$r(t,{color:"text.primary",borderStyle:"none",padding:1,fontSize:"1.5rem",width:36,height:36},{defaults:!0});return f.jsx(E.ToggleButton,{ref:n,...t,color:"secondary",sx:r})});function IS({onClick:e=void 0}){const{open:t,anchorEl:n,handleClose:r,handleToggle:o}=Ta(),[i,s]=te.useLocaleState(),l=te.useLocales();if(l.length===0)return null;function d(u){if(e){e(u,r);return}s(u),r()}return f.jsxs(f.Fragment,{children:[f.jsx(TS,{value:"locale",onClick:o,sx:{minWidth:"auto"},children:f.jsxs(E.Stack,{direction:"row",spacing:.5,children:[f.jsx(E.Typography,{variant:"body1",children:i.toUpperCase()}),t?f.jsx(He.CaretUpOutlined,{}):f.jsx(He.CaretDownOutlined,{})]})}),f.jsx(E.Menu,{id:"menu-appbar",anchorEl:n,keepMounted:!0,open:t,onClose:r,children:l.map((u,p)=>f.jsx(E.MenuItem,{onClick:()=>d(u.locale),children:u.name},p))})]})}const O1e={ml:{xs:0,lg:-2}};function OS(){const{open:e,handleDrawerToggle:t}=as();return f.jsx(Ra,{value:"drawer","aria-label":"open drawer",sx:O1e,onChange:t,selected:e,children:e?f.jsx(He.MenuFoldOutlined,{}):f.jsx(He.MenuUnfoldOutlined,{})})}function PS(e){const t=P.useRef(),n=E.useTheme(),{downLg:r,horizontal:o}=ir(),{open:i,width:s}=as(),l=r?E.AppBar:ES,u={position:"fixed",color:"inherit",elevation:0,sx:$r(e,{borderBottom:`1px solid ${n.palette.divider}`,zIndex:1200,width:o?"100%":i?`calc(100% - ${s}px)`:{xs:"100%",lg:"calc(100% - 60px)"}})};return r||Q.extend(u,{open:i}),f.jsx(l,{ref:t,...u,children:f.jsxs(E.Toolbar,{sx:{"& > *":{marginX:n.spacing(.325)}},children:[!o&&f.jsx(OS,{}),e.children]})})}function P1e(e){const t=E.useTheme(),{notification:n,onClick:r,selected:o,divider:i}=e,{resource:s}=L3(),l=te.useNotify(),d=te.useRedirect(),[u]=te.useUpdate(s,{id:n==null?void 0:n.id,data:{...n,readed:Br().toISOString()}},{onSuccess:()=>{n!=null&&n.resource?n!=null&&n.resource.startsWith("/")?(d(n==null?void 0:n.resource),r()):(r(),document.location.href=n==null?void 0:n.resource):r()},onFailure:()=>{l("resources.notifications.messages.readed.error","warning")}}),p=P.useCallback(()=>u(),[u]),[g]=te.useLocaleState(),h=P.useMemo(()=>Br(n.created).locale(g).fromNow(),[n,g]);return f.jsx(E.ListItem,{disablePadding:!0,divider:i,children:f.jsxs(E.ListItemButton,{selected:o,onClick:p,children:[f.jsx(E.ListItemAvatar,{children:f.jsx(E.Avatar,{sx:{color:"primary.main",bgcolor:"primary.lighter"},children:f.jsx(He.MessageOutlined,{})})}),f.jsx(E.ListItemText,{sx:{overflow:"hidden",wordBreak:"break-word",width:"90%"},primary:n.title,secondary:n.content}),f.jsx(E.Box,{flexGrow:1,flexShrink:1,minWidth:t.spacing(2)}),f.jsx(E.ListItemText,{sx:{overflow:"hidden",whiteSpace:"pre-wrap",wordBreak:"break-word"},primary:h,primaryTypographyProps:{variant:"caption"}})]})})}const j1e={width:36,height:36,fontSize:"1rem"},R1e={mt:"6px",ml:1,top:"auto",right:"auto",alignSelf:"flex-start",transform:"none"};function jS(){const{enable:e}=L3();return e?f.jsx(M1e,{}):null}function M1e(){const e=te.useTranslate(),t=E.useTheme(),n=te.useRefresh(),r=te.useNotify(),{downMd:o}=ir(),{resource:i}=L3(),[s,l]=P.useState([]),{data:d,isLoading:u}=te.useGetList(i,{pagination:{page:1,perPage:25},sort:{field:"created",order:"DESC"},filter:{readed:!1}}),p=s.filter(I=>I.readed===null).length,{open:g,anchorEl:h,handleClose:m,handleToggle:v}=Ta();P.useEffect(()=>{!u&&d&&l(d??[])},[d,u]);const b=s.filter(I=>!I.readed).map(I=>I.id),[x]=te.useUpdateMany(i,{ids:b,data:{readed:Br().toISOString()}},{onSuccess:()=>{n(),r("resources.notifications.messages.readed.done")},onError:()=>r("ra.notification.readed_error")}),S=P.useCallback(()=>{x()},[x]);return f.jsxs(f.Fragment,{children:[f.jsx(Ra,{value:"notifications",selected:g,onChange:v,children:f.jsx(E.Badge,{badgeContent:p,color:"primary",children:f.jsx(He.BellOutlined,{})})}),f.jsx(E.Popper,{placement:o?"bottom":"bottom-end",open:g,anchorEl:h,role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:I})=>f.jsx(ci,{type:"grow",position:o?"top":"top-right",in:g,...I,children:f.jsx(E.Paper,{sx:{marginTop:1,boxShadow:t.customShadows.z1,width:"100%",minWidth:285,maxWidth:420,[t.breakpoints.down("md")]:{maxWidth:285}},children:f.jsx(E.ClickAwayListener,{onClickAway:m,children:f.jsxs(Nn,{title:e("ra.notification.title"),elevation:0,border:!1,content:!1,secondary:f.jsx(f.Fragment,{children:p>0&&f.jsx(E.Tooltip,{title:e("ra.notification.mark-as-read"),onClick:S,children:f.jsx(ba,{color:"success",size:"small",children:f.jsx(He.CheckCircleOutlined,{style:{fontSize:"1.15rem"}})})})}),children:[s.length===0?f.jsx(f1,{hasCreate:!1,title:f.jsx(E.Typography,{variant:"h5",children:e("ra.notification.empty")}),sx:{"& .ApplicaEmpty-icon":{fontSize:"60px"},"& .ApplicaEmpty-toolbar":{display:"none"}}}):f.jsxs(f.Fragment,{children:[f.jsx(E.List,{component:"nav",sx:{p:0,"& .MuiListItemButton-root":{py:.5,"&.Mui-selected":{bgcolor:"grey.50",color:"text.primary"},"& .MuiAvatar-root":j1e,"& .MuiListItemSecondaryAction-root":{...R1e,position:"relative"}},maxHeight:"calc(100vh - 240px)",overflow:"auto"},children:s.map((w,T)=>f.jsx(P1e,{selected:p>0,notification:w,onClick:m,divider:T<s.length-1},w.id))}),f.jsx(E.ListItemButton,{sx:{textAlign:"center",py:"12px !important"},to:`/${i}`,LinkComponent:ut.Link,onClick:m,children:f.jsx(E.ListItemText,{primary:f.jsx(E.Typography,{variant:"h6",color:"primary",children:e("ra.notification.view_all")})})})]}),f.jsx(E.Divider,{})]})})})})})]})}function RS(){const[e,t]=P.useState(!1),n=P.useCallback(()=>t(!1),[t]),r=P.useCallback(()=>t(!0),[t]),o=te.useTranslate();return f.jsxs(f.Fragment,{children:[f.jsxs(E.ListItemButton,{onClick:r,children:[f.jsx(E.ListItemIcon,{children:f.jsx(Vt.Key,{})}),f.jsx(E.ListItemText,{primary:o("ra.auth.change_password")})]}),f.jsx(E.Dialog,{open:e,onClose:()=>t(!1),maxWidth:"xs",fullWidth:!0,children:f.jsx(Ep,{onSuccess:n})})]})}function MS(){const e=te.useLogout(),t=te.useTranslate();return f.jsx(f.Fragment,{children:f.jsxs(E.ListItemButton,{onClick:e,children:[f.jsx(E.ListItemIcon,{children:f.jsx(Vt.LogoutOutlined,{})}),f.jsx(E.ListItemText,{primary:t("ra.auth.logout")})]})})}function kS(){const e=te.useTranslate(),t=te.useAuthProvider(),n=P.useCallback(()=>t.stopImpersonate().then(()=>document.location.href="/"),[t]),[r,o]=P.useState(!1);return P.useEffect(()=>{if(!t.isImpersonating){console.warn("The authProvider does not support the isImpersonating feature",t);return}t.isImpersonating().then(i=>o(i))},[t,o]),r?f.jsx(f.Fragment,{children:f.jsxs(E.ListItemButton,{onClick:n,children:[f.jsx(E.ListItemIcon,{children:f.jsx(Vt.LogoutOutlined,{})}),f.jsx(E.ListItemText,{primary:e("ra.auth.stop_impersonate")})]})}):null}function _S(e){var b;const{roles:t}=e,n=E.useTheme(),r=te.useDataProvider(),{identity:o}=te.useGetIdentity(),i=o!==void 0&&o.image&&o.image!==null&&o.image!=="",[s,l]=P.useState(null),{open:d,anchorEl:u,handleToggle:p,handleClose:g}=Ta(),h=te.useLogout(),m=P.useCallback(()=>{h()},[h]);P.useEffect(()=>{i&&r.getFile("/profile/me/image").then(x=>l(x))},[r,i]);const v=P.useMemo(()=>{var x;return P.isValidElement(t)?t:t?f.jsx(f.Fragment,{children:t}):(x=o==null?void 0:o.roles)==null?void 0:x.map(S=>S.name.replace("ROLE_","")).join(",")},[t,o]);return f.jsxs(f.Fragment,{children:[f.jsx(Ra,{sx:{p:.25,width:"auto"},onClick:p,value:"profile",selected:d,children:f.jsxs(E.Stack,{direction:"row",spacing:2,alignItems:"center",sx:{p:.5},children:[f.jsx(du,{alt:(b=o==null?void 0:o.name)==null?void 0:b.toUpperCase(),src:s,size:"xs"}),f.jsx(E.Typography,{variant:"subtitle1",children:o==null?void 0:o.name})]})}),f.jsx(v2,{placement:"bottom-end",open:d,anchorEl:u,role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:x})=>f.jsx(ci,{type:"grow",position:"top-right",in:d,...x,children:f.jsx(E.Paper,{sx:{boxShadow:n.customShadows.z1,width:290,minWidth:240,maxWidth:290,[n.breakpoints.down("md")]:{maxWidth:250},marginTop:1},children:f.jsx(E.ClickAwayListener,{onClickAway:g,children:f.jsxs(Nn,{elevation:0,border:!1,content:!1,children:[f.jsx(E.CardContent,{sx:{px:2.5,pt:3},children:f.jsxs(E.Grid,{container:!0,justifyContent:"space-between",alignItems:"center",children:[f.jsx(E.Grid,{item:!0,children:f.jsxs(E.Stack,{direction:"row",spacing:1.25,alignItems:"center",children:[f.jsx(du,{alt:"profile user",src:s,sx:{width:32,height:32}}),f.jsxs(E.Stack,{children:[f.jsx(E.Typography,{variant:"h6",children:o==null?void 0:o.name}),f.jsx(E.Typography,{variant:"body2",color:"textSecondary",children:v})]})]})}),f.jsx(E.Grid,{item:!0,children:f.jsx(E.Tooltip,{title:"Logout",children:f.jsx(ba,{size:"large",sx:{color:"text.primary"},onClick:m,children:f.jsx(He.LogoutOutlined,{})})})})]})}),f.jsx(E.Grid,{container:!0,children:f.jsx(E.Grid,{item:!0,xs:12,children:f.jsxs(E.List,{component:"nav",sx:{p:0,"& .MuiListItemIcon-root":{minWidth:32}},children:[f.jsx(RS,{}),f.jsx(MS,{}),f.jsx(kS,{})]})})})]})})})})})]})}function DS(e){const t=wt(),{downMd:n}=ir(),{open:r,anchorEl:o,handleToggle:i,handleClose:s}=Ta();return n?f.jsxs(f.Fragment,{children:[f.jsx(Ra,{value:"drawer","aria-label":"open more menu","aria-controls":r?"menu-list-grow":void 0,"aria-haspopup":"true",onClick:i,selected:r,children:f.jsx(He.MoreOutlined,{})}),f.jsx(E.Popper,{placement:"bottom-end",open:r,anchorEl:o,role:void 0,transition:!0,disablePortal:!0,style:{width:"100%"},popperOptions:{modifiers:[{name:"offset",options:{offset:[0,9]}}]},children:({TransitionProps:l})=>f.jsx(ci,{type:"fade",in:r,...l,children:f.jsx(E.Paper,{sx:{boxShadow:t.customShadows.z1},children:f.jsx(E.ClickAwayListener,{onClickAway:s,children:f.jsx(E.AppBar,{color:"inherit",children:f.jsx(E.Toolbar,{children:e.children})})})})})})]}):f.jsx(f.Fragment,{children:e.children})}function FS(e){return f.jsx(E.Box,{...e,flex:1})}function LS(e){const t=E.useTheme(),n=E.useScrollTrigger({disableHysteresis:!0,threshold:0}),{container:r}=jn();return t.shadows[4]=t.customShadows.z1,f.jsx(E.AppBar,{elevation:n?4:0,sx:{top:60,bgcolor:t.palette.background.paper,width:"100%",height:62,justifyContent:"center",borderTop:`1px solid ${t.palette.divider}`,borderBottom:`1px solid ${t.palette.divider}`,zIndex:1098,color:t.palette.grey[500]},children:f.jsx(E.Container,{maxWidth:r?"xl":!1,children:f.jsx(E.Box,{sx:{display:"flex",alignItems:"center"},children:e.children})})})}function BS(e){const{horizontal:t}=ir();return t?f.jsx(LS,{children:e.children}):f.jsx(AS,{children:e.children})}function Ol({item:e,level:t}){const n=wt(),{horizontal:r,downLg:o}=ir(),{drawerOpen:i,openItem:s,activeItem:l,openDrawer:d}=Vl();let u="_self";e.target&&(u="_blank");const p=(e==null?void 0:e.external)!==!1?{component:P.forwardRef((S,I)=>f.jsx(ut.Link,{...S,to:e.url,target:u,ref:I}))}:{component:"a",href:e.url,target:u},g=e.icon,h=e.icon?f.jsx(g,{style:{fontSize:i?"1rem":"1.25rem"}}):!1,m=s.findIndex(S=>S===e.id)>-1,{pathname:v}=ut.useLocation();P.useEffect(()=>{v.endsWith(e.url)&&l([e.id])},[v]);const b=n.palette.mode==="dark"?"grey.400":"text.primary",x=n.palette.mode==="dark"&&i?"text.primary":"primary.main";return f.jsx(f.Fragment,{children:r?f.jsxs(E.ListItemButton,{...p,disabled:e.disabled,selected:m,sx:{zIndex:1201,...i&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{bgcolor:"transparent",color:x,"&:hover":{color:x,bgcolor:"transparent"}}},...!i&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[h?f.jsx(E.ListItemIcon,{sx:{minWidth:36,...!i&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!i&&m&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:h}):null,!h&&f.jsx(E.ListItemIcon,{sx:{color:m?"primary.main":"secondary.main",...!i&&{borderRadius:1.5,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!i&&m&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:f.jsx(l2,{size:4,color:m?"primary":"secondary"})}),f.jsx(E.ListItemText,{primary:f.jsx(E.Typography,{variant:"h6",color:"inherit",children:e.title})}),(i||!i&&t!==1)&&e.chip?f.jsx(E.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar?f.jsx(E.Avatar,{children:e.chip.avatar}):null}):null]}):f.jsxs(E.ListItemButton,{...p,disabled:e.disabled,selected:m,sx:{zIndex:1201,pl:i?`${t*28}px`:1.5,py:!i&&t===1?1.25:1,...i&&{"&:hover":{bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter"},"&.Mui-selected":{bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter",borderRight:`2px solid ${n.palette.primary.main}`,color:x,"&:hover":{color:x,bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter"}}},...!i&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},...o&&{onClick:()=>d(!1)},children:[h?f.jsx(E.ListItemIcon,{sx:{minWidth:28,color:m?x:b,...!i&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:n.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!i&&m&&{bgcolor:n.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:n.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:h}):null,i||!i&&t!==1?f.jsx(E.ListItemText,{primary:f.jsx(E.Typography,{variant:"h6",sx:{color:m?x:b},children:e.title})}):null,(i||!i&&t!==1)&&e.chip?f.jsx(E.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar?f.jsx(E.Avatar,{children:e.chip.avatar}):null}):null]})})}const a9=ge(E.Popper)(({theme:e})=>({overflow:"visible",zIndex:1202,minWidth:180,"&:before":{content:'""',display:"block",position:"absolute",top:38,left:-5,width:10,height:10,backgroundColor:e.palette.background.paper,transform:"translateY(-50%) rotate(45deg)",zIndex:120,borderLeft:`1px solid ${e.palette.grey.A800}`,borderBottom:`1px solid ${e.palette.grey.A800}`}}));function Pl({menu:e,level:t,parentId:n,setSelectedItems:r,selectedItems:o,setSelectedLevel:i,selectedLevel:s}){var W;const l=wt(),{activeItem:d}=Vl(),{horizontal:u}=ir(),{drawerOpen:p}=Vl(),g=ut.useNavigate(),[h,m]=P.useState(!1),[v,b]=P.useState(null),[x,S]=P.useState(null);function I(se){S(null),i(t),p?(m(!h),b(v?null:e.id),r(v?"":e.id),e.url&&g(`${e.url}`)):S(se==null?void 0:se.currentTarget)}function w(){p||e.url&&g(`${e.url}`)}function T(se){S(se==null?void 0:se.currentTarget)}function O(){m(!1),b(null),S(null)}P.useMemo(()=>{v===o?t===1&&m(!0):t===s&&(m(!1),b(null))},[o,t,v,s]);const{pathname:j}=ut.useLocation(),M=!!x;function F(se,K){se.forEach($=>{$.url===j&&(m(!0),b(K))})}P.useEffect(()=>{m(!1),b(null),M&&S(null),e.children&&e.children.forEach(se=>{var K;(K=se.children)!=null&&K.length&&F(se.children,e.id),se.url===j&&(b(e.id),m(!0)),j.includes(se.url)&&(b(e.id),m(!0))})},[j,e.children]),P.useEffect(()=>{e.url===j&&v!==e.id&&(d([e.id]),b(e.id),S(null),m(!0))},[j,e,v,d]);const N=(W=e.children)==null?void 0:W.map(se=>{switch(se.type){case"collapse":return f.jsx(Pl,{setSelectedItems:r,setSelectedLevel:i,selectedLevel:s,selectedItems:o,menu:se,level:t+1,parentId:n},se.id);case"item":return f.jsx(Ol,{item:se,level:t+1},se.id);default:return f.jsx(E.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Collapse or Item"},se.id)}}),k=v===e.id,_=t===1?f.jsx(He.BorderOutlined,{style:{fontSize:"1rem"}}):!1,H=e.icon,U=e.icon?f.jsx(H,{style:{fontSize:p?"1rem":"1.25rem"}}):_,G=l.palette.mode==="dark"?"grey.400":"text.primary",Y=l.palette.mode==="dark"&&p?l.palette.text.primary:l.palette.primary.main,V=M?`collapse-pop-${e.id}`:void 0,Z={display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"};return f.jsx(f.Fragment,{children:u?f.jsx(f.Fragment,{children:f.jsxs(E.ListItemButton,{id:`boundary-${V}`,disableRipple:!0,selected:k,onMouseEnter:T,onMouseLeave:O,onClick:T,"aria-describedby":V,sx:{"&.Mui-selected":{bgcolor:"transparent"}},children:[f.jsxs(E.Box,{onClick:w,sx:Z,children:[U?f.jsx(E.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,color:l.palette.secondary.dark},children:U}):null,!U&&t!==1&&f.jsx(E.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,bgcolor:"transparent","&:hover":{bgcolor:"transparent"}},children:f.jsx(l2,{size:4,color:k?"primary":"secondary"})}),f.jsx(E.ListItemText,{primary:f.jsx(E.Typography,{variant:"body1",color:"inherit",sx:{my:"auto"},children:e.title})}),M?f.jsx(He.RightOutlined,{}):f.jsx(He.DownOutlined,{})]}),x?f.jsx(a9,{id:V,open:M,anchorEl:x,placement:"right-start",style:{zIndex:2001},modifiers:[{name:"offset",options:{offset:[-10,0]}}],children:({TransitionProps:se})=>f.jsx(ci,{in:M,...se,children:f.jsx(E.Paper,{sx:{overflow:"hidden",mt:1.5,py:.5,boxShadow:l.shadows[8],backgroundImage:"none"},children:f.jsx(E.ClickAwayListener,{onClickAway:O,children:f.jsx(E.Box,{children:N})})})})}):null]})}):f.jsxs(f.Fragment,{children:[f.jsxs(E.ListItemButton,{disableRipple:!0,selected:v===e.id,...!p&&{onMouseEnter:I,onMouseLeave:O},onClick:I,sx:{pl:p?`${t*28}px`:1.5,py:!p&&t===1?1.25:1,...p&&{"&:hover":{bgcolor:l.palette.mode==="dark"?"divider":"primary.lighter"},"&.Mui-selected":{bgcolor:"transparent",color:Y,"&:hover":{color:Y,bgcolor:l.palette.mode==="dark"?"divider":"transparent"}}},...!p&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[U?f.jsx(E.ListItemIcon,{onClick:w,sx:{minWidth:28,color:v===e.id?"primary.main":G,...!p&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:l.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!p&&v===e.id&&{bgcolor:l.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:l.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:U}):null,p||!p&&t!==1?f.jsx(E.ListItemText,{primary:f.jsx(E.Typography,{variant:"h6",color:v===e.id?"primary":G,children:e.title}),secondary:e.caption?f.jsx(E.Typography,{variant:"caption",color:"secondary",children:e.caption}):null}):null,p||!p&&t!==1?M||h?f.jsx(He.UpOutlined,{style:{fontSize:"0.625rem",marginLeft:1,color:l.palette.primary.main}}):f.jsx(He.DownOutlined,{style:{fontSize:"0.625rem",marginLeft:1}}):null,!p&&f.jsx(a9,{open:M,anchorEl:x,placement:"right-start",style:{zIndex:2001},popperOptions:{modifiers:[{name:"offset",options:{offset:[-12,1]}}]},children:({TransitionProps:se})=>f.jsx(ci,{in:M,...se,children:f.jsx(E.Paper,{sx:{overflow:"hidden",mt:1.5,boxShadow:l.customShadows.z1,backgroundImage:"none",border:`1px solid ${l.palette.divider}`},children:f.jsx(E.ClickAwayListener,{onClickAway:O,children:f.jsx(E.Box,{children:N})})})})})]}),p?f.jsx(E.Collapse,{in:h,timeout:"auto",unmountOnExit:!0,children:f.jsx(E.List,{sx:{p:0},children:N})}):null]})})}const k1e=ge(E.Popper)(({theme:e})=>({overflow:"visible",zIndex:1202,minWidth:180,"&:before":{content:'""',display:"block",position:"absolute",top:5,left:32,width:12,height:12,transform:"translateY(-50%) rotate(45deg)",zIndex:120,borderWidth:"6px",borderStyle:"solid",borderColor:`${e.palette.background.paper} transparent transparent ${e.palette.background.paper}`}}));function NS({item:e,lastItem:t,remItems:n,lastItemId:r,setSelectedItems:o,selectedItems:i,setSelectedLevel:s,selectedLevel:l}){var V,Z;const d=wt(),u=z.useTranslate(),{pathname:p}={pathname:""},{horizontal:g,downLg:h}=ir(),m=Vl(),{drawerOpen:v,selectedID:b,activeID:x}=m,[S,I]=P.useState(null),[w,T]=P.useState(e),O=!!S;P.useEffect(()=>{if(t)if(e.id===r){const W={...e},se=n.map(K=>K.elements);W.children=se.flat(1),T(W)}else T(e)},[e,t,h]);function j(W,se){W.forEach(K=>{var $;($=K.children)!=null&&$.length&&j(K.children,w.id),K.url===p&&x(se)})}function M(W){(W.children?W.children:[]).forEach(K=>{var $;($=K.children)!=null&&$.length&&j(K.children,w.id),K.url===p&&x(w.id)})}P.useEffect(()=>{M(w),O&&I(null)},[p,w]);function F(W){O||I(W==null?void 0:W.currentTarget)}function N(){I(null)}const k=w==null?void 0:w.icon,_=w!=null&&w.icon?f.jsx(k,{style:{fontSize:20,stroke:"1.5",color:b===w.id?d.palette.primary.main:d.palette.secondary.dark}}):null,H=(V=e.children)==null?void 0:V.map(W=>{switch(W.type){case"collapse":return f.jsx(Pl,{menu:W,setSelectedItems:o,setSelectedLevel:s,selectedLevel:l,selectedItems:i,level:1,parentId:w.id},W.id);case"item":return f.jsx(Ol,{item:W,level:1},W.id);default:return f.jsx(E.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},W.id)}}),U=n.map((W,se)=>{var K;return f.jsxs(P.Fragment,{children:[W.title?f.jsx(E.Typography,{variant:"caption",sx:{pl:2},children:W.title}):null,(K=W==null?void 0:W.elements)==null?void 0:K.map($=>{switch($.type){case"collapse":return f.jsx(Pl,{menu:$,level:1,parentId:w.id,setSelectedItems:o,setSelectedLevel:s,selectedLevel:l,selectedItems:i},$.id);case"item":return f.jsx(Ol,{item:$,level:1},$.id);default:return f.jsx(E.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},$.id)}})]},se)}),G=(Z=w.children)==null?void 0:Z.map(W=>{switch(W.type){case"collapse":return f.jsx(Pl,{menu:W,level:1,parentId:w.id,setSelectedItems:o,setSelectedLevel:s,selectedLevel:l,selectedItems:i},W.id);case"item":return f.jsx(Ol,{item:W,level:1},W.id);default:return f.jsx(E.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},W.id)}}),Y=O?`group-pop-${e.id}`:void 0;return f.jsx(f.Fragment,{children:g?f.jsx(E.List,{children:f.jsxs(E.ListItemButton,{selected:b===w.id,sx:{p:1,my:.5,mr:1,display:"flex",alignItems:"center",backgroundColor:"inherit","&.Mui-selected":{bgcolor:"transparent"}},onMouseEnter:F,onClick:F,onMouseLeave:N,"aria-describedby":Y,children:[_?f.jsx(E.ListItemIcon,{sx:{minWidth:28},children:w.id===r?f.jsx(He.DownOutlined,{style:{fontSize:20,stroke:"1.5"}}):_}):null,f.jsx(E.ListItemText,{sx:{mr:1},primary:f.jsx(E.Typography,{variant:"body1",color:b===w.id?d.palette.primary.main:d.palette.secondary.dark,children:w.id===r?u("ra.actions.more"):w.title})}),O?f.jsx(He.DownOutlined,{style:{fontSize:16,stroke:"1.5"}}):f.jsx(He.RightOutlined,{style:{fontSize:16,stroke:"1.5"}}),S?f.jsx(k1e,{id:Y,open:O,anchorEl:S,placement:"bottom-start",style:{zIndex:2001},children:({TransitionProps:W})=>f.jsx(ci,{in:O,...W,children:f.jsx(E.Paper,{sx:{mt:.5,py:1.25,boxShadow:d.shadows[8],backgroundImage:"none"},children:f.jsx(E.ClickAwayListener,{onClickAway:N,children:f.jsx(E.Box,{sx:{maxHeight:"calc(100vh - 170px)",overflowY:"auto","&::-webkit-scrollbar":{opacity:0,width:4,"&:hover":{opacity:.7}},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:d.palette.divider,borderRadius:4}},children:w.id!==r?G:U})})})})}):null]})}):f.jsx(E.List,{subheader:e.title&&v?f.jsxs(E.Box,{sx:{pl:3,mb:1.5},children:[f.jsx(E.Typography,{variant:"subtitle2",color:d.palette.mode==="dark"?"textSecondary":"text.secondary",children:e.title}),e.caption?f.jsx(E.Typography,{variant:"caption",color:"secondary",children:e.caption}):null]}):null,sx:{mt:v&&e.title?1.5:0,py:0,zIndex:0},children:H})})}function $S(e){const{horizontal:t}=ir(),{open:n}=as(),r=$r(e,{pt:n?t?0:2:0,"& > ul:first-of-type":{mt:0},display:t?{xs:"block",lg:"flex"}:"block"});return f.jsx(E.Box,{sx:r,children:e.children})}function VS(e){const{horizontal:t}=ir(),{menu:n,isLoading:r}=tp(),[o,i]=P.useState(""),[s,l]=P.useState(0),{horizontalMaxItems:d}=jn(),u=t?d:void 0;let p=r?0:(n??[]).length-1,g=[],h;return!r&&u&&u<(n??[]).length&&(h=(n??[])[u-1].id,p=u-1,g=(n??[]).slice(u-1,(n??[]).length).map(m=>({title:m.title,elements:m.children,icon:m.icon}))),f.jsx($S,{...e,children:!r&&Q.map((n??[]).slice(0,p+1),m=>{const{type:v}=m;switch(v){case"group":return f.jsx(NS,{item:m,setSelectedItems:i,setSelectedLevel:l,selectedLevel:s,selectedItems:o,lastItem:u,remItems:g,lastItemId:h},m.id);default:return f.jsx(E.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Navigation Group"},m.id)}})})}function _1e({open:e,anchorEl:t,handleClose:n,theme:r,mode:o,toggleThemeMode:i}){const s=te.useTranslate();return f.jsx(v2,{placement:"bottom-end",open:e,anchorEl:t,role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:l})=>f.jsx(ci,{type:"grow",position:"top-right",in:e,...l,children:f.jsx(E.Paper,{sx:{boxShadow:r.customShadows.z1,minWidth:200,[r.breakpoints.down("md")]:{maxWidth:250},marginTop:1},children:f.jsx(E.ClickAwayListener,{onClickAway:n,children:f.jsx(Nn,{elevation:0,border:!1,content:!1,children:f.jsxs(E.List,{children:[f.jsxs(E.ListItemButton,{selected:o==="light",onClick:()=>i("light"),children:[f.jsx(He.SunOutlined,{}),f.jsx(E.Typography,{variant:"subtitle1",ml:1,children:s("ra.preferences.theme.light")})]}),f.jsxs(E.ListItemButton,{selected:o==="dark",onClick:()=>i("dark"),children:[f.jsx(He.MoonOutlined,{}),f.jsx(E.Typography,{variant:"subtitle1",ml:1,children:s("ra.preferences.theme.dark")})]}),f.jsxs(E.ListItemButton,{selected:o==="auto",onClick:()=>i("auto"),children:[f.jsx(Vt.Brightness6,{}),f.jsx(E.Typography,{variant:"subtitle1",ml:1,textTransform:"none",children:s("ra.preferences.theme.auto")})]})]})})})})})})}function zS(){const e=E.useTheme(),{mode:t,setMode:n}=jn(),{open:r,anchorEl:o,handleToggle:i,handleClose:s}=Ta(),l=P.useCallback(u=>{n(u)},[n]),d=P.useCallback(()=>{switch(t){case"light":return f.jsx(He.SunOutlined,{});case"dark":return f.jsx(He.MoonOutlined,{});default:return f.jsx(Vt.Brightness6,{})}},[t]);return f.jsxs(Ra,{value:"theme-mode","aria-label":"toggle mode",onClick:i,selected:!1,children:[f.jsx(d,{}),r?f.jsx(_1e,{open:r,anchorEl:o,handleClose:s,theme:e,mode:t,toggleThemeMode:l}):null]})}const WS=P.forwardRef((e,t)=>{const n=$r(e,{display:"flex",width:"100%"});return f.jsx(E.Box,{ref:t,...e,sx:n,children:e.children})});function $p({source:e="paper"}){const{mode:t}=jn(),n=E.useTheme();return P.useEffect(()=>{var o;const r=Q.get(n.palette.background,e);(o=document.querySelector('meta[name="theme-color"]'))==null||o.setAttribute("content",r)},[t,n,e]),null}const US=uw(function(t){const{name:n,version:r,enableThemeToggler:o,enableNotification:i,enableLocaleSwitcher:s}=t,{isLoading:l,navigation:d,breadcrumbs:u}=CC();return f.jsxs(WS,{children:[f.jsxs(PS,{children:[f.jsx(FS,{}),s?f.jsx(IS,{}):null,o?f.jsx(zS,{}):null,f.jsx($p,{}),f.jsx(jb,{}),i?f.jsx(jS,{}):null,f.jsx(DS,{children:f.jsx(_S,{})})]}),f.jsx(BS,{children:f.jsx(VS,{})}),f.jsxs(fw,{error:t.error,children:[!l&&f.jsx(_y,{titleBottom:!0,mode:"breadcrumbs",navigation:d,breadcrumbs:u,card:!1,divider:!1,icon:!0,icons:!0}),t.children,f.jsx(ut.Outlet,{}),f.jsx(Np,{name:n,version:r,copy:t==null?void 0:t.copy})]})]})});function HS(e){const t=E.useMediaQuery(n=>n.breakpoints.down("sm"));return f.jsx(F1e,{disableGutters:!0,variant:t?"regular":"dense",...L1e(e)})}HS.propTypes={children:C.node,className:C.string};const D1e="RaTopToolbar",F1e=E.styled(E.Toolbar,{name:D1e,overridesResolver:e=>e.root})(({theme:e})=>({display:"flex",justifyContent:"flex-end",alignItems:"flex-end",gap:e.spacing(1),whiteSpace:"nowrap",flex:"0 1 auto",paddingTop:e.spacing(.5),paddingBottom:e.spacing(.5),paddingInline:e.spacing(2),[e.breakpoints.down("md")]:{flex:"0 1 100%"},[e.breakpoints.down("sm")]:{backgroundColor:e.palette.background.paper,justifyContent:"space-between",alignItems:"center"}}));function L1e({hasCreate:e,...t}){return t}const B1e=ge("div")(({theme:e})=>({position:"fixed",top:0,left:0,zIndex:2001,width:"100%","& > * + *":{marginTop:e.spacing(2)}}));function GS(){return f.jsx(B1e,{children:f.jsx(E.LinearProgress,{color:"primary"})})}function N1e(e){return t=>f.jsx(P.Suspense,{fallback:f.jsx(GS,{}),children:f.jsx(e,{...t})})}function Vp({title:e}){return f.jsxs(E.Stack,{direction:"row",children:[f.jsx(E.Typography,{variant:"h2",sx:{fontWeight:"regular",letterSpacing:-2.5},children:"a."})," ",f.jsx(E.Typography,{variant:"h2",sx:{fontWeight:"bold"},children:e})]})}const $1e=ge(z.Notification,{})(({theme:e})=>({zIndex:2e3,"& *":{fontSize:e.typography.body1.fontSize}}));function qS(e){return f.jsx($1e,{...e})}var Wl=(e=>(e.NONE="none",e.BROWSER="browser",e.USER="user",e))(Wl||{});const YS=Bn().required(),KS=Bn().oneOf(Object.values(Wl));function V1e(e){var S;const t=Hi.useQueryClient(),[n,r]=P.useState(!1),[o,i]=P.useState(()=>()=>Promise.resolve()),s=te.useGetIdentity(),l=(S=s==null?void 0:s.data)==null?void 0:S.email,d=te.useDataProvider(),u=P.useCallback(()=>l?d.get("onboarding").then(I=>{var w;return(w=I==null?void 0:I.data)==null?void 0:w.value}):Promise.reject(),[d,l]),{data:p,isLoading:g,isError:h}=Hi.useQuery({queryKey:["GET","onboarding",l],queryFn:u,staleTime:24*60*60*1e3,retry:l!==void 0}),[m,v]=P.useState(()=>()=>Promise.resolve()),x=Hi.useMutation({mutationFn:m}).mutateAsync;return P.useEffect(()=>{function I(){const w=Q.chain(p??{}).clone().extend({[e]:Date.now()}).value();return d.post("onboarding",w).then(()=>{t.invalidateQueries(["GET","onboarding",l])})}v(()=>I)},[d,p,e,t,l]),P.useEffect(()=>{r(Q.isNil((p??{})[e]))},[p,e,r]),P.useEffect(()=>{i(()=>()=>x())},[x]),{loading:g,error:h,onboardingRequired:n,acknowledgeOnboarding:o}}function z1e(e){const[t,n]=dp("onboarding",{}),[r,o]=P.useState(!1),[i,s]=P.useState(()=>()=>Promise.resolve());return P.useEffect(()=>{o(Q.isNil((t??{})[e]))},[t,e,o]),P.useEffect(()=>{s(()=>()=>(n(l=>Q.extend(l,{[e]:Date.now()})),Promise.resolve()))},[e,n,s]),{onboardingRequired:r,acknowledgeOnboarding:i}}function W1e(){return{onboardingRequired:!1,acknowledgeOnboarding:P.useRef(()=>Promise.resolve()).current}}function ZS(e,t){cp({mode:KS,topic:YS}).validateSync({mode:e,topic:t});const n=V1e(t),r=z1e(t),o=W1e();switch(e){case Wl.USER:return n.loading?o:n.error?r:Q.pick(n,["onboardingRequired","acknowledgeOnboarding"]);case Wl.BROWSER:return r;default:return o}}var ra=(e=>(e.RESTART="RESTART",e.SET_SHOW="SET_SHOW",e.REGISTER_TIP="REGISTER_TIP",e.UNREGISTER_TIP="UNREGISTER_TIP",e.DISMISS_TIP="DISMISS_TIP",e.SET_ON_COMPLETE="SET_ON_COMPLETE",e))(ra||{});function U1e(e,t){var o;const n=Q.clone(e),{type:r}=t;switch(r){case"SET_SHOW":{const{payload:i}=t;return Q.extend(n,{show:i})}case"REGISTER_TIP":{const{payload:i}=t,{id:s}=i,l=Q.chain(n.tips).clone().reject(p=>p.id===s).value(),d=Q.find(n.tips,{id:s}),u=Q.chain(d??{}).clone().extend(i).value();return l.push(u),Q.extend(n,{tips:Q.sortBy(l,["step"])})}case"UNREGISTER_TIP":{const{payload:i}=t,s=Q.isString(i)?i:i.id,l=Q.chain(n.tips).reject(d=>d.id===s).sortBy(["step"]).value();return Q.extend(n,{tips:l})}case"DISMISS_TIP":{const{payload:i}=t,s=Q.isString(i)?i:i.id,l=Q.chain(n.tips).reject(h=>h.id===s).value(),d=Q.find(n.tips,{id:s});if(Q.isNil(d))return n;const u=Q.chain(d).clone().extend({dismissed:!0}).value();l.push(u);const p=((o=Q.chain(l).reject(h=>h.dismissed??!1).minBy("step").value())==null?void 0:o.step)??0;return(u==null?void 0:u.completeOnboarding)&&Q.chain(l).reject(h=>h.step<p).reject(h=>h.dismissed??!1).isEmpty().value()&&e.onComplete(),Q.extend(n,{tips:Q.sortBy(l,["step"]),currentStep:p})}case"SET_ON_COMPLETE":{const{payload:i}=t;return Q.extend(n,{onComplete:i})}case"RESTART":{const i=Q.chain(n.tips).clone().map(s=>Q.omit(s,"dismissed")).value();return Q.extend(n,{tips:i,currentStep:0})}default:return n}}const zp=P.createContext(void 0);function H1e(e){const{mode:t,topic:n="default"}=e,{onboardingRequired:r,acknowledgeOnboarding:o}=ZS(t,n),[i,s]=P.useReducer(U1e,{show:r,tips:[],currentStep:0,onComplete:()=>{}}),l=P.useMemo(()=>({state:i,dispatch:s}),[i,s]);return P.useEffect(()=>{s({type:"SET_SHOW",payload:r})},[r,s]),P.useEffect(()=>{function d(){o().then(()=>{s({type:"SET_SHOW",payload:!1})})}s({type:"SET_ON_COMPLETE",payload:d})},[o,s]),f.jsx(zp.Provider,{value:l,children:e.children})}function XS(){const e=P.useContext(zp);if(e===void 0)throw new Error("[Onboarding] useOnboardingContext: context undefined. Please provide a valid OnboardingContext using OnboardingProvider");return e}function G1e(){return XS().state}function QS(){return XS().dispatch}function JS(e){cp({id:Bn().required(),step:jC().required()}).validateSync(e);const{id:t,step:n,completeOnboarding:r}=e,{show:o,tips:i,currentStep:s}=G1e(),l=Q.find(i,{id:t}),{dismissed:d}=l??{},u=QS(),p=P.useCallback(()=>{u({type:ra.DISMISS_TIP,payload:t})},[u,t]);return P.useEffect(()=>{(Q.isNil(l)||n!==(l==null?void 0:l.step))&&u({type:ra.REGISTER_TIP,payload:{id:t,step:n,completeOnboarding:r}})},[t,n,r,l,u]),P.useEffect(()=>()=>{u({type:ra.UNREGISTER_TIP,payload:t})},[t,u]),{tip:Q.chain(l??e).clone().extend({open:o&&!Q.isNil(l)&&s===n&&!d}).value(),dismiss:p}}function q1e(){const e=QS();return P.useCallback(()=>{e({type:ra.RESTART})},[e])}function Y1e(e){const{id:t,step:n=0,title:r,completeOnboarding:o}=e,{tip:i,dismiss:s}=JS({id:t,step:n,completeOnboarding:o}),{open:l}=i,d=Q.omit(e,["id","step","title","completeOnboarding"]);return f.jsx(b3,{...d,arrow:!0,open:l,title:f.jsxs(E.Stack,{gap:1,children:[f.jsx(E.Typography,{children:r}),f.jsx(E.Button,{onClick:s,variant:"text",color:"primary",size:"small",children:"Got it!"})]}),children:e.children})}const K1e=E.styled(Y1e)(({theme:e})=>{const{palette:t,spacing:n}=e,{primary:r,background:o}=t;return{[`& .${E.tooltipClasses.tooltip}`]:{padding:`${n(1)} ${n(1.5)}`,backgroundColor:r.main,color:r.contrastText,[`& .${E.buttonClasses.root}`]:{backgroundColor:o.paper}},[`& .${E.tooltipClasses.arrow}`]:{color:r.main}}});function eA({children:e}){const t=ut.useLocation(),{pathname:n}=t;return P.useEffect(()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},[n]),f.jsx(f.Fragment,{children:e})}const Z1e=ge("div")({width:"100%",overflowX:"auto",display:"block"});function X1e({shadow:e,children:t,...n}){return f.jsx(Nn,{content:!1,border:!1,shadow:e,boxShadow:!0,...n,children:t})}function tA({title:e}){return f.jsx(E.Typography,{variant:"h2",sx:{style:"bold"},children:e==null?void 0:e.substring(0,1).toUpperCase()})}function Q1e({source:e,label:t,variant:n="body1",record:r,spaceBottom:o,spaceTop:i,component:s,leftIcon:l,rightIcon:d,button:u,buttonProps:p,...g}){const{getCurrentDialog:h}=bp(),m=te.useResourceContext(g),v=h(),b=te.useRecordContext(),x=r||b,S=Qe.get(x,e||"");return f.jsxs(E.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:I=>({pt:1,pb:1,borderBottom:`1px solid ${I.palette.divider}`,...o&&{mb:2},...i&&{mt:2}}),children:[f.jsxs(E.Stack,{direction:"row",alignItems:"start",children:[l?P.isValidElement(l)?P.cloneElement(l,{style:jc}):P.createElement(l,{style:jc}):null,f.jsx(te.FieldTitle,{label:t,source:e,resource:v||m})]}),f.jsxs(E.Stack,{direction:"row",alignItems:"center",children:[s?P.isValidElement(s)?P.cloneElement(s,{record:x,resource:m,value:S}):P.createElement(s,{source:e,record:x,resource:m,value:S}):f.jsx(E.Typography,{variant:n,children:S}),d?P.isValidElement(d)?P.cloneElement(d,{style:jc}):P.createElement(d,{style:jc}):null,u?f.jsx(E.Button,{size:"small",variant:"outlined",sx:{ml:1,p:0},...p,children:u}):null]})]})}const jc={width:"1.5rem",alignSelf:"center"};function J1e({children:e}){const t=wt();return f.jsx(Nn,{sx:{maxWidth:{xs:400,lg:475},margin:{xs:2.5,md:3},"& > *":{flexGrow:1,flexBasis:"50%"}},content:!1,border:!1,boxShadow:!0,shadow:t.customShadows.z1,children:f.jsx(E.Box,{sx:{p:{xs:2,sm:3,md:4,xl:5}},children:e})})}function N3({version:e,name:t,copy:n,children:r,logo:o,background:i=C3,footer:s=!0}){return f.jsxs(E.Box,{children:[f.jsx($p,{source:"default"}),P.isValidElement(i)?i:P.createElement(i),f.jsxs(E.Grid,{container:!0,direction:"column",justifyContent:"flex-end",children:[f.jsx(E.Grid,{item:!0,xs:12,sx:{ml:3},children:o||f.jsx(Vp,{title:t})}),f.jsxs(E.Grid,{item:!0,xs:12,children:[f.jsx(E.Grid,{item:!0,xs:12,container:!0,justifyContent:"center",alignItems:"center",sx:{minHeight:{xs:"calc(100vh - 210px)",sm:"calc(100vh - 134px)",md:"calc(100vh - 112px)"}},children:f.jsx(E.Grid,{item:!0,children:f.jsx(J1e,{children:r})})}),s?f.jsx(E.Grid,{item:!0,sx:{pb:1,position:"absolute",bottom:0,ml:2},children:f.jsx(Np,{name:t,copy:n,version:e})}):null]})]})]})}function ece({name:e,copy:t,logo:n,version:r,background:o}){const i=te.useTranslate(),s=te.useAuthProvider(),l=te.useNotify(),d=ut.useNavigate(),{token:u}=ut.useParams();return P.useEffect(()=>{if(typeof s.activate!="function")throw new Error("The authProvider used for the ActivatePage must define an activate() method");s.activate(u).then(()=>{l("ra.auth.activate_success",{type:"info"}),Q.delay(()=>d("/login"),1e3)}).catch(p=>{l(p,{type:"error"}),Q.delay(()=>d("/login"),1e3)})},[u,s,l,d]),f.jsx(N3,{name:e,copy:t,logo:n,version:r,background:o,children:f.jsxs(E.Grid,{container:!0,spacing:3,children:[f.jsx(E.Grid,{item:!0,xs:12,children:f.jsxs(E.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(E.Typography,{variant:"h3",children:i("ra.auth.activate")}),f.jsx(E.Typography,{component:ut.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:i("ra.auth.back_to_login")})]})}),f.jsx(E.Grid,{item:!0,xs:12,children:i("ra.auth.activate_pending")})]})})}function nA(){const e=P.useCallback(()=>location.reload(),[]);return f.jsx(E.Container,{children:f.jsxs(E.Stack,{alignItems:"center",px:2,py:{xs:4,sm:8},spacing:2,textAlign:"center",children:[f.jsx("img",{alt:"Error",src:Jy,style:{width:"100%",maxWidth:450}}),f.jsx(E.Typography,{variant:"h2",children:"Ops! An error occurred..."}),f.jsx(E.Typography,{children:"We're fixing the problem. Please try again later."}),f.jsx(E.Button,{onClick:e,variant:"contained",children:"Reload"})]})})}function rA({version:e,name:t,copy:n,logo:r,enablePasswordRecover:o=!1,enableRegistration:i=!1,oauth:s={},redirectTo:l,background:d=f.jsx(C3,{})}){const[u,p]=te.useSafeSetState(!1),g=te.useLogin(),h=te.useTranslate(),m=te.useNotify(),v=te.useCheckAuth(),b=ut.useNavigate();P.useEffect(()=>{v({},!1).then(()=>{b("/")}).catch(()=>{})},[v,b]);function x(S){p(!0),g(S,l).then(()=>{p(!1)}).catch(I=>{p(!1),m(typeof I=="string"?I:typeof I>"u"||!I.message?"ra.auth.sign_in_error":I.message,{type:"error",messageArgs:{_:typeof I=="string"?I:I&&I.message?I.message:void 0}})})}return f.jsx(N3,{name:t,version:e,copy:n,logo:r,background:d,children:f.jsxs(E.Grid,{container:!0,spacing:3,children:[f.jsx(E.Grid,{item:!0,xs:12,children:f.jsxs(E.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(E.Typography,{variant:"h3",children:"Login"}),i?f.jsx(E.Typography,{component:ut.Link,to:"/register",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:h("ra.auth.register")}):null]})}),f.jsxs(E.Grid,{item:!0,xs:12,children:[f.jsxs(te.Form,{onSubmit:x,children:[f.jsxs(E.Grid,{container:!0,children:[f.jsx(E.Grid,{item:!0,xs:12,sx:{mb:2},children:f.jsx(Sr,{autoFocus:!0,source:"username",label:h("ra.auth.username"),autoComplete:"username",validate:te.required(),placeholder:"user@company.name",fullWidth:!0})}),f.jsx(E.Grid,{item:!0,xs:12,sx:{mb:2},children:f.jsx(Sr,{source:"password",label:h("ra.auth.password"),type:"password",autoComplete:"current-password",validate:te.required(),placeholder:h("ra.auth.password_placeholder"),fullWidth:!0})})]}),o?f.jsx(E.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(E.Stack,{direction:"row",justifyContent:"flex-end",alignItems:"flex-end",spacing:2,children:f.jsx(E.Link,{variant:"h6",component:ut.Link,to:"/recover",color:"text.primary",children:h("ra.auth.forgot_password")})})}):null,f.jsx(E.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(E.Button,{variant:"contained",type:"submit",color:"primary",disabled:u,fullWidth:!0,children:u?f.jsx(E.CircularProgress,{size:19,thickness:3}):h("ra.auth.sign_in")})})]}),Q.isEmpty(s)?null:f.jsxs(f.Fragment,{children:[f.jsx(E.Grid,{item:!0,xs:12,sx:{mt:2},children:f.jsx(E.Divider,{})}),s.google?f.jsx(E.Grid,{item:!0,xs:12,sx:{mt:2,width:"100%"},children:f.jsx(JC,{setLoading:p})}):null]})]})]})})}function tce({name:e,copy:t,logo:n,version:r,background:o}){const[i,s]=P.useState(!1),l=te.useTranslate(),d=te.useRedirect(),u=te.useNotify(),p=te.useAuthProvider();function g({email:h}){s(!0),p.recover(h).then(m=>{const v=`ra.auth.recover_${m.responseCode}`,b=m.responseCode==="ok"?"info":"error";u(v,{type:b}),d("/login")}).catch(m=>{u((m==null?void 0:m.message)||(m==null?void 0:m.toString()),{type:"error"})}).finally(()=>s(!1))}return f.jsx(N3,{name:e,copy:t,logo:n,version:r,background:o,children:f.jsxs(E.Grid,{container:!0,spacing:3,children:[f.jsx(E.Grid,{item:!0,xs:12,children:f.jsxs(E.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(E.Typography,{variant:"h3",children:l("ra.auth.recover.title")}),f.jsx(E.Typography,{component:ut.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:l("ra.auth.back_to_login")})]})}),f.jsx(E.Grid,{item:!0,xs:12,children:f.jsxs(z.Form,{onSubmit:g,children:[f.jsx(E.Grid,{container:!0,children:f.jsx(E.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Sr,{source:"email",validate:[te.required(),te.email()]})})}),f.jsx(E.Grid,{item:!0,xs:12,sx:{mt:1,mb:1},children:f.jsx(E.Typography,{variant:"caption",children:l("ra.auth.recover.inbox_help")})}),f.jsx(E.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(E.Button,{variant:"contained",type:"submit",color:"primary",disabled:i,fullWidth:!0,children:i?f.jsx(E.CircularProgress,{size:19,thickness:3}):l("ra.auth.recover")})})]})})]})})}function nce({name:e,copy:t,version:n,logo:r,background:o}){const[i,s]=P.useState(!1),l=te.useTranslate(),d=te.useRedirect(),u=te.useNotify(),p=te.useAuthProvider();function g(h){s(!0),p.register(h).then(m=>{const v=`ra.auth.register_${m.responseCode}`,b=m.responseCode==="ok"?"info":"error";u(v,{type:b}),d("/login")}).catch(m=>{u(m.message||m,{type:"error"})}).finally(()=>s(!1))}return f.jsx(N3,{name:e,copy:t,logo:r,background:o,version:n,children:f.jsxs(E.Grid,{container:!0,spacing:3,children:[f.jsx(E.Grid,{item:!0,xs:12,children:f.jsxs(E.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(E.Typography,{variant:"h3",children:l("ra.auth.register.title")}),f.jsx(E.Typography,{component:ut.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:l("ra.auth.already_have_account")})]})}),f.jsx(E.Grid,{item:!0,xs:12,children:f.jsxs(z.Form,{onSubmit:g,children:[f.jsxs(E.Grid,{container:!0,children:[f.jsx(E.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Sr,{source:"name",label:l("ra.register.name"),validate:te.required()})}),f.jsx(E.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Sr,{source:"email",type:"email",validate:[te.required(),te.email()]})}),f.jsx(E.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Sr,{source:"password",type:"password",validate:te.required()})})]}),f.jsx(E.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(E.Button,{variant:"contained",type:"submit",color:"primary",disabled:i,fullWidth:!0,children:i?f.jsx(E.CircularProgress,{size:19,thickness:3}):l("ra.auth.create_account")})})]})})]})})}function rce(e){return{MuiAccordion:{defaultProps:{disableGutters:!0,square:!0,elevation:0},styleOverrides:{root:{border:`1px solid ${e.palette.secondary.light}`,"&:not(:last-child)":{borderBottom:0},"&:before":{display:"none"},"&.Mui-disabled":{backgroundColor:e.palette.secondary.lighter}}}}}}function oce(e){return{MuiAccordionDetails:{styleOverrides:{root:{padding:e.spacing(2),borderTop:`1px solid ${e.palette.secondary.light}`}}}}}function ice(e){const{palette:t,spacing:n}=e;return{MuiAccordionSummary:{defaultProps:{expandIcon:f.jsx(He.RightOutlined,{style:{fontSize:"0.75rem"}})},styleOverrides:{root:{backgroundColor:t.secondary.lighter,flexDirection:"row-reverse",minHeight:46},expandIconWrapper:{"&.Mui-expanded":{transform:"rotate(90deg)"}},content:{marginTop:n(1.25),marginBottom:n(1.25),marginLeft:n(1)}}}}}function ji({color:e,theme:t}){const n=hn(t,e),{lighter:r,light:o,main:i}=n;return{borderColor:nt(o,.5),backgroundColor:r,"& .MuiAlert-icon":{color:i}}}function sce(e){const t=ji({color:"primary",theme:e});return{MuiAlert:{styleOverrides:{root:{color:e.palette.text.primary,fontSize:"0.875rem"},icon:{fontSize:"1rem"},message:{padding:0,marginTop:3},filled:{color:e.palette.grey[0]},border:{padding:"10px 16px",border:"1px solid",...t,"&.MuiAlert-borderPrimary":ji({color:"primary",theme:e}),"&.MuiAlert-borderSecondary":ji({color:"secondary",theme:e}),"&.MuiAlert-borderError":ji({color:"error",theme:e}),"&.MuiAlert-borderSuccess":ji({color:"success",theme:e}),"&.MuiAlert-borderInfo":ji({color:"info",theme:e}),"&.MuiAlert-borderWarning":ji({color:"warning",theme:e})},action:{"& .MuiButton-root":{padding:2,height:"auto",fontSize:"0.75rem",marginTop:-2},"& .MuiIconButton-root":{width:"auto",height:"auto",padding:2,marginRight:6,"& .MuiSvgIcon-root":{fontSize:"1rem"}}}}}}}function ace(){return{MuiAlertTitle:{styleOverrides:{root:{marginBottom:4,marginTop:0,fontWeight:400}}}}}function lce(e){var t;return{MuiAutocomplete:{styleOverrides:{root:{"& .MuiOutlinedInput-root":{padding:"3px 9px"}},popupIndicator:{width:"auto",height:"auto"},popper:{border:`1px solid ${e.palette.mode==="dark"?(t=e.palette.dark)==null?void 0:t.main:e.palette.grey[100]}`},clearIndicator:{width:"auto",height:"auto"}}}}}function Ri({color:e,theme:t}){const n=hn(t,e),{lighter:r,main:o}=n;return{color:o,backgroundColor:r}}function cce(e){const t=Ri({color:"primary",theme:e});return{MuiBadge:{styleOverrides:{standard:{minWidth:e.spacing(2),height:e.spacing(2),padding:e.spacing(.5)},light:{...t,"&.MuiBadge-colorPrimary":Ri({color:"primary",theme:e}),"&.MuiBadge-colorSecondary":Ri({color:"secondary",theme:e}),"&.MuiBadge-colorError":Ri({color:"error",theme:e}),"&.MuiBadge-colorInfo":Ri({color:"info",theme:e}),"&.MuiBadge-colorSuccess":Ri({color:"success",theme:e}),"&.MuiBadge-colorWarning":Ri({color:"warning",theme:e})}}}}}function it({variant:e,color:t,theme:n}){const r=hn(n,t),{lighter:o,main:i,dark:s,contrastText:l}=r,d=`${t}Button`,u=ya(n,d),p={"&::after":{boxShadow:`0 0 5px 5px ${nt(i,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${nt(i,.9)}`},"&:focus-visible":{outline:`2px solid ${s}`,outlineOffset:2}};switch(e){case"contained":return{"&:hover":{backgroundColor:s},...p};case"shadow":return{color:l,backgroundColor:i,boxShadow:u,"&:hover":{boxShadow:"none",backgroundColor:s},...p};case"outlined":return{borderColor:i,"&:hover":{color:s,backgroundColor:"transparent",borderColor:s},...p};case"dashed":return{color:i,borderColor:i,backgroundColor:o,"&:hover":{color:s,borderColor:s},...p};case"text":default:return{"&:hover":{color:s,backgroundColor:o},...p}}}function uce(e){const t=it({variant:"dashed",color:"primary",theme:e}),n=it({variant:"shadow",color:"primary",theme:e}),r={"&.Mui-disabled":{backgroundColor:e.palette.grey[200]}},o={"&>*:nth-of-type(1)":{fontSize:"inherit"}};return{MuiButton:{defaultProps:{disableElevation:!0},styleOverrides:{root:{fontWeight:400,"&::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:4,opacity:0,transition:"all 0.5s"},"&:active::after":{position:"absolute",borderRadius:4,left:0,top:0,opacity:1,transition:"0s"}},contained:{...r},outlined:{...r},text:{boxShadow:"none","&:hover":{boxShadow:"none"}},endIcon:{...o},startIcon:{...o},dashed:{border:"1px dashed",...t,"&.MuiButton-dashedPrimary":it({variant:"dashed",color:"primary",theme:e}),"&.MuiButton-dashedSecondary":it({variant:"dashed",color:"secondary",theme:e}),"&.MuiButton-dashedError":it({variant:"dashed",color:"error",theme:e}),"&.MuiButton-dashedSuccess":it({variant:"dashed",color:"success",theme:e}),"&.MuiButton-dashedInfo":it({variant:"dashed",color:"info",theme:e}),"&.MuiButton-dashedWarning":it({variant:"dashed",color:"warning",theme:e}),"&.Mui-disabled":{color:`${e.palette.grey[300]} !important`,borderColor:`${e.palette.grey[400]} !important`,backgroundColor:`${e.palette.grey[200]} !important`}},shadow:{...n,"&.MuiButton-shadowPrimary":it({variant:"shadow",color:"primary",theme:e}),"&.MuiButton-shadowSecondary":it({variant:"shadow",color:"secondary",theme:e}),"&.MuiButton-shadowError":it({variant:"shadow",color:"error",theme:e}),"&.MuiButton-shadowSuccess":it({variant:"shadow",color:"success",theme:e}),"&.MuiButton-shadowInfo":it({variant:"shadow",color:"info",theme:e}),"&.MuiButton-shadowWarning":it({variant:"shadow",color:"warning",theme:e}),"&.Mui-disabled":{color:`${e.palette.grey[300]} !important`,borderColor:`${e.palette.grey[400]} !important`,backgroundColor:`${e.palette.grey[200]} !important`}},containedPrimary:it({variant:"contained",color:"primary",theme:e}),containedSecondary:it({variant:"contained",color:"secondary",theme:e}),containedError:it({variant:"contained",color:"error",theme:e}),containedSuccess:it({variant:"contained",color:"success",theme:e}),containedInfo:it({variant:"contained",color:"info",theme:e}),containedWarning:it({variant:"contained",color:"warning",theme:e}),outlinedPrimary:it({variant:"outlined",color:"primary",theme:e}),outlinedSecondary:it({variant:"outlined",color:"secondary",theme:e}),outlinedError:it({variant:"outlined",color:"error",theme:e}),outlinedSuccess:it({variant:"outlined",color:"success",theme:e}),outlinedInfo:it({variant:"outlined",color:"info",theme:e}),outlinedWarning:it({variant:"outlined",color:"warning",theme:e}),textPrimary:it({variant:"text",color:"primary",theme:e}),textSecondary:it({variant:"text",color:"secondary",theme:e}),textError:it({variant:"text",color:"error",theme:e}),textSuccess:it({variant:"text",color:"success",theme:e}),textInfo:it({variant:"text",color:"info",theme:e}),textWarning:it({variant:"text",color:"warning",theme:e}),sizeExtraSmall:{minWidth:56,fontSize:"0.625rem",padding:"2px 8px"}}}}}function dce(){return{MuiButtonBase:{defaultProps:{disableRipple:!0,size:"medium"}}}}function fce(){return{MuiButtonGroup:{defaultProps:{disableRipple:!0}}}}function pce(){return{MuiCard:{styleOverrides:{root:{boxShadow:"none"}}}}}function hce(){return{MuiCardContent:{styleOverrides:{root:{padding:20,"&:last-child":{paddingBottom:20}}}}}}function Fs({color:e,theme:t}){const n=hn(t,e),{lighter:r,main:o,dark:i}=n;return{"&:hover":{backgroundColor:r,"& .icon":{borderColor:o}},"&.Mui-focusVisible":{outline:`2px solid ${i}`,outlineOffset:-4}}}function gce(e){switch(e){case"small":return{size:16,fontSize:1,position:1};case"large":return{size:24,fontSize:1.6,position:2};case"medium":default:return{size:20,fontSize:1.35,position:2}}}function $f(e){const t=gce(e);return{"& .icon":{width:t.size,height:t.size,"& .filled":{fontSize:`${t.fontSize}rem`,top:-t.position,left:-t.position}}}}function mce(e){const{palette:t}=e;return{MuiCheckbox:{defaultProps:{className:"size-small",icon:f.jsx(E.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25}}),checkedIcon:f.jsx(E.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:f.jsx(He.CheckSquareFilled,{className:"filled",style:{position:"absolute"}})}),indeterminateIcon:f.jsx(E.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:f.jsx(He.MinusSquareFilled,{className:"filled",style:{position:"absolute"}})})},styleOverrides:{root:{borderRadius:0,color:t.secondary[300],"&.size-small":{...$f("small")},"&.size-medium":{...$f("medium")},"&.size-large":{...$f("large")}},colorPrimary:Fs({color:"primary",theme:e}),colorSecondary:Fs({color:"secondary",theme:e}),colorSuccess:Fs({color:"success",theme:e}),colorWarning:Fs({color:"warning",theme:e}),colorInfo:Fs({color:"info",theme:e}),colorError:Fs({color:"error",theme:e})}}}}function Ls({color:e,theme:t}){const n=hn(t,e),{dark:r}=n;return{"&.Mui-focusVisible":{outline:`2px solid ${r}`,outlineOffset:2}}}function Qn({color:e,theme:t}){const n=hn(t,e),{light:r,lighter:o,main:i}=n;return{color:i,backgroundColor:o,borderColor:r,"& .MuiChip-deleteIcon":{color:i,"&:hover":{color:r}}}}function vce(e){const t=Qn({color:"secondary",theme:e});return{MuiChip:{styleOverrides:{root:{borderRadius:4,"&:active":{boxShadow:"none"},"&.MuiChip-colorPrimary":Ls({color:"primary",theme:e}),"&.MuiChip-colorSecondary":Ls({color:"secondary",theme:e}),"&.MuiChip-colorError":Ls({color:"error",theme:e}),"&.MuiChip-colorInfo":Ls({color:"info",theme:e}),"&.MuiChip-colorSuccess":Ls({color:"success",theme:e}),"&.MuiChip-colorWarning":Ls({color:"warning",theme:e})},sizeLarge:{fontSize:"1rem",height:40},light:{...t,"&.MuiChip-lightPrimary":Qn({color:"primary",theme:e}),"&.MuiChip-lightSecondary":Qn({color:"secondary",theme:e}),"&.MuiChip-lightError":Qn({color:"error",theme:e}),"&.MuiChip-lightInfo":Qn({color:"info",theme:e}),"&.MuiChip-lightSuccess":Qn({color:"success",theme:e}),"&.MuiChip-lightWarning":Qn({color:"warning",theme:e})},combined:{border:"1px solid",...t,"&.MuiChip-combinedPrimary":Qn({color:"primary",theme:e}),"&.MuiChip-combinedSecondary":Qn({color:"secondary",theme:e}),"&.MuiChip-combinedError":Qn({color:"error",theme:e}),"&.MuiChip-combinedInfo":Qn({color:"info",theme:e}),"&.MuiChip-combinedSuccess":Qn({color:"success",theme:e}),"&.MuiChip-combinedWarning":Qn({color:"warning",theme:e})}}}}}function yce(e){return{MuiDialog:{styleOverrides:{root:{"& .MuiBackdrop-root":{backgroundColor:nt("#000",.7)},"& .MuiCardContent-root":{[e.breakpoints.down("sm")]:{paddingBottom:`${e.spacing(2.5)}`}},"& .MuiPaper-root:has(.tabbed-form)":{overflowY:"unset",width:"100%"}}}}}}function bce(e){return{MuiDialogContentText:{styleOverrides:{root:{fontSize:"0.875rem",color:e.palette.text.primary}}}}}function Cce(){return{MuiDialogTitle:{styleOverrides:{root:{fontSize:"1rem",fontWeight:500}}}}}function Bs({color:e,theme:t}){const n=hn(t,e),{main:r,dark:o,contrastText:i}=n,s=`${e}Button`,l=ya(t,s);return{color:i,backgroundColor:r,boxShadow:l,"&:hover":{boxShadow:"none",backgroundColor:o},"&:focus-visible":{outline:`2px solid ${o}`,outlineOffset:2},"&::after":{borderRadius:"50px",boxShadow:`0 0 5px 5px ${nt(r,.9)}`},"&:active::after":{borderRadius:"50px",boxShadow:`0 0 0 0 ${nt(r,.9)}`}}}function xce(e){return{MuiFab:{styleOverrides:{root:{fontWeight:400,"&.Mui-disabled":{backgroundColor:e.palette.grey[200]},"&.MuiFab-primary":Bs({color:"primary",theme:e}),"&.MuiFab-secondary":Bs({color:"secondary",theme:e}),"&.Mui-error":Bs({color:"error",theme:e}),"&.MuiFab-success":Bs({color:"success",theme:e}),"&.MuiFab-info":Bs({color:"info",theme:e}),"&.MuiFab-warning":Bs({color:"warning",theme:e}),"&::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:4,opacity:0,transition:"all 0.5s"},"&:active::after":{position:"absolute",borderRadius:4,left:0,top:0,opacity:1,transition:"0s"}}}}}}function wce(e){return{MuiIconButton:{styleOverrides:{root:{borderRadius:4},sizeLarge:{width:e.spacing(5.5),height:e.spacing(5.5),fontSize:"1.25rem"},sizeMedium:{width:e.spacing(4.5),height:e.spacing(4.5),fontSize:"1rem"},sizeSmall:{width:e.spacing(3.75),height:e.spacing(3.75),fontSize:"0.75rem"},sizeExtraSmall:{width:e.spacing(2.6875),height:e.spacing(2.6875),fontSize:"0.625rem"}}}}}function Sce(e){return{MuiInputBase:{styleOverrides:{}}}}function Ace(e){return{MuiInputLabel:{styleOverrides:{root:{color:e.palette.grey[600]},outlined:{lineHeight:"0.8em","&.MuiInputLabel-sizeSmall":{lineHeight:"1.3em"},"&.MuiInputLabel-shrink":{background:e.palette.background.paper,padding:"0 8px",marginLeft:-6,lineHeight:"1.4375em"}}}}}}function Ece(){return{MuiLinearProgress:{styleOverrides:{root:{height:6,borderRadius:100},bar:{borderRadius:100}}}}}function Tce(){return{MuiLink:{defaultProps:{underline:"hover"}}}}function Ice(e){return{MuiListItemButton:{styleOverrides:{root:{"&.Mui-selected":{color:e.palette.primary.main,"& .MuiListItemIcon-root":{color:e.palette.primary.main}}}}}}}function Oce(e){return{MuiListItemIcon:{styleOverrides:{root:{minWidth:24,color:e.palette.text.primary}}}}}function Pce(e){return{MuiListItemText:{styleOverrides:{root:{"&.MuiListItemText-inset":{paddingLeft:24}}}}}}function jce(){return{MuiLoadingButton:{styleOverrides:{root:{padding:"6px 16px","&.MuiLoadingButton-loading":{opacity:.6,textShadow:"none"}}}}}}function Mi({variant:e,theme:t}){const n=hn(t,e),{light:r}=n,o=ya(t,`${e}`);return{"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:r},"&.Mui-focused":{boxShadow:o,"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${r}`}}}}function Rce(e){return{MuiOutlinedInput:{styleOverrides:{input:{padding:"10.5px 14px 10.5px 12px"},notchedOutline:{borderColor:e.palette.mode==="dark"?e.palette.grey[200]:e.palette.grey[300]},root:{...Mi({variant:"primary",theme:e}),"&.Mui-error":{...Mi({variant:"error",theme:e})}},inputSizeSmall:{padding:"9px 8px 9px 12px"},inputMultiline:{padding:0},colorSecondary:Mi({variant:"secondary",theme:e}),colorError:Mi({variant:"error",theme:e}),colorWarning:Mi({variant:"warning",theme:e}),colorInfo:Mi({variant:"info",theme:e}),colorSuccess:Mi({variant:"success",theme:e})}}}}function Mce(){return{MuiPagination:{defaultProps:{shape:"rounded"}}}}function Mt({variant:e,color:t,theme:n}){const r=hn(n,t),{lighter:o,light:i,dark:s,main:l,contrastText:d}=r,u={"&:focus-visible":{outline:`2px solid ${s}`,outlineOffset:2,...e==="text"&&{backgroundColor:n.palette.background.paper}}};switch(e){case"combined":case"contained":return{color:d,backgroundColor:l,"&:hover":{backgroundColor:i},...u};case"outlined":return{borderColor:l,"&:hover":{backgroundColor:o,borderColor:i},...u};case"text":default:return{color:l,"&:hover":{backgroundColor:l,color:o},...u}}}function kce(e){return{MuiPaginationItem:{styleOverrides:{root:{"&:focus-visible":{outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:2}},text:{"&.Mui-selected":{backgroundColor:"transparent",fontSize:"1rem",fontWeight:500,"&.MuiPaginationItem-textPrimary":Mt({variant:"text",color:"primary",theme:e}),"&.MuiPaginationItem-textSecondary":Mt({variant:"text",color:"secondary",theme:e}),"&.MuiPaginationItem-textError":Mt({variant:"text",color:"error",theme:e}),"&.MuiPaginationItem-textSuccess":Mt({variant:"text",color:"success",theme:e}),"&.MuiPaginationItem-textInfo":Mt({variant:"text",color:"info",theme:e}),"&.MuiPaginationItem-textWarning":Mt({variant:"text",color:"warning",theme:e})}},contained:{"&.Mui-selected":{"&.MuiPaginationItem-containedPrimary":Mt({variant:"contained",color:"primary",theme:e}),"&.MuiPaginationItem-containedSecondary":Mt({variant:"contained",color:"secondary",theme:e}),"&.MuiPaginationItem-containedError":Mt({variant:"contained",color:"error",theme:e}),"&.MuiPaginationItem-containedSuccess":Mt({variant:"contained",color:"success",theme:e}),"&.MuiPaginationItem-containedInfo":Mt({variant:"contained",color:"info",theme:e}),"&.MuiPaginationItem-containedWarning":Mt({variant:"contained",color:"warning",theme:e})}},combined:{border:"1px solid",borderColor:e.palette.divider,"&.MuiPaginationItem-ellipsis":{border:"none"},"&.Mui-selected":{"&.MuiPaginationItem-combinedPrimary":Mt({variant:"combined",color:"primary",theme:e}),"&.MuiPaginationItem-combinedSecondary":Mt({variant:"combined",color:"secondary",theme:e}),"&.MuiPaginationItem-combinedError":Mt({variant:"combined",color:"error",theme:e}),"&.MuiPaginationItem-combinedSuccess":Mt({variant:"combined",color:"success",theme:e}),"&.MuiPaginationItem-combinedInfo":Mt({variant:"combined",color:"info",theme:e}),"&.MuiPaginationItem-combinedWarning":Mt({variant:"combined",color:"warning",theme:e})}},outlined:{borderColor:e.palette.divider,"&.Mui-selected":{backgroundColor:"transparent","&.MuiPaginationItem-outlinedPrimary":Mt({variant:"outlined",color:"primary",theme:e}),"&.MuiPaginationItem-outlinedSecondary":Mt({variant:"outlined",color:"secondary",theme:e}),"&.MuiPaginationItem-outlinedError":Mt({variant:"outlined",color:"error",theme:e}),"&.MuiPaginationItem-outlinedSuccess":Mt({variant:"outlined",color:"success",theme:e}),"&.MuiPaginationItem-outlinedInfo":Mt({variant:"outlined",color:"info",theme:e}),"&.MuiPaginationItem-outlinedWarning":Mt({variant:"outlined",color:"warning",theme:e})}}}}}}function _ce(e){return{MuiPopover:{styleOverrides:{paper:{boxShadow:e.customShadows.z1}}}}}function Ns({color:e,theme:t}){const n=hn(t,e),{lighter:r,main:o,dark:i}=n;return{"& .dot":{backgroundColor:o},"&:hover":{backgroundColor:r},"&.Mui-focusVisible":{outline:`2px solid ${i}`,outlineOffset:-4}}}function Dce(e){switch(e){case"small":return{size:16,dotSize:8,position:3};case"large":return{size:24,dotSize:12,position:5};case"medium":default:return{size:20,dotSize:10,position:4}}}function Vf(e){const t=Dce(e);return{"& .icon":{width:t.size,height:t.size,"& .dot":{width:t.dotSize,height:t.dotSize,top:t.position,left:t.position}}}}function Fce(e){const{palette:t}=e;return{MuiRadio:{defaultProps:{className:"size-small",icon:f.jsx(E.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%"}}),checkedIcon:f.jsx(E.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%",position:"relative"},children:f.jsx(E.Box,{className:"dot",sx:{width:8,height:8,backgroundColor:"inherit",borderRadius:"50%",position:"absolute",top:3,left:3}})})},styleOverrides:{root:{color:t.secondary[300],"&.size-small":{...Vf("small")},"&.size-medium":{...Vf("medium")},"&.size-large":{...Vf("large")}},colorPrimary:Ns({color:"primary",theme:e}),colorSecondary:Ns({color:"secondary",theme:e}),colorSuccess:Ns({color:"success",theme:e}),colorWarning:Ns({color:"warning",theme:e}),colorInfo:Ns({color:"info",theme:e}),colorError:Ns({color:"error",theme:e})}}}}function $s({color:e,theme:t}){const n=hn(t,e),{main:r}=n;return{border:`2px solid ${r}`}}function Lce(e){return{MuiSlider:{styleOverrides:{track:{height:"1px"},thumb:{width:14,height:14,border:`2px solid ${e.palette.primary.main}`,backgroundColor:e.palette.background.paper,"&.MuiSlider-thumbColorPrimary":$s({color:"primary",theme:e}),"&.MuiSlider-thumbColorSecondary":$s({color:"secondary",theme:e}),"&.MuiSlider-thumbColorSuccess":$s({color:"success",theme:e}),"&.MuiSlider-thumbColorWarning":$s({color:"warning",theme:e}),"&.MuiSlider-thumbColorInfo":$s({color:"info",theme:e}),"&.MuiSlider-thumbColorError":$s({color:"error",theme:e})},mark:{width:4,height:4,borderRadius:"50%",border:`1px solid ${e.palette.secondary.light}`,backgroundColor:e.palette.background.paper,"&.MuiSlider-markActive":{opacity:1,borderColor:"inherit",borderWidth:2}},rail:{color:e.palette.secondary.light},root:{"&.Mui-disabled":{".MuiSlider-rail":{opacity:.25},".MuiSlider-track":{color:e.palette.secondary.lighter},".MuiSlider-thumb":{border:`2px solid ${e.palette.secondary.lighter}`}}},valueLabel:{backgroundColor:e.palette.grey[600],color:e.palette.grey[0]}}}}}function Bce(e){switch(e){case"small":return{width:28,height:16,base:12,thumb:10,trackRadius:8};case"large":return{width:60,height:28,base:32,thumb:22,trackRadius:24};case"medium":default:return{width:44,height:22,base:22,thumb:16,trackRadius:16}}}function zf(e,t){const n=Bce(t);return{width:n.width,height:n.height,"& .MuiSwitch-switchBase":{padding:3,"&.Mui-checked":{transform:`translateX(${n.base}px)`}},"& .MuiSwitch-thumb":{width:n.thumb,height:n.thumb},"& .MuiSwitch-track":{borderRadius:n.trackRadius}}}function Nce(e){return{MuiSwitch:{styleOverrides:{track:{opacity:1,backgroundColor:e.palette.secondary[400],boxSizing:"border-box"},thumb:{borderRadius:"50%",transition:e.transitions.create(["width"],{duration:200})},switchBase:{"&.Mui-checked":{color:"#fff","& + .MuiSwitch-track":{opacity:1},"&.Mui-disabled":{color:e.palette.background.paper}},"&.Mui-disabled":{color:e.palette.background.paper,"+.MuiSwitch-track":{opacity:.3}}},root:{color:e.palette.text.primary,padding:0,margin:8,display:"flex","& ~ .MuiFormControlLabel-label":{margin:6},...zf(e,"medium")},sizeLarge:{...zf(e,"large")},sizeSmall:{...zf(e,"small")}}}}}function $ce(e){return{MuiTab:{styleOverrides:{root:{minHeight:46,color:e.palette.text.primary,borderRadius:4,"&:hover":{backgroundColor:e.palette.primary.lighter+60,color:e.palette.primary.main},"&:focus-visible":{borderRadius:4,outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:-3}}}}}}function Vce(e){const t={"&:hover":{backgroundColor:e.palette.secondary.lighter}};return{MuiTableBody:{styleOverrides:{root:{"&.striped .MuiTableRow-root":{"&:nth-of-type(even)":{backgroundColor:e.palette.grey[50]},...t},"& .MuiTableRow-root":{...t}}}}}}function zce(e){const t={"&:not(:last-of-type)":{position:"relative","&:after":{position:"absolute",content:'""',backgroundColor:e.palette.divider,width:1,height:"calc(100% - 30px)",right:0,top:16}}};return{MuiTableCell:{styleOverrides:{root:{fontSize:"0.875rem",padding:12,borderColor:e.palette.divider},sizeSmall:{padding:8},head:{fontSize:"0.75rem",fontWeight:700,textTransform:"uppercase",...t},footer:{fontSize:"0.75rem",textTransform:"uppercase",...t}}}}}function Wce(e){return{MuiTableFooter:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`2px solid ${e.palette.divider}`,borderBottom:`1px solid ${e.palette.divider}`}}}}}function Uce(e){return{MuiTableHead:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`1px solid ${e.palette.divider}`,borderBottom:`2px solid ${e.palette.divider}`}}}}}function Hce(){return{MuiTablePagination:{styleOverrides:{selectLabel:{fontSize:"0.875rem"},toolbar:{paddingRight:"16px !important"},displayedRows:{fontSize:"0.875rem"}}}}}function Gce(){return{MuiTableRow:{styleOverrides:{root:{"&:last-of-type":{"& .MuiTableCell-root":{borderBottom:"none"}},"& .MuiTableCell-root":{"&:last-of-type":{paddingRight:24},"&:first-of-type":{paddingLeft:24}}}}}}}function qce(){return{MuiTabs:{styleOverrides:{vertical:{overflow:"visible"}}}}}function Yce(e){return{MuiToggleButton:{styleOverrides:{root:{"&.Mui-disabled":{borderColor:e.palette.divider,color:e.palette.text.disabled},"&:focus-visible":{outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:2}}}}}}function Kce(e){return{MuiTooltip:{styleOverrides:{tooltip:{color:e.palette.background.paper}}}}}function Zce(){return{MuiTreeItem:{styleOverrides:{content:{padding:8},iconContainer:{"& svg":{fontSize:"0.625rem"}}}}}}function Xce(){return{MuiTypography:{styleOverrides:{gutterBottom:{marginBottom:12}}}}}function Qce(e){return Qe.merge(rce(e),oce(e),ice(e),sce(e),ace(),lce(e),cce(e),uce(e),dce(),fce(),pce(),hce(),mce(e),vce(e),yce(e),bce(e),Cce(),xce(e),wce(e),Sce(),Ace(e),Ece(),Tce(),Ice(e),Oce(e),Pce(),jce(),Rce(e),Mce(),kce(e),_ce(e),Fce(e),Lce(e),Nce(e),$ce(e),Vce(e),zce(e),Wce(e),Uce(e),Hce(),Gce(),qce(),Yce(e),Kce(e),Zce(),Xce())}function Jce(e){const{blue:t,red:n,gold:r,cyan:o,green:i,grey:s}=e,l={0:s[0],50:s[1],100:s[2],200:s[3],300:s[4],400:s[5],500:s[6],600:s[7],700:s[8],800:s[9],900:s[10],A50:s[15],A100:s[11],A200:s[12],A400:s[13],A700:s[14],A800:s[16]},d="#fff";return{primary:{lighter:t[0],100:t[1],200:t[2],light:t[3],400:t[4],main:t[5],dark:t[6],700:t[7],darker:t[8],900:t[9],contrastText:d},secondary:{lighter:l[100],100:l[100],200:l[200],light:l[300],400:l[400],main:l[500],600:l[600],dark:l[700],800:l[800],darker:l[900],A100:l[0],A200:l.A400,A300:l.A700,contrastText:l[0]},error:{lighter:n[0],light:n[2],main:n[4],dark:n[7],darker:n[9],contrastText:d},warning:{lighter:r[0],light:r[3],main:r[5],dark:r[7],darker:r[9],contrastText:l[100]},info:{lighter:o[0],light:o[3],main:o[5],dark:o[7],darker:o[9],contrastText:d},success:{lighter:i[0],light:i[3],main:i[5],dark:i[7],darker:i[9],contrastText:d},grey:l}}function eue(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let i=["#D6E4FF","#D6E4FF","#ADC8FF","#84A9FF","#6690FF","#3366FF","#254EDB","#1939B7","#102693","#102693"],s=["#FFE7D3","#FF805D","#FF4528","#DB271D","#930C1A"],l=["#FFF6D0","#FFCF4E","#FFB814","#DB970E","#935B06"],d=["#DCF0FF","#7EB9FF","#549BFF","#3D78DB","#1A3D93"],u=["#EAFCD4","#8AE65B","#58D62A","#3DB81E","#137C0D"];return t==="dark"&&(i=["#1c2134","#1f294d","#243462","#273e83","#2c4db0","#305bdd","#567fe9","#80a4f4","#a9c5f8","#d2e2fb"],s=["#341d1b","#b03725","#dd3f27","#e9664d","#fbd6c9"],l=["#342a1a","#83631a","#dda116","#e9ba3a","#fbefb5"],d=["#202734","#416fb0","#4c88dd","#74a8e9","#ecf4fb"],u=["#1f2e1c","#449626","#4fba28","#74cf4d","#e3fbd2"]),{primary:{lighter:i[0],100:i[1],200:i[2],light:i[3],400:i[4],main:i[5],dark:i[6],700:i[7],darker:i[8],900:i[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:s[0],light:s[1],main:s[2],dark:s[3],darker:s[4],contrastText:o},warning:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},success:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},grey:r}}function tue(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let i=["#EEEDFC","#D5D1F8","#B9B2F3","#9C93EE","#877CEA","#7265E6","#6A5DE3","#5F53DF","#5549DB","#4237D5"],s=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],l=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],u=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(i=["#222130","#2b2946","#37335a","#443e78","#554ca0","#655ac8","#9186dd","#5F53DF","#c3baf4","#efecfb"],s=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],l=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],u=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:i[0],100:i[1],200:i[2],light:i[3],400:i[4],main:i[5],dark:i[6],700:i[7],darker:i[8],900:i[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:s[0],light:s[1],main:s[2],dark:s[3],darker:s[4],contrastText:o},warning:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},success:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},grey:r}}function nue(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let i=["#E6F3EC","#84c297","#5eb57d","#3da866","#1f9c53","#068e44","#006933","#004222","#001c0f","#000000"],s=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],l=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],u=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(i=["#1a231f","#173123","#174029","#13502f","#0e6737","#0a7d3e","#1f8f4e","#3ba162","#5cb07a","#82bf95"],s=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],l=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],u=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:i[0],100:i[1],200:i[2],light:i[3],400:i[4],main:i[5],dark:i[6],700:i[7],darker:i[8],900:i[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:s[0],light:s[1],main:s[2],dark:s[3],darker:s[4],contrastText:o},warning:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},success:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},grey:r}}function rue(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let i=["#f0f6ff","#edf4ff","#bed3f7","#8faeeb","#6488de","#3c64d0","#2947ab","#192f85","#0d1b5e","#070e38"],s=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],l=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],u=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(i=["#1d212d","#212841","#273353","#2c3e6e","#324c92","#385ab5","#5d7dcb","#89a7e1","#b9cef0","#e9f0fb"],s=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],l=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],u=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:i[0],100:i[1],200:i[2],light:i[3],400:i[4],main:i[5],dark:i[6],700:i[7],darker:i[8],900:i[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:s[0],light:s[1],main:s[2],dark:s[3],darker:s[4],contrastText:o},warning:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},success:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},grey:r}}function oue(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let i=["#fff4e6","#ffdfb8","#ffc98f","#ffb066","#ff943d","#f27013","#cc5206","#a63a00","#802800","#591900"],s=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],l=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],u=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(i=["#32221a","#4a2b18","#5e371b","#7d4319","#a85317","#d26415","#e9883a","#f4a962","#f8c48c","#fbdbb5"],s=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],l=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],u=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:i[0],100:i[1],200:i[2],light:i[3],400:i[4],main:i[5],dark:i[6],700:i[7],darker:i[8],900:i[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:s[0],light:s[1],main:s[2],dark:s[3],darker:s[4],contrastText:o},warning:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},success:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},grey:r}}function iue(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let i=["#e1f0ef","#c8e3e2","#9ad6d6","#71c6c9","#4bb5bd","#2aa1af","#1a7b8a","#0e5563","#06323d","#021217"],s=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],l=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],u=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(i=["#1c2628","#1d3539","#22454a","#23595f","#26737c","#288d99","#47a6ad","#6dbec0","#96d0d0","#c5dfde"],s=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],l=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],u=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:i[0],100:i[1],200:i[2],light:i[3],400:i[4],main:i[5],dark:i[6],700:i[7],darker:i[8],900:i[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:s[0],light:s[1],main:s[2],dark:s[3],darker:s[4],contrastText:o},warning:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},success:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},grey:r}}function sue(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let i=["#d1e8d99c","#8cdba9","#63cf8e","#3ec277","#1db564","#00a854","#008245","#005c34","#003620","#000f0a"],s=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],l=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],u=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(i=["#1a2721","#173728","#15472e","#115c36","#0b7841","#05934c","#1da65d","#3cba73","#61ca8b","#8ad7a6"],s=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],l=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],u=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:i[0],100:i[1],200:i[2],light:i[3],400:i[4],main:i[5],dark:i[6],700:i[7],darker:i[8],900:i[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:s[0],light:s[1],main:s[2],dark:s[3],darker:s[4],contrastText:o},warning:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},success:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},grey:r}}function aue(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let i=["#c1d6d066","#81c9b9","#5bbda9","#38b09c","#1aa391","#009688","#007069","#004a47","#002424","#000000"],s=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],l=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],u=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(i=["#1a2524","#173331","#15423e","#11544e","#0b6c63","#058478","#1a9686","#37a996","#59b8a5","#7fc6b6"],s=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],l=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],u=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:i[0],100:i[1],200:i[2],light:i[3],400:i[4],main:i[5],dark:i[6],700:i[7],darker:i[8],900:i[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:s[0],light:s[1],main:s[2],dark:s[3],darker:s[4],contrastText:o},warning:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},success:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},grey:r}}function lue(e,t,n){switch(t){case"theme1":return eue(e,n);case"theme2":return tue(e,n);case"theme3":return nue(e,n);case"theme4":return rue(e,n);case"theme5":return oue(e,n);case"theme6":return iue(e,n);case"theme7":return sue(e,n);case"theme8":return aue(e,n);default:return Jce(e)}}var Y0=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];Y0.primary=Y0[5];var K0=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];K0.primary=K0[5];var Z0=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];Z0.primary=Z0[5];var X0=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];X0.primary=X0[5];var Q0=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];Q0.primary=Q0[5];var J0=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];J0.primary=J0[5];var e6=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];e6.primary=e6[5];var t6=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];t6.primary=t6[5];var n6=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];n6.primary=n6[5];var r6=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];r6.primary=r6[5];var o6=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];o6.primary=o6[5];var i6=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];i6.primary=i6[5];var s6=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];s6.primary=s6[5];var cue={red:Y0,volcano:K0,orange:Z0,gold:X0,yellow:Q0,lime:J0,green:e6,cyan:t6,blue:n6,geekblue:r6,purple:o6,magenta:i6,grey:s6},a6=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];a6.primary=a6[5];var l6=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];l6.primary=l6[5];var c6=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];c6.primary=c6[5];var u6=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];u6.primary=u6[5];var d6=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];d6.primary=d6[5];var f6=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];f6.primary=f6[5];var p6=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];p6.primary=p6[5];var h6=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];h6.primary=h6[5];var g6=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];g6.primary=g6[5];var m6=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];m6.primary=m6[5];var v6=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];v6.primary=v6[5];var y6=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];y6.primary=y6[5];var b6=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];b6.primary=b6[5];var uue={red:a6,volcano:l6,orange:c6,gold:u6,yellow:d6,lime:f6,green:p6,cyan:h6,blue:g6,geekblue:m6,purple:v6,magenta:y6,grey:b6};function due(e,t){const n=e==="dark"?uue:cue;let r=["#ffffff","#fafafa","#f5f5f5","#f0f0f0","#d9d9d9","#bfbfbf","#8c8c8c","#595959","#262626","#141414","#000000"],o=["#fafafa","#bfbfbf","#434343","#1f1f1f"],i=["#fafafb","#e6ebf1"];e==="dark"&&(r=["#000000","#141414","#1e1e1e","#595959","#8c8c8c","#bfbfbf","#d9d9d9","#f0f0f0","#f5f5f5","#fafafa","#ffffff"],o=["#fafafa","#bfbfbf","#434343","#1f1f1f"],i=["#121212","#d3d8db"]),n.grey=[...r,...o,...i];const s=lue(n,t,e);return Q6({palette:{mode:e,common:{black:"#000",white:"#fff"},...s,text:{primary:e==="dark"?nt(s.grey[900],.87):s.grey[700],secondary:e==="dark"?nt(s.grey[900],.45):s.grey[500],disabled:e==="dark"?nt(s.grey[900],.1):s.grey[400]},action:{disabled:s.grey[300]},divider:e==="dark"?nt(s.grey[900],.05):s.grey[200],background:{paper:e==="dark"?s.grey[100]:s.grey[0],default:s.grey.A50}}})}function fue(e){return{button:e.palette.mode==="dark"?"0 2px 0 rgb(0 0 0 / 5%)":"0 2px #0000000b",text:"0 -1px 0 rgb(0 0 0 / 12%)",z0:"none",z1:e.palette.mode==="dark"?"0px 1px 1px rgb(0 0 0 / 14%), 0px 2px 1px rgb(0 0 0 / 12%), 0px 1px 3px rgb(0 0 0 / 20%)":`0px 1px 4px ${nt(e.palette.grey[900],.08)}`,primary:`0 0 0 2px ${nt(e.palette.primary.main,.2)}`,secondary:`0 0 0 2px ${nt(e.palette.secondary.main,.2)}`,error:`0 0 0 2px ${nt(e.palette.error.main,.2)}`,warning:`0 0 0 2px ${nt(e.palette.warning.main,.2)}`,info:`0 0 0 2px ${nt(e.palette.info.main,.2)}`,success:`0 0 0 2px ${nt(e.palette.success.main,.2)}`,grey:`0 0 0 2px ${nt(e.palette.grey[500],.2)}`,primaryButton:`0 14px 12px ${nt(e.palette.primary.main,.2)}`,secondaryButton:`0 14px 12px ${nt(e.palette.secondary.main,.2)}`,errorButton:`0 14px 12px ${nt(e.palette.error.main,.2)}`,warningButton:`0 14px 12px ${nt(e.palette.warning.main,.2)}`,infoButton:`0 14px 12px ${nt(e.palette.info.main,.2)}`,successButton:`0 14px 12px ${nt(e.palette.success.main,.2)}`,greyButton:`0 14px 12px ${nt(e.palette.grey[500],.2)}`}}function pue(e){return{htmlFontSize:16,fontFamily:e,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:500,fontWeightBold:600,h1:{fontWeight:600,fontSize:"2.375rem",lineHeight:1.21},h2:{fontWeight:600,fontSize:"1.875rem",lineHeight:1.27},h3:{fontWeight:600,fontSize:"1.5rem",lineHeight:1.33},h4:{fontWeight:600,fontSize:"1.25rem",lineHeight:1.4},h5:{fontWeight:600,fontSize:"1rem",lineHeight:1.5},h6:{fontWeight:400,fontSize:"0.875rem",lineHeight:1.57},caption:{fontWeight:400,fontSize:"0.75rem",lineHeight:1.66},body1:{fontSize:"0.875rem",lineHeight:1.57},body2:{fontSize:"0.75rem",lineHeight:1.66},subtitle1:{fontSize:"0.875rem",fontWeight:600,lineHeight:1.57},subtitle2:{fontSize:"0.75rem",fontWeight:500,lineHeight:1.66},overline:{lineHeight:1.66},button:{textTransform:"capitalize"}}}function Wp({themeOverrides:e,children:t}){const n=jn(),{themeDirection:r,mode:o,presetColor:i,fontFamily:s}=n,l=zC(),d=P.useMemo(()=>o==="auto"?l:o,[o,l]),u=P.useMemo(()=>due(d,i),[d,i]),p=P.useMemo(()=>pue(s),[s]),g=P.useMemo(()=>fue(u),[u]),h=P.useMemo(()=>Q.merge({breakpoints:{values:{xs:0,sm:768,md:1024,lg:1266,xl:1440}},direction:r,mixins:{toolbar:{minHeight:60,paddingTop:8,paddingBottom:8}},palette:u.palette,customShadows:g,typography:p,components:{MuiIconButton:{styleOverrides:{sizeExtraSmall:{width:u.spacing(2.6875),height:u.spacing(2.6875),fontSize:"0.625rem"}}}}},typeof e=="function"?e(u):e),[r,u,p,g,e]),m=Q6(h),v=Q.cloneDeep(m.components??{});return m.components=Q.merge(Qce(m),v),f.jsx(E.StyledEngineProvider,{injectFirst:!0,children:f.jsxs(jy,{theme:m,children:[f.jsx(E.CssBaseline,{enableColorScheme:!0}),t]})})}function hue({children:e,theme:t,...n}){return f.jsx(z.CoreAdminContext,{...n,children:f.jsx(Wp,{themeOverrides:t,children:f.jsx(eA,{children:e})})})}function oA(e){const{authProvider:t,catchAll:n,children:r,dashboard:o,dataProvider:i,disableTelemetry:s,history:l,i18nProvider:d,layout:u,loading:p,loginPage:g,authCallbackPage:h,menu:m,notification:v,queryClient:b,requireAuth:x,store:S=z.localStorageStore(),ready:I,theme:w,title:T="React Admin"}=e;return f.jsx(hue,{authProvider:t,dataProvider:i,i18nProvider:d,store:S,history:l,queryClient:b,theme:w,children:f.jsx(z.AdminUI,{layout:u,dashboard:o,disableTelemetry:s,menu:m,catchAll:n,title:T,loading:p,loginPage:g,authCallbackPage:h,notification:v,requireAuth:x,ready:I,children:r})})}class iA{constructor({catch:t,display:n,log:r,error:o}){Qa(this,"catch");Qa(this,"display");Qa(this,"log");Qa(this,"error");this.catch=t,this.display=n,this.log=r,this.error=o}isCatched(){return this.catch}logError(){return this.log}displayError(){return this.display}}var Ul,Hl,oa;class gue{constructor(t){Dr(this,Ul);Dr(this,Hl);Dr(this,oa,new Set);const{apiUrl:n}=t??{};if(!Q.isString(n)||Q.isEmpty(n))throw new Error("[ErrorMessageHandler] constructor: please provide a valid apiUrl");Hr(this,Hl,n),Hr(this,Ul,new Headers({Accept:"application/json","Content-Type":"application/json"}))}handle(t){var l;const{message:n,filename:r,lineno:o,colno:i}=t,s=`${n}${r}${o}${i}`;cn(this,oa).has(s)||(cn(this,oa).add(s),fetch(`${cn(this,Hl)}/ui/error-log`,{method:"PUT",headers:cn(this,Ul),body:JSON.stringify({filename:t.filename,message:t.message,line:t.lineno,column:t.colno,stack:(l=t.error)==null?void 0:l.stack})}).catch(d=>{console.warn("Unable to send error to server",d),cn(this,oa).delete(s)}))}}Ul=new WeakMap,Hl=new WeakMap,oa=new WeakMap;function mue({enabled:e=!0,apiUrl:t,loading:n,catcherFn:r=i=>new iA({catch:i!=null,display:!1,log:i!=null,error:i}),...o}){const i=B.useMemo(()=>o.errorHandler?o.errorHandler:new gue({apiUrl:t}),[t,o.errorHandler]),s=console.error,l=B.useCallback(function(d,...u){var g;if(!d)return!1;const p=r(d instanceof ErrorEvent?d:(g=d==null?void 0:d.toString())==null?void 0:g.replace(/%s/g,()=>u.shift()));return p.isCatched()||(p.logError()&&(d instanceof ErrorEvent?i.handle(d):i.handle(new ErrorEvent("window.onerror",{error:d,message:d.toString()}))),p.displayError()&&s.apply(console,arguments)),!1},[r,i,s]);return B.useEffect(()=>(window.removeEventListener("error",l),window.addEventListener("error",l),console.error=l,()=>{window.removeEventListener("error",l),console.error=s}),[l,s]),!0}var Gl,ql,Ui;class vue{constructor(t){Dr(this,Gl);Dr(this,ql);Dr(this,Ui,[]);const{apiUrl:n}=t??{};if(!Q.isString(n)||Q.isEmpty(n))throw new Error("[MissingMessageHandler] constructor: please provide a valid apiUrl");Hr(this,ql,n),Hr(this,Gl,new Headers({Accept:"application/json","Content-Type":"application/json"}))}handleMessage(t){if(!Q.isPlainObject(t))throw new Error("[MissingMessageHandler] handleMessage: please provide valid message data");const{code:n,lang:r}=t;if(!Q.isString(n)||Q.isEmpty(n))throw new Error("[MissingMessageHandler] handleMessage: please provide valid code");if(!Q.isString(r)||Q.isEmpty(r))throw new Error("[MissingMessageHandler] handleMessage: please provide valid lang");if(!Q.some(cn(this,Ui),o=>Q.isEqual(o,{code:n,lang:r}))){cn(this,Ui).push({code:n,lang:r}),fetch(`${cn(this,ql)}/i18n/message`,{method:"put",headers:cn(this,Gl),body:JSON.stringify({code:n,lang:r,text:n})}).then(o=>o.json()).then(()=>{console.log(`[MissingMessageHandler] handleMessage: created message for lang ${r} and code ${n}`)}).catch(o=>{console.error(o),Hr(this,Ui,Q.reject(cn(this,Ui),i=>Q.isEqual(i,{code:n,lang:r})))});return}}}Gl=new WeakMap,ql=new WeakMap,Ui=new WeakMap;function sA(e){const{apiUrl:t,defaultLocale:n,allowMissing:r=!1,createMissing:o=!1}=e,i=[{locale:n,name:n}],s=new Headers({Accept:"application/json","Content-Type":"application/json"}),l=new vue({apiUrl:t});function d(){return fetch(`${t}/i18n/languages`,{headers:s,method:"get"}).then(g=>g.json()).catch(()=>Promise.resolve(i))}function u(){return fetch(`${t}/i18n/messages`,{headers:s,method:"get"}).then(g=>g.json()).then(g=>g.reduce((h,m)=>({...h,[m.lang]:{...h[m.lang]||{},[m.code]:m.text}}),{}))}function p(g,h,m){return r||console.error(`Warning: Missing translation for key: "${g}"`),o&&(Q.isString(g)?g.match(new RegExp(/[\s[\]]/,"gm"))?console.error(`[createI18nProvider] onMissingKey: illegal character in key ${g}`):l.handleMessage({code:g,lang:m}):console.error("[createI18nProvider] onMissingKey: provided key is not a string")),g}return Promise.all([d(),u()]).then(g=>{const[h,m]=g;function v(b){return Q.get(m,b,{})}return l9(v,n,h,{allowMissing:r||o,onMissingKey:p})})}function yue(e){const{locales:t,defaultLocale:n,path:r}=e,o=new Headers({Accept:"application/json","Content-Type":"application/json"});function i(s){return fetch(`${r}/${s.locale}.json`,{headers:o,method:"get"}).then(l=>l.json()).then(l=>l.reduce((d,u)=>({...d,[u.lang]:{...d[u.lang]||{},[u.code]:u.text}}),{}))}return Promise.all(t.map(i)).then(s=>Q.reduce(s,(l,d)=>({...l,...d}),{})).then(s=>{function l(d){return Q.get(s,d,{})}return l9(l,n,t,{allowMissing:!0})})}function bue({apiUrl:e,endpoint:t="/languages/load",mapper:n=({data:r})=>({data:r})}){const[r,o]=P.useState({loading:!0,languages:null});return P.useEffect(()=>{const i=new Headers;i.append("Accept","application/json"),i.append("Content-Type","application/json"),fetch(`${e}${t}`,{headers:i}).then(s=>s.json()).then(s=>o({loading:!1,...n(s)}))},[e,t,n]),r}function aA(e){const[t,n]=P.useState(),r=VC(e);return P.useEffect(()=>{if(e.customProvider!==void 0){e.customProvider.then(n);return}sA(r).then(o=>{n(o)}).catch(()=>{n({error:!0})})},[r,e==null?void 0:e.customProvider]),t}const Cue=new Hi.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1}}});function xue({theme:e,themeConfig:t,apiUrl:n,defaultLocale:r="en",development:o=!1,logoMain:i,logoIcon:s,loginPage:l=f.jsx(rA,{version:"0.0.0",name:"Applica",redirectTo:"/",background:f.jsx(C3,{})}),menu:d,name:u,copy:p,version:g="0.0.0",dataProvider:h,authProvider:m,i18nProvider:v,errorHandler:b,error:x,enableNotification:S=!1,enableRegistration:I=!1,enablePasswordRecover:w=!1,enableThemeToggler:T=!1,enableLocaleSwitcher:O=!1,oauth:j={},queryClient:M=Cue,background:F,notificationAPI:N="entities/notification",...k}){var Y;mue({apiUrl:n,errorHandler:b,catcherFn:V=>{const Z=V==null?void 0:V.toString(),se=["Invalid prop `file` of type `string` supplied to `FileInputPreview`, expected `object`.","Failed prop type: Invalid prop `checked` of type `string` supplied to `ForwardRef(Switch)`, expected `boolean`.","Failed prop type: Invalid prop `checked` of type `string` supplied to `ForwardRef(SwitchBase)`, expected `boolean`.","Support for defaultProps will be removed from function components in a future major release.","validateDOMNesting(...): <form> cannot appear as a descendant of <form>.","Missing translation for key:","HttpError: "].some($=>Z==null?void 0:Z.includes($));return new iA({catch:se,display:!se,log:!se&&o===!0,error:Z})}});const _=P.useMemo(()=>P.isValidElement(l)?P.cloneElement(l,{name:u,copy:p,logo:i,version:g,background:F,enableRegistration:I,enablePasswordRecover:w,oauth:j}):l,[l,u,g,p,F,i,I,w,j]),H=P.useMemo(()=>V=>{const Z=u?f.jsx(Vp,{title:u}):i,W=u?f.jsx(tA,{title:u}):s;return f.jsx(US,{...V,name:u,copy:p,version:g,logoMain:Z,logoIcon:W,notification:N,enableThemeToggler:T,enableNotification:S,enableLocaleSwitcher:O,error:x})},[i,s,u,p,g,x,N,S,T,O]),U=aA({apiUrl:n,defaultLocale:r,allowMissing:o,createMissing:o,customProvider:v});if(U===void 0)return f.jsx(f.Fragment,{});if(U.error)return f.jsx(N0,{initialConfig:t,children:f.jsx(Wp,{themeOverrides:e,children:f.jsx(nA,{})})});const G=f.jsx(Ooe,{children:f.jsx(bC,{menu:d,children:f.jsx(N0,{initialConfig:t,children:f.jsx(oA,{theme:e,layout:H,notification:qS,queryClient:M,dataProvider:h,authProvider:m,i18nProvider:U,loginPage:_,...k})})})});return(Y=j.google)!=null&&Y.clientId?f.jsx(xoe,{clientId:j.google.clientId,children:G}):G}Object.defineProperty(exports,"ArrayField",{enumerable:!0,get:()=>z.ArrayField});Object.defineProperty(exports,"ArrayInputContext",{enumerable:!0,get:()=>z.ArrayInputContext});Object.defineProperty(exports,"BooleanField",{enumerable:!0,get:()=>z.BooleanField});Object.defineProperty(exports,"ChipField",{enumerable:!0,get:()=>z.ChipField});Object.defineProperty(exports,"Confirm",{enumerable:!0,get:()=>z.Confirm});Object.defineProperty(exports,"CreateContextProvider",{enumerable:!0,get:()=>z.CreateContextProvider});Object.defineProperty(exports,"CustomRoutes",{enumerable:!0,get:()=>z.CustomRoutes});Object.defineProperty(exports,"DeleteWithUndoButton",{enumerable:!0,get:()=>z.DeleteWithUndoButton});Object.defineProperty(exports,"EditButton",{enumerable:!0,get:()=>z.EditButton});Object.defineProperty(exports,"EditContextProvider",{enumerable:!0,get:()=>z.EditContextProvider});Object.defineProperty(exports,"FieldTitle",{enumerable:!0,get:()=>z.FieldTitle});Object.defineProperty(exports,"FilterButton",{enumerable:!0,get:()=>z.FilterButton});Object.defineProperty(exports,"FilterList",{enumerable:!0,get:()=>z.FilterList});Object.defineProperty(exports,"FilterListItem",{enumerable:!0,get:()=>z.FilterListItem});Object.defineProperty(exports,"FilterLiveSearch",{enumerable:!0,get:()=>z.FilterLiveSearch});Object.defineProperty(exports,"Form",{enumerable:!0,get:()=>z.Form});Object.defineProperty(exports,"FormDataConsumer",{enumerable:!0,get:()=>z.FormDataConsumer});Object.defineProperty(exports,"HttpError",{enumerable:!0,get:()=>z.HttpError});Object.defineProperty(exports,"I18nContextProvider",{enumerable:!0,get:()=>z.I18nContextProvider});Object.defineProperty(exports,"ListBase",{enumerable:!0,get:()=>z.ListBase});Object.defineProperty(exports,"LoadingIndicator",{enumerable:!0,get:()=>z.LoadingIndicator});Object.defineProperty(exports,"RaSimpleFormIterator",{enumerable:!0,get:()=>z.SimpleFormIterator});Object.defineProperty(exports,"RecordContextProvider",{enumerable:!0,get:()=>z.RecordContextProvider});Object.defineProperty(exports,"ReferenceArrayField",{enumerable:!0,get:()=>z.ReferenceArrayField});Object.defineProperty(exports,"ReferenceField",{enumerable:!0,get:()=>z.ReferenceField});Object.defineProperty(exports,"Resource",{enumerable:!0,get:()=>z.Resource});Object.defineProperty(exports,"ResourceContextProvider",{enumerable:!0,get:()=>z.ResourceContextProvider});Object.defineProperty(exports,"SaveButton",{enumerable:!0,get:()=>z.SaveButton});Object.defineProperty(exports,"SavedQueriesList",{enumerable:!0,get:()=>z.SavedQueriesList});Object.defineProperty(exports,"SimpleFormIteratorContext",{enumerable:!0,get:()=>z.SimpleFormIteratorContext});Object.defineProperty(exports,"SimpleShowLayout",{enumerable:!0,get:()=>z.SimpleShowLayout});Object.defineProperty(exports,"SingleFieldList",{enumerable:!0,get:()=>z.SingleFieldList});Object.defineProperty(exports,"TabbedFormTabs",{enumerable:!0,get:()=>z.TabbedFormTabs});Object.defineProperty(exports,"UrlField",{enumerable:!0,get:()=>z.UrlField});Object.defineProperty(exports,"ValidationError",{enumerable:!0,get:()=>z.ValidationError});Object.defineProperty(exports,"WithListContext",{enumerable:!0,get:()=>z.WithListContext});Object.defineProperty(exports,"choices",{enumerable:!0,get:()=>z.choices});Object.defineProperty(exports,"downloadCSV",{enumerable:!0,get:()=>z.downloadCSV});Object.defineProperty(exports,"email",{enumerable:!0,get:()=>z.email});Object.defineProperty(exports,"maxLength",{enumerable:!0,get:()=>z.maxLength});Object.defineProperty(exports,"maxValue",{enumerable:!0,get:()=>z.maxValue});Object.defineProperty(exports,"minLength",{enumerable:!0,get:()=>z.minLength});Object.defineProperty(exports,"minValue",{enumerable:!0,get:()=>z.minValue});Object.defineProperty(exports,"number",{enumerable:!0,get:()=>z.number});Object.defineProperty(exports,"regex",{enumerable:!0,get:()=>z.regex});Object.defineProperty(exports,"required",{enumerable:!0,get:()=>z.required});Object.defineProperty(exports,"useArrayInput",{enumerable:!0,get:()=>z.useArrayInput});Object.defineProperty(exports,"useAuthProvider",{enumerable:!0,get:()=>z.useAuthProvider});Object.defineProperty(exports,"useCheckAuth",{enumerable:!0,get:()=>z.useCheckAuth});Object.defineProperty(exports,"useChoices",{enumerable:!0,get:()=>z.useChoices});Object.defineProperty(exports,"useChoicesContext",{enumerable:!0,get:()=>z.useChoicesContext});Object.defineProperty(exports,"useCreate",{enumerable:!0,get:()=>z.useCreate});Object.defineProperty(exports,"useCreateContext",{enumerable:!0,get:()=>z.useCreateContext});Object.defineProperty(exports,"useCreateController",{enumerable:!0,get:()=>z.useCreateController});Object.defineProperty(exports,"useCreateSuggestionContext",{enumerable:!0,get:()=>z.useCreateSuggestionContext});Object.defineProperty(exports,"useDataProvider",{enumerable:!0,get:()=>z.useDataProvider});Object.defineProperty(exports,"useDeleteMany",{enumerable:!0,get:()=>z.useDeleteMany});Object.defineProperty(exports,"useEditContext",{enumerable:!0,get:()=>z.useEditContext});Object.defineProperty(exports,"useEditController",{enumerable:!0,get:()=>z.useEditController});Object.defineProperty(exports,"useGetIdentity",{enumerable:!0,get:()=>z.useGetIdentity});Object.defineProperty(exports,"useGetList",{enumerable:!0,get:()=>z.useGetList});Object.defineProperty(exports,"useGetMany",{enumerable:!0,get:()=>z.useGetMany});Object.defineProperty(exports,"useGetManyReference",{enumerable:!0,get:()=>z.useGetManyReference});Object.defineProperty(exports,"useGetOne",{enumerable:!0,get:()=>z.useGetOne});Object.defineProperty(exports,"useInput",{enumerable:!0,get:()=>z.useInput});Object.defineProperty(exports,"useListContext",{enumerable:!0,get:()=>z.useListContext});Object.defineProperty(exports,"useListController",{enumerable:!0,get:()=>z.useListController});Object.defineProperty(exports,"useLocaleState",{enumerable:!0,get:()=>z.useLocaleState});Object.defineProperty(exports,"useLocales",{enumerable:!0,get:()=>z.useLocales});Object.defineProperty(exports,"useLogin",{enumerable:!0,get:()=>z.useLogin});Object.defineProperty(exports,"useLogout",{enumerable:!0,get:()=>z.useLogout});Object.defineProperty(exports,"useNotify",{enumerable:!0,get:()=>z.useNotify});Object.defineProperty(exports,"usePermissions",{enumerable:!0,get:()=>z.usePermissions});Object.defineProperty(exports,"useRecordContext",{enumerable:!0,get:()=>z.useRecordContext});Object.defineProperty(exports,"useReferenceArrayFieldController",{enumerable:!0,get:()=>z.useReferenceArrayFieldController});Object.defineProperty(exports,"useRefresh",{enumerable:!0,get:()=>z.useRefresh});Object.defineProperty(exports,"useRemoveFromStore",{enumerable:!0,get:()=>z.useRemoveFromStore});Object.defineProperty(exports,"useResetStore",{enumerable:!0,get:()=>z.useResetStore});Object.defineProperty(exports,"useResourceContext",{enumerable:!0,get:()=>z.useResourceContext});Object.defineProperty(exports,"useResourceDefinition",{enumerable:!0,get:()=>z.useResourceDefinition});Object.defineProperty(exports,"useResourceDefinitions",{enumerable:!0,get:()=>z.useResourceDefinitions});Object.defineProperty(exports,"useSafeSetState",{enumerable:!0,get:()=>z.useSafeSetState});Object.defineProperty(exports,"useSaveContext",{enumerable:!0,get:()=>z.useSaveContext});Object.defineProperty(exports,"useShowContext",{enumerable:!0,get:()=>z.useShowContext});Object.defineProperty(exports,"useShowController",{enumerable:!0,get:()=>z.useShowController});Object.defineProperty(exports,"useSimpleFormIterator",{enumerable:!0,get:()=>z.useSimpleFormIterator});Object.defineProperty(exports,"useSimpleFormIteratorItem",{enumerable:!0,get:()=>z.useSimpleFormIteratorItem});Object.defineProperty(exports,"useStore",{enumerable:!0,get:()=>z.useStore});Object.defineProperty(exports,"useStoreContext",{enumerable:!0,get:()=>z.useStoreContext});Object.defineProperty(exports,"useTranslate",{enumerable:!0,get:()=>z.useTranslate});Object.defineProperty(exports,"useTranslateLabel",{enumerable:!0,get:()=>z.useTranslateLabel});Object.defineProperty(exports,"useUnselect",{enumerable:!0,get:()=>z.useUnselect});Object.defineProperty(exports,"useUnselectAll",{enumerable:!0,get:()=>z.useUnselectAll});Object.defineProperty(exports,"useUpdate",{enumerable:!0,get:()=>z.useUpdate});Object.defineProperty(exports,"useUpdateMany",{enumerable:!0,get:()=>z.useUpdateMany});Object.defineProperty(exports,"withLifecycleCallbacks",{enumerable:!0,get:()=>z.withLifecycleCallbacks});exports.ActionsField=Roe;exports.ActionsMenu=ui;exports.ActivatePage=ece;exports.ActiveFiltersChips=V0;exports.AddTableRow=jp;exports.Admin=oA;exports.AnimateButton=RD;exports.AppBarStyled=ES;exports.ApplicaAdmin=xue;exports.ArrayInput=joe;exports.AttachmentField=ox;exports.AttachmentInput=px;exports.AuthBackground=C3;exports.AutocompleteArrayInput=nie;exports.AutocompleteInput=oie;exports.Avatar=du;exports.BooleanInput=sie;exports.Breadcrumbs=_y;exports.BulkActionsToolbar=hx;exports.BulkDeleteWithConfirmButton=GC;exports.BulkFloatingActionsToolbar=_ie;exports.Button=os;exports.CardForm=HC;exports.ChangePasswordButton=RS;exports.ChangePasswordForm=Ep;exports.CircularWithLabel=Dz;exports.CircularWithPath=Fz;exports.CoverField=sx;exports.Create=Bse;exports.CreateButton=YC;exports.CreateButtonClasses=Du;exports.CreateInDialogButton=Gre;exports.Datagrid=vx;exports.DateAgoField=lx;exports.DateField=$oe;exports.DateInput=cie;exports.DateTimeInput=die;exports.DeleteWithConfirmButton=is;exports.Dot=l2;exports.Drawer=AS;exports.DrawerHeader=gw;exports.DrawerHeaderStyled=pw;exports.DrawerToggle=OS;exports.Edit=Vse;exports.EditInDialogButton=Kre;exports.EmailField=zoe;exports.Empty=f1;exports.EmptyClasses=si;exports.Error=ep;exports.Field=rw;exports.FileField=cx;exports.FileInput=pie;exports.FilterSidebar=qc;exports.FilterSidebarButton=sse;exports.FilterSidebarContext=wp;exports.Footer=Np;exports.FormHeader=Use;exports.FunctionField=$0;exports.GenericErrorPage=nA;exports.GoogleLoginButton=JC;exports.Header=PS;exports.HeaderButton=TS;exports.HeaderIconButton=I1e;exports.HeaderNotification=jS;exports.HeaderProfile=_S;exports.HeaderSpacer=FS;exports.HeaderToggleButton=Ra;exports.HorizontalBar=LS;exports.IconButton=ba;exports.ImageAttachmentField=ux;exports.ImageAttachmentInput=hie;exports.ImageField=ix;exports.ImageInput=vie;exports.ImpersonateUserButton=Toe;exports.LabeledArrayInput=rx;exports.LabeledInput=on;exports.Layout=US;exports.LayoutContent=fw;exports.LayoutProvider=cw;exports.LayoutWrapper=WS;exports.LinearWithIcon=Lz;exports.LinearWithLabel=Bz;exports.List=bse;exports.ListItem=Q1e;exports.ListTabsToolbar=z0;exports.ListToolbar=Ap;exports.ListViewProvider=Ax;exports.Loadable=N1e;exports.Loader=GS;exports.LoadingButton=Ky;exports.LocalStorage=_C;exports.LocaleButton=IS;exports.LocalizedTextField=Hoe;exports.LocalizedTextInput=Cie;exports.LoginPage=rA;exports.Logo=hw;exports.LogoutButton=MS;exports.LongForm=zt;exports.MainCard=Nn;exports.MainIcon=Vp;exports.MenuConfigProvider=bC;exports.MenuPopover=Qy;exports.NavCollapse=Pl;exports.NavGroup=NS;exports.NavItem=Ol;exports.NavList=$S;exports.NavMenu=BS;exports.Navigation=VS;exports.Notification=qS;exports.NotificationList=Sse;exports.NumberInput=wie;exports.OnboardingActionType=ra;exports.OnboardingContext=zp;exports.OnboardingModes=Wl;exports.OnboardingProvider=H1e;exports.OnboardingTip=K1e;exports.Pagination=k3;exports.PaginationActions=xp;exports.PopupTransition=_z;exports.RadioButtonGroupInput=Aie;exports.ReadonlyField=Koe;exports.RecordInput=Eie;exports.RecoverPage=tce;exports.ReferenceArrayInput=Tie;exports.ReferenceInput=Iie;exports.ReferenceLookupInput=Ese;exports.ReferenceManyField=fx;exports.ReferenceManyInput=Ise;exports.ReferenceManyLookupInput=Tse;exports.RegisterPage=nce;exports.RemoveSavedQueryDialog=xx;exports.ResponsiveSection=DS;exports.SaveFiltersButton=Cx;exports.SaveFiltersDialog=bx;exports.SavedFiltersList=wx;exports.ScrollTop=eA;exports.ScrollX=Z1e;exports.SearchInput=Cp;exports.SelectArrayInput=Pse;exports.SelectInput=Rse;exports.SessionStorage=FC;exports.ShadowBox=X1e;exports.Show=sae;exports.Sidebar=xr;exports.SimpleBar=SS;exports.SimpleForm=yp;exports.SimpleFormIterator=lae;exports.SimpleList=Ase;exports.SizeField=Qoe;exports.SmallIcon=tA;exports.SmartTextInput=Mse;exports.StopImpersonateButton=kS;exports.StyledArrow=Zy;exports.TabbedForm=Pp;exports.TableCreateButton=Mp;exports.TableFormIterator=D3;exports.TableFormIteratorContext=kp;exports.TableFormIteratorItem=iw;exports.TableFormIteratorItemContext=Rp;exports.TextField=dx;exports.TextInput=Sr;exports.ThemeColor=$p;exports.ThemeContext=pp;exports.ThemeCustomizationProvider=Wp;exports.ThemeProvider=N0;exports.ThemeToggler=zS;exports.TimeInput=Fse;exports.Toolbar=gi;exports.Tooltip=b3;exports.TopToolbar=HS;exports.Transitions=ci;exports.WizardForm=aw;exports.createI18nProvider=sA;exports.createJsonI18nProvider=yue;exports.getLocalizedValue=up;exports.getPosition=Xy;exports.getThemeColor=hn;exports.getThemeShadow=ya;exports.localizedValueHasAllLocales=ku;exports.localizedValueHasAtLeastOneLocale=DC;exports.onboardingModesSchema=KS;exports.onboardingTopicSchema=YS;exports.parseTime=NC;exports.useBreadcrumbs=CC;exports.useDialogState=np;exports.useGetChipValue=Sp;exports.useGetLocalizedValue=Cre;exports.useI18nLanguages=bue;exports.useI18nProvider=aA;exports.useIsEnabledSidebarFilter=yx;exports.useLayoutContext=_p;exports.useLayoutDispatch=Eae;exports.useLayoutDrawerState=as;exports.useLayoutLogoState=dw;exports.useLayoutMediaState=ir;exports.useLayoutNotificationsState=L3;exports.useLayoutState=Pa;exports.useLayoutThemeState=Tae;exports.useListViewContext=_3;exports.useLocalStorage=dp;exports.useLocalizedValue=bre;exports.useMemoizedObject=VC;exports.useMenu=tp;exports.useMenuConfig=Vl;exports.useMenuContext=I3;exports.useOnboardingDataProvider=ZS;exports.useOnboardingTip=JS;exports.usePopoverState=Ta;exports.useRefDimensions=xre;exports.useResourceDefaultValues=Nse;exports.useResourceTitle=fp;exports.useRestartOnboarding=q1e;exports.useSessionStorage=B0;exports.useSx=$r;exports.useSystemTheme=zC;exports.useTableFormIterator=ow;exports.useTableFormIteratorItem=nw;exports.useThemeConfig=jn;exports.useThemeContext=hp;exports.useUuid=WC;exports.useWizardFormContext=F3;exports.uuid=_0;exports.walkChildren=R3;exports.withLayoutProvider=uw;
626
626
  //# sourceMappingURL=react-admin.cjs.js.map