(function(){"use strict";try{if(typeof document<"u"){var d=document.createElement("style");d.appendChild(document.createTextNode(':root{--ddfkc70: #D8446E;--ddfkc71: #0050C3;--ddfkc72: #00409C;--ddfkc73: #003889;--ddfkc74: #002861;--ddfkc75: #000814;--ddfkc76: #F2F6FC;--ddfkc77: #FFFFFF;--ddfkc78: #F6F6F6;--ddfkc79: #E7E7E7;--ddfkc7a: #D1D1D1;--ddfkc7b: #B0B0B0;--ddfkc7c: #888888;--ddfkc7d: #777777;--ddfkc7e: #5D5D5D;--ddfkc7f: #343537;--ddfkc7g: #0A0A0A;--ddfkc7h: #6D6D6D;--ddfkc7i: #C80003;--ddfkc7j: #FEDEDE;--ddfkc7k: #530001;--ddfkc7l: #00C87B;--ddfkc7m: #FFFFFF;--ddfkc7n: currentcolor;--ddfkc7o: rgba(48, 49, 48, .42);--ddfkc7p: 16px;--ddfkc7q: 12px;--ddfkc7r: 16px;--ddfkc7s: 14px;--ddfkc7t: 10px;--ddfkc7u: 12px;--ddfkc7v: 4px;--ddfkc7w: 6px;--ddfkc7x: 8px;--ddfkc7y: 12px;--ddfkc7z: 16px;--ddfkc710: 18px;--ddfkc711: 24px;--ddfkc712: 32px;--ddfkc713: unset;--ddfkc714: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;--ddfkc715: 400;--ddfkc716: 500;--ddfkc717: 700;--ddfkc718: 600;--ddfkc719: 340px;--ddfkc71a: 190px}.ddfkc71b{font-size:var(--ddfkc7q);line-height:var(--ddfkc7r)}.ddfkc71c{color:var(--ddfkc7e)}._6yc1l50{background:var(--ddfkc7m);color:var(--ddfkc7g);font-family:var(--ddfkc714)}[data-rsbs-overlay]{border-top-right-radius:var(--ddfkc7z);border-top-left-radius:var(--ddfkc7z)}._6yc1l50 [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(--ddfkc7o)!important}._13ugewk0{padding:var(--ddfkc7v)}._13ugewk1{padding:var(--ddfkc7w)}._13ugewk2{padding:var(--ddfkc710)}._13ugewk3{padding:var(--ddfkc7x)}._13ugewk4{padding:var(--ddfkc7y)}._13ugewk5{padding:var(--ddfkc7z)}._13ugewk6{padding:var(--ddfkc711)}._13ugewk7{padding:var(--ddfkc712)}._13ugewk8{padding-top:var(--ddfkc7v)}._13ugewk9{padding-top:var(--ddfkc7w)}._13ugewka{padding-top:var(--ddfkc710)}._13ugewkb{padding-top:var(--ddfkc7x)}._13ugewkc{padding-top:var(--ddfkc7y)}._13ugewkd{padding-top:var(--ddfkc7z)}._13ugewke{padding-top:var(--ddfkc711)}._13ugewkf{padding-top:var(--ddfkc712)}._13ugewkg{padding-right:var(--ddfkc7v)}._13ugewkh{padding-right:var(--ddfkc7w)}._13ugewki{padding-right:var(--ddfkc710)}._13ugewkj{padding-right:var(--ddfkc7x)}._13ugewkk{padding-right:var(--ddfkc7y)}._13ugewkl{padding-right:var(--ddfkc7z)}._13ugewkm{padding-right:var(--ddfkc711)}._13ugewkn{padding-right:var(--ddfkc712)}._13ugewko{padding-top:var(--ddfkc7v);padding-bottom:var(--ddfkc7v)}._13ugewkp{padding-top:var(--ddfkc7w);padding-bottom:var(--ddfkc7w)}._13ugewkq{padding-top:var(--ddfkc710);padding-bottom:var(--ddfkc710)}._13ugewkr{padding-top:var(--ddfkc7x);padding-bottom:var(--ddfkc7x)}._13ugewks{padding-top:var(--ddfkc7y);padding-bottom:var(--ddfkc7y)}._13ugewkt{padding-top:var(--ddfkc7z);padding-bottom:var(--ddfkc7z)}._13ugewku{padding-top:var(--ddfkc711);padding-bottom:var(--ddfkc711)}._13ugewkv{padding-top:var(--ddfkc712);padding-bottom:var(--ddfkc712)}._13ugewkw{padding-left:var(--ddfkc7v);padding-right:var(--ddfkc7v)}._13ugewkx{padding-left:var(--ddfkc7w);padding-right:var(--ddfkc7w)}._13ugewky{padding-left:var(--ddfkc710);padding-right:var(--ddfkc710)}._13ugewkz{padding-left:var(--ddfkc7x);padding-right:var(--ddfkc7x)}._13ugewk10{padding-left:var(--ddfkc7y);padding-right:var(--ddfkc7y)}._13ugewk11{padding-left:var(--ddfkc7z);padding-right:var(--ddfkc7z)}._13ugewk12{padding-left:var(--ddfkc711);padding-right:var(--ddfkc711)}._13ugewk13{padding-left:var(--ddfkc712);padding-right:var(--ddfkc712)}._13ugewk14{padding-bottom:var(--ddfkc7v)}._13ugewk15{padding-bottom:var(--ddfkc7w)}._13ugewk16{padding-bottom:var(--ddfkc710)}._13ugewk17{padding-bottom:var(--ddfkc7x)}._13ugewk18{padding-bottom:var(--ddfkc7y)}._13ugewk19{padding-bottom:var(--ddfkc7z)}._13ugewk1a{padding-bottom:var(--ddfkc711)}._13ugewk1b{padding-bottom:var(--ddfkc712)}._1fwgj7z0{border-top:.25px solid var(--ddfkc7a);width:100%}._1rkhbq0{display:flex;flex-direction:column}._1rkhbq1{display:flex;flex-direction:row}._1rkhbq2{display:flex;flex-direction:row;width:100%}._1rkhbq3{gap:var(--ddfkc7w)}._1m6m3o80{display:flex!important;justify-content:center;padding:0;opacity:1;height:100vh!important}._1m6m3o81{margin-top:var(--ddfkc7x)}._1m6m3o82{display:flex;flex-wrap:nowrap;justify-content:center;margin:0 auto;max-width:350px;gap:6px}#successPageOtpInput ._1m6m3o82{max-width:315px}._1m6m3o83{border-radius:5px;margin:14px auto 0;max-width:350px}._1m6m3o84{background:var(--ddfkc7i);color:var(--ddfkc7m);border-radius:5px;padding:7px 0;font-size:var(--ddfkc7q);line-height:var(--ddfkc7r);display:inline-flex;justify-content:center;width:100%}._1m6m3o85{height:40px!important;width:40px!important}._1m6m3o86{color:var(--ddfkc7f)!important;margin-top:8px;font-size:var(--ddfkc7p);font-weight:500}._1m6m3o87{font-size:var(--ddfkc7q);line-height:var(--ddfkc7r);color:var(--ddfkc7n);letter-spacing:-.1px}._1m6m3o88{line-height:14px}._1m6m3o89{display:inline-block;margin:0;color:var(--ddfkc7n);text-decoration-color:var(--ddfkc7n);text-decoration:underline;cursor:pointer;background:none;border:none;padding:0;font-size:var(--ddfkc7q);line-height:var(--ddfkc7r)}#modalAppWallet ._1m6m3o89,#bottomSheetAppWallet ._1m6m3o89{text-decoration:none;color:var(--ddfkc71)}#successPageOtpInput ._1m6m3o89{margin-left:0}._1m6m3o8a{color:var(--ddfkc7e)!important}._1m6m3o8b{color:var(--ddfkc71)!important}._1m6m3o8c{font-size:var(--ddfkc7q);line-height:var(--ddfkc7r);color:var(--ddfkc7n)!important}._1m6m3o8d{display:flex!important}._1m6m3o8e{display:flex;flex-grow:1;align-items:center;margin:0;font-size:var(--ddfkc7q);line-height:1.5}._1m6m3o8f{width:calc(96% - 44px);font-weight:400}._1m6m3o8g{width:calc(96% - 60px);font-weight:400}._1m6m3o8h{overflow:hidden;text-overflow:ellipsis}._1m6m3o8i{font-weight:500;color:var(--ddfkc7f)}._1m6m3o8j{min-height:20px;width:100%}._1m6m3o8k{width:100%;display:flex;flex-wrap:nowrap;align-items:center;justify-content:center}#successPageOtpInput ._1m6m3o8k{justify-content:flex-start}._1m6m3o8l{display:flex;justify-content:center;min-height:20px;gap:5px;align-items:center;white-space:nowrap;background:none;border:none}._1m6m3o8m{display:block;font-size:var(--ddfkc7q);line-height:var(--ddfkc7r);color:var(--ddfkc7n)!important;text-align:center;min-height:20px;width:100%}#successPageOtpInput ._1m6m3o8m{text-align:left}._1m6m3o8n{align-items:flex-start;margin-right:10px;width:24px;height:24px;border:.25px solid var(--ddfkc7b);background-color:var(--ddfkc78);fill:var(--ddfkc7f);color:var(--ddfkc77);display:flex;place-items:center;border-radius:50%;flex-grow:0;font-size:18px;font-weight:700;padding:5px;gap:8px;text-transform:uppercase}._1m6m3o8o{position:relative;display:flex;justify-content:space-between;align-items:center;fill:var(--ddfkc7e);color:var(--ddfkc7e);font-size:11px}._1m6m3o8o .wallet-logo{height:13px;width:auto}._1m6m3o8p{display:block;margin-top:25px;font-family:Open Sans,sans-serif!important;font-size:10px;opacity:.5;color:var(--ddfkc7f)}._1m6m3o8q{width:100%}._1m6m3o8r{display:none;flex-direction:column;justify-content:center;width:100%}._1m6m3o8s{font-size:var(--ddfkc7q);line-height:var(--ddfkc7r);width:100%;color:var(--ddfkc71);font-weight:var(--ddfkc716);padding-top:var(--ddfkc7z);align-items:center;justify-content:center}._1m6m3o8p>a{text-decoration:underline;color:var(--ddfkc7f)}._1m6m3o8t{color:var(--ddfkc7e);letter-spacing:-.1px;font-size:var(--ddfkc7q);line-height:14px;font-weight:400;margin-bottom:0}@media screen and (min-width: 768px){#successPageOtpInput ._1m6m3o82{max-width:unset;gap:4px}}@media screen and (max-width: 576px){._1m6m3o89{width:auto}}.l4h1g60{display:flex;justify-content:center;align-items:center;height:100%;padding:4px;background:var(--ddfkc78);border-radius:100%}.l4h1g61{padding:var(--ddfkc7v)}.l4h1g62{padding:var(--ddfkc7x)}.l4h1g63{border:1px solid var(--ddfkc79)}.qhoiy91{color:var(--qhoiy90)}.qhoiy92{display:flex;justify-content:flex-start;align-items:flex-end;gap:2px}._12p5can0{width:auto}._12p5can1{fill:#fff}._12p5can2{fill:var(--ddfkc71)}._12p5can3{min-width:unset}._12p5can4{min-width:20px}._12p5can5{min-width:unset}._12p5can6{max-width:unset}._12p5can7{max-width:36px}._12p5can8{max-width:unset}._184x63l0{display:flex;position:relative;justify-content:center;align-items:center;cursor:pointer;transition:background .35s cubic-bezier(.19,1,.22,1)}._184x63l0:hover,._184x63l0:focus{filter:brightness(90%)}._184x63l0:active{filter:brightness(85%)}._184x63l1{background:none;padding:5px 0;font-weight:400;min-height:auto;text-decoration:underline;text-transform:none}._184x63l2{font-family:var(--ddfkc714);font-size:14px;min-height:48px;color:var(--ddfkc77)!important;background-color:var(--ddfkc71)!important}._184x63l2:hover,._184x63l2:focus{background-color:var(--ddfkc72)}._184x63l2:active{background-color:var(--ddfkc73)}._184x63l3{padding:8px 24px;border-radius:6px}._184x63l4{font-weight:400!important;border-color:var(--ddfkc71)!important;box-shadow:none!important;letter-spacing:normal!important}._184x63l6{padding:8px 16px;border:1px solid var(--ddfkc7b);background:#fff;border-radius:8px}._184x63l7{padding:20px;margin:-20px}._184x63l8{cursor:pointer}._184x63l9{padding:var(--ddfkc710)}._184x63la{opacity:0}._184x63lb{color:var(--ddfkc71)}._184x63lc{color:var(--ddfkc7c);font-size:12px}._184x63ld{padding:0;background:none;border:none;color:inherit;margin:0;display:inline;cursor:pointer}._184x63l4 span{text-transform:none!important;font-size:14px}._184x63l4 .spinner-elem{background-color:var(--ddfkc7n)!important}._184x63le,._184x63lf{width:100%}._184x63lg{border-radius:8px}@media screen and (min-width: 768px){._184x63lf{width:fit-content}}._1vnjgu00{font-family:var(--ddfkc713)}._1vnjgu01{font-family:var(--ddfkc714)}._1vnjgu02{font-size:var(--ddfkc7s);font-weight:700;color:var(--ddfkc7g)}._1vnjgu03{font-size:var(--ddfkc7p);font-weight:700}._1vnjgu04{font-size:var(--ddfkc7s);font-weight:500;color:var(--ddfkc7f)}._1vnjgu05{font-size:var(--ddfkc7s);font-weight:500;color:var(--ddfkc75)}._1vnjgu06{font-size:var(--ddfkc7q);line-height:var(--ddfkc7r);font-weight:500;color:var(--ddfkc7f)}._1vnjgu07{color:var(--ddfkc75);font-size:var(--ddfkc7q);line-height:var(--ddfkc7r)}._1vnjgu08{font-size:var(--ddfkc7q);line-height:var(--ddfkc7r)}._1vnjgu09{color:var(--ddfkc7n)}._1vnjgu0a{font-weight:700;color:var(--ddfkc7g)}._1vnjgu0b{font-size:var(--ddfkc7q);line-height:var(--ddfkc7r);color:var(--ddfkc7f);opacity:.72}._1vnjgu0c{font-size:var(--ddfkc7q);line-height:var(--ddfkc7r);color:var(--ddfkc71);font-weight:700}._1vnjgu0d{font-size:var(--ddfkc7s);color:var(--ddfkc71)}._1vnjgu0e{font-size:var(--ddfkc7q);line-height:var(--ddfkc7r);color:var(--ddfkc7e)}._1vnjgu0f{width:100%}._1vnjgu0g{font-weight:var(--ddfkc715)}._1vnjgu0h{font-weight:var(--ddfkc716)}._1vnjgu0i{font-weight:var(--ddfkc717)}._1vnjgu0j{font-weight:var(--ddfkc718)}._1vnjgu0k{font-size:var(--ddfkc7q);line-height:var(--ddfkc7r)}._1vnjgu0l{font-size:var(--ddfkc7s)}._1vnjgu0m{font-size:var(--ddfkc7t);line-height:var(--ddfkc7u)}._1vnjgu0n{font-size:var(--ddfkc7p)}._1vnjgu0o{text-overflow:ellipsis;overflow:hidden}._1vnjgu0p{text-decoration:underline}._1vnjgu0q{text-align:center}.iyzs4q0{border-radius:6px;border-color:var(--ddfkc79)}.iyzs4q0:focus{border-color:var(--ddfkc71)}.iyzs4q1{text-align:center;font-weight:700;font-size:16px;border:1px solid var(--ddfkc7a);border-radius:8px;outline:none}.iyzs4q2{display:flex;width:100%;height:100%;justify-content:space-evenly;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#fff!important}._1lcl4pj1{margin-top:var(--_1lcl4pj0)}@media screen and (max-width: 576px){._1lcl4pj2{margin-top:var(--_1lcl4pj0)}}._1dsvj950{bottom:0;left:0;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;z-index:9999}._1dsvj951{display:flex;justify-content:center;align-items:center;height:100%;width:100%;padding:0;font-family:var(--ddfkc714)}._1dsvj952{width:100%;height:100%}._1dsvj952:focus{outline:none!important}._1dsvj952:focus-within{outline:none!important}._1dsvj953{width:var(--ddfkc719);max-height:var(--ddfkc71a);padding:12px}._1dsvj954{width:var(--ddfkc719);padding:12px}._1dsvj955{background-color:var(--ddfkc7m)!important;color:var(--ddfkc7g);border-radius:5px;box-shadow:0 9px 9px #0000001a;position:relative;z-index:999}._1dsvj955 a{color:var(--ddfkc71)}._1dsvj955 *{font-family:var(--ddfkc714);text-transform:none}._11stu8x0{background-color:var(--ddfkc7o);height:100%;position:fixed;width:100%;z-index:22;top:0;left:0}._11stu8x1{height:100%}._11stu8x2{height:190px}._11stu8x3{background:linear-gradient(#0003,90%,#0000)}@keyframes ik6upn0{0%{opacity:0}to{opacity:1}}@keyframes ik6upn1{0%{transform:translate(0) scaleX(0)}40%{transform:translate(0) scaleX(.5)}to{transform:translate(100%) scaleX(.5)}}@keyframes ik6upn2{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes ik6upn3{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}.ik6upn4{animation:ik6upn0 .5s}.ik6upn5{animation:ik6upn0 .3s}.ik6upn6{animation:ik6upn1 1.5s infinite linear}.ik6upn7{animation:ik6upn2 .5s ease-in-out}.ik6upn8{animation:ik6upn3 .5s ease-in-out}[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(d)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})(); var $R = {}; (function(UR) { function hp(t, e) { return function() { return t.apply(e, arguments); }; } const { toString: Bw } = Object.prototype, { getPrototypeOf: pc } = Object, ha = /* @__PURE__ */ ((t) => (e) => { const n = Bw.call(e); return t[n] || (t[n] = n.slice(8, -1).toLowerCase()); })(/* @__PURE__ */ Object.create(null)), Tn = (t) => (t = t.toLowerCase(), (e) => ha(e) === t), pa = (t) => (e) => typeof e === t, { isArray: ji } = Array, Mo = pa("undefined"); function Hw(t) { return t !== null && !Mo(t) && t.constructor !== null && !Mo(t.constructor) && on(t.constructor.isBuffer) && t.constructor.isBuffer(t); } const pp = Tn("ArrayBuffer"); function Vw(t) { let e; return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && pp(t.buffer), e; } const Ww = pa("string"), on = pa("function"), gp = pa("number"), ga = (t) => t !== null && typeof t == "object", qw = (t) => t === !0 || t === !1, ma = (t) => { if (ha(t) !== "object") return !1; const e = pc(t); return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t); }, Kw = Tn("Date"), Gw = Tn("File"), Yw = Tn("Blob"), Zw = Tn("FileList"), Qw = (t) => ga(t) && on(t.pipe), Xw = (t) => { let e; return t && (typeof FormData == "function" && t instanceof FormData || on(t.append) && ((e = ha(t)) === "formdata" || // detect form-data instance e === "object" && on(t.toString) && t.toString() === "[object FormData]")); }, Jw = Tn("URLSearchParams"), [eS, tS, nS, rS] = ["ReadableStream", "Request", "Response", "Headers"].map(Tn), iS = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""); function Fo(t, e, { allOwnKeys: n = !1 } = {}) { if (t === null || typeof t > "u") return; let i, s; if (typeof t != "object" && (t = [t]), ji(t)) for (i = 0, s = t.length; i < s; i++) e.call(null, t[i], i, t); else { const l = n ? Object.getOwnPropertyNames(t) : Object.keys(t), u = l.length; let d; for (i = 0; i < u; i++) d = l[i], e.call(null, t[d], d, t); } } function mp(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 ei = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, vp = (t) => !Mo(t) && t !== ei; function gc() { const { caseless: t } = vp(this) && this || {}, e = {}, n = (i, s) => { const l = t && mp(e, s) || s; ma(e[l]) && ma(i) ? e[l] = gc(e[l], i) : ma(i) ? e[l] = gc({}, i) : ji(i) ? e[l] = i.slice() : e[l] = i; }; for (let i = 0, s = arguments.length; i < s; i++) arguments[i] && Fo(arguments[i], n); return e; } const oS = (t, e, n, { allOwnKeys: i } = {}) => (Fo(e, (s, l) => { n && on(s) ? t[l] = hp(s, n) : t[l] = s; }, { allOwnKeys: i }), t), sS = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), aS = (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); }, lS = (t, e, n, i) => { let s, l, u; const d = {}; if (e = e || {}, t == null) return e; do { for (s = Object.getOwnPropertyNames(t), l = s.length; l-- > 0; ) u = s[l], (!i || i(u, t, e)) && !d[u] && (e[u] = t[u], d[u] = !0); t = n !== !1 && pc(t); } while (t && (!n || n(t, e)) && t !== Object.prototype); return e; }, uS = (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; }, cS = (t) => { if (!t) return null; if (ji(t)) return t; let e = t.length; if (!gp(e)) return null; const n = new Array(e); for (; e-- > 0; ) n[e] = t[e]; return n; }, dS = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && pc(Uint8Array)), fS = (t, e) => { const i = (t && t[Symbol.iterator]).call(t); let s; for (; (s = i.next()) && !s.done; ) { const l = s.value; e.call(t, l[0], l[1]); } }, hS = (t, e) => { let n; const i = []; for (; (n = t.exec(e)) !== null; ) i.push(n); return i; }, pS = Tn("HTMLFormElement"), gS = (t) => t.toLowerCase().replace( /[-_\s]([a-z\d])(\w*)/g, function(n, i, s) { return i.toUpperCase() + s; } ), yp = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), mS = Tn("RegExp"), wp = (t, e) => { const n = Object.getOwnPropertyDescriptors(t), i = {}; Fo(n, (s, l) => { let u; (u = e(s, l, t)) !== !1 && (i[l] = u || s); }), Object.defineProperties(t, i); }, vS = (t) => { wp(t, (e, n) => { if (on(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1) return !1; const i = t[n]; if (on(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 + "'"); }); } }); }, yS = (t, e) => { const n = {}, i = (s) => { s.forEach((l) => { n[l] = !0; }); }; return ji(t) ? i(t) : i(String(t).split(e)), n; }, wS = () => { }, SS = (t, e) => t != null && Number.isFinite(t = +t) ? t : e; function ES(t) { return !!(t && on(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]); } const xS = (t) => { const e = new Array(10), n = (i, s) => { if (ga(i)) { if (e.indexOf(i) >= 0) return; if (!("toJSON" in i)) { e[s] = i; const l = ji(i) ? [] : {}; return Fo(i, (u, d) => { const h = n(u, s + 1); !Mo(h) && (l[d] = h); }), e[s] = void 0, l; } } return i; }; return n(t, 0); }, CS = Tn("AsyncFunction"), bS = (t) => t && (ga(t) || on(t)) && on(t.then) && on(t.catch), Sp = ((t, e) => t ? setImmediate : e ? ((n, i) => (ei.addEventListener("message", ({ source: s, data: l }) => { s === ei && l === n && i.length && i.shift()(); }, !1), (s) => { i.push(s), ei.postMessage(n, "*"); }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))( typeof setImmediate == "function", on(ei.postMessage) ), TS = typeof queueMicrotask < "u" ? queueMicrotask.bind(ei) : typeof process < "u" && process.nextTick || Sp, z = { isArray: ji, isArrayBuffer: pp, isBuffer: Hw, isFormData: Xw, isArrayBufferView: Vw, isString: Ww, isNumber: gp, isBoolean: qw, isObject: ga, isPlainObject: ma, isReadableStream: eS, isRequest: tS, isResponse: nS, isHeaders: rS, isUndefined: Mo, isDate: Kw, isFile: Gw, isBlob: Yw, isRegExp: mS, isFunction: on, isStream: Qw, isURLSearchParams: Jw, isTypedArray: dS, isFileList: Zw, forEach: Fo, merge: gc, extend: oS, trim: iS, stripBOM: sS, inherits: aS, toFlatObject: lS, kindOf: ha, kindOfTest: Tn, endsWith: uS, toArray: cS, forEachEntry: fS, matchAll: hS, isHTMLForm: pS, hasOwnProperty: yp, hasOwnProp: yp, // an alias to avoid ESLint no-prototype-builtins detection reduceDescriptors: wp, freezeMethods: vS, toObjectSet: yS, toCamelCase: gS, noop: wS, toFiniteNumber: SS, findKey: mp, global: ei, isContextDefined: vp, isSpecCompliantForm: ES, toJSONObject: xS, isAsyncFn: CS, isThenable: bS, setImmediate: Sp, asap: TS }; function Ce(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(Ce, 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 Ep = Ce.prototype, xp = {}; [ "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) => { xp[t] = { value: t }; }), Object.defineProperties(Ce, xp), Object.defineProperty(Ep, "isAxiosError", { value: !0 }), Ce.from = (t, e, n, i, s, l) => { const u = Object.create(Ep); return z.toFlatObject(t, u, function(h) { return h !== Error.prototype; }, (d) => d !== "isAxiosError"), Ce.call(u, t.message, e, n, i, s), u.cause = t, u.name = t.name, l && Object.assign(u, l), u; }; const OS = null; function mc(t) { return z.isPlainObject(t) || z.isArray(t); } function Cp(t) { return z.endsWith(t, "[]") ? t.slice(0, -2) : t; } function bp(t, e, n) { return t ? t.concat(e).map(function(s, l) { return s = Cp(s), !n && l ? "[" + s + "]" : s; }).join(n ? "." : "") : e; } function RS(t) { return z.isArray(t) && !t.some(mc); } const PS = z.toFlatObject(z, {}, null, function(e) { return /^is[A-Z]/.test(e); }); function va(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(C, T) { return !z.isUndefined(T[C]); }); const i = n.metaTokens, s = n.visitor || m, l = n.dots, u = n.indexes, h = (n.Blob || typeof Blob < "u" && Blob) && z.isSpecCompliantForm(e); if (!z.isFunction(s)) throw new TypeError("visitor must be a function"); function p(E) { if (E === null) return ""; if (z.isDate(E)) return E.toISOString(); if (!h && z.isBlob(E)) throw new Ce("Blob is not supported. Use a Buffer instead."); return z.isArrayBuffer(E) || z.isTypedArray(E) ? h && typeof Blob == "function" ? new Blob([E]) : Buffer.from(E) : E; } function m(E, C, T) { let D = E; if (E && !T && typeof E == "object") { if (z.endsWith(C, "{}")) C = i ? C : C.slice(0, -2), E = JSON.stringify(E); else if (z.isArray(E) && RS(E) || (z.isFileList(E) || z.endsWith(C, "[]")) && (D = z.toArray(E))) return C = Cp(C), D.forEach(function(N, B) { !(z.isUndefined(N) || N === null) && e.append( // eslint-disable-next-line no-nested-ternary u === !0 ? bp([C], B, l) : u === null ? C : C + "[]", p(N) ); }), !1; } return mc(E) ? !0 : (e.append(bp(T, C, l), p(E)), !1); } const v = [], w = Object.assign(PS, { defaultVisitor: m, convertValue: p, isVisitable: mc }); function S(E, C) { if (!z.isUndefined(E)) { if (v.indexOf(E) !== -1) throw Error("Circular reference detected in " + C.join(".")); v.push(E), z.forEach(E, function(D, L) { (!(z.isUndefined(D) || D === null) && s.call( e, D, z.isString(L) ? L.trim() : L, C, w )) === !0 && S(D, C ? C.concat(L) : [L]); }), v.pop(); } } if (!z.isObject(t)) throw new TypeError("data must be an object"); return S(t), e; } function Tp(t) { const e = { "!": "%21", "'": "%27", "(": "%28", ")": "%29", "~": "%7E", "%20": "+", "%00": "\0" }; return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g, function(i) { return e[i]; }); } function vc(t, e) { this._pairs = [], t && va(t, this, e); } const Op = vc.prototype; Op.append = function(e, n) { this._pairs.push([e, n]); }, Op.toString = function(e) { const n = e ? function(i) { return e.call(this, i, Tp); } : Tp; return this._pairs.map(function(s) { return n(s[0]) + "=" + n(s[1]); }, "").join("&"); }; function kS(t) { return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]"); } function Rp(t, e, n) { if (!e) return t; const i = n && n.encode || kS; z.isFunction(n) && (n = { serialize: n }); const s = n && n.serialize; let l; if (s ? l = s(e, n) : l = z.isURLSearchParams(e) ? e.toString() : new vc(e, n).toString(i), l) { const u = t.indexOf("#"); u !== -1 && (t = t.slice(0, u)), t += (t.indexOf("?") === -1 ? "?" : "&") + l; } return t; } class Pp { 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 kp = { silentJSONParsing: !0, forcedJSONParsing: !0, clarifyTimeoutError: !1 }, _S = { isBrowser: !0, classes: { URLSearchParams: typeof URLSearchParams < "u" ? URLSearchParams : vc, FormData: typeof FormData < "u" ? FormData : null, Blob: typeof Blob < "u" ? Blob : null }, protocols: ["http", "https", "file", "blob", "url", "data"] }, yc = typeof window < "u" && typeof document < "u", wc = typeof navigator == "object" && navigator || void 0, LS = yc && (!wc || ["ReactNative", "NativeScript", "NS"].indexOf(wc.product) < 0), NS = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef self instanceof WorkerGlobalScope && typeof self.importScripts == "function", AS = yc && window.location.href || "http://localhost", jt = { .../* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, hasBrowserEnv: yc, hasStandardBrowserEnv: LS, hasStandardBrowserWebWorkerEnv: NS, navigator: wc, origin: AS }, Symbol.toStringTag, { value: "Module" })), ..._S }; function IS(t, e) { return va(t, new jt.classes.URLSearchParams(), Object.assign({ visitor: function(n, i, s, l) { return jt.isNode && z.isBuffer(n) ? (this.append(i, n.toString("base64")), !1) : l.defaultVisitor.apply(this, arguments); } }, e)); } function DS(t) { return z.matchAll(/\w+|\[(\w*)]/g, t).map((e) => e[0] === "[]" ? "" : e[1] || e[0]); } function jS(t) { const e = {}, n = Object.keys(t); let i; const s = n.length; let l; for (i = 0; i < s; i++) l = n[i], e[l] = t[l]; return e; } function _p(t) { function e(n, i, s, l) { let u = n[l++]; if (u === "__proto__") return !0; const d = Number.isFinite(+u), h = l >= n.length; return u = !u && z.isArray(s) ? s.length : u, h ? (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], l) && z.isArray(s[u]) && (s[u] = jS(s[u])), !d); } if (z.isFormData(t) && z.isFunction(t.entries)) { const n = {}; return z.forEachEntry(t, (i, s) => { e(DS(i), s, n, 0); }), n; } return null; } function MS(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 Sc = { transitional: kp, adapter: ["xhr", "http", "fetch"], transformRequest: [function(e, n) { const i = n.getContentType() || "", s = i.indexOf("application/json") > -1, l = z.isObject(e); if (l && z.isHTMLForm(e) && (e = new FormData(e)), z.isFormData(e)) return s ? JSON.stringify(_p(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 (l) { if (i.indexOf("application/x-www-form-urlencoded") > -1) return IS(e, this.formSerializer).toString(); if ((d = z.isFileList(e)) || i.indexOf("multipart/form-data") > -1) { const h = this.env && this.env.FormData; return va( d ? { "files[]": e } : e, h && new h(), this.formSerializer ); } } return l || s ? (n.setContentType("application/json", !1), MS(e)) : e; }], transformResponse: [function(e) { const n = this.transitional || Sc.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" ? Ce.from(d, Ce.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: jt.classes.FormData, Blob: jt.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) => { Sc.headers[t] = {}; }); const Ec = Sc, FS = 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" ]), $S = (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] && FS[n]) && (n === "set-cookie" ? e[n] ? e[n].push(i) : e[n] = [i] : e[n] = e[n] ? e[n] + ", " + i : i); }), e; }, Lp = Symbol("internals"); function $o(t) { return t && String(t).trim().toLowerCase(); } function ya(t) { return t === !1 || t == null ? t : z.isArray(t) ? t.map(ya) : String(t); } function US(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 zS = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()); function xc(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 BS(t) { return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, n, i) => n.toUpperCase() + i); } function HS(t, e) { const n = z.toCamelCase(" " + e); ["get", "set", "has"].forEach((i) => { Object.defineProperty(t, i + n, { value: function(s, l, u) { return this[i].call(this, e, s, l, u); }, configurable: !0 }); }); } let wa = class { constructor(e) { e && this.set(e); } set(e, n, i) { const s = this; function l(d, h, p) { const m = $o(h); 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 || h] = ya(d)); } const u = (d, h) => z.forEach(d, (p, m) => l(p, m, h)); if (z.isPlainObject(e) || e instanceof this.constructor) u(e, n); else if (z.isString(e) && (e = e.trim()) && !zS(e)) u($S(e), n); else if (z.isHeaders(e)) for (const [d, h] of e.entries()) l(h, d, i); else e != null && l(n, e, i); return this; } get(e, n) { if (e = $o(e), e) { const i = z.findKey(this, e); if (i) { const s = this[i]; if (!n) return s; if (n === !0) return US(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 = $o(e), e) { const i = z.findKey(this, e); return !!(i && this[i] !== void 0 && (!n || xc(this, this[i], i, n))); } return !1; } delete(e, n) { const i = this; let s = !1; function l(u) { if (u = $o(u), u) { const d = z.findKey(i, u); d && (!n || xc(i, i[d], d, n)) && (delete i[d], s = !0); } } return z.isArray(e) ? e.forEach(l) : l(e), s; } clear(e) { const n = Object.keys(this); let i = n.length, s = !1; for (; i--; ) { const l = n[i]; (!e || xc(this, this[l], l, e, !0)) && (delete this[l], s = !0); } return s; } normalize(e) { const n = this, i = {}; return z.forEach(this, (s, l) => { const u = z.findKey(i, l); if (u) { n[u] = ya(s), delete n[l]; return; } const d = e ? BS(l) : String(l).trim(); d !== l && delete n[l], n[d] = ya(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[Lp] = this[Lp] = { accessors: {} }).accessors, s = this.prototype; function l(u) { const d = $o(u); i[d] || (HS(s, u), i[d] = !0); } return z.isArray(e) ? e.forEach(l) : l(e), this; } }; wa.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]), z.reduceDescriptors(wa.prototype, ({ value: t }, e) => { let n = e[0].toUpperCase() + e.slice(1); return { get: () => t, set(i) { this[n] = i; } }; }), z.freezeMethods(wa); const On = wa; function Cc(t, e) { const n = this || Ec, i = e || n, s = On.from(i.headers); let l = i.data; return z.forEach(t, function(d) { l = d.call(n, l, s.normalize(), e ? e.status : void 0); }), s.normalize(), l; } function Np(t) { return !!(t && t.__CANCEL__); } function Mi(t, e, n) { Ce.call(this, t ?? "canceled", Ce.ERR_CANCELED, e, n), this.name = "CanceledError"; } z.inherits(Mi, Ce, { __CANCEL__: !0 }); function Ap(t, e, n) { const i = n.config.validateStatus; !n.status || !i || i(n.status) ? t(n) : e(new Ce( "Request failed with status code " + n.status, [Ce.ERR_BAD_REQUEST, Ce.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4], n.config, n.request, n )); } function VS(t) { const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t); return e && e[1] || ""; } function WS(t, e) { t = t || 10; const n = new Array(t), i = new Array(t); let s = 0, l = 0, u; return e = e !== void 0 ? e : 1e3, function(h) { const p = Date.now(), m = i[l]; u || (u = p), n[s] = h, i[s] = p; let v = l, w = 0; for (; v !== s; ) w += n[v++], v = v % t; if (s = (s + 1) % t, s === l && (l = (l + 1) % t), p - u < e) return; const S = m && p - m; return S ? Math.round(w * 1e3 / S) : void 0; }; } function qS(t, e) { let n = 0, i = 1e3 / e, s, l; const u = (p, m = Date.now()) => { n = m, s = null, l && (clearTimeout(l), l = null), t.apply(null, p); }; return [(...p) => { const m = Date.now(), v = m - n; v >= i ? u(p, m) : (s = p, l || (l = setTimeout(() => { l = null, u(s); }, i - v))); }, () => s && u(s)]; } const Sa = (t, e, n = 3) => { let i = 0; const s = WS(50, 250); return qS((l) => { const u = l.loaded, d = l.lengthComputable ? l.total : void 0, h = u - i, p = s(h), m = u <= d; i = u; const v = { loaded: u, total: d, progress: d ? u / d : void 0, bytes: h, rate: p || void 0, estimated: p && d && m ? (d - u) / p : void 0, event: l, lengthComputable: d != null, [e ? "download" : "upload"]: !0 }; t(v); }, n); }, Ip = (t, e) => { const n = t != null; return [(i) => e[0]({ lengthComputable: n, total: t, loaded: i }), e[1]]; }, Dp = (t) => (...e) => z.asap(() => t(...e)), KS = jt.hasStandardBrowserEnv ? /* @__PURE__ */ ((t, e) => (n) => (n = new URL(n, jt.origin), t.protocol === n.protocol && t.host === n.host && (e || t.port === n.port)))( new URL(jt.origin), jt.navigator && /(msie|trident)/i.test(jt.navigator.userAgent) ) : () => !0, GS = jt.hasStandardBrowserEnv ? ( // Standard browser envs support document.cookie { write(t, e, n, i, s, l) { 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), l === !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 YS(t) { return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t); } function ZS(t, e) { return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t; } function jp(t, e, n) { let i = !YS(e); return t && i || n == !1 ? ZS(t, e) : e; } const Mp = (t) => t instanceof On ? { ...t } : t; function ti(t, e) { e = e || {}; const n = {}; function i(p, m, v, w) { return z.isPlainObject(p) && z.isPlainObject(m) ? z.merge.call({ caseless: w }, p, m) : z.isPlainObject(m) ? z.merge({}, m) : z.isArray(m) ? m.slice() : m; } function s(p, m, v, w) { if (z.isUndefined(m)) { if (!z.isUndefined(p)) return i(void 0, p, v, w); } else return i(p, m, v, w); } function l(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 h = { url: l, method: l, data: l, 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(Mp(p), Mp(m), v, !0) }; return z.forEach(Object.keys(Object.assign({}, t, e)), function(m) { const v = h[m] || s, w = v(t[m], e[m], m); z.isUndefined(w) && v !== d || (n[m] = w); }), n; } const Fp = (t) => { const e = ti({}, t); let { data: n, withXSRFToken: i, xsrfHeaderName: s, xsrfCookieName: l, headers: u, auth: d } = e; e.headers = u = On.from(u), e.url = Rp(jp(e.baseURL, e.url), t.params, t.paramsSerializer), d && u.set( "Authorization", "Basic " + btoa((d.username || "") + ":" + (d.password ? unescape(encodeURIComponent(d.password)) : "")) ); let h; if (z.isFormData(n)) { if (jt.hasStandardBrowserEnv || jt.hasStandardBrowserWebWorkerEnv) u.setContentType(void 0); else if ((h = u.getContentType()) !== !1) { const [p, ...m] = h ? h.split(";").map((v) => v.trim()).filter(Boolean) : []; u.setContentType([p || "multipart/form-data", ...m].join("; ")); } } if (jt.hasStandardBrowserEnv && (i && z.isFunction(i) && (i = i(e)), i || i !== !1 && KS(e.url))) { const p = s && l && GS.read(l); p && u.set(s, p); } return e; }, QS = typeof XMLHttpRequest < "u" && function(t) { return new Promise(function(n, i) { const s = Fp(t); let l = s.data; const u = On.from(s.headers).normalize(); let { responseType: d, onUploadProgress: h, onDownloadProgress: p } = s, m, v, w, S, E; function C() { S && S(), E && E(), s.cancelToken && s.cancelToken.unsubscribe(m), s.signal && s.signal.removeEventListener("abort", m); } let T = new XMLHttpRequest(); T.open(s.method.toUpperCase(), s.url, !0), T.timeout = s.timeout; function D() { if (!T) return; const N = On.from( "getAllResponseHeaders" in T && T.getAllResponseHeaders() ), V = { data: !d || d === "text" || d === "json" ? T.responseText : T.response, status: T.status, statusText: T.statusText, headers: N, config: t, request: T }; Ap(function(P) { n(P), C(); }, function(P) { i(P), C(); }, V), T = null; } "onloadend" in T ? T.onloadend = D : T.onreadystatechange = function() { !T || T.readyState !== 4 || T.status === 0 && !(T.responseURL && T.responseURL.indexOf("file:") === 0) || setTimeout(D); }, T.onabort = function() { T && (i(new Ce("Request aborted", Ce.ECONNABORTED, t, T)), T = null); }, T.onerror = function() { i(new Ce("Network Error", Ce.ERR_NETWORK, t, T)), T = null; }, T.ontimeout = function() { let B = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded"; const V = s.transitional || kp; s.timeoutErrorMessage && (B = s.timeoutErrorMessage), i(new Ce( B, V.clarifyTimeoutError ? Ce.ETIMEDOUT : Ce.ECONNABORTED, t, T )), T = null; }, l === void 0 && u.setContentType(null), "setRequestHeader" in T && z.forEach(u.toJSON(), function(B, V) { T.setRequestHeader(V, B); }), z.isUndefined(s.withCredentials) || (T.withCredentials = !!s.withCredentials), d && d !== "json" && (T.responseType = s.responseType), p && ([w, E] = Sa(p, !0), T.addEventListener("progress", w)), h && T.upload && ([v, S] = Sa(h), T.upload.addEventListener("progress", v), T.upload.addEventListener("loadend", S)), (s.cancelToken || s.signal) && (m = (N) => { T && (i(!N || N.type ? new Mi(null, t, T) : N), T.abort(), T = null); }, s.cancelToken && s.cancelToken.subscribe(m), s.signal && (s.signal.aborted ? m() : s.signal.addEventListener("abort", m))); const L = VS(s.url); if (L && jt.protocols.indexOf(L) === -1) { i(new Ce("Unsupported protocol " + L + ":", Ce.ERR_BAD_REQUEST, t)); return; } T.send(l || null); }); }, XS = (t, e) => { const { length: n } = t = t ? t.filter(Boolean) : []; if (e || n) { let i = new AbortController(), s; const l = function(p) { if (!s) { s = !0, d(); const m = p instanceof Error ? p : this.reason; i.abort(m instanceof Ce ? m : new Mi(m instanceof Error ? m.message : m)); } }; let u = e && setTimeout(() => { u = null, l(new Ce(`timeout ${e} of ms exceeded`, Ce.ETIMEDOUT)); }, e); const d = () => { t && (u && clearTimeout(u), u = null, t.forEach((p) => { p.unsubscribe ? p.unsubscribe(l) : p.removeEventListener("abort", l); }), t = null); }; t.forEach((p) => p.addEventListener("abort", l)); const { signal: h } = i; return h.unsubscribe = () => z.asap(d), h; } }, JS = 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; }, eE = async function* (t, e) { for await (const n of tE(t)) yield* JS(n, e); }, tE = 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(); } }, $p = (t, e, n, i) => { const s = eE(t, e); let l = 0, u, d = (h) => { u || (u = !0, i && i(h)); }; return new ReadableStream({ async pull(h) { try { const { done: p, value: m } = await s.next(); if (p) { d(), h.close(); return; } let v = m.byteLength; if (n) { let w = l += v; n(w); } h.enqueue(new Uint8Array(m)); } catch (p) { throw d(p), p; } }, cancel(h) { return d(h), s.return(); } }, { highWaterMark: 2 }); }, Ea = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Up = Ea && typeof ReadableStream == "function", nE = Ea && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), zp = (t, ...e) => { try { return !!t(...e); } catch { return !1; } }, rE = Up && zp(() => { let t = !1; const e = new Request(jt.origin, { body: new ReadableStream(), method: "POST", get duplex() { return t = !0, "half"; } }).headers.has("Content-Type"); return t && !e; }), Bp = 64 * 1024, bc = Up && zp(() => z.isReadableStream(new Response("").body)), xa = { stream: bc && ((t) => t.body) }; Ea && ((t) => { ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => { !xa[e] && (xa[e] = z.isFunction(t[e]) ? (n) => n[e]() : (n, i) => { throw new Ce(`Response type '${e}' is not supported`, Ce.ERR_NOT_SUPPORT, i); }); }); })(new Response()); const iE = async (t) => { if (t == null) return 0; if (z.isBlob(t)) return t.size; if (z.isSpecCompliantForm(t)) return (await new Request(jt.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 nE(t)).byteLength; }, oE = async (t, e) => { const n = z.toFiniteNumber(t.getContentLength()); return n ?? iE(e); }, Tc = { http: OS, xhr: QS, fetch: Ea && (async (t) => { let { url: e, method: n, data: i, signal: s, cancelToken: l, timeout: u, onDownloadProgress: d, onUploadProgress: h, responseType: p, headers: m, withCredentials: v = "same-origin", fetchOptions: w } = Fp(t); p = p ? (p + "").toLowerCase() : "text"; let S = XS([s, l && l.toAbortSignal()], u), E; const C = S && S.unsubscribe && (() => { S.unsubscribe(); }); let T; try { if (h && rE && n !== "get" && n !== "head" && (T = await oE(m, i)) !== 0) { let V = new Request(e, { method: "POST", body: i, duplex: "half" }), _; if (z.isFormData(i) && (_ = V.headers.get("content-type")) && m.setContentType(_), V.body) { const [P, U] = Ip( T, Sa(Dp(h)) ); i = $p(V.body, Bp, P, U); } } z.isString(v) || (v = v ? "include" : "omit"); const D = "credentials" in Request.prototype; E = new Request(e, { ...w, signal: S, method: n.toUpperCase(), headers: m.normalize().toJSON(), body: i, duplex: "half", credentials: D ? v : void 0 }); let L = await fetch(E); const N = bc && (p === "stream" || p === "response"); if (bc && (d || N && C)) { const V = {}; ["status", "statusText", "headers"].forEach((q) => { V[q] = L[q]; }); const _ = z.toFiniteNumber(L.headers.get("content-length")), [P, U] = d && Ip( _, Sa(Dp(d), !0) ) || []; L = new Response( $p(L.body, Bp, P, () => { U && U(), C && C(); }), V ); } p = p || "text"; let B = await xa[z.findKey(xa, p) || "text"](L, t); return !N && C && C(), await new Promise((V, _) => { Ap(V, _, { data: B, headers: On.from(L.headers), status: L.status, statusText: L.statusText, config: t, request: E }); }); } catch (D) { throw C && C(), D && D.name === "TypeError" && /fetch/i.test(D.message) ? Object.assign( new Ce("Network Error", Ce.ERR_NETWORK, t, E), { cause: D.cause || D } ) : Ce.from(D, D && D.code, t, E); } }) }; z.forEach(Tc, (t, e) => { if (t) { try { Object.defineProperty(t, "name", { value: e }); } catch { } Object.defineProperty(t, "adapterName", { value: e }); } }); const Hp = (t) => `- ${t}`, sE = (t) => z.isFunction(t) || t === null || t === !1, Vp = { getAdapter: (t) => { t = z.isArray(t) ? t : [t]; const { length: e } = t; let n, i; const s = {}; for (let l = 0; l < e; l++) { n = t[l]; let u; if (i = n, !sE(n) && (i = Tc[(u = String(n)).toLowerCase()], i === void 0)) throw new Ce(`Unknown adapter '${u}'`); if (i) break; s[u || "#" + l] = i; } if (!i) { const l = Object.entries(s).map( ([d, h]) => `adapter ${d} ` + (h === !1 ? "is not supported by the environment" : "is not available in the build") ); let u = e ? l.length > 1 ? `since : ` + l.map(Hp).join(` `) : " " + Hp(l[0]) : "as no adapter specified"; throw new Ce( "There is no suitable adapter to dispatch the request " + u, "ERR_NOT_SUPPORT" ); } return i; }, adapters: Tc }; function Oc(t) { if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted) throw new Mi(null, t); } function Wp(t) { return Oc(t), t.headers = On.from(t.headers), t.data = Cc.call( t, t.transformRequest ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Vp.getAdapter(t.adapter || Ec.adapter)(t).then(function(i) { return Oc(t), i.data = Cc.call( t, t.transformResponse, i ), i.headers = On.from(i.headers), i; }, function(i) { return Np(i) || (Oc(t), i && i.response && (i.response.data = Cc.call( t, t.transformResponse, i.response ), i.response.headers = On.from(i.response.headers))), Promise.reject(i); }); } const qp = "1.8.2", Ca = {}; ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => { Ca[t] = function(i) { return typeof i === t || "a" + (e < 1 ? "n " : " ") + t; }; }); const Kp = {}; Ca.transitional = function(e, n, i) { function s(l, u) { return "[Axios v" + qp + "] Transitional option '" + l + "'" + u + (i ? ". " + i : ""); } return (l, u, d) => { if (e === !1) throw new Ce( s(u, " has been removed" + (n ? " in " + n : "")), Ce.ERR_DEPRECATED ); return n && !Kp[u] && (Kp[u] = !0, console.warn( s( u, " has been deprecated since v" + n + " and will be removed in the near future" ) )), e ? e(l, u, d) : !0; }; }, Ca.spelling = function(e) { return (n, i) => (console.warn(`${i} is likely a misspelling of ${e}`), !0); }; function aE(t, e, n) { if (typeof t != "object") throw new Ce("options must be an object", Ce.ERR_BAD_OPTION_VALUE); const i = Object.keys(t); let s = i.length; for (; s-- > 0; ) { const l = i[s], u = e[l]; if (u) { const d = t[l], h = d === void 0 || u(d, l, t); if (h !== !0) throw new Ce("option " + l + " must be " + h, Ce.ERR_BAD_OPTION_VALUE); continue; } if (n !== !0) throw new Ce("Unknown option " + l, Ce.ERR_BAD_OPTION); } } const ba = { assertOptions: aE, validators: Ca }, Hn = ba.validators; let Ta = class { constructor(e) { this.defaults = e, this.interceptors = { request: new Pp(), response: new Pp() }; } /** * 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 l = s.stack ? s.stack.replace(/^.+\n/, "") : ""; try { i.stack ? l && !String(i.stack).endsWith(l.replace(/^.+\n.+\n/, "")) && (i.stack += ` ` + l) : i.stack = l; } catch { } } throw i; } } _request(e, n) { typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = ti(this.defaults, n); const { transitional: i, paramsSerializer: s, headers: l } = n; i !== void 0 && ba.assertOptions(i, { silentJSONParsing: Hn.transitional(Hn.boolean), forcedJSONParsing: Hn.transitional(Hn.boolean), clarifyTimeoutError: Hn.transitional(Hn.boolean) }, !1), s != null && (z.isFunction(s) ? n.paramsSerializer = { serialize: s } : ba.assertOptions(s, { encode: Hn.function, serialize: Hn.function }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), ba.assertOptions(n, { baseUrl: Hn.spelling("baseURL"), withXsrfToken: Hn.spelling("withXSRFToken") }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase(); let u = l && z.merge( l.common, l[n.method] ); l && z.forEach( ["delete", "get", "head", "post", "put", "patch", "common"], (E) => { delete l[E]; } ), n.headers = On.concat(u, l); const d = []; let h = !0; this.interceptors.request.forEach(function(C) { typeof C.runWhen == "function" && C.runWhen(n) === !1 || (h = h && C.synchronous, d.unshift(C.fulfilled, C.rejected)); }); const p = []; this.interceptors.response.forEach(function(C) { p.push(C.fulfilled, C.rejected); }); let m, v = 0, w; if (!h) { const E = [Wp.bind(this), void 0]; for (E.unshift.apply(E, d), E.push.apply(E, p), w = E.length, m = Promise.resolve(n); v < w; ) m = m.then(E[v++], E[v++]); return m; } w = d.length; let S = n; for (v = 0; v < w; ) { const E = d[v++], C = d[v++]; try { S = E(S); } catch (T) { C.call(this, T); break; } } try { m = Wp.call(this, S); } catch (E) { return Promise.reject(E); } for (v = 0, w = p.length; v < w; ) m = m.then(p[v++], p[v++]); return m; } getUri(e) { e = ti(this.defaults, e); const n = jp(e.baseURL, e.url, e.allowAbsoluteUrls); return Rp(n, e.params, e.paramsSerializer); } }; z.forEach(["delete", "get", "head", "options"], function(e) { Ta.prototype[e] = function(n, i) { return this.request(ti(i || {}, { method: e, url: n, data: (i || {}).data })); }; }), z.forEach(["post", "put", "patch"], function(e) { function n(i) { return function(l, u, d) { return this.request(ti(d || {}, { method: e, headers: i ? { "Content-Type": "multipart/form-data" } : {}, url: l, data: u })); }; } Ta.prototype[e] = n(), Ta.prototype[e + "Form"] = n(!0); }); const Oa = Ta, lE = class Iw { constructor(e) { if (typeof e != "function") throw new TypeError("executor must be a function."); let n; this.promise = new Promise(function(l) { n = l; }); const i = this; this.promise.then((s) => { if (!i._listeners) return; let l = i._listeners.length; for (; l-- > 0; ) i._listeners[l](s); i._listeners = null; }), this.promise.then = (s) => { let l; const u = new Promise((d) => { i.subscribe(d), l = d; }).then(s); return u.cancel = function() { i.unsubscribe(l); }, u; }, e(function(l, u, d) { i.reason || (i.reason = new Mi(l, 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 Iw(function(s) { e = s; }), cancel: e }; } }; function uE(t) { return function(n) { return t.apply(null, n); }; } function cE(t) { return z.isObject(t) && t.isAxiosError === !0; } const Rc = { 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(Rc).forEach(([t, e]) => { Rc[e] = t; }); const dE = Rc; function Gp(t) { const e = new Oa(t), n = hp(Oa.prototype.request, e); return z.extend(n, Oa.prototype, e, { allOwnKeys: !0 }), z.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(s) { return Gp(ti(t, s)); }, n; } const pt = Gp(Ec); pt.Axios = Oa, pt.CanceledError = Mi, pt.CancelToken = lE, pt.isCancel = Np, pt.VERSION = qp, pt.toFormData = va, pt.AxiosError = Ce, pt.Cancel = pt.CanceledError, pt.all = function(e) { return Promise.all(e); }, pt.spread = uE, pt.isAxiosError = cE, pt.mergeConfig = ti, pt.AxiosHeaders = On, pt.formToJSON = (t) => _p(z.isHTMLForm(t) ? new FormData(t) : t), pt.getAdapter = Vp.getAdapter, pt.HttpStatusCode = dE, pt.default = pt; const { Axios: YR, AxiosError: fE, CanceledError: ZR, isCancel: QR, CancelToken: XR, VERSION: JR, all: eP, Cancel: tP, isAxiosError: nP, spread: rP, toFormData: iP, AxiosHeaders: oP, HttpStatusCode: sP, formToJSON: aP, getAdapter: lP, mergeConfig: uP } = pt, Ee = (t) => typeof t == "string", Uo = () => { let t, e; const n = new Promise((i, s) => { t = i, e = s; }); return n.resolve = t, n.reject = e, n; }, Yp = (t) => t == null ? "" : "" + t, hE = (t, e, n) => { t.forEach((i) => { e[i] && (n[i] = e[i]); }); }, pE = /###/g, Zp = (t) => t && t.indexOf("###") > -1 ? t.replace(pE, ".") : t, Qp = (t) => !t || Ee(t), zo = (t, e, n) => { const i = Ee(e) ? e.split(".") : e; let s = 0; for (; s < i.length - 1; ) { if (Qp(t)) return {}; const l = Zp(i[s]); !t[l] && n && (t[l] = new n()), Object.prototype.hasOwnProperty.call(t, l) ? t = t[l] : t = {}, ++s; } return Qp(t) ? {} : { obj: t, k: Zp(i[s]) }; }, Xp = (t, e, n) => { const { obj: i, k: s } = zo(t, e, Object); if (i !== void 0 || e.length === 1) { i[s] = n; return; } let l = e[e.length - 1], u = e.slice(0, e.length - 1), d = zo(t, u, Object); for (; d.obj === void 0 && u.length; ) l = `${u[u.length - 1]}.${l}`, u = u.slice(0, u.length - 1), d = zo(t, u, Object), d != null && d.obj && typeof d.obj[`${d.k}.${l}`] < "u" && (d.obj = void 0); d.obj[`${d.k}.${l}`] = n; }, gE = (t, e, n, i) => { const { obj: s, k: l } = zo(t, e, Object); s[l] = s[l] || [], s[l].push(n); }, Ra = (t, e) => { const { obj: n, k: i } = zo(t, e); if (n && Object.prototype.hasOwnProperty.call(n, i)) return n[i]; }, mE = (t, e, n) => { const i = Ra(t, n); return i !== void 0 ? i : Ra(e, n); }, Jp = (t, e, n) => { for (const i in e) i !== "__proto__" && i !== "constructor" && (i in t ? Ee(t[i]) || t[i] instanceof String || Ee(e[i]) || e[i] instanceof String ? n && (t[i] = e[i]) : Jp(t[i], e[i], n) : t[i] = e[i]); return t; }, Fi = (t) => t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); var vE = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'", "/": "/" }; const yE = (t) => Ee(t) ? t.replace(/[&<>"'\/]/g, (e) => vE[e]) : t; class wE { 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 SE = [" ", ",", "?", "!", ";"], EE = new wE(20), xE = (t, e, n) => { e = e || "", n = n || ""; const i = SE.filter((u) => e.indexOf(u) < 0 && n.indexOf(u) < 0); if (i.length === 0) return !0; const s = EE.getRegExp(`(${i.map((u) => u === "?" ? "\\?" : u).join("|")})`); let l = !s.test(t); if (!l) { const u = t.indexOf(n); u > 0 && !s.test(t.substring(0, u)) && (l = !0); } return l; }, Pc = 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 l = 0; l < i.length; ) { if (!s || typeof s != "object") return; let u, d = ""; for (let h = l; h < i.length; ++h) if (h !== l && (d += n), d += i[h], u = s[d], u !== void 0) { if (["string", "number", "boolean"].indexOf(typeof u) > -1 && h < i.length - 1) continue; l += h - l + 1; break; } s = u; } return s; }, Pa = (t) => t == null ? void 0 : t.replace("_", "-"), CE = { 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 ka { 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 || CE, 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 : (Ee(e[0]) && (e[0] = `${i}${this.prefix} ${e[0]}`), this.logger[n](e)); } create(e) { return new ka(this.logger, { prefix: `${this.prefix}:${e}:`, ...this.options }); } clone(e) { return e = e || this.options, e.prefix = e.prefix || this.prefix, new ka(this.logger, e); } } var Vn = new ka(); class _a { 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, h] = u; for (let p = 0; p < h; p++) d(...i); }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach((u) => { let [d, h] = u; for (let p = 0; p < h; p++) d.apply(d, [e, ...i]); }); } } class eg extends _a { 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 l = 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) : Ee(i) && l ? d.push(...i.split(l)) : d.push(i))); const h = Ra(this.data, d); return !h && !n && !i && e.indexOf(".") > -1 && (e = d[0], n = d[1], i = d.slice(2).join(".")), h || !u || !Ee(i) ? h : Pc((m = (p = this.data) == null ? void 0 : p[e]) == null ? void 0 : m[n], i, l); } addResource(e, n, i, s) { let l = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : { silent: !1 }; const u = l.keySeparator !== void 0 ? l.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), Xp(this.data, d, s), l.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 l in i) (Ee(i[l]) || Array.isArray(i[l])) && this.addResource(e, n, l, i[l], { silent: !0 }); s.silent || this.emit("added", e, n, i); } addResourceBundle(e, n, i, s, l) { 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 h = Ra(this.data, d) || {}; u.skipCopy || (i = JSON.parse(JSON.stringify(i))), s ? Jp(h, i, l) : h = { ...h, ...i }, Xp(this.data, d, h), 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 tg = { processors: {}, addPostProcessor(t) { this.processors[t.name] = t; }, handle(t, e, n, i, s) { return t.forEach((l) => { var u; e = ((u = this.processors[l]) == null ? void 0 : u.process(e, n, i, s)) ?? e; }), e; } }; const ng = {}, rg = (t) => !Ee(t) && typeof t != "boolean" && typeof t != "number"; class La extends _a { constructor(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; super(), hE(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Vn.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 l = n.ns || this.options.defaultNS || []; const u = i && e.indexOf(i) > -1, d = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !xE(e, i, s); if (u && !d) { const h = e.match(this.interpolator.nestingRegexp); if (h && h.length > 0) return { key: e, namespaces: Ee(l) ? [l] : l }; const p = e.split(i); (i !== s || i === s && this.options.ns.indexOf(p[0]) > -1) && (l = p.shift()), e = p.join(s); } return { key: e, namespaces: Ee(l) ? [l] : l }; } 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, l = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, { key: u, namespaces: d } = this.extractFromKey(e[e.length - 1], n), h = 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: `${h}${W}${u}`, usedKey: u, exactUsedKey: u, usedLng: p, usedNS: h, usedParams: this.getUsedParamsDetails(n) } : `${h}${W}${u}`; } return s ? { res: u, usedKey: u, exactUsedKey: u, usedLng: p, usedNS: h, usedParams: this.getUsedParamsDetails(n) } : u; } const v = this.resolve(e, n); let w = v == null ? void 0 : v.res; const S = (v == null ? void 0 : v.usedKey) || u, E = (v == null ? void 0 : v.exactUsedKey) || u, C = ["[object Number]", "[object Function]", "[object RegExp]"], T = n.joinArrays !== void 0 ? n.joinArrays : this.options.joinArrays, D = !this.i18nFormat || this.i18nFormat.handleAsObject, L = n.count !== void 0 && !Ee(n.count), N = La.hasDefaultValue(n), B = L ? this.pluralResolver.getSuffix(p, n.count, n) : "", V = n.ordinal && L ? this.pluralResolver.getSuffix(p, n.count, { ordinal: !1 }) : "", _ = L && !n.ordinal && n.count === 0, P = _ && n[`defaultValue${this.options.pluralSeparator}zero`] || n[`defaultValue${B}`] || n[`defaultValue${V}`] || n.defaultValue; let U = w; D && !w && N && (U = P); const q = rg(U), ee = Object.prototype.toString.apply(U); if (D && U && q && C.indexOf(ee) < 0 && !(Ee(T) && Array.isArray(U))) { 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(S, U, { ...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 (l) { const W = Array.isArray(U), ne = W ? [] : {}, ye = W ? E : S; for (const ve in U) if (Object.prototype.hasOwnProperty.call(U, ve)) { const xe = `${ye}${l}${ve}`; N && !w ? ne[ve] = this.translate(xe, { ...n, defaultValue: rg(P) ? P[ve] : void 0, joinArrays: !1, ns: d }) : ne[ve] = this.translate(xe, { ...n, joinArrays: !1, ns: d }), ne[ve] === xe && (ne[ve] = U[ve]); } w = ne; } } else if (D && Ee(T) && Array.isArray(w)) w = w.join(T), w && (w = this.extendTranslation(w, e, n, i)); else { let W = !1, ne = !1; !this.isValidLookup(w) && N && (W = !0, w = P), this.isValidLookup(w) || (ne = !0, w = u); const ve = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && ne ? void 0 : w, xe = N && P !== w && this.options.updateMissing; if (ne || W || xe) { if (this.logger.log(xe ? "updateKey" : "missingKey", p, h, u, xe ? P : w), l) { const J = this.resolve(u, { ...n, keySeparator: !1 }); J && J.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 Me = []; const pe = this.languageUtils.getFallbackCodes(this.options.fallbackLng, n.lng || this.language); if (this.options.saveMissingTo === "fallback" && pe && pe[0]) for (let J = 0; J < pe.length; J++) Me.push(pe[J]); else this.options.saveMissingTo === "all" ? Me = this.languageUtils.toResolveHierarchy(n.lng || this.language) : Me.push(n.lng || this.language); const K = (J, b, F) => { var we; const Q = N && F !== w ? F : ve; this.options.missingKeyHandler ? this.options.missingKeyHandler(J, h, b, Q, xe, n) : (we = this.backendConnector) != null && we.saveMissing && this.backendConnector.saveMissing(J, h, b, Q, xe, n), this.emit("missingKey", J, h, b, w); }; this.options.saveMissing && (this.options.saveMissingPlurals && L ? Me.forEach((J) => { const b = this.pluralResolver.getSuffixes(J, n); _ && n[`defaultValue${this.options.pluralSeparator}zero`] && b.indexOf(`${this.options.pluralSeparator}zero`) < 0 && b.push(`${this.options.pluralSeparator}zero`), b.forEach((F) => { K([J], u + F, n[`defaultValue${F}`] || P); }); }) : K(Me, u, P)); } w = this.extendTranslation(w, e, n, v, i), ne && w === u && this.options.appendNamespaceToMissingKey && (w = `${h}:${u}`), (ne || W) && this.options.parseMissingKeyHandler && (w = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${h}:${u}` : u, W ? w : void 0)); } return s ? (v.res = w, v.usedParams = this.getUsedParamsDetails(n), v) : w; } extendTranslation(e, n, i, s, l) { 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 = Ee(e) && (((m = i == null ? void 0 : i.interpolation) == null ? void 0 : m.skipOnVariables) !== void 0 ? i.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables); let w; if (v) { const E = e.match(this.interpolator.nestingRegexp); w = E && E.length; } let S = i.replace && !Ee(i.replace) ? i.replace : i; if (this.options.interpolation.defaultVariables && (S = { ...this.options.interpolation.defaultVariables, ...S }), e = this.interpolator.interpolate(e, S, i.lng || this.language || s.usedLng, i), v) { const E = e.match(this.interpolator.nestingRegexp), C = E && E.length; w < C && (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 E = arguments.length, C = new Array(E), T = 0; T < E; T++) C[T] = arguments[T]; return (l == null ? void 0 : l[0]) === C[0] && !i.context ? (u.logger.warn(`It seems you are nesting recursively key: ${C[0]} in key: ${n[0]}`), null) : u.translate(...C, n); }, i)), i.interpolation && this.interpolator.reset(); } const d = i.postProcess || this.options.postProcess, h = Ee(d) ? [d] : d; return e != null && (h != null && h.length) && i.applyPostProcessor !== !1 && (e = tg.handle(h, 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, l, u, d; return Ee(e) && (e = [e]), e.forEach((h) => { if (this.isValidLookup(i)) return; const p = this.extractFromKey(h, n), m = p.key; s = m; let v = p.namespaces; this.options.fallbackNS && (v = v.concat(this.options.fallbackNS)); const w = n.count !== void 0 && !Ee(n.count), S = w && !n.ordinal && n.count === 0, E = n.context !== void 0 && (Ee(n.context) || typeof n.context == "number") && n.context !== "", C = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng); v.forEach((T) => { var D, L; this.isValidLookup(i) || (d = T, !ng[`${C[0]}-${T}`] && ((D = this.utils) != null && D.hasLoadedNamespace) && !((L = this.utils) != null && L.hasLoadedNamespace(d)) && (ng[`${C[0]}-${T}`] = !0, this.logger.warn(`key "${s}" for languages "${C.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!!!")), C.forEach((N) => { var _; if (this.isValidLookup(i)) return; u = N; const B = [m]; if ((_ = this.i18nFormat) != null && _.addLookupKeys) this.i18nFormat.addLookupKeys(B, m, N, T, n); else { let P; w && (P = this.pluralResolver.getSuffix(N, n.count, n)); const U = `${this.options.pluralSeparator}zero`, q = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`; if (w && (B.push(m + P), n.ordinal && P.indexOf(q) === 0 && B.push(m + P.replace(q, this.options.pluralSeparator)), S && B.push(m + U)), E) { const ee = `${m}${this.options.contextSeparator}${n.context}`; B.push(ee), w && (B.push(ee + P), n.ordinal && P.indexOf(q) === 0 && B.push(ee + P.replace(q, this.options.pluralSeparator)), S && B.push(ee + U)); } } let V; for (; V = B.pop(); ) this.isValidLookup(i) || (l = V, i = this.getResource(N, T, V, n)); })); }); }), { res: i, usedKey: s, exactUsedKey: l, usedLng: u, usedNS: d }; } isValidLookup(e) { return e !== void 0 && !(!this.options.returnNull && e === null) && !(!this.options.returnEmptyString && e === ""); } getResource(e, n, i) { var l; let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}; return (l = this.i18nFormat) != null && l.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 && !Ee(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 l of n) delete s[l]; } 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 ig { constructor(e) { this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Vn.create("languageUtils"); } getScriptPartFromCode(e) { if (e = Pa(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 = Pa(e), !e || e.indexOf("-") < 0) return e; const n = e.split("-"); return this.formatLanguageCode(n[0]); } formatLanguageCode(e) { if (Ee(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((l) => { if (l === s) return l; if (!(l.indexOf("-") < 0 && s.indexOf("-") < 0) && (l.indexOf("-") > 0 && s.indexOf("-") < 0 && l.substring(0, l.indexOf("-")) === s || l.indexOf(s) === 0 && s.length > 1)) return l; }); }), n || (n = this.getFallbackCodes(this.options.fallbackLng)[0]), n; } getFallbackCodes(e, n) { if (!e) return []; if (typeof e == "function" && (e = e(n)), Ee(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 = [], l = (u) => { u && (this.isSupportedCode(u) ? s.push(u) : this.logger.warn(`rejecting language code not found in supportedLngs: ${u}`)); }; return Ee(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && l(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && l(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && l(this.getLanguagePartFromCode(e))) : Ee(e) && l(this.formatLanguageCode(e)), i.forEach((u) => { s.indexOf(u) < 0 && l(this.formatLanguageCode(u)); }), s; } } const og = { zero: 0, one: 1, two: 2, few: 3, many: 4, other: 5 }, sg = { select: (t) => t === 1 ? "one" : "other", resolvedOptions: () => ({ pluralCategories: ["one", "other"] }) }; class bE { constructor(e) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; this.languageUtils = e, this.options = n, this.logger = Vn.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 = Pa(e === "dev" ? "en" : e), s = n.ordinal ? "ordinal" : "cardinal", l = JSON.stringify({ cleanedCode: i, type: s }); if (l in this.pluralRulesCache) return this.pluralRulesCache[l]; 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!"), sg; if (!e.match(/-|_/)) return sg; const h = this.languageUtils.getLanguagePartFromCode(e); u = this.getRule(h, n); } return this.pluralRulesCache[l] = 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, l) => og[s] - og[l]).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 ag = 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, l = mE(t, e, n); return !l && s && Ee(n) && (l = Pc(t, n, i), l === void 0 && (l = Pc(e, n, i))), l; }, kc = (t) => t.replace(/\$/g, "$$$$"); class TE { constructor() { var n; let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; this.logger = Vn.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: l, prefixEscaped: u, suffix: d, suffixEscaped: h, formatSeparator: p, unescapeSuffix: m, unescapePrefix: v, nestingPrefix: w, nestingPrefixEscaped: S, nestingSuffix: E, nestingSuffixEscaped: C, nestingOptionsSeparator: T, maxReplaces: D, alwaysFormat: L } = e.interpolation; this.escape = n !== void 0 ? n : yE, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = l ? Fi(l) : u || "{{", this.suffix = d ? Fi(d) : h || "}}", this.formatSeparator = p || ",", this.unescapePrefix = m ? "" : v || "-", this.unescapeSuffix = this.unescapePrefix ? "" : m || "", this.nestingPrefix = w ? Fi(w) : S || Fi("$t("), this.nestingSuffix = E ? Fi(E) : C || Fi(")"), this.nestingOptionsSeparator = T || ",", this.maxReplaces = D || 1e3, this.alwaysFormat = L !== void 0 ? L : !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 S; let l, u, d; const h = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, p = (E) => { if (E.indexOf(this.formatSeparator) < 0) { const L = ag(n, h, E, this.options.keySeparator, this.options.ignoreJSONStructure); return this.alwaysFormat ? this.format(L, void 0, i, { ...s, ...n, interpolationkey: E }) : L; } const C = E.split(this.formatSeparator), T = C.shift().trim(), D = C.join(this.formatSeparator).trim(); return this.format(ag(n, h, T, this.options.keySeparator, this.options.ignoreJSONStructure), D, i, { ...s, ...n, interpolationkey: T }); }; this.resetRegExp(); const m = (s == null ? void 0 : s.missingInterpolationHandler) || this.options.missingInterpolationHandler, v = ((S = s == null ? void 0 : s.interpolation) == null ? void 0 : S.skipOnVariables) !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables; return [{ regex: this.regexpUnescape, safeValue: (E) => kc(E) }, { regex: this.regexp, safeValue: (E) => this.escapeValue ? kc(this.escape(E)) : kc(E) }].forEach((E) => { for (d = 0; l = E.regex.exec(e); ) { const C = l[1].trim(); if (u = p(C), u === void 0) if (typeof m == "function") { const D = m(e, l, s); u = Ee(D) ? D : ""; } else if (s && Object.prototype.hasOwnProperty.call(s, C)) u = ""; else if (v) { u = l[0]; continue; } else this.logger.warn(`missed to pass in variable ${C} for interpolating ${e}`), u = ""; else !Ee(u) && !this.useRawValueToEscape && (u = Yp(u)); const T = E.safeValue(u); if (e = e.replace(l[0], T), v ? (E.regex.lastIndex += u.length, E.regex.lastIndex -= l[0].length) : E.regex.lastIndex = 0, d++, d >= this.maxReplaces) break; } }), e; } nest(e, n) { let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s, l, u; const d = (h, p) => { const m = this.nestingOptionsSeparator; if (h.indexOf(m) < 0) return h; const v = h.split(new RegExp(`${m}[ ]*{`)); let w = `{${v[1]}`; h = v[0], w = this.interpolate(w, u); const S = w.match(/'/g), E = w.match(/"/g); (((S == null ? void 0 : S.length) ?? 0) % 2 === 0 && !E || E.length % 2 !== 0) && (w = w.replace(/'/g, '"')); try { u = JSON.parse(w), p && (u = { ...p, ...u }); } catch (C) { return this.logger.warn(`failed parsing options string in nesting for key ${h}`, C), `${h}${m}${w}`; } return u.defaultValue && u.defaultValue.indexOf(this.prefix) > -1 && delete u.defaultValue, h; }; for (; s = this.nestingRegexp.exec(e); ) { let h = []; u = { ...i }, u = u.replace && !Ee(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(), h = m, p = !0; } if (l = n(d.call(this, s[1].trim(), u), u), l && s[0] === e && !Ee(l)) return l; Ee(l) || (l = Yp(l)), l || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), l = ""), p && (l = h.reduce((m, v) => this.format(m, v, i.lng, { ...i, interpolationkey: s[1].trim() }), l.trim())), e = e.replace(s[0], l), this.regexp.lastIndex = 0; } return e; } } const OE = (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, ...h] = u.split(":"), p = h.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 }; }, $i = (t) => { const e = {}; return (n, i, s) => { let l = s; s && s.interpolationkey && s.formatParams && s.formatParams[s.interpolationkey] && s[s.interpolationkey] && (l = { ...l, [s.interpolationkey]: void 0 }); const u = i + JSON.stringify(l); let d = e[u]; return d || (d = t(Pa(i), s), e[u] = d), d(n); }; }; class RE { constructor() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; this.logger = Vn.create("formatter"), this.options = e, this.formats = { number: $i((n, i) => { const s = new Intl.NumberFormat(n, { ...i }); return (l) => s.format(l); }), currency: $i((n, i) => { const s = new Intl.NumberFormat(n, { ...i, style: "currency" }); return (l) => s.format(l); }), datetime: $i((n, i) => { const s = new Intl.DateTimeFormat(n, { ...i }); return (l) => s.format(l); }), relativetime: $i((n, i) => { const s = new Intl.RelativeTimeFormat(n, { ...i }); return (l) => s.format(l, i.range || "day"); }), list: $i((n, i) => { const s = new Intl.ListFormat(n, { ...i }); return (l) => s.format(l); }) }, 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()] = $i(n); } format(e, n, i) { let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}; const l = n.split(this.formatSeparator); if (l.length > 1 && l[0].indexOf("(") > 1 && l[0].indexOf(")") < 0 && l.find((d) => d.indexOf(")") > -1)) { const d = l.findIndex((h) => h.indexOf(")") > -1); l[0] = [l[0], ...l.splice(1, d)].join(this.formatSeparator); } return l.reduce((d, h) => { var v; const { formatName: p, formatOptions: m } = OE(h); if (this.formats[p]) { let w = d; try { const S = ((v = s == null ? void 0 : s.formatParams) == null ? void 0 : v[s.interpolationkey]) || {}, E = S.locale || S.lng || s.locale || s.lng || i; w = this.formats[p](d, E, { ...m, ...s, ...S }); } catch (S) { this.logger.warn(S); } return w; } else this.logger.warn(`there was no format function for ${p}`); return d; }, e); } } const PE = (t, e) => { t.pending[e] !== void 0 && (delete t.pending[e], t.pendingCount--); }; class kE extends _a { constructor(e, n, i) { var l, 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 = Vn.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 = (l = this.backend) == null ? void 0 : l.init) == null || u.call(l, i, s.backend, s); } queueLoad(e, n, i, s) { const l = {}, u = {}, d = {}, h = {}; return e.forEach((p) => { let m = !0; n.forEach((v) => { const w = `${p}|${v}`; !i.reload && this.store.hasResourceBundle(p, v) ? this.state[w] = 2 : this.state[w] < 0 || (this.state[w] === 1 ? u[w] === void 0 && (u[w] = !0) : (this.state[w] = 1, m = !1, u[w] === void 0 && (u[w] = !0), l[w] === void 0 && (l[w] = !0), h[v] === void 0 && (h[v] = !0))); }), m || (d[p] = !0); }), (Object.keys(l).length || Object.keys(u).length) && this.queue.push({ pending: u, pendingCount: Object.keys(u).length, loaded: {}, errors: [], callback: s }), { toLoad: Object.keys(l), pending: Object.keys(u), toLoadLanguages: Object.keys(d), toLoadNamespaces: Object.keys(h) }; } loaded(e, n, i) { const s = e.split("|"), l = s[0], u = s[1]; n && this.emit("failedLoading", l, u, n), !n && i && this.store.addResourceBundle(l, 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((h) => { gE(h.loaded, [l], u), PE(h, e), n && h.errors.push(n), h.pendingCount === 0 && !h.done && (Object.keys(h.loaded).forEach((p) => { d[p] || (d[p] = {}); const m = h.loaded[p]; m.length && m.forEach((v) => { d[p][v] === void 0 && (d[p][v] = !0); }); }), h.done = !0, h.errors.length ? h.callback(h.errors) : h.callback()); }), this.emit("loaded", d), this.queue = this.queue.filter((h) => !h.done); } read(e, n, i) { let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, l = 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: l, 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, l * 2, u); }, l); return; } u(p, m); }, h = this.backend[i].bind(this.backend); if (h.length === 2) { try { const p = h(e, n); p && typeof p.then == "function" ? p.then((m) => d(null, m)).catch(d) : d(null, p); } catch (p) { d(p); } return; } return h(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(); Ee(e) && (e = this.languageUtils.toResolveHierarchy(e)), Ee(n) && (n = [n]); const l = this.queueLoad(e, n, i, s); if (!l.toLoad.length) return l.pending.length || s(), null; l.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], l = i[1]; this.read(s, l, "read", void 0, void 0, (u, d) => { u && this.logger.warn(`${n}loading namespace ${l} for language ${s} failed`, u), !u && d && this.logger.log(`${n}loaded namespace ${l} for language ${s}`, d), this.loaded(e, u, d); }); } saveMissing(e, n, i, s, l) { var h, p, m, v, w; let u = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {}, d = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : () => { }; if ((p = (h = this.services) == null ? void 0 : h.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 ((w = this.backend) != null && w.create) { const S = { ...u, isUpdate: l }, E = this.backend.create.bind(this.backend); if (E.length < 6) try { let C; E.length === 5 ? C = E(e, n, i, s, S) : C = E(e, n, i, s), C && typeof C.then == "function" ? C.then((T) => d(null, T)).catch(d) : d(null, C); } catch (C) { d(C); } else E(e, n, i, s, d, S); } !e || !e[0] || this.store.addResource(e[0], n, i, s); } } } const lg = () => ({ 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]), Ee(t[1]) && (e.defaultValue = t[1]), Ee(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 } }), ug = (t) => { var e, n; return Ee(t.ns) && (t.ns = [t.ns]), Ee(t.fallbackLng) && (t.fallbackLng = [t.fallbackLng]), Ee(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; }, Na = () => { }, _E = (t) => { Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach((n) => { typeof t[n] == "function" && (t[n] = t[n].bind(t)); }); }; class Bo extends _a { constructor() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0; if (super(), this.options = ug(e), this.services = {}, this.logger = Vn, this.modules = { external: [] }, _E(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 && (Ee(n.ns) ? n.defaultNS = n.ns : n.ns.indexOf("translation") < 0 && (n.defaultNS = n.ns[0])); const s = lg(); this.options = { ...s, ...this.options, ...ug(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 l = (m) => m ? typeof m == "function" ? new m() : m : null; if (!this.options.isClone) { this.modules.logger ? Vn.init(l(this.modules.logger), this.options) : Vn.init(null, this.options); let m; this.modules.formatter ? m = this.modules.formatter : m = RE; const v = new ig(this.options); this.store = new eg(this.options.resources, this.options); const w = this.services; w.logger = Vn, w.resourceStore = this.store, w.languageUtils = v, w.pluralResolver = new bE(v, { prepend: this.options.pluralSeparator, simplifyPluralSuffix: this.options.simplifyPluralSuffix }), m && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (w.formatter = l(m), w.formatter.init(w, this.options), this.options.interpolation.format = w.formatter.format.bind(w.formatter)), w.interpolator = new TE(this.options), w.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, w.backendConnector = new kE(l(this.modules.backend), w.resourceStore, w, this.options), w.backendConnector.on("*", function(S) { for (var E = arguments.length, C = new Array(E > 1 ? E - 1 : 0), T = 1; T < E; T++) C[T - 1] = arguments[T]; e.emit(S, ...C); }), this.modules.languageDetector && (w.languageDetector = l(this.modules.languageDetector), w.languageDetector.init && w.languageDetector.init(w, this.options.detection, this.options)), this.modules.i18nFormat && (w.i18nFormat = l(this.modules.i18nFormat), w.i18nFormat.init && w.i18nFormat.init(this)), this.translator = new La(this.services, this.options), this.translator.on("*", function(S) { for (var E = arguments.length, C = new Array(E > 1 ? E - 1 : 0), T = 1; T < E; T++) C[T - 1] = arguments[T]; e.emit(S, ...C); }), this.modules.external.forEach((S) => { S.init && S.init(this); }); } if (this.format = this.options.interpolation.format, i || (i = Na), 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 h = Uo(), p = () => { const m = (v, w) => { 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), h.resolve(w), i(v, w); }; 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), h; } loadResources(e) { var l, u; let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Na; const s = Ee(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 = [], h = (p) => { if (!p || p === "cimode") return; this.services.languageUtils.toResolveHierarchy(p).forEach((v) => { v !== "cimode" && d.indexOf(v) < 0 && d.push(v); }); }; s ? h(s) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((m) => h(m)), (u = (l = this.options.preload) == null ? void 0 : l.forEach) == null || u.call(l, (p) => h(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 = Uo(); 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 = Na), this.services.backendConnector.reload(e, n, (l) => { s.resolve(), i(l); }), 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" && tg.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 = Uo(); this.emit("languageChanging", e); const l = (h) => { this.language = h, this.languages = this.services.languageUtils.toResolveHierarchy(h), this.resolvedLanguage = void 0, this.setResolvedLanguage(h); }, u = (h, p) => { p ? (l(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(h, function() { return i.t(...arguments); }); }, d = (h) => { var m, v; !e && !h && this.services.languageDetector && (h = []); const p = Ee(h) ? h : this.services.languageUtils.getBestMatchFromCodes(h); p && (this.language || l(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, (w) => { u(w, 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 l = function(u, d) { let h; 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]; h = s.options.overloadTranslationOptionHandler([u, d].concat(m)); } else h = { ...d }; h.lng = h.lng || l.lng, h.lngs = h.lngs || l.lngs, h.ns = h.ns || l.ns, h.keyPrefix !== "" && (h.keyPrefix = h.keyPrefix || i || l.keyPrefix); const w = s.options.keySeparator || "."; let S; return h.keyPrefix && Array.isArray(u) ? S = u.map((E) => `${h.keyPrefix}${w}${E}`) : S = h.keyPrefix ? `${h.keyPrefix}${w}${u}` : u, s.t(S, h); }; return Ee(e) ? l.lng = e : l.lngs = e, l.ns = n, l.keyPrefix = i, l; } 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, l = this.languages[this.languages.length - 1]; if (i.toLowerCase() === "cimode") return !0; const u = (d, h) => { const p = this.services.backendConnector.state[`${d}|${h}`]; 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(l, e))); } loadNamespaces(e, n) { const i = Uo(); return this.options.ns ? (Ee(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 = Uo(); Ee(e) && (e = [e]); const s = this.options.preload || [], l = e.filter((u) => s.indexOf(u) < 0 && this.services.languageUtils.isSupportedCode(u)); return l.length ? (this.options.preload = s.concat(l), this.loadResources((u) => { i.resolve(), n && n(u); }), i) : (n && n(), Promise.resolve()); } dir(e) { var s, l; 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 = ((l = this.services) == null ? void 0 : l.languageUtils) || new ig(lg()); 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 Bo(e, n); } cloneInstance() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Na; const i = e.forkResourceStore; i && delete e.forkResourceStore; const s = { ...this.options, ...e, isClone: !0 }, l = new Bo(s); if ((e.debug !== void 0 || e.prefix !== void 0) && (l.logger = l.logger.clone(e)), ["store", "services", "language"].forEach((d) => { l[d] = this[d]; }), l.services = { ...this.services }, l.services.utils = { hasLoadedNamespace: l.hasLoadedNamespace.bind(l) }, i) { const d = Object.keys(this.store.data).reduce((h, p) => (h[p] = { ...this.store.data[p] }, Object.keys(h[p]).reduce((m, v) => (m[v] = { ...h[p][v] }, m), {})), {}); l.store = new eg(d, s), l.services.resourceStore = l.store; } return l.translator = new La(l.services, s), l.translator.on("*", function(d) { for (var h = arguments.length, p = new Array(h > 1 ? h - 1 : 0), m = 1; m < h; m++) p[m - 1] = arguments[m]; l.emit(d, ...p); }), l.init(s, n), l.translator.options = s, l.translator.backendConnector.services.utils = { hasLoadedNamespace: l.hasLoadedNamespace.bind(l) }, l; } toJSON() { return { options: this.options, store: this.store, language: this.language, languages: this.languages, resolvedLanguage: this.resolvedLanguage }; } } const Et = Bo.createInstance(); Et.createInstance = Bo.createInstance, Et.createInstance, Et.dir, Et.init, Et.loadResources, Et.reloadResources, Et.use, Et.changeLanguage, Et.getFixedT; const LE = Et.t; Et.exists, Et.setDefaultNamespace, Et.hasLoadedNamespace, Et.loadNamespaces, Et.loadLanguages; function cg(t) { return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t; } var dg = { 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 fg; function NE() { if (fg) return Ne; fg = 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"), l = Symbol.for("react.provider"), u = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), v = Symbol.iterator; function w(b) { return b === null || typeof b != "object" ? null : (b = v && b[v] || b["@@iterator"], typeof b == "function" ? b : null); } var S = { isMounted: function() { return !1; }, enqueueForceUpdate: function() { }, enqueueReplaceState: function() { }, enqueueSetState: function() { } }, E = Object.assign, C = {}; function T(b, F, Q) { this.props = b, this.context = F, this.refs = C, this.updater = Q || S; } T.prototype.isReactComponent = {}, T.prototype.setState = function(b, F) { if (typeof b != "object" && typeof b != "function" && b != 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, b, F, "setState"); }, T.prototype.forceUpdate = function(b) { this.updater.enqueueForceUpdate(this, b, "forceUpdate"); }; function D() { } D.prototype = T.prototype; function L(b, F, Q) { this.props = b, this.context = F, this.refs = C, this.updater = Q || S; } var N = L.prototype = new D(); N.constructor = L, E(N, T.prototype), N.isPureReactComponent = !0; var B = Array.isArray, V = Object.prototype.hasOwnProperty, _ = { current: null }, P = { key: !0, ref: !0, __self: !0, __source: !0 }; function U(b, F, Q) { var we, de = {}, be = null, Oe = null; if (F != null) for (we in F.ref !== void 0 && (Oe = F.ref), F.key !== void 0 && (be = "" + F.key), F) V.call(F, we) && !P.hasOwnProperty(we) && (de[we] = F[we]); var _e = arguments.length - 2; if (_e === 1) de.children = Q; else if (1 < _e) { for (var ke = Array(_e), nt = 0; nt < _e; nt++) ke[nt] = arguments[nt + 2]; de.children = ke; } if (b && b.defaultProps) for (we in _e = b.defaultProps, _e) de[we] === void 0 && (de[we] = _e[we]); return { $$typeof: t, type: b, key: be, ref: Oe, props: de, _owner: _.current }; } function q(b, F) { return { $$typeof: t, type: b.type, key: F, ref: b.ref, props: b.props, _owner: b._owner }; } function ee(b) { return typeof b == "object" && b !== null && b.$$typeof === t; } function W(b) { var F = { "=": "=0", ":": "=2" }; return "$" + b.replace(/[=:]/g, function(Q) { return F[Q]; }); } var ne = /\/+/g; function ye(b, F) { return typeof b == "object" && b !== null && b.key != null ? W("" + b.key) : F.toString(36); } function ve(b, F, Q, we, de) { var be = typeof b; (be === "undefined" || be === "boolean") && (b = null); var Oe = !1; if (b === null) Oe = !0; else switch (be) { case "string": case "number": Oe = !0; break; case "object": switch (b.$$typeof) { case t: case e: Oe = !0; } } if (Oe) return Oe = b, de = de(Oe), b = we === "" ? "." + ye(Oe, 0) : we, B(de) ? (Q = "", b != null && (Q = b.replace(ne, "$&/") + "/"), ve(de, F, Q, "", function(nt) { return nt; })) : de != null && (ee(de) && (de = q(de, Q + (!de.key || Oe && Oe.key === de.key ? "" : ("" + de.key).replace(ne, "$&/") + "/") + b)), F.push(de)), 1; if (Oe = 0, we = we === "" ? "." : we + ":", B(b)) for (var _e = 0; _e < b.length; _e++) { be = b[_e]; var ke = we + ye(be, _e); Oe += ve(be, F, Q, ke, de); } else if (ke = w(b), typeof ke == "function") for (b = ke.call(b), _e = 0; !(be = b.next()).done; ) be = be.value, ke = we + ye(be, _e++), Oe += ve(be, F, Q, ke, de); else if (be === "object") throw F = String(b), Error("Objects are not valid as a React child (found: " + (F === "[object Object]" ? "object with keys {" + Object.keys(b).join(", ") + "}" : F) + "). If you meant to render a collection of children, use an array instead."); return Oe; } function xe(b, F, Q) { if (b == null) return b; var we = [], de = 0; return ve(b, we, "", "", function(be) { return F.call(Q, be, de++); }), we; } function Me(b) { if (b._status === -1) { var F = b._result; F = F(), F.then(function(Q) { (b._status === 0 || b._status === -1) && (b._status = 1, b._result = Q); }, function(Q) { (b._status === 0 || b._status === -1) && (b._status = 2, b._result = Q); }), b._status === -1 && (b._status = 0, b._result = F); } if (b._status === 1) return b._result.default; throw b._result; } var pe = { current: null }, K = { transition: null }, J = { ReactCurrentDispatcher: pe, ReactCurrentBatchConfig: K, ReactCurrentOwner: _ }; return Ne.Children = { map: xe, forEach: function(b, F, Q) { xe(b, function() { F.apply(this, arguments); }, Q); }, count: function(b) { var F = 0; return xe(b, function() { F++; }), F; }, toArray: function(b) { return xe(b, function(F) { return F; }) || []; }, only: function(b) { if (!ee(b)) throw Error("React.Children.only expected to receive a single React element child."); return b; } }, Ne.Component = T, Ne.Fragment = n, Ne.Profiler = s, Ne.PureComponent = L, Ne.StrictMode = i, Ne.Suspense = h, Ne.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = J, Ne.cloneElement = function(b, F, Q) { if (b == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + b + "."); var we = E({}, b.props), de = b.key, be = b.ref, Oe = b._owner; if (F != null) { if (F.ref !== void 0 && (be = F.ref, Oe = _.current), F.key !== void 0 && (de = "" + F.key), b.type && b.type.defaultProps) var _e = b.type.defaultProps; for (ke in F) V.call(F, ke) && !P.hasOwnProperty(ke) && (we[ke] = F[ke] === void 0 && _e !== void 0 ? _e[ke] : F[ke]); } var ke = arguments.length - 2; if (ke === 1) we.children = Q; else if (1 < ke) { _e = Array(ke); for (var nt = 0; nt < ke; nt++) _e[nt] = arguments[nt + 2]; we.children = _e; } return { $$typeof: t, type: b.type, key: de, ref: be, props: we, _owner: Oe }; }, Ne.createContext = function(b) { return b = { $$typeof: u, _currentValue: b, _currentValue2: b, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, b.Provider = { $$typeof: l, _context: b }, b.Consumer = b; }, Ne.createElement = U, Ne.createFactory = function(b) { var F = U.bind(null, b); return F.type = b, F; }, Ne.createRef = function() { return { current: null }; }, Ne.forwardRef = function(b) { return { $$typeof: d, render: b }; }, Ne.isValidElement = ee, Ne.lazy = function(b) { return { $$typeof: m, _payload: { _status: -1, _result: b }, _init: Me }; }, Ne.memo = function(b, F) { return { $$typeof: p, type: b, compare: F === void 0 ? null : F }; }, Ne.startTransition = function(b) { var F = K.transition; K.transition = {}; try { b(); } finally { K.transition = F; } }, Ne.unstable_act = function() { throw Error("act(...) is not supported in production builds of React."); }, Ne.useCallback = function(b, F) { return pe.current.useCallback(b, F); }, Ne.useContext = function(b) { return pe.current.useContext(b); }, Ne.useDebugValue = function() { }, Ne.useDeferredValue = function(b) { return pe.current.useDeferredValue(b); }, Ne.useEffect = function(b, F) { return pe.current.useEffect(b, F); }, Ne.useId = function() { return pe.current.useId(); }, Ne.useImperativeHandle = function(b, F, Q) { return pe.current.useImperativeHandle(b, F, Q); }, Ne.useInsertionEffect = function(b, F) { return pe.current.useInsertionEffect(b, F); }, Ne.useLayoutEffect = function(b, F) { return pe.current.useLayoutEffect(b, F); }, Ne.useMemo = function(b, F) { return pe.current.useMemo(b, F); }, Ne.useReducer = function(b, F, Q) { return pe.current.useReducer(b, F, Q); }, Ne.useRef = function(b) { return pe.current.useRef(b); }, Ne.useState = function(b) { return pe.current.useState(b); }, Ne.useSyncExternalStore = function(b, F, Q) { return pe.current.useSyncExternalStore(b, F, Q); }, Ne.useTransition = function() { return pe.current.useTransition(); }, Ne.version = "18.2.0", Ne; } dg.exports = NE(); var I = dg.exports; const dt = /* @__PURE__ */ cg(I), AE = (t, e, n, i) => { var l, u, d, h; const s = [n, { code: e, ...i || {} }]; if ((u = (l = t == null ? void 0 : t.services) == null ? void 0 : l.logger) != null && u.forward) return t.services.logger.forward(s, "warn", "react-i18next::", !0); ni(s[0]) && (s[0] = `react-i18next:: ${s[0]}`), (h = (d = t == null ? void 0 : t.services) == null ? void 0 : d.logger) != null && h.warn ? t.services.logger.warn(...s) : console != null && console.warn && console.warn(...s); }, hg = {}, _c = (t, e, n, i) => { ni(n) && hg[n] || (ni(n) && (hg[n] = /* @__PURE__ */ new Date()), AE(t, e, n, i)); }, pg = (t, e) => () => { if (t.isInitialized) e(); else { const n = () => { setTimeout(() => { t.off("initialized", n); }, 0), e(); }; t.on("initialized", n); } }, Lc = (t, e, n) => { t.loadNamespaces(e, pg(t, n)); }, gg = (t, e, n, i) => { if (ni(n) && (n = [n]), t.options.preload && t.options.preload.indexOf(e) > -1) return Lc(t, n, i); n.forEach((s) => { t.options.ns.indexOf(s) < 0 && t.options.ns.push(s); }), t.loadLanguages(e, pg(t, i)); }, IE = (t, e, n = {}) => !e.languages || !e.languages.length ? (_c(e, "NO_LANGUAGES", "i18n.languages were undefined or empty", { languages: e.languages }), !0) : e.hasLoadedNamespace(t, { lng: n.lng, precheck: (i, s) => { var l; if (((l = n.bindI18n) == null ? void 0 : l.indexOf("languageChanging")) > -1 && i.services.backendConnector.backend && i.isLanguageChangingTo && !s(i.isLanguageChangingTo, t)) return !1; } }), ni = (t) => typeof t == "string", DE = (t) => typeof t == "object" && t !== null, jE = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, ME = { "&": "&", "&": "&", "<": "<", "<": "<", ">": ">", ">": ">", "'": "'", "'": "'", """: '"', """: '"', " ": " ", " ": " ", "©": "©", "©": "©", "®": "®", "®": "®", "…": "…", "…": "…", "/": "/", "/": "/" }, FE = (t) => ME[t]; let Nc = { bindI18n: "languageChanged", bindI18nStore: "", transEmptyNodeValue: "", transSupportBasicHtmlNodes: !0, transWrapTextNodes: "", transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"], useSuspense: !0, unescape: (t) => t.replace(jE, FE) }; const $E = (t = {}) => { Nc = { ...Nc, ...t }; }, UE = () => Nc; let mg; const zE = (t) => { mg = t; }, BE = () => mg, vg = { type: "3rdParty", init(t) { $E(t.options.react), zE(t); } }, HE = I.createContext(); class VE { constructor() { this.usedNamespaces = {}; } addUsedNamespaces(e) { e.forEach((n) => { this.usedNamespaces[n] || (this.usedNamespaces[n] = !0); }); } getUsedNamespaces() { return Object.keys(this.usedNamespaces); } } const WE = (t, e) => { const n = I.useRef(); return I.useEffect(() => { n.current = e ? n.current : t; }, [t, e]), n.current; }, yg = (t, e, n, i) => t.getFixedT(e, n, i), qE = (t, e, n, i) => I.useCallback(yg(t, e, n, i), [t, e, n, i]), yr = (t, e = {}) => { var B, V, _, P; const { i18n: n } = e, { i18n: i, defaultNS: s } = I.useContext(HE) || {}, l = n || i || BE(); if (l && !l.reportNamespaces && (l.reportNamespaces = new VE()), !l) { _c(l, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next"); const U = (ee, W) => ni(W) ? W : DE(W) && ni(W.defaultValue) ? W.defaultValue : Array.isArray(ee) ? ee[ee.length - 1] : ee, q = [U, {}, !1]; return q.t = U, q.i18n = {}, q.ready = !1, q; } (B = l.options.react) != null && B.wait && _c(l, "DEPRECATED_OPTION", "useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour."); const u = { ...UE(), ...l.options.react, ...e }, { useSuspense: d, keyPrefix: h } = u; let p = t || s || ((V = l.options) == null ? void 0 : V.defaultNS); p = ni(p) ? [p] : p || ["translation"], (P = (_ = l.reportNamespaces).addUsedNamespaces) == null || P.call(_, p); const m = (l.isInitialized || l.initializedStoreOnce) && p.every((U) => IE(U, l, u)), v = qE(l, e.lng || null, u.nsMode === "fallback" ? p : p[0], h), w = () => v, S = () => yg(l, e.lng || null, u.nsMode === "fallback" ? p : p[0], h), [E, C] = I.useState(w); let T = p.join(); e.lng && (T = `${e.lng}${T}`); const D = WE(T), L = I.useRef(!0); I.useEffect(() => { const { bindI18n: U, bindI18nStore: q } = u; L.current = !0, !m && !d && (e.lng ? gg(l, e.lng, p, () => { L.current && C(S); }) : Lc(l, p, () => { L.current && C(S); })), m && D && D !== T && L.current && C(S); const ee = () => { L.current && C(S); }; return U && (l == null || l.on(U, ee)), q && (l == null || l.store.on(q, ee)), () => { L.current = !1, l && (U == null || U.split(" ").forEach((W) => l.off(W, ee))), q && l && q.split(" ").forEach((W) => l.store.off(W, ee)); }; }, [l, T]), I.useEffect(() => { L.current && m && C(w); }, [l, h, m]); const N = [E, l, m]; if (N.t = E, N.i18n = l, N.ready = m, m || !m && !d) return N; throw new Promise((U) => { e.lng ? gg(l, e.lng, p, () => U()) : Lc(l, p, () => U()); }); }; var wg = { exports: {} }, Xt = {}, Ac = { exports: {} }, Ic = {}; /** * @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 Sg; function KE() { return Sg || (Sg = 1, function(t) { function e(K, J) { var b = K.length; K.push(J); e: for (; 0 < b; ) { var F = b - 1 >>> 1, Q = K[F]; if (0 < s(Q, J)) K[F] = J, K[b] = Q, b = F; else break e; } } function n(K) { return K.length === 0 ? null : K[0]; } function i(K) { if (K.length === 0) return null; var J = K[0], b = K.pop(); if (b !== J) { K[0] = b; e: for (var F = 0, Q = K.length, we = Q >>> 1; F < we; ) { var de = 2 * (F + 1) - 1, be = K[de], Oe = de + 1, _e = K[Oe]; if (0 > s(be, b)) Oe < Q && 0 > s(_e, be) ? (K[F] = _e, K[Oe] = b, F = Oe) : (K[F] = be, K[de] = b, F = de); else if (Oe < Q && 0 > s(_e, b)) K[F] = _e, K[Oe] = b, F = Oe; else break e; } } return J; } function s(K, J) { var b = K.sortIndex - J.sortIndex; return b !== 0 ? b : K.id - J.id; } if (typeof performance == "object" && typeof performance.now == "function") { var l = performance; t.unstable_now = function() { return l.now(); }; } else { var u = Date, d = u.now(); t.unstable_now = function() { return u.now() - d; }; } var h = [], p = [], m = 1, v = null, w = 3, S = !1, E = !1, C = !1, T = typeof setTimeout == "function" ? setTimeout : null, D = typeof clearTimeout == "function" ? clearTimeout : null, L = typeof setImmediate < "u" ? setImmediate : null; typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling); function N(K) { for (var J = n(p); J !== null; ) { if (J.callback === null) i(p); else if (J.startTime <= K) i(p), J.sortIndex = J.expirationTime, e(h, J); else break; J = n(p); } } function B(K) { if (C = !1, N(K), !E) if (n(h) !== null) E = !0, Me(V); else { var J = n(p); J !== null && pe(B, J.startTime - K); } } function V(K, J) { E = !1, C && (C = !1, D(U), U = -1), S = !0; var b = w; try { for (N(J), v = n(h); v !== null && (!(v.expirationTime > J) || K && !W()); ) { var F = v.callback; if (typeof F == "function") { v.callback = null, w = v.priorityLevel; var Q = F(v.expirationTime <= J); J = t.unstable_now(), typeof Q == "function" ? v.callback = Q : v === n(h) && i(h), N(J); } else i(h); v = n(h); } if (v !== null) var we = !0; else { var de = n(p); de !== null && pe(B, de.startTime - J), we = !1; } return we; } finally { v = null, w = b, S = !1; } } var _ = !1, P = null, U = -1, q = 5, ee = -1; function W() { return !(t.unstable_now() - ee < q); } function ne() { if (P !== null) { var K = t.unstable_now(); ee = K; var J = !0; try { J = P(!0, K); } finally { J ? ye() : (_ = !1, P = null); } } else _ = !1; } var ye; if (typeof L == "function") ye = function() { L(ne); }; else if (typeof MessageChannel < "u") { var ve = new MessageChannel(), xe = ve.port2; ve.port1.onmessage = ne, ye = function() { xe.postMessage(null); }; } else ye = function() { T(ne, 0); }; function Me(K) { P = K, _ || (_ = !0, ye()); } function pe(K, J) { U = T(function() { K(t.unstable_now()); }, J); } 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(K) { K.callback = null; }, t.unstable_continueExecution = function() { E || S || (E = !0, Me(V)); }, t.unstable_forceFrameRate = function(K) { 0 > K || 125 < K ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : q = 0 < K ? Math.floor(1e3 / K) : 5; }, t.unstable_getCurrentPriorityLevel = function() { return w; }, t.unstable_getFirstCallbackNode = function() { return n(h); }, t.unstable_next = function(K) { switch (w) { case 1: case 2: case 3: var J = 3; break; default: J = w; } var b = w; w = J; try { return K(); } finally { w = b; } }, t.unstable_pauseExecution = function() { }, t.unstable_requestPaint = function() { }, t.unstable_runWithPriority = function(K, J) { switch (K) { case 1: case 2: case 3: case 4: case 5: break; default: K = 3; } var b = w; w = K; try { return J(); } finally { w = b; } }, t.unstable_scheduleCallback = function(K, J, b) { var F = t.unstable_now(); switch (typeof b == "object" && b !== null ? (b = b.delay, b = typeof b == "number" && 0 < b ? F + b : F) : b = F, K) { case 1: var Q = -1; break; case 2: Q = 250; break; case 5: Q = 1073741823; break; case 4: Q = 1e4; break; default: Q = 5e3; } return Q = b + Q, K = { id: m++, callback: J, priorityLevel: K, startTime: b, expirationTime: Q, sortIndex: -1 }, b > F ? (K.sortIndex = b, e(p, K), n(h) === null && K === n(p) && (C ? (D(U), U = -1) : C = !0, pe(B, b - F))) : (K.sortIndex = Q, e(h, K), E || S || (E = !0, Me(V))), K; }, t.unstable_shouldYield = W, t.unstable_wrapCallback = function(K) { var J = w; return function() { var b = w; w = J; try { return K.apply(this, arguments); } finally { w = b; } }; }; }(Ic)), Ic; } var Eg; function GE() { return Eg || (Eg = 1, Ac.exports = KE()), Ac.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 xg; function YE() { if (xg) return Xt; xg = 1; var t = I, e = GE(); function n(r) { for (var o = "https://reactjs.org/docs/error-decoder.html?invariant=" + r, a = 1; a < arguments.length; a++) o += "&args[]=" + encodeURIComponent(arguments[a]); 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 l(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"), h = 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 w(r) { return h.call(v, r) ? !0 : h.call(m, r) ? !1 : p.test(r) ? v[r] = !0 : (m[r] = !0, !1); } function S(r, o, a, c) { if (a !== null && a.type === 0) return !1; switch (typeof o) { case "function": case "symbol": return !0; case "boolean": return c ? !1 : a !== null ? !a.acceptsBooleans : (r = r.toLowerCase().slice(0, 5), r !== "data-" && r !== "aria-"); default: return !1; } } function E(r, o, a, c) { if (o === null || typeof o > "u" || S(r, o, a, c)) return !0; if (c) return !1; if (a !== null) switch (a.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 C(r, o, a, c, f, g, y) { this.acceptsBooleans = o === 2 || o === 3 || o === 4, this.attributeName = c, this.attributeNamespace = f, this.mustUseProperty = a, this.propertyName = r, this.type = o, this.sanitizeURL = g, this.removeEmptyString = y; } var T = {}; "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r) { T[r] = new C(r, 0, !1, r, null, !1, !1); }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(r) { var o = r[0]; T[o] = new C(o, 1, !1, r[1], null, !1, !1); }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(r) { T[r] = new C(r, 2, !1, r.toLowerCase(), null, !1, !1); }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(r) { T[r] = new C(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) { T[r] = new C(r, 3, !1, r.toLowerCase(), null, !1, !1); }), ["checked", "multiple", "muted", "selected"].forEach(function(r) { T[r] = new C(r, 3, !0, r, null, !1, !1); }), ["capture", "download"].forEach(function(r) { T[r] = new C(r, 4, !1, r, null, !1, !1); }), ["cols", "rows", "size", "span"].forEach(function(r) { T[r] = new C(r, 6, !1, r, null, !1, !1); }), ["rowSpan", "start"].forEach(function(r) { T[r] = new C(r, 5, !1, r.toLowerCase(), null, !1, !1); }); var D = /[\-:]([a-z])/g; function L(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( D, L ); T[o] = new C(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(D, L); T[o] = new C(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(D, L); T[o] = new C(o, 1, !1, r, "http://www.w3.org/XML/1998/namespace", !1, !1); }), ["tabIndex", "crossOrigin"].forEach(function(r) { T[r] = new C(r, 1, !1, r.toLowerCase(), null, !1, !1); }), T.xlinkHref = new C("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(r) { T[r] = new C(r, 1, !1, r.toLowerCase(), null, !0, !0); }); function N(r, o, a, c) { var f = T.hasOwnProperty(o) ? T[o] : null; (f !== null ? f.type !== 0 : c || !(2 < o.length) || o[0] !== "o" && o[0] !== "O" || o[1] !== "n" && o[1] !== "N") && (E(o, a, f, c) && (a = null), c || f === null ? w(o) && (a === null ? r.removeAttribute(o) : r.setAttribute(o, "" + a)) : f.mustUseProperty ? r[f.propertyName] = a === null ? f.type === 3 ? !1 : "" : a : (o = f.attributeName, c = f.attributeNamespace, a === null ? r.removeAttribute(o) : (f = f.type, a = f === 3 || f === 4 && a === !0 ? "" : "" + a, c ? r.setAttributeNS(c, o, a) : r.setAttribute(o, a)))); } var B = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, V = Symbol.for("react.element"), _ = Symbol.for("react.portal"), P = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), q = Symbol.for("react.profiler"), ee = Symbol.for("react.provider"), W = Symbol.for("react.context"), ne = Symbol.for("react.forward_ref"), ye = Symbol.for("react.suspense"), ve = Symbol.for("react.suspense_list"), xe = Symbol.for("react.memo"), Me = Symbol.for("react.lazy"), pe = Symbol.for("react.offscreen"), K = Symbol.iterator; function J(r) { return r === null || typeof r != "object" ? null : (r = K && r[K] || r["@@iterator"], typeof r == "function" ? r : null); } var b = Object.assign, F; function Q(r) { if (F === void 0) try { throw Error(); } catch (a) { var o = a.stack.trim().match(/\n( *(at )?)/); F = o && o[1] || ""; } return ` ` + F + r; } var we = !1; function de(r, o) { if (!r || we) return ""; we = !0; var a = 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 (M) { var c = M; } Reflect.construct(r, [], o); } else { try { o.call(); } catch (M) { c = M; } r.call(o.prototype); } else { try { throw Error(); } catch (M) { c = M; } r(); } } catch (M) { if (M && c && typeof M.stack == "string") { for (var f = M.stack.split(` `), g = c.stack.split(` `), y = f.length - 1, x = g.length - 1; 1 <= y && 0 <= x && f[y] !== g[x]; ) x--; for (; 1 <= y && 0 <= x; y--, x--) if (f[y] !== g[x]) { if (y !== 1 || x !== 1) do if (y--, x--, 0 > x || f[y] !== g[x]) { var O = ` ` + f[y].replace(" at new ", " at "); return r.displayName && O.includes("") && (O = O.replace("", r.displayName)), O; } while (1 <= y && 0 <= x); break; } } } finally { we = !1, Error.prepareStackTrace = a; } return (r = r ? r.displayName || r.name : "") ? Q(r) : ""; } function be(r) { switch (r.tag) { case 5: return Q(r.type); case 16: return Q("Lazy"); case 13: return Q("Suspense"); case 19: return Q("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 Oe(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 P: return "Fragment"; case _: return "Portal"; case q: return "Profiler"; case U: return "StrictMode"; case ye: return "Suspense"; case ve: 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 ne: var o = r.render; return r = r.displayName, r || (r = o.displayName || o.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r; case xe: return o = r.displayName || null, o !== null ? o : Oe(r.type) || "Memo"; case Me: o = r._payload, r = r._init; try { return Oe(r(o)); } catch { } } return null; } function _e(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 Oe(o); case 8: return o === U ? "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 ke(r) { switch (typeof r) { case "boolean": case "number": case "string": case "undefined": return r; case "object": return r; default: return ""; } } function nt(r) { var o = r.type; return (r = r.nodeName) && r.toLowerCase() === "input" && (o === "checkbox" || o === "radio"); } function Pr(r) { var o = nt(r) ? "checked" : "value", a = Object.getOwnPropertyDescriptor(r.constructor.prototype, o), c = "" + r[o]; if (!r.hasOwnProperty(o) && typeof a < "u" && typeof a.get == "function" && typeof a.set == "function") { var f = a.get, g = a.set; return Object.defineProperty(r, o, { configurable: !0, get: function() { return f.call(this); }, set: function(y) { c = "" + y, g.call(this, y); } }), Object.defineProperty(r, o, { enumerable: a.enumerable }), { getValue: function() { return c; }, setValue: function(y) { c = "" + y; }, stopTracking: function() { r._valueTracker = null, delete r[o]; } }; } } function gn(r) { r._valueTracker || (r._valueTracker = Pr(r)); } function gt(r) { if (!r) return !1; var o = r._valueTracker; if (!o) return !0; var a = o.getValue(), c = ""; return r && (c = nt(r) ? r.checked ? "true" : "false" : r.value), r = c, r !== a ? (o.setValue(r), !0) : !1; } function Nn(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 yi(r, o) { var a = o.checked; return b({}, o, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: a ?? r._wrapperState.initialChecked }); } function An(r, o) { var a = o.defaultValue == null ? "" : o.defaultValue, c = o.checked != null ? o.checked : o.defaultChecked; a = ke(o.value != null ? o.value : a), r._wrapperState = { initialChecked: c, initialValue: a, controlled: o.type === "checkbox" || o.type === "radio" ? o.checked != null : o.value != null }; } function ir(r, o) { o = o.checked, o != null && N(r, "checked", o, !1); } function Kn(r, o) { ir(r, o); var a = ke(o.value), c = o.type; if (a != null) c === "number" ? (a === 0 && r.value === "" || r.value != a) && (r.value = "" + a) : r.value !== "" + a && (r.value = "" + a); else if (c === "submit" || c === "reset") { r.removeAttribute("value"); return; } o.hasOwnProperty("value") ? kr(r, o.type, a) : o.hasOwnProperty("defaultValue") && kr(r, o.type, ke(o.defaultValue)), o.checked == null && o.defaultChecked != null && (r.defaultChecked = !!o.defaultChecked); } function or(r, o, a) { 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, a || o === r.value || (r.value = o), r.defaultValue = o; } a = r.name, a !== "" && (r.name = ""), r.defaultChecked = !!r._wrapperState.initialChecked, a !== "" && (r.name = a); } function kr(r, o, a) { (o !== "number" || Nn(r.ownerDocument) !== r) && (a == null ? r.defaultValue = "" + r._wrapperState.initialValue : r.defaultValue !== "" + a && (r.defaultValue = "" + a)); } var In = Array.isArray; function mn(r, o, a, c) { if (r = r.options, o) { o = {}; for (var f = 0; f < a.length; f++) o["$" + a[f]] = !0; for (a = 0; a < r.length; a++) f = o.hasOwnProperty("$" + r[a].value), r[a].selected !== f && (r[a].selected = f), f && c && (r[a].defaultSelected = !0); } else { for (a = "" + ke(a), o = null, f = 0; f < r.length; f++) { if (r[f].value === a) { r[f].selected = !0, c && (r[f].defaultSelected = !0); return; } o !== null || r[f].disabled || (o = r[f]); } o !== null && (o.selected = !0); } } function sr(r, o) { if (o.dangerouslySetInnerHTML != null) throw Error(n(91)); return b({}, o, { value: void 0, defaultValue: void 0, children: "" + r._wrapperState.initialValue }); } function wi(r, o) { var a = o.value; if (a == null) { if (a = o.children, o = o.defaultValue, a != null) { if (o != null) throw Error(n(92)); if (In(a)) { if (1 < a.length) throw Error(n(93)); a = a[0]; } o = a; } o == null && (o = ""), a = o; } r._wrapperState = { initialValue: ke(a) }; } function vn(r, o) { var a = ke(o.value), c = ke(o.defaultValue); a != null && (a = "" + a, a !== r.value && (r.value = a), o.defaultValue == null && r.defaultValue !== a && (r.defaultValue = a)), c != null && (r.defaultValue = "" + c); } function qt(r) { var o = r.textContent; o === r._wrapperState.initialValue && o !== "" && o !== null && (r.value = o); } function lt(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 _r(r, o) { return r == null || r === "http://www.w3.org/1999/xhtml" ? lt(o) : r === "http://www.w3.org/2000/svg" && o === "foreignObject" ? "http://www.w3.org/1999/xhtml" : r; } var Kt, Rt = function(r) { return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(o, a, c, f) { MSApp.execUnsafeLocalFunction(function() { return r(o, a, c, f); }); } : r; }(function(r, o) { if (r.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in r) r.innerHTML = o; else { for (Kt = Kt || document.createElement("div"), Kt.innerHTML = "" + o.valueOf().toString() + "", o = Kt.firstChild; r.firstChild; ) r.removeChild(r.firstChild); for (; o.firstChild; ) r.appendChild(o.firstChild); } }); function Lr(r, o) { if (o) { var a = r.firstChild; if (a && a === r.lastChild && a.nodeType === 3) { a.nodeValue = o; return; } } r.textContent = o; } var Si = { 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 }, Gn = ["Webkit", "ms", "Moz", "O"]; Object.keys(Si).forEach(function(r) { Gn.forEach(function(o) { o = o + r.charAt(0).toUpperCase() + r.substring(1), Si[o] = Si[r]; }); }); function Ei(r, o, a) { return o == null || typeof o == "boolean" || o === "" ? "" : a || typeof o != "number" || o === 0 || Si.hasOwnProperty(r) && Si[r] ? ("" + o).trim() : o + "px"; } function nu(r, o) { r = r.style; for (var a in o) if (o.hasOwnProperty(a)) { var c = a.indexOf("--") === 0, f = Ei(a, o[a], c); a === "float" && (a = "cssFloat"), c ? r.setProperty(a, f) : r[a] = f; } } var Z = b({ 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 ge(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 Le = null; function Ye(r) { return r = r.target || r.srcElement || window, r.correspondingUseElement && (r = r.correspondingUseElement), r.nodeType === 3 ? r.parentNode : r; } var De = null, Fe = null, Be = null; function Xe(r) { if (r = Zs(r)) { if (typeof De != "function") throw Error(n(280)); var o = r.stateNode; o && (o = ku(o), De(r.stateNode, r.type, o)); } } function Re(r) { Fe ? Be ? Be.push(r) : Be = [r] : Fe = r; } function $e() { if (Fe) { var r = Fe, o = Be; if (Be = Fe = null, Xe(r), o) for (r = 0; r < o.length; r++) Xe(o[r]); } } function Gt(r, o) { return r(o); } function ar() { } var Yt = !1; function wt(r, o, a) { if (Yt) return r(o, a); Yt = !0; try { return Gt(r, o, a); } finally { Yt = !1, (Fe !== null || Be !== null) && (ar(), $e()); } } function At(r, o) { var a = r.stateNode; if (a === null) return null; var c = ku(a); if (c === null) return null; a = 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 (a && typeof a != "function") throw Error(n(231, o, typeof a)); return a; } var sn = !1; if (d) try { var mt = {}; Object.defineProperty(mt, "passive", { get: function() { sn = !0; } }), window.addEventListener("test", mt, mt), window.removeEventListener("test", mt, mt); } catch { sn = !1; } function lr(r, o, a, c, f, g, y, x, O) { var M = Array.prototype.slice.call(arguments, 3); try { o.apply(a, M); } catch (Y) { this.onError(Y); } } var yn = !1, Ut = null, Yn = !1, Nr = null, ru = { onError: function(r) { yn = !0, Ut = r; } }; function iu(r, o, a, c, f, g, y, x, O) { yn = !1, Ut = null, lr.apply(ru, arguments); } function Ps(r, o, a, c, f, g, y, x, O) { if (iu.apply(this, arguments), yn) { if (yn) { var M = Ut; yn = !1, Ut = null; } else throw Error(n(198)); Yn || (Yn = !0, Nr = M); } } function Zn(r) { var o = r, a = r; if (r.alternate) for (; o.return; ) o = o.return; else { r = o; do o = r, o.flags & 4098 && (a = o.return), r = o.return; while (r); } return o.tag === 3 ? a : null; } function po(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 ks(r) { if (Zn(r) !== r) throw Error(n(188)); } function ou(r) { var o = r.alternate; if (!o) { if (o = Zn(r), o === null) throw Error(n(188)); return o !== r ? null : r; } for (var a = r, c = o; ; ) { var f = a.return; if (f === null) break; var g = f.alternate; if (g === null) { if (c = f.return, c !== null) { a = c; continue; } break; } if (f.child === g.child) { for (g = f.child; g; ) { if (g === a) return ks(f), r; if (g === c) return ks(f), o; g = g.sibling; } throw Error(n(188)); } if (a.return !== c.return) a = f, c = g; else { for (var y = !1, x = f.child; x; ) { if (x === a) { y = !0, a = f, c = g; break; } if (x === c) { y = !0, c = f, a = g; break; } x = x.sibling; } if (!y) { for (x = g.child; x; ) { if (x === a) { y = !0, a = g, c = f; break; } if (x === c) { y = !0, c = g, a = f; break; } x = x.sibling; } if (!y) throw Error(n(189)); } } if (a.alternate !== c) throw Error(n(190)); } if (a.tag !== 3) throw Error(n(188)); return a.stateNode.current === a ? r : o; } function Ar(r) { return r = ou(r), r !== null ? _s(r) : null; } function _s(r) { if (r.tag === 5 || r.tag === 6) return r; for (r = r.child; r !== null; ) { var o = _s(r); if (o !== null) return o; r = r.sibling; } return null; } var xi = e.unstable_scheduleCallback, Ci = e.unstable_cancelCallback, su = e.unstable_shouldYield, au = e.unstable_requestPaint, rt = e.unstable_now, lu = e.unstable_getCurrentPriorityLevel, Ir = e.unstable_ImmediatePriority, Ls = e.unstable_UserBlockingPriority, uu = e.unstable_NormalPriority, JO = e.unstable_LowPriority, u0 = e.unstable_IdlePriority, cu = null, Qn = null; function e5(r) { if (Qn && typeof Qn.onCommitFiberRoot == "function") try { Qn.onCommitFiberRoot(cu, r, void 0, (r.current.flags & 128) === 128); } catch { } } var Dn = Math.clz32 ? Math.clz32 : r5, t5 = Math.log, n5 = Math.LN2; function r5(r) { return r >>>= 0, r === 0 ? 32 : 31 - (t5(r) / n5 | 0) | 0; } var du = 64, fu = 4194304; function Ns(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 hu(r, o) { var a = r.pendingLanes; if (a === 0) return 0; var c = 0, f = r.suspendedLanes, g = r.pingedLanes, y = a & 268435455; if (y !== 0) { var x = y & ~f; x !== 0 ? c = Ns(x) : (g &= y, g !== 0 && (c = Ns(g))); } else y = a & ~f, y !== 0 ? c = Ns(y) : g !== 0 && (c = Ns(g)); if (c === 0) return 0; if (o !== 0 && o !== c && !(o & f) && (f = c & -c, g = o & -o, f >= g || f === 16 && (g & 4194240) !== 0)) return o; if (c & 4 && (c |= a & 16), o = r.entangledLanes, o !== 0) for (r = r.entanglements, o &= c; 0 < o; ) a = 31 - Dn(o), f = 1 << a, c |= r[a], o &= ~f; return c; } function i5(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 o5(r, o) { for (var a = r.suspendedLanes, c = r.pingedLanes, f = r.expirationTimes, g = r.pendingLanes; 0 < g; ) { var y = 31 - Dn(g), x = 1 << y, O = f[y]; O === -1 ? (!(x & a) || x & c) && (f[y] = i5(x, o)) : O <= o && (r.expiredLanes |= x), g &= ~x; } } function If(r) { return r = r.pendingLanes & -1073741825, r !== 0 ? r : r & 1073741824 ? 1073741824 : 0; } function c0() { var r = du; return du <<= 1, !(du & 4194240) && (du = 64), r; } function Df(r) { for (var o = [], a = 0; 31 > a; a++) o.push(r); return o; } function As(r, o, a) { r.pendingLanes |= o, o !== 536870912 && (r.suspendedLanes = 0, r.pingedLanes = 0), r = r.eventTimes, o = 31 - Dn(o), r[o] = a; } function s5(r, o) { var a = 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 < a; ) { var f = 31 - Dn(a), g = 1 << f; o[f] = 0, c[f] = -1, r[f] = -1, a &= ~g; } } function jf(r, o) { var a = r.entangledLanes |= o; for (r = r.entanglements; a; ) { var c = 31 - Dn(a), f = 1 << c; f & o | r[c] & o && (r[c] |= o), a &= ~f; } } var Ke = 0; function d0(r) { return r &= -r, 1 < r ? 4 < r ? r & 268435455 ? 16 : 536870912 : 4 : 1; } var f0, Mf, h0, p0, g0, Ff = !1, pu = [], Dr = null, jr = null, Mr = null, Is = /* @__PURE__ */ new Map(), Ds = /* @__PURE__ */ new Map(), Fr = [], a5 = "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 m0(r, o) { switch (r) { case "focusin": case "focusout": Dr = null; break; case "dragenter": case "dragleave": jr = null; break; case "mouseover": case "mouseout": Mr = null; break; case "pointerover": case "pointerout": Is.delete(o.pointerId); break; case "gotpointercapture": case "lostpointercapture": Ds.delete(o.pointerId); } } function js(r, o, a, c, f, g) { return r === null || r.nativeEvent !== g ? (r = { blockedOn: o, domEventName: a, eventSystemFlags: c, nativeEvent: g, targetContainers: [f] }, o !== null && (o = Zs(o), o !== null && Mf(o)), r) : (r.eventSystemFlags |= c, o = r.targetContainers, f !== null && o.indexOf(f) === -1 && o.push(f), r); } function l5(r, o, a, c, f) { switch (o) { case "focusin": return Dr = js(Dr, r, o, a, c, f), !0; case "dragenter": return jr = js(jr, r, o, a, c, f), !0; case "mouseover": return Mr = js(Mr, r, o, a, c, f), !0; case "pointerover": var g = f.pointerId; return Is.set(g, js(Is.get(g) || null, r, o, a, c, f)), !0; case "gotpointercapture": return g = f.pointerId, Ds.set(g, js(Ds.get(g) || null, r, o, a, c, f)), !0; } return !1; } function v0(r) { var o = bi(r.target); if (o !== null) { var a = Zn(o); if (a !== null) { if (o = a.tag, o === 13) { if (o = po(a), o !== null) { r.blockedOn = o, g0(r.priority, function() { h0(a); }); return; } } else if (o === 3 && a.stateNode.current.memoizedState.isDehydrated) { r.blockedOn = a.tag === 3 ? a.stateNode.containerInfo : null; return; } } } r.blockedOn = null; } function gu(r) { if (r.blockedOn !== null) return !1; for (var o = r.targetContainers; 0 < o.length; ) { var a = Uf(r.domEventName, r.eventSystemFlags, o[0], r.nativeEvent); if (a === null) { a = r.nativeEvent; var c = new a.constructor(a.type, a); Le = c, a.target.dispatchEvent(c), Le = null; } else return o = Zs(a), o !== null && Mf(o), r.blockedOn = a, !1; o.shift(); } return !0; } function y0(r, o, a) { gu(r) && a.delete(o); } function u5() { Ff = !1, Dr !== null && gu(Dr) && (Dr = null), jr !== null && gu(jr) && (jr = null), Mr !== null && gu(Mr) && (Mr = null), Is.forEach(y0), Ds.forEach(y0); } function Ms(r, o) { r.blockedOn === o && (r.blockedOn = null, Ff || (Ff = !0, e.unstable_scheduleCallback(e.unstable_NormalPriority, u5))); } function Fs(r) { function o(f) { return Ms(f, r); } if (0 < pu.length) { Ms(pu[0], r); for (var a = 1; a < pu.length; a++) { var c = pu[a]; c.blockedOn === r && (c.blockedOn = null); } } for (Dr !== null && Ms(Dr, r), jr !== null && Ms(jr, r), Mr !== null && Ms(Mr, r), Is.forEach(o), Ds.forEach(o), a = 0; a < Fr.length; a++) c = Fr[a], c.blockedOn === r && (c.blockedOn = null); for (; 0 < Fr.length && (a = Fr[0], a.blockedOn === null); ) v0(a), a.blockedOn === null && Fr.shift(); } var go = B.ReactCurrentBatchConfig, mu = !0; function c5(r, o, a, c) { var f = Ke, g = go.transition; go.transition = null; try { Ke = 1, $f(r, o, a, c); } finally { Ke = f, go.transition = g; } } function d5(r, o, a, c) { var f = Ke, g = go.transition; go.transition = null; try { Ke = 4, $f(r, o, a, c); } finally { Ke = f, go.transition = g; } } function $f(r, o, a, c) { if (mu) { var f = Uf(r, o, a, c); if (f === null) rh(r, o, c, vu, a), m0(r, c); else if (l5(f, r, o, a, c)) c.stopPropagation(); else if (m0(r, c), o & 4 && -1 < a5.indexOf(r)) { for (; f !== null; ) { var g = Zs(f); if (g !== null && f0(g), g = Uf(r, o, a, c), g === null && rh(r, o, c, vu, a), g === f) break; f = g; } f !== null && c.stopPropagation(); } else rh(r, o, c, null, a); } } var vu = null; function Uf(r, o, a, c) { if (vu = null, r = Ye(c), r = bi(r), r !== null) if (o = Zn(r), o === null) r = null; else if (a = o.tag, a === 13) { if (r = po(o), r !== null) return r; r = null; } else if (a === 3) { if (o.stateNode.current.memoizedState.isDehydrated) return o.tag === 3 ? o.stateNode.containerInfo : null; r = null; } else o !== r && (r = null); return vu = r, null; } function w0(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 (lu()) { case Ir: return 1; case Ls: return 4; case uu: case JO: return 16; case u0: return 536870912; default: return 16; } default: return 16; } } var $r = null, zf = null, yu = null; function S0() { if (yu) return yu; var r, o = zf, a = o.length, c, f = "value" in $r ? $r.value : $r.textContent, g = f.length; for (r = 0; r < a && o[r] === f[r]; r++) ; var y = a - r; for (c = 1; c <= y && o[a - c] === f[g - c]; c++) ; return yu = f.slice(r, 1 < c ? 1 - c : void 0); } function wu(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 Su() { return !0; } function E0() { return !1; } function an(r) { function o(a, c, f, g, y) { this._reactName = a, this._targetInst = f, this.type = c, this.nativeEvent = g, this.target = y, this.currentTarget = null; for (var x in r) r.hasOwnProperty(x) && (a = r[x], this[x] = a ? a(g) : g[x]); return this.isDefaultPrevented = (g.defaultPrevented != null ? g.defaultPrevented : g.returnValue === !1) ? Su : E0, this.isPropagationStopped = E0, this; } return b(o.prototype, { preventDefault: function() { this.defaultPrevented = !0; var a = this.nativeEvent; a && (a.preventDefault ? a.preventDefault() : typeof a.returnValue != "unknown" && (a.returnValue = !1), this.isDefaultPrevented = Su); }, stopPropagation: function() { var a = this.nativeEvent; a && (a.stopPropagation ? a.stopPropagation() : typeof a.cancelBubble != "unknown" && (a.cancelBubble = !0), this.isPropagationStopped = Su); }, persist: function() { }, isPersistent: Su }), o; } var mo = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(r) { return r.timeStamp || Date.now(); }, defaultPrevented: 0, isTrusted: 0 }, Bf = an(mo), $s = b({}, mo, { view: 0, detail: 0 }), f5 = an($s), Hf, Vf, Us, Eu = b({}, $s, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: qf, 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 !== Us && (Us && r.type === "mousemove" ? (Hf = r.screenX - Us.screenX, Vf = r.screenY - Us.screenY) : Vf = Hf = 0, Us = r), Hf); }, movementY: function(r) { return "movementY" in r ? r.movementY : Vf; } }), x0 = an(Eu), h5 = b({}, Eu, { dataTransfer: 0 }), p5 = an(h5), g5 = b({}, $s, { relatedTarget: 0 }), Wf = an(g5), m5 = b({}, mo, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), v5 = an(m5), y5 = b({}, mo, { clipboardData: function(r) { return "clipboardData" in r ? r.clipboardData : window.clipboardData; } }), w5 = an(y5), S5 = b({}, mo, { data: 0 }), C0 = an(S5), E5 = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", Up: "ArrowUp", Right: "ArrowRight", Down: "ArrowDown", Del: "Delete", Win: "OS", Menu: "ContextMenu", Apps: "ContextMenu", Scroll: "ScrollLock", MozPrintableKey: "Unidentified" }, x5 = { 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" }, C5 = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; function b5(r) { var o = this.nativeEvent; return o.getModifierState ? o.getModifierState(r) : (r = C5[r]) ? !!o[r] : !1; } function qf() { return b5; } var T5 = b({}, $s, { key: function(r) { if (r.key) { var o = E5[r.key] || r.key; if (o !== "Unidentified") return o; } return r.type === "keypress" ? (r = wu(r), r === 13 ? "Enter" : String.fromCharCode(r)) : r.type === "keydown" || r.type === "keyup" ? x5[r.keyCode] || "Unidentified" : ""; }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: qf, charCode: function(r) { return r.type === "keypress" ? wu(r) : 0; }, keyCode: function(r) { return r.type === "keydown" || r.type === "keyup" ? r.keyCode : 0; }, which: function(r) { return r.type === "keypress" ? wu(r) : r.type === "keydown" || r.type === "keyup" ? r.keyCode : 0; } }), O5 = an(T5), R5 = b({}, Eu, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), b0 = an(R5), P5 = b({}, $s, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: qf }), k5 = an(P5), _5 = b({}, mo, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), L5 = an(_5), N5 = b({}, Eu, { 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 }), A5 = an(N5), I5 = [9, 13, 27, 32], Kf = d && "CompositionEvent" in window, zs = null; d && "documentMode" in document && (zs = document.documentMode); var D5 = d && "TextEvent" in window && !zs, T0 = d && (!Kf || zs && 8 < zs && 11 >= zs), O0 = " ", R0 = !1; function P0(r, o) { switch (r) { case "keyup": return I5.indexOf(o.keyCode) !== -1; case "keydown": return o.keyCode !== 229; case "keypress": case "mousedown": case "focusout": return !0; default: return !1; } } function k0(r) { return r = r.detail, typeof r == "object" && "data" in r ? r.data : null; } var vo = !1; function j5(r, o) { switch (r) { case "compositionend": return k0(o); case "keypress": return o.which !== 32 ? null : (R0 = !0, O0); case "textInput": return r = o.data, r === O0 && R0 ? null : r; default: return null; } } function M5(r, o) { if (vo) return r === "compositionend" || !Kf && P0(r, o) ? (r = S0(), yu = zf = $r = null, vo = !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 T0 && o.locale !== "ko" ? null : o.data; default: return null; } } var F5 = { 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 _0(r) { var o = r && r.nodeName && r.nodeName.toLowerCase(); return o === "input" ? !!F5[r.type] : o === "textarea"; } function L0(r, o, a, c) { Re(c), o = Ou(o, "onChange"), 0 < o.length && (a = new Bf("onChange", "change", null, a, c), r.push({ event: a, listeners: o })); } var Bs = null, Hs = null; function $5(r) { Y0(r, 0); } function xu(r) { var o = xo(r); if (gt(o)) return r; } function U5(r, o) { if (r === "change") return o; } var N0 = !1; if (d) { var Gf; if (d) { var Yf = "oninput" in document; if (!Yf) { var A0 = document.createElement("div"); A0.setAttribute("oninput", "return;"), Yf = typeof A0.oninput == "function"; } Gf = Yf; } else Gf = !1; N0 = Gf && (!document.documentMode || 9 < document.documentMode); } function I0() { Bs && (Bs.detachEvent("onpropertychange", D0), Hs = Bs = null); } function D0(r) { if (r.propertyName === "value" && xu(Hs)) { var o = []; L0(o, Hs, r, Ye(r)), wt($5, o); } } function z5(r, o, a) { r === "focusin" ? (I0(), Bs = o, Hs = a, Bs.attachEvent("onpropertychange", D0)) : r === "focusout" && I0(); } function B5(r) { if (r === "selectionchange" || r === "keyup" || r === "keydown") return xu(Hs); } function H5(r, o) { if (r === "click") return xu(o); } function V5(r, o) { if (r === "input" || r === "change") return xu(o); } function W5(r, o) { return r === o && (r !== 0 || 1 / r === 1 / o) || r !== r && o !== o; } var jn = typeof Object.is == "function" ? Object.is : W5; function Vs(r, o) { if (jn(r, o)) return !0; if (typeof r != "object" || r === null || typeof o != "object" || o === null) return !1; var a = Object.keys(r), c = Object.keys(o); if (a.length !== c.length) return !1; for (c = 0; c < a.length; c++) { var f = a[c]; if (!h.call(o, f) || !jn(r[f], o[f])) return !1; } return !0; } function j0(r) { for (; r && r.firstChild; ) r = r.firstChild; return r; } function M0(r, o) { var a = j0(r); r = 0; for (var c; a; ) { if (a.nodeType === 3) { if (c = r + a.textContent.length, r <= o && c >= o) return { node: a, offset: o - r }; r = c; } e: { for (; a; ) { if (a.nextSibling) { a = a.nextSibling; break e; } a = a.parentNode; } a = void 0; } a = j0(a); } } function F0(r, o) { return r && o ? r === o ? !0 : r && r.nodeType === 3 ? !1 : o && o.nodeType === 3 ? F0(r, o.parentNode) : "contains" in r ? r.contains(o) : r.compareDocumentPosition ? !!(r.compareDocumentPosition(o) & 16) : !1 : !1; } function $0() { for (var r = window, o = Nn(); o instanceof r.HTMLIFrameElement; ) { try { var a = typeof o.contentWindow.location.href == "string"; } catch { a = !1; } if (a) r = o.contentWindow; else break; o = Nn(r.document); } return o; } function Zf(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 q5(r) { var o = $0(), a = r.focusedElem, c = r.selectionRange; if (o !== a && a && a.ownerDocument && F0(a.ownerDocument.documentElement, a)) { if (c !== null && Zf(a)) { if (o = c.start, r = c.end, r === void 0 && (r = o), "selectionStart" in a) a.selectionStart = o, a.selectionEnd = Math.min(r, a.value.length); else if (r = (o = a.ownerDocument || document) && o.defaultView || window, r.getSelection) { r = r.getSelection(); var f = a.textContent.length, g = Math.min(c.start, f); c = c.end === void 0 ? g : Math.min(c.end, f), !r.extend && g > c && (f = c, c = g, g = f), f = M0(a, g); var y = M0( a, c ); f && y && (r.rangeCount !== 1 || r.anchorNode !== f.node || r.anchorOffset !== f.offset || r.focusNode !== y.node || r.focusOffset !== y.offset) && (o = o.createRange(), o.setStart(f.node, f.offset), r.removeAllRanges(), g > c ? (r.addRange(o), r.extend(y.node, y.offset)) : (o.setEnd(y.node, y.offset), r.addRange(o))); } } for (o = [], r = a; r = r.parentNode; ) r.nodeType === 1 && o.push({ element: r, left: r.scrollLeft, top: r.scrollTop }); for (typeof a.focus == "function" && a.focus(), a = 0; a < o.length; a++) r = o[a], r.element.scrollLeft = r.left, r.element.scrollTop = r.top; } } var K5 = d && "documentMode" in document && 11 >= document.documentMode, yo = null, Qf = null, Ws = null, Xf = !1; function U0(r, o, a) { var c = a.window === a ? a.document : a.nodeType === 9 ? a : a.ownerDocument; Xf || yo == null || yo !== Nn(c) || (c = yo, "selectionStart" in c && Zf(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 }), Ws && Vs(Ws, c) || (Ws = c, c = Ou(Qf, "onSelect"), 0 < c.length && (o = new Bf("onSelect", "select", null, o, a), r.push({ event: o, listeners: c }), o.target = yo))); } function Cu(r, o) { var a = {}; return a[r.toLowerCase()] = o.toLowerCase(), a["Webkit" + r] = "webkit" + o, a["Moz" + r] = "moz" + o, a; } var wo = { animationend: Cu("Animation", "AnimationEnd"), animationiteration: Cu("Animation", "AnimationIteration"), animationstart: Cu("Animation", "AnimationStart"), transitionend: Cu("Transition", "TransitionEnd") }, Jf = {}, z0 = {}; d && (z0 = document.createElement("div").style, "AnimationEvent" in window || (delete wo.animationend.animation, delete wo.animationiteration.animation, delete wo.animationstart.animation), "TransitionEvent" in window || delete wo.transitionend.transition); function bu(r) { if (Jf[r]) return Jf[r]; if (!wo[r]) return r; var o = wo[r], a; for (a in o) if (o.hasOwnProperty(a) && a in z0) return Jf[r] = o[a]; return r; } var B0 = bu("animationend"), H0 = bu("animationiteration"), V0 = bu("animationstart"), W0 = bu("transitionend"), q0 = /* @__PURE__ */ new Map(), K0 = "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 Ur(r, o) { q0.set(r, o), l(o, [r]); } for (var eh = 0; eh < K0.length; eh++) { var th = K0[eh], G5 = th.toLowerCase(), Y5 = th[0].toUpperCase() + th.slice(1); Ur(G5, "on" + Y5); } Ur(B0, "onAnimationEnd"), Ur(H0, "onAnimationIteration"), Ur(V0, "onAnimationStart"), Ur("dblclick", "onDoubleClick"), Ur("focusin", "onFocus"), Ur("focusout", "onBlur"), Ur(W0, "onTransitionEnd"), u("onMouseEnter", ["mouseout", "mouseover"]), u("onMouseLeave", ["mouseout", "mouseover"]), u("onPointerEnter", ["pointerout", "pointerover"]), u("onPointerLeave", ["pointerout", "pointerover"]), l("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), l("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), l("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]), l("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), l("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), l("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); var qs = "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(" "), Z5 = new Set("cancel close invalid load scroll toggle".split(" ").concat(qs)); function G0(r, o, a) { var c = r.type || "unknown-event"; r.currentTarget = a, Ps(c, o, void 0, r), r.currentTarget = null; } function Y0(r, o) { o = (o & 4) !== 0; for (var a = 0; a < r.length; a++) { var c = r[a], f = c.event; c = c.listeners; e: { var g = void 0; if (o) for (var y = c.length - 1; 0 <= y; y--) { var x = c[y], O = x.instance, M = x.currentTarget; if (x = x.listener, O !== g && f.isPropagationStopped()) break e; G0(f, x, M), g = O; } else for (y = 0; y < c.length; y++) { if (x = c[y], O = x.instance, M = x.currentTarget, x = x.listener, O !== g && f.isPropagationStopped()) break e; G0(f, x, M), g = O; } } } if (Yn) throw r = Nr, Yn = !1, Nr = null, r; } function it(r, o) { var a = o[uh]; a === void 0 && (a = o[uh] = /* @__PURE__ */ new Set()); var c = r + "__bubble"; a.has(c) || (Z0(o, r, 2, !1), a.add(c)); } function nh(r, o, a) { var c = 0; o && (c |= 4), Z0(a, r, c, o); } var Tu = "_reactListening" + Math.random().toString(36).slice(2); function Ks(r) { if (!r[Tu]) { r[Tu] = !0, i.forEach(function(a) { a !== "selectionchange" && (Z5.has(a) || nh(a, !1, r), nh(a, !0, r)); }); var o = r.nodeType === 9 ? r : r.ownerDocument; o === null || o[Tu] || (o[Tu] = !0, nh("selectionchange", !1, o)); } } function Z0(r, o, a, c) { switch (w0(o)) { case 1: var f = c5; break; case 4: f = d5; break; default: f = $f; } a = f.bind(null, o, a, r), f = void 0, !sn || o !== "touchstart" && o !== "touchmove" && o !== "wheel" || (f = !0), c ? f !== void 0 ? r.addEventListener(o, a, { capture: !0, passive: f }) : r.addEventListener(o, a, !0) : f !== void 0 ? r.addEventListener(o, a, { passive: f }) : r.addEventListener(o, a, !1); } function rh(r, o, a, c, f) { var g = c; if (!(o & 1) && !(o & 2) && c !== null) e: for (; ; ) { if (c === null) return; var y = c.tag; if (y === 3 || y === 4) { var x = c.stateNode.containerInfo; if (x === f || x.nodeType === 8 && x.parentNode === f) break; if (y === 4) for (y = c.return; y !== null; ) { var O = y.tag; if ((O === 3 || O === 4) && (O = y.stateNode.containerInfo, O === f || O.nodeType === 8 && O.parentNode === f)) return; y = y.return; } for (; x !== null; ) { if (y = bi(x), y === null) return; if (O = y.tag, O === 5 || O === 6) { c = g = y; continue e; } x = x.parentNode; } } c = c.return; } wt(function() { var M = g, Y = Ye(a), X = []; e: { var G = q0.get(r); if (G !== void 0) { var oe = Bf, le = r; switch (r) { case "keypress": if (wu(a) === 0) break e; case "keydown": case "keyup": oe = O5; break; case "focusin": le = "focus", oe = Wf; break; case "focusout": le = "blur", oe = Wf; break; case "beforeblur": case "afterblur": oe = Wf; break; case "click": if (a.button === 2) break e; case "auxclick": case "dblclick": case "mousedown": case "mousemove": case "mouseup": case "mouseout": case "mouseover": case "contextmenu": oe = x0; break; case "drag": case "dragend": case "dragenter": case "dragexit": case "dragleave": case "dragover": case "dragstart": case "drop": oe = p5; break; case "touchcancel": case "touchend": case "touchmove": case "touchstart": oe = k5; break; case B0: case H0: case V0: oe = v5; break; case W0: oe = L5; break; case "scroll": oe = f5; break; case "wheel": oe = A5; break; case "copy": case "cut": case "paste": oe = w5; break; case "gotpointercapture": case "lostpointercapture": case "pointercancel": case "pointerdown": case "pointermove": case "pointerout": case "pointerover": case "pointerup": oe = b0; } var ue = (o & 4) !== 0, vt = !ue && r === "scroll", A = ue ? G !== null ? G + "Capture" : null : G; ue = []; for (var k = M, j; k !== null; ) { j = k; var te = j.stateNode; if (j.tag === 5 && te !== null && (j = te, A !== null && (te = At(k, A), te != null && ue.push(Gs(k, te, j)))), vt) break; k = k.return; } 0 < ue.length && (G = new oe(G, le, null, a, Y), X.push({ event: G, listeners: ue })); } } if (!(o & 7)) { e: { if (G = r === "mouseover" || r === "pointerover", oe = r === "mouseout" || r === "pointerout", G && a !== Le && (le = a.relatedTarget || a.fromElement) && (bi(le) || le[ur])) break e; if ((oe || G) && (G = Y.window === Y ? Y : (G = Y.ownerDocument) ? G.defaultView || G.parentWindow : window, oe ? (le = a.relatedTarget || a.toElement, oe = M, le = le ? bi(le) : null, le !== null && (vt = Zn(le), le !== vt || le.tag !== 5 && le.tag !== 6) && (le = null)) : (oe = null, le = M), oe !== le)) { if (ue = x0, te = "onMouseLeave", A = "onMouseEnter", k = "mouse", (r === "pointerout" || r === "pointerover") && (ue = b0, te = "onPointerLeave", A = "onPointerEnter", k = "pointer"), vt = oe == null ? G : xo(oe), j = le == null ? G : xo(le), G = new ue(te, k + "leave", oe, a, Y), G.target = vt, G.relatedTarget = j, te = null, bi(Y) === M && (ue = new ue(A, k + "enter", le, a, Y), ue.target = j, ue.relatedTarget = vt, te = ue), vt = te, oe && le) t: { for (ue = oe, A = le, k = 0, j = ue; j; j = So(j)) k++; for (j = 0, te = A; te; te = So(te)) j++; for (; 0 < k - j; ) ue = So(ue), k--; for (; 0 < j - k; ) A = So(A), j--; for (; k--; ) { if (ue === A || A !== null && ue === A.alternate) break t; ue = So(ue), A = So(A); } ue = null; } else ue = null; oe !== null && Q0(X, G, oe, ue, !1), le !== null && vt !== null && Q0(X, vt, le, ue, !0); } } e: { if (G = M ? xo(M) : window, oe = G.nodeName && G.nodeName.toLowerCase(), oe === "select" || oe === "input" && G.type === "file") var ce = U5; else if (_0(G)) if (N0) ce = V5; else { ce = B5; var fe = z5; } else (oe = G.nodeName) && oe.toLowerCase() === "input" && (G.type === "checkbox" || G.type === "radio") && (ce = H5); if (ce && (ce = ce(r, M))) { L0(X, ce, a, Y); break e; } fe && fe(r, G, M), r === "focusout" && (fe = G._wrapperState) && fe.controlled && G.type === "number" && kr(G, "number", G.value); } switch (fe = M ? xo(M) : window, r) { case "focusin": (_0(fe) || fe.contentEditable === "true") && (yo = fe, Qf = M, Ws = null); break; case "focusout": Ws = Qf = yo = null; break; case "mousedown": Xf = !0; break; case "contextmenu": case "mouseup": case "dragend": Xf = !1, U0(X, a, Y); break; case "selectionchange": if (K5) break; case "keydown": case "keyup": U0(X, a, Y); } var he; if (Kf) e: { switch (r) { case "compositionstart": var Se = "onCompositionStart"; break e; case "compositionend": Se = "onCompositionEnd"; break e; case "compositionupdate": Se = "onCompositionUpdate"; break e; } Se = void 0; } else vo ? P0(r, a) && (Se = "onCompositionEnd") : r === "keydown" && a.keyCode === 229 && (Se = "onCompositionStart"); Se && (T0 && a.locale !== "ko" && (vo || Se !== "onCompositionStart" ? Se === "onCompositionEnd" && vo && (he = S0()) : ($r = Y, zf = "value" in $r ? $r.value : $r.textContent, vo = !0)), fe = Ou(M, Se), 0 < fe.length && (Se = new C0(Se, r, null, a, Y), X.push({ event: Se, listeners: fe }), he ? Se.data = he : (he = k0(a), he !== null && (Se.data = he)))), (he = D5 ? j5(r, a) : M5(r, a)) && (M = Ou(M, "onBeforeInput"), 0 < M.length && (Y = new C0("onBeforeInput", "beforeinput", null, a, Y), X.push({ event: Y, listeners: M }), Y.data = he)); } Y0(X, o); }); } function Gs(r, o, a) { return { instance: r, listener: o, currentTarget: a }; } function Ou(r, o) { for (var a = o + "Capture", c = []; r !== null; ) { var f = r, g = f.stateNode; f.tag === 5 && g !== null && (f = g, g = At(r, a), g != null && c.unshift(Gs(r, g, f)), g = At(r, o), g != null && c.push(Gs(r, g, f))), r = r.return; } return c; } function So(r) { if (r === null) return null; do r = r.return; while (r && r.tag !== 5); return r || null; } function Q0(r, o, a, c, f) { for (var g = o._reactName, y = []; a !== null && a !== c; ) { var x = a, O = x.alternate, M = x.stateNode; if (O !== null && O === c) break; x.tag === 5 && M !== null && (x = M, f ? (O = At(a, g), O != null && y.unshift(Gs(a, O, x))) : f || (O = At(a, g), O != null && y.push(Gs(a, O, x)))), a = a.return; } y.length !== 0 && r.push({ event: o, listeners: y }); } var Q5 = /\r\n?/g, X5 = /\u0000|\uFFFD/g; function X0(r) { return (typeof r == "string" ? r : "" + r).replace(Q5, ` `).replace(X5, ""); } function Ru(r, o, a) { if (o = X0(o), X0(r) !== o && a) throw Error(n(425)); } function Pu() { } var ih = null, oh = null; function sh(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 ah = typeof setTimeout == "function" ? setTimeout : void 0, J5 = typeof clearTimeout == "function" ? clearTimeout : void 0, J0 = typeof Promise == "function" ? Promise : void 0, eR = typeof queueMicrotask == "function" ? queueMicrotask : typeof J0 < "u" ? function(r) { return J0.resolve(null).then(r).catch(tR); } : ah; function tR(r) { setTimeout(function() { throw r; }); } function lh(r, o) { var a = o, c = 0; do { var f = a.nextSibling; if (r.removeChild(a), f && f.nodeType === 8) if (a = f.data, a === "/$") { if (c === 0) { r.removeChild(f), Fs(o); return; } c--; } else a !== "$" && a !== "$?" && a !== "$!" || c++; a = f; } while (a); Fs(o); } function zr(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 e1(r) { r = r.previousSibling; for (var o = 0; r; ) { if (r.nodeType === 8) { var a = r.data; if (a === "$" || a === "$!" || a === "$?") { if (o === 0) return r; o--; } else a === "/$" && o++; } r = r.previousSibling; } return null; } var Eo = Math.random().toString(36).slice(2), Xn = "__reactFiber$" + Eo, Ys = "__reactProps$" + Eo, ur = "__reactContainer$" + Eo, uh = "__reactEvents$" + Eo, nR = "__reactListeners$" + Eo, rR = "__reactHandles$" + Eo; function bi(r) { var o = r[Xn]; if (o) return o; for (var a = r.parentNode; a; ) { if (o = a[ur] || a[Xn]) { if (a = o.alternate, o.child !== null || a !== null && a.child !== null) for (r = e1(r); r !== null; ) { if (a = r[Xn]) return a; r = e1(r); } return o; } r = a, a = r.parentNode; } return null; } function Zs(r) { return r = r[Xn] || r[ur], !r || r.tag !== 5 && r.tag !== 6 && r.tag !== 13 && r.tag !== 3 ? null : r; } function xo(r) { if (r.tag === 5 || r.tag === 6) return r.stateNode; throw Error(n(33)); } function ku(r) { return r[Ys] || null; } var ch = [], Co = -1; function Br(r) { return { current: r }; } function ot(r) { 0 > Co || (r.current = ch[Co], ch[Co] = null, Co--); } function Je(r, o) { Co++, ch[Co] = r.current, r.current = o; } var Hr = {}, zt = Br(Hr), Jt = Br(!1), Ti = Hr; function bo(r, o) { var a = r.type.contextTypes; if (!a) return Hr; var c = r.stateNode; if (c && c.__reactInternalMemoizedUnmaskedChildContext === o) return c.__reactInternalMemoizedMaskedChildContext; var f = {}, g; for (g in a) f[g] = o[g]; return c && (r = r.stateNode, r.__reactInternalMemoizedUnmaskedChildContext = o, r.__reactInternalMemoizedMaskedChildContext = f), f; } function en(r) { return r = r.childContextTypes, r != null; } function _u() { ot(Jt), ot(zt); } function t1(r, o, a) { if (zt.current !== Hr) throw Error(n(168)); Je(zt, o), Je(Jt, a); } function n1(r, o, a) { var c = r.stateNode; if (o = o.childContextTypes, typeof c.getChildContext != "function") return a; c = c.getChildContext(); for (var f in c) if (!(f in o)) throw Error(n(108, _e(r) || "Unknown", f)); return b({}, a, c); } function Lu(r) { return r = (r = r.stateNode) && r.__reactInternalMemoizedMergedChildContext || Hr, Ti = zt.current, Je(zt, r), Je(Jt, Jt.current), !0; } function r1(r, o, a) { var c = r.stateNode; if (!c) throw Error(n(169)); a ? (r = n1(r, o, Ti), c.__reactInternalMemoizedMergedChildContext = r, ot(Jt), ot(zt), Je(zt, r)) : ot(Jt), Je(Jt, a); } var cr = null, Nu = !1, dh = !1; function i1(r) { cr === null ? cr = [r] : cr.push(r); } function iR(r) { Nu = !0, i1(r); } function Vr() { if (!dh && cr !== null) { dh = !0; var r = 0, o = Ke; try { var a = cr; for (Ke = 1; r < a.length; r++) { var c = a[r]; do c = c(!0); while (c !== null); } cr = null, Nu = !1; } catch (f) { throw cr !== null && (cr = cr.slice(r + 1)), xi(Ir, Vr), f; } finally { Ke = o, dh = !1; } } return null; } var To = [], Oo = 0, Au = null, Iu = 0, wn = [], Sn = 0, Oi = null, dr = 1, fr = ""; function Ri(r, o) { To[Oo++] = Iu, To[Oo++] = Au, Au = r, Iu = o; } function o1(r, o, a) { wn[Sn++] = dr, wn[Sn++] = fr, wn[Sn++] = Oi, Oi = r; var c = dr; r = fr; var f = 32 - Dn(c) - 1; c &= ~(1 << f), a += 1; var g = 32 - Dn(o) + f; if (30 < g) { var y = f - f % 5; g = (c & (1 << y) - 1).toString(32), c >>= y, f -= y, dr = 1 << 32 - Dn(o) + f | a << f | c, fr = g + r; } else dr = 1 << g | a << f | c, fr = r; } function fh(r) { r.return !== null && (Ri(r, 1), o1(r, 1, 0)); } function hh(r) { for (; r === Au; ) Au = To[--Oo], To[Oo] = null, Iu = To[--Oo], To[Oo] = null; for (; r === Oi; ) Oi = wn[--Sn], wn[Sn] = null, fr = wn[--Sn], wn[Sn] = null, dr = wn[--Sn], wn[Sn] = null; } var ln = null, un = null, st = !1, Mn = null; function s1(r, o) { var a = bn(5, null, null, 0); a.elementType = "DELETED", a.stateNode = o, a.return = r, o = r.deletions, o === null ? (r.deletions = [a], r.flags |= 16) : o.push(a); } function a1(r, o) { switch (r.tag) { case 5: var a = r.type; return o = o.nodeType !== 1 || a.toLowerCase() !== o.nodeName.toLowerCase() ? null : o, o !== null ? (r.stateNode = o, ln = r, un = zr(o.firstChild), !0) : !1; case 6: return o = r.pendingProps === "" || o.nodeType !== 3 ? null : o, o !== null ? (r.stateNode = o, ln = r, un = null, !0) : !1; case 13: return o = o.nodeType !== 8 ? null : o, o !== null ? (a = Oi !== null ? { id: dr, overflow: fr } : null, r.memoizedState = { dehydrated: o, treeContext: a, retryLane: 1073741824 }, a = bn(18, null, null, 0), a.stateNode = o, a.return = r, r.child = a, ln = r, un = null, !0) : !1; default: return !1; } } function ph(r) { return (r.mode & 1) !== 0 && (r.flags & 128) === 0; } function gh(r) { if (st) { var o = un; if (o) { var a = o; if (!a1(r, o)) { if (ph(r)) throw Error(n(418)); o = zr(a.nextSibling); var c = ln; o && a1(r, o) ? s1(c, a) : (r.flags = r.flags & -4097 | 2, st = !1, ln = r); } } else { if (ph(r)) throw Error(n(418)); r.flags = r.flags & -4097 | 2, st = !1, ln = r; } } } function l1(r) { for (r = r.return; r !== null && r.tag !== 5 && r.tag !== 3 && r.tag !== 13; ) r = r.return; ln = r; } function Du(r) { if (r !== ln) return !1; if (!st) return l1(r), st = !0, !1; var o; if ((o = r.tag !== 3) && !(o = r.tag !== 5) && (o = r.type, o = o !== "head" && o !== "body" && !sh(r.type, r.memoizedProps)), o && (o = un)) { if (ph(r)) throw u1(), Error(n(418)); for (; o; ) s1(r, o), o = zr(o.nextSibling); } if (l1(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 a = r.data; if (a === "/$") { if (o === 0) { un = zr(r.nextSibling); break e; } o--; } else a !== "$" && a !== "$!" && a !== "$?" || o++; } r = r.nextSibling; } un = null; } } else un = ln ? zr(r.stateNode.nextSibling) : null; return !0; } function u1() { for (var r = un; r; ) r = zr(r.nextSibling); } function Ro() { un = ln = null, st = !1; } function mh(r) { Mn === null ? Mn = [r] : Mn.push(r); } var oR = B.ReactCurrentBatchConfig; function Fn(r, o) { if (r && r.defaultProps) { o = b({}, o), r = r.defaultProps; for (var a in r) o[a] === void 0 && (o[a] = r[a]); return o; } return o; } var ju = Br(null), Mu = null, Po = null, vh = null; function yh() { vh = Po = Mu = null; } function wh(r) { var o = ju.current; ot(ju), r._currentValue = o; } function Sh(r, o, a) { 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 === a) break; r = r.return; } } function ko(r, o) { Mu = r, vh = Po = null, r = r.dependencies, r !== null && r.firstContext !== null && (r.lanes & o && (tn = !0), r.firstContext = null); } function En(r) { var o = r._currentValue; if (vh !== r) if (r = { context: r, memoizedValue: o, next: null }, Po === null) { if (Mu === null) throw Error(n(308)); Po = r, Mu.dependencies = { lanes: 0, firstContext: r }; } else Po = Po.next = r; return o; } var Pi = null; function Eh(r) { Pi === null ? Pi = [r] : Pi.push(r); } function c1(r, o, a, c) { var f = o.interleaved; return f === null ? (a.next = a, Eh(o)) : (a.next = f.next, f.next = a), o.interleaved = a, hr(r, c); } function hr(r, o) { r.lanes |= o; var a = r.alternate; for (a !== null && (a.lanes |= o), a = r, r = r.return; r !== null; ) r.childLanes |= o, a = r.alternate, a !== null && (a.childLanes |= o), a = r, r = r.return; return a.tag === 3 ? a.stateNode : null; } var Wr = !1; function xh(r) { r.updateQueue = { baseState: r.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null }; } function d1(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 pr(r, o) { return { eventTime: r, lane: o, tag: 0, payload: null, callback: null, next: null }; } function qr(r, o, a) { var c = r.updateQueue; if (c === null) return null; if (c = c.shared, Ue & 2) { var f = c.pending; return f === null ? o.next = o : (o.next = f.next, f.next = o), c.pending = o, hr(r, a); } return f = c.interleaved, f === null ? (o.next = o, Eh(c)) : (o.next = f.next, f.next = o), c.interleaved = o, hr(r, a); } function Fu(r, o, a) { if (o = o.updateQueue, o !== null && (o = o.shared, (a & 4194240) !== 0)) { var c = o.lanes; c &= r.pendingLanes, a |= c, o.lanes = a, jf(r, a); } } function f1(r, o) { var a = r.updateQueue, c = r.alternate; if (c !== null && (c = c.updateQueue, a === c)) { var f = null, g = null; if (a = a.firstBaseUpdate, a !== null) { do { var y = { eventTime: a.eventTime, lane: a.lane, tag: a.tag, payload: a.payload, callback: a.callback, next: null }; g === null ? f = g = y : g = g.next = y, a = a.next; } while (a !== null); g === null ? f = g = o : g = g.next = o; } else f = g = o; a = { baseState: c.baseState, firstBaseUpdate: f, lastBaseUpdate: g, shared: c.shared, effects: c.effects }, r.updateQueue = a; return; } r = a.lastBaseUpdate, r === null ? a.firstBaseUpdate = o : r.next = o, a.lastBaseUpdate = o; } function $u(r, o, a, c) { var f = r.updateQueue; Wr = !1; var g = f.firstBaseUpdate, y = f.lastBaseUpdate, x = f.shared.pending; if (x !== null) { f.shared.pending = null; var O = x, M = O.next; O.next = null, y === null ? g = M : y.next = M, y = O; var Y = r.alternate; Y !== null && (Y = Y.updateQueue, x = Y.lastBaseUpdate, x !== y && (x === null ? Y.firstBaseUpdate = M : x.next = M, Y.lastBaseUpdate = O)); } if (g !== null) { var X = f.baseState; y = 0, Y = M = O = null, x = g; do { var G = x.lane, oe = x.eventTime; if ((c & G) === G) { Y !== null && (Y = Y.next = { eventTime: oe, lane: 0, tag: x.tag, payload: x.payload, callback: x.callback, next: null }); e: { var le = r, ue = x; switch (G = o, oe = a, ue.tag) { case 1: if (le = ue.payload, typeof le == "function") { X = le.call(oe, X, G); break e; } X = le; break e; case 3: le.flags = le.flags & -65537 | 128; case 0: if (le = ue.payload, G = typeof le == "function" ? le.call(oe, X, G) : le, G == null) break e; X = b({}, X, G); break e; case 2: Wr = !0; } } x.callback !== null && x.lane !== 0 && (r.flags |= 64, G = f.effects, G === null ? f.effects = [x] : G.push(x)); } else oe = { eventTime: oe, lane: G, tag: x.tag, payload: x.payload, callback: x.callback, next: null }, Y === null ? (M = Y = oe, O = X) : Y = Y.next = oe, y |= G; if (x = x.next, x === null) { if (x = f.shared.pending, x === null) break; G = x, x = G.next, G.next = null, f.lastBaseUpdate = G, f.shared.pending = null; } } while (!0); if (Y === null && (O = X), f.baseState = O, f.firstBaseUpdate = M, f.lastBaseUpdate = Y, o = f.shared.interleaved, o !== null) { f = o; do y |= f.lane, f = f.next; while (f !== o); } else g === null && (f.shared.lanes = 0); Li |= y, r.lanes = y, r.memoizedState = X; } } function h1(r, o, a) { if (r = o.effects, o.effects = null, r !== null) for (o = 0; o < r.length; o++) { var c = r[o], f = c.callback; if (f !== null) { if (c.callback = null, c = a, typeof f != "function") throw Error(n(191, f)); f.call(c); } } } var p1 = new t.Component().refs; function Ch(r, o, a, c) { o = r.memoizedState, a = a(c, o), a = a == null ? o : b({}, o, a), r.memoizedState = a, r.lanes === 0 && (r.updateQueue.baseState = a); } var Uu = { isMounted: function(r) { return (r = r._reactInternals) ? Zn(r) === r : !1; }, enqueueSetState: function(r, o, a) { r = r._reactInternals; var c = Qt(), f = Zr(r), g = pr(c, f); g.payload = o, a != null && (g.callback = a), o = qr(r, g, f), o !== null && (zn(o, r, f, c), Fu(o, r, f)); }, enqueueReplaceState: function(r, o, a) { r = r._reactInternals; var c = Qt(), f = Zr(r), g = pr(c, f); g.tag = 1, g.payload = o, a != null && (g.callback = a), o = qr(r, g, f), o !== null && (zn(o, r, f, c), Fu(o, r, f)); }, enqueueForceUpdate: function(r, o) { r = r._reactInternals; var a = Qt(), c = Zr(r), f = pr(a, c); f.tag = 2, o != null && (f.callback = o), o = qr(r, f, c), o !== null && (zn(o, r, c, a), Fu(o, r, c)); } }; function g1(r, o, a, c, f, g, y) { return r = r.stateNode, typeof r.shouldComponentUpdate == "function" ? r.shouldComponentUpdate(c, g, y) : o.prototype && o.prototype.isPureReactComponent ? !Vs(a, c) || !Vs(f, g) : !0; } function m1(r, o, a) { var c = !1, f = Hr, g = o.contextType; return typeof g == "object" && g !== null ? g = En(g) : (f = en(o) ? Ti : zt.current, c = o.contextTypes, g = (c = c != null) ? bo(r, f) : Hr), o = new o(a, g), r.memoizedState = o.state !== null && o.state !== void 0 ? o.state : null, o.updater = Uu, r.stateNode = o, o._reactInternals = r, c && (r = r.stateNode, r.__reactInternalMemoizedUnmaskedChildContext = f, r.__reactInternalMemoizedMaskedChildContext = g), o; } function v1(r, o, a, c) { r = o.state, typeof o.componentWillReceiveProps == "function" && o.componentWillReceiveProps(a, c), typeof o.UNSAFE_componentWillReceiveProps == "function" && o.UNSAFE_componentWillReceiveProps(a, c), o.state !== r && Uu.enqueueReplaceState(o, o.state, null); } function bh(r, o, a, c) { var f = r.stateNode; f.props = a, f.state = r.memoizedState, f.refs = p1, xh(r); var g = o.contextType; typeof g == "object" && g !== null ? f.context = En(g) : (g = en(o) ? Ti : zt.current, f.context = bo(r, g)), f.state = r.memoizedState, g = o.getDerivedStateFromProps, typeof g == "function" && (Ch(r, o, g, a), f.state = r.memoizedState), typeof o.getDerivedStateFromProps == "function" || typeof f.getSnapshotBeforeUpdate == "function" || typeof f.UNSAFE_componentWillMount != "function" && typeof f.componentWillMount != "function" || (o = f.state, typeof f.componentWillMount == "function" && f.componentWillMount(), typeof f.UNSAFE_componentWillMount == "function" && f.UNSAFE_componentWillMount(), o !== f.state && Uu.enqueueReplaceState(f, f.state, null), $u(r, a, f, c), f.state = r.memoizedState), typeof f.componentDidMount == "function" && (r.flags |= 4194308); } function Qs(r, o, a) { if (r = a.ref, r !== null && typeof r != "function" && typeof r != "object") { if (a._owner) { if (a = a._owner, a) { if (a.tag !== 1) throw Error(n(309)); var c = a.stateNode; } if (!c) throw Error(n(147, r)); var f = c, g = "" + r; return o !== null && o.ref !== null && typeof o.ref == "function" && o.ref._stringRef === g ? o.ref : (o = function(y) { var x = f.refs; x === p1 && (x = f.refs = {}), y === null ? delete x[g] : x[g] = y; }, o._stringRef = g, o); } if (typeof r != "string") throw Error(n(284)); if (!a._owner) throw Error(n(290, r)); } return r; } function zu(r, o) { throw r = Object.prototype.toString.call(o), Error(n(31, r === "[object Object]" ? "object with keys {" + Object.keys(o).join(", ") + "}" : r)); } function y1(r) { var o = r._init; return o(r._payload); } function w1(r) { function o(A, k) { if (r) { var j = A.deletions; j === null ? (A.deletions = [k], A.flags |= 16) : j.push(k); } } function a(A, k) { if (!r) return null; for (; k !== null; ) o(A, k), k = k.sibling; return null; } function c(A, k) { for (A = /* @__PURE__ */ new Map(); k !== null; ) k.key !== null ? A.set(k.key, k) : A.set(k.index, k), k = k.sibling; return A; } function f(A, k) { return A = Xr(A, k), A.index = 0, A.sibling = null, A; } function g(A, k, j) { return A.index = j, r ? (j = A.alternate, j !== null ? (j = j.index, j < k ? (A.flags |= 2, k) : j) : (A.flags |= 2, k)) : (A.flags |= 1048576, k); } function y(A) { return r && A.alternate === null && (A.flags |= 2), A; } function x(A, k, j, te) { return k === null || k.tag !== 6 ? (k = ap(j, A.mode, te), k.return = A, k) : (k = f(k, j), k.return = A, k); } function O(A, k, j, te) { var ce = j.type; return ce === P ? Y(A, k, j.props.children, te, j.key) : k !== null && (k.elementType === ce || typeof ce == "object" && ce !== null && ce.$$typeof === Me && y1(ce) === k.type) ? (te = f(k, j.props), te.ref = Qs(A, k, j), te.return = A, te) : (te = sc(j.type, j.key, j.props, null, A.mode, te), te.ref = Qs(A, k, j), te.return = A, te); } function M(A, k, j, te) { return k === null || k.tag !== 4 || k.stateNode.containerInfo !== j.containerInfo || k.stateNode.implementation !== j.implementation ? (k = lp(j, A.mode, te), k.return = A, k) : (k = f(k, j.children || []), k.return = A, k); } function Y(A, k, j, te, ce) { return k === null || k.tag !== 7 ? (k = Di(j, A.mode, te, ce), k.return = A, k) : (k = f(k, j), k.return = A, k); } function X(A, k, j) { if (typeof k == "string" && k !== "" || typeof k == "number") return k = ap("" + k, A.mode, j), k.return = A, k; if (typeof k == "object" && k !== null) { switch (k.$$typeof) { case V: return j = sc(k.type, k.key, k.props, null, A.mode, j), j.ref = Qs(A, null, k), j.return = A, j; case _: return k = lp(k, A.mode, j), k.return = A, k; case Me: var te = k._init; return X(A, te(k._payload), j); } if (In(k) || J(k)) return k = Di(k, A.mode, j, null), k.return = A, k; zu(A, k); } return null; } function G(A, k, j, te) { var ce = k !== null ? k.key : null; if (typeof j == "string" && j !== "" || typeof j == "number") return ce !== null ? null : x(A, k, "" + j, te); if (typeof j == "object" && j !== null) { switch (j.$$typeof) { case V: return j.key === ce ? O(A, k, j, te) : null; case _: return j.key === ce ? M(A, k, j, te) : null; case Me: return ce = j._init, G( A, k, ce(j._payload), te ); } if (In(j) || J(j)) return ce !== null ? null : Y(A, k, j, te, null); zu(A, j); } return null; } function oe(A, k, j, te, ce) { if (typeof te == "string" && te !== "" || typeof te == "number") return A = A.get(j) || null, x(k, A, "" + te, ce); if (typeof te == "object" && te !== null) { switch (te.$$typeof) { case V: return A = A.get(te.key === null ? j : te.key) || null, O(k, A, te, ce); case _: return A = A.get(te.key === null ? j : te.key) || null, M(k, A, te, ce); case Me: var fe = te._init; return oe(A, k, j, fe(te._payload), ce); } if (In(te) || J(te)) return A = A.get(j) || null, Y(k, A, te, ce, null); zu(k, te); } return null; } function le(A, k, j, te) { for (var ce = null, fe = null, he = k, Se = k = 0, _t = null; he !== null && Se < j.length; Se++) { he.index > Se ? (_t = he, he = null) : _t = he.sibling; var He = G(A, he, j[Se], te); if (He === null) { he === null && (he = _t); break; } r && he && He.alternate === null && o(A, he), k = g(He, k, Se), fe === null ? ce = He : fe.sibling = He, fe = He, he = _t; } if (Se === j.length) return a(A, he), st && Ri(A, Se), ce; if (he === null) { for (; Se < j.length; Se++) he = X(A, j[Se], te), he !== null && (k = g(he, k, Se), fe === null ? ce = he : fe.sibling = he, fe = he); return st && Ri(A, Se), ce; } for (he = c(A, he); Se < j.length; Se++) _t = oe(he, A, Se, j[Se], te), _t !== null && (r && _t.alternate !== null && he.delete(_t.key === null ? Se : _t.key), k = g(_t, k, Se), fe === null ? ce = _t : fe.sibling = _t, fe = _t); return r && he.forEach(function(Jr) { return o(A, Jr); }), st && Ri(A, Se), ce; } function ue(A, k, j, te) { var ce = J(j); if (typeof ce != "function") throw Error(n(150)); if (j = ce.call(j), j == null) throw Error(n(151)); for (var fe = ce = null, he = k, Se = k = 0, _t = null, He = j.next(); he !== null && !He.done; Se++, He = j.next()) { he.index > Se ? (_t = he, he = null) : _t = he.sibling; var Jr = G(A, he, He.value, te); if (Jr === null) { he === null && (he = _t); break; } r && he && Jr.alternate === null && o(A, he), k = g(Jr, k, Se), fe === null ? ce = Jr : fe.sibling = Jr, fe = Jr, he = _t; } if (He.done) return a( A, he ), st && Ri(A, Se), ce; if (he === null) { for (; !He.done; Se++, He = j.next()) He = X(A, He.value, te), He !== null && (k = g(He, k, Se), fe === null ? ce = He : fe.sibling = He, fe = He); return st && Ri(A, Se), ce; } for (he = c(A, he); !He.done; Se++, He = j.next()) He = oe(he, A, Se, He.value, te), He !== null && (r && He.alternate !== null && he.delete(He.key === null ? Se : He.key), k = g(He, k, Se), fe === null ? ce = He : fe.sibling = He, fe = He); return r && he.forEach(function(FR) { return o(A, FR); }), st && Ri(A, Se), ce; } function vt(A, k, j, te) { if (typeof j == "object" && j !== null && j.type === P && j.key === null && (j = j.props.children), typeof j == "object" && j !== null) { switch (j.$$typeof) { case V: e: { for (var ce = j.key, fe = k; fe !== null; ) { if (fe.key === ce) { if (ce = j.type, ce === P) { if (fe.tag === 7) { a(A, fe.sibling), k = f(fe, j.props.children), k.return = A, A = k; break e; } } else if (fe.elementType === ce || typeof ce == "object" && ce !== null && ce.$$typeof === Me && y1(ce) === fe.type) { a(A, fe.sibling), k = f(fe, j.props), k.ref = Qs(A, fe, j), k.return = A, A = k; break e; } a(A, fe); break; } else o(A, fe); fe = fe.sibling; } j.type === P ? (k = Di(j.props.children, A.mode, te, j.key), k.return = A, A = k) : (te = sc(j.type, j.key, j.props, null, A.mode, te), te.ref = Qs(A, k, j), te.return = A, A = te); } return y(A); case _: e: { for (fe = j.key; k !== null; ) { if (k.key === fe) if (k.tag === 4 && k.stateNode.containerInfo === j.containerInfo && k.stateNode.implementation === j.implementation) { a(A, k.sibling), k = f(k, j.children || []), k.return = A, A = k; break e; } else { a(A, k); break; } else o(A, k); k = k.sibling; } k = lp(j, A.mode, te), k.return = A, A = k; } return y(A); case Me: return fe = j._init, vt(A, k, fe(j._payload), te); } if (In(j)) return le(A, k, j, te); if (J(j)) return ue(A, k, j, te); zu(A, j); } return typeof j == "string" && j !== "" || typeof j == "number" ? (j = "" + j, k !== null && k.tag === 6 ? (a(A, k.sibling), k = f(k, j), k.return = A, A = k) : (a(A, k), k = ap(j, A.mode, te), k.return = A, A = k), y(A)) : a(A, k); } return vt; } var _o = w1(!0), S1 = w1(!1), Xs = {}, Jn = Br(Xs), Js = Br(Xs), ea = Br(Xs); function ki(r) { if (r === Xs) throw Error(n(174)); return r; } function Th(r, o) { switch (Je(ea, o), Je(Js, r), Je(Jn, Xs), r = o.nodeType, r) { case 9: case 11: o = (o = o.documentElement) ? o.namespaceURI : _r(null, ""); break; default: r = r === 8 ? o.parentNode : o, o = r.namespaceURI || null, r = r.tagName, o = _r(o, r); } ot(Jn), Je(Jn, o); } function Lo() { ot(Jn), ot(Js), ot(ea); } function E1(r) { ki(ea.current); var o = ki(Jn.current), a = _r(o, r.type); o !== a && (Je(Js, r), Je(Jn, a)); } function Oh(r) { Js.current === r && (ot(Jn), ot(Js)); } var ut = Br(0); function Bu(r) { for (var o = r; o !== null; ) { if (o.tag === 13) { var a = o.memoizedState; if (a !== null && (a = a.dehydrated, a === null || a.data === "$?" || a.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 Rh = []; function Ph() { for (var r = 0; r < Rh.length; r++) Rh[r]._workInProgressVersionPrimary = null; Rh.length = 0; } var Hu = B.ReactCurrentDispatcher, kh = B.ReactCurrentBatchConfig, _i = 0, ct = null, xt = null, Pt = null, Vu = !1, ta = !1, na = 0, sR = 0; function Bt() { throw Error(n(321)); } function _h(r, o) { if (o === null) return !1; for (var a = 0; a < o.length && a < r.length; a++) if (!jn(r[a], o[a])) return !1; return !0; } function Lh(r, o, a, c, f, g) { if (_i = g, ct = o, o.memoizedState = null, o.updateQueue = null, o.lanes = 0, Hu.current = r === null || r.memoizedState === null ? cR : dR, r = a(c, f), ta) { g = 0; do { if (ta = !1, na = 0, 25 <= g) throw Error(n(301)); g += 1, Pt = xt = null, o.updateQueue = null, Hu.current = fR, r = a(c, f); } while (ta); } if (Hu.current = Ku, o = xt !== null && xt.next !== null, _i = 0, Pt = xt = ct = null, Vu = !1, o) throw Error(n(300)); return r; } function Nh() { var r = na !== 0; return na = 0, r; } function er() { var r = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; return Pt === null ? ct.memoizedState = Pt = r : Pt = Pt.next = r, Pt; } function xn() { if (xt === null) { var r = ct.alternate; r = r !== null ? r.memoizedState : null; } else r = xt.next; var o = Pt === null ? ct.memoizedState : Pt.next; if (o !== null) Pt = o, xt = r; else { if (r === null) throw Error(n(310)); xt = r, r = { memoizedState: xt.memoizedState, baseState: xt.baseState, baseQueue: xt.baseQueue, queue: xt.queue, next: null }, Pt === null ? ct.memoizedState = Pt = r : Pt = Pt.next = r; } return Pt; } function ra(r, o) { return typeof o == "function" ? o(r) : o; } function Ah(r) { var o = xn(), a = o.queue; if (a === null) throw Error(n(311)); a.lastRenderedReducer = r; var c = xt, f = c.baseQueue, g = a.pending; if (g !== null) { if (f !== null) { var y = f.next; f.next = g.next, g.next = y; } c.baseQueue = f = g, a.pending = null; } if (f !== null) { g = f.next, c = c.baseState; var x = y = null, O = null, M = g; do { var Y = M.lane; if ((_i & Y) === Y) O !== null && (O = O.next = { lane: 0, action: M.action, hasEagerState: M.hasEagerState, eagerState: M.eagerState, next: null }), c = M.hasEagerState ? M.eagerState : r(c, M.action); else { var X = { lane: Y, action: M.action, hasEagerState: M.hasEagerState, eagerState: M.eagerState, next: null }; O === null ? (x = O = X, y = c) : O = O.next = X, ct.lanes |= Y, Li |= Y; } M = M.next; } while (M !== null && M !== g); O === null ? y = c : O.next = x, jn(c, o.memoizedState) || (tn = !0), o.memoizedState = c, o.baseState = y, o.baseQueue = O, a.lastRenderedState = c; } if (r = a.interleaved, r !== null) { f = r; do g = f.lane, ct.lanes |= g, Li |= g, f = f.next; while (f !== r); } else f === null && (a.lanes = 0); return [o.memoizedState, a.dispatch]; } function Ih(r) { var o = xn(), a = o.queue; if (a === null) throw Error(n(311)); a.lastRenderedReducer = r; var c = a.dispatch, f = a.pending, g = o.memoizedState; if (f !== null) { a.pending = null; var y = f = f.next; do g = r(g, y.action), y = y.next; while (y !== f); jn(g, o.memoizedState) || (tn = !0), o.memoizedState = g, o.baseQueue === null && (o.baseState = g), a.lastRenderedState = g; } return [g, c]; } function x1() { } function C1(r, o) { var a = ct, c = xn(), f = o(), g = !jn(c.memoizedState, f); if (g && (c.memoizedState = f, tn = !0), c = c.queue, Dh(O1.bind(null, a, c, r), [r]), c.getSnapshot !== o || g || Pt !== null && Pt.memoizedState.tag & 1) { if (a.flags |= 2048, ia(9, T1.bind(null, a, c, f, o), void 0, null), kt === null) throw Error(n(349)); _i & 30 || b1(a, o, f); } return f; } function b1(r, o, a) { r.flags |= 16384, r = { getSnapshot: o, value: a }, o = ct.updateQueue, o === null ? (o = { lastEffect: null, stores: null }, ct.updateQueue = o, o.stores = [r]) : (a = o.stores, a === null ? o.stores = [r] : a.push(r)); } function T1(r, o, a, c) { o.value = a, o.getSnapshot = c, R1(o) && P1(r); } function O1(r, o, a) { return a(function() { R1(o) && P1(r); }); } function R1(r) { var o = r.getSnapshot; r = r.value; try { var a = o(); return !jn(r, a); } catch { return !0; } } function P1(r) { var o = hr(r, 1); o !== null && zn(o, r, 1, -1); } function k1(r) { var o = er(); return typeof r == "function" && (r = r()), o.memoizedState = o.baseState = r, r = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: ra, lastRenderedState: r }, o.queue = r, r = r.dispatch = uR.bind(null, ct, r), [o.memoizedState, r]; } function ia(r, o, a, c) { return r = { tag: r, create: o, destroy: a, deps: c, next: null }, o = ct.updateQueue, o === null ? (o = { lastEffect: null, stores: null }, ct.updateQueue = o, o.lastEffect = r.next = r) : (a = o.lastEffect, a === null ? o.lastEffect = r.next = r : (c = a.next, a.next = r, r.next = c, o.lastEffect = r)), r; } function _1() { return xn().memoizedState; } function Wu(r, o, a, c) { var f = er(); ct.flags |= r, f.memoizedState = ia(1 | o, a, void 0, c === void 0 ? null : c); } function qu(r, o, a, c) { var f = xn(); c = c === void 0 ? null : c; var g = void 0; if (xt !== null) { var y = xt.memoizedState; if (g = y.destroy, c !== null && _h(c, y.deps)) { f.memoizedState = ia(o, a, g, c); return; } } ct.flags |= r, f.memoizedState = ia(1 | o, a, g, c); } function L1(r, o) { return Wu(8390656, 8, r, o); } function Dh(r, o) { return qu(2048, 8, r, o); } function N1(r, o) { return qu(4, 2, r, o); } function A1(r, o) { return qu(4, 4, r, o); } function I1(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 D1(r, o, a) { return a = a != null ? a.concat([r]) : null, qu(4, 4, I1.bind(null, o, r), a); } function jh() { } function j1(r, o) { var a = xn(); o = o === void 0 ? null : o; var c = a.memoizedState; return c !== null && o !== null && _h(o, c[1]) ? c[0] : (a.memoizedState = [r, o], r); } function M1(r, o) { var a = xn(); o = o === void 0 ? null : o; var c = a.memoizedState; return c !== null && o !== null && _h(o, c[1]) ? c[0] : (r = r(), a.memoizedState = [r, o], r); } function F1(r, o, a) { return _i & 21 ? (jn(a, o) || (a = c0(), ct.lanes |= a, Li |= a, r.baseState = !0), o) : (r.baseState && (r.baseState = !1, tn = !0), r.memoizedState = a); } function aR(r, o) { var a = Ke; Ke = a !== 0 && 4 > a ? a : 4, r(!0); var c = kh.transition; kh.transition = {}; try { r(!1), o(); } finally { Ke = a, kh.transition = c; } } function $1() { return xn().memoizedState; } function lR(r, o, a) { var c = Zr(r); if (a = { lane: c, action: a, hasEagerState: !1, eagerState: null, next: null }, U1(r)) z1(o, a); else if (a = c1(r, o, a, c), a !== null) { var f = Qt(); zn(a, r, c, f), B1(a, o, c); } } function uR(r, o, a) { var c = Zr(r), f = { lane: c, action: a, hasEagerState: !1, eagerState: null, next: null }; if (U1(r)) z1(o, f); else { var g = r.alternate; if (r.lanes === 0 && (g === null || g.lanes === 0) && (g = o.lastRenderedReducer, g !== null)) try { var y = o.lastRenderedState, x = g(y, a); if (f.hasEagerState = !0, f.eagerState = x, jn(x, y)) { var O = o.interleaved; O === null ? (f.next = f, Eh(o)) : (f.next = O.next, O.next = f), o.interleaved = f; return; } } catch { } finally { } a = c1(r, o, f, c), a !== null && (f = Qt(), zn(a, r, c, f), B1(a, o, c)); } } function U1(r) { var o = r.alternate; return r === ct || o !== null && o === ct; } function z1(r, o) { ta = Vu = !0; var a = r.pending; a === null ? o.next = o : (o.next = a.next, a.next = o), r.pending = o; } function B1(r, o, a) { if (a & 4194240) { var c = o.lanes; c &= r.pendingLanes, a |= c, o.lanes = a, jf(r, a); } } var Ku = { readContext: En, useCallback: Bt, useContext: Bt, useEffect: Bt, useImperativeHandle: Bt, useInsertionEffect: Bt, useLayoutEffect: Bt, useMemo: Bt, useReducer: Bt, useRef: Bt, useState: Bt, useDebugValue: Bt, useDeferredValue: Bt, useTransition: Bt, useMutableSource: Bt, useSyncExternalStore: Bt, useId: Bt, unstable_isNewReconciler: !1 }, cR = { readContext: En, useCallback: function(r, o) { return er().memoizedState = [r, o === void 0 ? null : o], r; }, useContext: En, useEffect: L1, useImperativeHandle: function(r, o, a) { return a = a != null ? a.concat([r]) : null, Wu( 4194308, 4, I1.bind(null, o, r), a ); }, useLayoutEffect: function(r, o) { return Wu(4194308, 4, r, o); }, useInsertionEffect: function(r, o) { return Wu(4, 2, r, o); }, useMemo: function(r, o) { var a = er(); return o = o === void 0 ? null : o, r = r(), a.memoizedState = [r, o], r; }, useReducer: function(r, o, a) { var c = er(); return o = a !== void 0 ? a(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 = lR.bind(null, ct, r), [c.memoizedState, r]; }, useRef: function(r) { var o = er(); return r = { current: r }, o.memoizedState = r; }, useState: k1, useDebugValue: jh, useDeferredValue: function(r) { return er().memoizedState = r; }, useTransition: function() { var r = k1(!1), o = r[0]; return r = aR.bind(null, r[1]), er().memoizedState = r, [o, r]; }, useMutableSource: function() { }, useSyncExternalStore: function(r, o, a) { var c = ct, f = er(); if (st) { if (a === void 0) throw Error(n(407)); a = a(); } else { if (a = o(), kt === null) throw Error(n(349)); _i & 30 || b1(c, o, a); } f.memoizedState = a; var g = { value: a, getSnapshot: o }; return f.queue = g, L1(O1.bind( null, c, g, r ), [r]), c.flags |= 2048, ia(9, T1.bind(null, c, g, a, o), void 0, null), a; }, useId: function() { var r = er(), o = kt.identifierPrefix; if (st) { var a = fr, c = dr; a = (c & ~(1 << 32 - Dn(c) - 1)).toString(32) + a, o = ":" + o + "R" + a, a = na++, 0 < a && (o += "H" + a.toString(32)), o += ":"; } else a = sR++, o = ":" + o + "r" + a.toString(32) + ":"; return r.memoizedState = o; }, unstable_isNewReconciler: !1 }, dR = { readContext: En, useCallback: j1, useContext: En, useEffect: Dh, useImperativeHandle: D1, useInsertionEffect: N1, useLayoutEffect: A1, useMemo: M1, useReducer: Ah, useRef: _1, useState: function() { return Ah(ra); }, useDebugValue: jh, useDeferredValue: function(r) { var o = xn(); return F1(o, xt.memoizedState, r); }, useTransition: function() { var r = Ah(ra)[0], o = xn().memoizedState; return [r, o]; }, useMutableSource: x1, useSyncExternalStore: C1, useId: $1, unstable_isNewReconciler: !1 }, fR = { readContext: En, useCallback: j1, useContext: En, useEffect: Dh, useImperativeHandle: D1, useInsertionEffect: N1, useLayoutEffect: A1, useMemo: M1, useReducer: Ih, useRef: _1, useState: function() { return Ih(ra); }, useDebugValue: jh, useDeferredValue: function(r) { var o = xn(); return xt === null ? o.memoizedState = r : F1(o, xt.memoizedState, r); }, useTransition: function() { var r = Ih(ra)[0], o = xn().memoizedState; return [r, o]; }, useMutableSource: x1, useSyncExternalStore: C1, useId: $1, unstable_isNewReconciler: !1 }; function No(r, o) { try { var a = "", c = o; do a += be(c), c = c.return; while (c); var f = a; } catch (g) { f = ` Error generating stack: ` + g.message + ` ` + g.stack; } return { value: r, source: o, stack: f, digest: null }; } function Mh(r, o, a) { return { value: r, source: null, stack: a ?? null, digest: o ?? null }; } function Fh(r, o) { try { console.error(o.value); } catch (a) { setTimeout(function() { throw a; }); } } var hR = typeof WeakMap == "function" ? WeakMap : Map; function H1(r, o, a) { a = pr(-1, a), a.tag = 3, a.payload = { element: null }; var c = o.value; return a.callback = function() { ec || (ec = !0, Jh = c), Fh(r, o); }, a; } function V1(r, o, a) { a = pr(-1, a), a.tag = 3; var c = r.type.getDerivedStateFromError; if (typeof c == "function") { var f = o.value; a.payload = function() { return c(f); }, a.callback = function() { Fh(r, o); }; } var g = r.stateNode; return g !== null && typeof g.componentDidCatch == "function" && (a.callback = function() { Fh(r, o), typeof c != "function" && (Gr === null ? Gr = /* @__PURE__ */ new Set([this]) : Gr.add(this)); var y = o.stack; this.componentDidCatch(o.value, { componentStack: y !== null ? y : "" }); }), a; } function W1(r, o, a) { var c = r.pingCache; if (c === null) { c = r.pingCache = new hR(); var f = /* @__PURE__ */ new Set(); c.set(o, f); } else f = c.get(o), f === void 0 && (f = /* @__PURE__ */ new Set(), c.set(o, f)); f.has(a) || (f.add(a), r = RR.bind(null, r, o, a), o.then(r, r)); } function q1(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 K1(r, o, a, c, f) { return r.mode & 1 ? (r.flags |= 65536, r.lanes = f, r) : (r === o ? r.flags |= 65536 : (r.flags |= 128, a.flags |= 131072, a.flags &= -52805, a.tag === 1 && (a.alternate === null ? a.tag = 17 : (o = pr(-1, 1), o.tag = 2, qr(a, o, 1))), a.lanes |= 1), r); } var pR = B.ReactCurrentOwner, tn = !1; function Zt(r, o, a, c) { o.child = r === null ? S1(o, null, a, c) : _o(o, r.child, a, c); } function G1(r, o, a, c, f) { a = a.render; var g = o.ref; return ko(o, f), c = Lh(r, o, a, c, g, f), a = Nh(), r !== null && !tn ? (o.updateQueue = r.updateQueue, o.flags &= -2053, r.lanes &= ~f, gr(r, o, f)) : (st && a && fh(o), o.flags |= 1, Zt(r, o, c, f), o.child); } function Y1(r, o, a, c, f) { if (r === null) { var g = a.type; return typeof g == "function" && !sp(g) && g.defaultProps === void 0 && a.compare === null && a.defaultProps === void 0 ? (o.tag = 15, o.type = g, Z1(r, o, g, c, f)) : (r = sc(a.type, null, c, o, o.mode, f), r.ref = o.ref, r.return = o, o.child = r); } if (g = r.child, !(r.lanes & f)) { var y = g.memoizedProps; if (a = a.compare, a = a !== null ? a : Vs, a(y, c) && r.ref === o.ref) return gr(r, o, f); } return o.flags |= 1, r = Xr(g, c), r.ref = o.ref, r.return = o, o.child = r; } function Z1(r, o, a, c, f) { if (r !== null) { var g = r.memoizedProps; if (Vs(g, c) && r.ref === o.ref) if (tn = !1, o.pendingProps = c = g, (r.lanes & f) !== 0) r.flags & 131072 && (tn = !0); else return o.lanes = r.lanes, gr(r, o, f); } return $h(r, o, a, c, f); } function Q1(r, o, a) { var c = o.pendingProps, f = c.children, g = r !== null ? r.memoizedState : null; if (c.mode === "hidden") if (!(o.mode & 1)) o.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, Je(Io, cn), cn |= a; else { if (!(a & 1073741824)) return r = g !== null ? g.baseLanes | a : a, o.lanes = o.childLanes = 1073741824, o.memoizedState = { baseLanes: r, cachePool: null, transitions: null }, o.updateQueue = null, Je(Io, cn), cn |= r, null; o.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, c = g !== null ? g.baseLanes : a, Je(Io, cn), cn |= c; } else g !== null ? (c = g.baseLanes | a, o.memoizedState = null) : c = a, Je(Io, cn), cn |= c; return Zt(r, o, f, a), o.child; } function X1(r, o) { var a = o.ref; (r === null && a !== null || r !== null && r.ref !== a) && (o.flags |= 512, o.flags |= 2097152); } function $h(r, o, a, c, f) { var g = en(a) ? Ti : zt.current; return g = bo(o, g), ko(o, f), a = Lh(r, o, a, c, g, f), c = Nh(), r !== null && !tn ? (o.updateQueue = r.updateQueue, o.flags &= -2053, r.lanes &= ~f, gr(r, o, f)) : (st && c && fh(o), o.flags |= 1, Zt(r, o, a, f), o.child); } function J1(r, o, a, c, f) { if (en(a)) { var g = !0; Lu(o); } else g = !1; if (ko(o, f), o.stateNode === null) Yu(r, o), m1(o, a, c), bh(o, a, c, f), c = !0; else if (r === null) { var y = o.stateNode, x = o.memoizedProps; y.props = x; var O = y.context, M = a.contextType; typeof M == "object" && M !== null ? M = En(M) : (M = en(a) ? Ti : zt.current, M = bo(o, M)); var Y = a.getDerivedStateFromProps, X = typeof Y == "function" || typeof y.getSnapshotBeforeUpdate == "function"; X || typeof y.UNSAFE_componentWillReceiveProps != "function" && typeof y.componentWillReceiveProps != "function" || (x !== c || O !== M) && v1(o, y, c, M), Wr = !1; var G = o.memoizedState; y.state = G, $u(o, c, y, f), O = o.memoizedState, x !== c || G !== O || Jt.current || Wr ? (typeof Y == "function" && (Ch(o, a, Y, c), O = o.memoizedState), (x = Wr || g1(o, a, x, c, G, O, M)) ? (X || typeof y.UNSAFE_componentWillMount != "function" && typeof y.componentWillMount != "function" || (typeof y.componentWillMount == "function" && y.componentWillMount(), typeof y.UNSAFE_componentWillMount == "function" && y.UNSAFE_componentWillMount()), typeof y.componentDidMount == "function" && (o.flags |= 4194308)) : (typeof y.componentDidMount == "function" && (o.flags |= 4194308), o.memoizedProps = c, o.memoizedState = O), y.props = c, y.state = O, y.context = M, c = x) : (typeof y.componentDidMount == "function" && (o.flags |= 4194308), c = !1); } else { y = o.stateNode, d1(r, o), x = o.memoizedProps, M = o.type === o.elementType ? x : Fn(o.type, x), y.props = M, X = o.pendingProps, G = y.context, O = a.contextType, typeof O == "object" && O !== null ? O = En(O) : (O = en(a) ? Ti : zt.current, O = bo(o, O)); var oe = a.getDerivedStateFromProps; (Y = typeof oe == "function" || typeof y.getSnapshotBeforeUpdate == "function") || typeof y.UNSAFE_componentWillReceiveProps != "function" && typeof y.componentWillReceiveProps != "function" || (x !== X || G !== O) && v1(o, y, c, O), Wr = !1, G = o.memoizedState, y.state = G, $u(o, c, y, f); var le = o.memoizedState; x !== X || G !== le || Jt.current || Wr ? (typeof oe == "function" && (Ch(o, a, oe, c), le = o.memoizedState), (M = Wr || g1(o, a, M, c, G, le, O) || !1) ? (Y || typeof y.UNSAFE_componentWillUpdate != "function" && typeof y.componentWillUpdate != "function" || (typeof y.componentWillUpdate == "function" && y.componentWillUpdate(c, le, O), typeof y.UNSAFE_componentWillUpdate == "function" && y.UNSAFE_componentWillUpdate(c, le, O)), typeof y.componentDidUpdate == "function" && (o.flags |= 4), typeof y.getSnapshotBeforeUpdate == "function" && (o.flags |= 1024)) : (typeof y.componentDidUpdate != "function" || x === r.memoizedProps && G === r.memoizedState || (o.flags |= 4), typeof y.getSnapshotBeforeUpdate != "function" || x === r.memoizedProps && G === r.memoizedState || (o.flags |= 1024), o.memoizedProps = c, o.memoizedState = le), y.props = c, y.state = le, y.context = O, c = M) : (typeof y.componentDidUpdate != "function" || x === r.memoizedProps && G === r.memoizedState || (o.flags |= 4), typeof y.getSnapshotBeforeUpdate != "function" || x === r.memoizedProps && G === r.memoizedState || (o.flags |= 1024), c = !1); } return Uh(r, o, a, c, g, f); } function Uh(r, o, a, c, f, g) { X1(r, o); var y = (o.flags & 128) !== 0; if (!c && !y) return f && r1(o, a, !1), gr(r, o, g); c = o.stateNode, pR.current = o; var x = y && typeof a.getDerivedStateFromError != "function" ? null : c.render(); return o.flags |= 1, r !== null && y ? (o.child = _o(o, r.child, null, g), o.child = _o(o, null, x, g)) : Zt(r, o, x, g), o.memoizedState = c.state, f && r1(o, a, !0), o.child; } function ew(r) { var o = r.stateNode; o.pendingContext ? t1(r, o.pendingContext, o.pendingContext !== o.context) : o.context && t1(r, o.context, !1), Th(r, o.containerInfo); } function tw(r, o, a, c, f) { return Ro(), mh(f), o.flags |= 256, Zt(r, o, a, c), o.child; } var zh = { dehydrated: null, treeContext: null, retryLane: 0 }; function Bh(r) { return { baseLanes: r, cachePool: null, transitions: null }; } function nw(r, o, a) { var c = o.pendingProps, f = ut.current, g = !1, y = (o.flags & 128) !== 0, x; if ((x = y) || (x = r !== null && r.memoizedState === null ? !1 : (f & 2) !== 0), x ? (g = !0, o.flags &= -129) : (r === null || r.memoizedState !== null) && (f |= 1), Je(ut, f & 1), r === null) return gh(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) : (y = c.children, r = c.fallback, g ? (c = o.mode, g = o.child, y = { mode: "hidden", children: y }, !(c & 1) && g !== null ? (g.childLanes = 0, g.pendingProps = y) : g = ac(y, c, 0, null), r = Di(r, c, a, null), g.return = o, r.return = o, g.sibling = r, o.child = g, o.child.memoizedState = Bh(a), o.memoizedState = zh, r) : Hh(o, y)); if (f = r.memoizedState, f !== null && (x = f.dehydrated, x !== null)) return gR(r, o, y, c, x, f, a); if (g) { g = c.fallback, y = o.mode, f = r.child, x = f.sibling; var O = { mode: "hidden", children: c.children }; return !(y & 1) && o.child !== f ? (c = o.child, c.childLanes = 0, c.pendingProps = O, o.deletions = null) : (c = Xr(f, O), c.subtreeFlags = f.subtreeFlags & 14680064), x !== null ? g = Xr(x, g) : (g = Di(g, y, a, null), g.flags |= 2), g.return = o, c.return = o, c.sibling = g, o.child = c, c = g, g = o.child, y = r.child.memoizedState, y = y === null ? Bh(a) : { baseLanes: y.baseLanes | a, cachePool: null, transitions: y.transitions }, g.memoizedState = y, g.childLanes = r.childLanes & ~a, o.memoizedState = zh, c; } return g = r.child, r = g.sibling, c = Xr(g, { mode: "visible", children: c.children }), !(o.mode & 1) && (c.lanes = a), c.return = o, c.sibling = null, r !== null && (a = o.deletions, a === null ? (o.deletions = [r], o.flags |= 16) : a.push(r)), o.child = c, o.memoizedState = null, c; } function Hh(r, o) { return o = ac({ mode: "visible", children: o }, r.mode, 0, null), o.return = r, r.child = o; } function Gu(r, o, a, c) { return c !== null && mh(c), _o(o, r.child, null, a), r = Hh(o, o.pendingProps.children), r.flags |= 2, o.memoizedState = null, r; } function gR(r, o, a, c, f, g, y) { if (a) return o.flags & 256 ? (o.flags &= -257, c = Mh(Error(n(422))), Gu(r, o, y, c)) : o.memoizedState !== null ? (o.child = r.child, o.flags |= 128, null) : (g = c.fallback, f = o.mode, c = ac({ mode: "visible", children: c.children }, f, 0, null), g = Di(g, f, y, null), g.flags |= 2, c.return = o, g.return = o, c.sibling = g, o.child = c, o.mode & 1 && _o(o, r.child, null, y), o.child.memoizedState = Bh(y), o.memoizedState = zh, g); if (!(o.mode & 1)) return Gu(r, o, y, null); if (f.data === "$!") { if (c = f.nextSibling && f.nextSibling.dataset, c) var x = c.dgst; return c = x, g = Error(n(419)), c = Mh(g, c, void 0), Gu(r, o, y, c); } if (x = (y & r.childLanes) !== 0, tn || x) { if (c = kt, c !== null) { switch (y & -y) { case 4: f = 2; break; case 16: f = 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: f = 32; break; case 536870912: f = 268435456; break; default: f = 0; } f = f & (c.suspendedLanes | y) ? 0 : f, f !== 0 && f !== g.retryLane && (g.retryLane = f, hr(r, f), zn(c, r, f, -1)); } return op(), c = Mh(Error(n(421))), Gu(r, o, y, c); } return f.data === "$?" ? (o.flags |= 128, o.child = r.child, o = PR.bind(null, r), f._reactRetry = o, null) : (r = g.treeContext, un = zr(f.nextSibling), ln = o, st = !0, Mn = null, r !== null && (wn[Sn++] = dr, wn[Sn++] = fr, wn[Sn++] = Oi, dr = r.id, fr = r.overflow, Oi = o), o = Hh(o, c.children), o.flags |= 4096, o); } function rw(r, o, a) { r.lanes |= o; var c = r.alternate; c !== null && (c.lanes |= o), Sh(r.return, o, a); } function Vh(r, o, a, c, f) { var g = r.memoizedState; g === null ? r.memoizedState = { isBackwards: o, rendering: null, renderingStartTime: 0, last: c, tail: a, tailMode: f } : (g.isBackwards = o, g.rendering = null, g.renderingStartTime = 0, g.last = c, g.tail = a, g.tailMode = f); } function iw(r, o, a) { var c = o.pendingProps, f = c.revealOrder, g = c.tail; if (Zt(r, o, c.children, a), c = ut.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 && rw(r, a, o); else if (r.tag === 19) rw(r, a, 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 (Je(ut, c), !(o.mode & 1)) o.memoizedState = null; else switch (f) { case "forwards": for (a = o.child, f = null; a !== null; ) r = a.alternate, r !== null && Bu(r) === null && (f = a), a = a.sibling; a = f, a === null ? (f = o.child, o.child = null) : (f = a.sibling, a.sibling = null), Vh(o, !1, f, a, g); break; case "backwards": for (a = null, f = o.child, o.child = null; f !== null; ) { if (r = f.alternate, r !== null && Bu(r) === null) { o.child = f; break; } r = f.sibling, f.sibling = a, a = f, f = r; } Vh(o, !0, a, null, g); break; case "together": Vh(o, !1, null, null, void 0); break; default: o.memoizedState = null; } return o.child; } function Yu(r, o) { !(o.mode & 1) && r !== null && (r.alternate = null, o.alternate = null, o.flags |= 2); } function gr(r, o, a) { if (r !== null && (o.dependencies = r.dependencies), Li |= o.lanes, !(a & o.childLanes)) return null; if (r !== null && o.child !== r.child) throw Error(n(153)); if (o.child !== null) { for (r = o.child, a = Xr(r, r.pendingProps), o.child = a, a.return = o; r.sibling !== null; ) r = r.sibling, a = a.sibling = Xr(r, r.pendingProps), a.return = o; a.sibling = null; } return o.child; } function mR(r, o, a) { switch (o.tag) { case 3: ew(o), Ro(); break; case 5: E1(o); break; case 1: en(o.type) && Lu(o); break; case 4: Th(o, o.stateNode.containerInfo); break; case 10: var c = o.type._context, f = o.memoizedProps.value; Je(ju, c._currentValue), c._currentValue = f; break; case 13: if (c = o.memoizedState, c !== null) return c.dehydrated !== null ? (Je(ut, ut.current & 1), o.flags |= 128, null) : a & o.child.childLanes ? nw(r, o, a) : (Je(ut, ut.current & 1), r = gr(r, o, a), r !== null ? r.sibling : null); Je(ut, ut.current & 1); break; case 19: if (c = (a & o.childLanes) !== 0, r.flags & 128) { if (c) return iw(r, o, a); o.flags |= 128; } if (f = o.memoizedState, f !== null && (f.rendering = null, f.tail = null, f.lastEffect = null), Je(ut, ut.current), c) break; return null; case 22: case 23: return o.lanes = 0, Q1(r, o, a); } return gr(r, o, a); } var ow, Wh, sw, aw; ow = function(r, o) { for (var a = o.child; a !== null; ) { if (a.tag === 5 || a.tag === 6) r.appendChild(a.stateNode); else if (a.tag !== 4 && a.child !== null) { a.child.return = a, a = a.child; continue; } if (a === o) break; for (; a.sibling === null; ) { if (a.return === null || a.return === o) return; a = a.return; } a.sibling.return = a.return, a = a.sibling; } }, Wh = function() { }, sw = function(r, o, a, c) { var f = r.memoizedProps; if (f !== c) { r = o.stateNode, ki(Jn.current); var g = null; switch (a) { case "input": f = yi(r, f), c = yi(r, c), g = []; break; case "select": f = b({}, f, { value: void 0 }), c = b({}, c, { value: void 0 }), g = []; break; case "textarea": f = sr(r, f), c = sr(r, c), g = []; break; default: typeof f.onClick != "function" && typeof c.onClick == "function" && (r.onclick = Pu); } ge(a, c); var y; a = null; for (M in f) if (!c.hasOwnProperty(M) && f.hasOwnProperty(M) && f[M] != null) if (M === "style") { var x = f[M]; for (y in x) x.hasOwnProperty(y) && (a || (a = {}), a[y] = ""); } else M !== "dangerouslySetInnerHTML" && M !== "children" && M !== "suppressContentEditableWarning" && M !== "suppressHydrationWarning" && M !== "autoFocus" && (s.hasOwnProperty(M) ? g || (g = []) : (g = g || []).push(M, null)); for (M in c) { var O = c[M]; if (x = f != null ? f[M] : void 0, c.hasOwnProperty(M) && O !== x && (O != null || x != null)) if (M === "style") if (x) { for (y in x) !x.hasOwnProperty(y) || O && O.hasOwnProperty(y) || (a || (a = {}), a[y] = ""); for (y in O) O.hasOwnProperty(y) && x[y] !== O[y] && (a || (a = {}), a[y] = O[y]); } else a || (g || (g = []), g.push( M, a )), a = O; else M === "dangerouslySetInnerHTML" ? (O = O ? O.__html : void 0, x = x ? x.__html : void 0, O != null && x !== O && (g = g || []).push(M, O)) : M === "children" ? typeof O != "string" && typeof O != "number" || (g = g || []).push(M, "" + O) : M !== "suppressContentEditableWarning" && M !== "suppressHydrationWarning" && (s.hasOwnProperty(M) ? (O != null && M === "onScroll" && it("scroll", r), g || x === O || (g = [])) : (g = g || []).push(M, O)); } a && (g = g || []).push("style", a); var M = g; (o.updateQueue = M) && (o.flags |= 4); } }, aw = function(r, o, a, c) { a !== c && (o.flags |= 4); }; function oa(r, o) { if (!st) switch (r.tailMode) { case "hidden": o = r.tail; for (var a = null; o !== null; ) o.alternate !== null && (a = o), o = o.sibling; a === null ? r.tail = null : a.sibling = null; break; case "collapsed": a = r.tail; for (var c = null; a !== null; ) a.alternate !== null && (c = a), a = a.sibling; c === null ? o || r.tail === null ? r.tail = null : r.tail.sibling = null : c.sibling = null; } } function Ht(r) { var o = r.alternate !== null && r.alternate.child === r.child, a = 0, c = 0; if (o) for (var f = r.child; f !== null; ) a |= f.lanes | f.childLanes, c |= f.subtreeFlags & 14680064, c |= f.flags & 14680064, f.return = r, f = f.sibling; else for (f = r.child; f !== null; ) a |= f.lanes | f.childLanes, c |= f.subtreeFlags, c |= f.flags, f.return = r, f = f.sibling; return r.subtreeFlags |= c, r.childLanes = a, o; } function vR(r, o, a) { var c = o.pendingProps; switch (hh(o), o.tag) { case 2: case 16: case 15: case 0: case 11: case 7: case 8: case 12: case 9: case 14: return Ht(o), null; case 1: return en(o.type) && _u(), Ht(o), null; case 3: return c = o.stateNode, Lo(), ot(Jt), ot(zt), Ph(), c.pendingContext && (c.context = c.pendingContext, c.pendingContext = null), (r === null || r.child === null) && (Du(o) ? o.flags |= 4 : r === null || r.memoizedState.isDehydrated && !(o.flags & 256) || (o.flags |= 1024, Mn !== null && (np(Mn), Mn = null))), Wh(r, o), Ht(o), null; case 5: Oh(o); var f = ki(ea.current); if (a = o.type, r !== null && o.stateNode != null) sw(r, o, a, c, f), r.ref !== o.ref && (o.flags |= 512, o.flags |= 2097152); else { if (!c) { if (o.stateNode === null) throw Error(n(166)); return Ht(o), null; } if (r = ki(Jn.current), Du(o)) { c = o.stateNode, a = o.type; var g = o.memoizedProps; switch (c[Xn] = o, c[Ys] = g, r = (o.mode & 1) !== 0, a) { case "dialog": it("cancel", c), it("close", c); break; case "iframe": case "object": case "embed": it("load", c); break; case "video": case "audio": for (f = 0; f < qs.length; f++) it(qs[f], c); break; case "source": it("error", c); break; case "img": case "image": case "link": it( "error", c ), it("load", c); break; case "details": it("toggle", c); break; case "input": An(c, g), it("invalid", c); break; case "select": c._wrapperState = { wasMultiple: !!g.multiple }, it("invalid", c); break; case "textarea": wi(c, g), it("invalid", c); } ge(a, g), f = null; for (var y in g) if (g.hasOwnProperty(y)) { var x = g[y]; y === "children" ? typeof x == "string" ? c.textContent !== x && (g.suppressHydrationWarning !== !0 && Ru(c.textContent, x, r), f = ["children", x]) : typeof x == "number" && c.textContent !== "" + x && (g.suppressHydrationWarning !== !0 && Ru( c.textContent, x, r ), f = ["children", "" + x]) : s.hasOwnProperty(y) && x != null && y === "onScroll" && it("scroll", c); } switch (a) { case "input": gn(c), or(c, g, !0); break; case "textarea": gn(c), qt(c); break; case "select": case "option": break; default: typeof g.onClick == "function" && (c.onclick = Pu); } c = f, o.updateQueue = c, c !== null && (o.flags |= 4); } else { y = f.nodeType === 9 ? f : f.ownerDocument, r === "http://www.w3.org/1999/xhtml" && (r = lt(a)), r === "http://www.w3.org/1999/xhtml" ? a === "script" ? (r = y.createElement("div"), r.innerHTML = "