(function(){"use strict";try{if(typeof document<"u"){var l=document.createElement("style");l.appendChild(document.createTextNode(':root{--wallet-lib-core_18owxaz0: #D8446E;--wallet-lib-core_18owxaz1: #0050C3;--wallet-lib-core_18owxaz2: #00409C;--wallet-lib-core_18owxaz3: #003889;--wallet-lib-core_18owxaz4: #002861;--wallet-lib-core_18owxaz5: #000814;--wallet-lib-core_18owxaz6: #F2F6FC;--wallet-lib-core_18owxaz7: #FFFFFF;--wallet-lib-core_18owxaz8: #F6F6F6;--wallet-lib-core_18owxaz9: #E7E7E7;--wallet-lib-core_18owxaza: #D1D1D1;--wallet-lib-core_18owxazb: #B0B0B0;--wallet-lib-core_18owxazc: #888888;--wallet-lib-core_18owxazd: #777777;--wallet-lib-core_18owxaze: #5D5D5D;--wallet-lib-core_18owxazf: #343537;--wallet-lib-core_18owxazg: #0A0A0A;--wallet-lib-core_18owxazh: #6D6D6D;--wallet-lib-core_18owxazi: #C80003;--wallet-lib-core_18owxazj: #FEDEDE;--wallet-lib-core_18owxazk: #530001;--wallet-lib-core_18owxazl: #00C87B;--wallet-lib-core_18owxazm: #FFFFFF;--wallet-lib-core_18owxazn: currentcolor;--wallet-lib-core_18owxazo: color-mix(in srgb, currentcolor 10%, transparent);--wallet-lib-core_18owxazp: color-mix(in srgb, currentcolor 50%, transparent);--wallet-lib-core_18owxazq: rgba(48, 49, 48, .42);--wallet-lib-core_18owxazr: 16px;--wallet-lib-core_18owxazs: 12px;--wallet-lib-core_18owxazt: 16px;--wallet-lib-core_18owxazu: 14px;--wallet-lib-core_18owxazv: 10px;--wallet-lib-core_18owxazw: 12px;--wallet-lib-core_18owxazx: 4px;--wallet-lib-core_18owxazy: 6px;--wallet-lib-core_18owxazz: 8px;--wallet-lib-core_18owxaz10: 12px;--wallet-lib-core_18owxaz11: 16px;--wallet-lib-core_18owxaz12: 18px;--wallet-lib-core_18owxaz13: 24px;--wallet-lib-core_18owxaz14: 32px;--wallet-lib-core_18owxaz15: unset;--wallet-lib-core_18owxaz16: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;--wallet-lib-core_18owxaz17: 400;--wallet-lib-core_18owxaz18: 500;--wallet-lib-core_18owxaz19: 700;--wallet-lib-core_18owxaz1a: 600;--wallet-lib-core_18owxaz1b: 340px;--wallet-lib-core_18owxaz1c: 190px}.wallet-lib-core_18owxaz1d{font-size:var(--wallet-lib-core_18owxazs);line-height:var(--wallet-lib-core_18owxazt)}.wallet-lib-core_18owxaz1e{color:var(--wallet-lib-core_18owxaze)}.wallet-lib-core_19vhn320{display:flex;flex-direction:column}.wallet-lib-core_19vhn321{display:flex;flex-direction:row}.wallet-lib-core_19vhn322{display:flex;flex-direction:row;width:100%}.wallet-lib-core_19vhn323{gap:var(--wallet-lib-core_18owxazy)}.wallet-lib-core_1q2fgur0{padding:var(--wallet-lib-core_18owxazx)}.wallet-lib-core_1q2fgur1{padding:var(--wallet-lib-core_18owxazy)}.wallet-lib-core_1q2fgur2{padding:var(--wallet-lib-core_18owxaz12)}.wallet-lib-core_1q2fgur3{padding:var(--wallet-lib-core_18owxazz)}.wallet-lib-core_1q2fgur4{padding:var(--wallet-lib-core_18owxaz10)}.wallet-lib-core_1q2fgur5{padding:var(--wallet-lib-core_18owxaz11)}.wallet-lib-core_1q2fgur6{padding:var(--wallet-lib-core_18owxaz13)}.wallet-lib-core_1q2fgur7{padding:var(--wallet-lib-core_18owxaz14)}.wallet-lib-core_1q2fgur8{padding-top:var(--wallet-lib-core_18owxazx)}.wallet-lib-core_1q2fgur9{padding-top:var(--wallet-lib-core_18owxazy)}.wallet-lib-core_1q2fgura{padding-top:var(--wallet-lib-core_18owxaz12)}.wallet-lib-core_1q2fgurb{padding-top:var(--wallet-lib-core_18owxazz)}.wallet-lib-core_1q2fgurc{padding-top:var(--wallet-lib-core_18owxaz10)}.wallet-lib-core_1q2fgurd{padding-top:var(--wallet-lib-core_18owxaz11)}.wallet-lib-core_1q2fgure{padding-top:var(--wallet-lib-core_18owxaz13)}.wallet-lib-core_1q2fgurf{padding-top:var(--wallet-lib-core_18owxaz14)}.wallet-lib-core_1q2fgurg{padding-right:var(--wallet-lib-core_18owxazx)}.wallet-lib-core_1q2fgurh{padding-right:var(--wallet-lib-core_18owxazy)}.wallet-lib-core_1q2fguri{padding-right:var(--wallet-lib-core_18owxaz12)}.wallet-lib-core_1q2fgurj{padding-right:var(--wallet-lib-core_18owxazz)}.wallet-lib-core_1q2fgurk{padding-right:var(--wallet-lib-core_18owxaz10)}.wallet-lib-core_1q2fgurl{padding-right:var(--wallet-lib-core_18owxaz11)}.wallet-lib-core_1q2fgurm{padding-right:var(--wallet-lib-core_18owxaz13)}.wallet-lib-core_1q2fgurn{padding-right:var(--wallet-lib-core_18owxaz14)}.wallet-lib-core_1q2fguro{padding-top:var(--wallet-lib-core_18owxazx);padding-bottom:var(--wallet-lib-core_18owxazx)}.wallet-lib-core_1q2fgurp{padding-top:var(--wallet-lib-core_18owxazy);padding-bottom:var(--wallet-lib-core_18owxazy)}.wallet-lib-core_1q2fgurq{padding-top:var(--wallet-lib-core_18owxaz12);padding-bottom:var(--wallet-lib-core_18owxaz12)}.wallet-lib-core_1q2fgurr{padding-top:var(--wallet-lib-core_18owxazz);padding-bottom:var(--wallet-lib-core_18owxazz)}.wallet-lib-core_1q2fgurs{padding-top:var(--wallet-lib-core_18owxaz10);padding-bottom:var(--wallet-lib-core_18owxaz10)}.wallet-lib-core_1q2fgurt{padding-top:var(--wallet-lib-core_18owxaz11);padding-bottom:var(--wallet-lib-core_18owxaz11)}.wallet-lib-core_1q2fguru{padding-top:var(--wallet-lib-core_18owxaz13);padding-bottom:var(--wallet-lib-core_18owxaz13)}.wallet-lib-core_1q2fgurv{padding-top:var(--wallet-lib-core_18owxaz14);padding-bottom:var(--wallet-lib-core_18owxaz14)}.wallet-lib-core_1q2fgurw{padding-left:var(--wallet-lib-core_18owxazx);padding-right:var(--wallet-lib-core_18owxazx)}.wallet-lib-core_1q2fgurx{padding-left:var(--wallet-lib-core_18owxazy);padding-right:var(--wallet-lib-core_18owxazy)}.wallet-lib-core_1q2fgury{padding-left:var(--wallet-lib-core_18owxaz12);padding-right:var(--wallet-lib-core_18owxaz12)}.wallet-lib-core_1q2fgurz{padding-left:var(--wallet-lib-core_18owxazz);padding-right:var(--wallet-lib-core_18owxazz)}.wallet-lib-core_1q2fgur10{padding-left:var(--wallet-lib-core_18owxaz10);padding-right:var(--wallet-lib-core_18owxaz10)}.wallet-lib-core_1q2fgur11{padding-left:var(--wallet-lib-core_18owxaz11);padding-right:var(--wallet-lib-core_18owxaz11)}.wallet-lib-core_1q2fgur12{padding-left:var(--wallet-lib-core_18owxaz13);padding-right:var(--wallet-lib-core_18owxaz13)}.wallet-lib-core_1q2fgur13{padding-left:var(--wallet-lib-core_18owxaz14);padding-right:var(--wallet-lib-core_18owxaz14)}.wallet-lib-core_1q2fgur14{padding-bottom:var(--wallet-lib-core_18owxazx)}.wallet-lib-core_1q2fgur15{padding-bottom:var(--wallet-lib-core_18owxazy)}.wallet-lib-core_1q2fgur16{padding-bottom:var(--wallet-lib-core_18owxaz12)}.wallet-lib-core_1q2fgur17{padding-bottom:var(--wallet-lib-core_18owxazz)}.wallet-lib-core_1q2fgur18{padding-bottom:var(--wallet-lib-core_18owxaz10)}.wallet-lib-core_1q2fgur19{padding-bottom:var(--wallet-lib-core_18owxaz11)}.wallet-lib-core_1q2fgur1a{padding-bottom:var(--wallet-lib-core_18owxaz13)}.wallet-lib-core_1q2fgur1b{padding-bottom:var(--wallet-lib-core_18owxaz14)}.wallet-lib-core_t8w95s1{color:var(--wallet-lib-core_t8w95s0)}.wallet-lib-core_t8w95s2{display:flex;justify-content:flex-start;align-items:flex-end;gap:2px}.wallet-lib-core_9s6q6o0{font-family:var(--wallet-lib-core_18owxaz15)}.wallet-lib-core_9s6q6o1{font-family:var(--wallet-lib-core_18owxaz16)}.wallet-lib-core_9s6q6o2{font-size:var(--wallet-lib-core_18owxazu);font-weight:700;color:var(--wallet-lib-core_18owxazg)}.wallet-lib-core_9s6q6o3{font-size:var(--wallet-lib-core_18owxazr);font-weight:700}.wallet-lib-core_9s6q6o4{font-size:var(--wallet-lib-core_18owxazu);font-weight:500;color:var(--wallet-lib-core_18owxazf)}.wallet-lib-core_9s6q6o5{font-size:var(--wallet-lib-core_18owxazu);font-weight:500;color:var(--wallet-lib-core_18owxaz5)}.wallet-lib-core_9s6q6o6{font-size:var(--wallet-lib-core_18owxazs);line-height:var(--wallet-lib-core_18owxazt);font-weight:500;color:var(--wallet-lib-core_18owxazf)}.wallet-lib-core_9s6q6o7{color:var(--wallet-lib-core_18owxaz5);font-size:var(--wallet-lib-core_18owxazs);line-height:var(--wallet-lib-core_18owxazt)}.wallet-lib-core_9s6q6o8{font-size:var(--wallet-lib-core_18owxazs);line-height:var(--wallet-lib-core_18owxazt)}.wallet-lib-core_9s6q6o9{color:var(--wallet-lib-core_18owxazn)}.wallet-lib-core_9s6q6oa{font-weight:700;color:var(--wallet-lib-core_18owxazg)}.wallet-lib-core_9s6q6ob{font-size:var(--wallet-lib-core_18owxazs);line-height:var(--wallet-lib-core_18owxazt);color:var(--wallet-lib-core_18owxazf);opacity:.72}.wallet-lib-core_9s6q6oc{font-size:var(--wallet-lib-core_18owxazs);line-height:var(--wallet-lib-core_18owxazt);color:var(--wallet-lib-core_18owxaz1);font-weight:700}.wallet-lib-core_9s6q6od{font-size:var(--wallet-lib-core_18owxazu);color:var(--wallet-lib-core_18owxaz1)}.wallet-lib-core_9s6q6oe{font-size:var(--wallet-lib-core_18owxazs);line-height:var(--wallet-lib-core_18owxazt);color:var(--wallet-lib-core_18owxaze)}.wallet-lib-core_9s6q6of{width:100%}.wallet-lib-core_9s6q6og{font-weight:var(--wallet-lib-core_18owxaz17)}.wallet-lib-core_9s6q6oh{font-weight:var(--wallet-lib-core_18owxaz18)}.wallet-lib-core_9s6q6oi{font-weight:var(--wallet-lib-core_18owxaz19)}.wallet-lib-core_9s6q6oj{font-weight:var(--wallet-lib-core_18owxaz1a)}.wallet-lib-core_9s6q6ok{font-size:var(--wallet-lib-core_18owxazs);line-height:var(--wallet-lib-core_18owxazt)}.wallet-lib-core_9s6q6ol{font-size:var(--wallet-lib-core_18owxazu)}.wallet-lib-core_9s6q6om{font-size:var(--wallet-lib-core_18owxazv);line-height:var(--wallet-lib-core_18owxazw)}.wallet-lib-core_9s6q6on{font-size:var(--wallet-lib-core_18owxazr)}.wallet-lib-core_9s6q6oo{text-overflow:ellipsis;overflow:hidden}.wallet-lib-core_9s6q6op{text-decoration:underline}.wallet-lib-core_9s6q6oq{text-align:center}.wallet-lib-core_p0efj50{border-top:.25px solid var(--wallet-lib-core_18owxaza);width:100%}.wallet-lib-core_p0efj51{border-top:1px solid var(--wallet-lib-core_18owxazo);width:100%}.wallet-lib-core_dkrzo20{width:auto}.wallet-lib-core_dkrzo21{fill:#fff}.wallet-lib-core_dkrzo22{fill:var(--wallet-lib-core_18owxaz1)}.wallet-lib-core_dkrzo23{min-width:unset}.wallet-lib-core_dkrzo24{min-width:20px}.wallet-lib-core_dkrzo25{min-width:unset}.wallet-lib-core_dkrzo26{max-width:unset}.wallet-lib-core_dkrzo27{max-width:36px}.wallet-lib-core_dkrzo28{max-width:unset}@keyframes wallet-lib-core_y8sstu0{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.wallet-lib-core_y8sstu1{position:absolute;display:inline-block;width:16px;height:16px;border:3px solid var(--wallet-lib-core_18owxaz7);border-bottom-color:transparent;border-radius:50%;box-sizing:border-box;animation:wallet-lib-core_y8sstu0 1s linear infinite}.wallet-lib-core_1hgah2t0{display:flex;position:relative;justify-content:center;align-items:center;cursor:pointer;transition:background .35s cubic-bezier(.19,1,.22,1)}.wallet-lib-core_1hgah2t0:hover,.wallet-lib-core_1hgah2t0:focus{filter:brightness(90%)}.wallet-lib-core_1hgah2t0:active{filter:brightness(85%)}.wallet-lib-core_1hgah2t1{background:none;padding:5px 0;font-weight:400;min-height:auto;text-decoration:underline;text-transform:none}.wallet-lib-core_1hgah2t2{font-family:var(--wallet-lib-core_18owxaz16);font-size:14px;color:var(--wallet-lib-core_18owxaz7)!important;background-color:var(--wallet-lib-core_18owxaz1)!important}.wallet-lib-core_1hgah2t2:hover,.wallet-lib-core_1hgah2t2:focus{background-color:var(--wallet-lib-core_18owxaz2)!important;border-color:var(--wallet-lib-core_18owxaz2)!important;background-image:none!important}.wallet-lib-core_1hgah2t2:active{background-color:var(--wallet-lib-core_18owxaz3)!important;border-color:var(--wallet-lib-core_18owxaz3)!important;background-image:none!important}.wallet-lib-core_1hgah2t3{padding:8px 24px;border-radius:6px}.wallet-lib-core_1hgah2t4{font-weight:400!important;border-color:var(--wallet-lib-core_18owxaz1)!important;box-shadow:none!important;letter-spacing:normal!important;height:43px;background-image:none!important}.wallet-lib-core_1hgah2t6{padding:8px 16px;border:1px solid var(--wallet-lib-core_18owxazb);background:#fff;border-radius:8px}.wallet-lib-core_1hgah2t7{padding:20px;margin:-20px}.wallet-lib-core_1hgah2t8{cursor:pointer}.wallet-lib-core_1hgah2t9{padding:var(--wallet-lib-core_18owxaz12)}.wallet-lib-core_1hgah2ta{opacity:0}.wallet-lib-core_1hgah2tb{color:var(--wallet-lib-core_18owxaz1)}.wallet-lib-core_1hgah2tc{color:var(--wallet-lib-core_18owxaz1);text-decoration:none}.wallet-lib-core_1hgah2td{color:var(--wallet-lib-core_18owxazc);font-size:12px}.wallet-lib-core_1hgah2te{padding:0;background:none;border:none;color:inherit;margin:0;display:inline;cursor:pointer}.wallet-lib-core_1hgah2t4 span{text-transform:none!important;font-size:14px}.wallet-lib-core_1hgah2t4 .spinner-elem{background-color:var(--wallet-lib-core_18owxazn)!important}.wallet-lib-core_1hgah2tf,.wallet-lib-core_1hgah2tg{width:100%}.wallet-lib-core_1hgah2th{border-radius:8px}.wallet-lib-core_1hgah2ti{opacity:.7;cursor:not-allowed}@media screen and (min-width: 768px){.wallet-lib-core_1hgah2tg{width:fit-content}}.wallet-lib-core_18daksv0{background:var(--wallet-lib-core_18owxazm);color:var(--wallet-lib-core_18owxazg);font-family:var(--wallet-lib-core_18owxaz16)}[data-rsbs-overlay]{border-top-right-radius:var(--wallet-lib-core_18owxaz11);border-top-left-radius:var(--wallet-lib-core_18owxaz11)}.wallet-lib-core_18daksv0 [data-rsbs-header]:before{display:none}[data-rsbs-header]{padding:0!important}[data-rsbs-overlay],[data-rsbs-backdrop],[data-rsbs-root]:after{z-index:9999!important}[data-rsbs-backdrop]{background-color:var(--wallet-lib-core_18owxazq)!important}.wallet-lib-core_1oeujdp0{display:flex!important;justify-content:center;padding:0;opacity:1;height:100vh!important}.wallet-lib-core_1oeujdp1{margin-top:var(--wallet-lib-core_18owxazz)}.wallet-lib-core_1oeujdp2{display:flex;flex-wrap:nowrap;justify-content:center;margin:0 auto;max-width:350px;gap:6px}#successPageOtpInput .wallet-lib-core_1oeujdp2{max-width:315px}.wallet-lib-core_1oeujdp3{border-radius:5px;margin:14px auto 0;max-width:350px}.wallet-lib-core_1oeujdp4{background:var(--wallet-lib-core_18owxazi);color:var(--wallet-lib-core_18owxazm);border-radius:5px;padding:7px 0;font-size:var(--wallet-lib-core_18owxazs);line-height:var(--wallet-lib-core_18owxazt);display:inline-flex;justify-content:center;width:100%}.wallet-lib-core_1oeujdp5{height:40px!important;width:40px!important}.wallet-lib-core_1oeujdp6{color:var(--wallet-lib-core_18owxazf)!important;margin-top:8px;font-size:var(--wallet-lib-core_18owxazr);font-weight:500}.wallet-lib-core_1oeujdp7{font-size:var(--wallet-lib-core_18owxazs);line-height:var(--wallet-lib-core_18owxazt);color:var(--wallet-lib-core_18owxazn);letter-spacing:-.1px}.wallet-lib-core_1oeujdp8{line-height:14px}.wallet-lib-core_1oeujdp9{display:inline-block;margin:0;color:var(--wallet-lib-core_18owxazn);text-decoration-color:var(--wallet-lib-core_18owxazn);text-decoration:underline;cursor:pointer;background:none;border:none;padding:0;font-size:var(--wallet-lib-core_18owxazs);line-height:var(--wallet-lib-core_18owxazt)}#modalAppWallet .wallet-lib-core_1oeujdp9,#bottomSheetAppWallet .wallet-lib-core_1oeujdp9{text-decoration:none;color:var(--wallet-lib-core_18owxaz1)}#successPageOtpInput .wallet-lib-core_1oeujdp9{margin-left:0}.wallet-lib-core_1oeujdpa{color:var(--wallet-lib-core_18owxaze)!important}.wallet-lib-core_1oeujdpb{color:var(--wallet-lib-core_18owxaz1)!important}.wallet-lib-core_1oeujdpc{font-size:var(--wallet-lib-core_18owxazs);line-height:var(--wallet-lib-core_18owxazt);color:var(--wallet-lib-core_18owxazn)!important}.wallet-lib-core_1oeujdpd{display:flex!important}.wallet-lib-core_1oeujdpe{display:flex;flex-grow:1;align-items:center;margin:0;font-size:var(--wallet-lib-core_18owxazs);line-height:1.5}.wallet-lib-core_1oeujdpf{width:calc(96% - 44px);font-weight:400}.wallet-lib-core_1oeujdpg{width:calc(96% - 60px);font-weight:400}.wallet-lib-core_1oeujdph{overflow:hidden;text-overflow:ellipsis}.wallet-lib-core_1oeujdpi{font-weight:500;color:var(--wallet-lib-core_18owxazf)}.wallet-lib-core_1oeujdpj{min-height:20px;width:100%}.wallet-lib-core_1oeujdpk{width:100%;display:flex;flex-wrap:nowrap;align-items:center;justify-content:center}#successPageOtpInput .wallet-lib-core_1oeujdpk{justify-content:flex-start}.wallet-lib-core_1oeujdpl{display:flex;justify-content:center;min-height:20px;gap:5px;align-items:center;white-space:nowrap;background:none;border:none}.wallet-lib-core_1oeujdpm{display:block;font-size:var(--wallet-lib-core_18owxazs);line-height:var(--wallet-lib-core_18owxazt);color:var(--wallet-lib-core_18owxazn)!important;text-align:center;min-height:20px;width:100%}#successPageOtpInput .wallet-lib-core_1oeujdpm{text-align:left}.wallet-lib-core_1oeujdpn{align-items:flex-start;margin-right:10px;width:24px;height:24px;border:.25px solid var(--wallet-lib-core_18owxazb);background-color:var(--wallet-lib-core_18owxaz8);fill:var(--wallet-lib-core_18owxazf);color:var(--wallet-lib-core_18owxaz7);display:flex;place-items:center;border-radius:50%;flex-grow:0;font-size:18px;font-weight:700;padding:5px;gap:8px;text-transform:uppercase}.wallet-lib-core_1oeujdpo{position:relative;display:flex;justify-content:space-between;align-items:center;fill:var(--wallet-lib-core_18owxaze);color:var(--wallet-lib-core_18owxaze);font-size:11px}.wallet-lib-core_1oeujdpo .wallet-logo{height:13px;width:auto}.wallet-lib-core_1oeujdpp{display:block;margin-top:25px;font-family:Open Sans,sans-serif!important;font-size:10px;opacity:.5;color:var(--wallet-lib-core_18owxazf)}.wallet-lib-core_1oeujdpq{width:100%}.wallet-lib-core_1oeujdpr{display:none;flex-direction:column;justify-content:center;width:100%}.wallet-lib-core_1oeujdps{font-size:var(--wallet-lib-core_18owxazs);line-height:var(--wallet-lib-core_18owxazt);width:100%;color:var(--wallet-lib-core_18owxaz1);font-weight:var(--wallet-lib-core_18owxaz18);padding-top:var(--wallet-lib-core_18owxaz11);align-items:center;justify-content:center}.wallet-lib-core_1oeujdpp>a{text-decoration:underline;color:var(--wallet-lib-core_18owxazf)}.wallet-lib-core_1oeujdpt{color:var(--wallet-lib-core_18owxaze);letter-spacing:-.1px;font-size:var(--wallet-lib-core_18owxazs);line-height:14px;font-weight:400;margin-bottom:0}@media screen and (min-width: 768px){#successPageOtpInput .wallet-lib-core_1oeujdp2{max-width:unset;gap:4px}}@media screen and (max-width: 576px){.wallet-lib-core_1oeujdp9{width:auto}}.wallet-lib-core_j0outm0{border-radius:6px;border-color:var(--wallet-lib-core_18owxaz9)}.wallet-lib-core_j0outm0:focus{border-color:var(--wallet-lib-core_18owxaz1)}.wallet-lib-core_j0outm1{text-align:center;font-weight:700;font-size:16px;border:1px solid var(--wallet-lib-core_18owxaza);border-radius:8px;outline:none}.wallet-lib-core_j0outm2{display:flex;width:100%;height:100%;justify-content:space-evenly;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#fff!important}.wallet-lib-core_rf6xsr1{margin-top:var(--wallet-lib-core_rf6xsr0)}@media screen and (max-width: 576px){.wallet-lib-core_rf6xsr2{margin-top:var(--wallet-lib-core_rf6xsr0)}}.wallet-lib-core_mttnyu0{display:flex;justify-content:center;align-items:center;height:100%;padding:4px;background:var(--wallet-lib-core_18owxaz8);border-radius:100%}.wallet-lib-core_mttnyu1{padding:var(--wallet-lib-core_18owxazx)}.wallet-lib-core_mttnyu2{padding:var(--wallet-lib-core_18owxazz)}.wallet-lib-core_mttnyu3{border:1px solid var(--wallet-lib-core_18owxaz9)}@keyframes wallet-lib-core_9ciqhz0{0%{opacity:0}to{opacity:1}}@keyframes wallet-lib-core_9ciqhz1{0%{transform:translate(0) scaleX(0)}40%{transform:translate(0) scaleX(.5)}to{transform:translate(100%) scaleX(.5)}}@keyframes wallet-lib-core_9ciqhz2{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes wallet-lib-core_9ciqhz3{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}.wallet-lib-core_9ciqhz4{animation:wallet-lib-core_9ciqhz0 .5s}.wallet-lib-core_9ciqhz5{animation:wallet-lib-core_9ciqhz0 .3s}.wallet-lib-core_9ciqhz6{animation:wallet-lib-core_9ciqhz1 1.5s infinite linear}.wallet-lib-core_9ciqhz7{animation:wallet-lib-core_9ciqhz2 .5s ease-in-out}.wallet-lib-core_9ciqhz8{animation:wallet-lib-core_9ciqhz3 .5s ease-in-out}.wallet-lib-core_1l8sk3p0{background-color:var(--wallet-lib-core_18owxazq);height:100%;position:fixed;width:100%;z-index:22;top:0;left:0}.wallet-lib-core_1l8sk3p1{height:100%}.wallet-lib-core_1l8sk3p2{height:190px}.wallet-lib-core_1l8sk3p3{background:linear-gradient(#0003,90%,#0000)}.wallet-lib-core_17qc9kw0{bottom:0;left:0;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;z-index:9999}.wallet-lib-core_17qc9kw1{display:flex;justify-content:center;align-items:center;height:100%;width:100%;padding:0;font-family:var(--wallet-lib-core_18owxaz16)}.wallet-lib-core_17qc9kw2{width:100%;height:100%}.wallet-lib-core_17qc9kw2:focus{outline:none!important}.wallet-lib-core_17qc9kw2:focus-within{outline:none!important}.wallet-lib-core_17qc9kw3{width:var(--wallet-lib-core_18owxaz1b);max-height:var(--wallet-lib-core_18owxaz1c);padding:12px}.wallet-lib-core_17qc9kw4{width:var(--wallet-lib-core_18owxaz1b);padding:12px}.wallet-lib-core_17qc9kw5{background-color:var(--wallet-lib-core_18owxazm)!important;color:var(--wallet-lib-core_18owxazg);border-radius:5px;box-shadow:0 9px 9px #0000001a;position:relative;z-index:999}.wallet-lib-core_17qc9kw5 a{color:var(--wallet-lib-core_18owxaz1)}.wallet-lib-core_17qc9kw5 *{font-family:var(--wallet-lib-core_18owxaz16);text-transform:none}[data-rsbs-overlay]{border-top-left-radius:16px;border-top-left-radius:var(--rsbs-overlay-rounded,16px);border-top-right-radius:16px;border-top-right-radius:var(--rsbs-overlay-rounded,16px);display:flex;background:#fff;background:var(--rsbs-bg,#fff);flex-direction:column;height:0px;height:var(--rsbs-overlay-h,0px);transform:translateZ(0);transform:translate3d(0,var(--rsbs-overlay-translate-y,0px),0);will-change:height}[data-rsbs-overlay]:focus{outline:none}[data-rsbs-is-blocking=false] [data-rsbs-overlay]{box-shadow:0 -5px 60px #2659731c,0 -1px #2659730d}[data-rsbs-overlay],[data-rsbs-root]:after{max-width:auto;max-width:var(--rsbs-max-w,auto);margin-left:env(safe-area-inset-left);margin-left:var(--rsbs-ml,env(safe-area-inset-left));margin-right:env(safe-area-inset-right);margin-right:var(--rsbs-mr,env(safe-area-inset-right))}[data-rsbs-overlay],[data-rsbs-backdrop],[data-rsbs-root]:after{z-index:3;-ms-scroll-chaining:none;overscroll-behavior:none;touch-action:none;position:fixed;right:0;bottom:0;left:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}[data-rsbs-backdrop]{top:-60px;bottom:-60px;background-color:#0009;background-color:var(--rsbs-backdrop-bg,rgba(0, 0, 0, .6));will-change:opacity;cursor:pointer;opacity:1}[data-rsbs-is-dismissable=false] [data-rsbs-backdrop]{cursor:ns-resize}[data-rsbs-root]:after{content:"";pointer-events:none;background:#fff;background:var(--rsbs-bg,#fff);height:1px;transform-origin:bottom;transform:scale3d(1,0,1);transform:scale3d(1,var(--rsbs-antigap-scale-y,0),1);will-change:transform}[data-rsbs-footer],[data-rsbs-header]{flex-shrink:0;cursor:ns-resize;padding:16px}[data-rsbs-header]{text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-shadow:0 1px #2e3b4220;box-shadow:0 1px rgba(46,59,66,calc(var(--rsbs-content-opacity,1) * .125));z-index:1;padding-top:calc(20px + env(safe-area-inset-top));padding-bottom:8px}[data-rsbs-header]:before{position:absolute;content:"";display:block;width:36px;height:4px;top:calc(8px + env(safe-area-inset-top));left:50%;transform:translate(-50%);border-radius:2px;background-color:#00000024;background-color:var(--rsbs-handle-bg,hsla(0, 0%, 0%, .14))}@media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 2dppx){[data-rsbs-header]:before{transform:translate(-50%) scaleY(.75)}}[data-rsbs-has-header=false] [data-rsbs-header]{box-shadow:none;padding-top:calc(12px + env(safe-area-inset-top))}[data-rsbs-scroll]{flex-shrink:1;flex-grow:1;-webkit-tap-highlight-color:revert;-webkit-touch-callout:revert;-webkit-user-select:auto;-ms-user-select:auto;-moz-user-select:auto;user-select:auto;overflow:auto;-ms-scroll-chaining:none;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}[data-rsbs-scroll]:focus{outline:none}[data-rsbs-has-footer=false] [data-rsbs-content]{padding-bottom:env(safe-area-inset-bottom)}[data-rsbs-content]{overflow:hidden}[data-rsbs-footer]{box-shadow:0 -1px #2e3b4220,0 2px #fff;box-shadow:0 -1px rgba(46,59,66,calc(var(--rsbs-content-opacity,1) * .125)),0 2px 0 var(--rsbs-bg,#fff);overflow:hidden;z-index:1;padding-bottom:calc(16px + env(safe-area-inset-bottom))}[data-rsbs-is-dismissable=true] [data-rsbs-header]>*,[data-rsbs-is-dismissable=true] [data-rsbs-scroll]>*,[data-rsbs-is-dismissable=true] [data-rsbs-footer]>*,[data-rsbs-is-dismissable=false][data-rsbs-state=opening] [data-rsbs-header]>*,[data-rsbs-is-dismissable=false][data-rsbs-state=closing] [data-rsbs-header]>*,[data-rsbs-is-dismissable=false][data-rsbs-state=opening] [data-rsbs-scroll]>*,[data-rsbs-is-dismissable=false][data-rsbs-state=closing] [data-rsbs-scroll]>*,[data-rsbs-is-dismissable=false][data-rsbs-state=opening] [data-rsbs-footer]>*,[data-rsbs-is-dismissable=false][data-rsbs-state=closing] [data-rsbs-footer]>*{opacity:1;opacity:var(--rsbs-content-opacity,1)}[data-rsbs-is-dismissable=true] [data-rsbs-backdrop],[data-rsbs-is-dismissable=false][data-rsbs-state=opening] [data-rsbs-backdrop],[data-rsbs-is-dismissable=false][data-rsbs-state=closing] [data-rsbs-backdrop]{opacity:1;opacity:var(--rsbs-backdrop-opacity,1)}[data-rsbs-state=closed],[data-rsbs-state=closing]{pointer-events:none}')),document.head.appendChild(l)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})(); var ZP = Object.defineProperty; var XP = (mo, fe, Fn) => fe in mo ? ZP(mo, fe, { enumerable: !0, configurable: !0, writable: !0, value: Fn }) : mo[fe] = Fn; var PE = (mo, fe, Fn) => (XP(mo, typeof fe != "symbol" ? fe + "" : fe, Fn), Fn); var JP = {}; (function(mo) { const fe = (t) => typeof t == "string", Fn = () => { let t, e; const n = new Promise((i, s) => { t = i, e = s; }); return n.resolve = t, n.reject = e, n; }, Im = (t) => t == null ? "" : "" + t, UE = (t, e, n) => { t.forEach((i) => { e[i] && (n[i] = e[i]); }); }, $E = /###/g, Nm = (t) => t && t.indexOf("###") > -1 ? t.replace($E, ".") : t, Dm = (t) => !t || fe(t), xs = (t, e, n) => { const i = fe(e) ? e.split(".") : e; let s = 0; for (; s < i.length - 1; ) { if (Dm(t)) return {}; const a = Nm(i[s]); !t[a] && n && (t[a] = new n()), Object.prototype.hasOwnProperty.call(t, a) ? t = t[a] : t = {}, ++s; } return Dm(t) ? {} : { obj: t, k: Nm(i[s]) }; }, jm = (t, e, n) => { const { obj: i, k: s } = xs(t, e, Object); if (i !== void 0 || e.length === 1) { i[s] = n; return; } let a = e[e.length - 1], u = e.slice(0, e.length - 1), d = xs(t, u, Object); for (; d.obj === void 0 && u.length; ) a = `${u[u.length - 1]}.${a}`, u = u.slice(0, u.length - 1), d = xs(t, u, Object), d != null && d.obj && typeof d.obj[`${d.k}.${a}`] < "u" && (d.obj = void 0); d.obj[`${d.k}.${a}`] = n; }, zE = (t, e, n, i) => { const { obj: s, k: a } = xs(t, e, Object); s[a] = s[a] || [], s[a].push(n); }, Qa = (t, e) => { const { obj: n, k: i } = xs(t, e); if (n && Object.prototype.hasOwnProperty.call(n, i)) return n[i]; }, VE = (t, e, n) => { const i = Qa(t, n); return i !== void 0 ? i : Qa(e, n); }, Mm = (t, e, n) => { for (const i in e) i !== "__proto__" && i !== "constructor" && (i in t ? fe(t[i]) || t[i] instanceof String || fe(e[i]) || e[i] instanceof String ? n && (t[i] = e[i]) : Mm(t[i], e[i], n) : t[i] = e[i]); return t; }, go = (t) => t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); var WE = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'", "/": "/" }; const GE = (t) => fe(t) ? t.replace(/[&<>"'\/]/g, (e) => WE[e]) : t; class qE { constructor(e) { this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = []; } getRegExp(e) { const n = this.regExpMap.get(e); if (n !== void 0) return n; const i = new RegExp(e); return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, i), this.regExpQueue.push(e), i; } } const YE = [" ", ",", "?", "!", ";"], KE = new qE(20), ZE = (t, e, n) => { e = e || "", n = n || ""; const i = YE.filter((u) => e.indexOf(u) < 0 && n.indexOf(u) < 0); if (i.length === 0) return !0; const s = KE.getRegExp(`(${i.map((u) => u === "?" ? "\\?" : u).join("|")})`); let a = !s.test(t); if (!a) { const u = t.indexOf(n); u > 0 && !s.test(t.substring(0, u)) && (a = !0); } return a; }, ld = function(t, e) { let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "."; if (!t) return; if (t[e]) return Object.prototype.hasOwnProperty.call(t, e) ? t[e] : void 0; const i = e.split(n); let s = t; for (let a = 0; a < i.length; ) { if (!s || typeof s != "object") return; let u, d = ""; for (let f = a; f < i.length; ++f) if (f !== a && (d += n), d += i[f], u = s[d], u !== void 0) { if (["string", "number", "boolean"].indexOf(typeof u) > -1 && f < i.length - 1) continue; a += f - a + 1; break; } s = u; } return s; }, el = (t) => t == null ? void 0 : t.replace("_", "-"), XE = { type: "logger", log(t) { this.output("log", t); }, warn(t) { this.output("warn", t); }, error(t) { this.output("error", t); }, output(t, e) { var n, i; (i = (n = console == null ? void 0 : console[t]) == null ? void 0 : n.apply) == null || i.call(n, console, e); } }; class tl { constructor(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; this.init(e, n); } init(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; this.prefix = n.prefix || "i18next:", this.logger = e || XE, this.options = n, this.debug = n.debug; } log() { for (var e = arguments.length, n = new Array(e), i = 0; i < e; i++) n[i] = arguments[i]; return this.forward(n, "log", "", !0); } warn() { for (var e = arguments.length, n = new Array(e), i = 0; i < e; i++) n[i] = arguments[i]; return this.forward(n, "warn", "", !0); } error() { for (var e = arguments.length, n = new Array(e), i = 0; i < e; i++) n[i] = arguments[i]; return this.forward(n, "error", ""); } deprecate() { for (var e = arguments.length, n = new Array(e), i = 0; i < e; i++) n[i] = arguments[i]; return this.forward(n, "warn", "WARNING DEPRECATED: ", !0); } forward(e, n, i, s) { return s && !this.debug ? null : (fe(e[0]) && (e[0] = `${i}${this.prefix} ${e[0]}`), this.logger[n](e)); } create(e) { return new tl(this.logger, { prefix: `${this.prefix}:${e}:`, ...this.options }); } clone(e) { return e = e || this.options, e.prefix = e.prefix || this.prefix, new tl(this.logger, e); } } var ir = new tl(); class nl { constructor() { this.observers = {}; } on(e, n) { return e.split(" ").forEach((i) => { this.observers[i] || (this.observers[i] = /* @__PURE__ */ new Map()); const s = this.observers[i].get(n) || 0; this.observers[i].set(n, s + 1); }), this; } off(e, n) { if (this.observers[e]) { if (!n) { delete this.observers[e]; return; } this.observers[e].delete(n); } } emit(e) { for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), s = 1; s < n; s++) i[s - 1] = arguments[s]; this.observers[e] && Array.from(this.observers[e].entries()).forEach((u) => { let [d, f] = u; for (let p = 0; p < f; p++) d(...i); }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach((u) => { let [d, f] = u; for (let p = 0; p < f; p++) d.apply(d, [e, ...i]); }); } } class Fm extends nl { constructor(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : { ns: ["translation"], defaultNS: "translation" }; super(), this.data = e || {}, this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.options.ignoreJSONStructure === void 0 && (this.options.ignoreJSONStructure = !0); } addNamespaces(e) { this.options.ns.indexOf(e) < 0 && this.options.ns.push(e); } removeNamespaces(e) { const n = this.options.ns.indexOf(e); n > -1 && this.options.ns.splice(n, 1); } getResource(e, n, i) { var p, m; let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}; const a = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, u = s.ignoreJSONStructure !== void 0 ? s.ignoreJSONStructure : this.options.ignoreJSONStructure; let d; e.indexOf(".") > -1 ? d = e.split(".") : (d = [e, n], i && (Array.isArray(i) ? d.push(...i) : fe(i) && a ? d.push(...i.split(a)) : d.push(i))); const f = Qa(this.data, d); return !f && !n && !i && e.indexOf(".") > -1 && (e = d[0], n = d[1], i = d.slice(2).join(".")), f || !u || !fe(i) ? f : ld((m = (p = this.data) == null ? void 0 : p[e]) == null ? void 0 : m[n], i, a); } addResource(e, n, i, s) { let a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : { silent: !1 }; const u = a.keySeparator !== void 0 ? a.keySeparator : this.options.keySeparator; let d = [e, n]; i && (d = d.concat(u ? i.split(u) : i)), e.indexOf(".") > -1 && (d = e.split("."), s = n, n = d[1]), this.addNamespaces(n), jm(this.data, d, s), a.silent || this.emit("added", e, n, i, s); } addResources(e, n, i) { let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : { silent: !1 }; for (const a in i) (fe(i[a]) || Array.isArray(i[a])) && this.addResource(e, n, a, i[a], { silent: !0 }); s.silent || this.emit("added", e, n, i); } addResourceBundle(e, n, i, s, a) { let u = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : { silent: !1, skipCopy: !1 }, d = [e, n]; e.indexOf(".") > -1 && (d = e.split("."), s = i, i = n, n = d[1]), this.addNamespaces(n); let f = Qa(this.data, d) || {}; u.skipCopy || (i = JSON.parse(JSON.stringify(i))), s ? Mm(f, i, a) : f = { ...f, ...i }, jm(this.data, d, f), u.silent || this.emit("added", e, n, i); } removeResourceBundle(e, n) { this.hasResourceBundle(e, n) && delete this.data[e][n], this.removeNamespaces(n), this.emit("removed", e, n); } hasResourceBundle(e, n) { return this.getResource(e, n) !== void 0; } getResourceBundle(e, n) { return n || (n = this.options.defaultNS), this.getResource(e, n); } getDataByLanguage(e) { return this.data[e]; } hasLanguageSomeTranslations(e) { const n = this.getDataByLanguage(e); return !!(n && Object.keys(n) || []).find((s) => n[s] && Object.keys(n[s]).length > 0); } toJSON() { return this.data; } } var Hm = { processors: {}, addPostProcessor(t) { this.processors[t.name] = t; }, handle(t, e, n, i, s) { return t.forEach((a) => { var u; e = ((u = this.processors[a]) == null ? void 0 : u.process(e, n, i, s)) ?? e; }), e; } }; const Bm = {}, Um = (t) => !fe(t) && typeof t != "boolean" && typeof t != "number"; class rl extends nl { constructor(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; super(), UE(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = ir.create("translator"); } changeLanguage(e) { e && (this.language = e); } exists(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : { interpolation: {} }; if (e == null) return !1; const i = this.resolve(e, n); return (i == null ? void 0 : i.res) !== void 0; } extractFromKey(e, n) { let i = n.nsSeparator !== void 0 ? n.nsSeparator : this.options.nsSeparator; i === void 0 && (i = ":"); const s = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator; let a = n.ns || this.options.defaultNS || []; const u = i && e.indexOf(i) > -1, d = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !ZE(e, i, s); if (u && !d) { const f = e.match(this.interpolator.nestingRegexp); if (f && f.length > 0) return { key: e, namespaces: fe(a) ? [a] : a }; const p = e.split(i); (i !== s || i === s && this.options.ns.indexOf(p[0]) > -1) && (a = p.shift()), e = p.join(s); } return { key: e, namespaces: fe(a) ? [a] : a }; } translate(e, n, i) { if (typeof n != "object" && this.options.overloadTranslationOptionHandler && (n = this.options.overloadTranslationOptionHandler(arguments)), typeof n == "object" && (n = { ...n }), n || (n = {}), e == null) return ""; Array.isArray(e) || (e = [String(e)]); const s = n.returnDetails !== void 0 ? n.returnDetails : this.options.returnDetails, a = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, { key: u, namespaces: d } = this.extractFromKey(e[e.length - 1], n), f = d[d.length - 1], p = n.lng || this.language, m = n.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode; if ((p == null ? void 0 : p.toLowerCase()) === "cimode") { if (m) { const W = n.nsSeparator || this.options.nsSeparator; return s ? { res: `${f}${W}${u}`, usedKey: u, exactUsedKey: u, usedLng: p, usedNS: f, usedParams: this.getUsedParamsDetails(n) } : `${f}${W}${u}`; } return s ? { res: u, usedKey: u, exactUsedKey: u, usedLng: p, usedNS: f, usedParams: this.getUsedParamsDetails(n) } : u; } const v = this.resolve(e, n); let y = v == null ? void 0 : v.res; const E = (v == null ? void 0 : v.usedKey) || u, S = (v == null ? void 0 : v.exactUsedKey) || u, x = ["[object Number]", "[object Function]", "[object RegExp]"], C = n.joinArrays !== void 0 ? n.joinArrays : this.options.joinArrays, L = !this.i18nFormat || this.i18nFormat.handleAsObject, k = n.count !== void 0 && !fe(n.count), I = rl.hasDefaultValue(n), B = k ? this.pluralResolver.getSuffix(p, n.count, n) : "", V = n.ordinal && k ? this.pluralResolver.getSuffix(p, n.count, { ordinal: !1 }) : "", P = k && !n.ordinal && n.count === 0, R = P && n[`defaultValue${this.options.pluralSeparator}zero`] || n[`defaultValue${B}`] || n[`defaultValue${V}`] || n.defaultValue; let j = y; L && !y && I && (j = R); const G = Um(j), ee = Object.prototype.toString.apply(j); if (L && j && G && x.indexOf(ee) < 0 && !(fe(C) && Array.isArray(j))) { if (!n.returnObjects && !this.options.returnObjects) { this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!"); const W = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(E, j, { ...n, ns: d }) : `key '${u} (${this.language})' returned an object instead of string.`; return s ? (v.res = W, v.usedParams = this.getUsedParamsDetails(n), v) : W; } if (a) { const W = Array.isArray(j), re = W ? [] : {}, we = W ? S : E; for (const ye in j) if (Object.prototype.hasOwnProperty.call(j, ye)) { const be = `${we}${a}${ye}`; I && !y ? re[ye] = this.translate(be, { ...n, defaultValue: Um(R) ? R[ye] : void 0, joinArrays: !1, ns: d }) : re[ye] = this.translate(be, { ...n, joinArrays: !1, ns: d }), re[ye] === be && (re[ye] = j[ye]); } y = re; } } else if (L && fe(C) && Array.isArray(y)) y = y.join(C), y && (y = this.extendTranslation(y, e, n, i)); else { let W = !1, re = !1; !this.isValidLookup(y) && I && (W = !0, y = R), this.isValidLookup(y) || (re = !0, y = u); const ye = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && re ? void 0 : y, be = I && R !== y && this.options.updateMissing; if (re || W || be) { if (this.logger.log(be ? "updateKey" : "missingKey", p, f, u, be ? R : y), a) { const Q = this.resolve(u, { ...n, keySeparator: !1 }); Q && Q.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format."); } let Be = []; const ge = this.languageUtils.getFallbackCodes(this.options.fallbackLng, n.lng || this.language); if (this.options.saveMissingTo === "fallback" && ge && ge[0]) for (let Q = 0; Q < ge.length; Q++) Be.push(ge[Q]); else this.options.saveMissingTo === "all" ? Be = this.languageUtils.toResolveHierarchy(n.lng || this.language) : Be.push(n.lng || this.language); const q = (Q, T, U) => { var Se; const X = I && U !== y ? U : ye; this.options.missingKeyHandler ? this.options.missingKeyHandler(Q, f, T, X, be, n) : (Se = this.backendConnector) != null && Se.saveMissing && this.backendConnector.saveMissing(Q, f, T, X, be, n), this.emit("missingKey", Q, f, T, y); }; this.options.saveMissing && (this.options.saveMissingPlurals && k ? Be.forEach((Q) => { const T = this.pluralResolver.getSuffixes(Q, n); P && n[`defaultValue${this.options.pluralSeparator}zero`] && T.indexOf(`${this.options.pluralSeparator}zero`) < 0 && T.push(`${this.options.pluralSeparator}zero`), T.forEach((U) => { q([Q], u + U, n[`defaultValue${U}`] || R); }); }) : q(Be, u, R)); } y = this.extendTranslation(y, e, n, v, i), re && y === u && this.options.appendNamespaceToMissingKey && (y = `${f}:${u}`), (re || W) && this.options.parseMissingKeyHandler && (y = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${f}:${u}` : u, W ? y : void 0)); } return s ? (v.res = y, v.usedParams = this.getUsedParamsDetails(n), v) : y; } extendTranslation(e, n, i, s, a) { var p, m; var u = this; if ((p = this.i18nFormat) != null && p.parse) e = this.i18nFormat.parse(e, { ...this.options.interpolation.defaultVariables, ...i }, i.lng || this.language || s.usedLng, s.usedNS, s.usedKey, { resolved: s }); else if (!i.skipInterpolation) { i.interpolation && this.interpolator.init({ ...i, interpolation: { ...this.options.interpolation, ...i.interpolation } }); const v = fe(e) && (((m = i == null ? void 0 : i.interpolation) == null ? void 0 : m.skipOnVariables) !== void 0 ? i.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables); let y; if (v) { const S = e.match(this.interpolator.nestingRegexp); y = S && S.length; } let E = i.replace && !fe(i.replace) ? i.replace : i; if (this.options.interpolation.defaultVariables && (E = { ...this.options.interpolation.defaultVariables, ...E }), e = this.interpolator.interpolate(e, E, i.lng || this.language || s.usedLng, i), v) { const S = e.match(this.interpolator.nestingRegexp), x = S && S.length; y < x && (i.nest = !1); } !i.lng && s && s.res && (i.lng = this.language || s.usedLng), i.nest !== !1 && (e = this.interpolator.nest(e, function() { for (var S = arguments.length, x = new Array(S), C = 0; C < S; C++) x[C] = arguments[C]; return (a == null ? void 0 : a[0]) === x[0] && !i.context ? (u.logger.warn(`It seems you are nesting recursively key: ${x[0]} in key: ${n[0]}`), null) : u.translate(...x, n); }, i)), i.interpolation && this.interpolator.reset(); } const d = i.postProcess || this.options.postProcess, f = fe(d) ? [d] : d; return e != null && (f != null && f.length) && i.applyPostProcessor !== !1 && (e = Hm.handle(f, e, n, this.options && this.options.postProcessPassResolved ? { i18nResolved: { ...s, usedParams: this.getUsedParamsDetails(i) }, ...i } : i, this)), e; } resolve(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i, s, a, u, d; return fe(e) && (e = [e]), e.forEach((f) => { if (this.isValidLookup(i)) return; const p = this.extractFromKey(f, n), m = p.key; s = m; let v = p.namespaces; this.options.fallbackNS && (v = v.concat(this.options.fallbackNS)); const y = n.count !== void 0 && !fe(n.count), E = y && !n.ordinal && n.count === 0, S = n.context !== void 0 && (fe(n.context) || typeof n.context == "number") && n.context !== "", x = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng); v.forEach((C) => { var L, k; this.isValidLookup(i) || (d = C, !Bm[`${x[0]}-${C}`] && ((L = this.utils) != null && L.hasLoadedNamespace) && !((k = this.utils) != null && k.hasLoadedNamespace(d)) && (Bm[`${x[0]}-${C}`] = !0, this.logger.warn(`key "${s}" for languages "${x.join(", ")}" won't get resolved as namespace "${d}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), x.forEach((I) => { var P; if (this.isValidLookup(i)) return; u = I; const B = [m]; if ((P = this.i18nFormat) != null && P.addLookupKeys) this.i18nFormat.addLookupKeys(B, m, I, C, n); else { let R; y && (R = this.pluralResolver.getSuffix(I, n.count, n)); const j = `${this.options.pluralSeparator}zero`, G = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`; if (y && (B.push(m + R), n.ordinal && R.indexOf(G) === 0 && B.push(m + R.replace(G, this.options.pluralSeparator)), E && B.push(m + j)), S) { const ee = `${m}${this.options.contextSeparator}${n.context}`; B.push(ee), y && (B.push(ee + R), n.ordinal && R.indexOf(G) === 0 && B.push(ee + R.replace(G, this.options.pluralSeparator)), E && B.push(ee + j)); } } let V; for (; V = B.pop(); ) this.isValidLookup(i) || (a = V, i = this.getResource(I, C, V, n)); })); }); }), { res: i, usedKey: s, exactUsedKey: a, usedLng: u, usedNS: d }; } isValidLookup(e) { return e !== void 0 && !(!this.options.returnNull && e === null) && !(!this.options.returnEmptyString && e === ""); } getResource(e, n, i) { var a; let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}; return (a = this.i18nFormat) != null && a.getResource ? this.i18nFormat.getResource(e, n, i, s) : this.resourceStore.getResource(e, n, i, s); } getUsedParamsDetails() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; const n = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], i = e.replace && !fe(e.replace); let s = i ? e.replace : e; if (i && typeof e.count < "u" && (s.count = e.count), this.options.interpolation.defaultVariables && (s = { ...this.options.interpolation.defaultVariables, ...s }), !i) { s = { ...s }; for (const a of n) delete s[a]; } return s; } static hasDefaultValue(e) { const n = "defaultValue"; for (const i in e) if (Object.prototype.hasOwnProperty.call(e, i) && n === i.substring(0, n.length) && e[i] !== void 0) return !0; return !1; } } class $m { constructor(e) { this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = ir.create("languageUtils"); } getScriptPartFromCode(e) { if (e = el(e), !e || e.indexOf("-") < 0) return null; const n = e.split("-"); return n.length === 2 || (n.pop(), n[n.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(n.join("-")); } getLanguagePartFromCode(e) { if (e = el(e), !e || e.indexOf("-") < 0) return e; const n = e.split("-"); return this.formatLanguageCode(n[0]); } formatLanguageCode(e) { if (fe(e) && e.indexOf("-") > -1) { let n; try { n = Intl.getCanonicalLocales(e)[0]; } catch { } return n && this.options.lowerCaseLng && (n = n.toLowerCase()), n || (this.options.lowerCaseLng ? e.toLowerCase() : e); } return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e; } isSupportedCode(e) { return (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) && (e = this.getLanguagePartFromCode(e)), !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.indexOf(e) > -1; } getBestMatchFromCodes(e) { if (!e) return null; let n; return e.forEach((i) => { if (n) return; const s = this.formatLanguageCode(i); (!this.options.supportedLngs || this.isSupportedCode(s)) && (n = s); }), !n && this.options.supportedLngs && e.forEach((i) => { if (n) return; const s = this.getLanguagePartFromCode(i); if (this.isSupportedCode(s)) return n = s; n = this.options.supportedLngs.find((a) => { if (a === s) return a; if (!(a.indexOf("-") < 0 && s.indexOf("-") < 0) && (a.indexOf("-") > 0 && s.indexOf("-") < 0 && a.substring(0, a.indexOf("-")) === s || a.indexOf(s) === 0 && s.length > 1)) return a; }); }), n || (n = this.getFallbackCodes(this.options.fallbackLng)[0]), n; } getFallbackCodes(e, n) { if (!e) return []; if (typeof e == "function" && (e = e(n)), fe(e) && (e = [e]), Array.isArray(e)) return e; if (!n) return e.default || []; let i = e[n]; return i || (i = e[this.getScriptPartFromCode(n)]), i || (i = e[this.formatLanguageCode(n)]), i || (i = e[this.getLanguagePartFromCode(n)]), i || (i = e.default), i || []; } toResolveHierarchy(e, n) { const i = this.getFallbackCodes(n || this.options.fallbackLng || [], e), s = [], a = (u) => { u && (this.isSupportedCode(u) ? s.push(u) : this.logger.warn(`rejecting language code not found in supportedLngs: ${u}`)); }; return fe(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && a(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && a(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && a(this.getLanguagePartFromCode(e))) : fe(e) && a(this.formatLanguageCode(e)), i.forEach((u) => { s.indexOf(u) < 0 && a(this.formatLanguageCode(u)); }), s; } } const zm = { zero: 0, one: 1, two: 2, few: 3, many: 4, other: 5 }, Vm = { select: (t) => t === 1 ? "one" : "other", resolvedOptions: () => ({ pluralCategories: ["one", "other"] }) }; class JE { constructor(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; this.languageUtils = e, this.options = n, this.logger = ir.create("pluralResolver"), this.pluralRulesCache = {}; } addRule(e, n) { this.rules[e] = n; } clearCache() { this.pluralRulesCache = {}; } getRule(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; const i = el(e === "dev" ? "en" : e), s = n.ordinal ? "ordinal" : "cardinal", a = JSON.stringify({ cleanedCode: i, type: s }); if (a in this.pluralRulesCache) return this.pluralRulesCache[a]; let u; try { u = new Intl.PluralRules(i, { type: s }); } catch { if (!Intl) return this.logger.error("No Intl support, please use an Intl polyfill!"), Vm; if (!e.match(/-|_/)) return Vm; const f = this.languageUtils.getLanguagePartFromCode(e); u = this.getRule(f, n); } return this.pluralRulesCache[a] = u, u; } needsPlural(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = this.getRule(e, n); return i || (i = this.getRule("dev", n)), (i == null ? void 0 : i.resolvedOptions().pluralCategories.length) > 1; } getPluralFormsOfKey(e, n) { let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; return this.getSuffixes(e, i).map((s) => `${n}${s}`); } getSuffixes(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = this.getRule(e, n); return i || (i = this.getRule("dev", n)), i ? i.resolvedOptions().pluralCategories.sort((s, a) => zm[s] - zm[a]).map((s) => `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : []; } getSuffix(e, n) { let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; const s = this.getRule(e, i); return s ? `${this.options.prepend}${i.ordinal ? `ordinal${this.options.prepend}` : ""}${s.select(n)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", n, i)); } } const Wm = function(t, e, n) { let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, a = VE(t, e, n); return !a && s && fe(n) && (a = ld(t, n, i), a === void 0 && (a = ld(e, n, i))), a; }, ud = (t) => t.replace(/\$/g, "$$$$"); class QE { constructor() { var n; let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; this.logger = ir.create("interpolator"), this.options = e, this.format = ((n = e == null ? void 0 : e.interpolation) == null ? void 0 : n.format) || ((i) => i), this.init(e); } init() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; e.interpolation || (e.interpolation = { escapeValue: !0 }); const { escape: n, escapeValue: i, useRawValueToEscape: s, prefix: a, prefixEscaped: u, suffix: d, suffixEscaped: f, formatSeparator: p, unescapeSuffix: m, unescapePrefix: v, nestingPrefix: y, nestingPrefixEscaped: E, nestingSuffix: S, nestingSuffixEscaped: x, nestingOptionsSeparator: C, maxReplaces: L, alwaysFormat: k } = e.interpolation; this.escape = n !== void 0 ? n : GE, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = a ? go(a) : u || "{{", this.suffix = d ? go(d) : f || "}}", this.formatSeparator = p || ",", this.unescapePrefix = m ? "" : v || "-", this.unescapeSuffix = this.unescapePrefix ? "" : m || "", this.nestingPrefix = y ? go(y) : E || go("$t("), this.nestingSuffix = S ? go(S) : x || go(")"), this.nestingOptionsSeparator = C || ",", this.maxReplaces = L || 1e3, this.alwaysFormat = k !== void 0 ? k : !1, this.resetRegExp(); } reset() { this.options && this.init(this.options); } resetRegExp() { const e = (n, i) => (n == null ? void 0 : n.source) === i ? (n.lastIndex = 0, n) : new RegExp(i, "g"); this.regexp = e(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = e(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = e(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`); } interpolate(e, n, i, s) { var E; let a, u, d; const f = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, p = (S) => { if (S.indexOf(this.formatSeparator) < 0) { const k = Wm(n, f, S, this.options.keySeparator, this.options.ignoreJSONStructure); return this.alwaysFormat ? this.format(k, void 0, i, { ...s, ...n, interpolationkey: S }) : k; } const x = S.split(this.formatSeparator), C = x.shift().trim(), L = x.join(this.formatSeparator).trim(); return this.format(Wm(n, f, C, this.options.keySeparator, this.options.ignoreJSONStructure), L, i, { ...s, ...n, interpolationkey: C }); }; this.resetRegExp(); const m = (s == null ? void 0 : s.missingInterpolationHandler) || this.options.missingInterpolationHandler, v = ((E = s == null ? void 0 : s.interpolation) == null ? void 0 : E.skipOnVariables) !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables; return [{ regex: this.regexpUnescape, safeValue: (S) => ud(S) }, { regex: this.regexp, safeValue: (S) => this.escapeValue ? ud(this.escape(S)) : ud(S) }].forEach((S) => { for (d = 0; a = S.regex.exec(e); ) { const x = a[1].trim(); if (u = p(x), u === void 0) if (typeof m == "function") { const L = m(e, a, s); u = fe(L) ? L : ""; } else if (s && Object.prototype.hasOwnProperty.call(s, x)) u = ""; else if (v) { u = a[0]; continue; } else this.logger.warn(`missed to pass in variable ${x} for interpolating ${e}`), u = ""; else !fe(u) && !this.useRawValueToEscape && (u = Im(u)); const C = S.safeValue(u); if (e = e.replace(a[0], C), v ? (S.regex.lastIndex += u.length, S.regex.lastIndex -= a[0].length) : S.regex.lastIndex = 0, d++, d >= this.maxReplaces) break; } }), e; } nest(e, n) { let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s, a, u; const d = (f, p) => { const m = this.nestingOptionsSeparator; if (f.indexOf(m) < 0) return f; const v = f.split(new RegExp(`${m}[ ]*{`)); let y = `{${v[1]}`; f = v[0], y = this.interpolate(y, u); const E = y.match(/'/g), S = y.match(/"/g); (((E == null ? void 0 : E.length) ?? 0) % 2 === 0 && !S || S.length % 2 !== 0) && (y = y.replace(/'/g, '"')); try { u = JSON.parse(y), p && (u = { ...p, ...u }); } catch (x) { return this.logger.warn(`failed parsing options string in nesting for key ${f}`, x), `${f}${m}${y}`; } return u.defaultValue && u.defaultValue.indexOf(this.prefix) > -1 && delete u.defaultValue, f; }; for (; s = this.nestingRegexp.exec(e); ) { let f = []; u = { ...i }, u = u.replace && !fe(u.replace) ? u.replace : u, u.applyPostProcessor = !1, delete u.defaultValue; let p = !1; if (s[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(s[1])) { const m = s[1].split(this.formatSeparator).map((v) => v.trim()); s[1] = m.shift(), f = m, p = !0; } if (a = n(d.call(this, s[1].trim(), u), u), a && s[0] === e && !fe(a)) return a; fe(a) || (a = Im(a)), a || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), a = ""), p && (a = f.reduce((m, v) => this.format(m, v, i.lng, { ...i, interpolationkey: s[1].trim() }), a.trim())), e = e.replace(s[0], a), this.regexp.lastIndex = 0; } return e; } } const ex = (t) => { let e = t.toLowerCase().trim(); const n = {}; if (t.indexOf("(") > -1) { const i = t.split("("); e = i[0].toLowerCase().trim(); const s = i[1].substring(0, i[1].length - 1); e === "currency" && s.indexOf(":") < 0 ? n.currency || (n.currency = s.trim()) : e === "relativetime" && s.indexOf(":") < 0 ? n.range || (n.range = s.trim()) : s.split(";").forEach((u) => { if (u) { const [d, ...f] = u.split(":"), p = f.join(":").trim().replace(/^'+|'+$/g, ""), m = d.trim(); n[m] || (n[m] = p), p === "false" && (n[m] = !1), p === "true" && (n[m] = !0), isNaN(p) || (n[m] = parseInt(p, 10)); } }); } return { formatName: e, formatOptions: n }; }, vo = (t) => { const e = {}; return (n, i, s) => { let a = s; s && s.interpolationkey && s.formatParams && s.formatParams[s.interpolationkey] && s[s.interpolationkey] && (a = { ...a, [s.interpolationkey]: void 0 }); const u = i + JSON.stringify(a); let d = e[u]; return d || (d = t(el(i), s), e[u] = d), d(n); }; }; class tx { constructor() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; this.logger = ir.create("formatter"), this.options = e, this.formats = { number: vo((n, i) => { const s = new Intl.NumberFormat(n, { ...i }); return (a) => s.format(a); }), currency: vo((n, i) => { const s = new Intl.NumberFormat(n, { ...i, style: "currency" }); return (a) => s.format(a); }), datetime: vo((n, i) => { const s = new Intl.DateTimeFormat(n, { ...i }); return (a) => s.format(a); }), relativetime: vo((n, i) => { const s = new Intl.RelativeTimeFormat(n, { ...i }); return (a) => s.format(a, i.range || "day"); }), list: vo((n, i) => { const s = new Intl.ListFormat(n, { ...i }); return (a) => s.format(a); }) }, this.init(e); } init(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : { interpolation: {} }; this.formatSeparator = n.interpolation.formatSeparator || ","; } add(e, n) { this.formats[e.toLowerCase().trim()] = n; } addCached(e, n) { this.formats[e.toLowerCase().trim()] = vo(n); } format(e, n, i) { let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}; const a = n.split(this.formatSeparator); if (a.length > 1 && a[0].indexOf("(") > 1 && a[0].indexOf(")") < 0 && a.find((d) => d.indexOf(")") > -1)) { const d = a.findIndex((f) => f.indexOf(")") > -1); a[0] = [a[0], ...a.splice(1, d)].join(this.formatSeparator); } return a.reduce((d, f) => { var v; const { formatName: p, formatOptions: m } = ex(f); if (this.formats[p]) { let y = d; try { const E = ((v = s == null ? void 0 : s.formatParams) == null ? void 0 : v[s.interpolationkey]) || {}, S = E.locale || E.lng || s.locale || s.lng || i; y = this.formats[p](d, S, { ...m, ...s, ...E }); } catch (E) { this.logger.warn(E); } return y; } else this.logger.warn(`there was no format function for ${p}`); return d; }, e); } } const nx = (t, e) => { t.pending[e] !== void 0 && (delete t.pending[e], t.pendingCount--); }; class rx extends nl { constructor(e, n, i) { var a, u; let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}; super(), this.backend = e, this.store = n, this.services = i, this.languageUtils = i.languageUtils, this.options = s, this.logger = ir.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], (u = (a = this.backend) == null ? void 0 : a.init) == null || u.call(a, i, s.backend, s); } queueLoad(e, n, i, s) { const a = {}, u = {}, d = {}, f = {}; return e.forEach((p) => { let m = !0; n.forEach((v) => { const y = `${p}|${v}`; !i.reload && this.store.hasResourceBundle(p, v) ? this.state[y] = 2 : this.state[y] < 0 || (this.state[y] === 1 ? u[y] === void 0 && (u[y] = !0) : (this.state[y] = 1, m = !1, u[y] === void 0 && (u[y] = !0), a[y] === void 0 && (a[y] = !0), f[v] === void 0 && (f[v] = !0))); }), m || (d[p] = !0); }), (Object.keys(a).length || Object.keys(u).length) && this.queue.push({ pending: u, pendingCount: Object.keys(u).length, loaded: {}, errors: [], callback: s }), { toLoad: Object.keys(a), pending: Object.keys(u), toLoadLanguages: Object.keys(d), toLoadNamespaces: Object.keys(f) }; } loaded(e, n, i) { const s = e.split("|"), a = s[0], u = s[1]; n && this.emit("failedLoading", a, u, n), !n && i && this.store.addResourceBundle(a, u, i, void 0, void 0, { skipCopy: !0 }), this.state[e] = n ? -1 : 2, n && i && (this.state[e] = 0); const d = {}; this.queue.forEach((f) => { zE(f.loaded, [a], u), nx(f, e), n && f.errors.push(n), f.pendingCount === 0 && !f.done && (Object.keys(f.loaded).forEach((p) => { d[p] || (d[p] = {}); const m = f.loaded[p]; m.length && m.forEach((v) => { d[p][v] === void 0 && (d[p][v] = !0); }); }), f.done = !0, f.errors.length ? f.callback(f.errors) : f.callback()); }), this.emit("loaded", d), this.queue = this.queue.filter((f) => !f.done); } read(e, n, i) { let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout, u = arguments.length > 5 ? arguments[5] : void 0; if (!e.length) return u(null, {}); if (this.readingCalls >= this.maxParallelReads) { this.waitingReads.push({ lng: e, ns: n, fcName: i, tried: s, wait: a, callback: u }); return; } this.readingCalls++; const d = (p, m) => { if (this.readingCalls--, this.waitingReads.length > 0) { const v = this.waitingReads.shift(); this.read(v.lng, v.ns, v.fcName, v.tried, v.wait, v.callback); } if (p && m && s < this.maxRetries) { setTimeout(() => { this.read.call(this, e, n, i, s + 1, a * 2, u); }, a); return; } u(p, m); }, f = this.backend[i].bind(this.backend); if (f.length === 2) { try { const p = f(e, n); p && typeof p.then == "function" ? p.then((m) => d(null, m)).catch(d) : d(null, p); } catch (p) { d(p); } return; } return f(e, n, d); } prepareLoading(e, n) { let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s = arguments.length > 3 ? arguments[3] : void 0; if (!this.backend) return this.logger.warn("No backend was added via i18next.use. Will not load resources."), s && s(); fe(e) && (e = this.languageUtils.toResolveHierarchy(e)), fe(n) && (n = [n]); const a = this.queueLoad(e, n, i, s); if (!a.toLoad.length) return a.pending.length || s(), null; a.toLoad.forEach((u) => { this.loadOne(u); }); } load(e, n, i) { this.prepareLoading(e, n, {}, i); } reload(e, n, i) { this.prepareLoading(e, n, { reload: !0 }, i); } loadOne(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ""; const i = e.split("|"), s = i[0], a = i[1]; this.read(s, a, "read", void 0, void 0, (u, d) => { u && this.logger.warn(`${n}loading namespace ${a} for language ${s} failed`, u), !u && d && this.logger.log(`${n}loaded namespace ${a} for language ${s}`, d), this.loaded(e, u, d); }); } saveMissing(e, n, i, s, a) { var f, p, m, v, y; let u = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {}, d = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : () => { }; if ((p = (f = this.services) == null ? void 0 : f.utils) != null && p.hasLoadedNamespace && !((v = (m = this.services) == null ? void 0 : m.utils) != null && v.hasLoadedNamespace(n))) { this.logger.warn(`did not save key "${i}" as the namespace "${n}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"); return; } if (!(i == null || i === "")) { if ((y = this.backend) != null && y.create) { const E = { ...u, isUpdate: a }, S = this.backend.create.bind(this.backend); if (S.length < 6) try { let x; S.length === 5 ? x = S(e, n, i, s, E) : x = S(e, n, i, s), x && typeof x.then == "function" ? x.then((C) => d(null, C)).catch(d) : d(null, x); } catch (x) { d(x); } else S(e, n, i, s, d, E); } !e || !e[0] || this.store.addResource(e[0], n, i, s); } } } const Gm = () => ({ debug: !1, initAsync: !0, ns: ["translation"], defaultNS: ["translation"], fallbackLng: ["dev"], fallbackNS: !1, supportedLngs: !1, nonExplicitSupportedLngs: !1, load: "all", preload: !1, simplifyPluralSuffix: !0, keySeparator: ".", nsSeparator: ":", pluralSeparator: "_", contextSeparator: "_", partialBundledLanguages: !1, saveMissing: !1, updateMissing: !1, saveMissingTo: "fallback", saveMissingPlurals: !0, missingKeyHandler: !1, missingInterpolationHandler: !1, postProcess: !1, postProcessPassResolved: !1, returnNull: !1, returnEmptyString: !0, returnObjects: !1, joinArrays: !1, returnedObjectHandler: !1, parseMissingKeyHandler: !1, appendNamespaceToMissingKey: !1, appendNamespaceToCIMode: !1, overloadTranslationOptionHandler: (t) => { let e = {}; if (typeof t[1] == "object" && (e = t[1]), fe(t[1]) && (e.defaultValue = t[1]), fe(t[2]) && (e.tDescription = t[2]), typeof t[2] == "object" || typeof t[3] == "object") { const n = t[3] || t[2]; Object.keys(n).forEach((i) => { e[i] = n[i]; }); } return e; }, interpolation: { escapeValue: !0, format: (t) => t, prefix: "{{", suffix: "}}", formatSeparator: ",", unescapePrefix: "-", nestingPrefix: "$t(", nestingSuffix: ")", nestingOptionsSeparator: ",", maxReplaces: 1e3, skipOnVariables: !0 } }), qm = (t) => { var e, n; return fe(t.ns) && (t.ns = [t.ns]), fe(t.fallbackLng) && (t.fallbackLng = [t.fallbackLng]), fe(t.fallbackNS) && (t.fallbackNS = [t.fallbackNS]), ((n = (e = t.supportedLngs) == null ? void 0 : e.indexOf) == null ? void 0 : n.call(e, "cimode")) < 0 && (t.supportedLngs = t.supportedLngs.concat(["cimode"])), typeof t.initImmediate == "boolean" && (t.initAsync = t.initImmediate), t; }, il = () => { }, ix = (t) => { Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach((n) => { typeof t[n] == "function" && (t[n] = t[n].bind(t)); }); }; class bs extends nl { constructor() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0; if (super(), this.options = qm(e), this.services = {}, this.logger = ir, this.modules = { external: [] }, ix(this), n && !this.isInitialized && !e.isClone) { if (!this.options.initAsync) return this.init(e, n), this; setTimeout(() => { this.init(e, n); }, 0); } } init() { var e = this; let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0; this.isInitializing = !0, typeof n == "function" && (i = n, n = {}), n.defaultNS == null && n.ns && (fe(n.ns) ? n.defaultNS = n.ns : n.ns.indexOf("translation") < 0 && (n.defaultNS = n.ns[0])); const s = Gm(); this.options = { ...s, ...this.options, ...qm(n) }, this.options.interpolation = { ...s.interpolation, ...this.options.interpolation }, n.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = n.keySeparator), n.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = n.nsSeparator); const a = (m) => m ? typeof m == "function" ? new m() : m : null; if (!this.options.isClone) { this.modules.logger ? ir.init(a(this.modules.logger), this.options) : ir.init(null, this.options); let m; this.modules.formatter ? m = this.modules.formatter : m = tx; const v = new $m(this.options); this.store = new Fm(this.options.resources, this.options); const y = this.services; y.logger = ir, y.resourceStore = this.store, y.languageUtils = v, y.pluralResolver = new JE(v, { prepend: this.options.pluralSeparator, simplifyPluralSuffix: this.options.simplifyPluralSuffix }), m && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (y.formatter = a(m), y.formatter.init(y, this.options), this.options.interpolation.format = y.formatter.format.bind(y.formatter)), y.interpolator = new QE(this.options), y.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, y.backendConnector = new rx(a(this.modules.backend), y.resourceStore, y, this.options), y.backendConnector.on("*", function(E) { for (var S = arguments.length, x = new Array(S > 1 ? S - 1 : 0), C = 1; C < S; C++) x[C - 1] = arguments[C]; e.emit(E, ...x); }), this.modules.languageDetector && (y.languageDetector = a(this.modules.languageDetector), y.languageDetector.init && y.languageDetector.init(y, this.options.detection, this.options)), this.modules.i18nFormat && (y.i18nFormat = a(this.modules.i18nFormat), y.i18nFormat.init && y.i18nFormat.init(this)), this.translator = new rl(this.services, this.options), this.translator.on("*", function(E) { for (var S = arguments.length, x = new Array(S > 1 ? S - 1 : 0), C = 1; C < S; C++) x[C - 1] = arguments[C]; e.emit(E, ...x); }), this.modules.external.forEach((E) => { E.init && E.init(this); }); } if (this.format = this.options.interpolation.format, i || (i = il), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) { const m = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng); m.length > 0 && m[0] !== "dev" && (this.options.lng = m[0]); } !this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"].forEach((m) => { this[m] = function() { return e.store[m](...arguments); }; }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((m) => { this[m] = function() { return e.store[m](...arguments), e; }; }); const f = Fn(), p = () => { const m = (v, y) => { this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), f.resolve(y), i(v, y); }; if (this.languages && !this.isInitialized) return m(null, this.t.bind(this)); this.changeLanguage(this.options.lng, m); }; return this.options.resources || !this.options.initAsync ? p() : setTimeout(p, 0), f; } loadResources(e) { var a, u; let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : il; const s = fe(e) ? e : this.language; if (typeof e == "function" && (i = e), !this.options.resources || this.options.partialBundledLanguages) { if ((s == null ? void 0 : s.toLowerCase()) === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return i(); const d = [], f = (p) => { if (!p || p === "cimode") return; this.services.languageUtils.toResolveHierarchy(p).forEach((v) => { v !== "cimode" && d.indexOf(v) < 0 && d.push(v); }); }; s ? f(s) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((m) => f(m)), (u = (a = this.options.preload) == null ? void 0 : a.forEach) == null || u.call(a, (p) => f(p)), this.services.backendConnector.load(d, this.options.ns, (p) => { !p && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), i(p); }); } else i(null); } reloadResources(e, n, i) { const s = Fn(); return typeof e == "function" && (i = e, e = void 0), typeof n == "function" && (i = n, n = void 0), e || (e = this.languages), n || (n = this.options.ns), i || (i = il), this.services.backendConnector.reload(e, n, (a) => { s.resolve(), i(a); }), s; } use(e) { if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()"); if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()"); return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Hm.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this; } setResolvedLanguage(e) { if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) for (let n = 0; n < this.languages.length; n++) { const i = this.languages[n]; if (!(["cimode", "dev"].indexOf(i) > -1) && this.store.hasLanguageSomeTranslations(i)) { this.resolvedLanguage = i; break; } } } changeLanguage(e, n) { var i = this; this.isLanguageChangingTo = e; const s = Fn(); this.emit("languageChanging", e); const a = (f) => { this.language = f, this.languages = this.services.languageUtils.toResolveHierarchy(f), this.resolvedLanguage = void 0, this.setResolvedLanguage(f); }, u = (f, p) => { p ? (a(p), this.translator.changeLanguage(p), this.isLanguageChangingTo = void 0, this.emit("languageChanged", p), this.logger.log("languageChanged", p)) : this.isLanguageChangingTo = void 0, s.resolve(function() { return i.t(...arguments); }), n && n(f, function() { return i.t(...arguments); }); }, d = (f) => { var m, v; !e && !f && this.services.languageDetector && (f = []); const p = fe(f) ? f : this.services.languageUtils.getBestMatchFromCodes(f); p && (this.language || a(p), this.translator.language || this.translator.changeLanguage(p), (v = (m = this.services.languageDetector) == null ? void 0 : m.cacheUserLanguage) == null || v.call(m, p)), this.loadResources(p, (y) => { u(y, p); }); }; return !e && this.services.languageDetector && !this.services.languageDetector.async ? d(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(d) : this.services.languageDetector.detect(d) : d(e), s; } getFixedT(e, n, i) { var s = this; const a = function(u, d) { let f; if (typeof d != "object") { for (var p = arguments.length, m = new Array(p > 2 ? p - 2 : 0), v = 2; v < p; v++) m[v - 2] = arguments[v]; f = s.options.overloadTranslationOptionHandler([u, d].concat(m)); } else f = { ...d }; f.lng = f.lng || a.lng, f.lngs = f.lngs || a.lngs, f.ns = f.ns || a.ns, f.keyPrefix !== "" && (f.keyPrefix = f.keyPrefix || i || a.keyPrefix); const y = s.options.keySeparator || "."; let E; return f.keyPrefix && Array.isArray(u) ? E = u.map((S) => `${f.keyPrefix}${y}${S}`) : E = f.keyPrefix ? `${f.keyPrefix}${y}${u}` : u, s.t(E, f); }; return fe(e) ? a.lng = e : a.lngs = e, a.ns = n, a.keyPrefix = i, a; } t() { var s; for (var e = arguments.length, n = new Array(e), i = 0; i < e; i++) n[i] = arguments[i]; return (s = this.translator) == null ? void 0 : s.translate(...n); } exists() { var s; for (var e = arguments.length, n = new Array(e), i = 0; i < e; i++) n[i] = arguments[i]; return (s = this.translator) == null ? void 0 : s.exists(...n); } setDefaultNamespace(e) { this.options.defaultNS = e; } hasLoadedNamespace(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; if (!this.isInitialized) return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1; if (!this.languages || !this.languages.length) return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1; const i = n.lng || this.resolvedLanguage || this.languages[0], s = this.options ? this.options.fallbackLng : !1, a = this.languages[this.languages.length - 1]; if (i.toLowerCase() === "cimode") return !0; const u = (d, f) => { const p = this.services.backendConnector.state[`${d}|${f}`]; return p === -1 || p === 0 || p === 2; }; if (n.precheck) { const d = n.precheck(this, u); if (d !== void 0) return d; } return !!(this.hasResourceBundle(i, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || u(i, e) && (!s || u(a, e))); } loadNamespaces(e, n) { const i = Fn(); return this.options.ns ? (fe(e) && (e = [e]), e.forEach((s) => { this.options.ns.indexOf(s) < 0 && this.options.ns.push(s); }), this.loadResources((s) => { i.resolve(), n && n(s); }), i) : (n && n(), Promise.resolve()); } loadLanguages(e, n) { const i = Fn(); fe(e) && (e = [e]); const s = this.options.preload || [], a = e.filter((u) => s.indexOf(u) < 0 && this.services.languageUtils.isSupportedCode(u)); return a.length ? (this.options.preload = s.concat(a), this.loadResources((u) => { i.resolve(), n && n(u); }), i) : (n && n(), Promise.resolve()); } dir(e) { var s, a; if (e || (e = this.resolvedLanguage || (((s = this.languages) == null ? void 0 : s.length) > 0 ? this.languages[0] : this.language)), !e) return "rtl"; const n = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = ((a = this.services) == null ? void 0 : a.languageUtils) || new $m(Gm()); return n.indexOf(i.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr"; } static createInstance() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0; return new bs(e, n); } cloneInstance() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : il; const i = e.forkResourceStore; i && delete e.forkResourceStore; const s = { ...this.options, ...e, isClone: !0 }, a = new bs(s); if ((e.debug !== void 0 || e.prefix !== void 0) && (a.logger = a.logger.clone(e)), ["store", "services", "language"].forEach((d) => { a[d] = this[d]; }), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, i) { const d = Object.keys(this.store.data).reduce((f, p) => (f[p] = { ...this.store.data[p] }, Object.keys(f[p]).reduce((m, v) => (m[v] = { ...f[p][v] }, m), {})), {}); a.store = new Fm(d, s), a.services.resourceStore = a.store; } return a.translator = new rl(a.services, s), a.translator.on("*", function(d) { for (var f = arguments.length, p = new Array(f > 1 ? f - 1 : 0), m = 1; m < f; m++) p[m - 1] = arguments[m]; a.emit(d, ...p); }), a.init(s, n), a.translator.options = s, a.translator.backendConnector.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a; } toJSON() { return { options: this.options, store: this.store, language: this.language, languages: this.languages, resolvedLanguage: this.resolvedLanguage }; } } const kt = bs.createInstance(); kt.createInstance = bs.createInstance, kt.createInstance, kt.dir, kt.init, kt.loadResources, kt.reloadResources, kt.use, kt.changeLanguage, kt.getFixedT; const ox = kt.t; kt.exists, kt.setDefaultNamespace, kt.hasLoadedNamespace, kt.loadNamespaces, kt.loadLanguages; function Ym(t) { return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t; } var Km = { exports: {} }, Ne = {}; /** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var Zm; function sx() { if (Zm) return Ne; Zm = 1; var t = Symbol.for("react.element"), e = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), u = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), p = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), v = Symbol.iterator; function y(T) { return T === null || typeof T != "object" ? null : (T = v && T[v] || T["@@iterator"], typeof T == "function" ? T : null); } var E = { isMounted: function() { return !1; }, enqueueForceUpdate: function() { }, enqueueReplaceState: function() { }, enqueueSetState: function() { } }, S = Object.assign, x = {}; function C(T, U, X) { this.props = T, this.context = U, this.refs = x, this.updater = X || E; } C.prototype.isReactComponent = {}, C.prototype.setState = function(T, U) { if (typeof T != "object" && typeof T != "function" && T != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables."); this.updater.enqueueSetState(this, T, U, "setState"); }, C.prototype.forceUpdate = function(T) { this.updater.enqueueForceUpdate(this, T, "forceUpdate"); }; function L() { } L.prototype = C.prototype; function k(T, U, X) { this.props = T, this.context = U, this.refs = x, this.updater = X || E; } var I = k.prototype = new L(); I.constructor = k, S(I, C.prototype), I.isPureReactComponent = !0; var B = Array.isArray, V = Object.prototype.hasOwnProperty, P = { current: null }, R = { key: !0, ref: !0, __self: !0, __source: !0 }; function j(T, U, X) { var Se, de = {}, Oe = null, _e = null; if (U != null) for (Se in U.ref !== void 0 && (_e = U.ref), U.key !== void 0 && (Oe = "" + U.key), U) V.call(U, Se) && !R.hasOwnProperty(Se) && (de[Se] = U[Se]); var Pe = arguments.length - 2; if (Pe === 1) de.children = X; else if (1 < Pe) { for (var Ae = Array(Pe), st = 0; st < Pe; st++) Ae[st] = arguments[st + 2]; de.children = Ae; } if (T && T.defaultProps) for (Se in Pe = T.defaultProps, Pe) de[Se] === void 0 && (de[Se] = Pe[Se]); return { $$typeof: t, type: T, key: Oe, ref: _e, props: de, _owner: P.current }; } function G(T, U) { return { $$typeof: t, type: T.type, key: U, ref: T.ref, props: T.props, _owner: T._owner }; } function ee(T) { return typeof T == "object" && T !== null && T.$$typeof === t; } function W(T) { var U = { "=": "=0", ":": "=2" }; return "$" + T.replace(/[=:]/g, function(X) { return U[X]; }); } var re = /\/+/g; function we(T, U) { return typeof T == "object" && T !== null && T.key != null ? W("" + T.key) : U.toString(36); } function ye(T, U, X, Se, de) { var Oe = typeof T; (Oe === "undefined" || Oe === "boolean") && (T = null); var _e = !1; if (T === null) _e = !0; else switch (Oe) { case "string": case "number": _e = !0; break; case "object": switch (T.$$typeof) { case t: case e: _e = !0; } } if (_e) return _e = T, de = de(_e), T = Se === "" ? "." + we(_e, 0) : Se, B(de) ? (X = "", T != null && (X = T.replace(re, "$&/") + "/"), ye(de, U, X, "", function(st) { return st; })) : de != null && (ee(de) && (de = G(de, X + (!de.key || _e && _e.key === de.key ? "" : ("" + de.key).replace(re, "$&/") + "/") + T)), U.push(de)), 1; if (_e = 0, Se = Se === "" ? "." : Se + ":", B(T)) for (var Pe = 0; Pe < T.length; Pe++) { Oe = T[Pe]; var Ae = Se + we(Oe, Pe); _e += ye(Oe, U, X, Ae, de); } else if (Ae = y(T), typeof Ae == "function") for (T = Ae.call(T), Pe = 0; !(Oe = T.next()).done; ) Oe = Oe.value, Ae = Se + we(Oe, Pe++), _e += ye(Oe, U, X, Ae, de); else if (Oe === "object") throw U = String(T), Error("Objects are not valid as a React child (found: " + (U === "[object Object]" ? "object with keys {" + Object.keys(T).join(", ") + "}" : U) + "). If you meant to render a collection of children, use an array instead."); return _e; } function be(T, U, X) { if (T == null) return T; var Se = [], de = 0; return ye(T, Se, "", "", function(Oe) { return U.call(X, Oe, de++); }), Se; } function Be(T) { if (T._status === -1) { var U = T._result; U = U(), U.then(function(X) { (T._status === 0 || T._status === -1) && (T._status = 1, T._result = X); }, function(X) { (T._status === 0 || T._status === -1) && (T._status = 2, T._result = X); }), T._status === -1 && (T._status = 0, T._result = U); } if (T._status === 1) return T._result.default; throw T._result; } var ge = { current: null }, q = { transition: null }, Q = { ReactCurrentDispatcher: ge, ReactCurrentBatchConfig: q, ReactCurrentOwner: P }; return Ne.Children = { map: be, forEach: function(T, U, X) { be(T, function() { U.apply(this, arguments); }, X); }, count: function(T) { var U = 0; return be(T, function() { U++; }), U; }, toArray: function(T) { return be(T, function(U) { return U; }) || []; }, only: function(T) { if (!ee(T)) throw Error("React.Children.only expected to receive a single React element child."); return T; } }, Ne.Component = C, Ne.Fragment = n, Ne.Profiler = s, Ne.PureComponent = k, Ne.StrictMode = i, Ne.Suspense = f, Ne.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Q, Ne.cloneElement = function(T, U, X) { if (T == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + T + "."); var Se = S({}, T.props), de = T.key, Oe = T.ref, _e = T._owner; if (U != null) { if (U.ref !== void 0 && (Oe = U.ref, _e = P.current), U.key !== void 0 && (de = "" + U.key), T.type && T.type.defaultProps) var Pe = T.type.defaultProps; for (Ae in U) V.call(U, Ae) && !R.hasOwnProperty(Ae) && (Se[Ae] = U[Ae] === void 0 && Pe !== void 0 ? Pe[Ae] : U[Ae]); } var Ae = arguments.length - 2; if (Ae === 1) Se.children = X; else if (1 < Ae) { Pe = Array(Ae); for (var st = 0; st < Ae; st++) Pe[st] = arguments[st + 2]; Se.children = Pe; } return { $$typeof: t, type: T.type, key: de, ref: Oe, props: Se, _owner: _e }; }, Ne.createContext = function(T) { return T = { $$typeof: u, _currentValue: T, _currentValue2: T, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, T.Provider = { $$typeof: a, _context: T }, T.Consumer = T; }, Ne.createElement = j, Ne.createFactory = function(T) { var U = j.bind(null, T); return U.type = T, U; }, Ne.createRef = function() { return { current: null }; }, Ne.forwardRef = function(T) { return { $$typeof: d, render: T }; }, Ne.isValidElement = ee, Ne.lazy = function(T) { return { $$typeof: m, _payload: { _status: -1, _result: T }, _init: Be }; }, Ne.memo = function(T, U) { return { $$typeof: p, type: T, compare: U === void 0 ? null : U }; }, Ne.startTransition = function(T) { var U = q.transition; q.transition = {}; try { T(); } finally { q.transition = U; } }, Ne.unstable_act = function() { throw Error("act(...) is not supported in production builds of React."); }, Ne.useCallback = function(T, U) { return ge.current.useCallback(T, U); }, Ne.useContext = function(T) { return ge.current.useContext(T); }, Ne.useDebugValue = function() { }, Ne.useDeferredValue = function(T) { return ge.current.useDeferredValue(T); }, Ne.useEffect = function(T, U) { return ge.current.useEffect(T, U); }, Ne.useId = function() { return ge.current.useId(); }, Ne.useImperativeHandle = function(T, U, X) { return ge.current.useImperativeHandle(T, U, X); }, Ne.useInsertionEffect = function(T, U) { return ge.current.useInsertionEffect(T, U); }, Ne.useLayoutEffect = function(T, U) { return ge.current.useLayoutEffect(T, U); }, Ne.useMemo = function(T, U) { return ge.current.useMemo(T, U); }, Ne.useReducer = function(T, U, X) { return ge.current.useReducer(T, U, X); }, Ne.useRef = function(T) { return ge.current.useRef(T); }, Ne.useState = function(T) { return ge.current.useState(T); }, Ne.useSyncExternalStore = function(T, U, X) { return ge.current.useSyncExternalStore(T, U, X); }, Ne.useTransition = function() { return ge.current.useTransition(); }, Ne.version = "18.2.0", Ne; } Km.exports = sx(); var N = Km.exports; const gt = /* @__PURE__ */ Ym(N), ax = (t, e, n, i) => { var a, u, d, f; const s = [n, { code: e, ...i || {} }]; if ((u = (a = t == null ? void 0 : t.services) == null ? void 0 : a.logger) != null && u.forward) return t.services.logger.forward(s, "warn", "react-i18next::", !0); Li(s[0]) && (s[0] = `react-i18next:: ${s[0]}`), (f = (d = t == null ? void 0 : t.services) == null ? void 0 : d.logger) != null && f.warn ? t.services.logger.warn(...s) : console != null && console.warn && console.warn(...s); }, Xm = {}, cd = (t, e, n, i) => { Li(n) && Xm[n] || (Li(n) && (Xm[n] = /* @__PURE__ */ new Date()), ax(t, e, n, i)); }, Jm = (t, e) => () => { if (t.isInitialized) e(); else { const n = () => { setTimeout(() => { t.off("initialized", n); }, 0), e(); }; t.on("initialized", n); } }, dd = (t, e, n) => { t.loadNamespaces(e, Jm(t, n)); }, Qm = (t, e, n, i) => { if (Li(n) && (n = [n]), t.options.preload && t.options.preload.indexOf(e) > -1) return dd(t, n, i); n.forEach((s) => { t.options.ns.indexOf(s) < 0 && t.options.ns.push(s); }), t.loadLanguages(e, Jm(t, i)); }, lx = (t, e, n = {}) => !e.languages || !e.languages.length ? (cd(e, "NO_LANGUAGES", "i18n.languages were undefined or empty", { languages: e.languages }), !0) : e.hasLoadedNamespace(t, { lng: n.lng, precheck: (i, s) => { var a; if (((a = n.bindI18n) == null ? void 0 : a.indexOf("languageChanging")) > -1 && i.services.backendConnector.backend && i.isLanguageChangingTo && !s(i.isLanguageChangingTo, t)) return !1; } }), Li = (t) => typeof t == "string", ux = (t) => typeof t == "object" && t !== null, cx = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, dx = { "&": "&", "&": "&", "<": "<", "<": "<", ">": ">", ">": ">", "'": "'", "'": "'", """: '"', """: '"', " ": " ", " ": " ", "©": "©", "©": "©", "®": "®", "®": "®", "…": "…", "…": "…", "/": "/", "/": "/" }, fx = (t) => dx[t]; let fd = { bindI18n: "languageChanged", bindI18nStore: "", transEmptyNodeValue: "", transSupportBasicHtmlNodes: !0, transWrapTextNodes: "", transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"], useSuspense: !0, unescape: (t) => t.replace(cx, fx) }; const hx = (t = {}) => { fd = { ...fd, ...t }; }, px = () => fd; let eg; const mx = (t) => { eg = t; }, gx = () => eg, tg = { type: "3rdParty", init(t) { hx(t.options.react), mx(t); } }, vx = N.createContext(); class yx { constructor() { this.usedNamespaces = {}; } addUsedNamespaces(e) { e.forEach((n) => { this.usedNamespaces[n] || (this.usedNamespaces[n] = !0); }); } getUsedNamespaces() { return Object.keys(this.usedNamespaces); } } const wx = (t, e) => { const n = N.useRef(); return N.useEffect(() => { n.current = e ? n.current : t; }, [t, e]), n.current; }, ng = (t, e, n, i) => t.getFixedT(e, n, i), Sx = (t, e, n, i) => N.useCallback(ng(t, e, n, i), [t, e, n, i]), or = (t, e = {}) => { var B, V, P, R; const { i18n: n } = e, { i18n: i, defaultNS: s } = N.useContext(vx) || {}, a = n || i || gx(); if (a && !a.reportNamespaces && (a.reportNamespaces = new yx()), !a) { cd(a, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next"); const j = (ee, W) => Li(W) ? W : ux(W) && Li(W.defaultValue) ? W.defaultValue : Array.isArray(ee) ? ee[ee.length - 1] : ee, G = [j, {}, !1]; return G.t = j, G.i18n = {}, G.ready = !1, G; } (B = a.options.react) != null && B.wait && cd(a, "DEPRECATED_OPTION", "useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour."); const u = { ...px(), ...a.options.react, ...e }, { useSuspense: d, keyPrefix: f } = u; let p = t || s || ((V = a.options) == null ? void 0 : V.defaultNS); p = Li(p) ? [p] : p || ["translation"], (R = (P = a.reportNamespaces).addUsedNamespaces) == null || R.call(P, p); const m = (a.isInitialized || a.initializedStoreOnce) && p.every((j) => lx(j, a, u)), v = Sx(a, e.lng || null, u.nsMode === "fallback" ? p : p[0], f), y = () => v, E = () => ng(a, e.lng || null, u.nsMode === "fallback" ? p : p[0], f), [S, x] = N.useState(y); let C = p.join(); e.lng && (C = `${e.lng}${C}`); const L = wx(C), k = N.useRef(!0); N.useEffect(() => { const { bindI18n: j, bindI18nStore: G } = u; k.current = !0, !m && !d && (e.lng ? Qm(a, e.lng, p, () => { k.current && x(E); }) : dd(a, p, () => { k.current && x(E); })), m && L && L !== C && k.current && x(E); const ee = () => { k.current && x(E); }; return j && (a == null || a.on(j, ee)), G && (a == null || a.store.on(G, ee)), () => { k.current = !1, a && (j == null || j.split(" ").forEach((W) => a.off(W, ee))), G && a && G.split(" ").forEach((W) => a.store.off(W, ee)); }; }, [a, C]), N.useEffect(() => { k.current && m && x(y); }, [a, f, m]); const I = [S, a, m]; if (I.t = S, I.i18n = a, I.ready = m, m || !m && !d) return I; throw new Promise((j) => { e.lng ? Qm(a, e.lng, p, () => j()) : dd(a, p, () => j()); }); }; var rg = { exports: {} }, Cs = {}; /** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var ig; function Ex() { if (ig) return Cs; ig = 1; var t = N, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 }; function u(d, f, p) { var m, v = {}, y = null, E = null; p !== void 0 && (y = "" + p), f.key !== void 0 && (y = "" + f.key), f.ref !== void 0 && (E = f.ref); for (m in f) i.call(f, m) && !a.hasOwnProperty(m) && (v[m] = f[m]); if (d && d.defaultProps) for (m in f = d.defaultProps, f) v[m] === void 0 && (v[m] = f[m]); return { $$typeof: e, type: d, key: y, ref: E, props: v, _owner: s.current }; } return Cs.Fragment = n, Cs.jsx = u, Cs.jsxs = u, Cs; } rg.exports = Ex(); var O = rg.exports; function og(t, e) { return function() { return t.apply(e, arguments); }; } const { toString: xx } = Object.prototype, { getPrototypeOf: hd } = Object, ol = /* @__PURE__ */ ((t) => (e) => { const n = xx.call(e); return t[n] || (t[n] = n.slice(8, -1).toLowerCase()); })(/* @__PURE__ */ Object.create(null)), Hn = (t) => (t = t.toLowerCase(), (e) => ol(e) === t), sl = (t) => (e) => typeof e === t, { isArray: yo } = Array, Ts = sl("undefined"); function bx(t) { return t !== null && !Ts(t) && t.constructor !== null && !Ts(t.constructor) && vn(t.constructor.isBuffer) && t.constructor.isBuffer(t); } const sg = Hn("ArrayBuffer"); function Cx(t) { let e; return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && sg(t.buffer), e; } const Tx = sl("string"), vn = sl("function"), ag = sl("number"), al = (t) => t !== null && typeof t == "object", Ox = (t) => t === !0 || t === !1, ll = (t) => { if (ol(t) !== "object") return !1; const e = hd(t); return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t); }, _x = Hn("Date"), Rx = Hn("File"), Lx = Hn("Blob"), Ax = Hn("FileList"), kx = (t) => al(t) && vn(t.pipe), Px = (t) => { let e; return t && (typeof FormData == "function" && t instanceof FormData || vn(t.append) && ((e = ol(t)) === "formdata" || // detect form-data instance e === "object" && vn(t.toString) && t.toString() === "[object FormData]")); }, Ix = Hn("URLSearchParams"), [Nx, Dx, jx, Mx] = ["ReadableStream", "Request", "Response", "Headers"].map(Hn), Fx = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""); function Os(t, e, { allOwnKeys: n = !1 } = {}) { if (t === null || typeof t > "u") return; let i, s; if (typeof t != "object" && (t = [t]), yo(t)) for (i = 0, s = t.length; i < s; i++) e.call(null, t[i], i, t); else { const a = n ? Object.getOwnPropertyNames(t) : Object.keys(t), u = a.length; let d; for (i = 0; i < u; i++) d = a[i], e.call(null, t[d], d, t); } } function lg(t, e) { e = e.toLowerCase(); const n = Object.keys(t); let i = n.length, s; for (; i-- > 0; ) if (s = n[i], e === s.toLowerCase()) return s; return null; } const Ai = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, ug = (t) => !Ts(t) && t !== Ai; function pd() { const { caseless: t } = ug(this) && this || {}, e = {}, n = (i, s) => { const a = t && lg(e, s) || s; ll(e[a]) && ll(i) ? e[a] = pd(e[a], i) : ll(i) ? e[a] = pd({}, i) : yo(i) ? e[a] = i.slice() : e[a] = i; }; for (let i = 0, s = arguments.length; i < s; i++) arguments[i] && Os(arguments[i], n); return e; } const Hx = (t, e, n, { allOwnKeys: i } = {}) => (Os(e, (s, a) => { n && vn(s) ? t[a] = og(s, n) : t[a] = s; }, { allOwnKeys: i }), t), Bx = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Ux = (t, e, n, i) => { t.prototype = Object.create(e.prototype, i), t.prototype.constructor = t, Object.defineProperty(t, "super", { value: e.prototype }), n && Object.assign(t.prototype, n); }, $x = (t, e, n, i) => { let s, a, u; const d = {}; if (e = e || {}, t == null) return e; do { for (s = Object.getOwnPropertyNames(t), a = s.length; a-- > 0; ) u = s[a], (!i || i(u, t, e)) && !d[u] && (e[u] = t[u], d[u] = !0); t = n !== !1 && hd(t); } while (t && (!n || n(t, e)) && t !== Object.prototype); return e; }, zx = (t, e, n) => { t = String(t), (n === void 0 || n > t.length) && (n = t.length), n -= e.length; const i = t.indexOf(e, n); return i !== -1 && i === n; }, Vx = (t) => { if (!t) return null; if (yo(t)) return t; let e = t.length; if (!ag(e)) return null; const n = new Array(e); for (; e-- > 0; ) n[e] = t[e]; return n; }, Wx = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && hd(Uint8Array)), Gx = (t, e) => { const i = (t && t[Symbol.iterator]).call(t); let s; for (; (s = i.next()) && !s.done; ) { const a = s.value; e.call(t, a[0], a[1]); } }, qx = (t, e) => { let n; const i = []; for (; (n = t.exec(e)) !== null; ) i.push(n); return i; }, Yx = Hn("HTMLFormElement"), Kx = (t) => t.toLowerCase().replace( /[-_\s]([a-z\d])(\w*)/g, function(n, i, s) { return i.toUpperCase() + s; } ), cg = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Zx = Hn("RegExp"), dg = (t, e) => { const n = Object.getOwnPropertyDescriptors(t), i = {}; Os(n, (s, a) => { let u; (u = e(s, a, t)) !== !1 && (i[a] = u || s); }), Object.defineProperties(t, i); }, Xx = (t) => { dg(t, (e, n) => { if (vn(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1) return !1; const i = t[n]; if (vn(i)) { if (e.enumerable = !1, "writable" in e) { e.writable = !1; return; } e.set || (e.set = () => { throw Error("Can not rewrite read-only method '" + n + "'"); }); } }); }, Jx = (t, e) => { const n = {}, i = (s) => { s.forEach((a) => { n[a] = !0; }); }; return yo(t) ? i(t) : i(String(t).split(e)), n; }, Qx = () => { }, eb = (t, e) => t != null && Number.isFinite(t = +t) ? t : e; function tb(t) { return !!(t && vn(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]); } const nb = (t) => { const e = new Array(10), n = (i, s) => { if (al(i)) { if (e.indexOf(i) >= 0) return; if (!("toJSON" in i)) { e[s] = i; const a = yo(i) ? [] : {}; return Os(i, (u, d) => { const f = n(u, s + 1); !Ts(f) && (a[d] = f); }), e[s] = void 0, a; } } return i; }; return n(t, 0); }, rb = Hn("AsyncFunction"), ib = (t) => t && (al(t) || vn(t)) && vn(t.then) && vn(t.catch), fg = ((t, e) => t ? setImmediate : e ? ((n, i) => (Ai.addEventListener("message", ({ source: s, data: a }) => { s === Ai && a === n && i.length && i.shift()(); }, !1), (s) => { i.push(s), Ai.postMessage(n, "*"); }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))( typeof setImmediate == "function", vn(Ai.postMessage) ), ob = typeof queueMicrotask < "u" ? queueMicrotask.bind(Ai) : typeof process < "u" && process.nextTick || fg, z = { isArray: yo, isArrayBuffer: sg, isBuffer: bx, isFormData: Px, isArrayBufferView: Cx, isString: Tx, isNumber: ag, isBoolean: Ox, isObject: al, isPlainObject: ll, isReadableStream: Nx, isRequest: Dx, isResponse: jx, isHeaders: Mx, isUndefined: Ts, isDate: _x, isFile: Rx, isBlob: Lx, isRegExp: Zx, isFunction: vn, isStream: kx, isURLSearchParams: Ix, isTypedArray: Wx, isFileList: Ax, forEach: Os, merge: pd, extend: Hx, trim: Fx, stripBOM: Bx, inherits: Ux, toFlatObject: $x, kindOf: ol, kindOfTest: Hn, endsWith: zx, toArray: Vx, forEachEntry: Gx, matchAll: qx, isHTMLForm: Yx, hasOwnProperty: cg, hasOwnProp: cg, // an alias to avoid ESLint no-prototype-builtins detection reduceDescriptors: dg, freezeMethods: Xx, toObjectSet: Jx, toCamelCase: Kx, noop: Qx, toFiniteNumber: eb, findKey: lg, global: Ai, isContextDefined: ug, isSpecCompliantForm: tb, toJSONObject: nb, isAsyncFn: rb, isThenable: ib, setImmediate: fg, asap: ob }; function Te(t, e, n, i, s) { Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), n && (this.config = n), i && (this.request = i), s && (this.response = s, this.status = s.status ? s.status : null); } z.inherits(Te, Error, { toJSON: function() { return { // Standard message: this.message, name: this.name, // Microsoft description: this.description, number: this.number, // Mozilla fileName: this.fileName, lineNumber: this.lineNumber, columnNumber: this.columnNumber, stack: this.stack, // Axios config: z.toJSONObject(this.config), code: this.code, status: this.status }; } }); const hg = Te.prototype, pg = {}; [ "ERR_BAD_OPTION_VALUE", "ERR_BAD_OPTION", "ECONNABORTED", "ETIMEDOUT", "ERR_NETWORK", "ERR_FR_TOO_MANY_REDIRECTS", "ERR_DEPRECATED", "ERR_BAD_RESPONSE", "ERR_BAD_REQUEST", "ERR_CANCELED", "ERR_NOT_SUPPORT", "ERR_INVALID_URL" // eslint-disable-next-line func-names ].forEach((t) => { pg[t] = { value: t }; }), Object.defineProperties(Te, pg), Object.defineProperty(hg, "isAxiosError", { value: !0 }), Te.from = (t, e, n, i, s, a) => { const u = Object.create(hg); return z.toFlatObject(t, u, function(f) { return f !== Error.prototype; }, (d) => d !== "isAxiosError"), Te.call(u, t.message, e, n, i, s), u.cause = t, u.name = t.name, a && Object.assign(u, a), u; }; const sb = null; function md(t) { return z.isPlainObject(t) || z.isArray(t); } function mg(t) { return z.endsWith(t, "[]") ? t.slice(0, -2) : t; } function gg(t, e, n) { return t ? t.concat(e).map(function(s, a) { return s = mg(s), !n && a ? "[" + s + "]" : s; }).join(n ? "." : "") : e; } function ab(t) { return z.isArray(t) && !t.some(md); } const lb = z.toFlatObject(z, {}, null, function(e) { return /^is[A-Z]/.test(e); }); function ul(t, e, n) { if (!z.isObject(t)) throw new TypeError("target must be an object"); e = e || new FormData(), n = z.toFlatObject(n, { metaTokens: !0, dots: !1, indexes: !1 }, !1, function(x, C) { return !z.isUndefined(C[x]); }); const i = n.metaTokens, s = n.visitor || m, a = n.dots, u = n.indexes, f = (n.Blob || typeof Blob < "u" && Blob) && z.isSpecCompliantForm(e); if (!z.isFunction(s)) throw new TypeError("visitor must be a function"); function p(S) { if (S === null) return ""; if (z.isDate(S)) return S.toISOString(); if (!f && z.isBlob(S)) throw new Te("Blob is not supported. Use a Buffer instead."); return z.isArrayBuffer(S) || z.isTypedArray(S) ? f && typeof Blob == "function" ? new Blob([S]) : Buffer.from(S) : S; } function m(S, x, C) { let L = S; if (S && !C && typeof S == "object") { if (z.endsWith(x, "{}")) x = i ? x : x.slice(0, -2), S = JSON.stringify(S); else if (z.isArray(S) && ab(S) || (z.isFileList(S) || z.endsWith(x, "[]")) && (L = z.toArray(S))) return x = mg(x), L.forEach(function(I, B) { !(z.isUndefined(I) || I === null) && e.append( // eslint-disable-next-line no-nested-ternary u === !0 ? gg([x], B, a) : u === null ? x : x + "[]", p(I) ); }), !1; } return md(S) ? !0 : (e.append(gg(C, x, a), p(S)), !1); } const v = [], y = Object.assign(lb, { defaultVisitor: m, convertValue: p, isVisitable: md }); function E(S, x) { if (!z.isUndefined(S)) { if (v.indexOf(S) !== -1) throw Error("Circular reference detected in " + x.join(".")); v.push(S), z.forEach(S, function(L, k) { (!(z.isUndefined(L) || L === null) && s.call( e, L, z.isString(k) ? k.trim() : k, x, y )) === !0 && E(L, x ? x.concat(k) : [k]); }), v.pop(); } } if (!z.isObject(t)) throw new TypeError("data must be an object"); return E(t), e; } function vg(t) { const e = { "!": "%21", "'": "%27", "(": "%28", ")": "%29", "~": "%7E", "%20": "+", "%00": "\0" }; return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g, function(i) { return e[i]; }); } function gd(t, e) { this._pairs = [], t && ul(t, this, e); } const yg = gd.prototype; yg.append = function(e, n) { this._pairs.push([e, n]); }, yg.toString = function(e) { const n = e ? function(i) { return e.call(this, i, vg); } : vg; return this._pairs.map(function(s) { return n(s[0]) + "=" + n(s[1]); }, "").join("&"); }; function ub(t) { return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]"); } function wg(t, e, n) { if (!e) return t; const i = n && n.encode || ub; z.isFunction(n) && (n = { serialize: n }); const s = n && n.serialize; let a; if (s ? a = s(e, n) : a = z.isURLSearchParams(e) ? e.toString() : new gd(e, n).toString(i), a) { const u = t.indexOf("#"); u !== -1 && (t = t.slice(0, u)), t += (t.indexOf("?") === -1 ? "?" : "&") + a; } return t; } class Sg { constructor() { this.handlers = []; } /** * Add a new interceptor to the stack * * @param {Function} fulfilled The function to handle `then` for a `Promise` * @param {Function} rejected The function to handle `reject` for a `Promise` * * @return {Number} An ID used to remove interceptor later */ use(e, n, i) { return this.handlers.push({ fulfilled: e, rejected: n, synchronous: i ? i.synchronous : !1, runWhen: i ? i.runWhen : null }), this.handlers.length - 1; } /** * Remove an interceptor from the stack * * @param {Number} id The ID that was returned by `use` * * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise */ eject(e) { this.handlers[e] && (this.handlers[e] = null); } /** * Clear all interceptors from the stack * * @returns {void} */ clear() { this.handlers && (this.handlers = []); } /** * Iterate over all the registered interceptors * * This method is particularly useful for skipping over any * interceptors that may have become `null` calling `eject`. * * @param {Function} fn The function to call for each interceptor * * @returns {void} */ forEach(e) { z.forEach(this.handlers, function(i) { i !== null && e(i); }); } } const Eg = { silentJSONParsing: !0, forcedJSONParsing: !0, clarifyTimeoutError: !1 }, cb = { isBrowser: !0, classes: { URLSearchParams: typeof URLSearchParams < "u" ? URLSearchParams : gd, FormData: typeof FormData < "u" ? FormData : null, Blob: typeof Blob < "u" ? Blob : null }, protocols: ["http", "https", "file", "blob", "url", "data"] }, vd = typeof window < "u" && typeof document < "u", yd = typeof navigator == "object" && navigator || void 0, db = vd && (!yd || ["ReactNative", "NativeScript", "NS"].indexOf(yd.product) < 0), fb = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef self instanceof WorkerGlobalScope && typeof self.importScripts == "function", hb = vd && window.location.href || "http://localhost", Gt = { .../* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, hasBrowserEnv: vd, hasStandardBrowserEnv: db, hasStandardBrowserWebWorkerEnv: fb, navigator: yd, origin: hb }, Symbol.toStringTag, { value: "Module" })), ...cb }; function pb(t, e) { return ul(t, new Gt.classes.URLSearchParams(), Object.assign({ visitor: function(n, i, s, a) { return Gt.isNode && z.isBuffer(n) ? (this.append(i, n.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments); } }, e)); } function mb(t) { return z.matchAll(/\w+|\[(\w*)]/g, t).map((e) => e[0] === "[]" ? "" : e[1] || e[0]); } function gb(t) { const e = {}, n = Object.keys(t); let i; const s = n.length; let a; for (i = 0; i < s; i++) a = n[i], e[a] = t[a]; return e; } function xg(t) { function e(n, i, s, a) { let u = n[a++]; if (u === "__proto__") return !0; const d = Number.isFinite(+u), f = a >= n.length; return u = !u && z.isArray(s) ? s.length : u, f ? (z.hasOwnProp(s, u) ? s[u] = [s[u], i] : s[u] = i, !d) : ((!s[u] || !z.isObject(s[u])) && (s[u] = []), e(n, i, s[u], a) && z.isArray(s[u]) && (s[u] = gb(s[u])), !d); } if (z.isFormData(t) && z.isFunction(t.entries)) { const n = {}; return z.forEachEntry(t, (i, s) => { e(mb(i), s, n, 0); }), n; } return null; } function vb(t, e, n) { if (z.isString(t)) try { return (e || JSON.parse)(t), z.trim(t); } catch (i) { if (i.name !== "SyntaxError") throw i; } return (n || JSON.stringify)(t); } const wd = { transitional: Eg, adapter: ["xhr", "http", "fetch"], transformRequest: [function(e, n) { const i = n.getContentType() || "", s = i.indexOf("application/json") > -1, a = z.isObject(e); if (a && z.isHTMLForm(e) && (e = new FormData(e)), z.isFormData(e)) return s ? JSON.stringify(xg(e)) : e; if (z.isArrayBuffer(e) || z.isBuffer(e) || z.isStream(e) || z.isFile(e) || z.isBlob(e) || z.isReadableStream(e)) return e; if (z.isArrayBufferView(e)) return e.buffer; if (z.isURLSearchParams(e)) return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString(); let d; if (a) { if (i.indexOf("application/x-www-form-urlencoded") > -1) return pb(e, this.formSerializer).toString(); if ((d = z.isFileList(e)) || i.indexOf("multipart/form-data") > -1) { const f = this.env && this.env.FormData; return ul( d ? { "files[]": e } : e, f && new f(), this.formSerializer ); } } return a || s ? (n.setContentType("application/json", !1), vb(e)) : e; }], transformResponse: [function(e) { const n = this.transitional || wd.transitional, i = n && n.forcedJSONParsing, s = this.responseType === "json"; if (z.isResponse(e) || z.isReadableStream(e)) return e; if (e && z.isString(e) && (i && !this.responseType || s)) { const u = !(n && n.silentJSONParsing) && s; try { return JSON.parse(e); } catch (d) { if (u) throw d.name === "SyntaxError" ? Te.from(d, Te.ERR_BAD_RESPONSE, this, null, this.response) : d; } } return e; }], /** * A timeout in milliseconds to abort a request. If set to 0 (default) a * timeout is not created. */ timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, maxBodyLength: -1, env: { FormData: Gt.classes.FormData, Blob: Gt.classes.Blob }, validateStatus: function(e) { return e >= 200 && e < 300; }, headers: { common: { Accept: "application/json, text/plain, */*", "Content-Type": void 0 } } }; z.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => { wd.headers[t] = {}; }); const Sd = wd, yb = z.toObjectSet([ "age", "authorization", "content-length", "content-type", "etag", "expires", "from", "host", "if-modified-since", "if-unmodified-since", "last-modified", "location", "max-forwards", "proxy-authorization", "referer", "retry-after", "user-agent" ]), wb = (t) => { const e = {}; let n, i, s; return t && t.split(` `).forEach(function(u) { s = u.indexOf(":"), n = u.substring(0, s).trim().toLowerCase(), i = u.substring(s + 1).trim(), !(!n || e[n] && yb[n]) && (n === "set-cookie" ? e[n] ? e[n].push(i) : e[n] = [i] : e[n] = e[n] ? e[n] + ", " + i : i); }), e; }, bg = Symbol("internals"); function _s(t) { return t && String(t).trim().toLowerCase(); } function cl(t) { return t === !1 || t == null ? t : z.isArray(t) ? t.map(cl) : String(t); } function Sb(t) { const e = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; let i; for (; i = n.exec(t); ) e[i[1]] = i[2]; return e; } const Eb = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()); function Ed(t, e, n, i, s) { if (z.isFunction(i)) return i.call(this, e, n); if (s && (e = n), !!z.isString(e)) { if (z.isString(i)) return e.indexOf(i) !== -1; if (z.isRegExp(i)) return i.test(e); } } function xb(t) { return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, n, i) => n.toUpperCase() + i); } function bb(t, e) { const n = z.toCamelCase(" " + e); ["get", "set", "has"].forEach((i) => { Object.defineProperty(t, i + n, { value: function(s, a, u) { return this[i].call(this, e, s, a, u); }, configurable: !0 }); }); } let dl = class { constructor(e) { e && this.set(e); } set(e, n, i) { const s = this; function a(d, f, p) { const m = _s(f); if (!m) throw new Error("header name must be a non-empty string"); const v = z.findKey(s, m); (!v || s[v] === void 0 || p === !0 || p === void 0 && s[v] !== !1) && (s[v || f] = cl(d)); } const u = (d, f) => z.forEach(d, (p, m) => a(p, m, f)); if (z.isPlainObject(e) || e instanceof this.constructor) u(e, n); else if (z.isString(e) && (e = e.trim()) && !Eb(e)) u(wb(e), n); else if (z.isHeaders(e)) for (const [d, f] of e.entries()) a(f, d, i); else e != null && a(n, e, i); return this; } get(e, n) { if (e = _s(e), e) { const i = z.findKey(this, e); if (i) { const s = this[i]; if (!n) return s; if (n === !0) return Sb(s); if (z.isFunction(n)) return n.call(this, s, i); if (z.isRegExp(n)) return n.exec(s); throw new TypeError("parser must be boolean|regexp|function"); } } } has(e, n) { if (e = _s(e), e) { const i = z.findKey(this, e); return !!(i && this[i] !== void 0 && (!n || Ed(this, this[i], i, n))); } return !1; } delete(e, n) { const i = this; let s = !1; function a(u) { if (u = _s(u), u) { const d = z.findKey(i, u); d && (!n || Ed(i, i[d], d, n)) && (delete i[d], s = !0); } } return z.isArray(e) ? e.forEach(a) : a(e), s; } clear(e) { const n = Object.keys(this); let i = n.length, s = !1; for (; i--; ) { const a = n[i]; (!e || Ed(this, this[a], a, e, !0)) && (delete this[a], s = !0); } return s; } normalize(e) { const n = this, i = {}; return z.forEach(this, (s, a) => { const u = z.findKey(i, a); if (u) { n[u] = cl(s), delete n[a]; return; } const d = e ? xb(a) : String(a).trim(); d !== a && delete n[a], n[d] = cl(s), i[d] = !0; }), this; } concat(...e) { return this.constructor.concat(this, ...e); } toJSON(e) { const n = /* @__PURE__ */ Object.create(null); return z.forEach(this, (i, s) => { i != null && i !== !1 && (n[s] = e && z.isArray(i) ? i.join(", ") : i); }), n; } [Symbol.iterator]() { return Object.entries(this.toJSON())[Symbol.iterator](); } toString() { return Object.entries(this.toJSON()).map(([e, n]) => e + ": " + n).join(` `); } get [Symbol.toStringTag]() { return "AxiosHeaders"; } static from(e) { return e instanceof this ? e : new this(e); } static concat(e, ...n) { const i = new this(e); return n.forEach((s) => i.set(s)), i; } static accessor(e) { const i = (this[bg] = this[bg] = { accessors: {} }).accessors, s = this.prototype; function a(u) { const d = _s(u); i[d] || (bb(s, u), i[d] = !0); } return z.isArray(e) ? e.forEach(a) : a(e), this; } }; dl.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]), z.reduceDescriptors(dl.prototype, ({ value: t }, e) => { let n = e[0].toUpperCase() + e.slice(1); return { get: () => t, set(i) { this[n] = i; } }; }), z.freezeMethods(dl); const Bn = dl; function xd(t, e) { const n = this || Sd, i = e || n, s = Bn.from(i.headers); let a = i.data; return z.forEach(t, function(d) { a = d.call(n, a, s.normalize(), e ? e.status : void 0); }), s.normalize(), a; } function Cg(t) { return !!(t && t.__CANCEL__); } function wo(t, e, n) { Te.call(this, t ?? "canceled", Te.ERR_CANCELED, e, n), this.name = "CanceledError"; } z.inherits(wo, Te, { __CANCEL__: !0 }); function Tg(t, e, n) { const i = n.config.validateStatus; !n.status || !i || i(n.status) ? t(n) : e(new Te( "Request failed with status code " + n.status, [Te.ERR_BAD_REQUEST, Te.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4], n.config, n.request, n )); } function Cb(t) { const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t); return e && e[1] || ""; } function Tb(t, e) { t = t || 10; const n = new Array(t), i = new Array(t); let s = 0, a = 0, u; return e = e !== void 0 ? e : 1e3, function(f) { const p = Date.now(), m = i[a]; u || (u = p), n[s] = f, i[s] = p; let v = a, y = 0; for (; v !== s; ) y += n[v++], v = v % t; if (s = (s + 1) % t, s === a && (a = (a + 1) % t), p - u < e) return; const E = m && p - m; return E ? Math.round(y * 1e3 / E) : void 0; }; } function Ob(t, e) { let n = 0, i = 1e3 / e, s, a; const u = (p, m = Date.now()) => { n = m, s = null, a && (clearTimeout(a), a = null), t.apply(null, p); }; return [(...p) => { const m = Date.now(), v = m - n; v >= i ? u(p, m) : (s = p, a || (a = setTimeout(() => { a = null, u(s); }, i - v))); }, () => s && u(s)]; } const fl = (t, e, n = 3) => { let i = 0; const s = Tb(50, 250); return Ob((a) => { const u = a.loaded, d = a.lengthComputable ? a.total : void 0, f = u - i, p = s(f), m = u <= d; i = u; const v = { loaded: u, total: d, progress: d ? u / d : void 0, bytes: f, rate: p || void 0, estimated: p && d && m ? (d - u) / p : void 0, event: a, lengthComputable: d != null, [e ? "download" : "upload"]: !0 }; t(v); }, n); }, Og = (t, e) => { const n = t != null; return [(i) => e[0]({ lengthComputable: n, total: t, loaded: i }), e[1]]; }, _g = (t) => (...e) => z.asap(() => t(...e)), _b = Gt.hasStandardBrowserEnv ? /* @__PURE__ */ ((t, e) => (n) => (n = new URL(n, Gt.origin), t.protocol === n.protocol && t.host === n.host && (e || t.port === n.port)))( new URL(Gt.origin), Gt.navigator && /(msie|trident)/i.test(Gt.navigator.userAgent) ) : () => !0, Rb = Gt.hasStandardBrowserEnv ? ( // Standard browser envs support document.cookie { write(t, e, n, i, s, a) { const u = [t + "=" + encodeURIComponent(e)]; z.isNumber(n) && u.push("expires=" + new Date(n).toGMTString()), z.isString(i) && u.push("path=" + i), z.isString(s) && u.push("domain=" + s), a === !0 && u.push("secure"), document.cookie = u.join("; "); }, read(t) { const e = document.cookie.match(new RegExp("(^|;\\s*)(" + t + ")=([^;]*)")); return e ? decodeURIComponent(e[3]) : null; }, remove(t) { this.write(t, "", Date.now() - 864e5); } } ) : ( // Non-standard browser env (web workers, react-native) lack needed support. { write() { }, read() { return null; }, remove() { } } ); function Lb(t) { return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t); } function Ab(t, e) { return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t; } function Rg(t, e, n) { let i = !Lb(e); return t && i || n == !1 ? Ab(t, e) : e; } const Lg = (t) => t instanceof Bn ? { ...t } : t; function ki(t, e) { e = e || {}; const n = {}; function i(p, m, v, y) { return z.isPlainObject(p) && z.isPlainObject(m) ? z.merge.call({ caseless: y }, p, m) : z.isPlainObject(m) ? z.merge({}, m) : z.isArray(m) ? m.slice() : m; } function s(p, m, v, y) { if (z.isUndefined(m)) { if (!z.isUndefined(p)) return i(void 0, p, v, y); } else return i(p, m, v, y); } function a(p, m) { if (!z.isUndefined(m)) return i(void 0, m); } function u(p, m) { if (z.isUndefined(m)) { if (!z.isUndefined(p)) return i(void 0, p); } else return i(void 0, m); } function d(p, m, v) { if (v in e) return i(p, m); if (v in t) return i(void 0, p); } const f = { url: a, method: a, data: a, baseURL: u, transformRequest: u, transformResponse: u, paramsSerializer: u, timeout: u, timeoutMessage: u, withCredentials: u, withXSRFToken: u, adapter: u, responseType: u, xsrfCookieName: u, xsrfHeaderName: u, onUploadProgress: u, onDownloadProgress: u, decompress: u, maxContentLength: u, maxBodyLength: u, beforeRedirect: u, transport: u, httpAgent: u, httpsAgent: u, cancelToken: u, socketPath: u, responseEncoding: u, validateStatus: d, headers: (p, m, v) => s(Lg(p), Lg(m), v, !0) }; return z.forEach(Object.keys(Object.assign({}, t, e)), function(m) { const v = f[m] || s, y = v(t[m], e[m], m); z.isUndefined(y) && v !== d || (n[m] = y); }), n; } const Ag = (t) => { const e = ki({}, t); let { data: n, withXSRFToken: i, xsrfHeaderName: s, xsrfCookieName: a, headers: u, auth: d } = e; e.headers = u = Bn.from(u), e.url = wg(Rg(e.baseURL, e.url), t.params, t.paramsSerializer), d && u.set( "Authorization", "Basic " + btoa((d.username || "") + ":" + (d.password ? unescape(encodeURIComponent(d.password)) : "")) ); let f; if (z.isFormData(n)) { if (Gt.hasStandardBrowserEnv || Gt.hasStandardBrowserWebWorkerEnv) u.setContentType(void 0); else if ((f = u.getContentType()) !== !1) { const [p, ...m] = f ? f.split(";").map((v) => v.trim()).filter(Boolean) : []; u.setContentType([p || "multipart/form-data", ...m].join("; ")); } } if (Gt.hasStandardBrowserEnv && (i && z.isFunction(i) && (i = i(e)), i || i !== !1 && _b(e.url))) { const p = s && a && Rb.read(a); p && u.set(s, p); } return e; }, kb = typeof XMLHttpRequest < "u" && function(t) { return new Promise(function(n, i) { const s = Ag(t); let a = s.data; const u = Bn.from(s.headers).normalize(); let { responseType: d, onUploadProgress: f, onDownloadProgress: p } = s, m, v, y, E, S; function x() { E && E(), S && S(), s.cancelToken && s.cancelToken.unsubscribe(m), s.signal && s.signal.removeEventListener("abort", m); } let C = new XMLHttpRequest(); C.open(s.method.toUpperCase(), s.url, !0), C.timeout = s.timeout; function L() { if (!C) return; const I = Bn.from( "getAllResponseHeaders" in C && C.getAllResponseHeaders() ), V = { data: !d || d === "text" || d === "json" ? C.responseText : C.response, status: C.status, statusText: C.statusText, headers: I, config: t, request: C }; Tg(function(R) { n(R), x(); }, function(R) { i(R), x(); }, V), C = null; } "onloadend" in C ? C.onloadend = L : C.onreadystatechange = function() { !C || C.readyState !== 4 || C.status === 0 && !(C.responseURL && C.responseURL.indexOf("file:") === 0) || setTimeout(L); }, C.onabort = function() { C && (i(new Te("Request aborted", Te.ECONNABORTED, t, C)), C = null); }, C.onerror = function() { i(new Te("Network Error", Te.ERR_NETWORK, t, C)), C = null; }, C.ontimeout = function() { let B = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded"; const V = s.transitional || Eg; s.timeoutErrorMessage && (B = s.timeoutErrorMessage), i(new Te( B, V.clarifyTimeoutError ? Te.ETIMEDOUT : Te.ECONNABORTED, t, C )), C = null; }, a === void 0 && u.setContentType(null), "setRequestHeader" in C && z.forEach(u.toJSON(), function(B, V) { C.setRequestHeader(V, B); }), z.isUndefined(s.withCredentials) || (C.withCredentials = !!s.withCredentials), d && d !== "json" && (C.responseType = s.responseType), p && ([y, S] = fl(p, !0), C.addEventListener("progress", y)), f && C.upload && ([v, E] = fl(f), C.upload.addEventListener("progress", v), C.upload.addEventListener("loadend", E)), (s.cancelToken || s.signal) && (m = (I) => { C && (i(!I || I.type ? new wo(null, t, C) : I), C.abort(), C = null); }, s.cancelToken && s.cancelToken.subscribe(m), s.signal && (s.signal.aborted ? m() : s.signal.addEventListener("abort", m))); const k = Cb(s.url); if (k && Gt.protocols.indexOf(k) === -1) { i(new Te("Unsupported protocol " + k + ":", Te.ERR_BAD_REQUEST, t)); return; } C.send(a || null); }); }, Pb = (t, e) => { const { length: n } = t = t ? t.filter(Boolean) : []; if (e || n) { let i = new AbortController(), s; const a = function(p) { if (!s) { s = !0, d(); const m = p instanceof Error ? p : this.reason; i.abort(m instanceof Te ? m : new wo(m instanceof Error ? m.message : m)); } }; let u = e && setTimeout(() => { u = null, a(new Te(`timeout ${e} of ms exceeded`, Te.ETIMEDOUT)); }, e); const d = () => { t && (u && clearTimeout(u), u = null, t.forEach((p) => { p.unsubscribe ? p.unsubscribe(a) : p.removeEventListener("abort", a); }), t = null); }; t.forEach((p) => p.addEventListener("abort", a)); const { signal: f } = i; return f.unsubscribe = () => z.asap(d), f; } }, Ib = function* (t, e) { let n = t.byteLength; if (!e || n < e) { yield t; return; } let i = 0, s; for (; i < n; ) s = i + e, yield t.slice(i, s), i = s; }, Nb = async function* (t, e) { for await (const n of Db(t)) yield* Ib(n, e); }, Db = async function* (t) { if (t[Symbol.asyncIterator]) { yield* t; return; } const e = t.getReader(); try { for (; ; ) { const { done: n, value: i } = await e.read(); if (n) break; yield i; } } finally { await e.cancel(); } }, kg = (t, e, n, i) => { const s = Nb(t, e); let a = 0, u, d = (f) => { u || (u = !0, i && i(f)); }; return new ReadableStream({ async pull(f) { try { const { done: p, value: m } = await s.next(); if (p) { d(), f.close(); return; } let v = m.byteLength; if (n) { let y = a += v; n(y); } f.enqueue(new Uint8Array(m)); } catch (p) { throw d(p), p; } }, cancel(f) { return d(f), s.return(); } }, { highWaterMark: 2 }); }, hl = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Pg = hl && typeof ReadableStream == "function", jb = hl && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), Ig = (t, ...e) => { try { return !!t(...e); } catch { return !1; } }, Mb = Pg && Ig(() => { let t = !1; const e = new Request(Gt.origin, { body: new ReadableStream(), method: "POST", get duplex() { return t = !0, "half"; } }).headers.has("Content-Type"); return t && !e; }), Ng = 64 * 1024, bd = Pg && Ig(() => z.isReadableStream(new Response("").body)), pl = { stream: bd && ((t) => t.body) }; hl && ((t) => { ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => { !pl[e] && (pl[e] = z.isFunction(t[e]) ? (n) => n[e]() : (n, i) => { throw new Te(`Response type '${e}' is not supported`, Te.ERR_NOT_SUPPORT, i); }); }); })(new Response()); const Fb = async (t) => { if (t == null) return 0; if (z.isBlob(t)) return t.size; if (z.isSpecCompliantForm(t)) return (await new Request(Gt.origin, { method: "POST", body: t }).arrayBuffer()).byteLength; if (z.isArrayBufferView(t) || z.isArrayBuffer(t)) return t.byteLength; if (z.isURLSearchParams(t) && (t = t + ""), z.isString(t)) return (await jb(t)).byteLength; }, Hb = async (t, e) => { const n = z.toFiniteNumber(t.getContentLength()); return n ?? Fb(e); }, Cd = { http: sb, xhr: kb, fetch: hl && (async (t) => { let { url: e, method: n, data: i, signal: s, cancelToken: a, timeout: u, onDownloadProgress: d, onUploadProgress: f, responseType: p, headers: m, withCredentials: v = "same-origin", fetchOptions: y } = Ag(t); p = p ? (p + "").toLowerCase() : "text"; let E = Pb([s, a && a.toAbortSignal()], u), S; const x = E && E.unsubscribe && (() => { E.unsubscribe(); }); let C; try { if (f && Mb && n !== "get" && n !== "head" && (C = await Hb(m, i)) !== 0) { let V = new Request(e, { method: "POST", body: i, duplex: "half" }), P; if (z.isFormData(i) && (P = V.headers.get("content-type")) && m.setContentType(P), V.body) { const [R, j] = Og( C, fl(_g(f)) ); i = kg(V.body, Ng, R, j); } } z.isString(v) || (v = v ? "include" : "omit"); const L = "credentials" in Request.prototype; S = new Request(e, { ...y, signal: E, method: n.toUpperCase(), headers: m.normalize().toJSON(), body: i, duplex: "half", credentials: L ? v : void 0 }); let k = await fetch(S); const I = bd && (p === "stream" || p === "response"); if (bd && (d || I && x)) { const V = {}; ["status", "statusText", "headers"].forEach((G) => { V[G] = k[G]; }); const P = z.toFiniteNumber(k.headers.get("content-length")), [R, j] = d && Og( P, fl(_g(d), !0) ) || []; k = new Response( kg(k.body, Ng, R, () => { j && j(), x && x(); }), V ); } p = p || "text"; let B = await pl[z.findKey(pl, p) || "text"](k, t); return !I && x && x(), await new Promise((V, P) => { Tg(V, P, { data: B, headers: Bn.from(k.headers), status: k.status, statusText: k.statusText, config: t, request: S }); }); } catch (L) { throw x && x(), L && L.name === "TypeError" && /fetch/i.test(L.message) ? Object.assign( new Te("Network Error", Te.ERR_NETWORK, t, S), { cause: L.cause || L } ) : Te.from(L, L && L.code, t, S); } }) }; z.forEach(Cd, (t, e) => { if (t) { try { Object.defineProperty(t, "name", { value: e }); } catch { } Object.defineProperty(t, "adapterName", { value: e }); } }); const Dg = (t) => `- ${t}`, Bb = (t) => z.isFunction(t) || t === null || t === !1, jg = { getAdapter: (t) => { t = z.isArray(t) ? t : [t]; const { length: e } = t; let n, i; const s = {}; for (let a = 0; a < e; a++) { n = t[a]; let u; if (i = n, !Bb(n) && (i = Cd[(u = String(n)).toLowerCase()], i === void 0)) throw new Te(`Unknown adapter '${u}'`); if (i) break; s[u || "#" + a] = i; } if (!i) { const a = Object.entries(s).map( ([d, f]) => `adapter ${d} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build") ); let u = e ? a.length > 1 ? `since : ` + a.map(Dg).join(` `) : " " + Dg(a[0]) : "as no adapter specified"; throw new Te( "There is no suitable adapter to dispatch the request " + u, "ERR_NOT_SUPPORT" ); } return i; }, adapters: Cd }; function Td(t) { if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted) throw new wo(null, t); } function Mg(t) { return Td(t), t.headers = Bn.from(t.headers), t.data = xd.call( t, t.transformRequest ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), jg.getAdapter(t.adapter || Sd.adapter)(t).then(function(i) { return Td(t), i.data = xd.call( t, t.transformResponse, i ), i.headers = Bn.from(i.headers), i; }, function(i) { return Cg(i) || (Td(t), i && i.response && (i.response.data = xd.call( t, t.transformResponse, i.response ), i.response.headers = Bn.from(i.response.headers))), Promise.reject(i); }); } const Fg = "1.8.2", ml = {}; ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => { ml[t] = function(i) { return typeof i === t || "a" + (e < 1 ? "n " : " ") + t; }; }); const Hg = {}; ml.transitional = function(e, n, i) { function s(a, u) { return "[Axios v" + Fg + "] Transitional option '" + a + "'" + u + (i ? ". " + i : ""); } return (a, u, d) => { if (e === !1) throw new Te( s(u, " has been removed" + (n ? " in " + n : "")), Te.ERR_DEPRECATED ); return n && !Hg[u] && (Hg[u] = !0, console.warn( s( u, " has been deprecated since v" + n + " and will be removed in the near future" ) )), e ? e(a, u, d) : !0; }; }, ml.spelling = function(e) { return (n, i) => (console.warn(`${i} is likely a misspelling of ${e}`), !0); }; function Ub(t, e, n) { if (typeof t != "object") throw new Te("options must be an object", Te.ERR_BAD_OPTION_VALUE); const i = Object.keys(t); let s = i.length; for (; s-- > 0; ) { const a = i[s], u = e[a]; if (u) { const d = t[a], f = d === void 0 || u(d, a, t); if (f !== !0) throw new Te("option " + a + " must be " + f, Te.ERR_BAD_OPTION_VALUE); continue; } if (n !== !0) throw new Te("Unknown option " + a, Te.ERR_BAD_OPTION); } } const gl = { assertOptions: Ub, validators: ml }, sr = gl.validators; let vl = class { constructor(e) { this.defaults = e, this.interceptors = { request: new Sg(), response: new Sg() }; } /** * Dispatch a request * * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) * @param {?Object} config * * @returns {Promise} The Promise to be fulfilled */ async request(e, n) { try { return await this._request(e, n); } catch (i) { if (i instanceof Error) { let s = {}; Error.captureStackTrace ? Error.captureStackTrace(s) : s = new Error(); const a = s.stack ? s.stack.replace(/^.+\n/, "") : ""; try { i.stack ? a && !String(i.stack).endsWith(a.replace(/^.+\n.+\n/, "")) && (i.stack += ` ` + a) : i.stack = a; } catch { } } throw i; } } _request(e, n) { typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = ki(this.defaults, n); const { transitional: i, paramsSerializer: s, headers: a } = n; i !== void 0 && gl.assertOptions(i, { silentJSONParsing: sr.transitional(sr.boolean), forcedJSONParsing: sr.transitional(sr.boolean), clarifyTimeoutError: sr.transitional(sr.boolean) }, !1), s != null && (z.isFunction(s) ? n.paramsSerializer = { serialize: s } : gl.assertOptions(s, { encode: sr.function, serialize: sr.function }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), gl.assertOptions(n, { baseUrl: sr.spelling("baseURL"), withXsrfToken: sr.spelling("withXSRFToken") }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase(); let u = a && z.merge( a.common, a[n.method] ); a && z.forEach( ["delete", "get", "head", "post", "put", "patch", "common"], (S) => { delete a[S]; } ), n.headers = Bn.concat(u, a); const d = []; let f = !0; this.interceptors.request.forEach(function(x) { typeof x.runWhen == "function" && x.runWhen(n) === !1 || (f = f && x.synchronous, d.unshift(x.fulfilled, x.rejected)); }); const p = []; this.interceptors.response.forEach(function(x) { p.push(x.fulfilled, x.rejected); }); let m, v = 0, y; if (!f) { const S = [Mg.bind(this), void 0]; for (S.unshift.apply(S, d), S.push.apply(S, p), y = S.length, m = Promise.resolve(n); v < y; ) m = m.then(S[v++], S[v++]); return m; } y = d.length; let E = n; for (v = 0; v < y; ) { const S = d[v++], x = d[v++]; try { E = S(E); } catch (C) { x.call(this, C); break; } } try { m = Mg.call(this, E); } catch (S) { return Promise.reject(S); } for (v = 0, y = p.length; v < y; ) m = m.then(p[v++], p[v++]); return m; } getUri(e) { e = ki(this.defaults, e); const n = Rg(e.baseURL, e.url, e.allowAbsoluteUrls); return wg(n, e.params, e.paramsSerializer); } }; z.forEach(["delete", "get", "head", "options"], function(e) { vl.prototype[e] = function(n, i) { return this.request(ki(i || {}, { method: e, url: n, data: (i || {}).data })); }; }), z.forEach(["post", "put", "patch"], function(e) { function n(i) { return function(a, u, d) { return this.request(ki(d || {}, { method: e, headers: i ? { "Content-Type": "multipart/form-data" } : {}, url: a, data: u })); }; } vl.prototype[e] = n(), vl.prototype[e + "Form"] = n(!0); }); const yl = vl, $b = class IE { constructor(e) { if (typeof e != "function") throw new TypeError("executor must be a function."); let n; this.promise = new Promise(function(a) { n = a; }); const i = this; this.promise.then((s) => { if (!i._listeners) return; let a = i._listeners.length; for (; a-- > 0; ) i._listeners[a](s); i._listeners = null; }), this.promise.then = (s) => { let a; const u = new Promise((d) => { i.subscribe(d), a = d; }).then(s); return u.cancel = function() { i.unsubscribe(a); }, u; }, e(function(a, u, d) { i.reason || (i.reason = new wo(a, u, d), n(i.reason)); }); } /** * Throws a `CanceledError` if cancellation has been requested. */ throwIfRequested() { if (this.reason) throw this.reason; } /** * Subscribe to the cancel signal */ subscribe(e) { if (this.reason) { e(this.reason); return; } this._listeners ? this._listeners.push(e) : this._listeners = [e]; } /** * Unsubscribe from the cancel signal */ unsubscribe(e) { if (!this._listeners) return; const n = this._listeners.indexOf(e); n !== -1 && this._listeners.splice(n, 1); } toAbortSignal() { const e = new AbortController(), n = (i) => { e.abort(i); }; return this.subscribe(n), e.signal.unsubscribe = () => this.unsubscribe(n), e.signal; } /** * Returns an object that contains a new `CancelToken` and a function that, when called, * cancels the `CancelToken`. */ static source() { let e; return { token: new IE(function(s) { e = s; }), cancel: e }; } }; function zb(t) { return function(n) { return t.apply(null, n); }; } function Vb(t) { return z.isObject(t) && t.isAxiosError === !0; } const Od = { Continue: 100, SwitchingProtocols: 101, Processing: 102, EarlyHints: 103, Ok: 200, Created: 201, Accepted: 202, NonAuthoritativeInformation: 203, NoContent: 204, ResetContent: 205, PartialContent: 206, MultiStatus: 207, AlreadyReported: 208, ImUsed: 226, MultipleChoices: 300, MovedPermanently: 301, Found: 302, SeeOther: 303, NotModified: 304, UseProxy: 305, Unused: 306, TemporaryRedirect: 307, PermanentRedirect: 308, BadRequest: 400, Unauthorized: 401, PaymentRequired: 402, Forbidden: 403, NotFound: 404, MethodNotAllowed: 405, NotAcceptable: 406, ProxyAuthenticationRequired: 407, RequestTimeout: 408, Conflict: 409, Gone: 410, LengthRequired: 411, PreconditionFailed: 412, PayloadTooLarge: 413, UriTooLong: 414, UnsupportedMediaType: 415, RangeNotSatisfiable: 416, ExpectationFailed: 417, ImATeapot: 418, MisdirectedRequest: 421, UnprocessableEntity: 422, Locked: 423, FailedDependency: 424, TooEarly: 425, UpgradeRequired: 426, PreconditionRequired: 428, TooManyRequests: 429, RequestHeaderFieldsTooLarge: 431, UnavailableForLegalReasons: 451, InternalServerError: 500, NotImplemented: 501, BadGateway: 502, ServiceUnavailable: 503, GatewayTimeout: 504, HttpVersionNotSupported: 505, VariantAlsoNegotiates: 506, InsufficientStorage: 507, LoopDetected: 508, NotExtended: 510, NetworkAuthenticationRequired: 511 }; Object.entries(Od).forEach(([t, e]) => { Od[e] = t; }); const Wb = Od; function Bg(t) { const e = new yl(t), n = og(yl.prototype.request, e); return z.extend(n, yl.prototype, e, { allOwnKeys: !0 }), z.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(s) { return Bg(ki(t, s)); }, n; } const Et = Bg(Sd); Et.Axios = yl, Et.CanceledError = wo, Et.CancelToken = $b, Et.isCancel = Cg, Et.VERSION = Fg, Et.toFormData = ul, Et.AxiosError = Te, Et.Cancel = Et.CanceledError, Et.all = function(e) { return Promise.all(e); }, Et.spread = zb, Et.isAxiosError = Vb, Et.mergeConfig = ki, Et.AxiosHeaders = Bn, Et.formToJSON = (t) => xg(z.isHTMLForm(t) ? new FormData(t) : t), Et.getAdapter = jg.getAdapter, Et.HttpStatusCode = Wb, Et.default = Et; const { Axios: l5, AxiosError: Gb, CanceledError: u5, isCancel: c5, CancelToken: d5, VERSION: f5, all: h5, Cancel: p5, isAxiosError: m5, spread: g5, toFormData: v5, AxiosHeaders: y5, HttpStatusCode: w5, formToJSON: S5, getAdapter: E5, mergeConfig: x5 } = Et; var Ug = { exports: {} }, dn = {}, _d = { exports: {} }, Rd = {}; /** * @license React * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var $g; function qb() { return $g || ($g = 1, function(t) { function e(q, Q) { var T = q.length; q.push(Q); e: for (; 0 < T; ) { var U = T - 1 >>> 1, X = q[U]; if (0 < s(X, Q)) q[U] = Q, q[T] = X, T = U; else break e; } } function n(q) { return q.length === 0 ? null : q[0]; } function i(q) { if (q.length === 0) return null; var Q = q[0], T = q.pop(); if (T !== Q) { q[0] = T; e: for (var U = 0, X = q.length, Se = X >>> 1; U < Se; ) { var de = 2 * (U + 1) - 1, Oe = q[de], _e = de + 1, Pe = q[_e]; if (0 > s(Oe, T)) _e < X && 0 > s(Pe, Oe) ? (q[U] = Pe, q[_e] = T, U = _e) : (q[U] = Oe, q[de] = T, U = de); else if (_e < X && 0 > s(Pe, T)) q[U] = Pe, q[_e] = T, U = _e; else break e; } } return Q; } function s(q, Q) { var T = q.sortIndex - Q.sortIndex; return T !== 0 ? T : q.id - Q.id; } if (typeof performance == "object" && typeof performance.now == "function") { var a = performance; t.unstable_now = function() { return a.now(); }; } else { var u = Date, d = u.now(); t.unstable_now = function() { return u.now() - d; }; } var f = [], p = [], m = 1, v = null, y = 3, E = !1, S = !1, x = !1, C = typeof setTimeout == "function" ? setTimeout : null, L = typeof clearTimeout == "function" ? clearTimeout : null, k = typeof setImmediate < "u" ? setImmediate : null; typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling); function I(q) { for (var Q = n(p); Q !== null; ) { if (Q.callback === null) i(p); else if (Q.startTime <= q) i(p), Q.sortIndex = Q.expirationTime, e(f, Q); else break; Q = n(p); } } function B(q) { if (x = !1, I(q), !S) if (n(f) !== null) S = !0, Be(V); else { var Q = n(p); Q !== null && ge(B, Q.startTime - q); } } function V(q, Q) { S = !1, x && (x = !1, L(j), j = -1), E = !0; var T = y; try { for (I(Q), v = n(f); v !== null && (!(v.expirationTime > Q) || q && !W()); ) { var U = v.callback; if (typeof U == "function") { v.callback = null, y = v.priorityLevel; var X = U(v.expirationTime <= Q); Q = t.unstable_now(), typeof X == "function" ? v.callback = X : v === n(f) && i(f), I(Q); } else i(f); v = n(f); } if (v !== null) var Se = !0; else { var de = n(p); de !== null && ge(B, de.startTime - Q), Se = !1; } return Se; } finally { v = null, y = T, E = !1; } } var P = !1, R = null, j = -1, G = 5, ee = -1; function W() { return !(t.unstable_now() - ee < G); } function re() { if (R !== null) { var q = t.unstable_now(); ee = q; var Q = !0; try { Q = R(!0, q); } finally { Q ? we() : (P = !1, R = null); } } else P = !1; } var we; if (typeof k == "function") we = function() { k(re); }; else if (typeof MessageChannel < "u") { var ye = new MessageChannel(), be = ye.port2; ye.port1.onmessage = re, we = function() { be.postMessage(null); }; } else we = function() { C(re, 0); }; function Be(q) { R = q, P || (P = !0, we()); } function ge(q, Q) { j = C(function() { q(t.unstable_now()); }, Q); } t.unstable_IdlePriority = 5, t.unstable_ImmediatePriority = 1, t.unstable_LowPriority = 4, t.unstable_NormalPriority = 3, t.unstable_Profiling = null, t.unstable_UserBlockingPriority = 2, t.unstable_cancelCallback = function(q) { q.callback = null; }, t.unstable_continueExecution = function() { S || E || (S = !0, Be(V)); }, t.unstable_forceFrameRate = function(q) { 0 > q || 125 < q ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : G = 0 < q ? Math.floor(1e3 / q) : 5; }, t.unstable_getCurrentPriorityLevel = function() { return y; }, t.unstable_getFirstCallbackNode = function() { return n(f); }, t.unstable_next = function(q) { switch (y) { case 1: case 2: case 3: var Q = 3; break; default: Q = y; } var T = y; y = Q; try { return q(); } finally { y = T; } }, t.unstable_pauseExecution = function() { }, t.unstable_requestPaint = function() { }, t.unstable_runWithPriority = function(q, Q) { switch (q) { case 1: case 2: case 3: case 4: case 5: break; default: q = 3; } var T = y; y = q; try { return Q(); } finally { y = T; } }, t.unstable_scheduleCallback = function(q, Q, T) { var U = t.unstable_now(); switch (typeof T == "object" && T !== null ? (T = T.delay, T = typeof T == "number" && 0 < T ? U + T : U) : T = U, q) { case 1: var X = -1; break; case 2: X = 250; break; case 5: X = 1073741823; break; case 4: X = 1e4; break; default: X = 5e3; } return X = T + X, q = { id: m++, callback: Q, priorityLevel: q, startTime: T, expirationTime: X, sortIndex: -1 }, T > U ? (q.sortIndex = T, e(p, q), n(f) === null && q === n(p) && (x ? (L(j), j = -1) : x = !0, ge(B, T - U))) : (q.sortIndex = X, e(f, q), S || E || (S = !0, Be(V))), q; }, t.unstable_shouldYield = W, t.unstable_wrapCallback = function(q) { var Q = y; return function() { var T = y; y = Q; try { return q.apply(this, arguments); } finally { y = T; } }; }; }(Rd)), Rd; } var zg; function Yb() { return zg || (zg = 1, _d.exports = qb()), _d.exports; } /** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var Vg; function Kb() { if (Vg) return dn; Vg = 1; var t = N, e = Yb(); function n(r) { for (var o = "https://reactjs.org/docs/error-decoder.html?invariant=" + r, l = 1; l < arguments.length; l++) o += "&args[]=" + encodeURIComponent(arguments[l]); return "Minified React error #" + r + "; visit " + o + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } var i = /* @__PURE__ */ new Set(), s = {}; function a(r, o) { u(r, o), u(r + "Capture", o); } function u(r, o) { for (s[r] = o, r = 0; r < o.length; r++) i.add(o[r]); } var d = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), f = Object.prototype.hasOwnProperty, p = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, m = {}, v = {}; function y(r) { return f.call(v, r) ? !0 : f.call(m, r) ? !1 : p.test(r) ? v[r] = !0 : (m[r] = !0, !1); } function E(r, o, l, c) { if (l !== null && l.type === 0) return !1; switch (typeof o) { case "function": case "symbol": return !0; case "boolean": return c ? !1 : l !== null ? !l.acceptsBooleans : (r = r.toLowerCase().slice(0, 5), r !== "data-" && r !== "aria-"); default: return !1; } } function S(r, o, l, c) { if (o === null || typeof o > "u" || E(r, o, l, c)) return !0; if (c) return !1; if (l !== null) switch (l.type) { case 3: return !o; case 4: return o === !1; case 5: return isNaN(o); case 6: return isNaN(o) || 1 > o; } return !1; } function x(r, o, l, c, h, g, w) { this.acceptsBooleans = o === 2 || o === 3 || o === 4, this.attributeName = c, this.attributeNamespace = h, this.mustUseProperty = l, this.propertyName = r, this.type = o, this.sanitizeURL = g, this.removeEmptyString = w; } var C = {}; "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r) { C[r] = new x(r, 0, !1, r, null, !1, !1); }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(r) { var o = r[0]; C[o] = new x(o, 1, !1, r[1], null, !1, !1); }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(r) { C[r] = new x(r, 2, !1, r.toLowerCase(), null, !1, !1); }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(r) { C[r] = new x(r, 2, !1, r, null, !1, !1); }), "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r) { C[r] = new x(r, 3, !1, r.toLowerCase(), null, !1, !1); }), ["checked", "multiple", "muted", "selected"].forEach(function(r) { C[r] = new x(r, 3, !0, r, null, !1, !1); }), ["capture", "download"].forEach(function(r) { C[r] = new x(r, 4, !1, r, null, !1, !1); }), ["cols", "rows", "size", "span"].forEach(function(r) { C[r] = new x(r, 6, !1, r, null, !1, !1); }), ["rowSpan", "start"].forEach(function(r) { C[r] = new x(r, 5, !1, r.toLowerCase(), null, !1, !1); }); var L = /[\-:]([a-z])/g; function k(r) { return r[1].toUpperCase(); } "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r) { var o = r.replace( L, k ); C[o] = new x(o, 1, !1, r, null, !1, !1); }), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r) { var o = r.replace(L, k); C[o] = new x(o, 1, !1, r, "http://www.w3.org/1999/xlink", !1, !1); }), ["xml:base", "xml:lang", "xml:space"].forEach(function(r) { var o = r.replace(L, k); C[o] = new x(o, 1, !1, r, "http://www.w3.org/XML/1998/namespace", !1, !1); }), ["tabIndex", "crossOrigin"].forEach(function(r) { C[r] = new x(r, 1, !1, r.toLowerCase(), null, !1, !1); }), C.xlinkHref = new x("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(r) { C[r] = new x(r, 1, !1, r.toLowerCase(), null, !0, !0); }); function I(r, o, l, c) { var h = C.hasOwnProperty(o) ? C[o] : null; (h !== null ? h.type !== 0 : c || !(2 < o.length) || o[0] !== "o" && o[0] !== "O" || o[1] !== "n" && o[1] !== "N") && (S(o, l, h, c) && (l = null), c || h === null ? y(o) && (l === null ? r.removeAttribute(o) : r.setAttribute(o, "" + l)) : h.mustUseProperty ? r[h.propertyName] = l === null ? h.type === 3 ? !1 : "" : l : (o = h.attributeName, c = h.attributeNamespace, l === null ? r.removeAttribute(o) : (h = h.type, l = h === 3 || h === 4 && l === !0 ? "" : "" + l, c ? r.setAttributeNS(c, o, l) : r.setAttribute(o, l)))); } var B = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, V = Symbol.for("react.element"), P = Symbol.for("react.portal"), R = Symbol.for("react.fragment"), j = Symbol.for("react.strict_mode"), G = Symbol.for("react.profiler"), ee = Symbol.for("react.provider"), W = Symbol.for("react.context"), re = Symbol.for("react.forward_ref"), we = Symbol.for("react.suspense"), ye = Symbol.for("react.suspense_list"), be = Symbol.for("react.memo"), Be = Symbol.for("react.lazy"), ge = Symbol.for("react.offscreen"), q = Symbol.iterator; function Q(r) { return r === null || typeof r != "object" ? null : (r = q && r[q] || r["@@iterator"], typeof r == "function" ? r : null); } var T = Object.assign, U; function X(r) { if (U === void 0) try { throw Error(); } catch (l) { var o = l.stack.trim().match(/\n( *(at )?)/); U = o && o[1] || ""; } return ` ` + U + r; } var Se = !1; function de(r, o) { if (!r || Se) return ""; Se = !0; var l = Error.prepareStackTrace; Error.prepareStackTrace = void 0; try { if (o) if (o = function() { throw Error(); }, Object.defineProperty(o.prototype, "props", { set: function() { throw Error(); } }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct(o, []); } catch (H) { var c = H; } Reflect.construct(r, [], o); } else { try { o.call(); } catch (H) { c = H; } r.call(o.prototype); } else { try { throw Error(); } catch (H) { c = H; } r(); } } catch (H) { if (H && c && typeof H.stack == "string") { for (var h = H.stack.split(` `), g = c.stack.split(` `), w = h.length - 1, b = g.length - 1; 1 <= w && 0 <= b && h[w] !== g[b]; ) b--; for (; 1 <= w && 0 <= b; w--, b--) if (h[w] !== g[b]) { if (w !== 1 || b !== 1) do if (w--, b--, 0 > b || h[w] !== g[b]) { var _ = ` ` + h[w].replace(" at new ", " at "); return r.displayName && _.includes("") && (_ = _.replace("", r.displayName)), _; } while (1 <= w && 0 <= b); break; } } } finally { Se = !1, Error.prepareStackTrace = l; } return (r = r ? r.displayName || r.name : "") ? X(r) : ""; } function Oe(r) { switch (r.tag) { case 5: return X(r.type); case 16: return X("Lazy"); case 13: return X("Suspense"); case 19: return X("SuspenseList"); case 0: case 2: case 15: return r = de(r.type, !1), r; case 11: return r = de(r.type.render, !1), r; case 1: return r = de(r.type, !0), r; default: return ""; } } function _e(r) { if (r == null) return null; if (typeof r == "function") return r.displayName || r.name || null; if (typeof r == "string") return r; switch (r) { case R: return "Fragment"; case P: return "Portal"; case G: return "Profiler"; case j: return "StrictMode"; case we: return "Suspense"; case ye: return "SuspenseList"; } if (typeof r == "object") switch (r.$$typeof) { case W: return (r.displayName || "Context") + ".Consumer"; case ee: return (r._context.displayName || "Context") + ".Provider"; case re: var o = r.render; return r = r.displayName, r || (r = o.displayName || o.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r; case be: return o = r.displayName || null, o !== null ? o : _e(r.type) || "Memo"; case Be: o = r._payload, r = r._init; try { return _e(r(o)); } catch { } } return null; } function Pe(r) { var o = r.type; switch (r.tag) { case 24: return "Cache"; case 9: return (o.displayName || "Context") + ".Consumer"; case 10: return (o._context.displayName || "Context") + ".Provider"; case 18: return "DehydratedFragment"; case 11: return r = o.render, r = r.displayName || r.name || "", o.displayName || (r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"); case 7: return "Fragment"; case 5: return o; case 4: return "Portal"; case 3: return "Root"; case 6: return "Text"; case 16: return _e(o); case 8: return o === j ? "StrictMode" : "Mode"; case 22: return "Offscreen"; case 12: return "Profiler"; case 21: return "Scope"; case 13: return "Suspense"; case 19: return "SuspenseList"; case 25: return "TracingMarker"; case 1: case 0: case 17: case 2: case 14: case 15: if (typeof o == "function") return o.displayName || o.name || null; if (typeof o == "string") return o; } return null; } function Ae(r) { switch (typeof r) { case "boolean": case "number": case "string": case "undefined": return r; case "object": return r; default: return ""; } } function st(r) { var o = r.type; return (r = r.nodeName) && r.toLowerCase() === "input" && (o === "checkbox" || o === "radio"); } function ti(r) { var o = st(r) ? "checked" : "value", l = Object.getOwnPropertyDescriptor(r.constructor.prototype, o), c = "" + r[o]; if (!r.hasOwnProperty(o) && typeof l < "u" && typeof l.get == "function" && typeof l.set == "function") { var h = l.get, g = l.set; return Object.defineProperty(r, o, { configurable: !0, get: function() { return h.call(this); }, set: function(w) { c = "" + w, g.call(this, w); } }), Object.defineProperty(r, o, { enumerable: l.enumerable }), { getValue: function() { return c; }, setValue: function(w) { c = "" + w; }, stopTracking: function() { r._valueTracker = null, delete r[o]; } }; } } function Rn(r) { r._valueTracker || (r._valueTracker = ti(r)); } function xt(r) { if (!r) return !1; var o = r._valueTracker; if (!o) return !0; var l = o.getValue(), c = ""; return r && (c = st(r) ? r.checked ? "true" : "false" : r.value), r = c, r !== l ? (o.setValue(r), !0) : !1; } function qn(r) { if (r = r || (typeof document < "u" ? document : void 0), typeof r > "u") return null; try { return r.activeElement || r.body; } catch { return r.body; } } function Zi(r, o) { var l = o.checked; return T({}, o, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: l ?? r._wrapperState.initialChecked }); } function Yn(r, o) { var l = o.defaultValue == null ? "" : o.defaultValue, c = o.checked != null ? o.checked : o.defaultChecked; l = Ae(o.value != null ? o.value : l), r._wrapperState = { initialChecked: c, initialValue: l, controlled: o.type === "checkbox" || o.type === "radio" ? o.checked != null : o.value != null }; } function Lr(r, o) { o = o.checked, o != null && I(r, "checked", o, !1); } function dr(r, o) { Lr(r, o); var l = Ae(o.value), c = o.type; if (l != null) c === "number" ? (l === 0 && r.value === "" || r.value != l) && (r.value = "" + l) : r.value !== "" + l && (r.value = "" + l); else if (c === "submit" || c === "reset") { r.removeAttribute("value"); return; } o.hasOwnProperty("value") ? ni(r, o.type, l) : o.hasOwnProperty("defaultValue") && ni(r, o.type, Ae(o.defaultValue)), o.checked == null && o.defaultChecked != null && (r.defaultChecked = !!o.defaultChecked); } function Ar(r, o, l) { if (o.hasOwnProperty("value") || o.hasOwnProperty("defaultValue")) { var c = o.type; if (!(c !== "submit" && c !== "reset" || o.value !== void 0 && o.value !== null)) return; o = "" + r._wrapperState.initialValue, l || o === r.value || (r.value = o), r.defaultValue = o; } l = r.name, l !== "" && (r.name = ""), r.defaultChecked = !!r._wrapperState.initialChecked, l !== "" && (r.name = l); } function ni(r, o, l) { (o !== "number" || qn(r.ownerDocument) !== r) && (l == null ? r.defaultValue = "" + r._wrapperState.initialValue : r.defaultValue !== "" + l && (r.defaultValue = "" + l)); } var Kn = Array.isArray; function Ln(r, o, l, c) { if (r = r.options, o) { o = {}; for (var h = 0; h < l.length; h++) o["$" + l[h]] = !0; for (l = 0; l < r.length; l++) h = o.hasOwnProperty("$" + r[l].value), r[l].selected !== h && (r[l].selected = h), h && c && (r[l].defaultSelected = !0); } else { for (l = "" + Ae(l), o = null, h = 0; h < r.length; h++) { if (r[h].value === l) { r[h].selected = !0, c && (r[h].defaultSelected = !0); return; } o !== null || r[h].disabled || (o = r[h]); } o !== null && (o.selected = !0); } } function kr(r, o) { if (o.dangerouslySetInnerHTML != null) throw Error(n(91)); return T({}, o, { value: void 0, defaultValue: void 0, children: "" + r._wrapperState.initialValue }); } function Xi(r, o) { var l = o.value; if (l == null) { if (l = o.children, o = o.defaultValue, l != null) { if (o != null) throw Error(n(92)); if (Kn(l)) { if (1 < l.length) throw Error(n(93)); l = l[0]; } o = l; } o == null && (o = ""), l = o; } r._wrapperState = { initialValue: Ae(l) }; } function An(r, o) { var l = Ae(o.value), c = Ae(o.defaultValue); l != null && (l = "" + l, l !== r.value && (r.value = l), o.defaultValue == null && r.defaultValue !== l && (r.defaultValue = l)), c != null && (r.defaultValue = "" + c); } function on(r) { var o = r.textContent; o === r._wrapperState.initialValue && o !== "" && o !== null && (r.value = o); } function ht(r) { switch (r) { case "svg": return "http://www.w3.org/2000/svg"; case "math": return "http://www.w3.org/1998/Math/MathML"; default: return "http://www.w3.org/1999/xhtml"; } } function ri(r, o) { return r == null || r === "http://www.w3.org/1999/xhtml" ? ht(o) : r === "http://www.w3.org/2000/svg" && o === "foreignObject" ? "http://www.w3.org/1999/xhtml" : r; } var sn, Ft = function(r) { return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(o, l, c, h) { MSApp.execUnsafeLocalFunction(function() { return r(o, l, c, h); }); } : r; }(function(r, o) { if (r.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in r) r.innerHTML = o; else { for (sn = sn || document.createElement("div"), sn.innerHTML = "" + o.valueOf().toString() + "", o = sn.firstChild; r.firstChild; ) r.removeChild(r.firstChild); for (; o.firstChild; ) r.appendChild(o.firstChild); } }); function ii(r, o) { if (o) { var l = r.firstChild; if (l && l === r.lastChild && l.nodeType === 3) { l.nodeValue = o; return; } } r.textContent = o; } var Ji = { animationIterationCount: !0, aspectRatio: !0, borderImageOutset: !0, borderImageSlice: !0, borderImageWidth: !0, boxFlex: !0, boxFlexGroup: !0, boxOrdinalGroup: !0, columnCount: !0, columns: !0, flex: !0, flexGrow: !0, flexPositive: !0, flexShrink: !0, flexNegative: !0, flexOrder: !0, gridArea: !0, gridRow: !0, gridRowEnd: !0, gridRowSpan: !0, gridRowStart: !0, gridColumn: !0, gridColumnEnd: !0, gridColumnSpan: !0, gridColumnStart: !0, fontWeight: !0, lineClamp: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, tabSize: !0, widows: !0, zIndex: !0, zoom: !0, fillOpacity: !0, floodOpacity: !0, stopOpacity: !0, strokeDasharray: !0, strokeDashoffset: !0, strokeMiterlimit: !0, strokeOpacity: !0, strokeWidth: !0 }, fr = ["Webkit", "ms", "Moz", "O"]; Object.keys(Ji).forEach(function(r) { fr.forEach(function(o) { o = o + r.charAt(0).toUpperCase() + r.substring(1), Ji[o] = Ji[r]; }); }); function Qi(r, o, l) { return o == null || typeof o == "boolean" || o === "" ? "" : l || typeof o != "number" || o === 0 || Ji.hasOwnProperty(r) && Ji[r] ? ("" + o).trim() : o + "px"; } function Yu(r, o) { r = r.style; for (var l in o) if (o.hasOwnProperty(l)) { var c = l.indexOf("--") === 0, h = Qi(l, o[l], c); l === "float" && (l = "cssFloat"), c ? r.setProperty(l, h) : r[l] = h; } } var Z = T({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 }); function ve(r, o) { if (o) { if (Z[r] && (o.children != null || o.dangerouslySetInnerHTML != null)) throw Error(n(137, r)); if (o.dangerouslySetInnerHTML != null) { if (o.children != null) throw Error(n(60)); if (typeof o.dangerouslySetInnerHTML != "object" || !("__html" in o.dangerouslySetInnerHTML)) throw Error(n(61)); } if (o.style != null && typeof o.style != "object") throw Error(n(62)); } } function ae(r, o) { if (r.indexOf("-") === -1) return typeof o.is == "string"; switch (r) { case "annotation-xml": case "color-profile": case "font-face": case "font-face-src": case "font-face-uri": case "font-face-format": case "font-face-name": case "missing-glyph": return !1; default: return !0; } } var Ie = null; function Qe(r) { return r = r.target || r.srcElement || window, r.correspondingUseElement && (r = r.correspondingUseElement), r.nodeType === 3 ? r.parentNode : r; } var Fe = null, Ue = null, We = null; function nt(r) { if (r = Da(r)) { if (typeof Fe != "function") throw Error(n(280)); var o = r.stateNode; o && (o = Ec(o), Fe(r.stateNode, r.type, o)); } } function Re(r) { Ue ? We ? We.push(r) : We = [r] : Ue = r; } function $e() { if (Ue) { var r = Ue, o = We; if (We = Ue = null, nt(r), o) for (r = 0; r < o.length; r++) nt(o[r]); } } function an(r, o) { return r(o); } function Pr() { } var ln = !1; function Lt(r, o, l) { if (ln) return r(o, l); ln = !0; try { return an(r, o, l); } finally { ln = !1, (Ue !== null || We !== null) && (Pr(), $e()); } } function zt(r, o) { var l = r.stateNode; if (l === null) return null; var c = Ec(l); if (c === null) return null; l = c[o]; e: switch (o) { case "onClick": case "onClickCapture": case "onDoubleClick": case "onDoubleClickCapture": case "onMouseDown": case "onMouseDownCapture": case "onMouseMove": case "onMouseMoveCapture": case "onMouseUp": case "onMouseUpCapture": case "onMouseEnter": (c = !c.disabled) || (r = r.type, c = !(r === "button" || r === "input" || r === "select" || r === "textarea")), r = !c; break e; default: r = !1; } if (r) return null; if (l && typeof l != "function") throw Error(n(231, o, typeof l)); return l; } var wn = !1; if (d) try { var bt = {}; Object.defineProperty(bt, "passive", { get: function() { wn = !0; } }), window.addEventListener("test", bt, bt), window.removeEventListener("test", bt, bt); } catch { wn = !1; } function Ir(r, o, l, c, h, g, w, b, _) { var H = Array.prototype.slice.call(arguments, 3); try { o.apply(l, H); } catch (K) { this.onError(K); } } var kn = !1, Zt = null, hr = !1, oi = null, Ku = { onError: function(r) { kn = !0, Zt = r; } }; function Zu(r, o, l, c, h, g, w, b, _) { kn = !1, Zt = null, Ir.apply(Ku, arguments); } function ha(r, o, l, c, h, g, w, b, _) { if (Zu.apply(this, arguments), kn) { if (kn) { var H = Zt; kn = !1, Zt = null; } else throw Error(n(198)); hr || (hr = !0, oi = H); } } function pr(r) { var o = r, l = r; if (r.alternate) for (; o.return; ) o = o.return; else { r = o; do o = r, o.flags & 4098 && (l = o.return), r = o.return; while (r); } return o.tag === 3 ? l : null; } function Qo(r) { if (r.tag === 13) { var o = r.memoizedState; if (o === null && (r = r.alternate, r !== null && (o = r.memoizedState)), o !== null) return o.dehydrated; } return null; } function pa(r) { if (pr(r) !== r) throw Error(n(188)); } function Xu(r) { var o = r.alternate; if (!o) { if (o = pr(r), o === null) throw Error(n(188)); return o !== r ? null : r; } for (var l = r, c = o; ; ) { var h = l.return; if (h === null) break; var g = h.alternate; if (g === null) { if (c = h.return, c !== null) { l = c; continue; } break; } if (h.child === g.child) { for (g = h.child; g; ) { if (g === l) return pa(h), r; if (g === c) return pa(h), o; g = g.sibling; } throw Error(n(188)); } if (l.return !== c.return) l = h, c = g; else { for (var w = !1, b = h.child; b; ) { if (b === l) { w = !0, l = h, c = g; break; } if (b === c) { w = !0, c = h, l = g; break; } b = b.sibling; } if (!w) { for (b = g.child; b; ) { if (b === l) { w = !0, l = g, c = h; break; } if (b === c) { w = !0, c = g, l = h; break; } b = b.sibling; } if (!w) throw Error(n(189)); } } if (l.alternate !== c) throw Error(n(190)); } if (l.tag !== 3) throw Error(n(188)); return l.stateNode.current === l ? r : o; } function si(r) { return r = Xu(r), r !== null ? ma(r) : null; } function ma(r) { if (r.tag === 5 || r.tag === 6) return r; for (r = r.child; r !== null; ) { var o = ma(r); if (o !== null) return o; r = r.sibling; } return null; } var eo = e.unstable_scheduleCallback, to = e.unstable_cancelCallback, Ju = e.unstable_shouldYield, Qu = e.unstable_requestPaint, at = e.unstable_now, ec = e.unstable_getCurrentPriorityLevel, ai = e.unstable_ImmediatePriority, ga = e.unstable_UserBlockingPriority, tc = e.unstable_NormalPriority, ck = e.unstable_LowPriority, aw = e.unstable_IdlePriority, nc = null, mr = null; function dk(r) { if (mr && typeof mr.onCommitFiberRoot == "function") try { mr.onCommitFiberRoot(nc, r, void 0, (r.current.flags & 128) === 128); } catch { } } var Zn = Math.clz32 ? Math.clz32 : pk, fk = Math.log, hk = Math.LN2; function pk(r) { return r >>>= 0, r === 0 ? 32 : 31 - (fk(r) / hk | 0) | 0; } var rc = 64, ic = 4194304; function va(r) { switch (r & -r) { case 1: return 1; case 2: return 2; case 4: return 4; case 8: return 8; case 16: return 16; case 32: return 32; case 64: case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: return r & 4194240; case 4194304: case 8388608: case 16777216: case 33554432: case 67108864: return r & 130023424; case 134217728: return 134217728; case 268435456: return 268435456; case 536870912: return 536870912; case 1073741824: return 1073741824; default: return r; } } function oc(r, o) { var l = r.pendingLanes; if (l === 0) return 0; var c = 0, h = r.suspendedLanes, g = r.pingedLanes, w = l & 268435455; if (w !== 0) { var b = w & ~h; b !== 0 ? c = va(b) : (g &= w, g !== 0 && (c = va(g))); } else w = l & ~h, w !== 0 ? c = va(w) : g !== 0 && (c = va(g)); if (c === 0) return 0; if (o !== 0 && o !== c && !(o & h) && (h = c & -c, g = o & -o, h >= g || h === 16 && (g & 4194240) !== 0)) return o; if (c & 4 && (c |= l & 16), o = r.entangledLanes, o !== 0) for (r = r.entanglements, o &= c; 0 < o; ) l = 31 - Zn(o), h = 1 << l, c |= r[l], o &= ~h; return c; } function mk(r, o) { switch (r) { case 1: case 2: case 4: return o + 250; case 8: case 16: case 32: case 64: case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: return o + 5e3; case 4194304: case 8388608: case 16777216: case 33554432: case 67108864: return -1; case 134217728: case 268435456: case 536870912: case 1073741824: return -1; default: return -1; } } function gk(r, o) { for (var l = r.suspendedLanes, c = r.pingedLanes, h = r.expirationTimes, g = r.pendingLanes; 0 < g; ) { var w = 31 - Zn(g), b = 1 << w, _ = h[w]; _ === -1 ? (!(b & l) || b & c) && (h[w] = mk(b, o)) : _ <= o && (r.expiredLanes |= b), g &= ~b; } } function Qh(r) { return r = r.pendingLanes & -1073741825, r !== 0 ? r : r & 1073741824 ? 1073741824 : 0; } function lw() { var r = rc; return rc <<= 1, !(rc & 4194240) && (rc = 64), r; } function ep(r) { for (var o = [], l = 0; 31 > l; l++) o.push(r); return o; } function ya(r, o, l) { r.pendingLanes |= o, o !== 536870912 && (r.suspendedLanes = 0, r.pingedLanes = 0), r = r.eventTimes, o = 31 - Zn(o), r[o] = l; } function vk(r, o) { var l = r.pendingLanes & ~o; r.pendingLanes = o, r.suspendedLanes = 0, r.pingedLanes = 0, r.expiredLanes &= o, r.mutableReadLanes &= o, r.entangledLanes &= o, o = r.entanglements; var c = r.eventTimes; for (r = r.expirationTimes; 0 < l; ) { var h = 31 - Zn(l), g = 1 << h; o[h] = 0, c[h] = -1, r[h] = -1, l &= ~g; } } function tp(r, o) { var l = r.entangledLanes |= o; for (r = r.entanglements; l; ) { var c = 31 - Zn(l), h = 1 << c; h & o | r[c] & o && (r[c] |= o), l &= ~h; } } var Xe = 0; function uw(r) { return r &= -r, 1 < r ? 4 < r ? r & 268435455 ? 16 : 536870912 : 4 : 1; } var cw, np, dw, fw, hw, rp = !1, sc = [], li = null, ui = null, ci = null, wa = /* @__PURE__ */ new Map(), Sa = /* @__PURE__ */ new Map(), di = [], yk = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "); function pw(r, o) { switch (r) { case "focusin": case "focusout": li = null; break; case "dragenter": case "dragleave": ui = null; break; case "mouseover": case "mouseout": ci = null; break; case "pointerover": case "pointerout": wa.delete(o.pointerId); break; case "gotpointercapture": case "lostpointercapture": Sa.delete(o.pointerId); } } function Ea(r, o, l, c, h, g) { return r === null || r.nativeEvent !== g ? (r = { blockedOn: o, domEventName: l, eventSystemFlags: c, nativeEvent: g, targetContainers: [h] }, o !== null && (o = Da(o), o !== null && np(o)), r) : (r.eventSystemFlags |= c, o = r.targetContainers, h !== null && o.indexOf(h) === -1 && o.push(h), r); } function wk(r, o, l, c, h) { switch (o) { case "focusin": return li = Ea(li, r, o, l, c, h), !0; case "dragenter": return ui = Ea(ui, r, o, l, c, h), !0; case "mouseover": return ci = Ea(ci, r, o, l, c, h), !0; case "pointerover": var g = h.pointerId; return wa.set(g, Ea(wa.get(g) || null, r, o, l, c, h)), !0; case "gotpointercapture": return g = h.pointerId, Sa.set(g, Ea(Sa.get(g) || null, r, o, l, c, h)), !0; } return !1; } function mw(r) { var o = no(r.target); if (o !== null) { var l = pr(o); if (l !== null) { if (o = l.tag, o === 13) { if (o = Qo(l), o !== null) { r.blockedOn = o, hw(r.priority, function() { dw(l); }); return; } } else if (o === 3 && l.stateNode.current.memoizedState.isDehydrated) { r.blockedOn = l.tag === 3 ? l.stateNode.containerInfo : null; return; } } } r.blockedOn = null; } function ac(r) { if (r.blockedOn !== null) return !1; for (var o = r.targetContainers; 0 < o.length; ) { var l = op(r.domEventName, r.eventSystemFlags, o[0], r.nativeEvent); if (l === null) { l = r.nativeEvent; var c = new l.constructor(l.type, l); Ie = c, l.target.dispatchEvent(c), Ie = null; } else return o = Da(l), o !== null && np(o), r.blockedOn = l, !1; o.shift(); } return !0; } function gw(r, o, l) { ac(r) && l.delete(o); } function Sk() { rp = !1, li !== null && ac(li) && (li = null), ui !== null && ac(ui) && (ui = null), ci !== null && ac(ci) && (ci = null), wa.forEach(gw), Sa.forEach(gw); } function xa(r, o) { r.blockedOn === o && (r.blockedOn = null, rp || (rp = !0, e.unstable_scheduleCallback(e.unstable_NormalPriority, Sk))); } function ba(r) { function o(h) { return xa(h, r); } if (0 < sc.length) { xa(sc[0], r); for (var l = 1; l < sc.length; l++) { var c = sc[l]; c.blockedOn === r && (c.blockedOn = null); } } for (li !== null && xa(li, r), ui !== null && xa(ui, r), ci !== null && xa(ci, r), wa.forEach(o), Sa.forEach(o), l = 0; l < di.length; l++) c = di[l], c.blockedOn === r && (c.blockedOn = null); for (; 0 < di.length && (l = di[0], l.blockedOn === null); ) mw(l), l.blockedOn === null && di.shift(); } var es = B.ReactCurrentBatchConfig, lc = !0; function Ek(r, o, l, c) { var h = Xe, g = es.transition; es.transition = null; try { Xe = 1, ip(r, o, l, c); } finally { Xe = h, es.transition = g; } } function xk(r, o, l, c) { var h = Xe, g = es.transition; es.transition = null; try { Xe = 4, ip(r, o, l, c); } finally { Xe = h, es.transition = g; } } function ip(r, o, l, c) { if (lc) { var h = op(r, o, l, c); if (h === null) xp(r, o, c, uc, l), pw(r, c); else if (wk(h, r, o, l, c)) c.stopPropagation(); else if (pw(r, c), o & 4 && -1 < yk.indexOf(r)) { for (; h !== null; ) { var g = Da(h); if (g !== null && cw(g), g = op(r, o, l, c), g === null && xp(r, o, c, uc, l), g === h) break; h = g; } h !== null && c.stopPropagation(); } else xp(r, o, c, null, l); } } var uc = null; function op(r, o, l, c) { if (uc = null, r = Qe(c), r = no(r), r !== null) if (o = pr(r), o === null) r = null; else if (l = o.tag, l === 13) { if (r = Qo(o), r !== null) return r; r = null; } else if (l === 3) { if (o.stateNode.current.memoizedState.isDehydrated) return o.tag === 3 ? o.stateNode.containerInfo : null; r = null; } else o !== r && (r = null); return uc = r, null; } function vw(r) { switch (r) { case "cancel": case "click": case "close": case "contextmenu": case "copy": case "cut": case "auxclick": case "dblclick": case "dragend": case "dragstart": case "drop": case "focusin": case "focusout": case "input": case "invalid": case "keydown": case "keypress": case "keyup": case "mousedown": case "mouseup": case "paste": case "pause": case "play": case "pointercancel": case "pointerdown": case "pointerup": case "ratechange": case "reset": case "resize": case "seeked": case "submit": case "touchcancel": case "touchend": case "touchstart": case "volumechange": case "change": case "selectionchange": case "textInput": case "compositionstart": case "compositionend": case "compositionupdate": case "beforeblur": case "afterblur": case "beforeinput": case "blur": case "fullscreenchange": case "focus": case "hashchange": case "popstate": case "select": case "selectstart": return 1; case "drag": case "dragenter": case "dragexit": case "dragleave": case "dragover": case "mousemove": case "mouseout": case "mouseover": case "pointermove": case "pointerout": case "pointerover": case "scroll": case "toggle": case "touchmove": case "wheel": case "mouseenter": case "mouseleave": case "pointerenter": case "pointerleave": return 4; case "message": switch (ec()) { case ai: return 1; case ga: return 4; case tc: case ck: return 16; case aw: return 536870912; default: return 16; } default: return 16; } } var fi = null, sp = null, cc = null; function yw() { if (cc) return cc; var r, o = sp, l = o.length, c, h = "value" in fi ? fi.value : fi.textContent, g = h.length; for (r = 0; r < l && o[r] === h[r]; r++) ; var w = l - r; for (c = 1; c <= w && o[l - c] === h[g - c]; c++) ; return cc = h.slice(r, 1 < c ? 1 - c : void 0); } function dc(r) { var o = r.keyCode; return "charCode" in r ? (r = r.charCode, r === 0 && o === 13 && (r = 13)) : r = o, r === 10 && (r = 13), 32 <= r || r === 13 ? r : 0; } function fc() { return !0; } function ww() { return !1; } function Sn(r) { function o(l, c, h, g, w) { this._reactName = l, this._targetInst = h, this.type = c, this.nativeEvent = g, this.target = w, this.currentTarget = null; for (var b in r) r.hasOwnProperty(b) && (l = r[b], this[b] = l ? l(g) : g[b]); return this.isDefaultPrevented = (g.defaultPrevented != null ? g.defaultPrevented : g.returnValue === !1) ? fc : ww, this.isPropagationStopped = ww, this; } return T(o.prototype, { preventDefault: function() { this.defaultPrevented = !0; var l = this.nativeEvent; l && (l.preventDefault ? l.preventDefault() : typeof l.returnValue != "unknown" && (l.returnValue = !1), this.isDefaultPrevented = fc); }, stopPropagation: function() { var l = this.nativeEvent; l && (l.stopPropagation ? l.stopPropagation() : typeof l.cancelBubble != "unknown" && (l.cancelBubble = !0), this.isPropagationStopped = fc); }, persist: function() { }, isPersistent: fc }), o; } var ts = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(r) { return r.timeStamp || Date.now(); }, defaultPrevented: 0, isTrusted: 0 }, ap = Sn(ts), Ca = T({}, ts, { view: 0, detail: 0 }), bk = Sn(Ca), lp, up, Ta, hc = T({}, Ca, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: dp, button: 0, buttons: 0, relatedTarget: function(r) { return r.relatedTarget === void 0 ? r.fromElement === r.srcElement ? r.toElement : r.fromElement : r.relatedTarget; }, movementX: function(r) { return "movementX" in r ? r.movementX : (r !== Ta && (Ta && r.type === "mousemove" ? (lp = r.screenX - Ta.screenX, up = r.screenY - Ta.screenY) : up = lp = 0, Ta = r), lp); }, movementY: function(r) { return "movementY" in r ? r.movementY : up; } }), Sw = Sn(hc), Ck = T({}, hc, { dataTransfer: 0 }), Tk = Sn(Ck), Ok = T({}, Ca, { relatedTarget: 0 }), cp = Sn(Ok), _k = T({}, ts, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Rk = Sn(_k), Lk = T({}, ts, { clipboardData: function(r) { return "clipboardData" in r ? r.clipboardData : window.clipboardData; } }), Ak = Sn(Lk), kk = T({}, ts, { data: 0 }), Ew = Sn(kk), Pk = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", Up: "ArrowUp", Right: "ArrowRight", Down: "ArrowDown", Del: "Delete", Win: "OS", Menu: "ContextMenu", Apps: "ContextMenu", Scroll: "ScrollLock", MozPrintableKey: "Unidentified" }, Ik = { 8: "Backspace", 9: "Tab", 12: "Clear", 13: "Enter", 16: "Shift", 17: "Control", 18: "Alt", 19: "Pause", 20: "CapsLock", 27: "Escape", 32: " ", 33: "PageUp", 34: "PageDown", 35: "End", 36: "Home", 37: "ArrowLeft", 38: "ArrowUp", 39: "ArrowRight", 40: "ArrowDown", 45: "Insert", 46: "Delete", 112: "F1", 113: "F2", 114: "F3", 115: "F4", 116: "F5", 117: "F6", 118: "F7", 119: "F8", 120: "F9", 121: "F10", 122: "F11", 123: "F12", 144: "NumLock", 145: "ScrollLock", 224: "Meta" }, Nk = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; function Dk(r) { var o = this.nativeEvent; return o.getModifierState ? o.getModifierState(r) : (r = Nk[r]) ? !!o[r] : !1; } function dp() { return Dk; } var jk = T({}, Ca, { key: function(r) { if (r.key) { var o = Pk[r.key] || r.key; if (o !== "Unidentified") return o; } return r.type === "keypress" ? (r = dc(r), r === 13 ? "Enter" : String.fromCharCode(r)) : r.type === "keydown" || r.type === "keyup" ? Ik[r.keyCode] || "Unidentified" : ""; }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: dp, charCode: function(r) { return r.type === "keypress" ? dc(r) : 0; }, keyCode: function(r) { return r.type === "keydown" || r.type === "keyup" ? r.keyCode : 0; }, which: function(r) { return r.type === "keypress" ? dc(r) : r.type === "keydown" || r.type === "keyup" ? r.keyCode : 0; } }), Mk = Sn(jk), Fk = T({}, hc, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), xw = Sn(Fk), Hk = T({}, Ca, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: dp }), Bk = Sn(Hk), Uk = T({}, ts, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), $k = Sn(Uk), zk = T({}, hc, { deltaX: function(r) { return "deltaX" in r ? r.deltaX : "wheelDeltaX" in r ? -r.wheelDeltaX : 0; }, deltaY: function(r) { return "deltaY" in r ? r.deltaY : "wheelDeltaY" in r ? -r.wheelDeltaY : "wheelDelta" in r ? -r.wheelDelta : 0; }, deltaZ: 0, deltaMode: 0 }), Vk = Sn(zk), Wk = [9, 13, 27, 32], fp = d && "CompositionEvent" in window, Oa = null; d && "documentMode" in document && (Oa = document.documentMode); var Gk = d && "TextEvent" in window && !Oa, bw = d && (!fp || Oa && 8 < Oa && 11 >= Oa), Cw = " ", Tw = !1; function Ow(r, o) { switch (r) { case "keyup": return Wk.indexOf(o.keyCode) !== -1; case "keydown": return o.keyCode !== 229; case "keypress": case "mousedown": case "focusout": return !0; default: return !1; } } function _w(r) { return r = r.detail, typeof r == "object" && "data" in r ? r.data : null; } var ns = !1; function qk(r, o) { switch (r) { case "compositionend": return _w(o); case "keypress": return o.which !== 32 ? null : (Tw = !0, Cw); case "textInput": return r = o.data, r === Cw && Tw ? null : r; default: return null; } } function Yk(r, o) { if (ns) return r === "compositionend" || !fp && Ow(r, o) ? (r = yw(), cc = sp = fi = null, ns = !1, r) : null; switch (r) { case "paste": return null; case "keypress": if (!(o.ctrlKey || o.altKey || o.metaKey) || o.ctrlKey && o.altKey) { if (o.char && 1 < o.char.length) return o.char; if (o.which) return String.fromCharCode(o.which); } return null; case "compositionend": return bw && o.locale !== "ko" ? null : o.data; default: return null; } } var Kk = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, tel: !0, text: !0, time: !0, url: !0, week: !0 }; function Rw(r) { var o = r && r.nodeName && r.nodeName.toLowerCase(); return o === "input" ? !!Kk[r.type] : o === "textarea"; } function Lw(r, o, l, c) { Re(c), o = yc(o, "onChange"), 0 < o.length && (l = new ap("onChange", "change", null, l, c), r.push({ event: l, listeners: o })); } var _a = null, Ra = null; function Zk(r) { qw(r, 0); } function pc(r) { var o = as(r); if (xt(o)) return r; } function Xk(r, o) { if (r === "change") return o; } var Aw = !1; if (d) { var hp; if (d) { var pp = "oninput" in document; if (!pp) { var kw = document.createElement("div"); kw.setAttribute("oninput", "return;"), pp = typeof kw.oninput == "function"; } hp = pp; } else hp = !1; Aw = hp && (!document.documentMode || 9 < document.documentMode); } function Pw() { _a && (_a.detachEvent("onpropertychange", Iw), Ra = _a = null); } function Iw(r) { if (r.propertyName === "value" && pc(Ra)) { var o = []; Lw(o, Ra, r, Qe(r)), Lt(Zk, o); } } function Jk(r, o, l) { r === "focusin" ? (Pw(), _a = o, Ra = l, _a.attachEvent("onpropertychange", Iw)) : r === "focusout" && Pw(); } function Qk(r) { if (r === "selectionchange" || r === "keyup" || r === "keydown") return pc(Ra); } function eP(r, o) { if (r === "click") return pc(o); } function tP(r, o) { if (r === "input" || r === "change") return pc(o); } function nP(r, o) { return r === o && (r !== 0 || 1 / r === 1 / o) || r !== r && o !== o; } var Xn = typeof Object.is == "function" ? Object.is : nP; function La(r, o) { if (Xn(r, o)) return !0; if (typeof r != "object" || r === null || typeof o != "object" || o === null) return !1; var l = Object.keys(r), c = Object.keys(o); if (l.length !== c.length) return !1; for (c = 0; c < l.length; c++) { var h = l[c]; if (!f.call(o, h) || !Xn(r[h], o[h])) return !1; } return !0; } function Nw(r) { for (; r && r.firstChild; ) r = r.firstChild; return r; } function Dw(r, o) { var l = Nw(r); r = 0; for (var c; l; ) { if (l.nodeType === 3) { if (c = r + l.textContent.length, r <= o && c >= o) return { node: l, offset: o - r }; r = c; } e: { for (; l; ) { if (l.nextSibling) { l = l.nextSibling; break e; } l = l.parentNode; } l = void 0; } l = Nw(l); } } function jw(r, o) { return r && o ? r === o ? !0 : r && r.nodeType === 3 ? !1 : o && o.nodeType === 3 ? jw(r, o.parentNode) : "contains" in r ? r.contains(o) : r.compareDocumentPosition ? !!(r.compareDocumentPosition(o) & 16) : !1 : !1; } function Mw() { for (var r = window, o = qn(); o instanceof r.HTMLIFrameElement; ) { try { var l = typeof o.contentWindow.location.href == "string"; } catch { l = !1; } if (l) r = o.contentWindow; else break; o = qn(r.document); } return o; } function mp(r) { var o = r && r.nodeName && r.nodeName.toLowerCase(); return o && (o === "input" && (r.type === "text" || r.type === "search" || r.type === "tel" || r.type === "url" || r.type === "password") || o === "textarea" || r.contentEditable === "true"); } function rP(r) { var o = Mw(), l = r.focusedElem, c = r.selectionRange; if (o !== l && l && l.ownerDocument && jw(l.ownerDocument.documentElement, l)) { if (c !== null && mp(l)) { if (o = c.start, r = c.end, r === void 0 && (r = o), "selectionStart" in l) l.selectionStart = o, l.selectionEnd = Math.min(r, l.value.length); else if (r = (o = l.ownerDocument || document) && o.defaultView || window, r.getSelection) { r = r.getSelection(); var h = l.textContent.length, g = Math.min(c.start, h); c = c.end === void 0 ? g : Math.min(c.end, h), !r.extend && g > c && (h = c, c = g, g = h), h = Dw(l, g); var w = Dw( l, c ); h && w && (r.rangeCount !== 1 || r.anchorNode !== h.node || r.anchorOffset !== h.offset || r.focusNode !== w.node || r.focusOffset !== w.offset) && (o = o.createRange(), o.setStart(h.node, h.offset), r.removeAllRanges(), g > c ? (r.addRange(o), r.extend(w.node, w.offset)) : (o.setEnd(w.node, w.offset), r.addRange(o))); } } for (o = [], r = l; r = r.parentNode; ) r.nodeType === 1 && o.push({ element: r, left: r.scrollLeft, top: r.scrollTop }); for (typeof l.focus == "function" && l.focus(), l = 0; l < o.length; l++) r = o[l], r.element.scrollLeft = r.left, r.element.scrollTop = r.top; } } var iP = d && "documentMode" in document && 11 >= document.documentMode, rs = null, gp = null, Aa = null, vp = !1; function Fw(r, o, l) { var c = l.window === l ? l.document : l.nodeType === 9 ? l : l.ownerDocument; vp || rs == null || rs !== qn(c) || (c = rs, "selectionStart" in c && mp(c) ? c = { start: c.selectionStart, end: c.selectionEnd } : (c = (c.ownerDocument && c.ownerDocument.defaultView || window).getSelection(), c = { anchorNode: c.anchorNode, anchorOffset: c.anchorOffset, focusNode: c.focusNode, focusOffset: c.focusOffset }), Aa && La(Aa, c) || (Aa = c, c = yc(gp, "onSelect"), 0 < c.length && (o = new ap("onSelect", "select", null, o, l), r.push({ event: o, listeners: c }), o.target = rs))); } function mc(r, o) { var l = {}; return l[r.toLowerCase()] = o.toLowerCase(), l["Webkit" + r] = "webkit" + o, l["Moz" + r] = "moz" + o, l; } var is = { animationend: mc("Animation", "AnimationEnd"), animationiteration: mc("Animation", "AnimationIteration"), animationstart: mc("Animation", "AnimationStart"), transitionend: mc("Transition", "TransitionEnd") }, yp = {}, Hw = {}; d && (Hw = document.createElement("div").style, "AnimationEvent" in window || (delete is.animationend.animation, delete is.animationiteration.animation, delete is.animationstart.animation), "TransitionEvent" in window || delete is.transitionend.transition); function gc(r) { if (yp[r]) return yp[r]; if (!is[r]) return r; var o = is[r], l; for (l in o) if (o.hasOwnProperty(l) && l in Hw) return yp[r] = o[l]; return r; } var Bw = gc("animationend"), Uw = gc("animationiteration"), $w = gc("animationstart"), zw = gc("transitionend"), Vw = /* @__PURE__ */ new Map(), Ww = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); function hi(r, o) { Vw.set(r, o), a(o, [r]); } for (var wp = 0; wp < Ww.length; wp++) { var Sp = Ww[wp], oP = Sp.toLowerCase(), sP = Sp[0].toUpperCase() + Sp.slice(1); hi(oP, "on" + sP); } hi(Bw, "onAnimationEnd"), hi(Uw, "onAnimationIteration"), hi($w, "onAnimationStart"), hi("dblclick", "onDoubleClick"), hi("focusin", "onFocus"), hi("focusout", "onBlur"), hi(zw, "onTransitionEnd"), u("onMouseEnter", ["mouseout", "mouseover"]), u("onMouseLeave", ["mouseout", "mouseover"]), u("onPointerEnter", ["pointerout", "pointerover"]), u("onPointerLeave", ["pointerout", "pointerover"]), a("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), a("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), a("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]), a("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), a("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), a("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); var ka = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), aP = new Set("cancel close invalid load scroll toggle".split(" ").concat(ka)); function Gw(r, o, l) { var c = r.type || "unknown-event"; r.currentTarget = l, ha(c, o, void 0, r), r.currentTarget = null; } function qw(r, o) { o = (o & 4) !== 0; for (var l = 0; l < r.length; l++) { var c = r[l], h = c.event; c = c.listeners; e: { var g = void 0; if (o) for (var w = c.length - 1; 0 <= w; w--) { var b = c[w], _ = b.instance, H = b.currentTarget; if (b = b.listener, _ !== g && h.isPropagationStopped()) break e; Gw(h, b, H), g = _; } else for (w = 0; w < c.length; w++) { if (b = c[w], _ = b.instance, H = b.currentTarget, b = b.listener, _ !== g && h.isPropagationStopped()) break e; Gw(h, b, H), g = _; } } } if (hr) throw r = oi, hr = !1, oi = null, r; } function lt(r, o) { var l = o[Rp]; l === void 0 && (l = o[Rp] = /* @__PURE__ */ new Set()); var c = r + "__bubble"; l.has(c) || (Yw(o, r, 2, !1), l.add(c)); } function Ep(r, o, l) { var c = 0; o && (c |= 4), Yw(l, r, c, o); } var vc = "_reactListening" + Math.random().toString(36).slice(2); function Pa(r) { if (!r[vc]) { r[vc] = !0, i.forEach(function(l) { l !== "selectionchange" && (aP.has(l) || Ep(l, !1, r), Ep(l, !0, r)); }); var o = r.nodeType === 9 ? r : r.ownerDocument; o === null || o[vc] || (o[vc] = !0, Ep("selectionchange", !1, o)); } } function Yw(r, o, l, c) { switch (vw(o)) { case 1: var h = Ek; break; case 4: h = xk; break; default: h = ip; } l = h.bind(null, o, l, r), h = void 0, !wn || o !== "touchstart" && o !== "touchmove" && o !== "wheel" || (h = !0), c ? h !== void 0 ? r.addEventListener(o, l, { capture: !0, passive: h }) : r.addEventListener(o, l, !0) : h !== void 0 ? r.addEventListener(o, l, { passive: h }) : r.addEventListener(o, l, !1); } function xp(r, o, l, c, h) { var g = c; if (!(o & 1) && !(o & 2) && c !== null) e: for (; ; ) { if (c === null) return; var w = c.tag; if (w === 3 || w === 4) { var b = c.stateNode.containerInfo; if (b === h || b.nodeType === 8 && b.parentNode === h) break; if (w === 4) for (w = c.return; w !== null; ) { var _ = w.tag; if ((_ === 3 || _ === 4) && (_ = w.stateNode.containerInfo, _ === h || _.nodeType === 8 && _.parentNode === h)) return; w = w.return; } for (; b !== null; ) { if (w = no(b), w === null) return; if (_ = w.tag, _ === 5 || _ === 6) { c = g = w; continue e; } b = b.parentNode; } } c = c.return; } Lt(function() { var H = g, K = Qe(l), J = []; e: { var Y = Vw.get(r); if (Y !== void 0) { var oe = ap, le = r; switch (r) { case "keypress": if (dc(l) === 0) break e; case "keydown": case "keyup": oe = Mk; break; case "focusin": le = "focus", oe = cp; break; case "focusout": le = "blur", oe = cp; break; case "beforeblur": case "afterblur": oe = cp; break; case "click": if (l.button === 2) break e; case "auxclick": case "dblclick": case "mousedown": case "mousemove": case "mouseup": case "mouseout": case "mouseover": case "contextmenu": oe = Sw; break; case "drag": case "dragend": case "dragenter": case "dragexit": case "dragleave": case "dragover": case "dragstart": case "drop": oe = Tk; break; case "touchcancel": case "touchend": case "touchmove": case "touchstart": oe = Bk; break; case Bw: case Uw: case $w: oe = Rk; break; case zw: oe = $k; break; case "scroll": oe = bk; break; case "wheel": oe = Vk; break; case "copy": case "cut": case "paste": oe = Ak; break; case "gotpointercapture": case "lostpointercapture": case "pointercancel": case "pointerdown": case "pointermove": case "pointerout": case "pointerover": case "pointerup": oe = xw; } var ue = (o & 4) !== 0, Ct = !ue && r === "scroll", D = ue ? Y !== null ? Y + "Capture" : null : Y; ue = []; for (var A = H, F; A !== null; ) { F = A; var te = F.stateNode; if (F.tag === 5 && te !== null && (F = te, D !== null && (te = zt(A, D), te != null && ue.push(Ia(A, te, F)))), Ct) break; A = A.return; } 0 < ue.length && (Y = new oe(Y, le, null, l, K), J.push({ event: Y, listeners: ue })); } } if (!(o & 7)) { e: { if (Y = r === "mouseover" || r === "pointerover", oe = r === "mouseout" || r === "pointerout", Y && l !== Ie && (le = l.relatedTarget || l.fromElement) && (no(le) || le[Nr])) break e; if ((oe || Y) && (Y = K.window === K ? K : (Y = K.ownerDocument) ? Y.defaultView || Y.parentWindow : window, oe ? (le = l.relatedTarget || l.toElement, oe = H, le = le ? no(le) : null, le !== null && (Ct = pr(le), le !== Ct || le.tag !== 5 && le.tag !== 6) && (le = null)) : (oe = null, le = H), oe !== le)) { if (ue = Sw, te = "onMouseLeave", D = "onMouseEnter", A = "mouse", (r === "pointerout" || r === "pointerover") && (ue = xw, te = "onPointerLeave", D = "onPointerEnter", A = "pointer"), Ct = oe == null ? Y : as(oe), F = le == null ? Y : as(le), Y = new ue(te, A + "leave", oe, l, K), Y.target = Ct, Y.relatedTarget = F, te = null, no(K) === H && (ue = new ue(D, A + "enter", le, l, K), ue.target = F, ue.relatedTarget = Ct, te = ue), Ct = te, oe && le) t: { for (ue = oe, D = le, A = 0, F = ue; F; F = os(F)) A++; for (F = 0, te = D; te; te = os(te)) F++; for (; 0 < A - F; ) ue = os(ue), A--; for (; 0 < F - A; ) D = os(D), F--; for (; A--; ) { if (ue === D || D !== null && ue === D.alternate) break t; ue = os(ue), D = os(D); } ue = null; } else ue = null; oe !== null && Kw(J, Y, oe, ue, !1), le !== null && Ct !== null && Kw(J, Ct, le, ue, !0); } } e: { if (Y = H ? as(H) : window, oe = Y.nodeName && Y.nodeName.toLowerCase(), oe === "select" || oe === "input" && Y.type === "file") var ce = Xk; else if (Rw(Y)) if (Aw) ce = tP; else { ce = Qk; var pe = Jk; } else (oe = Y.nodeName) && oe.toLowerCase() === "input" && (Y.type === "checkbox" || Y.type === "radio") && (ce = eP); if (ce && (ce = ce(r, H))) { Lw(J, ce, l, K); break e; } pe && pe(r, Y, H), r === "focusout" && (pe = Y._wrapperState) && pe.controlled && Y.type === "number" && ni(Y, "number", Y.value); } switch (pe = H ? as(H) : window, r) { case "focusin": (Rw(pe) || pe.contentEditable === "true") && (rs = pe, gp = H, Aa = null); break; case "focusout": Aa = gp = rs = null; break; case "mousedown": vp = !0; break; case "contextmenu": case "mouseup": case "dragend": vp = !1, Fw(J, l, K); break; case "selectionchange": if (iP) break; case "keydown": case "keyup": Fw(J, l, K); } var me; if (fp) e: { switch (r) { case "compositionstart": var xe = "onCompositionStart"; break e; case "compositionend": xe = "onCompositionEnd"; break e; case "compositionupdate": xe = "onCompositionUpdate"; break e; } xe = void 0; } else ns ? Ow(r, l) && (xe = "onCompositionEnd") : r === "keydown" && l.keyCode === 229 && (xe = "onCompositionStart"); xe && (bw && l.locale !== "ko" && (ns || xe !== "onCompositionStart" ? xe === "onCompositionEnd" && ns && (me = yw()) : (fi = K, sp = "value" in fi ? fi.value : fi.textContent, ns = !0)), pe = yc(H, xe), 0 < pe.length && (xe = new Ew(xe, r, null, l, K), J.push({ event: xe, listeners: pe }), me ? xe.data = me : (me = _w(l), me !== null && (xe.data = me)))), (me = Gk ? qk(r, l) : Yk(r, l)) && (H = yc(H, "onBeforeInput"), 0 < H.length && (K = new Ew("onBeforeInput", "beforeinput", null, l, K), J.push({ event: K, listeners: H }), K.data = me)); } qw(J, o); }); } function Ia(r, o, l) { return { instance: r, listener: o, currentTarget: l }; } function yc(r, o) { for (var l = o + "Capture", c = []; r !== null; ) { var h = r, g = h.stateNode; h.tag === 5 && g !== null && (h = g, g = zt(r, l), g != null && c.unshift(Ia(r, g, h)), g = zt(r, o), g != null && c.push(Ia(r, g, h))), r = r.return; } return c; } function os(r) { if (r === null) return null; do r = r.return; while (r && r.tag !== 5); return r || null; } function Kw(r, o, l, c, h) { for (var g = o._reactName, w = []; l !== null && l !== c; ) { var b = l, _ = b.alternate, H = b.stateNode; if (_ !== null && _ === c) break; b.tag === 5 && H !== null && (b = H, h ? (_ = zt(l, g), _ != null && w.unshift(Ia(l, _, b))) : h || (_ = zt(l, g), _ != null && w.push(Ia(l, _, b)))), l = l.return; } w.length !== 0 && r.push({ event: o, listeners: w }); } var lP = /\r\n?/g, uP = /\u0000|\uFFFD/g; function Zw(r) { return (typeof r == "string" ? r : "" + r).replace(lP, ` `).replace(uP, ""); } function wc(r, o, l) { if (o = Zw(o), Zw(r) !== o && l) throw Error(n(425)); } function Sc() { } var bp = null, Cp = null; function Tp(r, o) { return r === "textarea" || r === "noscript" || typeof o.children == "string" || typeof o.children == "number" || typeof o.dangerouslySetInnerHTML == "object" && o.dangerouslySetInnerHTML !== null && o.dangerouslySetInnerHTML.__html != null; } var Op = typeof setTimeout == "function" ? setTimeout : void 0, cP = typeof clearTimeout == "function" ? clearTimeout : void 0, Xw = typeof Promise == "function" ? Promise : void 0, dP = typeof queueMicrotask == "function" ? queueMicrotask : typeof Xw < "u" ? function(r) { return Xw.resolve(null).then(r).catch(fP); } : Op; function fP(r) { setTimeout(function() { throw r; }); } function _p(r, o) { var l = o, c = 0; do { var h = l.nextSibling; if (r.removeChild(l), h && h.nodeType === 8) if (l = h.data, l === "/$") { if (c === 0) { r.removeChild(h), ba(o); return; } c--; } else l !== "$" && l !== "$?" && l !== "$!" || c++; l = h; } while (l); ba(o); } function pi(r) { for (; r != null; r = r.nextSibling) { var o = r.nodeType; if (o === 1 || o === 3) break; if (o === 8) { if (o = r.data, o === "$" || o === "$!" || o === "$?") break; if (o === "/$") return null; } } return r; } function Jw(r) { r = r.previousSibling; for (var o = 0; r; ) { if (r.nodeType === 8) { var l = r.data; if (l === "$" || l === "$!" || l === "$?") { if (o === 0) return r; o--; } else l === "/$" && o++; } r = r.previousSibling; } return null; } var ss = Math.random().toString(36).slice(2), gr = "__reactFiber$" + ss, Na = "__reactProps$" + ss, Nr = "__reactContainer$" + ss, Rp = "__reactEvents$" + ss, hP = "__reactListeners$" + ss, pP = "__reactHandles$" + ss; function no(r) { var o = r[gr]; if (o) return o; for (var l = r.parentNode; l; ) { if (o = l[Nr] || l[gr]) { if (l = o.alternate, o.child !== null || l !== null && l.child !== null) for (r = Jw(r); r !== null; ) { if (l = r[gr]) return l; r = Jw(r); } return o; } r = l, l = r.parentNode; } return null; } function Da(r) { return r = r[gr] || r[Nr], !r || r.tag !== 5 && r.tag !== 6 && r.tag !== 13 && r.tag !== 3 ? null : r; } function as(r) { if (r.tag === 5 || r.tag === 6) return r.stateNode; throw Error(n(33)); } function Ec(r) { return r[Na] || null; } var Lp = [], ls = -1; function mi(r) { return { current: r }; } function ut(r) { 0 > ls || (r.current = Lp[ls], Lp[ls] = null, ls--); } function rt(r, o) { ls++, Lp[ls] = r.current, r.current = o; } var gi = {}, Xt = mi(gi), fn = mi(!1), ro = gi; function us(r, o) { var l = r.type.contextTypes; if (!l) return gi; var c = r.stateNode; if (c && c.__reactInternalMemoizedUnmaskedChildContext === o) return c.__reactInternalMemoizedMaskedChildContext; var h = {}, g; for (g in l) h[g] = o[g]; return c && (r = r.stateNode, r.__reactInternalMemoizedUnmaskedChildContext = o, r.__reactInternalMemoizedMaskedChildContext = h), h; } function hn(r) { return r = r.childContextTypes, r != null; } function xc() { ut(fn), ut(Xt); } function Qw(r, o, l) { if (Xt.current !== gi) throw Error(n(168)); rt(Xt, o), rt(fn, l); } function eS(r, o, l) { var c = r.stateNode; if (o = o.childContextTypes, typeof c.getChildContext != "function") return l; c = c.getChildContext(); for (var h in c) if (!(h in o)) throw Error(n(108, Pe(r) || "Unknown", h)); return T({}, l, c); } function bc(r) { return r = (r = r.stateNode) && r.__reactInternalMemoizedMergedChildContext || gi, ro = Xt.current, rt(Xt, r), rt(fn, fn.current), !0; } function tS(r, o, l) { var c = r.stateNode; if (!c) throw Error(n(169)); l ? (r = eS(r, o, ro), c.__reactInternalMemoizedMergedChildContext = r, ut(fn), ut(Xt), rt(Xt, r)) : ut(fn), rt(fn, l); } var Dr = null, Cc = !1, Ap = !1; function nS(r) { Dr === null ? Dr = [r] : Dr.push(r); } function mP(r) { Cc = !0, nS(r); } function vi() { if (!Ap && Dr !== null) { Ap = !0; var r = 0, o = Xe; try { var l = Dr; for (Xe = 1; r < l.length; r++) { var c = l[r]; do c = c(!0); while (c !== null); } Dr = null, Cc = !1; } catch (h) { throw Dr !== null && (Dr = Dr.slice(r + 1)), eo(ai, vi), h; } finally { Xe = o, Ap = !1; } } return null; } var cs = [], ds = 0, Tc = null, Oc = 0, Pn = [], In = 0, io = null, jr = 1, Mr = ""; function oo(r, o) { cs[ds++] = Oc, cs[ds++] = Tc, Tc = r, Oc = o; } function rS(r, o, l) { Pn[In++] = jr, Pn[In++] = Mr, Pn[In++] = io, io = r; var c = jr; r = Mr; var h = 32 - Zn(c) - 1; c &= ~(1 << h), l += 1; var g = 32 - Zn(o) + h; if (30 < g) { var w = h - h % 5; g = (c & (1 << w) - 1).toString(32), c >>= w, h -= w, jr = 1 << 32 - Zn(o) + h | l << h | c, Mr = g + r; } else jr = 1 << g | l << h | c, Mr = r; } function kp(r) { r.return !== null && (oo(r, 1), rS(r, 1, 0)); } function Pp(r) { for (; r === Tc; ) Tc = cs[--ds], cs[ds] = null, Oc = cs[--ds], cs[ds] = null; for (; r === io; ) io = Pn[--In], Pn[In] = null, Mr = Pn[--In], Pn[In] = null, jr = Pn[--In], Pn[In] = null; } var En = null, xn = null, dt = !1, Jn = null; function iS(r, o) { var l = Mn(5, null, null, 0); l.elementType = "DELETED", l.stateNode = o, l.return = r, o = r.deletions, o === null ? (r.deletions = [l], r.flags |= 16) : o.push(l); } function oS(r, o) { switch (r.tag) { case 5: var l = r.type; return o = o.nodeType !== 1 || l.toLowerCase() !== o.nodeName.toLowerCase() ? null : o, o !== null ? (r.stateNode = o, En = r, xn = pi(o.firstChild), !0) : !1; case 6: return o = r.pendingProps === "" || o.nodeType !== 3 ? null : o, o !== null ? (r.stateNode = o, En = r, xn = null, !0) : !1; case 13: return o = o.nodeType !== 8 ? null : o, o !== null ? (l = io !== null ? { id: jr, overflow: Mr } : null, r.memoizedState = { dehydrated: o, treeContext: l, retryLane: 1073741824 }, l = Mn(18, null, null, 0), l.stateNode = o, l.return = r, r.child = l, En = r, xn = null, !0) : !1; default: return !1; } } function Ip(r) { return (r.mode & 1) !== 0 && (r.flags & 128) === 0; } function Np(r) { if (dt) { var o = xn; if (o) { var l = o; if (!oS(r, o)) { if (Ip(r)) throw Error(n(418)); o = pi(l.nextSibling); var c = En; o && oS(r, o) ? iS(c, l) : (r.flags = r.flags & -4097 | 2, dt = !1, En = r); } } else { if (Ip(r)) throw Error(n(418)); r.flags = r.flags & -4097 | 2, dt = !1, En = r; } } } function sS(r) { for (r = r.return; r !== null && r.tag !== 5 && r.tag !== 3 && r.tag !== 13; ) r = r.return; En = r; } function _c(r) { if (r !== En) return !1; if (!dt) return sS(r), dt = !0, !1; var o; if ((o = r.tag !== 3) && !(o = r.tag !== 5) && (o = r.type, o = o !== "head" && o !== "body" && !Tp(r.type, r.memoizedProps)), o && (o = xn)) { if (Ip(r)) throw aS(), Error(n(418)); for (; o; ) iS(r, o), o = pi(o.nextSibling); } if (sS(r), r.tag === 13) { if (r = r.memoizedState, r = r !== null ? r.dehydrated : null, !r) throw Error(n(317)); e: { for (r = r.nextSibling, o = 0; r; ) { if (r.nodeType === 8) { var l = r.data; if (l === "/$") { if (o === 0) { xn = pi(r.nextSibling); break e; } o--; } else l !== "$" && l !== "$!" && l !== "$?" || o++; } r = r.nextSibling; } xn = null; } } else xn = En ? pi(r.stateNode.nextSibling) : null; return !0; } function aS() { for (var r = xn; r; ) r = pi(r.nextSibling); } function fs() { xn = En = null, dt = !1; } function Dp(r) { Jn === null ? Jn = [r] : Jn.push(r); } var gP = B.ReactCurrentBatchConfig; function Qn(r, o) { if (r && r.defaultProps) { o = T({}, o), r = r.defaultProps; for (var l in r) o[l] === void 0 && (o[l] = r[l]); return o; } return o; } var Rc = mi(null), Lc = null, hs = null, jp = null; function Mp() { jp = hs = Lc = null; } function Fp(r) { var o = Rc.current; ut(Rc), r._currentValue = o; } function Hp(r, o, l) { for (; r !== null; ) { var c = r.alternate; if ((r.childLanes & o) !== o ? (r.childLanes |= o, c !== null && (c.childLanes |= o)) : c !== null && (c.childLanes & o) !== o && (c.childLanes |= o), r === l) break; r = r.return; } } function ps(r, o) { Lc = r, jp = hs = null, r = r.dependencies, r !== null && r.firstContext !== null && (r.lanes & o && (pn = !0), r.firstContext = null); } function Nn(r) { var o = r._currentValue; if (jp !== r) if (r = { context: r, memoizedValue: o, next: null }, hs === null) { if (Lc === null) throw Error(n(308)); hs = r, Lc.dependencies = { lanes: 0, firstContext: r }; } else hs = hs.next = r; return o; } var so = null; function Bp(r) { so === null ? so = [r] : so.push(r); } function lS(r, o, l, c) { var h = o.interleaved; return h === null ? (l.next = l, Bp(o)) : (l.next = h.next, h.next = l), o.interleaved = l, Fr(r, c); } function Fr(r, o) { r.lanes |= o; var l = r.alternate; for (l !== null && (l.lanes |= o), l = r, r = r.return; r !== null; ) r.childLanes |= o, l = r.alternate, l !== null && (l.childLanes |= o), l = r, r = r.return; return l.tag === 3 ? l.stateNode : null; } var yi = !1; function Up(r) { r.updateQueue = { baseState: r.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null }; } function uS(r, o) { r = r.updateQueue, o.updateQueue === r && (o.updateQueue = { baseState: r.baseState, firstBaseUpdate: r.firstBaseUpdate, lastBaseUpdate: r.lastBaseUpdate, shared: r.shared, effects: r.effects }); } function Hr(r, o) { return { eventTime: r, lane: o, tag: 0, payload: null, callback: null, next: null }; } function wi(r, o, l) { var c = r.updateQueue; if (c === null) return null; if (c = c.shared, ze & 2) { var h = c.pending; return h === null ? o.next = o : (o.next = h.next, h.next = o), c.pending = o, Fr(r, l); } return h = c.interleaved, h === null ? (o.next = o, Bp(c)) : (o.next = h.next, h.next = o), c.interleaved = o, Fr(r, l); } function Ac(r, o, l) { if (o = o.updateQueue, o !== null && (o = o.shared, (l & 4194240) !== 0)) { var c = o.lanes; c &= r.pendingLanes, l |= c, o.lanes = l, tp(r, l); } } function cS(r, o) { var l = r.updateQueue, c = r.alternate; if (c !== null && (c = c.updateQueue, l === c)) { var h = null, g = null; if (l = l.firstBaseUpdate, l !== null) { do { var w = { eventTime: l.eventTime, lane: l.lane, tag: l.tag, payload: l.payload, callback: l.callback, next: null }; g === null ? h = g = w : g = g.next = w, l = l.next; } while (l !== null); g === null ? h = g = o : g = g.next = o; } else h = g = o; l = { baseState: c.baseState, firstBaseUpdate: h, lastBaseUpdate: g, shared: c.shared, effects: c.effects }, r.updateQueue = l; return; } r = l.lastBaseUpdate, r === null ? l.firstBaseUpdate = o : r.next = o, l.lastBaseUpdate = o; } function kc(r, o, l, c) { var h = r.updateQueue; yi = !1; var g = h.firstBaseUpdate, w = h.lastBaseUpdate, b = h.shared.pending; if (b !== null) { h.shared.pending = null; var _ = b, H = _.next; _.next = null, w === null ? g = H : w.next = H, w = _; var K = r.alternate; K !== null && (K = K.updateQueue, b = K.lastBaseUpdate, b !== w && (b === null ? K.firstBaseUpdate = H : b.next = H, K.lastBaseUpdate = _)); } if (g !== null) { var J = h.baseState; w = 0, K = H = _ = null, b = g; do { var Y = b.lane, oe = b.eventTime; if ((c & Y) === Y) { K !== null && (K = K.next = { eventTime: oe, lane: 0, tag: b.tag, payload: b.payload, callback: b.callback, next: null }); e: { var le = r, ue = b; switch (Y = o, oe = l, ue.tag) { case 1: if (le = ue.payload, typeof le == "function") { J = le.call(oe, J, Y); break e; } J = le; break e; case 3: le.flags = le.flags & -65537 | 128; case 0: if (le = ue.payload, Y = typeof le == "function" ? le.call(oe, J, Y) : le, Y == null) break e; J = T({}, J, Y); break e; case 2: yi = !0; } } b.callback !== null && b.lane !== 0 && (r.flags |= 64, Y = h.effects, Y === null ? h.effects = [b] : Y.push(b)); } else oe = { eventTime: oe, lane: Y, tag: b.tag, payload: b.payload, callback: b.callback, next: null }, K === null ? (H = K = oe, _ = J) : K = K.next = oe, w |= Y; if (b = b.next, b === null) { if (b = h.shared.pending, b === null) break; Y = b, b = Y.next, Y.next = null, h.lastBaseUpdate = Y, h.shared.pending = null; } } while (!0); if (K === null && (_ = J), h.baseState = _, h.firstBaseUpdate = H, h.lastBaseUpdate = K, o = h.shared.interleaved, o !== null) { h = o; do w |= h.lane, h = h.next; while (h !== o); } else g === null && (h.shared.lanes = 0); uo |= w, r.lanes = w, r.memoizedState = J; } } function dS(r, o, l) { if (r = o.effects, o.effects = null, r !== null) for (o = 0; o < r.length; o++) { var c = r[o], h = c.callback; if (h !== null) { if (c.callback = null, c = l, typeof h != "function") throw Error(n(191, h)); h.call(c); } } } var fS = new t.Component().refs; function $p(r, o, l, c) { o = r.memoizedState, l = l(c, o), l = l == null ? o : T({}, o, l), r.memoizedState = l, r.lanes === 0 && (r.updateQueue.baseState = l); } var Pc = { isMounted: function(r) { return (r = r._reactInternals) ? pr(r) === r : !1; }, enqueueSetState: function(r, o, l) { r = r._reactInternals; var c = cn(), h = bi(r), g = Hr(c, h); g.payload = o, l != null && (g.callback = l), o = wi(r, g, h), o !== null && (nr(o, r, h, c), Ac(o, r, h)); }, enqueueReplaceState: function(r, o, l) { r = r._reactInternals; var c = cn(), h = bi(r), g = Hr(c, h); g.tag = 1, g.payload = o, l != null && (g.callback = l), o = wi(r, g, h), o !== null && (nr(o, r, h, c), Ac(o, r, h)); }, enqueueForceUpdate: function(r, o) { r = r._reactInternals; var l = cn(), c = bi(r), h = Hr(l, c); h.tag = 2, o != null && (h.callback = o), o = wi(r, h, c), o !== null && (nr(o, r, c, l), Ac(o, r, c)); } }; function hS(r, o, l, c, h, g, w) { return r = r.stateNode, typeof r.shouldComponentUpdate == "function" ? r.shouldComponentUpdate(c, g, w) : o.prototype && o.prototype.isPureReactComponent ? !La(l, c) || !La(h, g) : !0; } function pS(r, o, l) { var c = !1, h = gi, g = o.contextType; return typeof g == "object" && g !== null ? g = Nn(g) : (h = hn(o) ? ro : Xt.current, c = o.contextTypes, g = (c = c != null) ? us(r, h) : gi), o = new o(l, g), r.memoizedState = o.state !== null && o.state !== void 0 ? o.state : null, o.updater = Pc, r.stateNode = o, o._reactInternals = r, c && (r = r.stateNode, r.__reactInternalMemoizedUnmaskedChildContext = h, r.__reactInternalMemoizedMaskedChildContext = g), o; } function mS(r, o, l, c) { r = o.state, typeof o.componentWillReceiveProps == "function" && o.componentWillReceiveProps(l, c), typeof o.UNSAFE_componentWillReceiveProps == "function" && o.UNSAFE_componentWillReceiveProps(l, c), o.state !== r && Pc.enqueueReplaceState(o, o.state, null); } function zp(r, o, l, c) { var h = r.stateNode; h.props = l, h.state = r.memoizedState, h.refs = fS, Up(r); var g = o.contextType; typeof g == "object" && g !== null ? h.context = Nn(g) : (g = hn(o) ? ro : Xt.current, h.context = us(r, g)), h.state = r.memoizedState, g = o.getDerivedStateFromProps, typeof g == "function" && ($p(r, o, g, l), h.state = r.memoizedState), typeof o.getDerivedStateFromProps == "function" || typeof h.getSnapshotBeforeUpdate == "function" || typeof h.UNSAFE_componentWillMount != "function" && typeof h.componentWillMount != "function" || (o = h.state, typeof h.componentWillMount == "function" && h.componentWillMount(), typeof h.UNSAFE_componentWillMount == "function" && h.UNSAFE_componentWillMount(), o !== h.state && Pc.enqueueReplaceState(h, h.state, null), kc(r, l, h, c), h.state = r.memoizedState), typeof h.componentDidMount == "function" && (r.flags |= 4194308); } function ja(r, o, l) { if (r = l.ref, r !== null && typeof r != "function" && typeof r != "object") { if (l._owner) { if (l = l._owner, l) { if (l.tag !== 1) throw Error(n(309)); var c = l.stateNode; } if (!c) throw Error(n(147, r)); var h = c, g = "" + r; return o !== null && o.ref !== null && typeof o.ref == "function" && o.ref._stringRef === g ? o.ref : (o = function(w) { var b = h.refs; b === fS && (b = h.refs = {}), w === null ? delete b[g] : b[g] = w; }, o._stringRef = g, o); } if (typeof r != "string") throw Error(n(284)); if (!l._owner) throw Error(n(290, r)); } return r; } function Ic(r, o) { throw r = Object.prototype.toString.call(o), Error(n(31, r === "[object Object]" ? "object with keys {" + Object.keys(o).join(", ") + "}" : r)); } function gS(r) { var o = r._init; return o(r._payload); } function vS(r) { function o(D, A) { if (r) { var F = D.deletions; F === null ? (D.deletions = [A], D.flags |= 16) : F.push(A); } } function l(D, A) { if (!r) return null; for (; A !== null; ) o(D, A), A = A.sibling; return null; } function c(D, A) { for (D = /* @__PURE__ */ new Map(); A !== null; ) A.key !== null ? D.set(A.key, A) : D.set(A.index, A), A = A.sibling; return D; } function h(D, A) { return D = Ti(D, A), D.index = 0, D.sibling = null, D; } function g(D, A, F) { return D.index = F, r ? (F = D.alternate, F !== null ? (F = F.index, F < A ? (D.flags |= 2, A) : F) : (D.flags |= 2, A)) : (D.flags |= 1048576, A); } function w(D) { return r && D.alternate === null && (D.flags |= 2), D; } function b(D, A, F, te) { return A === null || A.tag !== 6 ? (A = Om(F, D.mode, te), A.return = D, A) : (A = h(A, F), A.return = D, A); } function _(D, A, F, te) { var ce = F.type; return ce === R ? K(D, A, F.props.children, te, F.key) : A !== null && (A.elementType === ce || typeof ce == "object" && ce !== null && ce.$$typeof === Be && gS(ce) === A.type) ? (te = h(A, F.props), te.ref = ja(D, A, F), te.return = D, te) : (te = Jc(F.type, F.key, F.props, null, D.mode, te), te.ref = ja(D, A, F), te.return = D, te); } function H(D, A, F, te) { return A === null || A.tag !== 4 || A.stateNode.containerInfo !== F.containerInfo || A.stateNode.implementation !== F.implementation ? (A = _m(F, D.mode, te), A.return = D, A) : (A = h(A, F.children || []), A.return = D, A); } function K(D, A, F, te, ce) { return A === null || A.tag !== 7 ? (A = po(F, D.mode, te, ce), A.return = D, A) : (A = h(A, F), A.return = D, A); } function J(D, A, F) { if (typeof A == "string" && A !== "" || typeof A == "number") return A = Om("" + A, D.mode, F), A.return = D, A; if (typeof A == "object" && A !== null) { switch (A.$$typeof) { case V: return F = Jc(A.type, A.key, A.props, null, D.mode, F), F.ref = ja(D, null, A), F.return = D, F; case P: return A = _m(A, D.mode, F), A.return = D, A; case Be: var te = A._init; return J(D, te(A._payload), F); } if (Kn(A) || Q(A)) return A = po(A, D.mode, F, null), A.return = D, A; Ic(D, A); } return null; } function Y(D, A, F, te) { var ce = A !== null ? A.key : null; if (typeof F == "string" && F !== "" || typeof F == "number") return ce !== null ? null : b(D, A, "" + F, te); if (typeof F == "object" && F !== null) { switch (F.$$typeof) { case V: return F.key === ce ? _(D, A, F, te) : null; case P: return F.key === ce ? H(D, A, F, te) : null; case Be: return ce = F._init, Y( D, A, ce(F._payload), te ); } if (Kn(F) || Q(F)) return ce !== null ? null : K(D, A, F, te, null); Ic(D, F); } return null; } function oe(D, A, F, te, ce) { if (typeof te == "string" && te !== "" || typeof te == "number") return D = D.get(F) || null, b(A, D, "" + te, ce); if (typeof te == "object" && te !== null) { switch (te.$$typeof) { case V: return D = D.get(te.key === null ? F : te.key) || null, _(A, D, te, ce); case P: return D = D.get(te.key === null ? F : te.key) || null, H(A, D, te, ce); case Be: var pe = te._init; return oe(D, A, F, pe(te._payload), ce); } if (Kn(te) || Q(te)) return D = D.get(F) || null, K(A, D, te, ce, null); Ic(A, te); } return null; } function le(D, A, F, te) { for (var ce = null, pe = null, me = A, xe = A = 0, Ut = null; me !== null && xe < F.length; xe++) { me.index > xe ? (Ut = me, me = null) : Ut = me.sibling; var Ge = Y(D, me, F[xe], te); if (Ge === null) { me === null && (me = Ut); break; } r && me && Ge.alternate === null && o(D, me), A = g(Ge, A, xe), pe === null ? ce = Ge : pe.sibling = Ge, pe = Ge, me = Ut; } if (xe === F.length) return l(D, me), dt && oo(D, xe), ce; if (me === null) { for (; xe < F.length; xe++) me = J(D, F[xe], te), me !== null && (A = g(me, A, xe), pe === null ? ce = me : pe.sibling = me, pe = me); return dt && oo(D, xe), ce; } for (me = c(D, me); xe < F.length; xe++) Ut = oe(me, D, xe, F[xe], te), Ut !== null && (r && Ut.alternate !== null && me.delete(Ut.key === null ? xe : Ut.key), A = g(Ut, A, xe), pe === null ? ce = Ut : pe.sibling = Ut, pe = Ut); return r && me.forEach(function(Oi) { return o(D, Oi); }), dt && oo(D, xe), ce; } function ue(D, A, F, te) { var ce = Q(F); if (typeof ce != "function") throw Error(n(150)); if (F = ce.call(F), F == null) throw Error(n(151)); for (var pe = ce = null, me = A, xe = A = 0, Ut = null, Ge = F.next(); me !== null && !Ge.done; xe++, Ge = F.next()) { me.index > xe ? (Ut = me, me = null) : Ut = me.sibling; var Oi = Y(D, me, Ge.value, te); if (Oi === null) { me === null && (me = Ut); break; } r && me && Oi.alternate === null && o(D, me), A = g(Oi, A, xe), pe === null ? ce = Oi : pe.sibling = Oi, pe = Oi, me = Ut; } if (Ge.done) return l( D, me ), dt && oo(D, xe), ce; if (me === null) { for (; !Ge.done; xe++, Ge = F.next()) Ge = J(D, Ge.value, te), Ge !== null && (A = g(Ge, A, xe), pe === null ? ce = Ge : pe.sibling = Ge, pe = Ge); return dt && oo(D, xe), ce; } for (me = c(D, me); !Ge.done; xe++, Ge = F.next()) Ge = oe(me, D, xe, Ge.value, te), Ge !== null && (r && Ge.alternate !== null && me.delete(Ge.key === null ? xe : Ge.key), A = g(Ge, A, xe), pe === null ? ce = Ge : pe.sibling = Ge, pe = Ge); return r && me.forEach(function(KP) { return o(D, KP); }), dt && oo(D, xe), ce; } function Ct(D, A, F, te) { if (typeof F == "object" && F !== null && F.type === R && F.key === null && (F = F.props.children), typeof F == "object" && F !== null) { switch (F.$$typeof) { case V: e: { for (var ce = F.key, pe = A; pe !== null; ) { if (pe.key === ce) { if (ce = F.type, ce === R) { if (pe.tag === 7) { l(D, pe.sibling), A = h(pe, F.props.children), A.return = D, D = A; break e; } } else if (pe.elementType === ce || typeof ce == "object" && ce !== null && ce.$$typeof === Be && gS(ce) === pe.type) { l(D, pe.sibling), A = h(pe, F.props), A.ref = ja(D, pe, F), A.return = D, D = A; break e; } l(D, pe); break; } else o(D, pe); pe = pe.sibling; } F.type === R ? (A = po(F.props.children, D.mode, te, F.key), A.return = D, D = A) : (te = Jc(F.type, F.key, F.props, null, D.mode, te), te.ref = ja(D, A, F), te.return = D, D = te); } return w(D); case P: e: { for (pe = F.key; A !== null; ) { if (A.key === pe) if (A.tag === 4 && A.stateNode.containerInfo === F.containerInfo && A.stateNode.implementation === F.implementation) { l(D, A.sibling), A = h(A, F.children || []), A.return = D, D = A; break e; } else { l(D, A); break; } else o(D, A); A = A.sibling; } A = _m(F, D.mode, te), A.return = D, D = A; } return w(D); case Be: return pe = F._init, Ct(D, A, pe(F._payload), te); } if (Kn(F)) return le(D, A, F, te); if (Q(F)) return ue(D, A, F, te); Ic(D, F); } return typeof F == "string" && F !== "" || typeof F == "number" ? (F = "" + F, A !== null && A.tag === 6 ? (l(D, A.sibling), A = h(A, F), A.return = D, D = A) : (l(D, A), A = Om(F, D.mode, te), A.return = D, D = A), w(D)) : l(D, A); } return Ct; } var ms = vS(!0), yS = vS(!1), Ma = {}, vr = mi(Ma), Fa = mi(Ma), Ha = mi(Ma); function ao(r) { if (r === Ma) throw Error(n(174)); return r; } function Vp(r, o) { switch (rt(Ha, o), rt(Fa, r), rt(vr, Ma), r = o.nodeType, r) { case 9: case 11: o = (o = o.documentElement) ? o.namespaceURI : ri(null, ""); break; default: r = r === 8 ? o.parentNode : o, o = r.namespaceURI || null, r = r.tagName, o = ri(o, r); } ut(vr), rt(vr, o); } function gs() { ut(vr), ut(Fa), ut(Ha); } function wS(r) { ao(Ha.current); var o = ao(vr.current), l = ri(o, r.type); o !== l && (rt(Fa, r), rt(vr, l)); } function Wp(r) { Fa.current === r && (ut(vr), ut(Fa)); } var pt = mi(0); function Nc(r) { for (var o = r; o !== null; ) { if (o.tag === 13) { var l = o.memoizedState; if (l !== null && (l = l.dehydrated, l === null || l.data === "$?" || l.data === "$!")) return o; } else if (o.tag === 19 && o.memoizedProps.revealOrder !== void 0) { if (o.flags & 128) return o; } else if (o.child !== null) { o.child.return = o, o = o.child; continue; } if (o === r) break; for (; o.sibling === null; ) { if (o.return === null || o.return === r) return null; o = o.return; } o.sibling.return = o.return, o = o.sibling; } return null; } var Gp = []; function qp() { for (var r = 0; r < Gp.length; r++) Gp[r]._workInProgressVersionPrimary = null; Gp.length = 0; } var Dc = B.ReactCurrentDispatcher, Yp = B.ReactCurrentBatchConfig, lo = 0, mt = null, It = null, Ht = null, jc = !1, Ba = !1, Ua = 0, vP = 0; function Jt() { throw Error(n(321)); } function Kp(r, o) { if (o === null) return !1; for (var l = 0; l < o.length && l < r.length; l++) if (!Xn(r[l], o[l])) return !1; return !0; } function Zp(r, o, l, c, h, g) { if (lo = g, mt = o, o.memoizedState = null, o.updateQueue = null, o.lanes = 0, Dc.current = r === null || r.memoizedState === null ? EP : xP, r = l(c, h), Ba) { g = 0; do { if (Ba = !1, Ua = 0, 25 <= g) throw Error(n(301)); g += 1, Ht = It = null, o.updateQueue = null, Dc.current = bP, r = l(c, h); } while (Ba); } if (Dc.current = Hc, o = It !== null && It.next !== null, lo = 0, Ht = It = mt = null, jc = !1, o) throw Error(n(300)); return r; } function Xp() { var r = Ua !== 0; return Ua = 0, r; } function yr() { var r = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; return Ht === null ? mt.memoizedState = Ht = r : Ht = Ht.next = r, Ht; } function Dn() { if (It === null) { var r = mt.alternate; r = r !== null ? r.memoizedState : null; } else r = It.next; var o = Ht === null ? mt.memoizedState : Ht.next; if (o !== null) Ht = o, It = r; else { if (r === null) throw Error(n(310)); It = r, r = { memoizedState: It.memoizedState, baseState: It.baseState, baseQueue: It.baseQueue, queue: It.queue, next: null }, Ht === null ? mt.memoizedState = Ht = r : Ht = Ht.next = r; } return Ht; } function $a(r, o) { return typeof o == "function" ? o(r) : o; } function Jp(r) { var o = Dn(), l = o.queue; if (l === null) throw Error(n(311)); l.lastRenderedReducer = r; var c = It, h = c.baseQueue, g = l.pending; if (g !== null) { if (h !== null) { var w = h.next; h.next = g.next, g.next = w; } c.baseQueue = h = g, l.pending = null; } if (h !== null) { g = h.next, c = c.baseState; var b = w = null, _ = null, H = g; do { var K = H.lane; if ((lo & K) === K) _ !== null && (_ = _.next = { lane: 0, action: H.action, hasEagerState: H.hasEagerState, eagerState: H.eagerState, next: null }), c = H.hasEagerState ? H.eagerState : r(c, H.action); else { var J = { lane: K, action: H.action, hasEagerState: H.hasEagerState, eagerState: H.eagerState, next: null }; _ === null ? (b = _ = J, w = c) : _ = _.next = J, mt.lanes |= K, uo |= K; } H = H.next; } while (H !== null && H !== g); _ === null ? w = c : _.next = b, Xn(c, o.memoizedState) || (pn = !0), o.memoizedState = c, o.baseState = w, o.baseQueue = _, l.lastRenderedState = c; } if (r = l.interleaved, r !== null) { h = r; do g = h.lane, mt.lanes |= g, uo |= g, h = h.next; while (h !== r); } else h === null && (l.lanes = 0); return [o.memoizedState, l.dispatch]; } function Qp(r) { var o = Dn(), l = o.queue; if (l === null) throw Error(n(311)); l.lastRenderedReducer = r; var c = l.dispatch, h = l.pending, g = o.memoizedState; if (h !== null) { l.pending = null; var w = h = h.next; do g = r(g, w.action), w = w.next; while (w !== h); Xn(g, o.memoizedState) || (pn = !0), o.memoizedState = g, o.baseQueue === null && (o.baseState = g), l.lastRenderedState = g; } return [g, c]; } function SS() { } function ES(r, o) { var l = mt, c = Dn(), h = o(), g = !Xn(c.memoizedState, h); if (g && (c.memoizedState = h, pn = !0), c = c.queue, em(CS.bind(null, l, c, r), [r]), c.getSnapshot !== o || g || Ht !== null && Ht.memoizedState.tag & 1) { if (l.flags |= 2048, za(9, bS.bind(null, l, c, h, o), void 0, null), Bt === null) throw Error(n(349)); lo & 30 || xS(l, o, h); } return h; } function xS(r, o, l) { r.flags |= 16384, r = { getSnapshot: o, value: l }, o = mt.updateQueue, o === null ? (o = { lastEffect: null, stores: null }, mt.updateQueue = o, o.stores = [r]) : (l = o.stores, l === null ? o.stores = [r] : l.push(r)); } function bS(r, o, l, c) { o.value = l, o.getSnapshot = c, TS(o) && OS(r); } function CS(r, o, l) { return l(function() { TS(o) && OS(r); }); } function TS(r) { var o = r.getSnapshot; r = r.value; try { var l = o(); return !Xn(r, l); } catch { return !0; } } function OS(r) { var o = Fr(r, 1); o !== null && nr(o, r, 1, -1); } function _S(r) { var o = yr(); return typeof r == "function" && (r = r()), o.memoizedState = o.baseState = r, r = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: $a, lastRenderedState: r }, o.queue = r, r = r.dispatch = SP.bind(null, mt, r), [o.memoizedState, r]; } function za(r, o, l, c) { return r = { tag: r, create: o, destroy: l, deps: c, next: null }, o = mt.updateQueue, o === null ? (o = { lastEffect: null, stores: null }, mt.updateQueue = o, o.lastEffect = r.next = r) : (l = o.lastEffect, l === null ? o.lastEffect = r.next = r : (c = l.next, l.next = r, r.next = c, o.lastEffect = r)), r; } function RS() { return Dn().memoizedState; } function Mc(r, o, l, c) { var h = yr(); mt.flags |= r, h.memoizedState = za(1 | o, l, void 0, c === void 0 ? null : c); } function Fc(r, o, l, c) { var h = Dn(); c = c === void 0 ? null : c; var g = void 0; if (It !== null) { var w = It.memoizedState; if (g = w.destroy, c !== null && Kp(c, w.deps)) { h.memoizedState = za(o, l, g, c); return; } } mt.flags |= r, h.memoizedState = za(1 | o, l, g, c); } function LS(r, o) { return Mc(8390656, 8, r, o); } function em(r, o) { return Fc(2048, 8, r, o); } function AS(r, o) { return Fc(4, 2, r, o); } function kS(r, o) { return Fc(4, 4, r, o); } function PS(r, o) { if (typeof o == "function") return r = r(), o(r), function() { o(null); }; if (o != null) return r = r(), o.current = r, function() { o.current = null; }; } function IS(r, o, l) { return l = l != null ? l.concat([r]) : null, Fc(4, 4, PS.bind(null, o, r), l); } function tm() { } function NS(r, o) { var l = Dn(); o = o === void 0 ? null : o; var c = l.memoizedState; return c !== null && o !== null && Kp(o, c[1]) ? c[0] : (l.memoizedState = [r, o], r); } function DS(r, o) { var l = Dn(); o = o === void 0 ? null : o; var c = l.memoizedState; return c !== null && o !== null && Kp(o, c[1]) ? c[0] : (r = r(), l.memoizedState = [r, o], r); } function jS(r, o, l) { return lo & 21 ? (Xn(l, o) || (l = lw(), mt.lanes |= l, uo |= l, r.baseState = !0), o) : (r.baseState && (r.baseState = !1, pn = !0), r.memoizedState = l); } function yP(r, o) { var l = Xe; Xe = l !== 0 && 4 > l ? l : 4, r(!0); var c = Yp.transition; Yp.transition = {}; try { r(!1), o(); } finally { Xe = l, Yp.transition = c; } } function MS() { return Dn().memoizedState; } function wP(r, o, l) { var c = bi(r); if (l = { lane: c, action: l, hasEagerState: !1, eagerState: null, next: null }, FS(r)) HS(o, l); else if (l = lS(r, o, l, c), l !== null) { var h = cn(); nr(l, r, c, h), BS(l, o, c); } } function SP(r, o, l) { var c = bi(r), h = { lane: c, action: l, hasEagerState: !1, eagerState: null, next: null }; if (FS(r)) HS(o, h); else { var g = r.alternate; if (r.lanes === 0 && (g === null || g.lanes === 0) && (g = o.lastRenderedReducer, g !== null)) try { var w = o.lastRenderedState, b = g(w, l); if (h.hasEagerState = !0, h.eagerState = b, Xn(b, w)) { var _ = o.interleaved; _ === null ? (h.next = h, Bp(o)) : (h.next = _.next, _.next = h), o.interleaved = h; return; } } catch { } finally { } l = lS(r, o, h, c), l !== null && (h = cn(), nr(l, r, c, h), BS(l, o, c)); } } function FS(r) { var o = r.alternate; return r === mt || o !== null && o === mt; } function HS(r, o) { Ba = jc = !0; var l = r.pending; l === null ? o.next = o : (o.next = l.next, l.next = o), r.pending = o; } function BS(r, o, l) { if (l & 4194240) { var c = o.lanes; c &= r.pendingLanes, l |= c, o.lanes = l, tp(r, l); } } var Hc = { readContext: Nn, useCallback: Jt, useContext: Jt, useEffect: Jt, useImperativeHandle: Jt, useInsertionEffect: Jt, useLayoutEffect: Jt, useMemo: Jt, useReducer: Jt, useRef: Jt, useState: Jt, useDebugValue: Jt, useDeferredValue: Jt, useTransition: Jt, useMutableSource: Jt, useSyncExternalStore: Jt, useId: Jt, unstable_isNewReconciler: !1 }, EP = { readContext: Nn, useCallback: function(r, o) { return yr().memoizedState = [r, o === void 0 ? null : o], r; }, useContext: Nn, useEffect: LS, useImperativeHandle: function(r, o, l) { return l = l != null ? l.concat([r]) : null, Mc( 4194308, 4, PS.bind(null, o, r), l ); }, useLayoutEffect: function(r, o) { return Mc(4194308, 4, r, o); }, useInsertionEffect: function(r, o) { return Mc(4, 2, r, o); }, useMemo: function(r, o) { var l = yr(); return o = o === void 0 ? null : o, r = r(), l.memoizedState = [r, o], r; }, useReducer: function(r, o, l) { var c = yr(); return o = l !== void 0 ? l(o) : o, c.memoizedState = c.baseState = o, r = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: r, lastRenderedState: o }, c.queue = r, r = r.dispatch = wP.bind(null, mt, r), [c.memoizedState, r]; }, useRef: function(r) { var o = yr(); return r = { current: r }, o.memoizedState = r; }, useState: _S, useDebugValue: tm, useDeferredValue: function(r) { return yr().memoizedState = r; }, useTransition: function() { var r = _S(!1), o = r[0]; return r = yP.bind(null, r[1]), yr().memoizedState = r, [o, r]; }, useMutableSource: function() { }, useSyncExternalStore: function(r, o, l) { var c = mt, h = yr(); if (dt) { if (l === void 0) throw Error(n(407)); l = l(); } else { if (l = o(), Bt === null) throw Error(n(349)); lo & 30 || xS(c, o, l); } h.memoizedState = l; var g = { value: l, getSnapshot: o }; return h.queue = g, LS(CS.bind( null, c, g, r ), [r]), c.flags |= 2048, za(9, bS.bind(null, c, g, l, o), void 0, null), l; }, useId: function() { var r = yr(), o = Bt.identifierPrefix; if (dt) { var l = Mr, c = jr; l = (c & ~(1 << 32 - Zn(c) - 1)).toString(32) + l, o = ":" + o + "R" + l, l = Ua++, 0 < l && (o += "H" + l.toString(32)), o += ":"; } else l = vP++, o = ":" + o + "r" + l.toString(32) + ":"; return r.memoizedState = o; }, unstable_isNewReconciler: !1 }, xP = { readContext: Nn, useCallback: NS, useContext: Nn, useEffect: em, useImperativeHandle: IS, useInsertionEffect: AS, useLayoutEffect: kS, useMemo: DS, useReducer: Jp, useRef: RS, useState: function() { return Jp($a); }, useDebugValue: tm, useDeferredValue: function(r) { var o = Dn(); return jS(o, It.memoizedState, r); }, useTransition: function() { var r = Jp($a)[0], o = Dn().memoizedState; return [r, o]; }, useMutableSource: SS, useSyncExternalStore: ES, useId: MS, unstable_isNewReconciler: !1 }, bP = { readContext: Nn, useCallback: NS, useContext: Nn, useEffect: em, useImperativeHandle: IS, useInsertionEffect: AS, useLayoutEffect: kS, useMemo: DS, useReducer: Qp, useRef: RS, useState: function() { return Qp($a); }, useDebugValue: tm, useDeferredValue: function(r) { var o = Dn(); return It === null ? o.memoizedState = r : jS(o, It.memoizedState, r); }, useTransition: function() { var r = Qp($a)[0], o = Dn().memoizedState; return [r, o]; }, useMutableSource: SS, useSyncExternalStore: ES, useId: MS, unstable_isNewReconciler: !1 }; function vs(r, o) { try { var l = "", c = o; do l += Oe(c), c = c.return; while (c); var h = l; } catch (g) { h = ` Error generating stack: ` + g.message + ` ` + g.stack; } return { value: r, source: o, stack: h, digest: null }; } function nm(r, o, l) { return { value: r, source: null, stack: l ?? null, digest: o ?? null }; } function rm(r, o) { try { console.error(o.value); } catch (l) { setTimeout(function() { throw l; }); } } var CP = typeof WeakMap == "function" ? WeakMap : Map; function US(r, o, l) { l = Hr(-1, l), l.tag = 3, l.payload = { element: null }; var c = o.value; return l.callback = function() { Gc || (Gc = !0, ym = c), rm(r, o); }, l; } function $S(r, o, l) { l = Hr(-1, l), l.tag = 3; var c = r.type.getDerivedStateFromError; if (typeof c == "function") { var h = o.value; l.payload = function() { return c(h); }, l.callback = function() { rm(r, o); }; } var g = r.stateNode; return g !== null && typeof g.componentDidCatch == "function" && (l.callback = function() { rm(r, o), typeof c != "function" && (Ei === null ? Ei = /* @__PURE__ */ new Set([this]) : Ei.add(this)); var w = o.stack; this.componentDidCatch(o.value, { componentStack: w !== null ? w : "" }); }), l; } function zS(r, o, l) { var c = r.pingCache; if (c === null) { c = r.pingCache = new CP(); var h = /* @__PURE__ */ new Set(); c.set(o, h); } else h = c.get(o), h === void 0 && (h = /* @__PURE__ */ new Set(), c.set(o, h)); h.has(l) || (h.add(l), r = FP.bind(null, r, o, l), o.then(r, r)); } function VS(r) { do { var o; if ((o = r.tag === 13) && (o = r.memoizedState, o = o !== null ? o.dehydrated !== null : !0), o) return r; r = r.return; } while (r !== null); return null; } function WS(r, o, l, c, h) { return r.mode & 1 ? (r.flags |= 65536, r.lanes = h, r) : (r === o ? r.flags |= 65536 : (r.flags |= 128, l.flags |= 131072, l.flags &= -52805, l.tag === 1 && (l.alternate === null ? l.tag = 17 : (o = Hr(-1, 1), o.tag = 2, wi(l, o, 1))), l.lanes |= 1), r); } var TP = B.ReactCurrentOwner, pn = !1; function un(r, o, l, c) { o.child = r === null ? yS(o, null, l, c) : ms(o, r.child, l, c); } function GS(r, o, l, c, h) { l = l.render; var g = o.ref; return ps(o, h), c = Zp(r, o, l, c, g, h), l = Xp(), r !== null && !pn ? (o.updateQueue = r.updateQueue, o.flags &= -2053, r.lanes &= ~h, Br(r, o, h)) : (dt && l && kp(o), o.flags |= 1, un(r, o, c, h), o.child); } function qS(r, o, l, c, h) { if (r === null) { var g = l.type; return typeof g == "function" && !Tm(g) && g.defaultProps === void 0 && l.compare === null && l.defaultProps === void 0 ? (o.tag = 15, o.type = g, YS(r, o, g, c, h)) : (r = Jc(l.type, null, c, o, o.mode, h), r.ref = o.ref, r.return = o, o.child = r); } if (g = r.child, !(r.lanes & h)) { var w = g.memoizedProps; if (l = l.compare, l = l !== null ? l : La, l(w, c) && r.ref === o.ref) return Br(r, o, h); } return o.flags |= 1, r = Ti(g, c), r.ref = o.ref, r.return = o, o.child = r; } function YS(r, o, l, c, h) { if (r !== null) { var g = r.memoizedProps; if (La(g, c) && r.ref === o.ref) if (pn = !1, o.pendingProps = c = g, (r.lanes & h) !== 0) r.flags & 131072 && (pn = !0); else return o.lanes = r.lanes, Br(r, o, h); } return im(r, o, l, c, h); } function KS(r, o, l) { var c = o.pendingProps, h = c.children, g = r !== null ? r.memoizedState : null; if (c.mode === "hidden") if (!(o.mode & 1)) o.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, rt(ws, bn), bn |= l; else { if (!(l & 1073741824)) return r = g !== null ? g.baseLanes | l : l, o.lanes = o.childLanes = 1073741824, o.memoizedState = { baseLanes: r, cachePool: null, transitions: null }, o.updateQueue = null, rt(ws, bn), bn |= r, null; o.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, c = g !== null ? g.baseLanes : l, rt(ws, bn), bn |= c; } else g !== null ? (c = g.baseLanes | l, o.memoizedState = null) : c = l, rt(ws, bn), bn |= c; return un(r, o, h, l), o.child; } function ZS(r, o) { var l = o.ref; (r === null && l !== null || r !== null && r.ref !== l) && (o.flags |= 512, o.flags |= 2097152); } function im(r, o, l, c, h) { var g = hn(l) ? ro : Xt.current; return g = us(o, g), ps(o, h), l = Zp(r, o, l, c, g, h), c = Xp(), r !== null && !pn ? (o.updateQueue = r.updateQueue, o.flags &= -2053, r.lanes &= ~h, Br(r, o, h)) : (dt && c && kp(o), o.flags |= 1, un(r, o, l, h), o.child); } function XS(r, o, l, c, h) { if (hn(l)) { var g = !0; bc(o); } else g = !1; if (ps(o, h), o.stateNode === null) Uc(r, o), pS(o, l, c), zp(o, l, c, h), c = !0; else if (r === null) { var w = o.stateNode, b = o.memoizedProps; w.props = b; var _ = w.context, H = l.contextType; typeof H == "object" && H !== null ? H = Nn(H) : (H = hn(l) ? ro : Xt.current, H = us(o, H)); var K = l.getDerivedStateFromProps, J = typeof K == "function" || typeof w.getSnapshotBeforeUpdate == "function"; J || typeof w.UNSAFE_componentWillReceiveProps != "function" && typeof w.componentWillReceiveProps != "function" || (b !== c || _ !== H) && mS(o, w, c, H), yi = !1; var Y = o.memoizedState; w.state = Y, kc(o, c, w, h), _ = o.memoizedState, b !== c || Y !== _ || fn.current || yi ? (typeof K == "function" && ($p(o, l, K, c), _ = o.memoizedState), (b = yi || hS(o, l, b, c, Y, _, H)) ? (J || typeof w.UNSAFE_componentWillMount != "function" && typeof w.componentWillMount != "function" || (typeof w.componentWillMount == "function" && w.componentWillMount(), typeof w.UNSAFE_componentWillMount == "function" && w.UNSAFE_componentWillMount()), typeof w.componentDidMount == "function" && (o.flags |= 4194308)) : (typeof w.componentDidMount == "function" && (o.flags |= 4194308), o.memoizedProps = c, o.memoizedState = _), w.props = c, w.state = _, w.context = H, c = b) : (typeof w.componentDidMount == "function" && (o.flags |= 4194308), c = !1); } else { w = o.stateNode, uS(r, o), b = o.memoizedProps, H = o.type === o.elementType ? b : Qn(o.type, b), w.props = H, J = o.pendingProps, Y = w.context, _ = l.contextType, typeof _ == "object" && _ !== null ? _ = Nn(_) : (_ = hn(l) ? ro : Xt.current, _ = us(o, _)); var oe = l.getDerivedStateFromProps; (K = typeof oe == "function" || typeof w.getSnapshotBeforeUpdate == "function") || typeof w.UNSAFE_componentWillReceiveProps != "function" && typeof w.componentWillReceiveProps != "function" || (b !== J || Y !== _) && mS(o, w, c, _), yi = !1, Y = o.memoizedState, w.state = Y, kc(o, c, w, h); var le = o.memoizedState; b !== J || Y !== le || fn.current || yi ? (typeof oe == "function" && ($p(o, l, oe, c), le = o.memoizedState), (H = yi || hS(o, l, H, c, Y, le, _) || !1) ? (K || typeof w.UNSAFE_componentWillUpdate != "function" && typeof w.componentWillUpdate != "function" || (typeof w.componentWillUpdate == "function" && w.componentWillUpdate(c, le, _), typeof w.UNSAFE_componentWillUpdate == "function" && w.UNSAFE_componentWillUpdate(c, le, _)), typeof w.componentDidUpdate == "function" && (o.flags |= 4), typeof w.getSnapshotBeforeUpdate == "function" && (o.flags |= 1024)) : (typeof w.componentDidUpdate != "function" || b === r.memoizedProps && Y === r.memoizedState || (o.flags |= 4), typeof w.getSnapshotBeforeUpdate != "function" || b === r.memoizedProps && Y === r.memoizedState || (o.flags |= 1024), o.memoizedProps = c, o.memoizedState = le), w.props = c, w.state = le, w.context = _, c = H) : (typeof w.componentDidUpdate != "function" || b === r.memoizedProps && Y === r.memoizedState || (o.flags |= 4), typeof w.getSnapshotBeforeUpdate != "function" || b === r.memoizedProps && Y === r.memoizedState || (o.flags |= 1024), c = !1); } return om(r, o, l, c, g, h); } function om(r, o, l, c, h, g) { ZS(r, o); var w = (o.flags & 128) !== 0; if (!c && !w) return h && tS(o, l, !1), Br(r, o, g); c = o.stateNode, TP.current = o; var b = w && typeof l.getDerivedStateFromError != "function" ? null : c.render(); return o.flags |= 1, r !== null && w ? (o.child = ms(o, r.child, null, g), o.child = ms(o, null, b, g)) : un(r, o, b, g), o.memoizedState = c.state, h && tS(o, l, !0), o.child; } function JS(r) { var o = r.stateNode; o.pendingContext ? Qw(r, o.pendingContext, o.pendingContext !== o.context) : o.context && Qw(r, o.context, !1), Vp(r, o.containerInfo); } function QS(r, o, l, c, h) { return fs(), Dp(h), o.flags |= 256, un(r, o, l, c), o.child; } var sm = { dehydrated: null, treeContext: null, retryLane: 0 }; function am(r) { return { baseLanes: r, cachePool: null, transitions: null }; } function eE(r, o, l) { var c = o.pendingProps, h = pt.current, g = !1, w = (o.flags & 128) !== 0, b; if ((b = w) || (b = r !== null && r.memoizedState === null ? !1 : (h & 2) !== 0), b ? (g = !0, o.flags &= -129) : (r === null || r.memoizedState !== null) && (h |= 1), rt(pt, h & 1), r === null) return Np(o), r = o.memoizedState, r !== null && (r = r.dehydrated, r !== null) ? (o.mode & 1 ? r.data === "$!" ? o.lanes = 8 : o.lanes = 1073741824 : o.lanes = 1, null) : (w = c.children, r = c.fallback, g ? (c = o.mode, g = o.child, w = { mode: "hidden", children: w }, !(c & 1) && g !== null ? (g.childLanes = 0, g.pendingProps = w) : g = Qc(w, c, 0, null), r = po(r, c, l, null), g.return = o, r.return = o, g.sibling = r, o.child = g, o.child.memoizedState = am(l), o.memoizedState = sm, r) : lm(o, w)); if (h = r.memoizedState, h !== null && (b = h.dehydrated, b !== null)) return OP(r, o, w, c, b, h, l); if (g) { g = c.fallback, w = o.mode, h = r.child, b = h.sibling; var _ = { mode: "hidden", children: c.children }; return !(w & 1) && o.child !== h ? (c = o.child, c.childLanes = 0, c.pendingProps = _, o.deletions = null) : (c = Ti(h, _), c.subtreeFlags = h.subtreeFlags & 14680064), b !== null ? g = Ti(b, g) : (g = po(g, w, l, null), g.flags |= 2), g.return = o, c.return = o, c.sibling = g, o.child = c, c = g, g = o.child, w = r.child.memoizedState, w = w === null ? am(l) : { baseLanes: w.baseLanes | l, cachePool: null, transitions: w.transitions }, g.memoizedState = w, g.childLanes = r.childLanes & ~l, o.memoizedState = sm, c; } return g = r.child, r = g.sibling, c = Ti(g, { mode: "visible", children: c.children }), !(o.mode & 1) && (c.lanes = l), c.return = o, c.sibling = null, r !== null && (l = o.deletions, l === null ? (o.deletions = [r], o.flags |= 16) : l.push(r)), o.child = c, o.memoizedState = null, c; } function lm(r, o) { return o = Qc({ mode: "visible", children: o }, r.mode, 0, null), o.return = r, r.child = o; } function Bc(r, o, l, c) { return c !== null && Dp(c), ms(o, r.child, null, l), r = lm(o, o.pendingProps.children), r.flags |= 2, o.memoizedState = null, r; } function OP(r, o, l, c, h, g, w) { if (l) return o.flags & 256 ? (o.flags &= -257, c = nm(Error(n(422))), Bc(r, o, w, c)) : o.memoizedState !== null ? (o.child = r.child, o.flags |= 128, null) : (g = c.fallback, h = o.mode, c = Qc({ mode: "visible", children: c.children }, h, 0, null), g = po(g, h, w, null), g.flags |= 2, c.return = o, g.return = o, c.sibling = g, o.child = c, o.mode & 1 && ms(o, r.child, null, w), o.child.memoizedState = am(w), o.memoizedState = sm, g); if (!(o.mode & 1)) return Bc(r, o, w, null); if (h.data === "$!") { if (c = h.nextSibling && h.nextSibling.dataset, c) var b = c.dgst; return c = b, g = Error(n(419)), c = nm(g, c, void 0), Bc(r, o, w, c); } if (b = (w & r.childLanes) !== 0, pn || b) { if (c = Bt, c !== null) { switch (w & -w) { case 4: h = 2; break; case 16: h = 8; break; case 64: case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: case 4194304: case 8388608: case 16777216: case 33554432: case 67108864: h = 32; break; case 536870912: h = 268435456; break; default: h = 0; } h = h & (c.suspendedLanes | w) ? 0 : h, h !== 0 && h !== g.retryLane && (g.retryLane = h, Fr(r, h), nr(c, r, h, -1)); } return Cm(), c = nm(Error(n(421))), Bc(r, o, w, c); } return h.data === "$?" ? (o.flags |= 128, o.child = r.child, o = HP.bind(null, r), h._reactRetry = o, null) : (r = g.treeContext, xn = pi(h.nextSibling), En = o, dt = !0, Jn = null, r !== null && (Pn[In++] = jr, Pn[In++] = Mr, Pn[In++] = io, jr = r.id, Mr = r.overflow, io = o), o = lm(o, c.children), o.flags |= 4096, o); } function tE(r, o, l) { r.lanes |= o; var c = r.alternate; c !== null && (c.lanes |= o), Hp(r.return, o, l); } function um(r, o, l, c, h) { var g = r.memoizedState; g === null ? r.memoizedState = { isBackwards: o, rendering: null, renderingStartTime: 0, last: c, tail: l, tailMode: h } : (g.isBackwards = o, g.rendering = null, g.renderingStartTime = 0, g.last = c, g.tail = l, g.tailMode = h); } function nE(r, o, l) { var c = o.pendingProps, h = c.revealOrder, g = c.tail; if (un(r, o, c.children, l), c = pt.current, c & 2) c = c & 1 | 2, o.flags |= 128; else { if (r !== null && r.flags & 128) e: for (r = o.child; r !== null; ) { if (r.tag === 13) r.memoizedState !== null && tE(r, l, o); else if (r.tag === 19) tE(r, l, o); else if (r.child !== null) { r.child.return = r, r = r.child; continue; } if (r === o) break e; for (; r.sibling === null; ) { if (r.return === null || r.return === o) break e; r = r.return; } r.sibling.return = r.return, r = r.sibling; } c &= 1; } if (rt(pt, c), !(o.mode & 1)) o.memoizedState = null; else switch (h) { case "forwards": for (l = o.child, h = null; l !== null; ) r = l.alternate, r !== null && Nc(r) === null && (h = l), l = l.sibling; l = h, l === null ? (h = o.child, o.child = null) : (h = l.sibling, l.sibling = null), um(o, !1, h, l, g); break; case "backwards": for (l = null, h = o.child, o.child = null; h !== null; ) { if (r = h.alternate, r !== null && Nc(r) === null) { o.child = h; break; } r = h.sibling, h.sibling = l, l = h, h = r; } um(o, !0, l, null, g); break; case "together": um(o, !1, null, null, void 0); break; default: o.memoizedState = null; } return o.child; } function Uc(r, o) { !(o.mode & 1) && r !== null && (r.alternate = null, o.alternate = null, o.flags |= 2); } function Br(r, o, l) { if (r !== null && (o.dependencies = r.dependencies), uo |= o.lanes, !(l & o.childLanes)) return null; if (r !== null && o.child !== r.child) throw Error(n(153)); if (o.child !== null) { for (r = o.child, l = Ti(r, r.pendingProps), o.child = l, l.return = o; r.sibling !== null; ) r = r.sibling, l = l.sibling = Ti(r, r.pendingProps), l.return = o; l.sibling = null; } return o.child; } function _P(r, o, l) { switch (o.tag) { case 3: JS(o), fs(); break; case 5: wS(o); break; case 1: hn(o.type) && bc(o); break; case 4: Vp(o, o.stateNode.containerInfo); break; case 10: var c = o.type._context, h = o.memoizedProps.value; rt(Rc, c._currentValue), c._currentValue = h; break; case 13: if (c = o.memoizedState, c !== null) return c.dehydrated !== null ? (rt(pt, pt.current & 1), o.flags |= 128, null) : l & o.child.childLanes ? eE(r, o, l) : (rt(pt, pt.current & 1), r = Br(r, o, l), r !== null ? r.sibling : null); rt(pt, pt.current & 1); break; case 19: if (c = (l & o.childLanes) !== 0, r.flags & 128) { if (c) return nE(r, o, l); o.flags |= 128; } if (h = o.memoizedState, h !== null && (h.rendering = null, h.tail = null, h.lastEffect = null), rt(pt, pt.current), c) break; return null; case 22: case 23: return o.lanes = 0, KS(r, o, l); } return Br(r, o, l); } var rE, cm, iE, oE; rE = function(r, o) { for (var l = o.child; l !== null; ) { if (l.tag === 5 || l.tag === 6) r.appendChild(l.stateNode); else if (l.tag !== 4 && l.child !== null) { l.child.return = l, l = l.child; continue; } if (l === o) break; for (; l.sibling === null; ) { if (l.return === null || l.return === o) return; l = l.return; } l.sibling.return = l.return, l = l.sibling; } }, cm = function() { }, iE = function(r, o, l, c) { var h = r.memoizedProps; if (h !== c) { r = o.stateNode, ao(vr.current); var g = null; switch (l) { case "input": h = Zi(r, h), c = Zi(r, c), g = []; break; case "select": h = T({}, h, { value: void 0 }), c = T({}, c, { value: void 0 }), g = []; break; case "textarea": h = kr(r, h), c = kr(r, c), g = []; break; default: typeof h.onClick != "function" && typeof c.onClick == "function" && (r.onclick = Sc); } ve(l, c); var w; l = null; for (H in h) if (!c.hasOwnProperty(H) && h.hasOwnProperty(H) && h[H] != null) if (H === "style") { var b = h[H]; for (w in b) b.hasOwnProperty(w) && (l || (l = {}), l[w] = ""); } else H !== "dangerouslySetInnerHTML" && H !== "children" && H !== "suppressContentEditableWarning" && H !== "suppressHydrationWarning" && H !== "autoFocus" && (s.hasOwnProperty(H) ? g || (g = []) : (g = g || []).push(H, null)); for (H in c) { var _ = c[H]; if (b = h != null ? h[H] : void 0, c.hasOwnProperty(H) && _ !== b && (_ != null || b != null)) if (H === "style") if (b) { for (w in b) !b.hasOwnProperty(w) || _ && _.hasOwnProperty(w) || (l || (l = {}), l[w] = ""); for (w in _) _.hasOwnProperty(w) && b[w] !== _[w] && (l || (l = {}), l[w] = _[w]); } else l || (g || (g = []), g.push( H, l )), l = _; else H === "dangerouslySetInnerHTML" ? (_ = _ ? _.__html : void 0, b = b ? b.__html : void 0, _ != null && b !== _ && (g = g || []).push(H, _)) : H === "children" ? typeof _ != "string" && typeof _ != "number" || (g = g || []).push(H, "" + _) : H !== "suppressContentEditableWarning" && H !== "suppressHydrationWarning" && (s.hasOwnProperty(H) ? (_ != null && H === "onScroll" && lt("scroll", r), g || b === _ || (g = [])) : (g = g || []).push(H, _)); } l && (g = g || []).push("style", l); var H = g; (o.updateQueue = H) && (o.flags |= 4); } }, oE = function(r, o, l, c) { l !== c && (o.flags |= 4); }; function Va(r, o) { if (!dt) switch (r.tailMode) { case "hidden": o = r.tail; for (var l = null; o !== null; ) o.alternate !== null && (l = o), o = o.sibling; l === null ? r.tail = null : l.sibling = null; break; case "collapsed": l = r.tail; for (var c = null; l !== null; ) l.alternate !== null && (c = l), l = l.sibling; c === null ? o || r.tail === null ? r.tail = null : r.tail.sibling = null : c.sibling = null; } } function Qt(r) { var o = r.alternate !== null && r.alternate.child === r.child, l = 0, c = 0; if (o) for (var h = r.child; h !== null; ) l |= h.lanes | h.childLanes, c |= h.subtreeFlags & 14680064, c |= h.flags & 14680064, h.return = r, h = h.sibling; else for (h = r.child; h !== null; ) l |= h.lanes | h.childLanes, c |= h.subtreeFlags, c |= h.flags, h.return = r, h = h.sibling; return r.subtreeFlags |= c, r.childLanes = l, o; } function RP(r, o, l) { var c = o.pendingProps; switch (Pp(o), o.tag) { case 2: case 16: case 15: case 0: case 11: case 7: case 8: case 12: case 9: case 14: return Qt(o), null; case 1: return hn(o.type) && xc(), Qt(o), null; case 3: return c = o.stateNode, gs(), ut(fn), ut(Xt), qp(), c.pendingContext && (c.context = c.pendingContext, c.pendingContext = null), (r === null || r.child === null) && (_c(o) ? o.flags |= 4 : r === null || r.memoizedState.isDehydrated && !(o.flags & 256) || (o.flags |= 1024, Jn !== null && (Em(Jn), Jn = null))), cm(r, o), Qt(o), null; case 5: Wp(o); var h = ao(Ha.current); if (l = o.type, r !== null && o.stateNode != null) iE(r, o, l, c, h), r.ref !== o.ref && (o.flags |= 512, o.flags |= 2097152); else { if (!c) { if (o.stateNode === null) throw Error(n(166)); return Qt(o), null; } if (r = ao(vr.current), _c(o)) { c = o.stateNode, l = o.type; var g = o.memoizedProps; switch (c[gr] = o, c[Na] = g, r = (o.mode & 1) !== 0, l) { case "dialog": lt("cancel", c), lt("close", c); break; case "iframe": case "object": case "embed": lt("load", c); break; case "video": case "audio": for (h = 0; h < ka.length; h++) lt(ka[h], c); break; case "source": lt("error", c); break; case "img": case "image": case "link": lt( "error", c ), lt("load", c); break; case "details": lt("toggle", c); break; case "input": Yn(c, g), lt("invalid", c); break; case "select": c._wrapperState = { wasMultiple: !!g.multiple }, lt("invalid", c); break; case "textarea": Xi(c, g), lt("invalid", c); } ve(l, g), h = null; for (var w in g) if (g.hasOwnProperty(w)) { var b = g[w]; w === "children" ? typeof b == "string" ? c.textContent !== b && (g.suppressHydrationWarning !== !0 && wc(c.textContent, b, r), h = ["children", b]) : typeof b == "number" && c.textContent !== "" + b && (g.suppressHydrationWarning !== !0 && wc( c.textContent, b, r ), h = ["children", "" + b]) : s.hasOwnProperty(w) && b != null && w === "onScroll" && lt("scroll", c); } switch (l) { case "input": Rn(c), Ar(c, g, !0); break; case "textarea": Rn(c), on(c); break; case "select": case "option": break; default: typeof g.onClick == "function" && (c.onclick = Sc); } c = h, o.updateQueue = c, c !== null && (o.flags |= 4); } else { w = h.nodeType === 9 ? h : h.ownerDocument, r === "http://www.w3.org/1999/xhtml" && (r = ht(l)), r === "http://www.w3.org/1999/xhtml" ? l === "script" ? (r = w.createElement("div"), r.innerHTML = "