diff --git a/404.html b/404.html deleted file mode 100644 index 28d6662..0000000 --- a/404.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - Multi-signature wallet - - - - - - - -
- - diff --git a/index.html b/index.html index 28d6662..866c9d6 100644 --- a/index.html +++ b/index.html @@ -7,9 +7,9 @@ Multi-signature wallet - - - + + +
diff --git a/static/index-Cw0xl-ZU.css b/static/index-Di8xCf9V.css similarity index 76% rename from static/index-Cw0xl-ZU.css rename to static/index-Di8xCf9V.css index e618881..721ce2f 100644 --- a/static/index-Cw0xl-ZU.css +++ b/static/index-Di8xCf9V.css @@ -1 +1 @@ -*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}#body :is(.static){position:static}#body :is(.fixed){position:fixed}#body :is(.absolute){position:absolute}#body :is(.sticky){position:sticky}#body :is(.block){display:block}#body :is(.flex){display:flex}#body :is(.inline-flex){display:inline-flex}#body :is(.table){display:table}#body :is(.hidden){display:none}#body :is(.w-full){width:100%}#body :is(.transform){transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#body :is(.rounded){border-radius:.25rem}#body :is(.border){border-width:1px}#body :is(.p-3){padding:.75rem}#body :is(.text-sm){font-size:.875rem;line-height:1.25rem}#body :is(.italic){font-style:italic}#body :is(.underline){text-decoration-line:underline}#body :is(.shadow){--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#body :is(.outline){outline-style:solid}#body :is(.filter){filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#body :is(.transition){transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.login{background-color:#000}.MuiBox-root,textarea{outline:none}.team-search [type=search]::-webkit-search-cancel-button,.team-search [type=search]::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none} +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}#body :is(.static){position:static}#body :is(.fixed){position:fixed}#body :is(.absolute){position:absolute}#body :is(.sticky){position:sticky}#body :is(.block){display:block}#body :is(.flex){display:flex}#body :is(.inline-flex){display:inline-flex}#body :is(.table){display:table}#body :is(.hidden){display:none}#body :is(.w-full){width:100%}#body :is(.transform){transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#body :is(.resize){resize:both}#body :is(.rounded){border-radius:.25rem}#body :is(.border){border-width:1px}#body :is(.p-3){padding:.75rem}#body :is(.text-sm){font-size:.875rem;line-height:1.25rem}#body :is(.capitalize){text-transform:capitalize}#body :is(.italic){font-style:italic}#body :is(.underline){text-decoration-line:underline}#body :is(.shadow){--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#body :is(.outline){outline-style:solid}#body :is(.filter){filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#body :is(.transition){transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.login{background-color:#000}.MuiBox-root,textarea{outline:none}.team-search [type=search]::-webkit-search-cancel-button,.team-search [type=search]::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none} diff --git a/static/js/createTeam/multikey.6unjWKWS.js b/static/js/createTeam/multikey.6unjWKWS.js new file mode 100644 index 0000000..312f03d --- /dev/null +++ b/static/js/createTeam/multikey.6unjWKWS.js @@ -0,0 +1 @@ +import{J as de,V as he,r as o,x as l,O as u,j as n,M as i,av as g,ba as k,ay as S,Y as V,a9 as W,ac as p,bn as ue,bm as pe,aS as fe,ae as be,af as ge}from"../multikey/multikey.D1_AnZj2.js";import{a as d,u as ye,d as Ce,b as ve,M as xe,e as U,t as ke,f as Se}from"../multikey/multikey.DANc9zrZ.js";import{P as we}from"../multikey/multikey.CSfMaGzx.js";const He=()=>{const w=d.getCache("current"),{t:r}=de(),j=he(),[f,$]=o.useState(""),y=ye(Ce),[b,q]=o.useState(2),[s,N]=o.useState([w.account,"",""]),[C,A]=o.useState(null),[v,x]=o.useState(null),[m,D]=o.useState([]),[G,T]=o.useState(!1),[J,Y]=o.useState(""),[Z,H]=o.useState(!1),[K,B]=o.useState(!0),[O,Q]=o.useState(!0),z=ve(),M=o.useCallback(async()=>{if(y){const t=d.formatUnits(y.amount,y.digits);Q(d.greaterThanZero(t,.1))}},[y]);o.useEffect(()=>{M()},[M]);const E=o.useCallback(t=>{const e=t.trim();if(e.length<=0){const a={text:r("home.inputName"),boo:!0};return A(a),!1}else if(e.length>20){const a={text:r("home.nameLength"),boo:!0};return A(a),!1}else return A({text:"",boo:!1}),!0},[r]),R=t=>{const{value:e}=t.target;$(e),E(e)},P=o.useCallback((t,e)=>{if(t.trim().length<=0)return D(()=>{const c={text:r("home.inputSign"),boo:!0};return m[e]=c,[...m]}),!1;if(d.validateAddress(t)){if(s.some((c,h)=>{if(h!==e)return c===t}))return D(()=>{const c={text:r("home.save"),boo:!0};return m[e]=c,[...m]}),!1;{const c={text:"",boo:!1};return m[e]=c,!0}}else return D(()=>{const c={text:r("home.addreeType"),boo:!0};return m[e]=c,[...m]}),!1},[m,s,r]),X=(t,e)=>{N(()=>(s[e]=t,[...s])),P(t,e)},_=o.useCallback(t=>{const e=t?parseInt(String(t),10):0;if(e)if(e<2){const a={text:r("home.min"),boo:!0};return x(a),!1}else if(e>s.length){const a={text:r("home.limit",{num:s.length}),boo:!0};return x(a),!1}else return x({text:"",boo:!1}),!0;else{const a={text:r("home.inputNum"),boo:!0};return x(a),!1}},[s.length,r]),ee=t=>{const{value:e}=t.target,a=d.formatDecimalPlaces(e,0)?d.formatDecimalPlaces(e,0):"";q(a),_(a)},F=()=>{T(!1)},te=()=>{T(!1),s.length>=15?(T(!0),Y(r("home.limit",{num:15}))):N(()=>(s.push(""),[...s]))},ne=t=>{N(()=>(s.splice(t,1),[...s]))},re=()=>{const t=E(f),e=_(String(b));s.map((h,I)=>P(h,I)).every(h=>h===!0)&&t&&e&&B(!1)},ae=()=>{H(!1)},se=o.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:Date.now(),params:[{name:"@1multi_sign_wallets",where:`{'owners -> ${w.account}': 1}`,order:{id:1},offset:0,limit:10}]}),[w.account]),L=async()=>{H(!1);const t=await z(U(se));if(U.fulfilled.match(t)&&(t.payload.list?t.payload.list:[]).length){const a=t.payload.list[0];z(ke(a)),z(Se({id:a.id,changes:{isSelect:!0}}))}j("/",{replace:!0})},oe=()=>{B(!0)},le=()=>{try{if(d.getCacheToken("type")==="jutkey_connect"){const e=d.currNetwork(),{walletId:a}=e,c=a,{host:h,origin:I}=document.location,ce={host:h,origin:I},me={contractName:"MultiSignCreateWallet",TeamName:f,Owners:s,Threshold:b};chrome.runtime.sendMessage(c,{path:"notice/contract",params:{pageInfo:ce,contractParams:me}},Ne=>{})}else H(!0)}catch{}},ie=()=>{j("/",{replace:!0})};return o.useEffect(()=>{document.addEventListener("jutkeyEvent",async({detail:t})=>{d.getCacheToken("type"),t.type==="jutkey_contract"&&L()})}),l(xe,{children:[K?l(u,{children:[n(i,{variant:"h5",mb:2,children:r("home.setting")}),n(i,{variant:"body1",mb:3,sx:{width:{md:"40%",sm:"100%"}},children:r("home.des")}),l("form",{autoComplete:"off",children:[l(g,{sx:{width:{md:"60%",sm:"100%"},display:"block",mb:3},children:[n(i,{variant:"h6",mb:2,children:r("home.team")}),n(i,{variant:"body2",mb:2,children:r("home.name")}),n(k,{placeholder:r("home.inputName"),size:"medium",fullWidth:!0,value:f,onChange:R,error:C?C.boo:!1}),n(S,{error:!0,children:C?C.text:""})]}),s.map((t,e)=>l(g,{sx:{width:{md:"60%",sm:"100%"},display:"block",mb:3},required:!0,children:[n(i,{variant:"body1",mb:2,children:r("home.sign",{num:e+1})}),e===0?l(V,{children:[n(k,{placeholder:r("home.inputSign"),size:"medium",fullWidth:!0,value:t,disabled:!0}),n(S,{error:!0})]}):l(V,{children:[l(W,{direction:"row",children:[n(k,{placeholder:r("home.inputSign"),size:"medium",fullWidth:!0,value:s[e]||"",onChange:a=>{const{value:c}=a.target;X(c,e)},error:m[e]?m[e].boo:!1}),e>=3?n(p,{variant:"outlined",sx:{ml:1,minWidth:150},onClick:()=>{ne(e)},size:"large",children:r("home.delete")}):""]}),n(S,{error:!0,children:m[e]?m[e].text:""})]})]},e)),n(g,{sx:{width:{md:"60%",sm:"100%"},display:"block",mb:3,mt:4},children:n(p,{variant:"filled",startIcon:n(ue,{}),onClick:te,sx:{minWidth:150,lineHeight:2.4},size:"large",children:r("home.new")})}),l(g,{sx:{width:{md:"60%",sm:"100%"},display:"block",mb:1},children:[l(W,{direction:"row",spacing:3,mb:3,children:[n(i,{variant:"body1",mb:2,children:r("home.num")}),n(fe,{title:r("home.signtip"),placement:"bottom",children:n(pe,{fontSize:"medium",sx:{cursor:"pointer"}})})]}),n(k,{placeholder:r("home.inputNum"),size:"medium",type:"InputNumber",sx:{width:60},value:b,onChange:ee,error:v?v.boo:!1}),n(i,{component:"span",variant:"body2",ml:1,children:r("home.over",{num:s.length})}),n(S,{error:!0,children:v?v.text:""})]}),n(g,{sx:{width:{md:"60%",sm:"100%"},display:"block",mb:1,mt:5,textAlign:"center"},children:l(W,{direction:"row",justifyContent:"space-around",children:[n(p,{sx:{minWidth:150,lineHeight:2.4},variant:"outlined",onClick:ie,color:"primary",size:"large",children:r("login.cancel")}),n(p,{sx:{minWidth:150,lineHeight:2.4},variant:"filled",onClick:re,color:"primary",size:"large",children:r("home.continue")})]})})]})]}):l(u,{children:[n(i,{variant:"h5",mb:2,children:r("home.sure")}),n(i,{variant:"body1",mb:3,children:r("home.mistake")}),l(u,{display:"flex",mb:2,children:[l(i,{variant:"body1",children:[r("home.team"),":"]}),n(i,{variant:"body1",ml:.5,children:f})]}),n(i,{variant:"body1",mb:1,children:r("home.mulAddress")}),n(u,{mb:2,children:s.map((t,e)=>n(i,{variant:"body1",mb:1,children:t},e))}),n(i,{variant:"body1",mb:2,children:r("home.signAll",{num:b,length:s.length})}),l(u,{sx:{width:{md:"60%",sm:"100%"},display:"flex",justifyContent:"space-around",mb:1,mt:5,textAlign:"center"},children:[n(p,{sx:{minWidth:150,lineHeight:2.4},variant:"outlined",onClick:oe,color:"primary",size:"large",children:r("login.previous")}),l(u,{children:[n(p,{sx:{minWidth:150,lineHeight:2.4},variant:"filled",onClick:le,color:"primary",size:"large",disabled:!O,children:r("home.build")}),O?"":n(i,{variant:"body2",color:t=>t.palette.error.light,mt:1,children:r("home.noGas")})]})]})]}),n(ge,{anchorOrigin:{vertical:"top",horizontal:"center"},open:G,onClose:F,autoHideDuration:3e3,children:n(be,{onClose:F,severity:"error",variant:"filled",sx:{width:"100%"},children:J})}),n(we,{isCheck:Z,params:{contractName:"MultiSignCreateWallet",TeamName:f,Owners:s,Threshold:b},close:ae,confirm:L})]})};export{He as Component}; diff --git a/static/js/createTeam/multikey.B7kjiwO2.js b/static/js/createTeam/multikey.B7kjiwO2.js deleted file mode 100644 index 3409426..0000000 --- a/static/js/createTeam/multikey.B7kjiwO2.js +++ /dev/null @@ -1 +0,0 @@ -import{U as de,a6 as he,r as o,x as l,G as d,j as t,a2 as i,aI as p,b6 as x,aL as S,a3 as U,H as B,ad as w,bj as ue,bi as pe,a_ as be,a7 as V,ae as fe,af as ge}from"../multikey/multikey.Cv6HG7AM.js";import{a as h,u as ye,g as Ce,b as ve,d as xe,M as Se,e as _,t as we,f as ke}from"../multikey/multikey.EJ3kMsQf.js";import{P as Ae}from"../multikey/multikey.Cqi5RVD9.js";const Te=()=>{const k=h.getCache("current"),{t:a}=de(),I=he(),[b,G]=o.useState(""),[f,$]=o.useState(2),[s,A]=o.useState([k.account,"",""]),[g,D]=o.useState(null),[y,C]=o.useState(null),[c,N]=o.useState([]),[q,H]=o.useState(!1),[Z,J]=o.useState(""),[K,T]=o.useState(!1),[Q,j]=o.useState(!0),v=ye(Ce),[W,R]=o.useState(!0),z=ve(),P=o.useMemo(()=>[{jsonrpc:"2.0",method:"ibax.getBalance",id:1,params:[v.wallet,1]}],[v.wallet]),O=o.useCallback(async()=>{if(v.wallet){const r=await xe(P);if(r){const e=h.formatUnits(r[0].result.amount,r[0].result.digits);R(h.greaterThanZero(e,0))}}},[P,v.wallet]);o.useEffect(()=>{O()},[O]);const F=o.useCallback(r=>{const e=r.trim();if(e.length<=0){const n={text:a("home.inputName"),boo:!0};return D(n),!1}else if(e.length>20){const n={text:a("home.nameLength"),boo:!0};return D(n),!1}else return D({text:"",boo:!1}),!0},[a]),X=r=>{const{value:e}=r.target;G(e),F(e)},M=o.useCallback((r,e)=>{if(r.trim().length<=0)return N(()=>{const m={text:a("home.inputSign"),boo:!0};return c[e]=m,[...c]}),!1;if(h.validateAddress(r)){if(s.some((m,u)=>{if(u!==e)return m===r}))return N(()=>{const m={text:a("home.save"),boo:!0};return c[e]=m,[...c]}),!1;{const m={text:"",boo:!1};return c[e]=m,!0}}else return N(()=>{const m={text:a("home.addreeType"),boo:!0};return c[e]=m,[...c]}),!1},[c,s,a]),Y=(r,e)=>{A(()=>(s[e]=r,[...s])),M(r,e)},L=o.useCallback(r=>{const e=r?parseInt(String(r),10):0;if(e)if(e<2){const n={text:a("home.min"),boo:!0};return C(n),!1}else if(e>s.length){const n={text:a("home.limit",{num:s.length}),boo:!0};return C(n),!1}else return C({text:"",boo:!1}),!0;else{const n={text:a("home.inputNum"),boo:!0};return C(n),!1}},[s.length,a]),ee=r=>{const{value:e}=r.target,n=h.formatDecimalPlaces(e,0)?h.formatDecimalPlaces(e,0):"";$(n),L(n)},E=()=>{H(!1)},te=()=>{H(!1),s.length>=15?(H(!0),J(a("home.limit",{num:15}))):A(()=>(s.push(""),[...s]))},ae=r=>{A(()=>(s.splice(r,1),[...s]))},re=()=>{const r=F(b),e=L(String(f));s.map((u,me)=>M(u,me)).every(u=>u===!0)&&r&&e&&j(!1)},ne=()=>{T(!1)},se=o.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:Date.now(),params:[{name:"@1wallets",where:`{'owners -> ${k.account}': 1}`,order:{id:1},offset:0,limit:10}]}),[k.account]),oe=async()=>{T(!1);const r=await z(_(se));if(_.fulfilled.match(r)&&(r.payload.list?r.payload.list:[]).length){const n=r.payload.list[0];z(we(n)),z(ke({id:n.id,changes:{isSelect:!0}}))}I("/",{replace:!0})},le=()=>{j(!0)},ie=()=>{T(!0)},ce=()=>{I("/",{replace:!0})};return l(Se,{children:[Q?l(d,{children:[t(i,{variant:"h5",mb:2,children:a("home.setting")}),t(i,{variant:"body1",mb:3,children:a("home.des")}),l("form",{autoComplete:"off",children:[l(p,{sx:{width:{md:"60%",sm:"100%"},display:"block",mb:3},children:[t(i,{variant:"body1",mb:2,children:a("home.team")}),t(i,{variant:"body2",mb:2,children:a("home.name")}),t(x,{placeholder:a("home.inputName"),size:"medium",fullWidth:!0,value:b,onChange:X,error:g?g.boo:!1}),t(S,{error:!0,children:g?g.text:""})]}),s.map((r,e)=>l(p,{sx:{width:{md:"60%",sm:"100%"},display:"block",mb:3},required:!0,children:[t(i,{variant:"body1",mb:2,children:a("home.sign",{num:e+1})}),e===0?l(U,{children:[t(x,{placeholder:a("home.inputSign"),size:"medium",fullWidth:!0,value:r,disabled:!0}),t(S,{error:!0})]}):l(U,{children:[l(B,{direction:"row",children:[t(x,{placeholder:a("home.inputSign"),size:"medium",fullWidth:!0,value:s[e]||"",onChange:n=>{const{value:m}=n.target;Y(m,e)},error:c[e]?c[e].boo:!1}),e>=3?t(w,{variant:"outlined",sx:{ml:1,minWidth:150},onClick:()=>{ae(e)},size:"large",children:a("home.delete")}):""]}),t(S,{error:!0,children:c[e]?c[e].text:""})]})]},e)),t(p,{sx:{width:{md:"60%",sm:"100%"},display:"block",mb:3,mt:4},children:t(w,{variant:"filled",startIcon:t(ue,{}),onClick:te,sx:{minWidth:150,lineHeight:2.4},size:"large",children:a("home.new")})}),l(p,{sx:{width:{md:"60%",sm:"100%"},display:"block",mb:1},children:[l(B,{direction:"row",spacing:3,mb:3,children:[t(i,{variant:"body1",mb:2,children:a("home.num")}),t(be,{title:a("home.signtip"),placement:"bottom",children:t(pe,{fontSize:"medium",sx:{cursor:"pointer"}})})]}),t(x,{placeholder:a("home.inputNum"),size:"medium",type:"InputNumber",sx:{width:60},value:f,onChange:ee,error:y?y.boo:!1}),t(i,{component:"span",variant:"body2",ml:1,children:a("home.over",{num:s.length})}),t(S,{error:!0,children:y?y.text:""})]}),t(p,{sx:{width:{md:"60%",sm:"100%"},display:"block",mb:1,mt:5,textAlign:"center"},children:l(B,{direction:"row",justifyContent:"space-around",children:[t(w,{sx:{minWidth:150,lineHeight:2.4},variant:"outlined",onClick:ce,color:"primary",size:"large",children:a("login.cancel")}),t(w,{sx:{minWidth:150,lineHeight:2.4},variant:"filled",onClick:re,color:"primary",size:"large",children:a("home.continue")})]})})]})]}):l(d,{children:[t(i,{variant:"h5",mb:2,children:a("home.sure")}),t(i,{variant:"body1",mb:3,children:a("home.mistake")}),l(d,{display:"flex",mb:2,children:[l(i,{variant:"body1",children:[a("home.team"),":"]}),t(i,{variant:"body1",ml:.5,children:b})]}),t(i,{variant:"body1",mb:1,children:a("home.mulAddress")}),t(d,{mb:2,children:s.map((r,e)=>t(i,{variant:"body1",mb:1,children:r},e))}),t(i,{variant:"body1",mb:2,children:a("home.signAll",{num:f,length:s.length})}),l(d,{sx:{width:{md:"60%",sm:"100%"},display:"flex",justifyContent:"space-around",mb:1,mt:5,textAlign:"center"},children:[t(V,{variant:"extended",onClick:le,color:"primary",children:a("login.previous")}),l(d,{children:[t(V,{variant:"extended",onClick:ie,color:"primary",disabled:!W,children:a("home.build")}),W?"":t(i,{variant:"body2",color:r=>r.palette.error.light,mt:1,children:a("home.noGas")})]})]})]}),t(ge,{anchorOrigin:{vertical:"top",horizontal:"center"},open:q,onClose:E,autoHideDuration:3e3,children:t(fe,{onClose:E,severity:"error",variant:"filled",sx:{width:"100%"},children:Z})}),t(Ae,{isCheck:K,params:{contractName:"MultiSignCreateWallet",TeamName:b,Owners:s,Threshold:f},close:ne,confirm:oe})]})};export{Te as Component}; diff --git a/static/js/details/multikey.DJipP_tm.js b/static/js/details/multikey.DJipP_tm.js deleted file mode 100644 index b614a91..0000000 --- a/static/js/details/multikey.DJipP_tm.js +++ /dev/null @@ -1 +0,0 @@ -import{U as X,bk as Z,r as c,a6 as ee,x as a,j as e,a2 as t,a3 as te,H as i,G as m,a_ as k,Y as B,ac as $,az as v,W as D,ad as h,a8 as ne,bs as ae}from"../multikey/multikey.Cv6HG7AM.js";import{a as p,u as oe,g as re,b as ie,m as se,S as T,M as ce,i as le}from"../multikey/multikey.EJ3kMsQf.js";import{h as N,c as _}from"../multikey/multikey.18FU-vRW.js";import{P as de}from"../multikey/multikey.Cqi5RVD9.js";const me=()=>{const{t:o}=X(),[s]=Z(),u=s.get("id"),b=s.get("status"),w=s.get("amount"),F=s.get("to"),E=s.get("wallet"),C=s.get("digits"),S=s.get("tokenSymbol"),H=s.get("tx_hash"),O=p.currNetwork(),z=s.get("created_at"),r=oe(re),P=p.getCache("current"),[l,R]=c.useState(null),[U,f]=c.useState(!1),[q,M]=c.useState({contractName:"MultiSignConfirm",ProposalId:0,Status:""}),G=ee(),J=ie(),I=c.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:1,params:[{name:"@1multi_sign_confirmations",where:`{"proposal_id": ${u}}`,order:{id:-1},offset:0}]}),[u]),Y=c.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:1,params:[{name:"@1multi_sign_proposals",where:`{"wallet": ${r.wallet},"status": "ongoing"}`,limit:10,columns:"id"}]}),[r.wallet]),A=c.useCallback(async()=>{const n=await se(I);R(n)},[I]),g=c.useMemo(()=>{if(r.owners){const n=JSON.parse(r.owners),d=Object.keys(n),y=l?l.list:[];return d.map(j=>{const x=y?y.find(V=>V.creator===j):"";return{account:j,status:x?x.status:"",time:x?x.created_at:"",isBtn:b==="ongoing"&&j===P.account}})}return[]},[P.account,l,b,r.owners]);c.useEffect(()=>{A()},[A]);const L=()=>{f(!0),M({contractName:"MultiSignConfirm",ProposalId:Number(u),Status:"rejected"})},W=()=>{f(!0),M({contractName:"MultiSignConfirm",ProposalId:Number(u),Status:"approved"})},K=()=>{f(!1)},Q=async()=>{f(!1),G("/message",{replace:!0}),await J(le(Y))};return a(ce,{children:[e(t,{variant:"h5",mb:3,children:o("home.messageDetails")}),F===r.wallet?a(te,{children:[a(i,{direction:"row",justifyContent:"center",mb:1,children:[e(t,{variant:"body2",component:"span",fontWeight:600,children:r.team_name}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.achieve",{to:E})})]}),a(i,{direction:"row",justifyContent:"center",children:[e(t,{variant:"body2",component:"span",ml:.5,children:p.formatFixed(w,Number(C))}),e(t,{variant:"body2",component:"span",ml:.5,children:S})]})]}):a(m,{children:[e(m,{display:"flex",justifyContent:"center",children:a(m,{sx:{width:{md:"60%",sm:"100%"}},children:[e(t,{variant:"h6",mb:1,textAlign:"center",children:o("home.notice")}),e(k,{title:N(Number(z)*1e3),placement:"bottom",children:e(t,{variant:"body2",mb:1,textAlign:"center",sx:{cursor:"pointer"},children:_(Number(z))})}),b==="ongoing"?a(i,{direction:"row",justifyContent:"center",mb:1,children:[e(t,{variant:"body2",component:"span",children:r.team_name}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.initiate")}),e(t,{variant:"body2",component:"span",ml:.5,children:p.formatFixed(w,Number(C))}),e(t,{variant:"body2",component:"span",ml:.5,children:S}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.wait")})]}):b==="finished"?a(i,{direction:"row",justifyContent:"center",mb:1,children:[e(t,{variant:"body2",component:"span",children:r.team_name}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.initiate")}),e(t,{variant:"body2",component:"span",ml:.5,children:p.formatFixed(w,Number(C))}),e(t,{variant:"body2",component:"span",ml:.5,children:S}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.finish")})]}):"",a(i,{direction:"row",justifyContent:"space-around",mb:3,children:[a(i,{direction:"row",children:[a(t,{variant:"body2",children:[o("home.current"),":"]}),e(t,{variant:"body2",ml:.5,children:l?l.count:0})]}),a(i,{direction:"row",children:[a(t,{variant:"body2",children:[o("home.tactics"),":"]}),a(t,{variant:"body2",ml:.5,children:[r.threshold,"-",r.owner_quantity]})]})]}),e(B,{sx:{display:{xs:"none",sm:"none",md:"block",mb:5}},children:g.length?g.map((n,d)=>e($,{children:a(i,{width:"100%",direction:"row",justifyContent:"space-between",alignItems:"center",children:[e(t,{component:"span",variant:"body1",flex:3,children:n.account}),e(t,{component:"span",variant:"body1",ml:1,flex:.5,children:n.status==="approved"?e(v,{color:"success",fontSize:"large"}):n.status==="rejected"?e(D,{color:"error",fontSize:"large"}):e(v,{fontSize:"large"})}),n.time?e(k,{title:N(Number(n.time)*1e3),placement:"bottom",children:e(t,{variant:"body2",mb:1,textAlign:"right",flex:3,sx:{cursor:"pointer"},children:_(Number(n.time))})}):e(t,{component:"span",variant:"body1",ml:.5,flex:3,textAlign:"center",children:n.isBtn?a(t,{component:"span",variant:"body1",ml:.5,display:"inline-flex",justifyContent:"space-between",children:[e(h,{variant:"filled",onClick:W,sx:{minWidth:150,ml:2},size:"large",children:o("home.approved")}),e(h,{variant:"outlined",onClick:L,sx:{minWidth:150,ml:2},size:"large",children:o("home.rejected")})]}):""})]})},d)):e(T,{num:3})})]})}),e(B,{sx:{display:{xs:"block",sm:"none",md:"none",mb:5}},children:g.length?g.map((n,d)=>e($,{sx:{width:{sm:"100%",md:"48%"},px:3,py:2,backgroundColor:y=>y.palette.surfaceContainer.main,borderRadius:5,mb:2,cursor:"pointer"},children:a(m,{width:"100%",children:[a(i,{width:"100%",direction:"row",justifyContent:"space-between",alignItems:"center",mb:1,children:[e(t,{component:"span",variant:"body2",children:n.account}),e(t,{component:"span",variant:"body2",ml:1,children:n.status==="approved"?e(v,{color:"success",fontSize:"medium"}):n.status==="rejected"?e(D,{color:"error",fontSize:"medium"}):e(v,{fontSize:"medium"})})]}),e(i,{children:n.time?e(k,{title:N(Number(n.time)*1e3),placement:"bottom",children:e(t,{variant:"body2",mb:1,flex:2,sx:{cursor:"pointer"},children:_(Number(n.time))})}):e(t,{component:"span",variant:"body1",ml:.5,flex:2,children:n.isBtn?a(t,{component:"span",variant:"body1",ml:.5,display:"inline-flex",justifyContent:"space-between",children:[e(h,{variant:"filled",onClick:W,sx:{minWidth:150},size:"large",children:o("home.approved")}),e(h,{variant:"outlined",onClick:L,sx:{minWidth:150,ml:1},size:"large",children:o("home.rejected")})]}):""})})]})},d)):e(T,{num:3})})]}),e(m,{sx:{py:2,textAlign:"center"},children:e(h,{variant:"outlined",sx:{minWidth:150,lineHeight:2.4},component:ne,to:`${O.blockexplorer}/blockchain/hash/${H}`,target:"_blank",fullWidth:!1,endIcon:e(ae,{}),size:"large",children:e(t,{variant:"body2",sx:{ml:1},children:o("home.explore")})})}),e(de,{isCheck:U,params:q,close:K,confirm:Q})]})};me.displayName="detailsPage";export{me as Component}; diff --git a/static/js/details/multikey.WW9SHsO4.js b/static/js/details/multikey.WW9SHsO4.js new file mode 100644 index 0000000..fbb910b --- /dev/null +++ b/static/js/details/multikey.WW9SHsO4.js @@ -0,0 +1 @@ +import{J as oe,bo as re,r as d,V as ie,x as a,j as e,M as t,Y as se,a9 as i,O as f,aS as P,am as $,a4 as H,a3 as k,aO as F,ac as y,aj as ce,bw as le}from"../multikey/multikey.D1_AnZj2.js";import{a as s,u as de,g as me,b as he,m as pe,S as O,M as ue,i as be}from"../multikey/multikey.DANc9zrZ.js";import{P as ge}from"../multikey/multikey.CSfMaGzx.js";import{u as R}from"../multikey/multikey.Dix-r58g.js";import{h as I,c as M}from"../multikey/multikey.CsbyK74s.js";const fe=()=>{const{t:o}=oe(),[c]=re(),u=c.get("id"),v=c.get("status"),S=c.get("amount"),J=c.get("to"),q=c.get("wallet"),j=c.get("digits"),N=c.get("tokenSymbol"),U=c.get("tx_hash"),V=s.currNetwork(),z=c.get("created_at"),r=de(me),D=s.getCache("current"),[b,Y]=d.useState(null),[G,x]=d.useState(!1),[K,A]=d.useState({contractName:"MultiSignConfirm",ProposalId:0,Status:""}),Q=ie(),X=he(),L=d.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:1,params:[{name:"@1multi_sign_confirmations",where:`{"proposal_id": ${u}}`,order:{id:-1},offset:0}]}),[u]),Z=d.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:1,params:[{name:"@1multi_sign_proposals",where:`{"wallet": ${r.wallet},"status": "ongoing"}`,limit:10,columns:"id"}]}),[r.wallet]),T=d.useCallback(async()=>{const n=await pe(L);Y(n)},[L]),w=d.useMemo(()=>{if(r.owners){const n=JSON.parse(r.owners),l=Object.keys(n),m=b?b.list:[];return l.map(p=>{const h=m?m.find(g=>g.creator===p):"";return{account:p,status:h?h.status:"",time:h?h.created_at:"",isBtn:v==="ongoing"&&p===D.account}})}return[]},[D.account,b,v,r.owners]);d.useEffect(()=>{T()},[T]);const ee=()=>{try{const n=s.getCacheToken("type"),l={contractName:"MultiSignConfirm",ProposalId:Number(u),Status:"rejected"};if(n==="jutkey_connect"){const m=s.currNetwork(),{walletId:C}=m,p=C,{host:h,origin:g}=document.location,_={host:h,origin:g};chrome.runtime.sendMessage(p,{path:"notice/contract",params:{pageInfo:_,contractParams:l}},ae=>{})}else x(!0),A({contractName:"MultiSignConfirm",ProposalId:Number(u),Status:"rejected"})}catch{}},te=()=>{try{const n=s.getCacheToken("type"),l={contractName:"MultiSignConfirm",ProposalId:Number(u),Status:"approved"};if(n==="jutkey_connect"){const m=s.currNetwork(),{walletId:C}=m,p=C,{host:h,origin:g}=document.location,_={host:h,origin:g};chrome.runtime.sendMessage(p,{path:"notice/contract",params:{pageInfo:_,contractParams:l}},ae=>{})}else x(!0),A({contractName:"MultiSignConfirm",ProposalId:Number(u),Status:"approved"})}catch{}},ne=()=>{x(!1)},W=async()=>{x(!1),Q("/message",{replace:!0}),await X(be(Z))},B=R(ee),E=R(te);return d.useEffect(()=>{document.addEventListener("jutkeyEvent",async({detail:n})=>{s.getCacheToken("type"),n.type==="jutkey_contract"&&W()})}),a(ue,{children:[e(t,{variant:"h5",mb:3,children:o("home.messageDetails")}),J===r.wallet?a(se,{children:[a(i,{direction:"row",justifyContent:"center",mb:1,children:[e(t,{variant:"body2",component:"span",fontWeight:600,children:r.team_name}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.achieve",{to:q})})]}),a(i,{direction:"row",justifyContent:"center",children:[e(t,{variant:"body2",component:"span",ml:.5,children:s.formatFixed(S,Number(j))}),e(t,{variant:"body2",component:"span",ml:.5,children:N})]})]}):a(f,{children:[e(f,{display:"flex",justifyContent:"center",children:a(f,{sx:{width:{md:"60%",sm:"100%"}},children:[e(t,{variant:"h6",mb:1,textAlign:"center",children:o("home.notice")}),e(P,{title:I(Number(z)*1e3),placement:"bottom",children:e(t,{variant:"body2",mb:1,textAlign:"center",sx:{cursor:"pointer"},children:M(Number(z))})}),v==="ongoing"?a(i,{direction:"row",justifyContent:"center",mb:1,children:[e(t,{variant:"body2",component:"span",children:r.team_name}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.initiate")}),e(t,{variant:"body2",component:"span",ml:.5,children:s.formatFixed(S,Number(j))}),e(t,{variant:"body2",component:"span",ml:.5,children:N}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.wait")})]}):v==="finished"?a(i,{direction:"row",justifyContent:"center",mb:1,children:[e(t,{variant:"body2",component:"span",children:r.team_name}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.initiate")}),e(t,{variant:"body2",component:"span",ml:.5,children:s.formatFixed(S,Number(j))}),e(t,{variant:"body2",component:"span",ml:.5,children:N}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.finish")})]}):"",a(i,{direction:"row",justifyContent:"space-around",mb:3,children:[a(i,{direction:"row",children:[a(t,{variant:"body2",children:[o("home.current"),":"]}),e(t,{variant:"body2",ml:.5,children:b?b.count:0})]}),a(i,{direction:"row",children:[a(t,{variant:"body2",children:[o("home.tactics"),":"]}),a(t,{variant:"body2",ml:.5,children:[r.threshold,"-",r.owner_quantity]})]})]}),e($,{sx:{display:{xs:"none",sm:"block",md:"block",mb:5},minWidth:600},children:w.length?w.map((n,l)=>e(H,{children:a(i,{width:"100%",direction:"row",justifyContent:"space-between",alignItems:"center",children:[e(t,{component:"span",variant:"body1",flex:3,children:n.account}),e(t,{component:"span",variant:"body1",ml:1,flex:.5,children:n.status==="approved"?e(k,{color:"success",fontSize:"large"}):n.status==="rejected"?e(F,{color:"error",fontSize:"large"}):e(k,{fontSize:"large"})}),n.time?e(P,{title:I(Number(n.time)*1e3),placement:"bottom",children:e(t,{variant:"body2",mb:1,textAlign:"right",flex:3,sx:{cursor:"pointer"},children:M(Number(n.time))})}):e(t,{component:"span",variant:"body1",ml:.5,flex:3,textAlign:"center",children:n.isBtn?a(t,{component:"span",variant:"body1",ml:.5,display:"inline-flex",justifyContent:"space-between",children:[e(y,{variant:"filled",onClick:E,sx:{minWidth:100,lineHeight:2.4,ml:2},size:"large",children:o("home.approved")}),e(y,{variant:"outlined",onClick:B,sx:{minWidth:100,lineHeight:2.4,ml:2},size:"large",children:o("home.rejected")})]}):""})]})},l)):e(O,{num:3})})]})}),e($,{sx:{display:{xs:"block",sm:"none",md:"none",mb:5}},children:w.length?w.map((n,l)=>e(H,{sx:{width:{sm:"100%",md:"48%"},px:3,py:2,backgroundColor:m=>m.palette.surfaceContainer.main,borderRadius:5,mb:2,cursor:"pointer"},children:a(f,{width:"100%",children:[a(i,{width:"100%",direction:"row",justifyContent:"space-between",alignItems:"center",mb:1,children:[e(t,{component:"span",variant:"body2",children:n.account}),e(t,{component:"span",variant:"body2",ml:1,children:n.status==="approved"?e(k,{color:"success",fontSize:"medium"}):n.status==="rejected"?e(F,{color:"error",fontSize:"medium"}):e(k,{fontSize:"medium"})})]}),e(i,{children:n.time?e(P,{title:I(Number(n.time)*1e3),placement:"bottom",children:e(t,{variant:"body2",mb:1,flex:2,sx:{cursor:"pointer"},children:M(Number(n.time))})}):e(t,{component:"span",variant:"body1",ml:.5,flex:2,children:n.isBtn?a(t,{component:"span",variant:"body1",ml:.5,display:"inline-flex",justifyContent:"space-between",children:[e(y,{variant:"filled",onClick:E,sx:{minWidth:120,lineHeight:2.4},size:"large",children:o("home.approved")}),e(y,{variant:"outlined",onClick:B,sx:{minWidth:120,lineHeight:2.4,ml:1},size:"large",children:o("home.rejected")})]}):""})})]})},l)):e(O,{num:3})})]}),e(f,{sx:{py:2,textAlign:"center"},children:e(y,{variant:"outlined",sx:{minWidth:150,lineHeight:2.4,height:52},component:ce,to:`${V.blockexplorer}/blockchain/hash/${U}`,target:"_blank",fullWidth:!1,endIcon:e(le,{}),size:"large",children:e(t,{variant:"body2",sx:{ml:1},children:o("home.explore")})})}),e(ge,{isCheck:G,params:K,close:ne,confirm:W})]})};fe.displayName="detailsPage";export{fe as Component}; diff --git a/static/js/manage/multikey.Bnz6HJn4.js b/static/js/manage/multikey.Bnz6HJn4.js deleted file mode 100644 index 80c3a44..0000000 --- a/static/js/manage/multikey.Bnz6HJn4.js +++ /dev/null @@ -1 +0,0 @@ -import{U as F,r,j as e,bv as le,x as h,a2 as p,aI as B,ax as X,bu as ce,ad as y,G as D,a3 as re,ac as se,a_ as de,Y as he,H as M,ae as q,af as oe,aw as ue,aY as R,$ as J,az as me,a1 as ge,aZ as _,b6 as V,aL as Y,X as Q,aD as ee,bB as te}from"../multikey/multikey.Cv6HG7AM.js";import{a as l,k as ne,q as ae,b as pe,u as fe,r as we,s as G,v as be,w as Ce,M as xe}from"../multikey/multikey.EJ3kMsQf.js";const ve=({isCheck:n,close:m,confirm:a})=>{const{t}=F(),[s,d]=r.useState("text"),[S,v]=r.useState(""),[A,x]=r.useState(!1),[C,f]=r.useState(t("login.pwEmpty")),P=()=>{v(""),x(!1),f(""),d(""),m()},L=r.useCallback(w=>{const z=l.getCache("current");return w==""?(x(!0),f(t("login.pwEmpty")),!1):w!==z.password?(x(!0),f(t("login.incorrect")),!1):(x(!1),f(""),!0)},[t]),k=w=>{const{value:z}=w.target;d("password"),v(w.target.value),L(z)},I=()=>{L(S)&&(v(""),d("text"),a())};return e(re,{children:e(le,{open:n,onClose:P,"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",children:h(D,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",bgcolor:"background.paper",boxShadow:24,p:2,borderRadius:2,width:{xs:"90%",md:"50%",lg:"30%",xl:"20%"}},children:[e(p,{id:"modal-modal-title",variant:"h6",component:"h2",mb:3,children:t("home.check")}),e(B,{sx:{minWidth:120,width:"100%",mb:3},required:!0,children:e(X,{required:!0,label:t("login.password"),onChange:k,size:"medium",autoComplete:"off",inputMode:"none",variant:"outlined",color:"secondary",type:s,value:S,error:A,fullWidth:!0,helperText:A?C:""})}),h(ce,{children:[e(y,{variant:"outlined",sx:{minWidth:150,lineHeight:2.4},onClick:P,size:"large",children:t("login.cancel")}),e(y,{variant:"filled",sx:{minWidth:150,lineHeight:2.4},onClick:I,size:"large",children:t("login.confirm")})]})]})})})},ye=()=>{const{t:n}=F(),[m,a]=r.useState(null),[t,s]=r.useState(null),[d,S]=r.useState(!1),[v,A]=r.useState(!1),[x,C]=r.useState(""),[f,P]=r.useState(null),L=r.useCallback(c=>{if(c.trim().length<=0){const g={text:n("home.inputAccount"),boo:!0};return P(g),!1}else return P({text:"",boo:!1}),!0},[n]),k=c=>{const{value:u}=c.target;C(u),L(u)},I=()=>{v?S(!0):A(!0)},w=async()=>{const c=L(x),u=l.getCache("hasher"),g=ne.getKeyring(u);if(c){const T=m[m.length-1],O=T.index+1,{privateKey:N}=ae.wallet(T.mnemonic,O),E=ae.publicKey(N),H=g.publicToID(E),i=ne.addressString(H),o={id:l.uuid(),index:O,selectId:t.selectId,name:x,mnemonic:T.mnemonic,password:T.password,networkId:t.networkId,privateKey:N,publicKey:E,account:i,isShow:!0,isLogin:!1};m.push(o),a(()=>[...m]),l.setCache(`${t.mnemonic}-${t.selectId}`,m),A(!1),C("")}},z=(c,u)=>{u!=="clickaway"&&S(!1)},W=async c=>{if(m){const u=m.map(g=>(g.id===c&&(g.isShow=!1),g));a(()=>[...u]),l.setCache(`${t.mnemonic}-${t.selectId}`,u)}},$=async c=>{if(m){const u=m.map(g=>(g.id===c&&(g.isShow=!0),g));a(()=>[...u]),l.setCache(`${t.mnemonic}-${t.selectId}`,u)}};return r.useEffect(()=>{(()=>{const u=l.getCache("current");try{const g=l.getCache(`${u.mnemonic}-${u.selectId}`);a(g),s(u)}catch{}})()},[]),h(D,{mb:3,children:[e(p,{variant:"h6",mb:1,children:n("login.loacl")}),e(p,{variant:"body2",mb:3,children:n("login.now")}),e(he,{sx:{maxHeight:"300px",overflowY:"auto",width:{md:"80%",sm:"100%"}},children:m?m.map(c=>h(se,{sx:{mb:2,p:0},children:[e(de,{title:c.name,placement:"bottom-start",children:e(p,{width:"60%",variant:"body2",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",cursor:"pointer"},children:c.name})}),c.isLogin?e(y,{disabled:c.isLogin,variant:"text",sx:{mx:1,minWidth:150,lineHeight:2.4},size:"large",children:n("manage.current")}):c.isShow?e(y,{variant:"outlined",sx:{mx:1,minWidth:150,lineHeight:2.4},onClick:()=>{W(c.id)},size:"large",children:n("manage.close")}):e(y,{sx:{mx:1,minWidth:150,lineHeight:2.4},variant:"filled",onClick:()=>{$(c.id)},size:"large",children:n("manage.use")})]},c.id)):""}),v?e(B,{sx:{width:{md:"80%",sm:"100%"},display:"block",mb:1},children:h(M,{direction:"row",children:[e(X,{sx:{width:"60%"},placeholder:n("home.inputAccount"),size:"medium",fullWidth:!0,autoComplete:"off",value:x,variant:"standard",onChange:k,error:f?f.boo:!1,helperText:f?f.text:""}),e(y,{variant:"outlined",sx:{mx:1,minWidth:150,lineHeight:2.4},onClick:w,size:"large",children:n("login.confirm")})]})}):"",e(D,{children:e(y,{variant:"filled",sx:{mx:1,minWidth:150,lineHeight:2.4},onClick:I,size:"large",children:n("manage.add")})}),e(oe,{open:d,autoHideDuration:3e3,onClose:z,anchorOrigin:{vertical:"top",horizontal:"center"},children:e(q,{onClose:z,severity:"warning",sx:{width:"100%"},children:n("manage.create")})})]})},Pe=window,Se=()=>{const{i18n:n}=F(),m=pe(),a=fe(we),t=async s=>{n.changeLanguage(s.value),await m(be(s.value)),await m(Ce(s.value)),localStorage.setItem("lang",s.value),Pe.location.reload()};return e(re,{children:e(ue,{freeSolo:!0,id:"language-change",sx:{width:300},size:"medium",value:G.find(s=>s.value===a),options:G,getOptionLabel:s=>s.label,onChange:(s,d)=>{t(d)},disableClearable:!0,clearIcon:"",renderInput:s=>{var d;return e(X,{variant:"outlined",className:"team-search",...s,InputProps:{...s.InputProps,type:"search",startAdornment:e(R,{position:"start",children:e(J,{alt:"Remy Sharp",src:(d=G.find(S=>S.value===a))==null?void 0:d.logo,sx:{width:25,height:25}})})}})},renderOption:(s,d)=>h(se,{...s,children:[a===d.value?e(me,{color:"success"}):e(p,{fontSize:20,width:20}),e(J,{alt:"Remy Sharp",src:d.logo,sx:{width:25,height:25}}),e(ge,{primary:d.label,sx:{ml:1}})]})})})},ke=(n,m)=>{const{t:a}=F(),{success:t}=n,[s,d]=r.useState(null),[S,v]=r.useState(null),[A,x]=r.useState(""),[C,f]=r.useState(null),[P,L]=r.useState(""),[k,I]=r.useState(null),[w,z]=r.useState(""),[W,$]=r.useState(null),c=r.useCallback(i=>{if(i.trim().length<=0){const b={text:a("manage.oldPassword"),boo:!0};return f(b),!1}else if(i!==(s==null?void 0:s.password)){const b={text:a("manage.oldError"),boo:!0};return f(b),!1}else return f({text:"",boo:!1}),!0},[s==null?void 0:s.password,a]),u=i=>{const{value:o}=i.target;c(o),x(o)},g=r.useCallback(i=>{const o=i.trim();if(o.length<=0){const b={text:a("manage.inputPassword"),boo:!0};return I(b),!1}else if(o.length>50){const b={text:a("manage.longPassword"),boo:!0};return I(b),!1}else return I({text:"",boo:!1}),!0},[a]),T=i=>{const{value:o}=i.target;g(o),L(o)},O=r.useCallback(i=>{if(i.trim().length<=0){const b={text:a("manage.againPassword"),boo:!0};return $(b),!1}else if(i!==P){const b={text:a("manage.againNot"),boo:!0};return $(b),!1}else return $({text:"",boo:!1}),!0},[P,a]),N=i=>{const{value:o}=i.target;O(o),z(o)},E=()=>{x(""),L(""),z(""),$(null),I(null),f(null)};r.useImperativeHandle(m,()=>({handleCancel:E}));const H=()=>{const i=c(A),o=g(P),b=O(w),Z=l.getCache("accountList");if(i&&o&&b){d({...s,password:w});const ie=Z.map(K=>(K.id===s.selectId&&(K.password=w),K));if(l.setCache("accountList",ie),l.setCache("current",{...s,password:w}),S){const K=S.map(j=>(j.privateKey&&(j.password=w),j));v(()=>[...K]),l.setCache(`${s.mnemonic}-${s.selectId}`,K)}t()}};return r.useEffect(()=>{(()=>{const o=l.getCache("current"),b=l.getCache(`${o.mnemonic}-${o.selectId}`);l.getCache("accountList");try{d(o),v(b)}catch{}})()},[]),h(D,{mb:3,children:[e(p,{variant:"h6",mb:1,children:a("manage.safety")}),e(p,{variant:"body2",mb:2,children:a("manage.setting")}),h(D,{sx:{width:{md:"60%",sm:"100%"}},children:[h(B,{fullWidth:!0,sx:{mb:2},children:[e(_,{htmlFor:"outlined-adornment-oldPassword",required:!0,sx:{fontSize:16},error:C?C.boo:!1,children:a("manage.check")}),e(V,{fullWidth:!0,placeholder:a("manage.old"),size:"medium",autoComplete:"off",type:"password",value:A,id:"outlined-adornment-oldPassword",onChange:u,startAdornment:e(R,{position:"start"}),label:a("manage.check"),error:C?C.boo:!1}),e(Y,{error:!0,children:C?C.text:""})]}),h(B,{fullWidth:!0,sx:{mb:2},children:[e(_,{htmlFor:"outlined-adornment-newPassword",required:!0,sx:{fontSize:16},error:k?k.boo:!1,children:a("manage.newPassword")}),e(V,{fullWidth:!0,placeholder:a("manage.new"),size:"medium",autoComplete:"off",type:"password",value:P,id:"outlined-adornment-newPassword",onChange:T,startAdornment:e(R,{position:"start"}),label:a("manage.newPassword"),error:k?k.boo:!1}),e(Y,{error:!0,children:k?k.text:""})]}),h(B,{fullWidth:!0,sx:{mb:2},children:[e(_,{htmlFor:"outlined-adornment-againPassword",required:!0,sx:{fontSize:16},error:W?W.boo:!1,children:a("manage.again")}),e(V,{fullWidth:!0,placeholder:a("manage.new"),size:"medium",autoComplete:"off",type:"password",value:w,id:"outlined-adornment-againPassword",onChange:N,startAdornment:e(R,{position:"start"}),label:a("manage.again"),error:W?W.boo:!1}),e(Y,{error:!0,children:W?W.text:""})]}),h(M,{direction:"row",justifyContent:"space-around",children:[e(y,{variant:"outlined",onClick:E,sx:{minWidth:150,lineHeight:2.4},size:"large",children:a("login.cancel")}),e(y,{variant:"filled",onClick:H,sx:{minWidth:150,lineHeight:2.4},size:"large",children:a("login.confirm")})]})]})]})},Ie=r.forwardRef(ke),U=window,ze=()=>{const{t:n}=F(),[m,a]=r.useState(!1),[t,s]=r.useState(null),[d,S]=r.useState(!1),[v,A]=r.useState(!1),[x,C]=r.useState(!1),[f,P]=r.useState("mnemonic"),[L,k]=r.useState(n("login.cody")),I=r.useRef(),w=()=>{a(!1),I.current&&I.current.handleCancel()},z=()=>{P("mnemonic"),!x&&!v&&C(!0),v&&A(!1)},W=()=>{C(!1)},$=()=>{P("private"),!x&&!d&&C(!0),d&&S(!1)},c=()=>{a(!0),k(n("manage.success")),U.location.reload()},u=()=>{const H="privateKey.txt",i=new Blob([t.privateKey],{type:"text/plain;charset=utf-8"});te.saveAs(i,H)},g=()=>{const H="mnemonic.txt",i=new Blob([t.mnemonic],{type:"text/plain;charset=utf-8"});te.saveAs(i,H)};r.useEffect(()=>{(()=>{const i=l.getCache("current");try{s(i)}catch{}})()},[]);const T=()=>{if(l.removeCacheToken("token"),l.removeCache("teamSelect"),t!=null&&t.mnemonic){const i=(l.getCache(`${t.mnemonic}-${t.selectId}`)||[]).map(o=>(o.index===0?o.isLogin=!0:o.isLogin=!1,o));l.setCache(`${t.mnemonic}-${t.selectId}`,i)}U.location.href="/login"},O=()=>{P("cleanAccount"),x||C(!0)},N=()=>{const i=(l.getCache("accountList")||[]).filter(o=>o.id!==t.selectId);l.setCache("accountList",i),l.removeCacheToken("token"),t!=null&&t.mnemonic&&l.removeCache(`${t.mnemonic}-${t.selectId}`),U.location.href="/login"},E=()=>{if(C(!1),f==="mnemonic")return A(!0),!1;if(f==="private")return S(!0),!1;f==="cleanAccount"&&N()};return h(xe,{children:[e(p,{variant:"h5",mb:3,children:n("nav.manage")}),t&&t.mnemonic?e(ye,{}):"",e(Ie,{ref:I,success:c}),t&&t.mnemonic?h(D,{mb:2,children:[e(p,{variant:"h6",mb:1,children:n("manage.phrase")}),e(p,{variant:"body2",mb:2,children:n("manage.custody")}),v?e(M,{direction:"row",children:h(q,{severity:"success",sx:{mb:2,display:"flex",alignItems:"center"},children:[t.mnemonic,e(Q,{"aria-label":"ContentCopyIcon",onClick:()=>{a(!0),l.copyToClipboard(t.mnemonic),k(n("login.cody"))},size:"medium",children:e(ee,{})})]})}):"",h(M,{direction:"row",children:[e(y,{variant:"filled",onClick:z,sx:{minWidth:150,lineHeight:2.4},size:"large",children:n(v?"manage.hide":"manage.show")}),v?e(y,{variant:"filled",onClick:g,sx:{mx:5,minWidth:150},size:"large",children:n("manage.import")}):""]})]}):"",h(D,{mb:2,children:[e(p,{variant:"h6",mb:1,children:n("manage.private")}),e(p,{variant:"body2",mb:2,children:n("manage.custodyKey")}),d?e(M,{direction:"row",children:h(q,{severity:"success",sx:{mb:2,display:"flex",alignItems:"center"},children:[t.privateKey,e(Q,{"aria-label":"ContentCopyIcon",onClick:()=>{a(!0),l.copyToClipboard(t.privateKey)},size:"medium",children:e(ee,{})})]})}):"",h(M,{direction:"row",children:[e(y,{variant:"filled",onClick:$,sx:{minWidth:150,lineHeight:2.4},size:"large",children:n(d?"manage.hidePrivate":"manage.showPrivate")}),d?e(y,{variant:"filled",onClick:u,sx:{mx:5,minWidth:150,lineHeight:2.4},size:"large",children:n("manage.import")}):""]})]}),h(D,{mb:3,children:[e(p,{variant:"h6",mb:2,children:n("manage.language")}),e(p,{variant:"body2",mb:2,children:n("manage.select")}),e(Se,{})]}),h(D,{mb:3,children:[e(p,{variant:"h6",mb:2,children:n("manage.help")}),e(p,{variant:"body2",mb:2,children:n("manage.user")})]}),h(D,{mb:3,children:[e(p,{variant:"h6",mb:2,children:n("manage.about")}),e(p,{variant:"body2",mb:2,children:n("manage.open")})]}),h(D,{mb:3,children:[e(y,{variant:"filled",sx:{mb:2,minWidth:150,lineHeight:2.4},onClick:O,size:"large",children:n("manage.clean")}),e(p,{variant:"body2",mb:2,children:n("manage.all")})]}),e(D,{mb:3,children:e(y,{variant:"filled",sx:{minWidth:150,lineHeight:2.4},onClick:T,size:"large",children:n("exit")})}),e(oe,{anchorOrigin:{vertical:"top",horizontal:"center"},open:m,onClose:w,autoHideDuration:2e3,children:e(q,{onClose:w,severity:"success",variant:"filled",sx:{width:"100%"},children:L})}),e(ve,{isCheck:x,close:W,confirm:E})]})};export{ze as Component}; diff --git a/static/js/manage/multikey.CPzjerfs.js b/static/js/manage/multikey.CPzjerfs.js new file mode 100644 index 0000000..5c643a9 --- /dev/null +++ b/static/js/manage/multikey.CPzjerfs.js @@ -0,0 +1 @@ +import{as as le,J as B,r as s,j as e,by as ce,x as d,M as w,av as F,_ as G,a9 as M,ac as y,O as z,Y as Q,a4 as oe,aS as de,am as he,ae as _,af as ie,Z as ue,$ as q,K as ee,a3 as me,a2 as ge,aR as V,ba as Y,ay as J,U as te,aa as ne,bE as ae}from"../multikey/multikey.D1_AnZj2.js";import{a as o,k as re,q as se,b as pe,u as fe,r as we,s as U,v as be,w as Ce,M as ve}from"../multikey/multikey.DANc9zrZ.js";const xe=({isCheck:n,close:m,confirm:r})=>{const t=le(),{t:a}=B(),[h,S]=s.useState("text"),[k,D]=s.useState(""),[P,g]=s.useState(!1),[v,b]=s.useState(a("login.pwEmpty")),L=()=>{D(""),g(!1),b(""),S(""),m()},I=s.useCallback(C=>{const x=o.getCache("current");return C==""?(g(!0),b(a("login.pwEmpty")),!1):C!==x.password?(g(!0),b(a("login.incorrect")),!1):(g(!1),b(""),!0)},[a]),W=C=>{const{value:x}=C.target;S("password"),D(C.target.value),I(x)},A=()=>{I(k)&&(D(""),S("text"),r())};return e(Q,{children:e(ce,{open:n,onClose:L,"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",children:d(z,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",bgcolor:t.palette.container.main,boxShadow:24,p:2,borderRadius:2,minWidth:460,maxWidth:600,width:{xs:"90%",md:"50%",lg:"30%",xl:"20%"}},children:[e(w,{id:"modal-modal-title",variant:"h6",component:"h2",mb:3,children:a("home.check")}),e(F,{sx:{minWidth:120,width:"100%",mb:3},required:!0,children:e(G,{required:!0,label:a("login.password"),onChange:W,size:"medium",autoComplete:"off",inputMode:"none",variant:"outlined",color:"secondary",type:h,value:k,error:P,fullWidth:!0,helperText:P?v:""})}),d(M,{direction:"row",justifyContent:"space-around",alignItems:"center",children:[e(y,{variant:"outlined",onClick:L,size:"large",children:a("login.cancel")}),e(y,{variant:"filled",onClick:A,size:"large",children:a("login.confirm")})]})]})})})},ye=()=>{const{t:n}=B(),[m,r]=s.useState(null),[t,a]=s.useState(null),[h,S]=s.useState(!1),[k,D]=s.useState(!1),[P,g]=s.useState(""),[v,b]=s.useState(null),L=s.useCallback(c=>{if(c.trim().length<=0){const p={text:n("home.inputAccount"),boo:!0};return b(p),!1}else return b({text:"",boo:!1}),!0},[n]),I=c=>{const{value:u}=c.target;g(u),L(u)},W=()=>{k?S(!0):D(!0)},A=async()=>{const c=L(P),u=o.getCache("hasher"),p=re.getKeyring(u);if(c){const T=m[m.length-1],O=T.index+1,{privateKey:N}=se.wallet(T.mnemonic,O),E=se.publicKey(N),j=p.publicToID(E),f=re.addressString(j),i={id:o.uuid(),index:O,selectId:t.selectId,name:P,mnemonic:T.mnemonic,password:T.password,networkId:t.networkId,privateKey:N,publicKey:E,account:f,isShow:!0,isLogin:!1};m.push(i),r(()=>[...m]),o.setCache(`${t.mnemonic}-${t.selectId}`,m),D(!1),g("")}},C=(c,u)=>{u!=="clickaway"&&S(!1)},x=async c=>{if(m){const u=m.map(p=>(p.id===c&&(p.isShow=!1),p));r(()=>[...u]),o.setCache(`${t.mnemonic}-${t.selectId}`,u)}},$=async c=>{if(m){const u=m.map(p=>(p.id===c&&(p.isShow=!0),p));r(()=>[...u]),o.setCache(`${t.mnemonic}-${t.selectId}`,u)}};return s.useEffect(()=>{(()=>{const u=o.getCache("current");try{const p=o.getCache(`${u.mnemonic}-${u.selectId}`);r(p),a(u)}catch{}})()},[]),d(z,{mb:3,children:[e(w,{variant:"h6",mb:1,children:n("login.loacl")}),e(w,{variant:"body2",mb:3,children:n("login.now")}),e(he,{sx:{maxHeight:"300px",overflowY:"auto",width:{md:"80%",sm:"100%"}},children:m?m.map(c=>d(oe,{sx:{mb:2,p:0},children:[e(de,{title:c.name,placement:"bottom-start",children:e(w,{width:"60%",variant:"body2",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",cursor:"pointer"},children:c.name})}),c.isLogin?e(y,{disabled:c.isLogin,variant:"text",sx:{mx:1,minWidth:150,lineHeight:2.4},size:"large",children:n("manage.current")}):c.isShow?e(y,{variant:"outlined",sx:{mx:1,minWidth:150,lineHeight:2.4},onClick:()=>{x(c.id)},size:"large",children:n("manage.close")}):e(y,{sx:{mx:1,minWidth:150,lineHeight:2.4},variant:"filled",onClick:()=>{$(c.id)},size:"large",children:n("manage.use")})]},c.id)):""}),k?e(F,{sx:{width:{md:"80%",sm:"100%"},display:"block",mb:1},children:d(M,{direction:"row",children:[e(G,{sx:{width:"60%"},placeholder:n("home.inputAccount"),size:"medium",fullWidth:!0,autoComplete:"off",value:P,variant:"standard",onChange:I,error:v?v.boo:!1,helperText:v?v.text:""}),e(y,{variant:"outlined",sx:{mx:1,minWidth:150,lineHeight:2.4},onClick:A,size:"large",children:n("login.confirm")})]})}):"",e(z,{children:e(y,{variant:"filled",sx:{mx:1,minWidth:150,lineHeight:2.4},onClick:W,size:"large",children:n("manage.add")})}),e(ie,{open:h,autoHideDuration:3e3,onClose:C,anchorOrigin:{vertical:"top",horizontal:"center"},children:e(_,{onClose:C,severity:"warning",sx:{width:"100%"},children:n("manage.create")})})]})},Se=window,ke=()=>{const{i18n:n}=B(),m=pe(),r=fe(we),t=async a=>{n.changeLanguage(a.value),await m(be(a.value)),await m(Ce(a.value)),localStorage.setItem("lang",a.value),Se.location.reload()};return e(Q,{children:e(ue,{freeSolo:!0,id:"language-change",sx:{width:300},size:"medium",value:U.find(a=>a.value===r),options:U,getOptionLabel:a=>a.label,onChange:(a,h)=>{t(h)},disableClearable:!0,clearIcon:"",renderInput:a=>{var h;return e(G,{variant:"outlined",className:"team-search",...a,InputProps:{...a.InputProps,type:"search",startAdornment:e(q,{position:"start",children:e(ee,{alt:"Remy Sharp",src:(h=U.find(S=>S.value===r))==null?void 0:h.logo,sx:{width:25,height:25}})})}})},renderOption:(a,h)=>d(oe,{...a,children:[r===h.value?e(me,{color:"success"}):e(w,{fontSize:20,width:20}),e(ee,{alt:"Remy Sharp",src:h.logo,sx:{width:25,height:25}}),e(ge,{primary:h.label,sx:{ml:1}})]})})})},Pe=(n,m)=>{const{t:r}=B(),{success:t}=n,[a,h]=s.useState(null),[S,k]=s.useState(null),[D,P]=s.useState(""),[g,v]=s.useState(null),[b,L]=s.useState(""),[I,W]=s.useState(null),[A,C]=s.useState(""),[x,$]=s.useState(null),c=s.useCallback(f=>{if(f.trim().length<=0){const l={text:r("manage.oldPassword"),boo:!0};return v(l),!1}else if(f!==(a==null?void 0:a.password)){const l={text:r("manage.oldError"),boo:!0};return v(l),!1}else return v({text:"",boo:!1}),!0},[a==null?void 0:a.password,r]),u=f=>{const{value:i}=f.target;c(i),P(i)},p=s.useCallback(f=>{const i=f.trim();if(i.length<=0){const l={text:r("manage.inputPassword"),boo:!0};return W(l),!1}else if(i.length>50){const l={text:r("manage.longPassword"),boo:!0};return W(l),!1}else return W({text:"",boo:!1}),!0},[r]),T=f=>{const{value:i}=f.target;p(i),L(i)},O=s.useCallback(f=>{if(f.trim().length<=0){const l={text:r("manage.againPassword"),boo:!0};return $(l),!1}else if(f!==b){const l={text:r("manage.againNot"),boo:!0};return $(l),!1}else return $({text:"",boo:!1}),!0},[b,r]),N=f=>{const{value:i}=f.target;O(i),C(i)},E=()=>{P(""),L(""),C(""),$(null),W(null),v(null)};s.useImperativeHandle(m,()=>({handleCancel:E}));const j=()=>{const f=c(D),i=p(b),l=O(A),H=o.getCache("accountList");if(f&&i&&l){h({...a,password:A});const X=H.map(K=>(K.id===a.selectId&&(K.password=A),K));if(o.setCache("accountList",X),o.setCache("current",{...a,password:A}),S){const K=S.map(R=>(R.privateKey&&(R.password=A),R));k(()=>[...K]),o.setCache(`${a.mnemonic}-${a.selectId}`,K)}t()}};return s.useEffect(()=>{(()=>{const i=o.getCache("current"),l=o.getCache(`${i.mnemonic}-${i.selectId}`);o.getCache("accountList");try{h(i),k(l)}catch{}})()},[]),d(z,{mb:3,children:[e(w,{variant:"h6",mb:1,children:r("manage.safety")}),e(w,{variant:"body2",mb:2,children:r("manage.setting")}),d(z,{sx:{width:{md:"60%",sm:"100%"}},children:[d(F,{fullWidth:!0,sx:{mb:2},children:[e(V,{htmlFor:"outlined-adornment-oldPassword",required:!0,sx:{fontSize:16},error:g?g.boo:!1,children:r("manage.check")}),e(Y,{fullWidth:!0,placeholder:r("manage.old"),size:"medium",autoComplete:"off",type:"password",value:D,id:"outlined-adornment-oldPassword",onChange:u,startAdornment:e(q,{position:"start"}),label:r("manage.check"),error:g?g.boo:!1}),e(J,{error:!0,children:g?g.text:""})]}),d(F,{fullWidth:!0,sx:{mb:2},children:[e(V,{htmlFor:"outlined-adornment-newPassword",required:!0,sx:{fontSize:16},error:I?I.boo:!1,children:r("manage.newPassword")}),e(Y,{fullWidth:!0,placeholder:r("manage.new"),size:"medium",autoComplete:"off",type:"password",value:b,id:"outlined-adornment-newPassword",onChange:T,startAdornment:e(q,{position:"start"}),label:r("manage.newPassword"),error:I?I.boo:!1}),e(J,{error:!0,children:I?I.text:""})]}),d(F,{fullWidth:!0,sx:{mb:2},children:[e(V,{htmlFor:"outlined-adornment-againPassword",required:!0,sx:{fontSize:16},error:x?x.boo:!1,children:r("manage.again")}),e(Y,{fullWidth:!0,placeholder:r("manage.new"),size:"medium",autoComplete:"off",type:"password",value:A,id:"outlined-adornment-againPassword",onChange:N,startAdornment:e(q,{position:"start"}),label:r("manage.again"),error:x?x.boo:!1}),e(J,{error:!0,children:x?x.text:""})]}),d(M,{direction:"row",justifyContent:"space-around",children:[e(y,{variant:"outlined",onClick:E,sx:{minWidth:150,lineHeight:2.4},size:"large",children:r("login.cancel")}),e(y,{variant:"filled",onClick:j,sx:{minWidth:150,lineHeight:2.4},size:"large",children:r("login.confirm")})]})]})]})},Ie=s.forwardRef(Pe),Z=window,ze=()=>{const{t:n}=B(),[m,r]=s.useState(!1),[t,a]=s.useState(null),[h,S]=s.useState(!1),[k,D]=s.useState(!1),[P,g]=s.useState(!1),[v,b]=s.useState("mnemonic"),[L,I]=s.useState(n("login.cody")),[W,A]=s.useState(""),C=s.useRef(),x=()=>{r(!1),C.current&&C.current.handleCancel()},$=()=>{b("mnemonic"),!P&&!k&&g(!0),k&&D(!1)},c=()=>{g(!1)},u=()=>{b("private"),!P&&!h&&g(!0),h&&S(!1)},p=()=>{r(!0),I(n("manage.success")),Z.location.reload()},T=()=>{const i="privateKey.txt",l=new Blob([t.privateKey],{type:"text/plain;charset=utf-8"});ae.saveAs(l,i)},O=()=>{const i="mnemonic.txt";o.setCache(`${t.mnemonic}`,t.mnemonic);const l=new Blob([t.mnemonic],{type:"text/plain;charset=utf-8"});ae.saveAs(l,i)};s.useEffect(()=>{(()=>{const l=o.getCache("current"),H=o.getCacheToken("type");try{a(l),A(H)}catch{}})()},[]);const N=()=>{if(o.removeCacheToken("token"),o.removeCacheToken("type"),o.removeCache("teamSelect"),t!=null&&t.mnemonic){const l=(o.getCache(`${t.mnemonic}-${t.selectId}`)||[]).map(H=>(H.index===0?H.isLogin=!0:H.isLogin=!1,H));o.setCache(`${t.mnemonic}-${t.selectId}`,l)}Z.location.href="/login"},E=()=>{b("cleanAccount"),P||g(!0)},j=()=>{const i=o.getCache("accountList")||[];o.removeCacheToken("token"),o.removeCacheToken("type");const l=i.filter(H=>H.id!==t.selectId);o.setCache("accountList",l),t!=null&&t.mnemonic&&o.removeCache(`${t.mnemonic}-${t.selectId}`),Z.location.href="/login"},f=()=>{if(g(!1),v==="mnemonic")return D(!0),!1;if(v==="private")return S(!0),!1;v==="cleanAccount"&&j()};return d(ve,{children:[W!=="jutkey_connect"?d(Q,{children:[e(w,{variant:"h5",mb:3,children:n("nav.manage")}),t&&t.mnemonic?e(ye,{}):"",e(Ie,{ref:C,success:p}),t&&t.mnemonic?d(z,{mb:2,children:[e(w,{variant:"h6",mb:1,children:n("manage.phrase")}),e(w,{variant:"body2",mb:2,children:n("manage.custody")}),k?e(M,{direction:"row",children:d(_,{severity:"success",sx:{mb:2,display:"flex",alignItems:"center"},children:[t.mnemonic,e(te,{color:"primary","aria-label":"ContentCopyIcon",onClick:()=>{r(!0),o.copyToClipboard(t.mnemonic),I(n("login.cody")),o.setCache(`${t.mnemonic}`,t.mnemonic)},size:"medium",children:e(ne,{})})]})}):"",d(M,{direction:"row",children:[e(y,{variant:"filled",onClick:$,sx:{minWidth:150,lineHeight:2.4},size:"large",children:n(k?"manage.hide":"manage.show")}),k?e(y,{variant:"filled",onClick:O,sx:{mx:5,minWidth:150},size:"large",children:n("manage.import")}):""]})]}):"",d(z,{mb:2,children:[e(w,{variant:"h6",mb:1,children:n("manage.private")}),e(w,{variant:"body2",mb:2,children:n("manage.custodyKey")}),h?e(M,{direction:"row",children:d(_,{severity:"success",sx:{mb:2,display:"flex",alignItems:"center"},children:[t.privateKey,e(te,{color:"primary","aria-label":"ContentCopyIcon",onClick:()=>{r(!0),o.copyToClipboard(t.privateKey)},size:"medium",children:e(ne,{})})]})}):"",d(M,{direction:"row",children:[e(y,{variant:"filled",onClick:u,sx:{minWidth:150,lineHeight:2.4},size:"large",children:n(h?"manage.hidePrivate":"manage.showPrivate")}),h?e(y,{variant:"filled",onClick:T,sx:{mx:5,minWidth:150,lineHeight:2.4},size:"large",children:n("manage.import")}):""]})]})]}):"",d(z,{mb:3,children:[e(w,{variant:"h6",mb:2,children:n("manage.language")}),e(w,{variant:"body2",mb:2,children:n("manage.select")}),e(ke,{})]}),d(z,{mb:3,children:[e(w,{variant:"h6",mb:2,children:n("manage.help")}),e(w,{variant:"body2",mb:2,children:n("manage.user")})]}),d(z,{mb:3,children:[e(w,{variant:"h6",mb:2,children:n("manage.about")}),e(w,{variant:"body2",mb:2,children:n("manage.open")})]}),d(z,{mb:3,children:[e(y,{variant:"filled",sx:{mb:2,minWidth:150,lineHeight:2.4},onClick:E,size:"large",children:n("manage.clean")}),e(w,{variant:"body2",mb:2,children:n("manage.all")})]}),e(z,{mb:3,children:e(y,{variant:"filled",sx:{minWidth:150,lineHeight:2.4},onClick:N,size:"large",children:n("nav.exit")})}),e(ie,{anchorOrigin:{vertical:"top",horizontal:"center"},open:m,onClose:x,autoHideDuration:2e3,children:e(_,{onClose:x,severity:"success",variant:"filled",sx:{width:"100%"},children:L})}),e(xe,{isCheck:P,close:c,confirm:f})]})};export{ze as Component}; diff --git a/static/js/message/multikey.dp6Vkug2.js b/static/js/message/multikey.BQMay1Uv.js similarity index 51% rename from static/js/message/multikey.dp6Vkug2.js rename to static/js/message/multikey.BQMay1Uv.js index 625401b..2360d24 100644 --- a/static/js/message/multikey.dp6Vkug2.js +++ b/static/js/message/multikey.BQMay1Uv.js @@ -1 +1 @@ -import{j as e,aG as a}from"../multikey/multikey.Cv6HG7AM.js";const s=()=>e(a,{});s.displayName="MessagePage";export{s as Component}; +import{j as e,au as a}from"../multikey/multikey.D1_AnZj2.js";const s=()=>e(a,{});s.displayName="MessagePage";export{s as Component}; diff --git a/static/js/messageList/multikey.CfttugA8.js b/static/js/messageList/multikey.CfttugA8.js new file mode 100644 index 0000000..34f52b0 --- /dev/null +++ b/static/js/messageList/multikey.CfttugA8.js @@ -0,0 +1 @@ +import{J as K,r as m,V as Q,x as r,j as e,Y as _,bp as X,bq as Z,bu as ee,bs as $,bt as y,aS as B,M as t,a9 as d,O as p,ac as R,bv as ne,am as te,a4 as ae,ag as oe,b3 as re}from"../multikey/multikey.D1_AnZj2.js";import{u as ie,g as se,l as N,h as M,a as b,S as F,M as le}from"../multikey/multikey.DANc9zrZ.js";import{h as E,b as f}from"../multikey/multikey.CsbyK74s.js";const ce=()=>{const{t:o}=K(),[c,v]=m.useState(null),[i,w]=m.useState(null),[H,T]=m.useState(0),s=ie(se),q=Q(),S=m.useRef(1),[z,W]=m.useState(!1),[A,L]=m.useState(!1),x=10,h=m.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:1,params:[{name:"@1multi_sign_proposals",where:`{"$or": ["wallet": "${s.wallet}", "$and": [{"to":"${s.wallet}"},{"status": "finished"}]]}`,offset:0,limit:x,order:{id:-1}}]}),[s.wallet]),[D,O]=m.useState(h.params[0].limit),j=m.useCallback(async()=>{const n=await N(h);if(n!=null&&n.list){const a=[];n.list.forEach(u=>{a.push({jsonrpc:"2.0",method:"ibax.ecosystemInfo",id:2,params:[Number(u.ecosystem)]})});const l=await M(a);w(l),v(n)}else w(null),v(null)},[h]);m.useEffect(()=>{s.wallet&&j()},[j,s.wallet]);const Y=async(n,a)=>{h.params[0].offset=a*h.params[0].limit,T(a);const l=await N(h);if(l){const u=[];l.list.forEach(P=>{u.push({jsonrpc:"2.0",method:"ibax.ecosystemInfo",id:2,params:[Number(P.ecosystem)]})});const C=await M(u);w(C),v(l)}},G=n=>{O(+n.target.value),T(0)},g=(n,a)=>{const l={...n,digits:a.digits,tokenSymbol:a.token_symbol,tokenName:a.token_name};q({pathname:"/message/details",search:`?${re(l)}`})},J=async n=>{if(z)return;const{target:a}=n,l=a,{scrollHeight:u,scrollTop:C,offsetHeight:P}=l;C+P>=u-25&&Math.ceil(c.count/x)>S.current&&!z&&(W(!0),S.current+=1,h.params[0].offset=(S.current-1)*x,setTimeout(async()=>{const k=await N(h);if(Math.ceil(c.count/x)>S.current?L(!0):L(!1),k){const I=[];k.list.forEach(V=>{I.push({jsonrpc:"2.0",method:"ibax.ecosystemInfo",id:2,params:[Number(V.ecosystem)]})});const U=await M(I);w(()=>[...i,...U]),v(()=>({count:k.count,list:[...c.list,...k.list]}))}W(!1)},500))};return r(le,{children:[e(p,{sx:{display:{xs:"none",sm:"none",md:"block"}},children:c?r(_,{children:[e(X,{sx:{minHeight:500},children:e(Z,{sx:{minWidth:650},stickyHeader:!0,"aria-label":"sticky table",children:e(ee,{children:c.list&&i?c.list.map((n,a)=>r($,{sx:{"& > *":{borderBottom:"unset"}},children:[e(y,{align:"left",width:200,children:e(B,{title:E(Number(n.created_at)*1e3),placement:"bottom",children:e(t,{variant:"body2",sx:{cursor:"pointer"},children:f(Number(n.created_at))<60?`${f(Number(n.created_at))} ${o("home.second")}`:f(Number(n.created_at))})})}),e(y,{align:"center",children:n.to===s.wallet?e(d,{direction:"row",children:r(p,{sx:{cursor:"pointer",color:l=>l.palette.primary.main,textDecoration:"underline"},onClick:()=>{g(n,i[a].result)},children:[e(t,{variant:"body2",component:"span",fontWeight:600,children:s.team_name}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.achieve",{to:n.wallet})}),e(t,{variant:"body2",component:"span",ml:.5,children:b.formatFixed(n.amount,i[a].result.digits)}),e(t,{variant:"body2",component:"span",ml:.5,children:i[a].result.token_symbol})]})}):n.status==="ongoing"?e(d,{direction:"row",children:r(p,{sx:{cursor:"pointer",color:l=>l.palette.primary.main,textDecoration:"underline"},onClick:()=>{g(n,i[a].result)},children:[e(t,{variant:"body2",component:"span",fontWeight:600,children:s.team_name}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.initiate")}),e(t,{variant:"body2",component:"span",ml:.5,children:b.formatFixed(n.amount,i[a].result.digits)}),r(t,{variant:"body2",component:"span",ml:.5,children:[i[a].result.token_symbol,","]}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.wait")})]})}):n.status==="finished"?e(d,{direction:"row",children:r(p,{sx:{cursor:"pointer",color:l=>l.palette.primary.main,textDecoration:"underline"},onClick:()=>{g(n,i[a].result)},children:[e(t,{variant:"body2",component:"span",fontWeight:600,children:s.team_name}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.initiate")}),e(t,{variant:"body2",component:"span",ml:.5,children:b.formatFixed(n.amount,i[a].result.digits)}),r(t,{variant:"body2",component:"span",ml:.5,children:[i[a].result.token_symbol,","]}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.finish")})]})}):""}),r(y,{align:"center",children:[s.threshold,"/",s.owner_quantity]}),e(y,{align:"center",children:e(R,{variant:"outlined",onClick:()=>{g(n,i[a].result)},sx:{fontSize:12,minWidth:150,lineHeight:2.4},size:"large",children:o("home.examine")})})]},n.id)):e($,{sx:{"& > *":{borderBottom:"unset"}},children:e(y,{align:"center",colSpan:6,children:e(t,{variant:"body1",children:o("login.no")})})})})})}),c&&c.count?e(ne,{rowsPerPageOptions:[h.params[0].limit],component:"div",count:c.count,rowsPerPage:D,page:H,onPageChange:Y,onRowsPerPageChange:G}):e(F,{num:3})]}):e(t,{textAlign:"center",children:o("home.noMessage")})}),e(p,{sx:{display:{xs:"block",sm:"block",md:"none"}},width:"100%",children:c?r(te,{sx:{width:"100%",maxWidth:"100%",height:"80vh",overflowY:"auto",pb:5},onScroll:J,children:[c.list&&i?c.list.map((n,a)=>e(ae,{sx:{p:2,backgroundColor:l=>l.palette.surfaceContainer.main,borderRadius:5,mb:2,cursor:"pointer"},children:r(p,{width:"100%",children:[r(d,{direction:"row",justifyContent:"space-between",mb:.5,width:"100%",spacing:2,children:[r(d,{direction:"row",flexShrink:0,alignItems:"center",children:[r(t,{mr:1,variant:"body2",fontSize:12,children:[o("home.time"),":"]}),e(B,{title:E(Number(n.created_at)*1e3),placement:"bottom",children:e(t,{variant:"body2",sx:{cursor:"pointer"},children:f(Number(n.created_at))<60?`${f(Number(n.created_at))} ${o("home.second")}`:f(Number(n.created_at))})})]}),r(d,{direction:"row",flexShrink:0,alignItems:"center",children:[r(t,{mr:1,variant:"body2",fontSize:12,children:[o("home.signnum"),":"]}),r(t,{variant:"body2",sx:{cursor:"pointer"},children:[s.threshold,"/",s.owner_quantity]})]}),e(R,{variant:"outlined",onClick:()=>{g(n,i[a].result)},sx:{fontSize:12,minWidth:150,lineHeight:2.4},size:"large",children:o("home.examine")})]}),e(d,{direction:"row",justifyContent:"space-between",width:"100%",mb:1,children:e(d,{direction:"row",flexShrink:0,alignItems:"center",flexWrap:"wrap",sx:{wordBreak:"break-word"},children:n.status==="ongoing"?r(d,{direction:"row",flexWrap:"wrap",children:[e(t,{variant:"body2",component:"span",fontSize:12,children:s.team_name}),e(t,{variant:"body2",component:"span",ml:1,fontSize:12,children:o("home.initiate")}),e(t,{variant:"body2",component:"span",ml:.5,fontSize:12,children:b.formatFixed(n.amount,i[a].result.digits)}),e(t,{variant:"body2",component:"span",ml:.5,fontSize:12,children:i[a].result.token_symbol}),e(t,{variant:"body2",component:"span",ml:1,fontSize:12,children:o("home.wait")})]}):n.status==="finished"?r(d,{direction:"row",flexWrap:"wrap",children:[e(t,{variant:"body2",component:"span",fontSize:12,fontWeight:600,children:s.team_name}),e(t,{variant:"body2",component:"span",ml:1,fontSize:12,children:o("home.initiate")}),e(t,{variant:"body2",component:"span",ml:.5,fontSize:12,children:b.formatFixed(n.amount,i[a].result.digits)}),e(t,{variant:"body2",component:"span",ml:.5,fontSize:12,children:i[a].result.token_symbol}),e(t,{variant:"body2",component:"span",ml:1,fontSize:12,children:o("home.finish")})]}):""})}),n.to===s.wallet?r(d,{direction:"row",flexWrap:"wrap",children:[e(t,{variant:"body2",component:"span",sx:{fontWeight:600},fontSize:12,children:s.team_name}),e(t,{variant:"body2",component:"span",ml:1,fontSize:12,children:o("home.achieve",{to:n.to})}),e(t,{variant:"body2",component:"span",ml:.5,fontSize:12,children:b.formatFixed(n.amount,i[a].result.digits)}),e(t,{variant:"body2",component:"span",ml:.5,fontSize:12,children:i[a].result.token_symbol})]}):""]})},n.id)):e(F,{num:3}),e(p,{sx:{display:"flex",justifyContent:"center",alignItems:"center",mt:3},children:z?r(_,{children:[e(oe,{size:20}),e(t,{variant:"body2",ml:2,children:o("nav.load")})]}):A?e(_,{children:e(t,{variant:"body2",ml:2,children:o("nav.drop")})}):e(_,{children:e(t,{variant:"body2",ml:2,children:o("nav.nomore")})})})]}):e(t,{variant:"body1",textAlign:"center",children:o("login.no")})})]})};ce.displayName="MessagePage";export{ce as Component}; diff --git a/static/js/messageList/multikey.DassHwqZ.js b/static/js/messageList/multikey.DassHwqZ.js deleted file mode 100644 index 61265f1..0000000 --- a/static/js/messageList/multikey.DassHwqZ.js +++ /dev/null @@ -1 +0,0 @@ -import{U as Q,r as m,a6 as V,x as r,j as e,a3 as _,bl as X,bm as Z,bq as ee,bo as $,bp as y,a_ as B,a2 as t,H as d,G as p,ad as R,br as ne,Y as te,ac as ae,a4 as oe,ag as re}from"../multikey/multikey.Cv6HG7AM.js";import{u as ie,g as se,l as N,h as T,a as b,S as F,M as le}from"../multikey/multikey.EJ3kMsQf.js";import{h as H,b as f}from"../multikey/multikey.18FU-vRW.js";const ce=()=>{const{t:o}=Q(),[c,v]=m.useState(null),[i,w]=m.useState(null),[E,W]=m.useState(0),l=ie(se),q=V(),S=m.useRef(1),[z,L]=m.useState(!1),[A,M]=m.useState(!1),x=10,h=m.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:1,params:[{name:"@1multi_sign_proposals",where:`{"$or": ["wallet": "${l.wallet}", "$and": [{"to":"${l.wallet}"},{"status": "finished"}]]}`,offset:0,limit:x,order:{id:-1}}]}),[l.wallet]),[D,G]=m.useState(h.params[0].limit),j=m.useCallback(async()=>{const n=await N(h);if(n!=null&&n.list){const a=[];n.list.forEach(u=>{a.push({jsonrpc:"2.0",method:"ibax.ecosystemInfo",id:2,params:[Number(u.ecosystem)]})});const s=await T(a);w(s),v(n)}else w(null),v(null)},[h]);m.useEffect(()=>{l.wallet&&j()},[j,l.wallet]);const U=async(n,a)=>{h.params[0].offset=a*h.params[0].limit,W(a);const s=await N(h);if(s){const u=[];s.list.forEach(P=>{u.push({jsonrpc:"2.0",method:"ibax.ecosystemInfo",id:2,params:[Number(P.ecosystem)]})});const C=await T(u);w(C),v(s)}},Y=n=>{G(+n.target.value),W(0)},g=(n,a)=>{const s={...n,digits:a.digits,tokenSymbol:a.token_symbol,tokenName:a.token_name};q({pathname:"/message/details",search:`?${re(s)}`})},O=async n=>{if(z)return;const{target:a}=n,s=a,{scrollHeight:u,scrollTop:C,offsetHeight:P}=s;C+P>=u-25&&Math.ceil(c.count/x)>S.current&&!z&&(L(!0),S.current+=1,h.params[0].offset=(S.current-1)*x,setTimeout(async()=>{const k=await N(h);if(Math.ceil(c.count/x)>S.current?M(!0):M(!1),k){const I=[];k.list.forEach(K=>{I.push({jsonrpc:"2.0",method:"ibax.ecosystemInfo",id:2,params:[Number(K.ecosystem)]})});const J=await T(I);w(()=>[...i,...J]),v(()=>({count:k.count,list:[...c.list,...k.list]}))}L(!1)},500))};return r(le,{children:[e(p,{sx:{display:{xs:"none",sm:"none",md:"block"}},children:c?r(_,{children:[e(X,{sx:{minHeight:500},children:e(Z,{sx:{minWidth:650},stickyHeader:!0,"aria-label":"sticky table",children:e(ee,{children:c.list&&i?c.list.map((n,a)=>r($,{sx:{"& > *":{borderBottom:"unset"}},children:[e(y,{align:"left",width:200,children:e(B,{title:H(Number(n.created_at)*1e3),placement:"bottom",children:e(t,{variant:"body2",sx:{cursor:"pointer"},children:f(Number(n.created_at))<60?`${f(Number(n.created_at))} ${o("home.second")}`:f(Number(n.created_at))})})}),e(y,{align:"center",children:n.to===l.wallet?e(d,{direction:"row",children:r(p,{sx:{cursor:"pointer",color:s=>s.palette.primary.main,textDecoration:"underline"},onClick:()=>{g(n,i[a].result)},children:[e(t,{variant:"body2",component:"span",fontWeight:600,children:l.team_name}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.achieve",{to:n.wallet})}),e(t,{variant:"body2",component:"span",ml:.5,children:b.formatFixed(n.amount,i[a].result.digits)}),e(t,{variant:"body2",component:"span",ml:.5,children:i[a].result.token_symbol})]})}):n.status==="ongoing"?e(d,{direction:"row",children:r(p,{sx:{cursor:"pointer",color:s=>s.palette.primary.main,textDecoration:"underline"},onClick:()=>{g(n,i[a].result)},children:[e(t,{variant:"body2",component:"span",fontWeight:600,children:l.team_name}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.initiate")}),e(t,{variant:"body2",component:"span",ml:.5,children:b.formatFixed(n.amount,i[a].result.digits)}),r(t,{variant:"body2",component:"span",ml:.5,children:[i[a].result.token_symbol,","]}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.wait")})]})}):n.status==="finished"?e(d,{direction:"row",children:r(p,{sx:{cursor:"pointer",color:s=>s.palette.primary.main,textDecoration:"underline"},onClick:()=>{g(n,i[a].result)},children:[e(t,{variant:"body2",component:"span",fontWeight:600,children:l.team_name}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.initiate")}),e(t,{variant:"body2",component:"span",ml:.5,children:b.formatFixed(n.amount,i[a].result.digits)}),r(t,{variant:"body2",component:"span",ml:.5,children:[i[a].result.token_symbol,","]}),e(t,{variant:"body2",component:"span",ml:1,children:o("home.finish")})]})}):""}),r(y,{align:"center",children:["2/",l.owner_quantity]}),e(y,{align:"center",children:e(R,{variant:"outlined",onClick:()=>{g(n,i[a].result)},sx:{fontSize:12,minWidth:150,lineHeight:2.4},size:"large",children:o("home.examine")})})]},n.id)):e($,{sx:{"& > *":{borderBottom:"unset"}},children:e(y,{align:"center",colSpan:6,children:e(t,{variant:"body1",children:o("login.no")})})})})})}),c&&c.count?e(ne,{rowsPerPageOptions:[h.params[0].limit],component:"div",count:c.count,rowsPerPage:D,page:E,onPageChange:U,onRowsPerPageChange:Y}):e(F,{num:3})]}):e(t,{textAlign:"center",children:o("home.noMessage")})}),e(p,{sx:{display:{xs:"block",sm:"block",md:"none"}},width:"100%",children:c?r(te,{sx:{width:"100%",maxWidth:"100%",height:"80vh",overflowY:"auto",pb:5},onScroll:O,children:[c.list&&i?c.list.map((n,a)=>e(ae,{sx:{p:2,backgroundColor:s=>s.palette.surfaceContainer.main,borderRadius:5,mb:2,cursor:"pointer"},children:r(p,{width:"100%",children:[r(d,{direction:"row",justifyContent:"space-between",mb:.5,width:"100%",spacing:2,children:[r(d,{direction:"row",flexShrink:0,alignItems:"center",children:[r(t,{mr:1,variant:"body2",fontSize:12,children:[o("home.time"),":"]}),e(B,{title:H(Number(n.created_at)*1e3),placement:"bottom",children:e(t,{variant:"body2",sx:{cursor:"pointer"},children:f(Number(n.created_at))<60?`${f(Number(n.created_at))} ${o("home.second")}`:f(Number(n.created_at))})})]}),r(d,{direction:"row",flexShrink:0,alignItems:"center",children:[r(t,{mr:1,variant:"body2",fontSize:12,children:[o("home.signnum"),":"]}),r(t,{variant:"body2",sx:{cursor:"pointer"},children:[l.threshold,"/",l.owner_quantity]})]}),e(R,{variant:"outlined",onClick:()=>{g(n,i[a].result)},sx:{fontSize:12,minWidth:150,lineHeight:2.4},size:"large",children:o("home.examine")})]}),e(d,{direction:"row",justifyContent:"space-between",width:"100%",mb:1,children:e(d,{direction:"row",flexShrink:0,alignItems:"center",flexWrap:"wrap",sx:{wordBreak:"break-word"},children:n.status==="ongoing"?r(d,{direction:"row",flexWrap:"wrap",children:[e(t,{variant:"body2",component:"span",fontSize:12,children:l.team_name}),e(t,{variant:"body2",component:"span",ml:1,fontSize:12,children:o("home.initiate")}),e(t,{variant:"body2",component:"span",ml:.5,fontSize:12,children:b.formatFixed(n.amount,i[a].result.digits)}),e(t,{variant:"body2",component:"span",ml:.5,fontSize:12,children:i[a].result.token_symbol}),e(t,{variant:"body2",component:"span",ml:1,fontSize:12,children:o("home.wait")})]}):n.status==="finished"?r(d,{direction:"row",flexWrap:"wrap",children:[e(t,{variant:"body2",component:"span",fontSize:12,fontWeight:600,children:l.team_name}),e(t,{variant:"body2",component:"span",ml:1,fontSize:12,children:o("home.initiate")}),e(t,{variant:"body2",component:"span",ml:.5,fontSize:12,children:b.formatFixed(n.amount,i[a].result.digits)}),e(t,{variant:"body2",component:"span",ml:.5,fontSize:12,children:i[a].result.token_symbol}),e(t,{variant:"body2",component:"span",ml:1,fontSize:12,children:o("home.finish")})]}):""})}),n.to===l.wallet?r(d,{direction:"row",flexWrap:"wrap",children:[e(t,{variant:"body2",component:"span",sx:{fontWeight:600},fontSize:12,children:l.team_name}),e(t,{variant:"body2",component:"span",ml:1,fontSize:12,children:o("home.achieve",{to:n.to})}),e(t,{variant:"body2",component:"span",ml:.5,fontSize:12,children:b.formatFixed(n.amount,i[a].result.digits)}),e(t,{variant:"body2",component:"span",ml:.5,fontSize:12,children:i[a].result.token_symbol})]}):""]})},n.id)):e(F,{num:3}),e(p,{sx:{display:"flex",justifyContent:"center",alignItems:"center",mt:3},children:z?r(_,{children:[e(oe,{size:20}),e(t,{variant:"body2",ml:2,children:o("nav.load")})]}):A?e(_,{children:e(t,{variant:"body2",ml:2,children:o("nav.drop")})}):e(_,{children:e(t,{variant:"body2",ml:2,children:o("nav.nomore")})})})]}):e(t,{variant:"body1",textAlign:"center",children:o("login.no")})})]})};ce.displayName="MessagePage";export{ce as Component}; diff --git a/static/js/multikey/multikey.CSfMaGzx.js b/static/js/multikey/multikey.CSfMaGzx.js new file mode 100644 index 0000000..8d15673 --- /dev/null +++ b/static/js/multikey/multikey.CSfMaGzx.js @@ -0,0 +1,7 @@ +var Y=Object.defineProperty;var G=(t,e,s)=>e in t?Y(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var l=(t,e,s)=>(G(t,typeof e!="symbol"?e+"":e,s),s);import{r as m,j as u,ag as Q,ah as V,a as X,E as B,bx as K,as as Z,J as ee,x as P,O as te,M as se,av as re,_ as oe,a9 as ae,ac as O,by as ne,ae as ie,af as ce,Y as le}from"./multikey.D1_AnZj2.js";import{a as x,k as he,n as M,o as z,p as N}from"./multikey.DANc9zrZ.js";const ue=({loading:t})=>u(V,{open:t,className:"MuiBackdrop-root-loading",children:u(Q,{color:"inherit"})}),de=m.memo(ue),fe=(t,e)=>{},_=X.create({timeout:6e4});_.interceptors.request.use(t=>{const e=x.currNetwork();t.baseURL=`${e.rpc}/api/v2`,t.headers["Content-Type"]="application/json; charset=utf-8";const s=x.getCacheToken("token");if(t.headers.Authorization=`Bearer ${s}`,t.method==="post"&&t.paramsData){const o=t.paramsData;let n="";const r=`----WebKitFormBoundary${Math.random().toString().replace(".","")}`;for(const i in o)n+=`\r +--${r}\r +`,n+=`Content-Disposition:form-data; name="${i}"\r +\r +`,n+=`${o[i]}`;n+=`\r +--${r}--\r +`;const a=`multipart/form-data; boundary=${r}`;t.headers["Content-Type"]=a,t.data=n}return t},t=>Promise.reject(t));_.interceptors.response.use(t=>{const{code:e}=t.data;return(e===401||e===-402)&&(window.location.href="/login",x.removeCacheToken("token")),t.status===200?Promise.resolve(t.data):Promise.reject(t)},t=>{const{response:e}=t;if(e)return fe(e.status,e.data.message),Promise.reject(e.data)});const T={request:_,get(t,e){e={_t:Date.parse(String(new Date))/1e3,...e};const s={method:"get",url:t,params:e};return e&&(s.params=e),_(s)},post(t,e){return _({method:"post",url:t,paramsData:e})},put(t){const e={method:"post"};return t&&(e.data=t),_(e)}};class me{constructor(){l(this,"_value")}set(e){e?typeof e=="boolean"?this._value=e:this._value=/^\s*(true|1(.(0)+)?)\s*$/i.test(e||""):this._value=!1}get(){return this._value}}class ye{constructor(){l(this,"_value")}set(e){e?typeof e=="string"?this._value=new B.Int64BE(e):typeof e=="number"?this._value=new B.Int64BE(e):this._value=e:this._value=new B.Int64BE}get(){return this._value}}class pe{constructor(){l(this,"_value")}set(e){if(typeof e=="number")this._value=e||0;else if(typeof e=="string"){const s=parseFloat(e);this._value=s||0}else this._value=0}get(){return this._value}}class ge{constructor(){l(this,"_value","0")}set(e){const s=e?e.toString().replace(",","."):"0";this._value=s}get(){return this._value}}let _e=class{constructor(){l(this,"_value")}set(e){this._value=e?e.toString():""}get(){return this._value}};class xe{constructor(){l(this,"_value")}set(e){this._value=e}get(){return this._value?{Name:this._value.name,MimeType:this._value.type,Body:this._value.value}:null}}class we{constructor(){l(this,"_value")}set(e){e?Array.isArray(e)?this._value=e.map(s=>s.toString()):this._value=[e.toString()]:this._value=[]}get(){return this._value}}class ve{constructor(){l(this,"_value")}set(e){this._value=e}get(){return this._value}}const F={header:new Uint8Array([128]),network:1,fields:{bool:me,int:ye,float:pe,money:ge,string:_e,file:xe,array:we,bytes:ve}};class H{constructor(e){l(this,"_fields",{});l(this,"_context");l(this,"_expedite","");l(this,"_time",0);l(this,"_publicKey");l(this,"_keyID");this._context=e,this._expedite=e.Expedite||"",this._time=Math.floor(new Date().getTime()/1e3),Object.keys(e.fields).forEach(s=>{const o=e.fields[s],n=this._context.schema.fields[o.type],r=new n;r.set(o.value,e.digits),this._fields[s]=r})}sign(e){const s=x.getCache("hasher"),o=he.getKeyring(s),n=o.generatePublicKey(e);this._publicKey=M(n),this._keyID=new B.Int64BE(o.publicToID(n));const r=this.serialize(),a=o.hexHash(r),i=o.signContract(a,e),h=M(i);return{hash:a,data:z(this._context.schema.header,z(N(r),N(h)))}}serialize(){const e={},s=localStorage.getItem("lang");let o="en";s&&s==="zh-cn"&&(o="zh");const n=this._expedite.toString()||"",r=K.createCodec({binarraybuffer:!0,preset:!0});Object.keys(this._fields).forEach(h=>{e[h]=this._fields[h].get()});const a={Header:{ID:this._context.id,Time:this._time,EcosystemID:this._context.ecosystem||1,KeyID:this._keyID,NetworkID:this._context.networkId||1,PublicKey:this._publicKey},Params:e,Lang:o||"en"};return n&&(a.Expedite=n),K.encode(a,{codec:r})}}let b=9,D=null;const be={ecosystem:1,async tokensSend(t,e){t.ecosystem&&(this.ecosystem=t.ecosystem);const s=await T.get(`/contract/${t.contractName}`);try{s&&this.generateBinary(s,t,e)}catch(o){typeof e=="function"&&e(o,"error")}},async tokensSendOther(t,e){t.ecosystem&&(this.ecosystem=t.ecosystem);const s=await T.get(`/contract/${t.contractName}`);try{s&&this.generateBinaryOther(s,t,e)}catch(o){typeof e=="function"&&e(o,"error")}},currentAccount(){return x.getCache("current")},async generateBinaryOther(t,e,s){const{privateKey:o,networkId:n}=this.currentAccount(),r={},a={},{Expedite:i,digits:h,ecosystem:y}=e;t.fields.forEach(c=>{r[c.name]={type:c.type,value:e[c.name]}});const f={...new H({id:t.id,networkId:n,schema:F,ecosystem:y||1,fields:r,Expedite:i,digits:h}).sign(o),name:t.name,params:r},w=Array.prototype.map.call(new Uint8Array(f.data),c=>`00${c.toString(16)}`.slice(-2)).join("");a[f.hash]=w,this.sendTx(a,s)},async generateBinary(t,e,s){const{privateKey:o,networkId:n}=this.currentAccount(),r={},a={},{Expedite:i,digits:h,ecosystem:y}=e;t.fields.forEach(c=>{r[c.name]={type:c.type,value:e[c.name]}});const f={...new H({id:t.id,networkId:n,schema:F,ecosystem:y||1,fields:r,Expedite:i,digits:h}).sign(o),name:t.name,params:r},w=Array.prototype.map.call(new Uint8Array(f.data),c=>`00${c.toString(16)}`.slice(-2)).join("");a[f.hash]=w,this.sendTx(a,s)},async sendTx(t,e){try{await T.post("/sendTx",t)&&this.txstatus(t,e)}catch(s){typeof e=="function"&&e(s,"error")}},async txstatus(t,e){const o={hashes:Object.keys(t)},n={data:JSON.stringify(o)},r=await T.post("/txstatus",n);try{if(r){const a=Object.keys(r.results),i=r.results[a[0]],{results:h}=r,y=a.some(d=>h[d].blockid==="");if(b<=0)return clearTimeout(D),b=9,e(0,"loading");if(i.errmsg)return clearTimeout(D),b=9,e(i,"error");if(y)D=setTimeout(()=>{this.txstatus(t,e),b-=1},5e3);else{if(clearTimeout(D),b=9,i.blockid){const[d]=a;i.txHash=d}return e(i,"success")}}}catch(a){typeof e=="function"&&e(a,"error")}}},De=({isCheck:t,params:e,close:s,confirm:o})=>{const n=Z(),{t:r}=ee(),a=x.getCache("current"),[i,h]=m.useState("text"),[y,d]=m.useState(""),[S,f]=m.useState(!1),[w,c]=m.useState(r("login.pwEmpty")),[L,g]=m.useState(!1),[W,k]=m.useState("error"),[q,v]=m.useState(""),[U,E]=m.useState(!1),j=()=>{d(""),h(""),s()},$=m.useCallback(p=>p==""?(f(!0),c(r("login.pwEmpty")),!1):p!==a.password?(f(!0),c(r("login.incorrect")),!1):(f(!1),c(""),!0),[a,r]),J=p=>{const{value:C}=p.target;h("password"),d(p.target.value),$(C)},A=()=>{g(!1),d(""),f(!1),c(""),o()},R=()=>{try{$(y)&&(E(!0),be.tokensSend(e,(C,I)=>{I==="error"?(g(!0),k("error"),v(C.errmsg.error)):I==="loading"?(g(!0),k("warning"),v(r("user.chain"))):I==="success"?(g(!0),k("success"),v(r("user.dosuccess")),d(""),h("text")):(g(!0),k("error"),v(C.msg)),E(!1)}))}catch{g(!0),E(!1),v("Network failed")}};return P(le,{children:[u(ne,{open:t,onClose:j,"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",children:P(te,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:{xs:"90%",md:"50%",lg:"30%",xl:"20%"},minWidth:460,maxWidth:600,bgcolor:n.palette.container.main,boxShadow:24,p:2,borderRadius:2},children:[u(se,{id:"modal-modal-title",variant:"h6",component:"h2",mb:3,children:r("home.check")}),u(re,{sx:{minWidth:120,width:"100%",mb:3},required:!0,children:u(oe,{required:!0,label:r("login.password"),onChange:J,size:"medium",autoComplete:"off",inputMode:"none",variant:"outlined",color:"secondary",type:i,value:y,error:S,fullWidth:!0,helperText:S?w:""})}),P(ae,{direction:"row",justifyContent:"space-around",alignItems:"center",children:[u(O,{variant:"outlined",onClick:j,size:"large",children:r("login.cancel")}),u(O,{variant:"filled",onClick:R,size:"large",children:r("login.confirm")})]})]})}),u(ce,{anchorOrigin:{vertical:"top",horizontal:"center"},open:L,onClose:A,autoHideDuration:2e3,children:u(ie,{onClose:A,severity:W,variant:"filled",sx:{width:"100%"},children:q})}),u(de,{loading:U})]})};export{De as P}; diff --git a/static/js/multikey/multikey.Cqi5RVD9.js b/static/js/multikey/multikey.Cqi5RVD9.js deleted file mode 100644 index be40e25..0000000 --- a/static/js/multikey/multikey.Cqi5RVD9.js +++ /dev/null @@ -1,7 +0,0 @@ -var G=Object.defineProperty;var J=(t,e,s)=>e in t?G(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var c=(t,e,s)=>(J(t,typeof e!="symbol"?e+"":e,s),s);import{r as f,j as d,a4 as Q,aF as V,a as X,I as B,bt as K,U as Y,x as I,G as Z,a2 as ee,aI as te,ax as se,bu as re,ad as O,bv as oe,ae as ne,af as ae,a3 as ie}from"./multikey.Cv6HG7AM.js";import{a as w,k as ce,n as z,o as F,p as H}from"./multikey.EJ3kMsQf.js";const le=({loading:t})=>d(V,{open:t,className:"MuiBackdrop-root-loading",children:d(Q,{color:"inherit"})}),he=f.memo(le),ue=(t,e)=>{},x=X.create({timeout:6e4});x.interceptors.request.use(t=>{const e=w.currNetwork();t.baseURL=`${e.rpc}/api/v2`,t.headers["Content-Type"]="application/json; charset=utf-8";const s=w.getCacheToken("token");if(t.headers.Authorization=`Bearer ${s}`,t.method==="post"&&t.paramsData){const n=t.paramsData;let r="";const o=`----WebKitFormBoundary${Math.random().toString().replace(".","")}`;for(const i in n)r+=`\r ---${o}\r -`,r+=`Content-Disposition:form-data; name="${i}"\r -\r -`,r+=`${n[i]}`;r+=`\r ---${o}--\r -`;const a=`multipart/form-data; boundary=${o}`;t.headers["Content-Type"]=a,t.data=r}return t},t=>Promise.reject(t));x.interceptors.response.use(t=>{const{code:e}=t.data;return(e===401||e===-402)&&(window.location.href="/login",w.removeCacheToken("token")),t.status===200?Promise.resolve(t.data):Promise.reject(t)},t=>{const{response:e}=t;if(e)return ue(e.status,e.data.message),Promise.reject(e.data)});const D={request:x,get(t,e){e={_t:Date.parse(String(new Date))/1e3,...e};const s={method:"get",url:t,params:e};return e&&(s.params=e),x(s)},post(t,e){return x({method:"post",url:t,paramsData:e})},put(t){const e={method:"post"};return t&&(e.data=t),x(e)}};class de{constructor(){c(this,"_value")}set(e){e?typeof e=="boolean"?this._value=e:this._value=/^\s*(true|1(.(0)+)?)\s*$/i.test(e||""):this._value=!1}get(){return this._value}}class fe{constructor(){c(this,"_value")}set(e){e?typeof e=="string"?this._value=new B.Int64BE(e):typeof e=="number"?this._value=new B.Int64BE(e):this._value=e:this._value=new B.Int64BE}get(){return this._value}}class ye{constructor(){c(this,"_value")}set(e){if(typeof e=="number")this._value=e||0;else if(typeof e=="string"){const s=parseFloat(e);this._value=s||0}else this._value=0}get(){return this._value}}class me{constructor(){c(this,"_value","0")}set(e){const s=e?e.toString().replace(",","."):"0";this._value=s}get(){return this._value}}let pe=class{constructor(){c(this,"_value")}set(e){this._value=e?e.toString():""}get(){return this._value}};class ge{constructor(){c(this,"_value")}set(e){this._value=e}get(){return this._value?{Name:this._value.name,MimeType:this._value.type,Body:this._value.value}:null}}class _e{constructor(){c(this,"_value")}set(e){e?Array.isArray(e)?this._value=e.map(s=>s.toString()):this._value=[e.toString()]:this._value=[]}get(){return this._value}}class xe{constructor(){c(this,"_value")}set(e){this._value=e}get(){return this._value}}const M={header:new Uint8Array([128]),network:1,fields:{bool:de,int:fe,float:ye,money:me,string:pe,file:ge,array:_e,bytes:xe}};class N{constructor(e){c(this,"_fields",{});c(this,"_context");c(this,"_expedite","");c(this,"_time",0);c(this,"_publicKey");c(this,"_keyID");this._context=e,this._expedite=e.Expedite||"",this._time=Math.floor(new Date().getTime()/1e3),Object.keys(e.fields).forEach(s=>{const n=e.fields[s],r=this._context.schema.fields[n.type],o=new r;o.set(n.value,e.digits),this._fields[s]=o})}sign(e){const s=w.getCache("hasher"),n=ce.getKeyring(s),r=n.generatePublicKey(e);this._publicKey=z(r),this._keyID=new B.Int64BE(n.publicToID(r));const o=this.serialize(),a=n.hexHash(o),i=n.signContract(a,e),l=z(i);return{hash:a,data:F(this._context.schema.header,F(H(o),H(l)))}}serialize(){const e={},s=localStorage.getItem("lang");let n="en";s&&s==="zh-cn"&&(n="zh");const r=this._expedite.toString()||"",o=K.createCodec({binarraybuffer:!0,preset:!0});Object.keys(this._fields).forEach(l=>{e[l]=this._fields[l].get()});const a={Header:{ID:this._context.id,Time:this._time,EcosystemID:this._context.ecosystem||1,KeyID:this._keyID,NetworkID:this._context.networkId||1,PublicKey:this._publicKey},Params:e,Lang:n||"en"};return r&&(a.Expedite=r),K.encode(a,{codec:o})}}let b=9,T=null;const we={ecosystem:1,async tokensSend(t,e){t.ecosystem&&(this.ecosystem=t.ecosystem);const s=await D.get(`/contract/${t.contractName}`);try{s&&this.generateBinary(s,t,e)}catch(n){typeof e=="function"&&e(n,"error")}},async tokensSendOther(t,e){t.ecosystem&&(this.ecosystem=t.ecosystem);const s=await D.get(`/contract/${t.contractName}`);try{s&&this.generateBinaryOther(s,t,e)}catch(n){typeof e=="function"&&e(n,"error")}},currentAccount(){return w.getCache("current")},async generateBinaryOther(t,e,s){const{privateKey:n,networkId:r}=this.currentAccount(),o={},a={},{Expedite:i,digits:l,ecosystem:u}=e;t.fields.forEach(h=>{o[h.name]={type:h.type,value:e[h.name]}});const p={...new N({id:t.id,networkId:r,schema:M,ecosystem:u||1,fields:o,Expedite:i,digits:l}).sign(n),name:t.name,params:o},m=Array.prototype.map.call(new Uint8Array(p.data),h=>`00${h.toString(16)}`.slice(-2)).join("");a[p.hash]=m,this.sendTx(a,s)},async generateBinary(t,e,s){const{privateKey:n,networkId:r}=this.currentAccount(),o={},a={},{Expedite:i,digits:l,ecosystem:u}=e;t.fields.forEach(h=>{o[h.name]={type:h.type,value:e[h.name]}});const p={...new N({id:t.id,networkId:r,schema:M,ecosystem:u||1,fields:o,Expedite:i,digits:l}).sign(n),name:t.name,params:o},m=Array.prototype.map.call(new Uint8Array(p.data),h=>`00${h.toString(16)}`.slice(-2)).join("");a[p.hash]=m,this.sendTx(a,s)},async sendTx(t,e){try{await D.post("/sendTx",t)&&this.txstatus(t,e)}catch(s){typeof e=="function"&&e(s,"error")}},async txstatus(t,e){const n={hashes:Object.keys(t)},r={data:JSON.stringify(n)},o=await D.post("/txstatus",r);try{if(o){const a=Object.keys(o.results),i=o.results[a[0]],{results:l}=o,u=a.some(y=>l[y].blockid==="");if(b<=0)return clearTimeout(T),b=9,e(0,"loading");if(i.errmsg)return clearTimeout(T),b=9,e(i,"error");if(u)T=setTimeout(()=>{this.txstatus(t,e),b-=1},5e3);else{if(clearTimeout(T),b=9,i.blockid){const[y]=a;i.txHash=y}return e(i,"success")}}}catch(a){typeof e=="function"&&e(a,"error")}}},Ce=({isCheck:t,params:e,close:s,confirm:n})=>{const{t:r}=Y(),o=w.getCache("current"),[a,i]=f.useState("text"),[l,u]=f.useState(""),[y,g]=f.useState(!1),[p,m]=f.useState(r("login.pwEmpty")),[h,v]=f.useState(!1),[L,S]=f.useState("error"),[U,k]=f.useState(""),[W,P]=f.useState(!1),j=()=>{u(""),i(""),s()},A=f.useCallback(_=>_==""?(g(!0),m(r("login.pwEmpty")),!1):_!==o.password?(g(!0),m(r("login.incorrect")),!1):(g(!1),m(""),!0),[o,r]),q=_=>{const{value:C}=_.target;i("password"),u(_.target.value),A(C)},$=()=>{v(!1),u(""),g(!1),m(""),n()},R=()=>{A(l)&&(P(!0),we.tokensSend(e,(C,E)=>{E==="error"?(v(!0),S("error"),k(C.errmsg.error)):E==="loading"?(v(!0),S("warning"),k(r("user.chain"))):E==="success"?(v(!0),S("success"),k(r("user.dosuccess")),u(""),i("text")):(v(!0),S("error"),k(C.msg)),P(!1)}))};return I(ie,{children:[d(oe,{open:t,onClose:j,"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",children:I(Z,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:{xs:"90%",md:"50%",lg:"30%",xl:"20%"},bgcolor:"background.paper",boxShadow:24,p:2,borderRadius:2},children:[d(ee,{id:"modal-modal-title",variant:"h6",component:"h2",mb:3,children:r("home.check")}),d(te,{sx:{minWidth:120,width:"100%",mb:3},required:!0,children:d(se,{required:!0,label:r("login.password"),onChange:q,size:"medium",autoComplete:"off",inputMode:"none",variant:"outlined",color:"secondary",type:a,value:l,error:y,fullWidth:!0,helperText:y?p:""})}),I(re,{children:[d(O,{variant:"outlined",sx:{minWidth:150,lineHeight:2.4},onClick:j,size:"large",children:r("login.cancel")}),d(O,{variant:"filled",sx:{minWidth:150,lineHeight:2.4},onClick:R,size:"large",children:r("login.confirm")})]})]})}),d(ae,{anchorOrigin:{vertical:"top",horizontal:"center"},open:h,onClose:$,autoHideDuration:2e3,children:d(ne,{onClose:$,severity:L,variant:"filled",sx:{width:"100%"},children:U})}),d(he,{loading:W})]})};export{Ce as P}; diff --git a/static/js/multikey/multikey.18FU-vRW.js b/static/js/multikey/multikey.CsbyK74s.js similarity index 77% rename from static/js/multikey/multikey.18FU-vRW.js rename to static/js/multikey/multikey.CsbyK74s.js index 0a92e00..b925514 100644 --- a/static/js/multikey/multikey.18FU-vRW.js +++ b/static/js/multikey/multikey.CsbyK74s.js @@ -1 +1 @@ -import{bw as n,bx as o,by as r,bz as m,bA as u}from"./multikey.Cv6HG7AM.js";n.extend(o);n.extend(r);n.extend(m);n.extend(u);if(typeof window<"u"){const e=window.localStorage.getItem("lang")||"en";n.locale(e)}function s(e){return e?n.utc(Number(e)).format("YYYY-MM-DD HH:mm:ss"):""}function f(e){return n(Number(e)).format("YYYY-MM-DD HH:mm:ss")}function b(e){return e?n(Number(e)*1e3).format("DD/MM YY HH:mm"):""}function i(e){const a=Number(new Date().getTime()/1e3),t=Math.trunc(a-Number(e));return t<=60?t:n(Number(e)*1e3).fromNow()}export{f as a,i as b,b as c,s as h}; +import{bz as n,bA as o,bB as r,bC as m,bD as u}from"./multikey.D1_AnZj2.js";n.extend(o);n.extend(r);n.extend(m);n.extend(u);if(typeof window<"u"){const e=window.localStorage.getItem("lang")||"en";n.locale(e)}function s(e){return e?n.utc(Number(e)).format("YYYY-MM-DD HH:mm:ss"):""}function f(e){return n(Number(e)).format("YYYY-MM-DD HH:mm:ss")}function b(e){return e?n(Number(e)*1e3).format("DD/MM YY HH:mm"):""}function i(e){const a=Number(new Date().getTime()/1e3),t=Math.trunc(a-Number(e));return t<=60?t:n(Number(e)*1e3).fromNow()}export{f as a,i as b,b as c,s as h}; diff --git a/static/js/multikey/multikey.Cv6HG7AM.js b/static/js/multikey/multikey.Cv6HG7AM.js deleted file mode 100644 index 5d61707..0000000 --- a/static/js/multikey/multikey.Cv6HG7AM.js +++ /dev/null @@ -1,2662 +0,0 @@ -var XA=Object.defineProperty;var JA=(e,t,r)=>t in e?XA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ix=(e,t,r)=>(JA(e,typeof t!="symbol"?t+"":t,r),r);function x9(e,t){for(var r=0;rn[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var st=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Fo(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var m9={exports:{}},up={},g9={exports:{}},At={};/** - * @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 m0=Symbol.for("react.element"),ZA=Symbol.for("react.portal"),QA=Symbol.for("react.fragment"),ek=Symbol.for("react.strict_mode"),tk=Symbol.for("react.profiler"),rk=Symbol.for("react.provider"),nk=Symbol.for("react.context"),ik=Symbol.for("react.forward_ref"),ok=Symbol.for("react.suspense"),ak=Symbol.for("react.memo"),sk=Symbol.for("react.lazy"),g3=Symbol.iterator;function lk(e){return e===null||typeof e!="object"?null:(e=g3&&e[g3]||e["@@iterator"],typeof e=="function"?e:null)}var v9={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b9=Object.assign,y9={};function Vc(e,t,r){this.props=e,this.context=t,this.refs=y9,this.updater=r||v9}Vc.prototype.isReactComponent={};Vc.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};Vc.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function w9(){}w9.prototype=Vc.prototype;function g2(e,t,r){this.props=e,this.context=t,this.refs=y9,this.updater=r||v9}var v2=g2.prototype=new w9;v2.constructor=g2;b9(v2,Vc.prototype);v2.isPureReactComponent=!0;var v3=Array.isArray,S9=Object.prototype.hasOwnProperty,b2={current:null},C9={key:!0,ref:!0,__self:!0,__source:!0};function E9(e,t,r){var n,i={},o=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)S9.call(t,n)&&!C9.hasOwnProperty(n)&&(i[n]=t[n]);var s=arguments.length-2;if(s===1)i.children=r;else if(10?Yr(qc,--Dn):0,yc--,Sr===10&&(yc=1,dp--),Sr}function ei(){return Sr=Dn<_9?Yr(qc,Dn++):0,yc++,Sr===10&&(yc=1,dp++),Sr}function Eo(){return Yr(qc,Dn)}function Rd(){return Dn}function g0(e,t){return Af(qc,e,t)}function kf(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R9(e){return dp=yc=1,_9=vo(qc=e),Dn=0,[]}function T9(e){return qc="",e}function Td(e){return k9(g0(Dn-1,Cg(e===91?e+2:e===40?e+1:e)))}function Tk(e){for(;(Sr=Eo())&&Sr<33;)ei();return kf(e)>2||kf(Sr)>3?"":" "}function $k(e,t){for(;--t&&ei()&&!(Sr<48||Sr>102||Sr>57&&Sr<65||Sr>70&&Sr<97););return g0(e,Rd()+(t<6&&Eo()==32&&ei()==32))}function Cg(e){for(;ei();)switch(Sr){case e:return Dn;case 34:case 39:e!==34&&e!==39&&Cg(Sr);break;case 40:e===41&&Cg(e);break;case 92:ei();break}return Dn}function Bk(e,t){for(;ei()&&e+Sr!==57;)if(e+Sr===84&&Eo()===47)break;return"/*"+g0(t,Dn-1)+"*"+fp(e===47?e:ei())}function Ik(e){for(;!kf(Eo());)ei();return g0(e,Dn)}function Fk(e){return T9($d("",null,null,null,[""],e=R9(e),0,[0],e))}function $d(e,t,r,n,i,o,a,s,l){for(var c=0,u=0,f=a,d=0,b=0,p=0,v=1,w=1,C=1,y=0,M="",B=i,D=o,F=n,N=M;w;)switch(p=y,y=ei()){case 40:if(p!=108&&Yr(N,f-1)==58){Sg(N+=Lt(Td(y),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:N+=Td(y);break;case 9:case 10:case 13:case 32:N+=Tk(p);break;case 92:N+=$k(Rd()-1,7);continue;case 47:switch(Eo()){case 42:case 47:U0(Ok(Bk(ei(),Rd()),t,r),l);break;default:N+="/"}break;case 123*v:s[c++]=vo(N)*C;case 125*v:case 59:case 0:switch(y){case 0:case 125:w=0;case 59+u:C==-1&&(N=Lt(N,/\f/g,"")),b>0&&vo(N)-f&&U0(b>32?w3(N+";",n,r,f-1):w3(Lt(N," ","")+";",n,r,f-2),l);break;case 59:N+=";";default:if(U0(F=y3(N,t,r,c,u,i,s,M,B=[],D=[],f),o),y===123)if(u===0)$d(N,t,F,F,B,o,f,s,D);else switch(d===99&&Yr(N,3)===110?100:d){case 100:case 108:case 109:case 115:$d(e,F,F,n&&U0(y3(e,F,F,0,0,i,s,M,i,B=[],f),D),i,D,f,s,n?B:D);break;default:$d(N,F,F,F,[""],D,0,s,D)}}c=u=b=0,v=C=1,M=N="",f=a;break;case 58:f=1+vo(N),b=p;default:if(v<1){if(y==123)--v;else if(y==125&&v++==0&&Rk()==125)continue}switch(N+=fp(y),y*v){case 38:C=u>0?1:(N+="\f",-1);break;case 44:s[c++]=(vo(N)-1)*C,C=1;break;case 64:Eo()===45&&(N+=Td(ei())),d=Eo(),u=f=vo(M=N+=Ik(Rd())),y++;break;case 45:p===45&&vo(N)==2&&(v=0)}}return o}function y3(e,t,r,n,i,o,a,s,l,c,u){for(var f=i-1,d=i===0?o:[""],b=C2(d),p=0,v=0,w=0;p0?d[C]+" "+y:Lt(y,/&\f/g,d[C])))&&(l[w++]=M);return hp(e,t,r,i===0?w2:s,l,c,u)}function Ok(e,t,r){return hp(e,t,r,P9,fp(_k()),Af(e,2,-2),0)}function w3(e,t,r,n){return hp(e,t,r,S2,Af(e,0,n),Af(e,n+1,-1),n)}function ic(e,t){for(var r="",n=C2(e),i=0;i6)switch(Yr(e,t+1)){case 109:if(Yr(e,t+4)!==45)break;case 102:return Lt(e,/(.+:)(.+)-([^]+)/,"$1"+Dt+"$2-$3$1"+th+(Yr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Sg(e,"stretch")?B9(Lt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Yr(e,t+1)!==115)break;case 6444:switch(Yr(e,vo(e)-3-(~Sg(e,"!important")&&10))){case 107:return Lt(e,":",":"+Dt)+e;case 101:return Lt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Dt+(Yr(e,14)===45?"inline-":"")+"box$3$1"+Dt+"$2$3$1"+nn+"$2box$3")+e}break;case 5936:switch(Yr(e,t+11)){case 114:return Dt+e+nn+Lt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Dt+e+nn+Lt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Dt+e+nn+Lt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Dt+e+nn+e+e}return e}var Vk=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case S2:t.return=B9(t.value,t.length);break;case A9:return ic([xu(t,{value:Lt(t.value,"@","@"+Dt)})],i);case w2:if(t.length)return kk(t.props,function(o){switch(Ak(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ic([xu(t,{props:[Lt(o,/:(read-\w+)/,":"+th+"$1")]})],i);case"::placeholder":return ic([xu(t,{props:[Lt(o,/:(plac\w+)/,":"+Dt+"input-$1")]}),xu(t,{props:[Lt(o,/:(plac\w+)/,":"+th+"$1")]}),xu(t,{props:[Lt(o,/:(plac\w+)/,nn+"input-$1")]})],i)}return""})}},qk=[Vk],I9=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(v){var w=v.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var i=t.stylisPlugins||qk,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(v){for(var w=v.getAttribute("data-emotion").split(" "),C=1;C=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var n_={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i_=/[A-Z]|^ms/g,o_=/_EMO_([^_]+?)_([^]*?)_EMO_/g,z9=function(t){return t.charCodeAt(1)===45},C3=function(t){return t!=null&&typeof t!="boolean"},ax=$9(function(e){return z9(e)?e:e.replace(i_,"-$&").toLowerCase()}),E3=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(o_,function(n,i,o){return bo={name:i,styles:o,next:bo},i})}return n_[t]!==1&&!z9(t)&&typeof r=="number"&&r!==0?r+"px":r};function _f(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return bo={name:r.name,styles:r.styles,next:bo},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)bo={name:n.name,styles:n.styles,next:bo},n=n.next;var i=r.styles+";";return i}return a_(e,t,r)}case"function":{if(e!==void 0){var o=bo,a=r(e);return bo=o,_f(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function a_(e,t,r){var n="";if(Array.isArray(r))for(var i=0;iMath.random().toString(36).substring(7).split("").join("."),d_={INIT:`@@redux/INIT${sx()}`,REPLACE:`@@redux/REPLACE${sx()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${sx()}`},rh=d_;function $2(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function W9(e,t,r){if(typeof e!="function")throw new Error(qr(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(qr(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(qr(1));return r(W9)(e,t)}let n=e,i=t,o=new Map,a=o,s=0,l=!1;function c(){a===o&&(a=new Map,o.forEach((w,C)=>{a.set(C,w)}))}function u(){if(l)throw new Error(qr(3));return i}function f(w){if(typeof w!="function")throw new Error(qr(4));if(l)throw new Error(qr(5));let C=!0;c();const y=s++;return a.set(y,w),function(){if(C){if(l)throw new Error(qr(6));C=!1,c(),a.delete(y),o=null}}}function d(w){if(!$2(w))throw new Error(qr(7));if(typeof w.type>"u")throw new Error(qr(8));if(typeof w.type!="string")throw new Error(qr(17));if(l)throw new Error(qr(9));try{l=!0,i=n(i,w)}finally{l=!1}return(o=a).forEach(y=>{y()}),w}function b(w){if(typeof w!="function")throw new Error(qr(10));n=w,d({type:rh.REPLACE})}function p(){const w=f;return{subscribe(C){if(typeof C!="object"||C===null)throw new Error(qr(11));function y(){const B=C;B.next&&B.next(u())}return y(),{unsubscribe:w(y)}},[A3](){return this}}}return d({type:rh.INIT}),{dispatch:d,subscribe:f,getState:u,replaceReducer:b,[A3]:p}}function h_(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:rh.INIT})>"u")throw new Error(qr(12));if(typeof r(void 0,{type:rh.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(qr(13))})}function p_(e){const t=Object.keys(e),r={};for(let o=0;o"u")throw s&&s.type,new Error(qr(14));c[f]=p,l=l||p!==b}return l=l||n.length!==Object.keys(a).length,l?c:a}}function nh(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function x_(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(qr(15))};const a={getState:i.getState,dispatch:(l,...c)=>o(l,...c)},s=e.map(l=>l(a));return o=nh(...s)(i.dispatch),{...i,dispatch:o}}}function V9(e){return $2(e)&&"type"in e&&typeof e.type=="string"}var q9=Symbol.for("immer-nothing"),k3=Symbol.for("immer-draftable"),ri=Symbol.for("immer-state");function to(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var wc=Object.getPrototypeOf;function ia(e){return!!e&&!!e[ri]}function oa(e){var t;return e?K9(e)||Array.isArray(e)||!!e[k3]||!!((t=e.constructor)!=null&&t[k3])||Pp(e)||Ap(e):!1}var m_=Object.prototype.constructor.toString();function K9(e){if(!e||typeof e!="object")return!1;const t=wc(e);if(t===null)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object?!0:typeof r=="function"&&Function.toString.call(r)===m_}function ih(e,t){Mp(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function Mp(e){const t=e[ri];return t?t.type_:Array.isArray(e)?1:Pp(e)?2:Ap(e)?3:0}function Mg(e,t){return Mp(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function G9(e,t,r){const n=Mp(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function g_(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Pp(e){return e instanceof Map}function Ap(e){return e instanceof Set}function ks(e){return e.copy_||e.base_}function Pg(e,t){if(Pp(e))return new Map(e);if(Ap(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&K9(e))return wc(e)?{...e}:Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[ri];let n=Reflect.ownKeys(r);for(let i=0;i1&&(e.set=e.add=e.clear=e.delete=v_),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>B2(n,!0))),e}function v_(){to(2)}function kp(e){return Object.isFrozen(e)}var b_={};function Xs(e){const t=b_[e];return t||to(0,e),t}var Rf;function Y9(){return Rf}function y_(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function _3(e,t){t&&(Xs("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Ag(e){kg(e),e.drafts_.forEach(w_),e.drafts_=null}function kg(e){e===Rf&&(Rf=e.parent_)}function R3(e){return Rf=y_(Rf,e)}function w_(e){const t=e[ri];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function T3(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[ri].modified_&&(Ag(t),to(4)),oa(e)&&(e=oh(t,e),t.parent_||ah(t,e)),t.patches_&&Xs("Patches").generateReplacementPatches_(r[ri].base_,e,t.patches_,t.inversePatches_)):e=oh(t,r,[]),Ag(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==q9?e:void 0}function oh(e,t,r){if(kp(t))return t;const n=t[ri];if(!n)return ih(t,(i,o)=>$3(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return ah(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const i=n.copy_;let o=i,a=!1;n.type_===3&&(o=new Set(i),i.clear(),a=!0),ih(o,(s,l)=>$3(e,n,i,s,l,r,a)),ah(e,i,!1),r&&e.patches_&&Xs("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function $3(e,t,r,n,i,o,a){if(ia(i)){const s=o&&t&&t.type_!==3&&!Mg(t.assigned_,n)?o.concat(n):void 0,l=oh(e,i,s);if(G9(r,n,l),ia(l))e.canAutoFreeze_=!1;else return}else a&&r.add(i);if(oa(i)&&!kp(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;oh(e,i),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&Object.prototype.propertyIsEnumerable.call(r,n)&&ah(e,i)}}function ah(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&B2(t,r)}function S_(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:Y9(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=I2;r&&(i=[n],o=Tf);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return n.draft_=s,n.revoke_=a,s}var I2={get(e,t){if(t===ri)return e;const r=ks(e);if(!Mg(r,t))return C_(e,r,t);const n=r[t];return e.finalized_||!oa(n)?n:n===lx(e.base_,t)?(cx(e),e.copy_[t]=Rg(n,e)):n},has(e,t){return t in ks(e)},ownKeys(e){return Reflect.ownKeys(ks(e))},set(e,t,r){const n=X9(ks(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=lx(ks(e),t),o=i==null?void 0:i[ri];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(g_(r,i)&&(r!==void 0||Mg(e.base_,t)))return!0;cx(e),_g(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return lx(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,cx(e),_g(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=ks(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){to(11)},getPrototypeOf(e){return wc(e.base_)},setPrototypeOf(){to(12)}},Tf={};ih(I2,(e,t)=>{Tf[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Tf.deleteProperty=function(e,t){return Tf.set.call(this,e,t,void 0)};Tf.set=function(e,t,r){return I2.set.call(this,e[0],t,r,e[0])};function lx(e,t){const r=e[ri];return(r?ks(r):e)[t]}function C_(e,t,r){var i;const n=X9(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function X9(e,t){if(!(t in e))return;let r=wc(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=wc(r)}}function _g(e){e.modified_||(e.modified_=!0,e.parent_&&_g(e.parent_))}function cx(e){e.copy_||(e.copy_=Pg(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var E_=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const o=r;r=t;const a=this;return function(l=o,...c){return a.produce(l,u=>r.call(this,u,...c))}}typeof r!="function"&&to(6),n!==void 0&&typeof n!="function"&&to(7);let i;if(oa(t)){const o=R3(this),a=Rg(t,void 0);let s=!0;try{i=r(a),s=!1}finally{s?Ag(o):kg(o)}return _3(o,n),T3(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===q9&&(i=void 0),this.autoFreeze_&&B2(i,!0),n){const o=[],a=[];Xs("Patches").generateReplacementPatches_(t,i,o,a),n(o,a)}return i}else to(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(a,...s)=>this.produceWithPatches(a,l=>t(l,...s));let n,i;return[this.produce(t,r,(a,s)=>{n=a,i=s}),n,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){oa(e)||to(8),ia(e)&&(e=J9(e));const t=R3(this),r=Rg(e,void 0);return r[ri].isManual_=!0,kg(t),r}finishDraft(e,t){const r=e&&e[ri];(!r||!r.isManual_)&&to(9);const{scope_:n}=r;return _3(n,t),T3(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const i=t[r];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}r>-1&&(t=t.slice(r+1));const n=Xs("Patches").applyPatches_;return ia(e)?n(e,t):this.produce(e,i=>n(i,t))}};function Rg(e,t){const r=Pp(e)?Xs("MapSet").proxyMap_(e,t):Ap(e)?Xs("MapSet").proxySet_(e,t):S_(e,t);return(t?t.scope_:Y9()).drafts_.push(r),r}function J9(e){return ia(e)||to(10,e),Z9(e)}function Z9(e){if(!oa(e)||kp(e))return e;const t=e[ri];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Pg(e,t.scope_.immer_.useStrictShallowCopy_)}else r=Pg(e,!0);return ih(r,(n,i)=>{G9(r,n,Z9(i))}),t&&(t.finalized_=!1),r}var ni=new E_,F2=ni.produce;ni.produceWithPatches.bind(ni);ni.setAutoFreeze.bind(ni);ni.setUseStrictShallowCopy.bind(ni);ni.applyPatches.bind(ni);ni.createDraft.bind(ni);ni.finishDraft.bind(ni);function M_(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function P_(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function A_(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(r=>typeof r=="function")){const r=e.map(n=>typeof n=="function"?`function ${n.name||"unnamed"}()`:typeof n).join(", ");throw new TypeError(`${t}[${r}]`)}}var B3=e=>Array.isArray(e)?e:[e];function k_(e){const t=Array.isArray(e[0])?e[0]:e;return A_(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function __(e,t){const r=[],{length:n}=e;for(let i=0;i{r=H0(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function Q9(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,a=0,s,l={},c=i.pop();typeof c=="object"&&(l=c,c=i.pop()),M_(c,`createSelector expects an output function after the inputs, but received: [${typeof c}]`);const u={...r,...l},{memoize:f,memoizeOptions:d=[],argsMemoize:b=O2,argsMemoizeOptions:p=[],devModeChecks:v={}}=u,w=B3(d),C=B3(p),y=k_(i),M=f(function(){return o++,c.apply(null,arguments)},...w),B=b(function(){a++;const F=__(y,arguments);return s=M.apply(null,F),s},...C);return Object.assign(B,{resultFunc:c,memoizedResultFunc:M,dependencies:y,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>s,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:f,argsMemoize:b})};return Object.assign(n,{withTypes:()=>n}),n}var B_=Q9(O2),I_=Object.assign((e,t=B_)=>{P_(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const r=Object.keys(e),n=r.map(o=>e[o]);return t(n,(...o)=>o.reduce((a,s,l)=>(a[r[l]]=s,a),{}))},{withTypes:()=>I_});function ew(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var F_=ew(),O_=ew,D_=(...e)=>{const t=Q9(...e),r=Object.assign((...n)=>{const i=t(...n),o=(a,...s)=>i(ia(a)?J9(a):a,...s);return Object.assign(o,i),o},{withTypes:()=>r});return r},L_=D_(O2),N_=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?nh:nh.apply(null,arguments)},z_=e=>e&&typeof e.match=="function";function Qo(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(Rn(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>V9(n)&&n.type===e,r}function j_(e){return V9(e)&&Object.keys(e).every(U_)}function U_(e){return["type","payload","error","meta"].indexOf(e)>-1}var tw=class qu extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,qu.prototype)}static get[Symbol.species](){return qu}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new qu(...t[0].concat(this)):new qu(...t.concat(this))}};function F3(e){return oa(e)?F2(e,()=>{}):e}function O3(e,t,r){if(e.has(t)){let i=e.get(t);return r.update&&(i=r.update(i,t,e),e.set(t,i)),i}if(!r.insert)throw new Error(Rn(10));const n=r.insert(t,e);return e.set(t,n),n}function H_(e){return typeof e=="boolean"}var W_=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let a=new tw;return r&&(H_(r)?a.push(F_):a.push(O_(r.extraArgument))),a},V_="RTK_autoBatch",rw=e=>t=>{setTimeout(t,e)},q_=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:rw(10),K_=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let i=!0,o=!1,a=!1;const s=new Set,l=e.type==="tick"?queueMicrotask:e.type==="raf"?q_:e.type==="callback"?e.queueNotification:rw(e.timeout),c=()=>{a=!1,o&&(o=!1,s.forEach(u=>u()))};return Object.assign({},n,{subscribe(u){const f=()=>i&&u(),d=n.subscribe(f);return s.add(u),()=>{d(),s.delete(u)}},dispatch(u){var f;try{return i=!((f=u==null?void 0:u.meta)!=null&&f[V_]),o=!i,o&&(a||(a=!0,l(c))),n.dispatch(u)}finally{i=!0}}})},G_=e=>function(r){const{autoBatch:n=!0}=r??{};let i=new tw(e);return n&&i.push(K_(typeof n=="object"?n:void 0)),i},Y_=!0;function Tce(e){const t=W_(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:a=void 0}=e||{};let s;if(typeof r=="function")s=r;else if($2(r))s=p_(r);else throw new Error(Rn(1));let l;typeof n=="function"?l=n(t):l=t();let c=nh;i&&(c=N_({trace:!Y_,...typeof i=="object"&&i}));const u=x_(...l),f=G_(u);let d=typeof a=="function"?a(f):f();const b=c(...d);return W9(s,o,b)}function nw(e){const t={},r=[];let n;const i={addCase(o,a){const s=typeof o=="string"?o:o.type;if(!s)throw new Error(Rn(28));if(s in t)throw new Error(Rn(29));return t[s]=a,i},addMatcher(o,a){return r.push({matcher:o,reducer:a}),i},addDefaultCase(o){return n=o,i}};return e(i),[t,r,n]}function X_(e){return typeof e=="function"}function J_(e,t){let[r,n,i]=nw(t),o;if(X_(e))o=()=>F3(e());else{const s=F3(e);o=()=>s}function a(s=o(),l){let c=[r[l.type],...n.filter(({matcher:u})=>u(l)).map(({reducer:u})=>u)];return c.filter(u=>!!u).length===0&&(c=[i]),c.reduce((u,f)=>{if(f)if(ia(u)){const b=f(u,l);return b===void 0?u:b}else{if(oa(u))return F2(u,d=>f(d,l));{const d=f(u,l);if(d===void 0){if(u===null)return u;throw new Error(Rn(9))}return d}}return u},s)}return a.getInitialState=o,a}var Z_="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",iw=(e=21)=>{let t="",r=e;for(;r--;)t+=Z_[Math.random()*64|0];return t},Q_=(e,t)=>z_(e)?e.match(t):e(t);function eR(...e){return t=>e.some(r=>Q_(r,t))}var tR=["name","message","stack","code"],ux=class{constructor(e,t){ix(this,"_type");this.payload=e,this.meta=t}},D3=class{constructor(e,t){ix(this,"_type");this.payload=e,this.meta=t}},rR=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of tR)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},$ce=(()=>{function e(t,r,n){const i=Qo(t+"/fulfilled",(l,c,u,f)=>({payload:l,meta:{...f||{},arg:u,requestId:c,requestStatus:"fulfilled"}})),o=Qo(t+"/pending",(l,c,u)=>({payload:void 0,meta:{...u||{},arg:c,requestId:l,requestStatus:"pending"}})),a=Qo(t+"/rejected",(l,c,u,f,d)=>({payload:f,error:(n&&n.serializeError||rR)(l||"Rejected"),meta:{...d||{},arg:u,requestId:c,rejectedWithValue:!!f,requestStatus:"rejected",aborted:(l==null?void 0:l.name)==="AbortError",condition:(l==null?void 0:l.name)==="ConditionError"}}));function s(l){return(c,u,f)=>{const d=n!=null&&n.idGenerator?n.idGenerator(l):iw(),b=new AbortController;let p,v;function w(y){v=y,b.abort()}const C=async function(){var B,D;let y;try{let F=(B=n==null?void 0:n.condition)==null?void 0:B.call(n,l,{getState:u,extra:f});if(iR(F)&&(F=await F),F===!1||b.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const N=new Promise((_,L)=>{p=()=>{L({name:"AbortError",message:v||"Aborted"})},b.signal.addEventListener("abort",p)});c(o(d,l,(D=n==null?void 0:n.getPendingMeta)==null?void 0:D.call(n,{requestId:d,arg:l},{getState:u,extra:f}))),y=await Promise.race([N,Promise.resolve(r(l,{dispatch:c,getState:u,extra:f,requestId:d,signal:b.signal,abort:w,rejectWithValue:(_,L)=>new ux(_,L),fulfillWithValue:(_,L)=>new D3(_,L)})).then(_=>{if(_ instanceof ux)throw _;return _ instanceof D3?i(_.payload,d,l,_.meta):i(_,d,l)})])}catch(F){y=F instanceof ux?a(null,d,l,F.payload,F.meta):a(F,d,l)}finally{p&&b.signal.removeEventListener("abort",p)}return n&&!n.dispatchConditionRejection&&a.match(y)&&y.meta.condition||c(y),y}();return Object.assign(C,{abort:w,requestId:d,arg:l,unwrap(){return C.then(nR)}})}}return Object.assign(s,{pending:o,rejected:a,fulfilled:i,settled:eR(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function nR(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function iR(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var oR=Symbol.for("rtk-slice-createasyncthunk");function aR(e,t){return`${e}/${t}`}function sR({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[oR];return function(i){const{name:o,reducerPath:a=o}=i;if(!o)throw new Error(Rn(11));typeof process<"u";const s=(typeof i.reducers=="function"?i.reducers(cR()):i.reducers)||{},l=Object.keys(s),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},u={addCase(M,B){const D=typeof M=="string"?M:M.type;if(!D)throw new Error(Rn(12));if(D in c.sliceCaseReducersByType)throw new Error(Rn(13));return c.sliceCaseReducersByType[D]=B,u},addMatcher(M,B){return c.sliceMatchers.push({matcher:M,reducer:B}),u},exposeAction(M,B){return c.actionCreators[M]=B,u},exposeCaseReducer(M,B){return c.sliceCaseReducersByName[M]=B,u}};l.forEach(M=>{const B=s[M],D={reducerName:M,type:aR(o,M),createNotation:typeof i.reducers=="function"};fR(B)?hR(D,B,u,t):uR(D,B,u)});function f(){const[M={},B=[],D=void 0]=typeof i.extraReducers=="function"?nw(i.extraReducers):[i.extraReducers],F={...M,...c.sliceCaseReducersByType};return J_(i.initialState,N=>{for(let _ in F)N.addCase(_,F[_]);for(let _ of c.sliceMatchers)N.addMatcher(_.matcher,_.reducer);for(let _ of B)N.addMatcher(_.matcher,_.reducer);D&&N.addDefaultCase(D)})}const d=M=>M,b=new Map;let p;function v(M,B){return p||(p=f()),p(M,B)}function w(){return p||(p=f()),p.getInitialState()}function C(M,B=!1){function D(N){let _=N[M];return typeof _>"u"&&B&&(_=w()),_}function F(N=d){const _=O3(b,B,{insert:()=>new WeakMap});return O3(_,N,{insert:()=>{const L={};for(const[I,R]of Object.entries(i.selectors??{}))L[I]=lR(R,N,w,B);return L}})}return{reducerPath:M,getSelectors:F,get selectors(){return F(D)},selectSlice:D}}const y={name:o,reducer:v,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:w,...C(a),injectInto(M,{reducerPath:B,...D}={}){const F=B??a;return M.inject({reducerPath:F,reducer:v},D),{...y,...C(F,!0)}}};return y}}function lR(e,t,r,n){function i(o,...a){let s=t(o);return typeof s>"u"&&n&&(s=r()),e(s,...a)}return i.unwrapped=e,i}var Bce=sR();function cR(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function uR({type:e,reducerName:t,createNotation:r},n,i){let o,a;if("reducer"in n){if(r&&!dR(n))throw new Error(Rn(17));o=n.reducer,a=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?Qo(e,a):Qo(e))}function fR(e){return e._reducerDefinitionType==="asyncThunk"}function dR(e){return e._reducerDefinitionType==="reducerWithPrepare"}function hR({type:e,reducerName:t},r,n,i){if(!i)throw new Error(Rn(18));const{payloadCreator:o,fulfilled:a,pending:s,rejected:l,settled:c,options:u}=r,f=i(e,o,u);n.exposeAction(t,f),a&&n.addCase(f.fulfilled,a),s&&n.addCase(f.pending,s),l&&n.addCase(f.rejected,l),c&&n.addMatcher(f.settled,c),n.exposeCaseReducer(t,{fulfilled:a||W0,pending:s||W0,rejected:l||W0,settled:c||W0})}function W0(){}function pR(){return{ids:[],entities:{}}}function xR(e){function t(r={},n){const i=Object.assign(pR(),r);return n?e.setAll(i,n):i}return{getInitialState:t}}function mR(){function e(t,r={}){const{createSelector:n=L_}=r,i=f=>f.ids,o=f=>f.entities,a=n(i,o,(f,d)=>f.map(b=>d[b])),s=(f,d)=>d,l=(f,d)=>f[d],c=n(i,f=>f.length);if(!t)return{selectIds:i,selectEntities:o,selectAll:a,selectTotal:c,selectById:n(o,s,l)};const u=n(t,o);return{selectIds:n(t,i),selectEntities:u,selectAll:n(t,a),selectTotal:n(t,c),selectById:n(u,s,l)}}return{getSelectors:e}}var gR=ia;function vR(e){const t=pr((r,n)=>e(n));return function(n){return t(n,void 0)}}function pr(e){return function(r,n){function i(a){return j_(a)}const o=a=>{i(n)?e(n.payload,a):e(n,a)};return gR(r)?(o(r),r):F2(r,o)}}function Nl(e,t){return t(e)}function js(e){return Array.isArray(e)||(e=Object.values(e)),e}function ow(e,t,r){e=js(e);const n=[],i=[];for(const o of e){const a=Nl(o,t);a in r.entities?i.push({id:a,changes:o}):n.push(o)}return[n,i]}function aw(e){function t(p,v){const w=Nl(p,e);w in v.entities||(v.ids.push(w),v.entities[w]=p)}function r(p,v){p=js(p);for(const w of p)t(w,v)}function n(p,v){const w=Nl(p,e);w in v.entities||v.ids.push(w),v.entities[w]=p}function i(p,v){p=js(p);for(const w of p)n(w,v)}function o(p,v){p=js(p),v.ids=[],v.entities={},r(p,v)}function a(p,v){return s([p],v)}function s(p,v){let w=!1;p.forEach(C=>{C in v.entities&&(delete v.entities[C],w=!0)}),w&&(v.ids=v.ids.filter(C=>C in v.entities))}function l(p){Object.assign(p,{ids:[],entities:{}})}function c(p,v,w){const C=w.entities[v.id];if(C===void 0)return!1;const y=Object.assign({},C,v.changes),M=Nl(y,e),B=M!==v.id;return B&&(p[v.id]=M,delete w.entities[v.id]),w.entities[M]=y,B}function u(p,v){return f([p],v)}function f(p,v){const w={},C={};p.forEach(M=>{M.id in v.entities&&(C[M.id]={id:M.id,changes:{...C[M.id]?C[M.id].changes:null,...M.changes}})}),p=Object.values(C),p.length>0&&p.filter(B=>c(w,B,v)).length>0&&(v.ids=Object.values(v.entities).map(B=>Nl(B,e)))}function d(p,v){return b([p],v)}function b(p,v){const[w,C]=ow(p,e,v);f(C,v),r(w,v)}return{removeAll:vR(l),addOne:pr(t),addMany:pr(r),setOne:pr(n),setMany:pr(i),setAll:pr(o),updateOne:pr(u),updateMany:pr(f),upsertOne:pr(d),upsertMany:pr(b),removeOne:pr(a),removeMany:pr(s)}}function bR(e,t){const{removeOne:r,removeMany:n,removeAll:i}=aw(e);function o(C,y){return a([C],y)}function a(C,y){C=js(C);const M=C.filter(B=>!(Nl(B,e)in y.entities));M.length!==0&&v(M,y)}function s(C,y){return l([C],y)}function l(C,y){C=js(C),C.length!==0&&v(C,y)}function c(C,y){C=js(C),y.entities={},y.ids=[],a(C,y)}function u(C,y){return f([C],y)}function f(C,y){let M=!1;for(let B of C){const D=y.entities[B.id];if(!D)continue;M=!0,Object.assign(D,B.changes);const F=e(D);B.id!==F&&(delete y.entities[B.id],y.entities[F]=D)}M&&w(y)}function d(C,y){return b([C],y)}function b(C,y){const[M,B]=ow(C,e,y);f(B,y),a(M,y)}function p(C,y){if(C.length!==y.length)return!1;for(let M=0;M{y.entities[e(M)]=M}),w(y)}function w(C){const y=Object.values(C.entities);y.sort(t);const M=y.map(e),{ids:B}=C;p(B,M)||(C.ids=M)}return{removeOne:r,removeMany:n,removeAll:i,addOne:pr(o),updateOne:pr(u),upsertOne:pr(d),setOne:pr(s),setMany:pr(l),setAll:pr(c),addMany:pr(a),updateMany:pr(f),upsertMany:pr(b)}}function Ice(e={}){const{selectId:t,sortComparer:r}={sortComparer:!1,selectId:a=>a.id,...e},n=r?bR(t,r):aw(t),i=xR(n),o=mR();return{selectId:t,sortComparer:r,...i,...o,...n}}var yR=(e,t)=>{if(typeof e!="function")throw new Error(Rn(32))},D2="listenerMiddleware",wR=e=>{let{type:t,actionCreator:r,matcher:n,predicate:i,effect:o}=e;if(t)i=Qo(t).match;else if(r)t=r.type,i=r.match;else if(n)i=n;else if(!i)throw new Error(Rn(21));return yR(o),{predicate:i,type:t,effect:o}},SR=Object.assign(e=>{const{type:t,predicate:r,effect:n}=wR(e);return{id:iw(),effect:n,type:t,predicate:r,pending:new Set,unsubscribe:()=>{throw new Error(Rn(22))}}},{withTypes:()=>SR}),CR=Object.assign(Qo(`${D2}/add`),{withTypes:()=>CR});Qo(`${D2}/removeAll`);var ER=Object.assign(Qo(`${D2}/remove`),{withTypes:()=>ER});function Rn(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}function sw(e,t){return function(){return e.apply(t,arguments)}}const{toString:MR}=Object.prototype,{getPrototypeOf:L2}=Object,_p=(e=>t=>{const r=MR.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Oo=e=>(e=e.toLowerCase(),t=>_p(t)===e),Rp=e=>t=>typeof t===e,{isArray:Gc}=Array,$f=Rp("undefined");function PR(e){return e!==null&&!$f(e)&&e.constructor!==null&&!$f(e.constructor)&&Mi(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const lw=Oo("ArrayBuffer");function AR(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&lw(e.buffer),t}const kR=Rp("string"),Mi=Rp("function"),cw=Rp("number"),Tp=e=>e!==null&&typeof e=="object",_R=e=>e===!0||e===!1,Bd=e=>{if(_p(e)!=="object")return!1;const t=L2(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},RR=Oo("Date"),TR=Oo("File"),$R=Oo("Blob"),BR=Oo("FileList"),IR=e=>Tp(e)&&Mi(e.pipe),FR=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Mi(e.append)&&((t=_p(e))==="formdata"||t==="object"&&Mi(e.toString)&&e.toString()==="[object FormData]"))},OR=Oo("URLSearchParams"),DR=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function b0(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),Gc(e))for(n=0,i=e.length;n0;)if(i=r[n],t===i.toLowerCase())return i;return null}const fw=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,dw=e=>!$f(e)&&e!==fw;function Tg(){const{caseless:e}=dw(this)&&this||{},t={},r=(n,i)=>{const o=e&&uw(t,i)||i;Bd(t[o])&&Bd(n)?t[o]=Tg(t[o],n):Bd(n)?t[o]=Tg({},n):Gc(n)?t[o]=n.slice():t[o]=n};for(let n=0,i=arguments.length;n(b0(t,(i,o)=>{r&&Mi(i)?e[o]=sw(i,r):e[o]=i},{allOwnKeys:n}),e),NR=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),zR=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},jR=(e,t,r,n)=>{let i,o,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!n||n(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=r!==!1&&L2(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},UR=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},HR=e=>{if(!e)return null;if(Gc(e))return e;let t=e.length;if(!cw(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},WR=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&L2(Uint8Array)),VR=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=n.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},qR=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},KR=Oo("HTMLFormElement"),GR=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),L3=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),YR=Oo("RegExp"),hw=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};b0(r,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(n[o]=a||i)}),Object.defineProperties(e,n)},XR=e=>{hw(e,(t,r)=>{if(Mi(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Mi(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},JR=(e,t)=>{const r={},n=i=>{i.forEach(o=>{r[o]=!0})};return Gc(e)?n(e):n(String(e).split(t)),r},ZR=()=>{},QR=(e,t)=>(e=+e,Number.isFinite(e)?e:t),fx="abcdefghijklmnopqrstuvwxyz",N3="0123456789",pw={DIGIT:N3,ALPHA:fx,ALPHA_DIGIT:fx+fx.toUpperCase()+N3},eT=(e=16,t=pw.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function tT(e){return!!(e&&Mi(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const rT=e=>{const t=new Array(10),r=(n,i)=>{if(Tp(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[i]=n;const o=Gc(n)?[]:{};return b0(n,(a,s)=>{const l=r(a,i+1);!$f(l)&&(o[s]=l)}),t[i]=void 0,o}}return n};return r(e,0)},nT=Oo("AsyncFunction"),iT=e=>e&&(Tp(e)||Mi(e))&&Mi(e.then)&&Mi(e.catch),be={isArray:Gc,isArrayBuffer:lw,isBuffer:PR,isFormData:FR,isArrayBufferView:AR,isString:kR,isNumber:cw,isBoolean:_R,isObject:Tp,isPlainObject:Bd,isUndefined:$f,isDate:RR,isFile:TR,isBlob:$R,isRegExp:YR,isFunction:Mi,isStream:IR,isURLSearchParams:OR,isTypedArray:WR,isFileList:BR,forEach:b0,merge:Tg,extend:LR,trim:DR,stripBOM:NR,inherits:zR,toFlatObject:jR,kindOf:_p,kindOfTest:Oo,endsWith:UR,toArray:HR,forEachEntry:VR,matchAll:qR,isHTMLForm:KR,hasOwnProperty:L3,hasOwnProp:L3,reduceDescriptors:hw,freezeMethods:XR,toObjectSet:JR,toCamelCase:GR,noop:ZR,toFiniteNumber:QR,findKey:uw,global:fw,isContextDefined:dw,ALPHABET:pw,generateString:eT,isSpecCompliantForm:tT,toJSONObject:rT,isAsyncFn:nT,isThenable:iT};function $t(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}be.inherits($t,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:be.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const xw=$t.prototype,mw={};["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"].forEach(e=>{mw[e]={value:e}});Object.defineProperties($t,mw);Object.defineProperty(xw,"isAxiosError",{value:!0});$t.from=(e,t,r,n,i,o)=>{const a=Object.create(xw);return be.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),$t.call(a,e.message,t,r,n,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const oT=null;function $g(e){return be.isPlainObject(e)||be.isArray(e)}function gw(e){return be.endsWith(e,"[]")?e.slice(0,-2):e}function z3(e,t,r){return e?e.concat(t).map(function(i,o){return i=gw(i),!r&&o?"["+i+"]":i}).join(r?".":""):t}function aT(e){return be.isArray(e)&&!e.some($g)}const sT=be.toFlatObject(be,{},null,function(t){return/^is[A-Z]/.test(t)});function $p(e,t,r){if(!be.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=be.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,w){return!be.isUndefined(w[v])});const n=r.metaTokens,i=r.visitor||u,o=r.dots,a=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&be.isSpecCompliantForm(t);if(!be.isFunction(i))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(be.isDate(p))return p.toISOString();if(!l&&be.isBlob(p))throw new $t("Blob is not supported. Use a Buffer instead.");return be.isArrayBuffer(p)||be.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,v,w){let C=p;if(p&&!w&&typeof p=="object"){if(be.endsWith(v,"{}"))v=n?v:v.slice(0,-2),p=JSON.stringify(p);else if(be.isArray(p)&&aT(p)||(be.isFileList(p)||be.endsWith(v,"[]"))&&(C=be.toArray(p)))return v=gw(v),C.forEach(function(M,B){!(be.isUndefined(M)||M===null)&&t.append(a===!0?z3([v],B,o):a===null?v:v+"[]",c(M))}),!1}return $g(p)?!0:(t.append(z3(w,v,o),c(p)),!1)}const f=[],d=Object.assign(sT,{defaultVisitor:u,convertValue:c,isVisitable:$g});function b(p,v){if(!be.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(p),be.forEach(p,function(C,y){(!(be.isUndefined(C)||C===null)&&i.call(t,C,be.isString(y)?y.trim():y,v,d))===!0&&b(C,v?v.concat(y):[y])}),f.pop()}}if(!be.isObject(e))throw new TypeError("data must be an object");return b(e),t}function j3(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function N2(e,t){this._pairs=[],e&&$p(e,this,t)}const vw=N2.prototype;vw.append=function(t,r){this._pairs.push([t,r])};vw.toString=function(t){const r=t?function(n){return t.call(this,n,j3)}:j3;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function lT(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function bw(e,t,r){if(!t)return e;const n=r&&r.encode||lT,i=r&&r.serialize;let o;if(i?o=i(t,r):o=be.isURLSearchParams(t)?t.toString():new N2(t,r).toString(n),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class U3{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){be.forEach(this.handlers,function(n){n!==null&&t(n)})}}const yw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},cT=typeof URLSearchParams<"u"?URLSearchParams:N2,uT=typeof FormData<"u"?FormData:null,fT=typeof Blob<"u"?Blob:null,dT={isBrowser:!0,classes:{URLSearchParams:cT,FormData:uT,Blob:fT},protocols:["http","https","file","blob","url","data"]},ww=typeof window<"u"&&typeof document<"u",hT=(e=>ww&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),pT=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",xT=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ww,hasStandardBrowserEnv:hT,hasStandardBrowserWebWorkerEnv:pT},Symbol.toStringTag,{value:"Module"})),wo={...xT,...dT};function mT(e,t){return $p(e,new wo.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,o){return wo.isNode&&be.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function gT(e){return be.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function vT(e){const t={},r=Object.keys(e);let n;const i=r.length;let o;for(n=0;n=r.length;return a=!a&&be.isArray(i)?i.length:a,l?(be.hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n,!s):((!i[a]||!be.isObject(i[a]))&&(i[a]=[]),t(r,n,i[a],o)&&be.isArray(i[a])&&(i[a]=vT(i[a])),!s)}if(be.isFormData(e)&&be.isFunction(e.entries)){const r={};return be.forEachEntry(e,(n,i)=>{t(gT(n),i,r,0)}),r}return null}function bT(e,t,r){if(be.isString(e))try{return(t||JSON.parse)(e),be.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const z2={transitional:yw,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,o=be.isObject(t);if(o&&be.isHTMLForm(t)&&(t=new FormData(t)),be.isFormData(t))return i?JSON.stringify(Sw(t)):t;if(be.isArrayBuffer(t)||be.isBuffer(t)||be.isStream(t)||be.isFile(t)||be.isBlob(t))return t;if(be.isArrayBufferView(t))return t.buffer;if(be.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return mT(t,this.formSerializer).toString();if((s=be.isFileList(t))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return $p(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(r.setContentType("application/json",!1),bT(t)):t}],transformResponse:[function(t){const r=this.transitional||z2.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(t&&be.isString(t)&&(n&&!this.responseType||i)){const a=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?$t.from(s,$t.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:wo.classes.FormData,Blob:wo.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};be.forEach(["delete","get","head","post","put","patch"],e=>{z2.headers[e]={}});const j2=z2,yT=be.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"]),wT=e=>{const t={};let r,n,i;return e&&e.split(` -`).forEach(function(a){i=a.indexOf(":"),r=a.substring(0,i).trim().toLowerCase(),n=a.substring(i+1).trim(),!(!r||t[r]&&yT[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},H3=Symbol("internals");function mu(e){return e&&String(e).trim().toLowerCase()}function Id(e){return e===!1||e==null?e:be.isArray(e)?e.map(Id):String(e)}function ST(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const CT=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function dx(e,t,r,n,i){if(be.isFunction(n))return n.call(this,t,r);if(i&&(t=r),!!be.isString(t)){if(be.isString(n))return t.indexOf(n)!==-1;if(be.isRegExp(n))return n.test(t)}}function ET(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function MT(e,t){const r=be.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(i,o,a){return this[n].call(this,t,i,o,a)},configurable:!0})})}class Bp{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function o(s,l,c){const u=mu(l);if(!u)throw new Error("header name must be a non-empty string");const f=be.findKey(i,u);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||l]=Id(s))}const a=(s,l)=>be.forEach(s,(c,u)=>o(c,u,l));return be.isPlainObject(t)||t instanceof this.constructor?a(t,r):be.isString(t)&&(t=t.trim())&&!CT(t)?a(wT(t),r):t!=null&&o(r,t,n),this}get(t,r){if(t=mu(t),t){const n=be.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return ST(i);if(be.isFunction(r))return r.call(this,i,n);if(be.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=mu(t),t){const n=be.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||dx(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function o(a){if(a=mu(a),a){const s=be.findKey(n,a);s&&(!r||dx(n,n[s],s,r))&&(delete n[s],i=!0)}}return be.isArray(t)?t.forEach(o):o(t),i}clear(t){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const o=r[n];(!t||dx(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const r=this,n={};return be.forEach(this,(i,o)=>{const a=be.findKey(n,o);if(a){r[a]=Id(i),delete r[o];return}const s=t?ET(o):String(o).trim();s!==o&&delete r[o],r[s]=Id(i),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return be.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=t&&be.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(i=>n.set(i)),n}static accessor(t){const n=(this[H3]=this[H3]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=mu(a);n[s]||(MT(i,a),n[s]=!0)}return be.isArray(t)?t.forEach(o):o(t),this}}Bp.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);be.reduceDescriptors(Bp.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});be.freezeMethods(Bp);const ea=Bp;function hx(e,t){const r=this||j2,n=t||r,i=ea.from(n.headers);let o=n.data;return be.forEach(e,function(s){o=s.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function Cw(e){return!!(e&&e.__CANCEL__)}function y0(e,t,r){$t.call(this,e??"canceled",$t.ERR_CANCELED,t,r),this.name="CanceledError"}be.inherits(y0,$t,{__CANCEL__:!0});function PT(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new $t("Request failed with status code "+r.status,[$t.ERR_BAD_REQUEST,$t.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const AT=wo.hasStandardBrowserEnv?{write(e,t,r,n,i,o){const a=[e+"="+encodeURIComponent(t)];be.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),be.isString(n)&&a.push("path="+n),be.isString(i)&&a.push("domain="+i),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function kT(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function _T(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ew(e,t){return e&&!kT(t)?_T(e,t):t}const RT=wo.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function i(o){let a=o;return t&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=i(window.location.href),function(a){const s=be.isString(a)?i(a):a;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}();function TT(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function $T(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i=0,o=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=n[o];a||(a=c),r[i]=l,n[i]=c;let f=o,d=0;for(;f!==i;)d+=r[f++],f=f%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),c-a{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-r,l=n(s),c=o<=a;r=o;const u={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&c?(a-o)/l:void 0,event:i};u[t?"download":"upload"]=!0,e(u)}}const BT=typeof XMLHttpRequest<"u",IT=BT&&function(e){return new Promise(function(r,n){let i=e.data;const o=ea.from(e.headers).normalize();let{responseType:a,withXSRFToken:s}=e,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let u;if(be.isFormData(i)){if(wo.hasStandardBrowserEnv||wo.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((u=o.getContentType())!==!1){const[v,...w]=u?u.split(";").map(C=>C.trim()).filter(Boolean):[];o.setContentType([v||"multipart/form-data",...w].join("; "))}}let f=new XMLHttpRequest;if(e.auth){const v=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(v+":"+w))}const d=Ew(e.baseURL,e.url);f.open(e.method.toUpperCase(),bw(d,e.params,e.paramsSerializer),!0),f.timeout=e.timeout;function b(){if(!f)return;const v=ea.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),C={data:!a||a==="text"||a==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:v,config:e,request:f};PT(function(M){r(M),c()},function(M){n(M),c()},C),f=null}if("onloadend"in f?f.onloadend=b:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(b)},f.onabort=function(){f&&(n(new $t("Request aborted",$t.ECONNABORTED,e,f)),f=null)},f.onerror=function(){n(new $t("Network Error",$t.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let w=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const C=e.transitional||yw;e.timeoutErrorMessage&&(w=e.timeoutErrorMessage),n(new $t(w,C.clarifyTimeoutError?$t.ETIMEDOUT:$t.ECONNABORTED,e,f)),f=null},wo.hasStandardBrowserEnv&&(s&&be.isFunction(s)&&(s=s(e)),s||s!==!1&&RT(d))){const v=e.xsrfHeaderName&&e.xsrfCookieName&&AT.read(e.xsrfCookieName);v&&o.set(e.xsrfHeaderName,v)}i===void 0&&o.setContentType(null),"setRequestHeader"in f&&be.forEach(o.toJSON(),function(w,C){f.setRequestHeader(C,w)}),be.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),a&&a!=="json"&&(f.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&f.addEventListener("progress",W3(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",W3(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=v=>{f&&(n(!v||v.type?new y0(null,e,f):v),f.abort(),f=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const p=TT(d);if(p&&wo.protocols.indexOf(p)===-1){n(new $t("Unsupported protocol "+p+":",$t.ERR_BAD_REQUEST,e));return}f.send(i||null)})},Bg={http:oT,xhr:IT};be.forEach(Bg,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const V3=e=>`- ${e}`,FT=e=>be.isFunction(e)||e===null||e===!1,Mw={getAdapter:e=>{e=be.isArray(e)?e:[e];const{length:t}=e;let r,n;const i={};for(let o=0;o`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since : -`+o.map(V3).join(` -`):" "+V3(o[0]):"as no adapter specified";throw new $t("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:Bg};function px(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new y0(null,e)}function q3(e){return px(e),e.headers=ea.from(e.headers),e.data=hx.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Mw.getAdapter(e.adapter||j2.adapter)(e).then(function(n){return px(e),n.data=hx.call(e,e.transformResponse,n),n.headers=ea.from(n.headers),n},function(n){return Cw(n)||(px(e),n&&n.response&&(n.response.data=hx.call(e,e.transformResponse,n.response),n.response.headers=ea.from(n.response.headers))),Promise.reject(n)})}const K3=e=>e instanceof ea?{...e}:e;function Sc(e,t){t=t||{};const r={};function n(c,u,f){return be.isPlainObject(c)&&be.isPlainObject(u)?be.merge.call({caseless:f},c,u):be.isPlainObject(u)?be.merge({},u):be.isArray(u)?u.slice():u}function i(c,u,f){if(be.isUndefined(u)){if(!be.isUndefined(c))return n(void 0,c,f)}else return n(c,u,f)}function o(c,u){if(!be.isUndefined(u))return n(void 0,u)}function a(c,u){if(be.isUndefined(u)){if(!be.isUndefined(c))return n(void 0,c)}else return n(void 0,u)}function s(c,u,f){if(f in t)return n(c,u);if(f in e)return n(void 0,c)}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>i(K3(c),K3(u),!0)};return be.forEach(Object.keys(Object.assign({},e,t)),function(u){const f=l[u]||i,d=f(e[u],t[u],u);be.isUndefined(d)&&f!==s||(r[u]=d)}),r}const Pw="1.6.8",U2={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{U2[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const G3={};U2.transitional=function(t,r,n){function i(o,a){return"[Axios v"+Pw+"] Transitional option '"+o+"'"+a+(n?". "+n:"")}return(o,a,s)=>{if(t===!1)throw new $t(i(a," has been removed"+(r?" in "+r:"")),$t.ERR_DEPRECATED);return r&&!G3[a]&&(G3[a]=!0),t?t(o,a,s):!0}};function OT(e,t,r){if(typeof e!="object")throw new $t("options must be an object",$t.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const o=n[i],a=t[o];if(a){const s=e[o],l=s===void 0||a(s,o,e);if(l!==!0)throw new $t("option "+o+" must be "+l,$t.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new $t("Unknown option "+o,$t.ERR_BAD_OPTION)}}const Ig={assertOptions:OT,validators:U2},wa=Ig.validators;class sh{constructor(t){this.defaults=t,this.interceptors={request:new U3,response:new U3}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=` -`+o):n.stack=o}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Sc(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:o}=r;n!==void 0&&Ig.assertOptions(n,{silentJSONParsing:wa.transitional(wa.boolean),forcedJSONParsing:wa.transitional(wa.boolean),clarifyTimeoutError:wa.transitional(wa.boolean)},!1),i!=null&&(be.isFunction(i)?r.paramsSerializer={serialize:i}:Ig.assertOptions(i,{encode:wa.function,serialize:wa.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let a=o&&be.merge(o.common,o[r.method]);o&&be.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),r.headers=ea.concat(a,o);const s=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(r)===!1||(l=l&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let u,f=0,d;if(!l){const p=[q3.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,c),d=p.length,u=Promise.resolve(r);f{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](i);n._listeners=null}),this.promise.then=i=>{let o;const a=new Promise(s=>{n.subscribe(s),o=s}).then(i);return a.cancel=function(){n.unsubscribe(o)},a},t(function(o,a,s){n.reason||(n.reason=new y0(o,a,s),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new H2(function(i){t=i}),cancel:t}}}const DT=H2;function LT(e){return function(r){return e.apply(null,r)}}function NT(e){return be.isObject(e)&&e.isAxiosError===!0}const Fg={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(Fg).forEach(([e,t])=>{Fg[t]=e});const zT=Fg;function Aw(e){const t=new Fd(e),r=sw(Fd.prototype.request,t);return be.extend(r,Fd.prototype,t,{allOwnKeys:!0}),be.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return Aw(Sc(e,i))},r}const kr=Aw(j2);kr.Axios=Fd;kr.CanceledError=y0;kr.CancelToken=DT;kr.isCancel=Cw;kr.VERSION=Pw;kr.toFormData=$p;kr.AxiosError=$t;kr.Cancel=kr.CanceledError;kr.all=function(t){return Promise.all(t)};kr.spread=LT;kr.isAxiosError=NT;kr.mergeConfig=Sc;kr.AxiosHeaders=ea;kr.formToJSON=e=>Sw(be.isHTMLForm(e)?new FormData(e):e);kr.getAdapter=Mw.getAdapter;kr.HttpStatusCode=zT;kr.default=kr;var jT=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,xx=Math.ceil,hi=Math.floor,Mn="[BigNumber Error] ",Y3=Mn+"Number primitive has more than 15 significant digits: ",Vi=1e14,bt=14,mx=9007199254740991,gx=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],Sa=1e7,Tr=1e9;function kw(e){var t,r,n,i=y.prototype={constructor:y,toString:null,valueOf:null},o=new y(1),a=20,s=4,l=-7,c=21,u=-1e7,f=1e7,d=!1,b=1,p=0,v={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},w="0123456789abcdefghijklmnopqrstuvwxyz",C=!0;function y(_,L){var I,R,m,g,h,x,S,T,k=this;if(!(k instanceof y))return new y(_,L);if(L==null){if(_&&_._isBigNumber===!0){k.s=_.s,!_.c||_.e>f?k.c=k.e=null:_.e=10;h/=10,g++);g>f?k.c=k.e=null:(k.e=g,k.c=[_]);return}T=String(_)}else{if(!jT.test(T=String(_)))return n(k,T,x);k.s=T.charCodeAt(0)==45?(T=T.slice(1),-1):1}(g=T.indexOf("."))>-1&&(T=T.replace(".","")),(h=T.search(/e/i))>0?(g<0&&(g=h),g+=+T.slice(h+1),T=T.substring(0,h)):g<0&&(g=T.length)}else{if(er(L,2,w.length,"Base"),L==10&&C)return k=new y(_),F(k,a+k.e+1,s);if(T=String(_),x=typeof _=="number"){if(_*0!=0)return n(k,T,x,L);if(k.s=1/_<0?(T=T.slice(1),-1):1,y.DEBUG&&T.replace(/^0\.0*|\./,"").length>15)throw Error(Y3+_)}else k.s=T.charCodeAt(0)===45?(T=T.slice(1),-1):1;for(I=w.slice(0,L),g=h=0,S=T.length;hg){g=S;continue}}else if(!m&&(T==T.toUpperCase()&&(T=T.toLowerCase())||T==T.toLowerCase()&&(T=T.toUpperCase()))){m=!0,h=-1,g=0;continue}return n(k,String(_),x,L)}x=!1,T=r(T,L,10,k.s),(g=T.indexOf("."))>-1?T=T.replace(".",""):g=T.length}for(h=0;T.charCodeAt(h)===48;h++);for(S=T.length;T.charCodeAt(--S)===48;);if(T=T.slice(h,++S)){if(S-=h,x&&y.DEBUG&&S>15&&(_>mx||_!==hi(_)))throw Error(Y3+k.s*_);if((g=g-h-1)>f)k.c=k.e=null;else if(g=-Tr&&m<=Tr&&m===hi(m)){if(R[0]===0){if(m===0&&R.length===1)return!0;break e}if(L=(m+1)%bt,L<1&&(L+=bt),String(R[0]).length==L){for(L=0;L=Vi||I!==hi(I))break e;if(I!==0)return!0}}}else if(R===null&&m===null&&(g===null||g===1||g===-1))return!0;throw Error(Mn+"Invalid BigNumber: "+_)},y.maximum=y.max=function(){return B(arguments,-1)},y.minimum=y.min=function(){return B(arguments,1)},y.random=function(){var _=9007199254740992,L=Math.random()*_&2097151?function(){return hi(Math.random()*_)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(I){var R,m,g,h,x,S=0,T=[],k=new y(o);if(I==null?I=a:er(I,0,Tr),h=xx(I/bt),d)if(crypto.getRandomValues){for(R=crypto.getRandomValues(new Uint32Array(h*=2));S>>11),x>=9e15?(m=crypto.getRandomValues(new Uint32Array(2)),R[S]=m[0],R[S+1]=m[1]):(T.push(x%1e14),S+=2);S=h/2}else if(crypto.randomBytes){for(R=crypto.randomBytes(h*=7);S=9e15?crypto.randomBytes(7).copy(R,S):(T.push(x%1e14),S+=7);S=h/7}else throw d=!1,Error(Mn+"crypto unavailable");if(!d)for(;S=10;x/=10,S++);Sm-1&&(x[h+1]==null&&(x[h+1]=0),x[h+1]+=x[h]/m|0,x[h]%=m)}return x.reverse()}return function(I,R,m,g,h){var x,S,T,k,$,P,E,A,z=I.indexOf("."),H=a,O=s;for(z>=0&&(k=p,p=0,I=I.replace(".",""),A=new y(R),P=A.pow(I.length-z),p=k,A.c=L(zo(fi(P.c),P.e,"0"),10,m,_),A.e=A.c.length),E=L(I,R,m,h?(x=w,_):(x=_,w)),T=k=E.length;E[--k]==0;E.pop());if(!E[0])return x.charAt(0);if(z<0?--T:(P.c=E,P.e=T,P.s=g,P=t(P,A,H,O,m),E=P.c,$=P.r,T=P.e),S=T+H+1,z=E[S],k=m/2,$=$||S<0||E[S+1]!=null,$=O<4?(z!=null||$)&&(O==0||O==(P.s<0?3:2)):z>k||z==k&&(O==4||$||O==6&&E[S-1]&1||O==(P.s<0?8:7)),S<1||!E[0])I=$?zo(x.charAt(1),-H,x.charAt(0)):x.charAt(0);else{if(E.length=S,$)for(--m;++E[--S]>m;)E[S]=0,S||(++T,E=[1].concat(E));for(k=E.length;!E[--k];);for(z=0,I="";z<=k;I+=x.charAt(E[z++]));I=zo(I,T,x.charAt(0))}return I}}(),t=function(){function _(R,m,g){var h,x,S,T,k=0,$=R.length,P=m%Sa,E=m/Sa|0;for(R=R.slice();$--;)S=R[$]%Sa,T=R[$]/Sa|0,h=E*S+T*P,x=P*S+h%Sa*Sa+k,k=(x/g|0)+(h/Sa|0)+E*T,R[$]=x%g;return k&&(R=[k].concat(R)),R}function L(R,m,g,h){var x,S;if(g!=h)S=g>h?1:-1;else for(x=S=0;xm[x]?1:-1;break}return S}function I(R,m,g,h){for(var x=0;g--;)R[g]-=x,x=R[g]1;R.splice(0,1));}return function(R,m,g,h,x){var S,T,k,$,P,E,A,z,H,O,V,X,J,G,j,q,K,Z=R.s==m.s?1:-1,te=R.c,Q=m.c;if(!te||!te[0]||!Q||!Q[0])return new y(!R.s||!m.s||(te?Q&&te[0]==Q[0]:!Q)?NaN:te&&te[0]==0||!Q?Z*0:Z/0);for(z=new y(Z),H=z.c=[],T=R.e-m.e,Z=g+T+1,x||(x=Vi,T=pi(R.e/bt)-pi(m.e/bt),Z=Z/bt|0),k=0;Q[k]==(te[k]||0);k++);if(Q[k]>(te[k]||0)&&T--,Z<0)H.push(1),$=!0;else{for(G=te.length,q=Q.length,k=0,Z+=2,P=hi(x/(Q[0]+1)),P>1&&(Q=_(Q,P,x),te=_(te,P,x),q=Q.length,G=te.length),J=q,O=te.slice(0,q),V=O.length;V=x/2&&j++;do{if(P=0,S=L(Q,O,q,V),S<0){if(X=O[0],q!=V&&(X=X*x+(O[1]||0)),P=hi(X/j),P>1)for(P>=x&&(P=x-1),E=_(Q,P,x),A=E.length,V=O.length;L(E,O,A,V)==1;)P--,I(E,q=10;Z/=10,k++);F(z,g+(z.e=k+T*bt-1)+1,h,$)}else z.e=T,z.r=+$;return z}}();function M(_,L,I,R){var m,g,h,x,S;if(I==null?I=s:er(I,0,8),!_.c)return _.toString();if(m=_.c[0],h=_.e,L==null)S=fi(_.c),S=R==1||R==2&&(h<=l||h>=c)?q0(S,h):zo(S,h,"0");else if(_=F(new y(_),L,I),g=_.e,S=fi(_.c),x=S.length,R==1||R==2&&(L<=g||g<=l)){for(;xx){if(--L>0)for(S+=".";L--;S+="0");}else if(L+=g-x,L>0)for(g+1==x&&(S+=".");L--;S+="0");return _.s<0&&m?"-"+S:S}function B(_,L){for(var I,R,m=1,g=new y(_[0]);m<_.length;m++)R=new y(_[m]),(!R.s||(I=Cs(g,R))===L||I===0&&g.s===L)&&(g=R);return g}function D(_,L,I){for(var R=1,m=L.length;!L[--m];L.pop());for(m=L[0];m>=10;m/=10,R++);return(I=R+I*bt-1)>f?_.c=_.e=null:I=10;x/=10,m++);if(g=L-m,g<0)g+=bt,h=L,S=$[T=0],k=hi(S/P[m-h-1]%10);else if(T=xx((g+1)/bt),T>=$.length)if(R){for(;$.length<=T;$.push(0));S=k=0,m=1,g%=bt,h=g-bt+1}else break e;else{for(S=x=$[T],m=1;x>=10;x/=10,m++);g%=bt,h=g-bt+m,k=h<0?0:hi(S/P[m-h-1]%10)}if(R=R||L<0||$[T+1]!=null||(h<0?S:S%P[m-h-1]),R=I<4?(k||R)&&(I==0||I==(_.s<0?3:2)):k>5||k==5&&(I==4||R||I==6&&(g>0?h>0?S/P[m-h]:0:$[T-1])%10&1||I==(_.s<0?8:7)),L<1||!$[0])return $.length=0,R?(L-=_.e+1,$[0]=P[(bt-L%bt)%bt],_.e=-L||0):$[0]=_.e=0,_;if(g==0?($.length=T,x=1,T--):($.length=T+1,x=P[bt-g],$[T]=h>0?hi(S/P[m-h]%P[h])*x:0),R)for(;;)if(T==0){for(g=1,h=$[0];h>=10;h/=10,g++);for(h=$[0]+=x,x=1;h>=10;h/=10,x++);g!=x&&(_.e++,$[0]==Vi&&($[0]=1));break}else{if($[T]+=x,$[T]!=Vi)break;$[T--]=0,x=1}for(g=$.length;$[--g]===0;$.pop());}_.e>f?_.c=_.e=null:_.e=c?q0(L,I):zo(L,I,"0"),_.s<0?"-"+L:L)}return i.absoluteValue=i.abs=function(){var _=new y(this);return _.s<0&&(_.s=1),_},i.comparedTo=function(_,L){return Cs(this,new y(_,L))},i.decimalPlaces=i.dp=function(_,L){var I,R,m,g=this;if(_!=null)return er(_,0,Tr),L==null?L=s:er(L,0,8),F(new y(g),_+g.e+1,L);if(!(I=g.c))return null;if(R=((m=I.length-1)-pi(this.e/bt))*bt,m=I[m])for(;m%10==0;m/=10,R--);return R<0&&(R=0),R},i.dividedBy=i.div=function(_,L){return t(this,new y(_,L),a,s)},i.dividedToIntegerBy=i.idiv=function(_,L){return t(this,new y(_,L),0,1)},i.exponentiatedBy=i.pow=function(_,L){var I,R,m,g,h,x,S,T,k,$=this;if(_=new y(_),_.c&&!_.isInteger())throw Error(Mn+"Exponent not an integer: "+N(_));if(L!=null&&(L=new y(L)),x=_.e>14,!$.c||!$.c[0]||$.c[0]==1&&!$.e&&$.c.length==1||!_.c||!_.c[0])return k=new y(Math.pow(+N($),x?_.s*(2-V0(_)):+N(_))),L?k.mod(L):k;if(S=_.s<0,L){if(L.c?!L.c[0]:!L.s)return new y(NaN);R=!S&&$.isInteger()&&L.isInteger(),R&&($=$.mod(L))}else{if(_.e>9&&($.e>0||$.e<-1||($.e==0?$.c[0]>1||x&&$.c[1]>=24e7:$.c[0]<8e13||x&&$.c[0]<=9999975e7)))return g=$.s<0&&V0(_)?-0:0,$.e>-1&&(g=1/g),new y(S?1/g:g);p&&(g=xx(p/bt+2))}for(x?(I=new y(.5),S&&(_.s=1),T=V0(_)):(m=Math.abs(+N(_)),T=m%2),k=new y(o);;){if(T){if(k=k.times($),!k.c)break;g?k.c.length>g&&(k.c.length=g):R&&(k=k.mod(L))}if(m){if(m=hi(m/2),m===0)break;T=m%2}else if(_=_.times(I),F(_,_.e+1,1),_.e>14)T=V0(_);else{if(m=+N(_),m===0)break;T=m%2}$=$.times($),g?$.c&&$.c.length>g&&($.c.length=g):R&&($=$.mod(L))}return R?k:(S&&(k=o.div(k)),L?k.mod(L):g?F(k,p,s,h):k)},i.integerValue=function(_){var L=new y(this);return _==null?_=s:er(_,0,8),F(L,L.e+1,_)},i.isEqualTo=i.eq=function(_,L){return Cs(this,new y(_,L))===0},i.isFinite=function(){return!!this.c},i.isGreaterThan=i.gt=function(_,L){return Cs(this,new y(_,L))>0},i.isGreaterThanOrEqualTo=i.gte=function(_,L){return(L=Cs(this,new y(_,L)))===1||L===0},i.isInteger=function(){return!!this.c&&pi(this.e/bt)>this.c.length-2},i.isLessThan=i.lt=function(_,L){return Cs(this,new y(_,L))<0},i.isLessThanOrEqualTo=i.lte=function(_,L){return(L=Cs(this,new y(_,L)))===-1||L===0},i.isNaN=function(){return!this.s},i.isNegative=function(){return this.s<0},i.isPositive=function(){return this.s>0},i.isZero=function(){return!!this.c&&this.c[0]==0},i.minus=function(_,L){var I,R,m,g,h=this,x=h.s;if(_=new y(_,L),L=_.s,!x||!L)return new y(NaN);if(x!=L)return _.s=-L,h.plus(_);var S=h.e/bt,T=_.e/bt,k=h.c,$=_.c;if(!S||!T){if(!k||!$)return k?(_.s=-L,_):new y($?h:NaN);if(!k[0]||!$[0])return $[0]?(_.s=-L,_):new y(k[0]?h:s==3?-0:0)}if(S=pi(S),T=pi(T),k=k.slice(),x=S-T){for((g=x<0)?(x=-x,m=k):(T=S,m=$),m.reverse(),L=x;L--;m.push(0));m.reverse()}else for(R=(g=(x=k.length)<(L=$.length))?x:L,x=L=0;L0)for(;L--;k[I++]=0);for(L=Vi-1;R>x;){if(k[--R]<$[R]){for(I=R;I&&!k[--I];k[I]=L);--k[I],k[R]+=Vi}k[R]-=$[R]}for(;k[0]==0;k.splice(0,1),--T);return k[0]?D(_,k,T):(_.s=s==3?-1:1,_.c=[_.e=0],_)},i.modulo=i.mod=function(_,L){var I,R,m=this;return _=new y(_,L),!m.c||!_.s||_.c&&!_.c[0]?new y(NaN):!_.c||m.c&&!m.c[0]?new y(m):(b==9?(R=_.s,_.s=1,I=t(m,_,0,3),_.s=R,I.s*=R):I=t(m,_,0,b),_=m.minus(I.times(_)),!_.c[0]&&b==1&&(_.s=m.s),_)},i.multipliedBy=i.times=function(_,L){var I,R,m,g,h,x,S,T,k,$,P,E,A,z,H,O=this,V=O.c,X=(_=new y(_,L)).c;if(!V||!X||!V[0]||!X[0])return!O.s||!_.s||V&&!V[0]&&!X||X&&!X[0]&&!V?_.c=_.e=_.s=null:(_.s*=O.s,!V||!X?_.c=_.e=null:(_.c=[0],_.e=0)),_;for(R=pi(O.e/bt)+pi(_.e/bt),_.s*=O.s,S=V.length,$=X.length,S<$&&(A=V,V=X,X=A,m=S,S=$,$=m),m=S+$,A=[];m--;A.push(0));for(z=Vi,H=Sa,m=$;--m>=0;){for(I=0,P=X[m]%H,E=X[m]/H|0,h=S,g=m+h;g>m;)T=V[--h]%H,k=V[h]/H|0,x=E*T+k*P,T=P*T+x%H*H+A[g]+I,I=(T/z|0)+(x/H|0)+E*k,A[g--]=T%z;A[g]=I}return I?++R:A.splice(0,1),D(_,A,R)},i.negated=function(){var _=new y(this);return _.s=-_.s||null,_},i.plus=function(_,L){var I,R=this,m=R.s;if(_=new y(_,L),L=_.s,!m||!L)return new y(NaN);if(m!=L)return _.s=-L,R.minus(_);var g=R.e/bt,h=_.e/bt,x=R.c,S=_.c;if(!g||!h){if(!x||!S)return new y(m/0);if(!x[0]||!S[0])return S[0]?_:new y(x[0]?R:m*0)}if(g=pi(g),h=pi(h),x=x.slice(),m=g-h){for(m>0?(h=g,I=S):(m=-m,I=x),I.reverse();m--;I.push(0));I.reverse()}for(m=x.length,L=S.length,m-L<0&&(I=S,S=x,x=I,L=m),m=0;L;)m=(x[--L]=x[L]+S[L]+m)/Vi|0,x[L]=Vi===x[L]?0:x[L]%Vi;return m&&(x=[m].concat(x),++h),D(_,x,h)},i.precision=i.sd=function(_,L){var I,R,m,g=this;if(_!=null&&_!==!!_)return er(_,1,Tr),L==null?L=s:er(L,0,8),F(new y(g),_,L);if(!(I=g.c))return null;if(m=I.length-1,R=m*bt+1,m=I[m]){for(;m%10==0;m/=10,R--);for(m=I[0];m>=10;m/=10,R++);}return _&&g.e+1>R&&(R=g.e+1),R},i.shiftedBy=function(_){return er(_,-mx,mx),this.times("1e"+_)},i.squareRoot=i.sqrt=function(){var _,L,I,R,m,g=this,h=g.c,x=g.s,S=g.e,T=a+4,k=new y("0.5");if(x!==1||!h||!h[0])return new y(!x||x<0&&(!h||h[0])?NaN:h?g:1/0);if(x=Math.sqrt(+N(g)),x==0||x==1/0?(L=fi(h),(L.length+S)%2==0&&(L+="0"),x=Math.sqrt(+L),S=pi((S+1)/2)-(S<0||S%2),x==1/0?L="5e"+S:(L=x.toExponential(),L=L.slice(0,L.indexOf("e")+1)+S),I=new y(L)):I=new y(x+""),I.c[0]){for(S=I.e,x=S+T,x<3&&(x=0);;)if(m=I,I=k.times(m.plus(t(g,m,T,1))),fi(m.c).slice(0,x)===(L=fi(I.c)).slice(0,x))if(I.e0&&A>0){for(g=A%x||x,k=E.substr(0,g);g0&&(k+=T+E.slice(g)),P&&(k="-"+k)}R=$?k+(I.decimalSeparator||"")+((S=+I.fractionGroupSize)?$.replace(new RegExp("\\d{"+S+"}\\B","g"),"$&"+(I.fractionGroupSeparator||"")):$):k}return(I.prefix||"")+R+(I.suffix||"")},i.toFraction=function(_){var L,I,R,m,g,h,x,S,T,k,$,P,E=this,A=E.c;if(_!=null&&(x=new y(_),!x.isInteger()&&(x.c||x.s!==1)||x.lt(o)))throw Error(Mn+"Argument "+(x.isInteger()?"out of range: ":"not an integer: ")+N(x));if(!A)return new y(E);for(L=new y(o),T=I=new y(o),R=S=new y(o),P=fi(A),g=L.e=P.length-E.e-1,L.c[0]=gx[(h=g%bt)<0?bt+h:h],_=!_||x.comparedTo(L)>0?g>0?L:T:x,h=f,f=1/0,x=new y(P),S.c[0]=0;k=t(x,L,0,1),m=I.plus(k.times(R)),m.comparedTo(_)!=1;)I=R,R=m,T=S.plus(k.times(m=T)),S=m,L=x.minus(k.times(m=L)),x=m;return m=t(_.minus(I),R,0,1),S=S.plus(m.times(T)),I=I.plus(m.times(R)),S.s=T.s=E.s,g=g*2,$=t(T,R,g,s).minus(E).abs().comparedTo(t(S,I,g,s).minus(E).abs())<1?[T,R]:[S,I],f=h,$},i.toNumber=function(){return+N(this)},i.toPrecision=function(_,L){return _!=null&&er(_,1,Tr),M(this,_,L,2)},i.toString=function(_){var L,I=this,R=I.s,m=I.e;return m===null?R?(L="Infinity",R<0&&(L="-"+L)):L="NaN":(_==null?L=m<=l||m>=c?q0(fi(I.c),m):zo(fi(I.c),m,"0"):_===10&&C?(I=F(new y(I),a+m+1,s),L=zo(fi(I.c),I.e,"0")):(er(_,2,w.length,"Base"),L=r(zo(fi(I.c),m,"0"),10,_,R,!0)),R<0&&I.c[0]&&(L="-"+L)),L},i.valueOf=i.toJSON=function(){return N(this)},i._isBigNumber=!0,i[Symbol.toStringTag]="BigNumber",i[Symbol.for("nodejs.util.inspect.custom")]=i.valueOf,e!=null&&y.set(e),y}function pi(e){var t=e|0;return e>0||e===t?t:t-1}function fi(e){for(var t,r,n=1,i=e.length,o=e[0]+"";nc^r?1:-1;for(s=(l=i.length)<(c=o.length)?l:c,a=0;ao[a]^r?1:-1;return l==c?0:l>c^r?1:-1}function er(e,t,r,n){if(er||e!==hi(e))throw Error(Mn+(n||"Argument")+(typeof e=="number"?er?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function V0(e){var t=e.c.length-1;return pi(e.e/bt)==t&&e.c[t]%2!=0}function q0(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function zo(e,t,r){var n,i;if(t<0){for(i=r+".";++t;i+=r);e=i+e}else if(n=e.length,++t>n){for(i=r,t-=n;--t;i+=r);e+=i}else t"u"){window.clipboardData.clearData();var f=X3[t.format]||X3.default;window.clipboardData.setData(f,e)}else u.clipboardData.clearData(),u.clipboardData.setData(t.format,e);t.onCopy&&(u.preventDefault(),t.onCopy(u.clipboardData))}),document.body.appendChild(s),o.selectNodeContents(s),a.addRange(o);var c=document.execCommand("copy");if(!c)throw new Error("copy command was unsuccessful");l=!0}catch{try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch{n=VT("message"in t?t.message:WT),window.prompt(n,e)}}finally{a&&(typeof a.removeRange=="function"?a.removeRange(o):a.removeAllRanges()),s&&document.body.removeChild(s),i()}return l}var KT=qT;const Oce=_r(KT);var _w={exports:{}};function GT(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var vx={exports:{}};const YT={},XT=Object.freeze(Object.defineProperty({__proto__:null,default:YT},Symbol.toStringTag,{value:"Module"})),Ip=Fo(XT);var J3;function Rt(){return J3||(J3=1,function(e,t){(function(r,n){e.exports=n()})(st,function(){var r=r||function(n,i){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof st<"u"&&st.crypto&&(o=st.crypto),!o&&typeof GT=="function")try{o=Ip}catch{}var a=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function y(){}return function(M){var B;return y.prototype=M,B=new y,y.prototype=null,B}}(),l={},c=l.lib={},u=c.Base=function(){return{extend:function(y){var M=s(this);return y&&M.mixIn(y),(!M.hasOwnProperty("init")||this.init===M.init)&&(M.init=function(){M.$super.init.apply(this,arguments)}),M.init.prototype=M,M.$super=this,M},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var M in y)y.hasOwnProperty(M)&&(this[M]=y[M]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=c.WordArray=u.extend({init:function(y,M){y=this.words=y||[],M!=i?this.sigBytes=M:this.sigBytes=y.length*4},toString:function(y){return(y||b).stringify(this)},concat:function(y){var M=this.words,B=y.words,D=this.sigBytes,F=y.sigBytes;if(this.clamp(),D%4)for(var N=0;N>>2]>>>24-N%4*8&255;M[D+N>>>2]|=_<<24-(D+N)%4*8}else for(var L=0;L>>2]=B[L>>>2];return this.sigBytes+=F,this},clamp:function(){var y=this.words,M=this.sigBytes;y[M>>>2]&=4294967295<<32-M%4*8,y.length=n.ceil(M/4)},clone:function(){var y=u.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var M=[],B=0;B>>2]>>>24-F%4*8&255;D.push((N>>>4).toString(16)),D.push((N&15).toString(16))}return D.join("")},parse:function(y){for(var M=y.length,B=[],D=0;D>>3]|=parseInt(y.substr(D,2),16)<<24-D%8*4;return new f.init(B,M/2)}},p=d.Latin1={stringify:function(y){for(var M=y.words,B=y.sigBytes,D=[],F=0;F>>2]>>>24-F%4*8&255;D.push(String.fromCharCode(N))}return D.join("")},parse:function(y){for(var M=y.length,B=[],D=0;D>>2]|=(y.charCodeAt(D)&255)<<24-D%4*8;return new f.init(B,M)}},v=d.Utf8={stringify:function(y){try{return decodeURIComponent(escape(p.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return p.parse(unescape(encodeURIComponent(y)))}},w=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=v.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var M,B=this._data,D=B.words,F=B.sigBytes,N=this.blockSize,_=N*4,L=F/_;y?L=n.ceil(L):L=n.max((L|0)-this._minBufferSize,0);var I=L*N,R=n.min(I*4,F);if(I){for(var m=0;m>>2]|=l[f]<<24-f%4*8;a.call(this,u,c)}else a.apply(this,arguments)};s.prototype=o}}(),r.lib.WordArray})}(yx)),yx.exports}var wx={exports:{}},ey;function ZT(){return ey||(ey=1,function(e,t){(function(r,n){e.exports=n(Rt())})(st,function(r){return function(){var n=r,i=n.lib,o=i.WordArray,a=n.enc;a.Utf16=a.Utf16BE={stringify:function(l){for(var c=l.words,u=l.sigBytes,f=[],d=0;d>>2]>>>16-d%4*8&65535;f.push(String.fromCharCode(b))}return f.join("")},parse:function(l){for(var c=l.length,u=[],f=0;f>>1]|=l.charCodeAt(f)<<16-f%2*16;return o.create(u,c*2)}},a.Utf16LE={stringify:function(l){for(var c=l.words,u=l.sigBytes,f=[],d=0;d>>2]>>>16-d%4*8&65535);f.push(String.fromCharCode(b))}return f.join("")},parse:function(l){for(var c=l.length,u=[],f=0;f>>1]|=s(l.charCodeAt(f)<<16-f%2*16);return o.create(u,c*2)}};function s(l){return l<<8&4278255360|l>>>8&16711935}}(),r.enc.Utf16})}(wx)),wx.exports}var Sx={exports:{}},ty;function fl(){return ty||(ty=1,function(e,t){(function(r,n){e.exports=n(Rt())})(st,function(r){return function(){var n=r,i=n.lib,o=i.WordArray,a=n.enc;a.Base64={stringify:function(l){var c=l.words,u=l.sigBytes,f=this._map;l.clamp();for(var d=[],b=0;b>>2]>>>24-b%4*8&255,v=c[b+1>>>2]>>>24-(b+1)%4*8&255,w=c[b+2>>>2]>>>24-(b+2)%4*8&255,C=p<<16|v<<8|w,y=0;y<4&&b+y*.75>>6*(3-y)&63));var M=f.charAt(64);if(M)for(;d.length%4;)d.push(M);return d.join("")},parse:function(l){var c=l.length,u=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var d=0;d>>6-b%4*2,w=p|v;f[d>>>2]|=w<<24-d%4*8,d++}return o.create(f,d)}}(),r.enc.Base64})}(Sx)),Sx.exports}var Cx={exports:{}},ry;function QT(){return ry||(ry=1,function(e,t){(function(r,n){e.exports=n(Rt())})(st,function(r){return function(){var n=r,i=n.lib,o=i.WordArray,a=n.enc;a.Base64url={stringify:function(l,c){c===void 0&&(c=!0);var u=l.words,f=l.sigBytes,d=c?this._safe_map:this._map;l.clamp();for(var b=[],p=0;p>>2]>>>24-p%4*8&255,w=u[p+1>>>2]>>>24-(p+1)%4*8&255,C=u[p+2>>>2]>>>24-(p+2)%4*8&255,y=v<<16|w<<8|C,M=0;M<4&&p+M*.75>>6*(3-M)&63));var B=d.charAt(64);if(B)for(;b.length%4;)b.push(B);return b.join("")},parse:function(l,c){c===void 0&&(c=!0);var u=l.length,f=c?this._safe_map:this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var b=0;b>>6-b%4*2,w=p|v;f[d>>>2]|=w<<24-d%4*8,d++}return o.create(f,d)}}(),r.enc.Base64url})}(Cx)),Cx.exports}var Ex={exports:{}},ny;function os(){return ny||(ny=1,function(e,t){(function(r,n){e.exports=n(Rt())})(st,function(r){return function(n){var i=r,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.algo,c=[];(function(){for(var v=0;v<64;v++)c[v]=n.abs(n.sin(v+1))*4294967296|0})();var u=l.MD5=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(v,w){for(var C=0;C<16;C++){var y=w+C,M=v[y];v[y]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360}var B=this._hash.words,D=v[w+0],F=v[w+1],N=v[w+2],_=v[w+3],L=v[w+4],I=v[w+5],R=v[w+6],m=v[w+7],g=v[w+8],h=v[w+9],x=v[w+10],S=v[w+11],T=v[w+12],k=v[w+13],$=v[w+14],P=v[w+15],E=B[0],A=B[1],z=B[2],H=B[3];E=f(E,A,z,H,D,7,c[0]),H=f(H,E,A,z,F,12,c[1]),z=f(z,H,E,A,N,17,c[2]),A=f(A,z,H,E,_,22,c[3]),E=f(E,A,z,H,L,7,c[4]),H=f(H,E,A,z,I,12,c[5]),z=f(z,H,E,A,R,17,c[6]),A=f(A,z,H,E,m,22,c[7]),E=f(E,A,z,H,g,7,c[8]),H=f(H,E,A,z,h,12,c[9]),z=f(z,H,E,A,x,17,c[10]),A=f(A,z,H,E,S,22,c[11]),E=f(E,A,z,H,T,7,c[12]),H=f(H,E,A,z,k,12,c[13]),z=f(z,H,E,A,$,17,c[14]),A=f(A,z,H,E,P,22,c[15]),E=d(E,A,z,H,F,5,c[16]),H=d(H,E,A,z,R,9,c[17]),z=d(z,H,E,A,S,14,c[18]),A=d(A,z,H,E,D,20,c[19]),E=d(E,A,z,H,I,5,c[20]),H=d(H,E,A,z,x,9,c[21]),z=d(z,H,E,A,P,14,c[22]),A=d(A,z,H,E,L,20,c[23]),E=d(E,A,z,H,h,5,c[24]),H=d(H,E,A,z,$,9,c[25]),z=d(z,H,E,A,_,14,c[26]),A=d(A,z,H,E,g,20,c[27]),E=d(E,A,z,H,k,5,c[28]),H=d(H,E,A,z,N,9,c[29]),z=d(z,H,E,A,m,14,c[30]),A=d(A,z,H,E,T,20,c[31]),E=b(E,A,z,H,I,4,c[32]),H=b(H,E,A,z,g,11,c[33]),z=b(z,H,E,A,S,16,c[34]),A=b(A,z,H,E,$,23,c[35]),E=b(E,A,z,H,F,4,c[36]),H=b(H,E,A,z,L,11,c[37]),z=b(z,H,E,A,m,16,c[38]),A=b(A,z,H,E,x,23,c[39]),E=b(E,A,z,H,k,4,c[40]),H=b(H,E,A,z,D,11,c[41]),z=b(z,H,E,A,_,16,c[42]),A=b(A,z,H,E,R,23,c[43]),E=b(E,A,z,H,h,4,c[44]),H=b(H,E,A,z,T,11,c[45]),z=b(z,H,E,A,P,16,c[46]),A=b(A,z,H,E,N,23,c[47]),E=p(E,A,z,H,D,6,c[48]),H=p(H,E,A,z,m,10,c[49]),z=p(z,H,E,A,$,15,c[50]),A=p(A,z,H,E,I,21,c[51]),E=p(E,A,z,H,T,6,c[52]),H=p(H,E,A,z,_,10,c[53]),z=p(z,H,E,A,x,15,c[54]),A=p(A,z,H,E,F,21,c[55]),E=p(E,A,z,H,g,6,c[56]),H=p(H,E,A,z,P,10,c[57]),z=p(z,H,E,A,R,15,c[58]),A=p(A,z,H,E,k,21,c[59]),E=p(E,A,z,H,L,6,c[60]),H=p(H,E,A,z,S,10,c[61]),z=p(z,H,E,A,N,15,c[62]),A=p(A,z,H,E,h,21,c[63]),B[0]=B[0]+E|0,B[1]=B[1]+A|0,B[2]=B[2]+z|0,B[3]=B[3]+H|0},_doFinalize:function(){var v=this._data,w=v.words,C=this._nDataBytes*8,y=v.sigBytes*8;w[y>>>5]|=128<<24-y%32;var M=n.floor(C/4294967296),B=C;w[(y+64>>>9<<4)+15]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,w[(y+64>>>9<<4)+14]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,v.sigBytes=(w.length+1)*4,this._process();for(var D=this._hash,F=D.words,N=0;N<4;N++){var _=F[N];F[N]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}return D},clone:function(){var v=s.clone.call(this);return v._hash=this._hash.clone(),v}});function f(v,w,C,y,M,B,D){var F=v+(w&C|~w&y)+M+D;return(F<>>32-B)+w}function d(v,w,C,y,M,B,D){var F=v+(w&y|C&~y)+M+D;return(F<>>32-B)+w}function b(v,w,C,y,M,B,D){var F=v+(w^C^y)+M+D;return(F<>>32-B)+w}function p(v,w,C,y,M,B,D){var F=v+(C^(w|~y))+M+D;return(F<>>32-B)+w}i.MD5=s._createHelper(u),i.HmacMD5=s._createHmacHelper(u)}(Math),r.MD5})}(Ex)),Ex.exports}var Mx={exports:{}},iy;function Rw(){return iy||(iy=1,function(e,t){(function(r,n){e.exports=n(Rt())})(st,function(r){return function(){var n=r,i=n.lib,o=i.WordArray,a=i.Hasher,s=n.algo,l=[],c=s.SHA1=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,f){for(var d=this._hash.words,b=d[0],p=d[1],v=d[2],w=d[3],C=d[4],y=0;y<80;y++){if(y<16)l[y]=u[f+y]|0;else{var M=l[y-3]^l[y-8]^l[y-14]^l[y-16];l[y]=M<<1|M>>>31}var B=(b<<5|b>>>27)+C+l[y];y<20?B+=(p&v|~p&w)+1518500249:y<40?B+=(p^v^w)+1859775393:y<60?B+=(p&v|p&w|v&w)-1894007588:B+=(p^v^w)-899497514,C=w,w=v,v=p<<30|p>>>2,p=b,b=B}d[0]=d[0]+b|0,d[1]=d[1]+p|0,d[2]=d[2]+v|0,d[3]=d[3]+w|0,d[4]=d[4]+C|0},_doFinalize:function(){var u=this._data,f=u.words,d=this._nDataBytes*8,b=u.sigBytes*8;return f[b>>>5]|=128<<24-b%32,f[(b+64>>>9<<4)+14]=Math.floor(d/4294967296),f[(b+64>>>9<<4)+15]=d,u.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var u=a.clone.call(this);return u._hash=this._hash.clone(),u}});n.SHA1=a._createHelper(c),n.HmacSHA1=a._createHmacHelper(c)}(),r.SHA1})}(Mx)),Mx.exports}var Px={exports:{}},oy;function W2(){return oy||(oy=1,function(e,t){(function(r,n){e.exports=n(Rt())})(st,function(r){return function(n){var i=r,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.algo,c=[],u=[];(function(){function b(C){for(var y=n.sqrt(C),M=2;M<=y;M++)if(!(C%M))return!1;return!0}function p(C){return(C-(C|0))*4294967296|0}for(var v=2,w=0;w<64;)b(v)&&(w<8&&(c[w]=p(n.pow(v,1/2))),u[w]=p(n.pow(v,1/3)),w++),v++})();var f=[],d=l.SHA256=s.extend({_doReset:function(){this._hash=new a.init(c.slice(0))},_doProcessBlock:function(b,p){for(var v=this._hash.words,w=v[0],C=v[1],y=v[2],M=v[3],B=v[4],D=v[5],F=v[6],N=v[7],_=0;_<64;_++){if(_<16)f[_]=b[p+_]|0;else{var L=f[_-15],I=(L<<25|L>>>7)^(L<<14|L>>>18)^L>>>3,R=f[_-2],m=(R<<15|R>>>17)^(R<<13|R>>>19)^R>>>10;f[_]=I+f[_-7]+m+f[_-16]}var g=B&D^~B&F,h=w&C^w&y^C&y,x=(w<<30|w>>>2)^(w<<19|w>>>13)^(w<<10|w>>>22),S=(B<<26|B>>>6)^(B<<21|B>>>11)^(B<<7|B>>>25),T=N+S+g+u[_]+f[_],k=x+h;N=F,F=D,D=B,B=M+T|0,M=y,y=C,C=w,w=T+k|0}v[0]=v[0]+w|0,v[1]=v[1]+C|0,v[2]=v[2]+y|0,v[3]=v[3]+M|0,v[4]=v[4]+B|0,v[5]=v[5]+D|0,v[6]=v[6]+F|0,v[7]=v[7]+N|0},_doFinalize:function(){var b=this._data,p=b.words,v=this._nDataBytes*8,w=b.sigBytes*8;return p[w>>>5]|=128<<24-w%32,p[(w+64>>>9<<4)+14]=n.floor(v/4294967296),p[(w+64>>>9<<4)+15]=v,b.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var b=s.clone.call(this);return b._hash=this._hash.clone(),b}});i.SHA256=s._createHelper(d),i.HmacSHA256=s._createHmacHelper(d)}(Math),r.SHA256})}(Px)),Px.exports}var Ax={exports:{}},ay;function e$(){return ay||(ay=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),W2())})(st,function(r){return function(){var n=r,i=n.lib,o=i.WordArray,a=n.algo,s=a.SHA256,l=a.SHA224=s.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=s._doFinalize.call(this);return c.sigBytes-=4,c}});n.SHA224=s._createHelper(l),n.HmacSHA224=s._createHmacHelper(l)}(),r.SHA224})}(Ax)),Ax.exports}var kx={exports:{}},sy;function Tw(){return sy||(sy=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),Fp())})(st,function(r){return function(){var n=r,i=n.lib,o=i.Hasher,a=n.x64,s=a.Word,l=a.WordArray,c=n.algo;function u(){return s.create.apply(s,arguments)}var f=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],d=[];(function(){for(var p=0;p<80;p++)d[p]=u()})();var b=c.SHA512=o.extend({_doReset:function(){this._hash=new l.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(p,v){for(var w=this._hash.words,C=w[0],y=w[1],M=w[2],B=w[3],D=w[4],F=w[5],N=w[6],_=w[7],L=C.high,I=C.low,R=y.high,m=y.low,g=M.high,h=M.low,x=B.high,S=B.low,T=D.high,k=D.low,$=F.high,P=F.low,E=N.high,A=N.low,z=_.high,H=_.low,O=L,V=I,X=R,J=m,G=g,j=h,q=x,K=S,Z=T,te=k,Q=$,oe=P,me=E,se=A,ye=z,Re=H,we=0;we<80;we++){var He,Ue,Me=d[we];if(we<16)Ue=Me.high=p[v+we*2]|0,He=Me.low=p[v+we*2+1]|0;else{var Ze=d[we-15],Je=Ze.high,Ne=Ze.low,De=(Je>>>1|Ne<<31)^(Je>>>8|Ne<<24)^Je>>>7,de=(Ne>>>1|Je<<31)^(Ne>>>8|Je<<24)^(Ne>>>7|Je<<25),Ie=d[we-2],ot=Ie.high,lt=Ie.low,ge=(ot>>>19|lt<<13)^(ot<<3|lt>>>29)^ot>>>6,ze=(lt>>>19|ot<<13)^(lt<<3|ot>>>29)^(lt>>>6|ot<<26),le=d[we-7],xe=le.high,je=le.low,We=d[we-16],Fe=We.high,Qe=We.low;He=de+je,Ue=De+xe+(He>>>0>>0?1:0),He=He+ze,Ue=Ue+ge+(He>>>0>>0?1:0),He=He+Qe,Ue=Ue+Fe+(He>>>0>>0?1:0),Me.high=Ue,Me.low=He}var ut=Z&Q^~Z&me,Ge=te&oe^~te&se,ee=O&X^O&G^X&G,re=V&J^V&j^J&j,ne=(O>>>28|V<<4)^(O<<30|V>>>2)^(O<<25|V>>>7),pe=(V>>>28|O<<4)^(V<<30|O>>>2)^(V<<25|O>>>7),ke=(Z>>>14|te<<18)^(Z>>>18|te<<14)^(Z<<23|te>>>9),Te=(te>>>14|Z<<18)^(te>>>18|Z<<14)^(te<<23|Z>>>9),$e=f[we],Pe=$e.high,ce=$e.low,_e=Re+Te,Ve=ye+ke+(_e>>>0>>0?1:0),_e=_e+Ge,Ve=Ve+ut+(_e>>>0>>0?1:0),_e=_e+ce,Ve=Ve+Pe+(_e>>>0>>0?1:0),_e=_e+He,Ve=Ve+Ue+(_e>>>0>>0?1:0),Ce=pe+re,Xe=ne+ee+(Ce>>>0>>0?1:0);ye=me,Re=se,me=Q,se=oe,Q=Z,oe=te,te=K+_e|0,Z=q+Ve+(te>>>0>>0?1:0)|0,q=G,K=j,G=X,j=J,X=O,J=V,V=_e+Ce|0,O=Ve+Xe+(V>>>0<_e>>>0?1:0)|0}I=C.low=I+V,C.high=L+O+(I>>>0>>0?1:0),m=y.low=m+J,y.high=R+X+(m>>>0>>0?1:0),h=M.low=h+j,M.high=g+G+(h>>>0>>0?1:0),S=B.low=S+K,B.high=x+q+(S>>>0>>0?1:0),k=D.low=k+te,D.high=T+Z+(k>>>0>>0?1:0),P=F.low=P+oe,F.high=$+Q+(P>>>0>>0?1:0),A=N.low=A+se,N.high=E+me+(A>>>0>>0?1:0),H=_.low=H+Re,_.high=z+ye+(H>>>0>>0?1:0)},_doFinalize:function(){var p=this._data,v=p.words,w=this._nDataBytes*8,C=p.sigBytes*8;v[C>>>5]|=128<<24-C%32,v[(C+128>>>10<<5)+30]=Math.floor(w/4294967296),v[(C+128>>>10<<5)+31]=w,p.sigBytes=v.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var p=o.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});n.SHA512=o._createHelper(b),n.HmacSHA512=o._createHmacHelper(b)}(),r.SHA512})}(kx)),kx.exports}var _x={exports:{}},ly;function t$(){return ly||(ly=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),Fp(),Tw())})(st,function(r){return function(){var n=r,i=n.x64,o=i.Word,a=i.WordArray,s=n.algo,l=s.SHA512,c=s.SHA384=l.extend({_doReset:function(){this._hash=new a.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var u=l._doFinalize.call(this);return u.sigBytes-=16,u}});n.SHA384=l._createHelper(c),n.HmacSHA384=l._createHmacHelper(c)}(),r.SHA384})}(_x)),_x.exports}var Rx={exports:{}},cy;function r$(){return cy||(cy=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),Fp())})(st,function(r){return function(n){var i=r,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.x64,c=l.Word,u=i.algo,f=[],d=[],b=[];(function(){for(var w=1,C=0,y=0;y<24;y++){f[w+5*C]=(y+1)*(y+2)/2%64;var M=C%5,B=(2*w+3*C)%5;w=M,C=B}for(var w=0;w<5;w++)for(var C=0;C<5;C++)d[w+5*C]=C+(2*w+3*C)%5*5;for(var D=1,F=0;F<24;F++){for(var N=0,_=0,L=0;L<7;L++){if(D&1){var I=(1<>>24)&16711935|(D<<24|D>>>8)&4278255360,F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360;var N=y[B];N.high^=F,N.low^=D}for(var _=0;_<24;_++){for(var L=0;L<5;L++){for(var I=0,R=0,m=0;m<5;m++){var N=y[L+5*m];I^=N.high,R^=N.low}var g=p[L];g.high=I,g.low=R}for(var L=0;L<5;L++)for(var h=p[(L+4)%5],x=p[(L+1)%5],S=x.high,T=x.low,I=h.high^(S<<1|T>>>31),R=h.low^(T<<1|S>>>31),m=0;m<5;m++){var N=y[L+5*m];N.high^=I,N.low^=R}for(var k=1;k<25;k++){var I,R,N=y[k],$=N.high,P=N.low,E=f[k];E<32?(I=$<>>32-E,R=P<>>32-E):(I=P<>>64-E,R=$<>>64-E);var A=p[d[k]];A.high=I,A.low=R}var z=p[0],H=y[0];z.high=H.high,z.low=H.low;for(var L=0;L<5;L++)for(var m=0;m<5;m++){var k=L+5*m,N=y[k],O=p[k],V=p[(L+1)%5+5*m],X=p[(L+2)%5+5*m];N.high=O.high^~V.high&X.high,N.low=O.low^~V.low&X.low}var N=y[0],J=b[_];N.high^=J.high,N.low^=J.low}},_doFinalize:function(){var w=this._data,C=w.words;this._nDataBytes*8;var y=w.sigBytes*8,M=this.blockSize*32;C[y>>>5]|=1<<24-y%32,C[(n.ceil((y+1)/M)*M>>>5)-1]|=128,w.sigBytes=C.length*4,this._process();for(var B=this._state,D=this.cfg.outputLength/8,F=D/8,N=[],_=0;_>>24)&16711935|(I<<24|I>>>8)&4278255360,R=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,N.push(R),N.push(I)}return new a.init(N,D)},clone:function(){for(var w=s.clone.call(this),C=w._state=this._state.slice(0),y=0;y<25;y++)C[y]=C[y].clone();return w}});i.SHA3=s._createHelper(v),i.HmacSHA3=s._createHmacHelper(v)}(Math),r.SHA3})}(Rx)),Rx.exports}var Tx={exports:{}},uy;function n$(){return uy||(uy=1,function(e,t){(function(r,n){e.exports=n(Rt())})(st,function(r){/** @preserve - (c) 2012 by Cédric Mesnil. All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */return function(n){var i=r,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.algo,c=a.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=a.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),f=a.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=a.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),b=a.create([0,1518500249,1859775393,2400959708,2840853838]),p=a.create([1352829926,1548603684,1836072691,2053994217,0]),v=l.RIPEMD160=s.extend({_doReset:function(){this._hash=a.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(F,N){for(var _=0;_<16;_++){var L=N+_,I=F[L];F[L]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360}var R=this._hash.words,m=b.words,g=p.words,h=c.words,x=u.words,S=f.words,T=d.words,k,$,P,E,A,z,H,O,V,X;z=k=R[0],H=$=R[1],O=P=R[2],V=E=R[3],X=A=R[4];for(var J,_=0;_<80;_+=1)J=k+F[N+h[_]]|0,_<16?J+=w($,P,E)+m[0]:_<32?J+=C($,P,E)+m[1]:_<48?J+=y($,P,E)+m[2]:_<64?J+=M($,P,E)+m[3]:J+=B($,P,E)+m[4],J=J|0,J=D(J,S[_]),J=J+A|0,k=A,A=E,E=D(P,10),P=$,$=J,J=z+F[N+x[_]]|0,_<16?J+=B(H,O,V)+g[0]:_<32?J+=M(H,O,V)+g[1]:_<48?J+=y(H,O,V)+g[2]:_<64?J+=C(H,O,V)+g[3]:J+=w(H,O,V)+g[4],J=J|0,J=D(J,T[_]),J=J+X|0,z=X,X=V,V=D(O,10),O=H,H=J;J=R[1]+P+V|0,R[1]=R[2]+E+X|0,R[2]=R[3]+A+z|0,R[3]=R[4]+k+H|0,R[4]=R[0]+$+O|0,R[0]=J},_doFinalize:function(){var F=this._data,N=F.words,_=this._nDataBytes*8,L=F.sigBytes*8;N[L>>>5]|=128<<24-L%32,N[(L+64>>>9<<4)+14]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,F.sigBytes=(N.length+1)*4,this._process();for(var I=this._hash,R=I.words,m=0;m<5;m++){var g=R[m];R[m]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360}return I},clone:function(){var F=s.clone.call(this);return F._hash=this._hash.clone(),F}});function w(F,N,_){return F^N^_}function C(F,N,_){return F&N|~F&_}function y(F,N,_){return(F|~N)^_}function M(F,N,_){return F&_|N&~_}function B(F,N,_){return F^(N|~_)}function D(F,N){return F<>>32-N}i.RIPEMD160=s._createHelper(v),i.HmacRIPEMD160=s._createHmacHelper(v)}(),r.RIPEMD160})}(Tx)),Tx.exports}var $x={exports:{}},fy;function V2(){return fy||(fy=1,function(e,t){(function(r,n){e.exports=n(Rt())})(st,function(r){(function(){var n=r,i=n.lib,o=i.Base,a=n.enc,s=a.Utf8,l=n.algo;l.HMAC=o.extend({init:function(c,u){c=this._hasher=new c.init,typeof u=="string"&&(u=s.parse(u));var f=c.blockSize,d=f*4;u.sigBytes>d&&(u=c.finalize(u)),u.clamp();for(var b=this._oKey=u.clone(),p=this._iKey=u.clone(),v=b.words,w=p.words,C=0;C>>2]&255;I.sigBytes-=R}};o.BlockCipher=b.extend({cfg:b.cfg.extend({mode:w,padding:y}),reset:function(){var I;b.reset.call(this);var R=this.cfg,m=R.iv,g=R.mode;this._xformMode==this._ENC_XFORM_MODE?I=g.createEncryptor:(I=g.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==I?this._mode.init(this,m&&m.words):(this._mode=I.call(g,this,m&&m.words),this._mode.__creator=I)},_doProcessBlock:function(I,R){this._mode.processBlock(I,R)},_doFinalize:function(){var I,R=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(R.pad(this._data,this.blockSize),I=this._process(!0)):(I=this._process(!0),R.unpad(I)),I},blockSize:128/32});var M=o.CipherParams=a.extend({init:function(I){this.mixIn(I)},toString:function(I){return(I||this.formatter).stringify(this)}}),B=i.format={},D=B.OpenSSL={stringify:function(I){var R,m=I.ciphertext,g=I.salt;return g?R=s.create([1398893684,1701076831]).concat(g).concat(m):R=m,R.toString(u)},parse:function(I){var R,m=u.parse(I),g=m.words;return g[0]==1398893684&&g[1]==1701076831&&(R=s.create(g.slice(2,4)),g.splice(0,4),m.sigBytes-=16),M.create({ciphertext:m,salt:R})}},F=o.SerializableCipher=a.extend({cfg:a.extend({format:D}),encrypt:function(I,R,m,g){g=this.cfg.extend(g);var h=I.createEncryptor(m,g),x=h.finalize(R),S=h.cfg;return M.create({ciphertext:x,key:m,iv:S.iv,algorithm:I,mode:S.mode,padding:S.padding,blockSize:I.blockSize,formatter:g.format})},decrypt:function(I,R,m,g){g=this.cfg.extend(g),R=this._parse(R,g.format);var h=I.createDecryptor(m,g).finalize(R.ciphertext);return h},_parse:function(I,R){return typeof I=="string"?R.parse(I,this):I}}),N=i.kdf={},_=N.OpenSSL={execute:function(I,R,m,g,h){if(g||(g=s.random(64/8)),h)var x=d.create({keySize:R+m,hasher:h}).compute(I,g);else var x=d.create({keySize:R+m}).compute(I,g);var S=s.create(x.words.slice(R),m*4);return x.sigBytes=R*4,M.create({key:x,iv:S,salt:g})}},L=o.PasswordBasedCipher=F.extend({cfg:F.cfg.extend({kdf:_}),encrypt:function(I,R,m,g){g=this.cfg.extend(g);var h=g.kdf.execute(m,I.keySize,I.ivSize,g.salt,g.hasher);g.iv=h.iv;var x=F.encrypt.call(this,I,R,h.key,g);return x.mixIn(h),x},decrypt:function(I,R,m,g){g=this.cfg.extend(g),R=this._parse(R,g.format);var h=g.kdf.execute(m,I.keySize,I.ivSize,R.salt,g.hasher);g.iv=h.iv;var x=F.decrypt.call(this,I,R,h.key,g);return x}})}()})}(Fx)),Fx.exports}var Ox={exports:{}},xy;function o$(){return xy||(xy=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),zr())})(st,function(r){return r.mode.CFB=function(){var n=r.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(o,a){var s=this._cipher,l=s.blockSize;i.call(this,o,a,l,s),this._prevBlock=o.slice(a,a+l)}}),n.Decryptor=n.extend({processBlock:function(o,a){var s=this._cipher,l=s.blockSize,c=o.slice(a,a+l);i.call(this,o,a,l,s),this._prevBlock=c}});function i(o,a,s,l){var c,u=this._iv;u?(c=u.slice(0),this._iv=void 0):c=this._prevBlock,l.encryptBlock(c,0);for(var f=0;f>24&255)===255){var l=s>>16&255,c=s>>8&255,u=s&255;l===255?(l=0,c===255?(c=0,u===255?u=0:++u):++c):++l,s=0,s+=l<<16,s+=c<<8,s+=u}else s+=1<<24;return s}function o(s){return(s[0]=i(s[0]))===0&&(s[1]=i(s[1])),s}var a=n.Encryptor=n.extend({processBlock:function(s,l){var c=this._cipher,u=c.blockSize,f=this._iv,d=this._counter;f&&(d=this._counter=f.slice(0),this._iv=void 0),o(d);var b=d.slice(0);c.encryptBlock(b,0);for(var p=0;p>>2]|=s<<24-l%4*8,n.sigBytes+=s},unpad:function(n){var i=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=i}},r.pad.Ansix923})}(jx)),jx.exports}var Ux={exports:{}},wy;function f$(){return wy||(wy=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),zr())})(st,function(r){return r.pad.Iso10126={pad:function(n,i){var o=i*4,a=o-n.sigBytes%o;n.concat(r.lib.WordArray.random(a-1)).concat(r.lib.WordArray.create([a<<24],1))},unpad:function(n){var i=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=i}},r.pad.Iso10126})}(Ux)),Ux.exports}var Hx={exports:{}},Sy;function d$(){return Sy||(Sy=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),zr())})(st,function(r){return r.pad.Iso97971={pad:function(n,i){n.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(n,i)},unpad:function(n){r.pad.ZeroPadding.unpad(n),n.sigBytes--}},r.pad.Iso97971})}(Hx)),Hx.exports}var Wx={exports:{}},Cy;function h$(){return Cy||(Cy=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),zr())})(st,function(r){return r.pad.ZeroPadding={pad:function(n,i){var o=i*4;n.clamp(),n.sigBytes+=o-(n.sigBytes%o||o)},unpad:function(n){for(var i=n.words,o=n.sigBytes-1,o=n.sigBytes-1;o>=0;o--)if(i[o>>>2]>>>24-o%4*8&255){n.sigBytes=o+1;break}}},r.pad.ZeroPadding})}(Wx)),Wx.exports}var Vx={exports:{}},Ey;function p$(){return Ey||(Ey=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),zr())})(st,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(Vx)),Vx.exports}var qx={exports:{}},My;function x$(){return My||(My=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),zr())})(st,function(r){return function(n){var i=r,o=i.lib,a=o.CipherParams,s=i.enc,l=s.Hex,c=i.format;c.Hex={stringify:function(u){return u.ciphertext.toString(l)},parse:function(u){var f=l.parse(u);return a.create({ciphertext:f})}}}(),r.format.Hex})}(qx)),qx.exports}var Kx={exports:{}},Py;function m$(){return Py||(Py=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),fl(),os(),as(),zr())})(st,function(r){return function(){var n=r,i=n.lib,o=i.BlockCipher,a=n.algo,s=[],l=[],c=[],u=[],f=[],d=[],b=[],p=[],v=[],w=[];(function(){for(var M=[],B=0;B<256;B++)B<128?M[B]=B<<1:M[B]=B<<1^283;for(var D=0,F=0,B=0;B<256;B++){var N=F^F<<1^F<<2^F<<3^F<<4;N=N>>>8^N&255^99,s[D]=N,l[N]=D;var _=M[D],L=M[_],I=M[L],R=M[N]*257^N*16843008;c[D]=R<<24|R>>>8,u[D]=R<<16|R>>>16,f[D]=R<<8|R>>>24,d[D]=R;var R=I*16843009^L*65537^_*257^D*16843008;b[N]=R<<24|R>>>8,p[N]=R<<16|R>>>16,v[N]=R<<8|R>>>24,w[N]=R,D?(D=_^M[M[M[I^_]]],F^=M[M[F]]):D=F=1}})();var C=[0,1,2,4,8,16,32,64,128,27,54],y=a.AES=o.extend({_doReset:function(){var M;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var B=this._keyPriorReset=this._key,D=B.words,F=B.sigBytes/4,N=this._nRounds=F+6,_=(N+1)*4,L=this._keySchedule=[],I=0;I<_;I++)I6&&I%F==4&&(M=s[M>>>24]<<24|s[M>>>16&255]<<16|s[M>>>8&255]<<8|s[M&255]):(M=M<<8|M>>>24,M=s[M>>>24]<<24|s[M>>>16&255]<<16|s[M>>>8&255]<<8|s[M&255],M^=C[I/F|0]<<24),L[I]=L[I-F]^M);for(var R=this._invKeySchedule=[],m=0;m<_;m++){var I=_-m;if(m%4)var M=L[I];else var M=L[I-4];m<4||I<=4?R[m]=M:R[m]=b[s[M>>>24]]^p[s[M>>>16&255]]^v[s[M>>>8&255]]^w[s[M&255]]}}},encryptBlock:function(M,B){this._doCryptBlock(M,B,this._keySchedule,c,u,f,d,s)},decryptBlock:function(M,B){var D=M[B+1];M[B+1]=M[B+3],M[B+3]=D,this._doCryptBlock(M,B,this._invKeySchedule,b,p,v,w,l);var D=M[B+1];M[B+1]=M[B+3],M[B+3]=D},_doCryptBlock:function(M,B,D,F,N,_,L,I){for(var R=this._nRounds,m=M[B]^D[0],g=M[B+1]^D[1],h=M[B+2]^D[2],x=M[B+3]^D[3],S=4,T=1;T>>24]^N[g>>>16&255]^_[h>>>8&255]^L[x&255]^D[S++],$=F[g>>>24]^N[h>>>16&255]^_[x>>>8&255]^L[m&255]^D[S++],P=F[h>>>24]^N[x>>>16&255]^_[m>>>8&255]^L[g&255]^D[S++],E=F[x>>>24]^N[m>>>16&255]^_[g>>>8&255]^L[h&255]^D[S++];m=k,g=$,h=P,x=E}var k=(I[m>>>24]<<24|I[g>>>16&255]<<16|I[h>>>8&255]<<8|I[x&255])^D[S++],$=(I[g>>>24]<<24|I[h>>>16&255]<<16|I[x>>>8&255]<<8|I[m&255])^D[S++],P=(I[h>>>24]<<24|I[x>>>16&255]<<16|I[m>>>8&255]<<8|I[g&255])^D[S++],E=(I[x>>>24]<<24|I[m>>>16&255]<<16|I[g>>>8&255]<<8|I[h&255])^D[S++];M[B]=k,M[B+1]=$,M[B+2]=P,M[B+3]=E},keySize:256/32});n.AES=o._createHelper(y)}(),r.AES})}(Kx)),Kx.exports}var Gx={exports:{}},Ay;function g$(){return Ay||(Ay=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),fl(),os(),as(),zr())})(st,function(r){return function(){var n=r,i=n.lib,o=i.WordArray,a=i.BlockCipher,s=n.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],b=s.DES=a.extend({_doReset:function(){for(var C=this._key,y=C.words,M=[],B=0;B<56;B++){var D=l[B]-1;M[B]=y[D>>>5]>>>31-D%32&1}for(var F=this._subKeys=[],N=0;N<16;N++){for(var _=F[N]=[],L=u[N],B=0;B<24;B++)_[B/6|0]|=M[(c[B]-1+L)%28]<<31-B%6,_[4+(B/6|0)]|=M[28+(c[B+24]-1+L)%28]<<31-B%6;_[0]=_[0]<<1|_[0]>>>31;for(var B=1;B<7;B++)_[B]=_[B]>>>(B-1)*4+3;_[7]=_[7]<<5|_[7]>>>27}for(var I=this._invSubKeys=[],B=0;B<16;B++)I[B]=F[15-B]},encryptBlock:function(C,y){this._doCryptBlock(C,y,this._subKeys)},decryptBlock:function(C,y){this._doCryptBlock(C,y,this._invSubKeys)},_doCryptBlock:function(C,y,M){this._lBlock=C[y],this._rBlock=C[y+1],p.call(this,4,252645135),p.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),p.call(this,1,1431655765);for(var B=0;B<16;B++){for(var D=M[B],F=this._lBlock,N=this._rBlock,_=0,L=0;L<8;L++)_|=f[L][((N^D[L])&d[L])>>>0];this._lBlock=N,this._rBlock=F^_}var I=this._lBlock;this._lBlock=this._rBlock,this._rBlock=I,p.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),C[y]=this._lBlock,C[y+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(C,y){var M=(this._lBlock>>>C^this._rBlock)&y;this._rBlock^=M,this._lBlock^=M<>>C^this._lBlock)&y;this._lBlock^=M,this._rBlock^=M<192.");var M=y.slice(0,2),B=y.length<4?y.slice(0,2):y.slice(2,4),D=y.length<6?y.slice(0,2):y.slice(4,6);this._des1=b.createEncryptor(o.create(M)),this._des2=b.createEncryptor(o.create(B)),this._des3=b.createEncryptor(o.create(D))},encryptBlock:function(C,y){this._des1.encryptBlock(C,y),this._des2.decryptBlock(C,y),this._des3.encryptBlock(C,y)},decryptBlock:function(C,y){this._des3.decryptBlock(C,y),this._des2.encryptBlock(C,y),this._des1.decryptBlock(C,y)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=a._createHelper(w)}(),r.TripleDES})}(Gx)),Gx.exports}var Yx={exports:{}},ky;function v$(){return ky||(ky=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),fl(),os(),as(),zr())})(st,function(r){return function(){var n=r,i=n.lib,o=i.StreamCipher,a=n.algo,s=a.RC4=o.extend({_doReset:function(){for(var u=this._key,f=u.words,d=u.sigBytes,b=this._S=[],p=0;p<256;p++)b[p]=p;for(var p=0,v=0;p<256;p++){var w=p%d,C=f[w>>>2]>>>24-w%4*8&255;v=(v+b[p]+C)%256;var y=b[p];b[p]=b[v],b[v]=y}this._i=this._j=0},_doProcessBlock:function(u,f){u[f]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var u=this._S,f=this._i,d=this._j,b=0,p=0;p<4;p++){f=(f+1)%256,d=(d+u[f])%256;var v=u[f];u[f]=u[d],u[d]=v,b|=u[(u[f]+u[d])%256]<<24-p*8}return this._i=f,this._j=d,b}n.RC4=o._createHelper(s);var c=a.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)l.call(this)}});n.RC4Drop=o._createHelper(c)}(),r.RC4})}(Yx)),Yx.exports}var Xx={exports:{}},_y;function b$(){return _y||(_y=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),fl(),os(),as(),zr())})(st,function(r){return function(){var n=r,i=n.lib,o=i.StreamCipher,a=n.algo,s=[],l=[],c=[],u=a.Rabbit=o.extend({_doReset:function(){for(var d=this._key.words,b=this.cfg.iv,p=0;p<4;p++)d[p]=(d[p]<<8|d[p]>>>24)&16711935|(d[p]<<24|d[p]>>>8)&4278255360;var v=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],w=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var p=0;p<4;p++)f.call(this);for(var p=0;p<8;p++)w[p]^=v[p+4&7];if(b){var C=b.words,y=C[0],M=C[1],B=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,D=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,F=B>>>16|D&4294901760,N=D<<16|B&65535;w[0]^=B,w[1]^=F,w[2]^=D,w[3]^=N,w[4]^=B,w[5]^=F,w[6]^=D,w[7]^=N;for(var p=0;p<4;p++)f.call(this)}},_doProcessBlock:function(d,b){var p=this._X;f.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var v=0;v<4;v++)s[v]=(s[v]<<8|s[v]>>>24)&16711935|(s[v]<<24|s[v]>>>8)&4278255360,d[b+v]^=s[v]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,b=this._C,p=0;p<8;p++)l[p]=b[p];b[0]=b[0]+1295307597+this._b|0,b[1]=b[1]+3545052371+(b[0]>>>0>>0?1:0)|0,b[2]=b[2]+886263092+(b[1]>>>0>>0?1:0)|0,b[3]=b[3]+1295307597+(b[2]>>>0>>0?1:0)|0,b[4]=b[4]+3545052371+(b[3]>>>0>>0?1:0)|0,b[5]=b[5]+886263092+(b[4]>>>0>>0?1:0)|0,b[6]=b[6]+1295307597+(b[5]>>>0>>0?1:0)|0,b[7]=b[7]+3545052371+(b[6]>>>0>>0?1:0)|0,this._b=b[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var v=d[p]+b[p],w=v&65535,C=v>>>16,y=((w*w>>>17)+w*C>>>15)+C*C,M=((v&4294901760)*v|0)+((v&65535)*v|0);c[p]=y^M}d[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,d[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,d[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,d[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,d[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,d[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,d[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,d[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}n.Rabbit=o._createHelper(u)}(),r.Rabbit})}(Xx)),Xx.exports}var Jx={exports:{}},Ry;function y$(){return Ry||(Ry=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),fl(),os(),as(),zr())})(st,function(r){return function(){var n=r,i=n.lib,o=i.StreamCipher,a=n.algo,s=[],l=[],c=[],u=a.RabbitLegacy=o.extend({_doReset:function(){var d=this._key.words,b=this.cfg.iv,p=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],v=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var w=0;w<4;w++)f.call(this);for(var w=0;w<8;w++)v[w]^=p[w+4&7];if(b){var C=b.words,y=C[0],M=C[1],B=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,D=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,F=B>>>16|D&4294901760,N=D<<16|B&65535;v[0]^=B,v[1]^=F,v[2]^=D,v[3]^=N,v[4]^=B,v[5]^=F,v[6]^=D,v[7]^=N;for(var w=0;w<4;w++)f.call(this)}},_doProcessBlock:function(d,b){var p=this._X;f.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var v=0;v<4;v++)s[v]=(s[v]<<8|s[v]>>>24)&16711935|(s[v]<<24|s[v]>>>8)&4278255360,d[b+v]^=s[v]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,b=this._C,p=0;p<8;p++)l[p]=b[p];b[0]=b[0]+1295307597+this._b|0,b[1]=b[1]+3545052371+(b[0]>>>0>>0?1:0)|0,b[2]=b[2]+886263092+(b[1]>>>0>>0?1:0)|0,b[3]=b[3]+1295307597+(b[2]>>>0>>0?1:0)|0,b[4]=b[4]+3545052371+(b[3]>>>0>>0?1:0)|0,b[5]=b[5]+886263092+(b[4]>>>0>>0?1:0)|0,b[6]=b[6]+1295307597+(b[5]>>>0>>0?1:0)|0,b[7]=b[7]+3545052371+(b[6]>>>0>>0?1:0)|0,this._b=b[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var v=d[p]+b[p],w=v&65535,C=v>>>16,y=((w*w>>>17)+w*C>>>15)+C*C,M=((v&4294901760)*v|0)+((v&65535)*v|0);c[p]=y^M}d[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,d[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,d[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,d[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,d[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,d[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,d[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,d[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}n.RabbitLegacy=o._createHelper(u)}(),r.RabbitLegacy})}(Jx)),Jx.exports}var Zx={exports:{}},Ty;function w$(){return Ty||(Ty=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),fl(),os(),as(),zr())})(st,function(r){return function(){var n=r,i=n.lib,o=i.BlockCipher,a=n.algo;const s=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var u={pbox:[],sbox:[]};function f(w,C){let y=C>>24&255,M=C>>16&255,B=C>>8&255,D=C&255,F=w.sbox[0][y]+w.sbox[1][M];return F=F^w.sbox[2][B],F=F+w.sbox[3][D],F}function d(w,C,y){let M=C,B=y,D;for(let F=0;F1;--F)M=M^w.pbox[F],B=f(w,M)^B,D=M,M=B,B=D;return D=M,M=B,B=D,B=B^w.pbox[1],M=M^w.pbox[0],{left:M,right:B}}function p(w,C,y){for(let N=0;N<4;N++){w.sbox[N]=[];for(let _=0;_<256;_++)w.sbox[N][_]=c[N][_]}let M=0;for(let N=0;N=y&&(M=0);let B=0,D=0,F=0;for(let N=0;Nt?t:r}function lh(e,t,r){return rt?t:r}function q2(e){return e=e%360,e<0&&(e=e+360),e}function _$(e,t){return q2(t-e)<=180?1:-1}function R$(e,t){return 180-Math.abs(Math.abs(e-t)-180)}function Og(e,t){const r=e[0]*t[0][0]+e[1]*t[0][1]+e[2]*t[0][2],n=e[0]*t[1][0]+e[1]*t[1][1]+e[2]*t[1][2],i=e[0]*t[2][0]+e[1]*t[2][1]+e[2]*t[2][2];return[r,n,i]}/** - * @license - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const T$=[[.41233895,.35762064,.18051042],[.2126,.7152,.0722],[.01932141,.11916382,.95034478]],$$=[[3.2413774792388685,-1.5376652402851851,-.49885366846268053],[-.9691452513005321,1.8758853451067872,.04156585616912061],[.05562093689691305,-.20395524564742123,1.0571799111220335]],B$=[95.047,100,108.883];function K2(e,t,r){return(255<<24|(e&255)<<16|(t&255)<<8|r&255)>>>0}function By(e){const t=Us(e[0]),r=Us(e[1]),n=Us(e[2]);return K2(t,r,n)}function $w(e){return e>>16&255}function Bw(e){return e>>8&255}function Iw(e){return e&255}function I$(e,t,r){const n=$$,i=n[0][0]*e+n[0][1]*t+n[0][2]*r,o=n[1][0]*e+n[1][1]*t+n[1][2]*r,a=n[2][0]*e+n[2][1]*t+n[2][2]*r,s=Us(i),l=Us(o),c=Us(a);return K2(s,l,c)}function F$(e){const t=oc($w(e)),r=oc(Bw(e)),n=oc(Iw(e));return Og([t,r,n],T$)}function O$(e){const t=Fa(e),r=Us(t);return K2(r,r,r)}function Dg(e){const t=F$(e)[1];return 116*Fw(t/100)-16}function Fa(e){return 100*L$((e+16)/116)}function Lg(e){return Fw(e/100)*116-16}function oc(e){const t=e/255;return t<=.040449936?t/12.92*100:Math.pow((t+.055)/1.055,2.4)*100}function Us(e){const t=e/100;let r=0;return t<=.0031308?r=t*12.92:r=1.055*Math.pow(t,1/2.4)-.055,k$(0,255,Math.round(r*255))}function D$(){return B$}function Fw(e){const t=.008856451679035631,r=24389/27;return e>t?Math.pow(e,1/3):(r*e+16)/116}function L$(e){const t=.008856451679035631,r=24389/27,n=e*e*e;return n>t?n:(116*e-16)/r}/** - * @license - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class no{static make(t=D$(),r=200/Math.PI*Fa(50)/100,n=50,i=2,o=!1){const a=t,s=a[0]*.401288+a[1]*.650173+a[2]*-.051461,l=a[0]*-.250268+a[1]*1.204414+a[2]*.045854,c=a[0]*-.002079+a[1]*.048952+a[2]*.953127,u=.8+i/10,f=u>=.9?nf(.59,.69,(u-.9)*10):nf(.525,.59,(u-.8)*10);let d=o?1:u*(1-1/3.6*Math.exp((-r-42)/92));d=d>1?1:d<0?0:d;const b=u,p=[d*(100/s)+1-d,d*(100/l)+1-d,d*(100/c)+1-d],v=1/(5*r+1),w=v*v*v*v,C=1-w,y=w*r+.1*C*C*Math.cbrt(5*r),M=Fa(n)/t[1],B=1.48+Math.sqrt(M),D=.725/Math.pow(M,.2),F=D,N=[Math.pow(y*p[0]*s/100,.42),Math.pow(y*p[1]*l/100,.42),Math.pow(y*p[2]*c/100,.42)],_=[400*N[0]/(N[0]+27.13),400*N[1]/(N[1]+27.13),400*N[2]/(N[2]+27.13)],L=(2*_[0]+_[1]+.05*_[2])*D;return new no(M,L,D,F,f,b,p,y,Math.pow(y,.25),B)}constructor(t,r,n,i,o,a,s,l,c,u){this.n=t,this.aw=r,this.nbb=n,this.ncb=i,this.c=o,this.nc=a,this.rgbD=s,this.fl=l,this.fLRoot=c,this.z=u}}no.DEFAULT=no.make();/** - * @license - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Ir{constructor(t,r,n,i,o,a,s,l,c){this.hue=t,this.chroma=r,this.j=n,this.q=i,this.m=o,this.s=a,this.jstar=s,this.astar=l,this.bstar=c}distance(t){const r=this.jstar-t.jstar,n=this.astar-t.astar,i=this.bstar-t.bstar,o=Math.sqrt(r*r+n*n+i*i);return 1.41*Math.pow(o,.63)}static fromInt(t){return Ir.fromIntInViewingConditions(t,no.DEFAULT)}static fromIntInViewingConditions(t,r){const n=(t&16711680)>>16,i=(t&65280)>>8,o=t&255,a=oc(n),s=oc(i),l=oc(o),c=.41233895*a+.35762064*s+.18051042*l,u=.2126*a+.7152*s+.0722*l,f=.01932141*a+.11916382*s+.95034478*l,d=.401288*c+.650173*u-.051461*f,b=-.250268*c+1.204414*u+.045854*f,p=-.002079*c+.048952*u+.953127*f,v=r.rgbD[0]*d,w=r.rgbD[1]*b,C=r.rgbD[2]*p,y=Math.pow(r.fl*Math.abs(v)/100,.42),M=Math.pow(r.fl*Math.abs(w)/100,.42),B=Math.pow(r.fl*Math.abs(C)/100,.42),D=Pn(v)*400*y/(y+27.13),F=Pn(w)*400*M/(M+27.13),N=Pn(C)*400*B/(B+27.13),_=(11*D+-12*F+N)/11,L=(D+F-2*N)/9,I=(20*D+20*F+21*N)/20,R=(40*D+20*F+N)/20,g=Math.atan2(L,_)*180/Math.PI,h=g<0?g+360:g>=360?g-360:g,x=h*Math.PI/180,S=R*r.nbb,T=100*Math.pow(S/r.aw,r.c*r.z),k=4/r.c*Math.sqrt(T/100)*(r.aw+4)*r.fLRoot,$=h<20.14?h+360:h,P=.25*(Math.cos($*Math.PI/180+2)+3.8),A=5e4/13*P*r.nc*r.ncb*Math.sqrt(_*_+L*L)/(I+.305),z=Math.pow(A,.9)*Math.pow(1.64-Math.pow(.29,r.n),.73),H=z*Math.sqrt(T/100),O=H*r.fLRoot,V=50*Math.sqrt(z*r.c/(r.aw+4)),X=(1+100*.007)*T/(1+.007*T),J=1/.0228*Math.log(1+.0228*O),G=J*Math.cos(x),j=J*Math.sin(x);return new Ir(h,H,T,k,O,V,X,G,j)}static fromJch(t,r,n){return Ir.fromJchInViewingConditions(t,r,n,no.DEFAULT)}static fromJchInViewingConditions(t,r,n,i){const o=4/i.c*Math.sqrt(t/100)*(i.aw+4)*i.fLRoot,a=r*i.fLRoot,s=r/Math.sqrt(t/100),l=50*Math.sqrt(s*i.c/(i.aw+4)),c=n*Math.PI/180,u=(1+100*.007)*t/(1+.007*t),f=1/.0228*Math.log(1+.0228*a),d=f*Math.cos(c),b=f*Math.sin(c);return new Ir(n,r,t,o,a,l,u,d,b)}static fromUcs(t,r,n){return Ir.fromUcsInViewingConditions(t,r,n,no.DEFAULT)}static fromUcsInViewingConditions(t,r,n,i){const o=r,a=n,s=Math.sqrt(o*o+a*a),c=(Math.exp(s*.0228)-1)/.0228/i.fLRoot;let u=Math.atan2(a,o)*(180/Math.PI);u<0&&(u+=360);const f=t/(1-(t-100)*.007);return Ir.fromJchInViewingConditions(f,c,u,i)}toInt(){return this.viewed(no.DEFAULT)}viewed(t){const r=this.chroma===0||this.j===0?0:this.chroma/Math.sqrt(this.j/100),n=Math.pow(r/Math.pow(1.64-Math.pow(.29,t.n),.73),1/.9),i=this.hue*Math.PI/180,o=.25*(Math.cos(i+2)+3.8),a=t.aw*Math.pow(this.j/100,1/t.c/t.z),s=o*(5e4/13)*t.nc*t.ncb,l=a/t.nbb,c=Math.sin(i),u=Math.cos(i),f=23*(l+.305)*n/(23*s+11*n*u+108*n*c),d=f*u,b=f*c,p=(460*l+451*d+288*b)/1403,v=(460*l-891*d-261*b)/1403,w=(460*l-220*d-6300*b)/1403,C=Math.max(0,27.13*Math.abs(p)/(400-Math.abs(p))),y=Pn(p)*(100/t.fl)*Math.pow(C,1/.42),M=Math.max(0,27.13*Math.abs(v)/(400-Math.abs(v))),B=Pn(v)*(100/t.fl)*Math.pow(M,1/.42),D=Math.max(0,27.13*Math.abs(w)/(400-Math.abs(w))),F=Pn(w)*(100/t.fl)*Math.pow(D,1/.42),N=y/t.rgbD[0],_=B/t.rgbD[1],L=F/t.rgbD[2],I=1.86206786*N-1.01125463*_+.14918677*L,R=.38752654*N+.62144744*_-.00897398*L,m=-.0158415*N-.03412294*_+1.04996444*L;return I$(I,R,m)}static fromXyzInViewingConditions(t,r,n,i){const o=.401288*t+.650173*r-.051461*n,a=-.250268*t+1.204414*r+.045854*n,s=-.002079*t+.048952*r+.953127*n,l=i.rgbD[0]*o,c=i.rgbD[1]*a,u=i.rgbD[2]*s,f=Math.pow(i.fl*Math.abs(l)/100,.42),d=Math.pow(i.fl*Math.abs(c)/100,.42),b=Math.pow(i.fl*Math.abs(u)/100,.42),p=Pn(l)*400*f/(f+27.13),v=Pn(c)*400*d/(d+27.13),w=Pn(u)*400*b/(b+27.13),C=(11*p+-12*v+w)/11,y=(p+v-2*w)/9,M=(20*p+20*v+21*w)/20,B=(40*p+20*v+w)/20,F=Math.atan2(y,C)*180/Math.PI,N=F<0?F+360:F>=360?F-360:F,_=N*Math.PI/180,L=B*i.nbb,I=100*Math.pow(L/i.aw,i.c*i.z),R=4/i.c*Math.sqrt(I/100)*(i.aw+4)*i.fLRoot,m=N<20.14?N+360:N,g=1/4*(Math.cos(m*Math.PI/180+2)+3.8),x=5e4/13*g*i.nc*i.ncb*Math.sqrt(C*C+y*y)/(M+.305),S=Math.pow(x,.9)*Math.pow(1.64-Math.pow(.29,i.n),.73),T=S*Math.sqrt(I/100),k=T*i.fLRoot,$=50*Math.sqrt(S*i.c/(i.aw+4)),P=(1+100*.007)*I/(1+.007*I),E=Math.log(1+.0228*k)/.0228,A=E*Math.cos(_),z=E*Math.sin(_);return new Ir(N,T,I,R,k,$,P,A,z)}xyzInViewingConditions(t){const r=this.chroma===0||this.j===0?0:this.chroma/Math.sqrt(this.j/100),n=Math.pow(r/Math.pow(1.64-Math.pow(.29,t.n),.73),1/.9),i=this.hue*Math.PI/180,o=.25*(Math.cos(i+2)+3.8),a=t.aw*Math.pow(this.j/100,1/t.c/t.z),s=o*(5e4/13)*t.nc*t.ncb,l=a/t.nbb,c=Math.sin(i),u=Math.cos(i),f=23*(l+.305)*n/(23*s+11*n*u+108*n*c),d=f*u,b=f*c,p=(460*l+451*d+288*b)/1403,v=(460*l-891*d-261*b)/1403,w=(460*l-220*d-6300*b)/1403,C=Math.max(0,27.13*Math.abs(p)/(400-Math.abs(p))),y=Pn(p)*(100/t.fl)*Math.pow(C,1/.42),M=Math.max(0,27.13*Math.abs(v)/(400-Math.abs(v))),B=Pn(v)*(100/t.fl)*Math.pow(M,1/.42),D=Math.max(0,27.13*Math.abs(w)/(400-Math.abs(w))),F=Pn(w)*(100/t.fl)*Math.pow(D,1/.42),N=y/t.rgbD[0],_=B/t.rgbD[1],L=F/t.rgbD[2],I=1.86206786*N-1.01125463*_+.14918677*L,R=.38752654*N+.62144744*_-.00897398*L,m=-.0158415*N-.03412294*_+1.04996444*L;return[I,R,m]}}/** - * @license - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class xt{static sanitizeRadians(t){return(t+Math.PI*8)%(Math.PI*2)}static trueDelinearized(t){const r=t/100;let n=0;return r<=.0031308?n=r*12.92:n=1.055*Math.pow(r,1/2.4)-.055,n*255}static chromaticAdaptation(t){const r=Math.pow(Math.abs(t),.42);return Pn(t)*400*r/(r+27.13)}static hueOf(t){const r=Og(t,xt.SCALED_DISCOUNT_FROM_LINRGB),n=xt.chromaticAdaptation(r[0]),i=xt.chromaticAdaptation(r[1]),o=xt.chromaticAdaptation(r[2]),a=(11*n+-12*i+o)/11,s=(n+i-2*o)/9;return Math.atan2(s,a)}static areInCyclicOrder(t,r,n){const i=xt.sanitizeRadians(r-t),o=xt.sanitizeRadians(n-t);return i100.01||I[1]>100.01||I[2]>100.01?0:By(I);i=i-(h-n)*i/(2*h)}return 0}static solveToInt(t,r,n){if(r<1e-4||n<1e-4||n>99.9999)return O$(n);t=q2(t);const i=t/180*Math.PI,o=Fa(n),a=xt.findResultByJ(i,r,o);if(a!==0)return a;const s=xt.bisectToLimit(o,i);return By(s)}static solveToCam(t,r,n){return Ir.fromInt(xt.solveToInt(t,r,n))}}xt.SCALED_DISCOUNT_FROM_LINRGB=[[.001200833568784504,.002389694492170889,.0002795742885861124],[.0005891086651375999,.0029785502573438758,.0003270666104008398],[.00010146692491640572,.0005364214359186694,.0032979401770712076]];xt.LINRGB_FROM_SCALED_DISCOUNT=[[1373.2198709594231,-1100.4251190754821,-7.278681089101213],[-271.815969077903,559.6580465940733,-32.46047482791194],[1.9622899599665666,-57.173814538844006,308.7233197812385]];xt.Y_FROM_LINRGB=[.2126,.7152,.0722];xt.CRITICAL_PLANES=[.015176349177441876,.045529047532325624,.07588174588720938,.10623444424209313,.13658714259697685,.16693984095186062,.19729253930674434,.2276452376616281,.2579979360165119,.28835063437139563,.3188300904430532,.350925934958123,.3848314933096426,.42057480301049466,.458183274052838,.4976837250274023,.5391024159806381,.5824650784040898,.6277969426914107,.6751227633498623,.7244668422128921,.775853049866786,.829304845476233,.8848452951698498,.942497089126609,1.0022825574869039,1.0642236851973577,1.1283421258858297,1.1946592148522128,1.2631959812511864,1.3339731595349034,1.407011200216447,1.4823302800086415,1.5599503113873272,1.6398909516233677,1.7221716113234105,1.8068114625156377,1.8938294463134073,1.9832442801866852,2.075074464868551,2.1693382909216234,2.2660538449872063,2.36523901573795,2.4669114995532007,2.5710888059345764,2.6777882626779785,2.7870270208169257,2.898822059350997,3.0131901897720907,3.1301480604002863,3.2497121605402226,3.3718988244681087,3.4967242352587946,3.624204428461639,3.754355295633311,3.887192587735158,4.022731918402185,4.160988767090289,4.301978482107941,4.445716283538092,4.592217266055746,4.741496401646282,4.893568542229298,5.048448422192488,5.20615066083972,5.3666897647573375,5.5300801301023865,5.696336044816294,5.865471690767354,6.037501145825082,6.212438385869475,6.390297286737924,6.571091626112461,6.7548350853498045,6.941541251256611,7.131223617812143,7.323895587840543,7.5195704746346665,7.7182615035334345,7.919981813454504,8.124744458384042,8.332562408825165,8.543448553206703,8.757415699253682,8.974476575321063,9.194643831691977,9.417930041841839,9.644347703669503,9.873909240696694,10.106627003236781,10.342513269534024,10.58158024687427,10.8238400726681,11.069304815507364,11.317986476196008,11.569896988756009,11.825048221409341,12.083451977536606,12.345119996613247,12.610063955123938,12.878295467455942,13.149826086772048,13.42466730586372,13.702830557985108,13.984327217668513,14.269168601521828,14.55736596900856,14.848930523210871,15.143873411576273,15.44220572664832,15.743938506781891,16.04908273684337,16.35764934889634,16.66964922287304,16.985093187232053,17.30399201960269,17.62635644741625,17.95219714852476,18.281524751807332,18.614349837764564,18.95068293910138,19.290534541298456,19.633915083172692,19.98083495742689,20.331304511189067,20.685334046541502,21.042933821039977,21.404114048223256,21.76888489811322,22.137256497705877,22.50923893145328,22.884842241736916,23.264076429332462,23.6469514538663,24.033477234264016,24.42366364919083,24.817520537484558,25.21505769858089,25.61628489293138,26.021211842414342,26.429848230738664,26.842203703840827,27.258287870275353,27.678110301598522,28.10168053274597,28.529008062403893,28.96010235337422,29.39497283293396,29.83362889318845,30.276079891419332,30.722335150426627,31.172403958865512,31.62629557157785,32.08401920991837,32.54558406207592,33.010999283389665,33.4802739966603,33.953417292456834,34.430438229418264,34.911345834551085,35.39614910352207,35.88485700094671,36.37747846067349,36.87402238606382,37.37449765026789,37.87891309649659,38.38727753828926,38.89959975977785,39.41588851594697,39.93615253289054,40.460400508064545,40.98864111053629,41.520882981230194,42.05713473317016,42.597404951718396,43.141702194811224,43.6900349931913,44.24241185063697,44.798841244188324,45.35933162437017,45.92389141541209,46.49252901546552,47.065252796817916,47.64207110610409,48.22299226451468,48.808024568002054,49.3971762874833,49.9904556690408,50.587870934119984,51.189430279724725,51.79514187861014,52.40501387947288,53.0190544071392,53.637271562750364,54.259673423945976,54.88626804504493,55.517063457223934,56.15206766869424,56.79128866487574,57.43473440856916,58.08241284012621,58.734331877617365,59.39049941699807,60.05092333227251,60.715611475655585,61.38457167773311,62.057811747619894,62.7353394731159,63.417162620860914,64.10328893648692,64.79372614476921,65.48848194977529,66.18756403501224,66.89098006357258,67.59873767827808,68.31084450182222,69.02730813691093,69.74813616640164,70.47333615344107,71.20291564160104,71.93688215501312,72.67524319850172,73.41800625771542,74.16517879925733,74.9167682708136,75.67278210128072,76.43322770089146,77.1981124613393,77.96744375590167,78.74122893956174,79.51947534912904,80.30219030335869,81.08938110306934,81.88105503125999,82.67721935322541,83.4778813166706,84.28304815182372,85.09272707154808,85.90692527145302,86.72564993000343,87.54890820862819,88.3767072518277,89.2090541872801,90.04595612594655,90.88742016217518,91.73345337380438,92.58406282226491,93.43925555268066,94.29903859396902,95.16341895893969,96.03240364439274,96.9059996312159,97.78421388448044,98.6670533535366,99.55452497210776];/** - * @license - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Fr{static from(t,r,n){return new Fr(xt.solveToInt(t,r,n))}static fromInt(t){return new Fr(t)}toInt(){return this.argb}get hue(){return this.internalHue}set hue(t){this.setInternalState(xt.solveToInt(t,this.internalChroma,this.internalTone))}get chroma(){return this.internalChroma}set chroma(t){this.setInternalState(xt.solveToInt(this.internalHue,t,this.internalTone))}get tone(){return this.internalTone}set tone(t){this.setInternalState(xt.solveToInt(this.internalHue,this.internalChroma,t))}constructor(t){this.argb=t;const r=Ir.fromInt(t);this.internalHue=r.hue,this.internalChroma=r.chroma,this.internalTone=Dg(t),this.argb=t}setInternalState(t){const r=Ir.fromInt(t);this.internalHue=r.hue,this.internalChroma=r.chroma,this.internalTone=Dg(t),this.argb=t}inViewingConditions(t){const n=Ir.fromInt(this.toInt()).xyzInViewingConditions(t),i=Ir.fromXyzInViewingConditions(n[0],n[1],n[2],no.make());return Fr.from(i.hue,i.chroma,Lg(n[1]))}}/** - * @license - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class G2{static harmonize(t,r){const n=Fr.fromInt(t),i=Fr.fromInt(r),o=R$(n.hue,i.hue),a=Math.min(o*.5,15),s=q2(n.hue+a*_$(n.hue,i.hue));return Fr.from(s,n.chroma,n.tone).toInt()}static hctHue(t,r,n){const i=G2.cam16Ucs(t,r,n),o=Ir.fromInt(i),a=Ir.fromInt(t);return Fr.from(o.hue,a.chroma,Dg(t)).toInt()}static cam16Ucs(t,r,n){const i=Ir.fromInt(t),o=Ir.fromInt(r),a=i.jstar,s=i.astar,l=i.bstar,c=o.jstar,u=o.astar,f=o.bstar,d=a+(c-a)*n,b=s+(u-s)*n,p=l+(f-l)*n;return Ir.fromUcs(d,b,p).toInt()}}/** - * @license - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class $r{static ratioOfTones(t,r){return t=lh(0,100,t),r=lh(0,100,r),$r.ratioOfYs(Fa(t),Fa(r))}static ratioOfYs(t,r){const n=t>r?t:r,i=n===r?t:r;return(n+5)/(i+5)}static lighter(t,r){if(t<0||t>100)return-1;const n=Fa(t),i=r*(n+5)-5,o=$r.ratioOfYs(i,n),a=Math.abs(o-r);if(o.04)return-1;const s=Lg(i)+.4;return s<0||s>100?-1:s}static darker(t,r){if(t<0||t>100)return-1;const n=Fa(t),i=(n+5)/r-5,o=$r.ratioOfYs(n,i),a=Math.abs(o-r);if(o.04)return-1;const s=Lg(i)-.4;return s<0||s>100?-1:s}static lighterUnsafe(t,r){const n=$r.lighter(t,r);return n<0?100:n}static darkerUnsafe(t,r){const n=$r.darker(t,r);return n<0?0:n}}/** - * @license - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Y2{static isDisliked(t){const r=Math.round(t.hue)>=90&&Math.round(t.hue)<=111,n=Math.round(t.chroma)>16,i=Math.round(t.tone)<65;return r&&n&&i}static fixIfDisliked(t){return Y2.isDisliked(t)?Fr.from(t.hue,t.chroma,70):t}}/** - * @license - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Ke{static fromPalette(t){return new Ke(t.name??"",t.palette,t.tone,t.isBackground??!1,t.background,t.secondBackground,t.contrastCurve,t.toneDeltaPair)}constructor(t,r,n,i,o,a,s,l){if(this.name=t,this.palette=r,this.tone=n,this.isBackground=i,this.background=o,this.secondBackground=a,this.contrastCurve=s,this.toneDeltaPair=l,this.hctCache=new Map,!o&&a)throw new Error(`Color ${t} has secondBackgrounddefined, but background is not defined.`);if(!o&&s)throw new Error(`Color ${t} has contrastCurvedefined, but background is not defined.`);if(o&&!s)throw new Error(`Color ${t} has backgrounddefined, but contrastCurve is not defined.`)}getArgb(t){return this.getHct(t).toInt()}getHct(t){const r=this.hctCache.get(t);if(r!=null)return r;const n=this.getTone(t),i=this.palette(t).getHct(n);return this.hctCache.size>4&&this.hctCache.clear(),this.hctCache.set(t,i),i}getTone(t){const r=t.contrastLevel<0;if(this.toneDeltaPair){const n=this.toneDeltaPair(t),i=n.roleA,o=n.roleB,a=n.delta,s=n.polarity,l=n.stayTogether,u=this.background(t).getTone(t),f=s==="nearer"||s==="lighter"&&!t.isDark||s==="darker"&&t.isDark,d=f?i:o,b=f?o:i,p=this.name===d.name,v=t.isDark?1:-1,w=d.contrastCurve.getContrast(t.contrastLevel),C=b.contrastCurve.getContrast(t.contrastLevel),y=d.tone(t);let M=$r.ratioOfTones(u,y)>=w?y:Ke.foregroundTone(u,w);const B=b.tone(t);let D=$r.ratioOfTones(u,B)>=C?B:Ke.foregroundTone(u,C);return r&&(M=Ke.foregroundTone(u,w),D=Ke.foregroundTone(u,C)),(D-M)*v>=a||(D=lh(0,100,M+a*v),(D-M)*v>=a||(M=lh(0,100,D-a*v))),50<=M&&M<60?v>0?(M=60,D=Math.max(D,M+a*v)):(M=49,D=Math.min(D,M+a*v)):50<=D&&D<60&&(l?v>0?(M=60,D=Math.max(D,M+a*v)):(M=49,D=Math.min(D,M+a*v)):v>0?D=60:D=49),p?M:D}else{let n=this.tone(t);if(this.background==null)return n;const i=this.background(t).getTone(t),o=this.contrastCurve.getContrast(t.contrastLevel);if($r.ratioOfTones(i,n)>=o||(n=Ke.foregroundTone(i,o)),r&&(n=Ke.foregroundTone(i,o)),this.isBackground&&50<=n&&n<60&&($r.ratioOfTones(49,i)>=o?n=49:n=60),this.secondBackground){const[a,s]=[this.background,this.secondBackground],[l,c]=[a(t).getTone(t),s(t).getTone(t)],[u,f]=[Math.max(l,c),Math.min(l,c)];if($r.ratioOfTones(u,n)>=o&&$r.ratioOfTones(f,n)>=o)return n;const d=$r.lighter(u,o),b=$r.darker(f,o),p=[];return d!==-1&&p.push(d),b!==-1&&p.push(b),Ke.tonePrefersLightForeground(l)||Ke.tonePrefersLightForeground(c)?d<0?100:d:p.length===1?p[0]:b<0?0:b}return n}}static foregroundTone(t,r){const n=$r.lighterUnsafe(t,r),i=$r.darkerUnsafe(t,r),o=$r.ratioOfTones(n,t),a=$r.ratioOfTones(i,t);if(Ke.tonePrefersLightForeground(t)){const l=Math.abs(o-a)<.1&&o=r||o>=a||l?n:i}else return a>=r||a>=o?i:n}static tonePrefersLightForeground(t){return Math.round(t)<60}static toneAllowsLightForeground(t){return Math.round(t)<=49}static enableLightForeground(t){return Ke.tonePrefersLightForeground(t)&&!Ke.toneAllowsLightForeground(t)?49:t}}/** - * @license - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */var Bf;(function(e){e[e.MONOCHROME=0]="MONOCHROME",e[e.NEUTRAL=1]="NEUTRAL",e[e.TONAL_SPOT=2]="TONAL_SPOT",e[e.VIBRANT=3]="VIBRANT",e[e.EXPRESSIVE=4]="EXPRESSIVE",e[e.FIDELITY=5]="FIDELITY",e[e.CONTENT=6]="CONTENT",e[e.RAINBOW=7]="RAINBOW",e[e.FRUIT_SALAD=8]="FRUIT_SALAD"})(Bf||(Bf={}));/** - * @license - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Tt{constructor(t,r,n,i){this.low=t,this.normal=r,this.medium=n,this.high=i}getContrast(t){return t<=-1?this.low:t<0?nf(this.low,this.normal,(t- -1)/1):t<.5?nf(this.normal,this.medium,(t-0)/.5):t<1?nf(this.medium,this.high,(t-.5)/.5):this.high}}/** - * @license - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Un{constructor(t,r,n,i,o){this.roleA=t,this.roleB=r,this.delta=n,this.polarity=i,this.stayTogether=o}}/** - * @license - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */function Yc(e){return e.variant===Bf.FIDELITY||e.variant===Bf.CONTENT}function vr(e){return e.variant===Bf.MONOCHROME}function N$(e,t,r,n){let i=r,o=Fr.from(e,t,r);if(o.chromas.chroma||Math.abs(s.chroma-t)<.4)break;const l=Math.abs(s.chroma-t),c=Math.abs(o.chroma-t);le.primaryPalette,tone:e=>e.primaryPalette.keyColor.tone});fe.secondaryPaletteKeyColor=Ke.fromPalette({name:"secondary_palette_key_color",palette:e=>e.secondaryPalette,tone:e=>e.secondaryPalette.keyColor.tone});fe.tertiaryPaletteKeyColor=Ke.fromPalette({name:"tertiary_palette_key_color",palette:e=>e.tertiaryPalette,tone:e=>e.tertiaryPalette.keyColor.tone});fe.neutralPaletteKeyColor=Ke.fromPalette({name:"neutral_palette_key_color",palette:e=>e.neutralPalette,tone:e=>e.neutralPalette.keyColor.tone});fe.neutralVariantPaletteKeyColor=Ke.fromPalette({name:"neutral_variant_palette_key_color",palette:e=>e.neutralVariantPalette,tone:e=>e.neutralVariantPalette.keyColor.tone});fe.background=Ke.fromPalette({name:"background",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:98,isBackground:!0});fe.onBackground=Ke.fromPalette({name:"on_background",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:10,background:e=>fe.background,contrastCurve:new Tt(3,3,4.5,7)});fe.surface=Ke.fromPalette({name:"surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:98,isBackground:!0});fe.surfaceDim=Ke.fromPalette({name:"surface_dim",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:87,isBackground:!0});fe.surfaceBright=Ke.fromPalette({name:"surface_bright",palette:e=>e.neutralPalette,tone:e=>e.isDark?24:98,isBackground:!0});fe.surfaceContainerLowest=Ke.fromPalette({name:"surface_container_lowest",palette:e=>e.neutralPalette,tone:e=>e.isDark?4:100,isBackground:!0});fe.surfaceContainerLow=Ke.fromPalette({name:"surface_container_low",palette:e=>e.neutralPalette,tone:e=>e.isDark?10:96,isBackground:!0});fe.surfaceContainer=Ke.fromPalette({name:"surface_container",palette:e=>e.neutralPalette,tone:e=>e.isDark?12:94,isBackground:!0});fe.surfaceContainerHigh=Ke.fromPalette({name:"surface_container_high",palette:e=>e.neutralPalette,tone:e=>e.isDark?17:92,isBackground:!0});fe.surfaceContainerHighest=Ke.fromPalette({name:"surface_container_highest",palette:e=>e.neutralPalette,tone:e=>e.isDark?22:90,isBackground:!0});fe.onSurface=Ke.fromPalette({name:"on_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:10,background:e=>fe.highestSurface(e),contrastCurve:new Tt(4.5,7,11,21)});fe.surfaceVariant=Ke.fromPalette({name:"surface_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?30:90,isBackground:!0});fe.onSurfaceVariant=Ke.fromPalette({name:"on_surface_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?80:30,background:e=>fe.highestSurface(e),contrastCurve:new Tt(3,4.5,7,11)});fe.inverseSurface=Ke.fromPalette({name:"inverse_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:20});fe.inverseOnSurface=Ke.fromPalette({name:"inverse_on_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?20:95,background:e=>fe.inverseSurface,contrastCurve:new Tt(4.5,7,11,21)});fe.outline=Ke.fromPalette({name:"outline",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?60:50,background:e=>fe.highestSurface(e),contrastCurve:new Tt(1.5,3,4.5,7)});fe.outlineVariant=Ke.fromPalette({name:"outline_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?30:80,background:e=>fe.highestSurface(e),contrastCurve:new Tt(1,1,3,7)});fe.shadow=Ke.fromPalette({name:"shadow",palette:e=>e.neutralPalette,tone:e=>0});fe.scrim=Ke.fromPalette({name:"scrim",palette:e=>e.neutralPalette,tone:e=>0});fe.surfaceTint=Ke.fromPalette({name:"surface_tint",palette:e=>e.primaryPalette,tone:e=>e.isDark?80:40,isBackground:!0});fe.primary=Ke.fromPalette({name:"primary",palette:e=>e.primaryPalette,tone:e=>vr(e)?e.isDark?100:0:e.isDark?80:40,isBackground:!0,background:e=>fe.highestSurface(e),contrastCurve:new Tt(3,4.5,7,11),toneDeltaPair:e=>new Un(fe.primaryContainer,fe.primary,15,"nearer",!1)});fe.onPrimary=Ke.fromPalette({name:"on_primary",palette:e=>e.primaryPalette,tone:e=>vr(e)?e.isDark?10:90:e.isDark?20:100,background:e=>fe.primary,contrastCurve:new Tt(4.5,7,11,21)});fe.primaryContainer=Ke.fromPalette({name:"primary_container",palette:e=>e.primaryPalette,tone:e=>Yc(e)?X2(e.sourceColorHct,e):vr(e)?e.isDark?85:25:e.isDark?30:90,isBackground:!0,background:e=>fe.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(fe.primaryContainer,fe.primary,15,"nearer",!1)});fe.onPrimaryContainer=Ke.fromPalette({name:"on_primary_container",palette:e=>e.primaryPalette,tone:e=>Yc(e)?Ke.foregroundTone(fe.primaryContainer.tone(e),4.5):vr(e)?e.isDark?0:100:e.isDark?90:10,background:e=>fe.primaryContainer,contrastCurve:new Tt(4.5,7,11,21)});fe.inversePrimary=Ke.fromPalette({name:"inverse_primary",palette:e=>e.primaryPalette,tone:e=>e.isDark?40:80,background:e=>fe.inverseSurface,contrastCurve:new Tt(3,4.5,7,11)});fe.secondary=Ke.fromPalette({name:"secondary",palette:e=>e.secondaryPalette,tone:e=>e.isDark?80:40,isBackground:!0,background:e=>fe.highestSurface(e),contrastCurve:new Tt(3,4.5,7,11),toneDeltaPair:e=>new Un(fe.secondaryContainer,fe.secondary,15,"nearer",!1)});fe.onSecondary=Ke.fromPalette({name:"on_secondary",palette:e=>e.secondaryPalette,tone:e=>vr(e)?e.isDark?10:100:e.isDark?20:100,background:e=>fe.secondary,contrastCurve:new Tt(4.5,7,11,21)});fe.secondaryContainer=Ke.fromPalette({name:"secondary_container",palette:e=>e.secondaryPalette,tone:e=>{const t=e.isDark?30:90;if(vr(e))return e.isDark?30:85;if(!Yc(e))return t;let r=N$(e.secondaryPalette.hue,e.secondaryPalette.chroma,t,!e.isDark);return r=X2(e.secondaryPalette.getHct(r),e),r},isBackground:!0,background:e=>fe.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(fe.secondaryContainer,fe.secondary,15,"nearer",!1)});fe.onSecondaryContainer=Ke.fromPalette({name:"on_secondary_container",palette:e=>e.secondaryPalette,tone:e=>Yc(e)?Ke.foregroundTone(fe.secondaryContainer.tone(e),4.5):e.isDark?90:10,background:e=>fe.secondaryContainer,contrastCurve:new Tt(4.5,7,11,21)});fe.tertiary=Ke.fromPalette({name:"tertiary",palette:e=>e.tertiaryPalette,tone:e=>vr(e)?e.isDark?90:25:e.isDark?80:40,isBackground:!0,background:e=>fe.highestSurface(e),contrastCurve:new Tt(3,4.5,7,11),toneDeltaPair:e=>new Un(fe.tertiaryContainer,fe.tertiary,15,"nearer",!1)});fe.onTertiary=Ke.fromPalette({name:"on_tertiary",palette:e=>e.tertiaryPalette,tone:e=>vr(e)?e.isDark?10:90:e.isDark?20:100,background:e=>fe.tertiary,contrastCurve:new Tt(4.5,7,11,21)});fe.tertiaryContainer=Ke.fromPalette({name:"tertiary_container",palette:e=>e.tertiaryPalette,tone:e=>{if(vr(e))return e.isDark?60:49;if(!Yc(e))return e.isDark?30:90;const t=X2(e.tertiaryPalette.getHct(e.sourceColorHct.tone),e),r=e.tertiaryPalette.getHct(t);return Y2.fixIfDisliked(r).tone},isBackground:!0,background:e=>fe.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(fe.tertiaryContainer,fe.tertiary,15,"nearer",!1)});fe.onTertiaryContainer=Ke.fromPalette({name:"on_tertiary_container",palette:e=>e.tertiaryPalette,tone:e=>vr(e)?e.isDark?0:100:Yc(e)?Ke.foregroundTone(fe.tertiaryContainer.tone(e),4.5):e.isDark?90:10,background:e=>fe.tertiaryContainer,contrastCurve:new Tt(4.5,7,11,21)});fe.error=Ke.fromPalette({name:"error",palette:e=>e.errorPalette,tone:e=>e.isDark?80:40,isBackground:!0,background:e=>fe.highestSurface(e),contrastCurve:new Tt(3,4.5,7,11),toneDeltaPair:e=>new Un(fe.errorContainer,fe.error,15,"nearer",!1)});fe.onError=Ke.fromPalette({name:"on_error",palette:e=>e.errorPalette,tone:e=>e.isDark?20:100,background:e=>fe.error,contrastCurve:new Tt(4.5,7,11,21)});fe.errorContainer=Ke.fromPalette({name:"error_container",palette:e=>e.errorPalette,tone:e=>e.isDark?30:90,isBackground:!0,background:e=>fe.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(fe.errorContainer,fe.error,15,"nearer",!1)});fe.onErrorContainer=Ke.fromPalette({name:"on_error_container",palette:e=>e.errorPalette,tone:e=>e.isDark?90:10,background:e=>fe.errorContainer,contrastCurve:new Tt(4.5,7,11,21)});fe.primaryFixed=Ke.fromPalette({name:"primary_fixed",palette:e=>e.primaryPalette,tone:e=>vr(e)?40:90,isBackground:!0,background:e=>fe.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(fe.primaryFixed,fe.primaryFixedDim,10,"lighter",!0)});fe.primaryFixedDim=Ke.fromPalette({name:"primary_fixed_dim",palette:e=>e.primaryPalette,tone:e=>vr(e)?30:80,isBackground:!0,background:e=>fe.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(fe.primaryFixed,fe.primaryFixedDim,10,"lighter",!0)});fe.onPrimaryFixed=Ke.fromPalette({name:"on_primary_fixed",palette:e=>e.primaryPalette,tone:e=>vr(e)?100:10,background:e=>fe.primaryFixedDim,secondBackground:e=>fe.primaryFixed,contrastCurve:new Tt(4.5,7,11,21)});fe.onPrimaryFixedVariant=Ke.fromPalette({name:"on_primary_fixed_variant",palette:e=>e.primaryPalette,tone:e=>vr(e)?90:30,background:e=>fe.primaryFixedDim,secondBackground:e=>fe.primaryFixed,contrastCurve:new Tt(3,4.5,7,11)});fe.secondaryFixed=Ke.fromPalette({name:"secondary_fixed",palette:e=>e.secondaryPalette,tone:e=>vr(e)?80:90,isBackground:!0,background:e=>fe.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(fe.secondaryFixed,fe.secondaryFixedDim,10,"lighter",!0)});fe.secondaryFixedDim=Ke.fromPalette({name:"secondary_fixed_dim",palette:e=>e.secondaryPalette,tone:e=>vr(e)?70:80,isBackground:!0,background:e=>fe.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(fe.secondaryFixed,fe.secondaryFixedDim,10,"lighter",!0)});fe.onSecondaryFixed=Ke.fromPalette({name:"on_secondary_fixed",palette:e=>e.secondaryPalette,tone:e=>10,background:e=>fe.secondaryFixedDim,secondBackground:e=>fe.secondaryFixed,contrastCurve:new Tt(4.5,7,11,21)});fe.onSecondaryFixedVariant=Ke.fromPalette({name:"on_secondary_fixed_variant",palette:e=>e.secondaryPalette,tone:e=>vr(e)?25:30,background:e=>fe.secondaryFixedDim,secondBackground:e=>fe.secondaryFixed,contrastCurve:new Tt(3,4.5,7,11)});fe.tertiaryFixed=Ke.fromPalette({name:"tertiary_fixed",palette:e=>e.tertiaryPalette,tone:e=>vr(e)?40:90,isBackground:!0,background:e=>fe.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(fe.tertiaryFixed,fe.tertiaryFixedDim,10,"lighter",!0)});fe.tertiaryFixedDim=Ke.fromPalette({name:"tertiary_fixed_dim",palette:e=>e.tertiaryPalette,tone:e=>vr(e)?30:80,isBackground:!0,background:e=>fe.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(fe.tertiaryFixed,fe.tertiaryFixedDim,10,"lighter",!0)});fe.onTertiaryFixed=Ke.fromPalette({name:"on_tertiary_fixed",palette:e=>e.tertiaryPalette,tone:e=>vr(e)?100:10,background:e=>fe.tertiaryFixedDim,secondBackground:e=>fe.tertiaryFixed,contrastCurve:new Tt(4.5,7,11,21)});fe.onTertiaryFixedVariant=Ke.fromPalette({name:"on_tertiary_fixed_variant",palette:e=>e.tertiaryPalette,tone:e=>vr(e)?90:30,background:e=>fe.tertiaryFixedDim,secondBackground:e=>fe.tertiaryFixed,contrastCurve:new Tt(3,4.5,7,11)});/** - * @license - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class on{static fromInt(t){const r=Fr.fromInt(t);return on.fromHct(r)}static fromHct(t){return new on(t.hue,t.chroma,t)}static fromHueAndChroma(t,r){return new on(t,r,on.createKeyColor(t,r))}constructor(t,r,n){this.hue=t,this.chroma=r,this.keyColor=n,this.cache=new Map}static createKeyColor(t,r){let i=Fr.from(t,r,50),o=Math.abs(i.chroma-r);for(let a=1;a<50;a+=1){if(Math.round(r)===Math.round(i.chroma))return i;const s=Fr.from(t,r,50+a),l=Math.abs(s.chroma-r);l>>0}function jo(e){return parseInt(e,16)}/** - * @license - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */function Uce(e,t=[]){const r=Gr.of(e);return{source:e,schemes:{light:Vo.light(e),dark:Vo.dark(e)},palettes:{primary:r.a1,secondary:r.a2,tertiary:r.a3,neutral:r.n1,neutralVariant:r.n2,error:r.error},customColors:t.map(n=>j$(e,n))}}function j$(e,t){let r=t.value;const n=r,i=e;t.blend&&(r=G2.harmonize(n,i));const a=Gr.of(r).a1;return{color:t,value:r,light:{color:a.tone(40),onColor:a.tone(100),colorContainer:a.tone(90),onColorContainer:a.tone(10)},dark:{color:a.tone(80),onColor:a.tone(20),colorContainer:a.tone(30),onColorContainer:a.tone(90)}}}var Ow={exports:{}},Dw={};/** - * @license React - * use-sync-external-store-with-selector.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 w0=U;function U$(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var H$=typeof Object.is=="function"?Object.is:U$,W$=w0.useSyncExternalStore,V$=w0.useRef,q$=w0.useEffect,K$=w0.useMemo,G$=w0.useDebugValue;Dw.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=V$(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=K$(function(){function l(b){if(!c){if(c=!0,u=b,b=n(b),i!==void 0&&a.hasValue){var p=a.value;if(i(p,b))return f=p}return f=b}if(p=f,H$(u,b))return p;var v=n(b);return i!==void 0&&i(p,v)?p:(u=b,f=v)}var c=!1,u,f,d=r===void 0?null:r;return[function(){return l(t())},d===null?void 0:function(){return l(d())}]},[t,r,n,i]);var s=W$(e,o[0],o[1]);return q$(function(){a.hasValue=!0,a.value=s},[s]),G$(s),s};Ow.exports=Dw;var Y$=Ow.exports,Zn="default"in bc?mn:bc,Iy=Symbol.for("react-redux-context"),Fy=typeof globalThis<"u"?globalThis:{};function X$(){if(!Zn.createContext)return{};const e=Fy[Iy]??(Fy[Iy]=new Map);let t=e.get(Zn.createContext);return t||(t=Zn.createContext(null),e.set(Zn.createContext,t)),t}var Ja=X$(),J$=()=>{throw new Error("uSES not initialized!")};function J2(e=Ja){return function(){return Zn.useContext(e)}}var Lw=J2(),Nw=J$,Z$=e=>{Nw=e},Q$=(e,t)=>e===t;function eB(e=Ja){const t=e===Ja?Lw:J2(e),r=(n,i={})=>{const{equalityFn:o=Q$,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:s,subscription:l,getServerState:c,stabilityCheck:u,identityFunctionCheck:f}=t();Zn.useRef(!0);const d=Zn.useCallback({[n.name](p){return n(p)}}[n.name],[n,u,a.stabilityCheck]),b=Nw(l.addNestedSub,s.getState,c||s.getState,d,o);return Zn.useDebugValue(b),b};return Object.assign(r,{withTypes:()=>r}),r}var Hce=eB();function tB(e){e()}function rB(){let e=null,t=null;return{clear(){e=null,t=null},notify(){tB(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){const r=[];let n=e;for(;n;)r.push(n),n=n.next;return r},subscribe(r){let n=!0;const i=t={callback:r,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!n||e===null||(n=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var Oy={notify(){},get:()=>[]};function nB(e,t){let r,n=Oy,i=0,o=!1;function a(v){u();const w=n.subscribe(v);let C=!1;return()=>{C||(C=!0,w(),f())}}function s(){n.notify()}function l(){p.onStateChange&&p.onStateChange()}function c(){return o}function u(){i++,r||(r=t?t.addNestedSub(l):e.subscribe(l),n=rB())}function f(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Oy)}function d(){o||(o=!0,u())}function b(){o&&(o=!1,f())}const p={addNestedSub:a,notifyNestedSubs:s,handleChangeWrapper:l,isSubscribed:c,trySubscribe:d,tryUnsubscribe:b,getListeners:()=>n};return p}var iB=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",oB=iB?Zn.useLayoutEffect:Zn.useEffect;function Dy(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Wce(e,t){if(Dy(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let i=0;i{const c=nB(e);return{store:e,subscription:c,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),s=Zn.useMemo(()=>e.getState(),[e]);oB(()=>{const{subscription:c}=a;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),s!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[a,s]);const l=t||Ja;return Zn.createElement(l.Provider,{value:a},r)}var Vce=aB;function zw(e=Ja){const t=e===Ja?Lw:J2(e),r=()=>{const{store:n}=t();return n};return Object.assign(r,{withTypes:()=>r}),r}var sB=zw();function lB(e=Ja){const t=e===Ja?sB:zw(e),r=()=>t().dispatch;return Object.assign(r,{withTypes:()=>r}),r}var qce=lB();Z$(Y$.useSyncExternalStoreWithSelector);const cB={black:"#000",white:"#fff"},If=cB,uB={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Sl=uB,fB={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Cl=fB,dB={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},El=dB,hB={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Ml=hB,pB={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Pl=pB,xB={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},gu=xB,mB={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},gB=mB;function aa(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r=0)&&(r[i]=e[i]);return r}var bB=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,yB=$9(function(e){return bB.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Kce=function(t,r){var n=arguments;if(r==null||!v0.call(r,"css"))return U.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=T2,o[1]=R2(t,r);for(var a=2;a96?SB:CB},Ny=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},EB=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return A2(r,n,i),U9(function(){return k2(r,n,i)}),null},MB=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,a;r!==void 0&&(o=r.label,a=r.target);var s=Ny(t,r,n),l=s||Ly(i),c=!l("as");return function(){var u=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),u[0]==null||u[0].raw===void 0)f.push.apply(f,u);else{f.push(u[0][0]);for(var d=u.length,b=1;bt(kB(i)?r:i):t;return Y.jsx(wB,{styles:n})}function Z2(e,t){return Ng(e,t)}const Uw=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},_B=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:jw,StyledEngineProvider:AB,ThemeContext:Kc,css:Cc,default:Z2,internal_processStyles:Uw,keyframes:ss},Symbol.toStringTag,{value:"Module"}));function Go(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Hw(e){if(!Go(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Hw(e[r])}),t}function gn(e,t,r={clone:!0}){const n=r.clone?W({},e):e;return Go(e)&&Go(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(Go(t[i])&&i in e&&Go(e[i])?n[i]=gn(e[i],t[i],r):r.clone?n[i]=Go(t[i])?Hw(t[i]):t[i]:n[i]=t[i])}),n}const RB=Object.freeze(Object.defineProperty({__proto__:null,default:gn,isPlainObject:Go},Symbol.toStringTag,{value:"Module"})),TB=["values","unit","step"],$B=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>W({},r,{[n.key]:n.val}),{})};function Ww(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,i=Ee(e,TB),o=$B(t),a=Object.keys(o);function s(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r})`}function l(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-n/100}${r})`}function c(d,b){const p=a.indexOf(b);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r}) and (max-width:${(p!==-1&&typeof t[a[p]]=="number"?t[a[p]]:b)-n/100}${r})`}function u(d){return a.indexOf(d)+1`@media (min-width:${Q2[e]}px)`};function Ln(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const o=n.breakpoints||zy;return t.reduce((a,s,l)=>(a[o.up(o.keys[l])]=r(t[l]),a),{})}if(typeof t=="object"){const o=n.breakpoints||zy;return Object.keys(t).reduce((a,s)=>{if(Object.keys(o.values||Q2).indexOf(s)!==-1){const l=o.up(s);a[l]=r(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return r(t)}function Vw(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,i)=>{const o=e.up(i);return n[o]={},n},{}))||{}}function qw(e,t){return e.reduce((r,n)=>{const i=r[n];return(!i||Object.keys(i).length===0)&&delete r[n],r},t)}function FB(e,...t){const r=Vw(e),n=[r,...t].reduce((i,o)=>gn(i,o),{});return qw(Object.keys(r),n)}function OB(e,t){if(typeof e!="object")return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((i,o)=>{o{e[i]!=null&&(r[i]=!0)}),r}function Hs({values:e,breakpoints:t,base:r}){const n=r||OB(e,t),i=Object.keys(n);if(i.length===0)return e;let o;return i.reduce((a,s,l)=>(Array.isArray(e)?(a[s]=e[l]!=null?e[l]:e[o],o=l):typeof e=="object"?(a[s]=e[s]!=null?e[s]:e[o],o=s):a[s]=e,a),{})}function ue(e){if(typeof e!="string")throw new Error(aa(7));return e.charAt(0).toUpperCase()+e.slice(1)}const DB=Object.freeze(Object.defineProperty({__proto__:null,default:ue},Symbol.toStringTag,{value:"Module"}));function Op(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(n!=null)return n}return t.split(".").reduce((n,i)=>n&&n[i]!=null?n[i]:null,e)}function ch(e,t,r,n=r){let i;return typeof e=="function"?i=e(r):Array.isArray(e)?i=e[r]||n:i=Op(e,r)||n,t&&(i=t(i,n,e)),i}function br(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:i}=e,o=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,c=Op(l,n)||{};return Ln(a,s,f=>{let d=ch(c,i,f);return f===d&&typeof f=="string"&&(d=ch(c,i,`${t}${f==="default"?"":ue(f)}`,f)),r===!1?d:{[r]:d}})};return o.propTypes={},o.filterProps=[t],o}function LB(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const NB={m:"margin",p:"padding"},zB={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},jy={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},jB=LB(e=>{if(e.length>2)if(jy[e])e=jy[e];else return[e];const[t,r]=e.split(""),n=NB[t],i=zB[r]||"";return Array.isArray(i)?i.map(o=>n+o):[n+i]}),eb=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],tb=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...eb,...tb];function S0(e,t,r,n){var i;const o=(i=Op(e,t,!1))!=null?i:r;return typeof o=="number"?a=>typeof a=="string"?a:o*a:Array.isArray(o)?a=>typeof a=="string"?a:o[a]:typeof o=="function"?o:()=>{}}function rb(e){return S0(e,"spacing",8)}function Zs(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function UB(e,t){return r=>e.reduce((n,i)=>(n[i]=Zs(t,r),n),{})}function HB(e,t,r,n){if(t.indexOf(r)===-1)return null;const i=jB(r),o=UB(i,n),a=e[r];return Ln(e,a,o)}function Kw(e,t){const r=rb(e.theme);return Object.keys(e).map(n=>HB(e,t,n,r)).reduce(of,{})}function ar(e){return Kw(e,eb)}ar.propTypes={};ar.filterProps=eb;function sr(e){return Kw(e,tb)}sr.propTypes={};sr.filterProps=tb;function WB(e=8){if(e.mui)return e;const t=rb({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(o=>{const a=t(o);return typeof a=="number"?`${a}px`:a}).join(" ");return r.mui=!0,r}function Dp(...e){const t=e.reduce((n,i)=>(i.filterProps.forEach(o=>{n[o]=i}),n),{}),r=n=>Object.keys(n).reduce((i,o)=>t[o]?of(i,t[o](n)):i,{});return r.propTypes={},r.filterProps=e.reduce((n,i)=>n.concat(i.filterProps),[]),r}function bi(e){return typeof e!="number"?e:`${e}px solid`}function Li(e,t){return br({prop:e,themeKey:"borders",transform:t})}const VB=Li("border",bi),qB=Li("borderTop",bi),KB=Li("borderRight",bi),GB=Li("borderBottom",bi),YB=Li("borderLeft",bi),XB=Li("borderColor"),JB=Li("borderTopColor"),ZB=Li("borderRightColor"),QB=Li("borderBottomColor"),eI=Li("borderLeftColor"),tI=Li("outline",bi),rI=Li("outlineColor"),Lp=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=S0(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:Zs(t,n)});return Ln(e,e.borderRadius,r)}return null};Lp.propTypes={};Lp.filterProps=["borderRadius"];Dp(VB,qB,KB,GB,YB,XB,JB,ZB,QB,eI,Lp,tI,rI);const Np=e=>{if(e.gap!==void 0&&e.gap!==null){const t=S0(e.theme,"spacing",8),r=n=>({gap:Zs(t,n)});return Ln(e,e.gap,r)}return null};Np.propTypes={};Np.filterProps=["gap"];const zp=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=S0(e.theme,"spacing",8),r=n=>({columnGap:Zs(t,n)});return Ln(e,e.columnGap,r)}return null};zp.propTypes={};zp.filterProps=["columnGap"];const jp=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=S0(e.theme,"spacing",8),r=n=>({rowGap:Zs(t,n)});return Ln(e,e.rowGap,r)}return null};jp.propTypes={};jp.filterProps=["rowGap"];const nI=br({prop:"gridColumn"}),iI=br({prop:"gridRow"}),oI=br({prop:"gridAutoFlow"}),aI=br({prop:"gridAutoColumns"}),sI=br({prop:"gridAutoRows"}),lI=br({prop:"gridTemplateColumns"}),cI=br({prop:"gridTemplateRows"}),uI=br({prop:"gridTemplateAreas"}),fI=br({prop:"gridArea"});Dp(Np,zp,jp,nI,iI,oI,aI,sI,lI,cI,uI,fI);function ac(e,t){return t==="grey"?t:e}const dI=br({prop:"color",themeKey:"palette",transform:ac}),hI=br({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ac}),pI=br({prop:"backgroundColor",themeKey:"palette",transform:ac});Dp(dI,hI,pI);function Jn(e){return e<=1&&e!==0?`${e*100}%`:e}const xI=br({prop:"width",transform:Jn}),nb=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,i;const o=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Q2[r];return o?((i=e.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Jn(r)}};return Ln(e,e.maxWidth,t)}return null};nb.filterProps=["maxWidth"];const mI=br({prop:"minWidth",transform:Jn}),gI=br({prop:"height",transform:Jn}),vI=br({prop:"maxHeight",transform:Jn}),bI=br({prop:"minHeight",transform:Jn});br({prop:"size",cssProperty:"width",transform:Jn});br({prop:"size",cssProperty:"height",transform:Jn});const yI=br({prop:"boxSizing"});Dp(xI,nb,mI,gI,vI,bI,yI);const wI={border:{themeKey:"borders",transform:bi},borderTop:{themeKey:"borders",transform:bi},borderRight:{themeKey:"borders",transform:bi},borderBottom:{themeKey:"borders",transform:bi},borderLeft:{themeKey:"borders",transform:bi},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:bi},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Lp},color:{themeKey:"palette",transform:ac},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ac},backgroundColor:{themeKey:"palette",transform:ac},p:{style:sr},pt:{style:sr},pr:{style:sr},pb:{style:sr},pl:{style:sr},px:{style:sr},py:{style:sr},padding:{style:sr},paddingTop:{style:sr},paddingRight:{style:sr},paddingBottom:{style:sr},paddingLeft:{style:sr},paddingX:{style:sr},paddingY:{style:sr},paddingInline:{style:sr},paddingInlineStart:{style:sr},paddingInlineEnd:{style:sr},paddingBlock:{style:sr},paddingBlockStart:{style:sr},paddingBlockEnd:{style:sr},m:{style:ar},mt:{style:ar},mr:{style:ar},mb:{style:ar},ml:{style:ar},mx:{style:ar},my:{style:ar},margin:{style:ar},marginTop:{style:ar},marginRight:{style:ar},marginBottom:{style:ar},marginLeft:{style:ar},marginX:{style:ar},marginY:{style:ar},marginInline:{style:ar},marginInlineStart:{style:ar},marginInlineEnd:{style:ar},marginBlock:{style:ar},marginBlockStart:{style:ar},marginBlockEnd:{style:ar},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Np},rowGap:{style:jp},columnGap:{style:zp},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Jn},maxWidth:{style:nb},minWidth:{transform:Jn},height:{transform:Jn},maxHeight:{transform:Jn},minHeight:{transform:Jn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},C0=wI;function SI(...e){const t=e.reduce((n,i)=>n.concat(Object.keys(i)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function CI(e,t){return typeof e=="function"?e(t):e}function Gw(){function e(r,n,i,o){const a={[r]:n,theme:i},s=o[r];if(!s)return{[r]:n};const{cssProperty:l=r,themeKey:c,transform:u,style:f}=s;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const d=Op(i,c)||{};return f?f(a):Ln(a,n,p=>{let v=ch(d,u,p);return p===v&&typeof p=="string"&&(v=ch(d,u,`${r}${p==="default"?"":ue(p)}`,p)),l===!1?v:{[l]:v}})}function t(r){var n;const{sx:i,theme:o={}}=r||{};if(!i)return null;const a=(n=o.unstable_sxConfig)!=null?n:C0;function s(l){let c=l;if(typeof l=="function")c=l(o);else if(typeof l!="object")return l;if(!c)return null;const u=Vw(o.breakpoints),f=Object.keys(u);let d=u;return Object.keys(c).forEach(b=>{const p=CI(c[b],o);if(p!=null)if(typeof p=="object")if(a[b])d=of(d,e(b,p,o,a));else{const v=Ln({theme:o},p,w=>({[b]:w}));SI(v,p)?d[b]=t({sx:p,theme:o}):d=of(d,v)}else d=of(d,e(b,p,o,a))}),qw(f,d)}return Array.isArray(i)?i.map(s):s(i)}return t}const Yw=Gw();Yw.filterProps=["sx"];const E0=Yw;function Xw(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const EI=["breakpoints","palette","spacing","shape"];function M0(e={},...t){const{breakpoints:r={},palette:n={},spacing:i,shape:o={}}=e,a=Ee(e,EI),s=Ww(r),l=WB(i);let c=gn({breakpoints:s,direction:"ltr",components:{},palette:W({mode:"light"},n),spacing:l,shape:W({},IB,o)},a);return c.applyStyles=Xw,c=t.reduce((u,f)=>gn(u,f),c),c.unstable_sxConfig=W({},C0,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(f){return E0({sx:f,theme:this})},c}const MI=Object.freeze(Object.defineProperty({__proto__:null,default:M0,private_createBreakpoints:Ww,unstable_applyStyles:Xw},Symbol.toStringTag,{value:"Module"}));function PI(e){return Object.keys(e).length===0}function ib(e=null){const t=U.useContext(Kc);return!t||PI(t)?e:t}const AI=M0();function Up(e=AI){return ib(e)}function kI({styles:e,themeId:t,defaultTheme:r={}}){const n=Up(r),i=typeof e=="function"?e(t&&n[t]||n):e;return Y.jsx(jw,{styles:i})}const _I=["sx"],RI=e=>{var t,r;const n={systemProps:{},otherProps:{}},i=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:C0;return Object.keys(e).forEach(o=>{i[o]?n.systemProps[o]=e[o]:n.otherProps[o]=e[o]}),n};function P0(e){const{sx:t}=e,r=Ee(e,_I),{systemProps:n,otherProps:i}=RI(r);let o;return Array.isArray(t)?o=[n,...t]:typeof t=="function"?o=(...a)=>{const s=t(...a);return Go(s)?W({},n,s):n}:o=W({},n,t),W({},i,{sx:o})}const TI=Object.freeze(Object.defineProperty({__proto__:null,default:E0,extendSxProp:P0,unstable_createStyleFunctionSx:Gw,unstable_defaultSxConfig:C0},Symbol.toStringTag,{value:"Module"})),Uy=e=>e,$I=()=>{let e=Uy;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Uy}}},BI=$I(),ob=BI;function Jw(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;ts!=="theme"&&s!=="sx"&&s!=="as"})(E0);return U.forwardRef(function(l,c){const u=Up(r),f=P0(l),{className:d,component:b="div"}=f,p=Ee(f,II);return Y.jsx(o,W({as:b,ref:c,className:Se(d,i?i(n):n),theme:t&&u[t]||u},p))})}const Zw={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function nt(e,t,r="Mui"){const n=Zw[t];return n?`${r}-${n}`:`${ob.generate(e)}-${t}`}function tt(e,t,r="Mui"){const n={};return t.forEach(i=>{n[i]=nt(e,i,r)}),n}var Qw={exports:{}},Ut={};/** - * @license React - * react-is.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 ab=Symbol.for("react.element"),sb=Symbol.for("react.portal"),Hp=Symbol.for("react.fragment"),Wp=Symbol.for("react.strict_mode"),Vp=Symbol.for("react.profiler"),qp=Symbol.for("react.provider"),Kp=Symbol.for("react.context"),OI=Symbol.for("react.server_context"),Gp=Symbol.for("react.forward_ref"),Yp=Symbol.for("react.suspense"),Xp=Symbol.for("react.suspense_list"),Jp=Symbol.for("react.memo"),Zp=Symbol.for("react.lazy"),DI=Symbol.for("react.offscreen"),eS;eS=Symbol.for("react.module.reference");function Ni(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ab:switch(e=e.type,e){case Hp:case Vp:case Wp:case Yp:case Xp:return e;default:switch(e=e&&e.$$typeof,e){case OI:case Kp:case Gp:case Zp:case Jp:case qp:return e;default:return t}}case sb:return t}}}Ut.ContextConsumer=Kp;Ut.ContextProvider=qp;Ut.Element=ab;Ut.ForwardRef=Gp;Ut.Fragment=Hp;Ut.Lazy=Zp;Ut.Memo=Jp;Ut.Portal=sb;Ut.Profiler=Vp;Ut.StrictMode=Wp;Ut.Suspense=Yp;Ut.SuspenseList=Xp;Ut.isAsyncMode=function(){return!1};Ut.isConcurrentMode=function(){return!1};Ut.isContextConsumer=function(e){return Ni(e)===Kp};Ut.isContextProvider=function(e){return Ni(e)===qp};Ut.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ab};Ut.isForwardRef=function(e){return Ni(e)===Gp};Ut.isFragment=function(e){return Ni(e)===Hp};Ut.isLazy=function(e){return Ni(e)===Zp};Ut.isMemo=function(e){return Ni(e)===Jp};Ut.isPortal=function(e){return Ni(e)===sb};Ut.isProfiler=function(e){return Ni(e)===Vp};Ut.isStrictMode=function(e){return Ni(e)===Wp};Ut.isSuspense=function(e){return Ni(e)===Yp};Ut.isSuspenseList=function(e){return Ni(e)===Xp};Ut.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Hp||e===Vp||e===Wp||e===Yp||e===Xp||e===DI||typeof e=="object"&&e!==null&&(e.$$typeof===Zp||e.$$typeof===Jp||e.$$typeof===qp||e.$$typeof===Kp||e.$$typeof===Gp||e.$$typeof===eS||e.getModuleId!==void 0)};Ut.typeOf=Ni;Qw.exports=Ut;var Hy=Qw.exports;const LI=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function tS(e){const t=`${e}`.match(LI);return t&&t[1]||""}function rS(e,t=""){return e.displayName||e.name||tS(e)||t}function Wy(e,t,r){const n=rS(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function NI(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return rS(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Hy.ForwardRef:return Wy(e,e.render,"ForwardRef");case Hy.Memo:return Wy(e,e.type,"memo");default:return}}}const zI=Object.freeze(Object.defineProperty({__proto__:null,default:NI,getFunctionName:tS},Symbol.toStringTag,{value:"Module"})),jI=["ownerState"],UI=["variants"],HI=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function WI(e){return Object.keys(e).length===0}function VI(e){return typeof e=="string"&&e.charCodeAt(0)>96}function em(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const qI=M0(),KI=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function G0({defaultTheme:e,theme:t,themeId:r}){return WI(t)?e:t[r]||t}function GI(e){return e?(t,r)=>r[e]:null}function Od(e,t){let{ownerState:r}=t,n=Ee(t,jI);const i=typeof e=="function"?e(W({ownerState:r},n)):e;if(Array.isArray(i))return i.flatMap(o=>Od(o,W({ownerState:r},n)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:o=[]}=i;let s=Ee(i,UI);return o.forEach(l=>{let c=!0;typeof l.props=="function"?c=l.props(W({ownerState:r},n,r)):Object.keys(l.props).forEach(u=>{(r==null?void 0:r[u])!==l.props[u]&&n[u]!==l.props[u]&&(c=!1)}),c&&(Array.isArray(s)||(s=[s]),s.push(typeof l.style=="function"?l.style(W({ownerState:r},n,r)):l.style))}),s}return i}function YI(e={}){const{themeId:t,defaultTheme:r=qI,rootShouldForwardProp:n=em,slotShouldForwardProp:i=em}=e,o=a=>E0(W({},a,{theme:G0(W({},a,{defaultTheme:r,themeId:t}))}));return o.__mui_systemSx=!0,(a,s={})=>{Uw(a,D=>D.filter(F=>!(F!=null&&F.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:f,overridesResolver:d=GI(KI(c))}=s,b=Ee(s,HI),p=u!==void 0?u:c&&c!=="Root"&&c!=="root"||!1,v=f||!1;let w,C=em;c==="Root"||c==="root"?C=n:c?C=i:VI(a)&&(C=void 0);const y=Z2(a,W({shouldForwardProp:C,label:w},b)),M=D=>typeof D=="function"&&D.__emotion_real!==D||Go(D)?F=>Od(D,W({},F,{theme:G0({theme:F.theme,defaultTheme:r,themeId:t})})):D,B=(D,...F)=>{let N=M(D);const _=F?F.map(M):[];l&&d&&_.push(R=>{const m=G0(W({},R,{defaultTheme:r,themeId:t}));if(!m.components||!m.components[l]||!m.components[l].styleOverrides)return null;const g=m.components[l].styleOverrides,h={};return Object.entries(g).forEach(([x,S])=>{h[x]=Od(S,W({},R,{theme:m}))}),d(R,h)}),l&&!p&&_.push(R=>{var m;const g=G0(W({},R,{defaultTheme:r,themeId:t})),h=g==null||(m=g.components)==null||(m=m[l])==null?void 0:m.variants;return Od({variants:h},W({},R,{theme:g}))}),v||_.push(o);const L=_.length-F.length;if(Array.isArray(D)&&L>0){const R=new Array(L).fill("");N=[...D,...R],N.raw=[...D.raw,...R]}const I=y(N,..._);return a.muiName&&(I.muiName=a.muiName),I};return y.withConfig&&(B.withConfig=y.withConfig),B}}const XI=YI();function lb(e,t){const r=W({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=W({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const i=e[n]||{},o=t[n];r[n]={},!o||!Object.keys(o)?r[n]=i:!i||!Object.keys(i)?r[n]=o:(r[n]=W({},o),Object.keys(i).forEach(a=>{r[n][a]=lb(i[a],o[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function nS(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:lb(t.components[r].defaultProps,n)}function iS({props:e,name:t,defaultTheme:r,themeId:n}){let i=Up(r);return n&&(i=i[n]||i),nS({theme:i,name:t,props:e})}const bn=typeof window<"u"?U.useLayoutEffect:U.useEffect;function JI(e,t,r,n,i){const[o,a]=U.useState(()=>i&&r?r(e).matches:n?n(e).matches:t);return bn(()=>{let s=!0;if(!r)return;const l=r(e),c=()=>{s&&a(l.matches)};return c(),l.addListener(c),()=>{s=!1,l.removeListener(c)}},[e,r]),o}const oS=U.useSyncExternalStore;function ZI(e,t,r,n,i){const o=U.useCallback(()=>t,[t]),a=U.useMemo(()=>{if(i&&r)return()=>r(e).matches;if(n!==null){const{matches:u}=n(e);return()=>u}return o},[o,e,n,i,r]),[s,l]=U.useMemo(()=>{if(r===null)return[o,()=>()=>{}];const u=r(e);return[()=>u.matches,f=>(u.addListener(f),()=>{u.removeListener(f)})]},[o,r,e]);return oS(l,s,a)}function Gce(e,t={}){const r=ib(),n=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:o=n?window.matchMedia:null,ssrMatchMedia:a=null,noSsr:s=!1}=nS({name:"MuiUseMediaQuery",props:t,theme:r});let l=typeof e=="function"?e(r):e;return l=l.replace(/^@media( ?)/m,""),(oS!==void 0?ZI:JI)(l,i,o,a,s)}function aS(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const QI=Object.freeze(Object.defineProperty({__proto__:null,default:aS},Symbol.toStringTag,{value:"Module"}));function eF(e,t=0,r=1){return aS(e,t,r)}function tF(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,i)=>i<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function sS(e){if(e.type)return e;if(e.charAt(0)==="#")return sS(tF(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(aa(9,e));let n=e.substring(t+1,e.length-1),i;if(r==="color"){if(n=n.split(" "),i=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error(aa(10,i))}else n=n.split(",");return n=n.map(o=>parseFloat(o)),{type:r,values:n,colorSpace:i}}function rF(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((i,o)=>o<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function nF(e,t){return e=sS(e),t=eF(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,rF(e)}function jg(...e){return e.reduce((t,r)=>r==null?t:function(...i){t.apply(this,i),r.apply(this,i)},()=>{})}function Xc(e,t=166){let r;function n(...i){const o=()=>{e.apply(this,i)};clearTimeout(r),r=setTimeout(o,t)}return n.clear=()=>{clearTimeout(r)},n}function iF(e,t){return()=>null}function af(e,t){var r,n;return U.isValidElement(e)&&t.indexOf((r=e.type.muiName)!=null?r:(n=e.type)==null||(n=n._payload)==null||(n=n.value)==null?void 0:n.muiName)!==-1}function Er(e){return e&&e.ownerDocument||document}function _i(e){return Er(e).defaultView||window}function oF(e,t){return()=>null}function Ff(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let Vy=0;function aF(e){const[t,r]=U.useState(e),n=e||t;return U.useEffect(()=>{t==null&&(Vy+=1,r(`mui-${Vy}`))},[t]),n}const qy=bc.useId;function Za(e){if(qy!==void 0){const t=qy();return e??t}return aF(e)}function sF(e,t,r,n,i){return null}function ja({controlled:e,default:t,name:r,state:n="value"}){const{current:i}=U.useRef(e!==void 0),[o,a]=U.useState(t),s=i?e:o,l=U.useCallback(c=>{i||a(c)},[]);return[s,l]}function Pr(e){const t=U.useRef(e);return bn(()=>{t.current=e}),U.useRef((...r)=>(0,t.current)(...r)).current}function Vt(...e){return U.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{Ff(r,t)})},e)}const Ky={};function lF(e,t){const r=U.useRef(Ky);return r.current===Ky&&(r.current=e(t)),r}const cF=[];function uF(e){U.useEffect(e,cF)}class A0{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new A0}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function Bs(){const e=lF(A0.create).current;return uF(e.disposeEffect),e}let Qp=!0,Ug=!1;const fF=new A0,dF={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function hF(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&dF[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function pF(e){e.metaKey||e.altKey||e.ctrlKey||(Qp=!0)}function tm(){Qp=!1}function xF(){this.visibilityState==="hidden"&&Ug&&(Qp=!0)}function mF(e){e.addEventListener("keydown",pF,!0),e.addEventListener("mousedown",tm,!0),e.addEventListener("pointerdown",tm,!0),e.addEventListener("touchstart",tm,!0),e.addEventListener("visibilitychange",xF,!0)}function gF(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Qp||hF(t)}function cb(){const e=U.useCallback(i=>{i!=null&&mF(i.ownerDocument)},[]),t=U.useRef(!1);function r(){return t.current?(Ug=!0,fF.start(100,()=>{Ug=!1}),t.current=!1,!0):!1}function n(i){return gF(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function lS(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Al;function cS(){if(Al)return Al;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Al="reverse",e.scrollLeft>0?Al="default":(e.scrollLeft=1,e.scrollLeft===0&&(Al="negative")),document.body.removeChild(e),Al}function vF(e,t){const r=e.scrollLeft;if(t!=="rtl")return r;switch(cS()){case"negative":return e.scrollWidth-e.clientWidth+r;case"reverse":return e.scrollWidth-e.clientWidth-r;default:return r}}const ub=e=>{const t=U.useRef({});return U.useEffect(()=>{t.current=e}),t.current};function it(e,t,r=void 0){const n={};return Object.keys(e).forEach(i=>{n[i]=e[i].reduce((o,a)=>{if(a){const s=t(a);s!==""&&o.push(s),r&&r[a]&&o.push(r[a])}return o},[]).join(" ")}),n}const bF=U.createContext(null),uS=bF;function fS(){return U.useContext(uS)}const yF=typeof Symbol=="function"&&Symbol.for,wF=yF?Symbol.for("mui.nested"):"__THEME_NESTED__";function SF(e,t){return typeof t=="function"?t(e):W({},e,t)}function CF(e){const{children:t,theme:r}=e,n=fS(),i=U.useMemo(()=>{const o=n===null?r:SF(n,r);return o!=null&&(o[wF]=n!==null),o},[r,n]);return Y.jsx(uS.Provider,{value:i,children:t})}const EF=["value"],dS=U.createContext();function MF(e){let{value:t}=e,r=Ee(e,EF);return Y.jsx(dS.Provider,W({value:t??!0},r))}const Jc=()=>{const e=U.useContext(dS);return e??!1},Gy={};function Yy(e,t,r,n=!1){return U.useMemo(()=>{const i=e&&t[e]||t;if(typeof r=="function"){const o=r(i),a=e?W({},t,{[e]:o}):o;return n?()=>a:a}return e?W({},t,{[e]:r}):W({},t,r)},[e,t,r,n])}function PF(e){const{children:t,theme:r,themeId:n}=e,i=ib(Gy),o=fS()||Gy,a=Yy(n,i,r),s=Yy(n,o,r,!0),l=a.direction==="rtl";return Y.jsx(CF,{theme:s,children:Y.jsx(Kc.Provider,{value:a,children:Y.jsx(MF,{value:l,children:t})})})}function Of(e){"@babel/helpers - typeof";return Of=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Of(e)}function AF(e,t){if(Of(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Of(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kF(e){var t=AF(e,"string");return Of(t)=="symbol"?t:t+""}const _F=["component","direction","spacing","divider","children","className","useFlexGap"],RF=M0(),TF=XI("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function $F(e){return iS({props:e,name:"MuiStack",defaultTheme:RF})}function BF(e,t){const r=U.Children.toArray(e).filter(Boolean);return r.reduce((n,i,o)=>(n.push(i),o({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],FF=({ownerState:e,theme:t})=>{let r=W({display:"flex",flexDirection:"column"},Ln({theme:t},Hs({values:e.direction,breakpoints:t.breakpoints.values}),n=>({flexDirection:n})));if(e.spacing){const n=rb(t),i=Object.keys(t.breakpoints.values).reduce((l,c)=>((typeof e.spacing=="object"&&e.spacing[c]!=null||typeof e.direction=="object"&&e.direction[c]!=null)&&(l[c]=!0),l),{}),o=Hs({values:e.direction,base:i}),a=Hs({values:e.spacing,base:i});typeof o=="object"&&Object.keys(o).forEach((l,c,u)=>{if(!o[l]){const d=c>0?o[u[c-1]]:"column";o[l]=d}}),r=gn(r,Ln({theme:t},a,(l,c)=>e.useFlexGap?{gap:Zs(n,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${IF(c?o[c]:e.direction)}`]:Zs(n,l)}}))}return r=FB(t.breakpoints,r),r};function OF(e={}){const{createStyledComponent:t=TF,useThemeProps:r=$F,componentName:n="MuiStack"}=e,i=()=>it({root:["root"]},l=>nt(n,l),{}),o=t(FF);return U.forwardRef(function(l,c){const u=r(l),f=P0(u),{component:d="div",direction:b="column",spacing:p=0,divider:v,children:w,className:C,useFlexGap:y=!1}=f,M=Ee(f,_F),B={direction:b,spacing:p,useFlexGap:y},D=i();return Y.jsx(o,W({as:d,ownerState:B,ref:c,className:Se(D.root,C)},M,{children:v?BF(w,v):w}))})}function DF(e,t){return W({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var yr={},hS={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(hS);var wr=hS.exports;const LF=Fo(vB),NF=Fo(QI);var pS=wr;Object.defineProperty(yr,"__esModule",{value:!0});var Ct=yr.alpha=vS;yr.blend=JF;yr.colorChannel=void 0;var uh=yr.darken=db;yr.decomposeColor=Ri;var zF=yr.emphasize=bS,jF=yr.getContrastRatio=qF;yr.getLuminance=dh;yr.hexToRgb=xS;yr.hslToRgb=gS;var fh=yr.lighten=hb;yr.private_safeAlpha=KF;yr.private_safeColorChannel=void 0;yr.private_safeDarken=GF;yr.private_safeEmphasize=XF;yr.private_safeLighten=YF;yr.recomposeColor=Zc;yr.rgbToHex=VF;var Xy=pS(LF),UF=pS(NF);function fb(e,t=0,r=1){return(0,UF.default)(e,t,r)}function xS(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,i)=>i<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function HF(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Ri(e){if(e.type)return e;if(e.charAt(0)==="#")return Ri(xS(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error((0,Xy.default)(9,e));let n=e.substring(t+1,e.length-1),i;if(r==="color"){if(n=n.split(" "),i=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error((0,Xy.default)(10,i))}else n=n.split(",");return n=n.map(o=>parseFloat(o)),{type:r,values:n,colorSpace:i}}const mS=e=>{const t=Ri(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};yr.colorChannel=mS;const WF=(e,t)=>{try{return mS(e)}catch{return e}};yr.private_safeColorChannel=WF;function Zc(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((i,o)=>o<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function VF(e){if(e.indexOf("#")===0)return e;const{values:t}=Ri(e);return`#${t.map((r,n)=>HF(n===3?Math.round(255*r):r)).join("")}`}function gS(e){e=Ri(e);const{values:t}=e,r=t[0],n=t[1]/100,i=t[2]/100,o=n*Math.min(i,1-i),a=(c,u=(c+r/30)%12)=>i-o*Math.max(Math.min(u-3,9-u,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),Zc({type:s,values:l})}function dh(e){e=Ri(e);let t=e.type==="hsl"||e.type==="hsla"?Ri(gS(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function qF(e,t){const r=dh(e),n=dh(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function vS(e,t){return e=Ri(e),t=fb(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Zc(e)}function KF(e,t,r){try{return vS(e,t)}catch{return e}}function db(e,t){if(e=Ri(e),t=fb(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Zc(e)}function GF(e,t,r){try{return db(e,t)}catch{return e}}function hb(e,t){if(e=Ri(e),t=fb(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Zc(e)}function YF(e,t,r){try{return hb(e,t)}catch{return e}}function bS(e,t=.15){return dh(e)>.5?db(e,t):hb(e,t)}function XF(e,t,r){try{return bS(e,t)}catch{return e}}function JF(e,t,r,n=1){const i=(l,c)=>Math.round((l**(1/n)*(1-r)+c**(1/n)*r)**n),o=Ri(e),a=Ri(t),s=[i(o.values[0],a.values[0]),i(o.values[1],a.values[1]),i(o.values[2],a.values[2])];return Zc({type:"rgb",values:s})}const ZF=["mode","contrastThreshold","tonalOffset"],Jy={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:If.white,default:If.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},rm={text:{primary:If.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:If.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Zy(e,t,r,n){const i=n.light||n,o=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=fh(e.main,i):t==="dark"&&(e.dark=uh(e.main,o)))}function QF(e="light"){return e==="dark"?{main:El[200],light:El[50],dark:El[400]}:{main:El[700],light:El[400],dark:El[800]}}function eO(e="light"){return e==="dark"?{main:Cl[200],light:Cl[50],dark:Cl[400]}:{main:Cl[500],light:Cl[300],dark:Cl[700]}}function tO(e="light"){return e==="dark"?{main:Sl[500],light:Sl[300],dark:Sl[700]}:{main:Sl[700],light:Sl[400],dark:Sl[800]}}function rO(e="light"){return e==="dark"?{main:Ml[400],light:Ml[300],dark:Ml[700]}:{main:Ml[700],light:Ml[500],dark:Ml[900]}}function nO(e="light"){return e==="dark"?{main:Pl[400],light:Pl[300],dark:Pl[700]}:{main:Pl[800],light:Pl[500],dark:Pl[900]}}function iO(e="light"){return e==="dark"?{main:gu[400],light:gu[300],dark:gu[700]}:{main:"#ed6c02",light:gu[500],dark:gu[900]}}function oO(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,i=Ee(e,ZF),o=e.primary||QF(t),a=e.secondary||eO(t),s=e.error||tO(t),l=e.info||rO(t),c=e.success||nO(t),u=e.warning||iO(t);function f(v){return jF(v,rm.text.primary)>=r?rm.text.primary:Jy.text.primary}const d=({color:v,name:w,mainShade:C=500,lightShade:y=300,darkShade:M=700})=>{if(v=W({},v),!v.main&&v[C]&&(v.main=v[C]),!v.hasOwnProperty("main"))throw new Error(aa(11,w?` (${w})`:"",C));if(typeof v.main!="string")throw new Error(aa(12,w?` (${w})`:"",JSON.stringify(v.main)));return Zy(v,"light",y,n),Zy(v,"dark",M,n),v.contrastText||(v.contrastText=f(v.main)),v},b={dark:rm,light:Jy};return gn(W({common:W({},If),mode:t,primary:d({color:o,name:"primary"}),secondary:d({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:u,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:c,name:"success"}),grey:gB,contrastThreshold:r,getContrastText:f,augmentColor:d,tonalOffset:n},b[t]),i)}const aO=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function sO(e){return Math.round(e*1e5)/1e5}const Qy={textTransform:"uppercase"},e6='"Roboto", "Helvetica", "Arial", sans-serif';function lO(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=e6,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:f}=r,d=Ee(r,aO),b=i/14,p=f||(C=>`${C/c*b}rem`),v=(C,y,M,B,D)=>W({fontFamily:n,fontWeight:C,fontSize:p(y),lineHeight:M},n===e6?{letterSpacing:`${sO(B/y)}em`}:{},D,u),w={h1:v(o,96,1.167,-1.5),h2:v(o,60,1.2,-.5),h3:v(a,48,1.167,0),h4:v(a,34,1.235,.25),h5:v(a,24,1.334,0),h6:v(s,20,1.6,.15),subtitle1:v(a,16,1.75,.15),subtitle2:v(s,14,1.57,.1),body1:v(a,16,1.5,.15),body2:v(a,14,1.43,.15),button:v(s,14,1.75,.4,Qy),caption:v(a,12,1.66,.4),overline:v(a,12,2.66,1,Qy),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return gn(W({htmlFontSize:c,pxToRem:p,fontFamily:n,fontSize:i,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},w),d,{clone:!1})}const cO=.2,uO=.14,fO=.12;function Jt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${cO})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${uO})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${fO})`].join(",")}const dO=["none",Jt(0,2,1,-1,0,1,1,0,0,1,3,0),Jt(0,3,1,-2,0,2,2,0,0,1,5,0),Jt(0,3,3,-2,0,3,4,0,0,1,8,0),Jt(0,2,4,-1,0,4,5,0,0,1,10,0),Jt(0,3,5,-1,0,5,8,0,0,1,14,0),Jt(0,3,5,-1,0,6,10,0,0,1,18,0),Jt(0,4,5,-2,0,7,10,1,0,2,16,1),Jt(0,5,5,-3,0,8,10,1,0,3,14,2),Jt(0,5,6,-3,0,9,12,1,0,3,16,2),Jt(0,6,6,-3,0,10,14,1,0,4,18,3),Jt(0,6,7,-4,0,11,15,1,0,4,20,3),Jt(0,7,8,-4,0,12,17,2,0,5,22,4),Jt(0,7,8,-4,0,13,19,2,0,5,24,4),Jt(0,7,9,-4,0,14,21,2,0,5,26,4),Jt(0,8,9,-5,0,15,22,2,0,6,28,5),Jt(0,8,10,-5,0,16,24,2,0,6,30,5),Jt(0,8,11,-5,0,17,26,2,0,6,32,5),Jt(0,9,11,-5,0,18,28,2,0,7,34,6),Jt(0,9,12,-6,0,19,29,2,0,7,36,6),Jt(0,10,13,-6,0,20,31,3,0,8,38,7),Jt(0,10,13,-6,0,21,33,3,0,8,40,7),Jt(0,10,14,-6,0,22,35,3,0,8,42,7),Jt(0,11,14,-7,0,23,36,3,0,9,44,8),Jt(0,11,15,-7,0,24,38,3,0,9,46,8)],hO=["duration","easing","delay"],pO={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},xO={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function t6(e){return`${Math.round(e)}ms`}function mO(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function gO(e){const t=W({},pO,e.easing),r=W({},xO,e.duration);return W({getAutoHeightDuration:mO,create:(i=["all"],o={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:l=0}=o;return Ee(o,hO),(Array.isArray(i)?i:[i]).map(c=>`${c} ${typeof a=="string"?a:t6(a)} ${s} ${typeof l=="string"?l:t6(l)}`).join(",")}},e,{easing:t,duration:r})}const vO={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},bO=vO,yO=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function yS(e={},...t){const{mixins:r={},palette:n={},transitions:i={},typography:o={}}=e,a=Ee(e,yO);if(e.vars)throw new Error(aa(18));const s=oO(n),l=M0(e);let c=gn(l,{mixins:DF(l.breakpoints,r),palette:s,shadows:dO.slice(),typography:lO(s,o),transitions:gO(i),zIndex:W({},bO)});return c=gn(c,a),c=t.reduce((u,f)=>gn(u,f),c),c.unstable_sxConfig=W({},C0,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(f){return E0({sx:f,theme:this})},c}function wO(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function SO(e){return parseFloat(e)}const CO=yS(),e1=CO;function pa(){const e=Up(e1);return e[Js]||e}function ft({props:e,name:t}){return iS({props:e,name:t,defaultTheme:e1,themeId:Js})}var k0={},nm={exports:{}},r6;function EO(){return r6||(r6=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(r){for(var n=1;n=0)&&(i[a]=r[a]);return i}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(im)),im.exports}const wS=Fo(_B),PO=Fo(RB),AO=Fo(DB),kO=Fo(zI),_O=Fo(MI),RO=Fo(TI);var Qc=wr;Object.defineProperty(k0,"__esModule",{value:!0});var TO=k0.default=WO;k0.shouldForwardProp=Dd;k0.systemDefaultTheme=void 0;var xi=Qc(EO()),Hg=Qc(MO()),i6=LO(wS),$O=PO;Qc(AO);Qc(kO);var BO=Qc(_O),IO=Qc(RO);const FO=["ownerState"],OO=["variants"],DO=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function SS(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(SS=function(n){return n?r:t})(e)}function LO(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=SS(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}function NO(e){return Object.keys(e).length===0}function zO(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Dd(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const jO=k0.systemDefaultTheme=(0,BO.default)(),UO=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Y0({defaultTheme:e,theme:t,themeId:r}){return NO(t)?e:t[r]||t}function HO(e){return e?(t,r)=>r[e]:null}function Ld(e,t){let{ownerState:r}=t,n=(0,Hg.default)(t,FO);const i=typeof e=="function"?e((0,xi.default)({ownerState:r},n)):e;if(Array.isArray(i))return i.flatMap(o=>Ld(o,(0,xi.default)({ownerState:r},n)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:o=[]}=i;let s=(0,Hg.default)(i,OO);return o.forEach(l=>{let c=!0;typeof l.props=="function"?c=l.props((0,xi.default)({ownerState:r},n,r)):Object.keys(l.props).forEach(u=>{(r==null?void 0:r[u])!==l.props[u]&&n[u]!==l.props[u]&&(c=!1)}),c&&(Array.isArray(s)||(s=[s]),s.push(typeof l.style=="function"?l.style((0,xi.default)({ownerState:r},n,r)):l.style))}),s}return i}function WO(e={}){const{themeId:t,defaultTheme:r=jO,rootShouldForwardProp:n=Dd,slotShouldForwardProp:i=Dd}=e,o=a=>(0,IO.default)((0,xi.default)({},a,{theme:Y0((0,xi.default)({},a,{defaultTheme:r,themeId:t}))}));return o.__mui_systemSx=!0,(a,s={})=>{(0,i6.internal_processStyles)(a,D=>D.filter(F=>!(F!=null&&F.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:f,overridesResolver:d=HO(UO(c))}=s,b=(0,Hg.default)(s,DO),p=u!==void 0?u:c&&c!=="Root"&&c!=="root"||!1,v=f||!1;let w,C=Dd;c==="Root"||c==="root"?C=n:c?C=i:zO(a)&&(C=void 0);const y=(0,i6.default)(a,(0,xi.default)({shouldForwardProp:C,label:w},b)),M=D=>typeof D=="function"&&D.__emotion_real!==D||(0,$O.isPlainObject)(D)?F=>Ld(D,(0,xi.default)({},F,{theme:Y0({theme:F.theme,defaultTheme:r,themeId:t})})):D,B=(D,...F)=>{let N=M(D);const _=F?F.map(M):[];l&&d&&_.push(R=>{const m=Y0((0,xi.default)({},R,{defaultTheme:r,themeId:t}));if(!m.components||!m.components[l]||!m.components[l].styleOverrides)return null;const g=m.components[l].styleOverrides,h={};return Object.entries(g).forEach(([x,S])=>{h[x]=Ld(S,(0,xi.default)({},R,{theme:m}))}),d(R,h)}),l&&!p&&_.push(R=>{var m;const g=Y0((0,xi.default)({},R,{defaultTheme:r,themeId:t})),h=g==null||(m=g.components)==null||(m=m[l])==null?void 0:m.variants;return Ld({variants:h},(0,xi.default)({},R,{theme:g}))}),v||_.push(o);const L=_.length-F.length;if(Array.isArray(D)&&L>0){const R=new Array(L).fill("");N=[...D,...R],N.raw=[...D.raw,...R]}const I=y(N,..._);return a.muiName&&(I.muiName=a.muiName),I};return y.withConfig&&(B.withConfig=y.withConfig),B}}function CS(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const VO=e=>CS(e)&&e!=="classes",Zr=VO,he=TO({themeId:Js,defaultTheme:e1,rootShouldForwardProp:Zr}),qO=["theme"];function Yce(e){let{theme:t}=e,r=Ee(e,qO);const n=t[Js];return Y.jsx(PF,W({},r,{themeId:n?Js:void 0,theme:n||t}))}const o6=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function KO(e){return nt("MuiSvgIcon",e)}tt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const GO=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],YO=e=>{const{color:t,fontSize:r,classes:n}=e,i={root:["root",t!=="inherit"&&`color${ue(t)}`,`fontSize${ue(r)}`]};return it(i,KO,n)},XO=he("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${ue(r.color)}`],t[`fontSize${ue(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,i,o,a,s,l,c,u,f,d,b,p;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(i=e.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((o=e.typography)==null||(a=o.pxToRem)==null?void 0:a.call(o,20))||"1.25rem",medium:((s=e.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem",large:((c=e.typography)==null||(u=c.pxToRem)==null?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:(f=(d=(e.vars||e).palette)==null||(d=d[t.color])==null?void 0:d.main)!=null?f:{action:(b=(e.vars||e).palette)==null||(b=b.action)==null?void 0:b.active,disabled:(p=(e.vars||e).palette)==null||(p=p.action)==null?void 0:p.disabled,inherit:void 0}[t.color]}}),Wg=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiSvgIcon"}),{children:i,className:o,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:f,viewBox:d="0 0 24 24"}=n,b=Ee(n,GO),p=U.isValidElement(i)&&i.type==="svg",v=W({},n,{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:d,hasSvgAsChild:p}),w={};u||(w.viewBox=d);const C=YO(v);return Y.jsxs(XO,W({as:s,className:Se(C.root,o),focusable:"false",color:c,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:r},w,b,p&&i.props,{ownerState:v,children:[p?i.props.children:i,f?Y.jsx("title",{children:f}):null]}))});Wg.muiName="SvgIcon";function fn(e,t){function r(n,i){return Y.jsx(Wg,W({"data-testid":`${t}Icon`,ref:i},n,{children:e}))}return r.muiName=Wg.muiName,U.memo(U.forwardRef(r))}const JO={configure:e=>{ob.configure(e)}},ZO=Object.freeze(Object.defineProperty({__proto__:null,capitalize:ue,createChainedFunction:jg,createSvgIcon:fn,debounce:Xc,deprecatedPropType:iF,isMuiElement:af,ownerDocument:Er,ownerWindow:_i,requirePropFactory:oF,setRef:Ff,unstable_ClassNameGenerator:JO,unstable_useEnhancedEffect:bn,unstable_useId:Za,unsupportedProp:sF,useControlled:ja,useEventCallback:Pr,useForkRef:Vt,useIsFocusVisible:cb},Symbol.toStringTag,{value:"Module"}));function t1(e){return ft}function Vg(e,t){return Vg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Vg(e,t)}function ES(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Vg(e,t)}var MS={exports:{}},si={},PS={exports:{}},AS={};/** - * @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. - */(function(e){function t(k,$){var P=k.length;k.push($);e:for(;0>>1,A=k[E];if(0>>1;Ei(O,P))Vi(X,O)?(k[E]=X,k[V]=P,E=V):(k[E]=O,k[H]=P,E=H);else if(Vi(X,P))k[E]=X,k[V]=P,E=V;else break e}}return $}function i(k,$){var P=k.sortIndex-$.sortIndex;return P!==0?P:k.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],u=1,f=null,d=3,b=!1,p=!1,v=!1,w=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function M(k){for(var $=r(c);$!==null;){if($.callback===null)n(c);else if($.startTime<=k)n(c),$.sortIndex=$.expirationTime,t(l,$);else break;$=r(c)}}function B(k){if(v=!1,M(k),!p)if(r(l)!==null)p=!0,S(D);else{var $=r(c);$!==null&&T(B,$.startTime-k)}}function D(k,$){p=!1,v&&(v=!1,C(_),_=-1),b=!0;var P=d;try{for(M($),f=r(l);f!==null&&(!(f.expirationTime>$)||k&&!R());){var E=f.callback;if(typeof E=="function"){f.callback=null,d=f.priorityLevel;var A=E(f.expirationTime<=$);$=e.unstable_now(),typeof A=="function"?f.callback=A:f===r(l)&&n(l),M($)}else n(l);f=r(l)}if(f!==null)var z=!0;else{var H=r(c);H!==null&&T(B,H.startTime-$),z=!1}return z}finally{f=null,d=P,b=!1}}var F=!1,N=null,_=-1,L=5,I=-1;function R(){return!(e.unstable_now()-Ik||125E?(k.sortIndex=P,t(c,k),r(l)===null&&k===r(c)&&(v?(C(_),_=-1):v=!0,T(B,P-E))):(k.sortIndex=A,t(l,k),p||b||(p=!0,S(D))),k},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(k){var $=d;return function(){var P=d;d=$;try{return k.apply(this,arguments)}finally{d=P}}}})(AS);PS.exports=AS;var QO=PS.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 kS=U,ii=QO;function Be(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),qg=Object.prototype.hasOwnProperty,eD=/^[: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]*$/,a6={},s6={};function tD(e){return qg.call(s6,e)?!0:qg.call(a6,e)?!1:eD.test(e)?s6[e]=!0:(a6[e]=!0,!1)}function rD(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function nD(e,t,r,n){if(t===null||typeof t>"u"||rD(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function wn(e,t,r,n,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var Jr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Jr[e]=new wn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Jr[t]=new wn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Jr[e]=new wn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Jr[e]=new wn(e,2,!1,e,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(e){Jr[e]=new wn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Jr[e]=new wn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Jr[e]=new wn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Jr[e]=new wn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Jr[e]=new wn(e,5,!1,e.toLowerCase(),null,!1,!1)});var pb=/[\-:]([a-z])/g;function xb(e){return e[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(e){var t=e.replace(pb,xb);Jr[t]=new wn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(pb,xb);Jr[t]=new wn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(pb,xb);Jr[t]=new wn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Jr[e]=new wn(e,1,!1,e.toLowerCase(),null,!1,!1)});Jr.xlinkHref=new wn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Jr[e]=new wn(e,1,!1,e.toLowerCase(),null,!0,!0)});function mb(e,t,r,n){var i=Jr.hasOwnProperty(t)?Jr[t]:null;(i!==null?i.type!==0:n||!(2s||i[a]!==o[s]){var l=` -`+i[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{am=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Ku(e):""}function iD(e){switch(e.tag){case 5:return Ku(e.type);case 16:return Ku("Lazy");case 13:return Ku("Suspense");case 19:return Ku("SuspenseList");case 0:case 2:case 15:return e=sm(e.type,!1),e;case 11:return e=sm(e.type.render,!1),e;case 1:return e=sm(e.type,!0),e;default:return""}}function Xg(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case jl:return"Fragment";case zl:return"Portal";case Kg:return"Profiler";case gb:return"StrictMode";case Gg:return"Suspense";case Yg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case TS:return(e.displayName||"Context")+".Consumer";case RS:return(e._context.displayName||"Context")+".Provider";case vb:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case bb:return t=e.displayName||null,t!==null?t:Xg(e.type)||"Memo";case Ra:t=e._payload,e=e._init;try{return Xg(e(t))}catch{}}return null}function oD(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Xg(t);case 8:return t===gb?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Qa(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function BS(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function aD(e){var t=BS(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){n=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function J0(e){e._valueTracker||(e._valueTracker=aD(e))}function IS(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=BS(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function hh(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Jg(e,t){var r=t.checked;return or({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function c6(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Qa(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function FS(e,t){t=t.checked,t!=null&&mb(e,"checked",t,!1)}function Zg(e,t){FS(e,t);var r=Qa(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Qg(e,t.type,r):t.hasOwnProperty("defaultValue")&&Qg(e,t.type,Qa(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function u6(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Qg(e,t,r){(t!=="number"||hh(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Gu=Array.isArray;function sc(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Z0.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Lf(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var sf={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},sD=["Webkit","ms","Moz","O"];Object.keys(sf).forEach(function(e){sD.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),sf[t]=sf[e]})});function NS(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||sf.hasOwnProperty(e)&&sf[e]?(""+t).trim():t+"px"}function zS(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=NS(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var lD=or({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 rv(e,t){if(t){if(lD[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Be(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Be(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Be(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Be(62))}}function nv(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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 iv=null;function yb(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ov=null,lc=null,cc=null;function h6(e){if(e=T0(e)){if(typeof ov!="function")throw Error(Be(280));var t=e.stateNode;t&&(t=a1(t),ov(e.stateNode,e.type,t))}}function jS(e){lc?cc?cc.push(e):cc=[e]:lc=e}function US(){if(lc){var e=lc,t=cc;if(cc=lc=null,h6(e),t)for(e=0;e>>=0,e===0?32:31-(bD(e)/yD|0)|0}var Q0=64,ed=4194304;function Yu(e){switch(e&-e){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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function gh(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,i=e.suspendedLanes,o=e.pingedLanes,a=r&268435455;if(a!==0){var s=a&~i;s!==0?n=Yu(s):(o&=a,o!==0&&(n=Yu(o)))}else a=r&~i,a!==0?n=Yu(a):o!==0&&(n=Yu(o));if(n===0)return 0;if(t!==0&&t!==n&&!(t&i)&&(i=n&-n,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function _0(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ao(t),e[t]=r}function ED(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=cf),S6=" ",C6=!1;function lC(e,t){switch(e){case"keyup":return ZD.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cC(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ul=!1;function eL(e,t){switch(e){case"compositionend":return cC(t);case"keypress":return t.which!==32?null:(C6=!0,S6);case"textInput":return e=t.data,e===S6&&C6?null:e;default:return null}}function tL(e,t){if(Ul)return e==="compositionend"||!kb&&lC(e,t)?(e=aC(),zd=Mb=Oa=null,Ul=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=A6(r)}}function hC(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?hC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function pC(){for(var e=window,t=hh();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=hh(e.document)}return t}function _b(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function uL(e){var t=pC(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&hC(r.ownerDocument.documentElement,r)){if(n!==null&&_b(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=r.textContent.length,o=Math.min(n.start,i);n=n.end===void 0?o:Math.min(n.end,i),!e.extend&&o>n&&(i=n,n=o,o=i),i=k6(r,o);var a=k6(r,n);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Hl=null,fv=null,ff=null,dv=!1;function _6(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;dv||Hl==null||Hl!==hh(n)||(n=Hl,"selectionStart"in n&&_b(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),ff&&Wf(ff,n)||(ff=n,n=yh(fv,"onSelect"),0ql||(e.current=vv[ql],vv[ql]=null,ql--)}function Wt(e,t){ql++,vv[ql]=e.current,e.current=t}var es={},un=cs(es),Tn=cs(!1),Qs=es;function Mc(e,t){var r=e.type.contextTypes;if(!r)return es;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in r)i[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function $n(e){return e=e.childContextTypes,e!=null}function Sh(){Yt(Tn),Yt(un)}function O6(e,t,r){if(un.current!==es)throw Error(Be(168));Wt(un,t),Wt(Tn,r)}function CC(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in t))throw Error(Be(108,oD(e)||"Unknown",i));return or({},r,n)}function Ch(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||es,Qs=un.current,Wt(un,e),Wt(Tn,Tn.current),!0}function D6(e,t,r){var n=e.stateNode;if(!n)throw Error(Be(169));r?(e=CC(e,t,Qs),n.__reactInternalMemoizedMergedChildContext=e,Yt(Tn),Yt(un),Wt(un,e)):Yt(Tn),Wt(Tn,r)}var qo=null,s1=!1,wm=!1;function EC(e){qo===null?qo=[e]:qo.push(e)}function SL(e){s1=!0,EC(e)}function us(){if(!wm&&qo!==null){wm=!0;var e=0,t=zt;try{var r=qo;for(zt=1;e>=a,i-=a,Yo=1<<32-ao(t)+i|r<_?(L=N,N=null):L=N.sibling;var I=d(C,N,M[_],B);if(I===null){N===null&&(N=L);break}e&&N&&I.alternate===null&&t(C,N),y=o(I,y,_),F===null?D=I:F.sibling=I,F=I,N=L}if(_===M.length)return r(C,N),Qt&&_s(C,_),D;if(N===null){for(;__?(L=N,N=null):L=N.sibling;var R=d(C,N,I.value,B);if(R===null){N===null&&(N=L);break}e&&N&&R.alternate===null&&t(C,N),y=o(R,y,_),F===null?D=R:F.sibling=R,F=R,N=L}if(I.done)return r(C,N),Qt&&_s(C,_),D;if(N===null){for(;!I.done;_++,I=M.next())I=f(C,I.value,B),I!==null&&(y=o(I,y,_),F===null?D=I:F.sibling=I,F=I);return Qt&&_s(C,_),D}for(N=n(C,N);!I.done;_++,I=M.next())I=b(N,C,_,I.value,B),I!==null&&(e&&I.alternate!==null&&N.delete(I.key===null?_:I.key),y=o(I,y,_),F===null?D=I:F.sibling=I,F=I);return e&&N.forEach(function(m){return t(C,m)}),Qt&&_s(C,_),D}function w(C,y,M,B){if(typeof M=="object"&&M!==null&&M.type===jl&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case X0:e:{for(var D=M.key,F=y;F!==null;){if(F.key===D){if(D=M.type,D===jl){if(F.tag===7){r(C,F.sibling),y=i(F,M.props.children),y.return=C,C=y;break e}}else if(F.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===Ra&&W6(D)===F.type){r(C,F.sibling),y=i(F,M.props),y.ref=Cu(C,F,M),y.return=C,C=y;break e}r(C,F);break}else t(C,F);F=F.sibling}M.type===jl?(y=Vs(M.props.children,C.mode,B,M.key),y.return=C,C=y):(B=Gd(M.type,M.key,M.props,null,C.mode,B),B.ref=Cu(C,y,M),B.return=C,C=B)}return a(C);case zl:e:{for(F=M.key;y!==null;){if(y.key===F)if(y.tag===4&&y.stateNode.containerInfo===M.containerInfo&&y.stateNode.implementation===M.implementation){r(C,y.sibling),y=i(y,M.children||[]),y.return=C,C=y;break e}else{r(C,y);break}else t(C,y);y=y.sibling}y=_m(M,C.mode,B),y.return=C,C=y}return a(C);case Ra:return F=M._init,w(C,y,F(M._payload),B)}if(Gu(M))return p(C,y,M,B);if(vu(M))return v(C,y,M,B);sd(C,M)}return typeof M=="string"&&M!==""||typeof M=="number"?(M=""+M,y!==null&&y.tag===6?(r(C,y.sibling),y=i(y,M),y.return=C,C=y):(r(C,y),y=km(M,C.mode,B),y.return=C,C=y),a(C)):r(C,y)}return w}var Ac=$C(!0),BC=$C(!1),$0={},Po=cs($0),Gf=cs($0),Yf=cs($0);function Os(e){if(e===$0)throw Error(Be(174));return e}function Lb(e,t){switch(Wt(Yf,t),Wt(Gf,e),Wt(Po,$0),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:tv(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=tv(t,e)}Yt(Po),Wt(Po,t)}function kc(){Yt(Po),Yt(Gf),Yt(Yf)}function IC(e){Os(Yf.current);var t=Os(Po.current),r=tv(t,e.type);t!==r&&(Wt(Gf,e),Wt(Po,r))}function Nb(e){Gf.current===e&&(Yt(Po),Yt(Gf))}var rr=cs(0);function _h(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Sm=[];function zb(){for(var e=0;er?r:4,e(!0);var n=Cm.transition;Cm.transition={};try{e(!1),t()}finally{zt=r,Cm.transition=n}}function XC(){return $i().memoizedState}function PL(e,t,r){var n=Ga(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},JC(e))ZC(t,r);else if(r=kC(e,t,r,n),r!==null){var i=vn();so(r,e,n,i),QC(r,t,n)}}function AL(e,t,r){var n=Ga(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(JC(e))ZC(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,r);if(i.hasEagerState=!0,i.eagerState=s,lo(s,a)){var l=t.interleaved;l===null?(i.next=i,Ob(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}r=kC(e,t,i,n),r!==null&&(i=vn(),so(r,e,n,i),QC(r,t,n))}}function JC(e){var t=e.alternate;return e===nr||t!==null&&t===nr}function ZC(e,t){df=Rh=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function QC(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Sb(e,r)}}var Th={readContext:Ti,useCallback:tn,useContext:tn,useEffect:tn,useImperativeHandle:tn,useInsertionEffect:tn,useLayoutEffect:tn,useMemo:tn,useReducer:tn,useRef:tn,useState:tn,useDebugValue:tn,useDeferredValue:tn,useTransition:tn,useMutableSource:tn,useSyncExternalStore:tn,useId:tn,unstable_isNewReconciler:!1},kL={readContext:Ti,useCallback:function(e,t){return mo().memoizedState=[e,t===void 0?null:t],e},useContext:Ti,useEffect:q6,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Wd(4194308,4,VC.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Wd(4194308,4,e,t)},useInsertionEffect:function(e,t){return Wd(4,2,e,t)},useMemo:function(e,t){var r=mo();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=mo();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=PL.bind(null,nr,e),[n.memoizedState,e]},useRef:function(e){var t=mo();return e={current:e},t.memoizedState=e},useState:V6,useDebugValue:Vb,useDeferredValue:function(e){return mo().memoizedState=e},useTransition:function(){var e=V6(!1),t=e[0];return e=ML.bind(null,e[1]),mo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=nr,i=mo();if(Qt){if(r===void 0)throw Error(Be(407));r=r()}else{if(r=t(),Or===null)throw Error(Be(349));tl&30||DC(n,t,r)}i.memoizedState=r;var o={value:r,getSnapshot:t};return i.queue=o,q6(NC.bind(null,n,o,e),[e]),n.flags|=2048,Zf(9,LC.bind(null,n,o,r,t),void 0,null),r},useId:function(){var e=mo(),t=Or.identifierPrefix;if(Qt){var r=Xo,n=Yo;r=(n&~(1<<32-ao(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Xf++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=a.createElement(r,{is:n.is}):(e=a.createElement(r),r==="select"&&(a=e,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):e=a.createElementNS(e,r),e[yo]=t,e[Kf]=n,lE(e,t,!1,!1),t.stateNode=e;e:{switch(a=nv(r,n),r){case"dialog":Gt("cancel",e),Gt("close",e),i=n;break;case"iframe":case"object":case"embed":Gt("load",e),i=n;break;case"video":case"audio":for(i=0;iRc&&(t.flags|=128,n=!0,Eu(o,!1),t.lanes=4194304)}else{if(!n)if(e=_h(a),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Eu(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!Qt)return rn(t),null}else 2*gr()-o.renderingStartTime>Rc&&r!==1073741824&&(t.flags|=128,n=!0,Eu(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(r=o.last,r!==null?r.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=gr(),t.sibling=null,r=rr.current,Wt(rr,n?r&1|2:r&1),t):(rn(t),null);case 22:case 23:return Jb(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Vn&1073741824&&(rn(t),t.subtreeFlags&6&&(t.flags|=8192)):rn(t),null;case 24:return null;case 25:return null}throw Error(Be(156,t.tag))}function OL(e,t){switch(Tb(t),t.tag){case 1:return $n(t.type)&&Sh(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return kc(),Yt(Tn),Yt(un),zb(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Nb(t),null;case 13:if(Yt(rr),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Be(340));Pc()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Yt(rr),null;case 4:return kc(),null;case 10:return Fb(t.type._context),null;case 22:case 23:return Jb(),null;case 24:return null;default:return null}}var cd=!1,an=!1,DL=typeof WeakSet=="function"?WeakSet:Set,et=null;function Xl(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){cr(e,t,n)}else r.current=null}function Rv(e,t,r){try{r()}catch(n){cr(e,t,n)}}var t8=!1;function LL(e,t){if(hv=vh,e=pC(),_b(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break e}var a=0,s=-1,l=-1,c=0,u=0,f=e,d=null;t:for(;;){for(var b;f!==r||i!==0&&f.nodeType!==3||(s=a+i),f!==o||n!==0&&f.nodeType!==3||(l=a+n),f.nodeType===3&&(a+=f.nodeValue.length),(b=f.firstChild)!==null;)d=f,f=b;for(;;){if(f===e)break t;if(d===r&&++c===i&&(s=a),d===o&&++u===n&&(l=a),(b=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=b}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(pv={focusedElem:e,selectionRange:r},vh=!1,et=t;et!==null;)if(t=et,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,et=e;else for(;et!==null;){t=et;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var v=p.memoizedProps,w=p.memoizedState,C=t.stateNode,y=C.getSnapshotBeforeUpdate(t.elementType===t.type?v:Xi(t.type,v),w);C.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var M=t.stateNode.containerInfo;M.nodeType===1?M.textContent="":M.nodeType===9&&M.documentElement&&M.removeChild(M.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Be(163))}}catch(B){cr(t,t.return,B)}if(e=t.sibling,e!==null){e.return=t.return,et=e;break}et=t.return}return p=t8,t8=!1,p}function hf(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Rv(t,r,o)}i=i.next}while(i!==n)}}function u1(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Tv(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function fE(e){var t=e.alternate;t!==null&&(e.alternate=null,fE(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[yo],delete t[Kf],delete t[gv],delete t[yL],delete t[wL])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function dE(e){return e.tag===5||e.tag===3||e.tag===4}function r8(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||dE(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function $v(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=wh));else if(n!==4&&(e=e.child,e!==null))for($v(e,t,r),e=e.sibling;e!==null;)$v(e,t,r),e=e.sibling}function Bv(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Bv(e,t,r),e=e.sibling;e!==null;)Bv(e,t,r),e=e.sibling}var Kr=null,Zi=!1;function Ca(e,t,r){for(r=r.child;r!==null;)hE(e,t,r),r=r.sibling}function hE(e,t,r){if(Mo&&typeof Mo.onCommitFiberUnmount=="function")try{Mo.onCommitFiberUnmount(r1,r)}catch{}switch(r.tag){case 5:an||Xl(r,t);case 6:var n=Kr,i=Zi;Kr=null,Ca(e,t,r),Kr=n,Zi=i,Kr!==null&&(Zi?(e=Kr,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Kr.removeChild(r.stateNode));break;case 18:Kr!==null&&(Zi?(e=Kr,r=r.stateNode,e.nodeType===8?ym(e.parentNode,r):e.nodeType===1&&ym(e,r),Uf(e)):ym(Kr,r.stateNode));break;case 4:n=Kr,i=Zi,Kr=r.stateNode.containerInfo,Zi=!0,Ca(e,t,r),Kr=n,Zi=i;break;case 0:case 11:case 14:case 15:if(!an&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&Rv(r,t,a),i=i.next}while(i!==n)}Ca(e,t,r);break;case 1:if(!an&&(Xl(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){cr(r,t,s)}Ca(e,t,r);break;case 21:Ca(e,t,r);break;case 22:r.mode&1?(an=(n=an)||r.memoizedState!==null,Ca(e,t,r),an=n):Ca(e,t,r);break;default:Ca(e,t,r)}}function n8(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new DL),t.forEach(function(n){var i=KL.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function qi(e,t){var r=t.deletions;if(r!==null)for(var n=0;ni&&(i=a),n&=~o}if(n=i,n=gr()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*zL(n/1960))-n,10e?16:e,Da===null)var n=!1;else{if(e=Da,Da=null,Ih=0,It&6)throw Error(Be(331));var i=It;for(It|=4,et=e.current;et!==null;){var o=et,a=o.child;if(et.flags&16){var s=o.deletions;if(s!==null){for(var l=0;lgr()-Yb?Ws(e,0):Gb|=r),Bn(e,t)}function wE(e,t){t===0&&(e.mode&1?(t=ed,ed<<=1,!(ed&130023424)&&(ed=4194304)):t=1);var r=vn();e=ca(e,t),e!==null&&(_0(e,t,r),Bn(e,r))}function qL(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),wE(e,r)}function KL(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(Be(314))}n!==null&&n.delete(t),wE(e,r)}var SE;SE=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Tn.current)kn=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return kn=!1,IL(e,t,r);kn=!!(e.flags&131072)}else kn=!1,Qt&&t.flags&1048576&&MC(t,Mh,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Vd(e,t),e=t.pendingProps;var i=Mc(t,un.current);fc(t,r),i=Ub(null,t,n,e,i,r);var o=Hb();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,$n(n)?(o=!0,Ch(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Db(t),i.updater=l1,t.stateNode=i,i._reactInternals=t,Cv(t,n,e,r),t=Pv(null,t,n,!0,o,r)):(t.tag=0,Qt&&o&&Rb(t),hn(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Vd(e,t),e=t.pendingProps,i=n._init,n=i(n._payload),t.type=n,i=t.tag=YL(n),e=Xi(n,e),i){case 0:t=Mv(null,t,n,e,r);break e;case 1:t=Z6(null,t,n,e,r);break e;case 11:t=X6(null,t,n,e,r);break e;case 14:t=J6(null,t,n,Xi(n.type,e),r);break e}throw Error(Be(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xi(n,i),Mv(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xi(n,i),Z6(e,t,n,i,r);case 3:e:{if(oE(t),e===null)throw Error(Be(387));n=t.pendingProps,o=t.memoizedState,i=o.element,_C(e,t),kh(t,n,null,r);var a=t.memoizedState;if(n=a.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=_c(Error(Be(423)),t),t=Q6(e,t,n,r,i);break e}else if(n!==i){i=_c(Error(Be(424)),t),t=Q6(e,t,n,r,i);break e}else for(Qn=Va(t.stateNode.containerInfo.firstChild),ti=t,Qt=!0,eo=null,r=BC(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Pc(),n===i){t=ua(e,t,r);break e}hn(e,t,n,r)}t=t.child}return t;case 5:return IC(t),e===null&&yv(t),n=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,xv(n,i)?a=null:o!==null&&xv(n,o)&&(t.flags|=32),iE(e,t),hn(e,t,a,r),t.child;case 6:return e===null&&yv(t),null;case 13:return aE(e,t,r);case 4:return Lb(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Ac(t,null,n,r):hn(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xi(n,i),X6(e,t,n,i,r);case 7:return hn(e,t,t.pendingProps,r),t.child;case 8:return hn(e,t,t.pendingProps.children,r),t.child;case 12:return hn(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,Wt(Ph,n._currentValue),n._currentValue=a,o!==null)if(lo(o.value,a)){if(o.children===i.children&&!Tn.current){t=ua(e,t,r);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===n){if(o.tag===1){l=ta(-1,r&-r),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=r,l=o.alternate,l!==null&&(l.lanes|=r),wv(o.return,r,t),s.lanes|=r;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(Be(341));a.lanes|=r,s=a.alternate,s!==null&&(s.lanes|=r),wv(a,r,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}hn(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,fc(t,r),i=Ti(i),n=n(i),t.flags|=1,hn(e,t,n,r),t.child;case 14:return n=t.type,i=Xi(n,t.pendingProps),i=Xi(n.type,i),J6(e,t,n,i,r);case 15:return rE(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xi(n,i),Vd(e,t),t.tag=1,$n(n)?(e=!0,Ch(t)):e=!1,fc(t,r),TC(t,n,i),Cv(t,n,i,r),Pv(null,t,n,!0,e,r);case 19:return sE(e,t,r);case 22:return nE(e,t,r)}throw Error(Be(156,t.tag))};function CE(e,t){return YS(e,t)}function GL(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Si(e,t,r,n){return new GL(e,t,r,n)}function Qb(e){return e=e.prototype,!(!e||!e.isReactComponent)}function YL(e){if(typeof e=="function")return Qb(e)?1:0;if(e!=null){if(e=e.$$typeof,e===vb)return 11;if(e===bb)return 14}return 2}function Ya(e,t){var r=e.alternate;return r===null?(r=Si(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Gd(e,t,r,n,i,o){var a=2;if(n=e,typeof e=="function")Qb(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case jl:return Vs(r.children,i,o,t);case gb:a=8,i|=8;break;case Kg:return e=Si(12,r,t,i|2),e.elementType=Kg,e.lanes=o,e;case Gg:return e=Si(13,r,t,i),e.elementType=Gg,e.lanes=o,e;case Yg:return e=Si(19,r,t,i),e.elementType=Yg,e.lanes=o,e;case $S:return d1(r,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case RS:a=10;break e;case TS:a=9;break e;case vb:a=11;break e;case bb:a=14;break e;case Ra:a=16,n=null;break e}throw Error(Be(130,e==null?e:typeof e,""))}return t=Si(a,r,t,i),t.elementType=e,t.type=n,t.lanes=o,t}function Vs(e,t,r,n){return e=Si(7,e,n,t),e.lanes=r,e}function d1(e,t,r,n){return e=Si(22,e,n,t),e.elementType=$S,e.lanes=r,e.stateNode={isHidden:!1},e}function km(e,t,r){return e=Si(6,e,null,t),e.lanes=r,e}function _m(e,t,r){return t=Si(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function XL(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=cm(0),this.expirationTimes=cm(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=cm(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function e4(e,t,r,n,i,o,a,s,l){return e=new XL(e,t,r,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Si(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Db(o),e}function JL(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(AE)}catch{}}AE(),MS.exports=si;var g1=MS.exports;const Ju=_r(g1),rN=x9({__proto__:null,default:Ju},[g1]),f8={disabled:!1},Dh=mn.createContext(null);var nN=function(t){return t.scrollTop},Zu="unmounted",Ts="exited",$s="entering",Fl="entered",Lv="exiting",ma=function(e){ES(t,e);function t(n,i){var o;o=e.call(this,n,i)||this;var a=i,s=a&&!a.isMounting?n.enter:n.appear,l;return o.appearStatus=null,n.in?s?(l=Ts,o.appearStatus=$s):l=Fl:n.unmountOnExit||n.mountOnEnter?l=Zu:l=Ts,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===Zu?{status:Ts}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==$s&&a!==Fl&&(o=$s):(a===$s||a===Fl)&&(o=Lv)}this.updateStatus(!1,o)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},r.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===$s){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Ju.findDOMNode(this);a&&nN(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ts&&this.setState({status:Zu})},r.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[Ju.findDOMNode(this),s],c=l[0],u=l[1],f=this.getTimeouts(),d=s?f.appear:f.enter;if(!i&&!a||f8.disabled){this.safeSetState({status:Fl},function(){o.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:$s},function(){o.props.onEntering(c,u),o.onTransitionEnd(d,function(){o.safeSetState({status:Fl},function(){o.props.onEntered(c,u)})})})},r.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:Ju.findDOMNode(this);if(!o||f8.disabled){this.safeSetState({status:Ts},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:Lv},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:Ts},function(){i.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},r.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:Ju.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===Zu)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=Ee(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return mn.createElement(Dh.Provider,{value:null},typeof a=="function"?a(i,s):mn.cloneElement(mn.Children.only(a),s))},t}(mn.Component);ma.contextType=Dh;ma.propTypes={};function _l(){}ma.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:_l,onEntering:_l,onEntered:_l,onExit:_l,onExiting:_l,onExited:_l};ma.UNMOUNTED=Zu;ma.EXITED=Ts;ma.ENTERING=$s;ma.ENTERED=Fl;ma.EXITING=Lv;const i4=ma;function iN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o4(e,t){var r=function(o){return t&&U.isValidElement(o)?t(o):o},n=Object.create(null);return e&&U.Children.map(e,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function oN(e,t){e=e||{},t=t||{};function r(u){return u in t?t[u]:e[u]}var n=Object.create(null),i=[];for(var o in e)o in t?i.length&&(n[o]=i,i=[]):i.push(o);var a,s={};for(var l in t){if(n[l])for(a=0;ae.scrollTop;function Tc(e,t){var r,n;const{timeout:i,easing:o,style:a={}}=e;return{duration:(r=a.transitionDuration)!=null?r:typeof i=="number"?i:i[t.mode]||0,easing:(n=a.transitionTimingFunction)!=null?n:typeof o=="object"?o[t.mode]:o,delay:a.transitionDelay}}function fN(e){return nt("MuiPaper",e)}tt("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const dN=["className","component","elevation","square","variant"],hN=e=>{const{square:t,elevation:r,variant:n,classes:i}=e,o={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return it(o,fN,i)},pN=he("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;return W({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&W({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Ct("#fff",o6(t.elevation))}, ${Ct("#fff",o6(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),xN=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:a=1,square:s=!1,variant:l="elevation"}=n,c=Ee(n,dN),u=W({},n,{component:o,elevation:a,square:s,variant:l}),f=hN(u);return Y.jsx(pN,W({as:o,ownerState:u,className:Se(f.root,i),ref:r},c))}),ga=xN;function il(e){return typeof e=="string"}function Zl(e,t,r){return e===void 0||il(e)?t:W({},t,{ownerState:W({},t.ownerState,r)})}const mN={disableDefaultClasses:!1},gN=U.createContext(mN);function vN(e){const{disableDefaultClasses:t}=U.useContext(gN);return r=>t?"":e(r)}function Lh(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function kE(e,t,r){return typeof e=="function"?e(t,r):e}function d8(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function _E(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:i,className:o}=e;if(!t){const b=Se(r==null?void 0:r.className,o,i==null?void 0:i.className,n==null?void 0:n.className),p=W({},r==null?void 0:r.style,i==null?void 0:i.style,n==null?void 0:n.style),v=W({},r,i,n);return b.length>0&&(v.className=b),Object.keys(p).length>0&&(v.style=p),{props:v,internalRef:void 0}}const a=Lh(W({},i,n)),s=d8(n),l=d8(i),c=t(a),u=Se(c==null?void 0:c.className,r==null?void 0:r.className,o,i==null?void 0:i.className,n==null?void 0:n.className),f=W({},c==null?void 0:c.style,r==null?void 0:r.style,i==null?void 0:i.style,n==null?void 0:n.style),d=W({},c,r,l,s);return u.length>0&&(d.className=u),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:c.ref}}const bN=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Nn(e){var t;const{elementType:r,externalSlotProps:n,ownerState:i,skipResolvingSlotProps:o=!1}=e,a=Ee(e,bN),s=o?{}:kE(n,i),{props:l,internalRef:c}=_E(W({},a,{externalSlotProps:s})),u=Vt(c,s==null?void 0:s.ref,(t=e.additionalProps)==null?void 0:t.ref);return Zl(r,W({},l,{ref:u}),i)}const yN=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],wN=["component","slots","slotProps"],SN=["component"];function Nv(e,t){const{className:r,elementType:n,ownerState:i,externalForwardedProps:o,getSlotOwnerState:a,internalForwardedProps:s}=t,l=Ee(t,yN),{component:c,slots:u={[e]:void 0},slotProps:f={[e]:void 0}}=o,d=Ee(o,wN),b=u[e]||n,p=kE(f[e],i),v=_E(W({className:r},l,{externalForwardedProps:e==="root"?d:void 0,externalSlotProps:p})),{props:{component:w},internalRef:C}=v,y=Ee(v.props,SN),M=Vt(C,p==null?void 0:p.ref,t.ref),B=a?a(y):{},D=W({},i,B),F=e==="root"?w||c:w,N=Zl(b,W({},e==="root"&&!c&&!u[e]&&s,e!=="root"&&!u[e]&&s,y,F&&{as:F},{ref:M}),D);return Object.keys(B).forEach(_=>{delete N[_]}),[b,N]}function CN(e){const{className:t,classes:r,pulsate:n=!1,rippleX:i,rippleY:o,rippleSize:a,in:s,onExited:l,timeout:c}=e,[u,f]=U.useState(!1),d=Se(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),b={width:a,height:a,top:-(a/2)+o,left:-(a/2)+i},p=Se(r.child,u&&r.childLeaving,n&&r.childPulsate);return!s&&!u&&f(!0),U.useEffect(()=>{if(!s&&l!=null){const v=setTimeout(l,c);return()=>{clearTimeout(v)}}},[l,s,c]),Y.jsx("span",{className:d,style:b,children:Y.jsx("span",{className:p})})}const gi=tt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),EN=["center","classes","className"];let v1=e=>e,h8,p8,x8,m8;const zv=550,MN=80,PN=ss(h8||(h8=v1` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`)),AN=ss(p8||(p8=v1` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`)),kN=ss(x8||(x8=v1` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`)),_N=he("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),RN=he(CN,{name:"MuiTouchRipple",slot:"Ripple"})(m8||(m8=v1` - opacity: 0; - position: absolute; - - &.${0} { - opacity: 0.3; - transform: scale(1); - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - &.${0} { - animation-duration: ${0}ms; - } - - & .${0} { - opacity: 1; - display: block; - width: 100%; - height: 100%; - border-radius: 50%; - background-color: currentColor; - } - - & .${0} { - opacity: 0; - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - & .${0} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${0}; - animation-duration: 2500ms; - animation-timing-function: ${0}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`),gi.rippleVisible,PN,zv,({theme:e})=>e.transitions.easing.easeInOut,gi.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,gi.child,gi.childLeaving,AN,zv,({theme:e})=>e.transitions.easing.easeInOut,gi.childPulsate,kN,({theme:e})=>e.transitions.easing.easeInOut),TN=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:a}=n,s=Ee(n,EN),[l,c]=U.useState([]),u=U.useRef(0),f=U.useRef(null);U.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const d=U.useRef(!1),b=Bs(),p=U.useRef(null),v=U.useRef(null),w=U.useCallback(B=>{const{pulsate:D,rippleX:F,rippleY:N,rippleSize:_,cb:L}=B;c(I=>[...I,Y.jsx(RN,{classes:{ripple:Se(o.ripple,gi.ripple),rippleVisible:Se(o.rippleVisible,gi.rippleVisible),ripplePulsate:Se(o.ripplePulsate,gi.ripplePulsate),child:Se(o.child,gi.child),childLeaving:Se(o.childLeaving,gi.childLeaving),childPulsate:Se(o.childPulsate,gi.childPulsate)},timeout:zv,pulsate:D,rippleX:F,rippleY:N,rippleSize:_},u.current)]),u.current+=1,f.current=L},[o]),C=U.useCallback((B={},D={},F=()=>{})=>{const{pulsate:N=!1,center:_=i||D.pulsate,fakeElement:L=!1}=D;if((B==null?void 0:B.type)==="mousedown"&&d.current){d.current=!1;return}(B==null?void 0:B.type)==="touchstart"&&(d.current=!0);const I=L?null:v.current,R=I?I.getBoundingClientRect():{width:0,height:0,left:0,top:0};let m,g,h;if(_||B===void 0||B.clientX===0&&B.clientY===0||!B.clientX&&!B.touches)m=Math.round(R.width/2),g=Math.round(R.height/2);else{const{clientX:x,clientY:S}=B.touches&&B.touches.length>0?B.touches[0]:B;m=Math.round(x-R.left),g=Math.round(S-R.top)}if(_)h=Math.sqrt((2*R.width**2+R.height**2)/3),h%2===0&&(h+=1);else{const x=Math.max(Math.abs((I?I.clientWidth:0)-m),m)*2+2,S=Math.max(Math.abs((I?I.clientHeight:0)-g),g)*2+2;h=Math.sqrt(x**2+S**2)}B!=null&&B.touches?p.current===null&&(p.current=()=>{w({pulsate:N,rippleX:m,rippleY:g,rippleSize:h,cb:F})},b.start(MN,()=>{p.current&&(p.current(),p.current=null)})):w({pulsate:N,rippleX:m,rippleY:g,rippleSize:h,cb:F})},[i,w,b]),y=U.useCallback(()=>{C({},{pulsate:!0})},[C]),M=U.useCallback((B,D)=>{if(b.clear(),(B==null?void 0:B.type)==="touchend"&&p.current){p.current(),p.current=null,b.start(0,()=>{M(B,D)});return}p.current=null,c(F=>F.length>0?F.slice(1):F),f.current=D},[b]);return U.useImperativeHandle(r,()=>({pulsate:y,start:C,stop:M}),[y,C,M]),Y.jsx(_N,W({className:Se(gi.root,o.root,a),ref:v},s,{children:Y.jsx(uN,{component:null,exit:!0,children:l})}))}),$N=TN;function BN(e){return nt("MuiButtonBase",e)}const IN=tt("MuiButtonBase",["root","disabled","focusVisible"]),FN=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],ON=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:i}=e,a=it({root:["root",t&&"disabled",r&&"focusVisible"]},BN,i);return r&&n&&(a.root+=` ${n}`),a},DN=he("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${IN.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),LN=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:b="a",onBlur:p,onClick:v,onContextMenu:w,onDragLeave:C,onFocus:y,onFocusVisible:M,onKeyDown:B,onKeyUp:D,onMouseDown:F,onMouseLeave:N,onMouseUp:_,onTouchEnd:L,onTouchMove:I,onTouchStart:R,tabIndex:m=0,TouchRippleProps:g,touchRippleRef:h,type:x}=n,S=Ee(n,FN),T=U.useRef(null),k=U.useRef(null),$=Vt(k,h),{isFocusVisibleRef:P,onFocus:E,onBlur:A,ref:z}=cb(),[H,O]=U.useState(!1);c&&H&&O(!1),U.useImperativeHandle(i,()=>({focusVisible:()=>{O(!0),T.current.focus()}}),[]);const[V,X]=U.useState(!1);U.useEffect(()=>{X(!0)},[]);const J=V&&!u&&!c;U.useEffect(()=>{H&&d&&!u&&V&&k.current.pulsate()},[u,d,H,V]);function G(de,Ie,ot=f){return Pr(lt=>(Ie&&Ie(lt),!ot&&k.current&&k.current[de](lt),!0))}const j=G("start",F),q=G("stop",w),K=G("stop",C),Z=G("stop",_),te=G("stop",de=>{H&&de.preventDefault(),N&&N(de)}),Q=G("start",R),oe=G("stop",L),me=G("stop",I),se=G("stop",de=>{A(de),P.current===!1&&O(!1),p&&p(de)},!1),ye=Pr(de=>{T.current||(T.current=de.currentTarget),E(de),P.current===!0&&(O(!0),M&&M(de)),y&&y(de)}),Re=()=>{const de=T.current;return l&&l!=="button"&&!(de.tagName==="A"&&de.href)},we=U.useRef(!1),He=Pr(de=>{d&&!we.current&&H&&k.current&&de.key===" "&&(we.current=!0,k.current.stop(de,()=>{k.current.start(de)})),de.target===de.currentTarget&&Re()&&de.key===" "&&de.preventDefault(),B&&B(de),de.target===de.currentTarget&&Re()&&de.key==="Enter"&&!c&&(de.preventDefault(),v&&v(de))}),Ue=Pr(de=>{d&&de.key===" "&&k.current&&H&&!de.defaultPrevented&&(we.current=!1,k.current.stop(de,()=>{k.current.pulsate(de)})),D&&D(de),v&&de.target===de.currentTarget&&Re()&&de.key===" "&&!de.defaultPrevented&&v(de)});let Me=l;Me==="button"&&(S.href||S.to)&&(Me=b);const Ze={};Me==="button"?(Ze.type=x===void 0?"button":x,Ze.disabled=c):(!S.href&&!S.to&&(Ze.role="button"),c&&(Ze["aria-disabled"]=c));const Je=Vt(r,z,T),Ne=W({},n,{centerRipple:o,component:l,disabled:c,disableRipple:u,disableTouchRipple:f,focusRipple:d,tabIndex:m,focusVisible:H}),De=ON(Ne);return Y.jsxs(DN,W({as:Me,className:Se(De.root,s),ownerState:Ne,onBlur:se,onClick:v,onContextMenu:q,onFocus:ye,onKeyDown:He,onKeyUp:Ue,onMouseDown:j,onMouseLeave:te,onMouseUp:Z,onDragLeave:K,onTouchEnd:oe,onTouchMove:me,onTouchStart:Q,ref:Je,tabIndex:c?-1:m,type:x},Ze,S,{children:[a,J?Y.jsx($N,W({ref:$,center:o},g)):null]}))}),co=LN;function NN(e){return nt("MuiAlert",e)}const zN=tt("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),g8=zN;function jN(e){return nt("MuiIconButton",e)}const UN=tt("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),HN=["edge","children","className","color","disabled","disableFocusRipple","size"],WN=e=>{const{classes:t,disabled:r,color:n,edge:i,size:o}=e,a={root:["root",r&&"disabled",n!=="default"&&`color${ue(n)}`,i&&`edge${ue(i)}`,`size${ue(o)}`]};return it(a,jN,t)},VN=he(co,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${ue(r.color)}`],r.edge&&t[`edge${ue(r.edge)}`],t[`size${ue(r.size)}`]]}})(({theme:e,ownerState:t})=>W({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Ct(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var r;const n=(r=(e.vars||e).palette)==null?void 0:r[t.color];return W({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&W({color:n==null?void 0:n.main},!t.disableRipple&&{"&:hover":W({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ct(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${UN.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),qN=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiIconButton"}),{edge:i=!1,children:o,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:u="medium"}=n,f=Ee(n,HN),d=W({},n,{edge:i,color:s,disabled:l,disableFocusRipple:c,size:u}),b=WN(d);return Y.jsx(VN,W({className:Se(b.root,a),centerRipple:!0,focusRipple:!c,disabled:l,ref:r},f,{ownerState:d,children:o}))}),Ls=qN,KN=fn(Y.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),GN=fn(Y.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),YN=fn(Y.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),XN=fn(Y.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),RE=fn(Y.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),JN=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],ZN=t1(),QN=e=>{const{variant:t,color:r,severity:n,classes:i}=e,o={root:["root",`color${ue(r||n)}`,`${t}${ue(r||n)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return it(o,NN,i)},ez=he(ga,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${ue(r.color||r.severity)}`]]}})(({theme:e})=>{const t=e.palette.mode==="light"?uh:fh,r=e.palette.mode==="light"?fh:uh;return W({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(([,n])=>n.main&&n.light).map(([n])=>({props:{colorSeverity:n,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${n}StandardBg`]:r(e.palette[n].light,.9),[`& .${g8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(([,n])=>n.main&&n.light).map(([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),border:`1px solid ${(e.vars||e).palette[n].light}`,[`& .${g8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(([,n])=>n.main&&n.dark).map(([n])=>({props:{colorSeverity:n,variant:"filled"},style:W({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${n}FilledColor`],backgroundColor:e.vars.palette.Alert[`${n}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[n].dark:e.palette[n].main,color:e.palette.getContrastText(e.palette[n].main)})}))]})}),tz=he("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),rz=he("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),v8=he("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),b8={success:Y.jsx(KN,{fontSize:"inherit"}),warning:Y.jsx(GN,{fontSize:"inherit"}),error:Y.jsx(YN,{fontSize:"inherit"}),info:Y.jsx(XN,{fontSize:"inherit"})},nz=U.forwardRef(function(t,r){const n=ZN({props:t,name:"MuiAlert"}),{action:i,children:o,className:a,closeText:s="Close",color:l,components:c={},componentsProps:u={},icon:f,iconMapping:d=b8,onClose:b,role:p="alert",severity:v="success",slotProps:w={},slots:C={},variant:y="standard"}=n,M=Ee(n,JN),B=W({},n,{color:l,severity:v,variant:y,colorSeverity:l||v}),D=QN(B),F={slots:W({closeButton:c.CloseButton,closeIcon:c.CloseIcon},C),slotProps:W({},u,w)},[N,_]=Nv("closeButton",{elementType:Ls,externalForwardedProps:F,ownerState:B}),[L,I]=Nv("closeIcon",{elementType:RE,externalForwardedProps:F,ownerState:B});return Y.jsxs(ez,W({role:p,elevation:0,ownerState:B,className:Se(D.root,a),ref:r},M,{children:[f!==!1?Y.jsx(tz,{ownerState:B,className:D.icon,children:f||d[v]||b8[v]}):null,Y.jsx(rz,{ownerState:B,className:D.message,children:o}),i!=null?Y.jsx(v8,{ownerState:B,className:D.action,children:i}):null,i==null&&b?Y.jsx(v8,{ownerState:B,className:D.action,children:Y.jsx(N,W({size:"small","aria-label":s,title:s,color:"inherit",onClick:b},_,{children:Y.jsx(L,W({fontSize:"small"},I))}))}):null]}))}),Xce=nz;function iz(e){return nt("MuiTypography",e)}tt("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const oz=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],az=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:i,variant:o,classes:a}=e,s={root:["root",o,e.align!=="inherit"&&`align${ue(t)}`,r&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return it(s,iz,a)},sz=he("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${ue(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>W({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),y8={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},lz={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},cz=e=>lz[e]||e,uz=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTypography"}),i=cz(n.color),o=P0(W({},n,{color:i})),{align:a="inherit",className:s,component:l,gutterBottom:c=!1,noWrap:u=!1,paragraph:f=!1,variant:d="body1",variantMapping:b=y8}=o,p=Ee(o,oz),v=W({},o,{align:a,color:i,className:s,component:l,gutterBottom:c,noWrap:u,paragraph:f,variant:d,variantMapping:b}),w=l||(f?"p":b[d]||y8[d])||"span",C=az(v);return Y.jsx(sz,W({as:w,ref:r,ownerState:v,className:Se(C.root,s)},p))}),La=uz;function fz(e){return nt("MuiAppBar",e)}tt("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const dz=["className","color","enableColorOnDark","position"],hz=e=>{const{color:t,position:r,classes:n}=e,i={root:["root",`color${ue(t)}`,`position${ue(r)}`]};return it(i,fz,n)},dd=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,pz=he(ga,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${ue(r.position)}`],t[`color${ue(r.color)}`]]}})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return W({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&W({},t.color==="default"&&{backgroundColor:r,color:e.palette.getContrastText(r)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&W({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&W({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:dd(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:dd(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:dd(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:dd(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),xz=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiAppBar"}),{className:i,color:o="primary",enableColorOnDark:a=!1,position:s="fixed"}=n,l=Ee(n,dz),c=W({},n,{color:o,position:s,enableColorOnDark:a}),u=hz(c);return Y.jsx(pz,W({square:!0,component:"header",ownerState:c,elevation:4,className:Se(u.root,i,s==="fixed"&&"mui-fixed"),ref:r},l))}),Jce=xz;function mz(e){const{badgeContent:t,invisible:r=!1,max:n=99,showZero:i=!1}=e,o=ub({badgeContent:t,max:n});let a=r;r===!1&&t===0&&!i&&(a=!0);const{badgeContent:s,max:l=n}=a?o:e,c=s&&Number(s)>l?`${l}+`:s;return{badgeContent:s,invisible:a,max:l,displayValue:c}}const TE="base";function gz(e){return`${TE}--${e}`}function vz(e,t){return`${TE}-${e}-${t}`}function $E(e,t){const r=Zw[t];return r?gz(r):vz(e,t)}function bz(e,t){const r={};return t.forEach(n=>{r[n]=$E(e,n)}),r}function w8(e){return e.substring(2).toLowerCase()}function yz(e,t){return t.documentElement.clientWidth(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const u=Vt(t.ref,s),f=Pr(p=>{const v=c.current;c.current=!1;const w=Er(s.current);if(!l.current||!s.current||"clientX"in p&&yz(p,w))return;if(a.current){a.current=!1;return}let C;p.composedPath?C=p.composedPath().indexOf(s.current)>-1:C=!w.documentElement.contains(p.target)||s.current.contains(p.target),!C&&(r||!v)&&i(p)}),d=p=>v=>{c.current=!0;const w=t.props[p];w&&w(v)},b={ref:u};return o!==!1&&(b[o]=d(o)),U.useEffect(()=>{if(o!==!1){const p=w8(o),v=Er(s.current),w=()=>{a.current=!0};return v.addEventListener(p,f),v.addEventListener("touchmove",w),()=>{v.removeEventListener(p,f),v.removeEventListener("touchmove",w)}}},[f,o]),n!==!1&&(b[n]=d(n)),U.useEffect(()=>{if(n!==!1){const p=w8(n),v=Er(s.current);return v.addEventListener(p,f),()=>{v.removeEventListener(p,f)}}},[f,n]),Y.jsx(U.Fragment,{children:U.cloneElement(t,b)})}const Sz=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Cz(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Ez(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function Mz(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Ez(e))}function Pz(e){const t=[],r=[];return Array.from(e.querySelectorAll(Sz)).forEach((n,i)=>{const o=Cz(n);o===-1||!Mz(n)||(o===0?t.push(n):r.push({documentOrder:i,tabIndex:o,node:n}))}),r.sort((n,i)=>n.tabIndex===i.tabIndex?n.documentOrder-i.documentOrder:n.tabIndex-i.tabIndex).map(n=>n.node).concat(t)}function Az(){return!0}function kz(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:i=!1,getTabbable:o=Pz,isEnabled:a=Az,open:s}=e,l=U.useRef(!1),c=U.useRef(null),u=U.useRef(null),f=U.useRef(null),d=U.useRef(null),b=U.useRef(!1),p=U.useRef(null),v=Vt(t.ref,p),w=U.useRef(null);U.useEffect(()=>{!s||!p.current||(b.current=!r)},[r,s]),U.useEffect(()=>{if(!s||!p.current)return;const M=Er(p.current);return p.current.contains(M.activeElement)||(p.current.hasAttribute("tabIndex")||p.current.setAttribute("tabIndex","-1"),b.current&&p.current.focus()),()=>{i||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[s]),U.useEffect(()=>{if(!s||!p.current)return;const M=Er(p.current),B=N=>{w.current=N,!(n||!a()||N.key!=="Tab")&&M.activeElement===p.current&&N.shiftKey&&(l.current=!0,u.current&&u.current.focus())},D=()=>{const N=p.current;if(N===null)return;if(!M.hasFocus()||!a()||l.current){l.current=!1;return}if(N.contains(M.activeElement)||n&&M.activeElement!==c.current&&M.activeElement!==u.current)return;if(M.activeElement!==d.current)d.current=null;else if(d.current!==null)return;if(!b.current)return;let _=[];if((M.activeElement===c.current||M.activeElement===u.current)&&(_=o(p.current)),_.length>0){var L,I;const R=!!((L=w.current)!=null&&L.shiftKey&&((I=w.current)==null?void 0:I.key)==="Tab"),m=_[0],g=_[_.length-1];typeof m!="string"&&typeof g!="string"&&(R?g.focus():m.focus())}else N.focus()};M.addEventListener("focusin",D),M.addEventListener("keydown",B,!0);const F=setInterval(()=>{M.activeElement&&M.activeElement.tagName==="BODY"&&D()},50);return()=>{clearInterval(F),M.removeEventListener("focusin",D),M.removeEventListener("keydown",B,!0)}},[r,n,i,a,s,o]);const C=M=>{f.current===null&&(f.current=M.relatedTarget),b.current=!0,d.current=M.target;const B=t.props.onFocus;B&&B(M)},y=M=>{f.current===null&&(f.current=M.relatedTarget),b.current=!0};return Y.jsxs(U.Fragment,{children:[Y.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:c,"data-testid":"sentinelStart"}),U.cloneElement(t,{ref:v,onFocus:C}),Y.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:u,"data-testid":"sentinelEnd"})]})}function _z(e){return typeof e=="function"?e():e}const BE=U.forwardRef(function(t,r){const{children:n,container:i,disablePortal:o=!1}=t,[a,s]=U.useState(null),l=Vt(U.isValidElement(n)?n.ref:null,r);if(bn(()=>{o||s(_z(i)||document.body)},[i,o]),bn(()=>{if(a&&!o)return Ff(r,a),()=>{Ff(r,null)}},[r,a,o]),o){if(U.isValidElement(n)){const c={ref:l};return U.cloneElement(n,c)}return Y.jsx(U.Fragment,{children:n})}return Y.jsx(U.Fragment,{children:a&&g1.createPortal(n,a)})});function Rz(e){const t=Er(e);return t.body===e?_i(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function mf(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function S8(e){return parseInt(_i(e).getComputedStyle(e).paddingRight,10)||0}function Tz(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function C8(e,t,r,n,i){const o=[t,r,...n];[].forEach.call(e.children,a=>{const s=o.indexOf(a)===-1,l=!Tz(a);s&&l&&mf(a,i)})}function Rm(e,t){let r=-1;return e.some((n,i)=>t(n)?(r=i,!0):!1),r}function $z(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(Rz(n)){const a=lS(Er(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${S8(n)+a}px`;const s=Er(n).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{r.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${S8(l)+a}px`})}let o;if(n.parentNode instanceof DocumentFragment)o=Er(n).body;else{const a=n.parentElement,s=_i(n);o=(a==null?void 0:a.nodeName)==="HTML"&&s.getComputedStyle(a).overflowY==="scroll"?a:n}r.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{r.forEach(({value:o,el:a,property:s})=>{o?a.style.setProperty(s,o):a.style.removeProperty(s)})}}function Bz(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class Iz{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&mf(t.modalRef,!1);const i=Bz(r);C8(r,t.mount,t.modalRef,i,!0);const o=Rm(this.containers,a=>a.container===r);return o!==-1?(this.containers[o].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:i}),n)}mount(t,r){const n=Rm(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[n];i.restore||(i.restore=$z(i,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const i=Rm(this.containers,a=>a.modals.indexOf(t)!==-1),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(t),1),this.modals.splice(n,1),o.modals.length===0)o.restore&&o.restore(),t.modalRef&&mf(t.modalRef,r),C8(o.container,t.mount,t.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const a=o.modals[o.modals.length-1];a.modalRef&&mf(a.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function Fz(e){return typeof e=="function"?e():e}function Oz(e){return e?e.props.hasOwnProperty("in"):!1}const Dz=new Iz;function Lz(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:i=Dz,closeAfterTransition:o=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:c,open:u,rootRef:f}=e,d=U.useRef({}),b=U.useRef(null),p=U.useRef(null),v=Vt(p,f),[w,C]=U.useState(!u),y=Oz(l);let M=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(M=!1);const B=()=>Er(b.current),D=()=>(d.current.modalRef=p.current,d.current.mount=b.current,d.current),F=()=>{i.mount(D(),{disableScrollLock:n}),p.current&&(p.current.scrollTop=0)},N=Pr(()=>{const S=Fz(t)||B().body;i.add(D(),S),p.current&&F()}),_=U.useCallback(()=>i.isTopModal(D()),[i]),L=Pr(S=>{b.current=S,S&&(u&&_()?F():p.current&&mf(p.current,M))}),I=U.useCallback(()=>{i.remove(D(),M)},[M,i]);U.useEffect(()=>()=>{I()},[I]),U.useEffect(()=>{u?N():(!y||!o)&&I()},[u,I,y,o,N]);const R=S=>T=>{var k;(k=S.onKeyDown)==null||k.call(S,T),!(T.key!=="Escape"||T.which===229||!_())&&(r||(T.stopPropagation(),c&&c(T,"escapeKeyDown")))},m=S=>T=>{var k;(k=S.onClick)==null||k.call(S,T),T.target===T.currentTarget&&c&&c(T,"backdropClick")};return{getRootProps:(S={})=>{const T=Lh(e);delete T.onTransitionEnter,delete T.onTransitionExited;const k=W({},T,S);return W({role:"presentation"},k,{onKeyDown:R(k),ref:v})},getBackdropProps:(S={})=>{const T=S;return W({"aria-hidden":!0},T,{onClick:m(T),open:u})},getTransitionProps:()=>{const S=()=>{C(!1),a&&a()},T=()=>{C(!0),s&&s(),o&&I()};return{onEnter:jg(S,l==null?void 0:l.props.onEnter),onExited:jg(T,l==null?void 0:l.props.onExited)}},rootRef:v,portalRef:L,isTopModal:_,exited:w,hasTransition:y}}var In="top",Bi="bottom",Ii="right",Fn="left",l4="auto",B0=[In,Bi,Ii,Fn],$c="start",e0="end",Nz="clippingParents",IE="viewport",Pu="popper",zz="reference",E8=B0.reduce(function(e,t){return e.concat([t+"-"+$c,t+"-"+e0])},[]),FE=[].concat(B0,[l4]).reduce(function(e,t){return e.concat([t,t+"-"+$c,t+"-"+e0])},[]),jz="beforeRead",Uz="read",Hz="afterRead",Wz="beforeMain",Vz="main",qz="afterMain",Kz="beforeWrite",Gz="write",Yz="afterWrite",Xz=[jz,Uz,Hz,Wz,Vz,qz,Kz,Gz,Yz];function To(e){return e?(e.nodeName||"").toLowerCase():null}function oi(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ol(e){var t=oi(e).Element;return e instanceof t||e instanceof Element}function Ai(e){var t=oi(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function c4(e){if(typeof ShadowRoot>"u")return!1;var t=oi(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Jz(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},o=t.elements[r];!Ai(o)||!To(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function Zz(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],o=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=a.reduce(function(l,c){return l[c]="",l},{});!Ai(i)||!To(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const Qz={name:"applyStyles",enabled:!0,phase:"write",fn:Jz,effect:Zz,requires:["computeStyles"]};function Ao(e){return e.split("-")[0]}var qs=Math.max,Nh=Math.min,Bc=Math.round;function jv(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function OE(){return!/^((?!chrome|android).)*safari/i.test(jv())}function Ic(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,o=1;t&&Ai(e)&&(i=e.offsetWidth>0&&Bc(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Bc(n.height)/e.offsetHeight||1);var a=ol(e)?oi(e):window,s=a.visualViewport,l=!OE()&&r,c=(n.left+(l&&s?s.offsetLeft:0))/i,u=(n.top+(l&&s?s.offsetTop:0))/o,f=n.width/i,d=n.height/o;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c,x:c,y:u}}function u4(e){var t=Ic(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function DE(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&c4(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function fa(e){return oi(e).getComputedStyle(e)}function ej(e){return["table","td","th"].indexOf(To(e))>=0}function fs(e){return((ol(e)?e.ownerDocument:e.document)||window.document).documentElement}function b1(e){return To(e)==="html"?e:e.assignedSlot||e.parentNode||(c4(e)?e.host:null)||fs(e)}function M8(e){return!Ai(e)||fa(e).position==="fixed"?null:e.offsetParent}function tj(e){var t=/firefox/i.test(jv()),r=/Trident/i.test(jv());if(r&&Ai(e)){var n=fa(e);if(n.position==="fixed")return null}var i=b1(e);for(c4(i)&&(i=i.host);Ai(i)&&["html","body"].indexOf(To(i))<0;){var o=fa(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function I0(e){for(var t=oi(e),r=M8(e);r&&ej(r)&&fa(r).position==="static";)r=M8(r);return r&&(To(r)==="html"||To(r)==="body"&&fa(r).position==="static")?t:r||tj(e)||t}function f4(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function gf(e,t,r){return qs(e,Nh(t,r))}function rj(e,t,r){var n=gf(e,t,r);return n>r?r:n}function LE(){return{top:0,right:0,bottom:0,left:0}}function NE(e){return Object.assign({},LE(),e)}function zE(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var nj=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,NE(typeof t!="number"?t:zE(t,B0))};function ij(e){var t,r=e.state,n=e.name,i=e.options,o=r.elements.arrow,a=r.modifiersData.popperOffsets,s=Ao(r.placement),l=f4(s),c=[Fn,Ii].indexOf(s)>=0,u=c?"height":"width";if(!(!o||!a)){var f=nj(i.padding,r),d=u4(o),b=l==="y"?In:Fn,p=l==="y"?Bi:Ii,v=r.rects.reference[u]+r.rects.reference[l]-a[l]-r.rects.popper[u],w=a[l]-r.rects.reference[l],C=I0(o),y=C?l==="y"?C.clientHeight||0:C.clientWidth||0:0,M=v/2-w/2,B=f[b],D=y-d[u]-f[p],F=y/2-d[u]/2+M,N=gf(B,F,D),_=l;r.modifiersData[n]=(t={},t[_]=N,t.centerOffset=N-F,t)}}function oj(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||DE(t.elements.popper,i)&&(t.elements.arrow=i))}const aj={name:"arrow",enabled:!0,phase:"main",fn:ij,effect:oj,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Fc(e){return e.split("-")[1]}var sj={top:"auto",right:"auto",bottom:"auto",left:"auto"};function lj(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:Bc(r*i)/i||0,y:Bc(n*i)/i||0}}function P8(e){var t,r=e.popper,n=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=a.x,b=d===void 0?0:d,p=a.y,v=p===void 0?0:p,w=typeof u=="function"?u({x:b,y:v}):{x:b,y:v};b=w.x,v=w.y;var C=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),M=Fn,B=In,D=window;if(c){var F=I0(r),N="clientHeight",_="clientWidth";if(F===oi(r)&&(F=fs(r),fa(F).position!=="static"&&s==="absolute"&&(N="scrollHeight",_="scrollWidth")),F=F,i===In||(i===Fn||i===Ii)&&o===e0){B=Bi;var L=f&&F===D&&D.visualViewport?D.visualViewport.height:F[N];v-=L-n.height,v*=l?1:-1}if(i===Fn||(i===In||i===Bi)&&o===e0){M=Ii;var I=f&&F===D&&D.visualViewport?D.visualViewport.width:F[_];b-=I-n.width,b*=l?1:-1}}var R=Object.assign({position:s},c&&sj),m=u===!0?lj({x:b,y:v},oi(r)):{x:b,y:v};if(b=m.x,v=m.y,l){var g;return Object.assign({},R,(g={},g[B]=y?"0":"",g[M]=C?"0":"",g.transform=(D.devicePixelRatio||1)<=1?"translate("+b+"px, "+v+"px)":"translate3d("+b+"px, "+v+"px, 0)",g))}return Object.assign({},R,(t={},t[B]=y?v+"px":"",t[M]=C?b+"px":"",t.transform="",t))}function cj(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,o=r.adaptive,a=o===void 0?!0:o,s=r.roundOffsets,l=s===void 0?!0:s,c={placement:Ao(t.placement),variation:Fc(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,P8(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,P8(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const uj={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:cj,data:{}};var hd={passive:!0};function fj(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=i===void 0?!0:i,a=n.resize,s=a===void 0?!0:a,l=oi(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",r.update,hd)}),s&&l.addEventListener("resize",r.update,hd),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",r.update,hd)}),s&&l.removeEventListener("resize",r.update,hd)}}const dj={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:fj,data:{}};var hj={left:"right",right:"left",bottom:"top",top:"bottom"};function Yd(e){return e.replace(/left|right|bottom|top/g,function(t){return hj[t]})}var pj={start:"end",end:"start"};function A8(e){return e.replace(/start|end/g,function(t){return pj[t]})}function d4(e){var t=oi(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function h4(e){return Ic(fs(e)).left+d4(e).scrollLeft}function xj(e,t){var r=oi(e),n=fs(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=OE();(c||!c&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+h4(e),y:l}}function mj(e){var t,r=fs(e),n=d4(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=qs(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=qs(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-n.scrollLeft+h4(e),l=-n.scrollTop;return fa(i||r).direction==="rtl"&&(s+=qs(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function p4(e){var t=fa(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function jE(e){return["html","body","#document"].indexOf(To(e))>=0?e.ownerDocument.body:Ai(e)&&p4(e)?e:jE(b1(e))}function vf(e,t){var r;t===void 0&&(t=[]);var n=jE(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),o=oi(n),a=i?[o].concat(o.visualViewport||[],p4(n)?n:[]):n,s=t.concat(a);return i?s:s.concat(vf(b1(a)))}function Uv(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function gj(e,t){var r=Ic(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function k8(e,t,r){return t===IE?Uv(xj(e,r)):ol(t)?gj(t,r):Uv(mj(fs(e)))}function vj(e){var t=vf(b1(e)),r=["absolute","fixed"].indexOf(fa(e).position)>=0,n=r&&Ai(e)?I0(e):e;return ol(n)?t.filter(function(i){return ol(i)&&DE(i,n)&&To(i)!=="body"}):[]}function bj(e,t,r,n){var i=t==="clippingParents"?vj(e):[].concat(t),o=[].concat(i,[r]),a=o[0],s=o.reduce(function(l,c){var u=k8(e,c,n);return l.top=qs(u.top,l.top),l.right=Nh(u.right,l.right),l.bottom=Nh(u.bottom,l.bottom),l.left=qs(u.left,l.left),l},k8(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function UE(e){var t=e.reference,r=e.element,n=e.placement,i=n?Ao(n):null,o=n?Fc(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,l;switch(i){case In:l={x:a,y:t.y-r.height};break;case Bi:l={x:a,y:t.y+t.height};break;case Ii:l={x:t.x+t.width,y:s};break;case Fn:l={x:t.x-r.width,y:s};break;default:l={x:t.x,y:t.y}}var c=i?f4(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case $c:l[c]=l[c]-(t[u]/2-r[u]/2);break;case e0:l[c]=l[c]+(t[u]/2-r[u]/2);break}}return l}function t0(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,o=r.strategy,a=o===void 0?e.strategy:o,s=r.boundary,l=s===void 0?Nz:s,c=r.rootBoundary,u=c===void 0?IE:c,f=r.elementContext,d=f===void 0?Pu:f,b=r.altBoundary,p=b===void 0?!1:b,v=r.padding,w=v===void 0?0:v,C=NE(typeof w!="number"?w:zE(w,B0)),y=d===Pu?zz:Pu,M=e.rects.popper,B=e.elements[p?y:d],D=bj(ol(B)?B:B.contextElement||fs(e.elements.popper),l,u,a),F=Ic(e.elements.reference),N=UE({reference:F,element:M,strategy:"absolute",placement:i}),_=Uv(Object.assign({},M,N)),L=d===Pu?_:F,I={top:D.top-L.top+C.top,bottom:L.bottom-D.bottom+C.bottom,left:D.left-L.left+C.left,right:L.right-D.right+C.right},R=e.modifiersData.offset;if(d===Pu&&R){var m=R[i];Object.keys(I).forEach(function(g){var h=[Ii,Bi].indexOf(g)>=0?1:-1,x=[In,Bi].indexOf(g)>=0?"y":"x";I[g]+=m[x]*h})}return I}function yj(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?FE:l,u=Fc(n),f=u?s?E8:E8.filter(function(p){return Fc(p)===u}):B0,d=f.filter(function(p){return c.indexOf(p)>=0});d.length===0&&(d=f);var b=d.reduce(function(p,v){return p[v]=t0(e,{placement:v,boundary:i,rootBoundary:o,padding:a})[Ao(v)],p},{});return Object.keys(b).sort(function(p,v){return b[p]-b[v]})}function wj(e){if(Ao(e)===l4)return[];var t=Yd(e);return[A8(e),t,A8(t)]}function Sj(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,s=a===void 0?!0:a,l=r.fallbackPlacements,c=r.padding,u=r.boundary,f=r.rootBoundary,d=r.altBoundary,b=r.flipVariations,p=b===void 0?!0:b,v=r.allowedAutoPlacements,w=t.options.placement,C=Ao(w),y=C===w,M=l||(y||!p?[Yd(w)]:wj(w)),B=[w].concat(M).reduce(function(H,O){return H.concat(Ao(O)===l4?yj(t,{placement:O,boundary:u,rootBoundary:f,padding:c,flipVariations:p,allowedAutoPlacements:v}):O)},[]),D=t.rects.reference,F=t.rects.popper,N=new Map,_=!0,L=B[0],I=0;I=0,x=h?"width":"height",S=t0(t,{placement:R,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),T=h?g?Ii:Fn:g?Bi:In;D[x]>F[x]&&(T=Yd(T));var k=Yd(T),$=[];if(o&&$.push(S[m]<=0),s&&$.push(S[T]<=0,S[k]<=0),$.every(function(H){return H})){L=R,_=!1;break}N.set(R,$)}if(_)for(var P=p?3:1,E=function(O){var V=B.find(function(X){var J=N.get(X);if(J)return J.slice(0,O).every(function(G){return G})});if(V)return L=V,"break"},A=P;A>0;A--){var z=E(A);if(z==="break")break}t.placement!==L&&(t.modifiersData[n]._skip=!0,t.placement=L,t.reset=!0)}}const Cj={name:"flip",enabled:!0,phase:"main",fn:Sj,requiresIfExists:["offset"],data:{_skip:!1}};function _8(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function R8(e){return[In,Ii,Bi,Fn].some(function(t){return e[t]>=0})}function Ej(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=t0(t,{elementContext:"reference"}),s=t0(t,{altBoundary:!0}),l=_8(a,n),c=_8(s,i,o),u=R8(l),f=R8(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const Mj={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ej};function Pj(e,t,r){var n=Ao(e),i=[Fn,In].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[Fn,Ii].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function Aj(e){var t=e.state,r=e.options,n=e.name,i=r.offset,o=i===void 0?[0,0]:i,a=FE.reduce(function(u,f){return u[f]=Pj(f,t.rects,o),u},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}const kj={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Aj};function _j(e){var t=e.state,r=e.name;t.modifiersData[r]=UE({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Rj={name:"popperOffsets",enabled:!0,phase:"read",fn:_j,data:{}};function Tj(e){return e==="x"?"y":"x"}function $j(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,s=a===void 0?!1:a,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,f=r.padding,d=r.tether,b=d===void 0?!0:d,p=r.tetherOffset,v=p===void 0?0:p,w=t0(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),C=Ao(t.placement),y=Fc(t.placement),M=!y,B=f4(C),D=Tj(B),F=t.modifiersData.popperOffsets,N=t.rects.reference,_=t.rects.popper,L=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,I=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,m={x:0,y:0};if(F){if(o){var g,h=B==="y"?In:Fn,x=B==="y"?Bi:Ii,S=B==="y"?"height":"width",T=F[B],k=T+w[h],$=T-w[x],P=b?-_[S]/2:0,E=y===$c?N[S]:_[S],A=y===$c?-_[S]:-N[S],z=t.elements.arrow,H=b&&z?u4(z):{width:0,height:0},O=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:LE(),V=O[h],X=O[x],J=gf(0,N[S],H[S]),G=M?N[S]/2-P-J-V-I.mainAxis:E-J-V-I.mainAxis,j=M?-N[S]/2+P+J+X+I.mainAxis:A+J+X+I.mainAxis,q=t.elements.arrow&&I0(t.elements.arrow),K=q?B==="y"?q.clientTop||0:q.clientLeft||0:0,Z=(g=R==null?void 0:R[B])!=null?g:0,te=T+G-Z-K,Q=T+j-Z,oe=gf(b?Nh(k,te):k,T,b?qs($,Q):$);F[B]=oe,m[B]=oe-T}if(s){var me,se=B==="x"?In:Fn,ye=B==="x"?Bi:Ii,Re=F[D],we=D==="y"?"height":"width",He=Re+w[se],Ue=Re-w[ye],Me=[In,Fn].indexOf(C)!==-1,Ze=(me=R==null?void 0:R[D])!=null?me:0,Je=Me?He:Re-N[we]-_[we]-Ze+I.altAxis,Ne=Me?Re+N[we]+_[we]-Ze-I.altAxis:Ue,De=b&&Me?rj(Je,Re,Ne):gf(b?Je:He,Re,b?Ne:Ue);F[D]=De,m[D]=De-Re}t.modifiersData[n]=m}}const Bj={name:"preventOverflow",enabled:!0,phase:"main",fn:$j,requiresIfExists:["offset"]};function Ij(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Fj(e){return e===oi(e)||!Ai(e)?d4(e):Ij(e)}function Oj(e){var t=e.getBoundingClientRect(),r=Bc(t.width)/e.offsetWidth||1,n=Bc(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Dj(e,t,r){r===void 0&&(r=!1);var n=Ai(t),i=Ai(t)&&Oj(t),o=fs(t),a=Ic(e,i,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((To(t)!=="body"||p4(o))&&(s=Fj(t)),Ai(t)?(l=Ic(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=h4(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Lj(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function i(o){r.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var l=t.get(s);l&&i(l)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||i(o)}),n}function Nj(e){var t=Lj(e);return Xz.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function zj(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function jj(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var T8={placement:"bottom",modifiers:[],strategy:"absolute"};function $8(){for(var e=arguments.length,t=new Array(e),r=0;rit({root:["root"]},vN(Vj)),Jj={},Zj=U.forwardRef(function(t,r){var n;const{anchorEl:i,children:o,direction:a,disablePortal:s,modifiers:l,open:c,placement:u,popperOptions:f,popperRef:d,slotProps:b={},slots:p={},TransitionProps:v}=t,w=Ee(t,qj),C=U.useRef(null),y=Vt(C,r),M=U.useRef(null),B=Vt(M,d),D=U.useRef(B);bn(()=>{D.current=B},[B]),U.useImperativeHandle(d,()=>M.current,[]);const F=Gj(u,a),[N,_]=U.useState(F),[L,I]=U.useState(Hv(i));U.useEffect(()=>{M.current&&M.current.forceUpdate()}),U.useEffect(()=>{i&&I(Hv(i))},[i]),bn(()=>{if(!L||!c)return;const x=k=>{_(k.placement)};let S=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:k})=>{x(k)}}];l!=null&&(S=S.concat(l)),f&&f.modifiers!=null&&(S=S.concat(f.modifiers));const T=Wj(L,C.current,W({placement:F},f,{modifiers:S}));return D.current(T),()=>{T.destroy(),D.current(null)}},[L,s,l,c,f,F]);const R={placement:N};v!==null&&(R.TransitionProps=v);const m=Xj(),g=(n=p.root)!=null?n:"div",h=Nn({elementType:g,externalSlotProps:b.root,externalForwardedProps:w,additionalProps:{role:"tooltip",ref:y},ownerState:t,className:m.root});return Y.jsx(g,W({},h,{children:typeof o=="function"?o(R):o}))}),Qj=U.forwardRef(function(t,r){const{anchorEl:n,children:i,container:o,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:u,placement:f="bottom",popperOptions:d=Jj,popperRef:b,style:p,transition:v=!1,slotProps:w={},slots:C={}}=t,y=Ee(t,Kj),[M,B]=U.useState(!0),D=()=>{B(!1)},F=()=>{B(!0)};if(!l&&!u&&(!v||M))return null;let N;if(o)N=o;else if(n){const I=Hv(n);N=I&&Yj(I)?Er(I).body:Er(null).body}const _=!u&&l&&(!v||M)?"none":void 0,L=v?{in:u,onEnter:D,onExited:F}:void 0;return Y.jsx(BE,{disablePortal:s,container:N,children:Y.jsx(Zj,W({anchorEl:n,direction:a,disablePortal:s,modifiers:c,ref:r,open:v?!M:u,placement:f,popperOptions:d,popperRef:b,slotProps:w,slots:C},y,{style:W({position:"fixed",top:0,left:0,display:_},p),TransitionProps:L,children:i}))})});function eU(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:r=!1,onClose:n,open:i,resumeHideDuration:o}=e,a=Bs();U.useEffect(()=>{if(!i)return;function C(y){y.defaultPrevented||(y.key==="Escape"||y.key==="Esc")&&(n==null||n(y,"escapeKeyDown"))}return document.addEventListener("keydown",C),()=>{document.removeEventListener("keydown",C)}},[i,n]);const s=Pr((C,y)=>{n==null||n(C,y)}),l=Pr(C=>{!n||C==null||a.start(C,()=>{s(null,"timeout")})});U.useEffect(()=>(i&&l(t),a.clear),[i,t,l,a]);const c=C=>{n==null||n(C,"clickaway")},u=a.clear,f=U.useCallback(()=>{t!=null&&l(o??t*.5)},[t,o,l]),d=C=>y=>{const M=C.onBlur;M==null||M(y),f()},b=C=>y=>{const M=C.onFocus;M==null||M(y),u()},p=C=>y=>{const M=C.onMouseEnter;M==null||M(y),u()},v=C=>y=>{const M=C.onMouseLeave;M==null||M(y),f()};return U.useEffect(()=>{if(!r&&i)return window.addEventListener("focus",f),window.addEventListener("blur",u),()=>{window.removeEventListener("focus",f),window.removeEventListener("blur",u)}},[r,i,f,u]),{getRootProps:(C={})=>{const y=W({},Lh(e),Lh(C));return W({role:"presentation"},C,y,{onBlur:d(y),onFocus:b(y),onMouseEnter:p(y),onMouseLeave:v(y)})},onClickAway:c}}const tU=["onChange","maxRows","minRows","style","value"];function pd(e){return parseInt(e,10)||0}const rU={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function nU(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const iU=U.forwardRef(function(t,r){const{onChange:n,maxRows:i,minRows:o=1,style:a,value:s}=t,l=Ee(t,tU),{current:c}=U.useRef(s!=null),u=U.useRef(null),f=Vt(r,u),d=U.useRef(null),b=U.useCallback(()=>{const w=u.current,y=_i(w).getComputedStyle(w);if(y.width==="0px")return{outerHeightStyle:0,overflowing:!1};const M=d.current;M.style.width=y.width,M.value=w.value||t.placeholder||"x",M.value.slice(-1)===` -`&&(M.value+=" ");const B=y.boxSizing,D=pd(y.paddingBottom)+pd(y.paddingTop),F=pd(y.borderBottomWidth)+pd(y.borderTopWidth),N=M.scrollHeight;M.value="x";const _=M.scrollHeight;let L=N;o&&(L=Math.max(Number(o)*_,L)),i&&(L=Math.min(Number(i)*_,L)),L=Math.max(L,_);const I=L+(B==="border-box"?D+F:0),R=Math.abs(L-N)<=1;return{outerHeightStyle:I,overflowing:R}},[i,o,t.placeholder]),p=U.useCallback(()=>{const w=b();if(nU(w))return;const C=u.current;C.style.height=`${w.outerHeightStyle}px`,C.style.overflow=w.overflowing?"hidden":""},[b]);bn(()=>{const w=()=>{p()};let C;const y=Xc(w),M=u.current,B=_i(M);B.addEventListener("resize",y);let D;return typeof ResizeObserver<"u"&&(D=new ResizeObserver(w),D.observe(M)),()=>{y.clear(),cancelAnimationFrame(C),B.removeEventListener("resize",y),D&&D.disconnect()}},[b,p]),bn(()=>{p()});const v=w=>{c||p(),n&&n(w)};return Y.jsxs(U.Fragment,{children:[Y.jsx("textarea",W({value:s,onChange:v,ref:f,rows:o,style:a},l)),Y.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:d,tabIndex:-1,style:W({},rU.shadow,a,{paddingTop:0,paddingBottom:0})})]})});function B8(e){return typeof e.normalize<"u"?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function oU(e={}){const{ignoreAccents:t=!0,ignoreCase:r=!0,limit:n,matchFrom:i="any",stringify:o,trim:a=!1}=e;return(s,{inputValue:l,getOptionLabel:c})=>{let u=a?l.trim():l;r&&(u=u.toLowerCase()),t&&(u=B8(u));const f=u?s.filter(d=>{let b=(o||c)(d);return r&&(b=b.toLowerCase()),t&&(b=B8(b)),i==="start"?b.indexOf(u)===0:b.indexOf(u)>-1}):s;return typeof n=="number"?f.slice(0,n):f}}function xd(e,t){for(let r=0;r{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))};function lU(e){const{unstable_isActiveElementInListbox:t=sU,unstable_classNamePrefix:r="Mui",autoComplete:n=!1,autoHighlight:i=!1,autoSelect:o=!1,blurOnSelect:a=!1,clearOnBlur:s=!e.freeSolo,clearOnEscape:l=!1,componentName:c="useAutocomplete",defaultValue:u=e.multiple?[]:null,disableClearable:f=!1,disableCloseOnSelect:d=!1,disabled:b,disabledItemsFocusable:p=!1,disableListWrap:v=!1,filterOptions:w=aU,filterSelectedOptions:C=!1,freeSolo:y=!1,getOptionDisabled:M,getOptionKey:B,getOptionLabel:D=ae=>{var ie;return(ie=ae.label)!=null?ie:ae},groupBy:F,handleHomeEndKeys:N=!e.freeSolo,id:_,includeInputInList:L=!1,inputValue:I,isOptionEqualToValue:R=(ae,ie)=>ae===ie,multiple:m=!1,onChange:g,onClose:h,onHighlightChange:x,onInputChange:S,onOpen:T,open:k,openOnFocus:$=!1,options:P,readOnly:E=!1,selectOnFocus:A=!e.freeSolo,value:z}=e,H=Za(_);let O=D;O=ae=>{const ie=D(ae);return typeof ie!="string"?String(ie):ie};const V=U.useRef(!1),X=U.useRef(!0),J=U.useRef(null),G=U.useRef(null),[j,q]=U.useState(null),[K,Z]=U.useState(-1),te=i?0:-1,Q=U.useRef(te),[oe,me]=ja({controlled:z,default:u,name:c}),[se,ye]=ja({controlled:I,default:"",name:c,state:"inputValue"}),[Re,we]=U.useState(!1),He=U.useCallback((ae,ie)=>{if(!(m?oe.length!(C&&(m?oe:[oe]).some(ie=>ie!==null&&R(ae,ie)))),{inputValue:Ne&&Ze?"":se,getOptionLabel:O}):[],Ie=ub({filteredOptions:de,value:oe,inputValue:se});U.useEffect(()=>{const ae=oe!==Ie.value;Re&&!ae||y&&!ae||He(null,oe)},[oe,He,Re,Ie.value,y]);const ot=Ue&&de.length>0&&!E,lt=Pr(ae=>{ae===-1?J.current.focus():j.querySelector(`[data-tag-index="${ae}"]`).focus()});U.useEffect(()=>{m&&K>oe.length-1&&(Z(-1),lt(-1))},[oe,m,K,lt]);function ge(ae,ie){if(!G.current||ae<0||ae>=de.length)return-1;let ve=ae;for(;;){const Ae=G.current.querySelector(`[data-option-index="${ve}"]`),Ye=p?!1:!Ae||Ae.disabled||Ae.getAttribute("aria-disabled")==="true";if(Ae&&Ae.hasAttribute("tabindex")&&!Ye)return ve;if(ie==="next"?ve=(ve+1)%de.length:ve=(ve-1+de.length)%de.length,ve===ae)return-1}}const ze=Pr(({event:ae,index:ie,reason:ve="auto"})=>{if(Q.current=ie,ie===-1?J.current.removeAttribute("aria-activedescendant"):J.current.setAttribute("aria-activedescendant",`${H}-option-${ie}`),x&&x(ae,ie===-1?null:de[ie],ve),!G.current)return;const Ae=G.current.querySelector(`[role="option"].${r}-focused`);Ae&&(Ae.classList.remove(`${r}-focused`),Ae.classList.remove(`${r}-focusVisible`));let Ye=G.current;if(G.current.getAttribute("role")!=="listbox"&&(Ye=G.current.parentElement.querySelector('[role="listbox"]')),!Ye)return;if(ie===-1){Ye.scrollTop=0;return}const Le=G.current.querySelector(`[data-option-index="${ie}"]`);if(Le&&(Le.classList.add(`${r}-focused`),ve==="keyboard"&&Le.classList.add(`${r}-focusVisible`),Ye.scrollHeight>Ye.clientHeight&&ve!=="mouse"&&ve!=="touch")){const pt=Le,Bt=Ye.clientHeight+Ye.scrollTop,gt=pt.offsetTop+pt.offsetHeight;gt>Bt?Ye.scrollTop=gt-Ye.clientHeight:pt.offsetTop-pt.offsetHeight*(F?1.3:0){if(!De)return;const Le=ge((()=>{const pt=de.length-1;if(ie==="reset")return te;if(ie==="start")return 0;if(ie==="end")return pt;const Bt=Q.current+ie;return Bt<0?Bt===-1&&L?-1:v&&Q.current!==-1||Math.abs(ie)>1?0:pt:Bt>pt?Bt===pt+1&&L?-1:v||Math.abs(ie)>1?pt:0:Bt})(),ve);if(ze({index:Le,reason:Ae,event:ae}),n&&ie!=="reset")if(Le===-1)J.current.value=se;else{const pt=O(de[Le]);J.current.value=pt,pt.toLowerCase().indexOf(se.toLowerCase())===0&&se.length>0&&J.current.setSelectionRange(se.length,pt.length)}}),xe=()=>{const ae=(ie,ve)=>{const Ae=ie?O(ie):"",Ye=ve?O(ve):"";return Ae===Ye};if(Q.current!==-1&&Ie.filteredOptions&&Ie.filteredOptions.length!==de.length&&Ie.inputValue===se&&(m?oe.length===Ie.value.length&&Ie.value.every((ie,ve)=>O(oe[ve])===O(ie)):ae(Ie.value,oe))){const ie=Ie.filteredOptions[Q.current];if(ie)return xd(de,ve=>O(ve)===O(ie))}return-1},je=U.useCallback(()=>{if(!De)return;const ae=xe();if(ae!==-1){Q.current=ae;return}const ie=m?oe[0]:oe;if(de.length===0||ie==null){le({diff:"reset"});return}if(G.current){if(ie!=null){const ve=de[Q.current];if(m&&ve&&xd(oe,Ye=>R(ve,Ye))!==-1)return;const Ae=xd(de,Ye=>R(Ye,ie));Ae===-1?le({diff:"reset"}):ze({index:Ae});return}if(Q.current>=de.length-1){ze({index:de.length-1});return}ze({index:Q.current})}},[de.length,m?!1:oe,C,le,ze,De,se,m]),We=Pr(ae=>{Ff(G,ae),ae&&je()});U.useEffect(()=>{je()},[je]);const Fe=ae=>{Ue||(Me(!0),Je(!0),T&&T(ae))},Qe=(ae,ie)=>{Ue&&(Me(!1),h&&h(ae,ie))},ut=(ae,ie,ve,Ae)=>{if(m){if(oe.length===ie.length&&oe.every((Ye,Le)=>Ye===ie[Le]))return}else if(oe===ie)return;g&&g(ae,ie,ve,Ae),me(ie)},Ge=U.useRef(!1),ee=(ae,ie,ve="selectOption",Ae="options")=>{let Ye=ve,Le=ie;if(m){Le=Array.isArray(oe)?oe.slice():[];const pt=xd(Le,Bt=>R(ie,Bt));pt===-1?Le.push(ie):Ae!=="freeSolo"&&(Le.splice(pt,1),Ye="removeOption")}He(ae,Le),ut(ae,Le,Ye,{option:ie}),!d&&(!ae||!ae.ctrlKey&&!ae.metaKey)&&Qe(ae,Ye),(a===!0||a==="touch"&&Ge.current||a==="mouse"&&!Ge.current)&&J.current.blur()};function re(ae,ie){if(ae===-1)return-1;let ve=ae;for(;;){if(ie==="next"&&ve===oe.length||ie==="previous"&&ve===-1)return-1;const Ae=j.querySelector(`[data-tag-index="${ve}"]`);if(!Ae||!Ae.hasAttribute("tabindex")||Ae.disabled||Ae.getAttribute("aria-disabled")==="true")ve+=ie==="next"?1:-1;else return ve}}const ne=(ae,ie)=>{if(!m)return;se===""&&Qe(ae,"toggleInput");let ve=K;K===-1?se===""&&ie==="previous"&&(ve=oe.length-1):(ve+=ie==="next"?1:-1,ve<0&&(ve=0),ve===oe.length&&(ve=-1)),ve=re(ve,ie),Z(ve),lt(ve)},pe=ae=>{V.current=!0,ye(""),S&&S(ae,"","clear"),ut(ae,m?[]:null,"clear")},ke=ae=>ie=>{if(ae.onKeyDown&&ae.onKeyDown(ie),!ie.defaultMuiPrevented&&(K!==-1&&["ArrowLeft","ArrowRight"].indexOf(ie.key)===-1&&(Z(-1),lt(-1)),ie.which!==229))switch(ie.key){case"Home":De&&N&&(ie.preventDefault(),le({diff:"start",direction:"next",reason:"keyboard",event:ie}));break;case"End":De&&N&&(ie.preventDefault(),le({diff:"end",direction:"previous",reason:"keyboard",event:ie}));break;case"PageUp":ie.preventDefault(),le({diff:-I8,direction:"previous",reason:"keyboard",event:ie}),Fe(ie);break;case"PageDown":ie.preventDefault(),le({diff:I8,direction:"next",reason:"keyboard",event:ie}),Fe(ie);break;case"ArrowDown":ie.preventDefault(),le({diff:1,direction:"next",reason:"keyboard",event:ie}),Fe(ie);break;case"ArrowUp":ie.preventDefault(),le({diff:-1,direction:"previous",reason:"keyboard",event:ie}),Fe(ie);break;case"ArrowLeft":ne(ie,"previous");break;case"ArrowRight":ne(ie,"next");break;case"Enter":if(Q.current!==-1&&De){const ve=de[Q.current],Ae=M?M(ve):!1;if(ie.preventDefault(),Ae)return;ee(ie,ve,"selectOption"),n&&J.current.setSelectionRange(J.current.value.length,J.current.value.length)}else y&&se!==""&&Ne===!1&&(m&&ie.preventDefault(),ee(ie,se,"createOption","freeSolo"));break;case"Escape":De?(ie.preventDefault(),ie.stopPropagation(),Qe(ie,"escape")):l&&(se!==""||m&&oe.length>0)&&(ie.preventDefault(),ie.stopPropagation(),pe(ie));break;case"Backspace":if(m&&!E&&se===""&&oe.length>0){const ve=K===-1?oe.length-1:K,Ae=oe.slice();Ae.splice(ve,1),ut(ie,Ae,"removeOption",{option:oe[ve]})}break;case"Delete":if(m&&!E&&se===""&&oe.length>0&&K!==-1){const ve=K,Ae=oe.slice();Ae.splice(ve,1),ut(ie,Ae,"removeOption",{option:oe[ve]})}break}},Te=ae=>{we(!0),$&&!V.current&&Fe(ae)},$e=ae=>{if(t(G)){J.current.focus();return}we(!1),X.current=!0,V.current=!1,o&&Q.current!==-1&&De?ee(ae,de[Q.current],"blur"):o&&y&&se!==""?ee(ae,se,"blur","freeSolo"):s&&He(ae,oe),Qe(ae,"blur")},Pe=ae=>{const ie=ae.target.value;se!==ie&&(ye(ie),Je(!1),S&&S(ae,ie,"input")),ie===""?!f&&!m&&ut(ae,null,"clear"):Fe(ae)},ce=ae=>{const ie=Number(ae.currentTarget.getAttribute("data-option-index"));Q.current!==ie&&ze({event:ae,index:ie,reason:"mouse"})},_e=ae=>{ze({event:ae,index:Number(ae.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Ge.current=!0},Ve=ae=>{const ie=Number(ae.currentTarget.getAttribute("data-option-index"));ee(ae,de[ie],"selectOption"),Ge.current=!1},Ce=ae=>ie=>{const ve=oe.slice();ve.splice(ae,1),ut(ie,ve,"removeOption",{option:oe[ae]})},Xe=ae=>{Ue?Qe(ae,"toggleInput"):Fe(ae)},dt=ae=>{ae.currentTarget.contains(ae.target)&&ae.target.getAttribute("id")!==H&&ae.preventDefault()},qe=ae=>{ae.currentTarget.contains(ae.target)&&(J.current.focus(),A&&X.current&&J.current.selectionEnd-J.current.selectionStart===0&&J.current.select(),X.current=!1)},ht=ae=>{!b&&(se===""||!Ue)&&Xe(ae)};let mt=y&&se.length>0;mt=mt||(m?oe.length>0:oe!==null);let rt=de;return F&&(rt=de.reduce((ae,ie,ve)=>{const Ae=F(ie);return ae.length>0&&ae[ae.length-1].group===Ae?ae[ae.length-1].options.push(ie):ae.push({key:ve,index:ve,group:Ae,options:[ie]}),ae},[])),b&&Re&&$e(),{getRootProps:(ae={})=>W({"aria-owns":ot?`${H}-listbox`:null},ae,{onKeyDown:ke(ae),onMouseDown:dt,onClick:qe}),getInputLabelProps:()=>({id:`${H}-label`,htmlFor:H}),getInputProps:()=>({id:H,value:se,onBlur:$e,onFocus:Te,onChange:Pe,onMouseDown:ht,"aria-activedescendant":De?"":null,"aria-autocomplete":n?"both":"list","aria-controls":ot?`${H}-listbox`:void 0,"aria-expanded":ot,autoComplete:"off",ref:J,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:b}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:pe}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Xe}),getTagProps:({index:ae})=>W({key:ae,"data-tag-index":ae,tabIndex:-1},!E&&{onDelete:Ce(ae)}),getListboxProps:()=>({role:"listbox",id:`${H}-listbox`,"aria-labelledby":`${H}-label`,ref:We,onMouseDown:ae=>{ae.preventDefault()}}),getOptionProps:({index:ae,option:ie})=>{var ve;const Ae=(m?oe:[oe]).some(Le=>Le!=null&&R(ie,Le)),Ye=M?M(ie):!1;return{key:(ve=B==null?void 0:B(ie))!=null?ve:O(ie),tabIndex:-1,role:"option",id:`${H}-option-${ae}`,onMouseMove:ce,onClick:Ve,onTouchStart:_e,"data-option-index":ae,"aria-disabled":Ye,"aria-selected":Ae}},id:H,inputValue:se,value:oe,dirty:mt,expanded:De&&j,popupOpen:De,focused:Re||K!==-1,anchorEl:j,setAnchorEl:q,focusedTag:K,groupedOptions:rt}}var x4={};Object.defineProperty(x4,"__esModule",{value:!0});var WE=x4.default=void 0,cU=fU(U),uU=wS;function VE(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(VE=function(n){return n?r:t})(e)}function fU(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=VE(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}function dU(e){return Object.keys(e).length===0}function hU(e=null){const t=cU.useContext(uU.ThemeContext);return!t||dU(t)?e:t}WE=x4.default=hU;const pU=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],xU=he(Qj,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),mU=U.forwardRef(function(t,r){var n;const i=WE(),o=ft({props:t,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:c,container:u,disablePortal:f,keepMounted:d,modifiers:b,open:p,placement:v,popperOptions:w,popperRef:C,transition:y,slots:M,slotProps:B}=o,D=Ee(o,pU),F=(n=M==null?void 0:M.root)!=null?n:l==null?void 0:l.Root,N=W({anchorEl:a,container:u,disablePortal:f,keepMounted:d,modifiers:b,open:p,placement:v,popperOptions:w,popperRef:C,transition:y},D);return Y.jsx(xU,W({as:s,direction:i==null?void 0:i.direction,slots:{root:F},slotProps:B??c},N,{ref:r}))}),y1=mU;function gU(e){return nt("MuiListSubheader",e)}tt("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const vU=["className","color","component","disableGutters","disableSticky","inset"],bU=e=>{const{classes:t,color:r,disableGutters:n,inset:i,disableSticky:o}=e,a={root:["root",r!=="default"&&`color${ue(r)}`,!n&&"gutters",i&&"inset",!o&&"sticky"]};return it(a,gU,t)},yU=he("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${ue(r.color)}`],!r.disableGutters&&t.gutters,r.inset&&t.inset,!r.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>W({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),qE=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiListSubheader"}),{className:i,color:o="default",component:a="li",disableGutters:s=!1,disableSticky:l=!1,inset:c=!1}=n,u=Ee(n,vU),f=W({},n,{color:o,component:a,disableGutters:s,disableSticky:l,inset:c}),d=bU(f);return Y.jsx(yU,W({as:a,className:Se(d.root,i),ref:r,ownerState:f},u))});qE.muiSkipListHighlight=!0;const wU=qE,SU=fn(Y.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function CU(e){return nt("MuiChip",e)}const EU=tt("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),Ft=EU,MU=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],PU=e=>{const{classes:t,disabled:r,size:n,color:i,iconColor:o,onDelete:a,clickable:s,variant:l}=e,c={root:["root",l,r&&"disabled",`size${ue(n)}`,`color${ue(i)}`,s&&"clickable",s&&`clickableColor${ue(i)}`,a&&"deletable",a&&`deletableColor${ue(i)}`,`${l}${ue(i)}`],label:["label",`label${ue(n)}`],avatar:["avatar",`avatar${ue(n)}`,`avatarColor${ue(i)}`],icon:["icon",`icon${ue(n)}`,`iconColor${ue(o)}`],deleteIcon:["deleteIcon",`deleteIcon${ue(n)}`,`deleteIconColor${ue(i)}`,`deleteIcon${ue(l)}Color${ue(i)}`]};return it(c,CU,t)},AU=he("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{color:n,iconColor:i,clickable:o,onDelete:a,size:s,variant:l}=r;return[{[`& .${Ft.avatar}`]:t.avatar},{[`& .${Ft.avatar}`]:t[`avatar${ue(s)}`]},{[`& .${Ft.avatar}`]:t[`avatarColor${ue(n)}`]},{[`& .${Ft.icon}`]:t.icon},{[`& .${Ft.icon}`]:t[`icon${ue(s)}`]},{[`& .${Ft.icon}`]:t[`iconColor${ue(i)}`]},{[`& .${Ft.deleteIcon}`]:t.deleteIcon},{[`& .${Ft.deleteIcon}`]:t[`deleteIcon${ue(s)}`]},{[`& .${Ft.deleteIcon}`]:t[`deleteIconColor${ue(n)}`]},{[`& .${Ft.deleteIcon}`]:t[`deleteIcon${ue(l)}Color${ue(n)}`]},t.root,t[`size${ue(s)}`],t[`color${ue(n)}`],o&&t.clickable,o&&n!=="default"&&t[`clickableColor${ue(n)})`],a&&t.deletable,a&&n!=="default"&&t[`deletableColor${ue(n)}`],t[l],t[`${l}${ue(n)}`]]}})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return W({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Ft.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Ft.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:r,fontSize:e.typography.pxToRem(12)},[`& .${Ft.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Ft.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Ft.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Ft.icon}`]:W({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&W({color:e.vars?e.vars.palette.Chip.defaultIconColor:r},t.color!=="default"&&{color:"inherit"})),[`& .${Ft.deleteIcon}`]:W({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Ct(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Ct(e.palette.text.primary,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:Ct(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${Ft.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ct(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${Ft.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>W({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ct(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Ft.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ct(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${Ft.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>W({},t.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Ft.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Ft.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Ft.avatar}`]:{marginLeft:4},[`& .${Ft.avatarSmall}`]:{marginLeft:2},[`& .${Ft.icon}`]:{marginLeft:4},[`& .${Ft.iconSmall}`]:{marginLeft:2},[`& .${Ft.deleteIcon}`]:{marginRight:5},[`& .${Ft.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Ct(e.palette[t.color].main,.7)}`,[`&.${Ft.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ct(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${Ft.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Ct(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${Ft.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Ct(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),kU=he("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:r}=e,{size:n}=r;return[t.label,t[`label${ue(n)}`]]}})(({ownerState:e})=>W({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.variant==="outlined"&&{paddingLeft:11,paddingRight:11},e.size==="small"&&{paddingLeft:8,paddingRight:8},e.size==="small"&&e.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function F8(e){return e.key==="Backspace"||e.key==="Delete"}const _U=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiChip"}),{avatar:i,className:o,clickable:a,color:s="default",component:l,deleteIcon:c,disabled:u=!1,icon:f,label:d,onClick:b,onDelete:p,onKeyDown:v,onKeyUp:w,size:C="medium",variant:y="filled",tabIndex:M,skipFocusWhenDisabled:B=!1}=n,D=Ee(n,MU),F=U.useRef(null),N=Vt(F,r),_=$=>{$.stopPropagation(),p&&p($)},L=$=>{$.currentTarget===$.target&&F8($)&&$.preventDefault(),v&&v($)},I=$=>{$.currentTarget===$.target&&(p&&F8($)?p($):$.key==="Escape"&&F.current&&F.current.blur()),w&&w($)},R=a!==!1&&b?!0:a,m=R||p?co:l||"div",g=W({},n,{component:m,disabled:u,size:C,color:s,iconColor:U.isValidElement(f)&&f.props.color||s,onDelete:!!p,clickable:R,variant:y}),h=PU(g),x=m===co?W({component:l||"div",focusVisibleClassName:h.focusVisible},p&&{disableRipple:!0}):{};let S=null;p&&(S=c&&U.isValidElement(c)?U.cloneElement(c,{className:Se(c.props.className,h.deleteIcon),onClick:_}):Y.jsx(SU,{className:Se(h.deleteIcon),onClick:_}));let T=null;i&&U.isValidElement(i)&&(T=U.cloneElement(i,{className:Se(h.avatar,i.props.className)}));let k=null;return f&&U.isValidElement(f)&&(k=U.cloneElement(f,{className:Se(h.icon,f.props.className)})),Y.jsxs(AU,W({as:m,className:Se(h.root,o),disabled:R&&u?!0:void 0,onClick:b,onKeyDown:L,onKeyUp:I,ref:N,tabIndex:B&&u?-1:M,ownerState:g},x,D,{children:[T||k,Y.jsx(kU,{className:Se(h.label),ownerState:g,children:d}),S]}))}),RU=_U;function pl({props:e,states:t,muiFormControl:r}){return t.reduce((n,i)=>(n[i]=e[i],r&&typeof e[i]>"u"&&(n[i]=r[i]),n),{})}const TU=U.createContext(void 0),w1=TU;function va(){return U.useContext(w1)}function KE(e){return Y.jsx(kI,W({},e,{defaultTheme:e1,themeId:Js}))}function O8(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function zh(e,t=!1){return e&&(O8(e.value)&&e.value!==""||t&&O8(e.defaultValue)&&e.defaultValue!=="")}function $U(e){return e.startAdornment}function BU(e){return nt("MuiInputBase",e)}const IU=tt("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Kn=IU,FU=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],S1=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,r.size==="small"&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${ue(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},C1=(e,t)=>{const{ownerState:r}=e;return[t.input,r.size==="small"&&t.inputSizeSmall,r.multiline&&t.inputMultiline,r.type==="search"&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},OU=e=>{const{classes:t,color:r,disabled:n,error:i,endAdornment:o,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:f,size:d,startAdornment:b,type:p}=e,v={root:["root",`color${ue(r)}`,n&&"disabled",i&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",d&&d!=="medium"&&`size${ue(d)}`,u&&"multiline",b&&"adornedStart",o&&"adornedEnd",c&&"hiddenLabel",f&&"readOnly"],input:["input",n&&"disabled",p==="search"&&"inputTypeSearch",u&&"inputMultiline",d==="small"&&"inputSizeSmall",c&&"inputHiddenLabel",b&&"inputAdornedStart",o&&"inputAdornedEnd",f&&"readOnly"]};return it(v,BU,t)},E1=he("div",{name:"MuiInputBase",slot:"Root",overridesResolver:S1})(({theme:e,ownerState:t})=>W({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Kn.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&W({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),M1=he("input",{name:"MuiInputBase",slot:"Input",overridesResolver:C1})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light",n=W({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return W({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Kn.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Kn.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),DU=Y.jsx(KE,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),LU=U.forwardRef(function(t,r){var n;const i=ft({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:s,className:l,components:c={},componentsProps:u={},defaultValue:f,disabled:d,disableInjectingGlobalStyles:b,endAdornment:p,fullWidth:v=!1,id:w,inputComponent:C="input",inputProps:y={},inputRef:M,maxRows:B,minRows:D,multiline:F=!1,name:N,onBlur:_,onChange:L,onClick:I,onFocus:R,onKeyDown:m,onKeyUp:g,placeholder:h,readOnly:x,renderSuffix:S,rows:T,slotProps:k={},slots:$={},startAdornment:P,type:E="text",value:A}=i,z=Ee(i,FU),H=y.value!=null?y.value:A,{current:O}=U.useRef(H!=null),V=U.useRef(),X=U.useCallback(De=>{},[]),J=Vt(V,M,y.ref,X),[G,j]=U.useState(!1),q=va(),K=pl({props:i,muiFormControl:q,states:["color","disabled","error","hiddenLabel","size","required","filled"]});K.focused=q?q.focused:G,U.useEffect(()=>{!q&&d&&G&&(j(!1),_&&_())},[q,d,G,_]);const Z=q&&q.onFilled,te=q&&q.onEmpty,Q=U.useCallback(De=>{zh(De)?Z&&Z():te&&te()},[Z,te]);bn(()=>{O&&Q({value:H})},[H,Q,O]);const oe=De=>{if(K.disabled){De.stopPropagation();return}R&&R(De),y.onFocus&&y.onFocus(De),q&&q.onFocus?q.onFocus(De):j(!0)},me=De=>{_&&_(De),y.onBlur&&y.onBlur(De),q&&q.onBlur?q.onBlur(De):j(!1)},se=(De,...de)=>{if(!O){const Ie=De.target||V.current;if(Ie==null)throw new Error(aa(1));Q({value:Ie.value})}y.onChange&&y.onChange(De,...de),L&&L(De,...de)};U.useEffect(()=>{Q(V.current)},[]);const ye=De=>{V.current&&De.currentTarget===De.target&&V.current.focus(),I&&I(De)};let Re=C,we=y;F&&Re==="input"&&(T?we=W({type:void 0,minRows:T,maxRows:T},we):we=W({type:void 0,maxRows:B,minRows:D},we),Re=iU);const He=De=>{Q(De.animationName==="mui-auto-fill-cancel"?V.current:{value:"x"})};U.useEffect(()=>{q&&q.setAdornedStart(!!P)},[q,P]);const Ue=W({},i,{color:K.color||"primary",disabled:K.disabled,endAdornment:p,error:K.error,focused:K.focused,formControl:q,fullWidth:v,hiddenLabel:K.hiddenLabel,multiline:F,size:K.size,startAdornment:P,type:E}),Me=OU(Ue),Ze=$.root||c.Root||E1,Je=k.root||u.root||{},Ne=$.input||c.Input||M1;return we=W({},we,(n=k.input)!=null?n:u.input),Y.jsxs(U.Fragment,{children:[!b&&DU,Y.jsxs(Ze,W({},Je,!il(Ze)&&{ownerState:W({},Ue,Je.ownerState)},{ref:r,onClick:ye},z,{className:Se(Me.root,Je.className,l,x&&"MuiInputBase-readOnly"),children:[P,Y.jsx(w1.Provider,{value:null,children:Y.jsx(Ne,W({ownerState:Ue,"aria-invalid":K.error,"aria-describedby":o,autoComplete:a,autoFocus:s,defaultValue:f,disabled:K.disabled,id:w,onAnimationStart:He,name:N,placeholder:h,readOnly:x,required:K.required,rows:T,value:H,onKeyDown:m,onKeyUp:g,type:E},we,!il(Ne)&&{as:Re,ownerState:W({},Ue,we.ownerState)},{ref:J,className:Se(Me.input,we.className,x&&"MuiInputBase-readOnly"),onBlur:me,onChange:se,onFocus:oe}))}),p,S?S(W({},K,{startAdornment:P})):null]}))]})}),P1=LU;function NU(e){return nt("MuiInput",e)}const Ia=W({},Kn,tt("MuiInput",["root","underline","input"]));function zU(e){return nt("MuiOutlinedInput",e)}const jU=W({},Kn,tt("MuiOutlinedInput",["root","notchedOutline","input"])),go=jU;function UU(e){return nt("MuiFilledInput",e)}const HU=W({},Kn,tt("MuiFilledInput",["root","underline","input"])),Gn=HU,GE=fn(Y.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function WU(e){return nt("MuiAutocomplete",e)}const Et=tt("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var D8,L8;const VU=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],qU=["ref"],KU=t1(),GU=e=>{const{classes:t,disablePortal:r,expanded:n,focused:i,fullWidth:o,hasClearIcon:a,hasPopupIcon:s,inputFocused:l,popupOpen:c,size:u}=e,f={root:["root",n&&"expanded",i&&"focused",o&&"fullWidth",a&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${ue(u)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",r&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return it(f,WU,t)},YU=he("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{fullWidth:n,hasClearIcon:i,hasPopupIcon:o,inputFocused:a,size:s}=r;return[{[`& .${Et.tag}`]:t.tag},{[`& .${Et.tag}`]:t[`tagSize${ue(s)}`]},{[`& .${Et.inputRoot}`]:t.inputRoot},{[`& .${Et.input}`]:t.input},{[`& .${Et.input}`]:a&&t.inputFocused},t.root,n&&t.fullWidth,o&&t.hasPopupIcon,i&&t.hasClearIcon]}})({[`&.${Et.focused} .${Et.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Et.clearIndicator}`]:{visibility:"visible"}},[`& .${Et.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Et.inputRoot}`]:{flexWrap:"wrap",[`.${Et.hasPopupIcon}&, .${Et.hasClearIcon}&`]:{paddingRight:30},[`.${Et.hasPopupIcon}.${Et.hasClearIcon}&`]:{paddingRight:56},[`& .${Et.input}`]:{width:0,minWidth:30}},[`& .${Ia.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Ia.root}.${Kn.sizeSmall}`]:{[`& .${Ia.input}`]:{padding:"2px 4px 3px 0"}},[`& .${go.root}`]:{padding:9,[`.${Et.hasPopupIcon}&, .${Et.hasClearIcon}&`]:{paddingRight:39},[`.${Et.hasPopupIcon}.${Et.hasClearIcon}&`]:{paddingRight:65},[`& .${Et.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Et.endAdornment}`]:{right:9}},[`& .${go.root}.${Kn.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Et.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Gn.root}`]:{paddingTop:19,paddingLeft:8,[`.${Et.hasPopupIcon}&, .${Et.hasClearIcon}&`]:{paddingRight:39},[`.${Et.hasPopupIcon}.${Et.hasClearIcon}&`]:{paddingRight:65},[`& .${Gn.input}`]:{padding:"7px 4px"},[`& .${Et.endAdornment}`]:{right:9}},[`& .${Gn.root}.${Kn.sizeSmall}`]:{paddingBottom:1,[`& .${Gn.input}`]:{padding:"2.5px 4px"}},[`& .${Kn.hiddenLabel}`]:{paddingTop:8},[`& .${Gn.root}.${Kn.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Et.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Gn.root}.${Kn.hiddenLabel}.${Kn.sizeSmall}`]:{[`& .${Et.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Et.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Et.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Et.input}`]:{opacity:1}}}]}),XU=he("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),JU=he(Ls,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),ZU=he(Ls,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>W({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),QU=he(y1,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Et.option}`]:t.option},t.popper,r.disablePortal&&t.popperDisablePortal]}})(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]})),eH=he(ga,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(({theme:e})=>W({},e.typography.body1,{overflow:"auto"})),tH=he("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),rH=he("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),nH=he("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Et.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Et.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Et.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Et.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Et.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}})),iH=he(wU,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8})),oH=he("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Et.option}`]:{paddingLeft:24}}),aH=U.forwardRef(function(t,r){var n,i,o,a;const s=KU({props:t,name:"MuiAutocomplete"}),{autoComplete:l=!1,autoHighlight:c=!1,autoSelect:u=!1,blurOnSelect:f=!1,ChipProps:d,className:b,clearIcon:p=D8||(D8=Y.jsx(RE,{fontSize:"small"})),clearOnBlur:v=!s.freeSolo,clearOnEscape:w=!1,clearText:C="Clear",closeText:y="Close",componentsProps:M={},defaultValue:B=s.multiple?[]:null,disableClearable:D=!1,disableCloseOnSelect:F=!1,disabled:N=!1,disabledItemsFocusable:_=!1,disableListWrap:L=!1,disablePortal:I=!1,filterSelectedOptions:R=!1,forcePopupIcon:m="auto",freeSolo:g=!1,fullWidth:h=!1,getLimitTagsText:x=Ae=>`+${Ae}`,getOptionLabel:S,groupBy:T,handleHomeEndKeys:k=!s.freeSolo,includeInputInList:$=!1,limitTags:P=-1,ListboxComponent:E="ul",ListboxProps:A,loading:z=!1,loadingText:H="Loading…",multiple:O=!1,noOptionsText:V="No options",openOnFocus:X=!1,openText:J="Open",PaperComponent:G=ga,PopperComponent:j=y1,popupIcon:q=L8||(L8=Y.jsx(GE,{})),readOnly:K=!1,renderGroup:Z,renderInput:te,renderOption:Q,renderTags:oe,selectOnFocus:me=!s.freeSolo,size:se="medium",slotProps:ye={}}=s,Re=Ee(s,VU),{getRootProps:we,getInputProps:He,getInputLabelProps:Ue,getPopupIndicatorProps:Me,getClearProps:Ze,getTagProps:Je,getListboxProps:Ne,getOptionProps:De,value:de,dirty:Ie,expanded:ot,id:lt,popupOpen:ge,focused:ze,focusedTag:le,anchorEl:xe,setAnchorEl:je,inputValue:We,groupedOptions:Fe}=lU(W({},s,{componentName:"Autocomplete"})),Qe=!D&&!N&&Ie&&!K,ut=(!g||m===!0)&&m!==!1,{onMouseDown:Ge}=He(),{ref:ee}=A??{},re=Ne(),{ref:ne}=re,pe=Ee(re,qU),ke=Vt(ne,ee),$e=S||(Ae=>{var Ye;return(Ye=Ae.label)!=null?Ye:Ae}),Pe=W({},s,{disablePortal:I,expanded:ot,focused:ze,fullWidth:h,getOptionLabel:$e,hasClearIcon:Qe,hasPopupIcon:ut,inputFocused:le===-1,popupOpen:ge,size:se}),ce=GU(Pe);let _e;if(O&&de.length>0){const Ae=Ye=>W({className:ce.tag,disabled:N},Je(Ye));oe?_e=oe(de,Ae,Pe):_e=de.map((Ye,Le)=>Y.jsx(RU,W({label:$e(Ye),size:se},Ae({index:Le}),d)))}if(P>-1&&Array.isArray(_e)){const Ae=_e.length-P;!ze&&Ae>0&&(_e=_e.splice(0,P),_e.push(Y.jsx("span",{className:ce.tag,children:x(Ae)},_e.length)))}const Ce=Z||(Ae=>Y.jsxs("li",{children:[Y.jsx(iH,{className:ce.groupLabel,ownerState:Pe,component:"div",children:Ae.group}),Y.jsx(oH,{className:ce.groupUl,ownerState:Pe,children:Ae.children})]},Ae.key)),dt=Q||((Ae,Ye)=>U.createElement("li",W({},Ae,{key:Ae.key}),$e(Ye))),qe=(Ae,Ye)=>{const Le=De({option:Ae,index:Ye});return dt(W({},Le,{className:ce.option}),Ae,{selected:Le["aria-selected"],index:Ye,inputValue:We},Pe)},ht=(n=ye.clearIndicator)!=null?n:M.clearIndicator,mt=(i=ye.paper)!=null?i:M.paper,rt=(o=ye.popper)!=null?o:M.popper,ae=(a=ye.popupIndicator)!=null?a:M.popupIndicator,ie=Ae=>Y.jsx(QU,W({as:j,disablePortal:I,style:{width:xe?xe.clientWidth:null},ownerState:Pe,role:"presentation",anchorEl:xe,open:ge},rt,{className:Se(ce.popper,rt==null?void 0:rt.className),children:Y.jsx(eH,W({ownerState:Pe,as:G},mt,{className:Se(ce.paper,mt==null?void 0:mt.className),children:Ae}))}));let ve=null;return Fe.length>0?ve=ie(Y.jsx(nH,W({as:E,className:ce.listbox,ownerState:Pe},pe,A,{ref:ke,children:Fe.map((Ae,Ye)=>T?Ce({key:Ae.key,group:Ae.group,children:Ae.options.map((Le,pt)=>qe(Le,Ae.index+pt))}):qe(Ae,Ye))}))):z&&Fe.length===0?ve=ie(Y.jsx(tH,{className:ce.loading,ownerState:Pe,children:H})):Fe.length===0&&!g&&!z&&(ve=ie(Y.jsx(rH,{className:ce.noOptions,ownerState:Pe,role:"presentation",onMouseDown:Ae=>{Ae.preventDefault()},children:V}))),Y.jsxs(U.Fragment,{children:[Y.jsx(YU,W({ref:r,className:Se(ce.root,b),ownerState:Pe},we(Re),{children:te({id:lt,disabled:N,fullWidth:!0,size:se==="small"?"small":void 0,InputLabelProps:Ue(),InputProps:W({ref:je,className:ce.inputRoot,startAdornment:_e,onClick:Ae=>{Ae.target===Ae.currentTarget&&Ge(Ae)}},(Qe||ut)&&{endAdornment:Y.jsxs(XU,{className:ce.endAdornment,ownerState:Pe,children:[Qe?Y.jsx(JU,W({},Ze(),{"aria-label":C,title:C,ownerState:Pe},ht,{className:Se(ce.clearIndicator,ht==null?void 0:ht.className),children:p})):null,ut?Y.jsx(ZU,W({},Me(),{disabled:N,"aria-label":ge?y:J,title:ge?y:J,ownerState:Pe},ae,{className:Se(ce.popupIndicator,ae==null?void 0:ae.className),children:q})):null]})}),inputProps:W({className:ce.input,disabled:N,readOnly:K},He())})})),xe?ve:null]})}),Zce=aH,sH=fn(Y.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function lH(e){return nt("MuiAvatar",e)}tt("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const cH=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],uH=t1(),fH=e=>{const{classes:t,variant:r,colorDefault:n}=e;return it({root:["root",r,n&&"colorDefault"],img:["img"],fallback:["fallback"]},lH,t)},dH=he("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:W({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:W({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),hH=he("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),pH=he(sH,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function xH({crossOrigin:e,referrerPolicy:t,src:r,srcSet:n}){const[i,o]=U.useState(!1);return U.useEffect(()=>{if(!r&&!n)return;o(!1);let a=!0;const s=new Image;return s.onload=()=>{a&&o("loaded")},s.onerror=()=>{a&&o("error")},s.crossOrigin=e,s.referrerPolicy=t,s.src=r,n&&(s.srcset=n),()=>{a=!1}},[e,t,r,n]),i}const mH=U.forwardRef(function(t,r){const n=uH({props:t,name:"MuiAvatar"}),{alt:i,children:o,className:a,component:s="div",slots:l={},slotProps:c={},imgProps:u,sizes:f,src:d,srcSet:b,variant:p="circular"}=n,v=Ee(n,cH);let w=null;const C=xH(W({},u,{src:d,srcSet:b})),y=d||b,M=y&&C!=="error",B=W({},n,{colorDefault:!M,component:s,variant:p}),D=fH(B),[F,N]=Nv("img",{className:D.img,elementType:hH,externalForwardedProps:{slots:l,slotProps:{img:W({},u,c.img)}},additionalProps:{alt:i,src:d,srcSet:b,sizes:f},ownerState:B});return M?w=Y.jsx(F,W({},N)):o||o===0?w=o:y&&i?w=i[0]:w=Y.jsx(pH,{ownerState:B,className:D.fallback}),Y.jsx(dH,W({as:s,ownerState:B,className:Se(D.root,a),ref:r},v,{children:w}))}),Qce=mH,gH=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],vH={entering:{opacity:1},entered:{opacity:1}},bH=U.forwardRef(function(t,r){const n=pa(),i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:s,easing:l,in:c,onEnter:u,onEntered:f,onEntering:d,onExit:b,onExited:p,onExiting:v,style:w,timeout:C=i,TransitionComponent:y=i4}=t,M=Ee(t,gH),B=U.useRef(null),D=Vt(B,s.ref,r),F=h=>x=>{if(h){const S=B.current;x===void 0?h(S):h(S,x)}},N=F(d),_=F((h,x)=>{s4(h);const S=Tc({style:w,timeout:C,easing:l},{mode:"enter"});h.style.webkitTransition=n.transitions.create("opacity",S),h.style.transition=n.transitions.create("opacity",S),u&&u(h,x)}),L=F(f),I=F(v),R=F(h=>{const x=Tc({style:w,timeout:C,easing:l},{mode:"exit"});h.style.webkitTransition=n.transitions.create("opacity",x),h.style.transition=n.transitions.create("opacity",x),b&&b(h)}),m=F(p),g=h=>{o&&o(B.current,h)};return Y.jsx(y,W({appear:a,in:c,nodeRef:B,onEnter:_,onEntered:L,onEntering:N,onExit:R,onExited:m,onExiting:I,addEndListener:g,timeout:C},M,{children:(h,x)=>U.cloneElement(s,W({style:W({opacity:0,visibility:h==="exited"&&!c?"hidden":void 0},vH[h],w,s.props.style),ref:D},x))}))}),YE=bH;function yH(e){return nt("MuiBackdrop",e)}tt("MuiBackdrop",["root","invisible"]);const wH=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],SH=e=>{const{classes:t,invisible:r}=e;return it({root:["root",r&&"invisible"]},yH,t)},CH=he("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})(({ownerState:e})=>W({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),EH=U.forwardRef(function(t,r){var n,i,o;const a=ft({props:t,name:"MuiBackdrop"}),{children:s,className:l,component:c="div",components:u={},componentsProps:f={},invisible:d=!1,open:b,slotProps:p={},slots:v={},TransitionComponent:w=YE,transitionDuration:C}=a,y=Ee(a,wH),M=W({},a,{component:c,invisible:d}),B=SH(M),D=(n=p.root)!=null?n:f.root;return Y.jsx(w,W({in:b,timeout:C},y,{children:Y.jsx(CH,W({"aria-hidden":!0},D,{as:(i=(o=v.root)!=null?o:u.Root)!=null?i:c,className:Se(B.root,l,D==null?void 0:D.className),ownerState:W({},M,D==null?void 0:D.ownerState),classes:B,ref:r,children:s}))}))}),XE=EH;function MH(e){return nt("MuiBadge",e)}const PH=tt("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),Ea=PH,AH=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],Tm=10,$m=4,kH=t1(),_H=e=>{const{color:t,anchorOrigin:r,invisible:n,overlap:i,variant:o,classes:a={}}=e,s={root:["root"],badge:["badge",o,n&&"invisible",`anchorOrigin${ue(r.vertical)}${ue(r.horizontal)}`,`anchorOrigin${ue(r.vertical)}${ue(r.horizontal)}${ue(i)}`,`overlap${ue(i)}`,t!=="default"&&`color${ue(t)}`]};return it(s,MH,a)},RH=he("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),TH=he("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.badge,t[r.variant],t[`anchorOrigin${ue(r.anchorOrigin.vertical)}${ue(r.anchorOrigin.horizontal)}${ue(r.overlap)}`],r.color!=="default"&&t[`color${ue(r.color)}`],r.invisible&&t.invisible]}})(({theme:e})=>{var t;return{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:Tm*2,lineHeight:1,padding:"0 6px",height:Tm*2,borderRadius:Tm,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(r=>{var n,i;return((n=e.vars)!=null?n:e).palette[r].main&&((i=e.vars)!=null?i:e).palette[r].contrastText}).map(r=>({props:{color:r},style:{backgroundColor:(e.vars||e).palette[r].main,color:(e.vars||e).palette[r].contrastText}})),{props:{variant:"dot"},style:{borderRadius:$m,height:$m*2,minWidth:$m*2,padding:0}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="top"&&r.anchorOrigin.horizontal==="right"&&r.overlap==="rectangular",style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Ea.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="bottom"&&r.anchorOrigin.horizontal==="right"&&r.overlap==="rectangular",style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Ea.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="top"&&r.anchorOrigin.horizontal==="left"&&r.overlap==="rectangular",style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Ea.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="bottom"&&r.anchorOrigin.horizontal==="left"&&r.overlap==="rectangular",style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Ea.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="top"&&r.anchorOrigin.horizontal==="right"&&r.overlap==="circular",style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Ea.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="bottom"&&r.anchorOrigin.horizontal==="right"&&r.overlap==="circular",style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Ea.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="top"&&r.anchorOrigin.horizontal==="left"&&r.overlap==="circular",style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Ea.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="bottom"&&r.anchorOrigin.horizontal==="left"&&r.overlap==="circular",style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Ea.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]}}),$H=U.forwardRef(function(t,r){var n,i,o,a,s,l;const c=kH({props:t,name:"MuiBadge"}),{anchorOrigin:u={vertical:"top",horizontal:"right"},className:f,component:d,components:b={},componentsProps:p={},children:v,overlap:w="rectangular",color:C="default",invisible:y=!1,max:M=99,badgeContent:B,slots:D,slotProps:F,showZero:N=!1,variant:_="standard"}=c,L=Ee(c,AH),{badgeContent:I,invisible:R,max:m,displayValue:g}=mz({max:M,invisible:y,badgeContent:B,showZero:N}),h=ub({anchorOrigin:u,color:C,overlap:w,variant:_,badgeContent:B}),x=R||I==null&&_!=="dot",{color:S=C,overlap:T=w,anchorOrigin:k=u,variant:$=_}=x?h:c,P=$!=="dot"?g:void 0,E=W({},c,{badgeContent:I,invisible:x,max:m,displayValue:P,showZero:N,anchorOrigin:k,color:S,overlap:T,variant:$}),A=_H(E),z=(n=(i=D==null?void 0:D.root)!=null?i:b.Root)!=null?n:RH,H=(o=(a=D==null?void 0:D.badge)!=null?a:b.Badge)!=null?o:TH,O=(s=F==null?void 0:F.root)!=null?s:p.root,V=(l=F==null?void 0:F.badge)!=null?l:p.badge,X=Nn({elementType:z,externalSlotProps:O,externalForwardedProps:L,additionalProps:{ref:r,as:d},ownerState:E,className:Se(O==null?void 0:O.className,A.root,f)}),J=Nn({elementType:H,externalSlotProps:V,ownerState:E,className:Se(A.badge,V==null?void 0:V.className)});return Y.jsxs(z,W({},X,{children:[v,Y.jsx(H,W({},J,{children:P}))]}))}),eue=$H,BH=tt("MuiBox",["root"]),IH=BH,FH=yS(),OH=FI({themeId:Js,defaultTheme:FH,defaultClassName:IH.root,generateClassName:ob.generate}),tue=OH;function DH(e){return nt("MuiButton",e)}const LH=tt("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),md=LH,NH=U.createContext({}),zH=NH,jH=U.createContext(void 0),UH=jH,HH=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],WH=e=>{const{color:t,disableElevation:r,fullWidth:n,size:i,variant:o,classes:a}=e,s={root:["root",o,`${o}${ue(t)}`,`size${ue(i)}`,`${o}Size${ue(i)}`,`color${ue(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${ue(i)}`],endIcon:["icon","endIcon",`iconSize${ue(i)}`]},l=it(s,DH,a);return W({},a,l)},JE=e=>W({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),VH=he(co,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${ue(r.color)}`],t[`size${ue(r.size)}`],t[`${r.variant}Size${ue(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;const i=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],o=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return W({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":W({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ct(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ct(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ct(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:o,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":W({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${md.focusVisible}`]:W({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${md.disabled}`]:W({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Ct(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${md.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${md.disabled}`]:{boxShadow:"none"}}),qH=he("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${ue(r.size)}`]]}})(({ownerState:e})=>W({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},JE(e))),KH=he("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${ue(r.size)}`]]}})(({ownerState:e})=>W({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},JE(e))),GH=U.forwardRef(function(t,r){const n=U.useContext(zH),i=U.useContext(UH),o=lb(n,t),a=ft({props:o,name:"MuiButton"}),{children:s,color:l="primary",component:c="button",className:u,disabled:f=!1,disableElevation:d=!1,disableFocusRipple:b=!1,endIcon:p,focusVisibleClassName:v,fullWidth:w=!1,size:C="medium",startIcon:y,type:M,variant:B="text"}=a,D=Ee(a,HH),F=W({},a,{color:l,component:c,disabled:f,disableElevation:d,disableFocusRipple:b,fullWidth:w,size:C,type:M,variant:B}),N=WH(F),_=y&&Y.jsx(qH,{className:N.startIcon,ownerState:F,children:y}),L=p&&Y.jsx(KH,{className:N.endIcon,ownerState:F,children:p}),I=i||"";return Y.jsxs(VH,W({ownerState:F,className:Se(n.className,N.root,u,I),component:c,disabled:f,focusRipple:!b,focusVisibleClassName:Se(N.focusVisible,v),ref:r,type:M},D,{classes:N,children:[_,s,L]}))}),rue=GH;function YH(e){return nt("PrivateSwitchBase",e)}tt("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const XH=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],JH=e=>{const{classes:t,checked:r,disabled:n,edge:i}=e,o={root:["root",r&&"checked",n&&"disabled",i&&`edge${ue(i)}`],input:["input"]};return it(o,YH,t)},ZH=he(co)(({ownerState:e})=>W({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),QH=he("input",{shouldForwardProp:Zr})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),eW=U.forwardRef(function(t,r){const{autoFocus:n,checked:i,checkedIcon:o,className:a,defaultChecked:s,disabled:l,disableFocusRipple:c=!1,edge:u=!1,icon:f,id:d,inputProps:b,inputRef:p,name:v,onBlur:w,onChange:C,onFocus:y,readOnly:M,required:B=!1,tabIndex:D,type:F,value:N}=t,_=Ee(t,XH),[L,I]=ja({controlled:i,default:!!s,name:"SwitchBase",state:"checked"}),R=va(),m=$=>{y&&y($),R&&R.onFocus&&R.onFocus($)},g=$=>{w&&w($),R&&R.onBlur&&R.onBlur($)},h=$=>{if($.nativeEvent.defaultPrevented)return;const P=$.target.checked;I(P),C&&C($,P)};let x=l;R&&typeof x>"u"&&(x=R.disabled);const S=F==="checkbox"||F==="radio",T=W({},t,{checked:L,disabled:x,disableFocusRipple:c,edge:u}),k=JH(T);return Y.jsxs(ZH,W({component:"span",className:Se(k.root,a),centerRipple:!0,focusRipple:!c,disabled:x,tabIndex:null,role:void 0,onFocus:m,onBlur:g,ownerState:T,ref:r},_,{children:[Y.jsx(QH,W({autoFocus:n,checked:i,defaultChecked:s,className:k.input,disabled:x,id:S?d:void 0,name:v,onChange:h,readOnly:M,ref:p,required:B,ownerState:T,tabIndex:D,type:F},F==="checkbox"&&N===void 0?{}:{value:N},b)),L?o:f]}))}),tW=eW,rW=fn(Y.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),nW=fn(Y.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),iW=fn(Y.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function oW(e){return nt("MuiCheckbox",e)}const aW=tt("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Bm=aW,sW=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],lW=e=>{const{classes:t,indeterminate:r,color:n,size:i}=e,o={root:["root",r&&"indeterminate",`color${ue(n)}`,`size${ue(i)}`]},a=it(o,oW,t);return W({},t,a)},cW=he(tW,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,t[`size${ue(r.size)}`],r.color!=="default"&&t[`color${ue(r.color)}`]]}})(({theme:e,ownerState:t})=>W({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ct(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${Bm.checked}, &.${Bm.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Bm.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),uW=Y.jsx(nW,{}),fW=Y.jsx(rW,{}),dW=Y.jsx(iW,{}),hW=U.forwardRef(function(t,r){var n,i;const o=ft({props:t,name:"MuiCheckbox"}),{checkedIcon:a=uW,color:s="primary",icon:l=fW,indeterminate:c=!1,indeterminateIcon:u=dW,inputProps:f,size:d="medium",className:b}=o,p=Ee(o,sW),v=c?u:l,w=c?u:a,C=W({},o,{color:s,indeterminate:c,size:d}),y=lW(C);return Y.jsx(cW,W({type:"checkbox",inputProps:W({"data-indeterminate":c},f),icon:U.cloneElement(v,{fontSize:(n=v.props.fontSize)!=null?n:d}),checkedIcon:U.cloneElement(w,{fontSize:(i=w.props.fontSize)!=null?i:d}),ownerState:C,ref:r,className:Se(y.root,b)},p,{classes:y}))}),nue=hW;function pW(e){return nt("MuiCircularProgress",e)}tt("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const xW=["className","color","disableShrink","size","style","thickness","value","variant"];let A1=e=>e,N8,z8,j8,U8;const Ma=44,mW=ss(N8||(N8=A1` - 0% { - transform: rotate(0deg); - } - - 100% { - transform: rotate(360deg); - } -`)),gW=ss(z8||(z8=A1` - 0% { - stroke-dasharray: 1px, 200px; - stroke-dashoffset: 0; - } - - 50% { - stroke-dasharray: 100px, 200px; - stroke-dashoffset: -15px; - } - - 100% { - stroke-dasharray: 100px, 200px; - stroke-dashoffset: -125px; - } -`)),vW=e=>{const{classes:t,variant:r,color:n,disableShrink:i}=e,o={root:["root",r,`color${ue(n)}`],svg:["svg"],circle:["circle",`circle${ue(r)}`,i&&"circleDisableShrink"]};return it(o,pW,t)},bW=he("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${ue(r.color)}`]]}})(({ownerState:e,theme:t})=>W({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&Cc(j8||(j8=A1` - animation: ${0} 1.4s linear infinite; - `),mW)),yW=he("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),wW=he("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${ue(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>W({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&Cc(U8||(U8=A1` - animation: ${0} 1.4s ease-in-out infinite; - `),gW)),SW=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiCircularProgress"}),{className:i,color:o="primary",disableShrink:a=!1,size:s=40,style:l,thickness:c=3.6,value:u=0,variant:f="indeterminate"}=n,d=Ee(n,xW),b=W({},n,{color:o,disableShrink:a,size:s,thickness:c,value:u,variant:f}),p=vW(b),v={},w={},C={};if(f==="determinate"){const y=2*Math.PI*((Ma-c)/2);v.strokeDasharray=y.toFixed(3),C["aria-valuenow"]=Math.round(u),v.strokeDashoffset=`${((100-u)/100*y).toFixed(3)}px`,w.transform="rotate(-90deg)"}return Y.jsx(bW,W({className:Se(p.root,i),style:W({width:s,height:s},w,l),ownerState:b,ref:r,role:"progressbar"},C,d,{children:Y.jsx(yW,{className:p.svg,ownerState:b,viewBox:`${Ma/2} ${Ma/2} ${Ma} ${Ma}`,children:Y.jsx(wW,{className:p.circle,style:v,ownerState:b,cx:Ma,cy:Ma,r:(Ma-c)/2,fill:"none",strokeWidth:c})})}))}),iue=SW,CW=(e,t)=>W({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),EW=e=>W({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),MW=(e,t=!1)=>{var r;const n={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([a,s])=>{var l;n[e.getColorSchemeSelector(a).replace(/\s*&/,"")]={colorScheme:(l=s.palette)==null?void 0:l.mode}});let i=W({html:CW(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:W({margin:0},EW(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},n);const o=(r=e.components)==null||(r=r.MuiCssBaseline)==null?void 0:r.styleOverrides;return o&&(i=[i,o]),i};function oue(e){const t=ft({props:e,name:"MuiCssBaseline"}),{children:r,enableColorScheme:n=!1}=t;return Y.jsxs(U.Fragment,{children:[Y.jsx(KE,{styles:i=>MW(i,n)}),r]})}function PW(e){return nt("MuiModal",e)}tt("MuiModal",["root","hidden","backdrop"]);const AW=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],kW=e=>{const{open:t,exited:r,classes:n}=e;return it({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},PW,n)},_W=he("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(({theme:e,ownerState:t})=>W({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),RW=he(XE,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),TW=U.forwardRef(function(t,r){var n,i,o,a,s,l;const c=ft({name:"MuiModal",props:t}),{BackdropComponent:u=RW,BackdropProps:f,className:d,closeAfterTransition:b=!1,children:p,container:v,component:w,components:C={},componentsProps:y={},disableAutoFocus:M=!1,disableEnforceFocus:B=!1,disableEscapeKeyDown:D=!1,disablePortal:F=!1,disableRestoreFocus:N=!1,disableScrollLock:_=!1,hideBackdrop:L=!1,keepMounted:I=!1,onBackdropClick:R,open:m,slotProps:g,slots:h}=c,x=Ee(c,AW),S=W({},c,{closeAfterTransition:b,disableAutoFocus:M,disableEnforceFocus:B,disableEscapeKeyDown:D,disablePortal:F,disableRestoreFocus:N,disableScrollLock:_,hideBackdrop:L,keepMounted:I}),{getRootProps:T,getBackdropProps:k,getTransitionProps:$,portalRef:P,isTopModal:E,exited:A,hasTransition:z}=Lz(W({},S,{rootRef:r})),H=W({},S,{exited:A}),O=kW(H),V={};if(p.props.tabIndex===void 0&&(V.tabIndex="-1"),z){const{onEnter:Z,onExited:te}=$();V.onEnter=Z,V.onExited=te}const X=(n=(i=h==null?void 0:h.root)!=null?i:C.Root)!=null?n:_W,J=(o=(a=h==null?void 0:h.backdrop)!=null?a:C.Backdrop)!=null?o:u,G=(s=g==null?void 0:g.root)!=null?s:y.root,j=(l=g==null?void 0:g.backdrop)!=null?l:y.backdrop,q=Nn({elementType:X,externalSlotProps:G,externalForwardedProps:x,getSlotProps:T,additionalProps:{ref:r,as:w},ownerState:H,className:Se(d,G==null?void 0:G.className,O==null?void 0:O.root,!H.open&&H.exited&&(O==null?void 0:O.hidden))}),K=Nn({elementType:J,externalSlotProps:j,additionalProps:f,getSlotProps:Z=>k(W({},Z,{onClick:te=>{R&&R(te),Z!=null&&Z.onClick&&Z.onClick(te)}})),className:Se(j==null?void 0:j.className,f==null?void 0:f.className,O==null?void 0:O.backdrop),ownerState:H});return!I&&!m&&(!z||A)?null:Y.jsx(BE,{ref:P,container:v,disablePortal:F,children:Y.jsxs(X,W({},q,{children:[!L&&u?Y.jsx(J,W({},K)):null,Y.jsx(kz,{disableEnforceFocus:B,disableAutoFocus:M,disableRestoreFocus:N,isEnabled:E,open:m,children:U.cloneElement(p,V)})]}))})}),m4=TW;function $W(e){return nt("MuiDialog",e)}const BW=tt("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),Im=BW,IW=U.createContext({}),ZE=IW,FW=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],OW=he(XE,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),DW=e=>{const{classes:t,scroll:r,maxWidth:n,fullWidth:i,fullScreen:o}=e,a={root:["root"],container:["container",`scroll${ue(r)}`],paper:["paper",`paperScroll${ue(r)}`,`paperWidth${ue(String(n))}`,i&&"paperFullWidth",o&&"paperFullScreen"]};return it(a,$W,t)},LW=he(m4,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),NW=he("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.container,t[`scroll${ue(r.scroll)}`]]}})(({ownerState:e})=>W({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),zW=he(ga,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`scrollPaper${ue(r.scroll)}`],t[`paperWidth${ue(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>W({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${Im.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${Im.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${Im.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),jW=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiDialog"}),i=pa(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":s,BackdropComponent:l,BackdropProps:c,children:u,className:f,disableEscapeKeyDown:d=!1,fullScreen:b=!1,fullWidth:p=!1,maxWidth:v="sm",onBackdropClick:w,onClose:C,open:y,PaperComponent:M=ga,PaperProps:B={},scroll:D="paper",TransitionComponent:F=YE,transitionDuration:N=o,TransitionProps:_}=n,L=Ee(n,FW),I=W({},n,{disableEscapeKeyDown:d,fullScreen:b,fullWidth:p,maxWidth:v,scroll:D}),R=DW(I),m=U.useRef(),g=T=>{m.current=T.target===T.currentTarget},h=T=>{m.current&&(m.current=null,w&&w(T),C&&C(T,"backdropClick"))},x=Za(s),S=U.useMemo(()=>({titleId:x}),[x]);return Y.jsx(LW,W({className:Se(R.root,f),closeAfterTransition:!0,components:{Backdrop:OW},componentsProps:{backdrop:W({transitionDuration:N,as:l},c)},disableEscapeKeyDown:d,onClose:C,open:y,ref:r,onClick:h,ownerState:I},L,{children:Y.jsx(F,W({appear:!0,in:y,timeout:N,role:"presentation"},_,{children:Y.jsx(NW,{className:Se(R.container),onMouseDown:g,ownerState:I,children:Y.jsx(zW,W({as:M,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":x},B,{className:Se(R.paper,B.className),ownerState:I,children:Y.jsx(ZE.Provider,{value:S,children:u})}))})}))}))}),aue=jW;function UW(e){return nt("MuiDialogActions",e)}tt("MuiDialogActions",["root","spacing"]);const HW=["className","disableSpacing"],WW=e=>{const{classes:t,disableSpacing:r}=e;return it({root:["root",!r&&"spacing"]},UW,t)},VW=he("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})(({ownerState:e})=>W({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),qW=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiDialogActions"}),{className:i,disableSpacing:o=!1}=n,a=Ee(n,HW),s=W({},n,{disableSpacing:o}),l=WW(s);return Y.jsx(VW,W({className:Se(l.root,i),ownerState:s,ref:r},a))}),sue=qW;function KW(e){return nt("MuiDialogContent",e)}tt("MuiDialogContent",["root","dividers"]);function GW(e){return nt("MuiDialogTitle",e)}const YW=tt("MuiDialogTitle",["root"]),XW=YW,JW=["className","dividers"],ZW=e=>{const{classes:t,dividers:r}=e;return it({root:["root",r&&"dividers"]},KW,t)},QW=he("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>W({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${XW.root} + &`]:{paddingTop:0}})),eV=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiDialogContent"}),{className:i,dividers:o=!1}=n,a=Ee(n,JW),s=W({},n,{dividers:o}),l=ZW(s);return Y.jsx(QW,W({className:Se(l.root,i),ownerState:s,ref:r},a))}),lue=eV,tV=["className","id"],rV=e=>{const{classes:t}=e;return it({root:["root"]},GW,t)},nV=he(La,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),iV=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiDialogTitle"}),{className:i,id:o}=n,a=Ee(n,tV),s=n,l=rV(s),{titleId:c=o}=U.useContext(ZE);return Y.jsx(nV,W({component:"h2",className:Se(l.root,i),ownerState:s,ref:r,variant:"h6",id:o??c},a))}),cue=iV,oV=tt("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),H8=oV,aV=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function sV(e,t,r){const n=t.getBoundingClientRect(),i=r&&r.getBoundingClientRect(),o=_i(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const c=o.getComputedStyle(t);a=c.getPropertyValue("-webkit-transform")||c.getPropertyValue("transform")}let s=0,l=0;if(a&&a!=="none"&&typeof a=="string"){const c=a.split("(")[1].split(")")[0].split(",");s=parseInt(c[4],10),l=parseInt(c[5],10)}return e==="left"?i?`translateX(${i.right+s-n.left}px)`:`translateX(${o.innerWidth+s-n.left}px)`:e==="right"?i?`translateX(-${n.right-i.left-s}px)`:`translateX(-${n.left+n.width-s}px)`:e==="up"?i?`translateY(${i.bottom+l-n.top}px)`:`translateY(${o.innerHeight+l-n.top}px)`:i?`translateY(-${n.top-i.top+n.height-l}px)`:`translateY(-${n.top+n.height-l}px)`}function lV(e){return typeof e=="function"?e():e}function gd(e,t,r){const n=lV(r),i=sV(e,t,n);i&&(t.style.webkitTransform=i,t.style.transform=i)}const cV=U.forwardRef(function(t,r){const n=pa(),i={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,container:c,direction:u="down",easing:f=i,in:d,onEnter:b,onEntered:p,onEntering:v,onExit:w,onExited:C,onExiting:y,style:M,timeout:B=o,TransitionComponent:D=i4}=t,F=Ee(t,aV),N=U.useRef(null),_=Vt(l.ref,N,r),L=k=>$=>{k&&($===void 0?k(N.current):k(N.current,$))},I=L((k,$)=>{gd(u,k,c),s4(k),b&&b(k,$)}),R=L((k,$)=>{const P=Tc({timeout:B,style:M,easing:f},{mode:"enter"});k.style.webkitTransition=n.transitions.create("-webkit-transform",W({},P)),k.style.transition=n.transitions.create("transform",W({},P)),k.style.webkitTransform="none",k.style.transform="none",v&&v(k,$)}),m=L(p),g=L(y),h=L(k=>{const $=Tc({timeout:B,style:M,easing:f},{mode:"exit"});k.style.webkitTransition=n.transitions.create("-webkit-transform",$),k.style.transition=n.transitions.create("transform",$),gd(u,k,c),w&&w(k)}),x=L(k=>{k.style.webkitTransition="",k.style.transition="",C&&C(k)}),S=k=>{a&&a(N.current,k)},T=U.useCallback(()=>{N.current&&gd(u,N.current,c)},[u,c]);return U.useEffect(()=>{if(d||u==="down"||u==="right")return;const k=Xc(()=>{N.current&&gd(u,N.current,c)}),$=_i(N.current);return $.addEventListener("resize",k),()=>{k.clear(),$.removeEventListener("resize",k)}},[u,d,c]),U.useEffect(()=>{d||T()},[d,T]),Y.jsx(D,W({nodeRef:N,onEnter:I,onEntered:m,onEntering:R,onExit:h,onExited:x,onExiting:g,addEndListener:S,appear:s,in:d,timeout:B},F,{children:(k,$)=>U.cloneElement(l,W({ref:_,style:W({visibility:k==="exited"&&!d?"hidden":void 0},M,l.props.style)},$))}))}),uV=cV;function fV(e){return nt("MuiDrawer",e)}tt("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const dV=["BackdropProps"],hV=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],QE=(e,t)=>{const{ownerState:r}=e;return[t.root,(r.variant==="permanent"||r.variant==="persistent")&&t.docked,t.modal]},pV=e=>{const{classes:t,anchor:r,variant:n}=e,i={root:["root"],docked:[(n==="permanent"||n==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${ue(r)}`,n!=="temporary"&&`paperAnchorDocked${ue(r)}`]};return it(i,fV,t)},xV=he(m4,{name:"MuiDrawer",slot:"Root",overridesResolver:QE})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),W8=he("div",{shouldForwardProp:Zr,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:QE})({flex:"0 0 auto"}),mV=he(ga,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`paperAnchor${ue(r.anchor)}`],r.variant!=="temporary"&&t[`paperAnchorDocked${ue(r.anchor)}`]]}})(({theme:e,ownerState:t})=>W({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),eM={left:"right",right:"left",top:"down",bottom:"up"};function gV(e){return["left","right"].indexOf(e)!==-1}function vV({direction:e},t){return e==="rtl"&&gV(t)?eM[t]:t}const bV=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiDrawer"}),i=pa(),o=Jc(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{anchor:s="left",BackdropProps:l,children:c,className:u,elevation:f=16,hideBackdrop:d=!1,ModalProps:{BackdropProps:b}={},onClose:p,open:v=!1,PaperProps:w={},SlideProps:C,TransitionComponent:y=uV,transitionDuration:M=a,variant:B="temporary"}=n,D=Ee(n.ModalProps,dV),F=Ee(n,hV),N=U.useRef(!1);U.useEffect(()=>{N.current=!0},[]);const _=vV({direction:o?"rtl":"ltr"},s),I=W({},n,{anchor:s,elevation:f,open:v,variant:B},F),R=pV(I),m=Y.jsx(mV,W({elevation:B==="temporary"?f:0,square:!0},w,{className:Se(R.paper,w.className),ownerState:I,children:c}));if(B==="permanent")return Y.jsx(W8,W({className:Se(R.root,R.docked,u),ownerState:I,ref:r},F,{children:m}));const g=Y.jsx(y,W({in:v,direction:eM[_],timeout:M,appear:N.current},C,{children:m}));return B==="persistent"?Y.jsx(W8,W({className:Se(R.root,R.docked,u),ownerState:I,ref:r},F,{children:g})):Y.jsx(xV,W({BackdropProps:W({},l,b,{transitionDuration:M}),className:Se(R.root,R.modal,u),open:v,ownerState:I,onClose:p,hideBackdrop:d,ref:r},F,D,{children:g}))}),uue=bV;function yV(e){return nt("MuiFab",e)}const wV=tt("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),V8=wV,SV=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],CV=e=>{const{color:t,variant:r,classes:n,size:i}=e,o={root:["root",r,`size${ue(i)}`,t==="inherit"?"colorInherit":t]},a=it(o,yV,n);return W({},n,a)},EV=he(co,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>Zr(e)||e==="classes",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${ue(r.size)}`],r.color==="inherit"&&t.colorInherit,t[ue(r.size)],t[r.color]]}})(({theme:e,ownerState:t})=>{var r,n;return W({},e.typography.button,{minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${V8.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]}},t.size==="small"&&{width:40,height:40},t.size==="medium"&&{width:48,height:48},t.variant==="extended"&&{borderRadius:48/2,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48},t.variant==="extended"&&t.size==="small"&&{width:"auto",padding:"0 8px",borderRadius:34/2,minWidth:34,height:34},t.variant==="extended"&&t.size==="medium"&&{width:"auto",padding:"0 16px",borderRadius:40/2,minWidth:40,height:40},t.color==="inherit"&&{color:"inherit"})},({theme:e,ownerState:t})=>W({},t.color!=="inherit"&&t.color!=="default"&&(e.vars||e).palette[t.color]!=null&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}}),({theme:e})=>({[`&.${V8.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}})),MV=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiFab"}),{children:i,className:o,color:a="default",component:s="button",disabled:l=!1,disableFocusRipple:c=!1,focusVisibleClassName:u,size:f="large",variant:d="circular"}=n,b=Ee(n,SV),p=W({},n,{color:a,component:s,disabled:l,disableFocusRipple:c,size:f,variant:d}),v=CV(p);return Y.jsx(EV,W({className:Se(v.root,o),component:s,disabled:l,focusRipple:!c,focusVisibleClassName:Se(v.focusVisible,u),ownerState:p,ref:r},b,{classes:v,children:i}))}),fue=MV,PV=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],AV=e=>{const{classes:t,disableUnderline:r}=e,i=it({root:["root",!r&&"underline"],input:["input"]},UU,t);return W({},t,i)},kV=he(E1,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...S1(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var r;const n=e.palette.mode==="light",i=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return W({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o}},[`&.${Gn.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o},[`&.${Gn.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(r=(e.vars||e).palette[t.color||"primary"])==null?void 0:r.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Gn.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Gn.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Gn.disabled}, .${Gn.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Gn.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&W({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9}))}),_V=he(M1,{name:"MuiFilledInput",slot:"Input",overridesResolver:C1})(({theme:e,ownerState:t})=>W({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),tM=U.forwardRef(function(t,r){var n,i,o,a;const s=ft({props:t,name:"MuiFilledInput"}),{components:l={},componentsProps:c,fullWidth:u=!1,inputComponent:f="input",multiline:d=!1,slotProps:b,slots:p={},type:v="text"}=s,w=Ee(s,PV),C=W({},s,{fullWidth:u,inputComponent:f,multiline:d,type:v}),y=AV(s),M={root:{ownerState:C},input:{ownerState:C}},B=b??c?gn(M,b??c):M,D=(n=(i=p.root)!=null?i:l.Root)!=null?n:kV,F=(o=(a=p.input)!=null?a:l.Input)!=null?o:_V;return Y.jsx(P1,W({slots:{root:D,input:F},componentsProps:B,fullWidth:u,inputComponent:f,multiline:d,ref:r,type:v},w,{classes:y}))});tM.muiName="Input";const rM=tM;function RV(e){return nt("MuiFormControl",e)}tt("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const TV=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],$V=e=>{const{classes:t,margin:r,fullWidth:n}=e,i={root:["root",r!=="none"&&`margin${ue(r)}`,n&&"fullWidth"]};return it(i,RV,t)},BV=he("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>W({},t.root,t[`margin${ue(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>W({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),IV=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiFormControl"}),{children:i,className:o,color:a="primary",component:s="div",disabled:l=!1,error:c=!1,focused:u,fullWidth:f=!1,hiddenLabel:d=!1,margin:b="none",required:p=!1,size:v="medium",variant:w="outlined"}=n,C=Ee(n,TV),y=W({},n,{color:a,component:s,disabled:l,error:c,fullWidth:f,hiddenLabel:d,margin:b,required:p,size:v,variant:w}),M=$V(y),[B,D]=U.useState(()=>{let g=!1;return i&&U.Children.forEach(i,h=>{if(!af(h,["Input","Select"]))return;const x=af(h,["Select"])?h.props.input:h;x&&$U(x.props)&&(g=!0)}),g}),[F,N]=U.useState(()=>{let g=!1;return i&&U.Children.forEach(i,h=>{af(h,["Input","Select"])&&(zh(h.props,!0)||zh(h.props.inputProps,!0))&&(g=!0)}),g}),[_,L]=U.useState(!1);l&&_&&L(!1);const I=u!==void 0&&!l?u:_;let R;const m=U.useMemo(()=>({adornedStart:B,setAdornedStart:D,color:a,disabled:l,error:c,filled:F,focused:I,fullWidth:f,hiddenLabel:d,size:v,onBlur:()=>{L(!1)},onEmpty:()=>{N(!1)},onFilled:()=>{N(!0)},onFocus:()=>{L(!0)},registerEffect:R,required:p,variant:w}),[B,a,l,c,F,I,f,d,R,p,v,w]);return Y.jsx(w1.Provider,{value:m,children:Y.jsx(BV,W({as:s,ownerState:y,className:Se(M.root,o),ref:r},C,{children:i}))})}),FV=IV,OV=OF({createStyledComponent:he("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>ft({props:e,name:"MuiStack"})}),DV=OV;function LV(e){return nt("MuiFormControlLabel",e)}const NV=tt("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),Qu=NV,zV=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],jV=e=>{const{classes:t,disabled:r,labelPlacement:n,error:i,required:o}=e,a={root:["root",r&&"disabled",`labelPlacement${ue(n)}`,i&&"error",o&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",i&&"error"]};return it(a,LV,t)},UV=he("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Qu.label}`]:t.label},t.root,t[`labelPlacement${ue(r.labelPlacement)}`]]}})(({theme:e,ownerState:t})=>W({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Qu.disabled}`]:{cursor:"default"}},t.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},t.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},t.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${Qu.label}`]:{[`&.${Qu.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),HV=he("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Qu.error}`]:{color:(e.vars||e).palette.error.main}})),WV=U.forwardRef(function(t,r){var n,i;const o=ft({props:t,name:"MuiFormControlLabel"}),{className:a,componentsProps:s={},control:l,disabled:c,disableTypography:u,label:f,labelPlacement:d="end",required:b,slotProps:p={}}=o,v=Ee(o,zV),w=va(),C=(n=c??l.props.disabled)!=null?n:w==null?void 0:w.disabled,y=b??l.props.required,M={disabled:C,required:y};["checked","name","onChange","value","inputRef"].forEach(L=>{typeof l.props[L]>"u"&&typeof o[L]<"u"&&(M[L]=o[L])});const B=pl({props:o,muiFormControl:w,states:["error"]}),D=W({},o,{disabled:C,labelPlacement:d,required:y,error:B.error}),F=jV(D),N=(i=p.typography)!=null?i:s.typography;let _=f;return _!=null&&_.type!==La&&!u&&(_=Y.jsx(La,W({component:"span"},N,{className:Se(F.label,N==null?void 0:N.className),children:_}))),Y.jsxs(UV,W({className:Se(F.root,a),ownerState:D,ref:r},v,{children:[U.cloneElement(l,M),y?Y.jsxs(DV,{display:"block",children:[_,Y.jsxs(HV,{ownerState:D,"aria-hidden":!0,className:F.asterisk,children:[" ","*"]})]}):_]}))}),due=WV;function VV(e){return nt("MuiFormHelperText",e)}const qV=tt("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),q8=qV;var K8;const KV=["children","className","component","disabled","error","filled","focused","margin","required","variant"],GV=e=>{const{classes:t,contained:r,size:n,disabled:i,error:o,filled:a,focused:s,required:l}=e,c={root:["root",i&&"disabled",o&&"error",n&&`size${ue(n)}`,r&&"contained",s&&"focused",a&&"filled",l&&"required"]};return it(c,VV,t)},YV=he("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.size&&t[`size${ue(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})(({theme:e,ownerState:t})=>W({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${q8.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${q8.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),XV=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiFormHelperText"}),{children:i,className:o,component:a="p"}=n,s=Ee(n,KV),l=va(),c=pl({props:n,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),u=W({},n,{component:a,contained:c.variant==="filled"||c.variant==="outlined",variant:c.variant,size:c.size,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),f=GV(u);return Y.jsx(YV,W({as:a,ownerState:u,className:Se(f.root,o),ref:r},s,{children:i===" "?K8||(K8=Y.jsx("span",{className:"notranslate",children:"​"})):i}))}),JV=XV;function ZV(e){return nt("MuiFormLabel",e)}const QV=tt("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),bf=QV,eq=["children","className","color","component","disabled","error","filled","focused","required"],tq=e=>{const{classes:t,color:r,focused:n,disabled:i,error:o,filled:a,required:s}=e,l={root:["root",`color${ue(r)}`,i&&"disabled",o&&"error",a&&"filled",n&&"focused",s&&"required"],asterisk:["asterisk",o&&"error"]};return it(l,ZV,t)},rq=he("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>W({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>W({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${bf.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${bf.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${bf.error}`]:{color:(e.vars||e).palette.error.main}})),nq=he("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${bf.error}`]:{color:(e.vars||e).palette.error.main}})),iq=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiFormLabel"}),{children:i,className:o,component:a="label"}=n,s=Ee(n,eq),l=va(),c=pl({props:n,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),u=W({},n,{color:c.color||"primary",component:a,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),f=tq(u);return Y.jsxs(rq,W({as:a,ownerState:u,className:Se(f.root,o),ref:r},s,{children:[i,c.required&&Y.jsxs(nq,{ownerState:u,"aria-hidden":!0,className:f.asterisk,children:[" ","*"]})]}))}),oq=iq,aq=U.createContext(),G8=aq;function sq(e){return nt("MuiGrid",e)}const lq=[0,1,2,3,4,5,6,7,8,9,10],cq=["column-reverse","column","row-reverse","row"],uq=["nowrap","wrap-reverse","wrap"],Au=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],r0=tt("MuiGrid",["root","container","item","zeroMinWidth",...lq.map(e=>`spacing-xs-${e}`),...cq.map(e=>`direction-xs-${e}`),...uq.map(e=>`wrap-xs-${e}`),...Au.map(e=>`grid-xs-${e}`),...Au.map(e=>`grid-sm-${e}`),...Au.map(e=>`grid-md-${e}`),...Au.map(e=>`grid-lg-${e}`),...Au.map(e=>`grid-xl-${e}`)]),fq=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function hc(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function dq({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce((n,i)=>{let o={};if(t[i]&&(r=t[i]),!r)return n;if(r===!0)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(r==="auto")o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const a=Hs({values:t.columns,breakpoints:e.breakpoints.values}),s=typeof a=="object"?a[i]:a;if(s==null)return n;const l=`${Math.round(r/s*1e8)/1e6}%`;let c={};if(t.container&&t.item&&t.columnSpacing!==0){const u=e.spacing(t.columnSpacing);if(u!=="0px"){const f=`calc(${l} + ${hc(u)})`;c={flexBasis:f,maxWidth:f}}}o=W({flexBasis:l,flexGrow:0,maxWidth:l},c)}return e.breakpoints.values[i]===0?Object.assign(n,o):n[e.breakpoints.up(i)]=o,n},{})}function hq({theme:e,ownerState:t}){const r=Hs({values:t.direction,breakpoints:e.breakpoints.values});return Ln({theme:e},r,n=>{const i={flexDirection:n};return n.indexOf("column")===0&&(i[`& > .${r0.item}`]={maxWidth:"none"}),i})}function nM({breakpoints:e,values:t}){let r="";Object.keys(t).forEach(i=>{r===""&&t[i]!==0&&(r=i)});const n=Object.keys(e).sort((i,o)=>e[i]-e[o]);return n.slice(0,n.indexOf(r))}function pq({theme:e,ownerState:t}){const{container:r,rowSpacing:n}=t;let i={};if(r&&n!==0){const o=Hs({values:n,breakpoints:e.breakpoints.values});let a;typeof o=="object"&&(a=nM({breakpoints:e.breakpoints.values,values:o})),i=Ln({theme:e},o,(s,l)=>{var c;const u=e.spacing(s);return u!=="0px"?{marginTop:`-${hc(u)}`,[`& > .${r0.item}`]:{paddingTop:hc(u)}}:(c=a)!=null&&c.includes(l)?{}:{marginTop:0,[`& > .${r0.item}`]:{paddingTop:0}}})}return i}function xq({theme:e,ownerState:t}){const{container:r,columnSpacing:n}=t;let i={};if(r&&n!==0){const o=Hs({values:n,breakpoints:e.breakpoints.values});let a;typeof o=="object"&&(a=nM({breakpoints:e.breakpoints.values,values:o})),i=Ln({theme:e},o,(s,l)=>{var c;const u=e.spacing(s);return u!=="0px"?{width:`calc(100% + ${hc(u)})`,marginLeft:`-${hc(u)}`,[`& > .${r0.item}`]:{paddingLeft:hc(u)}}:(c=a)!=null&&c.includes(l)?{}:{width:"100%",marginLeft:0,[`& > .${r0.item}`]:{paddingLeft:0}}})}return i}function mq(e,t,r={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[r[`spacing-xs-${String(e)}`]];const n=[];return t.forEach(i=>{const o=e[i];Number(o)>0&&n.push(r[`spacing-${i}-${String(o)}`])}),n}const gq=he("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{container:n,direction:i,item:o,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:c}=r;let u=[];n&&(u=mq(a,c,t));const f=[];return c.forEach(d=>{const b=r[d];b&&f.push(t[`grid-${d}-${String(b)}`])}),[t.root,n&&t.container,o&&t.item,l&&t.zeroMinWidth,...u,i!=="row"&&t[`direction-xs-${String(i)}`],s!=="wrap"&&t[`wrap-xs-${String(s)}`],...f]}})(({ownerState:e})=>W({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),hq,pq,xq,dq);function vq(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const r=[];return t.forEach(n=>{const i=e[n];if(Number(i)>0){const o=`spacing-${n}-${String(i)}`;r.push(o)}}),r}const bq=e=>{const{classes:t,container:r,direction:n,item:i,spacing:o,wrap:a,zeroMinWidth:s,breakpoints:l}=e;let c=[];r&&(c=vq(o,l));const u=[];l.forEach(d=>{const b=e[d];b&&u.push(`grid-${d}-${String(b)}`)});const f={root:["root",r&&"container",i&&"item",s&&"zeroMinWidth",...c,n!=="row"&&`direction-xs-${String(n)}`,a!=="wrap"&&`wrap-xs-${String(a)}`,...u]};return it(f,sq,t)},yq=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiGrid"}),{breakpoints:i}=pa(),o=P0(n),{className:a,columns:s,columnSpacing:l,component:c="div",container:u=!1,direction:f="row",item:d=!1,rowSpacing:b,spacing:p=0,wrap:v="wrap",zeroMinWidth:w=!1}=o,C=Ee(o,fq),y=b||p,M=l||p,B=U.useContext(G8),D=u?s||12:B,F={},N=W({},C);i.keys.forEach(I=>{C[I]!=null&&(F[I]=C[I],delete N[I])});const _=W({},o,{columns:D,container:u,direction:f,item:d,rowSpacing:y,columnSpacing:M,wrap:v,zeroMinWidth:w,spacing:p},F,{breakpoints:i.keys}),L=bq(_);return Y.jsx(G8.Provider,{value:D,children:Y.jsx(gq,W({ownerState:_,className:Se(L.root,a),as:c,ref:r},N))})}),hue=yq,wq=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Wv(e){return`scale(${e}, ${e**2})`}const Sq={entering:{opacity:1,transform:Wv(1)},entered:{opacity:1,transform:"none"}},Fm=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),iM=U.forwardRef(function(t,r){const{addEndListener:n,appear:i=!0,children:o,easing:a,in:s,onEnter:l,onEntered:c,onEntering:u,onExit:f,onExited:d,onExiting:b,style:p,timeout:v="auto",TransitionComponent:w=i4}=t,C=Ee(t,wq),y=Bs(),M=U.useRef(),B=pa(),D=U.useRef(null),F=Vt(D,o.ref,r),N=x=>S=>{if(x){const T=D.current;S===void 0?x(T):x(T,S)}},_=N(u),L=N((x,S)=>{s4(x);const{duration:T,delay:k,easing:$}=Tc({style:p,timeout:v,easing:a},{mode:"enter"});let P;v==="auto"?(P=B.transitions.getAutoHeightDuration(x.clientHeight),M.current=P):P=T,x.style.transition=[B.transitions.create("opacity",{duration:P,delay:k}),B.transitions.create("transform",{duration:Fm?P:P*.666,delay:k,easing:$})].join(","),l&&l(x,S)}),I=N(c),R=N(b),m=N(x=>{const{duration:S,delay:T,easing:k}=Tc({style:p,timeout:v,easing:a},{mode:"exit"});let $;v==="auto"?($=B.transitions.getAutoHeightDuration(x.clientHeight),M.current=$):$=S,x.style.transition=[B.transitions.create("opacity",{duration:$,delay:T}),B.transitions.create("transform",{duration:Fm?$:$*.666,delay:Fm?T:T||$*.333,easing:k})].join(","),x.style.opacity=0,x.style.transform=Wv(.75),f&&f(x)}),g=N(d),h=x=>{v==="auto"&&y.start(M.current||0,x),n&&n(D.current,x)};return Y.jsx(w,W({appear:i,in:s,nodeRef:D,onEnter:L,onEntered:I,onEntering:_,onExit:m,onExited:g,onExiting:R,addEndListener:h,timeout:v==="auto"?null:v},C,{children:(x,S)=>U.cloneElement(o,W({style:W({opacity:0,transform:Wv(.75),visibility:x==="exited"&&!s?"hidden":void 0},Sq[x],p,o.props.style),ref:F},S))}))});iM.muiSupportAuto=!0;const jh=iM,Cq=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],Eq=e=>{const{classes:t,disableUnderline:r}=e,i=it({root:["root",!r&&"underline"],input:["input"]},NU,t);return W({},t,i)},Mq=he(E1,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...S1(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),W({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Ia.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ia.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Ia.disabled}, .${Ia.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Ia.disabled}:before`]:{borderBottomStyle:"dotted"}})}),Pq=he(M1,{name:"MuiInput",slot:"Input",overridesResolver:C1})({}),oM=U.forwardRef(function(t,r){var n,i,o,a;const s=ft({props:t,name:"MuiInput"}),{disableUnderline:l,components:c={},componentsProps:u,fullWidth:f=!1,inputComponent:d="input",multiline:b=!1,slotProps:p,slots:v={},type:w="text"}=s,C=Ee(s,Cq),y=Eq(s),B={root:{ownerState:{disableUnderline:l}}},D=p??u?gn(p??u,B):B,F=(n=(i=v.root)!=null?i:c.Root)!=null?n:Mq,N=(o=(a=v.input)!=null?a:c.Input)!=null?o:Pq;return Y.jsx(P1,W({slots:{root:F,input:N},slotProps:D,fullWidth:f,inputComponent:d,multiline:b,ref:r,type:w},C,{classes:y}))});oM.muiName="Input";const aM=oM;function Aq(e){return nt("MuiInputAdornment",e)}const kq=tt("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),Y8=kq;var X8;const _q=["children","className","component","disablePointerEvents","disableTypography","position","variant"],Rq=(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${ue(r.position)}`],r.disablePointerEvents===!0&&t.disablePointerEvents,t[r.variant]]},Tq=e=>{const{classes:t,disablePointerEvents:r,hiddenLabel:n,position:i,size:o,variant:a}=e,s={root:["root",r&&"disablePointerEvents",i&&`position${ue(i)}`,a,n&&"hiddenLabel",o&&`size${ue(o)}`]};return it(s,Aq,t)},$q=he("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:Rq})(({theme:e,ownerState:t})=>W({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},t.variant==="filled"&&{[`&.${Y8.positionStart}&:not(.${Y8.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),Bq=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiInputAdornment"}),{children:i,className:o,component:a="div",disablePointerEvents:s=!1,disableTypography:l=!1,position:c,variant:u}=n,f=Ee(n,_q),d=va()||{};let b=u;u&&d.variant,d&&!b&&(b=d.variant);const p=W({},n,{hiddenLabel:d.hiddenLabel,size:d.size,disablePointerEvents:s,position:c,variant:b}),v=Tq(p);return Y.jsx(w1.Provider,{value:null,children:Y.jsx($q,W({as:a,ownerState:p,className:Se(v.root,o),ref:r},f,{children:typeof i=="string"&&!l?Y.jsx(La,{color:"text.secondary",children:i}):Y.jsxs(U.Fragment,{children:[c==="start"?X8||(X8=Y.jsx("span",{className:"notranslate",children:"​"})):null,i]})}))})}),pue=Bq;function Iq(e){return nt("MuiInputLabel",e)}tt("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Fq=["disableAnimation","margin","shrink","variant","className"],Oq=e=>{const{classes:t,formControl:r,size:n,shrink:i,disableAnimation:o,variant:a,required:s}=e,l={root:["root",r&&"formControl",!o&&"animated",i&&"shrink",n&&n!=="normal"&&`size${ue(n)}`,a],asterisk:[s&&"asterisk"]},c=it(l,Iq,t);return W({},t,c)},Dq=he(oq,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${bf.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,r.size==="small"&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})(({theme:e,ownerState:t})=>W({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&W({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&W({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&W({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),Lq=U.forwardRef(function(t,r){const n=ft({name:"MuiInputLabel",props:t}),{disableAnimation:i=!1,shrink:o,className:a}=n,s=Ee(n,Fq),l=va();let c=o;typeof c>"u"&&l&&(c=l.filled||l.focused||l.adornedStart);const u=pl({props:n,muiFormControl:l,states:["size","variant","required","focused"]}),f=W({},n,{disableAnimation:i,formControl:l,shrink:c,size:u.size,variant:u.variant,required:u.required,focused:u.focused}),d=Oq(f);return Y.jsx(Dq,W({"data-shrink":c,ownerState:f,ref:r,className:Se(d.root,a)},s,{classes:d}))}),Nq=Lq,zq=U.createContext({}),ki=zq;function jq(e){return nt("MuiList",e)}tt("MuiList",["root","padding","dense","subheader"]);const Uq=["children","className","component","dense","disablePadding","subheader"],Hq=e=>{const{classes:t,disablePadding:r,dense:n,subheader:i}=e;return it({root:["root",!r&&"padding",n&&"dense",i&&"subheader"]},jq,t)},Wq=he("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})(({ownerState:e})=>W({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),Vq=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiList"}),{children:i,className:o,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:c}=n,u=Ee(n,Uq),f=U.useMemo(()=>({dense:s}),[s]),d=W({},n,{component:a,dense:s,disablePadding:l}),b=Hq(d);return Y.jsx(ki.Provider,{value:f,children:Y.jsxs(Wq,W({as:a,className:Se(b.root,o),ref:r,ownerState:d},u,{children:[c,i]}))})}),qq=Vq;function Kq(e){return nt("MuiListItem",e)}const Gq=tt("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),Ol=Gq;function Yq(e){return nt("MuiListItemButton",e)}const Xq=tt("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),Dl=Xq,Jq=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],Zq=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.alignItems==="flex-start"&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters]},Qq=e=>{const{alignItems:t,classes:r,dense:n,disabled:i,disableGutters:o,divider:a,selected:s}=e,c=it({root:["root",n&&"dense",!o&&"gutters",a&&"divider",i&&"disabled",t==="flex-start"&&"alignItemsFlexStart",s&&"selected"]},Yq,r);return W({},r,c)},eK=he(co,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:Zq})(({theme:e,ownerState:t})=>W({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Dl.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Dl.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Dl.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Dl.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Dl.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.alignItems==="flex-start"&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),tK=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiListItemButton"}),{alignItems:i="center",autoFocus:o=!1,component:a="div",children:s,dense:l=!1,disableGutters:c=!1,divider:u=!1,focusVisibleClassName:f,selected:d=!1,className:b}=n,p=Ee(n,Jq),v=U.useContext(ki),w=U.useMemo(()=>({dense:l||v.dense||!1,alignItems:i,disableGutters:c}),[i,v.dense,l,c]),C=U.useRef(null);bn(()=>{o&&C.current&&C.current.focus()},[o]);const y=W({},n,{alignItems:i,dense:w.dense,disableGutters:c,divider:u,selected:d}),M=Qq(y),B=Vt(C,r);return Y.jsx(ki.Provider,{value:w,children:Y.jsx(eK,W({ref:B,href:p.href||p.to,component:(p.href||p.to)&&a==="div"?"button":a,focusVisibleClassName:Se(M.focusVisible,f),ownerState:y,className:Se(M.root,b)},p,{classes:M,children:s}))})}),xue=tK;function rK(e){return nt("MuiListItemSecondaryAction",e)}tt("MuiListItemSecondaryAction",["root","disableGutters"]);const nK=["className"],iK=e=>{const{disableGutters:t,classes:r}=e;return it({root:["root",t&&"disableGutters"]},rK,r)},oK=he("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.disableGutters&&t.disableGutters]}})(({ownerState:e})=>W({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),sM=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiListItemSecondaryAction"}),{className:i}=n,o=Ee(n,nK),a=U.useContext(ki),s=W({},n,{disableGutters:a.disableGutters}),l=iK(s);return Y.jsx(oK,W({className:Se(l.root,i),ownerState:s,ref:r},o))});sM.muiName="ListItemSecondaryAction";const aK=sM,sK=["className"],lK=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],cK=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.alignItems==="flex-start"&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters,!r.disablePadding&&t.padding,r.button&&t.button,r.hasSecondaryAction&&t.secondaryAction]},uK=e=>{const{alignItems:t,button:r,classes:n,dense:i,disabled:o,disableGutters:a,disablePadding:s,divider:l,hasSecondaryAction:c,selected:u}=e;return it({root:["root",i&&"dense",!a&&"gutters",!s&&"padding",l&&"divider",o&&"disabled",r&&"button",t==="flex-start"&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},Kq,n)},fK=he("div",{name:"MuiListItem",slot:"Root",overridesResolver:cK})(({theme:e,ownerState:t})=>W({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&W({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Dl.root}`]:{paddingRight:48}},{[`&.${Ol.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ol.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ol.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ol.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.alignItems==="flex-start"&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ol.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),dK=he("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),hK=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiListItem"}),{alignItems:i="center",autoFocus:o=!1,button:a=!1,children:s,className:l,component:c,components:u={},componentsProps:f={},ContainerComponent:d="li",ContainerProps:{className:b}={},dense:p=!1,disabled:v=!1,disableGutters:w=!1,disablePadding:C=!1,divider:y=!1,focusVisibleClassName:M,secondaryAction:B,selected:D=!1,slotProps:F={},slots:N={}}=n,_=Ee(n.ContainerProps,sK),L=Ee(n,lK),I=U.useContext(ki),R=U.useMemo(()=>({dense:p||I.dense||!1,alignItems:i,disableGutters:w}),[i,I.dense,p,w]),m=U.useRef(null);bn(()=>{o&&m.current&&m.current.focus()},[o]);const g=U.Children.toArray(s),h=g.length&&af(g[g.length-1],["ListItemSecondaryAction"]),x=W({},n,{alignItems:i,autoFocus:o,button:a,dense:R.dense,disabled:v,disableGutters:w,disablePadding:C,divider:y,hasSecondaryAction:h,selected:D}),S=uK(x),T=Vt(m,r),k=N.root||u.Root||fK,$=F.root||f.root||{},P=W({className:Se(S.root,$.className,l),disabled:v},L);let E=c||"li";return a&&(P.component=c||"div",P.focusVisibleClassName=Se(Ol.focusVisible,M),E=co),h?(E=!P.component&&!c?"div":E,d==="li"&&(E==="li"?E="div":P.component==="li"&&(P.component="div")),Y.jsx(ki.Provider,{value:R,children:Y.jsxs(dK,W({as:d,className:Se(S.container,b),ref:T,ownerState:x},_,{children:[Y.jsx(k,W({},$,!il(k)&&{as:E,ownerState:W({},x,$.ownerState)},P,{children:g})),g.pop()]}))})):Y.jsx(ki.Provider,{value:R,children:Y.jsxs(k,W({},$,{as:E,ref:T},!il(k)&&{ownerState:W({},x,$.ownerState)},P,{children:[g,B&&Y.jsx(aK,{children:B})]}))})}),mue=hK;function pK(e){return nt("MuiListItemAvatar",e)}tt("MuiListItemAvatar",["root","alignItemsFlexStart"]);const xK=["className"],mK=e=>{const{alignItems:t,classes:r}=e;return it({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},pK,r)},gK=he("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({ownerState:e})=>W({minWidth:56,flexShrink:0},e.alignItems==="flex-start"&&{marginTop:8})),vK=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiListItemAvatar"}),{className:i}=n,o=Ee(n,xK),a=U.useContext(ki),s=W({},n,{alignItems:a.alignItems}),l=mK(s);return Y.jsx(gK,W({className:Se(l.root,i),ownerState:s,ref:r},o))}),gue=vK;function bK(e){return nt("MuiListItemIcon",e)}const yK=tt("MuiListItemIcon",["root","alignItemsFlexStart"]),J8=yK,wK=["className"],SK=e=>{const{alignItems:t,classes:r}=e;return it({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},bK,r)},CK=he("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>W({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),EK=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiListItemIcon"}),{className:i}=n,o=Ee(n,wK),a=U.useContext(ki),s=W({},n,{alignItems:a.alignItems}),l=SK(s);return Y.jsx(CK,W({className:Se(l.root,i),ownerState:s,ref:r},o))}),vue=EK;function MK(e){return nt("MuiListItemText",e)}const PK=tt("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Uh=PK,AK=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],kK=e=>{const{classes:t,inset:r,primary:n,secondary:i,dense:o}=e;return it({root:["root",r&&"inset",o&&"dense",n&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},MK,t)},_K=he("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Uh.primary}`]:t.primary},{[`& .${Uh.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.dense&&t.dense]}})(({ownerState:e})=>W({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),RK=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiListItemText"}),{children:i,className:o,disableTypography:a=!1,inset:s=!1,primary:l,primaryTypographyProps:c,secondary:u,secondaryTypographyProps:f}=n,d=Ee(n,AK),{dense:b}=U.useContext(ki);let p=l??i,v=u;const w=W({},n,{disableTypography:a,inset:s,primary:!!p,secondary:!!v,dense:b}),C=kK(w);return p!=null&&p.type!==La&&!a&&(p=Y.jsx(La,W({variant:b?"body2":"body1",className:C.primary,component:c!=null&&c.variant?void 0:"span",display:"block"},c,{children:p}))),v!=null&&v.type!==La&&!a&&(v=Y.jsx(La,W({variant:"body2",className:C.secondary,color:"text.secondary",display:"block"},f,{children:v}))),Y.jsxs(_K,W({className:Se(C.root,o),ownerState:w,ref:r},d,{children:[p,v]}))}),bue=RK,TK=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Om(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function Z8(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function lM(e,t){if(t===void 0)return!0;let r=e.innerText;return r===void 0&&(r=e.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.indexOf(t.keys.join(""))===0}function ku(e,t,r,n,i,o){let a=!1,s=i(e,t,t?r:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const l=n?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!lM(s,o)||l)s=i(e,s,r);else return s.focus(),!0}return!1}const $K=U.forwardRef(function(t,r){const{actions:n,autoFocus:i=!1,autoFocusItem:o=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:f="selectedMenu"}=t,d=Ee(t,TK),b=U.useRef(null),p=U.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});bn(()=>{i&&b.current.focus()},[i]),U.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(M,{direction:B})=>{const D=!b.current.style.width;if(M.clientHeight{const B=b.current,D=M.key,F=Er(B).activeElement;if(D==="ArrowDown")M.preventDefault(),ku(B,F,c,l,Om);else if(D==="ArrowUp")M.preventDefault(),ku(B,F,c,l,Z8);else if(D==="Home")M.preventDefault(),ku(B,null,c,l,Om);else if(D==="End")M.preventDefault(),ku(B,null,c,l,Z8);else if(D.length===1){const N=p.current,_=D.toLowerCase(),L=performance.now();N.keys.length>0&&(L-N.lastTime>500?(N.keys=[],N.repeating=!0,N.previousKeyMatched=!0):N.repeating&&_!==N.keys[0]&&(N.repeating=!1)),N.lastTime=L,N.keys.push(_);const I=F&&!N.repeating&&lM(F,N);N.previousKeyMatched&&(I||ku(B,F,!1,l,Om,N))?M.preventDefault():N.previousKeyMatched=!1}u&&u(M)},w=Vt(b,r);let C=-1;U.Children.forEach(a,(M,B)=>{if(!U.isValidElement(M)){C===B&&(C+=1,C>=a.length&&(C=-1));return}M.props.disabled||(f==="selectedMenu"&&M.props.selected||C===-1)&&(C=B),C===B&&(M.props.disabled||M.props.muiSkipListHighlight||M.type.muiSkipListHighlight)&&(C+=1,C>=a.length&&(C=-1))});const y=U.Children.map(a,(M,B)=>{if(B===C){const D={};return o&&(D.autoFocus=!0),M.props.tabIndex===void 0&&f==="selectedMenu"&&(D.tabIndex=0),U.cloneElement(M,D)}return M});return Y.jsx(qq,W({role:"menu",ref:w,className:s,onKeyDown:v,tabIndex:i?0:-1},d,{children:y}))}),BK=$K;function IK(e){return nt("MuiPopover",e)}tt("MuiPopover",["root","paper"]);const FK=["onEntering"],OK=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],DK=["slotProps"];function Q8(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function e5(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function t5(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Dm(e){return typeof e=="function"?e():e}const LK=e=>{const{classes:t}=e;return it({root:["root"],paper:["paper"]},IK,t)},NK=he(m4,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),cM=he(ga,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),zK=U.forwardRef(function(t,r){var n,i,o;const a=ft({props:t,name:"MuiPopover"}),{action:s,anchorEl:l,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:f="anchorEl",children:d,className:b,container:p,elevation:v=8,marginThreshold:w=16,open:C,PaperProps:y={},slots:M,slotProps:B,transformOrigin:D={vertical:"top",horizontal:"left"},TransitionComponent:F=jh,transitionDuration:N="auto",TransitionProps:{onEntering:_}={},disableScrollLock:L=!1}=a,I=Ee(a.TransitionProps,FK),R=Ee(a,OK),m=(n=B==null?void 0:B.paper)!=null?n:y,g=U.useRef(),h=Vt(g,m.ref),x=W({},a,{anchorOrigin:c,anchorReference:f,elevation:v,marginThreshold:w,externalPaperSlotProps:m,transformOrigin:D,TransitionComponent:F,transitionDuration:N,TransitionProps:I}),S=LK(x),T=U.useCallback(()=>{if(f==="anchorPosition")return u;const Z=Dm(l),Q=(Z&&Z.nodeType===1?Z:Er(g.current).body).getBoundingClientRect();return{top:Q.top+Q8(Q,c.vertical),left:Q.left+e5(Q,c.horizontal)}},[l,c.horizontal,c.vertical,u,f]),k=U.useCallback(Z=>({vertical:Q8(Z,D.vertical),horizontal:e5(Z,D.horizontal)}),[D.horizontal,D.vertical]),$=U.useCallback(Z=>{const te={width:Z.offsetWidth,height:Z.offsetHeight},Q=k(te);if(f==="none")return{top:null,left:null,transformOrigin:t5(Q)};const oe=T();let me=oe.top-Q.vertical,se=oe.left-Q.horizontal;const ye=me+te.height,Re=se+te.width,we=_i(Dm(l)),He=we.innerHeight-w,Ue=we.innerWidth-w;if(w!==null&&meHe){const Me=ye-He;me-=Me,Q.vertical+=Me}if(w!==null&&seUe){const Me=Re-Ue;se-=Me,Q.horizontal+=Me}return{top:`${Math.round(me)}px`,left:`${Math.round(se)}px`,transformOrigin:t5(Q)}},[l,f,T,k,w]),[P,E]=U.useState(C),A=U.useCallback(()=>{const Z=g.current;if(!Z)return;const te=$(Z);te.top!==null&&(Z.style.top=te.top),te.left!==null&&(Z.style.left=te.left),Z.style.transformOrigin=te.transformOrigin,E(!0)},[$]);U.useEffect(()=>(L&&window.addEventListener("scroll",A),()=>window.removeEventListener("scroll",A)),[l,L,A]);const z=(Z,te)=>{_&&_(Z,te),A()},H=()=>{E(!1)};U.useEffect(()=>{C&&A()}),U.useImperativeHandle(s,()=>C?{updatePosition:()=>{A()}}:null,[C,A]),U.useEffect(()=>{if(!C)return;const Z=Xc(()=>{A()}),te=_i(l);return te.addEventListener("resize",Z),()=>{Z.clear(),te.removeEventListener("resize",Z)}},[l,C,A]);let O=N;N==="auto"&&!F.muiSupportAuto&&(O=void 0);const V=p||(l?Er(Dm(l)).body:void 0),X=(i=M==null?void 0:M.root)!=null?i:NK,J=(o=M==null?void 0:M.paper)!=null?o:cM,G=Nn({elementType:J,externalSlotProps:W({},m,{style:P?m.style:W({},m.style,{opacity:0})}),additionalProps:{elevation:v,ref:h},ownerState:x,className:Se(S.paper,m==null?void 0:m.className)}),j=Nn({elementType:X,externalSlotProps:(B==null?void 0:B.root)||{},externalForwardedProps:R,additionalProps:{ref:r,slotProps:{backdrop:{invisible:!0}},container:V,open:C},ownerState:x,className:Se(S.root,b)}),{slotProps:q}=j,K=Ee(j,DK);return Y.jsx(X,W({},K,!il(X)&&{slotProps:q,disableScrollLock:L},{children:Y.jsx(F,W({appear:!0,in:C,onEntering:z,onExited:H,timeout:O},I,{children:Y.jsx(J,W({},G,{children:d}))}))}))}),jK=zK;function UK(e){return nt("MuiMenu",e)}tt("MuiMenu",["root","paper","list"]);const HK=["onEntering"],WK=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],VK={vertical:"top",horizontal:"right"},qK={vertical:"top",horizontal:"left"},KK=e=>{const{classes:t}=e;return it({root:["root"],paper:["paper"],list:["list"]},UK,t)},GK=he(jK,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),YK=he(cM,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),XK=he(BK,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),JK=U.forwardRef(function(t,r){var n,i;const o=ft({props:t,name:"MuiMenu"}),{autoFocus:a=!0,children:s,className:l,disableAutoFocusItem:c=!1,MenuListProps:u={},onClose:f,open:d,PaperProps:b={},PopoverClasses:p,transitionDuration:v="auto",TransitionProps:{onEntering:w}={},variant:C="selectedMenu",slots:y={},slotProps:M={}}=o,B=Ee(o.TransitionProps,HK),D=Ee(o,WK),F=Jc(),N=W({},o,{autoFocus:a,disableAutoFocusItem:c,MenuListProps:u,onEntering:w,PaperProps:b,transitionDuration:v,TransitionProps:B,variant:C}),_=KK(N),L=a&&!c&&d,I=U.useRef(null),R=(k,$)=>{I.current&&I.current.adjustStyleForScrollbar(k,{direction:F?"rtl":"ltr"}),w&&w(k,$)},m=k=>{k.key==="Tab"&&(k.preventDefault(),f&&f(k,"tabKeyDown"))};let g=-1;U.Children.map(s,(k,$)=>{U.isValidElement(k)&&(k.props.disabled||(C==="selectedMenu"&&k.props.selected||g===-1)&&(g=$))});const h=(n=y.paper)!=null?n:YK,x=(i=M.paper)!=null?i:b,S=Nn({elementType:y.root,externalSlotProps:M.root,ownerState:N,className:[_.root,l]}),T=Nn({elementType:h,externalSlotProps:x,ownerState:N,className:_.paper});return Y.jsx(GK,W({onClose:f,anchorOrigin:{vertical:"bottom",horizontal:F?"right":"left"},transformOrigin:F?VK:qK,slots:{paper:h,root:y.root},slotProps:{root:S,paper:T},open:d,ref:r,transitionDuration:v,TransitionProps:W({onEntering:R},B),ownerState:N},D,{classes:p,children:Y.jsx(XK,W({onKeyDown:m,actions:I,autoFocus:a&&(g===-1||c),autoFocusItem:L,variant:C},u,{className:Se(_.list,u.className),children:s}))}))}),ZK=JK;function QK(e){return nt("MuiMenuItem",e)}const eG=tt("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),_u=eG,tG=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],rG=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]},nG=e=>{const{disabled:t,dense:r,divider:n,disableGutters:i,selected:o,classes:a}=e,l=it({root:["root",r&&"dense",t&&"disabled",!i&&"gutters",n&&"divider",o&&"selected"]},QK,a);return W({},a,l)},iG=he(co,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:rG})(({theme:e,ownerState:t})=>W({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${_u.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${_u.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${_u.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${_u.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${_u.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${H8.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${H8.inset}`]:{marginLeft:52},[`& .${Uh.root}`]:{marginTop:0,marginBottom:0},[`& .${Uh.inset}`]:{paddingLeft:36},[`& .${J8.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&W({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${J8.root} svg`]:{fontSize:"1.25rem"}}))),oG=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiMenuItem"}),{autoFocus:i=!1,component:o="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:f,className:d}=n,b=Ee(n,tG),p=U.useContext(ki),v=U.useMemo(()=>({dense:a||p.dense||!1,disableGutters:l}),[p.dense,a,l]),w=U.useRef(null);bn(()=>{i&&w.current&&w.current.focus()},[i]);const C=W({},n,{dense:v.dense,divider:s,disableGutters:l}),y=nG(n),M=Vt(w,r);let B;return n.disabled||(B=f!==void 0?f:-1),Y.jsx(ki.Provider,{value:v,children:Y.jsx(iG,W({ref:M,role:u,tabIndex:B,component:o,focusVisibleClassName:Se(y.focusVisible,c),className:Se(y.root,d)},b,{ownerState:C,classes:y}))})}),aG=oG;function sG(e){return nt("MuiNativeSelect",e)}const lG=tt("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),g4=lG,cG=["className","disabled","error","IconComponent","inputRef","variant"],uG=e=>{const{classes:t,variant:r,disabled:n,multiple:i,open:o,error:a}=e,s={select:["select",r,n&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${ue(r)}`,o&&"iconOpen",n&&"disabled"]};return it(s,sG,t)},uM=({ownerState:e,theme:t})=>W({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":W({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${g4.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),fG=he("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Zr,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${g4.multiple}`]:t.multiple}]}})(uM),fM=({ownerState:e,theme:t})=>W({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${g4.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),dG=he("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${ue(r.variant)}`],r.open&&t.iconOpen]}})(fM),hG=U.forwardRef(function(t,r){const{className:n,disabled:i,error:o,IconComponent:a,inputRef:s,variant:l="standard"}=t,c=Ee(t,cG),u=W({},t,{disabled:i,variant:l,error:o}),f=uG(u);return Y.jsxs(U.Fragment,{children:[Y.jsx(fG,W({ownerState:u,className:Se(f.select,n),disabled:i,ref:s||r},c)),t.multiple?null:Y.jsx(dG,{as:a,ownerState:u,className:f.icon})]})}),pG=hG;var r5;const xG=["children","classes","className","label","notched"],mG=he("fieldset",{shouldForwardProp:Zr})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),gG=he("legend",{shouldForwardProp:Zr})(({ownerState:e,theme:t})=>W({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&W({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function vG(e){const{className:t,label:r,notched:n}=e,i=Ee(e,xG),o=r!=null&&r!=="",a=W({},e,{notched:n,withLabel:o});return Y.jsx(mG,W({"aria-hidden":!0,className:t,ownerState:a},i,{children:Y.jsx(gG,{ownerState:a,children:o?Y.jsx("span",{children:r}):r5||(r5=Y.jsx("span",{className:"notranslate",children:"​"}))})}))}const bG=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],yG=e=>{const{classes:t}=e,n=it({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},zU,t);return W({},t,n)},wG=he(E1,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:S1})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return W({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${go.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${go.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${go.focused} .${go.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${go.error} .${go.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${go.disabled} .${go.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&W({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),SG=he(vG,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),CG=he(M1,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:C1})(({theme:e,ownerState:t})=>W({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),dM=U.forwardRef(function(t,r){var n,i,o,a,s;const l=ft({props:t,name:"MuiOutlinedInput"}),{components:c={},fullWidth:u=!1,inputComponent:f="input",label:d,multiline:b=!1,notched:p,slots:v={},type:w="text"}=l,C=Ee(l,bG),y=yG(l),M=va(),B=pl({props:l,muiFormControl:M,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),D=W({},l,{color:B.color||"primary",disabled:B.disabled,error:B.error,focused:B.focused,formControl:M,fullWidth:u,hiddenLabel:B.hiddenLabel,multiline:b,size:B.size,type:w}),F=(n=(i=v.root)!=null?i:c.Root)!=null?n:wG,N=(o=(a=v.input)!=null?a:c.Input)!=null?o:CG;return Y.jsx(P1,W({slots:{root:F,input:N},renderSuffix:_=>Y.jsx(SG,{ownerState:D,className:y.notchedOutline,label:d!=null&&d!==""&&B.required?s||(s=Y.jsxs(U.Fragment,{children:[d," ","*"]})):d,notched:typeof p<"u"?p:!!(_.startAdornment||_.filled||_.focused)}),fullWidth:u,inputComponent:f,multiline:b,ref:r,type:w},C,{classes:W({},y,{notchedOutline:null})}))});dM.muiName="Input";const hM=dM,EG=fn(Y.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),MG=fn(Y.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");function PG(e){return nt("MuiSelect",e)}const Ru=tt("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var n5;const AG=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],kG=he("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${Ru.select}`]:t.select},{[`&.${Ru.select}`]:t[r.variant]},{[`&.${Ru.error}`]:t.error},{[`&.${Ru.multiple}`]:t.multiple}]}})(uM,{[`&.${Ru.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),_G=he("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${ue(r.variant)}`],r.open&&t.iconOpen]}})(fM),RG=he("input",{shouldForwardProp:e=>CS(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function i5(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function TG(e){return e==null||typeof e=="string"&&!e.trim()}const $G=e=>{const{classes:t,variant:r,disabled:n,multiple:i,open:o,error:a}=e,s={select:["select",r,n&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${ue(r)}`,o&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return it(s,PG,t)},BG=U.forwardRef(function(t,r){var n;const{"aria-describedby":i,"aria-label":o,autoFocus:a,autoWidth:s,children:l,className:c,defaultOpen:u,defaultValue:f,disabled:d,displayEmpty:b,error:p=!1,IconComponent:v,inputRef:w,labelId:C,MenuProps:y={},multiple:M,name:B,onBlur:D,onChange:F,onClose:N,onFocus:_,onOpen:L,open:I,readOnly:R,renderValue:m,SelectDisplayProps:g={},tabIndex:h,value:x,variant:S="standard"}=t,T=Ee(t,AG),[k,$]=ja({controlled:x,default:f,name:"Select"}),[P,E]=ja({controlled:I,default:u,name:"Select"}),A=U.useRef(null),z=U.useRef(null),[H,O]=U.useState(null),{current:V}=U.useRef(I!=null),[X,J]=U.useState(),G=Vt(r,w),j=U.useCallback(ge=>{z.current=ge,ge&&O(ge)},[]),q=H==null?void 0:H.parentNode;U.useImperativeHandle(G,()=>({focus:()=>{z.current.focus()},node:A.current,value:k}),[k]),U.useEffect(()=>{u&&P&&H&&!V&&(J(s?null:q.clientWidth),z.current.focus())},[H,s]),U.useEffect(()=>{a&&z.current.focus()},[a]),U.useEffect(()=>{if(!C)return;const ge=Er(z.current).getElementById(C);if(ge){const ze=()=>{getSelection().isCollapsed&&z.current.focus()};return ge.addEventListener("click",ze),()=>{ge.removeEventListener("click",ze)}}},[C]);const K=(ge,ze)=>{ge?L&&L(ze):N&&N(ze),V||(J(s?null:q.clientWidth),E(ge))},Z=ge=>{ge.button===0&&(ge.preventDefault(),z.current.focus(),K(!0,ge))},te=ge=>{K(!1,ge)},Q=U.Children.toArray(l),oe=ge=>{const ze=Q.find(le=>le.props.value===ge.target.value);ze!==void 0&&($(ze.props.value),F&&F(ge,ze))},me=ge=>ze=>{let le;if(ze.currentTarget.hasAttribute("tabindex")){if(M){le=Array.isArray(k)?k.slice():[];const xe=k.indexOf(ge.props.value);xe===-1?le.push(ge.props.value):le.splice(xe,1)}else le=ge.props.value;if(ge.props.onClick&&ge.props.onClick(ze),k!==le&&($(le),F)){const xe=ze.nativeEvent||ze,je=new xe.constructor(xe.type,xe);Object.defineProperty(je,"target",{writable:!0,value:{value:le,name:B}}),F(je,ge)}M||K(!1,ze)}},se=ge=>{R||[" ","ArrowUp","ArrowDown","Enter"].indexOf(ge.key)!==-1&&(ge.preventDefault(),K(!0,ge))},ye=H!==null&&P,Re=ge=>{!ye&&D&&(Object.defineProperty(ge,"target",{writable:!0,value:{value:k,name:B}}),D(ge))};delete T["aria-invalid"];let we,He;const Ue=[];let Me=!1;(zh({value:k})||b)&&(m?we=m(k):Me=!0);const Ze=Q.map(ge=>{if(!U.isValidElement(ge))return null;let ze;if(M){if(!Array.isArray(k))throw new Error(aa(2));ze=k.some(le=>i5(le,ge.props.value)),ze&&Me&&Ue.push(ge.props.children)}else ze=i5(k,ge.props.value),ze&&Me&&(He=ge.props.children);return U.cloneElement(ge,{"aria-selected":ze?"true":"false",onClick:me(ge),onKeyUp:le=>{le.key===" "&&le.preventDefault(),ge.props.onKeyUp&&ge.props.onKeyUp(le)},role:"option",selected:ze,value:void 0,"data-value":ge.props.value})});Me&&(M?Ue.length===0?we=null:we=Ue.reduce((ge,ze,le)=>(ge.push(ze),le{const{classes:t}=e;return t},v4={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Zr(e)&&e!=="variant",slot:"Root"},LG=he(aM,v4)(""),NG=he(hM,v4)(""),zG=he(rM,v4)(""),pM=U.forwardRef(function(t,r){const n=ft({name:"MuiSelect",props:t}),{autoWidth:i=!1,children:o,classes:a={},className:s,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:u=GE,id:f,input:d,inputProps:b,label:p,labelId:v,MenuProps:w,multiple:C=!1,native:y=!1,onClose:M,onOpen:B,open:D,renderValue:F,SelectDisplayProps:N,variant:_="outlined"}=n,L=Ee(n,FG),I=y?pG:IG,R=va(),m=pl({props:n,muiFormControl:R,states:["variant","error"]}),g=m.variant||_,h=W({},n,{variant:g,classes:a}),x=DG(h),S=Ee(x,OG),T=d||{standard:Y.jsx(LG,{ownerState:h}),outlined:Y.jsx(NG,{label:p,ownerState:h}),filled:Y.jsx(zG,{ownerState:h})}[g],k=Vt(r,T.ref);return Y.jsx(U.Fragment,{children:U.cloneElement(T,W({inputComponent:I,inputProps:W({children:o,error:m.error,IconComponent:u,variant:g,type:void 0,multiple:C},y?{id:f}:{autoWidth:i,defaultOpen:l,displayEmpty:c,labelId:v,MenuProps:w,onClose:M,onOpen:B,open:D,renderValue:F,SelectDisplayProps:W({id:f},N)},b,{classes:b?gn(S,b.classes):S},d?d.props.inputProps:{})},(C&&y||c)&&g==="outlined"?{notched:!0}:{},{ref:k,className:Se(T.props.className,s,x.root)},!d&&{variant:g},L))})});pM.muiName="Select";const xM=pM;function jG(e){return nt("MuiSkeleton",e)}tt("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const UG=["animation","className","component","height","style","variant","width"];let Hh=e=>e,o5,a5,s5,l5;const HG=e=>{const{classes:t,variant:r,animation:n,hasChildren:i,width:o,height:a}=e;return it({root:["root",r,n,i&&"withChildren",i&&!o&&"fitContent",i&&!a&&"heightAuto"]},jG,t)},WG=ss(o5||(o5=Hh` - 0% { - opacity: 1; - } - - 50% { - opacity: 0.4; - } - - 100% { - opacity: 1; - } -`)),VG=ss(a5||(a5=Hh` - 0% { - transform: translateX(-100%); - } - - 50% { - /* +0.5s of delay between each loop */ - transform: translateX(100%); - } - - 100% { - transform: translateX(100%); - } -`)),qG=he("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],r.animation!==!1&&t[r.animation],r.hasChildren&&t.withChildren,r.hasChildren&&!r.width&&t.fitContent,r.hasChildren&&!r.height&&t.heightAuto]}})(({theme:e,ownerState:t})=>{const r=wO(e.shape.borderRadius)||"px",n=SO(e.shape.borderRadius);return W({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:nF(e.palette.text.primary,e.palette.mode==="light"?.11:.13),height:"1.2em"},t.variant==="text"&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${n}${r}/${Math.round(n/.6*10)/10}${r}`,"&:empty:before":{content:'"\\00a0"'}},t.variant==="circular"&&{borderRadius:"50%"},t.variant==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})},({ownerState:e})=>e.animation==="pulse"&&Cc(s5||(s5=Hh` - animation: ${0} 2s ease-in-out 0.5s infinite; - `),WG),({ownerState:e,theme:t})=>e.animation==="wave"&&Cc(l5||(l5=Hh` - position: relative; - overflow: hidden; - - /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */ - -webkit-mask-image: -webkit-radial-gradient(white, black); - - &::after { - animation: ${0} 2s linear 0.5s infinite; - background: linear-gradient( - 90deg, - transparent, - ${0}, - transparent - ); - content: ''; - position: absolute; - transform: translateX(-100%); /* Avoid flash during server-side hydration */ - bottom: 0; - left: 0; - right: 0; - top: 0; - } - `),VG,(t.vars||t).palette.action.hover)),KG=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiSkeleton"}),{animation:i="pulse",className:o,component:a="span",height:s,style:l,variant:c="text",width:u}=n,f=Ee(n,UG),d=W({},n,{animation:i,component:a,variant:c,hasChildren:!!f.children}),b=HG(d);return Y.jsx(qG,W({as:a,ref:r,className:Se(b.root,o),ownerState:d},f,{style:W({width:u,height:s},l)}))}),yue=KG;function GG(e){return nt("MuiSnackbarContent",e)}tt("MuiSnackbarContent",["root","message","action"]);const YG=["action","className","message","role"],XG=e=>{const{classes:t}=e;return it({root:["root"],action:["action"],message:["message"]},GG,t)},JG=he(ga,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,r=zF(e.palette.background.default,t);return W({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(r),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),ZG=he("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),QG=he("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),eY=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiSnackbarContent"}),{action:i,className:o,message:a,role:s="alert"}=n,l=Ee(n,YG),c=n,u=XG(c);return Y.jsxs(JG,W({role:s,square:!0,elevation:6,className:Se(u.root,o),ownerState:c,ref:r},l,{children:[Y.jsx(ZG,{className:u.message,ownerState:c,children:a}),i?Y.jsx(QG,{className:u.action,ownerState:c,children:i}):null]}))}),tY=eY;function rY(e){return nt("MuiSnackbar",e)}tt("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const nY=["onEnter","onExited"],iY=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],oY=e=>{const{classes:t,anchorOrigin:r}=e,n={root:["root",`anchorOrigin${ue(r.vertical)}${ue(r.horizontal)}`]};return it(n,rY,t)},c5=he("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`anchorOrigin${ue(r.anchorOrigin.vertical)}${ue(r.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>{const r={left:"50%",right:"auto",transform:"translateX(-50%)"};return W({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:W({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&r,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),aY=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiSnackbar"}),i=pa(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{action:a,anchorOrigin:{vertical:s,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:c=null,children:u,className:f,ClickAwayListenerProps:d,ContentProps:b,disableWindowBlurListener:p=!1,message:v,open:w,TransitionComponent:C=jh,transitionDuration:y=o,TransitionProps:{onEnter:M,onExited:B}={}}=n,D=Ee(n.TransitionProps,nY),F=Ee(n,iY),N=W({},n,{anchorOrigin:{vertical:s,horizontal:l},autoHideDuration:c,disableWindowBlurListener:p,TransitionComponent:C,transitionDuration:y}),_=oY(N),{getRootProps:L,onClickAway:I}=eU(W({},N)),[R,m]=U.useState(!0),g=Nn({elementType:c5,getSlotProps:L,externalForwardedProps:F,ownerState:N,additionalProps:{ref:r},className:[_.root,f]}),h=S=>{m(!0),B&&B(S)},x=(S,T)=>{m(!1),M&&M(S,T)};return!w&&R?null:Y.jsx(wz,W({onClickAway:I},d,{children:Y.jsx(c5,W({},g,{children:Y.jsx(C,W({appear:!0,in:w,timeout:y,direction:s==="top"?"down":"up",onEnter:x,onExited:h},D,{children:u||Y.jsx(tY,W({message:v,action:a},b))}))}))}))}),wue=aY;function sY(e){return nt("MuiTooltip",e)}const lY=tt("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Na=lY,cY=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function uY(e){return Math.round(e*1e5)/1e5}const fY=e=>{const{classes:t,disableInteractive:r,arrow:n,touch:i,placement:o}=e,a={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",i&&"touch",`tooltipPlacement${ue(o.split("-")[0])}`],arrow:["arrow"]};return it(a,sY,t)},dY=he(y1,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(({theme:e,ownerState:t,open:r})=>W({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Na.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Na.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Na.arrow}`]:W({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Na.arrow}`]:W({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),hY=he("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${ue(r.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>W({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Ct(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${uY(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Na.popper}[data-popper-placement*="left"] &`]:W({transformOrigin:"right center"},t.isRtl?W({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):W({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Na.popper}[data-popper-placement*="right"] &`]:W({transformOrigin:"left center"},t.isRtl?W({marginRight:"14px"},t.touch&&{marginRight:"24px"}):W({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Na.popper}[data-popper-placement*="top"] &`]:W({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Na.popper}[data-popper-placement*="bottom"] &`]:W({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),pY=he("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Ct(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let vd=!1;const u5=new A0;let Tu={x:0,y:0};function bd(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const xY=U.forwardRef(function(t,r){var n,i,o,a,s,l,c,u,f,d,b,p,v,w,C,y,M,B,D;const F=ft({props:t,name:"MuiTooltip"}),{arrow:N=!1,children:_,components:L={},componentsProps:I={},describeChild:R=!1,disableFocusListener:m=!1,disableHoverListener:g=!1,disableInteractive:h=!1,disableTouchListener:x=!1,enterDelay:S=100,enterNextDelay:T=0,enterTouchDelay:k=700,followCursor:$=!1,id:P,leaveDelay:E=0,leaveTouchDelay:A=1500,onClose:z,onOpen:H,open:O,placement:V="bottom",PopperComponent:X,PopperProps:J={},slotProps:G={},slots:j={},title:q,TransitionComponent:K=jh,TransitionProps:Z}=F,te=Ee(F,cY),Q=U.isValidElement(_)?_:Y.jsx("span",{children:_}),oe=pa(),me=Jc(),[se,ye]=U.useState(),[Re,we]=U.useState(null),He=U.useRef(!1),Ue=h||$,Me=Bs(),Ze=Bs(),Je=Bs(),Ne=Bs(),[De,de]=ja({controlled:O,default:!1,name:"Tooltip",state:"open"});let Ie=De;const ot=Za(P),lt=U.useRef(),ge=Pr(()=>{lt.current!==void 0&&(document.body.style.WebkitUserSelect=lt.current,lt.current=void 0),Ne.clear()});U.useEffect(()=>ge,[ge]);const ze=Le=>{u5.clear(),vd=!0,de(!0),H&&!Ie&&H(Le)},le=Pr(Le=>{u5.start(800+E,()=>{vd=!1}),de(!1),z&&Ie&&z(Le),Me.start(oe.transitions.duration.shortest,()=>{He.current=!1})}),xe=Le=>{He.current&&Le.type!=="touchstart"||(se&&se.removeAttribute("title"),Ze.clear(),Je.clear(),S||vd&&T?Ze.start(vd?T:S,()=>{ze(Le)}):ze(Le))},je=Le=>{Ze.clear(),Je.start(E,()=>{le(Le)})},{isFocusVisibleRef:We,onBlur:Fe,onFocus:Qe,ref:ut}=cb(),[,Ge]=U.useState(!1),ee=Le=>{Fe(Le),We.current===!1&&(Ge(!1),je(Le))},re=Le=>{se||ye(Le.currentTarget),Qe(Le),We.current===!0&&(Ge(!0),xe(Le))},ne=Le=>{He.current=!0;const pt=Q.props;pt.onTouchStart&&pt.onTouchStart(Le)},pe=Le=>{ne(Le),Je.clear(),Me.clear(),ge(),lt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Ne.start(k,()=>{document.body.style.WebkitUserSelect=lt.current,xe(Le)})},ke=Le=>{Q.props.onTouchEnd&&Q.props.onTouchEnd(Le),ge(),Je.start(A,()=>{le(Le)})};U.useEffect(()=>{if(!Ie)return;function Le(pt){(pt.key==="Escape"||pt.key==="Esc")&&le(pt)}return document.addEventListener("keydown",Le),()=>{document.removeEventListener("keydown",Le)}},[le,Ie]);const Te=Vt(Q.ref,ut,ye,r);!q&&q!==0&&(Ie=!1);const $e=U.useRef(),Pe=Le=>{const pt=Q.props;pt.onMouseMove&&pt.onMouseMove(Le),Tu={x:Le.clientX,y:Le.clientY},$e.current&&$e.current.update()},ce={},_e=typeof q=="string";R?(ce.title=!Ie&&_e&&!g?q:null,ce["aria-describedby"]=Ie?ot:null):(ce["aria-label"]=_e?q:null,ce["aria-labelledby"]=Ie&&!_e?ot:null);const Ve=W({},ce,te,Q.props,{className:Se(te.className,Q.props.className),onTouchStart:ne,ref:Te},$?{onMouseMove:Pe}:{}),Ce={};x||(Ve.onTouchStart=pe,Ve.onTouchEnd=ke),g||(Ve.onMouseOver=bd(xe,Ve.onMouseOver),Ve.onMouseLeave=bd(je,Ve.onMouseLeave),Ue||(Ce.onMouseOver=xe,Ce.onMouseLeave=je)),m||(Ve.onFocus=bd(re,Ve.onFocus),Ve.onBlur=bd(ee,Ve.onBlur),Ue||(Ce.onFocus=re,Ce.onBlur=ee));const Xe=U.useMemo(()=>{var Le;let pt=[{name:"arrow",enabled:!!Re,options:{element:Re,padding:4}}];return(Le=J.popperOptions)!=null&&Le.modifiers&&(pt=pt.concat(J.popperOptions.modifiers)),W({},J.popperOptions,{modifiers:pt})},[Re,J]),dt=W({},F,{isRtl:me,arrow:N,disableInteractive:Ue,placement:V,PopperComponentProp:X,touch:He.current}),qe=fY(dt),ht=(n=(i=j.popper)!=null?i:L.Popper)!=null?n:dY,mt=(o=(a=(s=j.transition)!=null?s:L.Transition)!=null?a:K)!=null?o:jh,rt=(l=(c=j.tooltip)!=null?c:L.Tooltip)!=null?l:hY,ae=(u=(f=j.arrow)!=null?f:L.Arrow)!=null?u:pY,ie=Zl(ht,W({},J,(d=G.popper)!=null?d:I.popper,{className:Se(qe.popper,J==null?void 0:J.className,(b=(p=G.popper)!=null?p:I.popper)==null?void 0:b.className)}),dt),ve=Zl(mt,W({},Z,(v=G.transition)!=null?v:I.transition),dt),Ae=Zl(rt,W({},(w=G.tooltip)!=null?w:I.tooltip,{className:Se(qe.tooltip,(C=(y=G.tooltip)!=null?y:I.tooltip)==null?void 0:C.className)}),dt),Ye=Zl(ae,W({},(M=G.arrow)!=null?M:I.arrow,{className:Se(qe.arrow,(B=(D=G.arrow)!=null?D:I.arrow)==null?void 0:B.className)}),dt);return Y.jsxs(U.Fragment,{children:[U.cloneElement(Q,Ve),Y.jsx(ht,W({as:X??y1,placement:V,anchorEl:$?{getBoundingClientRect:()=>({top:Tu.y,left:Tu.x,right:Tu.x,bottom:Tu.y,width:0,height:0})}:se,popperRef:$e,open:se?Ie:!1,id:ot,transition:!0},Ce,ie,{popperOptions:Xe,children:({TransitionProps:Le})=>Y.jsx(mt,W({timeout:oe.transitions.duration.shorter},Le,ve,{children:Y.jsxs(rt,W({},Ae,{children:[q,N?Y.jsx(ae,W({},Ye,{ref:we})):null]}))}))}))]})}),Sue=xY;function mY(e){return nt("MuiTab",e)}const gY=tt("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),Es=gY,vY=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],bY=e=>{const{classes:t,textColor:r,fullWidth:n,wrapped:i,icon:o,label:a,selected:s,disabled:l}=e,c={root:["root",o&&a&&"labelIcon",`textColor${ue(r)}`,n&&"fullWidth",i&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]};return it(c,mY,t)},yY=he(co,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.label&&r.icon&&t.labelIcon,t[`textColor${ue(r.textColor)}`],r.fullWidth&&t.fullWidth,r.wrapped&&t.wrapped]}})(({theme:e,ownerState:t})=>W({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${Es.iconWrapper}`]:W({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${Es.selected}`]:{opacity:1},[`&.${Es.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${Es.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${Es.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${Es.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${Es.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),wY=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTab"}),{className:i,disabled:o=!1,disableFocusRipple:a=!1,fullWidth:s,icon:l,iconPosition:c="top",indicator:u,label:f,onChange:d,onClick:b,onFocus:p,selected:v,selectionFollowsFocus:w,textColor:C="inherit",value:y,wrapped:M=!1}=n,B=Ee(n,vY),D=W({},n,{disabled:o,disableFocusRipple:a,selected:v,icon:!!l,iconPosition:c,label:!!f,fullWidth:s,textColor:C,wrapped:M}),F=bY(D),N=l&&f&&U.isValidElement(l)?U.cloneElement(l,{className:Se(F.iconWrapper,l.props.className)}):l,_=I=>{!v&&d&&d(I,y),b&&b(I)},L=I=>{w&&!v&&d&&d(I,y),p&&p(I)};return Y.jsxs(yY,W({focusRipple:!a,className:Se(F.root,i),ref:r,role:"tab","aria-selected":v,disabled:o,onClick:_,onFocus:L,ownerState:D,tabIndex:v?0:-1},B,{children:[c==="top"||c==="start"?Y.jsxs(U.Fragment,{children:[N,f]}):Y.jsxs(U.Fragment,{children:[f,N]}),u]}))}),Cue=wY,SY=U.createContext(),mM=SY;function CY(e){return nt("MuiTable",e)}tt("MuiTable",["root","stickyHeader"]);const EY=["className","component","padding","size","stickyHeader"],MY=e=>{const{classes:t,stickyHeader:r}=e;return it({root:["root",r&&"stickyHeader"]},CY,t)},PY=he("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>W({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":W({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),f5="table",AY=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTable"}),{className:i,component:o=f5,padding:a="normal",size:s="medium",stickyHeader:l=!1}=n,c=Ee(n,EY),u=W({},n,{component:o,padding:a,size:s,stickyHeader:l}),f=MY(u),d=U.useMemo(()=>({padding:a,size:s,stickyHeader:l}),[a,s,l]);return Y.jsx(mM.Provider,{value:d,children:Y.jsx(PY,W({as:o,role:o===f5?null:"table",ref:r,className:Se(f.root,i),ownerState:u},c))})}),Eue=AY,kY=U.createContext(),k1=kY;function _Y(e){return nt("MuiTableBody",e)}tt("MuiTableBody",["root"]);const RY=["className","component"],TY=e=>{const{classes:t}=e;return it({root:["root"]},_Y,t)},$Y=he("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),BY={variant:"body"},d5="tbody",IY=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTableBody"}),{className:i,component:o=d5}=n,a=Ee(n,RY),s=W({},n,{component:o}),l=TY(s);return Y.jsx(k1.Provider,{value:BY,children:Y.jsx($Y,W({className:Se(l.root,i),as:o,ref:r,role:o===d5?null:"rowgroup",ownerState:s},a))})}),Mue=IY;function FY(e){return nt("MuiTableCell",e)}const OY=tt("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),DY=OY,LY=["align","className","component","padding","scope","size","sortDirection","variant"],NY=e=>{const{classes:t,variant:r,align:n,padding:i,size:o,stickyHeader:a}=e,s={root:["root",r,a&&"stickyHeader",n!=="inherit"&&`align${ue(n)}`,i!=="normal"&&`padding${ue(i)}`,`size${ue(o)}`]};return it(s,FY,t)},zY=he("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${ue(r.size)}`],r.padding!=="normal"&&t[`padding${ue(r.padding)}`],r.align!=="inherit"&&t[`align${ue(r.align)}`],r.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>W({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid - ${e.palette.mode==="light"?fh(Ct(e.palette.divider,1),.88):uh(Ct(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${DY.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),jY=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTableCell"}),{align:i="inherit",className:o,component:a,padding:s,scope:l,size:c,sortDirection:u,variant:f}=n,d=Ee(n,LY),b=U.useContext(mM),p=U.useContext(k1),v=p&&p.variant==="head";let w;a?w=a:w=v?"th":"td";let C=l;w==="td"?C=void 0:!C&&v&&(C="col");const y=f||p&&p.variant,M=W({},n,{align:i,component:w,padding:s||(b&&b.padding?b.padding:"normal"),size:c||(b&&b.size?b.size:"medium"),sortDirection:u,stickyHeader:y==="head"&&b&&b.stickyHeader,variant:y}),B=NY(M);let D=null;return u&&(D=u==="asc"?"ascending":"descending"),Y.jsx(zY,W({as:w,ref:r,className:Se(B.root,o),"aria-sort":D,scope:C,ownerState:M},d))}),Vv=jY;function UY(e){return nt("MuiTableContainer",e)}tt("MuiTableContainer",["root"]);const HY=["className","component"],WY=e=>{const{classes:t}=e;return it({root:["root"]},UY,t)},VY=he("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),qY=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTableContainer"}),{className:i,component:o="div"}=n,a=Ee(n,HY),s=W({},n,{component:o}),l=WY(s);return Y.jsx(VY,W({ref:r,as:o,className:Se(l.root,i),ownerState:s},a))}),Pue=qY;function KY(e){return nt("MuiTableHead",e)}tt("MuiTableHead",["root"]);const GY=["className","component"],YY=e=>{const{classes:t}=e;return it({root:["root"]},KY,t)},XY=he("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),JY={variant:"head"},h5="thead",ZY=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTableHead"}),{className:i,component:o=h5}=n,a=Ee(n,GY),s=W({},n,{component:o}),l=YY(s);return Y.jsx(k1.Provider,{value:JY,children:Y.jsx(XY,W({as:o,className:Se(l.root,i),ref:r,role:o===h5?null:"rowgroup",ownerState:s},a))})}),Aue=ZY;function QY(e){return nt("MuiToolbar",e)}tt("MuiToolbar",["root","gutters","regular","dense"]);const eX=["className","component","disableGutters","variant"],tX=e=>{const{classes:t,disableGutters:r,variant:n}=e;return it({root:["root",!r&&"gutters",n]},QY,t)},rX=he("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})(({theme:e,ownerState:t})=>W({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),nX=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:a=!1,variant:s="regular"}=n,l=Ee(n,eX),c=W({},n,{component:o,disableGutters:a,variant:s}),u=tX(c);return Y.jsx(rX,W({as:o,className:Se(u.root,i),ref:r,ownerState:c},l))}),iX=nX,gM=fn(Y.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),vM=fn(Y.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),oX=["backIconButtonProps","count","disabled","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton","slots","slotProps"],aX=U.forwardRef(function(t,r){var n,i,o,a,s,l,c,u;const{backIconButtonProps:f,count:d,disabled:b=!1,getItemAriaLabel:p,nextIconButtonProps:v,onPageChange:w,page:C,rowsPerPage:y,showFirstButton:M,showLastButton:B,slots:D={},slotProps:F={}}=t,N=Ee(t,oX),_=Jc(),L=G=>{w(G,0)},I=G=>{w(G,C-1)},R=G=>{w(G,C+1)},m=G=>{w(G,Math.max(0,Math.ceil(d/y)-1))},g=(n=D.firstButton)!=null?n:Ls,h=(i=D.lastButton)!=null?i:Ls,x=(o=D.nextButton)!=null?o:Ls,S=(a=D.previousButton)!=null?a:Ls,T=(s=D.firstButtonIcon)!=null?s:EG,k=(l=D.lastButtonIcon)!=null?l:MG,$=(c=D.nextButtonIcon)!=null?c:vM,P=(u=D.previousButtonIcon)!=null?u:gM,E=_?h:g,A=_?x:S,z=_?S:x,H=_?g:h,O=_?F.lastButton:F.firstButton,V=_?F.nextButton:F.previousButton,X=_?F.previousButton:F.nextButton,J=_?F.firstButton:F.lastButton;return Y.jsxs("div",W({ref:r},N,{children:[M&&Y.jsx(E,W({onClick:L,disabled:b||C===0,"aria-label":p("first",C),title:p("first",C)},O,{children:_?Y.jsx(k,W({},F.lastButtonIcon)):Y.jsx(T,W({},F.firstButtonIcon))})),Y.jsx(A,W({onClick:I,disabled:b||C===0,color:"inherit","aria-label":p("previous",C),title:p("previous",C)},V??f,{children:_?Y.jsx($,W({},F.nextButtonIcon)):Y.jsx(P,W({},F.previousButtonIcon))})),Y.jsx(z,W({onClick:R,disabled:b||(d!==-1?C>=Math.ceil(d/y)-1:!1),color:"inherit","aria-label":p("next",C),title:p("next",C)},X??v,{children:_?Y.jsx(P,W({},F.previousButtonIcon)):Y.jsx($,W({},F.nextButtonIcon))})),B&&Y.jsx(H,W({onClick:m,disabled:b||C>=Math.ceil(d/y)-1,"aria-label":p("last",C),title:p("last",C)},J,{children:_?Y.jsx(T,W({},F.firstButtonIcon)):Y.jsx(k,W({},F.lastButtonIcon))}))]}))}),sX=aX;function lX(e){return nt("MuiTablePagination",e)}const cX=tt("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),yf=cX;var p5;const uX=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","disabled","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton","slotProps","slots"],fX=he(Vv,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}})),dX=he(iX,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>W({[`& .${yf.actions}`]:t.actions},t.toolbar)})(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${yf.actions}`]:{flexShrink:0,marginLeft:20}})),hX=he("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),pX=he("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>W({},e.typography.body2,{flexShrink:0})),xX=he(xM,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>W({[`& .${yf.selectIcon}`]:t.selectIcon,[`& .${yf.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${yf.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),mX=he(aG,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),gX=he("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>W({},e.typography.body2,{flexShrink:0}));function vX({from:e,to:t,count:r}){return`${e}–${t} of ${r!==-1?r:`more than ${t}`}`}function bX(e){return`Go to ${e} page`}const yX=e=>{const{classes:t}=e;return it({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},lX,t)},wX=U.forwardRef(function(t,r){var n;const i=ft({props:t,name:"MuiTablePagination"}),{ActionsComponent:o=sX,backIconButtonProps:a,className:s,colSpan:l,component:c=Vv,count:u,disabled:f=!1,getItemAriaLabel:d=bX,labelDisplayedRows:b=vX,labelRowsPerPage:p="Rows per page:",nextIconButtonProps:v,onPageChange:w,onRowsPerPageChange:C,page:y,rowsPerPage:M,rowsPerPageOptions:B=[10,25,50,100],SelectProps:D={},showFirstButton:F=!1,showLastButton:N=!1,slotProps:_={},slots:L={}}=i,I=Ee(i,uX),R=i,m=yX(R),g=(n=_==null?void 0:_.select)!=null?n:D,h=g.native?"option":mX;let x;(c===Vv||c==="td")&&(x=l||1e3);const S=Za(g.id),T=Za(g.labelId),k=()=>u===-1?(y+1)*M:M===-1?u:Math.min(u,(y+1)*M);return Y.jsx(fX,W({colSpan:x,ref:r,as:c,ownerState:R,className:Se(m.root,s)},I,{children:Y.jsxs(dX,{className:m.toolbar,children:[Y.jsx(hX,{className:m.spacer}),B.length>1&&Y.jsx(pX,{className:m.selectLabel,id:T,children:p}),B.length>1&&Y.jsx(xX,W({variant:"standard"},!g.variant&&{input:p5||(p5=Y.jsx(P1,{}))},{value:M,onChange:C,id:S,labelId:T},g,{classes:W({},g.classes,{root:Se(m.input,m.selectRoot,(g.classes||{}).root),select:Se(m.select,(g.classes||{}).select),icon:Se(m.selectIcon,(g.classes||{}).icon)}),disabled:f,children:B.map($=>U.createElement(h,W({},!il(h)&&{ownerState:R},{className:m.menuItem,key:$.label?$.label:$,value:$.value?$.value:$}),$.label?$.label:$))})),Y.jsx(gX,{className:m.displayedRows,children:b({from:u===0?0:y*M+1,to:k(),count:u===-1?-1:u,page:y})}),Y.jsx(o,{className:m.actions,backIconButtonProps:a,count:u,nextIconButtonProps:v,onPageChange:w,page:y,rowsPerPage:M,showFirstButton:F,showLastButton:N,slotProps:_.actions,slots:L.actions,getItemAriaLabel:d,disabled:f})]})}))}),kue=wX;function SX(e){return nt("MuiTableRow",e)}const CX=tt("MuiTableRow",["root","selected","hover","head","footer"]),x5=CX,EX=["className","component","hover","selected"],MX=e=>{const{classes:t,selected:r,hover:n,head:i,footer:o}=e;return it({root:["root",r&&"selected",n&&"hover",i&&"head",o&&"footer"]},SX,t)},PX=he("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${x5.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${x5.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),m5="tr",AX=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTableRow"}),{className:i,component:o=m5,hover:a=!1,selected:s=!1}=n,l=Ee(n,EX),c=U.useContext(k1),u=W({},n,{component:o,hover:a,selected:s,head:c&&c.variant==="head",footer:c&&c.variant==="footer"}),f=MX(u);return Y.jsx(PX,W({as:o,ref:r,className:Se(f.root,i),role:o===m5?null:"row",ownerState:u},l))}),_ue=AX;function kX(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function _X(e,t,r,n={},i=()=>{}){const{ease:o=kX,duration:a=300}=n;let s=null;const l=t[e];let c=!1;const u=()=>{c=!0},f=d=>{if(c){i(new Error("Animation cancelled"));return}s===null&&(s=d);const b=Math.min(1,(d-s)/a);if(t[e]=o(b)*(r-l)+l,b>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(f)};return l===r?(i(new Error("Element already at target position")),u):(requestAnimationFrame(f),u)}const RX=["onChange"],TX={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function $X(e){const{onChange:t}=e,r=Ee(e,RX),n=U.useRef(),i=U.useRef(null),o=()=>{n.current=i.current.offsetHeight-i.current.clientHeight};return bn(()=>{const a=Xc(()=>{const l=n.current;o(),l!==n.current&&t(n.current)}),s=_i(i.current);return s.addEventListener("resize",a),()=>{a.clear(),s.removeEventListener("resize",a)}},[t]),U.useEffect(()=>{o(),t(n.current)},[t]),Y.jsx("div",W({style:TX,ref:i},r))}function BX(e){return nt("MuiTabScrollButton",e)}const IX=tt("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),FX=IX,OX=["className","slots","slotProps","direction","orientation","disabled"],DX=e=>{const{classes:t,orientation:r,disabled:n}=e;return it({root:["root",r,n&&"disabled"]},BX,t)},LX=he(co,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.orientation&&t[r.orientation]]}})(({ownerState:e})=>W({width:40,flexShrink:0,opacity:.8,[`&.${FX.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),NX=U.forwardRef(function(t,r){var n,i;const o=ft({props:t,name:"MuiTabScrollButton"}),{className:a,slots:s={},slotProps:l={},direction:c}=o,u=Ee(o,OX),f=Jc(),d=W({isRtl:f},o),b=DX(d),p=(n=s.StartScrollButtonIcon)!=null?n:gM,v=(i=s.EndScrollButtonIcon)!=null?i:vM,w=Nn({elementType:p,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d}),C=Nn({elementType:v,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d});return Y.jsx(LX,W({component:"div",className:Se(b.root,a),ref:r,role:null,ownerState:d,tabIndex:null},u,{children:c==="left"?Y.jsx(p,W({},w)):Y.jsx(v,W({},C))}))}),zX=NX;function jX(e){return nt("MuiTabs",e)}const UX=tt("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Lm=UX,HX=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],g5=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,v5=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,yd=(e,t,r)=>{let n=!1,i=r(e,t);for(;i;){if(i===e.firstChild){if(n)return;n=!0}const o=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||o)i=r(e,i);else{i.focus();return}}},WX=e=>{const{vertical:t,fixed:r,hideScrollbar:n,scrollableX:i,scrollableY:o,centered:a,scrollButtonsHideMobile:s,classes:l}=e;return it({root:["root",t&&"vertical"],scroller:["scroller",r&&"fixed",n&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},jX,l)},VX=he("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Lm.scrollButtons}`]:t.scrollButtons},{[`& .${Lm.scrollButtons}`]:r.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,r.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>W({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${Lm.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),qX=he("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.scroller,r.fixed&&t.fixed,r.hideScrollbar&&t.hideScrollbar,r.scrollableX&&t.scrollableX,r.scrollableY&&t.scrollableY]}})(({ownerState:e})=>W({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),KX=he("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.flexContainer,r.vertical&&t.flexContainerVertical,r.centered&&t.centered]}})(({ownerState:e})=>W({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),GX=he("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>W({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),YX=he($X)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),b5={},XX=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTabs"}),i=pa(),o=Jc(),{"aria-label":a,"aria-labelledby":s,action:l,centered:c=!1,children:u,className:f,component:d="div",allowScrollButtonsMobile:b=!1,indicatorColor:p="primary",onChange:v,orientation:w="horizontal",ScrollButtonComponent:C=zX,scrollButtons:y="auto",selectionFollowsFocus:M,slots:B={},slotProps:D={},TabIndicatorProps:F={},TabScrollButtonProps:N={},textColor:_="primary",value:L,variant:I="standard",visibleScrollbar:R=!1}=n,m=Ee(n,HX),g=I==="scrollable",h=w==="vertical",x=h?"scrollTop":"scrollLeft",S=h?"top":"left",T=h?"bottom":"right",k=h?"clientHeight":"clientWidth",$=h?"height":"width",P=W({},n,{component:d,allowScrollButtonsMobile:b,indicatorColor:p,orientation:w,vertical:h,scrollButtons:y,textColor:_,variant:I,visibleScrollbar:R,fixed:!g,hideScrollbar:g&&!R,scrollableX:g&&!h,scrollableY:g&&h,centered:c&&!g,scrollButtonsHideMobile:!b}),E=WX(P),A=Nn({elementType:B.StartScrollButtonIcon,externalSlotProps:D.startScrollButtonIcon,ownerState:P}),z=Nn({elementType:B.EndScrollButtonIcon,externalSlotProps:D.endScrollButtonIcon,ownerState:P}),[H,O]=U.useState(!1),[V,X]=U.useState(b5),[J,G]=U.useState(!1),[j,q]=U.useState(!1),[K,Z]=U.useState(!1),[te,Q]=U.useState({overflow:"hidden",scrollbarWidth:0}),oe=new Map,me=U.useRef(null),se=U.useRef(null),ye=()=>{const le=me.current;let xe;if(le){const We=le.getBoundingClientRect();xe={clientWidth:le.clientWidth,scrollLeft:le.scrollLeft,scrollTop:le.scrollTop,scrollLeftNormalized:vF(le,o?"rtl":"ltr"),scrollWidth:le.scrollWidth,top:We.top,bottom:We.bottom,left:We.left,right:We.right}}let je;if(le&&L!==!1){const We=se.current.children;if(We.length>0){const Fe=We[oe.get(L)];je=Fe?Fe.getBoundingClientRect():null}}return{tabsMeta:xe,tabMeta:je}},Re=Pr(()=>{const{tabsMeta:le,tabMeta:xe}=ye();let je=0,We;if(h)We="top",xe&&le&&(je=xe.top-le.top+le.scrollTop);else if(We=o?"right":"left",xe&&le){const Qe=o?le.scrollLeftNormalized+le.clientWidth-le.scrollWidth:le.scrollLeft;je=(o?-1:1)*(xe[We]-le[We]+Qe)}const Fe={[We]:je,[$]:xe?xe[$]:0};if(isNaN(V[We])||isNaN(V[$]))X(Fe);else{const Qe=Math.abs(V[We]-Fe[We]),ut=Math.abs(V[$]-Fe[$]);(Qe>=1||ut>=1)&&X(Fe)}}),we=(le,{animation:xe=!0}={})=>{xe?_X(x,me.current,le,{duration:i.transitions.duration.standard}):me.current[x]=le},He=le=>{let xe=me.current[x];h?xe+=le:(xe+=le*(o?-1:1),xe*=o&&cS()==="reverse"?-1:1),we(xe)},Ue=()=>{const le=me.current[k];let xe=0;const je=Array.from(se.current.children);for(let We=0;Wele){We===0&&(xe=le);break}xe+=Fe[k]}return xe},Me=()=>{He(-1*Ue())},Ze=()=>{He(Ue())},Je=U.useCallback(le=>{Q({overflow:null,scrollbarWidth:le})},[]),Ne=()=>{const le={};le.scrollbarSizeListener=g?Y.jsx(YX,{onChange:Je,className:Se(E.scrollableX,E.hideScrollbar)}):null;const je=g&&(y==="auto"&&(J||j)||y===!0);return le.scrollButtonStart=je?Y.jsx(C,W({slots:{StartScrollButtonIcon:B.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:A},orientation:w,direction:o?"right":"left",onClick:Me,disabled:!J},N,{className:Se(E.scrollButtons,N.className)})):null,le.scrollButtonEnd=je?Y.jsx(C,W({slots:{EndScrollButtonIcon:B.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:z},orientation:w,direction:o?"left":"right",onClick:Ze,disabled:!j},N,{className:Se(E.scrollButtons,N.className)})):null,le},De=Pr(le=>{const{tabsMeta:xe,tabMeta:je}=ye();if(!(!je||!xe)){if(je[S]xe[T]){const We=xe[x]+(je[T]-xe[T]);we(We,{animation:le})}}}),de=Pr(()=>{g&&y!==!1&&Z(!K)});U.useEffect(()=>{const le=Xc(()=>{me.current&&Re()});let xe;const je=Qe=>{Qe.forEach(ut=>{ut.removedNodes.forEach(Ge=>{var ee;(ee=xe)==null||ee.unobserve(Ge)}),ut.addedNodes.forEach(Ge=>{var ee;(ee=xe)==null||ee.observe(Ge)})}),le(),de()},We=_i(me.current);We.addEventListener("resize",le);let Fe;return typeof ResizeObserver<"u"&&(xe=new ResizeObserver(le),Array.from(se.current.children).forEach(Qe=>{xe.observe(Qe)})),typeof MutationObserver<"u"&&(Fe=new MutationObserver(je),Fe.observe(se.current,{childList:!0})),()=>{var Qe,ut;le.clear(),We.removeEventListener("resize",le),(Qe=Fe)==null||Qe.disconnect(),(ut=xe)==null||ut.disconnect()}},[Re,de]),U.useEffect(()=>{const le=Array.from(se.current.children),xe=le.length;if(typeof IntersectionObserver<"u"&&xe>0&&g&&y!==!1){const je=le[0],We=le[xe-1],Fe={root:me.current,threshold:.99},Qe=re=>{G(!re[0].isIntersecting)},ut=new IntersectionObserver(Qe,Fe);ut.observe(je);const Ge=re=>{q(!re[0].isIntersecting)},ee=new IntersectionObserver(Ge,Fe);return ee.observe(We),()=>{ut.disconnect(),ee.disconnect()}}},[g,y,K,u==null?void 0:u.length]),U.useEffect(()=>{O(!0)},[]),U.useEffect(()=>{Re()}),U.useEffect(()=>{De(b5!==V)},[De,V]),U.useImperativeHandle(l,()=>({updateIndicator:Re,updateScrollButtons:de}),[Re,de]);const Ie=Y.jsx(GX,W({},F,{className:Se(E.indicator,F.className),ownerState:P,style:W({},V,F.style)}));let ot=0;const lt=U.Children.map(u,le=>{if(!U.isValidElement(le))return null;const xe=le.props.value===void 0?ot:le.props.value;oe.set(xe,ot);const je=xe===L;return ot+=1,U.cloneElement(le,W({fullWidth:I==="fullWidth",indicator:je&&!H&&Ie,selected:je,selectionFollowsFocus:M,onChange:v,textColor:_,value:xe},ot===1&&L===!1&&!le.props.tabIndex?{tabIndex:0}:{}))}),ge=le=>{const xe=se.current,je=Er(xe).activeElement;if(je.getAttribute("role")!=="tab")return;let Fe=w==="horizontal"?"ArrowLeft":"ArrowUp",Qe=w==="horizontal"?"ArrowRight":"ArrowDown";switch(w==="horizontal"&&o&&(Fe="ArrowRight",Qe="ArrowLeft"),le.key){case Fe:le.preventDefault(),yd(xe,je,v5);break;case Qe:le.preventDefault(),yd(xe,je,g5);break;case"Home":le.preventDefault(),yd(xe,null,g5);break;case"End":le.preventDefault(),yd(xe,null,v5);break}},ze=Ne();return Y.jsxs(VX,W({className:Se(E.root,f),ownerState:P,ref:r,as:d},m,{children:[ze.scrollButtonStart,ze.scrollbarSizeListener,Y.jsxs(qX,{className:E.scroller,ownerState:P,style:{overflow:te.overflow,[h?`margin${o?"Left":"Right"}`:"marginBottom"]:R?void 0:-te.scrollbarWidth},ref:me,children:[Y.jsx(KX,{"aria-label":a,"aria-labelledby":s,"aria-orientation":w==="vertical"?"vertical":null,className:E.flexContainer,ownerState:P,onKeyDown:ge,ref:se,role:"tablist",children:lt}),H&&Ie]}),ze.scrollButtonEnd]}))}),Rue=XX;function JX(e){return nt("MuiTextField",e)}tt("MuiTextField",["root"]);const ZX=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],QX={standard:aM,filled:rM,outlined:hM},eJ=e=>{const{classes:t}=e;return it({root:["root"]},JX,t)},tJ=he(FV,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),rJ=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTextField"}),{autoComplete:i,autoFocus:o=!1,children:a,className:s,color:l="primary",defaultValue:c,disabled:u=!1,error:f=!1,FormHelperTextProps:d,fullWidth:b=!1,helperText:p,id:v,InputLabelProps:w,inputProps:C,InputProps:y,inputRef:M,label:B,maxRows:D,minRows:F,multiline:N=!1,name:_,onBlur:L,onChange:I,onFocus:R,placeholder:m,required:g=!1,rows:h,select:x=!1,SelectProps:S,type:T,value:k,variant:$="outlined"}=n,P=Ee(n,ZX),E=W({},n,{autoFocus:o,color:l,disabled:u,error:f,fullWidth:b,multiline:N,required:g,select:x,variant:$}),A=eJ(E),z={};$==="outlined"&&(w&&typeof w.shrink<"u"&&(z.notched=w.shrink),z.label=B),x&&((!S||!S.native)&&(z.id=void 0),z["aria-describedby"]=void 0);const H=Za(v),O=p&&H?`${H}-helper-text`:void 0,V=B&&H?`${H}-label`:void 0,X=QX[$],J=Y.jsx(X,W({"aria-describedby":O,autoComplete:i,autoFocus:o,defaultValue:c,fullWidth:b,multiline:N,name:_,rows:h,maxRows:D,minRows:F,type:T,value:k,id:H,inputRef:M,onBlur:L,onChange:I,onFocus:R,placeholder:m,inputProps:C},z,y));return Y.jsxs(tJ,W({className:Se(A.root,s),disabled:u,error:f,fullWidth:b,ref:r,required:g,color:l,variant:$,ownerState:E},P,{children:[B!=null&&B!==""&&Y.jsx(Nq,W({htmlFor:H,id:V},w,{children:B})),x?Y.jsx(xM,W({"aria-describedby":O,id:H,labelId:V,value:k,input:J},S,{children:a})):J,p&&Y.jsx(JV,W({id:O},d,{children:p}))]}))}),Tue=rJ,nJ=["getTrigger","target"];function iJ(e,t){const{disableHysteresis:r=!1,threshold:n=100,target:i}=t,o=e.current;return i&&(e.current=i.pageYOffset!==void 0?i.pageYOffset:i.scrollTop),!r&&o!==void 0&&e.currentn}const oJ=typeof window<"u"?window:null;function $ue(e={}){const{getTrigger:t=iJ,target:r=oJ}=e,n=Ee(e,nJ),i=U.useRef(),[o,a]=U.useState(()=>t(i,n));return U.useEffect(()=>{const s=()=>{a(t(i,W({target:r},n)))};return s(),r.addEventListener("scroll",s,{passive:!0}),()=>{r.removeEventListener("scroll",s,{passive:!0})}},[r,t,JSON.stringify(n)]),o}const aJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"መንገድ አሳይ"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"ወደ መጀመሪያው ገጽ ይሂዱ":e==="last"?"ወደ መጨረሻው ገጽ ይሂዱ":e==="next"?"ወደ ቀጣዩ ገጽ ይሂዱ":"ወደ ቀዳሚው ገጽ ይሂዱ",labelRowsPerPage:"ረድፎች በአንድ ገጽ:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}-${t} ከ ${r!==-1?r:`${t} በላይ`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ኮከ${e!==1?"ቦች":"ብ"}`,emptyLabelText:"ባዶ"}},MuiAutocomplete:{defaultProps:{clearText:"አጽዳ",closeText:"ዝጋ",loadingText:"በመጫን ላይ…",noOptionsText:"አማራጮች የሉም",openText:"ክፈት"}},MuiAlert:{defaultProps:{closeText:"ዝጋ"}},MuiPagination:{defaultProps:{"aria-label":"የገጽ አሰሳ",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"ወደ "}ገጽ ${t}${r?"":" ሂድ"}`:e==="first"?"ወደ መጀመሪያው ገጽ ይሂዱ":e==="last"?"ወደ መጨረሻው ገጽ ይሂዱ":e==="next"?"ወደ ቀጣዩ ገጽ ይሂዱ":"ወደ ቀዳሚው ገጽ ይሂዱ"}}}},sJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"إظهار المسار"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"انتقل إلى الصفحة الأولى":e==="last"?"انتقل إلى الصفحة الأخيرة":e==="next"?"انتقل إلى الصفحة التالية":"انتقل إلى الصفحة السابقة",labelRowsPerPage:"عدد الصفوف في الصفحة:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} من ${r!==-1?r:` أكثر من${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"نجوم":"نجمة"}`,emptyLabelText:"فارغ"}},MuiAutocomplete:{defaultProps:{clearText:"مسح",closeText:"إغلاق",loadingText:"جار التحميل...",noOptionsText:"لا يوجد خيارات",openText:"فتح"}},MuiAlert:{defaultProps:{closeText:"إغلاق"}},MuiPagination:{defaultProps:{"aria-label":"التنقل عبر الصفحات",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"انتقل إلى "} صفحة ${t}`:e==="first"?"انتقل إلى الصفحة الأولى":e==="last"?"انتقل إلى الصفحة الأخيرة":e==="next"?"انتقل إلى الصفحة التالية":"انتقل إلى الصفحة السابقة"}}}},lJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"إظهار المسار"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"الانتقال إلى الصفحة الأولى":e==="last"?"الانتقال إلى الصفحة الأخيرة":e==="next"?"الانتقال إلى الصفحة التالية":"الانتقال إلى الصفحة السابقة",labelRowsPerPage:"عدد الصفوف في الصفحة:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} من ${r!==-1?r:` أكثر من${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"نجوم":"نجمة"}`,emptyLabelText:"فارغ"}},MuiAutocomplete:{defaultProps:{clearText:"مسح",closeText:"إغلاق",loadingText:"جار التحميل...",noOptionsText:"لا توجد خيارات",openText:"فتح"}},MuiAlert:{defaultProps:{closeText:"إغلاق"}},MuiPagination:{defaultProps:{"aria-label":"التنقل عبر الصفحات",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"الانتقال إلى "} صفحة ${t}`:e==="first"?"الانتقال إلى الصفحة الأولى":e==="last"?"الانتقال الي الصفحة الأخيرة":e==="next"?"الانتقال إلى الصفحة التالية":"الانتقال إلى الصفحة السابقة"}}}},cJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"إظهار المسار"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"انتقل إلى الصفحة الأولى":e==="last"?"انتقل إلى الصفحة الأخيرة":e==="next"?"انتقل إلى الصفحة التالية":"انتقل إلى الصفحة السابقة",labelRowsPerPage:"عدد الصفوف في الصفحة:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} من ${r!==-1?r:` أكثر من${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"نجوم":"نجمة"}`,emptyLabelText:"فارغ"}},MuiAutocomplete:{defaultProps:{clearText:"مسح",closeText:"إغلاق",loadingText:"جار التحميل...",noOptionsText:"لا يوجد خيارات",openText:"فتح"}},MuiAlert:{defaultProps:{closeText:"إغلاق"}},MuiPagination:{defaultProps:{"aria-label":"التنقل عبر الصفحات",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"انتقل إلى "} صفحة ${t}`:e==="first"?"انتقل إلى الصفحة الأولى":e==="last"?"انتقل الي الصفحة الأخيرة":e==="next"?"انتقل إلى الصفحة التالية":"انتقل إلى الصفحة السابقة"}}}},uJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Yolu göstər"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Birinci səhifəyə keç":e==="last"?"Sonuncu səhifəyə keç":e==="next"?"Növbəti səhifəyə keç":"Əvvəlki səhifəyə keç",labelRowsPerPage:"Səhifəyə düşən sətrlər:"}},MuiRating:{defaultProps:{getLabelText:e=>{let t="Ulduz";const r=e%10;return r>1&&r<5&&(t="Ulduzlar"),`${e} ${t}`},emptyLabelText:"Boş"}},MuiAutocomplete:{defaultProps:{clearText:"Silmək",closeText:"Bağlamaq",loadingText:"Yüklənir…",noOptionsText:"Seçimlər mövcud deyil",openText:"Открыть"}},MuiAlert:{defaultProps:{closeText:"Bağlamaq"}},MuiPagination:{defaultProps:{"aria-label":"Səhifənin naviqasiyası",getItemAriaLabel:(e,t,r)=>e==="page"?`${t} ${r?"səhifə":"səhifəyə keç"}`:e==="first"?"Birinci səhifəyə keç":e==="last"?"Sonuncu səhifəyə keç":e==="next"?"Növbəti səhifəyə keç":"Əvvəlki səhifəyə keç"}}}},fJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"পথ দেখান"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"প্রথম পৃষ্ঠায় যান":e==="last"?"শেষ পৃষ্ঠায় যান":e==="next"?"পরবর্তী পৃষ্ঠায় যান":"আগের পৃষ্ঠায় যান",labelRowsPerPage:"প্রতি পৃষ্ঠায় সারি:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} / ${r!==-1?r:`${t} থেকে বেশি`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} স্টার`,emptyLabelText:"খালি"}},MuiAutocomplete:{defaultProps:{clearText:"পরিষ্কার করুন",closeText:"বন্ধ করুন",loadingText:"লোড হচ্ছে…",noOptionsText:"কোন অপশন নেই",openText:"ওপেন করুন"}},MuiAlert:{defaultProps:{closeText:"বন্ধ করুন"}},MuiPagination:{defaultProps:{"aria-label":"পেজিনেশন নেভিগেশন",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"যান "}পৃষ্ঠা ${t}-এ`:e==="first"?"প্রথম পৃষ্ঠায় যান":e==="last"?"শেষ পৃষ্ঠায় যান":e==="next"?"পরবর্তী পৃষ্ঠায় যান":"আগের পৃষ্ঠায় যান"}}}},dJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Паказаць шлях"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Перайсці на першую старонку":e==="last"?"Перайсці на апошнюю старонку":e==="next"?"Перайсці на наступную старонку":"Перайсці на папярэднюю старонку",labelRowsPerPage:"Радкоў на старонцы:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} з ${r!==-1?r:`больш чым ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{let t="Зорак";const r=e%10;return r>1&&r<5&&(e<10||e>20)?t="Зоркі":r===1&&e%100!==11&&(t="Зорка"),`${e} ${t}`},emptyLabelText:"Рэйтынг адсутнічае"}},MuiAutocomplete:{defaultProps:{clearText:"Ачысціць",closeText:"Закрыць",loadingText:"Загрузка…",noOptionsText:"Няма варыянтаў",openText:"Адкрыць"}},MuiAlert:{defaultProps:{closeText:"Закрыць"}},MuiPagination:{defaultProps:{"aria-label":"Навігацыя па старонкам",getItemAriaLabel:(e,t,r)=>e==="page"?r?`${t} старонка`:`Перайсці на ${t} старонку`:e==="first"?"Перайсці на першую старонку":e==="last"?"Перайсці на апошнюю старонку":e==="next"?"Перайсці на наступную старонку":"Перайсці на папярэднюю старонку"}}}},hJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Показване на пътя"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Отиди на първата страница":e==="last"?"Отиди на последната страница":e==="next"?"Отиди на следващата страница":"Отиди на предишната страница",labelRowsPerPage:"Редове на страница:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Звезд${e!==1?"и":"а"}`,emptyLabelText:"Изчисти"}},MuiAutocomplete:{defaultProps:{clearText:"Изчисти",closeText:"Затвори",loadingText:"Зареждане…",noOptionsText:"Няма налични опции",openText:"Отвори"}},MuiAlert:{defaultProps:{closeText:"Затвори"}},MuiPagination:{defaultProps:{"aria-label":"Пагинация",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Към "}страница ${t}`:e==="first"?"Отиди на първата страница":e==="last"?"Отиди на последната страница":e==="next"?"Отиди на следващата страница":"Отиди на предишната страница"}}}},pJ={components:{MuiTablePagination:{defaultProps:{labelRowsPerPage:"Files per pàgina:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"Estrelles":"Estrella"}`,emptyLabelText:"Buit"}},MuiAutocomplete:{defaultProps:{clearText:"Netejar",closeText:"Tancar",loadingText:"Carregant…",noOptionsText:"Sense opcions",openText:"Obert"}},MuiAlert:{defaultProps:{closeText:"Tancat"}}}},xJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Ukázat cestu"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Jít na první stránku":e==="last"?"Jít na poslední stránku":e==="next"?"Jít na další stránku":"Jít na předchozí stránku",labelRowsPerPage:"Řádků na stránce:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} z ${r!==-1?r:`více než ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>e===1?`${e} hvězdička`:e>=2&&e<=4?`${e} hvězdičky`:`${e} hvězdiček`,emptyLabelText:"Prázdné"}},MuiAutocomplete:{defaultProps:{clearText:"Vymazat",closeText:"Zavřít",loadingText:"Načítání…",noOptionsText:"Žádné možnosti",openText:"Otevřít"}},MuiAlert:{defaultProps:{closeText:"Zavřít"}},MuiPagination:{defaultProps:{"aria-label":"Navigace stránkováním",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Jít na "}${t}. stránku`:e==="first"?"Jít na první stránku":e==="last"?"Jít na poslední stránku":e==="next"?"Jít na další stránku":"Jít na předchozí stránku"}}}},mJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Vis sti"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Gå til den første side":e==="last"?"Gå til den sidste side":e==="next"?"Gå til den næste side":"Gå til den forrige side",labelRowsPerPage:"Rækker pr side:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}-${t} af ${r!==-1?r:`mere end ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Stjern${e!==1?"er":""}`,emptyLabelText:"Tom"}},MuiAutocomplete:{defaultProps:{clearText:"Slet",closeText:"Luk",loadingText:"Indlæser…",noOptionsText:"Ingen muligheder",openText:"Åben"}},MuiAlert:{defaultProps:{closeText:"Luk"}},MuiPagination:{defaultProps:{"aria-label":"Sideinddelings navigation",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Go to "}page ${t}`:e==="first"?"Gå til den første side":e==="last"?"Gå til den sidste side":e==="next"?"Gå til den næste side":"Gå til den forrige side"}}}},gJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pfad anzeigen"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Zur ersten Seite":e==="last"?"Zur letzten Seite":e==="next"?"Zur nächsten Seite":"Zur vorherigen Seite",labelRowsPerPage:"Zeilen pro Seite:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} von ${r!==-1?r:`mehr als ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"Sterne":"Stern"}`,emptyLabelText:"Keine Wertung"}},MuiAutocomplete:{defaultProps:{clearText:"Leeren",closeText:"Schließen",loadingText:"Wird geladen…",noOptionsText:"Keine Optionen",openText:"Öffnen"}},MuiAlert:{defaultProps:{closeText:"Schließen"}},MuiPagination:{defaultProps:{"aria-label":"Navigation via Seitennummerierung",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Gehe zu "}Seite ${t}`:e==="first"?"Zur ersten Seite":e==="last"?"Zur letzten Seite":e==="next"?"Zur nächsten Seite":"Zur vorherigen Seite"}}}},vJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Εμφάνιση διαδρομής"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Πρώτη σελίδα":e==="last"?"Τελευταία σελίδα":e==="next"?"Επόμενη σελίδα":"Προηγούμενη σελίδα",labelRowsPerPage:"Γραμμές ανα σελίδα:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} από ${r!==-1?r:`πάνω από ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Αστέρι${e!==1?"α":""}`,emptyLabelText:"Χωρίς βαθμολόγηση"}},MuiAutocomplete:{defaultProps:{clearText:"Καθαρισμός",closeText:"Κλείσιμο",loadingText:"Φόρτωση…",noOptionsText:"Δεν υπάρχουν επιλογές",openText:"Άνοιγμα"}},MuiAlert:{defaultProps:{closeText:"Κλείσιμο"}},MuiPagination:{defaultProps:{"aria-label":"Πλοήγηση σε σελίδες",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Μετάβαση "}σελίδα ${t}`:e==="first"?"Πρώτη σελίδα":e==="last"?"Τελευταία σελίδα":e==="next"?"Επόμενη σελίδα":"Προηγούμενη σελίδα"}}}},bJ={},yJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mostrar ruta"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Ir a la primera página":e==="last"?"Ir a la última página":e==="next"?"Ir a la página siguiente":"Ir a la página anterior",labelRowsPerPage:"Filas por página:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} de ${r!==-1?r:`más de ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Estrella${e!==1?"s":""}`,emptyLabelText:"Vacío"}},MuiAutocomplete:{defaultProps:{clearText:"Limpiar",closeText:"Cerrar",loadingText:"Cargando…",noOptionsText:"Sin opciones",openText:"Abierto"}},MuiAlert:{defaultProps:{closeText:"Cerrar"}},MuiPagination:{defaultProps:{"aria-label":"Paginador",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Ir a la "}página ${t}`:e==="first"?"Ir a la primera página":e==="last"?"Ir a la última página":e==="next"?"Ir a la página siguiente":"Ir a la página anterior"}}}},wJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Näita teed"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Vali esimene lehekülg":e==="last"?"Vali viimane lehekülg":e==="next"?"Vali järgmine lehekülg":"Vali eelmine lehekülg",labelRowsPerPage:"Ridu leheküljel:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} / ${r!==-1?r:`rohkem kui ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Tärn${e!==1?"i":""}`,emptyLabelText:"Tühi"}},MuiAutocomplete:{defaultProps:{clearText:"Tühjenda",closeText:"Sulge",loadingText:"Laen…",noOptionsText:"Valikuid ei ole",openText:"Ava"}},MuiAlert:{defaultProps:{closeText:"Sulge"}},MuiPagination:{defaultProps:{"aria-label":"Lehekülgede valik",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Vali "}lehekülg ${t}`:e==="first"?"Vali esimene lehekülg":e==="last"?"Vali viimane lehekülg":e==="next"?"Vali järgmine lehekülg":"Vali eelmine lehekülg"}}}},SJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"نمایش مسیر"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"رفتن به اولین صفحه":e==="last"?"رفتن به آخرین صفحه":e==="next"?"رفتن به صفحه‌ی بعدی":"رفتن به صفحه‌ی قبلی",labelRowsPerPage:"تعداد سطرهای هر صفحه:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} از ${r!==-1?r:`بیشتر از ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ستاره`,emptyLabelText:"خالی"}},MuiAutocomplete:{defaultProps:{clearText:"پاک‌کردن",closeText:"بستن",loadingText:"در حال بارگذاری…",noOptionsText:"بی‌نتیجه",openText:"بازکردن"}},MuiAlert:{defaultProps:{closeText:"بستن"}},MuiPagination:{defaultProps:{"aria-label":"ناوبری صفحه",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"رفتن به "}صفحهٔ ${t}`:e==="first"?"رفتن به اولین صفحه":e==="last"?"رفتن به آخرین صفحه":e==="next"?"رفتن به صفحه‌ی بعدی":"رفتن به صفحه‌ی قبلی"}}}},CJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Näytä reitti"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Mene ensimmäiselle sivulle":e==="last"?"Mene viimeiselle sivulle":e==="next"?"Mene seuraavalle sivulle":"Mene edelliselle sivulle",labelRowsPerPage:"Rivejä per sivu:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} / ${r!==-1?r:`enemmän kuin ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Täht${e!==1?"eä":"i"}`,emptyLabelText:"Tyhjä"}},MuiAutocomplete:{defaultProps:{clearText:"Tyhjennä",closeText:"Sulje",loadingText:"Ladataan…",noOptionsText:"Ei valintoja",openText:"Avaa"}},MuiAlert:{defaultProps:{closeText:"Sulje"}},MuiPagination:{defaultProps:{"aria-label":"Sivutus navigaatio",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"sivu":"Mene sivulle"} ${t}`:e==="first"?"Mene ensimmäiselle sivulle":e==="last"?"Mene viimeiselle sivulle":e==="next"?"Mene seuraavalle sivulle":"Mene edelliselle sivulle"}}}},EJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Montrer le chemin"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Aller à la première page":e==="last"?"Aller à la dernière page":e==="next"?"Aller à la page suivante":"Aller à la page précédente",labelRowsPerPage:"Lignes par page :",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} sur ${r!==-1?r:`plus que ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Etoile${e!==1?"s":""}`,emptyLabelText:"Vide"}},MuiAutocomplete:{defaultProps:{clearText:"Vider",closeText:"Fermer",loadingText:"Chargement…",noOptionsText:"Pas de résultats",openText:"Ouvrir"}},MuiAlert:{defaultProps:{closeText:"Fermer"}},MuiPagination:{defaultProps:{"aria-label":"navigation de pagination",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Aller à la "}page ${t}`:e==="first"?"Aller à la première page":e==="last"?"Aller à la dernière page":e==="next"?"Aller à la page suivante":"Aller à la page précédente"}}}},MJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"הצג נתיב"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"לעמוד הראשון":e==="last"?"לעמוד האחרון":e==="next"?"לעמוד הבא":"לעמוד הקודם",labelRowsPerPage:"שורות בעמוד:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} מתוך ${r!==-1?r:`יותר מ ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} כוכב${e!==1?"ים":""}`,emptyLabelText:"ריק"}},MuiAutocomplete:{defaultProps:{clearText:"נקה",closeText:"סגור",loadingText:"טוען…",noOptionsText:"אין אופציות",openText:"פתח"}},MuiAlert:{defaultProps:{closeText:"סגור"}},MuiPagination:{defaultProps:{"aria-label":"ניווט בעמודים",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"ל "}עמוד ${t}`:e==="first"?"לעמוד הראשון":e==="last"?"לעמוד האחרון":e==="next"?"לעמוד הבא":"לעמוד הקודם"}}}},PJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"रास्ता दिखायें"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"पहले पृष्ठ पर जाएँ":e==="last"?"अंतिम पृष्ठ पर जाएँ":e==="next"?"अगले पृष्ठ पर जाएँ":"पिछले पृष्ठ पर जाएँ",labelRowsPerPage:"पंक्तियाँ प्रति पृष्ठ:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}-${t===-1?r:t} कुल ${r} में`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} तार${e!==1?"े":"ा"}`,emptyLabelText:"रिक्त"}},MuiAutocomplete:{defaultProps:{clearText:"हटायें",closeText:"बंद करें",loadingText:"लोड हो रहा है…",noOptionsText:"कोई विकल्प नहीं",openText:"खोलें"}},MuiAlert:{defaultProps:{closeText:"बंद करें"}},MuiPagination:{defaultProps:{"aria-label":"पृस्ठानुसार संचालन",getItemAriaLabel:(e,t,r)=>e==="page"?`पृष्ठ ${t} ${r?"":" पर जाएँ"}`:e==="first"?"पहले पृष्ठ पर जाएँ":e==="last"?"अंतिम पृष्ठ पर जाएँ":e==="next"?"अगले पृष्ठ पर जाएँ":"पिछले पृष्ठ पर जाएँ"}}}},AJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pokaži putanju"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Idi na prvu stranicu":e==="last"?"Idi na posljednju stranicu":e==="next"?"Idi na sljedeću stranicu":"Idi na prethodnu stranicu",labelRowsPerPage:"Redova po stranici:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} od ${r!==-1?r:`više nego ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10,r=e%100;return[2,3,4].includes(t)&&![12,13,14].includes(r)?"Zvijezde":"Zvijezda"},emptyLabelText:"Prazno"}},MuiAutocomplete:{defaultProps:{clearText:"Briši",closeText:"Zatvori",loadingText:"Učitavanje…",noOptionsText:"Nema opcija",openText:"Otvori"}},MuiAlert:{defaultProps:{closeText:"Zatvori"}},MuiPagination:{defaultProps:{"aria-label":"Navigacija po stranicama",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Idi na "}stranicu ${t}`:e==="first"?"Idi na prvu stranicu":e==="last"?"Idi na zadnju stranicu":e==="next"?"Idi na sljedeću stranicu":"Idi na prethodnu stranicu"}}}},kJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Útvonal"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Első oldalra":e==="last"?"Utolsó oldalra":e==="next"?"Következő oldalra":"Előző oldalra",labelRowsPerPage:"Sorok száma:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Csillag`,emptyLabelText:"Üres"}},MuiAutocomplete:{defaultProps:{clearText:"Törlés",closeText:"Bezárás",loadingText:"Töltés…",noOptionsText:"Nincs találat",openText:"Megnyitás"}},MuiAlert:{defaultProps:{closeText:"Bezárás"}},MuiPagination:{defaultProps:{"aria-label":"Lapozás",getItemAriaLabel:(e,t,r)=>e==="page"?`${t}. oldal${r?"":"ra"}`:e==="first"?"Első oldalra":e==="last"?"Utolsó oldalra":e==="next"?"Következő oldalra":"Előző oldalra"}}}},_J={components:{MuiTablePagination:{defaultProps:{labelRowsPerPage:"Տողեր մեկ էջում`"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Աստղ`,emptyLabelText:"Դատարկ"}},MuiAutocomplete:{defaultProps:{clearText:"Մաքրել",closeText:"Փակել",loadingText:"Բեռնում…",noOptionsText:"Տարբերակներ չկան",openText:"Բացել"}},MuiAlert:{defaultProps:{closeText:"Փակել"}}}},RJ={components:{MuiTablePagination:{defaultProps:{labelRowsPerPage:"Baris per halaman:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Bintang`}},MuiAutocomplete:{defaultProps:{clearText:"Hapus",closeText:"Tutup",loadingText:"Memuat…",noOptionsText:"Tidak ada opsi",openText:"Buka"}},MuiAlert:{defaultProps:{closeText:"Tutup"}}}},TJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Sýna slóð"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Fara á fyrstu síðu":e==="last"?"Fara á síðustu síðu":e==="next"?"Fara á næstu síðu":"Fara á fyrri síðu",labelRowsPerPage:"Raðir á síðu:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} af ${r!==-1?r:`fleiri enn ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e===1?"stjarna":"stjörnur"}`,emptyLabelText:"Tómt"}},MuiAutocomplete:{defaultProps:{clearText:"Hreinsa",closeText:"Loka",loadingText:"Hlaða…",noOptionsText:"Engar niðurstöður",openText:"Opna"}},MuiAlert:{defaultProps:{closeText:"Loka"}},MuiPagination:{defaultProps:{"aria-label":"Síðuflakk",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"Síða":"Fara á síðu"} ${t}`:e==="first"?"Fara á fyrstu síðu":e==="last"?"Fara á síðustu síðu":e==="next"?"Fara á næstu síðu":"Fara á fyrri síðu"}}}},$J={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Visualizza percorso"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Vai alla prima pagina":e==="last"?"Vai all'ultima pagina":e==="next"?"Vai alla pagina successiva":"Vai alla pagina precedente",labelRowsPerPage:"Righe per pagina:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} di ${r!==-1?r:`più di ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Stell${e!==1?"e":"a"}`,emptyLabelText:"Vuoto"}},MuiAutocomplete:{defaultProps:{clearText:"Svuota",closeText:"Chiudi",loadingText:"Caricamento in corso…",noOptionsText:"Nessuna opzione",openText:"Apri"}},MuiAlert:{defaultProps:{closeText:"Chiudi"}},MuiPagination:{defaultProps:{"aria-label":"Navigazione impaginata",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Vai alla "}pagina ${t}`:e==="first"?"Vai alla prima pagina":e==="last"?"Vai all'ultima pagina":e==="next"?"Vai alla pagina successiva":"Vai alla pagina precedente"}}}},BJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"すべて表示"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"最初のページへ":e==="last"?"最後のページへ":e==="next"?"次のページへ":"前のページへ",labelRowsPerPage:"ページあたりの行数:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}~${t} / ${r!==-1?r:`${t}以上`}`}},MuiRating:{defaultProps:{getLabelText:e=>`星${e}`,emptyLabelText:"星なし"}},MuiAutocomplete:{defaultProps:{clearText:"クリア",closeText:"閉じる",loadingText:"読み込み中…",noOptionsText:"データがありません",openText:"開く"}},MuiAlert:{defaultProps:{closeText:"閉じる"}},MuiPagination:{defaultProps:{"aria-label":"ページ選択",getItemAriaLabel:(e,t,r)=>e==="page"?`ページ${t}${r?"":"へ"}`:e==="first"?"最初のページへ":e==="last"?"最後のページへ":e==="next"?"次のページへ":"前のページへ"}}}},IJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"បង្ហាញផ្លូវ"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"ទៅទំព័រដំបូង":e==="last"?"ទៅទំព័រចុងក្រោយ":e==="next"?"ទៅទំព័របន្ទាប់":"ទៅទំព័រមុន",labelRowsPerPage:"ចំនួនជួរដេកក្នុងមួយទំព័រ:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e} - ${t} នៃ ${r!==-1?r:`ច្រើនជាង ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ផ្កាយ`,emptyLabelText:"ទទេ"}},MuiAutocomplete:{defaultProps:{clearText:"លុបចោល",closeText:"បិទ",loadingText:"កំពុងលោត…",noOptionsText:"គ្មានជម្រើស",openText:"បើក"}},MuiAlert:{defaultProps:{closeText:"បិទ"}},MuiPagination:{defaultProps:{"aria-label":"រុករកទំព័រ",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"ទៅ "}ទំព័រ ${t}`:e==="first"?"ទៅទំព័រដំបូង":e==="last"?"ទៅទំព័រចុងក្រោយ":e==="next"?"ទៅទំព័របន្ទាប់":"ទៅទំព័រមុន"}}}},FJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"경로 보기"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"첫 번째 페이지로 이동":e==="last"?"마지막 페이지로 이동":e==="next"?"다음 페이지로 이동":"이전 페이지로 이동",labelRowsPerPage:"페이지 당 행:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} / ${r!==-1?r:`${t}개 이상`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} 점`,emptyLabelText:"빈 텍스트"}},MuiAutocomplete:{defaultProps:{clearText:"지우기",closeText:"닫기",loadingText:"불러오는 중…",noOptionsText:"옵션 없음",openText:"열기"}},MuiAlert:{defaultProps:{closeText:"닫기"}},MuiPagination:{defaultProps:{"aria-label":"페이지네이션 네비게이션",getItemAriaLabel:(e,t,r)=>e==="page"?`${t} 번째 페이지${r?"":"로 이동"}`:e==="first"?"첫 번째 페이지로 이동":e==="last"?"마지막 페이지로 이동":e==="next"?"다음 페이지로 이동":"이전 페이지로 이동"}}}},OJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"ڕێچکە پیشان بدە"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"چوونە یەکەم پەڕە":e==="last"?"چوونە کۆتا پەڕە":e==="next"?"چوونە پەڕەی دواتر":"گەڕانەوە بۆ پەڕەی پێشوو",labelRowsPerPage:"ژمارەی ڕیزەکان لە هەر پەڕەیەک:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} لە ${r!==-1?r:` زیاترە لە${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"ئەستێرەکان":"ئەستێرە"}`,emptyLabelText:"خاڵیە"}},MuiAutocomplete:{defaultProps:{clearText:"سڕینەوە",closeText:"داخستن",loadingText:"لە بارکردندایە...",noOptionsText:"هیچ بژاردەیەک نیە",openText:"کردنەوە"}},MuiAlert:{defaultProps:{closeText:"داخستن"}},MuiPagination:{defaultProps:{"aria-label":"گەڕان لە پەڕەکان",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"چوون بۆ "} پەڕەی ${t}`:e==="first"?"چوونە یەکەم پەڕە":e==="last"?"چوونە کۆتا پەڕە":e==="next"?"چوونە پەڕەی دواتر":"گەڕانەوە بۆ پەڕەی پێشوو"}}}},DJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Rê nîşan bide"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Biçe rûpela yekem":e==="last"?"Biçe rûpela dawî":e==="next"?"Biçe rûpela din":"Biçe rûpela berê",labelRowsPerPage:"Rêz li ser rûpelê:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} of ${r!==-1?r:`zêdetir ji ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Stêrk`,emptyLabelText:"Vala"}},MuiAutocomplete:{defaultProps:{clearText:"Paqij bike",closeText:"Bigre",loadingText:"Tê barkirin…",noOptionsText:"Vebijêrk tune",openText:"Veke"}},MuiAlert:{defaultProps:{closeText:"Bigre"}},MuiPagination:{defaultProps:{"aria-label":"Navîgasyona rûpelan",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Biçe "}rûpel ${t}`:e==="first"?"Biçe rûpela yekem":e==="last"?"Biçe rûpela dawî":e==="next"?"Biçe rûpela din":"Biçe rûpela berê"}}}},LJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Толық жолды көрсету"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Бірінші бетке өту":e==="last"?"Соңғы бетке өту":e==="next"?"Келесі бетке өту":"Алдыңғы бетке өту",labelRowsPerPage:"Беттегі қатарлар:",labelDisplayedRows:({from:e,to:t,count:r})=>`${r!==-1?r:`+${t}`} қатардың ішінен ${e}–${t}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} жұлдыз`,emptyLabelText:"Рейтинг жоқ"}},MuiAutocomplete:{defaultProps:{clearText:"Тазарту",closeText:"Жабу",loadingText:"Жүктелуде…",noOptionsText:"Қол жетімді нұсқалар жоқ",openText:"Ашу"}},MuiAlert:{defaultProps:{closeText:"Жабу"}},MuiPagination:{defaultProps:{"aria-label":"Беттерді шарлау",getItemAriaLabel:(e,t,r)=>e==="page"?r?`${t} — бет`:`${t} — бетке өту`:e==="first"?"Бірінші бетке өту":e==="last"?"Соңғы бетке өту":e==="next"?"Келесі бетке өту":"Алдыңғы бетке өту"}}}},NJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Прикажи патека"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Оди на прва страница":e==="last"?"Оди на последна страница":e==="next"?"Оди на следна страница":"Оди на предходна страница",labelRowsPerPage:"Редови по страница:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} од ${r!==-1?r:`повеќе од ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10;return`${e} Ѕвезд${t===1?"а":"и"}`},emptyLabelText:"Празно"}},MuiAutocomplete:{defaultProps:{clearText:"Избриши",closeText:"Затвори",loadingText:"Се презема",noOptionsText:"Нема опција",openText:"Отвори"}},MuiAlert:{defaultProps:{closeText:"Затвори"}},MuiPagination:{defaultProps:{"aria-label":"Навигација низ страници",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Оди на "}страница ${t}`:e==="first"?"Оди на прва страница":e==="last"?"Оди на последна страница":e==="next"?"Оди на следна страница":"Оди на предходна страница"}}}},zJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"လမ်းကြောင်းပြပါ။"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"ပထမစာမျက်နှာသို့သွားပါ။":e==="last"?"နောက်ဆုံးစာမျက်နှာသို့သွားပါ။":e==="next"?"နောက်စာမျက်နှာသို့သွားပါ။":"ယခင်စာမျက်နှာသို့သွားပါ။",labelRowsPerPage:"စာမျက်နှာအလိုက် အတန်းများ:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} ၏ ${r!==-1?r:`ထက်ပိုပြီး ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10;return`${e} ကြယ်ပွင့်${t===1?"၎":""}`},emptyLabelText:"ဗလာ"}},MuiAutocomplete:{defaultProps:{clearText:"ရှင်းလင်းသော",closeText:"ပိတ်လိုက်",loadingText:"ဖွင့်နေသည်…",noOptionsText:"ရွေးချယ်ခွင့်မရှိပါ။",openText:"ဖွင့်သည်။"}},MuiAlert:{defaultProps:{closeText:"ပိတ်လိုက်"}},MuiPagination:{defaultProps:{"aria-label":"Pagination အညွှန်း",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"သွားပါ။ "}စာမျက်နှာ ${t}`:e==="first"?"ပထမစာမျက်နှာသို့သွားပါ။":e==="last"?"နောက်ဆုံးစာမျက်နှာသို့သွားပါ။":e==="next"?"နောက်စာမျက်နှာသို့သွားပါ။":"ယခင်စာမျက်နှာသို့သွားပါ။"}}}},jJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Tunjukkan laluan"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Pergi ke halaman pertama":e==="last"?"Pergi ke halaman terakhir":e==="next"?"Pergi ke halaman seterusnya":"Pergi ke halaman sebelumnya",labelRowsPerPage:"Baris setiap halaman:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} daripada ${r!==-1?r:`lebih daripada ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10;return`${e} Bintang${t===1?"s":""}`},emptyLabelText:"kosong"}},MuiAutocomplete:{defaultProps:{clearText:"Jelas",closeText:"tutup",loadingText:"Memuatkan…",noOptionsText:"Tiada pilihan",openText:"Buka"}},MuiAlert:{defaultProps:{closeText:"tutup"}},MuiPagination:{defaultProps:{"aria-label":"Navigasi penomboran",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Pergi ke "}muka surat ${t}`:e==="first"?"Pergi ke halaman pertama":e==="last"?"Pergi ke halaman terakhir":e==="next"?"Pergi ke halaman seterusnya":"Pergi ke halaman sebelumnya"}}}},UJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"बाटो देखाउनुहोस्"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"पहिलो पृष्ठमा जानुहोस्":e==="last"?"अन्तिम पृष्ठमा जानुहोस्":e==="next"?"अर्को पृष्ठमा जानुहोस्":"अघिल्लो पृष्ठमा जानुहोस्",labelRowsPerPage:"प्रति पृष्ठ पङ्क्तिहरू:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} को ${r!==-1?r:`धेरै ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10;return`${e} तारा${t===1?"स":""}`},emptyLabelText:"खाली"}},MuiAutocomplete:{defaultProps:{clearText:"खाली गर्नुहोस्",closeText:"बन्द गर्नुहोस्",loadingText:"लोड हुँदै...",noOptionsText:"कुनै विकल्प छैन",openText:"खोल्नुहोस्"}},MuiAlert:{defaultProps:{closeText:"बन्द गर्नुहोस्"}},MuiPagination:{defaultProps:{"aria-label":"पृष्ठांकन नेभिगेसन",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"जाऊ त्यहाँ "}पृष्ठ ${t}`:e==="first"?"पहिलो पृष्ठमा जानुहोस्":e==="last"?"अन्तिम पृष्ठमा जानुहोस्":e==="next"?"अर्को पृष्ठमा जानुहोस्":"अघिल्लो पृष्ठमा जानुहोस्"}}}},HJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Vis sti"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Gå til første side":e==="last"?"Gå til siste side":e==="next"?"Gå til neste side":"Gå til forrige side",labelRowsPerPage:"Rader per side:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} av ${r!==-1?r:`mer enn ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Stjerne${e!==1?"r":""}`,emptyLabelText:"Tom"}},MuiAutocomplete:{defaultProps:{clearText:"Tøm",closeText:"Lukk",loadingText:"Laster inn…",noOptionsText:"Ingen alternativer",openText:"Åpne"}},MuiAlert:{defaultProps:{closeText:"Lukk"}},MuiPagination:{defaultProps:{"aria-label":"Paginering navigasjon",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Gå til "}side ${t}`:e==="first"?"Gå til første side":e==="last"?"Gå til siste side":e==="next"?"Gå til neste side":"Gå til forrige side"}}}},WJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Vis sti"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Gå til første side":e==="last"?"Gå til siste side":e==="next"?"Gå til neste side":"Gå til førre side",labelRowsPerPage:"Rader per side:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} av ${r!==-1?r:`fleire enn ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} stjerne${e!==1?"r":""}`,emptyLabelText:"Tom"}},MuiAutocomplete:{defaultProps:{clearText:"Tøm",closeText:"Lukk",loadingText:"Lastar inn…",noOptionsText:"Ingen alternativ",openText:"Opna"}},MuiAlert:{defaultProps:{closeText:"Lukk"}},MuiPagination:{defaultProps:{"aria-label":"Navigasjon for paginering",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Gå til "}side ${t}`:e==="first"?"Gå til første side":e==="last"?"Gå til siste side":e==="next"?"Gå til neste side":"Gå til førre side"}}}},VJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pad tonen"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Ga naar eerste pagina":e==="last"?"Ga naar laatste pagina":e==="next"?"Ga naar volgende pagina":"Ga naar vorige pagina",labelRowsPerPage:"Regels per pagina:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} van ${r!==-1?r:`meer dan ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Ster${e!==1?"ren":""}`,emptyLabelText:"Leeg"}},MuiAutocomplete:{defaultProps:{clearText:"Wissen",closeText:"Sluiten",loadingText:"Laden…",noOptionsText:"Geen opties",openText:"Openen"}},MuiAlert:{defaultProps:{closeText:"Sluiten"}},MuiPagination:{defaultProps:{"aria-label":"Navigatie via paginering",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Ga naar "}pagina ${t}`:e==="first"?"Ga naar eerste pagina":e==="last"?"Ga naar laatste pagina":e==="next"?"Ga naar volgende pagina":"Ga naar vorige pagina"}}}},qJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pokaż ścieżkę"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Przejdź do pierwszej strony":e==="last"?"Przejdź do ostatniej strony":e==="next"?"Przejdź do następnej strony":"Przejdź do poprzedniej strony",labelRowsPerPage:"Wierszy na stronę:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} z ${r!==-1?r:`ponad ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{let t="gwiazdek";const r=e%10;return(e<10||e>20)&&r>1&&r<5?t="gwiazdki":e===1&&(t="gwiazdka"),`${e} ${t}`},emptyLabelText:"Brak gwiazdek"}},MuiAutocomplete:{defaultProps:{clearText:"Wyczyść",closeText:"Zamknij",loadingText:"Ładowanie…",noOptionsText:"Brak opcji",openText:"Otwórz"}},MuiAlert:{defaultProps:{closeText:"Zamknij"}},MuiPagination:{defaultProps:{"aria-label":"Nawigacja podziału na strony",getItemAriaLabel:(e,t,r)=>e==="page"?r?`${t}. strona`:`Przejdź do ${t}. strony`:e==="first"?"Przejdź do pierwszej strony":e==="last"?"Przejdź do ostatniej strony":e==="next"?"Przejdź do następnej strony":"Przejdź do poprzedniej strony"}}}},KJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mostrar caminho"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Ir para a primeira página":e==="last"?"Ir para a última página":e==="next"?"Ir para a próxima página":"Ir para a página anterior",labelRowsPerPage:"Linhas por página:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} de ${r!==-1?r:`mais de ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Estrela${e!==1?"s":""}`,emptyLabelText:"Vazio"}},MuiAutocomplete:{defaultProps:{clearText:"Limpar",closeText:"Fechar",loadingText:"Carregando…",noOptionsText:"Sem opções",openText:"Abrir"}},MuiAlert:{defaultProps:{closeText:"Fechar"}},MuiPagination:{defaultProps:{"aria-label":"Navegar pela paginação",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Ir para a "}página ${t}`:e==="first"?"Ir para a primeira página":e==="last"?"Ir para a última página":e==="next"?"Ir para a próxima página":"Ir para a página anterior"}}}},GJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mostrar caminho"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Primeira página":e==="last"?"Última página":e==="next"?"Próxima página":"Página anterior",labelRowsPerPage:"Linhas por página:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} de ${r!==-1?r:`mais de ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Estrela${e!==1?"s":""}`,emptyLabelText:"Vazio"}},MuiAutocomplete:{defaultProps:{clearText:"Limpar",closeText:"Fechar",loadingText:"A carregar…",noOptionsText:"Sem opções",openText:"Abrir"}},MuiAlert:{defaultProps:{closeText:"Fechar"}},MuiPagination:{defaultProps:{"aria-label":"Navegar por páginas",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Ir para a "}página ${t}`:e==="first"?"Primeira página":e==="last"?"Última página":e==="next"?"Próxima página":"Página anterior"}}}},YJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Arată calea"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Mergi la prima pagină":e==="last"?"Mergi la ultima pagină":e==="next"?"Mergi la pagina următoare":"Mergi la pagina precedentă",labelRowsPerPage:"Rânduri pe pagină:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} St${e!==1?"ele":"ea"}`,emptyLabelText:"Gol"}},MuiAutocomplete:{defaultProps:{clearText:"Șterge",closeText:"Închide",loadingText:"Se încarcă…",noOptionsText:"Nicio opțiune",openText:"Deschide"}},MuiAlert:{defaultProps:{closeText:"Închide"}},MuiPagination:{defaultProps:{"aria-label":"Navigare prin paginare",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Mergi la "}pagina ${t}`:e==="first"?"Mergi la prima pagină":e==="last"?"Mergi la ultima pagină":e==="next"?"Mergi la pagina următoare":"Mergi la pagina precedentă"}}}},XJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pokaži putanju"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Idi na prvu stranicu":e==="last"?"Idi na poslednju stranicu":e==="next"?"Idi na sledeću stranicu":"Idi na prethodnu stranicu",labelRowsPerPage:"Redova po stranici:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} od ${r!==-1?r:`više nego ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10,r=e%100;return[2,3,4].includes(t)&&![12,13,14].includes(r)?"Zvezde":"Zvezda"},emptyLabelText:"Prazno"}},MuiAutocomplete:{defaultProps:{clearText:"Briši",closeText:"Zatvori",loadingText:"Učitavanje…",noOptionsText:"Nema opcija",openText:"Otvori"}},MuiAlert:{defaultProps:{closeText:"Zatvori"}},MuiPagination:{defaultProps:{"aria-label":"Navigacija po stranicama",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Idi na "}stranicu ${t}`:e==="first"?"Idi na prvu stranicu":e==="last"?"Idi na zadnju stranicu":e==="next"?"Idi na sledeću stranicu":"Idi na prethodnu stranicu"}}}},JJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Показать полный путь"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Перейти на первую страницу":e==="last"?"Перейти на последнюю страницу":e==="next"?"Перейти на следующую страницу":"Перейти на предыдущую страницу",labelRowsPerPage:"Строк на странице:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} из ${r!==-1?r:`более чем ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{let t="Звёзд";const r=e%10;return r>1&&r<5?t="Звезды":r===1&&(t="Звезда"),`${e} ${t}`},emptyLabelText:"Рейтинг отсутствует"}},MuiAutocomplete:{defaultProps:{clearText:"Очистить",closeText:"Закрыть",loadingText:"Загрузка…",noOptionsText:"Нет доступных вариантов",openText:"Открыть"}},MuiAlert:{defaultProps:{closeText:"Закрыть"}},MuiPagination:{defaultProps:{"aria-label":"Навигация по страницам",getItemAriaLabel:(e,t,r)=>e==="page"?r?`${t} страница`:`Перейти на ${t} страницу`:e==="first"?"Перейти на первую страницу":e==="last"?"Перейти на последнюю страницу":e==="next"?"Перейти на следующую страницу":"Перейти на предыдущую страницу"}}}},ZJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"ගමන් මඟ පෙන්වන්න"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"පළමු පිටුවට යන්න":e==="last"?"අවසාන පිටුවට යන්න":e==="next"?"මීළඟ පිටුවට යන්න":"පෙර පිටුවට යන්න",labelRowsPerPage:"පිටුවක පේළි:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} දක්වා ${r!==-1?r:`${t} ට වැඩි ප්‍රමාණයකින්`}`}},MuiRating:{defaultProps:{getLabelText:e=>`තරු ${e}`,emptyLabelText:"හිස්"}},MuiAutocomplete:{defaultProps:{clearText:"මකන්න",closeText:"වසන්න",loadingText:"නැංවෙමින්…",noOptionsText:"විකල්ප නැත",openText:"විවෘත කරන්න"}},MuiAlert:{defaultProps:{closeText:"වසන්න"}},MuiPagination:{defaultProps:{"aria-label":"පිටු අතර සංචරණය",getItemAriaLabel:(e,t,r)=>e==="page"?`පිටුව ${t} ${r?"":"ට යන්න"}`:e==="first"?"පළමු පිටුවට යන්න":e==="last"?"අවසාන පිටුවට යන්න":e==="next"?"මීළඟ පිටුවට යන්න":"පෙර පිටුවට යන්න"}}}},QJ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Ukázať cestu "}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Ísť na prvú stránku":e==="last"?"Ísť na poslednú stránku":e==="next"?"Ísť na ďaľšiu stránku":"Ísť na predchádzajúcu stránku",labelRowsPerPage:"Riadkov na stránke:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} z ${r!==-1?r:`viac ako ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>e===1?`${e} hviezdička`:e>=2&&e<=4?`${e} hviezdičky`:`${e} hviezdičiek`,emptyLabelText:"Prázdne"}},MuiAutocomplete:{defaultProps:{clearText:"Vymazať",closeText:"Zavrieť",loadingText:"Načítanie…",noOptionsText:"Žiadne možnosti",openText:"Otvoriť"}},MuiAlert:{defaultProps:{closeText:"Zavrieť"}},MuiPagination:{defaultProps:{"aria-label":"Navigácia stránkovanim",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Ísť na "}stránku ${t}`:e==="first"?"Ísť na prvú stránku":e==="last"?"Ísť na poslednú stránku":e==="next"?"Ísť na ďaľšiu stránku":"Ísť na predchádzajúcu stránku"}}}},eZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Visa sökväg"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Gå till första sidan":e==="last"?"Gå till sista sidan":e==="next"?"Gå till nästa sida":"Gå till föregående sida",labelRowsPerPage:"Rader per sida:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} av ${r!==-1?r:`fler än ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"Stjärnor":"Stjärna"}`,emptyLabelText:"Tom"}},MuiAutocomplete:{defaultProps:{clearText:"Rensa",closeText:"Stäng",loadingText:"Laddar…",noOptionsText:"Inga alternativ",openText:"Öppna"}},MuiAlert:{defaultProps:{closeText:"Stäng"}},MuiPagination:{defaultProps:{"aria-label":"Sidnavigering",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Gå till "}sida ${t}`:e==="first"?"Gå till första sidan":e==="last"?"Gå till sista sidan":e==="next"?"Gå till nästa sida":"Gå till föregående sida"}}}},tZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"แสดงเส้นทาง"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"ไปที่หน้าแรก":e==="last"?"ไปที่หน้าสุดท้าย":e==="next"?"ไปที่หน้าถัดไป":"ไปที่หน้าก่อน",labelRowsPerPage:"จำนวนแถวต่อหน้า:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} จาก ${r!==-1?r:`มากกว่า ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ดาว`,emptyLabelText:"ว่างเปล่า"}},MuiAutocomplete:{defaultProps:{clearText:"เคลียร์",closeText:"ปิด",loadingText:"กำลังโหลด…",noOptionsText:"ไม่มีตัวเลือก",openText:"เปิด"}},MuiAlert:{defaultProps:{closeText:"ปิด"}},MuiPagination:{defaultProps:{"aria-label":"",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"ไปที่"}หน้า ${t}`:e==="first"?"ไปที่หน้าแรก":e==="last"?"ไปที่หน้าสุดท้าย":e==="next"?"ไปที่หน้าถัดไป":"ไปที่หน้าก่อน"}}}},rZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Yolu göster"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"İlk sayfaya git":e==="last"?"Son sayfaya git":e==="next"?"Sonraki sayfaya git":"Önceki sayfaya git",labelRowsPerPage:"Sayfa başına satır:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}-${t} / ${r!==-1?r:`${t}'den fazla`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Yıldız`,emptyLabelText:"Boş"}},MuiAutocomplete:{defaultProps:{clearText:"Temizle",closeText:"Kapat",loadingText:"Yükleniyor…",noOptionsText:"Seçenek yok",openText:"Aç"}},MuiAlert:{defaultProps:{closeText:"Kapat"}},MuiPagination:{defaultProps:{"aria-label":"Sayfa navigasyonu",getItemAriaLabel:(e,t,r)=>e==="page"?`${t}. ${r?"sayfa":"sayfaya git"}`:e==="first"?"İlk sayfaya git":e==="last"?"Son sayfaya git":e==="next"?"Sonraki sayfaya git":"Önceki sayfaya git"}}}},nZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Ipakita ang landas"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Pumunta sa unang pahina":e==="last"?"Pumunta sa huling pahina":e==="next"?"Pumunta sa susunod na pahina":"Pumunta sa nakaraang pahina",labelRowsPerPage:"Mga hilera bawat pahina:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} ng ${r!==-1?r:`higit sa ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Bituin${e!==1?"s":""}`,emptyLabelText:"Walang laman"}},MuiAutocomplete:{defaultProps:{clearText:"Maaliwalas",closeText:"Isara",loadingText:"Naglo-load…",noOptionsText:"Walang mga pagpipilian",openText:"Bukas"}},MuiAlert:{defaultProps:{closeText:"Isara"}},MuiPagination:{defaultProps:{"aria-label":"Sayfa navigasyonu",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Pumunta sa"}pahina ${t}`:e==="first"?"Pumunta sa unang pahina":e==="last"?"Pumunta sa huling pahina":e==="next"?"Pumunta sa susunod na pahina":"Pumunta sa nakaraang pahina"}}}},iZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Показати шлях сторінок"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Перейти на першу сторінку":e==="last"?"Перейти на останню сторінку":e==="next"?"Перейти на наступну сторінку":"Перейти на попередню сторінку",labelRowsPerPage:"Рядків на сторінці:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} з ${r!==-1?r:`понад ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{let t="Зірок";const r=e%10;return r>1&&r<5?t="Зірки":r===1&&(t="Зірка"),`${e} ${t}`},emptyLabelText:"Рейтинг відсутній"}},MuiAutocomplete:{defaultProps:{clearText:"Очистити",closeText:"Згорнути",loadingText:"Завантаження…",noOptionsText:"Немає варіантів",openText:"Розгорнути"}},MuiAlert:{defaultProps:{closeText:"Згорнути"}},MuiPagination:{defaultProps:{"aria-label":"Навігація сторінками",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Перейти на "}сторінку ${t}`:e==="first"?"Перейти на першу сторінку":e==="last"?"Перейти на останню сторінку":e==="next"?"Перейти на наступну сторінку":"Перейти на попередню сторінку"}}}},oZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"راستہ دکھائیں"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"پہلے صفحے پر جائیں":e==="last"?"آخری صفحے پر جائیں":e==="next"?"اگلے صفحے پر جائیں":"پچھلے صفحے پر جائیں",labelRowsPerPage:"ایک صفحے پر قطاریں:",labelDisplayedRows:({from:e,to:t,count:r})=>`${r!==-1?`${r} میں سے`:`${t} سے ذیادہ میں سے`} ${e} سے ${t} قطاریں`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ستار${e!==1?"ے":"ہ"}`,emptyLabelText:"خالی"}},MuiAutocomplete:{defaultProps:{clearText:"کلئیر",closeText:"بند کریں",loadingText:"لوڈ ہو رہا ہے۔۔۔",noOptionsText:"کوئی آپشن نہیں",openText:"کھولیں"}},MuiAlert:{defaultProps:{closeText:"بند کریں"}},MuiPagination:{defaultProps:{"aria-label":"صفحات کی ترتیب",getItemAriaLabel:(e,t,r)=>e==="page"?`صفحہ نمبر ${t}${r?"":" پر جائیں"}`:e==="first"?"پہلے صفحے پر جائیں":e==="last"?"آخری صفحے پر جائیں":e==="next"?"اگلے صفحے پر جائیں":"پچھلے صفحے پر جائیں"}}}},aZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mở ra"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Tới trang đầu tiên":e==="last"?"Tới trang cuối cùng":e==="next"?"Tới trang tiếp theo":"Về trang trước đó",labelRowsPerPage:"Số hàng mỗi trang:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} trong ${r!==-1?r:`nhiều hơn ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} sao`,emptyLabelText:"Không có dữ liệu"}},MuiAutocomplete:{defaultProps:{clearText:"Xóa",closeText:"Đóng",loadingText:"Đang tải…",noOptionsText:"Không có lựa chọn nào",openText:"Mở"}},MuiAlert:{defaultProps:{closeText:"Đóng"}},MuiPagination:{defaultProps:{"aria-label":"Thanh điều khiển trang",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Tới "}trang ${t}`:e==="first"?"Tới trang đầu tiên":e==="last"?"Tới trang cuối cùng":e==="next"?"Tới trang tiếp theo":"Về trang trước đó"}}}},sZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"展开"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"第一页":e==="last"?"最后一页":e==="next"?"下一页":"上一页",labelRowsPerPage:"每页行数:",labelDisplayedRows:({from:e,to:t,count:r})=>`第 ${e} 条到第 ${t} 条,${r!==-1?`共 ${r} 条`:`至少 ${t} 条`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} 颗星`,emptyLabelText:"无标签"}},MuiAutocomplete:{defaultProps:{clearText:"清空",closeText:"关闭",loadingText:"加载中……",noOptionsText:"没有可用选项",openText:"打开"}},MuiAlert:{defaultProps:{closeText:"关闭"}}}},lZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"展開"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"第一頁":e==="last"?"最後一頁":e==="next"?"下一頁":"上一頁",labelRowsPerPage:"每頁行數:",labelDisplayedRows:({from:e,to:t,count:r})=>`第 ${e} 項至第 ${t} 項,${r!==-1?`共 ${r} 項`:`超過 ${t} 項`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} 粒星`,emptyLabelText:"無標籤"}},MuiAutocomplete:{defaultProps:{clearText:"清除",closeText:"關閉",loadingText:"載入中……",noOptionsText:"沒有可用選項",openText:"開啟"}},MuiAlert:{defaultProps:{closeText:"關閉"}}}},cZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"展開"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"第一頁":e==="last"?"最後一頁":e==="next"?"下一頁":"上一頁",labelRowsPerPage:"每頁數量:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e} ~ ${t} / ${r!==-1?r:`${t} 以上`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} 顆星`,emptyLabelText:"無標籤"}},MuiAutocomplete:{defaultProps:{clearText:"清空",closeText:"關閉",loadingText:"載入中…",noOptionsText:"沒有可用選項",openText:"打開"}},MuiAlert:{defaultProps:{closeText:"關閉"}}}},Bue=Object.freeze(Object.defineProperty({__proto__:null,amET:aJ,arEG:sJ,arSA:lJ,arSD:cJ,azAZ:uJ,beBY:dJ,bgBG:hJ,bnBD:fJ,caES:pJ,csCZ:xJ,daDK:mJ,deDE:gJ,elGR:vJ,enUS:bJ,esES:yJ,etEE:wJ,faIR:SJ,fiFI:CJ,frFR:EJ,heIL:MJ,hiIN:PJ,hrHR:AJ,huHU:kJ,hyAM:_J,idID:RJ,isIS:TJ,itIT:$J,jaJP:BJ,khKH:IJ,kkKZ:LJ,koKR:FJ,kuCKB:OJ,kuLatn:DJ,mkMK:NJ,msMS:jJ,myMY:zJ,nbNO:HJ,neNP:UJ,nlNL:VJ,nnNO:WJ,plPL:qJ,ptBR:KJ,ptPT:GJ,roRO:YJ,ruRU:JJ,siLK:ZJ,skSK:QJ,srRS:XJ,svSE:eZ,thTH:tZ,tlTL:nZ,trTR:rZ,ukUA:iZ,urPK:oZ,viVN:aZ,zhCN:sZ,zhHK:lZ,zhTW:cZ},Symbol.toStringTag,{value:"Module"}));var y5={},w5=g1;y5.createRoot=w5.createRoot,y5.hydrateRoot=w5.hydrateRoot;const uZ={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]}};let fZ=class qv{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,r)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=t||uZ,this.options=r,this.debug=r.debug}log(){for(var t=arguments.length,r=new Array(t),n=0;n{this.observers[n]||(this.observers[n]=new Map);const i=this.observers[n].get(r)||0;this.observers[n].set(r,i+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i{let[s,l]=a;for(let c=0;c{let[s,l]=a;for(let c=0;c{e=n,t=i});return r.resolve=e,r.reject=t,r}function S5(e){return e==null?"":""+e}function dZ(e,t,r){e.forEach(n=>{t[n]&&(r[n]=t[n])})}const hZ=/###/g;function wf(e,t,r){function n(s){return s&&s.indexOf("###")>-1?s.replace(hZ,"."):s}function i(){return!e||typeof e=="string"}const o=typeof t!="string"?t:t.split(".");let a=0;for(;a":">",'"':""","'":"'","/":"/"};function gZ(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>mZ[t]):e}class vZ{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}}const bZ=[" ",",","?","!",";"],yZ=new vZ(20);function wZ(e,t,r){t=t||"",r=r||"";const n=bZ.filter(a=>t.indexOf(a)<0&&r.indexOf(a)<0);if(n.length===0)return!0;const i=yZ.getRegExp(`(${n.map(a=>a==="?"?"\\?":a).join("|")})`);let o=!i.test(e);if(!o){const a=e.indexOf(r);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o}function Kv(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const n=t.split(r);let i=e;for(let o=0;o-1&&l0?e.replace("_","-"):e}class E5 extends _1{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,a=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;t.indexOf(".")>-1?s=t.split("."):(s=[t,r],n&&(Array.isArray(n)?s.push(...n):typeof n=="string"&&o?s.push(...n.split(o)):s.push(n)));const l=Wh(this.data,s);return!l&&!r&&!n&&t.indexOf(".")>-1&&(t=s[0],r=s[1],n=s.slice(2).join(".")),l||!a||typeof n!="string"?l:Kv(this.data&&this.data[t]&&this.data[t][r],n,o)}addResource(t,r,n,i){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const a=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let s=[t,r];n&&(s=s.concat(a?n.split(a):n)),t.indexOf(".")>-1&&(s=t.split("."),i=r,r=s[1]),this.addNamespaces(r),C5(this.data,s,i),o.silent||this.emit("added",t,r,n,i)}addResources(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in n)(typeof n[o]=="string"||Object.prototype.toString.apply(n[o])==="[object Array]")&&this.addResource(t,r,o,n[o],{silent:!0});i.silent||this.emit("added",t,r,n)}addResourceBundle(t,r,n,i,o){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},s=[t,r];t.indexOf(".")>-1&&(s=t.split("."),i=n,n=r,r=s[1]),this.addNamespaces(r);let l=Wh(this.data,s)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),i?bM(l,n,o):l={...l,...n},C5(this.data,s,l),a.silent||this.emit("added",t,r,n)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,r)}:this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(i=>r[i]&&Object.keys(r[i]).length>0)}toJSON(){return this.data}}var yM={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,i){return e.forEach(o=>{this.processors[o]&&(t=this.processors[o].process(t,r,n,i))}),t}};const M5={};class qh extends _1{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),dZ(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=So.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const n=this.resolve(t,r);return n&&n.res!==void 0}extractFromKey(t,r){let n=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");const i=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let o=r.ns||this.options.defaultNS||[];const a=n&&t.indexOf(n)>-1,s=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!wZ(t,n,i);if(a&&!s){const l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:o};const c=t.split(n);(n!==i||n===i&&this.options.ns.indexOf(c[0])>-1)&&(o=c.shift()),t=c.join(i)}return typeof o=="string"&&(o=[o]),{key:t,namespaces:o}}translate(t,r,n){if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof r=="object"&&(r={...r}),r||(r={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const i=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,o=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:a,namespaces:s}=this.extractFromKey(t[t.length-1],r),l=s[s.length-1],c=r.lng||this.language,u=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&c.toLowerCase()==="cimode"){if(u){const B=r.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${B}${a}`,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(r)}:`${l}${B}${a}`}return i?{res:a,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(r)}:a}const f=this.resolve(t,r);let d=f&&f.res;const b=f&&f.usedKey||a,p=f&&f.exactUsedKey||a,v=Object.prototype.toString.apply(d),w=["[object Number]","[object Function]","[object RegExp]"],C=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject;if(y&&d&&(typeof d!="string"&&typeof d!="boolean"&&typeof d!="number")&&w.indexOf(v)<0&&!(typeof C=="string"&&v==="[object Array]")){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const B=this.options.returnedObjectHandler?this.options.returnedObjectHandler(b,d,{...r,ns:s}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(f.res=B,f.usedParams=this.getUsedParamsDetails(r),f):B}if(o){const B=v==="[object Array]",D=B?[]:{},F=B?p:b;for(const N in d)if(Object.prototype.hasOwnProperty.call(d,N)){const _=`${F}${o}${N}`;D[N]=this.translate(_,{...r,joinArrays:!1,ns:s}),D[N]===_&&(D[N]=d[N])}d=D}}else if(y&&typeof C=="string"&&v==="[object Array]")d=d.join(C),d&&(d=this.extendTranslation(d,t,r,n));else{let B=!1,D=!1;const F=r.count!==void 0&&typeof r.count!="string",N=qh.hasDefaultValue(r),_=F?this.pluralResolver.getSuffix(c,r.count,r):"",L=r.ordinal&&F?this.pluralResolver.getSuffix(c,r.count,{ordinal:!1}):"",I=F&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),R=I&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${_}`]||r[`defaultValue${L}`]||r.defaultValue;!this.isValidLookup(d)&&N&&(B=!0,d=R),this.isValidLookup(d)||(D=!0,d=a);const g=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&D?void 0:d,h=N&&R!==d&&this.options.updateMissing;if(D||B||h){if(this.logger.log(h?"updateKey":"missingKey",c,l,a,h?R:d),o){const k=this.resolve(a,{...r,keySeparator:!1});k&&k.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 x=[];const S=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&S&&S[0])for(let k=0;k{const E=N&&P!==d?P:g;this.options.missingKeyHandler?this.options.missingKeyHandler(k,l,$,E,h,r):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(k,l,$,E,h,r),this.emit("missingKey",k,l,$,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&F?x.forEach(k=>{const $=this.pluralResolver.getSuffixes(k,r);I&&r[`defaultValue${this.options.pluralSeparator}zero`]&&$.indexOf(`${this.options.pluralSeparator}zero`)<0&&$.push(`${this.options.pluralSeparator}zero`),$.forEach(P=>{T([k],a+P,r[`defaultValue${P}`]||R)})}):T(x,a,R))}d=this.extendTranslation(d,t,r,f,n),D&&d===a&&this.options.appendNamespaceToMissingKey&&(d=`${l}:${a}`),(D||B)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?d=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,B?d:void 0):d=this.options.parseMissingKeyHandler(d))}return i?(f.res=d,f.usedParams=this.getUsedParamsDetails(r),f):d}extendTranslation(t,r,n,i,o){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const c=typeof t=="string"&&(n&&n.interpolation&&n.interpolation.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let u;if(c){const d=t.match(this.interpolator.nestingRegexp);u=d&&d.length}let f=n.replace&&typeof n.replace!="string"?n.replace:n;if(this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),t=this.interpolator.interpolate(t,f,n.lng||this.language,n),c){const d=t.match(this.interpolator.nestingRegexp),b=d&&d.length;u1&&arguments[1]!==void 0?arguments[1]:{},n,i,o,a,s;return typeof t=="string"&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(n))return;const c=this.extractFromKey(l,r),u=c.key;i=u;let f=c.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const d=r.count!==void 0&&typeof r.count!="string",b=d&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),p=r.context!==void 0&&(typeof r.context=="string"||typeof r.context=="number")&&r.context!=="",v=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);f.forEach(w=>{this.isValidLookup(n)||(s=w,!M5[`${v[0]}-${w}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(M5[`${v[0]}-${w}`]=!0,this.logger.warn(`key "${i}" for languages "${v.join(", ")}" won't get resolved as namespace "${s}" 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!!!")),v.forEach(C=>{if(this.isValidLookup(n))return;a=C;const y=[u];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(y,u,C,w,r);else{let B;d&&(B=this.pluralResolver.getSuffix(C,r.count,r));const D=`${this.options.pluralSeparator}zero`,F=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(y.push(u+B),r.ordinal&&B.indexOf(F)===0&&y.push(u+B.replace(F,this.options.pluralSeparator)),b&&y.push(u+D)),p){const N=`${u}${this.options.contextSeparator}${r.context}`;y.push(N),d&&(y.push(N+B),r.ordinal&&B.indexOf(F)===0&&y.push(N+B.replace(F,this.options.pluralSeparator)),b&&y.push(N+D))}}let M;for(;M=y.pop();)this.isValidLookup(n)||(o=M,n=this.getResource(C,w,M,r))}))})}),{res:n,usedKey:i,exactUsedKey:o,usedLng:a,usedNS:s}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,r,n,i):this.resourceStore.getResource(t,r,n,i)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&typeof t.replace!="string";let i=n?t.replace:t;if(n&&typeof t.count<"u"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!n){i={...i};for(const o of r)delete i[o]}return i}static hasDefaultValue(t){const r="defaultValue";for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&r===n.substring(0,r.length)&&t[n]!==void 0)return!0;return!1}}function Nm(e){return e.charAt(0).toUpperCase()+e.slice(1)}class P5{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=So.create("languageUtils")}getScriptPartFromCode(t){if(t=Vh(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=Vh(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const r=["hans","hant","latn","cyrl","cans","mong","arab"];let n=t.split("-");return this.options.lowerCaseLng?n=n.map(i=>i.toLowerCase()):n.length===2?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),r.indexOf(n[1].toLowerCase())>-1&&(n[1]=Nm(n[1].toLowerCase()))):n.length===3&&(n[0]=n[0].toLowerCase(),n[1].length===2&&(n[1]=n[1].toUpperCase()),n[0]!=="sgn"&&n[2].length===2&&(n[2]=n[2].toUpperCase()),r.indexOf(n[1].toLowerCase())>-1&&(n[1]=Nm(n[1].toLowerCase())),r.indexOf(n[2].toLowerCase())>-1&&(n[2]=Nm(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(n=>{if(r)return;const i=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(i))&&(r=i)}),!r&&this.options.supportedLngs&&t.forEach(n=>{if(r)return;const i=this.getLanguagePartFromCode(n);if(this.isSupportedCode(i))return r=i;r=this.options.supportedLngs.find(o=>{if(o===i)return o;if(!(o.indexOf("-")<0&&i.indexOf("-")<0)&&(o.indexOf("-")>0&&i.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===i||o.indexOf(i)===0&&i.length>1))return o})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),typeof t=="string"&&(t=[t]),Object.prototype.toString.apply(t)==="[object Array]")return t;if(!r)return t.default||[];let n=t[r];return n||(n=t[this.getScriptPartFromCode(r)]),n||(n=t[this.formatLanguageCode(r)]),n||(n=t[this.getLanguagePartFromCode(r)]),n||(n=t.default),n||[]}toResolveHierarchy(t,r){const n=this.getFallbackCodes(r||this.options.fallbackLng||[],t),i=[],o=a=>{a&&(this.isSupportedCode(a)?i.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(t))):typeof t=="string"&&o(this.formatLanguageCode(t)),n.forEach(a=>{i.indexOf(a)<0&&o(this.formatLanguageCode(a))}),i}}let SZ=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],CZ={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const EZ=["v1","v2","v3"],MZ=["v4"],A5={zero:0,one:1,two:2,few:3,many:4,other:5};function PZ(){const e={};return SZ.forEach(t=>{t.lngs.forEach(r=>{e[r]={numbers:t.nr,plurals:CZ[t.fc]}})}),e}class AZ{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=r,this.logger=So.create("pluralResolver"),(!this.options.compatibilityJSON||MZ.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=PZ()}addRule(t,r){this.rules[t]=r}getRule(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(Vh(t==="dev"?"en":t),{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=this.getRule(t,r);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,n).map(i=>`${r}${i}`)}getSuffixes(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=this.getRule(t,r);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((i,o)=>A5[i]-A5[o]).map(i=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i}`):n.numbers.map(i=>this.getSuffix(t,i,r)):[]}getSuffix(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(t,n);return i?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i.select(r)}`:this.getSuffixRetroCompatible(i,r):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,r){const n=t.noAbs?t.plurals(r):t.plurals(Math.abs(r));let i=t.numbers[n];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(i===2?i="plural":i===1&&(i=""));const o=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return this.options.compatibilityJSON==="v1"?i===1?"":typeof i=="number"?`_plural_${i.toString()}`:o():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!EZ.includes(this.options.compatibilityJSON)}}function k5(e,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=xZ(e,t,r);return!o&&i&&typeof r=="string"&&(o=Kv(e,r,n),o===void 0&&(o=Kv(t,r,n))),o}class kZ{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=So.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(r=>r),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const r=t.interpolation;this.escape=r.escape!==void 0?r.escape:gZ,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?Rl(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?Rl(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?Rl(r.nestingPrefix):r.nestingPrefixEscaped||Rl("$t("),this.nestingSuffix=r.nestingSuffix?Rl(r.nestingSuffix):r.nestingSuffixEscaped||Rl(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,n)=>r&&r.source===n?(r.lastIndex=0,r):new RegExp(n,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,r,n,i){let o,a,s;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(p){return p.replace(/\$/g,"$$$$")}const u=p=>{if(p.indexOf(this.formatSeparator)<0){const y=k5(r,l,p,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(y,void 0,n,{...i,...r,interpolationkey:p}):y}const v=p.split(this.formatSeparator),w=v.shift().trim(),C=v.join(this.formatSeparator).trim();return this.format(k5(r,l,w,this.options.keySeparator,this.options.ignoreJSONStructure),C,n,{...i,...r,interpolationkey:w})};this.resetRegExp();const f=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,d=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:p=>c(p)},{regex:this.regexp,safeValue:p=>this.escapeValue?c(this.escape(p)):c(p)}].forEach(p=>{for(s=0;o=p.regex.exec(t);){const v=o[1].trim();if(a=u(v),a===void 0)if(typeof f=="function"){const C=f(t,o,i);a=typeof C=="string"?C:""}else if(i&&Object.prototype.hasOwnProperty.call(i,v))a="";else if(d){a=o[0];continue}else this.logger.warn(`missed to pass in variable ${v} for interpolating ${t}`),a="";else typeof a!="string"&&!this.useRawValueToEscape&&(a=S5(a));const w=p.safeValue(a);if(t=t.replace(o[0],w),d?(p.regex.lastIndex+=a.length,p.regex.lastIndex-=o[0].length):p.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),t}nest(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,o,a;function s(l,c){const u=this.nestingOptionsSeparator;if(l.indexOf(u)<0)return l;const f=l.split(new RegExp(`${u}[ ]*{`));let d=`{${f[1]}`;l=f[0],d=this.interpolate(d,a);const b=d.match(/'/g),p=d.match(/"/g);(b&&b.length%2===0&&!p||p.length%2!==0)&&(d=d.replace(/'/g,'"'));try{a=JSON.parse(d),c&&(a={...c,...a})}catch(v){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,v),`${l}${u}${d}`}return delete a.defaultValue,l}for(;i=this.nestingRegexp.exec(t);){let l=[];a={...n},a=a.replace&&typeof a.replace!="string"?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const u=i[1].split(this.formatSeparator).map(f=>f.trim());i[1]=u.shift(),l=u,c=!0}if(o=r(s.call(this,i[1].trim(),a),a),o&&i[0]===t&&typeof o!="string")return o;typeof o!="string"&&(o=S5(o)),o||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),o=""),c&&(o=l.reduce((u,f)=>this.format(u,f,n.lng,{...n,interpolationkey:i[1].trim()}),o.trim())),t=t.replace(i[0],o),this.regexp.lastIndex=0}return t}}function _Z(e){let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const i=n[1].substring(0,n[1].length-1);t==="currency"&&i.indexOf(":")<0?r.currency||(r.currency=i.trim()):t==="relativetime"&&i.indexOf(":")<0?r.range||(r.range=i.trim()):i.split(";").forEach(a=>{if(!a)return;const[s,...l]=a.split(":"),c=l.join(":").trim().replace(/^'+|'+$/g,"");r[s.trim()]||(r[s.trim()]=c),c==="false"&&(r[s.trim()]=!1),c==="true"&&(r[s.trim()]=!0),isNaN(c)||(r[s.trim()]=parseInt(c,10))})}return{formatName:t,formatOptions:r}}function Tl(e){const t={};return function(n,i,o){const a=i+JSON.stringify(o);let s=t[a];return s||(s=e(Vh(i),o),t[a]=s),s(n)}}class RZ{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=So.create("formatter"),this.options=t,this.formats={number:Tl((r,n)=>{const i=new Intl.NumberFormat(r,{...n});return o=>i.format(o)}),currency:Tl((r,n)=>{const i=new Intl.NumberFormat(r,{...n,style:"currency"});return o=>i.format(o)}),datetime:Tl((r,n)=>{const i=new Intl.DateTimeFormat(r,{...n});return o=>i.format(o)}),relativetime:Tl((r,n)=>{const i=new Intl.RelativeTimeFormat(r,{...n});return o=>i.format(o,n.range||"day")}),list:Tl((r,n)=>{const i=new Intl.ListFormat(r,{...n});return o=>i.format(o)})},this.init(t)}init(t){const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=Tl(r)}format(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return r.split(this.formatSeparator).reduce((s,l)=>{const{formatName:c,formatOptions:u}=_Z(l);if(this.formats[c]){let f=s;try{const d=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},b=d.locale||d.lng||i.locale||i.lng||n;f=this.formats[c](s,b,{...u,...i,...d})}catch(d){this.logger.warn(d)}return f}else this.logger.warn(`there was no format function for ${c}`);return s},t)}}function TZ(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class $Z extends _1{constructor(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=r,this.services=n,this.languageUtils=n.languageUtils,this.options=i,this.logger=So.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,i.backend,i)}queueLoad(t,r,n,i){const o={},a={},s={},l={};return t.forEach(c=>{let u=!0;r.forEach(f=>{const d=`${c}|${f}`;!n.reload&&this.store.hasResourceBundle(c,f)?this.state[d]=2:this.state[d]<0||(this.state[d]===1?a[d]===void 0&&(a[d]=!0):(this.state[d]=1,u=!1,a[d]===void 0&&(a[d]=!0),o[d]===void 0&&(o[d]=!0),l[f]===void 0&&(l[f]=!0)))}),u||(s[c]=!0)}),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}loaded(t,r,n){const i=t.split("|"),o=i[0],a=i[1];r&&this.emit("failedLoading",o,a,r),n&&this.store.addResourceBundle(o,a,n,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2;const s={};this.queue.forEach(l=>{pZ(l.loaded,[o],a),TZ(l,t),r&&l.errors.push(r),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(c=>{s[c]||(s[c]={});const u=l.loaded[c];u.length&&u.forEach(f=>{s[c][f]===void 0&&(s[c][f]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(l=>!l.done)}read(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!t.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:n,tried:i,wait:o,callback:a});return}this.readingCalls++;const s=(c,u)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(c&&u&&i{this.read.call(this,t,r,n,i+1,o*2,a)},o);return}a(c,u)},l=this.backend[n].bind(this.backend);if(l.length===2){try{const c=l(t,r);c&&typeof c.then=="function"?c.then(u=>s(null,u)).catch(s):s(null,c)}catch(c){s(c)}return}return l(t,r,s)}prepareLoading(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=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."),i&&i();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof r=="string"&&(r=[r]);const o=this.queueLoad(t,r,n,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(a=>{this.loadOne(a)})}load(t,r,n){this.prepareLoading(t,r,{},n)}reload(t,r,n){this.prepareLoading(t,r,{reload:!0},n)}loadOne(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const n=t.split("|"),i=n[0],o=n[1];this.read(i,o,"read",void 0,void 0,(a,s)=>{a&&this.logger.warn(`${r}loading namespace ${o} for language ${i} failed`,a),!a&&s&&this.logger.log(`${r}loaded namespace ${o} for language ${i}`,s),this.loaded(t,a,s)})}saveMissing(t,r,n,i,o){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${n}" as the namespace "${r}" 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(!(n==null||n==="")){if(this.backend&&this.backend.create){const l={...a,isUpdate:o},c=this.backend.create.bind(this.backend);if(c.length<6)try{let u;c.length===5?u=c(t,r,n,i,l):u=c(t,r,n,i),u&&typeof u.then=="function"?u.then(f=>s(null,f)).catch(s):s(null,u)}catch(u){s(u)}else c(t,r,n,i,s,l)}!t||!t[0]||this.store.addResource(t[0],r,n,i)}}}function _5(){return{debug:!1,initImmediate:!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:function(t){let r={};if(typeof t[1]=="object"&&(r=t[1]),typeof t[1]=="string"&&(r.defaultValue=t[1]),typeof t[2]=="string"&&(r.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const n=t[3]||t[2];Object.keys(n).forEach(i=>{r[i]=n[i]})}return r},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function R5(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function wd(){}function BZ(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(r=>{typeof e[r]=="function"&&(e[r]=e[r].bind(e))})}class n0 extends _1{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=R5(t),this.services={},this.logger=So,this.modules={external:[]},BZ(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(){var t=this;let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof r=="function"&&(n=r,r={}),!r.defaultNS&&r.defaultNS!==!1&&r.ns&&(typeof r.ns=="string"?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const i=_5();this.options={...i,...this.options,...R5(r)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),r.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=r.keySeparator),r.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=r.nsSeparator);function o(u){return u?typeof u=="function"?new u:u:null}if(!this.options.isClone){this.modules.logger?So.init(o(this.modules.logger),this.options):So.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=RZ);const f=new P5(this.options);this.store=new E5(this.options.resources,this.options);const d=this.services;d.logger=So,d.resourceStore=this.store,d.languageUtils=f,d.pluralResolver=new AZ(f,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(d.formatter=o(u),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new kZ(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new $Z(o(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",function(b){for(var p=arguments.length,v=new Array(p>1?p-1:0),w=1;w1?p-1:0),w=1;w{b.init&&b.init(this)})}if(this.format=this.options.interpolation.format,n||(n=wd),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[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(u=>{this[u]=function(){return t.store[u](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=function(){return t.store[u](...arguments),t}});const l=$u(),c=()=>{const u=(f,d)=>{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),l.resolve(d),n(f,d)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),l}loadResources(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:wd;const i=typeof t=="string"?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const o=[],a=s=>{if(!s||s==="cimode")return;this.services.languageUtils.toResolveHierarchy(s).forEach(c=>{c!=="cimode"&&o.indexOf(c)<0&&o.push(c)})};i?a(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>a(l)),this.options.preload&&this.options.preload.forEach(s=>a(s)),this.services.backendConnector.load(o,this.options.ns,s=>{!s&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(s)})}else n(null)}reloadResources(t,r,n){const i=$u();return t||(t=this.languages),r||(r=this.options.ns),n||(n=wd),this.services.backendConnector.reload(t,r,o=>{i.resolve(),n(o)}),i}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&yM.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let r=0;r-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}changeLanguage(t,r){var n=this;this.isLanguageChangingTo=t;const i=$u();this.emit("languageChanging",t);const o=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},a=(l,c)=>{c?(o(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,i.resolve(function(){return n.t(...arguments)}),r&&r(l,function(){return n.t(...arguments)})},s=l=>{!t&&!l&&this.services.languageDetector&&(l=[]);const c=typeof l=="string"?l:this.services.languageUtils.getBestMatchFromCodes(l);c&&(this.language||o(c),this.translator.language||this.translator.changeLanguage(c),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(c)),this.loadResources(c,u=>{a(u,c)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(t),i}getFixedT(t,r,n){var i=this;const o=function(a,s){let l;if(typeof s!="object"){for(var c=arguments.length,u=new Array(c>2?c-2:0),f=2;f`${l.keyPrefix}${d}${p}`):b=l.keyPrefix?`${l.keyPrefix}${d}${a}`:a,i.t(b,l)};return typeof t=="string"?o.lng=t:o.lngs=t,o.ns=r,o.keyPrefix=n,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let r=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 n=r.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const a=(s,l)=>{const c=this.services.backendConnector.state[`${s}|${l}`];return c===-1||c===2};if(r.precheck){const s=r.precheck(this,a);if(s!==void 0)return s}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,t)&&(!i||a(o,t)))}loadNamespaces(t,r){const n=$u();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{n.resolve(),r&&r(i)}),n):(r&&r(),Promise.resolve())}loadLanguages(t,r){const n=$u();typeof t=="string"&&(t=[t]);const i=this.options.preload||[],o=t.filter(a=>i.indexOf(a)<0);return o.length?(this.options.preload=i.concat(o),this.loadResources(a=>{n.resolve(),r&&r(a)}),n):(r&&r(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const r=["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"],n=this.services&&this.services.languageUtils||new P5(_5());return r.indexOf(n.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new n0(t,r)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:wd;const n=t.forkResourceStore;n&&delete t.forkResourceStore;const i={...this.options,...t,isClone:!0},o=new n0(i);return(t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(s=>{o[s]=this[s]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},n&&(o.store=new E5(this.store.data,i),o.services.resourceStore=o.store),o.translator=new qh(o.services,i),o.translator.on("*",function(s){for(var l=arguments.length,c=new Array(l>1?l-1:0),u=1;u()=>{if(e.isInitialized)t();else{const r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}};function $5(e,t,r){e.loadNamespaces(t,wM(e,r))}function B5(e,t,r,n){typeof r=="string"&&(r=[r]),r.forEach(i=>{e.options.ns.indexOf(i)<0&&e.options.ns.push(i)}),e.loadLanguages(t,wM(e,n))}function FZ(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const n=t.languages[0],i=t.options?t.options.fallbackLng:!1,o=t.languages[t.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const a=(s,l)=>{const c=t.services.backendConnector.state[`${s}|${l}`];return c===-1||c===2};return r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(n,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||a(n,e)&&(!i||a(o,e)))}function OZ(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!t.languages||!t.languages.length?(Gv("i18n.languages were undefined or empty",t.languages),!0):t.options.ignoreJSONStructure!==void 0?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(i,o)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&i.services.backendConnector.backend&&i.isLanguageChangingTo&&!o(i.isLanguageChangingTo,e))return!1}}):FZ(e,t,r)}const DZ=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,LZ={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},NZ=e=>LZ[e],zZ=e=>e.replace(DZ,NZ);let Yv={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:zZ};function jZ(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Yv={...Yv,...e}}function UZ(){return Yv}let SM;function HZ(e){SM=e}function WZ(){return SM}const Fue={type:"3rdParty",init(e){jZ(e.options.react),HZ(e)}},VZ=U.createContext();class qZ{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(r=>{this.usedNamespaces[r]||(this.usedNamespaces[r]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const KZ=(e,t)=>{const r=U.useRef();return U.useEffect(()=>{r.current=t?r.current:e},[e,t]),r.current};function CM(e,t,r,n){return e.getFixedT(t,r,n)}function GZ(e,t,r,n){return U.useCallback(CM(e,t,r,n),[e,t,r,n])}function Oue(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:r}=t,{i18n:n,defaultNS:i}=U.useContext(VZ)||{},o=r||n||WZ();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new qZ),!o){Gv("You will need to pass in an i18next instance by using initReactI18next");const B=(F,N)=>typeof N=="string"?N:N&&typeof N=="object"&&typeof N.defaultValue=="string"?N.defaultValue:Array.isArray(F)?F[F.length-1]:F,D=[B,{},!1];return D.t=B,D.i18n={},D.ready=!1,D}o.options.react&&o.options.react.wait!==void 0&&Gv("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const a={...UZ(),...o.options.react,...t},{useSuspense:s,keyPrefix:l}=a;let c=e||i||o.options&&o.options.defaultNS;c=typeof c=="string"?[c]:c||["translation"],o.reportNamespaces.addUsedNamespaces&&o.reportNamespaces.addUsedNamespaces(c);const u=(o.isInitialized||o.initializedStoreOnce)&&c.every(B=>OZ(B,o,a)),f=GZ(o,t.lng||null,a.nsMode==="fallback"?c:c[0],l),d=()=>f,b=()=>CM(o,t.lng||null,a.nsMode==="fallback"?c:c[0],l),[p,v]=U.useState(d);let w=c.join();t.lng&&(w=`${t.lng}${w}`);const C=KZ(w),y=U.useRef(!0);U.useEffect(()=>{const{bindI18n:B,bindI18nStore:D}=a;y.current=!0,!u&&!s&&(t.lng?B5(o,t.lng,c,()=>{y.current&&v(b)}):$5(o,c,()=>{y.current&&v(b)})),u&&C&&C!==w&&y.current&&v(b);function F(){y.current&&v(b)}return B&&o&&o.on(B,F),D&&o&&o.store.on(D,F),()=>{y.current=!1,B&&o&&B.split(" ").forEach(N=>o.off(N,F)),D&&o&&D.split(" ").forEach(N=>o.store.off(N,F))}},[o,w]),U.useEffect(()=>{y.current&&u&&v(d)},[o,l,u]);const M=[p,o,u];if(M.t=p,M.i18n=o,M.ready=u,u||!u&&!s)return M;throw new Promise(B=>{t.lng?B5(o,t.lng,c,()=>B()):$5(o,c,()=>B())})}function YZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I5(e,t){for(var r=0;r0){var s=i.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");a+="; Max-Age=".concat(Math.floor(s))}if(i.domain){if(!F5.test(i.domain))throw new TypeError("option domain is invalid");a+="; Domain=".concat(i.domain)}if(i.path){if(!F5.test(i.path))throw new TypeError("option path is invalid");a+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");a+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(a+="; HttpOnly"),i.secure&&(a+="; Secure"),i.sameSite){var l=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(l){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},O5={create:function(t,r,n,i){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+n*60*1e3)),i&&(o.domain=i),document.cookie=eQ(t,encodeURIComponent(r),o)},read:function(t){for(var r="".concat(t,"="),n=document.cookie.split(";"),i=0;i-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=n.substring(1),o=i.split("&"),a=0;a0){var l=o[a].substring(0,s);l===t.lookupQuerystring&&(r=o[a].substring(s+1))}}}return r}},Bu=null,D5=function(){if(Bu!==null)return Bu;try{Bu=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{Bu=!1}return Bu},nQ={name:"localStorage",lookup:function(t){var r;if(t.lookupLocalStorage&&D5()){var n=window.localStorage.getItem(t.lookupLocalStorage);n&&(r=n)}return r},cacheUserLanguage:function(t,r){r.lookupLocalStorage&&D5()&&window.localStorage.setItem(r.lookupLocalStorage,t)}},Iu=null,L5=function(){if(Iu!==null)return Iu;try{Iu=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{Iu=!1}return Iu},iQ={name:"sessionStorage",lookup:function(t){var r;if(t.lookupSessionStorage&&L5()){var n=window.sessionStorage.getItem(t.lookupSessionStorage);n&&(r=n)}return r},cacheUserLanguage:function(t,r){r.lookupSessionStorage&&L5()&&window.sessionStorage.setItem(r.lookupSessionStorage,t)}},oQ={name:"navigator",lookup:function(t){var r=[];if(typeof navigator<"u"){if(navigator.languages)for(var n=0;n0?r:void 0}},aQ={name:"htmlTag",lookup:function(t){var r,n=t.htmlTag||(typeof document<"u"?document.documentElement:null);return n&&typeof n.getAttribute=="function"&&(r=n.getAttribute("lang")),r}},sQ={name:"path",lookup:function(t){var r;if(typeof window<"u"){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof n[t.lookupFromPathIndex]!="string")return;r=n[t.lookupFromPathIndex].replace("/","")}else r=n[0].replace("/","")}return r}},lQ={name:"subdomain",lookup:function(t){var r=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,n=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(n)return n[r]}};function cQ(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(t){return t}}}var uQ=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};YZ(this,e),this.type="languageDetector",this.detectors={},this.init(t,r)}return XZ(e,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=r||{languageUtils:{}},this.options=QZ(n,this.options||{},cQ()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(o){return o.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(tQ),this.addDetector(rQ),this.addDetector(nQ),this.addDetector(iQ),this.addDetector(oQ),this.addDetector(aQ),this.addDetector(sQ),this.addDetector(lQ)}},{key:"addDetector",value:function(r){return this.detectors[r.name]=r,this}},{key:"detect",value:function(r){var n=this;r||(r=this.options.order);var i=[];return r.forEach(function(o){if(n.detectors[o]){var a=n.detectors[o].lookup(n.options);a&&typeof a=="string"&&(a=[a]),a&&(i=i.concat(a))}}),i=i.map(function(o){return n.options.convertDetectedLanguage(o)}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(r,n){var i=this;n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(r)>-1||n.forEach(function(o){i.detectors[o]&&i.detectors[o].cacheUserLanguage(r,i.options)}))}}]),e}();uQ.type="languageDetector";/** - * @license - * Copyright 2009 The Closure Library Authors - * Copyright 2020 Daniel Wirtz / The long.js Authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */var Ci=null;try{Ci=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function Xt(e,t,r){this.low=e|0,this.high=t|0,this.unsigned=!!r}Xt.prototype.__isLong__;Object.defineProperty(Xt.prototype,"__isLong__",{value:!0});function dn(e){return(e&&e.__isLong__)===!0}function N5(e){var t=Math.clz32(e&-e);return e?31-t:t}Xt.isLong=dn;var z5={},j5={};function xl(e,t){var r,n,i;return t?(e>>>=0,(i=0<=e&&e<256)&&(n=j5[e],n)?n:(r=Ot(e,0,!0),i&&(j5[e]=r),r)):(e|=0,(i=-128<=e&&e<128)&&(n=z5[e],n)?n:(r=Ot(e,e<0?-1:0,!1),i&&(z5[e]=r),r))}Xt.fromInt=xl;function Ei(e,t){if(isNaN(e))return t?Jo:io;if(t){if(e<0)return Jo;if(e>=MM)return kM}else{if(e<=-H5)return _n;if(e+1>=H5)return AM}return e<0?Ei(-e,t).neg():Ot(e%Oc|0,e/Oc|0,t)}Xt.fromNumber=Ei;function Ot(e,t,r){return new Xt(e,t,r)}Xt.fromBits=Ot;var Kh=Math.pow;function b4(e,t,r){if(e.length===0)throw Error("empty string");if(typeof t=="number"?(r=t,t=!1):t=!!t,e==="NaN"||e==="Infinity"||e==="+Infinity"||e==="-Infinity")return t?Jo:io;if(r=r||10,r<2||360)throw Error("interior hyphen");if(n===0)return b4(e.substring(1),t,r).neg();for(var i=Ei(Kh(r,8)),o=io,a=0;a>>0:this.low};Oe.toNumber=function(){return this.unsigned?(this.high>>>0)*Oc+(this.low>>>0):this.high*Oc+(this.low>>>0)};Oe.toString=function(t){if(t=t||10,t<2||36>>0,u=c.toString(t);if(a=l,a.isZero())return u+s;for(;u.length<6;)u="0"+u;s=""+u+s}};Oe.getHighBits=function(){return this.high};Oe.getHighBitsUnsigned=function(){return this.high>>>0};Oe.getLowBits=function(){return this.low};Oe.getLowBitsUnsigned=function(){return this.low>>>0};Oe.getNumBitsAbs=function(){if(this.isNegative())return this.eq(_n)?64:this.neg().getNumBitsAbs();for(var t=this.high!=0?this.high:this.low,r=31;r>0&&!(t&1<=0};Oe.isOdd=function(){return(this.low&1)===1};Oe.isEven=function(){return(this.low&1)===0};Oe.equals=function(t){return dn(t)||(t=fo(t)),this.unsigned!==t.unsigned&&this.high>>>31===1&&t.high>>>31===1?!1:this.high===t.high&&this.low===t.low};Oe.eq=Oe.equals;Oe.notEquals=function(t){return!this.eq(t)};Oe.neq=Oe.notEquals;Oe.ne=Oe.notEquals;Oe.lessThan=function(t){return this.comp(t)<0};Oe.lt=Oe.lessThan;Oe.lessThanOrEqual=function(t){return this.comp(t)<=0};Oe.lte=Oe.lessThanOrEqual;Oe.le=Oe.lessThanOrEqual;Oe.greaterThan=function(t){return this.comp(t)>0};Oe.gt=Oe.greaterThan;Oe.greaterThanOrEqual=function(t){return this.comp(t)>=0};Oe.gte=Oe.greaterThanOrEqual;Oe.ge=Oe.greaterThanOrEqual;Oe.compare=function(t){if(dn(t)||(t=fo(t)),this.eq(t))return 0;var r=this.isNegative(),n=t.isNegative();return r&&!n?-1:!r&&n?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1};Oe.comp=Oe.compare;Oe.negate=function(){return!this.unsigned&&this.eq(_n)?_n:this.not().add(Ql)};Oe.neg=Oe.negate;Oe.add=function(t){dn(t)||(t=fo(t));var r=this.high>>>16,n=this.high&65535,i=this.low>>>16,o=this.low&65535,a=t.high>>>16,s=t.high&65535,l=t.low>>>16,c=t.low&65535,u=0,f=0,d=0,b=0;return b+=o+c,d+=b>>>16,b&=65535,d+=i+l,f+=d>>>16,d&=65535,f+=n+s,u+=f>>>16,f&=65535,u+=r+a,u&=65535,Ot(d<<16|b,u<<16|f,this.unsigned)};Oe.subtract=function(t){return dn(t)||(t=fo(t)),this.add(t.neg())};Oe.sub=Oe.subtract;Oe.multiply=function(t){if(this.isZero())return this;if(dn(t)||(t=fo(t)),Ci){var r=Ci.mul(this.low,this.high,t.low,t.high);return Ot(r,Ci.get_high(),this.unsigned)}if(t.isZero())return this.unsigned?Jo:io;if(this.eq(_n))return t.isOdd()?_n:io;if(t.eq(_n))return this.isOdd()?_n:io;if(this.isNegative())return t.isNegative()?this.neg().mul(t.neg()):this.neg().mul(t).neg();if(t.isNegative())return this.mul(t.neg()).neg();if(this.lt(W5)&&t.lt(W5))return Ei(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,i=this.high&65535,o=this.low>>>16,a=this.low&65535,s=t.high>>>16,l=t.high&65535,c=t.low>>>16,u=t.low&65535,f=0,d=0,b=0,p=0;return p+=a*u,b+=p>>>16,p&=65535,b+=o*u,d+=b>>>16,b&=65535,b+=a*c,d+=b>>>16,b&=65535,d+=i*u,f+=d>>>16,d&=65535,d+=o*c,f+=d>>>16,d&=65535,d+=a*l,f+=d>>>16,d&=65535,f+=n*u+i*c+o*l+a*s,f&=65535,Ot(b<<16|p,f<<16|d,this.unsigned)};Oe.mul=Oe.multiply;Oe.divide=function(t){if(dn(t)||(t=fo(t)),t.isZero())throw Error("division by zero");if(Ci){if(!this.unsigned&&this.high===-2147483648&&t.low===-1&&t.high===-1)return this;var r=(this.unsigned?Ci.div_u:Ci.div_s)(this.low,this.high,t.low,t.high);return Ot(r,Ci.get_high(),this.unsigned)}if(this.isZero())return this.unsigned?Jo:io;var n,i,o;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return Jo;if(t.gt(this.shru(1)))return PM;o=Jo}else{if(this.eq(_n)){if(t.eq(Ql)||t.eq(Xv))return _n;if(t.eq(_n))return Ql;var a=this.shr(1);return n=a.div(t).shl(1),n.eq(io)?t.isNegative()?Ql:Xv:(i=this.sub(t.mul(n)),o=n.add(i.div(t)),o)}else if(t.eq(_n))return this.unsigned?Jo:io;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();o=io}for(i=this;i.gte(t);){n=Math.max(1,Math.floor(i.toNumber()/t.toNumber()));for(var s=Math.ceil(Math.log(n)/Math.LN2),l=s<=48?1:Kh(2,s-48),c=Ei(n),u=c.mul(t);u.isNegative()||u.gt(i);)n-=l,c=Ei(n,this.unsigned),u=c.mul(t);c.isZero()&&(c=Ql),o=o.add(c),i=i.sub(u)}return o};Oe.div=Oe.divide;Oe.modulo=function(t){if(dn(t)||(t=fo(t)),Ci){var r=(this.unsigned?Ci.rem_u:Ci.rem_s)(this.low,this.high,t.low,t.high);return Ot(r,Ci.get_high(),this.unsigned)}return this.sub(this.div(t).mul(t))};Oe.mod=Oe.modulo;Oe.rem=Oe.modulo;Oe.not=function(){return Ot(~this.low,~this.high,this.unsigned)};Oe.countLeadingZeros=function(){return this.high?Math.clz32(this.high):Math.clz32(this.low)+32};Oe.clz=Oe.countLeadingZeros;Oe.countTrailingZeros=function(){return this.low?N5(this.low):N5(this.high)+32};Oe.ctz=Oe.countTrailingZeros;Oe.and=function(t){return dn(t)||(t=fo(t)),Ot(this.low&t.low,this.high&t.high,this.unsigned)};Oe.or=function(t){return dn(t)||(t=fo(t)),Ot(this.low|t.low,this.high|t.high,this.unsigned)};Oe.xor=function(t){return dn(t)||(t=fo(t)),Ot(this.low^t.low,this.high^t.high,this.unsigned)};Oe.shiftLeft=function(t){return dn(t)&&(t=t.toInt()),(t&=63)===0?this:t<32?Ot(this.low<>>32-t,this.unsigned):Ot(0,this.low<>>t|this.high<<32-t,this.high>>t,this.unsigned):Ot(this.high>>t-32,this.high>=0?0:-1,this.unsigned)};Oe.shr=Oe.shiftRight;Oe.shiftRightUnsigned=function(t){return dn(t)&&(t=t.toInt()),(t&=63)===0?this:t<32?Ot(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):t===32?Ot(this.high,0,this.unsigned):Ot(this.high>>>t-32,0,this.unsigned)};Oe.shru=Oe.shiftRightUnsigned;Oe.shr_u=Oe.shiftRightUnsigned;Oe.rotateLeft=function(t){var r;return dn(t)&&(t=t.toInt()),(t&=63)===0?this:t===32?Ot(this.high,this.low,this.unsigned):t<32?(r=32-t,Ot(this.low<>>r,this.high<>>r,this.unsigned)):(t-=32,r=32-t,Ot(this.high<>>r,this.low<>>r,this.unsigned))};Oe.rotl=Oe.rotateLeft;Oe.rotateRight=function(t){var r;return dn(t)&&(t=t.toInt()),(t&=63)===0?this:t===32?Ot(this.high,this.low,this.unsigned):t<32?(r=32-t,Ot(this.high<>>t,this.low<>>t,this.unsigned)):(t-=32,r=32-t,Ot(this.low<>>t,this.high<>>t,this.unsigned))};Oe.rotr=Oe.rotateRight;Oe.toSigned=function(){return this.unsigned?Ot(this.low,this.high,!1):this};Oe.toUnsigned=function(){return this.unsigned?this:Ot(this.low,this.high,!0)};Oe.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()};Oe.toBytesLE=function(){var t=this.high,r=this.low;return[r&255,r>>>8&255,r>>>16&255,r>>>24,t&255,t>>>8&255,t>>>16&255,t>>>24]};Oe.toBytesBE=function(){var t=this.high,r=this.low;return[t>>>24,t>>>16&255,t>>>8&255,t&255,r>>>24,r>>>16&255,r>>>8&255,r&255]};Xt.fromBytes=function(t,r,n){return n?Xt.fromBytesLE(t,r):Xt.fromBytesBE(t,r)};Xt.fromBytesLE=function(t,r){return new Xt(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,r)};Xt.fromBytesBE=function(t,r){return new Xt(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],r)};var _M={};const dQ="elliptic",hQ="6.5.5",pQ="EC cryptography",xQ="lib/elliptic.js",mQ=["lib"],gQ={lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},vQ={type:"git",url:"git@github.com:indutny/elliptic"},bQ=["EC","Elliptic","curve","Cryptography"],yQ="Fedor Indutny ",wQ="MIT",SQ={url:"https://github.com/indutny/elliptic/issues"},CQ="https://github.com/indutny/elliptic",EQ={brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},MQ={"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"},PQ={name:dQ,version:hQ,description:pQ,main:xQ,files:mQ,scripts:gQ,repository:vQ,keywords:bQ,author:yQ,license:wQ,bugs:SQ,homepage:CQ,devDependencies:EQ,dependencies:MQ};var ci={},y4={exports:{}};y4.exports;(function(e){(function(t,r){function n(R,m){if(!R)throw new Error(m||"Assertion failed")}function i(R,m){R.super_=m;var g=function(){};g.prototype=m.prototype,R.prototype=new g,R.prototype.constructor=R}function o(R,m,g){if(o.isBN(R))return R;this.negative=0,this.words=null,this.length=0,this.red=null,R!==null&&((m==="le"||m==="be")&&(g=m,m=10),this._init(R||0,m||10,g||"be"))}typeof t=="object"?t.exports=o:r.BN=o,o.BN=o,o.wordSize=26;var a;try{typeof window<"u"&&typeof window.Buffer<"u"?a=window.Buffer:a=Ip.Buffer}catch{}o.isBN=function(m){return m instanceof o?!0:m!==null&&typeof m=="object"&&m.constructor.wordSize===o.wordSize&&Array.isArray(m.words)},o.max=function(m,g){return m.cmp(g)>0?m:g},o.min=function(m,g){return m.cmp(g)<0?m:g},o.prototype._init=function(m,g,h){if(typeof m=="number")return this._initNumber(m,g,h);if(typeof m=="object")return this._initArray(m,g,h);g==="hex"&&(g=16),n(g===(g|0)&&g>=2&&g<=36),m=m.toString().replace(/\s+/g,"");var x=0;m[0]==="-"&&(x++,this.negative=1),x=0;x-=3)T=m[x]|m[x-1]<<8|m[x-2]<<16,this.words[S]|=T<>>26-k&67108863,k+=24,k>=26&&(k-=26,S++);else if(h==="le")for(x=0,S=0;x>>26-k&67108863,k+=24,k>=26&&(k-=26,S++);return this.strip()};function s(R,m){var g=R.charCodeAt(m);return g>=65&&g<=70?g-55:g>=97&&g<=102?g-87:g-48&15}function l(R,m,g){var h=s(R,g);return g-1>=m&&(h|=s(R,g-1)<<4),h}o.prototype._parseHex=function(m,g,h){this.length=Math.ceil((m.length-g)/6),this.words=new Array(this.length);for(var x=0;x=g;x-=2)k=l(m,g,x)<=18?(S-=18,T+=1,this.words[T]|=k>>>26):S+=8;else{var $=m.length-g;for(x=$%2===0?g+1:g;x=18?(S-=18,T+=1,this.words[T]|=k>>>26):S+=8}this.strip()};function c(R,m,g,h){for(var x=0,S=Math.min(R.length,g),T=m;T=49?x+=k-49+10:k>=17?x+=k-17+10:x+=k}return x}o.prototype._parseBase=function(m,g,h){this.words=[0],this.length=1;for(var x=0,S=1;S<=67108863;S*=g)x++;x--,S=S/g|0;for(var T=m.length-h,k=T%x,$=Math.min(T,T-k)+h,P=0,E=h;E<$;E+=x)P=c(m,E,E+x,g),this.imuln(S),this.words[0]+P<67108864?this.words[0]+=P:this._iaddn(P);if(k!==0){var A=1;for(P=c(m,E,m.length,g),E=0;E1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},o.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(m,g){m=m||10,g=g|0||1;var h;if(m===16||m==="hex"){h="";for(var x=0,S=0,T=0;T>>24-x&16777215,S!==0||T!==this.length-1?h=u[6-$.length]+$+h:h=$+h,x+=2,x>=26&&(x-=26,T--)}for(S!==0&&(h=S.toString(16)+h);h.length%g!==0;)h="0"+h;return this.negative!==0&&(h="-"+h),h}if(m===(m|0)&&m>=2&&m<=36){var P=f[m],E=d[m];h="";var A=this.clone();for(A.negative=0;!A.isZero();){var z=A.modn(E).toString(m);A=A.idivn(E),A.isZero()?h=z+h:h=u[P-z.length]+z+h}for(this.isZero()&&(h="0"+h);h.length%g!==0;)h="0"+h;return this.negative!==0&&(h="-"+h),h}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var m=this.words[0];return this.length===2?m+=this.words[1]*67108864:this.length===3&&this.words[2]===1?m+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-m:m},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(m,g){return n(typeof a<"u"),this.toArrayLike(a,m,g)},o.prototype.toArray=function(m,g){return this.toArrayLike(Array,m,g)},o.prototype.toArrayLike=function(m,g,h){var x=this.byteLength(),S=h||Math.max(1,x);n(x<=S,"byte array longer than desired length"),n(S>0,"Requested array length <= 0"),this.strip();var T=g==="le",k=new m(S),$,P,E=this.clone();if(T){for(P=0;!E.isZero();P++)$=E.andln(255),E.iushrn(8),k[P]=$;for(;P=4096&&(h+=13,g>>>=13),g>=64&&(h+=7,g>>>=7),g>=8&&(h+=4,g>>>=4),g>=2&&(h+=2,g>>>=2),h+g},o.prototype._zeroBits=function(m){if(m===0)return 26;var g=m,h=0;return g&8191||(h+=13,g>>>=13),g&127||(h+=7,g>>>=7),g&15||(h+=4,g>>>=4),g&3||(h+=2,g>>>=2),g&1||h++,h},o.prototype.bitLength=function(){var m=this.words[this.length-1],g=this._countBits(m);return(this.length-1)*26+g};function b(R){for(var m=new Array(R.bitLength()),g=0;g>>x}return m}o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var m=0,g=0;gm.length?this.clone().ior(m):m.clone().ior(this)},o.prototype.uor=function(m){return this.length>m.length?this.clone().iuor(m):m.clone().iuor(this)},o.prototype.iuand=function(m){var g;this.length>m.length?g=m:g=this;for(var h=0;hm.length?this.clone().iand(m):m.clone().iand(this)},o.prototype.uand=function(m){return this.length>m.length?this.clone().iuand(m):m.clone().iuand(this)},o.prototype.iuxor=function(m){var g,h;this.length>m.length?(g=this,h=m):(g=m,h=this);for(var x=0;xm.length?this.clone().ixor(m):m.clone().ixor(this)},o.prototype.uxor=function(m){return this.length>m.length?this.clone().iuxor(m):m.clone().iuxor(this)},o.prototype.inotn=function(m){n(typeof m=="number"&&m>=0);var g=Math.ceil(m/26)|0,h=m%26;this._expand(g),h>0&&g--;for(var x=0;x0&&(this.words[x]=~this.words[x]&67108863>>26-h),this.strip()},o.prototype.notn=function(m){return this.clone().inotn(m)},o.prototype.setn=function(m,g){n(typeof m=="number"&&m>=0);var h=m/26|0,x=m%26;return this._expand(h+1),g?this.words[h]=this.words[h]|1<m.length?(h=this,x=m):(h=m,x=this);for(var S=0,T=0;T>>26;for(;S!==0&&T>>26;if(this.length=h.length,S!==0)this.words[this.length]=S,this.length++;else if(h!==this)for(;Tm.length?this.clone().iadd(m):m.clone().iadd(this)},o.prototype.isub=function(m){if(m.negative!==0){m.negative=0;var g=this.iadd(m);return m.negative=1,g._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(m),this.negative=1,this._normSign();var h=this.cmp(m);if(h===0)return this.negative=0,this.length=1,this.words[0]=0,this;var x,S;h>0?(x=this,S=m):(x=m,S=this);for(var T=0,k=0;k>26,this.words[k]=g&67108863;for(;T!==0&&k>26,this.words[k]=g&67108863;if(T===0&&k>>26,A=$&67108863,z=Math.min(P,m.length-1),H=Math.max(0,P-R.length+1);H<=z;H++){var O=P-H|0;x=R.words[O]|0,S=m.words[H]|0,T=x*S+A,E+=T/67108864|0,A=T&67108863}g.words[P]=A|0,$=E|0}return $!==0?g.words[P]=$|0:g.length--,g.strip()}var v=function(m,g,h){var x=m.words,S=g.words,T=h.words,k=0,$,P,E,A=x[0]|0,z=A&8191,H=A>>>13,O=x[1]|0,V=O&8191,X=O>>>13,J=x[2]|0,G=J&8191,j=J>>>13,q=x[3]|0,K=q&8191,Z=q>>>13,te=x[4]|0,Q=te&8191,oe=te>>>13,me=x[5]|0,se=me&8191,ye=me>>>13,Re=x[6]|0,we=Re&8191,He=Re>>>13,Ue=x[7]|0,Me=Ue&8191,Ze=Ue>>>13,Je=x[8]|0,Ne=Je&8191,De=Je>>>13,de=x[9]|0,Ie=de&8191,ot=de>>>13,lt=S[0]|0,ge=lt&8191,ze=lt>>>13,le=S[1]|0,xe=le&8191,je=le>>>13,We=S[2]|0,Fe=We&8191,Qe=We>>>13,ut=S[3]|0,Ge=ut&8191,ee=ut>>>13,re=S[4]|0,ne=re&8191,pe=re>>>13,ke=S[5]|0,Te=ke&8191,$e=ke>>>13,Pe=S[6]|0,ce=Pe&8191,_e=Pe>>>13,Ve=S[7]|0,Ce=Ve&8191,Xe=Ve>>>13,dt=S[8]|0,qe=dt&8191,ht=dt>>>13,mt=S[9]|0,rt=mt&8191,ae=mt>>>13;h.negative=m.negative^g.negative,h.length=19,$=Math.imul(z,ge),P=Math.imul(z,ze),P=P+Math.imul(H,ge)|0,E=Math.imul(H,ze);var ie=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(ie>>>26)|0,ie&=67108863,$=Math.imul(V,ge),P=Math.imul(V,ze),P=P+Math.imul(X,ge)|0,E=Math.imul(X,ze),$=$+Math.imul(z,xe)|0,P=P+Math.imul(z,je)|0,P=P+Math.imul(H,xe)|0,E=E+Math.imul(H,je)|0;var ve=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(ve>>>26)|0,ve&=67108863,$=Math.imul(G,ge),P=Math.imul(G,ze),P=P+Math.imul(j,ge)|0,E=Math.imul(j,ze),$=$+Math.imul(V,xe)|0,P=P+Math.imul(V,je)|0,P=P+Math.imul(X,xe)|0,E=E+Math.imul(X,je)|0,$=$+Math.imul(z,Fe)|0,P=P+Math.imul(z,Qe)|0,P=P+Math.imul(H,Fe)|0,E=E+Math.imul(H,Qe)|0;var Ae=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,$=Math.imul(K,ge),P=Math.imul(K,ze),P=P+Math.imul(Z,ge)|0,E=Math.imul(Z,ze),$=$+Math.imul(G,xe)|0,P=P+Math.imul(G,je)|0,P=P+Math.imul(j,xe)|0,E=E+Math.imul(j,je)|0,$=$+Math.imul(V,Fe)|0,P=P+Math.imul(V,Qe)|0,P=P+Math.imul(X,Fe)|0,E=E+Math.imul(X,Qe)|0,$=$+Math.imul(z,Ge)|0,P=P+Math.imul(z,ee)|0,P=P+Math.imul(H,Ge)|0,E=E+Math.imul(H,ee)|0;var Ye=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(Ye>>>26)|0,Ye&=67108863,$=Math.imul(Q,ge),P=Math.imul(Q,ze),P=P+Math.imul(oe,ge)|0,E=Math.imul(oe,ze),$=$+Math.imul(K,xe)|0,P=P+Math.imul(K,je)|0,P=P+Math.imul(Z,xe)|0,E=E+Math.imul(Z,je)|0,$=$+Math.imul(G,Fe)|0,P=P+Math.imul(G,Qe)|0,P=P+Math.imul(j,Fe)|0,E=E+Math.imul(j,Qe)|0,$=$+Math.imul(V,Ge)|0,P=P+Math.imul(V,ee)|0,P=P+Math.imul(X,Ge)|0,E=E+Math.imul(X,ee)|0,$=$+Math.imul(z,ne)|0,P=P+Math.imul(z,pe)|0,P=P+Math.imul(H,ne)|0,E=E+Math.imul(H,pe)|0;var Le=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(Le>>>26)|0,Le&=67108863,$=Math.imul(se,ge),P=Math.imul(se,ze),P=P+Math.imul(ye,ge)|0,E=Math.imul(ye,ze),$=$+Math.imul(Q,xe)|0,P=P+Math.imul(Q,je)|0,P=P+Math.imul(oe,xe)|0,E=E+Math.imul(oe,je)|0,$=$+Math.imul(K,Fe)|0,P=P+Math.imul(K,Qe)|0,P=P+Math.imul(Z,Fe)|0,E=E+Math.imul(Z,Qe)|0,$=$+Math.imul(G,Ge)|0,P=P+Math.imul(G,ee)|0,P=P+Math.imul(j,Ge)|0,E=E+Math.imul(j,ee)|0,$=$+Math.imul(V,ne)|0,P=P+Math.imul(V,pe)|0,P=P+Math.imul(X,ne)|0,E=E+Math.imul(X,pe)|0,$=$+Math.imul(z,Te)|0,P=P+Math.imul(z,$e)|0,P=P+Math.imul(H,Te)|0,E=E+Math.imul(H,$e)|0;var pt=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(pt>>>26)|0,pt&=67108863,$=Math.imul(we,ge),P=Math.imul(we,ze),P=P+Math.imul(He,ge)|0,E=Math.imul(He,ze),$=$+Math.imul(se,xe)|0,P=P+Math.imul(se,je)|0,P=P+Math.imul(ye,xe)|0,E=E+Math.imul(ye,je)|0,$=$+Math.imul(Q,Fe)|0,P=P+Math.imul(Q,Qe)|0,P=P+Math.imul(oe,Fe)|0,E=E+Math.imul(oe,Qe)|0,$=$+Math.imul(K,Ge)|0,P=P+Math.imul(K,ee)|0,P=P+Math.imul(Z,Ge)|0,E=E+Math.imul(Z,ee)|0,$=$+Math.imul(G,ne)|0,P=P+Math.imul(G,pe)|0,P=P+Math.imul(j,ne)|0,E=E+Math.imul(j,pe)|0,$=$+Math.imul(V,Te)|0,P=P+Math.imul(V,$e)|0,P=P+Math.imul(X,Te)|0,E=E+Math.imul(X,$e)|0,$=$+Math.imul(z,ce)|0,P=P+Math.imul(z,_e)|0,P=P+Math.imul(H,ce)|0,E=E+Math.imul(H,_e)|0;var Bt=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,$=Math.imul(Me,ge),P=Math.imul(Me,ze),P=P+Math.imul(Ze,ge)|0,E=Math.imul(Ze,ze),$=$+Math.imul(we,xe)|0,P=P+Math.imul(we,je)|0,P=P+Math.imul(He,xe)|0,E=E+Math.imul(He,je)|0,$=$+Math.imul(se,Fe)|0,P=P+Math.imul(se,Qe)|0,P=P+Math.imul(ye,Fe)|0,E=E+Math.imul(ye,Qe)|0,$=$+Math.imul(Q,Ge)|0,P=P+Math.imul(Q,ee)|0,P=P+Math.imul(oe,Ge)|0,E=E+Math.imul(oe,ee)|0,$=$+Math.imul(K,ne)|0,P=P+Math.imul(K,pe)|0,P=P+Math.imul(Z,ne)|0,E=E+Math.imul(Z,pe)|0,$=$+Math.imul(G,Te)|0,P=P+Math.imul(G,$e)|0,P=P+Math.imul(j,Te)|0,E=E+Math.imul(j,$e)|0,$=$+Math.imul(V,ce)|0,P=P+Math.imul(V,_e)|0,P=P+Math.imul(X,ce)|0,E=E+Math.imul(X,_e)|0,$=$+Math.imul(z,Ce)|0,P=P+Math.imul(z,Xe)|0,P=P+Math.imul(H,Ce)|0,E=E+Math.imul(H,Xe)|0;var gt=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(gt>>>26)|0,gt&=67108863,$=Math.imul(Ne,ge),P=Math.imul(Ne,ze),P=P+Math.imul(De,ge)|0,E=Math.imul(De,ze),$=$+Math.imul(Me,xe)|0,P=P+Math.imul(Me,je)|0,P=P+Math.imul(Ze,xe)|0,E=E+Math.imul(Ze,je)|0,$=$+Math.imul(we,Fe)|0,P=P+Math.imul(we,Qe)|0,P=P+Math.imul(He,Fe)|0,E=E+Math.imul(He,Qe)|0,$=$+Math.imul(se,Ge)|0,P=P+Math.imul(se,ee)|0,P=P+Math.imul(ye,Ge)|0,E=E+Math.imul(ye,ee)|0,$=$+Math.imul(Q,ne)|0,P=P+Math.imul(Q,pe)|0,P=P+Math.imul(oe,ne)|0,E=E+Math.imul(oe,pe)|0,$=$+Math.imul(K,Te)|0,P=P+Math.imul(K,$e)|0,P=P+Math.imul(Z,Te)|0,E=E+Math.imul(Z,$e)|0,$=$+Math.imul(G,ce)|0,P=P+Math.imul(G,_e)|0,P=P+Math.imul(j,ce)|0,E=E+Math.imul(j,_e)|0,$=$+Math.imul(V,Ce)|0,P=P+Math.imul(V,Xe)|0,P=P+Math.imul(X,Ce)|0,E=E+Math.imul(X,Xe)|0,$=$+Math.imul(z,qe)|0,P=P+Math.imul(z,ht)|0,P=P+Math.imul(H,qe)|0,E=E+Math.imul(H,ht)|0;var St=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(St>>>26)|0,St&=67108863,$=Math.imul(Ie,ge),P=Math.imul(Ie,ze),P=P+Math.imul(ot,ge)|0,E=Math.imul(ot,ze),$=$+Math.imul(Ne,xe)|0,P=P+Math.imul(Ne,je)|0,P=P+Math.imul(De,xe)|0,E=E+Math.imul(De,je)|0,$=$+Math.imul(Me,Fe)|0,P=P+Math.imul(Me,Qe)|0,P=P+Math.imul(Ze,Fe)|0,E=E+Math.imul(Ze,Qe)|0,$=$+Math.imul(we,Ge)|0,P=P+Math.imul(we,ee)|0,P=P+Math.imul(He,Ge)|0,E=E+Math.imul(He,ee)|0,$=$+Math.imul(se,ne)|0,P=P+Math.imul(se,pe)|0,P=P+Math.imul(ye,ne)|0,E=E+Math.imul(ye,pe)|0,$=$+Math.imul(Q,Te)|0,P=P+Math.imul(Q,$e)|0,P=P+Math.imul(oe,Te)|0,E=E+Math.imul(oe,$e)|0,$=$+Math.imul(K,ce)|0,P=P+Math.imul(K,_e)|0,P=P+Math.imul(Z,ce)|0,E=E+Math.imul(Z,_e)|0,$=$+Math.imul(G,Ce)|0,P=P+Math.imul(G,Xe)|0,P=P+Math.imul(j,Ce)|0,E=E+Math.imul(j,Xe)|0,$=$+Math.imul(V,qe)|0,P=P+Math.imul(V,ht)|0,P=P+Math.imul(X,qe)|0,E=E+Math.imul(X,ht)|0,$=$+Math.imul(z,rt)|0,P=P+Math.imul(z,ae)|0,P=P+Math.imul(H,rt)|0,E=E+Math.imul(H,ae)|0;var Ht=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,$=Math.imul(Ie,xe),P=Math.imul(Ie,je),P=P+Math.imul(ot,xe)|0,E=Math.imul(ot,je),$=$+Math.imul(Ne,Fe)|0,P=P+Math.imul(Ne,Qe)|0,P=P+Math.imul(De,Fe)|0,E=E+Math.imul(De,Qe)|0,$=$+Math.imul(Me,Ge)|0,P=P+Math.imul(Me,ee)|0,P=P+Math.imul(Ze,Ge)|0,E=E+Math.imul(Ze,ee)|0,$=$+Math.imul(we,ne)|0,P=P+Math.imul(we,pe)|0,P=P+Math.imul(He,ne)|0,E=E+Math.imul(He,pe)|0,$=$+Math.imul(se,Te)|0,P=P+Math.imul(se,$e)|0,P=P+Math.imul(ye,Te)|0,E=E+Math.imul(ye,$e)|0,$=$+Math.imul(Q,ce)|0,P=P+Math.imul(Q,_e)|0,P=P+Math.imul(oe,ce)|0,E=E+Math.imul(oe,_e)|0,$=$+Math.imul(K,Ce)|0,P=P+Math.imul(K,Xe)|0,P=P+Math.imul(Z,Ce)|0,E=E+Math.imul(Z,Xe)|0,$=$+Math.imul(G,qe)|0,P=P+Math.imul(G,ht)|0,P=P+Math.imul(j,qe)|0,E=E+Math.imul(j,ht)|0,$=$+Math.imul(V,rt)|0,P=P+Math.imul(V,ae)|0,P=P+Math.imul(X,rt)|0,E=E+Math.imul(X,ae)|0;var Hr=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(Hr>>>26)|0,Hr&=67108863,$=Math.imul(Ie,Fe),P=Math.imul(Ie,Qe),P=P+Math.imul(ot,Fe)|0,E=Math.imul(ot,Qe),$=$+Math.imul(Ne,Ge)|0,P=P+Math.imul(Ne,ee)|0,P=P+Math.imul(De,Ge)|0,E=E+Math.imul(De,ee)|0,$=$+Math.imul(Me,ne)|0,P=P+Math.imul(Me,pe)|0,P=P+Math.imul(Ze,ne)|0,E=E+Math.imul(Ze,pe)|0,$=$+Math.imul(we,Te)|0,P=P+Math.imul(we,$e)|0,P=P+Math.imul(He,Te)|0,E=E+Math.imul(He,$e)|0,$=$+Math.imul(se,ce)|0,P=P+Math.imul(se,_e)|0,P=P+Math.imul(ye,ce)|0,E=E+Math.imul(ye,_e)|0,$=$+Math.imul(Q,Ce)|0,P=P+Math.imul(Q,Xe)|0,P=P+Math.imul(oe,Ce)|0,E=E+Math.imul(oe,Xe)|0,$=$+Math.imul(K,qe)|0,P=P+Math.imul(K,ht)|0,P=P+Math.imul(Z,qe)|0,E=E+Math.imul(Z,ht)|0,$=$+Math.imul(G,rt)|0,P=P+Math.imul(G,ae)|0,P=P+Math.imul(j,rt)|0,E=E+Math.imul(j,ae)|0;var Cn=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(Cn>>>26)|0,Cn&=67108863,$=Math.imul(Ie,Ge),P=Math.imul(Ie,ee),P=P+Math.imul(ot,Ge)|0,E=Math.imul(ot,ee),$=$+Math.imul(Ne,ne)|0,P=P+Math.imul(Ne,pe)|0,P=P+Math.imul(De,ne)|0,E=E+Math.imul(De,pe)|0,$=$+Math.imul(Me,Te)|0,P=P+Math.imul(Me,$e)|0,P=P+Math.imul(Ze,Te)|0,E=E+Math.imul(Ze,$e)|0,$=$+Math.imul(we,ce)|0,P=P+Math.imul(we,_e)|0,P=P+Math.imul(He,ce)|0,E=E+Math.imul(He,_e)|0,$=$+Math.imul(se,Ce)|0,P=P+Math.imul(se,Xe)|0,P=P+Math.imul(ye,Ce)|0,E=E+Math.imul(ye,Xe)|0,$=$+Math.imul(Q,qe)|0,P=P+Math.imul(Q,ht)|0,P=P+Math.imul(oe,qe)|0,E=E+Math.imul(oe,ht)|0,$=$+Math.imul(K,rt)|0,P=P+Math.imul(K,ae)|0,P=P+Math.imul(Z,rt)|0,E=E+Math.imul(Z,ae)|0;var ms=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(ms>>>26)|0,ms&=67108863,$=Math.imul(Ie,ne),P=Math.imul(Ie,pe),P=P+Math.imul(ot,ne)|0,E=Math.imul(ot,pe),$=$+Math.imul(Ne,Te)|0,P=P+Math.imul(Ne,$e)|0,P=P+Math.imul(De,Te)|0,E=E+Math.imul(De,$e)|0,$=$+Math.imul(Me,ce)|0,P=P+Math.imul(Me,_e)|0,P=P+Math.imul(Ze,ce)|0,E=E+Math.imul(Ze,_e)|0,$=$+Math.imul(we,Ce)|0,P=P+Math.imul(we,Xe)|0,P=P+Math.imul(He,Ce)|0,E=E+Math.imul(He,Xe)|0,$=$+Math.imul(se,qe)|0,P=P+Math.imul(se,ht)|0,P=P+Math.imul(ye,qe)|0,E=E+Math.imul(ye,ht)|0,$=$+Math.imul(Q,rt)|0,P=P+Math.imul(Q,ae)|0,P=P+Math.imul(oe,rt)|0,E=E+Math.imul(oe,ae)|0;var gs=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(gs>>>26)|0,gs&=67108863,$=Math.imul(Ie,Te),P=Math.imul(Ie,$e),P=P+Math.imul(ot,Te)|0,E=Math.imul(ot,$e),$=$+Math.imul(Ne,ce)|0,P=P+Math.imul(Ne,_e)|0,P=P+Math.imul(De,ce)|0,E=E+Math.imul(De,_e)|0,$=$+Math.imul(Me,Ce)|0,P=P+Math.imul(Me,Xe)|0,P=P+Math.imul(Ze,Ce)|0,E=E+Math.imul(Ze,Xe)|0,$=$+Math.imul(we,qe)|0,P=P+Math.imul(we,ht)|0,P=P+Math.imul(He,qe)|0,E=E+Math.imul(He,ht)|0,$=$+Math.imul(se,rt)|0,P=P+Math.imul(se,ae)|0,P=P+Math.imul(ye,rt)|0,E=E+Math.imul(ye,ae)|0;var vs=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(vs>>>26)|0,vs&=67108863,$=Math.imul(Ie,ce),P=Math.imul(Ie,_e),P=P+Math.imul(ot,ce)|0,E=Math.imul(ot,_e),$=$+Math.imul(Ne,Ce)|0,P=P+Math.imul(Ne,Xe)|0,P=P+Math.imul(De,Ce)|0,E=E+Math.imul(De,Xe)|0,$=$+Math.imul(Me,qe)|0,P=P+Math.imul(Me,ht)|0,P=P+Math.imul(Ze,qe)|0,E=E+Math.imul(Ze,ht)|0,$=$+Math.imul(we,rt)|0,P=P+Math.imul(we,ae)|0,P=P+Math.imul(He,rt)|0,E=E+Math.imul(He,ae)|0;var bs=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(bs>>>26)|0,bs&=67108863,$=Math.imul(Ie,Ce),P=Math.imul(Ie,Xe),P=P+Math.imul(ot,Ce)|0,E=Math.imul(ot,Xe),$=$+Math.imul(Ne,qe)|0,P=P+Math.imul(Ne,ht)|0,P=P+Math.imul(De,qe)|0,E=E+Math.imul(De,ht)|0,$=$+Math.imul(Me,rt)|0,P=P+Math.imul(Me,ae)|0,P=P+Math.imul(Ze,rt)|0,E=E+Math.imul(Ze,ae)|0;var ys=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(ys>>>26)|0,ys&=67108863,$=Math.imul(Ie,qe),P=Math.imul(Ie,ht),P=P+Math.imul(ot,qe)|0,E=Math.imul(ot,ht),$=$+Math.imul(Ne,rt)|0,P=P+Math.imul(Ne,ae)|0,P=P+Math.imul(De,rt)|0,E=E+Math.imul(De,ae)|0;var ws=(k+$|0)+((P&8191)<<13)|0;k=(E+(P>>>13)|0)+(ws>>>26)|0,ws&=67108863,$=Math.imul(Ie,rt),P=Math.imul(Ie,ae),P=P+Math.imul(ot,rt)|0,E=Math.imul(ot,ae);var Ss=(k+$|0)+((P&8191)<<13)|0;return k=(E+(P>>>13)|0)+(Ss>>>26)|0,Ss&=67108863,T[0]=ie,T[1]=ve,T[2]=Ae,T[3]=Ye,T[4]=Le,T[5]=pt,T[6]=Bt,T[7]=gt,T[8]=St,T[9]=Ht,T[10]=Hr,T[11]=Cn,T[12]=ms,T[13]=gs,T[14]=vs,T[15]=bs,T[16]=ys,T[17]=ws,T[18]=Ss,k!==0&&(T[19]=k,h.length++),h};Math.imul||(v=p);function w(R,m,g){g.negative=m.negative^R.negative,g.length=R.length+m.length;for(var h=0,x=0,S=0;S>>26)|0,x+=T>>>26,T&=67108863}g.words[S]=k,h=T,T=x}return h!==0?g.words[S]=h:g.length--,g.strip()}function C(R,m,g){var h=new y;return h.mulp(R,m,g)}o.prototype.mulTo=function(m,g){var h,x=this.length+m.length;return this.length===10&&m.length===10?h=v(this,m,g):x<63?h=p(this,m,g):x<1024?h=w(this,m,g):h=C(this,m,g),h};function y(R,m){this.x=R,this.y=m}y.prototype.makeRBT=function(m){for(var g=new Array(m),h=o.prototype._countBits(m)-1,x=0;x>=1;return x},y.prototype.permute=function(m,g,h,x,S,T){for(var k=0;k>>1)S++;return 1<>>13,h[2*T+1]=S&8191,S=S>>>13;for(T=2*g;T>=26,g+=x/67108864|0,g+=S>>>26,this.words[h]=S&67108863}return g!==0&&(this.words[h]=g,this.length++),this},o.prototype.muln=function(m){return this.clone().imuln(m)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(m){var g=b(m);if(g.length===0)return new o(1);for(var h=this,x=0;x=0);var g=m%26,h=(m-g)/26,x=67108863>>>26-g<<26-g,S;if(g!==0){var T=0;for(S=0;S>>26-g}T&&(this.words[S]=T,this.length++)}if(h!==0){for(S=this.length-1;S>=0;S--)this.words[S+h]=this.words[S];for(S=0;S=0);var x;g?x=(g-g%26)/26:x=0;var S=m%26,T=Math.min((m-S)/26,this.length),k=67108863^67108863>>>S<T)for(this.length-=T,P=0;P=0&&(E!==0||P>=x);P--){var A=this.words[P]|0;this.words[P]=E<<26-S|A>>>S,E=A&k}return $&&E!==0&&($.words[$.length++]=E),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(m,g,h){return n(this.negative===0),this.iushrn(m,g,h)},o.prototype.shln=function(m){return this.clone().ishln(m)},o.prototype.ushln=function(m){return this.clone().iushln(m)},o.prototype.shrn=function(m){return this.clone().ishrn(m)},o.prototype.ushrn=function(m){return this.clone().iushrn(m)},o.prototype.testn=function(m){n(typeof m=="number"&&m>=0);var g=m%26,h=(m-g)/26,x=1<=0);var g=m%26,h=(m-g)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=h)return this;if(g!==0&&h++,this.length=Math.min(h,this.length),g!==0){var x=67108863^67108863>>>g<=67108864;g++)this.words[g]-=67108864,g===this.length-1?this.words[g+1]=1:this.words[g+1]++;return this.length=Math.max(this.length,g+1),this},o.prototype.isubn=function(m){if(n(typeof m=="number"),n(m<67108864),m<0)return this.iaddn(-m);if(this.negative!==0)return this.negative=0,this.iaddn(m),this.negative=1,this;if(this.words[0]-=m,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var g=0;g>26)-($/67108864|0),this.words[S+h]=T&67108863}for(;S>26,this.words[S+h]=T&67108863;if(k===0)return this.strip();for(n(k===-1),k=0,S=0;S>26,this.words[S]=T&67108863;return this.negative=1,this.strip()},o.prototype._wordDiv=function(m,g){var h=this.length-m.length,x=this.clone(),S=m,T=S.words[S.length-1]|0,k=this._countBits(T);h=26-k,h!==0&&(S=S.ushln(h),x.iushln(h),T=S.words[S.length-1]|0);var $=x.length-S.length,P;if(g!=="mod"){P=new o(null),P.length=$+1,P.words=new Array(P.length);for(var E=0;E=0;z--){var H=(x.words[S.length+z]|0)*67108864+(x.words[S.length+z-1]|0);for(H=Math.min(H/T|0,67108863),x._ishlnsubmul(S,H,z);x.negative!==0;)H--,x.negative=0,x._ishlnsubmul(S,1,z),x.isZero()||(x.negative^=1);P&&(P.words[z]=H)}return P&&P.strip(),x.strip(),g!=="div"&&h!==0&&x.iushrn(h),{div:P||null,mod:x}},o.prototype.divmod=function(m,g,h){if(n(!m.isZero()),this.isZero())return{div:new o(0),mod:new o(0)};var x,S,T;return this.negative!==0&&m.negative===0?(T=this.neg().divmod(m,g),g!=="mod"&&(x=T.div.neg()),g!=="div"&&(S=T.mod.neg(),h&&S.negative!==0&&S.iadd(m)),{div:x,mod:S}):this.negative===0&&m.negative!==0?(T=this.divmod(m.neg(),g),g!=="mod"&&(x=T.div.neg()),{div:x,mod:T.mod}):this.negative&m.negative?(T=this.neg().divmod(m.neg(),g),g!=="div"&&(S=T.mod.neg(),h&&S.negative!==0&&S.isub(m)),{div:T.div,mod:S}):m.length>this.length||this.cmp(m)<0?{div:new o(0),mod:this}:m.length===1?g==="div"?{div:this.divn(m.words[0]),mod:null}:g==="mod"?{div:null,mod:new o(this.modn(m.words[0]))}:{div:this.divn(m.words[0]),mod:new o(this.modn(m.words[0]))}:this._wordDiv(m,g)},o.prototype.div=function(m){return this.divmod(m,"div",!1).div},o.prototype.mod=function(m){return this.divmod(m,"mod",!1).mod},o.prototype.umod=function(m){return this.divmod(m,"mod",!0).mod},o.prototype.divRound=function(m){var g=this.divmod(m);if(g.mod.isZero())return g.div;var h=g.div.negative!==0?g.mod.isub(m):g.mod,x=m.ushrn(1),S=m.andln(1),T=h.cmp(x);return T<0||S===1&&T===0?g.div:g.div.negative!==0?g.div.isubn(1):g.div.iaddn(1)},o.prototype.modn=function(m){n(m<=67108863);for(var g=(1<<26)%m,h=0,x=this.length-1;x>=0;x--)h=(g*h+(this.words[x]|0))%m;return h},o.prototype.idivn=function(m){n(m<=67108863);for(var g=0,h=this.length-1;h>=0;h--){var x=(this.words[h]|0)+g*67108864;this.words[h]=x/m|0,g=x%m}return this.strip()},o.prototype.divn=function(m){return this.clone().idivn(m)},o.prototype.egcd=function(m){n(m.negative===0),n(!m.isZero());var g=this,h=m.clone();g.negative!==0?g=g.umod(m):g=g.clone();for(var x=new o(1),S=new o(0),T=new o(0),k=new o(1),$=0;g.isEven()&&h.isEven();)g.iushrn(1),h.iushrn(1),++$;for(var P=h.clone(),E=g.clone();!g.isZero();){for(var A=0,z=1;!(g.words[0]&z)&&A<26;++A,z<<=1);if(A>0)for(g.iushrn(A);A-- >0;)(x.isOdd()||S.isOdd())&&(x.iadd(P),S.isub(E)),x.iushrn(1),S.iushrn(1);for(var H=0,O=1;!(h.words[0]&O)&&H<26;++H,O<<=1);if(H>0)for(h.iushrn(H);H-- >0;)(T.isOdd()||k.isOdd())&&(T.iadd(P),k.isub(E)),T.iushrn(1),k.iushrn(1);g.cmp(h)>=0?(g.isub(h),x.isub(T),S.isub(k)):(h.isub(g),T.isub(x),k.isub(S))}return{a:T,b:k,gcd:h.iushln($)}},o.prototype._invmp=function(m){n(m.negative===0),n(!m.isZero());var g=this,h=m.clone();g.negative!==0?g=g.umod(m):g=g.clone();for(var x=new o(1),S=new o(0),T=h.clone();g.cmpn(1)>0&&h.cmpn(1)>0;){for(var k=0,$=1;!(g.words[0]&$)&&k<26;++k,$<<=1);if(k>0)for(g.iushrn(k);k-- >0;)x.isOdd()&&x.iadd(T),x.iushrn(1);for(var P=0,E=1;!(h.words[0]&E)&&P<26;++P,E<<=1);if(P>0)for(h.iushrn(P);P-- >0;)S.isOdd()&&S.iadd(T),S.iushrn(1);g.cmp(h)>=0?(g.isub(h),x.isub(S)):(h.isub(g),S.isub(x))}var A;return g.cmpn(1)===0?A=x:A=S,A.cmpn(0)<0&&A.iadd(m),A},o.prototype.gcd=function(m){if(this.isZero())return m.abs();if(m.isZero())return this.abs();var g=this.clone(),h=m.clone();g.negative=0,h.negative=0;for(var x=0;g.isEven()&&h.isEven();x++)g.iushrn(1),h.iushrn(1);do{for(;g.isEven();)g.iushrn(1);for(;h.isEven();)h.iushrn(1);var S=g.cmp(h);if(S<0){var T=g;g=h,h=T}else if(S===0||h.cmpn(1)===0)break;g.isub(h)}while(!0);return h.iushln(x)},o.prototype.invm=function(m){return this.egcd(m).a.umod(m)},o.prototype.isEven=function(){return(this.words[0]&1)===0},o.prototype.isOdd=function(){return(this.words[0]&1)===1},o.prototype.andln=function(m){return this.words[0]&m},o.prototype.bincn=function(m){n(typeof m=="number");var g=m%26,h=(m-g)/26,x=1<>>26,k&=67108863,this.words[T]=k}return S!==0&&(this.words[T]=S,this.length++),this},o.prototype.isZero=function(){return this.length===1&&this.words[0]===0},o.prototype.cmpn=function(m){var g=m<0;if(this.negative!==0&&!g)return-1;if(this.negative===0&&g)return 1;this.strip();var h;if(this.length>1)h=1;else{g&&(m=-m),n(m<=67108863,"Number is too big");var x=this.words[0]|0;h=x===m?0:xm.length)return 1;if(this.length=0;h--){var x=this.words[h]|0,S=m.words[h]|0;if(x!==S){xS&&(g=1);break}}return g},o.prototype.gtn=function(m){return this.cmpn(m)===1},o.prototype.gt=function(m){return this.cmp(m)===1},o.prototype.gten=function(m){return this.cmpn(m)>=0},o.prototype.gte=function(m){return this.cmp(m)>=0},o.prototype.ltn=function(m){return this.cmpn(m)===-1},o.prototype.lt=function(m){return this.cmp(m)===-1},o.prototype.lten=function(m){return this.cmpn(m)<=0},o.prototype.lte=function(m){return this.cmp(m)<=0},o.prototype.eqn=function(m){return this.cmpn(m)===0},o.prototype.eq=function(m){return this.cmp(m)===0},o.red=function(m){return new L(m)},o.prototype.toRed=function(m){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),m.convertTo(this)._forceRed(m)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(m){return this.red=m,this},o.prototype.forceRed=function(m){return n(!this.red,"Already a number in reduction context"),this._forceRed(m)},o.prototype.redAdd=function(m){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,m)},o.prototype.redIAdd=function(m){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,m)},o.prototype.redSub=function(m){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,m)},o.prototype.redISub=function(m){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,m)},o.prototype.redShl=function(m){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,m)},o.prototype.redMul=function(m){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,m),this.red.mul(this,m)},o.prototype.redIMul=function(m){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,m),this.red.imul(this,m)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(m){return n(this.red&&!m.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,m)};var M={k256:null,p224:null,p192:null,p25519:null};function B(R,m){this.name=R,this.p=new o(m,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}B.prototype._tmp=function(){var m=new o(null);return m.words=new Array(Math.ceil(this.n/13)),m},B.prototype.ireduce=function(m){var g=m,h;do this.split(g,this.tmp),g=this.imulK(g),g=g.iadd(this.tmp),h=g.bitLength();while(h>this.n);var x=h0?g.isub(this.p):g.strip!==void 0?g.strip():g._strip(),g},B.prototype.split=function(m,g){m.iushrn(this.n,0,g)},B.prototype.imulK=function(m){return m.imul(this.k)};function D(){B.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(D,B),D.prototype.split=function(m,g){for(var h=4194303,x=Math.min(m.length,9),S=0;S>>22,T=k}T>>>=22,m.words[S-10]=T,T===0&&m.length>10?m.length-=10:m.length-=9},D.prototype.imulK=function(m){m.words[m.length]=0,m.words[m.length+1]=0,m.length+=2;for(var g=0,h=0;h>>=26,m.words[h]=S,g=x}return g!==0&&(m.words[m.length++]=g),m},o._prime=function(m){if(M[m])return M[m];var g;if(m==="k256")g=new D;else if(m==="p224")g=new F;else if(m==="p192")g=new N;else if(m==="p25519")g=new _;else throw new Error("Unknown prime "+m);return M[m]=g,g};function L(R){if(typeof R=="string"){var m=o._prime(R);this.m=m.p,this.prime=m}else n(R.gtn(1),"modulus must be greater than 1"),this.m=R,this.prime=null}L.prototype._verify1=function(m){n(m.negative===0,"red works only with positives"),n(m.red,"red works only with red numbers")},L.prototype._verify2=function(m,g){n((m.negative|g.negative)===0,"red works only with positives"),n(m.red&&m.red===g.red,"red works only with red numbers")},L.prototype.imod=function(m){return this.prime?this.prime.ireduce(m)._forceRed(this):m.umod(this.m)._forceRed(this)},L.prototype.neg=function(m){return m.isZero()?m.clone():this.m.sub(m)._forceRed(this)},L.prototype.add=function(m,g){this._verify2(m,g);var h=m.add(g);return h.cmp(this.m)>=0&&h.isub(this.m),h._forceRed(this)},L.prototype.iadd=function(m,g){this._verify2(m,g);var h=m.iadd(g);return h.cmp(this.m)>=0&&h.isub(this.m),h},L.prototype.sub=function(m,g){this._verify2(m,g);var h=m.sub(g);return h.cmpn(0)<0&&h.iadd(this.m),h._forceRed(this)},L.prototype.isub=function(m,g){this._verify2(m,g);var h=m.isub(g);return h.cmpn(0)<0&&h.iadd(this.m),h},L.prototype.shl=function(m,g){return this._verify1(m),this.imod(m.ushln(g))},L.prototype.imul=function(m,g){return this._verify2(m,g),this.imod(m.imul(g))},L.prototype.mul=function(m,g){return this._verify2(m,g),this.imod(m.mul(g))},L.prototype.isqr=function(m){return this.imul(m,m.clone())},L.prototype.sqr=function(m){return this.mul(m,m)},L.prototype.sqrt=function(m){if(m.isZero())return m.clone();var g=this.m.andln(3);if(n(g%2===1),g===3){var h=this.m.add(new o(1)).iushrn(2);return this.pow(m,h)}for(var x=this.m.subn(1),S=0;!x.isZero()&&x.andln(1)===0;)S++,x.iushrn(1);n(!x.isZero());var T=new o(1).toRed(this),k=T.redNeg(),$=this.m.subn(1).iushrn(1),P=this.m.bitLength();for(P=new o(2*P*P).toRed(this);this.pow(P,$).cmp(k)!==0;)P.redIAdd(k);for(var E=this.pow(P,x),A=this.pow(m,x.addn(1).iushrn(1)),z=this.pow(m,x),H=S;z.cmp(T)!==0;){for(var O=z,V=0;O.cmp(T)!==0;V++)O=O.redSqr();n(V=0;S--){for(var E=g.words[S],A=P-1;A>=0;A--){var z=E>>A&1;if(T!==x[0]&&(T=this.sqr(T)),z===0&&k===0){$=0;continue}k<<=1,k|=z,$++,!($!==h&&(S!==0||A!==0))&&(T=this.mul(T,x[k]),$=0,k=0)}P=26}return T},L.prototype.convertTo=function(m){var g=m.umod(this.m);return g===m?g.clone():g},L.prototype.convertFrom=function(m){var g=m.clone();return g.red=null,g},o.mont=function(m){return new I(m)};function I(R){L.call(this,R),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}i(I,L),I.prototype.convertTo=function(m){return this.imod(m.ushln(this.shift))},I.prototype.convertFrom=function(m){var g=this.imod(m.mul(this.rinv));return g.red=null,g},I.prototype.imul=function(m,g){if(m.isZero()||g.isZero())return m.words[0]=0,m.length=1,m;var h=m.imul(g),x=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=h.isub(x).iushrn(this.shift),T=S;return S.cmp(this.m)>=0?T=S.isub(this.m):S.cmpn(0)<0&&(T=S.iadd(this.m)),T._forceRed(this)},I.prototype.mul=function(m,g){if(m.isZero()||g.isZero())return new o(0)._forceRed(this);var h=m.mul(g),x=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=h.isub(x).iushrn(this.shift),T=S;return S.cmp(this.m)>=0?T=S.isub(this.m):S.cmpn(0)<0&&(T=S.iadd(this.m)),T._forceRed(this)},I.prototype.invm=function(m){var g=this.imod(m._invmp(this.m).mul(this.r2));return g._forceRed(this)}})(e,st)})(y4);var ba=y4.exports,ml=RM;function RM(e,t){if(!e)throw new Error(t||"Assertion failed")}RM.equal=function(t,r,n){if(t!=r)throw new Error(n||"Assertion failed: "+t+" != "+r)};var w4={};(function(e){var t=e;function r(o,a){if(Array.isArray(o))return o.slice();if(!o)return[];var s=[];if(typeof o!="string"){for(var l=0;l>8,f=c&255;u?s.push(u,f):s.push(f)}return s}t.toArray=r;function n(o){return o.length===1?"0"+o:o}t.zero2=n;function i(o){for(var a="",s=0;s(v>>1)-1?C=(v>>1)-y:C=y,w.isubn(C)):C=0,b[p]=C,w.iushrn(1)}return b}t.getNAF=o;function a(u,f){var d=[[],[]];u=u.clone(),f=f.clone();for(var b=0,p=0,v;u.cmpn(-b)>0||f.cmpn(-p)>0;){var w=u.andln(3)+b&3,C=f.andln(3)+p&3;w===3&&(w=-1),C===3&&(C=-1);var y;w&1?(v=u.andln(7)+b&7,(v===3||v===5)&&C===2?y=-w:y=w):y=0,d[0].push(y);var M;C&1?(v=f.andln(7)+p&7,(v===3||v===5)&&w===2?M=-C:M=C):M=0,d[1].push(M),2*b===y+1&&(b=1-b),2*p===M+1&&(p=1-p),u.iushrn(1),f.iushrn(1)}return d}t.getJSF=a;function s(u,f,d){var b="_"+f;u.prototype[f]=function(){return this[b]!==void 0?this[b]:this[b]=d.call(this)}}t.cachedProperty=s;function l(u){return typeof u=="string"?t.toArray(u,"hex"):u}t.parseBytes=l;function c(u){return new r(u,"hex","le")}t.intFromLE=c})(ci);var S4={exports:{}},zm;S4.exports=function(t){return zm||(zm=new za(null)),zm.generate(t)};function za(e){this.rand=e}S4.exports.Rand=za;za.prototype.generate=function(t){return this._rand(t)};za.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var r=new Uint8Array(t),n=0;n0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var R1=ds;ds.prototype.point=function(){throw new Error("Not implemented")};ds.prototype.validate=function(){throw new Error("Not implemented")};ds.prototype._fixedNafMul=function(t,r){Yh(t.precomputed);var n=t._getDoubles(),i=Gh(r,1,this._bitLength),o=(1<=s;c--)l=(l<<1)+i[c];a.push(l)}for(var u=this.jpoint(null,null,null),f=this.jpoint(null,null,null),d=o;d>0;d--){for(s=0;s=0;l--){for(var c=0;l>=0&&a[l]===0;l--)c++;if(l>=0&&c++,s=s.dblp(c),l<0)break;var u=a[l];Yh(u!==0),t.type==="affine"?u>0?s=s.mixedAdd(o[u-1>>1]):s=s.mixedAdd(o[-u-1>>1].neg()):u>0?s=s.add(o[u-1>>1]):s=s.add(o[-u-1>>1].neg())}return t.type==="affine"?s.toP():s};ds.prototype._wnafMulAdd=function(t,r,n,i,o){var a=this._wnafT1,s=this._wnafT2,l=this._wnafT3,c=0,u,f,d;for(u=0;u=1;u-=2){var p=u-1,v=u;if(a[p]!==1||a[v]!==1){l[p]=Gh(n[p],a[p],this._bitLength),l[v]=Gh(n[v],a[v],this._bitLength),c=Math.max(l[p].length,c),c=Math.max(l[v].length,c);continue}var w=[r[p],null,null,r[v]];r[p].y.cmp(r[v].y)===0?(w[1]=r[p].add(r[v]),w[2]=r[p].toJ().mixedAdd(r[v].neg())):r[p].y.cmp(r[v].y.redNeg())===0?(w[1]=r[p].toJ().mixedAdd(r[v]),w[2]=r[p].add(r[v].neg())):(w[1]=r[p].toJ().mixedAdd(r[v]),w[2]=r[p].toJ().mixedAdd(r[v].neg()));var C=[-3,-1,-5,-7,0,7,5,1,3],y=AQ(n[p],n[v]);for(c=Math.max(y[0].length,c),l[p]=new Array(c),l[v]=new Array(c),f=0;f=0;u--){for(var N=0;u>=0;){var _=!0;for(f=0;f=0&&N++,D=D.dblp(N),u<0)break;for(f=0;f0?d=s[f][L-1>>1]:L<0&&(d=s[f][-L-1>>1].neg()),d.type==="affine"?D=D.mixedAdd(d):D=D.add(d))}}for(u=0;u=Math.ceil((t.bitLength()+1)/r.step):!1};zi.prototype._getDoubles=function(t,r){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],i=this,o=0;o=0&&(b=c,p=u),f.negative&&(f=f.neg(),d=d.neg()),b.negative&&(b=b.neg(),p=p.neg()),[{a:f,b:d},{a:b,b:p}]};ji.prototype._endoSplit=function(t){var r=this.endo.basis,n=r[0],i=r[1],o=i.b.mul(t).divRound(this.n),a=n.b.neg().mul(t).divRound(this.n),s=o.mul(n.a),l=a.mul(i.a),c=o.mul(n.b),u=a.mul(i.b),f=t.sub(s).sub(l),d=c.add(u).neg();return{k1:f,k2:d}};ji.prototype.pointFromX=function(t,r){t=new fr(t,16),t.red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),i=n.redSqrt();if(i.redSqr().redSub(n).cmp(this.zero)!==0)throw new Error("invalid point");var o=i.fromRed().isOdd();return(r&&!o||!r&&o)&&(i=i.redNeg()),this.point(t,i)};ji.prototype.validate=function(t){if(t.inf)return!0;var r=t.x,n=t.y,i=this.a.redMul(r),o=r.redSqr().redMul(r).redIAdd(i).redIAdd(this.b);return n.redSqr().redISub(o).cmpn(0)===0};ji.prototype._endoWnafMulAdd=function(t,r,n){for(var i=this._endoWnafT1,o=this._endoWnafT2,a=0;a":""};jr.prototype.isInfinity=function(){return this.inf};jr.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(this.x.cmp(t.x)===0)return this.curve.point(null,null);var r=this.y.redSub(t.y);r.cmpn(0)!==0&&(r=r.redMul(this.x.redSub(t.x).redInvm()));var n=r.redSqr().redISub(this.x).redISub(t.x),i=r.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,i)};jr.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(t.cmpn(0)===0)return this.curve.point(null,null);var r=this.curve.a,n=this.x.redSqr(),i=t.redInvm(),o=n.redAdd(n).redIAdd(n).redIAdd(r).redMul(i),a=o.redSqr().redISub(this.x.redAdd(this.x)),s=o.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,s)};jr.prototype.getX=function(){return this.x.fromRed()};jr.prototype.getY=function(){return this.y.fromRed()};jr.prototype.mul=function(t){return t=new fr(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)};jr.prototype.mulAdd=function(t,r,n){var i=[this,r],o=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,o):this.curve._wnafMulAdd(1,i,o,2)};jr.prototype.jmulAdd=function(t,r,n){var i=[this,r],o=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,o,!0):this.curve._wnafMulAdd(1,i,o,2,!0)};jr.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||this.x.cmp(t.x)===0&&this.y.cmp(t.y)===0)};jr.prototype.neg=function(t){if(this.inf)return this;var r=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,i=function(o){return o.neg()};r.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(i)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(i)}}}return r};jr.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var t=this.curve.jpoint(this.x,this.y,this.curve.one);return t};function Qr(e,t,r,n){ru.BasePoint.call(this,e,"jacobian"),t===null&&r===null&&n===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new fr(0)):(this.x=new fr(t,16),this.y=new fr(r,16),this.z=new fr(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}E4(Qr,ru.BasePoint);ji.prototype.jpoint=function(t,r,n){return new Qr(this,t,r,n)};Qr.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),r=t.redSqr(),n=this.x.redMul(r),i=this.y.redMul(r).redMul(t);return this.curve.point(n,i)};Qr.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};Qr.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var r=t.z.redSqr(),n=this.z.redSqr(),i=this.x.redMul(r),o=t.x.redMul(n),a=this.y.redMul(r.redMul(t.z)),s=t.y.redMul(n.redMul(this.z)),l=i.redSub(o),c=a.redSub(s);if(l.cmpn(0)===0)return c.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var u=l.redSqr(),f=u.redMul(l),d=i.redMul(u),b=c.redSqr().redIAdd(f).redISub(d).redISub(d),p=c.redMul(d.redISub(b)).redISub(a.redMul(f)),v=this.z.redMul(t.z).redMul(l);return this.curve.jpoint(b,p,v)};Qr.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var r=this.z.redSqr(),n=this.x,i=t.x.redMul(r),o=this.y,a=t.y.redMul(r).redMul(this.z),s=n.redSub(i),l=o.redSub(a);if(s.cmpn(0)===0)return l.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),u=c.redMul(s),f=n.redMul(c),d=l.redSqr().redIAdd(u).redISub(f).redISub(f),b=l.redMul(f.redISub(d)).redISub(o.redMul(u)),p=this.z.redMul(s);return this.curve.jpoint(d,b,p)};Qr.prototype.dblp=function(t){if(t===0)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var r;if(this.curve.zeroA||this.curve.threeA){var n=this;for(r=0;r=0)return!1;if(n.redIAdd(o),this.x.cmp(n)===0)return!0}};Qr.prototype.inspect=function(){return this.isInfinity()?"":""};Qr.prototype.isInfinity=function(){return this.z.cmpn(0)===0};var ec=ba,$M=T1,$1=R1,TQ=ci;function nu(e){$1.call(this,"mont",e),this.a=new ec(e.a,16).toRed(this.red),this.b=new ec(e.b,16).toRed(this.red),this.i4=new ec(4).toRed(this.red).redInvm(),this.two=new ec(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}$M(nu,$1);var $Q=nu;nu.prototype.validate=function(t){var r=t.normalize().x,n=r.redSqr(),i=n.redMul(r).redAdd(n.redMul(this.a)).redAdd(r),o=i.redSqrt();return o.redSqr().cmp(i)===0};function Lr(e,t,r){$1.BasePoint.call(this,e,"projective"),t===null&&r===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new ec(t,16),this.z=new ec(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}$M(Lr,$1.BasePoint);nu.prototype.decodePoint=function(t,r){return this.point(TQ.toArray(t,r),1)};nu.prototype.point=function(t,r){return new Lr(this,t,r)};nu.prototype.pointFromJSON=function(t){return Lr.fromJSON(this,t)};Lr.prototype.precompute=function(){};Lr.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())};Lr.fromJSON=function(t,r){return new Lr(t,r[0],r[1]||t.one)};Lr.prototype.inspect=function(){return this.isInfinity()?"":""};Lr.prototype.isInfinity=function(){return this.z.cmpn(0)===0};Lr.prototype.dbl=function(){var t=this.x.redAdd(this.z),r=t.redSqr(),n=this.x.redSub(this.z),i=n.redSqr(),o=r.redSub(i),a=r.redMul(i),s=o.redMul(i.redAdd(this.curve.a24.redMul(o)));return this.curve.point(a,s)};Lr.prototype.add=function(){throw new Error("Not supported on Montgomery curve")};Lr.prototype.diffAdd=function(t,r){var n=this.x.redAdd(this.z),i=this.x.redSub(this.z),o=t.x.redAdd(t.z),a=t.x.redSub(t.z),s=a.redMul(n),l=o.redMul(i),c=r.z.redMul(s.redAdd(l).redSqr()),u=r.x.redMul(s.redISub(l).redSqr());return this.curve.point(c,u)};Lr.prototype.mul=function(t){for(var r=t.clone(),n=this,i=this.curve.point(null,null),o=this,a=[];r.cmpn(0)!==0;r.iushrn(1))a.push(r.andln(1));for(var s=a.length-1;s>=0;s--)a[s]===0?(n=n.diffAdd(i,o),i=i.dbl()):(i=n.diffAdd(i,o),n=n.dbl());return i};Lr.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")};Lr.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")};Lr.prototype.eq=function(t){return this.getX().cmp(t.getX())===0};Lr.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this};Lr.prototype.getX=function(){return this.normalize(),this.x.fromRed()};var BQ=ci,Zo=ba,BM=T1,B1=R1,IQ=BQ.assert;function Do(e){this.twisted=(e.a|0)!==1,this.mOneA=this.twisted&&(e.a|0)===-1,this.extended=this.mOneA,B1.call(this,"edwards",e),this.a=new Zo(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new Zo(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new Zo(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),IQ(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(e.c|0)===1}BM(Do,B1);var FQ=Do;Do.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)};Do.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)};Do.prototype.jpoint=function(t,r,n,i){return this.point(t,r,n,i)};Do.prototype.pointFromX=function(t,r){t=new Zo(t,16),t.red||(t=t.toRed(this.red));var n=t.redSqr(),i=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),a=i.redMul(o.redInvm()),s=a.redSqrt();if(s.redSqr().redSub(a).cmp(this.zero)!==0)throw new Error("invalid point");var l=s.fromRed().isOdd();return(r&&!l||!r&&l)&&(s=s.redNeg()),this.point(t,s)};Do.prototype.pointFromY=function(t,r){t=new Zo(t,16),t.red||(t=t.toRed(this.red));var n=t.redSqr(),i=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),a=i.redMul(o.redInvm());if(a.cmp(this.zero)===0){if(r)throw new Error("invalid point");return this.point(this.zero,t)}var s=a.redSqrt();if(s.redSqr().redSub(a).cmp(this.zero)!==0)throw new Error("invalid point");return s.fromRed().isOdd()!==r&&(s=s.redNeg()),this.point(s,t)};Do.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var r=t.x.redSqr(),n=t.y.redSqr(),i=r.redMul(this.a).redAdd(n),o=this.c2.redMul(this.one.redAdd(this.d.redMul(r).redMul(n)));return i.cmp(o)===0};function qt(e,t,r,n,i){B1.BasePoint.call(this,e,"projective"),t===null&&r===null&&n===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new Zo(t,16),this.y=new Zo(r,16),this.z=n?new Zo(n,16):this.curve.one,this.t=i&&new Zo(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}BM(qt,B1.BasePoint);Do.prototype.pointFromJSON=function(t){return qt.fromJSON(this,t)};Do.prototype.point=function(t,r,n,i){return new qt(this,t,r,n,i)};qt.fromJSON=function(t,r){return new qt(t,r[0],r[1],r[2])};qt.prototype.inspect=function(){return this.isInfinity()?"":""};qt.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)};qt.prototype._extDbl=function(){var t=this.x.redSqr(),r=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var i=this.curve._mulA(t),o=this.x.redAdd(this.y).redSqr().redISub(t).redISub(r),a=i.redAdd(r),s=a.redSub(n),l=i.redSub(r),c=o.redMul(s),u=a.redMul(l),f=o.redMul(l),d=s.redMul(a);return this.curve.point(c,u,d,f)};qt.prototype._projDbl=function(){var t=this.x.redAdd(this.y).redSqr(),r=this.x.redSqr(),n=this.y.redSqr(),i,o,a,s,l,c;if(this.curve.twisted){s=this.curve._mulA(r);var u=s.redAdd(n);this.zOne?(i=t.redSub(r).redSub(n).redMul(u.redSub(this.curve.two)),o=u.redMul(s.redSub(n)),a=u.redSqr().redSub(u).redSub(u)):(l=this.z.redSqr(),c=u.redSub(l).redISub(l),i=t.redSub(r).redISub(n).redMul(c),o=u.redMul(s.redSub(n)),a=u.redMul(c))}else s=r.redAdd(n),l=this.curve._mulC(this.z).redSqr(),c=s.redSub(l).redSub(l),i=this.curve._mulC(t.redISub(s)).redMul(c),o=this.curve._mulC(s).redMul(r.redISub(n)),a=s.redMul(c);return this.curve.point(i,o,a)};qt.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()};qt.prototype._extAdd=function(t){var r=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),n=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),i=this.t.redMul(this.curve.dd).redMul(t.t),o=this.z.redMul(t.z.redAdd(t.z)),a=n.redSub(r),s=o.redSub(i),l=o.redAdd(i),c=n.redAdd(r),u=a.redMul(s),f=l.redMul(c),d=a.redMul(c),b=s.redMul(l);return this.curve.point(u,f,b,d)};qt.prototype._projAdd=function(t){var r=this.z.redMul(t.z),n=r.redSqr(),i=this.x.redMul(t.x),o=this.y.redMul(t.y),a=this.curve.d.redMul(i).redMul(o),s=n.redSub(a),l=n.redAdd(a),c=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(i).redISub(o),u=r.redMul(s).redMul(c),f,d;return this.curve.twisted?(f=r.redMul(l).redMul(o.redSub(this.curve._mulA(i))),d=s.redMul(l)):(f=r.redMul(l).redMul(o.redSub(i)),d=this.curve._mulC(s).redMul(l)),this.curve.point(u,f,d)};qt.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)};qt.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)};qt.prototype.mulAdd=function(t,r,n){return this.curve._wnafMulAdd(1,[this,r],[t,n],2,!1)};qt.prototype.jmulAdd=function(t,r,n){return this.curve._wnafMulAdd(1,[this,r],[t,n],2,!0)};qt.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this};qt.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())};qt.prototype.getX=function(){return this.normalize(),this.x.fromRed()};qt.prototype.getY=function(){return this.normalize(),this.y.fromRed()};qt.prototype.eq=function(t){return this===t||this.getX().cmp(t.getX())===0&&this.getY().cmp(t.getY())===0};qt.prototype.eqXToP=function(t){var r=t.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(r)===0)return!0;for(var n=t.clone(),i=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),this.x.cmp(r)===0)return!0}};qt.prototype.toP=qt.prototype.normalize;qt.prototype.mixedAdd=qt.prototype.add;(function(e){var t=e;t.base=R1,t.short=RQ,t.mont=$Q,t.edwards=FQ})(C4);var I1={},O0={},kt={},OQ=ml,DQ=T1;kt.inherits=DQ;function LQ(e,t){return(e.charCodeAt(t)&64512)!==55296||t<0||t+1>=e.length?!1:(e.charCodeAt(t+1)&64512)===56320}function NQ(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if(typeof e=="string")if(t){if(t==="hex")for(e=e.replace(/[^a-z0-9]+/ig,""),e.length%2!==0&&(e="0"+e),i=0;i>6|192,r[n++]=o&63|128):LQ(e,i)?(o=65536+((o&1023)<<10)+(e.charCodeAt(++i)&1023),r[n++]=o>>18|240,r[n++]=o>>12&63|128,r[n++]=o>>6&63|128,r[n++]=o&63|128):(r[n++]=o>>12|224,r[n++]=o>>6&63|128,r[n++]=o&63|128)}else for(i=0;i>>24|e>>>8&65280|e<<8&16711680|(e&255)<<24;return t>>>0}kt.htonl=IM;function jQ(e,t){for(var r="",n=0;n>>0}return o}kt.join32=UQ;function HQ(e,t){for(var r=new Array(e.length*4),n=0,i=0;n>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=o&255):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=o&255)}return r}kt.split32=HQ;function WQ(e,t){return e>>>t|e<<32-t}kt.rotr32=WQ;function VQ(e,t){return e<>>32-t}kt.rotl32=VQ;function qQ(e,t){return e+t>>>0}kt.sum32=qQ;function KQ(e,t,r){return e+t+r>>>0}kt.sum32_3=KQ;function GQ(e,t,r,n){return e+t+r+n>>>0}kt.sum32_4=GQ;function YQ(e,t,r,n,i){return e+t+r+n+i>>>0}kt.sum32_5=YQ;function XQ(e,t,r,n){var i=e[t],o=e[t+1],a=n+o>>>0,s=(a>>0,e[t+1]=a}kt.sum64=XQ;function JQ(e,t,r,n){var i=t+n>>>0,o=(i>>0}kt.sum64_hi=JQ;function ZQ(e,t,r,n){var i=t+n;return i>>>0}kt.sum64_lo=ZQ;function QQ(e,t,r,n,i,o,a,s){var l=0,c=t;c=c+n>>>0,l+=c>>0,l+=c>>0,l+=c>>0}kt.sum64_4_hi=QQ;function eee(e,t,r,n,i,o,a,s){var l=t+n+o+s;return l>>>0}kt.sum64_4_lo=eee;function tee(e,t,r,n,i,o,a,s,l,c){var u=0,f=t;f=f+n>>>0,u+=f>>0,u+=f>>0,u+=f>>0,u+=f>>0}kt.sum64_5_hi=tee;function ree(e,t,r,n,i,o,a,s,l,c){var u=t+n+o+s+c;return u>>>0}kt.sum64_5_lo=ree;function nee(e,t,r){var n=t<<32-r|e>>>r;return n>>>0}kt.rotr64_hi=nee;function iee(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}kt.rotr64_lo=iee;function oee(e,t,r){return e>>>r}kt.shr64_hi=oee;function aee(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}kt.shr64_lo=aee;var iu={},q5=kt,see=ml;function F1(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}iu.BlockHash=F1;F1.prototype.update=function(t,r){if(t=q5.toArray(t,r),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){t=this.pending;var n=t.length%this._delta8;this.pending=t.slice(t.length-n,t.length),this.pending.length===0&&(this.pending=null),t=q5.join32(t,0,t.length-n,this.endian);for(var i=0;i>>24&255,i[o++]=t>>>16&255,i[o++]=t>>>8&255,i[o++]=t&255}else for(i[o++]=t&255,i[o++]=t>>>8&255,i[o++]=t>>>16&255,i[o++]=t>>>24&255,i[o++]=0,i[o++]=0,i[o++]=0,i[o++]=0,a=8;a>>3}Lo.g0_256=dee;function hee(e){return ko(e,17)^ko(e,19)^e>>>10}Lo.g1_256=hee;var Dc=kt,pee=iu,xee=Lo,jm=Dc.rotl32,Fu=Dc.sum32,mee=Dc.sum32_5,gee=xee.ft_1,zM=pee.BlockHash,vee=[1518500249,1859775393,2400959708,3395469782];function $o(){if(!(this instanceof $o))return new $o;zM.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}Dc.inherits($o,zM);var bee=$o;$o.blockSize=512;$o.outSize=160;$o.hmacStrength=80;$o.padLength=64;$o.prototype._update=function(t,r){for(var n=this.W,i=0;i<16;i++)n[i]=t[r+i];for(;ithis.blockSize&&(t=new this.Hash().update(t).digest()),ate(t.length<=this.blockSize);for(var r=t.length;r=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}var ute=ts;ts.prototype._init=function(t,r,n){var i=t.concat(r).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var o=0;o=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1};ts.prototype.generate=function(t,r,n,i){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof r!="string"&&(i=n,n=r,r=null),n&&(n=Ks.toArray(n,i||"hex"),this._update(n));for(var o=[];o.length"};var Xh=ba,M4=ci,pte=M4.assert;function O1(e,t){if(e instanceof O1)return e;this._importDER(e,t)||(pte(e.r&&e.s,"Signature without r or s"),this.r=new Xh(e.r,16),this.s=new Xh(e.s,16),e.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var xte=O1;function mte(){this.place=0}function Vm(e,t){var r=e[t.place++];if(!(r&128))return r;var n=r&15;if(n===0||n>4)return!1;for(var i=0,o=0,a=t.place;o>>=0;return i<=127?!1:(t.place=a,i)}function J5(e){for(var t=0,r=e.length-1;!e[t]&&!(e[t+1]&128)&&t>>3);for(e.push(r|128);--r;)e.push(t>>>(r<<3)&255);e.push(t)}O1.prototype.toDER=function(t){var r=this.r.toArray(),n=this.s.toArray();for(r[0]&128&&(r=[0].concat(r)),n[0]&128&&(n=[0].concat(n)),r=J5(r),n=J5(n);!n[0]&&!(n[1]&128);)n=n.slice(1);var i=[2];qm(i,r.length),i=i.concat(r),i.push(2),qm(i,n.length);var o=i.concat(n),a=[48];return qm(a,o.length),a=a.concat(o),M4.encode(a,t)};var Gs=ba,ZM=ute,gte=ci,Km=I1,vte=TM,QM=gte.assert,P4=hte,D1=xte;function Fi(e){if(!(this instanceof Fi))return new Fi(e);typeof e=="string"&&(QM(Object.prototype.hasOwnProperty.call(Km,e),"Unknown curve "+e),e=Km[e]),e instanceof Km.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var bte=Fi;Fi.prototype.keyPair=function(t){return new P4(this,t)};Fi.prototype.keyFromPrivate=function(t,r){return P4.fromPrivate(this,t,r)};Fi.prototype.keyFromPublic=function(t,r){return P4.fromPublic(this,t,r)};Fi.prototype.genKeyPair=function(t){t||(t={});for(var r=new ZM({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||vte(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),i=this.n.sub(new Gs(2));;){var o=new Gs(r.generate(n));if(!(o.cmp(i)>0))return o.iaddn(1),this.keyFromPrivate(o)}};Fi.prototype._truncateToN=function(t,r){var n=t.byteLength()*8-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!r&&t.cmp(this.n)>=0?t.sub(this.n):t};Fi.prototype.sign=function(t,r,n,i){typeof n=="object"&&(i=n,n=null),i||(i={}),r=this.keyFromPrivate(r,n),t=this._truncateToN(new Gs(t,16));for(var o=this.n.byteLength(),a=r.getPrivate().toArray("be",o),s=t.toArray("be",o),l=new ZM({hash:this.hash,entropy:a,nonce:s,pers:i.pers,persEnc:i.persEnc||"utf8"}),c=this.n.sub(new Gs(1)),u=0;;u++){var f=i.k?i.k(u):new Gs(l.generate(this.n.byteLength()));if(f=this._truncateToN(f,!0),!(f.cmpn(1)<=0||f.cmp(c)>=0)){var d=this.g.mul(f);if(!d.isInfinity()){var b=d.getX(),p=b.umod(this.n);if(p.cmpn(0)!==0){var v=f.invm(this.n).mul(p.mul(r.getPrivate()).iadd(t));if(v=v.umod(this.n),v.cmpn(0)!==0){var w=(d.getY().isOdd()?1:0)|(b.cmp(p)!==0?2:0);return i.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),w^=1),new D1({r:p,s:v,recoveryParam:w})}}}}}};Fi.prototype.verify=function(t,r,n,i){t=this._truncateToN(new Gs(t,16)),n=this.keyFromPublic(n,i),r=new D1(r,"hex");var o=r.r,a=r.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0||a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s=a.invm(this.n),l=s.mul(t).umod(this.n),c=s.mul(o).umod(this.n),u;return this.curve._maxwellTrick?(u=this.g.jmulAdd(l,n.getPublic(),c),u.isInfinity()?!1:u.eqXToP(o)):(u=this.g.mulAdd(l,n.getPublic(),c),u.isInfinity()?!1:u.getX().umod(this.n).cmp(o)===0)};Fi.prototype.recoverPubKey=function(e,t,r,n){QM((3&r)===r,"The recovery param is more than two bits"),t=new D1(t,n);var i=this.n,o=new Gs(e),a=t.r,s=t.s,l=r&1,c=r>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");c?a=this.curve.pointFromX(a.add(this.curve.n),l):a=this.curve.pointFromX(a,l);var u=t.r.invm(i),f=i.sub(o).mul(u).umod(i),d=s.mul(u).umod(i);return this.g.mulAdd(f,a,d)};Fi.prototype.getKeyRecoveryParam=function(e,t,r,n){if(t=new D1(t,n),t.recoveryParam!==null)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch{continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")};var D0=ci,eP=D0.assert,Z5=D0.parseBytes,su=D0.cachedProperty;function Dr(e,t){this.eddsa=e,this._secret=Z5(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=Z5(t.pub)}Dr.fromPublic=function(t,r){return r instanceof Dr?r:new Dr(t,{pub:r})};Dr.fromSecret=function(t,r){return r instanceof Dr?r:new Dr(t,{secret:r})};Dr.prototype.secret=function(){return this._secret};su(Dr,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())});su(Dr,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())});su(Dr,"privBytes",function(){var t=this.eddsa,r=this.hash(),n=t.encodingLength-1,i=r.slice(0,t.encodingLength);return i[0]&=248,i[n]&=127,i[n]|=64,i});su(Dr,"priv",function(){return this.eddsa.decodeInt(this.privBytes())});su(Dr,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()});su(Dr,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)});Dr.prototype.sign=function(t){return eP(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)};Dr.prototype.verify=function(t,r){return this.eddsa.verify(t,r,this)};Dr.prototype.getSecret=function(t){return eP(this._secret,"KeyPair is public only"),D0.encode(this.secret(),t)};Dr.prototype.getPublic=function(t){return D0.encode(this.pubBytes(),t)};var yte=Dr,wte=ba,L1=ci,Ste=L1.assert,N1=L1.cachedProperty,Cte=L1.parseBytes;function gl(e,t){this.eddsa=e,typeof t!="object"&&(t=Cte(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),Ste(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof wte&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}N1(gl,"S",function(){return this.eddsa.decodeInt(this.Sencoded())});N1(gl,"R",function(){return this.eddsa.decodePoint(this.Rencoded())});N1(gl,"Rencoded",function(){return this.eddsa.encodePoint(this.R())});N1(gl,"Sencoded",function(){return this.eddsa.encodeInt(this.S())});gl.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())};gl.prototype.toHex=function(){return L1.encode(this.toBytes(),"hex").toUpperCase()};var Ete=gl,Mte=O0,Pte=I1,zc=ci,Ate=zc.assert,tP=zc.parseBytes,rP=yte,Q5=Ete;function jn(e){if(Ate(e==="ed25519","only tested with ed25519 so far"),!(this instanceof jn))return new jn(e);e=Pte[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=Mte.sha512}var kte=jn;jn.prototype.sign=function(t,r){t=tP(t);var n=this.keyFromSecret(r),i=this.hashInt(n.messagePrefix(),t),o=this.g.mul(i),a=this.encodePoint(o),s=this.hashInt(a,n.pubBytes(),t).mul(n.priv()),l=i.add(s).umod(this.curve.n);return this.makeSignature({R:o,S:l,Rencoded:a})};jn.prototype.verify=function(t,r,n){t=tP(t),r=this.makeSignature(r);var i=this.keyFromPublic(n),o=this.hashInt(r.Rencoded(),i.pubBytes(),t),a=this.g.mul(r.S()),s=r.R().add(i.pub().mul(o));return s.eq(a)};jn.prototype.hashInt=function(){for(var t=this.hash(),r=0;r>5,this.byteCount=this.blockCount<<2,this.outputBlocks=K>>5,this.extraBytes=(K&31)>>3;for(var Z=0;Z<50;++Z)this.s[Z]=0}X.prototype.update=function(j){if(this.finalized)throw new Error(r);var q=F(j);j=q[0];for(var K=q[1],Z=this.blocks,te=this.byteCount,Q=j.length,oe=this.blockCount,me=0,se=this.s,ye,Re;me>2]|=Re<>2]|=(192|Re>>6)<>2]|=(128|Re&63)<=57344?(Z[ye>>2]|=(224|Re>>12)<>2]|=(128|Re>>6&63)<>2]|=(128|Re&63)<>2]|=(240|Re>>18)<>2]|=(128|Re>>12&63)<>2]|=(128|Re>>6&63)<>2]|=(128|Re&63)<>2]|=j[me]<=te){for(this.start=ye-te,this.block=Z[oe],ye=0;ye>8,K=j&255;K>0;)te.unshift(K),j=j>>8,K=j&255,++Z;return q?te.push(Z):te.unshift(Z),this.update(te),te.length},X.prototype.encodeString=function(j){var q=F(j);j=q[0];var K=q[1],Z=0,te=j.length;if(K)for(var Q=0;Q=57344?Z+=3:(oe=65536+((oe&1023)<<10|j.charCodeAt(++Q)&1023),Z+=4)}else Z=te;return Z+=this.encode(Z*8),this.update(j),Z},X.prototype.bytepad=function(j,q){for(var K=this.encode(q),Z=0;Z>2]|=this.padding[q&3],this.lastByteIndex===this.byteCount)for(j[0]=j[K],q=1;q>4&15]+c[me&15]+c[me>>12&15]+c[me>>8&15]+c[me>>20&15]+c[me>>16&15]+c[me>>28&15]+c[me>>24&15];Q%j===0&&(q=_(q),G(q),te=0)}return Z&&(me=q[te],oe+=c[me>>4&15]+c[me&15],Z>1&&(oe+=c[me>>12&15]+c[me>>8&15]),Z>2&&(oe+=c[me>>20&15]+c[me>>16&15])),oe},X.prototype.arrayBuffer=function(){this.finalize();var j=this.blockCount,q=this.s,K=this.outputBlocks,Z=this.extraBytes,te=0,Q=0,oe=this.outputBits>>3,me;Z?me=new ArrayBuffer(K+1<<2):me=new ArrayBuffer(oe);for(var se=new Uint32Array(me);Q>8&255,oe[me+2]=se>>16&255,oe[me+3]=se>>24&255;Q%j===0&&(q=_(q),G(q))}return Z&&(me=Q<<2,se=q[te],oe[me]=se&255,Z>1&&(oe[me+1]=se>>8&255),Z>2&&(oe[me+2]=se>>16&255)),oe};function J(j,q,K){X.call(this,j,q,K)}J.prototype=new X,J.prototype.finalize=function(){return this.encode(this.outputBits,!0),X.prototype.finalize.call(this)};var G=function(j){var q,K,Z,te,Q,oe,me,se,ye,Re,we,He,Ue,Me,Ze,Je,Ne,De,de,Ie,ot,lt,ge,ze,le,xe,je,We,Fe,Qe,ut,Ge,ee,re,ne,pe,ke,Te,$e,Pe,ce,_e,Ve,Ce,Xe,dt,qe,ht,mt,rt,ae,ie,ve,Ae,Ye,Le,pt,Bt,gt,St,Ht,Hr,Cn;for(Z=0;Z<48;Z+=2)te=j[0]^j[10]^j[20]^j[30]^j[40],Q=j[1]^j[11]^j[21]^j[31]^j[41],oe=j[2]^j[12]^j[22]^j[32]^j[42],me=j[3]^j[13]^j[23]^j[33]^j[43],se=j[4]^j[14]^j[24]^j[34]^j[44],ye=j[5]^j[15]^j[25]^j[35]^j[45],Re=j[6]^j[16]^j[26]^j[36]^j[46],we=j[7]^j[17]^j[27]^j[37]^j[47],He=j[8]^j[18]^j[28]^j[38]^j[48],Ue=j[9]^j[19]^j[29]^j[39]^j[49],q=He^(oe<<1|me>>>31),K=Ue^(me<<1|oe>>>31),j[0]^=q,j[1]^=K,j[10]^=q,j[11]^=K,j[20]^=q,j[21]^=K,j[30]^=q,j[31]^=K,j[40]^=q,j[41]^=K,q=te^(se<<1|ye>>>31),K=Q^(ye<<1|se>>>31),j[2]^=q,j[3]^=K,j[12]^=q,j[13]^=K,j[22]^=q,j[23]^=K,j[32]^=q,j[33]^=K,j[42]^=q,j[43]^=K,q=oe^(Re<<1|we>>>31),K=me^(we<<1|Re>>>31),j[4]^=q,j[5]^=K,j[14]^=q,j[15]^=K,j[24]^=q,j[25]^=K,j[34]^=q,j[35]^=K,j[44]^=q,j[45]^=K,q=se^(He<<1|Ue>>>31),K=ye^(Ue<<1|He>>>31),j[6]^=q,j[7]^=K,j[16]^=q,j[17]^=K,j[26]^=q,j[27]^=K,j[36]^=q,j[37]^=K,j[46]^=q,j[47]^=K,q=Re^(te<<1|Q>>>31),K=we^(Q<<1|te>>>31),j[8]^=q,j[9]^=K,j[18]^=q,j[19]^=K,j[28]^=q,j[29]^=K,j[38]^=q,j[39]^=K,j[48]^=q,j[49]^=K,Me=j[0],Ze=j[1],dt=j[11]<<4|j[10]>>>28,qe=j[10]<<4|j[11]>>>28,We=j[20]<<3|j[21]>>>29,Fe=j[21]<<3|j[20]>>>29,St=j[31]<<9|j[30]>>>23,Ht=j[30]<<9|j[31]>>>23,_e=j[40]<<18|j[41]>>>14,Ve=j[41]<<18|j[40]>>>14,re=j[2]<<1|j[3]>>>31,ne=j[3]<<1|j[2]>>>31,Je=j[13]<<12|j[12]>>>20,Ne=j[12]<<12|j[13]>>>20,ht=j[22]<<10|j[23]>>>22,mt=j[23]<<10|j[22]>>>22,Qe=j[33]<<13|j[32]>>>19,ut=j[32]<<13|j[33]>>>19,Hr=j[42]<<2|j[43]>>>30,Cn=j[43]<<2|j[42]>>>30,Ae=j[5]<<30|j[4]>>>2,Ye=j[4]<<30|j[5]>>>2,pe=j[14]<<6|j[15]>>>26,ke=j[15]<<6|j[14]>>>26,De=j[25]<<11|j[24]>>>21,de=j[24]<<11|j[25]>>>21,rt=j[34]<<15|j[35]>>>17,ae=j[35]<<15|j[34]>>>17,Ge=j[45]<<29|j[44]>>>3,ee=j[44]<<29|j[45]>>>3,ze=j[6]<<28|j[7]>>>4,le=j[7]<<28|j[6]>>>4,Le=j[17]<<23|j[16]>>>9,pt=j[16]<<23|j[17]>>>9,Te=j[26]<<25|j[27]>>>7,$e=j[27]<<25|j[26]>>>7,Ie=j[36]<<21|j[37]>>>11,ot=j[37]<<21|j[36]>>>11,ie=j[47]<<24|j[46]>>>8,ve=j[46]<<24|j[47]>>>8,Ce=j[8]<<27|j[9]>>>5,Xe=j[9]<<27|j[8]>>>5,xe=j[18]<<20|j[19]>>>12,je=j[19]<<20|j[18]>>>12,Bt=j[29]<<7|j[28]>>>25,gt=j[28]<<7|j[29]>>>25,Pe=j[38]<<8|j[39]>>>24,ce=j[39]<<8|j[38]>>>24,lt=j[48]<<14|j[49]>>>18,ge=j[49]<<14|j[48]>>>18,j[0]=Me^~Je&De,j[1]=Ze^~Ne&de,j[10]=ze^~xe&We,j[11]=le^~je&Fe,j[20]=re^~pe&Te,j[21]=ne^~ke&$e,j[30]=Ce^~dt&ht,j[31]=Xe^~qe&mt,j[40]=Ae^~Le&Bt,j[41]=Ye^~pt>,j[2]=Je^~De&Ie,j[3]=Ne^~de&ot,j[12]=xe^~We&Qe,j[13]=je^~Fe&ut,j[22]=pe^~Te&Pe,j[23]=ke^~$e&ce,j[32]=dt^~ht&rt,j[33]=qe^~mt&ae,j[42]=Le^~Bt&St,j[43]=pt^~gt&Ht,j[4]=De^~Ie<,j[5]=de^~ot&ge,j[14]=We^~Qe&Ge,j[15]=Fe^~ut&ee,j[24]=Te^~Pe&_e,j[25]=$e^~ce&Ve,j[34]=ht^~rt&ie,j[35]=mt^~ae&ve,j[44]=Bt^~St&Hr,j[45]=gt^~Ht&Cn,j[6]=Ie^~lt&Me,j[7]=ot^~ge&Ze,j[16]=Qe^~Ge&ze,j[17]=ut^~ee&le,j[26]=Pe^~_e&re,j[27]=ce^~Ve&ne,j[36]=rt^~ie&Ce,j[37]=ae^~ve&Xe,j[46]=St^~Hr&Ae,j[47]=Ht^~Cn&Ye,j[8]=lt^~Me&Je,j[9]=ge^~Ze&Ne,j[18]=Ge^~ze&xe,j[19]=ee^~le&je,j[28]=_e^~re&pe,j[29]=Ve^~ne&ke,j[38]=ie^~Ce&dt,j[39]=ve^~Xe&qe,j[48]=Hr^~Ae&Le,j[49]=Cn^~Ye&pt,j[0]^=v[Z],j[1]^=v[Z+1]};if(s)e.exports=$;else for(E=0;E0?S(j,q,K):K<0?T(j,q,K):w(j,q,a,0))}function H(G,j,q,K){var Z=0,te=q.length,Q=0,oe=0;q[0]==="-"&&Z++;for(var me=Z;Z=0))break;oe=oe*K+se,Q=Q*K+Math.floor(oe/l),oe%=l}me&&(Q=~Q,oe?oe=l-oe:Q++),X(G,j+I,Q),X(G,j+R,oe)}function O(){var G=this.buffer,j=this.offset,q=J(G,j+I),K=J(G,j+R);return L||(q|=0),q?q*l+K:K}function V(G){var j=this.buffer,q=this.offset,K=J(j,q+I),Z=J(j,q+R),te="",Q=!L&&K&2147483648;for(Q&&(K=~K,Z=l-Z),G=G||10;;){var oe=K%G*l+Z;if(K=Math.floor(K/G),Z=Math.floor(oe/G),te=(oe%G).toString(G)+te,!K&&!Z)break}return Q&&(te="-"+te),te}function X(G,j,q){G[j+x]=q&255,q=q>>8,G[j+h]=q&255,q=q>>8,G[j+g]=q&255,q=q>>8,G[j+m]=q&255}function J(G,j){return G[j+m]*c+(G[j+g]<<16)+(G[j+h]<<8)+G[j+x]}}function d(N){var _=this.buffer,L=this.offset;return u=null,N!==!1&&s(_)?_.length===8?_:_.slice(L,L+8):C(_,L)}function b(N){var _=this.buffer,L=this.offset;return u=n,N!==!1&&n.isBuffer(_)?_.length===8?_:_.slice(L,L+8):n.from(p.call(this,N))}function p(N){var _=this.buffer,L=this.offset,I=_.buffer;if(u=i,N!==!1&&!_.offset&&I instanceof o)return I.byteLength===8?I:I.slice(L,L+8);var R=new i(8);return w(R,0,_,L),R.buffer}function v(N,_){var L=N&&N.length;return _|=0,L&&_+8<=L&&typeof N[_]!="string"}function w(N,_,L,I){_|=0,I|=0;for(var R=0;R<8;R++)N[_++]=L[I++]&255}function C(N,_){return Array.prototype.slice.call(N,_,_+8)}function y(N,_,L){for(var I=_+8;I>_;)N[--I]=L&255,L/=256}function M(N,_,L){var I=_+8;for(L++;I>_;)N[--I]=-L&255^255,L/=256}function B(N,_,L){for(var I=_+8;_"u")throw new Error(t)}function jc(e,t){if(!e)try{throw new Error(t)}catch{}}function Gte(){return Math.random().toString(36).substr(2,8)}function n7(e,t){return{usr:e.state,key:e.key,idx:t}}function i0(e,t,r,n){return r===void 0&&(r=null),ur({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ya(t):t,{state:r,key:t&&t.key||n||Gte()})}function sl(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function ya(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function Yte(e,t,r,n){n===void 0&&(n={});let{window:i=document.defaultView,v5Compat:o=!1}=n,a=i.history,s=hr.Pop,l=null,c=u();c==null&&(c=0,a.replaceState(ur({},a.state,{idx:c}),""));function u(){return(a.state||{idx:null}).idx}function f(){s=hr.Pop;let w=u(),C=w==null?null:w-c;c=w,l&&l({action:s,location:v.location,delta:C})}function d(w,C){s=hr.Push;let y=i0(v.location,w,C);r&&r(y,w),c=u()+1;let M=n7(y,c),B=v.createHref(y);try{a.pushState(M,"",B)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;i.location.assign(B)}o&&l&&l({action:s,location:v.location,delta:1})}function b(w,C){s=hr.Replace;let y=i0(v.location,w,C);r&&r(y,w),c=u();let M=n7(y,c),B=v.createHref(y);a.replaceState(M,"",B),o&&l&&l({action:s,location:v.location,delta:0})}function p(w){let C=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof w=="string"?w:sl(w);return y=y.replace(/ $/,"%20"),Mt(C,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,C)}let v={get action(){return s},get location(){return e(i,a)},listen(w){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(r7,f),l=w,()=>{i.removeEventListener(r7,f),l=null}},createHref(w){return t(i,w)},createURL:p,encodeLocation(w){let C=p(w);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:d,replace:b,go(w){return a.go(w)}};return v}var lr;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(lr||(lr={}));const Xte=new Set(["lazy","caseSensitive","path","id","index","children"]);function Jte(e){return e.index===!0}function t2(e,t,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),e.map((i,o)=>{let a=[...r,o],s=typeof i.id=="string"?i.id:a.join("-");if(Mt(i.index!==!0||!i.children,"Cannot specify children on an index route"),Mt(!n[s],'Found a route id collision on id "'+s+`". Route id's must be globally unique within Data Router usages`),Jte(i)){let l=ur({},i,t(i),{id:s});return n[s]=l,l}else{let l=ur({},i,t(i),{id:s,children:void 0});return n[s]=l,i.children&&(l.children=t2(i.children,t,a,n)),l}})}function tc(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?ya(t):t,i=lu(n.pathname||"/",r);if(i==null)return null;let o=iP(e);Qte(o);let a=null;for(let s=0;a==null&&s{let l={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:a,route:o};l.relativePath.startsWith("/")&&(Mt(l.relativePath.startsWith(n),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(n.length));let c=ra([n,l.relativePath]),u=r.concat(l);o.children&&o.children.length>0&&(Mt(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),iP(o.children,t,u,c)),!(o.path==null&&!o.index)&&t.push({path:c,score:are(c,o.index),routesMeta:u})};return e.forEach((o,a)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))i(o,a);else for(let l of oP(o.path))i(o,a,l)}),t}function oP(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,i=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return i?[o,""]:[o];let a=oP(n.join("/")),s=[];return s.push(...a.map(l=>l===""?o:[o,l].join("/"))),i&&s.push(...a),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function Qte(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:sre(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const ere=/^:[\w-]+$/,tre=3,rre=2,nre=1,ire=10,ore=-2,i7=e=>e==="*";function are(e,t){let r=e.split("/"),n=r.length;return r.some(i7)&&(n+=ore),t&&(n+=rre),r.filter(i=>!i7(i)).reduce((i,o)=>i+(ere.test(o)?tre:o===""?nre:ire),n)}function sre(e,t){return e.length===t.length&&e.slice(0,-1).every((n,i)=>n===t[i])?e[e.length-1]-t[t.length-1]:0}function lre(e,t){let{routesMeta:r}=e,n={},i="/",o=[];for(let a=0;a{let{paramName:d,isOptional:b}=u;if(d==="*"){let v=s[f]||"";a=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const p=s[f];return b&&!p?c[d]=void 0:c[d]=(p||"").replace(/%2F/g,"/"),c},{}),pathname:o,pathnameBase:a,pattern:e}}function ure(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),jc(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,s,l)=>(n.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}function fre(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return jc(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function lu(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function dre(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:i=""}=typeof e=="string"?ya(e):e;return{pathname:r?r.startsWith("/")?r:hre(r,t):t,search:xre(n),hash:mre(i)}}function hre(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function Ym(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function aP(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function z1(e,t){let r=aP(e);return t?r.map((n,i)=>i===e.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function j1(e,t,r,n){n===void 0&&(n=!1);let i;typeof e=="string"?i=ya(e):(i=ur({},e),Mt(!i.pathname||!i.pathname.includes("?"),Ym("?","pathname","search",i)),Mt(!i.pathname||!i.pathname.includes("#"),Ym("#","pathname","hash",i)),Mt(!i.search||!i.search.includes("#"),Ym("#","search","hash",i)));let o=e===""||i.pathname==="",a=o?"/":i.pathname,s;if(a==null)s=r;else{let f=t.length-1;if(!n&&a.startsWith("..")){let d=a.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}s=f>=0?t[f]:"/"}let l=dre(i,s),c=a&&a!=="/"&&a.endsWith("/"),u=(o||a===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const ra=e=>e.join("/").replace(/\/\/+/g,"/"),pre=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),xre=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,mre=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class T4{constructor(t,r,n,i){i===void 0&&(i=!1),this.status=t,this.statusText=r||"",this.internal=i,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function sP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const lP=["post","put","patch","delete"],gre=new Set(lP),vre=["get",...lP],bre=new Set(vre),yre=new Set([301,302,303,307,308]),wre=new Set([307,308]),Xm={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Sre={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Du={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},cP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Cre=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),uP="remix-router-transitions";function Ere(e){const t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",n=!r;Mt(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let ee=e.detectErrorBoundary;i=re=>({hasErrorBoundary:ee(re)})}else i=Cre;let o={},a=t2(e.routes,i,void 0,o),s,l=e.basename||"/",c=ur({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},e.future),u=null,f=new Set,d=null,b=null,p=null,v=e.hydrationData!=null,w=tc(a,e.history.location,l),C=null;if(w==null){let ee=mi(404,{pathname:e.history.location.pathname}),{matches:re,route:ne}=d7(a);w=re,C={[ne.id]:ee}}let y,M=w.some(ee=>ee.route.lazy),B=w.some(ee=>ee.route.loader);if(M)y=!1;else if(!B)y=!0;else if(c.v7_partialHydration){let ee=e.hydrationData?e.hydrationData.loaderData:null,re=e.hydrationData?e.hydrationData.errors:null,ne=pe=>pe.route.loader?pe.route.loader.hydrate===!0?!1:ee&&ee[pe.route.id]!==void 0||re&&re[pe.route.id]!==void 0:!0;if(re){let pe=w.findIndex(ke=>re[ke.route.id]!==void 0);y=w.slice(0,pe+1).every(ne)}else y=w.every(ne)}else y=e.hydrationData!=null;let D,F={historyAction:e.history.action,location:e.history.location,matches:w,initialized:y,navigation:Xm,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||C,fetchers:new Map,blockers:new Map},N=hr.Pop,_=!1,L,I=!1,R=new Map,m=null,g=!1,h=!1,x=[],S=[],T=new Map,k=0,$=-1,P=new Map,E=new Set,A=new Map,z=new Map,H=new Set,O=new Map,V=new Map,X=!1;function J(){if(u=e.history.listen(ee=>{let{action:re,location:ne,delta:pe}=ee;if(X){X=!1;return}jc(V.size===0||pe!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let ke=xe({currentLocation:F.location,nextLocation:ne,historyAction:re});if(ke&&pe!=null){X=!0,e.history.go(pe*-1),le(ke,{state:"blocked",location:ne,proceed(){le(ke,{state:"proceeding",proceed:void 0,reset:void 0,location:ne}),e.history.go(pe)},reset(){let Te=new Map(F.blockers);Te.set(ke,Du),q({blockers:Te})}});return}return Q(re,ne)}),r){Fre(t,R);let ee=()=>Ore(t,R);t.addEventListener("pagehide",ee),m=()=>t.removeEventListener("pagehide",ee)}return F.initialized||Q(hr.Pop,F.location,{initialHydration:!0}),D}function G(){u&&u(),m&&m(),f.clear(),L&&L.abort(),F.fetchers.forEach((ee,re)=>Ne(re)),F.blockers.forEach((ee,re)=>ze(re))}function j(ee){return f.add(ee),()=>f.delete(ee)}function q(ee,re){re===void 0&&(re={}),F=ur({},F,ee);let ne=[],pe=[];c.v7_fetcherPersist&&F.fetchers.forEach((ke,Te)=>{ke.state==="idle"&&(H.has(Te)?pe.push(Te):ne.push(Te))}),[...f].forEach(ke=>ke(F,{deletedFetchers:pe,unstable_viewTransitionOpts:re.viewTransitionOpts,unstable_flushSync:re.flushSync===!0})),c.v7_fetcherPersist&&(ne.forEach(ke=>F.fetchers.delete(ke)),pe.forEach(ke=>Ne(ke)))}function K(ee,re,ne){var pe,ke;let{flushSync:Te}=ne===void 0?{}:ne,$e=F.actionData!=null&&F.navigation.formMethod!=null&&Qi(F.navigation.formMethod)&&F.navigation.state==="loading"&&((pe=ee.state)==null?void 0:pe._isRedirect)!==!0,Pe;re.actionData?Object.keys(re.actionData).length>0?Pe=re.actionData:Pe=null:$e?Pe=F.actionData:Pe=null;let ce=re.loaderData?f7(F.loaderData,re.loaderData,re.matches||[],re.errors):F.loaderData,_e=F.blockers;_e.size>0&&(_e=new Map(_e),_e.forEach((Xe,dt)=>_e.set(dt,Du)));let Ve=_===!0||F.navigation.formMethod!=null&&Qi(F.navigation.formMethod)&&((ke=ee.state)==null?void 0:ke._isRedirect)!==!0;s&&(a=s,s=void 0),g||N===hr.Pop||(N===hr.Push?e.history.push(ee,ee.state):N===hr.Replace&&e.history.replace(ee,ee.state));let Ce;if(N===hr.Pop){let Xe=R.get(F.location.pathname);Xe&&Xe.has(ee.pathname)?Ce={currentLocation:F.location,nextLocation:ee}:R.has(ee.pathname)&&(Ce={currentLocation:ee,nextLocation:F.location})}else if(I){let Xe=R.get(F.location.pathname);Xe?Xe.add(ee.pathname):(Xe=new Set([ee.pathname]),R.set(F.location.pathname,Xe)),Ce={currentLocation:F.location,nextLocation:ee}}q(ur({},re,{actionData:Pe,loaderData:ce,historyAction:N,location:ee,initialized:!0,navigation:Xm,revalidation:"idle",restoreScrollPosition:ut(ee,re.matches||F.matches),preventScrollReset:Ve,blockers:_e}),{viewTransitionOpts:Ce,flushSync:Te===!0}),N=hr.Pop,_=!1,I=!1,g=!1,h=!1,x=[],S=[]}async function Z(ee,re){if(typeof ee=="number"){e.history.go(ee);return}let ne=r2(F.location,F.matches,l,c.v7_prependBasename,ee,c.v7_relativeSplatPath,re==null?void 0:re.fromRouteId,re==null?void 0:re.relative),{path:pe,submission:ke,error:Te}=o7(c.v7_normalizeFormMethod,!1,ne,re),$e=F.location,Pe=i0(F.location,pe,re&&re.state);Pe=ur({},Pe,e.history.encodeLocation(Pe));let ce=re&&re.replace!=null?re.replace:void 0,_e=hr.Push;ce===!0?_e=hr.Replace:ce===!1||ke!=null&&Qi(ke.formMethod)&&ke.formAction===F.location.pathname+F.location.search&&(_e=hr.Replace);let Ve=re&&"preventScrollReset"in re?re.preventScrollReset===!0:void 0,Ce=(re&&re.unstable_flushSync)===!0,Xe=xe({currentLocation:$e,nextLocation:Pe,historyAction:_e});if(Xe){le(Xe,{state:"blocked",location:Pe,proceed(){le(Xe,{state:"proceeding",proceed:void 0,reset:void 0,location:Pe}),Z(ee,re)},reset(){let dt=new Map(F.blockers);dt.set(Xe,Du),q({blockers:dt})}});return}return await Q(_e,Pe,{submission:ke,pendingError:Te,preventScrollReset:Ve,replace:re&&re.replace,enableViewTransition:re&&re.unstable_viewTransition,flushSync:Ce})}function te(){if(Ue(),q({revalidation:"loading"}),F.navigation.state!=="submitting"){if(F.navigation.state==="idle"){Q(F.historyAction,F.location,{startUninterruptedRevalidation:!0});return}Q(N||F.historyAction,F.navigation.location,{overrideNavigation:F.navigation})}}async function Q(ee,re,ne){L&&L.abort(),L=null,N=ee,g=(ne&&ne.startUninterruptedRevalidation)===!0,Qe(F.location,F.matches),_=(ne&&ne.preventScrollReset)===!0,I=(ne&&ne.enableViewTransition)===!0;let pe=s||a,ke=ne&&ne.overrideNavigation,Te=tc(pe,re,l),$e=(ne&&ne.flushSync)===!0;if(!Te){let dt=mi(404,{pathname:re.pathname}),{matches:qe,route:ht}=d7(pe);je(),K(re,{matches:qe,loaderData:{},errors:{[ht.id]:dt}},{flushSync:$e});return}if(F.initialized&&!h&&_re(F.location,re)&&!(ne&&ne.submission&&Qi(ne.submission.formMethod))){K(re,{matches:Te},{flushSync:$e});return}L=new AbortController;let Pe=Nu(e.history,re,L.signal,ne&&ne.submission),ce,_e;if(ne&&ne.pendingError)_e={[Sf(Te).route.id]:ne.pendingError};else if(ne&&ne.submission&&Qi(ne.submission.formMethod)){let dt=await oe(Pe,re,ne.submission,Te,{replace:ne.replace,flushSync:$e});if(dt.shortCircuited)return;ce=dt.pendingActionData,_e=dt.pendingActionError,ke=Jm(re,ne.submission),$e=!1,Pe=new Request(Pe.url,{signal:Pe.signal})}let{shortCircuited:Ve,loaderData:Ce,errors:Xe}=await me(Pe,re,Te,ke,ne&&ne.submission,ne&&ne.fetcherSubmission,ne&&ne.replace,ne&&ne.initialHydration===!0,$e,ce,_e);Ve||(L=null,K(re,ur({matches:Te},ce?{actionData:ce}:{},{loaderData:Ce,errors:Xe})))}async function oe(ee,re,ne,pe,ke){ke===void 0&&(ke={}),Ue();let Te=Bre(re,ne);q({navigation:Te},{flushSync:ke.flushSync===!0});let $e,Pe=i2(pe,re);if(!Pe.route.action&&!Pe.route.lazy)$e={type:lr.error,error:mi(405,{method:ee.method,pathname:re.pathname,routeId:Pe.route.id})};else if($e=await Lu("action",ee,Pe,pe,o,i,l,c.v7_relativeSplatPath),ee.signal.aborted)return{shortCircuited:!0};if(zs($e)){let ce;return ke&&ke.replace!=null?ce=ke.replace:ce=$e.location===F.location.pathname+F.location.search,await we(F,$e,{submission:ne,replace:ce}),{shortCircuited:!0}}if(rc($e)){let ce=Sf(pe,Pe.route.id);return(ke&&ke.replace)!==!0&&(N=hr.Push),{pendingActionData:{},pendingActionError:{[ce.route.id]:$e.error}}}if(Ns($e))throw mi(400,{type:"defer-action"});return{pendingActionData:{[Pe.route.id]:$e.data}}}async function me(ee,re,ne,pe,ke,Te,$e,Pe,ce,_e,Ve){let Ce=pe||Jm(re,ke),Xe=ke||Te||x7(Ce),dt=s||a,[qe,ht]=a7(e.history,F,ne,Xe,re,c.v7_partialHydration&&Pe===!0,h,x,S,H,A,E,dt,l,_e,Ve);if(je(gt=>!(ne&&ne.some(St=>St.route.id===gt))||qe&&qe.some(St=>St.route.id===gt)),$=++k,qe.length===0&&ht.length===0){let gt=ot();return K(re,ur({matches:ne,loaderData:{},errors:Ve||null},_e?{actionData:_e}:{},gt?{fetchers:new Map(F.fetchers)}:{}),{flushSync:ce}),{shortCircuited:!0}}if(!g&&(!c.v7_partialHydration||!Pe)){ht.forEach(St=>{let Ht=F.fetchers.get(St.key),Hr=zu(void 0,Ht?Ht.data:void 0);F.fetchers.set(St.key,Hr)});let gt=_e||F.actionData;q(ur({navigation:Ce},gt?Object.keys(gt).length===0?{actionData:null}:{actionData:gt}:{},ht.length>0?{fetchers:new Map(F.fetchers)}:{}),{flushSync:ce})}ht.forEach(gt=>{T.has(gt.key)&&de(gt.key),gt.controller&&T.set(gt.key,gt.controller)});let mt=()=>ht.forEach(gt=>de(gt.key));L&&L.signal.addEventListener("abort",mt);let{results:rt,loaderResults:ae,fetcherResults:ie}=await He(F.matches,ne,qe,ht,ee);if(ee.signal.aborted)return{shortCircuited:!0};L&&L.signal.removeEventListener("abort",mt),ht.forEach(gt=>T.delete(gt.key));let ve=h7(rt);if(ve){if(ve.idx>=qe.length){let gt=ht[ve.idx-qe.length].key;E.add(gt)}return await we(F,ve.result,{replace:$e}),{shortCircuited:!0}}let{loaderData:Ae,errors:Ye}=u7(F,ne,qe,ae,Ve,ht,ie,O);O.forEach((gt,St)=>{gt.subscribe(Ht=>{(Ht||gt.done)&&O.delete(St)})}),c.v7_partialHydration&&Pe&&F.errors&&Object.entries(F.errors).filter(gt=>{let[St]=gt;return!qe.some(Ht=>Ht.route.id===St)}).forEach(gt=>{let[St,Ht]=gt;Ye=Object.assign(Ye||{},{[St]:Ht})});let Le=ot(),pt=lt($),Bt=Le||pt||ht.length>0;return ur({loaderData:Ae,errors:Ye},Bt?{fetchers:new Map(F.fetchers)}:{})}function se(ee,re,ne,pe){if(n)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");T.has(ee)&&de(ee);let ke=(pe&&pe.unstable_flushSync)===!0,Te=s||a,$e=r2(F.location,F.matches,l,c.v7_prependBasename,ne,c.v7_relativeSplatPath,re,pe==null?void 0:pe.relative),Pe=tc(Te,$e,l);if(!Pe){Ze(ee,re,mi(404,{pathname:$e}),{flushSync:ke});return}let{path:ce,submission:_e,error:Ve}=o7(c.v7_normalizeFormMethod,!0,$e,pe);if(Ve){Ze(ee,re,Ve,{flushSync:ke});return}let Ce=i2(Pe,ce);if(_=(pe&&pe.preventScrollReset)===!0,_e&&Qi(_e.formMethod)){ye(ee,re,ce,Ce,Pe,ke,_e);return}A.set(ee,{routeId:re,path:ce}),Re(ee,re,ce,Ce,Pe,ke,_e)}async function ye(ee,re,ne,pe,ke,Te,$e){if(Ue(),A.delete(ee),!pe.route.action&&!pe.route.lazy){let St=mi(405,{method:$e.formMethod,pathname:ne,routeId:re});Ze(ee,re,St,{flushSync:Te});return}let Pe=F.fetchers.get(ee);Me(ee,Ire($e,Pe),{flushSync:Te});let ce=new AbortController,_e=Nu(e.history,ne,ce.signal,$e);T.set(ee,ce);let Ve=k,Ce=await Lu("action",_e,pe,ke,o,i,l,c.v7_relativeSplatPath);if(_e.signal.aborted){T.get(ee)===ce&&T.delete(ee);return}if(c.v7_fetcherPersist&&H.has(ee)){if(zs(Ce)||rc(Ce)){Me(ee,_a(void 0));return}}else{if(zs(Ce))if(T.delete(ee),$>Ve){Me(ee,_a(void 0));return}else return E.add(ee),Me(ee,zu($e)),we(F,Ce,{fetcherSubmission:$e});if(rc(Ce)){Ze(ee,re,Ce.error);return}}if(Ns(Ce))throw mi(400,{type:"defer-action"});let Xe=F.navigation.location||F.location,dt=Nu(e.history,Xe,ce.signal),qe=s||a,ht=F.navigation.state!=="idle"?tc(qe,F.navigation.location,l):F.matches;Mt(ht,"Didn't find any matches after fetcher action");let mt=++k;P.set(ee,mt);let rt=zu($e,Ce.data);F.fetchers.set(ee,rt);let[ae,ie]=a7(e.history,F,ht,$e,Xe,!1,h,x,S,H,A,E,qe,l,{[pe.route.id]:Ce.data},void 0);ie.filter(St=>St.key!==ee).forEach(St=>{let Ht=St.key,Hr=F.fetchers.get(Ht),Cn=zu(void 0,Hr?Hr.data:void 0);F.fetchers.set(Ht,Cn),T.has(Ht)&&de(Ht),St.controller&&T.set(Ht,St.controller)}),q({fetchers:new Map(F.fetchers)});let ve=()=>ie.forEach(St=>de(St.key));ce.signal.addEventListener("abort",ve);let{results:Ae,loaderResults:Ye,fetcherResults:Le}=await He(F.matches,ht,ae,ie,dt);if(ce.signal.aborted)return;ce.signal.removeEventListener("abort",ve),P.delete(ee),T.delete(ee),ie.forEach(St=>T.delete(St.key));let pt=h7(Ae);if(pt){if(pt.idx>=ae.length){let St=ie[pt.idx-ae.length].key;E.add(St)}return we(F,pt.result)}let{loaderData:Bt,errors:gt}=u7(F,F.matches,ae,Ye,void 0,ie,Le,O);if(F.fetchers.has(ee)){let St=_a(Ce.data);F.fetchers.set(ee,St)}lt(mt),F.navigation.state==="loading"&&mt>$?(Mt(N,"Expected pending action"),L&&L.abort(),K(F.navigation.location,{matches:ht,loaderData:Bt,errors:gt,fetchers:new Map(F.fetchers)})):(q({errors:gt,loaderData:f7(F.loaderData,Bt,ht,gt),fetchers:new Map(F.fetchers)}),h=!1)}async function Re(ee,re,ne,pe,ke,Te,$e){let Pe=F.fetchers.get(ee);Me(ee,zu($e,Pe?Pe.data:void 0),{flushSync:Te});let ce=new AbortController,_e=Nu(e.history,ne,ce.signal);T.set(ee,ce);let Ve=k,Ce=await Lu("loader",_e,pe,ke,o,i,l,c.v7_relativeSplatPath);if(Ns(Ce)&&(Ce=await hP(Ce,_e.signal,!0)||Ce),T.get(ee)===ce&&T.delete(ee),!_e.signal.aborted){if(H.has(ee)){Me(ee,_a(void 0));return}if(zs(Ce))if($>Ve){Me(ee,_a(void 0));return}else{E.add(ee),await we(F,Ce);return}if(rc(Ce)){Ze(ee,re,Ce.error);return}Mt(!Ns(Ce),"Unhandled fetcher deferred data"),Me(ee,_a(Ce.data))}}async function we(ee,re,ne){let{submission:pe,fetcherSubmission:ke,replace:Te}=ne===void 0?{}:ne;re.revalidate&&(h=!0);let $e=i0(ee.location,re.location,{_isRedirect:!0});if(Mt($e,"Expected a location on the redirect navigation"),r){let Xe=!1;if(re.reloadDocument)Xe=!0;else if(cP.test(re.location)){const dt=e.history.createURL(re.location);Xe=dt.origin!==t.location.origin||lu(dt.pathname,l)==null}if(Xe){Te?t.location.replace(re.location):t.location.assign(re.location);return}}L=null;let Pe=Te===!0?hr.Replace:hr.Push,{formMethod:ce,formAction:_e,formEncType:Ve}=ee.navigation;!pe&&!ke&&ce&&_e&&Ve&&(pe=x7(ee.navigation));let Ce=pe||ke;if(wre.has(re.status)&&Ce&&Qi(Ce.formMethod))await Q(Pe,$e,{submission:ur({},Ce,{formAction:re.location}),preventScrollReset:_});else{let Xe=Jm($e,pe);await Q(Pe,$e,{overrideNavigation:Xe,fetcherSubmission:ke,preventScrollReset:_})}}async function He(ee,re,ne,pe,ke){let Te=await Promise.all([...ne.map(ce=>Lu("loader",ke,ce,re,o,i,l,c.v7_relativeSplatPath)),...pe.map(ce=>ce.matches&&ce.match&&ce.controller?Lu("loader",Nu(e.history,ce.path,ce.controller.signal),ce.match,ce.matches,o,i,l,c.v7_relativeSplatPath):{type:lr.error,error:mi(404,{pathname:ce.path})})]),$e=Te.slice(0,ne.length),Pe=Te.slice(ne.length);return await Promise.all([p7(ee,ne,$e,$e.map(()=>ke.signal),!1,F.loaderData),p7(ee,pe.map(ce=>ce.match),Pe,pe.map(ce=>ce.controller?ce.controller.signal:null),!0)]),{results:Te,loaderResults:$e,fetcherResults:Pe}}function Ue(){h=!0,x.push(...je()),A.forEach((ee,re)=>{T.has(re)&&(S.push(re),de(re))})}function Me(ee,re,ne){ne===void 0&&(ne={}),F.fetchers.set(ee,re),q({fetchers:new Map(F.fetchers)},{flushSync:(ne&&ne.flushSync)===!0})}function Ze(ee,re,ne,pe){pe===void 0&&(pe={});let ke=Sf(F.matches,re);Ne(ee),q({errors:{[ke.route.id]:ne},fetchers:new Map(F.fetchers)},{flushSync:(pe&&pe.flushSync)===!0})}function Je(ee){return c.v7_fetcherPersist&&(z.set(ee,(z.get(ee)||0)+1),H.has(ee)&&H.delete(ee)),F.fetchers.get(ee)||Sre}function Ne(ee){let re=F.fetchers.get(ee);T.has(ee)&&!(re&&re.state==="loading"&&P.has(ee))&&de(ee),A.delete(ee),P.delete(ee),E.delete(ee),H.delete(ee),F.fetchers.delete(ee)}function De(ee){if(c.v7_fetcherPersist){let re=(z.get(ee)||0)-1;re<=0?(z.delete(ee),H.add(ee)):z.set(ee,re)}else Ne(ee);q({fetchers:new Map(F.fetchers)})}function de(ee){let re=T.get(ee);Mt(re,"Expected fetch controller: "+ee),re.abort(),T.delete(ee)}function Ie(ee){for(let re of ee){let ne=Je(re),pe=_a(ne.data);F.fetchers.set(re,pe)}}function ot(){let ee=[],re=!1;for(let ne of E){let pe=F.fetchers.get(ne);Mt(pe,"Expected fetcher: "+ne),pe.state==="loading"&&(E.delete(ne),ee.push(ne),re=!0)}return Ie(ee),re}function lt(ee){let re=[];for(let[ne,pe]of P)if(pe0}function ge(ee,re){let ne=F.blockers.get(ee)||Du;return V.get(ee)!==re&&V.set(ee,re),ne}function ze(ee){F.blockers.delete(ee),V.delete(ee)}function le(ee,re){let ne=F.blockers.get(ee)||Du;Mt(ne.state==="unblocked"&&re.state==="blocked"||ne.state==="blocked"&&re.state==="blocked"||ne.state==="blocked"&&re.state==="proceeding"||ne.state==="blocked"&&re.state==="unblocked"||ne.state==="proceeding"&&re.state==="unblocked","Invalid blocker state transition: "+ne.state+" -> "+re.state);let pe=new Map(F.blockers);pe.set(ee,re),q({blockers:pe})}function xe(ee){let{currentLocation:re,nextLocation:ne,historyAction:pe}=ee;if(V.size===0)return;V.size>1&&jc(!1,"A router only supports one blocker at a time");let ke=Array.from(V.entries()),[Te,$e]=ke[ke.length-1],Pe=F.blockers.get(Te);if(!(Pe&&Pe.state==="proceeding")&&$e({currentLocation:re,nextLocation:ne,historyAction:pe}))return Te}function je(ee){let re=[];return O.forEach((ne,pe)=>{(!ee||ee(pe))&&(ne.cancel(),re.push(pe),O.delete(pe))}),re}function We(ee,re,ne){if(d=ee,p=re,b=ne||null,!v&&F.navigation===Xm){v=!0;let pe=ut(F.location,F.matches);pe!=null&&q({restoreScrollPosition:pe})}return()=>{d=null,p=null,b=null}}function Fe(ee,re){return b&&b(ee,re.map(pe=>Zte(pe,F.loaderData)))||ee.key}function Qe(ee,re){if(d&&p){let ne=Fe(ee,re);d[ne]=p()}}function ut(ee,re){if(d){let ne=Fe(ee,re),pe=d[ne];if(typeof pe=="number")return pe}return null}function Ge(ee){o={},s=t2(ee,i,void 0,o)}return D={get basename(){return l},get future(){return c},get state(){return F},get routes(){return a},get window(){return t},initialize:J,subscribe:j,enableScrollRestoration:We,navigate:Z,fetch:se,revalidate:te,createHref:ee=>e.history.createHref(ee),encodeLocation:ee=>e.history.encodeLocation(ee),getFetcher:Je,deleteFetcher:De,dispose:G,getBlocker:ge,deleteBlocker:ze,_internalFetchControllers:T,_internalActiveDeferreds:O,_internalSetRoutes:Ge},D}function Mre(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function r2(e,t,r,n,i,o,a,s){let l,c;if(a){l=[];for(let f of t)if(l.push(f),f.route.id===a){c=f;break}}else l=t,c=t[t.length-1];let u=j1(i||".",z1(l,o),lu(e.pathname,r)||e.pathname,s==="path");return i==null&&(u.search=e.search,u.hash=e.hash),(i==null||i===""||i===".")&&c&&c.route.index&&!$4(u.search)&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),n&&r!=="/"&&(u.pathname=u.pathname==="/"?r:ra([r,u.pathname])),sl(u)}function o7(e,t,r,n){if(!n||!Mre(n))return{path:r};if(n.formMethod&&!$re(n.formMethod))return{path:r,error:mi(405,{method:n.formMethod})};let i=()=>({path:r,error:mi(400,{type:"invalid-body"})}),o=n.formMethod||"get",a=e?o.toUpperCase():o.toLowerCase(),s=dP(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!Qi(a))return i();let d=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((b,p)=>{let[v,w]=p;return""+b+v+"="+w+` -`},""):String(n.body);return{path:r,submission:{formMethod:a,formAction:s,formEncType:n.formEncType,formData:void 0,json:void 0,text:d}}}else if(n.formEncType==="application/json"){if(!Qi(a))return i();try{let d=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:a,formAction:s,formEncType:n.formEncType,formData:void 0,json:d,text:void 0}}}catch{return i()}}}Mt(typeof FormData=="function","FormData is not available in this environment");let l,c;if(n.formData)l=n2(n.formData),c=n.formData;else if(n.body instanceof FormData)l=n2(n.body),c=n.body;else if(n.body instanceof URLSearchParams)l=n.body,c=c7(l);else if(n.body==null)l=new URLSearchParams,c=new FormData;else try{l=new URLSearchParams(n.body),c=c7(l)}catch{return i()}let u={formMethod:a,formAction:s,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:c,json:void 0,text:void 0};if(Qi(u.formMethod))return{path:r,submission:u};let f=ya(r);return t&&f.search&&$4(f.search)&&l.append("index",""),f.search="?"+l,{path:sl(f),submission:u}}function Pre(e,t){let r=e;if(t){let n=e.findIndex(i=>i.route.id===t);n>=0&&(r=e.slice(0,n))}return r}function a7(e,t,r,n,i,o,a,s,l,c,u,f,d,b,p,v){let w=v?Object.values(v)[0]:p?Object.values(p)[0]:void 0,C=e.createURL(t.location),y=e.createURL(i),M=v?Object.keys(v)[0]:void 0,D=Pre(r,M).filter((N,_)=>{let{route:L}=N;if(L.lazy)return!0;if(L.loader==null)return!1;if(o)return L.loader.hydrate?!0:t.loaderData[L.id]===void 0&&(!t.errors||t.errors[L.id]===void 0);if(Are(t.loaderData,t.matches[_],N)||s.some(m=>m===N.route.id))return!0;let I=t.matches[_],R=N;return s7(N,ur({currentUrl:C,currentParams:I.params,nextUrl:y,nextParams:R.params},n,{actionResult:w,defaultShouldRevalidate:a||C.pathname+C.search===y.pathname+y.search||C.search!==y.search||fP(I,R)}))}),F=[];return u.forEach((N,_)=>{if(o||!r.some(g=>g.route.id===N.routeId)||c.has(_))return;let L=tc(d,N.path,b);if(!L){F.push({key:_,routeId:N.routeId,path:N.path,matches:null,match:null,controller:null});return}let I=t.fetchers.get(_),R=i2(L,N.path),m=!1;f.has(_)?m=!1:l.includes(_)?m=!0:I&&I.state!=="idle"&&I.data===void 0?m=a:m=s7(R,ur({currentUrl:C,currentParams:t.matches[t.matches.length-1].params,nextUrl:y,nextParams:r[r.length-1].params},n,{actionResult:w,defaultShouldRevalidate:a})),m&&F.push({key:_,routeId:N.routeId,path:N.path,matches:L,match:R,controller:new AbortController})}),[D,F]}function Are(e,t,r){let n=!t||r.route.id!==t.route.id,i=e[r.route.id]===void 0;return n||i}function fP(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function s7(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}async function l7(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let i=r[e.id];Mt(i,"No route found in manifest");let o={};for(let a in n){let l=i[a]!==void 0&&a!=="hasErrorBoundary";jc(!l,'Route "'+i.id+'" has a static property "'+a+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+a+'" will be ignored.')),!l&&!Xte.has(a)&&(o[a]=n[a])}Object.assign(i,o),Object.assign(i,ur({},t(i),{lazy:void 0}))}async function Lu(e,t,r,n,i,o,a,s,l){l===void 0&&(l={});let c,u,f,d=v=>{let w,C=new Promise((y,M)=>w=M);return f=()=>w(),t.signal.addEventListener("abort",f),Promise.race([v({request:t,params:r.params,context:l.requestContext}),C])};try{let v=r.route[e];if(r.route.lazy)if(v){let w,C=await Promise.all([d(v).catch(y=>{w=y}),l7(r.route,o,i)]);if(w)throw w;u=C[0]}else if(await l7(r.route,o,i),v=r.route[e],v)u=await d(v);else if(e==="action"){let w=new URL(t.url),C=w.pathname+w.search;throw mi(405,{method:t.method,pathname:C,routeId:r.route.id})}else return{type:lr.data,data:void 0};else if(v)u=await d(v);else{let w=new URL(t.url),C=w.pathname+w.search;throw mi(404,{pathname:C})}Mt(u!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(v){c=lr.error,u=v}finally{f&&t.signal.removeEventListener("abort",f)}if(Tre(u)){let v=u.status;if(yre.has(v)){let C=u.headers.get("Location");if(Mt(C,"Redirects returned/thrown from loaders/actions must have a Location header"),!cP.test(C))C=r2(new URL(t.url),n.slice(0,n.indexOf(r)+1),a,!0,C,s);else if(!l.isStaticRequest){let y=new URL(t.url),M=C.startsWith("//")?new URL(y.protocol+C):new URL(C),B=lu(M.pathname,a)!=null;M.origin===y.origin&&B&&(C=M.pathname+M.search+M.hash)}if(l.isStaticRequest)throw u.headers.set("Location",C),u;return{type:lr.redirect,status:v,location:C,revalidate:u.headers.get("X-Remix-Revalidate")!==null,reloadDocument:u.headers.get("X-Remix-Reload-Document")!==null}}if(l.isRouteRequest)throw{type:c===lr.error?lr.error:lr.data,response:u};let w;try{let C=u.headers.get("Content-Type");C&&/\bapplication\/json\b/.test(C)?u.body==null?w=null:w=await u.json():w=await u.text()}catch(C){return{type:lr.error,error:C}}return c===lr.error?{type:c,error:new T4(v,u.statusText,w),headers:u.headers}:{type:lr.data,data:w,statusCode:u.status,headers:u.headers}}if(c===lr.error)return{type:c,error:u};if(Rre(u)){var b,p;return{type:lr.deferred,deferredData:u,statusCode:(b=u.init)==null?void 0:b.status,headers:((p=u.init)==null?void 0:p.headers)&&new Headers(u.init.headers)}}return{type:lr.data,data:u}}function Nu(e,t,r,n){let i=e.createURL(dP(t)).toString(),o={signal:r};if(n&&Qi(n.formMethod)){let{formMethod:a,formEncType:s}=n;o.method=a.toUpperCase(),s==="application/json"?(o.headers=new Headers({"Content-Type":s}),o.body=JSON.stringify(n.json)):s==="text/plain"?o.body=n.text:s==="application/x-www-form-urlencoded"&&n.formData?o.body=n2(n.formData):o.body=n.formData}return new Request(i,o)}function n2(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function c7(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function kre(e,t,r,n,i){let o={},a=null,s,l=!1,c={};return r.forEach((u,f)=>{let d=t[f].route.id;if(Mt(!zs(u),"Cannot handle redirect results in processLoaderData"),rc(u)){let b=Sf(e,d),p=u.error;n&&(p=Object.values(n)[0],n=void 0),a=a||{},a[b.route.id]==null&&(a[b.route.id]=p),o[d]=void 0,l||(l=!0,s=sP(u.error)?u.error.status:500),u.headers&&(c[d]=u.headers)}else Ns(u)?(i.set(d,u.deferredData),o[d]=u.deferredData.data):o[d]=u.data,u.statusCode!=null&&u.statusCode!==200&&!l&&(s=u.statusCode),u.headers&&(c[d]=u.headers)}),n&&(a=n,o[Object.keys(n)[0]]=void 0),{loaderData:o,errors:a,statusCode:s||200,loaderHeaders:c}}function u7(e,t,r,n,i,o,a,s){let{loaderData:l,errors:c}=kre(t,r,n,i,s);for(let u=0;un.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function d7(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function mi(e,t){let{pathname:r,routeId:n,method:i,type:o}=t===void 0?{}:t,a="Unknown Server Error",s="Unknown @remix-run/router error";return e===400?(a="Bad Request",i&&r&&n?s="You made a "+i+' request to "'+r+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":o==="defer-action"?s="defer() is not supported in actions":o==="invalid-body"&&(s="Unable to encode submission body")):e===403?(a="Forbidden",s='Route "'+n+'" does not match URL "'+r+'"'):e===404?(a="Not Found",s='No route matches URL "'+r+'"'):e===405&&(a="Method Not Allowed",i&&r&&n?s="You made a "+i.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":i&&(s='Invalid request method "'+i.toUpperCase()+'"')),new T4(e||500,a,new Error(s),!0)}function h7(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(zs(r))return{result:r,idx:t}}}function dP(e){let t=typeof e=="string"?ya(e):e;return sl(ur({},t,{hash:""}))}function _re(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Ns(e){return e.type===lr.deferred}function rc(e){return e.type===lr.error}function zs(e){return(e&&e.type)===lr.redirect}function Rre(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Tre(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function $re(e){return bre.has(e.toLowerCase())}function Qi(e){return gre.has(e.toLowerCase())}async function p7(e,t,r,n,i,o){for(let a=0;af.route.id===l.route.id),u=c!=null&&!fP(c,l)&&(o&&o[l.route.id])!==void 0;if(Ns(s)&&(i||u)){let f=n[a];Mt(f,"Expected an AbortSignal for revalidating fetcher deferred result"),await hP(s,f,i).then(d=>{d&&(r[a]=d||r[a])})}}}async function hP(e,t,r){if(r===void 0&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:lr.data,data:e.deferredData.unwrappedData}}catch(i){return{type:lr.error,error:i}}return{type:lr.data,data:e.deferredData.data}}}function $4(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function i2(e,t){let r=typeof t=="string"?ya(t).search:t.search;if(e[e.length-1].route.index&&$4(r||""))return e[e.length-1];let n=aP(e);return n[n.length-1]}function x7(e){let{formMethod:t,formAction:r,formEncType:n,text:i,formData:o,json:a}=e;if(!(!t||!r||!n)){if(i!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:i};if(o!=null)return{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};if(a!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:a,text:void 0}}}function Jm(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Bre(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function zu(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Ire(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function _a(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Fre(e,t){try{let r=e.sessionStorage.getItem(uP);if(r){let n=JSON.parse(r);for(let[i,o]of Object.entries(n||{}))o&&Array.isArray(o)&&t.set(i,new Set(o||[]))}}catch{}}function Ore(e,t){if(t.size>0){let r={};for(let[n,i]of t)r[n]=[...i];try{e.sessionStorage.setItem(uP,JSON.stringify(r))}catch(n){jc(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}/** - * React Router v6.22.3 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function o0(){return o0=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),U.useCallback(function(c,u){if(u===void 0&&(u={}),!s.current)return;if(typeof c=="number"){n.go(c);return}let f=j1(c,JSON.parse(a),o,u.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:ra([t,f.pathname])),(u.replace?n.replace:n.push)(f,u.state,u)},[t,n,a,o,e])}const Nre=U.createContext(null);function zre(e){let t=U.useContext(No).outlet;return t&&U.createElement(Nre.Provider,{value:e},t)}function Nue(){let{matches:e}=U.useContext(No),t=e[e.length-1];return t?t.params:{}}function gP(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=U.useContext(hs),{matches:i}=U.useContext(No),{pathname:o}=uu(),a=JSON.stringify(z1(i,n.v7_relativeSplatPath));return U.useMemo(()=>j1(e,JSON.parse(a),o,r==="path"),[e,a,o,r])}function jre(e,t,r,n){cu()||Mt(!1);let{navigator:i}=U.useContext(hs),{matches:o}=U.useContext(No),a=o[o.length-1],s=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let c=uu(),u;if(t){var f;let w=typeof t=="string"?ya(t):t;l==="/"||(f=w.pathname)!=null&&f.startsWith(l)||Mt(!1),u=w}else u=c;let d=u.pathname||"/",b=d;if(l!=="/"){let w=l.replace(/^\//,"").split("/");b="/"+d.replace(/^\//,"").split("/").slice(w.length).join("/")}let p=tc(e,{pathname:b}),v=qre(p&&p.map(w=>Object.assign({},w,{params:Object.assign({},s,w.params),pathname:ra([l,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:ra([l,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),o,r,n);return t&&v?U.createElement(H1.Provider,{value:{location:o0({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:hr.Pop}},v):v}function Ure(){let e=Xre(),t=sP(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return U.createElement(U.Fragment,null,U.createElement("h2",null,"Unexpected Application Error!"),U.createElement("h3",{style:{fontStyle:"italic"}},t),r?U.createElement("pre",{style:i},r):null,null)}const Hre=U.createElement(Ure,null);class Wre extends U.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){}render(){return this.state.error!==void 0?U.createElement(No.Provider,{value:this.props.routeContext},U.createElement(xP.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Vre(e){let{routeContext:t,match:r,children:n}=e,i=U.useContext(U1);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),U.createElement(No.Provider,{value:t},n)}function qre(e,t,r,n){var i;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var o;if((o=r)!=null&&o.errors)e=r.matches;else return null}let a=e,s=(i=r)==null?void 0:i.errors;if(s!=null){let u=a.findIndex(f=>f.route.id&&(s==null?void 0:s[f.route.id]));u>=0||Mt(!1),a=a.slice(0,Math.min(a.length,u+1))}let l=!1,c=-1;if(r&&n&&n.v7_partialHydration)for(let u=0;u=0?a=a.slice(0,c+1):a=[a[0]];break}}}return a.reduceRight((u,f,d)=>{let b,p=!1,v=null,w=null;r&&(b=s&&f.route.id?s[f.route.id]:void 0,v=f.route.errorElement||Hre,l&&(c<0&&d===0?(Zre("route-fallback",!1),p=!0,w=null):c===d&&(p=!0,w=f.route.hydrateFallbackElement||null)));let C=t.concat(a.slice(0,d+1)),y=()=>{let M;return b?M=v:p?M=w:f.route.Component?M=U.createElement(f.route.Component,null):f.route.element?M=f.route.element:M=u,U.createElement(Vre,{match:f,routeContext:{outlet:u,matches:C,isDataRoute:r!=null},children:M})};return r&&(f.route.ErrorBoundary||f.route.errorElement||d===0)?U.createElement(Wre,{location:r.location,revalidation:r.revalidation,component:v,error:b,children:y(),routeContext:{outlet:null,matches:C,isDataRoute:!0}}):y()},null)}var vP=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(vP||{}),Jh=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Jh||{});function Kre(e){let t=U.useContext(U1);return t||Mt(!1),t}function Gre(e){let t=U.useContext(pP);return t||Mt(!1),t}function Yre(e){let t=U.useContext(No);return t||Mt(!1),t}function bP(e){let t=Yre(),r=t.matches[t.matches.length-1];return r.route.id||Mt(!1),r.route.id}function Xre(){var e;let t=U.useContext(xP),r=Gre(Jh.UseRouteError),n=bP(Jh.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function Jre(){let{router:e}=Kre(vP.UseNavigateStable),t=bP(Jh.UseNavigateStable),r=U.useRef(!1);return mP(()=>{r.current=!0}),U.useCallback(function(i,o){o===void 0&&(o={}),r.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,o0({fromRouteId:t},o)))},[e,t])}const m7={};function Zre(e,t,r){!t&&!m7[e]&&(m7[e]=!0)}function zue(e){let{to:t,replace:r,state:n,relative:i}=e;cu()||Mt(!1);let{future:o,static:a}=U.useContext(hs),{matches:s}=U.useContext(No),{pathname:l}=uu(),c=B4(),u=j1(t,z1(s,o.v7_relativeSplatPath),l,i==="path"),f=JSON.stringify(u);return U.useEffect(()=>c(JSON.parse(f),{replace:r,state:n,relative:i}),[c,f,i,r,n]),null}function jue(e){return zre(e.context)}function Qre(e){let{basename:t="/",children:r=null,location:n,navigationType:i=hr.Pop,navigator:o,static:a=!1,future:s}=e;cu()&&Mt(!1);let l=t.replace(/^\/*/,"/"),c=U.useMemo(()=>({basename:l,navigator:o,static:a,future:o0({v7_relativeSplatPath:!1},s)}),[l,s,o,a]);typeof n=="string"&&(n=ya(n));let{pathname:u="/",search:f="",hash:d="",state:b=null,key:p="default"}=n,v=U.useMemo(()=>{let w=lu(u,l);return w==null?null:{location:{pathname:w,search:f,hash:d,state:b,key:p},navigationType:i}},[l,u,f,d,b,p,i]);return v==null?null:U.createElement(hs.Provider,{value:c},U.createElement(H1.Provider,{children:r,value:v}))}new Promise(()=>{});function ene(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:U.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:U.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:U.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** - * React Router DOM v6.22.3 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function a0(){return a0=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[i]=e[i]);return r}function rne(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function nne(e,t){return e.button===0&&(!t||t==="_self")&&!rne(e)}function o2(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(i=>[r,i]):[[r,n]])},[]))}function ine(e,t){let r=o2(e);return t&&t.forEach((n,i)=>{r.has(i)||t.getAll(i).forEach(o=>{r.append(i,o)})}),r}const one=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],ane="6";try{window.__reactRouterVersion=ane}catch{}function Uue(e,t){return Ere({basename:t==null?void 0:t.basename,future:a0({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:Kte({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||sne(),routes:e,mapRouteProperties:ene,window:t==null?void 0:t.window}).initialize()}function sne(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=a0({},t,{errors:lne(t.errors)})),t}function lne(e){if(!e)return null;let t=Object.entries(e),r={};for(let[n,i]of t)if(i&&i.__type==="RouteErrorResponse")r[n]=new T4(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let o=window[i.__subType];if(typeof o=="function")try{let a=new o(i.message);a.stack="",r[n]=a}catch{}}if(r[n]==null){let o=new Error(i.message);o.stack="",r[n]=o}}else r[n]=i;return r}const cne=U.createContext({isTransitioning:!1}),une=U.createContext(new Map),fne="startTransition",g7=bc[fne],dne="flushSync",v7=rN[dne];function hne(e){g7?g7(e):e()}function ju(e){v7?v7(e):e()}class pne{constructor(){this.status="pending",this.promise=new Promise((t,r)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",t(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",r(n))}})}}function Hue(e){let{fallbackElement:t,router:r,future:n}=e,[i,o]=U.useState(r.state),[a,s]=U.useState(),[l,c]=U.useState({isTransitioning:!1}),[u,f]=U.useState(),[d,b]=U.useState(),[p,v]=U.useState(),w=U.useRef(new Map),{v7_startTransition:C}=n||{},y=U.useCallback(N=>{C?hne(N):N()},[C]),M=U.useCallback((N,_)=>{let{deletedFetchers:L,unstable_flushSync:I,unstable_viewTransitionOpts:R}=_;L.forEach(g=>w.current.delete(g)),N.fetchers.forEach((g,h)=>{g.data!==void 0&&w.current.set(h,g.data)});let m=r.window==null||typeof r.window.document.startViewTransition!="function";if(!R||m){I?ju(()=>o(N)):y(()=>o(N));return}if(I){ju(()=>{d&&(u&&u.resolve(),d.skipTransition()),c({isTransitioning:!0,flushSync:!0,currentLocation:R.currentLocation,nextLocation:R.nextLocation})});let g=r.window.document.startViewTransition(()=>{ju(()=>o(N))});g.finished.finally(()=>{ju(()=>{f(void 0),b(void 0),s(void 0),c({isTransitioning:!1})})}),ju(()=>b(g));return}d?(u&&u.resolve(),d.skipTransition(),v({state:N,currentLocation:R.currentLocation,nextLocation:R.nextLocation})):(s(N),c({isTransitioning:!0,flushSync:!1,currentLocation:R.currentLocation,nextLocation:R.nextLocation}))},[r.window,d,u,w,y]);U.useLayoutEffect(()=>r.subscribe(M),[r,M]),U.useEffect(()=>{l.isTransitioning&&!l.flushSync&&f(new pne)},[l]),U.useEffect(()=>{if(u&&a&&r.window){let N=a,_=u.promise,L=r.window.document.startViewTransition(async()=>{y(()=>o(N)),await _});L.finished.finally(()=>{f(void 0),b(void 0),s(void 0),c({isTransitioning:!1})}),b(L)}},[y,a,u,r.window]),U.useEffect(()=>{u&&a&&i.location.key===a.location.key&&u.resolve()},[u,d,i.location,a]),U.useEffect(()=>{!l.isTransitioning&&p&&(s(p.state),c({isTransitioning:!0,flushSync:!1,currentLocation:p.currentLocation,nextLocation:p.nextLocation}),v(void 0))},[l.isTransitioning,p]),U.useEffect(()=>{},[]);let B=U.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:N=>r.navigate(N),push:(N,_,L)=>r.navigate(N,{state:_,preventScrollReset:L==null?void 0:L.preventScrollReset}),replace:(N,_,L)=>r.navigate(N,{replace:!0,state:_,preventScrollReset:L==null?void 0:L.preventScrollReset})}),[r]),D=r.basename||"/",F=U.useMemo(()=>({router:r,navigator:B,static:!1,basename:D}),[r,B,D]);return U.createElement(U.Fragment,null,U.createElement(U1.Provider,{value:F},U.createElement(pP.Provider,{value:i},U.createElement(une.Provider,{value:w.current},U.createElement(cne.Provider,{value:l},U.createElement(Qre,{basename:D,location:i.location,navigationType:i.historyAction,navigator:B,future:{v7_relativeSplatPath:r.future.v7_relativeSplatPath}},i.initialized||r.future.v7_partialHydration?U.createElement(xne,{routes:r.routes,future:r.future,state:i}):t))))),null)}function xne(e){let{routes:t,future:r,state:n}=e;return jre(t,void 0,n,r)}const mne=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",gne=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Wue=U.forwardRef(function(t,r){let{onClick:n,relative:i,reloadDocument:o,replace:a,state:s,target:l,to:c,preventScrollReset:u,unstable_viewTransition:f}=t,d=tne(t,one),{basename:b}=U.useContext(hs),p,v=!1;if(typeof c=="string"&&gne.test(c)&&(p=c,mne))try{let M=new URL(window.location.href),B=c.startsWith("//")?new URL(M.protocol+c):new URL(c),D=lu(B.pathname,b);B.origin===M.origin&&D!=null?c=D+B.search+B.hash:v=!0}catch{}let w=Dre(c,{relative:i}),C=vne(c,{replace:a,state:s,target:l,preventScrollReset:u,relative:i,unstable_viewTransition:f});function y(M){n&&n(M),M.defaultPrevented||C(M)}return U.createElement("a",a0({},d,{href:p||w,onClick:v||o?n:y,ref:r,target:l}))});var b7;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(b7||(b7={}));var y7;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(y7||(y7={}));function vne(e,t){let{target:r,replace:n,state:i,preventScrollReset:o,relative:a,unstable_viewTransition:s}=t===void 0?{}:t,l=B4(),c=uu(),u=gP(e,{relative:a});return U.useCallback(f=>{if(nne(f,r)){f.preventDefault();let d=n!==void 0?n:sl(c)===sl(u);l(e,{replace:d,state:i,preventScrollReset:o,relative:a,unstable_viewTransition:s})}},[c,l,u,n,i,r,e,o,a,s])}function Vue(e){let t=U.useRef(o2(e)),r=U.useRef(!1),n=uu(),i=U.useMemo(()=>ine(n.search,r.current?null:t.current),[n.search]),o=B4(),a=U.useCallback((s,l)=>{const c=o2(typeof s=="function"?s(i):s);r.current=!0,o("?"+c,l)},[o,i]);return[i,a]}var I4={},bne=wr;Object.defineProperty(I4,"__esModule",{value:!0});var yne=I4.default=void 0,wne=bne(Rr()),Sne=Y;yne=I4.default=(0,wne.default)((0,Sne.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");var F4={},Cne=wr;Object.defineProperty(F4,"__esModule",{value:!0});var Ene=F4.default=void 0,Mne=Cne(Rr()),Pne=Y;Ene=F4.default=(0,Mne.default)((0,Pne.jsx)("path",{d:"M9.37 5.51c-.18.64-.27 1.31-.27 1.99 0 4.08 3.32 7.4 7.4 7.4.68 0 1.35-.09 1.99-.27C17.45 17.19 14.93 19 12 19c-3.86 0-7-3.14-7-7 0-2.93 1.81-5.45 4.37-6.49M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1"}),"DarkModeOutlined");var O4={},Ane=wr;Object.defineProperty(O4,"__esModule",{value:!0});var kne=O4.default=void 0,_ne=Ane(Rr()),Rne=Y;kne=O4.default=(0,_ne.default)((0,Rne.jsx)("path",{d:"M12 9c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3m0-2c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"}),"LightModeOutlined");var D4={},Tne=wr;Object.defineProperty(D4,"__esModule",{value:!0});var $ne=D4.default=void 0,Bne=Tne(Rr()),Ine=Y;$ne=D4.default=(0,Bne.default)((0,Ine.jsx)("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"}),"Home");var L4={},Fne=wr;Object.defineProperty(L4,"__esModule",{value:!0});var One=L4.default=void 0,Dne=Fne(Rr()),Lne=Y;One=L4.default=(0,Dne.default)((0,Lne.jsx)("path",{d:"m12 5.69 5 4.5V18h-2v-6H9v6H7v-7.81zM12 3 2 12h3v8h6v-6h2v6h6v-8h3z"}),"HomeOutlined");var N4={},Nne=wr;Object.defineProperty(N4,"__esModule",{value:!0});var zne=N4.default=void 0,jne=Nne(Rr()),Une=Y;zne=N4.default=(0,jne.default)((0,Une.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings");var z4={},Hne=wr;Object.defineProperty(z4,"__esModule",{value:!0});var Wne=z4.default=void 0,Vne=Hne(Rr()),qne=Y;Wne=z4.default=(0,Vne.default)((0,qne.jsx)("path",{d:"M19.43 12.98c.04-.32.07-.64.07-.98 0-.34-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.09-.16-.26-.25-.44-.25-.06 0-.12.01-.17.03l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.06-.02-.12-.03-.18-.03-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98 0 .33.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.09.16.26.25.44.25.06 0 .12-.01.17-.03l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.06.02.12.03.18.03.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64zm-1.98-1.71c.04.31.05.52.05.73 0 .21-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"}),"SettingsOutlined");var j4={},Kne=wr;Object.defineProperty(j4,"__esModule",{value:!0});var Gne=j4.default=void 0,Yne=Kne(Rr()),Xne=Y;Gne=j4.default=(0,Yne.default)((0,Xne.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check");var U4={},Jne=wr;Object.defineProperty(U4,"__esModule",{value:!0});var Zne=U4.default=void 0,Qne=Jne(Rr()),eie=Y;Zne=U4.default=(0,Qne.default)((0,eie.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy");var H4={},tie=wr;Object.defineProperty(H4,"__esModule",{value:!0});var rie=H4.default=void 0,nie=tie(Rr()),iie=Y;rie=H4.default=(0,nie.default)((0,iie.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"MenuTwoTone");var W4={},oie=wr;Object.defineProperty(W4,"__esModule",{value:!0});var aie=W4.default=void 0,sie=oie(Rr()),lie=Y;aie=W4.default=(0,sie.default)((0,lie.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 16.5c-.83 0-1.5-.67-1.5-1.5h3c0 .83-.67 1.5-1.5 1.5m5-2.5H7v-1l1-1v-2.61C8 9.27 9.03 7.47 11 7v-.5c0-.57.43-1 1-1s1 .43 1 1V7c1.97.47 3 2.28 3 4.39V14l1 1z"}),"CircleNotifications");var V4={},cie=wr;Object.defineProperty(V4,"__esModule",{value:!0});var uie=V4.default=void 0,fie=cie(Rr()),die=Y;uie=V4.default=(0,fie.default)((0,die.jsx)("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z"}),"KeyboardBackspace");var q4={exports:{}};q4.exports;(function(e){(function(t,r){function n(g,h){if(!g)throw new Error(h||"Assertion failed")}function i(g,h){g.super_=h;var x=function(){};x.prototype=h.prototype,g.prototype=new x,g.prototype.constructor=g}function o(g,h,x){if(o.isBN(g))return g;this.negative=0,this.words=null,this.length=0,this.red=null,g!==null&&((h==="le"||h==="be")&&(x=h,h=10),this._init(g||0,h||10,x||"be"))}typeof t=="object"?t.exports=o:r.BN=o,o.BN=o,o.wordSize=26;var a;try{typeof window<"u"&&typeof window.Buffer<"u"?a=window.Buffer:a=Ip.Buffer}catch{}o.isBN=function(h){return h instanceof o?!0:h!==null&&typeof h=="object"&&h.constructor.wordSize===o.wordSize&&Array.isArray(h.words)},o.max=function(h,x){return h.cmp(x)>0?h:x},o.min=function(h,x){return h.cmp(x)<0?h:x},o.prototype._init=function(h,x,S){if(typeof h=="number")return this._initNumber(h,x,S);if(typeof h=="object")return this._initArray(h,x,S);x==="hex"&&(x=16),n(x===(x|0)&&x>=2&&x<=36),h=h.toString().replace(/\s+/g,"");var T=0;h[0]==="-"&&(T++,this.negative=1),T=0;T-=3)$=h[T]|h[T-1]<<8|h[T-2]<<16,this.words[k]|=$<>>26-P&67108863,P+=24,P>=26&&(P-=26,k++);else if(S==="le")for(T=0,k=0;T>>26-P&67108863,P+=24,P>=26&&(P-=26,k++);return this._strip()};function s(g,h){var x=g.charCodeAt(h);if(x>=48&&x<=57)return x-48;if(x>=65&&x<=70)return x-55;if(x>=97&&x<=102)return x-87;n(!1,"Invalid character in "+g)}function l(g,h,x){var S=s(g,x);return x-1>=h&&(S|=s(g,x-1)<<4),S}o.prototype._parseHex=function(h,x,S){this.length=Math.ceil((h.length-x)/6),this.words=new Array(this.length);for(var T=0;T=x;T-=2)P=l(h,x,T)<=18?(k-=18,$+=1,this.words[$]|=P>>>26):k+=8;else{var E=h.length-x;for(T=E%2===0?x+1:x;T=18?(k-=18,$+=1,this.words[$]|=P>>>26):k+=8}this._strip()};function c(g,h,x,S){for(var T=0,k=0,$=Math.min(g.length,x),P=h;P<$;P++){var E=g.charCodeAt(P)-48;T*=S,E>=49?k=E-49+10:E>=17?k=E-17+10:k=E,n(E>=0&&k1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},o.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch{o.prototype.inspect=f}else o.prototype.inspect=f;function f(){return(this.red?""}var d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],b=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(h,x){h=h||10,x=x|0||1;var S;if(h===16||h==="hex"){S="";for(var T=0,k=0,$=0;$>>24-T&16777215,T+=2,T>=26&&(T-=26,$--),k!==0||$!==this.length-1?S=d[6-E.length]+E+S:S=E+S}for(k!==0&&(S=k.toString(16)+S);S.length%x!==0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}if(h===(h|0)&&h>=2&&h<=36){var A=b[h],z=p[h];S="";var H=this.clone();for(H.negative=0;!H.isZero();){var O=H.modrn(z).toString(h);H=H.idivn(z),H.isZero()?S=O+S:S=d[A-O.length]+O+S}for(this.isZero()&&(S="0"+S);S.length%x!==0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var h=this.words[0];return this.length===2?h+=this.words[1]*67108864:this.length===3&&this.words[2]===1?h+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-h:h},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(h,x){return this.toArrayLike(a,h,x)}),o.prototype.toArray=function(h,x){return this.toArrayLike(Array,h,x)};var v=function(h,x){return h.allocUnsafe?h.allocUnsafe(x):new h(x)};o.prototype.toArrayLike=function(h,x,S){this._strip();var T=this.byteLength(),k=S||Math.max(1,T);n(T<=k,"byte array longer than desired length"),n(k>0,"Requested array length <= 0");var $=v(h,k),P=x==="le"?"LE":"BE";return this["_toArrayLike"+P]($,T),$},o.prototype._toArrayLikeLE=function(h,x){for(var S=0,T=0,k=0,$=0;k>8&255),S>16&255),$===6?(S>24&255),T=0,$=0):(T=P>>>24,$+=2)}if(S=0&&(h[S--]=P>>8&255),S>=0&&(h[S--]=P>>16&255),$===6?(S>=0&&(h[S--]=P>>24&255),T=0,$=0):(T=P>>>24,$+=2)}if(S>=0)for(h[S--]=T;S>=0;)h[S--]=0},Math.clz32?o.prototype._countBits=function(h){return 32-Math.clz32(h)}:o.prototype._countBits=function(h){var x=h,S=0;return x>=4096&&(S+=13,x>>>=13),x>=64&&(S+=7,x>>>=7),x>=8&&(S+=4,x>>>=4),x>=2&&(S+=2,x>>>=2),S+x},o.prototype._zeroBits=function(h){if(h===0)return 26;var x=h,S=0;return x&8191||(S+=13,x>>>=13),x&127||(S+=7,x>>>=7),x&15||(S+=4,x>>>=4),x&3||(S+=2,x>>>=2),x&1||S++,S},o.prototype.bitLength=function(){var h=this.words[this.length-1],x=this._countBits(h);return(this.length-1)*26+x};function w(g){for(var h=new Array(g.bitLength()),x=0;x>>T&1}return h}o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var h=0,x=0;xh.length?this.clone().ior(h):h.clone().ior(this)},o.prototype.uor=function(h){return this.length>h.length?this.clone().iuor(h):h.clone().iuor(this)},o.prototype.iuand=function(h){var x;this.length>h.length?x=h:x=this;for(var S=0;Sh.length?this.clone().iand(h):h.clone().iand(this)},o.prototype.uand=function(h){return this.length>h.length?this.clone().iuand(h):h.clone().iuand(this)},o.prototype.iuxor=function(h){var x,S;this.length>h.length?(x=this,S=h):(x=h,S=this);for(var T=0;Th.length?this.clone().ixor(h):h.clone().ixor(this)},o.prototype.uxor=function(h){return this.length>h.length?this.clone().iuxor(h):h.clone().iuxor(this)},o.prototype.inotn=function(h){n(typeof h=="number"&&h>=0);var x=Math.ceil(h/26)|0,S=h%26;this._expand(x),S>0&&x--;for(var T=0;T0&&(this.words[T]=~this.words[T]&67108863>>26-S),this._strip()},o.prototype.notn=function(h){return this.clone().inotn(h)},o.prototype.setn=function(h,x){n(typeof h=="number"&&h>=0);var S=h/26|0,T=h%26;return this._expand(S+1),x?this.words[S]=this.words[S]|1<h.length?(S=this,T=h):(S=h,T=this);for(var k=0,$=0;$>>26;for(;k!==0&&$>>26;if(this.length=S.length,k!==0)this.words[this.length]=k,this.length++;else if(S!==this)for(;$h.length?this.clone().iadd(h):h.clone().iadd(this)},o.prototype.isub=function(h){if(h.negative!==0){h.negative=0;var x=this.iadd(h);return h.negative=1,x._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(h),this.negative=1,this._normSign();var S=this.cmp(h);if(S===0)return this.negative=0,this.length=1,this.words[0]=0,this;var T,k;S>0?(T=this,k=h):(T=h,k=this);for(var $=0,P=0;P>26,this.words[P]=x&67108863;for(;$!==0&&P>26,this.words[P]=x&67108863;if($===0&&P>>26,H=E&67108863,O=Math.min(A,h.length-1),V=Math.max(0,A-g.length+1);V<=O;V++){var X=A-V|0;T=g.words[X]|0,k=h.words[V]|0,$=T*k+H,z+=$/67108864|0,H=$&67108863}x.words[A]=H|0,E=z|0}return E!==0?x.words[A]=E|0:x.length--,x._strip()}var y=function(h,x,S){var T=h.words,k=x.words,$=S.words,P=0,E,A,z,H=T[0]|0,O=H&8191,V=H>>>13,X=T[1]|0,J=X&8191,G=X>>>13,j=T[2]|0,q=j&8191,K=j>>>13,Z=T[3]|0,te=Z&8191,Q=Z>>>13,oe=T[4]|0,me=oe&8191,se=oe>>>13,ye=T[5]|0,Re=ye&8191,we=ye>>>13,He=T[6]|0,Ue=He&8191,Me=He>>>13,Ze=T[7]|0,Je=Ze&8191,Ne=Ze>>>13,De=T[8]|0,de=De&8191,Ie=De>>>13,ot=T[9]|0,lt=ot&8191,ge=ot>>>13,ze=k[0]|0,le=ze&8191,xe=ze>>>13,je=k[1]|0,We=je&8191,Fe=je>>>13,Qe=k[2]|0,ut=Qe&8191,Ge=Qe>>>13,ee=k[3]|0,re=ee&8191,ne=ee>>>13,pe=k[4]|0,ke=pe&8191,Te=pe>>>13,$e=k[5]|0,Pe=$e&8191,ce=$e>>>13,_e=k[6]|0,Ve=_e&8191,Ce=_e>>>13,Xe=k[7]|0,dt=Xe&8191,qe=Xe>>>13,ht=k[8]|0,mt=ht&8191,rt=ht>>>13,ae=k[9]|0,ie=ae&8191,ve=ae>>>13;S.negative=h.negative^x.negative,S.length=19,E=Math.imul(O,le),A=Math.imul(O,xe),A=A+Math.imul(V,le)|0,z=Math.imul(V,xe);var Ae=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,E=Math.imul(J,le),A=Math.imul(J,xe),A=A+Math.imul(G,le)|0,z=Math.imul(G,xe),E=E+Math.imul(O,We)|0,A=A+Math.imul(O,Fe)|0,A=A+Math.imul(V,We)|0,z=z+Math.imul(V,Fe)|0;var Ye=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(Ye>>>26)|0,Ye&=67108863,E=Math.imul(q,le),A=Math.imul(q,xe),A=A+Math.imul(K,le)|0,z=Math.imul(K,xe),E=E+Math.imul(J,We)|0,A=A+Math.imul(J,Fe)|0,A=A+Math.imul(G,We)|0,z=z+Math.imul(G,Fe)|0,E=E+Math.imul(O,ut)|0,A=A+Math.imul(O,Ge)|0,A=A+Math.imul(V,ut)|0,z=z+Math.imul(V,Ge)|0;var Le=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(Le>>>26)|0,Le&=67108863,E=Math.imul(te,le),A=Math.imul(te,xe),A=A+Math.imul(Q,le)|0,z=Math.imul(Q,xe),E=E+Math.imul(q,We)|0,A=A+Math.imul(q,Fe)|0,A=A+Math.imul(K,We)|0,z=z+Math.imul(K,Fe)|0,E=E+Math.imul(J,ut)|0,A=A+Math.imul(J,Ge)|0,A=A+Math.imul(G,ut)|0,z=z+Math.imul(G,Ge)|0,E=E+Math.imul(O,re)|0,A=A+Math.imul(O,ne)|0,A=A+Math.imul(V,re)|0,z=z+Math.imul(V,ne)|0;var pt=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(pt>>>26)|0,pt&=67108863,E=Math.imul(me,le),A=Math.imul(me,xe),A=A+Math.imul(se,le)|0,z=Math.imul(se,xe),E=E+Math.imul(te,We)|0,A=A+Math.imul(te,Fe)|0,A=A+Math.imul(Q,We)|0,z=z+Math.imul(Q,Fe)|0,E=E+Math.imul(q,ut)|0,A=A+Math.imul(q,Ge)|0,A=A+Math.imul(K,ut)|0,z=z+Math.imul(K,Ge)|0,E=E+Math.imul(J,re)|0,A=A+Math.imul(J,ne)|0,A=A+Math.imul(G,re)|0,z=z+Math.imul(G,ne)|0,E=E+Math.imul(O,ke)|0,A=A+Math.imul(O,Te)|0,A=A+Math.imul(V,ke)|0,z=z+Math.imul(V,Te)|0;var Bt=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,E=Math.imul(Re,le),A=Math.imul(Re,xe),A=A+Math.imul(we,le)|0,z=Math.imul(we,xe),E=E+Math.imul(me,We)|0,A=A+Math.imul(me,Fe)|0,A=A+Math.imul(se,We)|0,z=z+Math.imul(se,Fe)|0,E=E+Math.imul(te,ut)|0,A=A+Math.imul(te,Ge)|0,A=A+Math.imul(Q,ut)|0,z=z+Math.imul(Q,Ge)|0,E=E+Math.imul(q,re)|0,A=A+Math.imul(q,ne)|0,A=A+Math.imul(K,re)|0,z=z+Math.imul(K,ne)|0,E=E+Math.imul(J,ke)|0,A=A+Math.imul(J,Te)|0,A=A+Math.imul(G,ke)|0,z=z+Math.imul(G,Te)|0,E=E+Math.imul(O,Pe)|0,A=A+Math.imul(O,ce)|0,A=A+Math.imul(V,Pe)|0,z=z+Math.imul(V,ce)|0;var gt=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(gt>>>26)|0,gt&=67108863,E=Math.imul(Ue,le),A=Math.imul(Ue,xe),A=A+Math.imul(Me,le)|0,z=Math.imul(Me,xe),E=E+Math.imul(Re,We)|0,A=A+Math.imul(Re,Fe)|0,A=A+Math.imul(we,We)|0,z=z+Math.imul(we,Fe)|0,E=E+Math.imul(me,ut)|0,A=A+Math.imul(me,Ge)|0,A=A+Math.imul(se,ut)|0,z=z+Math.imul(se,Ge)|0,E=E+Math.imul(te,re)|0,A=A+Math.imul(te,ne)|0,A=A+Math.imul(Q,re)|0,z=z+Math.imul(Q,ne)|0,E=E+Math.imul(q,ke)|0,A=A+Math.imul(q,Te)|0,A=A+Math.imul(K,ke)|0,z=z+Math.imul(K,Te)|0,E=E+Math.imul(J,Pe)|0,A=A+Math.imul(J,ce)|0,A=A+Math.imul(G,Pe)|0,z=z+Math.imul(G,ce)|0,E=E+Math.imul(O,Ve)|0,A=A+Math.imul(O,Ce)|0,A=A+Math.imul(V,Ve)|0,z=z+Math.imul(V,Ce)|0;var St=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(St>>>26)|0,St&=67108863,E=Math.imul(Je,le),A=Math.imul(Je,xe),A=A+Math.imul(Ne,le)|0,z=Math.imul(Ne,xe),E=E+Math.imul(Ue,We)|0,A=A+Math.imul(Ue,Fe)|0,A=A+Math.imul(Me,We)|0,z=z+Math.imul(Me,Fe)|0,E=E+Math.imul(Re,ut)|0,A=A+Math.imul(Re,Ge)|0,A=A+Math.imul(we,ut)|0,z=z+Math.imul(we,Ge)|0,E=E+Math.imul(me,re)|0,A=A+Math.imul(me,ne)|0,A=A+Math.imul(se,re)|0,z=z+Math.imul(se,ne)|0,E=E+Math.imul(te,ke)|0,A=A+Math.imul(te,Te)|0,A=A+Math.imul(Q,ke)|0,z=z+Math.imul(Q,Te)|0,E=E+Math.imul(q,Pe)|0,A=A+Math.imul(q,ce)|0,A=A+Math.imul(K,Pe)|0,z=z+Math.imul(K,ce)|0,E=E+Math.imul(J,Ve)|0,A=A+Math.imul(J,Ce)|0,A=A+Math.imul(G,Ve)|0,z=z+Math.imul(G,Ce)|0,E=E+Math.imul(O,dt)|0,A=A+Math.imul(O,qe)|0,A=A+Math.imul(V,dt)|0,z=z+Math.imul(V,qe)|0;var Ht=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,E=Math.imul(de,le),A=Math.imul(de,xe),A=A+Math.imul(Ie,le)|0,z=Math.imul(Ie,xe),E=E+Math.imul(Je,We)|0,A=A+Math.imul(Je,Fe)|0,A=A+Math.imul(Ne,We)|0,z=z+Math.imul(Ne,Fe)|0,E=E+Math.imul(Ue,ut)|0,A=A+Math.imul(Ue,Ge)|0,A=A+Math.imul(Me,ut)|0,z=z+Math.imul(Me,Ge)|0,E=E+Math.imul(Re,re)|0,A=A+Math.imul(Re,ne)|0,A=A+Math.imul(we,re)|0,z=z+Math.imul(we,ne)|0,E=E+Math.imul(me,ke)|0,A=A+Math.imul(me,Te)|0,A=A+Math.imul(se,ke)|0,z=z+Math.imul(se,Te)|0,E=E+Math.imul(te,Pe)|0,A=A+Math.imul(te,ce)|0,A=A+Math.imul(Q,Pe)|0,z=z+Math.imul(Q,ce)|0,E=E+Math.imul(q,Ve)|0,A=A+Math.imul(q,Ce)|0,A=A+Math.imul(K,Ve)|0,z=z+Math.imul(K,Ce)|0,E=E+Math.imul(J,dt)|0,A=A+Math.imul(J,qe)|0,A=A+Math.imul(G,dt)|0,z=z+Math.imul(G,qe)|0,E=E+Math.imul(O,mt)|0,A=A+Math.imul(O,rt)|0,A=A+Math.imul(V,mt)|0,z=z+Math.imul(V,rt)|0;var Hr=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(Hr>>>26)|0,Hr&=67108863,E=Math.imul(lt,le),A=Math.imul(lt,xe),A=A+Math.imul(ge,le)|0,z=Math.imul(ge,xe),E=E+Math.imul(de,We)|0,A=A+Math.imul(de,Fe)|0,A=A+Math.imul(Ie,We)|0,z=z+Math.imul(Ie,Fe)|0,E=E+Math.imul(Je,ut)|0,A=A+Math.imul(Je,Ge)|0,A=A+Math.imul(Ne,ut)|0,z=z+Math.imul(Ne,Ge)|0,E=E+Math.imul(Ue,re)|0,A=A+Math.imul(Ue,ne)|0,A=A+Math.imul(Me,re)|0,z=z+Math.imul(Me,ne)|0,E=E+Math.imul(Re,ke)|0,A=A+Math.imul(Re,Te)|0,A=A+Math.imul(we,ke)|0,z=z+Math.imul(we,Te)|0,E=E+Math.imul(me,Pe)|0,A=A+Math.imul(me,ce)|0,A=A+Math.imul(se,Pe)|0,z=z+Math.imul(se,ce)|0,E=E+Math.imul(te,Ve)|0,A=A+Math.imul(te,Ce)|0,A=A+Math.imul(Q,Ve)|0,z=z+Math.imul(Q,Ce)|0,E=E+Math.imul(q,dt)|0,A=A+Math.imul(q,qe)|0,A=A+Math.imul(K,dt)|0,z=z+Math.imul(K,qe)|0,E=E+Math.imul(J,mt)|0,A=A+Math.imul(J,rt)|0,A=A+Math.imul(G,mt)|0,z=z+Math.imul(G,rt)|0,E=E+Math.imul(O,ie)|0,A=A+Math.imul(O,ve)|0,A=A+Math.imul(V,ie)|0,z=z+Math.imul(V,ve)|0;var Cn=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(Cn>>>26)|0,Cn&=67108863,E=Math.imul(lt,We),A=Math.imul(lt,Fe),A=A+Math.imul(ge,We)|0,z=Math.imul(ge,Fe),E=E+Math.imul(de,ut)|0,A=A+Math.imul(de,Ge)|0,A=A+Math.imul(Ie,ut)|0,z=z+Math.imul(Ie,Ge)|0,E=E+Math.imul(Je,re)|0,A=A+Math.imul(Je,ne)|0,A=A+Math.imul(Ne,re)|0,z=z+Math.imul(Ne,ne)|0,E=E+Math.imul(Ue,ke)|0,A=A+Math.imul(Ue,Te)|0,A=A+Math.imul(Me,ke)|0,z=z+Math.imul(Me,Te)|0,E=E+Math.imul(Re,Pe)|0,A=A+Math.imul(Re,ce)|0,A=A+Math.imul(we,Pe)|0,z=z+Math.imul(we,ce)|0,E=E+Math.imul(me,Ve)|0,A=A+Math.imul(me,Ce)|0,A=A+Math.imul(se,Ve)|0,z=z+Math.imul(se,Ce)|0,E=E+Math.imul(te,dt)|0,A=A+Math.imul(te,qe)|0,A=A+Math.imul(Q,dt)|0,z=z+Math.imul(Q,qe)|0,E=E+Math.imul(q,mt)|0,A=A+Math.imul(q,rt)|0,A=A+Math.imul(K,mt)|0,z=z+Math.imul(K,rt)|0,E=E+Math.imul(J,ie)|0,A=A+Math.imul(J,ve)|0,A=A+Math.imul(G,ie)|0,z=z+Math.imul(G,ve)|0;var ms=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(ms>>>26)|0,ms&=67108863,E=Math.imul(lt,ut),A=Math.imul(lt,Ge),A=A+Math.imul(ge,ut)|0,z=Math.imul(ge,Ge),E=E+Math.imul(de,re)|0,A=A+Math.imul(de,ne)|0,A=A+Math.imul(Ie,re)|0,z=z+Math.imul(Ie,ne)|0,E=E+Math.imul(Je,ke)|0,A=A+Math.imul(Je,Te)|0,A=A+Math.imul(Ne,ke)|0,z=z+Math.imul(Ne,Te)|0,E=E+Math.imul(Ue,Pe)|0,A=A+Math.imul(Ue,ce)|0,A=A+Math.imul(Me,Pe)|0,z=z+Math.imul(Me,ce)|0,E=E+Math.imul(Re,Ve)|0,A=A+Math.imul(Re,Ce)|0,A=A+Math.imul(we,Ve)|0,z=z+Math.imul(we,Ce)|0,E=E+Math.imul(me,dt)|0,A=A+Math.imul(me,qe)|0,A=A+Math.imul(se,dt)|0,z=z+Math.imul(se,qe)|0,E=E+Math.imul(te,mt)|0,A=A+Math.imul(te,rt)|0,A=A+Math.imul(Q,mt)|0,z=z+Math.imul(Q,rt)|0,E=E+Math.imul(q,ie)|0,A=A+Math.imul(q,ve)|0,A=A+Math.imul(K,ie)|0,z=z+Math.imul(K,ve)|0;var gs=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(gs>>>26)|0,gs&=67108863,E=Math.imul(lt,re),A=Math.imul(lt,ne),A=A+Math.imul(ge,re)|0,z=Math.imul(ge,ne),E=E+Math.imul(de,ke)|0,A=A+Math.imul(de,Te)|0,A=A+Math.imul(Ie,ke)|0,z=z+Math.imul(Ie,Te)|0,E=E+Math.imul(Je,Pe)|0,A=A+Math.imul(Je,ce)|0,A=A+Math.imul(Ne,Pe)|0,z=z+Math.imul(Ne,ce)|0,E=E+Math.imul(Ue,Ve)|0,A=A+Math.imul(Ue,Ce)|0,A=A+Math.imul(Me,Ve)|0,z=z+Math.imul(Me,Ce)|0,E=E+Math.imul(Re,dt)|0,A=A+Math.imul(Re,qe)|0,A=A+Math.imul(we,dt)|0,z=z+Math.imul(we,qe)|0,E=E+Math.imul(me,mt)|0,A=A+Math.imul(me,rt)|0,A=A+Math.imul(se,mt)|0,z=z+Math.imul(se,rt)|0,E=E+Math.imul(te,ie)|0,A=A+Math.imul(te,ve)|0,A=A+Math.imul(Q,ie)|0,z=z+Math.imul(Q,ve)|0;var vs=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(vs>>>26)|0,vs&=67108863,E=Math.imul(lt,ke),A=Math.imul(lt,Te),A=A+Math.imul(ge,ke)|0,z=Math.imul(ge,Te),E=E+Math.imul(de,Pe)|0,A=A+Math.imul(de,ce)|0,A=A+Math.imul(Ie,Pe)|0,z=z+Math.imul(Ie,ce)|0,E=E+Math.imul(Je,Ve)|0,A=A+Math.imul(Je,Ce)|0,A=A+Math.imul(Ne,Ve)|0,z=z+Math.imul(Ne,Ce)|0,E=E+Math.imul(Ue,dt)|0,A=A+Math.imul(Ue,qe)|0,A=A+Math.imul(Me,dt)|0,z=z+Math.imul(Me,qe)|0,E=E+Math.imul(Re,mt)|0,A=A+Math.imul(Re,rt)|0,A=A+Math.imul(we,mt)|0,z=z+Math.imul(we,rt)|0,E=E+Math.imul(me,ie)|0,A=A+Math.imul(me,ve)|0,A=A+Math.imul(se,ie)|0,z=z+Math.imul(se,ve)|0;var bs=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(bs>>>26)|0,bs&=67108863,E=Math.imul(lt,Pe),A=Math.imul(lt,ce),A=A+Math.imul(ge,Pe)|0,z=Math.imul(ge,ce),E=E+Math.imul(de,Ve)|0,A=A+Math.imul(de,Ce)|0,A=A+Math.imul(Ie,Ve)|0,z=z+Math.imul(Ie,Ce)|0,E=E+Math.imul(Je,dt)|0,A=A+Math.imul(Je,qe)|0,A=A+Math.imul(Ne,dt)|0,z=z+Math.imul(Ne,qe)|0,E=E+Math.imul(Ue,mt)|0,A=A+Math.imul(Ue,rt)|0,A=A+Math.imul(Me,mt)|0,z=z+Math.imul(Me,rt)|0,E=E+Math.imul(Re,ie)|0,A=A+Math.imul(Re,ve)|0,A=A+Math.imul(we,ie)|0,z=z+Math.imul(we,ve)|0;var ys=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(ys>>>26)|0,ys&=67108863,E=Math.imul(lt,Ve),A=Math.imul(lt,Ce),A=A+Math.imul(ge,Ve)|0,z=Math.imul(ge,Ce),E=E+Math.imul(de,dt)|0,A=A+Math.imul(de,qe)|0,A=A+Math.imul(Ie,dt)|0,z=z+Math.imul(Ie,qe)|0,E=E+Math.imul(Je,mt)|0,A=A+Math.imul(Je,rt)|0,A=A+Math.imul(Ne,mt)|0,z=z+Math.imul(Ne,rt)|0,E=E+Math.imul(Ue,ie)|0,A=A+Math.imul(Ue,ve)|0,A=A+Math.imul(Me,ie)|0,z=z+Math.imul(Me,ve)|0;var ws=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(ws>>>26)|0,ws&=67108863,E=Math.imul(lt,dt),A=Math.imul(lt,qe),A=A+Math.imul(ge,dt)|0,z=Math.imul(ge,qe),E=E+Math.imul(de,mt)|0,A=A+Math.imul(de,rt)|0,A=A+Math.imul(Ie,mt)|0,z=z+Math.imul(Ie,rt)|0,E=E+Math.imul(Je,ie)|0,A=A+Math.imul(Je,ve)|0,A=A+Math.imul(Ne,ie)|0,z=z+Math.imul(Ne,ve)|0;var Ss=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(Ss>>>26)|0,Ss&=67108863,E=Math.imul(lt,mt),A=Math.imul(lt,rt),A=A+Math.imul(ge,mt)|0,z=Math.imul(ge,rt),E=E+Math.imul(de,ie)|0,A=A+Math.imul(de,ve)|0,A=A+Math.imul(Ie,ie)|0,z=z+Math.imul(Ie,ve)|0;var rx=(P+E|0)+((A&8191)<<13)|0;P=(z+(A>>>13)|0)+(rx>>>26)|0,rx&=67108863,E=Math.imul(lt,ie),A=Math.imul(lt,ve),A=A+Math.imul(ge,ie)|0,z=Math.imul(ge,ve);var nx=(P+E|0)+((A&8191)<<13)|0;return P=(z+(A>>>13)|0)+(nx>>>26)|0,nx&=67108863,$[0]=Ae,$[1]=Ye,$[2]=Le,$[3]=pt,$[4]=Bt,$[5]=gt,$[6]=St,$[7]=Ht,$[8]=Hr,$[9]=Cn,$[10]=ms,$[11]=gs,$[12]=vs,$[13]=bs,$[14]=ys,$[15]=ws,$[16]=Ss,$[17]=rx,$[18]=nx,P!==0&&($[19]=P,S.length++),S};Math.imul||(y=C);function M(g,h,x){x.negative=h.negative^g.negative,x.length=g.length+h.length;for(var S=0,T=0,k=0;k>>26)|0,T+=$>>>26,$&=67108863}x.words[k]=P,S=$,$=T}return S!==0?x.words[k]=S:x.length--,x._strip()}function B(g,h,x){return M(g,h,x)}o.prototype.mulTo=function(h,x){var S,T=this.length+h.length;return this.length===10&&h.length===10?S=y(this,h,x):T<63?S=C(this,h,x):T<1024?S=M(this,h,x):S=B(this,h,x),S},o.prototype.mul=function(h){var x=new o(null);return x.words=new Array(this.length+h.length),this.mulTo(h,x)},o.prototype.mulf=function(h){var x=new o(null);return x.words=new Array(this.length+h.length),B(this,h,x)},o.prototype.imul=function(h){return this.clone().mulTo(h,this)},o.prototype.imuln=function(h){var x=h<0;x&&(h=-h),n(typeof h=="number"),n(h<67108864);for(var S=0,T=0;T>=26,S+=k/67108864|0,S+=$>>>26,this.words[T]=$&67108863}return S!==0&&(this.words[T]=S,this.length++),x?this.ineg():this},o.prototype.muln=function(h){return this.clone().imuln(h)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(h){var x=w(h);if(x.length===0)return new o(1);for(var S=this,T=0;T=0);var x=h%26,S=(h-x)/26,T=67108863>>>26-x<<26-x,k;if(x!==0){var $=0;for(k=0;k>>26-x}$&&(this.words[k]=$,this.length++)}if(S!==0){for(k=this.length-1;k>=0;k--)this.words[k+S]=this.words[k];for(k=0;k=0);var T;x?T=(x-x%26)/26:T=0;var k=h%26,$=Math.min((h-k)/26,this.length),P=67108863^67108863>>>k<$)for(this.length-=$,A=0;A=0&&(z!==0||A>=T);A--){var H=this.words[A]|0;this.words[A]=z<<26-k|H>>>k,z=H&P}return E&&z!==0&&(E.words[E.length++]=z),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(h,x,S){return n(this.negative===0),this.iushrn(h,x,S)},o.prototype.shln=function(h){return this.clone().ishln(h)},o.prototype.ushln=function(h){return this.clone().iushln(h)},o.prototype.shrn=function(h){return this.clone().ishrn(h)},o.prototype.ushrn=function(h){return this.clone().iushrn(h)},o.prototype.testn=function(h){n(typeof h=="number"&&h>=0);var x=h%26,S=(h-x)/26,T=1<=0);var x=h%26,S=(h-x)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=S)return this;if(x!==0&&S++,this.length=Math.min(S,this.length),x!==0){var T=67108863^67108863>>>x<=67108864;x++)this.words[x]-=67108864,x===this.length-1?this.words[x+1]=1:this.words[x+1]++;return this.length=Math.max(this.length,x+1),this},o.prototype.isubn=function(h){if(n(typeof h=="number"),n(h<67108864),h<0)return this.iaddn(-h);if(this.negative!==0)return this.negative=0,this.iaddn(h),this.negative=1,this;if(this.words[0]-=h,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var x=0;x>26)-(E/67108864|0),this.words[k+S]=$&67108863}for(;k>26,this.words[k+S]=$&67108863;if(P===0)return this._strip();for(n(P===-1),P=0,k=0;k>26,this.words[k]=$&67108863;return this.negative=1,this._strip()},o.prototype._wordDiv=function(h,x){var S=this.length-h.length,T=this.clone(),k=h,$=k.words[k.length-1]|0,P=this._countBits($);S=26-P,S!==0&&(k=k.ushln(S),T.iushln(S),$=k.words[k.length-1]|0);var E=T.length-k.length,A;if(x!=="mod"){A=new o(null),A.length=E+1,A.words=new Array(A.length);for(var z=0;z=0;O--){var V=(T.words[k.length+O]|0)*67108864+(T.words[k.length+O-1]|0);for(V=Math.min(V/$|0,67108863),T._ishlnsubmul(k,V,O);T.negative!==0;)V--,T.negative=0,T._ishlnsubmul(k,1,O),T.isZero()||(T.negative^=1);A&&(A.words[O]=V)}return A&&A._strip(),T._strip(),x!=="div"&&S!==0&&T.iushrn(S),{div:A||null,mod:T}},o.prototype.divmod=function(h,x,S){if(n(!h.isZero()),this.isZero())return{div:new o(0),mod:new o(0)};var T,k,$;return this.negative!==0&&h.negative===0?($=this.neg().divmod(h,x),x!=="mod"&&(T=$.div.neg()),x!=="div"&&(k=$.mod.neg(),S&&k.negative!==0&&k.iadd(h)),{div:T,mod:k}):this.negative===0&&h.negative!==0?($=this.divmod(h.neg(),x),x!=="mod"&&(T=$.div.neg()),{div:T,mod:$.mod}):this.negative&h.negative?($=this.neg().divmod(h.neg(),x),x!=="div"&&(k=$.mod.neg(),S&&k.negative!==0&&k.isub(h)),{div:$.div,mod:k}):h.length>this.length||this.cmp(h)<0?{div:new o(0),mod:this}:h.length===1?x==="div"?{div:this.divn(h.words[0]),mod:null}:x==="mod"?{div:null,mod:new o(this.modrn(h.words[0]))}:{div:this.divn(h.words[0]),mod:new o(this.modrn(h.words[0]))}:this._wordDiv(h,x)},o.prototype.div=function(h){return this.divmod(h,"div",!1).div},o.prototype.mod=function(h){return this.divmod(h,"mod",!1).mod},o.prototype.umod=function(h){return this.divmod(h,"mod",!0).mod},o.prototype.divRound=function(h){var x=this.divmod(h);if(x.mod.isZero())return x.div;var S=x.div.negative!==0?x.mod.isub(h):x.mod,T=h.ushrn(1),k=h.andln(1),$=S.cmp(T);return $<0||k===1&&$===0?x.div:x.div.negative!==0?x.div.isubn(1):x.div.iaddn(1)},o.prototype.modrn=function(h){var x=h<0;x&&(h=-h),n(h<=67108863);for(var S=(1<<26)%h,T=0,k=this.length-1;k>=0;k--)T=(S*T+(this.words[k]|0))%h;return x?-T:T},o.prototype.modn=function(h){return this.modrn(h)},o.prototype.idivn=function(h){var x=h<0;x&&(h=-h),n(h<=67108863);for(var S=0,T=this.length-1;T>=0;T--){var k=(this.words[T]|0)+S*67108864;this.words[T]=k/h|0,S=k%h}return this._strip(),x?this.ineg():this},o.prototype.divn=function(h){return this.clone().idivn(h)},o.prototype.egcd=function(h){n(h.negative===0),n(!h.isZero());var x=this,S=h.clone();x.negative!==0?x=x.umod(h):x=x.clone();for(var T=new o(1),k=new o(0),$=new o(0),P=new o(1),E=0;x.isEven()&&S.isEven();)x.iushrn(1),S.iushrn(1),++E;for(var A=S.clone(),z=x.clone();!x.isZero();){for(var H=0,O=1;!(x.words[0]&O)&&H<26;++H,O<<=1);if(H>0)for(x.iushrn(H);H-- >0;)(T.isOdd()||k.isOdd())&&(T.iadd(A),k.isub(z)),T.iushrn(1),k.iushrn(1);for(var V=0,X=1;!(S.words[0]&X)&&V<26;++V,X<<=1);if(V>0)for(S.iushrn(V);V-- >0;)($.isOdd()||P.isOdd())&&($.iadd(A),P.isub(z)),$.iushrn(1),P.iushrn(1);x.cmp(S)>=0?(x.isub(S),T.isub($),k.isub(P)):(S.isub(x),$.isub(T),P.isub(k))}return{a:$,b:P,gcd:S.iushln(E)}},o.prototype._invmp=function(h){n(h.negative===0),n(!h.isZero());var x=this,S=h.clone();x.negative!==0?x=x.umod(h):x=x.clone();for(var T=new o(1),k=new o(0),$=S.clone();x.cmpn(1)>0&&S.cmpn(1)>0;){for(var P=0,E=1;!(x.words[0]&E)&&P<26;++P,E<<=1);if(P>0)for(x.iushrn(P);P-- >0;)T.isOdd()&&T.iadd($),T.iushrn(1);for(var A=0,z=1;!(S.words[0]&z)&&A<26;++A,z<<=1);if(A>0)for(S.iushrn(A);A-- >0;)k.isOdd()&&k.iadd($),k.iushrn(1);x.cmp(S)>=0?(x.isub(S),T.isub(k)):(S.isub(x),k.isub(T))}var H;return x.cmpn(1)===0?H=T:H=k,H.cmpn(0)<0&&H.iadd(h),H},o.prototype.gcd=function(h){if(this.isZero())return h.abs();if(h.isZero())return this.abs();var x=this.clone(),S=h.clone();x.negative=0,S.negative=0;for(var T=0;x.isEven()&&S.isEven();T++)x.iushrn(1),S.iushrn(1);do{for(;x.isEven();)x.iushrn(1);for(;S.isEven();)S.iushrn(1);var k=x.cmp(S);if(k<0){var $=x;x=S,S=$}else if(k===0||S.cmpn(1)===0)break;x.isub(S)}while(!0);return S.iushln(T)},o.prototype.invm=function(h){return this.egcd(h).a.umod(h)},o.prototype.isEven=function(){return(this.words[0]&1)===0},o.prototype.isOdd=function(){return(this.words[0]&1)===1},o.prototype.andln=function(h){return this.words[0]&h},o.prototype.bincn=function(h){n(typeof h=="number");var x=h%26,S=(h-x)/26,T=1<>>26,P&=67108863,this.words[$]=P}return k!==0&&(this.words[$]=k,this.length++),this},o.prototype.isZero=function(){return this.length===1&&this.words[0]===0},o.prototype.cmpn=function(h){var x=h<0;if(this.negative!==0&&!x)return-1;if(this.negative===0&&x)return 1;this._strip();var S;if(this.length>1)S=1;else{x&&(h=-h),n(h<=67108863,"Number is too big");var T=this.words[0]|0;S=T===h?0:Th.length)return 1;if(this.length=0;S--){var T=this.words[S]|0,k=h.words[S]|0;if(T!==k){Tk&&(x=1);break}}return x},o.prototype.gtn=function(h){return this.cmpn(h)===1},o.prototype.gt=function(h){return this.cmp(h)===1},o.prototype.gten=function(h){return this.cmpn(h)>=0},o.prototype.gte=function(h){return this.cmp(h)>=0},o.prototype.ltn=function(h){return this.cmpn(h)===-1},o.prototype.lt=function(h){return this.cmp(h)===-1},o.prototype.lten=function(h){return this.cmpn(h)<=0},o.prototype.lte=function(h){return this.cmp(h)<=0},o.prototype.eqn=function(h){return this.cmpn(h)===0},o.prototype.eq=function(h){return this.cmp(h)===0},o.red=function(h){return new R(h)},o.prototype.toRed=function(h){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),h.convertTo(this)._forceRed(h)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(h){return this.red=h,this},o.prototype.forceRed=function(h){return n(!this.red,"Already a number in reduction context"),this._forceRed(h)},o.prototype.redAdd=function(h){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,h)},o.prototype.redIAdd=function(h){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,h)},o.prototype.redSub=function(h){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,h)},o.prototype.redISub=function(h){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,h)},o.prototype.redShl=function(h){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,h)},o.prototype.redMul=function(h){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.mul(this,h)},o.prototype.redIMul=function(h){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.imul(this,h)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(h){return n(this.red&&!h.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,h)};var D={k256:null,p224:null,p192:null,p25519:null};function F(g,h){this.name=g,this.p=new o(h,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}F.prototype._tmp=function(){var h=new o(null);return h.words=new Array(Math.ceil(this.n/13)),h},F.prototype.ireduce=function(h){var x=h,S;do this.split(x,this.tmp),x=this.imulK(x),x=x.iadd(this.tmp),S=x.bitLength();while(S>this.n);var T=S0?x.isub(this.p):x.strip!==void 0?x.strip():x._strip(),x},F.prototype.split=function(h,x){h.iushrn(this.n,0,x)},F.prototype.imulK=function(h){return h.imul(this.k)};function N(){F.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(N,F),N.prototype.split=function(h,x){for(var S=4194303,T=Math.min(h.length,9),k=0;k>>22,$=P}$>>>=22,h.words[k-10]=$,$===0&&h.length>10?h.length-=10:h.length-=9},N.prototype.imulK=function(h){h.words[h.length]=0,h.words[h.length+1]=0,h.length+=2;for(var x=0,S=0;S>>=26,h.words[S]=k,x=T}return x!==0&&(h.words[h.length++]=x),h},o._prime=function(h){if(D[h])return D[h];var x;if(h==="k256")x=new N;else if(h==="p224")x=new _;else if(h==="p192")x=new L;else if(h==="p25519")x=new I;else throw new Error("Unknown prime "+h);return D[h]=x,x};function R(g){if(typeof g=="string"){var h=o._prime(g);this.m=h.p,this.prime=h}else n(g.gtn(1),"modulus must be greater than 1"),this.m=g,this.prime=null}R.prototype._verify1=function(h){n(h.negative===0,"red works only with positives"),n(h.red,"red works only with red numbers")},R.prototype._verify2=function(h,x){n((h.negative|x.negative)===0,"red works only with positives"),n(h.red&&h.red===x.red,"red works only with red numbers")},R.prototype.imod=function(h){return this.prime?this.prime.ireduce(h)._forceRed(this):(u(h,h.umod(this.m)._forceRed(this)),h)},R.prototype.neg=function(h){return h.isZero()?h.clone():this.m.sub(h)._forceRed(this)},R.prototype.add=function(h,x){this._verify2(h,x);var S=h.add(x);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},R.prototype.iadd=function(h,x){this._verify2(h,x);var S=h.iadd(x);return S.cmp(this.m)>=0&&S.isub(this.m),S},R.prototype.sub=function(h,x){this._verify2(h,x);var S=h.sub(x);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},R.prototype.isub=function(h,x){this._verify2(h,x);var S=h.isub(x);return S.cmpn(0)<0&&S.iadd(this.m),S},R.prototype.shl=function(h,x){return this._verify1(h),this.imod(h.ushln(x))},R.prototype.imul=function(h,x){return this._verify2(h,x),this.imod(h.imul(x))},R.prototype.mul=function(h,x){return this._verify2(h,x),this.imod(h.mul(x))},R.prototype.isqr=function(h){return this.imul(h,h.clone())},R.prototype.sqr=function(h){return this.mul(h,h)},R.prototype.sqrt=function(h){if(h.isZero())return h.clone();var x=this.m.andln(3);if(n(x%2===1),x===3){var S=this.m.add(new o(1)).iushrn(2);return this.pow(h,S)}for(var T=this.m.subn(1),k=0;!T.isZero()&&T.andln(1)===0;)k++,T.iushrn(1);n(!T.isZero());var $=new o(1).toRed(this),P=$.redNeg(),E=this.m.subn(1).iushrn(1),A=this.m.bitLength();for(A=new o(2*A*A).toRed(this);this.pow(A,E).cmp(P)!==0;)A.redIAdd(P);for(var z=this.pow(A,T),H=this.pow(h,T.addn(1).iushrn(1)),O=this.pow(h,T),V=k;O.cmp($)!==0;){for(var X=O,J=0;X.cmp($)!==0;J++)X=X.redSqr();n(J=0;k--){for(var z=x.words[k],H=A-1;H>=0;H--){var O=z>>H&1;if($!==T[0]&&($=this.sqr($)),O===0&&P===0){E=0;continue}P<<=1,P|=O,E++,!(E!==S&&(k!==0||H!==0))&&($=this.mul($,T[P]),E=0,P=0)}A=26}return $},R.prototype.convertTo=function(h){var x=h.umod(this.m);return x===h?x.clone():x},R.prototype.convertFrom=function(h){var x=h.clone();return x.red=null,x},o.mont=function(h){return new m(h)};function m(g){R.call(this,g),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}i(m,R),m.prototype.convertTo=function(h){return this.imod(h.ushln(this.shift))},m.prototype.convertFrom=function(h){var x=this.imod(h.mul(this.rinv));return x.red=null,x},m.prototype.imul=function(h,x){if(h.isZero()||x.isZero())return h.words[0]=0,h.length=1,h;var S=h.imul(x),T=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),k=S.isub(T).iushrn(this.shift),$=k;return k.cmp(this.m)>=0?$=k.isub(this.m):k.cmpn(0)<0&&($=k.iadd(this.m)),$._forceRed(this)},m.prototype.mul=function(h,x){if(h.isZero()||x.isZero())return new o(0)._forceRed(this);var S=h.mul(x),T=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),k=S.isub(T).iushrn(this.shift),$=k;return k.cmp(this.m)>=0?$=k.isub(this.m):k.cmpn(0)<0&&($=k.iadd(this.m)),$._forceRed(this)},m.prototype.invm=function(h){var x=this.imod(h._invmp(this.m).mul(this.r2));return x._forceRed(this)}})(e,st)})(q4);var hie=q4.exports;const yt=_r(hie),pie="logger/5.7.0";let w7=!1,S7=!1;const Xd={debug:1,default:2,info:2,warning:3,error:4,off:5};let C7=Xd.default,Zm=null;function xie(){try{const e=[];if(["NFD","NFC","NFKD","NFKC"].forEach(t=>{try{if("test".normalize(t)!=="test")throw new Error("bad normalize")}catch{e.push(t)}}),e.length)throw new Error("missing "+e.join(", "));if("é".normalize("NFD")!=="é")throw new Error("broken implementation")}catch(e){return e.message}return null}const E7=xie();var a2;(function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"})(a2||(a2={}));var Ji;(function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"})(Ji||(Ji={}));const M7="0123456789abcdef";class ct{constructor(t){Object.defineProperty(this,"version",{enumerable:!0,value:t,writable:!1})}_log(t,r){const n=t.toLowerCase();Xd[n]==null&&this.throwArgumentError("invalid log level name","logLevel",t),C7>Xd[n]}debug(...t){this._log(ct.levels.DEBUG,t)}info(...t){this._log(ct.levels.INFO,t)}warn(...t){this._log(ct.levels.WARNING,t)}makeError(t,r,n){if(S7)return this.makeError("censored error",r,{});r||(r=ct.errors.UNKNOWN_ERROR),n||(n={});const i=[];Object.keys(n).forEach(l=>{const c=n[l];try{if(c instanceof Uint8Array){let u="";for(let f=0;f>4],u+=M7[c[f]&15];i.push(l+"=Uint8Array(0x"+u+")")}else i.push(l+"="+JSON.stringify(c))}catch{i.push(l+"="+JSON.stringify(n[l].toString()))}}),i.push(`code=${r}`),i.push(`version=${this.version}`);const o=t;let a="";switch(r){case Ji.NUMERIC_FAULT:{a="NUMERIC_FAULT";const l=t;switch(l){case"overflow":case"underflow":case"division-by-zero":a+="-"+l;break;case"negative-power":case"negative-width":a+="-unsupported";break;case"unbound-bitwise-result":a+="-unbound-result";break}break}case Ji.CALL_EXCEPTION:case Ji.INSUFFICIENT_FUNDS:case Ji.MISSING_NEW:case Ji.NONCE_EXPIRED:case Ji.REPLACEMENT_UNDERPRICED:case Ji.TRANSACTION_REPLACED:case Ji.UNPREDICTABLE_GAS_LIMIT:a=r;break}a&&(t+=" [ See: https://links.ethers.org/v5-errors-"+a+" ]"),i.length&&(t+=" ("+i.join(", ")+")");const s=new Error(t);return s.reason=o,s.code=r,Object.keys(n).forEach(function(l){s[l]=n[l]}),s}throwError(t,r,n){throw this.makeError(t,r,n)}throwArgumentError(t,r,n){return this.throwError(t,ct.errors.INVALID_ARGUMENT,{argument:r,value:n})}assert(t,r,n,i){t||this.throwError(r,n,i)}assertArgument(t,r,n,i){t||this.throwArgumentError(r,n,i)}checkNormalize(t){E7&&this.throwError("platform missing String.prototype.normalize",ct.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:E7})}checkSafeUint53(t,r){typeof t=="number"&&(r==null&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,ct.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,ct.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}checkArgumentCount(t,r,n){n?n=": "+n:n="",tr&&this.throwError("too many arguments"+n,ct.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})}checkNew(t,r){(t===Object||t==null)&&this.throwError("missing new",ct.errors.MISSING_NEW,{name:r.name})}checkAbstract(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",ct.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):(t===Object||t==null)&&this.throwError("missing new",ct.errors.MISSING_NEW,{name:r.name})}static globalLogger(){return Zm||(Zm=new ct(pie)),Zm}static setCensorship(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",ct.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),w7){if(!t)return;this.globalLogger().throwError("error censorship permanent",ct.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}S7=!!t,w7=!!r}static setLogLevel(t){const r=Xd[t.toLowerCase()];if(r==null){ct.globalLogger().warn("invalid log level - "+t);return}C7=r}static from(t){return new ct(t)}}ct.errors=Ji;ct.levels=a2;const mie="bytes/5.7.0",xr=new ct(mie);function yP(e){return!!e.toHexString}function pc(e){return e.slice||(e.slice=function(){const t=Array.prototype.slice.call(arguments);return pc(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function K4(e){return ln(e)&&!(e.length%2)||fu(e)}function P7(e){return typeof e=="number"&&e==e&&e%1===0}function fu(e){if(e==null)return!1;if(e.constructor===Uint8Array)return!0;if(typeof e=="string"||!P7(e.length)||e.length<0)return!1;for(let t=0;t=256)return!1}return!0}function at(e,t){if(t||(t={}),typeof e=="number"){xr.checkSafeUint53(e,"invalid arrayify value");const r=[];for(;e;)r.unshift(e&255),e=parseInt(String(e/256));return r.length===0&&r.push(0),pc(new Uint8Array(r))}if(t.allowMissingPrefix&&typeof e=="string"&&e.substring(0,2)!=="0x"&&(e="0x"+e),yP(e)&&(e=e.toHexString()),ln(e)){let r=e.substring(2);r.length%2&&(t.hexPad==="left"?r="0"+r:t.hexPad==="right"?r+="0":xr.throwArgumentError("hex data is odd-length","value",e));const n=[];for(let i=0;iat(i)),r=t.reduce((i,o)=>i+o.length,0),n=new Uint8Array(r);return t.reduce((i,o)=>(n.set(o,i),i+o.length),0),pc(n)}function Xa(e){let t=at(e);if(t.length===0)return t;let r=0;for(;rt&&xr.throwArgumentError("value out of range","value",arguments[0]);const r=new Uint8Array(t);return r.set(e,t-e.length),pc(r)}function ln(e,t){return!(typeof e!="string"||!e.match(/^0x[0-9A-Fa-f]*$/)||t&&e.length!==2+2*t)}const Qm="0123456789abcdef";function vt(e,t){if(t||(t={}),typeof e=="number"){xr.checkSafeUint53(e,"invalid hexlify value");let r="";for(;e;)r=Qm[e&15]+r,e=Math.floor(e/16);return r.length?(r.length%2&&(r="0"+r),"0x"+r):"0x00"}if(typeof e=="bigint")return e=e.toString(16),e.length%2?"0x0"+e:"0x"+e;if(t.allowMissingPrefix&&typeof e=="string"&&e.substring(0,2)!=="0x"&&(e="0x"+e),yP(e))return e.toHexString();if(ln(e))return e.length%2&&(t.hexPad==="left"?e="0x0"+e.substring(2):t.hexPad==="right"?e+="0":xr.throwArgumentError("hex data is odd-length","value",e)),e.toLowerCase();if(fu(e)){let r="0x";for(let n=0;n>4]+Qm[i&15]}return r}return xr.throwArgumentError("invalid hexlify value","value",e)}function wP(e){if(typeof e!="string")e=vt(e);else if(!ln(e)||e.length%2)return null;return(e.length-2)/2}function s0(e,t,r){return typeof e!="string"?e=vt(e):(!ln(e)||e.length%2)&&xr.throwArgumentError("invalid hexData","value",e),t=2+2*t,r!=null?"0x"+e.substring(t,2+2*r):"0x"+e.substring(t)}function xc(e){let t="0x";return e.forEach(r=>{t+=vt(r).substring(2)}),t}function On(e,t){for(typeof e!="string"?e=vt(e):ln(e)||xr.throwArgumentError("invalid hex string","value",e),e.length>2*t+2&&xr.throwArgumentError("value out of range","value",arguments[1]);e.length<2*t+2;)e="0x0"+e.substring(2);return e}function L0(e){const t={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(K4(e)){let r=at(e);r.length===64?(t.v=27+(r[32]>>7),r[32]&=127,t.r=vt(r.slice(0,32)),t.s=vt(r.slice(32,64))):r.length===65?(t.r=vt(r.slice(0,32)),t.s=vt(r.slice(32,64)),t.v=r[64]):xr.throwArgumentError("invalid signature string","signature",e),t.v<27&&(t.v===0||t.v===1?t.v+=27:xr.throwArgumentError("signature invalid v byte","signature",e)),t.recoveryParam=1-t.v%2,t.recoveryParam&&(r[32]|=128),t._vs=vt(r.slice(32,64))}else{if(t.r=e.r,t.s=e.s,t.v=e.v,t.recoveryParam=e.recoveryParam,t._vs=e._vs,t._vs!=null){const i=gie(at(t._vs),32);t._vs=vt(i);const o=i[0]>=128?1:0;t.recoveryParam==null?t.recoveryParam=o:t.recoveryParam!==o&&xr.throwArgumentError("signature recoveryParam mismatch _vs","signature",e),i[0]&=127;const a=vt(i);t.s==null?t.s=a:t.s!==a&&xr.throwArgumentError("signature v mismatch _vs","signature",e)}if(t.recoveryParam==null)t.v==null?xr.throwArgumentError("signature missing v and recoveryParam","signature",e):t.v===0||t.v===1?t.recoveryParam=t.v:t.recoveryParam=1-t.v%2;else if(t.v==null)t.v=27+t.recoveryParam;else{const i=t.v===0||t.v===1?t.v:1-t.v%2;t.recoveryParam!==i&&xr.throwArgumentError("signature recoveryParam mismatch v","signature",e)}t.r==null||!ln(t.r)?xr.throwArgumentError("signature missing or invalid r","signature",e):t.r=On(t.r,32),t.s==null||!ln(t.s)?xr.throwArgumentError("signature missing or invalid s","signature",e):t.s=On(t.s,32);const r=at(t.s);r[0]>=128&&xr.throwArgumentError("signature s out of range","signature",e),t.recoveryParam&&(r[0]|=128);const n=vt(r);t._vs&&(ln(t._vs)||xr.throwArgumentError("signature invalid _vs","signature",e),t._vs=On(t._vs,32)),t._vs==null?t._vs=n:t._vs!==n&&xr.throwArgumentError("signature _vs mismatch v and s","signature",e)}return t.yParityAndS=t._vs,t.compact=t.r+t.yParityAndS.substring(2),t}function A7(e){return e=L0(e),vt(rs([e.r,e.s,e.recoveryParam?"0x1c":"0x1b"]))}const SP="bignumber/5.7.0";var Zh=yt.BN;const Wo=new ct(SP),eg={},k7=9007199254740991;function vie(e){return e!=null&&(_t.isBigNumber(e)||typeof e=="number"&&e%1===0||typeof e=="string"&&!!e.match(/^-?[0-9]+$/)||ln(e)||typeof e=="bigint"||fu(e))}let _7=!1;class _t{constructor(t,r){t!==eg&&Wo.throwError("cannot call constructor directly; use BigNumber.from",ct.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=r,this._isBigNumber=!0,Object.freeze(this)}fromTwos(t){return En(Pt(this).fromTwos(t))}toTwos(t){return En(Pt(this).toTwos(t))}abs(){return this._hex[0]==="-"?_t.from(this._hex.substring(1)):this}add(t){return En(Pt(this).add(Pt(t)))}sub(t){return En(Pt(this).sub(Pt(t)))}div(t){return _t.from(t).isZero()&&di("division-by-zero","div"),En(Pt(this).div(Pt(t)))}mul(t){return En(Pt(this).mul(Pt(t)))}mod(t){const r=Pt(t);return r.isNeg()&&di("division-by-zero","mod"),En(Pt(this).umod(r))}pow(t){const r=Pt(t);return r.isNeg()&&di("negative-power","pow"),En(Pt(this).pow(r))}and(t){const r=Pt(t);return(this.isNegative()||r.isNeg())&&di("unbound-bitwise-result","and"),En(Pt(this).and(r))}or(t){const r=Pt(t);return(this.isNegative()||r.isNeg())&&di("unbound-bitwise-result","or"),En(Pt(this).or(r))}xor(t){const r=Pt(t);return(this.isNegative()||r.isNeg())&&di("unbound-bitwise-result","xor"),En(Pt(this).xor(r))}mask(t){return(this.isNegative()||t<0)&&di("negative-width","mask"),En(Pt(this).maskn(t))}shl(t){return(this.isNegative()||t<0)&&di("negative-width","shl"),En(Pt(this).shln(t))}shr(t){return(this.isNegative()||t<0)&&di("negative-width","shr"),En(Pt(this).shrn(t))}eq(t){return Pt(this).eq(Pt(t))}lt(t){return Pt(this).lt(Pt(t))}lte(t){return Pt(this).lte(Pt(t))}gt(t){return Pt(this).gt(Pt(t))}gte(t){return Pt(this).gte(Pt(t))}isNegative(){return this._hex[0]==="-"}isZero(){return Pt(this).isZero()}toNumber(){try{return Pt(this).toNumber()}catch{di("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return Wo.throwError("this platform does not support BigInt",ct.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?_7||(_7=!0,Wo.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?Wo.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",ct.errors.UNEXPECTED_ARGUMENT,{}):Wo.throwError("BigNumber.toString does not accept parameters",ct.errors.UNEXPECTED_ARGUMENT,{})),Pt(this).toString(10)}toHexString(){return this._hex}toJSON(t){return{type:"BigNumber",hex:this.toHexString()}}static from(t){if(t instanceof _t)return t;if(typeof t=="string")return t.match(/^-?0x[0-9a-f]+$/i)?new _t(eg,l0(t)):t.match(/^-?[0-9]+$/)?new _t(eg,l0(new Zh(t))):Wo.throwArgumentError("invalid BigNumber string","value",t);if(typeof t=="number")return t%1&&di("underflow","BigNumber.from",t),(t>=k7||t<=-k7)&&di("overflow","BigNumber.from",t),_t.from(String(t));const r=t;if(typeof r=="bigint")return _t.from(r.toString());if(fu(r))return _t.from(vt(r));if(r)if(r.toHexString){const n=r.toHexString();if(typeof n=="string")return _t.from(n)}else{let n=r._hex;if(n==null&&r.type==="BigNumber"&&(n=r.hex),typeof n=="string"&&(ln(n)||n[0]==="-"&&ln(n.substring(1))))return _t.from(n)}return Wo.throwArgumentError("invalid BigNumber value","value",t)}static isBigNumber(t){return!!(t&&t._isBigNumber)}}function l0(e){if(typeof e!="string")return l0(e.toString(16));if(e[0]==="-")return e=e.substring(1),e[0]==="-"&&Wo.throwArgumentError("invalid hex","value",e),e=l0(e),e==="0x00"?e:"-"+e;if(e.substring(0,2)!=="0x"&&(e="0x"+e),e==="0x")return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&e.substring(0,4)==="0x00";)e="0x"+e.substring(4);return e}function En(e){return _t.from(l0(e))}function Pt(e){const t=_t.from(e).toHexString();return t[0]==="-"?new Zh("-"+t.substring(3),16):new Zh(t.substring(2),16)}function di(e,t,r){const n={fault:e,operation:t};return r!=null&&(n.value=r),Wo.throwError(e,ct.errors.NUMERIC_FAULT,n)}function bie(e){return new Zh(e,36).toString(16)}const pn=new ct(SP),Cf={},CP=_t.from(0),EP=_t.from(-1);function MP(e,t,r,n){const i={fault:t,operation:r};return n!==void 0&&(i.value=n),pn.throwError(e,ct.errors.NUMERIC_FAULT,i)}let Ef="0";for(;Ef.length<256;)Ef+=Ef;function G4(e){if(typeof e!="number")try{e=_t.from(e).toNumber()}catch{}return typeof e=="number"&&e>=0&&e<=256&&!(e%1)?"1"+Ef.substring(0,e):pn.throwArgumentError("invalid decimal size","decimals",e)}function Jd(e,t){t==null&&(t=0);const r=G4(t);e=_t.from(e);const n=e.lt(CP);n&&(e=e.mul(EP));let i=e.mod(r).toString();for(;i.length2&&pn.throwArgumentError("too many decimal points","value",e);let o=i[0],a=i[1];for(o||(o="0"),a||(a="0");a[a.length-1]==="0";)a=a.substring(0,a.length-1);for(a.length>r.length-1&&MP("fractional component exceeds decimals","underflow","parseFixed"),a===""&&(a="0");a.lengtht[a]==null?l:(typeof t[a]!==s&&pn.throwArgumentError("invalid fixed format ("+a+" not "+s+")","format."+a,t[a]),t[a]);r=o("signed","boolean",r),n=o("width","number",n),i=o("decimals","number",i)}return n%8&&pn.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",n),i>80&&pn.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",i),new mc(Cf,r,n,i)}}class Vr{constructor(t,r,n,i){t!==Cf&&pn.throwError("cannot use FixedNumber constructor; use FixedNumber.from",ct.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=i,this._hex=r,this._value=n,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(t){this.format.name!==t.format.name&&pn.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",t)}addUnsafe(t){this._checkFormat(t);const r=xo(this._value,this.format.decimals),n=xo(t._value,t.format.decimals);return Vr.fromValue(r.add(n),this.format.decimals,this.format)}subUnsafe(t){this._checkFormat(t);const r=xo(this._value,this.format.decimals),n=xo(t._value,t.format.decimals);return Vr.fromValue(r.sub(n),this.format.decimals,this.format)}mulUnsafe(t){this._checkFormat(t);const r=xo(this._value,this.format.decimals),n=xo(t._value,t.format.decimals);return Vr.fromValue(r.mul(n).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(t){this._checkFormat(t);const r=xo(this._value,this.format.decimals),n=xo(t._value,t.format.decimals);return Vr.fromValue(r.mul(this.format._multiplier).div(n),this.format.decimals,this.format)}floor(){const t=this.toString().split(".");t.length===1&&t.push("0");let r=Vr.from(t[0],this.format);const n=!t[1].match(/^(0*)$/);return this.isNegative()&&n&&(r=r.subUnsafe(R7.toFormat(r.format))),r}ceiling(){const t=this.toString().split(".");t.length===1&&t.push("0");let r=Vr.from(t[0],this.format);const n=!t[1].match(/^(0*)$/);return!this.isNegative()&&n&&(r=r.addUnsafe(R7.toFormat(r.format))),r}round(t){t==null&&(t=0);const r=this.toString().split(".");if(r.length===1&&r.push("0"),(t<0||t>80||t%1)&&pn.throwArgumentError("invalid decimal count","decimals",t),r[1].length<=t)return this;const n=Vr.from("1"+Ef.substring(0,t),this.format),i=yie.toFormat(this.format);return this.mulUnsafe(n).addUnsafe(i).floor().divUnsafe(n)}isZero(){return this._value==="0.0"||this._value==="0"}isNegative(){return this._value[0]==="-"}toString(){return this._value}toHexString(t){if(t==null)return this._hex;t%8&&pn.throwArgumentError("invalid byte width","width",t);const r=_t.from(this._hex).fromTwos(this.format.width).toTwos(t).toHexString();return On(r,t/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(t){return Vr.fromString(this._value,t)}static fromValue(t,r,n){return n==null&&r!=null&&!vie(r)&&(n=r,r=null),r==null&&(r=0),n==null&&(n="fixed"),Vr.fromString(Jd(t,r),mc.from(n))}static fromString(t,r){r==null&&(r="fixed");const n=mc.from(r),i=xo(t,n.decimals);!n.signed&&i.lt(CP)&&MP("unsigned value cannot be negative","overflow","value",t);let o=null;n.signed?o=i.toTwos(n.width).toHexString():(o=i.toHexString(),o=On(o,n.width/8));const a=Jd(i,n.decimals);return new Vr(Cf,o,a,n)}static fromBytes(t,r){r==null&&(r="fixed");const n=mc.from(r);if(at(t).length>n.width/8)throw new Error("overflow");let i=_t.from(t);n.signed&&(i=i.fromTwos(n.width));const o=i.toTwos((n.signed?0:1)+n.width).toHexString(),a=Jd(i,n.decimals);return new Vr(Cf,o,a,n)}static from(t,r){if(typeof t=="string")return Vr.fromString(t,r);if(fu(t))return Vr.fromBytes(t,r);try{return Vr.fromValue(t,0,r)}catch(n){if(n.code!==ct.errors.INVALID_ARGUMENT)throw n}return pn.throwArgumentError("invalid FixedNumber value","value",t)}static isFixedNumber(t){return!!(t&&t._isFixedNumber)}}const R7=Vr.from(1),yie=Vr.from("0.5"),wie="properties/5.7.0";var Sie=function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(u){try{c(n.next(u))}catch(f){a(f)}}function l(u){try{c(n.throw(u))}catch(f){a(f)}}function c(u){u.done?o(u.value):i(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})};const Qh=new ct(wie);function wt(e,t,r){Object.defineProperty(e,t,{enumerable:!0,value:r,writable:!1})}function nc(e){return Sie(this,void 0,void 0,function*(){const t=Object.keys(e).map(n=>{const i=e[n];return Promise.resolve(i).then(o=>({key:n,value:o}))});return(yield Promise.all(t)).reduce((n,i)=>(n[i.key]=i.value,n),{})})}function Cie(e,t){(!e||typeof e!="object")&&Qh.throwArgumentError("invalid object","object",e),Object.keys(e).forEach(r=>{t[r]||Qh.throwArgumentError("invalid object key - "+r,"transaction:"+r,e)})}function s2(e){const t={};for(const r in e)t[r]=e[r];return t}const Eie={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function PP(e){if(e==null||Eie[typeof e])return!0;if(Array.isArray(e)||typeof e=="object"){if(!Object.isFrozen(e))return!1;const t=Object.keys(e);for(let r=0;rep(t)));if(typeof e=="object"){const t={};for(const r in e){const n=e[r];n!==void 0&&wt(t,r,ep(n))}return t}return Qh.throwArgumentError(`Cannot deepCopy ${typeof e}`,"object",e)}function ep(e){return Mie(e)}class AP{constructor(t){for(const r in t)this[r]=ep(t[r])}}var kP={exports:{}};/** - * [js-sha3]{@link https://github.com/emn178/js-sha3} - * - * @version 0.8.0 - * @author Chen, Yi-Cyuan [emn178@gmail.com] - * @copyright Chen, Yi-Cyuan 2015-2018 - * @license MIT - */(function(e){(function(){var t="input is invalid type",r="finalize already called",n=typeof window=="object",i=n?window:{};i.JS_SHA3_NO_WINDOW&&(n=!1);var o=!n&&typeof self=="object",a=!i.JS_SHA3_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;a?i=st:o&&(i=self);var s=!i.JS_SHA3_NO_COMMON_JS&&!0&&e.exports,l=!i.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",c="0123456789abcdef".split(""),u=[31,7936,2031616,520093696],f=[4,1024,262144,67108864],d=[1,256,65536,16777216],b=[6,1536,393216,100663296],p=[0,8,16,24],v=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],w=[224,256,384,512],C=[128,256],y=["hex","buffer","arrayBuffer","array","digest"],M={128:168,256:136};(i.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(O){return Object.prototype.toString.call(O)==="[object Array]"}),l&&(i.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(O){return typeof O=="object"&&O.buffer&&O.buffer.constructor===ArrayBuffer});for(var B=function(O,V,X){return function(J){return new A(O,V,O).update(J)[X]()}},D=function(O,V,X){return function(J,G){return new A(O,V,G).update(J)[X]()}},F=function(O,V,X){return function(J,G,j,q){return h["cshake"+O].update(J,G,j,q)[X]()}},N=function(O,V,X){return function(J,G,j,q){return h["kmac"+O].update(J,G,j,q)[X]()}},_=function(O,V,X,J){for(var G=0;G>5,this.byteCount=this.blockCount<<2,this.outputBlocks=X>>5,this.extraBytes=(X&31)>>3;for(var J=0;J<50;++J)this.s[J]=0}A.prototype.update=function(O){if(this.finalized)throw new Error(r);var V,X=typeof O;if(X!=="string"){if(X==="object"){if(O===null)throw new Error(t);if(l&&O.constructor===ArrayBuffer)O=new Uint8Array(O);else if(!Array.isArray(O)&&(!l||!ArrayBuffer.isView(O)))throw new Error(t)}else throw new Error(t);V=!0}for(var J=this.blocks,G=this.byteCount,j=O.length,q=this.blockCount,K=0,Z=this.s,te,Q;K>2]|=O[K]<>2]|=Q<>2]|=(192|Q>>6)<>2]|=(128|Q&63)<=57344?(J[te>>2]|=(224|Q>>12)<>2]|=(128|Q>>6&63)<>2]|=(128|Q&63)<>2]|=(240|Q>>18)<>2]|=(128|Q>>12&63)<>2]|=(128|Q>>6&63)<>2]|=(128|Q&63)<=G){for(this.start=te-G,this.block=J[q],te=0;te>8,X=O&255;X>0;)G.unshift(X),O=O>>8,X=O&255,++J;return V?G.push(J):G.unshift(J),this.update(G),G.length},A.prototype.encodeString=function(O){var V,X=typeof O;if(X!=="string"){if(X==="object"){if(O===null)throw new Error(t);if(l&&O.constructor===ArrayBuffer)O=new Uint8Array(O);else if(!Array.isArray(O)&&(!l||!ArrayBuffer.isView(O)))throw new Error(t)}else throw new Error(t);V=!0}var J=0,G=O.length;if(V)J=G;else for(var j=0;j=57344?J+=3:(q=65536+((q&1023)<<10|O.charCodeAt(++j)&1023),J+=4)}return J+=this.encode(J*8),this.update(O),J},A.prototype.bytepad=function(O,V){for(var X=this.encode(V),J=0;J>2]|=this.padding[V&3],this.lastByteIndex===this.byteCount)for(O[0]=O[X],V=1;V>4&15]+c[K&15]+c[K>>12&15]+c[K>>8&15]+c[K>>20&15]+c[K>>16&15]+c[K>>28&15]+c[K>>24&15];j%O===0&&(H(V),G=0)}return J&&(K=V[G],q+=c[K>>4&15]+c[K&15],J>1&&(q+=c[K>>12&15]+c[K>>8&15]),J>2&&(q+=c[K>>20&15]+c[K>>16&15])),q},A.prototype.arrayBuffer=function(){this.finalize();var O=this.blockCount,V=this.s,X=this.outputBlocks,J=this.extraBytes,G=0,j=0,q=this.outputBits>>3,K;J?K=new ArrayBuffer(X+1<<2):K=new ArrayBuffer(q);for(var Z=new Uint32Array(K);j>8&255,q[K+2]=Z>>16&255,q[K+3]=Z>>24&255;j%O===0&&H(V)}return J&&(K=j<<2,Z=V[G],q[K]=Z&255,J>1&&(q[K+1]=Z>>8&255),J>2&&(q[K+2]=Z>>16&255)),q};function z(O,V,X){A.call(this,O,V,X)}z.prototype=new A,z.prototype.finalize=function(){return this.encode(this.outputBits,!0),A.prototype.finalize.call(this)};var H=function(O){var V,X,J,G,j,q,K,Z,te,Q,oe,me,se,ye,Re,we,He,Ue,Me,Ze,Je,Ne,De,de,Ie,ot,lt,ge,ze,le,xe,je,We,Fe,Qe,ut,Ge,ee,re,ne,pe,ke,Te,$e,Pe,ce,_e,Ve,Ce,Xe,dt,qe,ht,mt,rt,ae,ie,ve,Ae,Ye,Le,pt,Bt;for(J=0;J<48;J+=2)G=O[0]^O[10]^O[20]^O[30]^O[40],j=O[1]^O[11]^O[21]^O[31]^O[41],q=O[2]^O[12]^O[22]^O[32]^O[42],K=O[3]^O[13]^O[23]^O[33]^O[43],Z=O[4]^O[14]^O[24]^O[34]^O[44],te=O[5]^O[15]^O[25]^O[35]^O[45],Q=O[6]^O[16]^O[26]^O[36]^O[46],oe=O[7]^O[17]^O[27]^O[37]^O[47],me=O[8]^O[18]^O[28]^O[38]^O[48],se=O[9]^O[19]^O[29]^O[39]^O[49],V=me^(q<<1|K>>>31),X=se^(K<<1|q>>>31),O[0]^=V,O[1]^=X,O[10]^=V,O[11]^=X,O[20]^=V,O[21]^=X,O[30]^=V,O[31]^=X,O[40]^=V,O[41]^=X,V=G^(Z<<1|te>>>31),X=j^(te<<1|Z>>>31),O[2]^=V,O[3]^=X,O[12]^=V,O[13]^=X,O[22]^=V,O[23]^=X,O[32]^=V,O[33]^=X,O[42]^=V,O[43]^=X,V=q^(Q<<1|oe>>>31),X=K^(oe<<1|Q>>>31),O[4]^=V,O[5]^=X,O[14]^=V,O[15]^=X,O[24]^=V,O[25]^=X,O[34]^=V,O[35]^=X,O[44]^=V,O[45]^=X,V=Z^(me<<1|se>>>31),X=te^(se<<1|me>>>31),O[6]^=V,O[7]^=X,O[16]^=V,O[17]^=X,O[26]^=V,O[27]^=X,O[36]^=V,O[37]^=X,O[46]^=V,O[47]^=X,V=Q^(G<<1|j>>>31),X=oe^(j<<1|G>>>31),O[8]^=V,O[9]^=X,O[18]^=V,O[19]^=X,O[28]^=V,O[29]^=X,O[38]^=V,O[39]^=X,O[48]^=V,O[49]^=X,ye=O[0],Re=O[1],ce=O[11]<<4|O[10]>>>28,_e=O[10]<<4|O[11]>>>28,ge=O[20]<<3|O[21]>>>29,ze=O[21]<<3|O[20]>>>29,Ye=O[31]<<9|O[30]>>>23,Le=O[30]<<9|O[31]>>>23,ke=O[40]<<18|O[41]>>>14,Te=O[41]<<18|O[40]>>>14,Fe=O[2]<<1|O[3]>>>31,Qe=O[3]<<1|O[2]>>>31,we=O[13]<<12|O[12]>>>20,He=O[12]<<12|O[13]>>>20,Ve=O[22]<<10|O[23]>>>22,Ce=O[23]<<10|O[22]>>>22,le=O[33]<<13|O[32]>>>19,xe=O[32]<<13|O[33]>>>19,pt=O[42]<<2|O[43]>>>30,Bt=O[43]<<2|O[42]>>>30,mt=O[5]<<30|O[4]>>>2,rt=O[4]<<30|O[5]>>>2,ut=O[14]<<6|O[15]>>>26,Ge=O[15]<<6|O[14]>>>26,Ue=O[25]<<11|O[24]>>>21,Me=O[24]<<11|O[25]>>>21,Xe=O[34]<<15|O[35]>>>17,dt=O[35]<<15|O[34]>>>17,je=O[45]<<29|O[44]>>>3,We=O[44]<<29|O[45]>>>3,de=O[6]<<28|O[7]>>>4,Ie=O[7]<<28|O[6]>>>4,ae=O[17]<<23|O[16]>>>9,ie=O[16]<<23|O[17]>>>9,ee=O[26]<<25|O[27]>>>7,re=O[27]<<25|O[26]>>>7,Ze=O[36]<<21|O[37]>>>11,Je=O[37]<<21|O[36]>>>11,qe=O[47]<<24|O[46]>>>8,ht=O[46]<<24|O[47]>>>8,$e=O[8]<<27|O[9]>>>5,Pe=O[9]<<27|O[8]>>>5,ot=O[18]<<20|O[19]>>>12,lt=O[19]<<20|O[18]>>>12,ve=O[29]<<7|O[28]>>>25,Ae=O[28]<<7|O[29]>>>25,ne=O[38]<<8|O[39]>>>24,pe=O[39]<<8|O[38]>>>24,Ne=O[48]<<14|O[49]>>>18,De=O[49]<<14|O[48]>>>18,O[0]=ye^~we&Ue,O[1]=Re^~He&Me,O[10]=de^~ot&ge,O[11]=Ie^~lt&ze,O[20]=Fe^~ut&ee,O[21]=Qe^~Ge&re,O[30]=$e^~ce&Ve,O[31]=Pe^~_e&Ce,O[40]=mt^~ae&ve,O[41]=rt^~ie&Ae,O[2]=we^~Ue&Ze,O[3]=He^~Me&Je,O[12]=ot^~ge&le,O[13]=lt^~ze&xe,O[22]=ut^~ee&ne,O[23]=Ge^~re&pe,O[32]=ce^~Ve&Xe,O[33]=_e^~Ce&dt,O[42]=ae^~ve&Ye,O[43]=ie^~Ae&Le,O[4]=Ue^~Ze&Ne,O[5]=Me^~Je&De,O[14]=ge^~le&je,O[15]=ze^~xe&We,O[24]=ee^~ne&ke,O[25]=re^~pe&Te,O[34]=Ve^~Xe&qe,O[35]=Ce^~dt&ht,O[44]=ve^~Ye&pt,O[45]=Ae^~Le&Bt,O[6]=Ze^~Ne&ye,O[7]=Je^~De&Re,O[16]=le^~je&de,O[17]=xe^~We&Ie,O[26]=ne^~ke&Fe,O[27]=pe^~Te&Qe,O[36]=Xe^~qe&$e,O[37]=dt^~ht&Pe,O[46]=Ye^~pt&mt,O[47]=Le^~Bt&rt,O[8]=Ne^~ye&we,O[9]=De^~Re&He,O[18]=je^~de&ot,O[19]=We^~Ie<,O[28]=ke^~Fe&ut,O[29]=Te^~Qe&Ge,O[38]=qe^~$e&ce,O[39]=ht^~Pe&_e,O[48]=pt^~mt&ae,O[49]=Bt^~rt&ie,O[0]^=v[J],O[1]^=v[J+1]};if(s)e.exports=h;else for(S=0;S>=8;return t}function _P(e){if(Array.isArray(e)){let n=[];if(e.forEach(function(o){n=n.concat(_P(o))}),n.length<=55)return n.unshift(192+n.length),n;const i=T7(n.length);return i.unshift(247+i.length),i.concat(n)}K4(e)||_ie.throwArgumentError("RLP object must be BytesLike","object",e);const t=Array.prototype.slice.call(at(e));if(t.length===1&&t[0]<=127)return t;if(t.length<=55)return t.unshift(128+t.length),t;const r=T7(t.length);return r.unshift(183+r.length),r.concat(t)}function tp(e){return vt(_P(e))}const Rie="address/5.7.0",ef=new ct(Rie);function $7(e){ln(e,20)||ef.throwArgumentError("invalid address","address",e),e=e.toLowerCase();const t=e.substring(2).split(""),r=new Uint8Array(40);for(let i=0;i<40;i++)r[i]=t[i].charCodeAt(0);const n=at(xn(r));for(let i=0;i<40;i+=2)n[i>>1]>>4>=8&&(t[i]=t[i].toUpperCase()),(n[i>>1]&15)>=8&&(t[i+1]=t[i+1].toUpperCase());return"0x"+t.join("")}const Tie=9007199254740991;function $ie(e){return Math.log10?Math.log10(e):Math.log(e)/Math.LN10}const Y4={};for(let e=0;e<10;e++)Y4[String(e)]=String(e);for(let e=0;e<26;e++)Y4[String.fromCharCode(65+e)]=String(10+e);const B7=Math.floor($ie(Tie));function Bie(e){e=e.toUpperCase(),e=e.substring(4)+e.substring(0,2)+"00";let t=e.split("").map(n=>Y4[n]).join("");for(;t.length>=B7;){let n=t.substring(0,B7);t=parseInt(n,10)%97+t.substring(n.length)}let r=String(98-parseInt(t,10)%97);for(;r.length<2;)r="0"+r;return r}function Oi(e){let t=null;if(typeof e!="string"&&ef.throwArgumentError("invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/))e.substring(0,2)!=="0x"&&(e="0x"+e),t=$7(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&t!==e&&ef.throwArgumentError("bad address checksum","address",e);else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(e.substring(2,4)!==Bie(e)&&ef.throwArgumentError("bad icap checksum","address",e),t=bie(e.substring(4));t.length<40;)t="0"+t;t=$7("0x"+t)}else ef.throwArgumentError("invalid address","address",e);return t}function que(e){try{return Oi(e),!0}catch{}return!1}const Iie="strings/5.7.0",Fie=new ct(Iie);var ll;(function(e){e.current="",e.NFC="NFC",e.NFD="NFD",e.NFKC="NFKC",e.NFKD="NFKD"})(ll||(ll={}));var I7;(function(e){e.UNEXPECTED_CONTINUE="unexpected continuation byte",e.BAD_PREFIX="bad codepoint prefix",e.OVERRUN="string overrun",e.MISSING_CONTINUE="missing continuation byte",e.OUT_OF_RANGE="out of UTF-8 range",e.UTF16_SURROGATE="UTF-16 surrogate",e.OVERLONG="overlong representation"})(I7||(I7={}));function na(e,t=ll.current){t!=ll.current&&(Fie.checkNormalize(),e=e.normalize(t));let r=[];for(let n=0;n>6|192),r.push(i&63|128);else if((i&64512)==55296){n++;const o=e.charCodeAt(n);if(n>=e.length||(o&64512)!==56320)throw new Error("invalid utf-8 string");const a=65536+((i&1023)<<10)+(o&1023);r.push(a>>18|240),r.push(a>>12&63|128),r.push(a>>6&63|128),r.push(a&63|128)}else r.push(i>>12|224),r.push(i>>6&63|128),r.push(i&63|128)}return at(r)}function X4(e){return xn(na(e))}const Oie="hash/5.7.0",Die=`Ethereum Signed Message: -`;function Lie(e){return typeof e=="string"&&(e=na(e)),xn(rs([na(Die),na(String(e.length)),e]))}var Nie=function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(u){try{c(n.next(u))}catch(f){a(f)}}function l(u){try{c(n.throw(u))}catch(f){a(f)}}function c(u){u.done?o(u.value):i(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})};const tr=new ct(Oie),RP=new Uint8Array(32);RP.fill(0);const zie=_t.from(-1),TP=_t.from(0),$P=_t.from(1),jie=_t.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");function Uie(e){const t=at(e),r=t.length%32;return r?xc([t,RP.slice(r)]):vt(t)}const Hie=On($P.toHexString(),32),Wie=On(TP.toHexString(),32),F7={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},tg=["name","version","chainId","verifyingContract","salt"];function O7(e){return function(t){return typeof t!="string"&&tr.throwArgumentError(`invalid domain value for ${JSON.stringify(e)}`,`domain.${e}`,t),t}}const Vie={name:O7("name"),version:O7("version"),chainId:function(e){try{return _t.from(e).toString()}catch{}return tr.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",e)},verifyingContract:function(e){try{return Oi(e).toLowerCase()}catch{}return tr.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",e)},salt:function(e){try{const t=at(e);if(t.length!==32)throw new Error("bad length");return vt(t)}catch{}return tr.throwArgumentError('invalid domain value "salt"',"domain.salt",e)}};function rg(e){{const t=e.match(/^(u?)int(\d*)$/);if(t){const r=t[1]==="",n=parseInt(t[2]||"256");(n%8!==0||n>256||t[2]&&t[2]!==String(n))&&tr.throwArgumentError("invalid numeric width","type",e);const i=jie.mask(r?n-1:n),o=r?i.add($P).mul(zie):TP;return function(a){const s=_t.from(a);return(s.lt(o)||s.gt(i))&&tr.throwArgumentError(`value out-of-bounds for ${e}`,"value",a),On(s.toTwos(256).toHexString(),32)}}}{const t=e.match(/^bytes(\d+)$/);if(t){const r=parseInt(t[1]);return(r===0||r>32||t[1]!==String(r))&&tr.throwArgumentError("invalid bytes width","type",e),function(n){return at(n).length!==r&&tr.throwArgumentError(`invalid length for ${e}`,"value",n),Uie(n)}}}switch(e){case"address":return function(t){return On(Oi(t),32)};case"bool":return function(t){return t?Hie:Wie};case"bytes":return function(t){return xn(t)};case"string":return function(t){return X4(t)}}return null}function D7(e,t){return`${e}(${t.map(({name:r,type:n})=>n+" "+r).join(",")})`}class Wn{constructor(t){wt(this,"types",Object.freeze(ep(t))),wt(this,"_encoderCache",{}),wt(this,"_types",{});const r={},n={},i={};Object.keys(t).forEach(s=>{r[s]={},n[s]=[],i[s]={}});for(const s in t){const l={};t[s].forEach(c=>{l[c.name]&&tr.throwArgumentError(`duplicate variable name ${JSON.stringify(c.name)} in ${JSON.stringify(s)}`,"types",t),l[c.name]=!0;const u=c.type.match(/^([^\x5b]*)(\x5b|$)/)[1];u===s&&tr.throwArgumentError(`circular type reference to ${JSON.stringify(u)}`,"types",t),!rg(u)&&(n[u]||tr.throwArgumentError(`unknown type ${JSON.stringify(u)}`,"types",t),n[u].push(s),r[s][u]=!0)})}const o=Object.keys(n).filter(s=>n[s].length===0);o.length===0?tr.throwArgumentError("missing primary type","types",t):o.length>1&&tr.throwArgumentError(`ambiguous primary types or unused types: ${o.map(s=>JSON.stringify(s)).join(", ")}`,"types",t),wt(this,"primaryType",o[0]);function a(s,l){l[s]&&tr.throwArgumentError(`circular type reference to ${JSON.stringify(s)}`,"types",t),l[s]=!0,Object.keys(r[s]).forEach(c=>{n[c]&&(a(c,l),Object.keys(l).forEach(u=>{i[u][c]=!0}))}),delete l[s]}a(this.primaryType,{});for(const s in i){const l=Object.keys(i[s]);l.sort(),this._types[s]=D7(s,t[s])+l.map(c=>D7(c,t[c])).join("")}}getEncoder(t){let r=this._encoderCache[t];return r||(r=this._encoderCache[t]=this._getEncoder(t)),r}_getEncoder(t){{const i=rg(t);if(i)return i}const r=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(r){const i=r[1],o=this.getEncoder(i),a=parseInt(r[3]);return s=>{a>=0&&s.length!==a&&tr.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",s);let l=s.map(o);return this._types[i]&&(l=l.map(xn)),xn(xc(l))}}const n=this.types[t];if(n){const i=X4(this._types[t]);return o=>{const a=n.map(({name:s,type:l})=>{const c=this.getEncoder(l)(o[s]);return this._types[l]?xn(c):c});return a.unshift(i),xc(a)}}return tr.throwArgumentError(`unknown type: ${t}`,"type",t)}encodeType(t){const r=this._types[t];return r||tr.throwArgumentError(`unknown type: ${JSON.stringify(t)}`,"name",t),r}encodeData(t,r){return this.getEncoder(t)(r)}hashStruct(t,r){return xn(this.encodeData(t,r))}encode(t){return this.encodeData(this.primaryType,t)}hash(t){return this.hashStruct(this.primaryType,t)}_visit(t,r,n){if(rg(t))return n(t,r);const i=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(i){const a=i[1],s=parseInt(i[3]);return s>=0&&r.length!==s&&tr.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",r),r.map(l=>this._visit(a,l,n))}const o=this.types[t];return o?o.reduce((a,{name:s,type:l})=>(a[s]=this._visit(l,r[s],n),a),{}):tr.throwArgumentError(`unknown type: ${t}`,"type",t)}visit(t,r){return this._visit(this.primaryType,t,r)}static from(t){return new Wn(t)}static getPrimaryType(t){return Wn.from(t).primaryType}static hashStruct(t,r,n){return Wn.from(r).hashStruct(t,n)}static hashDomain(t){const r=[];for(const n in t){const i=F7[n];i||tr.throwArgumentError(`invalid typed-data domain key: ${JSON.stringify(n)}`,"domain",t),r.push({name:n,type:i})}return r.sort((n,i)=>tg.indexOf(n.name)-tg.indexOf(i.name)),Wn.hashStruct("EIP712Domain",{EIP712Domain:r},t)}static encode(t,r,n){return xc(["0x1901",Wn.hashDomain(t),Wn.from(r).hash(n)])}static hash(t,r,n){return xn(Wn.encode(t,r,n))}static resolveNames(t,r,n,i){return Nie(this,void 0,void 0,function*(){t=s2(t);const o={};t.verifyingContract&&!ln(t.verifyingContract,20)&&(o[t.verifyingContract]="0x");const a=Wn.from(r);a.visit(n,(s,l)=>(s==="address"&&!ln(l,20)&&(o[l]="0x"),l));for(const s in o)o[s]=yield i(s);return t.verifyingContract&&o[t.verifyingContract]&&(t.verifyingContract=o[t.verifyingContract]),n=a.visit(n,(s,l)=>s==="address"&&o[l]?o[l]:l),{domain:t,value:n}})}static getPayload(t,r,n){Wn.hashDomain(t);const i={},o=[];tg.forEach(l=>{const c=t[l];c!=null&&(i[l]=Vie[l](c),o.push({name:l,type:F7[l]}))});const a=Wn.from(r),s=s2(r);return s.EIP712Domain?tr.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",r):s.EIP712Domain=o,a.encode(n),{types:s,domain:i,primaryType:a.primaryType,message:a.visit(n,(l,c)=>{if(l.match(/^bytes(\d*)/))return vt(at(c));if(l.match(/^u?int/))return _t.from(c).toString();switch(l){case"address":return c.toLowerCase();case"bool":return!!c;case"string":return typeof c!="string"&&tr.throwArgumentError("invalid string","value",c),c}return tr.throwArgumentError("unsupported type","type",l)})}}}const qie="abstract-provider/5.7.0";var Kie=function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(u){try{c(n.next(u))}catch(f){a(f)}}function l(u){try{c(n.throw(u))}catch(f){a(f)}}function c(u){u.done?o(u.value):i(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})};const Gie=new ct(qie);class J4{constructor(){Gie.checkAbstract(new.target,J4),wt(this,"_isProvider",!0)}getFeeData(){return Kie(this,void 0,void 0,function*(){const{block:t,gasPrice:r}=yield nc({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch(a=>null)});let n=null,i=null,o=null;return t&&t.baseFeePerGas&&(n=t.baseFeePerGas,o=_t.from("1500000000"),i=t.baseFeePerGas.mul(2).add(o)),{lastBaseFeePerGas:n,maxFeePerGas:i,maxPriorityFeePerGas:o,gasPrice:r}})}addListener(t,r){return this.on(t,r)}removeListener(t,r){return this.off(t,r)}static isProvider(t){return!!(t&&t._isProvider)}}const Yie="abstract-signer/5.7.0";var Gi=function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(u){try{c(n.next(u))}catch(f){a(f)}}function l(u){try{c(n.throw(u))}catch(f){a(f)}}function c(u){u.done?o(u.value):i(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})};const Yi=new ct(Yie),Xie=["accessList","ccipReadEnabled","chainId","customData","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],Jie=[ct.errors.INSUFFICIENT_FUNDS,ct.errors.NONCE_EXPIRED,ct.errors.REPLACEMENT_UNDERPRICED];class Z4{constructor(){Yi.checkAbstract(new.target,Z4),wt(this,"_isSigner",!0)}getBalance(t){return Gi(this,void 0,void 0,function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),t)})}getTransactionCount(t){return Gi(this,void 0,void 0,function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),t)})}estimateGas(t){return Gi(this,void 0,void 0,function*(){this._checkProvider("estimateGas");const r=yield nc(this.checkTransaction(t));return yield this.provider.estimateGas(r)})}call(t,r){return Gi(this,void 0,void 0,function*(){this._checkProvider("call");const n=yield nc(this.checkTransaction(t));return yield this.provider.call(n,r)})}sendTransaction(t){return Gi(this,void 0,void 0,function*(){this._checkProvider("sendTransaction");const r=yield this.populateTransaction(t),n=yield this.signTransaction(r);return yield this.provider.sendTransaction(n)})}getChainId(){return Gi(this,void 0,void 0,function*(){return this._checkProvider("getChainId"),(yield this.provider.getNetwork()).chainId})}getGasPrice(){return Gi(this,void 0,void 0,function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()})}getFeeData(){return Gi(this,void 0,void 0,function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()})}resolveName(t){return Gi(this,void 0,void 0,function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(t)})}checkTransaction(t){for(const n in t)Xie.indexOf(n)===-1&&Yi.throwArgumentError("invalid transaction key: "+n,"transaction",t);const r=s2(t);return r.from==null?r.from=this.getAddress():r.from=Promise.all([Promise.resolve(r.from),this.getAddress()]).then(n=>(n[0].toLowerCase()!==n[1].toLowerCase()&&Yi.throwArgumentError("from address mismatch","transaction",t),n[0])),r}populateTransaction(t){return Gi(this,void 0,void 0,function*(){const r=yield nc(this.checkTransaction(t));r.to!=null&&(r.to=Promise.resolve(r.to).then(i=>Gi(this,void 0,void 0,function*(){if(i==null)return null;const o=yield this.resolveName(i);return o==null&&Yi.throwArgumentError("provided ENS name resolves to null","tx.to",i),o})),r.to.catch(i=>{}));const n=r.maxFeePerGas!=null||r.maxPriorityFeePerGas!=null;if(r.gasPrice!=null&&(r.type===2||n)?Yi.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",t):(r.type===0||r.type===1)&&n&&Yi.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",t),(r.type===2||r.type==null)&&r.maxFeePerGas!=null&&r.maxPriorityFeePerGas!=null)r.type=2;else if(r.type===0||r.type===1)r.gasPrice==null&&(r.gasPrice=this.getGasPrice());else{const i=yield this.getFeeData();if(r.type==null)if(i.maxFeePerGas!=null&&i.maxPriorityFeePerGas!=null)if(r.type=2,r.gasPrice!=null){const o=r.gasPrice;delete r.gasPrice,r.maxFeePerGas=o,r.maxPriorityFeePerGas=o}else r.maxFeePerGas==null&&(r.maxFeePerGas=i.maxFeePerGas),r.maxPriorityFeePerGas==null&&(r.maxPriorityFeePerGas=i.maxPriorityFeePerGas);else i.gasPrice!=null?(n&&Yi.throwError("network does not support EIP-1559",ct.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),r.gasPrice==null&&(r.gasPrice=i.gasPrice),r.type=0):Yi.throwError("failed to get consistent fee data",ct.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"});else r.type===2&&(r.maxFeePerGas==null&&(r.maxFeePerGas=i.maxFeePerGas),r.maxPriorityFeePerGas==null&&(r.maxPriorityFeePerGas=i.maxPriorityFeePerGas))}return r.nonce==null&&(r.nonce=this.getTransactionCount("pending")),r.gasLimit==null&&(r.gasLimit=this.estimateGas(r).catch(i=>{if(Jie.indexOf(i.code)>=0)throw i;return Yi.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",ct.errors.UNPREDICTABLE_GAS_LIMIT,{error:i,tx:r})})),r.chainId==null?r.chainId=this.getChainId():r.chainId=Promise.all([Promise.resolve(r.chainId),this.getChainId()]).then(i=>(i[1]!==0&&i[0]!==i[1]&&Yi.throwArgumentError("chainId address mismatch","transaction",t),i[0])),yield nc(r)})}_checkProvider(t){this.provider||Yi.throwError("missing provider",ct.errors.UNSUPPORTED_OPERATION,{operation:t||"_checkProvider"})}static isSigner(t){return!!(t&&t._isSigner)}}function du(e,t,r){return r={path:t,exports:{},require:function(n,i){return Zie(n,i??r.path)}},e(r,r.exports),r.exports}function Zie(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var Q4=BP;function BP(e,t){if(!e)throw new Error(t||"Assertion failed")}BP.equal=function(t,r,n){if(t!=r)throw new Error(n||"Assertion failed: "+t+" != "+r)};var oo=du(function(e,t){var r=t;function n(a,s){if(Array.isArray(a))return a.slice();if(!a)return[];var l=[];if(typeof a!="string"){for(var c=0;c>8,d=u&255;f?l.push(f,d):l.push(d)}return l}r.toArray=n;function i(a){return a.length===1?"0"+a:a}r.zero2=i;function o(a){for(var s="",l=0;l(d>>1)-1?v=(d>>1)-w:v=w,b.isubn(v)):v=0,f[p]=v,b.iushrn(1)}return f}r.getNAF=n;function i(l,c){var u=[[],[]];l=l.clone(),c=c.clone();for(var f=0,d=0,b;l.cmpn(-f)>0||c.cmpn(-d)>0;){var p=l.andln(3)+f&3,v=c.andln(3)+d&3;p===3&&(p=-1),v===3&&(v=-1);var w;p&1?(b=l.andln(7)+f&7,(b===3||b===5)&&v===2?w=-p:w=p):w=0,u[0].push(w);var C;v&1?(b=c.andln(7)+d&7,(b===3||b===5)&&p===2?C=-v:C=v):C=0,u[1].push(C),2*f===w+1&&(f=1-f),2*d===C+1&&(d=1-d),l.iushrn(1),c.iushrn(1)}return u}r.getJSF=i;function o(l,c,u){var f="_"+c;l.prototype[c]=function(){return this[f]!==void 0?this[f]:this[f]=u.call(this)}}r.cachedProperty=o;function a(l){return typeof l=="string"?r.toArray(l,"hex"):l}r.parseBytes=a;function s(l){return new yt(l,"hex","le")}r.intFromLE=s}),rp=ui.getNAF,Qie=ui.getJSF,np=ui.assert;function ps(e,t){this.type=e,this.p=new yt(t.p,16),this.red=t.prime?yt.red(t.prime):yt.mont(this.p),this.zero=new yt(0).toRed(this.red),this.one=new yt(1).toRed(this.red),this.two=new yt(2).toRed(this.red),this.n=t.n&&new yt(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var vl=ps;ps.prototype.point=function(){throw new Error("Not implemented")};ps.prototype.validate=function(){throw new Error("Not implemented")};ps.prototype._fixedNafMul=function(t,r){np(t.precomputed);var n=t._getDoubles(),i=rp(r,1,this._bitLength),o=(1<=s;c--)l=(l<<1)+i[c];a.push(l)}for(var u=this.jpoint(null,null,null),f=this.jpoint(null,null,null),d=o;d>0;d--){for(s=0;s=0;l--){for(var c=0;l>=0&&a[l]===0;l--)c++;if(l>=0&&c++,s=s.dblp(c),l<0)break;var u=a[l];np(u!==0),t.type==="affine"?u>0?s=s.mixedAdd(o[u-1>>1]):s=s.mixedAdd(o[-u-1>>1].neg()):u>0?s=s.add(o[u-1>>1]):s=s.add(o[-u-1>>1].neg())}return t.type==="affine"?s.toP():s};ps.prototype._wnafMulAdd=function(t,r,n,i,o){var a=this._wnafT1,s=this._wnafT2,l=this._wnafT3,c=0,u,f,d;for(u=0;u=1;u-=2){var p=u-1,v=u;if(a[p]!==1||a[v]!==1){l[p]=rp(n[p],a[p],this._bitLength),l[v]=rp(n[v],a[v],this._bitLength),c=Math.max(l[p].length,c),c=Math.max(l[v].length,c);continue}var w=[r[p],null,null,r[v]];r[p].y.cmp(r[v].y)===0?(w[1]=r[p].add(r[v]),w[2]=r[p].toJ().mixedAdd(r[v].neg())):r[p].y.cmp(r[v].y.redNeg())===0?(w[1]=r[p].toJ().mixedAdd(r[v]),w[2]=r[p].add(r[v].neg())):(w[1]=r[p].toJ().mixedAdd(r[v]),w[2]=r[p].toJ().mixedAdd(r[v].neg()));var C=[-3,-1,-5,-7,0,7,5,1,3],y=Qie(n[p],n[v]);for(c=Math.max(y[0].length,c),l[p]=new Array(c),l[v]=new Array(c),f=0;f=0;u--){for(var N=0;u>=0;){var _=!0;for(f=0;f=0&&N++,D=D.dblp(N),u<0)break;for(f=0;f0?d=s[f][L-1>>1]:L<0&&(d=s[f][-L-1>>1].neg()),d.type==="affine"?D=D.mixedAdd(d):D=D.add(d))}}for(u=0;u=Math.ceil((t.bitLength()+1)/r.step):!1};Ui.prototype._getDoubles=function(t,r){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],i=this,o=0;o=0&&(b=c,p=u),f.negative&&(f=f.neg(),d=d.neg()),b.negative&&(b=b.neg(),p=p.neg()),[{a:f,b:d},{a:b,b:p}]};Hi.prototype._endoSplit=function(t){var r=this.endo.basis,n=r[0],i=r[1],o=i.b.mul(t).divRound(this.n),a=n.b.neg().mul(t).divRound(this.n),s=o.mul(n.a),l=a.mul(i.a),c=o.mul(n.b),u=a.mul(i.b),f=t.sub(s).sub(l),d=c.add(u).neg();return{k1:f,k2:d}};Hi.prototype.pointFromX=function(t,r){t=new yt(t,16),t.red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),i=n.redSqrt();if(i.redSqr().redSub(n).cmp(this.zero)!==0)throw new Error("invalid point");var o=i.fromRed().isOdd();return(r&&!o||!r&&o)&&(i=i.redNeg()),this.point(t,i)};Hi.prototype.validate=function(t){if(t.inf)return!0;var r=t.x,n=t.y,i=this.a.redMul(r),o=r.redSqr().redMul(r).redIAdd(i).redIAdd(this.b);return n.redSqr().redISub(o).cmpn(0)===0};Hi.prototype._endoWnafMulAdd=function(t,r,n){for(var i=this._endoWnafT1,o=this._endoWnafT2,a=0;a":""};Ur.prototype.isInfinity=function(){return this.inf};Ur.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(this.x.cmp(t.x)===0)return this.curve.point(null,null);var r=this.y.redSub(t.y);r.cmpn(0)!==0&&(r=r.redMul(this.x.redSub(t.x).redInvm()));var n=r.redSqr().redISub(this.x).redISub(t.x),i=r.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,i)};Ur.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(t.cmpn(0)===0)return this.curve.point(null,null);var r=this.curve.a,n=this.x.redSqr(),i=t.redInvm(),o=n.redAdd(n).redIAdd(n).redIAdd(r).redMul(i),a=o.redSqr().redISub(this.x.redAdd(this.x)),s=o.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,s)};Ur.prototype.getX=function(){return this.x.fromRed()};Ur.prototype.getY=function(){return this.y.fromRed()};Ur.prototype.mul=function(t){return t=new yt(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)};Ur.prototype.mulAdd=function(t,r,n){var i=[this,r],o=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,o):this.curve._wnafMulAdd(1,i,o,2)};Ur.prototype.jmulAdd=function(t,r,n){var i=[this,r],o=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,o,!0):this.curve._wnafMulAdd(1,i,o,2,!0)};Ur.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||this.x.cmp(t.x)===0&&this.y.cmp(t.y)===0)};Ur.prototype.neg=function(t){if(this.inf)return this;var r=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,i=function(o){return o.neg()};r.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(i)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(i)}}}return r};Ur.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var t=this.curve.jpoint(this.x,this.y,this.curve.one);return t};function en(e,t,r,n){vl.BasePoint.call(this,e,"jacobian"),t===null&&r===null&&n===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new yt(0)):(this.x=new yt(t,16),this.y=new yt(r,16),this.z=new yt(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}e3(en,vl.BasePoint);Hi.prototype.jpoint=function(t,r,n){return new en(this,t,r,n)};en.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),r=t.redSqr(),n=this.x.redMul(r),i=this.y.redMul(r).redMul(t);return this.curve.point(n,i)};en.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};en.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var r=t.z.redSqr(),n=this.z.redSqr(),i=this.x.redMul(r),o=t.x.redMul(n),a=this.y.redMul(r.redMul(t.z)),s=t.y.redMul(n.redMul(this.z)),l=i.redSub(o),c=a.redSub(s);if(l.cmpn(0)===0)return c.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var u=l.redSqr(),f=u.redMul(l),d=i.redMul(u),b=c.redSqr().redIAdd(f).redISub(d).redISub(d),p=c.redMul(d.redISub(b)).redISub(a.redMul(f)),v=this.z.redMul(t.z).redMul(l);return this.curve.jpoint(b,p,v)};en.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var r=this.z.redSqr(),n=this.x,i=t.x.redMul(r),o=this.y,a=t.y.redMul(r).redMul(this.z),s=n.redSub(i),l=o.redSub(a);if(s.cmpn(0)===0)return l.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),u=c.redMul(s),f=n.redMul(c),d=l.redSqr().redIAdd(u).redISub(f).redISub(f),b=l.redMul(f.redISub(d)).redISub(o.redMul(u)),p=this.z.redMul(s);return this.curve.jpoint(d,b,p)};en.prototype.dblp=function(t){if(t===0)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var r;if(this.curve.zeroA||this.curve.threeA){var n=this;for(r=0;r=0)return!1;if(n.redIAdd(o),this.x.cmp(n)===0)return!0}};en.prototype.inspect=function(){return this.isInfinity()?"":""};en.prototype.isInfinity=function(){return this.z.cmpn(0)===0};var Zd=du(function(e,t){var r=t;r.base=vl,r.short=toe,r.mont=null,r.edwards=null}),Qd=du(function(e,t){var r=t,n=ui.assert;function i(s){s.type==="short"?this.curve=new Zd.short(s):s.type==="edwards"?this.curve=new Zd.edwards(s):this.curve=new Zd.mont(s),this.g=this.curve.g,this.n=this.curve.n,this.hash=s.hash,n(this.g.validate(),"Invalid curve"),n(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}r.PresetCurve=i;function o(s,l){Object.defineProperty(r,s,{configurable:!0,enumerable:!0,get:function(){var c=new i(l);return Object.defineProperty(r,s,{configurable:!0,enumerable:!0,value:c}),c}})}o("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:qn.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),o("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:qn.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),o("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:qn.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),o("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:qn.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),o("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:qn.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),o("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:qn.sha256,gRed:!1,g:["9"]}),o("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:qn.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var a;try{a=null.crash()}catch{a=void 0}o("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:qn.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",a]})});function ns(e){if(!(this instanceof ns))return new ns(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=oo.toArray(e.entropy,e.entropyEnc||"hex"),r=oo.toArray(e.nonce,e.nonceEnc||"hex"),n=oo.toArray(e.pers,e.persEnc||"hex");Q4(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}var IP=ns;ns.prototype._init=function(t,r,n){var i=t.concat(r).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var o=0;o=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1};ns.prototype.generate=function(t,r,n,i){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof r!="string"&&(i=n,n=r,r=null),n&&(n=oo.toArray(n,i||"hex"),this._update(n));for(var o=[];o.length"};var roe=ui.assert;function W1(e,t){if(e instanceof W1)return e;this._importDER(e,t)||(roe(e.r&&e.s,"Signature without r or s"),this.r=new yt(e.r,16),this.s=new yt(e.s,16),e.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var V1=W1;function noe(){this.place=0}function ng(e,t){var r=e[t.place++];if(!(r&128))return r;var n=r&15;if(n===0||n>4)return!1;for(var i=0,o=0,a=t.place;o>>=0;return i<=127?!1:(t.place=a,i)}function L7(e){for(var t=0,r=e.length-1;!e[t]&&!(e[t+1]&128)&&t>>3);for(e.push(r|128);--r;)e.push(t>>>(r<<3)&255);e.push(t)}W1.prototype.toDER=function(t){var r=this.r.toArray(),n=this.s.toArray();for(r[0]&128&&(r=[0].concat(r)),n[0]&128&&(n=[0].concat(n)),r=L7(r),n=L7(n);!n[0]&&!(n[1]&128);)n=n.slice(1);var i=[2];ig(i,r.length),i=i.concat(r),i.push(2),ig(i,n.length);var o=i.concat(n),a=[48];return ig(a,o.length),a=a.concat(o),ui.encode(a,t)};var ioe=function(){throw new Error("unsupported")},FP=ui.assert;function Di(e){if(!(this instanceof Di))return new Di(e);typeof e=="string"&&(FP(Object.prototype.hasOwnProperty.call(Qd,e),"Unknown curve "+e),e=Qd[e]),e instanceof Qd.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var ooe=Di;Di.prototype.keyPair=function(t){return new t3(this,t)};Di.prototype.keyFromPrivate=function(t,r){return t3.fromPrivate(this,t,r)};Di.prototype.keyFromPublic=function(t,r){return t3.fromPublic(this,t,r)};Di.prototype.genKeyPair=function(t){t||(t={});for(var r=new IP({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||ioe(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),i=this.n.sub(new yt(2));;){var o=new yt(r.generate(n));if(!(o.cmp(i)>0))return o.iaddn(1),this.keyFromPrivate(o)}};Di.prototype._truncateToN=function(t,r){var n=t.byteLength()*8-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!r&&t.cmp(this.n)>=0?t.sub(this.n):t};Di.prototype.sign=function(t,r,n,i){typeof n=="object"&&(i=n,n=null),i||(i={}),r=this.keyFromPrivate(r,n),t=this._truncateToN(new yt(t,16));for(var o=this.n.byteLength(),a=r.getPrivate().toArray("be",o),s=t.toArray("be",o),l=new IP({hash:this.hash,entropy:a,nonce:s,pers:i.pers,persEnc:i.persEnc||"utf8"}),c=this.n.sub(new yt(1)),u=0;;u++){var f=i.k?i.k(u):new yt(l.generate(this.n.byteLength()));if(f=this._truncateToN(f,!0),!(f.cmpn(1)<=0||f.cmp(c)>=0)){var d=this.g.mul(f);if(!d.isInfinity()){var b=d.getX(),p=b.umod(this.n);if(p.cmpn(0)!==0){var v=f.invm(this.n).mul(p.mul(r.getPrivate()).iadd(t));if(v=v.umod(this.n),v.cmpn(0)!==0){var w=(d.getY().isOdd()?1:0)|(b.cmp(p)!==0?2:0);return i.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),w^=1),new V1({r:p,s:v,recoveryParam:w})}}}}}};Di.prototype.verify=function(t,r,n,i){t=this._truncateToN(new yt(t,16)),n=this.keyFromPublic(n,i),r=new V1(r,"hex");var o=r.r,a=r.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0||a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s=a.invm(this.n),l=s.mul(t).umod(this.n),c=s.mul(o).umod(this.n),u;return this.curve._maxwellTrick?(u=this.g.jmulAdd(l,n.getPublic(),c),u.isInfinity()?!1:u.eqXToP(o)):(u=this.g.mulAdd(l,n.getPublic(),c),u.isInfinity()?!1:u.getX().umod(this.n).cmp(o)===0)};Di.prototype.recoverPubKey=function(e,t,r,n){FP((3&r)===r,"The recovery param is more than two bits"),t=new V1(t,n);var i=this.n,o=new yt(e),a=t.r,s=t.s,l=r&1,c=r>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");c?a=this.curve.pointFromX(a.add(this.curve.n),l):a=this.curve.pointFromX(a,l);var u=t.r.invm(i),f=i.sub(o).mul(u).umod(i),d=s.mul(u).umod(i);return this.g.mulAdd(f,a,d)};Di.prototype.getKeyRecoveryParam=function(e,t,r,n){if(t=new V1(t,n),t.recoveryParam!==null)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch{continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")};var aoe=du(function(e,t){var r=t;r.version="6.5.4",r.utils=ui,r.rand=function(){throw new Error("unsupported")},r.curve=Zd,r.curves=Qd,r.ec=ooe,r.eddsa=null}),soe=aoe.ec;const loe="signing-key/5.7.0",c2=new ct(loe);let og=null;function Ko(){return og||(og=new soe("secp256k1")),og}class gc{constructor(t){wt(this,"curve","secp256k1"),wt(this,"privateKey",vt(t)),wP(this.privateKey)!==32&&c2.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");const r=Ko().keyFromPrivate(at(this.privateKey));wt(this,"publicKey","0x"+r.getPublic(!1,"hex")),wt(this,"compressedPublicKey","0x"+r.getPublic(!0,"hex")),wt(this,"_isSigningKey",!0)}_addPoint(t){const r=Ko().keyFromPublic(at(this.publicKey)),n=Ko().keyFromPublic(at(t));return"0x"+r.pub.add(n.pub).encodeCompressed("hex")}signDigest(t){const r=Ko().keyFromPrivate(at(this.privateKey)),n=at(t);n.length!==32&&c2.throwArgumentError("bad digest length","digest",t);const i=r.sign(n,{canonical:!0});return L0({recoveryParam:i.recoveryParam,r:On("0x"+i.r.toString(16),32),s:On("0x"+i.s.toString(16),32)})}computeSharedSecret(t){const r=Ko().keyFromPrivate(at(this.privateKey)),n=Ko().keyFromPublic(at(OP(t)));return On("0x"+r.derive(n.getPublic()).toString(16),32)}static isSigningKey(t){return!!(t&&t._isSigningKey)}}function OP(e,t){const r=at(e);if(r.length===32){const n=new gc(r);return t?"0x"+Ko().keyFromPrivate(r).getPublic(!0,"hex"):n.publicKey}else{if(r.length===33)return t?vt(r):"0x"+Ko().keyFromPublic(r).getPublic(!1,"hex");if(r.length===65)return t?"0x"+Ko().keyFromPublic(r).getPublic(!0,"hex"):vt(r)}return c2.throwArgumentError("invalid public or private key","key","[REDACTED]")}const coe="transactions/5.7.0",ro=new ct(coe);var N7;(function(e){e[e.legacy=0]="legacy",e[e.eip2930=1]="eip2930",e[e.eip1559=2]="eip1559"})(N7||(N7={}));const uoe=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],foe={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function vc(e){const t=OP(e);return Oi(s0(xn(s0(t,1)),12))}function Yn(e,t){const r=Xa(_t.from(e).toHexString());return r.length>32&&ro.throwArgumentError("invalid length for "+t,"transaction:"+t,e),r}function ag(e,t){return{address:Oi(e),storageKeys:(t||[]).map((r,n)=>(wP(r)!==32&&ro.throwArgumentError("invalid access list storageKey",`accessList[${e}:${n}]`,r),r.toLowerCase()))}}function doe(e){if(Array.isArray(e))return e.map((r,n)=>Array.isArray(r)?(r.length>2&&ro.throwArgumentError("access list expected to be [ address, storageKeys[] ]",`value[${n}]`,r),ag(r[0],r[1])):ag(r.address,r.storageKeys));const t=Object.keys(e).map(r=>{const n=e[r].reduce((i,o)=>(i[o]=!0,i),{});return ag(r,Object.keys(n).sort())});return t.sort((r,n)=>r.address.localeCompare(n.address)),t}function DP(e){return doe(e).map(t=>[t.address,t.storageKeys])}function hoe(e,t){if(e.gasPrice!=null){const n=_t.from(e.gasPrice),i=_t.from(e.maxFeePerGas||0);n.eq(i)||ro.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:n,maxFeePerGas:i})}const r=[Yn(e.chainId||0,"chainId"),Yn(e.nonce||0,"nonce"),Yn(e.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),Yn(e.maxFeePerGas||0,"maxFeePerGas"),Yn(e.gasLimit||0,"gasLimit"),e.to!=null?Oi(e.to):"0x",Yn(e.value||0,"value"),e.data||"0x",DP(e.accessList||[])];if(t){const n=L0(t);r.push(Yn(n.recoveryParam,"recoveryParam")),r.push(Xa(n.r)),r.push(Xa(n.s))}return xc(["0x02",tp(r)])}function poe(e,t){const r=[Yn(e.chainId||0,"chainId"),Yn(e.nonce||0,"nonce"),Yn(e.gasPrice||0,"gasPrice"),Yn(e.gasLimit||0,"gasLimit"),e.to!=null?Oi(e.to):"0x",Yn(e.value||0,"value"),e.data||"0x",DP(e.accessList||[])];if(t){const n=L0(t);r.push(Yn(n.recoveryParam,"recoveryParam")),r.push(Xa(n.r)),r.push(Xa(n.s))}return xc(["0x01",tp(r)])}function xoe(e,t){Cie(e,foe);const r=[];uoe.forEach(function(a){let s=e[a.name]||[];const l={};a.numeric&&(l.hexPad="left"),s=at(vt(s,l)),a.length&&s.length!==a.length&&s.length>0&&ro.throwArgumentError("invalid length for "+a.name,"transaction:"+a.name,s),a.maxLength&&(s=Xa(s),s.length>a.maxLength&&ro.throwArgumentError("invalid length for "+a.name,"transaction:"+a.name,s)),r.push(vt(s))});let n=0;if(e.chainId!=null?(n=e.chainId,typeof n!="number"&&ro.throwArgumentError("invalid transaction.chainId","transaction",e)):t&&!K4(t)&&t.v>28&&(n=Math.floor((t.v-35)/2)),n!==0&&(r.push(vt(n)),r.push("0x"),r.push("0x")),!t)return tp(r);const i=L0(t);let o=27+i.recoveryParam;return n!==0?(r.pop(),r.pop(),r.pop(),o+=n*2+8,i.v>28&&i.v!==o&&ro.throwArgumentError("transaction.chainId/signature.v mismatch","signature",t)):i.v!==o&&ro.throwArgumentError("transaction.chainId/signature.v mismatch","signature",t),r.push(vt(o)),r.push(Xa(at(i.r))),r.push(Xa(at(i.s))),tp(r)}function z7(e,t){if(e.type==null||e.type===0)return e.accessList!=null&&ro.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",e),xoe(e,t);switch(e.type){case 1:return poe(e,t);case 2:return hoe(e,t)}return ro.throwError(`unsupported transaction type: ${e.type}`,ct.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:e.type})}class LP{constructor(t){wt(this,"alphabet",t),wt(this,"base",t.length),wt(this,"_alphabetMap",{}),wt(this,"_leader",t.charAt(0));for(let r=0;r0;)n.push(a%this.base),a=a/this.base|0}let i="";for(let o=0;r[o]===0&&o=0;--o)i+=this.alphabet[n[o]];return i}decode(t){if(typeof t!="string")throw new TypeError("Expected String");let r=[];if(t.length===0)return new Uint8Array(r);r.push(0);for(let n=0;n>=8;for(;o>0;)r.push(o&255),o>>=8}for(let n=0;t[n]===this._leader&&n>24&255,l[t.length+1]=f>>16&255,l[t.length+2]=f>>8&255,l[t.length+3]=f&255;let d=at(ip(i,e,l));o||(o=d.length,u=new Uint8Array(o),a=Math.ceil(n/o),c=n-(a-1)*o),u.set(d);for(let v=1;v=256)throw new Error("Depth too large!");return H7(rs([this.privateKey!=null?"0x0488ADE4":"0x0488B21E",vt(this.depth),this.parentFingerprint,On(vt(this.index),4),this.chainCode,this.privateKey!=null?rs(["0x00",this.privateKey]):this.publicKey]))}neuter(){return new vi($l,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)}_derive(t){if(t>4294967295)throw new Error("invalid index - "+String(t));let r=this.path;r&&(r+="/"+(t&~Uu));const n=new Uint8Array(37);if(t&Uu){if(!this.privateKey)throw new Error("cannot derive child of neutered node");n.set(at(this.privateKey),1),r&&(r+="'")}else n.set(at(this.publicKey));for(let f=24;f>=0;f-=8)n[33+(f>>3)]=t>>24-f&255;const i=at(ip(c0.sha512,this.chainCode,n)),o=i.slice(0,32),a=i.slice(32);let s=null,l=null;this.privateKey?s=Cd(_t.from(o).add(this.privateKey).mod(Eoe)):l=new gc(vt(o))._addPoint(this.publicKey);let c=r;const u=this.mnemonic;return u&&(c=Object.freeze({phrase:u.phrase,path:r,locale:u.locale||"en"})),new vi($l,s,l,this.fingerprint,Cd(a),t,this.depth+1,c)}derivePath(t){const r=t.split("/");if(r.length===0||r[0]==="m"&&this.depth!==0)throw new Error("invalid path - "+t);r[0]==="m"&&r.shift();let n=this;for(let i=0;i=Uu)throw new Error("invalid path index - "+o);n=n._derive(Uu+a)}else if(o.match(/^[0-9]+$/)){const a=parseInt(o);if(a>=Uu)throw new Error("invalid path index - "+o);n=n._derive(a)}else throw new Error("invalid path component - "+o)}return n}static _fromSeed(t,r){const n=at(t);if(n.length<16||n.length>64)throw new Error("invalid seed");const i=at(ip(c0.sha512,Moe,n));return new vi($l,Cd(i.slice(0,32)),null,"0x00000000",Cd(i.slice(32)),0,0,r)}static fromMnemonic(t,r,n){return n=n3(n),t=i3(UP(t,n),n),vi._fromSeed(Aoe(t,r),{phrase:t,path:"m",locale:n.locale})}static fromSeed(t){return vi._fromSeed(t,null)}static fromExtendedKey(t){const r=NP.decode(t);(r.length!==82||H7(r.slice(0,78))!==t)&&op.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");const n=r[4],i=vt(r.slice(5,9)),o=parseInt(vt(r.slice(9,13)).substring(2),16),a=vt(r.slice(13,45)),s=r.slice(45,78);switch(vt(r.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new vi($l,null,vt(s),i,a,o,n,null);case"0x0488ade4":case"0x04358394 ":if(s[0]!==0)break;return new vi($l,vt(s.slice(1)),null,i,a,o,n,null)}return op.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")}}function Aoe(e,t){t||(t="");const r=na("mnemonic"+t,ll.NFKD);return r3(na(e,ll.NFKD),r,2048,64,"sha512")}function UP(e,t){t=n3(t),op.checkNormalize();const r=t.split(e);if(r.length%3!==0)throw new Error("invalid mnemonic");const n=at(new Uint8Array(Math.ceil(11*r.length/8)));let i=0;for(let c=0;c>3]|=1<<7-i%8),i++}const o=32*r.length/3,a=r.length/3,s=jP(a);if((at(u0(n.slice(0,o/8)))[0]&s)!==(n[n.length-1]&s))throw new Error("invalid checksum");return vt(n.slice(0,o/8))}function i3(e,t){if(t=n3(t),e=at(e),e.length%4!==0||e.length<16||e.length>32)throw new Error("invalid entropy");const r=[0];let n=11;for(let a=0;a8?(r[r.length-1]<<=8,r[r.length-1]|=e[a],n-=8):(r[r.length-1]<<=n,r[r.length-1]|=e[a]>>8-n,r.push(e[a]&Poe(8-n)),n+=3);const i=e.length/4,o=at(u0(e))[0]&jP(i);return r[r.length-1]<<=i,r[r.length-1]|=o>>8-i,t.join(r.map(a=>t.getWord(a)))}const koe="random/5.7.0",u2=new ct(koe);function _oe(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}const W7=_oe();let eh=W7.crypto||W7.msCrypto;(!eh||!eh.getRandomValues)&&(u2.warn("WARNING: Missing strong random number source"),eh={getRandomValues:function(e){return u2.throwError("no secure random source avaialble",ct.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}});function tf(e){(e<=0||e>1024||e%1||e!=e)&&u2.throwArgumentError("invalid length","length",e);const t=new Uint8Array(e);return eh.getRandomValues(t),at(t)}var HP={exports:{}};(function(e,t){(function(r){function n(E){return parseInt(E)===E}function i(E){if(!n(E.length))return!1;for(var A=0;A255)return!1;return!0}function o(E,A){if(E.buffer&&ArrayBuffer.isView(E)&&E.name==="Uint8Array")return A&&(E.slice?E=E.slice():E=Array.prototype.slice.call(E)),E;if(Array.isArray(E)){if(!i(E))throw new Error("Array contains invalid value: "+E);return new Uint8Array(E)}if(n(E.length)&&i(E))return new Uint8Array(E);throw new Error("unsupported array-like object")}function a(E){return new Uint8Array(E)}function s(E,A,z,H,O){(H!=null||O!=null)&&(E.slice?E=E.slice(H,O):E=Array.prototype.slice.call(E,H,O)),A.set(E,z)}var l=function(){function E(z){var H=[],O=0;for(z=encodeURI(z);O191&&V<224?(H.push(String.fromCharCode((V&31)<<6|z[O+1]&63)),O+=2):(H.push(String.fromCharCode((V&15)<<12|(z[O+1]&63)<<6|z[O+2]&63)),O+=3)}return H.join("")}return{toBytes:E,fromBytes:A}}(),c=function(){function E(H){for(var O=[],V=0;V>4]+A[X&15])}return O.join("")}return{toBytes:E,fromBytes:z}}(),u={16:10,24:12,32:14},f=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],d=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],b=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],p=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],v=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],w=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],C=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],y=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],M=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],B=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],D=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],F=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],N=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],_=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],L=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function I(E){for(var A=[],z=0;z>2,this._Ke[V][A%4]=O[A],this._Kd[E-V][A%4]=O[A];for(var X=0,J=H,G;J>16&255]<<24^d[G>>8&255]<<16^d[G&255]<<8^d[G>>24&255]^f[X]<<24,X+=1,H!=8)for(var A=1;A>8&255]<<8^d[G>>16&255]<<16^d[G>>24&255]<<24;for(var A=H/2+1;A>2,q=J%4,this._Ke[j][q]=O[A],this._Kd[E-j][q]=O[A++],J++}for(var j=1;j>24&255]^N[G>>16&255]^_[G>>8&255]^L[G&255]},R.prototype.encrypt=function(E){if(E.length!=16)throw new Error("invalid plaintext size (must be 16 bytes)");for(var A=this._Ke.length-1,z=[0,0,0,0],H=I(E),O=0;O<4;O++)H[O]^=this._Ke[0][O];for(var V=1;V>24&255]^v[H[(O+1)%4]>>16&255]^w[H[(O+2)%4]>>8&255]^C[H[(O+3)%4]&255]^this._Ke[V][O];H=z.slice()}for(var X=a(16),J,O=0;O<4;O++)J=this._Ke[A][O],X[4*O]=(d[H[O]>>24&255]^J>>24)&255,X[4*O+1]=(d[H[(O+1)%4]>>16&255]^J>>16)&255,X[4*O+2]=(d[H[(O+2)%4]>>8&255]^J>>8)&255,X[4*O+3]=(d[H[(O+3)%4]&255]^J)&255;return X},R.prototype.decrypt=function(E){if(E.length!=16)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var A=this._Kd.length-1,z=[0,0,0,0],H=I(E),O=0;O<4;O++)H[O]^=this._Kd[0][O];for(var V=1;V>24&255]^M[H[(O+3)%4]>>16&255]^B[H[(O+2)%4]>>8&255]^D[H[(O+1)%4]&255]^this._Kd[V][O];H=z.slice()}for(var X=a(16),J,O=0;O<4;O++)J=this._Kd[A][O],X[4*O]=(b[H[O]>>24&255]^J>>24)&255,X[4*O+1]=(b[H[(O+3)%4]>>16&255]^J>>16)&255,X[4*O+2]=(b[H[(O+2)%4]>>8&255]^J>>8)&255,X[4*O+3]=(b[H[(O+1)%4]&255]^J)&255;return X};var m=function(E){if(!(this instanceof m))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new R(E)};m.prototype.encrypt=function(E){if(E=o(E),E.length%16!==0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var A=a(E.length),z=a(16),H=0;H=0;--A)this._counter[A]=E%256,E=E>>8},S.prototype.setBytes=function(E){if(E=o(E,!0),E.length!=16)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=E},S.prototype.increment=function(){for(var E=15;E>=0;E--)if(this._counter[E]===255)this._counter[E]=0;else{this._counter[E]++;break}};var T=function(E,A){if(!(this instanceof T))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",A instanceof S||(A=new S(A)),this._counter=A,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new R(E)};T.prototype.encrypt=function(E){for(var A=o(E,!0),z=0;z16)throw new Error("PKCS#7 padding byte out of range");for(var z=E.length-A,H=0;H=64;){let P=C,E=y,A=M,z=B,H=D,O=F,V=N,X=_,J,G,j,q,K;for(G=0;G<16;G++)j=k+G*4,L[G]=(T[j]&255)<<24|(T[j+1]&255)<<16|(T[j+2]&255)<<8|T[j+3]&255;for(G=16;G<64;G++)J=L[G-2],q=(J>>>17|J<<15)^(J>>>19|J<<13)^J>>>10,J=L[G-15],K=(J>>>7|J<<25)^(J>>>18|J<<14)^J>>>3,L[G]=(q+L[G-7]|0)+(K+L[G-16]|0)|0;for(G=0;G<64;G++)q=(((H>>>6|H<<26)^(H>>>11|H<<21)^(H>>>25|H<<7))+(H&O^~H&V)|0)+(X+(w[G]+L[G]|0)|0)|0,K=((P>>>2|P<<30)^(P>>>13|P<<19)^(P>>>22|P<<10))+(P&E^P&A^E&A)|0,X=V,V=O,O=H,H=z+q|0,z=A,A=E,E=P,P=q+K|0;C=C+P|0,y=y+E|0,M=M+A|0,B=B+z|0,D=D+H|0,F=F+O|0,N=N+V|0,_=_+X|0,k+=64,$-=64}}I(v);let R,m=v.length%64,g=v.length/536870912|0,h=v.length<<3,x=m<56?56:120,S=v.slice(v.length-m,v.length);for(S.push(128),R=m+1;R>>24&255),S.push(g>>>16&255),S.push(g>>>8&255),S.push(g>>>0&255),S.push(h>>>24&255),S.push(h>>>16&255),S.push(h>>>8&255),S.push(h>>>0&255),I(S),[C>>>24&255,C>>>16&255,C>>>8&255,C>>>0&255,y>>>24&255,y>>>16&255,y>>>8&255,y>>>0&255,M>>>24&255,M>>>16&255,M>>>8&255,M>>>0&255,B>>>24&255,B>>>16&255,B>>>8&255,B>>>0&255,D>>>24&255,D>>>16&255,D>>>8&255,D>>>0&255,F>>>24&255,F>>>16&255,F>>>8&255,F>>>0&255,N>>>24&255,N>>>16&255,N>>>8&255,N>>>0&255,_>>>24&255,_>>>16&255,_>>>8&255,_>>>0&255]}function o(v,w,C){v=v.length<=64?v:i(v);const y=64+w.length+4,M=new Array(y),B=new Array(64);let D,F=[];for(D=0;D<64;D++)M[D]=54;for(D=0;D=y-4;_--){if(M[_]++,M[_]<=255)return;M[_]=0}}for(;C>=32;)N(),F=F.concat(i(B.concat(i(M)))),C-=32;return C>0&&(N(),F=F.concat(i(B.concat(i(M))).slice(0,C))),F}function a(v,w,C,y,M){let B;for(u(v,(2*C-1)*16,M,0,16),B=0;B<2*C;B++)c(v,B*16,M,16),l(M,y),u(M,0,v,w+B*16,16);for(B=0;B>>32-w}function l(v,w){u(v,0,w,0,16);for(let C=8;C>0;C-=2)w[4]^=s(w[0]+w[12],7),w[8]^=s(w[4]+w[0],9),w[12]^=s(w[8]+w[4],13),w[0]^=s(w[12]+w[8],18),w[9]^=s(w[5]+w[1],7),w[13]^=s(w[9]+w[5],9),w[1]^=s(w[13]+w[9],13),w[5]^=s(w[1]+w[13],18),w[14]^=s(w[10]+w[6],7),w[2]^=s(w[14]+w[10],9),w[6]^=s(w[2]+w[14],13),w[10]^=s(w[6]+w[2],18),w[3]^=s(w[15]+w[11],7),w[7]^=s(w[3]+w[15],9),w[11]^=s(w[7]+w[3],13),w[15]^=s(w[11]+w[7],18),w[1]^=s(w[0]+w[3],7),w[2]^=s(w[1]+w[0],9),w[3]^=s(w[2]+w[1],13),w[0]^=s(w[3]+w[2],18),w[6]^=s(w[5]+w[4],7),w[7]^=s(w[6]+w[5],9),w[4]^=s(w[7]+w[6],13),w[5]^=s(w[4]+w[7],18),w[11]^=s(w[10]+w[9],7),w[8]^=s(w[11]+w[10],9),w[9]^=s(w[8]+w[11],13),w[10]^=s(w[9]+w[8],18),w[12]^=s(w[15]+w[14],7),w[13]^=s(w[12]+w[15],9),w[14]^=s(w[13]+w[12],13),w[15]^=s(w[14]+w[13],18);for(let C=0;C<16;++C)v[C]+=w[C]}function c(v,w,C,y){for(let M=0;M=256)return!1}return!0}function d(v,w){if(typeof v!="number"||v%1)throw new Error("invalid "+w);return v}function b(v,w,C,y,M,B,D){if(C=d(C,"N"),y=d(y,"r"),M=d(M,"p"),B=d(B,"dkLen"),C===0||C&C-1)throw new Error("N must be power of 2");if(C>2147483647/128/y)throw new Error("N too large");if(y>2147483647/128/M)throw new Error("r too large");if(!f(v))throw new Error("password must be an array or buffer");if(v=Array.prototype.slice.call(v),!f(w))throw new Error("salt must be an array or buffer");w=Array.prototype.slice.call(w);let F=o(v,w,M*128*y);const N=new Uint32Array(M*32*y);for(let H=0;HE&&(H=E);for(let V=0;VE&&(H=E);for(let V=0;V>0&255),F.push(N[V]>>8&255),F.push(N[V]>>16&255),F.push(N[V]>>24&255);const O=o(v,F,B);return D&&D(null,1,O),O}D&&A(z)};if(!D)for(;;){const H=z();if(H!=null)return H}z()}const p={scrypt:function(v,w,C,y,M,B,D){return new Promise(function(F,N){let _=0;D&&D(0),b(v,w,C,y,M,B,function(L,I,R){if(L)N(L);else if(R)D&&_!==1&&D(1),F(new Uint8Array(R));else if(D&&I!==_)return _=I,D(I)})})},syncScrypt:function(v,w,C,y,M,B){return new Uint8Array(b(v,w,C,y,M,B))}};e.exports=p})()})(GP);var Ioe=GP.exports;const a3=_r(Ioe);var Foe=function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(u){try{c(n.next(u))}catch(f){a(f)}}function l(u){try{c(n.throw(u))}catch(f){a(f)}}function c(u){u.done?o(u.value):i(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})};const f2=new ct(WP);function V7(e){return e!=null&&e.mnemonic&&e.mnemonic.phrase}class Ooe extends AP{isKeystoreAccount(t){return!!(t&&t._isKeystoreAccount)}}function Doe(e,t,r){if(mr(e,"crypto/cipher")==="aes-128-ctr"){const i=Ys(mr(e,"crypto/cipherparams/iv")),o=new Co.Counter(i),a=new Co.ModeOfOperation.ctr(t,o);return at(a.decrypt(r))}return null}function YP(e,t){const r=Ys(mr(e,"crypto/ciphertext"));if(vt(xn(rs([t.slice(16,32),r]))).substring(2)!==mr(e,"crypto/mac").toLowerCase())throw new Error("invalid password");const i=Doe(e,t.slice(0,16),r);i||f2.throwError("unsupported cipher",ct.errors.UNSUPPORTED_OPERATION,{operation:"decrypt"});const o=t.slice(32,64),a=vc(i);if(e.address){let l=e.address.toLowerCase();if(l.substring(0,2)!=="0x"&&(l="0x"+l),Oi(l)!==a)throw new Error("address mismatch")}const s={_isKeystoreAccount:!0,address:a,privateKey:vt(i)};if(mr(e,"x-ethers/version")==="0.1"){const l=Ys(mr(e,"x-ethers/mnemonicCiphertext")),c=Ys(mr(e,"x-ethers/mnemonicCounter")),u=new Co.Counter(c),f=new Co.ModeOfOperation.ctr(o,u),d=mr(e,"x-ethers/path")||f0,b=mr(e,"x-ethers/locale")||"en",p=at(f.decrypt(l));try{const v=i3(p,b),w=vi.fromMnemonic(v,null,b).derivePath(d);if(w.privateKey!=s.privateKey)throw new Error("mnemonic mismatch");s.mnemonic=w.mnemonic}catch(v){if(v.code!==ct.errors.INVALID_ARGUMENT||v.argument!=="wordlist")throw v}}return new Ooe(s)}function XP(e,t,r,n,i){return at(r3(e,t,r,n,i))}function Loe(e,t,r,n,i){return Promise.resolve(XP(e,t,r,n,i))}function JP(e,t,r,n,i){const o=o3(t),a=mr(e,"crypto/kdf");if(a&&typeof a=="string"){const s=function(l,c){return f2.throwArgumentError("invalid key-derivation function parameters",l,c)};if(a.toLowerCase()==="scrypt"){const l=Ys(mr(e,"crypto/kdfparams/salt")),c=parseInt(mr(e,"crypto/kdfparams/n")),u=parseInt(mr(e,"crypto/kdfparams/r")),f=parseInt(mr(e,"crypto/kdfparams/p"));(!c||!u||!f)&&s("kdf",a),c&c-1&&s("N",c);const d=parseInt(mr(e,"crypto/kdfparams/dklen"));return d!==32&&s("dklen",d),n(o,l,c,u,f,64,i)}else if(a.toLowerCase()==="pbkdf2"){const l=Ys(mr(e,"crypto/kdfparams/salt"));let c=null;const u=mr(e,"crypto/kdfparams/prf");u==="hmac-sha256"?c="sha256":u==="hmac-sha512"?c="sha512":s("prf",u);const f=parseInt(mr(e,"crypto/kdfparams/c")),d=parseInt(mr(e,"crypto/kdfparams/dklen"));return d!==32&&s("dklen",d),r(o,l,f,d,c)}}return f2.throwArgumentError("unsupported key-derivation function","kdf",a)}function Noe(e,t){const r=JSON.parse(e),n=JP(r,t,XP,a3.syncScrypt);return YP(r,n)}function zoe(e,t,r){return Foe(this,void 0,void 0,function*(){const n=JSON.parse(e),i=yield JP(n,t,Loe,a3.scrypt,r);return YP(n,i)})}function joe(e,t,r,n){try{if(Oi(e.address)!==vc(e.privateKey))throw new Error("address/privateKey mismatch");if(V7(e)){const w=e.mnemonic;if(vi.fromMnemonic(w.phrase,null,w.locale).derivePath(w.path||f0).privateKey!=e.privateKey)throw new Error("mnemonic mismatch")}}catch(w){return Promise.reject(w)}typeof r=="function"&&!n&&(n=r,r={}),r||(r={});const i=at(e.privateKey),o=o3(t);let a=null,s=null,l=null;if(V7(e)){const w=e.mnemonic;a=at(UP(w.phrase,w.locale||"en")),s=w.path||f0,l=w.locale||"en"}let c=r.client;c||(c="ethers.js");let u=null;r.salt?u=at(r.salt):u=tf(32);let f=null;if(r.iv){if(f=at(r.iv),f.length!==16)throw new Error("invalid iv")}else f=tf(16);let d=null;if(r.uuid){if(d=at(r.uuid),d.length!==16)throw new Error("invalid uuid")}else d=tf(16);let b=1<<17,p=8,v=1;return r.scrypt&&(r.scrypt.N&&(b=r.scrypt.N),r.scrypt.r&&(p=r.scrypt.r),r.scrypt.p&&(v=r.scrypt.p)),a3.scrypt(o,u,b,p,v,64,n).then(w=>{w=at(w);const C=w.slice(0,16),y=w.slice(16,32),M=w.slice(32,64),B=new Co.Counter(f),D=new Co.ModeOfOperation.ctr(C,B),F=at(D.encrypt(i)),N=xn(rs([y,F])),_={address:e.address.substring(2).toLowerCase(),id:Toe(d),version:3,crypto:{cipher:"aes-128-ctr",cipherparams:{iv:vt(f).substring(2)},ciphertext:vt(F).substring(2),kdf:"scrypt",kdfparams:{salt:vt(u).substring(2),n:b,dklen:32,p:v,r:p},mac:N.substring(2)}};if(a){const L=tf(16),I=new Co.Counter(L),R=new Co.ModeOfOperation.ctr(M,I),m=at(R.encrypt(a)),g=new Date,h=g.getUTCFullYear()+"-"+Hu(g.getUTCMonth()+1,2)+"-"+Hu(g.getUTCDate(),2)+"T"+Hu(g.getUTCHours(),2)+"-"+Hu(g.getUTCMinutes(),2)+"-"+Hu(g.getUTCSeconds(),2)+".0Z";_["x-ethers"]={client:c,gethFilename:"UTC--"+h+"--"+_.address,mnemonicCounter:vt(L).substring(2),mnemonicCiphertext:vt(m).substring(2),path:s,locale:l,version:"0.1"}}return JSON.stringify(_)})}function Uoe(e,t,r){if(qP(e)){r&&r(0);const n=VP(e,t);return r&&r(1),Promise.resolve(n)}return KP(e)?zoe(e,t,r):Promise.reject(new Error("invalid JSON wallet"))}function Hoe(e,t){if(qP(e))return VP(e,t);if(KP(e))return Noe(e,t);throw new Error("invalid JSON wallet")}const Woe="wallet/5.7.0";var q7=function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(u){try{c(n.next(u))}catch(f){a(f)}}function l(u){try{c(n.throw(u))}catch(f){a(f)}}function c(u){u.done?o(u.value):i(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})};const Bl=new ct(Woe);function Voe(e){return e!=null&&ln(e.privateKey,32)&&e.address!=null}function qoe(e){const t=e.mnemonic;return t&&t.phrase}class Ll extends Z4{constructor(t,r){if(super(),Voe(t)){const n=new gc(t.privateKey);if(wt(this,"_signingKey",()=>n),wt(this,"address",vc(this.publicKey)),this.address!==Oi(t.address)&&Bl.throwArgumentError("privateKey/address mismatch","privateKey","[REDACTED]"),qoe(t)){const i=t.mnemonic;wt(this,"_mnemonic",()=>({phrase:i.phrase,path:i.path||f0,locale:i.locale||"en"}));const o=this.mnemonic,a=vi.fromMnemonic(o.phrase,null,o.locale).derivePath(o.path);vc(a.privateKey)!==this.address&&Bl.throwArgumentError("mnemonic/address mismatch","privateKey","[REDACTED]")}else wt(this,"_mnemonic",()=>null)}else{if(gc.isSigningKey(t))t.curve!=="secp256k1"&&Bl.throwArgumentError("unsupported curve; must be secp256k1","privateKey","[REDACTED]"),wt(this,"_signingKey",()=>t);else{typeof t=="string"&&t.match(/^[0-9a-f]*$/i)&&t.length===64&&(t="0x"+t);const n=new gc(t);wt(this,"_signingKey",()=>n)}wt(this,"_mnemonic",()=>null),wt(this,"address",vc(this.publicKey))}r&&!J4.isProvider(r)&&Bl.throwArgumentError("invalid provider","provider",r),wt(this,"provider",r||null)}get mnemonic(){return this._mnemonic()}get privateKey(){return this._signingKey().privateKey}get publicKey(){return this._signingKey().publicKey}getAddress(){return Promise.resolve(this.address)}connect(t){return new Ll(this,t)}signTransaction(t){return nc(t).then(r=>{r.from!=null&&(Oi(r.from)!==this.address&&Bl.throwArgumentError("transaction from address mismatch","transaction.from",t.from),delete r.from);const n=this._signingKey().signDigest(xn(z7(r)));return z7(r,n)})}signMessage(t){return q7(this,void 0,void 0,function*(){return A7(this._signingKey().signDigest(Lie(t)))})}_signTypedData(t,r,n){return q7(this,void 0,void 0,function*(){const i=yield Wn.resolveNames(t,r,n,o=>(this.provider==null&&Bl.throwError("cannot resolve ENS names without a provider",ct.errors.UNSUPPORTED_OPERATION,{operation:"resolveName",value:o}),this.provider.resolveName(o)));return A7(this._signingKey().signDigest(Wn.hash(i.domain,r,i.value)))})}encrypt(t,r,n){if(typeof r=="function"&&!n&&(n=r,r={}),n&&typeof n!="function")throw new Error("invalid callback");return r||(r={}),joe(this,t,r,n)}static createRandom(t){let r=tf(16);t||(t={}),t.extraEntropy&&(r=at(s0(xn(rs([r,t.extraEntropy])),0,16)));const n=i3(r,t.locale);return Ll.fromMnemonic(n,t.path,t.locale)}static fromEncryptedJson(t,r,n){return Uoe(t,r,n).then(i=>new Ll(i))}static fromEncryptedJsonSync(t,r){return new Ll(Hoe(t,r))}static fromMnemonic(t,r,n){return r||(r=f0),new Ll(vi.fromMnemonic(t,null,n).derivePath(r))}}const Koe="units/5.7.0",Goe=new ct(Koe),ZP=["wei","kwei","mwei","gwei","szabo","finney","ether"];function Kue(e,t){if(typeof t=="string"){const r=ZP.indexOf(t);r!==-1&&(t=3*r)}return Jd(e,t??18)}function Gue(e,t){if(typeof e!="string"&&Goe.throwArgumentError("value must be a string","value",e),typeof t=="string"){const r=ZP.indexOf(t);r!==-1&&(t=3*r)}return xo(e,t??18)}function Yoe(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`positive integer expected, not ${e}`)}function Xoe(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function s3(e,...t){if(!Xoe(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function K7(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function Joe(e,t){s3(e);const r=t.outputLen;if(e.lengthnew DataView(e.buffer,e.byteOffset,e.byteLength),po=(e,t)=>e<<32-t|e>>>t;new Uint8Array(new Uint32Array([287454020]).buffer)[0];function Zoe(e){if(typeof e!="string")throw new Error(`utf8ToBytes expected string, got ${typeof e}`);return new Uint8Array(new TextEncoder().encode(e))}function QP(e){return typeof e=="string"&&(e=Zoe(e)),s3(e),e}class Qoe{clone(){return this._cloneInto()}}function eae(e){const t=n=>e().update(QP(n)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function tae(e=32){if(sg&&typeof sg.getRandomValues=="function")return sg.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}function rae(e,t,r,n){if(typeof e.setBigUint64=="function")return e.setBigUint64(t,r,n);const i=BigInt(32),o=BigInt(4294967295),a=Number(r>>i&o),s=Number(r&o),l=n?4:0,c=n?0:4;e.setUint32(t+l,a,n),e.setUint32(t+c,s,n)}const nae=(e,t,r)=>e&t^~e&r,iae=(e,t,r)=>e&t^e&r^t&r;class oae extends Qoe{constructor(t,r,n,i){super(),this.blockLen=t,this.outputLen=r,this.padOffset=n,this.isLE=i,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=lg(this.buffer)}update(t){K7(this);const{view:r,buffer:n,blockLen:i}=this;t=QP(t);const o=t.length;for(let a=0;ai-a&&(this.process(n,0),a=0);for(let f=a;fu.length)throw new Error("_sha2: outputLen bigger than state");for(let f=0;f>>3,v=po(b,17)^po(b,19)^b>>>10;ka[f]=v+ka[f-7]+p+ka[f-16]|0}let{A:n,B:i,C:o,D:a,E:s,F:l,G:c,H:u}=this;for(let f=0;f<64;f++){const d=po(s,6)^po(s,11)^po(s,25),b=u+d+nae(s,l,c)+aae[f]+ka[f]|0,v=(po(n,2)^po(n,13)^po(n,22))+iae(n,i,o)|0;u=c,c=l,l=s,s=a+b|0,a=o,o=i,i=n,n=b+v|0}n=n+this.A|0,i=i+this.B|0,o=o+this.C|0,a=a+this.D|0,s=s+this.E|0,l=l+this.F|0,c=c+this.G|0,u=u+this.H|0,this.set(n,i,o,a,s,l,c,u)}roundClean(){ka.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const lae=eae(()=>new sae);/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function ap(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function cae(...e){const t=o=>o,r=(o,a)=>s=>o(a(s)),n=e.map(o=>o.encode).reduceRight(r,t),i=e.map(o=>o.decode).reduce(r,t);return{encode:n,decode:i}}function uae(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&typeof t[0]!="number")throw new Error("alphabet.encode input should be an array of numbers");return t.map(r=>{if(r<0||r>=e.length)throw new Error(`Digit index outside alphabet: ${r} (alphabet: ${e.length})`);return e[r]})},decode:t=>{if(!Array.isArray(t)||t.length&&typeof t[0]!="string")throw new Error("alphabet.decode input should be array of strings");return t.map(r=>{if(typeof r!="string")throw new Error(`alphabet.decode: not string element=${r}`);const n=e.indexOf(r);if(n===-1)throw new Error(`Unknown letter: "${r}". Allowed: ${e}`);return n})}}}function fae(e=""){if(typeof e!="string")throw new Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&typeof t[0]!="string")throw new Error("join.encode input should be array of strings");for(let r of t)if(typeof r!="string")throw new Error(`join.encode: non-string input=${r}`);return t.join(e)},decode:t=>{if(typeof t!="string")throw new Error("join.decode input should be string");return t.split(e)}}}function dae(e,t="="){if(typeof t!="string")throw new Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&typeof r[0]!="string")throw new Error("padding.encode input should be array of strings");for(let n of r)if(typeof n!="string")throw new Error(`padding.encode: non-string input=${n}`);for(;r.length*e%8;)r.push(t);return r},decode(r){if(!Array.isArray(r)||r.length&&typeof r[0]!="string")throw new Error("padding.encode input should be array of strings");for(let i of r)if(typeof i!="string")throw new Error(`padding.decode: non-string input=${i}`);let n=r.length;if(n*e%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;n>0&&r[n-1]===t;n--)if(!((n-1)*e%8))throw new Error("Invalid padding: string has too much padding");return r.slice(0,n)}}}function d2(e,t,r){if(t<2)throw new Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: wrong to=${r}, base cannot be less than 2`);if(!Array.isArray(e))throw new Error("convertRadix: data should be array");if(!e.length)return[];let n=0;const i=[],o=Array.from(e);for(o.forEach(a=>{if(a<0||a>=t)throw new Error(`Wrong integer: ${a}`)});;){let a=0,s=!0;for(let l=n;lt?eA(t,e%t):e,sp=(e,t)=>e+(t-eA(e,t));function h2(e,t,r,n){if(!Array.isArray(e))throw new Error("convertRadix2: data should be array");if(t<=0||t>32)throw new Error(`convertRadix2: wrong from=${t}`);if(r<=0||r>32)throw new Error(`convertRadix2: wrong to=${r}`);if(sp(t,r)>32)throw new Error(`convertRadix2: carry overflow from=${t} to=${r} carryBits=${sp(t,r)}`);let i=0,o=0;const a=2**r-1,s=[];for(const l of e){if(l>=2**t)throw new Error(`convertRadix2: invalid data word=${l} from=${t}`);if(i=i<32)throw new Error(`convertRadix2: carry overflow pos=${o} from=${t}`);for(o+=t;o>=r;o-=r)s.push((i>>o-r&a)>>>0);i&=2**o-1}if(i=i<=t)throw new Error("Excess padding");if(!n&&i)throw new Error(`Non-zero padding: ${i}`);return n&&o>0&&s.push(i>>>0),s}function hae(e){return{encode:t=>{if(!ap(t))throw new Error("radix.encode input should be Uint8Array");return d2(Array.from(t),2**8,e)},decode:t=>{if(!Array.isArray(t)||t.length&&typeof t[0]!="number")throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(d2(t,e,2**8))}}}function pae(e,t=!1){if(e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if(sp(8,e)>32||sp(e,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!ap(r))throw new Error("radix2.encode input should be Uint8Array");return h2(Array.from(r),8,e,!t)},decode:r=>{if(!Array.isArray(r)||r.length&&typeof r[0]!="number")throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(h2(r,e,8,t))}}}function xae(e,t){if(typeof t!="function")throw new Error("checksum fn should be function");return{encode(r){if(!ap(r))throw new Error("checksum.encode: input should be Uint8Array");const n=t(r).slice(0,e),i=new Uint8Array(r.length+e);return i.set(r),i.set(n,r.length),i},decode(r){if(!ap(r))throw new Error("checksum.decode: input should be Uint8Array");const n=r.slice(0,-e),i=t(n).slice(0,e),o=r.slice(-e);for(let a=0;ae[0]==="あいこくしん";function gae(e){if(typeof e!="string")throw new TypeError(`Invalid mnemonic type: ${typeof e}`);return e.normalize("NFKD")}function vae(e){const t=gae(e),r=t.split(" ");if(![12,15,18,21,24].includes(r.length))throw new Error("Invalid mnemonic");return{nfkd:t,words:r}}function tA(e){s3(e,16,20,24,28,32)}function Yue(e,t=128){if(Yoe(t),t%32!==0||t>256)throw new TypeError("Invalid entropy");return wae(tae(t/8),e)}const bae=e=>{const t=8-e.length/4;return new Uint8Array([lae(e)[0]>>t<{if(typeof t!="string")throw new Error(`Wordlist: non-string element: ${t}`)}),Ed.chain(Ed.checksum(1,bae),Ed.radix2(11,!0),Ed.alphabet(e))}function yae(e,t){const{words:r}=vae(e),n=rA(t).decode(r);return tA(n),n}function wae(e,t){return tA(e),rA(t).encode(e).join(mae(t)?" ":" ")}function Xue(e,t){try{yae(e,t)}catch{return!1}return!0}const Jue=`abandon -ability -able -about -above -absent -absorb -abstract -absurd -abuse -access -accident -account -accuse -achieve -acid -acoustic -acquire -across -act -action -actor -actress -actual -adapt -add -addict -address -adjust -admit -adult -advance -advice -aerobic -affair -afford -afraid -again -age -agent -agree -ahead -aim -air -airport -aisle -alarm -album -alcohol -alert -alien -all -alley -allow -almost -alone -alpha -already -also -alter -always -amateur -amazing -among -amount -amused -analyst -anchor -ancient -anger -angle -angry -animal -ankle -announce -annual -another -answer -antenna -antique -anxiety -any -apart -apology -appear -apple -approve -april -arch -arctic -area -arena -argue -arm -armed -armor -army -around -arrange -arrest -arrive -arrow -art -artefact -artist -artwork -ask -aspect -assault -asset -assist -assume -asthma -athlete -atom -attack -attend -attitude -attract -auction -audit -august -aunt -author -auto -autumn -average -avocado -avoid -awake -aware -away -awesome -awful -awkward -axis -baby -bachelor -bacon -badge -bag -balance -balcony -ball -bamboo -banana -banner -bar -barely -bargain -barrel -base -basic -basket -battle -beach -bean -beauty -because -become -beef -before -begin -behave -behind -believe -below -belt -bench -benefit -best -betray -better -between -beyond -bicycle -bid -bike -bind -biology -bird -birth -bitter -black -blade -blame -blanket -blast -bleak -bless -blind -blood -blossom -blouse -blue -blur -blush -board -boat -body -boil -bomb -bone -bonus -book -boost -border -boring -borrow -boss -bottom -bounce -box -boy -bracket -brain -brand -brass -brave -bread -breeze -brick -bridge -brief -bright -bring -brisk -broccoli -broken -bronze -broom -brother -brown -brush -bubble -buddy -budget -buffalo -build -bulb -bulk -bullet -bundle -bunker -burden -burger -burst -bus -business -busy -butter -buyer -buzz -cabbage -cabin -cable -cactus -cage -cake -call -calm -camera -camp -can -canal -cancel -candy -cannon -canoe -canvas -canyon -capable -capital -captain -car -carbon -card -cargo -carpet -carry -cart -case -cash -casino -castle -casual -cat -catalog -catch -category -cattle -caught -cause -caution -cave -ceiling -celery -cement -census -century -cereal -certain -chair -chalk -champion -change -chaos -chapter -charge -chase -chat -cheap -check -cheese -chef -cherry -chest -chicken -chief -child -chimney -choice -choose -chronic -chuckle -chunk -churn -cigar -cinnamon -circle -citizen -city -civil -claim -clap -clarify -claw -clay -clean -clerk -clever -click -client -cliff -climb -clinic -clip -clock -clog -close -cloth -cloud -clown -club -clump -cluster -clutch -coach -coast -coconut -code -coffee -coil -coin -collect -color -column -combine -come -comfort -comic -common -company -concert -conduct -confirm -congress -connect -consider -control -convince -cook -cool -copper -copy -coral -core -corn -correct -cost -cotton -couch -country -couple -course -cousin -cover -coyote -crack -cradle -craft -cram -crane -crash -crater -crawl -crazy -cream -credit -creek -crew -cricket -crime -crisp -critic -crop -cross -crouch -crowd -crucial -cruel -cruise -crumble -crunch -crush -cry -crystal -cube -culture -cup -cupboard -curious -current -curtain -curve -cushion -custom -cute -cycle -dad -damage -damp -dance -danger -daring -dash -daughter -dawn -day -deal -debate -debris -decade -december -decide -decline -decorate -decrease -deer -defense -define -defy -degree -delay -deliver -demand -demise -denial -dentist -deny -depart -depend -deposit -depth -deputy -derive -describe -desert -design -desk -despair -destroy -detail -detect -develop -device -devote -diagram -dial -diamond -diary -dice -diesel -diet -differ -digital -dignity -dilemma -dinner -dinosaur -direct -dirt -disagree -discover -disease -dish -dismiss -disorder -display -distance -divert -divide -divorce -dizzy -doctor -document -dog -doll -dolphin -domain -donate -donkey -donor -door -dose -double -dove -draft -dragon -drama -drastic -draw -dream -dress -drift -drill -drink -drip -drive -drop -drum -dry -duck -dumb -dune -during -dust -dutch -duty -dwarf -dynamic -eager -eagle -early -earn -earth -easily -east -easy -echo -ecology -economy -edge -edit -educate -effort -egg -eight -either -elbow -elder -electric -elegant -element -elephant -elevator -elite -else -embark -embody -embrace -emerge -emotion -employ -empower -empty -enable -enact -end -endless -endorse -enemy -energy -enforce -engage -engine -enhance -enjoy -enlist -enough -enrich -enroll -ensure -enter -entire -entry -envelope -episode -equal -equip -era -erase -erode -erosion -error -erupt -escape -essay -essence -estate -eternal -ethics -evidence -evil -evoke -evolve -exact -example -excess -exchange -excite -exclude -excuse -execute -exercise -exhaust -exhibit -exile -exist -exit -exotic -expand -expect -expire -explain -expose -express -extend -extra -eye -eyebrow -fabric -face -faculty -fade -faint -faith -fall -false -fame -family -famous -fan -fancy -fantasy -farm -fashion -fat -fatal -father -fatigue -fault -favorite -feature -february -federal -fee -feed -feel -female -fence -festival -fetch -fever -few -fiber -fiction -field -figure -file -film -filter -final -find -fine -finger -finish -fire -firm -first -fiscal -fish -fit -fitness -fix -flag -flame -flash -flat -flavor -flee -flight -flip -float -flock -floor -flower -fluid -flush -fly -foam -focus -fog -foil -fold -follow -food -foot -force -forest -forget -fork -fortune -forum -forward -fossil -foster -found -fox -fragile -frame -frequent -fresh -friend -fringe -frog -front -frost -frown -frozen -fruit -fuel -fun -funny -furnace -fury -future -gadget -gain -galaxy -gallery -game -gap -garage -garbage -garden -garlic -garment -gas -gasp -gate -gather -gauge -gaze -general -genius -genre -gentle -genuine -gesture -ghost -giant -gift -giggle -ginger -giraffe -girl -give -glad -glance -glare -glass -glide -glimpse -globe -gloom -glory -glove -glow -glue -goat -goddess -gold -good -goose -gorilla -gospel -gossip -govern -gown -grab -grace -grain -grant -grape -grass -gravity -great -green -grid -grief -grit -grocery -group -grow -grunt -guard -guess -guide -guilt -guitar -gun -gym -habit -hair -half -hammer -hamster -hand -happy -harbor -hard -harsh -harvest -hat -have -hawk -hazard -head -health -heart -heavy -hedgehog -height -hello -helmet -help -hen -hero -hidden -high -hill -hint -hip -hire -history -hobby -hockey -hold -hole -holiday -hollow -home -honey -hood -hope -horn -horror -horse -hospital -host -hotel -hour -hover -hub -huge -human -humble -humor -hundred -hungry -hunt -hurdle -hurry -hurt -husband -hybrid -ice -icon -idea -identify -idle -ignore -ill -illegal -illness -image -imitate -immense -immune -impact -impose -improve -impulse -inch -include -income -increase -index -indicate -indoor -industry -infant -inflict -inform -inhale -inherit -initial -inject -injury -inmate -inner -innocent -input -inquiry -insane -insect -inside -inspire -install -intact -interest -into -invest -invite -involve -iron -island -isolate -issue -item -ivory -jacket -jaguar -jar -jazz -jealous -jeans -jelly -jewel -job -join -joke -journey -joy -judge -juice -jump -jungle -junior -junk -just -kangaroo -keen -keep -ketchup -key -kick -kid -kidney -kind -kingdom -kiss -kit -kitchen -kite -kitten -kiwi -knee -knife -knock -know -lab -label -labor -ladder -lady -lake -lamp -language -laptop -large -later -latin -laugh -laundry -lava -law -lawn -lawsuit -layer -lazy -leader -leaf -learn -leave -lecture -left -leg -legal -legend -leisure -lemon -lend -length -lens -leopard -lesson -letter -level -liar -liberty -library -license -life -lift -light -like -limb -limit -link -lion -liquid -list -little -live -lizard -load -loan -lobster -local -lock -logic -lonely -long -loop -lottery -loud -lounge -love -loyal -lucky -luggage -lumber -lunar -lunch -luxury -lyrics -machine -mad -magic -magnet -maid -mail -main -major -make -mammal -man -manage -mandate -mango -mansion -manual -maple -marble -march -margin -marine -market -marriage -mask -mass -master -match -material -math -matrix -matter -maximum -maze -meadow -mean -measure -meat -mechanic -medal -media -melody -melt -member -memory -mention -menu -mercy -merge -merit -merry -mesh -message -metal -method -middle -midnight -milk -million -mimic -mind -minimum -minor -minute -miracle -mirror -misery -miss -mistake -mix -mixed -mixture -mobile -model -modify -mom -moment -monitor -monkey -monster -month -moon -moral -more -morning -mosquito -mother -motion -motor -mountain -mouse -move -movie -much -muffin -mule -multiply -muscle -museum -mushroom -music -must -mutual -myself -mystery -myth -naive -name -napkin -narrow -nasty -nation -nature -near -neck -need -negative -neglect -neither -nephew -nerve -nest -net -network -neutral -never -news -next -nice -night -noble -noise -nominee -noodle -normal -north -nose -notable -note -nothing -notice -novel -now -nuclear -number -nurse -nut -oak -obey -object -oblige -obscure -observe -obtain -obvious -occur -ocean -october -odor -off -offer -office -often -oil -okay -old -olive -olympic -omit -once -one -onion -online -only -open -opera -opinion -oppose -option -orange -orbit -orchard -order -ordinary -organ -orient -original -orphan -ostrich -other -outdoor -outer -output -outside -oval -oven -over -own -owner -oxygen -oyster -ozone -pact -paddle -page -pair -palace -palm -panda -panel -panic -panther -paper -parade -parent -park -parrot -party -pass -patch -path -patient -patrol -pattern -pause -pave -payment -peace -peanut -pear -peasant -pelican -pen -penalty -pencil -people -pepper -perfect -permit -person -pet -phone -photo -phrase -physical -piano -picnic -picture -piece -pig -pigeon -pill -pilot -pink -pioneer -pipe -pistol -pitch -pizza -place -planet -plastic -plate -play -please -pledge -pluck -plug -plunge -poem -poet -point -polar -pole -police -pond -pony -pool -popular -portion -position -possible -post -potato -pottery -poverty -powder -power -practice -praise -predict -prefer -prepare -present -pretty -prevent -price -pride -primary -print -priority -prison -private -prize -problem -process -produce -profit -program -project -promote -proof -property -prosper -protect -proud -provide -public -pudding -pull -pulp -pulse -pumpkin -punch -pupil -puppy -purchase -purity -purpose -purse -push -put -puzzle -pyramid -quality -quantum -quarter -question -quick -quit -quiz -quote -rabbit -raccoon -race -rack -radar -radio -rail -rain -raise -rally -ramp -ranch -random -range -rapid -rare -rate -rather -raven -raw -razor -ready -real -reason -rebel -rebuild -recall -receive -recipe -record -recycle -reduce -reflect -reform -refuse -region -regret -regular -reject -relax -release -relief -rely -remain -remember -remind -remove -render -renew -rent -reopen -repair -repeat -replace -report -require -rescue -resemble -resist -resource -response -result -retire -retreat -return -reunion -reveal -review -reward -rhythm -rib -ribbon -rice -rich -ride -ridge -rifle -right -rigid -ring -riot -ripple -risk -ritual -rival -river -road -roast -robot -robust -rocket -romance -roof -rookie -room -rose -rotate -rough -round -route -royal -rubber -rude -rug -rule -run -runway -rural -sad -saddle -sadness -safe -sail -salad -salmon -salon -salt -salute -same -sample -sand -satisfy -satoshi -sauce -sausage -save -say -scale -scan -scare -scatter -scene -scheme -school -science -scissors -scorpion -scout -scrap -screen -script -scrub -sea -search -season -seat -second -secret -section -security -seed -seek -segment -select -sell -seminar -senior -sense -sentence -series -service -session -settle -setup -seven -shadow -shaft -shallow -share -shed -shell -sheriff -shield -shift -shine -ship -shiver -shock -shoe -shoot -shop -short -shoulder -shove -shrimp -shrug -shuffle -shy -sibling -sick -side -siege -sight -sign -silent -silk -silly -silver -similar -simple -since -sing -siren -sister -situate -six -size -skate -sketch -ski -skill -skin -skirt -skull -slab -slam -sleep -slender -slice -slide -slight -slim -slogan -slot -slow -slush -small -smart -smile -smoke -smooth -snack -snake -snap -sniff -snow -soap -soccer -social -sock -soda -soft -solar -soldier -solid -solution -solve -someone -song -soon -sorry -sort -soul -sound -soup -source -south -space -spare -spatial -spawn -speak -special -speed -spell -spend -sphere -spice -spider -spike -spin -spirit -split -spoil -sponsor -spoon -sport -spot -spray -spread -spring -spy -square -squeeze -squirrel -stable -stadium -staff -stage -stairs -stamp -stand -start -state -stay -steak -steel -stem -step -stereo -stick -still -sting -stock -stomach -stone -stool -story -stove -strategy -street -strike -strong -struggle -student -stuff -stumble -style -subject -submit -subway -success -such -sudden -suffer -sugar -suggest -suit -summer -sun -sunny -sunset -super -supply -supreme -sure -surface -surge -surprise -surround -survey -suspect -sustain -swallow -swamp -swap -swarm -swear -sweet -swift -swim -swing -switch -sword -symbol -symptom -syrup -system -table -tackle -tag -tail -talent -talk -tank -tape -target -task -taste -tattoo -taxi -teach -team -tell -ten -tenant -tennis -tent -term -test -text -thank -that -theme -then -theory -there -they -thing -this -thought -three -thrive -throw -thumb -thunder -ticket -tide -tiger -tilt -timber -time -tiny -tip -tired -tissue -title -toast -tobacco -today -toddler -toe -together -toilet -token -tomato -tomorrow -tone -tongue -tonight -tool -tooth -top -topic -topple -torch -tornado -tortoise -toss -total -tourist -toward -tower -town -toy -track -trade -traffic -tragic -train -transfer -trap -trash -travel -tray -treat -tree -trend -trial -tribe -trick -trigger -trim -trip -trophy -trouble -truck -true -truly -trumpet -trust -truth -try -tube -tuition -tumble -tuna -tunnel -turkey -turn -turtle -twelve -twenty -twice -twin -twist -two -type -typical -ugly -umbrella -unable -unaware -uncle -uncover -under -undo -unfair -unfold -unhappy -uniform -unique -unit -universe -unknown -unlock -until -unusual -unveil -update -upgrade -uphold -upon -upper -upset -urban -urge -usage -use -used -useful -useless -usual -utility -vacant -vacuum -vague -valid -valley -valve -van -vanish -vapor -various -vast -vault -vehicle -velvet -vendor -venture -venue -verb -verify -version -very -vessel -veteran -viable -vibrant -vicious -victory -video -view -village -vintage -violin -virtual -virus -visa -visit -visual -vital -vivid -vocal -voice -void -volcano -volume -vote -voyage -wage -wagon -wait -walk -wall -walnut -want -warfare -warm -warrior -wash -wasp -waste -water -wave -way -wealth -weapon -wear -weasel -weather -web -wedding -weekend -weird -welcome -west -wet -whale -what -wheat -wheel -when -where -whip -whisper -wide -width -wife -wild -will -win -window -wine -wing -wink -winner -winter -wire -wisdom -wise -wish -witness -wolf -woman -wonder -wood -wool -word -work -world -worry -worth -wrap -wreck -wrestle -wrist -write -wrong -yard -year -yellow -you -young -youth -zebra -zero -zone -zoo`.split(` -`);var Sae=Object.defineProperty,lp=Object.getOwnPropertySymbols,nA=Object.prototype.hasOwnProperty,iA=Object.prototype.propertyIsEnumerable,G7=(e,t,r)=>t in e?Sae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Y7=(e,t)=>{for(var r in t||(t={}))nA.call(t,r)&&G7(e,r,t[r]);if(lp)for(var r of lp(t))iA.call(t,r)&&G7(e,r,t[r]);return e},Cae=(e,t)=>{var r={};for(var n in e)nA.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&lp)for(var n of lp(e))t.indexOf(n)<0&&iA.call(e,n)&&(r[n]=e[n]);return r};/** - * @license QR Code generator library (TypeScript) - * Copyright (c) Project Nayuki. - * SPDX-License-Identifier: MIT - */var cl;(e=>{const t=class{constructor(l,c,u,f){if(this.version=l,this.errorCorrectionLevel=c,this.modules=[],this.isFunction=[],lt.MAX_VERSION)throw new RangeError("Version value out of range");if(f<-1||f>7)throw new RangeError("Mask value out of range");this.size=l*4+17;let d=[];for(let p=0;p7)throw new RangeError("Invalid value");let p,v;for(p=u;;p++){const M=t.getNumDataCodewords(p,c)*8,B=s.getTotalBits(l,p);if(B<=M){v=B;break}if(p>=f)throw new RangeError("Data too long")}for(const M of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])b&&v<=t.getNumDataCodewords(p,M)*8&&(c=M);let w=[];for(const M of l){n(M.mode.modeBits,4,w),n(M.numChars,M.mode.numCharCountBits(p),w);for(const B of M.getData())w.push(B)}o(w.length==v);const C=t.getNumDataCodewords(p,c)*8;o(w.length<=C),n(0,Math.min(4,C-w.length),w),n(0,(8-w.length%8)%8,w),o(w.length%8==0);for(let M=236;w.lengthy[B>>>3]|=M<<7-(B&7)),new t(p,c,y,d)}getModule(l,c){return 0<=l&&l>>9)*1335;const f=(c<<10|u)^21522;o(f>>>15==0);for(let d=0;d<=5;d++)this.setFunctionModule(8,d,i(f,d));this.setFunctionModule(8,7,i(f,6)),this.setFunctionModule(8,8,i(f,7)),this.setFunctionModule(7,8,i(f,8));for(let d=9;d<15;d++)this.setFunctionModule(14-d,8,i(f,d));for(let d=0;d<8;d++)this.setFunctionModule(this.size-1-d,8,i(f,d));for(let d=8;d<15;d++)this.setFunctionModule(8,this.size-15+d,i(f,d));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let l=this.version;for(let u=0;u<12;u++)l=l<<1^(l>>>11)*7973;const c=this.version<<12|l;o(c>>>18==0);for(let u=0;u<18;u++){const f=i(c,u),d=this.size-11+u%3,b=Math.floor(u/3);this.setFunctionModule(d,b,f),this.setFunctionModule(b,d,f)}}drawFinderPattern(l,c){for(let u=-4;u<=4;u++)for(let f=-4;f<=4;f++){const d=Math.max(Math.abs(f),Math.abs(u)),b=l+f,p=c+u;0<=b&&b{(M!=v-d||D>=p)&&y.push(B[M])});return o(y.length==b),y}drawCodewords(l){if(l.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let c=0;for(let u=this.size-1;u>=1;u-=2){u==6&&(u=5);for(let f=0;f>>3],7-(c&7)),c++)}}o(c==l.length*8)}applyMask(l){if(l<0||l>7)throw new RangeError("Mask value out of range");for(let c=0;c5&&l++):(this.finderPenaltyAddHistory(p,v),b||(l+=this.finderPenaltyCountPatterns(v)*t.PENALTY_N3),b=this.modules[d][w],p=1);l+=this.finderPenaltyTerminateAndCount(b,p,v)*t.PENALTY_N3}for(let d=0;d5&&l++):(this.finderPenaltyAddHistory(p,v),b||(l+=this.finderPenaltyCountPatterns(v)*t.PENALTY_N3),b=this.modules[w][d],p=1);l+=this.finderPenaltyTerminateAndCount(b,p,v)*t.PENALTY_N3}for(let d=0;db+(p?1:0),c);const u=this.size*this.size,f=Math.ceil(Math.abs(c*20-u*10)/u)-1;return o(0<=f&&f<=9),l+=f*t.PENALTY_N4,o(0<=l&&l<=2568888),l}getAlignmentPatternPositions(){if(this.version==1)return[];{const l=Math.floor(this.version/7)+2,c=this.version==32?26:Math.ceil((this.version*4+4)/(l*2-2))*2;let u=[6];for(let f=this.size-7;u.lengtht.MAX_VERSION)throw new RangeError("Version number out of range");let c=(16*l+128)*l+64;if(l>=2){const u=Math.floor(l/7)+2;c-=(25*u-10)*u-55,l>=7&&(c-=36)}return o(208<=c&&c<=29648),c}static getNumDataCodewords(l,c){return Math.floor(t.getNumRawDataModules(l)/8)-t.ECC_CODEWORDS_PER_BLOCK[c.ordinal][l]*t.NUM_ERROR_CORRECTION_BLOCKS[c.ordinal][l]}static reedSolomonComputeDivisor(l){if(l<1||l>255)throw new RangeError("Degree out of range");let c=[];for(let f=0;f0);for(const f of l){const d=f^u.shift();u.push(0),c.forEach((b,p)=>u[p]^=t.reedSolomonMultiply(b,d))}return u}static reedSolomonMultiply(l,c){if(l>>>8||c>>>8)throw new RangeError("Byte out of range");let u=0;for(let f=7;f>=0;f--)u=u<<1^(u>>>7)*285,u^=(c>>>f&1)*l;return o(u>>>8==0),u}finderPenaltyCountPatterns(l){const c=l[1];o(c<=this.size*3);const u=c>0&&l[2]==c&&l[3]==c*3&&l[4]==c&&l[5]==c;return(u&&l[0]>=c*4&&l[6]>=c?1:0)+(u&&l[6]>=c*4&&l[0]>=c?1:0)}finderPenaltyTerminateAndCount(l,c,u){return l&&(this.finderPenaltyAddHistory(c,u),c=0),c+=this.size,this.finderPenaltyAddHistory(c,u),this.finderPenaltyCountPatterns(u)}finderPenaltyAddHistory(l,c){c[0]==0&&(l+=this.size),c.pop(),c.unshift(l)}};let r=t;r.MIN_VERSION=1,r.MAX_VERSION=40,r.PENALTY_N1=3,r.PENALTY_N2=3,r.PENALTY_N3=40,r.PENALTY_N4=10,r.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],r.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=r;function n(l,c,u){if(c<0||c>31||l>>>c)throw new RangeError("Value out of range");for(let f=c-1;f>=0;f--)u.push(l>>>f&1)}function i(l,c){return(l>>>c&1)!=0}function o(l){if(!l)throw new Error("Assertion error")}const a=class{constructor(l,c,u){if(this.mode=l,this.numChars=c,this.bitData=u,c<0)throw new RangeError("Invalid argument");this.bitData=u.slice()}static makeBytes(l){let c=[];for(const u of l)n(u,8,c);return new a(a.Mode.BYTE,l.length,c)}static makeNumeric(l){if(!a.isNumeric(l))throw new RangeError("String contains non-numeric characters");let c=[];for(let u=0;u=1<{(t=>{const r=class{constructor(i,o){this.ordinal=i,this.formatBits=o}};let n=r;n.LOW=new r(0,1),n.MEDIUM=new r(1,0),n.QUARTILE=new r(2,3),n.HIGH=new r(3,2),t.Ecc=n})(e.QrCode||(e.QrCode={}))})(cl||(cl={}));(e=>{(t=>{const r=class{constructor(i,o){this.modeBits=i,this.numBitsCharCount=o}numCharCountBits(i){return this.numBitsCharCount[Math.floor((i+7)/17)]}};let n=r;n.NUMERIC=new r(1,[10,12,14]),n.ALPHANUMERIC=new r(2,[9,11,13]),n.BYTE=new r(4,[8,16,16]),n.KANJI=new r(8,[8,10,12]),n.ECI=new r(7,[0,0,0]),t.Mode=n})(e.QrSegment||(e.QrSegment={}))})(cl||(cl={}));var rf=cl;/** - * @license qrcode.react - * Copyright (c) Paul O'Shannessy - * SPDX-License-Identifier: ISC - */var Eae={L:rf.QrCode.Ecc.LOW,M:rf.QrCode.Ecc.MEDIUM,Q:rf.QrCode.Ecc.QUARTILE,H:rf.QrCode.Ecc.HIGH},Mae=128,Pae="L",Aae="#FFFFFF",kae="#000000",_ae=!1,oA=4,Rae=.1;function Tae(e,t=0){const r=[];return e.forEach(function(n,i){let o=null;n.forEach(function(a,s){if(!a&&o!==null){r.push(`M${o+t} ${i+t}h${s-o}v1H${o+t}z`),o=null;return}if(s===n.length-1){if(!a)return;o===null?r.push(`M${s+t},${i+t} h1v1H${s+t}z`):r.push(`M${o+t},${i+t} h${s+1-o}v1H${o+t}z`);return}a&&o===null&&(o=s)})}),r.join("")}function $ae(e,t){return e.slice().map((r,n)=>n=t.y+t.h?r:r.map((i,o)=>o=t.x+t.w?i:!1))}function Bae(e,t,r,n){if(n==null)return null;const i=r?oA:0,o=e.length+i*2,a=Math.floor(t*Rae),s=o/t,l=(n.width||a)*s,c=(n.height||a)*s,u=n.x==null?e.length/2-l/2:n.x*s,f=n.y==null?e.length/2-c/2:n.y*s;let d=null;if(n.excavate){let b=Math.floor(u),p=Math.floor(f),v=Math.ceil(l+u-b),w=Math.ceil(c+f-p);d={x:b,y:p,w:v,h:w}}return{x:u,y:f,h:c,w:l,excavation:d}}var Iae=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}();function Zue(e){const t=e,{value:r,size:n=Mae,level:i=Pae,bgColor:o=Aae,fgColor:a=kae,includeMargin:s=_ae,style:l,imageSettings:c}=t,u=Cae(t,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),f=c==null?void 0:c.src,d=U.useRef(null),b=U.useRef(null),[p,v]=U.useState(!1);U.useEffect(()=>{if(d.current!=null){const y=d.current,M=y.getContext("2d");if(!M)return;let B=rf.QrCode.encodeText(r,Eae[i]).getModules();const D=s?oA:0,F=B.length+D*2,N=Bae(B,n,s,c),_=b.current,L=N!=null&&_!==null&&_.complete&&_.naturalHeight!==0&&_.naturalWidth!==0;L&&N.excavation!=null&&(B=$ae(B,N.excavation));const I=window.devicePixelRatio||1;y.height=y.width=n*I;const R=n/F*I;M.scale(R,R),M.fillStyle=o,M.fillRect(0,0,F,F),M.fillStyle=a,Iae?M.fill(new Path2D(Tae(B,D))):B.forEach(function(m,g){m.forEach(function(h,x){h&&M.fillRect(x+D,g+D,1,1)})}),L&&M.drawImage(_,N.x+D,N.y+D,N.w,N.h)}}),U.useEffect(()=>{v(!1)},[f]);const w=Y7({height:n,width:n},l);let C=null;return f!=null&&(C=mn.createElement("img",{src:f,key:f,style:{display:"none"},onLoad:()=>{v(!0)},ref:b})),mn.createElement(mn.Fragment,null,mn.createElement("canvas",Y7({style:w,height:n,width:n,ref:d},u)),C)}var aA={exports:{}};/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var o="",a=0;a0)return Lae(e);if(r==="number"&&isNaN(e)===!1)return t.long?zae(e):Nae(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Lae(e){if(e=String(e),!(e.length>100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*Oae;case"days":case"day":case"d":return r*x0;case"hours":case"hour":case"hrs":case"hr":case"h":return r*p0;case"minutes":case"minute":case"mins":case"min":case"m":return r*h0;case"seconds":case"second":case"secs":case"sec":case"s":return r*d0;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Nae(e){return e>=x0?Math.round(e/x0)+"d":e>=p0?Math.round(e/p0)+"h":e>=h0?Math.round(e/h0)+"m":e>=d0?Math.round(e/d0)+"s":e+"ms"}function zae(e){return Md(e,x0,"day")||Md(e,p0,"hour")||Md(e,h0,"minute")||Md(e,d0,"second")||e+" ms"}function Md(e,t,r){if(!(e=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}t.formatters.j=function(c){try{return JSON.stringify(c)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}};function i(c){var u=this.useColors;if(c[0]=(u?"%c":"")+this.namespace+(u?" %c":" ")+c[0]+(u?"%c ":" ")+"+"+t.humanize(this.diff),!!u){var f="color: "+this.color;c.splice(1,0,f,"color: inherit");var d=0,b=0;c[0].replace(/%[a-zA-Z%]/g,function(p){p!=="%%"&&(d++,p==="%c"&&(b=d))}),c.splice(b,0,f)}}function o(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function a(c){try{c==null?t.storage.removeItem("debug"):t.storage.debug=c}catch{}}function s(){var c;try{c=t.storage.debug}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=r.DEBUG),c}t.enable(s());function l(){try{return window.localStorage}catch{}}})(p2,p2.exports);var Uae=p2.exports,X7=Uae("jsonp"),Hae=qae,Wae=0;function Vae(){}function qae(e,t,r){typeof t=="function"&&(r=t,t={}),t||(t={});var n=t.prefix||"__jp",i=t.name||n+Wae++,o=t.param||"callback",a=t.timeout!=null?t.timeout:6e4,s=encodeURIComponent,l=document.getElementsByTagName("script")[0]||document.head,c,u;a&&(u=setTimeout(function(){f(),r&&r(new Error("Timeout"))},a));function f(){c.parentNode&&c.parentNode.removeChild(c),window[i]=Vae,u&&clearTimeout(u)}function d(){window[i]&&f()}return window[i]=function(b){X7("jsonp got",b),f(),r&&r(null,b)},e+=(~e.indexOf("?")?"&":"?")+o+"="+s(i),e=e.replace("?&","?"),X7('jsonp req "%s"',e),c=document.createElement("script"),c.src=e,l.parentNode.insertBefore(c,l),d}const bl=_r(Hae);var Kae=Object.defineProperty,Gae=Object.defineProperties,Yae=Object.getOwnPropertyDescriptors,cp=Object.getOwnPropertySymbols,lA=Object.prototype.hasOwnProperty,cA=Object.prototype.propertyIsEnumerable,J7=(e,t,r)=>t in e?Kae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Xn=(e,t)=>{for(var r in t||(t={}))lA.call(t,r)&&J7(e,r,t[r]);if(cp)for(var r of cp(t))cA.call(t,r)&&J7(e,r,t[r]);return e},q1=(e,t)=>Gae(e,Yae(t)),K1=(e,t)=>{var r={};for(var n in e)lA.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&cp)for(var n of cp(e))t.indexOf(n)<0&&cA.call(e,n)&&(r[n]=e[n]);return r};function z0(e){return r=>{var n=r,{bgStyle:i={},borderRadius:o=0,iconFillColor:a="white",round:s=!1,size:l=64}=n,c=K1(n,["bgStyle","borderRadius","iconFillColor","round","size"]);return Y.jsxs("svg",q1(Xn({viewBox:"0 0 64 64",width:l,height:l},c),{children:[s?Y.jsx("circle",{cx:"32",cy:"32",r:"32",fill:e.color,style:i}):Y.jsx("rect",{width:"64",height:"64",rx:o,ry:o,fill:e.color,style:i}),Y.jsx("path",{d:e.path,fill:a})]}))}}function Kt(e){const t=Object.entries(e).filter(([,r])=>r!=null).map(([r,n])=>`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`);return t.length>0?`?${t.join("&")}`:""}const Xae=e=>!!e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function",Jae=(e,t)=>({left:window.outerWidth/2+(window.screenX||window.screenLeft||0)-e/2,top:window.outerHeight/2+(window.screenY||window.screenTop||0)-t/2}),Zae=(e,t)=>({top:(window.screen.height-t)/2,left:(window.screen.width-e)/2});function Qae(e,t,r){var n=t,{height:i,width:o}=n,a=K1(n,["height","width"]);const s=Xn({height:i,width:o,location:"no",toolbar:"no",status:"no",directories:"no",menubar:"no",scrollbars:"yes",resizable:"no",centerscreen:"yes",chrome:"yes"},a),l=window.open(e,"",Object.keys(s).map(c=>`${c}=${s[c]}`).join(", "));if(r){const c=window.setInterval(()=>{try{(l===null||l.closed)&&(window.clearInterval(c),r(l))}catch{}},1e3)}return l}function ese(e){var t=e,{beforeOnClick:r,children:n,className:i,disabled:o,disabledStyle:a={opacity:.6},forwardedRef:s,htmlTitle:l,networkLink:c,networkName:u,onClick:f,onShareWindowClose:d,openShareDialogOnClick:b=!0,opts:p,resetButtonStyle:v=!0,style:w,url:C,windowHeight:y=400,windowPosition:M="windowCenter",windowWidth:B=550}=t,D=K1(t,["beforeOnClick","children","className","disabled","disabledStyle","forwardedRef","htmlTitle","networkLink","networkName","onClick","onShareWindowClose","openShareDialogOnClick","opts","resetButtonStyle","style","url","windowHeight","windowPosition","windowWidth"]);const F=async L=>{const I=c(C,p);if(!o){if(L.preventDefault(),r){const R=r();Xae(R)&&await R}if(b){const R=Xn({height:y,width:B},M==="windowCenter"?Jae(B,y):Zae(B,y));Qae(I,R,d)}f&&f(L,I)}},N=sA("react-share__ShareButton",{"react-share__ShareButton--disabled":!!o,disabled:!!o},i),_=Xn(Xn(v?{backgroundColor:"transparent",border:"none",padding:0,font:"inherit",color:"inherit",cursor:"pointer"}:{},w),o&&a);return Y.jsx("button",q1(Xn({},D),{className:N,onClick:F,ref:s,style:_,title:l,children:n}))}function dr(e,t,r,n){function i(o,a){const s=r(o),l=Xn({},o);return Object.keys(s).forEach(u=>{delete l[u]}),Y.jsx(ese,q1(Xn(Xn({},n),l),{forwardedRef:a,networkName:e,networkLink:t,opts:r(o)}))}return i.displayName=`ShareButton-${e}`,U.forwardRef(i)}function tse(e,{subject:t,body:r,separator:n}){return"mailto:"+Kt({subject:t,body:r?r+n+e:e})}dr("email",tse,e=>({subject:e.subject,body:e.body,separator:e.separator||" "}),{openShareDialogOnClick:!1,onClick:(e,t)=>{window.location.href=t}});const rse=z0({color:"#0965FE",networkName:"facebook",path:"M34.1,47V33.3h4.6l0.7-5.3h-5.3v-3.4c0-1.5,0.4-2.6,2.6-2.6l2.8,0v-4.8c-0.5-0.1-2.2-0.2-4.1-0.2 c-4.1,0-6.9,2.5-6.9,7V28H24v5.3h4.6V47H34.1z"}),Que=rse;function nse(e,{appId:t,redirectUri:r,to:n}){return"https://www.facebook.com/dialog/send"+Kt({link:e,redirect_uri:r||e,app_id:t,to:n})}dr("facebookmessenger",nse,e=>({appId:e.appId,redirectUri:e.redirectUri,to:e.to}),{windowWidth:1e3,windowHeight:820});class ise extends Error{constructor(t){super(t),this.name="AssertionError"}}function ir(e,t){if(!e)throw new ise(t)}function ose(e,{hashtag:t}){return ir(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+Kt({u:e,hashtag:t})}const ase=dr("facebook",ose,e=>({hashtag:e.hashtag}),{windowWidth:550,windowHeight:400}),efe=ase;function sse(){const e=U.useRef(!1);return U.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),U.useCallback(()=>e.current,[])}function lse(e){var t=e,{children:r=d=>d,className:n,getCount:i,url:o}=t,a=K1(t,["children","className","getCount","url"]);const s=sse(),[l,c]=U.useState(void 0),[u,f]=U.useState(!1);return U.useEffect(()=>{f(!0),i(o,d=>{s()&&(c(d),f(!1))})},[o]),Y.jsx("span",q1(Xn({className:sA("react-share__ShareCount",n)},a),{children:!u&&l!==void 0&&r(l)}))}function yl(e){const t=r=>Y.jsx(lse,Xn({getCount:e},r));return t.displayName=`ShareCount(${e.name})`,t}function cse(e,t){const r=`https://graph.facebook.com/?id=${e}&fields=og_object{engagement}`;bl(r,(n,i)=>{t(!n&&i&&i.og_object&&i.og_object.engagement?i.og_object.engagement.count:void 0)})}yl(cse);function use(e,{title:t}){return ir(e,"hatena.url"),`http://b.hatena.ne.jp/add?mode=confirm&url=${e}&title=${t}`}dr("hatena",use,e=>({title:e.title}),{windowWidth:660,windowHeight:460,windowPosition:"windowCenter"});function fse(e,t){bl("https://bookmark.hatenaapis.com/count/entry"+Kt({url:e}),(n,i)=>{t(i??void 0)})}yl(fse);function dse(e,{title:t,description:r}){return ir(e,"instapaper.url"),"http://www.instapaper.com/hello2"+Kt({url:e,title:t,description:r})}dr("instapaper",dse,e=>({title:e.title,description:e.description}),{windowWidth:500,windowHeight:500,windowPosition:"windowCenter"});function hse(e,{title:t}){return ir(e,"line.url"),"https://social-plugins.line.me/lineit/share"+Kt({url:e,text:t})}dr("line",hse,e=>({title:e.title}),{windowWidth:500,windowHeight:500});const pse=z0({color:"#0077B5",networkName:"linkedin",path:"M20.4,44h5.4V26.6h-5.4V44z M23.1,18c-1.7,0-3.1,1.4-3.1,3.1c0,1.7,1.4,3.1,3.1,3.1 c1.7,0,3.1-1.4,3.1-3.1C26.2,19.4,24.8,18,23.1,18z M39.5,26.2c-2.6,0-4.4,1.4-5.1,2.8h-0.1v-2.4h-5.2V44h5.4v-8.6 c0-2.3,0.4-4.5,3.2-4.5c2.8,0,2.8,2.6,2.8,4.6V44H46v-9.5C46,29.8,45,26.2,39.5,26.2z"}),tfe=pse;function xse(e,{title:t,summary:r,source:n}){return ir(e,"linkedin.url"),"https://linkedin.com/shareArticle"+Kt({url:e,mini:"true",title:t,summary:r,source:n})}const mse=dr("linkedin",xse,({title:e,summary:t,source:r})=>({title:e,summary:t,source:r}),{windowWidth:750,windowHeight:600}),rfe=mse;function gse(e,{title:t,description:r}){return ir(e,"livejournal.url"),"https://www.livejournal.com/update.bml"+Kt({subject:t,event:r})}dr("livejournal",gse,e=>({title:e.title,description:e.description}),{windowWidth:660,windowHeight:460});function vse(e,{title:t,description:r,imageUrl:n}){return ir(e,"mailru.url"),"https://connect.mail.ru/share"+Kt({url:e,title:t,description:r,image_url:n})}dr("mailru",vse,e=>({title:e.title,description:e.description,imageUrl:e.imageUrl}),{windowWidth:660,windowHeight:460});function bse(e,{title:t,description:r,image:n}){return ir(e,"ok.url"),"https://connect.ok.ru/offer"+Kt({url:e,title:t,description:r,imageUrl:n})}dr("ok",bse,e=>({title:e.title,description:e.description,image:e.image}),{windowWidth:588,windowHeight:480,windowPosition:"screenCenter"});function yse(e,t){window.OK||(window.OK={Share:{count:function(o,a){var s,l;(l=(s=window.OK.callbacks)[o])==null||l.call(s,a)}},callbacks:[]});const r="https://connect.ok.ru/dk",n=window.OK.callbacks.length;return window.ODKL={updateCount(i,o){var a,s;const l=i===""?0:parseInt(i.replace("react-share-",""),10);(s=(a=window.OK.callbacks)[l])==null||s.call(a,o===""?void 0:parseInt(o,10))}},window.OK.callbacks.push(t),bl(r+Kt({"st.cmd":"extLike",uid:`react-share-${n}`,ref:e}))}yl(yse);function wse(e,{media:t,description:r,pinId:n}){return n?`https://pinterest.com/pin/${n}/repin/x/`:(ir(e,"pinterest.url"),ir(t,"pinterest.media"),"https://pinterest.com/pin/create/button/"+Kt({url:e,media:t,description:r}))}dr("pinterest",wse,e=>({media:e.media,description:e.description,pinId:e.pinId}),{windowWidth:1e3,windowHeight:730});function Sse(e,t){bl("https://api.pinterest.com/v1/urls/count.json"+Kt({url:e}),(n,i)=>{t(i?i.count:void 0)})}yl(Sse);function Cse(e,{title:t}){return ir(e,"pocket.url"),"https://getpocket.com/save"+Kt({url:e,title:t})}dr("pocket",Cse,e=>({title:e.title}),{windowWidth:500,windowHeight:500});const Ese=z0({color:"#FF5700",networkName:"reddit",path:"M 53.34375 32 C 53.277344 30.160156 52.136719 28.53125 50.429688 27.839844 C 48.722656 27.148438 46.769531 27.523438 45.441406 28.800781 C 41.800781 26.324219 37.519531 24.957031 33.121094 24.863281 L 35.199219 14.878906 L 42.046875 16.320312 C 42.214844 17.882812 43.496094 19.09375 45.066406 19.171875 C 46.636719 19.253906 48.03125 18.183594 48.359375 16.644531 C 48.6875 15.105469 47.847656 13.558594 46.382812 12.992188 C 44.914062 12.425781 43.253906 13.007812 42.464844 14.367188 L 34.625 12.800781 C 34.363281 12.742188 34.09375 12.792969 33.871094 12.9375 C 33.648438 13.082031 33.492188 13.308594 33.441406 13.566406 L 31.070312 24.671875 C 26.617188 24.738281 22.277344 26.105469 18.59375 28.609375 C 17.242188 27.339844 15.273438 26.988281 13.570312 27.707031 C 11.863281 28.429688 10.746094 30.089844 10.71875 31.941406 C 10.691406 33.789062 11.757812 35.484375 13.441406 36.257812 C 13.402344 36.726562 13.402344 37.195312 13.441406 37.664062 C 13.441406 44.832031 21.792969 50.65625 32.097656 50.65625 C 42.398438 50.65625 50.753906 44.832031 50.753906 37.664062 C 50.789062 37.195312 50.789062 36.726562 50.753906 36.257812 C 52.363281 35.453125 53.371094 33.800781 53.34375 32 Z M 21.34375 35.199219 C 21.34375 33.433594 22.777344 32 24.542969 32 C 26.3125 32 27.742188 33.433594 27.742188 35.199219 C 27.742188 36.96875 26.3125 38.398438 24.542969 38.398438 C 22.777344 38.398438 21.34375 36.96875 21.34375 35.199219 Z M 39.9375 44 C 37.664062 45.710938 34.871094 46.582031 32.03125 46.464844 C 29.191406 46.582031 26.398438 45.710938 24.128906 44 C 23.847656 43.65625 23.871094 43.15625 24.183594 42.839844 C 24.5 42.527344 25 42.503906 25.34375 42.785156 C 27.269531 44.195312 29.617188 44.90625 32 44.800781 C 34.386719 44.929688 36.746094 44.242188 38.6875 42.847656 C 39.042969 42.503906 39.605469 42.511719 39.953125 42.863281 C 40.296875 43.21875 40.289062 43.785156 39.9375 44.128906 Z M 39.359375 38.527344 C 37.59375 38.527344 36.160156 37.09375 36.160156 35.328125 C 36.160156 33.5625 37.59375 32.128906 39.359375 32.128906 C 41.128906 32.128906 42.558594 33.5625 42.558594 35.328125 C 42.59375 36.203125 42.269531 37.054688 41.65625 37.6875 C 41.046875 38.316406 40.203125 38.664062 39.328125 38.65625 Z M 39.359375 38.527344"}),nfe=Ese;function Mse(e,{title:t}){return ir(e,"reddit.url"),"https://www.reddit.com/submit"+Kt({url:e,title:t})}const Pse=dr("reddit",Mse,e=>({title:e.title}),{windowWidth:660,windowHeight:460,windowPosition:"windowCenter"}),ife=Pse;function Ase(e,{title:t}){return ir(e,"gab.url"),"https://gab.com/compose"+Kt({url:e,text:t})}dr("gab",Ase,e=>({title:e.title}),{windowWidth:660,windowHeight:640,windowPosition:"windowCenter"});function kse(e,t){const r=`https://www.reddit.com/api/info.json?limit=1&url=${e}`;bl(r,{param:"jsonp"},(n,i)=>{t(!n&&i&&i.data&&i.data.children.length>0&&i.data.children[0].data.score?i.data.children[0].data.score:void 0)})}yl(kse);const _se=z0({color:"#25A3E3",networkName:"telegram",path:"m45.90873,15.44335c-0.6901,-0.0281 -1.37668,0.14048 -1.96142,0.41265c-0.84989,0.32661 -8.63939,3.33986 -16.5237,6.39174c-3.9685,1.53296 -7.93349,3.06593 -10.98537,4.24067c-3.05012,1.1765 -5.34694,2.05098 -5.4681,2.09312c-0.80775,0.28096 -1.89996,0.63566 -2.82712,1.72788c-0.23354,0.27218 -0.46884,0.62161 -0.58825,1.10275c-0.11941,0.48114 -0.06673,1.09222 0.16682,1.5716c0.46533,0.96052 1.25376,1.35737 2.18443,1.71383c3.09051,0.99037 6.28638,1.93508 8.93263,2.8236c0.97632,3.44171 1.91401,6.89571 2.84116,10.34268c0.30554,0.69185 0.97105,0.94823 1.65764,0.95525l-0.00351,0.03512c0,0 0.53908,0.05268 1.06412,-0.07375c0.52679,-0.12292 1.18879,-0.42846 1.79109,-0.99212c0.662,-0.62161 2.45836,-2.38812 3.47683,-3.38552l7.6736,5.66477l0.06146,0.03512c0,0 0.84989,0.59703 2.09312,0.68132c0.62161,0.04214 1.4399,-0.07726 2.14229,-0.59176c0.70766,-0.51626 1.1765,-1.34683 1.396,-2.29506c0.65673,-2.86224 5.00979,-23.57745 5.75257,-27.00686l-0.02107,0.08077c0.51977,-1.93157 0.32837,-3.70159 -0.87096,-4.74991c-0.60054,-0.52152 -1.2924,-0.7498 -1.98425,-0.77965l0,0.00176zm-0.2072,3.29069c0.04741,0.0439 0.0439,0.0439 0.00351,0.04741c-0.01229,-0.00351 0.14048,0.2072 -0.15804,1.32576l-0.01229,0.04214l-0.00878,0.03863c-0.75858,3.50668 -5.15554,24.40802 -5.74203,26.96472c-0.08077,0.34417 -0.11414,0.31959 -0.09482,0.29852c-0.1756,-0.02634 -0.50045,-0.16506 -0.52679,-0.1756l-13.13468,-9.70175c4.4988,-4.33199 9.09945,-8.25307 13.744,-12.43229c0.8218,-0.41265 0.68483,-1.68573 -0.29852,-1.70681c-1.04305,0.24584 -1.92279,0.99564 -2.8798,1.47502c-5.49971,3.2626 -11.11882,6.13186 -16.55882,9.49279c-2.792,-0.97105 -5.57873,-1.77704 -8.15298,-2.57601c2.2336,-0.89555 4.00889,-1.55579 5.75608,-2.23009c3.05188,-1.1765 7.01687,-2.7042 10.98537,-4.24067c7.94051,-3.06944 15.92667,-6.16346 16.62028,-6.43037l0.05619,-0.02283l0.05268,-0.02283c0.19316,-0.0878 0.30378,-0.09658 0.35471,-0.10009c0,0 -0.01756,-0.05795 -0.00351,-0.04566l-0.00176,0zm-20.91715,22.0638l2.16687,1.60145c-0.93418,0.91311 -1.81743,1.77353 -2.45485,2.38812l0.28798,-3.98957"}),ofe=_se;function Rse(e,{title:t}){return ir(e,"telegram.url"),"https://telegram.me/share/url"+Kt({url:e,text:t})}const Tse=dr("telegram",Rse,e=>({title:e.title}),{windowWidth:550,windowHeight:400}),afe=Tse;function $se(e,{title:t,caption:r,tags:n,posttype:i}){return ir(e,"tumblr.url"),"https://www.tumblr.com/widgets/share/tool"+Kt({canonicalUrl:e,title:t,caption:r,tags:n,posttype:i})}dr("tumblr",$se,e=>({title:e.title,tags:(e.tags||[]).join(","),caption:e.caption,posttype:e.posttype||"link"}),{windowWidth:660,windowHeight:460});function Bse(e,t){return bl("https://api.tumblr.com/v2/share/stats"+Kt({url:e}),(n,i)=>{t(!n&&i&&i.response?i.response.note_count:void 0)})}yl(Bse);const Ise=z0({color:"#00aced",networkName:"twitter",path:"M48,22.1c-1.2,0.5-2.4,0.9-3.8,1c1.4-0.8,2.4-2.1,2.9-3.6c-1.3,0.8-2.7,1.3-4.2,1.6 C41.7,19.8,40,19,38.2,19c-3.6,0-6.6,2.9-6.6,6.6c0,0.5,0.1,1,0.2,1.5c-5.5-0.3-10.3-2.9-13.5-6.9c-0.6,1-0.9,2.1-0.9,3.3 c0,2.3,1.2,4.3,2.9,5.5c-1.1,0-2.1-0.3-3-0.8c0,0,0,0.1,0,0.1c0,3.2,2.3,5.8,5.3,6.4c-0.6,0.1-1.1,0.2-1.7,0.2c-0.4,0-0.8,0-1.2-0.1 c0.8,2.6,3.3,4.5,6.1,4.6c-2.2,1.8-5.1,2.8-8.2,2.8c-0.5,0-1.1,0-1.6-0.1c2.9,1.9,6.4,2.9,10.1,2.9c12.1,0,18.7-10,18.7-18.7 c0-0.3,0-0.6,0-0.8C46,24.5,47.1,23.4,48,22.1z"}),sfe=Ise;function Fse(e,{title:t,via:r,hashtags:n=[],related:i=[]}){return ir(e,"twitter.url"),ir(Array.isArray(n),"twitter.hashtags is not an array"),ir(Array.isArray(i),"twitter.related is not an array"),"https://twitter.com/intent/tweet"+Kt({url:e,text:t,via:r,hashtags:n.length>0?n.join(","):void 0,related:i.length>0?i.join(","):void 0})}const Ose=dr("twitter",Fse,e=>({hashtags:e.hashtags,title:e.title,via:e.via,related:e.related}),{windowWidth:550,windowHeight:400}),lfe=Ose;function Dse(e,{title:t,separator:r}){return ir(e,"viber.url"),"viber://forward"+Kt({text:t?t+r+e:e})}dr("viber",Dse,e=>({title:e.title,separator:e.separator||" "}),{windowWidth:660,windowHeight:460});function Lse(e,{title:t,image:r,noParse:n,noVkLinks:i}){return ir(e,"vk.url"),"https://vk.com/share.php"+Kt({url:e,title:t,image:r,noparse:n?1:0,no_vk_links:i?1:0})}dr("vk",Lse,e=>({title:e.title,image:e.image,noParse:e.noParse,noVkLinks:e.noVkLinks}),{windowWidth:660,windowHeight:460});function Nse(e,t){window.VK||(window.VK={}),window.VK.Share={count:(i,o)=>{var a,s;return(s=(a=window.VK.callbacks)==null?void 0:a[i])==null?void 0:s.call(a,o)}},window.VK.callbacks=[];const r="https://vk.com/share.php",n=window.VK.callbacks.length;return window.VK.callbacks.push(t),bl(r+Kt({act:"count",index:n,url:e}))}yl(Nse);function zse(e,{title:t,image:r}){return ir(e,"weibo.url"),"http://service.weibo.com/share/share.php"+Kt({url:e,title:t,pic:r})}dr("weibo",zse,e=>({title:e.title,image:e.image}),{windowWidth:660,windowHeight:550,windowPosition:"screenCenter"});function jse(){return/(android|iphone|ipad|mobile)/i.test(navigator.userAgent)}function Use(e,{title:t,separator:r}){return ir(e,"whatsapp.url"),"https://"+(jse()?"api":"web")+".whatsapp.com/send"+Kt({text:t?t+r+e:e})}dr("whatsapp",Use,e=>({title:e.title,separator:e.separator||" "}),{windowWidth:550,windowHeight:400});function Hse(e,{quote:t,hashtag:r}){return ir(e,"workplace.url"),"https://work.facebook.com/sharer.php"+Kt({u:e,quote:t,hashtag:r})}dr("workplace",Hse,e=>({quote:e.quote,hashtag:e.hashtag}),{windowWidth:550,windowHeight:400});var hu={},cg={},ug={},fg={},G1={},dg={},Wse=hg(typeof Buffer<"u"&&Buffer)||hg(st.Buffer)||hg(typeof window<"u"&&window.Buffer)||st.Buffer;function hg(e){return e&&e.isBuffer&&e}var Vse={}.toString,l3=Array.isArray||function(e){return Vse.call(e)=="[object Array]"},pg={exports:{}},Z7;function qse(){if(Z7)return pg.exports;Z7=1;var e=Wi(),t=pg.exports=r(0);t.alloc=r,t.concat=e.concat,t.from=n;function r(i){return new Array(i)}function n(i){if(!e.isBuffer(i)&&e.isView(i))i=e.Uint8Array.from(i);else if(e.isArrayBuffer(i))i=new Uint8Array(i);else{if(typeof i=="string")return e.from.call(t,i);if(typeof i=="number")throw new TypeError('"value" argument must not be a number')}return Array.prototype.slice.call(i)}return pg.exports}var xg={exports:{}},Q7;function Kse(){if(Q7)return xg.exports;Q7=1;var e=Wi(),t=e.global,r=xg.exports=e.hasBuffer?n(0):[];r.alloc=e.hasBuffer&&t.alloc||n,r.concat=e.concat,r.from=i;function n(o){return new t(o)}function i(o){if(!e.isBuffer(o)&&e.isView(o))o=e.Uint8Array.from(o);else if(e.isArrayBuffer(o))o=new Uint8Array(o);else{if(typeof o=="string")return e.from.call(r,o);if(typeof o=="number")throw new TypeError('"value" argument must not be a number')}return t.from&&t.from.length!==1?t.from(o):new t(o)}return xg.exports}var mg={exports:{}},e9;function Gse(){if(e9)return mg.exports;e9=1;var e=Wi(),t=mg.exports=e.hasArrayBuffer?r(0):[];t.alloc=r,t.concat=e.concat,t.from=n;function r(i){return new Uint8Array(i)}function n(i){if(e.isView(i)){var o=i.byteOffset,a=i.byteLength;i=i.buffer,i.byteLength!==a&&(i.slice?i=i.slice(o,o+a):(i=new Uint8Array(i),i.byteLength!==a&&(i=Array.prototype.slice.call(i,o,o+a))))}else{if(typeof i=="string")return e.from.call(t,i);if(typeof i=="number")throw new TypeError('"value" argument must not be a number')}return new Uint8Array(i)}return mg.exports}var Il={},Y1={};Y1.copy=Jse;Y1.toString=Xse;Y1.write=Yse;function Yse(e,t){for(var r=this,n=t||(t|=0),i=e.length,o=0,a=0;a>>6,r[n++]=128|o&63):o<55296||o>57343?(r[n++]=224|o>>>12,r[n++]=128|o>>>6&63,r[n++]=128|o&63):(o=(o-55296<<10|e.charCodeAt(a++)-56320)+65536,r[n++]=240|o>>>18,r[n++]=128|o>>>12&63,r[n++]=128|o>>>6&63,r[n++]=128|o&63);return n-t}function Xse(e,t,r){var n=this,i=t|0;r||(r=n.length);for(var o="",a=0;i=65536?(a-=65536,o+=String.fromCharCode((a>>>10)+55296,(a&1023)+56320)):o+=String.fromCharCode(a)}return o}function Jse(e,t,r,n){var i;r||(r=0),!n&&n!==0&&(n=this.length),t||(t=0);var o=n-r;if(e===this&&r=0;i--)e[i+t]=this[i+r];else for(i=0;i0?S(j,q,K):K<0?T(j,q,K):w(j,q,a,0))}function H(G,j,q,K){var Z=0,te=q.length,Q=0,oe=0;q[0]==="-"&&Z++;for(var me=Z;Z=0))break;oe=oe*K+se,Q=Q*K+Math.floor(oe/l),oe%=l}me&&(Q=~Q,oe?oe=l-oe:Q++),X(G,j+I,Q),X(G,j+R,oe)}function O(){var G=this.buffer,j=this.offset,q=J(G,j+I),K=J(G,j+R);return L||(q|=0),q?q*l+K:K}function V(G){var j=this.buffer,q=this.offset,K=J(j,q+I),Z=J(j,q+R),te="",Q=!L&&K&2147483648;for(Q&&(K=~K,Z=l-Z),G=G||10;;){var oe=K%G*l+Z;if(K=Math.floor(K/G),Z=Math.floor(oe/G),te=(oe%G).toString(G)+te,!K&&!Z)break}return Q&&(te="-"+te),te}function X(G,j,q){G[j+x]=q&255,q=q>>8,G[j+h]=q&255,q=q>>8,G[j+g]=q&255,q=q>>8,G[j+m]=q&255}function J(G,j){return G[j+m]*c+(G[j+g]<<16)+(G[j+h]<<8)+G[j+x]}}function d(N){var _=this.buffer,L=this.offset;return u=null,N!==!1&&L===0&&_.length===8&&s(_)?_:C(_,L)}function b(N){var _=this.buffer,L=this.offset;if(u=n,N!==!1&&L===0&&_.length===8&&Buffer.isBuffer(_))return _;var I=new n(8);return w(I,0,_,L),I}function p(N){var _=this.buffer,L=this.offset,I=_.buffer;if(u=i,N!==!1&&L===0&&I instanceof o&&I.byteLength===8)return I;var R=new i(8);return w(R,0,_,L),R.buffer}function v(N,_){var L=N&&N.length;return _|=0,L&&_+8<=L&&typeof N[_]!="string"}function w(N,_,L,I){_|=0,I|=0;for(var R=0;R<8;R++)N[_++]=L[I++]&255}function C(N,_){return Array.prototype.slice.call(N,_,_+8)}function y(N,_,L){for(var I=_+8;I>_;)N[--I]=L&255,L/=256}function M(N,_,L){var I=_+8;for(L++;I>_;)N[--I]=-L&255^255,L/=256}function B(N,_,L){for(var I=_+8;_ */J1.read=function(e,t,r,n,i){var o,a,s=i*8-n-1,l=(1<>1,u=-7,f=r?i-1:0,d=r?-1:1,b=e[t+f];for(f+=d,o=b&(1<<-u)-1,b>>=-u,u+=s;u>0;o=o*256+e[t+f],f+=d,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=n;u>0;a=a*256+e[t+f],f+=d,u-=8);if(o===0)o=1-c;else{if(o===l)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-c}return(b?-1:1)*a*Math.pow(2,o-n)};J1.write=function(e,t,r,n,i,o){var a,s,l,c=o*8-i-1,u=(1<>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,p=n?1:-1,v=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+f>=1?t+=d/l:t+=d*Math.pow(2,1-f),t*l>=2&&(a++,l/=2),a+f>=u?(s=0,a=u):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a=a+f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+b]=s&255,b+=p,s/=256,i-=8);for(a=a<0;e[r+b]=a&255,b+=p,a/=256,c-=8);e[r+b-p]|=v*128};var u3={},ele=u3.uint8=new Array(256);for(var Pd=0;Pd<=255;Pd++)ele[Pd]=tle(Pd);function tle(e){return function(t){var r=t.reserve(1);t.buffer[r]=e}}var dA=J1,hA=X1,rle=hA.Uint64BE,nle=hA.Int64BE,pA=u3.uint8,Z1=Wi(),Zt=Z1.global,ile=Z1.hasBuffer&&"TYPED_ARRAY_SUPPORT"in Zt,ole=ile&&!Zt.TYPED_ARRAY_SUPPORT,i9=Z1.hasBuffer&&Zt.prototype||{};fA.getWriteToken=ale;function ale(e){return e&&e.uint8array?sle():ole||Z1.hasBuffer&&e&&e.safe?lle():xA()}function sle(){var e=xA();return e[202]=Nt(202,4,vA),e[203]=Nt(203,8,bA),e}function xA(){var e=pA.slice();return e[196]=Wu(196),e[197]=Ps(197),e[198]=As(198),e[199]=Wu(199),e[200]=Ps(200),e[201]=As(201),e[202]=Nt(202,4,i9.writeFloatBE||vA,!0),e[203]=Nt(203,8,i9.writeDoubleBE||bA,!0),e[204]=Wu(204),e[205]=Ps(205),e[206]=As(206),e[207]=Nt(207,8,mA),e[208]=Wu(208),e[209]=Ps(209),e[210]=As(210),e[211]=Nt(211,8,gA),e[217]=Wu(217),e[218]=Ps(218),e[219]=As(219),e[220]=Ps(220),e[221]=As(221),e[222]=Ps(222),e[223]=As(223),e}function lle(){var e=pA.slice();return e[196]=Nt(196,1,Zt.prototype.writeUInt8),e[197]=Nt(197,2,Zt.prototype.writeUInt16BE),e[198]=Nt(198,4,Zt.prototype.writeUInt32BE),e[199]=Nt(199,1,Zt.prototype.writeUInt8),e[200]=Nt(200,2,Zt.prototype.writeUInt16BE),e[201]=Nt(201,4,Zt.prototype.writeUInt32BE),e[202]=Nt(202,4,Zt.prototype.writeFloatBE),e[203]=Nt(203,8,Zt.prototype.writeDoubleBE),e[204]=Nt(204,1,Zt.prototype.writeUInt8),e[205]=Nt(205,2,Zt.prototype.writeUInt16BE),e[206]=Nt(206,4,Zt.prototype.writeUInt32BE),e[207]=Nt(207,8,mA),e[208]=Nt(208,1,Zt.prototype.writeInt8),e[209]=Nt(209,2,Zt.prototype.writeInt16BE),e[210]=Nt(210,4,Zt.prototype.writeInt32BE),e[211]=Nt(211,8,gA),e[217]=Nt(217,1,Zt.prototype.writeUInt8),e[218]=Nt(218,2,Zt.prototype.writeUInt16BE),e[219]=Nt(219,4,Zt.prototype.writeUInt32BE),e[220]=Nt(220,2,Zt.prototype.writeUInt16BE),e[221]=Nt(221,4,Zt.prototype.writeUInt32BE),e[222]=Nt(222,2,Zt.prototype.writeUInt16BE),e[223]=Nt(223,4,Zt.prototype.writeUInt32BE),e}function Wu(e){return function(t,r){var n=t.reserve(2),i=t.buffer;i[n++]=e,i[n]=r}}function Ps(e){return function(t,r){var n=t.reserve(3),i=t.buffer;i[n++]=e,i[n++]=r>>>8,i[n]=r}}function As(e){return function(t,r){var n=t.reserve(5),i=t.buffer;i[n++]=e,i[n++]=r>>>24,i[n++]=r>>>16,i[n++]=r>>>8,i[n]=r}}function Nt(e,t,r,n){return function(i,o){var a=i.reserve(t+1);i.buffer[a++]=e,r.call(i.buffer,o,a,n)}}function mA(e,t){new rle(this,t,e)}function gA(e,t){new nle(this,t,e)}function vA(e,t){dA.write(this,e,t,!1,23,4)}function bA(e,t){dA.write(this,e,t,!1,52,8)}var cle=l3,yA=X1,ule=yA.Uint64BE,fle=yA.Int64BE,o9=Wi(),a9=c3(),dle=fA,hle=u3.uint8,ple=G1.ExtBuffer,xle=typeof Uint8Array<"u",mle=typeof Map<"u",pu=[];pu[1]=212;pu[2]=213;pu[4]=214;pu[8]=215;pu[16]=216;uA.getWriteType=gle;function gle(e){var t=dle.getWriteToken(e),r=e&&e.useraw,n=xle&&e&&e.binarraybuffer,i=n?o9.isArrayBuffer:o9.isBuffer,o=n?D:B,a=mle&&e&&e.usemap,s=a?_:N,l={boolean:c,function:y,number:u,object:r?C:w,string:v(r?p:b),symbol:y,undefined:y};return l;function c(I,R){var m=R?195:194;t[m](I,R)}function u(I,R){var m=R|0,g;if(R!==m){g=203,t[g](I,R);return}else-32<=m&&m<=127?g=m&255:0<=m?g=m<=255?204:m<=65535?205:206:g=-128<=m?208:-32768<=m?209:210;t[g](I,m)}function f(I,R){var m=207;t[m](I,R.toArray())}function d(I,R){var m=211;t[m](I,R.toArray())}function b(I){return I<32?1:I<=255?2:I<=65535?3:5}function p(I){return I<32?1:I<=65535?3:5}function v(I){return R;function R(m,g){var h=g.length,x=5+h*3;m.offset=m.reserve(x);var S=m.buffer,T=I(h),k=m.offset+T;h=a9.write.call(S,g,k);var $=I(h);if(T!==$){var P=k+$-T,E=k+h;a9.copy.call(S,S,P,k,E)}var A=$===1?160+h:$<=3?215+$:219;t[A](m,h),m.offset+=h}}function w(I,R){if(R===null)return y(I,R);if(i(R))return o(I,R);if(cle(R))return M(I,R);if(ule.isUint64BE(R))return f(I,R);if(fle.isInt64BE(R))return d(I,R);var m=I.codec.getExtPacker(R);if(m&&(R=m(R)),R instanceof ple)return F(I,R);s(I,R)}function C(I,R){if(i(R))return L(I,R);w(I,R)}function y(I,R){var m=192;t[m](I,R)}function M(I,R){var m=R.length,g=m<16?144+m:m<=65535?220:221;t[g](I,m);for(var h=I.codec.encode,x=0;xthis.buffer.length)throw new Error(l9);return this.offset=o,i}}function Ale(){return{bufferish:Pf,write:kle,fetch:e,flush:t,push:CA,pull:r,read:SA,reserve:n,send:i,maxBufferSize:Mle,minBufferSize:Ele,offset:0,start:0};function e(){var o=this.start;if(o1?this.bufferish.concat(o):o[0];return o.length=0,a}function n(o){var a=o|0;if(this.buffer){var s=this.buffer.length,l=this.offset|0,c=l+a;if(cthis.minBufferSize)this.flush(),this.push(o);else{var s=this.reserve(a);Pf.prototype.copy.call(o,this.buffer,s)}}}function kle(){throw new Error("method not implemented: write()")}function _le(){throw new Error("method not implemented: fetch()")}function SA(){var e=this.buffers&&this.buffers.length;return e?(this.flush(),this.pull()):this.fetch()}function CA(e){var t=this.buffers||(this.buffers=[]);t.push(e)}function Rle(){var e=this.buffers||(this.buffers=[]);return e.shift()}function EA(e){return t;function t(r){for(var n in e)r[n]=e[n];return r}}var c9;function MA(){if(c9)return ug;c9=1,ug.EncodeBuffer=r;var e=f3().preset,t=Q1.FlexEncoder;t.mixin(r.prototype);function r(n){if(!(this instanceof r))return new r(n);if(n&&(this.options=n,n.codec)){var i=this.codec=n.codec;i.bufferish&&(this.bufferish=i.bufferish)}}return r.prototype.codec=e,r.prototype.write=function(n){this.codec.encode(this,n)},ug}var u9;function PA(){if(u9)return cg;u9=1,cg.encode=t;var e=MA().EncodeBuffer;function t(r,n){var i=new e(n);return i.write(r),i.read()}return cg}var vg={},bg={},yg={},wg={},f9;function Tle(){if(f9)return wg;f9=1,wg.setExtUnpackers=i;var e=Wi(),t=e.global,r,n={name:1,message:1,stack:1,columnNumber:1,fileName:1,lineNumber:1};function i(u){u.addExtUnpacker(14,[o,s(Error)]),u.addExtUnpacker(1,[o,s(EvalError)]),u.addExtUnpacker(2,[o,s(RangeError)]),u.addExtUnpacker(3,[o,s(ReferenceError)]),u.addExtUnpacker(4,[o,s(SyntaxError)]),u.addExtUnpacker(5,[o,s(TypeError)]),u.addExtUnpacker(6,[o,s(URIError)]),u.addExtUnpacker(10,[o,a]),u.addExtUnpacker(11,[o,l(Boolean)]),u.addExtUnpacker(12,[o,l(String)]),u.addExtUnpacker(13,[o,l(Date)]),u.addExtUnpacker(15,[o,l(Number)]),typeof Uint8Array<"u"&&(u.addExtUnpacker(17,l(Int8Array)),u.addExtUnpacker(18,l(Uint8Array)),u.addExtUnpacker(19,[c,l(Int16Array)]),u.addExtUnpacker(20,[c,l(Uint16Array)]),u.addExtUnpacker(21,[c,l(Int32Array)]),u.addExtUnpacker(22,[c,l(Uint32Array)]),u.addExtUnpacker(23,[c,l(Float32Array)]),typeof Float64Array<"u"&&u.addExtUnpacker(24,[c,l(Float64Array)]),typeof Uint8ClampedArray<"u"&&u.addExtUnpacker(25,l(Uint8ClampedArray)),u.addExtUnpacker(26,c),u.addExtUnpacker(29,[c,l(DataView)])),e.hasBuffer&&u.addExtUnpacker(27,l(t))}function o(u){return r||(r=FA().decode),r(u)}function a(u){return RegExp.apply(null,u)}function s(u){return function(f){var d=new u;for(var b in n)d[b]=f[b];return d}}function l(u){return function(f){return new u(f)}}function c(u){return new Uint8Array(u).buffer}return wg}var ex={},AA=J1,kA=X1,_A=kA.Uint64BE,RA=kA.Int64BE;ex.getReadFormat=Ile;ex.readUint8=TA;var d3=Wi(),tx=c3(),$le=typeof Map<"u",Ble=!0;function Ile(e){var t=d3.hasArrayBuffer&&e&&e.binarraybuffer,r=e&&e.int64,n=$le&&e&&e.usemap,i={map:n?Ole:Fle,array:Dle,str:Lle,bin:t?zle:Nle,ext:jle,uint8:TA,uint16:Hle,uint32:Vle,uint64:Ad(8,r?Yle:Kle),int8:Ule,int16:Wle,int32:qle,int64:Ad(8,r?Xle:Gle),float32:Ad(4,Jle),float64:Ad(8,Zle)};return i}function Fle(e,t){var r={},n,i=new Array(t),o=new Array(t),a=e.codec.decode;for(n=0;n=x?h:""+Array(x+1-T.length).join(S)+h},B={s:M,z:function(h){var x=-h.utcOffset(),S=Math.abs(x),T=Math.floor(S/60),k=S%60;return(x<=0?"+":"-")+M(T,2,"0")+":"+M(k,2,"0")},m:function h(x,S){if(x.date()1)return h(P[0])}else{var E=x.name;F[E]=x,k=E}return!T&&k&&(D=k),k||!T&&D},I=function(h,x){if(_(h))return h.clone();var S=typeof x=="object"?x:{};return S.date=h,S.args=arguments,new m(S)},R=B;R.l=L,R.i=_,R.w=function(h,x){return I(h,{locale:x.$L,utc:x.$u,x:x.$x,$offset:x.$offset})};var m=function(){function h(S){this.$L=L(S.locale,null,!0),this.parse(S),this.$x=this.$x||S.x||{},this[N]=!0}var x=h.prototype;return x.parse=function(S){this.$d=function(T){var k=T.date,$=T.utc;if(k===null)return new Date(NaN);if(R.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var P=k.match(w);if(P){var E=P[2]-1||0,A=(P[7]||"0").substring(0,3);return $?new Date(Date.UTC(P[1],E,P[3]||1,P[4]||0,P[5]||0,P[6]||0,A)):new Date(P[1],E,P[3]||1,P[4]||0,P[5]||0,P[6]||0,A)}}return new Date(k)}(S),this.init()},x.init=function(){var S=this.$d;this.$y=S.getFullYear(),this.$M=S.getMonth(),this.$D=S.getDate(),this.$W=S.getDay(),this.$H=S.getHours(),this.$m=S.getMinutes(),this.$s=S.getSeconds(),this.$ms=S.getMilliseconds()},x.$utils=function(){return R},x.isValid=function(){return this.$d.toString()!==v},x.isSame=function(S,T){var k=I(S);return this.startOf(T)<=k&&k<=this.endOf(T)},x.isAfter=function(S,T){return I(S)0,F<=D.r||!D.r){F<=1&&B>0&&(D=y[B-1]);var N=C[D.l];b&&(F=b(""+F)),v=typeof N=="string"?N.replace("%d",F):N(F,u,D.l,w);break}}if(u)return v;var _=w?C.future:C.past;return typeof _=="function"?_(v):_.replace("%s",v)},o.to=function(c,u){return s(c,u,this,!0)},o.from=function(c,u){return s(c,u,this)};var l=function(c){return c.$u?i.utc():i()};o.toNow=function(c){return this.to(l(this),c)},o.fromNow=function(c){return this.from(l(this),c)}}})})(KA);var pce=KA.exports;const dfe=_r(pce);var GA={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(st,function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(i,o,a){var s,l=function(d,b,p){p===void 0&&(p={});var v=new Date(d),w=function(C,y){y===void 0&&(y={});var M=y.timeZoneName||"short",B=C+"|"+M,D=n[B];return D||(D=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:C,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:M}),n[B]=D),D}(b,p);return w.formatToParts(v)},c=function(d,b){for(var p=l(d,b),v=[],w=0;w=0&&(v[B]=parseInt(M,10))}var D=v[3],F=D===24?0:D,N=v[0]+"-"+v[1]+"-"+v[2]+" "+F+":"+v[4]+":"+v[5]+":000",_=+d;return(a.utc(N).valueOf()-(_-=_%1e3))/6e4},u=o.prototype;u.tz=function(d,b){d===void 0&&(d=s);var p=this.utcOffset(),v=this.toDate(),w=v.toLocaleString("en-US",{timeZone:d}),C=Math.round((v-new Date(w))/1e3/60),y=a(w,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(v.getTimezoneOffset()/15)-C,!0);if(b){var M=y.utcOffset();y=y.add(p-M,"minute")}return y.$x.$timezone=d,y},u.offsetName=function(d){var b=this.$x.$timezone||a.tz.guess(),p=l(this.valueOf(),b,{timeZoneName:d}).find(function(v){return v.type.toLowerCase()==="timezonename"});return p&&p.value};var f=u.startOf;u.startOf=function(d,b){if(!this.$x||!this.$x.$timezone)return f.call(this,d,b);var p=a(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return f.call(p,d,b).tz(this.$x.$timezone,!0)},a.tz=function(d,b,p){var v=p&&b,w=p||b||s,C=c(+a(),w);if(typeof d!="string")return a(d).tz(w);var y=function(F,N,_){var L=F-60*N*1e3,I=c(L,_);if(N===I)return[L,N];var R=c(L-=60*(I-N)*1e3,_);return I===R?[L,I]:[F-60*Math.min(I,R)*1e3,Math.max(I,R)]}(a.utc(d,v).valueOf(),C,w),M=y[0],B=y[1],D=a(M).utcOffset(B);return D.$x.$timezone=w,D},a.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},a.tz.setDefault=function(d){s=d}}})})(GA);var xce=GA.exports;const hfe=_r(xce);var mce={exports:{}};(function(e,t){(function(r,n){e.exports=n(wl)})(st,function(r){function n(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=n(r),o={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(a,s){return s==="W"?a+"周":a+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(a,s){var l=100*a+s;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return i.default.locale(o,null,!0),o})})(mce);var gce={exports:{}};(function(e,t){(function(r,n){e.exports=n(wl)})(st,function(r){function n(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=n(r),o={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(a,s){return s==="W"?a+"週":a+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function(a,s){var l=100*a+s;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return i.default.locale(o,null,!0),o})})(gce);var vce={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(st,function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(r){var n=["th","st","nd","rd"],i=r%100;return"["+r+(n[(i-20)%10]||n[i]||n[0])+"]"}}})})(vce);var bce={exports:{}};(function(e,t){(function(r,n){e.exports=n(wl)})(st,function(r){function n(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=n(r),o={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(a){return a+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(a){return a<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return i.default.locale(o,null,!0),o})})(bce);var yce={exports:{}};(function(e,t){(function(r,n){e.exports=n(wl)})(st,function(r){function n(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=n(r),o={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(a){return a+"º"}};return i.default.locale(o,null,!0),o})})(yce);var wce={exports:{}};(function(e,t){(function(r,n){e.exports=n(wl)})(st,function(r){function n(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=n(r),o={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};return i.default.locale(o,null,!0),o})})(wce);var Sce={exports:{}};(function(e,t){(function(r,n){e.exports=n(wl)})(st,function(r){function n(c){return c&&typeof c=="object"&&"default"in c?c:{default:c}}var i=n(r),o="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),a={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},s={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},l={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:o,monthsShort:o,weekStart:6,meridiem:function(c){return c>12?"م":"ص"},relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(c){return c.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(u){return s[u]}).replace(/،/g,",")},postformat:function(c){return c.replace(/\d/g,function(u){return a[u]}).replace(/,/g,"،")},ordinal:function(c){return c},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return i.default.locale(l,null,!0),l})})(Sce);var m3={},Cce=wr;Object.defineProperty(m3,"__esModule",{value:!0});var Ece=m3.default=void 0,Mce=Cce(Rr()),Pce=Y;Ece=m3.default=(0,Mce.default)((0,Pce.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");var YA={exports:{}};(function(e,t){(function(r,n){n()})(st,function(){function r(c,u){return typeof u>"u"?u={autoBom:!1}:typeof u!="object"&&(u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function n(c,u,f){var d=new XMLHttpRequest;d.open("GET",c),d.responseType="blob",d.onload=function(){l(d.response,u,f)},d.onerror=function(){},d.send()}function i(c){var u=new XMLHttpRequest;u.open("HEAD",c,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function o(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(u)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof st=="object"&&st.global===st?st:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(c,u,f){var d=a.URL||a.webkitURL,b=document.createElement("a");u=u||c.name||"download",b.download=u,b.rel="noopener",typeof c=="string"?(b.href=c,b.origin===location.origin?o(b):i(b.href)?n(c,u,f):o(b,b.target="_blank")):(b.href=d.createObjectURL(c),setTimeout(function(){d.revokeObjectURL(b.href)},4e4),setTimeout(function(){o(b)},0))}:"msSaveOrOpenBlob"in navigator?function(c,u,f){if(u=u||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(r(c,f),u);else if(i(c))n(c,u,f);else{var d=document.createElement("a");d.href=c,d.target="_blank",setTimeout(function(){o(d)})}}:function(c,u,f,d){if(d=d||open("","_blank"),d&&(d.document.title=d.document.body.innerText="downloading..."),typeof c=="string")return n(c,u,f);var b=c.type==="application/octet-stream",p=/constructor/i.test(a.HTMLElement)||a.safari,v=/CriOS\/[\d]+/.test(navigator.userAgent);if((v||b&&p||s)&&typeof FileReader<"u"){var w=new FileReader;w.onloadend=function(){var M=w.result;M=v?M:M.replace(/^data:[^;]*;/,"data:attachment/file;"),d?d.location.href=M:location=M,d=null},w.readAsDataURL(c)}else{var C=a.URL||a.webkitURL,y=C.createObjectURL(c);d?d.location=y:location.href=y,d=null,setTimeout(function(){C.revokeObjectURL(y)},4e4)}});a.saveAs=l.saveAs=l,e.exports=l})})(YA);var pfe=YA.exports;export{Qce as $,uQ as A,Fce as B,Dce as C,Fue as D,pa as E,Gce as F,tue as G,DV as H,Rte as I,Due as J,Lue as K,Xt as L,S$ as M,_te as N,he as O,ga as P,aue as Q,mn as R,yue as S,Yce as T,Oue as U,cue as V,yne as W,Ls as X,qq as Y,xue as Z,gue as _,kr as a,uie as a$,Ote as a0,bue as a1,La as a2,kce as a3,iue as a4,lue as a5,B4 as a6,fue as a7,Wue as a8,Wte as a9,$ue as aA,rie as aB,ZK as aC,Zne as aD,Jce as aE,XE as aF,jue as aG,zue as aH,FV as aI,nue as aJ,due as aK,JV as aL,Yue as aM,Xue as aN,Aoe as aO,vi as aP,Ll as aQ,que as aR,Gue as aS,Kue as aT,Jue as aU,iU as aV,Rue as aW,Cue as aX,pue as aY,Nq as aZ,Sue as a_,zte as aa,Bte as ab,mue as ac,rue as ad,Xce as ae,wue as af,o2 as ag,xM as ah,aG as ai,kne as aj,Ene as ak,uu as al,iX as am,hue as an,vue as ao,uue as ap,$ne as aq,One as ar,zne as as,Wne as at,eue as au,aie as av,Zce as aw,Tue as ax,Kce as ay,Gne as az,Ice as b,Uue as b0,Hue as b1,y5 as b2,Vce as b3,Nue as b4,Zue as b5,hM as b6,efe as b7,Que as b8,rfe as b9,hfe as bA,pfe as bB,tfe as ba,ife as bb,nfe as bc,afe as bd,ofe as be,lfe as bf,sfe as bg,jK as bh,oce as bi,cce as bj,Vue as bk,Pue as bl,Eue as bm,Aue as bn,_ue as bo,Vv as bp,Mue as bq,kue as br,Ece as bs,hu as bt,sue as bu,m4 as bv,cfe as bw,ffe as bx,dfe as by,ufe as bz,Oce as c,$ce as d,Bce as e,B_ as f,Tce as g,jce as h,zce as i,_ce as j,Hce as k,nF as l,Lce as m,G2 as n,DY as o,yS as p,Bue as q,U as r,Wce as s,Uce as t,qce as u,Nce as v,gn as w,Rce as x,oue as y,Iue as z}; diff --git a/static/js/multikey/multikey.D1_AnZj2.js b/static/js/multikey/multikey.D1_AnZj2.js new file mode 100644 index 0000000..21be00b --- /dev/null +++ b/static/js/multikey/multikey.D1_AnZj2.js @@ -0,0 +1,2662 @@ +var Vk=Object.defineProperty;var Kk=(e,t,r)=>t in e?Vk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var xx=(e,t,r)=>(Kk(e,typeof t!="symbol"?t+"":t,r),r);function iw(e,t){for(var r=0;rn[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var st=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Pr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Oo(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var ow={exports:{}},wp={},aw={exports:{}},At={};/** + * @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 S0=Symbol.for("react.element"),Gk=Symbol.for("react.portal"),Yk=Symbol.for("react.fragment"),Xk=Symbol.for("react.strict_mode"),Jk=Symbol.for("react.profiler"),Zk=Symbol.for("react.provider"),Qk=Symbol.for("react.context"),e_=Symbol.for("react.forward_ref"),t_=Symbol.for("react.suspense"),r_=Symbol.for("react.memo"),n_=Symbol.for("react.lazy"),z3=Symbol.iterator;function i_(e){return e===null||typeof e!="object"?null:(e=z3&&e[z3]||e["@@iterator"],typeof e=="function"?e:null)}var sw={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},lw=Object.assign,cw={};function Vc(e,t,r){this.props=e,this.context=t,this.refs=cw,this.updater=r||sw}Vc.prototype.isReactComponent={};Vc.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};Vc.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function uw(){}uw.prototype=Vc.prototype;function L2(e,t,r){this.props=e,this.context=t,this.refs=cw,this.updater=r||sw}var N2=L2.prototype=new uw;N2.constructor=L2;lw(N2,Vc.prototype);N2.isPureReactComponent=!0;var j3=Array.isArray,fw=Object.prototype.hasOwnProperty,z2={current:null},dw={key:!0,ref:!0,__self:!0,__source:!0};function hw(e,t,r){var n,i={},o=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)fw.call(t,n)&&!dw.hasOwnProperty(n)&&(i[n]=t[n]);var s=arguments.length-2;if(s===1)i.children=r;else if(10?Yr(Kc,--Dn):0,wc--,Cr===10&&(wc=1,Cp--),Cr}function ei(){return Cr=Dn2||If(Cr)>3?"":" "}function k_(e,t){for(;--t&&ei()&&!(Cr<48||Cr>102||Cr>57&&Cr<65||Cr>70&&Cr<97););return C0(e,jd()+(t<6&&Co()==32&&ei()==32))}function Wg(e){for(;ei();)switch(Cr){case e:return Dn;case 34:case 39:e!==34&&e!==39&&Wg(Cr);break;case 40:e===41&&Wg(e);break;case 92:ei();break}return Dn}function __(e,t){for(;ei()&&e+Cr!==57;)if(e+Cr===84&&Co()===47)break;return"/*"+C0(t,Dn-1)+"*"+Sp(e===47?e:ei())}function R_(e){for(;!If(Co());)ei();return C0(e,Dn)}function T_(e){return yw(Hd("",null,null,null,[""],e=bw(e),0,[0],e))}function Hd(e,t,r,n,i,o,a,s,l){for(var c=0,u=0,f=a,d=0,b=0,p=0,v=1,w=1,C=1,y=0,M="",I=i,N=o,O=n,D=M;w;)switch(p=y,y=ei()){case 40:if(p!=108&&Yr(D,f-1)==58){Hg(D+=Lt(Ud(y),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:D+=Ud(y);break;case 9:case 10:case 13:case 32:D+=A_(p);break;case 92:D+=k_(jd()-1,7);continue;case 47:switch(Co()){case 42:case 47:Y0($_(__(ei(),jd()),t,r),l);break;default:D+="/"}break;case 123*v:s[c++]=go(D)*C;case 125*v:case 59:case 0:switch(y){case 0:case 125:w=0;case 59+u:C==-1&&(D=Lt(D,/\f/g,"")),b>0&&go(D)-f&&Y0(b>32?W3(D+";",n,r,f-1):W3(Lt(D," ","")+";",n,r,f-2),l);break;case 59:D+=";";default:if(Y0(O=H3(D,t,r,c,u,i,s,M,I=[],N=[],f),o),y===123)if(u===0)Hd(D,t,O,O,I,o,f,s,N);else switch(d===99&&Yr(D,3)===110?100:d){case 100:case 108:case 109:case 115:Hd(e,O,O,n&&Y0(H3(e,O,O,0,0,i,s,M,i,I=[],f),N),i,N,f,s,n?I:N);break;default:Hd(D,O,O,O,[""],N,0,s,N)}}c=u=b=0,v=C=1,M=D="",f=a;break;case 58:f=1+go(D),b=p;default:if(v<1){if(y==123)--v;else if(y==125&&v++==0&&P_()==125)continue}switch(D+=Sp(y),y*v){case 38:C=u>0?1:(D+="\f",-1);break;case 44:s[c++]=(go(D)-1)*C,C=1;break;case 64:Co()===45&&(D+=Ud(ei())),d=Co(),u=f=go(M=D+=R_(jd())),y++;break;case 45:p===45&&go(D)==2&&(v=0)}}return o}function H3(e,t,r,n,i,o,a,s,l,c,u){for(var f=i-1,d=i===0?o:[""],b=W2(d),p=0,v=0,w=0;p0?d[C]+" "+y:Lt(y,/&\f/g,d[C])))&&(l[w++]=M);return Ep(e,t,r,i===0?U2:s,l,c,u)}function $_(e,t,r){return Ep(e,t,r,xw,Sp(M_()),Bf(e,2,-2),0)}function W3(e,t,r,n){return Ep(e,t,r,H2,Bf(e,0,n),Bf(e,n+1,-1),n)}function oc(e,t){for(var r="",n=W2(e),i=0;i6)switch(Yr(e,t+1)){case 109:if(Yr(e,t+4)!==45)break;case 102:return Lt(e,/(.+:)(.+)-([^]+)/,"$1"+Dt+"$2-$3$1"+dh+(Yr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Hg(e,"stretch")?Sw(Lt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Yr(e,t+1)!==115)break;case 6444:switch(Yr(e,go(e)-3-(~Hg(e,"!important")&&10))){case 107:return Lt(e,":",":"+Dt)+e;case 101:return Lt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Dt+(Yr(e,14)===45?"inline-":"")+"box$3$1"+Dt+"$2$3$1"+nn+"$2box$3")+e}break;case 5936:switch(Yr(e,t+11)){case 114:return Dt+e+nn+Lt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Dt+e+nn+Lt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Dt+e+nn+Lt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Dt+e+nn+e+e}return e}var j_=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case H2:t.return=Sw(t.value,t.length);break;case mw:return oc([mu(t,{value:Lt(t.value,"@","@"+Dt)})],i);case U2:if(t.length)return E_(t.props,function(o){switch(C_(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return oc([mu(t,{props:[Lt(o,/:(read-\w+)/,":"+dh+"$1")]})],i);case"::placeholder":return oc([mu(t,{props:[Lt(o,/:(plac\w+)/,":"+Dt+"input-$1")]}),mu(t,{props:[Lt(o,/:(plac\w+)/,":"+dh+"$1")]}),mu(t,{props:[Lt(o,/:(plac\w+)/,nn+"input-$1")]})],i)}return""})}},U_=[j_],Cw=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(v){var w=v.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var i=t.stylisPlugins||U_,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(v){for(var w=v.getAttribute("data-emotion").split(" "),C=1;C=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Q_={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},eR=/[A-Z]|^ms/g,tR=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_w=function(t){return t.charCodeAt(1)===45},V3=function(t){return t!=null&&typeof t!="boolean"},gx=ww(function(e){return _w(e)?e:e.replace(eR,"-$&").toLowerCase()}),K3=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(tR,function(n,i,o){return vo={name:i,styles:o,next:vo},i})}return Q_[t]!==1&&!_w(t)&&typeof r=="number"&&r!==0?r+"px":r};function Of(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return vo={name:r.name,styles:r.styles,next:vo},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)vo={name:n.name,styles:n.styles,next:vo},n=n.next;var i=r.styles+";";return i}return rR(e,t,r)}case"function":{if(e!==void 0){var o=vo,a=r(e);return vo=o,Of(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function rR(e,t,r){var n="";if(Array.isArray(r))for(var i=0;iMath.random().toString(36).substring(7).split("").join("."),lR={INIT:`@@redux/INIT${vx()}`,REPLACE:`@@redux/REPLACE${vx()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${vx()}`},hh=lR;function Q2(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Bw(e,t,r){if(typeof e!="function")throw new Error(Vr(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Vr(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Vr(1));return r(Bw)(e,t)}let n=e,i=t,o=new Map,a=o,s=0,l=!1;function c(){a===o&&(a=new Map,o.forEach((w,C)=>{a.set(C,w)}))}function u(){if(l)throw new Error(Vr(3));return i}function f(w){if(typeof w!="function")throw new Error(Vr(4));if(l)throw new Error(Vr(5));let C=!0;c();const y=s++;return a.set(y,w),function(){if(C){if(l)throw new Error(Vr(6));C=!1,c(),a.delete(y),o=null}}}function d(w){if(!Q2(w))throw new Error(Vr(7));if(typeof w.type>"u")throw new Error(Vr(8));if(typeof w.type!="string")throw new Error(Vr(17));if(l)throw new Error(Vr(9));try{l=!0,i=n(i,w)}finally{l=!1}return(o=a).forEach(y=>{y()}),w}function b(w){if(typeof w!="function")throw new Error(Vr(10));n=w,d({type:hh.REPLACE})}function p(){const w=f;return{subscribe(C){if(typeof C!="object"||C===null)throw new Error(Vr(11));function y(){const I=C;I.next&&I.next(u())}return y(),{unsubscribe:w(y)}},[X3](){return this}}}return d({type:hh.INIT}),{dispatch:d,subscribe:f,getState:u,replaceReducer:b,[X3]:p}}function cR(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:hh.INIT})>"u")throw new Error(Vr(12));if(typeof r(void 0,{type:hh.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Vr(13))})}function uR(e){const t=Object.keys(e),r={};for(let o=0;o"u")throw s&&s.type,new Error(Vr(14));c[f]=p,l=l||p!==b}return l=l||n.length!==Object.keys(a).length,l?c:a}}function ph(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function fR(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(Vr(15))};const a={getState:i.getState,dispatch:(l,...c)=>o(l,...c)},s=e.map(l=>l(a));return o=ph(...s)(i.dispatch),{...i,dispatch:o}}}function Iw(e){return Q2(e)&&"type"in e&&typeof e.type=="string"}var Ow=Symbol.for("immer-nothing"),J3=Symbol.for("immer-draftable"),ri=Symbol.for("immer-state");function to(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Sc=Object.getPrototypeOf;function aa(e){return!!e&&!!e[ri]}function sa(e){var t;return e?Fw(e)||Array.isArray(e)||!!e[J3]||!!((t=e.constructor)!=null&&t[J3])||Dp(e)||Lp(e):!1}var dR=Object.prototype.constructor.toString();function Fw(e){if(!e||typeof e!="object")return!1;const t=Sc(e);if(t===null)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object?!0:typeof r=="function"&&Function.toString.call(r)===dR}function xh(e,t){Fp(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function Fp(e){const t=e[ri];return t?t.type_:Array.isArray(e)?1:Dp(e)?2:Lp(e)?3:0}function Vg(e,t){return Fp(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Dw(e,t,r){const n=Fp(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function hR(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Dp(e){return e instanceof Map}function Lp(e){return e instanceof Set}function _s(e){return e.copy_||e.base_}function Kg(e,t){if(Dp(e))return new Map(e);if(Lp(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&Fw(e))return Sc(e)?{...e}:Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[ri];let n=Reflect.ownKeys(r);for(let i=0;i1&&(e.set=e.add=e.clear=e.delete=pR),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>eb(n,!0))),e}function pR(){to(2)}function Np(e){return Object.isFrozen(e)}var xR={};function Js(e){const t=xR[e];return t||to(0,e),t}var Ff;function Lw(){return Ff}function mR(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Z3(e,t){t&&(Js("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Gg(e){Yg(e),e.drafts_.forEach(gR),e.drafts_=null}function Yg(e){e===Ff&&(Ff=e.parent_)}function Q3(e){return Ff=mR(Ff,e)}function gR(e){const t=e[ri];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function ey(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[ri].modified_&&(Gg(t),to(4)),sa(e)&&(e=mh(t,e),t.parent_||gh(t,e)),t.patches_&&Js("Patches").generateReplacementPatches_(r[ri].base_,e,t.patches_,t.inversePatches_)):e=mh(t,r,[]),Gg(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Ow?e:void 0}function mh(e,t,r){if(Np(t))return t;const n=t[ri];if(!n)return xh(t,(i,o)=>ty(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return gh(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const i=n.copy_;let o=i,a=!1;n.type_===3&&(o=new Set(i),i.clear(),a=!0),xh(o,(s,l)=>ty(e,n,i,s,l,r,a)),gh(e,i,!1),r&&e.patches_&&Js("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function ty(e,t,r,n,i,o,a){if(aa(i)){const s=o&&t&&t.type_!==3&&!Vg(t.assigned_,n)?o.concat(n):void 0,l=mh(e,i,s);if(Dw(r,n,l),aa(l))e.canAutoFreeze_=!1;else return}else a&&r.add(i);if(sa(i)&&!Np(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;mh(e,i),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&Object.prototype.propertyIsEnumerable.call(r,n)&&gh(e,i)}}function gh(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&eb(t,r)}function vR(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:Lw(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=tb;r&&(i=[n],o=Df);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return n.draft_=s,n.revoke_=a,s}var tb={get(e,t){if(t===ri)return e;const r=_s(e);if(!Vg(r,t))return bR(e,r,t);const n=r[t];return e.finalized_||!sa(n)?n:n===bx(e.base_,t)?(yx(e),e.copy_[t]=Jg(n,e)):n},has(e,t){return t in _s(e)},ownKeys(e){return Reflect.ownKeys(_s(e))},set(e,t,r){const n=Nw(_s(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=bx(_s(e),t),o=i==null?void 0:i[ri];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(hR(r,i)&&(r!==void 0||Vg(e.base_,t)))return!0;yx(e),Xg(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return bx(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,yx(e),Xg(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=_s(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){to(11)},getPrototypeOf(e){return Sc(e.base_)},setPrototypeOf(){to(12)}},Df={};xh(tb,(e,t)=>{Df[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Df.deleteProperty=function(e,t){return Df.set.call(this,e,t,void 0)};Df.set=function(e,t,r){return tb.set.call(this,e[0],t,r,e[0])};function bx(e,t){const r=e[ri];return(r?_s(r):e)[t]}function bR(e,t,r){var i;const n=Nw(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function Nw(e,t){if(!(t in e))return;let r=Sc(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Sc(r)}}function Xg(e){e.modified_||(e.modified_=!0,e.parent_&&Xg(e.parent_))}function yx(e){e.copy_||(e.copy_=Kg(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var yR=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const o=r;r=t;const a=this;return function(l=o,...c){return a.produce(l,u=>r.call(this,u,...c))}}typeof r!="function"&&to(6),n!==void 0&&typeof n!="function"&&to(7);let i;if(sa(t)){const o=Q3(this),a=Jg(t,void 0);let s=!0;try{i=r(a),s=!1}finally{s?Gg(o):Yg(o)}return Z3(o,n),ey(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===Ow&&(i=void 0),this.autoFreeze_&&eb(i,!0),n){const o=[],a=[];Js("Patches").generateReplacementPatches_(t,i,o,a),n(o,a)}return i}else to(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(a,...s)=>this.produceWithPatches(a,l=>t(l,...s));let n,i;return[this.produce(t,r,(a,s)=>{n=a,i=s}),n,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){sa(e)||to(8),aa(e)&&(e=zw(e));const t=Q3(this),r=Jg(e,void 0);return r[ri].isManual_=!0,Yg(t),r}finishDraft(e,t){const r=e&&e[ri];(!r||!r.isManual_)&&to(9);const{scope_:n}=r;return Z3(n,t),ey(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const i=t[r];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}r>-1&&(t=t.slice(r+1));const n=Js("Patches").applyPatches_;return aa(e)?n(e,t):this.produce(e,i=>n(i,t))}};function Jg(e,t){const r=Dp(e)?Js("MapSet").proxyMap_(e,t):Lp(e)?Js("MapSet").proxySet_(e,t):vR(e,t);return(t?t.scope_:Lw()).drafts_.push(r),r}function zw(e){return aa(e)||to(10,e),jw(e)}function jw(e){if(!sa(e)||Np(e))return e;const t=e[ri];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Kg(e,t.scope_.immer_.useStrictShallowCopy_)}else r=Kg(e,!0);return xh(r,(n,i)=>{Dw(r,n,jw(i))}),t&&(t.finalized_=!1),r}var ni=new yR,rb=ni.produce;ni.produceWithPatches.bind(ni);ni.setAutoFreeze.bind(ni);ni.setUseStrictShallowCopy.bind(ni);ni.applyPatches.bind(ni);ni.createDraft.bind(ni);ni.finishDraft.bind(ni);function wR(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function SR(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function CR(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(r=>typeof r=="function")){const r=e.map(n=>typeof n=="function"?`function ${n.name||"unnamed"}()`:typeof n).join(", ");throw new TypeError(`${t}[${r}]`)}}var ry=e=>Array.isArray(e)?e:[e];function ER(e){const t=Array.isArray(e[0])?e[0]:e;return CR(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function MR(e,t){const r=[],{length:n}=e;for(let i=0;i{r=X0(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function Uw(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,a=0,s,l={},c=i.pop();typeof c=="object"&&(l=c,c=i.pop()),wR(c,`createSelector expects an output function after the inputs, but received: [${typeof c}]`);const u={...r,...l},{memoize:f,memoizeOptions:d=[],argsMemoize:b=nb,argsMemoizeOptions:p=[],devModeChecks:v={}}=u,w=ry(d),C=ry(p),y=ER(i),M=f(function(){return o++,c.apply(null,arguments)},...w),I=b(function(){a++;const O=MR(y,arguments);return s=M.apply(null,O),s},...C);return Object.assign(I,{resultFunc:c,memoizedResultFunc:M,dependencies:y,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>s,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:f,argsMemoize:b})};return Object.assign(n,{withTypes:()=>n}),n}var _R=Uw(nb),RR=Object.assign((e,t=_R)=>{SR(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const r=Object.keys(e),n=r.map(o=>e[o]);return t(n,(...o)=>o.reduce((a,s,l)=>(a[r[l]]=s,a),{}))},{withTypes:()=>RR});function Hw(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var TR=Hw(),$R=Hw,BR=(...e)=>{const t=Uw(...e),r=Object.assign((...n)=>{const i=t(...n),o=(a,...s)=>i(aa(a)?zw(a):a,...s);return Object.assign(o,i),o},{withTypes:()=>r});return r},IR=BR(nb),OR=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ph:ph.apply(null,arguments)},FR=e=>e&&typeof e.match=="function";function ta(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(Rn(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>Iw(n)&&n.type===e,r}function DR(e){return Iw(e)&&Object.keys(e).every(LR)}function LR(e){return["type","payload","error","meta"].indexOf(e)>-1}var Ww=class Zu extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Zu.prototype)}static get[Symbol.species](){return Zu}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Zu(...t[0].concat(this)):new Zu(...t.concat(this))}};function iy(e){return sa(e)?rb(e,()=>{}):e}function oy(e,t,r){if(e.has(t)){let i=e.get(t);return r.update&&(i=r.update(i,t,e),e.set(t,i)),i}if(!r.insert)throw new Error(Rn(10));const n=r.insert(t,e);return e.set(t,n),n}function NR(e){return typeof e=="boolean"}var zR=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let a=new Ww;return r&&(NR(r)?a.push(TR):a.push($R(r.extraArgument))),a},jR="RTK_autoBatch",qw=e=>t=>{setTimeout(t,e)},UR=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:qw(10),HR=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let i=!0,o=!1,a=!1;const s=new Set,l=e.type==="tick"?queueMicrotask:e.type==="raf"?UR:e.type==="callback"?e.queueNotification:qw(e.timeout),c=()=>{a=!1,o&&(o=!1,s.forEach(u=>u()))};return Object.assign({},n,{subscribe(u){const f=()=>i&&u(),d=n.subscribe(f);return s.add(u),()=>{d(),s.delete(u)}},dispatch(u){var f;try{return i=!((f=u==null?void 0:u.meta)!=null&&f[jR]),o=!i,o&&(a||(a=!0,l(c))),n.dispatch(u)}finally{i=!0}}})},WR=e=>function(r){const{autoBatch:n=!0}=r??{};let i=new Ww(e);return n&&i.push(HR(typeof n=="object"?n:void 0)),i},qR=!0;function rfe(e){const t=zR(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:a=void 0}=e||{};let s;if(typeof r=="function")s=r;else if(Q2(r))s=uR(r);else throw new Error(Rn(1));let l;typeof n=="function"?l=n(t):l=t();let c=ph;i&&(c=OR({trace:!qR,...typeof i=="object"&&i}));const u=fR(...l),f=WR(u);let d=typeof a=="function"?a(f):f();const b=c(...d);return Bw(s,o,b)}function Vw(e){const t={},r=[];let n;const i={addCase(o,a){const s=typeof o=="string"?o:o.type;if(!s)throw new Error(Rn(28));if(s in t)throw new Error(Rn(29));return t[s]=a,i},addMatcher(o,a){return r.push({matcher:o,reducer:a}),i},addDefaultCase(o){return n=o,i}};return e(i),[t,r,n]}function VR(e){return typeof e=="function"}function KR(e,t){let[r,n,i]=Vw(t),o;if(VR(e))o=()=>iy(e());else{const s=iy(e);o=()=>s}function a(s=o(),l){let c=[r[l.type],...n.filter(({matcher:u})=>u(l)).map(({reducer:u})=>u)];return c.filter(u=>!!u).length===0&&(c=[i]),c.reduce((u,f)=>{if(f)if(aa(u)){const b=f(u,l);return b===void 0?u:b}else{if(sa(u))return rb(u,d=>f(d,l));{const d=f(u,l);if(d===void 0){if(u===null)return u;throw new Error(Rn(9))}return d}}return u},s)}return a.getInitialState=o,a}var GR="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Kw=(e=21)=>{let t="",r=e;for(;r--;)t+=GR[Math.random()*64|0];return t},YR=(e,t)=>FR(e)?e.match(t):e(t);function XR(...e){return t=>e.some(r=>YR(r,t))}var JR=["name","message","stack","code"],wx=class{constructor(e,t){xx(this,"_type");this.payload=e,this.meta=t}},ay=class{constructor(e,t){xx(this,"_type");this.payload=e,this.meta=t}},ZR=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of JR)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},nfe=(()=>{function e(t,r,n){const i=ta(t+"/fulfilled",(l,c,u,f)=>({payload:l,meta:{...f||{},arg:u,requestId:c,requestStatus:"fulfilled"}})),o=ta(t+"/pending",(l,c,u)=>({payload:void 0,meta:{...u||{},arg:c,requestId:l,requestStatus:"pending"}})),a=ta(t+"/rejected",(l,c,u,f,d)=>({payload:f,error:(n&&n.serializeError||ZR)(l||"Rejected"),meta:{...d||{},arg:u,requestId:c,rejectedWithValue:!!f,requestStatus:"rejected",aborted:(l==null?void 0:l.name)==="AbortError",condition:(l==null?void 0:l.name)==="ConditionError"}}));function s(l){return(c,u,f)=>{const d=n!=null&&n.idGenerator?n.idGenerator(l):Kw(),b=new AbortController;let p,v;function w(y){v=y,b.abort()}const C=async function(){var I,N;let y;try{let O=(I=n==null?void 0:n.condition)==null?void 0:I.call(n,l,{getState:u,extra:f});if(eT(O)&&(O=await O),O===!1||b.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const D=new Promise((T,F)=>{p=()=>{F({name:"AbortError",message:v||"Aborted"})},b.signal.addEventListener("abort",p)});c(o(d,l,(N=n==null?void 0:n.getPendingMeta)==null?void 0:N.call(n,{requestId:d,arg:l},{getState:u,extra:f}))),y=await Promise.race([D,Promise.resolve(r(l,{dispatch:c,getState:u,extra:f,requestId:d,signal:b.signal,abort:w,rejectWithValue:(T,F)=>new wx(T,F),fulfillWithValue:(T,F)=>new ay(T,F)})).then(T=>{if(T instanceof wx)throw T;return T instanceof ay?i(T.payload,d,l,T.meta):i(T,d,l)})])}catch(O){y=O instanceof wx?a(null,d,l,O.payload,O.meta):a(O,d,l)}finally{p&&b.signal.removeEventListener("abort",p)}return n&&!n.dispatchConditionRejection&&a.match(y)&&y.meta.condition||c(y),y}();return Object.assign(C,{abort:w,requestId:d,arg:l,unwrap(){return C.then(QR)}})}}return Object.assign(s,{pending:o,rejected:a,fulfilled:i,settled:XR(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function QR(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function eT(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var tT=Symbol.for("rtk-slice-createasyncthunk");function rT(e,t){return`${e}/${t}`}function nT({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[tT];return function(i){const{name:o,reducerPath:a=o}=i;if(!o)throw new Error(Rn(11));typeof process<"u";const s=(typeof i.reducers=="function"?i.reducers(oT()):i.reducers)||{},l=Object.keys(s),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},u={addCase(M,I){const N=typeof M=="string"?M:M.type;if(!N)throw new Error(Rn(12));if(N in c.sliceCaseReducersByType)throw new Error(Rn(13));return c.sliceCaseReducersByType[N]=I,u},addMatcher(M,I){return c.sliceMatchers.push({matcher:M,reducer:I}),u},exposeAction(M,I){return c.actionCreators[M]=I,u},exposeCaseReducer(M,I){return c.sliceCaseReducersByName[M]=I,u}};l.forEach(M=>{const I=s[M],N={reducerName:M,type:rT(o,M),createNotation:typeof i.reducers=="function"};sT(I)?cT(N,I,u,t):aT(N,I,u)});function f(){const[M={},I=[],N=void 0]=typeof i.extraReducers=="function"?Vw(i.extraReducers):[i.extraReducers],O={...M,...c.sliceCaseReducersByType};return KR(i.initialState,D=>{for(let T in O)D.addCase(T,O[T]);for(let T of c.sliceMatchers)D.addMatcher(T.matcher,T.reducer);for(let T of I)D.addMatcher(T.matcher,T.reducer);N&&D.addDefaultCase(N)})}const d=M=>M,b=new Map;let p;function v(M,I){return p||(p=f()),p(M,I)}function w(){return p||(p=f()),p.getInitialState()}function C(M,I=!1){function N(D){let T=D[M];return typeof T>"u"&&I&&(T=w()),T}function O(D=d){const T=oy(b,I,{insert:()=>new WeakMap});return oy(T,D,{insert:()=>{const F={};for(const[k,A]of Object.entries(i.selectors??{}))F[k]=iT(A,D,w,I);return F}})}return{reducerPath:M,getSelectors:O,get selectors(){return O(N)},selectSlice:N}}const y={name:o,reducer:v,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:w,...C(a),injectInto(M,{reducerPath:I,...N}={}){const O=I??a;return M.inject({reducerPath:O,reducer:v},N),{...y,...C(O,!0)}}};return y}}function iT(e,t,r,n){function i(o,...a){let s=t(o);return typeof s>"u"&&n&&(s=r()),e(s,...a)}return i.unwrapped=e,i}var ife=nT();function oT(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function aT({type:e,reducerName:t,createNotation:r},n,i){let o,a;if("reducer"in n){if(r&&!lT(n))throw new Error(Rn(17));o=n.reducer,a=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?ta(e,a):ta(e))}function sT(e){return e._reducerDefinitionType==="asyncThunk"}function lT(e){return e._reducerDefinitionType==="reducerWithPrepare"}function cT({type:e,reducerName:t},r,n,i){if(!i)throw new Error(Rn(18));const{payloadCreator:o,fulfilled:a,pending:s,rejected:l,settled:c,options:u}=r,f=i(e,o,u);n.exposeAction(t,f),a&&n.addCase(f.fulfilled,a),s&&n.addCase(f.pending,s),l&&n.addCase(f.rejected,l),c&&n.addMatcher(f.settled,c),n.exposeCaseReducer(t,{fulfilled:a||J0,pending:s||J0,rejected:l||J0,settled:c||J0})}function J0(){}function uT(){return{ids:[],entities:{}}}function fT(e){function t(r={},n){const i=Object.assign(uT(),r);return n?e.setAll(i,n):i}return{getInitialState:t}}function dT(){function e(t,r={}){const{createSelector:n=IR}=r,i=f=>f.ids,o=f=>f.entities,a=n(i,o,(f,d)=>f.map(b=>d[b])),s=(f,d)=>d,l=(f,d)=>f[d],c=n(i,f=>f.length);if(!t)return{selectIds:i,selectEntities:o,selectAll:a,selectTotal:c,selectById:n(o,s,l)};const u=n(t,o);return{selectIds:n(t,i),selectEntities:u,selectAll:n(t,a),selectTotal:n(t,c),selectById:n(u,s,l)}}return{getSelectors:e}}var hT=aa;function pT(e){const t=xr((r,n)=>e(n));return function(n){return t(n,void 0)}}function xr(e){return function(r,n){function i(a){return DR(a)}const o=a=>{i(n)?e(n.payload,a):e(n,a)};return hT(r)?(o(r),r):rb(r,o)}}function zl(e,t){return t(e)}function Us(e){return Array.isArray(e)||(e=Object.values(e)),e}function Gw(e,t,r){e=Us(e);const n=[],i=[];for(const o of e){const a=zl(o,t);a in r.entities?i.push({id:a,changes:o}):n.push(o)}return[n,i]}function Yw(e){function t(p,v){const w=zl(p,e);w in v.entities||(v.ids.push(w),v.entities[w]=p)}function r(p,v){p=Us(p);for(const w of p)t(w,v)}function n(p,v){const w=zl(p,e);w in v.entities||v.ids.push(w),v.entities[w]=p}function i(p,v){p=Us(p);for(const w of p)n(w,v)}function o(p,v){p=Us(p),v.ids=[],v.entities={},r(p,v)}function a(p,v){return s([p],v)}function s(p,v){let w=!1;p.forEach(C=>{C in v.entities&&(delete v.entities[C],w=!0)}),w&&(v.ids=v.ids.filter(C=>C in v.entities))}function l(p){Object.assign(p,{ids:[],entities:{}})}function c(p,v,w){const C=w.entities[v.id];if(C===void 0)return!1;const y=Object.assign({},C,v.changes),M=zl(y,e),I=M!==v.id;return I&&(p[v.id]=M,delete w.entities[v.id]),w.entities[M]=y,I}function u(p,v){return f([p],v)}function f(p,v){const w={},C={};p.forEach(M=>{M.id in v.entities&&(C[M.id]={id:M.id,changes:{...C[M.id]?C[M.id].changes:null,...M.changes}})}),p=Object.values(C),p.length>0&&p.filter(I=>c(w,I,v)).length>0&&(v.ids=Object.values(v.entities).map(I=>zl(I,e)))}function d(p,v){return b([p],v)}function b(p,v){const[w,C]=Gw(p,e,v);f(C,v),r(w,v)}return{removeAll:pT(l),addOne:xr(t),addMany:xr(r),setOne:xr(n),setMany:xr(i),setAll:xr(o),updateOne:xr(u),updateMany:xr(f),upsertOne:xr(d),upsertMany:xr(b),removeOne:xr(a),removeMany:xr(s)}}function xT(e,t){const{removeOne:r,removeMany:n,removeAll:i}=Yw(e);function o(C,y){return a([C],y)}function a(C,y){C=Us(C);const M=C.filter(I=>!(zl(I,e)in y.entities));M.length!==0&&v(M,y)}function s(C,y){return l([C],y)}function l(C,y){C=Us(C),C.length!==0&&v(C,y)}function c(C,y){C=Us(C),y.entities={},y.ids=[],a(C,y)}function u(C,y){return f([C],y)}function f(C,y){let M=!1;for(let I of C){const N=y.entities[I.id];if(!N)continue;M=!0,Object.assign(N,I.changes);const O=e(N);I.id!==O&&(delete y.entities[I.id],y.entities[O]=N)}M&&w(y)}function d(C,y){return b([C],y)}function b(C,y){const[M,I]=Gw(C,e,y);f(I,y),a(M,y)}function p(C,y){if(C.length!==y.length)return!1;for(let M=0;M{y.entities[e(M)]=M}),w(y)}function w(C){const y=Object.values(C.entities);y.sort(t);const M=y.map(e),{ids:I}=C;p(I,M)||(C.ids=M)}return{removeOne:r,removeMany:n,removeAll:i,addOne:xr(o),updateOne:xr(u),upsertOne:xr(d),setOne:xr(s),setMany:xr(l),setAll:xr(c),addMany:xr(a),updateMany:xr(f),upsertMany:xr(b)}}function ofe(e={}){const{selectId:t,sortComparer:r}={sortComparer:!1,selectId:a=>a.id,...e},n=r?xT(t,r):Yw(t),i=fT(n),o=dT();return{selectId:t,sortComparer:r,...i,...o,...n}}var mT=(e,t)=>{if(typeof e!="function")throw new Error(Rn(32))},ib="listenerMiddleware",gT=e=>{let{type:t,actionCreator:r,matcher:n,predicate:i,effect:o}=e;if(t)i=ta(t).match;else if(r)t=r.type,i=r.match;else if(n)i=n;else if(!i)throw new Error(Rn(21));return mT(o),{predicate:i,type:t,effect:o}},vT=Object.assign(e=>{const{type:t,predicate:r,effect:n}=gT(e);return{id:Kw(),effect:n,type:t,predicate:r,pending:new Set,unsubscribe:()=>{throw new Error(Rn(22))}}},{withTypes:()=>vT}),bT=Object.assign(ta(`${ib}/add`),{withTypes:()=>bT});ta(`${ib}/removeAll`);var yT=Object.assign(ta(`${ib}/remove`),{withTypes:()=>yT});function Rn(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}function Xw(e,t){return function(){return e.apply(t,arguments)}}const{toString:wT}=Object.prototype,{getPrototypeOf:ob}=Object,zp=(e=>t=>{const r=wT.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Fo=e=>(e=e.toLowerCase(),t=>zp(t)===e),jp=e=>t=>typeof t===e,{isArray:Yc}=Array,Lf=jp("undefined");function ST(e){return e!==null&&!Lf(e)&&e.constructor!==null&&!Lf(e.constructor)&&Mi(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Jw=Fo("ArrayBuffer");function CT(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Jw(e.buffer),t}const ET=jp("string"),Mi=jp("function"),Zw=jp("number"),Up=e=>e!==null&&typeof e=="object",MT=e=>e===!0||e===!1,Wd=e=>{if(zp(e)!=="object")return!1;const t=ob(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},PT=Fo("Date"),AT=Fo("File"),kT=Fo("Blob"),_T=Fo("FileList"),RT=e=>Up(e)&&Mi(e.pipe),TT=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Mi(e.append)&&((t=zp(e))==="formdata"||t==="object"&&Mi(e.toString)&&e.toString()==="[object FormData]"))},$T=Fo("URLSearchParams"),BT=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function M0(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),Yc(e))for(n=0,i=e.length;n0;)if(i=r[n],t===i.toLowerCase())return i;return null}const eS=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,tS=e=>!Lf(e)&&e!==eS;function Zg(){const{caseless:e}=tS(this)&&this||{},t={},r=(n,i)=>{const o=e&&Qw(t,i)||i;Wd(t[o])&&Wd(n)?t[o]=Zg(t[o],n):Wd(n)?t[o]=Zg({},n):Yc(n)?t[o]=n.slice():t[o]=n};for(let n=0,i=arguments.length;n(M0(t,(i,o)=>{r&&Mi(i)?e[o]=Xw(i,r):e[o]=i},{allOwnKeys:n}),e),OT=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),FT=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},DT=(e,t,r,n)=>{let i,o,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!n||n(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=r!==!1&&ob(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},LT=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},NT=e=>{if(!e)return null;if(Yc(e))return e;let t=e.length;if(!Zw(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},zT=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ob(Uint8Array)),jT=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=n.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},UT=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},HT=Fo("HTMLFormElement"),WT=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),sy=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),qT=Fo("RegExp"),rS=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};M0(r,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(n[o]=a||i)}),Object.defineProperties(e,n)},VT=e=>{rS(e,(t,r)=>{if(Mi(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Mi(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},KT=(e,t)=>{const r={},n=i=>{i.forEach(o=>{r[o]=!0})};return Yc(e)?n(e):n(String(e).split(t)),r},GT=()=>{},YT=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Sx="abcdefghijklmnopqrstuvwxyz",ly="0123456789",nS={DIGIT:ly,ALPHA:Sx,ALPHA_DIGIT:Sx+Sx.toUpperCase()+ly},XT=(e=16,t=nS.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function JT(e){return!!(e&&Mi(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const ZT=e=>{const t=new Array(10),r=(n,i)=>{if(Up(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[i]=n;const o=Yc(n)?[]:{};return M0(n,(a,s)=>{const l=r(a,i+1);!Lf(l)&&(o[s]=l)}),t[i]=void 0,o}}return n};return r(e,0)},QT=Fo("AsyncFunction"),e$=e=>e&&(Up(e)||Mi(e))&&Mi(e.then)&&Mi(e.catch),be={isArray:Yc,isArrayBuffer:Jw,isBuffer:ST,isFormData:TT,isArrayBufferView:CT,isString:ET,isNumber:Zw,isBoolean:MT,isObject:Up,isPlainObject:Wd,isUndefined:Lf,isDate:PT,isFile:AT,isBlob:kT,isRegExp:qT,isFunction:Mi,isStream:RT,isURLSearchParams:$T,isTypedArray:zT,isFileList:_T,forEach:M0,merge:Zg,extend:IT,trim:BT,stripBOM:OT,inherits:FT,toFlatObject:DT,kindOf:zp,kindOfTest:Fo,endsWith:LT,toArray:NT,forEachEntry:jT,matchAll:UT,isHTMLForm:HT,hasOwnProperty:sy,hasOwnProp:sy,reduceDescriptors:rS,freezeMethods:VT,toObjectSet:KT,toCamelCase:WT,noop:GT,toFiniteNumber:YT,findKey:Qw,global:eS,isContextDefined:tS,ALPHABET:nS,generateString:XT,isSpecCompliantForm:JT,toJSONObject:ZT,isAsyncFn:QT,isThenable:e$};function $t(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}be.inherits($t,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:be.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const iS=$t.prototype,oS={};["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"].forEach(e=>{oS[e]={value:e}});Object.defineProperties($t,oS);Object.defineProperty(iS,"isAxiosError",{value:!0});$t.from=(e,t,r,n,i,o)=>{const a=Object.create(iS);return be.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),$t.call(a,e.message,t,r,n,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const t$=null;function Qg(e){return be.isPlainObject(e)||be.isArray(e)}function aS(e){return be.endsWith(e,"[]")?e.slice(0,-2):e}function cy(e,t,r){return e?e.concat(t).map(function(i,o){return i=aS(i),!r&&o?"["+i+"]":i}).join(r?".":""):t}function r$(e){return be.isArray(e)&&!e.some(Qg)}const n$=be.toFlatObject(be,{},null,function(t){return/^is[A-Z]/.test(t)});function Hp(e,t,r){if(!be.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=be.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,w){return!be.isUndefined(w[v])});const n=r.metaTokens,i=r.visitor||u,o=r.dots,a=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&be.isSpecCompliantForm(t);if(!be.isFunction(i))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(be.isDate(p))return p.toISOString();if(!l&&be.isBlob(p))throw new $t("Blob is not supported. Use a Buffer instead.");return be.isArrayBuffer(p)||be.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,v,w){let C=p;if(p&&!w&&typeof p=="object"){if(be.endsWith(v,"{}"))v=n?v:v.slice(0,-2),p=JSON.stringify(p);else if(be.isArray(p)&&r$(p)||(be.isFileList(p)||be.endsWith(v,"[]"))&&(C=be.toArray(p)))return v=aS(v),C.forEach(function(M,I){!(be.isUndefined(M)||M===null)&&t.append(a===!0?cy([v],I,o):a===null?v:v+"[]",c(M))}),!1}return Qg(p)?!0:(t.append(cy(w,v,o),c(p)),!1)}const f=[],d=Object.assign(n$,{defaultVisitor:u,convertValue:c,isVisitable:Qg});function b(p,v){if(!be.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(p),be.forEach(p,function(C,y){(!(be.isUndefined(C)||C===null)&&i.call(t,C,be.isString(y)?y.trim():y,v,d))===!0&&b(C,v?v.concat(y):[y])}),f.pop()}}if(!be.isObject(e))throw new TypeError("data must be an object");return b(e),t}function uy(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function ab(e,t){this._pairs=[],e&&Hp(e,this,t)}const sS=ab.prototype;sS.append=function(t,r){this._pairs.push([t,r])};sS.toString=function(t){const r=t?function(n){return t.call(this,n,uy)}:uy;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function i$(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function lS(e,t,r){if(!t)return e;const n=r&&r.encode||i$,i=r&&r.serialize;let o;if(i?o=i(t,r):o=be.isURLSearchParams(t)?t.toString():new ab(t,r).toString(n),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class fy{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){be.forEach(this.handlers,function(n){n!==null&&t(n)})}}const cS={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},o$=typeof URLSearchParams<"u"?URLSearchParams:ab,a$=typeof FormData<"u"?FormData:null,s$=typeof Blob<"u"?Blob:null,l$={isBrowser:!0,classes:{URLSearchParams:o$,FormData:a$,Blob:s$},protocols:["http","https","file","blob","url","data"]},uS=typeof window<"u"&&typeof document<"u",c$=(e=>uS&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),u$=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",f$=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:uS,hasStandardBrowserEnv:c$,hasStandardBrowserWebWorkerEnv:u$},Symbol.toStringTag,{value:"Module"})),yo={...f$,...l$};function d$(e,t){return Hp(e,new yo.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,o){return yo.isNode&&be.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function h$(e){return be.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function p$(e){const t={},r=Object.keys(e);let n;const i=r.length;let o;for(n=0;n=r.length;return a=!a&&be.isArray(i)?i.length:a,l?(be.hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n,!s):((!i[a]||!be.isObject(i[a]))&&(i[a]=[]),t(r,n,i[a],o)&&be.isArray(i[a])&&(i[a]=p$(i[a])),!s)}if(be.isFormData(e)&&be.isFunction(e.entries)){const r={};return be.forEachEntry(e,(n,i)=>{t(h$(n),i,r,0)}),r}return null}function x$(e,t,r){if(be.isString(e))try{return(t||JSON.parse)(e),be.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const sb={transitional:cS,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,o=be.isObject(t);if(o&&be.isHTMLForm(t)&&(t=new FormData(t)),be.isFormData(t))return i?JSON.stringify(fS(t)):t;if(be.isArrayBuffer(t)||be.isBuffer(t)||be.isStream(t)||be.isFile(t)||be.isBlob(t))return t;if(be.isArrayBufferView(t))return t.buffer;if(be.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return d$(t,this.formSerializer).toString();if((s=be.isFileList(t))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Hp(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(r.setContentType("application/json",!1),x$(t)):t}],transformResponse:[function(t){const r=this.transitional||sb.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(t&&be.isString(t)&&(n&&!this.responseType||i)){const a=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?$t.from(s,$t.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:yo.classes.FormData,Blob:yo.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};be.forEach(["delete","get","head","post","put","patch"],e=>{sb.headers[e]={}});const lb=sb,m$=be.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"]),g$=e=>{const t={};let r,n,i;return e&&e.split(` +`).forEach(function(a){i=a.indexOf(":"),r=a.substring(0,i).trim().toLowerCase(),n=a.substring(i+1).trim(),!(!r||t[r]&&m$[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},dy=Symbol("internals");function gu(e){return e&&String(e).trim().toLowerCase()}function qd(e){return e===!1||e==null?e:be.isArray(e)?e.map(qd):String(e)}function v$(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const b$=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Cx(e,t,r,n,i){if(be.isFunction(n))return n.call(this,t,r);if(i&&(t=r),!!be.isString(t)){if(be.isString(n))return t.indexOf(n)!==-1;if(be.isRegExp(n))return n.test(t)}}function y$(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function w$(e,t){const r=be.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(i,o,a){return this[n].call(this,t,i,o,a)},configurable:!0})})}class Wp{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function o(s,l,c){const u=gu(l);if(!u)throw new Error("header name must be a non-empty string");const f=be.findKey(i,u);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||l]=qd(s))}const a=(s,l)=>be.forEach(s,(c,u)=>o(c,u,l));return be.isPlainObject(t)||t instanceof this.constructor?a(t,r):be.isString(t)&&(t=t.trim())&&!b$(t)?a(g$(t),r):t!=null&&o(r,t,n),this}get(t,r){if(t=gu(t),t){const n=be.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return v$(i);if(be.isFunction(r))return r.call(this,i,n);if(be.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=gu(t),t){const n=be.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Cx(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function o(a){if(a=gu(a),a){const s=be.findKey(n,a);s&&(!r||Cx(n,n[s],s,r))&&(delete n[s],i=!0)}}return be.isArray(t)?t.forEach(o):o(t),i}clear(t){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const o=r[n];(!t||Cx(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const r=this,n={};return be.forEach(this,(i,o)=>{const a=be.findKey(n,o);if(a){r[a]=qd(i),delete r[o];return}const s=t?y$(o):String(o).trim();s!==o&&delete r[o],r[s]=qd(i),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return be.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=t&&be.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(i=>n.set(i)),n}static accessor(t){const n=(this[dy]=this[dy]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=gu(a);n[s]||(w$(i,a),n[s]=!0)}return be.isArray(t)?t.forEach(o):o(t),this}}Wp.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);be.reduceDescriptors(Wp.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});be.freezeMethods(Wp);const ra=Wp;function Ex(e,t){const r=this||lb,n=t||r,i=ra.from(n.headers);let o=n.data;return be.forEach(e,function(s){o=s.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function dS(e){return!!(e&&e.__CANCEL__)}function P0(e,t,r){$t.call(this,e??"canceled",$t.ERR_CANCELED,t,r),this.name="CanceledError"}be.inherits(P0,$t,{__CANCEL__:!0});function S$(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new $t("Request failed with status code "+r.status,[$t.ERR_BAD_REQUEST,$t.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const C$=yo.hasStandardBrowserEnv?{write(e,t,r,n,i,o){const a=[e+"="+encodeURIComponent(t)];be.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),be.isString(n)&&a.push("path="+n),be.isString(i)&&a.push("domain="+i),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function E$(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function M$(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function hS(e,t){return e&&!E$(t)?M$(e,t):t}const P$=yo.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function i(o){let a=o;return t&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=i(window.location.href),function(a){const s=be.isString(a)?i(a):a;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}();function A$(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function k$(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i=0,o=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=n[o];a||(a=c),r[i]=l,n[i]=c;let f=o,d=0;for(;f!==i;)d+=r[f++],f=f%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),c-a{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-r,l=n(s),c=o<=a;r=o;const u={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&c?(a-o)/l:void 0,event:i};u[t?"download":"upload"]=!0,e(u)}}const _$=typeof XMLHttpRequest<"u",R$=_$&&function(e){return new Promise(function(r,n){let i=e.data;const o=ra.from(e.headers).normalize();let{responseType:a,withXSRFToken:s}=e,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let u;if(be.isFormData(i)){if(yo.hasStandardBrowserEnv||yo.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((u=o.getContentType())!==!1){const[v,...w]=u?u.split(";").map(C=>C.trim()).filter(Boolean):[];o.setContentType([v||"multipart/form-data",...w].join("; "))}}let f=new XMLHttpRequest;if(e.auth){const v=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(v+":"+w))}const d=hS(e.baseURL,e.url);f.open(e.method.toUpperCase(),lS(d,e.params,e.paramsSerializer),!0),f.timeout=e.timeout;function b(){if(!f)return;const v=ra.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),C={data:!a||a==="text"||a==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:v,config:e,request:f};S$(function(M){r(M),c()},function(M){n(M),c()},C),f=null}if("onloadend"in f?f.onloadend=b:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(b)},f.onabort=function(){f&&(n(new $t("Request aborted",$t.ECONNABORTED,e,f)),f=null)},f.onerror=function(){n(new $t("Network Error",$t.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let w=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const C=e.transitional||cS;e.timeoutErrorMessage&&(w=e.timeoutErrorMessage),n(new $t(w,C.clarifyTimeoutError?$t.ETIMEDOUT:$t.ECONNABORTED,e,f)),f=null},yo.hasStandardBrowserEnv&&(s&&be.isFunction(s)&&(s=s(e)),s||s!==!1&&P$(d))){const v=e.xsrfHeaderName&&e.xsrfCookieName&&C$.read(e.xsrfCookieName);v&&o.set(e.xsrfHeaderName,v)}i===void 0&&o.setContentType(null),"setRequestHeader"in f&&be.forEach(o.toJSON(),function(w,C){f.setRequestHeader(C,w)}),be.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),a&&a!=="json"&&(f.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&f.addEventListener("progress",hy(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",hy(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=v=>{f&&(n(!v||v.type?new P0(null,e,f):v),f.abort(),f=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const p=A$(d);if(p&&yo.protocols.indexOf(p)===-1){n(new $t("Unsupported protocol "+p+":",$t.ERR_BAD_REQUEST,e));return}f.send(i||null)})},ev={http:t$,xhr:R$};be.forEach(ev,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const py=e=>`- ${e}`,T$=e=>be.isFunction(e)||e===null||e===!1,pS={getAdapter:e=>{e=be.isArray(e)?e:[e];const{length:t}=e;let r,n;const i={};for(let o=0;o`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since : +`+o.map(py).join(` +`):" "+py(o[0]):"as no adapter specified";throw new $t("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:ev};function Mx(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new P0(null,e)}function xy(e){return Mx(e),e.headers=ra.from(e.headers),e.data=Ex.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),pS.getAdapter(e.adapter||lb.adapter)(e).then(function(n){return Mx(e),n.data=Ex.call(e,e.transformResponse,n),n.headers=ra.from(n.headers),n},function(n){return dS(n)||(Mx(e),n&&n.response&&(n.response.data=Ex.call(e,e.transformResponse,n.response),n.response.headers=ra.from(n.response.headers))),Promise.reject(n)})}const my=e=>e instanceof ra?{...e}:e;function Cc(e,t){t=t||{};const r={};function n(c,u,f){return be.isPlainObject(c)&&be.isPlainObject(u)?be.merge.call({caseless:f},c,u):be.isPlainObject(u)?be.merge({},u):be.isArray(u)?u.slice():u}function i(c,u,f){if(be.isUndefined(u)){if(!be.isUndefined(c))return n(void 0,c,f)}else return n(c,u,f)}function o(c,u){if(!be.isUndefined(u))return n(void 0,u)}function a(c,u){if(be.isUndefined(u)){if(!be.isUndefined(c))return n(void 0,c)}else return n(void 0,u)}function s(c,u,f){if(f in t)return n(c,u);if(f in e)return n(void 0,c)}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>i(my(c),my(u),!0)};return be.forEach(Object.keys(Object.assign({},e,t)),function(u){const f=l[u]||i,d=f(e[u],t[u],u);be.isUndefined(d)&&f!==s||(r[u]=d)}),r}const xS="1.6.8",cb={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{cb[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const gy={};cb.transitional=function(t,r,n){function i(o,a){return"[Axios v"+xS+"] Transitional option '"+o+"'"+a+(n?". "+n:"")}return(o,a,s)=>{if(t===!1)throw new $t(i(a," has been removed"+(r?" in "+r:"")),$t.ERR_DEPRECATED);return r&&!gy[a]&&(gy[a]=!0),t?t(o,a,s):!0}};function $$(e,t,r){if(typeof e!="object")throw new $t("options must be an object",$t.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const o=n[i],a=t[o];if(a){const s=e[o],l=s===void 0||a(s,o,e);if(l!==!0)throw new $t("option "+o+" must be "+l,$t.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new $t("Unknown option "+o,$t.ERR_BAD_OPTION)}}const tv={assertOptions:$$,validators:cb},Ca=tv.validators;class vh{constructor(t){this.defaults=t,this.interceptors={request:new fy,response:new fy}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=` +`+o):n.stack=o}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Cc(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:o}=r;n!==void 0&&tv.assertOptions(n,{silentJSONParsing:Ca.transitional(Ca.boolean),forcedJSONParsing:Ca.transitional(Ca.boolean),clarifyTimeoutError:Ca.transitional(Ca.boolean)},!1),i!=null&&(be.isFunction(i)?r.paramsSerializer={serialize:i}:tv.assertOptions(i,{encode:Ca.function,serialize:Ca.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let a=o&&be.merge(o.common,o[r.method]);o&&be.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),r.headers=ra.concat(a,o);const s=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(r)===!1||(l=l&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let u,f=0,d;if(!l){const p=[xy.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,c),d=p.length,u=Promise.resolve(r);f{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](i);n._listeners=null}),this.promise.then=i=>{let o;const a=new Promise(s=>{n.subscribe(s),o=s}).then(i);return a.cancel=function(){n.unsubscribe(o)},a},t(function(o,a,s){n.reason||(n.reason=new P0(o,a,s),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new ub(function(i){t=i}),cancel:t}}}const B$=ub;function I$(e){return function(r){return e.apply(null,r)}}function O$(e){return be.isObject(e)&&e.isAxiosError===!0}const rv={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(rv).forEach(([e,t])=>{rv[t]=e});const F$=rv;function mS(e){const t=new Vd(e),r=Xw(Vd.prototype.request,t);return be.extend(r,Vd.prototype,t,{allOwnKeys:!0}),be.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return mS(Cc(e,i))},r}const Rr=mS(lb);Rr.Axios=Vd;Rr.CanceledError=P0;Rr.CancelToken=B$;Rr.isCancel=dS;Rr.VERSION=xS;Rr.toFormData=Hp;Rr.AxiosError=$t;Rr.Cancel=Rr.CanceledError;Rr.all=function(t){return Promise.all(t)};Rr.spread=I$;Rr.isAxiosError=O$;Rr.mergeConfig=Cc;Rr.AxiosHeaders=ra;Rr.formToJSON=e=>fS(be.isHTMLForm(e)?new FormData(e):e);Rr.getAdapter=pS.getAdapter;Rr.HttpStatusCode=F$;Rr.default=Rr;var D$=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,Px=Math.ceil,hi=Math.floor,Mn="[BigNumber Error] ",vy=Mn+"Number primitive has more than 15 significant digits: ",qi=1e14,bt=14,Ax=9007199254740991,kx=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],Ea=1e7,Tr=1e9;function gS(e){var t,r,n,i=y.prototype={constructor:y,toString:null,valueOf:null},o=new y(1),a=20,s=4,l=-7,c=21,u=-1e7,f=1e7,d=!1,b=1,p=0,v={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},w="0123456789abcdefghijklmnopqrstuvwxyz",C=!0;function y(T,F){var k,A,x,g,h,m,S,$,R=this;if(!(R instanceof y))return new y(T,F);if(F==null){if(T&&T._isBigNumber===!0){R.s=T.s,!T.c||T.e>f?R.c=R.e=null:T.e=10;h/=10,g++);g>f?R.c=R.e=null:(R.e=g,R.c=[T]);return}$=String(T)}else{if(!D$.test($=String(T)))return n(R,$,m);R.s=$.charCodeAt(0)==45?($=$.slice(1),-1):1}(g=$.indexOf("."))>-1&&($=$.replace(".","")),(h=$.search(/e/i))>0?(g<0&&(g=h),g+=+$.slice(h+1),$=$.substring(0,h)):g<0&&(g=$.length)}else{if(er(F,2,w.length,"Base"),F==10&&C)return R=new y(T),O(R,a+R.e+1,s);if($=String(T),m=typeof T=="number"){if(T*0!=0)return n(R,$,m,F);if(R.s=1/T<0?($=$.slice(1),-1):1,y.DEBUG&&$.replace(/^0\.0*|\./,"").length>15)throw Error(vy+T)}else R.s=$.charCodeAt(0)===45?($=$.slice(1),-1):1;for(k=w.slice(0,F),g=h=0,S=$.length;hg){g=S;continue}}else if(!x&&($==$.toUpperCase()&&($=$.toLowerCase())||$==$.toLowerCase()&&($=$.toUpperCase()))){x=!0,h=-1,g=0;continue}return n(R,String(T),m,F)}m=!1,$=r($,F,10,R.s),(g=$.indexOf("."))>-1?$=$.replace(".",""):g=$.length}for(h=0;$.charCodeAt(h)===48;h++);for(S=$.length;$.charCodeAt(--S)===48;);if($=$.slice(h,++S)){if(S-=h,m&&y.DEBUG&&S>15&&(T>Ax||T!==hi(T)))throw Error(vy+R.s*T);if((g=g-h-1)>f)R.c=R.e=null;else if(g=-Tr&&x<=Tr&&x===hi(x)){if(A[0]===0){if(x===0&&A.length===1)return!0;break e}if(F=(x+1)%bt,F<1&&(F+=bt),String(A[0]).length==F){for(F=0;F=qi||k!==hi(k))break e;if(k!==0)return!0}}}else if(A===null&&x===null&&(g===null||g===1||g===-1))return!0;throw Error(Mn+"Invalid BigNumber: "+T)},y.maximum=y.max=function(){return I(arguments,-1)},y.minimum=y.min=function(){return I(arguments,1)},y.random=function(){var T=9007199254740992,F=Math.random()*T&2097151?function(){return hi(Math.random()*T)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(k){var A,x,g,h,m,S=0,$=[],R=new y(o);if(k==null?k=a:er(k,0,Tr),h=Px(k/bt),d)if(crypto.getRandomValues){for(A=crypto.getRandomValues(new Uint32Array(h*=2));S>>11),m>=9e15?(x=crypto.getRandomValues(new Uint32Array(2)),A[S]=x[0],A[S+1]=x[1]):($.push(m%1e14),S+=2);S=h/2}else if(crypto.randomBytes){for(A=crypto.randomBytes(h*=7);S=9e15?crypto.randomBytes(7).copy(A,S):($.push(m%1e14),S+=7);S=h/7}else throw d=!1,Error(Mn+"crypto unavailable");if(!d)for(;S=10;m/=10,S++);Sx-1&&(m[h+1]==null&&(m[h+1]=0),m[h+1]+=m[h]/x|0,m[h]%=x)}return m.reverse()}return function(k,A,x,g,h){var m,S,$,R,B,P,E,_,z=k.indexOf("."),H=a,L=s;for(z>=0&&(R=p,p=0,k=k.replace(".",""),_=new y(A),P=_.pow(k.length-z),p=R,_.c=F(zo(fi(P.c),P.e,"0"),10,x,T),_.e=_.c.length),E=F(k,A,x,h?(m=w,T):(m=T,w)),$=R=E.length;E[--R]==0;E.pop());if(!E[0])return m.charAt(0);if(z<0?--$:(P.c=E,P.e=$,P.s=g,P=t(P,_,H,L,x),E=P.c,B=P.r,$=P.e),S=$+H+1,z=E[S],R=x/2,B=B||S<0||E[S+1]!=null,B=L<4?(z!=null||B)&&(L==0||L==(P.s<0?3:2)):z>R||z==R&&(L==4||B||L==6&&E[S-1]&1||L==(P.s<0?8:7)),S<1||!E[0])k=B?zo(m.charAt(1),-H,m.charAt(0)):m.charAt(0);else{if(E.length=S,B)for(--x;++E[--S]>x;)E[S]=0,S||(++$,E=[1].concat(E));for(R=E.length;!E[--R];);for(z=0,k="";z<=R;k+=m.charAt(E[z++]));k=zo(k,$,m.charAt(0))}return k}}(),t=function(){function T(A,x,g){var h,m,S,$,R=0,B=A.length,P=x%Ea,E=x/Ea|0;for(A=A.slice();B--;)S=A[B]%Ea,$=A[B]/Ea|0,h=E*S+$*P,m=P*S+h%Ea*Ea+R,R=(m/g|0)+(h/Ea|0)+E*$,A[B]=m%g;return R&&(A=[R].concat(A)),A}function F(A,x,g,h){var m,S;if(g!=h)S=g>h?1:-1;else for(m=S=0;mx[m]?1:-1;break}return S}function k(A,x,g,h){for(var m=0;g--;)A[g]-=m,m=A[g]1;A.splice(0,1));}return function(A,x,g,h,m){var S,$,R,B,P,E,_,z,H,L,q,X,J,G,j,V,K,Z=A.s==x.s?1:-1,ee=A.c,Q=x.c;if(!ee||!ee[0]||!Q||!Q[0])return new y(!A.s||!x.s||(ee?Q&&ee[0]==Q[0]:!Q)?NaN:ee&&ee[0]==0||!Q?Z*0:Z/0);for(z=new y(Z),H=z.c=[],$=A.e-x.e,Z=g+$+1,m||(m=qi,$=pi(A.e/bt)-pi(x.e/bt),Z=Z/bt|0),R=0;Q[R]==(ee[R]||0);R++);if(Q[R]>(ee[R]||0)&&$--,Z<0)H.push(1),B=!0;else{for(G=ee.length,V=Q.length,R=0,Z+=2,P=hi(m/(Q[0]+1)),P>1&&(Q=T(Q,P,m),ee=T(ee,P,m),V=Q.length,G=ee.length),J=V,L=ee.slice(0,V),q=L.length;q=m/2&&j++;do{if(P=0,S=F(Q,L,V,q),S<0){if(X=L[0],V!=q&&(X=X*m+(L[1]||0)),P=hi(X/j),P>1)for(P>=m&&(P=m-1),E=T(Q,P,m),_=E.length,q=L.length;F(E,L,_,q)==1;)P--,k(E,V<_?K:Q,_,m),_=E.length,S=1;else P==0&&(S=P=1),E=Q.slice(),_=E.length;if(_=10;Z/=10,R++);O(z,g+(z.e=R+$*bt-1)+1,h,B)}else z.e=$,z.r=+B;return z}}();function M(T,F,k,A){var x,g,h,m,S;if(k==null?k=s:er(k,0,8),!T.c)return T.toString();if(x=T.c[0],h=T.e,F==null)S=fi(T.c),S=A==1||A==2&&(h<=l||h>=c)?Q0(S,h):zo(S,h,"0");else if(T=O(new y(T),F,k),g=T.e,S=fi(T.c),m=S.length,A==1||A==2&&(F<=g||g<=l)){for(;mm){if(--F>0)for(S+=".";F--;S+="0");}else if(F+=g-m,F>0)for(g+1==m&&(S+=".");F--;S+="0");return T.s<0&&x?"-"+S:S}function I(T,F){for(var k,A,x=1,g=new y(T[0]);x=10;x/=10,A++);return(k=A+k*bt-1)>f?T.c=T.e=null:k=10;m/=10,x++);if(g=F-x,g<0)g+=bt,h=F,S=B[$=0],R=hi(S/P[x-h-1]%10);else if($=Px((g+1)/bt),$>=B.length)if(A){for(;B.length<=$;B.push(0));S=R=0,x=1,g%=bt,h=g-bt+1}else break e;else{for(S=m=B[$],x=1;m>=10;m/=10,x++);g%=bt,h=g-bt+x,R=h<0?0:hi(S/P[x-h-1]%10)}if(A=A||F<0||B[$+1]!=null||(h<0?S:S%P[x-h-1]),A=k<4?(R||A)&&(k==0||k==(T.s<0?3:2)):R>5||R==5&&(k==4||A||k==6&&(g>0?h>0?S/P[x-h]:0:B[$-1])%10&1||k==(T.s<0?8:7)),F<1||!B[0])return B.length=0,A?(F-=T.e+1,B[0]=P[(bt-F%bt)%bt],T.e=-F||0):B[0]=T.e=0,T;if(g==0?(B.length=$,m=1,$--):(B.length=$+1,m=P[bt-g],B[$]=h>0?hi(S/P[x-h]%P[h])*m:0),A)for(;;)if($==0){for(g=1,h=B[0];h>=10;h/=10,g++);for(h=B[0]+=m,m=1;h>=10;h/=10,m++);g!=m&&(T.e++,B[0]==qi&&(B[0]=1));break}else{if(B[$]+=m,B[$]!=qi)break;B[$--]=0,m=1}for(g=B.length;B[--g]===0;B.pop());}T.e>f?T.c=T.e=null:T.e=c?Q0(F,k):zo(F,k,"0"),T.s<0?"-"+F:F)}return i.absoluteValue=i.abs=function(){var T=new y(this);return T.s<0&&(T.s=1),T},i.comparedTo=function(T,F){return Es(this,new y(T,F))},i.decimalPlaces=i.dp=function(T,F){var k,A,x,g=this;if(T!=null)return er(T,0,Tr),F==null?F=s:er(F,0,8),O(new y(g),T+g.e+1,F);if(!(k=g.c))return null;if(A=((x=k.length-1)-pi(this.e/bt))*bt,x=k[x])for(;x%10==0;x/=10,A--);return A<0&&(A=0),A},i.dividedBy=i.div=function(T,F){return t(this,new y(T,F),a,s)},i.dividedToIntegerBy=i.idiv=function(T,F){return t(this,new y(T,F),0,1)},i.exponentiatedBy=i.pow=function(T,F){var k,A,x,g,h,m,S,$,R,B=this;if(T=new y(T),T.c&&!T.isInteger())throw Error(Mn+"Exponent not an integer: "+D(T));if(F!=null&&(F=new y(F)),m=T.e>14,!B.c||!B.c[0]||B.c[0]==1&&!B.e&&B.c.length==1||!T.c||!T.c[0])return R=new y(Math.pow(+D(B),m?T.s*(2-Z0(T)):+D(T))),F?R.mod(F):R;if(S=T.s<0,F){if(F.c?!F.c[0]:!F.s)return new y(NaN);A=!S&&B.isInteger()&&F.isInteger(),A&&(B=B.mod(F))}else{if(T.e>9&&(B.e>0||B.e<-1||(B.e==0?B.c[0]>1||m&&B.c[1]>=24e7:B.c[0]<8e13||m&&B.c[0]<=9999975e7)))return g=B.s<0&&Z0(T)?-0:0,B.e>-1&&(g=1/g),new y(S?1/g:g);p&&(g=Px(p/bt+2))}for(m?(k=new y(.5),S&&(T.s=1),$=Z0(T)):(x=Math.abs(+D(T)),$=x%2),R=new y(o);;){if($){if(R=R.times(B),!R.c)break;g?R.c.length>g&&(R.c.length=g):A&&(R=R.mod(F))}if(x){if(x=hi(x/2),x===0)break;$=x%2}else if(T=T.times(k),O(T,T.e+1,1),T.e>14)$=Z0(T);else{if(x=+D(T),x===0)break;$=x%2}B=B.times(B),g?B.c&&B.c.length>g&&(B.c.length=g):A&&(B=B.mod(F))}return A?R:(S&&(R=o.div(R)),F?R.mod(F):g?O(R,p,s,h):R)},i.integerValue=function(T){var F=new y(this);return T==null?T=s:er(T,0,8),O(F,F.e+1,T)},i.isEqualTo=i.eq=function(T,F){return Es(this,new y(T,F))===0},i.isFinite=function(){return!!this.c},i.isGreaterThan=i.gt=function(T,F){return Es(this,new y(T,F))>0},i.isGreaterThanOrEqualTo=i.gte=function(T,F){return(F=Es(this,new y(T,F)))===1||F===0},i.isInteger=function(){return!!this.c&&pi(this.e/bt)>this.c.length-2},i.isLessThan=i.lt=function(T,F){return Es(this,new y(T,F))<0},i.isLessThanOrEqualTo=i.lte=function(T,F){return(F=Es(this,new y(T,F)))===-1||F===0},i.isNaN=function(){return!this.s},i.isNegative=function(){return this.s<0},i.isPositive=function(){return this.s>0},i.isZero=function(){return!!this.c&&this.c[0]==0},i.minus=function(T,F){var k,A,x,g,h=this,m=h.s;if(T=new y(T,F),F=T.s,!m||!F)return new y(NaN);if(m!=F)return T.s=-F,h.plus(T);var S=h.e/bt,$=T.e/bt,R=h.c,B=T.c;if(!S||!$){if(!R||!B)return R?(T.s=-F,T):new y(B?h:NaN);if(!R[0]||!B[0])return B[0]?(T.s=-F,T):new y(R[0]?h:s==3?-0:0)}if(S=pi(S),$=pi($),R=R.slice(),m=S-$){for((g=m<0)?(m=-m,x=R):($=S,x=B),x.reverse(),F=m;F--;x.push(0));x.reverse()}else for(A=(g=(m=R.length)<(F=B.length))?m:F,m=F=0;F0)for(;F--;R[k++]=0);for(F=qi-1;A>m;){if(R[--A]=0;){for(k=0,P=X[x]%H,E=X[x]/H|0,h=S,g=x+h;g>x;)$=q[--h]%H,R=q[h]/H|0,m=E*$+R*P,$=P*$+m%H*H+_[g]+k,k=($/z|0)+(m/H|0)+E*R,_[g--]=$%z;_[g]=k}return k?++A:_.splice(0,1),N(T,_,A)},i.negated=function(){var T=new y(this);return T.s=-T.s||null,T},i.plus=function(T,F){var k,A=this,x=A.s;if(T=new y(T,F),F=T.s,!x||!F)return new y(NaN);if(x!=F)return T.s=-F,A.minus(T);var g=A.e/bt,h=T.e/bt,m=A.c,S=T.c;if(!g||!h){if(!m||!S)return new y(x/0);if(!m[0]||!S[0])return S[0]?T:new y(m[0]?A:x*0)}if(g=pi(g),h=pi(h),m=m.slice(),x=g-h){for(x>0?(h=g,k=S):(x=-x,k=m),k.reverse();x--;k.push(0));k.reverse()}for(x=m.length,F=S.length,x-F<0&&(k=S,S=m,m=k,F=x),x=0;F;)x=(m[--F]=m[F]+S[F]+x)/qi|0,m[F]=qi===m[F]?0:m[F]%qi;return x&&(m=[x].concat(m),++h),N(T,m,h)},i.precision=i.sd=function(T,F){var k,A,x,g=this;if(T!=null&&T!==!!T)return er(T,1,Tr),F==null?F=s:er(F,0,8),O(new y(g),T,F);if(!(k=g.c))return null;if(x=k.length-1,A=x*bt+1,x=k[x]){for(;x%10==0;x/=10,A--);for(x=k[0];x>=10;x/=10,A++);}return T&&g.e+1>A&&(A=g.e+1),A},i.shiftedBy=function(T){return er(T,-Ax,Ax),this.times("1e"+T)},i.squareRoot=i.sqrt=function(){var T,F,k,A,x,g=this,h=g.c,m=g.s,S=g.e,$=a+4,R=new y("0.5");if(m!==1||!h||!h[0])return new y(!m||m<0&&(!h||h[0])?NaN:h?g:1/0);if(m=Math.sqrt(+D(g)),m==0||m==1/0?(F=fi(h),(F.length+S)%2==0&&(F+="0"),m=Math.sqrt(+F),S=pi((S+1)/2)-(S<0||S%2),m==1/0?F="5e"+S:(F=m.toExponential(),F=F.slice(0,F.indexOf("e")+1)+S),k=new y(F)):k=new y(m+""),k.c[0]){for(S=k.e,m=S+$,m<3&&(m=0);;)if(x=k,k=R.times(x.plus(t(g,x,$,1))),fi(x.c).slice(0,m)===(F=fi(k.c)).slice(0,m))if(k.e0&&_>0){for(g=_%m||m,R=E.substr(0,g);g<_;g+=m)R+=$+E.substr(g,m);S>0&&(R+=$+E.slice(g)),P&&(R="-"+R)}A=B?R+(k.decimalSeparator||"")+((S=+k.fractionGroupSize)?B.replace(new RegExp("\\d{"+S+"}\\B","g"),"$&"+(k.fractionGroupSeparator||"")):B):R}return(k.prefix||"")+A+(k.suffix||"")},i.toFraction=function(T){var F,k,A,x,g,h,m,S,$,R,B,P,E=this,_=E.c;if(T!=null&&(m=new y(T),!m.isInteger()&&(m.c||m.s!==1)||m.lt(o)))throw Error(Mn+"Argument "+(m.isInteger()?"out of range: ":"not an integer: ")+D(m));if(!_)return new y(E);for(F=new y(o),$=k=new y(o),A=S=new y(o),P=fi(_),g=F.e=P.length-E.e-1,F.c[0]=kx[(h=g%bt)<0?bt+h:h],T=!T||m.comparedTo(F)>0?g>0?F:$:m,h=f,f=1/0,m=new y(P),S.c[0]=0;R=t(m,F,0,1),x=k.plus(R.times(A)),x.comparedTo(T)!=1;)k=A,A=x,$=S.plus(R.times(x=$)),S=x,F=m.minus(R.times(x=F)),m=x;return x=t(T.minus(k),A,0,1),S=S.plus(x.times($)),k=k.plus(x.times(A)),S.s=$.s=E.s,g=g*2,B=t($,A,g,s).minus(E).abs().comparedTo(t(S,k,g,s).minus(E).abs())<1?[$,A]:[S,k],f=h,B},i.toNumber=function(){return+D(this)},i.toPrecision=function(T,F){return T!=null&&er(T,1,Tr),M(this,T,F,2)},i.toString=function(T){var F,k=this,A=k.s,x=k.e;return x===null?A?(F="Infinity",A<0&&(F="-"+F)):F="NaN":(T==null?F=x<=l||x>=c?Q0(fi(k.c),x):zo(fi(k.c),x,"0"):T===10&&C?(k=O(new y(k),a+x+1,s),F=zo(fi(k.c),k.e,"0")):(er(T,2,w.length,"Base"),F=r(zo(fi(k.c),x,"0"),10,T,A,!0)),A<0&&k.c[0]&&(F="-"+F)),F},i.valueOf=i.toJSON=function(){return D(this)},i._isBigNumber=!0,i[Symbol.toStringTag]="BigNumber",i[Symbol.for("nodejs.util.inspect.custom")]=i.valueOf,e!=null&&y.set(e),y}function pi(e){var t=e|0;return e>0||e===t?t:t-1}function fi(e){for(var t,r,n=1,i=e.length,o=e[0]+"";nc^r?1:-1;for(s=(l=i.length)<(c=o.length)?l:c,a=0;ao[a]^r?1:-1;return l==c?0:l>c^r?1:-1}function er(e,t,r,n){if(er||e!==hi(e))throw Error(Mn+(n||"Argument")+(typeof e=="number"?er?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function Z0(e){var t=e.c.length-1;return pi(e.e/bt)==t&&e.c[t]%2!=0}function Q0(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function zo(e,t,r){var n,i;if(t<0){for(i=r+".";++t;i+=r);e=i+e}else if(n=e.length,++t>n){for(i=r,t-=n;--t;i+=r);e+=i}else t"u"){window.clipboardData.clearData();var f=by[t.format]||by.default;window.clipboardData.setData(f,e)}else u.clipboardData.clearData(),u.clipboardData.setData(t.format,e);t.onCopy&&(u.preventDefault(),t.onCopy(u.clipboardData))}),document.body.appendChild(s),o.selectNodeContents(s),a.addRange(o);var c=document.execCommand("copy");if(!c)throw new Error("copy command was unsuccessful");l=!0}catch{try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch{n=j$("message"in t?t.message:z$),window.prompt(n,e)}}finally{a&&(typeof a.removeRange=="function"?a.removeRange(o):a.removeAllRanges()),s&&document.body.removeChild(s),i()}return l}var H$=U$;const sfe=Pr(H$);var vS={exports:{}};function W$(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var _x={exports:{}};const q$={},V$=Object.freeze(Object.defineProperty({__proto__:null,default:q$},Symbol.toStringTag,{value:"Module"})),qp=Oo(V$);var yy;function Rt(){return yy||(yy=1,function(e,t){(function(r,n){e.exports=n()})(st,function(){var r=r||function(n,i){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof st<"u"&&st.crypto&&(o=st.crypto),!o&&typeof W$=="function")try{o=qp}catch{}var a=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function y(){}return function(M){var I;return y.prototype=M,I=new y,y.prototype=null,I}}(),l={},c=l.lib={},u=c.Base=function(){return{extend:function(y){var M=s(this);return y&&M.mixIn(y),(!M.hasOwnProperty("init")||this.init===M.init)&&(M.init=function(){M.$super.init.apply(this,arguments)}),M.init.prototype=M,M.$super=this,M},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var M in y)y.hasOwnProperty(M)&&(this[M]=y[M]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=c.WordArray=u.extend({init:function(y,M){y=this.words=y||[],M!=i?this.sigBytes=M:this.sigBytes=y.length*4},toString:function(y){return(y||b).stringify(this)},concat:function(y){var M=this.words,I=y.words,N=this.sigBytes,O=y.sigBytes;if(this.clamp(),N%4)for(var D=0;D>>2]>>>24-D%4*8&255;M[N+D>>>2]|=T<<24-(N+D)%4*8}else for(var F=0;F>>2]=I[F>>>2];return this.sigBytes+=O,this},clamp:function(){var y=this.words,M=this.sigBytes;y[M>>>2]&=4294967295<<32-M%4*8,y.length=n.ceil(M/4)},clone:function(){var y=u.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var M=[],I=0;I>>2]>>>24-O%4*8&255;N.push((D>>>4).toString(16)),N.push((D&15).toString(16))}return N.join("")},parse:function(y){for(var M=y.length,I=[],N=0;N>>3]|=parseInt(y.substr(N,2),16)<<24-N%8*4;return new f.init(I,M/2)}},p=d.Latin1={stringify:function(y){for(var M=y.words,I=y.sigBytes,N=[],O=0;O>>2]>>>24-O%4*8&255;N.push(String.fromCharCode(D))}return N.join("")},parse:function(y){for(var M=y.length,I=[],N=0;N>>2]|=(y.charCodeAt(N)&255)<<24-N%4*8;return new f.init(I,M)}},v=d.Utf8={stringify:function(y){try{return decodeURIComponent(escape(p.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return p.parse(unescape(encodeURIComponent(y)))}},w=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=v.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var M,I=this._data,N=I.words,O=I.sigBytes,D=this.blockSize,T=D*4,F=O/T;y?F=n.ceil(F):F=n.max((F|0)-this._minBufferSize,0);var k=F*D,A=n.min(k*4,O);if(k){for(var x=0;x>>2]|=l[f]<<24-f%4*8;a.call(this,u,c)}else a.apply(this,arguments)};s.prototype=o}}(),r.lib.WordArray})}(Tx)),Tx.exports}var $x={exports:{}},Cy;function G$(){return Cy||(Cy=1,function(e,t){(function(r,n){e.exports=n(Rt())})(st,function(r){return function(){var n=r,i=n.lib,o=i.WordArray,a=n.enc;a.Utf16=a.Utf16BE={stringify:function(l){for(var c=l.words,u=l.sigBytes,f=[],d=0;d>>2]>>>16-d%4*8&65535;f.push(String.fromCharCode(b))}return f.join("")},parse:function(l){for(var c=l.length,u=[],f=0;f>>1]|=l.charCodeAt(f)<<16-f%2*16;return o.create(u,c*2)}},a.Utf16LE={stringify:function(l){for(var c=l.words,u=l.sigBytes,f=[],d=0;d>>2]>>>16-d%4*8&65535);f.push(String.fromCharCode(b))}return f.join("")},parse:function(l){for(var c=l.length,u=[],f=0;f>>1]|=s(l.charCodeAt(f)<<16-f%2*16);return o.create(u,c*2)}};function s(l){return l<<8&4278255360|l>>>8&16711935}}(),r.enc.Utf16})}($x)),$x.exports}var Bx={exports:{}},Ey;function dl(){return Ey||(Ey=1,function(e,t){(function(r,n){e.exports=n(Rt())})(st,function(r){return function(){var n=r,i=n.lib,o=i.WordArray,a=n.enc;a.Base64={stringify:function(l){var c=l.words,u=l.sigBytes,f=this._map;l.clamp();for(var d=[],b=0;b>>2]>>>24-b%4*8&255,v=c[b+1>>>2]>>>24-(b+1)%4*8&255,w=c[b+2>>>2]>>>24-(b+2)%4*8&255,C=p<<16|v<<8|w,y=0;y<4&&b+y*.75>>6*(3-y)&63));var M=f.charAt(64);if(M)for(;d.length%4;)d.push(M);return d.join("")},parse:function(l){var c=l.length,u=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var d=0;d>>6-b%4*2,w=p|v;f[d>>>2]|=w<<24-d%4*8,d++}return o.create(f,d)}}(),r.enc.Base64})}(Bx)),Bx.exports}var Ix={exports:{}},My;function Y$(){return My||(My=1,function(e,t){(function(r,n){e.exports=n(Rt())})(st,function(r){return function(){var n=r,i=n.lib,o=i.WordArray,a=n.enc;a.Base64url={stringify:function(l,c){c===void 0&&(c=!0);var u=l.words,f=l.sigBytes,d=c?this._safe_map:this._map;l.clamp();for(var b=[],p=0;p>>2]>>>24-p%4*8&255,w=u[p+1>>>2]>>>24-(p+1)%4*8&255,C=u[p+2>>>2]>>>24-(p+2)%4*8&255,y=v<<16|w<<8|C,M=0;M<4&&p+M*.75>>6*(3-M)&63));var I=d.charAt(64);if(I)for(;b.length%4;)b.push(I);return b.join("")},parse:function(l,c){c===void 0&&(c=!0);var u=l.length,f=c?this._safe_map:this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var b=0;b>>6-b%4*2,w=p|v;f[d>>>2]|=w<<24-d%4*8,d++}return o.create(f,d)}}(),r.enc.Base64url})}(Ix)),Ix.exports}var Ox={exports:{}},Py;function as(){return Py||(Py=1,function(e,t){(function(r,n){e.exports=n(Rt())})(st,function(r){return function(n){var i=r,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.algo,c=[];(function(){for(var v=0;v<64;v++)c[v]=n.abs(n.sin(v+1))*4294967296|0})();var u=l.MD5=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(v,w){for(var C=0;C<16;C++){var y=w+C,M=v[y];v[y]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360}var I=this._hash.words,N=v[w+0],O=v[w+1],D=v[w+2],T=v[w+3],F=v[w+4],k=v[w+5],A=v[w+6],x=v[w+7],g=v[w+8],h=v[w+9],m=v[w+10],S=v[w+11],$=v[w+12],R=v[w+13],B=v[w+14],P=v[w+15],E=I[0],_=I[1],z=I[2],H=I[3];E=f(E,_,z,H,N,7,c[0]),H=f(H,E,_,z,O,12,c[1]),z=f(z,H,E,_,D,17,c[2]),_=f(_,z,H,E,T,22,c[3]),E=f(E,_,z,H,F,7,c[4]),H=f(H,E,_,z,k,12,c[5]),z=f(z,H,E,_,A,17,c[6]),_=f(_,z,H,E,x,22,c[7]),E=f(E,_,z,H,g,7,c[8]),H=f(H,E,_,z,h,12,c[9]),z=f(z,H,E,_,m,17,c[10]),_=f(_,z,H,E,S,22,c[11]),E=f(E,_,z,H,$,7,c[12]),H=f(H,E,_,z,R,12,c[13]),z=f(z,H,E,_,B,17,c[14]),_=f(_,z,H,E,P,22,c[15]),E=d(E,_,z,H,O,5,c[16]),H=d(H,E,_,z,A,9,c[17]),z=d(z,H,E,_,S,14,c[18]),_=d(_,z,H,E,N,20,c[19]),E=d(E,_,z,H,k,5,c[20]),H=d(H,E,_,z,m,9,c[21]),z=d(z,H,E,_,P,14,c[22]),_=d(_,z,H,E,F,20,c[23]),E=d(E,_,z,H,h,5,c[24]),H=d(H,E,_,z,B,9,c[25]),z=d(z,H,E,_,T,14,c[26]),_=d(_,z,H,E,g,20,c[27]),E=d(E,_,z,H,R,5,c[28]),H=d(H,E,_,z,D,9,c[29]),z=d(z,H,E,_,x,14,c[30]),_=d(_,z,H,E,$,20,c[31]),E=b(E,_,z,H,k,4,c[32]),H=b(H,E,_,z,g,11,c[33]),z=b(z,H,E,_,S,16,c[34]),_=b(_,z,H,E,B,23,c[35]),E=b(E,_,z,H,O,4,c[36]),H=b(H,E,_,z,F,11,c[37]),z=b(z,H,E,_,x,16,c[38]),_=b(_,z,H,E,m,23,c[39]),E=b(E,_,z,H,R,4,c[40]),H=b(H,E,_,z,N,11,c[41]),z=b(z,H,E,_,T,16,c[42]),_=b(_,z,H,E,A,23,c[43]),E=b(E,_,z,H,h,4,c[44]),H=b(H,E,_,z,$,11,c[45]),z=b(z,H,E,_,P,16,c[46]),_=b(_,z,H,E,D,23,c[47]),E=p(E,_,z,H,N,6,c[48]),H=p(H,E,_,z,x,10,c[49]),z=p(z,H,E,_,B,15,c[50]),_=p(_,z,H,E,k,21,c[51]),E=p(E,_,z,H,$,6,c[52]),H=p(H,E,_,z,T,10,c[53]),z=p(z,H,E,_,m,15,c[54]),_=p(_,z,H,E,O,21,c[55]),E=p(E,_,z,H,g,6,c[56]),H=p(H,E,_,z,P,10,c[57]),z=p(z,H,E,_,A,15,c[58]),_=p(_,z,H,E,R,21,c[59]),E=p(E,_,z,H,F,6,c[60]),H=p(H,E,_,z,S,10,c[61]),z=p(z,H,E,_,D,15,c[62]),_=p(_,z,H,E,h,21,c[63]),I[0]=I[0]+E|0,I[1]=I[1]+_|0,I[2]=I[2]+z|0,I[3]=I[3]+H|0},_doFinalize:function(){var v=this._data,w=v.words,C=this._nDataBytes*8,y=v.sigBytes*8;w[y>>>5]|=128<<24-y%32;var M=n.floor(C/4294967296),I=C;w[(y+64>>>9<<4)+15]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,w[(y+64>>>9<<4)+14]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,v.sigBytes=(w.length+1)*4,this._process();for(var N=this._hash,O=N.words,D=0;D<4;D++){var T=O[D];O[D]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}return N},clone:function(){var v=s.clone.call(this);return v._hash=this._hash.clone(),v}});function f(v,w,C,y,M,I,N){var O=v+(w&C|~w&y)+M+N;return(O<>>32-I)+w}function d(v,w,C,y,M,I,N){var O=v+(w&y|C&~y)+M+N;return(O<>>32-I)+w}function b(v,w,C,y,M,I,N){var O=v+(w^C^y)+M+N;return(O<>>32-I)+w}function p(v,w,C,y,M,I,N){var O=v+(C^(w|~y))+M+N;return(O<>>32-I)+w}i.MD5=s._createHelper(u),i.HmacMD5=s._createHmacHelper(u)}(Math),r.MD5})}(Ox)),Ox.exports}var Fx={exports:{}},Ay;function bS(){return Ay||(Ay=1,function(e,t){(function(r,n){e.exports=n(Rt())})(st,function(r){return function(){var n=r,i=n.lib,o=i.WordArray,a=i.Hasher,s=n.algo,l=[],c=s.SHA1=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,f){for(var d=this._hash.words,b=d[0],p=d[1],v=d[2],w=d[3],C=d[4],y=0;y<80;y++){if(y<16)l[y]=u[f+y]|0;else{var M=l[y-3]^l[y-8]^l[y-14]^l[y-16];l[y]=M<<1|M>>>31}var I=(b<<5|b>>>27)+C+l[y];y<20?I+=(p&v|~p&w)+1518500249:y<40?I+=(p^v^w)+1859775393:y<60?I+=(p&v|p&w|v&w)-1894007588:I+=(p^v^w)-899497514,C=w,w=v,v=p<<30|p>>>2,p=b,b=I}d[0]=d[0]+b|0,d[1]=d[1]+p|0,d[2]=d[2]+v|0,d[3]=d[3]+w|0,d[4]=d[4]+C|0},_doFinalize:function(){var u=this._data,f=u.words,d=this._nDataBytes*8,b=u.sigBytes*8;return f[b>>>5]|=128<<24-b%32,f[(b+64>>>9<<4)+14]=Math.floor(d/4294967296),f[(b+64>>>9<<4)+15]=d,u.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var u=a.clone.call(this);return u._hash=this._hash.clone(),u}});n.SHA1=a._createHelper(c),n.HmacSHA1=a._createHmacHelper(c)}(),r.SHA1})}(Fx)),Fx.exports}var Dx={exports:{}},ky;function fb(){return ky||(ky=1,function(e,t){(function(r,n){e.exports=n(Rt())})(st,function(r){return function(n){var i=r,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.algo,c=[],u=[];(function(){function b(C){for(var y=n.sqrt(C),M=2;M<=y;M++)if(!(C%M))return!1;return!0}function p(C){return(C-(C|0))*4294967296|0}for(var v=2,w=0;w<64;)b(v)&&(w<8&&(c[w]=p(n.pow(v,1/2))),u[w]=p(n.pow(v,1/3)),w++),v++})();var f=[],d=l.SHA256=s.extend({_doReset:function(){this._hash=new a.init(c.slice(0))},_doProcessBlock:function(b,p){for(var v=this._hash.words,w=v[0],C=v[1],y=v[2],M=v[3],I=v[4],N=v[5],O=v[6],D=v[7],T=0;T<64;T++){if(T<16)f[T]=b[p+T]|0;else{var F=f[T-15],k=(F<<25|F>>>7)^(F<<14|F>>>18)^F>>>3,A=f[T-2],x=(A<<15|A>>>17)^(A<<13|A>>>19)^A>>>10;f[T]=k+f[T-7]+x+f[T-16]}var g=I&N^~I&O,h=w&C^w&y^C&y,m=(w<<30|w>>>2)^(w<<19|w>>>13)^(w<<10|w>>>22),S=(I<<26|I>>>6)^(I<<21|I>>>11)^(I<<7|I>>>25),$=D+S+g+u[T]+f[T],R=m+h;D=O,O=N,N=I,I=M+$|0,M=y,y=C,C=w,w=$+R|0}v[0]=v[0]+w|0,v[1]=v[1]+C|0,v[2]=v[2]+y|0,v[3]=v[3]+M|0,v[4]=v[4]+I|0,v[5]=v[5]+N|0,v[6]=v[6]+O|0,v[7]=v[7]+D|0},_doFinalize:function(){var b=this._data,p=b.words,v=this._nDataBytes*8,w=b.sigBytes*8;return p[w>>>5]|=128<<24-w%32,p[(w+64>>>9<<4)+14]=n.floor(v/4294967296),p[(w+64>>>9<<4)+15]=v,b.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var b=s.clone.call(this);return b._hash=this._hash.clone(),b}});i.SHA256=s._createHelper(d),i.HmacSHA256=s._createHmacHelper(d)}(Math),r.SHA256})}(Dx)),Dx.exports}var Lx={exports:{}},_y;function X$(){return _y||(_y=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),fb())})(st,function(r){return function(){var n=r,i=n.lib,o=i.WordArray,a=n.algo,s=a.SHA256,l=a.SHA224=s.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=s._doFinalize.call(this);return c.sigBytes-=4,c}});n.SHA224=s._createHelper(l),n.HmacSHA224=s._createHmacHelper(l)}(),r.SHA224})}(Lx)),Lx.exports}var Nx={exports:{}},Ry;function yS(){return Ry||(Ry=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),Vp())})(st,function(r){return function(){var n=r,i=n.lib,o=i.Hasher,a=n.x64,s=a.Word,l=a.WordArray,c=n.algo;function u(){return s.create.apply(s,arguments)}var f=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],d=[];(function(){for(var p=0;p<80;p++)d[p]=u()})();var b=c.SHA512=o.extend({_doReset:function(){this._hash=new l.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(p,v){for(var w=this._hash.words,C=w[0],y=w[1],M=w[2],I=w[3],N=w[4],O=w[5],D=w[6],T=w[7],F=C.high,k=C.low,A=y.high,x=y.low,g=M.high,h=M.low,m=I.high,S=I.low,$=N.high,R=N.low,B=O.high,P=O.low,E=D.high,_=D.low,z=T.high,H=T.low,L=F,q=k,X=A,J=x,G=g,j=h,V=m,K=S,Z=$,ee=R,Q=B,ne=P,xe=E,se=_,ye=z,_e=H,we=0;we<80;we++){var He,Ue,Me=d[we];if(we<16)Ue=Me.high=p[v+we*2]|0,He=Me.low=p[v+we*2+1]|0;else{var Ze=d[we-15],Je=Ze.high,Ne=Ze.low,De=(Je>>>1|Ne<<31)^(Je>>>8|Ne<<24)^Je>>>7,fe=(Ne>>>1|Je<<31)^(Ne>>>8|Je<<24)^(Ne>>>7|Je<<25),Ie=d[we-2],ot=Ie.high,lt=Ie.low,ge=(ot>>>19|lt<<13)^(ot<<3|lt>>>29)^ot>>>6,ze=(lt>>>19|ot<<13)^(lt<<3|ot>>>29)^(lt>>>6|ot<<26),le=d[we-7],me=le.high,je=le.low,We=d[we-16],Oe=We.high,Qe=We.low;He=fe+je,Ue=De+me+(He>>>0>>0?1:0),He=He+ze,Ue=Ue+ge+(He>>>0>>0?1:0),He=He+Qe,Ue=Ue+Oe+(He>>>0>>0?1:0),Me.high=Ue,Me.low=He}var ut=Z&Q^~Z&xe,Ge=ee&ne^~ee&se,te=L&X^L&G^X&G,re=q&J^q&j^J&j,ie=(L>>>28|q<<4)^(L<<30|q>>>2)^(L<<25|q>>>7),pe=(q>>>28|L<<4)^(q<<30|L>>>2)^(q<<25|L>>>7),ke=(Z>>>14|ee<<18)^(Z>>>18|ee<<14)^(Z<<23|ee>>>9),Te=(ee>>>14|Z<<18)^(ee>>>18|Z<<14)^(ee<<23|Z>>>9),$e=f[we],Pe=$e.high,ce=$e.low,Re=_e+Te,qe=ye+ke+(Re>>>0<_e>>>0?1:0),Re=Re+Ge,qe=qe+ut+(Re>>>0>>0?1:0),Re=Re+ce,qe=qe+Pe+(Re>>>0>>0?1:0),Re=Re+He,qe=qe+Ue+(Re>>>0>>0?1:0),Ce=pe+re,Xe=ie+te+(Ce>>>0>>0?1:0);ye=xe,_e=se,xe=Q,se=ne,Q=Z,ne=ee,ee=K+Re|0,Z=V+qe+(ee>>>0>>0?1:0)|0,V=G,K=j,G=X,j=J,X=L,J=q,q=Re+Ce|0,L=qe+Xe+(q>>>0>>0?1:0)|0}k=C.low=k+q,C.high=F+L+(k>>>0>>0?1:0),x=y.low=x+J,y.high=A+X+(x>>>0>>0?1:0),h=M.low=h+j,M.high=g+G+(h>>>0>>0?1:0),S=I.low=S+K,I.high=m+V+(S>>>0>>0?1:0),R=N.low=R+ee,N.high=$+Z+(R>>>0>>0?1:0),P=O.low=P+ne,O.high=B+Q+(P>>>0>>0?1:0),_=D.low=_+se,D.high=E+xe+(_>>>0>>0?1:0),H=T.low=H+_e,T.high=z+ye+(H>>>0<_e>>>0?1:0)},_doFinalize:function(){var p=this._data,v=p.words,w=this._nDataBytes*8,C=p.sigBytes*8;v[C>>>5]|=128<<24-C%32,v[(C+128>>>10<<5)+30]=Math.floor(w/4294967296),v[(C+128>>>10<<5)+31]=w,p.sigBytes=v.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var p=o.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});n.SHA512=o._createHelper(b),n.HmacSHA512=o._createHmacHelper(b)}(),r.SHA512})}(Nx)),Nx.exports}var zx={exports:{}},Ty;function J$(){return Ty||(Ty=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),Vp(),yS())})(st,function(r){return function(){var n=r,i=n.x64,o=i.Word,a=i.WordArray,s=n.algo,l=s.SHA512,c=s.SHA384=l.extend({_doReset:function(){this._hash=new a.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var u=l._doFinalize.call(this);return u.sigBytes-=16,u}});n.SHA384=l._createHelper(c),n.HmacSHA384=l._createHmacHelper(c)}(),r.SHA384})}(zx)),zx.exports}var jx={exports:{}},$y;function Z$(){return $y||($y=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),Vp())})(st,function(r){return function(n){var i=r,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.x64,c=l.Word,u=i.algo,f=[],d=[],b=[];(function(){for(var w=1,C=0,y=0;y<24;y++){f[w+5*C]=(y+1)*(y+2)/2%64;var M=C%5,I=(2*w+3*C)%5;w=M,C=I}for(var w=0;w<5;w++)for(var C=0;C<5;C++)d[w+5*C]=C+(2*w+3*C)%5*5;for(var N=1,O=0;O<24;O++){for(var D=0,T=0,F=0;F<7;F++){if(N&1){var k=(1<>>24)&16711935|(N<<24|N>>>8)&4278255360,O=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360;var D=y[I];D.high^=O,D.low^=N}for(var T=0;T<24;T++){for(var F=0;F<5;F++){for(var k=0,A=0,x=0;x<5;x++){var D=y[F+5*x];k^=D.high,A^=D.low}var g=p[F];g.high=k,g.low=A}for(var F=0;F<5;F++)for(var h=p[(F+4)%5],m=p[(F+1)%5],S=m.high,$=m.low,k=h.high^(S<<1|$>>>31),A=h.low^($<<1|S>>>31),x=0;x<5;x++){var D=y[F+5*x];D.high^=k,D.low^=A}for(var R=1;R<25;R++){var k,A,D=y[R],B=D.high,P=D.low,E=f[R];E<32?(k=B<>>32-E,A=P<>>32-E):(k=P<>>64-E,A=B<>>64-E);var _=p[d[R]];_.high=k,_.low=A}var z=p[0],H=y[0];z.high=H.high,z.low=H.low;for(var F=0;F<5;F++)for(var x=0;x<5;x++){var R=F+5*x,D=y[R],L=p[R],q=p[(F+1)%5+5*x],X=p[(F+2)%5+5*x];D.high=L.high^~q.high&X.high,D.low=L.low^~q.low&X.low}var D=y[0],J=b[T];D.high^=J.high,D.low^=J.low}},_doFinalize:function(){var w=this._data,C=w.words;this._nDataBytes*8;var y=w.sigBytes*8,M=this.blockSize*32;C[y>>>5]|=1<<24-y%32,C[(n.ceil((y+1)/M)*M>>>5)-1]|=128,w.sigBytes=C.length*4,this._process();for(var I=this._state,N=this.cfg.outputLength/8,O=N/8,D=[],T=0;T>>24)&16711935|(k<<24|k>>>8)&4278255360,A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,D.push(A),D.push(k)}return new a.init(D,N)},clone:function(){for(var w=s.clone.call(this),C=w._state=this._state.slice(0),y=0;y<25;y++)C[y]=C[y].clone();return w}});i.SHA3=s._createHelper(v),i.HmacSHA3=s._createHmacHelper(v)}(Math),r.SHA3})}(jx)),jx.exports}var Ux={exports:{}},By;function Q$(){return By||(By=1,function(e,t){(function(r,n){e.exports=n(Rt())})(st,function(r){/** @preserve + (c) 2012 by Cédric Mesnil. All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */return function(n){var i=r,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.algo,c=a.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=a.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),f=a.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=a.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),b=a.create([0,1518500249,1859775393,2400959708,2840853838]),p=a.create([1352829926,1548603684,1836072691,2053994217,0]),v=l.RIPEMD160=s.extend({_doReset:function(){this._hash=a.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(O,D){for(var T=0;T<16;T++){var F=D+T,k=O[F];O[F]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360}var A=this._hash.words,x=b.words,g=p.words,h=c.words,m=u.words,S=f.words,$=d.words,R,B,P,E,_,z,H,L,q,X;z=R=A[0],H=B=A[1],L=P=A[2],q=E=A[3],X=_=A[4];for(var J,T=0;T<80;T+=1)J=R+O[D+h[T]]|0,T<16?J+=w(B,P,E)+x[0]:T<32?J+=C(B,P,E)+x[1]:T<48?J+=y(B,P,E)+x[2]:T<64?J+=M(B,P,E)+x[3]:J+=I(B,P,E)+x[4],J=J|0,J=N(J,S[T]),J=J+_|0,R=_,_=E,E=N(P,10),P=B,B=J,J=z+O[D+m[T]]|0,T<16?J+=I(H,L,q)+g[0]:T<32?J+=M(H,L,q)+g[1]:T<48?J+=y(H,L,q)+g[2]:T<64?J+=C(H,L,q)+g[3]:J+=w(H,L,q)+g[4],J=J|0,J=N(J,$[T]),J=J+X|0,z=X,X=q,q=N(L,10),L=H,H=J;J=A[1]+P+q|0,A[1]=A[2]+E+X|0,A[2]=A[3]+_+z|0,A[3]=A[4]+R+H|0,A[4]=A[0]+B+L|0,A[0]=J},_doFinalize:function(){var O=this._data,D=O.words,T=this._nDataBytes*8,F=O.sigBytes*8;D[F>>>5]|=128<<24-F%32,D[(F+64>>>9<<4)+14]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,O.sigBytes=(D.length+1)*4,this._process();for(var k=this._hash,A=k.words,x=0;x<5;x++){var g=A[x];A[x]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360}return k},clone:function(){var O=s.clone.call(this);return O._hash=this._hash.clone(),O}});function w(O,D,T){return O^D^T}function C(O,D,T){return O&D|~O&T}function y(O,D,T){return(O|~D)^T}function M(O,D,T){return O&T|D&~T}function I(O,D,T){return O^(D|~T)}function N(O,D){return O<>>32-D}i.RIPEMD160=s._createHelper(v),i.HmacRIPEMD160=s._createHmacHelper(v)}(),r.RIPEMD160})}(Ux)),Ux.exports}var Hx={exports:{}},Iy;function db(){return Iy||(Iy=1,function(e,t){(function(r,n){e.exports=n(Rt())})(st,function(r){(function(){var n=r,i=n.lib,o=i.Base,a=n.enc,s=a.Utf8,l=n.algo;l.HMAC=o.extend({init:function(c,u){c=this._hasher=new c.init,typeof u=="string"&&(u=s.parse(u));var f=c.blockSize,d=f*4;u.sigBytes>d&&(u=c.finalize(u)),u.clamp();for(var b=this._oKey=u.clone(),p=this._iKey=u.clone(),v=b.words,w=p.words,C=0;C>>2]&255;k.sigBytes-=A}};o.BlockCipher=b.extend({cfg:b.cfg.extend({mode:w,padding:y}),reset:function(){var k;b.reset.call(this);var A=this.cfg,x=A.iv,g=A.mode;this._xformMode==this._ENC_XFORM_MODE?k=g.createEncryptor:(k=g.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==k?this._mode.init(this,x&&x.words):(this._mode=k.call(g,this,x&&x.words),this._mode.__creator=k)},_doProcessBlock:function(k,A){this._mode.processBlock(k,A)},_doFinalize:function(){var k,A=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(A.pad(this._data,this.blockSize),k=this._process(!0)):(k=this._process(!0),A.unpad(k)),k},blockSize:128/32});var M=o.CipherParams=a.extend({init:function(k){this.mixIn(k)},toString:function(k){return(k||this.formatter).stringify(this)}}),I=i.format={},N=I.OpenSSL={stringify:function(k){var A,x=k.ciphertext,g=k.salt;return g?A=s.create([1398893684,1701076831]).concat(g).concat(x):A=x,A.toString(u)},parse:function(k){var A,x=u.parse(k),g=x.words;return g[0]==1398893684&&g[1]==1701076831&&(A=s.create(g.slice(2,4)),g.splice(0,4),x.sigBytes-=16),M.create({ciphertext:x,salt:A})}},O=o.SerializableCipher=a.extend({cfg:a.extend({format:N}),encrypt:function(k,A,x,g){g=this.cfg.extend(g);var h=k.createEncryptor(x,g),m=h.finalize(A),S=h.cfg;return M.create({ciphertext:m,key:x,iv:S.iv,algorithm:k,mode:S.mode,padding:S.padding,blockSize:k.blockSize,formatter:g.format})},decrypt:function(k,A,x,g){g=this.cfg.extend(g),A=this._parse(A,g.format);var h=k.createDecryptor(x,g).finalize(A.ciphertext);return h},_parse:function(k,A){return typeof k=="string"?A.parse(k,this):k}}),D=i.kdf={},T=D.OpenSSL={execute:function(k,A,x,g,h){if(g||(g=s.random(64/8)),h)var m=d.create({keySize:A+x,hasher:h}).compute(k,g);else var m=d.create({keySize:A+x}).compute(k,g);var S=s.create(m.words.slice(A),x*4);return m.sigBytes=A*4,M.create({key:m,iv:S,salt:g})}},F=o.PasswordBasedCipher=O.extend({cfg:O.cfg.extend({kdf:T}),encrypt:function(k,A,x,g){g=this.cfg.extend(g);var h=g.kdf.execute(x,k.keySize,k.ivSize,g.salt,g.hasher);g.iv=h.iv;var m=O.encrypt.call(this,k,A,h.key,g);return m.mixIn(h),m},decrypt:function(k,A,x,g){g=this.cfg.extend(g),A=this._parse(A,g.format);var h=g.kdf.execute(x,k.keySize,k.ivSize,A.salt,g.hasher);g.iv=h.iv;var m=O.decrypt.call(this,k,A,h.key,g);return m}})}()})}(Vx)),Vx.exports}var Kx={exports:{}},Ly;function tB(){return Ly||(Ly=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),zr())})(st,function(r){return r.mode.CFB=function(){var n=r.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(o,a){var s=this._cipher,l=s.blockSize;i.call(this,o,a,l,s),this._prevBlock=o.slice(a,a+l)}}),n.Decryptor=n.extend({processBlock:function(o,a){var s=this._cipher,l=s.blockSize,c=o.slice(a,a+l);i.call(this,o,a,l,s),this._prevBlock=c}});function i(o,a,s,l){var c,u=this._iv;u?(c=u.slice(0),this._iv=void 0):c=this._prevBlock,l.encryptBlock(c,0);for(var f=0;f>24&255)===255){var l=s>>16&255,c=s>>8&255,u=s&255;l===255?(l=0,c===255?(c=0,u===255?u=0:++u):++c):++l,s=0,s+=l<<16,s+=c<<8,s+=u}else s+=1<<24;return s}function o(s){return(s[0]=i(s[0]))===0&&(s[1]=i(s[1])),s}var a=n.Encryptor=n.extend({processBlock:function(s,l){var c=this._cipher,u=c.blockSize,f=this._iv,d=this._counter;f&&(d=this._counter=f.slice(0),this._iv=void 0),o(d);var b=d.slice(0);c.encryptBlock(b,0);for(var p=0;p>>2]|=s<<24-l%4*8,n.sigBytes+=s},unpad:function(n){var i=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=i}},r.pad.Ansix923})}(Zx)),Zx.exports}var Qx={exports:{}},Wy;function sB(){return Wy||(Wy=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),zr())})(st,function(r){return r.pad.Iso10126={pad:function(n,i){var o=i*4,a=o-n.sigBytes%o;n.concat(r.lib.WordArray.random(a-1)).concat(r.lib.WordArray.create([a<<24],1))},unpad:function(n){var i=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=i}},r.pad.Iso10126})}(Qx)),Qx.exports}var em={exports:{}},qy;function lB(){return qy||(qy=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),zr())})(st,function(r){return r.pad.Iso97971={pad:function(n,i){n.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(n,i)},unpad:function(n){r.pad.ZeroPadding.unpad(n),n.sigBytes--}},r.pad.Iso97971})}(em)),em.exports}var tm={exports:{}},Vy;function cB(){return Vy||(Vy=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),zr())})(st,function(r){return r.pad.ZeroPadding={pad:function(n,i){var o=i*4;n.clamp(),n.sigBytes+=o-(n.sigBytes%o||o)},unpad:function(n){for(var i=n.words,o=n.sigBytes-1,o=n.sigBytes-1;o>=0;o--)if(i[o>>>2]>>>24-o%4*8&255){n.sigBytes=o+1;break}}},r.pad.ZeroPadding})}(tm)),tm.exports}var rm={exports:{}},Ky;function uB(){return Ky||(Ky=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),zr())})(st,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(rm)),rm.exports}var nm={exports:{}},Gy;function fB(){return Gy||(Gy=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),zr())})(st,function(r){return function(n){var i=r,o=i.lib,a=o.CipherParams,s=i.enc,l=s.Hex,c=i.format;c.Hex={stringify:function(u){return u.ciphertext.toString(l)},parse:function(u){var f=l.parse(u);return a.create({ciphertext:f})}}}(),r.format.Hex})}(nm)),nm.exports}var im={exports:{}},Yy;function dB(){return Yy||(Yy=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),dl(),as(),ss(),zr())})(st,function(r){return function(){var n=r,i=n.lib,o=i.BlockCipher,a=n.algo,s=[],l=[],c=[],u=[],f=[],d=[],b=[],p=[],v=[],w=[];(function(){for(var M=[],I=0;I<256;I++)I<128?M[I]=I<<1:M[I]=I<<1^283;for(var N=0,O=0,I=0;I<256;I++){var D=O^O<<1^O<<2^O<<3^O<<4;D=D>>>8^D&255^99,s[N]=D,l[D]=N;var T=M[N],F=M[T],k=M[F],A=M[D]*257^D*16843008;c[N]=A<<24|A>>>8,u[N]=A<<16|A>>>16,f[N]=A<<8|A>>>24,d[N]=A;var A=k*16843009^F*65537^T*257^N*16843008;b[D]=A<<24|A>>>8,p[D]=A<<16|A>>>16,v[D]=A<<8|A>>>24,w[D]=A,N?(N=T^M[M[M[k^T]]],O^=M[M[O]]):N=O=1}})();var C=[0,1,2,4,8,16,32,64,128,27,54],y=a.AES=o.extend({_doReset:function(){var M;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var I=this._keyPriorReset=this._key,N=I.words,O=I.sigBytes/4,D=this._nRounds=O+6,T=(D+1)*4,F=this._keySchedule=[],k=0;k6&&k%O==4&&(M=s[M>>>24]<<24|s[M>>>16&255]<<16|s[M>>>8&255]<<8|s[M&255]):(M=M<<8|M>>>24,M=s[M>>>24]<<24|s[M>>>16&255]<<16|s[M>>>8&255]<<8|s[M&255],M^=C[k/O|0]<<24),F[k]=F[k-O]^M);for(var A=this._invKeySchedule=[],x=0;x>>24]]^p[s[M>>>16&255]]^v[s[M>>>8&255]]^w[s[M&255]]}}},encryptBlock:function(M,I){this._doCryptBlock(M,I,this._keySchedule,c,u,f,d,s)},decryptBlock:function(M,I){var N=M[I+1];M[I+1]=M[I+3],M[I+3]=N,this._doCryptBlock(M,I,this._invKeySchedule,b,p,v,w,l);var N=M[I+1];M[I+1]=M[I+3],M[I+3]=N},_doCryptBlock:function(M,I,N,O,D,T,F,k){for(var A=this._nRounds,x=M[I]^N[0],g=M[I+1]^N[1],h=M[I+2]^N[2],m=M[I+3]^N[3],S=4,$=1;$>>24]^D[g>>>16&255]^T[h>>>8&255]^F[m&255]^N[S++],B=O[g>>>24]^D[h>>>16&255]^T[m>>>8&255]^F[x&255]^N[S++],P=O[h>>>24]^D[m>>>16&255]^T[x>>>8&255]^F[g&255]^N[S++],E=O[m>>>24]^D[x>>>16&255]^T[g>>>8&255]^F[h&255]^N[S++];x=R,g=B,h=P,m=E}var R=(k[x>>>24]<<24|k[g>>>16&255]<<16|k[h>>>8&255]<<8|k[m&255])^N[S++],B=(k[g>>>24]<<24|k[h>>>16&255]<<16|k[m>>>8&255]<<8|k[x&255])^N[S++],P=(k[h>>>24]<<24|k[m>>>16&255]<<16|k[x>>>8&255]<<8|k[g&255])^N[S++],E=(k[m>>>24]<<24|k[x>>>16&255]<<16|k[g>>>8&255]<<8|k[h&255])^N[S++];M[I]=R,M[I+1]=B,M[I+2]=P,M[I+3]=E},keySize:256/32});n.AES=o._createHelper(y)}(),r.AES})}(im)),im.exports}var om={exports:{}},Xy;function hB(){return Xy||(Xy=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),dl(),as(),ss(),zr())})(st,function(r){return function(){var n=r,i=n.lib,o=i.WordArray,a=i.BlockCipher,s=n.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],b=s.DES=a.extend({_doReset:function(){for(var C=this._key,y=C.words,M=[],I=0;I<56;I++){var N=l[I]-1;M[I]=y[N>>>5]>>>31-N%32&1}for(var O=this._subKeys=[],D=0;D<16;D++){for(var T=O[D]=[],F=u[D],I=0;I<24;I++)T[I/6|0]|=M[(c[I]-1+F)%28]<<31-I%6,T[4+(I/6|0)]|=M[28+(c[I+24]-1+F)%28]<<31-I%6;T[0]=T[0]<<1|T[0]>>>31;for(var I=1;I<7;I++)T[I]=T[I]>>>(I-1)*4+3;T[7]=T[7]<<5|T[7]>>>27}for(var k=this._invSubKeys=[],I=0;I<16;I++)k[I]=O[15-I]},encryptBlock:function(C,y){this._doCryptBlock(C,y,this._subKeys)},decryptBlock:function(C,y){this._doCryptBlock(C,y,this._invSubKeys)},_doCryptBlock:function(C,y,M){this._lBlock=C[y],this._rBlock=C[y+1],p.call(this,4,252645135),p.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),p.call(this,1,1431655765);for(var I=0;I<16;I++){for(var N=M[I],O=this._lBlock,D=this._rBlock,T=0,F=0;F<8;F++)T|=f[F][((D^N[F])&d[F])>>>0];this._lBlock=D,this._rBlock=O^T}var k=this._lBlock;this._lBlock=this._rBlock,this._rBlock=k,p.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),C[y]=this._lBlock,C[y+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(C,y){var M=(this._lBlock>>>C^this._rBlock)&y;this._rBlock^=M,this._lBlock^=M<>>C^this._lBlock)&y;this._lBlock^=M,this._rBlock^=M<192.");var M=y.slice(0,2),I=y.length<4?y.slice(0,2):y.slice(2,4),N=y.length<6?y.slice(0,2):y.slice(4,6);this._des1=b.createEncryptor(o.create(M)),this._des2=b.createEncryptor(o.create(I)),this._des3=b.createEncryptor(o.create(N))},encryptBlock:function(C,y){this._des1.encryptBlock(C,y),this._des2.decryptBlock(C,y),this._des3.encryptBlock(C,y)},decryptBlock:function(C,y){this._des3.decryptBlock(C,y),this._des2.encryptBlock(C,y),this._des1.decryptBlock(C,y)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=a._createHelper(w)}(),r.TripleDES})}(om)),om.exports}var am={exports:{}},Jy;function pB(){return Jy||(Jy=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),dl(),as(),ss(),zr())})(st,function(r){return function(){var n=r,i=n.lib,o=i.StreamCipher,a=n.algo,s=a.RC4=o.extend({_doReset:function(){for(var u=this._key,f=u.words,d=u.sigBytes,b=this._S=[],p=0;p<256;p++)b[p]=p;for(var p=0,v=0;p<256;p++){var w=p%d,C=f[w>>>2]>>>24-w%4*8&255;v=(v+b[p]+C)%256;var y=b[p];b[p]=b[v],b[v]=y}this._i=this._j=0},_doProcessBlock:function(u,f){u[f]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var u=this._S,f=this._i,d=this._j,b=0,p=0;p<4;p++){f=(f+1)%256,d=(d+u[f])%256;var v=u[f];u[f]=u[d],u[d]=v,b|=u[(u[f]+u[d])%256]<<24-p*8}return this._i=f,this._j=d,b}n.RC4=o._createHelper(s);var c=a.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)l.call(this)}});n.RC4Drop=o._createHelper(c)}(),r.RC4})}(am)),am.exports}var sm={exports:{}},Zy;function xB(){return Zy||(Zy=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),dl(),as(),ss(),zr())})(st,function(r){return function(){var n=r,i=n.lib,o=i.StreamCipher,a=n.algo,s=[],l=[],c=[],u=a.Rabbit=o.extend({_doReset:function(){for(var d=this._key.words,b=this.cfg.iv,p=0;p<4;p++)d[p]=(d[p]<<8|d[p]>>>24)&16711935|(d[p]<<24|d[p]>>>8)&4278255360;var v=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],w=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var p=0;p<4;p++)f.call(this);for(var p=0;p<8;p++)w[p]^=v[p+4&7];if(b){var C=b.words,y=C[0],M=C[1],I=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,N=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,O=I>>>16|N&4294901760,D=N<<16|I&65535;w[0]^=I,w[1]^=O,w[2]^=N,w[3]^=D,w[4]^=I,w[5]^=O,w[6]^=N,w[7]^=D;for(var p=0;p<4;p++)f.call(this)}},_doProcessBlock:function(d,b){var p=this._X;f.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var v=0;v<4;v++)s[v]=(s[v]<<8|s[v]>>>24)&16711935|(s[v]<<24|s[v]>>>8)&4278255360,d[b+v]^=s[v]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,b=this._C,p=0;p<8;p++)l[p]=b[p];b[0]=b[0]+1295307597+this._b|0,b[1]=b[1]+3545052371+(b[0]>>>0>>0?1:0)|0,b[2]=b[2]+886263092+(b[1]>>>0>>0?1:0)|0,b[3]=b[3]+1295307597+(b[2]>>>0>>0?1:0)|0,b[4]=b[4]+3545052371+(b[3]>>>0>>0?1:0)|0,b[5]=b[5]+886263092+(b[4]>>>0>>0?1:0)|0,b[6]=b[6]+1295307597+(b[5]>>>0>>0?1:0)|0,b[7]=b[7]+3545052371+(b[6]>>>0>>0?1:0)|0,this._b=b[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var v=d[p]+b[p],w=v&65535,C=v>>>16,y=((w*w>>>17)+w*C>>>15)+C*C,M=((v&4294901760)*v|0)+((v&65535)*v|0);c[p]=y^M}d[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,d[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,d[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,d[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,d[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,d[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,d[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,d[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}n.Rabbit=o._createHelper(u)}(),r.Rabbit})}(sm)),sm.exports}var lm={exports:{}},Qy;function mB(){return Qy||(Qy=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),dl(),as(),ss(),zr())})(st,function(r){return function(){var n=r,i=n.lib,o=i.StreamCipher,a=n.algo,s=[],l=[],c=[],u=a.RabbitLegacy=o.extend({_doReset:function(){var d=this._key.words,b=this.cfg.iv,p=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],v=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var w=0;w<4;w++)f.call(this);for(var w=0;w<8;w++)v[w]^=p[w+4&7];if(b){var C=b.words,y=C[0],M=C[1],I=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,N=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,O=I>>>16|N&4294901760,D=N<<16|I&65535;v[0]^=I,v[1]^=O,v[2]^=N,v[3]^=D,v[4]^=I,v[5]^=O,v[6]^=N,v[7]^=D;for(var w=0;w<4;w++)f.call(this)}},_doProcessBlock:function(d,b){var p=this._X;f.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var v=0;v<4;v++)s[v]=(s[v]<<8|s[v]>>>24)&16711935|(s[v]<<24|s[v]>>>8)&4278255360,d[b+v]^=s[v]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,b=this._C,p=0;p<8;p++)l[p]=b[p];b[0]=b[0]+1295307597+this._b|0,b[1]=b[1]+3545052371+(b[0]>>>0>>0?1:0)|0,b[2]=b[2]+886263092+(b[1]>>>0>>0?1:0)|0,b[3]=b[3]+1295307597+(b[2]>>>0>>0?1:0)|0,b[4]=b[4]+3545052371+(b[3]>>>0>>0?1:0)|0,b[5]=b[5]+886263092+(b[4]>>>0>>0?1:0)|0,b[6]=b[6]+1295307597+(b[5]>>>0>>0?1:0)|0,b[7]=b[7]+3545052371+(b[6]>>>0>>0?1:0)|0,this._b=b[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var v=d[p]+b[p],w=v&65535,C=v>>>16,y=((w*w>>>17)+w*C>>>15)+C*C,M=((v&4294901760)*v|0)+((v&65535)*v|0);c[p]=y^M}d[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,d[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,d[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,d[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,d[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,d[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,d[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,d[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}n.RabbitLegacy=o._createHelper(u)}(),r.RabbitLegacy})}(lm)),lm.exports}var cm={exports:{}},e6;function gB(){return e6||(e6=1,function(e,t){(function(r,n,i){e.exports=n(Rt(),dl(),as(),ss(),zr())})(st,function(r){return function(){var n=r,i=n.lib,o=i.BlockCipher,a=n.algo;const s=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var u={pbox:[],sbox:[]};function f(w,C){let y=C>>24&255,M=C>>16&255,I=C>>8&255,N=C&255,O=w.sbox[0][y]+w.sbox[1][M];return O=O^w.sbox[2][I],O=O+w.sbox[3][N],O}function d(w,C,y){let M=C,I=y,N;for(let O=0;O1;--O)M=M^w.pbox[O],I=f(w,M)^I,N=M,M=I,I=N;return N=M,M=I,I=N,I=I^w.pbox[1],M=M^w.pbox[0],{left:M,right:I}}function p(w,C,y){for(let D=0;D<4;D++){w.sbox[D]=[];for(let T=0;T<256;T++)w.sbox[D][T]=c[D][T]}let M=0;for(let D=0;D=y&&(M=0);let I=0,N=0,O=0;for(let D=0;Dt?t:r}function bh(e,t,r){return rt?t:r}function hb(e){return e=e%360,e<0&&(e=e+360),e}function MB(e,t){return hb(t-e)<=180?1:-1}function PB(e,t){return 180-Math.abs(Math.abs(e-t)-180)}function nv(e,t){const r=e[0]*t[0][0]+e[1]*t[0][1]+e[2]*t[0][2],n=e[0]*t[1][0]+e[1]*t[1][1]+e[2]*t[1][2],i=e[0]*t[2][0]+e[1]*t[2][1]+e[2]*t[2][2];return[r,n,i]}/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const AB=[[.41233895,.35762064,.18051042],[.2126,.7152,.0722],[.01932141,.11916382,.95034478]],kB=[[3.2413774792388685,-1.5376652402851851,-.49885366846268053],[-.9691452513005321,1.8758853451067872,.04156585616912061],[.05562093689691305,-.20395524564742123,1.0571799111220335]],_B=[95.047,100,108.883];function pb(e,t,r){return(255<<24|(e&255)<<16|(t&255)<<8|r&255)>>>0}function r6(e){const t=Hs(e[0]),r=Hs(e[1]),n=Hs(e[2]);return pb(t,r,n)}function wS(e){return e>>16&255}function SS(e){return e>>8&255}function CS(e){return e&255}function RB(e,t,r){const n=kB,i=n[0][0]*e+n[0][1]*t+n[0][2]*r,o=n[1][0]*e+n[1][1]*t+n[1][2]*r,a=n[2][0]*e+n[2][1]*t+n[2][2]*r,s=Hs(i),l=Hs(o),c=Hs(a);return pb(s,l,c)}function TB(e){const t=ac(wS(e)),r=ac(SS(e)),n=ac(CS(e));return nv([t,r,n],AB)}function $B(e){const t=Da(e),r=Hs(t);return pb(r,r,r)}function iv(e){const t=TB(e)[1];return 116*ES(t/100)-16}function Da(e){return 100*IB((e+16)/116)}function ov(e){return ES(e/100)*116-16}function ac(e){const t=e/255;return t<=.040449936?t/12.92*100:Math.pow((t+.055)/1.055,2.4)*100}function Hs(e){const t=e/100;let r=0;return t<=.0031308?r=t*12.92:r=1.055*Math.pow(t,1/2.4)-.055,EB(0,255,Math.round(r*255))}function BB(){return _B}function ES(e){const t=.008856451679035631,r=24389/27;return e>t?Math.pow(e,1/3):(r*e+16)/116}function IB(e){const t=.008856451679035631,r=24389/27,n=e*e*e;return n>t?n:(116*e-16)/r}/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class no{static make(t=BB(),r=200/Math.PI*Da(50)/100,n=50,i=2,o=!1){const a=t,s=a[0]*.401288+a[1]*.650173+a[2]*-.051461,l=a[0]*-.250268+a[1]*1.204414+a[2]*.045854,c=a[0]*-.002079+a[1]*.048952+a[2]*.953127,u=.8+i/10,f=u>=.9?uf(.59,.69,(u-.9)*10):uf(.525,.59,(u-.8)*10);let d=o?1:u*(1-1/3.6*Math.exp((-r-42)/92));d=d>1?1:d<0?0:d;const b=u,p=[d*(100/s)+1-d,d*(100/l)+1-d,d*(100/c)+1-d],v=1/(5*r+1),w=v*v*v*v,C=1-w,y=w*r+.1*C*C*Math.cbrt(5*r),M=Da(n)/t[1],I=1.48+Math.sqrt(M),N=.725/Math.pow(M,.2),O=N,D=[Math.pow(y*p[0]*s/100,.42),Math.pow(y*p[1]*l/100,.42),Math.pow(y*p[2]*c/100,.42)],T=[400*D[0]/(D[0]+27.13),400*D[1]/(D[1]+27.13),400*D[2]/(D[2]+27.13)],F=(2*T[0]+T[1]+.05*T[2])*N;return new no(M,F,N,O,f,b,p,y,Math.pow(y,.25),I)}constructor(t,r,n,i,o,a,s,l,c,u){this.n=t,this.aw=r,this.nbb=n,this.ncb=i,this.c=o,this.nc=a,this.rgbD=s,this.fl=l,this.fLRoot=c,this.z=u}}no.DEFAULT=no.make();/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Ir{constructor(t,r,n,i,o,a,s,l,c){this.hue=t,this.chroma=r,this.j=n,this.q=i,this.m=o,this.s=a,this.jstar=s,this.astar=l,this.bstar=c}distance(t){const r=this.jstar-t.jstar,n=this.astar-t.astar,i=this.bstar-t.bstar,o=Math.sqrt(r*r+n*n+i*i);return 1.41*Math.pow(o,.63)}static fromInt(t){return Ir.fromIntInViewingConditions(t,no.DEFAULT)}static fromIntInViewingConditions(t,r){const n=(t&16711680)>>16,i=(t&65280)>>8,o=t&255,a=ac(n),s=ac(i),l=ac(o),c=.41233895*a+.35762064*s+.18051042*l,u=.2126*a+.7152*s+.0722*l,f=.01932141*a+.11916382*s+.95034478*l,d=.401288*c+.650173*u-.051461*f,b=-.250268*c+1.204414*u+.045854*f,p=-.002079*c+.048952*u+.953127*f,v=r.rgbD[0]*d,w=r.rgbD[1]*b,C=r.rgbD[2]*p,y=Math.pow(r.fl*Math.abs(v)/100,.42),M=Math.pow(r.fl*Math.abs(w)/100,.42),I=Math.pow(r.fl*Math.abs(C)/100,.42),N=Pn(v)*400*y/(y+27.13),O=Pn(w)*400*M/(M+27.13),D=Pn(C)*400*I/(I+27.13),T=(11*N+-12*O+D)/11,F=(N+O-2*D)/9,k=(20*N+20*O+21*D)/20,A=(40*N+20*O+D)/20,g=Math.atan2(F,T)*180/Math.PI,h=g<0?g+360:g>=360?g-360:g,m=h*Math.PI/180,S=A*r.nbb,$=100*Math.pow(S/r.aw,r.c*r.z),R=4/r.c*Math.sqrt($/100)*(r.aw+4)*r.fLRoot,B=h<20.14?h+360:h,P=.25*(Math.cos(B*Math.PI/180+2)+3.8),_=5e4/13*P*r.nc*r.ncb*Math.sqrt(T*T+F*F)/(k+.305),z=Math.pow(_,.9)*Math.pow(1.64-Math.pow(.29,r.n),.73),H=z*Math.sqrt($/100),L=H*r.fLRoot,q=50*Math.sqrt(z*r.c/(r.aw+4)),X=(1+100*.007)*$/(1+.007*$),J=1/.0228*Math.log(1+.0228*L),G=J*Math.cos(m),j=J*Math.sin(m);return new Ir(h,H,$,R,L,q,X,G,j)}static fromJch(t,r,n){return Ir.fromJchInViewingConditions(t,r,n,no.DEFAULT)}static fromJchInViewingConditions(t,r,n,i){const o=4/i.c*Math.sqrt(t/100)*(i.aw+4)*i.fLRoot,a=r*i.fLRoot,s=r/Math.sqrt(t/100),l=50*Math.sqrt(s*i.c/(i.aw+4)),c=n*Math.PI/180,u=(1+100*.007)*t/(1+.007*t),f=1/.0228*Math.log(1+.0228*a),d=f*Math.cos(c),b=f*Math.sin(c);return new Ir(n,r,t,o,a,l,u,d,b)}static fromUcs(t,r,n){return Ir.fromUcsInViewingConditions(t,r,n,no.DEFAULT)}static fromUcsInViewingConditions(t,r,n,i){const o=r,a=n,s=Math.sqrt(o*o+a*a),c=(Math.exp(s*.0228)-1)/.0228/i.fLRoot;let u=Math.atan2(a,o)*(180/Math.PI);u<0&&(u+=360);const f=t/(1-(t-100)*.007);return Ir.fromJchInViewingConditions(f,c,u,i)}toInt(){return this.viewed(no.DEFAULT)}viewed(t){const r=this.chroma===0||this.j===0?0:this.chroma/Math.sqrt(this.j/100),n=Math.pow(r/Math.pow(1.64-Math.pow(.29,t.n),.73),1/.9),i=this.hue*Math.PI/180,o=.25*(Math.cos(i+2)+3.8),a=t.aw*Math.pow(this.j/100,1/t.c/t.z),s=o*(5e4/13)*t.nc*t.ncb,l=a/t.nbb,c=Math.sin(i),u=Math.cos(i),f=23*(l+.305)*n/(23*s+11*n*u+108*n*c),d=f*u,b=f*c,p=(460*l+451*d+288*b)/1403,v=(460*l-891*d-261*b)/1403,w=(460*l-220*d-6300*b)/1403,C=Math.max(0,27.13*Math.abs(p)/(400-Math.abs(p))),y=Pn(p)*(100/t.fl)*Math.pow(C,1/.42),M=Math.max(0,27.13*Math.abs(v)/(400-Math.abs(v))),I=Pn(v)*(100/t.fl)*Math.pow(M,1/.42),N=Math.max(0,27.13*Math.abs(w)/(400-Math.abs(w))),O=Pn(w)*(100/t.fl)*Math.pow(N,1/.42),D=y/t.rgbD[0],T=I/t.rgbD[1],F=O/t.rgbD[2],k=1.86206786*D-1.01125463*T+.14918677*F,A=.38752654*D+.62144744*T-.00897398*F,x=-.0158415*D-.03412294*T+1.04996444*F;return RB(k,A,x)}static fromXyzInViewingConditions(t,r,n,i){const o=.401288*t+.650173*r-.051461*n,a=-.250268*t+1.204414*r+.045854*n,s=-.002079*t+.048952*r+.953127*n,l=i.rgbD[0]*o,c=i.rgbD[1]*a,u=i.rgbD[2]*s,f=Math.pow(i.fl*Math.abs(l)/100,.42),d=Math.pow(i.fl*Math.abs(c)/100,.42),b=Math.pow(i.fl*Math.abs(u)/100,.42),p=Pn(l)*400*f/(f+27.13),v=Pn(c)*400*d/(d+27.13),w=Pn(u)*400*b/(b+27.13),C=(11*p+-12*v+w)/11,y=(p+v-2*w)/9,M=(20*p+20*v+21*w)/20,I=(40*p+20*v+w)/20,O=Math.atan2(y,C)*180/Math.PI,D=O<0?O+360:O>=360?O-360:O,T=D*Math.PI/180,F=I*i.nbb,k=100*Math.pow(F/i.aw,i.c*i.z),A=4/i.c*Math.sqrt(k/100)*(i.aw+4)*i.fLRoot,x=D<20.14?D+360:D,g=1/4*(Math.cos(x*Math.PI/180+2)+3.8),m=5e4/13*g*i.nc*i.ncb*Math.sqrt(C*C+y*y)/(M+.305),S=Math.pow(m,.9)*Math.pow(1.64-Math.pow(.29,i.n),.73),$=S*Math.sqrt(k/100),R=$*i.fLRoot,B=50*Math.sqrt(S*i.c/(i.aw+4)),P=(1+100*.007)*k/(1+.007*k),E=Math.log(1+.0228*R)/.0228,_=E*Math.cos(T),z=E*Math.sin(T);return new Ir(D,$,k,A,R,B,P,_,z)}xyzInViewingConditions(t){const r=this.chroma===0||this.j===0?0:this.chroma/Math.sqrt(this.j/100),n=Math.pow(r/Math.pow(1.64-Math.pow(.29,t.n),.73),1/.9),i=this.hue*Math.PI/180,o=.25*(Math.cos(i+2)+3.8),a=t.aw*Math.pow(this.j/100,1/t.c/t.z),s=o*(5e4/13)*t.nc*t.ncb,l=a/t.nbb,c=Math.sin(i),u=Math.cos(i),f=23*(l+.305)*n/(23*s+11*n*u+108*n*c),d=f*u,b=f*c,p=(460*l+451*d+288*b)/1403,v=(460*l-891*d-261*b)/1403,w=(460*l-220*d-6300*b)/1403,C=Math.max(0,27.13*Math.abs(p)/(400-Math.abs(p))),y=Pn(p)*(100/t.fl)*Math.pow(C,1/.42),M=Math.max(0,27.13*Math.abs(v)/(400-Math.abs(v))),I=Pn(v)*(100/t.fl)*Math.pow(M,1/.42),N=Math.max(0,27.13*Math.abs(w)/(400-Math.abs(w))),O=Pn(w)*(100/t.fl)*Math.pow(N,1/.42),D=y/t.rgbD[0],T=I/t.rgbD[1],F=O/t.rgbD[2],k=1.86206786*D-1.01125463*T+.14918677*F,A=.38752654*D+.62144744*T-.00897398*F,x=-.0158415*D-.03412294*T+1.04996444*F;return[k,A,x]}}/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class xt{static sanitizeRadians(t){return(t+Math.PI*8)%(Math.PI*2)}static trueDelinearized(t){const r=t/100;let n=0;return r<=.0031308?n=r*12.92:n=1.055*Math.pow(r,1/2.4)-.055,n*255}static chromaticAdaptation(t){const r=Math.pow(Math.abs(t),.42);return Pn(t)*400*r/(r+27.13)}static hueOf(t){const r=nv(t,xt.SCALED_DISCOUNT_FROM_LINRGB),n=xt.chromaticAdaptation(r[0]),i=xt.chromaticAdaptation(r[1]),o=xt.chromaticAdaptation(r[2]),a=(11*n+-12*i+o)/11,s=(n+i-2*o)/9;return Math.atan2(s,a)}static areInCyclicOrder(t,r,n){const i=xt.sanitizeRadians(r-t),o=xt.sanitizeRadians(n-t);return i100.01||k[1]>100.01||k[2]>100.01?0:r6(k);i=i-(h-n)*i/(2*h)}return 0}static solveToInt(t,r,n){if(r<1e-4||n<1e-4||n>99.9999)return $B(n);t=hb(t);const i=t/180*Math.PI,o=Da(n),a=xt.findResultByJ(i,r,o);if(a!==0)return a;const s=xt.bisectToLimit(o,i);return r6(s)}static solveToCam(t,r,n){return Ir.fromInt(xt.solveToInt(t,r,n))}}xt.SCALED_DISCOUNT_FROM_LINRGB=[[.001200833568784504,.002389694492170889,.0002795742885861124],[.0005891086651375999,.0029785502573438758,.0003270666104008398],[.00010146692491640572,.0005364214359186694,.0032979401770712076]];xt.LINRGB_FROM_SCALED_DISCOUNT=[[1373.2198709594231,-1100.4251190754821,-7.278681089101213],[-271.815969077903,559.6580465940733,-32.46047482791194],[1.9622899599665666,-57.173814538844006,308.7233197812385]];xt.Y_FROM_LINRGB=[.2126,.7152,.0722];xt.CRITICAL_PLANES=[.015176349177441876,.045529047532325624,.07588174588720938,.10623444424209313,.13658714259697685,.16693984095186062,.19729253930674434,.2276452376616281,.2579979360165119,.28835063437139563,.3188300904430532,.350925934958123,.3848314933096426,.42057480301049466,.458183274052838,.4976837250274023,.5391024159806381,.5824650784040898,.6277969426914107,.6751227633498623,.7244668422128921,.775853049866786,.829304845476233,.8848452951698498,.942497089126609,1.0022825574869039,1.0642236851973577,1.1283421258858297,1.1946592148522128,1.2631959812511864,1.3339731595349034,1.407011200216447,1.4823302800086415,1.5599503113873272,1.6398909516233677,1.7221716113234105,1.8068114625156377,1.8938294463134073,1.9832442801866852,2.075074464868551,2.1693382909216234,2.2660538449872063,2.36523901573795,2.4669114995532007,2.5710888059345764,2.6777882626779785,2.7870270208169257,2.898822059350997,3.0131901897720907,3.1301480604002863,3.2497121605402226,3.3718988244681087,3.4967242352587946,3.624204428461639,3.754355295633311,3.887192587735158,4.022731918402185,4.160988767090289,4.301978482107941,4.445716283538092,4.592217266055746,4.741496401646282,4.893568542229298,5.048448422192488,5.20615066083972,5.3666897647573375,5.5300801301023865,5.696336044816294,5.865471690767354,6.037501145825082,6.212438385869475,6.390297286737924,6.571091626112461,6.7548350853498045,6.941541251256611,7.131223617812143,7.323895587840543,7.5195704746346665,7.7182615035334345,7.919981813454504,8.124744458384042,8.332562408825165,8.543448553206703,8.757415699253682,8.974476575321063,9.194643831691977,9.417930041841839,9.644347703669503,9.873909240696694,10.106627003236781,10.342513269534024,10.58158024687427,10.8238400726681,11.069304815507364,11.317986476196008,11.569896988756009,11.825048221409341,12.083451977536606,12.345119996613247,12.610063955123938,12.878295467455942,13.149826086772048,13.42466730586372,13.702830557985108,13.984327217668513,14.269168601521828,14.55736596900856,14.848930523210871,15.143873411576273,15.44220572664832,15.743938506781891,16.04908273684337,16.35764934889634,16.66964922287304,16.985093187232053,17.30399201960269,17.62635644741625,17.95219714852476,18.281524751807332,18.614349837764564,18.95068293910138,19.290534541298456,19.633915083172692,19.98083495742689,20.331304511189067,20.685334046541502,21.042933821039977,21.404114048223256,21.76888489811322,22.137256497705877,22.50923893145328,22.884842241736916,23.264076429332462,23.6469514538663,24.033477234264016,24.42366364919083,24.817520537484558,25.21505769858089,25.61628489293138,26.021211842414342,26.429848230738664,26.842203703840827,27.258287870275353,27.678110301598522,28.10168053274597,28.529008062403893,28.96010235337422,29.39497283293396,29.83362889318845,30.276079891419332,30.722335150426627,31.172403958865512,31.62629557157785,32.08401920991837,32.54558406207592,33.010999283389665,33.4802739966603,33.953417292456834,34.430438229418264,34.911345834551085,35.39614910352207,35.88485700094671,36.37747846067349,36.87402238606382,37.37449765026789,37.87891309649659,38.38727753828926,38.89959975977785,39.41588851594697,39.93615253289054,40.460400508064545,40.98864111053629,41.520882981230194,42.05713473317016,42.597404951718396,43.141702194811224,43.6900349931913,44.24241185063697,44.798841244188324,45.35933162437017,45.92389141541209,46.49252901546552,47.065252796817916,47.64207110610409,48.22299226451468,48.808024568002054,49.3971762874833,49.9904556690408,50.587870934119984,51.189430279724725,51.79514187861014,52.40501387947288,53.0190544071392,53.637271562750364,54.259673423945976,54.88626804504493,55.517063457223934,56.15206766869424,56.79128866487574,57.43473440856916,58.08241284012621,58.734331877617365,59.39049941699807,60.05092333227251,60.715611475655585,61.38457167773311,62.057811747619894,62.7353394731159,63.417162620860914,64.10328893648692,64.79372614476921,65.48848194977529,66.18756403501224,66.89098006357258,67.59873767827808,68.31084450182222,69.02730813691093,69.74813616640164,70.47333615344107,71.20291564160104,71.93688215501312,72.67524319850172,73.41800625771542,74.16517879925733,74.9167682708136,75.67278210128072,76.43322770089146,77.1981124613393,77.96744375590167,78.74122893956174,79.51947534912904,80.30219030335869,81.08938110306934,81.88105503125999,82.67721935322541,83.4778813166706,84.28304815182372,85.09272707154808,85.90692527145302,86.72564993000343,87.54890820862819,88.3767072518277,89.2090541872801,90.04595612594655,90.88742016217518,91.73345337380438,92.58406282226491,93.43925555268066,94.29903859396902,95.16341895893969,96.03240364439274,96.9059996312159,97.78421388448044,98.6670533535366,99.55452497210776];/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Or{static from(t,r,n){return new Or(xt.solveToInt(t,r,n))}static fromInt(t){return new Or(t)}toInt(){return this.argb}get hue(){return this.internalHue}set hue(t){this.setInternalState(xt.solveToInt(t,this.internalChroma,this.internalTone))}get chroma(){return this.internalChroma}set chroma(t){this.setInternalState(xt.solveToInt(this.internalHue,t,this.internalTone))}get tone(){return this.internalTone}set tone(t){this.setInternalState(xt.solveToInt(this.internalHue,this.internalChroma,t))}constructor(t){this.argb=t;const r=Ir.fromInt(t);this.internalHue=r.hue,this.internalChroma=r.chroma,this.internalTone=iv(t),this.argb=t}setInternalState(t){const r=Ir.fromInt(t);this.internalHue=r.hue,this.internalChroma=r.chroma,this.internalTone=iv(t),this.argb=t}inViewingConditions(t){const n=Ir.fromInt(this.toInt()).xyzInViewingConditions(t),i=Ir.fromXyzInViewingConditions(n[0],n[1],n[2],no.make());return Or.from(i.hue,i.chroma,ov(n[1]))}}/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class xb{static harmonize(t,r){const n=Or.fromInt(t),i=Or.fromInt(r),o=PB(n.hue,i.hue),a=Math.min(o*.5,15),s=hb(n.hue+a*MB(n.hue,i.hue));return Or.from(s,n.chroma,n.tone).toInt()}static hctHue(t,r,n){const i=xb.cam16Ucs(t,r,n),o=Ir.fromInt(i),a=Ir.fromInt(t);return Or.from(o.hue,a.chroma,iv(t)).toInt()}static cam16Ucs(t,r,n){const i=Ir.fromInt(t),o=Ir.fromInt(r),a=i.jstar,s=i.astar,l=i.bstar,c=o.jstar,u=o.astar,f=o.bstar,d=a+(c-a)*n,b=s+(u-s)*n,p=l+(f-l)*n;return Ir.fromUcs(d,b,p).toInt()}}/** + * @license + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class $r{static ratioOfTones(t,r){return t=bh(0,100,t),r=bh(0,100,r),$r.ratioOfYs(Da(t),Da(r))}static ratioOfYs(t,r){const n=t>r?t:r,i=n===r?t:r;return(n+5)/(i+5)}static lighter(t,r){if(t<0||t>100)return-1;const n=Da(t),i=r*(n+5)-5,o=$r.ratioOfYs(i,n),a=Math.abs(o-r);if(o.04)return-1;const s=ov(i)+.4;return s<0||s>100?-1:s}static darker(t,r){if(t<0||t>100)return-1;const n=Da(t),i=(n+5)/r-5,o=$r.ratioOfYs(n,i),a=Math.abs(o-r);if(o.04)return-1;const s=ov(i)-.4;return s<0||s>100?-1:s}static lighterUnsafe(t,r){const n=$r.lighter(t,r);return n<0?100:n}static darkerUnsafe(t,r){const n=$r.darker(t,r);return n<0?0:n}}/** + * @license + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class mb{static isDisliked(t){const r=Math.round(t.hue)>=90&&Math.round(t.hue)<=111,n=Math.round(t.chroma)>16,i=Math.round(t.tone)<65;return r&&n&&i}static fixIfDisliked(t){return mb.isDisliked(t)?Or.from(t.hue,t.chroma,70):t}}/** + * @license + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Ke{static fromPalette(t){return new Ke(t.name??"",t.palette,t.tone,t.isBackground??!1,t.background,t.secondBackground,t.contrastCurve,t.toneDeltaPair)}constructor(t,r,n,i,o,a,s,l){if(this.name=t,this.palette=r,this.tone=n,this.isBackground=i,this.background=o,this.secondBackground=a,this.contrastCurve=s,this.toneDeltaPair=l,this.hctCache=new Map,!o&&a)throw new Error(`Color ${t} has secondBackgrounddefined, but background is not defined.`);if(!o&&s)throw new Error(`Color ${t} has contrastCurvedefined, but background is not defined.`);if(o&&!s)throw new Error(`Color ${t} has backgrounddefined, but contrastCurve is not defined.`)}getArgb(t){return this.getHct(t).toInt()}getHct(t){const r=this.hctCache.get(t);if(r!=null)return r;const n=this.getTone(t),i=this.palette(t).getHct(n);return this.hctCache.size>4&&this.hctCache.clear(),this.hctCache.set(t,i),i}getTone(t){const r=t.contrastLevel<0;if(this.toneDeltaPair){const n=this.toneDeltaPair(t),i=n.roleA,o=n.roleB,a=n.delta,s=n.polarity,l=n.stayTogether,u=this.background(t).getTone(t),f=s==="nearer"||s==="lighter"&&!t.isDark||s==="darker"&&t.isDark,d=f?i:o,b=f?o:i,p=this.name===d.name,v=t.isDark?1:-1,w=d.contrastCurve.getContrast(t.contrastLevel),C=b.contrastCurve.getContrast(t.contrastLevel),y=d.tone(t);let M=$r.ratioOfTones(u,y)>=w?y:Ke.foregroundTone(u,w);const I=b.tone(t);let N=$r.ratioOfTones(u,I)>=C?I:Ke.foregroundTone(u,C);return r&&(M=Ke.foregroundTone(u,w),N=Ke.foregroundTone(u,C)),(N-M)*v>=a||(N=bh(0,100,M+a*v),(N-M)*v>=a||(M=bh(0,100,N-a*v))),50<=M&&M<60?v>0?(M=60,N=Math.max(N,M+a*v)):(M=49,N=Math.min(N,M+a*v)):50<=N&&N<60&&(l?v>0?(M=60,N=Math.max(N,M+a*v)):(M=49,N=Math.min(N,M+a*v)):v>0?N=60:N=49),p?M:N}else{let n=this.tone(t);if(this.background==null)return n;const i=this.background(t).getTone(t),o=this.contrastCurve.getContrast(t.contrastLevel);if($r.ratioOfTones(i,n)>=o||(n=Ke.foregroundTone(i,o)),r&&(n=Ke.foregroundTone(i,o)),this.isBackground&&50<=n&&n<60&&($r.ratioOfTones(49,i)>=o?n=49:n=60),this.secondBackground){const[a,s]=[this.background,this.secondBackground],[l,c]=[a(t).getTone(t),s(t).getTone(t)],[u,f]=[Math.max(l,c),Math.min(l,c)];if($r.ratioOfTones(u,n)>=o&&$r.ratioOfTones(f,n)>=o)return n;const d=$r.lighter(u,o),b=$r.darker(f,o),p=[];return d!==-1&&p.push(d),b!==-1&&p.push(b),Ke.tonePrefersLightForeground(l)||Ke.tonePrefersLightForeground(c)?d<0?100:d:p.length===1?p[0]:b<0?0:b}return n}}static foregroundTone(t,r){const n=$r.lighterUnsafe(t,r),i=$r.darkerUnsafe(t,r),o=$r.ratioOfTones(n,t),a=$r.ratioOfTones(i,t);if(Ke.tonePrefersLightForeground(t)){const l=Math.abs(o-a)<.1&&o=r||o>=a||l?n:i}else return a>=r||a>=o?i:n}static tonePrefersLightForeground(t){return Math.round(t)<60}static toneAllowsLightForeground(t){return Math.round(t)<=49}static enableLightForeground(t){return Ke.tonePrefersLightForeground(t)&&!Ke.toneAllowsLightForeground(t)?49:t}}/** + * @license + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */var Nf;(function(e){e[e.MONOCHROME=0]="MONOCHROME",e[e.NEUTRAL=1]="NEUTRAL",e[e.TONAL_SPOT=2]="TONAL_SPOT",e[e.VIBRANT=3]="VIBRANT",e[e.EXPRESSIVE=4]="EXPRESSIVE",e[e.FIDELITY=5]="FIDELITY",e[e.CONTENT=6]="CONTENT",e[e.RAINBOW=7]="RAINBOW",e[e.FRUIT_SALAD=8]="FRUIT_SALAD"})(Nf||(Nf={}));/** + * @license + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Tt{constructor(t,r,n,i){this.low=t,this.normal=r,this.medium=n,this.high=i}getContrast(t){return t<=-1?this.low:t<0?uf(this.low,this.normal,(t- -1)/1):t<.5?uf(this.normal,this.medium,(t-0)/.5):t<1?uf(this.medium,this.high,(t-.5)/.5):this.high}}/** + * @license + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Un{constructor(t,r,n,i,o){this.roleA=t,this.roleB=r,this.delta=n,this.polarity=i,this.stayTogether=o}}/** + * @license + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function Xc(e){return e.variant===Nf.FIDELITY||e.variant===Nf.CONTENT}function br(e){return e.variant===Nf.MONOCHROME}function OB(e,t,r,n){let i=r,o=Or.from(e,t,r);if(o.chromas.chroma||Math.abs(s.chroma-t)<.4)break;const l=Math.abs(s.chroma-t),c=Math.abs(o.chroma-t);le.primaryPalette,tone:e=>e.primaryPalette.keyColor.tone});ue.secondaryPaletteKeyColor=Ke.fromPalette({name:"secondary_palette_key_color",palette:e=>e.secondaryPalette,tone:e=>e.secondaryPalette.keyColor.tone});ue.tertiaryPaletteKeyColor=Ke.fromPalette({name:"tertiary_palette_key_color",palette:e=>e.tertiaryPalette,tone:e=>e.tertiaryPalette.keyColor.tone});ue.neutralPaletteKeyColor=Ke.fromPalette({name:"neutral_palette_key_color",palette:e=>e.neutralPalette,tone:e=>e.neutralPalette.keyColor.tone});ue.neutralVariantPaletteKeyColor=Ke.fromPalette({name:"neutral_variant_palette_key_color",palette:e=>e.neutralVariantPalette,tone:e=>e.neutralVariantPalette.keyColor.tone});ue.background=Ke.fromPalette({name:"background",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:98,isBackground:!0});ue.onBackground=Ke.fromPalette({name:"on_background",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:10,background:e=>ue.background,contrastCurve:new Tt(3,3,4.5,7)});ue.surface=Ke.fromPalette({name:"surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:98,isBackground:!0});ue.surfaceDim=Ke.fromPalette({name:"surface_dim",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:87,isBackground:!0});ue.surfaceBright=Ke.fromPalette({name:"surface_bright",palette:e=>e.neutralPalette,tone:e=>e.isDark?24:98,isBackground:!0});ue.surfaceContainerLowest=Ke.fromPalette({name:"surface_container_lowest",palette:e=>e.neutralPalette,tone:e=>e.isDark?4:100,isBackground:!0});ue.surfaceContainerLow=Ke.fromPalette({name:"surface_container_low",palette:e=>e.neutralPalette,tone:e=>e.isDark?10:96,isBackground:!0});ue.surfaceContainer=Ke.fromPalette({name:"surface_container",palette:e=>e.neutralPalette,tone:e=>e.isDark?12:94,isBackground:!0});ue.surfaceContainerHigh=Ke.fromPalette({name:"surface_container_high",palette:e=>e.neutralPalette,tone:e=>e.isDark?17:92,isBackground:!0});ue.surfaceContainerHighest=Ke.fromPalette({name:"surface_container_highest",palette:e=>e.neutralPalette,tone:e=>e.isDark?22:90,isBackground:!0});ue.onSurface=Ke.fromPalette({name:"on_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:10,background:e=>ue.highestSurface(e),contrastCurve:new Tt(4.5,7,11,21)});ue.surfaceVariant=Ke.fromPalette({name:"surface_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?30:90,isBackground:!0});ue.onSurfaceVariant=Ke.fromPalette({name:"on_surface_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?80:30,background:e=>ue.highestSurface(e),contrastCurve:new Tt(3,4.5,7,11)});ue.inverseSurface=Ke.fromPalette({name:"inverse_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:20});ue.inverseOnSurface=Ke.fromPalette({name:"inverse_on_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?20:95,background:e=>ue.inverseSurface,contrastCurve:new Tt(4.5,7,11,21)});ue.outline=Ke.fromPalette({name:"outline",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?60:50,background:e=>ue.highestSurface(e),contrastCurve:new Tt(1.5,3,4.5,7)});ue.outlineVariant=Ke.fromPalette({name:"outline_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?30:80,background:e=>ue.highestSurface(e),contrastCurve:new Tt(1,1,3,7)});ue.shadow=Ke.fromPalette({name:"shadow",palette:e=>e.neutralPalette,tone:e=>0});ue.scrim=Ke.fromPalette({name:"scrim",palette:e=>e.neutralPalette,tone:e=>0});ue.surfaceTint=Ke.fromPalette({name:"surface_tint",palette:e=>e.primaryPalette,tone:e=>e.isDark?80:40,isBackground:!0});ue.primary=Ke.fromPalette({name:"primary",palette:e=>e.primaryPalette,tone:e=>br(e)?e.isDark?100:0:e.isDark?80:40,isBackground:!0,background:e=>ue.highestSurface(e),contrastCurve:new Tt(3,4.5,7,11),toneDeltaPair:e=>new Un(ue.primaryContainer,ue.primary,15,"nearer",!1)});ue.onPrimary=Ke.fromPalette({name:"on_primary",palette:e=>e.primaryPalette,tone:e=>br(e)?e.isDark?10:90:e.isDark?20:100,background:e=>ue.primary,contrastCurve:new Tt(4.5,7,11,21)});ue.primaryContainer=Ke.fromPalette({name:"primary_container",palette:e=>e.primaryPalette,tone:e=>Xc(e)?gb(e.sourceColorHct,e):br(e)?e.isDark?85:25:e.isDark?30:90,isBackground:!0,background:e=>ue.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(ue.primaryContainer,ue.primary,15,"nearer",!1)});ue.onPrimaryContainer=Ke.fromPalette({name:"on_primary_container",palette:e=>e.primaryPalette,tone:e=>Xc(e)?Ke.foregroundTone(ue.primaryContainer.tone(e),4.5):br(e)?e.isDark?0:100:e.isDark?90:10,background:e=>ue.primaryContainer,contrastCurve:new Tt(4.5,7,11,21)});ue.inversePrimary=Ke.fromPalette({name:"inverse_primary",palette:e=>e.primaryPalette,tone:e=>e.isDark?40:80,background:e=>ue.inverseSurface,contrastCurve:new Tt(3,4.5,7,11)});ue.secondary=Ke.fromPalette({name:"secondary",palette:e=>e.secondaryPalette,tone:e=>e.isDark?80:40,isBackground:!0,background:e=>ue.highestSurface(e),contrastCurve:new Tt(3,4.5,7,11),toneDeltaPair:e=>new Un(ue.secondaryContainer,ue.secondary,15,"nearer",!1)});ue.onSecondary=Ke.fromPalette({name:"on_secondary",palette:e=>e.secondaryPalette,tone:e=>br(e)?e.isDark?10:100:e.isDark?20:100,background:e=>ue.secondary,contrastCurve:new Tt(4.5,7,11,21)});ue.secondaryContainer=Ke.fromPalette({name:"secondary_container",palette:e=>e.secondaryPalette,tone:e=>{const t=e.isDark?30:90;if(br(e))return e.isDark?30:85;if(!Xc(e))return t;let r=OB(e.secondaryPalette.hue,e.secondaryPalette.chroma,t,!e.isDark);return r=gb(e.secondaryPalette.getHct(r),e),r},isBackground:!0,background:e=>ue.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(ue.secondaryContainer,ue.secondary,15,"nearer",!1)});ue.onSecondaryContainer=Ke.fromPalette({name:"on_secondary_container",palette:e=>e.secondaryPalette,tone:e=>Xc(e)?Ke.foregroundTone(ue.secondaryContainer.tone(e),4.5):e.isDark?90:10,background:e=>ue.secondaryContainer,contrastCurve:new Tt(4.5,7,11,21)});ue.tertiary=Ke.fromPalette({name:"tertiary",palette:e=>e.tertiaryPalette,tone:e=>br(e)?e.isDark?90:25:e.isDark?80:40,isBackground:!0,background:e=>ue.highestSurface(e),contrastCurve:new Tt(3,4.5,7,11),toneDeltaPair:e=>new Un(ue.tertiaryContainer,ue.tertiary,15,"nearer",!1)});ue.onTertiary=Ke.fromPalette({name:"on_tertiary",palette:e=>e.tertiaryPalette,tone:e=>br(e)?e.isDark?10:90:e.isDark?20:100,background:e=>ue.tertiary,contrastCurve:new Tt(4.5,7,11,21)});ue.tertiaryContainer=Ke.fromPalette({name:"tertiary_container",palette:e=>e.tertiaryPalette,tone:e=>{if(br(e))return e.isDark?60:49;if(!Xc(e))return e.isDark?30:90;const t=gb(e.tertiaryPalette.getHct(e.sourceColorHct.tone),e),r=e.tertiaryPalette.getHct(t);return mb.fixIfDisliked(r).tone},isBackground:!0,background:e=>ue.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(ue.tertiaryContainer,ue.tertiary,15,"nearer",!1)});ue.onTertiaryContainer=Ke.fromPalette({name:"on_tertiary_container",palette:e=>e.tertiaryPalette,tone:e=>br(e)?e.isDark?0:100:Xc(e)?Ke.foregroundTone(ue.tertiaryContainer.tone(e),4.5):e.isDark?90:10,background:e=>ue.tertiaryContainer,contrastCurve:new Tt(4.5,7,11,21)});ue.error=Ke.fromPalette({name:"error",palette:e=>e.errorPalette,tone:e=>e.isDark?80:40,isBackground:!0,background:e=>ue.highestSurface(e),contrastCurve:new Tt(3,4.5,7,11),toneDeltaPair:e=>new Un(ue.errorContainer,ue.error,15,"nearer",!1)});ue.onError=Ke.fromPalette({name:"on_error",palette:e=>e.errorPalette,tone:e=>e.isDark?20:100,background:e=>ue.error,contrastCurve:new Tt(4.5,7,11,21)});ue.errorContainer=Ke.fromPalette({name:"error_container",palette:e=>e.errorPalette,tone:e=>e.isDark?30:90,isBackground:!0,background:e=>ue.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(ue.errorContainer,ue.error,15,"nearer",!1)});ue.onErrorContainer=Ke.fromPalette({name:"on_error_container",palette:e=>e.errorPalette,tone:e=>e.isDark?90:10,background:e=>ue.errorContainer,contrastCurve:new Tt(4.5,7,11,21)});ue.primaryFixed=Ke.fromPalette({name:"primary_fixed",palette:e=>e.primaryPalette,tone:e=>br(e)?40:90,isBackground:!0,background:e=>ue.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(ue.primaryFixed,ue.primaryFixedDim,10,"lighter",!0)});ue.primaryFixedDim=Ke.fromPalette({name:"primary_fixed_dim",palette:e=>e.primaryPalette,tone:e=>br(e)?30:80,isBackground:!0,background:e=>ue.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(ue.primaryFixed,ue.primaryFixedDim,10,"lighter",!0)});ue.onPrimaryFixed=Ke.fromPalette({name:"on_primary_fixed",palette:e=>e.primaryPalette,tone:e=>br(e)?100:10,background:e=>ue.primaryFixedDim,secondBackground:e=>ue.primaryFixed,contrastCurve:new Tt(4.5,7,11,21)});ue.onPrimaryFixedVariant=Ke.fromPalette({name:"on_primary_fixed_variant",palette:e=>e.primaryPalette,tone:e=>br(e)?90:30,background:e=>ue.primaryFixedDim,secondBackground:e=>ue.primaryFixed,contrastCurve:new Tt(3,4.5,7,11)});ue.secondaryFixed=Ke.fromPalette({name:"secondary_fixed",palette:e=>e.secondaryPalette,tone:e=>br(e)?80:90,isBackground:!0,background:e=>ue.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(ue.secondaryFixed,ue.secondaryFixedDim,10,"lighter",!0)});ue.secondaryFixedDim=Ke.fromPalette({name:"secondary_fixed_dim",palette:e=>e.secondaryPalette,tone:e=>br(e)?70:80,isBackground:!0,background:e=>ue.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(ue.secondaryFixed,ue.secondaryFixedDim,10,"lighter",!0)});ue.onSecondaryFixed=Ke.fromPalette({name:"on_secondary_fixed",palette:e=>e.secondaryPalette,tone:e=>10,background:e=>ue.secondaryFixedDim,secondBackground:e=>ue.secondaryFixed,contrastCurve:new Tt(4.5,7,11,21)});ue.onSecondaryFixedVariant=Ke.fromPalette({name:"on_secondary_fixed_variant",palette:e=>e.secondaryPalette,tone:e=>br(e)?25:30,background:e=>ue.secondaryFixedDim,secondBackground:e=>ue.secondaryFixed,contrastCurve:new Tt(3,4.5,7,11)});ue.tertiaryFixed=Ke.fromPalette({name:"tertiary_fixed",palette:e=>e.tertiaryPalette,tone:e=>br(e)?40:90,isBackground:!0,background:e=>ue.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(ue.tertiaryFixed,ue.tertiaryFixedDim,10,"lighter",!0)});ue.tertiaryFixedDim=Ke.fromPalette({name:"tertiary_fixed_dim",palette:e=>e.tertiaryPalette,tone:e=>br(e)?30:80,isBackground:!0,background:e=>ue.highestSurface(e),contrastCurve:new Tt(1,1,3,7),toneDeltaPair:e=>new Un(ue.tertiaryFixed,ue.tertiaryFixedDim,10,"lighter",!0)});ue.onTertiaryFixed=Ke.fromPalette({name:"on_tertiary_fixed",palette:e=>e.tertiaryPalette,tone:e=>br(e)?100:10,background:e=>ue.tertiaryFixedDim,secondBackground:e=>ue.tertiaryFixed,contrastCurve:new Tt(4.5,7,11,21)});ue.onTertiaryFixedVariant=Ke.fromPalette({name:"on_tertiary_fixed_variant",palette:e=>e.tertiaryPalette,tone:e=>br(e)?90:30,background:e=>ue.tertiaryFixedDim,secondBackground:e=>ue.tertiaryFixed,contrastCurve:new Tt(3,4.5,7,11)});/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class on{static fromInt(t){const r=Or.fromInt(t);return on.fromHct(r)}static fromHct(t){return new on(t.hue,t.chroma,t)}static fromHueAndChroma(t,r){return new on(t,r,on.createKeyColor(t,r))}constructor(t,r,n){this.hue=t,this.chroma=r,this.keyColor=n,this.cache=new Map}static createKeyColor(t,r){let i=Or.from(t,r,50),o=Math.abs(i.chroma-r);for(let a=1;a<50;a+=1){if(Math.round(r)===Math.round(i.chroma))return i;const s=Or.from(t,r,50+a),l=Math.abs(s.chroma-r);l>>0}function jo(e){return parseInt(e,16)}/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function hfe(e,t=[]){const r=Gr.of(e);return{source:e,schemes:{light:Vo.light(e),dark:Vo.dark(e)},palettes:{primary:r.a1,secondary:r.a2,tertiary:r.a3,neutral:r.n1,neutralVariant:r.n2,error:r.error},customColors:t.map(n=>DB(e,n))}}function DB(e,t){let r=t.value;const n=r,i=e;t.blend&&(r=xb.harmonize(n,i));const a=Gr.of(r).a1;return{color:t,value:r,light:{color:a.tone(40),onColor:a.tone(100),colorContainer:a.tone(90),onColorContainer:a.tone(10)},dark:{color:a.tone(80),onColor:a.tone(20),colorContainer:a.tone(30),onColorContainer:a.tone(90)}}}var MS={exports:{}},PS={};/** + * @license React + * use-sync-external-store-with-selector.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 A0=U;function LB(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var NB=typeof Object.is=="function"?Object.is:LB,zB=A0.useSyncExternalStore,jB=A0.useRef,UB=A0.useEffect,HB=A0.useMemo,WB=A0.useDebugValue;PS.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=jB(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=HB(function(){function l(b){if(!c){if(c=!0,u=b,b=n(b),i!==void 0&&a.hasValue){var p=a.value;if(i(p,b))return f=p}return f=b}if(p=f,NB(u,b))return p;var v=n(b);return i!==void 0&&i(p,v)?p:(u=b,f=v)}var c=!1,u,f,d=r===void 0?null:r;return[function(){return l(t())},d===null?void 0:function(){return l(d())}]},[t,r,n,i]);var s=zB(e,o[0],o[1]);return UB(function(){a.hasValue=!0,a.value=s},[s]),WB(s),s};MS.exports=PS;var qB=MS.exports,Zn="default"in yc?mn:yc,n6=Symbol.for("react-redux-context"),i6=typeof globalThis<"u"?globalThis:{};function VB(){if(!Zn.createContext)return{};const e=i6[n6]??(i6[n6]=new Map);let t=e.get(Zn.createContext);return t||(t=Zn.createContext(null),e.set(Zn.createContext,t)),t}var Za=VB(),KB=()=>{throw new Error("uSES not initialized!")};function vb(e=Za){return function(){return Zn.useContext(e)}}var AS=vb(),kS=KB,GB=e=>{kS=e},YB=(e,t)=>e===t;function XB(e=Za){const t=e===Za?AS:vb(e),r=(n,i={})=>{const{equalityFn:o=YB,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:s,subscription:l,getServerState:c,stabilityCheck:u,identityFunctionCheck:f}=t();Zn.useRef(!0);const d=Zn.useCallback({[n.name](p){return n(p)}}[n.name],[n,u,a.stabilityCheck]),b=kS(l.addNestedSub,s.getState,c||s.getState,d,o);return Zn.useDebugValue(b),b};return Object.assign(r,{withTypes:()=>r}),r}var pfe=XB();function JB(e){e()}function ZB(){let e=null,t=null;return{clear(){e=null,t=null},notify(){JB(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){const r=[];let n=e;for(;n;)r.push(n),n=n.next;return r},subscribe(r){let n=!0;const i=t={callback:r,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!n||e===null||(n=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var o6={notify(){},get:()=>[]};function QB(e,t){let r,n=o6,i=0,o=!1;function a(v){u();const w=n.subscribe(v);let C=!1;return()=>{C||(C=!0,w(),f())}}function s(){n.notify()}function l(){p.onStateChange&&p.onStateChange()}function c(){return o}function u(){i++,r||(r=t?t.addNestedSub(l):e.subscribe(l),n=ZB())}function f(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=o6)}function d(){o||(o=!0,u())}function b(){o&&(o=!1,f())}const p={addNestedSub:a,notifyNestedSubs:s,handleChangeWrapper:l,isSubscribed:c,trySubscribe:d,tryUnsubscribe:b,getListeners:()=>n};return p}var eI=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",tI=eI?Zn.useLayoutEffect:Zn.useEffect;function a6(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function xfe(e,t){if(a6(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let i=0;i{const c=QB(e);return{store:e,subscription:c,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),s=Zn.useMemo(()=>e.getState(),[e]);tI(()=>{const{subscription:c}=a;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),s!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[a,s]);const l=t||Za;return Zn.createElement(l.Provider,{value:a},r)}var mfe=rI;function _S(e=Za){const t=e===Za?AS:vb(e),r=()=>{const{store:n}=t();return n};return Object.assign(r,{withTypes:()=>r}),r}var nI=_S();function iI(e=Za){const t=e===Za?nI:_S(e),r=()=>t().dispatch;return Object.assign(r,{withTypes:()=>r}),r}var gfe=iI();GB(qB.useSyncExternalStoreWithSelector);const oI={black:"#000",white:"#fff"},zf=oI,aI={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Cl=aI,sI={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},El=sI,lI={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ml=lI,cI={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Pl=cI,uI={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Al=uI,fI={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},vu=fI,dI={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},hI=dI;function la(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r=0)&&(r[i]=e[i]);return r}var xI=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,mI=ww(function(e){return xI.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),vfe=function(t,r){var n=arguments;if(r==null||!E0.call(r,"css"))return U.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=Z2,o[1]=J2(t,r);for(var a=2;a96?vI:bI},l6=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},yI=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return G2(r,n,i),Tw(function(){return Y2(r,n,i)}),null},wI=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,a;r!==void 0&&(o=r.label,a=r.target);var s=l6(t,r,n),l=s||s6(i),c=!l("as");return function(){var u=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),u[0]==null||u[0].raw===void 0)f.push.apply(f,u);else{f.push(u[0][0]);for(var d=u.length,b=1;bt(_I(i)?r:i):t;return Y.jsx(gI,{styles:n})}function bb(e,t){return av(e,t)}const IS=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},RI=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:BS,StyledEngineProvider:kI,ThemeContext:Gc,css:Ec,default:bb,internal_processStyles:IS,keyframes:ls},Symbol.toStringTag,{value:"Module"}));function Yo(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function OS(e){if(!Yo(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=OS(e[r])}),t}function gn(e,t,r={clone:!0}){const n=r.clone?W({},e):e;return Yo(e)&&Yo(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(Yo(t[i])&&i in e&&Yo(e[i])?n[i]=gn(e[i],t[i],r):r.clone?n[i]=Yo(t[i])?OS(t[i]):t[i]:n[i]=t[i])}),n}const TI=Object.freeze(Object.defineProperty({__proto__:null,default:gn,isPlainObject:Yo},Symbol.toStringTag,{value:"Module"})),$I=["values","unit","step"],BI=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>W({},r,{[n.key]:n.val}),{})};function FS(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,i=Ee(e,$I),o=BI(t),a=Object.keys(o);function s(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r})`}function l(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-n/100}${r})`}function c(d,b){const p=a.indexOf(b);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r}) and (max-width:${(p!==-1&&typeof t[a[p]]=="number"?t[a[p]]:b)-n/100}${r})`}function u(d){return a.indexOf(d)+1`@media (min-width:${yb[e]}px)`};function Ln(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const o=n.breakpoints||c6;return t.reduce((a,s,l)=>(a[o.up(o.keys[l])]=r(t[l]),a),{})}if(typeof t=="object"){const o=n.breakpoints||c6;return Object.keys(t).reduce((a,s)=>{if(Object.keys(o.values||yb).indexOf(s)!==-1){const l=o.up(s);a[l]=r(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return r(t)}function DS(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,i)=>{const o=e.up(i);return n[o]={},n},{}))||{}}function LS(e,t){return e.reduce((r,n)=>{const i=r[n];return(!i||Object.keys(i).length===0)&&delete r[n],r},t)}function FI(e,...t){const r=DS(e),n=[r,...t].reduce((i,o)=>gn(i,o),{});return LS(Object.keys(r),n)}function DI(e,t){if(typeof e!="object")return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((i,o)=>{o{e[i]!=null&&(r[i]=!0)}),r}function Ws({values:e,breakpoints:t,base:r}){const n=r||DI(e,t),i=Object.keys(n);if(i.length===0)return e;let o;return i.reduce((a,s,l)=>(Array.isArray(e)?(a[s]=e[l]!=null?e[l]:e[o],o=l):typeof e=="object"?(a[s]=e[s]!=null?e[s]:e[o],o=s):a[s]=e,a),{})}function de(e){if(typeof e!="string")throw new Error(la(7));return e.charAt(0).toUpperCase()+e.slice(1)}const LI=Object.freeze(Object.defineProperty({__proto__:null,default:de},Symbol.toStringTag,{value:"Module"}));function Kp(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(n!=null)return n}return t.split(".").reduce((n,i)=>n&&n[i]!=null?n[i]:null,e)}function yh(e,t,r,n=r){let i;return typeof e=="function"?i=e(r):Array.isArray(e)?i=e[r]||n:i=Kp(e,r)||n,t&&(i=t(i,n,e)),i}function yr(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:i}=e,o=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,c=Kp(l,n)||{};return Ln(a,s,f=>{let d=yh(c,i,f);return f===d&&typeof f=="string"&&(d=yh(c,i,`${t}${f==="default"?"":de(f)}`,f)),r===!1?d:{[r]:d}})};return o.propTypes={},o.filterProps=[t],o}function NI(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const zI={m:"margin",p:"padding"},jI={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},u6={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},UI=NI(e=>{if(e.length>2)if(u6[e])e=u6[e];else return[e];const[t,r]=e.split(""),n=zI[t],i=jI[r]||"";return Array.isArray(i)?i.map(o=>n+o):[n+i]}),wb=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Sb=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...wb,...Sb];function k0(e,t,r,n){var i;const o=(i=Kp(e,t,!1))!=null?i:r;return typeof o=="number"?a=>typeof a=="string"?a:o*a:Array.isArray(o)?a=>typeof a=="string"?a:o[a]:typeof o=="function"?o:()=>{}}function Cb(e){return k0(e,"spacing",8)}function Qs(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function HI(e,t){return r=>e.reduce((n,i)=>(n[i]=Qs(t,r),n),{})}function WI(e,t,r,n){if(t.indexOf(r)===-1)return null;const i=UI(r),o=HI(i,n),a=e[r];return Ln(e,a,o)}function NS(e,t){const r=Cb(e.theme);return Object.keys(e).map(n=>WI(e,t,n,r)).reduce(ff,{})}function sr(e){return NS(e,wb)}sr.propTypes={};sr.filterProps=wb;function lr(e){return NS(e,Sb)}lr.propTypes={};lr.filterProps=Sb;function qI(e=8){if(e.mui)return e;const t=Cb({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(o=>{const a=t(o);return typeof a=="number"?`${a}px`:a}).join(" ");return r.mui=!0,r}function Gp(...e){const t=e.reduce((n,i)=>(i.filterProps.forEach(o=>{n[o]=i}),n),{}),r=n=>Object.keys(n).reduce((i,o)=>t[o]?ff(i,t[o](n)):i,{});return r.propTypes={},r.filterProps=e.reduce((n,i)=>n.concat(i.filterProps),[]),r}function bi(e){return typeof e!="number"?e:`${e}px solid`}function Li(e,t){return yr({prop:e,themeKey:"borders",transform:t})}const VI=Li("border",bi),KI=Li("borderTop",bi),GI=Li("borderRight",bi),YI=Li("borderBottom",bi),XI=Li("borderLeft",bi),JI=Li("borderColor"),ZI=Li("borderTopColor"),QI=Li("borderRightColor"),eO=Li("borderBottomColor"),tO=Li("borderLeftColor"),rO=Li("outline",bi),nO=Li("outlineColor"),Yp=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=k0(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:Qs(t,n)});return Ln(e,e.borderRadius,r)}return null};Yp.propTypes={};Yp.filterProps=["borderRadius"];Gp(VI,KI,GI,YI,XI,JI,ZI,QI,eO,tO,Yp,rO,nO);const Xp=e=>{if(e.gap!==void 0&&e.gap!==null){const t=k0(e.theme,"spacing",8),r=n=>({gap:Qs(t,n)});return Ln(e,e.gap,r)}return null};Xp.propTypes={};Xp.filterProps=["gap"];const Jp=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=k0(e.theme,"spacing",8),r=n=>({columnGap:Qs(t,n)});return Ln(e,e.columnGap,r)}return null};Jp.propTypes={};Jp.filterProps=["columnGap"];const Zp=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=k0(e.theme,"spacing",8),r=n=>({rowGap:Qs(t,n)});return Ln(e,e.rowGap,r)}return null};Zp.propTypes={};Zp.filterProps=["rowGap"];const iO=yr({prop:"gridColumn"}),oO=yr({prop:"gridRow"}),aO=yr({prop:"gridAutoFlow"}),sO=yr({prop:"gridAutoColumns"}),lO=yr({prop:"gridAutoRows"}),cO=yr({prop:"gridTemplateColumns"}),uO=yr({prop:"gridTemplateRows"}),fO=yr({prop:"gridTemplateAreas"}),dO=yr({prop:"gridArea"});Gp(Xp,Jp,Zp,iO,oO,aO,sO,lO,cO,uO,fO,dO);function sc(e,t){return t==="grey"?t:e}const hO=yr({prop:"color",themeKey:"palette",transform:sc}),pO=yr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:sc}),xO=yr({prop:"backgroundColor",themeKey:"palette",transform:sc});Gp(hO,pO,xO);function Jn(e){return e<=1&&e!==0?`${e*100}%`:e}const mO=yr({prop:"width",transform:Jn}),Eb=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,i;const o=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||yb[r];return o?((i=e.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Jn(r)}};return Ln(e,e.maxWidth,t)}return null};Eb.filterProps=["maxWidth"];const gO=yr({prop:"minWidth",transform:Jn}),vO=yr({prop:"height",transform:Jn}),bO=yr({prop:"maxHeight",transform:Jn}),yO=yr({prop:"minHeight",transform:Jn});yr({prop:"size",cssProperty:"width",transform:Jn});yr({prop:"size",cssProperty:"height",transform:Jn});const wO=yr({prop:"boxSizing"});Gp(mO,Eb,gO,vO,bO,yO,wO);const SO={border:{themeKey:"borders",transform:bi},borderTop:{themeKey:"borders",transform:bi},borderRight:{themeKey:"borders",transform:bi},borderBottom:{themeKey:"borders",transform:bi},borderLeft:{themeKey:"borders",transform:bi},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:bi},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Yp},color:{themeKey:"palette",transform:sc},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:sc},backgroundColor:{themeKey:"palette",transform:sc},p:{style:lr},pt:{style:lr},pr:{style:lr},pb:{style:lr},pl:{style:lr},px:{style:lr},py:{style:lr},padding:{style:lr},paddingTop:{style:lr},paddingRight:{style:lr},paddingBottom:{style:lr},paddingLeft:{style:lr},paddingX:{style:lr},paddingY:{style:lr},paddingInline:{style:lr},paddingInlineStart:{style:lr},paddingInlineEnd:{style:lr},paddingBlock:{style:lr},paddingBlockStart:{style:lr},paddingBlockEnd:{style:lr},m:{style:sr},mt:{style:sr},mr:{style:sr},mb:{style:sr},ml:{style:sr},mx:{style:sr},my:{style:sr},margin:{style:sr},marginTop:{style:sr},marginRight:{style:sr},marginBottom:{style:sr},marginLeft:{style:sr},marginX:{style:sr},marginY:{style:sr},marginInline:{style:sr},marginInlineStart:{style:sr},marginInlineEnd:{style:sr},marginBlock:{style:sr},marginBlockStart:{style:sr},marginBlockEnd:{style:sr},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Xp},rowGap:{style:Zp},columnGap:{style:Jp},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Jn},maxWidth:{style:Eb},minWidth:{transform:Jn},height:{transform:Jn},maxHeight:{transform:Jn},minHeight:{transform:Jn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},_0=SO;function CO(...e){const t=e.reduce((n,i)=>n.concat(Object.keys(i)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function EO(e,t){return typeof e=="function"?e(t):e}function zS(){function e(r,n,i,o){const a={[r]:n,theme:i},s=o[r];if(!s)return{[r]:n};const{cssProperty:l=r,themeKey:c,transform:u,style:f}=s;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const d=Kp(i,c)||{};return f?f(a):Ln(a,n,p=>{let v=yh(d,u,p);return p===v&&typeof p=="string"&&(v=yh(d,u,`${r}${p==="default"?"":de(p)}`,p)),l===!1?v:{[l]:v}})}function t(r){var n;const{sx:i,theme:o={}}=r||{};if(!i)return null;const a=(n=o.unstable_sxConfig)!=null?n:_0;function s(l){let c=l;if(typeof l=="function")c=l(o);else if(typeof l!="object")return l;if(!c)return null;const u=DS(o.breakpoints),f=Object.keys(u);let d=u;return Object.keys(c).forEach(b=>{const p=EO(c[b],o);if(p!=null)if(typeof p=="object")if(a[b])d=ff(d,e(b,p,o,a));else{const v=Ln({theme:o},p,w=>({[b]:w}));CO(v,p)?d[b]=t({sx:p,theme:o}):d=ff(d,v)}else d=ff(d,e(b,p,o,a))}),LS(f,d)}return Array.isArray(i)?i.map(s):s(i)}return t}const jS=zS();jS.filterProps=["sx"];const R0=jS;function US(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const MO=["breakpoints","palette","spacing","shape"];function T0(e={},...t){const{breakpoints:r={},palette:n={},spacing:i,shape:o={}}=e,a=Ee(e,MO),s=FS(r),l=qI(i);let c=gn({breakpoints:s,direction:"ltr",components:{},palette:W({mode:"light"},n),spacing:l,shape:W({},OI,o)},a);return c.applyStyles=US,c=t.reduce((u,f)=>gn(u,f),c),c.unstable_sxConfig=W({},_0,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(f){return R0({sx:f,theme:this})},c}const PO=Object.freeze(Object.defineProperty({__proto__:null,default:T0,private_createBreakpoints:FS,unstable_applyStyles:US},Symbol.toStringTag,{value:"Module"}));function AO(e){return Object.keys(e).length===0}function Mb(e=null){const t=U.useContext(Gc);return!t||AO(t)?e:t}const kO=T0();function Qp(e=kO){return Mb(e)}function _O({styles:e,themeId:t,defaultTheme:r={}}){const n=Qp(r),i=typeof e=="function"?e(t&&n[t]||n):e;return Y.jsx(BS,{styles:i})}const RO=["sx"],TO=e=>{var t,r;const n={systemProps:{},otherProps:{}},i=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:_0;return Object.keys(e).forEach(o=>{i[o]?n.systemProps[o]=e[o]:n.otherProps[o]=e[o]}),n};function $0(e){const{sx:t}=e,r=Ee(e,RO),{systemProps:n,otherProps:i}=TO(r);let o;return Array.isArray(t)?o=[n,...t]:typeof t=="function"?o=(...a)=>{const s=t(...a);return Yo(s)?W({},n,s):n}:o=W({},n,t),W({},i,{sx:o})}const $O=Object.freeze(Object.defineProperty({__proto__:null,default:R0,extendSxProp:$0,unstable_createStyleFunctionSx:zS,unstable_defaultSxConfig:_0},Symbol.toStringTag,{value:"Module"})),f6=e=>e,BO=()=>{let e=f6;return{configure(t){e=t},generate(t){return e(t)},reset(){e=f6}}},IO=BO(),Pb=IO;function HS(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;ts!=="theme"&&s!=="sx"&&s!=="as"})(R0);return U.forwardRef(function(l,c){const u=Qp(r),f=$0(l),{className:d,component:b="div"}=f,p=Ee(f,OO);return Y.jsx(o,W({as:b,ref:c,className:Se(d,i?i(n):n),theme:t&&u[t]||u},p))})}const WS={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function nt(e,t,r="Mui"){const n=WS[t];return n?`${r}-${n}`:`${Pb.generate(e)}-${t}`}function tt(e,t,r="Mui"){const n={};return t.forEach(i=>{n[i]=nt(e,i,r)}),n}var qS={exports:{}},Ut={};/** + * @license React + * react-is.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 Ab=Symbol.for("react.element"),kb=Symbol.for("react.portal"),e1=Symbol.for("react.fragment"),t1=Symbol.for("react.strict_mode"),r1=Symbol.for("react.profiler"),n1=Symbol.for("react.provider"),i1=Symbol.for("react.context"),DO=Symbol.for("react.server_context"),o1=Symbol.for("react.forward_ref"),a1=Symbol.for("react.suspense"),s1=Symbol.for("react.suspense_list"),l1=Symbol.for("react.memo"),c1=Symbol.for("react.lazy"),LO=Symbol.for("react.offscreen"),VS;VS=Symbol.for("react.module.reference");function Ni(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Ab:switch(e=e.type,e){case e1:case r1:case t1:case a1:case s1:return e;default:switch(e=e&&e.$$typeof,e){case DO:case i1:case o1:case c1:case l1:case n1:return e;default:return t}}case kb:return t}}}Ut.ContextConsumer=i1;Ut.ContextProvider=n1;Ut.Element=Ab;Ut.ForwardRef=o1;Ut.Fragment=e1;Ut.Lazy=c1;Ut.Memo=l1;Ut.Portal=kb;Ut.Profiler=r1;Ut.StrictMode=t1;Ut.Suspense=a1;Ut.SuspenseList=s1;Ut.isAsyncMode=function(){return!1};Ut.isConcurrentMode=function(){return!1};Ut.isContextConsumer=function(e){return Ni(e)===i1};Ut.isContextProvider=function(e){return Ni(e)===n1};Ut.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ab};Ut.isForwardRef=function(e){return Ni(e)===o1};Ut.isFragment=function(e){return Ni(e)===e1};Ut.isLazy=function(e){return Ni(e)===c1};Ut.isMemo=function(e){return Ni(e)===l1};Ut.isPortal=function(e){return Ni(e)===kb};Ut.isProfiler=function(e){return Ni(e)===r1};Ut.isStrictMode=function(e){return Ni(e)===t1};Ut.isSuspense=function(e){return Ni(e)===a1};Ut.isSuspenseList=function(e){return Ni(e)===s1};Ut.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===e1||e===r1||e===t1||e===a1||e===s1||e===LO||typeof e=="object"&&e!==null&&(e.$$typeof===c1||e.$$typeof===l1||e.$$typeof===n1||e.$$typeof===i1||e.$$typeof===o1||e.$$typeof===VS||e.getModuleId!==void 0)};Ut.typeOf=Ni;qS.exports=Ut;var d6=qS.exports;const NO=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function KS(e){const t=`${e}`.match(NO);return t&&t[1]||""}function GS(e,t=""){return e.displayName||e.name||KS(e)||t}function h6(e,t,r){const n=GS(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function zO(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return GS(e,"Component");if(typeof e=="object")switch(e.$$typeof){case d6.ForwardRef:return h6(e,e.render,"ForwardRef");case d6.Memo:return h6(e,e.type,"memo");default:return}}}const jO=Object.freeze(Object.defineProperty({__proto__:null,default:zO,getFunctionName:KS},Symbol.toStringTag,{value:"Module"})),UO=["ownerState"],HO=["variants"],WO=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function qO(e){return Object.keys(e).length===0}function VO(e){return typeof e=="string"&&e.charCodeAt(0)>96}function fm(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const KO=T0(),GO=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function td({defaultTheme:e,theme:t,themeId:r}){return qO(t)?e:t[r]||t}function YO(e){return e?(t,r)=>r[e]:null}function Kd(e,t){let{ownerState:r}=t,n=Ee(t,UO);const i=typeof e=="function"?e(W({ownerState:r},n)):e;if(Array.isArray(i))return i.flatMap(o=>Kd(o,W({ownerState:r},n)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:o=[]}=i;let s=Ee(i,HO);return o.forEach(l=>{let c=!0;typeof l.props=="function"?c=l.props(W({ownerState:r},n,r)):Object.keys(l.props).forEach(u=>{(r==null?void 0:r[u])!==l.props[u]&&n[u]!==l.props[u]&&(c=!1)}),c&&(Array.isArray(s)||(s=[s]),s.push(typeof l.style=="function"?l.style(W({ownerState:r},n,r)):l.style))}),s}return i}function XO(e={}){const{themeId:t,defaultTheme:r=KO,rootShouldForwardProp:n=fm,slotShouldForwardProp:i=fm}=e,o=a=>R0(W({},a,{theme:td(W({},a,{defaultTheme:r,themeId:t}))}));return o.__mui_systemSx=!0,(a,s={})=>{IS(a,N=>N.filter(O=>!(O!=null&&O.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:f,overridesResolver:d=YO(GO(c))}=s,b=Ee(s,WO),p=u!==void 0?u:c&&c!=="Root"&&c!=="root"||!1,v=f||!1;let w,C=fm;c==="Root"||c==="root"?C=n:c?C=i:VO(a)&&(C=void 0);const y=bb(a,W({shouldForwardProp:C,label:w},b)),M=N=>typeof N=="function"&&N.__emotion_real!==N||Yo(N)?O=>Kd(N,W({},O,{theme:td({theme:O.theme,defaultTheme:r,themeId:t})})):N,I=(N,...O)=>{let D=M(N);const T=O?O.map(M):[];l&&d&&T.push(A=>{const x=td(W({},A,{defaultTheme:r,themeId:t}));if(!x.components||!x.components[l]||!x.components[l].styleOverrides)return null;const g=x.components[l].styleOverrides,h={};return Object.entries(g).forEach(([m,S])=>{h[m]=Kd(S,W({},A,{theme:x}))}),d(A,h)}),l&&!p&&T.push(A=>{var x;const g=td(W({},A,{defaultTheme:r,themeId:t})),h=g==null||(x=g.components)==null||(x=x[l])==null?void 0:x.variants;return Kd({variants:h},W({},A,{theme:g}))}),v||T.push(o);const F=T.length-O.length;if(Array.isArray(N)&&F>0){const A=new Array(F).fill("");D=[...N,...A],D.raw=[...N.raw,...A]}const k=y(D,...T);return a.muiName&&(k.muiName=a.muiName),k};return y.withConfig&&(I.withConfig=y.withConfig),I}}const JO=XO();function _b(e,t){const r=W({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=W({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const i=e[n]||{},o=t[n];r[n]={},!o||!Object.keys(o)?r[n]=i:!i||!Object.keys(i)?r[n]=o:(r[n]=W({},o),Object.keys(i).forEach(a=>{r[n][a]=_b(i[a],o[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function YS(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:_b(t.components[r].defaultProps,n)}function XS({props:e,name:t,defaultTheme:r,themeId:n}){let i=Qp(r);return n&&(i=i[n]||i),YS({theme:i,name:t,props:e})}const bn=typeof window<"u"?U.useLayoutEffect:U.useEffect;function ZO(e,t,r,n,i){const[o,a]=U.useState(()=>i&&r?r(e).matches:n?n(e).matches:t);return bn(()=>{let s=!0;if(!r)return;const l=r(e),c=()=>{s&&a(l.matches)};return c(),l.addListener(c),()=>{s=!1,l.removeListener(c)}},[e,r]),o}const JS=U.useSyncExternalStore;function QO(e,t,r,n,i){const o=U.useCallback(()=>t,[t]),a=U.useMemo(()=>{if(i&&r)return()=>r(e).matches;if(n!==null){const{matches:u}=n(e);return()=>u}return o},[o,e,n,i,r]),[s,l]=U.useMemo(()=>{if(r===null)return[o,()=>()=>{}];const u=r(e);return[()=>u.matches,f=>(u.addListener(f),()=>{u.removeListener(f)})]},[o,r,e]);return JS(l,s,a)}function bfe(e,t={}){const r=Mb(),n=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:o=n?window.matchMedia:null,ssrMatchMedia:a=null,noSsr:s=!1}=YS({name:"MuiUseMediaQuery",props:t,theme:r});let l=typeof e=="function"?e(r):e;return l=l.replace(/^@media( ?)/m,""),(JS!==void 0?QO:ZO)(l,i,o,a,s)}function ZS(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const eF=Object.freeze(Object.defineProperty({__proto__:null,default:ZS},Symbol.toStringTag,{value:"Module"}));function tF(e,t=0,r=1){return ZS(e,t,r)}function rF(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,i)=>i<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function QS(e){if(e.type)return e;if(e.charAt(0)==="#")return QS(rF(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(la(9,e));let n=e.substring(t+1,e.length-1),i;if(r==="color"){if(n=n.split(" "),i=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error(la(10,i))}else n=n.split(",");return n=n.map(o=>parseFloat(o)),{type:r,values:n,colorSpace:i}}function nF(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((i,o)=>o<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function iF(e,t){return e=QS(e),t=tF(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,nF(e)}function lv(...e){return e.reduce((t,r)=>r==null?t:function(...i){t.apply(this,i),r.apply(this,i)},()=>{})}function Jc(e,t=166){let r;function n(...i){const o=()=>{e.apply(this,i)};clearTimeout(r),r=setTimeout(o,t)}return n.clear=()=>{clearTimeout(r)},n}function oF(e,t){return()=>null}function df(e,t){var r,n;return U.isValidElement(e)&&t.indexOf((r=e.type.muiName)!=null?r:(n=e.type)==null||(n=n._payload)==null||(n=n.value)==null?void 0:n.muiName)!==-1}function Mr(e){return e&&e.ownerDocument||document}function _i(e){return Mr(e).defaultView||window}function aF(e,t){return()=>null}function jf(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let p6=0;function sF(e){const[t,r]=U.useState(e),n=e||t;return U.useEffect(()=>{t==null&&(p6+=1,r(`mui-${p6}`))},[t]),n}const x6=yc.useId;function Qa(e){if(x6!==void 0){const t=x6();return e??t}return sF(e)}function lF(e,t,r,n,i){return null}function Ua({controlled:e,default:t,name:r,state:n="value"}){const{current:i}=U.useRef(e!==void 0),[o,a]=U.useState(t),s=i?e:o,l=U.useCallback(c=>{i||a(c)},[]);return[s,l]}function kr(e){const t=U.useRef(e);return bn(()=>{t.current=e}),U.useRef((...r)=>(0,t.current)(...r)).current}function qt(...e){return U.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{jf(r,t)})},e)}const m6={};function cF(e,t){const r=U.useRef(m6);return r.current===m6&&(r.current=e(t)),r}const uF=[];function fF(e){U.useEffect(e,uF)}class B0{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new B0}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function Is(){const e=cF(B0.create).current;return fF(e.disposeEffect),e}let u1=!0,cv=!1;const dF=new B0,hF={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function pF(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&hF[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function xF(e){e.metaKey||e.altKey||e.ctrlKey||(u1=!0)}function dm(){u1=!1}function mF(){this.visibilityState==="hidden"&&cv&&(u1=!0)}function gF(e){e.addEventListener("keydown",xF,!0),e.addEventListener("mousedown",dm,!0),e.addEventListener("pointerdown",dm,!0),e.addEventListener("touchstart",dm,!0),e.addEventListener("visibilitychange",mF,!0)}function vF(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return u1||pF(t)}function Rb(){const e=U.useCallback(i=>{i!=null&&gF(i.ownerDocument)},[]),t=U.useRef(!1);function r(){return t.current?(cv=!0,dF.start(100,()=>{cv=!1}),t.current=!1,!0):!1}function n(i){return vF(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function eC(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let kl;function tC(){if(kl)return kl;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),kl="reverse",e.scrollLeft>0?kl="default":(e.scrollLeft=1,e.scrollLeft===0&&(kl="negative")),document.body.removeChild(e),kl}function bF(e,t){const r=e.scrollLeft;if(t!=="rtl")return r;switch(tC()){case"negative":return e.scrollWidth-e.clientWidth+r;case"reverse":return e.scrollWidth-e.clientWidth-r;default:return r}}const Tb=e=>{const t=U.useRef({});return U.useEffect(()=>{t.current=e}),t.current};function it(e,t,r=void 0){const n={};return Object.keys(e).forEach(i=>{n[i]=e[i].reduce((o,a)=>{if(a){const s=t(a);s!==""&&o.push(s),r&&r[a]&&o.push(r[a])}return o},[]).join(" ")}),n}const yF=U.createContext(null),rC=yF;function nC(){return U.useContext(rC)}const wF=typeof Symbol=="function"&&Symbol.for,SF=wF?Symbol.for("mui.nested"):"__THEME_NESTED__";function CF(e,t){return typeof t=="function"?t(e):W({},e,t)}function EF(e){const{children:t,theme:r}=e,n=nC(),i=U.useMemo(()=>{const o=n===null?r:CF(n,r);return o!=null&&(o[SF]=n!==null),o},[r,n]);return Y.jsx(rC.Provider,{value:i,children:t})}const MF=["value"],iC=U.createContext();function PF(e){let{value:t}=e,r=Ee(e,MF);return Y.jsx(iC.Provider,W({value:t??!0},r))}const Zc=()=>{const e=U.useContext(iC);return e??!1},g6={};function v6(e,t,r,n=!1){return U.useMemo(()=>{const i=e&&t[e]||t;if(typeof r=="function"){const o=r(i),a=e?W({},t,{[e]:o}):o;return n?()=>a:a}return e?W({},t,{[e]:r}):W({},t,r)},[e,t,r,n])}function AF(e){const{children:t,theme:r,themeId:n}=e,i=Mb(g6),o=nC()||g6,a=v6(n,i,r),s=v6(n,o,r,!0),l=a.direction==="rtl";return Y.jsx(EF,{theme:s,children:Y.jsx(Gc.Provider,{value:a,children:Y.jsx(PF,{value:l,children:t})})})}function Uf(e){"@babel/helpers - typeof";return Uf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Uf(e)}function kF(e,t){if(Uf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Uf(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _F(e){var t=kF(e,"string");return Uf(t)=="symbol"?t:t+""}const RF=["component","direction","spacing","divider","children","className","useFlexGap"],TF=T0(),$F=JO("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function BF(e){return XS({props:e,name:"MuiStack",defaultTheme:TF})}function IF(e,t){const r=U.Children.toArray(e).filter(Boolean);return r.reduce((n,i,o)=>(n.push(i),o({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],FF=({ownerState:e,theme:t})=>{let r=W({display:"flex",flexDirection:"column"},Ln({theme:t},Ws({values:e.direction,breakpoints:t.breakpoints.values}),n=>({flexDirection:n})));if(e.spacing){const n=Cb(t),i=Object.keys(t.breakpoints.values).reduce((l,c)=>((typeof e.spacing=="object"&&e.spacing[c]!=null||typeof e.direction=="object"&&e.direction[c]!=null)&&(l[c]=!0),l),{}),o=Ws({values:e.direction,base:i}),a=Ws({values:e.spacing,base:i});typeof o=="object"&&Object.keys(o).forEach((l,c,u)=>{if(!o[l]){const d=c>0?o[u[c-1]]:"column";o[l]=d}}),r=gn(r,Ln({theme:t},a,(l,c)=>e.useFlexGap?{gap:Qs(n,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${OF(c?o[c]:e.direction)}`]:Qs(n,l)}}))}return r=FI(t.breakpoints,r),r};function DF(e={}){const{createStyledComponent:t=$F,useThemeProps:r=BF,componentName:n="MuiStack"}=e,i=()=>it({root:["root"]},l=>nt(n,l),{}),o=t(FF);return U.forwardRef(function(l,c){const u=r(l),f=$0(u),{component:d="div",direction:b="column",spacing:p=0,divider:v,children:w,className:C,useFlexGap:y=!1}=f,M=Ee(f,RF),I={direction:b,spacing:p,useFlexGap:y},N=i();return Y.jsx(o,W({as:d,ownerState:I,ref:c,className:Se(N.root,C)},M,{children:v?IF(w,v):w}))})}function LF(e,t){return W({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var wr={},oC={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(oC);var ar=oC.exports;const NF=Oo(pI),zF=Oo(eF);var aC=ar;Object.defineProperty(wr,"__esModule",{value:!0});var Ct=wr.alpha=uC;wr.blend=ZF;wr.colorChannel=void 0;var wh=wr.darken=Bb;wr.decomposeColor=Ri;var jF=wr.emphasize=fC,UF=wr.getContrastRatio=KF;wr.getLuminance=Ch;wr.hexToRgb=sC;wr.hslToRgb=cC;var Sh=wr.lighten=Ib;wr.private_safeAlpha=GF;wr.private_safeColorChannel=void 0;wr.private_safeDarken=YF;wr.private_safeEmphasize=JF;wr.private_safeLighten=XF;wr.recomposeColor=Qc;wr.rgbToHex=VF;var b6=aC(NF),HF=aC(zF);function $b(e,t=0,r=1){return(0,HF.default)(e,t,r)}function sC(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,i)=>i<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function WF(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Ri(e){if(e.type)return e;if(e.charAt(0)==="#")return Ri(sC(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error((0,b6.default)(9,e));let n=e.substring(t+1,e.length-1),i;if(r==="color"){if(n=n.split(" "),i=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error((0,b6.default)(10,i))}else n=n.split(",");return n=n.map(o=>parseFloat(o)),{type:r,values:n,colorSpace:i}}const lC=e=>{const t=Ri(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};wr.colorChannel=lC;const qF=(e,t)=>{try{return lC(e)}catch{return e}};wr.private_safeColorChannel=qF;function Qc(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((i,o)=>o<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function VF(e){if(e.indexOf("#")===0)return e;const{values:t}=Ri(e);return`#${t.map((r,n)=>WF(n===3?Math.round(255*r):r)).join("")}`}function cC(e){e=Ri(e);const{values:t}=e,r=t[0],n=t[1]/100,i=t[2]/100,o=n*Math.min(i,1-i),a=(c,u=(c+r/30)%12)=>i-o*Math.max(Math.min(u-3,9-u,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),Qc({type:s,values:l})}function Ch(e){e=Ri(e);let t=e.type==="hsl"||e.type==="hsla"?Ri(cC(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function KF(e,t){const r=Ch(e),n=Ch(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function uC(e,t){return e=Ri(e),t=$b(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Qc(e)}function GF(e,t,r){try{return uC(e,t)}catch{return e}}function Bb(e,t){if(e=Ri(e),t=$b(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Qc(e)}function YF(e,t,r){try{return Bb(e,t)}catch{return e}}function Ib(e,t){if(e=Ri(e),t=$b(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Qc(e)}function XF(e,t,r){try{return Ib(e,t)}catch{return e}}function fC(e,t=.15){return Ch(e)>.5?Bb(e,t):Ib(e,t)}function JF(e,t,r){try{return fC(e,t)}catch{return e}}function ZF(e,t,r,n=1){const i=(l,c)=>Math.round((l**(1/n)*(1-r)+c**(1/n)*r)**n),o=Ri(e),a=Ri(t),s=[i(o.values[0],a.values[0]),i(o.values[1],a.values[1]),i(o.values[2],a.values[2])];return Qc({type:"rgb",values:s})}const QF=["mode","contrastThreshold","tonalOffset"],y6={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:zf.white,default:zf.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},hm={text:{primary:zf.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:zf.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function w6(e,t,r,n){const i=n.light||n,o=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Sh(e.main,i):t==="dark"&&(e.dark=wh(e.main,o)))}function eD(e="light"){return e==="dark"?{main:Ml[200],light:Ml[50],dark:Ml[400]}:{main:Ml[700],light:Ml[400],dark:Ml[800]}}function tD(e="light"){return e==="dark"?{main:El[200],light:El[50],dark:El[400]}:{main:El[500],light:El[300],dark:El[700]}}function rD(e="light"){return e==="dark"?{main:Cl[500],light:Cl[300],dark:Cl[700]}:{main:Cl[700],light:Cl[400],dark:Cl[800]}}function nD(e="light"){return e==="dark"?{main:Pl[400],light:Pl[300],dark:Pl[700]}:{main:Pl[700],light:Pl[500],dark:Pl[900]}}function iD(e="light"){return e==="dark"?{main:Al[400],light:Al[300],dark:Al[700]}:{main:Al[800],light:Al[500],dark:Al[900]}}function oD(e="light"){return e==="dark"?{main:vu[400],light:vu[300],dark:vu[700]}:{main:"#ed6c02",light:vu[500],dark:vu[900]}}function aD(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,i=Ee(e,QF),o=e.primary||eD(t),a=e.secondary||tD(t),s=e.error||rD(t),l=e.info||nD(t),c=e.success||iD(t),u=e.warning||oD(t);function f(v){return UF(v,hm.text.primary)>=r?hm.text.primary:y6.text.primary}const d=({color:v,name:w,mainShade:C=500,lightShade:y=300,darkShade:M=700})=>{if(v=W({},v),!v.main&&v[C]&&(v.main=v[C]),!v.hasOwnProperty("main"))throw new Error(la(11,w?` (${w})`:"",C));if(typeof v.main!="string")throw new Error(la(12,w?` (${w})`:"",JSON.stringify(v.main)));return w6(v,"light",y,n),w6(v,"dark",M,n),v.contrastText||(v.contrastText=f(v.main)),v},b={dark:hm,light:y6};return gn(W({common:W({},zf),mode:t,primary:d({color:o,name:"primary"}),secondary:d({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:u,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:c,name:"success"}),grey:hI,contrastThreshold:r,getContrastText:f,augmentColor:d,tonalOffset:n},b[t]),i)}const sD=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function lD(e){return Math.round(e*1e5)/1e5}const S6={textTransform:"uppercase"},C6='"Roboto", "Helvetica", "Arial", sans-serif';function cD(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=C6,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:f}=r,d=Ee(r,sD),b=i/14,p=f||(C=>`${C/c*b}rem`),v=(C,y,M,I,N)=>W({fontFamily:n,fontWeight:C,fontSize:p(y),lineHeight:M},n===C6?{letterSpacing:`${lD(I/y)}em`}:{},N,u),w={h1:v(o,96,1.167,-1.5),h2:v(o,60,1.2,-.5),h3:v(a,48,1.167,0),h4:v(a,34,1.235,.25),h5:v(a,24,1.334,0),h6:v(s,20,1.6,.15),subtitle1:v(a,16,1.75,.15),subtitle2:v(s,14,1.57,.1),body1:v(a,16,1.5,.15),body2:v(a,14,1.43,.15),button:v(s,14,1.75,.4,S6),caption:v(a,12,1.66,.4),overline:v(a,12,2.66,1,S6),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return gn(W({htmlFontSize:c,pxToRem:p,fontFamily:n,fontSize:i,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},w),d,{clone:!1})}const uD=.2,fD=.14,dD=.12;function Jt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${uD})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${fD})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${dD})`].join(",")}const hD=["none",Jt(0,2,1,-1,0,1,1,0,0,1,3,0),Jt(0,3,1,-2,0,2,2,0,0,1,5,0),Jt(0,3,3,-2,0,3,4,0,0,1,8,0),Jt(0,2,4,-1,0,4,5,0,0,1,10,0),Jt(0,3,5,-1,0,5,8,0,0,1,14,0),Jt(0,3,5,-1,0,6,10,0,0,1,18,0),Jt(0,4,5,-2,0,7,10,1,0,2,16,1),Jt(0,5,5,-3,0,8,10,1,0,3,14,2),Jt(0,5,6,-3,0,9,12,1,0,3,16,2),Jt(0,6,6,-3,0,10,14,1,0,4,18,3),Jt(0,6,7,-4,0,11,15,1,0,4,20,3),Jt(0,7,8,-4,0,12,17,2,0,5,22,4),Jt(0,7,8,-4,0,13,19,2,0,5,24,4),Jt(0,7,9,-4,0,14,21,2,0,5,26,4),Jt(0,8,9,-5,0,15,22,2,0,6,28,5),Jt(0,8,10,-5,0,16,24,2,0,6,30,5),Jt(0,8,11,-5,0,17,26,2,0,6,32,5),Jt(0,9,11,-5,0,18,28,2,0,7,34,6),Jt(0,9,12,-6,0,19,29,2,0,7,36,6),Jt(0,10,13,-6,0,20,31,3,0,8,38,7),Jt(0,10,13,-6,0,21,33,3,0,8,40,7),Jt(0,10,14,-6,0,22,35,3,0,8,42,7),Jt(0,11,14,-7,0,23,36,3,0,9,44,8),Jt(0,11,15,-7,0,24,38,3,0,9,46,8)],pD=["duration","easing","delay"],xD={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},mD={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function E6(e){return`${Math.round(e)}ms`}function gD(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function vD(e){const t=W({},xD,e.easing),r=W({},mD,e.duration);return W({getAutoHeightDuration:gD,create:(i=["all"],o={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:l=0}=o;return Ee(o,pD),(Array.isArray(i)?i:[i]).map(c=>`${c} ${typeof a=="string"?a:E6(a)} ${s} ${typeof l=="string"?l:E6(l)}`).join(",")}},e,{easing:t,duration:r})}const bD={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},yD=bD,wD=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function dC(e={},...t){const{mixins:r={},palette:n={},transitions:i={},typography:o={}}=e,a=Ee(e,wD);if(e.vars)throw new Error(la(18));const s=aD(n),l=T0(e);let c=gn(l,{mixins:LF(l.breakpoints,r),palette:s,shadows:hD.slice(),typography:cD(s,o),transitions:vD(i),zIndex:W({},yD)});return c=gn(c,a),c=t.reduce((u,f)=>gn(u,f),c),c.unstable_sxConfig=W({},_0,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(f){return R0({sx:f,theme:this})},c}function SD(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function CD(e){return parseFloat(e)}const ED=dC(),f1=ED;function ma(){const e=Qp(f1);return e[Zs]||e}function ft({props:e,name:t}){return XS({props:e,name:t,defaultTheme:f1,themeId:Zs})}var I0={},pm={exports:{}},M6;function MD(){return M6||(M6=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(r){for(var n=1;n=0)&&(i[a]=r[a]);return i}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(xm)),xm.exports}const hC=Oo(RI),AD=Oo(TI),kD=Oo(LI),_D=Oo(jO),RD=Oo(PO),TD=Oo($O);var eu=ar;Object.defineProperty(I0,"__esModule",{value:!0});var $D=I0.default=qD;I0.shouldForwardProp=Gd;I0.systemDefaultTheme=void 0;var xi=eu(MD()),uv=eu(PD()),A6=ND(hC),BD=AD;eu(kD);eu(_D);var ID=eu(RD),OD=eu(TD);const FD=["ownerState"],DD=["variants"],LD=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function pC(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(pC=function(n){return n?r:t})(e)}function ND(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=pC(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}function zD(e){return Object.keys(e).length===0}function jD(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Gd(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const UD=I0.systemDefaultTheme=(0,ID.default)(),HD=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function rd({defaultTheme:e,theme:t,themeId:r}){return zD(t)?e:t[r]||t}function WD(e){return e?(t,r)=>r[e]:null}function Yd(e,t){let{ownerState:r}=t,n=(0,uv.default)(t,FD);const i=typeof e=="function"?e((0,xi.default)({ownerState:r},n)):e;if(Array.isArray(i))return i.flatMap(o=>Yd(o,(0,xi.default)({ownerState:r},n)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:o=[]}=i;let s=(0,uv.default)(i,DD);return o.forEach(l=>{let c=!0;typeof l.props=="function"?c=l.props((0,xi.default)({ownerState:r},n,r)):Object.keys(l.props).forEach(u=>{(r==null?void 0:r[u])!==l.props[u]&&n[u]!==l.props[u]&&(c=!1)}),c&&(Array.isArray(s)||(s=[s]),s.push(typeof l.style=="function"?l.style((0,xi.default)({ownerState:r},n,r)):l.style))}),s}return i}function qD(e={}){const{themeId:t,defaultTheme:r=UD,rootShouldForwardProp:n=Gd,slotShouldForwardProp:i=Gd}=e,o=a=>(0,OD.default)((0,xi.default)({},a,{theme:rd((0,xi.default)({},a,{defaultTheme:r,themeId:t}))}));return o.__mui_systemSx=!0,(a,s={})=>{(0,A6.internal_processStyles)(a,N=>N.filter(O=>!(O!=null&&O.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:f,overridesResolver:d=WD(HD(c))}=s,b=(0,uv.default)(s,LD),p=u!==void 0?u:c&&c!=="Root"&&c!=="root"||!1,v=f||!1;let w,C=Gd;c==="Root"||c==="root"?C=n:c?C=i:jD(a)&&(C=void 0);const y=(0,A6.default)(a,(0,xi.default)({shouldForwardProp:C,label:w},b)),M=N=>typeof N=="function"&&N.__emotion_real!==N||(0,BD.isPlainObject)(N)?O=>Yd(N,(0,xi.default)({},O,{theme:rd({theme:O.theme,defaultTheme:r,themeId:t})})):N,I=(N,...O)=>{let D=M(N);const T=O?O.map(M):[];l&&d&&T.push(A=>{const x=rd((0,xi.default)({},A,{defaultTheme:r,themeId:t}));if(!x.components||!x.components[l]||!x.components[l].styleOverrides)return null;const g=x.components[l].styleOverrides,h={};return Object.entries(g).forEach(([m,S])=>{h[m]=Yd(S,(0,xi.default)({},A,{theme:x}))}),d(A,h)}),l&&!p&&T.push(A=>{var x;const g=rd((0,xi.default)({},A,{defaultTheme:r,themeId:t})),h=g==null||(x=g.components)==null||(x=x[l])==null?void 0:x.variants;return Yd({variants:h},(0,xi.default)({},A,{theme:g}))}),v||T.push(o);const F=T.length-O.length;if(Array.isArray(N)&&F>0){const A=new Array(F).fill("");D=[...N,...A],D.raw=[...N.raw,...A]}const k=y(D,...T);return a.muiName&&(k.muiName=a.muiName),k};return y.withConfig&&(I.withConfig=y.withConfig),I}}function xC(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const VD=e=>xC(e)&&e!=="classes",Zr=VD,he=$D({themeId:Zs,defaultTheme:f1,rootShouldForwardProp:Zr}),KD=["theme"];function yfe(e){let{theme:t}=e,r=Ee(e,KD);const n=t[Zs];return Y.jsx(AF,W({},r,{themeId:n?Zs:void 0,theme:n||t}))}const k6=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function GD(e){return nt("MuiSvgIcon",e)}tt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const YD=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],XD=e=>{const{color:t,fontSize:r,classes:n}=e,i={root:["root",t!=="inherit"&&`color${de(t)}`,`fontSize${de(r)}`]};return it(i,GD,n)},JD=he("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${de(r.color)}`],t[`fontSize${de(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,i,o,a,s,l,c,u,f,d,b,p;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(i=e.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((o=e.typography)==null||(a=o.pxToRem)==null?void 0:a.call(o,20))||"1.25rem",medium:((s=e.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem",large:((c=e.typography)==null||(u=c.pxToRem)==null?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:(f=(d=(e.vars||e).palette)==null||(d=d[t.color])==null?void 0:d.main)!=null?f:{action:(b=(e.vars||e).palette)==null||(b=b.action)==null?void 0:b.active,disabled:(p=(e.vars||e).palette)==null||(p=p.action)==null?void 0:p.disabled,inherit:void 0}[t.color]}}),fv=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiSvgIcon"}),{children:i,className:o,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:f,viewBox:d="0 0 24 24"}=n,b=Ee(n,YD),p=U.isValidElement(i)&&i.type==="svg",v=W({},n,{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:d,hasSvgAsChild:p}),w={};u||(w.viewBox=d);const C=XD(v);return Y.jsxs(JD,W({as:s,className:Se(C.root,o),focusable:"false",color:c,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:r},w,b,p&&i.props,{ownerState:v,children:[p?i.props.children:i,f?Y.jsx("title",{children:f}):null]}))});fv.muiName="SvgIcon";function fn(e,t){function r(n,i){return Y.jsx(fv,W({"data-testid":`${t}Icon`,ref:i},n,{children:e}))}return r.muiName=fv.muiName,U.memo(U.forwardRef(r))}const ZD={configure:e=>{Pb.configure(e)}},QD=Object.freeze(Object.defineProperty({__proto__:null,capitalize:de,createChainedFunction:lv,createSvgIcon:fn,debounce:Jc,deprecatedPropType:oF,isMuiElement:df,ownerDocument:Mr,ownerWindow:_i,requirePropFactory:aF,setRef:jf,unstable_ClassNameGenerator:ZD,unstable_useEnhancedEffect:bn,unstable_useId:Qa,unsupportedProp:lF,useControlled:Ua,useEventCallback:kr,useForkRef:qt,useIsFocusVisible:Rb},Symbol.toStringTag,{value:"Module"}));function d1(e){return ft}function dv(e,t){return dv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},dv(e,t)}function mC(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,dv(e,t)}var gC={exports:{}},si={},vC={exports:{}},bC={};/** + * @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. + */(function(e){function t(R,B){var P=R.length;R.push(B);e:for(;0>>1,_=R[E];if(0>>1;Ei(L,P))q<_&&0>i(X,L)?(R[E]=X,R[q]=P,E=q):(R[E]=L,R[H]=P,E=H);else if(q<_&&0>i(X,P))R[E]=X,R[q]=P,E=q;else break e}}return B}function i(R,B){var P=R.sortIndex-B.sortIndex;return P!==0?P:R.id-B.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],u=1,f=null,d=3,b=!1,p=!1,v=!1,w=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function M(R){for(var B=r(c);B!==null;){if(B.callback===null)n(c);else if(B.startTime<=R)n(c),B.sortIndex=B.expirationTime,t(l,B);else break;B=r(c)}}function I(R){if(v=!1,M(R),!p)if(r(l)!==null)p=!0,S(N);else{var B=r(c);B!==null&&$(I,B.startTime-R)}}function N(R,B){p=!1,v&&(v=!1,C(T),T=-1),b=!0;var P=d;try{for(M(B),f=r(l);f!==null&&(!(f.expirationTime>B)||R&&!A());){var E=f.callback;if(typeof E=="function"){f.callback=null,d=f.priorityLevel;var _=E(f.expirationTime<=B);B=e.unstable_now(),typeof _=="function"?f.callback=_:f===r(l)&&n(l),M(B)}else n(l);f=r(l)}if(f!==null)var z=!0;else{var H=r(c);H!==null&&$(I,H.startTime-B),z=!1}return z}finally{f=null,d=P,b=!1}}var O=!1,D=null,T=-1,F=5,k=-1;function A(){return!(e.unstable_now()-kR||125E?(R.sortIndex=P,t(c,R),r(l)===null&&R===r(c)&&(v?(C(T),T=-1):v=!0,$(I,P-E))):(R.sortIndex=_,t(l,R),p||b||(p=!0,S(N))),R},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(R){var B=d;return function(){var P=d;d=B;try{return R.apply(this,arguments)}finally{d=P}}}})(bC);vC.exports=bC;var eL=vC.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 yC=U,ii=eL;function Be(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),hv=Object.prototype.hasOwnProperty,tL=/^[: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]*$/,_6={},R6={};function rL(e){return hv.call(R6,e)?!0:hv.call(_6,e)?!1:tL.test(e)?R6[e]=!0:(_6[e]=!0,!1)}function nL(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function iL(e,t,r,n){if(t===null||typeof t>"u"||nL(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function wn(e,t,r,n,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var Jr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Jr[e]=new wn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Jr[t]=new wn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Jr[e]=new wn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Jr[e]=new wn(e,2,!1,e,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(e){Jr[e]=new wn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Jr[e]=new wn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Jr[e]=new wn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Jr[e]=new wn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Jr[e]=new wn(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ob=/[\-:]([a-z])/g;function Fb(e){return e[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(e){var t=e.replace(Ob,Fb);Jr[t]=new wn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ob,Fb);Jr[t]=new wn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ob,Fb);Jr[t]=new wn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Jr[e]=new wn(e,1,!1,e.toLowerCase(),null,!1,!1)});Jr.xlinkHref=new wn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Jr[e]=new wn(e,1,!1,e.toLowerCase(),null,!0,!0)});function Db(e,t,r,n){var i=Jr.hasOwnProperty(t)?Jr[t]:null;(i!==null?i.type!==0:n||!(2s||i[a]!==o[s]){var l=` +`+i[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{gm=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Qu(e):""}function oL(e){switch(e.tag){case 5:return Qu(e.type);case 16:return Qu("Lazy");case 13:return Qu("Suspense");case 19:return Qu("SuspenseList");case 0:case 2:case 15:return e=vm(e.type,!1),e;case 11:return e=vm(e.type.render,!1),e;case 1:return e=vm(e.type,!0),e;default:return""}}function gv(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ul:return"Fragment";case jl:return"Portal";case pv:return"Profiler";case Lb:return"StrictMode";case xv:return"Suspense";case mv:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case CC:return(e.displayName||"Context")+".Consumer";case SC:return(e._context.displayName||"Context")+".Provider";case Nb:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case zb:return t=e.displayName||null,t!==null?t:gv(e.type)||"Memo";case $a:t=e._payload,e=e._init;try{return gv(e(t))}catch{}}return null}function aL(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return gv(t);case 8:return t===Lb?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function es(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function MC(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function sL(e){var t=MC(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){n=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function id(e){e._valueTracker||(e._valueTracker=sL(e))}function PC(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=MC(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Eh(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function vv(e,t){var r=t.checked;return or({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function $6(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=es(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function AC(e,t){t=t.checked,t!=null&&Db(e,"checked",t,!1)}function bv(e,t){AC(e,t);var r=es(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?yv(e,t.type,r):t.hasOwnProperty("defaultValue")&&yv(e,t.type,es(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function B6(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function yv(e,t,r){(t!=="number"||Eh(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var ef=Array.isArray;function lc(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=od.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Wf(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var hf={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},lL=["Webkit","ms","Moz","O"];Object.keys(hf).forEach(function(e){lL.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),hf[t]=hf[e]})});function TC(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||hf.hasOwnProperty(e)&&hf[e]?(""+t).trim():t+"px"}function $C(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=TC(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var cL=or({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 Cv(e,t){if(t){if(cL[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Be(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Be(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Be(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Be(62))}}function Ev(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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 Mv=null;function jb(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Pv=null,cc=null,uc=null;function F6(e){if(e=D0(e)){if(typeof Pv!="function")throw Error(Be(280));var t=e.stateNode;t&&(t=g1(t),Pv(e.stateNode,e.type,t))}}function BC(e){cc?uc?uc.push(e):uc=[e]:cc=e}function IC(){if(cc){var e=cc,t=uc;if(uc=cc=null,F6(e),t)for(e=0;e>>=0,e===0?32:31-(yL(e)/wL|0)|0}var ad=64,sd=4194304;function tf(e){switch(e&-e){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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function kh(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,i=e.suspendedLanes,o=e.pingedLanes,a=r&268435455;if(a!==0){var s=a&~i;s!==0?n=tf(s):(o&=a,o!==0&&(n=tf(o)))}else a=r&~i,a!==0?n=tf(a):o!==0&&(n=tf(o));if(n===0)return 0;if(t!==0&&t!==n&&!(t&i)&&(i=n&-n,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function O0(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ao(t),e[t]=r}function ML(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=xf),q6=" ",V6=!1;function eE(e,t){switch(e){case"keyup":return QL.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tE(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Hl=!1;function tN(e,t){switch(e){case"compositionend":return tE(t);case"keypress":return t.which!==32?null:(V6=!0,q6);case"textInput":return e=t.data,e===q6&&V6?null:e;default:return null}}function rN(e,t){if(Hl)return e==="compositionend"||!Yb&&eE(e,t)?(e=ZC(),Jd=Vb=La=null,Hl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=X6(r)}}function oE(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?oE(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function aE(){for(var e=window,t=Eh();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Eh(e.document)}return t}function Xb(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function fN(e){var t=aE(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&oE(r.ownerDocument.documentElement,r)){if(n!==null&&Xb(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=r.textContent.length,o=Math.min(n.start,i);n=n.end===void 0?o:Math.min(n.end,i),!e.extend&&o>n&&(i=n,n=o,o=i),i=J6(r,o);var a=J6(r,n);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Wl=null,$v=null,gf=null,Bv=!1;function Z6(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Bv||Wl==null||Wl!==Eh(n)||(n=Wl,"selectionStart"in n&&Xb(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),gf&&Xf(gf,n)||(gf=n,n=Th($v,"onSelect"),0Kl||(e.current=Nv[Kl],Nv[Kl]=null,Kl--)}function Wt(e,t){Kl++,Nv[Kl]=e.current,e.current=t}var ts={},un=us(ts),Tn=us(!1),el=ts;function Pc(e,t){var r=e.type.contextTypes;if(!r)return ts;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in r)i[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function $n(e){return e=e.childContextTypes,e!=null}function Bh(){Yt(Tn),Yt(un)}function o8(e,t,r){if(un.current!==ts)throw Error(Be(168));Wt(un,t),Wt(Tn,r)}function xE(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in t))throw Error(Be(108,aL(e)||"Unknown",i));return or({},r,n)}function Ih(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ts,el=un.current,Wt(un,e),Wt(Tn,Tn.current),!0}function a8(e,t,r){var n=e.stateNode;if(!n)throw Error(Be(169));r?(e=xE(e,t,el),n.__reactInternalMemoizedMergedChildContext=e,Yt(Tn),Yt(un),Wt(un,e)):Yt(Tn),Wt(Tn,r)}var Ko=null,v1=!1,$m=!1;function mE(e){Ko===null?Ko=[e]:Ko.push(e)}function CN(e){v1=!0,mE(e)}function fs(){if(!$m&&Ko!==null){$m=!0;var e=0,t=zt;try{var r=Ko;for(zt=1;e>=a,i-=a,Xo=1<<32-ao(t)+i|r<T?(F=D,D=null):F=D.sibling;var k=d(C,D,M[T],I);if(k===null){D===null&&(D=F);break}e&&D&&k.alternate===null&&t(C,D),y=o(k,y,T),O===null?N=k:O.sibling=k,O=k,D=F}if(T===M.length)return r(C,D),Qt&&Rs(C,T),N;if(D===null){for(;TT?(F=D,D=null):F=D.sibling;var A=d(C,D,k.value,I);if(A===null){D===null&&(D=F);break}e&&D&&A.alternate===null&&t(C,D),y=o(A,y,T),O===null?N=A:O.sibling=A,O=A,D=F}if(k.done)return r(C,D),Qt&&Rs(C,T),N;if(D===null){for(;!k.done;T++,k=M.next())k=f(C,k.value,I),k!==null&&(y=o(k,y,T),O===null?N=k:O.sibling=k,O=k);return Qt&&Rs(C,T),N}for(D=n(C,D);!k.done;T++,k=M.next())k=b(D,C,T,k.value,I),k!==null&&(e&&k.alternate!==null&&D.delete(k.key===null?T:k.key),y=o(k,y,T),O===null?N=k:O.sibling=k,O=k);return e&&D.forEach(function(x){return t(C,x)}),Qt&&Rs(C,T),N}function w(C,y,M,I){if(typeof M=="object"&&M!==null&&M.type===Ul&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case nd:e:{for(var N=M.key,O=y;O!==null;){if(O.key===N){if(N=M.type,N===Ul){if(O.tag===7){r(C,O.sibling),y=i(O,M.props.children),y.return=C,C=y;break e}}else if(O.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===$a&&h8(N)===O.type){r(C,O.sibling),y=i(O,M.props),y.ref=Eu(C,O,M),y.return=C,C=y;break e}r(C,O);break}else t(C,O);O=O.sibling}M.type===Ul?(y=Vs(M.props.children,C.mode,I,M.key),y.return=C,C=y):(I=oh(M.type,M.key,M.props,null,C.mode,I),I.ref=Eu(C,y,M),I.return=C,C=I)}return a(C);case jl:e:{for(O=M.key;y!==null;){if(y.key===O)if(y.tag===4&&y.stateNode.containerInfo===M.containerInfo&&y.stateNode.implementation===M.implementation){r(C,y.sibling),y=i(y,M.children||[]),y.return=C,C=y;break e}else{r(C,y);break}else t(C,y);y=y.sibling}y=zm(M,C.mode,I),y.return=C,C=y}return a(C);case $a:return O=M._init,w(C,y,O(M._payload),I)}if(ef(M))return p(C,y,M,I);if(bu(M))return v(C,y,M,I);pd(C,M)}return typeof M=="string"&&M!==""||typeof M=="number"?(M=""+M,y!==null&&y.tag===6?(r(C,y.sibling),y=i(y,M),y.return=C,C=y):(r(C,y),y=Nm(M,C.mode,I),y.return=C,C=y),a(C)):r(C,y)}return w}var kc=EE(!0),ME=EE(!1),L0={},Mo=us(L0),e0=us(L0),t0=us(L0);function Ds(e){if(e===L0)throw Error(Be(174));return e}function o4(e,t){switch(Wt(t0,t),Wt(e0,e),Wt(Mo,L0),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Sv(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Sv(t,e)}Yt(Mo),Wt(Mo,t)}function _c(){Yt(Mo),Yt(e0),Yt(t0)}function PE(e){Ds(t0.current);var t=Ds(Mo.current),r=Sv(t,e.type);t!==r&&(Wt(e0,e),Wt(Mo,r))}function a4(e){e0.current===e&&(Yt(Mo),Yt(e0))}var rr=us(0);function zh(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Bm=[];function s4(){for(var e=0;er?r:4,e(!0);var n=Im.transition;Im.transition={};try{e(!1),t()}finally{zt=r,Im.transition=n}}function UE(){return $i().memoizedState}function AN(e,t,r){var n=Ya(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},HE(e))WE(t,r);else if(r=yE(e,t,r,n),r!==null){var i=vn();so(r,e,n,i),qE(r,t,n)}}function kN(e,t,r){var n=Ya(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(HE(e))WE(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,r);if(i.hasEagerState=!0,i.eagerState=s,lo(s,a)){var l=t.interleaved;l===null?(i.next=i,n4(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}r=yE(e,t,i,n),r!==null&&(i=vn(),so(r,e,n,i),qE(r,t,n))}}function HE(e){var t=e.alternate;return e===nr||t!==null&&t===nr}function WE(e,t){vf=jh=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function qE(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Hb(e,r)}}var Uh={readContext:Ti,useCallback:tn,useContext:tn,useEffect:tn,useImperativeHandle:tn,useInsertionEffect:tn,useLayoutEffect:tn,useMemo:tn,useReducer:tn,useRef:tn,useState:tn,useDebugValue:tn,useDeferredValue:tn,useTransition:tn,useMutableSource:tn,useSyncExternalStore:tn,useId:tn,unstable_isNewReconciler:!1},_N={readContext:Ti,useCallback:function(e,t){return xo().memoizedState=[e,t===void 0?null:t],e},useContext:Ti,useEffect:x8,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,th(4194308,4,DE.bind(null,t,e),r)},useLayoutEffect:function(e,t){return th(4194308,4,e,t)},useInsertionEffect:function(e,t){return th(4,2,e,t)},useMemo:function(e,t){var r=xo();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=xo();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=AN.bind(null,nr,e),[n.memoizedState,e]},useRef:function(e){var t=xo();return e={current:e},t.memoizedState=e},useState:p8,useDebugValue:d4,useDeferredValue:function(e){return xo().memoizedState=e},useTransition:function(){var e=p8(!1),t=e[0];return e=PN.bind(null,e[1]),xo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=nr,i=xo();if(Qt){if(r===void 0)throw Error(Be(407));r=r()}else{if(r=t(),Fr===null)throw Error(Be(349));rl&30||_E(n,t,r)}i.memoizedState=r;var o={value:r,getSnapshot:t};return i.queue=o,x8(TE.bind(null,n,o,e),[e]),n.flags|=2048,i0(9,RE.bind(null,n,o,r,t),void 0,null),r},useId:function(){var e=xo(),t=Fr.identifierPrefix;if(Qt){var r=Jo,n=Xo;r=(n&~(1<<32-ao(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=r0++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=a.createElement(r,{is:n.is}):(e=a.createElement(r),r==="select"&&(a=e,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):e=a.createElementNS(e,r),e[bo]=t,e[Qf]=n,eM(e,t,!1,!1),t.stateNode=e;e:{switch(a=Ev(r,n),r){case"dialog":Gt("cancel",e),Gt("close",e),i=n;break;case"iframe":case"object":case"embed":Gt("load",e),i=n;break;case"video":case"audio":for(i=0;iTc&&(t.flags|=128,n=!0,Mu(o,!1),t.lanes=4194304)}else{if(!n)if(e=zh(a),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Mu(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!Qt)return rn(t),null}else 2*vr()-o.renderingStartTime>Tc&&r!==1073741824&&(t.flags|=128,n=!0,Mu(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(r=o.last,r!==null?r.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=vr(),t.sibling=null,r=rr.current,Wt(rr,n?r&1|2:r&1),t):(rn(t),null);case 22:case 23:return v4(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?qn&1073741824&&(rn(t),t.subtreeFlags&6&&(t.flags|=8192)):rn(t),null;case 24:return null;case 25:return null}throw Error(Be(156,t.tag))}function DN(e,t){switch(Zb(t),t.tag){case 1:return $n(t.type)&&Bh(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _c(),Yt(Tn),Yt(un),s4(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return a4(t),null;case 13:if(Yt(rr),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Be(340));Ac()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Yt(rr),null;case 4:return _c(),null;case 10:return r4(t.type._context),null;case 22:case 23:return v4(),null;case 24:return null;default:return null}}var md=!1,an=!1,LN=typeof WeakSet=="function"?WeakSet:Set,et=null;function Jl(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){ur(e,t,n)}else r.current=null}function Jv(e,t,r){try{r()}catch(n){ur(e,t,n)}}var E8=!1;function NN(e,t){if(Iv=_h,e=aE(),Xb(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break e}var a=0,s=-1,l=-1,c=0,u=0,f=e,d=null;t:for(;;){for(var b;f!==r||i!==0&&f.nodeType!==3||(s=a+i),f!==o||n!==0&&f.nodeType!==3||(l=a+n),f.nodeType===3&&(a+=f.nodeValue.length),(b=f.firstChild)!==null;)d=f,f=b;for(;;){if(f===e)break t;if(d===r&&++c===i&&(s=a),d===o&&++u===n&&(l=a),(b=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=b}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(Ov={focusedElem:e,selectionRange:r},_h=!1,et=t;et!==null;)if(t=et,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,et=e;else for(;et!==null;){t=et;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var v=p.memoizedProps,w=p.memoizedState,C=t.stateNode,y=C.getSnapshotBeforeUpdate(t.elementType===t.type?v:Xi(t.type,v),w);C.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var M=t.stateNode.containerInfo;M.nodeType===1?M.textContent="":M.nodeType===9&&M.documentElement&&M.removeChild(M.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Be(163))}}catch(I){ur(t,t.return,I)}if(e=t.sibling,e!==null){e.return=t.return,et=e;break}et=t.return}return p=E8,E8=!1,p}function bf(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Jv(t,r,o)}i=i.next}while(i!==n)}}function w1(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Zv(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function nM(e){var t=e.alternate;t!==null&&(e.alternate=null,nM(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[bo],delete t[Qf],delete t[Lv],delete t[wN],delete t[SN])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function iM(e){return e.tag===5||e.tag===3||e.tag===4}function M8(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||iM(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Qv(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=$h));else if(n!==4&&(e=e.child,e!==null))for(Qv(e,t,r),e=e.sibling;e!==null;)Qv(e,t,r),e=e.sibling}function e2(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(e2(e,t,r),e=e.sibling;e!==null;)e2(e,t,r),e=e.sibling}var Kr=null,Zi=!1;function Ma(e,t,r){for(r=r.child;r!==null;)oM(e,t,r),r=r.sibling}function oM(e,t,r){if(Eo&&typeof Eo.onCommitFiberUnmount=="function")try{Eo.onCommitFiberUnmount(h1,r)}catch{}switch(r.tag){case 5:an||Jl(r,t);case 6:var n=Kr,i=Zi;Kr=null,Ma(e,t,r),Kr=n,Zi=i,Kr!==null&&(Zi?(e=Kr,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Kr.removeChild(r.stateNode));break;case 18:Kr!==null&&(Zi?(e=Kr,r=r.stateNode,e.nodeType===8?Tm(e.parentNode,r):e.nodeType===1&&Tm(e,r),Gf(e)):Tm(Kr,r.stateNode));break;case 4:n=Kr,i=Zi,Kr=r.stateNode.containerInfo,Zi=!0,Ma(e,t,r),Kr=n,Zi=i;break;case 0:case 11:case 14:case 15:if(!an&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&Jv(r,t,a),i=i.next}while(i!==n)}Ma(e,t,r);break;case 1:if(!an&&(Jl(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){ur(r,t,s)}Ma(e,t,r);break;case 21:Ma(e,t,r);break;case 22:r.mode&1?(an=(n=an)||r.memoizedState!==null,Ma(e,t,r),an=n):Ma(e,t,r);break;default:Ma(e,t,r)}}function P8(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new LN),t.forEach(function(n){var i=GN.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function Vi(e,t){var r=t.deletions;if(r!==null)for(var n=0;ni&&(i=a),n&=~o}if(n=i,n=vr()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*jN(n/1960))-n,10e?16:e,Na===null)var n=!1;else{if(e=Na,Na=null,qh=0,It&6)throw Error(Be(331));var i=It;for(It|=4,et=e.current;et!==null;){var o=et,a=o.child;if(et.flags&16){var s=o.deletions;if(s!==null){for(var l=0;lvr()-m4?qs(e,0):x4|=r),Bn(e,t)}function hM(e,t){t===0&&(e.mode&1?(t=sd,sd<<=1,!(sd&130023424)&&(sd=4194304)):t=1);var r=vn();e=fa(e,t),e!==null&&(O0(e,t,r),Bn(e,r))}function KN(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),hM(e,r)}function GN(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(Be(314))}n!==null&&n.delete(t),hM(e,r)}var pM;pM=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Tn.current)kn=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return kn=!1,ON(e,t,r);kn=!!(e.flags&131072)}else kn=!1,Qt&&t.flags&1048576&&gE(t,Fh,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;rh(e,t),e=t.pendingProps;var i=Pc(t,un.current);dc(t,r),i=c4(null,t,n,e,i,r);var o=u4();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,$n(n)?(o=!0,Ih(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i4(t),i.updater=b1,t.stateNode=i,i._reactInternals=t,Wv(t,n,e,r),t=Kv(null,t,n,!0,o,r)):(t.tag=0,Qt&&o&&Jb(t),hn(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(rh(e,t),e=t.pendingProps,i=n._init,n=i(n._payload),t.type=n,i=t.tag=XN(n),e=Xi(n,e),i){case 0:t=Vv(null,t,n,e,r);break e;case 1:t=w8(null,t,n,e,r);break e;case 11:t=b8(null,t,n,e,r);break e;case 14:t=y8(null,t,n,Xi(n.type,e),r);break e}throw Error(Be(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xi(n,i),Vv(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xi(n,i),w8(e,t,n,i,r);case 3:e:{if(JE(t),e===null)throw Error(Be(387));n=t.pendingProps,o=t.memoizedState,i=o.element,wE(e,t),Nh(t,n,null,r);var a=t.memoizedState;if(n=a.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Rc(Error(Be(423)),t),t=S8(e,t,n,r,i);break e}else if(n!==i){i=Rc(Error(Be(424)),t),t=S8(e,t,n,r,i);break e}else for(Qn=Va(t.stateNode.containerInfo.firstChild),ti=t,Qt=!0,eo=null,r=ME(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Ac(),n===i){t=da(e,t,r);break e}hn(e,t,n,r)}t=t.child}return t;case 5:return PE(t),e===null&&jv(t),n=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,Fv(n,i)?a=null:o!==null&&Fv(n,o)&&(t.flags|=32),XE(e,t),hn(e,t,a,r),t.child;case 6:return e===null&&jv(t),null;case 13:return ZE(e,t,r);case 4:return o4(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=kc(t,null,n,r):hn(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xi(n,i),b8(e,t,n,i,r);case 7:return hn(e,t,t.pendingProps,r),t.child;case 8:return hn(e,t,t.pendingProps.children,r),t.child;case 12:return hn(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,Wt(Dh,n._currentValue),n._currentValue=a,o!==null)if(lo(o.value,a)){if(o.children===i.children&&!Tn.current){t=da(e,t,r);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===n){if(o.tag===1){l=na(-1,r&-r),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=r,l=o.alternate,l!==null&&(l.lanes|=r),Uv(o.return,r,t),s.lanes|=r;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(Be(341));a.lanes|=r,s=a.alternate,s!==null&&(s.lanes|=r),Uv(a,r,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}hn(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,dc(t,r),i=Ti(i),n=n(i),t.flags|=1,hn(e,t,n,r),t.child;case 14:return n=t.type,i=Xi(n,t.pendingProps),i=Xi(n.type,i),y8(e,t,n,i,r);case 15:return GE(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xi(n,i),rh(e,t),t.tag=1,$n(n)?(e=!0,Ih(t)):e=!1,dc(t,r),CE(t,n,i),Wv(t,n,i,r),Kv(null,t,n,!0,e,r);case 19:return QE(e,t,r);case 22:return YE(e,t,r)}throw Error(Be(156,t.tag))};function xM(e,t){return jC(e,t)}function YN(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Si(e,t,r,n){return new YN(e,t,r,n)}function y4(e){return e=e.prototype,!(!e||!e.isReactComponent)}function XN(e){if(typeof e=="function")return y4(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Nb)return 11;if(e===zb)return 14}return 2}function Xa(e,t){var r=e.alternate;return r===null?(r=Si(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function oh(e,t,r,n,i,o){var a=2;if(n=e,typeof e=="function")y4(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Ul:return Vs(r.children,i,o,t);case Lb:a=8,i|=8;break;case pv:return e=Si(12,r,t,i|2),e.elementType=pv,e.lanes=o,e;case xv:return e=Si(13,r,t,i),e.elementType=xv,e.lanes=o,e;case mv:return e=Si(19,r,t,i),e.elementType=mv,e.lanes=o,e;case EC:return C1(r,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case SC:a=10;break e;case CC:a=9;break e;case Nb:a=11;break e;case zb:a=14;break e;case $a:a=16,n=null;break e}throw Error(Be(130,e==null?e:typeof e,""))}return t=Si(a,r,t,i),t.elementType=e,t.type=n,t.lanes=o,t}function Vs(e,t,r,n){return e=Si(7,e,n,t),e.lanes=r,e}function C1(e,t,r,n){return e=Si(22,e,n,t),e.elementType=EC,e.lanes=r,e.stateNode={isHidden:!1},e}function Nm(e,t,r){return e=Si(6,e,null,t),e.lanes=r,e}function zm(e,t,r){return t=Si(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function JN(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ym(0),this.expirationTimes=ym(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ym(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function w4(e,t,r,n,i,o,a,s,l){return e=new JN(e,t,r,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Si(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},i4(o),e}function ZN(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(bM)}catch{}}bM(),gC.exports=si;var k1=gC.exports;const nf=Pr(k1),nz=iw({__proto__:null,default:nf},[k1]),I8={disabled:!1},Gh=mn.createContext(null);var iz=function(t){return t.scrollTop},of="unmounted",$s="exited",Bs="entering",Fl="entered",o2="exiting",va=function(e){mC(t,e);function t(n,i){var o;o=e.call(this,n,i)||this;var a=i,s=a&&!a.isMounting?n.enter:n.appear,l;return o.appearStatus=null,n.in?s?(l=$s,o.appearStatus=Bs):l=Fl:n.unmountOnExit||n.mountOnEnter?l=of:l=$s,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===of?{status:$s}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==Bs&&a!==Fl&&(o=Bs):(a===Bs||a===Fl)&&(o=o2)}this.updateStatus(!1,o)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},r.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Bs){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:nf.findDOMNode(this);a&&iz(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===$s&&this.setState({status:of})},r.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[nf.findDOMNode(this),s],c=l[0],u=l[1],f=this.getTimeouts(),d=s?f.appear:f.enter;if(!i&&!a||I8.disabled){this.safeSetState({status:Fl},function(){o.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:Bs},function(){o.props.onEntering(c,u),o.onTransitionEnd(d,function(){o.safeSetState({status:Fl},function(){o.props.onEntered(c,u)})})})},r.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:nf.findDOMNode(this);if(!o||I8.disabled){this.safeSetState({status:$s},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:o2},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:$s},function(){i.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},r.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:nf.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===of)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=Ee(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return mn.createElement(Gh.Provider,{value:null},typeof a=="function"?a(i,s):mn.cloneElement(mn.Children.only(a),s))},t}(mn.Component);va.contextType=Gh;va.propTypes={};function Rl(){}va.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Rl,onEntering:Rl,onEntered:Rl,onExit:Rl,onExiting:Rl,onExited:Rl};va.UNMOUNTED=of;va.EXITED=$s;va.ENTERING=Bs;va.ENTERED=Fl;va.EXITING=o2;const M4=va;function oz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P4(e,t){var r=function(o){return t&&U.isValidElement(o)?t(o):o},n=Object.create(null);return e&&U.Children.map(e,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function az(e,t){e=e||{},t=t||{};function r(u){return u in t?t[u]:e[u]}var n=Object.create(null),i=[];for(var o in e)o in t?i.length&&(n[o]=i,i=[]):i.push(o);var a,s={};for(var l in t){if(n[l])for(a=0;ae.scrollTop;function $c(e,t){var r,n;const{timeout:i,easing:o,style:a={}}=e;return{duration:(r=a.transitionDuration)!=null?r:typeof i=="number"?i:i[t.mode]||0,easing:(n=a.transitionTimingFunction)!=null?n:typeof o=="object"?o[t.mode]:o,delay:a.transitionDelay}}function dz(e){return nt("MuiPaper",e)}tt("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const hz=["className","component","elevation","square","variant"],pz=e=>{const{square:t,elevation:r,variant:n,classes:i}=e,o={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return it(o,dz,i)},xz=he("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;return W({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&W({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Ct("#fff",k6(t.elevation))}, ${Ct("#fff",k6(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),mz=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:a=1,square:s=!1,variant:l="elevation"}=n,c=Ee(n,hz),u=W({},n,{component:o,elevation:a,square:s,variant:l}),f=pz(u);return Y.jsx(xz,W({as:o,ownerState:u,className:Se(f.root,i),ref:r},c))}),ba=mz;function ol(e){return typeof e=="string"}function Ql(e,t,r){return e===void 0||ol(e)?t:W({},t,{ownerState:W({},t.ownerState,r)})}const gz={disableDefaultClasses:!1},vz=U.createContext(gz);function bz(e){const{disableDefaultClasses:t}=U.useContext(vz);return r=>t?"":e(r)}function Yh(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function yM(e,t,r){return typeof e=="function"?e(t,r):e}function O8(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function wM(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:i,className:o}=e;if(!t){const b=Se(r==null?void 0:r.className,o,i==null?void 0:i.className,n==null?void 0:n.className),p=W({},r==null?void 0:r.style,i==null?void 0:i.style,n==null?void 0:n.style),v=W({},r,i,n);return b.length>0&&(v.className=b),Object.keys(p).length>0&&(v.style=p),{props:v,internalRef:void 0}}const a=Yh(W({},i,n)),s=O8(n),l=O8(i),c=t(a),u=Se(c==null?void 0:c.className,r==null?void 0:r.className,o,i==null?void 0:i.className,n==null?void 0:n.className),f=W({},c==null?void 0:c.style,r==null?void 0:r.style,i==null?void 0:i.style,n==null?void 0:n.style),d=W({},c,r,l,s);return u.length>0&&(d.className=u),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:c.ref}}const yz=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Nn(e){var t;const{elementType:r,externalSlotProps:n,ownerState:i,skipResolvingSlotProps:o=!1}=e,a=Ee(e,yz),s=o?{}:yM(n,i),{props:l,internalRef:c}=wM(W({},a,{externalSlotProps:s})),u=qt(c,s==null?void 0:s.ref,(t=e.additionalProps)==null?void 0:t.ref);return Ql(r,W({},l,{ref:u}),i)}const wz=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],Sz=["component","slots","slotProps"],Cz=["component"];function a2(e,t){const{className:r,elementType:n,ownerState:i,externalForwardedProps:o,getSlotOwnerState:a,internalForwardedProps:s}=t,l=Ee(t,wz),{component:c,slots:u={[e]:void 0},slotProps:f={[e]:void 0}}=o,d=Ee(o,Sz),b=u[e]||n,p=yM(f[e],i),v=wM(W({className:r},l,{externalForwardedProps:e==="root"?d:void 0,externalSlotProps:p})),{props:{component:w},internalRef:C}=v,y=Ee(v.props,Cz),M=qt(C,p==null?void 0:p.ref,t.ref),I=a?a(y):{},N=W({},i,I),O=e==="root"?w||c:w,D=Ql(b,W({},e==="root"&&!c&&!u[e]&&s,e!=="root"&&!u[e]&&s,y,O&&{as:O},{ref:M}),N);return Object.keys(I).forEach(T=>{delete D[T]}),[b,D]}function Ez(e){const{className:t,classes:r,pulsate:n=!1,rippleX:i,rippleY:o,rippleSize:a,in:s,onExited:l,timeout:c}=e,[u,f]=U.useState(!1),d=Se(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),b={width:a,height:a,top:-(a/2)+o,left:-(a/2)+i},p=Se(r.child,u&&r.childLeaving,n&&r.childPulsate);return!s&&!u&&f(!0),U.useEffect(()=>{if(!s&&l!=null){const v=setTimeout(l,c);return()=>{clearTimeout(v)}}},[l,s,c]),Y.jsx("span",{className:d,style:b,children:Y.jsx("span",{className:p})})}const gi=tt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Mz=["center","classes","className"];let _1=e=>e,F8,D8,L8,N8;const s2=550,Pz=80,Az=ls(F8||(F8=_1` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),kz=ls(D8||(D8=_1` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),_z=ls(L8||(L8=_1` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),Rz=he("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Tz=he(Ez,{name:"MuiTouchRipple",slot:"Ripple"})(N8||(N8=_1` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),gi.rippleVisible,Az,s2,({theme:e})=>e.transitions.easing.easeInOut,gi.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,gi.child,gi.childLeaving,kz,s2,({theme:e})=>e.transitions.easing.easeInOut,gi.childPulsate,_z,({theme:e})=>e.transitions.easing.easeInOut),$z=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:a}=n,s=Ee(n,Mz),[l,c]=U.useState([]),u=U.useRef(0),f=U.useRef(null);U.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const d=U.useRef(!1),b=Is(),p=U.useRef(null),v=U.useRef(null),w=U.useCallback(I=>{const{pulsate:N,rippleX:O,rippleY:D,rippleSize:T,cb:F}=I;c(k=>[...k,Y.jsx(Tz,{classes:{ripple:Se(o.ripple,gi.ripple),rippleVisible:Se(o.rippleVisible,gi.rippleVisible),ripplePulsate:Se(o.ripplePulsate,gi.ripplePulsate),child:Se(o.child,gi.child),childLeaving:Se(o.childLeaving,gi.childLeaving),childPulsate:Se(o.childPulsate,gi.childPulsate)},timeout:s2,pulsate:N,rippleX:O,rippleY:D,rippleSize:T},u.current)]),u.current+=1,f.current=F},[o]),C=U.useCallback((I={},N={},O=()=>{})=>{const{pulsate:D=!1,center:T=i||N.pulsate,fakeElement:F=!1}=N;if((I==null?void 0:I.type)==="mousedown"&&d.current){d.current=!1;return}(I==null?void 0:I.type)==="touchstart"&&(d.current=!0);const k=F?null:v.current,A=k?k.getBoundingClientRect():{width:0,height:0,left:0,top:0};let x,g,h;if(T||I===void 0||I.clientX===0&&I.clientY===0||!I.clientX&&!I.touches)x=Math.round(A.width/2),g=Math.round(A.height/2);else{const{clientX:m,clientY:S}=I.touches&&I.touches.length>0?I.touches[0]:I;x=Math.round(m-A.left),g=Math.round(S-A.top)}if(T)h=Math.sqrt((2*A.width**2+A.height**2)/3),h%2===0&&(h+=1);else{const m=Math.max(Math.abs((k?k.clientWidth:0)-x),x)*2+2,S=Math.max(Math.abs((k?k.clientHeight:0)-g),g)*2+2;h=Math.sqrt(m**2+S**2)}I!=null&&I.touches?p.current===null&&(p.current=()=>{w({pulsate:D,rippleX:x,rippleY:g,rippleSize:h,cb:O})},b.start(Pz,()=>{p.current&&(p.current(),p.current=null)})):w({pulsate:D,rippleX:x,rippleY:g,rippleSize:h,cb:O})},[i,w,b]),y=U.useCallback(()=>{C({},{pulsate:!0})},[C]),M=U.useCallback((I,N)=>{if(b.clear(),(I==null?void 0:I.type)==="touchend"&&p.current){p.current(),p.current=null,b.start(0,()=>{M(I,N)});return}p.current=null,c(O=>O.length>0?O.slice(1):O),f.current=N},[b]);return U.useImperativeHandle(r,()=>({pulsate:y,start:C,stop:M}),[y,C,M]),Y.jsx(Rz,W({className:Se(gi.root,o.root,a),ref:v},s,{children:Y.jsx(fz,{component:null,exit:!0,children:l})}))}),Bz=$z;function Iz(e){return nt("MuiButtonBase",e)}const Oz=tt("MuiButtonBase",["root","disabled","focusVisible"]),Fz=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Dz=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:i}=e,a=it({root:["root",t&&"disabled",r&&"focusVisible"]},Iz,i);return r&&n&&(a.root+=` ${n}`),a},Lz=he("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Oz.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Nz=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:b="a",onBlur:p,onClick:v,onContextMenu:w,onDragLeave:C,onFocus:y,onFocusVisible:M,onKeyDown:I,onKeyUp:N,onMouseDown:O,onMouseLeave:D,onMouseUp:T,onTouchEnd:F,onTouchMove:k,onTouchStart:A,tabIndex:x=0,TouchRippleProps:g,touchRippleRef:h,type:m}=n,S=Ee(n,Fz),$=U.useRef(null),R=U.useRef(null),B=qt(R,h),{isFocusVisibleRef:P,onFocus:E,onBlur:_,ref:z}=Rb(),[H,L]=U.useState(!1);c&&H&&L(!1),U.useImperativeHandle(i,()=>({focusVisible:()=>{L(!0),$.current.focus()}}),[]);const[q,X]=U.useState(!1);U.useEffect(()=>{X(!0)},[]);const J=q&&!u&&!c;U.useEffect(()=>{H&&d&&!u&&q&&R.current.pulsate()},[u,d,H,q]);function G(fe,Ie,ot=f){return kr(lt=>(Ie&&Ie(lt),!ot&&R.current&&R.current[fe](lt),!0))}const j=G("start",O),V=G("stop",w),K=G("stop",C),Z=G("stop",T),ee=G("stop",fe=>{H&&fe.preventDefault(),D&&D(fe)}),Q=G("start",A),ne=G("stop",F),xe=G("stop",k),se=G("stop",fe=>{_(fe),P.current===!1&&L(!1),p&&p(fe)},!1),ye=kr(fe=>{$.current||($.current=fe.currentTarget),E(fe),P.current===!0&&(L(!0),M&&M(fe)),y&&y(fe)}),_e=()=>{const fe=$.current;return l&&l!=="button"&&!(fe.tagName==="A"&&fe.href)},we=U.useRef(!1),He=kr(fe=>{d&&!we.current&&H&&R.current&&fe.key===" "&&(we.current=!0,R.current.stop(fe,()=>{R.current.start(fe)})),fe.target===fe.currentTarget&&_e()&&fe.key===" "&&fe.preventDefault(),I&&I(fe),fe.target===fe.currentTarget&&_e()&&fe.key==="Enter"&&!c&&(fe.preventDefault(),v&&v(fe))}),Ue=kr(fe=>{d&&fe.key===" "&&R.current&&H&&!fe.defaultPrevented&&(we.current=!1,R.current.stop(fe,()=>{R.current.pulsate(fe)})),N&&N(fe),v&&fe.target===fe.currentTarget&&_e()&&fe.key===" "&&!fe.defaultPrevented&&v(fe)});let Me=l;Me==="button"&&(S.href||S.to)&&(Me=b);const Ze={};Me==="button"?(Ze.type=m===void 0?"button":m,Ze.disabled=c):(!S.href&&!S.to&&(Ze.role="button"),c&&(Ze["aria-disabled"]=c));const Je=qt(r,z,$),Ne=W({},n,{centerRipple:o,component:l,disabled:c,disableRipple:u,disableTouchRipple:f,focusRipple:d,tabIndex:x,focusVisible:H}),De=Dz(Ne);return Y.jsxs(Lz,W({as:Me,className:Se(De.root,s),ownerState:Ne,onBlur:se,onClick:v,onContextMenu:V,onFocus:ye,onKeyDown:He,onKeyUp:Ue,onMouseDown:j,onMouseLeave:ee,onMouseUp:Z,onDragLeave:K,onTouchEnd:ne,onTouchMove:xe,onTouchStart:Q,ref:Je,tabIndex:c?-1:x,type:m},Ze,S,{children:[a,J?Y.jsx(Bz,W({ref:B,center:o},g)):null]}))}),Ro=Nz;function zz(e){return nt("MuiAlert",e)}const jz=tt("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),z8=jz;function Uz(e){return nt("MuiIconButton",e)}const Hz=tt("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Wz=["edge","children","className","color","disabled","disableFocusRipple","size"],qz=e=>{const{classes:t,disabled:r,color:n,edge:i,size:o}=e,a={root:["root",r&&"disabled",n!=="default"&&`color${de(n)}`,i&&`edge${de(i)}`,`size${de(o)}`]};return it(a,Uz,t)},Vz=he(Ro,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${de(r.color)}`],r.edge&&t[`edge${de(r.edge)}`],t[`size${de(r.size)}`]]}})(({theme:e,ownerState:t})=>W({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Ct(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var r;const n=(r=(e.vars||e).palette)==null?void 0:r[t.color];return W({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&W({color:n==null?void 0:n.main},!t.disableRipple&&{"&:hover":W({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ct(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${Hz.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),Kz=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiIconButton"}),{edge:i=!1,children:o,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:u="medium"}=n,f=Ee(n,Wz),d=W({},n,{edge:i,color:s,disabled:l,disableFocusRipple:c,size:u}),b=qz(d);return Y.jsx(Vz,W({className:Se(b.root,a),centerRipple:!0,focusRipple:!c,disabled:l,ref:r},f,{ownerState:d,children:o}))}),Ns=Kz,Gz=fn(Y.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Yz=fn(Y.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Xz=fn(Y.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),Jz=fn(Y.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),SM=fn(Y.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Zz=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],Qz=d1(),ej=e=>{const{variant:t,color:r,severity:n,classes:i}=e,o={root:["root",`color${de(r||n)}`,`${t}${de(r||n)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return it(o,zz,i)},tj=he(ba,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${de(r.color||r.severity)}`]]}})(({theme:e})=>{const t=e.palette.mode==="light"?wh:Sh,r=e.palette.mode==="light"?Sh:wh;return W({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(([,n])=>n.main&&n.light).map(([n])=>({props:{colorSeverity:n,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${n}StandardBg`]:r(e.palette[n].light,.9),[`& .${z8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(([,n])=>n.main&&n.light).map(([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),border:`1px solid ${(e.vars||e).palette[n].light}`,[`& .${z8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(([,n])=>n.main&&n.dark).map(([n])=>({props:{colorSeverity:n,variant:"filled"},style:W({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${n}FilledColor`],backgroundColor:e.vars.palette.Alert[`${n}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[n].dark:e.palette[n].main,color:e.palette.getContrastText(e.palette[n].main)})}))]})}),rj=he("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),nj=he("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),j8=he("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),U8={success:Y.jsx(Gz,{fontSize:"inherit"}),warning:Y.jsx(Yz,{fontSize:"inherit"}),error:Y.jsx(Xz,{fontSize:"inherit"}),info:Y.jsx(Jz,{fontSize:"inherit"})},ij=U.forwardRef(function(t,r){const n=Qz({props:t,name:"MuiAlert"}),{action:i,children:o,className:a,closeText:s="Close",color:l,components:c={},componentsProps:u={},icon:f,iconMapping:d=U8,onClose:b,role:p="alert",severity:v="success",slotProps:w={},slots:C={},variant:y="standard"}=n,M=Ee(n,Zz),I=W({},n,{color:l,severity:v,variant:y,colorSeverity:l||v}),N=ej(I),O={slots:W({closeButton:c.CloseButton,closeIcon:c.CloseIcon},C),slotProps:W({},u,w)},[D,T]=a2("closeButton",{elementType:Ns,externalForwardedProps:O,ownerState:I}),[F,k]=a2("closeIcon",{elementType:SM,externalForwardedProps:O,ownerState:I});return Y.jsxs(tj,W({role:p,elevation:0,ownerState:I,className:Se(N.root,a),ref:r},M,{children:[f!==!1?Y.jsx(rj,{ownerState:I,className:N.icon,children:f||d[v]||U8[v]}):null,Y.jsx(nj,{ownerState:I,className:N.message,children:o}),i!=null?Y.jsx(j8,{ownerState:I,className:N.action,children:i}):null,i==null&&b?Y.jsx(j8,{ownerState:I,className:N.action,children:Y.jsx(D,W({size:"small","aria-label":s,title:s,color:"inherit",onClick:b},T,{children:Y.jsx(F,W({fontSize:"small"},k))}))}):null]}))}),wfe=ij;function oj(e){return nt("MuiTypography",e)}tt("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const aj=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],sj=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:i,variant:o,classes:a}=e,s={root:["root",o,e.align!=="inherit"&&`align${de(t)}`,r&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return it(s,oj,a)},lj=he("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${de(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>W({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),H8={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},cj={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},uj=e=>cj[e]||e,fj=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTypography"}),i=uj(n.color),o=$0(W({},n,{color:i})),{align:a="inherit",className:s,component:l,gutterBottom:c=!1,noWrap:u=!1,paragraph:f=!1,variant:d="body1",variantMapping:b=H8}=o,p=Ee(o,aj),v=W({},o,{align:a,color:i,className:s,component:l,gutterBottom:c,noWrap:u,paragraph:f,variant:d,variantMapping:b}),w=l||(f?"p":b[d]||H8[d])||"span",C=sj(v);return Y.jsx(lj,W({as:w,ref:r,ownerState:v,className:Se(C.root,s)},p))}),Zo=fj;function dj(e){return nt("MuiAppBar",e)}tt("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const hj=["className","color","enableColorOnDark","position"],pj=e=>{const{color:t,position:r,classes:n}=e,i={root:["root",`color${de(t)}`,`position${de(r)}`]};return it(i,dj,n)},bd=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,xj=he(ba,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${de(r.position)}`],t[`color${de(r.color)}`]]}})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return W({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&W({},t.color==="default"&&{backgroundColor:r,color:e.palette.getContrastText(r)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&W({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&W({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:bd(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:bd(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:bd(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:bd(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),mj=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiAppBar"}),{className:i,color:o="primary",enableColorOnDark:a=!1,position:s="fixed"}=n,l=Ee(n,hj),c=W({},n,{color:o,position:s,enableColorOnDark:a}),u=pj(c);return Y.jsx(xj,W({square:!0,component:"header",ownerState:c,elevation:4,className:Se(u.root,i,s==="fixed"&&"mui-fixed"),ref:r},l))}),Sfe=mj;function gj(e){const{badgeContent:t,invisible:r=!1,max:n=99,showZero:i=!1}=e,o=Tb({badgeContent:t,max:n});let a=r;r===!1&&t===0&&!i&&(a=!0);const{badgeContent:s,max:l=n}=a?o:e,c=s&&Number(s)>l?`${l}+`:s;return{badgeContent:s,invisible:a,max:l,displayValue:c}}const CM="base";function vj(e){return`${CM}--${e}`}function bj(e,t){return`${CM}-${e}-${t}`}function EM(e,t){const r=WS[t];return r?vj(r):bj(e,t)}function yj(e,t){const r={};return t.forEach(n=>{r[n]=EM(e,n)}),r}function W8(e){return e.substring(2).toLowerCase()}function wj(e,t){return t.documentElement.clientWidth(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const u=qt(t.ref,s),f=kr(p=>{const v=c.current;c.current=!1;const w=Mr(s.current);if(!l.current||!s.current||"clientX"in p&&wj(p,w))return;if(a.current){a.current=!1;return}let C;p.composedPath?C=p.composedPath().indexOf(s.current)>-1:C=!w.documentElement.contains(p.target)||s.current.contains(p.target),!C&&(r||!v)&&i(p)}),d=p=>v=>{c.current=!0;const w=t.props[p];w&&w(v)},b={ref:u};return o!==!1&&(b[o]=d(o)),U.useEffect(()=>{if(o!==!1){const p=W8(o),v=Mr(s.current),w=()=>{a.current=!0};return v.addEventListener(p,f),v.addEventListener("touchmove",w),()=>{v.removeEventListener(p,f),v.removeEventListener("touchmove",w)}}},[f,o]),n!==!1&&(b[n]=d(n)),U.useEffect(()=>{if(n!==!1){const p=W8(n),v=Mr(s.current);return v.addEventListener(p,f),()=>{v.removeEventListener(p,f)}}},[f,n]),Y.jsx(U.Fragment,{children:U.cloneElement(t,b)})}const Cj=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Ej(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Mj(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function Pj(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Mj(e))}function Aj(e){const t=[],r=[];return Array.from(e.querySelectorAll(Cj)).forEach((n,i)=>{const o=Ej(n);o===-1||!Pj(n)||(o===0?t.push(n):r.push({documentOrder:i,tabIndex:o,node:n}))}),r.sort((n,i)=>n.tabIndex===i.tabIndex?n.documentOrder-i.documentOrder:n.tabIndex-i.tabIndex).map(n=>n.node).concat(t)}function kj(){return!0}function _j(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:i=!1,getTabbable:o=Aj,isEnabled:a=kj,open:s}=e,l=U.useRef(!1),c=U.useRef(null),u=U.useRef(null),f=U.useRef(null),d=U.useRef(null),b=U.useRef(!1),p=U.useRef(null),v=qt(t.ref,p),w=U.useRef(null);U.useEffect(()=>{!s||!p.current||(b.current=!r)},[r,s]),U.useEffect(()=>{if(!s||!p.current)return;const M=Mr(p.current);return p.current.contains(M.activeElement)||(p.current.hasAttribute("tabIndex")||p.current.setAttribute("tabIndex","-1"),b.current&&p.current.focus()),()=>{i||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[s]),U.useEffect(()=>{if(!s||!p.current)return;const M=Mr(p.current),I=D=>{w.current=D,!(n||!a()||D.key!=="Tab")&&M.activeElement===p.current&&D.shiftKey&&(l.current=!0,u.current&&u.current.focus())},N=()=>{const D=p.current;if(D===null)return;if(!M.hasFocus()||!a()||l.current){l.current=!1;return}if(D.contains(M.activeElement)||n&&M.activeElement!==c.current&&M.activeElement!==u.current)return;if(M.activeElement!==d.current)d.current=null;else if(d.current!==null)return;if(!b.current)return;let T=[];if((M.activeElement===c.current||M.activeElement===u.current)&&(T=o(p.current)),T.length>0){var F,k;const A=!!((F=w.current)!=null&&F.shiftKey&&((k=w.current)==null?void 0:k.key)==="Tab"),x=T[0],g=T[T.length-1];typeof x!="string"&&typeof g!="string"&&(A?g.focus():x.focus())}else D.focus()};M.addEventListener("focusin",N),M.addEventListener("keydown",I,!0);const O=setInterval(()=>{M.activeElement&&M.activeElement.tagName==="BODY"&&N()},50);return()=>{clearInterval(O),M.removeEventListener("focusin",N),M.removeEventListener("keydown",I,!0)}},[r,n,i,a,s,o]);const C=M=>{f.current===null&&(f.current=M.relatedTarget),b.current=!0,d.current=M.target;const I=t.props.onFocus;I&&I(M)},y=M=>{f.current===null&&(f.current=M.relatedTarget),b.current=!0};return Y.jsxs(U.Fragment,{children:[Y.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:c,"data-testid":"sentinelStart"}),U.cloneElement(t,{ref:v,onFocus:C}),Y.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:u,"data-testid":"sentinelEnd"})]})}function Rj(e){return typeof e=="function"?e():e}const MM=U.forwardRef(function(t,r){const{children:n,container:i,disablePortal:o=!1}=t,[a,s]=U.useState(null),l=qt(U.isValidElement(n)?n.ref:null,r);if(bn(()=>{o||s(Rj(i)||document.body)},[i,o]),bn(()=>{if(a&&!o)return jf(r,a),()=>{jf(r,null)}},[r,a,o]),o){if(U.isValidElement(n)){const c={ref:l};return U.cloneElement(n,c)}return Y.jsx(U.Fragment,{children:n})}return Y.jsx(U.Fragment,{children:a&&k1.createPortal(n,a)})});function Tj(e){const t=Mr(e);return t.body===e?_i(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Sf(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function q8(e){return parseInt(_i(e).getComputedStyle(e).paddingRight,10)||0}function $j(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function V8(e,t,r,n,i){const o=[t,r,...n];[].forEach.call(e.children,a=>{const s=o.indexOf(a)===-1,l=!$j(a);s&&l&&Sf(a,i)})}function jm(e,t){let r=-1;return e.some((n,i)=>t(n)?(r=i,!0):!1),r}function Bj(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(Tj(n)){const a=eC(Mr(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${q8(n)+a}px`;const s=Mr(n).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{r.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${q8(l)+a}px`})}let o;if(n.parentNode instanceof DocumentFragment)o=Mr(n).body;else{const a=n.parentElement,s=_i(n);o=(a==null?void 0:a.nodeName)==="HTML"&&s.getComputedStyle(a).overflowY==="scroll"?a:n}r.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{r.forEach(({value:o,el:a,property:s})=>{o?a.style.setProperty(s,o):a.style.removeProperty(s)})}}function Ij(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class Oj{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&Sf(t.modalRef,!1);const i=Ij(r);V8(r,t.mount,t.modalRef,i,!0);const o=jm(this.containers,a=>a.container===r);return o!==-1?(this.containers[o].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:i}),n)}mount(t,r){const n=jm(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[n];i.restore||(i.restore=Bj(i,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const i=jm(this.containers,a=>a.modals.indexOf(t)!==-1),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(t),1),this.modals.splice(n,1),o.modals.length===0)o.restore&&o.restore(),t.modalRef&&Sf(t.modalRef,r),V8(o.container,t.mount,t.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const a=o.modals[o.modals.length-1];a.modalRef&&Sf(a.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function Fj(e){return typeof e=="function"?e():e}function Dj(e){return e?e.props.hasOwnProperty("in"):!1}const Lj=new Oj;function Nj(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:i=Lj,closeAfterTransition:o=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:c,open:u,rootRef:f}=e,d=U.useRef({}),b=U.useRef(null),p=U.useRef(null),v=qt(p,f),[w,C]=U.useState(!u),y=Dj(l);let M=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(M=!1);const I=()=>Mr(b.current),N=()=>(d.current.modalRef=p.current,d.current.mount=b.current,d.current),O=()=>{i.mount(N(),{disableScrollLock:n}),p.current&&(p.current.scrollTop=0)},D=kr(()=>{const S=Fj(t)||I().body;i.add(N(),S),p.current&&O()}),T=U.useCallback(()=>i.isTopModal(N()),[i]),F=kr(S=>{b.current=S,S&&(u&&T()?O():p.current&&Sf(p.current,M))}),k=U.useCallback(()=>{i.remove(N(),M)},[M,i]);U.useEffect(()=>()=>{k()},[k]),U.useEffect(()=>{u?D():(!y||!o)&&k()},[u,k,y,o,D]);const A=S=>$=>{var R;(R=S.onKeyDown)==null||R.call(S,$),!($.key!=="Escape"||$.which===229||!T())&&(r||($.stopPropagation(),c&&c($,"escapeKeyDown")))},x=S=>$=>{var R;(R=S.onClick)==null||R.call(S,$),$.target===$.currentTarget&&c&&c($,"backdropClick")};return{getRootProps:(S={})=>{const $=Yh(e);delete $.onTransitionEnter,delete $.onTransitionExited;const R=W({},$,S);return W({role:"presentation"},R,{onKeyDown:A(R),ref:v})},getBackdropProps:(S={})=>{const $=S;return W({"aria-hidden":!0},$,{onClick:x($),open:u})},getTransitionProps:()=>{const S=()=>{C(!1),a&&a()},$=()=>{C(!0),s&&s(),o&&k()};return{onEnter:lv(S,l==null?void 0:l.props.onEnter),onExited:lv($,l==null?void 0:l.props.onExited)}},rootRef:v,portalRef:F,isTopModal:T,exited:w,hasTransition:y}}var In="top",Bi="bottom",Ii="right",On="left",_4="auto",N0=[In,Bi,Ii,On],Bc="start",a0="end",zj="clippingParents",PM="viewport",Au="popper",jj="reference",K8=N0.reduce(function(e,t){return e.concat([t+"-"+Bc,t+"-"+a0])},[]),AM=[].concat(N0,[_4]).reduce(function(e,t){return e.concat([t,t+"-"+Bc,t+"-"+a0])},[]),Uj="beforeRead",Hj="read",Wj="afterRead",qj="beforeMain",Vj="main",Kj="afterMain",Gj="beforeWrite",Yj="write",Xj="afterWrite",Jj=[Uj,Hj,Wj,qj,Vj,Kj,Gj,Yj,Xj];function To(e){return e?(e.nodeName||"").toLowerCase():null}function oi(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function al(e){var t=oi(e).Element;return e instanceof t||e instanceof Element}function Ai(e){var t=oi(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function R4(e){if(typeof ShadowRoot>"u")return!1;var t=oi(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Zj(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},o=t.elements[r];!Ai(o)||!To(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function Qj(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],o=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=a.reduce(function(l,c){return l[c]="",l},{});!Ai(i)||!To(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const eU={name:"applyStyles",enabled:!0,phase:"write",fn:Zj,effect:Qj,requires:["computeStyles"]};function Po(e){return e.split("-")[0]}var Ks=Math.max,Xh=Math.min,Ic=Math.round;function l2(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function kM(){return!/^((?!chrome|android).)*safari/i.test(l2())}function Oc(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,o=1;t&&Ai(e)&&(i=e.offsetWidth>0&&Ic(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Ic(n.height)/e.offsetHeight||1);var a=al(e)?oi(e):window,s=a.visualViewport,l=!kM()&&r,c=(n.left+(l&&s?s.offsetLeft:0))/i,u=(n.top+(l&&s?s.offsetTop:0))/o,f=n.width/i,d=n.height/o;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c,x:c,y:u}}function T4(e){var t=Oc(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function _M(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&R4(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ha(e){return oi(e).getComputedStyle(e)}function tU(e){return["table","td","th"].indexOf(To(e))>=0}function ds(e){return((al(e)?e.ownerDocument:e.document)||window.document).documentElement}function R1(e){return To(e)==="html"?e:e.assignedSlot||e.parentNode||(R4(e)?e.host:null)||ds(e)}function G8(e){return!Ai(e)||ha(e).position==="fixed"?null:e.offsetParent}function rU(e){var t=/firefox/i.test(l2()),r=/Trident/i.test(l2());if(r&&Ai(e)){var n=ha(e);if(n.position==="fixed")return null}var i=R1(e);for(R4(i)&&(i=i.host);Ai(i)&&["html","body"].indexOf(To(i))<0;){var o=ha(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function z0(e){for(var t=oi(e),r=G8(e);r&&tU(r)&&ha(r).position==="static";)r=G8(r);return r&&(To(r)==="html"||To(r)==="body"&&ha(r).position==="static")?t:r||rU(e)||t}function $4(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Cf(e,t,r){return Ks(e,Xh(t,r))}function nU(e,t,r){var n=Cf(e,t,r);return n>r?r:n}function RM(){return{top:0,right:0,bottom:0,left:0}}function TM(e){return Object.assign({},RM(),e)}function $M(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var iU=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,TM(typeof t!="number"?t:$M(t,N0))};function oU(e){var t,r=e.state,n=e.name,i=e.options,o=r.elements.arrow,a=r.modifiersData.popperOffsets,s=Po(r.placement),l=$4(s),c=[On,Ii].indexOf(s)>=0,u=c?"height":"width";if(!(!o||!a)){var f=iU(i.padding,r),d=T4(o),b=l==="y"?In:On,p=l==="y"?Bi:Ii,v=r.rects.reference[u]+r.rects.reference[l]-a[l]-r.rects.popper[u],w=a[l]-r.rects.reference[l],C=z0(o),y=C?l==="y"?C.clientHeight||0:C.clientWidth||0:0,M=v/2-w/2,I=f[b],N=y-d[u]-f[p],O=y/2-d[u]/2+M,D=Cf(I,O,N),T=l;r.modifiersData[n]=(t={},t[T]=D,t.centerOffset=D-O,t)}}function aU(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||_M(t.elements.popper,i)&&(t.elements.arrow=i))}const sU={name:"arrow",enabled:!0,phase:"main",fn:oU,effect:aU,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Fc(e){return e.split("-")[1]}var lU={top:"auto",right:"auto",bottom:"auto",left:"auto"};function cU(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:Ic(r*i)/i||0,y:Ic(n*i)/i||0}}function Y8(e){var t,r=e.popper,n=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=a.x,b=d===void 0?0:d,p=a.y,v=p===void 0?0:p,w=typeof u=="function"?u({x:b,y:v}):{x:b,y:v};b=w.x,v=w.y;var C=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),M=On,I=In,N=window;if(c){var O=z0(r),D="clientHeight",T="clientWidth";if(O===oi(r)&&(O=ds(r),ha(O).position!=="static"&&s==="absolute"&&(D="scrollHeight",T="scrollWidth")),O=O,i===In||(i===On||i===Ii)&&o===a0){I=Bi;var F=f&&O===N&&N.visualViewport?N.visualViewport.height:O[D];v-=F-n.height,v*=l?1:-1}if(i===On||(i===In||i===Bi)&&o===a0){M=Ii;var k=f&&O===N&&N.visualViewport?N.visualViewport.width:O[T];b-=k-n.width,b*=l?1:-1}}var A=Object.assign({position:s},c&&lU),x=u===!0?cU({x:b,y:v},oi(r)):{x:b,y:v};if(b=x.x,v=x.y,l){var g;return Object.assign({},A,(g={},g[I]=y?"0":"",g[M]=C?"0":"",g.transform=(N.devicePixelRatio||1)<=1?"translate("+b+"px, "+v+"px)":"translate3d("+b+"px, "+v+"px, 0)",g))}return Object.assign({},A,(t={},t[I]=y?v+"px":"",t[M]=C?b+"px":"",t.transform="",t))}function uU(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,o=r.adaptive,a=o===void 0?!0:o,s=r.roundOffsets,l=s===void 0?!0:s,c={placement:Po(t.placement),variation:Fc(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Y8(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Y8(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const fU={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:uU,data:{}};var yd={passive:!0};function dU(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=i===void 0?!0:i,a=n.resize,s=a===void 0?!0:a,l=oi(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",r.update,yd)}),s&&l.addEventListener("resize",r.update,yd),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",r.update,yd)}),s&&l.removeEventListener("resize",r.update,yd)}}const hU={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:dU,data:{}};var pU={left:"right",right:"left",bottom:"top",top:"bottom"};function ah(e){return e.replace(/left|right|bottom|top/g,function(t){return pU[t]})}var xU={start:"end",end:"start"};function X8(e){return e.replace(/start|end/g,function(t){return xU[t]})}function B4(e){var t=oi(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function I4(e){return Oc(ds(e)).left+B4(e).scrollLeft}function mU(e,t){var r=oi(e),n=ds(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=kM();(c||!c&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+I4(e),y:l}}function gU(e){var t,r=ds(e),n=B4(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Ks(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Ks(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-n.scrollLeft+I4(e),l=-n.scrollTop;return ha(i||r).direction==="rtl"&&(s+=Ks(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function O4(e){var t=ha(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function BM(e){return["html","body","#document"].indexOf(To(e))>=0?e.ownerDocument.body:Ai(e)&&O4(e)?e:BM(R1(e))}function Ef(e,t){var r;t===void 0&&(t=[]);var n=BM(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),o=oi(n),a=i?[o].concat(o.visualViewport||[],O4(n)?n:[]):n,s=t.concat(a);return i?s:s.concat(Ef(R1(a)))}function c2(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function vU(e,t){var r=Oc(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function J8(e,t,r){return t===PM?c2(mU(e,r)):al(t)?vU(t,r):c2(gU(ds(e)))}function bU(e){var t=Ef(R1(e)),r=["absolute","fixed"].indexOf(ha(e).position)>=0,n=r&&Ai(e)?z0(e):e;return al(n)?t.filter(function(i){return al(i)&&_M(i,n)&&To(i)!=="body"}):[]}function yU(e,t,r,n){var i=t==="clippingParents"?bU(e):[].concat(t),o=[].concat(i,[r]),a=o[0],s=o.reduce(function(l,c){var u=J8(e,c,n);return l.top=Ks(u.top,l.top),l.right=Xh(u.right,l.right),l.bottom=Xh(u.bottom,l.bottom),l.left=Ks(u.left,l.left),l},J8(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function IM(e){var t=e.reference,r=e.element,n=e.placement,i=n?Po(n):null,o=n?Fc(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,l;switch(i){case In:l={x:a,y:t.y-r.height};break;case Bi:l={x:a,y:t.y+t.height};break;case Ii:l={x:t.x+t.width,y:s};break;case On:l={x:t.x-r.width,y:s};break;default:l={x:t.x,y:t.y}}var c=i?$4(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case Bc:l[c]=l[c]-(t[u]/2-r[u]/2);break;case a0:l[c]=l[c]+(t[u]/2-r[u]/2);break}}return l}function s0(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,o=r.strategy,a=o===void 0?e.strategy:o,s=r.boundary,l=s===void 0?zj:s,c=r.rootBoundary,u=c===void 0?PM:c,f=r.elementContext,d=f===void 0?Au:f,b=r.altBoundary,p=b===void 0?!1:b,v=r.padding,w=v===void 0?0:v,C=TM(typeof w!="number"?w:$M(w,N0)),y=d===Au?jj:Au,M=e.rects.popper,I=e.elements[p?y:d],N=yU(al(I)?I:I.contextElement||ds(e.elements.popper),l,u,a),O=Oc(e.elements.reference),D=IM({reference:O,element:M,strategy:"absolute",placement:i}),T=c2(Object.assign({},M,D)),F=d===Au?T:O,k={top:N.top-F.top+C.top,bottom:F.bottom-N.bottom+C.bottom,left:N.left-F.left+C.left,right:F.right-N.right+C.right},A=e.modifiersData.offset;if(d===Au&&A){var x=A[i];Object.keys(k).forEach(function(g){var h=[Ii,Bi].indexOf(g)>=0?1:-1,m=[In,Bi].indexOf(g)>=0?"y":"x";k[g]+=x[m]*h})}return k}function wU(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?AM:l,u=Fc(n),f=u?s?K8:K8.filter(function(p){return Fc(p)===u}):N0,d=f.filter(function(p){return c.indexOf(p)>=0});d.length===0&&(d=f);var b=d.reduce(function(p,v){return p[v]=s0(e,{placement:v,boundary:i,rootBoundary:o,padding:a})[Po(v)],p},{});return Object.keys(b).sort(function(p,v){return b[p]-b[v]})}function SU(e){if(Po(e)===_4)return[];var t=ah(e);return[X8(e),t,X8(t)]}function CU(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,s=a===void 0?!0:a,l=r.fallbackPlacements,c=r.padding,u=r.boundary,f=r.rootBoundary,d=r.altBoundary,b=r.flipVariations,p=b===void 0?!0:b,v=r.allowedAutoPlacements,w=t.options.placement,C=Po(w),y=C===w,M=l||(y||!p?[ah(w)]:SU(w)),I=[w].concat(M).reduce(function(H,L){return H.concat(Po(L)===_4?wU(t,{placement:L,boundary:u,rootBoundary:f,padding:c,flipVariations:p,allowedAutoPlacements:v}):L)},[]),N=t.rects.reference,O=t.rects.popper,D=new Map,T=!0,F=I[0],k=0;k=0,m=h?"width":"height",S=s0(t,{placement:A,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),$=h?g?Ii:On:g?Bi:In;N[m]>O[m]&&($=ah($));var R=ah($),B=[];if(o&&B.push(S[x]<=0),s&&B.push(S[$]<=0,S[R]<=0),B.every(function(H){return H})){F=A,T=!1;break}D.set(A,B)}if(T)for(var P=p?3:1,E=function(L){var q=I.find(function(X){var J=D.get(X);if(J)return J.slice(0,L).every(function(G){return G})});if(q)return F=q,"break"},_=P;_>0;_--){var z=E(_);if(z==="break")break}t.placement!==F&&(t.modifiersData[n]._skip=!0,t.placement=F,t.reset=!0)}}const EU={name:"flip",enabled:!0,phase:"main",fn:CU,requiresIfExists:["offset"],data:{_skip:!1}};function Z8(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Q8(e){return[In,Ii,Bi,On].some(function(t){return e[t]>=0})}function MU(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=s0(t,{elementContext:"reference"}),s=s0(t,{altBoundary:!0}),l=Z8(a,n),c=Z8(s,i,o),u=Q8(l),f=Q8(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const PU={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:MU};function AU(e,t,r){var n=Po(e),i=[On,In].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[On,Ii].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function kU(e){var t=e.state,r=e.options,n=e.name,i=r.offset,o=i===void 0?[0,0]:i,a=AM.reduce(function(u,f){return u[f]=AU(f,t.rects,o),u},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}const _U={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:kU};function RU(e){var t=e.state,r=e.name;t.modifiersData[r]=IM({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const TU={name:"popperOffsets",enabled:!0,phase:"read",fn:RU,data:{}};function $U(e){return e==="x"?"y":"x"}function BU(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,s=a===void 0?!1:a,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,f=r.padding,d=r.tether,b=d===void 0?!0:d,p=r.tetherOffset,v=p===void 0?0:p,w=s0(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),C=Po(t.placement),y=Fc(t.placement),M=!y,I=$4(C),N=$U(I),O=t.modifiersData.popperOffsets,D=t.rects.reference,T=t.rects.popper,F=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,k=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,x={x:0,y:0};if(O){if(o){var g,h=I==="y"?In:On,m=I==="y"?Bi:Ii,S=I==="y"?"height":"width",$=O[I],R=$+w[h],B=$-w[m],P=b?-T[S]/2:0,E=y===Bc?D[S]:T[S],_=y===Bc?-T[S]:-D[S],z=t.elements.arrow,H=b&&z?T4(z):{width:0,height:0},L=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:RM(),q=L[h],X=L[m],J=Cf(0,D[S],H[S]),G=M?D[S]/2-P-J-q-k.mainAxis:E-J-q-k.mainAxis,j=M?-D[S]/2+P+J+X+k.mainAxis:_+J+X+k.mainAxis,V=t.elements.arrow&&z0(t.elements.arrow),K=V?I==="y"?V.clientTop||0:V.clientLeft||0:0,Z=(g=A==null?void 0:A[I])!=null?g:0,ee=$+G-Z-K,Q=$+j-Z,ne=Cf(b?Xh(R,ee):R,$,b?Ks(B,Q):B);O[I]=ne,x[I]=ne-$}if(s){var xe,se=I==="x"?In:On,ye=I==="x"?Bi:Ii,_e=O[N],we=N==="y"?"height":"width",He=_e+w[se],Ue=_e-w[ye],Me=[In,On].indexOf(C)!==-1,Ze=(xe=A==null?void 0:A[N])!=null?xe:0,Je=Me?He:_e-D[we]-T[we]-Ze+k.altAxis,Ne=Me?_e+D[we]+T[we]-Ze-k.altAxis:Ue,De=b&&Me?nU(Je,_e,Ne):Cf(b?Je:He,_e,b?Ne:Ue);O[N]=De,x[N]=De-_e}t.modifiersData[n]=x}}const IU={name:"preventOverflow",enabled:!0,phase:"main",fn:BU,requiresIfExists:["offset"]};function OU(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function FU(e){return e===oi(e)||!Ai(e)?B4(e):OU(e)}function DU(e){var t=e.getBoundingClientRect(),r=Ic(t.width)/e.offsetWidth||1,n=Ic(t.height)/e.offsetHeight||1;return r!==1||n!==1}function LU(e,t,r){r===void 0&&(r=!1);var n=Ai(t),i=Ai(t)&&DU(t),o=ds(t),a=Oc(e,i,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((To(t)!=="body"||O4(o))&&(s=FU(t)),Ai(t)?(l=Oc(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=I4(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function NU(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function i(o){r.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var l=t.get(s);l&&i(l)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||i(o)}),n}function zU(e){var t=NU(e);return Jj.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function jU(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function UU(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var e5={placement:"bottom",modifiers:[],strategy:"absolute"};function t5(){for(var e=arguments.length,t=new Array(e),r=0;rit({root:["root"]},bz(VU)),ZU={},QU=U.forwardRef(function(t,r){var n;const{anchorEl:i,children:o,direction:a,disablePortal:s,modifiers:l,open:c,placement:u,popperOptions:f,popperRef:d,slotProps:b={},slots:p={},TransitionProps:v}=t,w=Ee(t,KU),C=U.useRef(null),y=qt(C,r),M=U.useRef(null),I=qt(M,d),N=U.useRef(I);bn(()=>{N.current=I},[I]),U.useImperativeHandle(d,()=>M.current,[]);const O=YU(u,a),[D,T]=U.useState(O),[F,k]=U.useState(u2(i));U.useEffect(()=>{M.current&&M.current.forceUpdate()}),U.useEffect(()=>{i&&k(u2(i))},[i]),bn(()=>{if(!F||!c)return;const m=R=>{T(R.placement)};let S=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:R})=>{m(R)}}];l!=null&&(S=S.concat(l)),f&&f.modifiers!=null&&(S=S.concat(f.modifiers));const $=qU(F,C.current,W({placement:O},f,{modifiers:S}));return N.current($),()=>{$.destroy(),N.current(null)}},[F,s,l,c,f,O]);const A={placement:D};v!==null&&(A.TransitionProps=v);const x=JU(),g=(n=p.root)!=null?n:"div",h=Nn({elementType:g,externalSlotProps:b.root,externalForwardedProps:w,additionalProps:{role:"tooltip",ref:y},ownerState:t,className:x.root});return Y.jsx(g,W({},h,{children:typeof o=="function"?o(A):o}))}),eH=U.forwardRef(function(t,r){const{anchorEl:n,children:i,container:o,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:u,placement:f="bottom",popperOptions:d=ZU,popperRef:b,style:p,transition:v=!1,slotProps:w={},slots:C={}}=t,y=Ee(t,GU),[M,I]=U.useState(!0),N=()=>{I(!1)},O=()=>{I(!0)};if(!l&&!u&&(!v||M))return null;let D;if(o)D=o;else if(n){const k=u2(n);D=k&&XU(k)?Mr(k).body:Mr(null).body}const T=!u&&l&&(!v||M)?"none":void 0,F=v?{in:u,onEnter:N,onExited:O}:void 0;return Y.jsx(MM,{disablePortal:s,container:D,children:Y.jsx(QU,W({anchorEl:n,direction:a,disablePortal:s,modifiers:c,ref:r,open:v?!M:u,placement:f,popperOptions:d,popperRef:b,slotProps:w,slots:C},y,{style:W({position:"fixed",top:0,left:0,display:T},p),TransitionProps:F,children:i}))})});function tH(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:r=!1,onClose:n,open:i,resumeHideDuration:o}=e,a=Is();U.useEffect(()=>{if(!i)return;function C(y){y.defaultPrevented||(y.key==="Escape"||y.key==="Esc")&&(n==null||n(y,"escapeKeyDown"))}return document.addEventListener("keydown",C),()=>{document.removeEventListener("keydown",C)}},[i,n]);const s=kr((C,y)=>{n==null||n(C,y)}),l=kr(C=>{!n||C==null||a.start(C,()=>{s(null,"timeout")})});U.useEffect(()=>(i&&l(t),a.clear),[i,t,l,a]);const c=C=>{n==null||n(C,"clickaway")},u=a.clear,f=U.useCallback(()=>{t!=null&&l(o??t*.5)},[t,o,l]),d=C=>y=>{const M=C.onBlur;M==null||M(y),f()},b=C=>y=>{const M=C.onFocus;M==null||M(y),u()},p=C=>y=>{const M=C.onMouseEnter;M==null||M(y),u()},v=C=>y=>{const M=C.onMouseLeave;M==null||M(y),f()};return U.useEffect(()=>{if(!r&&i)return window.addEventListener("focus",f),window.addEventListener("blur",u),()=>{window.removeEventListener("focus",f),window.removeEventListener("blur",u)}},[r,i,f,u]),{getRootProps:(C={})=>{const y=W({},Yh(e),Yh(C));return W({role:"presentation"},C,y,{onBlur:d(y),onFocus:b(y),onMouseEnter:p(y),onMouseLeave:v(y)})},onClickAway:c}}const rH=["onChange","maxRows","minRows","style","value"];function wd(e){return parseInt(e,10)||0}const nH={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function iH(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const oH=U.forwardRef(function(t,r){const{onChange:n,maxRows:i,minRows:o=1,style:a,value:s}=t,l=Ee(t,rH),{current:c}=U.useRef(s!=null),u=U.useRef(null),f=qt(r,u),d=U.useRef(null),b=U.useCallback(()=>{const w=u.current,y=_i(w).getComputedStyle(w);if(y.width==="0px")return{outerHeightStyle:0,overflowing:!1};const M=d.current;M.style.width=y.width,M.value=w.value||t.placeholder||"x",M.value.slice(-1)===` +`&&(M.value+=" ");const I=y.boxSizing,N=wd(y.paddingBottom)+wd(y.paddingTop),O=wd(y.borderBottomWidth)+wd(y.borderTopWidth),D=M.scrollHeight;M.value="x";const T=M.scrollHeight;let F=D;o&&(F=Math.max(Number(o)*T,F)),i&&(F=Math.min(Number(i)*T,F)),F=Math.max(F,T);const k=F+(I==="border-box"?N+O:0),A=Math.abs(F-D)<=1;return{outerHeightStyle:k,overflowing:A}},[i,o,t.placeholder]),p=U.useCallback(()=>{const w=b();if(iH(w))return;const C=u.current;C.style.height=`${w.outerHeightStyle}px`,C.style.overflow=w.overflowing?"hidden":""},[b]);bn(()=>{const w=()=>{p()};let C;const y=Jc(w),M=u.current,I=_i(M);I.addEventListener("resize",y);let N;return typeof ResizeObserver<"u"&&(N=new ResizeObserver(w),N.observe(M)),()=>{y.clear(),cancelAnimationFrame(C),I.removeEventListener("resize",y),N&&N.disconnect()}},[b,p]),bn(()=>{p()});const v=w=>{c||p(),n&&n(w)};return Y.jsxs(U.Fragment,{children:[Y.jsx("textarea",W({value:s,onChange:v,ref:f,rows:o,style:a},l)),Y.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:d,tabIndex:-1,style:W({},nH.shadow,a,{paddingTop:0,paddingBottom:0})})]})});function r5(e){return typeof e.normalize<"u"?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function aH(e={}){const{ignoreAccents:t=!0,ignoreCase:r=!0,limit:n,matchFrom:i="any",stringify:o,trim:a=!1}=e;return(s,{inputValue:l,getOptionLabel:c})=>{let u=a?l.trim():l;r&&(u=u.toLowerCase()),t&&(u=r5(u));const f=u?s.filter(d=>{let b=(o||c)(d);return r&&(b=b.toLowerCase()),t&&(b=r5(b)),i==="start"?b.indexOf(u)===0:b.indexOf(u)>-1}):s;return typeof n=="number"?f.slice(0,n):f}}function Sd(e,t){for(let r=0;r{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))};function cH(e){const{unstable_isActiveElementInListbox:t=lH,unstable_classNamePrefix:r="Mui",autoComplete:n=!1,autoHighlight:i=!1,autoSelect:o=!1,blurOnSelect:a=!1,clearOnBlur:s=!e.freeSolo,clearOnEscape:l=!1,componentName:c="useAutocomplete",defaultValue:u=e.multiple?[]:null,disableClearable:f=!1,disableCloseOnSelect:d=!1,disabled:b,disabledItemsFocusable:p=!1,disableListWrap:v=!1,filterOptions:w=sH,filterSelectedOptions:C=!1,freeSolo:y=!1,getOptionDisabled:M,getOptionKey:I,getOptionLabel:N=ae=>{var oe;return(oe=ae.label)!=null?oe:ae},groupBy:O,handleHomeEndKeys:D=!e.freeSolo,id:T,includeInputInList:F=!1,inputValue:k,isOptionEqualToValue:A=(ae,oe)=>ae===oe,multiple:x=!1,onChange:g,onClose:h,onHighlightChange:m,onInputChange:S,onOpen:$,open:R,openOnFocus:B=!1,options:P,readOnly:E=!1,selectOnFocus:_=!e.freeSolo,value:z}=e,H=Qa(T);let L=N;L=ae=>{const oe=N(ae);return typeof oe!="string"?String(oe):oe};const q=U.useRef(!1),X=U.useRef(!0),J=U.useRef(null),G=U.useRef(null),[j,V]=U.useState(null),[K,Z]=U.useState(-1),ee=i?0:-1,Q=U.useRef(ee),[ne,xe]=Ua({controlled:z,default:u,name:c}),[se,ye]=Ua({controlled:k,default:"",name:c,state:"inputValue"}),[_e,we]=U.useState(!1),He=U.useCallback((ae,oe)=>{if(!(x?ne.length!(C&&(x?ne:[ne]).some(oe=>oe!==null&&A(ae,oe)))),{inputValue:Ne&&Ze?"":se,getOptionLabel:L}):[],Ie=Tb({filteredOptions:fe,value:ne,inputValue:se});U.useEffect(()=>{const ae=ne!==Ie.value;_e&&!ae||y&&!ae||He(null,ne)},[ne,He,_e,Ie.value,y]);const ot=Ue&&fe.length>0&&!E,lt=kr(ae=>{ae===-1?J.current.focus():j.querySelector(`[data-tag-index="${ae}"]`).focus()});U.useEffect(()=>{x&&K>ne.length-1&&(Z(-1),lt(-1))},[ne,x,K,lt]);function ge(ae,oe){if(!G.current||ae<0||ae>=fe.length)return-1;let ve=ae;for(;;){const Ae=G.current.querySelector(`[data-option-index="${ve}"]`),Ye=p?!1:!Ae||Ae.disabled||Ae.getAttribute("aria-disabled")==="true";if(Ae&&Ae.hasAttribute("tabindex")&&!Ye)return ve;if(oe==="next"?ve=(ve+1)%fe.length:ve=(ve-1+fe.length)%fe.length,ve===ae)return-1}}const ze=kr(({event:ae,index:oe,reason:ve="auto"})=>{if(Q.current=oe,oe===-1?J.current.removeAttribute("aria-activedescendant"):J.current.setAttribute("aria-activedescendant",`${H}-option-${oe}`),m&&m(ae,oe===-1?null:fe[oe],ve),!G.current)return;const Ae=G.current.querySelector(`[role="option"].${r}-focused`);Ae&&(Ae.classList.remove(`${r}-focused`),Ae.classList.remove(`${r}-focusVisible`));let Ye=G.current;if(G.current.getAttribute("role")!=="listbox"&&(Ye=G.current.parentElement.querySelector('[role="listbox"]')),!Ye)return;if(oe===-1){Ye.scrollTop=0;return}const Le=G.current.querySelector(`[data-option-index="${oe}"]`);if(Le&&(Le.classList.add(`${r}-focused`),ve==="keyboard"&&Le.classList.add(`${r}-focusVisible`),Ye.scrollHeight>Ye.clientHeight&&ve!=="mouse"&&ve!=="touch")){const pt=Le,Bt=Ye.clientHeight+Ye.scrollTop,gt=pt.offsetTop+pt.offsetHeight;gt>Bt?Ye.scrollTop=gt-Ye.clientHeight:pt.offsetTop-pt.offsetHeight*(O?1.3:0){if(!De)return;const Le=ge((()=>{const pt=fe.length-1;if(oe==="reset")return ee;if(oe==="start")return 0;if(oe==="end")return pt;const Bt=Q.current+oe;return Bt<0?Bt===-1&&F?-1:v&&Q.current!==-1||Math.abs(oe)>1?0:pt:Bt>pt?Bt===pt+1&&F?-1:v||Math.abs(oe)>1?pt:0:Bt})(),ve);if(ze({index:Le,reason:Ae,event:ae}),n&&oe!=="reset")if(Le===-1)J.current.value=se;else{const pt=L(fe[Le]);J.current.value=pt,pt.toLowerCase().indexOf(se.toLowerCase())===0&&se.length>0&&J.current.setSelectionRange(se.length,pt.length)}}),me=()=>{const ae=(oe,ve)=>{const Ae=oe?L(oe):"",Ye=ve?L(ve):"";return Ae===Ye};if(Q.current!==-1&&Ie.filteredOptions&&Ie.filteredOptions.length!==fe.length&&Ie.inputValue===se&&(x?ne.length===Ie.value.length&&Ie.value.every((oe,ve)=>L(ne[ve])===L(oe)):ae(Ie.value,ne))){const oe=Ie.filteredOptions[Q.current];if(oe)return Sd(fe,ve=>L(ve)===L(oe))}return-1},je=U.useCallback(()=>{if(!De)return;const ae=me();if(ae!==-1){Q.current=ae;return}const oe=x?ne[0]:ne;if(fe.length===0||oe==null){le({diff:"reset"});return}if(G.current){if(oe!=null){const ve=fe[Q.current];if(x&&ve&&Sd(ne,Ye=>A(ve,Ye))!==-1)return;const Ae=Sd(fe,Ye=>A(Ye,oe));Ae===-1?le({diff:"reset"}):ze({index:Ae});return}if(Q.current>=fe.length-1){ze({index:fe.length-1});return}ze({index:Q.current})}},[fe.length,x?!1:ne,C,le,ze,De,se,x]),We=kr(ae=>{jf(G,ae),ae&&je()});U.useEffect(()=>{je()},[je]);const Oe=ae=>{Ue||(Me(!0),Je(!0),$&&$(ae))},Qe=(ae,oe)=>{Ue&&(Me(!1),h&&h(ae,oe))},ut=(ae,oe,ve,Ae)=>{if(x){if(ne.length===oe.length&&ne.every((Ye,Le)=>Ye===oe[Le]))return}else if(ne===oe)return;g&&g(ae,oe,ve,Ae),xe(oe)},Ge=U.useRef(!1),te=(ae,oe,ve="selectOption",Ae="options")=>{let Ye=ve,Le=oe;if(x){Le=Array.isArray(ne)?ne.slice():[];const pt=Sd(Le,Bt=>A(oe,Bt));pt===-1?Le.push(oe):Ae!=="freeSolo"&&(Le.splice(pt,1),Ye="removeOption")}He(ae,Le),ut(ae,Le,Ye,{option:oe}),!d&&(!ae||!ae.ctrlKey&&!ae.metaKey)&&Qe(ae,Ye),(a===!0||a==="touch"&&Ge.current||a==="mouse"&&!Ge.current)&&J.current.blur()};function re(ae,oe){if(ae===-1)return-1;let ve=ae;for(;;){if(oe==="next"&&ve===ne.length||oe==="previous"&&ve===-1)return-1;const Ae=j.querySelector(`[data-tag-index="${ve}"]`);if(!Ae||!Ae.hasAttribute("tabindex")||Ae.disabled||Ae.getAttribute("aria-disabled")==="true")ve+=oe==="next"?1:-1;else return ve}}const ie=(ae,oe)=>{if(!x)return;se===""&&Qe(ae,"toggleInput");let ve=K;K===-1?se===""&&oe==="previous"&&(ve=ne.length-1):(ve+=oe==="next"?1:-1,ve<0&&(ve=0),ve===ne.length&&(ve=-1)),ve=re(ve,oe),Z(ve),lt(ve)},pe=ae=>{q.current=!0,ye(""),S&&S(ae,"","clear"),ut(ae,x?[]:null,"clear")},ke=ae=>oe=>{if(ae.onKeyDown&&ae.onKeyDown(oe),!oe.defaultMuiPrevented&&(K!==-1&&["ArrowLeft","ArrowRight"].indexOf(oe.key)===-1&&(Z(-1),lt(-1)),oe.which!==229))switch(oe.key){case"Home":De&&D&&(oe.preventDefault(),le({diff:"start",direction:"next",reason:"keyboard",event:oe}));break;case"End":De&&D&&(oe.preventDefault(),le({diff:"end",direction:"previous",reason:"keyboard",event:oe}));break;case"PageUp":oe.preventDefault(),le({diff:-n5,direction:"previous",reason:"keyboard",event:oe}),Oe(oe);break;case"PageDown":oe.preventDefault(),le({diff:n5,direction:"next",reason:"keyboard",event:oe}),Oe(oe);break;case"ArrowDown":oe.preventDefault(),le({diff:1,direction:"next",reason:"keyboard",event:oe}),Oe(oe);break;case"ArrowUp":oe.preventDefault(),le({diff:-1,direction:"previous",reason:"keyboard",event:oe}),Oe(oe);break;case"ArrowLeft":ie(oe,"previous");break;case"ArrowRight":ie(oe,"next");break;case"Enter":if(Q.current!==-1&&De){const ve=fe[Q.current],Ae=M?M(ve):!1;if(oe.preventDefault(),Ae)return;te(oe,ve,"selectOption"),n&&J.current.setSelectionRange(J.current.value.length,J.current.value.length)}else y&&se!==""&&Ne===!1&&(x&&oe.preventDefault(),te(oe,se,"createOption","freeSolo"));break;case"Escape":De?(oe.preventDefault(),oe.stopPropagation(),Qe(oe,"escape")):l&&(se!==""||x&&ne.length>0)&&(oe.preventDefault(),oe.stopPropagation(),pe(oe));break;case"Backspace":if(x&&!E&&se===""&&ne.length>0){const ve=K===-1?ne.length-1:K,Ae=ne.slice();Ae.splice(ve,1),ut(oe,Ae,"removeOption",{option:ne[ve]})}break;case"Delete":if(x&&!E&&se===""&&ne.length>0&&K!==-1){const ve=K,Ae=ne.slice();Ae.splice(ve,1),ut(oe,Ae,"removeOption",{option:ne[ve]})}break}},Te=ae=>{we(!0),B&&!q.current&&Oe(ae)},$e=ae=>{if(t(G)){J.current.focus();return}we(!1),X.current=!0,q.current=!1,o&&Q.current!==-1&&De?te(ae,fe[Q.current],"blur"):o&&y&&se!==""?te(ae,se,"blur","freeSolo"):s&&He(ae,ne),Qe(ae,"blur")},Pe=ae=>{const oe=ae.target.value;se!==oe&&(ye(oe),Je(!1),S&&S(ae,oe,"input")),oe===""?!f&&!x&&ut(ae,null,"clear"):Oe(ae)},ce=ae=>{const oe=Number(ae.currentTarget.getAttribute("data-option-index"));Q.current!==oe&&ze({event:ae,index:oe,reason:"mouse"})},Re=ae=>{ze({event:ae,index:Number(ae.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Ge.current=!0},qe=ae=>{const oe=Number(ae.currentTarget.getAttribute("data-option-index"));te(ae,fe[oe],"selectOption"),Ge.current=!1},Ce=ae=>oe=>{const ve=ne.slice();ve.splice(ae,1),ut(oe,ve,"removeOption",{option:ne[ae]})},Xe=ae=>{Ue?Qe(ae,"toggleInput"):Oe(ae)},dt=ae=>{ae.currentTarget.contains(ae.target)&&ae.target.getAttribute("id")!==H&&ae.preventDefault()},Ve=ae=>{ae.currentTarget.contains(ae.target)&&(J.current.focus(),_&&X.current&&J.current.selectionEnd-J.current.selectionStart===0&&J.current.select(),X.current=!1)},ht=ae=>{!b&&(se===""||!Ue)&&Xe(ae)};let mt=y&&se.length>0;mt=mt||(x?ne.length>0:ne!==null);let rt=fe;return O&&(rt=fe.reduce((ae,oe,ve)=>{const Ae=O(oe);return ae.length>0&&ae[ae.length-1].group===Ae?ae[ae.length-1].options.push(oe):ae.push({key:ve,index:ve,group:Ae,options:[oe]}),ae},[])),b&&_e&&$e(),{getRootProps:(ae={})=>W({"aria-owns":ot?`${H}-listbox`:null},ae,{onKeyDown:ke(ae),onMouseDown:dt,onClick:Ve}),getInputLabelProps:()=>({id:`${H}-label`,htmlFor:H}),getInputProps:()=>({id:H,value:se,onBlur:$e,onFocus:Te,onChange:Pe,onMouseDown:ht,"aria-activedescendant":De?"":null,"aria-autocomplete":n?"both":"list","aria-controls":ot?`${H}-listbox`:void 0,"aria-expanded":ot,autoComplete:"off",ref:J,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:b}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:pe}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Xe}),getTagProps:({index:ae})=>W({key:ae,"data-tag-index":ae,tabIndex:-1},!E&&{onDelete:Ce(ae)}),getListboxProps:()=>({role:"listbox",id:`${H}-listbox`,"aria-labelledby":`${H}-label`,ref:We,onMouseDown:ae=>{ae.preventDefault()}}),getOptionProps:({index:ae,option:oe})=>{var ve;const Ae=(x?ne:[ne]).some(Le=>Le!=null&&A(oe,Le)),Ye=M?M(oe):!1;return{key:(ve=I==null?void 0:I(oe))!=null?ve:L(oe),tabIndex:-1,role:"option",id:`${H}-option-${ae}`,onMouseMove:ce,onClick:qe,onTouchStart:Re,"data-option-index":ae,"aria-disabled":Ye,"aria-selected":Ae}},id:H,inputValue:se,value:ne,dirty:mt,expanded:De&&j,popupOpen:De,focused:_e||K!==-1,anchorEl:j,setAnchorEl:V,focusedTag:K,groupedOptions:rt}}var F4={};Object.defineProperty(F4,"__esModule",{value:!0});var FM=F4.default=void 0,uH=dH(U),fH=hC;function DM(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(DM=function(n){return n?r:t})(e)}function dH(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=DM(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}function hH(e){return Object.keys(e).length===0}function pH(e=null){const t=uH.useContext(fH.ThemeContext);return!t||hH(t)?e:t}FM=F4.default=pH;const xH=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],mH=he(eH,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),gH=U.forwardRef(function(t,r){var n;const i=FM(),o=ft({props:t,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:c,container:u,disablePortal:f,keepMounted:d,modifiers:b,open:p,placement:v,popperOptions:w,popperRef:C,transition:y,slots:M,slotProps:I}=o,N=Ee(o,xH),O=(n=M==null?void 0:M.root)!=null?n:l==null?void 0:l.Root,D=W({anchorEl:a,container:u,disablePortal:f,keepMounted:d,modifiers:b,open:p,placement:v,popperOptions:w,popperRef:C,transition:y},N);return Y.jsx(mH,W({as:s,direction:i==null?void 0:i.direction,slots:{root:O},slotProps:I??c},D,{ref:r}))}),T1=gH;function vH(e){return nt("MuiListSubheader",e)}tt("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const bH=["className","color","component","disableGutters","disableSticky","inset"],yH=e=>{const{classes:t,color:r,disableGutters:n,inset:i,disableSticky:o}=e,a={root:["root",r!=="default"&&`color${de(r)}`,!n&&"gutters",i&&"inset",!o&&"sticky"]};return it(a,vH,t)},wH=he("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${de(r.color)}`],!r.disableGutters&&t.gutters,r.inset&&t.inset,!r.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>W({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),LM=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiListSubheader"}),{className:i,color:o="default",component:a="li",disableGutters:s=!1,disableSticky:l=!1,inset:c=!1}=n,u=Ee(n,bH),f=W({},n,{color:o,component:a,disableGutters:s,disableSticky:l,inset:c}),d=yH(f);return Y.jsx(wH,W({as:a,className:Se(d.root,i),ref:r,ownerState:f},u))});LM.muiSkipListHighlight=!0;const SH=LM,CH=fn(Y.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function EH(e){return nt("MuiChip",e)}const MH=tt("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),Ot=MH,PH=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],AH=e=>{const{classes:t,disabled:r,size:n,color:i,iconColor:o,onDelete:a,clickable:s,variant:l}=e,c={root:["root",l,r&&"disabled",`size${de(n)}`,`color${de(i)}`,s&&"clickable",s&&`clickableColor${de(i)}`,a&&"deletable",a&&`deletableColor${de(i)}`,`${l}${de(i)}`],label:["label",`label${de(n)}`],avatar:["avatar",`avatar${de(n)}`,`avatarColor${de(i)}`],icon:["icon",`icon${de(n)}`,`iconColor${de(o)}`],deleteIcon:["deleteIcon",`deleteIcon${de(n)}`,`deleteIconColor${de(i)}`,`deleteIcon${de(l)}Color${de(i)}`]};return it(c,EH,t)},kH=he("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{color:n,iconColor:i,clickable:o,onDelete:a,size:s,variant:l}=r;return[{[`& .${Ot.avatar}`]:t.avatar},{[`& .${Ot.avatar}`]:t[`avatar${de(s)}`]},{[`& .${Ot.avatar}`]:t[`avatarColor${de(n)}`]},{[`& .${Ot.icon}`]:t.icon},{[`& .${Ot.icon}`]:t[`icon${de(s)}`]},{[`& .${Ot.icon}`]:t[`iconColor${de(i)}`]},{[`& .${Ot.deleteIcon}`]:t.deleteIcon},{[`& .${Ot.deleteIcon}`]:t[`deleteIcon${de(s)}`]},{[`& .${Ot.deleteIcon}`]:t[`deleteIconColor${de(n)}`]},{[`& .${Ot.deleteIcon}`]:t[`deleteIcon${de(l)}Color${de(n)}`]},t.root,t[`size${de(s)}`],t[`color${de(n)}`],o&&t.clickable,o&&n!=="default"&&t[`clickableColor${de(n)})`],a&&t.deletable,a&&n!=="default"&&t[`deletableColor${de(n)}`],t[l],t[`${l}${de(n)}`]]}})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return W({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Ot.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Ot.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:r,fontSize:e.typography.pxToRem(12)},[`& .${Ot.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Ot.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Ot.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Ot.icon}`]:W({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&W({color:e.vars?e.vars.palette.Chip.defaultIconColor:r},t.color!=="default"&&{color:"inherit"})),[`& .${Ot.deleteIcon}`]:W({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Ct(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Ct(e.palette.text.primary,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:Ct(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${Ot.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ct(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${Ot.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>W({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ct(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Ot.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ct(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${Ot.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>W({},t.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Ot.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Ot.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Ot.avatar}`]:{marginLeft:4},[`& .${Ot.avatarSmall}`]:{marginLeft:2},[`& .${Ot.icon}`]:{marginLeft:4},[`& .${Ot.iconSmall}`]:{marginLeft:2},[`& .${Ot.deleteIcon}`]:{marginRight:5},[`& .${Ot.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Ct(e.palette[t.color].main,.7)}`,[`&.${Ot.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ct(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${Ot.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Ct(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${Ot.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Ct(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),_H=he("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:r}=e,{size:n}=r;return[t.label,t[`label${de(n)}`]]}})(({ownerState:e})=>W({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.variant==="outlined"&&{paddingLeft:11,paddingRight:11},e.size==="small"&&{paddingLeft:8,paddingRight:8},e.size==="small"&&e.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function i5(e){return e.key==="Backspace"||e.key==="Delete"}const RH=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiChip"}),{avatar:i,className:o,clickable:a,color:s="default",component:l,deleteIcon:c,disabled:u=!1,icon:f,label:d,onClick:b,onDelete:p,onKeyDown:v,onKeyUp:w,size:C="medium",variant:y="filled",tabIndex:M,skipFocusWhenDisabled:I=!1}=n,N=Ee(n,PH),O=U.useRef(null),D=qt(O,r),T=B=>{B.stopPropagation(),p&&p(B)},F=B=>{B.currentTarget===B.target&&i5(B)&&B.preventDefault(),v&&v(B)},k=B=>{B.currentTarget===B.target&&(p&&i5(B)?p(B):B.key==="Escape"&&O.current&&O.current.blur()),w&&w(B)},A=a!==!1&&b?!0:a,x=A||p?Ro:l||"div",g=W({},n,{component:x,disabled:u,size:C,color:s,iconColor:U.isValidElement(f)&&f.props.color||s,onDelete:!!p,clickable:A,variant:y}),h=AH(g),m=x===Ro?W({component:l||"div",focusVisibleClassName:h.focusVisible},p&&{disableRipple:!0}):{};let S=null;p&&(S=c&&U.isValidElement(c)?U.cloneElement(c,{className:Se(c.props.className,h.deleteIcon),onClick:T}):Y.jsx(CH,{className:Se(h.deleteIcon),onClick:T}));let $=null;i&&U.isValidElement(i)&&($=U.cloneElement(i,{className:Se(h.avatar,i.props.className)}));let R=null;return f&&U.isValidElement(f)&&(R=U.cloneElement(f,{className:Se(h.icon,f.props.className)})),Y.jsxs(kH,W({as:x,className:Se(h.root,o),disabled:A&&u?!0:void 0,onClick:b,onKeyDown:F,onKeyUp:k,ref:D,tabIndex:I&&u?-1:M,ownerState:g},m,N,{children:[$||R,Y.jsx(_H,{className:Se(h.label),ownerState:g,children:d}),S]}))}),TH=RH;function xl({props:e,states:t,muiFormControl:r}){return t.reduce((n,i)=>(n[i]=e[i],r&&typeof e[i]>"u"&&(n[i]=r[i]),n),{})}const $H=U.createContext(void 0),$1=$H;function ya(){return U.useContext($1)}function NM(e){return Y.jsx(_O,W({},e,{defaultTheme:f1,themeId:Zs}))}function o5(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Jh(e,t=!1){return e&&(o5(e.value)&&e.value!==""||t&&o5(e.defaultValue)&&e.defaultValue!=="")}function BH(e){return e.startAdornment}function IH(e){return nt("MuiInputBase",e)}const OH=tt("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Kn=OH,FH=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],B1=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,r.size==="small"&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${de(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},I1=(e,t)=>{const{ownerState:r}=e;return[t.input,r.size==="small"&&t.inputSizeSmall,r.multiline&&t.inputMultiline,r.type==="search"&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},DH=e=>{const{classes:t,color:r,disabled:n,error:i,endAdornment:o,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:f,size:d,startAdornment:b,type:p}=e,v={root:["root",`color${de(r)}`,n&&"disabled",i&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",d&&d!=="medium"&&`size${de(d)}`,u&&"multiline",b&&"adornedStart",o&&"adornedEnd",c&&"hiddenLabel",f&&"readOnly"],input:["input",n&&"disabled",p==="search"&&"inputTypeSearch",u&&"inputMultiline",d==="small"&&"inputSizeSmall",c&&"inputHiddenLabel",b&&"inputAdornedStart",o&&"inputAdornedEnd",f&&"readOnly"]};return it(v,IH,t)},O1=he("div",{name:"MuiInputBase",slot:"Root",overridesResolver:B1})(({theme:e,ownerState:t})=>W({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Kn.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&W({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),F1=he("input",{name:"MuiInputBase",slot:"Input",overridesResolver:I1})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light",n=W({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return W({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Kn.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Kn.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),LH=Y.jsx(NM,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),NH=U.forwardRef(function(t,r){var n;const i=ft({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:s,className:l,components:c={},componentsProps:u={},defaultValue:f,disabled:d,disableInjectingGlobalStyles:b,endAdornment:p,fullWidth:v=!1,id:w,inputComponent:C="input",inputProps:y={},inputRef:M,maxRows:I,minRows:N,multiline:O=!1,name:D,onBlur:T,onChange:F,onClick:k,onFocus:A,onKeyDown:x,onKeyUp:g,placeholder:h,readOnly:m,renderSuffix:S,rows:$,slotProps:R={},slots:B={},startAdornment:P,type:E="text",value:_}=i,z=Ee(i,FH),H=y.value!=null?y.value:_,{current:L}=U.useRef(H!=null),q=U.useRef(),X=U.useCallback(De=>{},[]),J=qt(q,M,y.ref,X),[G,j]=U.useState(!1),V=ya(),K=xl({props:i,muiFormControl:V,states:["color","disabled","error","hiddenLabel","size","required","filled"]});K.focused=V?V.focused:G,U.useEffect(()=>{!V&&d&&G&&(j(!1),T&&T())},[V,d,G,T]);const Z=V&&V.onFilled,ee=V&&V.onEmpty,Q=U.useCallback(De=>{Jh(De)?Z&&Z():ee&&ee()},[Z,ee]);bn(()=>{L&&Q({value:H})},[H,Q,L]);const ne=De=>{if(K.disabled){De.stopPropagation();return}A&&A(De),y.onFocus&&y.onFocus(De),V&&V.onFocus?V.onFocus(De):j(!0)},xe=De=>{T&&T(De),y.onBlur&&y.onBlur(De),V&&V.onBlur?V.onBlur(De):j(!1)},se=(De,...fe)=>{if(!L){const Ie=De.target||q.current;if(Ie==null)throw new Error(la(1));Q({value:Ie.value})}y.onChange&&y.onChange(De,...fe),F&&F(De,...fe)};U.useEffect(()=>{Q(q.current)},[]);const ye=De=>{q.current&&De.currentTarget===De.target&&q.current.focus(),k&&k(De)};let _e=C,we=y;O&&_e==="input"&&($?we=W({type:void 0,minRows:$,maxRows:$},we):we=W({type:void 0,maxRows:I,minRows:N},we),_e=oH);const He=De=>{Q(De.animationName==="mui-auto-fill-cancel"?q.current:{value:"x"})};U.useEffect(()=>{V&&V.setAdornedStart(!!P)},[V,P]);const Ue=W({},i,{color:K.color||"primary",disabled:K.disabled,endAdornment:p,error:K.error,focused:K.focused,formControl:V,fullWidth:v,hiddenLabel:K.hiddenLabel,multiline:O,size:K.size,startAdornment:P,type:E}),Me=DH(Ue),Ze=B.root||c.Root||O1,Je=R.root||u.root||{},Ne=B.input||c.Input||F1;return we=W({},we,(n=R.input)!=null?n:u.input),Y.jsxs(U.Fragment,{children:[!b&&LH,Y.jsxs(Ze,W({},Je,!ol(Ze)&&{ownerState:W({},Ue,Je.ownerState)},{ref:r,onClick:ye},z,{className:Se(Me.root,Je.className,l,m&&"MuiInputBase-readOnly"),children:[P,Y.jsx($1.Provider,{value:null,children:Y.jsx(Ne,W({ownerState:Ue,"aria-invalid":K.error,"aria-describedby":o,autoComplete:a,autoFocus:s,defaultValue:f,disabled:K.disabled,id:w,onAnimationStart:He,name:D,placeholder:h,readOnly:m,required:K.required,rows:$,value:H,onKeyDown:x,onKeyUp:g,type:E},we,!ol(Ne)&&{as:_e,ownerState:W({},Ue,we.ownerState)},{ref:J,className:Se(Me.input,we.className,m&&"MuiInputBase-readOnly"),onBlur:xe,onChange:se,onFocus:ne}))}),p,S?S(W({},K,{startAdornment:P})):null]}))]})}),D1=NH;function zH(e){return nt("MuiInput",e)}const Fa=W({},Kn,tt("MuiInput",["root","underline","input"]));function jH(e){return nt("MuiOutlinedInput",e)}const UH=W({},Kn,tt("MuiOutlinedInput",["root","notchedOutline","input"])),mo=UH;function HH(e){return nt("MuiFilledInput",e)}const WH=W({},Kn,tt("MuiFilledInput",["root","underline","input"])),Gn=WH,zM=fn(Y.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function qH(e){return nt("MuiAutocomplete",e)}const Et=tt("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var a5,s5;const VH=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],KH=["ref"],GH=d1(),YH=e=>{const{classes:t,disablePortal:r,expanded:n,focused:i,fullWidth:o,hasClearIcon:a,hasPopupIcon:s,inputFocused:l,popupOpen:c,size:u}=e,f={root:["root",n&&"expanded",i&&"focused",o&&"fullWidth",a&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${de(u)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",r&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return it(f,qH,t)},XH=he("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{fullWidth:n,hasClearIcon:i,hasPopupIcon:o,inputFocused:a,size:s}=r;return[{[`& .${Et.tag}`]:t.tag},{[`& .${Et.tag}`]:t[`tagSize${de(s)}`]},{[`& .${Et.inputRoot}`]:t.inputRoot},{[`& .${Et.input}`]:t.input},{[`& .${Et.input}`]:a&&t.inputFocused},t.root,n&&t.fullWidth,o&&t.hasPopupIcon,i&&t.hasClearIcon]}})({[`&.${Et.focused} .${Et.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Et.clearIndicator}`]:{visibility:"visible"}},[`& .${Et.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Et.inputRoot}`]:{flexWrap:"wrap",[`.${Et.hasPopupIcon}&, .${Et.hasClearIcon}&`]:{paddingRight:30},[`.${Et.hasPopupIcon}.${Et.hasClearIcon}&`]:{paddingRight:56},[`& .${Et.input}`]:{width:0,minWidth:30}},[`& .${Fa.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Fa.root}.${Kn.sizeSmall}`]:{[`& .${Fa.input}`]:{padding:"2px 4px 3px 0"}},[`& .${mo.root}`]:{padding:9,[`.${Et.hasPopupIcon}&, .${Et.hasClearIcon}&`]:{paddingRight:39},[`.${Et.hasPopupIcon}.${Et.hasClearIcon}&`]:{paddingRight:65},[`& .${Et.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Et.endAdornment}`]:{right:9}},[`& .${mo.root}.${Kn.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Et.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Gn.root}`]:{paddingTop:19,paddingLeft:8,[`.${Et.hasPopupIcon}&, .${Et.hasClearIcon}&`]:{paddingRight:39},[`.${Et.hasPopupIcon}.${Et.hasClearIcon}&`]:{paddingRight:65},[`& .${Gn.input}`]:{padding:"7px 4px"},[`& .${Et.endAdornment}`]:{right:9}},[`& .${Gn.root}.${Kn.sizeSmall}`]:{paddingBottom:1,[`& .${Gn.input}`]:{padding:"2.5px 4px"}},[`& .${Kn.hiddenLabel}`]:{paddingTop:8},[`& .${Gn.root}.${Kn.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Et.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Gn.root}.${Kn.hiddenLabel}.${Kn.sizeSmall}`]:{[`& .${Et.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Et.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Et.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Et.input}`]:{opacity:1}}}]}),JH=he("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),ZH=he(Ns,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),QH=he(Ns,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>W({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),eW=he(T1,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Et.option}`]:t.option},t.popper,r.disablePortal&&t.popperDisablePortal]}})(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]})),tW=he(ba,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(({theme:e})=>W({},e.typography.body1,{overflow:"auto"})),rW=he("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),nW=he("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),iW=he("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Et.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Et.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Et.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Et.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Et.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}})),oW=he(SH,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8})),aW=he("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Et.option}`]:{paddingLeft:24}}),sW=U.forwardRef(function(t,r){var n,i,o,a;const s=GH({props:t,name:"MuiAutocomplete"}),{autoComplete:l=!1,autoHighlight:c=!1,autoSelect:u=!1,blurOnSelect:f=!1,ChipProps:d,className:b,clearIcon:p=a5||(a5=Y.jsx(SM,{fontSize:"small"})),clearOnBlur:v=!s.freeSolo,clearOnEscape:w=!1,clearText:C="Clear",closeText:y="Close",componentsProps:M={},defaultValue:I=s.multiple?[]:null,disableClearable:N=!1,disableCloseOnSelect:O=!1,disabled:D=!1,disabledItemsFocusable:T=!1,disableListWrap:F=!1,disablePortal:k=!1,filterSelectedOptions:A=!1,forcePopupIcon:x="auto",freeSolo:g=!1,fullWidth:h=!1,getLimitTagsText:m=Ae=>`+${Ae}`,getOptionLabel:S,groupBy:$,handleHomeEndKeys:R=!s.freeSolo,includeInputInList:B=!1,limitTags:P=-1,ListboxComponent:E="ul",ListboxProps:_,loading:z=!1,loadingText:H="Loading…",multiple:L=!1,noOptionsText:q="No options",openOnFocus:X=!1,openText:J="Open",PaperComponent:G=ba,PopperComponent:j=T1,popupIcon:V=s5||(s5=Y.jsx(zM,{})),readOnly:K=!1,renderGroup:Z,renderInput:ee,renderOption:Q,renderTags:ne,selectOnFocus:xe=!s.freeSolo,size:se="medium",slotProps:ye={}}=s,_e=Ee(s,VH),{getRootProps:we,getInputProps:He,getInputLabelProps:Ue,getPopupIndicatorProps:Me,getClearProps:Ze,getTagProps:Je,getListboxProps:Ne,getOptionProps:De,value:fe,dirty:Ie,expanded:ot,id:lt,popupOpen:ge,focused:ze,focusedTag:le,anchorEl:me,setAnchorEl:je,inputValue:We,groupedOptions:Oe}=cH(W({},s,{componentName:"Autocomplete"})),Qe=!N&&!D&&Ie&&!K,ut=(!g||x===!0)&&x!==!1,{onMouseDown:Ge}=He(),{ref:te}=_??{},re=Ne(),{ref:ie}=re,pe=Ee(re,KH),ke=qt(ie,te),$e=S||(Ae=>{var Ye;return(Ye=Ae.label)!=null?Ye:Ae}),Pe=W({},s,{disablePortal:k,expanded:ot,focused:ze,fullWidth:h,getOptionLabel:$e,hasClearIcon:Qe,hasPopupIcon:ut,inputFocused:le===-1,popupOpen:ge,size:se}),ce=YH(Pe);let Re;if(L&&fe.length>0){const Ae=Ye=>W({className:ce.tag,disabled:D},Je(Ye));ne?Re=ne(fe,Ae,Pe):Re=fe.map((Ye,Le)=>Y.jsx(TH,W({label:$e(Ye),size:se},Ae({index:Le}),d)))}if(P>-1&&Array.isArray(Re)){const Ae=Re.length-P;!ze&&Ae>0&&(Re=Re.splice(0,P),Re.push(Y.jsx("span",{className:ce.tag,children:m(Ae)},Re.length)))}const Ce=Z||(Ae=>Y.jsxs("li",{children:[Y.jsx(oW,{className:ce.groupLabel,ownerState:Pe,component:"div",children:Ae.group}),Y.jsx(aW,{className:ce.groupUl,ownerState:Pe,children:Ae.children})]},Ae.key)),dt=Q||((Ae,Ye)=>U.createElement("li",W({},Ae,{key:Ae.key}),$e(Ye))),Ve=(Ae,Ye)=>{const Le=De({option:Ae,index:Ye});return dt(W({},Le,{className:ce.option}),Ae,{selected:Le["aria-selected"],index:Ye,inputValue:We},Pe)},ht=(n=ye.clearIndicator)!=null?n:M.clearIndicator,mt=(i=ye.paper)!=null?i:M.paper,rt=(o=ye.popper)!=null?o:M.popper,ae=(a=ye.popupIndicator)!=null?a:M.popupIndicator,oe=Ae=>Y.jsx(eW,W({as:j,disablePortal:k,style:{width:me?me.clientWidth:null},ownerState:Pe,role:"presentation",anchorEl:me,open:ge},rt,{className:Se(ce.popper,rt==null?void 0:rt.className),children:Y.jsx(tW,W({ownerState:Pe,as:G},mt,{className:Se(ce.paper,mt==null?void 0:mt.className),children:Ae}))}));let ve=null;return Oe.length>0?ve=oe(Y.jsx(iW,W({as:E,className:ce.listbox,ownerState:Pe},pe,_,{ref:ke,children:Oe.map((Ae,Ye)=>$?Ce({key:Ae.key,group:Ae.group,children:Ae.options.map((Le,pt)=>Ve(Le,Ae.index+pt))}):Ve(Ae,Ye))}))):z&&Oe.length===0?ve=oe(Y.jsx(rW,{className:ce.loading,ownerState:Pe,children:H})):Oe.length===0&&!g&&!z&&(ve=oe(Y.jsx(nW,{className:ce.noOptions,ownerState:Pe,role:"presentation",onMouseDown:Ae=>{Ae.preventDefault()},children:q}))),Y.jsxs(U.Fragment,{children:[Y.jsx(XH,W({ref:r,className:Se(ce.root,b),ownerState:Pe},we(_e),{children:ee({id:lt,disabled:D,fullWidth:!0,size:se==="small"?"small":void 0,InputLabelProps:Ue(),InputProps:W({ref:je,className:ce.inputRoot,startAdornment:Re,onClick:Ae=>{Ae.target===Ae.currentTarget&&Ge(Ae)}},(Qe||ut)&&{endAdornment:Y.jsxs(JH,{className:ce.endAdornment,ownerState:Pe,children:[Qe?Y.jsx(ZH,W({},Ze(),{"aria-label":C,title:C,ownerState:Pe},ht,{className:Se(ce.clearIndicator,ht==null?void 0:ht.className),children:p})):null,ut?Y.jsx(QH,W({},Me(),{disabled:D,"aria-label":ge?y:J,title:ge?y:J,ownerState:Pe},ae,{className:Se(ce.popupIndicator,ae==null?void 0:ae.className),children:V})):null]})}),inputProps:W({className:ce.input,disabled:D,readOnly:K},He())})})),me?ve:null]})}),Cfe=sW,lW=fn(Y.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function cW(e){return nt("MuiAvatar",e)}tt("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const uW=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],fW=d1(),dW=e=>{const{classes:t,variant:r,colorDefault:n}=e;return it({root:["root",r,n&&"colorDefault"],img:["img"],fallback:["fallback"]},cW,t)},hW=he("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:W({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:W({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),pW=he("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),xW=he(lW,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function mW({crossOrigin:e,referrerPolicy:t,src:r,srcSet:n}){const[i,o]=U.useState(!1);return U.useEffect(()=>{if(!r&&!n)return;o(!1);let a=!0;const s=new Image;return s.onload=()=>{a&&o("loaded")},s.onerror=()=>{a&&o("error")},s.crossOrigin=e,s.referrerPolicy=t,s.src=r,n&&(s.srcset=n),()=>{a=!1}},[e,t,r,n]),i}const gW=U.forwardRef(function(t,r){const n=fW({props:t,name:"MuiAvatar"}),{alt:i,children:o,className:a,component:s="div",slots:l={},slotProps:c={},imgProps:u,sizes:f,src:d,srcSet:b,variant:p="circular"}=n,v=Ee(n,uW);let w=null;const C=mW(W({},u,{src:d,srcSet:b})),y=d||b,M=y&&C!=="error",I=W({},n,{colorDefault:!M,component:s,variant:p}),N=dW(I),[O,D]=a2("img",{className:N.img,elementType:pW,externalForwardedProps:{slots:l,slotProps:{img:W({},u,c.img)}},additionalProps:{alt:i,src:d,srcSet:b,sizes:f},ownerState:I});return M?w=Y.jsx(O,W({},D)):o||o===0?w=o:y&&i?w=i[0]:w=Y.jsx(xW,{ownerState:I,className:N.fallback}),Y.jsx(hW,W({as:s,ownerState:I,className:Se(N.root,a),ref:r},v,{children:w}))}),Efe=gW,vW=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],bW={entering:{opacity:1},entered:{opacity:1}},yW=U.forwardRef(function(t,r){const n=ma(),i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:s,easing:l,in:c,onEnter:u,onEntered:f,onEntering:d,onExit:b,onExited:p,onExiting:v,style:w,timeout:C=i,TransitionComponent:y=M4}=t,M=Ee(t,vW),I=U.useRef(null),N=qt(I,s.ref,r),O=h=>m=>{if(h){const S=I.current;m===void 0?h(S):h(S,m)}},D=O(d),T=O((h,m)=>{k4(h);const S=$c({style:w,timeout:C,easing:l},{mode:"enter"});h.style.webkitTransition=n.transitions.create("opacity",S),h.style.transition=n.transitions.create("opacity",S),u&&u(h,m)}),F=O(f),k=O(v),A=O(h=>{const m=$c({style:w,timeout:C,easing:l},{mode:"exit"});h.style.webkitTransition=n.transitions.create("opacity",m),h.style.transition=n.transitions.create("opacity",m),b&&b(h)}),x=O(p),g=h=>{o&&o(I.current,h)};return Y.jsx(y,W({appear:a,in:c,nodeRef:I,onEnter:T,onEntered:F,onEntering:D,onExit:A,onExited:x,onExiting:k,addEndListener:g,timeout:C},M,{children:(h,m)=>U.cloneElement(s,W({style:W({opacity:0,visibility:h==="exited"&&!c?"hidden":void 0},bW[h],w,s.props.style),ref:N},m))}))}),jM=yW;function wW(e){return nt("MuiBackdrop",e)}tt("MuiBackdrop",["root","invisible"]);const SW=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],CW=e=>{const{classes:t,invisible:r}=e;return it({root:["root",r&&"invisible"]},wW,t)},EW=he("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})(({ownerState:e})=>W({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),MW=U.forwardRef(function(t,r){var n,i,o;const a=ft({props:t,name:"MuiBackdrop"}),{children:s,className:l,component:c="div",components:u={},componentsProps:f={},invisible:d=!1,open:b,slotProps:p={},slots:v={},TransitionComponent:w=jM,transitionDuration:C}=a,y=Ee(a,SW),M=W({},a,{component:c,invisible:d}),I=CW(M),N=(n=p.root)!=null?n:f.root;return Y.jsx(w,W({in:b,timeout:C},y,{children:Y.jsx(EW,W({"aria-hidden":!0},N,{as:(i=(o=v.root)!=null?o:u.Root)!=null?i:c,className:Se(I.root,l,N==null?void 0:N.className),ownerState:W({},M,N==null?void 0:N.ownerState),classes:I,ref:r,children:s}))}))}),UM=MW;function PW(e){return nt("MuiBadge",e)}const AW=tt("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),Pa=AW,kW=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],Um=10,Hm=4,_W=d1(),RW=e=>{const{color:t,anchorOrigin:r,invisible:n,overlap:i,variant:o,classes:a={}}=e,s={root:["root"],badge:["badge",o,n&&"invisible",`anchorOrigin${de(r.vertical)}${de(r.horizontal)}`,`anchorOrigin${de(r.vertical)}${de(r.horizontal)}${de(i)}`,`overlap${de(i)}`,t!=="default"&&`color${de(t)}`]};return it(s,PW,a)},TW=he("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),$W=he("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.badge,t[r.variant],t[`anchorOrigin${de(r.anchorOrigin.vertical)}${de(r.anchorOrigin.horizontal)}${de(r.overlap)}`],r.color!=="default"&&t[`color${de(r.color)}`],r.invisible&&t.invisible]}})(({theme:e})=>{var t;return{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:Um*2,lineHeight:1,padding:"0 6px",height:Um*2,borderRadius:Um,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(r=>{var n,i;return((n=e.vars)!=null?n:e).palette[r].main&&((i=e.vars)!=null?i:e).palette[r].contrastText}).map(r=>({props:{color:r},style:{backgroundColor:(e.vars||e).palette[r].main,color:(e.vars||e).palette[r].contrastText}})),{props:{variant:"dot"},style:{borderRadius:Hm,height:Hm*2,minWidth:Hm*2,padding:0}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="top"&&r.anchorOrigin.horizontal==="right"&&r.overlap==="rectangular",style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Pa.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="bottom"&&r.anchorOrigin.horizontal==="right"&&r.overlap==="rectangular",style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Pa.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="top"&&r.anchorOrigin.horizontal==="left"&&r.overlap==="rectangular",style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Pa.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="bottom"&&r.anchorOrigin.horizontal==="left"&&r.overlap==="rectangular",style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Pa.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="top"&&r.anchorOrigin.horizontal==="right"&&r.overlap==="circular",style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Pa.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="bottom"&&r.anchorOrigin.horizontal==="right"&&r.overlap==="circular",style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Pa.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="top"&&r.anchorOrigin.horizontal==="left"&&r.overlap==="circular",style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Pa.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="bottom"&&r.anchorOrigin.horizontal==="left"&&r.overlap==="circular",style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Pa.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]}}),BW=U.forwardRef(function(t,r){var n,i,o,a,s,l;const c=_W({props:t,name:"MuiBadge"}),{anchorOrigin:u={vertical:"top",horizontal:"right"},className:f,component:d,components:b={},componentsProps:p={},children:v,overlap:w="rectangular",color:C="default",invisible:y=!1,max:M=99,badgeContent:I,slots:N,slotProps:O,showZero:D=!1,variant:T="standard"}=c,F=Ee(c,kW),{badgeContent:k,invisible:A,max:x,displayValue:g}=gj({max:M,invisible:y,badgeContent:I,showZero:D}),h=Tb({anchorOrigin:u,color:C,overlap:w,variant:T,badgeContent:I}),m=A||k==null&&T!=="dot",{color:S=C,overlap:$=w,anchorOrigin:R=u,variant:B=T}=m?h:c,P=B!=="dot"?g:void 0,E=W({},c,{badgeContent:k,invisible:m,max:x,displayValue:P,showZero:D,anchorOrigin:R,color:S,overlap:$,variant:B}),_=RW(E),z=(n=(i=N==null?void 0:N.root)!=null?i:b.Root)!=null?n:TW,H=(o=(a=N==null?void 0:N.badge)!=null?a:b.Badge)!=null?o:$W,L=(s=O==null?void 0:O.root)!=null?s:p.root,q=(l=O==null?void 0:O.badge)!=null?l:p.badge,X=Nn({elementType:z,externalSlotProps:L,externalForwardedProps:F,additionalProps:{ref:r,as:d},ownerState:E,className:Se(L==null?void 0:L.className,_.root,f)}),J=Nn({elementType:H,externalSlotProps:q,ownerState:E,className:Se(_.badge,q==null?void 0:q.className)});return Y.jsxs(z,W({},X,{children:[v,Y.jsx(H,W({},J,{children:P}))]}))}),Mfe=BW,IW=tt("MuiBox",["root"]),OW=IW,FW=dC(),DW=FO({themeId:Zs,defaultTheme:FW,defaultClassName:OW.root,generateClassName:Pb.generate}),Pfe=DW;function LW(e){return nt("MuiButton",e)}const NW=tt("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Cd=NW,zW=U.createContext({}),jW=zW,UW=U.createContext(void 0),HW=UW,WW=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],qW=e=>{const{color:t,disableElevation:r,fullWidth:n,size:i,variant:o,classes:a}=e,s={root:["root",o,`${o}${de(t)}`,`size${de(i)}`,`${o}Size${de(i)}`,`color${de(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${de(i)}`],endIcon:["icon","endIcon",`iconSize${de(i)}`]},l=it(s,LW,a);return W({},a,l)},HM=e=>W({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),VW=he(Ro,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${de(r.color)}`],t[`size${de(r.size)}`],t[`${r.variant}Size${de(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;const i=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],o=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return W({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":W({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ct(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ct(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ct(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:o,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":W({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Cd.focusVisible}`]:W({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Cd.disabled}`]:W({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Ct(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Cd.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Cd.disabled}`]:{boxShadow:"none"}}),KW=he("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${de(r.size)}`]]}})(({ownerState:e})=>W({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},HM(e))),GW=he("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${de(r.size)}`]]}})(({ownerState:e})=>W({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},HM(e))),YW=U.forwardRef(function(t,r){const n=U.useContext(jW),i=U.useContext(HW),o=_b(n,t),a=ft({props:o,name:"MuiButton"}),{children:s,color:l="primary",component:c="button",className:u,disabled:f=!1,disableElevation:d=!1,disableFocusRipple:b=!1,endIcon:p,focusVisibleClassName:v,fullWidth:w=!1,size:C="medium",startIcon:y,type:M,variant:I="text"}=a,N=Ee(a,WW),O=W({},a,{color:l,component:c,disabled:f,disableElevation:d,disableFocusRipple:b,fullWidth:w,size:C,type:M,variant:I}),D=qW(O),T=y&&Y.jsx(KW,{className:D.startIcon,ownerState:O,children:y}),F=p&&Y.jsx(GW,{className:D.endIcon,ownerState:O,children:p}),k=i||"";return Y.jsxs(VW,W({ownerState:O,className:Se(n.className,D.root,u,k),component:c,disabled:f,focusRipple:!b,focusVisibleClassName:Se(D.focusVisible,v),ref:r,type:M},N,{classes:D,children:[T,s,F]}))}),Afe=YW;function XW(e){return nt("PrivateSwitchBase",e)}tt("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const JW=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],ZW=e=>{const{classes:t,checked:r,disabled:n,edge:i}=e,o={root:["root",r&&"checked",n&&"disabled",i&&`edge${de(i)}`],input:["input"]};return it(o,XW,t)},QW=he(Ro)(({ownerState:e})=>W({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),eq=he("input",{shouldForwardProp:Zr})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),tq=U.forwardRef(function(t,r){const{autoFocus:n,checked:i,checkedIcon:o,className:a,defaultChecked:s,disabled:l,disableFocusRipple:c=!1,edge:u=!1,icon:f,id:d,inputProps:b,inputRef:p,name:v,onBlur:w,onChange:C,onFocus:y,readOnly:M,required:I=!1,tabIndex:N,type:O,value:D}=t,T=Ee(t,JW),[F,k]=Ua({controlled:i,default:!!s,name:"SwitchBase",state:"checked"}),A=ya(),x=B=>{y&&y(B),A&&A.onFocus&&A.onFocus(B)},g=B=>{w&&w(B),A&&A.onBlur&&A.onBlur(B)},h=B=>{if(B.nativeEvent.defaultPrevented)return;const P=B.target.checked;k(P),C&&C(B,P)};let m=l;A&&typeof m>"u"&&(m=A.disabled);const S=O==="checkbox"||O==="radio",$=W({},t,{checked:F,disabled:m,disableFocusRipple:c,edge:u}),R=ZW($);return Y.jsxs(QW,W({component:"span",className:Se(R.root,a),centerRipple:!0,focusRipple:!c,disabled:m,tabIndex:null,role:void 0,onFocus:x,onBlur:g,ownerState:$,ref:r},T,{children:[Y.jsx(eq,W({autoFocus:n,checked:i,defaultChecked:s,className:R.input,disabled:m,id:S?d:void 0,name:v,onChange:h,readOnly:M,ref:p,required:I,ownerState:$,tabIndex:N,type:O},O==="checkbox"&&D===void 0?{}:{value:D},b)),F?o:f]}))}),rq=tq,nq=fn(Y.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),iq=fn(Y.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),oq=fn(Y.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function aq(e){return nt("MuiCheckbox",e)}const sq=tt("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Wm=sq,lq=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],cq=e=>{const{classes:t,indeterminate:r,color:n,size:i}=e,o={root:["root",r&&"indeterminate",`color${de(n)}`,`size${de(i)}`]},a=it(o,aq,t);return W({},t,a)},uq=he(rq,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,t[`size${de(r.size)}`],r.color!=="default"&&t[`color${de(r.color)}`]]}})(({theme:e,ownerState:t})=>W({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ct(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${Wm.checked}, &.${Wm.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Wm.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),fq=Y.jsx(iq,{}),dq=Y.jsx(nq,{}),hq=Y.jsx(oq,{}),pq=U.forwardRef(function(t,r){var n,i;const o=ft({props:t,name:"MuiCheckbox"}),{checkedIcon:a=fq,color:s="primary",icon:l=dq,indeterminate:c=!1,indeterminateIcon:u=hq,inputProps:f,size:d="medium",className:b}=o,p=Ee(o,lq),v=c?u:l,w=c?u:a,C=W({},o,{color:s,indeterminate:c,size:d}),y=cq(C);return Y.jsx(uq,W({type:"checkbox",inputProps:W({"data-indeterminate":c},f),icon:U.cloneElement(v,{fontSize:(n=v.props.fontSize)!=null?n:d}),checkedIcon:U.cloneElement(w,{fontSize:(i=w.props.fontSize)!=null?i:d}),ownerState:C,ref:r,className:Se(y.root,b)},p,{classes:y}))}),kfe=pq;function xq(e){return nt("MuiCircularProgress",e)}tt("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const mq=["className","color","disableShrink","size","style","thickness","value","variant"];let L1=e=>e,l5,c5,u5,f5;const Aa=44,gq=ls(l5||(l5=L1` + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } +`)),vq=ls(c5||(c5=L1` + 0% { + stroke-dasharray: 1px, 200px; + stroke-dashoffset: 0; + } + + 50% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -15px; + } + + 100% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -125px; + } +`)),bq=e=>{const{classes:t,variant:r,color:n,disableShrink:i}=e,o={root:["root",r,`color${de(n)}`],svg:["svg"],circle:["circle",`circle${de(r)}`,i&&"circleDisableShrink"]};return it(o,xq,t)},yq=he("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${de(r.color)}`]]}})(({ownerState:e,theme:t})=>W({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&Ec(u5||(u5=L1` + animation: ${0} 1.4s linear infinite; + `),gq)),wq=he("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Sq=he("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${de(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>W({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&Ec(f5||(f5=L1` + animation: ${0} 1.4s ease-in-out infinite; + `),vq)),Cq=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiCircularProgress"}),{className:i,color:o="primary",disableShrink:a=!1,size:s=40,style:l,thickness:c=3.6,value:u=0,variant:f="indeterminate"}=n,d=Ee(n,mq),b=W({},n,{color:o,disableShrink:a,size:s,thickness:c,value:u,variant:f}),p=bq(b),v={},w={},C={};if(f==="determinate"){const y=2*Math.PI*((Aa-c)/2);v.strokeDasharray=y.toFixed(3),C["aria-valuenow"]=Math.round(u),v.strokeDashoffset=`${((100-u)/100*y).toFixed(3)}px`,w.transform="rotate(-90deg)"}return Y.jsx(yq,W({className:Se(p.root,i),style:W({width:s,height:s},w,l),ownerState:b,ref:r,role:"progressbar"},C,d,{children:Y.jsx(wq,{className:p.svg,ownerState:b,viewBox:`${Aa/2} ${Aa/2} ${Aa} ${Aa}`,children:Y.jsx(Sq,{className:p.circle,style:v,ownerState:b,cx:Aa,cy:Aa,r:(Aa-c)/2,fill:"none",strokeWidth:c})})}))}),_fe=Cq,Eq=(e,t)=>W({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),Mq=e=>W({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Pq=(e,t=!1)=>{var r;const n={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([a,s])=>{var l;n[e.getColorSchemeSelector(a).replace(/\s*&/,"")]={colorScheme:(l=s.palette)==null?void 0:l.mode}});let i=W({html:Eq(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:W({margin:0},Mq(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},n);const o=(r=e.components)==null||(r=r.MuiCssBaseline)==null?void 0:r.styleOverrides;return o&&(i=[i,o]),i};function Rfe(e){const t=ft({props:e,name:"MuiCssBaseline"}),{children:r,enableColorScheme:n=!1}=t;return Y.jsxs(U.Fragment,{children:[Y.jsx(NM,{styles:i=>Pq(i,n)}),r]})}function Aq(e){return nt("MuiModal",e)}tt("MuiModal",["root","hidden","backdrop"]);const kq=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],_q=e=>{const{open:t,exited:r,classes:n}=e;return it({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},Aq,n)},Rq=he("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(({theme:e,ownerState:t})=>W({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),Tq=he(UM,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),$q=U.forwardRef(function(t,r){var n,i,o,a,s,l;const c=ft({name:"MuiModal",props:t}),{BackdropComponent:u=Tq,BackdropProps:f,className:d,closeAfterTransition:b=!1,children:p,container:v,component:w,components:C={},componentsProps:y={},disableAutoFocus:M=!1,disableEnforceFocus:I=!1,disableEscapeKeyDown:N=!1,disablePortal:O=!1,disableRestoreFocus:D=!1,disableScrollLock:T=!1,hideBackdrop:F=!1,keepMounted:k=!1,onBackdropClick:A,open:x,slotProps:g,slots:h}=c,m=Ee(c,kq),S=W({},c,{closeAfterTransition:b,disableAutoFocus:M,disableEnforceFocus:I,disableEscapeKeyDown:N,disablePortal:O,disableRestoreFocus:D,disableScrollLock:T,hideBackdrop:F,keepMounted:k}),{getRootProps:$,getBackdropProps:R,getTransitionProps:B,portalRef:P,isTopModal:E,exited:_,hasTransition:z}=Nj(W({},S,{rootRef:r})),H=W({},S,{exited:_}),L=_q(H),q={};if(p.props.tabIndex===void 0&&(q.tabIndex="-1"),z){const{onEnter:Z,onExited:ee}=B();q.onEnter=Z,q.onExited=ee}const X=(n=(i=h==null?void 0:h.root)!=null?i:C.Root)!=null?n:Rq,J=(o=(a=h==null?void 0:h.backdrop)!=null?a:C.Backdrop)!=null?o:u,G=(s=g==null?void 0:g.root)!=null?s:y.root,j=(l=g==null?void 0:g.backdrop)!=null?l:y.backdrop,V=Nn({elementType:X,externalSlotProps:G,externalForwardedProps:m,getSlotProps:$,additionalProps:{ref:r,as:w},ownerState:H,className:Se(d,G==null?void 0:G.className,L==null?void 0:L.root,!H.open&&H.exited&&(L==null?void 0:L.hidden))}),K=Nn({elementType:J,externalSlotProps:j,additionalProps:f,getSlotProps:Z=>R(W({},Z,{onClick:ee=>{A&&A(ee),Z!=null&&Z.onClick&&Z.onClick(ee)}})),className:Se(j==null?void 0:j.className,f==null?void 0:f.className,L==null?void 0:L.backdrop),ownerState:H});return!k&&!x&&(!z||_)?null:Y.jsx(MM,{ref:P,container:v,disablePortal:O,children:Y.jsxs(X,W({},V,{children:[!F&&u?Y.jsx(J,W({},K)):null,Y.jsx(_j,{disableEnforceFocus:I,disableAutoFocus:M,disableRestoreFocus:D,isEnabled:E,open:x,children:U.cloneElement(p,q)})]}))})}),D4=$q;function Bq(e){return nt("MuiDialog",e)}const Iq=tt("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),qm=Iq,Oq=U.createContext({}),WM=Oq,Fq=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],Dq=he(UM,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),Lq=e=>{const{classes:t,scroll:r,maxWidth:n,fullWidth:i,fullScreen:o}=e,a={root:["root"],container:["container",`scroll${de(r)}`],paper:["paper",`paperScroll${de(r)}`,`paperWidth${de(String(n))}`,i&&"paperFullWidth",o&&"paperFullScreen"]};return it(a,Bq,t)},Nq=he(D4,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),zq=he("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.container,t[`scroll${de(r.scroll)}`]]}})(({ownerState:e})=>W({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),jq=he(ba,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`scrollPaper${de(r.scroll)}`],t[`paperWidth${de(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>W({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${qm.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${qm.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${qm.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),Uq=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiDialog"}),i=ma(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":s,BackdropComponent:l,BackdropProps:c,children:u,className:f,disableEscapeKeyDown:d=!1,fullScreen:b=!1,fullWidth:p=!1,maxWidth:v="sm",onBackdropClick:w,onClose:C,open:y,PaperComponent:M=ba,PaperProps:I={},scroll:N="paper",TransitionComponent:O=jM,transitionDuration:D=o,TransitionProps:T}=n,F=Ee(n,Fq),k=W({},n,{disableEscapeKeyDown:d,fullScreen:b,fullWidth:p,maxWidth:v,scroll:N}),A=Lq(k),x=U.useRef(),g=$=>{x.current=$.target===$.currentTarget},h=$=>{x.current&&(x.current=null,w&&w($),C&&C($,"backdropClick"))},m=Qa(s),S=U.useMemo(()=>({titleId:m}),[m]);return Y.jsx(Nq,W({className:Se(A.root,f),closeAfterTransition:!0,components:{Backdrop:Dq},componentsProps:{backdrop:W({transitionDuration:D,as:l},c)},disableEscapeKeyDown:d,onClose:C,open:y,ref:r,onClick:h,ownerState:k},F,{children:Y.jsx(O,W({appear:!0,in:y,timeout:D,role:"presentation"},T,{children:Y.jsx(zq,{className:Se(A.container),onMouseDown:g,ownerState:k,children:Y.jsx(jq,W({as:M,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":m},I,{className:Se(A.paper,I.className),ownerState:k,children:Y.jsx(WM.Provider,{value:S,children:u})}))})}))}))}),Tfe=Uq;function Hq(e){return nt("MuiDialogActions",e)}tt("MuiDialogActions",["root","spacing"]);const Wq=["className","disableSpacing"],qq=e=>{const{classes:t,disableSpacing:r}=e;return it({root:["root",!r&&"spacing"]},Hq,t)},Vq=he("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})(({ownerState:e})=>W({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),Kq=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiDialogActions"}),{className:i,disableSpacing:o=!1}=n,a=Ee(n,Wq),s=W({},n,{disableSpacing:o}),l=qq(s);return Y.jsx(Vq,W({className:Se(l.root,i),ownerState:s,ref:r},a))}),$fe=Kq;function Gq(e){return nt("MuiDialogContent",e)}tt("MuiDialogContent",["root","dividers"]);function Yq(e){return nt("MuiDialogTitle",e)}const Xq=tt("MuiDialogTitle",["root"]),Jq=Xq,Zq=["className","dividers"],Qq=e=>{const{classes:t,dividers:r}=e;return it({root:["root",r&&"dividers"]},Gq,t)},eV=he("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>W({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${Jq.root} + &`]:{paddingTop:0}})),tV=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiDialogContent"}),{className:i,dividers:o=!1}=n,a=Ee(n,Zq),s=W({},n,{dividers:o}),l=Qq(s);return Y.jsx(eV,W({className:Se(l.root,i),ownerState:s,ref:r},a))}),Bfe=tV;function rV(e){return nt("MuiDialogContentText",e)}tt("MuiDialogContentText",["root"]);const nV=["children","className"],iV=e=>{const{classes:t}=e,n=it({root:["root"]},rV,t);return W({},t,n)},oV=he(Zo,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),aV=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiDialogContentText"}),{className:i}=n,o=Ee(n,nV),a=iV(o);return Y.jsx(oV,W({component:"p",variant:"body1",color:"text.secondary",ref:r,ownerState:o,className:Se(a.root,i)},n,{classes:a}))}),Ife=aV,sV=["className","id"],lV=e=>{const{classes:t}=e;return it({root:["root"]},Yq,t)},cV=he(Zo,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),uV=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiDialogTitle"}),{className:i,id:o}=n,a=Ee(n,sV),s=n,l=lV(s),{titleId:c=o}=U.useContext(WM);return Y.jsx(cV,W({component:"h2",className:Se(l.root,i),ownerState:s,ref:r,variant:"h6",id:o??c},a))}),Ofe=uV,fV=tt("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),d5=fV,dV=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function hV(e,t,r){const n=t.getBoundingClientRect(),i=r&&r.getBoundingClientRect(),o=_i(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const c=o.getComputedStyle(t);a=c.getPropertyValue("-webkit-transform")||c.getPropertyValue("transform")}let s=0,l=0;if(a&&a!=="none"&&typeof a=="string"){const c=a.split("(")[1].split(")")[0].split(",");s=parseInt(c[4],10),l=parseInt(c[5],10)}return e==="left"?i?`translateX(${i.right+s-n.left}px)`:`translateX(${o.innerWidth+s-n.left}px)`:e==="right"?i?`translateX(-${n.right-i.left-s}px)`:`translateX(-${n.left+n.width-s}px)`:e==="up"?i?`translateY(${i.bottom+l-n.top}px)`:`translateY(${o.innerHeight+l-n.top}px)`:i?`translateY(-${n.top-i.top+n.height-l}px)`:`translateY(-${n.top+n.height-l}px)`}function pV(e){return typeof e=="function"?e():e}function Ed(e,t,r){const n=pV(r),i=hV(e,t,n);i&&(t.style.webkitTransform=i,t.style.transform=i)}const xV=U.forwardRef(function(t,r){const n=ma(),i={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,container:c,direction:u="down",easing:f=i,in:d,onEnter:b,onEntered:p,onEntering:v,onExit:w,onExited:C,onExiting:y,style:M,timeout:I=o,TransitionComponent:N=M4}=t,O=Ee(t,dV),D=U.useRef(null),T=qt(l.ref,D,r),F=R=>B=>{R&&(B===void 0?R(D.current):R(D.current,B))},k=F((R,B)=>{Ed(u,R,c),k4(R),b&&b(R,B)}),A=F((R,B)=>{const P=$c({timeout:I,style:M,easing:f},{mode:"enter"});R.style.webkitTransition=n.transitions.create("-webkit-transform",W({},P)),R.style.transition=n.transitions.create("transform",W({},P)),R.style.webkitTransform="none",R.style.transform="none",v&&v(R,B)}),x=F(p),g=F(y),h=F(R=>{const B=$c({timeout:I,style:M,easing:f},{mode:"exit"});R.style.webkitTransition=n.transitions.create("-webkit-transform",B),R.style.transition=n.transitions.create("transform",B),Ed(u,R,c),w&&w(R)}),m=F(R=>{R.style.webkitTransition="",R.style.transition="",C&&C(R)}),S=R=>{a&&a(D.current,R)},$=U.useCallback(()=>{D.current&&Ed(u,D.current,c)},[u,c]);return U.useEffect(()=>{if(d||u==="down"||u==="right")return;const R=Jc(()=>{D.current&&Ed(u,D.current,c)}),B=_i(D.current);return B.addEventListener("resize",R),()=>{R.clear(),B.removeEventListener("resize",R)}},[u,d,c]),U.useEffect(()=>{d||$()},[d,$]),Y.jsx(N,W({nodeRef:D,onEnter:k,onEntered:x,onEntering:A,onExit:h,onExited:m,onExiting:g,addEndListener:S,appear:s,in:d,timeout:I},O,{children:(R,B)=>U.cloneElement(l,W({ref:T,style:W({visibility:R==="exited"&&!d?"hidden":void 0},M,l.props.style)},B))}))}),mV=xV;function gV(e){return nt("MuiDrawer",e)}tt("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const vV=["BackdropProps"],bV=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],qM=(e,t)=>{const{ownerState:r}=e;return[t.root,(r.variant==="permanent"||r.variant==="persistent")&&t.docked,t.modal]},yV=e=>{const{classes:t,anchor:r,variant:n}=e,i={root:["root"],docked:[(n==="permanent"||n==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${de(r)}`,n!=="temporary"&&`paperAnchorDocked${de(r)}`]};return it(i,gV,t)},wV=he(D4,{name:"MuiDrawer",slot:"Root",overridesResolver:qM})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),h5=he("div",{shouldForwardProp:Zr,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:qM})({flex:"0 0 auto"}),SV=he(ba,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`paperAnchor${de(r.anchor)}`],r.variant!=="temporary"&&t[`paperAnchorDocked${de(r.anchor)}`]]}})(({theme:e,ownerState:t})=>W({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),VM={left:"right",right:"left",top:"down",bottom:"up"};function CV(e){return["left","right"].indexOf(e)!==-1}function EV({direction:e},t){return e==="rtl"&&CV(t)?VM[t]:t}const MV=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiDrawer"}),i=ma(),o=Zc(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{anchor:s="left",BackdropProps:l,children:c,className:u,elevation:f=16,hideBackdrop:d=!1,ModalProps:{BackdropProps:b}={},onClose:p,open:v=!1,PaperProps:w={},SlideProps:C,TransitionComponent:y=mV,transitionDuration:M=a,variant:I="temporary"}=n,N=Ee(n.ModalProps,vV),O=Ee(n,bV),D=U.useRef(!1);U.useEffect(()=>{D.current=!0},[]);const T=EV({direction:o?"rtl":"ltr"},s),k=W({},n,{anchor:s,elevation:f,open:v,variant:I},O),A=yV(k),x=Y.jsx(SV,W({elevation:I==="temporary"?f:0,square:!0},w,{className:Se(A.paper,w.className),ownerState:k,children:c}));if(I==="permanent")return Y.jsx(h5,W({className:Se(A.root,A.docked,u),ownerState:k,ref:r},O,{children:x}));const g=Y.jsx(y,W({in:v,direction:VM[T],timeout:M,appear:D.current},C,{children:x}));return I==="persistent"?Y.jsx(h5,W({className:Se(A.root,A.docked,u),ownerState:k,ref:r},O,{children:g})):Y.jsx(wV,W({BackdropProps:W({},l,b,{transitionDuration:M}),className:Se(A.root,A.modal,u),open:v,ownerState:k,onClose:p,hideBackdrop:d,ref:r},O,N,{children:g}))}),Ffe=MV,PV=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],AV=e=>{const{classes:t,disableUnderline:r}=e,i=it({root:["root",!r&&"underline"],input:["input"]},HH,t);return W({},t,i)},kV=he(O1,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...B1(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var r;const n=e.palette.mode==="light",i=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return W({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o}},[`&.${Gn.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o},[`&.${Gn.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(r=(e.vars||e).palette[t.color||"primary"])==null?void 0:r.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Gn.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Gn.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Gn.disabled}, .${Gn.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Gn.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&W({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9}))}),_V=he(F1,{name:"MuiFilledInput",slot:"Input",overridesResolver:I1})(({theme:e,ownerState:t})=>W({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),KM=U.forwardRef(function(t,r){var n,i,o,a;const s=ft({props:t,name:"MuiFilledInput"}),{components:l={},componentsProps:c,fullWidth:u=!1,inputComponent:f="input",multiline:d=!1,slotProps:b,slots:p={},type:v="text"}=s,w=Ee(s,PV),C=W({},s,{fullWidth:u,inputComponent:f,multiline:d,type:v}),y=AV(s),M={root:{ownerState:C},input:{ownerState:C}},I=b??c?gn(M,b??c):M,N=(n=(i=p.root)!=null?i:l.Root)!=null?n:kV,O=(o=(a=p.input)!=null?a:l.Input)!=null?o:_V;return Y.jsx(D1,W({slots:{root:N,input:O},componentsProps:I,fullWidth:u,inputComponent:f,multiline:d,ref:r,type:v},w,{classes:y}))});KM.muiName="Input";const GM=KM;function RV(e){return nt("MuiFormControl",e)}tt("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const TV=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],$V=e=>{const{classes:t,margin:r,fullWidth:n}=e,i={root:["root",r!=="none"&&`margin${de(r)}`,n&&"fullWidth"]};return it(i,RV,t)},BV=he("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>W({},t.root,t[`margin${de(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>W({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),IV=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiFormControl"}),{children:i,className:o,color:a="primary",component:s="div",disabled:l=!1,error:c=!1,focused:u,fullWidth:f=!1,hiddenLabel:d=!1,margin:b="none",required:p=!1,size:v="medium",variant:w="outlined"}=n,C=Ee(n,TV),y=W({},n,{color:a,component:s,disabled:l,error:c,fullWidth:f,hiddenLabel:d,margin:b,required:p,size:v,variant:w}),M=$V(y),[I,N]=U.useState(()=>{let g=!1;return i&&U.Children.forEach(i,h=>{if(!df(h,["Input","Select"]))return;const m=df(h,["Select"])?h.props.input:h;m&&BH(m.props)&&(g=!0)}),g}),[O,D]=U.useState(()=>{let g=!1;return i&&U.Children.forEach(i,h=>{df(h,["Input","Select"])&&(Jh(h.props,!0)||Jh(h.props.inputProps,!0))&&(g=!0)}),g}),[T,F]=U.useState(!1);l&&T&&F(!1);const k=u!==void 0&&!l?u:T;let A;const x=U.useMemo(()=>({adornedStart:I,setAdornedStart:N,color:a,disabled:l,error:c,filled:O,focused:k,fullWidth:f,hiddenLabel:d,size:v,onBlur:()=>{F(!1)},onEmpty:()=>{D(!1)},onFilled:()=>{D(!0)},onFocus:()=>{F(!0)},registerEffect:A,required:p,variant:w}),[I,a,l,c,O,k,f,d,A,p,v,w]);return Y.jsx($1.Provider,{value:x,children:Y.jsx(BV,W({as:s,ownerState:y,className:Se(M.root,o),ref:r},C,{children:i}))})}),OV=IV,FV=DF({createStyledComponent:he("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>ft({props:e,name:"MuiStack"})}),DV=FV;function LV(e){return nt("MuiFormControlLabel",e)}const NV=tt("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),af=NV,zV=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],jV=e=>{const{classes:t,disabled:r,labelPlacement:n,error:i,required:o}=e,a={root:["root",r&&"disabled",`labelPlacement${de(n)}`,i&&"error",o&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",i&&"error"]};return it(a,LV,t)},UV=he("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${af.label}`]:t.label},t.root,t[`labelPlacement${de(r.labelPlacement)}`]]}})(({theme:e,ownerState:t})=>W({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${af.disabled}`]:{cursor:"default"}},t.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},t.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},t.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${af.label}`]:{[`&.${af.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),HV=he("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${af.error}`]:{color:(e.vars||e).palette.error.main}})),WV=U.forwardRef(function(t,r){var n,i;const o=ft({props:t,name:"MuiFormControlLabel"}),{className:a,componentsProps:s={},control:l,disabled:c,disableTypography:u,label:f,labelPlacement:d="end",required:b,slotProps:p={}}=o,v=Ee(o,zV),w=ya(),C=(n=c??l.props.disabled)!=null?n:w==null?void 0:w.disabled,y=b??l.props.required,M={disabled:C,required:y};["checked","name","onChange","value","inputRef"].forEach(F=>{typeof l.props[F]>"u"&&typeof o[F]<"u"&&(M[F]=o[F])});const I=xl({props:o,muiFormControl:w,states:["error"]}),N=W({},o,{disabled:C,labelPlacement:d,required:y,error:I.error}),O=jV(N),D=(i=p.typography)!=null?i:s.typography;let T=f;return T!=null&&T.type!==Zo&&!u&&(T=Y.jsx(Zo,W({component:"span"},D,{className:Se(O.label,D==null?void 0:D.className),children:T}))),Y.jsxs(UV,W({className:Se(O.root,a),ownerState:N,ref:r},v,{children:[U.cloneElement(l,M),y?Y.jsxs(DV,{display:"block",children:[T,Y.jsxs(HV,{ownerState:N,"aria-hidden":!0,className:O.asterisk,children:[" ","*"]})]}):T]}))}),Dfe=WV;function qV(e){return nt("MuiFormHelperText",e)}const VV=tt("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),p5=VV;var x5;const KV=["children","className","component","disabled","error","filled","focused","margin","required","variant"],GV=e=>{const{classes:t,contained:r,size:n,disabled:i,error:o,filled:a,focused:s,required:l}=e,c={root:["root",i&&"disabled",o&&"error",n&&`size${de(n)}`,r&&"contained",s&&"focused",a&&"filled",l&&"required"]};return it(c,qV,t)},YV=he("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.size&&t[`size${de(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})(({theme:e,ownerState:t})=>W({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${p5.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${p5.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),XV=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiFormHelperText"}),{children:i,className:o,component:a="p"}=n,s=Ee(n,KV),l=ya(),c=xl({props:n,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),u=W({},n,{component:a,contained:c.variant==="filled"||c.variant==="outlined",variant:c.variant,size:c.size,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),f=GV(u);return Y.jsx(YV,W({as:a,ownerState:u,className:Se(f.root,o),ref:r},s,{children:i===" "?x5||(x5=Y.jsx("span",{className:"notranslate",children:"​"})):i}))}),JV=XV;function ZV(e){return nt("MuiFormLabel",e)}const QV=tt("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Mf=QV,eK=["children","className","color","component","disabled","error","filled","focused","required"],tK=e=>{const{classes:t,color:r,focused:n,disabled:i,error:o,filled:a,required:s}=e,l={root:["root",`color${de(r)}`,i&&"disabled",o&&"error",a&&"filled",n&&"focused",s&&"required"],asterisk:["asterisk",o&&"error"]};return it(l,ZV,t)},rK=he("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>W({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>W({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Mf.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Mf.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Mf.error}`]:{color:(e.vars||e).palette.error.main}})),nK=he("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Mf.error}`]:{color:(e.vars||e).palette.error.main}})),iK=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiFormLabel"}),{children:i,className:o,component:a="label"}=n,s=Ee(n,eK),l=ya(),c=xl({props:n,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),u=W({},n,{color:c.color||"primary",component:a,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),f=tK(u);return Y.jsxs(rK,W({as:a,ownerState:u,className:Se(f.root,o),ref:r},s,{children:[i,c.required&&Y.jsxs(nK,{ownerState:u,"aria-hidden":!0,className:f.asterisk,children:[" ","*"]})]}))}),oK=iK,aK=U.createContext(),m5=aK;function sK(e){return nt("MuiGrid",e)}const lK=[0,1,2,3,4,5,6,7,8,9,10],cK=["column-reverse","column","row-reverse","row"],uK=["nowrap","wrap-reverse","wrap"],ku=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],l0=tt("MuiGrid",["root","container","item","zeroMinWidth",...lK.map(e=>`spacing-xs-${e}`),...cK.map(e=>`direction-xs-${e}`),...uK.map(e=>`wrap-xs-${e}`),...ku.map(e=>`grid-xs-${e}`),...ku.map(e=>`grid-sm-${e}`),...ku.map(e=>`grid-md-${e}`),...ku.map(e=>`grid-lg-${e}`),...ku.map(e=>`grid-xl-${e}`)]),fK=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function pc(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function dK({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce((n,i)=>{let o={};if(t[i]&&(r=t[i]),!r)return n;if(r===!0)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(r==="auto")o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const a=Ws({values:t.columns,breakpoints:e.breakpoints.values}),s=typeof a=="object"?a[i]:a;if(s==null)return n;const l=`${Math.round(r/s*1e8)/1e6}%`;let c={};if(t.container&&t.item&&t.columnSpacing!==0){const u=e.spacing(t.columnSpacing);if(u!=="0px"){const f=`calc(${l} + ${pc(u)})`;c={flexBasis:f,maxWidth:f}}}o=W({flexBasis:l,flexGrow:0,maxWidth:l},c)}return e.breakpoints.values[i]===0?Object.assign(n,o):n[e.breakpoints.up(i)]=o,n},{})}function hK({theme:e,ownerState:t}){const r=Ws({values:t.direction,breakpoints:e.breakpoints.values});return Ln({theme:e},r,n=>{const i={flexDirection:n};return n.indexOf("column")===0&&(i[`& > .${l0.item}`]={maxWidth:"none"}),i})}function YM({breakpoints:e,values:t}){let r="";Object.keys(t).forEach(i=>{r===""&&t[i]!==0&&(r=i)});const n=Object.keys(e).sort((i,o)=>e[i]-e[o]);return n.slice(0,n.indexOf(r))}function pK({theme:e,ownerState:t}){const{container:r,rowSpacing:n}=t;let i={};if(r&&n!==0){const o=Ws({values:n,breakpoints:e.breakpoints.values});let a;typeof o=="object"&&(a=YM({breakpoints:e.breakpoints.values,values:o})),i=Ln({theme:e},o,(s,l)=>{var c;const u=e.spacing(s);return u!=="0px"?{marginTop:`-${pc(u)}`,[`& > .${l0.item}`]:{paddingTop:pc(u)}}:(c=a)!=null&&c.includes(l)?{}:{marginTop:0,[`& > .${l0.item}`]:{paddingTop:0}}})}return i}function xK({theme:e,ownerState:t}){const{container:r,columnSpacing:n}=t;let i={};if(r&&n!==0){const o=Ws({values:n,breakpoints:e.breakpoints.values});let a;typeof o=="object"&&(a=YM({breakpoints:e.breakpoints.values,values:o})),i=Ln({theme:e},o,(s,l)=>{var c;const u=e.spacing(s);return u!=="0px"?{width:`calc(100% + ${pc(u)})`,marginLeft:`-${pc(u)}`,[`& > .${l0.item}`]:{paddingLeft:pc(u)}}:(c=a)!=null&&c.includes(l)?{}:{width:"100%",marginLeft:0,[`& > .${l0.item}`]:{paddingLeft:0}}})}return i}function mK(e,t,r={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[r[`spacing-xs-${String(e)}`]];const n=[];return t.forEach(i=>{const o=e[i];Number(o)>0&&n.push(r[`spacing-${i}-${String(o)}`])}),n}const gK=he("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{container:n,direction:i,item:o,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:c}=r;let u=[];n&&(u=mK(a,c,t));const f=[];return c.forEach(d=>{const b=r[d];b&&f.push(t[`grid-${d}-${String(b)}`])}),[t.root,n&&t.container,o&&t.item,l&&t.zeroMinWidth,...u,i!=="row"&&t[`direction-xs-${String(i)}`],s!=="wrap"&&t[`wrap-xs-${String(s)}`],...f]}})(({ownerState:e})=>W({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),hK,pK,xK,dK);function vK(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const r=[];return t.forEach(n=>{const i=e[n];if(Number(i)>0){const o=`spacing-${n}-${String(i)}`;r.push(o)}}),r}const bK=e=>{const{classes:t,container:r,direction:n,item:i,spacing:o,wrap:a,zeroMinWidth:s,breakpoints:l}=e;let c=[];r&&(c=vK(o,l));const u=[];l.forEach(d=>{const b=e[d];b&&u.push(`grid-${d}-${String(b)}`)});const f={root:["root",r&&"container",i&&"item",s&&"zeroMinWidth",...c,n!=="row"&&`direction-xs-${String(n)}`,a!=="wrap"&&`wrap-xs-${String(a)}`,...u]};return it(f,sK,t)},yK=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiGrid"}),{breakpoints:i}=ma(),o=$0(n),{className:a,columns:s,columnSpacing:l,component:c="div",container:u=!1,direction:f="row",item:d=!1,rowSpacing:b,spacing:p=0,wrap:v="wrap",zeroMinWidth:w=!1}=o,C=Ee(o,fK),y=b||p,M=l||p,I=U.useContext(m5),N=u?s||12:I,O={},D=W({},C);i.keys.forEach(k=>{C[k]!=null&&(O[k]=C[k],delete D[k])});const T=W({},o,{columns:N,container:u,direction:f,item:d,rowSpacing:y,columnSpacing:M,wrap:v,zeroMinWidth:w,spacing:p},O,{breakpoints:i.keys}),F=bK(T);return Y.jsx(m5.Provider,{value:N,children:Y.jsx(gK,W({ownerState:T,className:Se(F.root,a),as:c,ref:r},D))})}),Lfe=yK,wK=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function f2(e){return`scale(${e}, ${e**2})`}const SK={entering:{opacity:1,transform:f2(1)},entered:{opacity:1,transform:"none"}},Vm=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),XM=U.forwardRef(function(t,r){const{addEndListener:n,appear:i=!0,children:o,easing:a,in:s,onEnter:l,onEntered:c,onEntering:u,onExit:f,onExited:d,onExiting:b,style:p,timeout:v="auto",TransitionComponent:w=M4}=t,C=Ee(t,wK),y=Is(),M=U.useRef(),I=ma(),N=U.useRef(null),O=qt(N,o.ref,r),D=m=>S=>{if(m){const $=N.current;S===void 0?m($):m($,S)}},T=D(u),F=D((m,S)=>{k4(m);const{duration:$,delay:R,easing:B}=$c({style:p,timeout:v,easing:a},{mode:"enter"});let P;v==="auto"?(P=I.transitions.getAutoHeightDuration(m.clientHeight),M.current=P):P=$,m.style.transition=[I.transitions.create("opacity",{duration:P,delay:R}),I.transitions.create("transform",{duration:Vm?P:P*.666,delay:R,easing:B})].join(","),l&&l(m,S)}),k=D(c),A=D(b),x=D(m=>{const{duration:S,delay:$,easing:R}=$c({style:p,timeout:v,easing:a},{mode:"exit"});let B;v==="auto"?(B=I.transitions.getAutoHeightDuration(m.clientHeight),M.current=B):B=S,m.style.transition=[I.transitions.create("opacity",{duration:B,delay:$}),I.transitions.create("transform",{duration:Vm?B:B*.666,delay:Vm?$:$||B*.333,easing:R})].join(","),m.style.opacity=0,m.style.transform=f2(.75),f&&f(m)}),g=D(d),h=m=>{v==="auto"&&y.start(M.current||0,m),n&&n(N.current,m)};return Y.jsx(w,W({appear:i,in:s,nodeRef:N,onEnter:F,onEntered:k,onEntering:T,onExit:x,onExited:g,onExiting:A,addEndListener:h,timeout:v==="auto"?null:v},C,{children:(m,S)=>U.cloneElement(o,W({style:W({opacity:0,transform:f2(.75),visibility:m==="exited"&&!s?"hidden":void 0},SK[m],p,o.props.style),ref:O},S))}))});XM.muiSupportAuto=!0;const Zh=XM,CK=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],EK=e=>{const{classes:t,disableUnderline:r}=e,i=it({root:["root",!r&&"underline"],input:["input"]},zH,t);return W({},t,i)},MK=he(O1,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...B1(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),W({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Fa.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Fa.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Fa.disabled}, .${Fa.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Fa.disabled}:before`]:{borderBottomStyle:"dotted"}})}),PK=he(F1,{name:"MuiInput",slot:"Input",overridesResolver:I1})({}),JM=U.forwardRef(function(t,r){var n,i,o,a;const s=ft({props:t,name:"MuiInput"}),{disableUnderline:l,components:c={},componentsProps:u,fullWidth:f=!1,inputComponent:d="input",multiline:b=!1,slotProps:p,slots:v={},type:w="text"}=s,C=Ee(s,CK),y=EK(s),I={root:{ownerState:{disableUnderline:l}}},N=p??u?gn(p??u,I):I,O=(n=(i=v.root)!=null?i:c.Root)!=null?n:MK,D=(o=(a=v.input)!=null?a:c.Input)!=null?o:PK;return Y.jsx(D1,W({slots:{root:O,input:D},slotProps:N,fullWidth:f,inputComponent:d,multiline:b,ref:r,type:w},C,{classes:y}))});JM.muiName="Input";const ZM=JM;function AK(e){return nt("MuiInputAdornment",e)}const kK=tt("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),g5=kK;var v5;const _K=["children","className","component","disablePointerEvents","disableTypography","position","variant"],RK=(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${de(r.position)}`],r.disablePointerEvents===!0&&t.disablePointerEvents,t[r.variant]]},TK=e=>{const{classes:t,disablePointerEvents:r,hiddenLabel:n,position:i,size:o,variant:a}=e,s={root:["root",r&&"disablePointerEvents",i&&`position${de(i)}`,a,n&&"hiddenLabel",o&&`size${de(o)}`]};return it(s,AK,t)},$K=he("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:RK})(({theme:e,ownerState:t})=>W({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},t.variant==="filled"&&{[`&.${g5.positionStart}&:not(.${g5.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),BK=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiInputAdornment"}),{children:i,className:o,component:a="div",disablePointerEvents:s=!1,disableTypography:l=!1,position:c,variant:u}=n,f=Ee(n,_K),d=ya()||{};let b=u;u&&d.variant,d&&!b&&(b=d.variant);const p=W({},n,{hiddenLabel:d.hiddenLabel,size:d.size,disablePointerEvents:s,position:c,variant:b}),v=TK(p);return Y.jsx($1.Provider,{value:null,children:Y.jsx($K,W({as:a,ownerState:p,className:Se(v.root,o),ref:r},f,{children:typeof i=="string"&&!l?Y.jsx(Zo,{color:"text.secondary",children:i}):Y.jsxs(U.Fragment,{children:[c==="start"?v5||(v5=Y.jsx("span",{className:"notranslate",children:"​"})):null,i]})}))})}),Nfe=BK;function IK(e){return nt("MuiInputLabel",e)}tt("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const OK=["disableAnimation","margin","shrink","variant","className"],FK=e=>{const{classes:t,formControl:r,size:n,shrink:i,disableAnimation:o,variant:a,required:s}=e,l={root:["root",r&&"formControl",!o&&"animated",i&&"shrink",n&&n!=="normal"&&`size${de(n)}`,a],asterisk:[s&&"asterisk"]},c=it(l,IK,t);return W({},t,c)},DK=he(oK,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Mf.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,r.size==="small"&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})(({theme:e,ownerState:t})=>W({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&W({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&W({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&W({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),LK=U.forwardRef(function(t,r){const n=ft({name:"MuiInputLabel",props:t}),{disableAnimation:i=!1,shrink:o,className:a}=n,s=Ee(n,OK),l=ya();let c=o;typeof c>"u"&&l&&(c=l.filled||l.focused||l.adornedStart);const u=xl({props:n,muiFormControl:l,states:["size","variant","required","focused"]}),f=W({},n,{disableAnimation:i,formControl:l,shrink:c,size:u.size,variant:u.variant,required:u.required,focused:u.focused}),d=FK(f);return Y.jsx(DK,W({"data-shrink":c,ownerState:f,ref:r,className:Se(d.root,a)},s,{classes:d}))}),NK=LK,zK=U.createContext({}),ki=zK;function jK(e){return nt("MuiList",e)}tt("MuiList",["root","padding","dense","subheader"]);const UK=["children","className","component","dense","disablePadding","subheader"],HK=e=>{const{classes:t,disablePadding:r,dense:n,subheader:i}=e;return it({root:["root",!r&&"padding",n&&"dense",i&&"subheader"]},jK,t)},WK=he("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})(({ownerState:e})=>W({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),qK=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiList"}),{children:i,className:o,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:c}=n,u=Ee(n,UK),f=U.useMemo(()=>({dense:s}),[s]),d=W({},n,{component:a,dense:s,disablePadding:l}),b=HK(d);return Y.jsx(ki.Provider,{value:f,children:Y.jsxs(WK,W({as:a,className:Se(b.root,o),ref:r,ownerState:d},u,{children:[c,i]}))})}),VK=qK;function KK(e){return nt("MuiListItem",e)}const GK=tt("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),Dl=GK;function YK(e){return nt("MuiListItemButton",e)}const XK=tt("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),Ll=XK,JK=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],ZK=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.alignItems==="flex-start"&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters]},QK=e=>{const{alignItems:t,classes:r,dense:n,disabled:i,disableGutters:o,divider:a,selected:s}=e,c=it({root:["root",n&&"dense",!o&&"gutters",a&&"divider",i&&"disabled",t==="flex-start"&&"alignItemsFlexStart",s&&"selected"]},YK,r);return W({},r,c)},eG=he(Ro,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:ZK})(({theme:e,ownerState:t})=>W({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ll.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ll.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ll.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ll.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ll.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.alignItems==="flex-start"&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),tG=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiListItemButton"}),{alignItems:i="center",autoFocus:o=!1,component:a="div",children:s,dense:l=!1,disableGutters:c=!1,divider:u=!1,focusVisibleClassName:f,selected:d=!1,className:b}=n,p=Ee(n,JK),v=U.useContext(ki),w=U.useMemo(()=>({dense:l||v.dense||!1,alignItems:i,disableGutters:c}),[i,v.dense,l,c]),C=U.useRef(null);bn(()=>{o&&C.current&&C.current.focus()},[o]);const y=W({},n,{alignItems:i,dense:w.dense,disableGutters:c,divider:u,selected:d}),M=QK(y),I=qt(C,r);return Y.jsx(ki.Provider,{value:w,children:Y.jsx(eG,W({ref:I,href:p.href||p.to,component:(p.href||p.to)&&a==="div"?"button":a,focusVisibleClassName:Se(M.focusVisible,f),ownerState:y,className:Se(M.root,b)},p,{classes:M,children:s}))})}),zfe=tG;function rG(e){return nt("MuiListItemSecondaryAction",e)}tt("MuiListItemSecondaryAction",["root","disableGutters"]);const nG=["className"],iG=e=>{const{disableGutters:t,classes:r}=e;return it({root:["root",t&&"disableGutters"]},rG,r)},oG=he("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.disableGutters&&t.disableGutters]}})(({ownerState:e})=>W({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),QM=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiListItemSecondaryAction"}),{className:i}=n,o=Ee(n,nG),a=U.useContext(ki),s=W({},n,{disableGutters:a.disableGutters}),l=iG(s);return Y.jsx(oG,W({className:Se(l.root,i),ownerState:s,ref:r},o))});QM.muiName="ListItemSecondaryAction";const aG=QM,sG=["className"],lG=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],cG=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.alignItems==="flex-start"&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters,!r.disablePadding&&t.padding,r.button&&t.button,r.hasSecondaryAction&&t.secondaryAction]},uG=e=>{const{alignItems:t,button:r,classes:n,dense:i,disabled:o,disableGutters:a,disablePadding:s,divider:l,hasSecondaryAction:c,selected:u}=e;return it({root:["root",i&&"dense",!a&&"gutters",!s&&"padding",l&&"divider",o&&"disabled",r&&"button",t==="flex-start"&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},KK,n)},fG=he("div",{name:"MuiListItem",slot:"Root",overridesResolver:cG})(({theme:e,ownerState:t})=>W({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&W({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Ll.root}`]:{paddingRight:48}},{[`&.${Dl.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Dl.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Dl.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Dl.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.alignItems==="flex-start"&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Dl.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),dG=he("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),hG=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiListItem"}),{alignItems:i="center",autoFocus:o=!1,button:a=!1,children:s,className:l,component:c,components:u={},componentsProps:f={},ContainerComponent:d="li",ContainerProps:{className:b}={},dense:p=!1,disabled:v=!1,disableGutters:w=!1,disablePadding:C=!1,divider:y=!1,focusVisibleClassName:M,secondaryAction:I,selected:N=!1,slotProps:O={},slots:D={}}=n,T=Ee(n.ContainerProps,sG),F=Ee(n,lG),k=U.useContext(ki),A=U.useMemo(()=>({dense:p||k.dense||!1,alignItems:i,disableGutters:w}),[i,k.dense,p,w]),x=U.useRef(null);bn(()=>{o&&x.current&&x.current.focus()},[o]);const g=U.Children.toArray(s),h=g.length&&df(g[g.length-1],["ListItemSecondaryAction"]),m=W({},n,{alignItems:i,autoFocus:o,button:a,dense:A.dense,disabled:v,disableGutters:w,disablePadding:C,divider:y,hasSecondaryAction:h,selected:N}),S=uG(m),$=qt(x,r),R=D.root||u.Root||fG,B=O.root||f.root||{},P=W({className:Se(S.root,B.className,l),disabled:v},F);let E=c||"li";return a&&(P.component=c||"div",P.focusVisibleClassName=Se(Dl.focusVisible,M),E=Ro),h?(E=!P.component&&!c?"div":E,d==="li"&&(E==="li"?E="div":P.component==="li"&&(P.component="div")),Y.jsx(ki.Provider,{value:A,children:Y.jsxs(dG,W({as:d,className:Se(S.container,b),ref:$,ownerState:m},T,{children:[Y.jsx(R,W({},B,!ol(R)&&{as:E,ownerState:W({},m,B.ownerState)},P,{children:g})),g.pop()]}))})):Y.jsx(ki.Provider,{value:A,children:Y.jsxs(R,W({},B,{as:E,ref:$},!ol(R)&&{ownerState:W({},m,B.ownerState)},P,{children:[g,I&&Y.jsx(aG,{children:I})]}))})}),jfe=hG;function pG(e){return nt("MuiListItemAvatar",e)}tt("MuiListItemAvatar",["root","alignItemsFlexStart"]);const xG=["className"],mG=e=>{const{alignItems:t,classes:r}=e;return it({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},pG,r)},gG=he("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({ownerState:e})=>W({minWidth:56,flexShrink:0},e.alignItems==="flex-start"&&{marginTop:8})),vG=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiListItemAvatar"}),{className:i}=n,o=Ee(n,xG),a=U.useContext(ki),s=W({},n,{alignItems:a.alignItems}),l=mG(s);return Y.jsx(gG,W({className:Se(l.root,i),ownerState:s,ref:r},o))}),Ufe=vG;function bG(e){return nt("MuiListItemIcon",e)}const yG=tt("MuiListItemIcon",["root","alignItemsFlexStart"]),b5=yG,wG=["className"],SG=e=>{const{alignItems:t,classes:r}=e;return it({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},bG,r)},CG=he("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>W({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),EG=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiListItemIcon"}),{className:i}=n,o=Ee(n,wG),a=U.useContext(ki),s=W({},n,{alignItems:a.alignItems}),l=SG(s);return Y.jsx(CG,W({className:Se(l.root,i),ownerState:s,ref:r},o))}),Hfe=EG;function MG(e){return nt("MuiListItemText",e)}const PG=tt("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Qh=PG,AG=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],kG=e=>{const{classes:t,inset:r,primary:n,secondary:i,dense:o}=e;return it({root:["root",r&&"inset",o&&"dense",n&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},MG,t)},_G=he("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Qh.primary}`]:t.primary},{[`& .${Qh.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.dense&&t.dense]}})(({ownerState:e})=>W({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),RG=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiListItemText"}),{children:i,className:o,disableTypography:a=!1,inset:s=!1,primary:l,primaryTypographyProps:c,secondary:u,secondaryTypographyProps:f}=n,d=Ee(n,AG),{dense:b}=U.useContext(ki);let p=l??i,v=u;const w=W({},n,{disableTypography:a,inset:s,primary:!!p,secondary:!!v,dense:b}),C=kG(w);return p!=null&&p.type!==Zo&&!a&&(p=Y.jsx(Zo,W({variant:b?"body2":"body1",className:C.primary,component:c!=null&&c.variant?void 0:"span",display:"block"},c,{children:p}))),v!=null&&v.type!==Zo&&!a&&(v=Y.jsx(Zo,W({variant:"body2",className:C.secondary,color:"text.secondary",display:"block"},f,{children:v}))),Y.jsxs(_G,W({className:Se(C.root,o),ownerState:w,ref:r},d,{children:[p,v]}))}),Wfe=RG,TG=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Km(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function y5(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function eP(e,t){if(t===void 0)return!0;let r=e.innerText;return r===void 0&&(r=e.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.indexOf(t.keys.join(""))===0}function _u(e,t,r,n,i,o){let a=!1,s=i(e,t,t?r:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const l=n?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!eP(s,o)||l)s=i(e,s,r);else return s.focus(),!0}return!1}const $G=U.forwardRef(function(t,r){const{actions:n,autoFocus:i=!1,autoFocusItem:o=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:f="selectedMenu"}=t,d=Ee(t,TG),b=U.useRef(null),p=U.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});bn(()=>{i&&b.current.focus()},[i]),U.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(M,{direction:I})=>{const N=!b.current.style.width;if(M.clientHeight{const I=b.current,N=M.key,O=Mr(I).activeElement;if(N==="ArrowDown")M.preventDefault(),_u(I,O,c,l,Km);else if(N==="ArrowUp")M.preventDefault(),_u(I,O,c,l,y5);else if(N==="Home")M.preventDefault(),_u(I,null,c,l,Km);else if(N==="End")M.preventDefault(),_u(I,null,c,l,y5);else if(N.length===1){const D=p.current,T=N.toLowerCase(),F=performance.now();D.keys.length>0&&(F-D.lastTime>500?(D.keys=[],D.repeating=!0,D.previousKeyMatched=!0):D.repeating&&T!==D.keys[0]&&(D.repeating=!1)),D.lastTime=F,D.keys.push(T);const k=O&&!D.repeating&&eP(O,D);D.previousKeyMatched&&(k||_u(I,O,!1,l,Km,D))?M.preventDefault():D.previousKeyMatched=!1}u&&u(M)},w=qt(b,r);let C=-1;U.Children.forEach(a,(M,I)=>{if(!U.isValidElement(M)){C===I&&(C+=1,C>=a.length&&(C=-1));return}M.props.disabled||(f==="selectedMenu"&&M.props.selected||C===-1)&&(C=I),C===I&&(M.props.disabled||M.props.muiSkipListHighlight||M.type.muiSkipListHighlight)&&(C+=1,C>=a.length&&(C=-1))});const y=U.Children.map(a,(M,I)=>{if(I===C){const N={};return o&&(N.autoFocus=!0),M.props.tabIndex===void 0&&f==="selectedMenu"&&(N.tabIndex=0),U.cloneElement(M,N)}return M});return Y.jsx(VK,W({role:"menu",ref:w,className:s,onKeyDown:v,tabIndex:i?0:-1},d,{children:y}))}),BG=$G;function IG(e){return nt("MuiPopover",e)}tt("MuiPopover",["root","paper"]);const OG=["onEntering"],FG=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],DG=["slotProps"];function w5(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function S5(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function C5(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Gm(e){return typeof e=="function"?e():e}const LG=e=>{const{classes:t}=e;return it({root:["root"],paper:["paper"]},IG,t)},NG=he(D4,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),tP=he(ba,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),zG=U.forwardRef(function(t,r){var n,i,o;const a=ft({props:t,name:"MuiPopover"}),{action:s,anchorEl:l,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:f="anchorEl",children:d,className:b,container:p,elevation:v=8,marginThreshold:w=16,open:C,PaperProps:y={},slots:M,slotProps:I,transformOrigin:N={vertical:"top",horizontal:"left"},TransitionComponent:O=Zh,transitionDuration:D="auto",TransitionProps:{onEntering:T}={},disableScrollLock:F=!1}=a,k=Ee(a.TransitionProps,OG),A=Ee(a,FG),x=(n=I==null?void 0:I.paper)!=null?n:y,g=U.useRef(),h=qt(g,x.ref),m=W({},a,{anchorOrigin:c,anchorReference:f,elevation:v,marginThreshold:w,externalPaperSlotProps:x,transformOrigin:N,TransitionComponent:O,transitionDuration:D,TransitionProps:k}),S=LG(m),$=U.useCallback(()=>{if(f==="anchorPosition")return u;const Z=Gm(l),Q=(Z&&Z.nodeType===1?Z:Mr(g.current).body).getBoundingClientRect();return{top:Q.top+w5(Q,c.vertical),left:Q.left+S5(Q,c.horizontal)}},[l,c.horizontal,c.vertical,u,f]),R=U.useCallback(Z=>({vertical:w5(Z,N.vertical),horizontal:S5(Z,N.horizontal)}),[N.horizontal,N.vertical]),B=U.useCallback(Z=>{const ee={width:Z.offsetWidth,height:Z.offsetHeight},Q=R(ee);if(f==="none")return{top:null,left:null,transformOrigin:C5(Q)};const ne=$();let xe=ne.top-Q.vertical,se=ne.left-Q.horizontal;const ye=xe+ee.height,_e=se+ee.width,we=_i(Gm(l)),He=we.innerHeight-w,Ue=we.innerWidth-w;if(w!==null&&xeHe){const Me=ye-He;xe-=Me,Q.vertical+=Me}if(w!==null&&seUe){const Me=_e-Ue;se-=Me,Q.horizontal+=Me}return{top:`${Math.round(xe)}px`,left:`${Math.round(se)}px`,transformOrigin:C5(Q)}},[l,f,$,R,w]),[P,E]=U.useState(C),_=U.useCallback(()=>{const Z=g.current;if(!Z)return;const ee=B(Z);ee.top!==null&&(Z.style.top=ee.top),ee.left!==null&&(Z.style.left=ee.left),Z.style.transformOrigin=ee.transformOrigin,E(!0)},[B]);U.useEffect(()=>(F&&window.addEventListener("scroll",_),()=>window.removeEventListener("scroll",_)),[l,F,_]);const z=(Z,ee)=>{T&&T(Z,ee),_()},H=()=>{E(!1)};U.useEffect(()=>{C&&_()}),U.useImperativeHandle(s,()=>C?{updatePosition:()=>{_()}}:null,[C,_]),U.useEffect(()=>{if(!C)return;const Z=Jc(()=>{_()}),ee=_i(l);return ee.addEventListener("resize",Z),()=>{Z.clear(),ee.removeEventListener("resize",Z)}},[l,C,_]);let L=D;D==="auto"&&!O.muiSupportAuto&&(L=void 0);const q=p||(l?Mr(Gm(l)).body:void 0),X=(i=M==null?void 0:M.root)!=null?i:NG,J=(o=M==null?void 0:M.paper)!=null?o:tP,G=Nn({elementType:J,externalSlotProps:W({},x,{style:P?x.style:W({},x.style,{opacity:0})}),additionalProps:{elevation:v,ref:h},ownerState:m,className:Se(S.paper,x==null?void 0:x.className)}),j=Nn({elementType:X,externalSlotProps:(I==null?void 0:I.root)||{},externalForwardedProps:A,additionalProps:{ref:r,slotProps:{backdrop:{invisible:!0}},container:q,open:C},ownerState:m,className:Se(S.root,b)}),{slotProps:V}=j,K=Ee(j,DG);return Y.jsx(X,W({},K,!ol(X)&&{slotProps:V,disableScrollLock:F},{children:Y.jsx(O,W({appear:!0,in:C,onEntering:z,onExited:H,timeout:L},k,{children:Y.jsx(J,W({},G,{children:d}))}))}))}),jG=zG;function UG(e){return nt("MuiMenu",e)}tt("MuiMenu",["root","paper","list"]);const HG=["onEntering"],WG=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],qG={vertical:"top",horizontal:"right"},VG={vertical:"top",horizontal:"left"},KG=e=>{const{classes:t}=e;return it({root:["root"],paper:["paper"],list:["list"]},UG,t)},GG=he(jG,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),YG=he(tP,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),XG=he(BG,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),JG=U.forwardRef(function(t,r){var n,i;const o=ft({props:t,name:"MuiMenu"}),{autoFocus:a=!0,children:s,className:l,disableAutoFocusItem:c=!1,MenuListProps:u={},onClose:f,open:d,PaperProps:b={},PopoverClasses:p,transitionDuration:v="auto",TransitionProps:{onEntering:w}={},variant:C="selectedMenu",slots:y={},slotProps:M={}}=o,I=Ee(o.TransitionProps,HG),N=Ee(o,WG),O=Zc(),D=W({},o,{autoFocus:a,disableAutoFocusItem:c,MenuListProps:u,onEntering:w,PaperProps:b,transitionDuration:v,TransitionProps:I,variant:C}),T=KG(D),F=a&&!c&&d,k=U.useRef(null),A=(R,B)=>{k.current&&k.current.adjustStyleForScrollbar(R,{direction:O?"rtl":"ltr"}),w&&w(R,B)},x=R=>{R.key==="Tab"&&(R.preventDefault(),f&&f(R,"tabKeyDown"))};let g=-1;U.Children.map(s,(R,B)=>{U.isValidElement(R)&&(R.props.disabled||(C==="selectedMenu"&&R.props.selected||g===-1)&&(g=B))});const h=(n=y.paper)!=null?n:YG,m=(i=M.paper)!=null?i:b,S=Nn({elementType:y.root,externalSlotProps:M.root,ownerState:D,className:[T.root,l]}),$=Nn({elementType:h,externalSlotProps:m,ownerState:D,className:T.paper});return Y.jsx(GG,W({onClose:f,anchorOrigin:{vertical:"bottom",horizontal:O?"right":"left"},transformOrigin:O?qG:VG,slots:{paper:h,root:y.root},slotProps:{root:S,paper:$},open:d,ref:r,transitionDuration:v,TransitionProps:W({onEntering:A},I),ownerState:D},N,{classes:p,children:Y.jsx(XG,W({onKeyDown:x,actions:k,autoFocus:a&&(g===-1||c),autoFocusItem:F,variant:C},u,{className:Se(T.list,u.className),children:s}))}))}),ZG=JG;function QG(e){return nt("MuiMenuItem",e)}const eY=tt("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Ru=eY,tY=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],rY=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]},nY=e=>{const{disabled:t,dense:r,divider:n,disableGutters:i,selected:o,classes:a}=e,l=it({root:["root",r&&"dense",t&&"disabled",!i&&"gutters",n&&"divider",o&&"selected"]},QG,a);return W({},a,l)},iY=he(Ro,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:rY})(({theme:e,ownerState:t})=>W({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ru.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ru.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ru.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ru.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ru.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${d5.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${d5.inset}`]:{marginLeft:52},[`& .${Qh.root}`]:{marginTop:0,marginBottom:0},[`& .${Qh.inset}`]:{paddingLeft:36},[`& .${b5.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&W({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${b5.root} svg`]:{fontSize:"1.25rem"}}))),oY=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiMenuItem"}),{autoFocus:i=!1,component:o="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:f,className:d}=n,b=Ee(n,tY),p=U.useContext(ki),v=U.useMemo(()=>({dense:a||p.dense||!1,disableGutters:l}),[p.dense,a,l]),w=U.useRef(null);bn(()=>{i&&w.current&&w.current.focus()},[i]);const C=W({},n,{dense:v.dense,divider:s,disableGutters:l}),y=nY(n),M=qt(w,r);let I;return n.disabled||(I=f!==void 0?f:-1),Y.jsx(ki.Provider,{value:v,children:Y.jsx(iY,W({ref:M,role:u,tabIndex:I,component:o,focusVisibleClassName:Se(y.focusVisible,c),className:Se(y.root,d)},b,{ownerState:C,classes:y}))})}),aY=oY;function sY(e){return nt("MuiNativeSelect",e)}const lY=tt("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),L4=lY,cY=["className","disabled","error","IconComponent","inputRef","variant"],uY=e=>{const{classes:t,variant:r,disabled:n,multiple:i,open:o,error:a}=e,s={select:["select",r,n&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${de(r)}`,o&&"iconOpen",n&&"disabled"]};return it(s,sY,t)},rP=({ownerState:e,theme:t})=>W({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":W({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${L4.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),fY=he("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Zr,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${L4.multiple}`]:t.multiple}]}})(rP),nP=({ownerState:e,theme:t})=>W({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${L4.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),dY=he("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${de(r.variant)}`],r.open&&t.iconOpen]}})(nP),hY=U.forwardRef(function(t,r){const{className:n,disabled:i,error:o,IconComponent:a,inputRef:s,variant:l="standard"}=t,c=Ee(t,cY),u=W({},t,{disabled:i,variant:l,error:o}),f=uY(u);return Y.jsxs(U.Fragment,{children:[Y.jsx(fY,W({ownerState:u,className:Se(f.select,n),disabled:i,ref:s||r},c)),t.multiple?null:Y.jsx(dY,{as:a,ownerState:u,className:f.icon})]})}),pY=hY;var E5;const xY=["children","classes","className","label","notched"],mY=he("fieldset",{shouldForwardProp:Zr})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),gY=he("legend",{shouldForwardProp:Zr})(({ownerState:e,theme:t})=>W({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&W({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function vY(e){const{className:t,label:r,notched:n}=e,i=Ee(e,xY),o=r!=null&&r!=="",a=W({},e,{notched:n,withLabel:o});return Y.jsx(mY,W({"aria-hidden":!0,className:t,ownerState:a},i,{children:Y.jsx(gY,{ownerState:a,children:o?Y.jsx("span",{children:r}):E5||(E5=Y.jsx("span",{className:"notranslate",children:"​"}))})}))}const bY=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],yY=e=>{const{classes:t}=e,n=it({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},jH,t);return W({},t,n)},wY=he(O1,{shouldForwardProp:e=>Zr(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:B1})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return W({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${mo.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${mo.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${mo.focused} .${mo.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${mo.error} .${mo.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${mo.disabled} .${mo.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&W({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),SY=he(vY,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),CY=he(F1,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:I1})(({theme:e,ownerState:t})=>W({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),iP=U.forwardRef(function(t,r){var n,i,o,a,s;const l=ft({props:t,name:"MuiOutlinedInput"}),{components:c={},fullWidth:u=!1,inputComponent:f="input",label:d,multiline:b=!1,notched:p,slots:v={},type:w="text"}=l,C=Ee(l,bY),y=yY(l),M=ya(),I=xl({props:l,muiFormControl:M,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),N=W({},l,{color:I.color||"primary",disabled:I.disabled,error:I.error,focused:I.focused,formControl:M,fullWidth:u,hiddenLabel:I.hiddenLabel,multiline:b,size:I.size,type:w}),O=(n=(i=v.root)!=null?i:c.Root)!=null?n:wY,D=(o=(a=v.input)!=null?a:c.Input)!=null?o:CY;return Y.jsx(D1,W({slots:{root:O,input:D},renderSuffix:T=>Y.jsx(SY,{ownerState:N,className:y.notchedOutline,label:d!=null&&d!==""&&I.required?s||(s=Y.jsxs(U.Fragment,{children:[d," ","*"]})):d,notched:typeof p<"u"?p:!!(T.startAdornment||T.filled||T.focused)}),fullWidth:u,inputComponent:f,multiline:b,ref:r,type:w},C,{classes:W({},y,{notchedOutline:null})}))});iP.muiName="Input";const oP=iP,EY=fn(Y.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),MY=fn(Y.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");function PY(e){return nt("MuiSelect",e)}const Tu=tt("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var M5;const AY=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],kY=he("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${Tu.select}`]:t.select},{[`&.${Tu.select}`]:t[r.variant]},{[`&.${Tu.error}`]:t.error},{[`&.${Tu.multiple}`]:t.multiple}]}})(rP,{[`&.${Tu.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),_Y=he("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${de(r.variant)}`],r.open&&t.iconOpen]}})(nP),RY=he("input",{shouldForwardProp:e=>xC(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function P5(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function TY(e){return e==null||typeof e=="string"&&!e.trim()}const $Y=e=>{const{classes:t,variant:r,disabled:n,multiple:i,open:o,error:a}=e,s={select:["select",r,n&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${de(r)}`,o&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return it(s,PY,t)},BY=U.forwardRef(function(t,r){var n;const{"aria-describedby":i,"aria-label":o,autoFocus:a,autoWidth:s,children:l,className:c,defaultOpen:u,defaultValue:f,disabled:d,displayEmpty:b,error:p=!1,IconComponent:v,inputRef:w,labelId:C,MenuProps:y={},multiple:M,name:I,onBlur:N,onChange:O,onClose:D,onFocus:T,onOpen:F,open:k,readOnly:A,renderValue:x,SelectDisplayProps:g={},tabIndex:h,value:m,variant:S="standard"}=t,$=Ee(t,AY),[R,B]=Ua({controlled:m,default:f,name:"Select"}),[P,E]=Ua({controlled:k,default:u,name:"Select"}),_=U.useRef(null),z=U.useRef(null),[H,L]=U.useState(null),{current:q}=U.useRef(k!=null),[X,J]=U.useState(),G=qt(r,w),j=U.useCallback(ge=>{z.current=ge,ge&&L(ge)},[]),V=H==null?void 0:H.parentNode;U.useImperativeHandle(G,()=>({focus:()=>{z.current.focus()},node:_.current,value:R}),[R]),U.useEffect(()=>{u&&P&&H&&!q&&(J(s?null:V.clientWidth),z.current.focus())},[H,s]),U.useEffect(()=>{a&&z.current.focus()},[a]),U.useEffect(()=>{if(!C)return;const ge=Mr(z.current).getElementById(C);if(ge){const ze=()=>{getSelection().isCollapsed&&z.current.focus()};return ge.addEventListener("click",ze),()=>{ge.removeEventListener("click",ze)}}},[C]);const K=(ge,ze)=>{ge?F&&F(ze):D&&D(ze),q||(J(s?null:V.clientWidth),E(ge))},Z=ge=>{ge.button===0&&(ge.preventDefault(),z.current.focus(),K(!0,ge))},ee=ge=>{K(!1,ge)},Q=U.Children.toArray(l),ne=ge=>{const ze=Q.find(le=>le.props.value===ge.target.value);ze!==void 0&&(B(ze.props.value),O&&O(ge,ze))},xe=ge=>ze=>{let le;if(ze.currentTarget.hasAttribute("tabindex")){if(M){le=Array.isArray(R)?R.slice():[];const me=R.indexOf(ge.props.value);me===-1?le.push(ge.props.value):le.splice(me,1)}else le=ge.props.value;if(ge.props.onClick&&ge.props.onClick(ze),R!==le&&(B(le),O)){const me=ze.nativeEvent||ze,je=new me.constructor(me.type,me);Object.defineProperty(je,"target",{writable:!0,value:{value:le,name:I}}),O(je,ge)}M||K(!1,ze)}},se=ge=>{A||[" ","ArrowUp","ArrowDown","Enter"].indexOf(ge.key)!==-1&&(ge.preventDefault(),K(!0,ge))},ye=H!==null&&P,_e=ge=>{!ye&&N&&(Object.defineProperty(ge,"target",{writable:!0,value:{value:R,name:I}}),N(ge))};delete $["aria-invalid"];let we,He;const Ue=[];let Me=!1;(Jh({value:R})||b)&&(x?we=x(R):Me=!0);const Ze=Q.map(ge=>{if(!U.isValidElement(ge))return null;let ze;if(M){if(!Array.isArray(R))throw new Error(la(2));ze=R.some(le=>P5(le,ge.props.value)),ze&&Me&&Ue.push(ge.props.children)}else ze=P5(R,ge.props.value),ze&&Me&&(He=ge.props.children);return U.cloneElement(ge,{"aria-selected":ze?"true":"false",onClick:xe(ge),onKeyUp:le=>{le.key===" "&&le.preventDefault(),ge.props.onKeyUp&&ge.props.onKeyUp(le)},role:"option",selected:ze,value:void 0,"data-value":ge.props.value})});Me&&(M?Ue.length===0?we=null:we=Ue.reduce((ge,ze,le)=>(ge.push(ze),le{const{classes:t}=e;return t},N4={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Zr(e)&&e!=="variant",slot:"Root"},LY=he(ZM,N4)(""),NY=he(oP,N4)(""),zY=he(GM,N4)(""),aP=U.forwardRef(function(t,r){const n=ft({name:"MuiSelect",props:t}),{autoWidth:i=!1,children:o,classes:a={},className:s,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:u=zM,id:f,input:d,inputProps:b,label:p,labelId:v,MenuProps:w,multiple:C=!1,native:y=!1,onClose:M,onOpen:I,open:N,renderValue:O,SelectDisplayProps:D,variant:T="outlined"}=n,F=Ee(n,OY),k=y?pY:IY,A=ya(),x=xl({props:n,muiFormControl:A,states:["variant","error"]}),g=x.variant||T,h=W({},n,{variant:g,classes:a}),m=DY(h),S=Ee(m,FY),$=d||{standard:Y.jsx(LY,{ownerState:h}),outlined:Y.jsx(NY,{label:p,ownerState:h}),filled:Y.jsx(zY,{ownerState:h})}[g],R=qt(r,$.ref);return Y.jsx(U.Fragment,{children:U.cloneElement($,W({inputComponent:k,inputProps:W({children:o,error:x.error,IconComponent:u,variant:g,type:void 0,multiple:C},y?{id:f}:{autoWidth:i,defaultOpen:l,displayEmpty:c,labelId:v,MenuProps:w,onClose:M,onOpen:I,open:N,renderValue:O,SelectDisplayProps:W({id:f},D)},b,{classes:b?gn(S,b.classes):S},d?d.props.inputProps:{})},(C&&y||c)&&g==="outlined"?{notched:!0}:{},{ref:R,className:Se($.props.className,s,m.root)},!d&&{variant:g},F))})});aP.muiName="Select";const sP=aP;function jY(e){return nt("MuiSkeleton",e)}tt("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const UY=["animation","className","component","height","style","variant","width"];let ep=e=>e,A5,k5,_5,R5;const HY=e=>{const{classes:t,variant:r,animation:n,hasChildren:i,width:o,height:a}=e;return it({root:["root",r,n,i&&"withChildren",i&&!o&&"fitContent",i&&!a&&"heightAuto"]},jY,t)},WY=ls(A5||(A5=ep` + 0% { + opacity: 1; + } + + 50% { + opacity: 0.4; + } + + 100% { + opacity: 1; + } +`)),qY=ls(k5||(k5=ep` + 0% { + transform: translateX(-100%); + } + + 50% { + /* +0.5s of delay between each loop */ + transform: translateX(100%); + } + + 100% { + transform: translateX(100%); + } +`)),VY=he("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],r.animation!==!1&&t[r.animation],r.hasChildren&&t.withChildren,r.hasChildren&&!r.width&&t.fitContent,r.hasChildren&&!r.height&&t.heightAuto]}})(({theme:e,ownerState:t})=>{const r=SD(e.shape.borderRadius)||"px",n=CD(e.shape.borderRadius);return W({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:iF(e.palette.text.primary,e.palette.mode==="light"?.11:.13),height:"1.2em"},t.variant==="text"&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${n}${r}/${Math.round(n/.6*10)/10}${r}`,"&:empty:before":{content:'"\\00a0"'}},t.variant==="circular"&&{borderRadius:"50%"},t.variant==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})},({ownerState:e})=>e.animation==="pulse"&&Ec(_5||(_5=ep` + animation: ${0} 2s ease-in-out 0.5s infinite; + `),WY),({ownerState:e,theme:t})=>e.animation==="wave"&&Ec(R5||(R5=ep` + position: relative; + overflow: hidden; + + /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */ + -webkit-mask-image: -webkit-radial-gradient(white, black); + + &::after { + animation: ${0} 2s linear 0.5s infinite; + background: linear-gradient( + 90deg, + transparent, + ${0}, + transparent + ); + content: ''; + position: absolute; + transform: translateX(-100%); /* Avoid flash during server-side hydration */ + bottom: 0; + left: 0; + right: 0; + top: 0; + } + `),qY,(t.vars||t).palette.action.hover)),KY=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiSkeleton"}),{animation:i="pulse",className:o,component:a="span",height:s,style:l,variant:c="text",width:u}=n,f=Ee(n,UY),d=W({},n,{animation:i,component:a,variant:c,hasChildren:!!f.children}),b=HY(d);return Y.jsx(VY,W({as:a,ref:r,className:Se(b.root,o),ownerState:d},f,{style:W({width:u,height:s},l)}))}),qfe=KY;function GY(e){return nt("MuiSnackbarContent",e)}tt("MuiSnackbarContent",["root","message","action"]);const YY=["action","className","message","role"],XY=e=>{const{classes:t}=e;return it({root:["root"],action:["action"],message:["message"]},GY,t)},JY=he(ba,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,r=jF(e.palette.background.default,t);return W({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(r),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),ZY=he("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),QY=he("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),eX=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiSnackbarContent"}),{action:i,className:o,message:a,role:s="alert"}=n,l=Ee(n,YY),c=n,u=XY(c);return Y.jsxs(JY,W({role:s,square:!0,elevation:6,className:Se(u.root,o),ownerState:c,ref:r},l,{children:[Y.jsx(ZY,{className:u.message,ownerState:c,children:a}),i?Y.jsx(QY,{className:u.action,ownerState:c,children:i}):null]}))}),tX=eX;function rX(e){return nt("MuiSnackbar",e)}tt("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const nX=["onEnter","onExited"],iX=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],oX=e=>{const{classes:t,anchorOrigin:r}=e,n={root:["root",`anchorOrigin${de(r.vertical)}${de(r.horizontal)}`]};return it(n,rX,t)},T5=he("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`anchorOrigin${de(r.anchorOrigin.vertical)}${de(r.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>{const r={left:"50%",right:"auto",transform:"translateX(-50%)"};return W({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:W({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&r,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),aX=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiSnackbar"}),i=ma(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{action:a,anchorOrigin:{vertical:s,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:c=null,children:u,className:f,ClickAwayListenerProps:d,ContentProps:b,disableWindowBlurListener:p=!1,message:v,open:w,TransitionComponent:C=Zh,transitionDuration:y=o,TransitionProps:{onEnter:M,onExited:I}={}}=n,N=Ee(n.TransitionProps,nX),O=Ee(n,iX),D=W({},n,{anchorOrigin:{vertical:s,horizontal:l},autoHideDuration:c,disableWindowBlurListener:p,TransitionComponent:C,transitionDuration:y}),T=oX(D),{getRootProps:F,onClickAway:k}=tH(W({},D)),[A,x]=U.useState(!0),g=Nn({elementType:T5,getSlotProps:F,externalForwardedProps:O,ownerState:D,additionalProps:{ref:r},className:[T.root,f]}),h=S=>{x(!0),I&&I(S)},m=(S,$)=>{x(!1),M&&M(S,$)};return!w&&A?null:Y.jsx(Sj,W({onClickAway:k},d,{children:Y.jsx(T5,W({},g,{children:Y.jsx(C,W({appear:!0,in:w,timeout:y,direction:s==="top"?"down":"up",onEnter:m,onExited:h},N,{children:u||Y.jsx(tX,W({message:v,action:a},b))}))}))}))}),Vfe=aX;function sX(e){return nt("MuiTooltip",e)}const lX=tt("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),za=lX,cX=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function uX(e){return Math.round(e*1e5)/1e5}const fX=e=>{const{classes:t,disableInteractive:r,arrow:n,touch:i,placement:o}=e,a={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",i&&"touch",`tooltipPlacement${de(o.split("-")[0])}`],arrow:["arrow"]};return it(a,sX,t)},dX=he(T1,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(({theme:e,ownerState:t,open:r})=>W({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${za.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${za.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${za.arrow}`]:W({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${za.arrow}`]:W({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),hX=he("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${de(r.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>W({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Ct(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${uX(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${za.popper}[data-popper-placement*="left"] &`]:W({transformOrigin:"right center"},t.isRtl?W({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):W({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${za.popper}[data-popper-placement*="right"] &`]:W({transformOrigin:"left center"},t.isRtl?W({marginRight:"14px"},t.touch&&{marginRight:"24px"}):W({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${za.popper}[data-popper-placement*="top"] &`]:W({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${za.popper}[data-popper-placement*="bottom"] &`]:W({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),pX=he("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Ct(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Md=!1;const $5=new B0;let $u={x:0,y:0};function Pd(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const xX=U.forwardRef(function(t,r){var n,i,o,a,s,l,c,u,f,d,b,p,v,w,C,y,M,I,N;const O=ft({props:t,name:"MuiTooltip"}),{arrow:D=!1,children:T,components:F={},componentsProps:k={},describeChild:A=!1,disableFocusListener:x=!1,disableHoverListener:g=!1,disableInteractive:h=!1,disableTouchListener:m=!1,enterDelay:S=100,enterNextDelay:$=0,enterTouchDelay:R=700,followCursor:B=!1,id:P,leaveDelay:E=0,leaveTouchDelay:_=1500,onClose:z,onOpen:H,open:L,placement:q="bottom",PopperComponent:X,PopperProps:J={},slotProps:G={},slots:j={},title:V,TransitionComponent:K=Zh,TransitionProps:Z}=O,ee=Ee(O,cX),Q=U.isValidElement(T)?T:Y.jsx("span",{children:T}),ne=ma(),xe=Zc(),[se,ye]=U.useState(),[_e,we]=U.useState(null),He=U.useRef(!1),Ue=h||B,Me=Is(),Ze=Is(),Je=Is(),Ne=Is(),[De,fe]=Ua({controlled:L,default:!1,name:"Tooltip",state:"open"});let Ie=De;const ot=Qa(P),lt=U.useRef(),ge=kr(()=>{lt.current!==void 0&&(document.body.style.WebkitUserSelect=lt.current,lt.current=void 0),Ne.clear()});U.useEffect(()=>ge,[ge]);const ze=Le=>{$5.clear(),Md=!0,fe(!0),H&&!Ie&&H(Le)},le=kr(Le=>{$5.start(800+E,()=>{Md=!1}),fe(!1),z&&Ie&&z(Le),Me.start(ne.transitions.duration.shortest,()=>{He.current=!1})}),me=Le=>{He.current&&Le.type!=="touchstart"||(se&&se.removeAttribute("title"),Ze.clear(),Je.clear(),S||Md&&$?Ze.start(Md?$:S,()=>{ze(Le)}):ze(Le))},je=Le=>{Ze.clear(),Je.start(E,()=>{le(Le)})},{isFocusVisibleRef:We,onBlur:Oe,onFocus:Qe,ref:ut}=Rb(),[,Ge]=U.useState(!1),te=Le=>{Oe(Le),We.current===!1&&(Ge(!1),je(Le))},re=Le=>{se||ye(Le.currentTarget),Qe(Le),We.current===!0&&(Ge(!0),me(Le))},ie=Le=>{He.current=!0;const pt=Q.props;pt.onTouchStart&&pt.onTouchStart(Le)},pe=Le=>{ie(Le),Je.clear(),Me.clear(),ge(),lt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Ne.start(R,()=>{document.body.style.WebkitUserSelect=lt.current,me(Le)})},ke=Le=>{Q.props.onTouchEnd&&Q.props.onTouchEnd(Le),ge(),Je.start(_,()=>{le(Le)})};U.useEffect(()=>{if(!Ie)return;function Le(pt){(pt.key==="Escape"||pt.key==="Esc")&&le(pt)}return document.addEventListener("keydown",Le),()=>{document.removeEventListener("keydown",Le)}},[le,Ie]);const Te=qt(Q.ref,ut,ye,r);!V&&V!==0&&(Ie=!1);const $e=U.useRef(),Pe=Le=>{const pt=Q.props;pt.onMouseMove&&pt.onMouseMove(Le),$u={x:Le.clientX,y:Le.clientY},$e.current&&$e.current.update()},ce={},Re=typeof V=="string";A?(ce.title=!Ie&&Re&&!g?V:null,ce["aria-describedby"]=Ie?ot:null):(ce["aria-label"]=Re?V:null,ce["aria-labelledby"]=Ie&&!Re?ot:null);const qe=W({},ce,ee,Q.props,{className:Se(ee.className,Q.props.className),onTouchStart:ie,ref:Te},B?{onMouseMove:Pe}:{}),Ce={};m||(qe.onTouchStart=pe,qe.onTouchEnd=ke),g||(qe.onMouseOver=Pd(me,qe.onMouseOver),qe.onMouseLeave=Pd(je,qe.onMouseLeave),Ue||(Ce.onMouseOver=me,Ce.onMouseLeave=je)),x||(qe.onFocus=Pd(re,qe.onFocus),qe.onBlur=Pd(te,qe.onBlur),Ue||(Ce.onFocus=re,Ce.onBlur=te));const Xe=U.useMemo(()=>{var Le;let pt=[{name:"arrow",enabled:!!_e,options:{element:_e,padding:4}}];return(Le=J.popperOptions)!=null&&Le.modifiers&&(pt=pt.concat(J.popperOptions.modifiers)),W({},J.popperOptions,{modifiers:pt})},[_e,J]),dt=W({},O,{isRtl:xe,arrow:D,disableInteractive:Ue,placement:q,PopperComponentProp:X,touch:He.current}),Ve=fX(dt),ht=(n=(i=j.popper)!=null?i:F.Popper)!=null?n:dX,mt=(o=(a=(s=j.transition)!=null?s:F.Transition)!=null?a:K)!=null?o:Zh,rt=(l=(c=j.tooltip)!=null?c:F.Tooltip)!=null?l:hX,ae=(u=(f=j.arrow)!=null?f:F.Arrow)!=null?u:pX,oe=Ql(ht,W({},J,(d=G.popper)!=null?d:k.popper,{className:Se(Ve.popper,J==null?void 0:J.className,(b=(p=G.popper)!=null?p:k.popper)==null?void 0:b.className)}),dt),ve=Ql(mt,W({},Z,(v=G.transition)!=null?v:k.transition),dt),Ae=Ql(rt,W({},(w=G.tooltip)!=null?w:k.tooltip,{className:Se(Ve.tooltip,(C=(y=G.tooltip)!=null?y:k.tooltip)==null?void 0:C.className)}),dt),Ye=Ql(ae,W({},(M=G.arrow)!=null?M:k.arrow,{className:Se(Ve.arrow,(I=(N=G.arrow)!=null?N:k.arrow)==null?void 0:I.className)}),dt);return Y.jsxs(U.Fragment,{children:[U.cloneElement(Q,qe),Y.jsx(ht,W({as:X??T1,placement:q,anchorEl:B?{getBoundingClientRect:()=>({top:$u.y,left:$u.x,right:$u.x,bottom:$u.y,width:0,height:0})}:se,popperRef:$e,open:se?Ie:!1,id:ot,transition:!0},Ce,oe,{popperOptions:Xe,children:({TransitionProps:Le})=>Y.jsx(mt,W({timeout:ne.transitions.duration.shorter},Le,ve,{children:Y.jsxs(rt,W({},Ae,{children:[V,D?Y.jsx(ae,W({},Ye,{ref:we})):null]}))}))}))]})}),Kfe=xX;function mX(e){return nt("MuiTab",e)}const gX=tt("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),Ms=gX,vX=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],bX=e=>{const{classes:t,textColor:r,fullWidth:n,wrapped:i,icon:o,label:a,selected:s,disabled:l}=e,c={root:["root",o&&a&&"labelIcon",`textColor${de(r)}`,n&&"fullWidth",i&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]};return it(c,mX,t)},yX=he(Ro,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.label&&r.icon&&t.labelIcon,t[`textColor${de(r.textColor)}`],r.fullWidth&&t.fullWidth,r.wrapped&&t.wrapped]}})(({theme:e,ownerState:t})=>W({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${Ms.iconWrapper}`]:W({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${Ms.selected}`]:{opacity:1},[`&.${Ms.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${Ms.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${Ms.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${Ms.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${Ms.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),wX=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTab"}),{className:i,disabled:o=!1,disableFocusRipple:a=!1,fullWidth:s,icon:l,iconPosition:c="top",indicator:u,label:f,onChange:d,onClick:b,onFocus:p,selected:v,selectionFollowsFocus:w,textColor:C="inherit",value:y,wrapped:M=!1}=n,I=Ee(n,vX),N=W({},n,{disabled:o,disableFocusRipple:a,selected:v,icon:!!l,iconPosition:c,label:!!f,fullWidth:s,textColor:C,wrapped:M}),O=bX(N),D=l&&f&&U.isValidElement(l)?U.cloneElement(l,{className:Se(O.iconWrapper,l.props.className)}):l,T=k=>{!v&&d&&d(k,y),b&&b(k)},F=k=>{w&&!v&&d&&d(k,y),p&&p(k)};return Y.jsxs(yX,W({focusRipple:!a,className:Se(O.root,i),ref:r,role:"tab","aria-selected":v,disabled:o,onClick:T,onFocus:F,ownerState:N,tabIndex:v?0:-1},I,{children:[c==="top"||c==="start"?Y.jsxs(U.Fragment,{children:[D,f]}):Y.jsxs(U.Fragment,{children:[f,D]}),u]}))}),Gfe=wX,SX=U.createContext(),lP=SX;function CX(e){return nt("MuiTable",e)}tt("MuiTable",["root","stickyHeader"]);const EX=["className","component","padding","size","stickyHeader"],MX=e=>{const{classes:t,stickyHeader:r}=e;return it({root:["root",r&&"stickyHeader"]},CX,t)},PX=he("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>W({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":W({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),B5="table",AX=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTable"}),{className:i,component:o=B5,padding:a="normal",size:s="medium",stickyHeader:l=!1}=n,c=Ee(n,EX),u=W({},n,{component:o,padding:a,size:s,stickyHeader:l}),f=MX(u),d=U.useMemo(()=>({padding:a,size:s,stickyHeader:l}),[a,s,l]);return Y.jsx(lP.Provider,{value:d,children:Y.jsx(PX,W({as:o,role:o===B5?null:"table",ref:r,className:Se(f.root,i),ownerState:u},c))})}),Yfe=AX,kX=U.createContext(),N1=kX;function _X(e){return nt("MuiTableBody",e)}tt("MuiTableBody",["root"]);const RX=["className","component"],TX=e=>{const{classes:t}=e;return it({root:["root"]},_X,t)},$X=he("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),BX={variant:"body"},I5="tbody",IX=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTableBody"}),{className:i,component:o=I5}=n,a=Ee(n,RX),s=W({},n,{component:o}),l=TX(s);return Y.jsx(N1.Provider,{value:BX,children:Y.jsx($X,W({className:Se(l.root,i),as:o,ref:r,role:o===I5?null:"rowgroup",ownerState:s},a))})}),Xfe=IX;function OX(e){return nt("MuiTableCell",e)}const FX=tt("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),DX=FX,LX=["align","className","component","padding","scope","size","sortDirection","variant"],NX=e=>{const{classes:t,variant:r,align:n,padding:i,size:o,stickyHeader:a}=e,s={root:["root",r,a&&"stickyHeader",n!=="inherit"&&`align${de(n)}`,i!=="normal"&&`padding${de(i)}`,`size${de(o)}`]};return it(s,OX,t)},zX=he("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${de(r.size)}`],r.padding!=="normal"&&t[`padding${de(r.padding)}`],r.align!=="inherit"&&t[`align${de(r.align)}`],r.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>W({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid + ${e.palette.mode==="light"?Sh(Ct(e.palette.divider,1),.88):wh(Ct(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${DX.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),jX=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTableCell"}),{align:i="inherit",className:o,component:a,padding:s,scope:l,size:c,sortDirection:u,variant:f}=n,d=Ee(n,LX),b=U.useContext(lP),p=U.useContext(N1),v=p&&p.variant==="head";let w;a?w=a:w=v?"th":"td";let C=l;w==="td"?C=void 0:!C&&v&&(C="col");const y=f||p&&p.variant,M=W({},n,{align:i,component:w,padding:s||(b&&b.padding?b.padding:"normal"),size:c||(b&&b.size?b.size:"medium"),sortDirection:u,stickyHeader:y==="head"&&b&&b.stickyHeader,variant:y}),I=NX(M);let N=null;return u&&(N=u==="asc"?"ascending":"descending"),Y.jsx(zX,W({as:w,ref:r,className:Se(I.root,o),"aria-sort":N,scope:C,ownerState:M},d))}),d2=jX;function UX(e){return nt("MuiTableContainer",e)}tt("MuiTableContainer",["root"]);const HX=["className","component"],WX=e=>{const{classes:t}=e;return it({root:["root"]},UX,t)},qX=he("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),VX=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTableContainer"}),{className:i,component:o="div"}=n,a=Ee(n,HX),s=W({},n,{component:o}),l=WX(s);return Y.jsx(qX,W({ref:r,as:o,className:Se(l.root,i),ownerState:s},a))}),Jfe=VX;function KX(e){return nt("MuiTableHead",e)}tt("MuiTableHead",["root"]);const GX=["className","component"],YX=e=>{const{classes:t}=e;return it({root:["root"]},KX,t)},XX=he("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),JX={variant:"head"},O5="thead",ZX=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTableHead"}),{className:i,component:o=O5}=n,a=Ee(n,GX),s=W({},n,{component:o}),l=YX(s);return Y.jsx(N1.Provider,{value:JX,children:Y.jsx(XX,W({as:o,className:Se(l.root,i),ref:r,role:o===O5?null:"rowgroup",ownerState:s},a))})}),Zfe=ZX;function QX(e){return nt("MuiToolbar",e)}tt("MuiToolbar",["root","gutters","regular","dense"]);const eJ=["className","component","disableGutters","variant"],tJ=e=>{const{classes:t,disableGutters:r,variant:n}=e;return it({root:["root",!r&&"gutters",n]},QX,t)},rJ=he("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})(({theme:e,ownerState:t})=>W({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),nJ=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:a=!1,variant:s="regular"}=n,l=Ee(n,eJ),c=W({},n,{component:o,disableGutters:a,variant:s}),u=tJ(c);return Y.jsx(rJ,W({as:o,className:Se(u.root,i),ref:r,ownerState:c},l))}),iJ=nJ,cP=fn(Y.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),uP=fn(Y.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),oJ=["backIconButtonProps","count","disabled","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton","slots","slotProps"],aJ=U.forwardRef(function(t,r){var n,i,o,a,s,l,c,u;const{backIconButtonProps:f,count:d,disabled:b=!1,getItemAriaLabel:p,nextIconButtonProps:v,onPageChange:w,page:C,rowsPerPage:y,showFirstButton:M,showLastButton:I,slots:N={},slotProps:O={}}=t,D=Ee(t,oJ),T=Zc(),F=G=>{w(G,0)},k=G=>{w(G,C-1)},A=G=>{w(G,C+1)},x=G=>{w(G,Math.max(0,Math.ceil(d/y)-1))},g=(n=N.firstButton)!=null?n:Ns,h=(i=N.lastButton)!=null?i:Ns,m=(o=N.nextButton)!=null?o:Ns,S=(a=N.previousButton)!=null?a:Ns,$=(s=N.firstButtonIcon)!=null?s:EY,R=(l=N.lastButtonIcon)!=null?l:MY,B=(c=N.nextButtonIcon)!=null?c:uP,P=(u=N.previousButtonIcon)!=null?u:cP,E=T?h:g,_=T?m:S,z=T?S:m,H=T?g:h,L=T?O.lastButton:O.firstButton,q=T?O.nextButton:O.previousButton,X=T?O.previousButton:O.nextButton,J=T?O.firstButton:O.lastButton;return Y.jsxs("div",W({ref:r},D,{children:[M&&Y.jsx(E,W({onClick:F,disabled:b||C===0,"aria-label":p("first",C),title:p("first",C)},L,{children:T?Y.jsx(R,W({},O.lastButtonIcon)):Y.jsx($,W({},O.firstButtonIcon))})),Y.jsx(_,W({onClick:k,disabled:b||C===0,color:"inherit","aria-label":p("previous",C),title:p("previous",C)},q??f,{children:T?Y.jsx(B,W({},O.nextButtonIcon)):Y.jsx(P,W({},O.previousButtonIcon))})),Y.jsx(z,W({onClick:A,disabled:b||(d!==-1?C>=Math.ceil(d/y)-1:!1),color:"inherit","aria-label":p("next",C),title:p("next",C)},X??v,{children:T?Y.jsx(P,W({},O.previousButtonIcon)):Y.jsx(B,W({},O.nextButtonIcon))})),I&&Y.jsx(H,W({onClick:x,disabled:b||C>=Math.ceil(d/y)-1,"aria-label":p("last",C),title:p("last",C)},J,{children:T?Y.jsx($,W({},O.firstButtonIcon)):Y.jsx(R,W({},O.lastButtonIcon))}))]}))}),sJ=aJ;function lJ(e){return nt("MuiTablePagination",e)}const cJ=tt("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),Pf=cJ;var F5;const uJ=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","disabled","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton","slotProps","slots"],fJ=he(d2,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}})),dJ=he(iJ,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>W({[`& .${Pf.actions}`]:t.actions},t.toolbar)})(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${Pf.actions}`]:{flexShrink:0,marginLeft:20}})),hJ=he("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),pJ=he("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>W({},e.typography.body2,{flexShrink:0})),xJ=he(sP,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>W({[`& .${Pf.selectIcon}`]:t.selectIcon,[`& .${Pf.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${Pf.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),mJ=he(aY,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),gJ=he("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>W({},e.typography.body2,{flexShrink:0}));function vJ({from:e,to:t,count:r}){return`${e}–${t} of ${r!==-1?r:`more than ${t}`}`}function bJ(e){return`Go to ${e} page`}const yJ=e=>{const{classes:t}=e;return it({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},lJ,t)},wJ=U.forwardRef(function(t,r){var n;const i=ft({props:t,name:"MuiTablePagination"}),{ActionsComponent:o=sJ,backIconButtonProps:a,className:s,colSpan:l,component:c=d2,count:u,disabled:f=!1,getItemAriaLabel:d=bJ,labelDisplayedRows:b=vJ,labelRowsPerPage:p="Rows per page:",nextIconButtonProps:v,onPageChange:w,onRowsPerPageChange:C,page:y,rowsPerPage:M,rowsPerPageOptions:I=[10,25,50,100],SelectProps:N={},showFirstButton:O=!1,showLastButton:D=!1,slotProps:T={},slots:F={}}=i,k=Ee(i,uJ),A=i,x=yJ(A),g=(n=T==null?void 0:T.select)!=null?n:N,h=g.native?"option":mJ;let m;(c===d2||c==="td")&&(m=l||1e3);const S=Qa(g.id),$=Qa(g.labelId),R=()=>u===-1?(y+1)*M:M===-1?u:Math.min(u,(y+1)*M);return Y.jsx(fJ,W({colSpan:m,ref:r,as:c,ownerState:A,className:Se(x.root,s)},k,{children:Y.jsxs(dJ,{className:x.toolbar,children:[Y.jsx(hJ,{className:x.spacer}),I.length>1&&Y.jsx(pJ,{className:x.selectLabel,id:$,children:p}),I.length>1&&Y.jsx(xJ,W({variant:"standard"},!g.variant&&{input:F5||(F5=Y.jsx(D1,{}))},{value:M,onChange:C,id:S,labelId:$},g,{classes:W({},g.classes,{root:Se(x.input,x.selectRoot,(g.classes||{}).root),select:Se(x.select,(g.classes||{}).select),icon:Se(x.selectIcon,(g.classes||{}).icon)}),disabled:f,children:I.map(B=>U.createElement(h,W({},!ol(h)&&{ownerState:A},{className:x.menuItem,key:B.label?B.label:B,value:B.value?B.value:B}),B.label?B.label:B))})),Y.jsx(gJ,{className:x.displayedRows,children:b({from:u===0?0:y*M+1,to:R(),count:u===-1?-1:u,page:y})}),Y.jsx(o,{className:x.actions,backIconButtonProps:a,count:u,nextIconButtonProps:v,onPageChange:w,page:y,rowsPerPage:M,showFirstButton:O,showLastButton:D,slotProps:T.actions,slots:F.actions,getItemAriaLabel:d,disabled:f})]})}))}),Qfe=wJ;function SJ(e){return nt("MuiTableRow",e)}const CJ=tt("MuiTableRow",["root","selected","hover","head","footer"]),D5=CJ,EJ=["className","component","hover","selected"],MJ=e=>{const{classes:t,selected:r,hover:n,head:i,footer:o}=e;return it({root:["root",r&&"selected",n&&"hover",i&&"head",o&&"footer"]},SJ,t)},PJ=he("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${D5.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${D5.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ct(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),L5="tr",AJ=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTableRow"}),{className:i,component:o=L5,hover:a=!1,selected:s=!1}=n,l=Ee(n,EJ),c=U.useContext(N1),u=W({},n,{component:o,hover:a,selected:s,head:c&&c.variant==="head",footer:c&&c.variant==="footer"}),f=MJ(u);return Y.jsx(PJ,W({as:o,ref:r,className:Se(f.root,i),role:o===L5?null:"row",ownerState:u},l))}),e0e=AJ;function kJ(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function _J(e,t,r,n={},i=()=>{}){const{ease:o=kJ,duration:a=300}=n;let s=null;const l=t[e];let c=!1;const u=()=>{c=!0},f=d=>{if(c){i(new Error("Animation cancelled"));return}s===null&&(s=d);const b=Math.min(1,(d-s)/a);if(t[e]=o(b)*(r-l)+l,b>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(f)};return l===r?(i(new Error("Element already at target position")),u):(requestAnimationFrame(f),u)}const RJ=["onChange"],TJ={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function $J(e){const{onChange:t}=e,r=Ee(e,RJ),n=U.useRef(),i=U.useRef(null),o=()=>{n.current=i.current.offsetHeight-i.current.clientHeight};return bn(()=>{const a=Jc(()=>{const l=n.current;o(),l!==n.current&&t(n.current)}),s=_i(i.current);return s.addEventListener("resize",a),()=>{a.clear(),s.removeEventListener("resize",a)}},[t]),U.useEffect(()=>{o(),t(n.current)},[t]),Y.jsx("div",W({style:TJ,ref:i},r))}function BJ(e){return nt("MuiTabScrollButton",e)}const IJ=tt("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),OJ=IJ,FJ=["className","slots","slotProps","direction","orientation","disabled"],DJ=e=>{const{classes:t,orientation:r,disabled:n}=e;return it({root:["root",r,n&&"disabled"]},BJ,t)},LJ=he(Ro,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.orientation&&t[r.orientation]]}})(({ownerState:e})=>W({width:40,flexShrink:0,opacity:.8,[`&.${OJ.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),NJ=U.forwardRef(function(t,r){var n,i;const o=ft({props:t,name:"MuiTabScrollButton"}),{className:a,slots:s={},slotProps:l={},direction:c}=o,u=Ee(o,FJ),f=Zc(),d=W({isRtl:f},o),b=DJ(d),p=(n=s.StartScrollButtonIcon)!=null?n:cP,v=(i=s.EndScrollButtonIcon)!=null?i:uP,w=Nn({elementType:p,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d}),C=Nn({elementType:v,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d});return Y.jsx(LJ,W({component:"div",className:Se(b.root,a),ref:r,role:null,ownerState:d,tabIndex:null},u,{children:c==="left"?Y.jsx(p,W({},w)):Y.jsx(v,W({},C))}))}),zJ=NJ;function jJ(e){return nt("MuiTabs",e)}const UJ=tt("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Ym=UJ,HJ=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],N5=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,z5=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,Ad=(e,t,r)=>{let n=!1,i=r(e,t);for(;i;){if(i===e.firstChild){if(n)return;n=!0}const o=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||o)i=r(e,i);else{i.focus();return}}},WJ=e=>{const{vertical:t,fixed:r,hideScrollbar:n,scrollableX:i,scrollableY:o,centered:a,scrollButtonsHideMobile:s,classes:l}=e;return it({root:["root",t&&"vertical"],scroller:["scroller",r&&"fixed",n&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},jJ,l)},qJ=he("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Ym.scrollButtons}`]:t.scrollButtons},{[`& .${Ym.scrollButtons}`]:r.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,r.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>W({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${Ym.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),VJ=he("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.scroller,r.fixed&&t.fixed,r.hideScrollbar&&t.hideScrollbar,r.scrollableX&&t.scrollableX,r.scrollableY&&t.scrollableY]}})(({ownerState:e})=>W({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),KJ=he("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.flexContainer,r.vertical&&t.flexContainerVertical,r.centered&&t.centered]}})(({ownerState:e})=>W({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),GJ=he("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>W({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),YJ=he($J)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),j5={},XJ=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTabs"}),i=ma(),o=Zc(),{"aria-label":a,"aria-labelledby":s,action:l,centered:c=!1,children:u,className:f,component:d="div",allowScrollButtonsMobile:b=!1,indicatorColor:p="primary",onChange:v,orientation:w="horizontal",ScrollButtonComponent:C=zJ,scrollButtons:y="auto",selectionFollowsFocus:M,slots:I={},slotProps:N={},TabIndicatorProps:O={},TabScrollButtonProps:D={},textColor:T="primary",value:F,variant:k="standard",visibleScrollbar:A=!1}=n,x=Ee(n,HJ),g=k==="scrollable",h=w==="vertical",m=h?"scrollTop":"scrollLeft",S=h?"top":"left",$=h?"bottom":"right",R=h?"clientHeight":"clientWidth",B=h?"height":"width",P=W({},n,{component:d,allowScrollButtonsMobile:b,indicatorColor:p,orientation:w,vertical:h,scrollButtons:y,textColor:T,variant:k,visibleScrollbar:A,fixed:!g,hideScrollbar:g&&!A,scrollableX:g&&!h,scrollableY:g&&h,centered:c&&!g,scrollButtonsHideMobile:!b}),E=WJ(P),_=Nn({elementType:I.StartScrollButtonIcon,externalSlotProps:N.startScrollButtonIcon,ownerState:P}),z=Nn({elementType:I.EndScrollButtonIcon,externalSlotProps:N.endScrollButtonIcon,ownerState:P}),[H,L]=U.useState(!1),[q,X]=U.useState(j5),[J,G]=U.useState(!1),[j,V]=U.useState(!1),[K,Z]=U.useState(!1),[ee,Q]=U.useState({overflow:"hidden",scrollbarWidth:0}),ne=new Map,xe=U.useRef(null),se=U.useRef(null),ye=()=>{const le=xe.current;let me;if(le){const We=le.getBoundingClientRect();me={clientWidth:le.clientWidth,scrollLeft:le.scrollLeft,scrollTop:le.scrollTop,scrollLeftNormalized:bF(le,o?"rtl":"ltr"),scrollWidth:le.scrollWidth,top:We.top,bottom:We.bottom,left:We.left,right:We.right}}let je;if(le&&F!==!1){const We=se.current.children;if(We.length>0){const Oe=We[ne.get(F)];je=Oe?Oe.getBoundingClientRect():null}}return{tabsMeta:me,tabMeta:je}},_e=kr(()=>{const{tabsMeta:le,tabMeta:me}=ye();let je=0,We;if(h)We="top",me&&le&&(je=me.top-le.top+le.scrollTop);else if(We=o?"right":"left",me&&le){const Qe=o?le.scrollLeftNormalized+le.clientWidth-le.scrollWidth:le.scrollLeft;je=(o?-1:1)*(me[We]-le[We]+Qe)}const Oe={[We]:je,[B]:me?me[B]:0};if(isNaN(q[We])||isNaN(q[B]))X(Oe);else{const Qe=Math.abs(q[We]-Oe[We]),ut=Math.abs(q[B]-Oe[B]);(Qe>=1||ut>=1)&&X(Oe)}}),we=(le,{animation:me=!0}={})=>{me?_J(m,xe.current,le,{duration:i.transitions.duration.standard}):xe.current[m]=le},He=le=>{let me=xe.current[m];h?me+=le:(me+=le*(o?-1:1),me*=o&&tC()==="reverse"?-1:1),we(me)},Ue=()=>{const le=xe.current[R];let me=0;const je=Array.from(se.current.children);for(let We=0;Wele){We===0&&(me=le);break}me+=Oe[R]}return me},Me=()=>{He(-1*Ue())},Ze=()=>{He(Ue())},Je=U.useCallback(le=>{Q({overflow:null,scrollbarWidth:le})},[]),Ne=()=>{const le={};le.scrollbarSizeListener=g?Y.jsx(YJ,{onChange:Je,className:Se(E.scrollableX,E.hideScrollbar)}):null;const je=g&&(y==="auto"&&(J||j)||y===!0);return le.scrollButtonStart=je?Y.jsx(C,W({slots:{StartScrollButtonIcon:I.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:_},orientation:w,direction:o?"right":"left",onClick:Me,disabled:!J},D,{className:Se(E.scrollButtons,D.className)})):null,le.scrollButtonEnd=je?Y.jsx(C,W({slots:{EndScrollButtonIcon:I.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:z},orientation:w,direction:o?"left":"right",onClick:Ze,disabled:!j},D,{className:Se(E.scrollButtons,D.className)})):null,le},De=kr(le=>{const{tabsMeta:me,tabMeta:je}=ye();if(!(!je||!me)){if(je[S]me[$]){const We=me[m]+(je[$]-me[$]);we(We,{animation:le})}}}),fe=kr(()=>{g&&y!==!1&&Z(!K)});U.useEffect(()=>{const le=Jc(()=>{xe.current&&_e()});let me;const je=Qe=>{Qe.forEach(ut=>{ut.removedNodes.forEach(Ge=>{var te;(te=me)==null||te.unobserve(Ge)}),ut.addedNodes.forEach(Ge=>{var te;(te=me)==null||te.observe(Ge)})}),le(),fe()},We=_i(xe.current);We.addEventListener("resize",le);let Oe;return typeof ResizeObserver<"u"&&(me=new ResizeObserver(le),Array.from(se.current.children).forEach(Qe=>{me.observe(Qe)})),typeof MutationObserver<"u"&&(Oe=new MutationObserver(je),Oe.observe(se.current,{childList:!0})),()=>{var Qe,ut;le.clear(),We.removeEventListener("resize",le),(Qe=Oe)==null||Qe.disconnect(),(ut=me)==null||ut.disconnect()}},[_e,fe]),U.useEffect(()=>{const le=Array.from(se.current.children),me=le.length;if(typeof IntersectionObserver<"u"&&me>0&&g&&y!==!1){const je=le[0],We=le[me-1],Oe={root:xe.current,threshold:.99},Qe=re=>{G(!re[0].isIntersecting)},ut=new IntersectionObserver(Qe,Oe);ut.observe(je);const Ge=re=>{V(!re[0].isIntersecting)},te=new IntersectionObserver(Ge,Oe);return te.observe(We),()=>{ut.disconnect(),te.disconnect()}}},[g,y,K,u==null?void 0:u.length]),U.useEffect(()=>{L(!0)},[]),U.useEffect(()=>{_e()}),U.useEffect(()=>{De(j5!==q)},[De,q]),U.useImperativeHandle(l,()=>({updateIndicator:_e,updateScrollButtons:fe}),[_e,fe]);const Ie=Y.jsx(GJ,W({},O,{className:Se(E.indicator,O.className),ownerState:P,style:W({},q,O.style)}));let ot=0;const lt=U.Children.map(u,le=>{if(!U.isValidElement(le))return null;const me=le.props.value===void 0?ot:le.props.value;ne.set(me,ot);const je=me===F;return ot+=1,U.cloneElement(le,W({fullWidth:k==="fullWidth",indicator:je&&!H&&Ie,selected:je,selectionFollowsFocus:M,onChange:v,textColor:T,value:me},ot===1&&F===!1&&!le.props.tabIndex?{tabIndex:0}:{}))}),ge=le=>{const me=se.current,je=Mr(me).activeElement;if(je.getAttribute("role")!=="tab")return;let Oe=w==="horizontal"?"ArrowLeft":"ArrowUp",Qe=w==="horizontal"?"ArrowRight":"ArrowDown";switch(w==="horizontal"&&o&&(Oe="ArrowRight",Qe="ArrowLeft"),le.key){case Oe:le.preventDefault(),Ad(me,je,z5);break;case Qe:le.preventDefault(),Ad(me,je,N5);break;case"Home":le.preventDefault(),Ad(me,null,N5);break;case"End":le.preventDefault(),Ad(me,null,z5);break}},ze=Ne();return Y.jsxs(qJ,W({className:Se(E.root,f),ownerState:P,ref:r,as:d},x,{children:[ze.scrollButtonStart,ze.scrollbarSizeListener,Y.jsxs(VJ,{className:E.scroller,ownerState:P,style:{overflow:ee.overflow,[h?`margin${o?"Left":"Right"}`:"marginBottom"]:A?void 0:-ee.scrollbarWidth},ref:xe,children:[Y.jsx(KJ,{"aria-label":a,"aria-labelledby":s,"aria-orientation":w==="vertical"?"vertical":null,className:E.flexContainer,ownerState:P,onKeyDown:ge,ref:se,role:"tablist",children:lt}),H&&Ie]}),ze.scrollButtonEnd]}))}),t0e=XJ;function JJ(e){return nt("MuiTextField",e)}tt("MuiTextField",["root"]);const ZJ=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],QJ={standard:ZM,filled:GM,outlined:oP},eZ=e=>{const{classes:t}=e;return it({root:["root"]},JJ,t)},tZ=he(OV,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),rZ=U.forwardRef(function(t,r){const n=ft({props:t,name:"MuiTextField"}),{autoComplete:i,autoFocus:o=!1,children:a,className:s,color:l="primary",defaultValue:c,disabled:u=!1,error:f=!1,FormHelperTextProps:d,fullWidth:b=!1,helperText:p,id:v,InputLabelProps:w,inputProps:C,InputProps:y,inputRef:M,label:I,maxRows:N,minRows:O,multiline:D=!1,name:T,onBlur:F,onChange:k,onFocus:A,placeholder:x,required:g=!1,rows:h,select:m=!1,SelectProps:S,type:$,value:R,variant:B="outlined"}=n,P=Ee(n,ZJ),E=W({},n,{autoFocus:o,color:l,disabled:u,error:f,fullWidth:b,multiline:D,required:g,select:m,variant:B}),_=eZ(E),z={};B==="outlined"&&(w&&typeof w.shrink<"u"&&(z.notched=w.shrink),z.label=I),m&&((!S||!S.native)&&(z.id=void 0),z["aria-describedby"]=void 0);const H=Qa(v),L=p&&H?`${H}-helper-text`:void 0,q=I&&H?`${H}-label`:void 0,X=QJ[B],J=Y.jsx(X,W({"aria-describedby":L,autoComplete:i,autoFocus:o,defaultValue:c,fullWidth:b,multiline:D,name:T,rows:h,maxRows:N,minRows:O,type:$,value:R,id:H,inputRef:M,onBlur:F,onChange:k,onFocus:A,placeholder:x,inputProps:C},z,y));return Y.jsxs(tZ,W({className:Se(_.root,s),disabled:u,error:f,fullWidth:b,ref:r,required:g,color:l,variant:B,ownerState:E},P,{children:[I!=null&&I!==""&&Y.jsx(NK,W({htmlFor:H,id:q},w,{children:I})),m?Y.jsx(sP,W({"aria-describedby":L,id:H,labelId:q,value:R,input:J},S,{children:a})):J,p&&Y.jsx(JV,W({id:L},d,{children:p}))]}))}),r0e=rZ,nZ=["getTrigger","target"];function iZ(e,t){const{disableHysteresis:r=!1,threshold:n=100,target:i}=t,o=e.current;return i&&(e.current=i.pageYOffset!==void 0?i.pageYOffset:i.scrollTop),!r&&o!==void 0&&e.currentn}const oZ=typeof window<"u"?window:null;function n0e(e={}){const{getTrigger:t=iZ,target:r=oZ}=e,n=Ee(e,nZ),i=U.useRef(),[o,a]=U.useState(()=>t(i,n));return U.useEffect(()=>{const s=()=>{a(t(i,W({target:r},n)))};return s(),r.addEventListener("scroll",s,{passive:!0}),()=>{r.removeEventListener("scroll",s,{passive:!0})}},[r,t,JSON.stringify(n)]),o}const aZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"መንገድ አሳይ"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"ወደ መጀመሪያው ገጽ ይሂዱ":e==="last"?"ወደ መጨረሻው ገጽ ይሂዱ":e==="next"?"ወደ ቀጣዩ ገጽ ይሂዱ":"ወደ ቀዳሚው ገጽ ይሂዱ",labelRowsPerPage:"ረድፎች በአንድ ገጽ:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}-${t} ከ ${r!==-1?r:`${t} በላይ`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ኮከ${e!==1?"ቦች":"ብ"}`,emptyLabelText:"ባዶ"}},MuiAutocomplete:{defaultProps:{clearText:"አጽዳ",closeText:"ዝጋ",loadingText:"በመጫን ላይ…",noOptionsText:"አማራጮች የሉም",openText:"ክፈት"}},MuiAlert:{defaultProps:{closeText:"ዝጋ"}},MuiPagination:{defaultProps:{"aria-label":"የገጽ አሰሳ",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"ወደ "}ገጽ ${t}${r?"":" ሂድ"}`:e==="first"?"ወደ መጀመሪያው ገጽ ይሂዱ":e==="last"?"ወደ መጨረሻው ገጽ ይሂዱ":e==="next"?"ወደ ቀጣዩ ገጽ ይሂዱ":"ወደ ቀዳሚው ገጽ ይሂዱ"}}}},sZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"إظهار المسار"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"انتقل إلى الصفحة الأولى":e==="last"?"انتقل إلى الصفحة الأخيرة":e==="next"?"انتقل إلى الصفحة التالية":"انتقل إلى الصفحة السابقة",labelRowsPerPage:"عدد الصفوف في الصفحة:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} من ${r!==-1?r:` أكثر من${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"نجوم":"نجمة"}`,emptyLabelText:"فارغ"}},MuiAutocomplete:{defaultProps:{clearText:"مسح",closeText:"إغلاق",loadingText:"جار التحميل...",noOptionsText:"لا يوجد خيارات",openText:"فتح"}},MuiAlert:{defaultProps:{closeText:"إغلاق"}},MuiPagination:{defaultProps:{"aria-label":"التنقل عبر الصفحات",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"انتقل إلى "} صفحة ${t}`:e==="first"?"انتقل إلى الصفحة الأولى":e==="last"?"انتقل إلى الصفحة الأخيرة":e==="next"?"انتقل إلى الصفحة التالية":"انتقل إلى الصفحة السابقة"}}}},lZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"إظهار المسار"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"الانتقال إلى الصفحة الأولى":e==="last"?"الانتقال إلى الصفحة الأخيرة":e==="next"?"الانتقال إلى الصفحة التالية":"الانتقال إلى الصفحة السابقة",labelRowsPerPage:"عدد الصفوف في الصفحة:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} من ${r!==-1?r:` أكثر من${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"نجوم":"نجمة"}`,emptyLabelText:"فارغ"}},MuiAutocomplete:{defaultProps:{clearText:"مسح",closeText:"إغلاق",loadingText:"جار التحميل...",noOptionsText:"لا توجد خيارات",openText:"فتح"}},MuiAlert:{defaultProps:{closeText:"إغلاق"}},MuiPagination:{defaultProps:{"aria-label":"التنقل عبر الصفحات",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"الانتقال إلى "} صفحة ${t}`:e==="first"?"الانتقال إلى الصفحة الأولى":e==="last"?"الانتقال الي الصفحة الأخيرة":e==="next"?"الانتقال إلى الصفحة التالية":"الانتقال إلى الصفحة السابقة"}}}},cZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"إظهار المسار"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"انتقل إلى الصفحة الأولى":e==="last"?"انتقل إلى الصفحة الأخيرة":e==="next"?"انتقل إلى الصفحة التالية":"انتقل إلى الصفحة السابقة",labelRowsPerPage:"عدد الصفوف في الصفحة:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} من ${r!==-1?r:` أكثر من${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"نجوم":"نجمة"}`,emptyLabelText:"فارغ"}},MuiAutocomplete:{defaultProps:{clearText:"مسح",closeText:"إغلاق",loadingText:"جار التحميل...",noOptionsText:"لا يوجد خيارات",openText:"فتح"}},MuiAlert:{defaultProps:{closeText:"إغلاق"}},MuiPagination:{defaultProps:{"aria-label":"التنقل عبر الصفحات",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"انتقل إلى "} صفحة ${t}`:e==="first"?"انتقل إلى الصفحة الأولى":e==="last"?"انتقل الي الصفحة الأخيرة":e==="next"?"انتقل إلى الصفحة التالية":"انتقل إلى الصفحة السابقة"}}}},uZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Yolu göstər"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Birinci səhifəyə keç":e==="last"?"Sonuncu səhifəyə keç":e==="next"?"Növbəti səhifəyə keç":"Əvvəlki səhifəyə keç",labelRowsPerPage:"Səhifəyə düşən sətrlər:"}},MuiRating:{defaultProps:{getLabelText:e=>{let t="Ulduz";const r=e%10;return r>1&&r<5&&(t="Ulduzlar"),`${e} ${t}`},emptyLabelText:"Boş"}},MuiAutocomplete:{defaultProps:{clearText:"Silmək",closeText:"Bağlamaq",loadingText:"Yüklənir…",noOptionsText:"Seçimlər mövcud deyil",openText:"Открыть"}},MuiAlert:{defaultProps:{closeText:"Bağlamaq"}},MuiPagination:{defaultProps:{"aria-label":"Səhifənin naviqasiyası",getItemAriaLabel:(e,t,r)=>e==="page"?`${t} ${r?"səhifə":"səhifəyə keç"}`:e==="first"?"Birinci səhifəyə keç":e==="last"?"Sonuncu səhifəyə keç":e==="next"?"Növbəti səhifəyə keç":"Əvvəlki səhifəyə keç"}}}},fZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"পথ দেখান"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"প্রথম পৃষ্ঠায় যান":e==="last"?"শেষ পৃষ্ঠায় যান":e==="next"?"পরবর্তী পৃষ্ঠায় যান":"আগের পৃষ্ঠায় যান",labelRowsPerPage:"প্রতি পৃষ্ঠায় সারি:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} / ${r!==-1?r:`${t} থেকে বেশি`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} স্টার`,emptyLabelText:"খালি"}},MuiAutocomplete:{defaultProps:{clearText:"পরিষ্কার করুন",closeText:"বন্ধ করুন",loadingText:"লোড হচ্ছে…",noOptionsText:"কোন অপশন নেই",openText:"ওপেন করুন"}},MuiAlert:{defaultProps:{closeText:"বন্ধ করুন"}},MuiPagination:{defaultProps:{"aria-label":"পেজিনেশন নেভিগেশন",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"যান "}পৃষ্ঠা ${t}-এ`:e==="first"?"প্রথম পৃষ্ঠায় যান":e==="last"?"শেষ পৃষ্ঠায় যান":e==="next"?"পরবর্তী পৃষ্ঠায় যান":"আগের পৃষ্ঠায় যান"}}}},dZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Паказаць шлях"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Перайсці на першую старонку":e==="last"?"Перайсці на апошнюю старонку":e==="next"?"Перайсці на наступную старонку":"Перайсці на папярэднюю старонку",labelRowsPerPage:"Радкоў на старонцы:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} з ${r!==-1?r:`больш чым ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{let t="Зорак";const r=e%10;return r>1&&r<5&&(e<10||e>20)?t="Зоркі":r===1&&e%100!==11&&(t="Зорка"),`${e} ${t}`},emptyLabelText:"Рэйтынг адсутнічае"}},MuiAutocomplete:{defaultProps:{clearText:"Ачысціць",closeText:"Закрыць",loadingText:"Загрузка…",noOptionsText:"Няма варыянтаў",openText:"Адкрыць"}},MuiAlert:{defaultProps:{closeText:"Закрыць"}},MuiPagination:{defaultProps:{"aria-label":"Навігацыя па старонкам",getItemAriaLabel:(e,t,r)=>e==="page"?r?`${t} старонка`:`Перайсці на ${t} старонку`:e==="first"?"Перайсці на першую старонку":e==="last"?"Перайсці на апошнюю старонку":e==="next"?"Перайсці на наступную старонку":"Перайсці на папярэднюю старонку"}}}},hZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Показване на пътя"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Отиди на първата страница":e==="last"?"Отиди на последната страница":e==="next"?"Отиди на следващата страница":"Отиди на предишната страница",labelRowsPerPage:"Редове на страница:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Звезд${e!==1?"и":"а"}`,emptyLabelText:"Изчисти"}},MuiAutocomplete:{defaultProps:{clearText:"Изчисти",closeText:"Затвори",loadingText:"Зареждане…",noOptionsText:"Няма налични опции",openText:"Отвори"}},MuiAlert:{defaultProps:{closeText:"Затвори"}},MuiPagination:{defaultProps:{"aria-label":"Пагинация",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Към "}страница ${t}`:e==="first"?"Отиди на първата страница":e==="last"?"Отиди на последната страница":e==="next"?"Отиди на следващата страница":"Отиди на предишната страница"}}}},pZ={components:{MuiTablePagination:{defaultProps:{labelRowsPerPage:"Files per pàgina:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"Estrelles":"Estrella"}`,emptyLabelText:"Buit"}},MuiAutocomplete:{defaultProps:{clearText:"Netejar",closeText:"Tancar",loadingText:"Carregant…",noOptionsText:"Sense opcions",openText:"Obert"}},MuiAlert:{defaultProps:{closeText:"Tancat"}}}},xZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Ukázat cestu"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Jít na první stránku":e==="last"?"Jít na poslední stránku":e==="next"?"Jít na další stránku":"Jít na předchozí stránku",labelRowsPerPage:"Řádků na stránce:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} z ${r!==-1?r:`více než ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>e===1?`${e} hvězdička`:e>=2&&e<=4?`${e} hvězdičky`:`${e} hvězdiček`,emptyLabelText:"Prázdné"}},MuiAutocomplete:{defaultProps:{clearText:"Vymazat",closeText:"Zavřít",loadingText:"Načítání…",noOptionsText:"Žádné možnosti",openText:"Otevřít"}},MuiAlert:{defaultProps:{closeText:"Zavřít"}},MuiPagination:{defaultProps:{"aria-label":"Navigace stránkováním",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Jít na "}${t}. stránku`:e==="first"?"Jít na první stránku":e==="last"?"Jít na poslední stránku":e==="next"?"Jít na další stránku":"Jít na předchozí stránku"}}}},mZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Vis sti"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Gå til den første side":e==="last"?"Gå til den sidste side":e==="next"?"Gå til den næste side":"Gå til den forrige side",labelRowsPerPage:"Rækker pr side:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}-${t} af ${r!==-1?r:`mere end ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Stjern${e!==1?"er":""}`,emptyLabelText:"Tom"}},MuiAutocomplete:{defaultProps:{clearText:"Slet",closeText:"Luk",loadingText:"Indlæser…",noOptionsText:"Ingen muligheder",openText:"Åben"}},MuiAlert:{defaultProps:{closeText:"Luk"}},MuiPagination:{defaultProps:{"aria-label":"Sideinddelings navigation",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Go to "}page ${t}`:e==="first"?"Gå til den første side":e==="last"?"Gå til den sidste side":e==="next"?"Gå til den næste side":"Gå til den forrige side"}}}},gZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pfad anzeigen"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Zur ersten Seite":e==="last"?"Zur letzten Seite":e==="next"?"Zur nächsten Seite":"Zur vorherigen Seite",labelRowsPerPage:"Zeilen pro Seite:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} von ${r!==-1?r:`mehr als ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"Sterne":"Stern"}`,emptyLabelText:"Keine Wertung"}},MuiAutocomplete:{defaultProps:{clearText:"Leeren",closeText:"Schließen",loadingText:"Wird geladen…",noOptionsText:"Keine Optionen",openText:"Öffnen"}},MuiAlert:{defaultProps:{closeText:"Schließen"}},MuiPagination:{defaultProps:{"aria-label":"Navigation via Seitennummerierung",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Gehe zu "}Seite ${t}`:e==="first"?"Zur ersten Seite":e==="last"?"Zur letzten Seite":e==="next"?"Zur nächsten Seite":"Zur vorherigen Seite"}}}},vZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Εμφάνιση διαδρομής"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Πρώτη σελίδα":e==="last"?"Τελευταία σελίδα":e==="next"?"Επόμενη σελίδα":"Προηγούμενη σελίδα",labelRowsPerPage:"Γραμμές ανα σελίδα:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} από ${r!==-1?r:`πάνω από ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Αστέρι${e!==1?"α":""}`,emptyLabelText:"Χωρίς βαθμολόγηση"}},MuiAutocomplete:{defaultProps:{clearText:"Καθαρισμός",closeText:"Κλείσιμο",loadingText:"Φόρτωση…",noOptionsText:"Δεν υπάρχουν επιλογές",openText:"Άνοιγμα"}},MuiAlert:{defaultProps:{closeText:"Κλείσιμο"}},MuiPagination:{defaultProps:{"aria-label":"Πλοήγηση σε σελίδες",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Μετάβαση "}σελίδα ${t}`:e==="first"?"Πρώτη σελίδα":e==="last"?"Τελευταία σελίδα":e==="next"?"Επόμενη σελίδα":"Προηγούμενη σελίδα"}}}},bZ={},yZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mostrar ruta"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Ir a la primera página":e==="last"?"Ir a la última página":e==="next"?"Ir a la página siguiente":"Ir a la página anterior",labelRowsPerPage:"Filas por página:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} de ${r!==-1?r:`más de ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Estrella${e!==1?"s":""}`,emptyLabelText:"Vacío"}},MuiAutocomplete:{defaultProps:{clearText:"Limpiar",closeText:"Cerrar",loadingText:"Cargando…",noOptionsText:"Sin opciones",openText:"Abierto"}},MuiAlert:{defaultProps:{closeText:"Cerrar"}},MuiPagination:{defaultProps:{"aria-label":"Paginador",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Ir a la "}página ${t}`:e==="first"?"Ir a la primera página":e==="last"?"Ir a la última página":e==="next"?"Ir a la página siguiente":"Ir a la página anterior"}}}},wZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Näita teed"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Vali esimene lehekülg":e==="last"?"Vali viimane lehekülg":e==="next"?"Vali järgmine lehekülg":"Vali eelmine lehekülg",labelRowsPerPage:"Ridu leheküljel:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} / ${r!==-1?r:`rohkem kui ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Tärn${e!==1?"i":""}`,emptyLabelText:"Tühi"}},MuiAutocomplete:{defaultProps:{clearText:"Tühjenda",closeText:"Sulge",loadingText:"Laen…",noOptionsText:"Valikuid ei ole",openText:"Ava"}},MuiAlert:{defaultProps:{closeText:"Sulge"}},MuiPagination:{defaultProps:{"aria-label":"Lehekülgede valik",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Vali "}lehekülg ${t}`:e==="first"?"Vali esimene lehekülg":e==="last"?"Vali viimane lehekülg":e==="next"?"Vali järgmine lehekülg":"Vali eelmine lehekülg"}}}},SZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"نمایش مسیر"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"رفتن به اولین صفحه":e==="last"?"رفتن به آخرین صفحه":e==="next"?"رفتن به صفحه‌ی بعدی":"رفتن به صفحه‌ی قبلی",labelRowsPerPage:"تعداد سطرهای هر صفحه:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} از ${r!==-1?r:`بیشتر از ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ستاره`,emptyLabelText:"خالی"}},MuiAutocomplete:{defaultProps:{clearText:"پاک‌کردن",closeText:"بستن",loadingText:"در حال بارگذاری…",noOptionsText:"بی‌نتیجه",openText:"بازکردن"}},MuiAlert:{defaultProps:{closeText:"بستن"}},MuiPagination:{defaultProps:{"aria-label":"ناوبری صفحه",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"رفتن به "}صفحهٔ ${t}`:e==="first"?"رفتن به اولین صفحه":e==="last"?"رفتن به آخرین صفحه":e==="next"?"رفتن به صفحه‌ی بعدی":"رفتن به صفحه‌ی قبلی"}}}},CZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Näytä reitti"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Mene ensimmäiselle sivulle":e==="last"?"Mene viimeiselle sivulle":e==="next"?"Mene seuraavalle sivulle":"Mene edelliselle sivulle",labelRowsPerPage:"Rivejä per sivu:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} / ${r!==-1?r:`enemmän kuin ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Täht${e!==1?"eä":"i"}`,emptyLabelText:"Tyhjä"}},MuiAutocomplete:{defaultProps:{clearText:"Tyhjennä",closeText:"Sulje",loadingText:"Ladataan…",noOptionsText:"Ei valintoja",openText:"Avaa"}},MuiAlert:{defaultProps:{closeText:"Sulje"}},MuiPagination:{defaultProps:{"aria-label":"Sivutus navigaatio",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"sivu":"Mene sivulle"} ${t}`:e==="first"?"Mene ensimmäiselle sivulle":e==="last"?"Mene viimeiselle sivulle":e==="next"?"Mene seuraavalle sivulle":"Mene edelliselle sivulle"}}}},EZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Montrer le chemin"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Aller à la première page":e==="last"?"Aller à la dernière page":e==="next"?"Aller à la page suivante":"Aller à la page précédente",labelRowsPerPage:"Lignes par page :",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} sur ${r!==-1?r:`plus que ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Etoile${e!==1?"s":""}`,emptyLabelText:"Vide"}},MuiAutocomplete:{defaultProps:{clearText:"Vider",closeText:"Fermer",loadingText:"Chargement…",noOptionsText:"Pas de résultats",openText:"Ouvrir"}},MuiAlert:{defaultProps:{closeText:"Fermer"}},MuiPagination:{defaultProps:{"aria-label":"navigation de pagination",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Aller à la "}page ${t}`:e==="first"?"Aller à la première page":e==="last"?"Aller à la dernière page":e==="next"?"Aller à la page suivante":"Aller à la page précédente"}}}},MZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"הצג נתיב"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"לעמוד הראשון":e==="last"?"לעמוד האחרון":e==="next"?"לעמוד הבא":"לעמוד הקודם",labelRowsPerPage:"שורות בעמוד:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} מתוך ${r!==-1?r:`יותר מ ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} כוכב${e!==1?"ים":""}`,emptyLabelText:"ריק"}},MuiAutocomplete:{defaultProps:{clearText:"נקה",closeText:"סגור",loadingText:"טוען…",noOptionsText:"אין אופציות",openText:"פתח"}},MuiAlert:{defaultProps:{closeText:"סגור"}},MuiPagination:{defaultProps:{"aria-label":"ניווט בעמודים",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"ל "}עמוד ${t}`:e==="first"?"לעמוד הראשון":e==="last"?"לעמוד האחרון":e==="next"?"לעמוד הבא":"לעמוד הקודם"}}}},PZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"रास्ता दिखायें"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"पहले पृष्ठ पर जाएँ":e==="last"?"अंतिम पृष्ठ पर जाएँ":e==="next"?"अगले पृष्ठ पर जाएँ":"पिछले पृष्ठ पर जाएँ",labelRowsPerPage:"पंक्तियाँ प्रति पृष्ठ:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}-${t===-1?r:t} कुल ${r} में`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} तार${e!==1?"े":"ा"}`,emptyLabelText:"रिक्त"}},MuiAutocomplete:{defaultProps:{clearText:"हटायें",closeText:"बंद करें",loadingText:"लोड हो रहा है…",noOptionsText:"कोई विकल्प नहीं",openText:"खोलें"}},MuiAlert:{defaultProps:{closeText:"बंद करें"}},MuiPagination:{defaultProps:{"aria-label":"पृस्ठानुसार संचालन",getItemAriaLabel:(e,t,r)=>e==="page"?`पृष्ठ ${t} ${r?"":" पर जाएँ"}`:e==="first"?"पहले पृष्ठ पर जाएँ":e==="last"?"अंतिम पृष्ठ पर जाएँ":e==="next"?"अगले पृष्ठ पर जाएँ":"पिछले पृष्ठ पर जाएँ"}}}},AZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pokaži putanju"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Idi na prvu stranicu":e==="last"?"Idi na posljednju stranicu":e==="next"?"Idi na sljedeću stranicu":"Idi na prethodnu stranicu",labelRowsPerPage:"Redova po stranici:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} od ${r!==-1?r:`više nego ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10,r=e%100;return[2,3,4].includes(t)&&![12,13,14].includes(r)?"Zvijezde":"Zvijezda"},emptyLabelText:"Prazno"}},MuiAutocomplete:{defaultProps:{clearText:"Briši",closeText:"Zatvori",loadingText:"Učitavanje…",noOptionsText:"Nema opcija",openText:"Otvori"}},MuiAlert:{defaultProps:{closeText:"Zatvori"}},MuiPagination:{defaultProps:{"aria-label":"Navigacija po stranicama",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Idi na "}stranicu ${t}`:e==="first"?"Idi na prvu stranicu":e==="last"?"Idi na zadnju stranicu":e==="next"?"Idi na sljedeću stranicu":"Idi na prethodnu stranicu"}}}},kZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Útvonal"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Első oldalra":e==="last"?"Utolsó oldalra":e==="next"?"Következő oldalra":"Előző oldalra",labelRowsPerPage:"Sorok száma:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Csillag`,emptyLabelText:"Üres"}},MuiAutocomplete:{defaultProps:{clearText:"Törlés",closeText:"Bezárás",loadingText:"Töltés…",noOptionsText:"Nincs találat",openText:"Megnyitás"}},MuiAlert:{defaultProps:{closeText:"Bezárás"}},MuiPagination:{defaultProps:{"aria-label":"Lapozás",getItemAriaLabel:(e,t,r)=>e==="page"?`${t}. oldal${r?"":"ra"}`:e==="first"?"Első oldalra":e==="last"?"Utolsó oldalra":e==="next"?"Következő oldalra":"Előző oldalra"}}}},_Z={components:{MuiTablePagination:{defaultProps:{labelRowsPerPage:"Տողեր մեկ էջում`"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Աստղ`,emptyLabelText:"Դատարկ"}},MuiAutocomplete:{defaultProps:{clearText:"Մաքրել",closeText:"Փակել",loadingText:"Բեռնում…",noOptionsText:"Տարբերակներ չկան",openText:"Բացել"}},MuiAlert:{defaultProps:{closeText:"Փակել"}}}},RZ={components:{MuiTablePagination:{defaultProps:{labelRowsPerPage:"Baris per halaman:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Bintang`}},MuiAutocomplete:{defaultProps:{clearText:"Hapus",closeText:"Tutup",loadingText:"Memuat…",noOptionsText:"Tidak ada opsi",openText:"Buka"}},MuiAlert:{defaultProps:{closeText:"Tutup"}}}},TZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Sýna slóð"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Fara á fyrstu síðu":e==="last"?"Fara á síðustu síðu":e==="next"?"Fara á næstu síðu":"Fara á fyrri síðu",labelRowsPerPage:"Raðir á síðu:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} af ${r!==-1?r:`fleiri enn ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e===1?"stjarna":"stjörnur"}`,emptyLabelText:"Tómt"}},MuiAutocomplete:{defaultProps:{clearText:"Hreinsa",closeText:"Loka",loadingText:"Hlaða…",noOptionsText:"Engar niðurstöður",openText:"Opna"}},MuiAlert:{defaultProps:{closeText:"Loka"}},MuiPagination:{defaultProps:{"aria-label":"Síðuflakk",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"Síða":"Fara á síðu"} ${t}`:e==="first"?"Fara á fyrstu síðu":e==="last"?"Fara á síðustu síðu":e==="next"?"Fara á næstu síðu":"Fara á fyrri síðu"}}}},$Z={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Visualizza percorso"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Vai alla prima pagina":e==="last"?"Vai all'ultima pagina":e==="next"?"Vai alla pagina successiva":"Vai alla pagina precedente",labelRowsPerPage:"Righe per pagina:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} di ${r!==-1?r:`più di ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Stell${e!==1?"e":"a"}`,emptyLabelText:"Vuoto"}},MuiAutocomplete:{defaultProps:{clearText:"Svuota",closeText:"Chiudi",loadingText:"Caricamento in corso…",noOptionsText:"Nessuna opzione",openText:"Apri"}},MuiAlert:{defaultProps:{closeText:"Chiudi"}},MuiPagination:{defaultProps:{"aria-label":"Navigazione impaginata",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Vai alla "}pagina ${t}`:e==="first"?"Vai alla prima pagina":e==="last"?"Vai all'ultima pagina":e==="next"?"Vai alla pagina successiva":"Vai alla pagina precedente"}}}},BZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"すべて表示"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"最初のページへ":e==="last"?"最後のページへ":e==="next"?"次のページへ":"前のページへ",labelRowsPerPage:"ページあたりの行数:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}~${t} / ${r!==-1?r:`${t}以上`}`}},MuiRating:{defaultProps:{getLabelText:e=>`星${e}`,emptyLabelText:"星なし"}},MuiAutocomplete:{defaultProps:{clearText:"クリア",closeText:"閉じる",loadingText:"読み込み中…",noOptionsText:"データがありません",openText:"開く"}},MuiAlert:{defaultProps:{closeText:"閉じる"}},MuiPagination:{defaultProps:{"aria-label":"ページ選択",getItemAriaLabel:(e,t,r)=>e==="page"?`ページ${t}${r?"":"へ"}`:e==="first"?"最初のページへ":e==="last"?"最後のページへ":e==="next"?"次のページへ":"前のページへ"}}}},IZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"បង្ហាញផ្លូវ"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"ទៅទំព័រដំបូង":e==="last"?"ទៅទំព័រចុងក្រោយ":e==="next"?"ទៅទំព័របន្ទាប់":"ទៅទំព័រមុន",labelRowsPerPage:"ចំនួនជួរដេកក្នុងមួយទំព័រ:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e} - ${t} នៃ ${r!==-1?r:`ច្រើនជាង ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ផ្កាយ`,emptyLabelText:"ទទេ"}},MuiAutocomplete:{defaultProps:{clearText:"លុបចោល",closeText:"បិទ",loadingText:"កំពុងលោត…",noOptionsText:"គ្មានជម្រើស",openText:"បើក"}},MuiAlert:{defaultProps:{closeText:"បិទ"}},MuiPagination:{defaultProps:{"aria-label":"រុករកទំព័រ",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"ទៅ "}ទំព័រ ${t}`:e==="first"?"ទៅទំព័រដំបូង":e==="last"?"ទៅទំព័រចុងក្រោយ":e==="next"?"ទៅទំព័របន្ទាប់":"ទៅទំព័រមុន"}}}},OZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"경로 보기"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"첫 번째 페이지로 이동":e==="last"?"마지막 페이지로 이동":e==="next"?"다음 페이지로 이동":"이전 페이지로 이동",labelRowsPerPage:"페이지 당 행:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} / ${r!==-1?r:`${t}개 이상`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} 점`,emptyLabelText:"빈 텍스트"}},MuiAutocomplete:{defaultProps:{clearText:"지우기",closeText:"닫기",loadingText:"불러오는 중…",noOptionsText:"옵션 없음",openText:"열기"}},MuiAlert:{defaultProps:{closeText:"닫기"}},MuiPagination:{defaultProps:{"aria-label":"페이지네이션 네비게이션",getItemAriaLabel:(e,t,r)=>e==="page"?`${t} 번째 페이지${r?"":"로 이동"}`:e==="first"?"첫 번째 페이지로 이동":e==="last"?"마지막 페이지로 이동":e==="next"?"다음 페이지로 이동":"이전 페이지로 이동"}}}},FZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"ڕێچکە پیشان بدە"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"چوونە یەکەم پەڕە":e==="last"?"چوونە کۆتا پەڕە":e==="next"?"چوونە پەڕەی دواتر":"گەڕانەوە بۆ پەڕەی پێشوو",labelRowsPerPage:"ژمارەی ڕیزەکان لە هەر پەڕەیەک:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} لە ${r!==-1?r:` زیاترە لە${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"ئەستێرەکان":"ئەستێرە"}`,emptyLabelText:"خاڵیە"}},MuiAutocomplete:{defaultProps:{clearText:"سڕینەوە",closeText:"داخستن",loadingText:"لە بارکردندایە...",noOptionsText:"هیچ بژاردەیەک نیە",openText:"کردنەوە"}},MuiAlert:{defaultProps:{closeText:"داخستن"}},MuiPagination:{defaultProps:{"aria-label":"گەڕان لە پەڕەکان",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"چوون بۆ "} پەڕەی ${t}`:e==="first"?"چوونە یەکەم پەڕە":e==="last"?"چوونە کۆتا پەڕە":e==="next"?"چوونە پەڕەی دواتر":"گەڕانەوە بۆ پەڕەی پێشوو"}}}},DZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Rê nîşan bide"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Biçe rûpela yekem":e==="last"?"Biçe rûpela dawî":e==="next"?"Biçe rûpela din":"Biçe rûpela berê",labelRowsPerPage:"Rêz li ser rûpelê:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} of ${r!==-1?r:`zêdetir ji ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Stêrk`,emptyLabelText:"Vala"}},MuiAutocomplete:{defaultProps:{clearText:"Paqij bike",closeText:"Bigre",loadingText:"Tê barkirin…",noOptionsText:"Vebijêrk tune",openText:"Veke"}},MuiAlert:{defaultProps:{closeText:"Bigre"}},MuiPagination:{defaultProps:{"aria-label":"Navîgasyona rûpelan",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Biçe "}rûpel ${t}`:e==="first"?"Biçe rûpela yekem":e==="last"?"Biçe rûpela dawî":e==="next"?"Biçe rûpela din":"Biçe rûpela berê"}}}},LZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Толық жолды көрсету"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Бірінші бетке өту":e==="last"?"Соңғы бетке өту":e==="next"?"Келесі бетке өту":"Алдыңғы бетке өту",labelRowsPerPage:"Беттегі қатарлар:",labelDisplayedRows:({from:e,to:t,count:r})=>`${r!==-1?r:`+${t}`} қатардың ішінен ${e}–${t}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} жұлдыз`,emptyLabelText:"Рейтинг жоқ"}},MuiAutocomplete:{defaultProps:{clearText:"Тазарту",closeText:"Жабу",loadingText:"Жүктелуде…",noOptionsText:"Қол жетімді нұсқалар жоқ",openText:"Ашу"}},MuiAlert:{defaultProps:{closeText:"Жабу"}},MuiPagination:{defaultProps:{"aria-label":"Беттерді шарлау",getItemAriaLabel:(e,t,r)=>e==="page"?r?`${t} — бет`:`${t} — бетке өту`:e==="first"?"Бірінші бетке өту":e==="last"?"Соңғы бетке өту":e==="next"?"Келесі бетке өту":"Алдыңғы бетке өту"}}}},NZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Прикажи патека"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Оди на прва страница":e==="last"?"Оди на последна страница":e==="next"?"Оди на следна страница":"Оди на предходна страница",labelRowsPerPage:"Редови по страница:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} од ${r!==-1?r:`повеќе од ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10;return`${e} Ѕвезд${t===1?"а":"и"}`},emptyLabelText:"Празно"}},MuiAutocomplete:{defaultProps:{clearText:"Избриши",closeText:"Затвори",loadingText:"Се презема",noOptionsText:"Нема опција",openText:"Отвори"}},MuiAlert:{defaultProps:{closeText:"Затвори"}},MuiPagination:{defaultProps:{"aria-label":"Навигација низ страници",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Оди на "}страница ${t}`:e==="first"?"Оди на прва страница":e==="last"?"Оди на последна страница":e==="next"?"Оди на следна страница":"Оди на предходна страница"}}}},zZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"လမ်းကြောင်းပြပါ။"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"ပထမစာမျက်နှာသို့သွားပါ။":e==="last"?"နောက်ဆုံးစာမျက်နှာသို့သွားပါ။":e==="next"?"နောက်စာမျက်နှာသို့သွားပါ။":"ယခင်စာမျက်နှာသို့သွားပါ။",labelRowsPerPage:"စာမျက်နှာအလိုက် အတန်းများ:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} ၏ ${r!==-1?r:`ထက်ပိုပြီး ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10;return`${e} ကြယ်ပွင့်${t===1?"၎":""}`},emptyLabelText:"ဗလာ"}},MuiAutocomplete:{defaultProps:{clearText:"ရှင်းလင်းသော",closeText:"ပိတ်လိုက်",loadingText:"ဖွင့်နေသည်…",noOptionsText:"ရွေးချယ်ခွင့်မရှိပါ။",openText:"ဖွင့်သည်။"}},MuiAlert:{defaultProps:{closeText:"ပိတ်လိုက်"}},MuiPagination:{defaultProps:{"aria-label":"Pagination အညွှန်း",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"သွားပါ။ "}စာမျက်နှာ ${t}`:e==="first"?"ပထမစာမျက်နှာသို့သွားပါ။":e==="last"?"နောက်ဆုံးစာမျက်နှာသို့သွားပါ။":e==="next"?"နောက်စာမျက်နှာသို့သွားပါ။":"ယခင်စာမျက်နှာသို့သွားပါ။"}}}},jZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Tunjukkan laluan"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Pergi ke halaman pertama":e==="last"?"Pergi ke halaman terakhir":e==="next"?"Pergi ke halaman seterusnya":"Pergi ke halaman sebelumnya",labelRowsPerPage:"Baris setiap halaman:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} daripada ${r!==-1?r:`lebih daripada ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10;return`${e} Bintang${t===1?"s":""}`},emptyLabelText:"kosong"}},MuiAutocomplete:{defaultProps:{clearText:"Jelas",closeText:"tutup",loadingText:"Memuatkan…",noOptionsText:"Tiada pilihan",openText:"Buka"}},MuiAlert:{defaultProps:{closeText:"tutup"}},MuiPagination:{defaultProps:{"aria-label":"Navigasi penomboran",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Pergi ke "}muka surat ${t}`:e==="first"?"Pergi ke halaman pertama":e==="last"?"Pergi ke halaman terakhir":e==="next"?"Pergi ke halaman seterusnya":"Pergi ke halaman sebelumnya"}}}},UZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"बाटो देखाउनुहोस्"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"पहिलो पृष्ठमा जानुहोस्":e==="last"?"अन्तिम पृष्ठमा जानुहोस्":e==="next"?"अर्को पृष्ठमा जानुहोस्":"अघिल्लो पृष्ठमा जानुहोस्",labelRowsPerPage:"प्रति पृष्ठ पङ्क्तिहरू:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} को ${r!==-1?r:`धेरै ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10;return`${e} तारा${t===1?"स":""}`},emptyLabelText:"खाली"}},MuiAutocomplete:{defaultProps:{clearText:"खाली गर्नुहोस्",closeText:"बन्द गर्नुहोस्",loadingText:"लोड हुँदै...",noOptionsText:"कुनै विकल्प छैन",openText:"खोल्नुहोस्"}},MuiAlert:{defaultProps:{closeText:"बन्द गर्नुहोस्"}},MuiPagination:{defaultProps:{"aria-label":"पृष्ठांकन नेभिगेसन",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"जाऊ त्यहाँ "}पृष्ठ ${t}`:e==="first"?"पहिलो पृष्ठमा जानुहोस्":e==="last"?"अन्तिम पृष्ठमा जानुहोस्":e==="next"?"अर्को पृष्ठमा जानुहोस्":"अघिल्लो पृष्ठमा जानुहोस्"}}}},HZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Vis sti"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Gå til første side":e==="last"?"Gå til siste side":e==="next"?"Gå til neste side":"Gå til forrige side",labelRowsPerPage:"Rader per side:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} av ${r!==-1?r:`mer enn ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Stjerne${e!==1?"r":""}`,emptyLabelText:"Tom"}},MuiAutocomplete:{defaultProps:{clearText:"Tøm",closeText:"Lukk",loadingText:"Laster inn…",noOptionsText:"Ingen alternativer",openText:"Åpne"}},MuiAlert:{defaultProps:{closeText:"Lukk"}},MuiPagination:{defaultProps:{"aria-label":"Paginering navigasjon",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Gå til "}side ${t}`:e==="first"?"Gå til første side":e==="last"?"Gå til siste side":e==="next"?"Gå til neste side":"Gå til forrige side"}}}},WZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Vis sti"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Gå til første side":e==="last"?"Gå til siste side":e==="next"?"Gå til neste side":"Gå til førre side",labelRowsPerPage:"Rader per side:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} av ${r!==-1?r:`fleire enn ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} stjerne${e!==1?"r":""}`,emptyLabelText:"Tom"}},MuiAutocomplete:{defaultProps:{clearText:"Tøm",closeText:"Lukk",loadingText:"Lastar inn…",noOptionsText:"Ingen alternativ",openText:"Opna"}},MuiAlert:{defaultProps:{closeText:"Lukk"}},MuiPagination:{defaultProps:{"aria-label":"Navigasjon for paginering",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Gå til "}side ${t}`:e==="first"?"Gå til første side":e==="last"?"Gå til siste side":e==="next"?"Gå til neste side":"Gå til førre side"}}}},qZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pad tonen"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Ga naar eerste pagina":e==="last"?"Ga naar laatste pagina":e==="next"?"Ga naar volgende pagina":"Ga naar vorige pagina",labelRowsPerPage:"Regels per pagina:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} van ${r!==-1?r:`meer dan ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Ster${e!==1?"ren":""}`,emptyLabelText:"Leeg"}},MuiAutocomplete:{defaultProps:{clearText:"Wissen",closeText:"Sluiten",loadingText:"Laden…",noOptionsText:"Geen opties",openText:"Openen"}},MuiAlert:{defaultProps:{closeText:"Sluiten"}},MuiPagination:{defaultProps:{"aria-label":"Navigatie via paginering",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Ga naar "}pagina ${t}`:e==="first"?"Ga naar eerste pagina":e==="last"?"Ga naar laatste pagina":e==="next"?"Ga naar volgende pagina":"Ga naar vorige pagina"}}}},VZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pokaż ścieżkę"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Przejdź do pierwszej strony":e==="last"?"Przejdź do ostatniej strony":e==="next"?"Przejdź do następnej strony":"Przejdź do poprzedniej strony",labelRowsPerPage:"Wierszy na stronę:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} z ${r!==-1?r:`ponad ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{let t="gwiazdek";const r=e%10;return(e<10||e>20)&&r>1&&r<5?t="gwiazdki":e===1&&(t="gwiazdka"),`${e} ${t}`},emptyLabelText:"Brak gwiazdek"}},MuiAutocomplete:{defaultProps:{clearText:"Wyczyść",closeText:"Zamknij",loadingText:"Ładowanie…",noOptionsText:"Brak opcji",openText:"Otwórz"}},MuiAlert:{defaultProps:{closeText:"Zamknij"}},MuiPagination:{defaultProps:{"aria-label":"Nawigacja podziału na strony",getItemAriaLabel:(e,t,r)=>e==="page"?r?`${t}. strona`:`Przejdź do ${t}. strony`:e==="first"?"Przejdź do pierwszej strony":e==="last"?"Przejdź do ostatniej strony":e==="next"?"Przejdź do następnej strony":"Przejdź do poprzedniej strony"}}}},KZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mostrar caminho"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Ir para a primeira página":e==="last"?"Ir para a última página":e==="next"?"Ir para a próxima página":"Ir para a página anterior",labelRowsPerPage:"Linhas por página:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} de ${r!==-1?r:`mais de ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Estrela${e!==1?"s":""}`,emptyLabelText:"Vazio"}},MuiAutocomplete:{defaultProps:{clearText:"Limpar",closeText:"Fechar",loadingText:"Carregando…",noOptionsText:"Sem opções",openText:"Abrir"}},MuiAlert:{defaultProps:{closeText:"Fechar"}},MuiPagination:{defaultProps:{"aria-label":"Navegar pela paginação",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Ir para a "}página ${t}`:e==="first"?"Ir para a primeira página":e==="last"?"Ir para a última página":e==="next"?"Ir para a próxima página":"Ir para a página anterior"}}}},GZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mostrar caminho"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Primeira página":e==="last"?"Última página":e==="next"?"Próxima página":"Página anterior",labelRowsPerPage:"Linhas por página:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} de ${r!==-1?r:`mais de ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Estrela${e!==1?"s":""}`,emptyLabelText:"Vazio"}},MuiAutocomplete:{defaultProps:{clearText:"Limpar",closeText:"Fechar",loadingText:"A carregar…",noOptionsText:"Sem opções",openText:"Abrir"}},MuiAlert:{defaultProps:{closeText:"Fechar"}},MuiPagination:{defaultProps:{"aria-label":"Navegar por páginas",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Ir para a "}página ${t}`:e==="first"?"Primeira página":e==="last"?"Última página":e==="next"?"Próxima página":"Página anterior"}}}},YZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Arată calea"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Mergi la prima pagină":e==="last"?"Mergi la ultima pagină":e==="next"?"Mergi la pagina următoare":"Mergi la pagina precedentă",labelRowsPerPage:"Rânduri pe pagină:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} St${e!==1?"ele":"ea"}`,emptyLabelText:"Gol"}},MuiAutocomplete:{defaultProps:{clearText:"Șterge",closeText:"Închide",loadingText:"Se încarcă…",noOptionsText:"Nicio opțiune",openText:"Deschide"}},MuiAlert:{defaultProps:{closeText:"Închide"}},MuiPagination:{defaultProps:{"aria-label":"Navigare prin paginare",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Mergi la "}pagina ${t}`:e==="first"?"Mergi la prima pagină":e==="last"?"Mergi la ultima pagină":e==="next"?"Mergi la pagina următoare":"Mergi la pagina precedentă"}}}},XZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pokaži putanju"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Idi na prvu stranicu":e==="last"?"Idi na poslednju stranicu":e==="next"?"Idi na sledeću stranicu":"Idi na prethodnu stranicu",labelRowsPerPage:"Redova po stranici:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} od ${r!==-1?r:`više nego ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10,r=e%100;return[2,3,4].includes(t)&&![12,13,14].includes(r)?"Zvezde":"Zvezda"},emptyLabelText:"Prazno"}},MuiAutocomplete:{defaultProps:{clearText:"Briši",closeText:"Zatvori",loadingText:"Učitavanje…",noOptionsText:"Nema opcija",openText:"Otvori"}},MuiAlert:{defaultProps:{closeText:"Zatvori"}},MuiPagination:{defaultProps:{"aria-label":"Navigacija po stranicama",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Idi na "}stranicu ${t}`:e==="first"?"Idi na prvu stranicu":e==="last"?"Idi na zadnju stranicu":e==="next"?"Idi na sledeću stranicu":"Idi na prethodnu stranicu"}}}},JZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Показать полный путь"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Перейти на первую страницу":e==="last"?"Перейти на последнюю страницу":e==="next"?"Перейти на следующую страницу":"Перейти на предыдущую страницу",labelRowsPerPage:"Строк на странице:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} из ${r!==-1?r:`более чем ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{let t="Звёзд";const r=e%10;return r>1&&r<5?t="Звезды":r===1&&(t="Звезда"),`${e} ${t}`},emptyLabelText:"Рейтинг отсутствует"}},MuiAutocomplete:{defaultProps:{clearText:"Очистить",closeText:"Закрыть",loadingText:"Загрузка…",noOptionsText:"Нет доступных вариантов",openText:"Открыть"}},MuiAlert:{defaultProps:{closeText:"Закрыть"}},MuiPagination:{defaultProps:{"aria-label":"Навигация по страницам",getItemAriaLabel:(e,t,r)=>e==="page"?r?`${t} страница`:`Перейти на ${t} страницу`:e==="first"?"Перейти на первую страницу":e==="last"?"Перейти на последнюю страницу":e==="next"?"Перейти на следующую страницу":"Перейти на предыдущую страницу"}}}},ZZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"ගමන් මඟ පෙන්වන්න"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"පළමු පිටුවට යන්න":e==="last"?"අවසාන පිටුවට යන්න":e==="next"?"මීළඟ පිටුවට යන්න":"පෙර පිටුවට යන්න",labelRowsPerPage:"පිටුවක පේළි:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} දක්වා ${r!==-1?r:`${t} ට වැඩි ප්‍රමාණයකින්`}`}},MuiRating:{defaultProps:{getLabelText:e=>`තරු ${e}`,emptyLabelText:"හිස්"}},MuiAutocomplete:{defaultProps:{clearText:"මකන්න",closeText:"වසන්න",loadingText:"නැංවෙමින්…",noOptionsText:"විකල්ප නැත",openText:"විවෘත කරන්න"}},MuiAlert:{defaultProps:{closeText:"වසන්න"}},MuiPagination:{defaultProps:{"aria-label":"පිටු අතර සංචරණය",getItemAriaLabel:(e,t,r)=>e==="page"?`පිටුව ${t} ${r?"":"ට යන්න"}`:e==="first"?"පළමු පිටුවට යන්න":e==="last"?"අවසාන පිටුවට යන්න":e==="next"?"මීළඟ පිටුවට යන්න":"පෙර පිටුවට යන්න"}}}},QZ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Ukázať cestu "}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Ísť na prvú stránku":e==="last"?"Ísť na poslednú stránku":e==="next"?"Ísť na ďaľšiu stránku":"Ísť na predchádzajúcu stránku",labelRowsPerPage:"Riadkov na stránke:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} z ${r!==-1?r:`viac ako ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>e===1?`${e} hviezdička`:e>=2&&e<=4?`${e} hviezdičky`:`${e} hviezdičiek`,emptyLabelText:"Prázdne"}},MuiAutocomplete:{defaultProps:{clearText:"Vymazať",closeText:"Zavrieť",loadingText:"Načítanie…",noOptionsText:"Žiadne možnosti",openText:"Otvoriť"}},MuiAlert:{defaultProps:{closeText:"Zavrieť"}},MuiPagination:{defaultProps:{"aria-label":"Navigácia stránkovanim",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Ísť na "}stránku ${t}`:e==="first"?"Ísť na prvú stránku":e==="last"?"Ísť na poslednú stránku":e==="next"?"Ísť na ďaľšiu stránku":"Ísť na predchádzajúcu stránku"}}}},eQ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Visa sökväg"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Gå till första sidan":e==="last"?"Gå till sista sidan":e==="next"?"Gå till nästa sida":"Gå till föregående sida",labelRowsPerPage:"Rader per sida:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} av ${r!==-1?r:`fler än ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"Stjärnor":"Stjärna"}`,emptyLabelText:"Tom"}},MuiAutocomplete:{defaultProps:{clearText:"Rensa",closeText:"Stäng",loadingText:"Laddar…",noOptionsText:"Inga alternativ",openText:"Öppna"}},MuiAlert:{defaultProps:{closeText:"Stäng"}},MuiPagination:{defaultProps:{"aria-label":"Sidnavigering",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Gå till "}sida ${t}`:e==="first"?"Gå till första sidan":e==="last"?"Gå till sista sidan":e==="next"?"Gå till nästa sida":"Gå till föregående sida"}}}},tQ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"แสดงเส้นทาง"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"ไปที่หน้าแรก":e==="last"?"ไปที่หน้าสุดท้าย":e==="next"?"ไปที่หน้าถัดไป":"ไปที่หน้าก่อน",labelRowsPerPage:"จำนวนแถวต่อหน้า:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} จาก ${r!==-1?r:`มากกว่า ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ดาว`,emptyLabelText:"ว่างเปล่า"}},MuiAutocomplete:{defaultProps:{clearText:"เคลียร์",closeText:"ปิด",loadingText:"กำลังโหลด…",noOptionsText:"ไม่มีตัวเลือก",openText:"เปิด"}},MuiAlert:{defaultProps:{closeText:"ปิด"}},MuiPagination:{defaultProps:{"aria-label":"",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"ไปที่"}หน้า ${t}`:e==="first"?"ไปที่หน้าแรก":e==="last"?"ไปที่หน้าสุดท้าย":e==="next"?"ไปที่หน้าถัดไป":"ไปที่หน้าก่อน"}}}},rQ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Yolu göster"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"İlk sayfaya git":e==="last"?"Son sayfaya git":e==="next"?"Sonraki sayfaya git":"Önceki sayfaya git",labelRowsPerPage:"Sayfa başına satır:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}-${t} / ${r!==-1?r:`${t}'den fazla`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Yıldız`,emptyLabelText:"Boş"}},MuiAutocomplete:{defaultProps:{clearText:"Temizle",closeText:"Kapat",loadingText:"Yükleniyor…",noOptionsText:"Seçenek yok",openText:"Aç"}},MuiAlert:{defaultProps:{closeText:"Kapat"}},MuiPagination:{defaultProps:{"aria-label":"Sayfa navigasyonu",getItemAriaLabel:(e,t,r)=>e==="page"?`${t}. ${r?"sayfa":"sayfaya git"}`:e==="first"?"İlk sayfaya git":e==="last"?"Son sayfaya git":e==="next"?"Sonraki sayfaya git":"Önceki sayfaya git"}}}},nQ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Ipakita ang landas"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Pumunta sa unang pahina":e==="last"?"Pumunta sa huling pahina":e==="next"?"Pumunta sa susunod na pahina":"Pumunta sa nakaraang pahina",labelRowsPerPage:"Mga hilera bawat pahina:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} ng ${r!==-1?r:`higit sa ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Bituin${e!==1?"s":""}`,emptyLabelText:"Walang laman"}},MuiAutocomplete:{defaultProps:{clearText:"Maaliwalas",closeText:"Isara",loadingText:"Naglo-load…",noOptionsText:"Walang mga pagpipilian",openText:"Bukas"}},MuiAlert:{defaultProps:{closeText:"Isara"}},MuiPagination:{defaultProps:{"aria-label":"Sayfa navigasyonu",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Pumunta sa"}pahina ${t}`:e==="first"?"Pumunta sa unang pahina":e==="last"?"Pumunta sa huling pahina":e==="next"?"Pumunta sa susunod na pahina":"Pumunta sa nakaraang pahina"}}}},iQ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Показати шлях сторінок"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Перейти на першу сторінку":e==="last"?"Перейти на останню сторінку":e==="next"?"Перейти на наступну сторінку":"Перейти на попередню сторінку",labelRowsPerPage:"Рядків на сторінці:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} з ${r!==-1?r:`понад ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{let t="Зірок";const r=e%10;return r>1&&r<5?t="Зірки":r===1&&(t="Зірка"),`${e} ${t}`},emptyLabelText:"Рейтинг відсутній"}},MuiAutocomplete:{defaultProps:{clearText:"Очистити",closeText:"Згорнути",loadingText:"Завантаження…",noOptionsText:"Немає варіантів",openText:"Розгорнути"}},MuiAlert:{defaultProps:{closeText:"Згорнути"}},MuiPagination:{defaultProps:{"aria-label":"Навігація сторінками",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Перейти на "}сторінку ${t}`:e==="first"?"Перейти на першу сторінку":e==="last"?"Перейти на останню сторінку":e==="next"?"Перейти на наступну сторінку":"Перейти на попередню сторінку"}}}},oQ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"راستہ دکھائیں"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"پہلے صفحے پر جائیں":e==="last"?"آخری صفحے پر جائیں":e==="next"?"اگلے صفحے پر جائیں":"پچھلے صفحے پر جائیں",labelRowsPerPage:"ایک صفحے پر قطاریں:",labelDisplayedRows:({from:e,to:t,count:r})=>`${r!==-1?`${r} میں سے`:`${t} سے ذیادہ میں سے`} ${e} سے ${t} قطاریں`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ستار${e!==1?"ے":"ہ"}`,emptyLabelText:"خالی"}},MuiAutocomplete:{defaultProps:{clearText:"کلئیر",closeText:"بند کریں",loadingText:"لوڈ ہو رہا ہے۔۔۔",noOptionsText:"کوئی آپشن نہیں",openText:"کھولیں"}},MuiAlert:{defaultProps:{closeText:"بند کریں"}},MuiPagination:{defaultProps:{"aria-label":"صفحات کی ترتیب",getItemAriaLabel:(e,t,r)=>e==="page"?`صفحہ نمبر ${t}${r?"":" پر جائیں"}`:e==="first"?"پہلے صفحے پر جائیں":e==="last"?"آخری صفحے پر جائیں":e==="next"?"اگلے صفحے پر جائیں":"پچھلے صفحے پر جائیں"}}}},aQ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mở ra"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Tới trang đầu tiên":e==="last"?"Tới trang cuối cùng":e==="next"?"Tới trang tiếp theo":"Về trang trước đó",labelRowsPerPage:"Số hàng mỗi trang:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} trong ${r!==-1?r:`nhiều hơn ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} sao`,emptyLabelText:"Không có dữ liệu"}},MuiAutocomplete:{defaultProps:{clearText:"Xóa",closeText:"Đóng",loadingText:"Đang tải…",noOptionsText:"Không có lựa chọn nào",openText:"Mở"}},MuiAlert:{defaultProps:{closeText:"Đóng"}},MuiPagination:{defaultProps:{"aria-label":"Thanh điều khiển trang",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Tới "}trang ${t}`:e==="first"?"Tới trang đầu tiên":e==="last"?"Tới trang cuối cùng":e==="next"?"Tới trang tiếp theo":"Về trang trước đó"}}}},sQ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"展开"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"第一页":e==="last"?"最后一页":e==="next"?"下一页":"上一页",labelRowsPerPage:"每页行数:",labelDisplayedRows:({from:e,to:t,count:r})=>`第 ${e} 条到第 ${t} 条,${r!==-1?`共 ${r} 条`:`至少 ${t} 条`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} 颗星`,emptyLabelText:"无标签"}},MuiAutocomplete:{defaultProps:{clearText:"清空",closeText:"关闭",loadingText:"加载中……",noOptionsText:"没有可用选项",openText:"打开"}},MuiAlert:{defaultProps:{closeText:"关闭"}}}},lQ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"展開"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"第一頁":e==="last"?"最後一頁":e==="next"?"下一頁":"上一頁",labelRowsPerPage:"每頁行數:",labelDisplayedRows:({from:e,to:t,count:r})=>`第 ${e} 項至第 ${t} 項,${r!==-1?`共 ${r} 項`:`超過 ${t} 項`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} 粒星`,emptyLabelText:"無標籤"}},MuiAutocomplete:{defaultProps:{clearText:"清除",closeText:"關閉",loadingText:"載入中……",noOptionsText:"沒有可用選項",openText:"開啟"}},MuiAlert:{defaultProps:{closeText:"關閉"}}}},cQ={components:{MuiBreadcrumbs:{defaultProps:{expandText:"展開"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"第一頁":e==="last"?"最後一頁":e==="next"?"下一頁":"上一頁",labelRowsPerPage:"每頁數量:",labelDisplayedRows:({from:e,to:t,count:r})=>`${e} ~ ${t} / ${r!==-1?r:`${t} 以上`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} 顆星`,emptyLabelText:"無標籤"}},MuiAutocomplete:{defaultProps:{clearText:"清空",closeText:"關閉",loadingText:"載入中…",noOptionsText:"沒有可用選項",openText:"打開"}},MuiAlert:{defaultProps:{closeText:"關閉"}}}},i0e=Object.freeze(Object.defineProperty({__proto__:null,amET:aZ,arEG:sZ,arSA:lZ,arSD:cZ,azAZ:uZ,beBY:dZ,bgBG:hZ,bnBD:fZ,caES:pZ,csCZ:xZ,daDK:mZ,deDE:gZ,elGR:vZ,enUS:bZ,esES:yZ,etEE:wZ,faIR:SZ,fiFI:CZ,frFR:EZ,heIL:MZ,hiIN:PZ,hrHR:AZ,huHU:kZ,hyAM:_Z,idID:RZ,isIS:TZ,itIT:$Z,jaJP:BZ,khKH:IZ,kkKZ:LZ,koKR:OZ,kuCKB:FZ,kuLatn:DZ,mkMK:NZ,msMS:jZ,myMY:zZ,nbNO:HZ,neNP:UZ,nlNL:qZ,nnNO:WZ,plPL:VZ,ptBR:KZ,ptPT:GZ,roRO:YZ,ruRU:JZ,siLK:ZZ,skSK:QZ,srRS:XZ,svSE:eQ,thTH:tQ,tlTL:nQ,trTR:rQ,ukUA:iQ,urPK:oQ,viVN:aQ,zhCN:sQ,zhHK:lQ,zhTW:cQ},Symbol.toStringTag,{value:"Module"}));var U5={},H5=k1;U5.createRoot=H5.createRoot,U5.hydrateRoot=H5.hydrateRoot;const uQ={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]}};let fQ=class h2{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,r)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=t||uQ,this.options=r,this.debug=r.debug}log(){for(var t=arguments.length,r=new Array(t),n=0;n{this.observers[n]||(this.observers[n]=new Map);const i=this.observers[n].get(r)||0;this.observers[n].set(r,i+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i{let[s,l]=a;for(let c=0;c{let[s,l]=a;for(let c=0;c{e=n,t=i});return r.resolve=e,r.reject=t,r}function W5(e){return e==null?"":""+e}function dQ(e,t,r){e.forEach(n=>{t[n]&&(r[n]=t[n])})}const hQ=/###/g;function Af(e,t,r){function n(s){return s&&s.indexOf("###")>-1?s.replace(hQ,"."):s}function i(){return!e||typeof e=="string"}const o=typeof t!="string"?t:t.split(".");let a=0;for(;a":">",'"':""","'":"'","/":"/"};function gQ(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>mQ[t]):e}class vQ{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}}const bQ=[" ",",","?","!",";"],yQ=new vQ(20);function wQ(e,t,r){t=t||"",r=r||"";const n=bQ.filter(a=>t.indexOf(a)<0&&r.indexOf(a)<0);if(n.length===0)return!0;const i=yQ.getRegExp(`(${n.map(a=>a==="?"?"\\?":a).join("|")})`);let o=!i.test(e);if(!o){const a=e.indexOf(r);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o}function p2(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const n=t.split(r);let i=e;for(let o=0;o-1&&l0?e.replace("_","-"):e}class V5 extends z1{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,a=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;t.indexOf(".")>-1?s=t.split("."):(s=[t,r],n&&(Array.isArray(n)?s.push(...n):typeof n=="string"&&o?s.push(...n.split(o)):s.push(n)));const l=tp(this.data,s);return!l&&!r&&!n&&t.indexOf(".")>-1&&(t=s[0],r=s[1],n=s.slice(2).join(".")),l||!a||typeof n!="string"?l:p2(this.data&&this.data[t]&&this.data[t][r],n,o)}addResource(t,r,n,i){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const a=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let s=[t,r];n&&(s=s.concat(a?n.split(a):n)),t.indexOf(".")>-1&&(s=t.split("."),i=r,r=s[1]),this.addNamespaces(r),q5(this.data,s,i),o.silent||this.emit("added",t,r,n,i)}addResources(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in n)(typeof n[o]=="string"||Object.prototype.toString.apply(n[o])==="[object Array]")&&this.addResource(t,r,o,n[o],{silent:!0});i.silent||this.emit("added",t,r,n)}addResourceBundle(t,r,n,i,o){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},s=[t,r];t.indexOf(".")>-1&&(s=t.split("."),i=n,n=r,r=s[1]),this.addNamespaces(r);let l=tp(this.data,s)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),i?fP(l,n,o):l={...l,...n},q5(this.data,s,l),a.silent||this.emit("added",t,r,n)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,r)}:this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(i=>r[i]&&Object.keys(r[i]).length>0)}toJSON(){return this.data}}var dP={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,i){return e.forEach(o=>{this.processors[o]&&(t=this.processors[o].process(t,r,n,i))}),t}};const K5={};class np extends z1{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),dQ(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=wo.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const n=this.resolve(t,r);return n&&n.res!==void 0}extractFromKey(t,r){let n=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");const i=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let o=r.ns||this.options.defaultNS||[];const a=n&&t.indexOf(n)>-1,s=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!wQ(t,n,i);if(a&&!s){const l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:o};const c=t.split(n);(n!==i||n===i&&this.options.ns.indexOf(c[0])>-1)&&(o=c.shift()),t=c.join(i)}return typeof o=="string"&&(o=[o]),{key:t,namespaces:o}}translate(t,r,n){if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof r=="object"&&(r={...r}),r||(r={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const i=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,o=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:a,namespaces:s}=this.extractFromKey(t[t.length-1],r),l=s[s.length-1],c=r.lng||this.language,u=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&c.toLowerCase()==="cimode"){if(u){const I=r.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${I}${a}`,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(r)}:`${l}${I}${a}`}return i?{res:a,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(r)}:a}const f=this.resolve(t,r);let d=f&&f.res;const b=f&&f.usedKey||a,p=f&&f.exactUsedKey||a,v=Object.prototype.toString.apply(d),w=["[object Number]","[object Function]","[object RegExp]"],C=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject;if(y&&d&&(typeof d!="string"&&typeof d!="boolean"&&typeof d!="number")&&w.indexOf(v)<0&&!(typeof C=="string"&&v==="[object Array]")){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const I=this.options.returnedObjectHandler?this.options.returnedObjectHandler(b,d,{...r,ns:s}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(f.res=I,f.usedParams=this.getUsedParamsDetails(r),f):I}if(o){const I=v==="[object Array]",N=I?[]:{},O=I?p:b;for(const D in d)if(Object.prototype.hasOwnProperty.call(d,D)){const T=`${O}${o}${D}`;N[D]=this.translate(T,{...r,joinArrays:!1,ns:s}),N[D]===T&&(N[D]=d[D])}d=N}}else if(y&&typeof C=="string"&&v==="[object Array]")d=d.join(C),d&&(d=this.extendTranslation(d,t,r,n));else{let I=!1,N=!1;const O=r.count!==void 0&&typeof r.count!="string",D=np.hasDefaultValue(r),T=O?this.pluralResolver.getSuffix(c,r.count,r):"",F=r.ordinal&&O?this.pluralResolver.getSuffix(c,r.count,{ordinal:!1}):"",k=O&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),A=k&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${T}`]||r[`defaultValue${F}`]||r.defaultValue;!this.isValidLookup(d)&&D&&(I=!0,d=A),this.isValidLookup(d)||(N=!0,d=a);const g=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&N?void 0:d,h=D&&A!==d&&this.options.updateMissing;if(N||I||h){if(this.logger.log(h?"updateKey":"missingKey",c,l,a,h?A:d),o){const R=this.resolve(a,{...r,keySeparator:!1});R&&R.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 m=[];const S=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&S&&S[0])for(let R=0;R{const E=D&&P!==d?P:g;this.options.missingKeyHandler?this.options.missingKeyHandler(R,l,B,E,h,r):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(R,l,B,E,h,r),this.emit("missingKey",R,l,B,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&O?m.forEach(R=>{const B=this.pluralResolver.getSuffixes(R,r);k&&r[`defaultValue${this.options.pluralSeparator}zero`]&&B.indexOf(`${this.options.pluralSeparator}zero`)<0&&B.push(`${this.options.pluralSeparator}zero`),B.forEach(P=>{$([R],a+P,r[`defaultValue${P}`]||A)})}):$(m,a,A))}d=this.extendTranslation(d,t,r,f,n),N&&d===a&&this.options.appendNamespaceToMissingKey&&(d=`${l}:${a}`),(N||I)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?d=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,I?d:void 0):d=this.options.parseMissingKeyHandler(d))}return i?(f.res=d,f.usedParams=this.getUsedParamsDetails(r),f):d}extendTranslation(t,r,n,i,o){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const c=typeof t=="string"&&(n&&n.interpolation&&n.interpolation.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let u;if(c){const d=t.match(this.interpolator.nestingRegexp);u=d&&d.length}let f=n.replace&&typeof n.replace!="string"?n.replace:n;if(this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),t=this.interpolator.interpolate(t,f,n.lng||this.language,n),c){const d=t.match(this.interpolator.nestingRegexp),b=d&&d.length;u1&&arguments[1]!==void 0?arguments[1]:{},n,i,o,a,s;return typeof t=="string"&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(n))return;const c=this.extractFromKey(l,r),u=c.key;i=u;let f=c.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const d=r.count!==void 0&&typeof r.count!="string",b=d&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),p=r.context!==void 0&&(typeof r.context=="string"||typeof r.context=="number")&&r.context!=="",v=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);f.forEach(w=>{this.isValidLookup(n)||(s=w,!K5[`${v[0]}-${w}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(K5[`${v[0]}-${w}`]=!0,this.logger.warn(`key "${i}" for languages "${v.join(", ")}" won't get resolved as namespace "${s}" 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!!!")),v.forEach(C=>{if(this.isValidLookup(n))return;a=C;const y=[u];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(y,u,C,w,r);else{let I;d&&(I=this.pluralResolver.getSuffix(C,r.count,r));const N=`${this.options.pluralSeparator}zero`,O=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(y.push(u+I),r.ordinal&&I.indexOf(O)===0&&y.push(u+I.replace(O,this.options.pluralSeparator)),b&&y.push(u+N)),p){const D=`${u}${this.options.contextSeparator}${r.context}`;y.push(D),d&&(y.push(D+I),r.ordinal&&I.indexOf(O)===0&&y.push(D+I.replace(O,this.options.pluralSeparator)),b&&y.push(D+N))}}let M;for(;M=y.pop();)this.isValidLookup(n)||(o=M,n=this.getResource(C,w,M,r))}))})}),{res:n,usedKey:i,exactUsedKey:o,usedLng:a,usedNS:s}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,r,n,i):this.resourceStore.getResource(t,r,n,i)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&typeof t.replace!="string";let i=n?t.replace:t;if(n&&typeof t.count<"u"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!n){i={...i};for(const o of r)delete i[o]}return i}static hasDefaultValue(t){const r="defaultValue";for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&r===n.substring(0,r.length)&&t[n]!==void 0)return!0;return!1}}function Xm(e){return e.charAt(0).toUpperCase()+e.slice(1)}class G5{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=wo.create("languageUtils")}getScriptPartFromCode(t){if(t=rp(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=rp(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const r=["hans","hant","latn","cyrl","cans","mong","arab"];let n=t.split("-");return this.options.lowerCaseLng?n=n.map(i=>i.toLowerCase()):n.length===2?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),r.indexOf(n[1].toLowerCase())>-1&&(n[1]=Xm(n[1].toLowerCase()))):n.length===3&&(n[0]=n[0].toLowerCase(),n[1].length===2&&(n[1]=n[1].toUpperCase()),n[0]!=="sgn"&&n[2].length===2&&(n[2]=n[2].toUpperCase()),r.indexOf(n[1].toLowerCase())>-1&&(n[1]=Xm(n[1].toLowerCase())),r.indexOf(n[2].toLowerCase())>-1&&(n[2]=Xm(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(n=>{if(r)return;const i=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(i))&&(r=i)}),!r&&this.options.supportedLngs&&t.forEach(n=>{if(r)return;const i=this.getLanguagePartFromCode(n);if(this.isSupportedCode(i))return r=i;r=this.options.supportedLngs.find(o=>{if(o===i)return o;if(!(o.indexOf("-")<0&&i.indexOf("-")<0)&&(o.indexOf("-")>0&&i.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===i||o.indexOf(i)===0&&i.length>1))return o})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),typeof t=="string"&&(t=[t]),Object.prototype.toString.apply(t)==="[object Array]")return t;if(!r)return t.default||[];let n=t[r];return n||(n=t[this.getScriptPartFromCode(r)]),n||(n=t[this.formatLanguageCode(r)]),n||(n=t[this.getLanguagePartFromCode(r)]),n||(n=t.default),n||[]}toResolveHierarchy(t,r){const n=this.getFallbackCodes(r||this.options.fallbackLng||[],t),i=[],o=a=>{a&&(this.isSupportedCode(a)?i.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(t))):typeof t=="string"&&o(this.formatLanguageCode(t)),n.forEach(a=>{i.indexOf(a)<0&&o(this.formatLanguageCode(a))}),i}}let SQ=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],CQ={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const EQ=["v1","v2","v3"],MQ=["v4"],Y5={zero:0,one:1,two:2,few:3,many:4,other:5};function PQ(){const e={};return SQ.forEach(t=>{t.lngs.forEach(r=>{e[r]={numbers:t.nr,plurals:CQ[t.fc]}})}),e}class AQ{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=r,this.logger=wo.create("pluralResolver"),(!this.options.compatibilityJSON||MQ.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=PQ()}addRule(t,r){this.rules[t]=r}getRule(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(rp(t==="dev"?"en":t),{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=this.getRule(t,r);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,n).map(i=>`${r}${i}`)}getSuffixes(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=this.getRule(t,r);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((i,o)=>Y5[i]-Y5[o]).map(i=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i}`):n.numbers.map(i=>this.getSuffix(t,i,r)):[]}getSuffix(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(t,n);return i?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i.select(r)}`:this.getSuffixRetroCompatible(i,r):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,r){const n=t.noAbs?t.plurals(r):t.plurals(Math.abs(r));let i=t.numbers[n];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(i===2?i="plural":i===1&&(i=""));const o=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return this.options.compatibilityJSON==="v1"?i===1?"":typeof i=="number"?`_plural_${i.toString()}`:o():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!EQ.includes(this.options.compatibilityJSON)}}function X5(e,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=xQ(e,t,r);return!o&&i&&typeof r=="string"&&(o=p2(e,r,n),o===void 0&&(o=p2(t,r,n))),o}class kQ{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=wo.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(r=>r),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const r=t.interpolation;this.escape=r.escape!==void 0?r.escape:gQ,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?Tl(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?Tl(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?Tl(r.nestingPrefix):r.nestingPrefixEscaped||Tl("$t("),this.nestingSuffix=r.nestingSuffix?Tl(r.nestingSuffix):r.nestingSuffixEscaped||Tl(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,n)=>r&&r.source===n?(r.lastIndex=0,r):new RegExp(n,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,r,n,i){let o,a,s;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(p){return p.replace(/\$/g,"$$$$")}const u=p=>{if(p.indexOf(this.formatSeparator)<0){const y=X5(r,l,p,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(y,void 0,n,{...i,...r,interpolationkey:p}):y}const v=p.split(this.formatSeparator),w=v.shift().trim(),C=v.join(this.formatSeparator).trim();return this.format(X5(r,l,w,this.options.keySeparator,this.options.ignoreJSONStructure),C,n,{...i,...r,interpolationkey:w})};this.resetRegExp();const f=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,d=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:p=>c(p)},{regex:this.regexp,safeValue:p=>this.escapeValue?c(this.escape(p)):c(p)}].forEach(p=>{for(s=0;o=p.regex.exec(t);){const v=o[1].trim();if(a=u(v),a===void 0)if(typeof f=="function"){const C=f(t,o,i);a=typeof C=="string"?C:""}else if(i&&Object.prototype.hasOwnProperty.call(i,v))a="";else if(d){a=o[0];continue}else this.logger.warn(`missed to pass in variable ${v} for interpolating ${t}`),a="";else typeof a!="string"&&!this.useRawValueToEscape&&(a=W5(a));const w=p.safeValue(a);if(t=t.replace(o[0],w),d?(p.regex.lastIndex+=a.length,p.regex.lastIndex-=o[0].length):p.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),t}nest(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,o,a;function s(l,c){const u=this.nestingOptionsSeparator;if(l.indexOf(u)<0)return l;const f=l.split(new RegExp(`${u}[ ]*{`));let d=`{${f[1]}`;l=f[0],d=this.interpolate(d,a);const b=d.match(/'/g),p=d.match(/"/g);(b&&b.length%2===0&&!p||p.length%2!==0)&&(d=d.replace(/'/g,'"'));try{a=JSON.parse(d),c&&(a={...c,...a})}catch(v){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,v),`${l}${u}${d}`}return delete a.defaultValue,l}for(;i=this.nestingRegexp.exec(t);){let l=[];a={...n},a=a.replace&&typeof a.replace!="string"?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const u=i[1].split(this.formatSeparator).map(f=>f.trim());i[1]=u.shift(),l=u,c=!0}if(o=r(s.call(this,i[1].trim(),a),a),o&&i[0]===t&&typeof o!="string")return o;typeof o!="string"&&(o=W5(o)),o||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),o=""),c&&(o=l.reduce((u,f)=>this.format(u,f,n.lng,{...n,interpolationkey:i[1].trim()}),o.trim())),t=t.replace(i[0],o),this.regexp.lastIndex=0}return t}}function _Q(e){let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const i=n[1].substring(0,n[1].length-1);t==="currency"&&i.indexOf(":")<0?r.currency||(r.currency=i.trim()):t==="relativetime"&&i.indexOf(":")<0?r.range||(r.range=i.trim()):i.split(";").forEach(a=>{if(!a)return;const[s,...l]=a.split(":"),c=l.join(":").trim().replace(/^'+|'+$/g,"");r[s.trim()]||(r[s.trim()]=c),c==="false"&&(r[s.trim()]=!1),c==="true"&&(r[s.trim()]=!0),isNaN(c)||(r[s.trim()]=parseInt(c,10))})}return{formatName:t,formatOptions:r}}function $l(e){const t={};return function(n,i,o){const a=i+JSON.stringify(o);let s=t[a];return s||(s=e(rp(i),o),t[a]=s),s(n)}}class RQ{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=wo.create("formatter"),this.options=t,this.formats={number:$l((r,n)=>{const i=new Intl.NumberFormat(r,{...n});return o=>i.format(o)}),currency:$l((r,n)=>{const i=new Intl.NumberFormat(r,{...n,style:"currency"});return o=>i.format(o)}),datetime:$l((r,n)=>{const i=new Intl.DateTimeFormat(r,{...n});return o=>i.format(o)}),relativetime:$l((r,n)=>{const i=new Intl.RelativeTimeFormat(r,{...n});return o=>i.format(o,n.range||"day")}),list:$l((r,n)=>{const i=new Intl.ListFormat(r,{...n});return o=>i.format(o)})},this.init(t)}init(t){const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=$l(r)}format(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return r.split(this.formatSeparator).reduce((s,l)=>{const{formatName:c,formatOptions:u}=_Q(l);if(this.formats[c]){let f=s;try{const d=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},b=d.locale||d.lng||i.locale||i.lng||n;f=this.formats[c](s,b,{...u,...i,...d})}catch(d){this.logger.warn(d)}return f}else this.logger.warn(`there was no format function for ${c}`);return s},t)}}function TQ(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class $Q extends z1{constructor(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=r,this.services=n,this.languageUtils=n.languageUtils,this.options=i,this.logger=wo.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,i.backend,i)}queueLoad(t,r,n,i){const o={},a={},s={},l={};return t.forEach(c=>{let u=!0;r.forEach(f=>{const d=`${c}|${f}`;!n.reload&&this.store.hasResourceBundle(c,f)?this.state[d]=2:this.state[d]<0||(this.state[d]===1?a[d]===void 0&&(a[d]=!0):(this.state[d]=1,u=!1,a[d]===void 0&&(a[d]=!0),o[d]===void 0&&(o[d]=!0),l[f]===void 0&&(l[f]=!0)))}),u||(s[c]=!0)}),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}loaded(t,r,n){const i=t.split("|"),o=i[0],a=i[1];r&&this.emit("failedLoading",o,a,r),n&&this.store.addResourceBundle(o,a,n,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2;const s={};this.queue.forEach(l=>{pQ(l.loaded,[o],a),TQ(l,t),r&&l.errors.push(r),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(c=>{s[c]||(s[c]={});const u=l.loaded[c];u.length&&u.forEach(f=>{s[c][f]===void 0&&(s[c][f]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(l=>!l.done)}read(t,r,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!t.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:n,tried:i,wait:o,callback:a});return}this.readingCalls++;const s=(c,u)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(c&&u&&i{this.read.call(this,t,r,n,i+1,o*2,a)},o);return}a(c,u)},l=this.backend[n].bind(this.backend);if(l.length===2){try{const c=l(t,r);c&&typeof c.then=="function"?c.then(u=>s(null,u)).catch(s):s(null,c)}catch(c){s(c)}return}return l(t,r,s)}prepareLoading(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=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."),i&&i();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof r=="string"&&(r=[r]);const o=this.queueLoad(t,r,n,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(a=>{this.loadOne(a)})}load(t,r,n){this.prepareLoading(t,r,{},n)}reload(t,r,n){this.prepareLoading(t,r,{reload:!0},n)}loadOne(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const n=t.split("|"),i=n[0],o=n[1];this.read(i,o,"read",void 0,void 0,(a,s)=>{a&&this.logger.warn(`${r}loading namespace ${o} for language ${i} failed`,a),!a&&s&&this.logger.log(`${r}loaded namespace ${o} for language ${i}`,s),this.loaded(t,a,s)})}saveMissing(t,r,n,i,o){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${n}" as the namespace "${r}" 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(!(n==null||n==="")){if(this.backend&&this.backend.create){const l={...a,isUpdate:o},c=this.backend.create.bind(this.backend);if(c.length<6)try{let u;c.length===5?u=c(t,r,n,i,l):u=c(t,r,n,i),u&&typeof u.then=="function"?u.then(f=>s(null,f)).catch(s):s(null,u)}catch(u){s(u)}else c(t,r,n,i,s,l)}!t||!t[0]||this.store.addResource(t[0],r,n,i)}}}function J5(){return{debug:!1,initImmediate:!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:function(t){let r={};if(typeof t[1]=="object"&&(r=t[1]),typeof t[1]=="string"&&(r.defaultValue=t[1]),typeof t[2]=="string"&&(r.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const n=t[3]||t[2];Object.keys(n).forEach(i=>{r[i]=n[i]})}return r},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Z5(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function kd(){}function BQ(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(r=>{typeof e[r]=="function"&&(e[r]=e[r].bind(e))})}class c0 extends z1{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Z5(t),this.services={},this.logger=wo,this.modules={external:[]},BQ(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(){var t=this;let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof r=="function"&&(n=r,r={}),!r.defaultNS&&r.defaultNS!==!1&&r.ns&&(typeof r.ns=="string"?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const i=J5();this.options={...i,...this.options,...Z5(r)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),r.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=r.keySeparator),r.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=r.nsSeparator);function o(u){return u?typeof u=="function"?new u:u:null}if(!this.options.isClone){this.modules.logger?wo.init(o(this.modules.logger),this.options):wo.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=RQ);const f=new G5(this.options);this.store=new V5(this.options.resources,this.options);const d=this.services;d.logger=wo,d.resourceStore=this.store,d.languageUtils=f,d.pluralResolver=new AQ(f,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(d.formatter=o(u),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new kQ(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new $Q(o(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",function(b){for(var p=arguments.length,v=new Array(p>1?p-1:0),w=1;w1?p-1:0),w=1;w{b.init&&b.init(this)})}if(this.format=this.options.interpolation.format,n||(n=kd),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[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(u=>{this[u]=function(){return t.store[u](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=function(){return t.store[u](...arguments),t}});const l=Bu(),c=()=>{const u=(f,d)=>{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),l.resolve(d),n(f,d)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),l}loadResources(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kd;const i=typeof t=="string"?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const o=[],a=s=>{if(!s||s==="cimode")return;this.services.languageUtils.toResolveHierarchy(s).forEach(c=>{c!=="cimode"&&o.indexOf(c)<0&&o.push(c)})};i?a(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>a(l)),this.options.preload&&this.options.preload.forEach(s=>a(s)),this.services.backendConnector.load(o,this.options.ns,s=>{!s&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(s)})}else n(null)}reloadResources(t,r,n){const i=Bu();return t||(t=this.languages),r||(r=this.options.ns),n||(n=kd),this.services.backendConnector.reload(t,r,o=>{i.resolve(),n(o)}),i}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&dP.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let r=0;r-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}changeLanguage(t,r){var n=this;this.isLanguageChangingTo=t;const i=Bu();this.emit("languageChanging",t);const o=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},a=(l,c)=>{c?(o(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,i.resolve(function(){return n.t(...arguments)}),r&&r(l,function(){return n.t(...arguments)})},s=l=>{!t&&!l&&this.services.languageDetector&&(l=[]);const c=typeof l=="string"?l:this.services.languageUtils.getBestMatchFromCodes(l);c&&(this.language||o(c),this.translator.language||this.translator.changeLanguage(c),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(c)),this.loadResources(c,u=>{a(u,c)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(t),i}getFixedT(t,r,n){var i=this;const o=function(a,s){let l;if(typeof s!="object"){for(var c=arguments.length,u=new Array(c>2?c-2:0),f=2;f`${l.keyPrefix}${d}${p}`):b=l.keyPrefix?`${l.keyPrefix}${d}${a}`:a,i.t(b,l)};return typeof t=="string"?o.lng=t:o.lngs=t,o.ns=r,o.keyPrefix=n,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let r=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 n=r.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const a=(s,l)=>{const c=this.services.backendConnector.state[`${s}|${l}`];return c===-1||c===2};if(r.precheck){const s=r.precheck(this,a);if(s!==void 0)return s}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,t)&&(!i||a(o,t)))}loadNamespaces(t,r){const n=Bu();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{n.resolve(),r&&r(i)}),n):(r&&r(),Promise.resolve())}loadLanguages(t,r){const n=Bu();typeof t=="string"&&(t=[t]);const i=this.options.preload||[],o=t.filter(a=>i.indexOf(a)<0);return o.length?(this.options.preload=i.concat(o),this.loadResources(a=>{n.resolve(),r&&r(a)}),n):(r&&r(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const r=["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"],n=this.services&&this.services.languageUtils||new G5(J5());return r.indexOf(n.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new c0(t,r)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kd;const n=t.forkResourceStore;n&&delete t.forkResourceStore;const i={...this.options,...t,isClone:!0},o=new c0(i);return(t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(s=>{o[s]=this[s]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},n&&(o.store=new V5(this.store.data,i),o.services.resourceStore=o.store),o.translator=new np(o.services,i),o.translator.on("*",function(s){for(var l=arguments.length,c=new Array(l>1?l-1:0),u=1;u()=>{if(e.isInitialized)t();else{const r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}};function e7(e,t,r){e.loadNamespaces(t,hP(e,r))}function t7(e,t,r,n){typeof r=="string"&&(r=[r]),r.forEach(i=>{e.options.ns.indexOf(i)<0&&e.options.ns.push(i)}),e.loadLanguages(t,hP(e,n))}function OQ(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const n=t.languages[0],i=t.options?t.options.fallbackLng:!1,o=t.languages[t.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const a=(s,l)=>{const c=t.services.backendConnector.state[`${s}|${l}`];return c===-1||c===2};return r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(n,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||a(n,e)&&(!i||a(o,e)))}function FQ(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!t.languages||!t.languages.length?(x2("i18n.languages were undefined or empty",t.languages),!0):t.options.ignoreJSONStructure!==void 0?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(i,o)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&i.services.backendConnector.backend&&i.isLanguageChangingTo&&!o(i.isLanguageChangingTo,e))return!1}}):OQ(e,t,r)}const DQ=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,LQ={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},NQ=e=>LQ[e],zQ=e=>e.replace(DQ,NQ);let m2={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:zQ};function jQ(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};m2={...m2,...e}}function UQ(){return m2}let pP;function HQ(e){pP=e}function WQ(){return pP}const a0e={type:"3rdParty",init(e){jQ(e.options.react),HQ(e)}},qQ=U.createContext();class VQ{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(r=>{this.usedNamespaces[r]||(this.usedNamespaces[r]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const KQ=(e,t)=>{const r=U.useRef();return U.useEffect(()=>{r.current=t?r.current:e},[e,t]),r.current};function xP(e,t,r,n){return e.getFixedT(t,r,n)}function GQ(e,t,r,n){return U.useCallback(xP(e,t,r,n),[e,t,r,n])}function s0e(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:r}=t,{i18n:n,defaultNS:i}=U.useContext(qQ)||{},o=r||n||WQ();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new VQ),!o){x2("You will need to pass in an i18next instance by using initReactI18next");const I=(O,D)=>typeof D=="string"?D:D&&typeof D=="object"&&typeof D.defaultValue=="string"?D.defaultValue:Array.isArray(O)?O[O.length-1]:O,N=[I,{},!1];return N.t=I,N.i18n={},N.ready=!1,N}o.options.react&&o.options.react.wait!==void 0&&x2("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const a={...UQ(),...o.options.react,...t},{useSuspense:s,keyPrefix:l}=a;let c=e||i||o.options&&o.options.defaultNS;c=typeof c=="string"?[c]:c||["translation"],o.reportNamespaces.addUsedNamespaces&&o.reportNamespaces.addUsedNamespaces(c);const u=(o.isInitialized||o.initializedStoreOnce)&&c.every(I=>FQ(I,o,a)),f=GQ(o,t.lng||null,a.nsMode==="fallback"?c:c[0],l),d=()=>f,b=()=>xP(o,t.lng||null,a.nsMode==="fallback"?c:c[0],l),[p,v]=U.useState(d);let w=c.join();t.lng&&(w=`${t.lng}${w}`);const C=KQ(w),y=U.useRef(!0);U.useEffect(()=>{const{bindI18n:I,bindI18nStore:N}=a;y.current=!0,!u&&!s&&(t.lng?t7(o,t.lng,c,()=>{y.current&&v(b)}):e7(o,c,()=>{y.current&&v(b)})),u&&C&&C!==w&&y.current&&v(b);function O(){y.current&&v(b)}return I&&o&&o.on(I,O),N&&o&&o.store.on(N,O),()=>{y.current=!1,I&&o&&I.split(" ").forEach(D=>o.off(D,O)),N&&o&&N.split(" ").forEach(D=>o.store.off(D,O))}},[o,w]),U.useEffect(()=>{y.current&&u&&v(d)},[o,l,u]);const M=[p,o,u];if(M.t=p,M.i18n=o,M.ready=u,u||!u&&!s)return M;throw new Promise(I=>{t.lng?t7(o,t.lng,c,()=>I()):e7(o,c,()=>I())})}function YQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r7(e,t){for(var r=0;r0){var s=i.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");a+="; Max-Age=".concat(Math.floor(s))}if(i.domain){if(!n7.test(i.domain))throw new TypeError("option domain is invalid");a+="; Domain=".concat(i.domain)}if(i.path){if(!n7.test(i.path))throw new TypeError("option path is invalid");a+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");a+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(a+="; HttpOnly"),i.secure&&(a+="; Secure"),i.sameSite){var l=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(l){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},i7={create:function(t,r,n,i){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+n*60*1e3)),i&&(o.domain=i),document.cookie=eee(t,encodeURIComponent(r),o)},read:function(t){for(var r="".concat(t,"="),n=document.cookie.split(";"),i=0;i-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=n.substring(1),o=i.split("&"),a=0;a0){var l=o[a].substring(0,s);l===t.lookupQuerystring&&(r=o[a].substring(s+1))}}}return r}},Iu=null,o7=function(){if(Iu!==null)return Iu;try{Iu=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{Iu=!1}return Iu},nee={name:"localStorage",lookup:function(t){var r;if(t.lookupLocalStorage&&o7()){var n=window.localStorage.getItem(t.lookupLocalStorage);n&&(r=n)}return r},cacheUserLanguage:function(t,r){r.lookupLocalStorage&&o7()&&window.localStorage.setItem(r.lookupLocalStorage,t)}},Ou=null,a7=function(){if(Ou!==null)return Ou;try{Ou=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{Ou=!1}return Ou},iee={name:"sessionStorage",lookup:function(t){var r;if(t.lookupSessionStorage&&a7()){var n=window.sessionStorage.getItem(t.lookupSessionStorage);n&&(r=n)}return r},cacheUserLanguage:function(t,r){r.lookupSessionStorage&&a7()&&window.sessionStorage.setItem(r.lookupSessionStorage,t)}},oee={name:"navigator",lookup:function(t){var r=[];if(typeof navigator<"u"){if(navigator.languages)for(var n=0;n0?r:void 0}},aee={name:"htmlTag",lookup:function(t){var r,n=t.htmlTag||(typeof document<"u"?document.documentElement:null);return n&&typeof n.getAttribute=="function"&&(r=n.getAttribute("lang")),r}},see={name:"path",lookup:function(t){var r;if(typeof window<"u"){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof n[t.lookupFromPathIndex]!="string")return;r=n[t.lookupFromPathIndex].replace("/","")}else r=n[0].replace("/","")}return r}},lee={name:"subdomain",lookup:function(t){var r=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,n=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(n)return n[r]}};function cee(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(t){return t}}}var uee=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};YQ(this,e),this.type="languageDetector",this.detectors={},this.init(t,r)}return XQ(e,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=r||{languageUtils:{}},this.options=QQ(n,this.options||{},cee()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(o){return o.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(tee),this.addDetector(ree),this.addDetector(nee),this.addDetector(iee),this.addDetector(oee),this.addDetector(aee),this.addDetector(see),this.addDetector(lee)}},{key:"addDetector",value:function(r){return this.detectors[r.name]=r,this}},{key:"detect",value:function(r){var n=this;r||(r=this.options.order);var i=[];return r.forEach(function(o){if(n.detectors[o]){var a=n.detectors[o].lookup(n.options);a&&typeof a=="string"&&(a=[a]),a&&(i=i.concat(a))}}),i=i.map(function(o){return n.options.convertDetectedLanguage(o)}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(r,n){var i=this;n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(r)>-1||n.forEach(function(o){i.detectors[o]&&i.detectors[o].cacheUserLanguage(r,i.options)}))}}]),e}();uee.type="languageDetector";/** + * @license + * Copyright 2009 The Closure Library Authors + * Copyright 2020 Daniel Wirtz / The long.js Authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */var Ci=null;try{Ci=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function Xt(e,t,r){this.low=e|0,this.high=t|0,this.unsigned=!!r}Xt.prototype.__isLong__;Object.defineProperty(Xt.prototype,"__isLong__",{value:!0});function dn(e){return(e&&e.__isLong__)===!0}function s7(e){var t=Math.clz32(e&-e);return e?31-t:t}Xt.isLong=dn;var l7={},c7={};function ml(e,t){var r,n,i;return t?(e>>>=0,(i=0<=e&&e<256)&&(n=c7[e],n)?n:(r=Ft(e,0,!0),i&&(c7[e]=r),r)):(e|=0,(i=-128<=e&&e<128)&&(n=l7[e],n)?n:(r=Ft(e,e<0?-1:0,!1),i&&(l7[e]=r),r))}Xt.fromInt=ml;function Ei(e,t){if(isNaN(e))return t?Qo:io;if(t){if(e<0)return Qo;if(e>=gP)return yP}else{if(e<=-f7)return _n;if(e+1>=f7)return bP}return e<0?Ei(-e,t).neg():Ft(e%Dc|0,e/Dc|0,t)}Xt.fromNumber=Ei;function Ft(e,t,r){return new Xt(e,t,r)}Xt.fromBits=Ft;var ip=Math.pow;function z4(e,t,r){if(e.length===0)throw Error("empty string");if(typeof t=="number"?(r=t,t=!1):t=!!t,e==="NaN"||e==="Infinity"||e==="+Infinity"||e==="-Infinity")return t?Qo:io;if(r=r||10,r<2||360)throw Error("interior hyphen");if(n===0)return z4(e.substring(1),t,r).neg();for(var i=Ei(ip(r,8)),o=io,a=0;a>>0:this.low};Fe.toNumber=function(){return this.unsigned?(this.high>>>0)*Dc+(this.low>>>0):this.high*Dc+(this.low>>>0)};Fe.toString=function(t){if(t=t||10,t<2||36>>0,u=c.toString(t);if(a=l,a.isZero())return u+s;for(;u.length<6;)u="0"+u;s=""+u+s}};Fe.getHighBits=function(){return this.high};Fe.getHighBitsUnsigned=function(){return this.high>>>0};Fe.getLowBits=function(){return this.low};Fe.getLowBitsUnsigned=function(){return this.low>>>0};Fe.getNumBitsAbs=function(){if(this.isNegative())return this.eq(_n)?64:this.neg().getNumBitsAbs();for(var t=this.high!=0?this.high:this.low,r=31;r>0&&!(t&1<=0};Fe.isOdd=function(){return(this.low&1)===1};Fe.isEven=function(){return(this.low&1)===0};Fe.equals=function(t){return dn(t)||(t=uo(t)),this.unsigned!==t.unsigned&&this.high>>>31===1&&t.high>>>31===1?!1:this.high===t.high&&this.low===t.low};Fe.eq=Fe.equals;Fe.notEquals=function(t){return!this.eq(t)};Fe.neq=Fe.notEquals;Fe.ne=Fe.notEquals;Fe.lessThan=function(t){return this.comp(t)<0};Fe.lt=Fe.lessThan;Fe.lessThanOrEqual=function(t){return this.comp(t)<=0};Fe.lte=Fe.lessThanOrEqual;Fe.le=Fe.lessThanOrEqual;Fe.greaterThan=function(t){return this.comp(t)>0};Fe.gt=Fe.greaterThan;Fe.greaterThanOrEqual=function(t){return this.comp(t)>=0};Fe.gte=Fe.greaterThanOrEqual;Fe.ge=Fe.greaterThanOrEqual;Fe.compare=function(t){if(dn(t)||(t=uo(t)),this.eq(t))return 0;var r=this.isNegative(),n=t.isNegative();return r&&!n?-1:!r&&n?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1};Fe.comp=Fe.compare;Fe.negate=function(){return!this.unsigned&&this.eq(_n)?_n:this.not().add(ec)};Fe.neg=Fe.negate;Fe.add=function(t){dn(t)||(t=uo(t));var r=this.high>>>16,n=this.high&65535,i=this.low>>>16,o=this.low&65535,a=t.high>>>16,s=t.high&65535,l=t.low>>>16,c=t.low&65535,u=0,f=0,d=0,b=0;return b+=o+c,d+=b>>>16,b&=65535,d+=i+l,f+=d>>>16,d&=65535,f+=n+s,u+=f>>>16,f&=65535,u+=r+a,u&=65535,Ft(d<<16|b,u<<16|f,this.unsigned)};Fe.subtract=function(t){return dn(t)||(t=uo(t)),this.add(t.neg())};Fe.sub=Fe.subtract;Fe.multiply=function(t){if(this.isZero())return this;if(dn(t)||(t=uo(t)),Ci){var r=Ci.mul(this.low,this.high,t.low,t.high);return Ft(r,Ci.get_high(),this.unsigned)}if(t.isZero())return this.unsigned?Qo:io;if(this.eq(_n))return t.isOdd()?_n:io;if(t.eq(_n))return this.isOdd()?_n:io;if(this.isNegative())return t.isNegative()?this.neg().mul(t.neg()):this.neg().mul(t).neg();if(t.isNegative())return this.mul(t.neg()).neg();if(this.lt(d7)&&t.lt(d7))return Ei(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,i=this.high&65535,o=this.low>>>16,a=this.low&65535,s=t.high>>>16,l=t.high&65535,c=t.low>>>16,u=t.low&65535,f=0,d=0,b=0,p=0;return p+=a*u,b+=p>>>16,p&=65535,b+=o*u,d+=b>>>16,b&=65535,b+=a*c,d+=b>>>16,b&=65535,d+=i*u,f+=d>>>16,d&=65535,d+=o*c,f+=d>>>16,d&=65535,d+=a*l,f+=d>>>16,d&=65535,f+=n*u+i*c+o*l+a*s,f&=65535,Ft(b<<16|p,f<<16|d,this.unsigned)};Fe.mul=Fe.multiply;Fe.divide=function(t){if(dn(t)||(t=uo(t)),t.isZero())throw Error("division by zero");if(Ci){if(!this.unsigned&&this.high===-2147483648&&t.low===-1&&t.high===-1)return this;var r=(this.unsigned?Ci.div_u:Ci.div_s)(this.low,this.high,t.low,t.high);return Ft(r,Ci.get_high(),this.unsigned)}if(this.isZero())return this.unsigned?Qo:io;var n,i,o;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return Qo;if(t.gt(this.shru(1)))return vP;o=Qo}else{if(this.eq(_n)){if(t.eq(ec)||t.eq(g2))return _n;if(t.eq(_n))return ec;var a=this.shr(1);return n=a.div(t).shl(1),n.eq(io)?t.isNegative()?ec:g2:(i=this.sub(t.mul(n)),o=n.add(i.div(t)),o)}else if(t.eq(_n))return this.unsigned?Qo:io;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();o=io}for(i=this;i.gte(t);){n=Math.max(1,Math.floor(i.toNumber()/t.toNumber()));for(var s=Math.ceil(Math.log(n)/Math.LN2),l=s<=48?1:ip(2,s-48),c=Ei(n),u=c.mul(t);u.isNegative()||u.gt(i);)n-=l,c=Ei(n,this.unsigned),u=c.mul(t);c.isZero()&&(c=ec),o=o.add(c),i=i.sub(u)}return o};Fe.div=Fe.divide;Fe.modulo=function(t){if(dn(t)||(t=uo(t)),Ci){var r=(this.unsigned?Ci.rem_u:Ci.rem_s)(this.low,this.high,t.low,t.high);return Ft(r,Ci.get_high(),this.unsigned)}return this.sub(this.div(t).mul(t))};Fe.mod=Fe.modulo;Fe.rem=Fe.modulo;Fe.not=function(){return Ft(~this.low,~this.high,this.unsigned)};Fe.countLeadingZeros=function(){return this.high?Math.clz32(this.high):Math.clz32(this.low)+32};Fe.clz=Fe.countLeadingZeros;Fe.countTrailingZeros=function(){return this.low?s7(this.low):s7(this.high)+32};Fe.ctz=Fe.countTrailingZeros;Fe.and=function(t){return dn(t)||(t=uo(t)),Ft(this.low&t.low,this.high&t.high,this.unsigned)};Fe.or=function(t){return dn(t)||(t=uo(t)),Ft(this.low|t.low,this.high|t.high,this.unsigned)};Fe.xor=function(t){return dn(t)||(t=uo(t)),Ft(this.low^t.low,this.high^t.high,this.unsigned)};Fe.shiftLeft=function(t){return dn(t)&&(t=t.toInt()),(t&=63)===0?this:t<32?Ft(this.low<>>32-t,this.unsigned):Ft(0,this.low<>>t|this.high<<32-t,this.high>>t,this.unsigned):Ft(this.high>>t-32,this.high>=0?0:-1,this.unsigned)};Fe.shr=Fe.shiftRight;Fe.shiftRightUnsigned=function(t){return dn(t)&&(t=t.toInt()),(t&=63)===0?this:t<32?Ft(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):t===32?Ft(this.high,0,this.unsigned):Ft(this.high>>>t-32,0,this.unsigned)};Fe.shru=Fe.shiftRightUnsigned;Fe.shr_u=Fe.shiftRightUnsigned;Fe.rotateLeft=function(t){var r;return dn(t)&&(t=t.toInt()),(t&=63)===0?this:t===32?Ft(this.high,this.low,this.unsigned):t<32?(r=32-t,Ft(this.low<>>r,this.high<>>r,this.unsigned)):(t-=32,r=32-t,Ft(this.high<>>r,this.low<>>r,this.unsigned))};Fe.rotl=Fe.rotateLeft;Fe.rotateRight=function(t){var r;return dn(t)&&(t=t.toInt()),(t&=63)===0?this:t===32?Ft(this.high,this.low,this.unsigned):t<32?(r=32-t,Ft(this.high<>>t,this.low<>>t,this.unsigned)):(t-=32,r=32-t,Ft(this.low<>>t,this.high<>>t,this.unsigned))};Fe.rotr=Fe.rotateRight;Fe.toSigned=function(){return this.unsigned?Ft(this.low,this.high,!1):this};Fe.toUnsigned=function(){return this.unsigned?this:Ft(this.low,this.high,!0)};Fe.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()};Fe.toBytesLE=function(){var t=this.high,r=this.low;return[r&255,r>>>8&255,r>>>16&255,r>>>24,t&255,t>>>8&255,t>>>16&255,t>>>24]};Fe.toBytesBE=function(){var t=this.high,r=this.low;return[t>>>24,t>>>16&255,t>>>8&255,t&255,r>>>24,r>>>16&255,r>>>8&255,r&255]};Xt.fromBytes=function(t,r,n){return n?Xt.fromBytesLE(t,r):Xt.fromBytesBE(t,r)};Xt.fromBytesLE=function(t,r){return new Xt(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,r)};Xt.fromBytesBE=function(t,r){return new Xt(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],r)};var wP={};const dee="elliptic",hee="6.5.5",pee="EC cryptography",xee="lib/elliptic.js",mee=["lib"],gee={lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},vee={type:"git",url:"git@github.com:indutny/elliptic"},bee=["EC","Elliptic","curve","Cryptography"],yee="Fedor Indutny ",wee="MIT",See={url:"https://github.com/indutny/elliptic/issues"},Cee="https://github.com/indutny/elliptic",Eee={brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},Mee={"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"},Pee={name:dee,version:hee,description:pee,main:xee,files:mee,scripts:gee,repository:vee,keywords:bee,author:yee,license:wee,bugs:See,homepage:Cee,devDependencies:Eee,dependencies:Mee};var ci={},j4={exports:{}};j4.exports;(function(e){(function(t,r){function n(A,x){if(!A)throw new Error(x||"Assertion failed")}function i(A,x){A.super_=x;var g=function(){};g.prototype=x.prototype,A.prototype=new g,A.prototype.constructor=A}function o(A,x,g){if(o.isBN(A))return A;this.negative=0,this.words=null,this.length=0,this.red=null,A!==null&&((x==="le"||x==="be")&&(g=x,x=10),this._init(A||0,x||10,g||"be"))}typeof t=="object"?t.exports=o:r.BN=o,o.BN=o,o.wordSize=26;var a;try{typeof window<"u"&&typeof window.Buffer<"u"?a=window.Buffer:a=qp.Buffer}catch{}o.isBN=function(x){return x instanceof o?!0:x!==null&&typeof x=="object"&&x.constructor.wordSize===o.wordSize&&Array.isArray(x.words)},o.max=function(x,g){return x.cmp(g)>0?x:g},o.min=function(x,g){return x.cmp(g)<0?x:g},o.prototype._init=function(x,g,h){if(typeof x=="number")return this._initNumber(x,g,h);if(typeof x=="object")return this._initArray(x,g,h);g==="hex"&&(g=16),n(g===(g|0)&&g>=2&&g<=36),x=x.toString().replace(/\s+/g,"");var m=0;x[0]==="-"&&(m++,this.negative=1),m=0;m-=3)$=x[m]|x[m-1]<<8|x[m-2]<<16,this.words[S]|=$<>>26-R&67108863,R+=24,R>=26&&(R-=26,S++);else if(h==="le")for(m=0,S=0;m>>26-R&67108863,R+=24,R>=26&&(R-=26,S++);return this.strip()};function s(A,x){var g=A.charCodeAt(x);return g>=65&&g<=70?g-55:g>=97&&g<=102?g-87:g-48&15}function l(A,x,g){var h=s(A,g);return g-1>=x&&(h|=s(A,g-1)<<4),h}o.prototype._parseHex=function(x,g,h){this.length=Math.ceil((x.length-g)/6),this.words=new Array(this.length);for(var m=0;m=g;m-=2)R=l(x,g,m)<=18?(S-=18,$+=1,this.words[$]|=R>>>26):S+=8;else{var B=x.length-g;for(m=B%2===0?g+1:g;m=18?(S-=18,$+=1,this.words[$]|=R>>>26):S+=8}this.strip()};function c(A,x,g,h){for(var m=0,S=Math.min(A.length,g),$=x;$=49?m+=R-49+10:R>=17?m+=R-17+10:m+=R}return m}o.prototype._parseBase=function(x,g,h){this.words=[0],this.length=1;for(var m=0,S=1;S<=67108863;S*=g)m++;m--,S=S/g|0;for(var $=x.length-h,R=$%m,B=Math.min($,$-R)+h,P=0,E=h;E1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},o.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(x,g){x=x||10,g=g|0||1;var h;if(x===16||x==="hex"){h="";for(var m=0,S=0,$=0;$>>24-m&16777215,S!==0||$!==this.length-1?h=u[6-B.length]+B+h:h=B+h,m+=2,m>=26&&(m-=26,$--)}for(S!==0&&(h=S.toString(16)+h);h.length%g!==0;)h="0"+h;return this.negative!==0&&(h="-"+h),h}if(x===(x|0)&&x>=2&&x<=36){var P=f[x],E=d[x];h="";var _=this.clone();for(_.negative=0;!_.isZero();){var z=_.modn(E).toString(x);_=_.idivn(E),_.isZero()?h=z+h:h=u[P-z.length]+z+h}for(this.isZero()&&(h="0"+h);h.length%g!==0;)h="0"+h;return this.negative!==0&&(h="-"+h),h}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var x=this.words[0];return this.length===2?x+=this.words[1]*67108864:this.length===3&&this.words[2]===1?x+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-x:x},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(x,g){return n(typeof a<"u"),this.toArrayLike(a,x,g)},o.prototype.toArray=function(x,g){return this.toArrayLike(Array,x,g)},o.prototype.toArrayLike=function(x,g,h){var m=this.byteLength(),S=h||Math.max(1,m);n(m<=S,"byte array longer than desired length"),n(S>0,"Requested array length <= 0"),this.strip();var $=g==="le",R=new x(S),B,P,E=this.clone();if($){for(P=0;!E.isZero();P++)B=E.andln(255),E.iushrn(8),R[P]=B;for(;P=4096&&(h+=13,g>>>=13),g>=64&&(h+=7,g>>>=7),g>=8&&(h+=4,g>>>=4),g>=2&&(h+=2,g>>>=2),h+g},o.prototype._zeroBits=function(x){if(x===0)return 26;var g=x,h=0;return g&8191||(h+=13,g>>>=13),g&127||(h+=7,g>>>=7),g&15||(h+=4,g>>>=4),g&3||(h+=2,g>>>=2),g&1||h++,h},o.prototype.bitLength=function(){var x=this.words[this.length-1],g=this._countBits(x);return(this.length-1)*26+g};function b(A){for(var x=new Array(A.bitLength()),g=0;g>>m}return x}o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var x=0,g=0;gx.length?this.clone().ior(x):x.clone().ior(this)},o.prototype.uor=function(x){return this.length>x.length?this.clone().iuor(x):x.clone().iuor(this)},o.prototype.iuand=function(x){var g;this.length>x.length?g=x:g=this;for(var h=0;hx.length?this.clone().iand(x):x.clone().iand(this)},o.prototype.uand=function(x){return this.length>x.length?this.clone().iuand(x):x.clone().iuand(this)},o.prototype.iuxor=function(x){var g,h;this.length>x.length?(g=this,h=x):(g=x,h=this);for(var m=0;mx.length?this.clone().ixor(x):x.clone().ixor(this)},o.prototype.uxor=function(x){return this.length>x.length?this.clone().iuxor(x):x.clone().iuxor(this)},o.prototype.inotn=function(x){n(typeof x=="number"&&x>=0);var g=Math.ceil(x/26)|0,h=x%26;this._expand(g),h>0&&g--;for(var m=0;m0&&(this.words[m]=~this.words[m]&67108863>>26-h),this.strip()},o.prototype.notn=function(x){return this.clone().inotn(x)},o.prototype.setn=function(x,g){n(typeof x=="number"&&x>=0);var h=x/26|0,m=x%26;return this._expand(h+1),g?this.words[h]=this.words[h]|1<x.length?(h=this,m=x):(h=x,m=this);for(var S=0,$=0;$>>26;for(;S!==0&&$>>26;if(this.length=h.length,S!==0)this.words[this.length]=S,this.length++;else if(h!==this)for(;$x.length?this.clone().iadd(x):x.clone().iadd(this)},o.prototype.isub=function(x){if(x.negative!==0){x.negative=0;var g=this.iadd(x);return x.negative=1,g._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(x),this.negative=1,this._normSign();var h=this.cmp(x);if(h===0)return this.negative=0,this.length=1,this.words[0]=0,this;var m,S;h>0?(m=this,S=x):(m=x,S=this);for(var $=0,R=0;R>26,this.words[R]=g&67108863;for(;$!==0&&R>26,this.words[R]=g&67108863;if($===0&&R>>26,_=B&67108863,z=Math.min(P,x.length-1),H=Math.max(0,P-A.length+1);H<=z;H++){var L=P-H|0;m=A.words[L]|0,S=x.words[H]|0,$=m*S+_,E+=$/67108864|0,_=$&67108863}g.words[P]=_|0,B=E|0}return B!==0?g.words[P]=B|0:g.length--,g.strip()}var v=function(x,g,h){var m=x.words,S=g.words,$=h.words,R=0,B,P,E,_=m[0]|0,z=_&8191,H=_>>>13,L=m[1]|0,q=L&8191,X=L>>>13,J=m[2]|0,G=J&8191,j=J>>>13,V=m[3]|0,K=V&8191,Z=V>>>13,ee=m[4]|0,Q=ee&8191,ne=ee>>>13,xe=m[5]|0,se=xe&8191,ye=xe>>>13,_e=m[6]|0,we=_e&8191,He=_e>>>13,Ue=m[7]|0,Me=Ue&8191,Ze=Ue>>>13,Je=m[8]|0,Ne=Je&8191,De=Je>>>13,fe=m[9]|0,Ie=fe&8191,ot=fe>>>13,lt=S[0]|0,ge=lt&8191,ze=lt>>>13,le=S[1]|0,me=le&8191,je=le>>>13,We=S[2]|0,Oe=We&8191,Qe=We>>>13,ut=S[3]|0,Ge=ut&8191,te=ut>>>13,re=S[4]|0,ie=re&8191,pe=re>>>13,ke=S[5]|0,Te=ke&8191,$e=ke>>>13,Pe=S[6]|0,ce=Pe&8191,Re=Pe>>>13,qe=S[7]|0,Ce=qe&8191,Xe=qe>>>13,dt=S[8]|0,Ve=dt&8191,ht=dt>>>13,mt=S[9]|0,rt=mt&8191,ae=mt>>>13;h.negative=x.negative^g.negative,h.length=19,B=Math.imul(z,ge),P=Math.imul(z,ze),P=P+Math.imul(H,ge)|0,E=Math.imul(H,ze);var oe=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(oe>>>26)|0,oe&=67108863,B=Math.imul(q,ge),P=Math.imul(q,ze),P=P+Math.imul(X,ge)|0,E=Math.imul(X,ze),B=B+Math.imul(z,me)|0,P=P+Math.imul(z,je)|0,P=P+Math.imul(H,me)|0,E=E+Math.imul(H,je)|0;var ve=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(ve>>>26)|0,ve&=67108863,B=Math.imul(G,ge),P=Math.imul(G,ze),P=P+Math.imul(j,ge)|0,E=Math.imul(j,ze),B=B+Math.imul(q,me)|0,P=P+Math.imul(q,je)|0,P=P+Math.imul(X,me)|0,E=E+Math.imul(X,je)|0,B=B+Math.imul(z,Oe)|0,P=P+Math.imul(z,Qe)|0,P=P+Math.imul(H,Oe)|0,E=E+Math.imul(H,Qe)|0;var Ae=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,B=Math.imul(K,ge),P=Math.imul(K,ze),P=P+Math.imul(Z,ge)|0,E=Math.imul(Z,ze),B=B+Math.imul(G,me)|0,P=P+Math.imul(G,je)|0,P=P+Math.imul(j,me)|0,E=E+Math.imul(j,je)|0,B=B+Math.imul(q,Oe)|0,P=P+Math.imul(q,Qe)|0,P=P+Math.imul(X,Oe)|0,E=E+Math.imul(X,Qe)|0,B=B+Math.imul(z,Ge)|0,P=P+Math.imul(z,te)|0,P=P+Math.imul(H,Ge)|0,E=E+Math.imul(H,te)|0;var Ye=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(Ye>>>26)|0,Ye&=67108863,B=Math.imul(Q,ge),P=Math.imul(Q,ze),P=P+Math.imul(ne,ge)|0,E=Math.imul(ne,ze),B=B+Math.imul(K,me)|0,P=P+Math.imul(K,je)|0,P=P+Math.imul(Z,me)|0,E=E+Math.imul(Z,je)|0,B=B+Math.imul(G,Oe)|0,P=P+Math.imul(G,Qe)|0,P=P+Math.imul(j,Oe)|0,E=E+Math.imul(j,Qe)|0,B=B+Math.imul(q,Ge)|0,P=P+Math.imul(q,te)|0,P=P+Math.imul(X,Ge)|0,E=E+Math.imul(X,te)|0,B=B+Math.imul(z,ie)|0,P=P+Math.imul(z,pe)|0,P=P+Math.imul(H,ie)|0,E=E+Math.imul(H,pe)|0;var Le=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(Le>>>26)|0,Le&=67108863,B=Math.imul(se,ge),P=Math.imul(se,ze),P=P+Math.imul(ye,ge)|0,E=Math.imul(ye,ze),B=B+Math.imul(Q,me)|0,P=P+Math.imul(Q,je)|0,P=P+Math.imul(ne,me)|0,E=E+Math.imul(ne,je)|0,B=B+Math.imul(K,Oe)|0,P=P+Math.imul(K,Qe)|0,P=P+Math.imul(Z,Oe)|0,E=E+Math.imul(Z,Qe)|0,B=B+Math.imul(G,Ge)|0,P=P+Math.imul(G,te)|0,P=P+Math.imul(j,Ge)|0,E=E+Math.imul(j,te)|0,B=B+Math.imul(q,ie)|0,P=P+Math.imul(q,pe)|0,P=P+Math.imul(X,ie)|0,E=E+Math.imul(X,pe)|0,B=B+Math.imul(z,Te)|0,P=P+Math.imul(z,$e)|0,P=P+Math.imul(H,Te)|0,E=E+Math.imul(H,$e)|0;var pt=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(pt>>>26)|0,pt&=67108863,B=Math.imul(we,ge),P=Math.imul(we,ze),P=P+Math.imul(He,ge)|0,E=Math.imul(He,ze),B=B+Math.imul(se,me)|0,P=P+Math.imul(se,je)|0,P=P+Math.imul(ye,me)|0,E=E+Math.imul(ye,je)|0,B=B+Math.imul(Q,Oe)|0,P=P+Math.imul(Q,Qe)|0,P=P+Math.imul(ne,Oe)|0,E=E+Math.imul(ne,Qe)|0,B=B+Math.imul(K,Ge)|0,P=P+Math.imul(K,te)|0,P=P+Math.imul(Z,Ge)|0,E=E+Math.imul(Z,te)|0,B=B+Math.imul(G,ie)|0,P=P+Math.imul(G,pe)|0,P=P+Math.imul(j,ie)|0,E=E+Math.imul(j,pe)|0,B=B+Math.imul(q,Te)|0,P=P+Math.imul(q,$e)|0,P=P+Math.imul(X,Te)|0,E=E+Math.imul(X,$e)|0,B=B+Math.imul(z,ce)|0,P=P+Math.imul(z,Re)|0,P=P+Math.imul(H,ce)|0,E=E+Math.imul(H,Re)|0;var Bt=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,B=Math.imul(Me,ge),P=Math.imul(Me,ze),P=P+Math.imul(Ze,ge)|0,E=Math.imul(Ze,ze),B=B+Math.imul(we,me)|0,P=P+Math.imul(we,je)|0,P=P+Math.imul(He,me)|0,E=E+Math.imul(He,je)|0,B=B+Math.imul(se,Oe)|0,P=P+Math.imul(se,Qe)|0,P=P+Math.imul(ye,Oe)|0,E=E+Math.imul(ye,Qe)|0,B=B+Math.imul(Q,Ge)|0,P=P+Math.imul(Q,te)|0,P=P+Math.imul(ne,Ge)|0,E=E+Math.imul(ne,te)|0,B=B+Math.imul(K,ie)|0,P=P+Math.imul(K,pe)|0,P=P+Math.imul(Z,ie)|0,E=E+Math.imul(Z,pe)|0,B=B+Math.imul(G,Te)|0,P=P+Math.imul(G,$e)|0,P=P+Math.imul(j,Te)|0,E=E+Math.imul(j,$e)|0,B=B+Math.imul(q,ce)|0,P=P+Math.imul(q,Re)|0,P=P+Math.imul(X,ce)|0,E=E+Math.imul(X,Re)|0,B=B+Math.imul(z,Ce)|0,P=P+Math.imul(z,Xe)|0,P=P+Math.imul(H,Ce)|0,E=E+Math.imul(H,Xe)|0;var gt=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(gt>>>26)|0,gt&=67108863,B=Math.imul(Ne,ge),P=Math.imul(Ne,ze),P=P+Math.imul(De,ge)|0,E=Math.imul(De,ze),B=B+Math.imul(Me,me)|0,P=P+Math.imul(Me,je)|0,P=P+Math.imul(Ze,me)|0,E=E+Math.imul(Ze,je)|0,B=B+Math.imul(we,Oe)|0,P=P+Math.imul(we,Qe)|0,P=P+Math.imul(He,Oe)|0,E=E+Math.imul(He,Qe)|0,B=B+Math.imul(se,Ge)|0,P=P+Math.imul(se,te)|0,P=P+Math.imul(ye,Ge)|0,E=E+Math.imul(ye,te)|0,B=B+Math.imul(Q,ie)|0,P=P+Math.imul(Q,pe)|0,P=P+Math.imul(ne,ie)|0,E=E+Math.imul(ne,pe)|0,B=B+Math.imul(K,Te)|0,P=P+Math.imul(K,$e)|0,P=P+Math.imul(Z,Te)|0,E=E+Math.imul(Z,$e)|0,B=B+Math.imul(G,ce)|0,P=P+Math.imul(G,Re)|0,P=P+Math.imul(j,ce)|0,E=E+Math.imul(j,Re)|0,B=B+Math.imul(q,Ce)|0,P=P+Math.imul(q,Xe)|0,P=P+Math.imul(X,Ce)|0,E=E+Math.imul(X,Xe)|0,B=B+Math.imul(z,Ve)|0,P=P+Math.imul(z,ht)|0,P=P+Math.imul(H,Ve)|0,E=E+Math.imul(H,ht)|0;var St=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(St>>>26)|0,St&=67108863,B=Math.imul(Ie,ge),P=Math.imul(Ie,ze),P=P+Math.imul(ot,ge)|0,E=Math.imul(ot,ze),B=B+Math.imul(Ne,me)|0,P=P+Math.imul(Ne,je)|0,P=P+Math.imul(De,me)|0,E=E+Math.imul(De,je)|0,B=B+Math.imul(Me,Oe)|0,P=P+Math.imul(Me,Qe)|0,P=P+Math.imul(Ze,Oe)|0,E=E+Math.imul(Ze,Qe)|0,B=B+Math.imul(we,Ge)|0,P=P+Math.imul(we,te)|0,P=P+Math.imul(He,Ge)|0,E=E+Math.imul(He,te)|0,B=B+Math.imul(se,ie)|0,P=P+Math.imul(se,pe)|0,P=P+Math.imul(ye,ie)|0,E=E+Math.imul(ye,pe)|0,B=B+Math.imul(Q,Te)|0,P=P+Math.imul(Q,$e)|0,P=P+Math.imul(ne,Te)|0,E=E+Math.imul(ne,$e)|0,B=B+Math.imul(K,ce)|0,P=P+Math.imul(K,Re)|0,P=P+Math.imul(Z,ce)|0,E=E+Math.imul(Z,Re)|0,B=B+Math.imul(G,Ce)|0,P=P+Math.imul(G,Xe)|0,P=P+Math.imul(j,Ce)|0,E=E+Math.imul(j,Xe)|0,B=B+Math.imul(q,Ve)|0,P=P+Math.imul(q,ht)|0,P=P+Math.imul(X,Ve)|0,E=E+Math.imul(X,ht)|0,B=B+Math.imul(z,rt)|0,P=P+Math.imul(z,ae)|0,P=P+Math.imul(H,rt)|0,E=E+Math.imul(H,ae)|0;var Ht=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,B=Math.imul(Ie,me),P=Math.imul(Ie,je),P=P+Math.imul(ot,me)|0,E=Math.imul(ot,je),B=B+Math.imul(Ne,Oe)|0,P=P+Math.imul(Ne,Qe)|0,P=P+Math.imul(De,Oe)|0,E=E+Math.imul(De,Qe)|0,B=B+Math.imul(Me,Ge)|0,P=P+Math.imul(Me,te)|0,P=P+Math.imul(Ze,Ge)|0,E=E+Math.imul(Ze,te)|0,B=B+Math.imul(we,ie)|0,P=P+Math.imul(we,pe)|0,P=P+Math.imul(He,ie)|0,E=E+Math.imul(He,pe)|0,B=B+Math.imul(se,Te)|0,P=P+Math.imul(se,$e)|0,P=P+Math.imul(ye,Te)|0,E=E+Math.imul(ye,$e)|0,B=B+Math.imul(Q,ce)|0,P=P+Math.imul(Q,Re)|0,P=P+Math.imul(ne,ce)|0,E=E+Math.imul(ne,Re)|0,B=B+Math.imul(K,Ce)|0,P=P+Math.imul(K,Xe)|0,P=P+Math.imul(Z,Ce)|0,E=E+Math.imul(Z,Xe)|0,B=B+Math.imul(G,Ve)|0,P=P+Math.imul(G,ht)|0,P=P+Math.imul(j,Ve)|0,E=E+Math.imul(j,ht)|0,B=B+Math.imul(q,rt)|0,P=P+Math.imul(q,ae)|0,P=P+Math.imul(X,rt)|0,E=E+Math.imul(X,ae)|0;var Hr=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(Hr>>>26)|0,Hr&=67108863,B=Math.imul(Ie,Oe),P=Math.imul(Ie,Qe),P=P+Math.imul(ot,Oe)|0,E=Math.imul(ot,Qe),B=B+Math.imul(Ne,Ge)|0,P=P+Math.imul(Ne,te)|0,P=P+Math.imul(De,Ge)|0,E=E+Math.imul(De,te)|0,B=B+Math.imul(Me,ie)|0,P=P+Math.imul(Me,pe)|0,P=P+Math.imul(Ze,ie)|0,E=E+Math.imul(Ze,pe)|0,B=B+Math.imul(we,Te)|0,P=P+Math.imul(we,$e)|0,P=P+Math.imul(He,Te)|0,E=E+Math.imul(He,$e)|0,B=B+Math.imul(se,ce)|0,P=P+Math.imul(se,Re)|0,P=P+Math.imul(ye,ce)|0,E=E+Math.imul(ye,Re)|0,B=B+Math.imul(Q,Ce)|0,P=P+Math.imul(Q,Xe)|0,P=P+Math.imul(ne,Ce)|0,E=E+Math.imul(ne,Xe)|0,B=B+Math.imul(K,Ve)|0,P=P+Math.imul(K,ht)|0,P=P+Math.imul(Z,Ve)|0,E=E+Math.imul(Z,ht)|0,B=B+Math.imul(G,rt)|0,P=P+Math.imul(G,ae)|0,P=P+Math.imul(j,rt)|0,E=E+Math.imul(j,ae)|0;var Cn=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(Cn>>>26)|0,Cn&=67108863,B=Math.imul(Ie,Ge),P=Math.imul(Ie,te),P=P+Math.imul(ot,Ge)|0,E=Math.imul(ot,te),B=B+Math.imul(Ne,ie)|0,P=P+Math.imul(Ne,pe)|0,P=P+Math.imul(De,ie)|0,E=E+Math.imul(De,pe)|0,B=B+Math.imul(Me,Te)|0,P=P+Math.imul(Me,$e)|0,P=P+Math.imul(Ze,Te)|0,E=E+Math.imul(Ze,$e)|0,B=B+Math.imul(we,ce)|0,P=P+Math.imul(we,Re)|0,P=P+Math.imul(He,ce)|0,E=E+Math.imul(He,Re)|0,B=B+Math.imul(se,Ce)|0,P=P+Math.imul(se,Xe)|0,P=P+Math.imul(ye,Ce)|0,E=E+Math.imul(ye,Xe)|0,B=B+Math.imul(Q,Ve)|0,P=P+Math.imul(Q,ht)|0,P=P+Math.imul(ne,Ve)|0,E=E+Math.imul(ne,ht)|0,B=B+Math.imul(K,rt)|0,P=P+Math.imul(K,ae)|0,P=P+Math.imul(Z,rt)|0,E=E+Math.imul(Z,ae)|0;var gs=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(gs>>>26)|0,gs&=67108863,B=Math.imul(Ie,ie),P=Math.imul(Ie,pe),P=P+Math.imul(ot,ie)|0,E=Math.imul(ot,pe),B=B+Math.imul(Ne,Te)|0,P=P+Math.imul(Ne,$e)|0,P=P+Math.imul(De,Te)|0,E=E+Math.imul(De,$e)|0,B=B+Math.imul(Me,ce)|0,P=P+Math.imul(Me,Re)|0,P=P+Math.imul(Ze,ce)|0,E=E+Math.imul(Ze,Re)|0,B=B+Math.imul(we,Ce)|0,P=P+Math.imul(we,Xe)|0,P=P+Math.imul(He,Ce)|0,E=E+Math.imul(He,Xe)|0,B=B+Math.imul(se,Ve)|0,P=P+Math.imul(se,ht)|0,P=P+Math.imul(ye,Ve)|0,E=E+Math.imul(ye,ht)|0,B=B+Math.imul(Q,rt)|0,P=P+Math.imul(Q,ae)|0,P=P+Math.imul(ne,rt)|0,E=E+Math.imul(ne,ae)|0;var vs=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(vs>>>26)|0,vs&=67108863,B=Math.imul(Ie,Te),P=Math.imul(Ie,$e),P=P+Math.imul(ot,Te)|0,E=Math.imul(ot,$e),B=B+Math.imul(Ne,ce)|0,P=P+Math.imul(Ne,Re)|0,P=P+Math.imul(De,ce)|0,E=E+Math.imul(De,Re)|0,B=B+Math.imul(Me,Ce)|0,P=P+Math.imul(Me,Xe)|0,P=P+Math.imul(Ze,Ce)|0,E=E+Math.imul(Ze,Xe)|0,B=B+Math.imul(we,Ve)|0,P=P+Math.imul(we,ht)|0,P=P+Math.imul(He,Ve)|0,E=E+Math.imul(He,ht)|0,B=B+Math.imul(se,rt)|0,P=P+Math.imul(se,ae)|0,P=P+Math.imul(ye,rt)|0,E=E+Math.imul(ye,ae)|0;var bs=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(bs>>>26)|0,bs&=67108863,B=Math.imul(Ie,ce),P=Math.imul(Ie,Re),P=P+Math.imul(ot,ce)|0,E=Math.imul(ot,Re),B=B+Math.imul(Ne,Ce)|0,P=P+Math.imul(Ne,Xe)|0,P=P+Math.imul(De,Ce)|0,E=E+Math.imul(De,Xe)|0,B=B+Math.imul(Me,Ve)|0,P=P+Math.imul(Me,ht)|0,P=P+Math.imul(Ze,Ve)|0,E=E+Math.imul(Ze,ht)|0,B=B+Math.imul(we,rt)|0,P=P+Math.imul(we,ae)|0,P=P+Math.imul(He,rt)|0,E=E+Math.imul(He,ae)|0;var ys=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(ys>>>26)|0,ys&=67108863,B=Math.imul(Ie,Ce),P=Math.imul(Ie,Xe),P=P+Math.imul(ot,Ce)|0,E=Math.imul(ot,Xe),B=B+Math.imul(Ne,Ve)|0,P=P+Math.imul(Ne,ht)|0,P=P+Math.imul(De,Ve)|0,E=E+Math.imul(De,ht)|0,B=B+Math.imul(Me,rt)|0,P=P+Math.imul(Me,ae)|0,P=P+Math.imul(Ze,rt)|0,E=E+Math.imul(Ze,ae)|0;var ws=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(ws>>>26)|0,ws&=67108863,B=Math.imul(Ie,Ve),P=Math.imul(Ie,ht),P=P+Math.imul(ot,Ve)|0,E=Math.imul(ot,ht),B=B+Math.imul(Ne,rt)|0,P=P+Math.imul(Ne,ae)|0,P=P+Math.imul(De,rt)|0,E=E+Math.imul(De,ae)|0;var Ss=(R+B|0)+((P&8191)<<13)|0;R=(E+(P>>>13)|0)+(Ss>>>26)|0,Ss&=67108863,B=Math.imul(Ie,rt),P=Math.imul(Ie,ae),P=P+Math.imul(ot,rt)|0,E=Math.imul(ot,ae);var Cs=(R+B|0)+((P&8191)<<13)|0;return R=(E+(P>>>13)|0)+(Cs>>>26)|0,Cs&=67108863,$[0]=oe,$[1]=ve,$[2]=Ae,$[3]=Ye,$[4]=Le,$[5]=pt,$[6]=Bt,$[7]=gt,$[8]=St,$[9]=Ht,$[10]=Hr,$[11]=Cn,$[12]=gs,$[13]=vs,$[14]=bs,$[15]=ys,$[16]=ws,$[17]=Ss,$[18]=Cs,R!==0&&($[19]=R,h.length++),h};Math.imul||(v=p);function w(A,x,g){g.negative=x.negative^A.negative,g.length=A.length+x.length;for(var h=0,m=0,S=0;S>>26)|0,m+=$>>>26,$&=67108863}g.words[S]=R,h=$,$=m}return h!==0?g.words[S]=h:g.length--,g.strip()}function C(A,x,g){var h=new y;return h.mulp(A,x,g)}o.prototype.mulTo=function(x,g){var h,m=this.length+x.length;return this.length===10&&x.length===10?h=v(this,x,g):m<63?h=p(this,x,g):m<1024?h=w(this,x,g):h=C(this,x,g),h};function y(A,x){this.x=A,this.y=x}y.prototype.makeRBT=function(x){for(var g=new Array(x),h=o.prototype._countBits(x)-1,m=0;m>=1;return m},y.prototype.permute=function(x,g,h,m,S,$){for(var R=0;R<$;R++)m[R]=g[x[R]],S[R]=h[x[R]]},y.prototype.transform=function(x,g,h,m,S,$){this.permute($,x,g,h,m,S);for(var R=1;R>>1)S++;return 1<>>13,h[2*$+1]=S&8191,S=S>>>13;for($=2*g;$>=26,g+=m/67108864|0,g+=S>>>26,this.words[h]=S&67108863}return g!==0&&(this.words[h]=g,this.length++),this},o.prototype.muln=function(x){return this.clone().imuln(x)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(x){var g=b(x);if(g.length===0)return new o(1);for(var h=this,m=0;m=0);var g=x%26,h=(x-g)/26,m=67108863>>>26-g<<26-g,S;if(g!==0){var $=0;for(S=0;S>>26-g}$&&(this.words[S]=$,this.length++)}if(h!==0){for(S=this.length-1;S>=0;S--)this.words[S+h]=this.words[S];for(S=0;S=0);var m;g?m=(g-g%26)/26:m=0;var S=x%26,$=Math.min((x-S)/26,this.length),R=67108863^67108863>>>S<$)for(this.length-=$,P=0;P=0&&(E!==0||P>=m);P--){var _=this.words[P]|0;this.words[P]=E<<26-S|_>>>S,E=_&R}return B&&E!==0&&(B.words[B.length++]=E),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(x,g,h){return n(this.negative===0),this.iushrn(x,g,h)},o.prototype.shln=function(x){return this.clone().ishln(x)},o.prototype.ushln=function(x){return this.clone().iushln(x)},o.prototype.shrn=function(x){return this.clone().ishrn(x)},o.prototype.ushrn=function(x){return this.clone().iushrn(x)},o.prototype.testn=function(x){n(typeof x=="number"&&x>=0);var g=x%26,h=(x-g)/26,m=1<=0);var g=x%26,h=(x-g)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=h)return this;if(g!==0&&h++,this.length=Math.min(h,this.length),g!==0){var m=67108863^67108863>>>g<=67108864;g++)this.words[g]-=67108864,g===this.length-1?this.words[g+1]=1:this.words[g+1]++;return this.length=Math.max(this.length,g+1),this},o.prototype.isubn=function(x){if(n(typeof x=="number"),n(x<67108864),x<0)return this.iaddn(-x);if(this.negative!==0)return this.negative=0,this.iaddn(x),this.negative=1,this;if(this.words[0]-=x,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var g=0;g>26)-(B/67108864|0),this.words[S+h]=$&67108863}for(;S>26,this.words[S+h]=$&67108863;if(R===0)return this.strip();for(n(R===-1),R=0,S=0;S>26,this.words[S]=$&67108863;return this.negative=1,this.strip()},o.prototype._wordDiv=function(x,g){var h=this.length-x.length,m=this.clone(),S=x,$=S.words[S.length-1]|0,R=this._countBits($);h=26-R,h!==0&&(S=S.ushln(h),m.iushln(h),$=S.words[S.length-1]|0);var B=m.length-S.length,P;if(g!=="mod"){P=new o(null),P.length=B+1,P.words=new Array(P.length);for(var E=0;E=0;z--){var H=(m.words[S.length+z]|0)*67108864+(m.words[S.length+z-1]|0);for(H=Math.min(H/$|0,67108863),m._ishlnsubmul(S,H,z);m.negative!==0;)H--,m.negative=0,m._ishlnsubmul(S,1,z),m.isZero()||(m.negative^=1);P&&(P.words[z]=H)}return P&&P.strip(),m.strip(),g!=="div"&&h!==0&&m.iushrn(h),{div:P||null,mod:m}},o.prototype.divmod=function(x,g,h){if(n(!x.isZero()),this.isZero())return{div:new o(0),mod:new o(0)};var m,S,$;return this.negative!==0&&x.negative===0?($=this.neg().divmod(x,g),g!=="mod"&&(m=$.div.neg()),g!=="div"&&(S=$.mod.neg(),h&&S.negative!==0&&S.iadd(x)),{div:m,mod:S}):this.negative===0&&x.negative!==0?($=this.divmod(x.neg(),g),g!=="mod"&&(m=$.div.neg()),{div:m,mod:$.mod}):this.negative&x.negative?($=this.neg().divmod(x.neg(),g),g!=="div"&&(S=$.mod.neg(),h&&S.negative!==0&&S.isub(x)),{div:$.div,mod:S}):x.length>this.length||this.cmp(x)<0?{div:new o(0),mod:this}:x.length===1?g==="div"?{div:this.divn(x.words[0]),mod:null}:g==="mod"?{div:null,mod:new o(this.modn(x.words[0]))}:{div:this.divn(x.words[0]),mod:new o(this.modn(x.words[0]))}:this._wordDiv(x,g)},o.prototype.div=function(x){return this.divmod(x,"div",!1).div},o.prototype.mod=function(x){return this.divmod(x,"mod",!1).mod},o.prototype.umod=function(x){return this.divmod(x,"mod",!0).mod},o.prototype.divRound=function(x){var g=this.divmod(x);if(g.mod.isZero())return g.div;var h=g.div.negative!==0?g.mod.isub(x):g.mod,m=x.ushrn(1),S=x.andln(1),$=h.cmp(m);return $<0||S===1&&$===0?g.div:g.div.negative!==0?g.div.isubn(1):g.div.iaddn(1)},o.prototype.modn=function(x){n(x<=67108863);for(var g=(1<<26)%x,h=0,m=this.length-1;m>=0;m--)h=(g*h+(this.words[m]|0))%x;return h},o.prototype.idivn=function(x){n(x<=67108863);for(var g=0,h=this.length-1;h>=0;h--){var m=(this.words[h]|0)+g*67108864;this.words[h]=m/x|0,g=m%x}return this.strip()},o.prototype.divn=function(x){return this.clone().idivn(x)},o.prototype.egcd=function(x){n(x.negative===0),n(!x.isZero());var g=this,h=x.clone();g.negative!==0?g=g.umod(x):g=g.clone();for(var m=new o(1),S=new o(0),$=new o(0),R=new o(1),B=0;g.isEven()&&h.isEven();)g.iushrn(1),h.iushrn(1),++B;for(var P=h.clone(),E=g.clone();!g.isZero();){for(var _=0,z=1;!(g.words[0]&z)&&_<26;++_,z<<=1);if(_>0)for(g.iushrn(_);_-- >0;)(m.isOdd()||S.isOdd())&&(m.iadd(P),S.isub(E)),m.iushrn(1),S.iushrn(1);for(var H=0,L=1;!(h.words[0]&L)&&H<26;++H,L<<=1);if(H>0)for(h.iushrn(H);H-- >0;)($.isOdd()||R.isOdd())&&($.iadd(P),R.isub(E)),$.iushrn(1),R.iushrn(1);g.cmp(h)>=0?(g.isub(h),m.isub($),S.isub(R)):(h.isub(g),$.isub(m),R.isub(S))}return{a:$,b:R,gcd:h.iushln(B)}},o.prototype._invmp=function(x){n(x.negative===0),n(!x.isZero());var g=this,h=x.clone();g.negative!==0?g=g.umod(x):g=g.clone();for(var m=new o(1),S=new o(0),$=h.clone();g.cmpn(1)>0&&h.cmpn(1)>0;){for(var R=0,B=1;!(g.words[0]&B)&&R<26;++R,B<<=1);if(R>0)for(g.iushrn(R);R-- >0;)m.isOdd()&&m.iadd($),m.iushrn(1);for(var P=0,E=1;!(h.words[0]&E)&&P<26;++P,E<<=1);if(P>0)for(h.iushrn(P);P-- >0;)S.isOdd()&&S.iadd($),S.iushrn(1);g.cmp(h)>=0?(g.isub(h),m.isub(S)):(h.isub(g),S.isub(m))}var _;return g.cmpn(1)===0?_=m:_=S,_.cmpn(0)<0&&_.iadd(x),_},o.prototype.gcd=function(x){if(this.isZero())return x.abs();if(x.isZero())return this.abs();var g=this.clone(),h=x.clone();g.negative=0,h.negative=0;for(var m=0;g.isEven()&&h.isEven();m++)g.iushrn(1),h.iushrn(1);do{for(;g.isEven();)g.iushrn(1);for(;h.isEven();)h.iushrn(1);var S=g.cmp(h);if(S<0){var $=g;g=h,h=$}else if(S===0||h.cmpn(1)===0)break;g.isub(h)}while(!0);return h.iushln(m)},o.prototype.invm=function(x){return this.egcd(x).a.umod(x)},o.prototype.isEven=function(){return(this.words[0]&1)===0},o.prototype.isOdd=function(){return(this.words[0]&1)===1},o.prototype.andln=function(x){return this.words[0]&x},o.prototype.bincn=function(x){n(typeof x=="number");var g=x%26,h=(x-g)/26,m=1<>>26,R&=67108863,this.words[$]=R}return S!==0&&(this.words[$]=S,this.length++),this},o.prototype.isZero=function(){return this.length===1&&this.words[0]===0},o.prototype.cmpn=function(x){var g=x<0;if(this.negative!==0&&!g)return-1;if(this.negative===0&&g)return 1;this.strip();var h;if(this.length>1)h=1;else{g&&(x=-x),n(x<=67108863,"Number is too big");var m=this.words[0]|0;h=m===x?0:mx.length)return 1;if(this.length=0;h--){var m=this.words[h]|0,S=x.words[h]|0;if(m!==S){mS&&(g=1);break}}return g},o.prototype.gtn=function(x){return this.cmpn(x)===1},o.prototype.gt=function(x){return this.cmp(x)===1},o.prototype.gten=function(x){return this.cmpn(x)>=0},o.prototype.gte=function(x){return this.cmp(x)>=0},o.prototype.ltn=function(x){return this.cmpn(x)===-1},o.prototype.lt=function(x){return this.cmp(x)===-1},o.prototype.lten=function(x){return this.cmpn(x)<=0},o.prototype.lte=function(x){return this.cmp(x)<=0},o.prototype.eqn=function(x){return this.cmpn(x)===0},o.prototype.eq=function(x){return this.cmp(x)===0},o.red=function(x){return new F(x)},o.prototype.toRed=function(x){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),x.convertTo(this)._forceRed(x)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(x){return this.red=x,this},o.prototype.forceRed=function(x){return n(!this.red,"Already a number in reduction context"),this._forceRed(x)},o.prototype.redAdd=function(x){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,x)},o.prototype.redIAdd=function(x){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,x)},o.prototype.redSub=function(x){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,x)},o.prototype.redISub=function(x){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,x)},o.prototype.redShl=function(x){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,x)},o.prototype.redMul=function(x){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.mul(this,x)},o.prototype.redIMul=function(x){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.imul(this,x)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(x){return n(this.red&&!x.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,x)};var M={k256:null,p224:null,p192:null,p25519:null};function I(A,x){this.name=A,this.p=new o(x,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}I.prototype._tmp=function(){var x=new o(null);return x.words=new Array(Math.ceil(this.n/13)),x},I.prototype.ireduce=function(x){var g=x,h;do this.split(g,this.tmp),g=this.imulK(g),g=g.iadd(this.tmp),h=g.bitLength();while(h>this.n);var m=h0?g.isub(this.p):g.strip!==void 0?g.strip():g._strip(),g},I.prototype.split=function(x,g){x.iushrn(this.n,0,g)},I.prototype.imulK=function(x){return x.imul(this.k)};function N(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(N,I),N.prototype.split=function(x,g){for(var h=4194303,m=Math.min(x.length,9),S=0;S>>22,$=R}$>>>=22,x.words[S-10]=$,$===0&&x.length>10?x.length-=10:x.length-=9},N.prototype.imulK=function(x){x.words[x.length]=0,x.words[x.length+1]=0,x.length+=2;for(var g=0,h=0;h>>=26,x.words[h]=S,g=m}return g!==0&&(x.words[x.length++]=g),x},o._prime=function(x){if(M[x])return M[x];var g;if(x==="k256")g=new N;else if(x==="p224")g=new O;else if(x==="p192")g=new D;else if(x==="p25519")g=new T;else throw new Error("Unknown prime "+x);return M[x]=g,g};function F(A){if(typeof A=="string"){var x=o._prime(A);this.m=x.p,this.prime=x}else n(A.gtn(1),"modulus must be greater than 1"),this.m=A,this.prime=null}F.prototype._verify1=function(x){n(x.negative===0,"red works only with positives"),n(x.red,"red works only with red numbers")},F.prototype._verify2=function(x,g){n((x.negative|g.negative)===0,"red works only with positives"),n(x.red&&x.red===g.red,"red works only with red numbers")},F.prototype.imod=function(x){return this.prime?this.prime.ireduce(x)._forceRed(this):x.umod(this.m)._forceRed(this)},F.prototype.neg=function(x){return x.isZero()?x.clone():this.m.sub(x)._forceRed(this)},F.prototype.add=function(x,g){this._verify2(x,g);var h=x.add(g);return h.cmp(this.m)>=0&&h.isub(this.m),h._forceRed(this)},F.prototype.iadd=function(x,g){this._verify2(x,g);var h=x.iadd(g);return h.cmp(this.m)>=0&&h.isub(this.m),h},F.prototype.sub=function(x,g){this._verify2(x,g);var h=x.sub(g);return h.cmpn(0)<0&&h.iadd(this.m),h._forceRed(this)},F.prototype.isub=function(x,g){this._verify2(x,g);var h=x.isub(g);return h.cmpn(0)<0&&h.iadd(this.m),h},F.prototype.shl=function(x,g){return this._verify1(x),this.imod(x.ushln(g))},F.prototype.imul=function(x,g){return this._verify2(x,g),this.imod(x.imul(g))},F.prototype.mul=function(x,g){return this._verify2(x,g),this.imod(x.mul(g))},F.prototype.isqr=function(x){return this.imul(x,x.clone())},F.prototype.sqr=function(x){return this.mul(x,x)},F.prototype.sqrt=function(x){if(x.isZero())return x.clone();var g=this.m.andln(3);if(n(g%2===1),g===3){var h=this.m.add(new o(1)).iushrn(2);return this.pow(x,h)}for(var m=this.m.subn(1),S=0;!m.isZero()&&m.andln(1)===0;)S++,m.iushrn(1);n(!m.isZero());var $=new o(1).toRed(this),R=$.redNeg(),B=this.m.subn(1).iushrn(1),P=this.m.bitLength();for(P=new o(2*P*P).toRed(this);this.pow(P,B).cmp(R)!==0;)P.redIAdd(R);for(var E=this.pow(P,m),_=this.pow(x,m.addn(1).iushrn(1)),z=this.pow(x,m),H=S;z.cmp($)!==0;){for(var L=z,q=0;L.cmp($)!==0;q++)L=L.redSqr();n(q=0;S--){for(var E=g.words[S],_=P-1;_>=0;_--){var z=E>>_&1;if($!==m[0]&&($=this.sqr($)),z===0&&R===0){B=0;continue}R<<=1,R|=z,B++,!(B!==h&&(S!==0||_!==0))&&($=this.mul($,m[R]),B=0,R=0)}P=26}return $},F.prototype.convertTo=function(x){var g=x.umod(this.m);return g===x?g.clone():g},F.prototype.convertFrom=function(x){var g=x.clone();return g.red=null,g},o.mont=function(x){return new k(x)};function k(A){F.call(this,A),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}i(k,F),k.prototype.convertTo=function(x){return this.imod(x.ushln(this.shift))},k.prototype.convertFrom=function(x){var g=this.imod(x.mul(this.rinv));return g.red=null,g},k.prototype.imul=function(x,g){if(x.isZero()||g.isZero())return x.words[0]=0,x.length=1,x;var h=x.imul(g),m=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=h.isub(m).iushrn(this.shift),$=S;return S.cmp(this.m)>=0?$=S.isub(this.m):S.cmpn(0)<0&&($=S.iadd(this.m)),$._forceRed(this)},k.prototype.mul=function(x,g){if(x.isZero()||g.isZero())return new o(0)._forceRed(this);var h=x.mul(g),m=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=h.isub(m).iushrn(this.shift),$=S;return S.cmp(this.m)>=0?$=S.isub(this.m):S.cmpn(0)<0&&($=S.iadd(this.m)),$._forceRed(this)},k.prototype.invm=function(x){var g=this.imod(x._invmp(this.m).mul(this.r2));return g._forceRed(this)}})(e,st)})(j4);var wa=j4.exports,gl=SP;function SP(e,t){if(!e)throw new Error(t||"Assertion failed")}SP.equal=function(t,r,n){if(t!=r)throw new Error(n||"Assertion failed: "+t+" != "+r)};var U4={};(function(e){var t=e;function r(o,a){if(Array.isArray(o))return o.slice();if(!o)return[];var s=[];if(typeof o!="string"){for(var l=0;l>8,f=c&255;u?s.push(u,f):s.push(f)}return s}t.toArray=r;function n(o){return o.length===1?"0"+o:o}t.zero2=n;function i(o){for(var a="",s=0;s(v>>1)-1?C=(v>>1)-y:C=y,w.isubn(C)):C=0,b[p]=C,w.iushrn(1)}return b}t.getNAF=o;function a(u,f){var d=[[],[]];u=u.clone(),f=f.clone();for(var b=0,p=0,v;u.cmpn(-b)>0||f.cmpn(-p)>0;){var w=u.andln(3)+b&3,C=f.andln(3)+p&3;w===3&&(w=-1),C===3&&(C=-1);var y;w&1?(v=u.andln(7)+b&7,(v===3||v===5)&&C===2?y=-w:y=w):y=0,d[0].push(y);var M;C&1?(v=f.andln(7)+p&7,(v===3||v===5)&&w===2?M=-C:M=C):M=0,d[1].push(M),2*b===y+1&&(b=1-b),2*p===M+1&&(p=1-p),u.iushrn(1),f.iushrn(1)}return d}t.getJSF=a;function s(u,f,d){var b="_"+f;u.prototype[f]=function(){return this[b]!==void 0?this[b]:this[b]=d.call(this)}}t.cachedProperty=s;function l(u){return typeof u=="string"?t.toArray(u,"hex"):u}t.parseBytes=l;function c(u){return new r(u,"hex","le")}t.intFromLE=c})(ci);var H4={exports:{}},Jm;H4.exports=function(t){return Jm||(Jm=new ja(null)),Jm.generate(t)};function ja(e){this.rand=e}H4.exports.Rand=ja;ja.prototype.generate=function(t){return this._rand(t)};ja.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var r=new Uint8Array(t),n=0;n0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var j1=hs;hs.prototype.point=function(){throw new Error("Not implemented")};hs.prototype.validate=function(){throw new Error("Not implemented")};hs.prototype._fixedNafMul=function(t,r){ap(t.precomputed);var n=t._getDoubles(),i=op(r,1,this._bitLength),o=(1<=s;c--)l=(l<<1)+i[c];a.push(l)}for(var u=this.jpoint(null,null,null),f=this.jpoint(null,null,null),d=o;d>0;d--){for(s=0;s=0;l--){for(var c=0;l>=0&&a[l]===0;l--)c++;if(l>=0&&c++,s=s.dblp(c),l<0)break;var u=a[l];ap(u!==0),t.type==="affine"?u>0?s=s.mixedAdd(o[u-1>>1]):s=s.mixedAdd(o[-u-1>>1].neg()):u>0?s=s.add(o[u-1>>1]):s=s.add(o[-u-1>>1].neg())}return t.type==="affine"?s.toP():s};hs.prototype._wnafMulAdd=function(t,r,n,i,o){var a=this._wnafT1,s=this._wnafT2,l=this._wnafT3,c=0,u,f,d;for(u=0;u=1;u-=2){var p=u-1,v=u;if(a[p]!==1||a[v]!==1){l[p]=op(n[p],a[p],this._bitLength),l[v]=op(n[v],a[v],this._bitLength),c=Math.max(l[p].length,c),c=Math.max(l[v].length,c);continue}var w=[r[p],null,null,r[v]];r[p].y.cmp(r[v].y)===0?(w[1]=r[p].add(r[v]),w[2]=r[p].toJ().mixedAdd(r[v].neg())):r[p].y.cmp(r[v].y.redNeg())===0?(w[1]=r[p].toJ().mixedAdd(r[v]),w[2]=r[p].add(r[v].neg())):(w[1]=r[p].toJ().mixedAdd(r[v]),w[2]=r[p].toJ().mixedAdd(r[v].neg()));var C=[-3,-1,-5,-7,0,7,5,1,3],y=Aee(n[p],n[v]);for(c=Math.max(y[0].length,c),l[p]=new Array(c),l[v]=new Array(c),f=0;f=0;u--){for(var D=0;u>=0;){var T=!0;for(f=0;f=0&&D++,N=N.dblp(D),u<0)break;for(f=0;f0?d=s[f][F-1>>1]:F<0&&(d=s[f][-F-1>>1].neg()),d.type==="affine"?N=N.mixedAdd(d):N=N.add(d))}}for(u=0;u=Math.ceil((t.bitLength()+1)/r.step):!1};zi.prototype._getDoubles=function(t,r){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],i=this,o=0;o=0&&(b=c,p=u),f.negative&&(f=f.neg(),d=d.neg()),b.negative&&(b=b.neg(),p=p.neg()),[{a:f,b:d},{a:b,b:p}]};ji.prototype._endoSplit=function(t){var r=this.endo.basis,n=r[0],i=r[1],o=i.b.mul(t).divRound(this.n),a=n.b.neg().mul(t).divRound(this.n),s=o.mul(n.a),l=a.mul(i.a),c=o.mul(n.b),u=a.mul(i.b),f=t.sub(s).sub(l),d=c.add(u).neg();return{k1:f,k2:d}};ji.prototype.pointFromX=function(t,r){t=new dr(t,16),t.red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),i=n.redSqrt();if(i.redSqr().redSub(n).cmp(this.zero)!==0)throw new Error("invalid point");var o=i.fromRed().isOdd();return(r&&!o||!r&&o)&&(i=i.redNeg()),this.point(t,i)};ji.prototype.validate=function(t){if(t.inf)return!0;var r=t.x,n=t.y,i=this.a.redMul(r),o=r.redSqr().redMul(r).redIAdd(i).redIAdd(this.b);return n.redSqr().redISub(o).cmpn(0)===0};ji.prototype._endoWnafMulAdd=function(t,r,n){for(var i=this._endoWnafT1,o=this._endoWnafT2,a=0;a":""};jr.prototype.isInfinity=function(){return this.inf};jr.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(this.x.cmp(t.x)===0)return this.curve.point(null,null);var r=this.y.redSub(t.y);r.cmpn(0)!==0&&(r=r.redMul(this.x.redSub(t.x).redInvm()));var n=r.redSqr().redISub(this.x).redISub(t.x),i=r.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,i)};jr.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(t.cmpn(0)===0)return this.curve.point(null,null);var r=this.curve.a,n=this.x.redSqr(),i=t.redInvm(),o=n.redAdd(n).redIAdd(n).redIAdd(r).redMul(i),a=o.redSqr().redISub(this.x.redAdd(this.x)),s=o.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,s)};jr.prototype.getX=function(){return this.x.fromRed()};jr.prototype.getY=function(){return this.y.fromRed()};jr.prototype.mul=function(t){return t=new dr(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)};jr.prototype.mulAdd=function(t,r,n){var i=[this,r],o=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,o):this.curve._wnafMulAdd(1,i,o,2)};jr.prototype.jmulAdd=function(t,r,n){var i=[this,r],o=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,o,!0):this.curve._wnafMulAdd(1,i,o,2,!0)};jr.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||this.x.cmp(t.x)===0&&this.y.cmp(t.y)===0)};jr.prototype.neg=function(t){if(this.inf)return this;var r=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,i=function(o){return o.neg()};r.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(i)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(i)}}}return r};jr.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var t=this.curve.jpoint(this.x,this.y,this.curve.one);return t};function Qr(e,t,r,n){nu.BasePoint.call(this,e,"jacobian"),t===null&&r===null&&n===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new dr(0)):(this.x=new dr(t,16),this.y=new dr(r,16),this.z=new dr(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}q4(Qr,nu.BasePoint);ji.prototype.jpoint=function(t,r,n){return new Qr(this,t,r,n)};Qr.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),r=t.redSqr(),n=this.x.redMul(r),i=this.y.redMul(r).redMul(t);return this.curve.point(n,i)};Qr.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};Qr.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var r=t.z.redSqr(),n=this.z.redSqr(),i=this.x.redMul(r),o=t.x.redMul(n),a=this.y.redMul(r.redMul(t.z)),s=t.y.redMul(n.redMul(this.z)),l=i.redSub(o),c=a.redSub(s);if(l.cmpn(0)===0)return c.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var u=l.redSqr(),f=u.redMul(l),d=i.redMul(u),b=c.redSqr().redIAdd(f).redISub(d).redISub(d),p=c.redMul(d.redISub(b)).redISub(a.redMul(f)),v=this.z.redMul(t.z).redMul(l);return this.curve.jpoint(b,p,v)};Qr.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var r=this.z.redSqr(),n=this.x,i=t.x.redMul(r),o=this.y,a=t.y.redMul(r).redMul(this.z),s=n.redSub(i),l=o.redSub(a);if(s.cmpn(0)===0)return l.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),u=c.redMul(s),f=n.redMul(c),d=l.redSqr().redIAdd(u).redISub(f).redISub(f),b=l.redMul(f.redISub(d)).redISub(o.redMul(u)),p=this.z.redMul(s);return this.curve.jpoint(d,b,p)};Qr.prototype.dblp=function(t){if(t===0)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var r;if(this.curve.zeroA||this.curve.threeA){var n=this;for(r=0;r=0)return!1;if(n.redIAdd(o),this.x.cmp(n)===0)return!0}};Qr.prototype.inspect=function(){return this.isInfinity()?"":""};Qr.prototype.isInfinity=function(){return this.z.cmpn(0)===0};var tc=wa,EP=U1,H1=j1,Tee=ci;function iu(e){H1.call(this,"mont",e),this.a=new tc(e.a,16).toRed(this.red),this.b=new tc(e.b,16).toRed(this.red),this.i4=new tc(4).toRed(this.red).redInvm(),this.two=new tc(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}EP(iu,H1);var $ee=iu;iu.prototype.validate=function(t){var r=t.normalize().x,n=r.redSqr(),i=n.redMul(r).redAdd(n.redMul(this.a)).redAdd(r),o=i.redSqrt();return o.redSqr().cmp(i)===0};function Lr(e,t,r){H1.BasePoint.call(this,e,"projective"),t===null&&r===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new tc(t,16),this.z=new tc(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}EP(Lr,H1.BasePoint);iu.prototype.decodePoint=function(t,r){return this.point(Tee.toArray(t,r),1)};iu.prototype.point=function(t,r){return new Lr(this,t,r)};iu.prototype.pointFromJSON=function(t){return Lr.fromJSON(this,t)};Lr.prototype.precompute=function(){};Lr.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())};Lr.fromJSON=function(t,r){return new Lr(t,r[0],r[1]||t.one)};Lr.prototype.inspect=function(){return this.isInfinity()?"":""};Lr.prototype.isInfinity=function(){return this.z.cmpn(0)===0};Lr.prototype.dbl=function(){var t=this.x.redAdd(this.z),r=t.redSqr(),n=this.x.redSub(this.z),i=n.redSqr(),o=r.redSub(i),a=r.redMul(i),s=o.redMul(i.redAdd(this.curve.a24.redMul(o)));return this.curve.point(a,s)};Lr.prototype.add=function(){throw new Error("Not supported on Montgomery curve")};Lr.prototype.diffAdd=function(t,r){var n=this.x.redAdd(this.z),i=this.x.redSub(this.z),o=t.x.redAdd(t.z),a=t.x.redSub(t.z),s=a.redMul(n),l=o.redMul(i),c=r.z.redMul(s.redAdd(l).redSqr()),u=r.x.redMul(s.redISub(l).redSqr());return this.curve.point(c,u)};Lr.prototype.mul=function(t){for(var r=t.clone(),n=this,i=this.curve.point(null,null),o=this,a=[];r.cmpn(0)!==0;r.iushrn(1))a.push(r.andln(1));for(var s=a.length-1;s>=0;s--)a[s]===0?(n=n.diffAdd(i,o),i=i.dbl()):(i=n.diffAdd(i,o),n=n.dbl());return i};Lr.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")};Lr.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")};Lr.prototype.eq=function(t){return this.getX().cmp(t.getX())===0};Lr.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this};Lr.prototype.getX=function(){return this.normalize(),this.x.fromRed()};var Bee=ci,ea=wa,MP=U1,W1=j1,Iee=Bee.assert;function Do(e){this.twisted=(e.a|0)!==1,this.mOneA=this.twisted&&(e.a|0)===-1,this.extended=this.mOneA,W1.call(this,"edwards",e),this.a=new ea(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new ea(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new ea(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),Iee(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(e.c|0)===1}MP(Do,W1);var Oee=Do;Do.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)};Do.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)};Do.prototype.jpoint=function(t,r,n,i){return this.point(t,r,n,i)};Do.prototype.pointFromX=function(t,r){t=new ea(t,16),t.red||(t=t.toRed(this.red));var n=t.redSqr(),i=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),a=i.redMul(o.redInvm()),s=a.redSqrt();if(s.redSqr().redSub(a).cmp(this.zero)!==0)throw new Error("invalid point");var l=s.fromRed().isOdd();return(r&&!l||!r&&l)&&(s=s.redNeg()),this.point(t,s)};Do.prototype.pointFromY=function(t,r){t=new ea(t,16),t.red||(t=t.toRed(this.red));var n=t.redSqr(),i=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),a=i.redMul(o.redInvm());if(a.cmp(this.zero)===0){if(r)throw new Error("invalid point");return this.point(this.zero,t)}var s=a.redSqrt();if(s.redSqr().redSub(a).cmp(this.zero)!==0)throw new Error("invalid point");return s.fromRed().isOdd()!==r&&(s=s.redNeg()),this.point(s,t)};Do.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var r=t.x.redSqr(),n=t.y.redSqr(),i=r.redMul(this.a).redAdd(n),o=this.c2.redMul(this.one.redAdd(this.d.redMul(r).redMul(n)));return i.cmp(o)===0};function Vt(e,t,r,n,i){W1.BasePoint.call(this,e,"projective"),t===null&&r===null&&n===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new ea(t,16),this.y=new ea(r,16),this.z=n?new ea(n,16):this.curve.one,this.t=i&&new ea(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}MP(Vt,W1.BasePoint);Do.prototype.pointFromJSON=function(t){return Vt.fromJSON(this,t)};Do.prototype.point=function(t,r,n,i){return new Vt(this,t,r,n,i)};Vt.fromJSON=function(t,r){return new Vt(t,r[0],r[1],r[2])};Vt.prototype.inspect=function(){return this.isInfinity()?"":""};Vt.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)};Vt.prototype._extDbl=function(){var t=this.x.redSqr(),r=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var i=this.curve._mulA(t),o=this.x.redAdd(this.y).redSqr().redISub(t).redISub(r),a=i.redAdd(r),s=a.redSub(n),l=i.redSub(r),c=o.redMul(s),u=a.redMul(l),f=o.redMul(l),d=s.redMul(a);return this.curve.point(c,u,d,f)};Vt.prototype._projDbl=function(){var t=this.x.redAdd(this.y).redSqr(),r=this.x.redSqr(),n=this.y.redSqr(),i,o,a,s,l,c;if(this.curve.twisted){s=this.curve._mulA(r);var u=s.redAdd(n);this.zOne?(i=t.redSub(r).redSub(n).redMul(u.redSub(this.curve.two)),o=u.redMul(s.redSub(n)),a=u.redSqr().redSub(u).redSub(u)):(l=this.z.redSqr(),c=u.redSub(l).redISub(l),i=t.redSub(r).redISub(n).redMul(c),o=u.redMul(s.redSub(n)),a=u.redMul(c))}else s=r.redAdd(n),l=this.curve._mulC(this.z).redSqr(),c=s.redSub(l).redSub(l),i=this.curve._mulC(t.redISub(s)).redMul(c),o=this.curve._mulC(s).redMul(r.redISub(n)),a=s.redMul(c);return this.curve.point(i,o,a)};Vt.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()};Vt.prototype._extAdd=function(t){var r=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),n=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),i=this.t.redMul(this.curve.dd).redMul(t.t),o=this.z.redMul(t.z.redAdd(t.z)),a=n.redSub(r),s=o.redSub(i),l=o.redAdd(i),c=n.redAdd(r),u=a.redMul(s),f=l.redMul(c),d=a.redMul(c),b=s.redMul(l);return this.curve.point(u,f,b,d)};Vt.prototype._projAdd=function(t){var r=this.z.redMul(t.z),n=r.redSqr(),i=this.x.redMul(t.x),o=this.y.redMul(t.y),a=this.curve.d.redMul(i).redMul(o),s=n.redSub(a),l=n.redAdd(a),c=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(i).redISub(o),u=r.redMul(s).redMul(c),f,d;return this.curve.twisted?(f=r.redMul(l).redMul(o.redSub(this.curve._mulA(i))),d=s.redMul(l)):(f=r.redMul(l).redMul(o.redSub(i)),d=this.curve._mulC(s).redMul(l)),this.curve.point(u,f,d)};Vt.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)};Vt.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)};Vt.prototype.mulAdd=function(t,r,n){return this.curve._wnafMulAdd(1,[this,r],[t,n],2,!1)};Vt.prototype.jmulAdd=function(t,r,n){return this.curve._wnafMulAdd(1,[this,r],[t,n],2,!0)};Vt.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this};Vt.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())};Vt.prototype.getX=function(){return this.normalize(),this.x.fromRed()};Vt.prototype.getY=function(){return this.normalize(),this.y.fromRed()};Vt.prototype.eq=function(t){return this===t||this.getX().cmp(t.getX())===0&&this.getY().cmp(t.getY())===0};Vt.prototype.eqXToP=function(t){var r=t.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(r)===0)return!0;for(var n=t.clone(),i=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),this.x.cmp(r)===0)return!0}};Vt.prototype.toP=Vt.prototype.normalize;Vt.prototype.mixedAdd=Vt.prototype.add;(function(e){var t=e;t.base=j1,t.short=Ree,t.mont=$ee,t.edwards=Oee})(W4);var q1={},U0={},kt={},Fee=gl,Dee=U1;kt.inherits=Dee;function Lee(e,t){return(e.charCodeAt(t)&64512)!==55296||t<0||t+1>=e.length?!1:(e.charCodeAt(t+1)&64512)===56320}function Nee(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if(typeof e=="string")if(t){if(t==="hex")for(e=e.replace(/[^a-z0-9]+/ig,""),e.length%2!==0&&(e="0"+e),i=0;i>6|192,r[n++]=o&63|128):Lee(e,i)?(o=65536+((o&1023)<<10)+(e.charCodeAt(++i)&1023),r[n++]=o>>18|240,r[n++]=o>>12&63|128,r[n++]=o>>6&63|128,r[n++]=o&63|128):(r[n++]=o>>12|224,r[n++]=o>>6&63|128,r[n++]=o&63|128)}else for(i=0;i>>24|e>>>8&65280|e<<8&16711680|(e&255)<<24;return t>>>0}kt.htonl=PP;function jee(e,t){for(var r="",n=0;n>>0}return o}kt.join32=Uee;function Hee(e,t){for(var r=new Array(e.length*4),n=0,i=0;n>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=o&255):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=o&255)}return r}kt.split32=Hee;function Wee(e,t){return e>>>t|e<<32-t}kt.rotr32=Wee;function qee(e,t){return e<>>32-t}kt.rotl32=qee;function Vee(e,t){return e+t>>>0}kt.sum32=Vee;function Kee(e,t,r){return e+t+r>>>0}kt.sum32_3=Kee;function Gee(e,t,r,n){return e+t+r+n>>>0}kt.sum32_4=Gee;function Yee(e,t,r,n,i){return e+t+r+n+i>>>0}kt.sum32_5=Yee;function Xee(e,t,r,n){var i=e[t],o=e[t+1],a=n+o>>>0,s=(a>>0,e[t+1]=a}kt.sum64=Xee;function Jee(e,t,r,n){var i=t+n>>>0,o=(i>>0}kt.sum64_hi=Jee;function Zee(e,t,r,n){var i=t+n;return i>>>0}kt.sum64_lo=Zee;function Qee(e,t,r,n,i,o,a,s){var l=0,c=t;c=c+n>>>0,l+=c>>0,l+=c>>0,l+=c>>0}kt.sum64_4_hi=Qee;function ete(e,t,r,n,i,o,a,s){var l=t+n+o+s;return l>>>0}kt.sum64_4_lo=ete;function tte(e,t,r,n,i,o,a,s,l,c){var u=0,f=t;f=f+n>>>0,u+=f>>0,u+=f>>0,u+=f>>0,u+=f>>0}kt.sum64_5_hi=tte;function rte(e,t,r,n,i,o,a,s,l,c){var u=t+n+o+s+c;return u>>>0}kt.sum64_5_lo=rte;function nte(e,t,r){var n=t<<32-r|e>>>r;return n>>>0}kt.rotr64_hi=nte;function ite(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}kt.rotr64_lo=ite;function ote(e,t,r){return e>>>r}kt.shr64_hi=ote;function ate(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}kt.shr64_lo=ate;var ou={},p7=kt,ste=gl;function V1(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}ou.BlockHash=V1;V1.prototype.update=function(t,r){if(t=p7.toArray(t,r),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){t=this.pending;var n=t.length%this._delta8;this.pending=t.slice(t.length-n,t.length),this.pending.length===0&&(this.pending=null),t=p7.join32(t,0,t.length-n,this.endian);for(var i=0;i>>24&255,i[o++]=t>>>16&255,i[o++]=t>>>8&255,i[o++]=t&255}else for(i[o++]=t&255,i[o++]=t>>>8&255,i[o++]=t>>>16&255,i[o++]=t>>>24&255,i[o++]=0,i[o++]=0,i[o++]=0,i[o++]=0,a=8;a>>3}Lo.g0_256=dte;function hte(e){return Ao(e,17)^Ao(e,19)^e>>>10}Lo.g1_256=hte;var Lc=kt,pte=ou,xte=Lo,Zm=Lc.rotl32,Fu=Lc.sum32,mte=Lc.sum32_5,gte=xte.ft_1,$P=pte.BlockHash,vte=[1518500249,1859775393,2400959708,3395469782];function $o(){if(!(this instanceof $o))return new $o;$P.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}Lc.inherits($o,$P);var bte=$o;$o.blockSize=512;$o.outSize=160;$o.hmacStrength=80;$o.padLength=64;$o.prototype._update=function(t,r){for(var n=this.W,i=0;i<16;i++)n[i]=t[r+i];for(;ithis.blockSize&&(t=new this.Hash().update(t).digest()),are(t.length<=this.blockSize);for(var r=t.length;r=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}var ure=rs;rs.prototype._init=function(t,r,n){var i=t.concat(r).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var o=0;o=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1};rs.prototype.generate=function(t,r,n,i){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof r!="string"&&(i=n,n=r,r=null),n&&(n=Gs.toArray(n,i||"hex"),this._update(n));for(var o=[];o.length"};var sp=wa,V4=ci,pre=V4.assert;function K1(e,t){if(e instanceof K1)return e;this._importDER(e,t)||(pre(e.r&&e.s,"Signature without r or s"),this.r=new sp(e.r,16),this.s=new sp(e.s,16),e.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var xre=K1;function mre(){this.place=0}function rg(e,t){var r=e[t.place++];if(!(r&128))return r;var n=r&15;if(n===0||n>4)return!1;for(var i=0,o=0,a=t.place;o>>=0;return i<=127?!1:(t.place=a,i)}function b7(e){for(var t=0,r=e.length-1;!e[t]&&!(e[t+1]&128)&&t>>3);for(e.push(r|128);--r;)e.push(t>>>(r<<3)&255);e.push(t)}K1.prototype.toDER=function(t){var r=this.r.toArray(),n=this.s.toArray();for(r[0]&128&&(r=[0].concat(r)),n[0]&128&&(n=[0].concat(n)),r=b7(r),n=b7(n);!n[0]&&!(n[1]&128);)n=n.slice(1);var i=[2];ng(i,r.length),i=i.concat(r),i.push(2),ng(i,n.length);var o=i.concat(n),a=[48];return ng(a,o.length),a=a.concat(o),V4.encode(a,t)};var Ys=wa,WP=ure,gre=ci,ig=q1,vre=CP,qP=gre.assert,K4=hre,G1=xre;function Oi(e){if(!(this instanceof Oi))return new Oi(e);typeof e=="string"&&(qP(Object.prototype.hasOwnProperty.call(ig,e),"Unknown curve "+e),e=ig[e]),e instanceof ig.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var bre=Oi;Oi.prototype.keyPair=function(t){return new K4(this,t)};Oi.prototype.keyFromPrivate=function(t,r){return K4.fromPrivate(this,t,r)};Oi.prototype.keyFromPublic=function(t,r){return K4.fromPublic(this,t,r)};Oi.prototype.genKeyPair=function(t){t||(t={});for(var r=new WP({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||vre(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),i=this.n.sub(new Ys(2));;){var o=new Ys(r.generate(n));if(!(o.cmp(i)>0))return o.iaddn(1),this.keyFromPrivate(o)}};Oi.prototype._truncateToN=function(t,r){var n=t.byteLength()*8-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!r&&t.cmp(this.n)>=0?t.sub(this.n):t};Oi.prototype.sign=function(t,r,n,i){typeof n=="object"&&(i=n,n=null),i||(i={}),r=this.keyFromPrivate(r,n),t=this._truncateToN(new Ys(t,16));for(var o=this.n.byteLength(),a=r.getPrivate().toArray("be",o),s=t.toArray("be",o),l=new WP({hash:this.hash,entropy:a,nonce:s,pers:i.pers,persEnc:i.persEnc||"utf8"}),c=this.n.sub(new Ys(1)),u=0;;u++){var f=i.k?i.k(u):new Ys(l.generate(this.n.byteLength()));if(f=this._truncateToN(f,!0),!(f.cmpn(1)<=0||f.cmp(c)>=0)){var d=this.g.mul(f);if(!d.isInfinity()){var b=d.getX(),p=b.umod(this.n);if(p.cmpn(0)!==0){var v=f.invm(this.n).mul(p.mul(r.getPrivate()).iadd(t));if(v=v.umod(this.n),v.cmpn(0)!==0){var w=(d.getY().isOdd()?1:0)|(b.cmp(p)!==0?2:0);return i.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),w^=1),new G1({r:p,s:v,recoveryParam:w})}}}}}};Oi.prototype.verify=function(t,r,n,i){t=this._truncateToN(new Ys(t,16)),n=this.keyFromPublic(n,i),r=new G1(r,"hex");var o=r.r,a=r.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0||a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s=a.invm(this.n),l=s.mul(t).umod(this.n),c=s.mul(o).umod(this.n),u;return this.curve._maxwellTrick?(u=this.g.jmulAdd(l,n.getPublic(),c),u.isInfinity()?!1:u.eqXToP(o)):(u=this.g.mulAdd(l,n.getPublic(),c),u.isInfinity()?!1:u.getX().umod(this.n).cmp(o)===0)};Oi.prototype.recoverPubKey=function(e,t,r,n){qP((3&r)===r,"The recovery param is more than two bits"),t=new G1(t,n);var i=this.n,o=new Ys(e),a=t.r,s=t.s,l=r&1,c=r>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");c?a=this.curve.pointFromX(a.add(this.curve.n),l):a=this.curve.pointFromX(a,l);var u=t.r.invm(i),f=i.sub(o).mul(u).umod(i),d=s.mul(u).umod(i);return this.g.mulAdd(f,a,d)};Oi.prototype.getKeyRecoveryParam=function(e,t,r,n){if(t=new G1(t,n),t.recoveryParam!==null)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch{continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")};var H0=ci,VP=H0.assert,y7=H0.parseBytes,lu=H0.cachedProperty;function Dr(e,t){this.eddsa=e,this._secret=y7(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=y7(t.pub)}Dr.fromPublic=function(t,r){return r instanceof Dr?r:new Dr(t,{pub:r})};Dr.fromSecret=function(t,r){return r instanceof Dr?r:new Dr(t,{secret:r})};Dr.prototype.secret=function(){return this._secret};lu(Dr,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())});lu(Dr,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())});lu(Dr,"privBytes",function(){var t=this.eddsa,r=this.hash(),n=t.encodingLength-1,i=r.slice(0,t.encodingLength);return i[0]&=248,i[n]&=127,i[n]|=64,i});lu(Dr,"priv",function(){return this.eddsa.decodeInt(this.privBytes())});lu(Dr,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()});lu(Dr,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)});Dr.prototype.sign=function(t){return VP(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)};Dr.prototype.verify=function(t,r){return this.eddsa.verify(t,r,this)};Dr.prototype.getSecret=function(t){return VP(this._secret,"KeyPair is public only"),H0.encode(this.secret(),t)};Dr.prototype.getPublic=function(t){return H0.encode(this.pubBytes(),t)};var yre=Dr,wre=wa,Y1=ci,Sre=Y1.assert,X1=Y1.cachedProperty,Cre=Y1.parseBytes;function vl(e,t){this.eddsa=e,typeof t!="object"&&(t=Cre(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),Sre(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof wre&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}X1(vl,"S",function(){return this.eddsa.decodeInt(this.Sencoded())});X1(vl,"R",function(){return this.eddsa.decodePoint(this.Rencoded())});X1(vl,"Rencoded",function(){return this.eddsa.encodePoint(this.R())});X1(vl,"Sencoded",function(){return this.eddsa.encodeInt(this.S())});vl.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())};vl.prototype.toHex=function(){return Y1.encode(this.toBytes(),"hex").toUpperCase()};var Ere=vl,Mre=U0,Pre=q1,jc=ci,Are=jc.assert,KP=jc.parseBytes,GP=yre,w7=Ere;function jn(e){if(Are(e==="ed25519","only tested with ed25519 so far"),!(this instanceof jn))return new jn(e);e=Pre[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=Mre.sha512}var kre=jn;jn.prototype.sign=function(t,r){t=KP(t);var n=this.keyFromSecret(r),i=this.hashInt(n.messagePrefix(),t),o=this.g.mul(i),a=this.encodePoint(o),s=this.hashInt(a,n.pubBytes(),t).mul(n.priv()),l=i.add(s).umod(this.curve.n);return this.makeSignature({R:o,S:l,Rencoded:a})};jn.prototype.verify=function(t,r,n){t=KP(t),r=this.makeSignature(r);var i=this.keyFromPublic(n),o=this.hashInt(r.Rencoded(),i.pubBytes(),t),a=this.g.mul(r.S()),s=r.R().add(i.pub().mul(o));return s.eq(a)};jn.prototype.hashInt=function(){for(var t=this.hash(),r=0;r>5,this.byteCount=this.blockCount<<2,this.outputBlocks=K>>5,this.extraBytes=(K&31)>>3;for(var Z=0;Z<50;++Z)this.s[Z]=0}X.prototype.update=function(j){if(this.finalized)throw new Error(r);var V=O(j);j=V[0];for(var K=V[1],Z=this.blocks,ee=this.byteCount,Q=j.length,ne=this.blockCount,xe=0,se=this.s,ye,_e;xe>2]|=_e<>2]|=(192|_e>>6)<>2]|=(128|_e&63)<=57344?(Z[ye>>2]|=(224|_e>>12)<>2]|=(128|_e>>6&63)<>2]|=(128|_e&63)<>2]|=(240|_e>>18)<>2]|=(128|_e>>12&63)<>2]|=(128|_e>>6&63)<>2]|=(128|_e&63)<>2]|=j[xe]<=ee){for(this.start=ye-ee,this.block=Z[ne],ye=0;ye>8,K=j&255;K>0;)ee.unshift(K),j=j>>8,K=j&255,++Z;return V?ee.push(Z):ee.unshift(Z),this.update(ee),ee.length},X.prototype.encodeString=function(j){var V=O(j);j=V[0];var K=V[1],Z=0,ee=j.length;if(K)for(var Q=0;Q=57344?Z+=3:(ne=65536+((ne&1023)<<10|j.charCodeAt(++Q)&1023),Z+=4)}else Z=ee;return Z+=this.encode(Z*8),this.update(j),Z},X.prototype.bytepad=function(j,V){for(var K=this.encode(V),Z=0;Z>2]|=this.padding[V&3],this.lastByteIndex===this.byteCount)for(j[0]=j[K],V=1;V>4&15]+c[xe&15]+c[xe>>12&15]+c[xe>>8&15]+c[xe>>20&15]+c[xe>>16&15]+c[xe>>28&15]+c[xe>>24&15];Q%j===0&&(V=T(V),G(V),ee=0)}return Z&&(xe=V[ee],ne+=c[xe>>4&15]+c[xe&15],Z>1&&(ne+=c[xe>>12&15]+c[xe>>8&15]),Z>2&&(ne+=c[xe>>20&15]+c[xe>>16&15])),ne},X.prototype.arrayBuffer=function(){this.finalize();var j=this.blockCount,V=this.s,K=this.outputBlocks,Z=this.extraBytes,ee=0,Q=0,ne=this.outputBits>>3,xe;Z?xe=new ArrayBuffer(K+1<<2):xe=new ArrayBuffer(ne);for(var se=new Uint32Array(xe);Q>8&255,ne[xe+2]=se>>16&255,ne[xe+3]=se>>24&255;Q%j===0&&(V=T(V),G(V))}return Z&&(xe=Q<<2,se=V[ee],ne[xe]=se&255,Z>1&&(ne[xe+1]=se>>8&255),Z>2&&(ne[xe+2]=se>>16&255)),ne};function J(j,V,K){X.call(this,j,V,K)}J.prototype=new X,J.prototype.finalize=function(){return this.encode(this.outputBits,!0),X.prototype.finalize.call(this)};var G=function(j){var V,K,Z,ee,Q,ne,xe,se,ye,_e,we,He,Ue,Me,Ze,Je,Ne,De,fe,Ie,ot,lt,ge,ze,le,me,je,We,Oe,Qe,ut,Ge,te,re,ie,pe,ke,Te,$e,Pe,ce,Re,qe,Ce,Xe,dt,Ve,ht,mt,rt,ae,oe,ve,Ae,Ye,Le,pt,Bt,gt,St,Ht,Hr,Cn;for(Z=0;Z<48;Z+=2)ee=j[0]^j[10]^j[20]^j[30]^j[40],Q=j[1]^j[11]^j[21]^j[31]^j[41],ne=j[2]^j[12]^j[22]^j[32]^j[42],xe=j[3]^j[13]^j[23]^j[33]^j[43],se=j[4]^j[14]^j[24]^j[34]^j[44],ye=j[5]^j[15]^j[25]^j[35]^j[45],_e=j[6]^j[16]^j[26]^j[36]^j[46],we=j[7]^j[17]^j[27]^j[37]^j[47],He=j[8]^j[18]^j[28]^j[38]^j[48],Ue=j[9]^j[19]^j[29]^j[39]^j[49],V=He^(ne<<1|xe>>>31),K=Ue^(xe<<1|ne>>>31),j[0]^=V,j[1]^=K,j[10]^=V,j[11]^=K,j[20]^=V,j[21]^=K,j[30]^=V,j[31]^=K,j[40]^=V,j[41]^=K,V=ee^(se<<1|ye>>>31),K=Q^(ye<<1|se>>>31),j[2]^=V,j[3]^=K,j[12]^=V,j[13]^=K,j[22]^=V,j[23]^=K,j[32]^=V,j[33]^=K,j[42]^=V,j[43]^=K,V=ne^(_e<<1|we>>>31),K=xe^(we<<1|_e>>>31),j[4]^=V,j[5]^=K,j[14]^=V,j[15]^=K,j[24]^=V,j[25]^=K,j[34]^=V,j[35]^=K,j[44]^=V,j[45]^=K,V=se^(He<<1|Ue>>>31),K=ye^(Ue<<1|He>>>31),j[6]^=V,j[7]^=K,j[16]^=V,j[17]^=K,j[26]^=V,j[27]^=K,j[36]^=V,j[37]^=K,j[46]^=V,j[47]^=K,V=_e^(ee<<1|Q>>>31),K=we^(Q<<1|ee>>>31),j[8]^=V,j[9]^=K,j[18]^=V,j[19]^=K,j[28]^=V,j[29]^=K,j[38]^=V,j[39]^=K,j[48]^=V,j[49]^=K,Me=j[0],Ze=j[1],dt=j[11]<<4|j[10]>>>28,Ve=j[10]<<4|j[11]>>>28,We=j[20]<<3|j[21]>>>29,Oe=j[21]<<3|j[20]>>>29,St=j[31]<<9|j[30]>>>23,Ht=j[30]<<9|j[31]>>>23,Re=j[40]<<18|j[41]>>>14,qe=j[41]<<18|j[40]>>>14,re=j[2]<<1|j[3]>>>31,ie=j[3]<<1|j[2]>>>31,Je=j[13]<<12|j[12]>>>20,Ne=j[12]<<12|j[13]>>>20,ht=j[22]<<10|j[23]>>>22,mt=j[23]<<10|j[22]>>>22,Qe=j[33]<<13|j[32]>>>19,ut=j[32]<<13|j[33]>>>19,Hr=j[42]<<2|j[43]>>>30,Cn=j[43]<<2|j[42]>>>30,Ae=j[5]<<30|j[4]>>>2,Ye=j[4]<<30|j[5]>>>2,pe=j[14]<<6|j[15]>>>26,ke=j[15]<<6|j[14]>>>26,De=j[25]<<11|j[24]>>>21,fe=j[24]<<11|j[25]>>>21,rt=j[34]<<15|j[35]>>>17,ae=j[35]<<15|j[34]>>>17,Ge=j[45]<<29|j[44]>>>3,te=j[44]<<29|j[45]>>>3,ze=j[6]<<28|j[7]>>>4,le=j[7]<<28|j[6]>>>4,Le=j[17]<<23|j[16]>>>9,pt=j[16]<<23|j[17]>>>9,Te=j[26]<<25|j[27]>>>7,$e=j[27]<<25|j[26]>>>7,Ie=j[36]<<21|j[37]>>>11,ot=j[37]<<21|j[36]>>>11,oe=j[47]<<24|j[46]>>>8,ve=j[46]<<24|j[47]>>>8,Ce=j[8]<<27|j[9]>>>5,Xe=j[9]<<27|j[8]>>>5,me=j[18]<<20|j[19]>>>12,je=j[19]<<20|j[18]>>>12,Bt=j[29]<<7|j[28]>>>25,gt=j[28]<<7|j[29]>>>25,Pe=j[38]<<8|j[39]>>>24,ce=j[39]<<8|j[38]>>>24,lt=j[48]<<14|j[49]>>>18,ge=j[49]<<14|j[48]>>>18,j[0]=Me^~Je&De,j[1]=Ze^~Ne&fe,j[10]=ze^~me&We,j[11]=le^~je&Oe,j[20]=re^~pe&Te,j[21]=ie^~ke&$e,j[30]=Ce^~dt&ht,j[31]=Xe^~Ve&mt,j[40]=Ae^~Le&Bt,j[41]=Ye^~pt>,j[2]=Je^~De&Ie,j[3]=Ne^~fe&ot,j[12]=me^~We&Qe,j[13]=je^~Oe&ut,j[22]=pe^~Te&Pe,j[23]=ke^~$e&ce,j[32]=dt^~ht&rt,j[33]=Ve^~mt&ae,j[42]=Le^~Bt&St,j[43]=pt^~gt&Ht,j[4]=De^~Ie<,j[5]=fe^~ot&ge,j[14]=We^~Qe&Ge,j[15]=Oe^~ut&te,j[24]=Te^~Pe&Re,j[25]=$e^~ce&qe,j[34]=ht^~rt&oe,j[35]=mt^~ae&ve,j[44]=Bt^~St&Hr,j[45]=gt^~Ht&Cn,j[6]=Ie^~lt&Me,j[7]=ot^~ge&Ze,j[16]=Qe^~Ge&ze,j[17]=ut^~te&le,j[26]=Pe^~Re&re,j[27]=ce^~qe&ie,j[36]=rt^~oe&Ce,j[37]=ae^~ve&Xe,j[46]=St^~Hr&Ae,j[47]=Ht^~Cn&Ye,j[8]=lt^~Me&Je,j[9]=ge^~Ze&Ne,j[18]=Ge^~ze&me,j[19]=te^~le&je,j[28]=Re^~re&pe,j[29]=qe^~ie&ke,j[38]=oe^~Ce&dt,j[39]=ve^~Xe&Ve,j[48]=Hr^~Ae&Le,j[49]=Cn^~Ye&pt,j[0]^=v[Z],j[1]^=v[Z+1]};if(s)e.exports=B;else for(E=0;E0?S(j,V,K):K<0?$(j,V,K):w(j,V,a,0))}function H(G,j,V,K){var Z=0,ee=V.length,Q=0,ne=0;V[0]==="-"&&Z++;for(var xe=Z;Z=0))break;ne=ne*K+se,Q=Q*K+Math.floor(ne/l),ne%=l}xe&&(Q=~Q,ne?ne=l-ne:Q++),X(G,j+k,Q),X(G,j+A,ne)}function L(){var G=this.buffer,j=this.offset,V=J(G,j+k),K=J(G,j+A);return F||(V|=0),V?V*l+K:K}function q(G){var j=this.buffer,V=this.offset,K=J(j,V+k),Z=J(j,V+A),ee="",Q=!F&&K&2147483648;for(Q&&(K=~K,Z=l-Z),G=G||10;;){var ne=K%G*l+Z;if(K=Math.floor(K/G),Z=Math.floor(ne/G),ee=(ne%G).toString(G)+ee,!K&&!Z)break}return Q&&(ee="-"+ee),ee}function X(G,j,V){G[j+m]=V&255,V=V>>8,G[j+h]=V&255,V=V>>8,G[j+g]=V&255,V=V>>8,G[j+x]=V&255}function J(G,j){return G[j+x]*c+(G[j+g]<<16)+(G[j+h]<<8)+G[j+m]}}function d(D){var T=this.buffer,F=this.offset;return u=null,D!==!1&&s(T)?T.length===8?T:T.slice(F,F+8):C(T,F)}function b(D){var T=this.buffer,F=this.offset;return u=n,D!==!1&&n.isBuffer(T)?T.length===8?T:T.slice(F,F+8):n.from(p.call(this,D))}function p(D){var T=this.buffer,F=this.offset,k=T.buffer;if(u=i,D!==!1&&!T.offset&&k instanceof o)return k.byteLength===8?k:k.slice(F,F+8);var A=new i(8);return w(A,0,T,F),A.buffer}function v(D,T){var F=D&&D.length;return T|=0,F&&T+8<=F&&typeof D[T]!="string"}function w(D,T,F,k){T|=0,k|=0;for(var A=0;A<8;A++)D[T++]=F[k++]&255}function C(D,T){return Array.prototype.slice.call(D,T,T+8)}function y(D,T,F){for(var k=T+8;k>T;)D[--k]=F&255,F/=256}function M(D,T,F){var k=T+8;for(F++;k>T;)D[--k]=-F&255^255,F/=256}function I(D,T,F){for(var k=T+8;T"u")throw new Error(t)}function Uc(e,t){if(!e)try{throw new Error(t)}catch{}}function Qre(){return Math.random().toString(36).substr(2,8)}function E7(e,t){return{usr:e.state,key:e.key,idx:t}}function u0(e,t,r,n){return r===void 0&&(r=null),fr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Sa(t):t,{state:r,key:t&&t.key||n||Qre()})}function ll(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Sa(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function ene(e,t,r,n){n===void 0&&(n={});let{window:i=document.defaultView,v5Compat:o=!1}=n,a=i.history,s=pr.Pop,l=null,c=u();c==null&&(c=0,a.replaceState(fr({},a.state,{idx:c}),""));function u(){return(a.state||{idx:null}).idx}function f(){s=pr.Pop;let w=u(),C=w==null?null:w-c;c=w,l&&l({action:s,location:v.location,delta:C})}function d(w,C){s=pr.Push;let y=u0(v.location,w,C);r&&r(y,w),c=u()+1;let M=E7(y,c),I=v.createHref(y);try{a.pushState(M,"",I)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;i.location.assign(I)}o&&l&&l({action:s,location:v.location,delta:1})}function b(w,C){s=pr.Replace;let y=u0(v.location,w,C);r&&r(y,w),c=u();let M=E7(y,c),I=v.createHref(y);a.replaceState(M,"",I),o&&l&&l({action:s,location:v.location,delta:0})}function p(w){let C=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof w=="string"?w:ll(w);return y=y.replace(/ $/,"%20"),Mt(C,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,C)}let v={get action(){return s},get location(){return e(i,a)},listen(w){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(C7,f),l=w,()=>{i.removeEventListener(C7,f),l=null}},createHref(w){return t(i,w)},createURL:p,encodeLocation(w){let C=p(w);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:d,replace:b,go(w){return a.go(w)}};return v}var cr;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(cr||(cr={}));const tne=new Set(["lazy","caseSensitive","path","id","index","children"]);function rne(e){return e.index===!0}function S2(e,t,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),e.map((i,o)=>{let a=[...r,o],s=typeof i.id=="string"?i.id:a.join("-");if(Mt(i.index!==!0||!i.children,"Cannot specify children on an index route"),Mt(!n[s],'Found a route id collision on id "'+s+`". Route id's must be globally unique within Data Router usages`),rne(i)){let l=fr({},i,t(i),{id:s});return n[s]=l,l}else{let l=fr({},i,t(i),{id:s,children:void 0});return n[s]=l,i.children&&(l.children=S2(i.children,t,a,n)),l}})}function rc(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?Sa(t):t,i=cu(n.pathname||"/",r);if(i==null)return null;let o=XP(e);ine(o);let a=null;for(let s=0;a==null&&s{let l={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:a,route:o};l.relativePath.startsWith("/")&&(Mt(l.relativePath.startsWith(n),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(n.length));let c=ia([n,l.relativePath]),u=r.concat(l);o.children&&o.children.length>0&&(Mt(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),XP(o.children,t,u,c)),!(o.path==null&&!o.index)&&t.push({path:c,score:fne(c,o.index),routesMeta:u})};return e.forEach((o,a)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))i(o,a);else for(let l of JP(o.path))i(o,a,l)}),t}function JP(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,i=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return i?[o,""]:[o];let a=JP(n.join("/")),s=[];return s.push(...a.map(l=>l===""?o:[o,l].join("/"))),i&&s.push(...a),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function ine(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:dne(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const one=/^:[\w-]+$/,ane=3,sne=2,lne=1,cne=10,une=-2,M7=e=>e==="*";function fne(e,t){let r=e.split("/"),n=r.length;return r.some(M7)&&(n+=une),t&&(n+=sne),r.filter(i=>!M7(i)).reduce((i,o)=>i+(one.test(o)?ane:o===""?lne:cne),n)}function dne(e,t){return e.length===t.length&&e.slice(0,-1).every((n,i)=>n===t[i])?e[e.length-1]-t[t.length-1]:0}function hne(e,t){let{routesMeta:r}=e,n={},i="/",o=[];for(let a=0;a{let{paramName:d,isOptional:b}=u;if(d==="*"){let v=s[f]||"";a=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const p=s[f];return b&&!p?c[d]=void 0:c[d]=(p||"").replace(/%2F/g,"/"),c},{}),pathname:o,pathnameBase:a,pattern:e}}function xne(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Uc(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,s,l)=>(n.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}function mne(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Uc(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function cu(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function gne(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:i=""}=typeof e=="string"?Sa(e):e;return{pathname:r?r.startsWith("/")?r:vne(r,t):t,search:yne(n),hash:wne(i)}}function vne(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function ag(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function ZP(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function J1(e,t){let r=ZP(e);return t?r.map((n,i)=>i===e.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function Z1(e,t,r,n){n===void 0&&(n=!1);let i;typeof e=="string"?i=Sa(e):(i=fr({},e),Mt(!i.pathname||!i.pathname.includes("?"),ag("?","pathname","search",i)),Mt(!i.pathname||!i.pathname.includes("#"),ag("#","pathname","hash",i)),Mt(!i.search||!i.search.includes("#"),ag("#","search","hash",i)));let o=e===""||i.pathname==="",a=o?"/":i.pathname,s;if(a==null)s=r;else{let f=t.length-1;if(!n&&a.startsWith("..")){let d=a.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}s=f>=0?t[f]:"/"}let l=gne(i,s),c=a&&a!=="/"&&a.endsWith("/"),u=(o||a===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const ia=e=>e.join("/").replace(/\/\/+/g,"/"),bne=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),yne=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,wne=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Q4{constructor(t,r,n,i){i===void 0&&(i=!1),this.status=t,this.statusText=r||"",this.internal=i,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function QP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const eA=["post","put","patch","delete"],Sne=new Set(eA),Cne=["get",...eA],Ene=new Set(Cne),Mne=new Set([301,302,303,307,308]),Pne=new Set([307,308]),sg={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ane={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Lu={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},tA=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,kne=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),rA="remix-router-transitions";function _ne(e){const t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",n=!r;Mt(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let te=e.detectErrorBoundary;i=re=>({hasErrorBoundary:te(re)})}else i=kne;let o={},a=S2(e.routes,i,void 0,o),s,l=e.basename||"/",c=fr({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},e.future),u=null,f=new Set,d=null,b=null,p=null,v=e.hydrationData!=null,w=rc(a,e.history.location,l),C=null;if(w==null){let te=mi(404,{pathname:e.history.location.pathname}),{matches:re,route:ie}=B7(a);w=re,C={[ie.id]:te}}let y,M=w.some(te=>te.route.lazy),I=w.some(te=>te.route.loader);if(M)y=!1;else if(!I)y=!0;else if(c.v7_partialHydration){let te=e.hydrationData?e.hydrationData.loaderData:null,re=e.hydrationData?e.hydrationData.errors:null,ie=pe=>pe.route.loader?pe.route.loader.hydrate===!0?!1:te&&te[pe.route.id]!==void 0||re&&re[pe.route.id]!==void 0:!0;if(re){let pe=w.findIndex(ke=>re[ke.route.id]!==void 0);y=w.slice(0,pe+1).every(ie)}else y=w.every(ie)}else y=e.hydrationData!=null;let N,O={historyAction:e.history.action,location:e.history.location,matches:w,initialized:y,navigation:sg,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||C,fetchers:new Map,blockers:new Map},D=pr.Pop,T=!1,F,k=!1,A=new Map,x=null,g=!1,h=!1,m=[],S=[],$=new Map,R=0,B=-1,P=new Map,E=new Set,_=new Map,z=new Map,H=new Set,L=new Map,q=new Map,X=!1;function J(){if(u=e.history.listen(te=>{let{action:re,location:ie,delta:pe}=te;if(X){X=!1;return}Uc(q.size===0||pe!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let ke=me({currentLocation:O.location,nextLocation:ie,historyAction:re});if(ke&&pe!=null){X=!0,e.history.go(pe*-1),le(ke,{state:"blocked",location:ie,proceed(){le(ke,{state:"proceeding",proceed:void 0,reset:void 0,location:ie}),e.history.go(pe)},reset(){let Te=new Map(O.blockers);Te.set(ke,Lu),V({blockers:Te})}});return}return Q(re,ie)}),r){zne(t,A);let te=()=>jne(t,A);t.addEventListener("pagehide",te),x=()=>t.removeEventListener("pagehide",te)}return O.initialized||Q(pr.Pop,O.location,{initialHydration:!0}),N}function G(){u&&u(),x&&x(),f.clear(),F&&F.abort(),O.fetchers.forEach((te,re)=>Ne(re)),O.blockers.forEach((te,re)=>ze(re))}function j(te){return f.add(te),()=>f.delete(te)}function V(te,re){re===void 0&&(re={}),O=fr({},O,te);let ie=[],pe=[];c.v7_fetcherPersist&&O.fetchers.forEach((ke,Te)=>{ke.state==="idle"&&(H.has(Te)?pe.push(Te):ie.push(Te))}),[...f].forEach(ke=>ke(O,{deletedFetchers:pe,unstable_viewTransitionOpts:re.viewTransitionOpts,unstable_flushSync:re.flushSync===!0})),c.v7_fetcherPersist&&(ie.forEach(ke=>O.fetchers.delete(ke)),pe.forEach(ke=>Ne(ke)))}function K(te,re,ie){var pe,ke;let{flushSync:Te}=ie===void 0?{}:ie,$e=O.actionData!=null&&O.navigation.formMethod!=null&&Qi(O.navigation.formMethod)&&O.navigation.state==="loading"&&((pe=te.state)==null?void 0:pe._isRedirect)!==!0,Pe;re.actionData?Object.keys(re.actionData).length>0?Pe=re.actionData:Pe=null:$e?Pe=O.actionData:Pe=null;let ce=re.loaderData?$7(O.loaderData,re.loaderData,re.matches||[],re.errors):O.loaderData,Re=O.blockers;Re.size>0&&(Re=new Map(Re),Re.forEach((Xe,dt)=>Re.set(dt,Lu)));let qe=T===!0||O.navigation.formMethod!=null&&Qi(O.navigation.formMethod)&&((ke=te.state)==null?void 0:ke._isRedirect)!==!0;s&&(a=s,s=void 0),g||D===pr.Pop||(D===pr.Push?e.history.push(te,te.state):D===pr.Replace&&e.history.replace(te,te.state));let Ce;if(D===pr.Pop){let Xe=A.get(O.location.pathname);Xe&&Xe.has(te.pathname)?Ce={currentLocation:O.location,nextLocation:te}:A.has(te.pathname)&&(Ce={currentLocation:te,nextLocation:O.location})}else if(k){let Xe=A.get(O.location.pathname);Xe?Xe.add(te.pathname):(Xe=new Set([te.pathname]),A.set(O.location.pathname,Xe)),Ce={currentLocation:O.location,nextLocation:te}}V(fr({},re,{actionData:Pe,loaderData:ce,historyAction:D,location:te,initialized:!0,navigation:sg,revalidation:"idle",restoreScrollPosition:ut(te,re.matches||O.matches),preventScrollReset:qe,blockers:Re}),{viewTransitionOpts:Ce,flushSync:Te===!0}),D=pr.Pop,T=!1,k=!1,g=!1,h=!1,m=[],S=[]}async function Z(te,re){if(typeof te=="number"){e.history.go(te);return}let ie=C2(O.location,O.matches,l,c.v7_prependBasename,te,c.v7_relativeSplatPath,re==null?void 0:re.fromRouteId,re==null?void 0:re.relative),{path:pe,submission:ke,error:Te}=P7(c.v7_normalizeFormMethod,!1,ie,re),$e=O.location,Pe=u0(O.location,pe,re&&re.state);Pe=fr({},Pe,e.history.encodeLocation(Pe));let ce=re&&re.replace!=null?re.replace:void 0,Re=pr.Push;ce===!0?Re=pr.Replace:ce===!1||ke!=null&&Qi(ke.formMethod)&&ke.formAction===O.location.pathname+O.location.search&&(Re=pr.Replace);let qe=re&&"preventScrollReset"in re?re.preventScrollReset===!0:void 0,Ce=(re&&re.unstable_flushSync)===!0,Xe=me({currentLocation:$e,nextLocation:Pe,historyAction:Re});if(Xe){le(Xe,{state:"blocked",location:Pe,proceed(){le(Xe,{state:"proceeding",proceed:void 0,reset:void 0,location:Pe}),Z(te,re)},reset(){let dt=new Map(O.blockers);dt.set(Xe,Lu),V({blockers:dt})}});return}return await Q(Re,Pe,{submission:ke,pendingError:Te,preventScrollReset:qe,replace:re&&re.replace,enableViewTransition:re&&re.unstable_viewTransition,flushSync:Ce})}function ee(){if(Ue(),V({revalidation:"loading"}),O.navigation.state!=="submitting"){if(O.navigation.state==="idle"){Q(O.historyAction,O.location,{startUninterruptedRevalidation:!0});return}Q(D||O.historyAction,O.navigation.location,{overrideNavigation:O.navigation})}}async function Q(te,re,ie){F&&F.abort(),F=null,D=te,g=(ie&&ie.startUninterruptedRevalidation)===!0,Qe(O.location,O.matches),T=(ie&&ie.preventScrollReset)===!0,k=(ie&&ie.enableViewTransition)===!0;let pe=s||a,ke=ie&&ie.overrideNavigation,Te=rc(pe,re,l),$e=(ie&&ie.flushSync)===!0;if(!Te){let dt=mi(404,{pathname:re.pathname}),{matches:Ve,route:ht}=B7(pe);je(),K(re,{matches:Ve,loaderData:{},errors:{[ht.id]:dt}},{flushSync:$e});return}if(O.initialized&&!h&&Ine(O.location,re)&&!(ie&&ie.submission&&Qi(ie.submission.formMethod))){K(re,{matches:Te},{flushSync:$e});return}F=new AbortController;let Pe=zu(e.history,re,F.signal,ie&&ie.submission),ce,Re;if(ie&&ie.pendingError)Re={[kf(Te).route.id]:ie.pendingError};else if(ie&&ie.submission&&Qi(ie.submission.formMethod)){let dt=await ne(Pe,re,ie.submission,Te,{replace:ie.replace,flushSync:$e});if(dt.shortCircuited)return;ce=dt.pendingActionData,Re=dt.pendingActionError,ke=lg(re,ie.submission),$e=!1,Pe=new Request(Pe.url,{signal:Pe.signal})}let{shortCircuited:qe,loaderData:Ce,errors:Xe}=await xe(Pe,re,Te,ke,ie&&ie.submission,ie&&ie.fetcherSubmission,ie&&ie.replace,ie&&ie.initialHydration===!0,$e,ce,Re);qe||(F=null,K(re,fr({matches:Te},ce?{actionData:ce}:{},{loaderData:Ce,errors:Xe})))}async function ne(te,re,ie,pe,ke){ke===void 0&&(ke={}),Ue();let Te=Lne(re,ie);V({navigation:Te},{flushSync:ke.flushSync===!0});let $e,Pe=M2(pe,re);if(!Pe.route.action&&!Pe.route.lazy)$e={type:cr.error,error:mi(405,{method:te.method,pathname:re.pathname,routeId:Pe.route.id})};else if($e=await Nu("action",te,Pe,pe,o,i,l,c.v7_relativeSplatPath),te.signal.aborted)return{shortCircuited:!0};if(js($e)){let ce;return ke&&ke.replace!=null?ce=ke.replace:ce=$e.location===O.location.pathname+O.location.search,await we(O,$e,{submission:ie,replace:ce}),{shortCircuited:!0}}if(nc($e)){let ce=kf(pe,Pe.route.id);return(ke&&ke.replace)!==!0&&(D=pr.Push),{pendingActionData:{},pendingActionError:{[ce.route.id]:$e.error}}}if(zs($e))throw mi(400,{type:"defer-action"});return{pendingActionData:{[Pe.route.id]:$e.data}}}async function xe(te,re,ie,pe,ke,Te,$e,Pe,ce,Re,qe){let Ce=pe||lg(re,ke),Xe=ke||Te||F7(Ce),dt=s||a,[Ve,ht]=A7(e.history,O,ie,Xe,re,c.v7_partialHydration&&Pe===!0,h,m,S,H,_,E,dt,l,Re,qe);if(je(gt=>!(ie&&ie.some(St=>St.route.id===gt))||Ve&&Ve.some(St=>St.route.id===gt)),B=++R,Ve.length===0&&ht.length===0){let gt=ot();return K(re,fr({matches:ie,loaderData:{},errors:qe||null},Re?{actionData:Re}:{},gt?{fetchers:new Map(O.fetchers)}:{}),{flushSync:ce}),{shortCircuited:!0}}if(!g&&(!c.v7_partialHydration||!Pe)){ht.forEach(St=>{let Ht=O.fetchers.get(St.key),Hr=ju(void 0,Ht?Ht.data:void 0);O.fetchers.set(St.key,Hr)});let gt=Re||O.actionData;V(fr({navigation:Ce},gt?Object.keys(gt).length===0?{actionData:null}:{actionData:gt}:{},ht.length>0?{fetchers:new Map(O.fetchers)}:{}),{flushSync:ce})}ht.forEach(gt=>{$.has(gt.key)&&fe(gt.key),gt.controller&&$.set(gt.key,gt.controller)});let mt=()=>ht.forEach(gt=>fe(gt.key));F&&F.signal.addEventListener("abort",mt);let{results:rt,loaderResults:ae,fetcherResults:oe}=await He(O.matches,ie,Ve,ht,te);if(te.signal.aborted)return{shortCircuited:!0};F&&F.signal.removeEventListener("abort",mt),ht.forEach(gt=>$.delete(gt.key));let ve=I7(rt);if(ve){if(ve.idx>=Ve.length){let gt=ht[ve.idx-Ve.length].key;E.add(gt)}return await we(O,ve.result,{replace:$e}),{shortCircuited:!0}}let{loaderData:Ae,errors:Ye}=T7(O,ie,Ve,ae,qe,ht,oe,L);L.forEach((gt,St)=>{gt.subscribe(Ht=>{(Ht||gt.done)&&L.delete(St)})}),c.v7_partialHydration&&Pe&&O.errors&&Object.entries(O.errors).filter(gt=>{let[St]=gt;return!Ve.some(Ht=>Ht.route.id===St)}).forEach(gt=>{let[St,Ht]=gt;Ye=Object.assign(Ye||{},{[St]:Ht})});let Le=ot(),pt=lt(B),Bt=Le||pt||ht.length>0;return fr({loaderData:Ae,errors:Ye},Bt?{fetchers:new Map(O.fetchers)}:{})}function se(te,re,ie,pe){if(n)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");$.has(te)&&fe(te);let ke=(pe&&pe.unstable_flushSync)===!0,Te=s||a,$e=C2(O.location,O.matches,l,c.v7_prependBasename,ie,c.v7_relativeSplatPath,re,pe==null?void 0:pe.relative),Pe=rc(Te,$e,l);if(!Pe){Ze(te,re,mi(404,{pathname:$e}),{flushSync:ke});return}let{path:ce,submission:Re,error:qe}=P7(c.v7_normalizeFormMethod,!0,$e,pe);if(qe){Ze(te,re,qe,{flushSync:ke});return}let Ce=M2(Pe,ce);if(T=(pe&&pe.preventScrollReset)===!0,Re&&Qi(Re.formMethod)){ye(te,re,ce,Ce,Pe,ke,Re);return}_.set(te,{routeId:re,path:ce}),_e(te,re,ce,Ce,Pe,ke,Re)}async function ye(te,re,ie,pe,ke,Te,$e){if(Ue(),_.delete(te),!pe.route.action&&!pe.route.lazy){let St=mi(405,{method:$e.formMethod,pathname:ie,routeId:re});Ze(te,re,St,{flushSync:Te});return}let Pe=O.fetchers.get(te);Me(te,Nne($e,Pe),{flushSync:Te});let ce=new AbortController,Re=zu(e.history,ie,ce.signal,$e);$.set(te,ce);let qe=R,Ce=await Nu("action",Re,pe,ke,o,i,l,c.v7_relativeSplatPath);if(Re.signal.aborted){$.get(te)===ce&&$.delete(te);return}if(c.v7_fetcherPersist&&H.has(te)){if(js(Ce)||nc(Ce)){Me(te,Ta(void 0));return}}else{if(js(Ce))if($.delete(te),B>qe){Me(te,Ta(void 0));return}else return E.add(te),Me(te,ju($e)),we(O,Ce,{fetcherSubmission:$e});if(nc(Ce)){Ze(te,re,Ce.error);return}}if(zs(Ce))throw mi(400,{type:"defer-action"});let Xe=O.navigation.location||O.location,dt=zu(e.history,Xe,ce.signal),Ve=s||a,ht=O.navigation.state!=="idle"?rc(Ve,O.navigation.location,l):O.matches;Mt(ht,"Didn't find any matches after fetcher action");let mt=++R;P.set(te,mt);let rt=ju($e,Ce.data);O.fetchers.set(te,rt);let[ae,oe]=A7(e.history,O,ht,$e,Xe,!1,h,m,S,H,_,E,Ve,l,{[pe.route.id]:Ce.data},void 0);oe.filter(St=>St.key!==te).forEach(St=>{let Ht=St.key,Hr=O.fetchers.get(Ht),Cn=ju(void 0,Hr?Hr.data:void 0);O.fetchers.set(Ht,Cn),$.has(Ht)&&fe(Ht),St.controller&&$.set(Ht,St.controller)}),V({fetchers:new Map(O.fetchers)});let ve=()=>oe.forEach(St=>fe(St.key));ce.signal.addEventListener("abort",ve);let{results:Ae,loaderResults:Ye,fetcherResults:Le}=await He(O.matches,ht,ae,oe,dt);if(ce.signal.aborted)return;ce.signal.removeEventListener("abort",ve),P.delete(te),$.delete(te),oe.forEach(St=>$.delete(St.key));let pt=I7(Ae);if(pt){if(pt.idx>=ae.length){let St=oe[pt.idx-ae.length].key;E.add(St)}return we(O,pt.result)}let{loaderData:Bt,errors:gt}=T7(O,O.matches,ae,Ye,void 0,oe,Le,L);if(O.fetchers.has(te)){let St=Ta(Ce.data);O.fetchers.set(te,St)}lt(mt),O.navigation.state==="loading"&&mt>B?(Mt(D,"Expected pending action"),F&&F.abort(),K(O.navigation.location,{matches:ht,loaderData:Bt,errors:gt,fetchers:new Map(O.fetchers)})):(V({errors:gt,loaderData:$7(O.loaderData,Bt,ht,gt),fetchers:new Map(O.fetchers)}),h=!1)}async function _e(te,re,ie,pe,ke,Te,$e){let Pe=O.fetchers.get(te);Me(te,ju($e,Pe?Pe.data:void 0),{flushSync:Te});let ce=new AbortController,Re=zu(e.history,ie,ce.signal);$.set(te,ce);let qe=R,Ce=await Nu("loader",Re,pe,ke,o,i,l,c.v7_relativeSplatPath);if(zs(Ce)&&(Ce=await oA(Ce,Re.signal,!0)||Ce),$.get(te)===ce&&$.delete(te),!Re.signal.aborted){if(H.has(te)){Me(te,Ta(void 0));return}if(js(Ce))if(B>qe){Me(te,Ta(void 0));return}else{E.add(te),await we(O,Ce);return}if(nc(Ce)){Ze(te,re,Ce.error);return}Mt(!zs(Ce),"Unhandled fetcher deferred data"),Me(te,Ta(Ce.data))}}async function we(te,re,ie){let{submission:pe,fetcherSubmission:ke,replace:Te}=ie===void 0?{}:ie;re.revalidate&&(h=!0);let $e=u0(te.location,re.location,{_isRedirect:!0});if(Mt($e,"Expected a location on the redirect navigation"),r){let Xe=!1;if(re.reloadDocument)Xe=!0;else if(tA.test(re.location)){const dt=e.history.createURL(re.location);Xe=dt.origin!==t.location.origin||cu(dt.pathname,l)==null}if(Xe){Te?t.location.replace(re.location):t.location.assign(re.location);return}}F=null;let Pe=Te===!0?pr.Replace:pr.Push,{formMethod:ce,formAction:Re,formEncType:qe}=te.navigation;!pe&&!ke&&ce&&Re&&qe&&(pe=F7(te.navigation));let Ce=pe||ke;if(Pne.has(re.status)&&Ce&&Qi(Ce.formMethod))await Q(Pe,$e,{submission:fr({},Ce,{formAction:re.location}),preventScrollReset:T});else{let Xe=lg($e,pe);await Q(Pe,$e,{overrideNavigation:Xe,fetcherSubmission:ke,preventScrollReset:T})}}async function He(te,re,ie,pe,ke){let Te=await Promise.all([...ie.map(ce=>Nu("loader",ke,ce,re,o,i,l,c.v7_relativeSplatPath)),...pe.map(ce=>ce.matches&&ce.match&&ce.controller?Nu("loader",zu(e.history,ce.path,ce.controller.signal),ce.match,ce.matches,o,i,l,c.v7_relativeSplatPath):{type:cr.error,error:mi(404,{pathname:ce.path})})]),$e=Te.slice(0,ie.length),Pe=Te.slice(ie.length);return await Promise.all([O7(te,ie,$e,$e.map(()=>ke.signal),!1,O.loaderData),O7(te,pe.map(ce=>ce.match),Pe,pe.map(ce=>ce.controller?ce.controller.signal:null),!0)]),{results:Te,loaderResults:$e,fetcherResults:Pe}}function Ue(){h=!0,m.push(...je()),_.forEach((te,re)=>{$.has(re)&&(S.push(re),fe(re))})}function Me(te,re,ie){ie===void 0&&(ie={}),O.fetchers.set(te,re),V({fetchers:new Map(O.fetchers)},{flushSync:(ie&&ie.flushSync)===!0})}function Ze(te,re,ie,pe){pe===void 0&&(pe={});let ke=kf(O.matches,re);Ne(te),V({errors:{[ke.route.id]:ie},fetchers:new Map(O.fetchers)},{flushSync:(pe&&pe.flushSync)===!0})}function Je(te){return c.v7_fetcherPersist&&(z.set(te,(z.get(te)||0)+1),H.has(te)&&H.delete(te)),O.fetchers.get(te)||Ane}function Ne(te){let re=O.fetchers.get(te);$.has(te)&&!(re&&re.state==="loading"&&P.has(te))&&fe(te),_.delete(te),P.delete(te),E.delete(te),H.delete(te),O.fetchers.delete(te)}function De(te){if(c.v7_fetcherPersist){let re=(z.get(te)||0)-1;re<=0?(z.delete(te),H.add(te)):z.set(te,re)}else Ne(te);V({fetchers:new Map(O.fetchers)})}function fe(te){let re=$.get(te);Mt(re,"Expected fetch controller: "+te),re.abort(),$.delete(te)}function Ie(te){for(let re of te){let ie=Je(re),pe=Ta(ie.data);O.fetchers.set(re,pe)}}function ot(){let te=[],re=!1;for(let ie of E){let pe=O.fetchers.get(ie);Mt(pe,"Expected fetcher: "+ie),pe.state==="loading"&&(E.delete(ie),te.push(ie),re=!0)}return Ie(te),re}function lt(te){let re=[];for(let[ie,pe]of P)if(pe0}function ge(te,re){let ie=O.blockers.get(te)||Lu;return q.get(te)!==re&&q.set(te,re),ie}function ze(te){O.blockers.delete(te),q.delete(te)}function le(te,re){let ie=O.blockers.get(te)||Lu;Mt(ie.state==="unblocked"&&re.state==="blocked"||ie.state==="blocked"&&re.state==="blocked"||ie.state==="blocked"&&re.state==="proceeding"||ie.state==="blocked"&&re.state==="unblocked"||ie.state==="proceeding"&&re.state==="unblocked","Invalid blocker state transition: "+ie.state+" -> "+re.state);let pe=new Map(O.blockers);pe.set(te,re),V({blockers:pe})}function me(te){let{currentLocation:re,nextLocation:ie,historyAction:pe}=te;if(q.size===0)return;q.size>1&&Uc(!1,"A router only supports one blocker at a time");let ke=Array.from(q.entries()),[Te,$e]=ke[ke.length-1],Pe=O.blockers.get(Te);if(!(Pe&&Pe.state==="proceeding")&&$e({currentLocation:re,nextLocation:ie,historyAction:pe}))return Te}function je(te){let re=[];return L.forEach((ie,pe)=>{(!te||te(pe))&&(ie.cancel(),re.push(pe),L.delete(pe))}),re}function We(te,re,ie){if(d=te,p=re,b=ie||null,!v&&O.navigation===sg){v=!0;let pe=ut(O.location,O.matches);pe!=null&&V({restoreScrollPosition:pe})}return()=>{d=null,p=null,b=null}}function Oe(te,re){return b&&b(te,re.map(pe=>nne(pe,O.loaderData)))||te.key}function Qe(te,re){if(d&&p){let ie=Oe(te,re);d[ie]=p()}}function ut(te,re){if(d){let ie=Oe(te,re),pe=d[ie];if(typeof pe=="number")return pe}return null}function Ge(te){o={},s=S2(te,i,void 0,o)}return N={get basename(){return l},get future(){return c},get state(){return O},get routes(){return a},get window(){return t},initialize:J,subscribe:j,enableScrollRestoration:We,navigate:Z,fetch:se,revalidate:ee,createHref:te=>e.history.createHref(te),encodeLocation:te=>e.history.encodeLocation(te),getFetcher:Je,deleteFetcher:De,dispose:G,getBlocker:ge,deleteBlocker:ze,_internalFetchControllers:$,_internalActiveDeferreds:L,_internalSetRoutes:Ge},N}function Rne(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function C2(e,t,r,n,i,o,a,s){let l,c;if(a){l=[];for(let f of t)if(l.push(f),f.route.id===a){c=f;break}}else l=t,c=t[t.length-1];let u=Z1(i||".",J1(l,o),cu(e.pathname,r)||e.pathname,s==="path");return i==null&&(u.search=e.search,u.hash=e.hash),(i==null||i===""||i===".")&&c&&c.route.index&&!e3(u.search)&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),n&&r!=="/"&&(u.pathname=u.pathname==="/"?r:ia([r,u.pathname])),ll(u)}function P7(e,t,r,n){if(!n||!Rne(n))return{path:r};if(n.formMethod&&!Dne(n.formMethod))return{path:r,error:mi(405,{method:n.formMethod})};let i=()=>({path:r,error:mi(400,{type:"invalid-body"})}),o=n.formMethod||"get",a=e?o.toUpperCase():o.toLowerCase(),s=iA(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!Qi(a))return i();let d=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((b,p)=>{let[v,w]=p;return""+b+v+"="+w+` +`},""):String(n.body);return{path:r,submission:{formMethod:a,formAction:s,formEncType:n.formEncType,formData:void 0,json:void 0,text:d}}}else if(n.formEncType==="application/json"){if(!Qi(a))return i();try{let d=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:a,formAction:s,formEncType:n.formEncType,formData:void 0,json:d,text:void 0}}}catch{return i()}}}Mt(typeof FormData=="function","FormData is not available in this environment");let l,c;if(n.formData)l=E2(n.formData),c=n.formData;else if(n.body instanceof FormData)l=E2(n.body),c=n.body;else if(n.body instanceof URLSearchParams)l=n.body,c=R7(l);else if(n.body==null)l=new URLSearchParams,c=new FormData;else try{l=new URLSearchParams(n.body),c=R7(l)}catch{return i()}let u={formMethod:a,formAction:s,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:c,json:void 0,text:void 0};if(Qi(u.formMethod))return{path:r,submission:u};let f=Sa(r);return t&&f.search&&e3(f.search)&&l.append("index",""),f.search="?"+l,{path:ll(f),submission:u}}function Tne(e,t){let r=e;if(t){let n=e.findIndex(i=>i.route.id===t);n>=0&&(r=e.slice(0,n))}return r}function A7(e,t,r,n,i,o,a,s,l,c,u,f,d,b,p,v){let w=v?Object.values(v)[0]:p?Object.values(p)[0]:void 0,C=e.createURL(t.location),y=e.createURL(i),M=v?Object.keys(v)[0]:void 0,N=Tne(r,M).filter((D,T)=>{let{route:F}=D;if(F.lazy)return!0;if(F.loader==null)return!1;if(o)return F.loader.hydrate?!0:t.loaderData[F.id]===void 0&&(!t.errors||t.errors[F.id]===void 0);if($ne(t.loaderData,t.matches[T],D)||s.some(x=>x===D.route.id))return!0;let k=t.matches[T],A=D;return k7(D,fr({currentUrl:C,currentParams:k.params,nextUrl:y,nextParams:A.params},n,{actionResult:w,defaultShouldRevalidate:a||C.pathname+C.search===y.pathname+y.search||C.search!==y.search||nA(k,A)}))}),O=[];return u.forEach((D,T)=>{if(o||!r.some(g=>g.route.id===D.routeId)||c.has(T))return;let F=rc(d,D.path,b);if(!F){O.push({key:T,routeId:D.routeId,path:D.path,matches:null,match:null,controller:null});return}let k=t.fetchers.get(T),A=M2(F,D.path),x=!1;f.has(T)?x=!1:l.includes(T)?x=!0:k&&k.state!=="idle"&&k.data===void 0?x=a:x=k7(A,fr({currentUrl:C,currentParams:t.matches[t.matches.length-1].params,nextUrl:y,nextParams:r[r.length-1].params},n,{actionResult:w,defaultShouldRevalidate:a})),x&&O.push({key:T,routeId:D.routeId,path:D.path,matches:F,match:A,controller:new AbortController})}),[N,O]}function $ne(e,t,r){let n=!t||r.route.id!==t.route.id,i=e[r.route.id]===void 0;return n||i}function nA(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function k7(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}async function _7(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let i=r[e.id];Mt(i,"No route found in manifest");let o={};for(let a in n){let l=i[a]!==void 0&&a!=="hasErrorBoundary";Uc(!l,'Route "'+i.id+'" has a static property "'+a+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+a+'" will be ignored.')),!l&&!tne.has(a)&&(o[a]=n[a])}Object.assign(i,o),Object.assign(i,fr({},t(i),{lazy:void 0}))}async function Nu(e,t,r,n,i,o,a,s,l){l===void 0&&(l={});let c,u,f,d=v=>{let w,C=new Promise((y,M)=>w=M);return f=()=>w(),t.signal.addEventListener("abort",f),Promise.race([v({request:t,params:r.params,context:l.requestContext}),C])};try{let v=r.route[e];if(r.route.lazy)if(v){let w,C=await Promise.all([d(v).catch(y=>{w=y}),_7(r.route,o,i)]);if(w)throw w;u=C[0]}else if(await _7(r.route,o,i),v=r.route[e],v)u=await d(v);else if(e==="action"){let w=new URL(t.url),C=w.pathname+w.search;throw mi(405,{method:t.method,pathname:C,routeId:r.route.id})}else return{type:cr.data,data:void 0};else if(v)u=await d(v);else{let w=new URL(t.url),C=w.pathname+w.search;throw mi(404,{pathname:C})}Mt(u!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(v){c=cr.error,u=v}finally{f&&t.signal.removeEventListener("abort",f)}if(Fne(u)){let v=u.status;if(Mne.has(v)){let C=u.headers.get("Location");if(Mt(C,"Redirects returned/thrown from loaders/actions must have a Location header"),!tA.test(C))C=C2(new URL(t.url),n.slice(0,n.indexOf(r)+1),a,!0,C,s);else if(!l.isStaticRequest){let y=new URL(t.url),M=C.startsWith("//")?new URL(y.protocol+C):new URL(C),I=cu(M.pathname,a)!=null;M.origin===y.origin&&I&&(C=M.pathname+M.search+M.hash)}if(l.isStaticRequest)throw u.headers.set("Location",C),u;return{type:cr.redirect,status:v,location:C,revalidate:u.headers.get("X-Remix-Revalidate")!==null,reloadDocument:u.headers.get("X-Remix-Reload-Document")!==null}}if(l.isRouteRequest)throw{type:c===cr.error?cr.error:cr.data,response:u};let w;try{let C=u.headers.get("Content-Type");C&&/\bapplication\/json\b/.test(C)?u.body==null?w=null:w=await u.json():w=await u.text()}catch(C){return{type:cr.error,error:C}}return c===cr.error?{type:c,error:new Q4(v,u.statusText,w),headers:u.headers}:{type:cr.data,data:w,statusCode:u.status,headers:u.headers}}if(c===cr.error)return{type:c,error:u};if(One(u)){var b,p;return{type:cr.deferred,deferredData:u,statusCode:(b=u.init)==null?void 0:b.status,headers:((p=u.init)==null?void 0:p.headers)&&new Headers(u.init.headers)}}return{type:cr.data,data:u}}function zu(e,t,r,n){let i=e.createURL(iA(t)).toString(),o={signal:r};if(n&&Qi(n.formMethod)){let{formMethod:a,formEncType:s}=n;o.method=a.toUpperCase(),s==="application/json"?(o.headers=new Headers({"Content-Type":s}),o.body=JSON.stringify(n.json)):s==="text/plain"?o.body=n.text:s==="application/x-www-form-urlencoded"&&n.formData?o.body=E2(n.formData):o.body=n.formData}return new Request(i,o)}function E2(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function R7(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function Bne(e,t,r,n,i){let o={},a=null,s,l=!1,c={};return r.forEach((u,f)=>{let d=t[f].route.id;if(Mt(!js(u),"Cannot handle redirect results in processLoaderData"),nc(u)){let b=kf(e,d),p=u.error;n&&(p=Object.values(n)[0],n=void 0),a=a||{},a[b.route.id]==null&&(a[b.route.id]=p),o[d]=void 0,l||(l=!0,s=QP(u.error)?u.error.status:500),u.headers&&(c[d]=u.headers)}else zs(u)?(i.set(d,u.deferredData),o[d]=u.deferredData.data):o[d]=u.data,u.statusCode!=null&&u.statusCode!==200&&!l&&(s=u.statusCode),u.headers&&(c[d]=u.headers)}),n&&(a=n,o[Object.keys(n)[0]]=void 0),{loaderData:o,errors:a,statusCode:s||200,loaderHeaders:c}}function T7(e,t,r,n,i,o,a,s){let{loaderData:l,errors:c}=Bne(t,r,n,i,s);for(let u=0;un.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function B7(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function mi(e,t){let{pathname:r,routeId:n,method:i,type:o}=t===void 0?{}:t,a="Unknown Server Error",s="Unknown @remix-run/router error";return e===400?(a="Bad Request",i&&r&&n?s="You made a "+i+' request to "'+r+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":o==="defer-action"?s="defer() is not supported in actions":o==="invalid-body"&&(s="Unable to encode submission body")):e===403?(a="Forbidden",s='Route "'+n+'" does not match URL "'+r+'"'):e===404?(a="Not Found",s='No route matches URL "'+r+'"'):e===405&&(a="Method Not Allowed",i&&r&&n?s="You made a "+i.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":i&&(s='Invalid request method "'+i.toUpperCase()+'"')),new Q4(e||500,a,new Error(s),!0)}function I7(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(js(r))return{result:r,idx:t}}}function iA(e){let t=typeof e=="string"?Sa(e):e;return ll(fr({},t,{hash:""}))}function Ine(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function zs(e){return e.type===cr.deferred}function nc(e){return e.type===cr.error}function js(e){return(e&&e.type)===cr.redirect}function One(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Fne(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function Dne(e){return Ene.has(e.toLowerCase())}function Qi(e){return Sne.has(e.toLowerCase())}async function O7(e,t,r,n,i,o){for(let a=0;af.route.id===l.route.id),u=c!=null&&!nA(c,l)&&(o&&o[l.route.id])!==void 0;if(zs(s)&&(i||u)){let f=n[a];Mt(f,"Expected an AbortSignal for revalidating fetcher deferred result"),await oA(s,f,i).then(d=>{d&&(r[a]=d||r[a])})}}}async function oA(e,t,r){if(r===void 0&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:cr.data,data:e.deferredData.unwrappedData}}catch(i){return{type:cr.error,error:i}}return{type:cr.data,data:e.deferredData.data}}}function e3(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function M2(e,t){let r=typeof t=="string"?Sa(t).search:t.search;if(e[e.length-1].route.index&&e3(r||""))return e[e.length-1];let n=ZP(e);return n[n.length-1]}function F7(e){let{formMethod:t,formAction:r,formEncType:n,text:i,formData:o,json:a}=e;if(!(!t||!r||!n)){if(i!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:i};if(o!=null)return{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};if(a!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:a,text:void 0}}}function lg(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Lne(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function ju(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Nne(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Ta(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function zne(e,t){try{let r=e.sessionStorage.getItem(rA);if(r){let n=JSON.parse(r);for(let[i,o]of Object.entries(n||{}))o&&Array.isArray(o)&&t.set(i,new Set(o||[]))}}catch{}}function jne(e,t){if(t.size>0){let r={};for(let[n,i]of t)r[n]=[...i];try{e.sessionStorage.setItem(rA,JSON.stringify(r))}catch(n){Uc(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}/** + * React Router v6.22.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function f0(){return f0=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),U.useCallback(function(c,u){if(u===void 0&&(u={}),!s.current)return;if(typeof c=="number"){n.go(c);return}let f=Z1(c,JSON.parse(a),o,u.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:ia([t,f.pathname])),(u.replace?n.replace:n.push)(f,u.state,u)},[t,n,a,o,e])}const Wne=U.createContext(null);function qne(e){let t=U.useContext(No).outlet;return t&&U.createElement(Wne.Provider,{value:e},t)}function u0e(){let{matches:e}=U.useContext(No),t=e[e.length-1];return t?t.params:{}}function cA(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=U.useContext(ps),{matches:i}=U.useContext(No),{pathname:o}=fu(),a=JSON.stringify(J1(i,n.v7_relativeSplatPath));return U.useMemo(()=>Z1(e,JSON.parse(a),o,r==="path"),[e,a,o,r])}function Vne(e,t,r,n){uu()||Mt(!1);let{navigator:i}=U.useContext(ps),{matches:o}=U.useContext(No),a=o[o.length-1],s=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let c=fu(),u;if(t){var f;let w=typeof t=="string"?Sa(t):t;l==="/"||(f=w.pathname)!=null&&f.startsWith(l)||Mt(!1),u=w}else u=c;let d=u.pathname||"/",b=d;if(l!=="/"){let w=l.replace(/^\//,"").split("/");b="/"+d.replace(/^\//,"").split("/").slice(w.length).join("/")}let p=rc(e,{pathname:b}),v=Jne(p&&p.map(w=>Object.assign({},w,{params:Object.assign({},s,w.params),pathname:ia([l,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:ia([l,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),o,r,n);return t&&v?U.createElement(ex.Provider,{value:{location:f0({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:pr.Pop}},v):v}function Kne(){let e=tie(),t=QP(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return U.createElement(U.Fragment,null,U.createElement("h2",null,"Unexpected Application Error!"),U.createElement("h3",{style:{fontStyle:"italic"}},t),r?U.createElement("pre",{style:i},r):null,null)}const Gne=U.createElement(Kne,null);class Yne extends U.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){}render(){return this.state.error!==void 0?U.createElement(No.Provider,{value:this.props.routeContext},U.createElement(sA.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Xne(e){let{routeContext:t,match:r,children:n}=e,i=U.useContext(Q1);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),U.createElement(No.Provider,{value:t},n)}function Jne(e,t,r,n){var i;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var o;if((o=r)!=null&&o.errors)e=r.matches;else return null}let a=e,s=(i=r)==null?void 0:i.errors;if(s!=null){let u=a.findIndex(f=>f.route.id&&(s==null?void 0:s[f.route.id]));u>=0||Mt(!1),a=a.slice(0,Math.min(a.length,u+1))}let l=!1,c=-1;if(r&&n&&n.v7_partialHydration)for(let u=0;u=0?a=a.slice(0,c+1):a=[a[0]];break}}}return a.reduceRight((u,f,d)=>{let b,p=!1,v=null,w=null;r&&(b=s&&f.route.id?s[f.route.id]:void 0,v=f.route.errorElement||Gne,l&&(c<0&&d===0?(nie("route-fallback",!1),p=!0,w=null):c===d&&(p=!0,w=f.route.hydrateFallbackElement||null)));let C=t.concat(a.slice(0,d+1)),y=()=>{let M;return b?M=v:p?M=w:f.route.Component?M=U.createElement(f.route.Component,null):f.route.element?M=f.route.element:M=u,U.createElement(Xne,{match:f,routeContext:{outlet:u,matches:C,isDataRoute:r!=null},children:M})};return r&&(f.route.ErrorBoundary||f.route.errorElement||d===0)?U.createElement(Yne,{location:r.location,revalidation:r.revalidation,component:v,error:b,children:y(),routeContext:{outlet:null,matches:C,isDataRoute:!0}}):y()},null)}var uA=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(uA||{}),lp=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(lp||{});function Zne(e){let t=U.useContext(Q1);return t||Mt(!1),t}function Qne(e){let t=U.useContext(aA);return t||Mt(!1),t}function eie(e){let t=U.useContext(No);return t||Mt(!1),t}function fA(e){let t=eie(),r=t.matches[t.matches.length-1];return r.route.id||Mt(!1),r.route.id}function tie(){var e;let t=U.useContext(sA),r=Qne(lp.UseRouteError),n=fA(lp.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function rie(){let{router:e}=Zne(uA.UseNavigateStable),t=fA(lp.UseNavigateStable),r=U.useRef(!1);return lA(()=>{r.current=!0}),U.useCallback(function(i,o){o===void 0&&(o={}),r.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,f0({fromRouteId:t},o)))},[e,t])}const D7={};function nie(e,t,r){!t&&!D7[e]&&(D7[e]=!0)}function f0e(e){let{to:t,replace:r,state:n,relative:i}=e;uu()||Mt(!1);let{future:o,static:a}=U.useContext(ps),{matches:s}=U.useContext(No),{pathname:l}=fu(),c=t3(),u=Z1(t,J1(s,o.v7_relativeSplatPath),l,i==="path"),f=JSON.stringify(u);return U.useEffect(()=>c(JSON.parse(f),{replace:r,state:n,relative:i}),[c,f,i,r,n]),null}function d0e(e){return qne(e.context)}function iie(e){let{basename:t="/",children:r=null,location:n,navigationType:i=pr.Pop,navigator:o,static:a=!1,future:s}=e;uu()&&Mt(!1);let l=t.replace(/^\/*/,"/"),c=U.useMemo(()=>({basename:l,navigator:o,static:a,future:f0({v7_relativeSplatPath:!1},s)}),[l,s,o,a]);typeof n=="string"&&(n=Sa(n));let{pathname:u="/",search:f="",hash:d="",state:b=null,key:p="default"}=n,v=U.useMemo(()=>{let w=cu(u,l);return w==null?null:{location:{pathname:w,search:f,hash:d,state:b,key:p},navigationType:i}},[l,u,f,d,b,p,i]);return v==null?null:U.createElement(ps.Provider,{value:c},U.createElement(ex.Provider,{children:r,value:v}))}new Promise(()=>{});function oie(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:U.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:U.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:U.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + * React Router DOM v6.22.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function d0(){return d0=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[i]=e[i]);return r}function sie(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function lie(e,t){return e.button===0&&(!t||t==="_self")&&!sie(e)}function P2(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(i=>[r,i]):[[r,n]])},[]))}function cie(e,t){let r=P2(e);return t&&t.forEach((n,i)=>{r.has(i)||t.getAll(i).forEach(o=>{r.append(i,o)})}),r}const uie=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],fie="6";try{window.__reactRouterVersion=fie}catch{}function h0e(e,t){return _ne({basename:t==null?void 0:t.basename,future:d0({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:Zre({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||die(),routes:e,mapRouteProperties:oie,window:t==null?void 0:t.window}).initialize()}function die(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=d0({},t,{errors:hie(t.errors)})),t}function hie(e){if(!e)return null;let t=Object.entries(e),r={};for(let[n,i]of t)if(i&&i.__type==="RouteErrorResponse")r[n]=new Q4(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let o=window[i.__subType];if(typeof o=="function")try{let a=new o(i.message);a.stack="",r[n]=a}catch{}}if(r[n]==null){let o=new Error(i.message);o.stack="",r[n]=o}}else r[n]=i;return r}const pie=U.createContext({isTransitioning:!1}),xie=U.createContext(new Map),mie="startTransition",L7=yc[mie],gie="flushSync",N7=nz[gie];function vie(e){L7?L7(e):e()}function Uu(e){N7?N7(e):e()}class bie{constructor(){this.status="pending",this.promise=new Promise((t,r)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",t(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",r(n))}})}}function p0e(e){let{fallbackElement:t,router:r,future:n}=e,[i,o]=U.useState(r.state),[a,s]=U.useState(),[l,c]=U.useState({isTransitioning:!1}),[u,f]=U.useState(),[d,b]=U.useState(),[p,v]=U.useState(),w=U.useRef(new Map),{v7_startTransition:C}=n||{},y=U.useCallback(D=>{C?vie(D):D()},[C]),M=U.useCallback((D,T)=>{let{deletedFetchers:F,unstable_flushSync:k,unstable_viewTransitionOpts:A}=T;F.forEach(g=>w.current.delete(g)),D.fetchers.forEach((g,h)=>{g.data!==void 0&&w.current.set(h,g.data)});let x=r.window==null||typeof r.window.document.startViewTransition!="function";if(!A||x){k?Uu(()=>o(D)):y(()=>o(D));return}if(k){Uu(()=>{d&&(u&&u.resolve(),d.skipTransition()),c({isTransitioning:!0,flushSync:!0,currentLocation:A.currentLocation,nextLocation:A.nextLocation})});let g=r.window.document.startViewTransition(()=>{Uu(()=>o(D))});g.finished.finally(()=>{Uu(()=>{f(void 0),b(void 0),s(void 0),c({isTransitioning:!1})})}),Uu(()=>b(g));return}d?(u&&u.resolve(),d.skipTransition(),v({state:D,currentLocation:A.currentLocation,nextLocation:A.nextLocation})):(s(D),c({isTransitioning:!0,flushSync:!1,currentLocation:A.currentLocation,nextLocation:A.nextLocation}))},[r.window,d,u,w,y]);U.useLayoutEffect(()=>r.subscribe(M),[r,M]),U.useEffect(()=>{l.isTransitioning&&!l.flushSync&&f(new bie)},[l]),U.useEffect(()=>{if(u&&a&&r.window){let D=a,T=u.promise,F=r.window.document.startViewTransition(async()=>{y(()=>o(D)),await T});F.finished.finally(()=>{f(void 0),b(void 0),s(void 0),c({isTransitioning:!1})}),b(F)}},[y,a,u,r.window]),U.useEffect(()=>{u&&a&&i.location.key===a.location.key&&u.resolve()},[u,d,i.location,a]),U.useEffect(()=>{!l.isTransitioning&&p&&(s(p.state),c({isTransitioning:!0,flushSync:!1,currentLocation:p.currentLocation,nextLocation:p.nextLocation}),v(void 0))},[l.isTransitioning,p]),U.useEffect(()=>{},[]);let I=U.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:D=>r.navigate(D),push:(D,T,F)=>r.navigate(D,{state:T,preventScrollReset:F==null?void 0:F.preventScrollReset}),replace:(D,T,F)=>r.navigate(D,{replace:!0,state:T,preventScrollReset:F==null?void 0:F.preventScrollReset})}),[r]),N=r.basename||"/",O=U.useMemo(()=>({router:r,navigator:I,static:!1,basename:N}),[r,I,N]);return U.createElement(U.Fragment,null,U.createElement(Q1.Provider,{value:O},U.createElement(aA.Provider,{value:i},U.createElement(xie.Provider,{value:w.current},U.createElement(pie.Provider,{value:l},U.createElement(iie,{basename:N,location:i.location,navigationType:i.historyAction,navigator:I,future:{v7_relativeSplatPath:r.future.v7_relativeSplatPath}},i.initialized||r.future.v7_partialHydration?U.createElement(yie,{routes:r.routes,future:r.future,state:i}):t))))),null)}function yie(e){let{routes:t,future:r,state:n}=e;return Vne(t,void 0,n,r)}const wie=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Sie=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,x0e=U.forwardRef(function(t,r){let{onClick:n,relative:i,reloadDocument:o,replace:a,state:s,target:l,to:c,preventScrollReset:u,unstable_viewTransition:f}=t,d=aie(t,uie),{basename:b}=U.useContext(ps),p,v=!1;if(typeof c=="string"&&Sie.test(c)&&(p=c,wie))try{let M=new URL(window.location.href),I=c.startsWith("//")?new URL(M.protocol+c):new URL(c),N=cu(I.pathname,b);I.origin===M.origin&&N!=null?c=N+I.search+I.hash:v=!0}catch{}let w=Une(c,{relative:i}),C=Cie(c,{replace:a,state:s,target:l,preventScrollReset:u,relative:i,unstable_viewTransition:f});function y(M){n&&n(M),M.defaultPrevented||C(M)}return U.createElement("a",d0({},d,{href:p||w,onClick:v||o?n:y,ref:r,target:l}))});var z7;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(z7||(z7={}));var j7;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(j7||(j7={}));function Cie(e,t){let{target:r,replace:n,state:i,preventScrollReset:o,relative:a,unstable_viewTransition:s}=t===void 0?{}:t,l=t3(),c=fu(),u=cA(e,{relative:a});return U.useCallback(f=>{if(lie(f,r)){f.preventDefault();let d=n!==void 0?n:ll(c)===ll(u);l(e,{replace:d,state:i,preventScrollReset:o,relative:a,unstable_viewTransition:s})}},[c,l,u,n,i,r,e,o,a,s])}function m0e(e){let t=U.useRef(P2(e)),r=U.useRef(!1),n=fu(),i=U.useMemo(()=>cie(n.search,r.current?null:t.current),[n.search]),o=t3(),a=U.useCallback((s,l)=>{const c=P2(typeof s=="function"?s(i):s);r.current=!0,o("?"+c,l)},[o,i]);return[i,a]}var r3={},Eie=ar;Object.defineProperty(r3,"__esModule",{value:!0});var Mie=r3.default=void 0,Pie=Eie(Sr()),Aie=Y;Mie=r3.default=(0,Pie.default)((0,Aie.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 16.5c-.83 0-1.5-.67-1.5-1.5h3c0 .83-.67 1.5-1.5 1.5m5-2.5H7v-1l1-1v-2.61C8 9.27 9.03 7.47 11 7v-.5c0-.57.43-1 1-1s1 .43 1 1V7c1.97.47 3 2.28 3 4.39V14l1 1z"}),"CircleNotifications");var n3={},kie=ar;Object.defineProperty(n3,"__esModule",{value:!0});var _ie=n3.default=void 0,Rie=kie(Sr()),U7=Y;_ie=n3.default=(0,Rie.default)([(0,U7.jsx)("path",{d:"M6.32 13.01c.96.02 1.85.5 2.45 1.34C9.5 15.38 10.71 16 12 16s2.5-.62 3.23-1.66c.6-.84 1.49-1.32 2.45-1.34-.72-1.22-3.6-2-5.68-2-2.07 0-4.96.78-5.68 2.01M4 13c1.66 0 3-1.34 3-3S5.66 7 4 7s-3 1.34-3 3 1.34 3 3 3m16 0c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3m-8-3c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3"},"0"),(0,U7.jsx)("path",{d:"M21 14h-3.27c-.77 0-1.35.45-1.68.92-.04.06-1.36 2.08-4.05 2.08-1.43 0-3.03-.64-4.05-2.08-.39-.55-1-.92-1.68-.92H3c-1.1 0-2 .9-2 2v4h7v-2.26c1.15.8 2.54 1.26 4 1.26s2.85-.46 4-1.26V20h7v-4c0-1.1-.9-2-2-2"},"1")],"Diversity3");var i3={},Tie=ar;Object.defineProperty(i3,"__esModule",{value:!0});var $ie=i3.default=void 0,Bie=Tie(Sr()),Iie=Y;$ie=i3.default=(0,Bie.default)((0,Iie.jsx)("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"}),"Home");var o3={},Oie=ar;Object.defineProperty(o3,"__esModule",{value:!0});var Fie=o3.default=void 0,Die=Oie(Sr()),Lie=Y;Fie=o3.default=(0,Die.default)((0,Lie.jsx)("path",{d:"m12 5.69 5 4.5V18h-2v-6H9v6H7v-7.81zM12 3 2 12h3v8h6v-6h2v6h6v-8h3z"}),"HomeOutlined");var a3={},Nie=ar;Object.defineProperty(a3,"__esModule",{value:!0});var zie=a3.default=void 0,jie=Nie(Sr()),Uie=Y;zie=a3.default=(0,jie.default)((0,Uie.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings");var s3={},Hie=ar;Object.defineProperty(s3,"__esModule",{value:!0});var Wie=s3.default=void 0,qie=Hie(Sr()),Vie=Y;Wie=s3.default=(0,qie.default)((0,Vie.jsx)("path",{d:"M19.43 12.98c.04-.32.07-.64.07-.98 0-.34-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.09-.16-.26-.25-.44-.25-.06 0-.12.01-.17.03l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.06-.02-.12-.03-.18-.03-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98 0 .33.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.09.16.26.25.44.25.06 0 .12-.01.17-.03l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.06.02.12.03.18.03.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64zm-1.98-1.71c.04.31.05.52.05.73 0 .21-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"}),"SettingsOutlined");var l3={},Kie=ar;Object.defineProperty(l3,"__esModule",{value:!0});var Gie=l3.default=void 0,Yie=Kie(Sr()),Xie=Y;Gie=l3.default=(0,Yie.default)((0,Xie.jsx)("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z"}),"KeyboardBackspace");var c3={exports:{}};c3.exports;(function(e){(function(t,r){function n(g,h){if(!g)throw new Error(h||"Assertion failed")}function i(g,h){g.super_=h;var m=function(){};m.prototype=h.prototype,g.prototype=new m,g.prototype.constructor=g}function o(g,h,m){if(o.isBN(g))return g;this.negative=0,this.words=null,this.length=0,this.red=null,g!==null&&((h==="le"||h==="be")&&(m=h,h=10),this._init(g||0,h||10,m||"be"))}typeof t=="object"?t.exports=o:r.BN=o,o.BN=o,o.wordSize=26;var a;try{typeof window<"u"&&typeof window.Buffer<"u"?a=window.Buffer:a=qp.Buffer}catch{}o.isBN=function(h){return h instanceof o?!0:h!==null&&typeof h=="object"&&h.constructor.wordSize===o.wordSize&&Array.isArray(h.words)},o.max=function(h,m){return h.cmp(m)>0?h:m},o.min=function(h,m){return h.cmp(m)<0?h:m},o.prototype._init=function(h,m,S){if(typeof h=="number")return this._initNumber(h,m,S);if(typeof h=="object")return this._initArray(h,m,S);m==="hex"&&(m=16),n(m===(m|0)&&m>=2&&m<=36),h=h.toString().replace(/\s+/g,"");var $=0;h[0]==="-"&&($++,this.negative=1),$=0;$-=3)B=h[$]|h[$-1]<<8|h[$-2]<<16,this.words[R]|=B<>>26-P&67108863,P+=24,P>=26&&(P-=26,R++);else if(S==="le")for($=0,R=0;$>>26-P&67108863,P+=24,P>=26&&(P-=26,R++);return this._strip()};function s(g,h){var m=g.charCodeAt(h);if(m>=48&&m<=57)return m-48;if(m>=65&&m<=70)return m-55;if(m>=97&&m<=102)return m-87;n(!1,"Invalid character in "+g)}function l(g,h,m){var S=s(g,m);return m-1>=h&&(S|=s(g,m-1)<<4),S}o.prototype._parseHex=function(h,m,S){this.length=Math.ceil((h.length-m)/6),this.words=new Array(this.length);for(var $=0;$=m;$-=2)P=l(h,m,$)<=18?(R-=18,B+=1,this.words[B]|=P>>>26):R+=8;else{var E=h.length-m;for($=E%2===0?m+1:m;$=18?(R-=18,B+=1,this.words[B]|=P>>>26):R+=8}this._strip()};function c(g,h,m,S){for(var $=0,R=0,B=Math.min(g.length,m),P=h;P=49?R=E-49+10:E>=17?R=E-17+10:R=E,n(E>=0&&R1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},o.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch{o.prototype.inspect=f}else o.prototype.inspect=f;function f(){return(this.red?""}var d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],b=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(h,m){h=h||10,m=m|0||1;var S;if(h===16||h==="hex"){S="";for(var $=0,R=0,B=0;B>>24-$&16777215,$+=2,$>=26&&($-=26,B--),R!==0||B!==this.length-1?S=d[6-E.length]+E+S:S=E+S}for(R!==0&&(S=R.toString(16)+S);S.length%m!==0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}if(h===(h|0)&&h>=2&&h<=36){var _=b[h],z=p[h];S="";var H=this.clone();for(H.negative=0;!H.isZero();){var L=H.modrn(z).toString(h);H=H.idivn(z),H.isZero()?S=L+S:S=d[_-L.length]+L+S}for(this.isZero()&&(S="0"+S);S.length%m!==0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var h=this.words[0];return this.length===2?h+=this.words[1]*67108864:this.length===3&&this.words[2]===1?h+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-h:h},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(h,m){return this.toArrayLike(a,h,m)}),o.prototype.toArray=function(h,m){return this.toArrayLike(Array,h,m)};var v=function(h,m){return h.allocUnsafe?h.allocUnsafe(m):new h(m)};o.prototype.toArrayLike=function(h,m,S){this._strip();var $=this.byteLength(),R=S||Math.max(1,$);n($<=R,"byte array longer than desired length"),n(R>0,"Requested array length <= 0");var B=v(h,R),P=m==="le"?"LE":"BE";return this["_toArrayLike"+P](B,$),B},o.prototype._toArrayLikeLE=function(h,m){for(var S=0,$=0,R=0,B=0;R>8&255),S>16&255),B===6?(S>24&255),$=0,B=0):($=P>>>24,B+=2)}if(S=0&&(h[S--]=P>>8&255),S>=0&&(h[S--]=P>>16&255),B===6?(S>=0&&(h[S--]=P>>24&255),$=0,B=0):($=P>>>24,B+=2)}if(S>=0)for(h[S--]=$;S>=0;)h[S--]=0},Math.clz32?o.prototype._countBits=function(h){return 32-Math.clz32(h)}:o.prototype._countBits=function(h){var m=h,S=0;return m>=4096&&(S+=13,m>>>=13),m>=64&&(S+=7,m>>>=7),m>=8&&(S+=4,m>>>=4),m>=2&&(S+=2,m>>>=2),S+m},o.prototype._zeroBits=function(h){if(h===0)return 26;var m=h,S=0;return m&8191||(S+=13,m>>>=13),m&127||(S+=7,m>>>=7),m&15||(S+=4,m>>>=4),m&3||(S+=2,m>>>=2),m&1||S++,S},o.prototype.bitLength=function(){var h=this.words[this.length-1],m=this._countBits(h);return(this.length-1)*26+m};function w(g){for(var h=new Array(g.bitLength()),m=0;m>>$&1}return h}o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var h=0,m=0;mh.length?this.clone().ior(h):h.clone().ior(this)},o.prototype.uor=function(h){return this.length>h.length?this.clone().iuor(h):h.clone().iuor(this)},o.prototype.iuand=function(h){var m;this.length>h.length?m=h:m=this;for(var S=0;Sh.length?this.clone().iand(h):h.clone().iand(this)},o.prototype.uand=function(h){return this.length>h.length?this.clone().iuand(h):h.clone().iuand(this)},o.prototype.iuxor=function(h){var m,S;this.length>h.length?(m=this,S=h):(m=h,S=this);for(var $=0;$h.length?this.clone().ixor(h):h.clone().ixor(this)},o.prototype.uxor=function(h){return this.length>h.length?this.clone().iuxor(h):h.clone().iuxor(this)},o.prototype.inotn=function(h){n(typeof h=="number"&&h>=0);var m=Math.ceil(h/26)|0,S=h%26;this._expand(m),S>0&&m--;for(var $=0;$0&&(this.words[$]=~this.words[$]&67108863>>26-S),this._strip()},o.prototype.notn=function(h){return this.clone().inotn(h)},o.prototype.setn=function(h,m){n(typeof h=="number"&&h>=0);var S=h/26|0,$=h%26;return this._expand(S+1),m?this.words[S]=this.words[S]|1<<$:this.words[S]=this.words[S]&~(1<<$),this._strip()},o.prototype.iadd=function(h){var m;if(this.negative!==0&&h.negative===0)return this.negative=0,m=this.isub(h),this.negative^=1,this._normSign();if(this.negative===0&&h.negative!==0)return h.negative=0,m=this.isub(h),h.negative=1,m._normSign();var S,$;this.length>h.length?(S=this,$=h):(S=h,$=this);for(var R=0,B=0;B<$.length;B++)m=(S.words[B]|0)+($.words[B]|0)+R,this.words[B]=m&67108863,R=m>>>26;for(;R!==0&&B>>26;if(this.length=S.length,R!==0)this.words[this.length]=R,this.length++;else if(S!==this)for(;Bh.length?this.clone().iadd(h):h.clone().iadd(this)},o.prototype.isub=function(h){if(h.negative!==0){h.negative=0;var m=this.iadd(h);return h.negative=1,m._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(h),this.negative=1,this._normSign();var S=this.cmp(h);if(S===0)return this.negative=0,this.length=1,this.words[0]=0,this;var $,R;S>0?($=this,R=h):($=h,R=this);for(var B=0,P=0;P>26,this.words[P]=m&67108863;for(;B!==0&&P<$.length;P++)m=($.words[P]|0)+B,B=m>>26,this.words[P]=m&67108863;if(B===0&&P<$.length&&$!==this)for(;P<$.length;P++)this.words[P]=$.words[P];return this.length=Math.max(this.length,P),$!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(h){return this.clone().isub(h)};function C(g,h,m){m.negative=h.negative^g.negative;var S=g.length+h.length|0;m.length=S,S=S-1|0;var $=g.words[0]|0,R=h.words[0]|0,B=$*R,P=B&67108863,E=B/67108864|0;m.words[0]=P;for(var _=1;_>>26,H=E&67108863,L=Math.min(_,h.length-1),q=Math.max(0,_-g.length+1);q<=L;q++){var X=_-q|0;$=g.words[X]|0,R=h.words[q]|0,B=$*R+H,z+=B/67108864|0,H=B&67108863}m.words[_]=H|0,E=z|0}return E!==0?m.words[_]=E|0:m.length--,m._strip()}var y=function(h,m,S){var $=h.words,R=m.words,B=S.words,P=0,E,_,z,H=$[0]|0,L=H&8191,q=H>>>13,X=$[1]|0,J=X&8191,G=X>>>13,j=$[2]|0,V=j&8191,K=j>>>13,Z=$[3]|0,ee=Z&8191,Q=Z>>>13,ne=$[4]|0,xe=ne&8191,se=ne>>>13,ye=$[5]|0,_e=ye&8191,we=ye>>>13,He=$[6]|0,Ue=He&8191,Me=He>>>13,Ze=$[7]|0,Je=Ze&8191,Ne=Ze>>>13,De=$[8]|0,fe=De&8191,Ie=De>>>13,ot=$[9]|0,lt=ot&8191,ge=ot>>>13,ze=R[0]|0,le=ze&8191,me=ze>>>13,je=R[1]|0,We=je&8191,Oe=je>>>13,Qe=R[2]|0,ut=Qe&8191,Ge=Qe>>>13,te=R[3]|0,re=te&8191,ie=te>>>13,pe=R[4]|0,ke=pe&8191,Te=pe>>>13,$e=R[5]|0,Pe=$e&8191,ce=$e>>>13,Re=R[6]|0,qe=Re&8191,Ce=Re>>>13,Xe=R[7]|0,dt=Xe&8191,Ve=Xe>>>13,ht=R[8]|0,mt=ht&8191,rt=ht>>>13,ae=R[9]|0,oe=ae&8191,ve=ae>>>13;S.negative=h.negative^m.negative,S.length=19,E=Math.imul(L,le),_=Math.imul(L,me),_=_+Math.imul(q,le)|0,z=Math.imul(q,me);var Ae=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,E=Math.imul(J,le),_=Math.imul(J,me),_=_+Math.imul(G,le)|0,z=Math.imul(G,me),E=E+Math.imul(L,We)|0,_=_+Math.imul(L,Oe)|0,_=_+Math.imul(q,We)|0,z=z+Math.imul(q,Oe)|0;var Ye=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(Ye>>>26)|0,Ye&=67108863,E=Math.imul(V,le),_=Math.imul(V,me),_=_+Math.imul(K,le)|0,z=Math.imul(K,me),E=E+Math.imul(J,We)|0,_=_+Math.imul(J,Oe)|0,_=_+Math.imul(G,We)|0,z=z+Math.imul(G,Oe)|0,E=E+Math.imul(L,ut)|0,_=_+Math.imul(L,Ge)|0,_=_+Math.imul(q,ut)|0,z=z+Math.imul(q,Ge)|0;var Le=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(Le>>>26)|0,Le&=67108863,E=Math.imul(ee,le),_=Math.imul(ee,me),_=_+Math.imul(Q,le)|0,z=Math.imul(Q,me),E=E+Math.imul(V,We)|0,_=_+Math.imul(V,Oe)|0,_=_+Math.imul(K,We)|0,z=z+Math.imul(K,Oe)|0,E=E+Math.imul(J,ut)|0,_=_+Math.imul(J,Ge)|0,_=_+Math.imul(G,ut)|0,z=z+Math.imul(G,Ge)|0,E=E+Math.imul(L,re)|0,_=_+Math.imul(L,ie)|0,_=_+Math.imul(q,re)|0,z=z+Math.imul(q,ie)|0;var pt=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(pt>>>26)|0,pt&=67108863,E=Math.imul(xe,le),_=Math.imul(xe,me),_=_+Math.imul(se,le)|0,z=Math.imul(se,me),E=E+Math.imul(ee,We)|0,_=_+Math.imul(ee,Oe)|0,_=_+Math.imul(Q,We)|0,z=z+Math.imul(Q,Oe)|0,E=E+Math.imul(V,ut)|0,_=_+Math.imul(V,Ge)|0,_=_+Math.imul(K,ut)|0,z=z+Math.imul(K,Ge)|0,E=E+Math.imul(J,re)|0,_=_+Math.imul(J,ie)|0,_=_+Math.imul(G,re)|0,z=z+Math.imul(G,ie)|0,E=E+Math.imul(L,ke)|0,_=_+Math.imul(L,Te)|0,_=_+Math.imul(q,ke)|0,z=z+Math.imul(q,Te)|0;var Bt=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,E=Math.imul(_e,le),_=Math.imul(_e,me),_=_+Math.imul(we,le)|0,z=Math.imul(we,me),E=E+Math.imul(xe,We)|0,_=_+Math.imul(xe,Oe)|0,_=_+Math.imul(se,We)|0,z=z+Math.imul(se,Oe)|0,E=E+Math.imul(ee,ut)|0,_=_+Math.imul(ee,Ge)|0,_=_+Math.imul(Q,ut)|0,z=z+Math.imul(Q,Ge)|0,E=E+Math.imul(V,re)|0,_=_+Math.imul(V,ie)|0,_=_+Math.imul(K,re)|0,z=z+Math.imul(K,ie)|0,E=E+Math.imul(J,ke)|0,_=_+Math.imul(J,Te)|0,_=_+Math.imul(G,ke)|0,z=z+Math.imul(G,Te)|0,E=E+Math.imul(L,Pe)|0,_=_+Math.imul(L,ce)|0,_=_+Math.imul(q,Pe)|0,z=z+Math.imul(q,ce)|0;var gt=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(gt>>>26)|0,gt&=67108863,E=Math.imul(Ue,le),_=Math.imul(Ue,me),_=_+Math.imul(Me,le)|0,z=Math.imul(Me,me),E=E+Math.imul(_e,We)|0,_=_+Math.imul(_e,Oe)|0,_=_+Math.imul(we,We)|0,z=z+Math.imul(we,Oe)|0,E=E+Math.imul(xe,ut)|0,_=_+Math.imul(xe,Ge)|0,_=_+Math.imul(se,ut)|0,z=z+Math.imul(se,Ge)|0,E=E+Math.imul(ee,re)|0,_=_+Math.imul(ee,ie)|0,_=_+Math.imul(Q,re)|0,z=z+Math.imul(Q,ie)|0,E=E+Math.imul(V,ke)|0,_=_+Math.imul(V,Te)|0,_=_+Math.imul(K,ke)|0,z=z+Math.imul(K,Te)|0,E=E+Math.imul(J,Pe)|0,_=_+Math.imul(J,ce)|0,_=_+Math.imul(G,Pe)|0,z=z+Math.imul(G,ce)|0,E=E+Math.imul(L,qe)|0,_=_+Math.imul(L,Ce)|0,_=_+Math.imul(q,qe)|0,z=z+Math.imul(q,Ce)|0;var St=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(St>>>26)|0,St&=67108863,E=Math.imul(Je,le),_=Math.imul(Je,me),_=_+Math.imul(Ne,le)|0,z=Math.imul(Ne,me),E=E+Math.imul(Ue,We)|0,_=_+Math.imul(Ue,Oe)|0,_=_+Math.imul(Me,We)|0,z=z+Math.imul(Me,Oe)|0,E=E+Math.imul(_e,ut)|0,_=_+Math.imul(_e,Ge)|0,_=_+Math.imul(we,ut)|0,z=z+Math.imul(we,Ge)|0,E=E+Math.imul(xe,re)|0,_=_+Math.imul(xe,ie)|0,_=_+Math.imul(se,re)|0,z=z+Math.imul(se,ie)|0,E=E+Math.imul(ee,ke)|0,_=_+Math.imul(ee,Te)|0,_=_+Math.imul(Q,ke)|0,z=z+Math.imul(Q,Te)|0,E=E+Math.imul(V,Pe)|0,_=_+Math.imul(V,ce)|0,_=_+Math.imul(K,Pe)|0,z=z+Math.imul(K,ce)|0,E=E+Math.imul(J,qe)|0,_=_+Math.imul(J,Ce)|0,_=_+Math.imul(G,qe)|0,z=z+Math.imul(G,Ce)|0,E=E+Math.imul(L,dt)|0,_=_+Math.imul(L,Ve)|0,_=_+Math.imul(q,dt)|0,z=z+Math.imul(q,Ve)|0;var Ht=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,E=Math.imul(fe,le),_=Math.imul(fe,me),_=_+Math.imul(Ie,le)|0,z=Math.imul(Ie,me),E=E+Math.imul(Je,We)|0,_=_+Math.imul(Je,Oe)|0,_=_+Math.imul(Ne,We)|0,z=z+Math.imul(Ne,Oe)|0,E=E+Math.imul(Ue,ut)|0,_=_+Math.imul(Ue,Ge)|0,_=_+Math.imul(Me,ut)|0,z=z+Math.imul(Me,Ge)|0,E=E+Math.imul(_e,re)|0,_=_+Math.imul(_e,ie)|0,_=_+Math.imul(we,re)|0,z=z+Math.imul(we,ie)|0,E=E+Math.imul(xe,ke)|0,_=_+Math.imul(xe,Te)|0,_=_+Math.imul(se,ke)|0,z=z+Math.imul(se,Te)|0,E=E+Math.imul(ee,Pe)|0,_=_+Math.imul(ee,ce)|0,_=_+Math.imul(Q,Pe)|0,z=z+Math.imul(Q,ce)|0,E=E+Math.imul(V,qe)|0,_=_+Math.imul(V,Ce)|0,_=_+Math.imul(K,qe)|0,z=z+Math.imul(K,Ce)|0,E=E+Math.imul(J,dt)|0,_=_+Math.imul(J,Ve)|0,_=_+Math.imul(G,dt)|0,z=z+Math.imul(G,Ve)|0,E=E+Math.imul(L,mt)|0,_=_+Math.imul(L,rt)|0,_=_+Math.imul(q,mt)|0,z=z+Math.imul(q,rt)|0;var Hr=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(Hr>>>26)|0,Hr&=67108863,E=Math.imul(lt,le),_=Math.imul(lt,me),_=_+Math.imul(ge,le)|0,z=Math.imul(ge,me),E=E+Math.imul(fe,We)|0,_=_+Math.imul(fe,Oe)|0,_=_+Math.imul(Ie,We)|0,z=z+Math.imul(Ie,Oe)|0,E=E+Math.imul(Je,ut)|0,_=_+Math.imul(Je,Ge)|0,_=_+Math.imul(Ne,ut)|0,z=z+Math.imul(Ne,Ge)|0,E=E+Math.imul(Ue,re)|0,_=_+Math.imul(Ue,ie)|0,_=_+Math.imul(Me,re)|0,z=z+Math.imul(Me,ie)|0,E=E+Math.imul(_e,ke)|0,_=_+Math.imul(_e,Te)|0,_=_+Math.imul(we,ke)|0,z=z+Math.imul(we,Te)|0,E=E+Math.imul(xe,Pe)|0,_=_+Math.imul(xe,ce)|0,_=_+Math.imul(se,Pe)|0,z=z+Math.imul(se,ce)|0,E=E+Math.imul(ee,qe)|0,_=_+Math.imul(ee,Ce)|0,_=_+Math.imul(Q,qe)|0,z=z+Math.imul(Q,Ce)|0,E=E+Math.imul(V,dt)|0,_=_+Math.imul(V,Ve)|0,_=_+Math.imul(K,dt)|0,z=z+Math.imul(K,Ve)|0,E=E+Math.imul(J,mt)|0,_=_+Math.imul(J,rt)|0,_=_+Math.imul(G,mt)|0,z=z+Math.imul(G,rt)|0,E=E+Math.imul(L,oe)|0,_=_+Math.imul(L,ve)|0,_=_+Math.imul(q,oe)|0,z=z+Math.imul(q,ve)|0;var Cn=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(Cn>>>26)|0,Cn&=67108863,E=Math.imul(lt,We),_=Math.imul(lt,Oe),_=_+Math.imul(ge,We)|0,z=Math.imul(ge,Oe),E=E+Math.imul(fe,ut)|0,_=_+Math.imul(fe,Ge)|0,_=_+Math.imul(Ie,ut)|0,z=z+Math.imul(Ie,Ge)|0,E=E+Math.imul(Je,re)|0,_=_+Math.imul(Je,ie)|0,_=_+Math.imul(Ne,re)|0,z=z+Math.imul(Ne,ie)|0,E=E+Math.imul(Ue,ke)|0,_=_+Math.imul(Ue,Te)|0,_=_+Math.imul(Me,ke)|0,z=z+Math.imul(Me,Te)|0,E=E+Math.imul(_e,Pe)|0,_=_+Math.imul(_e,ce)|0,_=_+Math.imul(we,Pe)|0,z=z+Math.imul(we,ce)|0,E=E+Math.imul(xe,qe)|0,_=_+Math.imul(xe,Ce)|0,_=_+Math.imul(se,qe)|0,z=z+Math.imul(se,Ce)|0,E=E+Math.imul(ee,dt)|0,_=_+Math.imul(ee,Ve)|0,_=_+Math.imul(Q,dt)|0,z=z+Math.imul(Q,Ve)|0,E=E+Math.imul(V,mt)|0,_=_+Math.imul(V,rt)|0,_=_+Math.imul(K,mt)|0,z=z+Math.imul(K,rt)|0,E=E+Math.imul(J,oe)|0,_=_+Math.imul(J,ve)|0,_=_+Math.imul(G,oe)|0,z=z+Math.imul(G,ve)|0;var gs=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(gs>>>26)|0,gs&=67108863,E=Math.imul(lt,ut),_=Math.imul(lt,Ge),_=_+Math.imul(ge,ut)|0,z=Math.imul(ge,Ge),E=E+Math.imul(fe,re)|0,_=_+Math.imul(fe,ie)|0,_=_+Math.imul(Ie,re)|0,z=z+Math.imul(Ie,ie)|0,E=E+Math.imul(Je,ke)|0,_=_+Math.imul(Je,Te)|0,_=_+Math.imul(Ne,ke)|0,z=z+Math.imul(Ne,Te)|0,E=E+Math.imul(Ue,Pe)|0,_=_+Math.imul(Ue,ce)|0,_=_+Math.imul(Me,Pe)|0,z=z+Math.imul(Me,ce)|0,E=E+Math.imul(_e,qe)|0,_=_+Math.imul(_e,Ce)|0,_=_+Math.imul(we,qe)|0,z=z+Math.imul(we,Ce)|0,E=E+Math.imul(xe,dt)|0,_=_+Math.imul(xe,Ve)|0,_=_+Math.imul(se,dt)|0,z=z+Math.imul(se,Ve)|0,E=E+Math.imul(ee,mt)|0,_=_+Math.imul(ee,rt)|0,_=_+Math.imul(Q,mt)|0,z=z+Math.imul(Q,rt)|0,E=E+Math.imul(V,oe)|0,_=_+Math.imul(V,ve)|0,_=_+Math.imul(K,oe)|0,z=z+Math.imul(K,ve)|0;var vs=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(vs>>>26)|0,vs&=67108863,E=Math.imul(lt,re),_=Math.imul(lt,ie),_=_+Math.imul(ge,re)|0,z=Math.imul(ge,ie),E=E+Math.imul(fe,ke)|0,_=_+Math.imul(fe,Te)|0,_=_+Math.imul(Ie,ke)|0,z=z+Math.imul(Ie,Te)|0,E=E+Math.imul(Je,Pe)|0,_=_+Math.imul(Je,ce)|0,_=_+Math.imul(Ne,Pe)|0,z=z+Math.imul(Ne,ce)|0,E=E+Math.imul(Ue,qe)|0,_=_+Math.imul(Ue,Ce)|0,_=_+Math.imul(Me,qe)|0,z=z+Math.imul(Me,Ce)|0,E=E+Math.imul(_e,dt)|0,_=_+Math.imul(_e,Ve)|0,_=_+Math.imul(we,dt)|0,z=z+Math.imul(we,Ve)|0,E=E+Math.imul(xe,mt)|0,_=_+Math.imul(xe,rt)|0,_=_+Math.imul(se,mt)|0,z=z+Math.imul(se,rt)|0,E=E+Math.imul(ee,oe)|0,_=_+Math.imul(ee,ve)|0,_=_+Math.imul(Q,oe)|0,z=z+Math.imul(Q,ve)|0;var bs=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(bs>>>26)|0,bs&=67108863,E=Math.imul(lt,ke),_=Math.imul(lt,Te),_=_+Math.imul(ge,ke)|0,z=Math.imul(ge,Te),E=E+Math.imul(fe,Pe)|0,_=_+Math.imul(fe,ce)|0,_=_+Math.imul(Ie,Pe)|0,z=z+Math.imul(Ie,ce)|0,E=E+Math.imul(Je,qe)|0,_=_+Math.imul(Je,Ce)|0,_=_+Math.imul(Ne,qe)|0,z=z+Math.imul(Ne,Ce)|0,E=E+Math.imul(Ue,dt)|0,_=_+Math.imul(Ue,Ve)|0,_=_+Math.imul(Me,dt)|0,z=z+Math.imul(Me,Ve)|0,E=E+Math.imul(_e,mt)|0,_=_+Math.imul(_e,rt)|0,_=_+Math.imul(we,mt)|0,z=z+Math.imul(we,rt)|0,E=E+Math.imul(xe,oe)|0,_=_+Math.imul(xe,ve)|0,_=_+Math.imul(se,oe)|0,z=z+Math.imul(se,ve)|0;var ys=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(ys>>>26)|0,ys&=67108863,E=Math.imul(lt,Pe),_=Math.imul(lt,ce),_=_+Math.imul(ge,Pe)|0,z=Math.imul(ge,ce),E=E+Math.imul(fe,qe)|0,_=_+Math.imul(fe,Ce)|0,_=_+Math.imul(Ie,qe)|0,z=z+Math.imul(Ie,Ce)|0,E=E+Math.imul(Je,dt)|0,_=_+Math.imul(Je,Ve)|0,_=_+Math.imul(Ne,dt)|0,z=z+Math.imul(Ne,Ve)|0,E=E+Math.imul(Ue,mt)|0,_=_+Math.imul(Ue,rt)|0,_=_+Math.imul(Me,mt)|0,z=z+Math.imul(Me,rt)|0,E=E+Math.imul(_e,oe)|0,_=_+Math.imul(_e,ve)|0,_=_+Math.imul(we,oe)|0,z=z+Math.imul(we,ve)|0;var ws=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(ws>>>26)|0,ws&=67108863,E=Math.imul(lt,qe),_=Math.imul(lt,Ce),_=_+Math.imul(ge,qe)|0,z=Math.imul(ge,Ce),E=E+Math.imul(fe,dt)|0,_=_+Math.imul(fe,Ve)|0,_=_+Math.imul(Ie,dt)|0,z=z+Math.imul(Ie,Ve)|0,E=E+Math.imul(Je,mt)|0,_=_+Math.imul(Je,rt)|0,_=_+Math.imul(Ne,mt)|0,z=z+Math.imul(Ne,rt)|0,E=E+Math.imul(Ue,oe)|0,_=_+Math.imul(Ue,ve)|0,_=_+Math.imul(Me,oe)|0,z=z+Math.imul(Me,ve)|0;var Ss=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(Ss>>>26)|0,Ss&=67108863,E=Math.imul(lt,dt),_=Math.imul(lt,Ve),_=_+Math.imul(ge,dt)|0,z=Math.imul(ge,Ve),E=E+Math.imul(fe,mt)|0,_=_+Math.imul(fe,rt)|0,_=_+Math.imul(Ie,mt)|0,z=z+Math.imul(Ie,rt)|0,E=E+Math.imul(Je,oe)|0,_=_+Math.imul(Je,ve)|0,_=_+Math.imul(Ne,oe)|0,z=z+Math.imul(Ne,ve)|0;var Cs=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(Cs>>>26)|0,Cs&=67108863,E=Math.imul(lt,mt),_=Math.imul(lt,rt),_=_+Math.imul(ge,mt)|0,z=Math.imul(ge,rt),E=E+Math.imul(fe,oe)|0,_=_+Math.imul(fe,ve)|0,_=_+Math.imul(Ie,oe)|0,z=z+Math.imul(Ie,ve)|0;var hx=(P+E|0)+((_&8191)<<13)|0;P=(z+(_>>>13)|0)+(hx>>>26)|0,hx&=67108863,E=Math.imul(lt,oe),_=Math.imul(lt,ve),_=_+Math.imul(ge,oe)|0,z=Math.imul(ge,ve);var px=(P+E|0)+((_&8191)<<13)|0;return P=(z+(_>>>13)|0)+(px>>>26)|0,px&=67108863,B[0]=Ae,B[1]=Ye,B[2]=Le,B[3]=pt,B[4]=Bt,B[5]=gt,B[6]=St,B[7]=Ht,B[8]=Hr,B[9]=Cn,B[10]=gs,B[11]=vs,B[12]=bs,B[13]=ys,B[14]=ws,B[15]=Ss,B[16]=Cs,B[17]=hx,B[18]=px,P!==0&&(B[19]=P,S.length++),S};Math.imul||(y=C);function M(g,h,m){m.negative=h.negative^g.negative,m.length=g.length+h.length;for(var S=0,$=0,R=0;R>>26)|0,$+=B>>>26,B&=67108863}m.words[R]=P,S=B,B=$}return S!==0?m.words[R]=S:m.length--,m._strip()}function I(g,h,m){return M(g,h,m)}o.prototype.mulTo=function(h,m){var S,$=this.length+h.length;return this.length===10&&h.length===10?S=y(this,h,m):$<63?S=C(this,h,m):$<1024?S=M(this,h,m):S=I(this,h,m),S},o.prototype.mul=function(h){var m=new o(null);return m.words=new Array(this.length+h.length),this.mulTo(h,m)},o.prototype.mulf=function(h){var m=new o(null);return m.words=new Array(this.length+h.length),I(this,h,m)},o.prototype.imul=function(h){return this.clone().mulTo(h,this)},o.prototype.imuln=function(h){var m=h<0;m&&(h=-h),n(typeof h=="number"),n(h<67108864);for(var S=0,$=0;$>=26,S+=R/67108864|0,S+=B>>>26,this.words[$]=B&67108863}return S!==0&&(this.words[$]=S,this.length++),m?this.ineg():this},o.prototype.muln=function(h){return this.clone().imuln(h)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(h){var m=w(h);if(m.length===0)return new o(1);for(var S=this,$=0;$=0);var m=h%26,S=(h-m)/26,$=67108863>>>26-m<<26-m,R;if(m!==0){var B=0;for(R=0;R>>26-m}B&&(this.words[R]=B,this.length++)}if(S!==0){for(R=this.length-1;R>=0;R--)this.words[R+S]=this.words[R];for(R=0;R=0);var $;m?$=(m-m%26)/26:$=0;var R=h%26,B=Math.min((h-R)/26,this.length),P=67108863^67108863>>>R<B)for(this.length-=B,_=0;_=0&&(z!==0||_>=$);_--){var H=this.words[_]|0;this.words[_]=z<<26-R|H>>>R,z=H&P}return E&&z!==0&&(E.words[E.length++]=z),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(h,m,S){return n(this.negative===0),this.iushrn(h,m,S)},o.prototype.shln=function(h){return this.clone().ishln(h)},o.prototype.ushln=function(h){return this.clone().iushln(h)},o.prototype.shrn=function(h){return this.clone().ishrn(h)},o.prototype.ushrn=function(h){return this.clone().iushrn(h)},o.prototype.testn=function(h){n(typeof h=="number"&&h>=0);var m=h%26,S=(h-m)/26,$=1<=0);var m=h%26,S=(h-m)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=S)return this;if(m!==0&&S++,this.length=Math.min(S,this.length),m!==0){var $=67108863^67108863>>>m<=67108864;m++)this.words[m]-=67108864,m===this.length-1?this.words[m+1]=1:this.words[m+1]++;return this.length=Math.max(this.length,m+1),this},o.prototype.isubn=function(h){if(n(typeof h=="number"),n(h<67108864),h<0)return this.iaddn(-h);if(this.negative!==0)return this.negative=0,this.iaddn(h),this.negative=1,this;if(this.words[0]-=h,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var m=0;m>26)-(E/67108864|0),this.words[R+S]=B&67108863}for(;R>26,this.words[R+S]=B&67108863;if(P===0)return this._strip();for(n(P===-1),P=0,R=0;R>26,this.words[R]=B&67108863;return this.negative=1,this._strip()},o.prototype._wordDiv=function(h,m){var S=this.length-h.length,$=this.clone(),R=h,B=R.words[R.length-1]|0,P=this._countBits(B);S=26-P,S!==0&&(R=R.ushln(S),$.iushln(S),B=R.words[R.length-1]|0);var E=$.length-R.length,_;if(m!=="mod"){_=new o(null),_.length=E+1,_.words=new Array(_.length);for(var z=0;z<_.length;z++)_.words[z]=0}var H=$.clone()._ishlnsubmul(R,1,E);H.negative===0&&($=H,_&&(_.words[E]=1));for(var L=E-1;L>=0;L--){var q=($.words[R.length+L]|0)*67108864+($.words[R.length+L-1]|0);for(q=Math.min(q/B|0,67108863),$._ishlnsubmul(R,q,L);$.negative!==0;)q--,$.negative=0,$._ishlnsubmul(R,1,L),$.isZero()||($.negative^=1);_&&(_.words[L]=q)}return _&&_._strip(),$._strip(),m!=="div"&&S!==0&&$.iushrn(S),{div:_||null,mod:$}},o.prototype.divmod=function(h,m,S){if(n(!h.isZero()),this.isZero())return{div:new o(0),mod:new o(0)};var $,R,B;return this.negative!==0&&h.negative===0?(B=this.neg().divmod(h,m),m!=="mod"&&($=B.div.neg()),m!=="div"&&(R=B.mod.neg(),S&&R.negative!==0&&R.iadd(h)),{div:$,mod:R}):this.negative===0&&h.negative!==0?(B=this.divmod(h.neg(),m),m!=="mod"&&($=B.div.neg()),{div:$,mod:B.mod}):this.negative&h.negative?(B=this.neg().divmod(h.neg(),m),m!=="div"&&(R=B.mod.neg(),S&&R.negative!==0&&R.isub(h)),{div:B.div,mod:R}):h.length>this.length||this.cmp(h)<0?{div:new o(0),mod:this}:h.length===1?m==="div"?{div:this.divn(h.words[0]),mod:null}:m==="mod"?{div:null,mod:new o(this.modrn(h.words[0]))}:{div:this.divn(h.words[0]),mod:new o(this.modrn(h.words[0]))}:this._wordDiv(h,m)},o.prototype.div=function(h){return this.divmod(h,"div",!1).div},o.prototype.mod=function(h){return this.divmod(h,"mod",!1).mod},o.prototype.umod=function(h){return this.divmod(h,"mod",!0).mod},o.prototype.divRound=function(h){var m=this.divmod(h);if(m.mod.isZero())return m.div;var S=m.div.negative!==0?m.mod.isub(h):m.mod,$=h.ushrn(1),R=h.andln(1),B=S.cmp($);return B<0||R===1&&B===0?m.div:m.div.negative!==0?m.div.isubn(1):m.div.iaddn(1)},o.prototype.modrn=function(h){var m=h<0;m&&(h=-h),n(h<=67108863);for(var S=(1<<26)%h,$=0,R=this.length-1;R>=0;R--)$=(S*$+(this.words[R]|0))%h;return m?-$:$},o.prototype.modn=function(h){return this.modrn(h)},o.prototype.idivn=function(h){var m=h<0;m&&(h=-h),n(h<=67108863);for(var S=0,$=this.length-1;$>=0;$--){var R=(this.words[$]|0)+S*67108864;this.words[$]=R/h|0,S=R%h}return this._strip(),m?this.ineg():this},o.prototype.divn=function(h){return this.clone().idivn(h)},o.prototype.egcd=function(h){n(h.negative===0),n(!h.isZero());var m=this,S=h.clone();m.negative!==0?m=m.umod(h):m=m.clone();for(var $=new o(1),R=new o(0),B=new o(0),P=new o(1),E=0;m.isEven()&&S.isEven();)m.iushrn(1),S.iushrn(1),++E;for(var _=S.clone(),z=m.clone();!m.isZero();){for(var H=0,L=1;!(m.words[0]&L)&&H<26;++H,L<<=1);if(H>0)for(m.iushrn(H);H-- >0;)($.isOdd()||R.isOdd())&&($.iadd(_),R.isub(z)),$.iushrn(1),R.iushrn(1);for(var q=0,X=1;!(S.words[0]&X)&&q<26;++q,X<<=1);if(q>0)for(S.iushrn(q);q-- >0;)(B.isOdd()||P.isOdd())&&(B.iadd(_),P.isub(z)),B.iushrn(1),P.iushrn(1);m.cmp(S)>=0?(m.isub(S),$.isub(B),R.isub(P)):(S.isub(m),B.isub($),P.isub(R))}return{a:B,b:P,gcd:S.iushln(E)}},o.prototype._invmp=function(h){n(h.negative===0),n(!h.isZero());var m=this,S=h.clone();m.negative!==0?m=m.umod(h):m=m.clone();for(var $=new o(1),R=new o(0),B=S.clone();m.cmpn(1)>0&&S.cmpn(1)>0;){for(var P=0,E=1;!(m.words[0]&E)&&P<26;++P,E<<=1);if(P>0)for(m.iushrn(P);P-- >0;)$.isOdd()&&$.iadd(B),$.iushrn(1);for(var _=0,z=1;!(S.words[0]&z)&&_<26;++_,z<<=1);if(_>0)for(S.iushrn(_);_-- >0;)R.isOdd()&&R.iadd(B),R.iushrn(1);m.cmp(S)>=0?(m.isub(S),$.isub(R)):(S.isub(m),R.isub($))}var H;return m.cmpn(1)===0?H=$:H=R,H.cmpn(0)<0&&H.iadd(h),H},o.prototype.gcd=function(h){if(this.isZero())return h.abs();if(h.isZero())return this.abs();var m=this.clone(),S=h.clone();m.negative=0,S.negative=0;for(var $=0;m.isEven()&&S.isEven();$++)m.iushrn(1),S.iushrn(1);do{for(;m.isEven();)m.iushrn(1);for(;S.isEven();)S.iushrn(1);var R=m.cmp(S);if(R<0){var B=m;m=S,S=B}else if(R===0||S.cmpn(1)===0)break;m.isub(S)}while(!0);return S.iushln($)},o.prototype.invm=function(h){return this.egcd(h).a.umod(h)},o.prototype.isEven=function(){return(this.words[0]&1)===0},o.prototype.isOdd=function(){return(this.words[0]&1)===1},o.prototype.andln=function(h){return this.words[0]&h},o.prototype.bincn=function(h){n(typeof h=="number");var m=h%26,S=(h-m)/26,$=1<>>26,P&=67108863,this.words[B]=P}return R!==0&&(this.words[B]=R,this.length++),this},o.prototype.isZero=function(){return this.length===1&&this.words[0]===0},o.prototype.cmpn=function(h){var m=h<0;if(this.negative!==0&&!m)return-1;if(this.negative===0&&m)return 1;this._strip();var S;if(this.length>1)S=1;else{m&&(h=-h),n(h<=67108863,"Number is too big");var $=this.words[0]|0;S=$===h?0:$h.length)return 1;if(this.length=0;S--){var $=this.words[S]|0,R=h.words[S]|0;if($!==R){$R&&(m=1);break}}return m},o.prototype.gtn=function(h){return this.cmpn(h)===1},o.prototype.gt=function(h){return this.cmp(h)===1},o.prototype.gten=function(h){return this.cmpn(h)>=0},o.prototype.gte=function(h){return this.cmp(h)>=0},o.prototype.ltn=function(h){return this.cmpn(h)===-1},o.prototype.lt=function(h){return this.cmp(h)===-1},o.prototype.lten=function(h){return this.cmpn(h)<=0},o.prototype.lte=function(h){return this.cmp(h)<=0},o.prototype.eqn=function(h){return this.cmpn(h)===0},o.prototype.eq=function(h){return this.cmp(h)===0},o.red=function(h){return new A(h)},o.prototype.toRed=function(h){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),h.convertTo(this)._forceRed(h)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(h){return this.red=h,this},o.prototype.forceRed=function(h){return n(!this.red,"Already a number in reduction context"),this._forceRed(h)},o.prototype.redAdd=function(h){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,h)},o.prototype.redIAdd=function(h){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,h)},o.prototype.redSub=function(h){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,h)},o.prototype.redISub=function(h){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,h)},o.prototype.redShl=function(h){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,h)},o.prototype.redMul=function(h){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.mul(this,h)},o.prototype.redIMul=function(h){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.imul(this,h)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(h){return n(this.red&&!h.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,h)};var N={k256:null,p224:null,p192:null,p25519:null};function O(g,h){this.name=g,this.p=new o(h,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}O.prototype._tmp=function(){var h=new o(null);return h.words=new Array(Math.ceil(this.n/13)),h},O.prototype.ireduce=function(h){var m=h,S;do this.split(m,this.tmp),m=this.imulK(m),m=m.iadd(this.tmp),S=m.bitLength();while(S>this.n);var $=S0?m.isub(this.p):m.strip!==void 0?m.strip():m._strip(),m},O.prototype.split=function(h,m){h.iushrn(this.n,0,m)},O.prototype.imulK=function(h){return h.imul(this.k)};function D(){O.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i(D,O),D.prototype.split=function(h,m){for(var S=4194303,$=Math.min(h.length,9),R=0;R<$;R++)m.words[R]=h.words[R];if(m.length=$,h.length<=9){h.words[0]=0,h.length=1;return}var B=h.words[9];for(m.words[m.length++]=B&S,R=10;R>>22,B=P}B>>>=22,h.words[R-10]=B,B===0&&h.length>10?h.length-=10:h.length-=9},D.prototype.imulK=function(h){h.words[h.length]=0,h.words[h.length+1]=0,h.length+=2;for(var m=0,S=0;S>>=26,h.words[S]=R,m=$}return m!==0&&(h.words[h.length++]=m),h},o._prime=function(h){if(N[h])return N[h];var m;if(h==="k256")m=new D;else if(h==="p224")m=new T;else if(h==="p192")m=new F;else if(h==="p25519")m=new k;else throw new Error("Unknown prime "+h);return N[h]=m,m};function A(g){if(typeof g=="string"){var h=o._prime(g);this.m=h.p,this.prime=h}else n(g.gtn(1),"modulus must be greater than 1"),this.m=g,this.prime=null}A.prototype._verify1=function(h){n(h.negative===0,"red works only with positives"),n(h.red,"red works only with red numbers")},A.prototype._verify2=function(h,m){n((h.negative|m.negative)===0,"red works only with positives"),n(h.red&&h.red===m.red,"red works only with red numbers")},A.prototype.imod=function(h){return this.prime?this.prime.ireduce(h)._forceRed(this):(u(h,h.umod(this.m)._forceRed(this)),h)},A.prototype.neg=function(h){return h.isZero()?h.clone():this.m.sub(h)._forceRed(this)},A.prototype.add=function(h,m){this._verify2(h,m);var S=h.add(m);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},A.prototype.iadd=function(h,m){this._verify2(h,m);var S=h.iadd(m);return S.cmp(this.m)>=0&&S.isub(this.m),S},A.prototype.sub=function(h,m){this._verify2(h,m);var S=h.sub(m);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},A.prototype.isub=function(h,m){this._verify2(h,m);var S=h.isub(m);return S.cmpn(0)<0&&S.iadd(this.m),S},A.prototype.shl=function(h,m){return this._verify1(h),this.imod(h.ushln(m))},A.prototype.imul=function(h,m){return this._verify2(h,m),this.imod(h.imul(m))},A.prototype.mul=function(h,m){return this._verify2(h,m),this.imod(h.mul(m))},A.prototype.isqr=function(h){return this.imul(h,h.clone())},A.prototype.sqr=function(h){return this.mul(h,h)},A.prototype.sqrt=function(h){if(h.isZero())return h.clone();var m=this.m.andln(3);if(n(m%2===1),m===3){var S=this.m.add(new o(1)).iushrn(2);return this.pow(h,S)}for(var $=this.m.subn(1),R=0;!$.isZero()&&$.andln(1)===0;)R++,$.iushrn(1);n(!$.isZero());var B=new o(1).toRed(this),P=B.redNeg(),E=this.m.subn(1).iushrn(1),_=this.m.bitLength();for(_=new o(2*_*_).toRed(this);this.pow(_,E).cmp(P)!==0;)_.redIAdd(P);for(var z=this.pow(_,$),H=this.pow(h,$.addn(1).iushrn(1)),L=this.pow(h,$),q=R;L.cmp(B)!==0;){for(var X=L,J=0;X.cmp(B)!==0;J++)X=X.redSqr();n(J=0;R--){for(var z=m.words[R],H=_-1;H>=0;H--){var L=z>>H&1;if(B!==$[0]&&(B=this.sqr(B)),L===0&&P===0){E=0;continue}P<<=1,P|=L,E++,!(E!==S&&(R!==0||H!==0))&&(B=this.mul(B,$[P]),E=0,P=0)}_=26}return B},A.prototype.convertTo=function(h){var m=h.umod(this.m);return m===h?m.clone():m},A.prototype.convertFrom=function(h){var m=h.clone();return m.red=null,m},o.mont=function(h){return new x(h)};function x(g){A.call(this,g),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}i(x,A),x.prototype.convertTo=function(h){return this.imod(h.ushln(this.shift))},x.prototype.convertFrom=function(h){var m=this.imod(h.mul(this.rinv));return m.red=null,m},x.prototype.imul=function(h,m){if(h.isZero()||m.isZero())return h.words[0]=0,h.length=1,h;var S=h.imul(m),$=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),R=S.isub($).iushrn(this.shift),B=R;return R.cmp(this.m)>=0?B=R.isub(this.m):R.cmpn(0)<0&&(B=R.iadd(this.m)),B._forceRed(this)},x.prototype.mul=function(h,m){if(h.isZero()||m.isZero())return new o(0)._forceRed(this);var S=h.mul(m),$=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),R=S.isub($).iushrn(this.shift),B=R;return R.cmp(this.m)>=0?B=R.isub(this.m):R.cmpn(0)<0&&(B=R.iadd(this.m)),B._forceRed(this)},x.prototype.invm=function(h){var m=this.imod(h._invmp(this.m).mul(this.r2));return m._forceRed(this)}})(e,st)})(c3);var Jie=c3.exports;const yt=Pr(Jie),Zie="logger/5.7.0";let H7=!1,W7=!1;const sh={debug:1,default:2,info:2,warning:3,error:4,off:5};let q7=sh.default,cg=null;function Qie(){try{const e=[];if(["NFD","NFC","NFKD","NFKC"].forEach(t=>{try{if("test".normalize(t)!=="test")throw new Error("bad normalize")}catch{e.push(t)}}),e.length)throw new Error("missing "+e.join(", "));if("é".normalize("NFD")!=="é")throw new Error("broken implementation")}catch(e){return e.message}return null}const V7=Qie();var A2;(function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"})(A2||(A2={}));var Ji;(function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"})(Ji||(Ji={}));const K7="0123456789abcdef";class ct{constructor(t){Object.defineProperty(this,"version",{enumerable:!0,value:t,writable:!1})}_log(t,r){const n=t.toLowerCase();sh[n]==null&&this.throwArgumentError("invalid log level name","logLevel",t),q7>sh[n]}debug(...t){this._log(ct.levels.DEBUG,t)}info(...t){this._log(ct.levels.INFO,t)}warn(...t){this._log(ct.levels.WARNING,t)}makeError(t,r,n){if(W7)return this.makeError("censored error",r,{});r||(r=ct.errors.UNKNOWN_ERROR),n||(n={});const i=[];Object.keys(n).forEach(l=>{const c=n[l];try{if(c instanceof Uint8Array){let u="";for(let f=0;f>4],u+=K7[c[f]&15];i.push(l+"=Uint8Array(0x"+u+")")}else i.push(l+"="+JSON.stringify(c))}catch{i.push(l+"="+JSON.stringify(n[l].toString()))}}),i.push(`code=${r}`),i.push(`version=${this.version}`);const o=t;let a="";switch(r){case Ji.NUMERIC_FAULT:{a="NUMERIC_FAULT";const l=t;switch(l){case"overflow":case"underflow":case"division-by-zero":a+="-"+l;break;case"negative-power":case"negative-width":a+="-unsupported";break;case"unbound-bitwise-result":a+="-unbound-result";break}break}case Ji.CALL_EXCEPTION:case Ji.INSUFFICIENT_FUNDS:case Ji.MISSING_NEW:case Ji.NONCE_EXPIRED:case Ji.REPLACEMENT_UNDERPRICED:case Ji.TRANSACTION_REPLACED:case Ji.UNPREDICTABLE_GAS_LIMIT:a=r;break}a&&(t+=" [ See: https://links.ethers.org/v5-errors-"+a+" ]"),i.length&&(t+=" ("+i.join(", ")+")");const s=new Error(t);return s.reason=o,s.code=r,Object.keys(n).forEach(function(l){s[l]=n[l]}),s}throwError(t,r,n){throw this.makeError(t,r,n)}throwArgumentError(t,r,n){return this.throwError(t,ct.errors.INVALID_ARGUMENT,{argument:r,value:n})}assert(t,r,n,i){t||this.throwError(r,n,i)}assertArgument(t,r,n,i){t||this.throwArgumentError(r,n,i)}checkNormalize(t){V7&&this.throwError("platform missing String.prototype.normalize",ct.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:V7})}checkSafeUint53(t,r){typeof t=="number"&&(r==null&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,ct.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,ct.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}checkArgumentCount(t,r,n){n?n=": "+n:n="",tr&&this.throwError("too many arguments"+n,ct.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})}checkNew(t,r){(t===Object||t==null)&&this.throwError("missing new",ct.errors.MISSING_NEW,{name:r.name})}checkAbstract(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",ct.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):(t===Object||t==null)&&this.throwError("missing new",ct.errors.MISSING_NEW,{name:r.name})}static globalLogger(){return cg||(cg=new ct(Zie)),cg}static setCensorship(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",ct.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),H7){if(!t)return;this.globalLogger().throwError("error censorship permanent",ct.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}W7=!!t,H7=!!r}static setLogLevel(t){const r=sh[t.toLowerCase()];if(r==null){ct.globalLogger().warn("invalid log level - "+t);return}q7=r}static from(t){return new ct(t)}}ct.errors=Ji;ct.levels=A2;const eoe="bytes/5.7.0",mr=new ct(eoe);function dA(e){return!!e.toHexString}function xc(e){return e.slice||(e.slice=function(){const t=Array.prototype.slice.call(arguments);return xc(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function u3(e){return ln(e)&&!(e.length%2)||du(e)}function G7(e){return typeof e=="number"&&e==e&&e%1===0}function du(e){if(e==null)return!1;if(e.constructor===Uint8Array)return!0;if(typeof e=="string"||!G7(e.length)||e.length<0)return!1;for(let t=0;t=256)return!1}return!0}function at(e,t){if(t||(t={}),typeof e=="number"){mr.checkSafeUint53(e,"invalid arrayify value");const r=[];for(;e;)r.unshift(e&255),e=parseInt(String(e/256));return r.length===0&&r.push(0),xc(new Uint8Array(r))}if(t.allowMissingPrefix&&typeof e=="string"&&e.substring(0,2)!=="0x"&&(e="0x"+e),dA(e)&&(e=e.toHexString()),ln(e)){let r=e.substring(2);r.length%2&&(t.hexPad==="left"?r="0"+r:t.hexPad==="right"?r+="0":mr.throwArgumentError("hex data is odd-length","value",e));const n=[];for(let i=0;iat(i)),r=t.reduce((i,o)=>i+o.length,0),n=new Uint8Array(r);return t.reduce((i,o)=>(n.set(o,i),i+o.length),0),xc(n)}function Ja(e){let t=at(e);if(t.length===0)return t;let r=0;for(;rt&&mr.throwArgumentError("value out of range","value",arguments[0]);const r=new Uint8Array(t);return r.set(e,t-e.length),xc(r)}function ln(e,t){return!(typeof e!="string"||!e.match(/^0x[0-9A-Fa-f]*$/)||t&&e.length!==2+2*t)}const ug="0123456789abcdef";function vt(e,t){if(t||(t={}),typeof e=="number"){mr.checkSafeUint53(e,"invalid hexlify value");let r="";for(;e;)r=ug[e&15]+r,e=Math.floor(e/16);return r.length?(r.length%2&&(r="0"+r),"0x"+r):"0x00"}if(typeof e=="bigint")return e=e.toString(16),e.length%2?"0x0"+e:"0x"+e;if(t.allowMissingPrefix&&typeof e=="string"&&e.substring(0,2)!=="0x"&&(e="0x"+e),dA(e))return e.toHexString();if(ln(e))return e.length%2&&(t.hexPad==="left"?e="0x0"+e.substring(2):t.hexPad==="right"?e+="0":mr.throwArgumentError("hex data is odd-length","value",e)),e.toLowerCase();if(du(e)){let r="0x";for(let n=0;n>4]+ug[i&15]}return r}return mr.throwArgumentError("invalid hexlify value","value",e)}function hA(e){if(typeof e!="string")e=vt(e);else if(!ln(e)||e.length%2)return null;return(e.length-2)/2}function h0(e,t,r){return typeof e!="string"?e=vt(e):(!ln(e)||e.length%2)&&mr.throwArgumentError("invalid hexData","value",e),t=2+2*t,r!=null?"0x"+e.substring(t,2+2*r):"0x"+e.substring(t)}function mc(e){let t="0x";return e.forEach(r=>{t+=vt(r).substring(2)}),t}function Fn(e,t){for(typeof e!="string"?e=vt(e):ln(e)||mr.throwArgumentError("invalid hex string","value",e),e.length>2*t+2&&mr.throwArgumentError("value out of range","value",arguments[1]);e.length<2*t+2;)e="0x0"+e.substring(2);return e}function W0(e){const t={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(u3(e)){let r=at(e);r.length===64?(t.v=27+(r[32]>>7),r[32]&=127,t.r=vt(r.slice(0,32)),t.s=vt(r.slice(32,64))):r.length===65?(t.r=vt(r.slice(0,32)),t.s=vt(r.slice(32,64)),t.v=r[64]):mr.throwArgumentError("invalid signature string","signature",e),t.v<27&&(t.v===0||t.v===1?t.v+=27:mr.throwArgumentError("signature invalid v byte","signature",e)),t.recoveryParam=1-t.v%2,t.recoveryParam&&(r[32]|=128),t._vs=vt(r.slice(32,64))}else{if(t.r=e.r,t.s=e.s,t.v=e.v,t.recoveryParam=e.recoveryParam,t._vs=e._vs,t._vs!=null){const i=toe(at(t._vs),32);t._vs=vt(i);const o=i[0]>=128?1:0;t.recoveryParam==null?t.recoveryParam=o:t.recoveryParam!==o&&mr.throwArgumentError("signature recoveryParam mismatch _vs","signature",e),i[0]&=127;const a=vt(i);t.s==null?t.s=a:t.s!==a&&mr.throwArgumentError("signature v mismatch _vs","signature",e)}if(t.recoveryParam==null)t.v==null?mr.throwArgumentError("signature missing v and recoveryParam","signature",e):t.v===0||t.v===1?t.recoveryParam=t.v:t.recoveryParam=1-t.v%2;else if(t.v==null)t.v=27+t.recoveryParam;else{const i=t.v===0||t.v===1?t.v:1-t.v%2;t.recoveryParam!==i&&mr.throwArgumentError("signature recoveryParam mismatch v","signature",e)}t.r==null||!ln(t.r)?mr.throwArgumentError("signature missing or invalid r","signature",e):t.r=Fn(t.r,32),t.s==null||!ln(t.s)?mr.throwArgumentError("signature missing or invalid s","signature",e):t.s=Fn(t.s,32);const r=at(t.s);r[0]>=128&&mr.throwArgumentError("signature s out of range","signature",e),t.recoveryParam&&(r[0]|=128);const n=vt(r);t._vs&&(ln(t._vs)||mr.throwArgumentError("signature invalid _vs","signature",e),t._vs=Fn(t._vs,32)),t._vs==null?t._vs=n:t._vs!==n&&mr.throwArgumentError("signature _vs mismatch v and s","signature",e)}return t.yParityAndS=t._vs,t.compact=t.r+t.yParityAndS.substring(2),t}function Y7(e){return e=W0(e),vt(ns([e.r,e.s,e.recoveryParam?"0x1c":"0x1b"]))}const pA="bignumber/5.7.0";var cp=yt.BN;const qo=new ct(pA),fg={},X7=9007199254740991;function roe(e){return e!=null&&(_t.isBigNumber(e)||typeof e=="number"&&e%1===0||typeof e=="string"&&!!e.match(/^-?[0-9]+$/)||ln(e)||typeof e=="bigint"||du(e))}let J7=!1;class _t{constructor(t,r){t!==fg&&qo.throwError("cannot call constructor directly; use BigNumber.from",ct.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=r,this._isBigNumber=!0,Object.freeze(this)}fromTwos(t){return En(Pt(this).fromTwos(t))}toTwos(t){return En(Pt(this).toTwos(t))}abs(){return this._hex[0]==="-"?_t.from(this._hex.substring(1)):this}add(t){return En(Pt(this).add(Pt(t)))}sub(t){return En(Pt(this).sub(Pt(t)))}div(t){return _t.from(t).isZero()&&di("division-by-zero","div"),En(Pt(this).div(Pt(t)))}mul(t){return En(Pt(this).mul(Pt(t)))}mod(t){const r=Pt(t);return r.isNeg()&&di("division-by-zero","mod"),En(Pt(this).umod(r))}pow(t){const r=Pt(t);return r.isNeg()&&di("negative-power","pow"),En(Pt(this).pow(r))}and(t){const r=Pt(t);return(this.isNegative()||r.isNeg())&&di("unbound-bitwise-result","and"),En(Pt(this).and(r))}or(t){const r=Pt(t);return(this.isNegative()||r.isNeg())&&di("unbound-bitwise-result","or"),En(Pt(this).or(r))}xor(t){const r=Pt(t);return(this.isNegative()||r.isNeg())&&di("unbound-bitwise-result","xor"),En(Pt(this).xor(r))}mask(t){return(this.isNegative()||t<0)&&di("negative-width","mask"),En(Pt(this).maskn(t))}shl(t){return(this.isNegative()||t<0)&&di("negative-width","shl"),En(Pt(this).shln(t))}shr(t){return(this.isNegative()||t<0)&&di("negative-width","shr"),En(Pt(this).shrn(t))}eq(t){return Pt(this).eq(Pt(t))}lt(t){return Pt(this).lt(Pt(t))}lte(t){return Pt(this).lte(Pt(t))}gt(t){return Pt(this).gt(Pt(t))}gte(t){return Pt(this).gte(Pt(t))}isNegative(){return this._hex[0]==="-"}isZero(){return Pt(this).isZero()}toNumber(){try{return Pt(this).toNumber()}catch{di("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return qo.throwError("this platform does not support BigInt",ct.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?J7||(J7=!0,qo.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?qo.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",ct.errors.UNEXPECTED_ARGUMENT,{}):qo.throwError("BigNumber.toString does not accept parameters",ct.errors.UNEXPECTED_ARGUMENT,{})),Pt(this).toString(10)}toHexString(){return this._hex}toJSON(t){return{type:"BigNumber",hex:this.toHexString()}}static from(t){if(t instanceof _t)return t;if(typeof t=="string")return t.match(/^-?0x[0-9a-f]+$/i)?new _t(fg,p0(t)):t.match(/^-?[0-9]+$/)?new _t(fg,p0(new cp(t))):qo.throwArgumentError("invalid BigNumber string","value",t);if(typeof t=="number")return t%1&&di("underflow","BigNumber.from",t),(t>=X7||t<=-X7)&&di("overflow","BigNumber.from",t),_t.from(String(t));const r=t;if(typeof r=="bigint")return _t.from(r.toString());if(du(r))return _t.from(vt(r));if(r)if(r.toHexString){const n=r.toHexString();if(typeof n=="string")return _t.from(n)}else{let n=r._hex;if(n==null&&r.type==="BigNumber"&&(n=r.hex),typeof n=="string"&&(ln(n)||n[0]==="-"&&ln(n.substring(1))))return _t.from(n)}return qo.throwArgumentError("invalid BigNumber value","value",t)}static isBigNumber(t){return!!(t&&t._isBigNumber)}}function p0(e){if(typeof e!="string")return p0(e.toString(16));if(e[0]==="-")return e=e.substring(1),e[0]==="-"&&qo.throwArgumentError("invalid hex","value",e),e=p0(e),e==="0x00"?e:"-"+e;if(e.substring(0,2)!=="0x"&&(e="0x"+e),e==="0x")return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&e.substring(0,4)==="0x00";)e="0x"+e.substring(4);return e}function En(e){return _t.from(p0(e))}function Pt(e){const t=_t.from(e).toHexString();return t[0]==="-"?new cp("-"+t.substring(3),16):new cp(t.substring(2),16)}function di(e,t,r){const n={fault:e,operation:t};return r!=null&&(n.value=r),qo.throwError(e,ct.errors.NUMERIC_FAULT,n)}function noe(e){return new cp(e,36).toString(16)}const pn=new ct(pA),_f={},xA=_t.from(0),mA=_t.from(-1);function gA(e,t,r,n){const i={fault:t,operation:r};return n!==void 0&&(i.value=n),pn.throwError(e,ct.errors.NUMERIC_FAULT,i)}let Rf="0";for(;Rf.length<256;)Rf+=Rf;function f3(e){if(typeof e!="number")try{e=_t.from(e).toNumber()}catch{}return typeof e=="number"&&e>=0&&e<=256&&!(e%1)?"1"+Rf.substring(0,e):pn.throwArgumentError("invalid decimal size","decimals",e)}function lh(e,t){t==null&&(t=0);const r=f3(t);e=_t.from(e);const n=e.lt(xA);n&&(e=e.mul(mA));let i=e.mod(r).toString();for(;i.length2&&pn.throwArgumentError("too many decimal points","value",e);let o=i[0],a=i[1];for(o||(o="0"),a||(a="0");a[a.length-1]==="0";)a=a.substring(0,a.length-1);for(a.length>r.length-1&&gA("fractional component exceeds decimals","underflow","parseFixed"),a===""&&(a="0");a.lengtht[a]==null?l:(typeof t[a]!==s&&pn.throwArgumentError("invalid fixed format ("+a+" not "+s+")","format."+a,t[a]),t[a]);r=o("signed","boolean",r),n=o("width","number",n),i=o("decimals","number",i)}return n%8&&pn.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",n),i>80&&pn.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",i),new gc(_f,r,n,i)}}class qr{constructor(t,r,n,i){t!==_f&&pn.throwError("cannot use FixedNumber constructor; use FixedNumber.from",ct.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=i,this._hex=r,this._value=n,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(t){this.format.name!==t.format.name&&pn.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",t)}addUnsafe(t){this._checkFormat(t);const r=po(this._value,this.format.decimals),n=po(t._value,t.format.decimals);return qr.fromValue(r.add(n),this.format.decimals,this.format)}subUnsafe(t){this._checkFormat(t);const r=po(this._value,this.format.decimals),n=po(t._value,t.format.decimals);return qr.fromValue(r.sub(n),this.format.decimals,this.format)}mulUnsafe(t){this._checkFormat(t);const r=po(this._value,this.format.decimals),n=po(t._value,t.format.decimals);return qr.fromValue(r.mul(n).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(t){this._checkFormat(t);const r=po(this._value,this.format.decimals),n=po(t._value,t.format.decimals);return qr.fromValue(r.mul(this.format._multiplier).div(n),this.format.decimals,this.format)}floor(){const t=this.toString().split(".");t.length===1&&t.push("0");let r=qr.from(t[0],this.format);const n=!t[1].match(/^(0*)$/);return this.isNegative()&&n&&(r=r.subUnsafe(Z7.toFormat(r.format))),r}ceiling(){const t=this.toString().split(".");t.length===1&&t.push("0");let r=qr.from(t[0],this.format);const n=!t[1].match(/^(0*)$/);return!this.isNegative()&&n&&(r=r.addUnsafe(Z7.toFormat(r.format))),r}round(t){t==null&&(t=0);const r=this.toString().split(".");if(r.length===1&&r.push("0"),(t<0||t>80||t%1)&&pn.throwArgumentError("invalid decimal count","decimals",t),r[1].length<=t)return this;const n=qr.from("1"+Rf.substring(0,t),this.format),i=ioe.toFormat(this.format);return this.mulUnsafe(n).addUnsafe(i).floor().divUnsafe(n)}isZero(){return this._value==="0.0"||this._value==="0"}isNegative(){return this._value[0]==="-"}toString(){return this._value}toHexString(t){if(t==null)return this._hex;t%8&&pn.throwArgumentError("invalid byte width","width",t);const r=_t.from(this._hex).fromTwos(this.format.width).toTwos(t).toHexString();return Fn(r,t/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(t){return qr.fromString(this._value,t)}static fromValue(t,r,n){return n==null&&r!=null&&!roe(r)&&(n=r,r=null),r==null&&(r=0),n==null&&(n="fixed"),qr.fromString(lh(t,r),gc.from(n))}static fromString(t,r){r==null&&(r="fixed");const n=gc.from(r),i=po(t,n.decimals);!n.signed&&i.lt(xA)&&gA("unsigned value cannot be negative","overflow","value",t);let o=null;n.signed?o=i.toTwos(n.width).toHexString():(o=i.toHexString(),o=Fn(o,n.width/8));const a=lh(i,n.decimals);return new qr(_f,o,a,n)}static fromBytes(t,r){r==null&&(r="fixed");const n=gc.from(r);if(at(t).length>n.width/8)throw new Error("overflow");let i=_t.from(t);n.signed&&(i=i.fromTwos(n.width));const o=i.toTwos((n.signed?0:1)+n.width).toHexString(),a=lh(i,n.decimals);return new qr(_f,o,a,n)}static from(t,r){if(typeof t=="string")return qr.fromString(t,r);if(du(t))return qr.fromBytes(t,r);try{return qr.fromValue(t,0,r)}catch(n){if(n.code!==ct.errors.INVALID_ARGUMENT)throw n}return pn.throwArgumentError("invalid FixedNumber value","value",t)}static isFixedNumber(t){return!!(t&&t._isFixedNumber)}}const Z7=qr.from(1),ioe=qr.from("0.5"),ooe="properties/5.7.0";var aoe=function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(u){try{c(n.next(u))}catch(f){a(f)}}function l(u){try{c(n.throw(u))}catch(f){a(f)}}function c(u){u.done?o(u.value):i(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})};const up=new ct(ooe);function wt(e,t,r){Object.defineProperty(e,t,{enumerable:!0,value:r,writable:!1})}function ic(e){return aoe(this,void 0,void 0,function*(){const t=Object.keys(e).map(n=>{const i=e[n];return Promise.resolve(i).then(o=>({key:n,value:o}))});return(yield Promise.all(t)).reduce((n,i)=>(n[i.key]=i.value,n),{})})}function soe(e,t){(!e||typeof e!="object")&&up.throwArgumentError("invalid object","object",e),Object.keys(e).forEach(r=>{t[r]||up.throwArgumentError("invalid object key - "+r,"transaction:"+r,e)})}function k2(e){const t={};for(const r in e)t[r]=e[r];return t}const loe={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function vA(e){if(e==null||loe[typeof e])return!0;if(Array.isArray(e)||typeof e=="object"){if(!Object.isFrozen(e))return!1;const t=Object.keys(e);for(let r=0;rfp(t)));if(typeof e=="object"){const t={};for(const r in e){const n=e[r];n!==void 0&&wt(t,r,fp(n))}return t}return up.throwArgumentError(`Cannot deepCopy ${typeof e}`,"object",e)}function fp(e){return coe(e)}class bA{constructor(t){for(const r in t)this[r]=fp(t[r])}}var yA={exports:{}};/** + * [js-sha3]{@link https://github.com/emn178/js-sha3} + * + * @version 0.8.0 + * @author Chen, Yi-Cyuan [emn178@gmail.com] + * @copyright Chen, Yi-Cyuan 2015-2018 + * @license MIT + */(function(e){(function(){var t="input is invalid type",r="finalize already called",n=typeof window=="object",i=n?window:{};i.JS_SHA3_NO_WINDOW&&(n=!1);var o=!n&&typeof self=="object",a=!i.JS_SHA3_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;a?i=st:o&&(i=self);var s=!i.JS_SHA3_NO_COMMON_JS&&!0&&e.exports,l=!i.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",c="0123456789abcdef".split(""),u=[31,7936,2031616,520093696],f=[4,1024,262144,67108864],d=[1,256,65536,16777216],b=[6,1536,393216,100663296],p=[0,8,16,24],v=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],w=[224,256,384,512],C=[128,256],y=["hex","buffer","arrayBuffer","array","digest"],M={128:168,256:136};(i.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(L){return Object.prototype.toString.call(L)==="[object Array]"}),l&&(i.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(L){return typeof L=="object"&&L.buffer&&L.buffer.constructor===ArrayBuffer});for(var I=function(L,q,X){return function(J){return new _(L,q,L).update(J)[X]()}},N=function(L,q,X){return function(J,G){return new _(L,q,G).update(J)[X]()}},O=function(L,q,X){return function(J,G,j,V){return h["cshake"+L].update(J,G,j,V)[X]()}},D=function(L,q,X){return function(J,G,j,V){return h["kmac"+L].update(J,G,j,V)[X]()}},T=function(L,q,X,J){for(var G=0;G>5,this.byteCount=this.blockCount<<2,this.outputBlocks=X>>5,this.extraBytes=(X&31)>>3;for(var J=0;J<50;++J)this.s[J]=0}_.prototype.update=function(L){if(this.finalized)throw new Error(r);var q,X=typeof L;if(X!=="string"){if(X==="object"){if(L===null)throw new Error(t);if(l&&L.constructor===ArrayBuffer)L=new Uint8Array(L);else if(!Array.isArray(L)&&(!l||!ArrayBuffer.isView(L)))throw new Error(t)}else throw new Error(t);q=!0}for(var J=this.blocks,G=this.byteCount,j=L.length,V=this.blockCount,K=0,Z=this.s,ee,Q;K>2]|=L[K]<>2]|=Q<>2]|=(192|Q>>6)<>2]|=(128|Q&63)<=57344?(J[ee>>2]|=(224|Q>>12)<>2]|=(128|Q>>6&63)<>2]|=(128|Q&63)<>2]|=(240|Q>>18)<>2]|=(128|Q>>12&63)<>2]|=(128|Q>>6&63)<>2]|=(128|Q&63)<=G){for(this.start=ee-G,this.block=J[V],ee=0;ee>8,X=L&255;X>0;)G.unshift(X),L=L>>8,X=L&255,++J;return q?G.push(J):G.unshift(J),this.update(G),G.length},_.prototype.encodeString=function(L){var q,X=typeof L;if(X!=="string"){if(X==="object"){if(L===null)throw new Error(t);if(l&&L.constructor===ArrayBuffer)L=new Uint8Array(L);else if(!Array.isArray(L)&&(!l||!ArrayBuffer.isView(L)))throw new Error(t)}else throw new Error(t);q=!0}var J=0,G=L.length;if(q)J=G;else for(var j=0;j=57344?J+=3:(V=65536+((V&1023)<<10|L.charCodeAt(++j)&1023),J+=4)}return J+=this.encode(J*8),this.update(L),J},_.prototype.bytepad=function(L,q){for(var X=this.encode(q),J=0;J>2]|=this.padding[q&3],this.lastByteIndex===this.byteCount)for(L[0]=L[X],q=1;q>4&15]+c[K&15]+c[K>>12&15]+c[K>>8&15]+c[K>>20&15]+c[K>>16&15]+c[K>>28&15]+c[K>>24&15];j%L===0&&(H(q),G=0)}return J&&(K=q[G],V+=c[K>>4&15]+c[K&15],J>1&&(V+=c[K>>12&15]+c[K>>8&15]),J>2&&(V+=c[K>>20&15]+c[K>>16&15])),V},_.prototype.arrayBuffer=function(){this.finalize();var L=this.blockCount,q=this.s,X=this.outputBlocks,J=this.extraBytes,G=0,j=0,V=this.outputBits>>3,K;J?K=new ArrayBuffer(X+1<<2):K=new ArrayBuffer(V);for(var Z=new Uint32Array(K);j>8&255,V[K+2]=Z>>16&255,V[K+3]=Z>>24&255;j%L===0&&H(q)}return J&&(K=j<<2,Z=q[G],V[K]=Z&255,J>1&&(V[K+1]=Z>>8&255),J>2&&(V[K+2]=Z>>16&255)),V};function z(L,q,X){_.call(this,L,q,X)}z.prototype=new _,z.prototype.finalize=function(){return this.encode(this.outputBits,!0),_.prototype.finalize.call(this)};var H=function(L){var q,X,J,G,j,V,K,Z,ee,Q,ne,xe,se,ye,_e,we,He,Ue,Me,Ze,Je,Ne,De,fe,Ie,ot,lt,ge,ze,le,me,je,We,Oe,Qe,ut,Ge,te,re,ie,pe,ke,Te,$e,Pe,ce,Re,qe,Ce,Xe,dt,Ve,ht,mt,rt,ae,oe,ve,Ae,Ye,Le,pt,Bt;for(J=0;J<48;J+=2)G=L[0]^L[10]^L[20]^L[30]^L[40],j=L[1]^L[11]^L[21]^L[31]^L[41],V=L[2]^L[12]^L[22]^L[32]^L[42],K=L[3]^L[13]^L[23]^L[33]^L[43],Z=L[4]^L[14]^L[24]^L[34]^L[44],ee=L[5]^L[15]^L[25]^L[35]^L[45],Q=L[6]^L[16]^L[26]^L[36]^L[46],ne=L[7]^L[17]^L[27]^L[37]^L[47],xe=L[8]^L[18]^L[28]^L[38]^L[48],se=L[9]^L[19]^L[29]^L[39]^L[49],q=xe^(V<<1|K>>>31),X=se^(K<<1|V>>>31),L[0]^=q,L[1]^=X,L[10]^=q,L[11]^=X,L[20]^=q,L[21]^=X,L[30]^=q,L[31]^=X,L[40]^=q,L[41]^=X,q=G^(Z<<1|ee>>>31),X=j^(ee<<1|Z>>>31),L[2]^=q,L[3]^=X,L[12]^=q,L[13]^=X,L[22]^=q,L[23]^=X,L[32]^=q,L[33]^=X,L[42]^=q,L[43]^=X,q=V^(Q<<1|ne>>>31),X=K^(ne<<1|Q>>>31),L[4]^=q,L[5]^=X,L[14]^=q,L[15]^=X,L[24]^=q,L[25]^=X,L[34]^=q,L[35]^=X,L[44]^=q,L[45]^=X,q=Z^(xe<<1|se>>>31),X=ee^(se<<1|xe>>>31),L[6]^=q,L[7]^=X,L[16]^=q,L[17]^=X,L[26]^=q,L[27]^=X,L[36]^=q,L[37]^=X,L[46]^=q,L[47]^=X,q=Q^(G<<1|j>>>31),X=ne^(j<<1|G>>>31),L[8]^=q,L[9]^=X,L[18]^=q,L[19]^=X,L[28]^=q,L[29]^=X,L[38]^=q,L[39]^=X,L[48]^=q,L[49]^=X,ye=L[0],_e=L[1],ce=L[11]<<4|L[10]>>>28,Re=L[10]<<4|L[11]>>>28,ge=L[20]<<3|L[21]>>>29,ze=L[21]<<3|L[20]>>>29,Ye=L[31]<<9|L[30]>>>23,Le=L[30]<<9|L[31]>>>23,ke=L[40]<<18|L[41]>>>14,Te=L[41]<<18|L[40]>>>14,Oe=L[2]<<1|L[3]>>>31,Qe=L[3]<<1|L[2]>>>31,we=L[13]<<12|L[12]>>>20,He=L[12]<<12|L[13]>>>20,qe=L[22]<<10|L[23]>>>22,Ce=L[23]<<10|L[22]>>>22,le=L[33]<<13|L[32]>>>19,me=L[32]<<13|L[33]>>>19,pt=L[42]<<2|L[43]>>>30,Bt=L[43]<<2|L[42]>>>30,mt=L[5]<<30|L[4]>>>2,rt=L[4]<<30|L[5]>>>2,ut=L[14]<<6|L[15]>>>26,Ge=L[15]<<6|L[14]>>>26,Ue=L[25]<<11|L[24]>>>21,Me=L[24]<<11|L[25]>>>21,Xe=L[34]<<15|L[35]>>>17,dt=L[35]<<15|L[34]>>>17,je=L[45]<<29|L[44]>>>3,We=L[44]<<29|L[45]>>>3,fe=L[6]<<28|L[7]>>>4,Ie=L[7]<<28|L[6]>>>4,ae=L[17]<<23|L[16]>>>9,oe=L[16]<<23|L[17]>>>9,te=L[26]<<25|L[27]>>>7,re=L[27]<<25|L[26]>>>7,Ze=L[36]<<21|L[37]>>>11,Je=L[37]<<21|L[36]>>>11,Ve=L[47]<<24|L[46]>>>8,ht=L[46]<<24|L[47]>>>8,$e=L[8]<<27|L[9]>>>5,Pe=L[9]<<27|L[8]>>>5,ot=L[18]<<20|L[19]>>>12,lt=L[19]<<20|L[18]>>>12,ve=L[29]<<7|L[28]>>>25,Ae=L[28]<<7|L[29]>>>25,ie=L[38]<<8|L[39]>>>24,pe=L[39]<<8|L[38]>>>24,Ne=L[48]<<14|L[49]>>>18,De=L[49]<<14|L[48]>>>18,L[0]=ye^~we&Ue,L[1]=_e^~He&Me,L[10]=fe^~ot&ge,L[11]=Ie^~lt&ze,L[20]=Oe^~ut&te,L[21]=Qe^~Ge&re,L[30]=$e^~ce&qe,L[31]=Pe^~Re&Ce,L[40]=mt^~ae&ve,L[41]=rt^~oe&Ae,L[2]=we^~Ue&Ze,L[3]=He^~Me&Je,L[12]=ot^~ge&le,L[13]=lt^~ze&me,L[22]=ut^~te&ie,L[23]=Ge^~re&pe,L[32]=ce^~qe&Xe,L[33]=Re^~Ce&dt,L[42]=ae^~ve&Ye,L[43]=oe^~Ae&Le,L[4]=Ue^~Ze&Ne,L[5]=Me^~Je&De,L[14]=ge^~le&je,L[15]=ze^~me&We,L[24]=te^~ie&ke,L[25]=re^~pe&Te,L[34]=qe^~Xe&Ve,L[35]=Ce^~dt&ht,L[44]=ve^~Ye&pt,L[45]=Ae^~Le&Bt,L[6]=Ze^~Ne&ye,L[7]=Je^~De&_e,L[16]=le^~je&fe,L[17]=me^~We&Ie,L[26]=ie^~ke&Oe,L[27]=pe^~Te&Qe,L[36]=Xe^~Ve&$e,L[37]=dt^~ht&Pe,L[46]=Ye^~pt&mt,L[47]=Le^~Bt&rt,L[8]=Ne^~ye&we,L[9]=De^~_e&He,L[18]=je^~fe&ot,L[19]=We^~Ie<,L[28]=ke^~Oe&ut,L[29]=Te^~Qe&Ge,L[38]=Ve^~$e&ce,L[39]=ht^~Pe&Re,L[48]=pt^~mt&ae,L[49]=Bt^~rt&oe,L[0]^=v[J],L[1]^=v[J+1]};if(s)e.exports=h;else for(S=0;S>=8;return t}function wA(e){if(Array.isArray(e)){let n=[];if(e.forEach(function(o){n=n.concat(wA(o))}),n.length<=55)return n.unshift(192+n.length),n;const i=Q7(n.length);return i.unshift(247+i.length),i.concat(n)}u3(e)||hoe.throwArgumentError("RLP object must be BytesLike","object",e);const t=Array.prototype.slice.call(at(e));if(t.length===1&&t[0]<=127)return t;if(t.length<=55)return t.unshift(128+t.length),t;const r=Q7(t.length);return r.unshift(183+r.length),r.concat(t)}function dp(e){return vt(wA(e))}const poe="address/5.7.0",sf=new ct(poe);function e9(e){ln(e,20)||sf.throwArgumentError("invalid address","address",e),e=e.toLowerCase();const t=e.substring(2).split(""),r=new Uint8Array(40);for(let i=0;i<40;i++)r[i]=t[i].charCodeAt(0);const n=at(xn(r));for(let i=0;i<40;i+=2)n[i>>1]>>4>=8&&(t[i]=t[i].toUpperCase()),(n[i>>1]&15)>=8&&(t[i+1]=t[i+1].toUpperCase());return"0x"+t.join("")}const xoe=9007199254740991;function moe(e){return Math.log10?Math.log10(e):Math.log(e)/Math.LN10}const d3={};for(let e=0;e<10;e++)d3[String(e)]=String(e);for(let e=0;e<26;e++)d3[String.fromCharCode(65+e)]=String(10+e);const t9=Math.floor(moe(xoe));function goe(e){e=e.toUpperCase(),e=e.substring(4)+e.substring(0,2)+"00";let t=e.split("").map(n=>d3[n]).join("");for(;t.length>=t9;){let n=t.substring(0,t9);t=parseInt(n,10)%97+t.substring(n.length)}let r=String(98-parseInt(t,10)%97);for(;r.length<2;)r="0"+r;return r}function Fi(e){let t=null;if(typeof e!="string"&&sf.throwArgumentError("invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/))e.substring(0,2)!=="0x"&&(e="0x"+e),t=e9(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&t!==e&&sf.throwArgumentError("bad address checksum","address",e);else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(e.substring(2,4)!==goe(e)&&sf.throwArgumentError("bad icap checksum","address",e),t=noe(e.substring(4));t.length<40;)t="0"+t;t=e9("0x"+t)}else sf.throwArgumentError("invalid address","address",e);return t}function g0e(e){try{return Fi(e),!0}catch{}return!1}const voe="strings/5.7.0",boe=new ct(voe);var cl;(function(e){e.current="",e.NFC="NFC",e.NFD="NFD",e.NFKC="NFKC",e.NFKD="NFKD"})(cl||(cl={}));var r9;(function(e){e.UNEXPECTED_CONTINUE="unexpected continuation byte",e.BAD_PREFIX="bad codepoint prefix",e.OVERRUN="string overrun",e.MISSING_CONTINUE="missing continuation byte",e.OUT_OF_RANGE="out of UTF-8 range",e.UTF16_SURROGATE="UTF-16 surrogate",e.OVERLONG="overlong representation"})(r9||(r9={}));function oa(e,t=cl.current){t!=cl.current&&(boe.checkNormalize(),e=e.normalize(t));let r=[];for(let n=0;n>6|192),r.push(i&63|128);else if((i&64512)==55296){n++;const o=e.charCodeAt(n);if(n>=e.length||(o&64512)!==56320)throw new Error("invalid utf-8 string");const a=65536+((i&1023)<<10)+(o&1023);r.push(a>>18|240),r.push(a>>12&63|128),r.push(a>>6&63|128),r.push(a&63|128)}else r.push(i>>12|224),r.push(i>>6&63|128),r.push(i&63|128)}return at(r)}function h3(e){return xn(oa(e))}const yoe="hash/5.7.0",woe=`Ethereum Signed Message: +`;function Soe(e){return typeof e=="string"&&(e=oa(e)),xn(ns([oa(woe),oa(String(e.length)),e]))}var Coe=function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(u){try{c(n.next(u))}catch(f){a(f)}}function l(u){try{c(n.throw(u))}catch(f){a(f)}}function c(u){u.done?o(u.value):i(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})};const tr=new ct(yoe),SA=new Uint8Array(32);SA.fill(0);const Eoe=_t.from(-1),CA=_t.from(0),EA=_t.from(1),Moe=_t.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");function Poe(e){const t=at(e),r=t.length%32;return r?mc([t,SA.slice(r)]):vt(t)}const Aoe=Fn(EA.toHexString(),32),koe=Fn(CA.toHexString(),32),n9={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},dg=["name","version","chainId","verifyingContract","salt"];function i9(e){return function(t){return typeof t!="string"&&tr.throwArgumentError(`invalid domain value for ${JSON.stringify(e)}`,`domain.${e}`,t),t}}const _oe={name:i9("name"),version:i9("version"),chainId:function(e){try{return _t.from(e).toString()}catch{}return tr.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",e)},verifyingContract:function(e){try{return Fi(e).toLowerCase()}catch{}return tr.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",e)},salt:function(e){try{const t=at(e);if(t.length!==32)throw new Error("bad length");return vt(t)}catch{}return tr.throwArgumentError('invalid domain value "salt"',"domain.salt",e)}};function hg(e){{const t=e.match(/^(u?)int(\d*)$/);if(t){const r=t[1]==="",n=parseInt(t[2]||"256");(n%8!==0||n>256||t[2]&&t[2]!==String(n))&&tr.throwArgumentError("invalid numeric width","type",e);const i=Moe.mask(r?n-1:n),o=r?i.add(EA).mul(Eoe):CA;return function(a){const s=_t.from(a);return(s.lt(o)||s.gt(i))&&tr.throwArgumentError(`value out-of-bounds for ${e}`,"value",a),Fn(s.toTwos(256).toHexString(),32)}}}{const t=e.match(/^bytes(\d+)$/);if(t){const r=parseInt(t[1]);return(r===0||r>32||t[1]!==String(r))&&tr.throwArgumentError("invalid bytes width","type",e),function(n){return at(n).length!==r&&tr.throwArgumentError(`invalid length for ${e}`,"value",n),Poe(n)}}}switch(e){case"address":return function(t){return Fn(Fi(t),32)};case"bool":return function(t){return t?Aoe:koe};case"bytes":return function(t){return xn(t)};case"string":return function(t){return h3(t)}}return null}function o9(e,t){return`${e}(${t.map(({name:r,type:n})=>n+" "+r).join(",")})`}class Wn{constructor(t){wt(this,"types",Object.freeze(fp(t))),wt(this,"_encoderCache",{}),wt(this,"_types",{});const r={},n={},i={};Object.keys(t).forEach(s=>{r[s]={},n[s]=[],i[s]={}});for(const s in t){const l={};t[s].forEach(c=>{l[c.name]&&tr.throwArgumentError(`duplicate variable name ${JSON.stringify(c.name)} in ${JSON.stringify(s)}`,"types",t),l[c.name]=!0;const u=c.type.match(/^([^\x5b]*)(\x5b|$)/)[1];u===s&&tr.throwArgumentError(`circular type reference to ${JSON.stringify(u)}`,"types",t),!hg(u)&&(n[u]||tr.throwArgumentError(`unknown type ${JSON.stringify(u)}`,"types",t),n[u].push(s),r[s][u]=!0)})}const o=Object.keys(n).filter(s=>n[s].length===0);o.length===0?tr.throwArgumentError("missing primary type","types",t):o.length>1&&tr.throwArgumentError(`ambiguous primary types or unused types: ${o.map(s=>JSON.stringify(s)).join(", ")}`,"types",t),wt(this,"primaryType",o[0]);function a(s,l){l[s]&&tr.throwArgumentError(`circular type reference to ${JSON.stringify(s)}`,"types",t),l[s]=!0,Object.keys(r[s]).forEach(c=>{n[c]&&(a(c,l),Object.keys(l).forEach(u=>{i[u][c]=!0}))}),delete l[s]}a(this.primaryType,{});for(const s in i){const l=Object.keys(i[s]);l.sort(),this._types[s]=o9(s,t[s])+l.map(c=>o9(c,t[c])).join("")}}getEncoder(t){let r=this._encoderCache[t];return r||(r=this._encoderCache[t]=this._getEncoder(t)),r}_getEncoder(t){{const i=hg(t);if(i)return i}const r=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(r){const i=r[1],o=this.getEncoder(i),a=parseInt(r[3]);return s=>{a>=0&&s.length!==a&&tr.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",s);let l=s.map(o);return this._types[i]&&(l=l.map(xn)),xn(mc(l))}}const n=this.types[t];if(n){const i=h3(this._types[t]);return o=>{const a=n.map(({name:s,type:l})=>{const c=this.getEncoder(l)(o[s]);return this._types[l]?xn(c):c});return a.unshift(i),mc(a)}}return tr.throwArgumentError(`unknown type: ${t}`,"type",t)}encodeType(t){const r=this._types[t];return r||tr.throwArgumentError(`unknown type: ${JSON.stringify(t)}`,"name",t),r}encodeData(t,r){return this.getEncoder(t)(r)}hashStruct(t,r){return xn(this.encodeData(t,r))}encode(t){return this.encodeData(this.primaryType,t)}hash(t){return this.hashStruct(this.primaryType,t)}_visit(t,r,n){if(hg(t))return n(t,r);const i=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(i){const a=i[1],s=parseInt(i[3]);return s>=0&&r.length!==s&&tr.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",r),r.map(l=>this._visit(a,l,n))}const o=this.types[t];return o?o.reduce((a,{name:s,type:l})=>(a[s]=this._visit(l,r[s],n),a),{}):tr.throwArgumentError(`unknown type: ${t}`,"type",t)}visit(t,r){return this._visit(this.primaryType,t,r)}static from(t){return new Wn(t)}static getPrimaryType(t){return Wn.from(t).primaryType}static hashStruct(t,r,n){return Wn.from(r).hashStruct(t,n)}static hashDomain(t){const r=[];for(const n in t){const i=n9[n];i||tr.throwArgumentError(`invalid typed-data domain key: ${JSON.stringify(n)}`,"domain",t),r.push({name:n,type:i})}return r.sort((n,i)=>dg.indexOf(n.name)-dg.indexOf(i.name)),Wn.hashStruct("EIP712Domain",{EIP712Domain:r},t)}static encode(t,r,n){return mc(["0x1901",Wn.hashDomain(t),Wn.from(r).hash(n)])}static hash(t,r,n){return xn(Wn.encode(t,r,n))}static resolveNames(t,r,n,i){return Coe(this,void 0,void 0,function*(){t=k2(t);const o={};t.verifyingContract&&!ln(t.verifyingContract,20)&&(o[t.verifyingContract]="0x");const a=Wn.from(r);a.visit(n,(s,l)=>(s==="address"&&!ln(l,20)&&(o[l]="0x"),l));for(const s in o)o[s]=yield i(s);return t.verifyingContract&&o[t.verifyingContract]&&(t.verifyingContract=o[t.verifyingContract]),n=a.visit(n,(s,l)=>s==="address"&&o[l]?o[l]:l),{domain:t,value:n}})}static getPayload(t,r,n){Wn.hashDomain(t);const i={},o=[];dg.forEach(l=>{const c=t[l];c!=null&&(i[l]=_oe[l](c),o.push({name:l,type:n9[l]}))});const a=Wn.from(r),s=k2(r);return s.EIP712Domain?tr.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",r):s.EIP712Domain=o,a.encode(n),{types:s,domain:i,primaryType:a.primaryType,message:a.visit(n,(l,c)=>{if(l.match(/^bytes(\d*)/))return vt(at(c));if(l.match(/^u?int/))return _t.from(c).toString();switch(l){case"address":return c.toLowerCase();case"bool":return!!c;case"string":return typeof c!="string"&&tr.throwArgumentError("invalid string","value",c),c}return tr.throwArgumentError("unsupported type","type",l)})}}}const Roe="abstract-provider/5.7.0";var Toe=function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(u){try{c(n.next(u))}catch(f){a(f)}}function l(u){try{c(n.throw(u))}catch(f){a(f)}}function c(u){u.done?o(u.value):i(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})};const $oe=new ct(Roe);class p3{constructor(){$oe.checkAbstract(new.target,p3),wt(this,"_isProvider",!0)}getFeeData(){return Toe(this,void 0,void 0,function*(){const{block:t,gasPrice:r}=yield ic({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch(a=>null)});let n=null,i=null,o=null;return t&&t.baseFeePerGas&&(n=t.baseFeePerGas,o=_t.from("1500000000"),i=t.baseFeePerGas.mul(2).add(o)),{lastBaseFeePerGas:n,maxFeePerGas:i,maxPriorityFeePerGas:o,gasPrice:r}})}addListener(t,r){return this.on(t,r)}removeListener(t,r){return this.off(t,r)}static isProvider(t){return!!(t&&t._isProvider)}}const Boe="abstract-signer/5.7.0";var Gi=function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(u){try{c(n.next(u))}catch(f){a(f)}}function l(u){try{c(n.throw(u))}catch(f){a(f)}}function c(u){u.done?o(u.value):i(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})};const Yi=new ct(Boe),Ioe=["accessList","ccipReadEnabled","chainId","customData","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],Ooe=[ct.errors.INSUFFICIENT_FUNDS,ct.errors.NONCE_EXPIRED,ct.errors.REPLACEMENT_UNDERPRICED];class x3{constructor(){Yi.checkAbstract(new.target,x3),wt(this,"_isSigner",!0)}getBalance(t){return Gi(this,void 0,void 0,function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),t)})}getTransactionCount(t){return Gi(this,void 0,void 0,function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),t)})}estimateGas(t){return Gi(this,void 0,void 0,function*(){this._checkProvider("estimateGas");const r=yield ic(this.checkTransaction(t));return yield this.provider.estimateGas(r)})}call(t,r){return Gi(this,void 0,void 0,function*(){this._checkProvider("call");const n=yield ic(this.checkTransaction(t));return yield this.provider.call(n,r)})}sendTransaction(t){return Gi(this,void 0,void 0,function*(){this._checkProvider("sendTransaction");const r=yield this.populateTransaction(t),n=yield this.signTransaction(r);return yield this.provider.sendTransaction(n)})}getChainId(){return Gi(this,void 0,void 0,function*(){return this._checkProvider("getChainId"),(yield this.provider.getNetwork()).chainId})}getGasPrice(){return Gi(this,void 0,void 0,function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()})}getFeeData(){return Gi(this,void 0,void 0,function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()})}resolveName(t){return Gi(this,void 0,void 0,function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(t)})}checkTransaction(t){for(const n in t)Ioe.indexOf(n)===-1&&Yi.throwArgumentError("invalid transaction key: "+n,"transaction",t);const r=k2(t);return r.from==null?r.from=this.getAddress():r.from=Promise.all([Promise.resolve(r.from),this.getAddress()]).then(n=>(n[0].toLowerCase()!==n[1].toLowerCase()&&Yi.throwArgumentError("from address mismatch","transaction",t),n[0])),r}populateTransaction(t){return Gi(this,void 0,void 0,function*(){const r=yield ic(this.checkTransaction(t));r.to!=null&&(r.to=Promise.resolve(r.to).then(i=>Gi(this,void 0,void 0,function*(){if(i==null)return null;const o=yield this.resolveName(i);return o==null&&Yi.throwArgumentError("provided ENS name resolves to null","tx.to",i),o})),r.to.catch(i=>{}));const n=r.maxFeePerGas!=null||r.maxPriorityFeePerGas!=null;if(r.gasPrice!=null&&(r.type===2||n)?Yi.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",t):(r.type===0||r.type===1)&&n&&Yi.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",t),(r.type===2||r.type==null)&&r.maxFeePerGas!=null&&r.maxPriorityFeePerGas!=null)r.type=2;else if(r.type===0||r.type===1)r.gasPrice==null&&(r.gasPrice=this.getGasPrice());else{const i=yield this.getFeeData();if(r.type==null)if(i.maxFeePerGas!=null&&i.maxPriorityFeePerGas!=null)if(r.type=2,r.gasPrice!=null){const o=r.gasPrice;delete r.gasPrice,r.maxFeePerGas=o,r.maxPriorityFeePerGas=o}else r.maxFeePerGas==null&&(r.maxFeePerGas=i.maxFeePerGas),r.maxPriorityFeePerGas==null&&(r.maxPriorityFeePerGas=i.maxPriorityFeePerGas);else i.gasPrice!=null?(n&&Yi.throwError("network does not support EIP-1559",ct.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),r.gasPrice==null&&(r.gasPrice=i.gasPrice),r.type=0):Yi.throwError("failed to get consistent fee data",ct.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"});else r.type===2&&(r.maxFeePerGas==null&&(r.maxFeePerGas=i.maxFeePerGas),r.maxPriorityFeePerGas==null&&(r.maxPriorityFeePerGas=i.maxPriorityFeePerGas))}return r.nonce==null&&(r.nonce=this.getTransactionCount("pending")),r.gasLimit==null&&(r.gasLimit=this.estimateGas(r).catch(i=>{if(Ooe.indexOf(i.code)>=0)throw i;return Yi.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",ct.errors.UNPREDICTABLE_GAS_LIMIT,{error:i,tx:r})})),r.chainId==null?r.chainId=this.getChainId():r.chainId=Promise.all([Promise.resolve(r.chainId),this.getChainId()]).then(i=>(i[1]!==0&&i[0]!==i[1]&&Yi.throwArgumentError("chainId address mismatch","transaction",t),i[0])),yield ic(r)})}_checkProvider(t){this.provider||Yi.throwError("missing provider",ct.errors.UNSUPPORTED_OPERATION,{operation:t||"_checkProvider"})}static isSigner(t){return!!(t&&t._isSigner)}}function hu(e,t,r){return r={path:t,exports:{},require:function(n,i){return Foe(n,i??r.path)}},e(r,r.exports),r.exports}function Foe(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var m3=MA;function MA(e,t){if(!e)throw new Error(t||"Assertion failed")}MA.equal=function(t,r,n){if(t!=r)throw new Error(n||"Assertion failed: "+t+" != "+r)};var oo=hu(function(e,t){var r=t;function n(a,s){if(Array.isArray(a))return a.slice();if(!a)return[];var l=[];if(typeof a!="string"){for(var c=0;c>8,d=u&255;f?l.push(f,d):l.push(d)}return l}r.toArray=n;function i(a){return a.length===1?"0"+a:a}r.zero2=i;function o(a){for(var s="",l=0;l(d>>1)-1?v=(d>>1)-w:v=w,b.isubn(v)):v=0,f[p]=v,b.iushrn(1)}return f}r.getNAF=n;function i(l,c){var u=[[],[]];l=l.clone(),c=c.clone();for(var f=0,d=0,b;l.cmpn(-f)>0||c.cmpn(-d)>0;){var p=l.andln(3)+f&3,v=c.andln(3)+d&3;p===3&&(p=-1),v===3&&(v=-1);var w;p&1?(b=l.andln(7)+f&7,(b===3||b===5)&&v===2?w=-p:w=p):w=0,u[0].push(w);var C;v&1?(b=c.andln(7)+d&7,(b===3||b===5)&&p===2?C=-v:C=v):C=0,u[1].push(C),2*f===w+1&&(f=1-f),2*d===C+1&&(d=1-d),l.iushrn(1),c.iushrn(1)}return u}r.getJSF=i;function o(l,c,u){var f="_"+c;l.prototype[c]=function(){return this[f]!==void 0?this[f]:this[f]=u.call(this)}}r.cachedProperty=o;function a(l){return typeof l=="string"?r.toArray(l,"hex"):l}r.parseBytes=a;function s(l){return new yt(l,"hex","le")}r.intFromLE=s}),hp=ui.getNAF,Doe=ui.getJSF,pp=ui.assert;function xs(e,t){this.type=e,this.p=new yt(t.p,16),this.red=t.prime?yt.red(t.prime):yt.mont(this.p),this.zero=new yt(0).toRed(this.red),this.one=new yt(1).toRed(this.red),this.two=new yt(2).toRed(this.red),this.n=t.n&&new yt(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var bl=xs;xs.prototype.point=function(){throw new Error("Not implemented")};xs.prototype.validate=function(){throw new Error("Not implemented")};xs.prototype._fixedNafMul=function(t,r){pp(t.precomputed);var n=t._getDoubles(),i=hp(r,1,this._bitLength),o=(1<=s;c--)l=(l<<1)+i[c];a.push(l)}for(var u=this.jpoint(null,null,null),f=this.jpoint(null,null,null),d=o;d>0;d--){for(s=0;s=0;l--){for(var c=0;l>=0&&a[l]===0;l--)c++;if(l>=0&&c++,s=s.dblp(c),l<0)break;var u=a[l];pp(u!==0),t.type==="affine"?u>0?s=s.mixedAdd(o[u-1>>1]):s=s.mixedAdd(o[-u-1>>1].neg()):u>0?s=s.add(o[u-1>>1]):s=s.add(o[-u-1>>1].neg())}return t.type==="affine"?s.toP():s};xs.prototype._wnafMulAdd=function(t,r,n,i,o){var a=this._wnafT1,s=this._wnafT2,l=this._wnafT3,c=0,u,f,d;for(u=0;u=1;u-=2){var p=u-1,v=u;if(a[p]!==1||a[v]!==1){l[p]=hp(n[p],a[p],this._bitLength),l[v]=hp(n[v],a[v],this._bitLength),c=Math.max(l[p].length,c),c=Math.max(l[v].length,c);continue}var w=[r[p],null,null,r[v]];r[p].y.cmp(r[v].y)===0?(w[1]=r[p].add(r[v]),w[2]=r[p].toJ().mixedAdd(r[v].neg())):r[p].y.cmp(r[v].y.redNeg())===0?(w[1]=r[p].toJ().mixedAdd(r[v]),w[2]=r[p].add(r[v].neg())):(w[1]=r[p].toJ().mixedAdd(r[v]),w[2]=r[p].toJ().mixedAdd(r[v].neg()));var C=[-3,-1,-5,-7,0,7,5,1,3],y=Doe(n[p],n[v]);for(c=Math.max(y[0].length,c),l[p]=new Array(c),l[v]=new Array(c),f=0;f=0;u--){for(var D=0;u>=0;){var T=!0;for(f=0;f=0&&D++,N=N.dblp(D),u<0)break;for(f=0;f0?d=s[f][F-1>>1]:F<0&&(d=s[f][-F-1>>1].neg()),d.type==="affine"?N=N.mixedAdd(d):N=N.add(d))}}for(u=0;u=Math.ceil((t.bitLength()+1)/r.step):!1};Ui.prototype._getDoubles=function(t,r){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],i=this,o=0;o=0&&(b=c,p=u),f.negative&&(f=f.neg(),d=d.neg()),b.negative&&(b=b.neg(),p=p.neg()),[{a:f,b:d},{a:b,b:p}]};Hi.prototype._endoSplit=function(t){var r=this.endo.basis,n=r[0],i=r[1],o=i.b.mul(t).divRound(this.n),a=n.b.neg().mul(t).divRound(this.n),s=o.mul(n.a),l=a.mul(i.a),c=o.mul(n.b),u=a.mul(i.b),f=t.sub(s).sub(l),d=c.add(u).neg();return{k1:f,k2:d}};Hi.prototype.pointFromX=function(t,r){t=new yt(t,16),t.red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),i=n.redSqrt();if(i.redSqr().redSub(n).cmp(this.zero)!==0)throw new Error("invalid point");var o=i.fromRed().isOdd();return(r&&!o||!r&&o)&&(i=i.redNeg()),this.point(t,i)};Hi.prototype.validate=function(t){if(t.inf)return!0;var r=t.x,n=t.y,i=this.a.redMul(r),o=r.redSqr().redMul(r).redIAdd(i).redIAdd(this.b);return n.redSqr().redISub(o).cmpn(0)===0};Hi.prototype._endoWnafMulAdd=function(t,r,n){for(var i=this._endoWnafT1,o=this._endoWnafT2,a=0;a":""};Ur.prototype.isInfinity=function(){return this.inf};Ur.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(this.x.cmp(t.x)===0)return this.curve.point(null,null);var r=this.y.redSub(t.y);r.cmpn(0)!==0&&(r=r.redMul(this.x.redSub(t.x).redInvm()));var n=r.redSqr().redISub(this.x).redISub(t.x),i=r.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,i)};Ur.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(t.cmpn(0)===0)return this.curve.point(null,null);var r=this.curve.a,n=this.x.redSqr(),i=t.redInvm(),o=n.redAdd(n).redIAdd(n).redIAdd(r).redMul(i),a=o.redSqr().redISub(this.x.redAdd(this.x)),s=o.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,s)};Ur.prototype.getX=function(){return this.x.fromRed()};Ur.prototype.getY=function(){return this.y.fromRed()};Ur.prototype.mul=function(t){return t=new yt(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)};Ur.prototype.mulAdd=function(t,r,n){var i=[this,r],o=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,o):this.curve._wnafMulAdd(1,i,o,2)};Ur.prototype.jmulAdd=function(t,r,n){var i=[this,r],o=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,o,!0):this.curve._wnafMulAdd(1,i,o,2,!0)};Ur.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||this.x.cmp(t.x)===0&&this.y.cmp(t.y)===0)};Ur.prototype.neg=function(t){if(this.inf)return this;var r=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,i=function(o){return o.neg()};r.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(i)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(i)}}}return r};Ur.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var t=this.curve.jpoint(this.x,this.y,this.curve.one);return t};function en(e,t,r,n){bl.BasePoint.call(this,e,"jacobian"),t===null&&r===null&&n===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new yt(0)):(this.x=new yt(t,16),this.y=new yt(r,16),this.z=new yt(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}g3(en,bl.BasePoint);Hi.prototype.jpoint=function(t,r,n){return new en(this,t,r,n)};en.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),r=t.redSqr(),n=this.x.redMul(r),i=this.y.redMul(r).redMul(t);return this.curve.point(n,i)};en.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};en.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var r=t.z.redSqr(),n=this.z.redSqr(),i=this.x.redMul(r),o=t.x.redMul(n),a=this.y.redMul(r.redMul(t.z)),s=t.y.redMul(n.redMul(this.z)),l=i.redSub(o),c=a.redSub(s);if(l.cmpn(0)===0)return c.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var u=l.redSqr(),f=u.redMul(l),d=i.redMul(u),b=c.redSqr().redIAdd(f).redISub(d).redISub(d),p=c.redMul(d.redISub(b)).redISub(a.redMul(f)),v=this.z.redMul(t.z).redMul(l);return this.curve.jpoint(b,p,v)};en.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var r=this.z.redSqr(),n=this.x,i=t.x.redMul(r),o=this.y,a=t.y.redMul(r).redMul(this.z),s=n.redSub(i),l=o.redSub(a);if(s.cmpn(0)===0)return l.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),u=c.redMul(s),f=n.redMul(c),d=l.redSqr().redIAdd(u).redISub(f).redISub(f),b=l.redMul(f.redISub(d)).redISub(o.redMul(u)),p=this.z.redMul(s);return this.curve.jpoint(d,b,p)};en.prototype.dblp=function(t){if(t===0)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var r;if(this.curve.zeroA||this.curve.threeA){var n=this;for(r=0;r=0)return!1;if(n.redIAdd(o),this.x.cmp(n)===0)return!0}};en.prototype.inspect=function(){return this.isInfinity()?"":""};en.prototype.isInfinity=function(){return this.z.cmpn(0)===0};var ch=hu(function(e,t){var r=t;r.base=bl,r.short=Noe,r.mont=null,r.edwards=null}),uh=hu(function(e,t){var r=t,n=ui.assert;function i(s){s.type==="short"?this.curve=new ch.short(s):s.type==="edwards"?this.curve=new ch.edwards(s):this.curve=new ch.mont(s),this.g=this.curve.g,this.n=this.curve.n,this.hash=s.hash,n(this.g.validate(),"Invalid curve"),n(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}r.PresetCurve=i;function o(s,l){Object.defineProperty(r,s,{configurable:!0,enumerable:!0,get:function(){var c=new i(l);return Object.defineProperty(r,s,{configurable:!0,enumerable:!0,value:c}),c}})}o("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:Vn.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),o("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:Vn.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),o("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:Vn.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),o("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:Vn.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),o("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:Vn.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),o("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:Vn.sha256,gRed:!1,g:["9"]}),o("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:Vn.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var a;try{a=null.crash()}catch{a=void 0}o("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:Vn.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",a]})});function is(e){if(!(this instanceof is))return new is(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=oo.toArray(e.entropy,e.entropyEnc||"hex"),r=oo.toArray(e.nonce,e.nonceEnc||"hex"),n=oo.toArray(e.pers,e.persEnc||"hex");m3(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}var PA=is;is.prototype._init=function(t,r,n){var i=t.concat(r).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var o=0;o=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1};is.prototype.generate=function(t,r,n,i){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof r!="string"&&(i=n,n=r,r=null),n&&(n=oo.toArray(n,i||"hex"),this._update(n));for(var o=[];o.length"};var zoe=ui.assert;function tx(e,t){if(e instanceof tx)return e;this._importDER(e,t)||(zoe(e.r&&e.s,"Signature without r or s"),this.r=new yt(e.r,16),this.s=new yt(e.s,16),e.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var rx=tx;function joe(){this.place=0}function pg(e,t){var r=e[t.place++];if(!(r&128))return r;var n=r&15;if(n===0||n>4)return!1;for(var i=0,o=0,a=t.place;o>>=0;return i<=127?!1:(t.place=a,i)}function a9(e){for(var t=0,r=e.length-1;!e[t]&&!(e[t+1]&128)&&t>>3);for(e.push(r|128);--r;)e.push(t>>>(r<<3)&255);e.push(t)}tx.prototype.toDER=function(t){var r=this.r.toArray(),n=this.s.toArray();for(r[0]&128&&(r=[0].concat(r)),n[0]&128&&(n=[0].concat(n)),r=a9(r),n=a9(n);!n[0]&&!(n[1]&128);)n=n.slice(1);var i=[2];xg(i,r.length),i=i.concat(r),i.push(2),xg(i,n.length);var o=i.concat(n),a=[48];return xg(a,o.length),a=a.concat(o),ui.encode(a,t)};var Uoe=function(){throw new Error("unsupported")},AA=ui.assert;function Di(e){if(!(this instanceof Di))return new Di(e);typeof e=="string"&&(AA(Object.prototype.hasOwnProperty.call(uh,e),"Unknown curve "+e),e=uh[e]),e instanceof uh.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var Hoe=Di;Di.prototype.keyPair=function(t){return new v3(this,t)};Di.prototype.keyFromPrivate=function(t,r){return v3.fromPrivate(this,t,r)};Di.prototype.keyFromPublic=function(t,r){return v3.fromPublic(this,t,r)};Di.prototype.genKeyPair=function(t){t||(t={});for(var r=new PA({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||Uoe(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),i=this.n.sub(new yt(2));;){var o=new yt(r.generate(n));if(!(o.cmp(i)>0))return o.iaddn(1),this.keyFromPrivate(o)}};Di.prototype._truncateToN=function(t,r){var n=t.byteLength()*8-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!r&&t.cmp(this.n)>=0?t.sub(this.n):t};Di.prototype.sign=function(t,r,n,i){typeof n=="object"&&(i=n,n=null),i||(i={}),r=this.keyFromPrivate(r,n),t=this._truncateToN(new yt(t,16));for(var o=this.n.byteLength(),a=r.getPrivate().toArray("be",o),s=t.toArray("be",o),l=new PA({hash:this.hash,entropy:a,nonce:s,pers:i.pers,persEnc:i.persEnc||"utf8"}),c=this.n.sub(new yt(1)),u=0;;u++){var f=i.k?i.k(u):new yt(l.generate(this.n.byteLength()));if(f=this._truncateToN(f,!0),!(f.cmpn(1)<=0||f.cmp(c)>=0)){var d=this.g.mul(f);if(!d.isInfinity()){var b=d.getX(),p=b.umod(this.n);if(p.cmpn(0)!==0){var v=f.invm(this.n).mul(p.mul(r.getPrivate()).iadd(t));if(v=v.umod(this.n),v.cmpn(0)!==0){var w=(d.getY().isOdd()?1:0)|(b.cmp(p)!==0?2:0);return i.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),w^=1),new rx({r:p,s:v,recoveryParam:w})}}}}}};Di.prototype.verify=function(t,r,n,i){t=this._truncateToN(new yt(t,16)),n=this.keyFromPublic(n,i),r=new rx(r,"hex");var o=r.r,a=r.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0||a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s=a.invm(this.n),l=s.mul(t).umod(this.n),c=s.mul(o).umod(this.n),u;return this.curve._maxwellTrick?(u=this.g.jmulAdd(l,n.getPublic(),c),u.isInfinity()?!1:u.eqXToP(o)):(u=this.g.mulAdd(l,n.getPublic(),c),u.isInfinity()?!1:u.getX().umod(this.n).cmp(o)===0)};Di.prototype.recoverPubKey=function(e,t,r,n){AA((3&r)===r,"The recovery param is more than two bits"),t=new rx(t,n);var i=this.n,o=new yt(e),a=t.r,s=t.s,l=r&1,c=r>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");c?a=this.curve.pointFromX(a.add(this.curve.n),l):a=this.curve.pointFromX(a,l);var u=t.r.invm(i),f=i.sub(o).mul(u).umod(i),d=s.mul(u).umod(i);return this.g.mulAdd(f,a,d)};Di.prototype.getKeyRecoveryParam=function(e,t,r,n){if(t=new rx(t,n),t.recoveryParam!==null)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch{continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")};var Woe=hu(function(e,t){var r=t;r.version="6.5.4",r.utils=ui,r.rand=function(){throw new Error("unsupported")},r.curve=ch,r.curves=uh,r.ec=Hoe,r.eddsa=null}),qoe=Woe.ec;const Voe="signing-key/5.7.0",R2=new ct(Voe);let mg=null;function Go(){return mg||(mg=new qoe("secp256k1")),mg}class vc{constructor(t){wt(this,"curve","secp256k1"),wt(this,"privateKey",vt(t)),hA(this.privateKey)!==32&&R2.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");const r=Go().keyFromPrivate(at(this.privateKey));wt(this,"publicKey","0x"+r.getPublic(!1,"hex")),wt(this,"compressedPublicKey","0x"+r.getPublic(!0,"hex")),wt(this,"_isSigningKey",!0)}_addPoint(t){const r=Go().keyFromPublic(at(this.publicKey)),n=Go().keyFromPublic(at(t));return"0x"+r.pub.add(n.pub).encodeCompressed("hex")}signDigest(t){const r=Go().keyFromPrivate(at(this.privateKey)),n=at(t);n.length!==32&&R2.throwArgumentError("bad digest length","digest",t);const i=r.sign(n,{canonical:!0});return W0({recoveryParam:i.recoveryParam,r:Fn("0x"+i.r.toString(16),32),s:Fn("0x"+i.s.toString(16),32)})}computeSharedSecret(t){const r=Go().keyFromPrivate(at(this.privateKey)),n=Go().keyFromPublic(at(kA(t)));return Fn("0x"+r.derive(n.getPublic()).toString(16),32)}static isSigningKey(t){return!!(t&&t._isSigningKey)}}function kA(e,t){const r=at(e);if(r.length===32){const n=new vc(r);return t?"0x"+Go().keyFromPrivate(r).getPublic(!0,"hex"):n.publicKey}else{if(r.length===33)return t?vt(r):"0x"+Go().keyFromPublic(r).getPublic(!1,"hex");if(r.length===65)return t?"0x"+Go().keyFromPublic(r).getPublic(!0,"hex"):vt(r)}return R2.throwArgumentError("invalid public or private key","key","[REDACTED]")}const Koe="transactions/5.7.0",ro=new ct(Koe);var s9;(function(e){e[e.legacy=0]="legacy",e[e.eip2930=1]="eip2930",e[e.eip1559=2]="eip1559"})(s9||(s9={}));const Goe=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],Yoe={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function bc(e){const t=kA(e);return Fi(h0(xn(h0(t,1)),12))}function Yn(e,t){const r=Ja(_t.from(e).toHexString());return r.length>32&&ro.throwArgumentError("invalid length for "+t,"transaction:"+t,e),r}function gg(e,t){return{address:Fi(e),storageKeys:(t||[]).map((r,n)=>(hA(r)!==32&&ro.throwArgumentError("invalid access list storageKey",`accessList[${e}:${n}]`,r),r.toLowerCase()))}}function Xoe(e){if(Array.isArray(e))return e.map((r,n)=>Array.isArray(r)?(r.length>2&&ro.throwArgumentError("access list expected to be [ address, storageKeys[] ]",`value[${n}]`,r),gg(r[0],r[1])):gg(r.address,r.storageKeys));const t=Object.keys(e).map(r=>{const n=e[r].reduce((i,o)=>(i[o]=!0,i),{});return gg(r,Object.keys(n).sort())});return t.sort((r,n)=>r.address.localeCompare(n.address)),t}function _A(e){return Xoe(e).map(t=>[t.address,t.storageKeys])}function Joe(e,t){if(e.gasPrice!=null){const n=_t.from(e.gasPrice),i=_t.from(e.maxFeePerGas||0);n.eq(i)||ro.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:n,maxFeePerGas:i})}const r=[Yn(e.chainId||0,"chainId"),Yn(e.nonce||0,"nonce"),Yn(e.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),Yn(e.maxFeePerGas||0,"maxFeePerGas"),Yn(e.gasLimit||0,"gasLimit"),e.to!=null?Fi(e.to):"0x",Yn(e.value||0,"value"),e.data||"0x",_A(e.accessList||[])];if(t){const n=W0(t);r.push(Yn(n.recoveryParam,"recoveryParam")),r.push(Ja(n.r)),r.push(Ja(n.s))}return mc(["0x02",dp(r)])}function Zoe(e,t){const r=[Yn(e.chainId||0,"chainId"),Yn(e.nonce||0,"nonce"),Yn(e.gasPrice||0,"gasPrice"),Yn(e.gasLimit||0,"gasLimit"),e.to!=null?Fi(e.to):"0x",Yn(e.value||0,"value"),e.data||"0x",_A(e.accessList||[])];if(t){const n=W0(t);r.push(Yn(n.recoveryParam,"recoveryParam")),r.push(Ja(n.r)),r.push(Ja(n.s))}return mc(["0x01",dp(r)])}function Qoe(e,t){soe(e,Yoe);const r=[];Goe.forEach(function(a){let s=e[a.name]||[];const l={};a.numeric&&(l.hexPad="left"),s=at(vt(s,l)),a.length&&s.length!==a.length&&s.length>0&&ro.throwArgumentError("invalid length for "+a.name,"transaction:"+a.name,s),a.maxLength&&(s=Ja(s),s.length>a.maxLength&&ro.throwArgumentError("invalid length for "+a.name,"transaction:"+a.name,s)),r.push(vt(s))});let n=0;if(e.chainId!=null?(n=e.chainId,typeof n!="number"&&ro.throwArgumentError("invalid transaction.chainId","transaction",e)):t&&!u3(t)&&t.v>28&&(n=Math.floor((t.v-35)/2)),n!==0&&(r.push(vt(n)),r.push("0x"),r.push("0x")),!t)return dp(r);const i=W0(t);let o=27+i.recoveryParam;return n!==0?(r.pop(),r.pop(),r.pop(),o+=n*2+8,i.v>28&&i.v!==o&&ro.throwArgumentError("transaction.chainId/signature.v mismatch","signature",t)):i.v!==o&&ro.throwArgumentError("transaction.chainId/signature.v mismatch","signature",t),r.push(vt(o)),r.push(Ja(at(i.r))),r.push(Ja(at(i.s))),dp(r)}function l9(e,t){if(e.type==null||e.type===0)return e.accessList!=null&&ro.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",e),Qoe(e,t);switch(e.type){case 1:return Zoe(e,t);case 2:return Joe(e,t)}return ro.throwError(`unsupported transaction type: ${e.type}`,ct.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:e.type})}class RA{constructor(t){wt(this,"alphabet",t),wt(this,"base",t.length),wt(this,"_alphabetMap",{}),wt(this,"_leader",t.charAt(0));for(let r=0;r0;)n.push(a%this.base),a=a/this.base|0}let i="";for(let o=0;r[o]===0&&o=0;--o)i+=this.alphabet[n[o]];return i}decode(t){if(typeof t!="string")throw new TypeError("Expected String");let r=[];if(t.length===0)return new Uint8Array(r);r.push(0);for(let n=0;n>=8;for(;o>0;)r.push(o&255),o>>=8}for(let n=0;t[n]===this._leader&&n>24&255,l[t.length+1]=f>>16&255,l[t.length+2]=f>>8&255,l[t.length+3]=f&255;let d=at(xp(i,e,l));o||(o=d.length,u=new Uint8Array(o),a=Math.ceil(n/o),c=n-(a-1)*o),u.set(d);for(let v=1;v=256)throw new Error("Depth too large!");return f9(ns([this.privateKey!=null?"0x0488ADE4":"0x0488B21E",vt(this.depth),this.parentFingerprint,Fn(vt(this.index),4),this.chainCode,this.privateKey!=null?ns(["0x00",this.privateKey]):this.publicKey]))}neuter(){return new vi(Bl,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)}_derive(t){if(t>4294967295)throw new Error("invalid index - "+String(t));let r=this.path;r&&(r+="/"+(t&~Hu));const n=new Uint8Array(37);if(t&Hu){if(!this.privateKey)throw new Error("cannot derive child of neutered node");n.set(at(this.privateKey),1),r&&(r+="'")}else n.set(at(this.publicKey));for(let f=24;f>=0;f-=8)n[33+(f>>3)]=t>>24-f&255;const i=at(xp(x0.sha512,this.chainCode,n)),o=i.slice(0,32),a=i.slice(32);let s=null,l=null;this.privateKey?s=Rd(_t.from(o).add(this.privateKey).mod(lae)):l=new vc(vt(o))._addPoint(this.publicKey);let c=r;const u=this.mnemonic;return u&&(c=Object.freeze({phrase:u.phrase,path:r,locale:u.locale||"en"})),new vi(Bl,s,l,this.fingerprint,Rd(a),t,this.depth+1,c)}derivePath(t){const r=t.split("/");if(r.length===0||r[0]==="m"&&this.depth!==0)throw new Error("invalid path - "+t);r[0]==="m"&&r.shift();let n=this;for(let i=0;i=Hu)throw new Error("invalid path index - "+o);n=n._derive(Hu+a)}else if(o.match(/^[0-9]+$/)){const a=parseInt(o);if(a>=Hu)throw new Error("invalid path index - "+o);n=n._derive(a)}else throw new Error("invalid path component - "+o)}return n}static _fromSeed(t,r){const n=at(t);if(n.length<16||n.length>64)throw new Error("invalid seed");const i=at(xp(x0.sha512,cae,n));return new vi(Bl,Rd(i.slice(0,32)),null,"0x00000000",Rd(i.slice(32)),0,0,r)}static fromMnemonic(t,r,n){return n=y3(n),t=w3(IA(t,n),n),vi._fromSeed(fae(t,r),{phrase:t,path:"m",locale:n.locale})}static fromSeed(t){return vi._fromSeed(t,null)}static fromExtendedKey(t){const r=TA.decode(t);(r.length!==82||f9(r.slice(0,78))!==t)&&mp.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");const n=r[4],i=vt(r.slice(5,9)),o=parseInt(vt(r.slice(9,13)).substring(2),16),a=vt(r.slice(13,45)),s=r.slice(45,78);switch(vt(r.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new vi(Bl,null,vt(s),i,a,o,n,null);case"0x0488ade4":case"0x04358394 ":if(s[0]!==0)break;return new vi(Bl,vt(s.slice(1)),null,i,a,o,n,null)}return mp.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")}}function fae(e,t){t||(t="");const r=oa("mnemonic"+t,cl.NFKD);return b3(oa(e,cl.NFKD),r,2048,64,"sha512")}function IA(e,t){t=y3(t),mp.checkNormalize();const r=t.split(e);if(r.length%3!==0)throw new Error("invalid mnemonic");const n=at(new Uint8Array(Math.ceil(11*r.length/8)));let i=0;for(let c=0;c>3]|=1<<7-i%8),i++}const o=32*r.length/3,a=r.length/3,s=BA(a);if((at(m0(n.slice(0,o/8)))[0]&s)!==(n[n.length-1]&s))throw new Error("invalid checksum");return vt(n.slice(0,o/8))}function w3(e,t){if(t=y3(t),e=at(e),e.length%4!==0||e.length<16||e.length>32)throw new Error("invalid entropy");const r=[0];let n=11;for(let a=0;a8?(r[r.length-1]<<=8,r[r.length-1]|=e[a],n-=8):(r[r.length-1]<<=n,r[r.length-1]|=e[a]>>8-n,r.push(e[a]&uae(8-n)),n+=3);const i=e.length/4,o=at(m0(e))[0]&BA(i);return r[r.length-1]<<=i,r[r.length-1]|=o>>8-i,t.join(r.map(a=>t.getWord(a)))}const dae="random/5.7.0",T2=new ct(dae);function hae(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}const d9=hae();let fh=d9.crypto||d9.msCrypto;(!fh||!fh.getRandomValues)&&(T2.warn("WARNING: Missing strong random number source"),fh={getRandomValues:function(e){return T2.throwError("no secure random source avaialble",ct.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}});function lf(e){(e<=0||e>1024||e%1||e!=e)&&T2.throwArgumentError("invalid length","length",e);const t=new Uint8Array(e);return fh.getRandomValues(t),at(t)}var OA={exports:{}};(function(e,t){(function(r){function n(E){return parseInt(E)===E}function i(E){if(!n(E.length))return!1;for(var _=0;_255)return!1;return!0}function o(E,_){if(E.buffer&&ArrayBuffer.isView(E)&&E.name==="Uint8Array")return _&&(E.slice?E=E.slice():E=Array.prototype.slice.call(E)),E;if(Array.isArray(E)){if(!i(E))throw new Error("Array contains invalid value: "+E);return new Uint8Array(E)}if(n(E.length)&&i(E))return new Uint8Array(E);throw new Error("unsupported array-like object")}function a(E){return new Uint8Array(E)}function s(E,_,z,H,L){(H!=null||L!=null)&&(E.slice?E=E.slice(H,L):E=Array.prototype.slice.call(E,H,L)),_.set(E,z)}var l=function(){function E(z){var H=[],L=0;for(z=encodeURI(z);L191&&q<224?(H.push(String.fromCharCode((q&31)<<6|z[L+1]&63)),L+=2):(H.push(String.fromCharCode((q&15)<<12|(z[L+1]&63)<<6|z[L+2]&63)),L+=3)}return H.join("")}return{toBytes:E,fromBytes:_}}(),c=function(){function E(H){for(var L=[],q=0;q>4]+_[X&15])}return L.join("")}return{toBytes:E,fromBytes:z}}(),u={16:10,24:12,32:14},f=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],d=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],b=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],p=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],v=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],w=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],C=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],y=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],M=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],I=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],N=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],O=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],D=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],T=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],F=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function k(E){for(var _=[],z=0;z>2,this._Ke[q][_%4]=L[_],this._Kd[E-q][_%4]=L[_];for(var X=0,J=H,G;J>16&255]<<24^d[G>>8&255]<<16^d[G&255]<<8^d[G>>24&255]^f[X]<<24,X+=1,H!=8)for(var _=1;_>8&255]<<8^d[G>>16&255]<<16^d[G>>24&255]<<24;for(var _=H/2+1;_>2,V=J%4,this._Ke[j][V]=L[_],this._Kd[E-j][V]=L[_++],J++}for(var j=1;j>24&255]^D[G>>16&255]^T[G>>8&255]^F[G&255]},A.prototype.encrypt=function(E){if(E.length!=16)throw new Error("invalid plaintext size (must be 16 bytes)");for(var _=this._Ke.length-1,z=[0,0,0,0],H=k(E),L=0;L<4;L++)H[L]^=this._Ke[0][L];for(var q=1;q<_;q++){for(var L=0;L<4;L++)z[L]=p[H[L]>>24&255]^v[H[(L+1)%4]>>16&255]^w[H[(L+2)%4]>>8&255]^C[H[(L+3)%4]&255]^this._Ke[q][L];H=z.slice()}for(var X=a(16),J,L=0;L<4;L++)J=this._Ke[_][L],X[4*L]=(d[H[L]>>24&255]^J>>24)&255,X[4*L+1]=(d[H[(L+1)%4]>>16&255]^J>>16)&255,X[4*L+2]=(d[H[(L+2)%4]>>8&255]^J>>8)&255,X[4*L+3]=(d[H[(L+3)%4]&255]^J)&255;return X},A.prototype.decrypt=function(E){if(E.length!=16)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var _=this._Kd.length-1,z=[0,0,0,0],H=k(E),L=0;L<4;L++)H[L]^=this._Kd[0][L];for(var q=1;q<_;q++){for(var L=0;L<4;L++)z[L]=y[H[L]>>24&255]^M[H[(L+3)%4]>>16&255]^I[H[(L+2)%4]>>8&255]^N[H[(L+1)%4]&255]^this._Kd[q][L];H=z.slice()}for(var X=a(16),J,L=0;L<4;L++)J=this._Kd[_][L],X[4*L]=(b[H[L]>>24&255]^J>>24)&255,X[4*L+1]=(b[H[(L+3)%4]>>16&255]^J>>16)&255,X[4*L+2]=(b[H[(L+2)%4]>>8&255]^J>>8)&255,X[4*L+3]=(b[H[(L+1)%4]&255]^J)&255;return X};var x=function(E){if(!(this instanceof x))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new A(E)};x.prototype.encrypt=function(E){if(E=o(E),E.length%16!==0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var _=a(E.length),z=a(16),H=0;H=0;--_)this._counter[_]=E%256,E=E>>8},S.prototype.setBytes=function(E){if(E=o(E,!0),E.length!=16)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=E},S.prototype.increment=function(){for(var E=15;E>=0;E--)if(this._counter[E]===255)this._counter[E]=0;else{this._counter[E]++;break}};var $=function(E,_){if(!(this instanceof $))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",_ instanceof S||(_=new S(_)),this._counter=_,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new A(E)};$.prototype.encrypt=function(E){for(var _=o(E,!0),z=0;z<_.length;z++)this._remainingCounterIndex===16&&(this._remainingCounter=this._aes.encrypt(this._counter._counter),this._remainingCounterIndex=0,this._counter.increment()),_[z]^=this._remainingCounter[this._remainingCounterIndex++];return _},$.prototype.decrypt=$.prototype.encrypt;function R(E){E=o(E,!0);var _=16-E.length%16,z=a(E.length+_);s(E,z);for(var H=E.length;H16)throw new Error("PKCS#7 padding byte out of range");for(var z=E.length-_,H=0;H<_;H++)if(E[z+H]!==_)throw new Error("PKCS#7 invalid padding byte");var L=a(z);return s(E,L,0,0,z),L}var P={AES:A,Counter:S,ModeOfOperation:{ecb:x,cbc:g,cfb:h,ofb:m,ctr:$},utils:{hex:c,utf8:l},padding:{pkcs7:{pad:R,strip:B}},_arrayTest:{coerceArray:o,createArray:a,copyArray:s}};e.exports=P})()})(OA);var pae=OA.exports;const So=Pr(pae),FA="json-wallets/5.7.0";function Xs(e){return typeof e=="string"&&e.substring(0,2)!=="0x"&&(e="0x"+e),at(e)}function Wu(e,t){for(e=String(e);e.length=64;){let P=C,E=y,_=M,z=I,H=N,L=O,q=D,X=T,J,G,j,V,K;for(G=0;G<16;G++)j=R+G*4,F[G]=($[j]&255)<<24|($[j+1]&255)<<16|($[j+2]&255)<<8|$[j+3]&255;for(G=16;G<64;G++)J=F[G-2],V=(J>>>17|J<<15)^(J>>>19|J<<13)^J>>>10,J=F[G-15],K=(J>>>7|J<<25)^(J>>>18|J<<14)^J>>>3,F[G]=(V+F[G-7]|0)+(K+F[G-16]|0)|0;for(G=0;G<64;G++)V=(((H>>>6|H<<26)^(H>>>11|H<<21)^(H>>>25|H<<7))+(H&L^~H&q)|0)+(X+(w[G]+F[G]|0)|0)|0,K=((P>>>2|P<<30)^(P>>>13|P<<19)^(P>>>22|P<<10))+(P&E^P&_^E&_)|0,X=q,q=L,L=H,H=z+V|0,z=_,_=E,E=P,P=V+K|0;C=C+P|0,y=y+E|0,M=M+_|0,I=I+z|0,N=N+H|0,O=O+L|0,D=D+q|0,T=T+X|0,R+=64,B-=64}}k(v);let A,x=v.length%64,g=v.length/536870912|0,h=v.length<<3,m=x<56?56:120,S=v.slice(v.length-x,v.length);for(S.push(128),A=x+1;A>>24&255),S.push(g>>>16&255),S.push(g>>>8&255),S.push(g>>>0&255),S.push(h>>>24&255),S.push(h>>>16&255),S.push(h>>>8&255),S.push(h>>>0&255),k(S),[C>>>24&255,C>>>16&255,C>>>8&255,C>>>0&255,y>>>24&255,y>>>16&255,y>>>8&255,y>>>0&255,M>>>24&255,M>>>16&255,M>>>8&255,M>>>0&255,I>>>24&255,I>>>16&255,I>>>8&255,I>>>0&255,N>>>24&255,N>>>16&255,N>>>8&255,N>>>0&255,O>>>24&255,O>>>16&255,O>>>8&255,O>>>0&255,D>>>24&255,D>>>16&255,D>>>8&255,D>>>0&255,T>>>24&255,T>>>16&255,T>>>8&255,T>>>0&255]}function o(v,w,C){v=v.length<=64?v:i(v);const y=64+w.length+4,M=new Array(y),I=new Array(64);let N,O=[];for(N=0;N<64;N++)M[N]=54;for(N=0;N=y-4;T--){if(M[T]++,M[T]<=255)return;M[T]=0}}for(;C>=32;)D(),O=O.concat(i(I.concat(i(M)))),C-=32;return C>0&&(D(),O=O.concat(i(I.concat(i(M))).slice(0,C))),O}function a(v,w,C,y,M){let I;for(u(v,(2*C-1)*16,M,0,16),I=0;I<2*C;I++)c(v,I*16,M,16),l(M,y),u(M,0,v,w+I*16,16);for(I=0;I>>32-w}function l(v,w){u(v,0,w,0,16);for(let C=8;C>0;C-=2)w[4]^=s(w[0]+w[12],7),w[8]^=s(w[4]+w[0],9),w[12]^=s(w[8]+w[4],13),w[0]^=s(w[12]+w[8],18),w[9]^=s(w[5]+w[1],7),w[13]^=s(w[9]+w[5],9),w[1]^=s(w[13]+w[9],13),w[5]^=s(w[1]+w[13],18),w[14]^=s(w[10]+w[6],7),w[2]^=s(w[14]+w[10],9),w[6]^=s(w[2]+w[14],13),w[10]^=s(w[6]+w[2],18),w[3]^=s(w[15]+w[11],7),w[7]^=s(w[3]+w[15],9),w[11]^=s(w[7]+w[3],13),w[15]^=s(w[11]+w[7],18),w[1]^=s(w[0]+w[3],7),w[2]^=s(w[1]+w[0],9),w[3]^=s(w[2]+w[1],13),w[0]^=s(w[3]+w[2],18),w[6]^=s(w[5]+w[4],7),w[7]^=s(w[6]+w[5],9),w[4]^=s(w[7]+w[6],13),w[5]^=s(w[4]+w[7],18),w[11]^=s(w[10]+w[9],7),w[8]^=s(w[11]+w[10],9),w[9]^=s(w[8]+w[11],13),w[10]^=s(w[9]+w[8],18),w[12]^=s(w[15]+w[14],7),w[13]^=s(w[12]+w[15],9),w[14]^=s(w[13]+w[12],13),w[15]^=s(w[14]+w[13],18);for(let C=0;C<16;++C)v[C]+=w[C]}function c(v,w,C,y){for(let M=0;M=256)return!1}return!0}function d(v,w){if(typeof v!="number"||v%1)throw new Error("invalid "+w);return v}function b(v,w,C,y,M,I,N){if(C=d(C,"N"),y=d(y,"r"),M=d(M,"p"),I=d(I,"dkLen"),C===0||C&C-1)throw new Error("N must be power of 2");if(C>2147483647/128/y)throw new Error("N too large");if(y>2147483647/128/M)throw new Error("r too large");if(!f(v))throw new Error("password must be an array or buffer");if(v=Array.prototype.slice.call(v),!f(w))throw new Error("salt must be an array or buffer");w=Array.prototype.slice.call(w);let O=o(v,w,M*128*y);const D=new Uint32Array(M*32*y);for(let H=0;HE&&(H=E);for(let q=0;qE&&(H=E);for(let q=0;q>0&255),O.push(D[q]>>8&255),O.push(D[q]>>16&255),O.push(D[q]>>24&255);const L=o(v,O,I);return N&&N(null,1,L),L}N&&_(z)};if(!N)for(;;){const H=z();if(H!=null)return H}z()}const p={scrypt:function(v,w,C,y,M,I,N){return new Promise(function(O,D){let T=0;N&&N(0),b(v,w,C,y,M,I,function(F,k,A){if(F)D(F);else if(A)N&&T!==1&&N(1),O(new Uint8Array(A));else if(N&&k!==T)return T=k,N(k)})})},syncScrypt:function(v,w,C,y,M,I){return new Uint8Array(b(v,w,C,y,M,I))}};e.exports=p})()})(zA);var vae=zA.exports;const C3=Pr(vae);var bae=function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(u){try{c(n.next(u))}catch(f){a(f)}}function l(u){try{c(n.throw(u))}catch(f){a(f)}}function c(u){u.done?o(u.value):i(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})};const $2=new ct(FA);function h9(e){return e!=null&&e.mnemonic&&e.mnemonic.phrase}class yae extends bA{isKeystoreAccount(t){return!!(t&&t._isKeystoreAccount)}}function wae(e,t,r){if(gr(e,"crypto/cipher")==="aes-128-ctr"){const i=Xs(gr(e,"crypto/cipherparams/iv")),o=new So.Counter(i),a=new So.ModeOfOperation.ctr(t,o);return at(a.decrypt(r))}return null}function jA(e,t){const r=Xs(gr(e,"crypto/ciphertext"));if(vt(xn(ns([t.slice(16,32),r]))).substring(2)!==gr(e,"crypto/mac").toLowerCase())throw new Error("invalid password");const i=wae(e,t.slice(0,16),r);i||$2.throwError("unsupported cipher",ct.errors.UNSUPPORTED_OPERATION,{operation:"decrypt"});const o=t.slice(32,64),a=bc(i);if(e.address){let l=e.address.toLowerCase();if(l.substring(0,2)!=="0x"&&(l="0x"+l),Fi(l)!==a)throw new Error("address mismatch")}const s={_isKeystoreAccount:!0,address:a,privateKey:vt(i)};if(gr(e,"x-ethers/version")==="0.1"){const l=Xs(gr(e,"x-ethers/mnemonicCiphertext")),c=Xs(gr(e,"x-ethers/mnemonicCounter")),u=new So.Counter(c),f=new So.ModeOfOperation.ctr(o,u),d=gr(e,"x-ethers/path")||g0,b=gr(e,"x-ethers/locale")||"en",p=at(f.decrypt(l));try{const v=w3(p,b),w=vi.fromMnemonic(v,null,b).derivePath(d);if(w.privateKey!=s.privateKey)throw new Error("mnemonic mismatch");s.mnemonic=w.mnemonic}catch(v){if(v.code!==ct.errors.INVALID_ARGUMENT||v.argument!=="wordlist")throw v}}return new yae(s)}function UA(e,t,r,n,i){return at(b3(e,t,r,n,i))}function Sae(e,t,r,n,i){return Promise.resolve(UA(e,t,r,n,i))}function HA(e,t,r,n,i){const o=S3(t),a=gr(e,"crypto/kdf");if(a&&typeof a=="string"){const s=function(l,c){return $2.throwArgumentError("invalid key-derivation function parameters",l,c)};if(a.toLowerCase()==="scrypt"){const l=Xs(gr(e,"crypto/kdfparams/salt")),c=parseInt(gr(e,"crypto/kdfparams/n")),u=parseInt(gr(e,"crypto/kdfparams/r")),f=parseInt(gr(e,"crypto/kdfparams/p"));(!c||!u||!f)&&s("kdf",a),c&c-1&&s("N",c);const d=parseInt(gr(e,"crypto/kdfparams/dklen"));return d!==32&&s("dklen",d),n(o,l,c,u,f,64,i)}else if(a.toLowerCase()==="pbkdf2"){const l=Xs(gr(e,"crypto/kdfparams/salt"));let c=null;const u=gr(e,"crypto/kdfparams/prf");u==="hmac-sha256"?c="sha256":u==="hmac-sha512"?c="sha512":s("prf",u);const f=parseInt(gr(e,"crypto/kdfparams/c")),d=parseInt(gr(e,"crypto/kdfparams/dklen"));return d!==32&&s("dklen",d),r(o,l,f,d,c)}}return $2.throwArgumentError("unsupported key-derivation function","kdf",a)}function Cae(e,t){const r=JSON.parse(e),n=HA(r,t,UA,C3.syncScrypt);return jA(r,n)}function Eae(e,t,r){return bae(this,void 0,void 0,function*(){const n=JSON.parse(e),i=yield HA(n,t,Sae,C3.scrypt,r);return jA(n,i)})}function Mae(e,t,r,n){try{if(Fi(e.address)!==bc(e.privateKey))throw new Error("address/privateKey mismatch");if(h9(e)){const w=e.mnemonic;if(vi.fromMnemonic(w.phrase,null,w.locale).derivePath(w.path||g0).privateKey!=e.privateKey)throw new Error("mnemonic mismatch")}}catch(w){return Promise.reject(w)}typeof r=="function"&&!n&&(n=r,r={}),r||(r={});const i=at(e.privateKey),o=S3(t);let a=null,s=null,l=null;if(h9(e)){const w=e.mnemonic;a=at(IA(w.phrase,w.locale||"en")),s=w.path||g0,l=w.locale||"en"}let c=r.client;c||(c="ethers.js");let u=null;r.salt?u=at(r.salt):u=lf(32);let f=null;if(r.iv){if(f=at(r.iv),f.length!==16)throw new Error("invalid iv")}else f=lf(16);let d=null;if(r.uuid){if(d=at(r.uuid),d.length!==16)throw new Error("invalid uuid")}else d=lf(16);let b=1<<17,p=8,v=1;return r.scrypt&&(r.scrypt.N&&(b=r.scrypt.N),r.scrypt.r&&(p=r.scrypt.r),r.scrypt.p&&(v=r.scrypt.p)),C3.scrypt(o,u,b,p,v,64,n).then(w=>{w=at(w);const C=w.slice(0,16),y=w.slice(16,32),M=w.slice(32,64),I=new So.Counter(f),N=new So.ModeOfOperation.ctr(C,I),O=at(N.encrypt(i)),D=xn(ns([y,O])),T={address:e.address.substring(2).toLowerCase(),id:xae(d),version:3,crypto:{cipher:"aes-128-ctr",cipherparams:{iv:vt(f).substring(2)},ciphertext:vt(O).substring(2),kdf:"scrypt",kdfparams:{salt:vt(u).substring(2),n:b,dklen:32,p:v,r:p},mac:D.substring(2)}};if(a){const F=lf(16),k=new So.Counter(F),A=new So.ModeOfOperation.ctr(M,k),x=at(A.encrypt(a)),g=new Date,h=g.getUTCFullYear()+"-"+Wu(g.getUTCMonth()+1,2)+"-"+Wu(g.getUTCDate(),2)+"T"+Wu(g.getUTCHours(),2)+"-"+Wu(g.getUTCMinutes(),2)+"-"+Wu(g.getUTCSeconds(),2)+".0Z";T["x-ethers"]={client:c,gethFilename:"UTC--"+h+"--"+T.address,mnemonicCounter:vt(F).substring(2),mnemonicCiphertext:vt(x).substring(2),path:s,locale:l,version:"0.1"}}return JSON.stringify(T)})}function Pae(e,t,r){if(LA(e)){r&&r(0);const n=DA(e,t);return r&&r(1),Promise.resolve(n)}return NA(e)?Eae(e,t,r):Promise.reject(new Error("invalid JSON wallet"))}function Aae(e,t){if(LA(e))return DA(e,t);if(NA(e))return Cae(e,t);throw new Error("invalid JSON wallet")}const kae="wallet/5.7.0";var p9=function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(u){try{c(n.next(u))}catch(f){a(f)}}function l(u){try{c(n.throw(u))}catch(f){a(f)}}function c(u){u.done?o(u.value):i(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})};const Il=new ct(kae);function _ae(e){return e!=null&&ln(e.privateKey,32)&&e.address!=null}function Rae(e){const t=e.mnemonic;return t&&t.phrase}class Nl extends x3{constructor(t,r){if(super(),_ae(t)){const n=new vc(t.privateKey);if(wt(this,"_signingKey",()=>n),wt(this,"address",bc(this.publicKey)),this.address!==Fi(t.address)&&Il.throwArgumentError("privateKey/address mismatch","privateKey","[REDACTED]"),Rae(t)){const i=t.mnemonic;wt(this,"_mnemonic",()=>({phrase:i.phrase,path:i.path||g0,locale:i.locale||"en"}));const o=this.mnemonic,a=vi.fromMnemonic(o.phrase,null,o.locale).derivePath(o.path);bc(a.privateKey)!==this.address&&Il.throwArgumentError("mnemonic/address mismatch","privateKey","[REDACTED]")}else wt(this,"_mnemonic",()=>null)}else{if(vc.isSigningKey(t))t.curve!=="secp256k1"&&Il.throwArgumentError("unsupported curve; must be secp256k1","privateKey","[REDACTED]"),wt(this,"_signingKey",()=>t);else{typeof t=="string"&&t.match(/^[0-9a-f]*$/i)&&t.length===64&&(t="0x"+t);const n=new vc(t);wt(this,"_signingKey",()=>n)}wt(this,"_mnemonic",()=>null),wt(this,"address",bc(this.publicKey))}r&&!p3.isProvider(r)&&Il.throwArgumentError("invalid provider","provider",r),wt(this,"provider",r||null)}get mnemonic(){return this._mnemonic()}get privateKey(){return this._signingKey().privateKey}get publicKey(){return this._signingKey().publicKey}getAddress(){return Promise.resolve(this.address)}connect(t){return new Nl(this,t)}signTransaction(t){return ic(t).then(r=>{r.from!=null&&(Fi(r.from)!==this.address&&Il.throwArgumentError("transaction from address mismatch","transaction.from",t.from),delete r.from);const n=this._signingKey().signDigest(xn(l9(r)));return l9(r,n)})}signMessage(t){return p9(this,void 0,void 0,function*(){return Y7(this._signingKey().signDigest(Soe(t)))})}_signTypedData(t,r,n){return p9(this,void 0,void 0,function*(){const i=yield Wn.resolveNames(t,r,n,o=>(this.provider==null&&Il.throwError("cannot resolve ENS names without a provider",ct.errors.UNSUPPORTED_OPERATION,{operation:"resolveName",value:o}),this.provider.resolveName(o)));return Y7(this._signingKey().signDigest(Wn.hash(i.domain,r,i.value)))})}encrypt(t,r,n){if(typeof r=="function"&&!n&&(n=r,r={}),n&&typeof n!="function")throw new Error("invalid callback");return r||(r={}),Mae(this,t,r,n)}static createRandom(t){let r=lf(16);t||(t={}),t.extraEntropy&&(r=at(h0(xn(ns([r,t.extraEntropy])),0,16)));const n=w3(r,t.locale);return Nl.fromMnemonic(n,t.path,t.locale)}static fromEncryptedJson(t,r,n){return Pae(t,r,n).then(i=>new Nl(i))}static fromEncryptedJsonSync(t,r){return new Nl(Aae(t,r))}static fromMnemonic(t,r,n){return r||(r=g0),new Nl(vi.fromMnemonic(t,null,n).derivePath(r))}}const Tae="units/5.7.0",$ae=new ct(Tae),WA=["wei","kwei","mwei","gwei","szabo","finney","ether"];function v0e(e,t){if(typeof t=="string"){const r=WA.indexOf(t);r!==-1&&(t=3*r)}return lh(e,t??18)}function b0e(e,t){if(typeof e!="string"&&$ae.throwArgumentError("value must be a string","value",e),typeof t=="string"){const r=WA.indexOf(t);r!==-1&&(t=3*r)}return po(e,t??18)}function Bae(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`positive integer expected, not ${e}`)}function Iae(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function E3(e,...t){if(!Iae(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function x9(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function Oae(e,t){E3(e);const r=t.outputLen;if(e.lengthnew DataView(e.buffer,e.byteOffset,e.byteLength),ho=(e,t)=>e<<32-t|e>>>t;new Uint8Array(new Uint32Array([287454020]).buffer)[0];function Fae(e){if(typeof e!="string")throw new Error(`utf8ToBytes expected string, got ${typeof e}`);return new Uint8Array(new TextEncoder().encode(e))}function qA(e){return typeof e=="string"&&(e=Fae(e)),E3(e),e}class Dae{clone(){return this._cloneInto()}}function Lae(e){const t=n=>e().update(qA(n)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function Nae(e=32){if(vg&&typeof vg.getRandomValues=="function")return vg.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}function zae(e,t,r,n){if(typeof e.setBigUint64=="function")return e.setBigUint64(t,r,n);const i=BigInt(32),o=BigInt(4294967295),a=Number(r>>i&o),s=Number(r&o),l=n?4:0,c=n?0:4;e.setUint32(t+l,a,n),e.setUint32(t+c,s,n)}const jae=(e,t,r)=>e&t^~e&r,Uae=(e,t,r)=>e&t^e&r^t&r;class Hae extends Dae{constructor(t,r,n,i){super(),this.blockLen=t,this.outputLen=r,this.padOffset=n,this.isLE=i,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=bg(this.buffer)}update(t){x9(this);const{view:r,buffer:n,blockLen:i}=this;t=qA(t);const o=t.length;for(let a=0;ai-a&&(this.process(n,0),a=0);for(let f=a;fu.length)throw new Error("_sha2: outputLen bigger than state");for(let f=0;f>>3,v=ho(b,17)^ho(b,19)^b>>>10;Ra[f]=v+Ra[f-7]+p+Ra[f-16]|0}let{A:n,B:i,C:o,D:a,E:s,F:l,G:c,H:u}=this;for(let f=0;f<64;f++){const d=ho(s,6)^ho(s,11)^ho(s,25),b=u+d+jae(s,l,c)+Wae[f]+Ra[f]|0,v=(ho(n,2)^ho(n,13)^ho(n,22))+Uae(n,i,o)|0;u=c,c=l,l=s,s=a+b|0,a=o,o=i,i=n,n=b+v|0}n=n+this.A|0,i=i+this.B|0,o=o+this.C|0,a=a+this.D|0,s=s+this.E|0,l=l+this.F|0,c=c+this.G|0,u=u+this.H|0,this.set(n,i,o,a,s,l,c,u)}roundClean(){Ra.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const Vae=Lae(()=>new qae);/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function gp(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function Kae(...e){const t=o=>o,r=(o,a)=>s=>o(a(s)),n=e.map(o=>o.encode).reduceRight(r,t),i=e.map(o=>o.decode).reduce(r,t);return{encode:n,decode:i}}function Gae(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&typeof t[0]!="number")throw new Error("alphabet.encode input should be an array of numbers");return t.map(r=>{if(r<0||r>=e.length)throw new Error(`Digit index outside alphabet: ${r} (alphabet: ${e.length})`);return e[r]})},decode:t=>{if(!Array.isArray(t)||t.length&&typeof t[0]!="string")throw new Error("alphabet.decode input should be array of strings");return t.map(r=>{if(typeof r!="string")throw new Error(`alphabet.decode: not string element=${r}`);const n=e.indexOf(r);if(n===-1)throw new Error(`Unknown letter: "${r}". Allowed: ${e}`);return n})}}}function Yae(e=""){if(typeof e!="string")throw new Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&typeof t[0]!="string")throw new Error("join.encode input should be array of strings");for(let r of t)if(typeof r!="string")throw new Error(`join.encode: non-string input=${r}`);return t.join(e)},decode:t=>{if(typeof t!="string")throw new Error("join.decode input should be string");return t.split(e)}}}function Xae(e,t="="){if(typeof t!="string")throw new Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&typeof r[0]!="string")throw new Error("padding.encode input should be array of strings");for(let n of r)if(typeof n!="string")throw new Error(`padding.encode: non-string input=${n}`);for(;r.length*e%8;)r.push(t);return r},decode(r){if(!Array.isArray(r)||r.length&&typeof r[0]!="string")throw new Error("padding.encode input should be array of strings");for(let i of r)if(typeof i!="string")throw new Error(`padding.decode: non-string input=${i}`);let n=r.length;if(n*e%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;n>0&&r[n-1]===t;n--)if(!((n-1)*e%8))throw new Error("Invalid padding: string has too much padding");return r.slice(0,n)}}}function B2(e,t,r){if(t<2)throw new Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: wrong to=${r}, base cannot be less than 2`);if(!Array.isArray(e))throw new Error("convertRadix: data should be array");if(!e.length)return[];let n=0;const i=[],o=Array.from(e);for(o.forEach(a=>{if(a<0||a>=t)throw new Error(`Wrong integer: ${a}`)});;){let a=0,s=!0;for(let l=n;lt?VA(t,e%t):e,vp=(e,t)=>e+(t-VA(e,t));function I2(e,t,r,n){if(!Array.isArray(e))throw new Error("convertRadix2: data should be array");if(t<=0||t>32)throw new Error(`convertRadix2: wrong from=${t}`);if(r<=0||r>32)throw new Error(`convertRadix2: wrong to=${r}`);if(vp(t,r)>32)throw new Error(`convertRadix2: carry overflow from=${t} to=${r} carryBits=${vp(t,r)}`);let i=0,o=0;const a=2**r-1,s=[];for(const l of e){if(l>=2**t)throw new Error(`convertRadix2: invalid data word=${l} from=${t}`);if(i=i<32)throw new Error(`convertRadix2: carry overflow pos=${o} from=${t}`);for(o+=t;o>=r;o-=r)s.push((i>>o-r&a)>>>0);i&=2**o-1}if(i=i<=t)throw new Error("Excess padding");if(!n&&i)throw new Error(`Non-zero padding: ${i}`);return n&&o>0&&s.push(i>>>0),s}function Jae(e){return{encode:t=>{if(!gp(t))throw new Error("radix.encode input should be Uint8Array");return B2(Array.from(t),2**8,e)},decode:t=>{if(!Array.isArray(t)||t.length&&typeof t[0]!="number")throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(B2(t,e,2**8))}}}function Zae(e,t=!1){if(e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if(vp(8,e)>32||vp(e,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!gp(r))throw new Error("radix2.encode input should be Uint8Array");return I2(Array.from(r),8,e,!t)},decode:r=>{if(!Array.isArray(r)||r.length&&typeof r[0]!="number")throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(I2(r,e,8,t))}}}function Qae(e,t){if(typeof t!="function")throw new Error("checksum fn should be function");return{encode(r){if(!gp(r))throw new Error("checksum.encode: input should be Uint8Array");const n=t(r).slice(0,e),i=new Uint8Array(r.length+e);return i.set(r),i.set(n,r.length),i},decode(r){if(!gp(r))throw new Error("checksum.decode: input should be Uint8Array");const n=r.slice(0,-e),i=t(n).slice(0,e),o=r.slice(-e);for(let a=0;ae[0]==="あいこくしん";function tse(e){if(typeof e!="string")throw new TypeError(`Invalid mnemonic type: ${typeof e}`);return e.normalize("NFKD")}function rse(e){const t=tse(e),r=t.split(" ");if(![12,15,18,21,24].includes(r.length))throw new Error("Invalid mnemonic");return{nfkd:t,words:r}}function KA(e){E3(e,16,20,24,28,32)}function y0e(e,t=128){if(Bae(t),t%32!==0||t>256)throw new TypeError("Invalid entropy");return ose(Nae(t/8),e)}const nse=e=>{const t=8-e.length/4;return new Uint8Array([Vae(e)[0]>>t<{if(typeof t!="string")throw new Error(`Wordlist: non-string element: ${t}`)}),Td.chain(Td.checksum(1,nse),Td.radix2(11,!0),Td.alphabet(e))}function ise(e,t){const{words:r}=rse(e),n=GA(t).decode(r);return KA(n),n}function ose(e,t){return KA(e),GA(t).encode(e).join(ese(t)?" ":" ")}function w0e(e,t){try{ise(e,t)}catch{return!1}return!0}const S0e=`abandon +ability +able +about +above +absent +absorb +abstract +absurd +abuse +access +accident +account +accuse +achieve +acid +acoustic +acquire +across +act +action +actor +actress +actual +adapt +add +addict +address +adjust +admit +adult +advance +advice +aerobic +affair +afford +afraid +again +age +agent +agree +ahead +aim +air +airport +aisle +alarm +album +alcohol +alert +alien +all +alley +allow +almost +alone +alpha +already +also +alter +always +amateur +amazing +among +amount +amused +analyst +anchor +ancient +anger +angle +angry +animal +ankle +announce +annual +another +answer +antenna +antique +anxiety +any +apart +apology +appear +apple +approve +april +arch +arctic +area +arena +argue +arm +armed +armor +army +around +arrange +arrest +arrive +arrow +art +artefact +artist +artwork +ask +aspect +assault +asset +assist +assume +asthma +athlete +atom +attack +attend +attitude +attract +auction +audit +august +aunt +author +auto +autumn +average +avocado +avoid +awake +aware +away +awesome +awful +awkward +axis +baby +bachelor +bacon +badge +bag +balance +balcony +ball +bamboo +banana +banner +bar +barely +bargain +barrel +base +basic +basket +battle +beach +bean +beauty +because +become +beef +before +begin +behave +behind +believe +below +belt +bench +benefit +best +betray +better +between +beyond +bicycle +bid +bike +bind +biology +bird +birth +bitter +black +blade +blame +blanket +blast +bleak +bless +blind +blood +blossom +blouse +blue +blur +blush +board +boat +body +boil +bomb +bone +bonus +book +boost +border +boring +borrow +boss +bottom +bounce +box +boy +bracket +brain +brand +brass +brave +bread +breeze +brick +bridge +brief +bright +bring +brisk +broccoli +broken +bronze +broom +brother +brown +brush +bubble +buddy +budget +buffalo +build +bulb +bulk +bullet +bundle +bunker +burden +burger +burst +bus +business +busy +butter +buyer +buzz +cabbage +cabin +cable +cactus +cage +cake +call +calm +camera +camp +can +canal +cancel +candy +cannon +canoe +canvas +canyon +capable +capital +captain +car +carbon +card +cargo +carpet +carry +cart +case +cash +casino +castle +casual +cat +catalog +catch +category +cattle +caught +cause +caution +cave +ceiling +celery +cement +census +century +cereal +certain +chair +chalk +champion +change +chaos +chapter +charge +chase +chat +cheap +check +cheese +chef +cherry +chest +chicken +chief +child +chimney +choice +choose +chronic +chuckle +chunk +churn +cigar +cinnamon +circle +citizen +city +civil +claim +clap +clarify +claw +clay +clean +clerk +clever +click +client +cliff +climb +clinic +clip +clock +clog +close +cloth +cloud +clown +club +clump +cluster +clutch +coach +coast +coconut +code +coffee +coil +coin +collect +color +column +combine +come +comfort +comic +common +company +concert +conduct +confirm +congress +connect +consider +control +convince +cook +cool +copper +copy +coral +core +corn +correct +cost +cotton +couch +country +couple +course +cousin +cover +coyote +crack +cradle +craft +cram +crane +crash +crater +crawl +crazy +cream +credit +creek +crew +cricket +crime +crisp +critic +crop +cross +crouch +crowd +crucial +cruel +cruise +crumble +crunch +crush +cry +crystal +cube +culture +cup +cupboard +curious +current +curtain +curve +cushion +custom +cute +cycle +dad +damage +damp +dance +danger +daring +dash +daughter +dawn +day +deal +debate +debris +decade +december +decide +decline +decorate +decrease +deer +defense +define +defy +degree +delay +deliver +demand +demise +denial +dentist +deny +depart +depend +deposit +depth +deputy +derive +describe +desert +design +desk +despair +destroy +detail +detect +develop +device +devote +diagram +dial +diamond +diary +dice +diesel +diet +differ +digital +dignity +dilemma +dinner +dinosaur +direct +dirt +disagree +discover +disease +dish +dismiss +disorder +display +distance +divert +divide +divorce +dizzy +doctor +document +dog +doll +dolphin +domain +donate +donkey +donor +door +dose +double +dove +draft +dragon +drama +drastic +draw +dream +dress +drift +drill +drink +drip +drive +drop +drum +dry +duck +dumb +dune +during +dust +dutch +duty +dwarf +dynamic +eager +eagle +early +earn +earth +easily +east +easy +echo +ecology +economy +edge +edit +educate +effort +egg +eight +either +elbow +elder +electric +elegant +element +elephant +elevator +elite +else +embark +embody +embrace +emerge +emotion +employ +empower +empty +enable +enact +end +endless +endorse +enemy +energy +enforce +engage +engine +enhance +enjoy +enlist +enough +enrich +enroll +ensure +enter +entire +entry +envelope +episode +equal +equip +era +erase +erode +erosion +error +erupt +escape +essay +essence +estate +eternal +ethics +evidence +evil +evoke +evolve +exact +example +excess +exchange +excite +exclude +excuse +execute +exercise +exhaust +exhibit +exile +exist +exit +exotic +expand +expect +expire +explain +expose +express +extend +extra +eye +eyebrow +fabric +face +faculty +fade +faint +faith +fall +false +fame +family +famous +fan +fancy +fantasy +farm +fashion +fat +fatal +father +fatigue +fault +favorite +feature +february +federal +fee +feed +feel +female +fence +festival +fetch +fever +few +fiber +fiction +field +figure +file +film +filter +final +find +fine +finger +finish +fire +firm +first +fiscal +fish +fit +fitness +fix +flag +flame +flash +flat +flavor +flee +flight +flip +float +flock +floor +flower +fluid +flush +fly +foam +focus +fog +foil +fold +follow +food +foot +force +forest +forget +fork +fortune +forum +forward +fossil +foster +found +fox +fragile +frame +frequent +fresh +friend +fringe +frog +front +frost +frown +frozen +fruit +fuel +fun +funny +furnace +fury +future +gadget +gain +galaxy +gallery +game +gap +garage +garbage +garden +garlic +garment +gas +gasp +gate +gather +gauge +gaze +general +genius +genre +gentle +genuine +gesture +ghost +giant +gift +giggle +ginger +giraffe +girl +give +glad +glance +glare +glass +glide +glimpse +globe +gloom +glory +glove +glow +glue +goat +goddess +gold +good +goose +gorilla +gospel +gossip +govern +gown +grab +grace +grain +grant +grape +grass +gravity +great +green +grid +grief +grit +grocery +group +grow +grunt +guard +guess +guide +guilt +guitar +gun +gym +habit +hair +half +hammer +hamster +hand +happy +harbor +hard +harsh +harvest +hat +have +hawk +hazard +head +health +heart +heavy +hedgehog +height +hello +helmet +help +hen +hero +hidden +high +hill +hint +hip +hire +history +hobby +hockey +hold +hole +holiday +hollow +home +honey +hood +hope +horn +horror +horse +hospital +host +hotel +hour +hover +hub +huge +human +humble +humor +hundred +hungry +hunt +hurdle +hurry +hurt +husband +hybrid +ice +icon +idea +identify +idle +ignore +ill +illegal +illness +image +imitate +immense +immune +impact +impose +improve +impulse +inch +include +income +increase +index +indicate +indoor +industry +infant +inflict +inform +inhale +inherit +initial +inject +injury +inmate +inner +innocent +input +inquiry +insane +insect +inside +inspire +install +intact +interest +into +invest +invite +involve +iron +island +isolate +issue +item +ivory +jacket +jaguar +jar +jazz +jealous +jeans +jelly +jewel +job +join +joke +journey +joy +judge +juice +jump +jungle +junior +junk +just +kangaroo +keen +keep +ketchup +key +kick +kid +kidney +kind +kingdom +kiss +kit +kitchen +kite +kitten +kiwi +knee +knife +knock +know +lab +label +labor +ladder +lady +lake +lamp +language +laptop +large +later +latin +laugh +laundry +lava +law +lawn +lawsuit +layer +lazy +leader +leaf +learn +leave +lecture +left +leg +legal +legend +leisure +lemon +lend +length +lens +leopard +lesson +letter +level +liar +liberty +library +license +life +lift +light +like +limb +limit +link +lion +liquid +list +little +live +lizard +load +loan +lobster +local +lock +logic +lonely +long +loop +lottery +loud +lounge +love +loyal +lucky +luggage +lumber +lunar +lunch +luxury +lyrics +machine +mad +magic +magnet +maid +mail +main +major +make +mammal +man +manage +mandate +mango +mansion +manual +maple +marble +march +margin +marine +market +marriage +mask +mass +master +match +material +math +matrix +matter +maximum +maze +meadow +mean +measure +meat +mechanic +medal +media +melody +melt +member +memory +mention +menu +mercy +merge +merit +merry +mesh +message +metal +method +middle +midnight +milk +million +mimic +mind +minimum +minor +minute +miracle +mirror +misery +miss +mistake +mix +mixed +mixture +mobile +model +modify +mom +moment +monitor +monkey +monster +month +moon +moral +more +morning +mosquito +mother +motion +motor +mountain +mouse +move +movie +much +muffin +mule +multiply +muscle +museum +mushroom +music +must +mutual +myself +mystery +myth +naive +name +napkin +narrow +nasty +nation +nature +near +neck +need +negative +neglect +neither +nephew +nerve +nest +net +network +neutral +never +news +next +nice +night +noble +noise +nominee +noodle +normal +north +nose +notable +note +nothing +notice +novel +now +nuclear +number +nurse +nut +oak +obey +object +oblige +obscure +observe +obtain +obvious +occur +ocean +october +odor +off +offer +office +often +oil +okay +old +olive +olympic +omit +once +one +onion +online +only +open +opera +opinion +oppose +option +orange +orbit +orchard +order +ordinary +organ +orient +original +orphan +ostrich +other +outdoor +outer +output +outside +oval +oven +over +own +owner +oxygen +oyster +ozone +pact +paddle +page +pair +palace +palm +panda +panel +panic +panther +paper +parade +parent +park +parrot +party +pass +patch +path +patient +patrol +pattern +pause +pave +payment +peace +peanut +pear +peasant +pelican +pen +penalty +pencil +people +pepper +perfect +permit +person +pet +phone +photo +phrase +physical +piano +picnic +picture +piece +pig +pigeon +pill +pilot +pink +pioneer +pipe +pistol +pitch +pizza +place +planet +plastic +plate +play +please +pledge +pluck +plug +plunge +poem +poet +point +polar +pole +police +pond +pony +pool +popular +portion +position +possible +post +potato +pottery +poverty +powder +power +practice +praise +predict +prefer +prepare +present +pretty +prevent +price +pride +primary +print +priority +prison +private +prize +problem +process +produce +profit +program +project +promote +proof +property +prosper +protect +proud +provide +public +pudding +pull +pulp +pulse +pumpkin +punch +pupil +puppy +purchase +purity +purpose +purse +push +put +puzzle +pyramid +quality +quantum +quarter +question +quick +quit +quiz +quote +rabbit +raccoon +race +rack +radar +radio +rail +rain +raise +rally +ramp +ranch +random +range +rapid +rare +rate +rather +raven +raw +razor +ready +real +reason +rebel +rebuild +recall +receive +recipe +record +recycle +reduce +reflect +reform +refuse +region +regret +regular +reject +relax +release +relief +rely +remain +remember +remind +remove +render +renew +rent +reopen +repair +repeat +replace +report +require +rescue +resemble +resist +resource +response +result +retire +retreat +return +reunion +reveal +review +reward +rhythm +rib +ribbon +rice +rich +ride +ridge +rifle +right +rigid +ring +riot +ripple +risk +ritual +rival +river +road +roast +robot +robust +rocket +romance +roof +rookie +room +rose +rotate +rough +round +route +royal +rubber +rude +rug +rule +run +runway +rural +sad +saddle +sadness +safe +sail +salad +salmon +salon +salt +salute +same +sample +sand +satisfy +satoshi +sauce +sausage +save +say +scale +scan +scare +scatter +scene +scheme +school +science +scissors +scorpion +scout +scrap +screen +script +scrub +sea +search +season +seat +second +secret +section +security +seed +seek +segment +select +sell +seminar +senior +sense +sentence +series +service +session +settle +setup +seven +shadow +shaft +shallow +share +shed +shell +sheriff +shield +shift +shine +ship +shiver +shock +shoe +shoot +shop +short +shoulder +shove +shrimp +shrug +shuffle +shy +sibling +sick +side +siege +sight +sign +silent +silk +silly +silver +similar +simple +since +sing +siren +sister +situate +six +size +skate +sketch +ski +skill +skin +skirt +skull +slab +slam +sleep +slender +slice +slide +slight +slim +slogan +slot +slow +slush +small +smart +smile +smoke +smooth +snack +snake +snap +sniff +snow +soap +soccer +social +sock +soda +soft +solar +soldier +solid +solution +solve +someone +song +soon +sorry +sort +soul +sound +soup +source +south +space +spare +spatial +spawn +speak +special +speed +spell +spend +sphere +spice +spider +spike +spin +spirit +split +spoil +sponsor +spoon +sport +spot +spray +spread +spring +spy +square +squeeze +squirrel +stable +stadium +staff +stage +stairs +stamp +stand +start +state +stay +steak +steel +stem +step +stereo +stick +still +sting +stock +stomach +stone +stool +story +stove +strategy +street +strike +strong +struggle +student +stuff +stumble +style +subject +submit +subway +success +such +sudden +suffer +sugar +suggest +suit +summer +sun +sunny +sunset +super +supply +supreme +sure +surface +surge +surprise +surround +survey +suspect +sustain +swallow +swamp +swap +swarm +swear +sweet +swift +swim +swing +switch +sword +symbol +symptom +syrup +system +table +tackle +tag +tail +talent +talk +tank +tape +target +task +taste +tattoo +taxi +teach +team +tell +ten +tenant +tennis +tent +term +test +text +thank +that +theme +then +theory +there +they +thing +this +thought +three +thrive +throw +thumb +thunder +ticket +tide +tiger +tilt +timber +time +tiny +tip +tired +tissue +title +toast +tobacco +today +toddler +toe +together +toilet +token +tomato +tomorrow +tone +tongue +tonight +tool +tooth +top +topic +topple +torch +tornado +tortoise +toss +total +tourist +toward +tower +town +toy +track +trade +traffic +tragic +train +transfer +trap +trash +travel +tray +treat +tree +trend +trial +tribe +trick +trigger +trim +trip +trophy +trouble +truck +true +truly +trumpet +trust +truth +try +tube +tuition +tumble +tuna +tunnel +turkey +turn +turtle +twelve +twenty +twice +twin +twist +two +type +typical +ugly +umbrella +unable +unaware +uncle +uncover +under +undo +unfair +unfold +unhappy +uniform +unique +unit +universe +unknown +unlock +until +unusual +unveil +update +upgrade +uphold +upon +upper +upset +urban +urge +usage +use +used +useful +useless +usual +utility +vacant +vacuum +vague +valid +valley +valve +van +vanish +vapor +various +vast +vault +vehicle +velvet +vendor +venture +venue +verb +verify +version +very +vessel +veteran +viable +vibrant +vicious +victory +video +view +village +vintage +violin +virtual +virus +visa +visit +visual +vital +vivid +vocal +voice +void +volcano +volume +vote +voyage +wage +wagon +wait +walk +wall +walnut +want +warfare +warm +warrior +wash +wasp +waste +water +wave +way +wealth +weapon +wear +weasel +weather +web +wedding +weekend +weird +welcome +west +wet +whale +what +wheat +wheel +when +where +whip +whisper +wide +width +wife +wild +will +win +window +wine +wing +wink +winner +winter +wire +wisdom +wise +wish +witness +wolf +woman +wonder +wood +wool +word +work +world +worry +worth +wrap +wreck +wrestle +wrist +write +wrong +yard +year +yellow +you +young +youth +zebra +zero +zone +zoo`.split(` +`);var YA={};function ase(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}}return t.default=e,t}var XA=ase,Uo={},yg,m9;function V0(){if(m9)return yg;m9=1;function e(t){return t&&t.__esModule?t:{default:t}}return yg=e,yg}var $d,g9;function sse(){if(g9)return $d;g9=1;function e(){return $d=e=Object.assign||function(t){for(var r=1;r=0)&&(n[o]=t[o]);return n}return wg=e,wg}var Sg,b9;function cse(){if(b9)return Sg;b9=1;var e=lse();function t(r,n){if(r==null)return{};var i=e(r,n),o,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(r);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(r,o)&&(i[o]=r[o])}return i}return Sg=t,Sg}var Cg,y9;function use(){if(y9)return Cg;y9=1;function e(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}return Cg=e,Cg}var Eg,w9;function fse(){if(w9)return Eg;w9=1;function e(r,n){for(var i=0;if&&(d=f+1-Math.exp((f-d)*r.default.RESISTANCE_COEF)):d<0?(d=0,b=(d-a)*c+l):d>f&&(d=f,b=(d-a)*c+l),{index:d,startX:b}}return Od}var Gu={},$9;function yse(){if($9)return Gu;$9=1;var e=V0();Object.defineProperty(Gu,"__esModule",{value:!0}),Gu.default=void 0;var t=e(U),r=function(o,a){var s=!1,l=function(p){return p?p.key:"empty"};if(o.children.length&&a.children.length){var c=t.default.Children.map(o.children,l),u=c[o.index];if(u!=null){var f=t.default.Children.map(a.children,l),d=f[a.index];u===d&&(s=!0)}}return s},n=r;return Gu.default=n,Gu}var Yu={},B9;function wse(){if(B9)return Yu;B9=1,Object.defineProperty(Yu,"__esModule",{value:!0}),Yu.default=void 0;function e(r,n){var i=r%n;return i<0?i+n:i}var t=e;return Yu.default=t,Yu}var I9;function Sse(){return I9||(I9=1,function(e){var t=V0();Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"checkIndexBounds",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"computeIndex",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"constant",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"getDisplaySameSlide",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"mod",{enumerable:!0,get:function(){return a.default}});var r=t(vse()),n=t(bse()),i=t(ZA()),o=t(yse()),a=t(wse())}(_g)),_g}var O9;function Cse(){if(O9)return Uo;O9=1;var e=XA,t=V0();Object.defineProperty(Uo,"__esModule",{value:!0}),Uo.getDomTreeShapes=C,Uo.findNativeHandler=M,Uo.default=Uo.SwipeableViewsContext=void 0;var r=t(sse()),n=t(cse()),i=t(use()),o=t(fse()),a=t(pse()),s=t(xse()),l=t(gse()),c=e(U);t(AI),t(JA());var u=Sse();function f(D,T,F,k){return D.addEventListener(T,F,k),{remove:function(){D.removeEventListener(T,F,k)}}}var d={container:{direction:"ltr",display:"flex",willChange:"transform"},slide:{width:"100%",WebkitFlexShrink:0,flexShrink:0,overflow:"auto"}},b={root:{x:{overflowX:"hidden"},"x-reverse":{overflowX:"hidden"},y:{overflowY:"hidden"},"y-reverse":{overflowY:"hidden"}},flexDirection:{x:"row","x-reverse":"row-reverse",y:"column","y-reverse":"column-reverse"},transform:{x:function(T){return"translate(".concat(-T,"%, 0)")},"x-reverse":function(T){return"translate(".concat(T,"%, 0)")},y:function(T){return"translate(0, ".concat(-T,"%)")},"y-reverse":function(T){return"translate(0, ".concat(T,"%)")}},length:{x:"width","x-reverse":"width",y:"height","y-reverse":"height"},rotationMatrix:{x:{x:[1,0],y:[0,1]},"x-reverse":{x:[-1,0],y:[0,1]},y:{x:[0,1],y:[1,0]},"y-reverse":{x:[0,-1],y:[1,0]}},scrollPosition:{x:"scrollLeft","x-reverse":"scrollLeft",y:"scrollTop","y-reverse":"scrollTop"},scrollLength:{x:"scrollWidth","x-reverse":"scrollWidth",y:"scrollHeight","y-reverse":"scrollHeight"},clientLength:{x:"clientWidth","x-reverse":"clientWidth",y:"clientHeight","y-reverse":"clientHeight"}};function p(D,T){var F=T.duration,k=T.easeFunction,A=T.delay;return"".concat(D," ").concat(F," ").concat(k," ").concat(A)}function v(D,T){var F=b.rotationMatrix[T];return{pageX:F.x[0]*D.pageX+F.x[1]*D.pageY,pageY:F.y[0]*D.pageX+F.y[1]*D.pageY}}function w(D){return D.touches=[{pageX:D.pageX,pageY:D.pageY}],D}function C(D,T){for(var F=[];D&&D!==T&&D!==document.body&&!D.hasAttribute("data-swipeable");){var k=window.getComputedStyle(D);k.getPropertyValue("position")==="absolute"||k.getPropertyValue("overflow-x")==="hidden"?F=[]:(D.clientWidth>0&&D.scrollWidth>D.clientWidth||D.clientHeight>0&&D.scrollHeight>D.clientHeight)&&F.push({element:D,scrollWidth:D.scrollWidth,scrollHeight:D.scrollHeight,clientWidth:D.clientWidth,clientHeight:D.clientHeight,scrollLeft:D.scrollLeft,scrollTop:D.scrollTop}),D=D.parentNode}return F}var y=null;function M(D){var T=D.domTreeShapes,F=D.pageX,k=D.startX,A=D.axis;return T.some(function(x){var g=F>=k;(A==="x"||A==="y")&&(g=!g);var h=Math.round(x[b.scrollPosition[A]]),m=h>0,S=h+x[b.clientLength[A]]P&&B>u.constant.UNCERTAINTY_THRESHOLD;if(!$&&(g==="y"||g==="y-reverse")&&(k.indexCurrent===0&&k.startXR.pageX)){k.isSwiping=!1;return}if(B>P&&A.preventDefault(),E===!0||P>u.constant.UNCERTAINTY_THRESHOLD){k.isSwiping=E,k.startX=R.pageX;return}}if(k.isSwiping===!0){A.preventDefault(),k.vx=k.vx*.5+(R.pageX-k.lastX)*.5,k.lastX=R.pageX;var _=(0,u.computeIndex)({children:h,resistance:$,pageX:R.pageX,startIndex:k.startIndex,startX:k.startX,viewLength:k.viewLength}),z=_.index,H=_.startX;if(y===null&&!m){var L=C(A.target,k.rootNode),q=M({domTreeShapes:L,startX:k.startX,pageX:R.pageX,axis:g});if(q)return}H?k.startX=H:y===null&&(y=k.rootNode),k.setIndexCurrent(z);var X=function(){S&&S(z,"move")};(k.state.displaySameSlide||!k.state.isDragging)&&k.setState({displaySameSlide:!1,isDragging:!0},X),X()}}},k.handleSwipeEnd=function(){if(y=null,!!k.started&&(k.started=!1,k.isSwiping===!0)){var A=k.state.indexLatest,x=k.indexCurrent,g=A-x,h;Math.abs(k.vx)>k.props.threshold?k.vx>0?h=Math.floor(x):h=Math.ceil(x):Math.abs(g)>k.props.hysteresis?h=g>0?Math.floor(x):Math.ceil(x):h=A;var m=c.Children.count(k.props.children)-1;h<0?h=0:h>m&&(h=m),k.setIndexCurrent(h),k.setState({indexLatest:h,isDragging:!1},function(){k.props.onSwitching&&k.props.onSwitching(h,"end"),k.props.onChangeIndex&&h!==A&&k.props.onChangeIndex(h,A,{reason:"swipe"}),x===A&&k.handleTransitionEnd()})}},k.handleTouchStart=function(A){k.props.onTouchStart&&k.props.onTouchStart(A),k.handleSwipeStart(A)},k.handleTouchEnd=function(A){k.props.onTouchEnd&&k.props.onTouchEnd(A),k.handleSwipeEnd(A)},k.handleMouseDown=function(A){k.props.onMouseDown&&k.props.onMouseDown(A),A.persist(),k.handleSwipeStart(w(A))},k.handleMouseUp=function(A){k.props.onMouseUp&&k.props.onMouseUp(A),k.handleSwipeEnd(w(A))},k.handleMouseLeave=function(A){k.props.onMouseLeave&&k.props.onMouseLeave(A),k.started&&k.handleSwipeEnd(w(A))},k.handleMouseMove=function(A){k.props.onMouseMove&&k.props.onMouseMove(A),k.started&&k.handleSwipeMove(w(A))},k.handleScroll=function(A){if(k.props.onScroll&&k.props.onScroll(A),A.target===k.rootNode){if(k.ignoreNextScrollEvents){k.ignoreNextScrollEvents=!1;return}var x=k.state.indexLatest,g=Math.ceil(A.target.scrollLeft/A.target.clientWidth)+x;k.ignoreNextScrollEvents=!0,A.target.scrollLeft=0,k.props.onChangeIndex&&g!==x&&k.props.onChangeIndex(g,x,{reason:"focus"})}},k.updateHeight=function(){if(k.activeSlide!==null){var A=k.activeSlide.children[0];A!==void 0&&A.offsetHeight!==void 0&&k.state.heightLatest!==A.offsetHeight&&k.setState({heightLatest:A.offsetHeight})}},k.state={indexLatest:F.index,isDragging:!1,renderOnlyActive:!F.disableLazyLoading,heightLatest:0,displaySameSlide:!0},k.setIndexCurrent(F.index),k}return(0,o.default)(T,[{key:"componentDidMount",value:function(){var k=this;this.transitionListener=f(this.containerNode,"transitionend",function(A){A.target===k.containerNode&&k.handleTransitionEnd()}),this.touchMoveListener=f(this.rootNode,"touchmove",function(A){k.props.disabled||k.handleSwipeMove(A)},{passive:!1}),this.props.disableLazyLoading||(this.firstRenderTimeout=setTimeout(function(){k.setState({renderOnlyActive:!1})},0)),this.props.action&&this.props.action({updateHeight:this.updateHeight})}},{key:"UNSAFE_componentWillReceiveProps",value:function(k){var A=k.index;typeof A=="number"&&A!==this.props.index&&(this.setIndexCurrent(A),this.setState({displaySameSlide:(0,u.getDisplaySameSlide)(this.props,k),indexLatest:A}))}},{key:"componentWillUnmount",value:function(){this.transitionListener.remove(),this.touchMoveListener.remove(),clearTimeout(this.firstRenderTimeout)}},{key:"getSwipeableViewsContext",value:function(){var k=this;return{slideUpdateHeight:function(){k.updateHeight()}}}},{key:"setIndexCurrent",value:function(k){if(!this.props.animateTransitions&&this.indexCurrent!==k&&this.handleTransitionEnd(),this.indexCurrent=k,this.containerNode){var A=this.props.axis,x=b.transform[A](k*100);this.containerNode.style.WebkitTransform=x,this.containerNode.style.transform=x}}},{key:"handleTransitionEnd",value:function(){this.props.onTransitionEnd&&(this.state.displaySameSlide||this.state.isDragging||this.props.onTransitionEnd())}},{key:"render",value:function(){var k=this,A=this.props;A.action;var x=A.animateHeight,g=A.animateTransitions,h=A.axis,m=A.children,S=A.containerStyle,$=A.disabled;A.disableLazyLoading;var R=A.enableMouseEvents;A.hysteresis,A.ignoreNativeScroll,A.index,A.onChangeIndex,A.onSwitching,A.onTransitionEnd,A.resistance;var B=A.slideStyle,P=A.slideClassName,E=A.springConfig,_=A.style;A.threshold;var z=(0,n.default)(A,["action","animateHeight","animateTransitions","axis","children","containerStyle","disabled","disableLazyLoading","enableMouseEvents","hysteresis","ignoreNativeScroll","index","onChangeIndex","onSwitching","onTransitionEnd","resistance","slideStyle","slideClassName","springConfig","style","threshold"]),H=this.state,L=H.displaySameSlide,q=H.heightLatest,X=H.indexLatest,J=H.isDragging,G=H.renderOnlyActive,j=$?{}:{onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},V=!$&&R?{onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseLeave:this.handleMouseLeave,onMouseMove:this.handleMouseMove}:{},K=(0,r.default)({},d.slide,B),Z,ee;if(J||!g||L)Z="all 0s ease 0s",ee="all 0s ease 0s";else if(Z=p("transform",E),ee=p("-webkit-transform",E),q!==0){var Q=", ".concat(p("height",E));Z+=Q,ee+=Q}var ne={height:null,WebkitFlexDirection:b.flexDirection[h],flexDirection:b.flexDirection[h],WebkitTransition:ee,transition:Z};if(!G){var xe=b.transform[h](this.indexCurrent*100);ne.WebkitTransform=xe,ne.transform=xe}return x&&(ne.height=q),c.createElement(I.Provider,{value:this.getSwipeableViewsContext()},c.createElement("div",(0,r.default)({ref:this.setRootNode,style:(0,r.default)({},b.root[h],_)},z,j,V,{onScroll:this.handleScroll}),c.createElement("div",{ref:this.setContainerNode,style:(0,r.default)({},ne,d.container,S),className:"react-swipeable-view-container"},c.Children.map(m,function(se,ye){if(G&&ye!==X)return null;var _e,we=!0;return ye===X&&(we=!1,x&&(_e=k.setActiveSlide,K.overflowY="hidden")),c.createElement("div",{ref:_e,style:K,className:P,"aria-hidden":we,"data-swipeable":"true"},se)}))))}}]),T}(c.Component);N.displayName="ReactSwipableView",N.propTypes={},N.defaultProps={animateHeight:!1,animateTransitions:!0,axis:"x",disabled:!1,disableLazyLoading:!1,enableMouseEvents:!1,hysteresis:.6,ignoreNativeScroll:!1,index:0,threshold:5,springConfig:{duration:"0.35s",easeFunction:"cubic-bezier(0.15, 0.3, 0.25, 1)",delay:"0s"},resistance:!1};var O=N;return Uo.default=O,Uo}(function(e){var t=XA;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"SwipeableViewsContext",{enumerable:!0,get:function(){return r.SwipeableViewsContext}});var r=t(Cse())})(YA);const C0e=Pr(YA);var M3={},Ese=ar;Object.defineProperty(M3,"__esModule",{value:!0});var Mse=M3.default=void 0,Pse=Ese(Sr()),Ase=Y;Mse=M3.default=(0,Pse.default)((0,Ase.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");var P3={},kse=ar;Object.defineProperty(P3,"__esModule",{value:!0});var _se=P3.default=void 0,Rse=kse(Sr()),F9=Y;_se=P3.default=(0,Rse.default)([(0,F9.jsx)("path",{d:"M21 7.28V5c0-1.1-.9-2-2-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-2.28c.59-.35 1-.98 1-1.72V9c0-.74-.41-1.37-1-1.72M20 9v6h-7V9zM5 19V5h14v2h-6c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h6v2z"},"0"),(0,F9.jsx)("circle",{cx:"16",cy:"12",r:"1.5"},"1")],"AccountBalanceWalletOutlined");var A3={},Tse=ar;Object.defineProperty(A3,"__esModule",{value:!0});var $se=A3.default=void 0,Bse=Tse(Sr()),Ise=Y;$se=A3.default=(0,Bse.default)((0,Ise.jsx)("path",{d:"M12 2c-4.2 0-8 3.22-8 8.2 0 3.32 2.67 7.25 8 11.8 5.33-4.55 8-8.48 8-11.8C20 5.22 16.2 2 12 2m1 13h-2v-2h2zm0-4h-2V6h2z"}),"FmdBad");var k3={},Ose=ar;Object.defineProperty(k3,"__esModule",{value:!0});var Fse=k3.default=void 0,Dse=Ose(Sr()),Lse=Y;Fse=k3.default=(0,Dse.default)((0,Lse.jsx)("path",{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2M8.5 13.5l2.5 3.01L14.5 12l4.5 6H5z"}),"Image");var _3={},Nse=ar;Object.defineProperty(_3,"__esModule",{value:!0});var zse=_3.default=void 0,jse=Nse(Sr()),Use=Y;zse=_3.default=(0,jse.default)((0,Use.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m.88 15.76V19h-1.75v-1.29c-.74-.18-2.39-.77-3.02-2.96l1.65-.67c.06.22.58 2.09 2.4 2.09.93 0 1.98-.48 1.98-1.61 0-.96-.7-1.46-2.28-2.03-1.1-.39-3.35-1.03-3.35-3.31 0-.1.01-2.4 2.62-2.96V5h1.75v1.24c1.84.32 2.51 1.79 2.66 2.23l-1.58.67c-.11-.35-.59-1.34-1.9-1.34-.7 0-1.81.37-1.81 1.39 0 .95.86 1.31 2.64 1.9 2.4.83 3.01 2.05 3.01 3.45 0 2.63-2.5 3.13-3.02 3.22"}),"Paid");var R3={},Hse=ar;Object.defineProperty(R3,"__esModule",{value:!0});var Wse=R3.default=void 0,qse=Hse(Sr()),Vse=Y;Wse=R3.default=(0,qse.default)((0,Vse.jsx)("path",{d:"M18 17H6v-2h12zm0-4H6v-2h12zm0-4H6V7h12zM3 22l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2l-1.5 1.5L18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2 4.5 3.5 3 2z"}),"Receipt");var Kse=Object.defineProperty,bp=Object.getOwnPropertySymbols,QA=Object.prototype.hasOwnProperty,ek=Object.prototype.propertyIsEnumerable,D9=(e,t,r)=>t in e?Kse(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,L9=(e,t)=>{for(var r in t||(t={}))QA.call(t,r)&&D9(e,r,t[r]);if(bp)for(var r of bp(t))ek.call(t,r)&&D9(e,r,t[r]);return e},Gse=(e,t)=>{var r={};for(var n in e)QA.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&bp)for(var n of bp(e))t.indexOf(n)<0&&ek.call(e,n)&&(r[n]=e[n]);return r};/** + * @license QR Code generator library (TypeScript) + * Copyright (c) Project Nayuki. + * SPDX-License-Identifier: MIT + */var ul;(e=>{const t=class{constructor(l,c,u,f){if(this.version=l,this.errorCorrectionLevel=c,this.modules=[],this.isFunction=[],lt.MAX_VERSION)throw new RangeError("Version value out of range");if(f<-1||f>7)throw new RangeError("Mask value out of range");this.size=l*4+17;let d=[];for(let p=0;p7)throw new RangeError("Invalid value");let p,v;for(p=u;;p++){const M=t.getNumDataCodewords(p,c)*8,I=s.getTotalBits(l,p);if(I<=M){v=I;break}if(p>=f)throw new RangeError("Data too long")}for(const M of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])b&&v<=t.getNumDataCodewords(p,M)*8&&(c=M);let w=[];for(const M of l){n(M.mode.modeBits,4,w),n(M.numChars,M.mode.numCharCountBits(p),w);for(const I of M.getData())w.push(I)}o(w.length==v);const C=t.getNumDataCodewords(p,c)*8;o(w.length<=C),n(0,Math.min(4,C-w.length),w),n(0,(8-w.length%8)%8,w),o(w.length%8==0);for(let M=236;w.lengthy[I>>>3]|=M<<7-(I&7)),new t(p,c,y,d)}getModule(l,c){return 0<=l&&l>>9)*1335;const f=(c<<10|u)^21522;o(f>>>15==0);for(let d=0;d<=5;d++)this.setFunctionModule(8,d,i(f,d));this.setFunctionModule(8,7,i(f,6)),this.setFunctionModule(8,8,i(f,7)),this.setFunctionModule(7,8,i(f,8));for(let d=9;d<15;d++)this.setFunctionModule(14-d,8,i(f,d));for(let d=0;d<8;d++)this.setFunctionModule(this.size-1-d,8,i(f,d));for(let d=8;d<15;d++)this.setFunctionModule(8,this.size-15+d,i(f,d));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let l=this.version;for(let u=0;u<12;u++)l=l<<1^(l>>>11)*7973;const c=this.version<<12|l;o(c>>>18==0);for(let u=0;u<18;u++){const f=i(c,u),d=this.size-11+u%3,b=Math.floor(u/3);this.setFunctionModule(d,b,f),this.setFunctionModule(b,d,f)}}drawFinderPattern(l,c){for(let u=-4;u<=4;u++)for(let f=-4;f<=4;f++){const d=Math.max(Math.abs(f),Math.abs(u)),b=l+f,p=c+u;0<=b&&b{(M!=v-d||N>=p)&&y.push(I[M])});return o(y.length==b),y}drawCodewords(l){if(l.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let c=0;for(let u=this.size-1;u>=1;u-=2){u==6&&(u=5);for(let f=0;f>>3],7-(c&7)),c++)}}o(c==l.length*8)}applyMask(l){if(l<0||l>7)throw new RangeError("Mask value out of range");for(let c=0;c5&&l++):(this.finderPenaltyAddHistory(p,v),b||(l+=this.finderPenaltyCountPatterns(v)*t.PENALTY_N3),b=this.modules[d][w],p=1);l+=this.finderPenaltyTerminateAndCount(b,p,v)*t.PENALTY_N3}for(let d=0;d5&&l++):(this.finderPenaltyAddHistory(p,v),b||(l+=this.finderPenaltyCountPatterns(v)*t.PENALTY_N3),b=this.modules[w][d],p=1);l+=this.finderPenaltyTerminateAndCount(b,p,v)*t.PENALTY_N3}for(let d=0;db+(p?1:0),c);const u=this.size*this.size,f=Math.ceil(Math.abs(c*20-u*10)/u)-1;return o(0<=f&&f<=9),l+=f*t.PENALTY_N4,o(0<=l&&l<=2568888),l}getAlignmentPatternPositions(){if(this.version==1)return[];{const l=Math.floor(this.version/7)+2,c=this.version==32?26:Math.ceil((this.version*4+4)/(l*2-2))*2;let u=[6];for(let f=this.size-7;u.lengtht.MAX_VERSION)throw new RangeError("Version number out of range");let c=(16*l+128)*l+64;if(l>=2){const u=Math.floor(l/7)+2;c-=(25*u-10)*u-55,l>=7&&(c-=36)}return o(208<=c&&c<=29648),c}static getNumDataCodewords(l,c){return Math.floor(t.getNumRawDataModules(l)/8)-t.ECC_CODEWORDS_PER_BLOCK[c.ordinal][l]*t.NUM_ERROR_CORRECTION_BLOCKS[c.ordinal][l]}static reedSolomonComputeDivisor(l){if(l<1||l>255)throw new RangeError("Degree out of range");let c=[];for(let f=0;f0);for(const f of l){const d=f^u.shift();u.push(0),c.forEach((b,p)=>u[p]^=t.reedSolomonMultiply(b,d))}return u}static reedSolomonMultiply(l,c){if(l>>>8||c>>>8)throw new RangeError("Byte out of range");let u=0;for(let f=7;f>=0;f--)u=u<<1^(u>>>7)*285,u^=(c>>>f&1)*l;return o(u>>>8==0),u}finderPenaltyCountPatterns(l){const c=l[1];o(c<=this.size*3);const u=c>0&&l[2]==c&&l[3]==c*3&&l[4]==c&&l[5]==c;return(u&&l[0]>=c*4&&l[6]>=c?1:0)+(u&&l[6]>=c*4&&l[0]>=c?1:0)}finderPenaltyTerminateAndCount(l,c,u){return l&&(this.finderPenaltyAddHistory(c,u),c=0),c+=this.size,this.finderPenaltyAddHistory(c,u),this.finderPenaltyCountPatterns(u)}finderPenaltyAddHistory(l,c){c[0]==0&&(l+=this.size),c.pop(),c.unshift(l)}};let r=t;r.MIN_VERSION=1,r.MAX_VERSION=40,r.PENALTY_N1=3,r.PENALTY_N2=3,r.PENALTY_N3=40,r.PENALTY_N4=10,r.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],r.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=r;function n(l,c,u){if(c<0||c>31||l>>>c)throw new RangeError("Value out of range");for(let f=c-1;f>=0;f--)u.push(l>>>f&1)}function i(l,c){return(l>>>c&1)!=0}function o(l){if(!l)throw new Error("Assertion error")}const a=class{constructor(l,c,u){if(this.mode=l,this.numChars=c,this.bitData=u,c<0)throw new RangeError("Invalid argument");this.bitData=u.slice()}static makeBytes(l){let c=[];for(const u of l)n(u,8,c);return new a(a.Mode.BYTE,l.length,c)}static makeNumeric(l){if(!a.isNumeric(l))throw new RangeError("String contains non-numeric characters");let c=[];for(let u=0;u=1<{(t=>{const r=class{constructor(i,o){this.ordinal=i,this.formatBits=o}};let n=r;n.LOW=new r(0,1),n.MEDIUM=new r(1,0),n.QUARTILE=new r(2,3),n.HIGH=new r(3,2),t.Ecc=n})(e.QrCode||(e.QrCode={}))})(ul||(ul={}));(e=>{(t=>{const r=class{constructor(i,o){this.modeBits=i,this.numBitsCharCount=o}numCharCountBits(i){return this.numBitsCharCount[Math.floor((i+7)/17)]}};let n=r;n.NUMERIC=new r(1,[10,12,14]),n.ALPHANUMERIC=new r(2,[9,11,13]),n.BYTE=new r(4,[8,16,16]),n.KANJI=new r(8,[8,10,12]),n.ECI=new r(7,[0,0,0]),t.Mode=n})(e.QrSegment||(e.QrSegment={}))})(ul||(ul={}));var cf=ul;/** + * @license qrcode.react + * Copyright (c) Paul O'Shannessy + * SPDX-License-Identifier: ISC + */var Yse={L:cf.QrCode.Ecc.LOW,M:cf.QrCode.Ecc.MEDIUM,Q:cf.QrCode.Ecc.QUARTILE,H:cf.QrCode.Ecc.HIGH},Xse=128,Jse="L",Zse="#FFFFFF",Qse="#000000",ele=!1,tk=4,tle=.1;function rle(e,t=0){const r=[];return e.forEach(function(n,i){let o=null;n.forEach(function(a,s){if(!a&&o!==null){r.push(`M${o+t} ${i+t}h${s-o}v1H${o+t}z`),o=null;return}if(s===n.length-1){if(!a)return;o===null?r.push(`M${s+t},${i+t} h1v1H${s+t}z`):r.push(`M${o+t},${i+t} h${s+1-o}v1H${o+t}z`);return}a&&o===null&&(o=s)})}),r.join("")}function nle(e,t){return e.slice().map((r,n)=>n=t.y+t.h?r:r.map((i,o)=>o=t.x+t.w?i:!1))}function ile(e,t,r,n){if(n==null)return null;const i=r?tk:0,o=e.length+i*2,a=Math.floor(t*tle),s=o/t,l=(n.width||a)*s,c=(n.height||a)*s,u=n.x==null?e.length/2-l/2:n.x*s,f=n.y==null?e.length/2-c/2:n.y*s;let d=null;if(n.excavate){let b=Math.floor(u),p=Math.floor(f),v=Math.ceil(l+u-b),w=Math.ceil(c+f-p);d={x:b,y:p,w:v,h:w}}return{x:u,y:f,h:c,w:l,excavation:d}}var ole=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}();function E0e(e){const t=e,{value:r,size:n=Xse,level:i=Jse,bgColor:o=Zse,fgColor:a=Qse,includeMargin:s=ele,style:l,imageSettings:c}=t,u=Gse(t,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),f=c==null?void 0:c.src,d=U.useRef(null),b=U.useRef(null),[p,v]=U.useState(!1);U.useEffect(()=>{if(d.current!=null){const y=d.current,M=y.getContext("2d");if(!M)return;let I=cf.QrCode.encodeText(r,Yse[i]).getModules();const N=s?tk:0,O=I.length+N*2,D=ile(I,n,s,c),T=b.current,F=D!=null&&T!==null&&T.complete&&T.naturalHeight!==0&&T.naturalWidth!==0;F&&D.excavation!=null&&(I=nle(I,D.excavation));const k=window.devicePixelRatio||1;y.height=y.width=n*k;const A=n/O*k;M.scale(A,A),M.fillStyle=o,M.fillRect(0,0,O,O),M.fillStyle=a,ole?M.fill(new Path2D(rle(I,N))):I.forEach(function(x,g){x.forEach(function(h,m){h&&M.fillRect(m+N,g+N,1,1)})}),F&&M.drawImage(T,D.x+N,D.y+N,D.w,D.h)}}),U.useEffect(()=>{v(!1)},[f]);const w=L9({height:n,width:n},l);let C=null;return f!=null&&(C=mn.createElement("img",{src:f,key:f,style:{display:"none"},onLoad:()=>{v(!0)},ref:b})),mn.createElement(mn.Fragment,null,mn.createElement("canvas",L9({style:w,height:n,width:n,ref:d},u)),C)}var rk={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var o="",a=0;a0)return cle(e);if(r==="number"&&isNaN(e)===!1)return t.long?fle(e):ule(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function cle(e){if(e=String(e),!(e.length>100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*sle;case"days":case"day":case"d":return r*w0;case"hours":case"hour":case"hrs":case"hr":case"h":return r*y0;case"minutes":case"minute":case"mins":case"min":case"m":return r*b0;case"seconds":case"second":case"secs":case"sec":case"s":return r*v0;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function ule(e){return e>=w0?Math.round(e/w0)+"d":e>=y0?Math.round(e/y0)+"h":e>=b0?Math.round(e/b0)+"m":e>=v0?Math.round(e/v0)+"s":e+"ms"}function fle(e){return Fd(e,w0,"day")||Fd(e,y0,"hour")||Fd(e,b0,"minute")||Fd(e,v0,"second")||e+" ms"}function Fd(e,t,r){if(!(e=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}t.formatters.j=function(c){try{return JSON.stringify(c)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}};function i(c){var u=this.useColors;if(c[0]=(u?"%c":"")+this.namespace+(u?" %c":" ")+c[0]+(u?"%c ":" ")+"+"+t.humanize(this.diff),!!u){var f="color: "+this.color;c.splice(1,0,f,"color: inherit");var d=0,b=0;c[0].replace(/%[a-zA-Z%]/g,function(p){p!=="%%"&&(d++,p==="%c"&&(b=d))}),c.splice(b,0,f)}}function o(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function a(c){try{c==null?t.storage.removeItem("debug"):t.storage.debug=c}catch{}}function s(){var c;try{c=t.storage.debug}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=r.DEBUG),c}t.enable(s());function l(){try{return window.localStorage}catch{}}})(O2,O2.exports);var hle=O2.exports,N9=hle("jsonp"),ple=gle,xle=0;function mle(){}function gle(e,t,r){typeof t=="function"&&(r=t,t={}),t||(t={});var n=t.prefix||"__jp",i=t.name||n+xle++,o=t.param||"callback",a=t.timeout!=null?t.timeout:6e4,s=encodeURIComponent,l=document.getElementsByTagName("script")[0]||document.head,c,u;a&&(u=setTimeout(function(){f(),r&&r(new Error("Timeout"))},a));function f(){c.parentNode&&c.parentNode.removeChild(c),window[i]=mle,u&&clearTimeout(u)}function d(){window[i]&&f()}return window[i]=function(b){N9("jsonp got",b),f(),r&&r(null,b)},e+=(~e.indexOf("?")?"&":"?")+o+"="+s(i),e=e.replace("?&","?"),N9('jsonp req "%s"',e),c=document.createElement("script"),c.src=e,l.parentNode.insertBefore(c,l),d}const yl=Pr(ple);var vle=Object.defineProperty,ble=Object.defineProperties,yle=Object.getOwnPropertyDescriptors,yp=Object.getOwnPropertySymbols,ik=Object.prototype.hasOwnProperty,ok=Object.prototype.propertyIsEnumerable,z9=(e,t,r)=>t in e?vle(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Xn=(e,t)=>{for(var r in t||(t={}))ik.call(t,r)&&z9(e,r,t[r]);if(yp)for(var r of yp(t))ok.call(t,r)&&z9(e,r,t[r]);return e},nx=(e,t)=>ble(e,yle(t)),ix=(e,t)=>{var r={};for(var n in e)ik.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&yp)for(var n of yp(e))t.indexOf(n)<0&&ok.call(e,n)&&(r[n]=e[n]);return r};function K0(e){return r=>{var n=r,{bgStyle:i={},borderRadius:o=0,iconFillColor:a="white",round:s=!1,size:l=64}=n,c=ix(n,["bgStyle","borderRadius","iconFillColor","round","size"]);return Y.jsxs("svg",nx(Xn({viewBox:"0 0 64 64",width:l,height:l},c),{children:[s?Y.jsx("circle",{cx:"32",cy:"32",r:"32",fill:e.color,style:i}):Y.jsx("rect",{width:"64",height:"64",rx:o,ry:o,fill:e.color,style:i}),Y.jsx("path",{d:e.path,fill:a})]}))}}function Kt(e){const t=Object.entries(e).filter(([,r])=>r!=null).map(([r,n])=>`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`);return t.length>0?`?${t.join("&")}`:""}const wle=e=>!!e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function",Sle=(e,t)=>({left:window.outerWidth/2+(window.screenX||window.screenLeft||0)-e/2,top:window.outerHeight/2+(window.screenY||window.screenTop||0)-t/2}),Cle=(e,t)=>({top:(window.screen.height-t)/2,left:(window.screen.width-e)/2});function Ele(e,t,r){var n=t,{height:i,width:o}=n,a=ix(n,["height","width"]);const s=Xn({height:i,width:o,location:"no",toolbar:"no",status:"no",directories:"no",menubar:"no",scrollbars:"yes",resizable:"no",centerscreen:"yes",chrome:"yes"},a),l=window.open(e,"",Object.keys(s).map(c=>`${c}=${s[c]}`).join(", "));if(r){const c=window.setInterval(()=>{try{(l===null||l.closed)&&(window.clearInterval(c),r(l))}catch{}},1e3)}return l}function Mle(e){var t=e,{beforeOnClick:r,children:n,className:i,disabled:o,disabledStyle:a={opacity:.6},forwardedRef:s,htmlTitle:l,networkLink:c,networkName:u,onClick:f,onShareWindowClose:d,openShareDialogOnClick:b=!0,opts:p,resetButtonStyle:v=!0,style:w,url:C,windowHeight:y=400,windowPosition:M="windowCenter",windowWidth:I=550}=t,N=ix(t,["beforeOnClick","children","className","disabled","disabledStyle","forwardedRef","htmlTitle","networkLink","networkName","onClick","onShareWindowClose","openShareDialogOnClick","opts","resetButtonStyle","style","url","windowHeight","windowPosition","windowWidth"]);const O=async F=>{const k=c(C,p);if(!o){if(F.preventDefault(),r){const A=r();wle(A)&&await A}if(b){const A=Xn({height:y,width:I},M==="windowCenter"?Sle(I,y):Cle(I,y));Ele(k,A,d)}f&&f(F,k)}},D=nk("react-share__ShareButton",{"react-share__ShareButton--disabled":!!o,disabled:!!o},i),T=Xn(Xn(v?{backgroundColor:"transparent",border:"none",padding:0,font:"inherit",color:"inherit",cursor:"pointer"}:{},w),o&&a);return Y.jsx("button",nx(Xn({},N),{className:D,onClick:O,ref:s,style:T,title:l,children:n}))}function hr(e,t,r,n){function i(o,a){const s=r(o),l=Xn({},o);return Object.keys(s).forEach(u=>{delete l[u]}),Y.jsx(Mle,nx(Xn(Xn({},n),l),{forwardedRef:a,networkName:e,networkLink:t,opts:r(o)}))}return i.displayName=`ShareButton-${e}`,U.forwardRef(i)}function Ple(e,{subject:t,body:r,separator:n}){return"mailto:"+Kt({subject:t,body:r?r+n+e:e})}hr("email",Ple,e=>({subject:e.subject,body:e.body,separator:e.separator||" "}),{openShareDialogOnClick:!1,onClick:(e,t)=>{window.location.href=t}});const Ale=K0({color:"#0965FE",networkName:"facebook",path:"M34.1,47V33.3h4.6l0.7-5.3h-5.3v-3.4c0-1.5,0.4-2.6,2.6-2.6l2.8,0v-4.8c-0.5-0.1-2.2-0.2-4.1-0.2 c-4.1,0-6.9,2.5-6.9,7V28H24v5.3h4.6V47H34.1z"}),M0e=Ale;function kle(e,{appId:t,redirectUri:r,to:n}){return"https://www.facebook.com/dialog/send"+Kt({link:e,redirect_uri:r||e,app_id:t,to:n})}hr("facebookmessenger",kle,e=>({appId:e.appId,redirectUri:e.redirectUri,to:e.to}),{windowWidth:1e3,windowHeight:820});class _le extends Error{constructor(t){super(t),this.name="AssertionError"}}function ir(e,t){if(!e)throw new _le(t)}function Rle(e,{hashtag:t}){return ir(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+Kt({u:e,hashtag:t})}const Tle=hr("facebook",Rle,e=>({hashtag:e.hashtag}),{windowWidth:550,windowHeight:400}),P0e=Tle;function $le(){const e=U.useRef(!1);return U.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),U.useCallback(()=>e.current,[])}function Ble(e){var t=e,{children:r=d=>d,className:n,getCount:i,url:o}=t,a=ix(t,["children","className","getCount","url"]);const s=$le(),[l,c]=U.useState(void 0),[u,f]=U.useState(!1);return U.useEffect(()=>{f(!0),i(o,d=>{s()&&(c(d),f(!1))})},[o]),Y.jsx("span",nx(Xn({className:nk("react-share__ShareCount",n)},a),{children:!u&&l!==void 0&&r(l)}))}function wl(e){const t=r=>Y.jsx(Ble,Xn({getCount:e},r));return t.displayName=`ShareCount(${e.name})`,t}function Ile(e,t){const r=`https://graph.facebook.com/?id=${e}&fields=og_object{engagement}`;yl(r,(n,i)=>{t(!n&&i&&i.og_object&&i.og_object.engagement?i.og_object.engagement.count:void 0)})}wl(Ile);function Ole(e,{title:t}){return ir(e,"hatena.url"),`http://b.hatena.ne.jp/add?mode=confirm&url=${e}&title=${t}`}hr("hatena",Ole,e=>({title:e.title}),{windowWidth:660,windowHeight:460,windowPosition:"windowCenter"});function Fle(e,t){yl("https://bookmark.hatenaapis.com/count/entry"+Kt({url:e}),(n,i)=>{t(i??void 0)})}wl(Fle);function Dle(e,{title:t,description:r}){return ir(e,"instapaper.url"),"http://www.instapaper.com/hello2"+Kt({url:e,title:t,description:r})}hr("instapaper",Dle,e=>({title:e.title,description:e.description}),{windowWidth:500,windowHeight:500,windowPosition:"windowCenter"});function Lle(e,{title:t}){return ir(e,"line.url"),"https://social-plugins.line.me/lineit/share"+Kt({url:e,text:t})}hr("line",Lle,e=>({title:e.title}),{windowWidth:500,windowHeight:500});const Nle=K0({color:"#0077B5",networkName:"linkedin",path:"M20.4,44h5.4V26.6h-5.4V44z M23.1,18c-1.7,0-3.1,1.4-3.1,3.1c0,1.7,1.4,3.1,3.1,3.1 c1.7,0,3.1-1.4,3.1-3.1C26.2,19.4,24.8,18,23.1,18z M39.5,26.2c-2.6,0-4.4,1.4-5.1,2.8h-0.1v-2.4h-5.2V44h5.4v-8.6 c0-2.3,0.4-4.5,3.2-4.5c2.8,0,2.8,2.6,2.8,4.6V44H46v-9.5C46,29.8,45,26.2,39.5,26.2z"}),A0e=Nle;function zle(e,{title:t,summary:r,source:n}){return ir(e,"linkedin.url"),"https://linkedin.com/shareArticle"+Kt({url:e,mini:"true",title:t,summary:r,source:n})}const jle=hr("linkedin",zle,({title:e,summary:t,source:r})=>({title:e,summary:t,source:r}),{windowWidth:750,windowHeight:600}),k0e=jle;function Ule(e,{title:t,description:r}){return ir(e,"livejournal.url"),"https://www.livejournal.com/update.bml"+Kt({subject:t,event:r})}hr("livejournal",Ule,e=>({title:e.title,description:e.description}),{windowWidth:660,windowHeight:460});function Hle(e,{title:t,description:r,imageUrl:n}){return ir(e,"mailru.url"),"https://connect.mail.ru/share"+Kt({url:e,title:t,description:r,image_url:n})}hr("mailru",Hle,e=>({title:e.title,description:e.description,imageUrl:e.imageUrl}),{windowWidth:660,windowHeight:460});function Wle(e,{title:t,description:r,image:n}){return ir(e,"ok.url"),"https://connect.ok.ru/offer"+Kt({url:e,title:t,description:r,imageUrl:n})}hr("ok",Wle,e=>({title:e.title,description:e.description,image:e.image}),{windowWidth:588,windowHeight:480,windowPosition:"screenCenter"});function qle(e,t){window.OK||(window.OK={Share:{count:function(o,a){var s,l;(l=(s=window.OK.callbacks)[o])==null||l.call(s,a)}},callbacks:[]});const r="https://connect.ok.ru/dk",n=window.OK.callbacks.length;return window.ODKL={updateCount(i,o){var a,s;const l=i===""?0:parseInt(i.replace("react-share-",""),10);(s=(a=window.OK.callbacks)[l])==null||s.call(a,o===""?void 0:parseInt(o,10))}},window.OK.callbacks.push(t),yl(r+Kt({"st.cmd":"extLike",uid:`react-share-${n}`,ref:e}))}wl(qle);function Vle(e,{media:t,description:r,pinId:n}){return n?`https://pinterest.com/pin/${n}/repin/x/`:(ir(e,"pinterest.url"),ir(t,"pinterest.media"),"https://pinterest.com/pin/create/button/"+Kt({url:e,media:t,description:r}))}hr("pinterest",Vle,e=>({media:e.media,description:e.description,pinId:e.pinId}),{windowWidth:1e3,windowHeight:730});function Kle(e,t){yl("https://api.pinterest.com/v1/urls/count.json"+Kt({url:e}),(n,i)=>{t(i?i.count:void 0)})}wl(Kle);function Gle(e,{title:t}){return ir(e,"pocket.url"),"https://getpocket.com/save"+Kt({url:e,title:t})}hr("pocket",Gle,e=>({title:e.title}),{windowWidth:500,windowHeight:500});const Yle=K0({color:"#FF5700",networkName:"reddit",path:"M 53.34375 32 C 53.277344 30.160156 52.136719 28.53125 50.429688 27.839844 C 48.722656 27.148438 46.769531 27.523438 45.441406 28.800781 C 41.800781 26.324219 37.519531 24.957031 33.121094 24.863281 L 35.199219 14.878906 L 42.046875 16.320312 C 42.214844 17.882812 43.496094 19.09375 45.066406 19.171875 C 46.636719 19.253906 48.03125 18.183594 48.359375 16.644531 C 48.6875 15.105469 47.847656 13.558594 46.382812 12.992188 C 44.914062 12.425781 43.253906 13.007812 42.464844 14.367188 L 34.625 12.800781 C 34.363281 12.742188 34.09375 12.792969 33.871094 12.9375 C 33.648438 13.082031 33.492188 13.308594 33.441406 13.566406 L 31.070312 24.671875 C 26.617188 24.738281 22.277344 26.105469 18.59375 28.609375 C 17.242188 27.339844 15.273438 26.988281 13.570312 27.707031 C 11.863281 28.429688 10.746094 30.089844 10.71875 31.941406 C 10.691406 33.789062 11.757812 35.484375 13.441406 36.257812 C 13.402344 36.726562 13.402344 37.195312 13.441406 37.664062 C 13.441406 44.832031 21.792969 50.65625 32.097656 50.65625 C 42.398438 50.65625 50.753906 44.832031 50.753906 37.664062 C 50.789062 37.195312 50.789062 36.726562 50.753906 36.257812 C 52.363281 35.453125 53.371094 33.800781 53.34375 32 Z M 21.34375 35.199219 C 21.34375 33.433594 22.777344 32 24.542969 32 C 26.3125 32 27.742188 33.433594 27.742188 35.199219 C 27.742188 36.96875 26.3125 38.398438 24.542969 38.398438 C 22.777344 38.398438 21.34375 36.96875 21.34375 35.199219 Z M 39.9375 44 C 37.664062 45.710938 34.871094 46.582031 32.03125 46.464844 C 29.191406 46.582031 26.398438 45.710938 24.128906 44 C 23.847656 43.65625 23.871094 43.15625 24.183594 42.839844 C 24.5 42.527344 25 42.503906 25.34375 42.785156 C 27.269531 44.195312 29.617188 44.90625 32 44.800781 C 34.386719 44.929688 36.746094 44.242188 38.6875 42.847656 C 39.042969 42.503906 39.605469 42.511719 39.953125 42.863281 C 40.296875 43.21875 40.289062 43.785156 39.9375 44.128906 Z M 39.359375 38.527344 C 37.59375 38.527344 36.160156 37.09375 36.160156 35.328125 C 36.160156 33.5625 37.59375 32.128906 39.359375 32.128906 C 41.128906 32.128906 42.558594 33.5625 42.558594 35.328125 C 42.59375 36.203125 42.269531 37.054688 41.65625 37.6875 C 41.046875 38.316406 40.203125 38.664062 39.328125 38.65625 Z M 39.359375 38.527344"}),_0e=Yle;function Xle(e,{title:t}){return ir(e,"reddit.url"),"https://www.reddit.com/submit"+Kt({url:e,title:t})}const Jle=hr("reddit",Xle,e=>({title:e.title}),{windowWidth:660,windowHeight:460,windowPosition:"windowCenter"}),R0e=Jle;function Zle(e,{title:t}){return ir(e,"gab.url"),"https://gab.com/compose"+Kt({url:e,text:t})}hr("gab",Zle,e=>({title:e.title}),{windowWidth:660,windowHeight:640,windowPosition:"windowCenter"});function Qle(e,t){const r=`https://www.reddit.com/api/info.json?limit=1&url=${e}`;yl(r,{param:"jsonp"},(n,i)=>{t(!n&&i&&i.data&&i.data.children.length>0&&i.data.children[0].data.score?i.data.children[0].data.score:void 0)})}wl(Qle);const ece=K0({color:"#25A3E3",networkName:"telegram",path:"m45.90873,15.44335c-0.6901,-0.0281 -1.37668,0.14048 -1.96142,0.41265c-0.84989,0.32661 -8.63939,3.33986 -16.5237,6.39174c-3.9685,1.53296 -7.93349,3.06593 -10.98537,4.24067c-3.05012,1.1765 -5.34694,2.05098 -5.4681,2.09312c-0.80775,0.28096 -1.89996,0.63566 -2.82712,1.72788c-0.23354,0.27218 -0.46884,0.62161 -0.58825,1.10275c-0.11941,0.48114 -0.06673,1.09222 0.16682,1.5716c0.46533,0.96052 1.25376,1.35737 2.18443,1.71383c3.09051,0.99037 6.28638,1.93508 8.93263,2.8236c0.97632,3.44171 1.91401,6.89571 2.84116,10.34268c0.30554,0.69185 0.97105,0.94823 1.65764,0.95525l-0.00351,0.03512c0,0 0.53908,0.05268 1.06412,-0.07375c0.52679,-0.12292 1.18879,-0.42846 1.79109,-0.99212c0.662,-0.62161 2.45836,-2.38812 3.47683,-3.38552l7.6736,5.66477l0.06146,0.03512c0,0 0.84989,0.59703 2.09312,0.68132c0.62161,0.04214 1.4399,-0.07726 2.14229,-0.59176c0.70766,-0.51626 1.1765,-1.34683 1.396,-2.29506c0.65673,-2.86224 5.00979,-23.57745 5.75257,-27.00686l-0.02107,0.08077c0.51977,-1.93157 0.32837,-3.70159 -0.87096,-4.74991c-0.60054,-0.52152 -1.2924,-0.7498 -1.98425,-0.77965l0,0.00176zm-0.2072,3.29069c0.04741,0.0439 0.0439,0.0439 0.00351,0.04741c-0.01229,-0.00351 0.14048,0.2072 -0.15804,1.32576l-0.01229,0.04214l-0.00878,0.03863c-0.75858,3.50668 -5.15554,24.40802 -5.74203,26.96472c-0.08077,0.34417 -0.11414,0.31959 -0.09482,0.29852c-0.1756,-0.02634 -0.50045,-0.16506 -0.52679,-0.1756l-13.13468,-9.70175c4.4988,-4.33199 9.09945,-8.25307 13.744,-12.43229c0.8218,-0.41265 0.68483,-1.68573 -0.29852,-1.70681c-1.04305,0.24584 -1.92279,0.99564 -2.8798,1.47502c-5.49971,3.2626 -11.11882,6.13186 -16.55882,9.49279c-2.792,-0.97105 -5.57873,-1.77704 -8.15298,-2.57601c2.2336,-0.89555 4.00889,-1.55579 5.75608,-2.23009c3.05188,-1.1765 7.01687,-2.7042 10.98537,-4.24067c7.94051,-3.06944 15.92667,-6.16346 16.62028,-6.43037l0.05619,-0.02283l0.05268,-0.02283c0.19316,-0.0878 0.30378,-0.09658 0.35471,-0.10009c0,0 -0.01756,-0.05795 -0.00351,-0.04566l-0.00176,0zm-20.91715,22.0638l2.16687,1.60145c-0.93418,0.91311 -1.81743,1.77353 -2.45485,2.38812l0.28798,-3.98957"}),T0e=ece;function tce(e,{title:t}){return ir(e,"telegram.url"),"https://telegram.me/share/url"+Kt({url:e,text:t})}const rce=hr("telegram",tce,e=>({title:e.title}),{windowWidth:550,windowHeight:400}),$0e=rce;function nce(e,{title:t,caption:r,tags:n,posttype:i}){return ir(e,"tumblr.url"),"https://www.tumblr.com/widgets/share/tool"+Kt({canonicalUrl:e,title:t,caption:r,tags:n,posttype:i})}hr("tumblr",nce,e=>({title:e.title,tags:(e.tags||[]).join(","),caption:e.caption,posttype:e.posttype||"link"}),{windowWidth:660,windowHeight:460});function ice(e,t){return yl("https://api.tumblr.com/v2/share/stats"+Kt({url:e}),(n,i)=>{t(!n&&i&&i.response?i.response.note_count:void 0)})}wl(ice);const oce=K0({color:"#00aced",networkName:"twitter",path:"M48,22.1c-1.2,0.5-2.4,0.9-3.8,1c1.4-0.8,2.4-2.1,2.9-3.6c-1.3,0.8-2.7,1.3-4.2,1.6 C41.7,19.8,40,19,38.2,19c-3.6,0-6.6,2.9-6.6,6.6c0,0.5,0.1,1,0.2,1.5c-5.5-0.3-10.3-2.9-13.5-6.9c-0.6,1-0.9,2.1-0.9,3.3 c0,2.3,1.2,4.3,2.9,5.5c-1.1,0-2.1-0.3-3-0.8c0,0,0,0.1,0,0.1c0,3.2,2.3,5.8,5.3,6.4c-0.6,0.1-1.1,0.2-1.7,0.2c-0.4,0-0.8,0-1.2-0.1 c0.8,2.6,3.3,4.5,6.1,4.6c-2.2,1.8-5.1,2.8-8.2,2.8c-0.5,0-1.1,0-1.6-0.1c2.9,1.9,6.4,2.9,10.1,2.9c12.1,0,18.7-10,18.7-18.7 c0-0.3,0-0.6,0-0.8C46,24.5,47.1,23.4,48,22.1z"}),B0e=oce;function ace(e,{title:t,via:r,hashtags:n=[],related:i=[]}){return ir(e,"twitter.url"),ir(Array.isArray(n),"twitter.hashtags is not an array"),ir(Array.isArray(i),"twitter.related is not an array"),"https://twitter.com/intent/tweet"+Kt({url:e,text:t,via:r,hashtags:n.length>0?n.join(","):void 0,related:i.length>0?i.join(","):void 0})}const sce=hr("twitter",ace,e=>({hashtags:e.hashtags,title:e.title,via:e.via,related:e.related}),{windowWidth:550,windowHeight:400}),I0e=sce;function lce(e,{title:t,separator:r}){return ir(e,"viber.url"),"viber://forward"+Kt({text:t?t+r+e:e})}hr("viber",lce,e=>({title:e.title,separator:e.separator||" "}),{windowWidth:660,windowHeight:460});function cce(e,{title:t,image:r,noParse:n,noVkLinks:i}){return ir(e,"vk.url"),"https://vk.com/share.php"+Kt({url:e,title:t,image:r,noparse:n?1:0,no_vk_links:i?1:0})}hr("vk",cce,e=>({title:e.title,image:e.image,noParse:e.noParse,noVkLinks:e.noVkLinks}),{windowWidth:660,windowHeight:460});function uce(e,t){window.VK||(window.VK={}),window.VK.Share={count:(i,o)=>{var a,s;return(s=(a=window.VK.callbacks)==null?void 0:a[i])==null?void 0:s.call(a,o)}},window.VK.callbacks=[];const r="https://vk.com/share.php",n=window.VK.callbacks.length;return window.VK.callbacks.push(t),yl(r+Kt({act:"count",index:n,url:e}))}wl(uce);function fce(e,{title:t,image:r}){return ir(e,"weibo.url"),"http://service.weibo.com/share/share.php"+Kt({url:e,title:t,pic:r})}hr("weibo",fce,e=>({title:e.title,image:e.image}),{windowWidth:660,windowHeight:550,windowPosition:"screenCenter"});function dce(){return/(android|iphone|ipad|mobile)/i.test(navigator.userAgent)}function hce(e,{title:t,separator:r}){return ir(e,"whatsapp.url"),"https://"+(dce()?"api":"web")+".whatsapp.com/send"+Kt({text:t?t+r+e:e})}hr("whatsapp",hce,e=>({title:e.title,separator:e.separator||" "}),{windowWidth:550,windowHeight:400});function pce(e,{quote:t,hashtag:r}){return ir(e,"workplace.url"),"https://work.facebook.com/sharer.php"+Kt({u:e,quote:t,hashtag:r})}hr("workplace",pce,e=>({quote:e.quote,hashtag:e.hashtag}),{windowWidth:550,windowHeight:400});var pu={},Rg={},Tg={},$g={},ox={},Bg={},xce=Ig(typeof Buffer<"u"&&Buffer)||Ig(st.Buffer)||Ig(typeof window<"u"&&window.Buffer)||st.Buffer;function Ig(e){return e&&e.isBuffer&&e}var mce={}.toString,T3=Array.isArray||function(e){return mce.call(e)=="[object Array]"},Og={exports:{}},j9;function gce(){if(j9)return Og.exports;j9=1;var e=Wi(),t=Og.exports=r(0);t.alloc=r,t.concat=e.concat,t.from=n;function r(i){return new Array(i)}function n(i){if(!e.isBuffer(i)&&e.isView(i))i=e.Uint8Array.from(i);else if(e.isArrayBuffer(i))i=new Uint8Array(i);else{if(typeof i=="string")return e.from.call(t,i);if(typeof i=="number")throw new TypeError('"value" argument must not be a number')}return Array.prototype.slice.call(i)}return Og.exports}var Fg={exports:{}},U9;function vce(){if(U9)return Fg.exports;U9=1;var e=Wi(),t=e.global,r=Fg.exports=e.hasBuffer?n(0):[];r.alloc=e.hasBuffer&&t.alloc||n,r.concat=e.concat,r.from=i;function n(o){return new t(o)}function i(o){if(!e.isBuffer(o)&&e.isView(o))o=e.Uint8Array.from(o);else if(e.isArrayBuffer(o))o=new Uint8Array(o);else{if(typeof o=="string")return e.from.call(r,o);if(typeof o=="number")throw new TypeError('"value" argument must not be a number')}return t.from&&t.from.length!==1?t.from(o):new t(o)}return Fg.exports}var Dg={exports:{}},H9;function bce(){if(H9)return Dg.exports;H9=1;var e=Wi(),t=Dg.exports=e.hasArrayBuffer?r(0):[];t.alloc=r,t.concat=e.concat,t.from=n;function r(i){return new Uint8Array(i)}function n(i){if(e.isView(i)){var o=i.byteOffset,a=i.byteLength;i=i.buffer,i.byteLength!==a&&(i.slice?i=i.slice(o,o+a):(i=new Uint8Array(i),i.byteLength!==a&&(i=Array.prototype.slice.call(i,o,o+a))))}else{if(typeof i=="string")return e.from.call(t,i);if(typeof i=="number")throw new TypeError('"value" argument must not be a number')}return new Uint8Array(i)}return Dg.exports}var Ol={},ax={};ax.copy=Sce;ax.toString=wce;ax.write=yce;function yce(e,t){for(var r=this,n=t||(t|=0),i=e.length,o=0,a=0;a>>6,r[n++]=128|o&63):o<55296||o>57343?(r[n++]=224|o>>>12,r[n++]=128|o>>>6&63,r[n++]=128|o&63):(o=(o-55296<<10|e.charCodeAt(a++)-56320)+65536,r[n++]=240|o>>>18,r[n++]=128|o>>>12&63,r[n++]=128|o>>>6&63,r[n++]=128|o&63);return n-t}function wce(e,t,r){var n=this,i=t|0;r||(r=n.length);for(var o="",a=0;i=65536?(a-=65536,o+=String.fromCharCode((a>>>10)+55296,(a&1023)+56320)):o+=String.fromCharCode(a)}return o}function Sce(e,t,r,n){var i;r||(r=0),!n&&n!==0&&(n=this.length),t||(t=0);var o=n-r;if(e===this&&r=0;i--)e[i+t]=this[i+r];else for(i=0;i0?S(j,V,K):K<0?$(j,V,K):w(j,V,a,0))}function H(G,j,V,K){var Z=0,ee=V.length,Q=0,ne=0;V[0]==="-"&&Z++;for(var xe=Z;Z=0))break;ne=ne*K+se,Q=Q*K+Math.floor(ne/l),ne%=l}xe&&(Q=~Q,ne?ne=l-ne:Q++),X(G,j+k,Q),X(G,j+A,ne)}function L(){var G=this.buffer,j=this.offset,V=J(G,j+k),K=J(G,j+A);return F||(V|=0),V?V*l+K:K}function q(G){var j=this.buffer,V=this.offset,K=J(j,V+k),Z=J(j,V+A),ee="",Q=!F&&K&2147483648;for(Q&&(K=~K,Z=l-Z),G=G||10;;){var ne=K%G*l+Z;if(K=Math.floor(K/G),Z=Math.floor(ne/G),ee=(ne%G).toString(G)+ee,!K&&!Z)break}return Q&&(ee="-"+ee),ee}function X(G,j,V){G[j+m]=V&255,V=V>>8,G[j+h]=V&255,V=V>>8,G[j+g]=V&255,V=V>>8,G[j+x]=V&255}function J(G,j){return G[j+x]*c+(G[j+g]<<16)+(G[j+h]<<8)+G[j+m]}}function d(D){var T=this.buffer,F=this.offset;return u=null,D!==!1&&F===0&&T.length===8&&s(T)?T:C(T,F)}function b(D){var T=this.buffer,F=this.offset;if(u=n,D!==!1&&F===0&&T.length===8&&Buffer.isBuffer(T))return T;var k=new n(8);return w(k,0,T,F),k}function p(D){var T=this.buffer,F=this.offset,k=T.buffer;if(u=i,D!==!1&&F===0&&k instanceof o&&k.byteLength===8)return k;var A=new i(8);return w(A,0,T,F),A.buffer}function v(D,T){var F=D&&D.length;return T|=0,F&&T+8<=F&&typeof D[T]!="string"}function w(D,T,F,k){T|=0,k|=0;for(var A=0;A<8;A++)D[T++]=F[k++]&255}function C(D,T){return Array.prototype.slice.call(D,T,T+8)}function y(D,T,F){for(var k=T+8;k>T;)D[--k]=F&255,F/=256}function M(D,T,F){var k=T+8;for(F++;k>T;)D[--k]=-F&255^255,F/=256}function I(D,T,F){for(var k=T+8;T */lx.read=function(e,t,r,n,i){var o,a,s=i*8-n-1,l=(1<>1,u=-7,f=r?i-1:0,d=r?-1:1,b=e[t+f];for(f+=d,o=b&(1<<-u)-1,b>>=-u,u+=s;u>0;o=o*256+e[t+f],f+=d,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=n;u>0;a=a*256+e[t+f],f+=d,u-=8);if(o===0)o=1-c;else{if(o===l)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-c}return(b?-1:1)*a*Math.pow(2,o-n)};lx.write=function(e,t,r,n,i,o){var a,s,l,c=o*8-i-1,u=(1<>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,p=n?1:-1,v=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+f>=1?t+=d/l:t+=d*Math.pow(2,1-f),t*l>=2&&(a++,l/=2),a+f>=u?(s=0,a=u):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a=a+f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+b]=s&255,b+=p,s/=256,i-=8);for(a=a<0;e[r+b]=a&255,b+=p,a/=256,c-=8);e[r+b-p]|=v*128};var B3={},Mce=B3.uint8=new Array(256);for(var Dd=0;Dd<=255;Dd++)Mce[Dd]=Pce(Dd);function Pce(e){return function(t){var r=t.reserve(1);t.buffer[r]=e}}var lk=lx,ck=sx,Ace=ck.Uint64BE,kce=ck.Int64BE,uk=B3.uint8,cx=Wi(),Zt=cx.global,_ce=cx.hasBuffer&&"TYPED_ARRAY_SUPPORT"in Zt,Rce=_ce&&!Zt.TYPED_ARRAY_SUPPORT,K9=cx.hasBuffer&&Zt.prototype||{};sk.getWriteToken=Tce;function Tce(e){return e&&e.uint8array?$ce():Rce||cx.hasBuffer&&e&&e.safe?Bce():fk()}function $ce(){var e=fk();return e[202]=Nt(202,4,pk),e[203]=Nt(203,8,xk),e}function fk(){var e=uk.slice();return e[196]=Xu(196),e[197]=As(197),e[198]=ks(198),e[199]=Xu(199),e[200]=As(200),e[201]=ks(201),e[202]=Nt(202,4,K9.writeFloatBE||pk,!0),e[203]=Nt(203,8,K9.writeDoubleBE||xk,!0),e[204]=Xu(204),e[205]=As(205),e[206]=ks(206),e[207]=Nt(207,8,dk),e[208]=Xu(208),e[209]=As(209),e[210]=ks(210),e[211]=Nt(211,8,hk),e[217]=Xu(217),e[218]=As(218),e[219]=ks(219),e[220]=As(220),e[221]=ks(221),e[222]=As(222),e[223]=ks(223),e}function Bce(){var e=uk.slice();return e[196]=Nt(196,1,Zt.prototype.writeUInt8),e[197]=Nt(197,2,Zt.prototype.writeUInt16BE),e[198]=Nt(198,4,Zt.prototype.writeUInt32BE),e[199]=Nt(199,1,Zt.prototype.writeUInt8),e[200]=Nt(200,2,Zt.prototype.writeUInt16BE),e[201]=Nt(201,4,Zt.prototype.writeUInt32BE),e[202]=Nt(202,4,Zt.prototype.writeFloatBE),e[203]=Nt(203,8,Zt.prototype.writeDoubleBE),e[204]=Nt(204,1,Zt.prototype.writeUInt8),e[205]=Nt(205,2,Zt.prototype.writeUInt16BE),e[206]=Nt(206,4,Zt.prototype.writeUInt32BE),e[207]=Nt(207,8,dk),e[208]=Nt(208,1,Zt.prototype.writeInt8),e[209]=Nt(209,2,Zt.prototype.writeInt16BE),e[210]=Nt(210,4,Zt.prototype.writeInt32BE),e[211]=Nt(211,8,hk),e[217]=Nt(217,1,Zt.prototype.writeUInt8),e[218]=Nt(218,2,Zt.prototype.writeUInt16BE),e[219]=Nt(219,4,Zt.prototype.writeUInt32BE),e[220]=Nt(220,2,Zt.prototype.writeUInt16BE),e[221]=Nt(221,4,Zt.prototype.writeUInt32BE),e[222]=Nt(222,2,Zt.prototype.writeUInt16BE),e[223]=Nt(223,4,Zt.prototype.writeUInt32BE),e}function Xu(e){return function(t,r){var n=t.reserve(2),i=t.buffer;i[n++]=e,i[n]=r}}function As(e){return function(t,r){var n=t.reserve(3),i=t.buffer;i[n++]=e,i[n++]=r>>>8,i[n]=r}}function ks(e){return function(t,r){var n=t.reserve(5),i=t.buffer;i[n++]=e,i[n++]=r>>>24,i[n++]=r>>>16,i[n++]=r>>>8,i[n]=r}}function Nt(e,t,r,n){return function(i,o){var a=i.reserve(t+1);i.buffer[a++]=e,r.call(i.buffer,o,a,n)}}function dk(e,t){new Ace(this,t,e)}function hk(e,t){new kce(this,t,e)}function pk(e,t){lk.write(this,e,t,!1,23,4)}function xk(e,t){lk.write(this,e,t,!1,52,8)}var Ice=T3,mk=sx,Oce=mk.Uint64BE,Fce=mk.Int64BE,G9=Wi(),Y9=$3(),Dce=sk,Lce=B3.uint8,Nce=ox.ExtBuffer,zce=typeof Uint8Array<"u",jce=typeof Map<"u",xu=[];xu[1]=212;xu[2]=213;xu[4]=214;xu[8]=215;xu[16]=216;ak.getWriteType=Uce;function Uce(e){var t=Dce.getWriteToken(e),r=e&&e.useraw,n=zce&&e&&e.binarraybuffer,i=n?G9.isArrayBuffer:G9.isBuffer,o=n?N:I,a=jce&&e&&e.usemap,s=a?T:D,l={boolean:c,function:y,number:u,object:r?C:w,string:v(r?p:b),symbol:y,undefined:y};return l;function c(k,A){var x=A?195:194;t[x](k,A)}function u(k,A){var x=A|0,g;if(A!==x){g=203,t[g](k,A);return}else-32<=x&&x<=127?g=x&255:0<=x?g=x<=255?204:x<=65535?205:206:g=-128<=x?208:-32768<=x?209:210;t[g](k,x)}function f(k,A){var x=207;t[x](k,A.toArray())}function d(k,A){var x=211;t[x](k,A.toArray())}function b(k){return k<32?1:k<=255?2:k<=65535?3:5}function p(k){return k<32?1:k<=65535?3:5}function v(k){return A;function A(x,g){var h=g.length,m=5+h*3;x.offset=x.reserve(m);var S=x.buffer,$=k(h),R=x.offset+$;h=Y9.write.call(S,g,R);var B=k(h);if($!==B){var P=R+B-$,E=R+h;Y9.copy.call(S,S,P,R,E)}var _=B===1?160+h:B<=3?215+B:219;t[_](x,h),x.offset+=h}}function w(k,A){if(A===null)return y(k,A);if(i(A))return o(k,A);if(Ice(A))return M(k,A);if(Oce.isUint64BE(A))return f(k,A);if(Fce.isInt64BE(A))return d(k,A);var x=k.codec.getExtPacker(A);if(x&&(A=x(A)),A instanceof Nce)return O(k,A);s(k,A)}function C(k,A){if(i(A))return F(k,A);w(k,A)}function y(k,A){var x=192;t[x](k,A)}function M(k,A){var x=A.length,g=x<16?144+x:x<=65535?220:221;t[g](k,x);for(var h=k.codec.encode,m=0;mthis.buffer.length)throw new Error(J9);return this.offset=o,i}}function Zce(){return{bufferish:$f,write:Qce,fetch:e,flush:t,push:bk,pull:r,read:vk,reserve:n,send:i,maxBufferSize:Xce,minBufferSize:Yce,offset:0,start:0};function e(){var o=this.start;if(o1?this.bufferish.concat(o):o[0];return o.length=0,a}function n(o){var a=o|0;if(this.buffer){var s=this.buffer.length,l=this.offset|0,c=l+a;if(cthis.minBufferSize)this.flush(),this.push(o);else{var s=this.reserve(a);$f.prototype.copy.call(o,this.buffer,s)}}}function Qce(){throw new Error("method not implemented: write()")}function eue(){throw new Error("method not implemented: fetch()")}function vk(){var e=this.buffers&&this.buffers.length;return e?(this.flush(),this.pull()):this.fetch()}function bk(e){var t=this.buffers||(this.buffers=[]);t.push(e)}function tue(){var e=this.buffers||(this.buffers=[]);return e.shift()}function yk(e){return t;function t(r){for(var n in e)r[n]=e[n];return r}}var Z9;function wk(){if(Z9)return Tg;Z9=1,Tg.EncodeBuffer=r;var e=I3().preset,t=ux.FlexEncoder;t.mixin(r.prototype);function r(n){if(!(this instanceof r))return new r(n);if(n&&(this.options=n,n.codec)){var i=this.codec=n.codec;i.bufferish&&(this.bufferish=i.bufferish)}}return r.prototype.codec=e,r.prototype.write=function(n){this.codec.encode(this,n)},Tg}var Q9;function Sk(){if(Q9)return Rg;Q9=1,Rg.encode=t;var e=wk().EncodeBuffer;function t(r,n){var i=new e(n);return i.write(r),i.read()}return Rg}var Ng={},zg={},jg={},Ug={},ew;function rue(){if(ew)return Ug;ew=1,Ug.setExtUnpackers=i;var e=Wi(),t=e.global,r,n={name:1,message:1,stack:1,columnNumber:1,fileName:1,lineNumber:1};function i(u){u.addExtUnpacker(14,[o,s(Error)]),u.addExtUnpacker(1,[o,s(EvalError)]),u.addExtUnpacker(2,[o,s(RangeError)]),u.addExtUnpacker(3,[o,s(ReferenceError)]),u.addExtUnpacker(4,[o,s(SyntaxError)]),u.addExtUnpacker(5,[o,s(TypeError)]),u.addExtUnpacker(6,[o,s(URIError)]),u.addExtUnpacker(10,[o,a]),u.addExtUnpacker(11,[o,l(Boolean)]),u.addExtUnpacker(12,[o,l(String)]),u.addExtUnpacker(13,[o,l(Date)]),u.addExtUnpacker(15,[o,l(Number)]),typeof Uint8Array<"u"&&(u.addExtUnpacker(17,l(Int8Array)),u.addExtUnpacker(18,l(Uint8Array)),u.addExtUnpacker(19,[c,l(Int16Array)]),u.addExtUnpacker(20,[c,l(Uint16Array)]),u.addExtUnpacker(21,[c,l(Int32Array)]),u.addExtUnpacker(22,[c,l(Uint32Array)]),u.addExtUnpacker(23,[c,l(Float32Array)]),typeof Float64Array<"u"&&u.addExtUnpacker(24,[c,l(Float64Array)]),typeof Uint8ClampedArray<"u"&&u.addExtUnpacker(25,l(Uint8ClampedArray)),u.addExtUnpacker(26,c),u.addExtUnpacker(29,[c,l(DataView)])),e.hasBuffer&&u.addExtUnpacker(27,l(t))}function o(u){return r||(r=Tk().decode),r(u)}function a(u){return RegExp.apply(null,u)}function s(u){return function(f){var d=new u;for(var b in n)d[b]=f[b];return d}}function l(u){return function(f){return new u(f)}}function c(u){return new Uint8Array(u).buffer}return Ug}var fx={},Ck=lx,Ek=sx,Mk=Ek.Uint64BE,Pk=Ek.Int64BE;fx.getReadFormat=oue;fx.readUint8=Ak;var O3=Wi(),dx=$3(),nue=typeof Map<"u",iue=!0;function oue(e){var t=O3.hasArrayBuffer&&e&&e.binarraybuffer,r=e&&e.int64,n=nue&&e&&e.usemap,i={map:n?sue:aue,array:lue,str:cue,bin:t?fue:uue,ext:due,uint8:Ak,uint16:pue,uint32:mue,uint64:Ld(8,r?yue:vue),int8:hue,int16:xue,int32:gue,int64:Ld(8,r?wue:bue),float32:Ld(4,Sue),float64:Ld(8,Cue)};return i}function aue(e,t){var r={},n,i=new Array(t),o=new Array(t),a=e.codec.decode;for(n=0;n=m?h:""+Array(m+1-$.length).join(S)+h},I={s:M,z:function(h){var m=-h.utcOffset(),S=Math.abs(m),$=Math.floor(S/60),R=S%60;return(m<=0?"+":"-")+M($,2,"0")+":"+M(R,2,"0")},m:function h(m,S){if(m.date()1)return h(P[0])}else{var E=m.name;O[E]=m,R=E}return!$&&R&&(N=R),R||!$&&N},k=function(h,m){if(T(h))return h.clone();var S=typeof m=="object"?m:{};return S.date=h,S.args=arguments,new x(S)},A=I;A.l=F,A.i=T,A.w=function(h,m){return k(h,{locale:m.$L,utc:m.$u,x:m.$x,$offset:m.$offset})};var x=function(){function h(S){this.$L=F(S.locale,null,!0),this.parse(S),this.$x=this.$x||S.x||{},this[D]=!0}var m=h.prototype;return m.parse=function(S){this.$d=function($){var R=$.date,B=$.utc;if(R===null)return new Date(NaN);if(A.u(R))return new Date;if(R instanceof Date)return new Date(R);if(typeof R=="string"&&!/Z$/i.test(R)){var P=R.match(w);if(P){var E=P[2]-1||0,_=(P[7]||"0").substring(0,3);return B?new Date(Date.UTC(P[1],E,P[3]||1,P[4]||0,P[5]||0,P[6]||0,_)):new Date(P[1],E,P[3]||1,P[4]||0,P[5]||0,P[6]||0,_)}}return new Date(R)}(S),this.init()},m.init=function(){var S=this.$d;this.$y=S.getFullYear(),this.$M=S.getMonth(),this.$D=S.getDate(),this.$W=S.getDay(),this.$H=S.getHours(),this.$m=S.getMinutes(),this.$s=S.getSeconds(),this.$ms=S.getMilliseconds()},m.$utils=function(){return A},m.isValid=function(){return this.$d.toString()!==v},m.isSame=function(S,$){var R=k(S);return this.startOf($)<=R&&R<=this.endOf($)},m.isAfter=function(S,$){return k(S)12?"م":"ص"},relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(c){return c.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(u){return s[u]}).replace(/،/g,",")},postformat:function(c){return c.replace(/\d/g,function(u){return a[u]}).replace(/,/g,"،")},ordinal:function(c){return c},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return i.default.locale(l,null,!0),l})})(Due);var Lue={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(st,function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(r){var n=["th","st","nd","rd"],i=r%100;return"["+r+(n[(i-20)%10]||n[i]||n[0])+"]"}}})})(Lue);var Nue={exports:{}};(function(e,t){(function(r,n){e.exports=n(Sl)})(st,function(r){function n(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=n(r),o={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(a){return a+"º"}};return i.default.locale(o,null,!0),o})})(Nue);var zue={exports:{}};(function(e,t){(function(r,n){e.exports=n(Sl)})(st,function(r){function n(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=n(r),o={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(a){return a+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(a){return a<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return i.default.locale(o,null,!0),o})})(zue);var jue={exports:{}};(function(e,t){(function(r,n){e.exports=n(Sl)})(st,function(r){function n(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=n(r),o={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};return i.default.locale(o,null,!0),o})})(jue);var Uue={exports:{}};(function(e,t){(function(r,n){e.exports=n(Sl)})(st,function(r){function n(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=n(r),o={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(a,s){return s==="W"?a+"周":a+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(a,s){var l=100*a+s;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return i.default.locale(o,null,!0),o})})(Uue);var Hue={exports:{}};(function(e,t){(function(r,n){e.exports=n(Sl)})(st,function(r){function n(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=n(r),o={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(a,s){return s==="W"?a+"週":a+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function(a,s){var l=100*a+s;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return i.default.locale(o,null,!0),o})})(Hue);var jk={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(st,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(n,i,o){var a=i.prototype,s=a.format;o.en.formats=r,a.format=function(l){l===void 0&&(l="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,u=function(f,d){return f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(b,p,v){var w=v&&v.toUpperCase();return p||d[v]||r[v]||d[w].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(C,y,M){return y||M.slice(1)})})}(l,c===void 0?{}:c);return s.call(this,u)}}})})(jk);var Wue=jk.exports;const F0e=Pr(Wue);var Uk={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(st,function(){return function(r,n,i){r=r||{};var o=n.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function s(c,u,f,d){return o.fromToBase(c,u,f,d)}i.en.relativeTime=a,o.fromToBase=function(c,u,f,d,b){for(var p,v,w,C=f.$locale().relativeTime||a,y=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],M=y.length,I=0;I0,O<=N.r||!N.r){O<=1&&I>0&&(N=y[I-1]);var D=C[N.l];b&&(O=b(""+O)),v=typeof D=="string"?D.replace("%d",O):D(O,u,N.l,w);break}}if(u)return v;var T=w?C.future:C.past;return typeof T=="function"?T(v):T.replace("%s",v)},o.to=function(c,u){return s(c,u,this,!0)},o.from=function(c,u){return s(c,u,this)};var l=function(c){return c.$u?i.utc():i()};o.toNow=function(c){return this.to(l(this),c)},o.fromNow=function(c){return this.from(l(this),c)}}})})(Uk);var que=Uk.exports;const D0e=Pr(que);var Hk={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(st,function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(i,o,a){var s,l=function(d,b,p){p===void 0&&(p={});var v=new Date(d),w=function(C,y){y===void 0&&(y={});var M=y.timeZoneName||"short",I=C+"|"+M,N=n[I];return N||(N=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:C,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:M}),n[I]=N),N}(b,p);return w.formatToParts(v)},c=function(d,b){for(var p=l(d,b),v=[],w=0;w=0&&(v[I]=parseInt(M,10))}var N=v[3],O=N===24?0:N,D=v[0]+"-"+v[1]+"-"+v[2]+" "+O+":"+v[4]+":"+v[5]+":000",T=+d;return(a.utc(D).valueOf()-(T-=T%1e3))/6e4},u=o.prototype;u.tz=function(d,b){d===void 0&&(d=s);var p=this.utcOffset(),v=this.toDate(),w=v.toLocaleString("en-US",{timeZone:d}),C=Math.round((v-new Date(w))/1e3/60),y=a(w,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(v.getTimezoneOffset()/15)-C,!0);if(b){var M=y.utcOffset();y=y.add(p-M,"minute")}return y.$x.$timezone=d,y},u.offsetName=function(d){var b=this.$x.$timezone||a.tz.guess(),p=l(this.valueOf(),b,{timeZoneName:d}).find(function(v){return v.type.toLowerCase()==="timezonename"});return p&&p.value};var f=u.startOf;u.startOf=function(d,b){if(!this.$x||!this.$x.$timezone)return f.call(this,d,b);var p=a(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return f.call(p,d,b).tz(this.$x.$timezone,!0)},a.tz=function(d,b,p){var v=p&&b,w=p||b||s,C=c(+a(),w);if(typeof d!="string")return a(d).tz(w);var y=function(O,D,T){var F=O-60*D*1e3,k=c(F,T);if(D===k)return[F,D];var A=c(F-=60*(k-D)*1e3,T);return k===A?[F,k]:[O-60*Math.min(k,A)*1e3,Math.max(k,A)]}(a.utc(d,v).valueOf(),C,w),M=y[0],I=y[1],N=a(M).utcOffset(I);return N.$x.$timezone=w,N},a.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},a.tz.setDefault=function(d){s=d}}})})(Hk);var Vue=Hk.exports;const L0e=Pr(Vue);var Wk={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(st,function(){var r="minute",n=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(o,a,s){var l=a.prototype;s.utc=function(v){var w={date:v,utc:!0,args:arguments};return new a(w)},l.utc=function(v){var w=s(this.toDate(),{locale:this.$L,utc:!0});return v?w.add(this.utcOffset(),r):w},l.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(v){v.utc&&(this.$u=!0),this.$utils().u(v.$offset)||(this.$offset=v.$offset),c.call(this,v)};var u=l.init;l.init=function(){if(this.$u){var v=this.$d;this.$y=v.getUTCFullYear(),this.$M=v.getUTCMonth(),this.$D=v.getUTCDate(),this.$W=v.getUTCDay(),this.$H=v.getUTCHours(),this.$m=v.getUTCMinutes(),this.$s=v.getUTCSeconds(),this.$ms=v.getUTCMilliseconds()}else u.call(this)};var f=l.utcOffset;l.utcOffset=function(v,w){var C=this.$utils().u;if(C(v))return this.$u?0:C(this.$offset)?f.call(this):this.$offset;if(typeof v=="string"&&(v=function(N){N===void 0&&(N="");var O=N.match(n);if(!O)return null;var D=(""+O[0]).match(i)||["-",0,0],T=D[0],F=60*+D[1]+ +D[2];return F===0?0:T==="+"?F:-F}(v),v===null))return this;var y=Math.abs(v)<=16?60*v:v,M=this;if(w)return M.$offset=y,M.$u=v===0,M;if(v!==0){var I=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(M=this.local().add(y+I,r)).$offset=y,M.$x.$localOffset=I}else M=this.utc();return M};var d=l.format;l.format=function(v){var w=v||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return d.call(this,w)},l.valueOf=function(){var v=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*v},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var b=l.toDate;l.toDate=function(v){return v==="s"&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():b.call(this)};var p=l.diff;l.diff=function(v,w,C){if(v&&this.$u===v.$u)return p.call(this,v,w,C);var y=this.local(),M=s(v).local();return p.call(y,M,w,C)}}})})(Wk);var Kue=Wk.exports;const N0e=Pr(Kue);var N3={},Gue=ar;Object.defineProperty(N3,"__esModule",{value:!0});var Yue=N3.default=void 0,Xue=Gue(Sr()),Jue=Y;Yue=N3.default=(0,Xue.default)((0,Jue.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");var qk={exports:{}};(function(e,t){(function(r,n){n()})(st,function(){function r(c,u){return typeof u>"u"?u={autoBom:!1}:typeof u!="object"&&(u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function n(c,u,f){var d=new XMLHttpRequest;d.open("GET",c),d.responseType="blob",d.onload=function(){l(d.response,u,f)},d.onerror=function(){},d.send()}function i(c){var u=new XMLHttpRequest;u.open("HEAD",c,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function o(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(u)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof st=="object"&&st.global===st?st:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(c,u,f){var d=a.URL||a.webkitURL,b=document.createElement("a");u=u||c.name||"download",b.download=u,b.rel="noopener",typeof c=="string"?(b.href=c,b.origin===location.origin?o(b):i(b.href)?n(c,u,f):o(b,b.target="_blank")):(b.href=d.createObjectURL(c),setTimeout(function(){d.revokeObjectURL(b.href)},4e4),setTimeout(function(){o(b)},0))}:"msSaveOrOpenBlob"in navigator?function(c,u,f){if(u=u||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(r(c,f),u);else if(i(c))n(c,u,f);else{var d=document.createElement("a");d.href=c,d.target="_blank",setTimeout(function(){o(d)})}}:function(c,u,f,d){if(d=d||open("","_blank"),d&&(d.document.title=d.document.body.innerText="downloading..."),typeof c=="string")return n(c,u,f);var b=c.type==="application/octet-stream",p=/constructor/i.test(a.HTMLElement)||a.safari,v=/CriOS\/[\d]+/.test(navigator.userAgent);if((v||b&&p||s)&&typeof FileReader<"u"){var w=new FileReader;w.onloadend=function(){var M=w.result;M=v?M:M.replace(/^data:[^;]*;/,"data:attachment/file;"),d?d.location.href=M:location=M,d=null},w.readAsDataURL(c)}else{var C=a.URL||a.webkitURL,y=C.createObjectURL(c);d?d.location=y:location.href=y,d=null,setTimeout(function(){C.revokeObjectURL(y)},4e4)}});a.saveAs=l.saveAs=l,e.exports=l})})(qk);var z0e=qk.exports;export{Nfe as $,uee as A,afe as B,lfe as C,a0e as D,Rre as E,l0e as F,c0e as G,vB as H,_re as I,s0e as J,Efe as K,Xt as L,Zo as M,aY as N,Pfe as O,Yre as P,qre as Q,mn as R,sP as S,yfe as T,Ns as U,t3 as V,Mfe as W,Mie as X,Que as Y,Cfe as Z,r0e as _,Rr as a,Wse as a$,_ie as a0,vfe as a1,Wfe as a2,Bre as a3,jfe as a4,n0e as a5,iJ as a6,Lfe as a7,jre as a8,DV as a9,w0e as aA,fae as aB,vi as aC,Nl as aD,g0e as aE,b0e as aF,v0e as aG,S0e as aH,he as aI,oH as aJ,t0e as aK,Gfe as aL,Tfe as aM,Ofe as aN,Mse as aO,Bfe as aP,C0e as aQ,NK as aR,Kfe as aS,Gie as aT,ba as aU,f0e as aV,Ife as aW,$fe as aX,qfe as aY,Ufe as aZ,Fse as a_,Dre as aa,ZG as ab,Afe as ac,Sfe as ad,wfe as ae,Vfe as af,_fe as ag,UM as ah,fu as ai,x0e as aj,zfe as ak,Hfe as al,VK as am,Ffe as an,$ie as ao,Fie as ap,zie as aq,Wie as ar,ma as as,bfe as at,d0e as au,OV as av,kfe as aw,Dfe as ax,JV as ay,y0e as az,ofe as b,zse as b0,_se as b1,$se as b2,P2 as b3,h0e as b4,p0e as b5,U5 as b6,mfe as b7,u0e as b8,E0e as b9,F0e as bA,D0e as bB,N0e as bC,L0e as bD,z0e as bE,oP as ba,P0e as bb,M0e as bc,k0e as bd,A0e as be,R0e as bf,_0e as bg,$0e as bh,T0e as bi,I0e as bj,B0e as bk,jG as bl,Rue as bm,Iue as bn,m0e as bo,Jfe as bp,Yfe as bq,Zfe as br,e0e as bs,d2 as bt,Xfe as bu,Qfe as bv,Yue as bw,pu as bx,D4 as by,O0e as bz,sfe as c,nfe as d,ife as e,_R as f,rfe as g,dfe as h,ffe as i,efe as j,pfe as k,iF as l,cfe as m,xb as n,DX as o,dC as p,i0e as q,U as r,xfe as s,hfe as t,gfe as u,ufe as v,gn as w,tfe as x,Rfe as y,o0e as z}; diff --git a/static/js/multikey/multikey.DANc9zrZ.js b/static/js/multikey/multikey.DANc9zrZ.js new file mode 100644 index 0000000..b47284a --- /dev/null +++ b/static/js/multikey/multikey.DANc9zrZ.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["static/js/receive/multikey.CLzGovOg.js","static/js/multikey/multikey.D1_AnZj2.js","static/js/transfer/multikey.Ccu1XC5e.js","static/js/multikey/multikey.CSfMaGzx.js","static/js/multikey/multikey.Dix-r58g.js","static/js/transfer/multikey.BizLIFzl.js","static/js/createTeam/multikey.6unjWKWS.js","static/js/record/multikey.CwN_50dz.js","static/js/multikey/multikey.CsbyK74s.js","static/js/message/multikey.BQMay1Uv.js","static/js/messageList/multikey.CfttugA8.js","static/js/details/multikey.WW9SHsO4.js","static/js/manage/multikey.CPzjerfs.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{a as la,v as Fn,m as $e,c as jn,C as ie,B as se,b as ma,d as Je,e as da,f as _a,g as On,r as s,R as $a,j as t,h as Ae,t as en,i as Z,u as Qn,k as Un,s as Yn,l as O,n as Wn,o as Ea,p as Jn,q as qn,w as Zn,x as m,y as Xn,T as _n,z as $n,A as et,D as at,L as X,E as nt,F as an,G as we,H as nn,I as Ce,J as oe,S as ua,K as te,M as S,N as Te,O as f,P as tt,Q as ot,U as de,V as ga,W as it,X as Na,Y as _,Z as rt,_ as Le,$ as tn,a0 as st,a1 as ct,a2 as Be,a3 as on,a4 as ha,a5 as lt,a6 as Ve,a7 as V,a8 as mt,a9 as D,aa as Ma,ab as dt,ac as R,ad as rn,ae as pa,af as ya,ag as fa,ah as sn,ai as ut,aj as ue,ak as cn,al as gt,am as Aa,an as ht,ao as pt,ap as yt,aq as ft,ar as At,as as qe,at as ve,au as vt,av as Ie,aw as ln,ax as mn,ay as ra,az as kt,aA as bt,aB as wt,aC as Ct,aD as ea,aE as xt,aF as St,aG as It,aH as Da,aI as va,aJ as Tt,aK as dn,aL as Oe,aM as ka,aN as ba,aO as un,aP as wa,aQ as Bt,aR as zt,aS as Pt,aT as Et,aU as gn,aV as hn,aW as Nt,aX as Mt,aY as La,aZ as Dt,a_ as Qe,a$ as Ra,b0 as Ga,b1 as Lt,b2 as Rt,b3 as Gt,b4 as Kt,b5 as Vt,b6 as Ht,b7 as Ft}from"./multikey.D1_AnZj2.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))o(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const c of r.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&o(c)}).observe(document,{childList:!0,subtree:!0});function n(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function o(i){if(i.ep)return;i.ep=!0;const r=n(i);fetch(i.href,r)}})();const pn={production:{id:1,name:"IBAX-mainnet-hk1",rpc:"https://mainnet-hk1.ibax.network:7079",networkId:7,api:"https://scan.ibax.network:8800",blockexplorer:"https://scan.ibax.network",walletId:"hkaocejmbpidmlollaolcogbookibddl"},testnet:{id:10,name:"IBAX-testnet-hk1",rpc:"https://testnet-hk1.ibax.network:5079",networkId:5,api:"https://testscan.ibax.network:8800",blockexplorer:"https://testscan.ibax.network",walletId:"gcnfhkdkohkhnglefdjlobhnjfbgbech"},test:{id:11,name:"Test-1001",rpc:"https://node1.ibax.io:3079",networkId:1001,api:"https://node3.ibax.io:8800",blockexplorer:"https://node3.ibax.io:8810",walletId:"gcnfhkdkohkhnglefdjlobhnjfbgbech"},development:{id:12,name:"Test-1001",rpc:"https://node1.ibax.io:3079",networkId:1001,api:"https://node3.ibax.io:8800",blockexplorer:"https://node3.ibax.io:8810",walletId:"hkaocejmbpidmlollaolcogbookibddl"}},Ne=la.create({timeout:6e4});Ne.interceptors.request.use(a=>{const e=pn.testnet;if(a.baseURL=`${e.rpc}/api/v2`,a.headers["Content-Type"]="application/json; charset=utf-8",a.headers.Authorization="",a.method==="post"&&(a.headers["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8;",a.paramsData)){const{data:n,token:o}=a.paramsData,i=o?`Bearer ${o}`:"";a.headers.Authorization=i,a.data=n}return a},a=>Promise.reject(a));Ne.interceptors.response.use(a=>a.status===200?Promise.resolve(a.data):Promise.reject(a),a=>{const{response:e}=a;if(e)return Promise.reject(e.data)});const yn={request:Ne,get(a,e){e={_t:Date.parse(String(new Date))/1e3,...e};const n={method:"get",url:a,params:e};return e&&(n.params=e),Ne(n)},post(a,e){return Ne({method:"post",url:a,paramsData:e})}},jt=8,Ot=jt*60*60,u={uuid(){return Fn()},loadingInstance:"",setCacheToken(a,e,n=Ot){const o={token:e,time:Date.now()/1e3,expire:n};localStorage.setItem(a,JSON.stringify(o))},getCacheToken(a){const e=localStorage.getItem(a);if(!e)return null;const n=JSON.parse(e);return n.expire&&Date.now()/1e3-n.time>n.expire?(localStorage.removeItem(a),null):n.token},removeCacheToken(a){localStorage.removeItem(a)},setCache(a,e){const n=$e(a).toString(),r=encodeURIComponent(JSON.stringify({type:typeof e,data:e}));localStorage.setItem(n,this.encryptAES(r,n))},getCache(a){const e=$e(a).toString(),n=localStorage.getItem(e);if(n){const o=this.decryptAES(n,e);try{const i=JSON.parse(decodeURIComponent(o));return i?i.data:null}catch{}}},removeCache(a){const e=$e(a).toString();localStorage.removeItem(e)},removeAll(){localStorage.clear()},copyToClipboard(a){jn(a,{debug:!0,message:"Press #{key} to copy"})},currNetwork(){return pn.testnet},logoHash(a){const e=this.currNetwork();return e?`${e.api}/api/v1/binaries/${a}`:null},cutZero(a){let e=a.toString();const n=e.length-e.indexOf(".")-1;if(e.indexOf(".")>-1)for(let o=n;o>0;o-=1)if(e.lastIndexOf("0")>-1&&e.substring(e.length-1)===String(0)){const i=e.lastIndexOf("0");if(e.charAt(i-1)===".")return e.substring(0,i-1);e=e.substring(0,i)}else return e;return a},validateAddress(a){if(a)return/^\d{4}-\d{4}-\d{4}-\d{4}-\d{4}$/.test(a)},encryptAES:(a,e)=>{const n=ie.enc.Utf8.parse(e),o=ie.enc.Utf8.parse(a);return ie.AES.encrypt(o,n,{mode:ie.mode.ECB,padding:ie.pad.Pkcs7}).toString()},decryptAES:(a,e)=>{const n=ie.enc.Utf8.parse(e);return ie.AES.decrypt(a,n,{mode:ie.mode.ECB,padding:ie.pad.Pkcs7}).toString(ie.enc.Utf8).toString()},format(a){const e=String(a).split(".")||0,n=(e[0]||0).toString().replace(/(\d)(?=(?:\d{3})+$)/g,"$1,")+(e[1]?`.${e[1]}`:"");return this.cutZero(n)},toFormat(a="0"){return new se(a).toFormat()},formatFixed(a="0",e=12){try{let n=String(a)||"0";return n!=="0"?(n=se.clone({DECIMAL_PLACES:Math.abs(e)})(n).shiftedBy(-e).decimalPlaces(e).toFormat(),n):"0"}catch{return"0"}},formatUnits(a="0",e=12){try{let n=String(a)||"0";return n!=="0"?(n=se.clone({DECIMAL_PLACES:Math.abs(e)})(n).shiftedBy(-e).decimalPlaces(e).toString(10),n):"0"}catch{return"0"}},parseUnits(a="0",e=12){try{let n=String(a)||"0";return n!=="0"?(n=se.clone({DECIMAL_PLACES:Math.abs(e)})(n).shiftedBy(e).decimalPlaces(e).toString(10),n):"0"}catch{return"0"}},fromPuls(a,e){return a=String(a)||"0",e=String(e)||"0",se(a).plus(e).toString()},times(a,e){return new se(a).times(e).toString()},formatDecimalPlaces(a="0",e){try{const n=String(a),o=new RegExp(`^\\d*(\\.?\\d{0,${e}})`,"g"),r=n.replace(/[^\d^\\.?]+/g,"").replace(/^0+(\d)/,"$1").replace(/^\./,"0.").match(o);return r!=null&&r.length?r[0]||"":n==="NaN"?"":n}catch{return"0"}},comparedTo(a,e){const n=new se(a),o=new se(e),i=n.comparedTo(o);return i===1?!0:i===0},greaterThanZero(a,e){const n=new se(a),o=new se(e);return n.comparedTo(o)===1},getByteLength(a){return new TextEncoder().encode(a).length},handleReduce(a,e="id"){const n={};return a.reduce((i,r)=>(n[r[e]]||(i.push(r),n[r[e]]=!0),i),[])},eventType:a=>{let e="";switch(a){case 1:e="type.package";break;case 2:e="type.taxation";break;case 3:e="type.trade";break;case 4:e="type.create";break;case 5:e="type.iname";break;case 6:e="type.issue";break;case 7:e="type.coin";break;case 8:e="type.private";break;case 9:e="type.foundation";break;case 10:e="type.team";break;case 11:e="type.partner";break;case 12:e="type.nft";break;case 13:e="type.mining";break;case 14:e="type.pledge";break;case 15:e="type.exchange";break;case 16:e="type.burning";break;case 17:e="type.detele";break;case 18:e="type.paid";break;case 19:e="type.nodes";break;case 20:e="type.voting";break;case 21:e="type.deposit";break;case 22:e="type.withdrawal";break;case 23:e="type.textcoin";break;case 25:e="type.privateye";break;case 26:e="type.offering";break;case 27:e="type.num";break;case 28:e="type.child";break;case 29:e="type.issuance";break;case 30:e="type.twonum";break;case 31:e="type.remove";break;case 32:e="type.airsend";break;case 33:e="type.aristack";break;case 34:e="type.getair";break;case 35:e="type.getstack";break;case 36:e="type.locking";break;case 37:e="type.createiname";break;case 38:e="type.cross";break;case 39:e="type.crosslock";break;case 41:e="type.destruction";break;default:e="unknown";break}return e}},xe=la.create({timeout:6e4});xe.interceptors.request.use(a=>{const e=u.currNetwork();a.baseURL=`${e.rpc}`,a.headers["Content-Type"]="application/json; charset=utf-8",a.cache="no-cache";const n=u.getCacheToken("token");if(n){const o=n?`Bearer ${n}`:"";a.headers.Authorization=o}return a},a=>Promise.reject(a));xe.interceptors.response.use(a=>a.status===200?Promise.resolve(a.data):Promise.reject(a),a=>{if(a.response){const e=a.response.status;(e===401||e===403)&&(window.location.href="/login",u.removeCacheToken("token"))}else a.code;return Promise.reject(a)});const ce={request:xe,get(a){a={...a};const e={method:"get",params:a};return a&&(e.params=a),xe(e)},fetch(a,e){return e={...e},xe({method:"get",url:a,paramsData:e})},post(a){const e={method:"post"};return a&&(e.data=a),xe(e)}},Se=la.create({timeout:6e4});Se.interceptors.request.use(a=>{const e=u.currNetwork();return a.baseURL=`${e.api}/api/v2`,a.headers["Content-Type"]="application/json; charset=utf-8",a.cache="no-cache",a},a=>Promise.reject(a));Se.interceptors.response.use(a=>a.status===200?Promise.resolve(a.data):Promise.reject(a),a=>{const e=a.response||{};if(e.status===401||e.status===403)return Promise.reject(new Error(a.response))});const fn={request:Se,get(a,e){e={...e};const n={method:"get",url:a,params:e};return e&&(n.params=e),Se(n)},fetch(a,e){return e={...e},Se({method:"get",url:a,paramsData:e})},post(a,e){const n={url:a,method:"post"};return e&&(n.data=e),Se(n)}},An=async()=>{const a=await yn.get("/getuid");return a.token?a:null},vn=async a=>{const e=await yn.post("/login",a);return e.token?e:null},Qt=async(a,e)=>{try{const n=await fn.get(a,e);return n.code===0?n.data:null}catch{return"0"}},Ue=async(a,e)=>{const n=await fn.get(a,e);return n.code===0?n.data:null},kn=async a=>{const e=await ce.post(a);return e.result?e.result:null},Ut=async a=>{const e=await ce.post(a);return e.result?e.result:null},bn=async a=>{const e=await ce.post(a);return e.length?e:null},xr=async a=>{const e=await ce.post(a);return e.length?e:null},Sr=async a=>{const e=await ce.post(a);return e.result?e.result:null},Yt=async a=>{const e=await ce.post(a);return e.result?e.result:null},Ir=async a=>{const e=await ce.post(a);return e.result?e.result:null},Tr=async a=>{const e=await ce.post(a);return e.result?e.result:null},Br=async a=>{const e=await ce.post(a);return e.result?e.result:null},Ka=async a=>{const e=await ce.post(a);return e.result?e.result:null},wn={created_at:"",creator:"",id:0,owner_quantity:"",owners:"",team_name:"",threshold:"",wallet:"",isSelect:!1},me=ma(),Va=me.getInitialState({list:[],count:0,status:"idle",teamSelect:{...wn}}),Me=Je("team/search",async a=>await kn(a)),De=Je("team/add",async a=>await kn(a)),Cn=da({name:"team",initialState:Va,reducers:{resetTeam:()=>Va,resetTeamSelect:a=>{a.teamSelect=wn},teamDeleted:me.removeOne,teamUpdateOne:me.updateOne,teamSetAll:me.setAll,teamUpdateMany:me.updateMany,teamSelectData(a,e){a.teamSelect=e.payload}},extraReducers:a=>{a.addCase(Me.pending,e=>{e.status="loading"}).addCase(Me.fulfilled,(e,n)=>{const o=n.payload.list?n.payload.list:[],i=o.length?o.map(r=>(r.isSelect=!1,r)):[];me.setAll(e,i),e.status="idle",e.count=n.payload?n.payload.count:0}).addCase(Me.rejected,e=>{e.status="failed"}).addCase(De.pending,e=>{e.status="loading"}).addCase(De.fulfilled,(e,n)=>{const o=n.payload.list?n.payload.list.map(i=>(i.isSelect=!1,i)):[];me.addMany(e,o),e.status="idle",e.count=n.payload.count}).addCase(De.rejected,e=>{e.status="failed"})}}),{teamDeleted:zr,teamUpdateOne:sa,teamSetAll:Pr,teamUpdateMany:Wt,teamSelectData:ca,resetTeamSelect:Jt}=Cn.actions,Ca=a=>a.team.teamSelect,xn=a=>a.team.count,qt=a=>a.team.status;me.getSelectors(a=>a.team);const{selectAll:Sn,selectById:Er,selectIds:xa}=me.getSelectors(a=>a.team);_a([Sn,(a,e)=>e],(a,e)=>a.filter(n=>n.id===e));_a(xn,a=>a);const Zt=Cn.reducer,Xt=ma(),aa=localStorage.getItem("lang"),Ha=Xt.getInitialState({value:aa||"en-US",locale:aa?aa.replace("-",""):"enUS"}),In=da({name:"lang",initialState:Ha,reducers:{resetLang:()=>Ha,valueData(a,e){a.value=e.payload},localeData(a,e){a.locale=e.payload.replace("-","")}}}),Tn=a=>a.lang.value,_t=a=>a.lang.locale,{resetLang:Nr,valueData:Bn,localeData:zn}=In.actions,$t=In.reducer,eo=ma(),Fa=eo.getInitialState({list:[],count:0,status:"idle",balance:null}),He=Je("message/search",async a=>await Yt(a)),Fe=Je("message/balance",async a=>(await bn(a))[0].result),ao=da({name:"team",initialState:Fa,reducers:{resetTeam:()=>Fa},extraReducers:a=>{a.addCase(He.pending,e=>{e.status="loading"}).addCase(He.fulfilled,(e,n)=>{e.status="idle",e.count=n.payload?n.payload.count:0}).addCase(He.rejected,e=>{e.status="failed"}).addCase(Fe.pending,e=>{e.status="loading"}).addCase(Fe.fulfilled,(e,n)=>{e.status="idle",e.balance=n.payload?n.payload:null}).addCase(Fe.rejected,e=>{e.status="failed"})}}),no=a=>a.message.count,Pn=a=>a.message.balance,to=ao.reducer,oo=On({reducer:{team:Zt,lang:$t,message:to}}),na="ThemeModeKey",io=()=>{const[a,e]=s.useState("light");return s.useLayoutEffect(()=>{if(localStorage.getItem(na)){const o=JSON.parse(localStorage.getItem(na)||"{}");e(o)}},[]),[a,()=>{const o=a=="light"?"dark":"light";e(o),localStorage.setItem(na,JSON.stringify(o))},e]},Ze=$a.createContext({themeMode:"light",toggleTheme:()=>{},setThemeMode:()=>{}}),ro=({children:a})=>{const[e,n,o]=io();return t(Ze.Provider,{value:{themeMode:e,toggleTheme:n,setThemeMode:o},children:a})},so={primary:"#0856cf",onPrimary:"#ffffff",primaryContainer:"#dae2ff",onPrimaryContainer:"#001847",secondary:"#585e71",onSecondary:"#ffffff",secondaryContainer:"#dce2f9",onSecondaryContainer:"#151b2c",tertiary:"#735471",onTertiary:"#ffffff",tertiaryContainer:"#fed7f9",onTertiaryContainer:"#2b122b",error:"#ba1a1a",onError:"#ffffff",errorContainer:"#ffdad6",onErrorContainer:"#410002",primaryFixed:"#dae2ff",primaryFixedDim:"#b2c5ff",onPrimaryFixed:"#001847",onPrimaryFixedVariant:"#0040a1",secondaryFixed:"#dce2f9",secondaryFixedDim:"#c0c6dd",onSecondaryFixed:"#151b2c",onSecondaryFixedVariant:"#404659",tertiaryFixed:"#fed7f9",tertiaryFixedDim:"#e1bbdd",onTertiaryFixed:"#2b122b",onTertiaryFixedVariant:"#5a3d59",surface:"#fbf8fd",onSurface:"#1b1b1f",surfaceDim:"#dbd9dd",surfaceBright:"#fbf8fd",surfaceContainerLowest:"#ffffff",surfaceContainerLow:"#f5f3f7",surfaceContainer:"#efedf1",surfaceContainerHigh:"#e9e7ec",surfaceContainerHighest:"#e4e2e6",surfaceVariant:"#e1e2ec",onSurfaceVariant:"#45464f",outline:"#757780",outlineVariant:"#c5c6d0",inverseSurface:"#303034",inverseOnSurface:"#f2f0f4",inversePrimary:"#b2c5ff",inverseOnPrimary:"",shadow:"#000000",scrim:"#000000",surfaceTintColor:"#0856cf",background:"#fbf8fd",onBackground:"#1b1b1f",info:"#005faf",onInfo:"#ffffff",infoContainer:"#d4e3ff",onInfoContainer:"#001c3a",success:"#006d43",onSuccess:"#ffffff",successContainer:"#92f7bc",onSuccessContainer:"#002111",warning:"#934b00",onWarning:"#ffffff",warningContainer:"#ffdcc5",onWarningContainer:"#301400"},co={primary:"#b2c5ff",onPrimary:"#002b72",primaryContainer:"#0040a1",onPrimaryContainer:"#dae2ff",secondary:"#c0c6dd",onSecondary:"#2a3042",secondaryContainer:"#404659",onSecondaryContainer:"#dce2f9",tertiary:"#e1bbdd",onTertiary:"#412741",tertiaryContainer:"#5a3d59",onTertiaryContainer:"#fed7f9",error:"#ffb4ab",onError:"#690005",errorContainer:"#93000a",onErrorContainer:"#ffdad6",primaryFixed:"#dae2ff",primaryFixedDim:"#b2c5ff",onPrimaryFixed:"#001847",onPrimaryFixedVariant:"#0040a1",secondaryFixed:"#dce2f9",secondaryFixedDim:"#c0c6dd",onSecondaryFixed:"#151b2c",onSecondaryFixedVariant:"#404659",tertiaryFixed:"#fed7f9",tertiaryFixedDim:"#e1bbdd",onTertiaryFixed:"#2b122b",onTertiaryFixedVariant:"#5a3d59",surface:"#131316",onSurface:"#e4e2e6",surfaceDim:"#131316",surfaceBright:"#39393c",surfaceContainerLowest:"#0d0e11",surfaceContainerLow:"#1b1b1f",surfaceContainer:"#1f1f23",surfaceContainerHigh:"#292a2d",surfaceContainerHighest:"#343438",surfaceVariant:"#45464f",onSurfaceVariant:"#c5c6d0",outline:"#8f909a",outlineVariant:"#45464f",inverseSurface:"#e4e2e6",inverseOnSurface:"#303034",inversePrimary:"#0856cf",inverseOnPrimary:"",shadow:"#000000",scrim:"#000000",surfaceTintColor:"#b2c5ff",background:"#131316",onBackground:"#e4e2e6",info:"#a5c8ff",onInfo:"#00315f",infoContainer:"#004786",onInfoContainer:"#d4e3ff",success:"#76daa1",onSuccess:"#003920",successContainer:"#005231",onSuccessContainer:"#92f7bc",warning:"#ffb782",onWarning:"#4f2500",warningContainer:"#703800",onWarningContainer:"#ffdcc5"},lo={0:"#000000",4:"#13003a",6:"#190048",10:"#22005d",12:"#260561",17:"#31166c",20:"#381e72",22:"#3c2377",24:"#41287c",30:"#4f378a",40:"#6750a4",50:"#8069bf",60:"#9a83db",70:"#b69df8",80:"#cfbcff",87:"#e1d3ff",90:"#e9ddff",92:"#eee4ff",94:"#f3eaff",95:"#f6eeff",96:"#f8f1ff",98:"#fdf7ff",99:"#fffbff",100:"#ffffff"},mo={0:"#000000",4:"#100b1d",6:"#151022",10:"#1e192b",12:"#221d2f",17:"#2c273a",20:"#332d41",22:"#373245",24:"#3c364a",30:"#4a4458",40:"#625b71",50:"#7b748a",60:"#958da4",70:"#b0a7c0",80:"#cbc2db",87:"#dfd6ef",90:"#e8def8",92:"#eee4fe",94:"#f3eaff",95:"#f6eeff",96:"#f8f1ff",98:"#fdf7ff",99:"#fffbff",100:"#ffffff"},uo={0:"#000000",4:"#210410",6:"#270815",10:"#31101d",12:"#361421",17:"#421f2c",20:"#4a2532",22:"#4f2936",24:"#542e3b",30:"#633b48",40:"#7e5260",50:"#996a79",60:"#b58392",70:"#d29dad",80:"#efb8c8",87:"#ffcddb",90:"#ffd9e3",92:"#ffe1e8",94:"#ffe8ed",95:"#ffecf0",96:"#fff0f2",98:"#fff8f8",99:"#fffbff",100:"#ffffff"},go={0:"#000000",4:"#0f0e11",6:"#141316",10:"#1c1b1e",12:"#201f22",17:"#2b292d",20:"#313033",22:"#363438",24:"#3a383c",30:"#48464a",40:"#605d62",50:"#79767a",60:"#938f94",70:"#aeaaae",80:"#cac5ca",87:"#ddd8dd",90:"#e6e1e6",92:"#ece7eb",94:"#f2ecf1",95:"#f4eff4",96:"#f7f2f7",98:"#fdf8fd",99:"#fffbff",100:"#ffffff"},ho={0:"#000000",4:"#0f0d14",6:"#14121a",10:"#1d1a22",12:"#211e26",17:"#2b2931",20:"#322f38",22:"#36333c",24:"#3b3840",30:"#49454e",40:"#615d66",50:"#7a757f",60:"#948f99",70:"#afa9b4",80:"#cac4cf",87:"#ded8e3",90:"#e7e0eb",92:"#ece6f1",94:"#f2ebf7",95:"#f5eefa",96:"#f8f1fd",98:"#fdf7ff",99:"#fffbff",100:"#ffffff"},po={0:"#000000",4:"#280001",6:"#310001",10:"#410002",12:"#490002",17:"#5c0004",20:"#690005",22:"#710005",24:"#790006",30:"#93000a",40:"#ba1a1a",50:"#de3730",60:"#ff5449",70:"#ff897d",80:"#ffb4ab",87:"#ffcfc9",90:"#ffdad6",92:"#ffe2de",94:"#ffe9e6",95:"#ffedea",96:"#fff0ee",98:"#fff8f7",99:"#fffbff",100:"#ffffff"},En={primary:lo,secondary:mo,tertiary:uo,neutral:go,neutralVariant:ho,error:po},Nn={tones:En,light:so,dark:co},ta="TonalPaletteKey",yo=[0,4,6,10,12,17,20,22,24,30,40,50,60,70,80,87,90,92,94,95,96,98,99,100],fo=()=>{const[a,e]=s.useState(En);return s.useLayoutEffect(()=>{if(localStorage.getItem(ta)){const o=JSON.parse(localStorage.getItem(ta)||"{}");e(o)}},[]),[a,o=>{const i=Ae(o),{palettes:r}=en(i),c={};for(const[p,d]of Object.entries(r)){const x={};for(const w of yo)x[w]=Z(d.tone(w));c[p]=x}e(c),localStorage.setItem(ta,JSON.stringify(c))}]},b=(a,e,n,o)=>e[a=="light"?n:o],ja=(a,e)=>{const{primary:n,secondary:o,tertiary:i,neutral:r,neutralVariant:c,error:p}=e,{customColors:d}=en(Ae(e.primary[40]),[{name:"info",value:Ae("#0288d1"),blend:!0},{name:"success",value:Ae("#2e7d32"),blend:!0},{name:"warning",value:Ae("#f59e0b"),blend:!0}]);return{primary:b(a,n,40,80),onPrimary:b(a,n,100,20),primaryContainer:b(a,n,90,30),onPrimaryContainer:b(a,n,10,90),secondary:b(a,o,40,80),onSecondary:b(a,o,100,20),secondaryContainer:b(a,o,90,30),onSecondaryContainer:b(a,o,10,90),tertiary:b(a,i,40,80),onTertiary:b(a,i,100,20),tertiaryContainer:b(a,i,90,30),onTertiaryContainer:b(a,i,10,90),error:b(a,p,40,80),onError:b(a,p,100,20),errorContainer:b(a,p,90,30),onErrorContainer:b(a,p,10,90),primaryFixed:b(a,n,90,90),primaryFixedDim:b(a,n,80,80),onPrimaryFixed:b(a,n,10,10),onPrimaryFixedVariant:b(a,n,30,30),secondaryFixed:b(a,o,90,90),secondaryFixedDim:b(a,o,80,80),onSecondaryFixed:b(a,o,10,10),onSecondaryFixedVariant:b(a,o,30,30),tertiaryFixed:b(a,i,90,90),tertiaryFixedDim:b(a,i,80,80),onTertiaryFixed:b(a,i,10,10),onTertiaryFixedVariant:b(a,i,30,30),surface:b(a,r,98,6),onSurface:b(a,r,10,90),surfaceDim:b(a,r,87,6),surfaceBright:b(a,r,98,24),surfaceContainerLowest:b(a,r,100,4),surfaceContainerLow:b(a,r,96,10),surfaceContainer:b(a,r,94,12),surfaceContainerHigh:b(a,r,92,17),surfaceContainerHighest:b(a,r,90,22),surfaceVariant:b(a,c,90,30),onSurfaceVariant:b(a,c,30,80),outline:b(a,c,50,60),outlineVariant:b(a,c,80,30),inverseSurface:b(a,r,20,90),inverseOnSurface:b(a,r,95,20),inversePrimary:b(a,n,80,40),inverseOnPrimary:"",shadow:b(a,r,0,0),scrim:b(a,r,0,0),surfaceTintColor:b(a,n,40,80),background:b(a,r,98,6),onBackground:b(a,r,10,90),info:Z(d[0][a].color),onInfo:Z(d[0][a].onColor),infoContainer:Z(d[0][a].colorContainer),onInfoContainer:Z(d[0][a].onColorContainer),success:Z(d[1][a].color),onSuccess:Z(d[1][a].onColor),successContainer:Z(d[1][a].colorContainer),onSuccessContainer:Z(d[1][a].onColorContainer),warning:Z(d[2][a].color),onWarning:Z(d[2][a].onColor),warningContainer:Z(d[2][a].colorContainer),onWarningContainer:Z(d[2][a].onColorContainer)}},Sa=$a.createContext({generateScheme:()=>{},themeScheme:Nn}),Ao=({children:a})=>{const[e,n]=fo(),[o,i]=s.useState(Nn);s.useLayoutEffect(()=>{const c=ja("light",e),p=ja("dark",e);i({light:c,dark:p,tones:e})},[e]);const r=c=>{n(c)};return t(Sa.Provider,{value:{generateScheme:r,themeScheme:o},children:a})},ze=()=>Qn(),J=a=>Un(a,Yn),vo=a=>{const{palette:e}=a;return{MuiAccordion:{styleOverrides:{root:{boxShadow:a.shadows[1],border:`0px solid ${e.outlineVariant.main}`,color:e.onBackground.main,backgroundColor:e.surfaceBright.main,"&:before":{backgroundColor:e.surfaceBright.main,display:"none"},"&.Mui-disabled":{backgroundColor:e.inverseOnSurface.main,color:e.inverseSurface.main,border:`0px solid ${e.outlineVariant.main}`},"& .MuiAccordionSummary-root > .MuiAccordionSummary-expandIconWrapper ":{color:e.onBackground.main}}}}}},ko=a=>{const{palette:e}=a;return{MuiAlert:{defaultProps:{variant:"standard"},styleOverrides:{root:{borderRadius:"20px"},standardError:{background:e.errorContainer.main,color:e.onErrorContainer.main},standardInfo:{background:e.infoContainer.main,color:e.infoContainer.contrastText},standardWarning:{background:e.warningContainer.main,color:e.onWarningContainer.main},standardSuccess:{background:e.successContainer.main,color:e.onSuccessContainer.main},filledError:{background:e.error.main,color:e.onError.main},filledInfo:{background:e.info.main,color:e.onInfo.main},filledWarning:{background:e.warning.main,color:e.onWarning.main},filledSuccess:{background:e.success.main,color:e.onSuccess.main},outlinedError:{color:e.error.main},outlinedInfo:{color:e.info.main},outlinedWarning:{color:e.warning.main},outlinedSuccess:{color:e.success.main}}}}},bo=a=>{const{palette:e}=a;return{MuiAppBar:{defaultProps:{elevation:0,color:"default"},styleOverrides:{colorDefault:{backgroundColor:e.onBody.main,color:e.onSurface.main},colorPrimary:{background:e.surface.main,color:e.onSurface.main}}}}},wo=a=>{const{palette:e}=a;return{MuiBackdrop:{styleOverrides:{root:{zIndex:a.zIndex.drawer+1e4,"&.MuiBackdrop-root.MuiBackdrop-root-loading":{boxShadow:a.shadows[1],border:`0px solid ${e.outlineVariant.main}`,color:e.onBackground.main,backgroundColor:O(e.primary.main,.5)}}}}}},Co=a=>{const{palette:e}=a;return{MuiBadge:{defaultProps:{color:"default"},variants:[{props:{color:"default"},style:{".MuiBadge-badge":{backgroundColor:e.error.main,color:e.onError.main}}}]}}};var g=(a=>(a[a.Hover=.08]="Hover",a[a.Focus=.12]="Focus",a[a.Press=.14]="Press",a[a.Drag=.16]="Drag",a))(g||{});const h=(a,e,n)=>Z(Wn.cam16Ucs(Ae(e),Ae(n),a)),xo=a=>{const{palette:e}=a;return{MuiButton:{styleOverrides:{root:{borderRadius:"30px",textTransform:"none",fontWeight:"bold","&:has(>svg)":{padding:"8px",borderRadius:"50%",minWidth:"1em",minHeight:"1em"}}},variants:[{props:{variant:"elevated"},style:{boxShadow:a.shadows[1],backgroundColor:e.surfaceContainerLow.main,color:e.primary.main,"&:hover":{background:h(g.Hover,e.surfaceContainerLow.main,e.primary.main),boxShadow:a.shadows[2]},"&:focus":{background:h(g.Focus,e.surfaceContainerLow.main,e.primary.main)},"&:active":{background:h(g.Press,e.surfaceContainerLow.main,e.primary.main)},"&.Mui-disabled":{backgroundColor:O(e.onSurface.main,.12),color:O(e.onSurface.main,.38),boxShadow:a.shadows[0]}}},{props:{variant:"filled"},style:{backgroundColor:e.primary.main,color:e.onPrimary.main,boxShadow:a.shadows[0],"&.Mui-disabled":{backgroundColor:O(e.onSurface.main,.12),color:O(e.onSurface.main,.38),boxShadow:a.shadows[0]},"&:hover":{backgroundColor:h(g.Hover,e.primary.main,e.onPrimary.main),boxShadow:a.shadows[1]},"&:focus":{backgroundColor:h(g.Focus,e.primary.main,e.onPrimary.main),boxShadow:a.shadows[0]},"&:active":{backgroundColor:h(g.Press,e.primary.main,e.onPrimary.main),boxShadow:a.shadows[0]}}},{props:{variant:"tonal"},style:{backgroundColor:e.secondaryContainer.main,color:e.onSecondaryContainer.main,boxShadow:a.shadows[0],"&.Mui-disabled":{backgroundColor:O(e.onSurface.main,.12),color:O(e.onSurface.main,.38),boxShadow:a.shadows[0]},"&:hover":{backgroundColor:h(g.Hover,e.secondaryContainer.main,e.onSecondaryContainer.main),boxShadow:a.shadows[1]},"&:focus":{backgroundColor:h(g.Focus,e.secondaryContainer.main,e.onSecondaryContainer.main),boxShadow:a.shadows[0]},"&:active":{backgroundColor:h(g.Press,e.secondaryContainer.main,e.onSecondaryContainer.main),boxShadow:a.shadows[0]}}},{props:{variant:"outlined"},style:{color:e.primary.main,borderColor:e.outline.main,borderWidth:"1px",boxShadow:a.shadows[0],"&.Mui-disabled":{borderColor:O(e.onSurface.main,.12),color:O(e.onSurface.main,.38)},"&:hover":{backgroundColor:e.onBody.main,borderColor:h(g.Hover,e.outline.main,e.primary.main)},"&:focus":{backgroundColor:e.onBody.main,borderColor:h(g.Focus,e.primary.main,e.primary.main)},"&:active":{backgroundColor:e.onBody.main,borderColor:h(g.Press,e.outline.main,e.primary.main)}}},{props:{variant:"text"},style:{backgroundColor:"transparent",color:e.primary.main,boxShadow:a.shadows[0],padding:"5px 15px","&.Mui-disabled":{color:O(e.onSurface.main,.38)},"&:hover":{backgroundColor:h(g.Hover,e.surface.main,e.primary.main)},"&:focus":{backgroundColor:h(g.Focus,e.surface.main,e.primary.main)},"&:active":{backgroundColor:h(g.Press,e.surface.main,e.primary.main)}}}]}}},So=a=>{const{palette:e}=a;return{MuiCard:{styleOverrides:{root:{borderRadius:"20px",padding:"10px 6px"}},variants:[{props:{variant:"elevation"},style:{boxShadow:a.shadows[1],backgroundColor:e.surfaceContainerLow.main,transition:a.transitions.create(["background-color","box-shadow","border-color","color"],{duration:a.transitions.duration.short}),"&:hover":{background:h(g.Hover,e.surfaceContainerLow.main,e.primary.main),boxShadow:a.shadows[2]},"&:focus":{boxShadow:a.shadows[1],background:h(g.Focus,e.surfaceContainerLow.main,e.primary.main)},"&:active":{boxShadow:a.shadows[1],background:h(g.Press,e.surfaceContainerLow.main,e.primary.main)},"&.Mui-disabled":{backgroundColor:O(e.surfaceContainerLow.main,.38),color:e.surfaceVariant.main,boxShadow:a.shadows[0]}}},{props:{variant:"filled"},style:{boxShadow:a.shadows[0],backgroundColor:e.surfaceContainerHighest.main,transition:a.transitions.create(["background-color","box-shadow","border-color","color"],{duration:a.transitions.duration.short}),"&:hover":{background:h(g.Hover,e.surfaceContainerHighest.main,e.primary.main),boxShadow:a.shadows[1]},"&:focus":{boxShadow:a.shadows[0],background:h(g.Focus,e.surfaceContainerHighest.main,e.primary.main)},"&:active":{boxShadow:a.shadows[1],background:h(g.Press,e.surfaceContainerHighest.main,e.primary.main)},"&.Mui-disabled":{backgroundColor:O(e.surfaceContainerHighest.main,.38),color:e.surfaceVariant.main,boxShadow:a.shadows[1]}}},{props:{variant:"outlined"},style:{boxShadow:a.shadows[0],backgroundColor:e.surface.main,borderColor:e.outline.main,transition:a.transitions.create(["background-color","box-shadow","border-color","color"],{duration:a.transitions.duration.short}),"&:hover":{background:h(g.Hover,e.surface.main,e.primary.main),boxShadow:a.shadows[1]},"&:focus":{boxShadow:a.shadows[0],background:h(g.Focus,e.surface.main,e.primary.main)},"&:active":{boxShadow:a.shadows[2],background:h(g.Press,e.surfaceContainerHighest.main,e.primary.main)},"&.Mui-disabled":{borderColor:O(e.surfaceContainerHighest.main,.12),boxShadow:a.shadows[0]}}}]}}},Io=a=>{const{palette:e}=a;return{MuiCssBaseline:{defaultProps:{enableColorScheme:!0},styleOverrides:{body:{color:e.container.contrastText,backgroundColor:e.onBody.main,fontWeight:400,fontFamily:["Inter","sans-serif"].join(",")},"*::-webkit-scrollbar":{display:"none"}}}}},To=a=>{const{palette:e}=a;return{MuiDrawer:{styleOverrides:{paper:{border:"0px",backgroundColor:e.onBody.main,color:e.container.contrastText}}}}},Bo=a=>{const{palette:e}=a;return{MuiFab:{defaultProps:{color:"secondary"},styleOverrides:{root:{boxShadow:a.shadows[3],borderRadius:"18px"}},variants:[{props:{color:"primary"},style:{backgroundColor:e.primaryContainer.main,color:e.onPrimaryContainer.main,"&:hover":{background:h(g.Hover,e.primaryContainer.main,e.onPrimaryContainer.main),boxShadow:a.shadows[4]},"&:focus":{background:h(g.Focus,e.primaryContainer.main,e.onPrimaryContainer.main),boxShadow:a.shadows[3]},"&:active":{background:h(g.Press,e.primaryContainer.main,e.onPrimaryContainer.main),boxShadow:a.shadows[3]}}},{props:{color:"secondary"},style:{backgroundColor:e.secondaryContainer.main,color:e.onSecondaryContainer.main,"&:hover":{background:h(g.Hover,e.secondaryContainer.main,e.onSecondaryContainer.main),boxShadow:a.shadows[4]},"&:focus":{background:h(g.Focus,e.secondaryContainer.main,e.onSecondaryContainer.main),boxShadow:a.shadows[3]},"&:active":{background:h(g.Press,e.secondaryContainer.main,e.onSecondaryContainer.main),boxShadow:a.shadows[3]}}},{props:{color:"surface"},style:{backgroundColor:e.surfaceContainer.main,color:e.primary.main,"&:hover":{background:h(g.Hover,e.surfaceContainer.main,e.primary.main),boxShadow:a.shadows[4]},"&:focus":{background:h(g.Focus,e.surfaceContainer.main,e.primary.main),boxShadow:a.shadows[3]},"&:active":{background:h(g.Press,e.surfaceContainer.main,e.primary.main),boxShadow:a.shadows[3]}}},{props:{color:"tertiary"},style:{backgroundColor:e.tertiaryContainer.main,color:e.onTertiaryContainer.main,"&:hover":{background:h(g.Hover,e.tertiaryContainer.main,e.onTertiaryContainer.main),boxShadow:a.shadows[4]},"&:focus":{background:h(g.Focus,e.tertiaryContainer.main,e.onTertiaryContainer.main),boxShadow:a.shadows[3]},"&:active":{background:h(g.Press,e.tertiaryContainer.main,e.onTertiaryContainer.main),boxShadow:a.shadows[3]}}}]}}},zo=a=>{const{palette:e}=a;return{MuiInputLabel:{styleOverrides:{root:{fontSize:14,"& .MuiInputLabel-root":{backgroundColor:h(g.Hover,e.surfaceBright.main,e.surfaceBright.main),color:h(g.Hover,e.onSurfaceVariant.main,e.onSurface.main),fontSize:14}}}}}},Po=a=>({MuiListItem:{styleOverrides:{root:{paddingTop:1,paddingBottom:1,"& .MuiListItemButton-root":{paddingTop:8,paddingBottom:8}}}}}),Eo=a=>{const{palette:e}=a;return{MuiListItemButton:{styleOverrides:{root:{borderRadius:50,color:e.onSurfaceVariant.main,"&:hover":{backgroundColor:h(g.Hover,e.surfaceContainerLow.main,e.onSurface.main),color:h(g.Hover,e.onSurfaceVariant.main,e.onSurface.main)},"&:focus":{backgroundColor:h(g.Focus,e.surfaceContainerLow.main,e.onSurface.main),color:h(g.Focus,e.onSurfaceVariant.main,e.onSurface.main)},"&:active":{backgroundColor:h(g.Press,e.surfaceContainerLow.main,e.onSecondaryContainer.main),color:h(g.Press,e.onSurfaceVariant.main,e.onSurface.main)},"&.Mui-selected":{color:e.onSecondaryContainer.main,background:e.secondaryContainer.main,"& > .MuiListItemText-root > .MuiTypography-root":{fontWeight:"bold"},"&:hover":{backgroundColor:h(g.Hover,e.secondaryContainer.main,e.onSecondaryContainer.main),color:h(g.Hover,e.onSecondaryContainer.main,e.secondaryContainer.main)},"&:focus":{backgroundColor:h(g.Focus,e.secondaryContainer.main,e.onSecondaryContainer.main),color:h(g.Focus,e.onSecondaryContainer.main,e.secondaryContainer.main)},"&:active":{backgroundColor:h(g.Press,e.secondaryContainer.main,e.onSecondaryContainer.main),color:h(g.Press,e.onSecondaryContainer.main,e.secondaryContainer.main)}}}}}}},No=()=>({MuiListItemIcon:{styleOverrides:{root:{color:"inherit",minWidth:32,"&.Mui-selected":{fontWeight:"bold"}}}}}),Mo=a=>{const{palette:e}=a;return{MuiMenu:{defaultProps:{color:"default"},styleOverrides:{root:{},paper:{backgroundColor:e.surfaceContainerLow.main,boxShadow:a.shadows[3],color:e.onSurface.main}}}}},Do=a=>{const{palette:e}=a;return{MuiOutlinedInput:{styleOverrides:{root:{backgroundColor:e.container.main,color:e.container.contrastText,borderColor:e.onBorder.main,"& label.Mui-focused":{color:e.primary.main},"& input::placeholder":{fontSize:12},"& textarea::placeholder":{fontSize:12},'& input[type="number"]':{appearance:"textfield"},"& input::-webkit-outer-spin-button":{appearance:"none"},"& input::-webkit-inner-spin-button":{appearance:"none"},"& fieldset":{borderColor:e.onBorder.main},"&.Mui-disabled fieldset.MuiOutlinedInput-notchedOutline":{borderColor:e.onBorder.main,color:e.container.contrastText},"& .MuiInputBase-input.MuiOutlinedInput-input":{color:e.container.contrastText,textFillColor:e.container.contrastText},"& .MuiInputBase-root":{backgroundColor:h(g.Hover,e.surfaceBright.main,e.surfaceBright.main),color:h(g.Hover,e.onSurfaceVariant.main,e.onSurface.main),"&.Mui-focused fieldset":{borderColor:e.onBorder.main},"& fieldset":{borderColor:e.onBorder.main}},"& label":{fontSize:14,lineHeight:1.5}}}}}},Lo=a=>{const{palette:e}=a;return{MuiPaper:{styleOverrides:{root:{backgroundColor:e.container.main,fontWeight:400,fontFamily:["Inter","sans-serif"].join(","),"&.MuiPopover-paper":{backgroundColor:e.container.main}}}}}},Ro=a=>{const{palette:e}=a;return{MuiSelect:{styleOverrides:{select:{backgroundColor:e.container.main,color:e.container.contrastText}}}}},Go=a=>{const{palette:e}=a;return{MuiSwitch:{styleOverrides:{root:{width:42,height:26,padding:0,marginLeft:12,marginRight:8,borderColor:e.outline.main,"& .MuiSwitch-switchBase":{padding:0,margin:7,transitionDuration:"100ms","&.Mui-checked":{transform:"translateX(16px)",margin:4,"& + .MuiSwitch-track":{backgroundColor:e.primary.main,opacity:1,border:0},"& .MuiSwitch-thumb":{color:e.onPrimary.main,width:18,height:18},"&.Mui-disabled + .MuiSwitch-track":{backgroundColor:O(e.onSurface.main,.1)},"&.Mui-disabled .MuiSwitch-thumb":{color:O(e.surface.main,.8)}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:e.primary.main,border:`6px solid ${e.onPrimary.main}`},"&.Mui-disabled .MuiSwitch-thumb":{color:O(e.onSurface.main,.3)}},"& .MuiSwitch-thumb":{boxSizing:"border-box",color:e.outline.main,width:12,height:12,"&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},"& .MuiSwitch-track":{borderRadius:20,border:`2px solid ${e.outline.main}`,backgroundColor:e.surfaceContainerHighest.main,opacity:1,transition:"background .2s"}}}}}},Ko=a=>{const{palette:e}=a;return{MuiTableCell:{styleOverrides:{root:{[`&.${Ea.head}`]:{background:e.onBody.main,color:e.onSurfaceVariant.main,border:0,fontWeight:"bolder","&:first-of-type":{borderTopLeftRadius:10},"&:last-of-type":{borderTopRightRadius:10}},[`&.${Ea.body}`]:{fontSize:14}}}}}},Vo=a=>{const{palette:e}=a;return{MuiTableRow:{styleOverrides:{root:{"&:nth-of-type(even)":{backgroundColor:e.onBody.main},"&:not(last-child) td":{borderColor:e.surfaceVariant.main},"&:last-child td, &:last-child th":{borderColor:e.surfaceVariant.main}}}}}},Ho=a=>{const{palette:e}=a;return{MuiTextField:{styleOverrides:{root:{color:e.onBackground.main,"& label.Mui-focused":{color:e.primary.main},"& .MuiInputBase-root":{backgroundColor:e.container.main,color:e.container.contrastText,borderColor:e.onBorder.main,"&.Mui-focused fieldset":{borderColor:e.onBorder.main,borderWidth:"2px"}},"& label":{fontSize:14,lineHeight:1.5}}}}}},Fo=a=>{const{palette:e}=a;return{MuiToggleButton:{styleOverrides:{root:{borderRadius:"50px",textTransform:"none",color:e.onSurface.main,"&.Mui-selected":{color:e.onSecondaryContainer.main,backgroundColor:e.secondaryContainer.main},"&.MuiToggleButton-primary":{borderColor:"transparent"},"&.MuiToggleButton-primary.Mui-selected":{color:e.onPrimary.main,backgroundColor:e.primary.main},"&.MuiToggleButton-primary.Mui-selected:hover":{background:h(g.Hover,e.primary.main,e.onPrimary.main)},"&.Mui-selected:not(.MuiToggleButtonGroup-grouped):has(>svg)":{color:e.onPrimary.main,backgroundColor:e.primary.main},"&:hover":{background:h(g.Hover,e.surface.main,e.primary.main)},"&.Mui-selected:hover":{background:h(g.Hover,e.secondaryContainer.main,e.onSecondaryContainer.main)},"&:focus":{background:h(g.Focus,e.surface.main,e.onSurface.main)},"&.Mui-selected:focus":{background:h(g.Focus,e.secondaryContainer.main,e.onSecondaryContainer.main)},"&:active":{background:h(g.Press,e.surface.main,e.onSurface.main)},"&.Mui-selected:active":{background:h(g.Press,e.secondaryContainer.main,e.onSecondaryContainer.main)}}}}}},jo=a=>{const{palette:e}=a;return{MuiToggleButtonGroup:{styleOverrides:{grouped:{borderRadius:"50px",borderColor:e.outline.main,"&:not(:first-of-type)":{marginLeft:0,borderLeft:0},"&:hover":{background:h(g.Hover,e.surface.main,e.primary.main)},"&.Mui-selected:hover":{background:h(g.Hover,e.secondaryContainer.main,e.onSecondaryContainer.main)}}}}}},Oo=a=>{const{palette:e}=a;return{MuiTooltip:{styleOverrides:{tooltip:{background:e.inverseSurface.main,color:e.inverseOnSurface.main}}}}},Qo=a=>{const{palette:e}=a;return{MuiTypography:{styleOverrides:{root:{color:e.container.contrastText,fontWeight:400,fontFamily:["Inter","sans-serif"].join(",")},h5:{color:e.onTitle.main,fontWeight:"bolder"},h6:{color:e.onTitle.main,fontWeight:"bolder"}}}}},Uo=a=>({components:{...Io(a),...vo(a),...ko(a),...bo(a),...Co(a),...xo(a),...So(a),...To(a),...Bo(a),...Po(),...Eo(a),...No(),...Qo(a),...Lo(a),...Mo(a),...Go(a),...Fo(a),...jo(a),...Oo(a),...Ho(a),...Ro(a),...zo(a),...Do(a),...wo(a),...Ko(a),...Vo(a)}}),Yo=(a,e)=>{const n=e[a];return{palette:{themeMode:a,primary:{main:n.primary,contrastText:n.onPrimary},container:{main:a==="light"?"#fbf8fd":"#111827",contrastText:a==="light"?"#6b7280":"#9ca3af"},onBody:{main:a==="light"?"#f3f4f6":"#1f2937"},onTitle:{main:a==="light"?"#1f2937":"#9ca3af"},onBorder:{main:a==="light"?"#e5e7eb":"#374151"},onPrimary:{main:n.onPrimary,contrastText:n.primary},primaryContainer:{main:n.primaryContainer,contrastText:n.onPrimaryContainer},onPrimaryContainer:{main:n.onPrimaryContainer,contrastText:n.primaryContainer},secondary:{main:n.secondary,contrastText:n.onSecondary},onSecondary:{main:n.onSecondary,contrastText:n.secondary},secondaryContainer:{main:n.secondaryContainer,contrastText:n.onSecondaryContainer},onSecondaryContainer:{main:n.onSecondaryContainer,contrastText:n.secondaryContainer},tertiary:{main:n.tertiary,contrastText:n.onTertiary},onTertiary:{main:n.onTertiary,contrastText:n.tertiary},tertiaryContainer:{main:n.tertiaryContainer,contrastText:n.onTertiaryContainer},onTertiaryContainer:{main:n.onTertiaryContainer,contrastText:n.tertiaryContainer},error:{main:n.error,contrastText:n.onError},onError:{main:n.onError,contrastText:n.error},errorContainer:{main:n.errorContainer,contrastText:n.onErrorContainer},onErrorContainer:{main:n.onErrorContainer,contrastText:n.errorContainer},primaryFixed:{main:n.primaryFixed},primaryFixedDim:{main:n.primaryFixedDim},onPrimaryFixed:{main:n.onPrimaryFixed},onPrimaryFixedVariant:{main:n.onPrimaryFixedVariant},secondaryFixed:{main:n.secondaryFixed},secondaryFixedDim:{main:n.secondaryFixedDim},onSecondaryFixed:{main:n.onSecondaryFixed},onSecondaryFixedVariant:{main:n.onSecondaryFixedVariant},tertiaryFixed:{main:n.tertiaryFixed},tertiaryFixedDim:{main:n.tertiaryFixedDim},onTertiaryFixed:{main:n.onTertiaryFixed},onTertiaryFixedVariant:{main:n.onTertiaryFixedVariant},surface:{main:n.surface,contrastText:n.onSurface},onSurface:{main:n.onSurface,contrastText:n.surface},surfaceDim:{main:n.surfaceDim},surfaceBright:{main:n.surfaceBright},surfaceContainerLowest:{main:n.surfaceContainerLowest},surfaceContainerLow:{main:n.surfaceContainerLow},surfaceContainer:{main:n.surfaceContainer},surfaceContainerHigh:{main:n.surfaceContainerHigh},surfaceContainerHighest:{main:n.surfaceContainerHighest},surfaceVariant:{main:n.surfaceVariant,contrastText:n.onSurfaceVariant},onSurfaceVariant:{main:n.onSurfaceVariant,contrastText:n.surfaceVariant},outline:{main:n.outline},outlineVariant:{main:n.outlineVariant},inversePrimary:{main:n.inversePrimary,contrastText:n.inverseOnPrimary},inverseOnPrimary:{main:n.inverseOnPrimary,contrastText:n.inversePrimary},inverseSurface:{main:n.inverseSurface,contrastText:n.inverseSurface},inverseOnSurface:{main:n.inverseOnSurface,contrastText:n.inverseSurface},shadow:{main:n.shadow},scrim:{main:n.scrim},surfaceTintColor:{main:n.surfaceTintColor},background:{default:n.surfaceContainer,paper:n.surface},onBackground:{main:n.onSurface},common:{white:n.background,black:n.onBackground},text:{primary:n.onSurface,secondary:n.onSecondaryContainer},info:{main:n.info,contrastText:n.onInfo},onInfo:{main:n.onInfo,contrastText:n.info},infoContainer:{main:n.infoContainer,contrastText:n.onInfoContainer},onInfoContainer:{main:n.onInfoContainer,contrastText:n.infoContainer},success:{main:n.success,contrastText:n.onSuccess},onSuccess:{main:n.onSuccess,contrastText:n.success},successContainer:{main:n.successContainer,contrastText:n.onSuccessContainer},onSuccessContainer:{main:n.onSuccessContainer,contrastText:n.successContainer},warning:{main:n.warning,contrastText:n.onWarning},onWarning:{main:n.onWarning,contrastText:n.warning},warningContainer:{main:n.warningContainer,contrastText:n.onWarningContainer},onWarningContainer:{main:n.onWarningContainer,contrastText:n.warningContainer},divider:n.outline},tones:e.tones}},Wo=({children:a})=>{const e=J(_t),n=ze(),{themeMode:o}=s.useContext(Ze),{themeScheme:i}=s.useContext(Sa),r=s.useMemo(()=>{const c=Yo(o,i);let p=Jn(c,qn[e]);return p=Zn(p,Uo(p)),p},[e,o,i]);return s.useEffect(()=>{const d=["arSA","arSA"].includes(e)?"rtl":"ltl";document.getElementsByTagName("html")[0].setAttribute("dir",d)},[n,e]),m(_n,{theme:r,children:[t(Xn,{enableColorScheme:!0}),a]})},Jo=({children:a})=>t(ro,{children:t(Ao,{children:t(Wo,{children:a})})}),qo={"nav.assets":"Assets","nav.manage":"Wallet Management","nav.colorSystem":"Color System","nav.record":"Transaction History","nav.load":"Loading","nav.drop":"Pull down to load more","nav.nomore":"No more","nav.local":"Local login","nav.jutkey":"Wallet login","nav.link":"Connect wallet","nav.backup":"Mnemonic phrase not yet backed up. For the safety of your funds, please back up as soon as possible","nav.exit":"Log Out","nav.wallet":"Jutkey Wallet - High Security HD Wallet","nav.des":"Go to load Jutkey Wallet","nav.chain":"Multi-chain Supported Decentralized Wallet","login.sign":"Sign In","login.name":"Multi-Sig Wallet Name","login.address":"Account Address","login.password":"Local Password","login.know":"I have read and agree to the Privacy Policy.","login.create":"Create","login.load":"Load Wallet","login.import":"Import Wallet","login.back":"Back","login.empty":"The name of the multisig wallet cannot be empty","login.maxName":"The name of the multisig wallet cannot exceed 16 characters","login.maxpw":"Local password cannot exceed 50 characters","login.setting":"Create and Set Up Multi-Sig Wallet","login.safety":"Multi-Security, Use MultiKey Wallet to Achieve Decentralized Account Management","login.wallet":"Create New Wallet","login.base":"Create a decentralized wallet that supports multi-account signature management based on your needs. You need to pay a small amount of Gas fee for this account.","login.new":"Create","login.had":"Load Wallet","login.multi":"If you already have a MultiKey wallet and want to continue using it in a new account, you can continue using it by verifying it with your private key or mnemonic phrase.","login.loading":"Load","login.use":"Use your existing mnemonic phrase or private key to restore the multi-key wallet. We will help you get the historical data On-Chain, and it will be displayed in the corresponding function items, so you will not lose this data information.","login.word":"Import via Mnemonic Phrase","login.restore":"Importing via mnemonic phrase can restore all accounts under this mnemonic phrase","login.private":"Import via Private Key","login.text":"Use your private key to import the multi-sig account you need","login.cancel":"Cancel","login.confirm":"Confirm","login.start":"Start Importing","login.privateEmpty":"Private key cannot be empty","login.privateError":"Private key is incorrect","login.mnemonicEmpty":"Seed phrase cannot be empty","login.mnemonicError":"Seed phrase is incorrect","login.no":"No data yet","login.select":"Please Select Multi-Sig Wallet Name","login.incorrect":"Local security password is incorrect","login.delete":"Delete Account","login.deleteAccount":"Are you sure you want to delete account {{name}}?","login.cody":"Copied successfully","login.pwEmpty":"Local security password cannot be empty","login.accountName":"Account Name","login.continue":"Use Multi-Signature Wallet","login.account":"Create New Account","login.checkKnow":"Please check to understand and accept the privacy policy","login.loacl":"Account","login.now":"Currently in use account","login.previous":"Prev Step","home.newBuilt":"Create New","home.details":"Token Details","home.multi":"Multi-Sig Wallet","home.create":"Create New Multi-signature Address","home.signtip":"Set at least 2 signature addresses, cannot exceed total signature count","home.receive":"Receive","home.transfer":"Transfer","home.assets":"Assets","home.setting":"Set MultiKey Wallet","home.des":"Set up management account and permissions for the MultiKey wallet, which cannot be modified after On-Chain deployment.","home.team":"Team Name","home.name":"You need to name your wallet for quick recognition by you or team members during signing.","home.inputName":"Please enter team name","home.nameLength":"Team name cannot exceed 20 characters","home.sign":"Signature Address {{num}}","home.inputSign":"Please enter signature address","home.addreeType":"Please enter an address in the format 0000-0000-0000-0000-0000","home.save":"Address already exists","home.new":"Add","home.num":"Set transaction signature threshold","home.inputNum":"Please enter transaction signature threshold","home.min":"Minimum 2 signatures required","home.delete":"Delete","home.block":"Block ID","home.hash":"Transaction Hash","home.address":"Address","home.date":"Date","home.type":"Type","home.contract":"Contract","home.amount":"Amount","home.check":"Password Verification","home.balance":"Balance","home.send":"Send","home.recipient":"Please enter recipient address","home.count":"Amount","home.dir":"Please enter send amount","home.maxZero":"The input amount must be greater than zero","home.maxAmount":"Sending amount should be less than maximum {{num}} {{tokenSymbol}}.","home.gas":"Gas Fee","home.comment":"Memo","home.commentInput":"Please enter memo","home.expedit":"Expedited Fee (Optional)","home.expeditInput":"Please enter expedited fee","home.expedited":"Expedited Fee","home.examine":"View","home.initiate":"Initiate a Transfer","home.achieve":"Received from {{to}}","home.wait":"Awaiting Signature","home.finish":"Signature Completed and Executed","home.noMessage":"No new messages","home.second":"Seconds Ago","home.messageDetails":"Message Details","home.notice":"Signature Notification","home.current":"Current Signature Number","home.tactics":"Signature Threshold","home.rejected":"Rejected","home.approved":"Approved","home.explore":"Check on blockchain explorer","home.time":"Time","home.content":"Content","home.signnum":"Signature Number","home.collection":"Please enter receive amount","home.saveqr":"Save QR Code","home.cody":"Copy Receive Link","home.give":"Share to...","home.limit":"Input cannot exceed {{num}} signature addresses","home.over":"Cannot exceed {{num}} addresses","home.add":"Add Token","home.continue":"Continue","home.build":"Create","home.sure":"Confirm Multisig Wallet Address","home.mistake":"Please confirm your Multisig wallet information to avoid mistakes","home.mulAddress":"Multisig Address","home.signAll":"{{num}} to {{length}} Transaction Signatures Required","home.noGas":"Not enough GAS fee","home.maxExpedited":"The number of expedite fees should be less than the maximum amount {{num}} {{tokenSymbol}}","home.inputAccount":"Please enter the account name","home.iName":"Please enter iName","home.nickname":"iName does not conform to the rules","home.gasmin":"Creating a multi-signature wallet requires paying on-chain gas fees. Please ensure the IBXC balance in your current account is not less than 0.1 IBXC","home.know":"Got it","manage.import":"Export","manage.add":"Add New Account","manage.create":"Please complete new account creation before adding","manage.close":"Hide Account","manage.use":"Continue Using","manage.clean":"Delete Account","manage.all":"Locally clear account private key and mnemonic phrase, can be re-imported to recover data","manage.longPassword":"New password cannot exceed 50 characters","manage.safety":"Security","manage.setting":"Wallet Password Settings","manage.old":"Old Password","manage.oldPassword":"Please enter old password","manage.oldError":"Entered password does not match old password","manage.check":"Password Security Verification","manage.newPassword":"Set New Password","manage.again":"New Password Verification","manage.new":"New Password","manage.inputPassword":"Please enter new password","manage.againPassword":"Please re-enter password","manage.againNot":"Re-entered password does not match new password","manage.success":"Password changed successfully","manage.phrase":"Seed Phrase","manage.custody":"Please KEEP your seed phrase safe and NEVER share it with anyone.","manage.show":"Show Seed Phrase","manage.hide":"Hide Seed Phrase","manage.private":"Private Key","manage.custodyKey":"Please KEEP your private key safe and NEVER share it with anyone.","manage.showPrivate":"Show Private Key","manage.hidePrivate":"Hide Private Key","manage.language":"Language","manage.select":"Select your language","manage.user":"User FAQ & User Manual","manage.help":"Help Center","manage.about":"About Us","manage.open":"Open Source Community","manage.current":"Current account","user.dosuccess":"Operation Success","user.chain":"Transaction in processing ......","user.tips":"Tips","user.urgentpay":"Urgent fee (IBXC) = Paid assets / (follow-up ratio * precision)","user.tokensave":"Token Already Exists","type.package":"Packing Fee","type.taxation":"Tax","type.trade":"Transfer","type.tokenTrade":"Token Transfer","type.create":"Create Wallet","type.iname":"Create iName","type.issue":"Issue Token","type.coin":"Destroied Token Amount","type.private":"Foundation","type.foundation":"Eco-Partners","type.team":"R&D team","type.partner":"Private Sales 1","type.nft":"NFT Staking Reward","type.mining":"New Staking","type.pledge":"Withdraw Staked amount","type.exchange":"Withholding Redemption","type.burning":"Burned","type.detele":"Account Removal","type.paid":"Deposit paid by candidate node","type.nodes":"Deposit paid on behalf of candidate node","type.voting":"Candidate Node Voting","type.deposit":"Withdraw deposit of candidate node","type.withdrawal":"Withdraw vote for candidate node","type.textcoin":"Get Test Coins","type.privateye":"Private Sales 2","type.offering":"Public Sales","type.num":"Receive remaining funds from Private Placement 1","type.child":"Sub-account deduction","type.issuance":"Additional issuance","type.twonum":"Receive remaining funds from Private Placement 2","type.remove":"Refunds after team removes sub-accounts","type.airsend":"Airdrop distribution amount","type.aristack":"Accelerate unlock stake amount","type.getair":"Receive airdrop","type.getstack":"Receive airdrop stake","type.locking":"Airdrop lock-up amount","type.createiname":"Create iName","type.cross":"Cross-chain minting","type.crosslock":"Cross-chain withdraw lock","type.destruction":"Cross-chain burn"},Zo={"nav.assets":"资产","nav.manage":"钱包管理","nav.colorSystem":"颜色系统","nav.record":"交易记录","nav.load":"正在加载中","nav.drop":"轻轻下拉,加载更多","nav.nomore":"没有更多了","nav.local":"本地登录","nav.jutkey":"钱包登录","nav.link":"连接钱包","nav.backup":"尚未备份助记词,为了你的资金安全请尽快备份","nav.wallet":"Jutkey钱包 —— 高安全性的HD钱包","nav.exit":"退出登录","nav.des":"前往装载Jutkey钱包","nav.chain":"支持多链的去中心化钱包","login.sign":"登录","login.accountName":"账户名称","login.continue":"使用多签钱包","login.name":"多签钱包名称","login.loacl":"账户","login.now":"当下正在使用的账户","login.address":"账户地址","login.password":"本地安全密码","login.know":"了解并接受隐私政策","login.checkKnow":"请勾选了解并接受隐私政策","login.create":"开始创建","login.account":"创建新账户","login.load":"加载钱包","login.import":"导入钱包","login.back":"返回","login.empty":"多签钱包名称不能为空","login.maxName":"多签钱包名称不能超过16个字符","login.pwEmpty":"本地安全密码不能为空","login.maxpw":"本地安全密码不能超过50个字符","login.setting":"创建并设置多签钱包","login.safety":"多重安全,使用multikey钱包让账户实现去中心化管理","login.wallet":"新建钱包","login.base":"根据你的需要创建一个支持多账户签名管理的去中心化钱包。你需要为此账户支付少量的Gas 费。","login.new":"新建","login.had":"加载钱包","login.multi":"如果你已经有multikey钱包,想在新的账户中继续使用,你可以通过私钥或助记词验证继续使用。","login.loading":"加载","login.use":"使用你已有的助记词或私钥恢复multikey钱包,我们会帮助你获取链上的历史数据,它们会显示在对应的功能项中,不会让你丢失这些数据信息","login.word":"通过助记词导入","login.restore":"使用助记词导入可以恢复此助记词下的所有账户","login.private":"通过私钥导入","login.text":"使用私钥导入你需要的多签账户","login.cancel":"取消","login.confirm":"确定","login.start":"开始导入","login.privateEmpty":"私钥不能为空","login.privateError":"私钥不正确","login.mnemonicEmpty":"助记词不能为空","login.mnemonicError":"助记词不正确","login.no":"暂无数据","login.select":"请选择多签钱包名称","login.incorrect":"本地安全密码不正确","login.delete":"删除账户","login.deleteAccount":"是否删除账户 {{name}} ?","login.cody":"复制成功","login.previous":"上一步","home.multi":"多签钱包","home.create":"创建多签钱包","home.newBuilt":"新建","home.details":"代币详情","home.signtip":"最少设置2个签名地址,不能超过签名总数","home.receive":"收款","home.transfer":"转账","home.assets":"资产","home.setting":"设置多签钱包","home.des":"设置多签钱包管理账户和管理权限,上链后将不可修改","home.team":"团队名称","home.name":"你需要为你的钱包命名,以便在你或团队成员签名时能快速想起","home.inputName":"请输入团队名称","home.inputAccount":"请输入账户名称","home.nameLength":"团队名称不能超过20个字符","home.sign":"签名地址 {{num}}","home.inputSign":"请输入签名地址","home.addreeType":"请输入0000-0000-0000-0000-0000这类格式的地址","home.save":"该签名地址已存在","home.new":"新的签名地址","home.num":"设置事务签名数","home.inputNum":"请输入事务签名数","home.min":"最少2个账户签名","home.delete":"删除","home.limit":"输入不能超过 {{num}} 个签名地址","home.over":"不能超过 {{num}} 个地址","home.block":"区块ID","home.hash":"事务Hash","home.address":"地址","home.date":"日期","home.type":"类型","home.contract":"合约","home.amount":"金额","home.check":"密码校验","home.balance":"余额","home.send":"发送到","home.recipient":"请输入转入地址","home.iName":"请输入iName","home.nickname":"iName不符合规则","home.count":"数额","home.dir":"请输入发送数量","home.maxZero":"输入数量应大于零","home.maxAmount":"发送数量应小于最大数量{{num}} {{tokenSymbol}}","home.maxExpedited":"加急费数量应小于最大数量{{num}} {{tokenSymbol}}","home.gas":"Gas费","home.comment":"发送备注","home.commentInput":"请输入备注","home.expedit":"加急费(可选)","home.expeditInput":"请输入加急费","home.expedited":"加急费","home.examine":"查看","home.initiate":"发起一笔转账","home.achieve":"收到来自{{to}}的转账","home.wait":"等待签名","home.finish":"完成签名已执行","home.noMessage":"没有新的消息","home.second":"秒前","home.messageDetails":"消息详情","home.notice":"签名通知","home.current":"当前签名数","home.tactics":"签名策略","home.rejected":"拒绝","home.approved":"通过","home.explore":"到区块链浏览器查看详情","home.time":"时间","home.content":"内容","home.signnum":"签名数","home.collection":"请输入接收数额","home.saveqr":"保存二维码","home.cody":"复制收款链接","home.give":"发送给…","home.add":"添加代币","home.continue":"继续","home.build":"创建","home.sure":"确认多签钱包地址","home.mistake":"请确认你的多签钱包信息,避免发生错误","home.mulAddress":"多签地址","home.signAll":"{{num}} 到 {{length}} 事务签名数","home.noGas":"没有足够的GAS费","home.gasmin":"创建多签钱包需支付上链Gas费,请确保当前账户中的IBXC余额不低于0.1 IBXC","home.know":"知道了","manage.safety":"安全","manage.setting":"钱包密码设置","manage.old":"原密码","manage.oldPassword":"请输入原密码","manage.oldError":"输入密码与原密码不一致","manage.check":"密码安全验证","manage.newPassword":"设置新密码","manage.again":"新密码二次验证","manage.longPassword":"新密码不能超过50个字符","manage.new":"新密码","manage.inputPassword":"请输入新密码","manage.againPassword":"请再次输入密码","manage.againNot":"再次设置密码与新密码不一致","manage.success":"密码修改成功","manage.phrase":"助记词","manage.custody":"助记词请妥善保管,切勿告知他人","manage.show":"显示助记词","manage.hide":"隐藏助记词","manage.private":"私钥","manage.custodyKey":"私钥请妥善保管,切勿告知他人","manage.showPrivate":"显示私钥","manage.hidePrivate":"隐藏私钥","manage.import":"导出","manage.language":"语言","manage.select":"选择你的语言","manage.user":"用户疑问解答和使用说明书","manage.help":"帮助中心","manage.about":"关于我们","manage.open":"开放团队和社区","manage.add":"添加新账户","manage.create":"请完成新账户的创建后再添加","manage.close":"隐藏账户","manage.use":"继续使用","manage.clean":"清除账户","manage.all":"本地清除账户私钥与助记词,如需恢复数据可再次导入","manage.current":"当前账户","user.dosuccess":"操作成功","user.chain":"正在确认中……","user.tips":"提示","user.urgentpay":"加急费(IBXC)= 支付的生态资产 / (跟随比例 *生态精度)","user.tokensave":"代币已存在","type.package":"打包服务费","type.taxation":"税费","type.trade":"转账","type.tokenTrade":"代币转账","type.create":"创建钱包","type.iname":"创建INAME","type.issue":"发行通证","type.coin":"销毁通证币量","type.private":"基金会领取","type.team":"研发团队领取","type.partner":"私募一轮领取","type.foundation":"合作伙伴领取","type.nft":"NFT矿机挖矿","type.mining":"新建NFT矿机质押","type.pledge":"转出质押数额","type.exchange":"代扣兑换","type.burning":"燃烧","type.detele":"账户删除","type.paid":"候选节点缴纳保证金","type.nodes":"代缴候选节点保证金","type.voting":"候选节点投票","type.deposit":"撤回候选节点保证金","type.withdrawal":"撤回候选节点投票","type.textcoin":"领取测试币","type.privateye":"私募二轮领取","type.offering":"公募领取","type.num":"接收私募1剩余数量","type.child":"子账户扣款","type.issuance":"增发","type.twonum":"接收私募2剩余数量","type.remove":"团队移除子账户之后的退还","type.airsend":"空投发放量","type.aristack":"空投加速质押量","type.getair":"领取空投","type.getstack":"领取空投质押","type.locking":"空投锁定量","type.createiname":"创建iName","type.cross":"跨链铸造","type.crosslock":"跨链提取锁定","type.destruction":"跨链销毁"},Xo={"nav.assets":"الأصول","nav.manage":"إدارة المحفظة","nav.colorSystem":"نظام الألوان","nav.record":"سجل المعاملات","nav.load":"التحميل","nav.drop":"اسحب لأسفل لتحميل المزيد","nav.nomore":"لا يوجد المزيد","nav.local":"تسجيل الدخول المحلي","nav.jutkey":"تسجيل الدخول إلى المحفظة","nav.link":"ربط المحفظة","nav.backup":"لم يتم نسخ عبارة الاسترداد احتياطيًا، من أجل أمان أموالك، يرجى النسخ الاحتياطي في أقرب وقت ممكن","nav.exit":"تسجيل الخروج","nav.wallet":"محفظة Jutkey - محفظة HD عالية الأمان","nav.des":"اذهب لتحميل محفظة Jutkey","nav.chain":"محفظة لامركزية تدعم سلاسل متعددة","login.sign":"تسجيل الدخول","login.name":"اسم المحفظة متعددة التوقيعات","login.address":"عنوان الحساب","login.password":"كلمة المرور المحلية","login.know":"لقد قرأت سياسة الخصوصية وأوافق عليها.","login.create":"إنشاء","login.load":"تحميل المحفظة","login.import":"استيراد المحفظة","login.back":"رجوع","login.empty":"لا يمكن أن يكون اسم المحفظة متعددة التوقيعات فارغًا","login.maxName":"لا يمكن أن يتجاوز اسم المحفظة متعددة التوقيعات 16 حرفًا","login.maxpw":"لا يمكن أن تتجاوز كلمة المرور المحلية 50 حرفًا","login.setting":"إنشاء وإعداد محفظة متعددة التوقيع","login.safety":"أمان متعدد، استخدم المحفظة متعددة المفاتيح لتحقيق إدارة لا مركزية للحساب","login.wallet":"إنشاء محفظة جديدة","login.base":"أنشئ محفظة لا مركزية تدعم إدارة التوقيع متعدد الحسابات بناءً على احتياجاتك. تحتاج إلى دفع مبلغ صغير من رسوم الغاز لهذا الحساب.","login.new":"جديد","login.had":"تحميل المحفظة","login.multi":"إذا كان لديك بالفعل محفظة MultiKey وتريد الاستمرار في استخدامها في حساب جديد، يمكنك الاستمرار في استخدامها عن طريق التحقق منها باستخدام مفتاحك الخاص أو العبارة الذاكرية.","login.loading":"تحميل","login.use":"استخدم العبارة الذاكرية أو المفتاح الخاص الموجود لديك لاستعادة المحفظة متعددة المفاتيح. سوف نساعدك في الحصول على البيانات التاريخية على السلسلة، وسيتم عرضها في عناصر الوظيفة المقابلة، لذلك لن تفقد معلومات البيانات هذه.","login.word":"الاستيراد عبر عبارة ذاكري","login.restore":"يمكن للاستيراد عبر العبارة الذاكرية استعادة جميع الحسابات تحت هذه العبارة الذاكرية","login.private":"الاستيراد عبر المفتاح الخاص","login.text":"استخدم مفتاحك الخاص لاستيراد الحساب متعدد التوقيع الذي تريده","login.cancel":"إلغاء","login.confirm":"تأكيد","login.start":"بدء الاستيراد","login.privateEmpty":"لا يمكن أن يكون المفتاح الخاص فارغاً","login.privateError":"المفتاح الخاص غير صحيح","login.mnemonicEmpty":"عبارة البذرة لا يمكن أن تكون فارغة","login.mnemonicError":"عبارة البذرة غير صحيحة","login.no":"لا توجد بيانات بعد","login.delete":"حذف الحساب","login.deleteAccount":"هل تريد بالتأكيد حذف الحساب {{name}}؟","login.cody":"تم النسخ بنجاح","login.incorrect":"كلمة المرور الآمنة المحلية غير صحيحة","login.select":"يرجى اختيار اسم المحفظة متعددة التوقيعات","login.pwEmpty":"كلمة المرور الآمنة المحلية لا يمكن أن تكون فارغة","login.accountName":"اسم الحساب","login.continue":"استخدام محفظة التوقيع المتعدد","login.account":"إنشاء حساب جديد","login.checkKnow":"يرجى التحقق من فهم وقبول سياسة الخصوصية","login.loacl":"حساب","login.now":"الحساب المستخدم حاليًا","login.previous":"الخطوة السابقة","home.newBuilt":"جديد","home.multi":"المحفظة متعددة التوثيق","home.receive":"استلام","home.transfer":"التحويل","home.assets":"الأصول","home.setting":"تعيين محفظة MultiKey","home.des":"قم بإعداد حساب الإدارة والأذونات لمحفظة MultiKey، والتي لا يمكن تعديلها بعد النشر على السلسلة.","home.team":"اسم الفريق","home.name":"تحتاج إلى تسمية محفظتك للتعرف السريع عليك أو على أعضاء الفريق أثناء التوقيع.","home.inputName":"الرجاء إدخال اسم الفريق","home.nameLength":"لا يمكن أن يتجاوز اسم الفريق 20 حرفًا","home.sign":"عنوان التوقيع {{num}}","home.inputSign":"الرجاء إدخال عنوان التوقيع","home.addreeType":"يُرجى إدخال عنوان بالصيغة 0000-0000-0000-0000-0000","home.save":"العنوان موجود بالفعل","home.new":"عنوان توقيع جديد","home.num":"تعيين حد توقيع المعاملة","home.inputNum":"الرجاء إدخال حد توقيع المعاملة","home.min":"الحد الأدنى 2 توقيعات مطلوبة","home.delete":"حذف","home.block":"معرف الكتلة","home.hash":"تجزئة المعاملة","home.address":"العنوان","home.date":"التاريخ","home.type":"النوع","home.contract":"العقد","home.amount":"المبلغ","home.check":"التحقق من كلمة المرور","home.balance":"الرصيد","home.send":"إرسال","home.recipient":"الرجاء إدخال عنوان المستلم","home.count":"المبلغ","home.dir":"الرجاء إدخال مبلغ الإرسال","home.maxZero":"يجب أن يكون المبلغ المرسل أكبر من الصفر","home.maxAmount":"يجب أن يكون المبلغ المرسل أقل من الحد الأقصى{{num}} {{tokenSymbol}}.","home.gas":"رسوم الغاز","home.comment":"مذكرة","home.commentInput":"الرجاء إدخال المذكرة","home.expedit":"الرسوم المعجلة (اختياري)","home.expeditInput":"الرجاء إدخال الرسوم المعجلة","home.expedited":"الرسوم المعجلة","home.examine":"عرض","home.initiate":"بدء التحويل","home.achieve":"تم الاستلام من {{to}}","home.wait":"في انتظار التوقيع","home.finish":"اكتمل التوقيع وتم التنفيذ","home.noMessage":"لا توجد رسائل جديدة","home.second":"منذ ثوانٍ","home.messageDetails":"تفاصيل الرسالة","home.notice":"إشعار التوقيع","home.current":"رقم التوقيع الحالي","home.tactics":"عتبة التوقيع","home.rejected":"مرفوض","home.approved":"تمت الموافقة","home.explore":"التحقق من مستكشف البلوك تشين","home.time":"الوقت","home.content":"المحتوى","home.signnum":"رقم التوقيع","home.collection":"الرجاء إدخال مبلغ الاستلام","home.saveqr":"حفظ رمز الاستجابة السريعة","home.cody":"نسخ رابط الاستلام","home.give":"مشاركة لـ","home.create":"جديد","home.signtip":"يجب تعيين عنوانين للتوقيع على الأقل، ولا يمكن أن يتجاوز العدد الإجمالي للتوقيعات","home.details":"تفاصيل الرمز المميز","home.limit":"لا يمكن أن يتجاوز الإدخال {{num}} عنوان توقيع","home.over":"لا يمكن أن يتجاوز {{num}} عناوين","home.add":"أضف رمزًا مميزًا","home.continue":"يكمل","home.build":"إنشاء","home.sure":"تأكيد عنوان المحفظة متعددة التوقيعات","home.mistake":"يرجى التأكد من معلومات محفظتك متعددة التوقيعات لتجنب أي أخطاء","home.mulAddress":"عنوان متعدد التوقيعات","home.signAll":"{{num}} إلى {{length}} توقيعات المعاملة","home.noGas":"ليس لديك رسوم الغاز الكافية","home.maxExpedited":"يجب أن يكون رسوم الطلب الفوري أقل من الحد الأقصى {{num}} {{tokenSymbol}}","home.inputAccount":"الرجاء إدخال اسم الحساب","home.iName":"الرجاء إدخال iName","home.nickname":"iName لا يتوافق مع القاعدة","home.gasmin":"إنشاء محفظة متعددة التوقيعات يتطلب دفع رسوم الغاز على السلسلة، يرجى التأكد من أن رصيد IBXC في الحساب الحالي لا يقل عن 0.1 IBXC","home.know":"فهمت","manage.import":"تصدير","manage.safety":"الأمان","manage.setting":"إعدادات كلمة مرور المحفظة","manage.old":"كلمة المرور القديمة","manage.oldPassword":"الرجاء إدخال كلمة المرور القديمة","manage.oldError":"كلمة المرور المدخلة لا تتطابق مع كلمة المرور القديمة","manage.check":"التحقق من أمان كلمة المرور","manage.newPassword":"تعيين كلمة مرور جديدة","manage.again":"التحقق من كلمة المرور الجديدة","manage.new":"كلمة المرور الجديدة","manage.inputPassword":"الرجاء إدخال كلمة مرور جديدة","manage.againPassword":"الرجاء إعادة إدخال كلمة المرور","manage.againNot":"كلمة المرور المعاد إدخالها لا تتطابق مع كلمة المرور الجديدة","manage.success":"تم تغيير كلمة المرور بنجاح","manage.phrase":"العبارة الأولية","manage.custody":"يُرجى الاحتفاظ بالعبارة الأولية بأمان وعدم مشاركتها مع أي شخص.","manage.show":"إظهار العبارة الأولية","manage.hide":"إخفاء العبارة الأولية","manage.private":"المفتاح الخاص","manage.custodyKey":"يرجى الاحتفاظ بمفتاحك الخاص بأمان وعدم مشاركته مع أي شخص.","manage.showPrivate":"إظهار المفتاح الخاص","manage.hidePrivate":"إخفاء المفتاح الخاص","manage.language":"اللغة","manage.select":"اختر لغتك","manage.user":"الأسئلة الشائعة للمستخدم ودليل المستخدم","manage.help":"مركز المساعدة","manage.about":"نبذة عنا","manage.open":"مجتمع المصادر المفتوحة","manage.longPassword":"يجب ألا تتجاوز كلمة المرور الجديدة 50 حرفًا","manage.add":"إضافة حساب جديد","manage.create":"يرجى إكمال إنشاء الحساب الجديد قبل الإضافة","manage.close":"إخفاء الحساب","manage.use":"متابعة الاستخدام","manage.clean":"مسح الحساب","manage.all":"مسح المفتاح الخاص للحساب والعبارة المساعدة محليًا، يمكن استيراد البيانات مرة أخرى إذا كنت بحاجة لاستعادتها","manage.current":"الحساب الجاري","user.dosuccess":"عملية ناجحة","user.chain":"تم التأكيد...","user.urgentpay":"رسوم الطوارئ (IBXC) = الأصول المدفوعة / (نسبة المتابعة * الدقة)","user.tips":"نصائح","user.tokensave":"الرمز موجود بالفعل","type.package":"رسوم التعبئة","type.taxation":"الضريبة","type.trade":"التحويل","type.tokenTrade":"تحويل الرمز","type.create":"إنشاء محفظة","type.iname":"إنشاء iName","type.issue":"إصدار الرمز","type.coin":"كمية الرمز المدمرة","type.private":"المؤسسة","type.foundation":"شركاء البيئة","type.team":"فريق البحث والتطوير","type.partner":"مبيعات خاصة 1","type.nft":"مكافأة الاستثمار في NFT","type.mining":"استثمار جديد","type.pledge":"سحب المبلغ المستثمر","type.exchange":"احتجاز الاسترداد","type.burning":"تم حرقه","type.detele":"إزالة الحساب","type.paid":"تم دفع الوديعة من قبل العقدة المرشحة","type.nodes":"تم دفع الوديعة نيابة عن العقدة المرشحة","type.voting":"تصويت المرشح الأساسي","type.deposit":"سحب الوديعة للمرشح الأساسي","type.withdrawal":"سحب التصويت للمرشح الأساسي","type.textcoin":"الحصول على عملات تجريبية","type.privateye":"المبيعات الخاصة 2","type.offering":"المبيعات العامة","type.num":"استلام الأموال المتبقية من الإصدار الخاص 1","type.child":"خصم الحساب الفرعي","type.issuance":"إصدار إضافي","type.twonum":"استلام الأموال المتبقية من الإصدار الخاص 2","type.remove":"استرداد بعد إزالة الفريق للحسابات الفرعية","type.airsend":"مبلغ توزيع الهبة الجوية","type.aristack":"تسريع فتح مبلغ الرهن","type.getair":"استلام الهبة الجوية","type.getstack":"استلام رهن الهبة الجوية","type.locking":"مبلغ قفل الهبة الجوية","type.createiname":"إنشاء اسم آي","type.cross":"صك عبر السلاسل","type.crosslock":"قفل سحب عبر السلاسل","type.destruction":"حرق عبر السلاسل"},_o={"nav.assets":"সম্পদ","nav.manage":"ওয়ালেট ব্যবস্থাপনা","nav.colorSystem":"রঙ সিস্টেম","nav.record":"লেনদেন ইতিহাস","nav.load":"লোড হচ্ছে","nav.drop":"আরও লোড করতে নিচে টানুন","nav.nomore":"আর কিছু নেই","nav.local":"স্থানীয় লগইন","nav.jutkey":"ওয়ালেট লগইন","nav.link":"ওয়ালেট সংযোগ করো","nav.backup":"এখনও রিকভারি ফ্রেজ ব্যাকআপ করা হয়নি, আপনার তহবিলের নিরাপত্তার জন্য দয়া করে যত তাড়াতাড়ি সম্ভব ব্যাকআপ করুন","nav.exit":"লগ আউট করুন","nav.wallet":"Jutkey ওয়ালেট - উচ্চ নিরাপত্তার HD ওয়ালেট","nav.des":"Jutkey ওয়ালেট লোড করতে যান","nav.chain":"বহু চেইন সমর্থিত কেন্দ্রীভূত ওয়ালেট","login.sign":"সাইন ইন","login.name":"মাল্টিসিগ ওয়ালেটের নাম","login.address":"অ্যাকাউন্ট ঠিকানা","login.password":"লোকাল পাসওয়ার্ড","login.know":"আমি গোপনীয়তা নীতি পড়েছি এবং সম্মত হয়েছি।","login.create":"তৈরি করুন","login.load":"ওয়ালেট লোড করুন","login.import":"ওয়ালেট ইম্পোর্ট করুন","login.back":"ফিরে যান","login.empty":"মাল্টি-সাইন ওয়ালেটের নাম ফাঁকা থাকতে পারে না","login.maxName":"মাল্টি-সাইন ওয়ালেটের নাম 16টি অক্ষরের বেশি হতে পারে না","login.maxpw":"লোকাল পাসওয়ার্ড 50 অক্ষরের বেশি হতে পারে না","login.setting":"মাল্টি-সিগ ওয়ালেট তৈরি এবং সেটআপ করুন","login.safety":"মাল্টি-সিকিউরিটি, ডিসেন্ট্রালাইজড অ্যাকাউন্ট ব্যবস্থাপনা অর্জনের জন্য মাল্টিকি ওয়ালেট ব্যবহার করুন","login.wallet":"নতুন ওয়ালেট তৈরি করুন","login.base":"আপনার প্রয়োজন অনুযায়ী একটি ডিসেন্ট্রালাইজড ওয়ালেট তৈরি করুন যা একাধিক অ্যাকাউন্টের স্বাক্ষর ব্যবস্থাপনা সমর্থন করে। এই অ্যাকাউন্টের জন্য আপনাকে একটি ছোট পরিমাণ গ্যাস ফি প্রদান করতে হবে।","login.new":"নতুন","login.had":"ওয়ালেট লোড করুন","login.multi":"যদি আপনার ইতোমধ্যে একটি মাল্টিকি ওয়ালেট থাকে এবং আপনি একটি নতুন অ্যাকাউন্টে এটি ব্যবহার করতে চান, তাহলে আপনি আপনার প্রাইভেট কী বা মনেমনিক ফ্রেজ দিয়ে এটি যাচাই করে চালিয়ে যেতে পারেন।","login.loading":"লোড করুন","login.use":"মাল্টি-কী ওয়ালেট পুনরুদ্ধার করতে আপনার বিদ্যমান মনেমনিক ফ্রেজ বা প্রাইভেট কী ব্যবহার করুন। আমরা আপনাকে অন-চেইন এর ঐতিহাসিক ডেটা পেতে সাহায্য করব এবং এটি সংশ্লিষ্ট ফাংশন আইটেমগুলিতে প্রদর্শিত হবে, তাই আপনি এই ডেটা তথ্য হারাবেন না।","login.word":"মনেমনিক ফ্রেজ দ্বারা ইম্পোর্ট করুন","login.restore":"মনেমনিক ফ্রেজ দ্বারা ইম্পোর্ট করা এই মনেমনিক ফ্রেজের অধীনে সমস্ত অ্যাকাউন্টগুলি পুনরুদ্ধার করতে পারে","login.private":"প্রাইভেট কী দ্বারা ইম্পোর্ট করুন","login.text":"আপনার প্রয়োজনীয় মাল্টি-সিগ অ্যাকাউন্ট ইম্পোর্ট করতে আপনার প্রাইভেট কী ব্যবহার করুন","login.cancel":"বাতিল করুন","login.confirm":"নিশ্চিত করুন","login.start":"ইম্পোর্ট শুরু করুন","login.privateEmpty":"প্রাইভেট কী খালি থাকতে পারবে না","login.privateError":"প্রাইভেট কীটি ভুল","login.mnemonicEmpty":"বীজ ফ্রেজটি খালি থাকতে পারবে না","login.mnemonicError":"বীজ ফ্রেজটি ভুল","login.no":"এখনও কোনো ডেটা নেই","login.delete":"অ্যাকাউন্ট মুছে ফেলুন","login.deleteAccount":"আপনি কি নিশ্চিত যে আপনি অ্যাকাউন্ট {{name}} মুছে ফেলতে চান?","login.cody":"সফলভাবে কপি করা হয়েছে","login.incorrect":"স্থানীয় সুরক্ষা পাসওয়ার্ড সঠিক নয়","login.select":"মাল্টিসিগ ওয়ালেটের নাম নির্বাচন করুন","login.pwEmpty":"স্থানীয় সুরক্ষা পাসওয়ার্ড খালি থাকতে পারে না","login.accountName":"অ্যাকাউন্টের নাম","login.continue":"মাল্টি-সাইন ওয়ালেট ব্যবহার করুন","login.account":"নতুন অ্যাকাউন্ট তৈরি করুন","login.checkKnow":"দয়া করে গোপনীয়তা নীতি বুঝতে এবং গ্রহণ করতে টিক চিহ্ন দিন","login.loacl":"অ্যাকাউন্ট","login.now":"বর্তমানে ব্যবহৃত অ্যাকাউন্ট","login.previous":"পূর্ববর্তী ধাপ","home.newBuilt":"নতুন তৈরি করুন","home.multi":"মাল্টি-সিগ ওয়ালেট","home.receive":"প্রাপ্ত","home.transfer":"স্থানান্তর","home.assets":"সম্পদ","home.setting":"মাল্টিকি ওয়ালেট সেট করুন","home.des":"মাল্টিকি ওয়ালেটের জন্য ম্যানেজমেন্ট অ্যাকাউন্ট এবং অনুমতিগুলি সেটআপ করুন, যা অন-চেইন ডেপ্লয়মেন্টের পরে সংশোধন করা যাবে না।","home.team":"টীমের নাম","home.name":"স্বাক্ষর করার সময় দ্রুত চিহ্নিত করার জন্য আপনাকে বা আপনার টীমের সদস্যদের কাছে আপনার ওয়ালেটের একটি নাম দিতে হবে।","home.inputName":"দয়া করে টীমের নাম লিখুন","home.nameLength":"টীমের নাম 20 অক্ষরের বেশি হতে পারে না","home.sign":"স্বাক্ষর ঠিকানা {{num}}","home.inputSign":"দয়া করে স্বাক্ষর ঠিকানা লিখুন","home.addreeType":"0000-0000-0000-0000-0000 ফরম্যাটে একটি ঠিকানা লিখুন","home.save":"ঠিকানাটি ইতোমধ্যে বিদ্যমান আছে","home.new":"নতুন স্বাক্ষর ঠিকানা","home.num":"লেনদেন স্বাক্ষর সীমা সেট করুন","home.inputNum":"দয়া করে লেনদেন স্বাক্ষর সীমা লিখুন","home.min":"সর্বনিম্ন 2টি স্বাক্ষর প্রয়োজন","home.delete":"মুছে ফেলুন","home.block":"ব্লক আইডি","home.hash":"লেনদেন হ্যাশ","home.address":"ঠিকানা","home.date":"তারিখ","home.type":"প্রকার","home.contract":"চুক্তি","home.amount":"পরিমাণ","home.check":"পাসওয়ার্ড যাচাইকরণ","home.balance":"ব্যালেন্স","home.send":"পাঠান","home.recipient":"দয়া করে প্রাপকের ঠিকানা লিখুন","home.count":"পরিমাণ","home.dir":"দয়া করে পাঠানোর পরিমাণ লিখুন","home.maxZero":"ইনপুট পরিমাণটি শূন্যের চেয়ে বড় হতে হবে","home.maxAmount":"পাঠানোর পরিমাণ সর্বাধিক {{num}} {{tokenSymbol}} এর চেয়ে কম হওয়া উচিত।","home.gas":"গ্যাস ফি","home.comment":"মেমো","home.commentInput":"দয়া করে মেমো লিখুন","home.expedit":"দ্রুতগতি ফি (ঐচ্ছিক)","home.expeditInput":"দয়া করে দ্রুতগতি ফি লিখুন","home.expedited":"দ্রুতগতি ফি","home.examine":"দেখুন","home.initiate":"একটি স্থানান্তর শুরু করুন","home.achieve":"{{to}} থেকে প্রাপ্ত","home.wait":"স্বাক্ষরের অপেক্ষায়","home.finish":"স্বাক্ষর সম্পন্ন এবং নিষ্পন্ন","home.noMessage":"কোনো নতুন বার্তা নেই","home.second":"সেকেন্ড আগে","home.messageDetails":"বার্তা বিশদ বিবরণ","home.notice":"স্বাক্ষর বিজ্ঞপ্তি","home.current":"বর্তমান স্বাক্ষর সংখ্যা","home.tactics":"স্বাক্ষর সীমা","home.rejected":"প্রত্যাখ্যাত","home.approved":"অনুমোদিত","home.explore":"ব্লকচেইন এক্সপ্লোরারে দেখুন","home.time":"সময়","home.content":"কন্টেন্ট","home.signnum":"স্বাক্ষর সংখ্যা","home.collection":"দয়া করে প্রাপ্তির পরিমাণ লিখুন","home.saveqr":"QR কোড সংরক্ষণ করুন","home.cody":"প্রাপ্তির লিঙ্ক কপি করুন","home.give":"... এ ভাগ করে নিন","home.create":"নতুন তৈরি করুন","home.signtip":"কমপক্ষে 2টি স্বাক্ষর ঠিকানা সেট করুন, স্বাক্ষরের মোট সংখ্যা অতিক্রম করা যাবে না","home.limit":"{{num}} এর বেশি স্বাক্ষর ঠিকানা প্রবেশ করা যাবে না","home.details":"টোকেন বিবরণ","home.over":"{{num}} টির বেশি ঠিকানা হতে পারবে না","home.add":"টোকেন যোগ করুন","home.continue":"চালিয়ে যান","home.build":"সৃষ্টি কর","home.sure":"মাল্টি-সাইন ওয়ালেট ঠিকানা নিশ্চিত করুন","home.mistake":"আপনার মাল্টি-সাইন ওয়ালেট তথ্য নিশ্চিত করুন, ভুল এড়াতে","home.mulAddress":"মাল্টি-সাইন ঠিকানা","home.signAll":"{{num}} এ {{length}} লেনদেন স্বাক্ষর","home.noGas":"পর্যাপ্ত গ্যাস ফী নেই","home.maxExpedited":"জরুরি ফি {{num}} {{tokenSymbol}} সর্বাধিক পরিমাণের চেয়ে কম হওয়া উচিত","home.inputAccount":"অনুগ্রহ করে একাউন্টের নাম লিখুন","home.iName":"অনুগ্রহ করে iName লিখুন","home.nickname":"iName নিয়ম অনুযায়ী নয়","home.gasmin":"মাল্টি-সিগ ওয়ালেট তৈরি করতে অনলাইন গ্যাস ফি দিতে হবে, দয়া করে নিশ্চিত করুন যে বর্তমান অ্যাকাউন্টে IBXC ব্যালেন্স 0.1 IBXC এর কম নয়","home.know":"বুঝেছি","manage.import":"রপ্তানী","manage.safety":"নিরাপত্তা","manage.setting":"ওয়ালেট পাসওয়ার্ড সেটিংস","manage.old":"পুরানো পাসওয়ার্ড","manage.oldPassword":"দয়া করে পুরানো পাসওয়ার্ড লিখুন","manage.oldError":"প্রবেশকৃত পাসওয়ার্ডটি পুরানো পাসওয়ার্ডের সাথে মিলছে না","manage.check":"পাসওয়ার্ড নিরাপত্তা যাচাইকরণ","manage.newPassword":"নতুন পাসওয়ার্ড সেট করুন","manage.again":"নতুন পাসওয়ার্ড যাচাইকরণ","manage.new":"নতুন পাসওয়ার্ড","manage.inputPassword":"দয়া করে নতুন পাসওয়ার্ড লিখুন","manage.againPassword":"দয়া করে পাসওয়ার্ড পুনরায় লিখুন","manage.againNot":"পুনরায় লেখা পাসওয়ার্ডটি নতুন পাসওয়ার্ডের সাথে মিলছে না","manage.success":"পাসওয়ার্ড সফলভাবে পরিবর্তন করা হয়েছে","manage.phrase":"বীজ ফ্রেজ","manage.custody":"দয়া করে আপনার বীজ ফ্রেজটি নিরাপদ রাখুন এবং কাউকে কখনো এটি শেয়ার করবেন না।","manage.show":"বীজ ফ্রেজ দেখান","manage.hide":"বীজ ফ্রেজ লুকান","manage.private":"প্রাইভেট কী","manage.custodyKey":"দয়া করে আপনার প্রাইভেট কীটি নিরাপদ রাখুন এবং কাউকে কখনো এটি শেয়ার করবেন না।","manage.showPrivate":"প্রাইভেট কী দেখান","manage.hidePrivate":"প্রাইভেট কী লুকান","manage.language":"ভাষা","manage.select":"আপনার ভাষা নির্বাচন করুন","manage.user":"ব্যবহারকারীর সাধারণ প্রশ্ন এবং নির্দেশিকা","manage.help":"সহায়তা কেন্দ্র","manage.about":"আমাদের সম্পর্কে","manage.open":"ওপেন সোর্স কমিউনিটি","manage.longPassword":"নতুন পাসওয়ার্ড 50টি অক্ষরের বেশি হতে পারবে না","manage.add":"নতুন অ্যাকাউন্ট যোগ করুন","manage.create":"দয়া করে নতুন অ্যাকাউন্ট তৈরি করার পরে যোগ করুন","manage.close":"অ্যাকাউন্ট লুকান","manage.use":"ব্যবহার চালিয়ে যান","manage.clean":"অ্যাকাউন্ট মুছে ফেলুন","manage.all":"স্থানীয়ভাবে অ্যাকাউন্টের প্রাইভেট কী এবং মনেমোনিক শব্দ মুছে ফেলুন, ডেটা পুনরুদ্ধার করতে আবার আমদানি করুন","manage.current":"বর্তমান অ্যাকাউন্ট","user.dosuccess":"অপারেশন সফল","user.chain":"লেনদেন প্রসেসিং করা হচ্ছে ......","user.tips":"পরামর্শ","user.urgentpay":"জরুরি ফি (IBXC) = প্রদত্ত সম্পদ / (অনুসরণ অনুপাত * সঠিকতা)","user.tokensave":"টোকেন ইতিমধ্যে বিদ্যমান","type.package":"প্যাকিং ফি","type.taxation":"কর","type.trade":"স্থানান্তর","type.tokenTrade":"টোকেন স্থানান্তর","type.create":"ওয়ালেট তৈরি করুন","type.iname":"আইনাম তৈরি করুন","type.issue":"টোকেন ইস্যু করুন","type.coin":"ধ্বংসিত টোকেন পরিমাণ","type.private":"ফাউন্ডেশন","type.foundation":"ইকো-পার্টনার","type.team":"আর এন্ড ডি টীম","type.partner":"প্রাইভেট বিক্রয় 1","type.nft":"NFT স্থাকিত পুরস্কার","type.mining":"নতুন স্থাকিত করা","type.pledge":"পূর্বাভাস প্রদান করুন","type.exchange":"বাধ্যতামূলক মুদ্রণ স্বর্ণাদি","type.burning":"ধ্বংস","type.detele":"অ্যাকাউন্ট সরানো","type.paid":"প্রার্থী নোড দ্বারা জমা","type.nodes":"প্রার্থী নোডের পক্ষে জমা প্রদান","type.voting":"প্রার্থী নোড ভোট","type.deposit":"প্রার্থী নোডের জমা উত্তোলন করুন","type.withdrawal":"প্রার্থী নোডের জন্য ভোট উত্তোলন করুন","type.textcoin":"টেস্ট কয়েন পান","type.privateye":"প্রাইভেট বিক্রয় 2","type.offering":"পাবলিক বিক্রয়","type.num":"প্রাইভেট প্লেসমেন্ট 1 থেকে বাকি ধন পাওয়া","type.child":"সাব-অ্যাকাউন্ট ছারা","type.issuance":"অতিরিক্ত ইস্যু","type.twonum":"প্রাইভেট প্লেসমেন্ট 2 থেকে বাকি ধন পাওয়া","type.remove":"দল সাব-অ্যাকাউন্ট সরানোর পর ফেরত","type.airsend":"এয়ারড্রপ বিতরণ পরিমাণ","type.aristack":"স্থানান্তর আনলক প্রমাণের মাধ্যমে ত্বরণ দিন","type.getair":"এয়ারড্রপ পান","type.getstack":"এয়ারড্রপ স্থাকিত পান","type.locking":"এয়ারড্রপ লক-আপ পরিমাণ","type.createiname":"আইনাম তৈরি করুন","type.cross":"চেইন আনুমানিক প্রজন্ম","type.crosslock":"চেইন আনুমানিক সরবরাহ লক","type.destruction":"চেইন আনুমানিক ভস্মীভূত করা"},$o={"nav.assets":"Vermögenswerte","nav.manage":"Wallet-Verwaltung","nav.colorSystem":"Farbsystem","nav.record":"Transaktionsverlauf","nav.load":"Laden","nav.drop":"Nach unten ziehen, um mehr zu laden","nav.nomore":"Keine mehr","nav.local":"Lokale Anmeldung","nav.jutkey":"Wallet-Anmeldung","nav.link":"Wallet verbinden","nav.backup":"Mnemonische Phrase noch nicht gesichert, bitte sichern Sie diese schnellstmöglich für die Sicherheit Ihrer Gelder","nav.exit":"Abmelden","nav.wallet":"Jutkey Wallet - Hochsicheres HD-Wallet","nav.des":"Gehe zum Laden der Jutkey-Wallet","nav.chain":"Dezentralisierte Wallet mit Multi-Chain-Unterstützung","login.sign":"Anmelden","login.name":"Multisig-Wallet-Name","login.address":"Kontoadresse","login.password":"Lokales Passwort","login.know":"Ich habe die Datenschutzbestimmungen gelesen und akzeptiere diese.","login.create":"Erstellen","login.load":"Wallet laden","login.import":"Wallet importieren","login.back":"Zurück","login.empty":"Der Name der Multi-Signatur-Brieftasche darf nicht leer sein","login.maxName":"Der Name der Multi-Signatur-Brieftasche darf nicht länger als 16 Zeichen sein","login.maxpw":"Lokales Passwort darf 50 Zeichen nicht überschreiten","login.setting":"Multi-Sig-Wallet erstellen und einrichten","login.safety":"Mehrfache Sicherheit, MultiKey-Wallet zur dezentralen Kontoverwaltung nutzen","login.wallet":"Neues Wallet erstellen","login.base":"Basierend auf Ihren Bedürfnissen eine dezentrale Wallet erstellen, die die Signaturverwaltung mehrerer Konten unterstützt. Sie müssen eine kleine Gas-Gebühr für dieses Konto bezahlen.","login.new":"Neu","login.had":"Wallet laden","login.multi":"Wenn Sie bereits eine MultiKey-Wallet haben und diese in einem neuen Konto weiternutzen möchten, können Sie sie durch Verifizierung mit Ihrem privaten Schlüssel oder Mnemonik-Seed wiederherstellen.","login.loading":"Laden","login.use":"Nutzen Sie Ihren bestehenden Mnemonik-Seed oder privaten Schlüssel, um die MultiKey-Wallet wiederherzustellen. Wir helfen Ihnen, die historischen On-Chain-Daten abzurufen, die in den entsprechenden Funktionen angezeigt werden, so dass Sie diese Daten nicht verlieren.","login.word":"Über Mnemonik-Phrase importieren","login.restore":"Import über Mnemonik-Phrase kann alle Konten unter dieser Phrase wiederherstellen","login.private":"Über privaten Schlüssel importieren","login.text":"Nutzen Sie Ihren privaten Schlüssel, um das benötigte Multi-Sig-Konto zu importieren","login.cancel":"Abbrechen","login.confirm":"Bestätigen","login.start":"Import starten","login.privateEmpty":"Privater Schlüssel darf nicht leer sein","login.privateError":"Privater Schlüssel ist falsch","login.mnemonicEmpty":"Mnemonik-Phrase darf nicht leer sein","login.mnemonicError":"Mnemonik-Phrase ist falsch","login.no":"Noch keine Daten vorhanden","login.delete":"Konto löschen","login.deleteAccount":"Sind Sie sicher, dass Sie das Konto {{name}} löschen möchten?","login.cody":"Erfolgreich kopiert","login.incorrect":"Lokales Sicherheitspasswort ist falsch","login.select":"Bitte Multisig-Wallet-Namen wählen","login.pwEmpty":"Lokales Sicherheitspasswort darf nicht leer sein","login.accountName":"Kontoname","login.continue":"Multi-Signatur-Wallet verwenden","login.account":"Neues Konto erstellen","login.checkKnow":"Bitte akzeptieren Sie die Datenschutzrichtlinie","login.loacl":"Konto","login.now":"Aktuell verwendetes Konto","login.previous":"Vorheriger Schritt","home.newBuilt":"Neu erstellen","home.multi":"Multi-Sig-Wallet","home.receive":"Empfangen","home.transfer":"Überweisen","home.assets":"Vermögenswerte","home.setting":"MultiKey-Wallet einrichten","home.des":"Verwaltungskonto und Berechtigungen für die MultiKey-Wallet festlegen, die nach der On-Chain-Bereitstellung nicht mehr geändert werden können.","home.team":"Teamnamen","home.name":"Sie müssen Ihrer Wallet einen Namen geben, damit Sie oder Teammitglieder sie beim Signieren schnell erkennen.","home.inputName":"Bitte Teamnamen eingeben","home.nameLength":"Teamname darf 20 Zeichen nicht überschreiten","home.sign":"Signaturadresse {{num}}","home.inputSign":"Bitte Signaturadresse eingeben","home.addreeType":"Bitte eine Adresse im Format 0000-0000-0000-0000-0000 eingeben","home.save":"Adresse existiert bereits","home.new":"Neue Signaturadresse","home.num":"Transaktions-Signatur-Schwellwert festlegen","home.inputNum":"Bitte Transaktions-Signatur-Schwellwert eingeben","home.min":"Mindestens 2 Signaturen erforderlich","home.delete":"Löschen","home.block":"Block-ID","home.hash":"Transaktions-Hash","home.address":"Adresse","home.date":"Datum","home.type":"Typ","home.contract":"Vertrag","home.amount":"Betrag","home.check":"Passworterstellung","home.balance":"Guthaben","home.send":"Senden","home.recipient":"Bitte Empfängeradresse eingeben","home.count":"Betrag","home.dir":"Bitte Überweisungsbetrag eingeben","home.maxZero":"Der eingegebene Betrag muss größer als Null sein","home.maxAmount":"Der Überweisungsbetrag sollte kleiner als das Maximum von {{num}} {{tokenSymbol}} sein.","home.gas":"Gebühr","home.comment":"Memo","home.commentInput":"Bitte Memo eingeben","home.expedit":"Expresszuschlag (optional)","home.expeditInput":"Bitte Expresszuschlag eingeben","home.expedited":"Expresszuschlag","home.examine":"Anzeigen","home.initiate":"Überweisung auslösen","home.achieve":"Erhalten von {{to}}","home.wait":"Warte auf Unterschrift","home.finish":"Unterschrift abgeschlossen und ausgeführt","home.noMessage":"Keine neuen Nachrichten","home.second":"Vor Sekunden","home.messageDetails":"Nachrichtendetails","home.notice":"Unterschriftsbenachrichtigung","home.current":"Aktuelle Unterschriftenanzahl","home.tactics":"Unterschriftsschwelle","home.rejected":"Abgelehnt","home.approved":"Genehmigt","home.explore":"In der Blockchain-Explorer überprüfen","home.time":"Zeit","home.content":"Inhalt","home.signnum":"Unterschriftenanzahl","home.collection":"Bitte Empfangsbetrag eingeben","home.saveqr":"QR-Code speichern","home.cody":"Empfangslink kopieren","home.give":"Teilen mit...","home.create":"Neu erstellen","home.signtip":"Mindestens 2 Signaturadresse setzen, darf die Gesamtzahl der Signaturen nicht überschreiten","home.details":"Token-Details","home.limit":"Eingabe darf {{num}} Signaturadressen nicht überschreiten","home.over":"Es dürfen nicht mehr als {{num}} Adressen sein","home.add":"Token hinzufügen","home.continue":"Weitermachen","home.build":"erstellen","home.sure":"Multi-Signatur-Wallet-Adresse bestätigen","home.mistake":"Bitte bestätigen Sie die Informationen zu Ihrem Multi-Signatur-Wallet, um Fehler zu vermeiden","home.mulAddress":"Multisig-Adresse","home.signAll":"{{num}} von {{length}} Transaktionssignaturen","home.noGas":"Nicht genügend Gas","home.maxExpedited":"Die Anzahl der Beschleunigungsgebühren sollte kleiner sein als die maximale Menge {{num}} {{tokenSymbol}}","home.inputAccount":"Bitte geben Sie einen Kontonamen ein","home.iName":"Bitte geben Sie einen iName ein","home.nickname":"iName entspricht nicht den Regeln","home.gasmin":"Für die Erstellung einer Multi-Signatur-Wallet müssen On-Chain-Gasgebühren bezahlt werden. Bitte stellen Sie sicher, dass der IBXC-Kontostand des aktuellen Kontos nicht weniger als 0,1 IBXC beträgt","home.know":"Verstanden","manage.import":"Exportieren","manage.add":"Neues Konto hinzufügen","manage.create":"Bitte erstellen Sie zuerst ein neues Konto, bevor Sie ein weiteres hinzufügen","manage.close":"Konto ausblenden","manage.use":"Weiter verwenden","manage.clean":"Konto löschen","manage.all":"Lokales Löschen des privaten Schlüssels und der Wiederherstellungsphrase des Kontos, zur Wiederherstellung der Daten erneut importieren","manage.longPassword":"Neues Passwort darf 50 Zeichen nicht überschreiten","manage.safety":"Sicherheit","manage.setting":"Wallet-Passworteinstellungen","manage.old":"Altes Passwort","manage.oldPassword":"Bitte altes Passwort eingeben","manage.oldError":"Eingegebenes Passwort stimmt nicht mit altem Passwort überein","manage.check":"Passwortsicherheitsüberprüfung","manage.newPassword":"Neues Passwort setzen","manage.again":"Bestätigung des neuen Passworts","manage.new":"Neues Passwort","manage.inputPassword":"Bitte neues Passwort eingeben","manage.againPassword":"Bitte Passwort erneut eingeben","manage.againNot":"Erneut eingegebenes Passwort stimmt nicht mit neuem Passwort überein","manage.success":"Passwort erfolgreich geändert","manage.phrase":"Seedphrase","manage.custody":"Bitte bewahren Sie Ihre Seedphrase sicher auf und teilen Sie sie NIEMALS mit anderen.","manage.show":"Seedphrase anzeigen","manage.hide":"Seedphrase ausblenden","manage.private":"Privater Schlüssel","manage.custodyKey":"Bitte bewahren Sie Ihren privaten Schlüssel sicher auf und teilen Sie ihn NIEMALS mit anderen.","manage.showPrivate":"Privaten Schlüssel anzeigen","manage.hidePrivate":"Privaten Schlüssel ausblenden","manage.language":"Sprache","manage.select":"Wählen Sie Ihre Sprache","manage.user":"Häufig gestellte Fragen & Benutzerhandbuch","manage.help":"Hilfe-Center","manage.about":"Über uns","manage.open":"Open-Source-Community","manage.current":"Leistungsbilanz","user.dosuccess":"Erfolgreiche Operation","user.chain":"Transaktion in Bearbeitung ......","user.tips":"Tipps","user.urgentpay":"Dringende Gebühr (IBXC) = Bezahlte Vermögenswerte / (Nachverfolgungsverhältnis * Genauigkeit)","user.tokensave":"Token existiert bereits","type.package":"Verpackungsgebühr","type.taxation":"Steuer","type.trade":"Überweisung","type.tokenTrade":"Token-Übertragung","type.create":"Wallet erstellen","type.iname":"iName erstellen","type.issue":"Token ausgeben","type.coin":"Zerstörte Token-Menge","type.private":"Stiftung","type.foundation":"Eco-Partner","type.team":"F&E-Team","type.partner":"Privater Verkauf 1","type.nft":"NFT-Staking-Belohnung","type.mining":"Neues Staking","type.pledge":"Staked-Betrag abheben","type.exchange":"Einbehaltung von Rücknahmen","type.burning":"Verbrannt","type.detele":"Kontolöschung","type.paid":"Einzahlung durch Kandidatenknoten bezahlt","type.nodes":"Einzahlung im Namen des Kandidatenknotens bezahlt","type.voting":"Abstimmung für Kandidatenknoten","type.deposit":"Einzahlung des Kandidatenknotens abheben","type.withdrawal":"Stimme für Kandidatenknoten zurückziehen","type.textcoin":"Testmünzen erhalten","type.privateye":"Privater Verkauf 2","type.offering":"Öffentlicher Verkauf","type.num":"Restliche Mittel aus Privatplatzierung 1 erhalten","type.child":"Unterkontenabzug","type.issuance":"Zusätzliche Ausgabe","type.twonum":"Restliche Mittel aus Privatplatzierung 2 erhalten","type.remove":"Rückerstattung nach Entfernung von Unterkonten durch das Team","type.airsend":"Airdrop-Verteilungsmenge","type.aristack":"Beschleunigen Sie die Freischaltung der Staking-Menge","type.getair":"Airdrop erhalten","type.getstack":"Airdrop-Staking erhalten","type.locking":"Airdrop-Sperrbetrag","type.createiname":"iName erstellen","type.cross":"Cross-Chain-Prägung","type.crosslock":"Cross-Chain-Abhebesperre","type.destruction":"Cross-Chain-Vernichtung"},ei={"nav.assets":"Activos","nav.manage":"Gestión de billeteras","nav.colorSystem":"Sistema de color","nav.record":"Historial de transacciones","nav.load":"Cargando","nav.drop":"Desliza hacia abajo para cargar más","nav.nomore":"No hay más","nav.local":"Inicio de sesión local","nav.jutkey":"Inicio de sesión con cartera","nav.link":"Conexión a la billetera","nav.backup":"Frase mnemotécnica aún no respaldada, por favor respalda pronto para la seguridad de tus fondos","nav.exit":"Cerrar sesión","nav.wallet":"Billetera Jutkey - Billetera HD de alta seguridad","nav.des":"Ir a cargar la billetera Jutkey","nav.chain":"Billetera descentralizada que admite múltiples cadenas","login.sign":"Iniciar sesión","login.name":"Nombre de la billetera multifirma","login.address":"Dirección de cuenta","login.password":"Contraseña local","login.know":"He leído y acepto la Política de Privacidad.","login.create":"Crear","login.load":"Cargar billetera","login.import":"Importar billetera","login.back":"Atrás","login.empty":"El nombre de la billetera de múltiples firmas no puede estar vacío","login.maxName":"El nombre de la billetera de múltiples firmas no puede superar los 16 caracteres","login.maxpw":"La contraseña local no puede exceder 50 caracteres","login.setting":"Crear y configurar billetera multi-firma","login.safety":"Multi-seguridad, usa billetera MultiKey para lograr gestión descentralizada de cuentas","login.wallet":"Crear nueva cartera","login.base":"Crea una billetera descentralizada que permita la gestión de firmas de múltiples cuentas según tus necesidades. Necesitas pagar una pequeña comisión de Gas por esta cuenta.","login.new":"Nuevo","login.had":"Cargar cartera","login.multi":"Si ya tienes una billetera MultiKey y quieres continuar usándola en una nueva cuenta, puedes seguir usándola verificándola con tu clave privada o frase mnemónica.","login.loading":"Cargar","login.use":"Usa tu frase mnemónica o clave privada existente para restaurar la billetera multi-clave. Te ayudaremos a obtener los datos históricos en cadena, y se mostrarán en los ítems de funciones correspondientes, así no perderás esta información.","login.word":"Importar mediante frase mnemónica","login.restore":"Importar mediante frase mnemónica puede restaurar todas las cuentas bajo esta frase","login.private":"Importar mediante clave privada","login.text":"Usa tu clave privada para importar la cuenta multi-firma que necesitas","login.cancel":"Cancelar","login.confirm":"Confirmar","login.start":"Iniciar importación","login.privateEmpty":"La clave privada no puede estar vacía","login.privateError":"La clave privada es incorrecta","login.mnemonicEmpty":"La frase mnemónica no puede estar vacía","login.mnemonicError":"La frase mnemónica es incorrecta","login.no":"No hay datos aún","login.delete":"Eliminar cuenta","login.deleteAccount":"¿Estás seguro de que quieres eliminar la cuenta {{name}}?","login.cody":"Copiado exitosamente","login.incorrect":"La contraseña de seguridad local es incorrecta","login.select":"Seleccione el nombre de la billetera multifirma","login.pwEmpty":"La contraseña de seguridad local no puede estar vacía","login.accountName":"Nombre de la cuenta","login.continue":"Usar billetera multifirma","login.account":"Crear nueva cuenta","login.checkKnow":"Por favor, marque que comprende y acepta la política de privacidad","login.loacl":"Cuenta","login.now":"Cuenta en uso actualmente","login.previous":"Paso anterior","home.create":"Crear nuevo","home.details":"Detalles del token","home.limit":"La entrada no puede exceder {{num}} direcciones de firma","home.signtip":"Establezca al menos 2 direcciones de firma, no puede exceder el número total de firmas","home.newBuilt":"Crear nuevo","home.multi":"Billetera multi-firma","home.receive":"Recibir","home.transfer":"Transferir","home.assets":"Activos","home.setting":"Configurar billetera MultiKey","home.des":"Configurar cuenta de gestión y permisos para la billetera MultiKey, que no se pueden modificar después del despliegue en cadena.","home.team":"Nombre de equipo","home.name":"Necesitas nombrar tu billetera para un rápido reconocimiento por ti o los miembros de tu equipo durante la firma.","home.inputName":"Por favor, ingresa el nombre del equipo","home.nameLength":"El nombre del equipo no puede exceder 20 caracteres","home.sign":"Dirección de firma {{num}}","home.inputSign":"Por favor, ingresa la dirección de firma","home.addreeType":"Por favor, ingresa una dirección en el formato 0000-0000-0000-0000-0000","home.save":"Dirección ya existente","home.new":"Nueva dirección de firma","home.num":"Establecer umbral de firma de transacción","home.inputNum":"Por favor, ingresa el umbral de firma de transacción","home.min":"Se requieren mínimo 2 firmas","home.delete":"Eliminar","home.block":"ID de bloque","home.hash":"Hash de transacción","home.address":"Dirección","home.date":"Fecha","home.type":"Tipo","home.contract":"Contrato","home.amount":"Cantidad","home.check":"Verificación de contraseña","home.balance":"Saldo","home.send":"Enviar","home.recipient":"Por favor, ingresa la dirección del destinatario","home.count":"Cantidad","home.dir":"Por favor, ingresa la cantidad a enviar","home.maxZero":"La cantidad ingresada debe ser mayor que cero","home.maxAmount":"La cantidad a enviar debe ser menor que el máximo de {{num}} {{tokenSymbol}}.","home.gas":"Comisión de Gas","home.comment":"Memo","home.commentInput":"Por favor, ingresa un memo","home.expedit":"Comisión acelerada (opcional)","home.expeditInput":"Por favor, ingresa la comisión acelerada","home.expedited":"Comisión acelerada","home.examine":"Ver","home.initiate":"Iniciar una transferencia","home.achieve":"Recibido de {{to}}","home.wait":"Esperando firma","home.finish":"Firma completada y ejecutada","home.noMessage":"No hay mensajes nuevos","home.second":"Hace segundos","home.messageDetails":"Detalles del mensaje","home.notice":"Notificación de firma","home.current":"Número de firma actual","home.tactics":"Umbral de firma","home.rejected":"Rechazado","home.approved":"Aprobado","home.explore":"Verificar en el explorador de blockchain","home.time":"Hora","home.content":"Contenido","home.signnum":"Número de firma","home.collection":"Por favor, ingresa la cantidad a recibir","home.saveqr":"Guardar código QR","home.cody":"Copiar link de recepción","home.give":"Compartir a...","home.over":"No puede exceder {{num}} direcciones","home.add":"Agregar token","home.continue":"Continuar","home.build":"Crear","home.sure":"Confirmar dirección de billetera de firmas múltiples","home.mistake":"Por favor, confirme la información de su billetera de firmas múltiples para evitar errores","home.mulAddress":"Dirección de firmas múltiples","home.signAll":"{{num}} de {{length}} firmas de transacción","home.noGas":"No hay suficiente tarifa de GAS","home.maxExpedited":"La cantidad de cargo por urgencia debe ser menor que la cantidad máxima {{num}} {{tokenSymbol}}","home.inputAccount":"Por favor ingrese el nombre de la cuenta","home.iName":"Por favor ingrese iName","home.nickname":"iName no cumple con las reglas","home.gasmin":"La creación de una cartera multifirma requiere el pago de tarifas de gas en la cadena, asegúrate de que el saldo de IBXC en la cuenta actual no sea inferior a 0.1 IBXC","home.know":"Entendido","manage.import":"Exportar","manage.safety":"Seguridad","manage.setting":"Configuración de contraseña de billetera","manage.old":"Contraseña antigua","manage.oldPassword":"Por favor, ingresa la contraseña antigua","manage.oldError":"La contraseña ingresada no coincide con la antigua","manage.check":"Verificación de seguridad de contraseña","manage.newPassword":"Establecer nueva contraseña","manage.again":"Verificación de nueva contraseña","manage.new":"Nueva contraseña","manage.inputPassword":"Por favor, ingresa la nueva contraseña","manage.againPassword":"Por favor, reingresa la contraseña","manage.againNot":"La contraseña reingresada no coincide con la nueva","manage.success":"Contraseña cambiada exitosamente","manage.phrase":"Frase mnemónica","manage.custody":"Por favor, MANTÉN tu frase mnemónica segura y NUNCA la compartas con nadie.","manage.show":"Mostrar frase mnemónica","manage.hide":"Ocultar frase mnemónica","manage.private":"Clave privada","manage.custodyKey":"Por favor, MANTÉN tu clave privada segura y NUNCA la compartas con nadie.","manage.showPrivate":"Mostrar clave privada","manage.hidePrivate":"Ocultar clave privada","manage.language":"Idioma","manage.select":"Selecciona tu idioma","manage.user":"Preguntas frecuentes y manual de usuario","manage.help":"Centro de ayuda","manage.about":"Sobre nosotros","manage.open":"Comunidad de código abierto","manage.longPassword":"La nueva contraseña no puede exceder los 50 caracteres","manage.add":"Agregar nueva cuenta","manage.create":"Por favor, complete la creación de la nueva cuenta antes de agregar","manage.close":"Ocultar cuenta","manage.use":"Continuar usando","manage.clean":"Borrar cuenta","manage.all":"Borrar localmente la clave privada y la frase semilla de la cuenta, si necesita recuperar los datos puede importarlos de nuevo","manage.current":"Cuenta actual","user.dosuccess":"Operación exitosa","user.chain":"Transacción en proceso ......","user.tips":"Consejos","user.urgentpay":"Tarifa urgente (IBXC) = Activos pagados / (ratio de seguimiento * precisión)","user.tokensave":"El token ya existe","type.package":"Tarifa de empaquetado","type.taxation":"Impuesto","type.trade":"Transferencia","type.tokenTrade":"Transferencia de tokens","type.create":"Crear billetera","type.iname":"Crear iName","type.issue":"Emitir token","type.coin":"Cantidad de tokens destruidos","type.private":"Fundación","type.foundation":"Socios ecológicos","type.team":"Equipo de I+D","type.partner":"Ventas privadas 1","type.nft":"Recompensa de apuesta NFT","type.mining":"Nueva apuesta","type.pledge":"Retirar cantidad apostada","type.exchange":"Redención de retención","type.burning":"Quemado","type.detele":"Eliminación de cuenta","type.paid":"Depósito pagado por nodo candidato","type.nodes":"Depósito pagado en nombre del nodo candidato","type.voting":"Votación de nodo candidato","type.deposit":"Retirar depósito de nodo candidato","type.withdrawal":"Retirar voto para nodo candidato","type.textcoin":"Obtener monedas de prueba","type.privateye":"Ventas privadas 2","type.offering":"Ventas públicas","type.num":"Recibir fondos restantes de Colocación Privada 1","type.child":"Deducción de subcuenta","type.issuance":"Emisión adicional","type.twonum":"Recibir fondos restantes de Colocación Privada 2","type.remove":"Reembolsos después de que el equipo elimine las subcuentas","type.airsend":"Cantidad de distribución de airdrop","type.aristack":"Cantidad de aceleración de desbloqueo de stake","type.getair":"Recibir airdrop","type.getstack":"Recibir stake de airdrop","type.locking":"Cantidad de bloqueo de airdrop","type.createiname":"Crear iName","type.cross":"Acuñación entre cadenas","type.crosslock":"Bloqueo de extracción entre cadenas","type.destruction":"Quema entre cadenas"},ai={"nav.assets":"Actifs","nav.manage":"Gestion de portefeuille","nav.colorSystem":"Système de couleurs","nav.record":"Historique des transactions","nav.load":"Chargement en cours","nav.drop":"Faites défiler vers le bas pour charger plus","nav.nomore":"Plus de résultats","nav.local":"Connexion locale","nav.jutkey":"Connexion par portefeuille","nav.link":"Connecter le portefeuille","nav.backup":"Phrase mnémonique non sauvegardée, veuillez la sauvegarder rapidement pour la sécurité de vos fonds","nav.exit":"Se déconnecter","nav.wallet":"Portefeuille Jutkey - Portefeuille HD à haute sécurité","nav.des":"Allez charger le portefeuille Jutkey","nav.chain":"Portefeuille décentralisé prenant en charge plusieurs chaînes","login.sign":"Connexion","login.name":"Nom du portefeuille multi-signatures","login.address":"Adresse du compte","login.password":"Mot de passe local","login.know":"J'ai lu et j'accepte la politique de confidentialité.","login.create":"Créer","login.load":"Charger le portefeuille","login.import":"Importer le portefeuille","login.back":"Retour","login.empty":"Le nom du portefeuille multi-signatures ne peut pas être vide","login.maxName":"Le nom du portefeuille multi-signatures ne peut pas dépasser 16 caractères","login.maxpw":"Le mot de passe local ne peut pas dépasser 50 caractères","login.setting":"Créer et configurer le portefeuille Multi-Sig","login.safety":"Sécurité multi-signatures, utilisez le portefeuille MultiKey pour une gestion décentralisée des comptes","login.wallet":"Créer un Nouveau Portefeuille","login.base":"Créez un portefeuille décentralisé prenant en charge la gestion des signatures multi-comptes en fonction de vos besoins. Vous devez payer une petite quantité de frais de Gas pour ce compte.","login.new":"Créer","login.had":"Charger un Portefeuille","login.multi":"Si vous possédez déjà un portefeuille MultiKey et que vous souhaitez continuer à l'utiliser dans un nouveau compte, vous pouvez le faire en le vérifiant à l'aide de votre clé privée ou de votre phrase de récupération.","login.loading":"Charger","login.use":"Utilisez votre phrase de récupération ou votre clé privée existante pour restaurer le portefeuille multi-signatures. Nous vous aiderons à récupérer les données historiques sur la chaîne, et elles seront affichées dans les éléments de fonction correspondants, afin que vous ne perdiez pas ces informations.","login.word":"Importer via la phrase de récupération","login.restore":"L'importation via une phrase de récupération permet de restaurer tous les comptes associés à cette phrase","login.private":"Importer via une clé privée","login.text":"Utilisez votre clé privée pour importer le compte multi-signatures dont vous avez besoin","login.cancel":"Annuler","login.confirm":"Confirmer","login.start":"Démarrer l'importation","login.privateEmpty":"La clé privée ne peut pas être vide","login.privateError":"Clé privée incorrecte","login.mnemonicEmpty":"La phrase de récupération ne peut pas être vide","login.mnemonicError":"Phrase de récupération incorrecte","login.no":"Aucune donnée pour le moment","login.delete":"Supprimer le compte","login.deleteAccount":"Êtes-vous sûr de vouloir supprimer le compte {{name}} ?","login.cody":"Copié avec succès","login.incorrect":"Le mot de passe de sécurité local est incorrect","login.select":"Veuillez choisir le nom du portefeuille multi-signatures","login.pwEmpty":"Le mot de passe de sécurité local ne peut pas être vide","login.accountName":"Nom du compte","login.continue":"Utiliser un portefeuille multi-signature","login.account":"Créer un nouveau compte","login.checkKnow":"Veuillez cocher pour comprendre et accepter la politique de confidentialité","login.loacl":"Compte","login.now":"Compte actuellement utilisé","login.previous":"Étape précédente","home.newBuilt":"Nouveau","home.multi":"Portefeuille Multi-Sig","home.receive":"Recevoir","home.transfer":"Transférer","home.assets":"Actifs","home.setting":"Configurer le portefeuille MultiKey","home.des":"Définissez le compte de gestion et les autorisations pour le portefeuille MultiKey, qui ne peuvent être modifiés après le déploiement sur la chaîne.","home.team":"Nom de l'équipe","home.name":"Vous devez nommer votre portefeuille pour une reconnaissance rapide par vous-même ou par les membres de l'équipe lors de la signature.","home.inputName":"Veuillez saisir le nom de l'équipe","home.nameLength":"Le nom de l'équipe ne peut pas dépasser 20 caractères","home.sign":"Adresse de signature {{num}}","home.inputSign":"Veuillez saisir l'adresse de signature","home.addreeType":"Veuillez saisir une adresse au format 0000-0000-0000-0000-0000","home.save":"Adresse déjà existante","home.new":"Nouvelle adresse de signature","home.num":"Définir le seuil de signature des transactions","home.inputNum":"Veuillez saisir le seuil de signature des transactions","home.min":"Minimum de 2 signatures requises","home.delete":"Supprimer","home.block":"Identifiant du bloc","home.hash":"Hash de la transaction","home.address":"Adresse","home.date":"Date","home.type":"Type","home.contract":"Contrat","home.amount":"Montant","home.check":"Vérification du mot de passe","home.balance":"Solde","home.send":"Envoyer à","home.recipient":"Veuillez saisir l'adresse du destinataire","home.count":"Montant","home.dir":"Veuillez saisir le montant à envoyer","home.maxZero":"Le montant saisi doit être supérieur à zéro","home.maxAmount":"Le montant envoyé doit être inférieur au maximum de {{num}} {{tokenSymbol}}.","home.gas":"Frais de Gas","home.comment":"Mémo","home.commentInput":"Veuillez saisir un mémo","home.expedit":"Frais accélérés (facultatif)","home.expeditInput":"Veuillez saisir les frais accélérés","home.expedited":"Frais accélérés","home.examine":"Voir","home.initiate":"Initier un transfert","home.achieve":"Reçu de {{to}}","home.wait":"En attente de signature","home.finish":"Signature terminée et exécutée","home.noMessage":"Aucun nouveau message","home.second":"Il y a {{time}} secondes","home.messageDetails":"Détails du message","home.notice":"Notification de signature","home.current":"Nombre actuel de signatures","home.tactics":"Seuil de signature","home.rejected":"Rejeté","home.approved":"Approuvé","home.explore":"Vérifier sur l'explorateur de blockchain","home.time":"Heure","home.content":"Contenu","home.signnum":"Nombre de signatures","home.collection":"Veuillez saisir le montant à recevoir","home.saveqr":"Enregistrer le code QR","home.cody":"Copier le lien de réception","home.give":"Partager vers...","home.create":"Nouveau","home.signtip":"Configurez au moins 2 adresses de signature, sans dépasser le nombre total de signatures","home.details":"Détails du jeton","home.limit":"L'entrée ne peut pas dépasser {{num}} adresses de signature","home.over":"Ne peut pas dépasser {{num}} adresses","home.add":"Ajouter un jeton","home.continue":"Continuer","home.build":"Créer","home.sure":"Confirmer l'adresse du portefeuille multi-signatures","home.mistake":"Veuillez confirmer les informations de votre portefeuille multi-signatures pour éviter toute erreur","home.mulAddress":"Adresse multi-signatures","home.signAll":"{{num}} sur {{length}} signatures de transaction requises","home.noGas":"Pas assez de frais GAS","home.maxExpedited":"Le montant des frais supplémentaires doit être inférieur au montant maximum {{num}} {{tokenSymbol}}","home.inputAccount":"Veuillez saisir le nom du compte","home.iName":"Veuillez saisir le iName","home.nickname":"Le iName ne correspond pas aux règles","home.gasmin":"La création d'un portefeuille multi-signatures nécessite le paiement de frais de gas sur la chaîne, veuillez vous assurer que le solde IBXC du compte actuel n'est pas inférieur à 0,1 IBXC","home.know":"Compris","manage.import":"Exporter","manage.safety":"Sécurité","manage.setting":"Paramètres du mot de passe du portefeuille","manage.old":"Ancien mot de passe","manage.oldPassword":"Veuillez saisir l'ancien mot de passe","manage.oldError":"Le mot de passe saisi ne correspond pas à l'ancien mot de passe","manage.check":"Vérification de la sécurité du mot de passe","manage.newPassword":"Définir un nouveau mot de passe","manage.again":"Vérification du nouveau mot de passe","manage.new":"Nouveau mot de passe","manage.inputPassword":"Veuillez saisir le nouveau mot de passe","manage.againPassword":"Veuillez ressaisir le mot de passe.","manage.againNot":"Le mot de passe saisi ne correspond pas au nouveau mot de passe","manage.success":"Mot de passe modifié avec succès","manage.phrase":"Phrase de récupération","manage.custody":"CONSERVEZ SOIGNEUSEMENT votre phrase de récupération et ne la partagez JAMAIS avec qui que ce soit.","manage.show":"Afficher la phrase de récupération","manage.hide":"Masquer la phrase de récupération","manage.private":"Clé privée","manage.custodyKey":"CONSERVEZ SOIGNEUSEMENT votre clé privée et ne la partagez JAMAIS avec qui que ce soit.","manage.showPrivate":"Afficher la clé privée","manage.hidePrivate":"Masquer la clé privée","manage.language":"Langue","manage.select":"Sélectionnez votre langue","manage.user":"FAQ et manuel d'utilisation","manage.help":"Centre d'aide","manage.about":"À propos de nous","manage.open":"Communauté Open Source","manage.add":"Ajouter un nouveau compte","manage.create":"Veuillez terminer la création du nouveau compte avant d'ajouter","manage.close":"Masquer le compte","manage.use":"Continuer à utiliser","manage.longPassword":"Le nouveau mot de passe ne peut pas dépasser 50 caractères","manage.clean":"Effacer le compte","manage.all":"Effacer localement la clé privée et la phrase mnémotechnique du compte, vous pouvez les réimporter pour restaurer les données","manage.current":"Compte actuel","user.dosuccess":"Opération réussie","user.chain":"Transaction en cours de traitement ......","user.tips":"Conseils","user.urgentpay":"Frais urgents (IBXC) = Actifs payés / (ratio de suivi * précision)","user.tokensave":"Le jeton existe déjà","type.package":"Frais d'emballage","type.taxation":"Taxe","type.trade":"Transfert","type.tokenTrade":"Transfert de jeton","type.create":"Créer un portefeuille","type.iname":"Créer un iName","type.issue":"Émettre un jeton","type.coin":"Montant de jeton détruit","type.private":"Fondation","type.foundation":"Eco-Partenaires","type.team":"Équipe R&D","type.partner":"Ventes privées 1","type.nft":"Récompense de mise en jeu NFT","type.mining":"Nouvelle mise en jeu","type.pledge":"Retrait du montant mis en jeu","type.exchange":"Retenue de rachat","type.burning":"Brûlé","type.detele":"Suppression de compte","type.paid":"Dépôt payé par le nœud candidat","type.nodes":"Dépôt payé au nom du nœud candidat","type.voting":"Vote pour le nœud candidat","type.deposit":"Retrait du dépôt du nœud candidat","type.withdrawal":"Retrait du vote pour le nœud candidat","type.textcoin":"Obtenir des jetons de test","type.privateye":"Ventes privées 2","type.offering":"Ventes publiques","type.num":"Recevoir les fonds restants de la placement privé 1","type.child":"Déduction du sous-compte","type.issuance":"Émission supplémentaire","type.twonum":"Recevoir les fonds restants de la placement privé 2","type.remove":"Remboursement après la suppression des sous-comptes par l'équipe","type.airsend":"Montant de distribution de largage aérien","type.aristack":"Accélérer le déverrouillage du montant mis en jeu","type.getair":"Recevoir une distribution aérienne","type.getstack":"Recevoir une distribution aérienne en mise en jeu","type.locking":"Montant de verrouillage de la distribution aérienne","type.createiname":"Créer un iName","type.cross":"Frappe inter-chaînes","type.crosslock":"Verrouillage de retrait inter-chaînes","type.destruction":"Brûlage inter-chaînes"},ni={"nav.assets":"Asset","nav.manage":"Gestione portafoglio","nav.colorSystem":"Sistema di colori","nav.record":"Cronologia delle transazioni","nav.load":"Caricamento","nav.drop":"Tira giù per caricare altro","nav.nomore":"Niente altro","nav.local":"Accesso locale","nav.jutkey":"Accesso al portafoglio","nav.link":"Collega portafoglio","nav.backup":"Non hai ancora eseguito il backup della frase di recupero, per la sicurezza dei tuoi fondi, ti preghiamo di eseguire il backup il prima possibile","nav.exit":"Esci","nav.wallet":"Portafoglio Jutkey - Portafoglio HD ad alta sicurezza","nav.des":"Vai a caricare il portafoglio Jutkey","nav.chain":"Portafoglio decentralizzato con supporto multi-chain","login.sign":"Accedi","login.name":"Nome del portafoglio multi-firma","login.address":"Indirizzo account","login.password":"Password locale","login.know":"Ho letto e accettato l'informativa sulla privacy.","login.create":"Crea","login.load":"Carica portafoglio","login.import":"Importa portafoglio","login.back":"Indietro","login.empty":"Il nome del portafoglio multi-firma non può essere vuoto","login.maxName":"Il nome del portafoglio multi-firma non può superare i 16 caratteri","login.maxpw":"La password locale non può superare 50 caratteri","login.setting":"Crea e configura portafoglio multi-firma","login.safety":"Multi-sicurezza, usa portafoglio multi-chiave per gestione account decentralizzata","login.wallet":"Crea nuovo portafoglio","login.base":"Crea un portafoglio decentralizzato che supporta la gestione delle firme multi-account in base alle tue esigenze. Devi pagare una piccola commissione Gas per questo account.","login.new":"Nuovo","login.had":"Carica portafoglio","login.multi":"Se hai già un portafoglio multi-chiave e vuoi continuare a usarlo in un nuovo account, puoi continuare a usarlo verificandolo con la tua chiave privata o frase mnemoica.","login.loading":"Carica","login.use":"Usa la tua frase mnemoica o chiave privata esistente per ripristinare il portafoglio multi-chiave. Ti aiuteremo a ottenere i dati storici on-chain, e verranno visualizzati nelle voci di funzione corrispondenti, quindi non perderai queste informazioni.","login.word":"Importa tramite frase mnemoica","login.restore":"Importando tramite frase mnemoica puoi ripristinare tutti gli account sotto questa frase","login.private":"Importa tramite chiave privata","login.text":"Usa la tua chiave privata per importare l'account multi-firma di cui hai bisogno","login.cancel":"Annulla","login.confirm":"Conferma","login.start":"Inizia importazione","login.privateEmpty":"La chiave privata non può essere vuota","login.privateError":"Chiave privata non corretta","login.mnemonicEmpty":"La frase seed non può essere vuota","login.mnemonicError":"Frase seed non corretta","login.no":"Ancora nessun dato","login.delete":"Elimina account","login.deleteAccount":"Sei sicuro di voler eliminare l'account {{name}}?","login.cody":"Copiato con successo","login.incorrect":"Password di sicurezza locale non corretta","login.select":"Si prega di selezionare il nome del portafoglio multi-firma","login.pwEmpty":"La password di sicurezza locale non può essere vuota","login.accountName":"Nome dell'account","login.continue":"Usa portafoglio multi-firma","login.account":"Crea nuovo account","login.checkKnow":"Si prega di spuntare per comprendere e accettare l'informativa sulla privacy","login.loacl":"Account","login.now":"Account attualmente in uso","login.previous":"Étape précédente","home.newBuilt":"Nuovo","home.multi":"Portafoglio multi-firma","home.receive":"Ricevi","home.transfer":"Trasferisci","home.assets":"Asset","home.setting":"Imposta portafoglio multi-chiave","home.des":"Configura account di gestione e permessi per il portafoglio multi-chiave, che non possono essere modificati dopo la distribuzione on-chain.","home.team":"Nome team","home.name":"Devi dare un nome al tuo portafoglio per un riconoscimento rapido da te o dai membri del team durante la firma.","home.inputName":"Inserisci il nome del team","home.nameLength":"Il nome del team non può superare 20 caratteri","home.sign":"Indirizzo firma {{num}}","home.inputSign":"Inserisci l'indirizzo firma","home.addreeType":"Inserisci un indirizzo nel formato 0000-0000-0000-0000-0000","home.save":"Indirizzo già esistente","home.new":"Nuovo indirizzo firma","home.num":"Imposta soglia firma transazione","home.inputNum":"Inserisci la soglia firma transazione","home.min":"Richieste minimo 2 firme","home.delete":"Elimina","home.block":"ID blocco","home.hash":"Hash transazione","home.address":"Indirizzo","home.date":"Data","home.type":"Tipo","home.contract":"Contratto","home.amount":"Importo","home.check":"Verifica password","home.balance":"Saldo","home.send":"Invia","home.recipient":"Inserisci l'indirizzo del destinatario","home.count":"Importo","home.dir":"Inserisci l'importo da inviare","home.maxZero":"L'importo inserito deve essere maggiore di zero","home.maxAmount":"L'importo da inviare deve essere inferiore al massimo {{num}} {{tokenSymbol}}.","home.gas":"Commissione gas","home.comment":"Memo","home.commentInput":"Inserisci memo","home.expedit":"Commissione rapida (opzionale)","home.expeditInput":"Inserisci commissione rapida","home.expedited":"Commissione rapida","home.examine":"Visualizza","home.initiate":"Avvia trasferimento","home.achieve":"Ricevuto da {{to}}","home.wait":"In attesa di firma","home.finish":"Firma completata ed eseguita","home.noMessage":"Nessun nuovo messaggio","home.second":"Secondi fa","home.messageDetails":"Dettagli messaggio","home.notice":"Notifica firma","home.current":"Numero firma corrente","home.tactics":"Soglia firma","home.rejected":"Rifiutato","home.approved":"Approvato","home.explore":"Controlla su blockchain explorer","home.time":"Ora","home.content":"Contenuto","home.signnum":"Numero firma","home.collection":"Inserisci l'importo da ricevere","home.saveqr":"Salva codice QR","home.cody":"Copia link di ricezione","home.give":"Condividi con...","home.create":"Nuovo","home.signtip":"Imposta almeno 2 indirizzi di firma, non può superare il numero totale di firme","home.details":"Dettagli del token","home.limit":"L'input non può superare {{num}} indirizzi di firma","home.over":"Non può superare {{num}} indirizzi","home.add":"Aggiungi gettone","home.continue":"Continua","home.build":"Creare","home.sure":"Conferma l'indirizzo del portafoglio multi-firma","home.mistake":"Si prega di confermare le informazioni del tuo portafoglio multi-firma per evitare errori","home.mulAddress":"Indirizzo multi-firma","home.signAll":"{{num}} a {{length}} firme per la transazione","home.noGas":"Non hai abbastanza GAS","home.maxExpedited":"L'importo della commissione prioritaria dovrebbe essere inferiore all'importo massimo di {{num}} {{tokenSymbol}}","home.inputAccount":"Inserisci il nome dell'account","home.iName":"Inserisci iName","home.nickname":"iName non è conforme alle regole","home.gasmin":"La creazione di un portafoglio multi-firma richiede il pagamento delle spese di gas on-chain, assicurati che il saldo IBXC nel tuo account attuale non sia inferiore a 0,1 IBXC","home.know":"Capito","manage.import":"Esportare","manage.safety":"Sicurezza","manage.setting":"Impostazioni password portafoglio","manage.old":"Vecchia password","manage.oldPassword":"Inserisci vecchia password","manage.oldError":"La password inserita non corrisponde alla vecchia","manage.check":"Verifica sicurezza password","manage.newPassword":"Imposta nuova password","manage.again":"Verifica nuova password","manage.new":"Nuova password","manage.inputPassword":"Inserisci nuova password","manage.againPassword":"Reinserisci la password","manage.againNot":"La password reinserita non corrisponde alla nuova","manage.success":"Password cambiata con successo","manage.phrase":"Frase seed","manage.custody":"CUSTODISCI la tua frase seed in modo sicuro e NON condividerla MAI con nessuno.","manage.show":"Mostra frase seed","manage.hide":"Nascondi frase seed","manage.private":"Chiave privata","manage.custodyKey":"CUSTODISCI la tua chiave privata in modo sicuro e NON condividerla MAI con nessuno.","manage.showPrivate":"Mostra chiave privata","manage.hidePrivate":"Nascondi chiave privata","manage.language":"Lingua","manage.select":"Seleziona la lingua","manage.user":"Domande frequenti e manuale utente","manage.help":"Centro assistenza","manage.about":"Informazioni su di noi","manage.open":"Comunità open source","manage.longPassword":"La nuova password non può superare i 50 caratteri","manage.add":"Aggiungi nuovo account","manage.create":"Si prega di completare la creazione del nuovo account prima di aggiungere","manage.close":"Nascondi account","manage.use":"Continua a usare","manage.current":"Conto corrente","manage.clean":"Cancella account","manage.all":"Cancella localmente le chiavi private e le frasi di recupero dell'account, se necessario i dati possono essere importati di nuovo","user.dosuccess":"Operazione riuscita","user.chain":"Transazione in corso ......","user.tips":"Suggerimenti","user.urgentpay":"Tariffa urgente (IBXC) = Asset pagati / (rapporto di follow-up * precisione)","user.tokensave":"Token esiste già","type.package":"Tariffa di imballaggio","type.taxation":"Imposta","type.trade":"Trasferimento","type.tokenTrade":"Trasferimento token","type.create":"Crea portafoglio","type.iname":"Crea iName","type.issue":"Emissione token","type.coin":"Importo token distrutto","type.private":"Fondazione","type.foundation":"Eco-Partners","type.team":"Team di R&S","type.partner":"Private Sales 1","type.nft":"Ricompensa NFT Staking","type.mining":"Nuovo staking","type.pledge":"Ritiro importo staked","type.exchange":"Rimborso ritenzione","type.burning":"Bruciato","type.detele":"Rimozione account","type.paid":"Deposito pagato dal nodo candidato","type.nodes":"Deposito pagato per conto del nodo candidato","type.voting":"Votazione nodo candidato","type.deposit":"Ritiro deposito del nodo candidato","type.withdrawal":"Ritiro voto per il nodo candidato","type.textcoin":"Ottenere monete di test","type.privateye":"Private Sales 2","type.offering":"Vendite pubbliche","type.num":"Ricevi i fondi rimanenti da Private Placement 1","type.child":"Deducente sub-account","type.issuance":"Emissione aggiuntiva","type.twonum":"Ricevi i fondi rimanenti da Private Placement 2","type.remove":"Rimborsi dopo la rimozione del sub-account da parte del team","type.airsend":"Importo distribuito airdrop","type.aristack":"Importo di sblocco accelerato stake","type.getair":"Ricevi airdrop","type.getstack":"Ricevi stake airdrop","type.locking":"Importo di lock-up airdrop","type.createiname":"Crea iName","type.cross":"Conio intercatena","type.crosslock":"Blocco prelievo intercatena","type.destruction":"Burn intercatena"},ti={"nav.assets":"Ativos","nav.manage":"Gestão de Carteiras","nav.colorSystem":"Sistema de Cores","nav.record":"Histórico de Transações","nav.load":"Carregando","nav.drop":"Puxe para baixo para carregar mais","nav.nomore":"Não há mais","nav.local":"Login local","nav.jutkey":"Login de carteira","nav.link":"Ligar à carteira","nav.backup":"Frase mnemônica ainda não foi salva, por favor, faça o backup o mais rápido possível para a segurança dos seus fundos","nav.exit":"Sair","nav.wallet":"Carteira Jutkey - Carteira HD de alta segurança","nav.des":"Ir para carregar a carteira Jutkey","nav.chain":"Carteira descentralizada com suporte a múltiplas cadeias","login.sign":"Iniciar Sessão","login.name":"Nome da carteira multissinatura","login.address":"Endereço da Conta","login.password":"Senha Local","login.know":"Li e concordo com a Política de Privacidade.","login.create":"Criar","login.load":"Carregar Carteira","login.import":"Importar Carteira","login.back":"Voltar","login.empty":"O nome da carteira de múltiplas assinaturas não pode estar vazio","login.maxName":"O nome da carteira de múltiplas assinaturas não pode ter mais de 16 caracteres","login.maxpw":"A senha local não pode exceder 50 caracteres","login.setting":"Criar e Configurar Carteira Multi-Assinatura","login.safety":"Multi-Segurança, Use a Carteira MultiKey para Obter Gerenciamento Descentralizado de Contas","login.wallet":"Criar nova carteira","login.base":"Crie uma carteira descentralizada que suporte o gerenciamento de assinaturas de múltiplas contas com base em suas necessidades. Você precisa pagar uma pequena taxa de Gas para esta conta.","login.new":"Novo","login.had":"Carregar carteira","login.multi":"Se você já possui uma carteira MultiKey e deseja continuar a usá-la em uma nova conta, você pode continuar usando-a verificando com sua chave privada ou frase mnemônica.","login.loading":"Carregar","login.use":"Use sua frase mnemônica ou chave privada existente para restaurar a carteira multi-chave. Nós o ajudaremos a obter os dados históricos On-Chain, e eles serão exibidos nos respectivos itens de funções, para que você não perca essas informações.","login.word":"Importar via Frase Mnemônica","login.restore":"A importação via frase mnemônica pode restaurar todas as contas sob essa frase","login.private":"Importar via Chave Privada","login.text":"Use sua chave privada para importar a conta multi-assinatura de que precisa","login.cancel":"Cancelar","login.confirm":"Confirmar","login.start":"Iniciar Importação","login.privateEmpty":"A chave privada não pode ficar vazia","login.privateError":"A chave privada está incorreta","login.mnemonicEmpty":"A frase semente não pode ficar vazia","login.mnemonicError":"A frase semente está incorreta","login.no":"Ainda não há dados","login.delete":"Excluir Conta","login.deleteAccount":"Tem certeza de que deseja excluir a conta {{name}}?","login.cody":"Copiado com sucesso","login.incorrect":"Senha de segurança local incorreta","login.select":"Por favor, escolha o nome da carteira multissinatura","login.pwEmpty":"A senha de segurança local não pode estar vazia","login.accountName":"Nome da conta","login.continue":"Usar carteira multi-assinatura","login.account":"Criar nova conta","login.checkKnow":"Por favor, marque para entender e aceitar a política de privacidade","login.loacl":"Conta","login.now":"Conta em uso no momento","login.previous":"Passo anterior","home.newBuilt":"Criar Novo","home.multi":"Carteira Multi-Assinatura","home.receive":"Receber","home.transfer":"Transferir","home.assets":"Ativos","home.setting":"Configurar Carteira MultiKey","home.des":"Configure a conta de gerenciamento e permissões para a carteira MultiKey, que não poderão ser modificadas após a implantação On-Chain.","home.team":"Nome da Equipe","home.name":"Você precisa nomear sua carteira para rápido reconhecimento por você ou membros da equipe durante a assinatura.","home.inputName":"Por favor, insira o nome da equipe","home.nameLength":"O nome da equipe não pode exceder 20 caracteres","home.sign":"Endereço de Assinatura {{num}}","home.inputSign":"Por favor, insira o endereço de assinatura","home.addreeType":"Por favor, insira um endereço no formato 0000-0000-0000-0000-0000","home.save":"Endereço já existe","home.new":"Novo Endereço de Assinatura","home.num":"Definir limite de assinaturas de transação","home.inputNum":"Por favor, insira o limite de assinaturas de transação","home.min":"Mínimo de 2 assinaturas requeridas","home.delete":"Excluir","home.block":"ID do Bloco","home.hash":"Hash da Transação","home.address":"Endereço","home.date":"Data","home.type":"Tipo","home.contract":"Contrato","home.amount":"Quantidade","home.check":"Verificação de Senha","home.balance":"Saldo","home.send":"Enviar","home.recipient":"Por favor, insira o endereço de destino","home.count":"Quantidade","home.dir":"Por favor, insira a quantidade a enviar","home.maxZero":"A quantidade inserida deve ser maior que zero","home.maxAmount":"A quantidade a enviar deve ser menor que o máximo de {{num}} {{tokenSymbol}}.","home.gas":"Taxa de Gas","home.comment":"Memorando","home.commentInput":"Por favor, insira um memorando","home.expedit":"Taxa Acelerada (Opcional)","home.expeditInput":"Por favor, insira a taxa acelerada","home.expedited":"Taxa Acelerada","home.examine":"Ver","home.initiate":"Iniciar uma Transferência","home.achieve":"Recebido de {{to}}","home.wait":"Aguardando Assinatura","home.finish":"Assinatura Concluída e Executada","home.noMessage":"Sem novas mensagens","home.second":"Segundos Atrás","home.messageDetails":"Detalhes da Mensagem","home.notice":"Notificação de Assinatura","home.current":"Número de Assinatura Atual","home.tactics":"Limite de Assinatura","home.rejected":"Rejeitado","home.approved":"Aprovado","home.explore":"Verificar no explorador de blockchain","home.time":"Hora","home.content":"Conteúdo","home.signnum":"Número de Assinatura","home.collection":"Por favor, insira a quantidade a receber","home.saveqr":"Salvar Código QR","home.cody":"Copiar Link de Recebimento","home.give":"Compartilhar para...","home.details":"Detalhes do token","home.create":"Criar Novo","home.signtip":"Configure pelo menos 2 endereços de assinatura, não pode exceder o número total de assinaturas","home.limit":"A entrada não pode exceder {{num}} endereços de assinatura","home.over":"Não pode exceder {{num}} endereços","home.add":"Adicionar token","home.continue":"Continuar","home.build":"Criar","home.sure":"Confirmar endereço de carteira multi-sig","home.mistake":"Por favor, confirme as informações da sua carteira multi-sig para evitar erros","home.mulAddress":"Endereço Multi-sig","home.signAll":"{{num}} de {{length}} assinaturas de transação necessárias","home.noGas":"Não há GAS suficiente","home.maxExpedited":"A quantidade da taxa de urgência deve ser inferior à quantidade máxima de {{num}} {{tokenSymbol}}","home.inputAccount":"Por favor, insira o nome da conta","home.iName":"Por favor, insira iName","home.nickname":"iName não está de acordo com as regras","home.gasmin":"A criação de uma carteira multi-assinatura requer o pagamento de taxas de gás na blockchain, por favor, certifique-se de que o saldo de IBXC na conta atual não seja inferior a 0,1 IBXC","home.know":"Entendi","manage.import":"Exportar","manage.safety":"Segurança","manage.setting":"Configurações de Senha da Carteira","manage.old":"Senha Antiga","manage.oldPassword":"Por favor, insira a senha antiga","manage.oldError":"A senha inserida não corresponde à antiga","manage.check":"Verificação de Segurança de Senha","manage.newPassword":"Definir Nova Senha","manage.again":"Verificação da Nova Senha","manage.new":"Nova Senha","manage.inputPassword":"Por favor, insira a nova senha","manage.againPassword":"Por favor, insira a senha novamente","manage.againNot":"A senha reinserida não corresponde à nova senha","manage.success":"Senha alterada com sucesso","manage.phrase":"Frase Semente","manage.custody":"Por favor, MANTENHA sua frase semente segura e NUNCA a compartilhe com ninguém.","manage.show":"Mostrar Frase Semente","manage.hide":"Ocultar Frase Semente","manage.private":"Chave Privada","manage.custodyKey":"Por favor, MANTENHA sua chave privada segura e NUNCA a compartilhe com ninguém.","manage.showPrivate":"Mostrar Chave Privada","manage.hidePrivate":"Ocultar Chave Privada","manage.language":"Idioma","manage.select":"Selecione seu idioma","manage.user":"Perguntas Frequentes e Manual do Usuário","manage.help":"Central de Ajuda","manage.about":"Sobre Nós","manage.open":"Comunidade de Código Aberto","manage.longPassword":"A nova senha não pode exceder 50 caracteres","manage.add":"Adicionar nova conta","manage.create":"Por favor, conclua a criação da nova conta antes de adicionar","manage.close":"Ocultar conta","manage.use":"Continuar usando","manage.clean":"Limpar conta","manage.all":"Limpar localmente as chaves privadas e as palavras-chave da conta, os dados podem ser importados novamente se precisar recuperar","manage.current":"Balança corrente","user.dosuccess":"Operação bem-sucedida","user.chain":"Transação em processamento ......","user.tips":"Dicas","user.urgentpay":"Taxa urgente (IBXC) = Ativos pagos / (taxa de acompanhamento * precisão)","user.tokensave":"Token já existe","type.package":"Taxa de Empacotamento","type.taxation":"Imposto","type.trade":"Transferência","type.tokenTrade":"Transferência de Token","type.create":"Criar Carteira","type.iname":"Criar iName","type.issue":"Emitir Token","type.coin":"Quantidade de Token Destruido","type.private":"Fundação","type.foundation":"Parceiros Eco","type.team":"Equipe de P&D","type.partner":"Vendas Privadas 1","type.nft":"Recompensa de Staking NFT","type.mining":"Novo Staking","type.pledge":"Retirar valor staked","type.exchange":"Resgate Retido","type.burning":"Queimado","type.detele":"Remoção de Conta","type.paid":"Depósito pago pelo nó candidato","type.nodes":"Depósito pago em nome do nó candidato","type.voting":"Votação do Nó Candidato","type.deposit":"Retirar depósito do nó candidato","type.withdrawal":"Retirar voto para o nó candidato","type.textcoin":"Obter Moedas de Teste","type.privateye":"Vendas Privadas 2","type.offering":"Vendas Públicas","type.num":"Receber fundos restantes da Colocação Privada 1","type.child":"Dedução de subconta","type.issuance":"Emissão adicional","type.twonum":"Receber fundos restantes da Colocação Privada 2","type.remove":"Reembolsos após a remoção de subcontas pela equipe","type.airsend":"Quantidade de distribuição de airdrop","type.aristack":"Quantidade de aceleração de desbloqueio de stake","type.getair":"Receber airdrop","type.getstack":"Receber stake de airdrop","type.locking":"Quantidade de bloqueio de airdrop","type.createiname":"Criar iName","type.cross":"Cunhagem entre cadeias","type.crosslock":"Bloqueio de retirada entre cadeias","type.destruction":"Queima entre cadeias"},oi={"nav.assets":"Активы","nav.manage":"Управление кошельком","nav.colorSystem":"Система цветов","nav.record":"История транзакций","nav.load":"Загрузка","nav.drop":"Потяните вниз, чтобы загрузить больше","nav.nomore":"Больше нет","nav.local":"Локальный вход","nav.jutkey":"Вход в кошелек","nav.link":"Подключить кошелек","nav.backup":"Резервная копия мнемонической фразы еще не создана, для безопасности ваших средств, пожалуйста, создайте резервную копию как можно скорее","nav.exit":"Выйти из системы","nav.wallet":"Кошелек Jutkey - Кошелек HD с высокой безопасностью","nav.des":"Перейдите для загрузки кошелька Jutkey","nav.chain":"Децентрализованный кошелек с поддержкой нескольких цепочек","login.sign":"Войти","login.name":"Si prega di selezionare il nome del portafoglio multi-firma","login.address":"Адрес аккаунта","login.password":"Локальный пароль","login.know":"Я прочитал и согласен с политикой конфиденциальности.","login.create":"Создать","login.load":"Загрузить кошелек","login.import":"Импортировать кошелек","login.back":"Назад","login.empty":"Название мультиподписного кошелька не может быть пустым","login.maxName":"Название мультиподписного кошелька не может превышать 16 символов","login.maxpw":"Локальный пароль не может превышать 50 символов","login.setting":"Создание и настройка мультиключевого кошелька","login.safety":"Мультибезопасность, используйте кошелек MultiKey для децентрализованного управления учетными записями","login.wallet":"Создать новый кошелек","login.base":"Создайте децентрализованный кошелек, поддерживающий управление подписями на нескольких счетах, исходя из ваших потребностей. Для создания такого кошелька вам потребуется заплатить небольшую сумму.","login.new":"Новый","login.had":"Загрузить кошелек","login.multi":"Если у вас уже есть кошелек MultiKey и вы хотите продолжить его использование в новом аккаунте, вы можете продолжить его использование, подтвердив его своим закрытым ключом или мнемонической фразой.","login.loading":"Загрузить","login.use":"Используйте существующую мнемоническую фразу или приватный ключ для восстановления многоключевого кошелька. Мы поможем вам получить исторические данные On-Chain, и они будут отображаться в соответствующих пунктах функции, так что вы не потеряете эту информацию.","login.word":"Импорт через мнемоническую фразу","login.restore":"Импорт по мнемонической фразе позволяет восстановить все аккаунты по этой мнемонической фразе.","login.private":"Импорт через закрытый ключ","login.text":"Используйте свой закрытый ключ для импорта нужной вам учетной записи с мультисигмой.","login.cancel":"Отменить","login.confirm":"Подтвердить","login.start":"Начать импорт","login.privateEmpty":"Закрытый ключ не может быть пустым","login.privateError":"Закрытый ключ неверен","login.mnemonicEmpty":"Начальная фраза не может быть пустой","login.mnemonicError":"Начальная фраза неверна","login.no":"Пока нет данных","login.delete":"Удалить учетную запись","login.deleteAccount":"Вы уверены, что хотите удалить учетную запись {{name}}?","login.cody":"Успешно скопировано","login.incorrect":"Неверный локальный пароль безопасности","login.select":"Пожалуйста, выберите название мультиподписного кошелька","login.pwEmpty":"Локальный пароль безопасности не может быть пустым","login.accountName":"Имя аккаунта","login.continue":"Использовать мультиподписный кошелек","login.account":"Создать новый аккаунт","login.checkKnow":"Пожалуйста, отметьте, что вы понимаете и принимаете политику конфиденциальности","login.loacl":"Аккаунт","login.now":"Текущий используемый аккаунт","login.previous":"Предыдущий шаг","home.newBuilt":"Создать","home.multi":"Мультисиг-кошелек","home.receive":"Получить","home.transfer":"Перевести","home.assets":"Активы","home.setting":"Настройка кошелька MultiKey","home.des":"Настройте учетную запись управления и права доступа для кошелька MultiKey, которые не могут быть изменены после развертывания On-Chain.","home.team":"Имя команды","home.name":"Вам необходимо дать имя кошельку, чтобы вы или члены команды могли быстро узнать его во время подписания.","home.inputName":"Введите имя команды","home.nameLength":"Название команды не может превышать 20 символов","home.sign":"Адрес подписи {{num}}","home.inputSign":"Введите адрес подписи","home.addreeType":"Введите адрес в формате 0000-0000-0000-0000-0000","home.save":"Адрес уже существует","home.new":"Новый адрес подписи","home.num":"Установить порог подписи транзакции","home.inputNum":"Введите порог подписи транзакции","home.min":"Требуется минимум 2 подписи","home.delete":"Удалить","home.block":"Идентификатор блока","home.hash":"Хэш транзакции","home.address":"Адрес","home.date":"Дата","home.type":"Тип","home.contract":"Контракт","home.amount":"Сумма","home.check":"Проверка пароля","home.balance":"Баланс","home.send":"Отправить","home.recipient":"Введите адрес получателя","home.count":"Сумма","home.dir":"Введите сумму отправки","home.maxZero":"Вводимая сумма должна быть больше нуля","home.maxAmount":"Сумма отправки должна быть меньше максимального значения {{num}} {{tokenSymbol}}.","home.gas":"Плата за газ","home.comment":"Памятка","home.commentInput":"Пожалуйста, введите памятку","home.expedit":"Ускоренная оплата (необязательно)","home.expeditInput":"Пожалуйста, введите размер ускоренного сбора","home.expedited":"Экспедиционный сбор","home.examine":"Посмотреть","home.initiate":"Инициировать перевод","home.achieve":"Получено от {{to}}","home.wait":"Ожидает подписи","home.finish":"Подпись завершена и выполнена","home.noMessage":"Нет новых сообщений","home.second":"Секунды назад","home.messageDetails":"Подробности сообщения","home.notice":"Уведомление о подписи","home.current":"Текущий номер подписи","home.tactics":"Порог подписи","home.rejected":"Отклонено","home.approved":"Одобрено","home.explore":"Проверка в проводнике блокчейна","home.time":"Время","home.content":"Содержание","home.signnum":"Номер подписи","home.collection":"Пожалуйста, введите сумму получения","home.saveqr":"Сохранить QR-код","home.cody":"Скопировать ссылку на получение","home.give":"Поделиться с...","home.create":"Создать","home.signtip":"Установите минимум 2 адреса подписи, не превышая общее количество подписей","home.details":"Детали токена","home.limit":"Ввод не может превышать {{num}} адресов подписи","home.over":"Не может превышать {{num}} адресов","home.add":"Добавить токен","home.continue":"продолжать","home.build":"Создание","home.sure":"Подтвердите адрес мультиподписного кошелька","home.mistake":"Пожалуйста, подтвердите информацию о вашем мультиподписном кошельке, чтобы избежать ошибок","home.mulAddress":"Мультиподписный адрес","home.signAll":"{{num}} из {{length}} требуемых подписей для транзакции","home.noGas":"Недостаточно GAS","home.maxExpedited":"Количество срочной комиссии должно быть меньше максимального количества {{num}} {{tokenSymbol}}","home.inputAccount":"Пожалуйста, введите имя аккаунта","home.iName":"Пожалуйста, введите iName","home.nickname":"iName не соответствует правилам","home.gasmin":"Создание мультиподписного кошелька требует оплаты газовых сборов в сети, пожалуйста, убедитесь, что баланс IBXC на вашем текущем счете не ниже 0,1 IBXC","home.know":"Понял","manage.import":"Экспорт","manage.safety":"Безопасность","manage.setting":"Настройки пароля кошелька","manage.old":"Старый пароль","manage.oldPassword":"Пожалуйста, введите старый пароль","manage.oldError":"Введенный пароль не совпадает со старым паролем","manage.check":"Проверка безопасности пароля","manage.newPassword":"Установить новый пароль","manage.again":"Проверка нового пароля","manage.new":"Новый пароль","manage.inputPassword":"Пожалуйста, введите новый пароль","manage.againPassword":"Пожалуйста, введите пароль повторно","manage.againNot":"Повторно введенный пароль не совпадает с новым паролем","manage.success":"Пароль успешно изменен","manage.phrase":"Начальная фраза","manage.custody":"Пожалуйста, храните свою начальную фразу в безопасности и никогда не сообщайте ее никому.","manage.show":"Показать начальную фразу","manage.hide":"Скрыть начальную фразу","manage.private":"Закрытый ключ","manage.custodyKey":"Пожалуйста, храните свой закрытый ключ в безопасности и никогда не сообщайте его никому.","manage.showPrivate":"Показать закрытый ключ","manage.hidePrivate":"Скрыть личный ключ","manage.language":"Язык","manage.select":"Выберите свой язык","manage.user":"FAQ и руководство пользователя","manage.help":"Справочный центр","manage.about":"О нас","manage.open":"Сообщество с открытым исходным кодом","manage.add":"Добавить новый аккаунт","manage.create":"Пожалуйста, завершите создание нового аккаунта перед добавлением","manage.close":"Скрыть аккаунт","manage.use":"Продолжить использование","manage.longPassword":"Новый пароль не может превышать 50 символов","manage.clean":"Очистить аккаунт","manage.all":"Локально очистить приватный ключ и мнемоническую фразу аккаунта, для восстановления данных можно снова импортировать","manage.current":"Текущий счет","user.dosuccess":"Операция успешна","user.chain":"Транзакция в обработке ......","user.tips":"Советы","user.urgentpay":"Срочная комиссия (IBXC) = Оплаченные активы / (коэффициент продолжения * точность)","user.tokensave":"Токен уже существует","type.package":"Комиссия за упаковку","type.taxation":"Налог","type.trade":"Перевод","type.tokenTrade":"Перевод токена","type.create":"Создать кошелек","type.iname":"Создать iName","type.issue":"Выпустить токен","type.coin":"Уничтоженное количество токенов","type.private":"Фонд","type.foundation":"Эко-партнеры","type.team":"Команда исследования и разработки","type.partner":"Частные продажи 1","type.nft":"Награда за стейкинг NFT","type.mining":"Новый стейкинг","type.pledge":"Вывести заложенную сумму","type.exchange":"Удержание погашения","type.burning":"Сожжено","type.detele":"Удаление аккаунта","type.paid":"Депозит, оплаченный кандидатом-узлом","type.nodes":"Депозит, оплаченный от имени кандидата-узла","type.voting":"Голосование за кандидат-узел","type.deposit":"Вывести депозит кандидата-узла","type.withdrawal":"Вывести голос за кандидата-узла","type.textcoin":"Получить тестовые монеты","type.privateye":"Частные продажи 2","type.offering":"Публичные продажи","type.num":"Получить оставшиеся средства от Частного размещения 1","type.child":"Вычет субсчета","type.issuance":"Дополнительное выпуск","type.twonum":"Получение остаточных средств от Частного размещения 2","type.remove":"Возврат средств после удаления субсчетов командой","type.airsend":"Сумма распределения Airdrop","type.aristack":"Сумма ускоренной разблокировки стейка","type.getair":"Получение Airdrop","type.getstack":"Получение стейка Airdrop","type.locking":"Сумма блокировки Airdrop","type.createiname":"Создание iName","type.cross":"Кроссчейн-минтинг","type.crosslock":"Кроссчейн-вывод блокировки","type.destruction":"Кроссчейн-сжигание"},ii={"nav.assets":"Varlıklar","nav.manage":"Cüzdan Yönetimi","nav.colorSystem":"Renk Sistemi","nav.record":"İşlem Geçmişi","nav.load":"Yükleniyor","nav.drop":"Daha fazlasını yüklemek için aşağı çekin","nav.nomore":"Daha fazla yok","nav.local":"Yerel giriş","nav.jutkey":"Cüzdan girişi","nav.link":"Cüzdanı bağla","nav.backup":"Hatırlatıcı kelimeler henüz yedeklenmedi, lütfen fonlarınızın güvenliği için en kısa sürede yedekleyin","nav.exit":"Çıkış yap","nav.wallet":"Jutkey Cüzdanı - Yüksek Güvenlikli HD Cüzdan","nav.des":"Jutkey Cüzdanını yüklemek için gidin","nav.chain":"Çok zincirli destekleyen merkeziyetsiz cüzdan","login.sign":"Giriş Yap","login.name":"Çoklu imza cüzdanı adı","login.address":"Hesap Adresi","login.password":"Yerel Şifre","login.know":"Gizlilik Politikasını okudum ve kabul ediyorum.","login.create":"Oluştur","login.load":"Cüzdan Yükle","login.import":"Cüzdan İçe Aktar","login.back":"Geri","login.empty":"çok imzalı cüzdan adı boş olamaz","login.maxName":"çok imzalı cüzdan adı 16 karakterden uzun olamaz","login.maxpw":"Yerel şifre 50 karakteri geçemez","login.setting":"Çok İmzalı Cüzdan Oluştur ve Kur","login.safety":"Çok Katmanlı Güvenlik, Adem-i Merkeziyetçi Hesap Yönetimi için MultiKey Cüzdan Kullanın","login.wallet":"Yeni cüzdan oluştur","login.base":"İhtiyaçlarınıza göre çoklu hesap imza yönetimini destekleyen adem-i merkeziyetçi bir cüzdan oluşturun. Bu hesap için küçük bir Gas ücreti ödemeniz gerekir.","login.new":"Yeni","login.had":"Cüzdan yükle","login.multi":"Eğer zaten bir MultiKey cüzdanınız varsa ve yeni bir hesapta kullanmaya devam etmek istiyorsanız, özel anahtarınız veya mnemonic ifadeniz ile doğrulayarak kullanmaya devam edebilirsiniz.","login.loading":"Yükle","login.use":"Mevcut mnemonic ifadenizi veya özel anahtarınızı kullanarak çok imzalı cüzdanı geri yükleyin. Size blok zincirindeki geçmiş verileri almanıza yardımcı olacağız ve bunlar ilgili fonksiyon öğelerinde görüntülenecek, böylece bu veri bilgilerini kaybetmeyeceksiniz.","login.word":"Mnemonic İfade ile İçe Aktar","login.restore":"Mnemonic ifade ile içe aktarma, bu mnemonic ifadesi altındaki tüm hesapları geri yükleyebilir","login.private":"Özel Anahtar ile İçe Aktar","login.text":"İhtiyacınız olan çok imzalı hesabı içe aktarmak için özel anahtarınızı kullanın","login.cancel":"İptal","login.confirm":"Onayla","login.start":"İçe Aktarmaya Başla","login.privateEmpty":"Özel anahtar boş olamaz","login.privateError":"Özel anahtar yanlış","login.mnemonicEmpty":"Mnemonic ifade boş olamaz","login.mnemonicError":"Mnemonic ifade yanlış","login.no":"Henüz veri yok","login.delete":"Hesabı Sil","login.deleteAccount":"{{name}} hesabını silmek istediğinizden emin misiniz?","login.cody":"Başarıyla kopyalandı","login.incorrect":"Yerel güvenlik şifresi yanlış","login.select":"Çoklu imza cüzdanı adını seçin","login.pwEmpty":"Yerel güvenlik şifresi boş olamaz","login.accountName":"Hesap adı","login.continue":"Çoklu imza cüzdanı kullan","login.account":"Yeni hesap oluştur","login.checkKnow":"Lütfen gizlilik politikasını anladığınızı ve kabul ettiğinizi işaretleyin","login.loacl":"Hesap","login.now":"Şu anda kullanılan hesap","login.previous":"Önceki Adım","home.newBuilt":"Yeni","home.multi":"Çok İmzalı Cüzdan","home.receive":"Al","home.transfer":"Transfer","home.assets":"Varlıklar","home.setting":"MultiKey Cüzdan Kur","home.des":"Blok zinciri üzerine dağıtıldıktan sonra değiştirilemeyecek şekilde MultiKey cüzdan için yönetim hesabı ve izinleri ayarlayın.","home.team":"Takım Adı","home.name":"İmza sırasında siz veya takım üyeleriniz tarafından hızlı tanınması için cüzdanınıza bir ad vermeniz gerekir.","home.inputName":"Lütfen takım adını girin","home.nameLength":"Takım adı 20 karakteri geçemez","home.sign":"İmza Adresi {{num}}","home.inputSign":"Lütfen imza adresini girin","home.addreeType":"Lütfen 0000-0000-0000-0000-0000 formatında bir adres girin","home.save":"Adres zaten mevcut","home.new":"Yeni İmza Adresi","home.num":"İşlem imza eşiğini ayarla","home.inputNum":"Lütfen işlem imza eşiğini girin","home.min":"En az 2 imza gerekli","home.delete":"Sil","home.block":"Blok ID","home.hash":"İşlem Hash'i","home.address":"Adres","home.date":"Tarih","home.type":"Tür","home.contract":"Kontrat","home.amount":"Miktar","home.check":"Şifre Doğrulama","home.balance":"Bakiye","home.send":"Gönder","home.recipient":"Lütfen alıcı adresini girin","home.count":"Miktar","home.dir":"Lütfen gönderilecek miktarı girin","home.maxZero":"Girilen miktar sıfırdan büyük olmalıdır","home.maxAmount":"Gönderilen miktar maksimum {{num}} {{tokenSymbol}}'den az olmalıdır.","home.gas":"Gas Ücreti","home.comment":"Açıklama","home.commentInput":"Lütfen açıklama girin","home.expedit":"Ekspres Ücret (İsteğe Bağlı)","home.expeditInput":"Lütfen ekspres ücreti girin","home.expedited":"Ekspres Ücret","home.examine":"Görüntüle","home.initiate":"Bir Transfer Başlat","home.achieve":"{{to}} tarafından alındı","home.wait":"İmza Bekleniyor","home.finish":"İmza Tamamlandı ve Yürütüldü","home.noMessage":"Yeni mesaj yok","home.second":"Saniye Önce","home.messageDetails":"Mesaj Detayları","home.notice":"İmza Bildirimi","home.current":"Güncel İmza Sayısı","home.tactics":"İmza Eşiği","home.rejected":"Reddedildi","home.approved":"Onaylandı","home.explore":"Blok zinciri gezgininde kontrol et","home.time":"Zaman","home.content":"İçerik","home.signnum":"İmza Sayısı","home.collection":"Lütfen alınacak miktarı girin","home.saveqr":"QR Kodu Kaydet","home.cody":"Alım Bağlantısını Kopyala","home.give":"... ile paylaş","home.create":"Yeni","home.signtip":"En az 2 imza adresi ayarlayın, toplam imza sayısını geçemez","home.limit":"Giriş {{num}} imza adresini geçemez","home.details":"Token detayları","home.over":"{{num}} adresinden fazla olamaz","home.add":"Jeton ekle","home.continue":"Devam etmek","home.build":"Oluştur","home.sure":"Çoklu imza cüzdan adresini onayla","home.mistake":"Lütfen çoklu imza cüzdan bilgilerinizi doğrulayın, hataları önlemek için","home.mulAddress":"Çoklu imza adresi","home.signAll":"{{num}} / {{length}} işlem imzası","home.noGas":"Yeterli GAS ücreti yok","home.maxExpedited":"acil ücret miktarı maksimum {{num}} {{tokenSymbol}} miktarından az olmalıdır","home.inputAccount":"lütfen hesap adını girin","home.iName":"lütfen iName girin","home.nickname":"iName kural uyumlu değil","home.gasmin":"Çoklu imza cüzdanı oluşturmak için zincir üzerinde Gas ücreti ödenmesi gerekir, lütfen mevcut hesabınızdaki IBXC bakiyesinin 0.1 IBXC'den az olmadığından emin olun","home.know":"Anladım","manage.import":"dışa aktar","manage.safety":"Güvenlik","manage.setting":"Cüzdan Şifre Ayarları","manage.old":"Eski Şifre","manage.oldPassword":"Lütfen eski şifreyi girin","manage.oldError":"Girilen şifre eski şifre ile eşleşmiyor","manage.check":"Şifre Güvenlik Doğrulama","manage.newPassword":"Yeni Şifre Belirle","manage.again":"Yeni Şifre Doğrulama","manage.new":"Yeni Şifre","manage.inputPassword":"Lütfen yeni şifreyi girin","manage.againPassword":"Lütfen şifreyi yeniden girin","manage.againNot":"Yeniden girilen şifre yeni şifre ile eşleşmiyor","manage.success":"Şifre başarıyla değiştirildi","manage.phrase":"Mnemonic İfade","manage.custody":"Lütfen mnemonic ifadenizi güvende tutun ve KİMSEYLE PAYLAŞMAYIN.","manage.show":"Mnemonic İfadeyi Göster","manage.hide":"Mnemonic İfadeyi Gizle","manage.private":"Özel Anahtar","manage.custodyKey":"Lütfen özel anahtarınızı güvende tutun ve KİMSEYLE PAYLAŞMAYIN.","manage.showPrivate":"Özel Anahtarı Göster","manage.hidePrivate":"Özel Anahtarı Gizle","manage.language":"Dil","manage.select":"Dilinizi seçin","manage.user":"Kullanıcı SSS & Kullanıcı Kılavuzu","manage.help":"Yardım Merkezi","manage.about":"Hakkımızda","manage.open":"Açık Kaynak Topluluğu","manage.longPassword":"Yeni şifre 50 karakteri geçemez","manage.add":"Yeni hesap ekle","manage.create":"Lütfen yeni hesap oluşturduktan sonra ekleyin","manage.close":"Hesabı gizle","manage.use":"Kullanmaya devam et","manage.clean":"Hesabı temizle","manage.all":"Hesap özel anahtarını ve anımsatıcı sözcükleri yerel olarak temizle, verileri kurtarmak için tekrar içe aktarabilirsiniz","manage.current":"Güncel hesap","user.dosuccess":"İşlem Başarılı","user.chain":"İşlem işleniyor ......","user.tips":"İpuçları","user.urgentpay":"Acil ücret (IBXC) = Ödenen varlıklar / (takip oranı * hassasiyet)","user.tokensave":"Token zaten mevcut","type.package":"Paket Ücreti","type.taxation":"Vergi","type.trade":"Transfer","type.tokenTrade":"Token Transferi","type.create":"Cüzdan Oluştur","type.iname":"iName Oluştur","type.issue":"Token Oluştur","type.coin":"Yakılan Token Miktarı","type.private":"Vakıf","type.foundation":"Eko-Ortaklar","type.team":"AR-GE ekibi","type.partner":"Özel Satış 1","type.nft":"NFT Staking Ödülü","type.mining":"Yeni Staking","type.pledge":"Staked miktarını çek","type.exchange":"Tutulan İade","type.burning":"Yakıldı","type.detele":"Hesap Kaldırma","type.paid":"Aday düğüm tarafından ödenen depozito","type.nodes":"Aday düğüm adına ödenen depozito","type.voting":"Aday Düğüm Oylama","type.deposit":"Aday düğümün depozitosunu çek","type.withdrawal":"Aday düğüm için oy çek","type.textcoin":"Test Coinleri Al","type.privateye":"Özel Satış 2","type.offering":"Halka Arz","type.num":"Özel Yerleştirme 1'den kalan fonları al","type.child":"Alt hesap kesintisi","type.issuance":"Ek ihraç","type.twonum":"Özel Yerleştirme 2'den kalan fonları al","type.remove":"Ekip alt hesapları kaldırdıktan sonra geri ödeme","type.airsend":"Airdrop dağıtım miktarı","type.aristack":"Hızlandırılmış kilitleme miktarını aç","type.getair":"Airdrop al","type.getstack":"Airdrop stake al","type.locking":"Airdrop kilitli miktarı","type.createiname":"iName Oluştur","type.cross":"Zincirler arası basım","type.crosslock":"Zincirler arası çekme kilidi","type.destruction":"Zincirler arası yakma"},ri={"nav.assets":"Tài sản","nav.manage":"Quản lý Ví","nav.colorSystem":"Hệ thống Màu","nav.record":"Lịch sử Giao dịch","nav.load":"Đang tải","nav.drop":"Kéo xuống để tải thêm","nav.nomore":"Không có gì khác","nav.local":"Đăng nhập địa phương","nav.jutkey":"Đăng nhập ví","nav.link":"Ví kết nối","nav.backup":"Chưa sao lưu cụm từ khôi phục, để đảm bảo an toàn cho tài sản của bạn, vui lòng sao lưu càng sớm càng tốt","nav.exit":"Đăng xuất","nav.wallet":"Ví Jutkey - Ví HD an toàn cao","nav.des":"Đi đến tải ví Jutkey","nav.chain":"Ví phi tập trung hỗ trợ đa chuỗi","login.sign":"Đăng nhập","login.name":"Tên ví đa chữ ký","login.address":"Địa chỉ Tài khoản","login.password":"Mật khẩu Cục bộ","login.know":"Tôi đã đọc và đồng ý với Chính sách Bảo mật.","login.create":"Tạo","login.load":"Tải Ví","login.import":"Nhập Ví","login.back":"Quay lại","login.empty":"Tên ví đa ký không thể để trống","login.maxName":"Tên ví đa ký không thể vượt quá 16 ký tự","login.maxpw":"Mật khẩu cục bộ không được vượt quá 50 ký tự","login.setting":"Tạo và Thiết lập Ví Đa Chữ ký","login.safety":"Đa Bảo mật, Sử dụng Ví MultiKey để Đạt được Quản lý Tài khoản Phi tập trung","login.wallet":"Tạo ví mới","login.base":"Tạo ví phi tập trung hỗ trợ quản lý chữ ký đa tài khoản dựa trên nhu cầu của bạn. Bạn cần trả một khoản phí Gas nhỏ cho tài khoản này.","login.new":"Mới","login.had":"Tải ví","login.multi":"Nếu bạn đã có ví MultiKey và muốn tiếp tục sử dụng nó trong một tài khoản mới, bạn có thể tiếp tục sử dụng nó bằng cách xác minh với khóa riêng tư hoặc cụm từ ghi nhớ của bạn.","login.loading":"Tải","login.use":"Sử dụng cụm từ ghi nhớ hoặc khóa riêng tư hiện có của bạn để khôi phục ví đa khóa. Chúng tôi sẽ giúp bạn lấy dữ liệu lịch sử Trên Chuỗi và nó sẽ được hiển thị trong các mục chức năng tương ứng, vì vậy bạn sẽ không bị mất dữ liệu thông tin này.","login.word":"Nhập bằng Cụm từ Ghi nhớ","login.restore":"Nhập bằng cụm từ ghi nhớ có thể khôi phục tất cả tài khoản dưới cụm từ ghi nhớ này","login.private":"Nhập bằng Khóa Riêng tư","login.text":"Sử dụng khóa riêng tư của bạn để nhập tài khoản đa chữ ký bạn cần","login.cancel":"Hủy bỏ","login.confirm":"Xác nhận","login.start":"Bắt đầu Nhập","login.privateEmpty":"Khóa riêng tư không được để trống","login.privateError":"Khóa riêng tư không đúng","login.mnemonicEmpty":"Cụm từ ghi nhớ không được để trống","login.mnemonicError":"Cụm từ ghi nhớ không đúng","login.no":"Chưa có dữ liệu","login.delete":"Xóa Tài khoản","login.deleteAccount":"Bạn có chắc chắn muốn xóa tài khoản {{name}} không?","login.cody":"Đã sao chép thành công","login.incorrect":"Mật khẩu bảo mật cục bộ không chính xác","login.select":"Vui lòng chọn tên ví đa chữ ký","login.pwEmpty":"Mật khẩu bảo mật cục bộ không được để trống","login.accountName":"Tên tài khoản","login.continue":"Sử dụng ví đa chữ ký","login.account":"Tạo tài khoản mới","login.checkKnow":"Vui lòng đánh dấu để hiểu và chấp nhận chính sách bảo mật","login.loacl":"Tài khoản","login.now":"Tài khoản đang sử dụng","login.previous":"Bước Trước","home.newBuilt":"Tạo mới","home.multi":"Ví Đa Chữ ký","home.receive":"Nhận","home.transfer":"Chuyển khoản","home.assets":"Tài sản","home.setting":"Thiết lập Ví MultiKey","home.des":"Thiết lập tài khoản quản lý và quyền cho ví MultiKey, không thể sửa đổi sau khi triển khai Trên Chuỗi.","home.team":"Tên Nhóm","home.name":"Bạn cần đặt tên cho ví của mình để bạn hoặc các thành viên nhóm có thể nhận dạng nhanh chóng trong quá trình ký.","home.inputName":"Vui lòng nhập tên nhóm","home.nameLength":"Tên nhóm không được vượt quá 20 ký tự","home.sign":"Địa chỉ Chữ ký {{num}}","home.inputSign":"Vui lòng nhập địa chỉ chữ ký","home.addreeType":"Vui lòng nhập địa chỉ theo định dạng 0000-0000-0000-0000-0000","home.save":"Địa chỉ đã tồn tại","home.new":"Địa chỉ Chữ ký Mới","home.num":"Đặt ngưỡng chữ ký giao dịch","home.inputNum":"Vui lòng nhập ngưỡng chữ ký giao dịch","home.min":"Tối thiểu 2 chữ ký bắt buộc","home.delete":"Xóa","home.block":"ID Khối","home.hash":"Băm Giao dịch","home.address":"Địa chỉ","home.date":"Ngày","home.type":"Loại","home.contract":"Hợp đồng","home.amount":"Số lượng","home.check":"Xác minh Mật khẩu","home.balance":"Số dư","home.send":"Gửi","home.recipient":"Vui lòng nhập địa chỉ người nhận","home.count":"Số lượng","home.dir":"Vui lòng nhập số lượng gửi","home.maxZero":"Số lượng đầu vào phải lớn hơn không","home.maxAmount":"Số lượng gửi nên nhỏ hơn tối đa {{num}} {{tokenSymbol}}.","home.gas":"Phí Gas","home.comment":"Ghi chú","home.commentInput":"Vui lòng nhập ghi chú","home.expedit":"Phí Đẩy nhanh (Tùy chọn)","home.expeditInput":"Vui lòng nhập phí đẩy nhanh","home.expedited":"Phí Đẩy nhanh","home.examine":"Xem","home.initiate":"Khởi tạo Chuyển khoản","home.achieve":"Nhận từ {{to}}","home.wait":"Đang chờ Chữ ký","home.finish":"Hoàn tất Chữ ký và Thực hiện","home.noMessage":"Không có tin nhắn mới","home.second":"Giây Trước","home.messageDetails":"Chi tiết Tin nhắn","home.notice":"Thông báo Chữ ký","home.current":"Số Chữ ký Hiện tại","home.tactics":"Ngưỡng Chữ ký","home.rejected":"Từ chối","home.approved":"Đã phê duyệt","home.explore":"Kiểm tra trên Trình duyệt Blockchain","home.time":"Thời gian","home.content":"Nội dung","home.signnum":"Số Chữ ký","home.collection":"Vui lòng nhập số lượng nhận","home.saveqr":"Lưu Mã QR","home.cody":"Sao chép Liên kết Nhận","home.give":"Chia sẻ đến...","home.create":"Tạo mới","home.signtip":"Thiết lập ít nhất 2 địa chỉ ký, không vượt quá tổng số chữ ký","home.details":"Chi tiết token","home.limit":"Đầu vào không được vượt quá {{num}} địa chỉ ký","home.over":"Không thể vượt quá {{num}} địa chỉ","home.add":"Thêm mã thông báo","home.continue":"Tiếp tục","home.build":"Tạo","home.sure":"Xác nhận địa chỉ ví đa chữ ký","home.mistake":"Vui lòng xác nhận thông tin ví đa chữ ký của bạn để tránh sai sót","home.mulAddress":"Địa chỉ đa chữ ký","home.signAll":"{{num}} đến {{length}} chữ ký giao dịch","home.noGas":"Không đủ phí GAS","home.maxExpedited":"Số lượng phí khẩn cấp phải nhỏ hơn số lượng tối đa {{num}} {{tokenSymbol}}","home.inputAccount":"Vui lòng nhập tên tài khoản","home.iName":"Vui lòng nhập iName","home.nickname":"iName không đúng quy tắc","home.gasmin":"Tạo ví đa chữ ký cần phải trả phí Gas trên chuỗi, vui lòng đảm bảo số dư IBXC trong tài khoản hiện tại không thấp hơn 0.1 IBXC","home.know":"Đã biết","manage.import":"Xuất","manage.safety":"Bảo mật","manage.setting":"Cài đặt Mật khẩu Ví","manage.old":"Mật khẩu Cũ","manage.oldPassword":"Vui lòng nhập mật khẩu cũ","manage.oldError":"Mật khẩu nhập không khớp với mật khẩu cũ","manage.check":"Xác minh Bảo mật Mật khẩu","manage.newPassword":"Đặt Mật khẩu Mới","manage.again":"Xác minh Mật khẩu Mới","manage.new":"Mật khẩu Mới","manage.inputPassword":"Vui lòng nhập mật khẩu mới","manage.againPassword":"Vui lòng nhập lại mật khẩu","manage.againNot":"Mật khẩu nhập lại không khớp với mật khẩu mới","manage.success":"Đã thay đổi mật khẩu thành công","manage.phrase":"Cụm từ Ghi nhớ","manage.custody":"Vui lòng GIỮ cụm từ ghi nhớ của bạn an toàn và KHÔNG BAO GIỜ chia sẻ với bất kỳ ai.","manage.show":"Hiển thị Cụm từ Ghi nhớ","manage.hide":"Ẩn Cụm từ Ghi nhớ","manage.private":"Khóa Riêng tư","manage.custodyKey":"Vui lòng GIỮ khóa riêng tư của bạn an toàn và KHÔNG BAO GIỜ chia sẻ với bất kỳ ai.","manage.showPrivate":"Hiển thị Khóa Riêng tư","manage.hidePrivate":"Ẩn Khóa Riêng tư","manage.language":"Ngôn ngữ","manage.select":"Chọn ngôn ngữ của bạn","manage.user":"Câu hỏi Thường gặp & Hướng dẫn Người dùng","manage.help":"Trung tâm Trợ giúp","manage.about":"Về Chúng tôi","manage.open":"Cộng đồng Nguồn mở","manage.longPassword":"Mật khẩu mới không được vượt quá 50 ký tự","manage.add":"Thêm tài khoản mới","manage.create":"Vui lòng hoàn thành việc tạo tài khoản mới trước khi thêm","manage.close":"Ẩn tài khoản","manage.use":"Tiếp tục sử dụng","manage.clean":"Xóa tài khoản","manage.all":"Xóa cục bộ khóa riêng tư và cụm từ gợi nhớ của tài khoản, có thể nhập lại để khôi phục dữ liệu nếu cần","manage.current":"Tài khoản hiện tại","user.dosuccess":"Thành công","user.chain":"Giao dịch đang xử lý ......","user.tips":"Gợi ý","user.urgentpay":"Phí tùy chỉnh (IBXC) = Tài sản đã thanh toán / (tỷ lệ theo dõi * độ chính xác)","user.tokensave":"Token đã tồn tại","type.package":"Phí đóng gói","type.taxation":"Thuế","type.trade":"Chuyển khoản","type.tokenTrade":"Chuyển khoản Token","type.create":"Tạo Ví","type.iname":"Tạo iName","type.issue":"Phát hành Token","type.coin":"Số lượng Token bị hủy","type.private":"Quỹ","type.foundation":"Đối tác ECO","type.team":"Nhóm R&D","type.partner":"Bán riêng tư 1","type.nft":"Phần thưởng NFT Staking","type.mining":"Staking mới","type.pledge":"Rút số lượng đã staking","type.exchange":"Rút tiền giữ lại","type.burning":"Đốt","type.detele":"Xóa tài khoản","type.paid":"Đặt cọc được thanh toán bởi ứng cử viên node","type.nodes":"Đặt cọc được thanh toán thay mặt cho ứng cử viên node","type.voting":"Bỏ phiếu cho ứng cử viên node","type.deposit":"Rút tiền đặt cọc của ứng cử viên node","type.withdrawal":"Rút phiếu bỏ phiếu cho ứng cử viên node","type.textcoin":"Nhận Test Coins","type.privateye":"Bán riêng 2","type.offering":"Bán công khai","type.num":"Nhận số tiền còn lại từ Đặt cọc riêng 1","type.child":"Trừ tiền từ tài khoản con","type.issuance":"Phát hành bổ sung","type.twonum":"Nhận số tiền còn lại từ Đặt cọc riêng 2","type.remove":"Hoàn tiền sau khi đội loại bỏ tài khoản con","type.airsend":"Số tiền phân phối Airdrop","type.aristack":"Số tiền mở khóa stake nhanh","type.getair":"Nhận Airdrop","type.getstack":"Nhận Airdrop stake","type.locking":"Số tiền khóa Airdrop","type.createiname":"Tạo iName","type.cross":"Đúc chéo chuỗi","type.crosslock":"Khóa rút chéo chuỗi","type.destruction":"Đốt chéo chuỗi"},si={"nav.assets":"資産","nav.manage":"ウォレット管理","nav.colorSystem":"カラーシステム","nav.record":"取引履歴","nav.load":"ロード中","nav.drop":"もっと読み込むにはスワイプダウン","nav.nomore":"これ以上はありません","nav.local":"ローカルログイン","nav.jutkey":"ウォレットログイン","nav.link":"ウォレットの接続","nav.backup":"リカバリーフレーズがまだバックアップされていません。資金の安全のために、できるだけ早くバックアップしてください。","nav.exit":"ログアウト","nav.wallet":"Jutkeyウォレット - 高セキュリティHDウォレット","nav.des":"Jutkeyウォレットをロードするために行く","nav.chain":"マルチチェーン対応の分散型ウォレット","login.sign":"サインイン","login.name":"マルチシグウォレット名","login.address":"アカウントアドレス","login.password":"ローカルパスワード","login.know":"プライバシーポリシーを読み、同意しました。","login.create":"作成","login.load":"ウォレットをロード","login.import":"ウォレットをインポート","login.back":"戻る","login.empty":"多重署名ウォレットの名前を空白にすることはできません","login.maxName":"多重署名ウォレットの名前は16文字を超えることはできません","login.maxpw":"ローカルパスワードは50文字を超えることはできません","login.setting":"マルチシグウォレットを作成してセットアップ","login.safety":"マルチセキュリティ、マルチキーウォレットを使用して分散型アカウント管理を実現","login.wallet":"新しいウォレットを作成","login.base":"ニーズに基づいてマルチアカウント署名管理をサポートする分散型ウォレットを作成します。このアカウントには少額のガス料金をお支払いいただく必要があります。","login.new":"新規","login.had":"ウォレットを読み込む","login.multi":"すでにマルチキーウォレットをお持ちで、新しいアカウントで引き続き使用したい場合は、秘密鍵またはニーモニックフレーズで検証することで引き続き使用できます。","login.loading":"読み込む","login.use":"既存のニーモニックフレーズまたは秘密鍵を使用してマルチキーウォレットを復元します。Onチェーンの履歴データを取得するのをお手伝いし、対応する機能項目に表示されるので、このデータ情報を失うことはありません。","login.word":"ニーモニックフレーズでインポート","login.restore":"ニーモニックフレーズでインポートすると、このニーモニックフレーズの下のすべてのアカウントを復元できます","login.private":"秘密鍵でインポート","login.text":"必要なマルチシグアカウントをインポートするには、秘密鍵を使用してください","login.cancel":"キャンセル","login.confirm":"確認","login.start":"インポートを開始","login.privateEmpty":"秘密鍵を空白にすることはできません","login.privateError":"秘密鍵が正しくありません","login.mnemonicEmpty":"シードフレーズを空白にすることはできません","login.mnemonicError":"シードフレーズが正しくありません","login.no":"まだデータがありません","login.delete":"アカウントを削除","login.deleteAccount":"本当にアカウント{{name}}を削除してよろしいですか?","login.cody":"コピーが成功しました","login.incorrect":"ローカルセキュリティパスワードが正しくありません","login.select":"マルチシグウォレット名を選択してください","login.pwEmpty":"ローカルセキュリティパスワードを空にすることはできません","login.accountName":"アカウント名","login.continue":"マルチシグウォレットを使用する","login.account":"新しいアカウントを作成する","login.checkKnow":"プライバシーポリシーを理解し同意することにチェックを入れてください","login.loacl":"アカウント","login.now":"現在使用中のアカウント","login.previous":"前のステップ","home.newBuilt":"新規作成","home.multi":"マルチシグウォレット","home.receive":"受取","home.transfer":"送金","home.assets":"資産","home.setting":"マルチキーウォレットを設定","home.des":"マルチキーウォレットの管理アカウントと権限を設定します。Onチェーンデプロイ後は変更できません。","home.team":"チーム名","home.name":"署名時に、自分またはチームメンバーから即座に認識できるよう、ウォレットに名前を付ける必要があります。","home.inputName":"チーム名を入力してください","home.nameLength":"チーム名は20文字を超えることはできません","home.sign":"署名アドレス{{num}}","home.inputSign":"署名アドレスを入力してください","home.addreeType":"0000-0000-0000-0000-0000の形式でアドレスを入力してください","home.save":"アドレスが既に存在します","home.new":"新しい署名アドレス","home.num":"取引署名閾値を設定","home.inputNum":"取引署名閾値を入力してください","home.min":"最小2つの署名が必要です","home.delete":"削除","home.block":"ブロックID","home.hash":"取引ハッシュ","home.address":"アドレス","home.date":"日付","home.type":"種類","home.contract":"コントラクト","home.amount":"金額","home.check":"パスワード確認","home.balance":"残高","home.send":"送信","home.recipient":"受取人アドレスを入力してください","home.count":"金額","home.dir":"送金額を入力してください","home.maxZero":"入力された金額は0より大きくなければなりません","home.maxAmount":"送金額は最大{{num}} {{tokenSymbol}}未満でなければなりません。","home.gas":"ガス料金","home.comment":"メモ","home.commentInput":"メモを入力してください","home.expedit":"高速化手数料 (オプション)","home.expeditInput":"高速化手数料を入力してください","home.expedited":"高速化手数料","home.examine":"表示","home.initiate":"送金を開始","home.achieve":"{{to}}から受け取り","home.wait":"署名待ち","home.finish":"署名が完了し実行されました","home.noMessage":"新しいメッセージはありません","home.second":"数秒前","home.messageDetails":"メッセージの詳細","home.notice":"署名通知","home.current":"現在の署名番号","home.tactics":"署名閾値","home.rejected":"拒否されました","home.approved":"承認済み","home.explore":"ブロックチェーンエクスプローラで確認","home.time":"時間","home.content":"内容","home.signnum":"署名番号","home.collection":"受取金額を入力してください","home.saveqr":"QRコードを保存","home.cody":"受取リンクをコピー","home.give":"共有...","home.create":"新規作成","home.signtip":"最低2つの署名アドレスを設定し、署名の総数を超えないこと","home.details":"トークンの詳細","home.limit":"入力は {{num}} 個の署名アドレスを超えないこと","home.over":"{{num}}個のアドレスを超えることはできません","home.add":"トークンの追加","home.continue":"続く","home.build":"作成","home.sure":"マルチシグウォレットアドレスの確認","home.mistake":"マルチシグウォレット情報を確認し、誤りを避けてください","home.mulAddress":"マルチシグアドレス","home.signAll":"{{num}}から{{length}}取引署名数","home.noGas":"ガス代が足りません","home.maxExpedited":"追加手数料の量は最大量{{num}} {{tokenSymbol}}を下回る必要があります","home.inputAccount":"アカウント名を入力してください","home.iName":"iNameを入力してください","home.nickname":"iNameが規則に従っていません","home.gasmin":"マルチシグウォレットを作成するには、オンチェーンのガス料金を支払う必要があります。現在のアカウントのIBXC残高が0.1 IBXC未満でないことを確認してください。","home.know":"わかりました","manage.import":"エクスポート","manage.safety":"セキュリティ","manage.setting":"ウォレットパスワード設定","manage.old":"古いパスワード","manage.oldPassword":"古いパスワードを入力してください","manage.oldError":"入力したパスワードが古いパスワードと一致しません","manage.check":"パスワードセキュリティ確認","manage.newPassword":"新しいパスワードを設定","manage.again":"新しいパスワード確認","manage.new":"新しいパスワード","manage.inputPassword":"新しいパスワードを入力してください","manage.againPassword":"パスワードを再入力してください","manage.againNot":"再入力したパスワードが新しいパスワードと一致しません","manage.success":"パスワードが正常に変更されました","manage.phrase":"シードフレーズ","manage.custody":"シードフレーズは安全な場所に保管し、絶対に他人に共有しないでください。","manage.show":"シードフレーズを表示","manage.hide":"シードフレーズを非表示","manage.private":"秘密鍵","manage.custodyKey":"秘密鍵は安全な場所に保管し、絶対に他人に共有しないでください。","manage.showPrivate":"秘密鍵を表示","manage.hidePrivate":"秘密鍵を非表示","manage.language":"言語","manage.select":"言語を選択","manage.user":"ユーザーFAQおよびユーザーマニュアル","manage.help":"ヘルプセンター","manage.about":"私たちについて","manage.open":"オープンソースコミュニティ","manage.longPassword":"新しいパスワードは50文字を超えないこと","manage.add":"新しいアカウントを追加する","manage.create":"新しいアカウントの作成を完了してから追加してください","manage.close":"アカウントを非表示にする","manage.use":"引き続き使用する","manage.current":"現在のアカウント","manage.clean":"アカウントをクリアする","manage.all":"ローカルでアカウントの秘密鍵とニーモニックをクリアします。データを復元する必要がある場合は再度インポートしてください","user.dosuccess":"操作成功","user.chain":"処理中のトランザクション......","user.tips":"ヒント","user.urgentpay":"緊急手数料(IBXC)= 支払い資産 / (フォローアップ比率 * 精度)","user.tokensave":"トークンは既に存在しています","type.package":"梱包料金","type.taxation":"税金","type.trade":"転送","type.tokenTrade":"トークン転送","type.create":"ウォレット作成","type.iname":"iName作成","type.issue":"トークン発行","type.coin":"破棄されたトークン量","type.private":"財団","type.foundation":"エコパートナー","type.team":"R&Dチーム","type.partner":"プライベートセールス1","type.nft":"NFTステーキング報酬","type.mining":"新しいステーキング","type.pledge":"ステーキングされた金額の引き出し","type.exchange":"引き落とし償還","type.burning":"焼けた","type.detele":"アカウント削除","type.paid":"候補ノードによるデポジット支払い","type.nodes":"候補ノードのために支払われたデポジット","type.voting":"候補ノードの投票","type.deposit":"候補ノードのデポジットを引き出す","type.withdrawal":"候補ノードへの投票を取り消す","type.textcoin":"テストコインを取得する","type.privateye":"プライベートセールス2","type.offering":"パブリックセールス","type.num":"プライベートプレースメント1からの残りの資金を受け取る","type.child":"サブアカウントの控除","type.issuance":"追加発行","type.twonum":"プライベートプレースメント2から残りの資金を受け取る","type.remove":"チームがサブアカウントを削除した後の払い戻し","type.airsend":"エアドロップの配布額","type.aristack":"アンロックステークの加速額","type.getair":"エアドロップを受け取る","type.getstack":"エアドロップステークを受け取る","type.locking":"エアドロップのロックアップ額","type.createiname":"iNameを作成する","type.cross":"クロスチェーン造幣","type.crosslock":"クロスチェーン引き出しロック","type.destruction":"クロスチェーンバーン"},ci={"nav.assets":"자산","nav.manage":"지갑 관리","nav.colorSystem":"색상 시스템","nav.record":"거래 내역","nav.load":"로딩 중","nav.drop":"아래로 당겨 더 로드","nav.nomore":"더 이상 없음","nav.local":"로컬 로그인","nav.jutkey":"지갑 로그인","nav.link":"지갑 연결","nav.backup":"니모닉 단어가 아직 백업되지 않았습니다. 자금의 안전을 위해 최대한 빨리 백업해 주세요","nav.exit":"로그아웃","nav.wallet":"Jutkey 지갑 - 고안전 HD 지갑","nav.des":"Jutkey 지갑을 로드하러 가기","nav.chain":"다중 체인을 지원하는 분산형 지갑","login.sign":"로그인","login.name":"다중 서명 지갑 이름","login.address":"계정 주소","login.password":"로컬 비밀번호","login.know":"개인정보 보호정책에 동의합니다.","login.create":"생성","login.load":"지갑 로드","login.import":"지갑 가져오기","login.back":"뒤로","login.empty":"다중 서명 지갑 이름은 비워둘 수 없습니다","login.maxName":"다중 서명 지갑 이름은 16자를 초과할 수 없습니다","login.maxpw":"로컬 비밀번호는 50자를 초과할 수 없습니다","login.setting":"다중 서명 지갑 생성 및 설정","login.safety":"다중 키 지갑을 사용하여 분산형 계정 관리 달성","login.wallet":"새 지갑 만들기","login.base":"필요에 따라 다중 계정 서명 관리를 지원하는 분산 지갑을 만듭니다. 이 계정에는 소액의 가스료를 지불해야 합니다.","login.new":"새로 만들기","login.had":"지갑 로드","login.multi":"이미 다중 키 지갑이 있고 새 계정에서 계속 사용하려면 개인 키 또는 니모닉 구문을 확인하여 계속 사용할 수 있습니다.","login.loading":"로드","login.use":"기존 니모닉 구문 또는 개인 키를 사용하여 다중 키 지갑을 복원합니다. 온체인의 기록 데이터를 가져와 해당 기능 항목에 표시하므로 이 데이터 정보가 손실되지 않습니다.","login.word":"니모닉 구문으로 가져오기","login.restore":"니모닉 구문으로 가져오면 이 구문의 모든 계정을 복원할 수 있습니다","login.private":"개인 키로 가져오기","login.text":"개인 키를 사용하여 필요한 다중 서명 계정을 가져옵니다","login.cancel":"취소","login.confirm":"확인","login.start":"가져오기 시작","login.privateEmpty":"개인 키를 입력해야 합니다","login.privateError":"개인 키가 올바르지 않습니다","login.mnemonicEmpty":"시드 구문을 입력해야 합니다","login.mnemonicError":"시드 구문이 올바르지 않습니다","login.no":"데이터가 없습니다","login.delete":"계정 삭제","login.deleteAccount":"계정 {{name}}를 삭제하시겠습니까?","login.cody":"성공적으로 복사되었습니다","login.incorrect":"로컬 보안 비밀번호가 올바르지 않습니다","login.select":"다중 서명 지갑 이름을 선택하세요","login.pwEmpty":"로컬 보안 비밀번호를 비워둘 수 없습니다","login.accountName":"계정 이름","login.continue":"다중 서명 지갑 사용","login.account":"새 계정 만들기","login.checkKnow":"개인정보 보호정책을 이해하고 동의한다는 것을 체크해주세요","login.loacl":"계정","login.now":"현재 사용 중인 계정","login.previous":"이전 단계","home.newBuilt":"새로 만들기","home.multi":"다중 서명 지갑","home.receive":"받기","home.transfer":"전송","home.assets":"자산","home.setting":"다중 키 지갑 설정","home.des":"다중 키 지갑의 관리 계정과 권한을 설정합니다. 온체인 배포 후에는 수정할 수 없습니다.","home.team":"팀 이름","home.name":"서명 시 당신이나 팀원이 빠르게 인식할 수 있도록 지갑 이름을 지정해야 합니다.","home.inputName":"팀 이름을 입력하세요","home.nameLength":"팀 이름은 20자를 초과할 수 없습니다","home.sign":"서명 주소 {{num}}","home.inputSign":"서명 주소를 입력하세요","home.addreeType":"0000-0000-0000-0000-0000 형식의 주소를 입력하세요","home.save":"주소가 이미 존재합니다","home.new":"새 서명 주소","home.num":"거래 서명 임계값 설정","home.inputNum":"거래 서명 임계값을 입력하세요","home.min":"최소 2개의 서명 필요","home.delete":"삭제","home.block":"블록 ID","home.hash":"거래 해시","home.address":"주소","home.date":"날짜","home.type":"유형","home.contract":"컨트랙트","home.amount":"금액","home.check":"비밀번호 확인","home.balance":"잔액","home.send":"전송","home.recipient":"수취인 주소를 입력하세요","home.count":"금액","home.dir":"전송 금액을 입력하세요","home.maxZero":"입력한 금액은 0보다 커야 합니다","home.maxAmount":"전송 금액은 최대 {{num}} {{tokenSymbol}}보다 적어야 합니다.","home.gas":"가스 수수료","home.comment":"메모","home.commentInput":"메모를 입력하세요","home.expedit":"빠른 수수료(선택 사항)","home.expeditInput":"빠른 수수료를 입력하세요","home.expedited":"빠른 수수료","home.examine":"보기","home.initiate":"전송 개시","home.achieve":"{{to}}에서 수령함","home.wait":"서명 대기 중","home.finish":"서명 완료 및 실행","home.noMessage":"새 메시지 없음","home.second":"몇 초 전","home.messageDetails":"메시지 세부 정보","home.notice":"서명 알림","home.current":"현재 서명 수","home.tactics":"서명 임계값","home.rejected":"거부됨","home.approved":"승인됨","home.explore":"블록체인 탐색기 확인","home.time":"시간","home.content":"내용","home.signnum":"서명 번호","home.collection":"수령 금액을 입력하세요","home.saveqr":"QR 코드 저장","home.cody":"수령 링크 복사","home.give":"공유하기...","home.create":"새로 만들기","home.signtip":"최소 2개의 서명 주소를 설정해야 하며, 총 서명 수를 초과할 수 없습니다","home.details":"토큰 세부 정보","home.limit":"{{num}}개 이상의 서명 주소를 입력할 수 없습니다","home.over":"{{num}}개 이상의 주소를 초과할 수 없습니다","home.add":"토큰 추가하기","home.continue":"계속하다","home.build":"생성","home.sure":"다중 서명 지갑 주소 확인","home.mistake":"다중 서명 지갑 정보를 확인하여 오류를 방지하십시오.","home.mulAddress":"다중 서명 주소","home.signAll":"{{num}} ~ {{length}}트랜잭션 서명 수","home.noGas":"가스비가 충분하지 않습니다.","home.maxExpedited":"긴급 수수료 금액은 최대 {{num}} {{tokenSymbol}}보다 작아야 합니다","home.inputAccount":"계정 이름을 입력하세요","home.iName":"iName을 입력하세요","home.nickname":"iName이 규칙에 맞지 않습니다","home.gasmin":"다중 서명 지갑 생성 시 온체인 가스 비용을 지불해야 합니다. 현재 계정의 IBXC 잔액이 0.1 IBXC 이상인지 확인해 주세요","home.know":"알겠습니다","manage.import":"내보내기","manage.safety":"보안","manage.setting":"지갑 비밀번호 설정","manage.old":"이전 비밀번호","manage.oldPassword":"이전 비밀번호를 입력하세요","manage.oldError":"입력한 비밀번호가 기존 비밀번호와 일치하지 않습니다","manage.check":"비밀번호 보안 확인","manage.newPassword":"새 비밀번호 설정","manage.again":"새 비밀번호 확인","manage.new":"새 비밀번호","manage.inputPassword":"새 비밀번호를 입력하세요","manage.againPassword":"비밀번호를 다시 입력하세요","manage.againNot":"다시 입력한 비밀번호가 새 비밀번호와 일치하지 않습니다","manage.success":"비밀번호가 성공적으로 변경되었습니다","manage.phrase":"시드 구문","manage.custody":"시드 구문은 안전하게 보관하고 절대 누구에게도 공유하지 마세요.","manage.show":"시드 구문 표시","manage.hide":"시드 구문 숨기기","manage.private":"개인 키","manage.custodyKey":"개인 키는 안전하게 보관하고 절대 누구에게도 공유하지 마세요.","manage.showPrivate":"개인 키 표시","manage.hidePrivate":"개인 키 숨기기","manage.language":"언어","manage.select":"언어를 선택하세요","manage.user":"사용자 FAQ 및 사용자 설명서","manage.help":"헬프 센터","manage.about":"회사 소개","manage.open":"오픈소스 커뮤니티","manage.longPassword":"새 비밀번호는 50자를 초과할 수 없습니다","manage.add":"새 계정 추가","manage.create":"새 계정을 만든 후에 추가해주세요","manage.close":"계정 숨기기","manage.use":"계속 사용","manage.clean":"계정 지우기","manage.all":"로컬에서 계정 개인 키와 니모닉 구문을 지웁니다. 데이터 복구가 필요한 경우 다시 가져올 수 있습니다","manage.current":"現在のアカウント","user.dosuccess":"작업 성공","user.chain":"처리 중인 거래 ......","user.tips":"팁","user.urgentpay":"긴급 수수료 (IBXC) = 지불 자산 / (후속 비율 * 정밀도)","user.tokensave":"토큰이 이미 존재합니다","type.package":"패킹 수수료","type.taxation":"세금","type.trade":"이체","type.tokenTrade":"토큰 이체","type.create":"지갑 생성","type.iname":"iName 생성","type.issue":"토큰 발행","type.coin":"소멸된 토큰 금액","type.private":"재단","type.foundation":"에코 파트너","type.team":"R&D 팀","type.partner":"개인 판매 1","type.nft":"NFT 스테이킹 보상","type.mining":"새로운 스테이킹","type.pledge":"스테이킹 금액 인출","type.exchange":"인출 보류","type.burning":"소각됨","type.detele":"계정 삭제","type.paid":"후보 노드가 지불한 예치금","type.nodes":"후보 노드를 대신하여 지불한 예치금","type.voting":"후보 노드 투표","type.deposit":"후보 노드 예치금 인출","type.withdrawal":"후보 노드에 대한 투표 철회","type.textcoin":"테스트 코인 받기","type.privateye":"개인 판매 2","type.offering":"공개 판매","type.num":"개인 배정 1로부터 잔여 자금 받기","type.child":"하위 계정 차감","type.issuance":"추가 발행","type.twonum":"개인 배정 2로부터 잔여 자금 받기","type.remove":"팀이 하위 계정을 제거한 후 환불","type.airsend":"에어드롭 분배 금액","type.aristack":"언락 스테이크 가속화 금액","type.getair":"에어드롭 받기","type.getstack":"에어드롭 스테이크 받기","type.locking":"에어드롭 잠금 금액","type.createiname":"iName 생성","type.cross":"크로스체인 민팅","type.crosslock":"크로스체인 인출 잠금","type.destruction":"크로스체인 소각"},li={"nav.assets":"資產","nav.manage":"錢包管理","nav.colorSystem":"顏色系統","nav.record":"交易記錄","nav.load":"正在載入中","nav.drop":"輕輕下拉載入更多","nav.nomore":"沒有更多了","nav.local":"本地登录","nav.jutkey":"钱包登录","nav.link":"連接錢包","nav.backup":"尚未備份助記詞,為了你的資金安全請儘快備份","nav.exit":"退出登錄","nav.wallet":"Jutkey錢包 —— 高安全性的HD錢包","nav.des":"前往裝載Jutkey錢包","nav.chain":"支持多鏈的去中心化錢包","login.sign":"登入","login.name":"多簽錢包名稱","login.address":"帳戶地址","login.password":"本地安全密碼","login.know":"了解並接受隱私權政策","login.create":"開始創建","login.load":"載入錢包","login.import":"匯入錢包","login.back":"返回","login.empty":"多簽錢包名稱不能為空","login.maxName":"多簽錢包名稱不能超過16個字符","login.pwEmpty":"本地安全密碼不能為空","login.maxpw":"本地安全密碼不能超過50個字元","login.setting":"建立並設置多簽錢包","login.safety":"多重安全,使用multkey錢包實現去中心化帳戶管理","login.wallet":"新建錢包","login.base":"根據您的需要建立支援多帳戶簽名管理的去中心化錢包。您需要為此帳戶支付少量Gas手續費。","login.new":"新建","login.had":"載入錢包","login.multi":"如果您已有multkey錢包,想在新帳戶繼續使用,您可以透過私鑰或助記詞驗證後繼續使用。","login.loading":"載入","login.use":"使用您已有的助記詞或私鑰還原multkey錢包,我們會協助您獲取鏈上歷史資料,它將顯示在對應功能項下,您不會遺失這些資料。","login.word":"透過助記詞匯入","login.restore":"使用助記詞匯入可以還原此助記詞下所有帳戶","login.private":"透過私鑰匯入","login.text":"使用私鑰匯入您需要的多簽帳戶","login.cancel":"取消","login.confirm":"確認","login.start":"開始匯入","login.privateEmpty":"私鑰不能為空","login.privateError":"私鑰不正確","login.mnemonicEmpty":"種子詞不能為空","login.mnemonicError":"種子詞不正確","login.no":"尚無資料","login.select":"請選擇多簽錢包名稱","login.incorrect":"本地安全密碼不正確","login.delete":"刪除帳戶","login.deleteAccount":"確定要刪除帳戶{{name}}嗎?","login.cody":"複製成功","login.accountName":"賬戶名稱","login.continue":"使用多簽錢包","login.account":"創建新賬戶","login.checkKnow":"請勾選了解並接受隱私政策","login.loacl":"賬戶","login.now":"當下正在使用的賬戶","login.previous":"上一步","home.newBuilt":"新建","home.details":"代幣詳情","home.signtip":"最少設置2個簽名地址,不能超過簽名總數","home.multi":"多簽錢包","home.create":"建立多簽錢包","home.receive":"收款","home.transfer":"轉帳","home.assets":"資產","home.setting":"設置多簽錢包","home.des":"設置多簽錢包的管理帳戶和權限,上鏈部署後將無法修改","home.team":"團隊名稱","home.name":"您需要為您的錢包命名,以便在簽名時您或團隊成員能快速識別","home.inputName":"請輸入團隊名稱","home.nameLength":"團隊名稱不能超過20個字元","home.sign":"簽名地址{{num}}","home.inputSign":"請輸入簽名地址","home.addreeType":"請輸入0000-0000-0000-0000-0000格式的地址","home.save":"該地址已存在","home.new":"新增簽名地址","home.num":"設定交易簽名門檻","home.inputNum":"請輸入交易簽名門檻","home.min":"最少需2個簽名","home.delete":"刪除","home.block":"區塊ID","home.hash":"交易雜湊值","home.address":"地址","home.date":"日期","home.type":"類型","home.contract":"合約","home.amount":"金額","home.check":"密碼驗證","home.balance":"餘額","home.send":"發送","home.recipient":"請輸入收款地址","home.count":"金額","home.dir":"請輸入發送金額","home.maxZero":"輸入金額必須大於零","home.maxAmount":"發送金額應小於最大{{num}}{{tokenSymbol}}","home.gas":"Gas手續費","home.comment":"備註","home.commentInput":"請輸入備註","home.expedit":"加急手續費(可選)","home.expeditInput":"請輸入加急手續費","home.expedited":"加急手續費","home.examine":"查看","home.initiate":"發起轉帳","home.achieve":"收到來自{{to}}的轉帳","home.wait":"等候簽名","home.finish":"簽名完成並執行","home.noMessage":"沒有新訊息","home.second":"幾秒前","home.messageDetails":"訊息詳情","home.notice":"簽名通知","home.current":"當前簽名數","home.tactics":"簽名門檻","home.rejected":"已拒絕","home.approved":"已核准","home.explore":"到區塊鏈瀏覽器查看詳情","home.time":"時間","home.content":"內容","home.signnum":"簽名數","home.collection":"請輸入收款金額","home.saveqr":"儲存QR碼","home.cody":"複製收款連結","home.give":"分享至...","home.limit":"輸入不能超過 {{num}} 個簽名地址","home.over":"不能超過 {{num}} 個地址","home.continue":"繼續","home.add":"添加代幣","home.build":"創建","home.sure":"確認多簽錢包地址","home.mistake":"請確認你的多簽錢包資訊,避免發生錯誤","home.mulAddress":"多簽地址","home.signAll":"{{num}} 至 {{length}}交易簽名數","home.noGas":"沒有足夠的GAS費","home.maxExpedited":"加急費數量應小於最大數量{{num}} {{tokenSymbol}}","home.inputAccount":"請輸入帳戶名稱","home.iName":"請輸入iName","home.nickname":"iName不符合規則","home.gasmin":"創建多簽錢包需支付上鏈Gas費,請確保當前賬戶中的IBXC餘額不低於0.1 IBXC","home.know":"知道了","manage.import":"導出","manage.longPassword":"新密碼不能超過50個字符","manage.safety":"安全性","manage.setting":"錢包密碼設定","manage.old":"舊密碼","manage.oldPassword":"請輸入舊密碼","manage.oldError":"輸入密碼與舊密碼不符","manage.check":"密碼安全驗證","manage.newPassword":"設定新密碼","manage.again":"新密碼確認","manage.new":"新密碼","manage.inputPassword":"請輸入新密碼","manage.againPassword":"請再次輸入密碼","manage.againNot":"重新輸入密碼與新密碼不符","manage.success":"密碼變更成功","manage.phrase":"種子詞","manage.custody":"請妥善保管您的種子詞,切勿告知任何人","manage.show":"顯示種子詞","manage.hide":"隱藏種子詞","manage.private":"私鑰","manage.custodyKey":"請妥善保管您的私鑰,切勿告知任何人","manage.showPrivate":"顯示私鑰","manage.hidePrivate":"隱藏私鑰","manage.language":"語言","manage.select":"選擇您的語言","manage.user":"使用者FAQ與使用手冊","manage.help":"幫助中心","manage.about":"關於我們","manage.open":"開源社群","manage.add":"添加新賬戶","manage.create":"請完成新賬戶的創建後再添加","manage.close":"隱藏賬戶","manage.use":"繼續使用","manage.clean":"清除賬戶","manage.all":"本地清除賬戶私鑰與助記詞,如需恢復數據可再次導入","manage.current":"當前帳戶","user.dosuccess":"操作成功","user.chain":"正在確認中……","user.tips":"提示","user.urgentpay":"加急費(IBXC)= 支付的生態資產 / (跟隨比例 *生態精度)","user.tokensave":"代幣已存在","type.package":"打包服務費","type.taxation":"稅費","type.trade":"轉賬","type.tokenTrade":"代幣轉賬","type.create":"創建錢包","type.iname":"創建INAME","type.issue":"發行通證","type.coin":"銷毀通證幣量","type.private":"基金會領取","type.team":"研發團隊領取","type.partner":"私募一輪領取","type.foundation":"合作夥伴領取","type.nft":"NFT礦機挖礦","type.mining":"新建NFT礦機質押","type.pledge":"轉出質押數額","type.exchange":"代扣兌換","type.burning":"燃燒","type.detele":"帳戶刪除","type.paid":"候選節點繳納保證金","type.nodes":"代繳候選節點保證金","type.voting":"候選節點投票","type.deposit":"撤回候選節點保證金","type.withdrawal":"撤回候選節點投票","type.textcoin":"領取測試幣","type.privateye":"私募二輪領取","type.offering":"公募領取","type.num":"接收私募1剩餘數量","type.child":"子帳戶扣款","type.issuance":"增發","type.twonum":"接收私募2剩餘數量","type.remove":"團隊移除子帳戶之後的退還","type.airsend":"空投發放量","type.aristack":"空投加速質押量","type.getair":"領取空投","type.getstack":"領取空投質押","type.locking":"空投鎖定量","type.createiname":"創建iName","type.cross":"跨鏈鑄造","type.crosslock":"跨鏈提取鎖定","type.destruction":"跨鏈銷毀"},mi={"ar-SA":{translation:Xo},"bn-BD":{translation:_o},"de-DE":{translation:$o},"en-US":{translation:qo},"es-ES":{translation:ei},"fr-FR":{translation:ai},"it-IT":{translation:ni},"pt-PT":{translation:ti},"ru-RU":{translation:oi},"tr-TR":{translation:ii},"vi-VN":{translation:ri},"ja-JP":{translation:si},"ko-KR":{translation:ci},"zh-CN":{translation:Zo},"zh-TW":{translation:li}},Oa=localStorage.getItem("lang")||"en-US";$n(et).use(at).init({resources:mi,fallbackLng:Oa,lng:Oa,debug:!0,interpolation:{escapeValue:!1}});const di=X.fromInt(255),ui=a=>{const e=[];let n;for(let o=0;o<256;o+=1){n=X.fromInt(o,!0);for(let i=0;i<8;i+=1)n.and(X.ONE).eq(X.ONE)?(n=n.shiftRightUnsigned(1),n=n.xor(a)):n=n.shiftRightUnsigned(1);e[o]=n}return e},gi=(a,e)=>{let n=X.MAX_UNSIGNED_VALUE;for(let o=0;ogi(hi,a).toString(10),Ye=a=>new Uint8Array(a.match(/[\da-f]{2}/gi).map(n=>parseInt(n,16))).buffer,pi=a=>{if(a>=0&&a<128){const r=new Uint8Array(1);return r[0]=a,r}const{buffer:e}=new nt.Uint64BE(a);let n=1;for(;e[n]===0&&n{let n;return a instanceof ArrayBuffer&&(a=new Uint8Array(a)),e instanceof ArrayBuffer&&(e=new Uint8Array(e)),a instanceof Uint8Array&&e instanceof Uint8Array&&(n=new Uint8Array(a.length+e.length),n.set(a,0),n.set(e,a.length)),n.buffer},Mr=a=>{let e;return a instanceof ArrayBuffer&&(a=new Uint8Array(a)),a instanceof Uint8Array&&(e=pi(a.length)),yi(e,a)},ye=new an.ec("secp256k1"),fi=20,oa={generatePublicKey(a){return ye.keyFromPrivate(a).getPublic().encode("hex",!1)},publicToID(a){if(a.startsWith("04")){const e=ie.enc.Hex.parse(we.keccak256(Ye(a.slice(2)))),n=nn.SHA512(e).toString(),o=[];for(let w=0;wparseInt(w,10)),p=ne.checksum(c.slice(0,-1));return X.fromString(i).sub(ne.remainder(i,10)).add(p).toString()}throw new Error("Unsupported public key format")},sign(a,e){const n=we.keccak256(a),o=ye.sign(n,e,"hex",{canonical:!0});return o.r.toString(16,32)+o.s.toString(16,32)},hexHash(a){const e=we.keccak256.arrayBuffer(a);return we.keccak256(e)},signContract(a,e){const n=we.keccak256(Ye(a)),o=ye.sign(n,e,"hex",{canonical:!0});return o.r.toString(16,32)+o.s.toString(16,32)},verify(a,e){const n=we.keccak256(e),o=ye.sign(n,a,"hex",{canonical:!0}),i=ye.keyFromPrivate(e,"hex").getPrivate().toString(10),r=ye.recoverPubKey(i,o,o.recoveryParam,"hex");return ye.verify(e,o,r)}},fe=new an.ec("p256"),Ai=20,vi={generatePublicKey(a){return fe.keyFromPrivate(a).getPublic().encode("hex",!1)},sign:(a,e)=>{const n=Ce.sha3_256(e),o=fe.sign(n,a,"hex",{canonical:!0});return o.r.toString(16,32)+o.s.toString(16,32)},publicToID(a){if(a.startsWith("04")){const e=ie.enc.Hex.parse(Ce.sha3_256(Ye(a.slice(2)))),n=nn.SHA512(e).toString(),o=[];for(let w=0;wparseInt(w,10)),p=ne.checksum(c.slice(0,-1));return X.fromString(i).sub(ne.remainder(i,10)).add(p).toString()}throw new Error("Unsupported public key format")},hexHash(a){const e=Ce.sha3_256.arrayBuffer(a);return Ce.sha3_256(e)},signContract(a,e){const n=Ce.sha3_256(Ye(a)),o=fe.sign(n,e,"hex",{canonical:!0});return o.r.toString(16,32)+o.s.toString(16,32)},verify(a,e){const n=Ce.sha3_256(e),o=fe.sign(n,a,"hex",{canonical:!0}),i=fe.keyFromPrivate(e,"hex").getPrivate().toString(10),r=fe.recoverPubKey(i,o,o.recoveryParam,"hex");return fe.verify(e,o,r)}},ki=64,Ke=12,ne={validatePrivateKey:a=>!a||ki!==a.length?!1:/[a-f0-9]/i.test(a),checksum(a){let e=0,n=0,o=0;for(let i=0;i0&&(o=10-o),o},remainder(a,e){const n=parseInt(a.slice(0,a.length-10),10)%e,o=parseInt(a.slice(10),10)%e;return(n*(10**10%e)+o)%e},addressString(a){const e=X.fromString(a,!0,10).toString(),n="0".repeat(20-e.length)+e;let o="";for(let i=0;i<4;i+=1)o+=`${n.slice(i*4,(i+1)*4)}-`;return o+=n.slice(16),o},stringToAddress(a){if(a.length===0)return 0;a[0]==="-"&&(a=X.fromString(a,!0,10).toString()),a.length<20&&(a="0".repeat(20-a.length)+a);const n=/-/gi,o=a.replace(n,"");if(o.length!==20)return 0;const i=X.fromString(o,!1,10).toString(),r=o.slice(0,19).split("").map(Number);return this.checksum(r)!==parseInt(o.slice(19,20),10)?0:i},addressToID(a){let e;a=a.trim();const n=a.split("-").length-1===4;return a.length<2?"0":(a[0]==="-"?e=X.fromString(a,!0,10).toString():n?e=this.stringToAddress(a):e=X.fromString(a,!1,10).toString(),String(e))},toMoney(a){const e=/([\d]+)((\.|,)([\d]+))?/.exec(String(a));if(!e)return null;const n=e[1],o=e[4]||"";let i=n;for(let r=0;rKe&&(i+=`.${o.slice(Ke,Ke*2)}`),i},getKeyring(a){let e=oa;switch(a){case"SHA256":e=vi;break;case"KECCAK256":e=oa;break;default:e=oa;break}return e}},bi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAAz/SURBVGje5ZpbbFzHecf/3zdzzl64JJeXJSmRlGnKqmxJ1i0WasuN68h2HaOJY1jIQ1OgDwWKon1ykQAp0KBA0KJPRV20BfxWBH1pAQcwIrttXEh2IMc3VXIsJZYV3ciId5GSyOVeuOfMzNeHc/ZCirZ2Kapx0QMMl9xdzpz/7/vmP5czwK/3orj8Wm/gf7MdAsAAVFw4ft8BsHFxACR+X1po4wsHoBpdlfZ0+svD/f17B7pHt3Z2jGYzbUOpZKJHa50EICY0K6XKyo3FQnFyajF/9dzszavvTFyfWzGm1ADknsC4FwBi4Zx49oHB4SeH+x7fsbX/qYH+gQPZ3txQujObSaTTrDwfxAqAQJyDCQIEpaIt5RcLt+bnJ2fmZs9cmp478fbE9feOX5maBCS4FyA2GwAD7L+wa2T0maGeow9uGz46OLr9wc6BoYSfaQcrHX1LJCqr7oSiAsBZg0ohj6XpyZWpscvnP7029cP/mlx47fVPx8cACRFlxRcKAAFQu7cN9fzBSM+LB7bm/njkoT17siPblU6mAScg524TXm18FYoYhDADTDDlIm6NXbLjFz45e2Z64ZUfjN/40cWJqZtY7RUbvtQmifd+7+CuXX843PH9R0eHXxo99PhQ++A2VgIgCEBhCFgDGAtYA7IWZC0Ql7V/wxqQCQFjwKyR7unjnt7clr6g8NRDnhvUHV2Xzs8uLGITMuFuARCAxEuH9z7xjax6efd9257r/9Jhz09lIuHGAMasEefuUCzgVsOAMdCpNNpzA362uLhvyBb39/b3Xzo1OTdztxDuBgABSHz3y/uf+Z20e3k017uv+8BjUNoHBUGDcBNFWSzEWZCykDAW+VmlEZirQyClkezOUdvN2eE+Wz40sGXLxfcn5ibuBsJGARAA788e3/fEMyn38pDmndl9j8KrRj4WDWtBzkKsg+oySO4MQAkDOy8QdwcIrv6/NRDGgJWGTmfgT4/39Wrs7+rvP3dqcm4KG/SDjQLQ33pk967nO9XLQ0FxX2Z4O9IPbAPCAAhMrV9LXGAtdE+I9MEKAAszJ3AltzrS6xRp8AixFnAGsAacSAGlIhI3Z/u608kHTGf3++dn5m9sBMJGAPDOkW29fzTU8f3tYfG5pBDaduxB2wGCVAzcYhS5RhEkFmIs7JJDeE1g5lwkyNTTnO4AYxUQ50CsYCZ/hTay27oz6eTpino3n8+vtAqhVQAEIPHnB7d/az9VXmorFD0/3YHUjhG0HV4BhQbBONb03/jmiw5mXmCXHBBYcNqAUxYEC6ncORvWgiBm2LlpoFRAW0LvyHV1Xj0xNvMJWvSDVgHw0YO7f+O5Lv6bAb8w5KkyErkepPf2IrW3DGKDcEIAsiDPAGIglQYYJi5i4d9fQeYrZUhoo/9pAQCsAcTBLszD5hfhK/aTSX/rUlvXWxfnFm61kgW61eg/3ZN8sd+WHm7bXUL2SB5+rgTdtQxSDnoA6Dy6AggQzjFKP/Vh8nx7Rb4AZKI+DQOIBwlbnJMRQCCo0ABBgP5EcPCrfekX3gD+AUClWQitZAD/7v5d9381q/6yp1Ta4q6EwJJBancKeiALiAWRBfkGwRVB8W0FM7t+ZCWwsPMO4ZSgcgGQwNX9oIVir8/ALecBZmjFzEk/O5PMvjl2fWGpWQCtZIB6ojf1Wz2usotNCKo4FN/2wNog990yyI8iaGYV8m8ouHz4uRNtCYCg0FrQV13OQUpFkAjYWkgYoteFe47k2h59C7iGJr2gWQCE9u70qI8j6TD02URODBJ4A4sgvQQznQFnHFQHwAnABnzHlQYlAFlB6ysSIki5BCkWAAjIOrC1SNswtT2ZPAIv8zrCQvThJgHA8zsGBnrZHdTGROKdQLULkjtLKBxfRPHdDugc0P5cBd59gmDM/0xh5Al0v0Nyt0X5rIadJ4htgQIB9sZ1SBiACBCJIHjWIJewjzz90FDu+LkLTeVX0xmwpzM5moEZZGfB8cqO04L8f/hY+WQZKleEmfVhZhl6qwGcQBzdHgQhgATJhwNkfjuAVHwUpn2Iid5vRr1UVmBvLDS+EwXFOnSQG97XlRo5DoxvZgbwlgSPJuEy5AQkEkVhgVGaYwArAM1A9fYhnGaYWQCwiL8W6a7+oLj//9JgORBULlu4UlDdCrjjJc7BLsxBgko1GeJtEgGJQ1Jsx2DSux/ASTThA80CUB2ahjxxTCJ1UYKaQrecB0BQnVkI1Ye+aggoJeCEgBKAmWWsnBOUP2KQtoBxzVm2c7D5W3Fb9asKj0TgQXSnpiHU9xs3A4DWKaYe5QRcTVOKW65ucIjALS9Fa/lMe7zdVY0akHzAoPPFCioXFfKvJ+BKVMuGZkxQrIUU8nCl4uoPGlIn2m11SCvKockhvhkABPisWBLs4vYaN7MbGEAErlgABQEo3QbSXvQ9AUgZcLIC8jVIE1xIzbm/ABIGkHIREoa3aa/GobYTSYDHSAMJjuZDdw8AgAgRgRhgIghHrQrJujYjYQDJhyDPB/k+oBRWfkFYmPMgBjCzFlDrJX2DY4jEk6YAEga37yE2QqBYOUe/U7WOTcoAAUJxoAqYQYpATJGZV0MAuf3+RCBBJbp5VpCygr3FIGaA7Pr2JAKRyM3FGqC6j/g5wqMCEFchEAxREQg2cyJkzIpgQZijhlTUEDuBI0BkneGuQRSsiQQBkIbd39prg498luC14lETjigoigDFEMUoG8wjesiyWQBglywmrceONDMxQxTBOYq7ngCuqXtvWmQzEIijDGCOAIhiGFZm0WISTU6FmxoqALiZFXelQroArUCawYrBihrSkJoey+9aeEObrAisGaQZ8BQqrPJTZTu22QDk3K3yWIHUJDwN8hRIx42rOAJVA7qHEGriOWqz2j4pBmkFaIUC1LWf3SiNo0kXbBYAjn0yNTfv+IzVGvAUSCuwZqgYQAShwZQ2EUS1vrp4gBVB6Tj6XhR9qz1ct3z6+MfjC83W3XQGoHyreKWMt0rKq1SzgDVD6fhGmOsQmGomtRniQfV6o8hH4FUt/RXgaRS1V7pUlhNAqYzNzgAA7sRM4d15eOfF80CejrygEUJDNvCaYWojwmv9nFCvN458PfoK5Gk438d18X7+48n8h2hhX7AVAPLGmV9MXKrwD0ue78TXMYR6JuhGEDUY9dStp/JnCV7r7qhFvCpc69WRJ60gvoeS9s0vV+jVt85+Ot1s9FsGACD49+nia9PwP7a+jwhCnAVeI4T6KFF7XeMTtYhW3280t5rBcQ2m0lwDrOI2yYvEm4SPKfinfzSRPwYgbAVAy88Fzk/N5fePDpvBFD+VEuexCFhktVFVJyjxTHG9Wdvq4bMRDNdAVCOt4qgrzRFczWCtIAkPNunjhp9aPrnMf/WPP/nZT9HkBGjDAADIxYq69qUtXUM5H/s0HBiCaHlQF8jx2qG6fmBG3chqn1XNjVcNa5HB1Y1OKa5llaqlvYZN+CglUnLOJP/lLz6ceKWwnC+1Ev0NA7i1uLTidfZcuj+b2pfVGGbEWQCJp+P1dK4NW9zgCXx7F1hPODdEXKkIADTDeRo2kUAllcZFpE7+YKzwvVMXLk1hAw9JN/x0+NzE7M3cwNbLW7vbD7WnEjnWHkgpEHMNRG2R1iCemaCYwAr1qGuKBa6F0OAjWgPJJCTdBpvJoNLegXFKn31tpvKdf37no5+jxdS/awAA5L2rU9NbhoYv9nVnD2Y6MjlOtYHaMuB0BpxKg/0EWKuoX1ddvbqsrkJQ9TlELdW1gkr4UR3tHaCOLJDthst2wbRnUWnvxBhSZ1+fLn/7b998/30ABht8Ony3UxUC4H/n608+9rXtfX+9vc07nBZHyloo56CcizcrTbSZEQZAGEJMGK31xQGIJ05Kg7QGtA94HsjzIEpDmOGYYZlhlUKR2F0uBO8cuzj3vb//z5On0KLrbzaAah36948c3vnNfdu//VBv+ze7PNXmxQBYBAwBSW3rIFo9ouG2q6tixNtkiJbNDoAjgmVGyIybgV0+v5D/t3/96NLfvXrywyt3E/nNBFCth3eOjnT/6dOPPf/IfQN/MtjZti+jlVbxMMlADcR6Ddd21QhwILj41RChaKyZXCycOTU+88o/vfneG1cnJhaxSYek7sExOXgvPvn4yNcOPfzCg1v7jvZ1ZB7OJLykxwQF1DMBsuaUGMWRj9wsdIJCJSjPLRXOfTo19+qxU+eOHXvng18hivoX7pjc2joJgP/s4d/c+uyhvY/tGBw40p/teKQ9nRxO+V67p5RWxKs2hKw4hMaachDm86XytbnF/OmLk7MnfvzfH39w/IPTM6j39S/0Qcn1QHAikUx95dCB3MGd20cGcz2j2UzbYDrh5zymNgASOimVKsH1W8uFycnrC2NnLlwe/8npj+fDMFjB/8Gjsp/XTvWwdPXA9HqHpRvF3vPD0v/vr/8BFsR+Jy5shYcAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTItMDMtMjJUMjI6MTQ6NTEtMDU6MDDipL3hAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDEyLTAzLTIyVDIyOjE0OjUxLTA1OjAwk/kFXQAAAABJRU5ErkJggg==",wi="/static/hongkong-CmLQsAWM.png",Ci="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAAscSURBVGje5ZprbFTHFcf/Z+Y+9uG1jc0uBtsETHgZghMaEE6TqiJt0yoPpdCkUtXvadSPSatKzZeq+VQpiRK1ypeqVau2SkWqBIiaVoI+UgIJhSRAeBObwvq5+LUP7969M3P64e6atXnt+kGoOtLR2qPdmfn/zrlnHneAz7dQyT7XAdzOfgiAACBLJkr1BoAumQHApXquoY87DkDZu9KyrEgi0bykqamxo76+viMSibSFQm6zZVkhAOz7quB53kgul0tmMpme0dHxnuHhK0NK6ckKIAsCYyEAEAASQrrLli1pTySavphIJB5uaWm5Lx6PtzU0LKqLRqPCth1IGQSA1gbFoofJyZweHx/PplLDycHBwaPDw6n9w8MjB/v7h5LMprgQIOYbgBDCclasaO1oamrY2dbWtnPVqlXrWlvb3VisHlJaYAaYGcxXdRAFQxGCSkAU0ukJJJOXCz09F04lk31vjo5OvHXxYrKX2fgIouKOAkAAZFtba/OiRbEd8XjzMxs2bNy4atUaGQ5HYIyB1maa8OCDp35OVIZBICJIKSCEwORkDhcunNUnT356bGRk7PWRkfTu/v7+UUzPFZ8rAAJgr1+/Zr3jiB+0trbu2LJlW3jx4gS0NtBaTwnnKodLVAlCQkqBVGoQhw9/kBsYGNjleealM2fOnQPgzxXCXAEQQO6mTesfYvZfbG9fvrW7+yGEQhEopWDM9FCfVQcUPBq2bSGXy+Lgwfe4v7/vEGD9+MSJ04cAlHPDrIqcIzy3q2vDV5UqvNLUtLiru/tB2LYDz/OglIJSGkopaK3naAq+78OybMTjCRoc7G/P53Nbli5dem5oKHUZc8gJswVAAOxNmzq/pLX3CjPWbt36AKLRWEn8fAkPTKng0/cVLMtCNBpFb29PAjD3trQsPT48nOqbbRTMFoDV2bmuk0i9MjGR7lq5cjXuumslPK9Y8vz8ib8KQU1BCIXCyGQyGBjoT4TDzt1NTYsPXbkyMjIbCLMBIJYvX744GrV/kk5nvmEMsHHjJliWDd/3F0T8TAhaG0gp0dvbC63V8mg0HJLSfT+TyRRqhWDVKJ4AOM3NsR25XGZHNptDY+Ni2LaDfD4/54RX9SCI4LohuG4E2ew4HMd5Oh5vfL+vr+/3qDEp1gygs3PtKt8vPpPLTYYLBR+O48L3FZj92yK+sjiOi3y+iGw2V+c4zvfWrVtz4MyZcxcWCgAB5Lqu3JFOZ+/J54vwfQUA8Dzvtnl/ajCllZPvKxQKReTz+c2xWMOTAF4D4FULoSYAd69f3V7wizuy+YLIF314SiNX8JArFG6r+HKZLHjwlIYoKlj5grTD4W+tXLv6zd6z5y8uBADZHbIftLLpzqwXiPeNwaJMBivyeZAQNTQ198Jaoz6bxYQxsH0F1/NR53kb/UhsWy9wCVWuDaoFQGheHHnM6O2dXtGxfA2hDcCAyGTgptOgcBhVr3XnWojAuRy8bBaGAWgD4yv4nhc+EYlu/12sYS8yE1lUEQVVR8DjieaWuPI3O0UfUmuQKQEuFMDDw5AtLbd1FlBDQxCeF5yoGAMuPQpLlH//V5Yl4vvOTmSraavqCNjoWh2xfKFVKA3SZpq39dAQRCQCct0Fh0BE0IUCdCp1tZIZZAyEUogp1d4Viq7YB1zEPEaAWErocJWqI21AhqeaZgCcz0P190O2tCx4LjDGQA8MgEuJl8qDMAzSBiGl6lvDWAngPVSRB6oFIBvAbbbWQhgDCk41puE1ExMAEeSiRcBCQTAGenQUJp2eVk3gAIBh2FpbDeA2XD1vnAcAbtQKMzdLw1PirynMMOPjgFIQ9fWAnMtG8zpFa5iJCZhc7tr+S4crghmWYUQYcZAtUcXirBoABNsSktkVzBC49sGa+p8ZJpMBex6org5k25g66pltYQYXi+BcDlwszhhYxbk6B98VzLDBEbiuQGF+AAAAV3ZGuPm5NReL4LExkOOAXBeQMli5Ed16qix9h5kBrcGeFwi/we+mQaj8u0ru1QBg+IoNkUdE17RLU1+a+Su+OngpQVIGn0LcOCqYwcYEwrUGtK5KOJW4lc7SoIhyKBTncSHk5VSexBUWYuqsrtx6ZTTcSBSUAqtg38DlSJgJoZxbqphGZ3qbCBAgMBFYEPKgFLio5w8AoNNESS2FISEEEUEQwTBPC7+qVgBViqwGQtkECCQIEAQlpRonSqLKpXC185UZYHzmWVaWpAAJgqDgxzNDcaHLzP4EAEEACQJJAc+y0n0GvfMNgI97qjdr20lYEiQFBFHQOa4FcTvEl/uVAARRkFssCxnLvvRxwb+IKgOy6hXLnsGRoZRjH9VhG+RIkC0gJUFKQMhg7UMzDPNklW2KsgU5FcIikC1AroQKW0g59pF9yaEr1eqqehrEaCrX+2jL3zZsc56OhaRraQGhNUgDXDYDoLxNmM+3eCW3U8n1JEtAJMCSYKSALy1k8u7kZwflfnw0nq+291rOA8y+jP9+972hU80d+fuk9GFDQxgDUgwoBFZ+wV35TrdyKDcb1vXm2JkxbyGIewtgi2AEwYcFX9lIXQideHdv8UPU8J6glkU77337zOUzp903s5mQ0dqGMRLMNH2QlSIqAZRvAJib2K3gzeiHmaCNhNYWspmQOn3K2bX/r2f7UUPs1QQAQHHvn/VbfYORT3ztQJEFIwXYIsDGdLMqvDUtY9VgsqKdGW2zFYS+JgtF7eJyf+TIW3vVHtT4vrDmHcup01fSm+9dptpa+eFQSNlCGJDg4Jm83hx1q79nhvhM4ZVWFi8JRgho2PBNCFfG6jL/OBD96as/P3WgFEdVl9ls2fjs+fClL2yOtsXjusuyNYgqIMycG2vxdqXNFG4H9YF4goYNxS6yk1H+5HjDb3/0wvjr2Wx6shbvzxrA6NhEwbLj5ztW2l2NjaZdSgMiLkHgqWx9S8GV3r6R+IpHiSVgqOx5F3mvDmcvNLz3q9/wCx8c7unDLF6SznrTfux4ajQRb72wbFl0S6zeiQtpg8gK9goSIME393Cl0OuJnlZHYGnBwIVGHXxTj4LfiJ6Ljcf+9LZ4/pe/PnkCNYb+nAEA4AMHh/qXLl1+LpFo2FwXq4sLUQeIWMmigHBBQgKSbh3yU0bBCsdyABkBy3owNcFQMzQ3Q5km5ItN6LlYf2z3O/zcz176+BCCCXhWq455uCAB54fPd3c/8WjDi6s66IFoRJElNaTQkMIE+QEKhCLAZfMDh3EpYqk0wZMNkAOQDUbJWEAbAW0klJbITVrm/AX+19t7xl54+dUPD2OOt0Tm64qM9d3vbF377afanutcH36qaRFFbUtDSgMhGIJ4agdMNzxKoVItTW0YDROMIWgtUPQlRsc4c/LU5Bt/eOPSy3/cdfQzzMHz8wmg3I5Yt3ZF0/efve+JLffHn21rDXdFo2RZFkOWIZQSZPnEZto2mqdOtcCmJJwJShGyWVaXk5NHD/879fprvzjyTk9Pchx30CWpyiIA2Du/uW3F44+tf3LduuadSxLRe+rqrJBjE4SoiASaPnbmsucJ2gC+z8hk/fzQYO746TNXdu3ec3rP7r2H/4PA63fcNbmZbRIA5+uPbFn2yNc2dK9ZHd++ZEns/vr6UHs4ZMdsW1hS0tQbXmaG1oyib1Q+76fT6cKloaHMkbPnhva/+5dPP9i3/6MBXH3W7+iLktcDIVw3FN7+5a745s0rV7S1NnU0NkZbIxE7btsUBcC+z5O5SX94fCyXTCZHeo8c7bn4938eS/l+sYD/wauyN+vnmrOMUn3lZelKsbf30sH/Y/kvupBEU/Iui1MAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTItMDMtMjJUMjI6MTU6MjktMDU6MDA0TJGhAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDEyLTAzLTIyVDIyOjE1OjI5LTA1OjAwRREpHQAAAABJRU5ErkJggg==",xi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAA5GSURBVGje5ZpZbFxHdoa/qrr3dje72ewmu7mIpBZKFm1Zsnbb8iLYMuTEYyfjJR54JkEeJg8TJw8ZwEGeBgEGCIJ5CEaYAMEkT0GCBHBgD6yxnLHHjryO7MiWZXmTLYnURlLcl2bvd6nKw22KlEw7TYryOMgFDur2cqvO/59T556qOvDbvURNfqsKfJ3jCEACqiay9r0GgppowNS+N0sY4xtHwJx1VcyyG/Z0dLTd3JLp6Ug29TTF412xSKTFsqwoYHzfr5QrlcmZYnFweDZ39pPJibPvjAyPVn2/tICQ60LG9SAgBC5EZF/3mu672jvuXN/Wfl97e9v2dDbbFW9KJZyGBmk5NkIqAEwQ4Hsu1WIpKOZmCtPj44PDIyPv94+OHn5rZPjtNwYvDGJwrwcRK02ARAjnwfUbeu7Jtj3W29X9WOf69TemOjsjkUQjUoWA0QbMVTiEABmqowOfaj7P9OBgZfBs/8lTg4PPvjY++txL/X3nAI/QK75RBAhAberqbnm8tf3RW1rbfrBu082bm9f3KDvaAFrPgzYG8SU2NKJGxBwZUuKVi0z29QfnTn764YnxsZ//x9jwL88MDU1xZaxY9qVWCLz9Bzdv2fTd5syPd69e88Mbbt/T1dTVLaUBqi54fih+EEqwuJi53/zafz0fIRXxbFa2ZLMdLcXSfTcgOu106szn42MzrIAnXCsBAog8uX3n3vud6IGbutc80Hnb7bbTEIeqi/gS0GYx8Fd81vPP+D7G97GiMZJtbU4iN7u1vVzZlmlrPXN8ZHj4Wkm4FgIEEPnhzt377zbywLqW7NbWW2/Dsh1w3XmLLwS1QMxVcuXvC57za57h+0hlEctkRGR0vLulWt3d3tFx+t3hSwPXQsJyCRCA/Wc7du29G3WgQ1i9md27cRri8+AXWNUsU67wjDkSLAsrHkddGGhNC7Et3d7+0fGR4SGWGQ+WS4D1nS1bN+23owfa8+WtTWt7iHd3Y1xvfv5+hbvXK4tOFc/HikbR+SJqdKy1ORbdYJrT73w+Nja5HBKWQ4Dc0L4280epzI+785UHnECS3LQJqSyM61922esmXoAJNEIpqucGiAVmdSoWj57wOJIvzVaWSoK1RPACcJ7c3/zozW7h0fhsgUgiTeIGkDL/NSSu81pEMhJTkLjlGbYkE9/5i02ZI3/1bwP/DpcTputDwBPf7l1/97fyP9iQmYlFKGLHI6jkFAgQXxMDBgEG2u4p4paGqRJPWGOpP314cuNvDr54uu96ESBARB7aqx7tbC1scZwqtvFQjkFa1aWMec2XoDZcxOAEHogq3W3lHQ/f2/TwwRf5e6BuhZYSA+S3f3fjukf2+X/d0VTosKliCQ9pNSLsZjDBAvHxgoBSVRNRHhj/qt9XQAigegmCGQwSaQkpLCd1Ybzl12fPT+XqJWApHqD232Hf1Zaa3WRJD2UChNEInQddBiHQWhJoScVXTJQcRgtRelvyRG0fR2mk1LVpshIZeIDQBQQaKXwsPNrS1c0P3N14+yuvc5E6c4N6CRCQadiwOtgXj7mOJEAIHcII8hDkKHgpZsqSYsUmQpVqOcCrGMpWieEgRjwGUQuyiQpS6mubMUJAUISgUFs2aBQ+iVg11rs2vg+aDkGuQB2j1O0BjzzY0t7a7O2wlYfUAdLUCNAV8MYZnkxR/rRCcdrgVwOCgqDS5nJ+UFDtcsngM9kD8V5NIlK9BvSEqyZvFEy1tvbWSBHgKJ+2Fm/X/fe2Zl9+LVeop6u6PWDbTVZPMlHplCK0/mVyBeCPkpBpzl1MUJkw6KSPRGHyHuPGwYz6FKds2toqRJQLBNewsheXSZ/7KIRBCI2UPsmE371rS3zty69xvp4R6iVArmqnJxrxE1JqhDFIoJAT9J+VdHZU6eg8h75/FR+ejDKlJbY2WFUfN1PFMppV23w2b/aQgeT8gMS2oKNdI2WdGly2vgZ3OCRhjpIFJMSifrKrg3XAm9QRB+olQKWSpsu2AymERshwXX9pQvLsEdh5I+wVs3gDURLlNEN9Nu6Uoqmrh3hXCrujQqYnoKpm8cr9HP1IEm8wZDMaZ0mZiAZ/CoLZKxwCDEIahDDYTmClmkwX8/uNK0FA3IrFTIuyQr8VxoCBaLPN2h0dZLIT5AaqHP87Tb61gNOUIJ1zSOy/j+jGXoLRMS6O2JTaR1ht/Yzm9Skc5SGYqn8amACCXBj8Fk6/uVaEJChhiDeQBVuFm0dffdXDkgBLKmUiQhqErD0loCnVyYZtf8uqzh04lsZThqF1EwyuHqREHrQhuJAj1udheQ0IJbGVIbvm+yQzD6CEC6YKxv1y0dXwTeONQ7BIYK/tM4d6GYQy2LZpgMhKegDhpF/QpfYgd65Ctf9NhooTiKEo2pNMmDV4HqyaLODmZlCd6zCTLhEUxSnJmU9gRhzFbihQ6g1IpIMv8j0XIU0QEqQXSe/FVbJQvyXElXr+asA3gRZVIwWmtqNfmJSc+kWEwDjoSAwTgHZ8ojrAKVn0J+O8cKSP4ZMfU2i2cYUBIQkCD2JxJs5o+n4jwHgLxA2TKl2s5Rf50AO+bJ4sOGUI9RIYIfB8UQR3JROhol+qyokAiZECgyDeGrDmwShDznbKbx1j7W0VLvbZrL8wS6lgc6R7O4PtMVrf/4D0XR6lKWhpOYstZylNp4lvUnS15Gppco1nU+e7cTHLK4GRgkALihUxDm7wv3dU/xQIcrNi0NNS40iJEGgEbl+O8vmX6No6TbwnILLVxXZdorOSzFSO6nCMptJxOPYSUkgqlqbnQZeht05Q+nSCyn0GuoOl5QNfAF4DXyPAdZU/PSsGWeFUWA+N0F9xrYJukEkjBIEBnUzT8id/SDqSwy5+hlJgJETSmj3yA4JJh0y7T6HZoWHaBWOItwravvctht87Tbl8fAnI+eK8VyECYxESICSVqjU7eIlz9RJQb7gwJz72z80W7UEtFFpJnLRhzQNlrEQOTCmMxAKkEOGuSSIg2eJhOQZ8ahkbGG1wKxOk1hdYt9Ot3/pXu30NPAqMJTBKEgiLXMG+eOyEd546e647Xh58YXJ0dMJ+3zM2Wiq0spiszjI6/BNG8n3YtgyTGhHm5lq14Ca2oAuS+JiLLggS2YC8Lzjb/y8Mj75CKbCXD94OxdgheC0VnrYYnbCPvXJ4dKJeXHV7AIwX+85ZrxbKTlULhSsc3hx5gtfG/pxXLn2fIJJiyz1lkp0Sq/NmSpt/j4mNtzK7+n5MY4bMOp/efSVOjG/j9cEneHXwu5yaXP/VK+PFgM+Bt0IxSqBr1s+XI6VT/eowzJTr9YClJKL65Ve9I7fuip5MJUvbbRVw3w3Ps6f7v3B0maZInkivIdtdouSOM+0dpVDWNEd9knqKRLSIUrArcpK1TZcQwtAen1xczSsyPOYDnqxpPGd9Kwx+Wlj4gc3oePTjX73sHmUJ5wRLIcAc+tXnA48/uvnZzo7o1lTckx3pS1jGD+e4F0o0ERD1L9IcXIQkVx5uG8g25sgmc4tXAFwNfGGwm5M5AqyQgEAoAmNRKEf9z844zxx+7ZNL9Vp/yQQA7qEXg+d6e+KPxVd7O6TSGFyUDhDaXFHmYAIzX+6w2An/1SqKq+4Xuj0ghJhPEjWYQBAYRYCD60cZGIwfe+6Q/3zNFNdtV9g884vPzu7N3PZPSZ050FysNFjVKsL1w9McrQm0ITAGrXXYGoOZawHm2gVaLjQ8tbeIFAIhBFIIlBBIKVFCoKRASImwFMa28SMRJhPR/FHh/+Oh/zx6YSngl0UA4B04OH5w1dqNd24vxf84lq8iy+FxmAk0gQkIjCFAh1K7DwkwNUcwl5O/OeS1qoqa4UPwCokSEk14jxAYoRBKgmOhow6lZNR8EpVP/6T/0xcIJ+OSCFjOyZCZLk5X7Gz6zLpEfGtKym41t1YSBikFUoCSoRWlFCgpUUqGrRQ1kVhKhCLlAlHYSmFLhSMltpTYSmFJibIU0pIQtTANDl5TlL6EevNfS2M/eu/8qSGWcUi67NPhj0cuTWVXdfR1JpO7k5FoVlkWQqkQNAJhQCFqsUuG90KghLwsllA1kTVR2EJiIbEJW0tIlFAo20JEI5BowDQl8JoTnE84Hx6szvzlPx8/+jFhxFnydS3H4+adoYuXOlZ3n25Np3Y0NiayKt6AbIwjG+OoeAwZcZDKQgmJRIQkmFqLxDICCxGCr4G1pMJSNpYTQTXEsJKNyOYUoiUNLU3oliRuc4LzDdaHL5Snn/rp22+8wzJcf+661g16AThP3Xv/nodau/6mx4rdEfOMUF6ADAxS68vFDsbzwPUwrofxvfDMf65OSEqEUgjbQtg2OHbYWgqURCuJloLAVpRsofv80luHhi/+6GdvHn6XJUb9lSZgrg/re3fc3fv4hpueurEx/XhaWHHLN6jAIHVYExTuWi2I/+aqt4CYV8WI8PjECELgSuBbgint5U/mp59++vSnP3326Nv9XIPlV5KAuX5k79p1zU/u2fv7Ozs6n+xsSG6NS2VZGqQGaeaJAL5QKGXEZWpC4EKgJfgSCtr3h4r5998bHvj5Pxx5/YWzAwMzrFCR1MqXyYH9yJ171z50y7aHe7Ptj7UmGrckbCdqI1FzwM0XBzY1bYwIo5mHpuC55dHC7EefjQ4/c+ij488feuftC4RW/8aVyV3dpwCc37nt9lX7b9m+Z2P7qn2tyaZdyVisO2Y7jbZU1lyiA1xOlNwg8CueO5urlC6O5XLHTo1cOvzrE8f/+/Cxd4eZn+vf6ELJxYiQkUgkds+Ondnt629Y25XJ9KTiic4G28laUsYB42tdKrru2EwxPzg4MXHu/b7T59/44Pi457oV/g+Wyn7VOFdvZi1WLL0Q7NdXdPD/9fofbvR8Mj57c1cAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTItMDMtMjJUMjI6MTc6MDAtMDU6MDDnBAMyAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDEyLTAzLTIyVDIyOjE3OjAwLTA1OjAwllm7jgAAAABJRU5ErkJggg==",Si="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAAu1SURBVGje5ZpbbFzHecd/cztn9+wuryIpmqQs05Zky5Ko0JFt2YbRynYaF3UbKIVRBO1DCwTtY5C2T81L2wBtkQJG+9DLQ/PQFE3hGvElQVy7UdwkaiQhouOLpNiWQlIiJZUSaVK87Z7bTB/OLi8y0Sy5y8ZFB/jA5cHumfP9vv/3zcyZgZ9vE1X7uT7A/2Y/ApCAqpqsXrdAWjULuOp1t4k+PnYAatFVQRAETz75ZM/w8PBgf3//YFtbW38QBJ1a6xzgkiSpLC8vz8zOzk5OTEyMjoyMjJ44cWKqUqksrwGyLTC2A4AAhAB/155HBz7/28cffejIwSd27uz9RGtra38QBEVjjFRKIUTWvXOONE2J4zhdXl5enJubm7x+/frIT354+sSr//i1H742dmkSiLYDRLMBSAne7nuPDXbcceSzu+/a+9kvfP6xe4cP9ftKaaSUdd3EWkucJMz96M3KxD99/cKFy5df+Nbk+Isv/uT8GBCTqaIpTTURpO7ftXfHrgOf+1zf4ON/Njz8wLPDh/f0Dh/q0zvaA4SUSCkRQiCEQFb/l7ddr5nSmiB1ulOq3v5Syy/sV+bRg507onGbXJmZnw8/TgAEYO47/Mv7S71P/3H/7qEvHH3w/v6Bvk4phOSe3a10tufWOX67s2sNyD5LCdOzcHWKfGeH7NzR1dsXJU8c8vJ9srV08dx/XZ+jCUpoFIAA/EMP/ebjsvTQc/279j199MigCfI+lcgRJ3Dv3W3rAPzMG9ZgAO7mh7jRy5BYVC5HobvL61yqDO1O3eHO7u6LpyavXG8UQiMABOAPPfI7TyX+0HMdO3YNHX1gF8ZowsgRxw7r4P697exoz22thxszuEvjkKaQJAil8Ds6RMuHtwZ6U3tkZ+/OD34wcXmiEQhbBSAAc+jh33o89Yeec2rHvgc/0U8h8AkjS5JAklqsg4P7Oujq2BoANzWNvTiGSC0itZCkCKXRQUBwbaq725jDbT3d75yauHKVLY4O9ZXlDcDtH37mPpcf+vJ8pXVfX28bxYLP0nJKJbRUwpQwskRRirUNjFrWQhRDFEEUI8IYUa6gi0XyPT3sityBXyl1fvk3ho/s3aovW/mR3HXnPZ2m9cE/XAjbH3TOsLOrSLmSOZ45XzPbBAARbgVClEEIY7yuLnJWcFfCY8929X5xoL+/Yyv+bPYHAvA6d//q8bLtOb5YluRyHkZrymFKJbKE66wxBbjUVp2PV/5mECKk8dC+T1COuBf97Bf3HngGMGxybrNpAPsPf/ruWO3+3aWKn6+EDs8zxInLIr/GamnQnBS4zcIIkVqU8VBRQluYFh/wg9/7taHhO7cTgAB8v/3I8XLScrAcQhwDjkzu4froR9U0SF2DAOLVGrDO4hiJQMUWHaX0WTn8TE/fZwBvMxA2BeC+Q08MxLL3eDkyMoohsYJKZKmEdk3eZ1aJLGGYYhsZpVOLCzP5uyhaZ4QZFJlaVJwSRKnap3O//tTBoTu2C4DKdQw/Fqal/WEESZoFaGEpoVxJPgIgbFoKRBunQSVELJcRDmRq0XFKt5MHfqm77+HN+KXr/J7obCGw+o5jYcX34iQmTQUOWFiMmV+Myec07ja5W+uaUwNuH+KFwC1XcEvl7AVD6hCJpZCS35MrHEOLb5K4ReqYG9RNqnvwUzsT0TYcJZLUCjK/BJUw5cZ0ZWXYa+YogLW4uJYCayyMcB/OQhxna2/nkNZhUke3NJ/81P6hrnq7qFsBfmnPYNkFfUmaAXBOrPCdmi4TBBrfk6wVgXWyOQpYe1MhIIxwM3OrlwBpMyW0CDUw3NG9+3UYp4kKkMLrGkycX8yiL3GI7GGAcphybWqZciUliu2qRbbhIkgcr7EEKiHu5nRWG2oAXGbSOXJOtPTlCnfV61u9ClColv40MdK6BFcDsKbY3lqIEALaW31kVRzOOWwDw6BbqQHVZi1ufgG3sLTmW1kgslQQGKRu115/UwH4oJ3Md1o0DodDsvrKTwAO52BuPiJJHC0lg6pSaLwGJIDLhsTFJVguf8T57K8EIVBI8kp3UedCrx4AwkikQ/sODcJWO1PZZ8RKjjoHC0sxYZxSyGuKgaER/3GuOhGKceVylgLrngxETQFCIoRECoERKqDJKeBWndZVS7hdBbUWRZY4ztSQJg0UgSTBLSx+tBDWvK8pQMg1QVEg0rq7qAeAiy1OCBcKqUA5kDUItdf4tRFh9SGdgyhKSdMGJJCk2Yxvoyayt0dZ9BVCKpAKJyWJYIk6X5LUJZMQEuGiaSklQhqENGuUoNjW7YWNXqOJ1chnQVm1VCmWbXqTbJPlZ7Z6UyAVdmlSKaxUWgplEDLFuRRsWq0FgFu7qbNtRIAs55ESVgAY0JpEymQuiSdppgIA66IbP9UyXVTaIJWHUB5ID0RNDXK1Im+n89WCV4u+kBqhDE5rnDZUJPOTlcWxZgNw4a3zY0YuT2qtUNpUAfgZBGnWFKDaELldzguQNecNaIPTBmcMVmvmsVdGpq+PU6cU614LTL3/7SntZkc8I9DaILWPUP4GEOQaCM0CsSbyMit4QhmErkU/s8QoptLo7L+/NTJd753rVsDMEksyGv+ur8NQexqlPYTOgc6DzK2CqBXGlZRokvNSrkZeGYQ2oLzV6BvDohLLH5RvnQDKNFsBgK3c+N5/5uTsBd+TGKOrtSAHKp/ZOjXUQDQAoep4bYgTKks9oas1SHs442GNR+ppplz87qsTPz3DJvYJNgPAXfjxv02YZPSFvBdaz1do42VpoKsAVLABiMYAZI7rlagLkwHAZOaMwXqaRSOS9yrz/3ri7ZFrbGIo2hQAIAqnXnsxkDfeynngeQpVg6CCNSDWKGLLWw9k09uVqPsrhvaz6GtD6hliTzPporMvXXnvFbLd420BAODOn31p1FTe+fuit7ic8wXGaJT2s3qgAtCFzKpqEKKB3TepEMZHGC8rulXHMR5Oe6SeIfU0s9otnF2c/rtvjpy5vBnntwQAiGfe+5uXAnfxhUIuIucLjKeRtaKogvUgZL1zrY0BSO0jTA6Mn8HQHk4ZrNGkvmbJk+5CvPAvfzHyH98Cks0C2MrT2cvjozOlnpf/sqW37R6bH3wEDA5FjMSicEKDiEGlDSlAKAVeDkF1xicVTimsUcS+ppxTXHLL3//n8QvPXb96bY4tbJJuNUHtuTNff0/deu1L3cHVCzs7UrraBG0lTT4waK9WGIPqWmGLTaqVao/n4/I50lJA3FYgbAsYM+nbL0+Nfun5Mz+4tBXnobHtcXd9/PS1Owd6P2hv7x4ulUpdxUDTUlCUCppCXhPkNcd/scDd/WZrHUzcgPNj0FrEtpVIWwskLXkqRZ9RV3n7lWsXf/8rr718ii1IvxkAAOzkpZMTfb1t73R07NjT2lIcKAZGlAqStpKiq0Pz6Yd9Bno2v2J0gJu+hb12E1sqkBZzJMUcS3ll34/mv/+N0XN/8JVvf+MUm6z6zQYAYK9cOn21vRCf3tHZEbS3Ffa0Fj2vGEhaC4KjBw29nfW/HXbOYa3FAnZ6juTqTZLAJyp4zMh04a1bN7721TdP/tE/fOfVd2kg8s0EAOAmL5+bWZp++2RXZ/tYa0uur63F624rannoHkVHSWCdw91max1ecbxqaZqSzN0imp5lXrlkbHnuR2+Mv/8nf/rK83978t23rpGt9xteezcLAICbm5upXPjx6+c1c98tFc21loJoHewznaWC1M6xzsGak2marvtcPS9IJQyZvXGzPD46+uaZK5f++qvfe/3P/+rF50/Ozt+qHZ5sStu2g5KA99AjT91x/DNPHz1w/75jPT09n2xpaRnI5/MlY4ze6KBkFEVJuVyen5+fvzI1NXX2/XfPnXj1pZdPf+fMqeus5vrH+qDkRiCk7/v5Y8eOdQ0PD++uHpXtC4KgyxhTAFwcx8tLS0s35ubmJicnJ8fOnj07/sYbb9yM47jC/8Gjsv9TP7XD0rUD0xsdll7r7LYflv5/3/4bXGLaycmYMEAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTItMDMtMjJUMjI6MTU6MjYtMDU6MDDCBOFIAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDEyLTAzLTIyVDIyOjE1OjI2LTA1OjAws1lZ9AAAAABJRU5ErkJggg==",Ii="/static/britain-BS4U8wdV.png",Ti="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAArwSURBVGje5ZprbBTXFcf/M7Mz6314vX7tZr3rxDY2dlF4xIAilJYmBEKUYhnXaqFV2gapilSpSJGaSBFEqQRSK+VDgUQiTZsStY3UKq0FjlMclBAHZBxITDCQAAtmzeK18doG2+N9zM6dmdsPuwOD48esH4SqR7qytV7fuf/fOffMmTkX+HaNyYxvdQH38joMABYAlxls5nMNgJoZGgCa+ZxmcY37DoDuXc5ut9vXr1/vra2trQgEAhVutztgt9sLLRZLDgCqKIqUSCRujoyMRHp7e0OnT58OHT16NCpJUsIAZEFgLAQAXbi1rq6udOPGjY8tXrz4SZ/P90heXl7Abrc7eZ5nOY4Dw6QvTymFqqoghKiJRCI2OjoauXHjxulLly4d/fDDDztaW1sjAOSFADHfAFgAwpYtWyrq6uoalyxZ0ujz+Wpyc3OtPM+DZVlTk2iaBkIIRFGU+vv7L1y4cOHfzc3NB5uamnoAEKSj4r4yBoBl2bJl3v379/+qs7Oza3BwUJEkiRJCKCGEKopCVVW9PTRNu2sY/6YoCiWEUFmWaTKZpIODg8rnn39++o033vhlTU1NMdL541tNnhPFC88999zyw4cPvxsOhxOJRILKskwJId8QPJNNBKKDiMfj9Nq1a7EPPvjgnWefffZhAML9AIEBkLNjx44NHR0dp4aGhmgqlbot3KxoMzAIIVSSJDo4OKi1t7efeOmllx4HYJ0rBG6O4q27du3aUF9fv6eqqmp5bm4uOI4Dy7JgGOb2mPUFMv+rz8OyLHieZ9xud6nf71/t9XovHz9+vBdzyAmzBcAA4Hfu3Lm2vr5+T3l5ebXdbofFYpkX4RMhGOdiWRYcx8HpdHo8Hs8Kt9t9rqOjow+zvDvMFoBl27ZtS7Zu3bqnsrJyuc1mg57l51P8RBBGCAzDwOl0eoqKiiolSfrs/PnzN2cLIVtja2pqvIcPH343Go3SWCxGCSFz3u/Z5gVCCI3FYnRgYIC2tLT8pbS0tBh3KkvTlm0EMACsu3fv/umaNWteyMvL4wVBgF7ULITnv7EAQ14A0tHgcDiqPB5PqLW19WtkmQ+yBcBu3bp1cWNj4+/8fn+A5/m7Qt+MaUkJUmQAiYtXkfi6G4krYcgDQ9BkGaxVACvwpiHoJgiCYLVaS4aHhz+5dOnSCLLYCpZs4AOwbtq06Yd+v38pz/N3Jb2ZTBFjEE92YazjDFLX+6HGk6Bq2lkMy4K1WWEt8SD30WVwf3cV+KL8GSHoCZHneQQCgdrNmzdvPnTo0OsAUmYhZBMBbH19fXlDQ8OrPp/PpwMw4/34xavo/+M/cfM/nyLVOwA1mQJVFFBVTQ9FgZZMQY4OI9Z1CfGvroDPd0Eo8cw4N8MwoJSCZVmWYRh3OBw+EgqFxhYCgGX79u11tbW125xOJ6eH/kz1vXjqLCJ73kHi4lVQRQWl2h3hE4emgSoqSHQY42cuwOJywL7oQWAKCMaHqQyEAkVRvjxy5MgFmMwFZrcAA8BeWVm5zuFwCGZvd/EL3ejd+1ekIgNgTD4I6SZHb6Jv/z/AOe1wf2/11AszbAWn02mrrq5eB6AFQAwmosD0qhoaGh7weDy1Rs9PB0Adj6H/z+8hefU6KFGgpeSsBpUJSHQY/X96D6n+6LQAdAiCIMDr9a566qmnis3qMguAWbFiRYXL5fKbzfgjx77A2IkvZyX+9iAK4l9dwc2WtukXZ4DgcrlKV61aVQaTzwhmAbAlJSUVOTk5TjPhr0kp3Dz8KVQxBiqTOQ1NSuHWkXaQ4ZEZATAMA5vN5goEAuVmtZnNAZzb7Q7wPM+a2fupvijiZ4OgJJ3p52QUSHSHkQj2IG+aW6O+Lp7nLW63OzDfACw2m62Q47jbF5vOpHA/5MFb0IgyL0/s2ihBsjuMvMdqp/0ewzDgOA4Oh0N/aTIvABgALMdxVqP3p4MgDwxBGRkDY7HMHQDNVI+9N2YUr//ked6OeY6ArJ6yqKJCGRXBWCxgrQKgvwBlTMyU+Q6lFFDVTEKUQBVljiRnD4ACoKqqpvSCA0gvcKoo4IvcYHgLNCkFTSZgOBYMx4HhOIBlpixsQCmgUUNxpKU/AwOhuGD6RRrWRQiJY54LISWRSAyrqgojhKksp7wUfKEbqb4oQGm6AlQyyVDfRgxwZ3/QO17/xtwUnMMOe3XFzJ7KvF6Px+NDSDdZZjSzt0F1bGwsQgjRjLSnMluZH85HvgM6mRMoTZe8qnaXp6mmTSIeoKCwVT0Ex8NVM4qnlEKWZWVkZCQCkxFgFoDW19d3VZKkmKZpM0YBa8uB58fPgBWsJqef2hgwKG7YAOGBqYs7fT2UUkiSJEYikZ75BkC7urp6RFGM6ABmsqJNTyB//RpQc5E4+UWhwrmiBt6f1U//vYx4VVUxNjZ2vbOz8xpMJm7TzwKHDh2KRqPR04QQaJqGmUBY8vNQ/uqvYa8smxUECg1CcSHKfrsdtvLSGcXr3aRoNNr50UcfDZu9jukIABDv7u7+JBaLpcxsAwBwPboCVftegX3RQ1lBoFAhFBdg0e9fRFHdk9N/NyNeVVWMj48ngsHgUQBJLMD7AFgsltjKlSsfLygo8BmfCKcriuxVZchdvRRy+Aak3hugmgJm0mMBFBQaGJaFa+VSVP5hBzw/egYMN7WPjKEvyzLC4fCXb7311r6enp7RBQFw+fLl+Nq1a/P8fv8TVquVMfteIKfUh8Jnvg9beSm0RAraeAJUJoCWbvayLAdLXi5yVyxBYPvPUbH7BbhWLwPDTj+vLl5RFIiiqJw6der1vXv3HoXJWyCQ3TtBCkBuaWk5WF1d3ehwOGqz6QDxRfkoeX4LvD/5ARJXwkhevgYydAuUauAL3LAtehC26nLw+XlTF0oTxOuhL8syent7Ow8ePPg+0t3jBesPMACs+/fvfz4UCsVFUaSSJFFFUe5JT8DYG1AUhUqSREVRpN3d3eK+fft+gVk0TGfTGaLBYPD6ypUrA8XFxcsntsMWujdg9LyiKIjFYrSrq+tvL7/88puxWCyBLL0/KwC3bt2SLBbLlYqKiuVut7vU2BhZSAhG8YQQJJNJBIPB4wcOHHjl5MmTfZhFk3TW3eGzZ8/e8ng83SUlJatzc3OLJ+aD+YYwUbwkSQiFQmebmppefPvtt88ji8Q3LwAA0Pb29n6fz3fZ4/HUOp3O4slekc8VhLHQ0cM+mUwiFAqdbW5u/s1rr732GQAF97g7rJt27NixXrfbfa6wsLDK4XCUchx3W7FRfLYgjPW9LpwQglgspgWDweNNTU0vZsTPKevPFQAAaCdOnOiTZflkQUGB3eFwVAmCIBhF6L+bFa6X2qqq3hafSqUwPDw83tXV9fcDBw7szIT9rD0/nwAAgJ47d+7mmTNn2vPz83usVqtfEAQPy7Ks0ZMTh1GwUbgx3GVZhiiKSigU+qKtrW3Xrl273mxvb+9Hes/P+X6/EMfk+MbGxrK6urrNNTU1jV6vd6nT6cwRBGHaozMTQ54QgvHx8WQ0Gj138eLFfzU3N7/f3NwcRtrr83ZMbiEPSgpPP/10ycaNG9csXrx4ndfrXeVyuUptNlsuz/OWyQ5KyrKsJJNJURTF69FotDMYDB5tbW09+fHHH9/Anb1+Xx+UnAwEa7VabevWrSuura0tyxyV9dvt9mKe5x0AKCEkEY/HB0dHRyORSKSns7PzWltb2xAhRML/4FHZ6a6jH5bWD0xPdljaKPaenPn5v7b/Am+z0gteYqRiAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDEyLTAzLTIyVDIyOjE2OjA0LTA1OjAw/IlMHwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxMi0wMy0yMlQyMjoxNjowNC0wNTowMI3U9KMAAAAASUVORK5CYII=",Bi="/static/korea-LHQbRLL6.png",zi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAA5RSURBVGje5Vp7cFzVef9937n37u5drbTS6i2tMLLxA9nYMhj8oE7ACQSSADU0mTbtMOkMoZlpZ5rQTl/5ozSZtH9kAnkM/JGmoWkJnULD8OgMMzUMY8AG/AC7YBsZW7IsIcnyY73vvfc8+se9Wq1sJ6xkuaHTo/l0R7tX55zf73uc73znAL/ZRqH8RifwvzkOAWAAIhQOP9cAVCgagAk/N/MY4xNHwIx2hWtZ7tbOzo7rUq39PU2N/U1uvNeNRlKWZUUBGClluVgun8kUCmPj2ezxA2fOHN85OTlVlrJYQ8gVIeNKEBAAZ458rrc3fUtn55ZrOjq2dXZ0Dibb2nrjTckGJ+6ysB2QYMAARmtIz4NXLKhiJpM/Nz09NjE1uW9oaurlVyYnd+0YGxuDMd6VIGKxCWAQOb+9dGn/ba1t965Kp+/t7u9f2dTTG3ESCbAQIQQTwpjBQiFtwVNLBS+XRWZ8rDx+7Nihw2Njz7x0evrZF44dGwbgI7CKTxQBBEAM9Pam7m9r3359e/uDSwYGVjf1LxVWzAW0BikTAjezg9bgr/5JBBDBCAaYIIsFZI59qIYPvX9g3/T04/906tRzQ+PjZzE3Viy4iUUCb//ewMC1DzS3PLypr+9P+zdt7m3o7WNhAHgeyJOAlIBUIKUApQAlw+eM6OA7GXxHvgSkD2aBWFs7p1pbuzoKhW0DQI+VTB59f3o6g0WwhMslgABEvjE4uPUe23lkdbrvjo6bNtt2vAFU8QAvBFIDlGoAzxV1kZAMCCEpIWIuGjo6neT582vTpdK6VEf70bcnJycul4TLIYAARP5q/fWfvQ14ZGlL69rmmzbCshyg4oNkoHWS6pLg5i2+BFsWoq2tFJ86le4olzd0dncN7ZqYOHk5JCyUAAJgf3NwcOvtwCN9ECuaNtwIy40Hmg+1tijAq26hAN8HWRYsN47IidH2VqJ1yc7Og29PTo5jgfFgoQRYv79mzbV3W/Yj6VxxbcOSfkTSfSDPv8jkF1WkAqQER6NAvoDo1FR7KhZd5qdadh86derMQkhYCAG8oq+v9cFk88PL8qU7YprgDgyALTsIdkqBlIRZZPCkFIzSAQlag4WAOjEKV6u+lrgb3cP0RjabLc+XBGue4AmA87WOzu3LKt72aKEEq6kFbNtAqRwscwtRQx1tTp9EEE4EdiSGWC6La2z7S3/c1fXGX4yNPQnAwzymMF8L4PtWr1n+eWF9tz1f6hWFMpxUClZbWxDsfD+QUEuQEvDDJbAa+RfJFYyBPjUNfS4DR7ATjTjdmebkK0PT0+fmQ8B8LIAARD7ruts7CuU1ouSBfQUyAMoVGCaIjnZYS6+G6OkGJxpglII+m4E6MQo5PAKdyVazvctvBDIElgqi7KMz6q+/syFxz4vADwFU6iVhXgR8YWAgvVSb7bGyx+zLYE0vlcGtKcRuuxXOjdeDUy0A8+x/GQNTLkONT6Cy8w1Udu6CzuXmvjNv6CG6SgUkNdiTcMueWBZ17tu2ctUzLx85PHIlCBCfchtubq341wpPgqUCacDZsB6ND/0JRF/vLOZSCf7hIfjvHYKanAKkArckYS3pQ+zuO1F6aQfU+ATACzUFCoJsvgDSBiwVTMVHqydXb0skNr4MjKLO3KBeAgjNzW4/0a0xz3fIVyBfwf387Uj+w8MQXZ3VF/0jQyg+9Qz8dw/CFEvVwAgAsC2IdC+sdA9M5jz0uUzgEvNshgBTKMLkCyBjAKXBUiHuydjSqHMr4u4LKBTzqMMK6raAu7p7Olu1WW/7CuxLOKtWoOnv/mYOeO/tvcg9+hjU2EeXNnEpIY8chRoZBbkxGN+fJciY+skggjp1GsbzgnBiDFhpWL5CuzY3fKbvqrYdhw/n6+mqbgtYHYv1N0jVQ74CCQsNX/sq7BXXzGIbHkHu0ccgj418rH8b3wdy+aozk2OD29ugxj/6eJ0RwZTL0NOnZz/SAFTgCgml0+vc+JIdwAjqsIB6IxF3Cas/qkwDSQV7+TJE77xt9lspUfjpv8B/70iw5HlefVIJxQDul7fDSvfClEowpVKwnGp90f+YUgl6YgqmUpklAAZkDFhrRJVu7BH21fViq5cAkQT12lozKY3IjTdAdHbM4h8ZRek/noc+fRqmUoHx/XmIB1Muw+pfgvgD90P0dCGy5SbE7/9dcFtqbn+VSrD2Z7M14CmwIhNYgq2NlSTqrRdbfS4g2IoRpYQGmAWsa1eAavzVP3QEamICxpcwWoMTCUDUMb7WADNEVycoGkX0lq2wVy4HNydR+NmTUMMngmgPAEpBZ3Mw+cJF3RDCEGIMLG3gErWhziSvHgIIjs3CIMIA2BIQqZY5L6jJKRjPD/wzl4eueKC4C7LtmsBW444GgBBwbhhE7K474WzcAOuqNCAERG8PKq/vRv4f/xmmUAz69H2YQiEY48LJUWgF4VQZBNuQC9ti+HKRLCAwsuoP9NzYQizmRHDjeTC+D3IcwLFBwprNAGdqgUpBTZ+GPDYM0dMF0dUBisWC/hriIMeBKhYBKQPg5uJ4RmH9lcIy2swc59Pq8RMDzzOaqAJiQGnoU9NzXhDpblAkMjfmGhP4b74Anc/BFIswpXJIjoSpePAPvo/cDx7HuT/6BvxDH8CUSqi88SZEexsaHvxqUDEuVy4J/iISQCAOiJBEBfhyERMhZWQZOG2YQcZAvXcYRimQCNzMHlgFcVUa8vDQxb5vDCAVjAx9eUZbFEwfxkBnMjDlMgo/fwrZv/17iO4u2IPXQXS0QR4vXHJKFGo+KCZTkFUSQzOjBEwjOGRZFAsAAHUeZkwK1mRZkG/vhxodm7WAnm64279YX2prTBD8aneGBqi8thu57/8YOnMe/qEjKP7rv0OOjF4yOQrA15BABGYBYgEphMzAjKHOVLheAvSEkscqlsjDtmFGx+D98sWaGRHif/gHiNy8Kdiq1kPCDDAimHIJ+cd+AnVyPEiimANL+hV+PwOeiUDEYGYQMyAEKoKz49IfXmwCzIFycTgveAyWBYBQeeIpyLf2VV8QPd1Ifu87iNy8MdCwvsT4Jgh+3NIM0dUxex7gS+jTZz42FZ4JcAEJPEsCC4AFjCWQtcTo/mJ+BHXuBustiNAHXlne3d61rkPqtZbUoDPnoI4MwdowCG5LBZ11tCN6y2+BhAiWxnwhyAxDjXNTIyJbN8MeWAV5ZAimVJ5jCR8HPnD1UOsgMHFg+paAiTjw4xF8GLVe/O4H7z0LX3qLSQBQrqgbe9OJq4nviPnKYm2A0XHIve+Ar0pDpHsAZnBTE6Kf3orY5z4D5/p1sK9bDWfLRrj33Q33K18GEaP4yxegz56ra/NTjfFEVc1zqHlBAiwEjG1DRx1k45HibmEe/a/h4YOo0wXmVRKzk8n8+lj800lfdc3UA8z4BPwdr0KNfwRqTIATCVA0Am5NwV4zgMiWm2CvWgmTyaDwxJMo/uJpmFyuTvCzQY5mNB4+BQkwC8CyYCI2lOvgZDyy/yfZsz8YDk6N6nKB+WQNBCDys81bv/mpovp24/kii2IF7EsY6UNrBdPcBF7eD166BNSchJESamIS/pGjQUmsWPq1KTLV/qYqBTUEhAIGE4OEBW1bUPEIzje58pWo+MsHdu/8MeZRGJ1PRcgA8P4zn312udt0b7xir2epAB3sxAQx9Pkc9Jv74O/aAwMDY0zwpCBJYcua7So8IK5qgKq/qmaPmnW+6vPEYDDAAhACxrEgow7GI9be53Jnn0dwenzFqsI4NDWZHUz3yR62tsWUtllpcJgoM4K0mJhBYmZp4iBiU03iMgOuRhg1Pk6zTxGCFiQCQbDek2AYx4ZyIziTiOZeE+bbP9q/53XUmQAtmAAAZsji0eubW3rbQGstZcAmEAIF29LQVKvLVNWXL/BrQvicAR2SUQVd+xQQ4Cq5xragYg6Kiag5GLV+/tcnjz+ez2aL89H+ggk4l8mU7VTL0atdd22SKM26loSabVMVEFUjd1XbVOPTIQHMgcYFMQTzLBEIrSjUvA7BVxIxDMWdnU/kM9966+jQOBZwSLrg0+GDkxNn27u7PuxubNyQiEba2LKDCRKDDcAwIEM1ZPBcsKEvc5jJVbVc9fMw2CHM9CwbiEWgG1yopgS8lgSOJ2IHnq0U/uyn+/f+N+Zp+pdNAADzxvjYR5196aH2ZPP6RKKhjeMuqKEBnIiDXBcUccCWqGZtZBAAC4nhC4UYRAIsLLATAbsxUFMC1JIEUs3QqSRUKolKSwLDbuTAC8XsQ9/b/fpuABILPJG73DMaAuD8+S3bNn2hves7S0Vks+trEr6CUEGNjtXMEZkf7Ou9oLwFFawggc8wYAmQZQX1A8cGbBvGEjBCQDNDCYKyBQo26w9l+bXnJse/9ejOV9/GPKP+YhMw04f1lc03r/jS0uUPrUo0/k4zWXFbagilwRpBbDA1A/6q/T3R7AVBAjQRNBOUIPgW46yWuUO5zL/94uiR7z/91pvHcBmaX0wCZvrhlUuubvn6pi13bejs+nqPm1gbZ2FZ2lRJYFNzY/ICEkyYGRoAmkJhgmRCXks5Vsjv2zMx/viPdr324vGTJzNYpEtSi39NDrC3b7l5yRfXrL1nRXv7vR3xxJoG24naIAgQqMYaLmyGAiIUDHwY5HyvNJXPHTw8Nfn08wffff75N3efQKD1T9w1uQv7JADO7Tdt7L79urWbrunsurWjsfGGxmgsHbPthC2EJYirgxsAymh4Ssmy72fPl4qjU9ns3qHJiZdfevedN3fs3TOBWV//RF+UvBQRHIlGY7esG2xbv2zZkp5Ua3+yoaHHtZ02mygOwPhGF4ued+pcPj82dub08L6jR0deffedad/zyvg/eFX2140zc1l65sL0pS5L14K94pel/9+3/wEXWUP7rEKwOgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxMi0wMy0yMlQyMjoxNzowNy0wNTowMCKjPbwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTItMDMtMjJUMjI6MTc6MDctMDU6MDBT/oUAAAAAAElFTkSuQmCC",Pi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAA2PSURBVGje5VprbF1XVv7W2vs87rn29XX8SBw/kjjJ5NGkzquj9JGhbSjVqB0YUgYNAxIgkAoIaYpaARLzpwLx+DEUClI1/TED/TOgVgIyHc3A1FFpOil5FZpSJ83LaWzHju3EzvV9nXP22Zsf51zf68Rp7nUcpogtbSfePmfv833r22ut/QB+soWS+hP9gP/NcQgAAxBJ5aRdA4iSqgGYpN00MMZnjoCKdUXKsrx9vV0rt3e29a/OtvRn0+kez3XbpJSuAYxSYblU9q/N5POjV2ZzF09NTl98d2T8almpYg0h94SMe0FADJzI+Zn+vt6f6u16eGPXqv2rVq3amW1v70lnsk2257GwbTDHAtCRRhQGCIqFqHDjRn5memp0fGLi5LnxicG3R8aPDF4cGQVMcC+IWG4CGCD757Zs6H+iu/OZTX19z3T3929u6ep27KZmsJAgAxhjAGPmBzcAQAQigiFAK4Ugn8PslbHy2PCFoTOXR974t7HJf3rzzPlhACFiVXymCCAA4r6+3rZf6Vt5YOfqlc+u3XLftta164VwUyBtAK2roM38j4VdUJUMMMMwQZWKmBk+Hw2fHvrg/YnJV167NPEvZ0dHr2Ohr1hyEcsE3vrqzm1bf72n/cW969Y8t/7zD/Y0r+5jNgCCEBSGQBQBKgJFKv7/batO/lVAqMBCwGvv5Pb29q5Ov7h/s0XdMpM9N3R1chbLoIS7JYAAOF9/cPcXvpRxX7qvb80XV+7Za1leE8gPAKUApUAVcLoC8FOqvokQFQFKQaY8NHestLOF3EC3Ku1oW7ny3PHR8fG7JeFuCCAAzu8//MATP+3yS/0dHQNtu/ZCSBsUBLG11SLW1neot1OGUiAh4K5oJ+/6VG+n8h9Y1dV19r2RKyN3Q8JSCSAA1nMP7f7C/hS/1CPFpuyOB2Cl0kAQgNTNYPUSa61qYhJYSEgvDWtspLNd0o7WlStPHR8dH8MS/cFSCZBf233/1qcz7ks9fmmguXc93O5eIFAJ+DvN86VWDaMisOMChQKca1OdKzx3Q9TS+t7QxOS1pZCwFAJ405o17b/Z3fZif+B/0dWE9KatcYhTqjHwd5L9bd/TICGgRkfgQfe1NqXdk4H5cS6XKzdKQqMEEADnD3Zt/doAqee8QtGy0xk4vWtAWjcGPoxgdfkgV0HPmIaJIGKoiXFQqQDPtjZ2trZcHLw0+hEa9AeyUQIO7Lx//TYLzzYV/BT7IYTtAErBGNUA+XHAdzYXYRQQDnvJqqCB9wFI24GaCZGx/abtnvdbTw3c9+73P/jofAMdNUQAAXD2tzUd6FTBdhGEYBXFnxIEcXZXbzEAewb2hjyMAugthi5Tg2kZgUDgMAL8AKtse9eT7S1f/j7wMgC/XhIaIuCpgW29/QIH3HLIHKpY9n4A4/uNfDmgAbEmhFxZhIkA0WYhuiira8N6S+CDtAaHEVJhKNZ79i88vm3LG4f++/Sle0GA2NfW/EibjrZyqEBKg7SGKRRgyuU4fa23GMDeWAS5JRAAe72Af8YDqAEVaQ1dKMZpdhSBwxDtWm17rCO79xBwGXX6gnoJIDRnvXW2eDzlBzarKLY+AF3IQ+fnQK5bH+eJ/J1NeQABAMDebIAfMIxfJ4lEMMUiTLEAwIC0BikNT0Wp9bb1OKzU9xCW8qjji+pWwJc29K5qJ7NLJuApmfPG96GuXYPs6KiPAA3IdSGs3sK8kew1IWSHjeB8ndOAAHVtGiYIYuFpA440ZBShnbFn/+Z1HYMfDuXrwVW3ArZl0v1NMN0c6Vh2NWCj6WlwKgWy7LoIsLcUwOnSfBNnAPtzEv5Q+s4EEMH4ZUTXrlXbDGJfEEXIwPQOtDavHQQuYRkVwKscq981qolMxfqmMjaMX4aanITV3Q5y8Smzj0Cuhnv/HCryrxR3Rx6FQyLe9lj81Th6lgzU5BRM4M83xx9iAG3gGpPpdqx1AN5BHX6gXgJEi+AeSxsmU/FVhHh1HxOhczmgN0LrrwnYGyIg3vO4FYc0sHrVLe3uthCdL5Zgolv9ACXg/Y8FZr6loHPFGuRUEz0NLBjZIrkHdcaUegmQKaY2oZNeK9ZY8IiBP1TA9VdttP0u4D0agIRBvcGdHMDesNhfDIwiFAZtzLwawv/YX9AloRqACHFq6zF3oM4stx4CCLBYEBwmAlPF8vEWFmCqljYG/oc+rv6hRMsvCWR/1Ydoi+omYTHwakpg9jsObvxjBH1DLbArJegJFP9CBAZgEXkAcz2RsF4FGEr27IgJxIBJxjSmOg0AAAxEswrXv0UonxJo+3oAd0dU1fEd/VLyjDEonZC49tc2SscjQJtFRE3z3c5/H1FDKUk9BBggNJrIBxOIOSZ3frDEGdbioriheBgIhm2seLaI5p8vgVMcM3RbRRgAGrpokHvDwcyrNtQ4AGFueYXmjU5gjg0DZhAzFFEh3lBYHgIAQJUNpsEcb2UzQzOBTLKTu+gmJwABqDGBqT9tgn+G0P7CDXCm4hduJiGOLNEMYfovspg76MEEtOhMji1cY3FmsGBAMIwglLSZQnzIsmwERDmtRyNLaJLMECIe0BgYU5XcogsiBkyJUDrhQPsEvsNmrikzSiedOCu8rRurgGcwE5gZJAQgBBQLdSPUo6gzFa53+aHHfXXBZ86TFGDJYCHAiSKYaV6Otyupz/uQ7Xc2iuyMkNrt35aiitVj4DF4FvH3kBTwmXNj5XB4uQkwp2byw3niUUgJkiImQFTAx9a4HQmUMvAeLtcXDATgPVIGO7dSUHFwlTGZCUIwWMbgYQnMEV/+z+u5S6hzNVj3AvTg6YtXpzRORpYEWTEJQggIwfFHcIWEmzyxBqweBXf7whTP+IS5Nz3kf5DM9ZriDgSQq6N5GxLVWj4eIx63YggBsgSUtDClceKtU2en68VVdxhEMVe44KtDm1LyF21LOmypxNHWEq3jjDQ+BErCJODuDiA7q/JXVwVmXs3gxutpEAMtX80j+xtzkB3xM7JLwd0RIBy2qklOxdvPg2cIKcBSAJaEsSwUhSieK4SDMEFp2RUAQA9OzPx4isSQti2QJcGWAAuZKEEkSqj1CwROGaQfKccjaaB0zMHE77Vh9rUmmBJBFwgz327GxPNtKL3vxAsbCaQfKYMd1Mz3uN+K5UWiQLYEYEtoW2KSxIf/euXaUTSwL9jQpui58auFfRvWtnTb4jFba2JtwJW8sEb282HKEKw+hdZncyBpcOO7zZj+s1YEH9vxMSpX01h12ULpiAtyDJzPheCMRvFQGshJsCAIEVteSgG5ALwF49iYcx11wjcvv3z46CDqDIENEwBAy5bWqW3ZpoeyZLrYaLCppDY0T8R8hqYJ3hNFONt9XP/mCuT+PgM9xyBBN2VucSJj8gLlox6icQl3l49o1IY650JImgctZaI4S4CkhLZtqJSDT4R17DufTP752fGr02hgU7Thc4HTY+O5HevWqG7X2p8yxiJjwACYUKOEJEbbBta6EPk3Migf9gBQTdRY+CwRgQWBNCE87SL8yIXIAOayC8FVqwsZz32SEsaSiBwbM44zd7ig/vhv3jn6biPWXxIBAMzZ0Fze3dXe0y55QBoDSlTABHAtICaoYQd60gKLWvC1cbx2jicOTjLMlA0z6kBQYvkEPCdh2EgJ7dgouo45FfFrf3TyzCv5ubliI9ZfMgEzs7NlK9t6bl1L00BWcq8wQEUJMThUwyJ4PlevABVioWNjrjjQaliVUlTBS55PvkgwjCWhXRuB5+IcW+/83eWpbxw7c3YMSzgkXfLp8KnRK9c7urrOr25teSCTcjpYSpCQsfRBsRqABcBra20OIZKsstomIARBVnIMIUDSAhwHxvOgm5oQNDdhWNgf/PPVGy98+92jH6JB6d81AQDMkeHLV7p6es92rsjuaso0d7DngdJpkJcGuSmw44CljEFXZE+AqJBCCSGC4rYktgspIRwHnEqBm5uBTBbIZmGyWUQtGfjNzRhm+cH3Jmae/+aP/v09AI0cSy0od3tFhgDYLzz1xINP9/f8yXov9ZCnNYlIQ+hku1prkFIwSgFhABOG8VFacshZWddSxcpWXElKGClhmKGT1WckBAoEfb5QOnzwwsg3/uqHg8cQ3xla8lWZ5bgjRADkLz+2b9NX7t/y/JYV2a+0SpmW2kAYDaGru4fz94Mqq0ZT0wOQkFG9CmaIEBEQxWt8XFfh3ND0zD9897+G/vL1w0cu3I3ll5OASj+8qX/dit/Zv+9n9/T1/HZ3pnkgLYSUBmAYcLKnQTV7Gwtuic2DTrZFCNBEUADySqmx3NzJY5dGX/nbH7395sWRkVks0yWpe3BNDtaBR/etfXr3ji9vXr3qmc5M8/Ym23YtYgh8+t3YiuUjAKHRyPtB6Woud+r0lYnXDx5//+DBw0c+QWz1z9w1uZv7JAD2kw/tXf3k7p0Pbuzuerwz27In43m9KctqtqSQgniBAiKjEapIlYIglyuWLl+dnT1xdmx88IfHT/7HW0ePj6M61z/TFyUXI4Idx0k9umd3x+5NG9d2d7T3Z5uauj3H7rCY0wBMGOliMfAnZ+byo6OTU8MnPz536e0T70+FYVDG/8Grsp82TuWydOXC9GKXpWvB3vPL0v/vy/8AndtI5OWgXEUAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTItMDMtMjJUMjI6MTc6MTItMDU6MDC8MRKFAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDEyLTAzLTIyVDIyOjE3OjEyLTA1OjAwzWyqOQAAAABJRU5ErkJggg==",Ei="/static/saudi_arabia-5lE2hkXg.png",Ni="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAA4ASURBVGje5ZpZbFzXecd/Z7nLzHBIicOhSIqSKMqSLFESFW+VvNWWkQROATuw4T4Y6VvQpmgfAuStCFIEXV9aA0UDww1QBG2BFE2Qwo1bwHVs1I4XybZiS7ZVy1pIi5REiqs4nPXec04f7h2SotV2KFGJix7ym+XeO+ee///7n+8s94NfbRGp/Uob8Mu8jwAkoFKT6XELmNQs4NLjbg33+NwR0PSu0oGf7d4zuKlzW99ge6FzMJtv6w8zYUFrHQIuiuNavVqbKZdK46XpufOzoxfPX/n4/GTciCorCLklZNwKAgQgJAR9B/ds6d67477urZsf6enp+UKxs6u/I9/elstkpKc9lEwEYKylEUVUahUzX1pYnJqZHp+4PHH8ytjFl6+cOvfmpRMfjzto3Aoi1psAKcEfOHRwsHNo8Mn+7QNP7tg2cPvmYm+Qz+ZQSiUInMOtgCHSFymS5hhjWKgsMn7lcu38pyOnxs9/+uPZD8/98+g7J0ccRCSq+FwRIADVv2OgsPGePU8UB7f+ztCu2/ft6NuqMkGItQ7jHMkf4D7rxiYJApFUJgRSCir1GmfHR81HZz4+MXNu7NmZY6eevzR6YZZrY8UNF7VO4L09Dx3am7/n9u/279n5zcPDd/VvKfZKJwT12NCwhshaImuJUzOrLLaW2C2fj6whMhYpJd0bCrJY6OotafuILbRt3pjLn5n+9OI866CEmyVAAMGBx448KHf1PdO/Y/DRw3sOetkwSy2OaRiTgjZLII21GGexLnm/xlYTYi1RWkc2CNlU6PLnXGO4EoqDm4rFM1fOjF6+WRJuhgABBMNPfOmL8bbCM529PcOHd+3HUx51ExNbQ+QsUQrOWgvWgknAx9Yunb8uGStJcYbIGLTSFDs2iolaaUvVF3f39vR+Mnn6/NjNkHCjBAjAO/D4Iw+aga5nXD67+57bhsiFWeomXpJ7JjL0Vwx7FiIOXI0YXojZvxCzuxQzUI4p1AzKWCrOUsURW4tN1bJkzhGbhIyEBEUuzDBSmu4m6x/sKRZPXvlk9CI3GA9uNAjqvUfuHVL7t/7NvM89u3u384VttxE7cDi6Go6Di4a9ZUux4Qisu+6NHNCQgilPcConeT+vuOInVwq3onXp52RiIZACjo+c5uzkBTbWeT06MfqN/3z16MckE6lbrgC5dXB7V+7Qnu8uZNWjVkj29W9HaY2MDXfPRTw+UefAQkRH3aCMAZt0AbfKsBZlDO11w2A5ZmcpwlrLRc9Rw2LMiq5gkiBprME4i5KSkdkrGC225jryoZq4+kZpYaG2ViWslQABBIOP/frTlUL2m1dN5LVl2thW7KWjYXl8os6R6Qb5ulkGaf53a16Xiwy7FiM21A0jvmNBJMQ1A+fK4CiFYHx+lsWohpfxd3Z0dZ6fOHn6I9YYD9ZKgNz70KFdbmfvny4o119uRGxs62BfpoOnL9a4cz5CmOVgdyMmjKW/EtNTjTkdwrywWLN6hDBY55gszTNbKSM97YeZoK9TBq9Mj12aW4sKZKsXNr0f7N7yRDVU+6txTMNa8gaeGquyf7aGazSgEd20uUaDobkavzlWIVNtUIsj6qusEceAILKWmjFUQ31HZmjgq4DPGmLbWhQg99x/93a3u+87JWF7K1GEiWO+Mat5spHBLXnRrINZnLH0VmOMtZzIkgynZrk7xMZw8eos87UyUkqUr2Xg+xs2RvLFmYsTV1tVgV4DASrcveX+xVDvrddr1J3j3vmYr11agO2FZBWwzkUARyYjjoeW43mJWjEyGGtZrNewDiLnqFtDPRPuy+7ddoi337tAi7GgVQJEQYVZW2g7Upf4kbMEseXrFyO652NcdwWCoFXSWy4O6HDw5cuG94KAmmwSIyjXayzWazjAOEdkHXVFJtuVP5KHn5ZgsZUGtayA7vsP9sS54I6GMDSAOxYND80ZTGRhZg5RLHDNEm+digEOzMZs3wjv5RUSh0AwWZqnHkcgBNY5YudoAHFbeFffoTuLp48eX2yl/pYVEGzpHqwGenPcSCLwIzOGQuQSnc3MITIh+P66k+CAPHDnjONYxkcCtajBVOlq2jJwAiyOGEcc6C3hQM8ARxllHRUgxca2wVirNhNB1sKvXTXLobbewE3NIAqdaSxYXxKEg6E5i1cUlIRjYmGOWhw1z+IQWCEwQhB7qj3Tmd8OvEYLcaBVAhS5oN9oKY0UFGMYqDmSCW4C1pUWAYHoyINY330W66C3bMhWBJ/YMqVquYl9yawUWAFGS01b2E+LQ3xLBASgXeAVrJIYJemMYUOcSC99Sf5LJZwxiLbsuo8KubLDzVVZ8BsrjgoQAicFSIGTEqskLvCKgmTQWA8ChAfSaRU4rXBKkkPiO1JPu2v3cMsVXCNCZEPQ+ubV4BwuilH1GqroQeeKqYtICEBJnJI4rXBagaeyAcjaOhGQQJMSlAStcUqCkAghcG7lki0tUYRbiMHzEL4GpdZOhHNgTEJmFOOEwwlvFXhAiqR+pUCrpI1StjwVbIUAFyVCrwutEJ6iHHo0tILIIES607dab85Bo4GLoqRBKiVQyOUNwFUcJzumdmkmiDVL9TaUYLHpfJESIGUKXiI8jfAUQiuEo1xbz4lQHWIR22mpFMrTzLR5zIUeXbUYI9yKoe86va7pSWOu9Vxzgb/0syYBn61DOJjXgmlPLNchRapIhfA0+BrheUilIDZTrsW9gVYjlRHVxriS0irfY7bN53yHjxQ68a6UqcRbEJ5zSVhfuWK0Njn238whJHA+I5nyJc3AhxSJ5H0Nvof0PaSvUULGolIfp0UFtEqAdbOlc9qxqDyPatbnrd4MVmuEUEvxoGUS1lgs8NYGRUWnwGXieZqeDzxk4KF8D+1YsNOlkfUmwNXPXxrxGnZc+xoZ+Pxsa5YrOR+pNEIqkOqWkCCAKV/wUkEv9/sm+EBD4CNCHxn4aE+j6+ZC7czYKC3OxloerCd/9sakLtWO+1Lh+x6nNmX59205lPIQyltBglwentaBCOngpYLHyXa9DN7XEPoQ+oiMjwx9tO/hS4UuVd+9+Prb0y3X3+J1bgZXlpfnXgksdc/3iLI+39+XZ7w9XEXCiphw3Wi/BvAILoWK728JaHgKPAWBtwSeTIAIA1To4/kegXEVeWn25RJUWW8FALb27uk3wlL9VKA1ge/xi805vjfcTuT7CO0hlI9QOlXC9dTQChnp3q8QRFLw7LaQdwp+Kvll4GQDRCZAZlLwWhOW6h9U3jp1jDXsC65pT3BqZKzcf/f+DtPV/nCspYiE4GSnpqfiODhjloGKBACAEOnTPrFiCFtSxgoTIp0jCISUCCH5YX/An+3MUgu91PPeEngyITIT4AU+Gc8jb4gzZyb/6oO/f/5l1rA9vtZNUdsZ5qb82/rujdqCXiOgoiVHuz16q459cxbZJAB5zeggVhorlLF0XiKkQIpkJvejzQF/MNTGbJv/Gc+TCZBhgA59Al/TpjTt05W3Gy8c+/OpkbFp1rAcXfNzgamzowv9Q7tj0d3xSOxrzwq4Gihe6/XRTrB/zpI1zQWKTLtB8i5SoMgUcNPSuKFRLPqa53Zk+cP9bUzl/eX+nl0GL0IfFfj4nkdWaTpqphR8MPZHJ//h+dfX4v0bIgBw/vjchfa9g/12Q2441hInBIuB5LW+gNMbPTZXHb1V8F0aEGU6V5AqDZAq+SwkSiq0UMRK824x5DsH8jy3O0epLUg8nwlSz6dBL/CRgYfvaTJK0W6Faxud/rup7/3k2YXFxcpavH/DBFydn691hbkzmf7isMtntlglcEIQacFHBY9/Gwg5u8HHQ5KPJRkn8VAokZpUSKkwWjOT9XmzJ+SZoTx/ciDPO70ZzFKUX0FA6CPS2Z6vNVnl0Y6kY2Lhtehf3/72ufc+uMgNPCS90TFKAPqOrz91v3p4+K/L3fm9JSwVa6jamHocY4whV425ba7BvqkGO+cjussGPzY0hGMqFJxpU3y4QXEmryj7csUCR4JOFzpaIrRC6QR4RmpyUpN3gtzkwon45fd+/xc/+MkxIF6r92+GgOZv/cO/97WHMw8c+IvGpo69VSmoY6k7Sy2OqZqIShxRj2NsHENswBqcXb14SpuRxgKpJFprfO0RaI+MToc5IQmQZIzDn5g7UXn1xLeOPvfDn5OkzfxSnw5fQ8L9v/304c6H7vhjsbnr3oavRSSaOW9u6XlewyYJEw0TE1mDSR9vAUgh0VLiSYWnNL5S+FKjpURJmeTUOYEPePXYuvErP59+5d1vv/m3//T2zYBfDwKadehDT3xl97ZHH/hWdrD/KdozuUhKjAArwCGa2UFLCz63qs2C5rxh+bvAIV2yt+UZC6VKqXx27B9HXviPv3znpy+d4wZlv94ENOuRAzt3dN79W088Vjyw63czm7qGRSbQVsllEkSztcnn5eKSfIC0IuFYAi+NxVXrcXVi6vjk+x8/e+wHP35h/NML86xTktS6p8kB3uHf+NLA0Bcf+GrXjm1P5oqd+3U2DNEaJ0XSYiGunyXmkn1mYR3EMVG5Wi1PzZ6cOjv6o49efPVfjr34yqckXv/cpcmtrlMA/j1HHuzb99B9h7t3bDvSXizcFeZzW3QY5JXWWii5fHvncNZiojiOa/WFamnxQmlq5t3Jc6Mvn3zl9aPHX33jMst9/XOdKHk9ImQYBJnh+w4VdwwPDRT6egazHe2b/UxQRKscDudiU4mqtSvlqwvj05cmRs69/+HoidePTjXiqMb/wVTZ/+k+zWTpZsL09ZKlV4K95cnS/+/LfwHA1CGQ2lN+AgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxMi0wMy0yMlQyMjoxNDowNS0wNTowMF4Ll5YAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTItMDMtMjJUMjI6MTQ6MDUtMDU6MDAvVi8qAAAAAElFTkSuQmCC",Mi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAAvKSURBVGje5ZpbbBzVGcf/5zYzO3uz117Hju2QhMRJTG44IUoIl5CLaEpbVQGhCh76VJW3Vr08lZdWVK0ECKl9oJV6k/rQoqYKIlwjTCACEiAGQsj94iR2nHvsrO3dnTlzzunDzPiSuHTttQtVj/TJ69Xunvn/zvf9z5kzB/hyG4niS72A/2Y/BAAFwKKg0fsagIpCAzDR+2YSfXzlAMSjy1zXdTdv3jyro6NjfktLy/yampoW13XrOOcOABMEQblYLF7r7+/v7enpOd3V1XW6s7PzUrlcLo4BMiMwZgJALNy+e8t9rd/51iPrFy9avKmpqenObDbb4rpuSghBGWMgJOzeGAOlFKSUqlgsDg0MDPReuHCh6+iRI52vvPDC+7v27u0F4M8EiOkGQClgzd2wfH521ZyHH1i1/uEf3Pf44rqanC2EAKW0oh/RWkNKiRtXr5YP/eGPhz/bu3d7Z9/5Ha8dOdINQCLMimlpbBpB8pa2ufVzHl3zWPO9S361qmPVo+sWr2rqaF3CLWGBUgpKKQghIISM/H/z+3EwxpBwHJ7x/KZGYW24nfP1i3I5v0/rc9cLBe+rBIAAEEu2rmlPb1nw85YVC3+4rn11S0tuNs04SSyqnQPB+TjhN4sdGwDC15QCWsM/2wMn4dK6fL4p7/ub2iyrWWQzJ45cvDiAaciEagEQAPbyxzbcR1fPeq6lbd7WdbffKVzbRVlLuFYCy+rnglM2TuAX/uBYGEqhdPQEdGEQ3EkgnW+wMsXiiialVtY3NJzo6u25UC2EagAQAPaK727aEiyrfS7XMmvFuttWQHALngng6wAZ4WJ5/XwwOrVujFIoHTkGdWMQUAqUcTi5HHGu97fWq+Cuxqam4x+cO9dTDYTKXGli8WL54w/cG7Rnnza5xKKljW0glGFYeSgrH2Ul4eugass2MoDxfRhPwpTKYIyjtm0xmpl1x/3J1DNP3L1+LQCOKRr6VAGw9ofWLjFLc08V0ljUnG1EynYj8RJlJeEpCalVleoBEwQwvgwh+D5Q9mCl0kg2NKLRV0s3ZDJPbetY1TZVLVP5Ep2zYF6duGv2TwezWGMoRWO6DiUlo5H34Y0ACFDdtG1GMyDOAi987eQbIDRBc6Dv2ZrP/6i1pSU3FT2T/QIBYNU91L6tVM+3DSGAYyUgmEApSntvJPzqS8AARkpo34eREkZGIMo+uGVB2A6sko95hD76vUWLvglAYJKlMGkA7Q+uuV3OSX5/WKhEWQewuAVp1LiR96IykCqoet0WZkA08nH4PqA0uLBA/AApL0jdYTtPbF258raZBEAA2Paq2dtKabqsZBSk0QAh8FQwTrynJPyoBKrTb2CCsP61lCMRlwQBAZUKzA+QV+jY3DDr2wCsyUCYFIAlG1e3ylmJbSWmqW8UAqMj0/NvARDPAlWlgAkzQMceMEEQpUGkQkIqNl/YjzywbNnsmQLAnJWz7/HSrN1DKF4DGJRFlAJvpO5HIyqBqpoJa98PfWA0JHS5DF0sAQYgSoNKhZzB0vsbGtdORhev8HOkDq6rm5IbPWEs6WkoGBgAg34JBb+IBLejd8KmtZ4eEwzCWQBjb6QIoItl6OFiONTaAErBVSYxz0lsBGc7EaghVJB+FZNq2LK0MciKDp8aKJhw6UWAsvJxuTRwSwl4Op4Gq9IflYAcn/qeRHDtOoyUIQ9tQJQBVxr1jK/e2L40X2kflQIg9sL8/CDJmgMCKAKYMVV2qdiPgj8M/yYznI51gI5N0JdhyABqaAjyej+iMRgHIQXSujyXm4sKfaBSAJTUu/MDi6YUMdAxgKiLUuCjb/g6SoEHXwXwYwBKwVSnP8wAKaN1gIQplyGvXA3LIhYPgBiAGsAByTQ57rxKtVXqAQwZu0UJSrUmMJTAEAIQgniEb3hDIABqnTQoCJTRVZcAACBaCoNRQBsEhQLU4NCYD5CRLShiAAuE1wjRMq0AbIAbh9dpTmGCEABoBIAQwIT2N+ANITAKGSsJGFP9vQAMTKDCtYAE1NAwdLE4Kp2Q8BIQ7TUQAgYCl/E8KrzTrQQAEQA1gtqGU4AxgFNAxgAwUubxrOCpAA6zqs+AeCk8XIT2/BHTG3dxI+LDjRZGKASBi2kuAQNKAc4AQQGfhilJNaBjCKPF7isJP/AxJEvjpsapEFDFIlRhcPw0GAvH6OZJCIBCUwpCKu+zEkpGAoaAeIRRQHBAsBAGp1Ep4FbPjTyg+puhAGYiJyUARrbZGCijoJSBUAoFDKPCTZKK0sQDAuKrq5QxEMFBrBhCnAmxId50gdOx6TzB74yOery5ykApB2MMhlKUtL6C8CHLf2yVloAiw7KXgWoqOCWWAAkCGKUBpcOVmNG3lMJMtHBfkYxsnFLKwBgD4wyEcyhKgxsq6EWFGVApAG0uD5/iigwxl2eoFiAqgAnGAkDYp44gzACHeFOVRjXPKANjHJRxUM4BzuFTUugrFbsrBVDpQsh4hy92i7Lq5VyAWQLEFoAjAJsDFh/1g7HT4wyIJ4SOH3nGwTgH5QJEcAzBnPvk6uUzqHAIKr4XuPTqB5f4db/LIgzcEqCOBeJYgGMBtoggsNCt6fQCIJEPUBI+RIlHnjMOzjkYFyBCQHGGKyrY3/npJ1cr/e2KM+Aa1DA9e+Mt24fHhQCzLZCEBcQRZ4Ngo8ZIq4cQGh4FpWSceME5OLfAuAAVAlRwFBktniwOdQIoYbozAIAu7zn1ntMvD9uUQ4goC1wLiMOxRktCsFvm7qkBoCNOz6IRF1yAR0F5KF5bHFeMOvhG79kPMInnBJO5QnP49b09ovvG9oRPtMUFuC3CLHDtMJIxiCgbOK16IozNLkx3AcGtEQCUc1AhAEugyGlwrDz8j92fftKHSVjwpAAA8L1dx3e4l71PHcJg8TGlkLSBpBP9tYGEHRplNS16SCrGCBdcgAsRpr8QIBaHsjn6jNq/8+zplxA+PZ4RAABgDr2457Q4eOX3qSFTdKJSYM4YCCknCjssiSrMkADhqAsLQliwor+cW6CCA5aAtgUGGBn8eHDgd690fXR2MuKnBACAvPb8Oy+6Jwvbkz6FQ0JDouMg2EDaCf2hmiIgBIILWJH4EdPjHBACxhIoWcwckaW/P92192UAk96BmYpL6bOnz1yTLx1+JtNTfD+tGBI0TE0ae0KcCa5d9Wo4zAA7Mr1owWMJaEfASwicNnLPC2dOPnfxfN8ApvCQdKo2rT//W+dR9sapJxv6gsONOoE8dVEjXCQsB9yxATdcJ1TySPzfNQKAs8jxLQskkQDSSehsCjKbwlmBAzsvnX9y+773T05FPFDd43FzYd/Rvtsam4/XNuQ60ul0PsUdZJiDNHfgcBsL7Dy2JZfCIlPsRgYI9h8AggCkJgtTk4ZOu/BTCZwxwYGXz5/58bOvv7IXU0j96QAAALr3vc97mmsbPsvV1S3MptOtKeGQNHWQZQksthqw2VkAQeikzdDAQAcK6kQ3tDHQmSRUMoFiQugTfnHPjlPHfvLsqzv3YpKuP90AAECf23fofK209tXncm5tKrMwa7tWklqYw7JYK1rBQCa+p59IuDHQWoeipQ95+hyUVpBJB9epGTwwcO2vf+n68Gd/enPXQVQx8tMJAABM76GT14YP9Lybr8l1Z51Uc43jNszmNfQO1gBiQmE3x1jBI8KjUEGAwJfw+i6g4JWD7uLgR+90n/zFL1/a8fx7Bw/0Ibzfr/qec7oAAIAZuNZfPrxr3yE+4L2VshJ9jSyVbeHZOkooBzBOoNYaSikopca9js4Lolwuo7//eunMieMff3j86G/+/M7uX/92xz/f7S/ciA9PTkubyYOS1qYHt8z+xte+vq6trW3jrFmzVmcymdZEIpEWQvCJDkr6vh+USqVCoVA4d+nSpf3Hjh3rfG3nzn1vvv32BYzW+lf6oOREIKht24mNGzfmOzo65kZHZZtd180LIZIAjJSyODw8fHlgYKC3t7e3e//+/Wd27959RUpZxv/gUdkv6ic+LB0fmJ7osPRYsTN+WPr/vv0LPSbu4pQwwWMAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTItMDMtMjJUMjI6MTY6MDMtMDU6MDA5LnKRAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDEyLTAzLTIyVDIyOjE2OjAzLTA1OjAwSHPKLQAAAABJRU5ErkJggg==",Di="/static/portugal-fZby_qwU.png",Li="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAAoKSURBVGje7ZpbbFzVFYb/fTtn5szFE1/GOB6XJCTBJARDIAhTVFUpaVqEcUpoE1V5AKkvqC+VKFUFPEHVhz6AVCRopV6kClWtICIhUYyAUCkEQ4JNcyHGgcZxYsfxLfFtLmfmXFYfjk/sOAHO2DN2KnVJ62Fmzuy917fWXnvtfTawtMKmdUkHsJj9MAAcgJhWPv29C8CZVhcATX9PRfRxwwHwvSsMwzAefPDB2o0bN65KpVKrEolEyjCMKillCADZtm1ms9lLY2Nj/X19fT2dnZ09Bw8eHDJNMzsLSFlglAOAb7je0tLSsHXr1m+vXbv2e3V1dXdVVFSkDMOIKqW4EAKMed0TERzHgWVZTjabTY+Pj/dfvHixs7u7++Dbb7/d3tbW1g+gUA4QpQbAAWg7duxY1dLSsn3dunXb6+rqGmOxmK6UAuc8UCOu68KyLExOTpoDAwNdXV1db+zdu/fN3bt3nwVgwYuKG0oYAHnHHXfUvvLKK092dHQcGx4etk3TJMuyyLIssm2bHMe5oq7rXqWzf7NtmyzLokKhQLlcjoaHh+2jR492vvzyyz9rbGysgZc/ljR5zjVee/zxx5sOHDjw2rlz57LZbJYKhQJZlnWNwd8kc4H4IDKZDPX29qb379//1127dt0OQLsRIDAAoWeeeWZLe3v7kZGREcrn81cMD2p0EBiWZZFpmjQ8POwePnz4w6effvq7APSFQhALNF5//vnnt7S2tr60Zs2aplgsBiEEOOdgjF3ReXcw/V+/Hc45lFIskUg01NfXb6qtrf3i0KFDfVhATpgvAAZAPfvss99pbW19aeXKlbcahgEpZUkMnwthdluccwghEI1Gk8lk8s5EInGivb39Aua5OswXgHziiSfW7dy586XVq1c3hcNh+Fm+lMbPBTEbAmMM0Wg0WV1dvdo0zY9Onjx5ab4QihXe2NhYe+DAgdeGhoYonU6TZVkLnu/F5gXLsiidTtPg4CDt27fvzw0NDTWYqSwDS7ERwADoL7zwwk+bm5t/UVFRoTRNg1/UlMPz1wxgVl4AvGiIRCJrkslkT1tb2ykUmQ+KBcB37ty5dvv27b+tr69PKaWuCv3Fkrl9aZqm6bq+fHR09P3u7u4xFDEVigkZBkB/+OGHH62vr9+glLoq6S22+KuCEAJKKaRSqY3btm3bhiLrg6IAPPZYa8Ntt619NBaLcE0TkJKD86WrRThnUEpA0wTi8YhYv77xsYce2rK8GACyiP6EZW15YM+e2nWaJuE4AkQM4TBDbS0QsMwvmbguMDjIYJoMjHEIIZHP194uxA/vA949j4C5ICgAVlUFo7d39ebOzog2Ps6RzTK4LoOuAxs2AOEwQIuyCAGMAZkM8NlnQKHAIARHOCywbFk0XFl56+ZYDPumppBGgFwQOAKSyR/dZNvJjbatQMTBGAfAkM8Do6PATTctLoCREaBQAPzdNxGHbWtwnNp7li//fs3p0++kg7QVOAJ0/c5VuVy83rY5HIddZezQEGAYgK6XHwJjgGl6AHwh8qLRtjlsO94QCt2zAninFyWMAM7Y8lW2HYo6DofrMhDN5JlcDhgY8KKg3LnAdYGLFz0IcwE4DoNth+PhcGolgEMIkAeCAhBAIuU4ivvGz/X0xITnnWXLygfBdYHLl4HJyev95kNQEkikEHCFCwRA1yGJwlWuK0CEq7zvCxEwPg7YNhCPA2Ih+8zriON4kDOZa6eZ/9mLBAGiSA1jEEGmYxAATClwIqF7hs8+4L12IFNTQD4PRKOAUl5ULESIvGSXyfhJ76ueY7OcowxdB589TRYCAChyl1UoAGNjgKZ5iVEIDwRj35wk/WeIPK/n8157xSbXoOCDACDLAjHm5BmbfShL+LqCi2hm8ELMKOdfPTgib547zowGNZwxmoZMYMzKmGYJC6F8HjZj2VHOnekOgruDyMsLtu0PdEbnPudrseK3xRiBcwdAZoQITskAAHAYm+gXwnI5B/dpz2ew8zXym4RzAucEIQo2Y2P9CFgKB12wXKILZ6Q000K44Ly4KCi3eJ4nCEGQ0px03f6zpQZA+fyxs0pN9kvpQghacHYvLQAvAqR0IeXEedPs6EXAxB24ZBkc2jOkycHOsJaHJh0o7kAwFwIu+BKomFbJXCjuQJc2vLENdvRfeHc0qF2Bl8HLl5B55OY979+vH/hJRJo6hAM47vR89mDTNdBLNU3YnE8ztQhjAAQHlERa17Mf8PzBT6eQC9p5MecB7pT53od3h6hrrT52V6iQgbStMr63DciFA7ZSMPUIukOVJ/dk3SMo4lywmKqddnf19J1SkTcmwlE3r4VhSQ0uW+STkFniMo6C1JDXwhgPR+2T0ni9rbt3AGU6EyQAhX15580LhnHMCmmwNQlXcNASZETiDK7kcDSJQlhHn2F0vGnab8F7e1wWAABAr5/6vKdT6X8ci0aydkiDoxYfAjEGl3M4SsIO6bgcNaY+kfof9nV1nyvGeGB+b4botBY+f3c8kqpxnSbpOGCuC+bSolz48YxncDQFO6wjHY/QsWjF3349Mv5qenIyuygALk9MmLK65stVYdWUILdB+ACIwEBlg0AMnuc1BcvQkYtHcbqi4tBfLHru4zM9FzCPl6Tz3rUfHx65nKyv/8/yWGRTTNdquFRgQoKBgRHASlnvMgaSEm5IhxOLwkrEYVYl0JNIHN9N/Jd/OnHqJBCs9i8ZAAB0+OLQQN3N3/oiuaxiYzQWreHRKBCPAbEYYEQAXQfz98JFGAshvL20YYDicVBVJdzqKjg1VbCrK5GrrkRPRfz4Xpue+t0n//4IgI15LsYLjVYGQPvVA83Nj1RW/OYWxu6PFGwmLQfCcSAcF8xxwWwbrFDw9saFAmBZ3l7XnY5YzgEpvRMUpQGaAmkKJBVIcDiCwxECtiaQUdL9kuiDPaNjz73YfuQoisz6pQbgtyF33XfvrTtuTj21zgj/uBIsoiwPAHcJnMibFpg1NeZOEf/GGGNebcUA1094gqOgBC6Dpk5lsv/4+9nzL/7zk84zWIDnSwnAb4c3rlhR+fNNdz2yqabmyVQ43BRhTEqXIK5AmAEBmumcplvwDSfG4DIGhzPYnCFNZPflsp1Hh0Ze/f2Rjv09/f3juPpC5ZID8IUDUNub71vRsv62bY3VVdtrI5ENUSlDGtj1I8GHcMXzDA4DLBCmLCs3lMmc+Hxk9PW9pz5/a++Ro+fgeb1k1+TKeVFS+8G9m5ZvvX1989pkzebaeOyeeCjUEJYqpgSXgrErmxoCwSFCwXHtnG1NTubM80NTUx2nh4YOtp347OP3Oj+9iJm5fkNflLweCK6HQuHNTU01G29ZuSJVVbkqYUTqDU3VKLAIALKIshnLGh7PZPr7Ry+d7TjT0/uv48dHrELBxP/gVdmv68e/LO1fmL7eZem5J6//l3LKfwGoQ6ZNBo+T+gAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxMi0wMy0yMlQyMjoxNjozOS0wNTowMBPRKjwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTItMDMtMjJUMjI6MTY6MzktMDU6MDBijJKAAAAAAElFTkSuQmCC",Dn=[{label:"العربية",value:"ar-SA",logo:Ei},{label:"বাংলা",value:"bn-BD",logo:Ni},{label:"Deutsch",value:"de-DE",logo:Ci},{label:"English",value:"en-US",logo:Ii},{label:"Español",value:"es-ES",logo:xi},{label:"Français",value:"fr-FR",logo:Si},{label:"Italiano",value:"it-IT",logo:Mi},{label:"Português",value:"pt-PT",logo:Di},{label:"Pусский",value:"ru-RU",logo:Li},{label:"Türkçe",value:"tr-TR",logo:zi},{label:"Tiếng Việt",value:"vi-VN",logo:Pi},{label:"日本語",value:"ja-JP",logo:Ti},{label:"한국어",value:"ko-KR",logo:Bi},{label:"中文简体",value:"zh-CN",logo:bi},{label:"中文繁体",value:"zh-TW",logo:wi}],Ri=window,Ln=()=>{const{i18n:a}=oe(),e=ze(),n=J(Tn);return t(f,{children:t(ua,{sx:{"& fieldset":{border:"none"},"& .MuiInputBase-input.MuiSelect-select":{display:"flex",alignItems:"center",backgroundColor:i=>i.palette.onBody.main}},labelId:"lang-simple-select-label",id:"lang-simple-select",value:n,onChange:async i=>{const r=i.target.value;await e(Bn(r)),await e(zn(r)),localStorage.setItem("lang",r),a.changeLanguage(r),Ri.location.reload()},children:Dn.map(i=>m(Te,{value:i.value,children:[t(te,{alt:"Remy Sharp",src:i.logo,sx:{width:25,height:25}}),t(S,{mx:1,children:i.label})]},i.value))})})},Rn=()=>{const{toggleTheme:a,themeMode:e}=s.useContext(Ze);return t(de,{size:"large",color:"inherit",onClick:a,children:e=="light"?t(tt,{}):t(ot,{})})},Gi=()=>{const a=ga(),e=ze(),n=J(Ca),o=J(no),i=()=>{a("/message")},r=s.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:1,params:[{name:"@1multi_sign_proposals",where:`{"wallet": ${n.wallet},"status": "ongoing"}`,limit:10,columns:"id"}]}),[n.wallet]),c=s.useCallback(async()=>{await e(He(r))},[r,e]);return s.useEffect(()=>{n.wallet&&c()},[c,n.wallet]),t(_,{children:t(de,{size:"large",color:"inherit",onClick:i,children:o?t(it,{badgeContent:o,color:"primary",max:99,children:t(Na,{fontSize:"large"})}):t(Na,{fontSize:"large"})})})},Ki=s.memo(Gi),Vi=window,Hi=({close:a})=>{const e=u.getCache("current"),n=J(Sn),o=J(Ca),i=J(xa),r=ze(),c=J(qt),p=J(xn),d=s.useRef(1),x=s.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:Date.now(),params:[{name:"@1multi_sign_wallets",where:`{'owners -> ${e.account}': 1}`,order:{id:1},offset:0,limit:10}]}),[e.account]),w=l=>{if(l&&l.id!==o.id){u.setCache("teamSelect",l);const I=i.map(F=>({id:F,changes:{isSelect:!1}}));r(Wt(I)),r(sa({id:l.id,changes:{isSelect:!0}})),r(ca(l)),Vi.location.href="/",a()}};let M=!1;return t(_,{children:t(rt,{freeSolo:!0,id:"team-name",sx:{width:{xs:200,sm:200,md:300},margin:{xs:"0 auto",sm:"0 auto",md:0}},size:"medium",value:o,options:n,getOptionLabel:l=>l.team_name,onChange:(l,I)=>{w(I)},disableClearable:!0,clearIcon:"",ListboxProps:{onScroll:async l=>{if(M)return;const I=l.currentTarget;if(I.scrollTop+I.clientHeight>=I.scrollHeight-50&&Math.ceil(p/x.params[0].limit)>d.current&&c==="idle"){M=!0,d.current+=1;const $=x.params[0].limit*(d.current-1);x.params[0].offset=$;const T=await r(De(x));De.fulfilled.match(T)&&(M=!1)}}},renderInput:l=>t(Le,{variant:"outlined",className:"team-search",...l,InputProps:{...l.InputProps,startAdornment:t(tn,{position:"start",children:t(st,{color:"primary"})}),type:"search"}}),renderOption:(l,I)=>ct(ha,{...l,key:I.id},I.isSelect?t(on,{color:"success"}):t(S,{fontSize:20,width:20}),t(Be,{primary:I.team_name,sx:{ml:1}}))})})},Fi=s.memo(Hi),Qa=window,ji=({onDrawerToggle:a,window:e})=>{const{t:n}=oe(),o=ze(),i=J(Pn),[r,c]=s.useState(null),[p,d]=s.useState(!1),[x,w]=s.useState(!1),[M,y]=s.useState(null),[l,I]=s.useState(u.getCache("current")),F=!!r,$=u.currNetwork(),T=()=>{c(null)},j=v=>{if(l&&l.mnemonic){const K=u.getCache(`${l.mnemonic}-${l.selectId}`);y(K)}else y(()=>[l]);c(v.currentTarget)},Q=lt({disableHysteresis:!0,threshold:0,target:e?e():void 0}),E=J(xa),N=s.useMemo(()=>{if(l)return{jsonrpc:"2.0",method:"ibax.getList",id:Date.now(),params:[{name:"@1multi_sign_wallets",where:`{'owners -> ${l.account}': 1}`,order:{id:1},offset:0,limit:10}]}},[l]),P=s.useCallback(async()=>{if(N){const v=await o(Me(N));if(Me.fulfilled.match(v)&&(v.payload.list?v.payload.list:[]).length){const k=u.getCache("teamSelect"),Y=v.payload.list[0];k?(o(ca(k)),o(sa({id:k.id,changes:{isSelect:!0}}))):(o(ca(Y)),o(sa({id:Y.id,changes:{isSelect:!0}})))}}},[o,N]);s.useEffect(()=>{P(),o(Jt())},[o,P]);const C=s.useMemo(()=>{if(l&&l.account)return[{jsonrpc:"2.0",method:"ibax.getBalance",id:1,params:[l.account,1]}]},[l]),z=s.useCallback(async()=>{C&&await o(Fe(C))},[C,o]);s.useEffect(()=>{z()},[o,z]);const H=(v,K)=>{K!=="clickaway"&&d(!1)},G=v=>{v&&(u.copyToClipboard(v),d(!0))},q=()=>{},ee=async v=>{w(!0);const K=await An(),k=K.network_id,{uid:Y,hasher:ae,token:ge}=K,ke=ne.getKeyring(ae),{privateKey:be}=v,pe=ke.generatePublicKey(be),Ee={data:{signature:ke.sign(`LOGIN${parseInt(k,10)}${Y}`,be),pubkey:pe,ecosystem:1},token:ge},A=await vn(Ee),{account:B}=A,L={...v,publicKey:pe,networkId:Number(k),account:B,keyId:A.key_id,isLogin:!0};u.setCache("current",L),u.setCache("hasher",ae),u.setCacheToken("token",A.token),w(!1),I(L);const re=M.map(W=>(W.id===v.id?W.isLogin=!0:W.isLogin=!1,W));u.setCache(`${v==null?void 0:v.mnemonic}-${v.selectId}`,re),Qa.location.href="/"},U=()=>{if(u.removeCacheToken("token"),u.removeCache("teamSelect"),u.removeCacheToken("type"),l!=null&&l.mnemonic){const K=(u.getCache(`${l.mnemonic}-${l.selectId}`)||[]).map(k=>(k.index===0?k.isLogin=!0:k.isLogin=!1,k));u.setCache(`${l.mnemonic}-${l.selectId}`,K)}Qa.location.href="/login"};return s.useEffect(()=>{document.addEventListener("jutkeyEvent",async({detail:v})=>{if(u.getCacheToken("type")==="jutkey_connect"){if(v.type==="jutkey_connect"){const{current:k}=v;k.isShow=!0,k.isLogin=!0,k.id=u.uuid(),u.setCache("current",k),u.setCacheToken("token",k.token),u.setCacheToken("type",v.type),u.removeCache("teamSelect"),location.href="/"}v.type==="jutkey_break"&&(u.removeCache("teamSelect"),u.removeCache("current"),u.removeCacheToken("token"),u.removeCacheToken("type"),location.href="/login")}})}),m(_,{children:[t(rn,{position:"sticky",elevation:Q?2:0,children:m(Ve,{children:[m(V,{container:!0,alignItems:"center",justifyContent:"space-between",children:[t(V,{item:!0,sx:{display:{md:"none",sm:"block"},mx:1},children:t(de,{color:"inherit",edge:"start",onClick:a,children:t(mt,{})})}),t(V,{item:!0,sx:{ml:{xs:"auto",sm:"auto",md:0}},children:E.length?t(Fi,{close:q}):""}),m(V,{container:!0,alignItems:"center",width:"auto",children:[t(V,{item:!0,sx:{ml:{xs:0,sm:0}},children:t(Ki,{})}),t(V,{item:!0,sx:{display:{xs:"none",sm:"none",md:"block"}},children:t(Rn,{})}),t(V,{item:!0,sx:{display:{xs:"none",sm:"none",md:"block"}},children:t(Ln,{})}),t(V,{item:!0,children:t(de,{color:"inherit",sx:{p:.5},onClick:j,children:l?t(te,{alt:"My Avatar",sx:{width:30,height:30,fontSize:14,bgcolor:"primary.main",color:"onPrimary.main"},src:`${$.rpc}/api/v2//avatar/1/${l.account}`,children:t(te,{src:"/profile.png"})}):t(te,{src:"/profile.png"})})}),m(V,{item:!0,mx:2,children:[l?m(D,{direction:"row",alignItems:"center",children:[t(S,{variant:"body2",component:"span",children:l.account}),t(de,{color:"primary","aria-label":"ContentCopyIcon",onClick:v=>{v.preventDefault(),v.stopPropagation(),G(l.account)},size:"medium",children:t(Ma,{fontSize:"small"})})]}):"",i?m(D,{direction:"row",alignItems:"center",children:[t(S,{variant:"body2",component:"span",children:u.formatFixed(i.amount,i.digits)}),t(S,{variant:"body2",component:"span",ml:1,children:i.token_symbol})]}):""]})]})]}),m(dt,{id:"avatar-menu",anchorEl:r,open:F,onClose:T,MenuListProps:{"aria-labelledby":"basic-button"},sx:{overflowY:"auto",maxHeight:"350px","& .MuiList-root":{my:2}},children:[M?M.map(v=>t(_,{children:v.isShow?m(Te,{children:[t(f,{mr:1,width:25,children:v.isLogin?t(on,{color:"success",fontSize:"medium"}):""}),m(f,{onClick:()=>{ee(v)},children:[m(D,{direction:"row",alignItems:"center",children:[m(S,{variant:"body2",mr:1,children:[n("login.accountName"),":"]}),t(S,{variant:"body2",sx:{width:"150px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:v.name})]}),m(D,{direction:"row",alignItems:"center",children:[m(S,{variant:"body2",mr:1,children:[n("login.address"),":"]}),t(S,{variant:"body2",children:v.account}),t(de,{color:"primary","aria-label":"ContentCopyIcon",onClick:K=>{K.preventDefault(),K.stopPropagation(),G(v.account)},size:"medium",children:t(Ma,{fontSize:"small"})})]})]})]},v.id):""})):"000",t(Te,{sx:{display:"flex",justifyContent:"center",mt:3},children:t(R,{variant:"filled",sx:{minWidth:150,lineHeight:2.4},onClick:U,size:"large",children:n("nav.exit")})})]})]})}),t(ya,{open:p,autoHideDuration:2e3,onClose:H,anchorOrigin:{vertical:"top",horizontal:"center"},children:t(pa,{onClose:H,severity:"success",variant:"filled",sx:{width:"100%"},children:n("login.cody")})}),t(sn,{sx:{color:"#fff",zIndex:v=>v.zIndex.drawer+1},open:x,children:t(fa,{color:"inherit"})})]})},Oi=s.memo(ji),Qi="/static/logo-dark-BC2WCzIt.png",Ui="/static/logo-light-BaPSsb0v.png",Yi=a=>{const{themeMode:e}=s.useContext(Ze),{t:n}=oe(),o=s.useMemo(()=>e==="light"?Ui:Qi,[e]),{onClose:i,...r}=a,c=[{key:1,text:"nav.assets",href:"/",active:"",icon:t(pt,{}),iconOutlined:t(yt,{})},{key:2,text:"nav.manage",href:"/manage",active:"manage",icon:t(ft,{}),iconOutlined:t(At,{})}],p=s.useCallback(y=>{y=y.includes("/record")?"/record":y;let l="";switch(y){case"/":case"/transfer":case"/collection":case"/receive":case"/create":case"/record":l="/";break;case"/manage":l="/manage";break}w(l.replace("/",""))},[]),d=ut(),[x,w]=s.useState(d.pathname.replace("/",""));s.useEffect(()=>{p(d.pathname)},[p,d.pathname]);const M=y=>{i==null||i({},"backdropClick")};return m(ht,{...r,onClose:i,children:[t(f,{component:ue,to:"/",sx:{display:{xs:"none",sm:"block"},mr:"auto",color:y=>y.palette.onSurface.main,fontSize:16},children:t(Ve,{sx:{display:{xs:"none",sm:"none",md:"flex"}},children:t(f,{component:"img",sx:{width:220},alt:"logo",src:o})})}),t(Ve,{sx:{display:{xs:"block",sm:"block",md:"none"},my:2},children:m(V,{container:!0,spacing:2,alignItems:"center",children:[t(V,{item:!0,children:t(Ve,{children:t(f,{component:"img",sx:{width:220},alt:"logo.",src:o})})}),t(V,{item:!0,sx:{ml:"auto"},children:t(Rn,{})}),t(V,{item:!0,children:t(Ln,{})})]})}),t(Aa,{children:t(f,{children:c.map(y=>t(ha,{children:m(cn,{component:ue,to:y.href,selected:x===y.active,onClick:()=>M(y.href),children:[t(gt,{children:x==y.active?y.icon:y.iconOutlined}),t(Be,{children:n(y.text)})]})},y.key))})})]})},Ua=s.memo(Yi),ia=280,Wi=()=>{const a=qe(),e=ve(a.breakpoints.up("md")),[n,o]=s.useState(!1),i={display:"flex",minHeight:"100vh"},r={width:{md:ia},flexShrink:{md:0}},c={flex:1,display:"flex",flexDirection:"column"},p={p:0,flex:1},d=()=>{o(!n)};return m(f,{sx:i,children:[m(f,{component:"nav",sx:r,children:[e?null:t(Ua,{PaperProps:{style:{width:ia}},variant:"temporary",open:n,onClose:d}),t(Ua,{variant:"permanent",PaperProps:{style:{width:ia}},sx:{display:{md:"block",sm:"none",xs:"none"},position:{xs:"fixed",sm:"fixed",md:"static"},"& .MuiPaper-root":{position:{xs:"fixed",sm:"fixed",md:"static"}}}})]}),m(f,{sx:c,children:[t(Oi,{onDrawerToggle:d}),t(f,{sx:p,children:t(vt,{})})]})]})},Ji=({change:a,changeLogin:e})=>{const{t:n}=oe(),[o,i]=s.useState(""),[r,c]=s.useState(null),[p,d]=s.useState("text"),[x,w]=s.useState(null),[M,y]=s.useState(""),[l,I]=s.useState(!0),F=s.useCallback(N=>{const P=N.trim();if(P.length<=0){const C={text:n("login.empty"),boo:!0};return c(C),!1}else if(P.length>16){const C={text:n("login.maxName"),boo:!0};return c(C),!1}else return c({text:"",boo:!1}),!0},[n]),$=N=>{const{value:P}=N.target,C=P.trim();i(C),F(P)},T=s.useCallback(N=>{const P=N.trim();if(P.length<=0){const C={text:n("login.pwEmpty"),boo:!0};return w(C),!1}else if(P.length>50){const C={text:n("login.maxpw"),boo:!0};return w(C),!1}else return w({text:"",boo:!1}),!0},[n]),j=N=>{const{value:P}=N.target;d("password"),y(P),T(P)},Q=N=>{N.preventDefault();const P=F(o),C=T(M);P&&C&&l&&(a(3),e({name:o,password:M}))},E=N=>{I(N.target.checked)};return m(f,{children:[t(Ie,{sx:{minWidth:120,width:"100%",mb:3},children:t(Le,{label:n("login.name"),onChange:$,autoComplete:"off",variant:"outlined",color:"secondary",type:"text",value:o,error:r?r.boo:!1,fullWidth:!0,helperText:r?r.text:""})}),t(Ie,{sx:{minWidth:120,width:"100%",mb:3},children:t(Le,{label:n("login.password"),onChange:j,autoComplete:"off",variant:"outlined",color:"secondary",type:p,value:M,error:x?x.boo:!1,fullWidth:!0,helperText:x?x.text:""})}),m(Ie,{required:!0,error:!l,component:"fieldset",sx:{mb:3},variant:"standard",children:[t(mn,{control:t(ln,{onChange:E,checked:l,size:"medium"}),label:n("login.know"),sx:{"& .MuiTypography-root":{fontSize:14}}}),l?"":t(ra,{children:n("login.checkKnow")})]}),t(D,{direction:"row",justifyContent:"end",children:t(R,{variant:"filled",onClick:Q,sx:{minWidth:200,lineHeight:2.4},size:"large",children:n("login.create")})})]})},he={generateMnemonic:(a=128)=>kt(Da,a),verifyMnemonic(a){return bt(a,Da)},wallet:(a,e=0)=>{const n=wt(a),i=Ct.fromSeed(n).derivePath(`m/44'/60'/0'/0/${e}`),r=i.privateKey.replace("0x",""),c=i.publicKey.replace("0x","");return{privateKey:r,publicKey:c}},publicKey:a=>{try{const e=new ea(a),{publicKey:n}=e;return n.replace("0x","")}catch{return!1}},isAddress(a){return xt(a)},parseUnits(a,e=18){return St(a,e)},formatUnits(a,e=18){return It(a,e)},async exportWallet(a,e){const n=new ea(a),{address:o}=n;return{keyStore:await n.encrypt(e),address:o}},async importWallet(a,e){const n=await ea.fromEncryptedJson(a,e),o=n.privateKey.replace("0x",""),{address:i}=n;return{address:i,privateKey:o}}},We=s.createContext({change:()=>{},loginData:{name:"",password:""}}),qi=()=>{const{t:a}=oe(),{change:e,loginData:n}=s.useContext(We),o=()=>{e(4)},i=()=>{const r=u.getCache("accountList");u.removeCache("current");const c=he.generateMnemonic(),{privateKey:p}=he.wallet(c),d=he.publicKey(p),w=ne.getKeyring().publicToID(d),M=ne.addressString(w),y={id:u.uuid(),index:0,name:n.name,mnemonic:c,password:n.password,privateKey:p,publicKey:d,account:M,isShow:!0,isLogin:!0};r?(r.push(y),u.setCache("accountList",r)):u.setCache("accountList",[y]),e(1)};return m(f,{width:"100%",children:[t(S,{variant:"h5",sx:{fontSize:{xs:"16px",md:"20px"}},mb:{xs:1,md:2,lg:3},children:a("login.setting")}),t(S,{component:"div",sx:{fontSize:{xs:"12px",md:"16px"}},mb:{xs:1,md:5},children:a("login.safety")}),m(V,{container:!0,direction:"row",justifyContent:"space-between",children:[m(V,{item:!0,border:1,p:{xs:1,md:2},borderRadius:5,width:{xs:"100%",md:"45%"},display:"flex",flexWrap:"wrap",alignContent:"space-between",mb:{xs:2,md:0},children:[m(f,{mb:{xs:1,md:2,lg:3},children:[t(S,{variant:"body2",mb:1,children:a("login.wallet")}),t(S,{variant:"body2",fontSize:{xs:12,md:14},children:a("login.base")})]}),t(f,{textAlign:"center",width:"100%",children:t(R,{variant:"filled",sx:{fontSize:{xs:12,md:14},minWidth:150,lineHeight:2.4},onClick:i,size:"large",children:a("login.new")})})]}),m(V,{item:!0,p:{xs:1,md:2},border:1,borderRadius:5,width:{xs:"100%",md:"45%"},display:"flex",flexWrap:"wrap",alignContent:"space-between",children:[m(f,{mb:{xs:1,md:2,lg:3},children:[t(S,{variant:"body2",mb:1,children:a("login.had")}),t(S,{variant:"body2",fontSize:{xs:12,md:14},children:a("login.multi")})]}),t(f,{textAlign:"center",width:"100%",children:t(R,{variant:"filled",sx:{fontSize:{xs:12,md:14},minWidth:150,lineHeight:2.4},onClick:o,size:"large",children:a("login.loading")})})]})]})]})};function Ya(a){const{children:e,value:n,index:o,...i}=a;return t(f,{role:"tabpanel",hidden:n!==o,id:`wallet-${o}`,"aria-labelledby":`info-${o}`,...i,minHeight:"25vh",children:n===o&&t(f,{sx:{py:2},children:e})})}function Wa(a){return{id:`simple-tab-${a}`,"aria-controls":`simple-tabpanel-${a}`}}const Zi=()=>{const a=[];for(let e=0;e<12;e++)a.push(e+1);return a},Xi=va(Tt)(({theme:a})=>({"&":{backgroundColor:a.palette.container.main,color:a.palette.container.contrastText}})),_i=()=>{const{t:a}=oe(),[e,n]=s.useState(0),[o,i]=s.useState([]),[r,c]=s.useState(""),[p,d]=s.useState(""),[x,w]=s.useState(!1),[M,y]=s.useState(a("login.privateEmpty")),{change:l,loginData:I}=s.useContext(We),F=(C,z)=>{n(z),d(""),i([])},$=Zi(),T=(C,z)=>{c(C),i(()=>(o[z]=C,o))},j=C=>{if(r){const H=r.replace(/^\s+|\s+$/g,"").split(" ");if(H.length===12){i(()=>(o[C]="",[...o]));const G=[];for(let q=0;q[...G])}}},Q=C=>{const{value:z}=C.target;d(z)},E=()=>{l(3)},N=()=>{const C=u.getCache("accountList");if(u.removeCache("current"),e===1)if(p==="")y(a("login.privateEmpty")),w(!0);else if(!he.publicKey(p))y(a("login.privateError")),w(!0);else{const z=he.publicKey(p),G=ne.getKeyring().publicToID(z),q=ne.addressString(G),ee={id:u.uuid(),name:I.name,mnemonic:"",password:I.password,privateKey:p,publicKey:z,account:q,isShow:!0,isLogin:!0};C?(C.push(ee),u.setCache("accountList",C)):u.setCache("accountList",[ee]),l(1)}else{const z=o.join(" ");if(o.length===0)y(a("login.mnemonicEmpty")),w(!0);else if(!he.verifyMnemonic(z))y(a("login.mnemonicError")),w(!0);else{const{privateKey:H}=he.wallet(z),G=he.publicKey(H),ee=ne.getKeyring().publicToID(G),U=ne.addressString(ee),v={id:u.uuid(),index:0,name:I.name,mnemonic:z,password:I.password,privateKey:H,publicKey:G,account:U,isShow:!0,isLogin:!0};C?(C.push(v),u.setCache("accountList",C)):u.setCache("accountList",[v]),l(1)}}},P=()=>{w(!1)};return m(f,{width:"100%",children:[t(S,{variant:"body2",sx:{fontSize:{xs:12,md:12,lg:16},mb:{xs:1,md:2,lg:3}},children:a("login.use")}),m(dn,{value:e,onChange:F,textColor:"primary",centered:!0,indicatorColor:"primary","aria-label":"full width tabs example",children:[t(Oe,{label:a("login.word"),...Wa(0)}),t(Oe,{label:a("login.private"),...Wa(1)})]}),m(f,{width:"100%",sx:{overflowY:"auto"},children:[t(Ya,{value:e,index:0,children:m(f,{mb:2,children:[t(S,{mb:1,sx:{fontSize:{xs:12,md:14,lg:16}},children:a("login.restore")}),t(f,{display:"flex",flexWrap:"wrap",justifyContent:"space-between",mb:2,height:180,children:$.map((C,z)=>t(Le,{autoComplete:"off",sx:{width:"20%",mx:1,mb:{xs:1,md:1,lg:2},fontSize:{xs:12,md:12,lg:16},"& .MuiInputBase-input":{p:{xs:.5,md:.5,lg:1}}},value:o[z]||"",size:"medium",InputProps:{startAdornment:t(tn,{position:"start",children:C})},onChange:H=>{const{value:G}=H.target;T(G,z)},onBlur:()=>{j(z)}},C))})]})}),t(Ya,{value:e,index:1,children:m(f,{mb:2,children:[t(S,{mb:1,sx:{fontSize:{xs:12,md:14,lg:16}},children:a("login.text")}),t(f,{width:"100%",height:180,mb:2,sx:{backgroundColor:C=>C.palette.container.main,color:C=>C.palette.container.contrastText},children:t(Xi,{style:{resize:"none"},minRows:6,maxRows:6,className:"w-full p-3 border",value:p,onChange:Q})})]})})]}),m(f,{display:"flex",justifyContent:"space-around",children:[t(R,{variant:"filled",sx:{minWidth:150,lineHeight:2.4},onClick:E,size:"large",children:a("login.cancel")}),t(R,{variant:"filled",sx:{minWidth:150,lineHeight:2.4},onClick:N,size:"large",children:a("login.start")})]}),t(ya,{anchorOrigin:{vertical:"top",horizontal:"center"},open:x,onClose:P,autoHideDuration:3e3,sx:{"& .MuiAlert-action":{mr:3}},children:t(pa,{onClose:P,severity:"error",variant:"filled",sx:{width:"100%"},children:M})})]})},$i=va(ka)(({theme:a})=>({"&":{width:ve(a.breakpoints.up("md"))?"40%":"95%",margin:"auto",padding:0},"& .MuiDialogContent-root":{padding:a.spacing(2),width:"100%"},"& .MuiDialogActions-root":{padding:a.spacing(2)}})),er="https://www.google.com",ar=({isTip:a,closeDialog:e})=>{const{t:n}=oe(),o=()=>{e()};return m($i,{fullWidth:!0,onClose:o,"aria-labelledby":"customized-dialog-title",open:a,children:[m(D,{direction:"row",justifyContent:"space-between",alignItems:"center",children:[t(ba,{sx:{m:0,p:2,fontSize:14},id:"jutkey-customized-dialog-title",children:n("nav.wallet")}),t(de,{"aria-label":"close",onClick:o,children:t(un,{})})]}),m(wa,{dividers:!0,children:[t(S,{variant:"inherit",sx:{display:"flex",alignItems:"center",justifyContent:"center",my:3},children:t(te,{alt:"jutkey",src:"/logo-128.png",sx:{width:120,height:120}})}),t(S,{variant:"body2",textAlign:"center",m:3,children:n("nav.chain")}),t(S,{variant:"inherit",m:5,children:t(R,{component:ue,to:er,target:"_blank",variant:"filled",sx:{width:"50%",mx:"auto",display:"flex",alignItems:"center",textTransform:"capitalize"},children:n("nav.des")})})]})]})};function Ja(a){const{children:e,value:n,index:o,...i}=a;return t("div",{role:"tabpanel",hidden:n!==o,id:`full-width-tabpanel-${o}`,"aria-labelledby":`full-width-tab-${o}`,...i,children:n===o&&t(f,{sx:{p:3},children:e})})}function qa(a){return{id:`simple-tab-${a}`,"aria-controls":`simple-tabpanel-${a}`}}const nr=({change:a})=>{const e=qe(),{t:n}=oe(),o=ga(),[i,r]=s.useState(0),[c,p]=s.useState(""),[d,x]=s.useState(""),[w,M]=s.useState(""),[y,l]=s.useState(!1),[I,F]=s.useState(null),[$,T]=s.useState("text"),[j,Q]=s.useState(null),[E,N]=s.useState(),[P,C]=s.useState(!0),[z,H]=s.useState(u.getCache("accountList")||[]),[G,q]=s.useState(""),[ee,U]=s.useState(!1),v=s.useCallback(A=>{if(A.trim().length<=0){const L={text:n("login.select"),boo:!0};return F(L),!1}else return F({text:"",boo:!1}),!0},[n]),K=A=>{const{value:B}=A.target;p(B);const L=z.find(re=>re.id===B);N(L),x(L.name),v(L.name)},k=s.useCallback(A=>{const B=A.trim();if(B.length<=0){const L={text:n("login.pwEmpty"),boo:!0};return Q(L),!1}else if(B!==E.password){const L={text:n("login.incorrect"),boo:!0};return Q(L),!1}else return Q({text:"",boo:!1}),!0},[E,n]),Y=A=>{const{value:B}=A.target;T("password"),M(A.target.value),k(B)},ae=async A=>{A.preventDefault();try{const B=v(d),L=k(w);if(B&&L&&P){l(!0);const re=await An(),W=re.network_id,{uid:Xe,hasher:Re,token:Gn}=re,Ia=ne.getKeyring(Re),{privateKey:Ta}=E,Ba=Ia.generatePublicKey(Ta),Kn={data:{signature:Ia.sign(`LOGIN${parseInt(W,10)}${Xe}`,Ta),pubkey:Ba,ecosystem:1},token:Gn},_e=await vn(Kn),{account:Vn}=_e,za={...E,selectId:E.id,publicKey:Ba,networkId:Number(W),account:Vn,keyId:_e.key_id,isLogin:!0};if(u.setCache("current",za),u.setCache("hasher",Re),u.setCacheToken("token",_e.token),E!=null&&E.mnemonic){const Pa=u.getCache(`${E==null?void 0:E.mnemonic}-${E.id}`);if(!Pa)u.setCache(`${E==null?void 0:E.mnemonic}-${E.id}`,[za]);else{const Hn=Pa.map(Ge=>(Ge.index===0?Ge.isLogin=!0:Ge.isLogin=!1,Ge));u.setCache(`${E==null?void 0:E.mnemonic}-${E.id}`,Hn)}}o("/",{replace:!0}),l(!1)}}catch{l(!1)}},ge=()=>{a(2)},ke=A=>{C(A.target.checked)};s.useEffect(()=>{(()=>{const B=u.getCache("accountList")||[];B.length&&(p(String(B[0].id)),N(B[0]),x(B[0].name),H(B))})()},[]);const be=(A,B)=>{r(B)},pe=A=>{r(A)},Pe=()=>{const A=u.currNetwork();document.getElementById("jutkey-chrome-extension-installed");try{const{rpc:B,walletId:L}=A,{host:re,origin:W}=document.location,Xe=L;chrome.runtime.sendMessage(Xe,{path:"notice",params:{host:re,origin:W,rpc:B}},Re=>{q(Re.result)})}catch{U(!0)}};s.useEffect(()=>{G&&document.addEventListener("jutkeyEvent",async({detail:A})=>{if(A.type==="jutkey_connect"){const{current:B}=A;B.isShow=!0,B.isLogin=!0,u.setCache("current",B),u.setCacheToken("token",B.token),u.setCacheToken("type",A.type),location.href="/"}A.type==="jutkey_break"&&(u.removeCache("current"),u.removeCacheToken("token"),u.removeCacheToken("type"),location.href="/login")})},[G]);const Ee=()=>{U(!1)};return m(f,{children:[t(D,{direction:"row",justifyContent:"space-between",children:t(rn,{position:"static",children:m(dn,{centered:!0,value:i,onChange:be,indicatorColor:"secondary",textColor:"inherit","aria-label":"full width tabs assets",sx:{"& .MuiTab-root":{textTransform:"capitalize","& .MuiPaper-root":{width:"100%"}}},children:[t(Oe,{label:n("nav.local"),...qa(0)}),t(Oe,{label:n("nav.jutkey"),...qa(1)})]})})}),m(Bt,{axis:e.direction==="rtl"?"x-reverse":"x",index:i,onChangeIndex:pe,children:[m(Ja,{value:i,index:0,dir:e.direction,children:[m(Ie,{sx:{minWidth:120,width:"100%",mb:3},error:I?I.boo:!1,children:[t(zt,{id:"name-select-helper-label",children:n("login.name")}),t(ua,{labelId:"name-select-helper-label",id:"name-simple-select-helper",value:c,label:`${n("login.name")}`,onChange:K,MenuProps:{style:{maxHeight:350}},renderValue:A=>{const B=z.find(L=>L.id===A);if(B)return B.name},children:z.length?z.map(A=>A.isShow?t(Te,{value:A.id,sx:{display:"flex",justifyContent:"space-between"},children:t(Be,{primary:A.name})},A.id):""):t(Te,{value:0,disabled:!0,children:t("em",{className:"text-sm",children:n("login.no")})})}),I?t(ra,{children:I.text}):""]}),t(Ie,{sx:{minWidth:120,width:"100%",mb:3},children:t(Le,{label:n("login.password"),onChange:Y,autoComplete:"off",variant:"outlined",color:"secondary",type:$,value:w,error:j?j.boo:!1,fullWidth:!0,helperText:j?j.text:""})}),m(Ie,{required:!0,error:!P,component:"fieldset",sx:{mb:3},variant:"standard",children:[t(mn,{control:t(ln,{onChange:ke,checked:P,size:"medium"}),label:n("login.know"),sx:{"& .MuiTypography-root":{fontSize:14}}}),P?"":t(ra,{children:n("login.checkKnow")})]}),m(D,{direction:"row",justifyContent:"space-around",children:[t(R,{variant:"outlined",onClick:ge,sx:{minWidth:150,lineHeight:2.4},size:"large",children:n("login.account")}),t(R,{color:"primary",variant:"filled",size:"large",onClick:ae,sx:{ml:3,minWidth:150,lineHeight:2.4},children:n("login.sign")})]}),t(sn,{sx:{color:"#fff",zIndex:A=>A.zIndex.drawer+1},open:y,children:t(fa,{color:"inherit"})})]}),t(Ja,{value:i,index:1,dir:e.direction,children:t(f,{children:t(f,{height:277,display:"flex",alignItems:"center",justifyContent:"center",children:t(R,{sx:{width:"50%",justifyContent:"space-around",height:"50px"},size:"large",variant:"filled",endIcon:t(te,{alt:"Remy Sharp",src:"/logo-128.png",sx:{width:30,height:30}}),onClick:Pe,children:"Jutkey Wallet"})})})})]}),t(ar,{isTip:ee,closeDialog:Ee})]})},tr=s.memo(nr),or=window,ir=()=>{const a=ze(),e=J(Tn),{t:n,i18n:o}=oe(),[i,r]=s.useState(1),[c,p]=s.useState({name:"",password:""}),d={p:0,height:"100vh"},x=l=>{r(l)},w=l=>{p(l)},M=()=>{r(()=>i-1)},y=async l=>{const I=l.target.value;await a(Bn(I)),await a(zn(I)),localStorage.setItem("lang",I),o.changeLanguage(I),or.location.reload()};return t(gn,{sx:d,children:t(f,{height:"100%",display:"flex",justifyContent:"center",alignItems:"center",children:m(f,{width:{xs:"100%",md:"70%",lg:"65%",xl:"60%"},children:[m(f,{p:{xs:3,md:4,lg:5},borderRadius:10,sx:{backgroundColor:l=>l.palette.onBody.main},children:[m(V,{container:!0,spacing:1,alignItems:"center",justifyContent:"space-between",mb:2,children:[t(V,{item:!0,children:t("img",{src:"/avatar-2.png",alt:"logo",width:"50"})}),t(V,{children:i>1?t(de,{color:"inherit",sx:{p:.5},onClick:M,children:t(Pt,{title:n("login.back"),children:t(Et,{})})}):""})]}),t(f,{minHeight:{xs:"100%",md:"384px"},maxHeight:{xs:"100%",md:"60vh"},sx:{overflowY:"auto",backgroundColor:l=>l.palette.onBody.main,py:5},children:i===1?m(D,{width:"100%",direction:"row",justifyContent:"space-between",flexWrap:"wrap",children:[m(f,{width:{sm:"100%",md:"50%"},children:[t(S,{variant:"h3",mb:2,sx:{fontSize:{xs:"20px",md:"24px",lg:"28px",xl:"30px"}},children:n("login.sign")}),t(S,{variant:"body2",mb:2,children:n("login.continue")})]}),t(f,{width:{sm:"100%",md:"50%"},children:t(tr,{change:x})})]}):i===2?m(D,{width:"100%",direction:"row",justifyContent:"space-between",flexWrap:"wrap",children:[t(f,{width:{sm:"100%",md:"50%"}}),t(f,{width:{sm:"100%",md:"50%"},children:t(Ji,{change:x,changeLogin:w})})]}):i===3?m(D,{width:"100%",direction:"row",justifyContent:"space-between",flexWrap:"wrap",children:[m(f,{width:{sm:"100%",md:"30%"},children:[t(S,{variant:"h3",mb:2,sx:{fontSize:{xs:"20px",md:"24px",lg:"28px",xl:"30px"}}}),t(f,{display:"flex",justifyContent:"center",alignItems:"center",height:"80%",children:m(f,{children:[t(f,{display:"flex",justifyContent:"center",mb:{xs:1,md:2,lg:3},children:t(te,{alt:"My Avatar",sx:{width:{xs:50,md:50},height:{xs:50,md:50},fontSize:{xs:12,md:12},bgcolor:"primary.main",color:"onPrimary.main"}})}),t(f,{textAlign:"center",display:"flex",justifyContent:"center",mb:2,children:t(S,{variant:"body1",mb:1,textAlign:"center",ml:.5,children:c.name})})]})})]}),t(f,{width:{sm:"100%",md:"70%"},children:t(We.Provider,{value:{change:x,loginData:c},children:t(qi,{})})})]}):i===4?t(D,{width:"100%",direction:"row",justifyContent:"space-between",flexWrap:"wrap",children:t(f,{width:{sm:"100%",md:"100%"},children:t(We.Provider,{value:{change:x,loginData:c},children:t(_i,{})})})}):""})]}),t(f,{children:t(ua,{sx:{"& fieldset":{border:"none"},"& .MuiInputBase-input.MuiSelect-select":{display:"flex",alignItems:"center",backgroundColor:l=>l.palette.container.main},"& .MuiTypography-root":{mr:1}},labelId:"lang-simple-select-label",id:"lang-simple-select",value:e,onChange:y,children:Dn.map(l=>m(Te,{value:l.value,children:[t(te,{alt:"Remy Sharp",src:l.logo,sx:{width:25,height:25}}),t(S,{ml:1,children:l.label})]},l.value))})})]})})})};function rr(){return m(f,{p:5,children:[t(S,{variant:"body1",component:"h2",textAlign:"center",mb:5,children:"Network service connection failed"}),t(D,{direction:"row",alignItems:"center",justifyContent:"center",children:t(R,{component:ue,to:"/",variant:"filled",children:"Go to the home page"})})]})}function Za(){return m("div",{children:[t("h2",{children:"Nothing to see here!"}),t("p",{children:t(ue,{to:"/",children:"Go to the home page"})})]})}function sr({children:a}){return u.getCacheToken("token")?t(_,{children:a}):t(hn,{to:"/login",replace:!0})}function cr({children:a}){return u.getCacheToken("token")?t(hn,{to:"/",replace:!0}):t(_,{children:a})}const lr="modulepreload",mr=function(a){return"/"+a},Xa={},le=function(e,n,o){let i=Promise.resolve();if(n&&n.length>0){const r=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),p=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));i=Promise.all(n.map(d=>{if(d=mr(d),d in Xa)return;Xa[d]=!0;const x=d.endsWith(".css"),w=x?'[rel="stylesheet"]':"";if(!!o)for(let l=r.length-1;l>=0;l--){const I=r[l];if(I.href===d&&(!x||I.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${w}`))return;const y=document.createElement("link");if(y.rel=x?"stylesheet":lr,x||(y.as="script",y.crossOrigin=""),y.href=d,p&&y.setAttribute("nonce",p),document.head.appendChild(y),x)return new Promise((l,I)=>{y.addEventListener("load",l),y.addEventListener("error",()=>I(new Error(`Unable to preload CSS for ${d}`)))})}))}return i.then(()=>e()).catch(r=>{const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=r,window.dispatchEvent(c),!c.defaultPrevented)throw r})},dr=5,ur=({isGas:a,close:e})=>{const{t:n}=oe(),[o,i]=s.useState(dr),r=s.useRef(null),c=s.useCallback(()=>{a&&(r.current=setInterval(()=>{i(d=>d-1)},5e3))},[a]),p=()=>{e()};return s.useEffect(()=>{o===0&&r.current?(e(),clearInterval(r.current)):o===5&&c()},[e,o,c]),m(ka,{open:a,onClose:p,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[t(ba,{id:"alert-dialog-title",sx:{textAlign:"center"},children:n("user.tips")}),t(wa,{children:t(Nt,{id:"alert-dialog-description",sx:{fontSize:12},children:n("home.gasmin")})}),t(Mt,{sx:{justifyContent:"center"},children:m(R,{onClick:p,children:[n("home.know"),"(",o,")"]})})]})},gr=({children:a})=>{const e=qe(),n=ve(e.breakpoints.up("md")),o=ve(e.breakpoints.up("sm")),i=30,r=o?25:0,c={p:o?4:2,borderTopLeftRadius:i,borderTopRightRadius:i,borderBottomLeftRadius:r,borderBottomRightRadius:r,m:o?2:0,height:"calc(100vh - 80px)",overflowY:"auto",mt:0,mb:o?2:0,mr:o?2:0,ml:o?n?0:2:0,backgroundColor:e.palette.container.main};return t(gn,{sx:c,elevation:0,children:a})},je=({num:a=1})=>{const e=[];for(let n=0;nm(f,{mb:1,children:[t(La,{variant:"rounded",height:30,width:"50%",animation:"wave",sx:{mb:1}}),t(La,{variant:"rounded",height:50,animation:"wave"})]},n))})},hr=va(ka)(({theme:a})=>{const e=ve(a.breakpoints.up("md"));return{"&":{width:e?"40%":"95%",margin:"auto",padding:0},"& .MuiDialogContent-root":{padding:a.spacing(2),width:"100%",minHeight:e?"60vh":"40vh",maxHeight:e?"60vh":"40vh"},"& .MuiDialogActions-root":{padding:a.spacing(2)}}}),pr=({isAdd:a,closeDialog:e,ecoItem:n})=>{const{t:o}=oe(),[i,r]=s.useState(null),c=s.useRef(1),[p,d]=s.useState(!1),[x,w]=s.useState(!1),M=10,y=s.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getOpenEcosystem",id:1,params:[2,0,10]}),[]),l=s.useCallback(async()=>{y.params=[2,0,10];const T=await Ka(y),j=T==null?void 0:T.list.map(N=>N.ecosystem),Q=await Ue("ecosystem_logo",{ecosystems:j.join(",")}),E=T==null?void 0:T.list.map(N=>{const P=Q.find(C=>Number(C.ecosystem)===N.ecosystem);return N.info.logoURL=P==null?void 0:P.logoURI,N});r(()=>({count:T.count,list:[...E]}))},[y]);s.useEffect(()=>{a&&l()},[l,a]);const I=()=>{l(),e()},F=async T=>{if(p)return;const{target:j}=T,Q=j,{scrollHeight:E,scrollTop:N,offsetHeight:P}=Q;N+P>=E-25&&Math.ceil(i.count/M)>c.current&&!p&&(d(!0),c.current+=1,y.params[1]=(c.current-1)*M,setTimeout(async()=>{const z=await Ka(y),H=z==null?void 0:z.list.map(U=>U.ecosystem),G=await Ue("ecosystem_logo",{ecosystems:H.join(",")});Math.ceil(i.count/M)>c.current?w(!0):w(!1);const ee=z==null?void 0:z.list.map(U=>{const v=G.find(K=>Number(K.ecosystem)===U.ecosystem);return U.info.logoURL=v==null?void 0:v.logoURI,U});r(()=>({count:z.count,list:[...i.list,...ee]})),d(!1)},500))},$=async T=>{n(T)};return m(hr,{fullWidth:!0,onClose:I,"aria-labelledby":"customized-dialog-title",open:a,children:[m(D,{direction:"row",justifyContent:"space-between",alignItems:"center",children:[t(ba,{sx:{m:0,p:2},id:"jutkey-customized-dialog-title",children:o("home.add")}),t(de,{"aria-label":"close",onClick:I,children:t(un,{})})]}),t(wa,{dividers:!0,sx:{height:"50vh"},children:m(Aa,{component:"ul",sx:{height:"45vh",overflowY:"auto"},onScroll:F,children:[i?i.list.length?i.list.map(T=>m(cn,{onClick:()=>{$(T)},children:[t(Dt,{children:T.info.logoURL?t(te,{src:T.info.logoURL,sx:{width:30,height:30},children:t(Qe,{})}):t(te,{sx:{width:30,height:30},children:t(Qe,{})})}),t(Be,{primary:t(s.Fragment,{children:t(S,{component:"div",variant:"body2",mb:1,sx:{width:"70%",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:`${T.info.name} # ${T.info.id}`})})}),m(f,{sx:{display:"flex",alignItems:"center"},children:[t(S,{variant:"body2",children:u.formatFixed(T.info.total_amount,T.info.digits)}),t(S,{variant:"body2",sx:{ml:1},children:T.info.token_symbol})]})]},T.ecosystem)):t(D,{direction:"row",justifyContent:"center",alignItems:"center",height:"100%",children:t(S,{children:o("login.no")})}):t(je,{num:3}),t(f,{sx:{display:"flex",justifyContent:"center",alignItems:"center",mt:3},children:p?m(_,{children:[t(fa,{size:20}),t(S,{variant:"body2",ml:2,children:o("nav.load")})]}):x?t(_,{children:t(S,{variant:"body2",ml:2,children:o("nav.drop")})}):t(_,{children:t(S,{variant:"body2",ml:2,children:o("nav.nomore")})})})]})})]})},yr=s.memo(pr),fr=()=>{const a=ga(),{t:e}=oe(),n=qe(),o=J(Pn);ve(n.breakpoints.up("md")),ve(n.breakpoints.up("sm"));const i=J(xa),r=u.getCache("current"),c=J(Ca),p=u.getCache(c.wallet)||[],[d,x]=s.useState(null),[w,M]=s.useState(!1),[y,l]=s.useState(""),[I,F]=s.useState(!0),[$,T]=s.useState(!1),[j,Q]=s.useState(""),[E,N]=s.useState(!1),P=s.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getKeyInfo",id:1,params:[c.wallet]}),[c.wallet]),C=s.useCallback(async()=>{try{if(c.wallet){const k=await Ut(P);if(l(ne.addressToID(c.wallet)),k){const Y=[],ae=k.ecosystems.map(A=>(Y.push({jsonrpc:"2.0",method:"ibax.getBalance",id:Number(A.ecosystem),params:[c.wallet,Number(A.ecosystem)]}),Number(A.ecosystem))),ge=await bn(Y),ke=await Qt("token_price",{ecosystems:ae.join(",")}),be=await Ue("ecosystem_logo",{ecosystems:ae.join(",")}),pe=ge.map(A=>{const B=k.ecosystems.find(W=>Number(W.ecosystem)===A.id),L=ke.find(W=>Number(W.ecosystem)===A.id),re=be.find(W=>Number(W.ecosystem)===A.id);return{id:A.id,name:B.name,tokenSymbol:A.result.token_symbol,digits:A.result.digits,logoURI:re.logoURI,amount:A.result.amount,totalAmount:A.result.total,assets:u.formatDecimalPlaces(u.times(u.formatUnits(A.result.amount,A.result.digits),L.price_in_usd||0),6),price:L.price_in_usd}}),Pe=u.handleReduce([...pe,...p]);x(()=>[...Pe]),u.setCache(`${c.wallet}-all`,[...Pe]);const Ee=pe.reduce((A,B)=>u.fromPuls(A,Number(B.assets)),0);Q(u.format(Ee))}}}catch{x([])}},[P,c.wallet]);s.useEffect(()=>{C()},[C]);const z=k=>{const Y={...k,keyId:y},ae=encodeURIComponent(JSON.stringify(Y));a({pathname:"/record",search:`?${Gt({query:ae})}`})},H=()=>{N(!0)},G=()=>{N(!1)},q=async k=>{if(d==null?void 0:d.some(ae=>Number(ae.id)===Number(k.ecosystem)))M(!0);else{const ae=await Ue("ecosystem_logo",{ecosystems:`${k.info.id}`}),ge={id:k.info.id,name:k.info.token_name,tokenSymbol:k.info.token_symbol,digits:k.info.digits,logoURI:ae[0].logoURI,amount:"0",totalAmount:"0",assets:"0",price:"0"};p.push(ge),u.setCache(c.wallet,p),d==null||d.push(ge),u.setCache(`${c.wallet}-all`,d),x(()=>[...d]),N(!1)}return!1},ee=s.useCallback(async()=>{if(o){const k=u.formatUnits(o.amount,o.digits);u.getCache(r.account)||T(u.greaterThanZero(.1,k))}},[o,r.account]);s.useEffect(()=>{ee()},[ee]);const U=()=>{M(!1)};s.useEffect(()=>{r&&(r.mnemonic?u.getCache(`${r.mnemonic}`)===r.mnemonic&&F(!1):F(!1))},[r]);const v=()=>{a("/manage")},K=()=>{T(!1),r&&u.setCache(r.account,"tip")};return m(gr,{children:[i.length?m(_,{children:[m(D,{direction:"row",justifyContent:"space-between",alignItems:"center",mb:3,flexWrap:"wrap",children:[t(D,{direction:"row",alignItems:"center",sx:{width:{xs:"100%",sm:"100%",md:"auto"},justifyContent:{xs:"center",sm:"center",md:"left"},mb:{xs:2,sm:2,md:0}},children:d&&d.length?m(_,{children:[m(S,{variant:"h6",children:[e("home.assets"),":"]}),m(S,{mx:1,variant:"h6",children:[j||0," $"]})]}):t(je,{num:1})}),t(D,{direction:"row",sx:{width:{xs:"100%",sm:"100%",md:"auto"},justifyContent:{xs:"space-around",sm:"space-around",md:"right"}},children:d&&d.length?m(_,{children:[t(R,{sx:{minWidth:150,lineHeight:2.4,height:52},color:"primary",to:`/receive/${d[0].tokenSymbol}/${d[0].id}/${y}`,component:ue,variant:"filled",startIcon:t(Ra,{}),children:e("home.receive")}),t(R,{sx:{mx:2,minWidth:150,lineHeight:2.4,height:52},color:"primary",to:`/transfer/${d[0].tokenSymbol}/${d[0].id}/${y}`,component:ue,variant:"filled",startIcon:t(Ga,{}),children:e("home.transfer")}),t(R,{sx:{minWidth:150,lineHeight:2.4,height:52},color:"primary",to:"/create",component:ue,variant:"filled",startIcon:t(Lt,{}),children:e("home.newBuilt")})]}):t(je,{num:1})})]}),t(f,{children:d?d.length?m(_,{children:[t(f,{minHeight:"50vh",maxHeight:"60vh",sx:{overflowY:"auto",mb:2},children:t(Aa,{sx:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",mb:{xs:2,md:3,lg:5}},children:d.map(k=>m(ha,{sx:{width:{sm:"100%",md:"48%"},px:3,py:2,backgroundColor:Y=>Y.palette.onBody.main,borderRadius:5,mb:2,cursor:"pointer",justifyContent:"space-between"},onClick:()=>{z(k)},children:[m(D,{flexGrow:0,direction:"row",alignItems:"center",children:[k.id===1?t(te,{src:"/logo-big.png",sx:{width:30,height:30},children:t(Qe,{})}):t(_,{children:k.logoURI?t(te,{src:k.logoURI,sx:{width:30,height:30}}):t(te,{sx:{width:30,height:30},children:t(Qe,{fontSize:"medium"})})}),t(Be,{primary:`${k.tokenSymbol}#${k.id}`,sx:{ml:1}})]}),t(Be,{sx:{flexGrow:0},primary:`$ ${k.assets}`,secondary:m(s.Fragment,{children:[t(S,{component:"span",variant:"body1",children:u.formatFixed(k.amount,k.digits)}),t(S,{component:"span",variant:"body1",ml:.5,children:k.tokenSymbol})]})})]},k.id))})}),t(D,{direction:"row",justifyContent:"center",children:t(R,{sx:{fontSize:"16px",minWidth:150,lineHeight:2.4},color:"primary",variant:"filled",size:"large",onClick:H,children:e("home.add")})})]}):t(S,{variant:"body1",children:e("login.no")}):t(je,{num:3})})]}):m(f,{children:[m(D,{direction:"row",justifyContent:"space-between",alignItems:"center",mb:3,flexWrap:"wrap",children:[m(D,{direction:"row",alignItems:"center",sx:{width:{xs:"100%",sm:"100%",md:"50%"},justifyContent:{xs:"center",sm:"center",md:"left"},mb:{xs:2,sm:2,md:0}},children:[m(S,{variant:"h6",children:[e("home.assets"),":"]}),t(S,{ml:1,variant:"h6",children:"0 $"})]}),m(f,{ml:"auto",children:[t(R,{color:"primary",variant:"filled",disabled:!0,sx:{ml:5,minWidth:150,lineHeight:2.4,height:52},startIcon:t(Ra,{}),children:e("home.receive")}),t(R,{color:"primary",variant:"filled",disabled:!0,sx:{ml:5,minWidth:150,lineHeight:2.4,height:52},startIcon:t(Ga,{}),children:e("home.transfer")})]})]}),t(D,{direction:"row",justifyContent:"center",alignItems:"center",children:t(R,{to:"/create",component:ue,sx:{m:"15%",fontSize:"16px",minWidth:150,lineHeight:2.4,height:52},color:"primary",variant:"filled",size:"large",children:e("home.create")})})]}),I?t(D,{direction:"row",justifyContent:"center",alignItems:"center",children:t(R,{startIcon:t(Rt,{fontSize:"small"}),onClick:v,sx:{fontSize:"12px",color:n.palette.warning.main,my:5},color:"warning",size:"large",children:e("nav.backup")})}):"",t(yr,{isAdd:E,closeDialog:G,ecoItem:q}),t(ya,{open:w,autoHideDuration:2e3,onClose:U,anchorOrigin:{vertical:"top",horizontal:"center"},children:t(pa,{onClose:U,severity:"warning",variant:"filled",sx:{width:"100%"},children:e("user.tokensave")})}),t(ur,{isGas:$,close:K})]})},Ar=[{index:!0,element:t(fr,{}),meta:{key:"3"}},{path:"/receive/:tokenSymbol/:id/:keyId",title:"home.receive",lazy:()=>le(()=>import("../receive/multikey.CLzGovOg.js"),__vite__mapDeps([0,1])),meta:{key:"4"}},{path:"/collection/:tokenSymbol/:id/:keyId/:amount",title:"home.receive",lazy:()=>le(()=>import("../transfer/multikey.Ccu1XC5e.js"),__vite__mapDeps([2,1,3,4])),meta:{key:"5"}},{path:"/transfer/:tokenSymbol/:id/:keyId",title:"home.transfer",lazy:()=>le(()=>import("../transfer/multikey.BizLIFzl.js"),__vite__mapDeps([5,1,3,4])),meta:{key:"6"}},{path:"/create",title:"home.create",lazy:()=>le(()=>import("../createTeam/multikey.6unjWKWS.js"),__vite__mapDeps([6,1,3])),meta:{key:"7"}},{path:"/record",title:"nav.record",lazy:()=>le(()=>import("../record/multikey.CwN_50dz.js"),__vite__mapDeps([7,1,8])),meta:{key:"8"}},{path:"message",title:"home.message",lazy:()=>le(()=>import("../message/multikey.BQMay1Uv.js"),__vite__mapDeps([9,1])),meta:{key:"9"},children:[{index:!0,title:"home.message",lazy:()=>le(()=>import("../messageList/multikey.CfttugA8.js"),__vite__mapDeps([10,1,8])),meta:{key:"10"}},{path:"details",title:"home.details",lazy:()=>le(()=>import("../details/multikey.WW9SHsO4.js"),__vite__mapDeps([11,1,3,4,8])),meta:{key:"11"}}]},{path:"/manage",title:"nav.manage",lazy:()=>le(()=>import("../manage/multikey.CPzjerfs.js"),__vite__mapDeps([12,1])),meta:{key:"9"}}],vr=[{path:"*",element:t(Za,{}),title:"No Match",meta:{key:"0"}},{path:"/error",element:t(rr,{}),title:"No Match",meta:{key:"0"}},{path:"/login",element:t(cr,{children:t(ir,{})}),title:"",meta:{key:"1"}},{path:"/",element:t(sr,{children:t(Wi,{})}),errorElement:t(Za,{}),title:"",meta:{key:"2"},children:[...Ar]}],kr=Kt(vr);function br(){const{t:a}=oe(),{generateScheme:e}=s.useContext(Sa),n=s.useCallback(()=>{},[e]);return s.useEffect(()=>{n(),document.title=a("home.multi")},[a]),t(Vt,{router:kr})}Ht.createRoot(document.getElementById("root")).render(t(Ft,{store:oo,children:t(Jo,{children:t(br,{})})}));export{gr as M,je as S,u as a,ze as b,Br as c,Pn as d,Me as e,sa as f,Ca as g,xr as h,He as i,Sr as j,ne as k,Ir as l,Tr as m,Ye as n,yi as o,Mr as p,he as q,Tn as r,Dn as s,ca as t,J as u,Bn as v,zn as w}; diff --git a/static/js/multikey/multikey.Dix-r58g.js b/static/js/multikey/multikey.Dix-r58g.js new file mode 100644 index 0000000..834ad01 --- /dev/null +++ b/static/js/multikey/multikey.Dix-r58g.js @@ -0,0 +1 @@ +import{r}from"./multikey.D1_AnZj2.js";const c=(t,u=1e3)=>{const{current:e}=r.useRef({fn:t,timer:null});return r.useEffect(()=>{e.fn=t},[e,t]),r.useCallback(s=>{e.timer&&clearTimeout(e.timer),e.timer=setTimeout(()=>{e.fn(s)},u)},[e,u])};export{c as u}; diff --git a/static/js/multikey/multikey.EJ3kMsQf.js b/static/js/multikey/multikey.EJ3kMsQf.js deleted file mode 100644 index 74557a1..0000000 --- a/static/js/multikey/multikey.EJ3kMsQf.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["static/js/receive/multikey.Ctq6N_pG.js","static/js/multikey/multikey.Cv6HG7AM.js","static/js/transfer/multikey.BD2GG93t.js","static/js/multikey/multikey.Cqi5RVD9.js","static/js/transfer/multikey.Cp4gIKC7.js","static/js/createTeam/multikey.B7kjiwO2.js","static/js/record/multikey.5l1BgJmX.js","static/js/multikey/multikey.18FU-vRW.js","static/js/message/multikey.dp6Vkug2.js","static/js/messageList/multikey.DassHwqZ.js","static/js/details/multikey.DJipP_tm.js","static/js/manage/multikey.Bnz6HJn4.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{a as ea,v as fn,m as He,c as vn,C as q,B as $,b as aa,d as na,e as oa,f as Ra,g as bn,r as c,R as Ga,j as o,h as me,t as Ka,i as j,u as wn,k as kn,s as Cn,l as Q,n as xn,o as fa,p as Sn,q as In,w as Tn,x as l,y as Bn,T as Pn,z as En,A as zn,D as Nn,E as ta,F as we,P as Fa,S as va,G as b,H as K,L as Y,I as Mn,J as Va,K as ye,M as Oa,N as Ae,O as Qa,Q as Dn,U as _,V as Ln,W as Rn,X as ue,Y as ia,Z as Ua,_ as Gn,$ as ee,a0 as Ge,a1 as ke,a2 as B,a3 as W,a4 as ra,a5 as Kn,a6 as sa,a7 as Ie,a8 as de,a9 as ba,aa as wa,ab as Fn,ac as ca,ad as ae,ae as la,af as ma,ag as Vn,ah as da,ai as Ce,aj as On,ak as Qn,al as Un,am as De,an as F,ao as Hn,ap as jn,aq as Yn,ar as Wn,as as Jn,at as Zn,au as qn,av as ka,aw as Xn,ax as Ee,ay as _n,az as Ha,aA as $n,aB as eo,aC as ao,aD as no,aE as oo,aF as ja,aG as to,aH as Ya,aI as be,aJ as Wa,aK as Ja,aL as Xe,aM as io,aN as ro,aO as so,aP as co,aQ as je,aR as lo,aS as mo,aT as uo,aU as Ca,aV as go,aW as ho,aX as xa,aY as po,aZ as yo,a_ as Ao,a$ as fo,b0 as vo,b1 as bo,b2 as wo,b3 as ko}from"./multikey.Cv6HG7AM.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))t(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&t(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function t(i){if(i.ep)return;i.ep=!0;const r=n(i);fetch(i.href,r)}})();const Za={production:{id:1,name:"IBAX-mainnet-hk1",rpc:"https://mainnet-hk1.ibax.network:7079",networkId:7,api:"https://scan.ibax.network:8800",blockexplorer:"https://scan.ibax.network",ecoId:1},test:{id:11,name:"Test-1001",rpc:"https://node1.ibax.io:3079",networkId:1001,api:"https://node3.ibax.io:8800",blockexplorer:"https://node3.ibax.io:8810",ecoId:9},development:{id:12,name:"Test-1001",rpc:"https://node1.ibax.io:3079",networkId:1001,api:"https://node3.ibax.io:8800",blockexplorer:"https://node3.ibax.io:8810",ecoId:9}},Te=ea.create({timeout:6e4});Te.interceptors.request.use(a=>{const e=Za.production;if(a.baseURL=`${e.rpc}/api/v2`,a.headers["Content-Type"]="application/json; charset=utf-8",a.headers.Authorization="",a.method==="post"&&(a.headers["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8;",a.paramsData)){const{data:n,token:t}=a.paramsData,i=t?`Bearer ${t}`:"";a.headers.Authorization=i,a.data=n}return a},a=>Promise.reject(a));Te.interceptors.response.use(a=>a.status===200?Promise.resolve(a.data):Promise.reject(a),a=>{const{response:e}=a;if(e)return Promise.reject(e.data)});const qa={request:Te,get(a,e){e={_t:Date.parse(String(new Date))/1e3,...e};const n={method:"get",url:a,params:e};return e&&(n.params=e),Te(n)},post(a,e){return Te({method:"post",url:a,paramsData:e})}},Co=8,xo=Co*60*60,f={uuid(){return fn()},loadingInstance:"",setCacheToken(a,e,n=xo){const t={token:e,time:Date.now()/1e3,expire:n};localStorage.setItem(a,JSON.stringify(t))},getCacheToken(a){const e=localStorage.getItem(a);if(!e)return null;const n=JSON.parse(e);return n.expire&&Date.now()/1e3-n.time>n.expire?(localStorage.removeItem(a),null):n.token},removeCacheToken(a){localStorage.removeItem(a)},setCache(a,e){const n=He(a).toString(),r=encodeURIComponent(JSON.stringify({type:typeof e,data:e}));localStorage.setItem(n,this.encryptAES(r,n))},getCache(a){const e=He(a).toString(),n=localStorage.getItem(e);if(n){const t=this.decryptAES(n,e);try{const i=JSON.parse(decodeURIComponent(t));return i?i.data:null}catch{}}},removeCache(a){const e=He(a).toString();localStorage.removeItem(e)},removeAll(){localStorage.clear()},copyToClipboard(a){vn(a,{debug:!0,message:"Press #{key} to copy"})},currNetwork(){return Za.production},logoHash(a){const e=this.currNetwork();return e?`${e.api}/api/v1/binaries/${a}`:null},cutZero(a){let e=a.toString();const n=e.length-e.indexOf(".")-1;if(e.indexOf(".")>-1)for(let t=n;t>0;t-=1)if(e.lastIndexOf("0")>-1&&e.substring(e.length-1)===String(0)){const i=e.lastIndexOf("0");if(e.charAt(i-1)===".")return e.substring(0,i-1);e=e.substring(0,i)}else return e;return a},validateAddress(a){if(a)return/^\d{4}-\d{4}-\d{4}-\d{4}-\d{4}$/.test(a)},encryptAES:(a,e)=>{const n=q.enc.Utf8.parse(e),t=q.enc.Utf8.parse(a);return q.AES.encrypt(t,n,{mode:q.mode.ECB,padding:q.pad.Pkcs7}).toString()},decryptAES:(a,e)=>{const n=q.enc.Utf8.parse(e);return q.AES.decrypt(a,n,{mode:q.mode.ECB,padding:q.pad.Pkcs7}).toString(q.enc.Utf8).toString()},format(a){const e=String(a).split(".")||0,n=(e[0]||0).toString().replace(/(\d)(?=(?:\d{3})+$)/g,"$1,")+(e[1]?`.${e[1]}`:"");return this.cutZero(n)},toFormat(a="0"){return new $(a).toFormat()},formatFixed(a="0",e=12){try{let n=String(a)||"0";return n!=="0"?(n=$.clone({DECIMAL_PLACES:Math.abs(e)})(n).shiftedBy(-e).decimalPlaces(e).toFormat(),n):"0"}catch{return"0"}},formatUnits(a="0",e=12){try{let n=String(a)||"0";return n!=="0"?(n=$.clone({DECIMAL_PLACES:Math.abs(e)})(n).shiftedBy(-e).decimalPlaces(e).toString(10),n):"0"}catch{return"0"}},parseUnits(a="0",e=12){try{let n=String(a)||"0";return n!=="0"?(n=$.clone({DECIMAL_PLACES:Math.abs(e)})(n).shiftedBy(e).decimalPlaces(e).toString(10),n):"0"}catch{return"0"}},fromPuls(a,e){return a=String(a)||"0",e=String(e)||"0",$(a).plus(e).toString()},times(a,e){return new $(a).times(e).toString()},formatDecimalPlaces(a="0",e){try{const n=String(a),t=new RegExp(`^\\d*(\\.?\\d{0,${e}})`,"g"),r=n.replace(/[^\d^\\.?]+/g,"").replace(/^0+(\d)/,"$1").replace(/^\./,"0.").match(t);return r!=null&&r.length?r[0]||"":n==="NaN"?"":n}catch{return"0"}},comparedTo(a,e){const n=new $(a),t=new $(e),i=n.comparedTo(t);return i===1?!0:i===0},greaterThanZero(a,e){const n=new $(a),t=new $(e);return n.comparedTo(t)===1},getByteLength(a){return new TextEncoder().encode(a).length},handleReduce(a,e="id"){const n={};return a.reduce((i,r)=>(n[r[e]]||(i.push(r),n[r[e]]=!0),i),[])},eventType:a=>{let e="";switch(a){case 1:e="type.package";break;case 2:e="type.taxation";break;case 3:e="type.trade";break;case 4:e="type.create";break;case 5:e="type.iname";break;case 6:e="type.issue";break;case 7:e="type.coin";break;case 8:e="type.private";break;case 9:e="type.foundation";break;case 10:e="type.team";break;case 11:e="type.partner";break;case 12:e="type.nft";break;case 13:e="type.mining";break;case 14:e="type.pledge";break;case 15:e="type.exchange";break;case 16:e="type.burning";break;case 17:e="type.detele";break;case 18:e="type.paid";break;case 19:e="type.nodes";break;case 20:e="type.voting";break;case 21:e="type.deposit";break;case 22:e="type.withdrawal";break;case 23:e="type.textcoin";break;case 25:e="type.privateye";break;case 26:e="type.offering";break;case 27:e="type.num";break;case 28:e="type.child";break;case 29:e="type.issuance";break;case 30:e="type.twonum";break;case 31:e="type.remove";break;case 32:e="type.airsend";break;case 33:e="type.aristack";break;case 34:e="type.getair";break;case 35:e="type.getstack";break;case 36:e="type.locking";break;case 37:e="type.createiname";break;case 38:e="type.cross";break;case 39:e="type.crosslock";break;case 41:e="type.destruction";break;default:e="unknown";break}return e}},fe=ea.create({timeout:6e4});fe.interceptors.request.use(a=>{const e=f.currNetwork();a.baseURL=`${e.rpc}`,a.headers["Content-Type"]="application/json; charset=utf-8",a.cache="no-cache";const n=f.getCacheToken("token");if(n){const t=n?`Bearer ${n}`:"";a.headers.Authorization=t}return a},a=>Promise.reject(a));fe.interceptors.response.use(a=>(a.data.error&&(window.location.href="/login",f.removeCacheToken("token")),a.status===200?Promise.resolve(a.data):Promise.reject(a)),a=>{const e=a.response||{};if(e.status===401||e.status===403)return Promise.reject(new Error(a.response))});const ne={request:fe,get(a){a={...a};const e={method:"get",params:a};return a&&(e.params=a),fe(e)},fetch(a,e){return e={...e},fe({method:"get",url:a,paramsData:e})},post(a){const e={method:"post"};return a&&(e.data=a),fe(e)}},ve=ea.create({timeout:6e4});ve.interceptors.request.use(a=>{const e=f.currNetwork();return a.baseURL=`${e.api}/api/v2`,a.headers["Content-Type"]="application/json; charset=utf-8",a.cache="no-cache",a},a=>Promise.reject(a));ve.interceptors.response.use(a=>a.status===200?Promise.resolve(a.data):Promise.reject(a),a=>{const e=a.response||{};if(e.status===401||e.status===403)return Promise.reject(new Error(a.response))});const Xa={request:ve,get(a,e){e={...e};const n={method:"get",url:a,params:e};return e&&(n.params=e),ve(n)},fetch(a,e){return e={...e},ve({method:"get",url:a,paramsData:e})},post(a,e){const n={url:a,method:"post"};return e&&(n.data=e),ve(n)}},_a=async()=>{const a=await qa.get("/getuid");return a.token?a:null},$a=async a=>{const e=await qa.post("/login",a);return e.token?e:null},So=async(a,e)=>{try{const n=await Xa.get(a,e);return n.code===0?n.data:null}catch{return"0"}},Ke=async(a,e)=>{const n=await Xa.get(a,e);return n.code===0?n.data:null},en=async a=>{const e=await ne.post(a);return e.result?e.result:null},Io=async a=>{const e=await ne.post(a);return e.result?e.result:null},To=async a=>{const e=await ne.post(a);return e.length?e:null},hr=async a=>{const e=await ne.post(a);return e.length?e:null},pr=async a=>{const e=await ne.post(a);return e.result?e.result:null},Bo=async a=>{const e=await ne.post(a);return e.result?e.result:null},yr=async a=>{const e=await ne.post(a);return e.result?e.result:null},Ar=async a=>{const e=await ne.post(a);return e.result?e.result:null},fr=async a=>{const e=await ne.post(a);return e.result?e.result:null},Sa=async a=>{const e=await ne.post(a);return e.result?e.result:null},an={created_at:"",creator:"",id:0,owner_quantity:"",owners:"",team_name:"",threshold:"",wallet:"",isSelect:!1},ie=aa(),Ia=ie.getInitialState({list:[],count:0,status:"idle",teamSelect:{...an}}),Be=na("team/search",async a=>await en(a)),Pe=na("team/add",async a=>await en(a)),nn=oa({name:"team",initialState:Ia,reducers:{resetTeam:()=>Ia,resetTeamSelect:a=>{a.teamSelect=an},teamDeleted:ie.removeOne,teamUpdateOne:ie.updateOne,teamSetAll:ie.setAll,teamUpdateMany:ie.updateMany,teamSelectData(a,e){a.teamSelect=e.payload}},extraReducers:a=>{a.addCase(Be.pending,e=>{e.status="loading"}).addCase(Be.fulfilled,(e,n)=>{const t=n.payload.list?n.payload.list:[],i=t.length?t.map(r=>(r.isSelect=!1,r)):[];ie.setAll(e,i),e.status="idle",e.count=n.payload?n.payload.count:0}).addCase(Be.rejected,e=>{e.status="failed"}).addCase(Pe.pending,e=>{e.status="loading"}).addCase(Pe.fulfilled,(e,n)=>{const t=n.payload.list?n.payload.list.map(i=>(i.isSelect=!1,i)):[];ie.addMany(e,t),e.status="idle",e.count=n.payload.count}).addCase(Pe.rejected,e=>{e.status="failed"})}}),{teamDeleted:vr,teamUpdateOne:_e,teamSetAll:br,teamUpdateMany:Po,teamSelectData:$e,resetTeamSelect:Eo}=nn.actions,ua=a=>a.team.teamSelect,on=a=>a.team.count,zo=a=>a.team.status;ie.getSelectors(a=>a.team);const{selectAll:tn,selectById:wr,selectIds:ga}=ie.getSelectors(a=>a.team);Ra([tn,(a,e)=>e],(a,e)=>a.filter(n=>n.id===e));Ra(on,a=>a);const No=nn.reducer,Mo=aa(),Ye=localStorage.getItem("lang"),Ta=Mo.getInitialState({value:Ye||"en-US",locale:Ye?Ye.replace("-",""):"enUS"}),rn=oa({name:"lang",initialState:Ta,reducers:{resetLang:()=>Ta,valueData(a,e){a.value=e.payload},localeData(a,e){a.locale=e.payload.replace("-","")}}}),sn=a=>a.lang.value,Do=a=>a.lang.locale,{resetLang:kr,valueData:cn,localeData:ln}=rn.actions,Lo=rn.reducer,Ro=aa(),Ba=Ro.getInitialState({list:[],count:0,status:"idle"}),Le=na("message/search",async a=>await Bo(a)),Go=oa({name:"team",initialState:Ba,reducers:{resetTeam:()=>Ba},extraReducers:a=>{a.addCase(Le.pending,e=>{e.status="loading"}).addCase(Le.fulfilled,(e,n)=>{e.status="idle",e.count=n.payload?n.payload.count:0}).addCase(Le.rejected,e=>{e.status="failed"})}}),Ko=a=>a.message.count,Fo=Go.reducer,Vo=bn({reducer:{team:No,lang:Lo,message:Fo}}),We="ThemeModeKey",Oo=()=>{const[a,e]=c.useState("light");return c.useLayoutEffect(()=>{if(localStorage.getItem(We)){const t=JSON.parse(localStorage.getItem(We)||"{}");e(t)}},[]),[a,()=>{const t=a=="light"?"dark":"light";e(t),localStorage.setItem(We,JSON.stringify(t))},e]},Oe=Ga.createContext({themeMode:"light",toggleTheme:()=>{},setThemeMode:()=>{}}),Qo=({children:a})=>{const[e,n,t]=Oo();return o(Oe.Provider,{value:{themeMode:e,toggleTheme:n,setThemeMode:t},children:a})},Uo={primary:"#6750a4",onPrimary:"#ffffff",primaryContainer:"#e9ddff",onPrimaryContainer:"#22005d",secondary:"#625b71",onSecondary:"#ffffff",secondaryContainer:"#e8def8",onSecondaryContainer:"#1e192b",tertiary:"#7e5260",onTertiary:"#ffffff",tertiaryContainer:"#ffd9e3",onTertiaryContainer:"#31101d",error:"#ba1a1a",onError:"#ffffff",errorContainer:"#ffdad6",onErrorContainer:"#410002",primaryFixed:"#e9ddff",primaryFixedDim:"#cfbcff",onPrimaryFixed:"#22005d",onPrimaryFixedVariant:"#4f378a",secondaryFixed:"#e8def8",secondaryFixedDim:"#cbc2db",onSecondaryFixed:"#1e192b",onSecondaryFixedVariant:"#4a4458",tertiaryFixed:"#ffd9e3",tertiaryFixedDim:"#efb8c8",onTertiaryFixed:"#31101d",onTertiaryFixedVariant:"#633b48",surface:"#fdf8fd",onSurface:"#1c1b1e",surfaceDim:"#ddd8dd",surfaceBright:"#fdf8fd",surfaceContainerLowest:"#ffffff",surfaceContainerLow:"#f7f2f7",surfaceContainer:"#f2ecf1",surfaceContainerHigh:"#ece7eb",surfaceContainerHighest:"#e6e1e6",surfaceVariant:"#e7e0eb",onSurfaceVariant:"#49454e",outline:"#7a757f",outlineVariant:"#cac4cf",inverseSurface:"#313033",inverseOnSurface:"#f4eff4",inversePrimary:"#cfbcff",inverseOnPrimary:"",shadow:"#000000",scrim:"#000000",surfaceTintColor:"#6750a4",background:"#fdf8fd",onBackground:"#1c1b1e",info:"#125db2",onInfo:"#ffffff",infoContainer:"#d6e3ff",onInfoContainer:"#001b3d",success:"#006d43",onSuccess:"#ffffff",successContainer:"#92f7bc",onSuccessContainer:"#002111",warning:"#ad3212",onWarning:"#ffffff",warningContainer:"#ffdad2",onWarningContainer:"#3c0700"},Ho={primary:"#cfbcff",onPrimary:"#4f378a",primaryContainer:"#4f378a",onPrimaryContainer:"#e9ddff",secondary:"#cbc2db",onSecondary:"#332d41",secondaryContainer:"#4a4458",onSecondaryContainer:"#e8def8",tertiary:"#efb8c8",onTertiary:"#633b48",tertiaryContainer:"#633b48",onTertiaryContainer:"#ffd9e3",error:"#ffb4ab",onError:"#690005",errorContainer:"#93000a",onErrorContainer:"#ffdad6",primaryFixed:"#e9ddff",primaryFixedDim:"#cfbcff",onPrimaryFixed:"#22005d",onPrimaryFixedVariant:"#4f378a",secondaryFixed:"#e8def8",secondaryFixedDim:"#cbc2db",onSecondaryFixed:"#1e192b",onSecondaryFixedVariant:"#4a4458",tertiaryFixed:"#ffd9e3",tertiaryFixedDim:"#efb8c8",onTertiaryFixed:"#31101d",onTertiaryFixedVariant:"#633b48",surface:"#141316",onSurface:"#e6e1e6",surfaceDim:"#141316",surfaceBright:"#3a383c",surfaceContainerLowest:"#0f0e11",surfaceContainerLow:"#1c1b1e",surfaceContainer:"#201f22",surfaceContainerHigh:"#2b292d",surfaceContainerHighest:"#363438",surfaceVariant:"#49454e",onSurfaceVariant:"#cac4cf",outline:"#948f99",outlineVariant:"#49454e",inverseSurface:"#e6e1e6",inverseOnSurface:"#313033",inversePrimary:"#6750a4",inverseOnPrimary:"",shadow:"#000000",scrim:"#000000",surfaceTintColor:"#cfbcff",background:"#141316",onBackground:"#e6e1e6",info:"#a9c7ff",onInfo:"#003063",infoContainer:"#00468c",onInfoContainer:"#d6e3ff",success:"#76daa1",onSuccess:"#003920",successContainer:"#005231",onSuccessContainer:"#92f7bc",warning:"#ffb4a2",onWarning:"#621200",warningContainer:"#8a1d00",onWarningContainer:"#ffdad2"},jo={0:"#000000",4:"#13003a",6:"#190048",10:"#22005d",12:"#260561",17:"#31166c",20:"#381e72",22:"#3c2377",24:"#41287c",30:"#4f378a",40:"#6750a4",50:"#8069bf",60:"#9a83db",70:"#b69df8",80:"#cfbcff",87:"#e1d3ff",90:"#e9ddff",92:"#eee4ff",94:"#f3eaff",95:"#f6eeff",96:"#f8f1ff",98:"#fdf7ff",99:"#fffbff",100:"#ffffff"},Yo={0:"#000000",4:"#100b1d",6:"#151022",10:"#1e192b",12:"#221d2f",17:"#2c273a",20:"#332d41",22:"#373245",24:"#3c364a",30:"#4a4458",40:"#625b71",50:"#7b748a",60:"#958da4",70:"#b0a7c0",80:"#cbc2db",87:"#dfd6ef",90:"#e8def8",92:"#eee4fe",94:"#f3eaff",95:"#f6eeff",96:"#f8f1ff",98:"#fdf7ff",99:"#fffbff",100:"#ffffff"},Wo={0:"#000000",4:"#210410",6:"#270815",10:"#31101d",12:"#361421",17:"#421f2c",20:"#4a2532",22:"#4f2936",24:"#542e3b",30:"#633b48",40:"#7e5260",50:"#996a79",60:"#b58392",70:"#d29dad",80:"#efb8c8",87:"#ffcddb",90:"#ffd9e3",92:"#ffe1e8",94:"#ffe8ed",95:"#ffecf0",96:"#fff0f2",98:"#fff8f8",99:"#fffbff",100:"#ffffff"},Jo={0:"#000000",4:"#0f0e11",6:"#141316",10:"#1c1b1e",12:"#201f22",17:"#2b292d",20:"#313033",22:"#363438",24:"#3a383c",30:"#48464a",40:"#605d62",50:"#79767a",60:"#938f94",70:"#aeaaae",80:"#cac5ca",87:"#ddd8dd",90:"#e6e1e6",92:"#ece7eb",94:"#f2ecf1",95:"#f4eff4",96:"#f7f2f7",98:"#fdf8fd",99:"#fffbff",100:"#ffffff"},Zo={0:"#000000",4:"#0f0d14",6:"#14121a",10:"#1d1a22",12:"#211e26",17:"#2b2931",20:"#322f38",22:"#36333c",24:"#3b3840",30:"#49454e",40:"#615d66",50:"#7a757f",60:"#948f99",70:"#afa9b4",80:"#cac4cf",87:"#ded8e3",90:"#e7e0eb",92:"#ece6f1",94:"#f2ebf7",95:"#f5eefa",96:"#f8f1fd",98:"#fdf7ff",99:"#fffbff",100:"#ffffff"},qo={0:"#000000",4:"#280001",6:"#310001",10:"#410002",12:"#490002",17:"#5c0004",20:"#690005",22:"#710005",24:"#790006",30:"#93000a",40:"#ba1a1a",50:"#de3730",60:"#ff5449",70:"#ff897d",80:"#ffb4ab",87:"#ffcfc9",90:"#ffdad6",92:"#ffe2de",94:"#ffe9e6",95:"#ffedea",96:"#fff0ee",98:"#fff8f7",99:"#fffbff",100:"#ffffff"},mn={primary:jo,secondary:Yo,tertiary:Wo,neutral:Jo,neutralVariant:Zo,error:qo},dn={tones:mn,light:Uo,dark:Ho},Je="TonalPaletteKey",Xo=[0,4,6,10,12,17,20,22,24,30,40,50,60,70,80,87,90,92,94,95,96,98,99,100],_o=()=>{const[a,e]=c.useState(mn);return c.useLayoutEffect(()=>{if(localStorage.getItem(Je)){const t=JSON.parse(localStorage.getItem(Je)||"{}");e(t)}},[]),[a,t=>{const i=me(t),{palettes:r}=Ka(i),s={};for(const[y,p]of Object.entries(r)){const C={};for(const v of Xo)C[v]=j(p.tone(v));s[y]=C}e(s),localStorage.setItem(Je,JSON.stringify(s))}]},w=(a,e,n,t)=>e[a=="light"?n:t],Pa=(a,e)=>{const{primary:n,secondary:t,tertiary:i,neutral:r,neutralVariant:s,error:y}=e,{customColors:p}=Ka(me(e.primary[40]),[{name:"info",value:me("#0288d1"),blend:!0},{name:"success",value:me("#2e7d32"),blend:!0},{name:"warning",value:me("#f59e0b"),blend:!0}]);return{primary:w(a,n,40,80),onPrimary:w(a,n,100,20),primaryContainer:w(a,n,90,30),onPrimaryContainer:w(a,n,10,90),secondary:w(a,t,40,80),onSecondary:w(a,t,100,20),secondaryContainer:w(a,t,90,30),onSecondaryContainer:w(a,t,10,90),tertiary:w(a,i,40,80),onTertiary:w(a,i,100,20),tertiaryContainer:w(a,i,90,30),onTertiaryContainer:w(a,i,10,90),error:w(a,y,40,80),onError:w(a,y,100,20),errorContainer:w(a,y,90,30),onErrorContainer:w(a,y,10,90),primaryFixed:w(a,n,90,90),primaryFixedDim:w(a,n,80,80),onPrimaryFixed:w(a,n,10,10),onPrimaryFixedVariant:w(a,n,30,30),secondaryFixed:w(a,t,90,90),secondaryFixedDim:w(a,t,80,80),onSecondaryFixed:w(a,t,10,10),onSecondaryFixedVariant:w(a,t,30,30),tertiaryFixed:w(a,i,90,90),tertiaryFixedDim:w(a,i,80,80),onTertiaryFixed:w(a,i,10,10),onTertiaryFixedVariant:w(a,i,30,30),surface:w(a,r,98,6),onSurface:w(a,r,10,90),surfaceDim:w(a,r,87,6),surfaceBright:w(a,r,98,24),surfaceContainerLowest:w(a,r,100,4),surfaceContainerLow:w(a,r,96,10),surfaceContainer:w(a,r,94,12),surfaceContainerHigh:w(a,r,92,17),surfaceContainerHighest:w(a,r,90,22),surfaceVariant:w(a,s,90,30),onSurfaceVariant:w(a,s,30,80),outline:w(a,s,50,60),outlineVariant:w(a,s,80,30),inverseSurface:w(a,r,20,90),inverseOnSurface:w(a,r,95,20),inversePrimary:w(a,n,80,40),inverseOnPrimary:"",shadow:w(a,r,0,0),scrim:w(a,r,0,0),surfaceTintColor:w(a,n,40,80),background:w(a,r,98,6),onBackground:w(a,r,10,90),info:j(p[0][a].color),onInfo:j(p[0][a].onColor),infoContainer:j(p[0][a].colorContainer),onInfoContainer:j(p[0][a].onColorContainer),success:j(p[1][a].color),onSuccess:j(p[1][a].onColor),successContainer:j(p[1][a].colorContainer),onSuccessContainer:j(p[1][a].onColorContainer),warning:j(p[2][a].color),onWarning:j(p[2][a].onColor),warningContainer:j(p[2][a].colorContainer),onWarningContainer:j(p[2][a].onColorContainer)}},ha=Ga.createContext({generateScheme:()=>{},themeScheme:dn}),$o=({children:a})=>{const[e,n]=_o(),[t,i]=c.useState(dn);c.useLayoutEffect(()=>{const s=Pa("light",e),y=Pa("dark",e);i({light:s,dark:y,tones:e})},[e]);const r=s=>{n(s)};return o(ha.Provider,{value:{generateScheme:r,themeScheme:t},children:a})},xe=()=>wn(),J=a=>kn(a,Cn),et=a=>{const{palette:e}=a;return{MuiAccordion:{styleOverrides:{root:{boxShadow:a.shadows[1],border:`0px solid ${e.outlineVariant.main}`,color:e.onBackground.main,backgroundColor:e.surfaceBright.main,"&:before":{backgroundColor:e.surfaceBright.main,display:"none"},"&.Mui-disabled":{backgroundColor:e.inverseOnSurface.main,color:e.inverseSurface.main,border:`0px solid ${e.outlineVariant.main}`},"& .MuiAccordionSummary-root > .MuiAccordionSummary-expandIconWrapper ":{color:e.onBackground.main}}}}}},at=a=>{const{palette:e}=a;return{MuiAlert:{defaultProps:{variant:"standard"},styleOverrides:{root:{borderRadius:"20px"},standardError:{background:e.errorContainer.main,color:e.onErrorContainer.main},standardInfo:{background:e.infoContainer.main,color:e.infoContainer.contrastText},standardWarning:{background:e.warningContainer.main,color:e.onWarningContainer.main},standardSuccess:{background:e.successContainer.main,color:e.onSuccessContainer.main},filledError:{background:e.error.main,color:e.onError.main},filledInfo:{background:e.info.main,color:e.onInfo.main},filledWarning:{background:e.warning.main,color:e.onWarning.main},filledSuccess:{background:e.success.main,color:e.onSuccess.main},outlinedError:{color:e.error.main},outlinedInfo:{color:e.info.main},outlinedWarning:{color:e.warning.main},outlinedSuccess:{color:e.success.main}}}}},nt=a=>{const{palette:e}=a;return{MuiAppBar:{defaultProps:{elevation:0,color:"default"},styleOverrides:{colorDefault:{backgroundColor:e.onBody.main,color:e.onSurface.main},colorPrimary:{background:e.surface.main,color:e.onSurface.main}}}}},ot=a=>{const{palette:e}=a;return{MuiBackdrop:{styleOverrides:{root:{zIndex:a.zIndex.drawer+1e4,"&.MuiBackdrop-root.MuiBackdrop-root-loading":{boxShadow:a.shadows[1],border:`0px solid ${e.outlineVariant.main}`,color:e.onBackground.main,backgroundColor:Q(e.primary.main,.5)}}}}}},tt=a=>{const{palette:e}=a;return{MuiBadge:{defaultProps:{color:"default"},variants:[{props:{color:"default"},style:{".MuiBadge-badge":{backgroundColor:e.error.main,color:e.onError.main}}}]}}};var u=(a=>(a[a.Hover=.08]="Hover",a[a.Focus=.12]="Focus",a[a.Press=.14]="Press",a[a.Drag=.16]="Drag",a))(u||{});const g=(a,e,n)=>j(xn.cam16Ucs(me(e),me(n),a)),it=a=>{const{palette:e}=a;return{MuiButton:{styleOverrides:{root:{borderRadius:"30px",textTransform:"none",fontWeight:"bold","&:has(>svg)":{padding:"8px",borderRadius:"50%",minWidth:"1em",minHeight:"1em"}}},variants:[{props:{variant:"elevated"},style:{boxShadow:a.shadows[1],backgroundColor:e.surfaceContainerLow.main,color:e.primary.main,"&:hover":{background:g(u.Hover,e.surfaceContainerLow.main,e.primary.main),boxShadow:a.shadows[2]},"&:focus":{background:g(u.Focus,e.surfaceContainerLow.main,e.primary.main)},"&:active":{background:g(u.Press,e.surfaceContainerLow.main,e.primary.main)},"&.Mui-disabled":{backgroundColor:Q(e.onSurface.main,.12),color:Q(e.onSurface.main,.38),boxShadow:a.shadows[0]}}},{props:{variant:"filled"},style:{backgroundColor:e.primary.main,color:e.onPrimary.main,boxShadow:a.shadows[0],"&.Mui-disabled":{backgroundColor:Q(e.onSurface.main,.12),color:Q(e.onSurface.main,.38),boxShadow:a.shadows[0]},"&:hover":{backgroundColor:g(u.Hover,e.primary.main,e.onPrimary.main),boxShadow:a.shadows[1]},"&:focus":{backgroundColor:g(u.Focus,e.primary.main,e.onPrimary.main),boxShadow:a.shadows[0]},"&:active":{backgroundColor:g(u.Press,e.primary.main,e.onPrimary.main),boxShadow:a.shadows[0]}}},{props:{variant:"tonal"},style:{backgroundColor:e.secondaryContainer.main,color:e.onSecondaryContainer.main,boxShadow:a.shadows[0],"&.Mui-disabled":{backgroundColor:Q(e.onSurface.main,.12),color:Q(e.onSurface.main,.38),boxShadow:a.shadows[0]},"&:hover":{backgroundColor:g(u.Hover,e.secondaryContainer.main,e.onSecondaryContainer.main),boxShadow:a.shadows[1]},"&:focus":{backgroundColor:g(u.Focus,e.secondaryContainer.main,e.onSecondaryContainer.main),boxShadow:a.shadows[0]},"&:active":{backgroundColor:g(u.Press,e.secondaryContainer.main,e.onSecondaryContainer.main),boxShadow:a.shadows[0]}}},{props:{variant:"outlined"},style:{color:e.primary.main,borderColor:e.outline.main,borderWidth:"1px",boxShadow:a.shadows[0],"&.Mui-disabled":{borderColor:Q(e.onSurface.main,.12),color:Q(e.onSurface.main,.38)},"&:hover":{backgroundColor:g(u.Hover,e.surface.main,e.primary.main),borderColor:g(u.Hover,e.outline.main,e.primary.main)},"&:focus":{backgroundColor:g(u.Focus,e.surface.main,e.primary.main),borderColor:g(u.Focus,e.primary.main,e.primary.main)},"&:active":{backgroundColor:g(u.Press,e.surface.main,e.primary.main),borderColor:g(u.Press,e.outline.main,e.primary.main)}}},{props:{variant:"text"},style:{backgroundColor:"transparent",color:e.primary.main,boxShadow:a.shadows[0],padding:"5px 15px","&.Mui-disabled":{color:Q(e.onSurface.main,.38)},"&:hover":{backgroundColor:g(u.Hover,e.surface.main,e.primary.main)},"&:focus":{backgroundColor:g(u.Focus,e.surface.main,e.primary.main)},"&:active":{backgroundColor:g(u.Press,e.surface.main,e.primary.main)}}}]}}},rt=a=>{const{palette:e}=a;return{MuiCard:{styleOverrides:{root:{borderRadius:"20px",padding:"10px 6px"}},variants:[{props:{variant:"elevation"},style:{boxShadow:a.shadows[1],backgroundColor:e.surfaceContainerLow.main,transition:a.transitions.create(["background-color","box-shadow","border-color","color"],{duration:a.transitions.duration.short}),"&:hover":{background:g(u.Hover,e.surfaceContainerLow.main,e.primary.main),boxShadow:a.shadows[2]},"&:focus":{boxShadow:a.shadows[1],background:g(u.Focus,e.surfaceContainerLow.main,e.primary.main)},"&:active":{boxShadow:a.shadows[1],background:g(u.Press,e.surfaceContainerLow.main,e.primary.main)},"&.Mui-disabled":{backgroundColor:Q(e.surfaceContainerLow.main,.38),color:e.surfaceVariant.main,boxShadow:a.shadows[0]}}},{props:{variant:"filled"},style:{boxShadow:a.shadows[0],backgroundColor:e.surfaceContainerHighest.main,transition:a.transitions.create(["background-color","box-shadow","border-color","color"],{duration:a.transitions.duration.short}),"&:hover":{background:g(u.Hover,e.surfaceContainerHighest.main,e.primary.main),boxShadow:a.shadows[1]},"&:focus":{boxShadow:a.shadows[0],background:g(u.Focus,e.surfaceContainerHighest.main,e.primary.main)},"&:active":{boxShadow:a.shadows[1],background:g(u.Press,e.surfaceContainerHighest.main,e.primary.main)},"&.Mui-disabled":{backgroundColor:Q(e.surfaceContainerHighest.main,.38),color:e.surfaceVariant.main,boxShadow:a.shadows[1]}}},{props:{variant:"outlined"},style:{boxShadow:a.shadows[0],backgroundColor:e.surface.main,borderColor:e.outline.main,transition:a.transitions.create(["background-color","box-shadow","border-color","color"],{duration:a.transitions.duration.short}),"&:hover":{background:g(u.Hover,e.surface.main,e.primary.main),boxShadow:a.shadows[1]},"&:focus":{boxShadow:a.shadows[0],background:g(u.Focus,e.surface.main,e.primary.main)},"&:active":{boxShadow:a.shadows[2],background:g(u.Press,e.surfaceContainerHighest.main,e.primary.main)},"&.Mui-disabled":{borderColor:Q(e.surfaceContainerHighest.main,.12),boxShadow:a.shadows[0]}}}]}}},st=a=>{const{palette:e}=a;return{MuiCssBaseline:{defaultProps:{enableColorScheme:!0},styleOverrides:{body:{color:e.container.contrastText,backgroundColor:e.onBody.main,fontWeight:400,fontFamily:["Inter","sans-serif"].join(",")},"*::-webkit-scrollbar":{display:"none"}}}}},ct=a=>{const{palette:e}=a;return{MuiDrawer:{styleOverrides:{paper:{border:"0px",backgroundColor:e.onBody.main,color:e.container.contrastText}}}}},lt=a=>{const{palette:e}=a;return{MuiFab:{defaultProps:{color:"secondary"},styleOverrides:{root:{boxShadow:a.shadows[3],borderRadius:"18px"}},variants:[{props:{color:"primary"},style:{backgroundColor:e.primaryContainer.main,color:e.onPrimaryContainer.main,"&:hover":{background:g(u.Hover,e.primaryContainer.main,e.onPrimaryContainer.main),boxShadow:a.shadows[4]},"&:focus":{background:g(u.Focus,e.primaryContainer.main,e.onPrimaryContainer.main),boxShadow:a.shadows[3]},"&:active":{background:g(u.Press,e.primaryContainer.main,e.onPrimaryContainer.main),boxShadow:a.shadows[3]}}},{props:{color:"secondary"},style:{backgroundColor:e.secondaryContainer.main,color:e.onSecondaryContainer.main,"&:hover":{background:g(u.Hover,e.secondaryContainer.main,e.onSecondaryContainer.main),boxShadow:a.shadows[4]},"&:focus":{background:g(u.Focus,e.secondaryContainer.main,e.onSecondaryContainer.main),boxShadow:a.shadows[3]},"&:active":{background:g(u.Press,e.secondaryContainer.main,e.onSecondaryContainer.main),boxShadow:a.shadows[3]}}},{props:{color:"surface"},style:{backgroundColor:e.surfaceContainer.main,color:e.primary.main,"&:hover":{background:g(u.Hover,e.surfaceContainer.main,e.primary.main),boxShadow:a.shadows[4]},"&:focus":{background:g(u.Focus,e.surfaceContainer.main,e.primary.main),boxShadow:a.shadows[3]},"&:active":{background:g(u.Press,e.surfaceContainer.main,e.primary.main),boxShadow:a.shadows[3]}}},{props:{color:"tertiary"},style:{backgroundColor:e.tertiaryContainer.main,color:e.onTertiaryContainer.main,"&:hover":{background:g(u.Hover,e.tertiaryContainer.main,e.onTertiaryContainer.main),boxShadow:a.shadows[4]},"&:focus":{background:g(u.Focus,e.tertiaryContainer.main,e.onTertiaryContainer.main),boxShadow:a.shadows[3]},"&:active":{background:g(u.Press,e.tertiaryContainer.main,e.onTertiaryContainer.main),boxShadow:a.shadows[3]}}}]}}},mt=a=>{const{palette:e}=a;return{MuiInputLabel:{styleOverrides:{root:{fontSize:14,"& .MuiInputLabel-root":{backgroundColor:g(u.Hover,e.surfaceBright.main,e.surfaceBright.main),color:g(u.Hover,e.onSurfaceVariant.main,e.onSurface.main),fontSize:14}}}}}},dt=a=>({MuiListItem:{styleOverrides:{root:{paddingTop:1,paddingBottom:1,"& .MuiListItemButton-root":{paddingTop:8,paddingBottom:8}}}}}),ut=a=>{const{palette:e}=a;return{MuiListItemButton:{styleOverrides:{root:{borderRadius:50,color:e.onSurfaceVariant.main,"&:hover":{backgroundColor:g(u.Hover,e.surfaceContainerLow.main,e.onSurface.main),color:g(u.Hover,e.onSurfaceVariant.main,e.onSurface.main)},"&:focus":{backgroundColor:g(u.Focus,e.surfaceContainerLow.main,e.onSurface.main),color:g(u.Focus,e.onSurfaceVariant.main,e.onSurface.main)},"&:active":{backgroundColor:g(u.Press,e.surfaceContainerLow.main,e.onSecondaryContainer.main),color:g(u.Press,e.onSurfaceVariant.main,e.onSurface.main)},"&.Mui-selected":{color:e.onSecondaryContainer.main,background:e.secondaryContainer.main,"& > .MuiListItemText-root > .MuiTypography-root":{fontWeight:"bold"},"&:hover":{backgroundColor:g(u.Hover,e.secondaryContainer.main,e.onSecondaryContainer.main),color:g(u.Hover,e.onSecondaryContainer.main,e.secondaryContainer.main)},"&:focus":{backgroundColor:g(u.Focus,e.secondaryContainer.main,e.onSecondaryContainer.main),color:g(u.Focus,e.onSecondaryContainer.main,e.secondaryContainer.main)},"&:active":{backgroundColor:g(u.Press,e.secondaryContainer.main,e.onSecondaryContainer.main),color:g(u.Press,e.onSecondaryContainer.main,e.secondaryContainer.main)}}}}}}},gt=()=>({MuiListItemIcon:{styleOverrides:{root:{color:"inherit",minWidth:32,"&.Mui-selected":{fontWeight:"bold"}}}}}),ht=a=>{const{palette:e}=a;return{MuiMenu:{defaultProps:{color:"default"},styleOverrides:{root:{},paper:{backgroundColor:e.surfaceContainerLow.main,boxShadow:a.shadows[3],color:e.onSurface.main}}}}},pt=a=>{const{palette:e}=a;return{MuiOutlinedInput:{styleOverrides:{root:{backgroundColor:e.container.main,color:e.container.contrastText,borderColor:e.onBorder.main,"& label.Mui-focused":{color:e.primary.main},"& input::placeholder":{fontSize:12},"& textarea::placeholder":{fontSize:12},'& input[type="number"]':{appearance:"textfield"},"& input::-webkit-outer-spin-button":{appearance:"none"},"& input::-webkit-inner-spin-button":{appearance:"none"},"& fieldset":{borderColor:e.onBorder.main},"&.Mui-disabled fieldset.MuiOutlinedInput-notchedOutline":{borderColor:e.onBorder.main,color:e.container.contrastText},"& .MuiInputBase-input.MuiOutlinedInput-input":{color:e.container.contrastText,textFillColor:e.container.contrastText},"& .MuiInputBase-root":{backgroundColor:g(u.Hover,e.surfaceBright.main,e.surfaceBright.main),color:g(u.Hover,e.onSurfaceVariant.main,e.onSurface.main),"&.Mui-focused fieldset":{borderColor:e.onBorder.main},"& fieldset":{borderColor:e.onBorder.main}},"& label":{fontSize:14,lineHeight:1.5}}}}}},yt=a=>{const{palette:e}=a;return{MuiPaper:{styleOverrides:{root:{backgroundColor:e.container.main,fontWeight:400,fontFamily:["Inter","sans-serif"].join(","),"&.MuiPopover-paper":{backgroundColor:e.container.main}}}}}},At=a=>{const{palette:e}=a;return{MuiSelect:{styleOverrides:{select:{backgroundColor:e.container.main,color:e.container.contrastText}}}}},ft=a=>{const{palette:e}=a;return{MuiSwitch:{styleOverrides:{root:{width:42,height:26,padding:0,marginLeft:12,marginRight:8,borderColor:e.outline.main,"& .MuiSwitch-switchBase":{padding:0,margin:7,transitionDuration:"100ms","&.Mui-checked":{transform:"translateX(16px)",margin:4,"& + .MuiSwitch-track":{backgroundColor:e.primary.main,opacity:1,border:0},"& .MuiSwitch-thumb":{color:e.onPrimary.main,width:18,height:18},"&.Mui-disabled + .MuiSwitch-track":{backgroundColor:Q(e.onSurface.main,.1)},"&.Mui-disabled .MuiSwitch-thumb":{color:Q(e.surface.main,.8)}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:e.primary.main,border:`6px solid ${e.onPrimary.main}`},"&.Mui-disabled .MuiSwitch-thumb":{color:Q(e.onSurface.main,.3)}},"& .MuiSwitch-thumb":{boxSizing:"border-box",color:e.outline.main,width:12,height:12,"&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},"& .MuiSwitch-track":{borderRadius:20,border:`2px solid ${e.outline.main}`,backgroundColor:e.surfaceContainerHighest.main,opacity:1,transition:"background .2s"}}}}}},vt=a=>{const{palette:e}=a;return{MuiTableCell:{styleOverrides:{root:{[`&.${fa.head}`]:{background:e.onBody.main,color:e.onSurfaceVariant.main,border:0,fontWeight:"bolder","&:first-of-type":{borderTopLeftRadius:10},"&:last-of-type":{borderTopRightRadius:10}},[`&.${fa.body}`]:{fontSize:14}}}}}},bt=a=>{const{palette:e}=a;return{MuiTableRow:{styleOverrides:{root:{"&:nth-of-type(even)":{backgroundColor:e.onBody.main},"&:not(last-child) td":{borderColor:e.surfaceVariant.main},"&:last-child td, &:last-child th":{borderColor:e.surfaceVariant.main}}}}}},wt=a=>{const{palette:e}=a;return{MuiTextField:{styleOverrides:{root:{color:e.onBackground.main,"& label.Mui-focused":{color:e.primary.main},"& .MuiInputBase-root":{backgroundColor:e.container.main,color:e.container.contrastText,borderColor:e.onBorder.main,"&.Mui-focused fieldset":{borderColor:e.onBorder.main,borderWidth:"2px"}},"& label":{fontSize:14,lineHeight:1.5}}}}}},kt=a=>{const{palette:e}=a;return{MuiToggleButton:{styleOverrides:{root:{borderRadius:"50px",textTransform:"none",color:e.onSurface.main,"&.Mui-selected":{color:e.onSecondaryContainer.main,backgroundColor:e.secondaryContainer.main},"&.MuiToggleButton-primary":{borderColor:"transparent"},"&.MuiToggleButton-primary.Mui-selected":{color:e.onPrimary.main,backgroundColor:e.primary.main},"&.MuiToggleButton-primary.Mui-selected:hover":{background:g(u.Hover,e.primary.main,e.onPrimary.main)},"&.Mui-selected:not(.MuiToggleButtonGroup-grouped):has(>svg)":{color:e.onPrimary.main,backgroundColor:e.primary.main},"&:hover":{background:g(u.Hover,e.surface.main,e.primary.main)},"&.Mui-selected:hover":{background:g(u.Hover,e.secondaryContainer.main,e.onSecondaryContainer.main)},"&:focus":{background:g(u.Focus,e.surface.main,e.onSurface.main)},"&.Mui-selected:focus":{background:g(u.Focus,e.secondaryContainer.main,e.onSecondaryContainer.main)},"&:active":{background:g(u.Press,e.surface.main,e.onSurface.main)},"&.Mui-selected:active":{background:g(u.Press,e.secondaryContainer.main,e.onSecondaryContainer.main)}}}}}},Ct=a=>{const{palette:e}=a;return{MuiToggleButtonGroup:{styleOverrides:{grouped:{borderRadius:"50px",borderColor:e.outline.main,"&:not(:first-of-type)":{marginLeft:0,borderLeft:0},"&:hover":{background:g(u.Hover,e.surface.main,e.primary.main)},"&.Mui-selected:hover":{background:g(u.Hover,e.secondaryContainer.main,e.onSecondaryContainer.main)}}}}}},xt=a=>{const{palette:e}=a;return{MuiTooltip:{styleOverrides:{tooltip:{background:e.inverseSurface.main,color:e.inverseOnSurface.main}}}}},St=a=>{const{palette:e}=a;return{MuiTypography:{styleOverrides:{root:{color:e.container.contrastText,fontWeight:400,fontFamily:["Inter","sans-serif"].join(",")},h5:{color:e.onTitle.main,fontWeight:"bolder"},h6:{color:e.onTitle.main,fontWeight:"bolder"}}}}},It=a=>({components:{...st(a),...et(a),...at(a),...nt(a),...tt(a),...it(a),...rt(a),...ct(a),...lt(a),...dt(),...ut(a),...gt(),...St(a),...yt(a),...ht(a),...ft(a),...kt(a),...Ct(a),...xt(a),...wt(a),...At(a),...mt(a),...pt(a),...ot(a),...vt(a),...bt(a)}}),Tt=(a,e)=>{const n=e[a];return{palette:{themeMode:a,primary:{main:n.primary,contrastText:n.onPrimary},container:{main:a==="light"?"#fbf8fd":"#111827",contrastText:a==="light"?"#6b7280":"#9ca3af"},onBody:{main:a==="light"?"#f3f4f6":"#1f2937"},onTitle:{main:a==="light"?"#1f2937":"#9ca3af"},onBorder:{main:a==="light"?"#e5e7eb":"#374151"},onPrimary:{main:n.onPrimary,contrastText:n.primary},primaryContainer:{main:n.primaryContainer,contrastText:n.onPrimaryContainer},onPrimaryContainer:{main:n.onPrimaryContainer,contrastText:n.primaryContainer},secondary:{main:n.secondary,contrastText:n.onSecondary},onSecondary:{main:n.onSecondary,contrastText:n.secondary},secondaryContainer:{main:n.secondaryContainer,contrastText:n.onSecondaryContainer},onSecondaryContainer:{main:n.onSecondaryContainer,contrastText:n.secondaryContainer},tertiary:{main:n.tertiary,contrastText:n.onTertiary},onTertiary:{main:n.onTertiary,contrastText:n.tertiary},tertiaryContainer:{main:n.tertiaryContainer,contrastText:n.onTertiaryContainer},onTertiaryContainer:{main:n.onTertiaryContainer,contrastText:n.tertiaryContainer},error:{main:n.error,contrastText:n.onError},onError:{main:n.onError,contrastText:n.error},errorContainer:{main:n.errorContainer,contrastText:n.onErrorContainer},onErrorContainer:{main:n.onErrorContainer,contrastText:n.errorContainer},primaryFixed:{main:n.primaryFixed},primaryFixedDim:{main:n.primaryFixedDim},onPrimaryFixed:{main:n.onPrimaryFixed},onPrimaryFixedVariant:{main:n.onPrimaryFixedVariant},secondaryFixed:{main:n.secondaryFixed},secondaryFixedDim:{main:n.secondaryFixedDim},onSecondaryFixed:{main:n.onSecondaryFixed},onSecondaryFixedVariant:{main:n.onSecondaryFixedVariant},tertiaryFixed:{main:n.tertiaryFixed},tertiaryFixedDim:{main:n.tertiaryFixedDim},onTertiaryFixed:{main:n.onTertiaryFixed},onTertiaryFixedVariant:{main:n.onTertiaryFixedVariant},surface:{main:n.surface,contrastText:n.onSurface},onSurface:{main:n.onSurface,contrastText:n.surface},surfaceDim:{main:n.surfaceDim},surfaceBright:{main:n.surfaceBright},surfaceContainerLowest:{main:n.surfaceContainerLowest},surfaceContainerLow:{main:n.surfaceContainerLow},surfaceContainer:{main:n.surfaceContainer},surfaceContainerHigh:{main:n.surfaceContainerHigh},surfaceContainerHighest:{main:n.surfaceContainerHighest},surfaceVariant:{main:n.surfaceVariant,contrastText:n.onSurfaceVariant},onSurfaceVariant:{main:n.onSurfaceVariant,contrastText:n.surfaceVariant},outline:{main:n.outline},outlineVariant:{main:n.outlineVariant},inversePrimary:{main:n.inversePrimary,contrastText:n.inverseOnPrimary},inverseOnPrimary:{main:n.inverseOnPrimary,contrastText:n.inversePrimary},inverseSurface:{main:n.inverseSurface,contrastText:n.inverseSurface},inverseOnSurface:{main:n.inverseOnSurface,contrastText:n.inverseSurface},shadow:{main:n.shadow},scrim:{main:n.scrim},surfaceTintColor:{main:n.surfaceTintColor},background:{default:n.surfaceContainer,paper:n.surface},onBackground:{main:n.onSurface},common:{white:n.background,black:n.onBackground},text:{primary:n.onSurface,secondary:n.onSecondaryContainer},info:{main:n.info,contrastText:n.onInfo},onInfo:{main:n.onInfo,contrastText:n.info},infoContainer:{main:n.infoContainer,contrastText:n.onInfoContainer},onInfoContainer:{main:n.onInfoContainer,contrastText:n.infoContainer},success:{main:n.success,contrastText:n.onSuccess},onSuccess:{main:n.onSuccess,contrastText:n.success},successContainer:{main:n.successContainer,contrastText:n.onSuccessContainer},onSuccessContainer:{main:n.onSuccessContainer,contrastText:n.successContainer},warning:{main:n.warning,contrastText:n.onWarning},onWarning:{main:n.onWarning,contrastText:n.warning},warningContainer:{main:n.warningContainer,contrastText:n.onWarningContainer},onWarningContainer:{main:n.onWarningContainer,contrastText:n.warningContainer},divider:n.outline},tones:e.tones}},Bt=({children:a})=>{const e=J(Do),n=xe(),{themeMode:t}=c.useContext(Oe),{themeScheme:i}=c.useContext(ha),r=c.useMemo(()=>{const s=Tt(t,i);let y=Sn(s,In[e]);return y=Tn(y,It(y)),y},[e,t,i]);return c.useEffect(()=>{const p=["arSA","arSA"].includes(e)?"rtl":"ltl";document.getElementsByTagName("html")[0].setAttribute("dir",p)},[n,e]),l(Pn,{theme:r,children:[o(Bn,{enableColorScheme:!0}),a]})},Pt=({children:a})=>o(Qo,{children:o($o,{children:o(Bt,{children:a})})}),Et="Log Out",zt={exit:Et,"nav.assets":"Assets","nav.manage":"Wallet Management","nav.colorSystem":"Color System","nav.record":"Transaction History","nav.load":"Loading","nav.drop":"Pull down to load more","nav.nomore":"No more","login.sign":"Sign In","login.name":"Multi-Sig Wallet Name","login.address":"Account Address","login.password":"Local Password","login.know":"I have read and agree to the Privacy Policy.","login.create":"Create","login.load":"Load Wallet","login.import":"Import Wallet","login.back":"Back","login.empty":"The name of the multisig wallet cannot be empty","login.maxName":"The name of the multisig wallet cannot exceed 16 characters","login.maxpw":"Local password cannot exceed 50 characters","login.setting":"Create and Set Up Multi-Sig Wallet","login.safety":"Multi-Security, Use MultiKey Wallet to Achieve Decentralized Account Management","login.wallet":"Create New Wallet","login.base":"Create a decentralized wallet that supports multi-account signature management based on your needs. You need to pay a small amount of Gas fee for this account.","login.new":"Create","login.had":"Load Wallet","login.multi":"If you already have a MultiKey wallet and want to continue using it in a new account, you can continue using it by verifying it with your private key or mnemonic phrase.","login.loading":"Load","login.use":"Use your existing mnemonic phrase or private key to restore the multi-key wallet. We will help you get the historical data On-Chain, and it will be displayed in the corresponding function items, so you will not lose this data information.","login.word":"Import via Mnemonic Phrase","login.restore":"Importing via mnemonic phrase can restore all accounts under this mnemonic phrase","login.private":"Import via Private Key","login.text":"Use your private key to import the multi-sig account you need","login.cancel":"Cancel","login.confirm":"Confirm","login.start":"Start Importing","login.privateEmpty":"Private key cannot be empty","login.privateError":"Private key is incorrect","login.mnemonicEmpty":"Seed phrase cannot be empty","login.mnemonicError":"Seed phrase is incorrect","login.no":"No data yet","login.select":"Please Select Multi-Sig Wallet Name","login.incorrect":"Local security password is incorrect","login.delete":"Delete Account","login.deleteAccount":"Are you sure you want to delete account {{name}}?","login.cody":"Copied successfully","login.pwEmpty":"Local security password cannot be empty","login.accountName":"Account Name","login.continue":"Use Multi-Signature Wallet","login.account":"Create New Account","login.checkKnow":"Please check to understand and accept the privacy policy","login.loacl":"Account","login.now":"Currently in use account","login.previous":"Prev Step","home.newBuilt":"Create New","home.details":"Token Details","home.multi":"Multi-Sig Wallet","home.create":"Create New Multi-signature Address","home.signtip":"Set at least 2 signature addresses, cannot exceed total signature count","home.receive":"Receive","home.transfer":"Transfer","home.assets":"Assets","home.setting":"Set MultiKey Wallet","home.des":"Set up management account and permissions for the MultiKey wallet, which cannot be modified after On-Chain deployment.","home.team":"Team Name","home.name":"You need to name your wallet for quick recognition by you or team members during signing.","home.inputName":"Please enter team name","home.nameLength":"Team name cannot exceed 20 characters","home.sign":"Signature Address {{num}}","home.inputSign":"Please enter signature address","home.addreeType":"Please enter an address in the format 0000-0000-0000-0000-0000","home.save":"Address already exists","home.new":"Add","home.num":"Set transaction signature threshold","home.inputNum":"Please enter transaction signature threshold","home.min":"Minimum 2 signatures required","home.delete":"Delete","home.block":"Block ID","home.hash":"Transaction Hash","home.address":"Address","home.date":"Date","home.type":"Type","home.contract":"Contract","home.amount":"Amount","home.check":"Password Verification","home.balance":"Balance","home.send":"Send","home.recipient":"Please enter recipient address","home.count":"Amount","home.dir":"Please enter send amount","home.maxZero":"The input amount must be greater than zero","home.maxAmount":"Sending amount should be less than maximum {{num}} {{tokenSymbol}}.","home.gas":"Gas Fee","home.comment":"Memo","home.commentInput":"Please enter memo","home.expedit":"Expedited Fee (Optional)","home.expeditInput":"Please enter expedited fee","home.expedited":"Expedited Fee","home.examine":"View","home.initiate":"Initiate a Transfer","home.achieve":"Received from {{to}}","home.wait":"Awaiting Signature","home.finish":"Signature Completed and Executed","home.noMessage":"No new messages","home.second":"Seconds Ago","home.messageDetails":"Message Details","home.notice":"Signature Notification","home.current":"Current Signature Number","home.tactics":"Signature Threshold","home.rejected":"Rejected","home.approved":"Approved","home.explore":"Check on blockchain explorer","home.time":"Time","home.content":"Content","home.signnum":"Signature Number","home.collection":"Please enter receive amount","home.saveqr":"Save QR Code","home.cody":"Copy Receive Link","home.give":"Share to...","home.limit":"Input cannot exceed {{num}} signature addresses","home.over":"Cannot exceed {{num}} addresses","home.add":"Add Token","home.continue":"Continue","home.build":"Create","home.sure":"Confirm Multisig Wallet Address","home.mistake":"Please confirm your Multisig wallet information to avoid mistakes","home.mulAddress":"Multisig Address","home.signAll":"{{num}} to {{length}} Transaction Signatures Required","home.noGas":"Not enough GAS fee","home.maxExpedited":"The number of expedite fees should be less than the maximum amount {{num}} {{tokenSymbol}}","home.inputAccount":"Please enter the account name","home.iName":"Please enter iName","home.nickname":"iName does not conform to the rules","manage.import":"Export","manage.add":"Add New Account","manage.create":"Please complete new account creation before adding","manage.close":"Hide Account","manage.use":"Continue Using","manage.clean":"Delete Account","manage.all":"Locally clear account private key and mnemonic phrase, can be re-imported to recover data","manage.longPassword":"New password cannot exceed 50 characters","manage.safety":"Security","manage.setting":"Wallet Password Settings","manage.old":"Old Password","manage.oldPassword":"Please enter old password","manage.oldError":"Entered password does not match old password","manage.check":"Password Security Verification","manage.newPassword":"Set New Password","manage.again":"New Password Verification","manage.new":"New Password","manage.inputPassword":"Please enter new password","manage.againPassword":"Please re-enter password","manage.againNot":"Re-entered password does not match new password","manage.success":"Password changed successfully","manage.phrase":"Seed Phrase","manage.custody":"Please KEEP your seed phrase safe and NEVER share it with anyone.","manage.show":"Show Seed Phrase","manage.hide":"Hide Seed Phrase","manage.private":"Private Key","manage.custodyKey":"Please KEEP your private key safe and NEVER share it with anyone.","manage.showPrivate":"Show Private Key","manage.hidePrivate":"Hide Private Key","manage.language":"Language","manage.select":"Select your language","manage.user":"User FAQ & User Manual","manage.help":"Help Center","manage.about":"About Us","manage.open":"Open Source Community","manage.current":"Current account","user.dosuccess":"Operation Success","user.chain":"Transaction in processing ......","user.tips":"Tips","user.urgentpay":"Urgent fee (IBXC) = Paid assets / (follow-up ratio * precision)","user.tokensave":"Token Already Exists","type.package":"Packing Fee","type.taxation":"Tax","type.trade":"Transfer","type.tokenTrade":"Token Transfer","type.create":"Create Wallet","type.iname":"Create iName","type.issue":"Issue Token","type.coin":"Destroied Token Amount","type.private":"Foundation","type.foundation":"Eco-Partners","type.team":"R&D team","type.partner":"Private Sales 1","type.nft":"NFT Staking Reward","type.mining":"New Staking","type.pledge":"Withdraw Staked amount","type.exchange":"Withholding Redemption","type.burning":"Burned","type.detele":"Account Removal","type.paid":"Deposit paid by candidate node","type.nodes":"Deposit paid on behalf of candidate node","type.voting":"Candidate Node Voting","type.deposit":"Withdraw deposit of candidate node","type.withdrawal":"Withdraw vote for candidate node","type.textcoin":"Get Test Coins","type.privateye":"Private Sales 2","type.offering":"Public Sales","type.num":"Receive remaining funds from Private Placement 1","type.child":"Sub-account deduction","type.issuance":"Additional issuance","type.twonum":"Receive remaining funds from Private Placement 2","type.remove":"Refunds after team removes sub-accounts","type.airsend":"Airdrop distribution amount","type.aristack":"Accelerate unlock stake amount","type.getair":"Receive airdrop","type.getstack":"Receive airdrop stake","type.locking":"Airdrop lock-up amount","type.createiname":"Create iName","type.cross":"Cross-chain minting","type.crosslock":"Cross-chain withdraw lock","type.destruction":"Cross-chain burn"},Nt="退出登录",Mt={"nav.assets":"资产","nav.manage":"钱包管理","nav.colorSystem":"颜色系统","nav.record":"交易记录","nav.load":"正在加载中","nav.drop":"轻轻下拉,加载更多","nav.nomore":"没有更多了",exit:Nt,"login.sign":"登录","login.accountName":"账户名称","login.continue":"使用多签钱包","login.name":"多签钱包名称","login.loacl":"账户","login.now":"当下正在使用的账户","login.address":"账户地址","login.password":"本地安全密码","login.know":"了解并接受隐私政策","login.checkKnow":"请勾选了解并接受隐私政策","login.create":"开始创建","login.account":"创建新账户","login.load":"加载钱包","login.import":"导入钱包","login.back":"返回","login.empty":"多签钱包名称不能为空","login.maxName":"多签钱包名称不能超过16个字符","login.pwEmpty":"本地安全密码不能为空","login.maxpw":"本地安全密码不能超过50个字符","login.setting":"创建并设置多签钱包","login.safety":"多重安全,使用multikey钱包让账户实现去中心化管理","login.wallet":"新建钱包","login.base":"根据你的需要创建一个支持多账户签名管理的去中心化钱包。你需要为此账户支付少量的Gas 费。","login.new":"新建","login.had":"加载钱包","login.multi":"如果你已经有multikey钱包,想在新的账户中继续使用,你可以通过私钥或助记词验证继续使用。","login.loading":"加载","login.use":"使用你已有的助记词或私钥恢复multikey钱包,我们会帮助你获取链上的历史数据,它们会显示在对应的功能项中,不会让你丢失这些数据信息","login.word":"通过助记词导入","login.restore":"使用助记词导入可以恢复此助记词下的所有账户","login.private":"通过私钥导入","login.text":"使用私钥导入你需要的多签账户","login.cancel":"取消","login.confirm":"确定","login.start":"开始导入","login.privateEmpty":"私钥不能为空","login.privateError":"私钥不正确","login.mnemonicEmpty":"助记词不能为空","login.mnemonicError":"助记词不正确","login.no":"暂无数据","login.select":"请选择多签钱包名称","login.incorrect":"本地安全密码不正确","login.delete":"删除账户","login.deleteAccount":"是否删除账户 {{name}} ?","login.cody":"复制成功","login.previous":"上一步","home.multi":"多签钱包","home.create":"创建多签钱包","home.newBuilt":"新建","home.details":"代币详情","home.signtip":"最少设置2个签名地址,不能超过签名总数","home.receive":"收款","home.transfer":"转账","home.assets":"资产","home.setting":"设置多签钱包","home.des":"设置多签钱包管理账户和管理权限,上链后将不可修改","home.team":"团队名称","home.name":"你需要为你的钱包命名,以便在你或团队成员签名时能快速想起","home.inputName":"请输入团队名称","home.inputAccount":"请输入账户名称","home.nameLength":"团队名称不能超过20个字符","home.sign":"签名地址 {{num}}","home.inputSign":"请输入签名地址","home.addreeType":"请输入0000-0000-0000-0000-0000这类格式的地址","home.save":"该签名地址已存在","home.new":"新的签名地址","home.num":"设置事务签名数","home.inputNum":"请输入事务签名数","home.min":"最少2个账户签名","home.delete":"删除","home.limit":"输入不能超过 {{num}} 个签名地址","home.over":"不能超过 {{num}} 个地址","home.block":"区块ID","home.hash":"事务Hash","home.address":"地址","home.date":"日期","home.type":"类型","home.contract":"合约","home.amount":"金额","home.check":"密码校验","home.balance":"余额","home.send":"发送到","home.recipient":"请输入转入地址","home.iName":"请输入iName","home.nickname":"iName不符合规则","home.count":"数额","home.dir":"请输入发送数量","home.maxZero":"输入数量应大于零","home.maxAmount":"发送数量应小于最大数量{{num}} {{tokenSymbol}}","home.maxExpedited":"加急费数量应小于最大数量{{num}} {{tokenSymbol}}","home.gas":"Gas费","home.comment":"发送备注","home.commentInput":"请输入备注","home.expedit":"加急费(可选)","home.expeditInput":"请输入加急费","home.expedited":"加急费","home.examine":"查看","home.initiate":"发起一笔转账","home.achieve":"收到来自{{to}}的转账","home.wait":"等待签名","home.finish":"完成签名已执行","home.noMessage":"没有新的消息","home.second":"秒前","home.messageDetails":"消息详情","home.notice":"签名通知","home.current":"当前签名数","home.tactics":"签名策略","home.rejected":"拒绝","home.approved":"通过","home.explore":"到区块链浏览器查看详情","home.time":"时间","home.content":"内容","home.signnum":"签名数","home.collection":"请输入接收数额","home.saveqr":"保存二维码","home.cody":"复制收款链接","home.give":"发送给…","home.add":"添加代币","home.continue":"继续","home.build":"创建","home.sure":"确认多签钱包地址","home.mistake":"请确认你的多签钱包信息,避免发生错误","home.mulAddress":"多签地址","home.signAll":"{{num}} 到 {{length}} 事务签名数","home.noGas":"没有足够的GAS费","manage.safety":"安全","manage.setting":"钱包密码设置","manage.old":"原密码","manage.oldPassword":"请输入原密码","manage.oldError":"输入密码与原密码不一致","manage.check":"密码安全验证","manage.newPassword":"设置新密码","manage.again":"新密码二次验证","manage.longPassword":"新密码不能超过50个字符","manage.new":"新密码","manage.inputPassword":"请输入新密码","manage.againPassword":"请再次输入密码","manage.againNot":"再次设置密码与新密码不一致","manage.success":"密码修改成功","manage.phrase":"助记词","manage.custody":"助记词请妥善保管,切勿告知他人","manage.show":"显示助记词","manage.hide":"隐藏助记词","manage.private":"私钥","manage.custodyKey":"私钥请妥善保管,切勿告知他人","manage.showPrivate":"显示私钥","manage.hidePrivate":"隐藏私钥","manage.import":"导出","manage.language":"语言","manage.select":"选择你的语言","manage.user":"用户疑问解答和使用说明书","manage.help":"帮助中心","manage.about":"关于我们","manage.open":"开放团队和社区","manage.add":"添加新账户","manage.create":"请完成新账户的创建后再添加","manage.close":"隐藏账户","manage.use":"继续使用","manage.clean":"清除账户","manage.all":"本地清除账户私钥与助记词,如需恢复数据可再次导入","manage.current":"当前账户","user.dosuccess":"操作成功","user.chain":"正在确认中……","user.tips":"提示","user.urgentpay":"加急费(IBXC)= 支付的生态资产 / (跟随比例 *生态精度)","user.tokensave":"代币已存在","type.package":"打包服务费","type.taxation":"税费","type.trade":"转账","type.tokenTrade":"代币转账","type.create":"创建钱包","type.iname":"创建INAME","type.issue":"发行通证","type.coin":"销毁通证币量","type.private":"基金会领取","type.team":"研发团队领取","type.partner":"私募一轮领取","type.foundation":"合作伙伴领取","type.nft":"NFT矿机挖矿","type.mining":"新建NFT矿机质押","type.pledge":"转出质押数额","type.exchange":"代扣兑换","type.burning":"燃烧","type.detele":"账户删除","type.paid":"候选节点缴纳保证金","type.nodes":"代缴候选节点保证金","type.voting":"候选节点投票","type.deposit":"撤回候选节点保证金","type.withdrawal":"撤回候选节点投票","type.textcoin":"领取测试币","type.privateye":"私募二轮领取","type.offering":"公募领取","type.num":"接收私募1剩余数量","type.child":"子账户扣款","type.issuance":"增发","type.twonum":"接收私募2剩余数量","type.remove":"团队移除子账户之后的退还","type.airsend":"空投发放量","type.aristack":"空投加速质押量","type.getair":"领取空投","type.getstack":"领取空投质押","type.locking":"空投锁定量","type.createiname":"创建iName","type.cross":"跨链铸造","type.crosslock":"跨链提取锁定","type.destruction":"跨链销毁"},Dt="تسجيل الخروج",Lt={"nav.assets":"الأصول","nav.manage":"إدارة المحفظة","nav.colorSystem":"نظام الألوان","nav.record":"سجل المعاملات","nav.load":"التحميل","nav.drop":"اسحب لأسفل لتحميل المزيد","nav.nomore":"لا يوجد المزيد",exit:Dt,"login.sign":"تسجيل الدخول","login.name":"اسم المحفظة متعددة التوقيعات","login.address":"عنوان الحساب","login.password":"كلمة المرور المحلية","login.know":"لقد قرأت سياسة الخصوصية وأوافق عليها.","login.create":"إنشاء","login.load":"تحميل المحفظة","login.import":"استيراد المحفظة","login.back":"رجوع","login.empty":"لا يمكن أن يكون اسم المحفظة متعددة التوقيعات فارغًا","login.maxName":"لا يمكن أن يتجاوز اسم المحفظة متعددة التوقيعات 16 حرفًا","login.maxpw":"لا يمكن أن تتجاوز كلمة المرور المحلية 50 حرفًا","login.setting":"إنشاء وإعداد محفظة متعددة التوقيع","login.safety":"أمان متعدد، استخدم المحفظة متعددة المفاتيح لتحقيق إدارة لا مركزية للحساب","login.wallet":"إنشاء محفظة جديدة","login.base":"أنشئ محفظة لا مركزية تدعم إدارة التوقيع متعدد الحسابات بناءً على احتياجاتك. تحتاج إلى دفع مبلغ صغير من رسوم الغاز لهذا الحساب.","login.new":"جديد","login.had":"تحميل المحفظة","login.multi":"إذا كان لديك بالفعل محفظة MultiKey وتريد الاستمرار في استخدامها في حساب جديد، يمكنك الاستمرار في استخدامها عن طريق التحقق منها باستخدام مفتاحك الخاص أو العبارة الذاكرية.","login.loading":"تحميل","login.use":"استخدم العبارة الذاكرية أو المفتاح الخاص الموجود لديك لاستعادة المحفظة متعددة المفاتيح. سوف نساعدك في الحصول على البيانات التاريخية على السلسلة، وسيتم عرضها في عناصر الوظيفة المقابلة، لذلك لن تفقد معلومات البيانات هذه.","login.word":"الاستيراد عبر عبارة ذاكري","login.restore":"يمكن للاستيراد عبر العبارة الذاكرية استعادة جميع الحسابات تحت هذه العبارة الذاكرية","login.private":"الاستيراد عبر المفتاح الخاص","login.text":"استخدم مفتاحك الخاص لاستيراد الحساب متعدد التوقيع الذي تريده","login.cancel":"إلغاء","login.confirm":"تأكيد","login.start":"بدء الاستيراد","login.privateEmpty":"لا يمكن أن يكون المفتاح الخاص فارغاً","login.privateError":"المفتاح الخاص غير صحيح","login.mnemonicEmpty":"عبارة البذرة لا يمكن أن تكون فارغة","login.mnemonicError":"عبارة البذرة غير صحيحة","login.no":"لا توجد بيانات بعد","login.delete":"حذف الحساب","login.deleteAccount":"هل تريد بالتأكيد حذف الحساب {{name}}؟","login.cody":"تم النسخ بنجاح","login.incorrect":"كلمة المرور الآمنة المحلية غير صحيحة","login.select":"يرجى اختيار اسم المحفظة متعددة التوقيعات","login.pwEmpty":"كلمة المرور الآمنة المحلية لا يمكن أن تكون فارغة","login.accountName":"اسم الحساب","login.continue":"استخدام محفظة التوقيع المتعدد","login.account":"إنشاء حساب جديد","login.checkKnow":"يرجى التحقق من فهم وقبول سياسة الخصوصية","login.loacl":"حساب","login.now":"الحساب المستخدم حاليًا","login.previous":"الخطوة السابقة","home.newBuilt":"جديد","home.multi":"المحفظة متعددة التوثيق","home.receive":"استلام","home.transfer":"التحويل","home.assets":"الأصول","home.setting":"تعيين محفظة MultiKey","home.des":"قم بإعداد حساب الإدارة والأذونات لمحفظة MultiKey، والتي لا يمكن تعديلها بعد النشر على السلسلة.","home.team":"اسم الفريق","home.name":"تحتاج إلى تسمية محفظتك للتعرف السريع عليك أو على أعضاء الفريق أثناء التوقيع.","home.inputName":"الرجاء إدخال اسم الفريق","home.nameLength":"لا يمكن أن يتجاوز اسم الفريق 20 حرفًا","home.sign":"عنوان التوقيع {{num}}","home.inputSign":"الرجاء إدخال عنوان التوقيع","home.addreeType":"يُرجى إدخال عنوان بالصيغة 0000-0000-0000-0000-0000","home.save":"العنوان موجود بالفعل","home.new":"عنوان توقيع جديد","home.num":"تعيين حد توقيع المعاملة","home.inputNum":"الرجاء إدخال حد توقيع المعاملة","home.min":"الحد الأدنى 2 توقيعات مطلوبة","home.delete":"حذف","home.block":"معرف الكتلة","home.hash":"تجزئة المعاملة","home.address":"العنوان","home.date":"التاريخ","home.type":"النوع","home.contract":"العقد","home.amount":"المبلغ","home.check":"التحقق من كلمة المرور","home.balance":"الرصيد","home.send":"إرسال","home.recipient":"الرجاء إدخال عنوان المستلم","home.count":"المبلغ","home.dir":"الرجاء إدخال مبلغ الإرسال","home.maxZero":"يجب أن يكون المبلغ المرسل أكبر من الصفر","home.maxAmount":"يجب أن يكون المبلغ المرسل أقل من الحد الأقصى{{num}} {{tokenSymbol}}.","home.gas":"رسوم الغاز","home.comment":"مذكرة","home.commentInput":"الرجاء إدخال المذكرة","home.expedit":"الرسوم المعجلة (اختياري)","home.expeditInput":"الرجاء إدخال الرسوم المعجلة","home.expedited":"الرسوم المعجلة","home.examine":"عرض","home.initiate":"بدء التحويل","home.achieve":"تم الاستلام من {{to}}","home.wait":"في انتظار التوقيع","home.finish":"اكتمل التوقيع وتم التنفيذ","home.noMessage":"لا توجد رسائل جديدة","home.second":"منذ ثوانٍ","home.messageDetails":"تفاصيل الرسالة","home.notice":"إشعار التوقيع","home.current":"رقم التوقيع الحالي","home.tactics":"عتبة التوقيع","home.rejected":"مرفوض","home.approved":"تمت الموافقة","home.explore":"التحقق من مستكشف البلوك تشين","home.time":"الوقت","home.content":"المحتوى","home.signnum":"رقم التوقيع","home.collection":"الرجاء إدخال مبلغ الاستلام","home.saveqr":"حفظ رمز الاستجابة السريعة","home.cody":"نسخ رابط الاستلام","home.give":"مشاركة لـ","home.create":"جديد","home.signtip":"يجب تعيين عنوانين للتوقيع على الأقل، ولا يمكن أن يتجاوز العدد الإجمالي للتوقيعات","home.details":"تفاصيل الرمز المميز","home.limit":"لا يمكن أن يتجاوز الإدخال {{num}} عنوان توقيع","home.over":"لا يمكن أن يتجاوز {{num}} عناوين","home.add":"أضف رمزًا مميزًا","home.continue":"يكمل","home.build":"إنشاء","home.sure":"تأكيد عنوان المحفظة متعددة التوقيعات","home.mistake":"يرجى التأكد من معلومات محفظتك متعددة التوقيعات لتجنب أي أخطاء","home.mulAddress":"عنوان متعدد التوقيعات","home.signAll":"{{num}} إلى {{length}} توقيعات المعاملة","home.noGas":"ليس لديك رسوم الغاز الكافية","home.maxExpedited":"يجب أن يكون رسوم الطلب الفوري أقل من الحد الأقصى {{num}} {{tokenSymbol}}","home.inputAccount":"الرجاء إدخال اسم الحساب","home.iName":"الرجاء إدخال iName","home.nickname":"iName لا يتوافق مع القاعدة","manage.import":"تصدير","manage.safety":"الأمان","manage.setting":"إعدادات كلمة مرور المحفظة","manage.old":"كلمة المرور القديمة","manage.oldPassword":"الرجاء إدخال كلمة المرور القديمة","manage.oldError":"كلمة المرور المدخلة لا تتطابق مع كلمة المرور القديمة","manage.check":"التحقق من أمان كلمة المرور","manage.newPassword":"تعيين كلمة مرور جديدة","manage.again":"التحقق من كلمة المرور الجديدة","manage.new":"كلمة المرور الجديدة","manage.inputPassword":"الرجاء إدخال كلمة مرور جديدة","manage.againPassword":"الرجاء إعادة إدخال كلمة المرور","manage.againNot":"كلمة المرور المعاد إدخالها لا تتطابق مع كلمة المرور الجديدة","manage.success":"تم تغيير كلمة المرور بنجاح","manage.phrase":"العبارة الأولية","manage.custody":"يُرجى الاحتفاظ بالعبارة الأولية بأمان وعدم مشاركتها مع أي شخص.","manage.show":"إظهار العبارة الأولية","manage.hide":"إخفاء العبارة الأولية","manage.private":"المفتاح الخاص","manage.custodyKey":"يرجى الاحتفاظ بمفتاحك الخاص بأمان وعدم مشاركته مع أي شخص.","manage.showPrivate":"إظهار المفتاح الخاص","manage.hidePrivate":"إخفاء المفتاح الخاص","manage.language":"اللغة","manage.select":"اختر لغتك","manage.user":"الأسئلة الشائعة للمستخدم ودليل المستخدم","manage.help":"مركز المساعدة","manage.about":"نبذة عنا","manage.open":"مجتمع المصادر المفتوحة","manage.longPassword":"يجب ألا تتجاوز كلمة المرور الجديدة 50 حرفًا","manage.add":"إضافة حساب جديد","manage.create":"يرجى إكمال إنشاء الحساب الجديد قبل الإضافة","manage.close":"إخفاء الحساب","manage.use":"متابعة الاستخدام","manage.clean":"مسح الحساب","manage.all":"مسح المفتاح الخاص للحساب والعبارة المساعدة محليًا، يمكن استيراد البيانات مرة أخرى إذا كنت بحاجة لاستعادتها","manage.current":"الحساب الجاري","user.dosuccess":"عملية ناجحة","user.chain":"تم التأكيد...","user.urgentpay":"رسوم الطوارئ (IBXC) = الأصول المدفوعة / (نسبة المتابعة * الدقة)","user.tips":"نصائح","user.tokensave":"الرمز موجود بالفعل","type.package":"رسوم التعبئة","type.taxation":"الضريبة","type.trade":"التحويل","type.tokenTrade":"تحويل الرمز","type.create":"إنشاء محفظة","type.iname":"إنشاء iName","type.issue":"إصدار الرمز","type.coin":"كمية الرمز المدمرة","type.private":"المؤسسة","type.foundation":"شركاء البيئة","type.team":"فريق البحث والتطوير","type.partner":"مبيعات خاصة 1","type.nft":"مكافأة الاستثمار في NFT","type.mining":"استثمار جديد","type.pledge":"سحب المبلغ المستثمر","type.exchange":"احتجاز الاسترداد","type.burning":"تم حرقه","type.detele":"إزالة الحساب","type.paid":"تم دفع الوديعة من قبل العقدة المرشحة","type.nodes":"تم دفع الوديعة نيابة عن العقدة المرشحة","type.voting":"تصويت المرشح الأساسي","type.deposit":"سحب الوديعة للمرشح الأساسي","type.withdrawal":"سحب التصويت للمرشح الأساسي","type.textcoin":"الحصول على عملات تجريبية","type.privateye":"المبيعات الخاصة 2","type.offering":"المبيعات العامة","type.num":"استلام الأموال المتبقية من الإصدار الخاص 1","type.child":"خصم الحساب الفرعي","type.issuance":"إصدار إضافي","type.twonum":"استلام الأموال المتبقية من الإصدار الخاص 2","type.remove":"استرداد بعد إزالة الفريق للحسابات الفرعية","type.airsend":"مبلغ توزيع الهبة الجوية","type.aristack":"تسريع فتح مبلغ الرهن","type.getair":"استلام الهبة الجوية","type.getstack":"استلام رهن الهبة الجوية","type.locking":"مبلغ قفل الهبة الجوية","type.createiname":"إنشاء اسم آي","type.cross":"صك عبر السلاسل","type.crosslock":"قفل سحب عبر السلاسل","type.destruction":"حرق عبر السلاسل"},Rt="লগ আউট করুন",Gt={"nav.assets":"সম্পদ","nav.manage":"ওয়ালেট ব্যবস্থাপনা","nav.colorSystem":"রঙ সিস্টেম","nav.record":"লেনদেন ইতিহাস","nav.load":"লোড হচ্ছে","nav.drop":"আরও লোড করতে নিচে টানুন","nav.nomore":"আর কিছু নেই","login.sign":"সাইন ইন","login.name":"মাল্টিসিগ ওয়ালেটের নাম","login.address":"অ্যাকাউন্ট ঠিকানা","login.password":"লোকাল পাসওয়ার্ড","login.know":"আমি গোপনীয়তা নীতি পড়েছি এবং সম্মত হয়েছি।","login.create":"তৈরি করুন","login.load":"ওয়ালেট লোড করুন","login.import":"ওয়ালেট ইম্পোর্ট করুন","login.back":"ফিরে যান","login.empty":"মাল্টি-সাইন ওয়ালেটের নাম ফাঁকা থাকতে পারে না","login.maxName":"মাল্টি-সাইন ওয়ালেটের নাম 16টি অক্ষরের বেশি হতে পারে না","login.maxpw":"লোকাল পাসওয়ার্ড 50 অক্ষরের বেশি হতে পারে না","login.setting":"মাল্টি-সিগ ওয়ালেট তৈরি এবং সেটআপ করুন","login.safety":"মাল্টি-সিকিউরিটি, ডিসেন্ট্রালাইজড অ্যাকাউন্ট ব্যবস্থাপনা অর্জনের জন্য মাল্টিকি ওয়ালেট ব্যবহার করুন","login.wallet":"নতুন ওয়ালেট তৈরি করুন","login.base":"আপনার প্রয়োজন অনুযায়ী একটি ডিসেন্ট্রালাইজড ওয়ালেট তৈরি করুন যা একাধিক অ্যাকাউন্টের স্বাক্ষর ব্যবস্থাপনা সমর্থন করে। এই অ্যাকাউন্টের জন্য আপনাকে একটি ছোট পরিমাণ গ্যাস ফি প্রদান করতে হবে।","login.new":"নতুন","login.had":"ওয়ালেট লোড করুন","login.multi":"যদি আপনার ইতোমধ্যে একটি মাল্টিকি ওয়ালেট থাকে এবং আপনি একটি নতুন অ্যাকাউন্টে এটি ব্যবহার করতে চান, তাহলে আপনি আপনার প্রাইভেট কী বা মনেমনিক ফ্রেজ দিয়ে এটি যাচাই করে চালিয়ে যেতে পারেন।","login.loading":"লোড করুন","login.use":"মাল্টি-কী ওয়ালেট পুনরুদ্ধার করতে আপনার বিদ্যমান মনেমনিক ফ্রেজ বা প্রাইভেট কী ব্যবহার করুন। আমরা আপনাকে অন-চেইন এর ঐতিহাসিক ডেটা পেতে সাহায্য করব এবং এটি সংশ্লিষ্ট ফাংশন আইটেমগুলিতে প্রদর্শিত হবে, তাই আপনি এই ডেটা তথ্য হারাবেন না।","login.word":"মনেমনিক ফ্রেজ দ্বারা ইম্পোর্ট করুন","login.restore":"মনেমনিক ফ্রেজ দ্বারা ইম্পোর্ট করা এই মনেমনিক ফ্রেজের অধীনে সমস্ত অ্যাকাউন্টগুলি পুনরুদ্ধার করতে পারে","login.private":"প্রাইভেট কী দ্বারা ইম্পোর্ট করুন","login.text":"আপনার প্রয়োজনীয় মাল্টি-সিগ অ্যাকাউন্ট ইম্পোর্ট করতে আপনার প্রাইভেট কী ব্যবহার করুন","login.cancel":"বাতিল করুন","login.confirm":"নিশ্চিত করুন","login.start":"ইম্পোর্ট শুরু করুন","login.privateEmpty":"প্রাইভেট কী খালি থাকতে পারবে না","login.privateError":"প্রাইভেট কীটি ভুল","login.mnemonicEmpty":"বীজ ফ্রেজটি খালি থাকতে পারবে না","login.mnemonicError":"বীজ ফ্রেজটি ভুল","login.no":"এখনও কোনো ডেটা নেই","login.delete":"অ্যাকাউন্ট মুছে ফেলুন","login.deleteAccount":"আপনি কি নিশ্চিত যে আপনি অ্যাকাউন্ট {{name}} মুছে ফেলতে চান?","login.cody":"সফলভাবে কপি করা হয়েছে","login.incorrect":"স্থানীয় সুরক্ষা পাসওয়ার্ড সঠিক নয়","login.select":"মাল্টিসিগ ওয়ালেটের নাম নির্বাচন করুন","login.pwEmpty":"স্থানীয় সুরক্ষা পাসওয়ার্ড খালি থাকতে পারে না","login.accountName":"অ্যাকাউন্টের নাম","login.continue":"মাল্টি-সাইন ওয়ালেট ব্যবহার করুন","login.account":"নতুন অ্যাকাউন্ট তৈরি করুন","login.checkKnow":"দয়া করে গোপনীয়তা নীতি বুঝতে এবং গ্রহণ করতে টিক চিহ্ন দিন","login.loacl":"অ্যাকাউন্ট","login.now":"বর্তমানে ব্যবহৃত অ্যাকাউন্ট","login.previous":"পূর্ববর্তী ধাপ","home.newBuilt":"নতুন তৈরি করুন","home.multi":"মাল্টি-সিগ ওয়ালেট","home.receive":"প্রাপ্ত","home.transfer":"স্থানান্তর","home.assets":"সম্পদ","home.setting":"মাল্টিকি ওয়ালেট সেট করুন","home.des":"মাল্টিকি ওয়ালেটের জন্য ম্যানেজমেন্ট অ্যাকাউন্ট এবং অনুমতিগুলি সেটআপ করুন, যা অন-চেইন ডেপ্লয়মেন্টের পরে সংশোধন করা যাবে না।","home.team":"টীমের নাম","home.name":"স্বাক্ষর করার সময় দ্রুত চিহ্নিত করার জন্য আপনাকে বা আপনার টীমের সদস্যদের কাছে আপনার ওয়ালেটের একটি নাম দিতে হবে।","home.inputName":"দয়া করে টীমের নাম লিখুন","home.nameLength":"টীমের নাম 20 অক্ষরের বেশি হতে পারে না","home.sign":"স্বাক্ষর ঠিকানা {{num}}","home.inputSign":"দয়া করে স্বাক্ষর ঠিকানা লিখুন","home.addreeType":"0000-0000-0000-0000-0000 ফরম্যাটে একটি ঠিকানা লিখুন","home.save":"ঠিকানাটি ইতোমধ্যে বিদ্যমান আছে","home.new":"নতুন স্বাক্ষর ঠিকানা","home.num":"লেনদেন স্বাক্ষর সীমা সেট করুন","home.inputNum":"দয়া করে লেনদেন স্বাক্ষর সীমা লিখুন","home.min":"সর্বনিম্ন 2টি স্বাক্ষর প্রয়োজন","home.delete":"মুছে ফেলুন","home.block":"ব্লক আইডি","home.hash":"লেনদেন হ্যাশ","home.address":"ঠিকানা","home.date":"তারিখ","home.type":"প্রকার","home.contract":"চুক্তি","home.amount":"পরিমাণ","home.check":"পাসওয়ার্ড যাচাইকরণ","home.balance":"ব্যালেন্স","home.send":"পাঠান","home.recipient":"দয়া করে প্রাপকের ঠিকানা লিখুন","home.count":"পরিমাণ","home.dir":"দয়া করে পাঠানোর পরিমাণ লিখুন","home.maxZero":"ইনপুট পরিমাণটি শূন্যের চেয়ে বড় হতে হবে","home.maxAmount":"পাঠানোর পরিমাণ সর্বাধিক {{num}} {{tokenSymbol}} এর চেয়ে কম হওয়া উচিত।","home.gas":"গ্যাস ফি","home.comment":"মেমো","home.commentInput":"দয়া করে মেমো লিখুন","home.expedit":"দ্রুতগতি ফি (ঐচ্ছিক)","home.expeditInput":"দয়া করে দ্রুতগতি ফি লিখুন","home.expedited":"দ্রুতগতি ফি","home.examine":"দেখুন","home.initiate":"একটি স্থানান্তর শুরু করুন","home.achieve":"{{to}} থেকে প্রাপ্ত","home.wait":"স্বাক্ষরের অপেক্ষায়","home.finish":"স্বাক্ষর সম্পন্ন এবং নিষ্পন্ন","home.noMessage":"কোনো নতুন বার্তা নেই","home.second":"সেকেন্ড আগে","home.messageDetails":"বার্তা বিশদ বিবরণ","home.notice":"স্বাক্ষর বিজ্ঞপ্তি","home.current":"বর্তমান স্বাক্ষর সংখ্যা","home.tactics":"স্বাক্ষর সীমা","home.rejected":"প্রত্যাখ্যাত","home.approved":"অনুমোদিত","home.explore":"ব্লকচেইন এক্সপ্লোরারে দেখুন","home.time":"সময়","home.content":"কন্টেন্ট","home.signnum":"স্বাক্ষর সংখ্যা","home.collection":"দয়া করে প্রাপ্তির পরিমাণ লিখুন","home.saveqr":"QR কোড সংরক্ষণ করুন","home.cody":"প্রাপ্তির লিঙ্ক কপি করুন","home.give":"... এ ভাগ করে নিন","home.create":"নতুন তৈরি করুন","home.signtip":"কমপক্ষে 2টি স্বাক্ষর ঠিকানা সেট করুন, স্বাক্ষরের মোট সংখ্যা অতিক্রম করা যাবে না","home.limit":"{{num}} এর বেশি স্বাক্ষর ঠিকানা প্রবেশ করা যাবে না","home.details":"টোকেন বিবরণ","home.over":"{{num}} টির বেশি ঠিকানা হতে পারবে না","home.add":"টোকেন যোগ করুন","home.continue":"চালিয়ে যান","home.build":"সৃষ্টি কর","home.sure":"মাল্টি-সাইন ওয়ালেট ঠিকানা নিশ্চিত করুন","home.mistake":"আপনার মাল্টি-সাইন ওয়ালেট তথ্য নিশ্চিত করুন, ভুল এড়াতে","home.mulAddress":"মাল্টি-সাইন ঠিকানা","home.signAll":"{{num}} এ {{length}} লেনদেন স্বাক্ষর","home.noGas":"পর্যাপ্ত গ্যাস ফী নেই","home.maxExpedited":"জরুরি ফি {{num}} {{tokenSymbol}} সর্বাধিক পরিমাণের চেয়ে কম হওয়া উচিত","home.inputAccount":"অনুগ্রহ করে একাউন্টের নাম লিখুন","home.iName":"অনুগ্রহ করে iName লিখুন","home.nickname":"iName নিয়ম অনুযায়ী নয়","manage.import":"রপ্তানী","manage.safety":"নিরাপত্তা","manage.setting":"ওয়ালেট পাসওয়ার্ড সেটিংস","manage.old":"পুরানো পাসওয়ার্ড","manage.oldPassword":"দয়া করে পুরানো পাসওয়ার্ড লিখুন","manage.oldError":"প্রবেশকৃত পাসওয়ার্ডটি পুরানো পাসওয়ার্ডের সাথে মিলছে না","manage.check":"পাসওয়ার্ড নিরাপত্তা যাচাইকরণ","manage.newPassword":"নতুন পাসওয়ার্ড সেট করুন","manage.again":"নতুন পাসওয়ার্ড যাচাইকরণ","manage.new":"নতুন পাসওয়ার্ড","manage.inputPassword":"দয়া করে নতুন পাসওয়ার্ড লিখুন","manage.againPassword":"দয়া করে পাসওয়ার্ড পুনরায় লিখুন","manage.againNot":"পুনরায় লেখা পাসওয়ার্ডটি নতুন পাসওয়ার্ডের সাথে মিলছে না","manage.success":"পাসওয়ার্ড সফলভাবে পরিবর্তন করা হয়েছে","manage.phrase":"বীজ ফ্রেজ","manage.custody":"দয়া করে আপনার বীজ ফ্রেজটি নিরাপদ রাখুন এবং কাউকে কখনো এটি শেয়ার করবেন না।","manage.show":"বীজ ফ্রেজ দেখান","manage.hide":"বীজ ফ্রেজ লুকান","manage.private":"প্রাইভেট কী","manage.custodyKey":"দয়া করে আপনার প্রাইভেট কীটি নিরাপদ রাখুন এবং কাউকে কখনো এটি শেয়ার করবেন না।","manage.showPrivate":"প্রাইভেট কী দেখান","manage.hidePrivate":"প্রাইভেট কী লুকান","manage.language":"ভাষা","manage.select":"আপনার ভাষা নির্বাচন করুন","manage.user":"ব্যবহারকারীর সাধারণ প্রশ্ন এবং নির্দেশিকা","manage.help":"সহায়তা কেন্দ্র","manage.about":"আমাদের সম্পর্কে","manage.open":"ওপেন সোর্স কমিউনিটি","manage.longPassword":"নতুন পাসওয়ার্ড 50টি অক্ষরের বেশি হতে পারবে না","manage.add":"নতুন অ্যাকাউন্ট যোগ করুন","manage.create":"দয়া করে নতুন অ্যাকাউন্ট তৈরি করার পরে যোগ করুন","manage.close":"অ্যাকাউন্ট লুকান","manage.use":"ব্যবহার চালিয়ে যান","manage.clean":"অ্যাকাউন্ট মুছে ফেলুন","manage.all":"স্থানীয়ভাবে অ্যাকাউন্টের প্রাইভেট কী এবং মনেমোনিক শব্দ মুছে ফেলুন, ডেটা পুনরুদ্ধার করতে আবার আমদানি করুন","manage.current":"বর্তমান অ্যাকাউন্ট",exit:Rt,"user.dosuccess":"অপারেশন সফল","user.chain":"লেনদেন প্রসেসিং করা হচ্ছে ......","user.tips":"পরামর্শ","user.urgentpay":"জরুরি ফি (IBXC) = প্রদত্ত সম্পদ / (অনুসরণ অনুপাত * সঠিকতা)","user.tokensave":"টোকেন ইতিমধ্যে বিদ্যমান","type.package":"প্যাকিং ফি","type.taxation":"কর","type.trade":"স্থানান্তর","type.tokenTrade":"টোকেন স্থানান্তর","type.create":"ওয়ালেট তৈরি করুন","type.iname":"আইনাম তৈরি করুন","type.issue":"টোকেন ইস্যু করুন","type.coin":"ধ্বংসিত টোকেন পরিমাণ","type.private":"ফাউন্ডেশন","type.foundation":"ইকো-পার্টনার","type.team":"আর এন্ড ডি টীম","type.partner":"প্রাইভেট বিক্রয় 1","type.nft":"NFT স্থাকিত পুরস্কার","type.mining":"নতুন স্থাকিত করা","type.pledge":"পূর্বাভাস প্রদান করুন","type.exchange":"বাধ্যতামূলক মুদ্রণ স্বর্ণাদি","type.burning":"ধ্বংস","type.detele":"অ্যাকাউন্ট সরানো","type.paid":"প্রার্থী নোড দ্বারা জমা","type.nodes":"প্রার্থী নোডের পক্ষে জমা প্রদান","type.voting":"প্রার্থী নোড ভোট","type.deposit":"প্রার্থী নোডের জমা উত্তোলন করুন","type.withdrawal":"প্রার্থী নোডের জন্য ভোট উত্তোলন করুন","type.textcoin":"টেস্ট কয়েন পান","type.privateye":"প্রাইভেট বিক্রয় 2","type.offering":"পাবলিক বিক্রয়","type.num":"প্রাইভেট প্লেসমেন্ট 1 থেকে বাকি ধন পাওয়া","type.child":"সাব-অ্যাকাউন্ট ছারা","type.issuance":"অতিরিক্ত ইস্যু","type.twonum":"প্রাইভেট প্লেসমেন্ট 2 থেকে বাকি ধন পাওয়া","type.remove":"দল সাব-অ্যাকাউন্ট সরানোর পর ফেরত","type.airsend":"এয়ারড্রপ বিতরণ পরিমাণ","type.aristack":"স্থানান্তর আনলক প্রমাণের মাধ্যমে ত্বরণ দিন","type.getair":"এয়ারড্রপ পান","type.getstack":"এয়ারড্রপ স্থাকিত পান","type.locking":"এয়ারড্রপ লক-আপ পরিমাণ","type.createiname":"আইনাম তৈরি করুন","type.cross":"চেইন আনুমানিক প্রজন্ম","type.crosslock":"চেইন আনুমানিক সরবরাহ লক","type.destruction":"চেইন আনুমানিক ভস্মীভূত করা"},Kt="Abmelden",Ft={exit:Kt,"nav.assets":"Vermögenswerte","nav.manage":"Wallet-Verwaltung","nav.colorSystem":"Farbsystem","nav.record":"Transaktionsverlauf","nav.load":"Laden","nav.drop":"Nach unten ziehen, um mehr zu laden","nav.nomore":"Keine mehr","login.sign":"Anmelden","login.name":"Multisig-Wallet-Name","login.address":"Kontoadresse","login.password":"Lokales Passwort","login.know":"Ich habe die Datenschutzbestimmungen gelesen und akzeptiere diese.","login.create":"Erstellen","login.load":"Wallet laden","login.import":"Wallet importieren","login.back":"Zurück","login.empty":"Der Name der Multi-Signatur-Brieftasche darf nicht leer sein","login.maxName":"Der Name der Multi-Signatur-Brieftasche darf nicht länger als 16 Zeichen sein","login.maxpw":"Lokales Passwort darf 50 Zeichen nicht überschreiten","login.setting":"Multi-Sig-Wallet erstellen und einrichten","login.safety":"Mehrfache Sicherheit, MultiKey-Wallet zur dezentralen Kontoverwaltung nutzen","login.wallet":"Neues Wallet erstellen","login.base":"Basierend auf Ihren Bedürfnissen eine dezentrale Wallet erstellen, die die Signaturverwaltung mehrerer Konten unterstützt. Sie müssen eine kleine Gas-Gebühr für dieses Konto bezahlen.","login.new":"Neu","login.had":"Wallet laden","login.multi":"Wenn Sie bereits eine MultiKey-Wallet haben und diese in einem neuen Konto weiternutzen möchten, können Sie sie durch Verifizierung mit Ihrem privaten Schlüssel oder Mnemonik-Seed wiederherstellen.","login.loading":"Laden","login.use":"Nutzen Sie Ihren bestehenden Mnemonik-Seed oder privaten Schlüssel, um die MultiKey-Wallet wiederherzustellen. Wir helfen Ihnen, die historischen On-Chain-Daten abzurufen, die in den entsprechenden Funktionen angezeigt werden, so dass Sie diese Daten nicht verlieren.","login.word":"Über Mnemonik-Phrase importieren","login.restore":"Import über Mnemonik-Phrase kann alle Konten unter dieser Phrase wiederherstellen","login.private":"Über privaten Schlüssel importieren","login.text":"Nutzen Sie Ihren privaten Schlüssel, um das benötigte Multi-Sig-Konto zu importieren","login.cancel":"Abbrechen","login.confirm":"Bestätigen","login.start":"Import starten","login.privateEmpty":"Privater Schlüssel darf nicht leer sein","login.privateError":"Privater Schlüssel ist falsch","login.mnemonicEmpty":"Mnemonik-Phrase darf nicht leer sein","login.mnemonicError":"Mnemonik-Phrase ist falsch","login.no":"Noch keine Daten vorhanden","login.delete":"Konto löschen","login.deleteAccount":"Sind Sie sicher, dass Sie das Konto {{name}} löschen möchten?","login.cody":"Erfolgreich kopiert","login.incorrect":"Lokales Sicherheitspasswort ist falsch","login.select":"Bitte Multisig-Wallet-Namen wählen","login.pwEmpty":"Lokales Sicherheitspasswort darf nicht leer sein","login.accountName":"Kontoname","login.continue":"Multi-Signatur-Wallet verwenden","login.account":"Neues Konto erstellen","login.checkKnow":"Bitte akzeptieren Sie die Datenschutzrichtlinie","login.loacl":"Konto","login.now":"Aktuell verwendetes Konto","login.previous":"Vorheriger Schritt","home.newBuilt":"Neu erstellen","home.multi":"Multi-Sig-Wallet","home.receive":"Empfangen","home.transfer":"Überweisen","home.assets":"Vermögenswerte","home.setting":"MultiKey-Wallet einrichten","home.des":"Verwaltungskonto und Berechtigungen für die MultiKey-Wallet festlegen, die nach der On-Chain-Bereitstellung nicht mehr geändert werden können.","home.team":"Teamnamen","home.name":"Sie müssen Ihrer Wallet einen Namen geben, damit Sie oder Teammitglieder sie beim Signieren schnell erkennen.","home.inputName":"Bitte Teamnamen eingeben","home.nameLength":"Teamname darf 20 Zeichen nicht überschreiten","home.sign":"Signaturadresse {{num}}","home.inputSign":"Bitte Signaturadresse eingeben","home.addreeType":"Bitte eine Adresse im Format 0000-0000-0000-0000-0000 eingeben","home.save":"Adresse existiert bereits","home.new":"Neue Signaturadresse","home.num":"Transaktions-Signatur-Schwellwert festlegen","home.inputNum":"Bitte Transaktions-Signatur-Schwellwert eingeben","home.min":"Mindestens 2 Signaturen erforderlich","home.delete":"Löschen","home.block":"Block-ID","home.hash":"Transaktions-Hash","home.address":"Adresse","home.date":"Datum","home.type":"Typ","home.contract":"Vertrag","home.amount":"Betrag","home.check":"Passworterstellung","home.balance":"Guthaben","home.send":"Senden","home.recipient":"Bitte Empfängeradresse eingeben","home.count":"Betrag","home.dir":"Bitte Überweisungsbetrag eingeben","home.maxZero":"Der eingegebene Betrag muss größer als Null sein","home.maxAmount":"Der Überweisungsbetrag sollte kleiner als das Maximum von {{num}} {{tokenSymbol}} sein.","home.gas":"Gebühr","home.comment":"Memo","home.commentInput":"Bitte Memo eingeben","home.expedit":"Expresszuschlag (optional)","home.expeditInput":"Bitte Expresszuschlag eingeben","home.expedited":"Expresszuschlag","home.examine":"Anzeigen","home.initiate":"Überweisung auslösen","home.achieve":"Erhalten von {{to}}","home.wait":"Warte auf Unterschrift","home.finish":"Unterschrift abgeschlossen und ausgeführt","home.noMessage":"Keine neuen Nachrichten","home.second":"Vor Sekunden","home.messageDetails":"Nachrichtendetails","home.notice":"Unterschriftsbenachrichtigung","home.current":"Aktuelle Unterschriftenanzahl","home.tactics":"Unterschriftsschwelle","home.rejected":"Abgelehnt","home.approved":"Genehmigt","home.explore":"In der Blockchain-Explorer überprüfen","home.time":"Zeit","home.content":"Inhalt","home.signnum":"Unterschriftenanzahl","home.collection":"Bitte Empfangsbetrag eingeben","home.saveqr":"QR-Code speichern","home.cody":"Empfangslink kopieren","home.give":"Teilen mit...","home.create":"Neu erstellen","home.signtip":"Mindestens 2 Signaturadresse setzen, darf die Gesamtzahl der Signaturen nicht überschreiten","home.details":"Token-Details","home.limit":"Eingabe darf {{num}} Signaturadressen nicht überschreiten","home.over":"Es dürfen nicht mehr als {{num}} Adressen sein","home.add":"Token hinzufügen","home.continue":"Weitermachen","home.build":"erstellen","home.sure":"Multi-Signatur-Wallet-Adresse bestätigen","home.mistake":"Bitte bestätigen Sie die Informationen zu Ihrem Multi-Signatur-Wallet, um Fehler zu vermeiden","home.mulAddress":"Multisig-Adresse","home.signAll":"{{num}} von {{length}} Transaktionssignaturen","home.noGas":"Nicht genügend Gas","home.maxExpedited":"Die Anzahl der Beschleunigungsgebühren sollte kleiner sein als die maximale Menge {{num}} {{tokenSymbol}}","home.inputAccount":"Bitte geben Sie einen Kontonamen ein","home.iName":"Bitte geben Sie einen iName ein","home.nickname":"iName entspricht nicht den Regeln","manage.import":"Exportieren","manage.add":"Neues Konto hinzufügen","manage.create":"Bitte erstellen Sie zuerst ein neues Konto, bevor Sie ein weiteres hinzufügen","manage.close":"Konto ausblenden","manage.use":"Weiter verwenden","manage.clean":"Konto löschen","manage.all":"Lokales Löschen des privaten Schlüssels und der Wiederherstellungsphrase des Kontos, zur Wiederherstellung der Daten erneut importieren","manage.longPassword":"Neues Passwort darf 50 Zeichen nicht überschreiten","manage.safety":"Sicherheit","manage.setting":"Wallet-Passworteinstellungen","manage.old":"Altes Passwort","manage.oldPassword":"Bitte altes Passwort eingeben","manage.oldError":"Eingegebenes Passwort stimmt nicht mit altem Passwort überein","manage.check":"Passwortsicherheitsüberprüfung","manage.newPassword":"Neues Passwort setzen","manage.again":"Bestätigung des neuen Passworts","manage.new":"Neues Passwort","manage.inputPassword":"Bitte neues Passwort eingeben","manage.againPassword":"Bitte Passwort erneut eingeben","manage.againNot":"Erneut eingegebenes Passwort stimmt nicht mit neuem Passwort überein","manage.success":"Passwort erfolgreich geändert","manage.phrase":"Seedphrase","manage.custody":"Bitte bewahren Sie Ihre Seedphrase sicher auf und teilen Sie sie NIEMALS mit anderen.","manage.show":"Seedphrase anzeigen","manage.hide":"Seedphrase ausblenden","manage.private":"Privater Schlüssel","manage.custodyKey":"Bitte bewahren Sie Ihren privaten Schlüssel sicher auf und teilen Sie ihn NIEMALS mit anderen.","manage.showPrivate":"Privaten Schlüssel anzeigen","manage.hidePrivate":"Privaten Schlüssel ausblenden","manage.language":"Sprache","manage.select":"Wählen Sie Ihre Sprache","manage.user":"Häufig gestellte Fragen & Benutzerhandbuch","manage.help":"Hilfe-Center","manage.about":"Über uns","manage.open":"Open-Source-Community","manage.current":"Leistungsbilanz","user.dosuccess":"Erfolgreiche Operation","user.chain":"Transaktion in Bearbeitung ......","user.tips":"Tipps","user.urgentpay":"Dringende Gebühr (IBXC) = Bezahlte Vermögenswerte / (Nachverfolgungsverhältnis * Genauigkeit)","user.tokensave":"Token existiert bereits","type.package":"Verpackungsgebühr","type.taxation":"Steuer","type.trade":"Überweisung","type.tokenTrade":"Token-Übertragung","type.create":"Wallet erstellen","type.iname":"iName erstellen","type.issue":"Token ausgeben","type.coin":"Zerstörte Token-Menge","type.private":"Stiftung","type.foundation":"Eco-Partner","type.team":"F&E-Team","type.partner":"Privater Verkauf 1","type.nft":"NFT-Staking-Belohnung","type.mining":"Neues Staking","type.pledge":"Staked-Betrag abheben","type.exchange":"Einbehaltung von Rücknahmen","type.burning":"Verbrannt","type.detele":"Kontolöschung","type.paid":"Einzahlung durch Kandidatenknoten bezahlt","type.nodes":"Einzahlung im Namen des Kandidatenknotens bezahlt","type.voting":"Abstimmung für Kandidatenknoten","type.deposit":"Einzahlung des Kandidatenknotens abheben","type.withdrawal":"Stimme für Kandidatenknoten zurückziehen","type.textcoin":"Testmünzen erhalten","type.privateye":"Privater Verkauf 2","type.offering":"Öffentlicher Verkauf","type.num":"Restliche Mittel aus Privatplatzierung 1 erhalten","type.child":"Unterkontenabzug","type.issuance":"Zusätzliche Ausgabe","type.twonum":"Restliche Mittel aus Privatplatzierung 2 erhalten","type.remove":"Rückerstattung nach Entfernung von Unterkonten durch das Team","type.airsend":"Airdrop-Verteilungsmenge","type.aristack":"Beschleunigen Sie die Freischaltung der Staking-Menge","type.getair":"Airdrop erhalten","type.getstack":"Airdrop-Staking erhalten","type.locking":"Airdrop-Sperrbetrag","type.createiname":"iName erstellen","type.cross":"Cross-Chain-Prägung","type.crosslock":"Cross-Chain-Abhebesperre","type.destruction":"Cross-Chain-Vernichtung"},Vt="Cerrar sesión",Ot={exit:Vt,"nav.assets":"Activos","nav.manage":"Gestión de billeteras","nav.colorSystem":"Sistema de color","nav.record":"Historial de transacciones","nav.load":"Cargando","nav.drop":"Desliza hacia abajo para cargar más","nav.nomore":"No hay más","login.sign":"Iniciar sesión","login.name":"Nombre de la billetera multifirma","login.address":"Dirección de cuenta","login.password":"Contraseña local","login.know":"He leído y acepto la Política de Privacidad.","login.create":"Crear","login.load":"Cargar billetera","login.import":"Importar billetera","login.back":"Atrás","login.empty":"El nombre de la billetera de múltiples firmas no puede estar vacío","login.maxName":"El nombre de la billetera de múltiples firmas no puede superar los 16 caracteres","login.maxpw":"La contraseña local no puede exceder 50 caracteres","login.setting":"Crear y configurar billetera multi-firma","login.safety":"Multi-seguridad, usa billetera MultiKey para lograr gestión descentralizada de cuentas","login.wallet":"Crear nueva cartera","login.base":"Crea una billetera descentralizada que permita la gestión de firmas de múltiples cuentas según tus necesidades. Necesitas pagar una pequeña comisión de Gas por esta cuenta.","login.new":"Nuevo","login.had":"Cargar cartera","login.multi":"Si ya tienes una billetera MultiKey y quieres continuar usándola en una nueva cuenta, puedes seguir usándola verificándola con tu clave privada o frase mnemónica.","login.loading":"Cargar","login.use":"Usa tu frase mnemónica o clave privada existente para restaurar la billetera multi-clave. Te ayudaremos a obtener los datos históricos en cadena, y se mostrarán en los ítems de funciones correspondientes, así no perderás esta información.","login.word":"Importar mediante frase mnemónica","login.restore":"Importar mediante frase mnemónica puede restaurar todas las cuentas bajo esta frase","login.private":"Importar mediante clave privada","login.text":"Usa tu clave privada para importar la cuenta multi-firma que necesitas","login.cancel":"Cancelar","login.confirm":"Confirmar","login.start":"Iniciar importación","login.privateEmpty":"La clave privada no puede estar vacía","login.privateError":"La clave privada es incorrecta","login.mnemonicEmpty":"La frase mnemónica no puede estar vacía","login.mnemonicError":"La frase mnemónica es incorrecta","login.no":"No hay datos aún","login.delete":"Eliminar cuenta","login.deleteAccount":"¿Estás seguro de que quieres eliminar la cuenta {{name}}?","login.cody":"Copiado exitosamente","login.incorrect":"La contraseña de seguridad local es incorrecta","login.select":"Seleccione el nombre de la billetera multifirma","login.pwEmpty":"La contraseña de seguridad local no puede estar vacía","login.accountName":"Nombre de la cuenta","login.continue":"Usar billetera multifirma","login.account":"Crear nueva cuenta","login.checkKnow":"Por favor, marque que comprende y acepta la política de privacidad","login.loacl":"Cuenta","login.now":"Cuenta en uso actualmente","login.previous":"Paso anterior","home.create":"Crear nuevo","home.details":"Detalles del token","home.limit":"La entrada no puede exceder {{num}} direcciones de firma","home.signtip":"Establezca al menos 2 direcciones de firma, no puede exceder el número total de firmas","home.newBuilt":"Crear nuevo","home.multi":"Billetera multi-firma","home.receive":"Recibir","home.transfer":"Transferir","home.assets":"Activos","home.setting":"Configurar billetera MultiKey","home.des":"Configurar cuenta de gestión y permisos para la billetera MultiKey, que no se pueden modificar después del despliegue en cadena.","home.team":"Nombre de equipo","home.name":"Necesitas nombrar tu billetera para un rápido reconocimiento por ti o los miembros de tu equipo durante la firma.","home.inputName":"Por favor, ingresa el nombre del equipo","home.nameLength":"El nombre del equipo no puede exceder 20 caracteres","home.sign":"Dirección de firma {{num}}","home.inputSign":"Por favor, ingresa la dirección de firma","home.addreeType":"Por favor, ingresa una dirección en el formato 0000-0000-0000-0000-0000","home.save":"Dirección ya existente","home.new":"Nueva dirección de firma","home.num":"Establecer umbral de firma de transacción","home.inputNum":"Por favor, ingresa el umbral de firma de transacción","home.min":"Se requieren mínimo 2 firmas","home.delete":"Eliminar","home.block":"ID de bloque","home.hash":"Hash de transacción","home.address":"Dirección","home.date":"Fecha","home.type":"Tipo","home.contract":"Contrato","home.amount":"Cantidad","home.check":"Verificación de contraseña","home.balance":"Saldo","home.send":"Enviar","home.recipient":"Por favor, ingresa la dirección del destinatario","home.count":"Cantidad","home.dir":"Por favor, ingresa la cantidad a enviar","home.maxZero":"La cantidad ingresada debe ser mayor que cero","home.maxAmount":"La cantidad a enviar debe ser menor que el máximo de {{num}} {{tokenSymbol}}.","home.gas":"Comisión de Gas","home.comment":"Memo","home.commentInput":"Por favor, ingresa un memo","home.expedit":"Comisión acelerada (opcional)","home.expeditInput":"Por favor, ingresa la comisión acelerada","home.expedited":"Comisión acelerada","home.examine":"Ver","home.initiate":"Iniciar una transferencia","home.achieve":"Recibido de {{to}}","home.wait":"Esperando firma","home.finish":"Firma completada y ejecutada","home.noMessage":"No hay mensajes nuevos","home.second":"Hace segundos","home.messageDetails":"Detalles del mensaje","home.notice":"Notificación de firma","home.current":"Número de firma actual","home.tactics":"Umbral de firma","home.rejected":"Rechazado","home.approved":"Aprobado","home.explore":"Verificar en el explorador de blockchain","home.time":"Hora","home.content":"Contenido","home.signnum":"Número de firma","home.collection":"Por favor, ingresa la cantidad a recibir","home.saveqr":"Guardar código QR","home.cody":"Copiar link de recepción","home.give":"Compartir a...","home.over":"No puede exceder {{num}} direcciones","home.add":"Agregar token","home.continue":"Continuar","home.build":"Crear","home.sure":"Confirmar dirección de billetera de firmas múltiples","home.mistake":"Por favor, confirme la información de su billetera de firmas múltiples para evitar errores","home.mulAddress":"Dirección de firmas múltiples","home.signAll":"{{num}} de {{length}} firmas de transacción","home.noGas":"No hay suficiente tarifa de GAS","home.maxExpedited":"La cantidad de cargo por urgencia debe ser menor que la cantidad máxima {{num}} {{tokenSymbol}}","home.inputAccount":"Por favor ingrese el nombre de la cuenta","home.iName":"Por favor ingrese iName","home.nickname":"iName no cumple con las reglas","manage.import":"Exportar","manage.safety":"Seguridad","manage.setting":"Configuración de contraseña de billetera","manage.old":"Contraseña antigua","manage.oldPassword":"Por favor, ingresa la contraseña antigua","manage.oldError":"La contraseña ingresada no coincide con la antigua","manage.check":"Verificación de seguridad de contraseña","manage.newPassword":"Establecer nueva contraseña","manage.again":"Verificación de nueva contraseña","manage.new":"Nueva contraseña","manage.inputPassword":"Por favor, ingresa la nueva contraseña","manage.againPassword":"Por favor, reingresa la contraseña","manage.againNot":"La contraseña reingresada no coincide con la nueva","manage.success":"Contraseña cambiada exitosamente","manage.phrase":"Frase mnemónica","manage.custody":"Por favor, MANTÉN tu frase mnemónica segura y NUNCA la compartas con nadie.","manage.show":"Mostrar frase mnemónica","manage.hide":"Ocultar frase mnemónica","manage.private":"Clave privada","manage.custodyKey":"Por favor, MANTÉN tu clave privada segura y NUNCA la compartas con nadie.","manage.showPrivate":"Mostrar clave privada","manage.hidePrivate":"Ocultar clave privada","manage.language":"Idioma","manage.select":"Selecciona tu idioma","manage.user":"Preguntas frecuentes y manual de usuario","manage.help":"Centro de ayuda","manage.about":"Sobre nosotros","manage.open":"Comunidad de código abierto","manage.longPassword":"La nueva contraseña no puede exceder los 50 caracteres","manage.add":"Agregar nueva cuenta","manage.create":"Por favor, complete la creación de la nueva cuenta antes de agregar","manage.close":"Ocultar cuenta","manage.use":"Continuar usando","manage.clean":"Borrar cuenta","manage.all":"Borrar localmente la clave privada y la frase semilla de la cuenta, si necesita recuperar los datos puede importarlos de nuevo","manage.current":"Cuenta actual","user.dosuccess":"Operación exitosa","user.chain":"Transacción en proceso ......","user.tips":"Consejos","user.urgentpay":"Tarifa urgente (IBXC) = Activos pagados / (ratio de seguimiento * precisión)","user.tokensave":"El token ya existe","type.package":"Tarifa de empaquetado","type.taxation":"Impuesto","type.trade":"Transferencia","type.tokenTrade":"Transferencia de tokens","type.create":"Crear billetera","type.iname":"Crear iName","type.issue":"Emitir token","type.coin":"Cantidad de tokens destruidos","type.private":"Fundación","type.foundation":"Socios ecológicos","type.team":"Equipo de I+D","type.partner":"Ventas privadas 1","type.nft":"Recompensa de apuesta NFT","type.mining":"Nueva apuesta","type.pledge":"Retirar cantidad apostada","type.exchange":"Redención de retención","type.burning":"Quemado","type.detele":"Eliminación de cuenta","type.paid":"Depósito pagado por nodo candidato","type.nodes":"Depósito pagado en nombre del nodo candidato","type.voting":"Votación de nodo candidato","type.deposit":"Retirar depósito de nodo candidato","type.withdrawal":"Retirar voto para nodo candidato","type.textcoin":"Obtener monedas de prueba","type.privateye":"Ventas privadas 2","type.offering":"Ventas públicas","type.num":"Recibir fondos restantes de Colocación Privada 1","type.child":"Deducción de subcuenta","type.issuance":"Emisión adicional","type.twonum":"Recibir fondos restantes de Colocación Privada 2","type.remove":"Reembolsos después de que el equipo elimine las subcuentas","type.airsend":"Cantidad de distribución de airdrop","type.aristack":"Cantidad de aceleración de desbloqueo de stake","type.getair":"Recibir airdrop","type.getstack":"Recibir stake de airdrop","type.locking":"Cantidad de bloqueo de airdrop","type.createiname":"Crear iName","type.cross":"Acuñación entre cadenas","type.crosslock":"Bloqueo de extracción entre cadenas","type.destruction":"Quema entre cadenas"},Qt="Se déconnecter",Ut={exit:Qt,"nav.assets":"Actifs","nav.manage":"Gestion de portefeuille","nav.colorSystem":"Système de couleurs","nav.record":"Historique des transactions","nav.load":"Chargement en cours","nav.drop":"Faites défiler vers le bas pour charger plus","nav.nomore":"Plus de résultats","login.sign":"Connexion","login.name":"Nom du portefeuille multi-signatures","login.address":"Adresse du compte","login.password":"Mot de passe local","login.know":"J'ai lu et j'accepte la politique de confidentialité.","login.create":"Créer","login.load":"Charger le portefeuille","login.import":"Importer le portefeuille","login.back":"Retour","login.empty":"Le nom du portefeuille multi-signatures ne peut pas être vide","login.maxName":"Le nom du portefeuille multi-signatures ne peut pas dépasser 16 caractères","login.maxpw":"Le mot de passe local ne peut pas dépasser 50 caractères","login.setting":"Créer et configurer le portefeuille Multi-Sig","login.safety":"Sécurité multi-signatures, utilisez le portefeuille MultiKey pour une gestion décentralisée des comptes","login.wallet":"Créer un Nouveau Portefeuille","login.base":"Créez un portefeuille décentralisé prenant en charge la gestion des signatures multi-comptes en fonction de vos besoins. Vous devez payer une petite quantité de frais de Gas pour ce compte.","login.new":"Créer","login.had":"Charger un Portefeuille","login.multi":"Si vous possédez déjà un portefeuille MultiKey et que vous souhaitez continuer à l'utiliser dans un nouveau compte, vous pouvez le faire en le vérifiant à l'aide de votre clé privée ou de votre phrase de récupération.","login.loading":"Charger","login.use":"Utilisez votre phrase de récupération ou votre clé privée existante pour restaurer le portefeuille multi-signatures. Nous vous aiderons à récupérer les données historiques sur la chaîne, et elles seront affichées dans les éléments de fonction correspondants, afin que vous ne perdiez pas ces informations.","login.word":"Importer via la phrase de récupération","login.restore":"L'importation via une phrase de récupération permet de restaurer tous les comptes associés à cette phrase","login.private":"Importer via une clé privée","login.text":"Utilisez votre clé privée pour importer le compte multi-signatures dont vous avez besoin","login.cancel":"Annuler","login.confirm":"Confirmer","login.start":"Démarrer l'importation","login.privateEmpty":"La clé privée ne peut pas être vide","login.privateError":"Clé privée incorrecte","login.mnemonicEmpty":"La phrase de récupération ne peut pas être vide","login.mnemonicError":"Phrase de récupération incorrecte","login.no":"Aucune donnée pour le moment","login.delete":"Supprimer le compte","login.deleteAccount":"Êtes-vous sûr de vouloir supprimer le compte {{name}} ?","login.cody":"Copié avec succès","login.incorrect":"Le mot de passe de sécurité local est incorrect","login.select":"Veuillez choisir le nom du portefeuille multi-signatures","login.pwEmpty":"Le mot de passe de sécurité local ne peut pas être vide","login.accountName":"Nom du compte","login.continue":"Utiliser un portefeuille multi-signature","login.account":"Créer un nouveau compte","login.checkKnow":"Veuillez cocher pour comprendre et accepter la politique de confidentialité","login.loacl":"Compte","login.now":"Compte actuellement utilisé","login.previous":"Étape précédente","home.newBuilt":"Nouveau","home.multi":"Portefeuille Multi-Sig","home.receive":"Recevoir","home.transfer":"Transférer","home.assets":"Actifs","home.setting":"Configurer le portefeuille MultiKey","home.des":"Définissez le compte de gestion et les autorisations pour le portefeuille MultiKey, qui ne peuvent être modifiés après le déploiement sur la chaîne.","home.team":"Nom de l'équipe","home.name":"Vous devez nommer votre portefeuille pour une reconnaissance rapide par vous-même ou par les membres de l'équipe lors de la signature.","home.inputName":"Veuillez saisir le nom de l'équipe","home.nameLength":"Le nom de l'équipe ne peut pas dépasser 20 caractères","home.sign":"Adresse de signature {{num}}","home.inputSign":"Veuillez saisir l'adresse de signature","home.addreeType":"Veuillez saisir une adresse au format 0000-0000-0000-0000-0000","home.save":"Adresse déjà existante","home.new":"Nouvelle adresse de signature","home.num":"Définir le seuil de signature des transactions","home.inputNum":"Veuillez saisir le seuil de signature des transactions","home.min":"Minimum de 2 signatures requises","home.delete":"Supprimer","home.block":"Identifiant du bloc","home.hash":"Hash de la transaction","home.address":"Adresse","home.date":"Date","home.type":"Type","home.contract":"Contrat","home.amount":"Montant","home.check":"Vérification du mot de passe","home.balance":"Solde","home.send":"Envoyer à","home.recipient":"Veuillez saisir l'adresse du destinataire","home.count":"Montant","home.dir":"Veuillez saisir le montant à envoyer","home.maxZero":"Le montant saisi doit être supérieur à zéro","home.maxAmount":"Le montant envoyé doit être inférieur au maximum de {{num}} {{tokenSymbol}}.","home.gas":"Frais de Gas","home.comment":"Mémo","home.commentInput":"Veuillez saisir un mémo","home.expedit":"Frais accélérés (facultatif)","home.expeditInput":"Veuillez saisir les frais accélérés","home.expedited":"Frais accélérés","home.examine":"Voir","home.initiate":"Initier un transfert","home.achieve":"Reçu de {{to}}","home.wait":"En attente de signature","home.finish":"Signature terminée et exécutée","home.noMessage":"Aucun nouveau message","home.second":"Il y a {{time}} secondes","home.messageDetails":"Détails du message","home.notice":"Notification de signature","home.current":"Nombre actuel de signatures","home.tactics":"Seuil de signature","home.rejected":"Rejeté","home.approved":"Approuvé","home.explore":"Vérifier sur l'explorateur de blockchain","home.time":"Heure","home.content":"Contenu","home.signnum":"Nombre de signatures","home.collection":"Veuillez saisir le montant à recevoir","home.saveqr":"Enregistrer le code QR","home.cody":"Copier le lien de réception","home.give":"Partager vers...","home.create":"Nouveau","home.signtip":"Configurez au moins 2 adresses de signature, sans dépasser le nombre total de signatures","home.details":"Détails du jeton","home.limit":"L'entrée ne peut pas dépasser {{num}} adresses de signature","home.over":"Ne peut pas dépasser {{num}} adresses","home.add":"Ajouter un jeton","home.continue":"Continuer","home.build":"Créer","home.sure":"Confirmer l'adresse du portefeuille multi-signatures","home.mistake":"Veuillez confirmer les informations de votre portefeuille multi-signatures pour éviter toute erreur","home.mulAddress":"Adresse multi-signatures","home.signAll":"{{num}} sur {{length}} signatures de transaction requises","home.noGas":"Pas assez de frais GAS","home.maxExpedited":"Le montant des frais supplémentaires doit être inférieur au montant maximum {{num}} {{tokenSymbol}}","home.inputAccount":"Veuillez saisir le nom du compte","home.iName":"Veuillez saisir le iName","home.nickname":"Le iName ne correspond pas aux règles","manage.import":"Exporter","manage.safety":"Sécurité","manage.setting":"Paramètres du mot de passe du portefeuille","manage.old":"Ancien mot de passe","manage.oldPassword":"Veuillez saisir l'ancien mot de passe","manage.oldError":"Le mot de passe saisi ne correspond pas à l'ancien mot de passe","manage.check":"Vérification de la sécurité du mot de passe","manage.newPassword":"Définir un nouveau mot de passe","manage.again":"Vérification du nouveau mot de passe","manage.new":"Nouveau mot de passe","manage.inputPassword":"Veuillez saisir le nouveau mot de passe","manage.againPassword":"Veuillez ressaisir le mot de passe.","manage.againNot":"Le mot de passe saisi ne correspond pas au nouveau mot de passe","manage.success":"Mot de passe modifié avec succès","manage.phrase":"Phrase de récupération","manage.custody":"CONSERVEZ SOIGNEUSEMENT votre phrase de récupération et ne la partagez JAMAIS avec qui que ce soit.","manage.show":"Afficher la phrase de récupération","manage.hide":"Masquer la phrase de récupération","manage.private":"Clé privée","manage.custodyKey":"CONSERVEZ SOIGNEUSEMENT votre clé privée et ne la partagez JAMAIS avec qui que ce soit.","manage.showPrivate":"Afficher la clé privée","manage.hidePrivate":"Masquer la clé privée","manage.language":"Langue","manage.select":"Sélectionnez votre langue","manage.user":"FAQ et manuel d'utilisation","manage.help":"Centre d'aide","manage.about":"À propos de nous","manage.open":"Communauté Open Source","manage.add":"Ajouter un nouveau compte","manage.create":"Veuillez terminer la création du nouveau compte avant d'ajouter","manage.close":"Masquer le compte","manage.use":"Continuer à utiliser","manage.longPassword":"Le nouveau mot de passe ne peut pas dépasser 50 caractères","manage.clean":"Effacer le compte","manage.all":"Effacer localement la clé privée et la phrase mnémotechnique du compte, vous pouvez les réimporter pour restaurer les données","manage.current":"Compte actuel","user.dosuccess":"Opération réussie","user.chain":"Transaction en cours de traitement ......","user.tips":"Conseils","user.urgentpay":"Frais urgents (IBXC) = Actifs payés / (ratio de suivi * précision)","user.tokensave":"Le jeton existe déjà","type.package":"Frais d'emballage","type.taxation":"Taxe","type.trade":"Transfert","type.tokenTrade":"Transfert de jeton","type.create":"Créer un portefeuille","type.iname":"Créer un iName","type.issue":"Émettre un jeton","type.coin":"Montant de jeton détruit","type.private":"Fondation","type.foundation":"Eco-Partenaires","type.team":"Équipe R&D","type.partner":"Ventes privées 1","type.nft":"Récompense de mise en jeu NFT","type.mining":"Nouvelle mise en jeu","type.pledge":"Retrait du montant mis en jeu","type.exchange":"Retenue de rachat","type.burning":"Brûlé","type.detele":"Suppression de compte","type.paid":"Dépôt payé par le nœud candidat","type.nodes":"Dépôt payé au nom du nœud candidat","type.voting":"Vote pour le nœud candidat","type.deposit":"Retrait du dépôt du nœud candidat","type.withdrawal":"Retrait du vote pour le nœud candidat","type.textcoin":"Obtenir des jetons de test","type.privateye":"Ventes privées 2","type.offering":"Ventes publiques","type.num":"Recevoir les fonds restants de la placement privé 1","type.child":"Déduction du sous-compte","type.issuance":"Émission supplémentaire","type.twonum":"Recevoir les fonds restants de la placement privé 2","type.remove":"Remboursement après la suppression des sous-comptes par l'équipe","type.airsend":"Montant de distribution de largage aérien","type.aristack":"Accélérer le déverrouillage du montant mis en jeu","type.getair":"Recevoir une distribution aérienne","type.getstack":"Recevoir une distribution aérienne en mise en jeu","type.locking":"Montant de verrouillage de la distribution aérienne","type.createiname":"Créer un iName","type.cross":"Frappe inter-chaînes","type.crosslock":"Verrouillage de retrait inter-chaînes","type.destruction":"Brûlage inter-chaînes"},Ht="Esci",jt={"nav.assets":"Asset","nav.manage":"Gestione portafoglio","nav.colorSystem":"Sistema di colori","nav.record":"Cronologia delle transazioni","nav.load":"Caricamento","nav.drop":"Tira giù per caricare altro","nav.nomore":"Niente altro","login.sign":"Accedi","login.name":"Nome del portafoglio multi-firma","login.address":"Indirizzo account","login.password":"Password locale","login.know":"Ho letto e accettato l'informativa sulla privacy.","login.create":"Crea","login.load":"Carica portafoglio","login.import":"Importa portafoglio","login.back":"Indietro","login.empty":"Il nome del portafoglio multi-firma non può essere vuoto","login.maxName":"Il nome del portafoglio multi-firma non può superare i 16 caratteri","login.maxpw":"La password locale non può superare 50 caratteri","login.setting":"Crea e configura portafoglio multi-firma","login.safety":"Multi-sicurezza, usa portafoglio multi-chiave per gestione account decentralizzata","login.wallet":"Crea nuovo portafoglio","login.base":"Crea un portafoglio decentralizzato che supporta la gestione delle firme multi-account in base alle tue esigenze. Devi pagare una piccola commissione Gas per questo account.","login.new":"Nuovo","login.had":"Carica portafoglio","login.multi":"Se hai già un portafoglio multi-chiave e vuoi continuare a usarlo in un nuovo account, puoi continuare a usarlo verificandolo con la tua chiave privata o frase mnemoica.","login.loading":"Carica","login.use":"Usa la tua frase mnemoica o chiave privata esistente per ripristinare il portafoglio multi-chiave. Ti aiuteremo a ottenere i dati storici on-chain, e verranno visualizzati nelle voci di funzione corrispondenti, quindi non perderai queste informazioni.","login.word":"Importa tramite frase mnemoica","login.restore":"Importando tramite frase mnemoica puoi ripristinare tutti gli account sotto questa frase","login.private":"Importa tramite chiave privata","login.text":"Usa la tua chiave privata per importare l'account multi-firma di cui hai bisogno","login.cancel":"Annulla","login.confirm":"Conferma","login.start":"Inizia importazione","login.privateEmpty":"La chiave privata non può essere vuota","login.privateError":"Chiave privata non corretta","login.mnemonicEmpty":"La frase seed non può essere vuota","login.mnemonicError":"Frase seed non corretta","login.no":"Ancora nessun dato","login.delete":"Elimina account","login.deleteAccount":"Sei sicuro di voler eliminare l'account {{name}}?","login.cody":"Copiato con successo","login.incorrect":"Password di sicurezza locale non corretta","login.select":"Si prega di selezionare il nome del portafoglio multi-firma","login.pwEmpty":"La password di sicurezza locale non può essere vuota","login.accountName":"Nome dell'account","login.continue":"Usa portafoglio multi-firma","login.account":"Crea nuovo account","login.checkKnow":"Si prega di spuntare per comprendere e accettare l'informativa sulla privacy","login.loacl":"Account","login.now":"Account attualmente in uso","login.previous":"Étape précédente","home.newBuilt":"Nuovo","home.multi":"Portafoglio multi-firma","home.receive":"Ricevi","home.transfer":"Trasferisci","home.assets":"Asset","home.setting":"Imposta portafoglio multi-chiave","home.des":"Configura account di gestione e permessi per il portafoglio multi-chiave, che non possono essere modificati dopo la distribuzione on-chain.","home.team":"Nome team","home.name":"Devi dare un nome al tuo portafoglio per un riconoscimento rapido da te o dai membri del team durante la firma.","home.inputName":"Inserisci il nome del team","home.nameLength":"Il nome del team non può superare 20 caratteri","home.sign":"Indirizzo firma {{num}}","home.inputSign":"Inserisci l'indirizzo firma","home.addreeType":"Inserisci un indirizzo nel formato 0000-0000-0000-0000-0000","home.save":"Indirizzo già esistente","home.new":"Nuovo indirizzo firma","home.num":"Imposta soglia firma transazione","home.inputNum":"Inserisci la soglia firma transazione","home.min":"Richieste minimo 2 firme","home.delete":"Elimina","home.block":"ID blocco","home.hash":"Hash transazione","home.address":"Indirizzo","home.date":"Data","home.type":"Tipo","home.contract":"Contratto","home.amount":"Importo","home.check":"Verifica password","home.balance":"Saldo","home.send":"Invia","home.recipient":"Inserisci l'indirizzo del destinatario","home.count":"Importo","home.dir":"Inserisci l'importo da inviare","home.maxZero":"L'importo inserito deve essere maggiore di zero","home.maxAmount":"L'importo da inviare deve essere inferiore al massimo {{num}} {{tokenSymbol}}.","home.gas":"Commissione gas","home.comment":"Memo","home.commentInput":"Inserisci memo","home.expedit":"Commissione rapida (opzionale)","home.expeditInput":"Inserisci commissione rapida","home.expedited":"Commissione rapida","home.examine":"Visualizza","home.initiate":"Avvia trasferimento","home.achieve":"Ricevuto da {{to}}","home.wait":"In attesa di firma","home.finish":"Firma completata ed eseguita","home.noMessage":"Nessun nuovo messaggio","home.second":"Secondi fa","home.messageDetails":"Dettagli messaggio","home.notice":"Notifica firma","home.current":"Numero firma corrente","home.tactics":"Soglia firma","home.rejected":"Rifiutato","home.approved":"Approvato","home.explore":"Controlla su blockchain explorer","home.time":"Ora","home.content":"Contenuto","home.signnum":"Numero firma","home.collection":"Inserisci l'importo da ricevere","home.saveqr":"Salva codice QR","home.cody":"Copia link di ricezione","home.give":"Condividi con...","home.create":"Nuovo","home.signtip":"Imposta almeno 2 indirizzi di firma, non può superare il numero totale di firme","home.details":"Dettagli del token","home.limit":"L'input non può superare {{num}} indirizzi di firma","home.over":"Non può superare {{num}} indirizzi","home.add":"Aggiungi gettone","home.continue":"Continua","home.build":"Creare","home.sure":"Conferma l'indirizzo del portafoglio multi-firma","home.mistake":"Si prega di confermare le informazioni del tuo portafoglio multi-firma per evitare errori","home.mulAddress":"Indirizzo multi-firma","home.signAll":"{{num}} a {{length}} firme per la transazione","home.noGas":"Non hai abbastanza GAS","home.maxExpedited":"L'importo della commissione prioritaria dovrebbe essere inferiore all'importo massimo di {{num}} {{tokenSymbol}}","home.inputAccount":"Inserisci il nome dell'account","home.iName":"Inserisci iName","home.nickname":"iName non è conforme alle regole","manage.import":"Esportare","manage.safety":"Sicurezza","manage.setting":"Impostazioni password portafoglio","manage.old":"Vecchia password","manage.oldPassword":"Inserisci vecchia password","manage.oldError":"La password inserita non corrisponde alla vecchia","manage.check":"Verifica sicurezza password","manage.newPassword":"Imposta nuova password","manage.again":"Verifica nuova password","manage.new":"Nuova password","manage.inputPassword":"Inserisci nuova password","manage.againPassword":"Reinserisci la password","manage.againNot":"La password reinserita non corrisponde alla nuova","manage.success":"Password cambiata con successo","manage.phrase":"Frase seed","manage.custody":"CUSTODISCI la tua frase seed in modo sicuro e NON condividerla MAI con nessuno.","manage.show":"Mostra frase seed","manage.hide":"Nascondi frase seed","manage.private":"Chiave privata","manage.custodyKey":"CUSTODISCI la tua chiave privata in modo sicuro e NON condividerla MAI con nessuno.","manage.showPrivate":"Mostra chiave privata","manage.hidePrivate":"Nascondi chiave privata","manage.language":"Lingua","manage.select":"Seleziona la lingua","manage.user":"Domande frequenti e manuale utente","manage.help":"Centro assistenza","manage.about":"Informazioni su di noi","manage.open":"Comunità open source","manage.longPassword":"La nuova password non può superare i 50 caratteri","manage.add":"Aggiungi nuovo account","manage.create":"Si prega di completare la creazione del nuovo account prima di aggiungere","manage.close":"Nascondi account","manage.use":"Continua a usare","manage.current":"Conto corrente",exit:Ht,"manage.clean":"Cancella account","manage.all":"Cancella localmente le chiavi private e le frasi di recupero dell'account, se necessario i dati possono essere importati di nuovo","user.dosuccess":"Operazione riuscita","user.chain":"Transazione in corso ......","user.tips":"Suggerimenti","user.urgentpay":"Tariffa urgente (IBXC) = Asset pagati / (rapporto di follow-up * precisione)","user.tokensave":"Token esiste già","type.package":"Tariffa di imballaggio","type.taxation":"Imposta","type.trade":"Trasferimento","type.tokenTrade":"Trasferimento token","type.create":"Crea portafoglio","type.iname":"Crea iName","type.issue":"Emissione token","type.coin":"Importo token distrutto","type.private":"Fondazione","type.foundation":"Eco-Partners","type.team":"Team di R&S","type.partner":"Private Sales 1","type.nft":"Ricompensa NFT Staking","type.mining":"Nuovo staking","type.pledge":"Ritiro importo staked","type.exchange":"Rimborso ritenzione","type.burning":"Bruciato","type.detele":"Rimozione account","type.paid":"Deposito pagato dal nodo candidato","type.nodes":"Deposito pagato per conto del nodo candidato","type.voting":"Votazione nodo candidato","type.deposit":"Ritiro deposito del nodo candidato","type.withdrawal":"Ritiro voto per il nodo candidato","type.textcoin":"Ottenere monete di test","type.privateye":"Private Sales 2","type.offering":"Vendite pubbliche","type.num":"Ricevi i fondi rimanenti da Private Placement 1","type.child":"Deducente sub-account","type.issuance":"Emissione aggiuntiva","type.twonum":"Ricevi i fondi rimanenti da Private Placement 2","type.remove":"Rimborsi dopo la rimozione del sub-account da parte del team","type.airsend":"Importo distribuito airdrop","type.aristack":"Importo di sblocco accelerato stake","type.getair":"Ricevi airdrop","type.getstack":"Ricevi stake airdrop","type.locking":"Importo di lock-up airdrop","type.createiname":"Crea iName","type.cross":"Conio intercatena","type.crosslock":"Blocco prelievo intercatena","type.destruction":"Burn intercatena"},Yt="Sair",Wt={"nav.assets":"Ativos","nav.manage":"Gestão de Carteiras","nav.colorSystem":"Sistema de Cores","nav.record":"Histórico de Transações","nav.load":"Carregando","nav.drop":"Puxe para baixo para carregar mais","nav.nomore":"Não há mais","login.sign":"Iniciar Sessão","login.name":"Nome da carteira multissinatura","login.address":"Endereço da Conta","login.password":"Senha Local","login.know":"Li e concordo com a Política de Privacidade.","login.create":"Criar","login.load":"Carregar Carteira","login.import":"Importar Carteira","login.back":"Voltar","login.empty":"O nome da carteira de múltiplas assinaturas não pode estar vazio","login.maxName":"O nome da carteira de múltiplas assinaturas não pode ter mais de 16 caracteres","login.maxpw":"A senha local não pode exceder 50 caracteres","login.setting":"Criar e Configurar Carteira Multi-Assinatura","login.safety":"Multi-Segurança, Use a Carteira MultiKey para Obter Gerenciamento Descentralizado de Contas","login.wallet":"Criar nova carteira","login.base":"Crie uma carteira descentralizada que suporte o gerenciamento de assinaturas de múltiplas contas com base em suas necessidades. Você precisa pagar uma pequena taxa de Gas para esta conta.","login.new":"Novo","login.had":"Carregar carteira","login.multi":"Se você já possui uma carteira MultiKey e deseja continuar a usá-la em uma nova conta, você pode continuar usando-a verificando com sua chave privada ou frase mnemônica.","login.loading":"Carregar","login.use":"Use sua frase mnemônica ou chave privada existente para restaurar a carteira multi-chave. Nós o ajudaremos a obter os dados históricos On-Chain, e eles serão exibidos nos respectivos itens de funções, para que você não perca essas informações.","login.word":"Importar via Frase Mnemônica","login.restore":"A importação via frase mnemônica pode restaurar todas as contas sob essa frase","login.private":"Importar via Chave Privada","login.text":"Use sua chave privada para importar a conta multi-assinatura de que precisa","login.cancel":"Cancelar","login.confirm":"Confirmar","login.start":"Iniciar Importação","login.privateEmpty":"A chave privada não pode ficar vazia","login.privateError":"A chave privada está incorreta","login.mnemonicEmpty":"A frase semente não pode ficar vazia","login.mnemonicError":"A frase semente está incorreta","login.no":"Ainda não há dados","login.delete":"Excluir Conta","login.deleteAccount":"Tem certeza de que deseja excluir a conta {{name}}?","login.cody":"Copiado com sucesso","login.incorrect":"Senha de segurança local incorreta","login.select":"Por favor, escolha o nome da carteira multissinatura","login.pwEmpty":"A senha de segurança local não pode estar vazia","login.accountName":"Nome da conta","login.continue":"Usar carteira multi-assinatura","login.account":"Criar nova conta","login.checkKnow":"Por favor, marque para entender e aceitar a política de privacidade","login.loacl":"Conta","login.now":"Conta em uso no momento","login.previous":"Passo anterior","home.newBuilt":"Criar Novo","home.multi":"Carteira Multi-Assinatura","home.receive":"Receber","home.transfer":"Transferir","home.assets":"Ativos","home.setting":"Configurar Carteira MultiKey","home.des":"Configure a conta de gerenciamento e permissões para a carteira MultiKey, que não poderão ser modificadas após a implantação On-Chain.","home.team":"Nome da Equipe","home.name":"Você precisa nomear sua carteira para rápido reconhecimento por você ou membros da equipe durante a assinatura.","home.inputName":"Por favor, insira o nome da equipe","home.nameLength":"O nome da equipe não pode exceder 20 caracteres","home.sign":"Endereço de Assinatura {{num}}","home.inputSign":"Por favor, insira o endereço de assinatura","home.addreeType":"Por favor, insira um endereço no formato 0000-0000-0000-0000-0000","home.save":"Endereço já existe","home.new":"Novo Endereço de Assinatura","home.num":"Definir limite de assinaturas de transação","home.inputNum":"Por favor, insira o limite de assinaturas de transação","home.min":"Mínimo de 2 assinaturas requeridas","home.delete":"Excluir","home.block":"ID do Bloco","home.hash":"Hash da Transação","home.address":"Endereço","home.date":"Data","home.type":"Tipo","home.contract":"Contrato","home.amount":"Quantidade","home.check":"Verificação de Senha","home.balance":"Saldo","home.send":"Enviar","home.recipient":"Por favor, insira o endereço de destino","home.count":"Quantidade","home.dir":"Por favor, insira a quantidade a enviar","home.maxZero":"A quantidade inserida deve ser maior que zero","home.maxAmount":"A quantidade a enviar deve ser menor que o máximo de {{num}} {{tokenSymbol}}.","home.gas":"Taxa de Gas","home.comment":"Memorando","home.commentInput":"Por favor, insira um memorando","home.expedit":"Taxa Acelerada (Opcional)","home.expeditInput":"Por favor, insira a taxa acelerada","home.expedited":"Taxa Acelerada","home.examine":"Ver","home.initiate":"Iniciar uma Transferência","home.achieve":"Recebido de {{to}}","home.wait":"Aguardando Assinatura","home.finish":"Assinatura Concluída e Executada","home.noMessage":"Sem novas mensagens","home.second":"Segundos Atrás","home.messageDetails":"Detalhes da Mensagem","home.notice":"Notificação de Assinatura","home.current":"Número de Assinatura Atual","home.tactics":"Limite de Assinatura","home.rejected":"Rejeitado","home.approved":"Aprovado","home.explore":"Verificar no explorador de blockchain","home.time":"Hora","home.content":"Conteúdo","home.signnum":"Número de Assinatura","home.collection":"Por favor, insira a quantidade a receber","home.saveqr":"Salvar Código QR","home.cody":"Copiar Link de Recebimento","home.give":"Compartilhar para...","home.details":"Detalhes do token","home.create":"Criar Novo","home.signtip":"Configure pelo menos 2 endereços de assinatura, não pode exceder o número total de assinaturas","home.limit":"A entrada não pode exceder {{num}} endereços de assinatura","home.over":"Não pode exceder {{num}} endereços","home.add":"Adicionar token","home.continue":"Continuar","home.build":"Criar","home.sure":"Confirmar endereço de carteira multi-sig","home.mistake":"Por favor, confirme as informações da sua carteira multi-sig para evitar erros","home.mulAddress":"Endereço Multi-sig","home.signAll":"{{num}} de {{length}} assinaturas de transação necessárias","home.noGas":"Não há GAS suficiente","home.maxExpedited":"A quantidade da taxa de urgência deve ser inferior à quantidade máxima de {{num}} {{tokenSymbol}}","home.inputAccount":"Por favor, insira o nome da conta","home.iName":"Por favor, insira iName","home.nickname":"iName não está de acordo com as regras","manage.import":"Exportar","manage.safety":"Segurança","manage.setting":"Configurações de Senha da Carteira","manage.old":"Senha Antiga","manage.oldPassword":"Por favor, insira a senha antiga","manage.oldError":"A senha inserida não corresponde à antiga","manage.check":"Verificação de Segurança de Senha","manage.newPassword":"Definir Nova Senha","manage.again":"Verificação da Nova Senha","manage.new":"Nova Senha","manage.inputPassword":"Por favor, insira a nova senha","manage.againPassword":"Por favor, insira a senha novamente","manage.againNot":"A senha reinserida não corresponde à nova senha","manage.success":"Senha alterada com sucesso","manage.phrase":"Frase Semente","manage.custody":"Por favor, MANTENHA sua frase semente segura e NUNCA a compartilhe com ninguém.","manage.show":"Mostrar Frase Semente","manage.hide":"Ocultar Frase Semente","manage.private":"Chave Privada","manage.custodyKey":"Por favor, MANTENHA sua chave privada segura e NUNCA a compartilhe com ninguém.","manage.showPrivate":"Mostrar Chave Privada","manage.hidePrivate":"Ocultar Chave Privada","manage.language":"Idioma","manage.select":"Selecione seu idioma","manage.user":"Perguntas Frequentes e Manual do Usuário","manage.help":"Central de Ajuda","manage.about":"Sobre Nós","manage.open":"Comunidade de Código Aberto","manage.longPassword":"A nova senha não pode exceder 50 caracteres","manage.add":"Adicionar nova conta","manage.create":"Por favor, conclua a criação da nova conta antes de adicionar","manage.close":"Ocultar conta","manage.use":"Continuar usando",exit:Yt,"manage.clean":"Limpar conta","manage.all":"Limpar localmente as chaves privadas e as palavras-chave da conta, os dados podem ser importados novamente se precisar recuperar","manage.current":"Balança corrente","user.dosuccess":"Operação bem-sucedida","user.chain":"Transação em processamento ......","user.tips":"Dicas","user.urgentpay":"Taxa urgente (IBXC) = Ativos pagos / (taxa de acompanhamento * precisão)","user.tokensave":"Token já existe","type.package":"Taxa de Empacotamento","type.taxation":"Imposto","type.trade":"Transferência","type.tokenTrade":"Transferência de Token","type.create":"Criar Carteira","type.iname":"Criar iName","type.issue":"Emitir Token","type.coin":"Quantidade de Token Destruido","type.private":"Fundação","type.foundation":"Parceiros Eco","type.team":"Equipe de P&D","type.partner":"Vendas Privadas 1","type.nft":"Recompensa de Staking NFT","type.mining":"Novo Staking","type.pledge":"Retirar valor staked","type.exchange":"Resgate Retido","type.burning":"Queimado","type.detele":"Remoção de Conta","type.paid":"Depósito pago pelo nó candidato","type.nodes":"Depósito pago em nome do nó candidato","type.voting":"Votação do Nó Candidato","type.deposit":"Retirar depósito do nó candidato","type.withdrawal":"Retirar voto para o nó candidato","type.textcoin":"Obter Moedas de Teste","type.privateye":"Vendas Privadas 2","type.offering":"Vendas Públicas","type.num":"Receber fundos restantes da Colocação Privada 1","type.child":"Dedução de subconta","type.issuance":"Emissão adicional","type.twonum":"Receber fundos restantes da Colocação Privada 2","type.remove":"Reembolsos após a remoção de subcontas pela equipe","type.airsend":"Quantidade de distribuição de airdrop","type.aristack":"Quantidade de aceleração de desbloqueio de stake","type.getair":"Receber airdrop","type.getstack":"Receber stake de airdrop","type.locking":"Quantidade de bloqueio de airdrop","type.createiname":"Criar iName","type.cross":"Cunhagem entre cadeias","type.crosslock":"Bloqueio de retirada entre cadeias","type.destruction":"Queima entre cadeias"},Jt="Выйти из системы",Zt={"nav.assets":"Активы","nav.manage":"Управление кошельком","nav.colorSystem":"Система цветов","nav.record":"История транзакций","nav.load":"Загрузка","nav.drop":"Потяните вниз, чтобы загрузить больше","nav.nomore":"Больше нет","login.sign":"Войти","login.name":"Si prega di selezionare il nome del portafoglio multi-firma","login.address":"Адрес аккаунта","login.password":"Локальный пароль","login.know":"Я прочитал и согласен с политикой конфиденциальности.","login.create":"Создать","login.load":"Загрузить кошелек","login.import":"Импортировать кошелек","login.back":"Назад","login.empty":"Название мультиподписного кошелька не может быть пустым","login.maxName":"Название мультиподписного кошелька не может превышать 16 символов","login.maxpw":"Локальный пароль не может превышать 50 символов","login.setting":"Создание и настройка мультиключевого кошелька","login.safety":"Мультибезопасность, используйте кошелек MultiKey для децентрализованного управления учетными записями","login.wallet":"Создать новый кошелек","login.base":"Создайте децентрализованный кошелек, поддерживающий управление подписями на нескольких счетах, исходя из ваших потребностей. Для создания такого кошелька вам потребуется заплатить небольшую сумму.","login.new":"Новый","login.had":"Загрузить кошелек","login.multi":"Если у вас уже есть кошелек MultiKey и вы хотите продолжить его использование в новом аккаунте, вы можете продолжить его использование, подтвердив его своим закрытым ключом или мнемонической фразой.","login.loading":"Загрузить","login.use":"Используйте существующую мнемоническую фразу или приватный ключ для восстановления многоключевого кошелька. Мы поможем вам получить исторические данные On-Chain, и они будут отображаться в соответствующих пунктах функции, так что вы не потеряете эту информацию.","login.word":"Импорт через мнемоническую фразу","login.restore":"Импорт по мнемонической фразе позволяет восстановить все аккаунты по этой мнемонической фразе.","login.private":"Импорт через закрытый ключ","login.text":"Используйте свой закрытый ключ для импорта нужной вам учетной записи с мультисигмой.","login.cancel":"Отменить","login.confirm":"Подтвердить","login.start":"Начать импорт","login.privateEmpty":"Закрытый ключ не может быть пустым","login.privateError":"Закрытый ключ неверен","login.mnemonicEmpty":"Начальная фраза не может быть пустой","login.mnemonicError":"Начальная фраза неверна","login.no":"Пока нет данных","login.delete":"Удалить учетную запись","login.deleteAccount":"Вы уверены, что хотите удалить учетную запись {{name}}?","login.cody":"Успешно скопировано","login.incorrect":"Неверный локальный пароль безопасности","login.select":"Пожалуйста, выберите название мультиподписного кошелька","login.pwEmpty":"Локальный пароль безопасности не может быть пустым","login.accountName":"Имя аккаунта","login.continue":"Использовать мультиподписный кошелек","login.account":"Создать новый аккаунт","login.checkKnow":"Пожалуйста, отметьте, что вы понимаете и принимаете политику конфиденциальности","login.loacl":"Аккаунт","login.now":"Текущий используемый аккаунт","login.previous":"Предыдущий шаг","home.newBuilt":"Создать","home.multi":"Мультисиг-кошелек","home.receive":"Получить","home.transfer":"Перевести","home.assets":"Активы","home.setting":"Настройка кошелька MultiKey","home.des":"Настройте учетную запись управления и права доступа для кошелька MultiKey, которые не могут быть изменены после развертывания On-Chain.","home.team":"Имя команды","home.name":"Вам необходимо дать имя кошельку, чтобы вы или члены команды могли быстро узнать его во время подписания.","home.inputName":"Введите имя команды","home.nameLength":"Название команды не может превышать 20 символов","home.sign":"Адрес подписи {{num}}","home.inputSign":"Введите адрес подписи","home.addreeType":"Введите адрес в формате 0000-0000-0000-0000-0000","home.save":"Адрес уже существует","home.new":"Новый адрес подписи","home.num":"Установить порог подписи транзакции","home.inputNum":"Введите порог подписи транзакции","home.min":"Требуется минимум 2 подписи","home.delete":"Удалить","home.block":"Идентификатор блока","home.hash":"Хэш транзакции","home.address":"Адрес","home.date":"Дата","home.type":"Тип","home.contract":"Контракт","home.amount":"Сумма","home.check":"Проверка пароля","home.balance":"Баланс","home.send":"Отправить","home.recipient":"Введите адрес получателя","home.count":"Сумма","home.dir":"Введите сумму отправки","home.maxZero":"Вводимая сумма должна быть больше нуля","home.maxAmount":"Сумма отправки должна быть меньше максимального значения {{num}} {{tokenSymbol}}.","home.gas":"Плата за газ","home.comment":"Памятка","home.commentInput":"Пожалуйста, введите памятку","home.expedit":"Ускоренная оплата (необязательно)","home.expeditInput":"Пожалуйста, введите размер ускоренного сбора","home.expedited":"Экспедиционный сбор","home.examine":"Посмотреть","home.initiate":"Инициировать перевод","home.achieve":"Получено от {{to}}","home.wait":"Ожидает подписи","home.finish":"Подпись завершена и выполнена","home.noMessage":"Нет новых сообщений","home.second":"Секунды назад","home.messageDetails":"Подробности сообщения","home.notice":"Уведомление о подписи","home.current":"Текущий номер подписи","home.tactics":"Порог подписи","home.rejected":"Отклонено","home.approved":"Одобрено","home.explore":"Проверка в проводнике блокчейна","home.time":"Время","home.content":"Содержание","home.signnum":"Номер подписи","home.collection":"Пожалуйста, введите сумму получения","home.saveqr":"Сохранить QR-код","home.cody":"Скопировать ссылку на получение","home.give":"Поделиться с...","home.create":"Создать","home.signtip":"Установите минимум 2 адреса подписи, не превышая общее количество подписей","home.details":"Детали токена","home.limit":"Ввод не может превышать {{num}} адресов подписи","home.over":"Не может превышать {{num}} адресов","home.add":"Добавить токен","home.continue":"продолжать","home.build":"Создание","home.sure":"Подтвердите адрес мультиподписного кошелька","home.mistake":"Пожалуйста, подтвердите информацию о вашем мультиподписном кошельке, чтобы избежать ошибок","home.mulAddress":"Мультиподписный адрес","home.signAll":"{{num}} из {{length}} требуемых подписей для транзакции","home.noGas":"Недостаточно GAS","home.maxExpedited":"Количество срочной комиссии должно быть меньше максимального количества {{num}} {{tokenSymbol}}","home.inputAccount":"Пожалуйста, введите имя аккаунта","home.iName":"Пожалуйста, введите iName","home.nickname":"iName не соответствует правилам","manage.import":"Экспорт","manage.safety":"Безопасность","manage.setting":"Настройки пароля кошелька","manage.old":"Старый пароль","manage.oldPassword":"Пожалуйста, введите старый пароль","manage.oldError":"Введенный пароль не совпадает со старым паролем","manage.check":"Проверка безопасности пароля","manage.newPassword":"Установить новый пароль","manage.again":"Проверка нового пароля","manage.new":"Новый пароль","manage.inputPassword":"Пожалуйста, введите новый пароль","manage.againPassword":"Пожалуйста, введите пароль повторно","manage.againNot":"Повторно введенный пароль не совпадает с новым паролем","manage.success":"Пароль успешно изменен","manage.phrase":"Начальная фраза","manage.custody":"Пожалуйста, храните свою начальную фразу в безопасности и никогда не сообщайте ее никому.","manage.show":"Показать начальную фразу","manage.hide":"Скрыть начальную фразу","manage.private":"Закрытый ключ","manage.custodyKey":"Пожалуйста, храните свой закрытый ключ в безопасности и никогда не сообщайте его никому.","manage.showPrivate":"Показать закрытый ключ","manage.hidePrivate":"Скрыть личный ключ","manage.language":"Язык","manage.select":"Выберите свой язык","manage.user":"FAQ и руководство пользователя","manage.help":"Справочный центр","manage.about":"О нас","manage.open":"Сообщество с открытым исходным кодом","manage.add":"Добавить новый аккаунт","manage.create":"Пожалуйста, завершите создание нового аккаунта перед добавлением","manage.close":"Скрыть аккаунт","manage.use":"Продолжить использование","manage.longPassword":"Новый пароль не может превышать 50 символов","manage.clean":"Очистить аккаунт","manage.all":"Локально очистить приватный ключ и мнемоническую фразу аккаунта, для восстановления данных можно снова импортировать","manage.current":"Текущий счет",exit:Jt,"user.dosuccess":"Операция успешна","user.chain":"Транзакция в обработке ......","user.tips":"Советы","user.urgentpay":"Срочная комиссия (IBXC) = Оплаченные активы / (коэффициент продолжения * точность)","user.tokensave":"Токен уже существует","type.package":"Комиссия за упаковку","type.taxation":"Налог","type.trade":"Перевод","type.tokenTrade":"Перевод токена","type.create":"Создать кошелек","type.iname":"Создать iName","type.issue":"Выпустить токен","type.coin":"Уничтоженное количество токенов","type.private":"Фонд","type.foundation":"Эко-партнеры","type.team":"Команда исследования и разработки","type.partner":"Частные продажи 1","type.nft":"Награда за стейкинг NFT","type.mining":"Новый стейкинг","type.pledge":"Вывести заложенную сумму","type.exchange":"Удержание погашения","type.burning":"Сожжено","type.detele":"Удаление аккаунта","type.paid":"Депозит, оплаченный кандидатом-узлом","type.nodes":"Депозит, оплаченный от имени кандидата-узла","type.voting":"Голосование за кандидат-узел","type.deposit":"Вывести депозит кандидата-узла","type.withdrawal":"Вывести голос за кандидата-узла","type.textcoin":"Получить тестовые монеты","type.privateye":"Частные продажи 2","type.offering":"Публичные продажи","type.num":"Получить оставшиеся средства от Частного размещения 1","type.child":"Вычет субсчета","type.issuance":"Дополнительное выпуск","type.twonum":"Получение остаточных средств от Частного размещения 2","type.remove":"Возврат средств после удаления субсчетов командой","type.airsend":"Сумма распределения Airdrop","type.aristack":"Сумма ускоренной разблокировки стейка","type.getair":"Получение Airdrop","type.getstack":"Получение стейка Airdrop","type.locking":"Сумма блокировки Airdrop","type.createiname":"Создание iName","type.cross":"Кроссчейн-минтинг","type.crosslock":"Кроссчейн-вывод блокировки","type.destruction":"Кроссчейн-сжигание"},qt="Çıkış yap",Xt={exit:qt,"nav.assets":"Varlıklar","nav.manage":"Cüzdan Yönetimi","nav.colorSystem":"Renk Sistemi","nav.record":"İşlem Geçmişi","nav.load":"Yükleniyor","nav.drop":"Daha fazlasını yüklemek için aşağı çekin","nav.nomore":"Daha fazla yok","login.sign":"Giriş Yap","login.name":"Çoklu imza cüzdanı adı","login.address":"Hesap Adresi","login.password":"Yerel Şifre","login.know":"Gizlilik Politikasını okudum ve kabul ediyorum.","login.create":"Oluştur","login.load":"Cüzdan Yükle","login.import":"Cüzdan İçe Aktar","login.back":"Geri","login.empty":"çok imzalı cüzdan adı boş olamaz","login.maxName":"çok imzalı cüzdan adı 16 karakterden uzun olamaz","login.maxpw":"Yerel şifre 50 karakteri geçemez","login.setting":"Çok İmzalı Cüzdan Oluştur ve Kur","login.safety":"Çok Katmanlı Güvenlik, Adem-i Merkeziyetçi Hesap Yönetimi için MultiKey Cüzdan Kullanın","login.wallet":"Yeni cüzdan oluştur","login.base":"İhtiyaçlarınıza göre çoklu hesap imza yönetimini destekleyen adem-i merkeziyetçi bir cüzdan oluşturun. Bu hesap için küçük bir Gas ücreti ödemeniz gerekir.","login.new":"Yeni","login.had":"Cüzdan yükle","login.multi":"Eğer zaten bir MultiKey cüzdanınız varsa ve yeni bir hesapta kullanmaya devam etmek istiyorsanız, özel anahtarınız veya mnemonic ifadeniz ile doğrulayarak kullanmaya devam edebilirsiniz.","login.loading":"Yükle","login.use":"Mevcut mnemonic ifadenizi veya özel anahtarınızı kullanarak çok imzalı cüzdanı geri yükleyin. Size blok zincirindeki geçmiş verileri almanıza yardımcı olacağız ve bunlar ilgili fonksiyon öğelerinde görüntülenecek, böylece bu veri bilgilerini kaybetmeyeceksiniz.","login.word":"Mnemonic İfade ile İçe Aktar","login.restore":"Mnemonic ifade ile içe aktarma, bu mnemonic ifadesi altındaki tüm hesapları geri yükleyebilir","login.private":"Özel Anahtar ile İçe Aktar","login.text":"İhtiyacınız olan çok imzalı hesabı içe aktarmak için özel anahtarınızı kullanın","login.cancel":"İptal","login.confirm":"Onayla","login.start":"İçe Aktarmaya Başla","login.privateEmpty":"Özel anahtar boş olamaz","login.privateError":"Özel anahtar yanlış","login.mnemonicEmpty":"Mnemonic ifade boş olamaz","login.mnemonicError":"Mnemonic ifade yanlış","login.no":"Henüz veri yok","login.delete":"Hesabı Sil","login.deleteAccount":"{{name}} hesabını silmek istediğinizden emin misiniz?","login.cody":"Başarıyla kopyalandı","login.incorrect":"Yerel güvenlik şifresi yanlış","login.select":"Çoklu imza cüzdanı adını seçin","login.pwEmpty":"Yerel güvenlik şifresi boş olamaz","login.accountName":"Hesap adı","login.continue":"Çoklu imza cüzdanı kullan","login.account":"Yeni hesap oluştur","login.checkKnow":"Lütfen gizlilik politikasını anladığınızı ve kabul ettiğinizi işaretleyin","login.loacl":"Hesap","login.now":"Şu anda kullanılan hesap","login.previous":"Önceki Adım","home.newBuilt":"Yeni","home.multi":"Çok İmzalı Cüzdan","home.receive":"Al","home.transfer":"Transfer","home.assets":"Varlıklar","home.setting":"MultiKey Cüzdan Kur","home.des":"Blok zinciri üzerine dağıtıldıktan sonra değiştirilemeyecek şekilde MultiKey cüzdan için yönetim hesabı ve izinleri ayarlayın.","home.team":"Takım Adı","home.name":"İmza sırasında siz veya takım üyeleriniz tarafından hızlı tanınması için cüzdanınıza bir ad vermeniz gerekir.","home.inputName":"Lütfen takım adını girin","home.nameLength":"Takım adı 20 karakteri geçemez","home.sign":"İmza Adresi {{num}}","home.inputSign":"Lütfen imza adresini girin","home.addreeType":"Lütfen 0000-0000-0000-0000-0000 formatında bir adres girin","home.save":"Adres zaten mevcut","home.new":"Yeni İmza Adresi","home.num":"İşlem imza eşiğini ayarla","home.inputNum":"Lütfen işlem imza eşiğini girin","home.min":"En az 2 imza gerekli","home.delete":"Sil","home.block":"Blok ID","home.hash":"İşlem Hash'i","home.address":"Adres","home.date":"Tarih","home.type":"Tür","home.contract":"Kontrat","home.amount":"Miktar","home.check":"Şifre Doğrulama","home.balance":"Bakiye","home.send":"Gönder","home.recipient":"Lütfen alıcı adresini girin","home.count":"Miktar","home.dir":"Lütfen gönderilecek miktarı girin","home.maxZero":"Girilen miktar sıfırdan büyük olmalıdır","home.maxAmount":"Gönderilen miktar maksimum {{num}} {{tokenSymbol}}'den az olmalıdır.","home.gas":"Gas Ücreti","home.comment":"Açıklama","home.commentInput":"Lütfen açıklama girin","home.expedit":"Ekspres Ücret (İsteğe Bağlı)","home.expeditInput":"Lütfen ekspres ücreti girin","home.expedited":"Ekspres Ücret","home.examine":"Görüntüle","home.initiate":"Bir Transfer Başlat","home.achieve":"{{to}} tarafından alındı","home.wait":"İmza Bekleniyor","home.finish":"İmza Tamamlandı ve Yürütüldü","home.noMessage":"Yeni mesaj yok","home.second":"Saniye Önce","home.messageDetails":"Mesaj Detayları","home.notice":"İmza Bildirimi","home.current":"Güncel İmza Sayısı","home.tactics":"İmza Eşiği","home.rejected":"Reddedildi","home.approved":"Onaylandı","home.explore":"Blok zinciri gezgininde kontrol et","home.time":"Zaman","home.content":"İçerik","home.signnum":"İmza Sayısı","home.collection":"Lütfen alınacak miktarı girin","home.saveqr":"QR Kodu Kaydet","home.cody":"Alım Bağlantısını Kopyala","home.give":"... ile paylaş","home.create":"Yeni","home.signtip":"En az 2 imza adresi ayarlayın, toplam imza sayısını geçemez","home.limit":"Giriş {{num}} imza adresini geçemez","home.details":"Token detayları","home.over":"{{num}} adresinden fazla olamaz","home.add":"Jeton ekle","home.continue":"Devam etmek","home.build":"Oluştur","home.sure":"Çoklu imza cüzdan adresini onayla","home.mistake":"Lütfen çoklu imza cüzdan bilgilerinizi doğrulayın, hataları önlemek için","home.mulAddress":"Çoklu imza adresi","home.signAll":"{{num}} / {{length}} işlem imzası","home.noGas":"Yeterli GAS ücreti yok","home.maxExpedited":"acil ücret miktarı maksimum {{num}} {{tokenSymbol}} miktarından az olmalıdır","home.inputAccount":"lütfen hesap adını girin","home.iName":"lütfen iName girin","home.nickname":"iName kural uyumlu değil","manage.import":"dışa aktar","manage.safety":"Güvenlik","manage.setting":"Cüzdan Şifre Ayarları","manage.old":"Eski Şifre","manage.oldPassword":"Lütfen eski şifreyi girin","manage.oldError":"Girilen şifre eski şifre ile eşleşmiyor","manage.check":"Şifre Güvenlik Doğrulama","manage.newPassword":"Yeni Şifre Belirle","manage.again":"Yeni Şifre Doğrulama","manage.new":"Yeni Şifre","manage.inputPassword":"Lütfen yeni şifreyi girin","manage.againPassword":"Lütfen şifreyi yeniden girin","manage.againNot":"Yeniden girilen şifre yeni şifre ile eşleşmiyor","manage.success":"Şifre başarıyla değiştirildi","manage.phrase":"Mnemonic İfade","manage.custody":"Lütfen mnemonic ifadenizi güvende tutun ve KİMSEYLE PAYLAŞMAYIN.","manage.show":"Mnemonic İfadeyi Göster","manage.hide":"Mnemonic İfadeyi Gizle","manage.private":"Özel Anahtar","manage.custodyKey":"Lütfen özel anahtarınızı güvende tutun ve KİMSEYLE PAYLAŞMAYIN.","manage.showPrivate":"Özel Anahtarı Göster","manage.hidePrivate":"Özel Anahtarı Gizle","manage.language":"Dil","manage.select":"Dilinizi seçin","manage.user":"Kullanıcı SSS & Kullanıcı Kılavuzu","manage.help":"Yardım Merkezi","manage.about":"Hakkımızda","manage.open":"Açık Kaynak Topluluğu","manage.longPassword":"Yeni şifre 50 karakteri geçemez","manage.add":"Yeni hesap ekle","manage.create":"Lütfen yeni hesap oluşturduktan sonra ekleyin","manage.close":"Hesabı gizle","manage.use":"Kullanmaya devam et","manage.clean":"Hesabı temizle","manage.all":"Hesap özel anahtarını ve anımsatıcı sözcükleri yerel olarak temizle, verileri kurtarmak için tekrar içe aktarabilirsiniz","manage.current":"Güncel hesap","user.dosuccess":"İşlem Başarılı","user.chain":"İşlem işleniyor ......","user.tips":"İpuçları","user.urgentpay":"Acil ücret (IBXC) = Ödenen varlıklar / (takip oranı * hassasiyet)","user.tokensave":"Token zaten mevcut","type.package":"Paket Ücreti","type.taxation":"Vergi","type.trade":"Transfer","type.tokenTrade":"Token Transferi","type.create":"Cüzdan Oluştur","type.iname":"iName Oluştur","type.issue":"Token Oluştur","type.coin":"Yakılan Token Miktarı","type.private":"Vakıf","type.foundation":"Eko-Ortaklar","type.team":"AR-GE ekibi","type.partner":"Özel Satış 1","type.nft":"NFT Staking Ödülü","type.mining":"Yeni Staking","type.pledge":"Staked miktarını çek","type.exchange":"Tutulan İade","type.burning":"Yakıldı","type.detele":"Hesap Kaldırma","type.paid":"Aday düğüm tarafından ödenen depozito","type.nodes":"Aday düğüm adına ödenen depozito","type.voting":"Aday Düğüm Oylama","type.deposit":"Aday düğümün depozitosunu çek","type.withdrawal":"Aday düğüm için oy çek","type.textcoin":"Test Coinleri Al","type.privateye":"Özel Satış 2","type.offering":"Halka Arz","type.num":"Özel Yerleştirme 1'den kalan fonları al","type.child":"Alt hesap kesintisi","type.issuance":"Ek ihraç","type.twonum":"Özel Yerleştirme 2'den kalan fonları al","type.remove":"Ekip alt hesapları kaldırdıktan sonra geri ödeme","type.airsend":"Airdrop dağıtım miktarı","type.aristack":"Hızlandırılmış kilitleme miktarını aç","type.getair":"Airdrop al","type.getstack":"Airdrop stake al","type.locking":"Airdrop kilitli miktarı","type.createiname":"iName Oluştur","type.cross":"Zincirler arası basım","type.crosslock":"Zincirler arası çekme kilidi","type.destruction":"Zincirler arası yakma"},_t="Đăng xuất",$t={"nav.assets":"Tài sản","nav.manage":"Quản lý Ví","nav.colorSystem":"Hệ thống Màu","nav.record":"Lịch sử Giao dịch","nav.load":"Đang tải","nav.drop":"Kéo xuống để tải thêm","nav.nomore":"Không có gì khác",exit:_t,"login.sign":"Đăng nhập","login.name":"Tên ví đa chữ ký","login.address":"Địa chỉ Tài khoản","login.password":"Mật khẩu Cục bộ","login.know":"Tôi đã đọc và đồng ý với Chính sách Bảo mật.","login.create":"Tạo","login.load":"Tải Ví","login.import":"Nhập Ví","login.back":"Quay lại","login.empty":"Tên ví đa ký không thể để trống","login.maxName":"Tên ví đa ký không thể vượt quá 16 ký tự","login.maxpw":"Mật khẩu cục bộ không được vượt quá 50 ký tự","login.setting":"Tạo và Thiết lập Ví Đa Chữ ký","login.safety":"Đa Bảo mật, Sử dụng Ví MultiKey để Đạt được Quản lý Tài khoản Phi tập trung","login.wallet":"Tạo ví mới","login.base":"Tạo ví phi tập trung hỗ trợ quản lý chữ ký đa tài khoản dựa trên nhu cầu của bạn. Bạn cần trả một khoản phí Gas nhỏ cho tài khoản này.","login.new":"Mới","login.had":"Tải ví","login.multi":"Nếu bạn đã có ví MultiKey và muốn tiếp tục sử dụng nó trong một tài khoản mới, bạn có thể tiếp tục sử dụng nó bằng cách xác minh với khóa riêng tư hoặc cụm từ ghi nhớ của bạn.","login.loading":"Tải","login.use":"Sử dụng cụm từ ghi nhớ hoặc khóa riêng tư hiện có của bạn để khôi phục ví đa khóa. Chúng tôi sẽ giúp bạn lấy dữ liệu lịch sử Trên Chuỗi và nó sẽ được hiển thị trong các mục chức năng tương ứng, vì vậy bạn sẽ không bị mất dữ liệu thông tin này.","login.word":"Nhập bằng Cụm từ Ghi nhớ","login.restore":"Nhập bằng cụm từ ghi nhớ có thể khôi phục tất cả tài khoản dưới cụm từ ghi nhớ này","login.private":"Nhập bằng Khóa Riêng tư","login.text":"Sử dụng khóa riêng tư của bạn để nhập tài khoản đa chữ ký bạn cần","login.cancel":"Hủy bỏ","login.confirm":"Xác nhận","login.start":"Bắt đầu Nhập","login.privateEmpty":"Khóa riêng tư không được để trống","login.privateError":"Khóa riêng tư không đúng","login.mnemonicEmpty":"Cụm từ ghi nhớ không được để trống","login.mnemonicError":"Cụm từ ghi nhớ không đúng","login.no":"Chưa có dữ liệu","login.delete":"Xóa Tài khoản","login.deleteAccount":"Bạn có chắc chắn muốn xóa tài khoản {{name}} không?","login.cody":"Đã sao chép thành công","login.incorrect":"Mật khẩu bảo mật cục bộ không chính xác","login.select":"Vui lòng chọn tên ví đa chữ ký","login.pwEmpty":"Mật khẩu bảo mật cục bộ không được để trống","login.accountName":"Tên tài khoản","login.continue":"Sử dụng ví đa chữ ký","login.account":"Tạo tài khoản mới","login.checkKnow":"Vui lòng đánh dấu để hiểu và chấp nhận chính sách bảo mật","login.loacl":"Tài khoản","login.now":"Tài khoản đang sử dụng","login.previous":"Bước Trước","home.newBuilt":"Tạo mới","home.multi":"Ví Đa Chữ ký","home.receive":"Nhận","home.transfer":"Chuyển khoản","home.assets":"Tài sản","home.setting":"Thiết lập Ví MultiKey","home.des":"Thiết lập tài khoản quản lý và quyền cho ví MultiKey, không thể sửa đổi sau khi triển khai Trên Chuỗi.","home.team":"Tên Nhóm","home.name":"Bạn cần đặt tên cho ví của mình để bạn hoặc các thành viên nhóm có thể nhận dạng nhanh chóng trong quá trình ký.","home.inputName":"Vui lòng nhập tên nhóm","home.nameLength":"Tên nhóm không được vượt quá 20 ký tự","home.sign":"Địa chỉ Chữ ký {{num}}","home.inputSign":"Vui lòng nhập địa chỉ chữ ký","home.addreeType":"Vui lòng nhập địa chỉ theo định dạng 0000-0000-0000-0000-0000","home.save":"Địa chỉ đã tồn tại","home.new":"Địa chỉ Chữ ký Mới","home.num":"Đặt ngưỡng chữ ký giao dịch","home.inputNum":"Vui lòng nhập ngưỡng chữ ký giao dịch","home.min":"Tối thiểu 2 chữ ký bắt buộc","home.delete":"Xóa","home.block":"ID Khối","home.hash":"Băm Giao dịch","home.address":"Địa chỉ","home.date":"Ngày","home.type":"Loại","home.contract":"Hợp đồng","home.amount":"Số lượng","home.check":"Xác minh Mật khẩu","home.balance":"Số dư","home.send":"Gửi","home.recipient":"Vui lòng nhập địa chỉ người nhận","home.count":"Số lượng","home.dir":"Vui lòng nhập số lượng gửi","home.maxZero":"Số lượng đầu vào phải lớn hơn không","home.maxAmount":"Số lượng gửi nên nhỏ hơn tối đa {{num}} {{tokenSymbol}}.","home.gas":"Phí Gas","home.comment":"Ghi chú","home.commentInput":"Vui lòng nhập ghi chú","home.expedit":"Phí Đẩy nhanh (Tùy chọn)","home.expeditInput":"Vui lòng nhập phí đẩy nhanh","home.expedited":"Phí Đẩy nhanh","home.examine":"Xem","home.initiate":"Khởi tạo Chuyển khoản","home.achieve":"Nhận từ {{to}}","home.wait":"Đang chờ Chữ ký","home.finish":"Hoàn tất Chữ ký và Thực hiện","home.noMessage":"Không có tin nhắn mới","home.second":"Giây Trước","home.messageDetails":"Chi tiết Tin nhắn","home.notice":"Thông báo Chữ ký","home.current":"Số Chữ ký Hiện tại","home.tactics":"Ngưỡng Chữ ký","home.rejected":"Từ chối","home.approved":"Đã phê duyệt","home.explore":"Kiểm tra trên Trình duyệt Blockchain","home.time":"Thời gian","home.content":"Nội dung","home.signnum":"Số Chữ ký","home.collection":"Vui lòng nhập số lượng nhận","home.saveqr":"Lưu Mã QR","home.cody":"Sao chép Liên kết Nhận","home.give":"Chia sẻ đến...","home.create":"Tạo mới","home.signtip":"Thiết lập ít nhất 2 địa chỉ ký, không vượt quá tổng số chữ ký","home.details":"Chi tiết token","home.limit":"Đầu vào không được vượt quá {{num}} địa chỉ ký","home.over":"Không thể vượt quá {{num}} địa chỉ","home.add":"Thêm mã thông báo","home.continue":"Tiếp tục","home.build":"Tạo","home.sure":"Xác nhận địa chỉ ví đa chữ ký","home.mistake":"Vui lòng xác nhận thông tin ví đa chữ ký của bạn để tránh sai sót","home.mulAddress":"Địa chỉ đa chữ ký","home.signAll":"{{num}} đến {{length}} chữ ký giao dịch","home.noGas":"Không đủ phí GAS","home.maxExpedited":"Số lượng phí khẩn cấp phải nhỏ hơn số lượng tối đa {{num}} {{tokenSymbol}}","home.inputAccount":"Vui lòng nhập tên tài khoản","home.iName":"Vui lòng nhập iName","home.nickname":"iName không đúng quy tắc","manage.import":"Xuất","manage.safety":"Bảo mật","manage.setting":"Cài đặt Mật khẩu Ví","manage.old":"Mật khẩu Cũ","manage.oldPassword":"Vui lòng nhập mật khẩu cũ","manage.oldError":"Mật khẩu nhập không khớp với mật khẩu cũ","manage.check":"Xác minh Bảo mật Mật khẩu","manage.newPassword":"Đặt Mật khẩu Mới","manage.again":"Xác minh Mật khẩu Mới","manage.new":"Mật khẩu Mới","manage.inputPassword":"Vui lòng nhập mật khẩu mới","manage.againPassword":"Vui lòng nhập lại mật khẩu","manage.againNot":"Mật khẩu nhập lại không khớp với mật khẩu mới","manage.success":"Đã thay đổi mật khẩu thành công","manage.phrase":"Cụm từ Ghi nhớ","manage.custody":"Vui lòng GIỮ cụm từ ghi nhớ của bạn an toàn và KHÔNG BAO GIỜ chia sẻ với bất kỳ ai.","manage.show":"Hiển thị Cụm từ Ghi nhớ","manage.hide":"Ẩn Cụm từ Ghi nhớ","manage.private":"Khóa Riêng tư","manage.custodyKey":"Vui lòng GIỮ khóa riêng tư của bạn an toàn và KHÔNG BAO GIỜ chia sẻ với bất kỳ ai.","manage.showPrivate":"Hiển thị Khóa Riêng tư","manage.hidePrivate":"Ẩn Khóa Riêng tư","manage.language":"Ngôn ngữ","manage.select":"Chọn ngôn ngữ của bạn","manage.user":"Câu hỏi Thường gặp & Hướng dẫn Người dùng","manage.help":"Trung tâm Trợ giúp","manage.about":"Về Chúng tôi","manage.open":"Cộng đồng Nguồn mở","manage.longPassword":"Mật khẩu mới không được vượt quá 50 ký tự","manage.add":"Thêm tài khoản mới","manage.create":"Vui lòng hoàn thành việc tạo tài khoản mới trước khi thêm","manage.close":"Ẩn tài khoản","manage.use":"Tiếp tục sử dụng","manage.clean":"Xóa tài khoản","manage.all":"Xóa cục bộ khóa riêng tư và cụm từ gợi nhớ của tài khoản, có thể nhập lại để khôi phục dữ liệu nếu cần","manage.current":"Tài khoản hiện tại","user.dosuccess":"Thành công","user.chain":"Giao dịch đang xử lý ......","user.tips":"Gợi ý","user.urgentpay":"Phí tùy chỉnh (IBXC) = Tài sản đã thanh toán / (tỷ lệ theo dõi * độ chính xác)","user.tokensave":"Token đã tồn tại","type.package":"Phí đóng gói","type.taxation":"Thuế","type.trade":"Chuyển khoản","type.tokenTrade":"Chuyển khoản Token","type.create":"Tạo Ví","type.iname":"Tạo iName","type.issue":"Phát hành Token","type.coin":"Số lượng Token bị hủy","type.private":"Quỹ","type.foundation":"Đối tác ECO","type.team":"Nhóm R&D","type.partner":"Bán riêng tư 1","type.nft":"Phần thưởng NFT Staking","type.mining":"Staking mới","type.pledge":"Rút số lượng đã staking","type.exchange":"Rút tiền giữ lại","type.burning":"Đốt","type.detele":"Xóa tài khoản","type.paid":"Đặt cọc được thanh toán bởi ứng cử viên node","type.nodes":"Đặt cọc được thanh toán thay mặt cho ứng cử viên node","type.voting":"Bỏ phiếu cho ứng cử viên node","type.deposit":"Rút tiền đặt cọc của ứng cử viên node","type.withdrawal":"Rút phiếu bỏ phiếu cho ứng cử viên node","type.textcoin":"Nhận Test Coins","type.privateye":"Bán riêng 2","type.offering":"Bán công khai","type.num":"Nhận số tiền còn lại từ Đặt cọc riêng 1","type.child":"Trừ tiền từ tài khoản con","type.issuance":"Phát hành bổ sung","type.twonum":"Nhận số tiền còn lại từ Đặt cọc riêng 2","type.remove":"Hoàn tiền sau khi đội loại bỏ tài khoản con","type.airsend":"Số tiền phân phối Airdrop","type.aristack":"Số tiền mở khóa stake nhanh","type.getair":"Nhận Airdrop","type.getstack":"Nhận Airdrop stake","type.locking":"Số tiền khóa Airdrop","type.createiname":"Tạo iName","type.cross":"Đúc chéo chuỗi","type.crosslock":"Khóa rút chéo chuỗi","type.destruction":"Đốt chéo chuỗi"},ei="ログアウト",ai={"nav.assets":"資産","nav.manage":"ウォレット管理","nav.colorSystem":"カラーシステム","nav.record":"取引履歴","nav.load":"ロード中","nav.drop":"もっと読み込むにはスワイプダウン","nav.nomore":"これ以上はありません","login.sign":"サインイン","login.name":"マルチシグウォレット名","login.address":"アカウントアドレス","login.password":"ローカルパスワード","login.know":"プライバシーポリシーを読み、同意しました。","login.create":"作成","login.load":"ウォレットをロード","login.import":"ウォレットをインポート","login.back":"戻る","login.empty":"多重署名ウォレットの名前を空白にすることはできません","login.maxName":"多重署名ウォレットの名前は16文字を超えることはできません","login.maxpw":"ローカルパスワードは50文字を超えることはできません","login.setting":"マルチシグウォレットを作成してセットアップ","login.safety":"マルチセキュリティ、マルチキーウォレットを使用して分散型アカウント管理を実現","login.wallet":"新しいウォレットを作成","login.base":"ニーズに基づいてマルチアカウント署名管理をサポートする分散型ウォレットを作成します。このアカウントには少額のガス料金をお支払いいただく必要があります。","login.new":"新規","login.had":"ウォレットを読み込む","login.multi":"すでにマルチキーウォレットをお持ちで、新しいアカウントで引き続き使用したい場合は、秘密鍵またはニーモニックフレーズで検証することで引き続き使用できます。","login.loading":"読み込む","login.use":"既存のニーモニックフレーズまたは秘密鍵を使用してマルチキーウォレットを復元します。Onチェーンの履歴データを取得するのをお手伝いし、対応する機能項目に表示されるので、このデータ情報を失うことはありません。","login.word":"ニーモニックフレーズでインポート","login.restore":"ニーモニックフレーズでインポートすると、このニーモニックフレーズの下のすべてのアカウントを復元できます","login.private":"秘密鍵でインポート","login.text":"必要なマルチシグアカウントをインポートするには、秘密鍵を使用してください","login.cancel":"キャンセル","login.confirm":"確認","login.start":"インポートを開始","login.privateEmpty":"秘密鍵を空白にすることはできません","login.privateError":"秘密鍵が正しくありません","login.mnemonicEmpty":"シードフレーズを空白にすることはできません","login.mnemonicError":"シードフレーズが正しくありません","login.no":"まだデータがありません","login.delete":"アカウントを削除","login.deleteAccount":"本当にアカウント{{name}}を削除してよろしいですか?","login.cody":"コピーが成功しました","login.incorrect":"ローカルセキュリティパスワードが正しくありません","login.select":"マルチシグウォレット名を選択してください","login.pwEmpty":"ローカルセキュリティパスワードを空にすることはできません","login.accountName":"アカウント名","login.continue":"マルチシグウォレットを使用する","login.account":"新しいアカウントを作成する","login.checkKnow":"プライバシーポリシーを理解し同意することにチェックを入れてください","login.loacl":"アカウント","login.now":"現在使用中のアカウント","login.previous":"前のステップ","home.newBuilt":"新規作成","home.multi":"マルチシグウォレット","home.receive":"受取","home.transfer":"送金","home.assets":"資産","home.setting":"マルチキーウォレットを設定","home.des":"マルチキーウォレットの管理アカウントと権限を設定します。Onチェーンデプロイ後は変更できません。","home.team":"チーム名","home.name":"署名時に、自分またはチームメンバーから即座に認識できるよう、ウォレットに名前を付ける必要があります。","home.inputName":"チーム名を入力してください","home.nameLength":"チーム名は20文字を超えることはできません","home.sign":"署名アドレス{{num}}","home.inputSign":"署名アドレスを入力してください","home.addreeType":"0000-0000-0000-0000-0000の形式でアドレスを入力してください","home.save":"アドレスが既に存在します","home.new":"新しい署名アドレス","home.num":"取引署名閾値を設定","home.inputNum":"取引署名閾値を入力してください","home.min":"最小2つの署名が必要です","home.delete":"削除","home.block":"ブロックID","home.hash":"取引ハッシュ","home.address":"アドレス","home.date":"日付","home.type":"種類","home.contract":"コントラクト","home.amount":"金額","home.check":"パスワード確認","home.balance":"残高","home.send":"送信","home.recipient":"受取人アドレスを入力してください","home.count":"金額","home.dir":"送金額を入力してください","home.maxZero":"入力された金額は0より大きくなければなりません","home.maxAmount":"送金額は最大{{num}} {{tokenSymbol}}未満でなければなりません。","home.gas":"ガス料金","home.comment":"メモ","home.commentInput":"メモを入力してください","home.expedit":"高速化手数料 (オプション)","home.expeditInput":"高速化手数料を入力してください","home.expedited":"高速化手数料","home.examine":"表示","home.initiate":"送金を開始","home.achieve":"{{to}}から受け取り","home.wait":"署名待ち","home.finish":"署名が完了し実行されました","home.noMessage":"新しいメッセージはありません","home.second":"数秒前","home.messageDetails":"メッセージの詳細","home.notice":"署名通知","home.current":"現在の署名番号","home.tactics":"署名閾値","home.rejected":"拒否されました","home.approved":"承認済み","home.explore":"ブロックチェーンエクスプローラで確認","home.time":"時間","home.content":"内容","home.signnum":"署名番号","home.collection":"受取金額を入力してください","home.saveqr":"QRコードを保存","home.cody":"受取リンクをコピー","home.give":"共有...","home.create":"新規作成","home.signtip":"最低2つの署名アドレスを設定し、署名の総数を超えないこと","home.details":"トークンの詳細","home.limit":"入力は {{num}} 個の署名アドレスを超えないこと","home.over":"{{num}}個のアドレスを超えることはできません","home.add":"トークンの追加","home.continue":"続く","home.build":"作成","home.sure":"マルチシグウォレットアドレスの確認","home.mistake":"マルチシグウォレット情報を確認し、誤りを避けてください","home.mulAddress":"マルチシグアドレス","home.signAll":"{{num}}から{{length}}取引署名数","home.noGas":"ガス代が足りません","home.maxExpedited":"追加手数料の量は最大量{{num}} {{tokenSymbol}}を下回る必要があります","home.inputAccount":"アカウント名を入力してください","home.iName":"iNameを入力してください","home.nickname":"iNameが規則に従っていません","manage.import":"エクスポート","manage.safety":"セキュリティ","manage.setting":"ウォレットパスワード設定","manage.old":"古いパスワード","manage.oldPassword":"古いパスワードを入力してください","manage.oldError":"入力したパスワードが古いパスワードと一致しません","manage.check":"パスワードセキュリティ確認","manage.newPassword":"新しいパスワードを設定","manage.again":"新しいパスワード確認","manage.new":"新しいパスワード","manage.inputPassword":"新しいパスワードを入力してください","manage.againPassword":"パスワードを再入力してください","manage.againNot":"再入力したパスワードが新しいパスワードと一致しません","manage.success":"パスワードが正常に変更されました","manage.phrase":"シードフレーズ","manage.custody":"シードフレーズは安全な場所に保管し、絶対に他人に共有しないでください。","manage.show":"シードフレーズを表示","manage.hide":"シードフレーズを非表示","manage.private":"秘密鍵","manage.custodyKey":"秘密鍵は安全な場所に保管し、絶対に他人に共有しないでください。","manage.showPrivate":"秘密鍵を表示","manage.hidePrivate":"秘密鍵を非表示","manage.language":"言語","manage.select":"言語を選択","manage.user":"ユーザーFAQおよびユーザーマニュアル","manage.help":"ヘルプセンター","manage.about":"私たちについて","manage.open":"オープンソースコミュニティ","manage.longPassword":"新しいパスワードは50文字を超えないこと","manage.add":"新しいアカウントを追加する","manage.create":"新しいアカウントの作成を完了してから追加してください","manage.close":"アカウントを非表示にする","manage.use":"引き続き使用する","manage.current":"現在のアカウント",exit:ei,"manage.clean":"アカウントをクリアする","manage.all":"ローカルでアカウントの秘密鍵とニーモニックをクリアします。データを復元する必要がある場合は再度インポートしてください","user.dosuccess":"操作成功","user.chain":"処理中のトランザクション......","user.tips":"ヒント","user.urgentpay":"緊急手数料(IBXC)= 支払い資産 / (フォローアップ比率 * 精度)","user.tokensave":"トークンは既に存在しています","type.package":"梱包料金","type.taxation":"税金","type.trade":"転送","type.tokenTrade":"トークン転送","type.create":"ウォレット作成","type.iname":"iName作成","type.issue":"トークン発行","type.coin":"破棄されたトークン量","type.private":"財団","type.foundation":"エコパートナー","type.team":"R&Dチーム","type.partner":"プライベートセールス1","type.nft":"NFTステーキング報酬","type.mining":"新しいステーキング","type.pledge":"ステーキングされた金額の引き出し","type.exchange":"引き落とし償還","type.burning":"焼けた","type.detele":"アカウント削除","type.paid":"候補ノードによるデポジット支払い","type.nodes":"候補ノードのために支払われたデポジット","type.voting":"候補ノードの投票","type.deposit":"候補ノードのデポジットを引き出す","type.withdrawal":"候補ノードへの投票を取り消す","type.textcoin":"テストコインを取得する","type.privateye":"プライベートセールス2","type.offering":"パブリックセールス","type.num":"プライベートプレースメント1からの残りの資金を受け取る","type.child":"サブアカウントの控除","type.issuance":"追加発行","type.twonum":"プライベートプレースメント2から残りの資金を受け取る","type.remove":"チームがサブアカウントを削除した後の払い戻し","type.airsend":"エアドロップの配布額","type.aristack":"アンロックステークの加速額","type.getair":"エアドロップを受け取る","type.getstack":"エアドロップステークを受け取る","type.locking":"エアドロップのロックアップ額","type.createiname":"iNameを作成する","type.cross":"クロスチェーン造幣","type.crosslock":"クロスチェーン引き出しロック","type.destruction":"クロスチェーンバーン"},ni="로그아웃",oi={"nav.assets":"자산","nav.manage":"지갑 관리","nav.colorSystem":"색상 시스템","nav.record":"거래 내역","nav.load":"로딩 중","nav.drop":"아래로 당겨 더 로드","nav.nomore":"더 이상 없음",exit:ni,"login.sign":"로그인","login.name":"다중 서명 지갑 이름","login.address":"계정 주소","login.password":"로컬 비밀번호","login.know":"개인정보 보호정책에 동의합니다.","login.create":"생성","login.load":"지갑 로드","login.import":"지갑 가져오기","login.back":"뒤로","login.empty":"다중 서명 지갑 이름은 비워둘 수 없습니다","login.maxName":"다중 서명 지갑 이름은 16자를 초과할 수 없습니다","login.maxpw":"로컬 비밀번호는 50자를 초과할 수 없습니다","login.setting":"다중 서명 지갑 생성 및 설정","login.safety":"다중 키 지갑을 사용하여 분산형 계정 관리 달성","login.wallet":"새 지갑 만들기","login.base":"필요에 따라 다중 계정 서명 관리를 지원하는 분산 지갑을 만듭니다. 이 계정에는 소액의 가스료를 지불해야 합니다.","login.new":"새로 만들기","login.had":"지갑 로드","login.multi":"이미 다중 키 지갑이 있고 새 계정에서 계속 사용하려면 개인 키 또는 니모닉 구문을 확인하여 계속 사용할 수 있습니다.","login.loading":"로드","login.use":"기존 니모닉 구문 또는 개인 키를 사용하여 다중 키 지갑을 복원합니다. 온체인의 기록 데이터를 가져와 해당 기능 항목에 표시하므로 이 데이터 정보가 손실되지 않습니다.","login.word":"니모닉 구문으로 가져오기","login.restore":"니모닉 구문으로 가져오면 이 구문의 모든 계정을 복원할 수 있습니다","login.private":"개인 키로 가져오기","login.text":"개인 키를 사용하여 필요한 다중 서명 계정을 가져옵니다","login.cancel":"취소","login.confirm":"확인","login.start":"가져오기 시작","login.privateEmpty":"개인 키를 입력해야 합니다","login.privateError":"개인 키가 올바르지 않습니다","login.mnemonicEmpty":"시드 구문을 입력해야 합니다","login.mnemonicError":"시드 구문이 올바르지 않습니다","login.no":"데이터가 없습니다","login.delete":"계정 삭제","login.deleteAccount":"계정 {{name}}를 삭제하시겠습니까?","login.cody":"성공적으로 복사되었습니다","login.incorrect":"로컬 보안 비밀번호가 올바르지 않습니다","login.select":"다중 서명 지갑 이름을 선택하세요","login.pwEmpty":"로컬 보안 비밀번호를 비워둘 수 없습니다","login.accountName":"계정 이름","login.continue":"다중 서명 지갑 사용","login.account":"새 계정 만들기","login.checkKnow":"개인정보 보호정책을 이해하고 동의한다는 것을 체크해주세요","login.loacl":"계정","login.now":"현재 사용 중인 계정","login.previous":"이전 단계","home.newBuilt":"새로 만들기","home.multi":"다중 서명 지갑","home.receive":"받기","home.transfer":"전송","home.assets":"자산","home.setting":"다중 키 지갑 설정","home.des":"다중 키 지갑의 관리 계정과 권한을 설정합니다. 온체인 배포 후에는 수정할 수 없습니다.","home.team":"팀 이름","home.name":"서명 시 당신이나 팀원이 빠르게 인식할 수 있도록 지갑 이름을 지정해야 합니다.","home.inputName":"팀 이름을 입력하세요","home.nameLength":"팀 이름은 20자를 초과할 수 없습니다","home.sign":"서명 주소 {{num}}","home.inputSign":"서명 주소를 입력하세요","home.addreeType":"0000-0000-0000-0000-0000 형식의 주소를 입력하세요","home.save":"주소가 이미 존재합니다","home.new":"새 서명 주소","home.num":"거래 서명 임계값 설정","home.inputNum":"거래 서명 임계값을 입력하세요","home.min":"최소 2개의 서명 필요","home.delete":"삭제","home.block":"블록 ID","home.hash":"거래 해시","home.address":"주소","home.date":"날짜","home.type":"유형","home.contract":"컨트랙트","home.amount":"금액","home.check":"비밀번호 확인","home.balance":"잔액","home.send":"전송","home.recipient":"수취인 주소를 입력하세요","home.count":"금액","home.dir":"전송 금액을 입력하세요","home.maxZero":"입력한 금액은 0보다 커야 합니다","home.maxAmount":"전송 금액은 최대 {{num}} {{tokenSymbol}}보다 적어야 합니다.","home.gas":"가스 수수료","home.comment":"메모","home.commentInput":"메모를 입력하세요","home.expedit":"빠른 수수료(선택 사항)","home.expeditInput":"빠른 수수료를 입력하세요","home.expedited":"빠른 수수료","home.examine":"보기","home.initiate":"전송 개시","home.achieve":"{{to}}에서 수령함","home.wait":"서명 대기 중","home.finish":"서명 완료 및 실행","home.noMessage":"새 메시지 없음","home.second":"몇 초 전","home.messageDetails":"메시지 세부 정보","home.notice":"서명 알림","home.current":"현재 서명 수","home.tactics":"서명 임계값","home.rejected":"거부됨","home.approved":"승인됨","home.explore":"블록체인 탐색기 확인","home.time":"시간","home.content":"내용","home.signnum":"서명 번호","home.collection":"수령 금액을 입력하세요","home.saveqr":"QR 코드 저장","home.cody":"수령 링크 복사","home.give":"공유하기...","home.create":"새로 만들기","home.signtip":"최소 2개의 서명 주소를 설정해야 하며, 총 서명 수를 초과할 수 없습니다","home.details":"토큰 세부 정보","home.limit":"{{num}}개 이상의 서명 주소를 입력할 수 없습니다","home.over":"{{num}}개 이상의 주소를 초과할 수 없습니다","home.add":"토큰 추가하기","home.continue":"계속하다","home.build":"생성","home.sure":"다중 서명 지갑 주소 확인","home.mistake":"다중 서명 지갑 정보를 확인하여 오류를 방지하십시오.","home.mulAddress":"다중 서명 주소","home.signAll":"{{num}} ~ {{length}}트랜잭션 서명 수","home.noGas":"가스비가 충분하지 않습니다.","home.maxExpedited":"긴급 수수료 금액은 최대 {{num}} {{tokenSymbol}}보다 작아야 합니다","home.inputAccount":"계정 이름을 입력하세요","home.iName":"iName을 입력하세요","home.nickname":"iName이 규칙에 맞지 않습니다","manage.import":"내보내기","manage.safety":"보안","manage.setting":"지갑 비밀번호 설정","manage.old":"이전 비밀번호","manage.oldPassword":"이전 비밀번호를 입력하세요","manage.oldError":"입력한 비밀번호가 기존 비밀번호와 일치하지 않습니다","manage.check":"비밀번호 보안 확인","manage.newPassword":"새 비밀번호 설정","manage.again":"새 비밀번호 확인","manage.new":"새 비밀번호","manage.inputPassword":"새 비밀번호를 입력하세요","manage.againPassword":"비밀번호를 다시 입력하세요","manage.againNot":"다시 입력한 비밀번호가 새 비밀번호와 일치하지 않습니다","manage.success":"비밀번호가 성공적으로 변경되었습니다","manage.phrase":"시드 구문","manage.custody":"시드 구문은 안전하게 보관하고 절대 누구에게도 공유하지 마세요.","manage.show":"시드 구문 표시","manage.hide":"시드 구문 숨기기","manage.private":"개인 키","manage.custodyKey":"개인 키는 안전하게 보관하고 절대 누구에게도 공유하지 마세요.","manage.showPrivate":"개인 키 표시","manage.hidePrivate":"개인 키 숨기기","manage.language":"언어","manage.select":"언어를 선택하세요","manage.user":"사용자 FAQ 및 사용자 설명서","manage.help":"헬프 센터","manage.about":"회사 소개","manage.open":"오픈소스 커뮤니티","manage.longPassword":"새 비밀번호는 50자를 초과할 수 없습니다","manage.add":"새 계정 추가","manage.create":"새 계정을 만든 후에 추가해주세요","manage.close":"계정 숨기기","manage.use":"계속 사용","manage.clean":"계정 지우기","manage.all":"로컬에서 계정 개인 키와 니모닉 구문을 지웁니다. 데이터 복구가 필요한 경우 다시 가져올 수 있습니다","manage.current":"現在のアカウント","user.dosuccess":"작업 성공","user.chain":"처리 중인 거래 ......","user.tips":"팁","user.urgentpay":"긴급 수수료 (IBXC) = 지불 자산 / (후속 비율 * 정밀도)","user.tokensave":"토큰이 이미 존재합니다","type.package":"패킹 수수료","type.taxation":"세금","type.trade":"이체","type.tokenTrade":"토큰 이체","type.create":"지갑 생성","type.iname":"iName 생성","type.issue":"토큰 발행","type.coin":"소멸된 토큰 금액","type.private":"재단","type.foundation":"에코 파트너","type.team":"R&D 팀","type.partner":"개인 판매 1","type.nft":"NFT 스테이킹 보상","type.mining":"새로운 스테이킹","type.pledge":"스테이킹 금액 인출","type.exchange":"인출 보류","type.burning":"소각됨","type.detele":"계정 삭제","type.paid":"후보 노드가 지불한 예치금","type.nodes":"후보 노드를 대신하여 지불한 예치금","type.voting":"후보 노드 투표","type.deposit":"후보 노드 예치금 인출","type.withdrawal":"후보 노드에 대한 투표 철회","type.textcoin":"테스트 코인 받기","type.privateye":"개인 판매 2","type.offering":"공개 판매","type.num":"개인 배정 1로부터 잔여 자금 받기","type.child":"하위 계정 차감","type.issuance":"추가 발행","type.twonum":"개인 배정 2로부터 잔여 자금 받기","type.remove":"팀이 하위 계정을 제거한 후 환불","type.airsend":"에어드롭 분배 금액","type.aristack":"언락 스테이크 가속화 금액","type.getair":"에어드롭 받기","type.getstack":"에어드롭 스테이크 받기","type.locking":"에어드롭 잠금 금액","type.createiname":"iName 생성","type.cross":"크로스체인 민팅","type.crosslock":"크로스체인 인출 잠금","type.destruction":"크로스체인 소각"},ti="退出登錄",ii={"nav.assets":"資產","nav.manage":"錢包管理","nav.colorSystem":"顏色系統","nav.record":"交易記錄","nav.load":"正在載入中","nav.drop":"輕輕下拉載入更多","nav.nomore":"沒有更多了",exit:ti,"login.sign":"登入","login.name":"多簽錢包名稱","login.address":"帳戶地址","login.password":"本地安全密碼","login.know":"了解並接受隱私權政策","login.create":"開始創建","login.load":"載入錢包","login.import":"匯入錢包","login.back":"返回","login.empty":"多簽錢包名稱不能為空","login.maxName":"多簽錢包名稱不能超過16個字符","login.pwEmpty":"本地安全密碼不能為空","login.maxpw":"本地安全密碼不能超過50個字元","login.setting":"建立並設置多簽錢包","login.safety":"多重安全,使用multkey錢包實現去中心化帳戶管理","login.wallet":"新建錢包","login.base":"根據您的需要建立支援多帳戶簽名管理的去中心化錢包。您需要為此帳戶支付少量Gas手續費。","login.new":"新建","login.had":"載入錢包","login.multi":"如果您已有multkey錢包,想在新帳戶繼續使用,您可以透過私鑰或助記詞驗證後繼續使用。","login.loading":"載入","login.use":"使用您已有的助記詞或私鑰還原multkey錢包,我們會協助您獲取鏈上歷史資料,它將顯示在對應功能項下,您不會遺失這些資料。","login.word":"透過助記詞匯入","login.restore":"使用助記詞匯入可以還原此助記詞下所有帳戶","login.private":"透過私鑰匯入","login.text":"使用私鑰匯入您需要的多簽帳戶","login.cancel":"取消","login.confirm":"確認","login.start":"開始匯入","login.privateEmpty":"私鑰不能為空","login.privateError":"私鑰不正確","login.mnemonicEmpty":"種子詞不能為空","login.mnemonicError":"種子詞不正確","login.no":"尚無資料","login.select":"請選擇多簽錢包名稱","login.incorrect":"本地安全密碼不正確","login.delete":"刪除帳戶","login.deleteAccount":"確定要刪除帳戶{{name}}嗎?","login.cody":"複製成功","login.accountName":"賬戶名稱","login.continue":"使用多簽錢包","login.account":"創建新賬戶","login.checkKnow":"請勾選了解並接受隱私政策","login.loacl":"賬戶","login.now":"當下正在使用的賬戶","login.previous":"上一步","home.newBuilt":"新建","home.details":"代幣詳情","home.signtip":"最少設置2個簽名地址,不能超過簽名總數","home.multi":"多簽錢包","home.create":"建立多簽錢包","home.receive":"收款","home.transfer":"轉帳","home.assets":"資產","home.setting":"設置多簽錢包","home.des":"設置多簽錢包的管理帳戶和權限,上鏈部署後將無法修改","home.team":"團隊名稱","home.name":"您需要為您的錢包命名,以便在簽名時您或團隊成員能快速識別","home.inputName":"請輸入團隊名稱","home.nameLength":"團隊名稱不能超過20個字元","home.sign":"簽名地址{{num}}","home.inputSign":"請輸入簽名地址","home.addreeType":"請輸入0000-0000-0000-0000-0000格式的地址","home.save":"該地址已存在","home.new":"新增簽名地址","home.num":"設定交易簽名門檻","home.inputNum":"請輸入交易簽名門檻","home.min":"最少需2個簽名","home.delete":"刪除","home.block":"區塊ID","home.hash":"交易雜湊值","home.address":"地址","home.date":"日期","home.type":"類型","home.contract":"合約","home.amount":"金額","home.check":"密碼驗證","home.balance":"餘額","home.send":"發送","home.recipient":"請輸入收款地址","home.count":"金額","home.dir":"請輸入發送金額","home.maxZero":"輸入金額必須大於零","home.maxAmount":"發送金額應小於最大{{num}}{{tokenSymbol}}","home.gas":"Gas手續費","home.comment":"備註","home.commentInput":"請輸入備註","home.expedit":"加急手續費(可選)","home.expeditInput":"請輸入加急手續費","home.expedited":"加急手續費","home.examine":"查看","home.initiate":"發起轉帳","home.achieve":"收到來自{{to}}的轉帳","home.wait":"等候簽名","home.finish":"簽名完成並執行","home.noMessage":"沒有新訊息","home.second":"幾秒前","home.messageDetails":"訊息詳情","home.notice":"簽名通知","home.current":"當前簽名數","home.tactics":"簽名門檻","home.rejected":"已拒絕","home.approved":"已核准","home.explore":"到區塊鏈瀏覽器查看詳情","home.time":"時間","home.content":"內容","home.signnum":"簽名數","home.collection":"請輸入收款金額","home.saveqr":"儲存QR碼","home.cody":"複製收款連結","home.give":"分享至...","home.limit":"輸入不能超過 {{num}} 個簽名地址","home.over":"不能超過 {{num}} 個地址","home.continue":"繼續","home.add":"添加代幣","home.build":"創建","home.sure":"確認多簽錢包地址","home.mistake":"請確認你的多簽錢包資訊,避免發生錯誤","home.mulAddress":"多簽地址","home.signAll":"{{num}} 至 {{length}}交易簽名數","home.noGas":"沒有足夠的GAS費","home.maxExpedited":"加急費數量應小於最大數量{{num}} {{tokenSymbol}}","home.inputAccount":"請輸入帳戶名稱","home.iName":"請輸入iName","home.nickname":"iName不符合規則","manage.import":"導出","manage.longPassword":"新密碼不能超過50個字符","manage.safety":"安全性","manage.setting":"錢包密碼設定","manage.old":"舊密碼","manage.oldPassword":"請輸入舊密碼","manage.oldError":"輸入密碼與舊密碼不符","manage.check":"密碼安全驗證","manage.newPassword":"設定新密碼","manage.again":"新密碼確認","manage.new":"新密碼","manage.inputPassword":"請輸入新密碼","manage.againPassword":"請再次輸入密碼","manage.againNot":"重新輸入密碼與新密碼不符","manage.success":"密碼變更成功","manage.phrase":"種子詞","manage.custody":"請妥善保管您的種子詞,切勿告知任何人","manage.show":"顯示種子詞","manage.hide":"隱藏種子詞","manage.private":"私鑰","manage.custodyKey":"請妥善保管您的私鑰,切勿告知任何人","manage.showPrivate":"顯示私鑰","manage.hidePrivate":"隱藏私鑰","manage.language":"語言","manage.select":"選擇您的語言","manage.user":"使用者FAQ與使用手冊","manage.help":"幫助中心","manage.about":"關於我們","manage.open":"開源社群","manage.add":"添加新賬戶","manage.create":"請完成新賬戶的創建後再添加","manage.close":"隱藏賬戶","manage.use":"繼續使用","manage.clean":"清除賬戶","manage.all":"本地清除賬戶私鑰與助記詞,如需恢復數據可再次導入","manage.current":"當前帳戶","user.dosuccess":"操作成功","user.chain":"正在確認中……","user.tips":"提示","user.urgentpay":"加急費(IBXC)= 支付的生態資產 / (跟隨比例 *生態精度)","user.tokensave":"代幣已存在","type.package":"打包服務費","type.taxation":"稅費","type.trade":"轉賬","type.tokenTrade":"代幣轉賬","type.create":"創建錢包","type.iname":"創建INAME","type.issue":"發行通證","type.coin":"銷毀通證幣量","type.private":"基金會領取","type.team":"研發團隊領取","type.partner":"私募一輪領取","type.foundation":"合作夥伴領取","type.nft":"NFT礦機挖礦","type.mining":"新建NFT礦機質押","type.pledge":"轉出質押數額","type.exchange":"代扣兌換","type.burning":"燃燒","type.detele":"帳戶刪除","type.paid":"候選節點繳納保證金","type.nodes":"代繳候選節點保證金","type.voting":"候選節點投票","type.deposit":"撤回候選節點保證金","type.withdrawal":"撤回候選節點投票","type.textcoin":"領取測試幣","type.privateye":"私募二輪領取","type.offering":"公募領取","type.num":"接收私募1剩餘數量","type.child":"子帳戶扣款","type.issuance":"增發","type.twonum":"接收私募2剩餘數量","type.remove":"團隊移除子帳戶之後的退還","type.airsend":"空投發放量","type.aristack":"空投加速質押量","type.getair":"領取空投","type.getstack":"領取空投質押","type.locking":"空投鎖定量","type.createiname":"創建iName","type.cross":"跨鏈鑄造","type.crosslock":"跨鏈提取鎖定","type.destruction":"跨鏈銷毀"},ri={"ar-SA":{translation:Lt},"bn-BD":{translation:Gt},"de-DE":{translation:Ft},"en-US":{translation:zt},"es-ES":{translation:Ot},"fr-FR":{translation:Ut},"it-IT":{translation:jt},"pt-PT":{translation:Wt},"ru-RU":{translation:Zt},"tr-TR":{translation:Xt},"vi-VN":{translation:$t},"ja-JP":{translation:ai},"ko-KR":{translation:oi},"zh-CN":{translation:Mt},"zh-TW":{translation:ii}},Ea=localStorage.getItem("lang")||"en-US";En(zn).use(Nn).init({resources:ri,fallbackLng:Ea,lng:Ea,debug:!0,interpolation:{escapeValue:!1}});const si="modulepreload",ci=function(a){return"/"+a},za={},te=function(e,n,t){let i=Promise.resolve();if(n&&n.length>0){const r=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),y=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));i=Promise.all(n.map(p=>{if(p=ci(p),p in za)return;za[p]=!0;const C=p.endsWith(".css"),v=C?'[rel="stylesheet"]':"";if(!!t)for(let h=r.length-1;h>=0;h--){const x=r[h];if(x.href===p&&(!C||x.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${p}"]${v}`))return;const d=document.createElement("link");if(d.rel=C?"stylesheet":si,C||(d.as="script",d.crossOrigin=""),d.href=p,y&&d.setAttribute("nonce",y),document.head.appendChild(d),C)return new Promise((h,x)=>{d.addEventListener("load",h),d.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${p}`)))})}))}return i.then(()=>e()).catch(r=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=r,window.dispatchEvent(s),!s.defaultPrevented)throw r})},li=({children:a})=>{const e=ta(),n=we(e.breakpoints.up("md")),t=we(e.breakpoints.up("sm")),i=30,r=t?25:0,s={p:t?4:2,borderTopLeftRadius:i,borderTopRightRadius:i,borderBottomLeftRadius:r,borderBottomRightRadius:r,m:t?2:0,height:"calc(100vh - 80px)",overflowY:"auto",mt:0,mb:t?2:0,mr:t?2:0,ml:t?n?0:2:0,backgroundColor:e.palette.container.main};return o(Fa,{sx:s,elevation:0,children:a})},Re=({num:a=1})=>{const e=[];for(let n=0;nl(b,{mb:1,children:[o(va,{variant:"rounded",height:30,width:"50%",animation:"wave",sx:{mb:1}}),o(va,{variant:"rounded",height:50,animation:"wave"})]},n))})},mi=Y.fromInt(255),di=a=>{const e=[];let n;for(let t=0;t<256;t+=1){n=Y.fromInt(t,!0);for(let i=0;i<8;i+=1)n.and(Y.ONE).eq(Y.ONE)?(n=n.shiftRightUnsigned(1),n=n.xor(a)):n=n.shiftRightUnsigned(1);e[t]=n}return e},ui=(a,e)=>{let n=Y.MAX_UNSIGNED_VALUE;for(let t=0;tui(gi,a).toString(10),Fe=a=>new Uint8Array(a.match(/[\da-f]{2}/gi).map(n=>parseInt(n,16))).buffer,hi=a=>{if(a>=0&&a<128){const r=new Uint8Array(1);return r[0]=a,r}const{buffer:e}=new Mn.Uint64BE(a);let n=1;for(;e[n]===0&&n{let n;return a instanceof ArrayBuffer&&(a=new Uint8Array(a)),e instanceof ArrayBuffer&&(e=new Uint8Array(e)),a instanceof Uint8Array&&e instanceof Uint8Array&&(n=new Uint8Array(a.length+e.length),n.set(a,0),n.set(e,a.length)),n.buffer},Cr=a=>{let e;return a instanceof ArrayBuffer&&(a=new Uint8Array(a)),a instanceof Uint8Array&&(e=hi(a.length)),pi(e,a)},ce=new Va.ec("secp256k1"),yi=20,Ze={generatePublicKey(a){return ce.keyFromPrivate(a).getPublic().encode("hex",!1)},publicToID(a){if(a.startsWith("04")){const e=q.enc.Hex.parse(ye.keccak256(Fe(a.slice(2)))),n=Oa.SHA512(e).toString(),t=[];for(let v=0;vparseInt(v,10)),y=Z.checksum(s.slice(0,-1));return Y.fromString(i).sub(Z.remainder(i,10)).add(y).toString()}throw new Error("Unsupported public key format")},sign(a,e){const n=ye.keccak256(a),t=ce.sign(n,e,"hex",{canonical:!0});return t.r.toString(16,32)+t.s.toString(16,32)},hexHash(a){const e=ye.keccak256.arrayBuffer(a);return ye.keccak256(e)},signContract(a,e){const n=ye.keccak256(Fe(a)),t=ce.sign(n,e,"hex",{canonical:!0});return t.r.toString(16,32)+t.s.toString(16,32)},verify(a,e){const n=ye.keccak256(e),t=ce.sign(n,a,"hex",{canonical:!0}),i=ce.keyFromPrivate(e,"hex").getPrivate().toString(10),r=ce.recoverPubKey(i,t,t.recoveryParam,"hex");return ce.verify(e,t,r)}},le=new Va.ec("p256"),Ai=20,fi={generatePublicKey(a){return le.keyFromPrivate(a).getPublic().encode("hex",!1)},sign:(a,e)=>{const n=Ae.sha3_256(e),t=le.sign(n,a,"hex",{canonical:!0});return t.r.toString(16,32)+t.s.toString(16,32)},publicToID(a){if(a.startsWith("04")){const e=q.enc.Hex.parse(Ae.sha3_256(Fe(a.slice(2)))),n=Oa.SHA512(e).toString(),t=[];for(let v=0;vparseInt(v,10)),y=Z.checksum(s.slice(0,-1));return Y.fromString(i).sub(Z.remainder(i,10)).add(y).toString()}throw new Error("Unsupported public key format")},hexHash(a){const e=Ae.sha3_256.arrayBuffer(a);return Ae.sha3_256(e)},signContract(a,e){const n=Ae.sha3_256(Fe(a)),t=le.sign(n,e,"hex",{canonical:!0});return t.r.toString(16,32)+t.s.toString(16,32)},verify(a,e){const n=Ae.sha3_256(e),t=le.sign(n,a,"hex",{canonical:!0}),i=le.keyFromPrivate(e,"hex").getPrivate().toString(10),r=le.recoverPubKey(i,t,t.recoveryParam,"hex");return le.verify(e,t,r)}},vi=64,Me=12,Z={validatePrivateKey:a=>!a||vi!==a.length?!1:/[a-f0-9]/i.test(a),checksum(a){let e=0,n=0,t=0;for(let i=0;i0&&(t=10-t),t},remainder(a,e){const n=parseInt(a.slice(0,a.length-10),10)%e,t=parseInt(a.slice(10),10)%e;return(n*(10**10%e)+t)%e},addressString(a){const e=Y.fromString(a,!0,10).toString(),n="0".repeat(20-e.length)+e;let t="";for(let i=0;i<4;i+=1)t+=`${n.slice(i*4,(i+1)*4)}-`;return t+=n.slice(16),t},stringToAddress(a){if(a.length===0)return 0;a[0]==="-"&&(a=Y.fromString(a,!0,10).toString()),a.length<20&&(a="0".repeat(20-a.length)+a);const n=/-/gi,t=a.replace(n,"");if(t.length!==20)return 0;const i=Y.fromString(t,!1,10).toString(),r=t.slice(0,19).split("").map(Number);return this.checksum(r)!==parseInt(t.slice(19,20),10)?0:i},addressToID(a){let e;a=a.trim();const n=a.split("-").length-1===4;return a.length<2?"0":(a[0]==="-"?e=Y.fromString(a,!0,10).toString():n?e=this.stringToAddress(a):e=Y.fromString(a,!1,10).toString(),String(e))},toMoney(a){const e=/([\d]+)((\.|,)([\d]+))?/.exec(String(a));if(!e)return null;const n=e[1],t=e[4]||"";let i=n;for(let r=0;rMe&&(i+=`.${t.slice(Me,Me*2)}`),i},getKeyring(a){let e=Ze;switch(a){case"SHA256":e=fi;break;case"KECCAK256":e=Ze;break;default:e=Ze;break}return e}},bi=Qa(Dn)(({theme:a})=>{const e=we(a.breakpoints.up("md"));return{"&":{width:e?"40%":"95%",margin:"auto",padding:0},"& .MuiDialogContent-root":{padding:a.spacing(2),width:"100%",minHeight:e?"60vh":"40vh",maxHeight:e?"60vh":"40vh"},"& .MuiDialogActions-root":{padding:a.spacing(2)}}}),wi=({isAdd:a,closeDialog:e,ecoItem:n})=>{const{t}=_(),[i,r]=c.useState(null),s=c.useRef(1),[y,p]=c.useState(!1),[C,v]=c.useState(!1),E=10,d=c.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getOpenEcosystem",id:1,params:[2,0,10]}),[]),h=c.useCallback(async()=>{d.params=[2,0,10];const A=await Sa(d),U=A==null?void 0:A.list.map(P=>P.ecosystem),O=await Ke("ecosystem_logo",{ecosystems:U.join(",")}),H=A==null?void 0:A.list.map(P=>{const z=O.find(m=>Number(m.ecosystem)===P.ecosystem);return P.info.logoURL=z==null?void 0:z.logoURI,P});r(()=>({count:A.count,list:[...H]}))},[d]);c.useEffect(()=>{a&&h()},[h,a]);const x=()=>{h(),e()},R=async A=>{if(y)return;const{target:U}=A,O=U,{scrollHeight:H,scrollTop:P,offsetHeight:z}=O;P+z>=H-25&&Math.ceil(i.count/E)>s.current&&!y&&(p(!0),s.current+=1,d.params[1]=(s.current-1)*E,setTimeout(async()=>{const S=await Sa(d),M=S==null?void 0:S.list.map(D=>D.ecosystem),G=await Ke("ecosystem_logo",{ecosystems:M.join(",")});Math.ceil(i.count/E)>s.current?v(!0):v(!1);const L=S==null?void 0:S.list.map(D=>{const I=G.find(N=>Number(N.ecosystem)===D.ecosystem);return D.info.logoURL=I==null?void 0:I.logoURI,D});r(()=>({count:S.count,list:[...i.list,...L]})),p(!1)},500))},V=async A=>{n(A)};return l(bi,{fullWidth:!0,onClose:x,"aria-labelledby":"customized-dialog-title",open:a,children:[l(K,{direction:"row",justifyContent:"space-between",alignItems:"center",children:[o(Ln,{sx:{m:0,p:2},id:"jutkey-customized-dialog-title",children:t("home.add")}),o(ue,{"aria-label":"close",onClick:x,children:o(Rn,{})})]}),o(Kn,{dividers:!0,sx:{height:"50vh"},children:l(ia,{component:"ul",sx:{height:"45vh",overflowY:"auto"},onScroll:R,children:[i?i.list.length?i.list.map(A=>l(Ua,{onClick:()=>{V(A)},children:[o(Gn,{children:A.info.logoURL?o(ee,{src:A.info.logoURL,sx:{width:30,height:30},children:o(Ge,{})}):o(ee,{sx:{width:30,height:30},children:o(Ge,{})})}),o(ke,{primary:o(c.Fragment,{children:o(B,{component:"div",variant:"body2",mb:1,sx:{width:"70%",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:`${A.info.name} # ${A.info.id}`})})}),l(b,{sx:{display:"flex",alignItems:"center"},children:[o(B,{variant:"body2",children:f.formatFixed(A.info.total_amount,A.info.digits)}),o(B,{variant:"body2",sx:{ml:1},children:A.info.token_symbol})]})]},A.ecosystem)):o(K,{direction:"row",justifyContent:"center",alignItems:"center",height:"100%",children:o(B,{children:t("login.no")})}):o(Re,{num:3}),o(b,{sx:{display:"flex",justifyContent:"center",alignItems:"center",mt:3},children:y?l(W,{children:[o(ra,{size:20}),o(B,{variant:"body2",ml:2,children:t("nav.load")})]}):C?o(W,{children:o(B,{variant:"body2",ml:2,children:t("nav.drop")})}):o(W,{children:o(B,{variant:"body2",ml:2,children:t("nav.nomore")})})})]})})]})},ki=c.memo(wi),Ci=()=>{const a=sa(),{t:e}=_(),n=ta();we(n.breakpoints.up("md")),we(n.breakpoints.up("sm"));const t=J(ga);f.getCache("current");const i=J(ua),r=f.getCache(i.wallet)||[],[s,y]=c.useState([]),[p,C]=c.useState(!1),[v,E]=c.useState(""),[d,h]=c.useState(""),[x,R]=c.useState(!1),V=c.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getKeyInfo",id:1,params:[i.wallet]}),[i.wallet]),A=c.useCallback(async()=>{if(i.wallet){const m=await Io(V);if(E(Z.addressToID(i.wallet)),m){const S=[],M=m.ecosystems.map(T=>(S.push({jsonrpc:"2.0",method:"ibax.getBalance",id:Number(T.ecosystem),params:[i.wallet,Number(T.ecosystem)]}),Number(T.ecosystem))),G=await To(S),k=await So("token_price",{ecosystems:M.join(",")}),L=await Ke("ecosystem_logo",{ecosystems:M.join(",")}),D=G.map(T=>{const X=m.ecosystems.find(oe=>Number(oe.ecosystem)===T.id),re=k.find(oe=>Number(oe.ecosystem)===T.id),ge=L.find(oe=>Number(oe.ecosystem)===T.id);return{id:T.id,name:X.name,tokenSymbol:T.result.token_symbol,digits:T.result.digits,logoURI:ge.logoURI,amount:T.result.amount,totalAmount:T.result.total,assets:f.formatDecimalPlaces(f.times(f.formatUnits(T.result.amount,T.result.digits),re.price_in_usd||0),6),price:re.price_in_usd}}),I=f.handleReduce([...D,...r]);y(()=>[...I]),f.setCache(`${i.wallet}-all`,[...I]);const N=D.reduce((T,X)=>f.fromPuls(T,Number(X.assets)),0);h(f.format(N))}}},[V,i.wallet]);c.useEffect(()=>{A()},[A]);const U=m=>{const S={...m,keyId:v},M=encodeURIComponent(JSON.stringify(S));a({pathname:"/record",search:`?${Vn({query:M})}`})},O=()=>{R(!0)},H=()=>{R(!1)},P=async m=>{if(s==null?void 0:s.some(M=>Number(M.id)===Number(m.ecosystem)))C(!0);else{const M=await Ke("ecosystem_logo",{ecosystems:`${m.info.id}`}),G={id:m.info.id,name:m.info.token_name,tokenSymbol:m.info.token_symbol,digits:m.info.digits,logoURI:M[0].logoURI,amount:"0",totalAmount:"0",assets:"0",price:"0"};r.push(G),f.setCache(i.wallet,r),s==null||s.push(G),f.setCache(`${i.wallet}-all`,s),y(()=>[...s]),R(!1)}return!1},z=()=>{C(!1)};return l(li,{children:[t.length?l(W,{children:[l(K,{direction:"row",justifyContent:"space-between",alignItems:"center",mb:3,flexWrap:"wrap",children:[o(K,{direction:"row",alignItems:"center",sx:{width:{xs:"100%",sm:"100%",md:"auto"},justifyContent:{xs:"center",sm:"center",md:"left"},mb:{xs:2,sm:2,md:0}},children:s&&s.length?l(W,{children:[l(B,{variant:"h6",children:[e("home.assets"),":"]}),l(B,{mx:1,variant:"h6",children:[d||0," $"]})]}):o(Re,{num:1})}),o(K,{direction:"row",sx:{width:{xs:"100%",sm:"100%",md:"auto"},justifyContent:{xs:"space-around",sm:"space-around",md:"right"}},children:s&&s.length?l(W,{children:[l(Ie,{sx:{minWidth:120},color:"primary",to:`/receive/${s[0].tokenSymbol}/${s[0].id}/${v}`,component:de,variant:"extended",children:[o(ba,{sx:{mx:1}}),e("home.receive")]}),l(Ie,{sx:{mx:2,minWidth:120},color:"primary",to:`/transfer/${s[0].tokenSymbol}/${s[0].id}/${v}`,component:de,variant:"extended",children:[o(wa,{sx:{mx:1}}),e("home.transfer")]}),l(Ie,{sx:{minWidth:120},to:"/create",component:de,color:"primary",variant:"extended",children:[o(Fn,{sx:{mx:1}}),e("home.newBuilt")]})]}):o(Re,{num:1})})]}),o(b,{children:s&&s.length?l(W,{children:[o(b,{minHeight:"50vh",maxHeight:"60vh",sx:{overflowY:"auto",mb:2},children:o(ia,{sx:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",mb:{xs:2,md:3,lg:5}},children:s.map(m=>l(ca,{sx:{width:{sm:"100%",md:"48%"},px:3,py:2,backgroundColor:S=>S.palette.onBody.main,borderRadius:5,mb:2,cursor:"pointer",justifyContent:"space-between"},onClick:()=>{U(m)},children:[l(K,{flexGrow:0,direction:"row",alignItems:"center",children:[m.id===1?o(ee,{src:"/logo-big.png",sx:{width:30,height:30},children:o(Ge,{})}):o(W,{children:m.logoURI?o(ee,{src:m.logoURI,sx:{width:30,height:30}}):o(ee,{sx:{width:30,height:30},children:o(Ge,{fontSize:"medium"})})}),o(ke,{primary:`${m.tokenSymbol}#${m.id}`,sx:{ml:1}})]}),o(ke,{sx:{flexGrow:0},primary:`$ ${m.assets}`,secondary:l(c.Fragment,{children:[o(B,{component:"span",variant:"body1",children:f.formatFixed(m.amount,m.digits)}),o(B,{component:"span",variant:"body1",ml:.5,children:m.tokenSymbol})]})})]},m.id))})}),o(K,{direction:"row",justifyContent:"center",children:o(ae,{sx:{fontSize:"16px",minWidth:150,lineHeight:2.4},color:"primary",variant:"filled",size:"large",onClick:O,children:e("home.add")})})]}):o(Re,{num:3})})]}):l(b,{children:[l(K,{direction:"row",justifyContent:"space-between",alignItems:"center",mb:3,flexWrap:"wrap",children:[l(K,{direction:"row",alignItems:"center",sx:{width:{xs:"100%",sm:"100%",md:"50%"},justifyContent:{xs:"center",sm:"center",md:"left"},mb:{xs:2,sm:2,md:0}},children:[l(B,{variant:"h6",children:[e("home.assets"),":"]}),o(B,{ml:1,variant:"h6",children:"0 $"})]}),l(b,{ml:"auto",children:[l(Ie,{color:"primary",variant:"extended",disabled:!0,sx:{ml:5,minWidth:120},children:[o(ba,{sx:{mr:1}}),e("home.receive")]}),l(Ie,{color:"primary",variant:"extended",disabled:!0,sx:{ml:5,minWidth:120},children:[o(wa,{sx:{mr:1}}),e("home.transfer")]})]})]}),o(K,{direction:"row",justifyContent:"center",alignItems:"center",children:o(ae,{to:"/create",component:de,sx:{m:"20%",fontSize:"16px",minWidth:150,lineHeight:2.4},color:"primary",variant:"filled",size:"large",children:e("home.create")})})]}),o(ki,{isAdd:x,closeDialog:H,ecoItem:P}),o(ma,{open:p,autoHideDuration:2e3,onClose:z,anchorOrigin:{vertical:"top",horizontal:"center"},children:o(la,{onClose:z,severity:"warning",variant:"filled",sx:{width:"100%"},children:e("user.tokensave")})})]})},xi=[{index:!0,element:o(Ci,{}),meta:{key:"3"}},{path:"/receive/:tokenSymbol/:id/:keyId",title:"home.receive",lazy:()=>te(()=>import("../receive/multikey.Ctq6N_pG.js"),__vite__mapDeps([0,1])),meta:{key:"4"}},{path:"/collection/:tokenSymbol/:id/:keyId/:amount",title:"home.receive",lazy:()=>te(()=>import("../transfer/multikey.BD2GG93t.js"),__vite__mapDeps([2,1,3])),meta:{key:"5"}},{path:"/transfer/:tokenSymbol/:id/:keyId",title:"home.transfer",lazy:()=>te(()=>import("../transfer/multikey.Cp4gIKC7.js"),__vite__mapDeps([4,1,3])),meta:{key:"6"}},{path:"/create",title:"home.create",lazy:()=>te(()=>import("../createTeam/multikey.B7kjiwO2.js"),__vite__mapDeps([5,1,3])),meta:{key:"7"}},{path:"/record",title:"nav.record",lazy:()=>te(()=>import("../record/multikey.5l1BgJmX.js"),__vite__mapDeps([6,1,7])),meta:{key:"8"}},{path:"message",title:"home.message",lazy:()=>te(()=>import("../message/multikey.dp6Vkug2.js"),__vite__mapDeps([8,1])),meta:{key:"9"},children:[{index:!0,title:"home.message",lazy:()=>te(()=>import("../messageList/multikey.DassHwqZ.js"),__vite__mapDeps([9,1,7])),meta:{key:"10"}},{path:"details",title:"home.details",lazy:()=>te(()=>import("../details/multikey.DJipP_tm.js"),__vite__mapDeps([10,1,7,3])),meta:{key:"11"}}]},{path:"/manage",title:"nav.manage",lazy:()=>te(()=>import("../manage/multikey.Bnz6HJn4.js"),__vite__mapDeps([11,1])),meta:{key:"9"}}];function Si(){return l("div",{children:[o("h2",{children:"Nothing to see here!"}),o("p",{children:o(de,{to:"/",children:"Go to the home page"})})]})}const Ii="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAAz/SURBVGje5ZpbbFzHecf/3zdzzl64JJeXJSmRlGnKqmxJ1i0WasuN68h2HaOJY1jIQ1OgDwWKon1ykQAp0KBA0KJPRV20BfxWBH1pAQcwIrttXEh2IMc3VXIsJZYV3ciId5GSyOVeuOfMzNeHc/ZCirZ2Kapx0QMMl9xdzpz/7/vmP5czwK/3orj8Wm/gf7MdAsAAVFw4ft8BsHFxACR+X1po4wsHoBpdlfZ0+svD/f17B7pHt3Z2jGYzbUOpZKJHa50EICY0K6XKyo3FQnFyajF/9dzszavvTFyfWzGm1ADknsC4FwBi4Zx49oHB4SeH+x7fsbX/qYH+gQPZ3txQujObSaTTrDwfxAqAQJyDCQIEpaIt5RcLt+bnJ2fmZs9cmp478fbE9feOX5maBCS4FyA2GwAD7L+wa2T0maGeow9uGz46OLr9wc6BoYSfaQcrHX1LJCqr7oSiAsBZg0ohj6XpyZWpscvnP7029cP/mlx47fVPx8cACRFlxRcKAAFQu7cN9fzBSM+LB7bm/njkoT17siPblU6mAScg524TXm18FYoYhDADTDDlIm6NXbLjFz45e2Z64ZUfjN/40cWJqZtY7RUbvtQmifd+7+CuXX843PH9R0eHXxo99PhQ++A2VgIgCEBhCFgDGAtYA7IWZC0Ql7V/wxqQCQFjwKyR7unjnt7clr6g8NRDnhvUHV2Xzs8uLGITMuFuARCAxEuH9z7xjax6efd9257r/9Jhz09lIuHGAMasEefuUCzgVsOAMdCpNNpzA362uLhvyBb39/b3Xzo1OTdztxDuBgABSHz3y/uf+Z20e3k017uv+8BjUNoHBUGDcBNFWSzEWZCykDAW+VmlEZirQyClkezOUdvN2eE+Wz40sGXLxfcn5ibuBsJGARAA788e3/fEMyn38pDmndl9j8KrRj4WDWtBzkKsg+oySO4MQAkDOy8QdwcIrv6/NRDGgJWGTmfgT4/39Wrs7+rvP3dqcm4KG/SDjQLQ33pk967nO9XLQ0FxX2Z4O9IPbAPCAAhMrV9LXGAtdE+I9MEKAAszJ3AltzrS6xRp8AixFnAGsAacSAGlIhI3Z/u608kHTGf3++dn5m9sBMJGAPDOkW29fzTU8f3tYfG5pBDaduxB2wGCVAzcYhS5RhEkFmIs7JJDeE1g5lwkyNTTnO4AYxUQ50CsYCZ/hTay27oz6eTpino3n8+vtAqhVQAEIPHnB7d/az9VXmorFD0/3YHUjhG0HV4BhQbBONb03/jmiw5mXmCXHBBYcNqAUxYEC6ncORvWgiBm2LlpoFRAW0LvyHV1Xj0xNvMJWvSDVgHw0YO7f+O5Lv6bAb8w5KkyErkepPf2IrW3DGKDcEIAsiDPAGIglQYYJi5i4d9fQeYrZUhoo/9pAQCsAcTBLszD5hfhK/aTSX/rUlvXWxfnFm61kgW61eg/3ZN8sd+WHm7bXUL2SB5+rgTdtQxSDnoA6Dy6AggQzjFKP/Vh8nx7Rb4AZKI+DQOIBwlbnJMRQCCo0ABBgP5EcPCrfekX3gD+AUClWQitZAD/7v5d9381q/6yp1Ta4q6EwJJBancKeiALiAWRBfkGwRVB8W0FM7t+ZCWwsPMO4ZSgcgGQwNX9oIVir8/ALecBZmjFzEk/O5PMvjl2fWGpWQCtZIB6ojf1Wz2usotNCKo4FN/2wNog990yyI8iaGYV8m8ouHz4uRNtCYCg0FrQV13OQUpFkAjYWkgYoteFe47k2h59C7iGJr2gWQCE9u70qI8j6TD02URODBJ4A4sgvQQznQFnHFQHwAnABnzHlQYlAFlB6ysSIki5BCkWAAjIOrC1SNswtT2ZPAIv8zrCQvThJgHA8zsGBnrZHdTGROKdQLULkjtLKBxfRPHdDugc0P5cBd59gmDM/0xh5Al0v0Nyt0X5rIadJ4htgQIB9sZ1SBiACBCJIHjWIJewjzz90FDu+LkLTeVX0xmwpzM5moEZZGfB8cqO04L8f/hY+WQZKleEmfVhZhl6qwGcQBzdHgQhgATJhwNkfjuAVHwUpn2Iid5vRr1UVmBvLDS+EwXFOnSQG97XlRo5DoxvZgbwlgSPJuEy5AQkEkVhgVGaYwArAM1A9fYhnGaYWQCwiL8W6a7+oLj//9JgORBULlu4UlDdCrjjJc7BLsxBgko1GeJtEgGJQ1Jsx2DSux/ASTThA80CUB2ahjxxTCJ1UYKaQrecB0BQnVkI1Ye+aggoJeCEgBKAmWWsnBOUP2KQtoBxzVm2c7D5W3Fb9asKj0TgQXSnpiHU9xs3A4DWKaYe5QRcTVOKW65ucIjALS9Fa/lMe7zdVY0akHzAoPPFCioXFfKvJ+BKVMuGZkxQrIUU8nCl4uoPGlIn2m11SCvKockhvhkABPisWBLs4vYaN7MbGEAErlgABQEo3QbSXvQ9AUgZcLIC8jVIE1xIzbm/ABIGkHIREoa3aa/GobYTSYDHSAMJjuZDdw8AgAgRgRhgIghHrQrJujYjYQDJhyDPB/k+oBRWfkFYmPMgBjCzFlDrJX2DY4jEk6YAEga37yE2QqBYOUe/U7WOTcoAAUJxoAqYQYpATJGZV0MAuf3+RCBBJbp5VpCygr3FIGaA7Pr2JAKRyM3FGqC6j/g5wqMCEFchEAxREQg2cyJkzIpgQZijhlTUEDuBI0BkneGuQRSsiQQBkIbd39prg498luC14lETjigoigDFEMUoG8wjesiyWQBglywmrceONDMxQxTBOYq7ngCuqXtvWmQzEIijDGCOAIhiGFZm0WISTU6FmxoqALiZFXelQroArUCawYrBihrSkJoey+9aeEObrAisGaQZ8BQqrPJTZTu22QDk3K3yWIHUJDwN8hRIx42rOAJVA7qHEGriOWqz2j4pBmkFaIUC1LWf3SiNo0kXbBYAjn0yNTfv+IzVGvAUSCuwZqgYQAShwZQ2EUS1vrp4gBVB6Tj6XhR9qz1ct3z6+MfjC83W3XQGoHyreKWMt0rKq1SzgDVD6fhGmOsQmGomtRniQfV6o8hH4FUt/RXgaRS1V7pUlhNAqYzNzgAA7sRM4d15eOfF80CejrygEUJDNvCaYWojwmv9nFCvN458PfoK5Gk438d18X7+48n8h2hhX7AVAPLGmV9MXKrwD0ue78TXMYR6JuhGEDUY9dStp/JnCV7r7qhFvCpc69WRJ60gvoeS9s0vV+jVt85+Ot1s9FsGACD49+nia9PwP7a+jwhCnAVeI4T6KFF7XeMTtYhW3280t5rBcQ2m0lwDrOI2yYvEm4SPKfinfzSRPwYgbAVAy88Fzk/N5fePDpvBFD+VEuexCFhktVFVJyjxTHG9Wdvq4bMRDNdAVCOt4qgrzRFczWCtIAkPNunjhp9aPrnMf/WPP/nZT9HkBGjDAADIxYq69qUtXUM5H/s0HBiCaHlQF8jx2qG6fmBG3chqn1XNjVcNa5HB1Y1OKa5llaqlvYZN+CglUnLOJP/lLz6ceKWwnC+1Ev0NA7i1uLTidfZcuj+b2pfVGGbEWQCJp+P1dK4NW9zgCXx7F1hPODdEXKkIADTDeRo2kUAllcZFpE7+YKzwvVMXLk1hAw9JN/x0+NzE7M3cwNbLW7vbD7WnEjnWHkgpEHMNRG2R1iCemaCYwAr1qGuKBa6F0OAjWgPJJCTdBpvJoNLegXFKn31tpvKdf37no5+jxdS/awAA5L2rU9NbhoYv9nVnD2Y6MjlOtYHaMuB0BpxKg/0EWKuoX1ddvbqsrkJQ9TlELdW1gkr4UR3tHaCOLJDthst2wbRnUWnvxBhSZ1+fLn/7b998/30ABht8Ony3UxUC4H/n608+9rXtfX+9vc07nBZHyloo56CcizcrTbSZEQZAGEJMGK31xQGIJ05Kg7QGtA94HsjzIEpDmOGYYZlhlUKR2F0uBO8cuzj3vb//z5On0KLrbzaAah36948c3vnNfdu//VBv+ze7PNXmxQBYBAwBSW3rIFo9ouG2q6tixNtkiJbNDoAjgmVGyIybgV0+v5D/t3/96NLfvXrywyt3E/nNBFCth3eOjnT/6dOPPf/IfQN/MtjZti+jlVbxMMlADcR6Ddd21QhwILj41RChaKyZXCycOTU+88o/vfneG1cnJhaxSYek7sExOXgvPvn4yNcOPfzCg1v7jvZ1ZB7OJLykxwQF1DMBsuaUGMWRj9wsdIJCJSjPLRXOfTo19+qxU+eOHXvng18hivoX7pjc2joJgP/s4d/c+uyhvY/tGBw40p/teKQ9nRxO+V67p5RWxKs2hKw4hMaachDm86XytbnF/OmLk7MnfvzfH39w/IPTM6j39S/0Qcn1QHAikUx95dCB3MGd20cGcz2j2UzbYDrh5zymNgASOimVKsH1W8uFycnrC2NnLlwe/8npj+fDMFjB/8Gjsp/XTvWwdPXA9HqHpRvF3vPD0v/vr/8BFsR+Jy5shYcAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTItMDMtMjJUMjI6MTQ6NTEtMDU6MDDipL3hAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDEyLTAzLTIyVDIyOjE0OjUxLTA1OjAwk/kFXQAAAABJRU5ErkJggg==",Ti="/static/hongkong-CmLQsAWM.png",Bi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAAscSURBVGje5ZprbFTHFcf/Z+Y+9uG1jc0uBtsETHgZghMaEE6TqiJt0yoPpdCkUtXvadSPSatKzZeq+VQpiRK1ypeqVau2SkWqBIiaVoI+UgIJhSRAeBObwvq5+LUP7969M3P64e6atXnt+kGoOtLR2qPdmfn/zrlnHneAz7dQyT7XAdzOfgiAACBLJkr1BoAumQHApXquoY87DkDZu9KyrEgi0bykqamxo76+viMSibSFQm6zZVkhAOz7quB53kgul0tmMpme0dHxnuHhK0NK6ckKIAsCYyEAEAASQrrLli1pTySavphIJB5uaWm5Lx6PtzU0LKqLRqPCth1IGQSA1gbFoofJyZweHx/PplLDycHBwaPDw6n9w8MjB/v7h5LMprgQIOYbgBDCclasaO1oamrY2dbWtnPVqlXrWlvb3VisHlJaYAaYGcxXdRAFQxGCSkAU0ukJJJOXCz09F04lk31vjo5OvHXxYrKX2fgIouKOAkAAZFtba/OiRbEd8XjzMxs2bNy4atUaGQ5HYIyB1maa8OCDp35OVIZBICJIKSCEwORkDhcunNUnT356bGRk7PWRkfTu/v7+UUzPFZ8rAAJgr1+/Zr3jiB+0trbu2LJlW3jx4gS0NtBaTwnnKodLVAlCQkqBVGoQhw9/kBsYGNjleealM2fOnQPgzxXCXAEQQO6mTesfYvZfbG9fvrW7+yGEQhEopWDM9FCfVQcUPBq2bSGXy+Lgwfe4v7/vEGD9+MSJ04cAlHPDrIqcIzy3q2vDV5UqvNLUtLiru/tB2LYDz/OglIJSGkopaK3naAq+78OybMTjCRoc7G/P53Nbli5dem5oKHUZc8gJswVAAOxNmzq/pLX3CjPWbt36AKLRWEn8fAkPTKng0/cVLMtCNBpFb29PAjD3trQsPT48nOqbbRTMFoDV2bmuk0i9MjGR7lq5cjXuumslPK9Y8vz8ib8KQU1BCIXCyGQyGBjoT4TDzt1NTYsPXbkyMjIbCLMBIJYvX744GrV/kk5nvmEMsHHjJliWDd/3F0T8TAhaG0gp0dvbC63V8mg0HJLSfT+TyRRqhWDVKJ4AOM3NsR25XGZHNptDY+Ni2LaDfD4/54RX9SCI4LohuG4E2ew4HMd5Oh5vfL+vr+/3qDEp1gygs3PtKt8vPpPLTYYLBR+O48L3FZj92yK+sjiOi3y+iGw2V+c4zvfWrVtz4MyZcxcWCgAB5Lqu3JFOZ+/J54vwfQUA8Dzvtnl/ajCllZPvKxQKReTz+c2xWMOTAF4D4FULoSYAd69f3V7wizuy+YLIF314SiNX8JArFG6r+HKZLHjwlIYoKlj5grTD4W+tXLv6zd6z5y8uBADZHbIftLLpzqwXiPeNwaJMBivyeZAQNTQ198Jaoz6bxYQxsH0F1/NR53kb/UhsWy9wCVWuDaoFQGheHHnM6O2dXtGxfA2hDcCAyGTgptOgcBhVr3XnWojAuRy8bBaGAWgD4yv4nhc+EYlu/12sYS8yE1lUEQVVR8DjieaWuPI3O0UfUmuQKQEuFMDDw5AtLbd1FlBDQxCeF5yoGAMuPQpLlH//V5Yl4vvOTmSraavqCNjoWh2xfKFVKA3SZpq39dAQRCQCct0Fh0BE0IUCdCp1tZIZZAyEUogp1d4Viq7YB1zEPEaAWErocJWqI21AhqeaZgCcz0P190O2tCx4LjDGQA8MgEuJl8qDMAzSBiGl6lvDWAngPVSRB6oFIBvAbbbWQhgDCk41puE1ExMAEeSiRcBCQTAGenQUJp2eVk3gAIBh2FpbDeA2XD1vnAcAbtQKMzdLw1PirynMMOPjgFIQ9fWAnMtG8zpFa5iJCZhc7tr+S4crghmWYUQYcZAtUcXirBoABNsSktkVzBC49sGa+p8ZJpMBex6org5k25g66pltYQYXi+BcDlwszhhYxbk6B98VzLDBEbiuQGF+AAAAV3ZGuPm5NReL4LExkOOAXBeQMli5Ed16qix9h5kBrcGeFwi/we+mQaj8u0ru1QBg+IoNkUdE17RLU1+a+Su+OngpQVIGn0LcOCqYwcYEwrUGtK5KOJW4lc7SoIhyKBTncSHk5VSexBUWYuqsrtx6ZTTcSBSUAqtg38DlSJgJoZxbqphGZ3qbCBAgMBFYEPKgFLio5w8AoNNESS2FISEEEUEQwTBPC7+qVgBViqwGQtkECCQIEAQlpRonSqLKpXC185UZYHzmWVaWpAAJgqDgxzNDcaHLzP4EAEEACQJJAc+y0n0GvfMNgI97qjdr20lYEiQFBFHQOa4FcTvEl/uVAARRkFssCxnLvvRxwb+IKgOy6hXLnsGRoZRjH9VhG+RIkC0gJUFKQMhg7UMzDPNklW2KsgU5FcIikC1AroQKW0g59pF9yaEr1eqqehrEaCrX+2jL3zZsc56OhaRraQGhNUgDXDYDoLxNmM+3eCW3U8n1JEtAJMCSYKSALy1k8u7kZwflfnw0nq+291rOA8y+jP9+972hU80d+fuk9GFDQxgDUgwoBFZ+wV35TrdyKDcb1vXm2JkxbyGIewtgi2AEwYcFX9lIXQideHdv8UPU8J6glkU77337zOUzp903s5mQ0dqGMRLMNH2QlSIqAZRvAJib2K3gzeiHmaCNhNYWspmQOn3K2bX/r2f7UUPs1QQAQHHvn/VbfYORT3ztQJEFIwXYIsDGdLMqvDUtY9VgsqKdGW2zFYS+JgtF7eJyf+TIW3vVHtT4vrDmHcup01fSm+9dptpa+eFQSNlCGJDg4Jm83hx1q79nhvhM4ZVWFi8JRgho2PBNCFfG6jL/OBD96as/P3WgFEdVl9ls2fjs+fClL2yOtsXjusuyNYgqIMycG2vxdqXNFG4H9YF4goYNxS6yk1H+5HjDb3/0wvjr2Wx6shbvzxrA6NhEwbLj5ztW2l2NjaZdSgMiLkHgqWx9S8GV3r6R+IpHiSVgqOx5F3mvDmcvNLz3q9/wCx8c7unDLF6SznrTfux4ajQRb72wbFl0S6zeiQtpg8gK9goSIME393Cl0OuJnlZHYGnBwIVGHXxTj4LfiJ6Ljcf+9LZ4/pe/PnkCNYb+nAEA4AMHh/qXLl1+LpFo2FwXq4sLUQeIWMmigHBBQgKSbh3yU0bBCsdyABkBy3owNcFQMzQ3Q5km5ItN6LlYf2z3O/zcz176+BCCCXhWq455uCAB54fPd3c/8WjDi6s66IFoRJElNaTQkMIE+QEKhCLAZfMDh3EpYqk0wZMNkAOQDUbJWEAbAW0klJbITVrm/AX+19t7xl54+dUPD2OOt0Tm64qM9d3vbF377afanutcH36qaRFFbUtDSgMhGIJ4agdMNzxKoVItTW0YDROMIWgtUPQlRsc4c/LU5Bt/eOPSy3/cdfQzzMHz8wmg3I5Yt3ZF0/efve+JLffHn21rDXdFo2RZFkOWIZQSZPnEZto2mqdOtcCmJJwJShGyWVaXk5NHD/879fprvzjyTk9Pchx30CWpyiIA2Du/uW3F44+tf3LduuadSxLRe+rqrJBjE4SoiASaPnbmsucJ2gC+z8hk/fzQYO746TNXdu3ec3rP7r2H/4PA63fcNbmZbRIA5+uPbFn2yNc2dK9ZHd++ZEns/vr6UHs4ZMdsW1hS0tQbXmaG1oyib1Q+76fT6cKloaHMkbPnhva/+5dPP9i3/6MBXH3W7+iLktcDIVw3FN7+5a745s0rV7S1NnU0NkZbIxE7btsUBcC+z5O5SX94fCyXTCZHeo8c7bn4938eS/l+sYD/wauyN+vnmrOMUn3lZelKsbf30sH/Y/kvupBEU/Iui1MAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTItMDMtMjJUMjI6MTU6MjktMDU6MDA0TJGhAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDEyLTAzLTIyVDIyOjE1OjI5LTA1OjAwRREpHQAAAABJRU5ErkJggg==",Pi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAA5GSURBVGje5ZpZbFxHdoa/qrr3dje72ewmu7mIpBZKFm1Zsnbb8iLYMuTEYyfjJR54JkEeJg8TJw8ZwEGeBgEGCIJ5CEaYAMEkT0GCBHBgD6yxnLHHjryO7MiWZXmTLYnURlLcl2bvd6nKw22KlEw7TYryOMgFDur2cqvO/59T556qOvDbvURNfqsKfJ3jCEACqiay9r0GgppowNS+N0sY4xtHwJx1VcyyG/Z0dLTd3JLp6Ug29TTF412xSKTFsqwoYHzfr5QrlcmZYnFweDZ39pPJibPvjAyPVn2/tICQ60LG9SAgBC5EZF/3mu672jvuXN/Wfl97e9v2dDbbFW9KJZyGBmk5NkIqAEwQ4Hsu1WIpKOZmCtPj44PDIyPv94+OHn5rZPjtNwYvDGJwrwcRK02ARAjnwfUbeu7Jtj3W29X9WOf69TemOjsjkUQjUoWA0QbMVTiEABmqowOfaj7P9OBgZfBs/8lTg4PPvjY++txL/X3nAI/QK75RBAhAberqbnm8tf3RW1rbfrBu082bm9f3KDvaAFrPgzYG8SU2NKJGxBwZUuKVi0z29QfnTn764YnxsZ//x9jwL88MDU1xZaxY9qVWCLz9Bzdv2fTd5syPd69e88Mbbt/T1dTVLaUBqi54fih+EEqwuJi53/zafz0fIRXxbFa2ZLMdLcXSfTcgOu106szn42MzrIAnXCsBAog8uX3n3vud6IGbutc80Hnb7bbTEIeqi/gS0GYx8Fd81vPP+D7G97GiMZJtbU4iN7u1vVzZlmlrPXN8ZHj4Wkm4FgIEEPnhzt377zbywLqW7NbWW2/Dsh1w3XmLLwS1QMxVcuXvC57za57h+0hlEctkRGR0vLulWt3d3tFx+t3hSwPXQsJyCRCA/Wc7du29G3WgQ1i9md27cRri8+AXWNUsU67wjDkSLAsrHkddGGhNC7Et3d7+0fGR4SGWGQ+WS4D1nS1bN+23owfa8+WtTWt7iHd3Y1xvfv5+hbvXK4tOFc/HikbR+SJqdKy1ORbdYJrT73w+Nja5HBKWQ4Dc0L4280epzI+785UHnECS3LQJqSyM61922esmXoAJNEIpqucGiAVmdSoWj57wOJIvzVaWSoK1RPACcJ7c3/zozW7h0fhsgUgiTeIGkDL/NSSu81pEMhJTkLjlGbYkE9/5i02ZI3/1bwP/DpcTputDwBPf7l1/97fyP9iQmYlFKGLHI6jkFAgQXxMDBgEG2u4p4paGqRJPWGOpP314cuNvDr54uu96ESBARB7aqx7tbC1scZwqtvFQjkFa1aWMec2XoDZcxOAEHogq3W3lHQ/f2/TwwRf5e6BuhZYSA+S3f3fjukf2+X/d0VTosKliCQ9pNSLsZjDBAvHxgoBSVRNRHhj/qt9XQAigegmCGQwSaQkpLCd1Ybzl12fPT+XqJWApHqD232Hf1Zaa3WRJD2UChNEInQddBiHQWhJoScVXTJQcRgtRelvyRG0fR2mk1LVpshIZeIDQBQQaKXwsPNrS1c0P3N14+yuvc5E6c4N6CRCQadiwOtgXj7mOJEAIHcII8hDkKHgpZsqSYsUmQpVqOcCrGMpWieEgRjwGUQuyiQpS6mubMUJAUISgUFs2aBQ+iVg11rs2vg+aDkGuQB2j1O0BjzzY0t7a7O2wlYfUAdLUCNAV8MYZnkxR/rRCcdrgVwOCgqDS5nJ+UFDtcsngM9kD8V5NIlK9BvSEqyZvFEy1tvbWSBHgKJ+2Fm/X/fe2Zl9+LVeop6u6PWDbTVZPMlHplCK0/mVyBeCPkpBpzl1MUJkw6KSPRGHyHuPGwYz6FKds2toqRJQLBNewsheXSZ/7KIRBCI2UPsmE371rS3zty69xvp4R6iVArmqnJxrxE1JqhDFIoJAT9J+VdHZU6eg8h75/FR+ejDKlJbY2WFUfN1PFMppV23w2b/aQgeT8gMS2oKNdI2WdGly2vgZ3OCRhjpIFJMSifrKrg3XAm9QRB+olQKWSpsu2AymERshwXX9pQvLsEdh5I+wVs3gDURLlNEN9Nu6Uoqmrh3hXCrujQqYnoKpm8cr9HP1IEm8wZDMaZ0mZiAZ/CoLZKxwCDEIahDDYTmClmkwX8/uNK0FA3IrFTIuyQr8VxoCBaLPN2h0dZLIT5AaqHP87Tb61gNOUIJ1zSOy/j+jGXoLRMS6O2JTaR1ht/Yzm9Skc5SGYqn8amACCXBj8Fk6/uVaEJChhiDeQBVuFm0dffdXDkgBLKmUiQhqErD0loCnVyYZtf8uqzh04lsZThqF1EwyuHqREHrQhuJAj1udheQ0IJbGVIbvm+yQzD6CEC6YKxv1y0dXwTeONQ7BIYK/tM4d6GYQy2LZpgMhKegDhpF/QpfYgd65Ctf9NhooTiKEo2pNMmDV4HqyaLODmZlCd6zCTLhEUxSnJmU9gRhzFbihQ6g1IpIMv8j0XIU0QEqQXSe/FVbJQvyXElXr+asA3gRZVIwWmtqNfmJSc+kWEwDjoSAwTgHZ8ojrAKVn0J+O8cKSP4ZMfU2i2cYUBIQkCD2JxJs5o+n4jwHgLxA2TKl2s5Rf50AO+bJ4sOGUI9RIYIfB8UQR3JROhol+qyokAiZECgyDeGrDmwShDznbKbx1j7W0VLvbZrL8wS6lgc6R7O4PtMVrf/4D0XR6lKWhpOYstZylNp4lvUnS15Gppco1nU+e7cTHLK4GRgkALihUxDm7wv3dU/xQIcrNi0NNS40iJEGgEbl+O8vmX6No6TbwnILLVxXZdorOSzFSO6nCMptJxOPYSUkgqlqbnQZeht05Q+nSCyn0GuoOl5QNfAF4DXyPAdZU/PSsGWeFUWA+N0F9xrYJukEkjBIEBnUzT8id/SDqSwy5+hlJgJETSmj3yA4JJh0y7T6HZoWHaBWOItwravvctht87Tbl8fAnI+eK8VyECYxESICSVqjU7eIlz9RJQb7gwJz72z80W7UEtFFpJnLRhzQNlrEQOTCmMxAKkEOGuSSIg2eJhOQZ8ahkbGG1wKxOk1hdYt9Ot3/pXu30NPAqMJTBKEgiLXMG+eOyEd546e647Xh58YXJ0dMJ+3zM2Wiq0spiszjI6/BNG8n3YtgyTGhHm5lq14Ca2oAuS+JiLLggS2YC8Lzjb/y8Mj75CKbCXD94OxdgheC0VnrYYnbCPvXJ4dKJeXHV7AIwX+85ZrxbKTlULhSsc3hx5gtfG/pxXLn2fIJJiyz1lkp0Sq/NmSpt/j4mNtzK7+n5MY4bMOp/efSVOjG/j9cEneHXwu5yaXP/VK+PFgM+Bt0IxSqBr1s+XI6VT/eowzJTr9YClJKL65Ve9I7fuip5MJUvbbRVw3w3Ps6f7v3B0maZInkivIdtdouSOM+0dpVDWNEd9knqKRLSIUrArcpK1TZcQwtAen1xczSsyPOYDnqxpPGd9Kwx+Wlj4gc3oePTjX73sHmUJ5wRLIcAc+tXnA48/uvnZzo7o1lTckx3pS1jGD+e4F0o0ERD1L9IcXIQkVx5uG8g25sgmc4tXAFwNfGGwm5M5AqyQgEAoAmNRKEf9z844zxx+7ZNL9Vp/yQQA7qEXg+d6e+KPxVd7O6TSGFyUDhDaXFHmYAIzX+6w2An/1SqKq+4Xuj0ghJhPEjWYQBAYRYCD60cZGIwfe+6Q/3zNFNdtV9g884vPzu7N3PZPSZ050FysNFjVKsL1w9McrQm0ITAGrXXYGoOZawHm2gVaLjQ8tbeIFAIhBFIIlBBIKVFCoKRASImwFMa28SMRJhPR/FHh/+Oh/zx6YSngl0UA4B04OH5w1dqNd24vxf84lq8iy+FxmAk0gQkIjCFAh1K7DwkwNUcwl5O/OeS1qoqa4UPwCokSEk14jxAYoRBKgmOhow6lZNR8EpVP/6T/0xcIJ+OSCFjOyZCZLk5X7Gz6zLpEfGtKym41t1YSBikFUoCSoRWlFCgpUUqGrRQ1kVhKhCLlAlHYSmFLhSMltpTYSmFJibIU0pIQtTANDl5TlL6EevNfS2M/eu/8qSGWcUi67NPhj0cuTWVXdfR1JpO7k5FoVlkWQqkQNAJhQCFqsUuG90KghLwsllA1kTVR2EJiIbEJW0tIlFAo20JEI5BowDQl8JoTnE84Hx6szvzlPx8/+jFhxFnydS3H4+adoYuXOlZ3n25Np3Y0NiayKt6AbIwjG+OoeAwZcZDKQgmJRIQkmFqLxDICCxGCr4G1pMJSNpYTQTXEsJKNyOYUoiUNLU3oliRuc4LzDdaHL5Snn/rp22+8wzJcf+661g16AThP3Xv/nodau/6mx4rdEfOMUF6ADAxS68vFDsbzwPUwrofxvfDMf65OSEqEUgjbQtg2OHbYWgqURCuJloLAVpRsofv80luHhi/+6GdvHn6XJUb9lSZgrg/re3fc3fv4hpueurEx/XhaWHHLN6jAIHVYExTuWi2I/+aqt4CYV8WI8PjECELgSuBbgint5U/mp59++vSnP3326Nv9XIPlV5KAuX5k79p1zU/u2fv7Ozs6n+xsSG6NS2VZGqQGaeaJAL5QKGXEZWpC4EKgJfgSCtr3h4r5998bHvj5Pxx5/YWzAwMzrFCR1MqXyYH9yJ171z50y7aHe7Ptj7UmGrckbCdqI1FzwM0XBzY1bYwIo5mHpuC55dHC7EefjQ4/c+ij488feuftC4RW/8aVyV3dpwCc37nt9lX7b9m+Z2P7qn2tyaZdyVisO2Y7jbZU1lyiA1xOlNwg8CueO5urlC6O5XLHTo1cOvzrE8f/+/Cxd4eZn+vf6ELJxYiQkUgkds+Ondnt629Y25XJ9KTiic4G28laUsYB42tdKrru2EwxPzg4MXHu/b7T59/44Pi457oV/g+Wyn7VOFdvZi1WLL0Q7NdXdPD/9fofbvR8Mj57c1cAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTItMDMtMjJUMjI6MTc6MDAtMDU6MDDnBAMyAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDEyLTAzLTIyVDIyOjE3OjAwLTA1OjAwllm7jgAAAABJRU5ErkJggg==",Ei="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAAu1SURBVGje5ZpbbFzHecd/cztn9+wuryIpmqQs05Zky5Ko0JFt2YbRynYaF3UbKIVRBO1DCwTtY5C2T81L2wBtkQJG+9DLQ/PQFE3hGvElQVy7UdwkaiQhouOLpNiWQlIiJZUSaVK87Z7bTB/OLi8y0Sy5y8ZFB/jA5cHumfP9vv/3zcyZgZ9vE1X7uT7A/2Y/ApCAqpqsXrdAWjULuOp1t4k+PnYAatFVQRAETz75ZM/w8PBgf3//YFtbW38QBJ1a6xzgkiSpLC8vz8zOzk5OTEyMjoyMjJ44cWKqUqksrwGyLTC2A4AAhAB/155HBz7/28cffejIwSd27uz9RGtra38QBEVjjFRKIUTWvXOONE2J4zhdXl5enJubm7x+/frIT354+sSr//i1H742dmkSiLYDRLMBSAne7nuPDXbcceSzu+/a+9kvfP6xe4cP9ftKaaSUdd3EWkucJMz96M3KxD99/cKFy5df+Nbk+Isv/uT8GBCTqaIpTTURpO7ftXfHrgOf+1zf4ON/Njz8wLPDh/f0Dh/q0zvaA4SUSCkRQiCEQFb/l7ddr5nSmiB1ulOq3v5Syy/sV+bRg507onGbXJmZnw8/TgAEYO47/Mv7S71P/3H/7qEvHH3w/v6Bvk4phOSe3a10tufWOX67s2sNyD5LCdOzcHWKfGeH7NzR1dsXJU8c8vJ9srV08dx/XZ+jCUpoFIAA/EMP/ebjsvTQc/279j199MigCfI+lcgRJ3Dv3W3rAPzMG9ZgAO7mh7jRy5BYVC5HobvL61yqDO1O3eHO7u6LpyavXG8UQiMABOAPPfI7TyX+0HMdO3YNHX1gF8ZowsgRxw7r4P697exoz22thxszuEvjkKaQJAil8Ds6RMuHtwZ6U3tkZ+/OD34wcXmiEQhbBSAAc+jh33o89Yeec2rHvgc/0U8h8AkjS5JAklqsg4P7Oujq2BoANzWNvTiGSC0itZCkCKXRQUBwbaq725jDbT3d75yauHKVLY4O9ZXlDcDtH37mPpcf+vJ8pXVfX28bxYLP0nJKJbRUwpQwskRRirUNjFrWQhRDFEEUI8IYUa6gi0XyPT3sityBXyl1fvk3ho/s3aovW/mR3HXnPZ2m9cE/XAjbH3TOsLOrSLmSOZ45XzPbBAARbgVClEEIY7yuLnJWcFfCY8929X5xoL+/Yyv+bPYHAvA6d//q8bLtOb5YluRyHkZrymFKJbKE66wxBbjUVp2PV/5mECKk8dC+T1COuBf97Bf3HngGMGxybrNpAPsPf/ruWO3+3aWKn6+EDs8zxInLIr/GamnQnBS4zcIIkVqU8VBRQluYFh/wg9/7taHhO7cTgAB8v/3I8XLScrAcQhwDjkzu4froR9U0SF2DAOLVGrDO4hiJQMUWHaX0WTn8TE/fZwBvMxA2BeC+Q08MxLL3eDkyMoohsYJKZKmEdk3eZ1aJLGGYYhsZpVOLCzP5uyhaZ4QZFJlaVJwSRKnap3O//tTBoTu2C4DKdQw/Fqal/WEESZoFaGEpoVxJPgIgbFoKRBunQSVELJcRDmRq0XFKt5MHfqm77+HN+KXr/J7obCGw+o5jYcX34iQmTQUOWFiMmV+Myec07ja5W+uaUwNuH+KFwC1XcEvl7AVD6hCJpZCS35MrHEOLb5K4ReqYG9RNqnvwUzsT0TYcJZLUCjK/BJUw5cZ0ZWXYa+YogLW4uJYCayyMcB/OQhxna2/nkNZhUke3NJ/81P6hrnq7qFsBfmnPYNkFfUmaAXBOrPCdmi4TBBrfk6wVgXWyOQpYe1MhIIxwM3OrlwBpMyW0CDUw3NG9+3UYp4kKkMLrGkycX8yiL3GI7GGAcphybWqZciUliu2qRbbhIkgcr7EEKiHu5nRWG2oAXGbSOXJOtPTlCnfV61u9ClColv40MdK6BFcDsKbY3lqIEALaW31kVRzOOWwDw6BbqQHVZi1ufgG3sLTmW1kgslQQGKRu115/UwH4oJ3Md1o0DodDsvrKTwAO52BuPiJJHC0lg6pSaLwGJIDLhsTFJVguf8T57K8EIVBI8kp3UedCrx4AwkikQ/sODcJWO1PZZ8RKjjoHC0sxYZxSyGuKgaER/3GuOhGKceVylgLrngxETQFCIoRECoERKqDJKeBWndZVS7hdBbUWRZY4ztSQJg0UgSTBLSx+tBDWvK8pQMg1QVEg0rq7qAeAiy1OCBcKqUA5kDUItdf4tRFh9SGdgyhKSdMGJJCk2Yxvoyayt0dZ9BVCKpAKJyWJYIk6X5LUJZMQEuGiaSklQhqENGuUoNjW7YWNXqOJ1chnQVm1VCmWbXqTbJPlZ7Z6UyAVdmlSKaxUWgplEDLFuRRsWq0FgFu7qbNtRIAs55ESVgAY0JpEymQuiSdppgIA66IbP9UyXVTaIJWHUB5ID0RNDXK1Im+n89WCV4u+kBqhDE5rnDZUJPOTlcWxZgNw4a3zY0YuT2qtUNpUAfgZBGnWFKDaELldzguQNecNaIPTBmcMVmvmsVdGpq+PU6cU614LTL3/7SntZkc8I9DaILWPUP4GEOQaCM0CsSbyMit4QhmErkU/s8QoptLo7L+/NTJd753rVsDMEksyGv+ur8NQexqlPYTOgc6DzK2CqBXGlZRokvNSrkZeGYQ2oLzV6BvDohLLH5RvnQDKNFsBgK3c+N5/5uTsBd+TGKOrtSAHKp/ZOjXUQDQAoep4bYgTKks9oas1SHs442GNR+ppplz87qsTPz3DJvYJNgPAXfjxv02YZPSFvBdaz1do42VpoKsAVLABiMYAZI7rlagLkwHAZOaMwXqaRSOS9yrz/3ri7ZFrbGIo2hQAIAqnXnsxkDfeynngeQpVg6CCNSDWKGLLWw9k09uVqPsrhvaz6GtD6hliTzPporMvXXnvFbLd420BAODOn31p1FTe+fuit7ic8wXGaJT2s3qgAtCFzKpqEKKB3TepEMZHGC8rulXHMR5Oe6SeIfU0s9otnF2c/rtvjpy5vBnntwQAiGfe+5uXAnfxhUIuIucLjKeRtaKogvUgZL1zrY0BSO0jTA6Mn8HQHk4ZrNGkvmbJk+5CvPAvfzHyH98Cks0C2MrT2cvjozOlnpf/sqW37R6bH3wEDA5FjMSicEKDiEGlDSlAKAVeDkF1xicVTimsUcS+ppxTXHLL3//n8QvPXb96bY4tbJJuNUHtuTNff0/deu1L3cHVCzs7UrraBG0lTT4waK9WGIPqWmGLTaqVao/n4/I50lJA3FYgbAsYM+nbL0+Nfun5Mz+4tBXnobHtcXd9/PS1Owd6P2hv7x4ulUpdxUDTUlCUCppCXhPkNcd/scDd/WZrHUzcgPNj0FrEtpVIWwskLXkqRZ9RV3n7lWsXf/8rr718ii1IvxkAAOzkpZMTfb1t73R07NjT2lIcKAZGlAqStpKiq0Pz6Yd9Bno2v2J0gJu+hb12E1sqkBZzJMUcS3ll34/mv/+N0XN/8JVvf+MUm6z6zQYAYK9cOn21vRCf3tHZEbS3Ffa0Fj2vGEhaC4KjBw29nfW/HXbOYa3FAnZ6juTqTZLAJyp4zMh04a1bN7721TdP/tE/fOfVd2kg8s0EAOAmL5+bWZp++2RXZ/tYa0uur63F624rannoHkVHSWCdw91max1ecbxqaZqSzN0imp5lXrlkbHnuR2+Mv/8nf/rK83978t23rpGt9xteezcLAICbm5upXPjx6+c1c98tFc21loJoHewznaWC1M6xzsGak2marvtcPS9IJQyZvXGzPD46+uaZK5f++qvfe/3P/+rF50/Ozt+qHZ5sStu2g5KA99AjT91x/DNPHz1w/75jPT09n2xpaRnI5/MlY4ze6KBkFEVJuVyen5+fvzI1NXX2/XfPnXj1pZdPf+fMqeus5vrH+qDkRiCk7/v5Y8eOdQ0PD++uHpXtC4KgyxhTAFwcx8tLS0s35ubmJicnJ8fOnj07/sYbb9yM47jC/8Gjsv9TP7XD0rUD0xsdll7r7LYflv5/3/4bXGLaycmYMEAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTItMDMtMjJUMjI6MTU6MjYtMDU6MDDCBOFIAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDEyLTAzLTIyVDIyOjE1OjI2LTA1OjAws1lZ9AAAAABJRU5ErkJggg==",zi="/static/britain-BS4U8wdV.png",Ni="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAArwSURBVGje5ZprbBTXFcf/M7Mz6314vX7tZr3rxDY2dlF4xIAilJYmBEKUYhnXaqFV2gapilSpSJGaSBFEqQRSK+VDgUQiTZsStY3UKq0FjlMclBAHZBxITDCQAAtmzeK18doG2+N9zM6dmdsPuwOD48esH4SqR7qytV7fuf/fOffMmTkX+HaNyYxvdQH38joMABYAlxls5nMNgJoZGgCa+ZxmcY37DoDuXc5ut9vXr1/vra2trQgEAhVutztgt9sLLRZLDgCqKIqUSCRujoyMRHp7e0OnT58OHT16NCpJUsIAZEFgLAQAXbi1rq6udOPGjY8tXrz4SZ/P90heXl7Abrc7eZ5nOY4Dw6QvTymFqqoghKiJRCI2OjoauXHjxulLly4d/fDDDztaW1sjAOSFADHfAFgAwpYtWyrq6uoalyxZ0ujz+Wpyc3OtPM+DZVlTk2iaBkIIRFGU+vv7L1y4cOHfzc3NB5uamnoAEKSj4r4yBoBl2bJl3v379/+qs7Oza3BwUJEkiRJCKCGEKopCVVW9PTRNu2sY/6YoCiWEUFmWaTKZpIODg8rnn39++o033vhlTU1NMdL541tNnhPFC88999zyw4cPvxsOhxOJRILKskwJId8QPJNNBKKDiMfj9Nq1a7EPPvjgnWefffZhAML9AIEBkLNjx44NHR0dp4aGhmgqlbot3KxoMzAIIVSSJDo4OKi1t7efeOmllx4HYJ0rBG6O4q27du3aUF9fv6eqqmp5bm4uOI4Dy7JgGOb2mPUFMv+rz8OyLHieZ9xud6nf71/t9XovHz9+vBdzyAmzBcAA4Hfu3Lm2vr5+T3l5ebXdbofFYpkX4RMhGOdiWRYcx8HpdHo8Hs8Kt9t9rqOjow+zvDvMFoBl27ZtS7Zu3bqnsrJyuc1mg57l51P8RBBGCAzDwOl0eoqKiiolSfrs/PnzN2cLIVtja2pqvIcPH343Go3SWCxGCSFz3u/Z5gVCCI3FYnRgYIC2tLT8pbS0tBh3KkvTlm0EMACsu3fv/umaNWteyMvL4wVBgF7ULITnv7EAQ14A0tHgcDiqPB5PqLW19WtkmQ+yBcBu3bp1cWNj4+/8fn+A5/m7Qt+MaUkJUmQAiYtXkfi6G4krYcgDQ9BkGaxVACvwpiHoJgiCYLVaS4aHhz+5dOnSCLLYCpZs4AOwbtq06Yd+v38pz/N3Jb2ZTBFjEE92YazjDFLX+6HGk6Bq2lkMy4K1WWEt8SD30WVwf3cV+KL8GSHoCZHneQQCgdrNmzdvPnTo0OsAUmYhZBMBbH19fXlDQ8OrPp/PpwMw4/34xavo/+M/cfM/nyLVOwA1mQJVFFBVTQ9FgZZMQY4OI9Z1CfGvroDPd0Eo8cw4N8MwoJSCZVmWYRh3OBw+EgqFxhYCgGX79u11tbW125xOJ6eH/kz1vXjqLCJ73kHi4lVQRQWl2h3hE4emgSoqSHQY42cuwOJywL7oQWAKCMaHqQyEAkVRvjxy5MgFmMwFZrcAA8BeWVm5zuFwCGZvd/EL3ejd+1ekIgNgTD4I6SZHb6Jv/z/AOe1wf2/11AszbAWn02mrrq5eB6AFQAwmosD0qhoaGh7weDy1Rs9PB0Adj6H/z+8hefU6KFGgpeSsBpUJSHQY/X96D6n+6LQAdAiCIMDr9a566qmnis3qMguAWbFiRYXL5fKbzfgjx77A2IkvZyX+9iAK4l9dwc2WtukXZ4DgcrlKV61aVQaTzwhmAbAlJSUVOTk5TjPhr0kp3Dz8KVQxBiqTOQ1NSuHWkXaQ4ZEZATAMA5vN5goEAuVmtZnNAZzb7Q7wPM+a2fupvijiZ4OgJJ3p52QUSHSHkQj2IG+aW6O+Lp7nLW63OzDfACw2m62Q47jbF5vOpHA/5MFb0IgyL0/s2ihBsjuMvMdqp/0ewzDgOA4Oh0N/aTIvABgALMdxVqP3p4MgDwxBGRkDY7HMHQDNVI+9N2YUr//ked6OeY6ArJ6yqKJCGRXBWCxgrQKgvwBlTMyU+Q6lFFDVTEKUQBVljiRnD4ACoKqqpvSCA0gvcKoo4IvcYHgLNCkFTSZgOBYMx4HhOIBlpixsQCmgUUNxpKU/AwOhuGD6RRrWRQiJY54LISWRSAyrqgojhKksp7wUfKEbqb4oQGm6AlQyyVDfRgxwZ3/QO17/xtwUnMMOe3XFzJ7KvF6Px+NDSDdZZjSzt0F1bGwsQgjRjLSnMluZH85HvgM6mRMoTZe8qnaXp6mmTSIeoKCwVT0Ex8NVM4qnlEKWZWVkZCQCkxFgFoDW19d3VZKkmKZpM0YBa8uB58fPgBWsJqef2hgwKG7YAOGBqYs7fT2UUkiSJEYikZ75BkC7urp6RFGM6ABmsqJNTyB//RpQc5E4+UWhwrmiBt6f1U//vYx4VVUxNjZ2vbOz8xpMJm7TzwKHDh2KRqPR04QQaJqGmUBY8vNQ/uqvYa8smxUECg1CcSHKfrsdtvLSGcXr3aRoNNr50UcfDZu9jukIABDv7u7+JBaLpcxsAwBwPboCVftegX3RQ1lBoFAhFBdg0e9fRFHdk9N/NyNeVVWMj48ngsHgUQBJLMD7AFgsltjKlSsfLygo8BmfCKcriuxVZchdvRRy+Aak3hugmgJm0mMBFBQaGJaFa+VSVP5hBzw/egYMN7WPjKEvyzLC4fCXb7311r6enp7RBQFw+fLl+Nq1a/P8fv8TVquVMfteIKfUh8Jnvg9beSm0RAraeAJUJoCWbvayLAdLXi5yVyxBYPvPUbH7BbhWLwPDTj+vLl5RFIiiqJw6der1vXv3HoXJWyCQ3TtBCkBuaWk5WF1d3ehwOGqz6QDxRfkoeX4LvD/5ARJXwkhevgYydAuUauAL3LAtehC26nLw+XlTF0oTxOuhL8syent7Ow8ePPg+0t3jBesPMACs+/fvfz4UCsVFUaSSJFFFUe5JT8DYG1AUhUqSREVRpN3d3eK+fft+gVk0TGfTGaLBYPD6ypUrA8XFxcsntsMWujdg9LyiKIjFYrSrq+tvL7/88puxWCyBLL0/KwC3bt2SLBbLlYqKiuVut7vU2BhZSAhG8YQQJJNJBIPB4wcOHHjl5MmTfZhFk3TW3eGzZ8/e8ng83SUlJatzc3OLJ+aD+YYwUbwkSQiFQmebmppefPvtt88ji8Q3LwAA0Pb29n6fz3fZ4/HUOp3O4slekc8VhLHQ0cM+mUwiFAqdbW5u/s1rr732GQAF97g7rJt27NixXrfbfa6wsLDK4XCUchx3W7FRfLYgjPW9LpwQglgspgWDweNNTU0vZsTPKevPFQAAaCdOnOiTZflkQUGB3eFwVAmCIBhF6L+bFa6X2qqq3hafSqUwPDw83tXV9fcDBw7szIT9rD0/nwAAgJ47d+7mmTNn2vPz83usVqtfEAQPy7Ks0ZMTh1GwUbgx3GVZhiiKSigU+qKtrW3Xrl273mxvb+9Hes/P+X6/EMfk+MbGxrK6urrNNTU1jV6vd6nT6cwRBGHaozMTQ54QgvHx8WQ0Gj138eLFfzU3N7/f3NwcRtrr83ZMbiEPSgpPP/10ycaNG9csXrx4ndfrXeVyuUptNlsuz/OWyQ5KyrKsJJNJURTF69FotDMYDB5tbW09+fHHH9/Anb1+Xx+UnAwEa7VabevWrSuura0tyxyV9dvt9mKe5x0AKCEkEY/HB0dHRyORSKSns7PzWltb2xAhRML/4FHZ6a6jH5bWD0xPdljaKPaenPn5v7b/Am+z0gteYqRiAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDEyLTAzLTIyVDIyOjE2OjA0LTA1OjAw/IlMHwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxMi0wMy0yMlQyMjoxNjowNC0wNTowMI3U9KMAAAAASUVORK5CYII=",Mi="/static/korea-LHQbRLL6.png",Di="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAA5RSURBVGje5Vp7cFzVef9937n37u5drbTS6i2tMLLxA9nYMhj8oE7ACQSSADU0mTbtMOkMoZlpZ5rQTl/5ozSZtH9kAnkM/JGmoWkJnULD8OgMMzUMY8AG/AC7YBsZW7IsIcnyY73vvfc8+se9Wq1sJ6xkuaHTo/l0R7tX55zf73uc73znAL/ZRqH8RifwvzkOAWAAIhQOP9cAVCgagAk/N/MY4xNHwIx2hWtZ7tbOzo7rUq39PU2N/U1uvNeNRlKWZUUBGClluVgun8kUCmPj2ezxA2fOHN85OTlVlrJYQ8gVIeNKEBAAZ458rrc3fUtn55ZrOjq2dXZ0Dibb2nrjTckGJ+6ysB2QYMAARmtIz4NXLKhiJpM/Nz09NjE1uW9oaurlVyYnd+0YGxuDMd6VIGKxCWAQOb+9dGn/ba1t965Kp+/t7u9f2dTTG3ESCbAQIQQTwpjBQiFtwVNLBS+XRWZ8rDx+7Nihw2Njz7x0evrZF44dGwbgI7CKTxQBBEAM9Pam7m9r3359e/uDSwYGVjf1LxVWzAW0BikTAjezg9bgr/5JBBDBCAaYIIsFZI59qIYPvX9g3/T04/906tRzQ+PjZzE3Viy4iUUCb//ewMC1DzS3PLypr+9P+zdt7m3o7WNhAHgeyJOAlIBUIKUApQAlw+eM6OA7GXxHvgSkD2aBWFs7p1pbuzoKhW0DQI+VTB59f3o6g0WwhMslgABEvjE4uPUe23lkdbrvjo6bNtt2vAFU8QAvBFIDlGoAzxV1kZAMCCEpIWIuGjo6neT582vTpdK6VEf70bcnJycul4TLIYAARP5q/fWfvQ14ZGlL69rmmzbCshyg4oNkoHWS6pLg5i2+BFsWoq2tFJ86le4olzd0dncN7ZqYOHk5JCyUAAJgf3NwcOvtwCN9ECuaNtwIy40Hmg+1tijAq26hAN8HWRYsN47IidH2VqJ1yc7Og29PTo5jgfFgoQRYv79mzbV3W/Yj6VxxbcOSfkTSfSDPv8jkF1WkAqQER6NAvoDo1FR7KhZd5qdadh86derMQkhYCAG8oq+v9cFk88PL8qU7YprgDgyALTsIdkqBlIRZZPCkFIzSAQlag4WAOjEKV6u+lrgb3cP0RjabLc+XBGue4AmA87WOzu3LKt72aKEEq6kFbNtAqRwscwtRQx1tTp9EEE4EdiSGWC6La2z7S3/c1fXGX4yNPQnAwzymMF8L4PtWr1n+eWF9tz1f6hWFMpxUClZbWxDsfD+QUEuQEvDDJbAa+RfJFYyBPjUNfS4DR7ATjTjdmebkK0PT0+fmQ8B8LIAARD7ruts7CuU1ouSBfQUyAMoVGCaIjnZYS6+G6OkGJxpglII+m4E6MQo5PAKdyVazvctvBDIElgqi7KMz6q+/syFxz4vADwFU6iVhXgR8YWAgvVSb7bGyx+zLYE0vlcGtKcRuuxXOjdeDUy0A8+x/GQNTLkONT6Cy8w1Udu6CzuXmvjNv6CG6SgUkNdiTcMueWBZ17tu2ctUzLx85PHIlCBCfchtubq341wpPgqUCacDZsB6ND/0JRF/vLOZSCf7hIfjvHYKanAKkArckYS3pQ+zuO1F6aQfU+ATACzUFCoJsvgDSBiwVTMVHqydXb0skNr4MjKLO3KBeAgjNzW4/0a0xz3fIVyBfwf387Uj+w8MQXZ3VF/0jQyg+9Qz8dw/CFEvVwAgAsC2IdC+sdA9M5jz0uUzgEvNshgBTKMLkCyBjAKXBUiHuydjSqHMr4u4LKBTzqMMK6raAu7p7Olu1WW/7CuxLOKtWoOnv/mYOeO/tvcg9+hjU2EeXNnEpIY8chRoZBbkxGN+fJciY+skggjp1GsbzgnBiDFhpWL5CuzY3fKbvqrYdhw/n6+mqbgtYHYv1N0jVQ74CCQsNX/sq7BXXzGIbHkHu0ccgj418rH8b3wdy+aozk2OD29ugxj/6eJ0RwZTL0NOnZz/SAFTgCgml0+vc+JIdwAjqsIB6IxF3Cas/qkwDSQV7+TJE77xt9lspUfjpv8B/70iw5HlefVIJxQDul7fDSvfClEowpVKwnGp90f+YUgl6YgqmUpklAAZkDFhrRJVu7BH21fViq5cAkQT12lozKY3IjTdAdHbM4h8ZRek/noc+fRqmUoHx/XmIB1Muw+pfgvgD90P0dCGy5SbE7/9dcFtqbn+VSrD2Z7M14CmwIhNYgq2NlSTqrRdbfS4g2IoRpYQGmAWsa1eAavzVP3QEamICxpcwWoMTCUDUMb7WADNEVycoGkX0lq2wVy4HNydR+NmTUMMngmgPAEpBZ3Mw+cJF3RDCEGIMLG3gErWhziSvHgIIjs3CIMIA2BIQqZY5L6jJKRjPD/wzl4eueKC4C7LtmsBW444GgBBwbhhE7K474WzcAOuqNCAERG8PKq/vRv4f/xmmUAz69H2YQiEY48LJUWgF4VQZBNuQC9ti+HKRLCAwsuoP9NzYQizmRHDjeTC+D3IcwLFBwprNAGdqgUpBTZ+GPDYM0dMF0dUBisWC/hriIMeBKhYBKQPg5uJ4RmH9lcIy2swc59Pq8RMDzzOaqAJiQGnoU9NzXhDpblAkMjfmGhP4b74Anc/BFIswpXJIjoSpePAPvo/cDx7HuT/6BvxDH8CUSqi88SZEexsaHvxqUDEuVy4J/iISQCAOiJBEBfhyERMhZWQZOG2YQcZAvXcYRimQCNzMHlgFcVUa8vDQxb5vDCAVjAx9eUZbFEwfxkBnMjDlMgo/fwrZv/17iO4u2IPXQXS0QR4vXHJKFGo+KCZTkFUSQzOjBEwjOGRZFAsAAHUeZkwK1mRZkG/vhxodm7WAnm64279YX2prTBD8aneGBqi8thu57/8YOnMe/qEjKP7rv0OOjF4yOQrA15BABGYBYgEphMzAjKHOVLheAvSEkscqlsjDtmFGx+D98sWaGRHif/gHiNy8Kdiq1kPCDDAimHIJ+cd+AnVyPEiimANL+hV+PwOeiUDEYGYQMyAEKoKz49IfXmwCzIFycTgveAyWBYBQeeIpyLf2VV8QPd1Ifu87iNy8MdCwvsT4Jgh+3NIM0dUxex7gS+jTZz42FZ4JcAEJPEsCC4AFjCWQtcTo/mJ+BHXuBustiNAHXlne3d61rkPqtZbUoDPnoI4MwdowCG5LBZ11tCN6y2+BhAiWxnwhyAxDjXNTIyJbN8MeWAV5ZAimVJ5jCR8HPnD1UOsgMHFg+paAiTjw4xF8GLVe/O4H7z0LX3qLSQBQrqgbe9OJq4nviPnKYm2A0XHIve+Ar0pDpHsAZnBTE6Kf3orY5z4D5/p1sK9bDWfLRrj33Q33K18GEaP4yxegz56ra/NTjfFEVc1zqHlBAiwEjG1DRx1k45HibmEe/a/h4YOo0wXmVRKzk8n8+lj800lfdc3UA8z4BPwdr0KNfwRqTIATCVA0Am5NwV4zgMiWm2CvWgmTyaDwxJMo/uJpmFyuTvCzQY5mNB4+BQkwC8CyYCI2lOvgZDyy/yfZsz8YDk6N6nKB+WQNBCDys81bv/mpovp24/kii2IF7EsY6UNrBdPcBF7eD166BNSchJESamIS/pGjQUmsWPq1KTLV/qYqBTUEhAIGE4OEBW1bUPEIzje58pWo+MsHdu/8MeZRGJ1PRcgA8P4zn312udt0b7xir2epAB3sxAQx9Pkc9Jv74O/aAwMDY0zwpCBJYcua7So8IK5qgKq/qmaPmnW+6vPEYDDAAhACxrEgow7GI9be53Jnn0dwenzFqsI4NDWZHUz3yR62tsWUtllpcJgoM4K0mJhBYmZp4iBiU03iMgOuRhg1Pk6zTxGCFiQCQbDek2AYx4ZyIziTiOZeE+bbP9q/53XUmQAtmAAAZsji0eubW3rbQGstZcAmEAIF29LQVKvLVNWXL/BrQvicAR2SUQVd+xQQ4Cq5xragYg6Kiag5GLV+/tcnjz+ez2aL89H+ggk4l8mU7VTL0atdd22SKM26loSabVMVEFUjd1XbVOPTIQHMgcYFMQTzLBEIrSjUvA7BVxIxDMWdnU/kM9966+jQOBZwSLrg0+GDkxNn27u7PuxubNyQiEba2LKDCRKDDcAwIEM1ZPBcsKEvc5jJVbVc9fMw2CHM9CwbiEWgG1yopgS8lgSOJ2IHnq0U/uyn+/f+N+Zp+pdNAADzxvjYR5196aH2ZPP6RKKhjeMuqKEBnIiDXBcUccCWqGZtZBAAC4nhC4UYRAIsLLATAbsxUFMC1JIEUs3QqSRUKolKSwLDbuTAC8XsQ9/b/fpuABILPJG73DMaAuD8+S3bNn2hves7S0Vks+trEr6CUEGNjtXMEZkf7Ou9oLwFFawggc8wYAmQZQX1A8cGbBvGEjBCQDNDCYKyBQo26w9l+bXnJse/9ejOV9/GPKP+YhMw04f1lc03r/jS0uUPrUo0/k4zWXFbagilwRpBbDA1A/6q/T3R7AVBAjQRNBOUIPgW46yWuUO5zL/94uiR7z/91pvHcBmaX0wCZvrhlUuubvn6pi13bejs+nqPm1gbZ2FZ2lRJYFNzY/ICEkyYGRoAmkJhgmRCXks5Vsjv2zMx/viPdr324vGTJzNYpEtSi39NDrC3b7l5yRfXrL1nRXv7vR3xxJoG24naIAgQqMYaLmyGAiIUDHwY5HyvNJXPHTw8Nfn08wffff75N3efQKD1T9w1uQv7JADO7Tdt7L79urWbrunsurWjsfGGxmgsHbPthC2EJYirgxsAymh4Ssmy72fPl4qjU9ns3qHJiZdfevedN3fs3TOBWV//RF+UvBQRHIlGY7esG2xbv2zZkp5Ua3+yoaHHtZ02mygOwPhGF4ued+pcPj82dub08L6jR0deffedad/zyvg/eFX2140zc1l65sL0pS5L14K94pel/9+3/wEXWUP7rEKwOgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxMi0wMy0yMlQyMjoxNzowNy0wNTowMCKjPbwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTItMDMtMjJUMjI6MTc6MDctMDU6MDBT/oUAAAAAAElFTkSuQmCC",Li="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAA2PSURBVGje5VprbF1XVv7W2vs87rn29XX8SBw/kjjJ5NGkzquj9JGhbSjVqB0YUgYNAxIgkAoIaYpaARLzpwLx+DEUClI1/TED/TOgVgIyHc3A1FFpOil5FZpSJ83LaWzHju3EzvV9nXP22Zsf51zf68Rp7nUcpogtbSfePmfv833r22ut/QB+soWS+hP9gP/NcQgAAxBJ5aRdA4iSqgGYpN00MMZnjoCKdUXKsrx9vV0rt3e29a/OtvRn0+kez3XbpJSuAYxSYblU9q/N5POjV2ZzF09NTl98d2T8almpYg0h94SMe0FADJzI+Zn+vt6f6u16eGPXqv2rVq3amW1v70lnsk2257GwbTDHAtCRRhQGCIqFqHDjRn5memp0fGLi5LnxicG3R8aPDF4cGQVMcC+IWG4CGCD757Zs6H+iu/OZTX19z3T3929u6ep27KZmsJAgAxhjAGPmBzcAQAQigiFAK4Ugn8PslbHy2PCFoTOXR974t7HJf3rzzPlhACFiVXymCCAA4r6+3rZf6Vt5YOfqlc+u3XLftta164VwUyBtAK2roM38j4VdUJUMMMMwQZWKmBk+Hw2fHvrg/YnJV167NPEvZ0dHr2Ohr1hyEcsE3vrqzm1bf72n/cW969Y8t/7zD/Y0r+5jNgCCEBSGQBQBKgJFKv7/batO/lVAqMBCwGvv5Pb29q5Ov7h/s0XdMpM9N3R1chbLoIS7JYAAOF9/cPcXvpRxX7qvb80XV+7Za1leE8gPAKUApUAVcLoC8FOqvokQFQFKQaY8NHestLOF3EC3Ku1oW7ny3PHR8fG7JeFuCCAAzu8//MATP+3yS/0dHQNtu/ZCSBsUBLG11SLW1neot1OGUiAh4K5oJ+/6VG+n8h9Y1dV19r2RKyN3Q8JSCSAA1nMP7f7C/hS/1CPFpuyOB2Cl0kAQgNTNYPUSa61qYhJYSEgvDWtspLNd0o7WlStPHR8dH8MS/cFSCZBf233/1qcz7ks9fmmguXc93O5eIFAJ+DvN86VWDaMisOMChQKca1OdKzx3Q9TS+t7QxOS1pZCwFAJ405o17b/Z3fZif+B/0dWE9KatcYhTqjHwd5L9bd/TICGgRkfgQfe1NqXdk4H5cS6XKzdKQqMEEADnD3Zt/doAqee8QtGy0xk4vWtAWjcGPoxgdfkgV0HPmIaJIGKoiXFQqQDPtjZ2trZcHLw0+hEa9AeyUQIO7Lx//TYLzzYV/BT7IYTtAErBGNUA+XHAdzYXYRQQDnvJqqCB9wFI24GaCZGx/abtnvdbTw3c9+73P/jofAMdNUQAAXD2tzUd6FTBdhGEYBXFnxIEcXZXbzEAewb2hjyMAugthi5Tg2kZgUDgMAL8AKtse9eT7S1f/j7wMgC/XhIaIuCpgW29/QIH3HLIHKpY9n4A4/uNfDmgAbEmhFxZhIkA0WYhuiira8N6S+CDtAaHEVJhKNZ79i88vm3LG4f++/Sle0GA2NfW/EibjrZyqEBKg7SGKRRgyuU4fa23GMDeWAS5JRAAe72Af8YDqAEVaQ1dKMZpdhSBwxDtWm17rCO79xBwGXX6gnoJIDRnvXW2eDzlBzarKLY+AF3IQ+fnQK5bH+eJ/J1NeQABAMDebIAfMIxfJ4lEMMUiTLEAwIC0BikNT0Wp9bb1OKzU9xCW8qjji+pWwJc29K5qJ7NLJuApmfPG96GuXYPs6KiPAA3IdSGs3sK8kew1IWSHjeB8ndOAAHVtGiYIYuFpA440ZBShnbFn/+Z1HYMfDuXrwVW3ArZl0v1NMN0c6Vh2NWCj6WlwKgWy7LoIsLcUwOnSfBNnAPtzEv5Q+s4EEMH4ZUTXrlXbDGJfEEXIwPQOtDavHQQuYRkVwKscq981qolMxfqmMjaMX4aanITV3Q5y8Smzj0Cuhnv/HCryrxR3Rx6FQyLe9lj81Th6lgzU5BRM4M83xx9iAG3gGpPpdqx1AN5BHX6gXgJEi+AeSxsmU/FVhHh1HxOhczmgN0LrrwnYGyIg3vO4FYc0sHrVLe3uthCdL5Zgolv9ACXg/Y8FZr6loHPFGuRUEz0NLBjZIrkHdcaUegmQKaY2oZNeK9ZY8IiBP1TA9VdttP0u4D0agIRBvcGdHMDesNhfDIwiFAZtzLwawv/YX9AloRqACHFq6zF3oM4stx4CCLBYEBwmAlPF8vEWFmCqljYG/oc+rv6hRMsvCWR/1Ydoi+omYTHwakpg9jsObvxjBH1DLbArJegJFP9CBAZgEXkAcz2RsF4FGEr27IgJxIBJxjSmOg0AAAxEswrXv0UonxJo+3oAd0dU1fEd/VLyjDEonZC49tc2SscjQJtFRE3z3c5/H1FDKUk9BBggNJrIBxOIOSZ3frDEGdbioriheBgIhm2seLaI5p8vgVMcM3RbRRgAGrpokHvDwcyrNtQ4AGFueYXmjU5gjg0DZhAzFFEh3lBYHgIAQJUNpsEcb2UzQzOBTLKTu+gmJwABqDGBqT9tgn+G0P7CDXCm4hduJiGOLNEMYfovspg76MEEtOhMji1cY3FmsGBAMIwglLSZQnzIsmwERDmtRyNLaJLMECIe0BgYU5XcogsiBkyJUDrhQPsEvsNmrikzSiedOCu8rRurgGcwE5gZJAQgBBQLdSPUo6gzFa53+aHHfXXBZ86TFGDJYCHAiSKYaV6Otyupz/uQ7Xc2iuyMkNrt35aiitVj4DF4FvH3kBTwmXNj5XB4uQkwp2byw3niUUgJkiImQFTAx9a4HQmUMvAeLtcXDATgPVIGO7dSUHFwlTGZCUIwWMbgYQnMEV/+z+u5S6hzNVj3AvTg6YtXpzRORpYEWTEJQggIwfFHcIWEmzyxBqweBXf7whTP+IS5Nz3kf5DM9ZriDgSQq6N5GxLVWj4eIx63YggBsgSUtDClceKtU2en68VVdxhEMVe44KtDm1LyF21LOmypxNHWEq3jjDQ+BErCJODuDiA7q/JXVwVmXs3gxutpEAMtX80j+xtzkB3xM7JLwd0RIBy2qklOxdvPg2cIKcBSAJaEsSwUhSieK4SDMEFp2RUAQA9OzPx4isSQti2QJcGWAAuZKEEkSqj1CwROGaQfKccjaaB0zMHE77Vh9rUmmBJBFwgz327GxPNtKL3vxAsbCaQfKYMd1Mz3uN+K5UWiQLYEYEtoW2KSxIf/euXaUTSwL9jQpui58auFfRvWtnTb4jFba2JtwJW8sEb282HKEKw+hdZncyBpcOO7zZj+s1YEH9vxMSpX01h12ULpiAtyDJzPheCMRvFQGshJsCAIEVteSgG5ALwF49iYcx11wjcvv3z46CDqDIENEwBAy5bWqW3ZpoeyZLrYaLCppDY0T8R8hqYJ3hNFONt9XP/mCuT+PgM9xyBBN2VucSJj8gLlox6icQl3l49o1IY650JImgctZaI4S4CkhLZtqJSDT4R17DufTP752fGr02hgU7Thc4HTY+O5HevWqG7X2p8yxiJjwACYUKOEJEbbBta6EPk3Migf9gBQTdRY+CwRgQWBNCE87SL8yIXIAOayC8FVqwsZz32SEsaSiBwbM44zd7ig/vhv3jn6biPWXxIBAMzZ0Fze3dXe0y55QBoDSlTABHAtICaoYQd60gKLWvC1cbx2jicOTjLMlA0z6kBQYvkEPCdh2EgJ7dgouo45FfFrf3TyzCv5ubliI9ZfMgEzs7NlK9t6bl1L00BWcq8wQEUJMThUwyJ4PlevABVioWNjrjjQaliVUlTBS55PvkgwjCWhXRuB5+IcW+/83eWpbxw7c3YMSzgkXfLp8KnRK9c7urrOr25teSCTcjpYSpCQsfRBsRqABcBra20OIZKsstomIARBVnIMIUDSAhwHxvOgm5oQNDdhWNgf/PPVGy98+92jH6JB6d81AQDMkeHLV7p6es92rsjuaso0d7DngdJpkJcGuSmw44CljEFXZE+AqJBCCSGC4rYktgspIRwHnEqBm5uBTBbIZmGyWUQtGfjNzRhm+cH3Jmae/+aP/v09AI0cSy0od3tFhgDYLzz1xINP9/f8yXov9ZCnNYlIQ+hku1prkFIwSgFhABOG8VFacshZWddSxcpWXElKGClhmKGT1WckBAoEfb5QOnzwwsg3/uqHg8cQ3xla8lWZ5bgjRADkLz+2b9NX7t/y/JYV2a+0SpmW2kAYDaGru4fz94Mqq0ZT0wOQkFG9CmaIEBEQxWt8XFfh3ND0zD9897+G/vL1w0cu3I3ll5OASj+8qX/dit/Zv+9n9/T1/HZ3pnkgLYSUBmAYcLKnQTV7Gwtuic2DTrZFCNBEUADySqmx3NzJY5dGX/nbH7395sWRkVks0yWpe3BNDtaBR/etfXr3ji9vXr3qmc5M8/Ym23YtYgh8+t3YiuUjAKHRyPtB6Woud+r0lYnXDx5//+DBw0c+QWz1z9w1uZv7JAD2kw/tXf3k7p0Pbuzuerwz27In43m9KctqtqSQgniBAiKjEapIlYIglyuWLl+dnT1xdmx88IfHT/7HW0ePj6M61z/TFyUXI4Idx0k9umd3x+5NG9d2d7T3Z5uauj3H7rCY0wBMGOliMfAnZ+byo6OTU8MnPz536e0T70+FYVDG/8Grsp82TuWydOXC9GKXpWvB3vPL0v/vy/8AndtI5OWgXEUAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTItMDMtMjJUMjI6MTc6MTItMDU6MDC8MRKFAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDEyLTAzLTIyVDIyOjE3OjEyLTA1OjAwzWyqOQAAAABJRU5ErkJggg==",Ri="/static/saudi_arabia-5lE2hkXg.png",Gi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAA4ASURBVGje5ZpZbFzXecd/Z7nLzHBIicOhSIqSKMqSLFESFW+VvNWWkQROATuw4T4Y6VvQpmgfAuStCFIEXV9aA0UDww1QBG2BFE2Qwo1bwHVs1I4XybZiS7ZVy1pIi5REiqs4nPXec04f7h2SotV2KFGJix7ym+XeO+ee///7n+8s94NfbRGp/Uob8Mu8jwAkoFKT6XELmNQs4NLjbg33+NwR0PSu0oGf7d4zuKlzW99ge6FzMJtv6w8zYUFrHQIuiuNavVqbKZdK46XpufOzoxfPX/n4/GTciCorCLklZNwKAgQgJAR9B/ds6d67477urZsf6enp+UKxs6u/I9/elstkpKc9lEwEYKylEUVUahUzX1pYnJqZHp+4PHH8ytjFl6+cOvfmpRMfjzto3Aoi1psAKcEfOHRwsHNo8Mn+7QNP7tg2cPvmYm+Qz+ZQSiUInMOtgCHSFymS5hhjWKgsMn7lcu38pyOnxs9/+uPZD8/98+g7J0ccRCSq+FwRIADVv2OgsPGePU8UB7f+ztCu2/ft6NuqMkGItQ7jHMkf4D7rxiYJApFUJgRSCir1GmfHR81HZz4+MXNu7NmZY6eevzR6YZZrY8UNF7VO4L09Dx3am7/n9u/279n5zcPDd/VvKfZKJwT12NCwhshaImuJUzOrLLaW2C2fj6whMhYpJd0bCrJY6OotafuILbRt3pjLn5n+9OI866CEmyVAAMGBx448KHf1PdO/Y/DRw3sOetkwSy2OaRiTgjZLII21GGexLnm/xlYTYi1RWkc2CNlU6PLnXGO4EoqDm4rFM1fOjF6+WRJuhgABBMNPfOmL8bbCM529PcOHd+3HUx51ExNbQ+QsUQrOWgvWgknAx9Yunb8uGStJcYbIGLTSFDs2iolaaUvVF3f39vR+Mnn6/NjNkHCjBAjAO/D4Iw+aga5nXD67+57bhsiFWeomXpJ7JjL0Vwx7FiIOXI0YXojZvxCzuxQzUI4p1AzKWCrOUsURW4tN1bJkzhGbhIyEBEUuzDBSmu4m6x/sKRZPXvlk9CI3GA9uNAjqvUfuHVL7t/7NvM89u3u384VttxE7cDi6Go6Di4a9ZUux4Qisu+6NHNCQgilPcConeT+vuOInVwq3onXp52RiIZACjo+c5uzkBTbWeT06MfqN/3z16MckE6lbrgC5dXB7V+7Qnu8uZNWjVkj29W9HaY2MDXfPRTw+UefAQkRH3aCMAZt0AbfKsBZlDO11w2A5ZmcpwlrLRc9Rw2LMiq5gkiBprME4i5KSkdkrGC225jryoZq4+kZpYaG2ViWslQABBIOP/frTlUL2m1dN5LVl2thW7KWjYXl8os6R6Qb5ulkGaf53a16Xiwy7FiM21A0jvmNBJMQ1A+fK4CiFYHx+lsWohpfxd3Z0dZ6fOHn6I9YYD9ZKgNz70KFdbmfvny4o119uRGxs62BfpoOnL9a4cz5CmOVgdyMmjKW/EtNTjTkdwrywWLN6hDBY55gszTNbKSM97YeZoK9TBq9Mj12aW4sKZKsXNr0f7N7yRDVU+6txTMNa8gaeGquyf7aGazSgEd20uUaDobkavzlWIVNtUIsj6qusEceAILKWmjFUQ31HZmjgq4DPGmLbWhQg99x/93a3u+87JWF7K1GEiWO+Mat5spHBLXnRrINZnLH0VmOMtZzIkgynZrk7xMZw8eos87UyUkqUr2Xg+xs2RvLFmYsTV1tVgV4DASrcveX+xVDvrddr1J3j3vmYr11agO2FZBWwzkUARyYjjoeW43mJWjEyGGtZrNewDiLnqFtDPRPuy+7ddoi337tAi7GgVQJEQYVZW2g7Upf4kbMEseXrFyO652NcdwWCoFXSWy4O6HDw5cuG94KAmmwSIyjXayzWazjAOEdkHXVFJtuVP5KHn5ZgsZUGtayA7vsP9sS54I6GMDSAOxYND80ZTGRhZg5RLHDNEm+digEOzMZs3wjv5RUSh0AwWZqnHkcgBNY5YudoAHFbeFffoTuLp48eX2yl/pYVEGzpHqwGenPcSCLwIzOGQuQSnc3MITIh+P66k+CAPHDnjONYxkcCtajBVOlq2jJwAiyOGEcc6C3hQM8ARxllHRUgxca2wVirNhNB1sKvXTXLobbewE3NIAqdaSxYXxKEg6E5i1cUlIRjYmGOWhw1z+IQWCEwQhB7qj3Tmd8OvEYLcaBVAhS5oN9oKY0UFGMYqDmSCW4C1pUWAYHoyINY330W66C3bMhWBJ/YMqVquYl9yawUWAFGS01b2E+LQ3xLBASgXeAVrJIYJemMYUOcSC99Sf5LJZwxiLbsuo8KubLDzVVZ8BsrjgoQAicFSIGTEqskLvCKgmTQWA8ChAfSaRU4rXBKkkPiO1JPu2v3cMsVXCNCZEPQ+ubV4BwuilH1GqroQeeKqYtICEBJnJI4rXBagaeyAcjaOhGQQJMSlAStcUqCkAghcG7lki0tUYRbiMHzEL4GpdZOhHNgTEJmFOOEwwlvFXhAiqR+pUCrpI1StjwVbIUAFyVCrwutEJ6iHHo0tILIIES607dab85Bo4GLoqRBKiVQyOUNwFUcJzumdmkmiDVL9TaUYLHpfJESIGUKXiI8jfAUQiuEo1xbz4lQHWIR22mpFMrTzLR5zIUeXbUYI9yKoe86va7pSWOu9Vxzgb/0syYBn61DOJjXgmlPLNchRapIhfA0+BrheUilIDZTrsW9gVYjlRHVxriS0irfY7bN53yHjxQ68a6UqcRbEJ5zSVhfuWK0Njn238whJHA+I5nyJc3AhxSJ5H0Nvof0PaSvUULGolIfp0UFtEqAdbOlc9qxqDyPatbnrd4MVmuEUEvxoGUS1lgs8NYGRUWnwGXieZqeDzxk4KF8D+1YsNOlkfUmwNXPXxrxGnZc+xoZ+Pxsa5YrOR+pNEIqkOqWkCCAKV/wUkEv9/sm+EBD4CNCHxn4aE+j6+ZC7czYKC3OxloerCd/9sakLtWO+1Lh+x6nNmX59205lPIQyltBglwentaBCOngpYLHyXa9DN7XEPoQ+oiMjwx9tO/hS4UuVd+9+Prb0y3X3+J1bgZXlpfnXgksdc/3iLI+39+XZ7w9XEXCiphw3Wi/BvAILoWK728JaHgKPAWBtwSeTIAIA1To4/kegXEVeWn25RJUWW8FALb27uk3wlL9VKA1ge/xi805vjfcTuT7CO0hlI9QOlXC9dTQChnp3q8QRFLw7LaQdwp+Kvll4GQDRCZAZlLwWhOW6h9U3jp1jDXsC65pT3BqZKzcf/f+DtPV/nCspYiE4GSnpqfiODhjloGKBACAEOnTPrFiCFtSxgoTIp0jCISUCCH5YX/An+3MUgu91PPeEngyITIT4AU+Gc8jb4gzZyb/6oO/f/5l1rA9vtZNUdsZ5qb82/rujdqCXiOgoiVHuz16q459cxbZJAB5zeggVhorlLF0XiKkQIpkJvejzQF/MNTGbJv/Gc+TCZBhgA59Al/TpjTt05W3Gy8c+/OpkbFp1rAcXfNzgamzowv9Q7tj0d3xSOxrzwq4Gihe6/XRTrB/zpI1zQWKTLtB8i5SoMgUcNPSuKFRLPqa53Zk+cP9bUzl/eX+nl0GL0IfFfj4nkdWaTpqphR8MPZHJ//h+dfX4v0bIgBw/vjchfa9g/12Q2441hInBIuB5LW+gNMbPTZXHb1V8F0aEGU6V5AqDZAq+SwkSiq0UMRK824x5DsH8jy3O0epLUg8nwlSz6dBL/CRgYfvaTJK0W6Faxud/rup7/3k2YXFxcpavH/DBFydn691hbkzmf7isMtntlglcEIQacFHBY9/Gwg5u8HHQ5KPJRkn8VAokZpUSKkwWjOT9XmzJ+SZoTx/ciDPO70ZzFKUX0FA6CPS2Z6vNVnl0Y6kY2Lhtehf3/72ufc+uMgNPCS90TFKAPqOrz91v3p4+K/L3fm9JSwVa6jamHocY4whV425ba7BvqkGO+cjussGPzY0hGMqFJxpU3y4QXEmryj7csUCR4JOFzpaIrRC6QR4RmpyUpN3gtzkwon45fd+/xc/+MkxIF6r92+GgOZv/cO/97WHMw8c+IvGpo69VSmoY6k7Sy2OqZqIShxRj2NsHENswBqcXb14SpuRxgKpJFprfO0RaI+MToc5IQmQZIzDn5g7UXn1xLeOPvfDn5OkzfxSnw5fQ8L9v/304c6H7vhjsbnr3oavRSSaOW9u6XlewyYJEw0TE1mDSR9vAUgh0VLiSYWnNL5S+FKjpURJmeTUOYEPePXYuvErP59+5d1vv/m3//T2zYBfDwKadehDT3xl97ZHH/hWdrD/KdozuUhKjAArwCGa2UFLCz63qs2C5rxh+bvAIV2yt+UZC6VKqXx27B9HXviPv3znpy+d4wZlv94ENOuRAzt3dN79W088Vjyw63czm7qGRSbQVsllEkSztcnn5eKSfIC0IuFYAi+NxVXrcXVi6vjk+x8/e+wHP35h/NML86xTktS6p8kB3uHf+NLA0Bcf+GrXjm1P5oqd+3U2DNEaJ0XSYiGunyXmkn1mYR3EMVG5Wi1PzZ6cOjv6o49efPVfjr34yqckXv/cpcmtrlMA/j1HHuzb99B9h7t3bDvSXizcFeZzW3QY5JXWWii5fHvncNZiojiOa/WFamnxQmlq5t3Jc6Mvn3zl9aPHX33jMst9/XOdKHk9ImQYBJnh+w4VdwwPDRT6egazHe2b/UxQRKscDudiU4mqtSvlqwvj05cmRs69/+HoidePTjXiqMb/wVTZ/+k+zWTpZsL09ZKlV4K95cnS/+/LfwHA1CGQ2lN+AgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxMi0wMy0yMlQyMjoxNDowNS0wNTowMF4Ll5YAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTItMDMtMjJUMjI6MTQ6MDUtMDU6MDAvVi8qAAAAAElFTkSuQmCC",Ki="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAAvKSURBVGje5ZpbbBzVGcf/5zYzO3uz117Hju2QhMRJTG44IUoIl5CLaEpbVQGhCh76VJW3Vr08lZdWVK0ECKl9oJV6k/rQoqYKIlwjTCACEiAGQsj94iR2nHvsrO3dnTlzzunDzPiSuHTttQtVj/TJ69Xunvn/zvf9z5kzB/hyG4niS72A/2Y/BAAFwKKg0fsagIpCAzDR+2YSfXzlAMSjy1zXdTdv3jyro6NjfktLy/yampoW13XrOOcOABMEQblYLF7r7+/v7enpOd3V1XW6s7PzUrlcLo4BMiMwZgJALNy+e8t9rd/51iPrFy9avKmpqenObDbb4rpuSghBGWMgJOzeGAOlFKSUqlgsDg0MDPReuHCh6+iRI52vvPDC+7v27u0F4M8EiOkGQClgzd2wfH521ZyHH1i1/uEf3Pf44rqanC2EAKW0oh/RWkNKiRtXr5YP/eGPhz/bu3d7Z9/5Ha8dOdINQCLMimlpbBpB8pa2ufVzHl3zWPO9S361qmPVo+sWr2rqaF3CLWGBUgpKKQghIISM/H/z+3EwxpBwHJ7x/KZGYW24nfP1i3I5v0/rc9cLBe+rBIAAEEu2rmlPb1nw85YVC3+4rn11S0tuNs04SSyqnQPB+TjhN4sdGwDC15QCWsM/2wMn4dK6fL4p7/ub2iyrWWQzJ45cvDiAaciEagEQAPbyxzbcR1fPeq6lbd7WdbffKVzbRVlLuFYCy+rnglM2TuAX/uBYGEqhdPQEdGEQ3EkgnW+wMsXiiialVtY3NJzo6u25UC2EagAQAPaK727aEiyrfS7XMmvFuttWQHALngng6wAZ4WJ5/XwwOrVujFIoHTkGdWMQUAqUcTi5HHGu97fWq+Cuxqam4x+cO9dTDYTKXGli8WL54w/cG7Rnnza5xKKljW0glGFYeSgrH2Ul4eugass2MoDxfRhPwpTKYIyjtm0xmpl1x/3J1DNP3L1+LQCOKRr6VAGw9ofWLjFLc08V0ljUnG1EynYj8RJlJeEpCalVleoBEwQwvgwh+D5Q9mCl0kg2NKLRV0s3ZDJPbetY1TZVLVP5Ep2zYF6duGv2TwezWGMoRWO6DiUlo5H34Y0ACFDdtG1GMyDOAi987eQbIDRBc6Dv2ZrP/6i1pSU3FT2T/QIBYNU91L6tVM+3DSGAYyUgmEApSntvJPzqS8AARkpo34eREkZGIMo+uGVB2A6sko95hD76vUWLvglAYJKlMGkA7Q+uuV3OSX5/WKhEWQewuAVp1LiR96IykCqoet0WZkA08nH4PqA0uLBA/AApL0jdYTtPbF258raZBEAA2Paq2dtKabqsZBSk0QAh8FQwTrynJPyoBKrTb2CCsP61lCMRlwQBAZUKzA+QV+jY3DDr2wCsyUCYFIAlG1e3ylmJbSWmqW8UAqMj0/NvARDPAlWlgAkzQMceMEEQpUGkQkIqNl/YjzywbNnsmQLAnJWz7/HSrN1DKF4DGJRFlAJvpO5HIyqBqpoJa98PfWA0JHS5DF0sAQYgSoNKhZzB0vsbGtdORhev8HOkDq6rm5IbPWEs6WkoGBgAg34JBb+IBLejd8KmtZ4eEwzCWQBjb6QIoItl6OFiONTaAErBVSYxz0lsBGc7EaghVJB+FZNq2LK0MciKDp8aKJhw6UWAsvJxuTRwSwl4Op4Gq9IflYAcn/qeRHDtOoyUIQ9tQJQBVxr1jK/e2L40X2kflQIg9sL8/CDJmgMCKAKYMVV2qdiPgj8M/yYznI51gI5N0JdhyABqaAjyej+iMRgHIQXSujyXm4sKfaBSAJTUu/MDi6YUMdAxgKiLUuCjb/g6SoEHXwXwYwBKwVSnP8wAKaN1gIQplyGvXA3LIhYPgBiAGsAByTQ57rxKtVXqAQwZu0UJSrUmMJTAEAIQgniEb3hDIABqnTQoCJTRVZcAACBaCoNRQBsEhQLU4NCYD5CRLShiAAuE1wjRMq0AbIAbh9dpTmGCEABoBIAQwIT2N+ANITAKGSsJGFP9vQAMTKDCtYAE1NAwdLE4Kp2Q8BIQ7TUQAgYCl/E8KrzTrQQAEQA1gtqGU4AxgFNAxgAwUubxrOCpAA6zqs+AeCk8XIT2/BHTG3dxI+LDjRZGKASBi2kuAQNKAc4AQQGfhilJNaBjCKPF7isJP/AxJEvjpsapEFDFIlRhcPw0GAvH6OZJCIBCUwpCKu+zEkpGAoaAeIRRQHBAsBAGp1Ep4FbPjTyg+puhAGYiJyUARrbZGCijoJSBUAoFDKPCTZKK0sQDAuKrq5QxEMFBrBhCnAmxId50gdOx6TzB74yOery5ykApB2MMhlKUtL6C8CHLf2yVloAiw7KXgWoqOCWWAAkCGKUBpcOVmNG3lMJMtHBfkYxsnFLKwBgD4wyEcyhKgxsq6EWFGVApAG0uD5/iigwxl2eoFiAqgAnGAkDYp44gzACHeFOVRjXPKANjHJRxUM4BzuFTUugrFbsrBVDpQsh4hy92i7Lq5VyAWQLEFoAjAJsDFh/1g7HT4wyIJ4SOH3nGwTgH5QJEcAzBnPvk6uUzqHAIKr4XuPTqB5f4db/LIgzcEqCOBeJYgGMBtoggsNCt6fQCIJEPUBI+RIlHnjMOzjkYFyBCQHGGKyrY3/npJ1cr/e2KM+Aa1DA9e+Mt24fHhQCzLZCEBcQRZ4Ngo8ZIq4cQGh4FpWSceME5OLfAuAAVAlRwFBktniwOdQIoYbozAIAu7zn1ntMvD9uUQ4goC1wLiMOxRktCsFvm7qkBoCNOz6IRF1yAR0F5KF5bHFeMOvhG79kPMInnBJO5QnP49b09ovvG9oRPtMUFuC3CLHDtMJIxiCgbOK16IozNLkx3AcGtEQCUc1AhAEugyGlwrDz8j92fftKHSVjwpAAA8L1dx3e4l71PHcJg8TGlkLSBpBP9tYGEHRplNS16SCrGCBdcgAsRpr8QIBaHsjn6jNq/8+zplxA+PZ4RAABgDr2457Q4eOX3qSFTdKJSYM4YCCknCjssiSrMkADhqAsLQliwor+cW6CCA5aAtgUGGBn8eHDgd690fXR2MuKnBACAvPb8Oy+6Jwvbkz6FQ0JDouMg2EDaCf2hmiIgBIILWJH4EdPjHBACxhIoWcwckaW/P92192UAk96BmYpL6bOnz1yTLx1+JtNTfD+tGBI0TE0ae0KcCa5d9Wo4zAA7Mr1owWMJaEfASwicNnLPC2dOPnfxfN8ApvCQdKo2rT//W+dR9sapJxv6gsONOoE8dVEjXCQsB9yxATdcJ1TySPzfNQKAs8jxLQskkQDSSehsCjKbwlmBAzsvnX9y+773T05FPFDd43FzYd/Rvtsam4/XNuQ60ul0PsUdZJiDNHfgcBsL7Dy2JZfCIlPsRgYI9h8AggCkJgtTk4ZOu/BTCZwxwYGXz5/58bOvv7IXU0j96QAAALr3vc97mmsbPsvV1S3MptOtKeGQNHWQZQksthqw2VkAQeikzdDAQAcK6kQ3tDHQmSRUMoFiQugTfnHPjlPHfvLsqzv3YpKuP90AAECf23fofK209tXncm5tKrMwa7tWklqYw7JYK1rBQCa+p59IuDHQWoeipQ95+hyUVpBJB9epGTwwcO2vf+n68Gd/enPXQVQx8tMJAABM76GT14YP9Lybr8l1Z51Uc43jNszmNfQO1gBiQmE3x1jBI8KjUEGAwJfw+i6g4JWD7uLgR+90n/zFL1/a8fx7Bw/0Ibzfr/qec7oAAIAZuNZfPrxr3yE+4L2VshJ9jSyVbeHZOkooBzBOoNYaSikopca9js4Lolwuo7//eunMieMff3j86G/+/M7uX/92xz/f7S/ciA9PTkubyYOS1qYHt8z+xte+vq6trW3jrFmzVmcymdZEIpEWQvCJDkr6vh+USqVCoVA4d+nSpf3Hjh3rfG3nzn1vvv32BYzW+lf6oOREIKht24mNGzfmOzo65kZHZZtd180LIZIAjJSyODw8fHlgYKC3t7e3e//+/Wd27959RUpZxv/gUdkv6ic+LB0fmJ7osPRYsTN+WPr/vv0LPSbu4pQwwWMAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTItMDMtMjJUMjI6MTY6MDMtMDU6MDA5LnKRAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDEyLTAzLTIyVDIyOjE2OjAzLTA1OjAwSHPKLQAAAABJRU5ErkJggg==",Fi="/static/portugal-fZby_qwU.png",Vi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwCAYAAAChS3wfAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAAGYktHRAAAAAAAAPlDu38AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAJdnBBZwAAAEAAAAAwAMXMgZYAAAoKSURBVGje7ZpbbFzVFYb/fTtn5szFE1/GOB6XJCTBJARDIAhTVFUpaVqEcUpoE1V5AKkvqC+VKFUFPEHVhz6AVCRopV6kClWtICIhUYyAUCkEQ4JNcyHGgcZxYsfxLfFtLmfmXFYfjk/sOAHO2DN2KnVJ62Fmzuy917fWXnvtfTawtMKmdUkHsJj9MAAcgJhWPv29C8CZVhcATX9PRfRxwwHwvSsMwzAefPDB2o0bN65KpVKrEolEyjCMKillCADZtm1ms9lLY2Nj/X19fT2dnZ09Bw8eHDJNMzsLSFlglAOAb7je0tLSsHXr1m+vXbv2e3V1dXdVVFSkDMOIKqW4EAKMed0TERzHgWVZTjabTY+Pj/dfvHixs7u7++Dbb7/d3tbW1g+gUA4QpQbAAWg7duxY1dLSsn3dunXb6+rqGmOxmK6UAuc8UCOu68KyLExOTpoDAwNdXV1db+zdu/fN3bt3nwVgwYuKG0oYAHnHHXfUvvLKK092dHQcGx4etk3TJMuyyLIssm2bHMe5oq7rXqWzf7NtmyzLokKhQLlcjoaHh+2jR492vvzyyz9rbGysgZc/ljR5zjVee/zxx5sOHDjw2rlz57LZbJYKhQJZlnWNwd8kc4H4IDKZDPX29qb379//1127dt0OQLsRIDAAoWeeeWZLe3v7kZGREcrn81cMD2p0EBiWZZFpmjQ8POwePnz4w6effvq7APSFQhALNF5//vnnt7S2tr60Zs2aplgsBiEEOOdgjF3ReXcw/V+/Hc45lFIskUg01NfXb6qtrf3i0KFDfVhATpgvAAZAPfvss99pbW19aeXKlbcahgEpZUkMnwthdluccwghEI1Gk8lk8s5EInGivb39Aua5OswXgHziiSfW7dy586XVq1c3hcNh+Fm+lMbPBTEbAmMM0Wg0WV1dvdo0zY9Onjx5ab4QihXe2NhYe+DAgdeGhoYonU6TZVkLnu/F5gXLsiidTtPg4CDt27fvzw0NDTWYqSwDS7ERwADoL7zwwk+bm5t/UVFRoTRNg1/UlMPz1wxgVl4AvGiIRCJrkslkT1tb2ykUmQ+KBcB37ty5dvv27b+tr69PKaWuCv3Fkrl9aZqm6bq+fHR09P3u7u4xFDEVigkZBkB/+OGHH62vr9+glLoq6S22+KuCEAJKKaRSqY3btm3bhiLrg6IAPPZYa8Ntt619NBaLcE0TkJKD86WrRThnUEpA0wTi8YhYv77xsYce2rK8GACyiP6EZW15YM+e2nWaJuE4AkQM4TBDbS0QsMwvmbguMDjIYJoMjHEIIZHP194uxA/vA949j4C5ICgAVlUFo7d39ebOzog2Ps6RzTK4LoOuAxs2AOEwQIuyCAGMAZkM8NlnQKHAIARHOCywbFk0XFl56+ZYDPumppBGgFwQOAKSyR/dZNvJjbatQMTBGAfAkM8Do6PATTctLoCREaBQAPzdNxGHbWtwnNp7li//fs3p0++kg7QVOAJ0/c5VuVy83rY5HIddZezQEGAYgK6XHwJjgGl6AHwh8qLRtjlsO94QCt2zAninFyWMAM7Y8lW2HYo6DofrMhDN5JlcDhgY8KKg3LnAdYGLFz0IcwE4DoNth+PhcGolgEMIkAeCAhBAIuU4ivvGz/X0xITnnWXLygfBdYHLl4HJyev95kNQEkikEHCFCwRA1yGJwlWuK0CEq7zvCxEwPg7YNhCPA2Ih+8zriON4kDOZa6eZ/9mLBAGiSA1jEEGmYxAATClwIqF7hs8+4L12IFNTQD4PRKOAUl5ULESIvGSXyfhJ76ueY7OcowxdB589TRYCAChyl1UoAGNjgKZ5iVEIDwRj35wk/WeIPK/n8157xSbXoOCDACDLAjHm5BmbfShL+LqCi2hm8ELMKOdfPTgib547zowGNZwxmoZMYMzKmGYJC6F8HjZj2VHOnekOgruDyMsLtu0PdEbnPudrseK3xRiBcwdAZoQITskAAHAYm+gXwnI5B/dpz2ew8zXym4RzAucEIQo2Y2P9CFgKB12wXKILZ6Q000K44Ly4KCi3eJ4nCEGQ0px03f6zpQZA+fyxs0pN9kvpQghacHYvLQAvAqR0IeXEedPs6EXAxB24ZBkc2jOkycHOsJaHJh0o7kAwFwIu+BKomFbJXCjuQJc2vLENdvRfeHc0qF2Bl8HLl5B55OY979+vH/hJRJo6hAM47vR89mDTNdBLNU3YnE8ztQhjAAQHlERa17Mf8PzBT6eQC9p5MecB7pT53od3h6hrrT52V6iQgbStMr63DciFA7ZSMPUIukOVJ/dk3SMo4lywmKqddnf19J1SkTcmwlE3r4VhSQ0uW+STkFniMo6C1JDXwhgPR+2T0ni9rbt3AGU6EyQAhX15580LhnHMCmmwNQlXcNASZETiDK7kcDSJQlhHn2F0vGnab8F7e1wWAABAr5/6vKdT6X8ci0aydkiDoxYfAjEGl3M4SsIO6bgcNaY+kfof9nV1nyvGeGB+b4botBY+f3c8kqpxnSbpOGCuC+bSolz48YxncDQFO6wjHY/QsWjF3349Mv5qenIyuygALk9MmLK65stVYdWUILdB+ACIwEBlg0AMnuc1BcvQkYtHcbqi4tBfLHru4zM9FzCPl6Tz3rUfHx65nKyv/8/yWGRTTNdquFRgQoKBgRHASlnvMgaSEm5IhxOLwkrEYVYl0JNIHN9N/Jd/OnHqJBCs9i8ZAAB0+OLQQN3N3/oiuaxiYzQWreHRKBCPAbEYYEQAXQfz98JFGAshvL20YYDicVBVJdzqKjg1VbCrK5GrrkRPRfz4Xpue+t0n//4IgI15LsYLjVYGQPvVA83Nj1RW/OYWxu6PFGwmLQfCcSAcF8xxwWwbrFDw9saFAmBZ3l7XnY5YzgEpvRMUpQGaAmkKJBVIcDiCwxECtiaQUdL9kuiDPaNjz73YfuQoisz6pQbgtyF33XfvrTtuTj21zgj/uBIsoiwPAHcJnMibFpg1NeZOEf/GGGNebcUA1094gqOgBC6Dpk5lsv/4+9nzL/7zk84zWIDnSwnAb4c3rlhR+fNNdz2yqabmyVQ43BRhTEqXIK5AmAEBmumcplvwDSfG4DIGhzPYnCFNZPflsp1Hh0Ze/f2Rjv09/f3juPpC5ZID8IUDUNub71vRsv62bY3VVdtrI5ENUSlDGtj1I8GHcMXzDA4DLBCmLCs3lMmc+Hxk9PW9pz5/a++Ro+fgeb1k1+TKeVFS+8G9m5ZvvX1989pkzebaeOyeeCjUEJYqpgSXgrErmxoCwSFCwXHtnG1NTubM80NTUx2nh4YOtp347OP3Oj+9iJm5fkNflLweCK6HQuHNTU01G29ZuSJVVbkqYUTqDU3VKLAIALKIshnLGh7PZPr7Ry+d7TjT0/uv48dHrELBxP/gVdmv68e/LO1fmL7eZem5J6//l3LKfwGoQ6ZNBo+T+gAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxMi0wMy0yMlQyMjoxNjozOS0wNTowMBPRKjwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTItMDMtMjJUMjI6MTY6MzktMDU6MDBijJKAAAAAAElFTkSuQmCC",gn=[{label:"العربية",value:"ar-SA",logo:Ri},{label:"বাংলা",value:"bn-BD",logo:Gi},{label:"Deutsch",value:"de-DE",logo:Bi},{label:"English",value:"en-US",logo:zi},{label:"Español",value:"es-ES",logo:Pi},{label:"Français",value:"fr-FR",logo:Ei},{label:"Italiano",value:"it-IT",logo:Ki},{label:"Português",value:"pt-PT",logo:Fi},{label:"Pусский",value:"ru-RU",logo:Vi},{label:"Türkçe",value:"tr-TR",logo:Di},{label:"Tiếng Việt",value:"vi-VN",logo:Li},{label:"日本語",value:"ja-JP",logo:Ni},{label:"한국어",value:"ko-KR",logo:Mi},{label:"中文简体",value:"zh-CN",logo:Ii},{label:"中文繁体",value:"zh-TW",logo:Ti}],Oi=window,hn=()=>{const{i18n:a}=_(),e=xe(),n=J(sn);return o(b,{children:o(da,{sx:{"& fieldset":{border:"none"},"& .MuiInputBase-input.MuiSelect-select":{display:"flex",alignItems:"center",backgroundColor:i=>i.palette.onBody.main}},labelId:"lang-simple-select-label",id:"lang-simple-select",value:n,onChange:async i=>{const r=i.target.value;await e(cn(r)),await e(ln(r)),localStorage.setItem("lang",r),a.changeLanguage(r),Oi.location.reload()},children:gn.map(i=>l(Ce,{value:i.value,children:[o(ee,{alt:"Remy Sharp",src:i.logo,sx:{width:25,height:25}}),o(B,{mx:1,children:i.label})]},i.value))})})},pn=()=>{const{toggleTheme:a,themeMode:e}=c.useContext(Oe);return o(ue,{size:"large",color:"inherit",onClick:a,children:e=="light"?o(On,{}):o(Qn,{})})},Qi="/static/logo-dark-BC2WCzIt.png",Ui="/static/logo-light-BaPSsb0v.png",Hi=a=>{const{themeMode:e}=c.useContext(Oe),{t:n}=_(),t=c.useMemo(()=>e==="light"?Ui:Qi,[e]),{onClose:i,...r}=a,s=[{key:1,text:"nav.assets",href:"/",active:"",icon:o(Yn,{}),iconOutlined:o(Wn,{})},{key:2,text:"nav.manage",href:"/manage",active:"manage",icon:o(Jn,{}),iconOutlined:o(Zn,{})}],y=c.useCallback(d=>{d=d.includes("/record")?"/record":d;let h="";switch(d){case"/":case"/transfer":case"/collection":case"/receive":case"/create":case"/record":h="/";break;case"/manage":h="/manage";break}v(h.replace("/",""))},[]),p=Un(),[C,v]=c.useState(p.pathname.replace("/",""));c.useEffect(()=>{y(p.pathname)},[y,p.pathname]);const E=d=>{i==null||i({},"backdropClick")};return l(jn,{...r,onClose:i,children:[o(b,{component:de,to:"/",sx:{display:{xs:"none",sm:"block"},mr:"auto",color:d=>d.palette.onSurface.main,fontSize:16},children:o(De,{sx:{display:{xs:"none",sm:"none",md:"flex"}},children:o(b,{component:"img",sx:{width:220},alt:"logo",src:t})})}),o(De,{sx:{display:{xs:"block",sm:"block",md:"none"},my:2},children:l(F,{container:!0,spacing:2,alignItems:"center",children:[o(F,{item:!0,children:o(De,{children:o(b,{component:"img",sx:{width:220},alt:"logo.",src:t})})}),o(F,{item:!0,sx:{ml:"auto"},children:o(pn,{})}),o(F,{item:!0,children:o(hn,{})})]})}),o(ia,{children:o(b,{children:s.map(d=>o(ca,{children:l(Ua,{component:de,to:d.href,selected:C===d.active,onClick:()=>E(d.href),children:[o(Hn,{children:C==d.active?d.icon:d.iconOutlined}),o(ke,{children:n(d.text)})]})},d.key))})})]})},Na=c.memo(Hi),ji=()=>{const a=sa(),e=xe(),n=J(ua),t=J(Ko),i=()=>{a("/message")},r=c.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:1,params:[{name:"@1multi_sign_proposals",where:`{"wallet": ${n.wallet},"status": "ongoing"}`,limit:10,columns:"id"}]}),[n.wallet]),s=c.useCallback(async()=>{await e(Le(r))},[r,e]);return c.useEffect(()=>{n.wallet&&s()},[s,n.wallet]),o(W,{children:o(ue,{size:"large",color:"inherit",onClick:i,children:t?o(qn,{badgeContent:t,color:"primary",max:99,children:o(ka,{fontSize:"large"})}):o(ka,{fontSize:"large"})})})},Yi=c.memo(ji),Wi=window,Ji=({close:a})=>{const e=f.getCache("current"),n=J(tn),t=J(ua),i=J(ga),r=xe(),s=J(zo),y=J(on),p=c.useRef(1),C=c.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:Date.now(),params:[{name:"@1multi_sign_wallets",where:`{'owners -> ${e.account}': 1}`,order:{id:1},offset:0,limit:10}]}),[e.account]),v=h=>{if(h&&h.id!==t.id){f.setCache("teamSelect",h);const x=i.map(R=>({id:R,changes:{isSelect:!1}}));r(Po(x)),r(_e({id:h.id,changes:{isSelect:!0}})),r($e(h)),Wi.location.href="/",a()}};let E=!1;return o(W,{children:o(Xn,{freeSolo:!0,id:"team-name",sx:{width:{xs:200,sm:200,md:300},margin:{xs:"0 auto",sm:"0 auto",md:0}},size:"medium",value:t,options:n,getOptionLabel:h=>h.team_name,onChange:(h,x)=>{v(x)},disableClearable:!0,clearIcon:"",ListboxProps:{onScroll:async h=>{if(E)return;const x=h.currentTarget;if(x.scrollTop+x.clientHeight>=x.scrollHeight-50&&Math.ceil(y/C.params[0].limit)>p.current&&s==="idle"){E=!0,p.current+=1;const V=C.params[0].limit*(p.current-1);C.params[0].offset=V;const A=await r(Pe(C));Pe.fulfilled.match(A)&&(E=!1)}}},renderInput:h=>o(Ee,{variant:"outlined",className:"team-search",...h,InputProps:{...h.InputProps,type:"search"}}),renderOption:(h,x)=>_n(ca,{...h,key:x.id},x.isSelect?o(Ha,{color:"success"}):o(B,{fontSize:20,width:20}),o(ke,{primary:x.team_name,sx:{ml:1}}))})})},Zi=c.memo(Ji),Ma=window,qi=({onDrawerToggle:a,window:e})=>{const{t:n}=_(),t=xe(),[i,r]=c.useState(null),[s,y]=c.useState(!1),[p,C]=c.useState(!1),[v,E]=c.useState(null),[d,h]=c.useState(f.getCache("current")),x=!!i,R=f.currNetwork(),V=()=>{r(null)},A=k=>{if(d&&d.mnemonic){const L=f.getCache(`${d.mnemonic}-${d.selectId}`);E(L)}else E(()=>[d]);r(k.currentTarget)},U=$n({disableHysteresis:!0,threshold:0,target:e?e():void 0}),O=J(ga),H=c.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:Date.now(),params:[{name:"@1multi_sign_wallets",where:`{'owners -> ${d.account}': 1}`,order:{id:1},offset:0,limit:10}]}),[d]),P=c.useCallback(async()=>{const k=await t(Be(H));if(Be.fulfilled.match(k)&&(k.payload.list?k.payload.list:[]).length){const D=f.getCache("teamSelect"),I=k.payload.list[0];D?(t($e(D)),t(_e({id:D.id,changes:{isSelect:!0}}))):(t($e(I)),t(_e({id:I.id,changes:{isSelect:!0}})))}},[t,H]);c.useEffect(()=>{P(),t(Eo())},[t,P]);const z=(k,L)=>{L!=="clickaway"&&y(!1)},m=k=>{k&&(f.copyToClipboard(k),y(!0))},S=()=>{},M=async k=>{C(!0);const L=await _a(),D=L.network_id,{uid:I,hasher:N,token:T}=L,X=Z.getKeyring(N),{privateKey:re}=k,ge=X.generatePublicKey(re),Qe={data:{signature:X.sign(`LOGIN${parseInt(D,10)}${I}`,re),pubkey:ge,ecosystem:1},token:T},he=await $a(Qe),{account:ze}=he,Se={...k,publicKey:ge,networkId:Number(D),account:ze,keyId:he.key_id,isLogin:!0};f.setCache("current",Se),f.setCache("hasher",N),f.setCacheToken("token",he.token),C(!1),h(Se);const pa=v.map(pe=>(pe.id===k.id?pe.isLogin=!0:pe.isLogin=!1,pe));f.setCache(`${k==null?void 0:k.mnemonic}-${k.selectId}`,pa),Ma.location.href="/"},G=()=>{if(f.removeCacheToken("token"),f.removeCache("teamSelect"),d!=null&&d.mnemonic){const L=(f.getCache(`${d.mnemonic}-${d.selectId}`)||[]).map(D=>(D.index===0?D.isLogin=!0:D.isLogin=!1,D));f.setCache(`${d.mnemonic}-${d.selectId}`,L)}Ma.location.href="/login"};return l(W,{children:[o(oo,{position:"sticky",elevation:U?2:0,children:l(De,{children:[l(F,{container:!0,alignItems:"center",justifyContent:"space-between",children:[o(F,{item:!0,sx:{display:{md:"none",sm:"block"},mx:1},children:o(ue,{color:"inherit",edge:"start",onClick:a,children:o(eo,{})})}),o(F,{item:!0,sx:{ml:{xs:"auto",sm:"auto",md:0}},children:O.length?o(Zi,{close:S}):""}),l(F,{container:!0,alignItems:"center",width:"auto",children:[o(F,{item:!0,sx:{ml:{xs:0,sm:0}},children:o(Yi,{})}),o(F,{item:!0,sx:{display:{xs:"none",sm:"none",md:"block"}},children:o(pn,{})}),o(F,{item:!0,sx:{display:{xs:"none",sm:"none",md:"block"}},children:o(hn,{})}),o(F,{item:!0,children:o(ue,{color:"inherit",sx:{p:.5},onClick:A,children:o(ee,{alt:"My Avatar",sx:{width:30,height:30,fontSize:14,bgcolor:"primary.main",color:"onPrimary.main"},src:`${R.rpc}/api/v2//avatar/1/${d.account}`,children:o(ee,{src:"/profile.png"})})})})]})]}),l(ao,{id:"avatar-menu",anchorEl:i,open:x,onClose:V,MenuListProps:{"aria-labelledby":"basic-button"},sx:{overflowY:"auto",maxHeight:"350px","& .MuiList-root":{my:2}},children:[v?v.map(k=>o(W,{children:k.isShow?l(Ce,{children:[o(b,{mr:1,width:25,children:k.isLogin?o(Ha,{color:"success",fontSize:"medium"}):""}),l(b,{onClick:()=>{M(k)},children:[l(K,{direction:"row",alignItems:"center",children:[l(B,{variant:"body2",mr:1,children:[n("login.accountName"),":"]}),o(B,{variant:"body2",sx:{width:"150px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:k.name})]}),l(K,{direction:"row",alignItems:"center",children:[l(B,{variant:"body2",mr:1,children:[n("login.address"),":"]}),o(B,{variant:"body2",children:k.account}),o(ue,{"aria-label":"ContentCopyIcon",onClick:L=>{L.preventDefault(),L.stopPropagation(),m(k.account)},size:"medium",children:o(no,{})})]})]})]},k.id):""})):"",o(Ce,{sx:{display:"flex",justifyContent:"center",mt:3},children:o(ae,{variant:"filled",sx:{minWidth:150,lineHeight:2.4},onClick:G,size:"large",children:n("exit")})})]})]})}),o(ma,{open:s,autoHideDuration:2e3,onClose:z,anchorOrigin:{vertical:"top",horizontal:"center"},children:o(la,{onClose:z,severity:"success",variant:"filled",sx:{width:"100%"},children:n("login.cody")})}),o(ja,{sx:{color:"#fff",zIndex:k=>k.zIndex.drawer+1},open:p,children:o(ra,{color:"inherit"})})]})},Xi=c.memo(qi),qe=280,_i=()=>{const a=ta(),e=we(a.breakpoints.up("md")),[n,t]=c.useState(!1),i={display:"flex",minHeight:"100vh"},r={width:{md:qe},flexShrink:{md:0}},s={flex:1,display:"flex",flexDirection:"column"},y={p:0,flex:1},p=()=>{t(!n)};return l(b,{sx:i,children:[l(b,{component:"nav",sx:r,children:[e?null:o(Na,{PaperProps:{style:{width:qe}},variant:"temporary",open:n,onClose:p}),o(Na,{variant:"permanent",PaperProps:{style:{width:qe}},sx:{display:{md:"block",sm:"none",xs:"none"},position:{xs:"fixed",sm:"fixed",md:"static"},"& .MuiPaper-root":{position:{xs:"fixed",sm:"fixed",md:"static"}}}})]}),l(b,{sx:s,children:[o(Xi,{onDrawerToggle:p}),o(b,{sx:y,children:o(to,{})})]})]})};function $i({children:a}){return f.getCacheToken("token")?o(W,{children:a}):o(Ya,{to:"/login",replace:!0})}function er({children:a}){return f.getCacheToken("token")?o(Ya,{to:"/",replace:!0}):o(W,{children:a})}const ar=({change:a,changeLogin:e})=>{const{t:n}=_(),[t,i]=c.useState(""),[r,s]=c.useState(null),[y,p]=c.useState("text"),[C,v]=c.useState(null),[E,d]=c.useState(""),[h,x]=c.useState(!0),R=c.useCallback(P=>{const z=P.trim();if(z.length<=0){const m={text:n("login.empty"),boo:!0};return s(m),!1}else if(z.length>16){const m={text:n("login.maxName"),boo:!0};return s(m),!1}else return s({text:"",boo:!1}),!0},[n]),V=P=>{const{value:z}=P.target,m=z.trim();i(m),R(z)},A=c.useCallback(P=>{const z=P.trim();if(z.length<=0){const m={text:n("login.pwEmpty"),boo:!0};return v(m),!1}else if(z.length>50){const m={text:n("login.maxpw"),boo:!0};return v(m),!1}else return v({text:"",boo:!1}),!0},[n]),U=P=>{const{value:z}=P.target;p("password"),d(z),A(z)},O=P=>{P.preventDefault();const z=R(t),m=A(E);z&&m&&h&&(a(3),e({name:t,password:E}))},H=P=>{x(P.target.checked)};return l(b,{children:[o(be,{sx:{minWidth:120,width:"100%",mb:3},children:o(Ee,{label:n("login.name"),onChange:V,autoComplete:"off",variant:"outlined",color:"secondary",type:"text",value:t,error:r?r.boo:!1,fullWidth:!0,helperText:r?r.text:""})}),o(be,{sx:{minWidth:120,width:"100%",mb:3},children:o(Ee,{label:n("login.password"),onChange:U,autoComplete:"off",variant:"outlined",color:"secondary",type:y,value:E,error:C?C.boo:!1,fullWidth:!0,helperText:C?C.text:""})}),l(be,{required:!0,error:!h,component:"fieldset",sx:{mb:3},variant:"standard",children:[o(Ja,{control:o(Wa,{onChange:H,checked:h,size:"medium"}),label:n("login.know"),sx:{"& .MuiTypography-root":{fontSize:14}}}),h?"":o(Xe,{children:n("login.checkKnow")})]}),o(K,{direction:"row",justifyContent:"end",children:o(ae,{variant:"filled",onClick:O,sx:{minWidth:200,lineHeight:2.4},size:"large",children:n("login.create")})})]})},se={generateMnemonic:(a=128)=>io(Ca,a),verifyMnemonic(a){return ro(a,Ca)},wallet:(a,e=0)=>{const n=so(a),i=co.fromSeed(n).derivePath(`m/44'/60'/0'/0/${e}`),r=i.privateKey.replace("0x",""),s=i.publicKey.replace("0x","");return{privateKey:r,publicKey:s}},publicKey:a=>{try{const e=new je(a),{publicKey:n}=e;return n.replace("0x","")}catch{return!1}},isAddress(a){return lo(a)},parseUnits(a,e=18){return mo(a,e)},formatUnits(a,e=18){return uo(a,e)},async exportWallet(a,e){const n=new je(a),{address:t}=n;return{keyStore:await n.encrypt(e),address:t}},async importWallet(a,e){const n=await je.fromEncryptedJson(a,e),t=n.privateKey.replace("0x",""),{address:i}=n;return{address:i,privateKey:t}}},Ve=c.createContext({change:()=>{},loginData:{name:"",password:""}}),nr=()=>{const{t:a}=_(),{change:e,loginData:n}=c.useContext(Ve),t=()=>{e(4)},i=()=>{const r=f.getCache("accountList");f.removeCache("current");const s=se.generateMnemonic(),{privateKey:y}=se.wallet(s),p=se.publicKey(y),v=Z.getKeyring().publicToID(p),E=Z.addressString(v),d={id:f.uuid(),index:0,name:n.name,mnemonic:s,password:n.password,privateKey:y,publicKey:p,account:E,isShow:!0,isLogin:!0};r?(r.push(d),f.setCache("accountList",r)):f.setCache("accountList",[d]),e(1)};return l(b,{width:"100%",children:[o(B,{variant:"h5",sx:{fontSize:{xs:"16px",md:"20px"}},mb:{xs:1,md:2,lg:3},children:a("login.setting")}),o(B,{component:"div",sx:{fontSize:{xs:"12px",md:"16px"}},mb:{xs:1,md:5},children:a("login.safety")}),l(F,{container:!0,direction:"row",justifyContent:"space-between",children:[l(F,{item:!0,border:1,p:{xs:1,md:2},borderRadius:5,width:{xs:"100%",md:"45%"},display:"flex",flexWrap:"wrap",alignContent:"space-between",mb:{xs:2,md:0},children:[l(b,{mb:{xs:1,md:2,lg:3},children:[o(B,{variant:"body2",mb:1,children:a("login.wallet")}),o(B,{variant:"body2",fontSize:{xs:12,md:14},children:a("login.base")})]}),o(b,{textAlign:"center",width:"100%",children:o(ae,{variant:"filled",sx:{fontSize:{xs:12,md:14},minWidth:150,lineHeight:2.4},onClick:i,size:"large",children:a("login.new")})})]}),l(F,{item:!0,p:{xs:1,md:2},border:1,borderRadius:5,width:{xs:"100%",md:"45%"},display:"flex",flexWrap:"wrap",alignContent:"space-between",children:[l(b,{mb:{xs:1,md:2,lg:3},children:[o(B,{variant:"body2",mb:1,children:a("login.had")}),o(B,{variant:"body2",fontSize:{xs:12,md:14},children:a("login.multi")})]}),o(b,{textAlign:"center",width:"100%",children:o(ae,{variant:"filled",sx:{fontSize:{xs:12,md:14},minWidth:150,lineHeight:2.4},onClick:t,size:"large",children:a("login.loading")})})]})]})]})};function Da(a){const{children:e,value:n,index:t,...i}=a;return o(b,{role:"tabpanel",hidden:n!==t,id:`wallet-${t}`,"aria-labelledby":`info-${t}`,...i,minHeight:"25vh",children:n===t&&o(b,{sx:{py:2},children:e})})}function La(a){return{id:`simple-tab-${a}`,"aria-controls":`simple-tabpanel-${a}`}}const or=()=>{const a=[];for(let e=0;e<12;e++)a.push(e+1);return a},tr=Qa(go)(({theme:a})=>({"&":{backgroundColor:a.palette.container.main,color:a.palette.container.contrastText}})),ir=()=>{const{t:a}=_(),[e,n]=c.useState(0),[t,i]=c.useState([]),[r,s]=c.useState(""),[y,p]=c.useState(""),[C,v]=c.useState(!1),[E,d]=c.useState(a("login.privateEmpty")),{change:h,loginData:x}=c.useContext(Ve),R=(m,S)=>{n(S),p(""),i([])},V=or(),A=(m,S)=>{s(m),i(()=>(t[S]=m,t))},U=m=>{if(r){const M=r.replace(/^\s+|\s+$/g,"").split(" ");if(M.length===12){i(()=>(t[m]="",[...t]));const G=[];for(let k=0;k[...G])}}},O=m=>{const{value:S}=m.target;p(S)},H=()=>{h(3)},P=()=>{const m=f.getCache("accountList");if(f.removeCache("current"),e===1)if(y==="")d(a("login.privateEmpty")),v(!0);else if(!se.publicKey(y))d(a("login.privateError")),v(!0);else{const S=se.publicKey(y),G=Z.getKeyring().publicToID(S),k=Z.addressString(G),L={id:f.uuid(),name:x.name,mnemonic:"",password:x.password,privateKey:y,publicKey:S,account:k,isShow:!0,isLogin:!0};m?(m.push(L),f.setCache("accountList",m)):f.setCache("accountList",[L]),h(1)}else{const S=t.join(" ");if(t.length===0)d(a("login.mnemonicEmpty")),v(!0);else if(!se.verifyMnemonic(S))d(a("login.mnemonicError")),v(!0);else{const{privateKey:M}=se.wallet(S),G=se.publicKey(M),L=Z.getKeyring().publicToID(G),D=Z.addressString(L),I={id:f.uuid(),index:0,name:x.name,mnemonic:S,password:x.password,privateKey:M,publicKey:G,account:D,isShow:!0,isLogin:!0};m?(m.push(I),f.setCache("accountList",m)):f.setCache("accountList",[I]),h(1)}}},z=()=>{v(!1)};return l(b,{width:"100%",children:[o(B,{variant:"body2",sx:{fontSize:{xs:12,md:12,lg:16},mb:{xs:1,md:2,lg:3}},children:a("login.use")}),l(ho,{value:e,onChange:R,textColor:"primary",centered:!0,indicatorColor:"primary","aria-label":"full width tabs example",children:[o(xa,{label:a("login.word"),...La(0)}),o(xa,{label:a("login.private"),...La(1)})]}),l(b,{width:"100%",sx:{overflowY:"auto"},children:[o(Da,{value:e,index:0,children:l(b,{mb:2,children:[o(B,{mb:1,sx:{fontSize:{xs:12,md:14,lg:16}},children:a("login.restore")}),o(b,{display:"flex",flexWrap:"wrap",justifyContent:"space-between",mb:2,height:180,children:V.map((m,S)=>o(Ee,{autoComplete:"off",sx:{width:"20%",mx:1,mb:{xs:1,md:1,lg:2},fontSize:{xs:12,md:12,lg:16},"& .MuiInputBase-input":{p:{xs:.5,md:.5,lg:1}}},value:t[S]||"",size:"medium",InputProps:{startAdornment:o(po,{position:"start",children:m})},onChange:M=>{const{value:G}=M.target;A(G,S)},onBlur:()=>{U(S)}},m))})]})}),o(Da,{value:e,index:1,children:l(b,{mb:2,children:[o(B,{mb:1,sx:{fontSize:{xs:12,md:14,lg:16}},children:a("login.text")}),o(b,{width:"100%",height:180,mb:2,sx:{backgroundColor:m=>m.palette.container.main,color:m=>m.palette.container.contrastText},children:o(tr,{minRows:6,maxRows:6,className:"w-full p-3 border",value:y,onChange:O})})]})})]}),l(b,{display:"flex",justifyContent:"space-around",children:[o(ae,{variant:"filled",sx:{minWidth:150,lineHeight:2.4},onClick:H,size:"large",children:a("login.cancel")}),o(ae,{variant:"filled",sx:{minWidth:150,lineHeight:2.4},onClick:P,size:"large",children:a("login.start")})]}),o(ma,{anchorOrigin:{vertical:"top",horizontal:"center"},open:C,onClose:z,autoHideDuration:3e3,sx:{"& .MuiAlert-action":{mr:3}},children:o(la,{onClose:z,severity:"error",variant:"filled",sx:{width:"100%"},children:E})})]})},rr=({change:a})=>{const{t:e}=_(),n=sa(),[t,i]=c.useState(""),[r,s]=c.useState(""),[y,p]=c.useState(""),[C,v]=c.useState(!1),[E,d]=c.useState(null),[h,x]=c.useState("text"),[R,V]=c.useState(null),[A,U]=c.useState(),[O,H]=c.useState(!0),[P,z]=c.useState(f.getCache("accountList")||[]),m=c.useCallback(I=>{if(I.trim().length<=0){const T={text:e("login.select"),boo:!0};return d(T),!1}else return d({text:"",boo:!1}),!0},[e]),S=I=>{const{value:N}=I.target;i(N);const T=P.find(X=>X.id===N);U(T),s(T.name),m(T.name)},M=c.useCallback(I=>{const N=I.trim();if(N.length<=0){const T={text:e("login.pwEmpty"),boo:!0};return V(T),!1}else if(N!==A.password){const T={text:e("login.incorrect"),boo:!0};return V(T),!1}else return V({text:"",boo:!1}),!0},[A,e]),G=I=>{const{value:N}=I.target;x("password"),p(I.target.value),M(N)},k=async I=>{I.preventDefault();try{const N=m(r),T=M(y);if(N&&T&&O){v(!0);const X=await _a(),re=X.network_id,{uid:ge,hasher:oe,token:Qe}=X,he=Z.getKeyring(oe),{privateKey:ze}=A,Se=he.generatePublicKey(ze),pe={data:{signature:he.sign(`LOGIN${parseInt(re,10)}${ge}`,ze),pubkey:Se,ecosystem:1},token:Qe},Ue=await $a(pe),{account:yn}=Ue,ya={...A,selectId:A.id,publicKey:Se,networkId:Number(re),account:yn,keyId:Ue.key_id,isLogin:!0};if(f.setCache("current",ya),f.setCache("hasher",oe),f.setCacheToken("token",Ue.token),A!=null&&A.mnemonic){const Aa=f.getCache(`${A==null?void 0:A.mnemonic}-${A.id}`);if(!Aa)f.setCache(`${A==null?void 0:A.mnemonic}-${A.id}`,[ya]);else{const An=Aa.map(Ne=>(Ne.index===0?Ne.isLogin=!0:Ne.isLogin=!1,Ne));f.setCache(`${A==null?void 0:A.mnemonic}-${A.id}`,An)}}n("/",{replace:!0}),v(!1)}}catch{v(!1)}},L=()=>{a(2)},D=I=>{H(I.target.checked)};return c.useEffect(()=>{(()=>{const N=f.getCache("accountList")||[];N.length&&(i(String(N[0].id)),U(N[0]),s(N[0].name),z(N))})()},[]),l(b,{children:[l(be,{sx:{minWidth:120,width:"100%",mb:3},error:E?E.boo:!1,children:[o(yo,{id:"name-select-helper-label",children:e("login.name")}),o(da,{labelId:"name-select-helper-label",id:"name-simple-select-helper",value:t,label:`${e("login.name")}`,onChange:S,MenuProps:{style:{maxHeight:350}},renderValue:I=>{const N=P.find(T=>T.id===I);if(N)return N.name},children:P.length?P.map(I=>I.isShow?o(Ce,{value:I.id,sx:{display:"flex",justifyContent:"space-between"},children:o(ke,{primary:I.name})},I.id):""):o(Ce,{value:0,disabled:!0,children:o("em",{className:"text-sm",children:e("login.no")})})}),E?o(Xe,{children:E.text}):""]}),o(be,{sx:{minWidth:120,width:"100%",mb:3},children:o(Ee,{label:e("login.password"),onChange:G,autoComplete:"off",variant:"outlined",color:"secondary",type:h,value:y,error:R?R.boo:!1,fullWidth:!0,helperText:R?R.text:""})}),l(be,{required:!0,error:!O,component:"fieldset",sx:{mb:3},variant:"standard",children:[o(Ja,{control:o(Wa,{onChange:D,checked:O,size:"medium"}),label:e("login.know"),sx:{"& .MuiTypography-root":{fontSize:14}}}),O?"":o(Xe,{children:e("login.checkKnow")})]}),l(K,{direction:"row",justifyContent:"end",children:[o(ae,{variant:"outlined",onClick:L,sx:{minWidth:200,lineHeight:2.4},size:"large",children:e("login.account")}),o(ae,{variant:"filled",onClick:k,sx:{ml:3,minWidth:200,lineHeight:2.4},size:"large",children:e("login.sign")})]}),o(ja,{sx:{color:"#fff",zIndex:I=>I.zIndex.drawer+1},open:C,children:o(ra,{color:"inherit"})})]})},sr=c.memo(rr),cr=window,lr=()=>{const a=xe(),e=J(sn),{t:n,i18n:t}=_(),[i,r]=c.useState(1),[s,y]=c.useState({name:"",password:""}),p={p:0,height:"100vh"},C=h=>{r(h)},v=h=>{y(h)},E=()=>{r(()=>i-1)},d=async h=>{const x=h.target.value;await a(cn(x)),await a(ln(x)),localStorage.setItem("lang",x),t.changeLanguage(x),cr.location.reload()};return o(Fa,{sx:p,children:o(b,{height:"100%",display:"flex",justifyContent:"center",alignItems:"center",children:l(b,{width:{xs:"100%",md:"70%",lg:"65%",xl:"60%"},children:[l(b,{p:{xs:3,md:4,lg:5},borderRadius:10,sx:{backgroundColor:h=>h.palette.onBody.main},children:[l(F,{container:!0,spacing:1,alignItems:"center",justifyContent:"space-between",mb:2,children:[o(F,{item:!0,children:o("img",{src:"/avatar-2.png",alt:"logo",width:"50"})}),o(F,{children:i>1?o(ue,{color:"inherit",sx:{p:.5},onClick:E,children:o(Ao,{title:n("login.back"),children:o(fo,{})})}):""})]}),o(b,{minHeight:{xs:"100%",md:"384px"},maxHeight:{xs:"100%",md:"60vh"},sx:{overflowY:"auto",backgroundColor:h=>h.palette.onBody.main,py:5},children:i===1?l(K,{width:"100%",direction:"row",justifyContent:"space-between",flexWrap:"wrap",children:[l(b,{width:{sm:"100%",md:"50%"},children:[o(B,{variant:"h3",mb:2,sx:{fontSize:{xs:"20px",md:"24px",lg:"28px",xl:"30px"}},children:n("login.sign")}),o(B,{variant:"body2",mb:2,children:n("login.continue")})]}),o(b,{width:{sm:"100%",md:"50%"},children:o(sr,{change:C})})]}):i===2?l(K,{width:"100%",direction:"row",justifyContent:"space-between",flexWrap:"wrap",children:[o(b,{width:{sm:"100%",md:"50%"}}),o(b,{width:{sm:"100%",md:"50%"},children:o(ar,{change:C,changeLogin:v})})]}):i===3?l(K,{width:"100%",direction:"row",justifyContent:"space-between",flexWrap:"wrap",children:[l(b,{width:{sm:"100%",md:"30%"},children:[o(B,{variant:"h3",mb:2,sx:{fontSize:{xs:"20px",md:"24px",lg:"28px",xl:"30px"}}}),o(b,{display:"flex",justifyContent:"center",alignItems:"center",height:"80%",children:l(b,{children:[o(b,{display:"flex",justifyContent:"center",mb:{xs:1,md:2,lg:3},children:o(ee,{alt:"My Avatar",sx:{width:{xs:50,md:50},height:{xs:50,md:50},fontSize:{xs:12,md:12},bgcolor:"primary.main",color:"onPrimary.main"}})}),o(b,{textAlign:"center",display:"flex",justifyContent:"center",mb:2,children:o(B,{variant:"body1",mb:1,textAlign:"center",ml:.5,children:s.name})})]})})]}),o(b,{width:{sm:"100%",md:"70%"},children:o(Ve.Provider,{value:{change:C,loginData:s},children:o(nr,{})})})]}):i===4?o(K,{width:"100%",direction:"row",justifyContent:"space-between",flexWrap:"wrap",children:o(b,{width:{sm:"100%",md:"100%"},children:o(Ve.Provider,{value:{change:C,loginData:s},children:o(ir,{})})})}):""})]}),o(b,{children:o(da,{sx:{"& fieldset":{border:"none"},"& .MuiInputBase-input.MuiSelect-select":{display:"flex",alignItems:"center",backgroundColor:h=>h.palette.container.main},"& .MuiTypography-root":{mr:1}},labelId:"lang-simple-select-label",id:"lang-simple-select",value:e,onChange:d,children:gn.map(h=>l(Ce,{value:h.value,children:[o(ee,{alt:"Remy Sharp",src:h.logo,sx:{width:25,height:25}}),o(B,{ml:1,children:h.label})]},h.value))})})]})})})},mr=[{path:"*",element:o(Si,{}),title:"No Match",meta:{key:"0"}},{path:"/login",element:o(er,{children:o(lr,{})}),title:"",meta:{key:"1"}},{path:"/",element:o($i,{children:o(_i,{})}),title:"",meta:{key:"2"},children:[...xi]}],dr=vo(mr);function ur(){const{t:a}=_(),{generateScheme:e}=c.useContext(ha),n=c.useCallback(()=>{e("#0b57d0")},[e]);return c.useEffect(()=>{n(),document.title=a("home.multi")},[a]),o(bo,{router:dr})}wo.createRoot(document.getElementById("root")).render(o(ko,{store:Vo,children:o(Pt,{children:o(ur,{})})}));export{li as M,Re as S,f as a,xe as b,fr as c,To as d,Be as e,_e as f,ua as g,hr as h,Le as i,pr as j,Z as k,yr as l,Ar as m,Fe as n,pi as o,Cr as p,se as q,sn as r,gn as s,$e as t,J as u,cn as v,ln as w}; diff --git a/static/js/receive/multikey.CLzGovOg.js b/static/js/receive/multikey.CLzGovOg.js new file mode 100644 index 0000000..ab3fdef --- /dev/null +++ b/static/js/receive/multikey.CLzGovOg.js @@ -0,0 +1 @@ +import{J,r as o,b8 as Z,x as s,j as e,M as x,O as m,a9 as w,aa as G,U as K,b9 as X,av as Y,aR as ee,ba as te,$ as U,ay as ne,ac as v,bb as oe,bc as ae,bd as re,be as le,bf as se,bg as ie,bh as ce,bi as de,bj as ue,bk as he,bl as me,ae as be,af as pe}from"../multikey/multikey.D1_AnZj2.js";import{u as fe,g as ge,k as ye,h as Ce,M as xe,a as S}from"../multikey/multikey.DANc9zrZ.js";const we=()=>{const{t:a}=J(),b=window.location.protocol+"//"+window.location.host,[g,k]=o.useState(null),{id:i,keyId:u,tokenSymbol:p}=Z(),[l,$]=o.useState(b),[L,q]=o.useState(null),[h,D]=o.useState(""),[c,z]=o.useState(null),[H,y]=o.useState(!1),C=fe(ge),I=o.useCallback(()=>{$(`${b}/collection/${p}/${i}/${u}/${h||0}`)},[h,b,i,u,p]),A=o.useMemo(()=>[{jsonrpc:"2.0",method:"ibax.getBalance",id:1,params:[ye.addressString(u),Number(i)]}],[i,u]),B=o.useCallback(async()=>{const t=await Ce(A);if(t&&t[0].result){const n=t[0].result;q(n)}},[A]);o.useEffect(()=>{B()},[B]),o.useEffect(()=>{I()},[I]);const j=o.useCallback(t=>{if(Number(t)<0){const n={text:a("home.maxZero"),boo:!0};return z(n),!1}else return z({text:"",boo:!1}),!0},[a]),O=t=>{const{value:n}=t.target;Number(n)>=0&&(D(S.formatDecimalPlaces(n,L.digits)),j(n)&&$(()=>`${b}/collection/${p}/${i}/${u}/${h}`))},R=()=>{y(!1)},Q=()=>{y(!0),S.copyToClipboard(l)},F=t=>{const n=t.split(","),r=n[0].match(/:(.*?);/)[1],f=atob(n[1]);let d=f.length;const E=new Uint8Array(d);for(;d--;)E[d]=f.charCodeAt(d);return new Blob([E],{type:r})},N=(t,n)=>{const r=document.createElement("a");r.setAttribute("href",t),r.setAttribute("download",n),r.setAttribute("target","_blank"),r.dispatchEvent(new MouseEvent("click"))},W=()=>{if(j(h)){const r=document.getElementById("qrCode").toDataURL("image/png"),f=F(r),d=URL.createObjectURL(f);N(d,"qrCode")}},M=()=>{S.copyToClipboard(C.wallet),y(!0)},P=t=>{k(g?null:t.currentTarget)},T=!!g,V=T?"simple-popper":void 0,_=()=>{k(null)};return s(xe,{children:[e(x,{variant:"h5",mb:3,children:a("home.receive")}),s(m,{sx:{width:{md:"80%",sm:"100%"}},textAlign:"center",m:"auto",mb:2,children:[e(x,{variant:"body1",mb:1,children:C.team_name}),s(w,{direction:"row",justifyContent:"center",alignItems:"center",children:[e(x,{variant:"body1",children:C.wallet}),e(K,{"aria-label":"ContentCopyIcon",onClick:M,size:"medium",color:"primary",children:e(G,{fontSize:"medium"})})]})]}),e(w,{direction:"row",justifyContent:"center",alignItems:"center",mb:3,children:e(m,{children:e(X,{id:"qrCode",value:l,size:128,imageSettings:{excavate:!0,src:"",width:30,height:30}})})}),e(m,{display:"flex",justifyContent:"center",children:s(m,{sx:{width:{md:"80%",sm:"100%"}},children:[s(Y,{fullWidth:!0,sx:{mb:2},children:[e(ee,{htmlFor:"outlined-adornment-count",required:!0,sx:{fontSize:16},error:c?c.boo:!1,children:a("home.count")}),e(te,{id:"outlined-adornment-count",placeholder:a("home.collection"),type:"InputNumber",autoComplete:"off",size:"medium",fullWidth:!0,value:h,onChange:O,startAdornment:e(U,{position:"start"}),endAdornment:e(U,{position:"end",children:p}),label:a("home.count"),error:c?c.boo:!1}),e(ne,{error:!0,children:c?c.text:""})]}),s(w,{direction:"row",justifyContent:"space-between",flexWrap:"wrap",children:[e(v,{color:"primary",variant:"filled",size:"large",onClick:W,sx:{fontSize:12,px:2,minWidth:120,lineHeight:2.4,height:52},children:a("home.saveqr")}),e(v,{color:"primary",variant:"filled",size:"large",onClick:Q,sx:{fontSize:12,px:2,minWidth:120,lineHeight:2.4,height:52},children:a("home.cody")}),e(v,{color:"primary",variant:"filled",size:"large",sx:{fontSize:12,px:2,minWidth:120,lineHeight:2.4,height:52},"aria-describedby":V,onClick:P,children:a("home.give")})]})]})}),e(me,{id:i,open:T,anchorEl:g,onClose:_,anchorOrigin:{vertical:"bottom",horizontal:"left"},children:s(m,{p:2,display:"flex",width:200,justifyContent:"space-between",children:[e(oe,{url:l,children:e(ae,{size:30,round:!0})}),e(re,{url:l,children:e(le,{size:30,round:!0})}),e(se,{url:l,children:e(ie,{size:30,round:!0})}),e(ce,{url:l,children:e(de,{size:30,round:!0})}),e(ue,{url:l,children:e(he,{size:30,round:!0})})]})}),e(pe,{anchorOrigin:{vertical:"top",horizontal:"center"},open:H,onClose:R,autoHideDuration:2e3,children:e(be,{onClose:R,severity:"success",variant:"filled",sx:{width:"100%"},children:a("login.cody")})})]})};we.displayName="ReceivePage";export{we as Component}; diff --git a/static/js/receive/multikey.Ctq6N_pG.js b/static/js/receive/multikey.Ctq6N_pG.js deleted file mode 100644 index 372ce26..0000000 --- a/static/js/receive/multikey.Ctq6N_pG.js +++ /dev/null @@ -1 +0,0 @@ -import{U as Z,r as o,b4 as G,x as l,j as e,a2 as x,G as m,H as w,aD as X,X as Y,b5 as J,aI as K,aZ as ee,b6 as te,aY as L,aL as ne,a7 as v,b7 as oe,b8 as ae,b9 as re,ba as se,bb as le,bc as ie,bd as ce,be as de,bf as ue,bg as he,bh as me,ae as be,af as pe}from"../multikey/multikey.Cv6HG7AM.js";import{u as fe,g as ge,k as Ce,h as ye,M as xe,a as S}from"../multikey/multikey.EJ3kMsQf.js";const we=()=>{const{t:a}=Z(),b=window.location.protocol+"//"+window.location.host,[g,k]=o.useState(null),{id:i,keyId:u,tokenSymbol:p}=G(),[s,$]=o.useState(b),[U,D]=o.useState(null),[h,H]=o.useState(""),[c,I]=o.useState(null),[q,C]=o.useState(!1),y=fe(ge),z=o.useCallback(()=>{$(`${b}/collection/${p}/${i}/${u}/${h||0}`)},[h,b,i,u,p]),A=o.useMemo(()=>[{jsonrpc:"2.0",method:"ibax.getBalance",id:1,params:[Ce.addressString(u),Number(i)]}],[i,u]),B=o.useCallback(async()=>{const t=await ye(A);if(t&&t[0].result){const n=t[0].result;D(n)}},[A]);o.useEffect(()=>{B()},[B]),o.useEffect(()=>{z()},[z]);const T=o.useCallback(t=>{if(Number(t)<0){const n={text:a("home.maxZero"),boo:!0};return I(n),!1}else return I({text:"",boo:!1}),!0},[a]),F=t=>{const{value:n}=t.target;Number(n)>=0&&(H(S.formatDecimalPlaces(n,U.digits)),T(n)&&$(()=>`${b}/collection/${p}/${i}/${u}/${h}`))},j=()=>{C(!1)},Q=()=>{C(!0),S.copyToClipboard(s)},N=t=>{const n=t.split(","),r=n[0].match(/:(.*?);/)[1],f=atob(n[1]);let d=f.length;const R=new Uint8Array(d);for(;d--;)R[d]=f.charCodeAt(d);return new Blob([R],{type:r})},O=(t,n)=>{const r=document.createElement("a");r.setAttribute("href",t),r.setAttribute("download",n),r.setAttribute("target","_blank"),r.dispatchEvent(new MouseEvent("click"))},W=()=>{if(T(h)){const r=document.getElementById("qrCode").toDataURL("image/png"),f=N(r),d=URL.createObjectURL(f);O(d,"qrCode")}},P=()=>{S.copyToClipboard(y.wallet),C(!0)},V=t=>{k(g?null:t.currentTarget)},E=!!g,M=E?"simple-popper":void 0,_=()=>{k(null)};return l(xe,{children:[e(x,{variant:"h5",mb:3,children:a("home.receive")}),l(m,{sx:{width:{md:"80%",sm:"100%"}},textAlign:"center",m:"auto",mb:2,children:[e(x,{variant:"body1",mb:1,children:y.team_name}),l(w,{direction:"row",justifyContent:"center",alignItems:"center",children:[e(x,{variant:"body1",children:y.wallet}),e(Y,{"aria-label":"ContentCopyIcon",onClick:P,size:"medium",children:e(X,{fontSize:"medium"})})]})]}),e(w,{direction:"row",justifyContent:"center",alignItems:"center",mb:3,children:e(m,{children:e(J,{id:"qrCode",value:s,size:128,imageSettings:{excavate:!0,src:"",width:30,height:30}})})}),e(m,{display:"flex",justifyContent:"center",children:l(m,{sx:{width:{md:"80%",sm:"100%"}},children:[l(K,{fullWidth:!0,sx:{mb:2},children:[e(ee,{htmlFor:"outlined-adornment-count",required:!0,sx:{fontSize:16},error:c?c.boo:!1,children:a("home.count")}),e(te,{id:"outlined-adornment-count",placeholder:a("home.collection"),type:"InputNumber",autoComplete:"off",size:"medium",fullWidth:!0,value:h,onChange:F,startAdornment:e(L,{position:"start"}),endAdornment:e(L,{position:"end",children:p}),label:a("home.count"),error:c?c.boo:!1}),e(ne,{error:!0,children:c?c.text:""})]}),l(w,{direction:"row",justifyContent:"space-between",flexWrap:"wrap",children:[e(v,{color:"primary",variant:"extended",size:"large",onClick:W,sx:{fontSize:12,px:2,minWidth:120,lineHeight:2.4},children:a("home.saveqr")}),e(v,{color:"primary",variant:"extended",size:"large",onClick:Q,sx:{fontSize:12,px:2,minWidth:120,lineHeight:2.4},children:a("home.cody")}),e(v,{color:"primary",variant:"extended",size:"large",sx:{fontSize:12,px:2,minWidth:120,lineHeight:2.4},"aria-describedby":M,onClick:V,children:a("home.give")})]})]})}),e(me,{id:i,open:E,anchorEl:g,onClose:_,anchorOrigin:{vertical:"bottom",horizontal:"left"},children:l(m,{p:2,display:"flex",width:200,justifyContent:"space-between",children:[e(oe,{url:s,children:e(ae,{size:30,round:!0})}),e(re,{url:s,children:e(se,{size:30,round:!0})}),e(le,{url:s,children:e(ie,{size:30,round:!0})}),e(ce,{url:s,children:e(de,{size:30,round:!0})}),e(ue,{url:s,children:e(he,{size:30,round:!0})})]})}),e(pe,{anchorOrigin:{vertical:"top",horizontal:"center"},open:q,onClose:j,autoHideDuration:2e3,children:e(be,{onClose:j,severity:"success",variant:"filled",sx:{width:"100%"},children:a("login.cody")})})]})};we.displayName="ReceivePage";export{we as Component}; diff --git a/static/js/record/multikey.5l1BgJmX.js b/static/js/record/multikey.5l1BgJmX.js deleted file mode 100644 index aaa3f11..0000000 --- a/static/js/record/multikey.5l1BgJmX.js +++ /dev/null @@ -1 +0,0 @@ -import{U as se,bk as ce,a6 as le,r as h,x as t,j as e,a2 as r,a3 as g,H as a,a0 as O,$,G as x,a8 as C,ad as z,bl as de,bm as he,bn as me,bo as I,bp as o,bq as pe,a_ as P,br as ue,Y as fe,ac as be,X as W,aD as F,a4 as ge,ae as ye,af as xe}from"../multikey/multikey.Cv6HG7AM.js";import{u as ve,g as we,k as v,j,a as m,S as q,M as Se}from"../multikey/multikey.EJ3kMsQf.js";import{h as D,a as U}from"../multikey/multikey.18FU-vRW.js";const $e=()=>{const{t:i}=se(),[A]=ce(),E=A.get("query"),{id:p,keyId:c,amount:G,digits:f,logoURI:R,tokenSymbol:l,assets:Y}=JSON.parse(decodeURIComponent(E)),J=le(),K=ve(we),b=v.addressToID(K.wallet),[s,k]=h.useState(null),[V,w]=h.useState(!1),[X,H]=h.useState(0),S=h.useRef(1),[_,N]=h.useState(!1),[Q,B]=h.useState(!1),y=10,u=h.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:Date.now(),params:[{name:"@1history",where:`{ $or: [{ sender_id: ${c} }, { recipient_id: ${c} }], ecosystem: ${Number(p)} }`,order:{id:-1},offset:0,limit:y}]}),[p,c]),[Z,ee]=h.useState(u.params[0].limit),L=h.useCallback(async()=>{if(Number(c)){const n=await j(u);n&&k(n)}},[c,u]);h.useEffect(()=>{L()},[p,c,b,J,L,l,f]);const ne=async(n,d)=>{u.params[0].offset=d*y,H(d);const T=await j(u);k(T)},te=n=>{ee(+n.target.value),H(0)},re=async n=>{if(_)return;const{target:d}=n,T=d,{scrollHeight:ie,scrollTop:ae,offsetHeight:oe}=T;ae+oe>=ie-25&&Math.ceil(s.count/y)>S.current&&!_&&(N(!0),S.current+=1,u.params[0].offset=(S.current-1)*y,setTimeout(async()=>{const M=await j(u);Math.ceil(s.count/y)>S.current?B(!0):B(!1),k(()=>({count:M.count,list:[...s.list,...M.list]})),N(!1)},500))};return t(Se,{children:[e(r,{variant:"h5",mb:2,children:i("home.details")}),t(g,{children:[t(a,{direction:"row",justifyContent:"space-between",alignItems:"center",borderBottom:2,pb:2,mb:2,borderColor:n=>n.palette.surfaceVariant.main,children:[t(a,{direction:"row",alignItems:"center",flex:1,justifyContent:"space-between",children:[t(a,{direction:"row",alignItems:"center",children:[Number(p)===1?e($,{src:"/logo-big.png",sx:{width:30,height:30},children:e(O,{})}):e(g,{children:R?e($,{src:R,sx:{width:30,height:30}}):e($,{sx:{width:30,height:30},children:e(O,{fontSize:"medium"})})}),e(r,{variant:"body1",ml:2,children:l})]}),t(x,{children:[t(r,{ml:1,component:"div",children:["$ ",Y]}),e(r,{ml:1,component:"div",children:m.formatFixed(G,Number(f))})]})]}),t(a,{direction:"row",spacing:3,flex:1,justifyContent:"flex-end",sx:{display:{xs:"none",sm:"none",md:"flex"}},children:[e(z,{sx:{minWidth:120,lineHeight:2.4},variant:"filled",to:`/receive/${l}/${p}/${c}`,component:C,size:"large",children:i("home.receive")}),e(z,{sx:{minWidth:120,lineHeight:2.4},variant:"filled",to:`/transfer/${l}/${p}/${c}`,component:C,size:"large",children:i("home.transfer")})]})]}),t(a,{direction:"row",mb:3,spacing:3,justifyContent:"space-around",sx:{display:{xs:"flex",sm:"flex",md:"none"}},children:[e(z,{sx:{minWidth:120,lineHeight:2.4},variant:"filled",to:`/receive/${l}/${p}/${c}`,component:C,size:"large",children:i("home.receive")}),e(z,{sx:{minWidth:120,lineHeight:2.4},variant:"filled",to:`/transfer/${l}/${p}/${c}`,component:C,size:"large",children:i("home.transfer")})]})]}),e(x,{sx:{display:{xs:"none",sm:"none",md:"block"}},children:s?t(g,{children:[e(de,{sx:{minHeight:440},children:t(he,{sx:{minWidth:650},stickyHeader:!0,"aria-label":"sticky table",children:[e(me,{children:t(I,{children:[e(o,{width:150,align:"left",children:i("home.block")}),e(o,{align:"center",children:i("home.hash")}),e(o,{align:"center",children:i("home.address")}),e(o,{align:"center",children:i("home.date")}),e(o,{align:"center",children:i("home.type")}),e(o,{align:"center",children:i("home.amount")})]})}),e(pe,{children:s.list?s.list.map(n=>t(I,{sx:{"& > *":{borderBottom:"unset"}},children:[e(o,{align:"left",children:n.block_id}),e(o,{align:"center",sx:{maxWidth:150},children:e(P,{title:n.txhash,placement:"bottom",children:e(r,{variant:"body2",sx:{display:"block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",cursor:"pointer"},children:n.txhash})})}),e(o,{align:"center",children:b===n.sender_id?v.addressString(n.recipient_id):v.addressString(n.sender_id)}),e(o,{align:"center",children:e(P,{title:D(n.created_at),placement:"bottom",children:e(r,{variant:"body2",sx:{cursor:"pointer"},children:U(n.created_at)})})}),e(o,{align:"center",children:i(m.eventType(Number(n.type)))}),e(o,{align:"center",children:b===n.sender_id?t(r,{variant:"body2",component:"span",color:d=>d.palette.success.light,children:["- ",m.formatFixed(n.amount,Number(f))," ",l]}):b===n.recipient_id?t(r,{variant:"body2",component:"span",color:d=>d.palette.error.light,children:["+ ",m.formatFixed(n.amount,Number(f))," ",l]}):t(r,{variant:"body2",component:"span",ml:.5,children:[m.formatFixed(n.amount,Number(f))," ",l]})})]},n.id)):e(I,{sx:{"& > *":{borderBottom:"unset"}},children:e(o,{align:"center",colSpan:6,children:e(r,{variant:"body1",children:i("login.no")})})})})]})}),s&&s.count?e(ue,{rowsPerPageOptions:[u.params[0].limit],component:"div",count:s.count,rowsPerPage:Z,page:X,onPageChange:ne,onRowsPerPageChange:te,sx:{"& .MuiButtonBase-root.Mui-disabled":{color:n=>n.palette.surfaceContainerHigh.main}}}):""]}):e(q,{num:3})}),e(x,{sx:{display:{xs:"block",sm:"block",md:"none"}},width:"100%",children:s?t(fe,{sx:{width:"100%",maxWidth:"100%",height:"60vh",overflowY:"auto",pb:5},onScroll:re,children:[s.list?s.list.map(n=>e(be,{sx:{p:2,backgroundColor:d=>d.palette.surfaceContainer.main,borderRadius:5,mb:2,cursor:"pointer"},children:t(x,{width:"100%",children:[t(a,{direction:"row",justifyContent:"space-between",mb:.5,width:"100%",spacing:2,children:[t(a,{direction:"row",flexShrink:0,children:[t(r,{mr:1,variant:"body2",fontSize:12,children:[i("home.block"),":"]}),e(r,{variant:"body2",fontSize:12,children:n.id})]}),t(a,{direction:"row",flex:1,children:[t(r,{mr:1,variant:"body2",fontSize:12,children:[i("home.amount"),":"]}),b===n.sender_id?"-":b===n.recipient_id?"+":"",e(r,{variant:"body2",component:"span",fontSize:12,ml:.5,children:m.formatFixed(n.amount,Number(f))}),e(r,{variant:"body2",component:"span",ml:1,fontSize:12,children:l})]})]}),t(a,{direction:"row",justifyContent:"space-between",width:"100%",spacing:2,children:[t(a,{direction:"row",flexShrink:0,children:[t(r,{mr:1,variant:"body2",fontSize:12,children:[i("home.date"),":"]}),e(P,{title:D(n.created_at),placement:"bottom",children:e(r,{variant:"body2",sx:{cursor:"pointer"},fontSize:12,children:U(n.created_at)})})]}),t(a,{direction:"row",flex:1,children:[t(r,{mr:1,variant:"body2",fontSize:12,children:[i("home.type"),":"]}),e(r,{variant:"body2",component:"span",fontSize:12,children:i(m.eventType(Number(n.type)))})]})]}),e(a,{direction:"row",justifyContent:"space-between",width:"100%",spacing:2,children:t(a,{direction:"row",flexShrink:0,alignItems:"center",children:[t(r,{mr:1,variant:"body2",fontSize:12,children:[i("home.address"),":"]}),e(r,{variant:"body2",sx:{cursor:"pointer"},fontSize:12,children:v.addressString(n.recipient_id)}),e(W,{"aria-label":"ContentCopyIcon",onClick:()=>{m.copyToClipboard(v.addressString(n.recipient_id)),w(!0)},size:"medium",children:e(F,{fontSize:"medium",sx:{fontSize:14}})})]})}),t(a,{direction:"row",alignItems:"center",children:[t(r,{mr:1,variant:"body2",component:"span",fontSize:12,children:[i("home.hash"),":"]}),e(r,{fontSize:12,variant:"body2",component:"span",sx:{cursor:"pointer",display:"block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:"200px"},children:n.txhash}),e(W,{sx:{fontSize:14},"aria-label":"ContentCopyIcon",onClick:()=>{m.copyToClipboard(n.txhash),w(!0)},size:"medium",children:e(F,{fontSize:"medium",sx:{fontSize:14}})})]})]})},n.id)):e(r,{variant:"body1",children:i("login.no")}),e(x,{sx:{display:"flex",justifyContent:"center",alignItems:"center",mt:3},children:_?t(g,{children:[e(ge,{size:20}),e(r,{variant:"body2",ml:2,children:i("nav.load")})]}):Q?e(g,{children:e(r,{variant:"body2",ml:2,children:i("nav.drop")})}):e(g,{children:e(r,{variant:"body2",ml:2,children:i("nav.nomore")})})})]}):e(q,{num:3})}),e(xe,{open:V,autoHideDuration:6e3,onClose:()=>{w(!1)},anchorOrigin:{vertical:"top",horizontal:"center"},children:e(ye,{onClose:()=>{w(!1)},severity:"success",sx:{width:"100%"},children:i("login.cody")})})]})};export{$e as Component}; diff --git a/static/js/record/multikey.CwN_50dz.js b/static/js/record/multikey.CwN_50dz.js new file mode 100644 index 0000000..8fb1bcc --- /dev/null +++ b/static/js/record/multikey.CwN_50dz.js @@ -0,0 +1 @@ +import{J as se,bo as ce,V as le,r as h,x as t,j as e,M as r,Y as g,a9 as a,a_ as O,K as $,O as x,aj as C,ac as z,bp as de,bq as he,br as me,bs as I,bt as o,bu as pe,aS as P,bv as ue,am as fe,a4 as be,U as W,aa as F,ag as ge,ae as ye,af as xe}from"../multikey/multikey.D1_AnZj2.js";import{u as ve,g as we,k as v,j,a as m,S as q,M as Se}from"../multikey/multikey.DANc9zrZ.js";import{h as U,a as A}from"../multikey/multikey.CsbyK74s.js";const $e=()=>{const{t:i}=se(),[D]=ce(),E=D.get("query"),{id:p,keyId:c,amount:J,digits:f,logoURI:R,tokenSymbol:l,assets:K}=JSON.parse(decodeURIComponent(E)),V=le(),Y=ve(we),b=v.addressToID(Y.wallet),[s,k]=h.useState(null),[G,w]=h.useState(!1),[Q,N]=h.useState(0),S=h.useRef(1),[_,H]=h.useState(!1),[X,B]=h.useState(!1),y=10,u=h.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:Date.now(),params:[{name:"@1history",where:`{ $or: [{ sender_id: ${c} }, { recipient_id: ${c} }], ecosystem: ${Number(p)} }`,order:{id:-1},offset:0,limit:y}]}),[p,c]),[Z,ee]=h.useState(u.params[0].limit),L=h.useCallback(async()=>{if(Number(c)){const n=await j(u);n&&k(n)}},[c,u]);h.useEffect(()=>{L()},[p,c,b,V,L,l,f]);const ne=async(n,d)=>{u.params[0].offset=d*y,N(d);const T=await j(u);k(T)},te=n=>{ee(+n.target.value),N(0)},re=async n=>{if(_)return;const{target:d}=n,T=d,{scrollHeight:ie,scrollTop:ae,offsetHeight:oe}=T;ae+oe>=ie-25&&Math.ceil(s.count/y)>S.current&&!_&&(H(!0),S.current+=1,u.params[0].offset=(S.current-1)*y,setTimeout(async()=>{const M=await j(u);Math.ceil(s.count/y)>S.current?B(!0):B(!1),k(()=>({count:M.count,list:[...s.list,...M.list]})),H(!1)},500))};return t(Se,{children:[e(r,{variant:"h5",mb:2,children:i("home.details")}),t(g,{children:[t(a,{direction:"row",justifyContent:"space-between",alignItems:"center",borderBottom:2,pb:2,mb:2,borderColor:n=>n.palette.surfaceVariant.main,children:[t(a,{direction:"row",alignItems:"center",flex:1,justifyContent:"space-between",children:[t(a,{direction:"row",alignItems:"center",children:[Number(p)===1?e($,{src:"/logo-big.png",sx:{width:30,height:30},children:e(O,{})}):e(g,{children:R?e($,{src:R,sx:{width:30,height:30}}):e($,{sx:{width:30,height:30},children:e(O,{fontSize:"medium"})})}),e(r,{variant:"body1",ml:2,children:l})]}),t(x,{children:[t(r,{ml:1,component:"div",children:["$ ",K]}),e(r,{ml:1,component:"div",children:m.formatFixed(J,Number(f))})]})]}),t(a,{direction:"row",spacing:3,flex:1,justifyContent:"flex-end",sx:{display:{xs:"none",sm:"none",md:"flex"}},children:[e(z,{sx:{minWidth:120,lineHeight:2.4,height:52},variant:"filled",to:`/receive/${l}/${p}/${c}`,component:C,size:"large",children:i("home.receive")}),e(z,{sx:{minWidth:120,lineHeight:2.4,height:52},variant:"filled",to:`/transfer/${l}/${p}/${c}`,component:C,size:"large",children:i("home.transfer")})]})]}),t(a,{direction:"row",mb:3,spacing:3,justifyContent:"space-around",sx:{display:{xs:"flex",sm:"flex",md:"none"}},children:[e(z,{sx:{minWidth:120,lineHeight:2.4},variant:"filled",to:`/receive/${l}/${p}/${c}`,component:C,size:"large",children:i("home.receive")}),e(z,{sx:{minWidth:120,lineHeight:2.4},variant:"filled",to:`/transfer/${l}/${p}/${c}`,component:C,size:"large",children:i("home.transfer")})]})]}),e(x,{sx:{display:{xs:"none",sm:"none",md:"block"}},children:s?t(g,{children:[e(de,{sx:{minHeight:440},children:t(he,{sx:{minWidth:650},stickyHeader:!0,"aria-label":"sticky table",children:[e(me,{children:t(I,{children:[e(o,{width:150,align:"left",children:i("home.block")}),e(o,{align:"center",children:i("home.hash")}),e(o,{align:"center",children:i("home.address")}),e(o,{align:"center",children:i("home.date")}),e(o,{align:"center",children:i("home.type")}),e(o,{align:"center",children:i("home.amount")})]})}),e(pe,{children:s.list?s.list.map(n=>t(I,{sx:{"& > *":{borderBottom:"unset"}},children:[e(o,{align:"left",children:n.block_id}),e(o,{align:"center",sx:{maxWidth:150},children:e(P,{title:n.txhash,placement:"bottom",children:e(r,{variant:"body2",sx:{display:"block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",cursor:"pointer"},children:n.txhash})})}),e(o,{align:"center",children:b===n.sender_id?v.addressString(n.recipient_id):v.addressString(n.sender_id)}),e(o,{align:"center",children:e(P,{title:U(n.created_at),placement:"bottom",children:e(r,{variant:"body2",sx:{cursor:"pointer"},children:A(n.created_at)})})}),e(o,{align:"center",children:i(m.eventType(Number(n.type)))}),e(o,{align:"center",children:b===n.sender_id?t(r,{variant:"body2",component:"span",color:d=>d.palette.success.light,children:["- ",m.formatFixed(n.amount,Number(f))," ",l]}):b===n.recipient_id?t(r,{variant:"body2",component:"span",color:d=>d.palette.error.light,children:["+ ",m.formatFixed(n.amount,Number(f))," ",l]}):t(r,{variant:"body2",component:"span",ml:.5,children:[m.formatFixed(n.amount,Number(f))," ",l]})})]},n.id)):e(I,{sx:{"& > *":{borderBottom:"unset"}},children:e(o,{align:"center",colSpan:6,children:e(r,{variant:"body1",children:i("login.no")})})})})]})}),s&&s.count?e(ue,{rowsPerPageOptions:[u.params[0].limit],component:"div",count:s.count,rowsPerPage:Z,page:Q,onPageChange:ne,onRowsPerPageChange:te,sx:{"& .MuiButtonBase-root.Mui-disabled":{color:n=>n.palette.surfaceContainerHigh.main}}}):""]}):e(q,{num:3})}),e(x,{sx:{display:{xs:"block",sm:"block",md:"none"}},width:"100%",children:s?t(fe,{sx:{width:"100%",maxWidth:"100%",height:"60vh",overflowY:"auto",pb:5},onScroll:re,children:[s.list?s.list.map(n=>e(be,{sx:{p:2,backgroundColor:d=>d.palette.surfaceContainer.main,borderRadius:5,mb:2,cursor:"pointer"},children:t(x,{width:"100%",children:[t(a,{direction:"row",justifyContent:"space-between",mb:.5,width:"100%",spacing:2,children:[t(a,{direction:"row",flexShrink:0,children:[t(r,{mr:1,variant:"body2",fontSize:12,children:[i("home.block"),":"]}),e(r,{variant:"body2",fontSize:12,children:n.id})]}),t(a,{direction:"row",flex:1,children:[t(r,{mr:1,variant:"body2",fontSize:12,children:[i("home.amount"),":"]}),b===n.sender_id?"-":b===n.recipient_id?"+":"",e(r,{variant:"body2",component:"span",fontSize:12,ml:.5,children:m.formatFixed(n.amount,Number(f))}),e(r,{variant:"body2",component:"span",ml:1,fontSize:12,children:l})]})]}),t(a,{direction:"row",justifyContent:"space-between",width:"100%",spacing:2,children:[t(a,{direction:"row",flexShrink:0,children:[t(r,{mr:1,variant:"body2",fontSize:12,children:[i("home.date"),":"]}),e(P,{title:U(n.created_at),placement:"bottom",children:e(r,{variant:"body2",sx:{cursor:"pointer"},fontSize:12,children:A(n.created_at)})})]}),t(a,{direction:"row",flex:1,children:[t(r,{mr:1,variant:"body2",fontSize:12,children:[i("home.type"),":"]}),e(r,{variant:"body2",component:"span",fontSize:12,children:i(m.eventType(Number(n.type)))})]})]}),e(a,{direction:"row",justifyContent:"space-between",width:"100%",spacing:2,children:t(a,{direction:"row",flexShrink:0,alignItems:"center",children:[t(r,{mr:1,variant:"body2",fontSize:12,children:[i("home.address"),":"]}),e(r,{variant:"body2",sx:{cursor:"pointer"},fontSize:12,children:v.addressString(n.recipient_id)}),e(W,{color:"primary","aria-label":"ContentCopyIcon",onClick:()=>{m.copyToClipboard(v.addressString(n.recipient_id)),w(!0)},size:"medium",children:e(F,{fontSize:"medium",sx:{fontSize:14}})})]})}),t(a,{direction:"row",alignItems:"center",children:[t(r,{mr:1,variant:"body2",component:"span",fontSize:12,children:[i("home.hash"),":"]}),e(r,{fontSize:12,variant:"body2",component:"span",sx:{cursor:"pointer",display:"block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:"200px"},children:n.txhash}),e(W,{color:"primary",sx:{fontSize:14},"aria-label":"ContentCopyIcon",onClick:()=>{m.copyToClipboard(n.txhash),w(!0)},size:"medium",children:e(F,{fontSize:"medium",sx:{fontSize:14}})})]})]})},n.id)):e(r,{variant:"body1",children:i("login.no")}),e(x,{sx:{display:"flex",justifyContent:"center",alignItems:"center",mt:3},children:_?t(g,{children:[e(ge,{size:20}),e(r,{variant:"body2",ml:2,children:i("nav.load")})]}):X?e(g,{children:e(r,{variant:"body2",ml:2,children:i("nav.drop")})}):e(g,{children:e(r,{variant:"body2",ml:2,children:i("nav.nomore")})})})]}):e(q,{num:3})}),e(xe,{open:G,autoHideDuration:6e3,onClose:()=>{w(!1)},anchorOrigin:{vertical:"top",horizontal:"center"},children:e(ye,{onClose:()=>{w(!1)},severity:"success",sx:{width:"100%"},children:i("login.cody")})})]})};export{$e as Component}; diff --git a/static/js/transfer/multikey.BD2GG93t.js b/static/js/transfer/multikey.BD2GG93t.js deleted file mode 100644 index d5f19c4..0000000 --- a/static/js/transfer/multikey.BD2GG93t.js +++ /dev/null @@ -1 +0,0 @@ -import{U as ce,r as s,a6 as he,b4 as G,x as l,j as r,a2 as i,H as y,G as O,aI as S,aZ as A,b6 as k,aY as N,aL as E,a_ as pe,bi as be,ad as $}from"../multikey/multikey.Cv6HG7AM.js";import{b as xe,u as fe,g as ge,k as F,h as Ce,c as ye,a as m,M as Se,i as Ae}from"../multikey/multikey.EJ3kMsQf.js";import{P as ke}from"../multikey/multikey.Cqi5RVD9.js";const Ne=()=>{const{t:n}=ce(),[e,J]=s.useState(null),[d,b]=s.useState(null),[u,x]=s.useState(null),[p,P]=s.useState(""),[j,X]=s.useState(""),[Y,K]=s.useState(0),[Q,I]=s.useState(1),[c,f]=s.useState(null),[T,W]=s.useState(""),[ee,w]=s.useState(!1),te=he(),ae=xe(),z=fe(ge),{id:h,keyId:g,tokenSymbol:_}=G(),[v,H]=s.useState(F.addressString(g)),[D,B]=s.useState(G().amount),ne=s.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:1,params:[{name:"@1multi_sign_proposals",where:`{"wallet": ${z.wallet},"status": "ongoing"}`,limit:10,columns:"id"}]}),[z.wallet]),M=s.useMemo(()=>[{jsonrpc:"2.0",method:"ibax.getBalance",id:1,params:[F.addressString(g),Number(h)]}],[h,g]),L=s.useCallback(async()=>{const t=await Ce(M);if(t&&t[0].result){const a=t[0].result;J(a)}},[M]),U=s.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:1,params:[{name:"@1ecosystems",where:`{id:${h}}`}]}),[h]),q=s.useCallback(async()=>{const t=await ye(U);if(t&&t.list){const a=t.list[0];if(a.fee_mode_info){const o=JSON.parse(a.fee_mode_info);Number(o.fee_mode_detail.expedite_fee.flag)===2&&(I(Number(o.fee_mode_detail.expedite_fee.flag)),K(Number(o.follow_fuel)))}}},[U]);s.useEffect(()=>{L(),q()},[L,q]);const R=s.useCallback(t=>{if(t.trim().length<=0){const o={text:n("home.recipient"),boo:!0};return b(o),!1}else{if(m.validateAddress(t))return b({text:"",boo:!1}),!0;{const o={text:n("home.addreeType"),boo:!0};return b(o),!1}}},[n]),re=t=>{const{value:a}=t.target;H(a),R(a)},V=s.useCallback(t=>{const a=m.formatUnits(e==null?void 0:e.amount,e==null?void 0:e.digits);if(Number(t)<=0){const o={text:n("home.maxZero"),boo:!0};return x(o),!1}else if(m.comparedTo(t,a)){const o={text:n("home.maxAmount",{num:a,tokenSymbol:e==null?void 0:e.token_symbol}),boo:!0};return x(o),!1}else return x({text:"",boo:!1}),!0},[e==null?void 0:e.amount,e==null?void 0:e.digits,e==null?void 0:e.token_symbol,n]),se=t=>{const{value:a}=t.target;Number(a)>=0&&(B(m.formatDecimalPlaces(a,e.digits)),V(a))},Z=s.useCallback(t=>{const a=m.formatUnits(e==null?void 0:e.amount,e==null?void 0:e.digits);if(t.trim().length>0)if(Number(t)<=0){const C={text:n("home.maxZero"),boo:!0};return f(C),!1}else if(m.comparedTo(t,a)){const C={text:n("home.maxAmount",{num:a,tokenSymbol:e==null?void 0:e.token_symbol}),boo:!0};return f(C),!1}else return f({text:"",boo:!1}),!0;else return!0},[e==null?void 0:e.amount,e==null?void 0:e.digits,e==null?void 0:e.token_symbol,n]),oe=t=>{const{value:a}=t.target;if(Number(a)>=0){P(m.formatDecimalPlaces(a,e.digits));const o=m.formatFixed(Number(a)/(Y*10**e.digits),0);X(o),Z(a)}},le=t=>{const{value:a}=t.target;W(a)},ie=()=>{const t=R(v),a=V(D),o=Z(p);t&&a&&o&&w(!0)},me=()=>{H(""),B(""),P(""),W(""),b(null),x(null),f(null)},de=()=>{w(!1)},ue=async()=>{w(!1),await ae(Ae(ne)),te("/",{replace:!0})};return l(Se,{children:[r(i,{variant:"h5",mb:3,children:n("home.transfer")}),l(y,{textAlign:"center",direction:"row",justifyContent:"center",mb:2,children:[r(i,{variant:"h6",children:_}),l(i,{variant:"h6",ml:1,children:["# ",h]})]}),l(y,{textAlign:"center",direction:"row",justifyContent:"center",mb:2,children:[l(i,{variant:"h6",children:[n("home.balance"),":"]}),r(i,{variant:"h6",ml:1,children:m.formatFixed(e==null?void 0:e.amount,e==null?void 0:e.digits)}),r(i,{variant:"h6",ml:1,children:_})]}),r(O,{display:"flex",justifyContent:"center",children:l(O,{sx:{width:{md:"80%",sm:"100%"}},children:[l(S,{fullWidth:!0,sx:{mb:2},children:[r(A,{htmlFor:"outlined-adornment-address",required:!0,sx:{fontSize:16},error:d?d.boo:!1,children:n("home.send")}),r(k,{fullWidth:!0,disabled:!0,placeholder:n("home.recipient"),size:"medium",autoComplete:"off",value:v,id:"outlined-adornment-address",onChange:re,startAdornment:r(N,{position:"start"}),label:n("home.send"),error:d?d.boo:!1}),r(E,{error:!0,children:d?d.text:""})]}),l(S,{fullWidth:!0,sx:{mb:2},children:[r(A,{htmlFor:"outlined-adornment-count",required:!0,sx:{fontSize:16},error:u?u.boo:!1,children:n("home.count")}),r(k,{id:"outlined-adornment-count",placeholder:n("home.dir"),type:"InputNumber",autoComplete:"off",size:"medium",fullWidth:!0,value:D,onChange:se,startAdornment:r(N,{position:"start"}),label:n("home.count"),error:u?u.boo:!1}),r(E,{error:!0,children:u?u.text:""})]}),l(S,{fullWidth:!0,sx:{mb:2},children:[r(A,{htmlFor:"outlined-adornment-comment",sx:{fontSize:16},children:n("home.comment")}),r(k,{id:"outlined-adornment-comment",placeholder:n("home.commentInput"),fullWidth:!0,multiline:!0,autoComplete:"off",minRows:3,maxRows:5,value:T,onChange:le,startAdornment:r(N,{position:"start"}),label:n("home.comment"),inputProps:{maxLength:150}})]}),l(S,{fullWidth:!0,sx:{mb:2},children:[r(A,{htmlFor:"outlined-adornment-expedit",sx:{fontSize:16},error:c?c.boo:!1,children:n("home.expedit")}),r(k,{id:"outlined-adornment-expedit",placeholder:n("home.expeditInput"),type:"InputNumber",size:"medium",autoComplete:"off",fullWidth:!0,value:p,onChange:oe,startAdornment:r(N,{position:"start"}),label:n("home.expedit"),error:c?c.boo:!1}),r(E,{error:!0,children:c?c.text:""})]}),Q===2&&Number(j)!==0?l(y,{direction:"row",mb:3,alignItems:"center",children:[l(i,{mr:.5,variant:"body2",children:[n("home.expedited"),":"]}),l(i,{variant:"body2",children:[p," ",_]}),r(i,{mx:.5,children:"≈"}),l(i,{variant:"body2",mr:1,children:[j," IBXC"]}),r(pe,{title:n("user.urgentpay"),placement:"bottom",children:r(be,{fontSize:"medium",sx:{cursor:"pointer"}})})]}):"",l(y,{direction:"row",justifyContent:"space-around",children:[r($,{variant:"outlined",onClick:me,sx:{minWidth:150,lineHeight:2.4},size:"large",children:n("login.cancel")}),r($,{variant:"filled",onClick:ie,sx:{minWidth:150,lineHeight:2.4},size:"large",children:n("login.confirm")})]})]})}),r(ke,{isCheck:ee,params:{contractName:"MultiSignPropose",Wallet:F.addressString(g),To:v,Amount:m.parseUnits(D,Number(e==null?void 0:e.digits)),digits:Number(e==null?void 0:e.digits),Ecosystem:h,Expedite:String(p)?String(p):"0",Proposal:T},close:de,confirm:ue})]})};Ne.displayName="CollectionPage";export{Ne as Component}; diff --git a/static/js/transfer/multikey.BizLIFzl.js b/static/js/transfer/multikey.BizLIFzl.js new file mode 100644 index 0000000..db7b661 --- /dev/null +++ b/static/js/transfer/multikey.BizLIFzl.js @@ -0,0 +1 @@ +import{J as je,r as s,V as ze,b8 as Fe,x as d,j as n,M as p,S as ee,N as te,a9 as N,K as W,a_ as ae,Y as We,a2 as $e,O as ne,av as E,aR as T,ba as _,$ as k,ay as $,aS as He,bm as Be,ac as re}from"../multikey/multikey.D1_AnZj2.js";import{b as Le,u as Re,g as Ue,k as P,c as Ve,h as qe,a as i,M as Oe,i as Ge}from"../multikey/multikey.DANc9zrZ.js";import{P as se}from"../multikey/multikey.CSfMaGzx.js";import{u as Je}from"../multikey/multikey.Dix-r58g.js";const Ze=[{label:"address",value:"address"},{label:"iName",value:"iName"}],Ke=window,at=()=>{const{t:r}=je(),[S,oe]=s.useState("address"),[e,le]=s.useState(null),[g,M]=s.useState(""),[b,m]=s.useState(null),[C,H]=s.useState(""),[f,w]=s.useState(null),[c,B]=s.useState(""),[L,ie]=s.useState(""),[de,ce]=s.useState(0),[me,ue]=s.useState(1),[x,v]=s.useState(null),[A,R]=s.useState(""),[U,j]=s.useState(!1),[u,he]=s.useState([]),V=ze(),pe=Le(),D=Re(Ue),{id:h,keyId:y,tokenSymbol:q}=Fe(),[ge,be]=s.useState(h),[fe,O]=s.useState(r("home.recipient")),xe=s.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:1,params:[{name:"@1multi_sign_proposals",where:`{"wallet": ${D.wallet},"status": "ongoing"}`,limit:10,columns:"id"}]}),[D.wallet]),G=s.useMemo(()=>[{jsonrpc:"2.0",method:"ibax.getBalance",id:1,params:[P.addressString(y),Number(h)]}],[h,y]),J=s.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:1,params:[{name:"@1ecosystems",where:`{id:${h}}`}]}),[h]),Z=s.useCallback(async()=>{const t=await Ve(J);if(t&&t.list){const a=t.list[0];if(a.fee_mode_info!=="NULL"){const o=JSON.parse(a.fee_mode_info);Number(o.fee_mode_detail.expedite_fee.flag)===2&&(ue(Number(o.fee_mode_detail.expedite_fee.flag)),ce(Number(o.follow_fuel)))}}},[J]),K=s.useCallback(async()=>{const t=await qe(G);if(t&&t[0].result){const a=t[0].result;le(a)}},[G]);s.useEffect(()=>{K(),Z()},[K,Z]);const X=s.useCallback(t=>{const a=t.trim(),o=/^[\w]{4,20}$/;if(S==="address")if(a.length<=0){const l={text:r("home.recipient"),boo:!0};return m(l),!1}else{if(i.validateAddress(t))return m({text:"",boo:!1}),!0;{const l={text:r("home.addreeType"),boo:!0};return m(l),!1}}else if(a.length<=0){const l={text:r("home.iName"),boo:!0};return m(l),!1}else{if(o.test(t))return m({text:"",boo:!1}),!0;{const l={text:r("home.nickname"),boo:!0};return m(l),!1}}},[r,S]),ye=t=>{const{value:a}=t.target;M(a),X(a)},Y=s.useCallback(t=>{const a=i.formatUnits(e==null?void 0:e.amount,e==null?void 0:e.digits);if(Number(t)<=0){const o={text:r("home.maxZero"),boo:!0};return w(o),!1}else if(i.comparedTo(t,a)){const o={text:r("home.maxAmount",{num:a,tokenSymbol:e==null?void 0:e.token_symbol}),boo:!0};return w(o),!1}else return w({text:"",boo:!1}),!0},[e==null?void 0:e.amount,e==null?void 0:e.digits,e==null?void 0:e.token_symbol,r]),Se=t=>{const{value:a}=t.target;Number(a)>=0&&(H(i.formatDecimalPlaces(a,e.digits)),Y(a))},Q=s.useCallback(t=>{const a=i.formatUnits(e==null?void 0:e.amount,e==null?void 0:e.digits);if(t.trim().length>0)if(Number(t)<=0){const l={text:r("home.maxZero"),boo:!0};return v(l),!1}else if(i.comparedTo(t,a)){const l={text:r("home.maxAmount",{num:a,tokenSymbol:e==null?void 0:e.token_symbol}),boo:!0};return v(l),!1}else return v({text:"",boo:!1}),!0;else return!0},[e==null?void 0:e.amount,e==null?void 0:e.digits,e==null?void 0:e.token_symbol,r]),Ce=t=>{const{value:a}=t.target;if(Number(a)>=0){B(i.formatDecimalPlaces(a,e.digits));const o=i.formatFixed(Number(a)/(de*10**e.digits),0);ie(o),Q(a)}},Ne=t=>{const{value:a}=t.target;R(a)},ke=Je(()=>{try{const t=X(g),a=Y(C),o=Q(c);if(t&&a&&o)if(i.getCacheToken("type")==="jutkey_connect"){const De=i.currNetwork(),{walletId:Ee}=De,Te=Ee,{host:_e,origin:Pe}=document.location,Me={host:_e,origin:Pe},F={contractName:"MultiSignPropose",Wallet:P.addressString(y),Amount:i.parseUnits(C,Number(e==null?void 0:e.digits)),digits:Number(e==null?void 0:e.digits),Ecosystem:Number(h),Expedite:String(c)?String(c):"0",Proposal:A};S==="address"?F.To=g:F.iName=g,chrome.runtime.sendMessage(Te,{path:"notice/contract",params:{pageInfo:Me,contractParams:F}},Ye=>{})}else j(!0)}catch{}}),we=()=>{M(""),H(""),B(""),R(""),m(null),w(null),v(null)},I=()=>{j(!1)},z=async()=>{j(!1),await pe(Ge(xe)),V("/",{replace:!0})},ve=async t=>{const{value:a}=t.target,o={text:"",boo:!1};M(""),m(o),oe(t.target.value),O(r(a==="address"?"home.recipient":"home.iName"))},Ae=async t=>{const a=t.target.value,o=u==null?void 0:u.find(l=>Number(l.id)===Number(a));be(a),V(`/transfer/${o==null?void 0:o.tokenSymbol}/${a}/${y}`,{replace:!0}),Ke.location.reload()};return s.useEffect(()=>{(()=>{const a=i.getCache(`${D.wallet}-all`)||[];a.length&&he(a)})()},[D.wallet]),s.useEffect(()=>{document.addEventListener("jutkeyEvent",async({detail:t})=>{i.getCacheToken("type"),t.type==="jutkey_contract"&&z()})}),d(Oe,{children:[n(p,{variant:"h5",mb:3,children:r("home.transfer")}),n(N,{textAlign:"center",direction:"row",justifyContent:"center",children:u&&(u!=null&&u.length)?n(ee,{sx:{"& fieldset":{border:"none"},"& .MuiInputBase-input.MuiSelect-select":{display:"flex",alignItems:"center",backgroundColor:t=>t.palette.onBody.main},"& .MuiTypography-root":{mr:1}},size:"medium",MenuProps:{style:{maxHeight:400}},labelId:"token-simple-select-label",id:"token-simple-select",value:ge,onChange:Ae,children:u.map(t=>n(te,{value:t.id,sx:{mb:1},children:d(N,{flexGrow:0,direction:"row",alignItems:"center",children:[t.id===1?n(W,{src:"/logo-big.png",sx:{width:30,height:30},children:n(ae,{})}):n(We,{children:t.logoURI?n(W,{src:t.logoURI,sx:{width:30,height:30}}):n(W,{sx:{width:30,height:30},children:n(ae,{fontSize:"medium"})})}),n($e,{primary:`${t.tokenSymbol}#${t.id}`,sx:{ml:1}})]})},t.id))}):""}),d(N,{textAlign:"center",direction:"row",justifyContent:"center",mb:2,children:[d(p,{variant:"h6",children:[r("home.balance"),":"]}),n(p,{variant:"h6",ml:1,children:i.formatFixed(e==null?void 0:e.amount,e==null?void 0:e.digits)}),n(p,{variant:"h6",ml:1,children:q})]}),n(ne,{display:"flex",justifyContent:"center",children:d(ne,{sx:{width:{md:"60%",sm:"100%"}},children:[d(E,{fullWidth:!0,sx:{mb:2},children:[n(T,{variant:"outlined",htmlFor:"outlined-adornment-address",required:!0,sx:{fontSize:16},error:b?b.boo:!1,children:r("home.send")}),n(_,{fullWidth:!0,placeholder:fe,size:"medium",autoComplete:"off",value:g,id:"outlined-adornment-address",onChange:ye,startAdornment:n(k,{position:"start"}),sx:{paddingRight:0},endAdornment:n(k,{position:"end",children:n(ee,{labelId:"lang-select-helper-label",id:"type-select-helper",value:S,size:"medium",placeholder:"",onChange:ve,inputProps:{name:"languages",id:"uncontrolled-native"},sx:{border:"none",":before":{borderColor:"divider"},bgcolor:"secondary.light",fontStyle:"italic"},children:Ze.map(({value:t,label:a})=>n(te,{value:t,sx:{mt:1},children:a},t))})}),label:r("home.send"),error:b?b.boo:!1}),n($,{error:!0,children:b?b.text:""})]}),d(E,{fullWidth:!0,sx:{mb:2},children:[n(T,{htmlFor:"outlined-adornment-count",required:!0,sx:{fontSize:16},error:f?f.boo:!1,children:r("home.count")}),n(_,{id:"outlined-adornment-count",placeholder:r("home.dir"),type:"InputNumber",autoComplete:"off",size:"medium",fullWidth:!0,value:C,onChange:Se,startAdornment:n(k,{position:"start"}),label:r("home.count"),error:f?f.boo:!1}),n($,{error:!0,children:f?f.text:""})]}),d(E,{fullWidth:!0,sx:{mb:2},children:[n(T,{htmlFor:"outlined-adornment-comment",sx:{fontSize:16},children:r("home.comment")}),n(_,{id:"outlined-adornment-comment",placeholder:r("home.commentInput"),fullWidth:!0,multiline:!0,autoComplete:"off",minRows:2,maxRows:2,value:A,onChange:Ne,startAdornment:n(k,{position:"start"}),label:r("home.comment"),inputProps:{maxLength:150}})]}),d(E,{fullWidth:!0,sx:{mb:2},children:[n(T,{htmlFor:"outlined-adornment-expedit",sx:{fontSize:16},error:x?x.boo:!1,children:r("home.expedit")}),n(_,{id:"outlined-adornment-expedit",placeholder:r("home.expeditInput"),type:"InputNumber",size:"medium",autoComplete:"off",fullWidth:!0,value:c,onChange:Ce,startAdornment:n(k,{position:"start"}),label:r("home.expedit"),error:x?x.boo:!1}),n($,{error:!0,children:x?x.text:""})]}),me===2&&Number(L)!==0?d(N,{direction:"row",mb:3,alignItems:"center",children:[d(p,{mr:.5,variant:"body2",children:[r("home.expedited"),":"]}),d(p,{variant:"body2",children:[c," ",q]}),n(p,{mx:.5,children:"≈"}),d(p,{variant:"body2",mr:1,children:[L," IBXC"]}),n(He,{title:r("user.urgentpay"),placement:"bottom",children:n(Be,{fontSize:"medium",sx:{cursor:"pointer"}})})]}):"",d(N,{direction:"row",justifyContent:"space-around",children:[n(re,{variant:"outlined",onClick:we,sx:{width:"40%",minWidth:120,lineHeight:2.4},size:"large",children:r("login.cancel")}),n(re,{variant:"filled",onClick:ke,sx:{width:"40%",minWidth:120,lineHeight:2.4},size:"large",children:r("login.confirm")})]})]})}),S==="address"?n(se,{isCheck:U,params:{contractName:"MultiSignPropose",Wallet:P.addressString(y),To:g,Amount:i.parseUnits(C,Number(e==null?void 0:e.digits)),digits:Number(e==null?void 0:e.digits),Ecosystem:h,Expedite:String(c)?String(c):"0",Proposal:A},close:I,confirm:z}):n(se,{isCheck:U,params:{contractName:"MultiSignPropose",Wallet:P.addressString(y),iName:g,Amount:i.parseUnits(C,Number(e==null?void 0:e.digits)),digits:Number(e==null?void 0:e.digits),Ecosystem:h,Expedite:String(c)?String(c):"0",Proposal:A},close:I,confirm:z})]})};export{at as Component}; diff --git a/static/js/transfer/multikey.Ccu1XC5e.js b/static/js/transfer/multikey.Ccu1XC5e.js new file mode 100644 index 0000000..be2d5b1 --- /dev/null +++ b/static/js/transfer/multikey.Ccu1XC5e.js @@ -0,0 +1 @@ +import{J as ye,r as s,V as Se,b8 as J,x as i,j as r,M as m,a9 as k,O as Z,av as A,aR as N,ba as w,$ as v,ay as P,aS as Ce,bm as ke,ac as G}from"../multikey/multikey.D1_AnZj2.js";import{b as Ae,u as Ne,g as we,k as _,h as ve,c as _e,a as l,M as De,i as Ee}from"../multikey/multikey.DANc9zrZ.js";import{P as Te}from"../multikey/multikey.CSfMaGzx.js";import{u as Pe}from"../multikey/multikey.Dix-r58g.js";const je=()=>{const{t:n}=ye(),[e,X]=s.useState(null),[c,f]=s.useState(null),[h,x]=s.useState(null),[u,j]=s.useState(""),[F,K]=s.useState(""),[Q,Y]=s.useState(0),[I,ee]=s.useState(1),[p,y]=s.useState(null),[D,W]=s.useState(""),[te,E]=s.useState(!1),ae=Se(),ne=Ae(),z=Ne(we),{id:d,keyId:b,tokenSymbol:T}=J(),[S,M]=s.useState(_.addressString(b)),[C,H]=s.useState(J().amount),re=s.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:1,params:[{name:"@1multi_sign_proposals",where:`{"wallet": ${z.wallet},"status": "ongoing"}`,limit:10,columns:"id"}]}),[z.wallet]),B=s.useMemo(()=>[{jsonrpc:"2.0",method:"ibax.getBalance",id:1,params:[_.addressString(b),Number(d)]}],[d,b]),L=s.useCallback(async()=>{const t=await ve(B);if(t&&t[0].result){const a=t[0].result;X(a)}},[B]),R=s.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:1,params:[{name:"@1ecosystems",where:`{id:${d}}`}]}),[d]),U=s.useCallback(async()=>{const t=await _e(R);if(t&&t.list){const a=t.list[0];if(a.fee_mode_info){const o=JSON.parse(a.fee_mode_info);Number(o.fee_mode_detail.expedite_fee.flag)===2&&(ee(Number(o.fee_mode_detail.expedite_fee.flag)),Y(Number(o.follow_fuel)))}}},[R]);s.useEffect(()=>{L(),U()},[L,U]);const V=s.useCallback(t=>{if(t.trim().length<=0){const o={text:n("home.recipient"),boo:!0};return f(o),!1}else{if(l.validateAddress(t))return f({text:"",boo:!1}),!0;{const o={text:n("home.addreeType"),boo:!0};return f(o),!1}}},[n]),se=t=>{const{value:a}=t.target;M(a),V(a)},q=s.useCallback(t=>{const a=l.formatUnits(e==null?void 0:e.amount,e==null?void 0:e.digits);if(Number(t)<=0){const o={text:n("home.maxZero"),boo:!0};return x(o),!1}else if(l.comparedTo(t,a)){const o={text:n("home.maxAmount",{num:a,tokenSymbol:e==null?void 0:e.token_symbol}),boo:!0};return x(o),!1}else return x({text:"",boo:!1}),!0},[e==null?void 0:e.amount,e==null?void 0:e.digits,e==null?void 0:e.token_symbol,n]),oe=t=>{const{value:a}=t.target;Number(a)>=0&&(H(l.formatDecimalPlaces(a,e.digits)),q(a))},O=s.useCallback(t=>{const a=l.formatUnits(e==null?void 0:e.amount,e==null?void 0:e.digits);if(t.trim().length>0)if(Number(t)<=0){const g={text:n("home.maxZero"),boo:!0};return y(g),!1}else if(l.comparedTo(t,a)){const g={text:n("home.maxAmount",{num:a,tokenSymbol:e==null?void 0:e.token_symbol}),boo:!0};return y(g),!1}else return y({text:"",boo:!1}),!0;else return!0},[e==null?void 0:e.amount,e==null?void 0:e.digits,e==null?void 0:e.token_symbol,n]),ie=t=>{const{value:a}=t.target;if(Number(a)>=0){j(l.formatDecimalPlaces(a,e.digits));const o=l.formatFixed(Number(a)/(Q*10**e.digits),0);K(o),O(a)}},le=t=>{const{value:a}=t.target;W(a)},me=Pe(()=>{try{const t=V(S),a=q(C),o=O(u);if(t&&a&&o)if(l.getCacheToken("type")==="jutkey_connect"){const ce=l.currNetwork(),{walletId:he}=ce,pe=he,{host:be,origin:ge}=document.location,fe={host:be,origin:ge},xe={contractName:"MultiSignPropose",Wallet:_.addressString(b),To:S,Amount:l.parseUnits(C,Number(e==null?void 0:e.digits)),digits:Number(e==null?void 0:e.digits),Ecosystem:d,Expedite:String(u)?String(u):"0",Proposal:D};chrome.runtime.sendMessage(pe,{path:"notice/contract",params:{pageInfo:fe,contractParams:xe}},We=>{})}else E(!0)}catch{}}),ue=()=>{M(""),H(""),j(""),W(""),f(null),x(null),y(null)},de=()=>{E(!1)},$=async()=>{E(!1),await ne(Ee(re)),ae("/",{replace:!0})};return s.useEffect(()=>{document.addEventListener("jutkeyEvent",async({detail:t})=>{l.getCacheToken("type"),t.type==="jutkey_contract"&&$()})}),i(De,{children:[r(m,{variant:"h5",mb:3,children:n("home.transfer")}),i(k,{textAlign:"center",direction:"row",justifyContent:"center",mb:2,children:[r(m,{variant:"h6",children:T}),i(m,{variant:"h6",ml:1,children:["# ",d]})]}),i(k,{textAlign:"center",direction:"row",justifyContent:"center",mb:2,children:[i(m,{variant:"h6",children:[n("home.balance"),":"]}),r(m,{variant:"h6",ml:1,children:l.formatFixed(e==null?void 0:e.amount,e==null?void 0:e.digits)}),r(m,{variant:"h6",ml:1,children:T})]}),r(Z,{display:"flex",justifyContent:"center",children:i(Z,{sx:{width:{md:"80%",sm:"100%"}},children:[i(A,{fullWidth:!0,sx:{mb:2},children:[r(N,{htmlFor:"outlined-adornment-address",required:!0,sx:{fontSize:16},error:c?c.boo:!1,children:n("home.send")}),r(w,{fullWidth:!0,disabled:!0,placeholder:n("home.recipient"),size:"medium",autoComplete:"off",value:S,id:"outlined-adornment-address",onChange:se,startAdornment:r(v,{position:"start"}),label:n("home.send"),error:c?c.boo:!1}),r(P,{error:!0,children:c?c.text:""})]}),i(A,{fullWidth:!0,sx:{mb:2},children:[r(N,{htmlFor:"outlined-adornment-count",required:!0,sx:{fontSize:16},error:h?h.boo:!1,children:n("home.count")}),r(w,{id:"outlined-adornment-count",placeholder:n("home.dir"),type:"InputNumber",autoComplete:"off",size:"medium",fullWidth:!0,value:C,onChange:oe,startAdornment:r(v,{position:"start"}),label:n("home.count"),error:h?h.boo:!1}),r(P,{error:!0,children:h?h.text:""})]}),i(A,{fullWidth:!0,sx:{mb:2},children:[r(N,{htmlFor:"outlined-adornment-comment",sx:{fontSize:16},children:n("home.comment")}),r(w,{id:"outlined-adornment-comment",placeholder:n("home.commentInput"),fullWidth:!0,multiline:!0,autoComplete:"off",minRows:3,maxRows:5,value:D,onChange:le,startAdornment:r(v,{position:"start"}),label:n("home.comment"),inputProps:{maxLength:150}})]}),i(A,{fullWidth:!0,sx:{mb:2},children:[r(N,{htmlFor:"outlined-adornment-expedit",sx:{fontSize:16},error:p?p.boo:!1,children:n("home.expedit")}),r(w,{id:"outlined-adornment-expedit",placeholder:n("home.expeditInput"),type:"InputNumber",size:"medium",autoComplete:"off",fullWidth:!0,value:u,onChange:ie,startAdornment:r(v,{position:"start"}),label:n("home.expedit"),error:p?p.boo:!1}),r(P,{error:!0,children:p?p.text:""})]}),I===2&&Number(F)!==0?i(k,{direction:"row",mb:3,alignItems:"center",children:[i(m,{mr:.5,variant:"body2",children:[n("home.expedited"),":"]}),i(m,{variant:"body2",children:[u," ",T]}),r(m,{mx:.5,children:"≈"}),i(m,{variant:"body2",mr:1,children:[F," IBXC"]}),r(Ce,{title:n("user.urgentpay"),placement:"bottom",children:r(ke,{fontSize:"medium",sx:{cursor:"pointer"}})})]}):"",i(k,{direction:"row",justifyContent:"space-around",children:[r(G,{variant:"outlined",onClick:ue,sx:{minWidth:150,lineHeight:2.4},size:"large",children:n("login.cancel")}),r(G,{variant:"filled",onClick:me,sx:{minWidth:150,lineHeight:2.4},size:"large",children:n("login.confirm")})]})]})}),r(Te,{isCheck:te,params:{contractName:"MultiSignPropose",Wallet:_.addressString(b),To:S,Amount:l.parseUnits(C,Number(e==null?void 0:e.digits)),digits:Number(e==null?void 0:e.digits),Ecosystem:d,Expedite:String(u)?String(u):"0",Proposal:D},close:de,confirm:$})]})};je.displayName="CollectionPage";export{je as Component}; diff --git a/static/js/transfer/multikey.Cp4gIKC7.js b/static/js/transfer/multikey.Cp4gIKC7.js deleted file mode 100644 index d4364fd..0000000 --- a/static/js/transfer/multikey.Cp4gIKC7.js +++ /dev/null @@ -1 +0,0 @@ -import{U as ve,r as s,a6 as De,b4 as Ee,x as i,j as n,a2 as c,ah as I,ai as ee,H as y,$ as F,a0 as te,a3 as _e,a1 as Te,G as ae,aI as D,aZ as E,b6 as _,aY as S,aL as M,a_ as Pe,bi as ze,ad as ne}from"../multikey/multikey.Cv6HG7AM.js";import{b as Fe,u as Me,g as We,k as W,c as He,h as $e,a as d,M as je,i as Be}from"../multikey/multikey.EJ3kMsQf.js";import{P as re}from"../multikey/multikey.Cqi5RVD9.js";const Le=[{label:"address",value:"address"},{label:"iName",value:"iName"}],Ue=window,Ve=()=>{const{t:r}=ve(),[C,se]=s.useState("address"),[e,oe]=s.useState(null),[w,T]=s.useState(""),[g,m]=s.useState(null),[N,H]=s.useState(""),[b,k]=s.useState(null),[h,$]=s.useState(""),[j,le]=s.useState(""),[ie,de]=s.useState(0),[me,ue]=s.useState(1),[x,A]=s.useState(null),[P,B]=s.useState(""),[L,z]=s.useState(!1),[u,ce]=s.useState([]),U=De(),he=Fe(),v=Me(We),{id:p,keyId:f,tokenSymbol:R}=Ee(),[pe,ge]=s.useState(p),[be,q]=s.useState(r("home.recipient")),xe=s.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:1,params:[{name:"@1multi_sign_proposals",where:`{"wallet": ${v.wallet},"status": "ongoing"}`,limit:10,columns:"id"}]}),[v.wallet]),G=s.useMemo(()=>[{jsonrpc:"2.0",method:"ibax.getBalance",id:1,params:[W.addressString(f),Number(p)]}],[p,f]),V=s.useMemo(()=>({jsonrpc:"2.0",method:"ibax.getList",id:1,params:[{name:"@1ecosystems",where:`{id:${p}}`}]}),[p]),Z=s.useCallback(async()=>{const t=await He(V);if(t&&t.list){const a=t.list[0];if(a.fee_mode_info!=="NULL"){const o=JSON.parse(a.fee_mode_info);Number(o.fee_mode_detail.expedite_fee.flag)===2&&(ue(Number(o.fee_mode_detail.expedite_fee.flag)),de(Number(o.follow_fuel)))}}},[V]),O=s.useCallback(async()=>{const t=await $e(G);if(t&&t[0].result){const a=t[0].result;oe(a)}},[G]);s.useEffect(()=>{O(),Z()},[O,Z]);const J=s.useCallback(t=>{const a=t.trim(),o=/^[\w]{4,20}$/;if(C==="address")if(a.length<=0){const l={text:r("home.recipient"),boo:!0};return m(l),!1}else{if(d.validateAddress(t))return m({text:"",boo:!1}),!0;{const l={text:r("home.addreeType"),boo:!0};return m(l),!1}}else if(a.length<=0){const l={text:r("home.iName"),boo:!0};return m(l),!1}else{if(o.test(t))return m({text:"",boo:!1}),!0;{const l={text:r("home.nickname"),boo:!0};return m(l),!1}}},[r,C]),fe=t=>{const{value:a}=t.target;T(a),J(a)},X=s.useCallback(t=>{const a=d.formatUnits(e==null?void 0:e.amount,e==null?void 0:e.digits);if(Number(t)<=0){const o={text:r("home.maxZero"),boo:!0};return k(o),!1}else if(d.comparedTo(t,a)){const o={text:r("home.maxAmount",{num:a,tokenSymbol:e==null?void 0:e.token_symbol}),boo:!0};return k(o),!1}else return k({text:"",boo:!1}),!0},[e==null?void 0:e.amount,e==null?void 0:e.digits,e==null?void 0:e.token_symbol,r]),ye=t=>{const{value:a}=t.target;Number(a)>=0&&(H(d.formatDecimalPlaces(a,e.digits)),X(a))},Y=s.useCallback(t=>{const a=d.formatUnits(e==null?void 0:e.amount,e==null?void 0:e.digits);if(t.trim().length>0)if(Number(t)<=0){const l={text:r("home.maxZero"),boo:!0};return A(l),!1}else if(d.comparedTo(t,a)){const l={text:r("home.maxAmount",{num:a,tokenSymbol:e==null?void 0:e.token_symbol}),boo:!0};return A(l),!1}else return A({text:"",boo:!1}),!0;else return!0},[e==null?void 0:e.amount,e==null?void 0:e.digits,e==null?void 0:e.token_symbol,r]),Se=t=>{const{value:a}=t.target;if(Number(a)>=0){$(d.formatDecimalPlaces(a,e.digits));const o=d.formatFixed(Number(a)/(ie*10**e.digits),0);le(o),Y(a)}},Ce=t=>{const{value:a}=t.target;B(a)},we=()=>{const t=J(w),a=X(N),o=Y(h);t&&a&&o&&z(!0)},Ne=()=>{T(""),H(""),$(""),B(""),m(null),k(null),A(null)},K=()=>{z(!1)},Q=async()=>{z(!1),await he(Be(xe)),U("/",{replace:!0})},ke=async t=>{const{value:a}=t.target,o={text:"",boo:!1};T(""),m(o),se(t.target.value),q(r(a==="address"?"home.recipient":"home.iName"))},Ae=async t=>{const a=t.target.value,o=u==null?void 0:u.find(l=>Number(l.id)===Number(a));ge(a),U(`/transfer/${o==null?void 0:o.tokenSymbol}/${a}/${f}`,{replace:!0}),Ue.location.reload()};return s.useEffect(()=>{(()=>{const a=d.getCache(`${v.wallet}-all`)||[];a.length&&ce(a)})()},[v.wallet]),i(je,{children:[n(c,{variant:"h5",mb:3,children:r("home.transfer")}),n(y,{textAlign:"center",direction:"row",justifyContent:"center",children:u&&(u!=null&&u.length)?n(I,{sx:{"& fieldset":{border:"none"},"& .MuiInputBase-input.MuiSelect-select":{display:"flex",alignItems:"center",backgroundColor:t=>t.palette.onBody.main},"& .MuiTypography-root":{mr:1}},size:"medium",MenuProps:{style:{maxHeight:400}},labelId:"token-simple-select-label",id:"token-simple-select",value:pe,onChange:Ae,children:u.map(t=>n(ee,{value:t.id,sx:{mb:1},children:i(y,{flexGrow:0,direction:"row",alignItems:"center",children:[t.id===1?n(F,{src:"/logo-big.png",sx:{width:30,height:30},children:n(te,{})}):n(_e,{children:t.logoURI?n(F,{src:t.logoURI,sx:{width:30,height:30}}):n(F,{sx:{width:30,height:30},children:n(te,{fontSize:"medium"})})}),n(Te,{primary:`${t.tokenSymbol}#${t.id}`,sx:{ml:1}})]})},t.id))}):""}),i(y,{textAlign:"center",direction:"row",justifyContent:"center",mb:2,children:[i(c,{variant:"h6",children:[r("home.balance"),":"]}),n(c,{variant:"h6",ml:1,children:d.formatFixed(e==null?void 0:e.amount,e==null?void 0:e.digits)}),n(c,{variant:"h6",ml:1,children:R})]}),n(ae,{display:"flex",justifyContent:"center",children:i(ae,{sx:{width:{md:"60%",sm:"100%"}},children:[i(D,{fullWidth:!0,sx:{mb:2},children:[n(E,{variant:"outlined",htmlFor:"outlined-adornment-address",required:!0,sx:{fontSize:16},error:g?g.boo:!1,children:r("home.send")}),n(_,{fullWidth:!0,placeholder:be,size:"medium",autoComplete:"off",value:w,id:"outlined-adornment-address",onChange:fe,startAdornment:n(S,{position:"start"}),sx:{paddingRight:0},endAdornment:n(S,{position:"end",children:n(I,{labelId:"lang-select-helper-label",id:"type-select-helper",value:C,size:"medium",placeholder:"",onChange:ke,inputProps:{name:"languages",id:"uncontrolled-native"},sx:{border:"none",":before":{borderColor:"divider"},bgcolor:"secondary.light",fontStyle:"italic"},children:Le.map(({value:t,label:a})=>n(ee,{value:t,sx:{mt:1},children:a},t))})}),label:r("home.send"),error:g?g.boo:!1}),n(M,{error:!0,children:g?g.text:""})]}),i(D,{fullWidth:!0,sx:{mb:2},children:[n(E,{htmlFor:"outlined-adornment-count",required:!0,sx:{fontSize:16},error:b?b.boo:!1,children:r("home.count")}),n(_,{id:"outlined-adornment-count",placeholder:r("home.dir"),type:"InputNumber",autoComplete:"off",size:"medium",fullWidth:!0,value:N,onChange:ye,startAdornment:n(S,{position:"start"}),label:r("home.count"),error:b?b.boo:!1}),n(M,{error:!0,children:b?b.text:""})]}),i(D,{fullWidth:!0,sx:{mb:2},children:[n(E,{htmlFor:"outlined-adornment-comment",sx:{fontSize:16},children:r("home.comment")}),n(_,{id:"outlined-adornment-comment",placeholder:r("home.commentInput"),fullWidth:!0,multiline:!0,autoComplete:"off",minRows:2,maxRows:2,value:P,onChange:Ce,startAdornment:n(S,{position:"start"}),label:r("home.comment"),inputProps:{maxLength:150}})]}),i(D,{fullWidth:!0,sx:{mb:2},children:[n(E,{htmlFor:"outlined-adornment-expedit",sx:{fontSize:16},error:x?x.boo:!1,children:r("home.expedit")}),n(_,{id:"outlined-adornment-expedit",placeholder:r("home.expeditInput"),type:"InputNumber",size:"medium",autoComplete:"off",fullWidth:!0,value:h,onChange:Se,startAdornment:n(S,{position:"start"}),label:r("home.expedit"),error:x?x.boo:!1}),n(M,{error:!0,children:x?x.text:""})]}),me===2&&Number(j)!==0?i(y,{direction:"row",mb:3,alignItems:"center",children:[i(c,{mr:.5,variant:"body2",children:[r("home.expedited"),":"]}),i(c,{variant:"body2",children:[h," ",R]}),n(c,{mx:.5,children:"≈"}),i(c,{variant:"body2",mr:1,children:[j," IBXC"]}),n(Pe,{title:r("user.urgentpay"),placement:"bottom",children:n(ze,{fontSize:"medium",sx:{cursor:"pointer"}})})]}):"",i(y,{direction:"row",justifyContent:"space-around",children:[n(ne,{variant:"outlined",onClick:Ne,sx:{width:"40%",minWidth:120,lineHeight:2.4},size:"large",children:r("login.cancel")}),n(ne,{variant:"filled",onClick:we,sx:{width:"40%",minWidth:120,lineHeight:2.4},size:"large",children:r("login.confirm")})]})]})}),C==="address"?n(re,{isCheck:L,params:{contractName:"MultiSignPropose",Wallet:W.addressString(f),To:w,Amount:d.parseUnits(N,Number(e==null?void 0:e.digits)),digits:Number(e==null?void 0:e.digits),Ecosystem:p,Expedite:String(h)?String(h):"0",Proposal:P},close:K,confirm:Q}):n(re,{isCheck:L,params:{contractName:"MultiSignPropose",Wallet:W.addressString(f),iName:w,Amount:d.parseUnits(N,Number(e==null?void 0:e.digits)),digits:Number(e==null?void 0:e.digits),Ecosystem:p,Expedite:String(h)?String(h):"0",Proposal:P},close:K,confirm:Q})]})};export{Ve as Component};