diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..be444e8bd --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,21 @@ +{ + "workbench.colorCustomizations": { + "activityBar.activeBackground": "#161641f2", + "activityBar.background": "#161641f2", + "activityBar.foreground": "#e7e7e7", + "activityBar.inactiveForeground": "#e7e7e799", + "activityBarBadge.background": "#8f3030", + "activityBarBadge.foreground": "#e7e7e7", + "commandCenter.border": "#e7e7e799", + "sash.hoverBorder": "#161641f2", + "statusBar.background": "#09091bf2", + "statusBar.foreground": "#e7e7e7", + "statusBarItem.hoverBackground": "#161641f2", + "statusBarItem.remoteBackground": "#09091bf2", + "statusBarItem.remoteForeground": "#e7e7e7", + "titleBar.activeBackground": "#09091bf2", + "titleBar.activeForeground": "#e7e7e7", + "titleBar.inactiveBackground": "#09091b99", + "titleBar.inactiveForeground": "#e7e7e799" + } +} \ No newline at end of file diff --git a/assets/banner.jpg b/assets/banner.jpg deleted file mode 100644 index 0913329c5..000000000 Binary files a/assets/banner.jpg and /dev/null differ diff --git a/assets/banner2.jpg b/assets/banner2.jpg deleted file mode 100644 index 004b74d28..000000000 Binary files a/assets/banner2.jpg and /dev/null differ diff --git a/assets/banner3.jpg b/assets/banner3.jpg deleted file mode 100644 index f36d4c096..000000000 Binary files a/assets/banner3.jpg and /dev/null differ diff --git a/assets/logo.png b/assets/logo.png deleted file mode 100644 index 71567a35b..000000000 Binary files a/assets/logo.png and /dev/null differ diff --git a/build/app.js b/build/app.js index 65b7a4df2..f3c75dbc0 100644 --- a/build/app.js +++ b/build/app.js @@ -1,12 +1,13 @@ { - __sveltekit_hzpi7s = { + __sveltekit_1ayvo9m = { base: new URL('.', location).pathname.slice(0, -1), env: { - PUBLIC_GATEWAY_URL: 'https://testnet.gateway.netsepio.com/api/v1.0', + PUBLIC_GATEWAY_URL: 'https://gateway.netsepio.com/api/v1.0', PUBLIC_SUBGRAPH_URL: 'https://api.thegraph.com/subgraphs/name/netsepio/netsepio-mumbai', PUBLIC_NFT_STORAGE_API_KEY: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkaWQ6ZXRocjoweDBDRTZkN0U2NDllZTcyOTRiNTdhNTU0ODI5M2Y3MjJmNEYwMjYwYTkiLCJpc3MiOiJuZnQtc3RvcmFnZSIsImlhdCI6MTY5NzU2NDQ0NTUwMywibmFtZSI6Im5ldHNwaW8ifQ.UsIhXHD1-FqliafFjqKyYrxFIVdHRgjkXlPRw_zX4yM', - PUBLIC_NODE_URL: 'https://fullnode.testnet.aptoslabs.com/v1' + PUBLIC_NODE_URL: 'https://fullnode.testnet.aptoslabs.com/v1', + PUBLIC_OPENAI_KEY: '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' } }; @@ -15,8 +16,8 @@ const data = [null, null]; Promise.all([ - import('./app/immutable/entry/start.4107338a.js'), - import('./app/immutable/entry/app.21aaaf31.js') + import('./app/immutable/entry/start.70fd42b9.js'), + import('./app/immutable/entry/app.f801ab02.js') ]).then(([kit, app]) => { kit.start(app, element, { node_ids: [0, 2], diff --git a/build/app/immutable/assets/0.354f7094.css b/build/app/immutable/assets/0.354f7094.css new file mode 100644 index 000000000..b348bcf86 --- /dev/null +++ b/build/app/immutable/assets/0.354f7094.css @@ -0,0 +1 @@ +@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-cyrillic-ext-400-normal.9508ee6d.woff2) format("woff2"),url(./inter-cyrillic-ext-400-normal.91fac07b.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-cyrillic-400-normal.b75a5bf9.woff2) format("woff2"),url(./inter-cyrillic-400-normal.cfcdf014.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-greek-ext-400-normal.6888cfd9.woff2) format("woff2"),url(./inter-greek-ext-400-normal.a5fd4754.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-greek-400-normal.4d906204.woff2) format("woff2"),url(./inter-greek-400-normal.752eec51.woff) format("woff");unicode-range:U+0370-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-vietnamese-400-normal.9fd231a7.woff2) format("woff2"),url(./inter-vietnamese-400-normal.5b57714a.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-latin-ext-400-normal.56d25f40.woff2) format("woff2"),url(./inter-latin-ext-400-normal.5578c98f.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-latin-400-normal.2301bb03.woff2) format("woff2"),url(./inter-latin-400-normal.86efb4c9.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./inter-cyrillic-ext-700-normal.17ce5967.woff2) format("woff2"),url(./inter-cyrillic-ext-700-normal.4a150cf7.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./inter-cyrillic-700-normal.6c49647a.woff2) format("woff2"),url(./inter-cyrillic-700-normal.9d17d2c0.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./inter-greek-ext-700-normal.096c17f3.woff2) format("woff2"),url(./inter-greek-ext-700-normal.e185a74a.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./inter-greek-700-normal.bc935eb1.woff2) format("woff2"),url(./inter-greek-700-normal.a6ff4c36.woff) format("woff");unicode-range:U+0370-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./inter-vietnamese-700-normal.d3e3a1c3.woff2) format("woff2"),url(./inter-vietnamese-700-normal.bff14448.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./inter-latin-ext-700-normal.c17e9995.woff2) format("woff2"),url(./inter-latin-ext-700-normal.da2b2bd1.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./inter-latin-700-normal.7b43cb86.woff2) format("woff2"),url(./inter-latin-700-normal.eb518b64.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*,: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;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[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}:root,[data-theme]{background-color:hsla(var(--b1) / var(--tw-bg-opacity, 1));color:hsla(var(--bc) / var(--tw-text-opacity, 1))}html{-webkit-tap-highlight-color:transparent}:root{color-scheme:light;--pf: 258.89 94.378% 40.941%;--sf: 314 100% 37.647%;--af: 174 60% 40.784%;--nf: 219 14.085% 22.275%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 258.89 94.378% 51.176%;--pc: 0 0% 100%;--s: 314 100% 47.059%;--sc: 0 0% 100%;--a: 174 60% 50.98%;--ac: 174.71 43.59% 15.294%;--n: 219 14.085% 27.843%;--nc: 0 0% 100%;--b1: 0 0% 100%;--b2: 0 0% 94.902%;--b3: 180 1.9608% 90%;--bc: 215 27.907% 16.863%}@media (prefers-color-scheme: dark){:root{color-scheme:dark;--pf: 262.35 80.315% 40.157%;--sf: 315.75 70.196% 40%;--af: 174.69 70.335% 32.784%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 262.35 80.315% 50.196%;--pc: 0 0% 100%;--s: 315.75 70.196% 50%;--sc: 0 0% 100%;--a: 174.69 70.335% 40.98%;--ac: 0 0% 100%;--n: 218.18 18.033% 11.961%;--nf: 222.86 17.073% 8.0392%;--nc: 220 13.376% 69.216%;--b1: 220 17.647% 20%;--b2: 220 17.241% 17.059%;--b3: 218.57 17.949% 15.294%;--bc: 220 13.376% 69.216%}}[data-theme=light]{color-scheme:light;--pf: 258.89 94.378% 40.941%;--sf: 314 100% 37.647%;--af: 174 60% 40.784%;--nf: 219 14.085% 22.275%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 258.89 94.378% 51.176%;--pc: 0 0% 100%;--s: 314 100% 47.059%;--sc: 0 0% 100%;--a: 174 60% 50.98%;--ac: 174.71 43.59% 15.294%;--n: 219 14.085% 27.843%;--nc: 0 0% 100%;--b1: 0 0% 100%;--b2: 0 0% 94.902%;--b3: 180 1.9608% 90%;--bc: 215 27.907% 16.863%}[data-theme=dark]{color-scheme:dark;--pf: 262.35 80.315% 40.157%;--sf: 315.75 70.196% 40%;--af: 174.69 70.335% 32.784%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 262.35 80.315% 50.196%;--pc: 0 0% 100%;--s: 315.75 70.196% 50%;--sc: 0 0% 100%;--a: 174.69 70.335% 40.98%;--ac: 0 0% 100%;--n: 218.18 18.033% 11.961%;--nf: 222.86 17.073% 8.0392%;--nc: 220 13.376% 69.216%;--b1: 220 17.647% 20%;--b2: 220 17.241% 17.059%;--b3: 218.57 17.949% 15.294%;--bc: 220 13.376% 69.216%}[data-theme=cupcake]{color-scheme:light;--pf: 183.03 47.368% 47.216%;--sf: 338.25 71.429% 62.431%;--af: 39 84.112% 46.431%;--nf: 280 46.479% 11.137%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 183.03 100% 11.804%;--sc: 338.25 100% 15.608%;--ac: 39 100% 11.608%;--nc: 280 82.688% 82.784%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--p: 183.03 47.368% 59.02%;--s: 338.25 71.429% 78.039%;--a: 39 84.112% 58.039%;--n: 280 46.479% 13.922%;--b1: 24 33.333% 97.059%;--b2: 26.667 21.951% 91.961%;--b3: 22.5 14.286% 89.02%;--bc: 280 46.479% 13.922%;--rounded-btn: 1.9rem;--tab-border: 2px;--tab-radius: .5rem}[data-theme=bumblebee]{color-scheme:light;--pf: 41.124 74.167% 42.353%;--sf: 49.901 94.393% 46.431%;--af: 240 33.333% 11.294%;--nf: 240 33.333% 11.294%;--b2: 0 0% 90%;--b3: 0 0% 81%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--bc: 0 0% 20%;--ac: 240 60.274% 82.824%;--nc: 240 60.274% 82.824%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 41.124 74.167% 52.941%;--pc: 240 33.333% 14.118%;--s: 49.901 94.393% 58.039%;--sc: 240 33.333% 14.118%;--a: 240 33.333% 14.118%;--n: 240 33.333% 14.118%;--b1: 0 0% 100%}[data-theme=emerald]{color-scheme:light;--pf: 141.18 50% 48%;--sf: 218.88 96.078% 48%;--af: 9.8901 81.25% 44.863%;--nf: 219.23 20.312% 20.078%;--b2: 0 0% 90%;--b3: 0 0% 81%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--btn-text-case: uppercase;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 141.18 50% 60%;--pc: 151.11 28.421% 18.627%;--s: 218.88 96.078% 60%;--sc: 210 20% 98.039%;--a: 9.8901 81.25% 56.078%;--ac: 210 20% 98.039%;--n: 219.23 20.312% 25.098%;--nc: 210 20% 98.039%;--b1: 0 0% 100%;--bc: 219.23 20.312% 25.098%;--animation-btn: 0;--animation-input: 0;--btn-focus-scale: 1}[data-theme=corporate]{color-scheme:light;--pf: 229.09 95.652% 51.137%;--sf: 214.91 26.316% 47.216%;--af: 154.2 49.02% 48%;--nf: 233.33 27.273% 10.353%;--b2: 0 0% 90%;--b3: 0 0% 81%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 229.09 100% 92.784%;--sc: 214.91 100% 11.804%;--ac: 154.2 100% 12%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--btn-text-case: uppercase;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 229.09 95.652% 63.922%;--s: 214.91 26.316% 59.02%;--a: 154.2 49.02% 60%;--n: 233.33 27.273% 12.941%;--nc: 210 38.462% 94.902%;--b1: 0 0% 100%;--bc: 233.33 27.273% 12.941%;--rounded-box: .25rem;--rounded-btn: .125rem;--rounded-badge: .125rem;--animation-btn: 0;--animation-input: 0;--btn-focus-scale: 1}[data-theme=synthwave]{color-scheme:dark;--pf: 320.73 69.62% 55.216%;--sf: 197.03 86.592% 51.922%;--af: 48 89.041% 45.647%;--nf: 253.22 60.825% 15.216%;--b2: 253.85 59.091% 23.294%;--b3: 253.85 59.091% 20.965%;--pc: 320.73 100% 13.804%;--sc: 197.03 100% 12.98%;--ac: 48 100% 11.412%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 320.73 69.62% 69.02%;--s: 197.03 86.592% 64.902%;--a: 48 89.041% 57.059%;--n: 253.22 60.825% 19.02%;--nc: 260 60% 98.039%;--b1: 253.85 59.091% 25.882%;--bc: 260 60% 98.039%;--in: 199.13 86.957% 63.922%;--inc: 257.45 63.218% 17.059%;--su: 168.1 74.233% 68.039%;--suc: 257.45 63.218% 17.059%;--wa: 48 89.041% 57.059%;--wac: 257.45 63.218% 17.059%;--er: 351.85 73.636% 56.863%;--erc: 260 60% 98.039%}[data-theme=retro]{color-scheme:light;--pf: 2.6667 73.77% 60.863%;--sf: 144.62 27.273% 57.569%;--af: 49.024 67.213% 60.863%;--nf: 41.667 16.822% 33.569%;--inc: 221.21 100% 90.667%;--suc: 142.13 100% 87.255%;--wac: 32.133 100% 8.7451%;--erc: 0 100% 90.118%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 2.6667 73.77% 76.078%;--pc: 345 5.2632% 14.902%;--s: 144.62 27.273% 71.961%;--sc: 345 5.2632% 14.902%;--a: 49.024 67.213% 76.078%;--ac: 345 5.2632% 14.902%;--n: 41.667 16.822% 41.961%;--nc: 45 47.059% 80%;--b1: 45 47.059% 80%;--b2: 45.283 37.063% 71.961%;--b3: 42.188 35.955% 65.098%;--bc: 345 5.2632% 14.902%;--in: 221.21 83.193% 53.333%;--su: 142.13 76.216% 36.275%;--wa: 32.133 94.619% 43.725%;--er: 0 72.222% 50.588%;--rounded-box: .4rem;--rounded-btn: .4rem;--rounded-badge: .4rem}[data-theme=cyberpunk]{color-scheme:light;--pf: 344.78 100% 58.353%;--sf: 195.12 80.392% 56%;--af: 276 74.324% 56.784%;--nf: 57.273 100% 10.353%;--b2: 56 100% 45%;--b3: 56 100% 40.5%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--bc: 56 100% 10%;--pc: 344.78 100% 14.588%;--sc: 195.12 100% 14%;--ac: 276 100% 14.196%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;--p: 344.78 100% 72.941%;--s: 195.12 80.392% 70%;--a: 276 74.324% 70.98%;--n: 57.273 100% 12.941%;--nc: 56 100% 50%;--b1: 56 100% 50%;--rounded-box: 0;--rounded-btn: 0;--rounded-badge: 0;--tab-radius: 0}[data-theme=valentine]{color-scheme:light;--pf: 353.23 73.81% 53.647%;--sf: 254.12 86.441% 61.49%;--af: 181.41 55.556% 56%;--nf: 336 42.857% 38.431%;--b2: 318.46 46.429% 80.118%;--b3: 318.46 46.429% 72.106%;--pc: 353.23 100% 13.412%;--sc: 254.12 100% 15.373%;--ac: 181.41 100% 14%;--inc: 221.21 100% 90.667%;--suc: 142.13 100% 87.255%;--wac: 32.133 100% 8.7451%;--erc: 0 100% 90.118%;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 353.23 73.81% 67.059%;--s: 254.12 86.441% 76.863%;--a: 181.41 55.556% 70%;--n: 336 42.857% 48.039%;--nc: 318.46 46.429% 89.02%;--b1: 318.46 46.429% 89.02%;--bc: 343.64 38.462% 28.039%;--in: 221.21 83.193% 53.333%;--su: 142.13 76.216% 36.275%;--wa: 32.133 94.619% 43.725%;--er: 0 72.222% 50.588%;--rounded-btn: 1.9rem}[data-theme=halloween]{color-scheme:dark;--pf: 31.927 89.344% 41.725%;--sf: 271.22 45.794% 33.569%;--af: 91.071 100% 26.353%;--nf: 180 3.5714% 8.7843%;--b2: 0 0% 11.647%;--b3: 0 0% 10.482%;--bc: 0 0% 82.588%;--sc: 271.22 100% 88.392%;--ac: 91.071 100% 6.5882%;--nc: 180 4.8458% 82.196%;--inc: 221.21 100% 90.667%;--suc: 142.13 100% 87.255%;--wac: 32.133 100% 8.7451%;--erc: 0 100% 90.118%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 31.927 89.344% 52.157%;--pc: 180 7.3171% 8.0392%;--s: 271.22 45.794% 41.961%;--a: 91.071 100% 32.941%;--n: 180 3.5714% 10.98%;--b1: 0 0% 12.941%;--in: 221.21 83.193% 53.333%;--su: 142.13 76.216% 36.275%;--wa: 32.133 94.619% 43.725%;--er: 0 72.222% 50.588%}[data-theme=garden]{color-scheme:light;--pf: 138.86 15.982% 34.353%;--sf: 96.923 37.143% 74.51%;--af: 0 67.742% 75.137%;--nf: 0 3.9106% 28.078%;--b2: 0 4.3478% 81.882%;--b3: 0 4.3478% 73.694%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 138.86 100% 88.588%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 138.86 15.982% 42.941%;--s: 96.923 37.143% 93.137%;--sc: 96 32.468% 15.098%;--a: 0 67.742% 93.922%;--ac: 0 21.951% 16.078%;--n: 0 3.9106% 35.098%;--nc: 0 4.3478% 90.98%;--b1: 0 4.3478% 90.98%;--bc: 0 3.2258% 6.0784%}[data-theme=forest]{color-scheme:dark;--pf: 141.04 71.963% 33.569%;--sf: 140.98 74.694% 38.431%;--af: 35.148 68.98% 41.569%;--nf: 0 9.6774% 4.8627%;--b2: 0 12.195% 7.2353%;--b3: 0 12.195% 6.5118%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--bc: 0 11.727% 81.608%;--sc: 140.98 100% 9.6078%;--ac: 35.148 100% 10.392%;--nc: 0 6.8894% 81.216%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 141.04 71.963% 41.961%;--pc: 140.66 100% 88.039%;--s: 140.98 74.694% 48.039%;--a: 35.148 68.98% 51.961%;--n: 0 9.6774% 6.0784%;--b1: 0 12.195% 8.0392%;--rounded-btn: 1.9rem}[data-theme=aqua]{color-scheme:dark;--pf: 181.79 92.857% 39.529%;--sf: 274.41 30.909% 45.49%;--af: 47.059 100% 64%;--nf: 205.4 53.725% 40%;--b2: 218.61 52.511% 38.647%;--b3: 218.61 52.511% 34.782%;--bc: 218.61 100% 88.588%;--sc: 274.41 100% 91.373%;--ac: 47.059 100% 16%;--nc: 205.4 100% 90%;--inc: 221.21 100% 90.667%;--suc: 142.13 100% 87.255%;--wac: 32.133 100% 8.7451%;--erc: 0 100% 90.118%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 181.79 92.857% 49.412%;--pc: 181.41 100% 16.667%;--s: 274.41 30.909% 56.863%;--a: 47.059 100% 80%;--n: 205.4 53.725% 50%;--b1: 218.61 52.511% 42.941%;--in: 221.21 83.193% 53.333%;--su: 142.13 76.216% 36.275%;--wa: 32.133 94.619% 43.725%;--er: 0 72.222% 50.588%}[data-theme=lofi]{color-scheme:light;--pf: 0 0% 4.0784%;--sf: 0 1.9608% 8%;--af: 0 0% 11.922%;--nf: 0 0% 0%;--btn-text-case: uppercase;--border-btn: 1px;--tab-border: 1px;--p: 0 0% 5.098%;--pc: 0 0% 100%;--s: 0 1.9608% 10%;--sc: 0 0% 100%;--a: 0 0% 14.902%;--ac: 0 0% 100%;--n: 0 0% 0%;--nc: 0 0% 100%;--b1: 0 0% 100%;--b2: 0 0% 94.902%;--b3: 0 1.9608% 90%;--bc: 0 0% 0%;--in: 212.35 100% 47.647%;--inc: 0 0% 100%;--su: 136.84 72.152% 46.471%;--suc: 0 0% 100%;--wa: 4.5614 100% 66.471%;--wac: 0 0% 100%;--er: 325.05 77.6% 49.02%;--erc: 0 0% 100%;--rounded-box: .25rem;--rounded-btn: .125rem;--rounded-badge: .125rem;--animation-btn: 0;--animation-input: 0;--btn-focus-scale: 1;--tab-radius: 0}[data-theme=pastel]{color-scheme:light;--pf: 283.64 21.569% 64%;--sf: 351.63 70.492% 70.431%;--af: 158.49 54.639% 64.784%;--nf: 198.62 43.719% 48.784%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--bc: 0 0% 20%;--pc: 283.64 59.314% 16%;--sc: 351.63 100% 17.608%;--ac: 158.49 100% 16.196%;--nc: 198.62 100% 12.196%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 283.64 21.569% 80%;--s: 351.63 70.492% 88.039%;--a: 158.49 54.639% 80.98%;--n: 198.62 43.719% 60.98%;--b1: 0 0% 100%;--b2: 210 20% 98.039%;--b3: 216 12.195% 83.922%;--rounded-btn: 1.9rem}[data-theme=fantasy]{color-scheme:light;--pf: 296.04 82.813% 20.078%;--sf: 200 100% 29.647%;--af: 30.894 94.378% 40.941%;--nf: 215 27.907% 13.49%;--b2: 0 0% 90%;--b3: 0 0% 81%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 296.04 100% 85.02%;--sc: 200 100% 87.412%;--ac: 30.894 100% 10.235%;--nc: 215 62.264% 83.373%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 296.04 82.813% 25.098%;--s: 200 100% 37.059%;--a: 30.894 94.378% 51.176%;--n: 215 27.907% 16.863%;--b1: 0 0% 100%;--bc: 215 27.907% 16.863%}[data-theme=wireframe]{color-scheme:light;--pf: 0 0% 57.725%;--sf: 0 0% 57.725%;--af: 0 0% 57.725%;--nf: 0 0% 73.725%;--bc: 0 0% 20%;--pc: 0 0% 14.431%;--sc: 0 0% 14.431%;--ac: 0 0% 14.431%;--nc: 0 0% 18.431%;--inc: 240 100% 90%;--suc: 120 100% 85.02%;--wac: 60 100% 10%;--erc: 0 100% 90%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;font-family:Chalkboard,comic sans ms,sanssecondaryerif;--p: 0 0% 72.157%;--s: 0 0% 72.157%;--a: 0 0% 72.157%;--n: 0 0% 92.157%;--b1: 0 0% 100%;--b2: 0 0% 93.333%;--b3: 0 0% 86.667%;--in: 240 100% 50%;--su: 120 100% 25.098%;--wa: 60 30.196% 50%;--er: 0 100% 50%;--rounded-box: .2rem;--rounded-btn: .2rem;--rounded-badge: .2rem;--tab-radius: .2rem}[data-theme=black]{color-scheme:dark;--pf: 0 1.9608% 16%;--sf: 0 1.9608% 16%;--af: 0 1.9608% 16%;--bc: 0 0% 80%;--pc: 0 5.3922% 84%;--sc: 0 5.3922% 84%;--ac: 0 5.3922% 84%;--nc: 0 2.5404% 83.02%;--inc: 240 100% 90%;--suc: 120 100% 85.02%;--wac: 60 100% 10%;--erc: 0 100% 90%;--border-btn: 1px;--tab-border: 1px;--p: 0 1.9608% 20%;--s: 0 1.9608% 20%;--a: 0 1.9608% 20%;--b1: 0 0% 0%;--b2: 0 0% 5.098%;--b3: 0 1.9608% 10%;--n: 0 1.2987% 15.098%;--nf: 0 1.9608% 20%;--in: 240 100% 50%;--su: 120 100% 25.098%;--wa: 60 100% 50%;--er: 0 100% 50%;--rounded-box: 0;--rounded-btn: 0;--rounded-badge: 0;--animation-btn: 0;--animation-input: 0;--btn-text-case: lowercase;--btn-focus-scale: 1;--tab-radius: 0}[data-theme=luxury]{color-scheme:dark;--pf: 0 0% 80%;--sf: 218.4 54.348% 14.431%;--af: 318.62 21.805% 20.863%;--nf: 270 4.3478% 7.2157%;--pc: 0 0% 20%;--sc: 218.4 100% 83.608%;--ac: 318.62 84.615% 85.216%;--inc: 202.35 100% 14%;--suc: 89.007 100% 10.392%;--wac: 53.906 100% 12.706%;--erc: 0 100% 14.353%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 0 0% 100%;--s: 218.4 54.348% 18.039%;--a: 318.62 21.805% 26.078%;--n: 270 4.3478% 9.0196%;--nc: 37.083 67.29% 58.039%;--b1: 240 10% 3.9216%;--b2: 270 4.3478% 9.0196%;--b3: 270 2.1739% 18.039%;--bc: 37.083 67.29% 58.039%;--in: 202.35 100% 70%;--su: 89.007 61.633% 51.961%;--wa: 53.906 68.817% 63.529%;--er: 0 100% 71.765%}[data-theme=dracula]{color-scheme:dark;--pf: 325.52 100% 58.98%;--sf: 264.71 89.474% 62.118%;--af: 31.02 100% 56.941%;--nf: 229.57 15.033% 24%;--b2: 231.43 14.894% 16.588%;--b3: 231.43 14.894% 14.929%;--pc: 325.52 100% 14.745%;--sc: 264.71 100% 15.529%;--ac: 31.02 100% 14.235%;--nc: 229.57 70.868% 86%;--inc: 190.53 100% 15.373%;--suc: 135.18 100% 12.941%;--wac: 64.909 100% 15.294%;--erc: 0 100% 93.333%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 325.52 100% 73.725%;--s: 264.71 89.474% 77.647%;--a: 31.02 100% 71.176%;--n: 229.57 15.033% 30%;--b1: 231.43 14.894% 18.431%;--bc: 60 30% 96.078%;--in: 190.53 96.61% 76.863%;--su: 135.18 94.444% 64.706%;--wa: 64.909 91.667% 76.471%;--er: 0 100% 66.667%}[data-theme=cmyk]{color-scheme:light;--pf: 202.72 83.251% 48.157%;--sf: 335.25 77.67% 47.686%;--af: 56.195 100% 47.843%;--nf: 0 0% 8.1569%;--b2: 0 0% 90%;--b3: 0 0% 81%;--bc: 0 0% 20%;--pc: 202.72 100% 12.039%;--sc: 335.25 100% 91.922%;--ac: 56.195 100% 11.961%;--nc: 0 0% 82.039%;--inc: 192.2 100% 10.431%;--suc: 291.06 100% 87.608%;--wac: 25.027 100% 11.333%;--erc: 3.956 100% 91.137%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 202.72 83.251% 60.196%;--s: 335.25 77.67% 59.608%;--a: 56.195 100% 59.804%;--n: 0 0% 10.196%;--b1: 0 0% 100%;--in: 192.2 48.361% 52.157%;--su: 291.06 48.454% 38.039%;--wa: 25.027 84.615% 56.667%;--er: 3.956 80.531% 55.686%}[data-theme=autumn]{color-scheme:light;--pf: 344.23 95.804% 22.431%;--sf: .44444 63.38% 46.588%;--af: 27.477 56.021% 50.039%;--nf: 22.105 17.117% 34.824%;--b2: 0 0% 85.059%;--b3: 0 0% 76.553%;--bc: 0 0% 18.902%;--pc: 344.23 100% 85.608%;--sc: .44444 100% 91.647%;--ac: 27.477 100% 12.51%;--nc: 22.105 100% 88.706%;--inc: 186.94 100% 9.9216%;--suc: 164.59 100% 8.6275%;--wac: 30.141 100% 9.9216%;--erc: 353.6 100% 89.765%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 344.23 95.804% 28.039%;--s: .44444 63.38% 58.235%;--a: 27.477 56.021% 62.549%;--n: 22.105 17.117% 43.529%;--b1: 0 0% 94.51%;--in: 186.94 47.826% 49.608%;--su: 164.59 33.636% 43.137%;--wa: 30.141 84.19% 49.608%;--er: 353.6 79.116% 48.824%}[data-theme=business]{color-scheme:dark;--pf: 210 64.103% 24.471%;--sf: 200 12.931% 43.608%;--af: 12.515 79.512% 47.843%;--nf: 212.73 13.58% 12.706%;--b2: 0 0% 11.294%;--b3: 0 0% 10.165%;--bc: 0 0% 82.51%;--pc: 210 100% 86.118%;--sc: 200 100% 10.902%;--ac: 12.515 100% 11.961%;--nc: 212.73 28.205% 83.176%;--inc: 199.15 100% 88.353%;--suc: 144 100% 11.137%;--wac: 39.231 100% 12.078%;--erc: 6.3415 100% 88.667%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 210 64.103% 30.588%;--s: 200 12.931% 54.51%;--a: 12.515 79.512% 59.804%;--n: 212.73 13.58% 15.882%;--b1: 0 0% 12.549%;--in: 199.15 100% 41.765%;--su: 144 30.973% 55.686%;--wa: 39.231 64.356% 60.392%;--er: 6.3415 55.656% 43.333%;--rounded-box: .25rem;--rounded-btn: .125rem;--rounded-badge: .125rem}[data-theme=acid]{color-scheme:light;--pf: 302.59 100% 40%;--sf: 27.294 100% 40%;--af: 72 98.425% 40.157%;--nf: 238.42 43.182% 13.804%;--b2: 0 0% 88.235%;--b3: 0 0% 79.412%;--bc: 0 0% 19.608%;--pc: 302.59 100% 90%;--sc: 27.294 100% 10%;--ac: 72 100% 10.039%;--nc: 238.42 99.052% 83.451%;--inc: 209.85 100% 11.569%;--suc: 148.87 100% 11.608%;--wac: 52.574 100% 11.451%;--erc: .78261 100% 89.02%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 302.59 100% 50%;--s: 27.294 100% 50%;--a: 72 98.425% 50.196%;--n: 238.42 43.182% 17.255%;--b1: 0 0% 98.039%;--in: 209.85 91.628% 57.843%;--su: 148.87 49.533% 58.039%;--wa: 52.574 92.661% 57.255%;--er: .78261 100% 45.098%;--rounded-box: 1.25rem;--rounded-btn: 1rem;--rounded-badge: 1rem}[data-theme=lemonade]{color-scheme:light;--pf: 88.8 96.154% 24.471%;--sf: 60 80.952% 43.765%;--af: 62.553 79.661% 70.745%;--nf: 238.42 43.182% 13.804%;--b2: 0 0% 90%;--b3: 0 0% 81%;--bc: 0 0% 20%;--pc: 88.8 100% 86.118%;--sc: 60 100% 10.941%;--ac: 62.553 100% 17.686%;--nc: 238.42 99.052% 83.451%;--inc: 191.61 79.118% 16.902%;--suc: 74.458 100% 15.725%;--wac: 50.182 100% 15.059%;--erc: .98361 100% 16.588%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 88.8 96.154% 30.588%;--s: 60 80.952% 54.706%;--a: 62.553 79.661% 88.431%;--n: 238.42 43.182% 17.255%;--b1: 0 0% 100%;--in: 191.61 39.241% 84.51%;--su: 74.458 76.147% 78.627%;--wa: 50.182 87.302% 75.294%;--er: .98361 70.115% 82.941%}[data-theme=night]{color-scheme:dark;--pf: 198.44 93.204% 47.686%;--sf: 234.45 89.474% 59.137%;--af: 328.85 85.621% 56%;--b2: 222.22 47.368% 10.059%;--b3: 222.22 47.368% 9.0529%;--bc: 222.22 65.563% 82.235%;--pc: 198.44 100% 11.922%;--sc: 234.45 100% 14.784%;--ac: 328.85 100% 14%;--nc: 217.24 75.772% 83.49%;--inc: 198.46 100% 9.6078%;--suc: 172.46 100% 10.078%;--wac: 40.61 100% 12.706%;--erc: 350.94 100% 14.235%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 198.44 93.204% 59.608%;--s: 234.45 89.474% 73.922%;--a: 328.85 85.621% 70%;--n: 217.24 32.584% 17.451%;--nf: 217.06 30.357% 21.961%;--b1: 222.22 47.368% 11.176%;--in: 198.46 90.204% 48.039%;--su: 172.46 66.008% 50.392%;--wa: 40.61 88.172% 63.529%;--er: 350.94 94.558% 71.176%}[data-theme=coffee]{color-scheme:dark;--pf: 29.583 66.667% 46.118%;--sf: 182.4 24.752% 15.843%;--af: 194.19 74.4% 19.608%;--nf: 300 20% 4.7059%;--b2: 306 18.519% 9.5294%;--b3: 306 18.519% 8.5765%;--pc: 29.583 100% 11.529%;--sc: 182.4 67.237% 83.961%;--ac: 194.19 100% 84.902%;--nc: 300 13.75% 81.176%;--inc: 171.15 100% 13.451%;--suc: 92.5 100% 12.471%;--wac: 43.125 100% 13.725%;--erc: 9.7561 100% 14.941%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 29.583 66.667% 57.647%;--s: 182.4 24.752% 19.804%;--a: 194.19 74.4% 24.51%;--n: 300 20% 5.8824%;--b1: 306 18.519% 10.588%;--bc: 36.667 8.3333% 42.353%;--in: 171.15 36.527% 67.255%;--su: 92.5 25% 62.353%;--wa: 43.125 100% 68.627%;--er: 9.7561 95.349% 74.706%}[data-theme=winter]{color-scheme:light;--pf: 211.79 100% 40.627%;--sf: 246.92 47.273% 34.51%;--af: 310.41 49.388% 41.569%;--nf: 217.02 92.157% 8%;--pc: 211.79 100% 90.157%;--sc: 246.92 100% 88.627%;--ac: 310.41 100% 90.392%;--nc: 217.02 100% 82%;--inc: 191.54 100% 15.608%;--suc: 181.5 100% 13.255%;--wac: 32.308 100% 16.706%;--erc: 0 100% 14.431%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 211.79 100% 50.784%;--s: 246.92 47.273% 43.137%;--a: 310.41 49.388% 51.961%;--n: 217.02 92.157% 10%;--b1: 0 0% 100%;--b2: 216.92 100% 97.451%;--b3: 218.82 43.59% 92.353%;--bc: 214.29 30.061% 31.961%;--in: 191.54 92.857% 78.039%;--su: 181.5 46.512% 66.275%;--wa: 32.308 61.905% 83.529%;--er: 0 63.38% 72.157%}html,body{overflow-y:hidden}html{font-family:Inter;height:600px;width:350px}body{transition:background-color .2s ease-in-out,color .2s ease-in-out;--tw-bg-opacity: 1;background-color:rgb(34 41 68 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(:where(.dark) body){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}body{overflow:hidden;height:100%;width:100%}*,: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: }::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: }.alert{display:flex;width:100%;flex-direction:column;align-items:center;justify-content:space-between;gap:1rem;--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));padding:1rem;border-radius:var(--rounded-box, 1rem)}.alert>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}@media (min-width: 768px){.alert{flex-direction:row}.alert>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}}.alert>:where(*){display:flex;align-items:center;gap:.5rem}.avatar{position:relative;display:inline-flex}.avatar>div{display:block;aspect-ratio:1 / 1;overflow:hidden}.avatar img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover}.avatar.placeholder>div{display:flex;align-items:center;justify-content:center}.btn{display:inline-flex;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-wrap:wrap;align-items:center;justify-content:center;border-color:transparent;border-color:hsl(var(--n) / var(--tw-border-opacity));text-align:center;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-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);border-radius:var(--rounded-btn, .5rem);height:3rem;padding-left:1rem;padding-right:1rem;font-size:.875rem;line-height:1.25rem;line-height:1em;min-height:3rem;font-weight:600;text-transform:uppercase;text-transform:var(--btn-text-case, uppercase);text-decoration-line:none;border-width:var(--border-btn, 1px);animation:button-pop var(--animation-btn, .25s) ease-out;--tw-border-opacity: 1;--tw-bg-opacity: 1;background-color:hsl(var(--n) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--nc) / var(--tw-text-opacity))}.btn-disabled,.btn[disabled]{pointer-events:none}.btn-circle{height:3rem;width:3rem;border-radius:9999px;padding:0}.btn.loading,.btn.loading:hover{pointer-events:none}.btn.loading:before{margin-right:.5rem;height:1rem;width:1rem;border-radius:9999px;border-width:2px;animation:spin 2s linear infinite;content:"";border-top-color:transparent;border-left-color:transparent;border-bottom-color:currentColor;border-right-color:currentColor}@media (prefers-reduced-motion: reduce){.btn.loading:before{animation:spin 10s linear infinite}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.btn-group>input[type=radio].btn{-webkit-appearance:none;-moz-appearance:none;appearance:none}.btn-group>input[type=radio].btn:before{content:attr(data-title)}.checkbox{flex-shrink:0;--chkbg: var(--bc);--chkfg: var(--b1);height:1.5rem;width:1.5rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: .2;border-radius:var(--rounded-btn, .5rem)}.divider{display:flex;flex-direction:row;align-items:center;align-self:stretch;margin-top:1rem;margin-bottom:1rem;height:1rem;white-space:nowrap}.divider:before,.divider:after{content:"";flex-grow:1;height:.125rem;width:100%}.form-control{display:flex;flex-direction:column}.label{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:space-between;padding:.5rem .25rem}.input{flex-shrink:1;height:3rem;padding-left:1rem;padding-right:1rem;font-size:1rem;line-height:2;line-height:1.5rem;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 0;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));border-radius:var(--rounded-btn, .5rem)}.input-group>.input{isolation:isolate}.input-group>*,.input-group>.input,.input-group>.textarea,.input-group>.select{border-radius:0}.link{cursor:pointer;text-decoration-line:underline}.mask{-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.menu{display:flex;flex-direction:column;flex-wrap:wrap}.menu.horizontal{display:inline-flex;flex-direction:row}.menu.horizontal :where(li){flex-direction:row}:where(.menu li){position:relative;display:flex;flex-shrink:0;flex-direction:column;flex-wrap:wrap;align-items:stretch}.menu :where(li:not(.menu-title))>:where(*:not(ul)){display:flex}.menu :where(li:not(.disabled):not(.menu-title))>:where(*:not(ul)){cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;outline:2px solid transparent;outline-offset:2px}.menu>:where(li>*:not(ul):focus){outline:2px solid transparent;outline-offset:2px}.menu>:where(li.disabled>*:not(ul):focus){cursor:auto}.menu>:where(li) :where(ul){display:flex;flex-direction:column;align-items:stretch}.menu>:where(li)>:where(ul){position:absolute;display:none;top:initial;left:100%;border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li:hover)>:where(ul){display:flex}.menu>:where(li:focus)>:where(ul){display:flex}.modal{pointer-events:none;visibility:hidden;position:fixed;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;opacity:0;z-index:999;background-color:hsl(var(--nf, var(--n)) / var(--tw-bg-opacity));--tw-bg-opacity: .4;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:transform,opacity,visibility;overflow-y:hidden;overscroll-behavior:contain}:where(.modal){align-items:center}.modal-box{max-height:calc(100vh - 5em);--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));padding:1.5rem;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-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);width:91.666667%;max-width:32rem;--tw-scale-x: .9;--tw-scale-y: .9;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));border-top-left-radius:var(--rounded-box, 1rem);border-top-right-radius:var(--rounded-box, 1rem);border-bottom-left-radius:var(--rounded-box, 1rem);border-bottom-right-radius:var(--rounded-box, 1rem);box-shadow:0 25px 50px -12px #00000040;overflow-y:auto;overscroll-behavior:contain}.modal-open,.modal:target,.modal-toggle:checked+.modal{pointer-events:auto;visibility:visible;opacity:1}.modal-action{display:flex;margin-top:1.5rem;justify-content:flex-end}.modal-toggle{position:fixed;height:0px;width:0px;-webkit-appearance:none;-moz-appearance:none;appearance:none;opacity:0}.navbar{display:flex;align-items:center;padding:var(--navbar-padding, .5rem);min-height:4rem;width:100%}:where(.navbar>*){display:inline-flex;align-items:center}.progress{position:relative;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;height:.5rem;border-radius:var(--rounded-box, 1rem)}.radio{flex-shrink:0;--chkbg: var(--bc);height:1.5rem;width:1.5rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:9999px;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: .2}.rating{position:relative;display:inline-flex}.rating :where(input){cursor:pointer;border-radius:0;animation:rating-pop var(--animation-input, .25s) ease-out;height:1.5rem;width:1.5rem;background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: 1}.select{display:inline-flex;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:3rem;padding-left:1rem;padding-right:2.5rem;font-size:.875rem;line-height:1.25rem;line-height:2;min-height:3rem;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 0;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));font-weight:600;border-radius:var(--rounded-btn, .5rem);background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 20px) calc(1px + 50%),calc(100% - 16px) calc(1px + 50%);background-size:4px 4px,4px 4px;background-repeat:no-repeat}.select[multiple]{height:auto}.tabs{display:flex;flex-wrap:wrap;align-items:flex-end}.tab{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-wrap:wrap;align-items:center;justify-content:center;text-align:center;height:2rem;font-size:.875rem;line-height:1.25rem;line-height:2;--tab-padding: 1rem;--tw-text-opacity: .5;--tab-color: hsla(var(--bc) / var(--tw-text-opacity, 1));--tab-bg: hsla(var(--b1) / var(--tw-bg-opacity, 1));--tab-border-color: hsla(var(--b3) / var(--tw-bg-opacity, 1));color:var(--tab-color);padding-left:var(--tab-padding, 1rem);padding-right:var(--tab-padding, 1rem)}.table{position:relative;text-align:left}.table th:first-child{position:sticky;left:0;z-index:11}.textarea{flex-shrink:1;min-height:3rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;line-height:2;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 0;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));border-radius:var(--rounded-btn, .5rem)}.avatar-group :where(.avatar){overflow:hidden;border-radius:9999px;border-width:4px;--tw-border-opacity: 1;border-color:hsl(var(--b1) / var(--tw-border-opacity))}.btm-nav>*:where(.active){border-top-width:2px;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity))}.btm-nav>*.disabled,.btm-nav>*.disabled:hover,.btm-nav>*[disabled],.btm-nav>*[disabled]:hover{pointer-events:none;--tw-border-opacity: 0;background-color:hsl(var(--n) / var(--tw-bg-opacity));--tw-bg-opacity: .1;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2}.btm-nav>* .label{font-size:1rem;line-height:1.5rem}.btn:active:hover,.btn:active:focus{animation:none}.btn:not(.no-animation):active:hover,.btn:not(.no-animation):active:focus{transform:scale(var(--btn-focus-scale, .95))}.btn:hover,.btn-active{--tw-border-opacity: 1;border-color:hsl(var(--nf, var(--n)) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--nf, var(--n)) / var(--tw-bg-opacity))}.btn:focus-visible{outline:2px solid hsl(var(--nf));outline-offset:2px}.btn.glass:hover,.btn.glass.btn-active{--glass-opacity: 25%;--glass-border-opacity: 15%}.btn.glass:focus-visible{outline:2px solid currentColor}.btn-disabled,.btn-disabled:hover,.btn[disabled],.btn[disabled]:hover{--tw-border-opacity: 0;background-color:hsl(var(--n) / var(--tw-bg-opacity));--tw-bg-opacity: .2;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2}.btn.loading.btn-square:before,.btn.loading.btn-circle:before{margin-right:0}.btn.loading.btn-xl:before,.btn.loading.btn-lg:before{height:1.25rem;width:1.25rem}.btn.loading.btn-sm:before,.btn.loading.btn-xs:before{height:.75rem;width:.75rem}.btn-group>input[type=radio]:checked.btn,.btn-group>.btn-active{--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--p) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--pc) / var(--tw-text-opacity))}.btn-group>input[type=radio]:checked.btn:focus-visible,.btn-group>.btn-active:focus-visible{outline:2px solid hsl(var(--p))}@keyframes button-pop{0%{transform:scale(var(--btn-focus-scale, .95))}40%{transform:scale(1.02)}to{transform:scale(1)}}.checkbox:focus-visible{outline:2px solid hsl(var(--bc));outline-offset:2px}.checkbox:checked,.checkbox[checked=true],.checkbox[aria-checked=true]{--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));background-repeat:no-repeat;animation:checkmark var(--animation-input, .2s) ease-in-out;background-image:linear-gradient(-45deg,transparent 65%,hsl(var(--chkbg)) 65.99%),linear-gradient(45deg,transparent 75%,hsl(var(--chkbg)) 75.99%),linear-gradient(-45deg,hsl(var(--chkbg)) 40%,transparent 40.99%),linear-gradient(45deg,hsl(var(--chkbg)) 30%,hsl(var(--chkfg)) 30.99%,hsl(var(--chkfg)) 40%,transparent 40.99%),linear-gradient(-45deg,hsl(var(--chkfg)) 50%,hsl(var(--chkbg)) 50.99%)}.checkbox:indeterminate{--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));background-repeat:no-repeat;animation:checkmark var(--animation-input, .2s) ease-in-out;background-image:linear-gradient(90deg,transparent 80%,hsl(var(--chkbg)) 80%),linear-gradient(-90deg,transparent 80%,hsl(var(--chkbg)) 80%),linear-gradient(0deg,hsl(var(--chkbg)) 43%,hsl(var(--chkfg)) 43%,hsl(var(--chkfg)) 57%,hsl(var(--chkbg)) 57%)}.checkbox-accent{--chkbg: var(--a);--chkfg: var(--ac);--tw-border-opacity: 1;border-color:hsl(var(--a) / var(--tw-border-opacity))}.checkbox-accent:hover{--tw-border-opacity: 1;border-color:hsl(var(--a) / var(--tw-border-opacity))}.checkbox-accent:focus-visible{outline:2px solid hsl(var(--a))}.checkbox-accent:checked,.checkbox-accent[checked=true],.checkbox-accent[aria-checked=true]{--tw-border-opacity: 1;border-color:hsl(var(--a) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--a) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--ac) / var(--tw-text-opacity))}.checkbox:disabled{cursor:not-allowed;border-color:transparent;--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));opacity:.2}@keyframes checkmark{0%{background-position-y:5px}50%{background-position-y:-2px}to{background-position-y:0}}[dir=rtl] .checkbox:checked,[dir=rtl] .checkbox[checked=true],[dir=rtl] .checkbox[aria-checked=true]{background-image:linear-gradient(45deg,transparent 65%,hsl(var(--chkbg)) 65.99%),linear-gradient(-45deg,transparent 75%,hsl(var(--chkbg)) 75.99%),linear-gradient(45deg,hsl(var(--chkbg)) 40%,transparent 40.99%),linear-gradient(-45deg,hsl(var(--chkbg)) 30%,hsl(var(--chkfg)) 30.99%,hsl(var(--chkfg)) 40%,transparent 40.99%),linear-gradient(45deg,hsl(var(--chkfg)) 50%,hsl(var(--chkbg)) 50.99%)}.divider:before{background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1}.divider:after{background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1}.divider:not(:empty){gap:1rem}.label-text{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:hsl(var(--bc) / var(--tw-text-opacity))}.label a:hover{--tw-text-opacity: 1;color:hsl(var(--bc) / var(--tw-text-opacity))}.input[list]::-webkit-calendar-picker-indicator{line-height:1em}.input-bordered{--tw-border-opacity: .2}.input:focus{outline:2px solid hsla(var(--bc) / .2);outline-offset:2px}.input-success{--tw-border-opacity: 1;border-color:hsl(var(--su) / var(--tw-border-opacity))}.input-success:focus{outline:2px solid hsl(var(--su))}.input-disabled,.input[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:hsl(var(--b2, var(--b1)) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));--tw-text-opacity: .2}.input-disabled::-moz-placeholder,.input[disabled]::-moz-placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.input-disabled::placeholder,.input[disabled]::placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.link:focus{outline:2px solid transparent;outline-offset:2px}.link:focus-visible{outline:2px solid currentColor;outline-offset:2px}.mask-star-2{-webkit-mask-image:url("data:image/svg+xml,%3csvg width='192' height='180' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m96 153.044-58.779 26.243 7.02-63.513L.894 68.481l63.117-13.01L96 0l31.989 55.472 63.117 13.01-43.347 47.292 7.02 63.513z' fill-rule='evenodd'/%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg width='192' height='180' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m96 153.044-58.779 26.243 7.02-63.513L.894 68.481l63.117-13.01L96 0l31.989 55.472 63.117 13.01-43.347 47.292 7.02 63.513z' fill-rule='evenodd'/%3e%3c/svg%3e")}.menu.horizontal>li.bordered>a,.menu.horizontal>li.bordered>button,.menu.horizontal>li.bordered>span{border-left-width:0px;border-bottom-width:4px;--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity))}.menu[class*=" px-"]:not(.menu[class*=" px-0"]) li>*,.menu[class^=px-]:not(.menu[class^=px-0]) li>*,.menu[class*=" p-"]:not(.menu[class*=" p-0"]) li>*,.menu[class^=p-]:not(.menu[class^=p-0]) li>*{border-radius:var(--rounded-btn, .5rem)}.menu :where(li.bordered>*){border-left-width:4px;--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity))}.menu :where(li)>:where(*:not(ul)){gap:.75rem;padding:.75rem 1rem;color:currentColor}.menu :where(li:not(.menu-title):not(:empty))>:where(*:not(ul):focus),.menu :where(li:not(.menu-title):not(:empty))>:where(*:not(ul):hover){background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1}.menu :where(li:not(.menu-title):not(:empty))>:where(:not(ul).active),.menu :where(li:not(.menu-title):not(:empty))>:where(*:not(ul):active){--tw-bg-opacity: 1;background-color:hsl(var(--p) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--pc) / var(--tw-text-opacity))}.menu :where(li:empty){margin:.5rem 1rem;height:1px;background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1}.menu li.disabled>*{-webkit-user-select:none;-moz-user-select:none;user-select:none;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2}.menu li.disabled>*:hover{background-color:transparent}.menu li.hover-bordered a{border-left-width:4px;border-color:transparent}.menu li.hover-bordered a:hover{--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity))}.menu.compact li>a,.menu.compact li>span{padding-top:.5rem;padding-bottom:.5rem;font-size:.875rem;line-height:1.25rem}.menu .menu-title{font-size:.75rem;line-height:1rem;font-weight:700;opacity:.4}.menu .menu-title>*{padding-top:.25rem;padding-bottom:.25rem}.menu :where(li:not(.disabled))>:where(*:not(ul)){outline:2px solid transparent;outline-offset:2px;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-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.menu>:where(li:first-child){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:unset;border-bottom-left-radius:unset}.menu>:where(li:first-child)>:where(:not(ul)){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:unset;border-bottom-left-radius:unset}.menu>:where(li:last-child){border-top-left-radius:unset;border-top-right-radius:unset;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li:last-child)>:where(:not(ul)){border-top-left-radius:unset;border-top-right-radius:unset;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li:first-child:last-child){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li:first-child:last-child)>:where(:not(ul)){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li)>:where(ul) :where(li){width:100%;white-space:nowrap}.menu>:where(li)>:where(ul) :where(li) :where(ul){padding-left:1rem}.menu>:where(li)>:where(ul) :where(li)>:where(:not(ul)){width:100%;white-space:nowrap}.menu>:where(li)>:where(ul)>:where(li:first-child){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:unset;border-bottom-left-radius:unset}.menu>:where(li)>:where(ul)>:where(li:first-child)>:where(:not(ul)){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:unset;border-bottom-left-radius:unset}.menu>:where(li)>:where(ul)>:where(li:last-child){border-top-left-radius:unset;border-top-right-radius:unset;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li)>:where(ul)>:where(li:last-child)>:where(:not(ul)){border-top-left-radius:unset;border-top-right-radius:unset;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li)>:where(ul)>:where(li:first-child:last-child){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li)>:where(ul)>:where(li:first-child:last-child)>:where(:not(ul)){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.mockup-phone .display{overflow:hidden;border-radius:40px;margin-top:-25px}.modal-open .modal-box,.modal-toggle:checked+.modal .modal-box,.modal:target .modal-box{--tw-translate-y: 0px;--tw-scale-x: 1;--tw-scale-y: 1;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))}.modal-action>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.progress::-moz-progress-bar{--tw-bg-opacity: 1;background-color:hsl(var(--n) / var(--tw-bg-opacity))}.progress:indeterminate:after{--tw-bg-opacity: 1;background-color:hsl(var(--n) / var(--tw-bg-opacity));content:"";position:absolute;top:0;bottom:0;left:-40%;width:33.333333%;border-radius:var(--rounded-box, 1rem);animation:progress-loading 5s infinite ease-in-out}.progress::-webkit-progress-bar{background-color:hsl(var(--n) / var(--tw-bg-opacity));--tw-bg-opacity: .2;border-radius:var(--rounded-box, 1rem)}.progress::-webkit-progress-value{--tw-bg-opacity: 1;background-color:hsl(var(--nf, var(--n)) / var(--tw-bg-opacity));border-radius:var(--rounded-box, 1rem)}@keyframes progress-loading{50%{left:107%}}.radio:focus-visible{outline:2px solid hsl(var(--bc));outline-offset:2px}.radio:checked,.radio[aria-checked=true]{--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));animation:radiomark var(--animation-input, .2s) ease-in-out;box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset}.radio:disabled{cursor:not-allowed;opacity:.2}@keyframes radiomark{0%{box-shadow:0 0 0 12px hsl(var(--b1)) inset,0 0 0 12px hsl(var(--b1)) inset}50%{box-shadow:0 0 0 3px hsl(var(--b1)) inset,0 0 0 3px hsl(var(--b1)) inset}to{box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset}}.rating input{-moz-appearance:none;appearance:none;-webkit-appearance:none}.rating .rating-hidden{width:.5rem;background-color:transparent}.rating input:checked~input,.rating input[aria-checked=true]~input{--tw-bg-opacity: .2}.rating input:focus-visible{transition-property:transform;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);transform:translateY(-.125em)}.rating input:active:focus{animation:none;transform:translateY(-.125em)}@keyframes rating-pop{0%{transform:translateY(-.125em)}40%{transform:translateY(-.125em)}to{transform:translateY(0)}}.select:focus{outline:2px solid hsla(var(--bc) / .2);outline-offset:2px}.select-success{--tw-border-opacity: 1;border-color:hsl(var(--su) / var(--tw-border-opacity))}.select-success:focus{outline:2px solid hsl(var(--su))}.select-disabled,.select[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:hsl(var(--b2, var(--b1)) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));--tw-text-opacity: .2}.select-disabled::-moz-placeholder,.select[disabled]::-moz-placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.select-disabled::placeholder,.select[disabled]::placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.select-multiple,.select[multiple],.select[size].select:not([size="1"]){background-image:none;padding-right:1rem}[dir=rtl] .select{background-position:calc(0% + 12px) calc(1px + 50%),calc(0% + 16px) calc(1px + 50%)}.tab:hover{--tw-text-opacity: 1}.tab.tab-active:not(.tab-disabled):not([disabled]){border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 1;--tw-text-opacity: 1}.tab:focus{outline:2px solid transparent;outline-offset:2px}.tab:focus-visible{outline:2px solid currentColor;outline-offset:-3px}.tab:focus-visible.tab-lifted{border-bottom-right-radius:var(--tab-radius, .5rem);border-bottom-left-radius:var(--tab-radius, .5rem)}.tab-disabled,.tab-disabled:hover,.tab[disabled],.tab[disabled]:hover{cursor:not-allowed;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2}.tabs-boxed .tab{border-radius:var(--rounded-btn, .5rem)}.table :where(th,td){white-space:nowrap;padding:1rem;vertical-align:middle}.table tr.active th,.table tr.active td,.table tr.active:nth-child(2n) th,.table tr.active:nth-child(2n) td{--tw-bg-opacity: 1;background-color:hsl(var(--b3, var(--b2)) / var(--tw-bg-opacity))}.table tr.hover:hover th,.table tr.hover:hover td,.table tr.hover:nth-child(2n):hover th,.table tr.hover:nth-child(2n):hover td{--tw-bg-opacity: 1;background-color:hsl(var(--b3, var(--b2)) / var(--tw-bg-opacity))}.table:where(:not(.table-zebra)) :where(thead,tbody,tfoot) :where(tr:not(:last-child) :where(th,td)){border-bottom-width:1px;--tw-border-opacity: 1;border-color:hsl(var(--b2, var(--b1)) / var(--tw-border-opacity))}.table :where(thead,tfoot) :where(th,td){--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));font-size:.75rem;line-height:1rem;font-weight:700;text-transform:uppercase}.table :where(tbody th,tbody td){--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity))}:where(.table *:first-child) :where(*:first-child) :where(th,td):first-child{border-top-left-radius:var(--rounded-box, 1rem)}:where(.table *:first-child) :where(*:first-child) :where(th,td):last-child{border-top-right-radius:var(--rounded-box, 1rem)}:where(.table *:last-child) :where(*:last-child) :where(th,td):first-child{border-bottom-left-radius:var(--rounded-box, 1rem)}:where(.table *:last-child) :where(*:last-child) :where(th,td):last-child{border-bottom-right-radius:var(--rounded-box, 1rem)}.textarea:focus{outline:2px solid hsla(var(--bc) / .2);outline-offset:2px}.textarea-success{--tw-border-opacity: 1;border-color:hsl(var(--su) / var(--tw-border-opacity))}.textarea-success:focus{outline:2px solid hsl(var(--su))}.textarea-disabled,.textarea[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:hsl(var(--b2, var(--b1)) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));--tw-text-opacity: .2}.textarea-disabled::-moz-placeholder,.textarea[disabled]::-moz-placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.textarea-disabled::placeholder,.textarea[disabled]::placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}@keyframes toast-pop{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}.btm-nav-xs>*:where(.active){border-top-width:1px}.btm-nav-sm>*:where(.active){border-top-width:2px}.btm-nav-md>*:where(.active){border-top-width:2px}.btm-nav-lg>*:where(.active){border-top-width:4px}.btn-sm{height:2rem;padding-left:.75rem;padding-right:.75rem;min-height:2rem;font-size:.875rem}.btn-wide{width:16rem}.btn-square:where(.btn-sm){height:2rem;width:2rem;padding:0}.btn-circle:where(.btn-xs){height:1.5rem;width:1.5rem;border-radius:9999px;padding:0}.btn-circle:where(.btn-sm){height:2rem;width:2rem;border-radius:9999px;padding:0}.btn-circle:where(.btn-md){height:3rem;width:3rem;border-radius:9999px;padding:0}.btn-circle:where(.btn-lg){height:4rem;width:4rem;border-radius:9999px;padding:0}.divider-horizontal{flex-direction:column}.divider-horizontal:before{height:100%;width:.125rem}.divider-horizontal:after{height:100%;width:.125rem}.input-md{height:3rem;padding-left:1rem;padding-right:1rem;font-size:.875rem;line-height:1.25rem;line-height:2}.menu-horizontal{display:inline-flex;width:-moz-max-content;width:max-content;flex-direction:row}.menu-horizontal :where(li){flex-direction:row}.menu-horizontal>:where(li)>:where(ul){top:100%;left:initial}.modal-bottom{align-items:flex-end}.avatar.online:before{content:"";position:absolute;z-index:10;display:block;border-radius:9999px;--tw-bg-opacity: 1;background-color:hsl(var(--su) / var(--tw-bg-opacity));width:15%;height:15%;top:7%;right:7%;box-shadow:0 0 0 2px hsl(var(--b1))}.avatar.offline:before{content:"";position:absolute;z-index:10;display:block;border-radius:9999px;--tw-bg-opacity: 1;background-color:hsl(var(--b3, var(--b2)) / var(--tw-bg-opacity));width:15%;height:15%;top:7%;right:7%;box-shadow:0 0 0 2px hsl(var(--b1))}.btn-group .btn:not(:first-child):not(:last-child){border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:0;border-end-end-radius:0}.btn-group .btn:first-child:not(:last-child){margin-top:-0px;margin-left:-1px;border-start-start-radius:var(--rounded-btn, .5rem);border-start-end-radius:0;border-end-start-radius:var(--rounded-btn, .5rem);border-end-end-radius:0}.btn-group .btn:last-child:not(:first-child){border-start-start-radius:0;border-start-end-radius:var(--rounded-btn, .5rem);border-end-start-radius:0;border-end-end-radius:var(--rounded-btn, .5rem)}.btn-group-horizontal .btn:not(:first-child):not(:last-child){border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:0;border-end-end-radius:0}.btn-group-horizontal .btn:first-child:not(:last-child){margin-top:-0px;margin-left:-1px;border-start-start-radius:var(--rounded-btn, .5rem);border-start-end-radius:0;border-end-start-radius:var(--rounded-btn, .5rem);border-end-end-radius:0}.btn-group-horizontal .btn:last-child:not(:first-child){border-start-start-radius:0;border-start-end-radius:var(--rounded-btn, .5rem);border-end-start-radius:0;border-end-end-radius:var(--rounded-btn, .5rem)}.btn-group-vertical .btn:first-child:not(:last-child){margin-top:-1px;margin-left:-0px;border-start-start-radius:var(--rounded-btn, .5rem);border-start-end-radius:var(--rounded-btn, .5rem);border-end-start-radius:0;border-end-end-radius:0}.btn-group-vertical .btn:last-child:not(:first-child){border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:var(--rounded-btn, .5rem);border-end-end-radius:var(--rounded-btn, .5rem)}.divider-horizontal{margin-top:0;margin-bottom:0;margin-left:1rem;margin-right:1rem;height:auto;width:1rem}.menu-horizontal :where(li.bordered>*){border-left-width:0px;border-bottom-width:4px}.menu-horizontal>:where(li:first-child){border-top-left-radius:inherit;border-top-right-radius:unset;border-bottom-right-radius:unset;border-bottom-left-radius:inherit}.menu-horizontal>:where(li:first-child)>:where(*:not(ul)){border-top-left-radius:inherit;border-top-right-radius:unset;border-bottom-right-radius:unset;border-bottom-left-radius:inherit}.menu-horizontal>:where(li:last-child){border-top-left-radius:unset;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:unset}.menu-horizontal>:where(li:last-child)>:where(*:not(ul)){border-top-left-radius:unset;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:unset}.modal-bottom :where(.modal-box){width:100%;max-width:none;--tw-translate-y: 2.5rem;--tw-scale-x: 1;--tw-scale-y: 1;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));border-bottom-right-radius:0;border-bottom-left-radius:0}.modal-middle :where(.modal-box){width:91.666667%;max-width:32rem;--tw-translate-y: 0px;--tw-scale-x: .9;--tw-scale-y: .9;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));border-bottom-left-radius:var(--rounded-box, 1rem);border-bottom-right-radius:var(--rounded-box, 1rem)}a{cursor:pointer}.homepage{margin-left:auto;margin-right:auto;display:flex;width:100%;flex-direction:column;align-items:center;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.nav-link{font-size:.75rem;line-height:1rem}.nav-link:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.nav-link:active{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.primary-button{position:relative;height:2.5rem;min-height:2rem;width:100%;overflow:hidden;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(38 50 56 / var(--tw-bg-opacity));font-size:.75rem;line-height:1rem;text-transform:capitalize;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.primary-button:hover{background-color:#26323880}:is(:where(.dark) .primary-button){--tw-bg-opacity: 1;background-color:rgb(17 217 197 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(38 50 56 / var(--tw-text-opacity))}:is(:where(.dark) .primary-button:hover){background-color:#11d9c580}.secondary-button{height:2.5rem;min-height:2rem;width:100%;border-radius:9999px;--tw-border-opacity: 1;border-color:rgb(38 50 56 / var(--tw-border-opacity));background-color:transparent;font-size:.75rem;line-height:1rem;text-transform:capitalize;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(:where(.dark) .secondary-button){--tw-border-opacity: 1;border-color:rgb(17 217 197 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(17 217 197 / var(--tw-text-opacity))}.primary-input{padding-left:1rem;padding-right:1rem;line-height:2;height:2.5rem;width:100%;max-width:20rem;border-radius:9999px;--tw-border-opacity: 1;border-color:rgb(38 50 56 / var(--tw-border-opacity));background-color:transparent;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(38 50 56 / var(--tw-text-opacity))}:is(:where(.dark) .primary-input){--tw-border-opacity: 1;border-color:rgb(17 217 197 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.secondary-input{width:100%;border-radius:0;border-bottom-width:1px;--tw-border-opacity: 1;border-bottom-color:rgb(0 0 0 / var(--tw-border-opacity));background-color:transparent;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}:is(:where(.dark) .secondary-input){--tw-border-opacity: 1;border-bottom-color:rgb(17 217 197 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.reviews{height:-moz-fit-content;height:fit-content;border-radius:.75rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:1rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity));--tw-shadow: 0px 3px 10px 0px rgba(0,0,0,.25);--tw-shadow-colored: 0px 3px 10px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(:where(.dark) .reviews){--tw-bg-opacity: 1;background-color:rgb(34 41 68 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: hsl(var(--a));--tw-shadow: var(--tw-shadow-colored)}.tab{display:flex;width:100%;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;border-radius:.375rem;border-width:0px;background-color:transparent;padding:10px;text-align:center;font-size:.75rem;line-height:1rem;font-weight:700;text-transform:capitalize;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(:where(.dark) .tab){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.tab{font-family:inherit}.tab.active{--tw-bg-opacity: 1;background-color:rgb(38 50 56 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(:where(.dark) .tab.active){--tw-bg-opacity: 1;background-color:rgb(17 217 197 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.tab-content{display:none}.tab-content.show{display:block}.select{min-height:2.5rem;font-size:.75rem;line-height:1rem;font-weight:400;--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}option{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(:where(.dark) option){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.-left-10{left:-2.5rem}.right-0{right:0}.right-2{right:.5rem}.top-0{top:0}.top-2{top:.5rem}.z-10{z-index:10}.z-50{z-index:50}.mx-0{margin-left:0;margin-right:0}.mx-0\.5{margin-left:.125rem;margin-right:.125rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-28{margin-left:7rem;margin-right:7rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.my-8{margin-top:2rem;margin-bottom:2rem}.my-auto{margin-top:auto;margin-bottom:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-48{margin-bottom:12rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-24{margin-left:6rem}.mr-0{margin-right:0}.mr-0\.5{margin-right:.125rem}.mr-5{margin-right:1.25rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-24{margin-top:6rem}.mt-28{margin-top:7rem}.mt-3{margin-top:.75rem}.mt-32{margin-top:8rem}.mt-4{margin-top:1rem}.mt-40{margin-top:10rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.flex{display:flex}.table{display:table}.grid{display:grid}.contents{display:contents}.h-12{height:3rem}.h-2{height:.5rem}.h-20{height:5rem}.h-32{height:8rem}.h-44{height:11rem}.h-8{height:2rem}.h-\[460px\]{height:460px}.h-\[600px\]{height:600px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.w-11\/12{width:91.666667%}.w-2\/5{width:40%}.w-20{width:5rem}.w-28{width:7rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4\/5{width:80%}.w-auto{width:auto}.w-full{width:100%}.w-screen{width:100vw}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-grow{flex-grow:1}.basis-1\/4{flex-basis:25%}.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))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.content-around{align-content:space-around}.items-start{align-items:flex-start}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.gap-1{gap:.25rem}.gap-12{gap:3rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-y-4{row-gap:1rem}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-t-2{border-top-width:2px}.border-\[\#11D9C5\],.border-\[\#11d9c5\]{--tw-border-opacity: 1;border-color:rgb(17 217 197 / var(--tw-border-opacity))}.border-\[\#263238\]{--tw-border-opacity: 1;border-color:rgb(38 50 56 / var(--tw-border-opacity))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-b-black{--tw-border-opacity: 1;border-bottom-color:rgb(0 0 0 / var(--tw-border-opacity))}.bg-\[\#11D9C5\]{--tw-bg-opacity: 1;background-color:rgb(17 217 197 / var(--tw-bg-opacity))}.bg-\[\#FFFFFF0D\]{background-color:#ffffff0d}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-zinc-200{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.fill-\[\#222944\]{fill:#222944}.fill-\[\#263238\]{fill:#263238}.stroke-\[\#263238\]{stroke:#263238}.stroke-black{stroke:#000}.object-center{-o-object-position:center;object-position:center}.p-0{padding:0}.p-1{padding:.25rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:.5rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.align-bottom{vertical-align:bottom}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.text-\[\#11D9C5\]{--tw-text-opacity: 1;color:rgb(17 217 197 / var(--tw-text-opacity))}.text-\[\#263238\]{--tw-text-opacity: 1;color:rgb(38 50 56 / var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-lime-700{--tw-text-opacity: 1;color:rgb(77 124 15 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.no-underline{text-decoration-line:none}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.drop-shadow-lg{--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));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)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));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)}.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)}@media (min-width: 640px){.sm\:modal-middle{align-items:center}.sm\:modal-middle :where(.modal-box){width:91.666667%;max-width:32rem;--tw-translate-y: 0px;--tw-scale-x: .9;--tw-scale-y: .9;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));border-bottom-left-radius:var(--rounded-box, 1rem);border-bottom-right-radius:var(--rounded-box, 1rem)}}.hover\:bg-\[\#11d9c5\]\/50:hover{background-color:#11d9c580}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-slate-200:hover{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.hover\:text-black:hover{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.hover\:text-gray-200:hover{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.active\:bg-gray-200:active{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.active\:bg-gray-700:active{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.active\:bg-slate-500:active{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}:is(:where(.dark) .dark\:border-\[\#11D9C5\]){--tw-border-opacity: 1;border-color:rgb(17 217 197 / var(--tw-border-opacity))}:is(:where(.dark) .dark\:border-zinc-600){--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity))}:is(:where(.dark) .dark\:border-b-\[\#11D9C5\]){--tw-border-opacity: 1;border-bottom-color:rgb(17 217 197 / var(--tw-border-opacity))}:is(:where(.dark) .dark\:bg-\[\#11D9C5\]){--tw-bg-opacity: 1;background-color:rgb(17 217 197 / var(--tw-bg-opacity))}:is(:where(.dark) .dark\:bg-\[\#171C2F\]){--tw-bg-opacity: 1;background-color:rgb(23 28 47 / var(--tw-bg-opacity))}:is(:where(.dark) .dark\:bg-\[\#222944\]){--tw-bg-opacity: 1;background-color:rgb(34 41 68 / var(--tw-bg-opacity))}:is(:where(.dark) .dark\:bg-gray-300){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(:where(.dark) .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(:where(.dark) .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(:where(.dark) .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(:where(.dark) .dark\:bg-transparent){background-color:transparent}:is(:where(.dark) .dark\:fill-\[\#11D9C5\]){fill:#11d9c5}:is(:where(.dark) .dark\:stroke-\[\#11D9C5\]){stroke:#11d9c5}:is(:where(.dark) .dark\:stroke-white){stroke:#fff}:is(:where(.dark) .dark\:text-\[\#11D9C5\]){--tw-text-opacity: 1;color:rgb(17 217 197 / var(--tw-text-opacity))}:is(:where(.dark) .dark\:text-black){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(:where(.dark) .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(:where(.dark) .dark\:text-green-100){--tw-text-opacity: 1;color:rgb(220 252 231 / var(--tw-text-opacity))}:is(:where(.dark) .dark\:text-green-300){--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity))}:is(:where(.dark) .dark\:text-red-300){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}:is(:where(.dark) .dark\:text-red-500){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}:is(:where(.dark) .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(:where(.dark) .dark\:shadow-none){--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(:where(.dark) .dark\:shadow-white\/5){--tw-shadow-color: rgb(255 255 255 / .05);--tw-shadow: var(--tw-shadow-colored)}:is(:where(.dark) .dark\:drop-shadow-none){--tw-drop-shadow: drop-shadow(0 0 #0000);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)} diff --git a/build/app/immutable/assets/0.678956fe.css b/build/app/immutable/assets/0.678956fe.css deleted file mode 100644 index c628a2995..000000000 --- a/build/app/immutable/assets/0.678956fe.css +++ /dev/null @@ -1 +0,0 @@ -*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{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,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}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-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;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[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}:root,[data-theme]{background-color:hsla(var(--b1) / var(--tw-bg-opacity, 1));color:hsla(var(--bc) / var(--tw-text-opacity, 1))}html{-webkit-tap-highlight-color:transparent}:root{color-scheme:light;--pf: 258.89 94.378% 40.941%;--sf: 314 100% 37.647%;--af: 174 60% 40.784%;--nf: 219 14.085% 22.275%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 258.89 94.378% 51.176%;--pc: 0 0% 100%;--s: 314 100% 47.059%;--sc: 0 0% 100%;--a: 174 60% 50.98%;--ac: 174.71 43.59% 15.294%;--n: 219 14.085% 27.843%;--nc: 0 0% 100%;--b1: 0 0% 100%;--b2: 0 0% 94.902%;--b3: 180 1.9608% 90%;--bc: 215 27.907% 16.863%}@media (prefers-color-scheme: dark){:root{color-scheme:dark;--pf: 262.35 80.315% 40.157%;--sf: 315.75 70.196% 40%;--af: 174.69 70.335% 32.784%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 262.35 80.315% 50.196%;--pc: 0 0% 100%;--s: 315.75 70.196% 50%;--sc: 0 0% 100%;--a: 174.69 70.335% 40.98%;--ac: 0 0% 100%;--n: 218.18 18.033% 11.961%;--nf: 222.86 17.073% 8.0392%;--nc: 220 13.376% 69.216%;--b1: 220 17.647% 20%;--b2: 220 17.241% 17.059%;--b3: 218.57 17.949% 15.294%;--bc: 220 13.376% 69.216%}}[data-theme=light]{color-scheme:light;--pf: 258.89 94.378% 40.941%;--sf: 314 100% 37.647%;--af: 174 60% 40.784%;--nf: 219 14.085% 22.275%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 258.89 94.378% 51.176%;--pc: 0 0% 100%;--s: 314 100% 47.059%;--sc: 0 0% 100%;--a: 174 60% 50.98%;--ac: 174.71 43.59% 15.294%;--n: 219 14.085% 27.843%;--nc: 0 0% 100%;--b1: 0 0% 100%;--b2: 0 0% 94.902%;--b3: 180 1.9608% 90%;--bc: 215 27.907% 16.863%}[data-theme=dark]{color-scheme:dark;--pf: 262.35 80.315% 40.157%;--sf: 315.75 70.196% 40%;--af: 174.69 70.335% 32.784%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 262.35 80.315% 50.196%;--pc: 0 0% 100%;--s: 315.75 70.196% 50%;--sc: 0 0% 100%;--a: 174.69 70.335% 40.98%;--ac: 0 0% 100%;--n: 218.18 18.033% 11.961%;--nf: 222.86 17.073% 8.0392%;--nc: 220 13.376% 69.216%;--b1: 220 17.647% 20%;--b2: 220 17.241% 17.059%;--b3: 218.57 17.949% 15.294%;--bc: 220 13.376% 69.216%}[data-theme=cupcake]{color-scheme:light;--pf: 183.03 47.368% 47.216%;--sf: 338.25 71.429% 62.431%;--af: 39 84.112% 46.431%;--nf: 280 46.479% 11.137%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 183.03 100% 11.804%;--sc: 338.25 100% 15.608%;--ac: 39 100% 11.608%;--nc: 280 82.688% 82.784%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--p: 183.03 47.368% 59.02%;--s: 338.25 71.429% 78.039%;--a: 39 84.112% 58.039%;--n: 280 46.479% 13.922%;--b1: 24 33.333% 97.059%;--b2: 26.667 21.951% 91.961%;--b3: 22.5 14.286% 89.02%;--bc: 280 46.479% 13.922%;--rounded-btn: 1.9rem;--tab-border: 2px;--tab-radius: .5rem}[data-theme=bumblebee]{color-scheme:light;--pf: 41.124 74.167% 42.353%;--sf: 49.901 94.393% 46.431%;--af: 240 33.333% 11.294%;--nf: 240 33.333% 11.294%;--b2: 0 0% 90%;--b3: 0 0% 81%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--bc: 0 0% 20%;--ac: 240 60.274% 82.824%;--nc: 240 60.274% 82.824%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 41.124 74.167% 52.941%;--pc: 240 33.333% 14.118%;--s: 49.901 94.393% 58.039%;--sc: 240 33.333% 14.118%;--a: 240 33.333% 14.118%;--n: 240 33.333% 14.118%;--b1: 0 0% 100%}[data-theme=emerald]{color-scheme:light;--pf: 141.18 50% 48%;--sf: 218.88 96.078% 48%;--af: 9.8901 81.25% 44.863%;--nf: 219.23 20.312% 20.078%;--b2: 0 0% 90%;--b3: 0 0% 81%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--btn-text-case: uppercase;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 141.18 50% 60%;--pc: 151.11 28.421% 18.627%;--s: 218.88 96.078% 60%;--sc: 210 20% 98.039%;--a: 9.8901 81.25% 56.078%;--ac: 210 20% 98.039%;--n: 219.23 20.312% 25.098%;--nc: 210 20% 98.039%;--b1: 0 0% 100%;--bc: 219.23 20.312% 25.098%;--animation-btn: 0;--animation-input: 0;--btn-focus-scale: 1}[data-theme=corporate]{color-scheme:light;--pf: 229.09 95.652% 51.137%;--sf: 214.91 26.316% 47.216%;--af: 154.2 49.02% 48%;--nf: 233.33 27.273% 10.353%;--b2: 0 0% 90%;--b3: 0 0% 81%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 229.09 100% 92.784%;--sc: 214.91 100% 11.804%;--ac: 154.2 100% 12%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--btn-text-case: uppercase;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 229.09 95.652% 63.922%;--s: 214.91 26.316% 59.02%;--a: 154.2 49.02% 60%;--n: 233.33 27.273% 12.941%;--nc: 210 38.462% 94.902%;--b1: 0 0% 100%;--bc: 233.33 27.273% 12.941%;--rounded-box: .25rem;--rounded-btn: .125rem;--rounded-badge: .125rem;--animation-btn: 0;--animation-input: 0;--btn-focus-scale: 1}[data-theme=synthwave]{color-scheme:dark;--pf: 320.73 69.62% 55.216%;--sf: 197.03 86.592% 51.922%;--af: 48 89.041% 45.647%;--nf: 253.22 60.825% 15.216%;--b2: 253.85 59.091% 23.294%;--b3: 253.85 59.091% 20.965%;--pc: 320.73 100% 13.804%;--sc: 197.03 100% 12.98%;--ac: 48 100% 11.412%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 320.73 69.62% 69.02%;--s: 197.03 86.592% 64.902%;--a: 48 89.041% 57.059%;--n: 253.22 60.825% 19.02%;--nc: 260 60% 98.039%;--b1: 253.85 59.091% 25.882%;--bc: 260 60% 98.039%;--in: 199.13 86.957% 63.922%;--inc: 257.45 63.218% 17.059%;--su: 168.1 74.233% 68.039%;--suc: 257.45 63.218% 17.059%;--wa: 48 89.041% 57.059%;--wac: 257.45 63.218% 17.059%;--er: 351.85 73.636% 56.863%;--erc: 260 60% 98.039%}[data-theme=retro]{color-scheme:light;--pf: 2.6667 73.77% 60.863%;--sf: 144.62 27.273% 57.569%;--af: 49.024 67.213% 60.863%;--nf: 41.667 16.822% 33.569%;--inc: 221.21 100% 90.667%;--suc: 142.13 100% 87.255%;--wac: 32.133 100% 8.7451%;--erc: 0 100% 90.118%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 2.6667 73.77% 76.078%;--pc: 345 5.2632% 14.902%;--s: 144.62 27.273% 71.961%;--sc: 345 5.2632% 14.902%;--a: 49.024 67.213% 76.078%;--ac: 345 5.2632% 14.902%;--n: 41.667 16.822% 41.961%;--nc: 45 47.059% 80%;--b1: 45 47.059% 80%;--b2: 45.283 37.063% 71.961%;--b3: 42.188 35.955% 65.098%;--bc: 345 5.2632% 14.902%;--in: 221.21 83.193% 53.333%;--su: 142.13 76.216% 36.275%;--wa: 32.133 94.619% 43.725%;--er: 0 72.222% 50.588%;--rounded-box: .4rem;--rounded-btn: .4rem;--rounded-badge: .4rem}[data-theme=cyberpunk]{color-scheme:light;--pf: 344.78 100% 58.353%;--sf: 195.12 80.392% 56%;--af: 276 74.324% 56.784%;--nf: 57.273 100% 10.353%;--b2: 56 100% 45%;--b3: 56 100% 40.5%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--bc: 56 100% 10%;--pc: 344.78 100% 14.588%;--sc: 195.12 100% 14%;--ac: 276 100% 14.196%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;--p: 344.78 100% 72.941%;--s: 195.12 80.392% 70%;--a: 276 74.324% 70.98%;--n: 57.273 100% 12.941%;--nc: 56 100% 50%;--b1: 56 100% 50%;--rounded-box: 0;--rounded-btn: 0;--rounded-badge: 0;--tab-radius: 0}[data-theme=valentine]{color-scheme:light;--pf: 353.23 73.81% 53.647%;--sf: 254.12 86.441% 61.49%;--af: 181.41 55.556% 56%;--nf: 336 42.857% 38.431%;--b2: 318.46 46.429% 80.118%;--b3: 318.46 46.429% 72.106%;--pc: 353.23 100% 13.412%;--sc: 254.12 100% 15.373%;--ac: 181.41 100% 14%;--inc: 221.21 100% 90.667%;--suc: 142.13 100% 87.255%;--wac: 32.133 100% 8.7451%;--erc: 0 100% 90.118%;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 353.23 73.81% 67.059%;--s: 254.12 86.441% 76.863%;--a: 181.41 55.556% 70%;--n: 336 42.857% 48.039%;--nc: 318.46 46.429% 89.02%;--b1: 318.46 46.429% 89.02%;--bc: 343.64 38.462% 28.039%;--in: 221.21 83.193% 53.333%;--su: 142.13 76.216% 36.275%;--wa: 32.133 94.619% 43.725%;--er: 0 72.222% 50.588%;--rounded-btn: 1.9rem}[data-theme=halloween]{color-scheme:dark;--pf: 31.927 89.344% 41.725%;--sf: 271.22 45.794% 33.569%;--af: 91.071 100% 26.353%;--nf: 180 3.5714% 8.7843%;--b2: 0 0% 11.647%;--b3: 0 0% 10.482%;--bc: 0 0% 82.588%;--sc: 271.22 100% 88.392%;--ac: 91.071 100% 6.5882%;--nc: 180 4.8458% 82.196%;--inc: 221.21 100% 90.667%;--suc: 142.13 100% 87.255%;--wac: 32.133 100% 8.7451%;--erc: 0 100% 90.118%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 31.927 89.344% 52.157%;--pc: 180 7.3171% 8.0392%;--s: 271.22 45.794% 41.961%;--a: 91.071 100% 32.941%;--n: 180 3.5714% 10.98%;--b1: 0 0% 12.941%;--in: 221.21 83.193% 53.333%;--su: 142.13 76.216% 36.275%;--wa: 32.133 94.619% 43.725%;--er: 0 72.222% 50.588%}[data-theme=garden]{color-scheme:light;--pf: 138.86 15.982% 34.353%;--sf: 96.923 37.143% 74.51%;--af: 0 67.742% 75.137%;--nf: 0 3.9106% 28.078%;--b2: 0 4.3478% 81.882%;--b3: 0 4.3478% 73.694%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 138.86 100% 88.588%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 138.86 15.982% 42.941%;--s: 96.923 37.143% 93.137%;--sc: 96 32.468% 15.098%;--a: 0 67.742% 93.922%;--ac: 0 21.951% 16.078%;--n: 0 3.9106% 35.098%;--nc: 0 4.3478% 90.98%;--b1: 0 4.3478% 90.98%;--bc: 0 3.2258% 6.0784%}[data-theme=forest]{color-scheme:dark;--pf: 141.04 71.963% 33.569%;--sf: 140.98 74.694% 38.431%;--af: 35.148 68.98% 41.569%;--nf: 0 9.6774% 4.8627%;--b2: 0 12.195% 7.2353%;--b3: 0 12.195% 6.5118%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--bc: 0 11.727% 81.608%;--sc: 140.98 100% 9.6078%;--ac: 35.148 100% 10.392%;--nc: 0 6.8894% 81.216%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 141.04 71.963% 41.961%;--pc: 140.66 100% 88.039%;--s: 140.98 74.694% 48.039%;--a: 35.148 68.98% 51.961%;--n: 0 9.6774% 6.0784%;--b1: 0 12.195% 8.0392%;--rounded-btn: 1.9rem}[data-theme=aqua]{color-scheme:dark;--pf: 181.79 92.857% 39.529%;--sf: 274.41 30.909% 45.49%;--af: 47.059 100% 64%;--nf: 205.4 53.725% 40%;--b2: 218.61 52.511% 38.647%;--b3: 218.61 52.511% 34.782%;--bc: 218.61 100% 88.588%;--sc: 274.41 100% 91.373%;--ac: 47.059 100% 16%;--nc: 205.4 100% 90%;--inc: 221.21 100% 90.667%;--suc: 142.13 100% 87.255%;--wac: 32.133 100% 8.7451%;--erc: 0 100% 90.118%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 181.79 92.857% 49.412%;--pc: 181.41 100% 16.667%;--s: 274.41 30.909% 56.863%;--a: 47.059 100% 80%;--n: 205.4 53.725% 50%;--b1: 218.61 52.511% 42.941%;--in: 221.21 83.193% 53.333%;--su: 142.13 76.216% 36.275%;--wa: 32.133 94.619% 43.725%;--er: 0 72.222% 50.588%}[data-theme=lofi]{color-scheme:light;--pf: 0 0% 4.0784%;--sf: 0 1.9608% 8%;--af: 0 0% 11.922%;--nf: 0 0% 0%;--btn-text-case: uppercase;--border-btn: 1px;--tab-border: 1px;--p: 0 0% 5.098%;--pc: 0 0% 100%;--s: 0 1.9608% 10%;--sc: 0 0% 100%;--a: 0 0% 14.902%;--ac: 0 0% 100%;--n: 0 0% 0%;--nc: 0 0% 100%;--b1: 0 0% 100%;--b2: 0 0% 94.902%;--b3: 0 1.9608% 90%;--bc: 0 0% 0%;--in: 212.35 100% 47.647%;--inc: 0 0% 100%;--su: 136.84 72.152% 46.471%;--suc: 0 0% 100%;--wa: 4.5614 100% 66.471%;--wac: 0 0% 100%;--er: 325.05 77.6% 49.02%;--erc: 0 0% 100%;--rounded-box: .25rem;--rounded-btn: .125rem;--rounded-badge: .125rem;--animation-btn: 0;--animation-input: 0;--btn-focus-scale: 1;--tab-radius: 0}[data-theme=pastel]{color-scheme:light;--pf: 283.64 21.569% 64%;--sf: 351.63 70.492% 70.431%;--af: 158.49 54.639% 64.784%;--nf: 198.62 43.719% 48.784%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--bc: 0 0% 20%;--pc: 283.64 59.314% 16%;--sc: 351.63 100% 17.608%;--ac: 158.49 100% 16.196%;--nc: 198.62 100% 12.196%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 283.64 21.569% 80%;--s: 351.63 70.492% 88.039%;--a: 158.49 54.639% 80.98%;--n: 198.62 43.719% 60.98%;--b1: 0 0% 100%;--b2: 210 20% 98.039%;--b3: 216 12.195% 83.922%;--rounded-btn: 1.9rem}[data-theme=fantasy]{color-scheme:light;--pf: 296.04 82.813% 20.078%;--sf: 200 100% 29.647%;--af: 30.894 94.378% 40.941%;--nf: 215 27.907% 13.49%;--b2: 0 0% 90%;--b3: 0 0% 81%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 296.04 100% 85.02%;--sc: 200 100% 87.412%;--ac: 30.894 100% 10.235%;--nc: 215 62.264% 83.373%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 296.04 82.813% 25.098%;--s: 200 100% 37.059%;--a: 30.894 94.378% 51.176%;--n: 215 27.907% 16.863%;--b1: 0 0% 100%;--bc: 215 27.907% 16.863%}[data-theme=wireframe]{color-scheme:light;--pf: 0 0% 57.725%;--sf: 0 0% 57.725%;--af: 0 0% 57.725%;--nf: 0 0% 73.725%;--bc: 0 0% 20%;--pc: 0 0% 14.431%;--sc: 0 0% 14.431%;--ac: 0 0% 14.431%;--nc: 0 0% 18.431%;--inc: 240 100% 90%;--suc: 120 100% 85.02%;--wac: 60 100% 10%;--erc: 0 100% 90%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;font-family:Chalkboard,comic sans ms,sanssecondaryerif;--p: 0 0% 72.157%;--s: 0 0% 72.157%;--a: 0 0% 72.157%;--n: 0 0% 92.157%;--b1: 0 0% 100%;--b2: 0 0% 93.333%;--b3: 0 0% 86.667%;--in: 240 100% 50%;--su: 120 100% 25.098%;--wa: 60 30.196% 50%;--er: 0 100% 50%;--rounded-box: .2rem;--rounded-btn: .2rem;--rounded-badge: .2rem;--tab-radius: .2rem}[data-theme=black]{color-scheme:dark;--pf: 0 1.9608% 16%;--sf: 0 1.9608% 16%;--af: 0 1.9608% 16%;--bc: 0 0% 80%;--pc: 0 5.3922% 84%;--sc: 0 5.3922% 84%;--ac: 0 5.3922% 84%;--nc: 0 2.5404% 83.02%;--inc: 240 100% 90%;--suc: 120 100% 85.02%;--wac: 60 100% 10%;--erc: 0 100% 90%;--border-btn: 1px;--tab-border: 1px;--p: 0 1.9608% 20%;--s: 0 1.9608% 20%;--a: 0 1.9608% 20%;--b1: 0 0% 0%;--b2: 0 0% 5.098%;--b3: 0 1.9608% 10%;--n: 0 1.2987% 15.098%;--nf: 0 1.9608% 20%;--in: 240 100% 50%;--su: 120 100% 25.098%;--wa: 60 100% 50%;--er: 0 100% 50%;--rounded-box: 0;--rounded-btn: 0;--rounded-badge: 0;--animation-btn: 0;--animation-input: 0;--btn-text-case: lowercase;--btn-focus-scale: 1;--tab-radius: 0}[data-theme=luxury]{color-scheme:dark;--pf: 0 0% 80%;--sf: 218.4 54.348% 14.431%;--af: 318.62 21.805% 20.863%;--nf: 270 4.3478% 7.2157%;--pc: 0 0% 20%;--sc: 218.4 100% 83.608%;--ac: 318.62 84.615% 85.216%;--inc: 202.35 100% 14%;--suc: 89.007 100% 10.392%;--wac: 53.906 100% 12.706%;--erc: 0 100% 14.353%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 0 0% 100%;--s: 218.4 54.348% 18.039%;--a: 318.62 21.805% 26.078%;--n: 270 4.3478% 9.0196%;--nc: 37.083 67.29% 58.039%;--b1: 240 10% 3.9216%;--b2: 270 4.3478% 9.0196%;--b3: 270 2.1739% 18.039%;--bc: 37.083 67.29% 58.039%;--in: 202.35 100% 70%;--su: 89.007 61.633% 51.961%;--wa: 53.906 68.817% 63.529%;--er: 0 100% 71.765%}[data-theme=dracula]{color-scheme:dark;--pf: 325.52 100% 58.98%;--sf: 264.71 89.474% 62.118%;--af: 31.02 100% 56.941%;--nf: 229.57 15.033% 24%;--b2: 231.43 14.894% 16.588%;--b3: 231.43 14.894% 14.929%;--pc: 325.52 100% 14.745%;--sc: 264.71 100% 15.529%;--ac: 31.02 100% 14.235%;--nc: 229.57 70.868% 86%;--inc: 190.53 100% 15.373%;--suc: 135.18 100% 12.941%;--wac: 64.909 100% 15.294%;--erc: 0 100% 93.333%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 325.52 100% 73.725%;--s: 264.71 89.474% 77.647%;--a: 31.02 100% 71.176%;--n: 229.57 15.033% 30%;--b1: 231.43 14.894% 18.431%;--bc: 60 30% 96.078%;--in: 190.53 96.61% 76.863%;--su: 135.18 94.444% 64.706%;--wa: 64.909 91.667% 76.471%;--er: 0 100% 66.667%}[data-theme=cmyk]{color-scheme:light;--pf: 202.72 83.251% 48.157%;--sf: 335.25 77.67% 47.686%;--af: 56.195 100% 47.843%;--nf: 0 0% 8.1569%;--b2: 0 0% 90%;--b3: 0 0% 81%;--bc: 0 0% 20%;--pc: 202.72 100% 12.039%;--sc: 335.25 100% 91.922%;--ac: 56.195 100% 11.961%;--nc: 0 0% 82.039%;--inc: 192.2 100% 10.431%;--suc: 291.06 100% 87.608%;--wac: 25.027 100% 11.333%;--erc: 3.956 100% 91.137%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 202.72 83.251% 60.196%;--s: 335.25 77.67% 59.608%;--a: 56.195 100% 59.804%;--n: 0 0% 10.196%;--b1: 0 0% 100%;--in: 192.2 48.361% 52.157%;--su: 291.06 48.454% 38.039%;--wa: 25.027 84.615% 56.667%;--er: 3.956 80.531% 55.686%}[data-theme=autumn]{color-scheme:light;--pf: 344.23 95.804% 22.431%;--sf: .44444 63.38% 46.588%;--af: 27.477 56.021% 50.039%;--nf: 22.105 17.117% 34.824%;--b2: 0 0% 85.059%;--b3: 0 0% 76.553%;--bc: 0 0% 18.902%;--pc: 344.23 100% 85.608%;--sc: .44444 100% 91.647%;--ac: 27.477 100% 12.51%;--nc: 22.105 100% 88.706%;--inc: 186.94 100% 9.9216%;--suc: 164.59 100% 8.6275%;--wac: 30.141 100% 9.9216%;--erc: 353.6 100% 89.765%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 344.23 95.804% 28.039%;--s: .44444 63.38% 58.235%;--a: 27.477 56.021% 62.549%;--n: 22.105 17.117% 43.529%;--b1: 0 0% 94.51%;--in: 186.94 47.826% 49.608%;--su: 164.59 33.636% 43.137%;--wa: 30.141 84.19% 49.608%;--er: 353.6 79.116% 48.824%}[data-theme=business]{color-scheme:dark;--pf: 210 64.103% 24.471%;--sf: 200 12.931% 43.608%;--af: 12.515 79.512% 47.843%;--nf: 212.73 13.58% 12.706%;--b2: 0 0% 11.294%;--b3: 0 0% 10.165%;--bc: 0 0% 82.51%;--pc: 210 100% 86.118%;--sc: 200 100% 10.902%;--ac: 12.515 100% 11.961%;--nc: 212.73 28.205% 83.176%;--inc: 199.15 100% 88.353%;--suc: 144 100% 11.137%;--wac: 39.231 100% 12.078%;--erc: 6.3415 100% 88.667%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 210 64.103% 30.588%;--s: 200 12.931% 54.51%;--a: 12.515 79.512% 59.804%;--n: 212.73 13.58% 15.882%;--b1: 0 0% 12.549%;--in: 199.15 100% 41.765%;--su: 144 30.973% 55.686%;--wa: 39.231 64.356% 60.392%;--er: 6.3415 55.656% 43.333%;--rounded-box: .25rem;--rounded-btn: .125rem;--rounded-badge: .125rem}[data-theme=acid]{color-scheme:light;--pf: 302.59 100% 40%;--sf: 27.294 100% 40%;--af: 72 98.425% 40.157%;--nf: 238.42 43.182% 13.804%;--b2: 0 0% 88.235%;--b3: 0 0% 79.412%;--bc: 0 0% 19.608%;--pc: 302.59 100% 90%;--sc: 27.294 100% 10%;--ac: 72 100% 10.039%;--nc: 238.42 99.052% 83.451%;--inc: 209.85 100% 11.569%;--suc: 148.87 100% 11.608%;--wac: 52.574 100% 11.451%;--erc: .78261 100% 89.02%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 302.59 100% 50%;--s: 27.294 100% 50%;--a: 72 98.425% 50.196%;--n: 238.42 43.182% 17.255%;--b1: 0 0% 98.039%;--in: 209.85 91.628% 57.843%;--su: 148.87 49.533% 58.039%;--wa: 52.574 92.661% 57.255%;--er: .78261 100% 45.098%;--rounded-box: 1.25rem;--rounded-btn: 1rem;--rounded-badge: 1rem}[data-theme=lemonade]{color-scheme:light;--pf: 88.8 96.154% 24.471%;--sf: 60 80.952% 43.765%;--af: 62.553 79.661% 70.745%;--nf: 238.42 43.182% 13.804%;--b2: 0 0% 90%;--b3: 0 0% 81%;--bc: 0 0% 20%;--pc: 88.8 100% 86.118%;--sc: 60 100% 10.941%;--ac: 62.553 100% 17.686%;--nc: 238.42 99.052% 83.451%;--inc: 191.61 79.118% 16.902%;--suc: 74.458 100% 15.725%;--wac: 50.182 100% 15.059%;--erc: .98361 100% 16.588%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 88.8 96.154% 30.588%;--s: 60 80.952% 54.706%;--a: 62.553 79.661% 88.431%;--n: 238.42 43.182% 17.255%;--b1: 0 0% 100%;--in: 191.61 39.241% 84.51%;--su: 74.458 76.147% 78.627%;--wa: 50.182 87.302% 75.294%;--er: .98361 70.115% 82.941%}[data-theme=night]{color-scheme:dark;--pf: 198.44 93.204% 47.686%;--sf: 234.45 89.474% 59.137%;--af: 328.85 85.621% 56%;--b2: 222.22 47.368% 10.059%;--b3: 222.22 47.368% 9.0529%;--bc: 222.22 65.563% 82.235%;--pc: 198.44 100% 11.922%;--sc: 234.45 100% 14.784%;--ac: 328.85 100% 14%;--nc: 217.24 75.772% 83.49%;--inc: 198.46 100% 9.6078%;--suc: 172.46 100% 10.078%;--wac: 40.61 100% 12.706%;--erc: 350.94 100% 14.235%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 198.44 93.204% 59.608%;--s: 234.45 89.474% 73.922%;--a: 328.85 85.621% 70%;--n: 217.24 32.584% 17.451%;--nf: 217.06 30.357% 21.961%;--b1: 222.22 47.368% 11.176%;--in: 198.46 90.204% 48.039%;--su: 172.46 66.008% 50.392%;--wa: 40.61 88.172% 63.529%;--er: 350.94 94.558% 71.176%}[data-theme=coffee]{color-scheme:dark;--pf: 29.583 66.667% 46.118%;--sf: 182.4 24.752% 15.843%;--af: 194.19 74.4% 19.608%;--nf: 300 20% 4.7059%;--b2: 306 18.519% 9.5294%;--b3: 306 18.519% 8.5765%;--pc: 29.583 100% 11.529%;--sc: 182.4 67.237% 83.961%;--ac: 194.19 100% 84.902%;--nc: 300 13.75% 81.176%;--inc: 171.15 100% 13.451%;--suc: 92.5 100% 12.471%;--wac: 43.125 100% 13.725%;--erc: 9.7561 100% 14.941%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 29.583 66.667% 57.647%;--s: 182.4 24.752% 19.804%;--a: 194.19 74.4% 24.51%;--n: 300 20% 5.8824%;--b1: 306 18.519% 10.588%;--bc: 36.667 8.3333% 42.353%;--in: 171.15 36.527% 67.255%;--su: 92.5 25% 62.353%;--wa: 43.125 100% 68.627%;--er: 9.7561 95.349% 74.706%}[data-theme=winter]{color-scheme:light;--pf: 211.79 100% 40.627%;--sf: 246.92 47.273% 34.51%;--af: 310.41 49.388% 41.569%;--nf: 217.02 92.157% 8%;--pc: 211.79 100% 90.157%;--sc: 246.92 100% 88.627%;--ac: 310.41 100% 90.392%;--nc: 217.02 100% 82%;--inc: 191.54 100% 15.608%;--suc: 181.5 100% 13.255%;--wac: 32.308 100% 16.706%;--erc: 0 100% 14.431%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 211.79 100% 50.784%;--s: 246.92 47.273% 43.137%;--a: 310.41 49.388% 51.961%;--n: 217.02 92.157% 10%;--b1: 0 0% 100%;--b2: 216.92 100% 97.451%;--b3: 218.82 43.59% 92.353%;--bc: 214.29 30.061% 31.961%;--in: 191.54 92.857% 78.039%;--su: 181.5 46.512% 66.275%;--wa: 32.308 61.905% 83.529%;--er: 0 63.38% 72.157%}*,: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: }::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: }.alert{display:flex;width:100%;flex-direction:column;align-items:center;justify-content:space-between;gap:1rem;--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));padding:1rem;border-radius:var(--rounded-box, 1rem)}.alert>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}@media (min-width: 768px){.alert{flex-direction:row}.alert>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}}.alert>:where(*){display:flex;align-items:center;gap:.5rem}.avatar{position:relative;display:inline-flex}.avatar>div{display:block;aspect-ratio:1 / 1;overflow:hidden}.avatar img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover}.avatar.placeholder>div{display:flex;align-items:center;justify-content:center}.btn{display:inline-flex;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-wrap:wrap;align-items:center;justify-content:center;border-color:transparent;border-color:hsl(var(--n) / var(--tw-border-opacity));text-align:center;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-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);border-radius:var(--rounded-btn, .5rem);height:3rem;padding-left:1rem;padding-right:1rem;font-size:.875rem;line-height:1.25rem;line-height:1em;min-height:3rem;font-weight:600;text-transform:uppercase;text-transform:var(--btn-text-case, uppercase);text-decoration-line:none;border-width:var(--border-btn, 1px);animation:button-pop var(--animation-btn, .25s) ease-out;--tw-border-opacity: 1;--tw-bg-opacity: 1;background-color:hsl(var(--n) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--nc) / var(--tw-text-opacity))}.btn-disabled,.btn[disabled]{pointer-events:none}.btn-circle{height:3rem;width:3rem;border-radius:9999px;padding:0}.btn.loading,.btn.loading:hover{pointer-events:none}.btn.loading:before{margin-right:.5rem;height:1rem;width:1rem;border-radius:9999px;border-width:2px;animation:spin 2s linear infinite;content:"";border-top-color:transparent;border-left-color:transparent;border-bottom-color:currentColor;border-right-color:currentColor}@media (prefers-reduced-motion: reduce){.btn.loading:before{animation:spin 10s linear infinite}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.btn-group>input[type=radio].btn{-webkit-appearance:none;-moz-appearance:none;appearance:none}.btn-group>input[type=radio].btn:before{content:attr(data-title)}.card-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:.5rem}.checkbox{flex-shrink:0;--chkbg: var(--bc);--chkfg: var(--b1);height:1.5rem;width:1.5rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: .2;border-radius:var(--rounded-btn, .5rem)}.divider{display:flex;flex-direction:row;align-items:center;align-self:stretch;margin-top:1rem;margin-bottom:1rem;height:1rem;white-space:nowrap}.divider:before,.divider:after{content:"";flex-grow:1;height:.125rem;width:100%}.dropdown{position:relative;display:inline-block}.dropdown>*:focus{outline:2px solid transparent;outline-offset:2px}.dropdown .dropdown-content{visibility:hidden;position:absolute;z-index:50;opacity:0;transform-origin:top;--tw-scale-x: .95;--tw-scale-y: .95;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));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-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.dropdown-end .dropdown-content{right:0}.dropdown-left .dropdown-content{top:0;right:100%;bottom:auto;transform-origin:right}.dropdown-right .dropdown-content{left:100%;top:0;bottom:auto;transform-origin:left}.dropdown-bottom .dropdown-content{bottom:auto;top:100%;transform-origin:top}.dropdown-top .dropdown-content{bottom:100%;top:auto;transform-origin:bottom}.dropdown-end.dropdown-right .dropdown-content,.dropdown-end.dropdown-left .dropdown-content{bottom:0;top:auto}.dropdown.dropdown-open .dropdown-content,.dropdown.dropdown-hover:hover .dropdown-content,.dropdown:not(.dropdown-hover):focus .dropdown-content,.dropdown:not(.dropdown-hover):focus-within .dropdown-content{visibility:visible;opacity:1}.form-control{display:flex;flex-direction:column}.label{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:space-between;padding:.5rem .25rem}.input{flex-shrink:1;height:3rem;padding-left:1rem;padding-right:1rem;font-size:1rem;line-height:2;line-height:1.5rem;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 0;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));border-radius:var(--rounded-btn, .5rem)}.input-group>.input{isolation:isolate}.input-group>*,.input-group>.input,.input-group>.textarea,.input-group>.select{border-radius:0}.link{cursor:pointer;text-decoration-line:underline}.mask{-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.menu{display:flex;flex-direction:column;flex-wrap:wrap}.menu.horizontal{display:inline-flex;flex-direction:row}.menu.horizontal :where(li){flex-direction:row}:where(.menu li){position:relative;display:flex;flex-shrink:0;flex-direction:column;flex-wrap:wrap;align-items:stretch}.menu :where(li:not(.menu-title))>:where(*:not(ul)){display:flex}.menu :where(li:not(.disabled):not(.menu-title))>:where(*:not(ul)){cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;outline:2px solid transparent;outline-offset:2px}.menu>:where(li>*:not(ul):focus){outline:2px solid transparent;outline-offset:2px}.menu>:where(li.disabled>*:not(ul):focus){cursor:auto}.menu>:where(li) :where(ul){display:flex;flex-direction:column;align-items:stretch}.menu>:where(li)>:where(ul){position:absolute;display:none;top:initial;left:100%;border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li:hover)>:where(ul){display:flex}.menu>:where(li:focus)>:where(ul){display:flex}.modal{pointer-events:none;visibility:hidden;position:fixed;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;opacity:0;z-index:999;background-color:hsl(var(--nf, var(--n)) / var(--tw-bg-opacity));--tw-bg-opacity: .4;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:transform,opacity,visibility;overflow-y:hidden;overscroll-behavior:contain}:where(.modal){align-items:center}.modal-box{max-height:calc(100vh - 5em);--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));padding:1.5rem;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-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);width:91.666667%;max-width:32rem;--tw-scale-x: .9;--tw-scale-y: .9;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));border-top-left-radius:var(--rounded-box, 1rem);border-top-right-radius:var(--rounded-box, 1rem);border-bottom-left-radius:var(--rounded-box, 1rem);border-bottom-right-radius:var(--rounded-box, 1rem);box-shadow:0 25px 50px -12px #00000040;overflow-y:auto;overscroll-behavior:contain}.modal-open,.modal:target,.modal-toggle:checked+.modal{pointer-events:auto;visibility:visible;opacity:1}.modal-action{display:flex;margin-top:1.5rem;justify-content:flex-end}.modal-toggle{position:fixed;height:0px;width:0px;-webkit-appearance:none;-moz-appearance:none;appearance:none;opacity:0}.navbar{display:flex;align-items:center;padding:var(--navbar-padding, .5rem);min-height:4rem;width:100%}:where(.navbar>*){display:inline-flex;align-items:center}.radio{flex-shrink:0;--chkbg: var(--bc);height:1.5rem;width:1.5rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:9999px;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: .2}.rating{position:relative;display:inline-flex}.rating :where(input){cursor:pointer;border-radius:0;animation:rating-pop var(--animation-input, .25s) ease-out;height:1.5rem;width:1.5rem;background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: 1}.select{display:inline-flex;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:3rem;padding-left:1rem;padding-right:2.5rem;font-size:.875rem;line-height:1.25rem;line-height:2;min-height:3rem;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 0;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));font-weight:600;border-radius:var(--rounded-btn, .5rem);background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 20px) calc(1px + 50%),calc(100% - 16px) calc(1px + 50%);background-size:4px 4px,4px 4px;background-repeat:no-repeat}.select[multiple]{height:auto}.\!stats{display:inline-grid!important;--tw-bg-opacity: 1 !important;background-color:hsl(var(--b1) / var(--tw-bg-opacity))!important;--tw-text-opacity: 1 !important;color:hsl(var(--bc) / var(--tw-text-opacity))!important;border-radius:var(--rounded-box, 1rem)!important}.stats{display:inline-grid;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--bc) / var(--tw-text-opacity));border-radius:var(--rounded-box, 1rem)}:where(.\!stats){grid-auto-flow:column!important;overflow-x:auto!important}:where(.stats){grid-auto-flow:column;overflow-x:auto}.tabs{display:flex;flex-wrap:wrap;align-items:flex-end}.tab{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-wrap:wrap;align-items:center;justify-content:center;text-align:center;height:2rem;font-size:.875rem;line-height:1.25rem;line-height:2;--tab-padding: 1rem;--tw-text-opacity: .5;--tab-color: hsla(var(--bc) / var(--tw-text-opacity, 1));--tab-bg: hsla(var(--b1) / var(--tw-bg-opacity, 1));--tab-border-color: hsla(var(--b3) / var(--tw-bg-opacity, 1));color:var(--tab-color);padding-left:var(--tab-padding, 1rem);padding-right:var(--tab-padding, 1rem)}.table{position:relative;text-align:left}.table th:first-child{position:sticky;left:0;z-index:11}.textarea{flex-shrink:1;min-height:3rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;line-height:2;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 0;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));border-radius:var(--rounded-btn, .5rem)}.avatar-group :where(.avatar){overflow:hidden;border-radius:9999px;border-width:4px;--tw-border-opacity: 1;border-color:hsl(var(--b1) / var(--tw-border-opacity))}.btm-nav>*:where(.active){border-top-width:2px;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity))}.btm-nav>*.disabled,.btm-nav>*.disabled:hover,.btm-nav>*[disabled],.btm-nav>*[disabled]:hover{pointer-events:none;--tw-border-opacity: 0;background-color:hsl(var(--n) / var(--tw-bg-opacity));--tw-bg-opacity: .1;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2}.btm-nav>* .label{font-size:1rem;line-height:1.5rem}.btn:active:hover,.btn:active:focus{animation:none}.btn:not(.no-animation):active:hover,.btn:not(.no-animation):active:focus{transform:scale(var(--btn-focus-scale, .95))}.btn:hover,.btn-active{--tw-border-opacity: 1;border-color:hsl(var(--nf, var(--n)) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--nf, var(--n)) / var(--tw-bg-opacity))}.btn:focus-visible{outline:2px solid hsl(var(--nf));outline-offset:2px}.btn.glass:hover,.btn.glass.btn-active{--glass-opacity: 25%;--glass-border-opacity: 15%}.btn.glass:focus-visible{outline:2px solid currentColor}.btn-disabled,.btn-disabled:hover,.btn[disabled],.btn[disabled]:hover{--tw-border-opacity: 0;background-color:hsl(var(--n) / var(--tw-bg-opacity));--tw-bg-opacity: .2;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2}.btn.loading.btn-square:before,.btn.loading.btn-circle:before{margin-right:0}.btn.loading.btn-xl:before,.btn.loading.btn-lg:before{height:1.25rem;width:1.25rem}.btn.loading.btn-sm:before,.btn.loading.btn-xs:before{height:.75rem;width:.75rem}.btn-group>input[type=radio]:checked.btn,.btn-group>.btn-active{--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--p) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--pc) / var(--tw-text-opacity))}.btn-group>input[type=radio]:checked.btn:focus-visible,.btn-group>.btn-active:focus-visible{outline:2px solid hsl(var(--p))}@keyframes button-pop{0%{transform:scale(var(--btn-focus-scale, .95))}40%{transform:scale(1.02)}to{transform:scale(1)}}.checkbox:focus-visible{outline:2px solid hsl(var(--bc));outline-offset:2px}.checkbox:checked,.checkbox[checked=true],.checkbox[aria-checked=true]{--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));background-repeat:no-repeat;animation:checkmark var(--animation-input, .2s) ease-in-out;background-image:linear-gradient(-45deg,transparent 65%,hsl(var(--chkbg)) 65.99%),linear-gradient(45deg,transparent 75%,hsl(var(--chkbg)) 75.99%),linear-gradient(-45deg,hsl(var(--chkbg)) 40%,transparent 40.99%),linear-gradient(45deg,hsl(var(--chkbg)) 30%,hsl(var(--chkfg)) 30.99%,hsl(var(--chkfg)) 40%,transparent 40.99%),linear-gradient(-45deg,hsl(var(--chkfg)) 50%,hsl(var(--chkbg)) 50.99%)}.checkbox:indeterminate{--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));background-repeat:no-repeat;animation:checkmark var(--animation-input, .2s) ease-in-out;background-image:linear-gradient(90deg,transparent 80%,hsl(var(--chkbg)) 80%),linear-gradient(-90deg,transparent 80%,hsl(var(--chkbg)) 80%),linear-gradient(0deg,hsl(var(--chkbg)) 43%,hsl(var(--chkfg)) 43%,hsl(var(--chkfg)) 57%,hsl(var(--chkbg)) 57%)}.checkbox:disabled{cursor:not-allowed;border-color:transparent;--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));opacity:.2}@keyframes checkmark{0%{background-position-y:5px}50%{background-position-y:-2px}to{background-position-y:0}}[dir=rtl] .checkbox:checked,[dir=rtl] .checkbox[checked=true],[dir=rtl] .checkbox[aria-checked=true]{background-image:linear-gradient(45deg,transparent 65%,hsl(var(--chkbg)) 65.99%),linear-gradient(-45deg,transparent 75%,hsl(var(--chkbg)) 75.99%),linear-gradient(45deg,hsl(var(--chkbg)) 40%,transparent 40.99%),linear-gradient(-45deg,hsl(var(--chkbg)) 30%,hsl(var(--chkfg)) 30.99%,hsl(var(--chkfg)) 40%,transparent 40.99%),linear-gradient(45deg,hsl(var(--chkfg)) 50%,hsl(var(--chkbg)) 50.99%)}.divider:before{background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1}.divider:after{background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1}.divider:not(:empty){gap:1rem}.dropdown.dropdown-open .dropdown-content,.dropdown.dropdown-hover:hover .dropdown-content,.dropdown:focus .dropdown-content,.dropdown:focus-within .dropdown-content{--tw-scale-x: 1;--tw-scale-y: 1;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))}.label-text{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:hsl(var(--bc) / var(--tw-text-opacity))}.label a:hover{--tw-text-opacity: 1;color:hsl(var(--bc) / var(--tw-text-opacity))}.input[list]::-webkit-calendar-picker-indicator{line-height:1em}.input-bordered{--tw-border-opacity: .2}.input:focus{outline:2px solid hsla(var(--bc) / .2);outline-offset:2px}.input-success{--tw-border-opacity: 1;border-color:hsl(var(--su) / var(--tw-border-opacity))}.input-success:focus{outline:2px solid hsl(var(--su))}.input-disabled,.input[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:hsl(var(--b2, var(--b1)) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));--tw-text-opacity: .2}.input-disabled::-moz-placeholder,.input[disabled]::-moz-placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.input-disabled::placeholder,.input[disabled]::placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.link:focus{outline:2px solid transparent;outline-offset:2px}.link:focus-visible{outline:2px solid currentColor;outline-offset:2px}.mask-star-2{-webkit-mask-image:url("data:image/svg+xml,%3csvg width='192' height='180' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m96 153.044-58.779 26.243 7.02-63.513L.894 68.481l63.117-13.01L96 0l31.989 55.472 63.117 13.01-43.347 47.292 7.02 63.513z' fill-rule='evenodd'/%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg width='192' height='180' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m96 153.044-58.779 26.243 7.02-63.513L.894 68.481l63.117-13.01L96 0l31.989 55.472 63.117 13.01-43.347 47.292 7.02 63.513z' fill-rule='evenodd'/%3e%3c/svg%3e")}.menu.horizontal>li.bordered>a,.menu.horizontal>li.bordered>button,.menu.horizontal>li.bordered>span{border-left-width:0px;border-bottom-width:4px;--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity))}.menu[class*=" px-"]:not(.menu[class*=" px-0"]) li>*,.menu[class^=px-]:not(.menu[class^=px-0]) li>*,.menu[class*=" p-"]:not(.menu[class*=" p-0"]) li>*,.menu[class^=p-]:not(.menu[class^=p-0]) li>*{border-radius:var(--rounded-btn, .5rem)}.menu :where(li.bordered>*){border-left-width:4px;--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity))}.menu :where(li)>:where(*:not(ul)){gap:.75rem;padding:.75rem 1rem;color:currentColor}.menu :where(li:not(.menu-title):not(:empty))>:where(*:not(ul):focus),.menu :where(li:not(.menu-title):not(:empty))>:where(*:not(ul):hover){background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1}.menu :where(li:not(.menu-title):not(:empty))>:where(:not(ul).active),.menu :where(li:not(.menu-title):not(:empty))>:where(*:not(ul):active){--tw-bg-opacity: 1;background-color:hsl(var(--p) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--pc) / var(--tw-text-opacity))}.menu :where(li:empty){margin:.5rem 1rem;height:1px;background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1}.menu li.disabled>*{-webkit-user-select:none;-moz-user-select:none;user-select:none;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2}.menu li.disabled>*:hover{background-color:transparent}.menu li.hover-bordered a{border-left-width:4px;border-color:transparent}.menu li.hover-bordered a:hover{--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity))}.menu.compact li>a,.menu.compact li>span{padding-top:.5rem;padding-bottom:.5rem;font-size:.875rem;line-height:1.25rem}.menu .menu-title{font-size:.75rem;line-height:1rem;font-weight:700;opacity:.4}.menu .menu-title>*{padding-top:.25rem;padding-bottom:.25rem}.menu :where(li:not(.disabled))>:where(*:not(ul)){outline:2px solid transparent;outline-offset:2px;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-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.menu>:where(li:first-child){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:unset;border-bottom-left-radius:unset}.menu>:where(li:first-child)>:where(:not(ul)){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:unset;border-bottom-left-radius:unset}.menu>:where(li:last-child){border-top-left-radius:unset;border-top-right-radius:unset;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li:last-child)>:where(:not(ul)){border-top-left-radius:unset;border-top-right-radius:unset;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li:first-child:last-child){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li:first-child:last-child)>:where(:not(ul)){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li)>:where(ul) :where(li){width:100%;white-space:nowrap}.menu>:where(li)>:where(ul) :where(li) :where(ul){padding-left:1rem}.menu>:where(li)>:where(ul) :where(li)>:where(:not(ul)){width:100%;white-space:nowrap}.menu>:where(li)>:where(ul)>:where(li:first-child){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:unset;border-bottom-left-radius:unset}.menu>:where(li)>:where(ul)>:where(li:first-child)>:where(:not(ul)){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:unset;border-bottom-left-radius:unset}.menu>:where(li)>:where(ul)>:where(li:last-child){border-top-left-radius:unset;border-top-right-radius:unset;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li)>:where(ul)>:where(li:last-child)>:where(:not(ul)){border-top-left-radius:unset;border-top-right-radius:unset;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li)>:where(ul)>:where(li:first-child:last-child){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li)>:where(ul)>:where(li:first-child:last-child)>:where(:not(ul)){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.mockup-phone .display{overflow:hidden;border-radius:40px;margin-top:-25px}.modal-open .modal-box,.modal-toggle:checked+.modal .modal-box,.modal:target .modal-box{--tw-translate-y: 0px;--tw-scale-x: 1;--tw-scale-y: 1;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))}.modal-action>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}@keyframes progress-loading{50%{left:107%}}.radio:focus-visible{outline:2px solid hsl(var(--bc));outline-offset:2px}.radio:checked,.radio[aria-checked=true]{--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));animation:radiomark var(--animation-input, .2s) ease-in-out;box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset}.radio:disabled{cursor:not-allowed;opacity:.2}@keyframes radiomark{0%{box-shadow:0 0 0 12px hsl(var(--b1)) inset,0 0 0 12px hsl(var(--b1)) inset}50%{box-shadow:0 0 0 3px hsl(var(--b1)) inset,0 0 0 3px hsl(var(--b1)) inset}to{box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset}}.rating input{-moz-appearance:none;appearance:none;-webkit-appearance:none}.rating .rating-hidden{width:.5rem;background-color:transparent}.rating input:checked~input,.rating input[aria-checked=true]~input{--tw-bg-opacity: .2}.rating input:focus-visible{transition-property:transform;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);transform:translateY(-.125em)}.rating input:active:focus{animation:none;transform:translateY(-.125em)}@keyframes rating-pop{0%{transform:translateY(-.125em)}40%{transform:translateY(-.125em)}to{transform:translateY(0)}}.select:focus{outline:2px solid hsla(var(--bc) / .2);outline-offset:2px}.select-success{--tw-border-opacity: 1;border-color:hsl(var(--su) / var(--tw-border-opacity))}.select-success:focus{outline:2px solid hsl(var(--su))}.select-disabled,.select[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:hsl(var(--b2, var(--b1)) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));--tw-text-opacity: .2}.select-disabled::-moz-placeholder,.select[disabled]::-moz-placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.select-disabled::placeholder,.select[disabled]::placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.select-multiple,.select[multiple],.select[size].select:not([size="1"]){background-image:none;padding-right:1rem}[dir=rtl] .select{background-position:calc(0% + 12px) calc(1px + 50%),calc(0% + 16px) calc(1px + 50%)}:where(.\!stats)>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0 !important;border-right-width:calc(1px * var(--tw-divide-x-reverse))!important;border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))!important;--tw-divide-y-reverse: 0 !important;border-top-width:calc(0px * calc(1 - var(--tw-divide-y-reverse)))!important;border-bottom-width:calc(0px * var(--tw-divide-y-reverse))!important}:where(.stats)>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)));--tw-divide-y-reverse: 0;border-top-width:calc(0px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(0px * var(--tw-divide-y-reverse))}.tab:hover{--tw-text-opacity: 1}.tab.tab-active:not(.tab-disabled):not([disabled]){border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 1;--tw-text-opacity: 1}.tab:focus{outline:2px solid transparent;outline-offset:2px}.tab:focus-visible{outline:2px solid currentColor;outline-offset:-3px}.tab:focus-visible.tab-lifted{border-bottom-right-radius:var(--tab-radius, .5rem);border-bottom-left-radius:var(--tab-radius, .5rem)}.tab-disabled,.tab-disabled:hover,.tab[disabled],.tab[disabled]:hover{cursor:not-allowed;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2}.tabs-boxed .tab{border-radius:var(--rounded-btn, .5rem)}.table :where(th,td){white-space:nowrap;padding:1rem;vertical-align:middle}.table tr.active th,.table tr.active td,.table tr.active:nth-child(2n) th,.table tr.active:nth-child(2n) td{--tw-bg-opacity: 1;background-color:hsl(var(--b3, var(--b2)) / var(--tw-bg-opacity))}.table tr.hover:hover th,.table tr.hover:hover td,.table tr.hover:nth-child(2n):hover th,.table tr.hover:nth-child(2n):hover td{--tw-bg-opacity: 1;background-color:hsl(var(--b3, var(--b2)) / var(--tw-bg-opacity))}.table:where(:not(.table-zebra)) :where(thead,tbody,tfoot) :where(tr:not(:last-child) :where(th,td)){border-bottom-width:1px;--tw-border-opacity: 1;border-color:hsl(var(--b2, var(--b1)) / var(--tw-border-opacity))}.table :where(thead,tfoot) :where(th,td){--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));font-size:.75rem;line-height:1rem;font-weight:700;text-transform:uppercase}.table :where(tbody th,tbody td){--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity))}:where(.table *:first-child) :where(*:first-child) :where(th,td):first-child{border-top-left-radius:var(--rounded-box, 1rem)}:where(.table *:first-child) :where(*:first-child) :where(th,td):last-child{border-top-right-radius:var(--rounded-box, 1rem)}:where(.table *:last-child) :where(*:last-child) :where(th,td):first-child{border-bottom-left-radius:var(--rounded-box, 1rem)}:where(.table *:last-child) :where(*:last-child) :where(th,td):last-child{border-bottom-right-radius:var(--rounded-box, 1rem)}.textarea:focus{outline:2px solid hsla(var(--bc) / .2);outline-offset:2px}.textarea-success{--tw-border-opacity: 1;border-color:hsl(var(--su) / var(--tw-border-opacity))}.textarea-success:focus{outline:2px solid hsl(var(--su))}.textarea-disabled,.textarea[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:hsl(var(--b2, var(--b1)) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));--tw-text-opacity: .2}.textarea-disabled::-moz-placeholder,.textarea[disabled]::-moz-placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.textarea-disabled::placeholder,.textarea[disabled]::placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}@keyframes toast-pop{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}.rounded-box{border-radius:var(--rounded-box, 1rem)}.artboard.phone{width:320px}.btm-nav-xs>*:where(.active){border-top-width:1px}.btm-nav-sm>*:where(.active){border-top-width:2px}.btm-nav-md>*:where(.active){border-top-width:2px}.btm-nav-lg>*:where(.active){border-top-width:4px}.btn-sm{height:2rem;padding-left:.75rem;padding-right:.75rem;min-height:2rem;font-size:.875rem}.btn-wide{width:16rem}.btn-square:where(.btn-sm){height:2rem;width:2rem;padding:0}.btn-circle:where(.btn-xs){height:1.5rem;width:1.5rem;border-radius:9999px;padding:0}.btn-circle:where(.btn-sm){height:2rem;width:2rem;border-radius:9999px;padding:0}.btn-circle:where(.btn-md){height:3rem;width:3rem;border-radius:9999px;padding:0}.btn-circle:where(.btn-lg){height:4rem;width:4rem;border-radius:9999px;padding:0}.divider-horizontal{flex-direction:column}.divider-horizontal:before{height:100%;width:.125rem}.divider-horizontal:after{height:100%;width:.125rem}.input-md{height:3rem;padding-left:1rem;padding-right:1rem;font-size:.875rem;line-height:1.25rem;line-height:2}.input-lg{height:4rem;padding-left:1.5rem;padding-right:1.5rem;font-size:1.125rem;line-height:1.75rem;line-height:2}.menu-horizontal{display:inline-flex;width:-moz-max-content;width:max-content;flex-direction:row}.menu-horizontal :where(li){flex-direction:row}.menu-horizontal>:where(li)>:where(ul){top:100%;left:initial}.modal-bottom{align-items:flex-end}.avatar.online:before{content:"";position:absolute;z-index:10;display:block;border-radius:9999px;--tw-bg-opacity: 1;background-color:hsl(var(--su) / var(--tw-bg-opacity));width:15%;height:15%;top:7%;right:7%;box-shadow:0 0 0 2px hsl(var(--b1))}.avatar.offline:before{content:"";position:absolute;z-index:10;display:block;border-radius:9999px;--tw-bg-opacity: 1;background-color:hsl(var(--b3, var(--b2)) / var(--tw-bg-opacity));width:15%;height:15%;top:7%;right:7%;box-shadow:0 0 0 2px hsl(var(--b1))}.btn-group .btn:not(:first-child):not(:last-child){border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:0;border-end-end-radius:0}.btn-group .btn:first-child:not(:last-child){margin-top:-0px;margin-left:-1px;border-start-start-radius:var(--rounded-btn, .5rem);border-start-end-radius:0;border-end-start-radius:var(--rounded-btn, .5rem);border-end-end-radius:0}.btn-group .btn:last-child:not(:first-child){border-start-start-radius:0;border-start-end-radius:var(--rounded-btn, .5rem);border-end-start-radius:0;border-end-end-radius:var(--rounded-btn, .5rem)}.btn-group-horizontal .btn:not(:first-child):not(:last-child){border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:0;border-end-end-radius:0}.btn-group-horizontal .btn:first-child:not(:last-child){margin-top:-0px;margin-left:-1px;border-start-start-radius:var(--rounded-btn, .5rem);border-start-end-radius:0;border-end-start-radius:var(--rounded-btn, .5rem);border-end-end-radius:0}.btn-group-horizontal .btn:last-child:not(:first-child){border-start-start-radius:0;border-start-end-radius:var(--rounded-btn, .5rem);border-end-start-radius:0;border-end-end-radius:var(--rounded-btn, .5rem)}.btn-group-vertical .btn:first-child:not(:last-child){margin-top:-1px;margin-left:-0px;border-start-start-radius:var(--rounded-btn, .5rem);border-start-end-radius:var(--rounded-btn, .5rem);border-end-start-radius:0;border-end-end-radius:0}.btn-group-vertical .btn:last-child:not(:first-child){border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:var(--rounded-btn, .5rem);border-end-end-radius:var(--rounded-btn, .5rem)}.divider-horizontal{margin-top:0;margin-bottom:0;margin-left:1rem;margin-right:1rem;height:auto;width:1rem}.menu-horizontal :where(li.bordered>*){border-left-width:0px;border-bottom-width:4px}.menu-horizontal>:where(li:first-child){border-top-left-radius:inherit;border-top-right-radius:unset;border-bottom-right-radius:unset;border-bottom-left-radius:inherit}.menu-horizontal>:where(li:first-child)>:where(*:not(ul)){border-top-left-radius:inherit;border-top-right-radius:unset;border-bottom-right-radius:unset;border-bottom-left-radius:inherit}.menu-horizontal>:where(li:last-child){border-top-left-radius:unset;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:unset}.menu-horizontal>:where(li:last-child)>:where(*:not(ul)){border-top-left-radius:unset;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:unset}.modal-bottom :where(.modal-box){width:100%;max-width:none;--tw-translate-y: 2.5rem;--tw-scale-x: 1;--tw-scale-y: 1;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));border-bottom-right-radius:0;border-bottom-left-radius:0}.modal-middle :where(.modal-box){width:91.666667%;max-width:32rem;--tw-translate-y: 0px;--tw-scale-x: .9;--tw-scale-y: .9;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));border-bottom-left-radius:var(--rounded-box, 1rem);border-bottom-right-radius:var(--rounded-box, 1rem)}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.-left-20{left:-5rem}.right-0{right:0}.right-2{right:.5rem}.top-0{top:0}.top-2{top:.5rem}.z-10{z-index:10}.z-50{z-index:50}.float-right{float:right}.m-1{margin:.25rem}.m-5{margin:1.25rem}.mx-0{margin-left:0;margin-right:0}.mx-0\.5{margin-left:.125rem;margin-right:.125rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-28{margin-left:7rem;margin-right:7rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-48{margin-bottom:12rem}.mb-5{margin-bottom:1.25rem}.ml-1{margin-left:.25rem}.ml-24{margin-left:6rem}.ml-px{margin-left:1px}.mr-0{margin-right:0}.mr-0\.5{margin-right:.125rem}.mr-5{margin-right:1.25rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-28{margin-top:7rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.flex{display:flex}.table{display:table}.grid{display:grid}.contents{display:contents}.h-16{height:4rem}.h-32{height:8rem}.h-44{height:11rem}.h-\[40vh\]{height:40vh}.h-\[70vh\]{height:70vh}.h-auto{height:auto}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-screen{height:100vh}.max-h-max{max-height:-moz-max-content;max-height:max-content}.min-h-\[490px\]{min-height:490px}.min-h-\[667px\]{min-height:667px}.w-1\/2{width:50%}.w-1\/5{width:20%}.w-16{width:4rem}.w-2\/5{width:40%}.w-28{width:7rem}.w-32{width:8rem}.w-4\/5{width:80%}.w-52{width:13rem}.w-\[400px\]{width:400px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-grow{flex-grow:1}.basis-1\/4{flex-basis:25%}.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))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.content-around{align-content:space-around}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.gap-1{gap:.25rem}.gap-12{gap:3rem}.gap-28{gap:7rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-b-2{border-bottom-width:2px}.border-t-2{border-top-width:2px}.border-\[\#11D9C5\],.border-\[\#11d9c5\]{--tw-border-opacity: 1;border-color:rgb(17 217 197 / var(--tw-border-opacity))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-white\/50{border-color:#ffffff80}.border-zinc-600{--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity))}.bg-\[\#11D9C5\]{--tw-bg-opacity: 1;background-color:rgb(17 217 197 / var(--tw-bg-opacity))}.bg-base-100{--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-orange-400{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-zinc-200{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.object-center{-o-object-position:center;object-position:center}.p-0{padding:0}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-10{padding-bottom:2.5rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.normal-case{text-transform:none}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-gray-950{--tw-text-opacity: 1;color:rgb(3 7 18 / var(--tw-text-opacity))}.text-green-300{--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-lime-700{--tw-text-opacity: 1;color:rgb(77 124 15 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.no-underline{text-decoration-line:none}.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)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-gray-500\/50{--tw-shadow-color: rgb(107 114 128 / .5);--tw-shadow: var(--tw-shadow-colored)}body{transition:background-color .2s ease-in-out,color .2s ease-in-out;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(.dark body){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background:white}::-webkit-scrollbar-thumb{background:black}::-webkit-scrollbar-thumb:hover{background:black}@media (min-width: 640px){.sm\:modal-middle{align-items:center}.sm\:modal-middle :where(.modal-box){width:91.666667%;max-width:32rem;--tw-translate-y: 0px;--tw-scale-x: .9;--tw-scale-y: .9;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));border-bottom-left-radius:var(--rounded-box, 1rem);border-bottom-right-radius:var(--rounded-box, 1rem)}}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-slate-200:hover{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.hover\:bg-slate-600:hover{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.hover\:text-gray-200:hover{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.active\:bg-gray-200:active{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.active\:bg-gray-700:active{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.active\:bg-slate-500:active{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}:is(.dark .dark\:border-green-400){--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-600){--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity))}:is(.dark .dark\:bg-gray-300){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:text-black){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-100){--tw-text-opacity: 1;color:rgb(220 252 231 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-300){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-200){--tw-text-opacity: 1;color:rgb(254 240 138 / var(--tw-text-opacity))}:is(.dark .dark\:shadow-green-300\/30){--tw-shadow-color: rgb(134 239 172 / .3);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-green-300\/80){--tw-shadow-color: rgb(134 239 172 / .8);--tw-shadow: var(--tw-shadow-colored)} diff --git a/build/app/immutable/assets/_layout.209aa276.css b/build/app/immutable/assets/_layout.209aa276.css new file mode 100644 index 000000000..b9761ab98 --- /dev/null +++ b/build/app/immutable/assets/_layout.209aa276.css @@ -0,0 +1 @@ +@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/app/immutable/assets/inter-cyrillic-ext-400-normal.9508ee6d.woff2) format("woff2"),url(/app/immutable/assets/inter-cyrillic-ext-400-normal.91fac07b.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/app/immutable/assets/inter-cyrillic-400-normal.b75a5bf9.woff2) format("woff2"),url(/app/immutable/assets/inter-cyrillic-400-normal.cfcdf014.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/app/immutable/assets/inter-greek-ext-400-normal.6888cfd9.woff2) format("woff2"),url(/app/immutable/assets/inter-greek-ext-400-normal.a5fd4754.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/app/immutable/assets/inter-greek-400-normal.4d906204.woff2) format("woff2"),url(/app/immutable/assets/inter-greek-400-normal.752eec51.woff) format("woff");unicode-range:U+0370-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/app/immutable/assets/inter-vietnamese-400-normal.9fd231a7.woff2) format("woff2"),url(/app/immutable/assets/inter-vietnamese-400-normal.5b57714a.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/app/immutable/assets/inter-latin-ext-400-normal.56d25f40.woff2) format("woff2"),url(/app/immutable/assets/inter-latin-ext-400-normal.5578c98f.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/app/immutable/assets/inter-latin-400-normal.2301bb03.woff2) format("woff2"),url(/app/immutable/assets/inter-latin-400-normal.86efb4c9.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/app/immutable/assets/inter-cyrillic-ext-700-normal.17ce5967.woff2) format("woff2"),url(/app/immutable/assets/inter-cyrillic-ext-700-normal.4a150cf7.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/app/immutable/assets/inter-cyrillic-700-normal.6c49647a.woff2) format("woff2"),url(/app/immutable/assets/inter-cyrillic-700-normal.9d17d2c0.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/app/immutable/assets/inter-greek-ext-700-normal.096c17f3.woff2) format("woff2"),url(/app/immutable/assets/inter-greek-ext-700-normal.e185a74a.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/app/immutable/assets/inter-greek-700-normal.bc935eb1.woff2) format("woff2"),url(/app/immutable/assets/inter-greek-700-normal.a6ff4c36.woff) format("woff");unicode-range:U+0370-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/app/immutable/assets/inter-vietnamese-700-normal.d3e3a1c3.woff2) format("woff2"),url(/app/immutable/assets/inter-vietnamese-700-normal.bff14448.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/app/immutable/assets/inter-latin-ext-700-normal.c17e9995.woff2) format("woff2"),url(/app/immutable/assets/inter-latin-ext-700-normal.da2b2bd1.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/app/immutable/assets/inter-latin-700-normal.7b43cb86.woff2) format("woff2"),url(/app/immutable/assets/inter-latin-700-normal.eb518b64.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*,: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;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[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}:root,[data-theme]{background-color:hsla(var(--b1) / var(--tw-bg-opacity, 1));color:hsla(var(--bc) / var(--tw-text-opacity, 1))}html{-webkit-tap-highlight-color:transparent}:root{color-scheme:light;--pf: 258.89 94.378% 40.941%;--sf: 314 100% 37.647%;--af: 174 60% 40.784%;--nf: 219 14.085% 22.275%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 258.89 94.378% 51.176%;--pc: 0 0% 100%;--s: 314 100% 47.059%;--sc: 0 0% 100%;--a: 174 60% 50.98%;--ac: 174.71 43.59% 15.294%;--n: 219 14.085% 27.843%;--nc: 0 0% 100%;--b1: 0 0% 100%;--b2: 0 0% 94.902%;--b3: 180 1.9608% 90%;--bc: 215 27.907% 16.863%}@media (prefers-color-scheme: dark){:root{color-scheme:dark;--pf: 262.35 80.315% 40.157%;--sf: 315.75 70.196% 40%;--af: 174.69 70.335% 32.784%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 262.35 80.315% 50.196%;--pc: 0 0% 100%;--s: 315.75 70.196% 50%;--sc: 0 0% 100%;--a: 174.69 70.335% 40.98%;--ac: 0 0% 100%;--n: 218.18 18.033% 11.961%;--nf: 222.86 17.073% 8.0392%;--nc: 220 13.376% 69.216%;--b1: 220 17.647% 20%;--b2: 220 17.241% 17.059%;--b3: 218.57 17.949% 15.294%;--bc: 220 13.376% 69.216%}}[data-theme=light]{color-scheme:light;--pf: 258.89 94.378% 40.941%;--sf: 314 100% 37.647%;--af: 174 60% 40.784%;--nf: 219 14.085% 22.275%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 258.89 94.378% 51.176%;--pc: 0 0% 100%;--s: 314 100% 47.059%;--sc: 0 0% 100%;--a: 174 60% 50.98%;--ac: 174.71 43.59% 15.294%;--n: 219 14.085% 27.843%;--nc: 0 0% 100%;--b1: 0 0% 100%;--b2: 0 0% 94.902%;--b3: 180 1.9608% 90%;--bc: 215 27.907% 16.863%}[data-theme=dark]{color-scheme:dark;--pf: 262.35 80.315% 40.157%;--sf: 315.75 70.196% 40%;--af: 174.69 70.335% 32.784%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 262.35 80.315% 50.196%;--pc: 0 0% 100%;--s: 315.75 70.196% 50%;--sc: 0 0% 100%;--a: 174.69 70.335% 40.98%;--ac: 0 0% 100%;--n: 218.18 18.033% 11.961%;--nf: 222.86 17.073% 8.0392%;--nc: 220 13.376% 69.216%;--b1: 220 17.647% 20%;--b2: 220 17.241% 17.059%;--b3: 218.57 17.949% 15.294%;--bc: 220 13.376% 69.216%}[data-theme=cupcake]{color-scheme:light;--pf: 183.03 47.368% 47.216%;--sf: 338.25 71.429% 62.431%;--af: 39 84.112% 46.431%;--nf: 280 46.479% 11.137%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 183.03 100% 11.804%;--sc: 338.25 100% 15.608%;--ac: 39 100% 11.608%;--nc: 280 82.688% 82.784%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--p: 183.03 47.368% 59.02%;--s: 338.25 71.429% 78.039%;--a: 39 84.112% 58.039%;--n: 280 46.479% 13.922%;--b1: 24 33.333% 97.059%;--b2: 26.667 21.951% 91.961%;--b3: 22.5 14.286% 89.02%;--bc: 280 46.479% 13.922%;--rounded-btn: 1.9rem;--tab-border: 2px;--tab-radius: .5rem}[data-theme=bumblebee]{color-scheme:light;--pf: 41.124 74.167% 42.353%;--sf: 49.901 94.393% 46.431%;--af: 240 33.333% 11.294%;--nf: 240 33.333% 11.294%;--b2: 0 0% 90%;--b3: 0 0% 81%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--bc: 0 0% 20%;--ac: 240 60.274% 82.824%;--nc: 240 60.274% 82.824%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 41.124 74.167% 52.941%;--pc: 240 33.333% 14.118%;--s: 49.901 94.393% 58.039%;--sc: 240 33.333% 14.118%;--a: 240 33.333% 14.118%;--n: 240 33.333% 14.118%;--b1: 0 0% 100%}[data-theme=emerald]{color-scheme:light;--pf: 141.18 50% 48%;--sf: 218.88 96.078% 48%;--af: 9.8901 81.25% 44.863%;--nf: 219.23 20.312% 20.078%;--b2: 0 0% 90%;--b3: 0 0% 81%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--btn-text-case: uppercase;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 141.18 50% 60%;--pc: 151.11 28.421% 18.627%;--s: 218.88 96.078% 60%;--sc: 210 20% 98.039%;--a: 9.8901 81.25% 56.078%;--ac: 210 20% 98.039%;--n: 219.23 20.312% 25.098%;--nc: 210 20% 98.039%;--b1: 0 0% 100%;--bc: 219.23 20.312% 25.098%;--animation-btn: 0;--animation-input: 0;--btn-focus-scale: 1}[data-theme=corporate]{color-scheme:light;--pf: 229.09 95.652% 51.137%;--sf: 214.91 26.316% 47.216%;--af: 154.2 49.02% 48%;--nf: 233.33 27.273% 10.353%;--b2: 0 0% 90%;--b3: 0 0% 81%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 229.09 100% 92.784%;--sc: 214.91 100% 11.804%;--ac: 154.2 100% 12%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--btn-text-case: uppercase;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 229.09 95.652% 63.922%;--s: 214.91 26.316% 59.02%;--a: 154.2 49.02% 60%;--n: 233.33 27.273% 12.941%;--nc: 210 38.462% 94.902%;--b1: 0 0% 100%;--bc: 233.33 27.273% 12.941%;--rounded-box: .25rem;--rounded-btn: .125rem;--rounded-badge: .125rem;--animation-btn: 0;--animation-input: 0;--btn-focus-scale: 1}[data-theme=synthwave]{color-scheme:dark;--pf: 320.73 69.62% 55.216%;--sf: 197.03 86.592% 51.922%;--af: 48 89.041% 45.647%;--nf: 253.22 60.825% 15.216%;--b2: 253.85 59.091% 23.294%;--b3: 253.85 59.091% 20.965%;--pc: 320.73 100% 13.804%;--sc: 197.03 100% 12.98%;--ac: 48 100% 11.412%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 320.73 69.62% 69.02%;--s: 197.03 86.592% 64.902%;--a: 48 89.041% 57.059%;--n: 253.22 60.825% 19.02%;--nc: 260 60% 98.039%;--b1: 253.85 59.091% 25.882%;--bc: 260 60% 98.039%;--in: 199.13 86.957% 63.922%;--inc: 257.45 63.218% 17.059%;--su: 168.1 74.233% 68.039%;--suc: 257.45 63.218% 17.059%;--wa: 48 89.041% 57.059%;--wac: 257.45 63.218% 17.059%;--er: 351.85 73.636% 56.863%;--erc: 260 60% 98.039%}[data-theme=retro]{color-scheme:light;--pf: 2.6667 73.77% 60.863%;--sf: 144.62 27.273% 57.569%;--af: 49.024 67.213% 60.863%;--nf: 41.667 16.822% 33.569%;--inc: 221.21 100% 90.667%;--suc: 142.13 100% 87.255%;--wac: 32.133 100% 8.7451%;--erc: 0 100% 90.118%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 2.6667 73.77% 76.078%;--pc: 345 5.2632% 14.902%;--s: 144.62 27.273% 71.961%;--sc: 345 5.2632% 14.902%;--a: 49.024 67.213% 76.078%;--ac: 345 5.2632% 14.902%;--n: 41.667 16.822% 41.961%;--nc: 45 47.059% 80%;--b1: 45 47.059% 80%;--b2: 45.283 37.063% 71.961%;--b3: 42.188 35.955% 65.098%;--bc: 345 5.2632% 14.902%;--in: 221.21 83.193% 53.333%;--su: 142.13 76.216% 36.275%;--wa: 32.133 94.619% 43.725%;--er: 0 72.222% 50.588%;--rounded-box: .4rem;--rounded-btn: .4rem;--rounded-badge: .4rem}[data-theme=cyberpunk]{color-scheme:light;--pf: 344.78 100% 58.353%;--sf: 195.12 80.392% 56%;--af: 276 74.324% 56.784%;--nf: 57.273 100% 10.353%;--b2: 56 100% 45%;--b3: 56 100% 40.5%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--bc: 56 100% 10%;--pc: 344.78 100% 14.588%;--sc: 195.12 100% 14%;--ac: 276 100% 14.196%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;--p: 344.78 100% 72.941%;--s: 195.12 80.392% 70%;--a: 276 74.324% 70.98%;--n: 57.273 100% 12.941%;--nc: 56 100% 50%;--b1: 56 100% 50%;--rounded-box: 0;--rounded-btn: 0;--rounded-badge: 0;--tab-radius: 0}[data-theme=valentine]{color-scheme:light;--pf: 353.23 73.81% 53.647%;--sf: 254.12 86.441% 61.49%;--af: 181.41 55.556% 56%;--nf: 336 42.857% 38.431%;--b2: 318.46 46.429% 80.118%;--b3: 318.46 46.429% 72.106%;--pc: 353.23 100% 13.412%;--sc: 254.12 100% 15.373%;--ac: 181.41 100% 14%;--inc: 221.21 100% 90.667%;--suc: 142.13 100% 87.255%;--wac: 32.133 100% 8.7451%;--erc: 0 100% 90.118%;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 353.23 73.81% 67.059%;--s: 254.12 86.441% 76.863%;--a: 181.41 55.556% 70%;--n: 336 42.857% 48.039%;--nc: 318.46 46.429% 89.02%;--b1: 318.46 46.429% 89.02%;--bc: 343.64 38.462% 28.039%;--in: 221.21 83.193% 53.333%;--su: 142.13 76.216% 36.275%;--wa: 32.133 94.619% 43.725%;--er: 0 72.222% 50.588%;--rounded-btn: 1.9rem}[data-theme=halloween]{color-scheme:dark;--pf: 31.927 89.344% 41.725%;--sf: 271.22 45.794% 33.569%;--af: 91.071 100% 26.353%;--nf: 180 3.5714% 8.7843%;--b2: 0 0% 11.647%;--b3: 0 0% 10.482%;--bc: 0 0% 82.588%;--sc: 271.22 100% 88.392%;--ac: 91.071 100% 6.5882%;--nc: 180 4.8458% 82.196%;--inc: 221.21 100% 90.667%;--suc: 142.13 100% 87.255%;--wac: 32.133 100% 8.7451%;--erc: 0 100% 90.118%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 31.927 89.344% 52.157%;--pc: 180 7.3171% 8.0392%;--s: 271.22 45.794% 41.961%;--a: 91.071 100% 32.941%;--n: 180 3.5714% 10.98%;--b1: 0 0% 12.941%;--in: 221.21 83.193% 53.333%;--su: 142.13 76.216% 36.275%;--wa: 32.133 94.619% 43.725%;--er: 0 72.222% 50.588%}[data-theme=garden]{color-scheme:light;--pf: 138.86 15.982% 34.353%;--sf: 96.923 37.143% 74.51%;--af: 0 67.742% 75.137%;--nf: 0 3.9106% 28.078%;--b2: 0 4.3478% 81.882%;--b3: 0 4.3478% 73.694%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 138.86 100% 88.588%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 138.86 15.982% 42.941%;--s: 96.923 37.143% 93.137%;--sc: 96 32.468% 15.098%;--a: 0 67.742% 93.922%;--ac: 0 21.951% 16.078%;--n: 0 3.9106% 35.098%;--nc: 0 4.3478% 90.98%;--b1: 0 4.3478% 90.98%;--bc: 0 3.2258% 6.0784%}[data-theme=forest]{color-scheme:dark;--pf: 141.04 71.963% 33.569%;--sf: 140.98 74.694% 38.431%;--af: 35.148 68.98% 41.569%;--nf: 0 9.6774% 4.8627%;--b2: 0 12.195% 7.2353%;--b3: 0 12.195% 6.5118%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--bc: 0 11.727% 81.608%;--sc: 140.98 100% 9.6078%;--ac: 35.148 100% 10.392%;--nc: 0 6.8894% 81.216%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 141.04 71.963% 41.961%;--pc: 140.66 100% 88.039%;--s: 140.98 74.694% 48.039%;--a: 35.148 68.98% 51.961%;--n: 0 9.6774% 6.0784%;--b1: 0 12.195% 8.0392%;--rounded-btn: 1.9rem}[data-theme=aqua]{color-scheme:dark;--pf: 181.79 92.857% 39.529%;--sf: 274.41 30.909% 45.49%;--af: 47.059 100% 64%;--nf: 205.4 53.725% 40%;--b2: 218.61 52.511% 38.647%;--b3: 218.61 52.511% 34.782%;--bc: 218.61 100% 88.588%;--sc: 274.41 100% 91.373%;--ac: 47.059 100% 16%;--nc: 205.4 100% 90%;--inc: 221.21 100% 90.667%;--suc: 142.13 100% 87.255%;--wac: 32.133 100% 8.7451%;--erc: 0 100% 90.118%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 181.79 92.857% 49.412%;--pc: 181.41 100% 16.667%;--s: 274.41 30.909% 56.863%;--a: 47.059 100% 80%;--n: 205.4 53.725% 50%;--b1: 218.61 52.511% 42.941%;--in: 221.21 83.193% 53.333%;--su: 142.13 76.216% 36.275%;--wa: 32.133 94.619% 43.725%;--er: 0 72.222% 50.588%}[data-theme=lofi]{color-scheme:light;--pf: 0 0% 4.0784%;--sf: 0 1.9608% 8%;--af: 0 0% 11.922%;--nf: 0 0% 0%;--btn-text-case: uppercase;--border-btn: 1px;--tab-border: 1px;--p: 0 0% 5.098%;--pc: 0 0% 100%;--s: 0 1.9608% 10%;--sc: 0 0% 100%;--a: 0 0% 14.902%;--ac: 0 0% 100%;--n: 0 0% 0%;--nc: 0 0% 100%;--b1: 0 0% 100%;--b2: 0 0% 94.902%;--b3: 0 1.9608% 90%;--bc: 0 0% 0%;--in: 212.35 100% 47.647%;--inc: 0 0% 100%;--su: 136.84 72.152% 46.471%;--suc: 0 0% 100%;--wa: 4.5614 100% 66.471%;--wac: 0 0% 100%;--er: 325.05 77.6% 49.02%;--erc: 0 0% 100%;--rounded-box: .25rem;--rounded-btn: .125rem;--rounded-badge: .125rem;--animation-btn: 0;--animation-input: 0;--btn-focus-scale: 1;--tab-radius: 0}[data-theme=pastel]{color-scheme:light;--pf: 283.64 21.569% 64%;--sf: 351.63 70.492% 70.431%;--af: 158.49 54.639% 64.784%;--nf: 198.62 43.719% 48.784%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--bc: 0 0% 20%;--pc: 283.64 59.314% 16%;--sc: 351.63 100% 17.608%;--ac: 158.49 100% 16.196%;--nc: 198.62 100% 12.196%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 283.64 21.569% 80%;--s: 351.63 70.492% 88.039%;--a: 158.49 54.639% 80.98%;--n: 198.62 43.719% 60.98%;--b1: 0 0% 100%;--b2: 210 20% 98.039%;--b3: 216 12.195% 83.922%;--rounded-btn: 1.9rem}[data-theme=fantasy]{color-scheme:light;--pf: 296.04 82.813% 20.078%;--sf: 200 100% 29.647%;--af: 30.894 94.378% 40.941%;--nf: 215 27.907% 13.49%;--b2: 0 0% 90%;--b3: 0 0% 81%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 296.04 100% 85.02%;--sc: 200 100% 87.412%;--ac: 30.894 100% 10.235%;--nc: 215 62.264% 83.373%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 296.04 82.813% 25.098%;--s: 200 100% 37.059%;--a: 30.894 94.378% 51.176%;--n: 215 27.907% 16.863%;--b1: 0 0% 100%;--bc: 215 27.907% 16.863%}[data-theme=wireframe]{color-scheme:light;--pf: 0 0% 57.725%;--sf: 0 0% 57.725%;--af: 0 0% 57.725%;--nf: 0 0% 73.725%;--bc: 0 0% 20%;--pc: 0 0% 14.431%;--sc: 0 0% 14.431%;--ac: 0 0% 14.431%;--nc: 0 0% 18.431%;--inc: 240 100% 90%;--suc: 120 100% 85.02%;--wac: 60 100% 10%;--erc: 0 100% 90%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;font-family:Chalkboard,comic sans ms,sanssecondaryerif;--p: 0 0% 72.157%;--s: 0 0% 72.157%;--a: 0 0% 72.157%;--n: 0 0% 92.157%;--b1: 0 0% 100%;--b2: 0 0% 93.333%;--b3: 0 0% 86.667%;--in: 240 100% 50%;--su: 120 100% 25.098%;--wa: 60 30.196% 50%;--er: 0 100% 50%;--rounded-box: .2rem;--rounded-btn: .2rem;--rounded-badge: .2rem;--tab-radius: .2rem}[data-theme=black]{color-scheme:dark;--pf: 0 1.9608% 16%;--sf: 0 1.9608% 16%;--af: 0 1.9608% 16%;--bc: 0 0% 80%;--pc: 0 5.3922% 84%;--sc: 0 5.3922% 84%;--ac: 0 5.3922% 84%;--nc: 0 2.5404% 83.02%;--inc: 240 100% 90%;--suc: 120 100% 85.02%;--wac: 60 100% 10%;--erc: 0 100% 90%;--border-btn: 1px;--tab-border: 1px;--p: 0 1.9608% 20%;--s: 0 1.9608% 20%;--a: 0 1.9608% 20%;--b1: 0 0% 0%;--b2: 0 0% 5.098%;--b3: 0 1.9608% 10%;--n: 0 1.2987% 15.098%;--nf: 0 1.9608% 20%;--in: 240 100% 50%;--su: 120 100% 25.098%;--wa: 60 100% 50%;--er: 0 100% 50%;--rounded-box: 0;--rounded-btn: 0;--rounded-badge: 0;--animation-btn: 0;--animation-input: 0;--btn-text-case: lowercase;--btn-focus-scale: 1;--tab-radius: 0}[data-theme=luxury]{color-scheme:dark;--pf: 0 0% 80%;--sf: 218.4 54.348% 14.431%;--af: 318.62 21.805% 20.863%;--nf: 270 4.3478% 7.2157%;--pc: 0 0% 20%;--sc: 218.4 100% 83.608%;--ac: 318.62 84.615% 85.216%;--inc: 202.35 100% 14%;--suc: 89.007 100% 10.392%;--wac: 53.906 100% 12.706%;--erc: 0 100% 14.353%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 0 0% 100%;--s: 218.4 54.348% 18.039%;--a: 318.62 21.805% 26.078%;--n: 270 4.3478% 9.0196%;--nc: 37.083 67.29% 58.039%;--b1: 240 10% 3.9216%;--b2: 270 4.3478% 9.0196%;--b3: 270 2.1739% 18.039%;--bc: 37.083 67.29% 58.039%;--in: 202.35 100% 70%;--su: 89.007 61.633% 51.961%;--wa: 53.906 68.817% 63.529%;--er: 0 100% 71.765%}[data-theme=dracula]{color-scheme:dark;--pf: 325.52 100% 58.98%;--sf: 264.71 89.474% 62.118%;--af: 31.02 100% 56.941%;--nf: 229.57 15.033% 24%;--b2: 231.43 14.894% 16.588%;--b3: 231.43 14.894% 14.929%;--pc: 325.52 100% 14.745%;--sc: 264.71 100% 15.529%;--ac: 31.02 100% 14.235%;--nc: 229.57 70.868% 86%;--inc: 190.53 100% 15.373%;--suc: 135.18 100% 12.941%;--wac: 64.909 100% 15.294%;--erc: 0 100% 93.333%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 325.52 100% 73.725%;--s: 264.71 89.474% 77.647%;--a: 31.02 100% 71.176%;--n: 229.57 15.033% 30%;--b1: 231.43 14.894% 18.431%;--bc: 60 30% 96.078%;--in: 190.53 96.61% 76.863%;--su: 135.18 94.444% 64.706%;--wa: 64.909 91.667% 76.471%;--er: 0 100% 66.667%}[data-theme=cmyk]{color-scheme:light;--pf: 202.72 83.251% 48.157%;--sf: 335.25 77.67% 47.686%;--af: 56.195 100% 47.843%;--nf: 0 0% 8.1569%;--b2: 0 0% 90%;--b3: 0 0% 81%;--bc: 0 0% 20%;--pc: 202.72 100% 12.039%;--sc: 335.25 100% 91.922%;--ac: 56.195 100% 11.961%;--nc: 0 0% 82.039%;--inc: 192.2 100% 10.431%;--suc: 291.06 100% 87.608%;--wac: 25.027 100% 11.333%;--erc: 3.956 100% 91.137%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 202.72 83.251% 60.196%;--s: 335.25 77.67% 59.608%;--a: 56.195 100% 59.804%;--n: 0 0% 10.196%;--b1: 0 0% 100%;--in: 192.2 48.361% 52.157%;--su: 291.06 48.454% 38.039%;--wa: 25.027 84.615% 56.667%;--er: 3.956 80.531% 55.686%}[data-theme=autumn]{color-scheme:light;--pf: 344.23 95.804% 22.431%;--sf: .44444 63.38% 46.588%;--af: 27.477 56.021% 50.039%;--nf: 22.105 17.117% 34.824%;--b2: 0 0% 85.059%;--b3: 0 0% 76.553%;--bc: 0 0% 18.902%;--pc: 344.23 100% 85.608%;--sc: .44444 100% 91.647%;--ac: 27.477 100% 12.51%;--nc: 22.105 100% 88.706%;--inc: 186.94 100% 9.9216%;--suc: 164.59 100% 8.6275%;--wac: 30.141 100% 9.9216%;--erc: 353.6 100% 89.765%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 344.23 95.804% 28.039%;--s: .44444 63.38% 58.235%;--a: 27.477 56.021% 62.549%;--n: 22.105 17.117% 43.529%;--b1: 0 0% 94.51%;--in: 186.94 47.826% 49.608%;--su: 164.59 33.636% 43.137%;--wa: 30.141 84.19% 49.608%;--er: 353.6 79.116% 48.824%}[data-theme=business]{color-scheme:dark;--pf: 210 64.103% 24.471%;--sf: 200 12.931% 43.608%;--af: 12.515 79.512% 47.843%;--nf: 212.73 13.58% 12.706%;--b2: 0 0% 11.294%;--b3: 0 0% 10.165%;--bc: 0 0% 82.51%;--pc: 210 100% 86.118%;--sc: 200 100% 10.902%;--ac: 12.515 100% 11.961%;--nc: 212.73 28.205% 83.176%;--inc: 199.15 100% 88.353%;--suc: 144 100% 11.137%;--wac: 39.231 100% 12.078%;--erc: 6.3415 100% 88.667%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 210 64.103% 30.588%;--s: 200 12.931% 54.51%;--a: 12.515 79.512% 59.804%;--n: 212.73 13.58% 15.882%;--b1: 0 0% 12.549%;--in: 199.15 100% 41.765%;--su: 144 30.973% 55.686%;--wa: 39.231 64.356% 60.392%;--er: 6.3415 55.656% 43.333%;--rounded-box: .25rem;--rounded-btn: .125rem;--rounded-badge: .125rem}[data-theme=acid]{color-scheme:light;--pf: 302.59 100% 40%;--sf: 27.294 100% 40%;--af: 72 98.425% 40.157%;--nf: 238.42 43.182% 13.804%;--b2: 0 0% 88.235%;--b3: 0 0% 79.412%;--bc: 0 0% 19.608%;--pc: 302.59 100% 90%;--sc: 27.294 100% 10%;--ac: 72 100% 10.039%;--nc: 238.42 99.052% 83.451%;--inc: 209.85 100% 11.569%;--suc: 148.87 100% 11.608%;--wac: 52.574 100% 11.451%;--erc: .78261 100% 89.02%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 302.59 100% 50%;--s: 27.294 100% 50%;--a: 72 98.425% 50.196%;--n: 238.42 43.182% 17.255%;--b1: 0 0% 98.039%;--in: 209.85 91.628% 57.843%;--su: 148.87 49.533% 58.039%;--wa: 52.574 92.661% 57.255%;--er: .78261 100% 45.098%;--rounded-box: 1.25rem;--rounded-btn: 1rem;--rounded-badge: 1rem}[data-theme=lemonade]{color-scheme:light;--pf: 88.8 96.154% 24.471%;--sf: 60 80.952% 43.765%;--af: 62.553 79.661% 70.745%;--nf: 238.42 43.182% 13.804%;--b2: 0 0% 90%;--b3: 0 0% 81%;--bc: 0 0% 20%;--pc: 88.8 100% 86.118%;--sc: 60 100% 10.941%;--ac: 62.553 100% 17.686%;--nc: 238.42 99.052% 83.451%;--inc: 191.61 79.118% 16.902%;--suc: 74.458 100% 15.725%;--wac: 50.182 100% 15.059%;--erc: .98361 100% 16.588%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 88.8 96.154% 30.588%;--s: 60 80.952% 54.706%;--a: 62.553 79.661% 88.431%;--n: 238.42 43.182% 17.255%;--b1: 0 0% 100%;--in: 191.61 39.241% 84.51%;--su: 74.458 76.147% 78.627%;--wa: 50.182 87.302% 75.294%;--er: .98361 70.115% 82.941%}[data-theme=night]{color-scheme:dark;--pf: 198.44 93.204% 47.686%;--sf: 234.45 89.474% 59.137%;--af: 328.85 85.621% 56%;--b2: 222.22 47.368% 10.059%;--b3: 222.22 47.368% 9.0529%;--bc: 222.22 65.563% 82.235%;--pc: 198.44 100% 11.922%;--sc: 234.45 100% 14.784%;--ac: 328.85 100% 14%;--nc: 217.24 75.772% 83.49%;--inc: 198.46 100% 9.6078%;--suc: 172.46 100% 10.078%;--wac: 40.61 100% 12.706%;--erc: 350.94 100% 14.235%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 198.44 93.204% 59.608%;--s: 234.45 89.474% 73.922%;--a: 328.85 85.621% 70%;--n: 217.24 32.584% 17.451%;--nf: 217.06 30.357% 21.961%;--b1: 222.22 47.368% 11.176%;--in: 198.46 90.204% 48.039%;--su: 172.46 66.008% 50.392%;--wa: 40.61 88.172% 63.529%;--er: 350.94 94.558% 71.176%}[data-theme=coffee]{color-scheme:dark;--pf: 29.583 66.667% 46.118%;--sf: 182.4 24.752% 15.843%;--af: 194.19 74.4% 19.608%;--nf: 300 20% 4.7059%;--b2: 306 18.519% 9.5294%;--b3: 306 18.519% 8.5765%;--pc: 29.583 100% 11.529%;--sc: 182.4 67.237% 83.961%;--ac: 194.19 100% 84.902%;--nc: 300 13.75% 81.176%;--inc: 171.15 100% 13.451%;--suc: 92.5 100% 12.471%;--wac: 43.125 100% 13.725%;--erc: 9.7561 100% 14.941%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 29.583 66.667% 57.647%;--s: 182.4 24.752% 19.804%;--a: 194.19 74.4% 24.51%;--n: 300 20% 5.8824%;--b1: 306 18.519% 10.588%;--bc: 36.667 8.3333% 42.353%;--in: 171.15 36.527% 67.255%;--su: 92.5 25% 62.353%;--wa: 43.125 100% 68.627%;--er: 9.7561 95.349% 74.706%}[data-theme=winter]{color-scheme:light;--pf: 211.79 100% 40.627%;--sf: 246.92 47.273% 34.51%;--af: 310.41 49.388% 41.569%;--nf: 217.02 92.157% 8%;--pc: 211.79 100% 90.157%;--sc: 246.92 100% 88.627%;--ac: 310.41 100% 90.392%;--nc: 217.02 100% 82%;--inc: 191.54 100% 15.608%;--suc: 181.5 100% 13.255%;--wac: 32.308 100% 16.706%;--erc: 0 100% 14.431%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 211.79 100% 50.784%;--s: 246.92 47.273% 43.137%;--a: 310.41 49.388% 51.961%;--n: 217.02 92.157% 10%;--b1: 0 0% 100%;--b2: 216.92 100% 97.451%;--b3: 218.82 43.59% 92.353%;--bc: 214.29 30.061% 31.961%;--in: 191.54 92.857% 78.039%;--su: 181.5 46.512% 66.275%;--wa: 32.308 61.905% 83.529%;--er: 0 63.38% 72.157%}html,body{overflow-y:hidden}html{font-family:Inter;height:600px;width:350px}body{transition:background-color .2s ease-in-out,color .2s ease-in-out;--tw-bg-opacity: 1;background-color:rgb(34 41 68 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(:where(.dark) body){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}body{overflow:hidden;height:100%;width:100%}*,: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: }::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: }.alert{display:flex;width:100%;flex-direction:column;align-items:center;justify-content:space-between;gap:1rem;--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));padding:1rem;border-radius:var(--rounded-box, 1rem)}.alert>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}@media (min-width: 768px){.alert{flex-direction:row}.alert>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}}.alert>:where(*){display:flex;align-items:center;gap:.5rem}.avatar{position:relative;display:inline-flex}.avatar>div{display:block;aspect-ratio:1 / 1;overflow:hidden}.avatar img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover}.avatar.placeholder>div{display:flex;align-items:center;justify-content:center}.btn{display:inline-flex;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-wrap:wrap;align-items:center;justify-content:center;border-color:transparent;border-color:hsl(var(--n) / var(--tw-border-opacity));text-align:center;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-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);border-radius:var(--rounded-btn, .5rem);height:3rem;padding-left:1rem;padding-right:1rem;font-size:.875rem;line-height:1.25rem;line-height:1em;min-height:3rem;font-weight:600;text-transform:uppercase;text-transform:var(--btn-text-case, uppercase);text-decoration-line:none;border-width:var(--border-btn, 1px);animation:button-pop var(--animation-btn, .25s) ease-out;--tw-border-opacity: 1;--tw-bg-opacity: 1;background-color:hsl(var(--n) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--nc) / var(--tw-text-opacity))}.btn-disabled,.btn[disabled]{pointer-events:none}.btn-circle{height:3rem;width:3rem;border-radius:9999px;padding:0}.btn.loading,.btn.loading:hover{pointer-events:none}.btn.loading:before{margin-right:.5rem;height:1rem;width:1rem;border-radius:9999px;border-width:2px;animation:spin 2s linear infinite;content:"";border-top-color:transparent;border-left-color:transparent;border-bottom-color:currentColor;border-right-color:currentColor}@media (prefers-reduced-motion: reduce){.btn.loading:before{animation:spin 10s linear infinite}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.btn-group>input[type=radio].btn{-webkit-appearance:none;-moz-appearance:none;appearance:none}.btn-group>input[type=radio].btn:before{content:attr(data-title)}.checkbox{flex-shrink:0;--chkbg: var(--bc);--chkfg: var(--b1);height:1.5rem;width:1.5rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: .2;border-radius:var(--rounded-btn, .5rem)}.divider{display:flex;flex-direction:row;align-items:center;align-self:stretch;margin-top:1rem;margin-bottom:1rem;height:1rem;white-space:nowrap}.divider:before,.divider:after{content:"";flex-grow:1;height:.125rem;width:100%}.form-control{display:flex;flex-direction:column}.label{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:space-between;padding:.5rem .25rem}.input{flex-shrink:1;height:3rem;padding-left:1rem;padding-right:1rem;font-size:1rem;line-height:2;line-height:1.5rem;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 0;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));border-radius:var(--rounded-btn, .5rem)}.input-group>.input{isolation:isolate}.input-group>*,.input-group>.input,.input-group>.textarea,.input-group>.select{border-radius:0}.link{cursor:pointer;text-decoration-line:underline}.mask{-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.menu{display:flex;flex-direction:column;flex-wrap:wrap}.menu.horizontal{display:inline-flex;flex-direction:row}.menu.horizontal :where(li){flex-direction:row}:where(.menu li){position:relative;display:flex;flex-shrink:0;flex-direction:column;flex-wrap:wrap;align-items:stretch}.menu :where(li:not(.menu-title))>:where(*:not(ul)){display:flex}.menu :where(li:not(.disabled):not(.menu-title))>:where(*:not(ul)){cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;outline:2px solid transparent;outline-offset:2px}.menu>:where(li>*:not(ul):focus){outline:2px solid transparent;outline-offset:2px}.menu>:where(li.disabled>*:not(ul):focus){cursor:auto}.menu>:where(li) :where(ul){display:flex;flex-direction:column;align-items:stretch}.menu>:where(li)>:where(ul){position:absolute;display:none;top:initial;left:100%;border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li:hover)>:where(ul){display:flex}.menu>:where(li:focus)>:where(ul){display:flex}.modal{pointer-events:none;visibility:hidden;position:fixed;inset:0;display:flex;justify-content:center;opacity:0;z-index:999;background-color:hsl(var(--nf, var(--n)) / var(--tw-bg-opacity));--tw-bg-opacity: .4;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:transform,opacity,visibility;overflow-y:hidden;overscroll-behavior:contain}:where(.modal){align-items:center}.modal-box{max-height:calc(100vh - 5em);--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));padding:1.5rem;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-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);width:91.666667%;max-width:32rem;--tw-scale-x: .9;--tw-scale-y: .9;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));border-top-left-radius:var(--rounded-box, 1rem);border-top-right-radius:var(--rounded-box, 1rem);border-bottom-left-radius:var(--rounded-box, 1rem);border-bottom-right-radius:var(--rounded-box, 1rem);box-shadow:0 25px 50px -12px #00000040;overflow-y:auto;overscroll-behavior:contain}.modal-open,.modal:target,.modal-toggle:checked+.modal{pointer-events:auto;visibility:visible;opacity:1}.modal-action{display:flex;margin-top:1.5rem;justify-content:flex-end}.modal-toggle{position:fixed;height:0px;width:0px;-webkit-appearance:none;-moz-appearance:none;appearance:none;opacity:0}.navbar{display:flex;align-items:center;padding:var(--navbar-padding, .5rem);min-height:4rem;width:100%}:where(.navbar>*){display:inline-flex;align-items:center}.progress{position:relative;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;height:.5rem;border-radius:var(--rounded-box, 1rem)}.radio{flex-shrink:0;--chkbg: var(--bc);height:1.5rem;width:1.5rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:9999px;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: .2}.rating{position:relative;display:inline-flex}.rating :where(input){cursor:pointer;border-radius:0;animation:rating-pop var(--animation-input, .25s) ease-out;height:1.5rem;width:1.5rem;background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: 1}.select{display:inline-flex;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:3rem;padding-left:1rem;padding-right:2.5rem;font-size:.875rem;line-height:1.25rem;line-height:2;min-height:3rem;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 0;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));font-weight:600;border-radius:var(--rounded-btn, .5rem);background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 20px) calc(1px + 50%),calc(100% - 16px) calc(1px + 50%);background-size:4px 4px,4px 4px;background-repeat:no-repeat}.select[multiple]{height:auto}.tabs{display:flex;flex-wrap:wrap;align-items:flex-end}.tab{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-wrap:wrap;align-items:center;justify-content:center;text-align:center;height:2rem;font-size:.875rem;line-height:1.25rem;line-height:2;--tab-padding: 1rem;--tw-text-opacity: .5;--tab-color: hsla(var(--bc) / var(--tw-text-opacity, 1));--tab-bg: hsla(var(--b1) / var(--tw-bg-opacity, 1));--tab-border-color: hsla(var(--b3) / var(--tw-bg-opacity, 1));color:var(--tab-color);padding-left:var(--tab-padding, 1rem);padding-right:var(--tab-padding, 1rem)}.table{position:relative;text-align:left}.table th:first-child{position:sticky;left:0;z-index:11}.textarea{flex-shrink:1;min-height:3rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;line-height:2;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 0;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));border-radius:var(--rounded-btn, .5rem)}.avatar-group :where(.avatar){overflow:hidden;border-radius:9999px;border-width:4px;--tw-border-opacity: 1;border-color:hsl(var(--b1) / var(--tw-border-opacity))}.btm-nav>*:where(.active){border-top-width:2px;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity))}.btm-nav>*.disabled,.btm-nav>*.disabled:hover,.btm-nav>*[disabled],.btm-nav>*[disabled]:hover{pointer-events:none;--tw-border-opacity: 0;background-color:hsl(var(--n) / var(--tw-bg-opacity));--tw-bg-opacity: .1;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2}.btm-nav>* .label{font-size:1rem;line-height:1.5rem}.btn:active:hover,.btn:active:focus{animation:none}.btn:not(.no-animation):active:hover,.btn:not(.no-animation):active:focus{transform:scale(var(--btn-focus-scale, .95))}.btn:hover,.btn-active{--tw-border-opacity: 1;border-color:hsl(var(--nf, var(--n)) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--nf, var(--n)) / var(--tw-bg-opacity))}.btn:focus-visible{outline:2px solid hsl(var(--nf));outline-offset:2px}.btn.glass:hover,.btn.glass.btn-active{--glass-opacity: 25%;--glass-border-opacity: 15%}.btn.glass:focus-visible{outline:2px solid currentColor}.btn-disabled,.btn-disabled:hover,.btn[disabled],.btn[disabled]:hover{--tw-border-opacity: 0;background-color:hsl(var(--n) / var(--tw-bg-opacity));--tw-bg-opacity: .2;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2}.btn.loading.btn-square:before,.btn.loading.btn-circle:before{margin-right:0}.btn.loading.btn-xl:before,.btn.loading.btn-lg:before{height:1.25rem;width:1.25rem}.btn.loading.btn-sm:before,.btn.loading.btn-xs:before{height:.75rem;width:.75rem}.btn-group>input[type=radio]:checked.btn,.btn-group>.btn-active{--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--p) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--pc) / var(--tw-text-opacity))}.btn-group>input[type=radio]:checked.btn:focus-visible,.btn-group>.btn-active:focus-visible{outline:2px solid hsl(var(--p))}@keyframes button-pop{0%{transform:scale(var(--btn-focus-scale, .95))}40%{transform:scale(1.02)}to{transform:scale(1)}}.checkbox:focus-visible{outline:2px solid hsl(var(--bc));outline-offset:2px}.checkbox:checked,.checkbox[checked=true],.checkbox[aria-checked=true]{--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));background-repeat:no-repeat;animation:checkmark var(--animation-input, .2s) ease-in-out;background-image:linear-gradient(-45deg,transparent 65%,hsl(var(--chkbg)) 65.99%),linear-gradient(45deg,transparent 75%,hsl(var(--chkbg)) 75.99%),linear-gradient(-45deg,hsl(var(--chkbg)) 40%,transparent 40.99%),linear-gradient(45deg,hsl(var(--chkbg)) 30%,hsl(var(--chkfg)) 30.99%,hsl(var(--chkfg)) 40%,transparent 40.99%),linear-gradient(-45deg,hsl(var(--chkfg)) 50%,hsl(var(--chkbg)) 50.99%)}.checkbox:indeterminate{--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));background-repeat:no-repeat;animation:checkmark var(--animation-input, .2s) ease-in-out;background-image:linear-gradient(90deg,transparent 80%,hsl(var(--chkbg)) 80%),linear-gradient(-90deg,transparent 80%,hsl(var(--chkbg)) 80%),linear-gradient(0deg,hsl(var(--chkbg)) 43%,hsl(var(--chkfg)) 43%,hsl(var(--chkfg)) 57%,hsl(var(--chkbg)) 57%)}.checkbox-accent{--chkbg: var(--a);--chkfg: var(--ac);--tw-border-opacity: 1;border-color:hsl(var(--a) / var(--tw-border-opacity))}.checkbox-accent:hover{--tw-border-opacity: 1;border-color:hsl(var(--a) / var(--tw-border-opacity))}.checkbox-accent:focus-visible{outline:2px solid hsl(var(--a))}.checkbox-accent:checked,.checkbox-accent[checked=true],.checkbox-accent[aria-checked=true]{--tw-border-opacity: 1;border-color:hsl(var(--a) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--a) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--ac) / var(--tw-text-opacity))}.checkbox:disabled{cursor:not-allowed;border-color:transparent;--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));opacity:.2}@keyframes checkmark{0%{background-position-y:5px}50%{background-position-y:-2px}to{background-position-y:0}}[dir=rtl] .checkbox:checked,[dir=rtl] .checkbox[checked=true],[dir=rtl] .checkbox[aria-checked=true]{background-image:linear-gradient(45deg,transparent 65%,hsl(var(--chkbg)) 65.99%),linear-gradient(-45deg,transparent 75%,hsl(var(--chkbg)) 75.99%),linear-gradient(45deg,hsl(var(--chkbg)) 40%,transparent 40.99%),linear-gradient(-45deg,hsl(var(--chkbg)) 30%,hsl(var(--chkfg)) 30.99%,hsl(var(--chkfg)) 40%,transparent 40.99%),linear-gradient(45deg,hsl(var(--chkfg)) 50%,hsl(var(--chkbg)) 50.99%)}.divider:before{background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1}.divider:after{background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1}.divider:not(:empty){gap:1rem}.label-text{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:hsl(var(--bc) / var(--tw-text-opacity))}.label a:hover{--tw-text-opacity: 1;color:hsl(var(--bc) / var(--tw-text-opacity))}.input[list]::-webkit-calendar-picker-indicator{line-height:1em}.input-bordered{--tw-border-opacity: .2}.input:focus{outline:2px solid hsla(var(--bc) / .2);outline-offset:2px}.input-success{--tw-border-opacity: 1;border-color:hsl(var(--su) / var(--tw-border-opacity))}.input-success:focus{outline:2px solid hsl(var(--su))}.input-disabled,.input[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:hsl(var(--b2, var(--b1)) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));--tw-text-opacity: .2}.input-disabled::-moz-placeholder,.input[disabled]::-moz-placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.input-disabled::placeholder,.input[disabled]::placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.link:focus{outline:2px solid transparent;outline-offset:2px}.link:focus-visible{outline:2px solid currentColor;outline-offset:2px}.mask-star-2{-webkit-mask-image:url("data:image/svg+xml,%3csvg width='192' height='180' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m96 153.044-58.779 26.243 7.02-63.513L.894 68.481l63.117-13.01L96 0l31.989 55.472 63.117 13.01-43.347 47.292 7.02 63.513z' fill-rule='evenodd'/%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg width='192' height='180' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m96 153.044-58.779 26.243 7.02-63.513L.894 68.481l63.117-13.01L96 0l31.989 55.472 63.117 13.01-43.347 47.292 7.02 63.513z' fill-rule='evenodd'/%3e%3c/svg%3e")}.menu.horizontal>li.bordered>a,.menu.horizontal>li.bordered>button,.menu.horizontal>li.bordered>span{border-left-width:0px;border-bottom-width:4px;--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity))}.menu[class*=" px-"]:not(.menu[class*=" px-0"]) li>*,.menu[class^=px-]:not(.menu[class^=px-0]) li>*,.menu[class*=" p-"]:not(.menu[class*=" p-0"]) li>*,.menu[class^=p-]:not(.menu[class^=p-0]) li>*{border-radius:var(--rounded-btn, .5rem)}.menu :where(li.bordered>*){border-left-width:4px;--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity))}.menu :where(li)>:where(*:not(ul)){gap:.75rem;padding:.75rem 1rem;color:currentColor}.menu :where(li:not(.menu-title):not(:empty))>:where(*:not(ul):focus),.menu :where(li:not(.menu-title):not(:empty))>:where(*:not(ul):hover){background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1}.menu :where(li:not(.menu-title):not(:empty))>:where(:not(ul).active),.menu :where(li:not(.menu-title):not(:empty))>:where(*:not(ul):active){--tw-bg-opacity: 1;background-color:hsl(var(--p) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--pc) / var(--tw-text-opacity))}.menu :where(li:empty){margin:.5rem 1rem;height:1px;background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1}.menu li.disabled>*{-webkit-user-select:none;-moz-user-select:none;user-select:none;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2}.menu li.disabled>*:hover{background-color:transparent}.menu li.hover-bordered a{border-left-width:4px;border-color:transparent}.menu li.hover-bordered a:hover{--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity))}.menu.compact li>a,.menu.compact li>span{padding-top:.5rem;padding-bottom:.5rem;font-size:.875rem;line-height:1.25rem}.menu .menu-title{font-size:.75rem;line-height:1rem;font-weight:700;opacity:.4}.menu .menu-title>*{padding-top:.25rem;padding-bottom:.25rem}.menu :where(li:not(.disabled))>:where(*:not(ul)){outline:2px solid transparent;outline-offset:2px;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-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.menu>:where(li:first-child){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:unset;border-bottom-left-radius:unset}.menu>:where(li:first-child)>:where(:not(ul)){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:unset;border-bottom-left-radius:unset}.menu>:where(li:last-child){border-top-left-radius:unset;border-top-right-radius:unset;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li:last-child)>:where(:not(ul)){border-top-left-radius:unset;border-top-right-radius:unset;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li:first-child:last-child){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li:first-child:last-child)>:where(:not(ul)){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li)>:where(ul) :where(li){width:100%;white-space:nowrap}.menu>:where(li)>:where(ul) :where(li) :where(ul){padding-left:1rem}.menu>:where(li)>:where(ul) :where(li)>:where(:not(ul)){width:100%;white-space:nowrap}.menu>:where(li)>:where(ul)>:where(li:first-child){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:unset;border-bottom-left-radius:unset}.menu>:where(li)>:where(ul)>:where(li:first-child)>:where(:not(ul)){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:unset;border-bottom-left-radius:unset}.menu>:where(li)>:where(ul)>:where(li:last-child){border-top-left-radius:unset;border-top-right-radius:unset;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li)>:where(ul)>:where(li:last-child)>:where(:not(ul)){border-top-left-radius:unset;border-top-right-radius:unset;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li)>:where(ul)>:where(li:first-child:last-child){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li)>:where(ul)>:where(li:first-child:last-child)>:where(:not(ul)){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.mockup-phone .display{overflow:hidden;border-radius:40px;margin-top:-25px}.modal-open .modal-box,.modal-toggle:checked+.modal .modal-box,.modal:target .modal-box{--tw-translate-y: 0px;--tw-scale-x: 1;--tw-scale-y: 1;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))}.modal-action>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.progress::-moz-progress-bar{--tw-bg-opacity: 1;background-color:hsl(var(--n) / var(--tw-bg-opacity))}.progress:indeterminate:after{--tw-bg-opacity: 1;background-color:hsl(var(--n) / var(--tw-bg-opacity));content:"";position:absolute;top:0;bottom:0;left:-40%;width:33.333333%;border-radius:var(--rounded-box, 1rem);animation:progress-loading 5s infinite ease-in-out}.progress::-webkit-progress-bar{background-color:hsl(var(--n) / var(--tw-bg-opacity));--tw-bg-opacity: .2;border-radius:var(--rounded-box, 1rem)}.progress::-webkit-progress-value{--tw-bg-opacity: 1;background-color:hsl(var(--nf, var(--n)) / var(--tw-bg-opacity));border-radius:var(--rounded-box, 1rem)}@keyframes progress-loading{50%{left:107%}}.radio:focus-visible{outline:2px solid hsl(var(--bc));outline-offset:2px}.radio:checked,.radio[aria-checked=true]{--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));animation:radiomark var(--animation-input, .2s) ease-in-out;box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset}.radio:disabled{cursor:not-allowed;opacity:.2}@keyframes radiomark{0%{box-shadow:0 0 0 12px hsl(var(--b1)) inset,0 0 0 12px hsl(var(--b1)) inset}50%{box-shadow:0 0 0 3px hsl(var(--b1)) inset,0 0 0 3px hsl(var(--b1)) inset}to{box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset}}.rating input{-moz-appearance:none;appearance:none;-webkit-appearance:none}.rating .rating-hidden{width:.5rem;background-color:transparent}.rating input:checked~input,.rating input[aria-checked=true]~input{--tw-bg-opacity: .2}.rating input:focus-visible{transition-property:transform;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);transform:translateY(-.125em)}.rating input:active:focus{animation:none;transform:translateY(-.125em)}@keyframes rating-pop{0%{transform:translateY(-.125em)}40%{transform:translateY(-.125em)}to{transform:translateY(0)}}.select:focus{outline:2px solid hsla(var(--bc) / .2);outline-offset:2px}.select-success{--tw-border-opacity: 1;border-color:hsl(var(--su) / var(--tw-border-opacity))}.select-success:focus{outline:2px solid hsl(var(--su))}.select-disabled,.select[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:hsl(var(--b2, var(--b1)) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));--tw-text-opacity: .2}.select-disabled::-moz-placeholder,.select[disabled]::-moz-placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.select-disabled::placeholder,.select[disabled]::placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.select-multiple,.select[multiple],.select[size].select:not([size="1"]){background-image:none;padding-right:1rem}[dir=rtl] .select{background-position:calc(0% + 12px) calc(1px + 50%),calc(0% + 16px) calc(1px + 50%)}.tab:hover{--tw-text-opacity: 1}.tab.tab-active:not(.tab-disabled):not([disabled]){border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 1;--tw-text-opacity: 1}.tab:focus{outline:2px solid transparent;outline-offset:2px}.tab:focus-visible{outline:2px solid currentColor;outline-offset:-3px}.tab:focus-visible.tab-lifted{border-bottom-right-radius:var(--tab-radius, .5rem);border-bottom-left-radius:var(--tab-radius, .5rem)}.tab-disabled,.tab-disabled:hover,.tab[disabled],.tab[disabled]:hover{cursor:not-allowed;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2}.tabs-boxed .tab{border-radius:var(--rounded-btn, .5rem)}.table :where(th,td){white-space:nowrap;padding:1rem;vertical-align:middle}.table tr.active th,.table tr.active td,.table tr.active:nth-child(2n) th,.table tr.active:nth-child(2n) td{--tw-bg-opacity: 1;background-color:hsl(var(--b3, var(--b2)) / var(--tw-bg-opacity))}.table tr.hover:hover th,.table tr.hover:hover td,.table tr.hover:nth-child(2n):hover th,.table tr.hover:nth-child(2n):hover td{--tw-bg-opacity: 1;background-color:hsl(var(--b3, var(--b2)) / var(--tw-bg-opacity))}.table:where(:not(.table-zebra)) :where(thead,tbody,tfoot) :where(tr:not(:last-child) :where(th,td)){border-bottom-width:1px;--tw-border-opacity: 1;border-color:hsl(var(--b2, var(--b1)) / var(--tw-border-opacity))}.table :where(thead,tfoot) :where(th,td){--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));font-size:.75rem;line-height:1rem;font-weight:700;text-transform:uppercase}.table :where(tbody th,tbody td){--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity))}:where(.table *:first-child) :where(*:first-child) :where(th,td):first-child{border-top-left-radius:var(--rounded-box, 1rem)}:where(.table *:first-child) :where(*:first-child) :where(th,td):last-child{border-top-right-radius:var(--rounded-box, 1rem)}:where(.table *:last-child) :where(*:last-child) :where(th,td):first-child{border-bottom-left-radius:var(--rounded-box, 1rem)}:where(.table *:last-child) :where(*:last-child) :where(th,td):last-child{border-bottom-right-radius:var(--rounded-box, 1rem)}.textarea:focus{outline:2px solid hsla(var(--bc) / .2);outline-offset:2px}.textarea-success{--tw-border-opacity: 1;border-color:hsl(var(--su) / var(--tw-border-opacity))}.textarea-success:focus{outline:2px solid hsl(var(--su))}.textarea-disabled,.textarea[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:hsl(var(--b2, var(--b1)) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));--tw-text-opacity: .2}.textarea-disabled::-moz-placeholder,.textarea[disabled]::-moz-placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.textarea-disabled::placeholder,.textarea[disabled]::placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}@keyframes toast-pop{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}.btm-nav-xs>*:where(.active){border-top-width:1px}.btm-nav-sm>*:where(.active){border-top-width:2px}.btm-nav-md>*:where(.active){border-top-width:2px}.btm-nav-lg>*:where(.active){border-top-width:4px}.btn-sm{height:2rem;padding-left:.75rem;padding-right:.75rem;min-height:2rem;font-size:.875rem}.btn-wide{width:16rem}.btn-square:where(.btn-sm){height:2rem;width:2rem;padding:0}.btn-circle:where(.btn-xs){height:1.5rem;width:1.5rem;border-radius:9999px;padding:0}.btn-circle:where(.btn-sm){height:2rem;width:2rem;border-radius:9999px;padding:0}.btn-circle:where(.btn-md){height:3rem;width:3rem;border-radius:9999px;padding:0}.btn-circle:where(.btn-lg){height:4rem;width:4rem;border-radius:9999px;padding:0}.divider-horizontal{flex-direction:column}.divider-horizontal:before{height:100%;width:.125rem}.divider-horizontal:after{height:100%;width:.125rem}.input-md{height:3rem;padding-left:1rem;padding-right:1rem;font-size:.875rem;line-height:1.25rem;line-height:2}.menu-horizontal{display:inline-flex;width:-moz-max-content;width:max-content;flex-direction:row}.menu-horizontal :where(li){flex-direction:row}.menu-horizontal>:where(li)>:where(ul){top:100%;left:initial}.modal-bottom{align-items:flex-end}.avatar.online:before{content:"";position:absolute;z-index:10;display:block;border-radius:9999px;--tw-bg-opacity: 1;background-color:hsl(var(--su) / var(--tw-bg-opacity));width:15%;height:15%;top:7%;right:7%;box-shadow:0 0 0 2px hsl(var(--b1))}.avatar.offline:before{content:"";position:absolute;z-index:10;display:block;border-radius:9999px;--tw-bg-opacity: 1;background-color:hsl(var(--b3, var(--b2)) / var(--tw-bg-opacity));width:15%;height:15%;top:7%;right:7%;box-shadow:0 0 0 2px hsl(var(--b1))}.btn-group .btn:not(:first-child):not(:last-child){border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:0;border-end-end-radius:0}.btn-group .btn:first-child:not(:last-child){margin-top:-0px;margin-left:-1px;border-start-start-radius:var(--rounded-btn, .5rem);border-start-end-radius:0;border-end-start-radius:var(--rounded-btn, .5rem);border-end-end-radius:0}.btn-group .btn:last-child:not(:first-child){border-start-start-radius:0;border-start-end-radius:var(--rounded-btn, .5rem);border-end-start-radius:0;border-end-end-radius:var(--rounded-btn, .5rem)}.btn-group-horizontal .btn:not(:first-child):not(:last-child){border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:0;border-end-end-radius:0}.btn-group-horizontal .btn:first-child:not(:last-child){margin-top:-0px;margin-left:-1px;border-start-start-radius:var(--rounded-btn, .5rem);border-start-end-radius:0;border-end-start-radius:var(--rounded-btn, .5rem);border-end-end-radius:0}.btn-group-horizontal .btn:last-child:not(:first-child){border-start-start-radius:0;border-start-end-radius:var(--rounded-btn, .5rem);border-end-start-radius:0;border-end-end-radius:var(--rounded-btn, .5rem)}.btn-group-vertical .btn:first-child:not(:last-child){margin-top:-1px;margin-left:-0px;border-start-start-radius:var(--rounded-btn, .5rem);border-start-end-radius:var(--rounded-btn, .5rem);border-end-start-radius:0;border-end-end-radius:0}.btn-group-vertical .btn:last-child:not(:first-child){border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:var(--rounded-btn, .5rem);border-end-end-radius:var(--rounded-btn, .5rem)}.divider-horizontal{margin-top:0;margin-bottom:0;margin-left:1rem;margin-right:1rem;height:auto;width:1rem}.menu-horizontal :where(li.bordered>*){border-left-width:0px;border-bottom-width:4px}.menu-horizontal>:where(li:first-child){border-top-left-radius:inherit;border-top-right-radius:unset;border-bottom-right-radius:unset;border-bottom-left-radius:inherit}.menu-horizontal>:where(li:first-child)>:where(*:not(ul)){border-top-left-radius:inherit;border-top-right-radius:unset;border-bottom-right-radius:unset;border-bottom-left-radius:inherit}.menu-horizontal>:where(li:last-child){border-top-left-radius:unset;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:unset}.menu-horizontal>:where(li:last-child)>:where(*:not(ul)){border-top-left-radius:unset;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:unset}.modal-bottom :where(.modal-box){width:100%;max-width:none;--tw-translate-y: 2.5rem;--tw-scale-x: 1;--tw-scale-y: 1;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));border-bottom-right-radius:0;border-bottom-left-radius:0}.modal-middle :where(.modal-box){width:91.666667%;max-width:32rem;--tw-translate-y: 0px;--tw-scale-x: .9;--tw-scale-y: .9;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));border-bottom-left-radius:var(--rounded-box, 1rem);border-bottom-right-radius:var(--rounded-box, 1rem)}a{cursor:pointer}.homepage{margin-left:auto;margin-right:auto;display:flex;width:100%;flex-direction:column;align-items:center;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.nav-link{font-size:.75rem;line-height:1rem}.nav-link:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.nav-link:active{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.primary-button{position:relative;height:2.5rem;min-height:2rem;width:100%;overflow:hidden;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(38 50 56 / var(--tw-bg-opacity));font-size:.75rem;line-height:1rem;text-transform:capitalize;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.primary-button:hover{background-color:#26323880}:is(:where(.dark) .primary-button){--tw-bg-opacity: 1;background-color:rgb(17 217 197 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(38 50 56 / var(--tw-text-opacity))}:is(:where(.dark) .primary-button:hover){background-color:#11d9c580}.secondary-button{height:2.5rem;min-height:2rem;width:100%;border-radius:9999px;--tw-border-opacity: 1;border-color:rgb(38 50 56 / var(--tw-border-opacity));background-color:transparent;font-size:.75rem;line-height:1rem;text-transform:capitalize;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(:where(.dark) .secondary-button){--tw-border-opacity: 1;border-color:rgb(17 217 197 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(17 217 197 / var(--tw-text-opacity))}.primary-input{padding-left:1rem;padding-right:1rem;line-height:2;height:2.5rem;width:100%;max-width:20rem;border-radius:9999px;--tw-border-opacity: 1;border-color:rgb(38 50 56 / var(--tw-border-opacity));background-color:transparent;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(38 50 56 / var(--tw-text-opacity))}:is(:where(.dark) .primary-input){--tw-border-opacity: 1;border-color:rgb(17 217 197 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.secondary-input{width:100%;border-radius:0;border-bottom-width:1px;--tw-border-opacity: 1;border-bottom-color:rgb(0 0 0 / var(--tw-border-opacity));background-color:transparent;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}:is(:where(.dark) .secondary-input){--tw-border-opacity: 1;border-bottom-color:rgb(17 217 197 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.reviews{height:-moz-fit-content;height:fit-content;border-radius:.75rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:1rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity));--tw-shadow: 0px 3px 10px 0px rgba(0,0,0,.25);--tw-shadow-colored: 0px 3px 10px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(:where(.dark) .reviews){--tw-bg-opacity: 1;background-color:rgb(34 41 68 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: hsl(var(--a));--tw-shadow: var(--tw-shadow-colored)}.tab{display:flex;width:100%;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;border-radius:.375rem;border-width:0px;background-color:transparent;padding:10px;text-align:center;font-size:.75rem;line-height:1rem;font-weight:700;text-transform:capitalize;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(:where(.dark) .tab){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.tab{font-family:inherit}.tab.active{--tw-bg-opacity: 1;background-color:rgb(38 50 56 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(:where(.dark) .tab.active){--tw-bg-opacity: 1;background-color:rgb(17 217 197 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.tab-content{display:none}.tab-content.show{display:block}.select{min-height:2.5rem;font-size:.75rem;line-height:1rem;font-weight:400;--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}option{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(:where(.dark) option){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.-left-10{left:-2.5rem}.right-0{right:0}.right-2{right:.5rem}.top-0{top:0}.top-2{top:.5rem}.z-10{z-index:10}.z-50{z-index:50}.mx-0{margin-left:0;margin-right:0}.mx-0\.5{margin-left:.125rem;margin-right:.125rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-28{margin-left:7rem;margin-right:7rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.my-8{margin-top:2rem;margin-bottom:2rem}.my-auto{margin-top:auto;margin-bottom:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-48{margin-bottom:12rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-24{margin-left:6rem}.mr-0{margin-right:0}.mr-0\.5{margin-right:.125rem}.mr-5{margin-right:1.25rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-24{margin-top:6rem}.mt-28{margin-top:7rem}.mt-3{margin-top:.75rem}.mt-32{margin-top:8rem}.mt-4{margin-top:1rem}.mt-40{margin-top:10rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.flex{display:flex}.table{display:table}.grid{display:grid}.contents{display:contents}.h-12{height:3rem}.h-2{height:.5rem}.h-20{height:5rem}.h-32{height:8rem}.h-44{height:11rem}.h-8{height:2rem}.h-\[460px\]{height:460px}.h-\[600px\]{height:600px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.w-11\/12{width:91.666667%}.w-2\/5{width:40%}.w-20{width:5rem}.w-28{width:7rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4\/5{width:80%}.w-auto{width:auto}.w-full{width:100%}.w-screen{width:100vw}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-grow{flex-grow:1}.basis-1\/4{flex-basis:25%}.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))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.content-around{align-content:space-around}.items-start{align-items:flex-start}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.gap-1{gap:.25rem}.gap-12{gap:3rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-y-4{row-gap:1rem}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-t-2{border-top-width:2px}.border-\[\#11D9C5\],.border-\[\#11d9c5\]{--tw-border-opacity: 1;border-color:rgb(17 217 197 / var(--tw-border-opacity))}.border-\[\#263238\]{--tw-border-opacity: 1;border-color:rgb(38 50 56 / var(--tw-border-opacity))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-b-black{--tw-border-opacity: 1;border-bottom-color:rgb(0 0 0 / var(--tw-border-opacity))}.bg-\[\#11D9C5\]{--tw-bg-opacity: 1;background-color:rgb(17 217 197 / var(--tw-bg-opacity))}.bg-\[\#FFFFFF0D\]{background-color:#ffffff0d}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-zinc-200{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.fill-\[\#222944\]{fill:#222944}.fill-\[\#263238\]{fill:#263238}.stroke-\[\#263238\]{stroke:#263238}.stroke-black{stroke:#000}.object-center{-o-object-position:center;object-position:center}.p-0{padding:0}.p-1{padding:.25rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:.5rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.align-bottom{vertical-align:bottom}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.text-\[\#11D9C5\]{--tw-text-opacity: 1;color:rgb(17 217 197 / var(--tw-text-opacity))}.text-\[\#263238\]{--tw-text-opacity: 1;color:rgb(38 50 56 / var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-lime-700{--tw-text-opacity: 1;color:rgb(77 124 15 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.no-underline{text-decoration-line:none}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.drop-shadow-lg{--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));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)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));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)}.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)}@media (min-width: 640px){.sm\:modal-middle{align-items:center}.sm\:modal-middle :where(.modal-box){width:91.666667%;max-width:32rem;--tw-translate-y: 0px;--tw-scale-x: .9;--tw-scale-y: .9;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));border-bottom-left-radius:var(--rounded-box, 1rem);border-bottom-right-radius:var(--rounded-box, 1rem)}}.hover\:bg-\[\#11d9c5\]\/50:hover{background-color:#11d9c580}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-slate-200:hover{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.hover\:text-black:hover{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.hover\:text-gray-200:hover{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.active\:bg-gray-200:active{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.active\:bg-gray-700:active{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.active\:bg-slate-500:active{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}:is(:where(.dark) .dark\:border-\[\#11D9C5\]){--tw-border-opacity: 1;border-color:rgb(17 217 197 / var(--tw-border-opacity))}:is(:where(.dark) .dark\:border-zinc-600){--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity))}:is(:where(.dark) .dark\:border-b-\[\#11D9C5\]){--tw-border-opacity: 1;border-bottom-color:rgb(17 217 197 / var(--tw-border-opacity))}:is(:where(.dark) .dark\:bg-\[\#11D9C5\]){--tw-bg-opacity: 1;background-color:rgb(17 217 197 / var(--tw-bg-opacity))}:is(:where(.dark) .dark\:bg-\[\#171C2F\]){--tw-bg-opacity: 1;background-color:rgb(23 28 47 / var(--tw-bg-opacity))}:is(:where(.dark) .dark\:bg-\[\#222944\]){--tw-bg-opacity: 1;background-color:rgb(34 41 68 / var(--tw-bg-opacity))}:is(:where(.dark) .dark\:bg-gray-300){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(:where(.dark) .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(:where(.dark) .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(:where(.dark) .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(:where(.dark) .dark\:bg-transparent){background-color:transparent}:is(:where(.dark) .dark\:fill-\[\#11D9C5\]){fill:#11d9c5}:is(:where(.dark) .dark\:stroke-\[\#11D9C5\]){stroke:#11d9c5}:is(:where(.dark) .dark\:stroke-white){stroke:#fff}:is(:where(.dark) .dark\:text-\[\#11D9C5\]){--tw-text-opacity: 1;color:rgb(17 217 197 / var(--tw-text-opacity))}:is(:where(.dark) .dark\:text-black){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(:where(.dark) .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(:where(.dark) .dark\:text-green-100){--tw-text-opacity: 1;color:rgb(220 252 231 / var(--tw-text-opacity))}:is(:where(.dark) .dark\:text-green-300){--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity))}:is(:where(.dark) .dark\:text-red-300){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}:is(:where(.dark) .dark\:text-red-500){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}:is(:where(.dark) .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(:where(.dark) .dark\:shadow-none){--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(:where(.dark) .dark\:shadow-white\/5){--tw-shadow-color: rgb(255 255 255 / .05);--tw-shadow: var(--tw-shadow-colored)}:is(:where(.dark) .dark\:drop-shadow-none){--tw-drop-shadow: drop-shadow(0 0 #0000);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)} diff --git a/build/app/immutable/assets/_layout.e60e41c5.css b/build/app/immutable/assets/_layout.e60e41c5.css deleted file mode 100644 index 7129d041f..000000000 --- a/build/app/immutable/assets/_layout.e60e41c5.css +++ /dev/null @@ -1 +0,0 @@ -*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{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,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}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-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;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[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}:root,[data-theme]{background-color:hsla(var(--b1) / var(--tw-bg-opacity, 1));color:hsla(var(--bc) / var(--tw-text-opacity, 1))}html{-webkit-tap-highlight-color:transparent}:root{color-scheme:light;--pf: 258.89 94.378% 40.941%;--sf: 314 100% 37.647%;--af: 174 60% 40.784%;--nf: 219 14.085% 22.275%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 258.89 94.378% 51.176%;--pc: 0 0% 100%;--s: 314 100% 47.059%;--sc: 0 0% 100%;--a: 174 60% 50.98%;--ac: 174.71 43.59% 15.294%;--n: 219 14.085% 27.843%;--nc: 0 0% 100%;--b1: 0 0% 100%;--b2: 0 0% 94.902%;--b3: 180 1.9608% 90%;--bc: 215 27.907% 16.863%}@media (prefers-color-scheme: dark){:root{color-scheme:dark;--pf: 262.35 80.315% 40.157%;--sf: 315.75 70.196% 40%;--af: 174.69 70.335% 32.784%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 262.35 80.315% 50.196%;--pc: 0 0% 100%;--s: 315.75 70.196% 50%;--sc: 0 0% 100%;--a: 174.69 70.335% 40.98%;--ac: 0 0% 100%;--n: 218.18 18.033% 11.961%;--nf: 222.86 17.073% 8.0392%;--nc: 220 13.376% 69.216%;--b1: 220 17.647% 20%;--b2: 220 17.241% 17.059%;--b3: 218.57 17.949% 15.294%;--bc: 220 13.376% 69.216%}}[data-theme=light]{color-scheme:light;--pf: 258.89 94.378% 40.941%;--sf: 314 100% 37.647%;--af: 174 60% 40.784%;--nf: 219 14.085% 22.275%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 258.89 94.378% 51.176%;--pc: 0 0% 100%;--s: 314 100% 47.059%;--sc: 0 0% 100%;--a: 174 60% 50.98%;--ac: 174.71 43.59% 15.294%;--n: 219 14.085% 27.843%;--nc: 0 0% 100%;--b1: 0 0% 100%;--b2: 0 0% 94.902%;--b3: 180 1.9608% 90%;--bc: 215 27.907% 16.863%}[data-theme=dark]{color-scheme:dark;--pf: 262.35 80.315% 40.157%;--sf: 315.75 70.196% 40%;--af: 174.69 70.335% 32.784%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 262.35 80.315% 50.196%;--pc: 0 0% 100%;--s: 315.75 70.196% 50%;--sc: 0 0% 100%;--a: 174.69 70.335% 40.98%;--ac: 0 0% 100%;--n: 218.18 18.033% 11.961%;--nf: 222.86 17.073% 8.0392%;--nc: 220 13.376% 69.216%;--b1: 220 17.647% 20%;--b2: 220 17.241% 17.059%;--b3: 218.57 17.949% 15.294%;--bc: 220 13.376% 69.216%}[data-theme=cupcake]{color-scheme:light;--pf: 183.03 47.368% 47.216%;--sf: 338.25 71.429% 62.431%;--af: 39 84.112% 46.431%;--nf: 280 46.479% 11.137%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 183.03 100% 11.804%;--sc: 338.25 100% 15.608%;--ac: 39 100% 11.608%;--nc: 280 82.688% 82.784%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--p: 183.03 47.368% 59.02%;--s: 338.25 71.429% 78.039%;--a: 39 84.112% 58.039%;--n: 280 46.479% 13.922%;--b1: 24 33.333% 97.059%;--b2: 26.667 21.951% 91.961%;--b3: 22.5 14.286% 89.02%;--bc: 280 46.479% 13.922%;--rounded-btn: 1.9rem;--tab-border: 2px;--tab-radius: .5rem}[data-theme=bumblebee]{color-scheme:light;--pf: 41.124 74.167% 42.353%;--sf: 49.901 94.393% 46.431%;--af: 240 33.333% 11.294%;--nf: 240 33.333% 11.294%;--b2: 0 0% 90%;--b3: 0 0% 81%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--bc: 0 0% 20%;--ac: 240 60.274% 82.824%;--nc: 240 60.274% 82.824%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 41.124 74.167% 52.941%;--pc: 240 33.333% 14.118%;--s: 49.901 94.393% 58.039%;--sc: 240 33.333% 14.118%;--a: 240 33.333% 14.118%;--n: 240 33.333% 14.118%;--b1: 0 0% 100%}[data-theme=emerald]{color-scheme:light;--pf: 141.18 50% 48%;--sf: 218.88 96.078% 48%;--af: 9.8901 81.25% 44.863%;--nf: 219.23 20.312% 20.078%;--b2: 0 0% 90%;--b3: 0 0% 81%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--btn-text-case: uppercase;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 141.18 50% 60%;--pc: 151.11 28.421% 18.627%;--s: 218.88 96.078% 60%;--sc: 210 20% 98.039%;--a: 9.8901 81.25% 56.078%;--ac: 210 20% 98.039%;--n: 219.23 20.312% 25.098%;--nc: 210 20% 98.039%;--b1: 0 0% 100%;--bc: 219.23 20.312% 25.098%;--animation-btn: 0;--animation-input: 0;--btn-focus-scale: 1}[data-theme=corporate]{color-scheme:light;--pf: 229.09 95.652% 51.137%;--sf: 214.91 26.316% 47.216%;--af: 154.2 49.02% 48%;--nf: 233.33 27.273% 10.353%;--b2: 0 0% 90%;--b3: 0 0% 81%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 229.09 100% 92.784%;--sc: 214.91 100% 11.804%;--ac: 154.2 100% 12%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--btn-text-case: uppercase;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 229.09 95.652% 63.922%;--s: 214.91 26.316% 59.02%;--a: 154.2 49.02% 60%;--n: 233.33 27.273% 12.941%;--nc: 210 38.462% 94.902%;--b1: 0 0% 100%;--bc: 233.33 27.273% 12.941%;--rounded-box: .25rem;--rounded-btn: .125rem;--rounded-badge: .125rem;--animation-btn: 0;--animation-input: 0;--btn-focus-scale: 1}[data-theme=synthwave]{color-scheme:dark;--pf: 320.73 69.62% 55.216%;--sf: 197.03 86.592% 51.922%;--af: 48 89.041% 45.647%;--nf: 253.22 60.825% 15.216%;--b2: 253.85 59.091% 23.294%;--b3: 253.85 59.091% 20.965%;--pc: 320.73 100% 13.804%;--sc: 197.03 100% 12.98%;--ac: 48 100% 11.412%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 320.73 69.62% 69.02%;--s: 197.03 86.592% 64.902%;--a: 48 89.041% 57.059%;--n: 253.22 60.825% 19.02%;--nc: 260 60% 98.039%;--b1: 253.85 59.091% 25.882%;--bc: 260 60% 98.039%;--in: 199.13 86.957% 63.922%;--inc: 257.45 63.218% 17.059%;--su: 168.1 74.233% 68.039%;--suc: 257.45 63.218% 17.059%;--wa: 48 89.041% 57.059%;--wac: 257.45 63.218% 17.059%;--er: 351.85 73.636% 56.863%;--erc: 260 60% 98.039%}[data-theme=retro]{color-scheme:light;--pf: 2.6667 73.77% 60.863%;--sf: 144.62 27.273% 57.569%;--af: 49.024 67.213% 60.863%;--nf: 41.667 16.822% 33.569%;--inc: 221.21 100% 90.667%;--suc: 142.13 100% 87.255%;--wac: 32.133 100% 8.7451%;--erc: 0 100% 90.118%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 2.6667 73.77% 76.078%;--pc: 345 5.2632% 14.902%;--s: 144.62 27.273% 71.961%;--sc: 345 5.2632% 14.902%;--a: 49.024 67.213% 76.078%;--ac: 345 5.2632% 14.902%;--n: 41.667 16.822% 41.961%;--nc: 45 47.059% 80%;--b1: 45 47.059% 80%;--b2: 45.283 37.063% 71.961%;--b3: 42.188 35.955% 65.098%;--bc: 345 5.2632% 14.902%;--in: 221.21 83.193% 53.333%;--su: 142.13 76.216% 36.275%;--wa: 32.133 94.619% 43.725%;--er: 0 72.222% 50.588%;--rounded-box: .4rem;--rounded-btn: .4rem;--rounded-badge: .4rem}[data-theme=cyberpunk]{color-scheme:light;--pf: 344.78 100% 58.353%;--sf: 195.12 80.392% 56%;--af: 276 74.324% 56.784%;--nf: 57.273 100% 10.353%;--b2: 56 100% 45%;--b3: 56 100% 40.5%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--bc: 56 100% 10%;--pc: 344.78 100% 14.588%;--sc: 195.12 100% 14%;--ac: 276 100% 14.196%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;--p: 344.78 100% 72.941%;--s: 195.12 80.392% 70%;--a: 276 74.324% 70.98%;--n: 57.273 100% 12.941%;--nc: 56 100% 50%;--b1: 56 100% 50%;--rounded-box: 0;--rounded-btn: 0;--rounded-badge: 0;--tab-radius: 0}[data-theme=valentine]{color-scheme:light;--pf: 353.23 73.81% 53.647%;--sf: 254.12 86.441% 61.49%;--af: 181.41 55.556% 56%;--nf: 336 42.857% 38.431%;--b2: 318.46 46.429% 80.118%;--b3: 318.46 46.429% 72.106%;--pc: 353.23 100% 13.412%;--sc: 254.12 100% 15.373%;--ac: 181.41 100% 14%;--inc: 221.21 100% 90.667%;--suc: 142.13 100% 87.255%;--wac: 32.133 100% 8.7451%;--erc: 0 100% 90.118%;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 353.23 73.81% 67.059%;--s: 254.12 86.441% 76.863%;--a: 181.41 55.556% 70%;--n: 336 42.857% 48.039%;--nc: 318.46 46.429% 89.02%;--b1: 318.46 46.429% 89.02%;--bc: 343.64 38.462% 28.039%;--in: 221.21 83.193% 53.333%;--su: 142.13 76.216% 36.275%;--wa: 32.133 94.619% 43.725%;--er: 0 72.222% 50.588%;--rounded-btn: 1.9rem}[data-theme=halloween]{color-scheme:dark;--pf: 31.927 89.344% 41.725%;--sf: 271.22 45.794% 33.569%;--af: 91.071 100% 26.353%;--nf: 180 3.5714% 8.7843%;--b2: 0 0% 11.647%;--b3: 0 0% 10.482%;--bc: 0 0% 82.588%;--sc: 271.22 100% 88.392%;--ac: 91.071 100% 6.5882%;--nc: 180 4.8458% 82.196%;--inc: 221.21 100% 90.667%;--suc: 142.13 100% 87.255%;--wac: 32.133 100% 8.7451%;--erc: 0 100% 90.118%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 31.927 89.344% 52.157%;--pc: 180 7.3171% 8.0392%;--s: 271.22 45.794% 41.961%;--a: 91.071 100% 32.941%;--n: 180 3.5714% 10.98%;--b1: 0 0% 12.941%;--in: 221.21 83.193% 53.333%;--su: 142.13 76.216% 36.275%;--wa: 32.133 94.619% 43.725%;--er: 0 72.222% 50.588%}[data-theme=garden]{color-scheme:light;--pf: 138.86 15.982% 34.353%;--sf: 96.923 37.143% 74.51%;--af: 0 67.742% 75.137%;--nf: 0 3.9106% 28.078%;--b2: 0 4.3478% 81.882%;--b3: 0 4.3478% 73.694%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 138.86 100% 88.588%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 138.86 15.982% 42.941%;--s: 96.923 37.143% 93.137%;--sc: 96 32.468% 15.098%;--a: 0 67.742% 93.922%;--ac: 0 21.951% 16.078%;--n: 0 3.9106% 35.098%;--nc: 0 4.3478% 90.98%;--b1: 0 4.3478% 90.98%;--bc: 0 3.2258% 6.0784%}[data-theme=forest]{color-scheme:dark;--pf: 141.04 71.963% 33.569%;--sf: 140.98 74.694% 38.431%;--af: 35.148 68.98% 41.569%;--nf: 0 9.6774% 4.8627%;--b2: 0 12.195% 7.2353%;--b3: 0 12.195% 6.5118%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--bc: 0 11.727% 81.608%;--sc: 140.98 100% 9.6078%;--ac: 35.148 100% 10.392%;--nc: 0 6.8894% 81.216%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 141.04 71.963% 41.961%;--pc: 140.66 100% 88.039%;--s: 140.98 74.694% 48.039%;--a: 35.148 68.98% 51.961%;--n: 0 9.6774% 6.0784%;--b1: 0 12.195% 8.0392%;--rounded-btn: 1.9rem}[data-theme=aqua]{color-scheme:dark;--pf: 181.79 92.857% 39.529%;--sf: 274.41 30.909% 45.49%;--af: 47.059 100% 64%;--nf: 205.4 53.725% 40%;--b2: 218.61 52.511% 38.647%;--b3: 218.61 52.511% 34.782%;--bc: 218.61 100% 88.588%;--sc: 274.41 100% 91.373%;--ac: 47.059 100% 16%;--nc: 205.4 100% 90%;--inc: 221.21 100% 90.667%;--suc: 142.13 100% 87.255%;--wac: 32.133 100% 8.7451%;--erc: 0 100% 90.118%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 181.79 92.857% 49.412%;--pc: 181.41 100% 16.667%;--s: 274.41 30.909% 56.863%;--a: 47.059 100% 80%;--n: 205.4 53.725% 50%;--b1: 218.61 52.511% 42.941%;--in: 221.21 83.193% 53.333%;--su: 142.13 76.216% 36.275%;--wa: 32.133 94.619% 43.725%;--er: 0 72.222% 50.588%}[data-theme=lofi]{color-scheme:light;--pf: 0 0% 4.0784%;--sf: 0 1.9608% 8%;--af: 0 0% 11.922%;--nf: 0 0% 0%;--btn-text-case: uppercase;--border-btn: 1px;--tab-border: 1px;--p: 0 0% 5.098%;--pc: 0 0% 100%;--s: 0 1.9608% 10%;--sc: 0 0% 100%;--a: 0 0% 14.902%;--ac: 0 0% 100%;--n: 0 0% 0%;--nc: 0 0% 100%;--b1: 0 0% 100%;--b2: 0 0% 94.902%;--b3: 0 1.9608% 90%;--bc: 0 0% 0%;--in: 212.35 100% 47.647%;--inc: 0 0% 100%;--su: 136.84 72.152% 46.471%;--suc: 0 0% 100%;--wa: 4.5614 100% 66.471%;--wac: 0 0% 100%;--er: 325.05 77.6% 49.02%;--erc: 0 0% 100%;--rounded-box: .25rem;--rounded-btn: .125rem;--rounded-badge: .125rem;--animation-btn: 0;--animation-input: 0;--btn-focus-scale: 1;--tab-radius: 0}[data-theme=pastel]{color-scheme:light;--pf: 283.64 21.569% 64%;--sf: 351.63 70.492% 70.431%;--af: 158.49 54.639% 64.784%;--nf: 198.62 43.719% 48.784%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--bc: 0 0% 20%;--pc: 283.64 59.314% 16%;--sc: 351.63 100% 17.608%;--ac: 158.49 100% 16.196%;--nc: 198.62 100% 12.196%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 283.64 21.569% 80%;--s: 351.63 70.492% 88.039%;--a: 158.49 54.639% 80.98%;--n: 198.62 43.719% 60.98%;--b1: 0 0% 100%;--b2: 210 20% 98.039%;--b3: 216 12.195% 83.922%;--rounded-btn: 1.9rem}[data-theme=fantasy]{color-scheme:light;--pf: 296.04 82.813% 20.078%;--sf: 200 100% 29.647%;--af: 30.894 94.378% 40.941%;--nf: 215 27.907% 13.49%;--b2: 0 0% 90%;--b3: 0 0% 81%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 296.04 100% 85.02%;--sc: 200 100% 87.412%;--ac: 30.894 100% 10.235%;--nc: 215 62.264% 83.373%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 296.04 82.813% 25.098%;--s: 200 100% 37.059%;--a: 30.894 94.378% 51.176%;--n: 215 27.907% 16.863%;--b1: 0 0% 100%;--bc: 215 27.907% 16.863%}[data-theme=wireframe]{color-scheme:light;--pf: 0 0% 57.725%;--sf: 0 0% 57.725%;--af: 0 0% 57.725%;--nf: 0 0% 73.725%;--bc: 0 0% 20%;--pc: 0 0% 14.431%;--sc: 0 0% 14.431%;--ac: 0 0% 14.431%;--nc: 0 0% 18.431%;--inc: 240 100% 90%;--suc: 120 100% 85.02%;--wac: 60 100% 10%;--erc: 0 100% 90%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;font-family:Chalkboard,comic sans ms,sanssecondaryerif;--p: 0 0% 72.157%;--s: 0 0% 72.157%;--a: 0 0% 72.157%;--n: 0 0% 92.157%;--b1: 0 0% 100%;--b2: 0 0% 93.333%;--b3: 0 0% 86.667%;--in: 240 100% 50%;--su: 120 100% 25.098%;--wa: 60 30.196% 50%;--er: 0 100% 50%;--rounded-box: .2rem;--rounded-btn: .2rem;--rounded-badge: .2rem;--tab-radius: .2rem}[data-theme=black]{color-scheme:dark;--pf: 0 1.9608% 16%;--sf: 0 1.9608% 16%;--af: 0 1.9608% 16%;--bc: 0 0% 80%;--pc: 0 5.3922% 84%;--sc: 0 5.3922% 84%;--ac: 0 5.3922% 84%;--nc: 0 2.5404% 83.02%;--inc: 240 100% 90%;--suc: 120 100% 85.02%;--wac: 60 100% 10%;--erc: 0 100% 90%;--border-btn: 1px;--tab-border: 1px;--p: 0 1.9608% 20%;--s: 0 1.9608% 20%;--a: 0 1.9608% 20%;--b1: 0 0% 0%;--b2: 0 0% 5.098%;--b3: 0 1.9608% 10%;--n: 0 1.2987% 15.098%;--nf: 0 1.9608% 20%;--in: 240 100% 50%;--su: 120 100% 25.098%;--wa: 60 100% 50%;--er: 0 100% 50%;--rounded-box: 0;--rounded-btn: 0;--rounded-badge: 0;--animation-btn: 0;--animation-input: 0;--btn-text-case: lowercase;--btn-focus-scale: 1;--tab-radius: 0}[data-theme=luxury]{color-scheme:dark;--pf: 0 0% 80%;--sf: 218.4 54.348% 14.431%;--af: 318.62 21.805% 20.863%;--nf: 270 4.3478% 7.2157%;--pc: 0 0% 20%;--sc: 218.4 100% 83.608%;--ac: 318.62 84.615% 85.216%;--inc: 202.35 100% 14%;--suc: 89.007 100% 10.392%;--wac: 53.906 100% 12.706%;--erc: 0 100% 14.353%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 0 0% 100%;--s: 218.4 54.348% 18.039%;--a: 318.62 21.805% 26.078%;--n: 270 4.3478% 9.0196%;--nc: 37.083 67.29% 58.039%;--b1: 240 10% 3.9216%;--b2: 270 4.3478% 9.0196%;--b3: 270 2.1739% 18.039%;--bc: 37.083 67.29% 58.039%;--in: 202.35 100% 70%;--su: 89.007 61.633% 51.961%;--wa: 53.906 68.817% 63.529%;--er: 0 100% 71.765%}[data-theme=dracula]{color-scheme:dark;--pf: 325.52 100% 58.98%;--sf: 264.71 89.474% 62.118%;--af: 31.02 100% 56.941%;--nf: 229.57 15.033% 24%;--b2: 231.43 14.894% 16.588%;--b3: 231.43 14.894% 14.929%;--pc: 325.52 100% 14.745%;--sc: 264.71 100% 15.529%;--ac: 31.02 100% 14.235%;--nc: 229.57 70.868% 86%;--inc: 190.53 100% 15.373%;--suc: 135.18 100% 12.941%;--wac: 64.909 100% 15.294%;--erc: 0 100% 93.333%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 325.52 100% 73.725%;--s: 264.71 89.474% 77.647%;--a: 31.02 100% 71.176%;--n: 229.57 15.033% 30%;--b1: 231.43 14.894% 18.431%;--bc: 60 30% 96.078%;--in: 190.53 96.61% 76.863%;--su: 135.18 94.444% 64.706%;--wa: 64.909 91.667% 76.471%;--er: 0 100% 66.667%}[data-theme=cmyk]{color-scheme:light;--pf: 202.72 83.251% 48.157%;--sf: 335.25 77.67% 47.686%;--af: 56.195 100% 47.843%;--nf: 0 0% 8.1569%;--b2: 0 0% 90%;--b3: 0 0% 81%;--bc: 0 0% 20%;--pc: 202.72 100% 12.039%;--sc: 335.25 100% 91.922%;--ac: 56.195 100% 11.961%;--nc: 0 0% 82.039%;--inc: 192.2 100% 10.431%;--suc: 291.06 100% 87.608%;--wac: 25.027 100% 11.333%;--erc: 3.956 100% 91.137%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 202.72 83.251% 60.196%;--s: 335.25 77.67% 59.608%;--a: 56.195 100% 59.804%;--n: 0 0% 10.196%;--b1: 0 0% 100%;--in: 192.2 48.361% 52.157%;--su: 291.06 48.454% 38.039%;--wa: 25.027 84.615% 56.667%;--er: 3.956 80.531% 55.686%}[data-theme=autumn]{color-scheme:light;--pf: 344.23 95.804% 22.431%;--sf: .44444 63.38% 46.588%;--af: 27.477 56.021% 50.039%;--nf: 22.105 17.117% 34.824%;--b2: 0 0% 85.059%;--b3: 0 0% 76.553%;--bc: 0 0% 18.902%;--pc: 344.23 100% 85.608%;--sc: .44444 100% 91.647%;--ac: 27.477 100% 12.51%;--nc: 22.105 100% 88.706%;--inc: 186.94 100% 9.9216%;--suc: 164.59 100% 8.6275%;--wac: 30.141 100% 9.9216%;--erc: 353.6 100% 89.765%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 344.23 95.804% 28.039%;--s: .44444 63.38% 58.235%;--a: 27.477 56.021% 62.549%;--n: 22.105 17.117% 43.529%;--b1: 0 0% 94.51%;--in: 186.94 47.826% 49.608%;--su: 164.59 33.636% 43.137%;--wa: 30.141 84.19% 49.608%;--er: 353.6 79.116% 48.824%}[data-theme=business]{color-scheme:dark;--pf: 210 64.103% 24.471%;--sf: 200 12.931% 43.608%;--af: 12.515 79.512% 47.843%;--nf: 212.73 13.58% 12.706%;--b2: 0 0% 11.294%;--b3: 0 0% 10.165%;--bc: 0 0% 82.51%;--pc: 210 100% 86.118%;--sc: 200 100% 10.902%;--ac: 12.515 100% 11.961%;--nc: 212.73 28.205% 83.176%;--inc: 199.15 100% 88.353%;--suc: 144 100% 11.137%;--wac: 39.231 100% 12.078%;--erc: 6.3415 100% 88.667%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 210 64.103% 30.588%;--s: 200 12.931% 54.51%;--a: 12.515 79.512% 59.804%;--n: 212.73 13.58% 15.882%;--b1: 0 0% 12.549%;--in: 199.15 100% 41.765%;--su: 144 30.973% 55.686%;--wa: 39.231 64.356% 60.392%;--er: 6.3415 55.656% 43.333%;--rounded-box: .25rem;--rounded-btn: .125rem;--rounded-badge: .125rem}[data-theme=acid]{color-scheme:light;--pf: 302.59 100% 40%;--sf: 27.294 100% 40%;--af: 72 98.425% 40.157%;--nf: 238.42 43.182% 13.804%;--b2: 0 0% 88.235%;--b3: 0 0% 79.412%;--bc: 0 0% 19.608%;--pc: 302.59 100% 90%;--sc: 27.294 100% 10%;--ac: 72 100% 10.039%;--nc: 238.42 99.052% 83.451%;--inc: 209.85 100% 11.569%;--suc: 148.87 100% 11.608%;--wac: 52.574 100% 11.451%;--erc: .78261 100% 89.02%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 302.59 100% 50%;--s: 27.294 100% 50%;--a: 72 98.425% 50.196%;--n: 238.42 43.182% 17.255%;--b1: 0 0% 98.039%;--in: 209.85 91.628% 57.843%;--su: 148.87 49.533% 58.039%;--wa: 52.574 92.661% 57.255%;--er: .78261 100% 45.098%;--rounded-box: 1.25rem;--rounded-btn: 1rem;--rounded-badge: 1rem}[data-theme=lemonade]{color-scheme:light;--pf: 88.8 96.154% 24.471%;--sf: 60 80.952% 43.765%;--af: 62.553 79.661% 70.745%;--nf: 238.42 43.182% 13.804%;--b2: 0 0% 90%;--b3: 0 0% 81%;--bc: 0 0% 20%;--pc: 88.8 100% 86.118%;--sc: 60 100% 10.941%;--ac: 62.553 100% 17.686%;--nc: 238.42 99.052% 83.451%;--inc: 191.61 79.118% 16.902%;--suc: 74.458 100% 15.725%;--wac: 50.182 100% 15.059%;--erc: .98361 100% 16.588%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 88.8 96.154% 30.588%;--s: 60 80.952% 54.706%;--a: 62.553 79.661% 88.431%;--n: 238.42 43.182% 17.255%;--b1: 0 0% 100%;--in: 191.61 39.241% 84.51%;--su: 74.458 76.147% 78.627%;--wa: 50.182 87.302% 75.294%;--er: .98361 70.115% 82.941%}[data-theme=night]{color-scheme:dark;--pf: 198.44 93.204% 47.686%;--sf: 234.45 89.474% 59.137%;--af: 328.85 85.621% 56%;--b2: 222.22 47.368% 10.059%;--b3: 222.22 47.368% 9.0529%;--bc: 222.22 65.563% 82.235%;--pc: 198.44 100% 11.922%;--sc: 234.45 100% 14.784%;--ac: 328.85 100% 14%;--nc: 217.24 75.772% 83.49%;--inc: 198.46 100% 9.6078%;--suc: 172.46 100% 10.078%;--wac: 40.61 100% 12.706%;--erc: 350.94 100% 14.235%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 198.44 93.204% 59.608%;--s: 234.45 89.474% 73.922%;--a: 328.85 85.621% 70%;--n: 217.24 32.584% 17.451%;--nf: 217.06 30.357% 21.961%;--b1: 222.22 47.368% 11.176%;--in: 198.46 90.204% 48.039%;--su: 172.46 66.008% 50.392%;--wa: 40.61 88.172% 63.529%;--er: 350.94 94.558% 71.176%}[data-theme=coffee]{color-scheme:dark;--pf: 29.583 66.667% 46.118%;--sf: 182.4 24.752% 15.843%;--af: 194.19 74.4% 19.608%;--nf: 300 20% 4.7059%;--b2: 306 18.519% 9.5294%;--b3: 306 18.519% 8.5765%;--pc: 29.583 100% 11.529%;--sc: 182.4 67.237% 83.961%;--ac: 194.19 100% 84.902%;--nc: 300 13.75% 81.176%;--inc: 171.15 100% 13.451%;--suc: 92.5 100% 12.471%;--wac: 43.125 100% 13.725%;--erc: 9.7561 100% 14.941%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 29.583 66.667% 57.647%;--s: 182.4 24.752% 19.804%;--a: 194.19 74.4% 24.51%;--n: 300 20% 5.8824%;--b1: 306 18.519% 10.588%;--bc: 36.667 8.3333% 42.353%;--in: 171.15 36.527% 67.255%;--su: 92.5 25% 62.353%;--wa: 43.125 100% 68.627%;--er: 9.7561 95.349% 74.706%}[data-theme=winter]{color-scheme:light;--pf: 211.79 100% 40.627%;--sf: 246.92 47.273% 34.51%;--af: 310.41 49.388% 41.569%;--nf: 217.02 92.157% 8%;--pc: 211.79 100% 90.157%;--sc: 246.92 100% 88.627%;--ac: 310.41 100% 90.392%;--nc: 217.02 100% 82%;--inc: 191.54 100% 15.608%;--suc: 181.5 100% 13.255%;--wac: 32.308 100% 16.706%;--erc: 0 100% 14.431%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 211.79 100% 50.784%;--s: 246.92 47.273% 43.137%;--a: 310.41 49.388% 51.961%;--n: 217.02 92.157% 10%;--b1: 0 0% 100%;--b2: 216.92 100% 97.451%;--b3: 218.82 43.59% 92.353%;--bc: 214.29 30.061% 31.961%;--in: 191.54 92.857% 78.039%;--su: 181.5 46.512% 66.275%;--wa: 32.308 61.905% 83.529%;--er: 0 63.38% 72.157%}*,: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: }::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: }.alert{display:flex;width:100%;flex-direction:column;align-items:center;justify-content:space-between;gap:1rem;--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));padding:1rem;border-radius:var(--rounded-box, 1rem)}.alert>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}@media (min-width: 768px){.alert{flex-direction:row}.alert>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}}.alert>:where(*){display:flex;align-items:center;gap:.5rem}.avatar{position:relative;display:inline-flex}.avatar>div{display:block;aspect-ratio:1 / 1;overflow:hidden}.avatar img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover}.avatar.placeholder>div{display:flex;align-items:center;justify-content:center}.btn{display:inline-flex;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-wrap:wrap;align-items:center;justify-content:center;border-color:transparent;border-color:hsl(var(--n) / var(--tw-border-opacity));text-align:center;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-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);border-radius:var(--rounded-btn, .5rem);height:3rem;padding-left:1rem;padding-right:1rem;font-size:.875rem;line-height:1.25rem;line-height:1em;min-height:3rem;font-weight:600;text-transform:uppercase;text-transform:var(--btn-text-case, uppercase);text-decoration-line:none;border-width:var(--border-btn, 1px);animation:button-pop var(--animation-btn, .25s) ease-out;--tw-border-opacity: 1;--tw-bg-opacity: 1;background-color:hsl(var(--n) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--nc) / var(--tw-text-opacity))}.btn-disabled,.btn[disabled]{pointer-events:none}.btn-circle{height:3rem;width:3rem;border-radius:9999px;padding:0}.btn.loading,.btn.loading:hover{pointer-events:none}.btn.loading:before{margin-right:.5rem;height:1rem;width:1rem;border-radius:9999px;border-width:2px;animation:spin 2s linear infinite;content:"";border-top-color:transparent;border-left-color:transparent;border-bottom-color:currentColor;border-right-color:currentColor}@media (prefers-reduced-motion: reduce){.btn.loading:before{animation:spin 10s linear infinite}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.btn-group>input[type=radio].btn{-webkit-appearance:none;-moz-appearance:none;appearance:none}.btn-group>input[type=radio].btn:before{content:attr(data-title)}.card-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:.5rem}.checkbox{flex-shrink:0;--chkbg: var(--bc);--chkfg: var(--b1);height:1.5rem;width:1.5rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: .2;border-radius:var(--rounded-btn, .5rem)}.divider{display:flex;flex-direction:row;align-items:center;align-self:stretch;margin-top:1rem;margin-bottom:1rem;height:1rem;white-space:nowrap}.divider:before,.divider:after{content:"";flex-grow:1;height:.125rem;width:100%}.dropdown{position:relative;display:inline-block}.dropdown>*:focus{outline:2px solid transparent;outline-offset:2px}.dropdown .dropdown-content{visibility:hidden;position:absolute;z-index:50;opacity:0;transform-origin:top;--tw-scale-x: .95;--tw-scale-y: .95;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));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-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.dropdown-end .dropdown-content{right:0}.dropdown-left .dropdown-content{top:0;right:100%;bottom:auto;transform-origin:right}.dropdown-right .dropdown-content{left:100%;top:0;bottom:auto;transform-origin:left}.dropdown-bottom .dropdown-content{bottom:auto;top:100%;transform-origin:top}.dropdown-top .dropdown-content{bottom:100%;top:auto;transform-origin:bottom}.dropdown-end.dropdown-right .dropdown-content,.dropdown-end.dropdown-left .dropdown-content{bottom:0;top:auto}.dropdown.dropdown-open .dropdown-content,.dropdown.dropdown-hover:hover .dropdown-content,.dropdown:not(.dropdown-hover):focus .dropdown-content,.dropdown:not(.dropdown-hover):focus-within .dropdown-content{visibility:visible;opacity:1}.form-control{display:flex;flex-direction:column}.label{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:space-between;padding:.5rem .25rem}.input{flex-shrink:1;height:3rem;padding-left:1rem;padding-right:1rem;font-size:1rem;line-height:2;line-height:1.5rem;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 0;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));border-radius:var(--rounded-btn, .5rem)}.input-group>.input{isolation:isolate}.input-group>*,.input-group>.input,.input-group>.textarea,.input-group>.select{border-radius:0}.link{cursor:pointer;text-decoration-line:underline}.mask{-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.menu{display:flex;flex-direction:column;flex-wrap:wrap}.menu.horizontal{display:inline-flex;flex-direction:row}.menu.horizontal :where(li){flex-direction:row}:where(.menu li){position:relative;display:flex;flex-shrink:0;flex-direction:column;flex-wrap:wrap;align-items:stretch}.menu :where(li:not(.menu-title))>:where(*:not(ul)){display:flex}.menu :where(li:not(.disabled):not(.menu-title))>:where(*:not(ul)){cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;outline:2px solid transparent;outline-offset:2px}.menu>:where(li>*:not(ul):focus){outline:2px solid transparent;outline-offset:2px}.menu>:where(li.disabled>*:not(ul):focus){cursor:auto}.menu>:where(li) :where(ul){display:flex;flex-direction:column;align-items:stretch}.menu>:where(li)>:where(ul){position:absolute;display:none;top:initial;left:100%;border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li:hover)>:where(ul){display:flex}.menu>:where(li:focus)>:where(ul){display:flex}.modal{pointer-events:none;visibility:hidden;position:fixed;inset:0;display:flex;justify-content:center;opacity:0;z-index:999;background-color:hsl(var(--nf, var(--n)) / var(--tw-bg-opacity));--tw-bg-opacity: .4;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:transform,opacity,visibility;overflow-y:hidden;overscroll-behavior:contain}:where(.modal){align-items:center}.modal-box{max-height:calc(100vh - 5em);--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));padding:1.5rem;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-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);width:91.666667%;max-width:32rem;--tw-scale-x: .9;--tw-scale-y: .9;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));border-top-left-radius:var(--rounded-box, 1rem);border-top-right-radius:var(--rounded-box, 1rem);border-bottom-left-radius:var(--rounded-box, 1rem);border-bottom-right-radius:var(--rounded-box, 1rem);box-shadow:0 25px 50px -12px #00000040;overflow-y:auto;overscroll-behavior:contain}.modal-open,.modal:target,.modal-toggle:checked+.modal{pointer-events:auto;visibility:visible;opacity:1}.modal-action{display:flex;margin-top:1.5rem;justify-content:flex-end}.modal-toggle{position:fixed;height:0px;width:0px;-webkit-appearance:none;-moz-appearance:none;appearance:none;opacity:0}.navbar{display:flex;align-items:center;padding:var(--navbar-padding, .5rem);min-height:4rem;width:100%}:where(.navbar>*){display:inline-flex;align-items:center}.radio{flex-shrink:0;--chkbg: var(--bc);height:1.5rem;width:1.5rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:9999px;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: .2}.rating{position:relative;display:inline-flex}.rating :where(input){cursor:pointer;border-radius:0;animation:rating-pop var(--animation-input, .25s) ease-out;height:1.5rem;width:1.5rem;background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: 1}.select{display:inline-flex;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:3rem;padding-left:1rem;padding-right:2.5rem;font-size:.875rem;line-height:1.25rem;line-height:2;min-height:3rem;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 0;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));font-weight:600;border-radius:var(--rounded-btn, .5rem);background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 20px) calc(1px + 50%),calc(100% - 16px) calc(1px + 50%);background-size:4px 4px,4px 4px;background-repeat:no-repeat}.select[multiple]{height:auto}.\!stats{display:inline-grid!important;--tw-bg-opacity: 1 !important;background-color:hsl(var(--b1) / var(--tw-bg-opacity))!important;--tw-text-opacity: 1 !important;color:hsl(var(--bc) / var(--tw-text-opacity))!important;border-radius:var(--rounded-box, 1rem)!important}.stats{display:inline-grid;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--bc) / var(--tw-text-opacity));border-radius:var(--rounded-box, 1rem)}:where(.\!stats){grid-auto-flow:column!important;overflow-x:auto!important}:where(.stats){grid-auto-flow:column;overflow-x:auto}.tabs{display:flex;flex-wrap:wrap;align-items:flex-end}.tab{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-wrap:wrap;align-items:center;justify-content:center;text-align:center;height:2rem;font-size:.875rem;line-height:1.25rem;line-height:2;--tab-padding: 1rem;--tw-text-opacity: .5;--tab-color: hsla(var(--bc) / var(--tw-text-opacity, 1));--tab-bg: hsla(var(--b1) / var(--tw-bg-opacity, 1));--tab-border-color: hsla(var(--b3) / var(--tw-bg-opacity, 1));color:var(--tab-color);padding-left:var(--tab-padding, 1rem);padding-right:var(--tab-padding, 1rem)}.table{position:relative;text-align:left}.table th:first-child{position:sticky;left:0;z-index:11}.textarea{flex-shrink:1;min-height:3rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;line-height:2;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 0;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));border-radius:var(--rounded-btn, .5rem)}.avatar-group :where(.avatar){overflow:hidden;border-radius:9999px;border-width:4px;--tw-border-opacity: 1;border-color:hsl(var(--b1) / var(--tw-border-opacity))}.btm-nav>*:where(.active){border-top-width:2px;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity))}.btm-nav>*.disabled,.btm-nav>*.disabled:hover,.btm-nav>*[disabled],.btm-nav>*[disabled]:hover{pointer-events:none;--tw-border-opacity: 0;background-color:hsl(var(--n) / var(--tw-bg-opacity));--tw-bg-opacity: .1;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2}.btm-nav>* .label{font-size:1rem;line-height:1.5rem}.btn:active:hover,.btn:active:focus{animation:none}.btn:not(.no-animation):active:hover,.btn:not(.no-animation):active:focus{transform:scale(var(--btn-focus-scale, .95))}.btn:hover,.btn-active{--tw-border-opacity: 1;border-color:hsl(var(--nf, var(--n)) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--nf, var(--n)) / var(--tw-bg-opacity))}.btn:focus-visible{outline:2px solid hsl(var(--nf));outline-offset:2px}.btn.glass:hover,.btn.glass.btn-active{--glass-opacity: 25%;--glass-border-opacity: 15%}.btn.glass:focus-visible{outline:2px solid currentColor}.btn-disabled,.btn-disabled:hover,.btn[disabled],.btn[disabled]:hover{--tw-border-opacity: 0;background-color:hsl(var(--n) / var(--tw-bg-opacity));--tw-bg-opacity: .2;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2}.btn.loading.btn-square:before,.btn.loading.btn-circle:before{margin-right:0}.btn.loading.btn-xl:before,.btn.loading.btn-lg:before{height:1.25rem;width:1.25rem}.btn.loading.btn-sm:before,.btn.loading.btn-xs:before{height:.75rem;width:.75rem}.btn-group>input[type=radio]:checked.btn,.btn-group>.btn-active{--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--p) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--pc) / var(--tw-text-opacity))}.btn-group>input[type=radio]:checked.btn:focus-visible,.btn-group>.btn-active:focus-visible{outline:2px solid hsl(var(--p))}@keyframes button-pop{0%{transform:scale(var(--btn-focus-scale, .95))}40%{transform:scale(1.02)}to{transform:scale(1)}}.checkbox:focus-visible{outline:2px solid hsl(var(--bc));outline-offset:2px}.checkbox:checked,.checkbox[checked=true],.checkbox[aria-checked=true]{--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));background-repeat:no-repeat;animation:checkmark var(--animation-input, .2s) ease-in-out;background-image:linear-gradient(-45deg,transparent 65%,hsl(var(--chkbg)) 65.99%),linear-gradient(45deg,transparent 75%,hsl(var(--chkbg)) 75.99%),linear-gradient(-45deg,hsl(var(--chkbg)) 40%,transparent 40.99%),linear-gradient(45deg,hsl(var(--chkbg)) 30%,hsl(var(--chkfg)) 30.99%,hsl(var(--chkfg)) 40%,transparent 40.99%),linear-gradient(-45deg,hsl(var(--chkfg)) 50%,hsl(var(--chkbg)) 50.99%)}.checkbox:indeterminate{--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));background-repeat:no-repeat;animation:checkmark var(--animation-input, .2s) ease-in-out;background-image:linear-gradient(90deg,transparent 80%,hsl(var(--chkbg)) 80%),linear-gradient(-90deg,transparent 80%,hsl(var(--chkbg)) 80%),linear-gradient(0deg,hsl(var(--chkbg)) 43%,hsl(var(--chkfg)) 43%,hsl(var(--chkfg)) 57%,hsl(var(--chkbg)) 57%)}.checkbox:disabled{cursor:not-allowed;border-color:transparent;--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));opacity:.2}@keyframes checkmark{0%{background-position-y:5px}50%{background-position-y:-2px}to{background-position-y:0}}[dir=rtl] .checkbox:checked,[dir=rtl] .checkbox[checked=true],[dir=rtl] .checkbox[aria-checked=true]{background-image:linear-gradient(45deg,transparent 65%,hsl(var(--chkbg)) 65.99%),linear-gradient(-45deg,transparent 75%,hsl(var(--chkbg)) 75.99%),linear-gradient(45deg,hsl(var(--chkbg)) 40%,transparent 40.99%),linear-gradient(-45deg,hsl(var(--chkbg)) 30%,hsl(var(--chkfg)) 30.99%,hsl(var(--chkfg)) 40%,transparent 40.99%),linear-gradient(45deg,hsl(var(--chkfg)) 50%,hsl(var(--chkbg)) 50.99%)}.divider:before{background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1}.divider:after{background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1}.divider:not(:empty){gap:1rem}.dropdown.dropdown-open .dropdown-content,.dropdown.dropdown-hover:hover .dropdown-content,.dropdown:focus .dropdown-content,.dropdown:focus-within .dropdown-content{--tw-scale-x: 1;--tw-scale-y: 1;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))}.label-text{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:hsl(var(--bc) / var(--tw-text-opacity))}.label a:hover{--tw-text-opacity: 1;color:hsl(var(--bc) / var(--tw-text-opacity))}.input[list]::-webkit-calendar-picker-indicator{line-height:1em}.input-bordered{--tw-border-opacity: .2}.input:focus{outline:2px solid hsla(var(--bc) / .2);outline-offset:2px}.input-success{--tw-border-opacity: 1;border-color:hsl(var(--su) / var(--tw-border-opacity))}.input-success:focus{outline:2px solid hsl(var(--su))}.input-disabled,.input[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:hsl(var(--b2, var(--b1)) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));--tw-text-opacity: .2}.input-disabled::-moz-placeholder,.input[disabled]::-moz-placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.input-disabled::placeholder,.input[disabled]::placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.link:focus{outline:2px solid transparent;outline-offset:2px}.link:focus-visible{outline:2px solid currentColor;outline-offset:2px}.mask-star-2{-webkit-mask-image:url("data:image/svg+xml,%3csvg width='192' height='180' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m96 153.044-58.779 26.243 7.02-63.513L.894 68.481l63.117-13.01L96 0l31.989 55.472 63.117 13.01-43.347 47.292 7.02 63.513z' fill-rule='evenodd'/%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg width='192' height='180' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m96 153.044-58.779 26.243 7.02-63.513L.894 68.481l63.117-13.01L96 0l31.989 55.472 63.117 13.01-43.347 47.292 7.02 63.513z' fill-rule='evenodd'/%3e%3c/svg%3e")}.menu.horizontal>li.bordered>a,.menu.horizontal>li.bordered>button,.menu.horizontal>li.bordered>span{border-left-width:0px;border-bottom-width:4px;--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity))}.menu[class*=" px-"]:not(.menu[class*=" px-0"]) li>*,.menu[class^=px-]:not(.menu[class^=px-0]) li>*,.menu[class*=" p-"]:not(.menu[class*=" p-0"]) li>*,.menu[class^=p-]:not(.menu[class^=p-0]) li>*{border-radius:var(--rounded-btn, .5rem)}.menu :where(li.bordered>*){border-left-width:4px;--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity))}.menu :where(li)>:where(*:not(ul)){gap:.75rem;padding:.75rem 1rem;color:currentColor}.menu :where(li:not(.menu-title):not(:empty))>:where(*:not(ul):focus),.menu :where(li:not(.menu-title):not(:empty))>:where(*:not(ul):hover){background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1}.menu :where(li:not(.menu-title):not(:empty))>:where(:not(ul).active),.menu :where(li:not(.menu-title):not(:empty))>:where(*:not(ul):active){--tw-bg-opacity: 1;background-color:hsl(var(--p) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--pc) / var(--tw-text-opacity))}.menu :where(li:empty){margin:.5rem 1rem;height:1px;background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1}.menu li.disabled>*{-webkit-user-select:none;-moz-user-select:none;user-select:none;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2}.menu li.disabled>*:hover{background-color:transparent}.menu li.hover-bordered a{border-left-width:4px;border-color:transparent}.menu li.hover-bordered a:hover{--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity))}.menu.compact li>a,.menu.compact li>span{padding-top:.5rem;padding-bottom:.5rem;font-size:.875rem;line-height:1.25rem}.menu .menu-title{font-size:.75rem;line-height:1rem;font-weight:700;opacity:.4}.menu .menu-title>*{padding-top:.25rem;padding-bottom:.25rem}.menu :where(li:not(.disabled))>:where(*:not(ul)){outline:2px solid transparent;outline-offset:2px;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-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.menu>:where(li:first-child){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:unset;border-bottom-left-radius:unset}.menu>:where(li:first-child)>:where(:not(ul)){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:unset;border-bottom-left-radius:unset}.menu>:where(li:last-child){border-top-left-radius:unset;border-top-right-radius:unset;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li:last-child)>:where(:not(ul)){border-top-left-radius:unset;border-top-right-radius:unset;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li:first-child:last-child){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li:first-child:last-child)>:where(:not(ul)){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li)>:where(ul) :where(li){width:100%;white-space:nowrap}.menu>:where(li)>:where(ul) :where(li) :where(ul){padding-left:1rem}.menu>:where(li)>:where(ul) :where(li)>:where(:not(ul)){width:100%;white-space:nowrap}.menu>:where(li)>:where(ul)>:where(li:first-child){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:unset;border-bottom-left-radius:unset}.menu>:where(li)>:where(ul)>:where(li:first-child)>:where(:not(ul)){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:unset;border-bottom-left-radius:unset}.menu>:where(li)>:where(ul)>:where(li:last-child){border-top-left-radius:unset;border-top-right-radius:unset;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li)>:where(ul)>:where(li:last-child)>:where(:not(ul)){border-top-left-radius:unset;border-top-right-radius:unset;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li)>:where(ul)>:where(li:first-child:last-child){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.menu>:where(li)>:where(ul)>:where(li:first-child:last-child)>:where(:not(ul)){border-top-left-radius:inherit;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.mockup-phone .display{overflow:hidden;border-radius:40px;margin-top:-25px}.modal-open .modal-box,.modal-toggle:checked+.modal .modal-box,.modal:target .modal-box{--tw-translate-y: 0px;--tw-scale-x: 1;--tw-scale-y: 1;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))}.modal-action>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}@keyframes progress-loading{50%{left:107%}}.radio:focus-visible{outline:2px solid hsl(var(--bc));outline-offset:2px}.radio:checked,.radio[aria-checked=true]{--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));animation:radiomark var(--animation-input, .2s) ease-in-out;box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset}.radio:disabled{cursor:not-allowed;opacity:.2}@keyframes radiomark{0%{box-shadow:0 0 0 12px hsl(var(--b1)) inset,0 0 0 12px hsl(var(--b1)) inset}50%{box-shadow:0 0 0 3px hsl(var(--b1)) inset,0 0 0 3px hsl(var(--b1)) inset}to{box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset}}.rating input{-moz-appearance:none;appearance:none;-webkit-appearance:none}.rating .rating-hidden{width:.5rem;background-color:transparent}.rating input:checked~input,.rating input[aria-checked=true]~input{--tw-bg-opacity: .2}.rating input:focus-visible{transition-property:transform;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);transform:translateY(-.125em)}.rating input:active:focus{animation:none;transform:translateY(-.125em)}@keyframes rating-pop{0%{transform:translateY(-.125em)}40%{transform:translateY(-.125em)}to{transform:translateY(0)}}.select:focus{outline:2px solid hsla(var(--bc) / .2);outline-offset:2px}.select-success{--tw-border-opacity: 1;border-color:hsl(var(--su) / var(--tw-border-opacity))}.select-success:focus{outline:2px solid hsl(var(--su))}.select-disabled,.select[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:hsl(var(--b2, var(--b1)) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));--tw-text-opacity: .2}.select-disabled::-moz-placeholder,.select[disabled]::-moz-placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.select-disabled::placeholder,.select[disabled]::placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.select-multiple,.select[multiple],.select[size].select:not([size="1"]){background-image:none;padding-right:1rem}[dir=rtl] .select{background-position:calc(0% + 12px) calc(1px + 50%),calc(0% + 16px) calc(1px + 50%)}:where(.\!stats)>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0 !important;border-right-width:calc(1px * var(--tw-divide-x-reverse))!important;border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))!important;--tw-divide-y-reverse: 0 !important;border-top-width:calc(0px * calc(1 - var(--tw-divide-y-reverse)))!important;border-bottom-width:calc(0px * var(--tw-divide-y-reverse))!important}:where(.stats)>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)));--tw-divide-y-reverse: 0;border-top-width:calc(0px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(0px * var(--tw-divide-y-reverse))}.tab:hover{--tw-text-opacity: 1}.tab.tab-active:not(.tab-disabled):not([disabled]){border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 1;--tw-text-opacity: 1}.tab:focus{outline:2px solid transparent;outline-offset:2px}.tab:focus-visible{outline:2px solid currentColor;outline-offset:-3px}.tab:focus-visible.tab-lifted{border-bottom-right-radius:var(--tab-radius, .5rem);border-bottom-left-radius:var(--tab-radius, .5rem)}.tab-disabled,.tab-disabled:hover,.tab[disabled],.tab[disabled]:hover{cursor:not-allowed;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2}.tabs-boxed .tab{border-radius:var(--rounded-btn, .5rem)}.table :where(th,td){white-space:nowrap;padding:1rem;vertical-align:middle}.table tr.active th,.table tr.active td,.table tr.active:nth-child(2n) th,.table tr.active:nth-child(2n) td{--tw-bg-opacity: 1;background-color:hsl(var(--b3, var(--b2)) / var(--tw-bg-opacity))}.table tr.hover:hover th,.table tr.hover:hover td,.table tr.hover:nth-child(2n):hover th,.table tr.hover:nth-child(2n):hover td{--tw-bg-opacity: 1;background-color:hsl(var(--b3, var(--b2)) / var(--tw-bg-opacity))}.table:where(:not(.table-zebra)) :where(thead,tbody,tfoot) :where(tr:not(:last-child) :where(th,td)){border-bottom-width:1px;--tw-border-opacity: 1;border-color:hsl(var(--b2, var(--b1)) / var(--tw-border-opacity))}.table :where(thead,tfoot) :where(th,td){--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));font-size:.75rem;line-height:1rem;font-weight:700;text-transform:uppercase}.table :where(tbody th,tbody td){--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity))}:where(.table *:first-child) :where(*:first-child) :where(th,td):first-child{border-top-left-radius:var(--rounded-box, 1rem)}:where(.table *:first-child) :where(*:first-child) :where(th,td):last-child{border-top-right-radius:var(--rounded-box, 1rem)}:where(.table *:last-child) :where(*:last-child) :where(th,td):first-child{border-bottom-left-radius:var(--rounded-box, 1rem)}:where(.table *:last-child) :where(*:last-child) :where(th,td):last-child{border-bottom-right-radius:var(--rounded-box, 1rem)}.textarea:focus{outline:2px solid hsla(var(--bc) / .2);outline-offset:2px}.textarea-success{--tw-border-opacity: 1;border-color:hsl(var(--su) / var(--tw-border-opacity))}.textarea-success:focus{outline:2px solid hsl(var(--su))}.textarea-disabled,.textarea[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:hsl(var(--b2, var(--b1)) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity));--tw-text-opacity: .2}.textarea-disabled::-moz-placeholder,.textarea[disabled]::-moz-placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}.textarea-disabled::placeholder,.textarea[disabled]::placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2}@keyframes toast-pop{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}.rounded-box{border-radius:var(--rounded-box, 1rem)}.artboard.phone{width:320px}.btm-nav-xs>*:where(.active){border-top-width:1px}.btm-nav-sm>*:where(.active){border-top-width:2px}.btm-nav-md>*:where(.active){border-top-width:2px}.btm-nav-lg>*:where(.active){border-top-width:4px}.btn-sm{height:2rem;padding-left:.75rem;padding-right:.75rem;min-height:2rem;font-size:.875rem}.btn-wide{width:16rem}.btn-square:where(.btn-sm){height:2rem;width:2rem;padding:0}.btn-circle:where(.btn-xs){height:1.5rem;width:1.5rem;border-radius:9999px;padding:0}.btn-circle:where(.btn-sm){height:2rem;width:2rem;border-radius:9999px;padding:0}.btn-circle:where(.btn-md){height:3rem;width:3rem;border-radius:9999px;padding:0}.btn-circle:where(.btn-lg){height:4rem;width:4rem;border-radius:9999px;padding:0}.divider-horizontal{flex-direction:column}.divider-horizontal:before{height:100%;width:.125rem}.divider-horizontal:after{height:100%;width:.125rem}.input-md{height:3rem;padding-left:1rem;padding-right:1rem;font-size:.875rem;line-height:1.25rem;line-height:2}.input-lg{height:4rem;padding-left:1.5rem;padding-right:1.5rem;font-size:1.125rem;line-height:1.75rem;line-height:2}.menu-horizontal{display:inline-flex;width:-moz-max-content;width:max-content;flex-direction:row}.menu-horizontal :where(li){flex-direction:row}.menu-horizontal>:where(li)>:where(ul){top:100%;left:initial}.modal-bottom{align-items:flex-end}.avatar.online:before{content:"";position:absolute;z-index:10;display:block;border-radius:9999px;--tw-bg-opacity: 1;background-color:hsl(var(--su) / var(--tw-bg-opacity));width:15%;height:15%;top:7%;right:7%;box-shadow:0 0 0 2px hsl(var(--b1))}.avatar.offline:before{content:"";position:absolute;z-index:10;display:block;border-radius:9999px;--tw-bg-opacity: 1;background-color:hsl(var(--b3, var(--b2)) / var(--tw-bg-opacity));width:15%;height:15%;top:7%;right:7%;box-shadow:0 0 0 2px hsl(var(--b1))}.btn-group .btn:not(:first-child):not(:last-child){border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:0;border-end-end-radius:0}.btn-group .btn:first-child:not(:last-child){margin-top:-0px;margin-left:-1px;border-start-start-radius:var(--rounded-btn, .5rem);border-start-end-radius:0;border-end-start-radius:var(--rounded-btn, .5rem);border-end-end-radius:0}.btn-group .btn:last-child:not(:first-child){border-start-start-radius:0;border-start-end-radius:var(--rounded-btn, .5rem);border-end-start-radius:0;border-end-end-radius:var(--rounded-btn, .5rem)}.btn-group-horizontal .btn:not(:first-child):not(:last-child){border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:0;border-end-end-radius:0}.btn-group-horizontal .btn:first-child:not(:last-child){margin-top:-0px;margin-left:-1px;border-start-start-radius:var(--rounded-btn, .5rem);border-start-end-radius:0;border-end-start-radius:var(--rounded-btn, .5rem);border-end-end-radius:0}.btn-group-horizontal .btn:last-child:not(:first-child){border-start-start-radius:0;border-start-end-radius:var(--rounded-btn, .5rem);border-end-start-radius:0;border-end-end-radius:var(--rounded-btn, .5rem)}.btn-group-vertical .btn:first-child:not(:last-child){margin-top:-1px;margin-left:-0px;border-start-start-radius:var(--rounded-btn, .5rem);border-start-end-radius:var(--rounded-btn, .5rem);border-end-start-radius:0;border-end-end-radius:0}.btn-group-vertical .btn:last-child:not(:first-child){border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:var(--rounded-btn, .5rem);border-end-end-radius:var(--rounded-btn, .5rem)}.divider-horizontal{margin-top:0;margin-bottom:0;margin-left:1rem;margin-right:1rem;height:auto;width:1rem}.menu-horizontal :where(li.bordered>*){border-left-width:0px;border-bottom-width:4px}.menu-horizontal>:where(li:first-child){border-top-left-radius:inherit;border-top-right-radius:unset;border-bottom-right-radius:unset;border-bottom-left-radius:inherit}.menu-horizontal>:where(li:first-child)>:where(*:not(ul)){border-top-left-radius:inherit;border-top-right-radius:unset;border-bottom-right-radius:unset;border-bottom-left-radius:inherit}.menu-horizontal>:where(li:last-child){border-top-left-radius:unset;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:unset}.menu-horizontal>:where(li:last-child)>:where(*:not(ul)){border-top-left-radius:unset;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:unset}.modal-bottom :where(.modal-box){width:100%;max-width:none;--tw-translate-y: 2.5rem;--tw-scale-x: 1;--tw-scale-y: 1;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));border-bottom-right-radius:0;border-bottom-left-radius:0}.modal-middle :where(.modal-box){width:91.666667%;max-width:32rem;--tw-translate-y: 0px;--tw-scale-x: .9;--tw-scale-y: .9;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));border-bottom-left-radius:var(--rounded-box, 1rem);border-bottom-right-radius:var(--rounded-box, 1rem)}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.-left-20{left:-5rem}.right-0{right:0}.right-2{right:.5rem}.top-0{top:0}.top-2{top:.5rem}.z-10{z-index:10}.z-50{z-index:50}.float-right{float:right}.m-1{margin:.25rem}.m-5{margin:1.25rem}.mx-0{margin-left:0;margin-right:0}.mx-0\.5{margin-left:.125rem;margin-right:.125rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-28{margin-left:7rem;margin-right:7rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-48{margin-bottom:12rem}.mb-5{margin-bottom:1.25rem}.ml-1{margin-left:.25rem}.ml-24{margin-left:6rem}.ml-px{margin-left:1px}.mr-0{margin-right:0}.mr-0\.5{margin-right:.125rem}.mr-5{margin-right:1.25rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-28{margin-top:7rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.flex{display:flex}.table{display:table}.grid{display:grid}.contents{display:contents}.h-16{height:4rem}.h-32{height:8rem}.h-44{height:11rem}.h-\[40vh\]{height:40vh}.h-\[70vh\]{height:70vh}.h-auto{height:auto}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-screen{height:100vh}.max-h-max{max-height:-moz-max-content;max-height:max-content}.min-h-\[490px\]{min-height:490px}.min-h-\[667px\]{min-height:667px}.w-1\/2{width:50%}.w-1\/5{width:20%}.w-16{width:4rem}.w-2\/5{width:40%}.w-28{width:7rem}.w-32{width:8rem}.w-4\/5{width:80%}.w-52{width:13rem}.w-\[400px\]{width:400px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-grow{flex-grow:1}.basis-1\/4{flex-basis:25%}.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))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.content-around{align-content:space-around}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.gap-1{gap:.25rem}.gap-12{gap:3rem}.gap-28{gap:7rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-b-2{border-bottom-width:2px}.border-t-2{border-top-width:2px}.border-\[\#11D9C5\],.border-\[\#11d9c5\]{--tw-border-opacity: 1;border-color:rgb(17 217 197 / var(--tw-border-opacity))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-white\/50{border-color:#ffffff80}.border-zinc-600{--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity))}.bg-\[\#11D9C5\]{--tw-bg-opacity: 1;background-color:rgb(17 217 197 / var(--tw-bg-opacity))}.bg-base-100{--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-orange-400{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-zinc-200{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.object-center{-o-object-position:center;object-position:center}.p-0{padding:0}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-10{padding-bottom:2.5rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.normal-case{text-transform:none}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-gray-950{--tw-text-opacity: 1;color:rgb(3 7 18 / var(--tw-text-opacity))}.text-green-300{--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-lime-700{--tw-text-opacity: 1;color:rgb(77 124 15 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.no-underline{text-decoration-line:none}.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)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-gray-500\/50{--tw-shadow-color: rgb(107 114 128 / .5);--tw-shadow: var(--tw-shadow-colored)}body{transition:background-color .2s ease-in-out,color .2s ease-in-out;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(.dark body){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background:white}::-webkit-scrollbar-thumb{background:black}::-webkit-scrollbar-thumb:hover{background:black}@media (min-width: 640px){.sm\:modal-middle{align-items:center}.sm\:modal-middle :where(.modal-box){width:91.666667%;max-width:32rem;--tw-translate-y: 0px;--tw-scale-x: .9;--tw-scale-y: .9;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));border-bottom-left-radius:var(--rounded-box, 1rem);border-bottom-right-radius:var(--rounded-box, 1rem)}}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-slate-200:hover{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.hover\:bg-slate-600:hover{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.hover\:text-gray-200:hover{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.active\:bg-gray-200:active{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.active\:bg-gray-700:active{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.active\:bg-slate-500:active{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}:is(.dark .dark\:border-green-400){--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-600){--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity))}:is(.dark .dark\:bg-gray-300){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:text-black){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-100){--tw-text-opacity: 1;color:rgb(220 252 231 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-300){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-200){--tw-text-opacity: 1;color:rgb(254 240 138 / var(--tw-text-opacity))}:is(.dark .dark\:shadow-green-300\/30){--tw-shadow-color: rgb(134 239 172 / .3);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-green-300\/80){--tw-shadow-color: rgb(134 239 172 / .8);--tw-shadow: var(--tw-shadow-colored)} diff --git a/build/app/immutable/assets/inter-cyrillic-400-normal.b75a5bf9.woff2 b/build/app/immutable/assets/inter-cyrillic-400-normal.b75a5bf9.woff2 new file mode 100644 index 000000000..a78fd7e61 Binary files /dev/null and b/build/app/immutable/assets/inter-cyrillic-400-normal.b75a5bf9.woff2 differ diff --git a/build/app/immutable/assets/inter-cyrillic-400-normal.cfcdf014.woff b/build/app/immutable/assets/inter-cyrillic-400-normal.cfcdf014.woff new file mode 100644 index 000000000..06edbbaf4 Binary files /dev/null and b/build/app/immutable/assets/inter-cyrillic-400-normal.cfcdf014.woff differ diff --git a/build/app/immutable/assets/inter-cyrillic-700-normal.6c49647a.woff2 b/build/app/immutable/assets/inter-cyrillic-700-normal.6c49647a.woff2 new file mode 100644 index 000000000..004f53c9f Binary files /dev/null and b/build/app/immutable/assets/inter-cyrillic-700-normal.6c49647a.woff2 differ diff --git a/build/app/immutable/assets/inter-cyrillic-700-normal.9d17d2c0.woff b/build/app/immutable/assets/inter-cyrillic-700-normal.9d17d2c0.woff new file mode 100644 index 000000000..262a0cded Binary files /dev/null and b/build/app/immutable/assets/inter-cyrillic-700-normal.9d17d2c0.woff differ diff --git a/build/app/immutable/assets/inter-cyrillic-ext-400-normal.91fac07b.woff b/build/app/immutable/assets/inter-cyrillic-ext-400-normal.91fac07b.woff new file mode 100644 index 000000000..462eca0b5 Binary files /dev/null and b/build/app/immutable/assets/inter-cyrillic-ext-400-normal.91fac07b.woff differ diff --git a/build/app/immutable/assets/inter-cyrillic-ext-400-normal.9508ee6d.woff2 b/build/app/immutable/assets/inter-cyrillic-ext-400-normal.9508ee6d.woff2 new file mode 100644 index 000000000..41cb31d57 Binary files /dev/null and b/build/app/immutable/assets/inter-cyrillic-ext-400-normal.9508ee6d.woff2 differ diff --git a/build/app/immutable/assets/inter-cyrillic-ext-700-normal.17ce5967.woff2 b/build/app/immutable/assets/inter-cyrillic-ext-700-normal.17ce5967.woff2 new file mode 100644 index 000000000..74d9e3ec6 Binary files /dev/null and b/build/app/immutable/assets/inter-cyrillic-ext-700-normal.17ce5967.woff2 differ diff --git a/build/app/immutable/assets/inter-cyrillic-ext-700-normal.4a150cf7.woff b/build/app/immutable/assets/inter-cyrillic-ext-700-normal.4a150cf7.woff new file mode 100644 index 000000000..83a006a76 Binary files /dev/null and b/build/app/immutable/assets/inter-cyrillic-ext-700-normal.4a150cf7.woff differ diff --git a/build/app/immutable/assets/inter-greek-400-normal.4d906204.woff2 b/build/app/immutable/assets/inter-greek-400-normal.4d906204.woff2 new file mode 100644 index 000000000..03a81ff87 Binary files /dev/null and b/build/app/immutable/assets/inter-greek-400-normal.4d906204.woff2 differ diff --git a/build/app/immutable/assets/inter-greek-400-normal.752eec51.woff b/build/app/immutable/assets/inter-greek-400-normal.752eec51.woff new file mode 100644 index 000000000..18f078290 Binary files /dev/null and b/build/app/immutable/assets/inter-greek-400-normal.752eec51.woff differ diff --git a/build/app/immutable/assets/inter-greek-700-normal.a6ff4c36.woff b/build/app/immutable/assets/inter-greek-700-normal.a6ff4c36.woff new file mode 100644 index 000000000..51e9faa28 Binary files /dev/null and b/build/app/immutable/assets/inter-greek-700-normal.a6ff4c36.woff differ diff --git a/build/app/immutable/assets/inter-greek-700-normal.bc935eb1.woff2 b/build/app/immutable/assets/inter-greek-700-normal.bc935eb1.woff2 new file mode 100644 index 000000000..aa20ad199 Binary files /dev/null and b/build/app/immutable/assets/inter-greek-700-normal.bc935eb1.woff2 differ diff --git a/build/app/immutable/assets/inter-greek-ext-400-normal.6888cfd9.woff2 b/build/app/immutable/assets/inter-greek-ext-400-normal.6888cfd9.woff2 new file mode 100644 index 000000000..e69fe4e3e Binary files /dev/null and b/build/app/immutable/assets/inter-greek-ext-400-normal.6888cfd9.woff2 differ diff --git a/build/app/immutable/assets/inter-greek-ext-400-normal.a5fd4754.woff b/build/app/immutable/assets/inter-greek-ext-400-normal.a5fd4754.woff new file mode 100644 index 000000000..48ce7e48c Binary files /dev/null and b/build/app/immutable/assets/inter-greek-ext-400-normal.a5fd4754.woff differ diff --git a/build/app/immutable/assets/inter-greek-ext-700-normal.096c17f3.woff2 b/build/app/immutable/assets/inter-greek-ext-700-normal.096c17f3.woff2 new file mode 100644 index 000000000..ff20e0944 Binary files /dev/null and b/build/app/immutable/assets/inter-greek-ext-700-normal.096c17f3.woff2 differ diff --git a/build/app/immutable/assets/inter-greek-ext-700-normal.e185a74a.woff b/build/app/immutable/assets/inter-greek-ext-700-normal.e185a74a.woff new file mode 100644 index 000000000..f00909221 Binary files /dev/null and b/build/app/immutable/assets/inter-greek-ext-700-normal.e185a74a.woff differ diff --git a/build/app/immutable/assets/inter-latin-400-normal.2301bb03.woff2 b/build/app/immutable/assets/inter-latin-400-normal.2301bb03.woff2 new file mode 100644 index 000000000..d228a4af2 Binary files /dev/null and b/build/app/immutable/assets/inter-latin-400-normal.2301bb03.woff2 differ diff --git a/build/app/immutable/assets/inter-latin-400-normal.86efb4c9.woff b/build/app/immutable/assets/inter-latin-400-normal.86efb4c9.woff new file mode 100644 index 000000000..df43f69e4 Binary files /dev/null and b/build/app/immutable/assets/inter-latin-400-normal.86efb4c9.woff differ diff --git a/build/app/immutable/assets/inter-latin-700-normal.7b43cb86.woff2 b/build/app/immutable/assets/inter-latin-700-normal.7b43cb86.woff2 new file mode 100644 index 000000000..775f7575e Binary files /dev/null and b/build/app/immutable/assets/inter-latin-700-normal.7b43cb86.woff2 differ diff --git a/build/app/immutable/assets/inter-latin-700-normal.eb518b64.woff b/build/app/immutable/assets/inter-latin-700-normal.eb518b64.woff new file mode 100644 index 000000000..e54621b40 Binary files /dev/null and b/build/app/immutable/assets/inter-latin-700-normal.eb518b64.woff differ diff --git a/build/app/immutable/assets/inter-latin-ext-400-normal.5578c98f.woff b/build/app/immutable/assets/inter-latin-ext-400-normal.5578c98f.woff new file mode 100644 index 000000000..c00b96eb8 Binary files /dev/null and b/build/app/immutable/assets/inter-latin-ext-400-normal.5578c98f.woff differ diff --git a/build/app/immutable/assets/inter-latin-ext-400-normal.56d25f40.woff2 b/build/app/immutable/assets/inter-latin-ext-400-normal.56d25f40.woff2 new file mode 100644 index 000000000..221a05f2e Binary files /dev/null and b/build/app/immutable/assets/inter-latin-ext-400-normal.56d25f40.woff2 differ diff --git a/build/app/immutable/assets/inter-latin-ext-700-normal.c17e9995.woff2 b/build/app/immutable/assets/inter-latin-ext-700-normal.c17e9995.woff2 new file mode 100644 index 000000000..a2dff4fe8 Binary files /dev/null and b/build/app/immutable/assets/inter-latin-ext-700-normal.c17e9995.woff2 differ diff --git a/build/app/immutable/assets/inter-latin-ext-700-normal.da2b2bd1.woff b/build/app/immutable/assets/inter-latin-ext-700-normal.da2b2bd1.woff new file mode 100644 index 000000000..9c863588e Binary files /dev/null and b/build/app/immutable/assets/inter-latin-ext-700-normal.da2b2bd1.woff differ diff --git a/build/app/immutable/assets/inter-vietnamese-400-normal.5b57714a.woff b/build/app/immutable/assets/inter-vietnamese-400-normal.5b57714a.woff new file mode 100644 index 000000000..e69ee9080 Binary files /dev/null and b/build/app/immutable/assets/inter-vietnamese-400-normal.5b57714a.woff differ diff --git a/build/app/immutable/assets/inter-vietnamese-400-normal.9fd231a7.woff2 b/build/app/immutable/assets/inter-vietnamese-400-normal.9fd231a7.woff2 new file mode 100644 index 000000000..96264ed64 Binary files /dev/null and b/build/app/immutable/assets/inter-vietnamese-400-normal.9fd231a7.woff2 differ diff --git a/build/app/immutable/assets/inter-vietnamese-700-normal.bff14448.woff b/build/app/immutable/assets/inter-vietnamese-700-normal.bff14448.woff new file mode 100644 index 000000000..0a28b075d Binary files /dev/null and b/build/app/immutable/assets/inter-vietnamese-700-normal.bff14448.woff differ diff --git a/build/app/immutable/assets/inter-vietnamese-700-normal.d3e3a1c3.woff2 b/build/app/immutable/assets/inter-vietnamese-700-normal.d3e3a1c3.woff2 new file mode 100644 index 000000000..147dcaf91 Binary files /dev/null and b/build/app/immutable/assets/inter-vietnamese-700-normal.d3e3a1c3.woff2 differ diff --git a/build/app/immutable/chunks/AskToLogin.c273dc76.js b/build/app/immutable/chunks/AskToLogin.c273dc76.js deleted file mode 100644 index 1ea2721fe..000000000 --- a/build/app/immutable/chunks/AskToLogin.c273dc76.js +++ /dev/null @@ -1 +0,0 @@ -import{S as m,i as p,s as _,k as o,q as v,l as h,m as d,r as x,h as r,n as i,b as A,D as u,H as l}from"./index.f3b06f47.js";function b(f){let t,e,n;return{c(){t=o("div"),e=o("a"),n=v("Get Authenticated"),this.h()},l(a){t=h(a,"DIV",{class:!0});var s=d(t);e=h(s,"A",{href:!0,class:!0});var c=d(e);n=x(c,"Get Authenticated"),c.forEach(r),s.forEach(r),this.h()},h(){i(e,"href","/Onboarding"),i(e,"class","btn p-5"),i(t,"class","p-10 flex justify-center items-center h-full")},m(a,s){A(a,t,s),u(t,e),u(e,n)},p:l,i:l,o:l,d(a){a&&r(t)}}}class y extends m{constructor(t){super(),p(this,t,null,b,_,{})}}export{y as A}; diff --git a/build/app/immutable/chunks/Header.b7ab37a3.js b/build/app/immutable/chunks/Header.b7ab37a3.js deleted file mode 100644 index bd480fe28..000000000 --- a/build/app/immutable/chunks/Header.b7ab37a3.js +++ /dev/null @@ -1 +0,0 @@ -import{S as Z,i as ee,s as te,k as u,l as f,m as d,h as a,n as c,b as k,J as re,H as Y,q as x,r as L,a as D,y as ae,c as U,z as le,U as se,D as o,A as oe,g as ce,d as ie,B as ne,o as ue}from"./index.f3b06f47.js";import{c as fe}from"./secondAuth.f9ee4b2a.js";function de(_){let e;return{c(){e=x("Light Mode")},l(t){e=L(t,"Light Mode")},m(t,r){k(t,e,r)},d(t){t&&a(e)}}}function he(_){let e;return{c(){e=x("Dark Mode")},l(t){e=L(t,"Dark Mode")},m(t,r){k(t,e,r)},d(t){t&&a(e)}}}function _e(_){let e,t,r;function l(n,g){if(n[0]==!1)return he;if(n[0]==!0)return de}let h=l(_),s=h&&h(_);return{c(){e=u("button"),s&&s.c(),this.h()},l(n){e=f(n,"BUTTON",{class:!0});var g=d(e);s&&s.l(g),g.forEach(a),this.h()},h(){c(e,"class","hover:bg-gray-600 hover:text-gray-200 active:bg-gray-200")},m(n,g){k(n,e,g),s&&s.m(e,null),t||(r=re(e,"click",_[1]),t=!0)},p(n,[g]){h!==(h=l(n))&&(s&&s.d(1),s=h&&h(n),s&&(s.c(),s.m(e,null)))},i:Y,o:Y,d(n){n&&a(e),s&&s.d(),t=!1,r()}}}function me(_,e,t){let r=!0;function l(){t(0,r=!r),localStorage.setItem("theme",r?"dark":"light"),r?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")}return localStorage.theme==="dark"||!("theme"in localStorage)&&window.matchMedia("(prefers-color-scheme: dark)").matches?(document.documentElement.classList.add("dark"),r=!0):(document.documentElement.classList.remove("dark"),r=!1),[r,l]}class ge extends Z{constructor(e){super(),ee(this,e,me,_e,te,{})}}function ve(_){let e,t;return{c(){e=u("a"),t=x("Wallet"),this.h()},l(r){e=f(r,"A",{class:!0,href:!0});var l=d(e);t=L(l,"Wallet"),l.forEach(a),this.h()},h(){c(e,"class","text-sm"),c(e,"href","/Onboarding")},m(r,l){k(r,e,l),o(e,t)},d(r){r&&a(e)}}}function be(_){let e,t;return{c(){e=u("a"),t=x("Wallet"),this.h()},l(r){e=f(r,"A",{class:!0,href:!0});var l=d(e);t=L(l,"Wallet"),l.forEach(a),this.h()},h(){c(e,"class","text-sm"),c(e,"href","/wallet")},m(r,l){k(r,e,l),o(e,t)},d(r){r&&a(e)}}}function pe(_){let e,t,r,l,h,s,n,g,$,v,b;return{c(){e=u("li"),t=u("a"),r=x("Profile"),l=D(),h=u("li"),s=u("a"),n=x("Settings"),g=D(),$=u("li"),v=u("a"),b=x("Help & Feedback"),this.h()},l(i){e=f(i,"LI",{});var p=d(e);t=f(p,"A",{href:!0,class:!0});var E=d(t);r=L(E,"Profile"),E.forEach(a),p.forEach(a),l=U(i),h=f(i,"LI",{});var I=d(h);s=f(I,"A",{href:!0,class:!0});var W=d(s);n=L(W,"Settings"),W.forEach(a),I.forEach(a),g=U(i),$=f(i,"LI",{});var H=d($);v=f(H,"A",{href:!0,class:!0});var y=d(v);b=L(y,"Help & Feedback"),y.forEach(a),H.forEach(a),this.h()},h(){c(t,"href","/profile"),c(t,"class","hover:bg-gray-600 hover:text-gray-200 active:bg-gray-700"),c(s,"href","/settings"),c(s,"class","hover:bg-gray-600 hover:text-gray-200 active:bg-gray-700"),c(v,"href","/feedback"),c(v,"class","hover:bg-gray-600 hover:text-gray-200 active:bg-gray-700")},m(i,p){k(i,e,p),o(e,t),o(t,r),k(i,l,p),k(i,h,p),o(h,s),o(s,n),k(i,g,p),k(i,$,p),o($,v),o(v,b)},d(i){i&&a(e),i&&a(l),i&&a(h),i&&a(g),i&&a($)}}}function ye(_){let e,t,r;return{c(){e=u("li"),t=u("a"),r=x("Setup Wallet"),this.h()},l(l){e=f(l,"LI",{});var h=d(e);t=f(h,"A",{href:!0,class:!0});var s=d(t);r=L(s,"Setup Wallet"),s.forEach(a),h.forEach(a),this.h()},h(){c(t,"href","/Onboarding"),c(t,"class","hover:bg-gray-600 hover:text-gray-200 active:bg-gray-700")},m(l,h){k(l,e,h),o(e,t),o(t,r)},d(l){l&&a(e)}}}function ke(_){let e,t,r,l,h,s,n,g,$,v,b,i,p,E,I,W,H,y,N,A,C,O;function G(m,S){return m[0]?be:ve}let T=G(_),M=T(_);A=new ge({});function J(m,S){return m[0]==!1?ye:pe}let V=J(_),w=V(_);return{c(){e=u("div"),t=u("div"),r=u("div"),l=u("img"),s=D(),n=u("a"),g=x("Netsepio"),$=D(),v=u("div"),b=u("ul"),i=u("li"),M.c(),p=D(),E=u("li"),I=u("button"),W=x("Menu"),H=D(),y=u("ul"),N=u("li"),ae(A.$$.fragment),C=D(),w.c(),this.h()},l(m){e=f(m,"DIV",{});var S=d(e);t=f(S,"DIV",{class:!0});var q=d(t);r=f(q,"DIV",{class:!0});var z=d(r);l=f(z,"IMG",{src:!0,alt:!0,class:!0}),s=U(z),n=f(z,"A",{class:!0,href:!0});var j=d(n);g=L(j,"Netsepio"),j.forEach(a),z.forEach(a),$=U(q),v=f(q,"DIV",{class:!0});var K=d(v);b=f(K,"UL",{class:!0});var B=d(b);i=f(B,"LI",{class:!0});var Q=d(i);M.l(Q),Q.forEach(a),p=U(B),E=f(B,"LI",{tabindex:!0});var F=d(E);I=f(F,"BUTTON",{class:!0});var R=d(I);W=L(R,"Menu"),R.forEach(a),H=U(F),y=f(F,"UL",{class:!0});var P=d(y);N=f(P,"LI",{});var X=d(N);le(A.$$.fragment,X),X.forEach(a),C=U(P),w.l(P),P.forEach(a),F.forEach(a),B.forEach(a),K.forEach(a),q.forEach(a),S.forEach(a),this.h()},h(){se(l.src,h=Ee)||c(l,"src",h),c(l,"alt","logo"),c(l,"class","w-1/5"),c(n,"class","normal-case text-xl"),c(n,"href","/"),c(r,"class","flex-1"),c(i,"class","hover:bg-gray-600 active:bg-gray-700 hover:text-gray-200 rounded-lg"),c(I,"class","text-sm hover:bg-gray-600 active:bg-gray-700 hover:text-gray-200"),c(y,"class","p-2 bg-white dark:bg-gray-900 -left-20"),c(E,"tabindex",0),c(b,"class","menu menu-horizontal px-1 z-10"),c(v,"class","flex-none"),c(t,"class","navbar rounded-lg shadow-lg shadow-gray-500/50 px-2 py-4 dark:shadow-green-300/80 gap-12")},m(m,S){k(m,e,S),o(e,t),o(t,r),o(r,l),o(r,s),o(r,n),o(n,g),o(t,$),o(t,v),o(v,b),o(b,i),M.m(i,null),o(b,p),o(b,E),o(E,I),o(I,W),o(E,H),o(E,y),o(y,N),oe(A,N,null),o(y,C),w.m(y,null),O=!0},p(m,[S]){T!==(T=G(m))&&(M.d(1),M=T(m),M&&(M.c(),M.m(i,null))),V!==(V=J(m))&&(w.d(1),w=V(m),w&&(w.c(),w.m(y,null)))},i(m){O||(ce(A.$$.fragment,m),O=!0)},o(m){ie(A.$$.fragment,m),O=!1},d(m){m&&a(e),M.d(),ne(A),w.d()}}}let Ee="/logo-3.png";function $e(_,e,t){let r;return ue(async()=>{t(0,[r]=await fe(),r)}),[r]}class Ie extends Z{constructor(e){super(),ee(this,e,$e,ke,te,{})}}export{Ie as H}; diff --git a/build/app/immutable/chunks/Header.cf7b0240.js b/build/app/immutable/chunks/Header.cf7b0240.js new file mode 100644 index 000000000..37002891e --- /dev/null +++ b/build/app/immutable/chunks/Header.cf7b0240.js @@ -0,0 +1,14 @@ +import{S as Br,i as Cr,s as Er,k as Q,l as Y,m as U,h as W,n as L,b as J,K as $x,H as A0,O as o0,P as i0,D as O,o as Fx,U as Dx,y as qr,a as C0,z as Lr,c as E0,A as Pr,g as Wr,d as Ir,B as $r,q as k0,r as m0}from"./index.89e71670.js";import{e as Tx,r as Mx,c as $,m as Ar}from"./store.b194c171.js";function Ux(w){let b,i,r,u,h,D;return{c(){b=o0("svg"),i=o0("g"),r=o0("path"),u=o0("defs"),h=o0("clipPath"),D=o0("rect"),this.h()},l(l){b=i0(l,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var d=U(b);i=i0(d,"g",{"clip-path":!0});var x=U(i);r=i0(x,"path",{d:!0,fill:!0}),U(r).forEach(W),x.forEach(W),u=i0(d,"defs",{});var e=U(u);h=i0(e,"clipPath",{id:!0});var B=U(h);D=i0(B,"rect",{width:!0,height:!0,fill:!0}),U(D).forEach(W),B.forEach(W),e.forEach(W),d.forEach(W),this.h()},h(){L(r,"d","M7.49931 11.875C7.65239 11.875 7.80014 11.9312 7.91454 12.0329C8.02894 12.1347 8.10202 12.2748 8.11993 12.4269L8.12431 12.5V13.125C8.12413 13.2843 8.06313 13.4375 7.95378 13.5534C7.84442 13.6692 7.69496 13.7389 7.53594 13.7482C7.37691 13.7576 7.22032 13.7058 7.09816 13.6036C6.976 13.5013 6.8975 13.3563 6.87868 13.1981L6.87431 13.125V12.5C6.87431 12.3342 6.94016 12.1753 7.05737 12.0581C7.17458 11.9408 7.33355 11.875 7.49931 11.875ZM11.4449 10.5687L11.5037 10.6206L11.9412 11.0581C12.0533 11.1706 12.1184 11.3215 12.1232 11.4802C12.128 11.639 12.0723 11.7936 11.9673 11.9127C11.8623 12.0318 11.7158 12.1064 11.5578 12.1215C11.3997 12.1366 11.2418 12.0909 11.1162 11.9937L11.0574 11.9419L10.6199 11.5044C10.5121 11.3967 10.4473 11.2533 10.4377 11.1013C10.4282 10.9492 10.4745 10.7988 10.568 10.6785C10.6615 10.5582 10.7958 10.4762 10.9456 10.4479C11.0953 10.4196 11.2502 10.447 11.3812 10.525L11.4449 10.5687ZM4.37868 10.6206C4.48629 10.7282 4.55094 10.8714 4.56049 11.0233C4.57004 11.1752 4.52384 11.3254 4.43056 11.4456L4.37868 11.5044L3.94118 11.9419C3.82871 12.054 3.67779 12.119 3.51907 12.1239C3.36035 12.1287 3.20574 12.073 3.08663 11.968C2.96753 11.8629 2.89287 11.7165 2.87781 11.5585C2.86275 11.4004 2.90843 11.2425 3.00556 11.1169L3.05743 11.0581L3.49493 10.6206C3.61214 10.5035 3.77108 10.4376 3.93681 10.4376C4.10254 10.4376 4.26148 10.5035 4.37868 10.6206ZM2.49931 6.875C2.65861 6.87518 2.81183 6.93617 2.92766 7.04553C3.0435 7.15489 3.1132 7.30435 3.12254 7.46337C3.13188 7.6224 3.08014 7.77899 2.97789 7.90114C2.87565 8.0233 2.73062 8.10181 2.57243 8.12062L2.49931 8.125H1.87431C1.71501 8.12482 1.56179 8.06383 1.44595 7.95447C1.33012 7.84511 1.26041 7.69565 1.25108 7.53663C1.24174 7.3776 1.29348 7.22101 1.39572 7.09885C1.49797 6.9767 1.643 6.89819 1.80118 6.87937L1.87431 6.875H2.49931ZM13.1243 6.875C13.2836 6.87518 13.4368 6.93617 13.5527 7.04553C13.6685 7.15489 13.7382 7.30435 13.7475 7.46337C13.7569 7.6224 13.7051 7.77899 13.6029 7.90114C13.5006 8.0233 13.3556 8.10181 13.1974 8.12062L13.1243 8.125H12.4993C12.34 8.12482 12.1868 8.06383 12.071 7.95447C11.9551 7.84511 11.8854 7.69565 11.8761 7.53663C11.8667 7.3776 11.9185 7.22101 12.0207 7.09885C12.123 6.9767 12.268 6.89819 12.4262 6.87937L12.4993 6.875H13.1243ZM3.88243 3.00625L3.94118 3.05812L4.37868 3.49562C4.49078 3.6081 4.55585 3.75902 4.5607 3.91774C4.56555 4.07646 4.5098 4.23107 4.40478 4.35017C4.29976 4.46928 4.15334 4.54394 3.99526 4.559C3.83718 4.57406 3.6793 4.52838 3.55368 4.43125L3.49493 4.37937L3.05743 3.94187C2.94999 3.83417 2.88552 3.69098 2.8761 3.53914C2.86668 3.38731 2.91297 3.23725 3.00628 3.1171C3.0996 2.99695 3.23353 2.91496 3.38298 2.88649C3.53242 2.85803 3.68711 2.88506 3.81806 2.9625L3.88243 3.00625ZM11.9412 3.05812C12.0488 3.16575 12.1134 3.30893 12.123 3.46082C12.1325 3.61272 12.0863 3.76287 11.9931 3.88312L11.9412 3.94187L11.5037 4.37937C11.3912 4.49147 11.2403 4.55655 11.0816 4.56139C10.9228 4.56624 10.7682 4.51049 10.6491 4.40547C10.53 4.30045 10.4554 4.15403 10.4403 3.99595C10.4252 3.83788 10.4709 3.67999 10.5681 3.55437L10.6199 3.49562L11.0574 3.05812C11.1746 2.94096 11.3336 2.87513 11.4993 2.87513C11.665 2.87513 11.824 2.94096 11.9412 3.05812ZM7.49931 1.25C7.65239 1.25002 7.80014 1.30622 7.91454 1.40795C8.02894 1.50967 8.10202 1.64984 8.11993 1.80187L8.12431 1.875V2.5C8.12413 2.6593 8.06313 2.81252 7.95378 2.92836C7.84442 3.04419 7.69496 3.1139 7.53594 3.12323C7.37691 3.13257 7.22032 3.08083 7.09816 2.97858C6.976 2.87634 6.8975 2.73131 6.87868 2.57312L6.87431 2.5V1.875C6.87431 1.70924 6.94016 1.55027 7.05737 1.43306C7.17458 1.31585 7.33355 1.25 7.49931 1.25ZM7.49931 4.375C8.11161 4.37496 8.71042 4.55481 9.22139 4.89219C9.73235 5.22957 10.1329 5.70962 10.3734 6.27273C10.6139 6.83583 10.6836 7.45717 10.574 8.05957C10.4643 8.66197 10.1801 9.21889 9.7567 9.66116C9.33325 10.1034 8.78921 10.4116 8.19214 10.5473C7.59507 10.683 6.97129 10.6403 6.39827 10.4245C5.82525 10.2088 5.32824 9.82942 4.96897 9.3336C4.6097 8.83778 4.40401 8.24735 4.37743 7.63562L4.37431 7.5L4.37743 7.36437C4.41238 6.55984 4.75656 5.79986 5.3382 5.24291C5.91983 4.68596 6.69402 4.37505 7.49931 4.375Z"),L(r,"fill","white"),L(i,"clip-path","url(#clip0_6763_6338)"),L(D,"width","15"),L(D,"height","15"),L(D,"fill","white"),L(h,"id","clip0_6763_6338"),L(b,"width","15"),L(b,"height","15"),L(b,"viewBox","0 0 15 15"),L(b,"fill","none"),L(b,"xmlns","http://www.w3.org/2000/svg")},m(l,d){J(l,b,d),O(b,i),O(i,r),O(b,u),O(u,h),O(h,D)},d(l){l&&W(b)}}}function Nx(w){let b,i;return{c(){b=o0("svg"),i=o0("path"),this.h()},l(r){b=i0(r,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var u=U(b);i=i0(u,"path",{d:!0,fill:!0}),U(i).forEach(W),u.forEach(W),this.h()},h(){L(i,"d","M13.8012 8.80181C13.4227 10.0375 12.664 11.1224 11.6332 11.902C10.7282 12.5831 9.65131 12.9986 8.52333 13.1016C7.39535 13.2047 6.26096 12.9914 5.2475 12.4855C4.23404 11.9797 3.38161 11.2015 2.78589 10.2381C2.19018 9.27471 1.87475 8.16437 1.87503 7.03169C1.87096 5.70962 2.30075 4.42271 3.09847 3.36841C3.87808 2.33763 4.96294 1.57899 6.19866 1.20044C6.28011 1.17537 6.36685 1.17296 6.44955 1.1935C6.53226 1.21403 6.6078 1.25672 6.66806 1.31698C6.72832 1.37724 6.77101 1.45278 6.79154 1.53549C6.81208 1.6182 6.80968 1.70494 6.7846 1.78638C6.51439 2.68019 6.49173 3.63056 6.71905 4.53622C6.94636 5.44189 7.41512 6.26892 8.07539 6.92919C8.73566 7.58945 9.56268 8.05822 10.4683 8.28553C11.374 8.51284 12.3244 8.49019 13.2182 8.21998C13.2996 8.1949 13.3864 8.1925 13.4691 8.21303C13.5518 8.23356 13.6273 8.27625 13.6876 8.33651C13.7479 8.39677 13.7905 8.47232 13.8111 8.55502C13.8316 8.63773 13.8292 8.72447 13.8041 8.80591L13.8012 8.80181Z"),L(i,"fill","black"),L(b,"width","15"),L(b,"height","15"),L(b,"viewBox","0 0 15 15"),L(b,"fill","none"),L(b,"xmlns","http://www.w3.org/2000/svg")},m(r,u){J(r,b,u),O(b,i)},d(r){r&&W(b)}}}function Ox(w){let b,i,r;function u(l,d){if(l[0]==!1)return Nx;if(l[0]==!0)return Ux}let h=u(w),D=h&&h(w);return{c(){b=Q("button"),D&&D.c(),this.h()},l(l){b=Y(l,"BUTTON",{class:!0});var d=U(b);D&&D.l(d),d.forEach(W),this.h()},h(){L(b,"class","hover:bg-gray-600 hover:text-gray-200 active:bg-gray-200")},m(l,d){J(l,b,d),D&&D.m(b,null),i||(r=$x(b,"click",w[1]),i=!0)},p(l,[d]){h!==(h=u(l))&&(D&&D.d(1),D=h&&h(l),D&&(D.c(),D.m(b,null)))},i:A0,o:A0,d(l){l&&W(b),D&&D.d(),i=!1,r()}}}function Xx(w,b,i){let r=!0;function u(){i(0,r=!r),localStorage.setItem("theme",r?"dark":"light"),r?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")}return localStorage.theme==="dark"||!("theme"in localStorage)&&window.matchMedia("(prefers-color-scheme: dark)").matches?(document.documentElement.classList.add("dark"),r=!0):(document.documentElement.classList.remove("dark"),r=!1),[r,u]}class Kx extends Br{constructor(b){super(),Cr(this,b,Xx,Ox,Er,{})}}var _x={exports:{}},L0={exports:{}},Tr;function M(){return Tr||(Tr=1,function(w,b){(function(i,r){w.exports=r()})($,function(){var i=i||function(r,u){var h;if(typeof window<"u"&&window.crypto&&(h=window.crypto),typeof self<"u"&&self.crypto&&(h=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(h=globalThis.crypto),!h&&typeof window<"u"&&window.msCrypto&&(h=window.msCrypto),!h&&typeof $<"u"&&$.crypto&&(h=$.crypto),!h&&typeof Tx=="function")try{h=Mx}catch{}var D=function(){if(h){if(typeof h.getRandomValues=="function")try{return h.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof h.randomBytes=="function")try{return h.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||function(){function n(){}return function(o){var f;return n.prototype=o,f=new n,n.prototype=null,f}}(),d={},x=d.lib={},e=x.Base=function(){return{extend:function(n){var o=l(this);return n&&o.mixIn(n),(!o.hasOwnProperty("init")||this.init===o.init)&&(o.init=function(){o.$super.init.apply(this,arguments)}),o.init.prototype=o,o.$super=this,o},create:function(){var n=this.extend();return n.init.apply(n,arguments),n},init:function(){},mixIn:function(n){for(var o in n)n.hasOwnProperty(o)&&(this[o]=n[o]);n.hasOwnProperty("toString")&&(this.toString=n.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),B=x.WordArray=e.extend({init:function(n,o){n=this.words=n||[],o!=u?this.sigBytes=o:this.sigBytes=n.length*4},toString:function(n){return(n||c).stringify(this)},concat:function(n){var o=this.words,f=n.words,A=this.sigBytes,p=n.sigBytes;if(this.clamp(),A%4)for(var F=0;F>>2]>>>24-F%4*8&255;o[A+F>>>2]|=g<<24-(A+F)%4*8}else for(var z=0;z>>2]=f[z>>>2];return this.sigBytes+=p,this},clamp:function(){var n=this.words,o=this.sigBytes;n[o>>>2]&=4294967295<<32-o%4*8,n.length=r.ceil(o/4)},clone:function(){var n=e.clone.call(this);return n.words=this.words.slice(0),n},random:function(n){for(var o=[],f=0;f>>2]>>>24-p%4*8&255;A.push((F>>>4).toString(16)),A.push((F&15).toString(16))}return A.join("")},parse:function(n){for(var o=n.length,f=[],A=0;A>>3]|=parseInt(n.substr(A,2),16)<<24-A%8*4;return new B.init(f,o/2)}},s=t.Latin1={stringify:function(n){for(var o=n.words,f=n.sigBytes,A=[],p=0;p>>2]>>>24-p%4*8&255;A.push(String.fromCharCode(F))}return A.join("")},parse:function(n){for(var o=n.length,f=[],A=0;A>>2]|=(n.charCodeAt(A)&255)<<24-A%4*8;return new B.init(f,o)}},v=t.Utf8={stringify:function(n){try{return decodeURIComponent(escape(s.stringify(n)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(n){return s.parse(unescape(encodeURIComponent(n)))}},a=x.BufferedBlockAlgorithm=e.extend({reset:function(){this._data=new B.init,this._nDataBytes=0},_append:function(n){typeof n=="string"&&(n=v.parse(n)),this._data.concat(n),this._nDataBytes+=n.sigBytes},_process:function(n){var o,f=this._data,A=f.words,p=f.sigBytes,F=this.blockSize,g=F*4,z=p/g;n?z=r.ceil(z):z=r.max((z|0)-this._minBufferSize,0);var E=z*F,_=r.min(E*4,p);if(E){for(var k=0;k>>2]|=d[B]<<24-B%4*8;D.call(this,e,x)}else D.apply(this,arguments)};l.prototype=h}}(),i.lib.WordArray})}(W0)),W0.exports}var I0={exports:{}},Nr;function Gx(){return Nr||(Nr=1,function(w,b){(function(i,r){w.exports=r(M())})($,function(i){return function(){var r=i,u=r.lib,h=u.WordArray,D=r.enc;D.Utf16=D.Utf16BE={stringify:function(d){for(var x=d.words,e=d.sigBytes,B=[],t=0;t>>2]>>>16-t%4*8&65535;B.push(String.fromCharCode(c))}return B.join("")},parse:function(d){for(var x=d.length,e=[],B=0;B>>1]|=d.charCodeAt(B)<<16-B%2*16;return h.create(e,x*2)}},D.Utf16LE={stringify:function(d){for(var x=d.words,e=d.sigBytes,B=[],t=0;t>>2]>>>16-t%4*8&65535);B.push(String.fromCharCode(c))}return B.join("")},parse:function(d){for(var x=d.length,e=[],B=0;B>>1]|=l(d.charCodeAt(B)<<16-B%2*16);return h.create(e,x*2)}};function l(d){return d<<8&4278255360|d>>>8&16711935}}(),i.enc.Utf16})}(I0)),I0.exports}var $0={exports:{}},Or;function l0(){return Or||(Or=1,function(w,b){(function(i,r){w.exports=r(M())})($,function(i){return function(){var r=i,u=r.lib,h=u.WordArray,D=r.enc;D.Base64={stringify:function(d){var x=d.words,e=d.sigBytes,B=this._map;d.clamp();for(var t=[],c=0;c>>2]>>>24-c%4*8&255,v=x[c+1>>>2]>>>24-(c+1)%4*8&255,a=x[c+2>>>2]>>>24-(c+2)%4*8&255,C=s<<16|v<<8|a,n=0;n<4&&c+n*.75>>6*(3-n)&63));var o=B.charAt(64);if(o)for(;t.length%4;)t.push(o);return t.join("")},parse:function(d){var x=d.length,e=this._map,B=this._reverseMap;if(!B){B=this._reverseMap=[];for(var t=0;t>>6-c%4*2,a=s|v;B[t>>>2]|=a<<24-t%4*8,t++}return h.create(B,t)}}(),i.enc.Base64})}($0)),$0.exports}var T0={exports:{}},Xr;function Vx(){return Xr||(Xr=1,function(w,b){(function(i,r){w.exports=r(M())})($,function(i){return function(){var r=i,u=r.lib,h=u.WordArray,D=r.enc;D.Base64url={stringify:function(d,x){x===void 0&&(x=!0);var e=d.words,B=d.sigBytes,t=x?this._safe_map:this._map;d.clamp();for(var c=[],s=0;s>>2]>>>24-s%4*8&255,a=e[s+1>>>2]>>>24-(s+1)%4*8&255,C=e[s+2>>>2]>>>24-(s+2)%4*8&255,n=v<<16|a<<8|C,o=0;o<4&&s+o*.75>>6*(3-o)&63));var f=t.charAt(64);if(f)for(;c.length%4;)c.push(f);return c.join("")},parse:function(d,x){x===void 0&&(x=!0);var e=d.length,B=x?this._safe_map:this._map,t=this._reverseMap;if(!t){t=this._reverseMap=[];for(var c=0;c>>6-c%4*2,a=s|v;B[t>>>2]|=a<<24-t%4*8,t++}return h.create(B,t)}}(),i.enc.Base64url})}(T0)),T0.exports}var M0={exports:{}},Kr;function u0(){return Kr||(Kr=1,function(w,b){(function(i,r){w.exports=r(M())})($,function(i){return function(r){var u=i,h=u.lib,D=h.WordArray,l=h.Hasher,d=u.algo,x=[];(function(){for(var v=0;v<64;v++)x[v]=r.abs(r.sin(v+1))*4294967296|0})();var e=d.MD5=l.extend({_doReset:function(){this._hash=new D.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(v,a){for(var C=0;C<16;C++){var n=a+C,o=v[n];v[n]=(o<<8|o>>>24)&16711935|(o<<24|o>>>8)&4278255360}var f=this._hash.words,A=v[a+0],p=v[a+1],F=v[a+2],g=v[a+3],z=v[a+4],E=v[a+5],_=v[a+6],k=v[a+7],m=v[a+8],q=v[a+9],P=v[a+10],I=v[a+11],G=v[a+12],N=v[a+13],K=v[a+14],X=v[a+15],y=f[0],S=f[1],R=f[2],H=f[3];y=B(y,S,R,H,A,7,x[0]),H=B(H,y,S,R,p,12,x[1]),R=B(R,H,y,S,F,17,x[2]),S=B(S,R,H,y,g,22,x[3]),y=B(y,S,R,H,z,7,x[4]),H=B(H,y,S,R,E,12,x[5]),R=B(R,H,y,S,_,17,x[6]),S=B(S,R,H,y,k,22,x[7]),y=B(y,S,R,H,m,7,x[8]),H=B(H,y,S,R,q,12,x[9]),R=B(R,H,y,S,P,17,x[10]),S=B(S,R,H,y,I,22,x[11]),y=B(y,S,R,H,G,7,x[12]),H=B(H,y,S,R,N,12,x[13]),R=B(R,H,y,S,K,17,x[14]),S=B(S,R,H,y,X,22,x[15]),y=t(y,S,R,H,p,5,x[16]),H=t(H,y,S,R,_,9,x[17]),R=t(R,H,y,S,I,14,x[18]),S=t(S,R,H,y,A,20,x[19]),y=t(y,S,R,H,E,5,x[20]),H=t(H,y,S,R,P,9,x[21]),R=t(R,H,y,S,X,14,x[22]),S=t(S,R,H,y,z,20,x[23]),y=t(y,S,R,H,q,5,x[24]),H=t(H,y,S,R,K,9,x[25]),R=t(R,H,y,S,g,14,x[26]),S=t(S,R,H,y,m,20,x[27]),y=t(y,S,R,H,N,5,x[28]),H=t(H,y,S,R,F,9,x[29]),R=t(R,H,y,S,k,14,x[30]),S=t(S,R,H,y,G,20,x[31]),y=c(y,S,R,H,E,4,x[32]),H=c(H,y,S,R,m,11,x[33]),R=c(R,H,y,S,I,16,x[34]),S=c(S,R,H,y,K,23,x[35]),y=c(y,S,R,H,p,4,x[36]),H=c(H,y,S,R,z,11,x[37]),R=c(R,H,y,S,k,16,x[38]),S=c(S,R,H,y,P,23,x[39]),y=c(y,S,R,H,N,4,x[40]),H=c(H,y,S,R,A,11,x[41]),R=c(R,H,y,S,g,16,x[42]),S=c(S,R,H,y,_,23,x[43]),y=c(y,S,R,H,q,4,x[44]),H=c(H,y,S,R,G,11,x[45]),R=c(R,H,y,S,X,16,x[46]),S=c(S,R,H,y,F,23,x[47]),y=s(y,S,R,H,A,6,x[48]),H=s(H,y,S,R,k,10,x[49]),R=s(R,H,y,S,K,15,x[50]),S=s(S,R,H,y,E,21,x[51]),y=s(y,S,R,H,G,6,x[52]),H=s(H,y,S,R,g,10,x[53]),R=s(R,H,y,S,P,15,x[54]),S=s(S,R,H,y,p,21,x[55]),y=s(y,S,R,H,m,6,x[56]),H=s(H,y,S,R,X,10,x[57]),R=s(R,H,y,S,_,15,x[58]),S=s(S,R,H,y,N,21,x[59]),y=s(y,S,R,H,z,6,x[60]),H=s(H,y,S,R,I,10,x[61]),R=s(R,H,y,S,F,15,x[62]),S=s(S,R,H,y,q,21,x[63]),f[0]=f[0]+y|0,f[1]=f[1]+S|0,f[2]=f[2]+R|0,f[3]=f[3]+H|0},_doFinalize:function(){var v=this._data,a=v.words,C=this._nDataBytes*8,n=v.sigBytes*8;a[n>>>5]|=128<<24-n%32;var o=r.floor(C/4294967296),f=C;a[(n+64>>>9<<4)+15]=(o<<8|o>>>24)&16711935|(o<<24|o>>>8)&4278255360,a[(n+64>>>9<<4)+14]=(f<<8|f>>>24)&16711935|(f<<24|f>>>8)&4278255360,v.sigBytes=(a.length+1)*4,this._process();for(var A=this._hash,p=A.words,F=0;F<4;F++){var g=p[F];p[F]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360}return A},clone:function(){var v=l.clone.call(this);return v._hash=this._hash.clone(),v}});function B(v,a,C,n,o,f,A){var p=v+(a&C|~a&n)+o+A;return(p<>>32-f)+a}function t(v,a,C,n,o,f,A){var p=v+(a&n|C&~n)+o+A;return(p<>>32-f)+a}function c(v,a,C,n,o,f,A){var p=v+(a^C^n)+o+A;return(p<>>32-f)+a}function s(v,a,C,n,o,f,A){var p=v+(C^(a|~n))+o+A;return(p<>>32-f)+a}u.MD5=l._createHelper(e),u.HmacMD5=l._createHmacHelper(e)}(Math),i.MD5})}(M0)),M0.exports}var U0={exports:{}},Zr;function bx(){return Zr||(Zr=1,function(w,b){(function(i,r){w.exports=r(M())})($,function(i){return function(){var r=i,u=r.lib,h=u.WordArray,D=u.Hasher,l=r.algo,d=[],x=l.SHA1=D.extend({_doReset:function(){this._hash=new h.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,B){for(var t=this._hash.words,c=t[0],s=t[1],v=t[2],a=t[3],C=t[4],n=0;n<80;n++){if(n<16)d[n]=e[B+n]|0;else{var o=d[n-3]^d[n-8]^d[n-14]^d[n-16];d[n]=o<<1|o>>>31}var f=(c<<5|c>>>27)+C+d[n];n<20?f+=(s&v|~s&a)+1518500249:n<40?f+=(s^v^a)+1859775393:n<60?f+=(s&v|s&a|v&a)-1894007588:f+=(s^v^a)-899497514,C=a,a=v,v=s<<30|s>>>2,s=c,c=f}t[0]=t[0]+c|0,t[1]=t[1]+s|0,t[2]=t[2]+v|0,t[3]=t[3]+a|0,t[4]=t[4]+C|0},_doFinalize:function(){var e=this._data,B=e.words,t=this._nDataBytes*8,c=e.sigBytes*8;return B[c>>>5]|=128<<24-c%32,B[(c+64>>>9<<4)+14]=Math.floor(t/4294967296),B[(c+64>>>9<<4)+15]=t,e.sigBytes=B.length*4,this._process(),this._hash},clone:function(){var e=D.clone.call(this);return e._hash=this._hash.clone(),e}});r.SHA1=D._createHelper(x),r.HmacSHA1=D._createHmacHelper(x)}(),i.SHA1})}(U0)),U0.exports}var N0={exports:{}},Gr;function pr(){return Gr||(Gr=1,function(w,b){(function(i,r){w.exports=r(M())})($,function(i){return function(r){var u=i,h=u.lib,D=h.WordArray,l=h.Hasher,d=u.algo,x=[],e=[];(function(){function c(C){for(var n=r.sqrt(C),o=2;o<=n;o++)if(!(C%o))return!1;return!0}function s(C){return(C-(C|0))*4294967296|0}for(var v=2,a=0;a<64;)c(v)&&(a<8&&(x[a]=s(r.pow(v,1/2))),e[a]=s(r.pow(v,1/3)),a++),v++})();var B=[],t=d.SHA256=l.extend({_doReset:function(){this._hash=new D.init(x.slice(0))},_doProcessBlock:function(c,s){for(var v=this._hash.words,a=v[0],C=v[1],n=v[2],o=v[3],f=v[4],A=v[5],p=v[6],F=v[7],g=0;g<64;g++){if(g<16)B[g]=c[s+g]|0;else{var z=B[g-15],E=(z<<25|z>>>7)^(z<<14|z>>>18)^z>>>3,_=B[g-2],k=(_<<15|_>>>17)^(_<<13|_>>>19)^_>>>10;B[g]=E+B[g-7]+k+B[g-16]}var m=f&A^~f&p,q=a&C^a&n^C&n,P=(a<<30|a>>>2)^(a<<19|a>>>13)^(a<<10|a>>>22),I=(f<<26|f>>>6)^(f<<21|f>>>11)^(f<<7|f>>>25),G=F+I+m+e[g]+B[g],N=P+q;F=p,p=A,A=f,f=o+G|0,o=n,n=C,C=a,a=G+N|0}v[0]=v[0]+a|0,v[1]=v[1]+C|0,v[2]=v[2]+n|0,v[3]=v[3]+o|0,v[4]=v[4]+f|0,v[5]=v[5]+A|0,v[6]=v[6]+p|0,v[7]=v[7]+F|0},_doFinalize:function(){var c=this._data,s=c.words,v=this._nDataBytes*8,a=c.sigBytes*8;return s[a>>>5]|=128<<24-a%32,s[(a+64>>>9<<4)+14]=r.floor(v/4294967296),s[(a+64>>>9<<4)+15]=v,c.sigBytes=s.length*4,this._process(),this._hash},clone:function(){var c=l.clone.call(this);return c._hash=this._hash.clone(),c}});u.SHA256=l._createHelper(t),u.HmacSHA256=l._createHmacHelper(t)}(Math),i.SHA256})}(N0)),N0.exports}var O0={exports:{}},Vr;function Qx(){return Vr||(Vr=1,function(w,b){(function(i,r,u){w.exports=r(M(),pr())})($,function(i){return function(){var r=i,u=r.lib,h=u.WordArray,D=r.algo,l=D.SHA256,d=D.SHA224=l.extend({_doReset:function(){this._hash=new h.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var x=l._doFinalize.call(this);return x.sigBytes-=4,x}});r.SHA224=l._createHelper(d),r.HmacSHA224=l._createHmacHelper(d)}(),i.SHA224})}(O0)),O0.exports}var X0={exports:{}},Qr;function gx(){return Qr||(Qr=1,function(w,b){(function(i,r,u){w.exports=r(M(),R0())})($,function(i){return function(){var r=i,u=r.lib,h=u.Hasher,D=r.x64,l=D.Word,d=D.WordArray,x=r.algo;function e(){return l.create.apply(l,arguments)}var B=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],t=[];(function(){for(var s=0;s<80;s++)t[s]=e()})();var c=x.SHA512=h.extend({_doReset:function(){this._hash=new d.init([new l.init(1779033703,4089235720),new l.init(3144134277,2227873595),new l.init(1013904242,4271175723),new l.init(2773480762,1595750129),new l.init(1359893119,2917565137),new l.init(2600822924,725511199),new l.init(528734635,4215389547),new l.init(1541459225,327033209)])},_doProcessBlock:function(s,v){for(var a=this._hash.words,C=a[0],n=a[1],o=a[2],f=a[3],A=a[4],p=a[5],F=a[6],g=a[7],z=C.high,E=C.low,_=n.high,k=n.low,m=o.high,q=o.low,P=f.high,I=f.low,G=A.high,N=A.low,K=p.high,X=p.low,y=F.high,S=F.low,R=g.high,H=g.low,V=z,Z=E,r0=_,T=k,p0=m,d0=q,z0=P,F0=I,a0=G,x0=N,w0=K,D0=X,H0=y,_0=S,q0=R,b0=H,n0=0;n0<80;n0++){var t0,f0,S0=t[n0];if(n0<16)f0=S0.high=s[v+n0*2]|0,t0=S0.low=s[v+n0*2+1]|0;else{var Dr=t[n0-15],h0=Dr.high,g0=Dr.low,yx=(h0>>>1|g0<<31)^(h0>>>8|g0<<24)^h0>>>7,_r=(g0>>>1|h0<<31)^(g0>>>8|h0<<24)^(g0>>>7|h0<<25),br=t[n0-2],B0=br.high,y0=br.low,kx=(B0>>>19|y0<<13)^(B0<<3|y0>>>29)^B0>>>6,gr=(y0>>>19|B0<<13)^(y0<<3|B0>>>29)^(y0>>>6|B0<<26),yr=t[n0-7],mx=yr.high,wx=yr.low,kr=t[n0-16],Hx=kr.high,mr=kr.low;t0=_r+wx,f0=yx+mx+(t0>>>0<_r>>>0?1:0),t0=t0+gr,f0=f0+kx+(t0>>>0>>0?1:0),t0=t0+mr,f0=f0+Hx+(t0>>>0>>0?1:0),S0.high=f0,S0.low=t0}var Sx=a0&w0^~a0&H0,wr=x0&D0^~x0&_0,Rx=V&r0^V&p0^r0&p0,zx=Z&T^Z&d0^T&d0,qx=(V>>>28|Z<<4)^(V<<30|Z>>>2)^(V<<25|Z>>>7),Hr=(Z>>>28|V<<4)^(Z<<30|V>>>2)^(Z<<25|V>>>7),Lx=(a0>>>14|x0<<18)^(a0>>>18|x0<<14)^(a0<<23|x0>>>9),Px=(x0>>>14|a0<<18)^(x0>>>18|a0<<14)^(x0<<23|a0>>>9),Sr=B[n0],Wx=Sr.high,Rr=Sr.low,e0=b0+Px,c0=q0+Lx+(e0>>>0>>0?1:0),e0=e0+wr,c0=c0+Sx+(e0>>>0>>0?1:0),e0=e0+Rr,c0=c0+Wx+(e0>>>0>>0?1:0),e0=e0+t0,c0=c0+f0+(e0>>>0>>0?1:0),zr=Hr+zx,Ix=qx+Rx+(zr>>>0
>>0?1:0);q0=H0,b0=_0,H0=w0,_0=D0,w0=a0,D0=x0,x0=F0+e0|0,a0=z0+c0+(x0>>>0>>0?1:0)|0,z0=p0,F0=d0,p0=r0,d0=T,r0=V,T=Z,Z=e0+zr|0,V=c0+Ix+(Z>>>0>>0?1:0)|0}E=C.low=E+Z,C.high=z+V+(E>>>0>>0?1:0),k=n.low=k+T,n.high=_+r0+(k>>>0>>0?1:0),q=o.low=q+d0,o.high=m+p0+(q>>>0>>0?1:0),I=f.low=I+F0,f.high=P+z0+(I>>>0>>0?1:0),N=A.low=N+x0,A.high=G+a0+(N>>>0>>0?1:0),X=p.low=X+D0,p.high=K+w0+(X>>>0>>0?1:0),S=F.low=S+_0,F.high=y+H0+(S>>>0<_0>>>0?1:0),H=g.low=H+b0,g.high=R+q0+(H>>>0>>0?1:0)},_doFinalize:function(){var s=this._data,v=s.words,a=this._nDataBytes*8,C=s.sigBytes*8;v[C>>>5]|=128<<24-C%32,v[(C+128>>>10<<5)+30]=Math.floor(a/4294967296),v[(C+128>>>10<<5)+31]=a,s.sigBytes=v.length*4,this._process();var n=this._hash.toX32();return n},clone:function(){var s=h.clone.call(this);return s._hash=this._hash.clone(),s},blockSize:1024/32});r.SHA512=h._createHelper(c),r.HmacSHA512=h._createHmacHelper(c)}(),i.SHA512})}(X0)),X0.exports}var K0={exports:{}},Yr;function Yx(){return Yr||(Yr=1,function(w,b){(function(i,r,u){w.exports=r(M(),R0(),gx())})($,function(i){return function(){var r=i,u=r.x64,h=u.Word,D=u.WordArray,l=r.algo,d=l.SHA512,x=l.SHA384=d.extend({_doReset:function(){this._hash=new D.init([new h.init(3418070365,3238371032),new h.init(1654270250,914150663),new h.init(2438529370,812702999),new h.init(355462360,4144912697),new h.init(1731405415,4290775857),new h.init(2394180231,1750603025),new h.init(3675008525,1694076839),new h.init(1203062813,3204075428)])},_doFinalize:function(){var e=d._doFinalize.call(this);return e.sigBytes-=16,e}});r.SHA384=d._createHelper(x),r.HmacSHA384=d._createHmacHelper(x)}(),i.SHA384})}(K0)),K0.exports}var Z0={exports:{}},jr;function jx(){return jr||(jr=1,function(w,b){(function(i,r,u){w.exports=r(M(),R0())})($,function(i){return function(r){var u=i,h=u.lib,D=h.WordArray,l=h.Hasher,d=u.x64,x=d.Word,e=u.algo,B=[],t=[],c=[];(function(){for(var a=1,C=0,n=0;n<24;n++){B[a+5*C]=(n+1)*(n+2)/2%64;var o=C%5,f=(2*a+3*C)%5;a=o,C=f}for(var a=0;a<5;a++)for(var C=0;C<5;C++)t[a+5*C]=C+(2*a+3*C)%5*5;for(var A=1,p=0;p<24;p++){for(var F=0,g=0,z=0;z<7;z++){if(A&1){var E=(1<>>24)&16711935|(A<<24|A>>>8)&4278255360,p=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360;var F=n[f];F.high^=p,F.low^=A}for(var g=0;g<24;g++){for(var z=0;z<5;z++){for(var E=0,_=0,k=0;k<5;k++){var F=n[z+5*k];E^=F.high,_^=F.low}var m=s[z];m.high=E,m.low=_}for(var z=0;z<5;z++)for(var q=s[(z+4)%5],P=s[(z+1)%5],I=P.high,G=P.low,E=q.high^(I<<1|G>>>31),_=q.low^(G<<1|I>>>31),k=0;k<5;k++){var F=n[z+5*k];F.high^=E,F.low^=_}for(var N=1;N<25;N++){var E,_,F=n[N],K=F.high,X=F.low,y=B[N];y<32?(E=K<>>32-y,_=X<>>32-y):(E=X<>>64-y,_=K<>>64-y);var S=s[t[N]];S.high=E,S.low=_}var R=s[0],H=n[0];R.high=H.high,R.low=H.low;for(var z=0;z<5;z++)for(var k=0;k<5;k++){var N=z+5*k,F=n[N],V=s[N],Z=s[(z+1)%5+5*k],r0=s[(z+2)%5+5*k];F.high=V.high^~Z.high&r0.high,F.low=V.low^~Z.low&r0.low}var F=n[0],T=c[g];F.high^=T.high,F.low^=T.low}},_doFinalize:function(){var a=this._data,C=a.words;this._nDataBytes*8;var n=a.sigBytes*8,o=this.blockSize*32;C[n>>>5]|=1<<24-n%32,C[(r.ceil((n+1)/o)*o>>>5)-1]|=128,a.sigBytes=C.length*4,this._process();for(var f=this._state,A=this.cfg.outputLength/8,p=A/8,F=[],g=0;g>>24)&16711935|(E<<24|E>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,F.push(_),F.push(E)}return new D.init(F,A)},clone:function(){for(var a=l.clone.call(this),C=a._state=this._state.slice(0),n=0;n<25;n++)C[n]=C[n].clone();return a}});u.SHA3=l._createHelper(v),u.HmacSHA3=l._createHmacHelper(v)}(Math),i.SHA3})}(Z0)),Z0.exports}var G0={exports:{}},Jr;function Jx(){return Jr||(Jr=1,function(w,b){(function(i,r){w.exports=r(M())})($,function(i){/** @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(r){var u=i,h=u.lib,D=h.WordArray,l=h.Hasher,d=u.algo,x=D.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]),e=D.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]),B=D.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]),t=D.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]),c=D.create([0,1518500249,1859775393,2400959708,2840853838]),s=D.create([1352829926,1548603684,1836072691,2053994217,0]),v=d.RIPEMD160=l.extend({_doReset:function(){this._hash=D.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(p,F){for(var g=0;g<16;g++){var z=F+g,E=p[z];p[z]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360}var _=this._hash.words,k=c.words,m=s.words,q=x.words,P=e.words,I=B.words,G=t.words,N,K,X,y,S,R,H,V,Z,r0;R=N=_[0],H=K=_[1],V=X=_[2],Z=y=_[3],r0=S=_[4];for(var T,g=0;g<80;g+=1)T=N+p[F+q[g]]|0,g<16?T+=a(K,X,y)+k[0]:g<32?T+=C(K,X,y)+k[1]:g<48?T+=n(K,X,y)+k[2]:g<64?T+=o(K,X,y)+k[3]:T+=f(K,X,y)+k[4],T=T|0,T=A(T,I[g]),T=T+S|0,N=S,S=y,y=A(X,10),X=K,K=T,T=R+p[F+P[g]]|0,g<16?T+=f(H,V,Z)+m[0]:g<32?T+=o(H,V,Z)+m[1]:g<48?T+=n(H,V,Z)+m[2]:g<64?T+=C(H,V,Z)+m[3]:T+=a(H,V,Z)+m[4],T=T|0,T=A(T,G[g]),T=T+r0|0,R=r0,r0=Z,Z=A(V,10),V=H,H=T;T=_[1]+X+Z|0,_[1]=_[2]+y+r0|0,_[2]=_[3]+S+R|0,_[3]=_[4]+N+H|0,_[4]=_[0]+K+V|0,_[0]=T},_doFinalize:function(){var p=this._data,F=p.words,g=this._nDataBytes*8,z=p.sigBytes*8;F[z>>>5]|=128<<24-z%32,F[(z+64>>>9<<4)+14]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,p.sigBytes=(F.length+1)*4,this._process();for(var E=this._hash,_=E.words,k=0;k<5;k++){var m=_[k];_[k]=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360}return E},clone:function(){var p=l.clone.call(this);return p._hash=this._hash.clone(),p}});function a(p,F,g){return p^F^g}function C(p,F,g){return p&F|~p&g}function n(p,F,g){return(p|~F)^g}function o(p,F,g){return p&g|F&~g}function f(p,F,g){return p^(F|~g)}function A(p,F){return p<>>32-F}u.RIPEMD160=l._createHelper(v),u.HmacRIPEMD160=l._createHmacHelper(v)}(),i.RIPEMD160})}(G0)),G0.exports}var V0={exports:{}},rx;function Fr(){return rx||(rx=1,function(w,b){(function(i,r){w.exports=r(M())})($,function(i){(function(){var r=i,u=r.lib,h=u.Base,D=r.enc,l=D.Utf8,d=r.algo;d.HMAC=h.extend({init:function(x,e){x=this._hasher=new x.init,typeof e=="string"&&(e=l.parse(e));var B=x.blockSize,t=B*4;e.sigBytes>t&&(e=x.finalize(e)),e.clamp();for(var c=this._oKey=e.clone(),s=this._iKey=e.clone(),v=c.words,a=s.words,C=0;C>>2]&255;E.sigBytes-=_}};h.BlockCipher=c.extend({cfg:c.cfg.extend({mode:a,padding:n}),reset:function(){var E;c.reset.call(this);var _=this.cfg,k=_.iv,m=_.mode;this._xformMode==this._ENC_XFORM_MODE?E=m.createEncryptor:(E=m.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==E?this._mode.init(this,k&&k.words):(this._mode=E.call(m,this,k&&k.words),this._mode.__creator=E)},_doProcessBlock:function(E,_){this._mode.processBlock(E,_)},_doFinalize:function(){var E,_=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(_.pad(this._data,this.blockSize),E=this._process(!0)):(E=this._process(!0),_.unpad(E)),E},blockSize:128/32});var o=h.CipherParams=D.extend({init:function(E){this.mixIn(E)},toString:function(E){return(E||this.formatter).stringify(this)}}),f=u.format={},A=f.OpenSSL={stringify:function(E){var _,k=E.ciphertext,m=E.salt;return m?_=l.create([1398893684,1701076831]).concat(m).concat(k):_=k,_.toString(e)},parse:function(E){var _,k=e.parse(E),m=k.words;return m[0]==1398893684&&m[1]==1701076831&&(_=l.create(m.slice(2,4)),m.splice(0,4),k.sigBytes-=16),o.create({ciphertext:k,salt:_})}},p=h.SerializableCipher=D.extend({cfg:D.extend({format:A}),encrypt:function(E,_,k,m){m=this.cfg.extend(m);var q=E.createEncryptor(k,m),P=q.finalize(_),I=q.cfg;return o.create({ciphertext:P,key:k,iv:I.iv,algorithm:E,mode:I.mode,padding:I.padding,blockSize:E.blockSize,formatter:m.format})},decrypt:function(E,_,k,m){m=this.cfg.extend(m),_=this._parse(_,m.format);var q=E.createDecryptor(k,m).finalize(_.ciphertext);return q},_parse:function(E,_){return typeof E=="string"?_.parse(E,this):E}}),F=u.kdf={},g=F.OpenSSL={execute:function(E,_,k,m,q){if(m||(m=l.random(64/8)),q)var P=t.create({keySize:_+k,hasher:q}).compute(E,m);else var P=t.create({keySize:_+k}).compute(E,m);var I=l.create(P.words.slice(_),k*4);return P.sigBytes=_*4,o.create({key:P,iv:I,salt:m})}},z=h.PasswordBasedCipher=p.extend({cfg:p.cfg.extend({kdf:g}),encrypt:function(E,_,k,m){m=this.cfg.extend(m);var q=m.kdf.execute(k,E.keySize,E.ivSize,m.salt,m.hasher);m.iv=q.iv;var P=p.encrypt.call(this,E,_,q.key,m);return P.mixIn(q),P},decrypt:function(E,_,k,m){m=this.cfg.extend(m),_=this._parse(_,m.format);var q=m.kdf.execute(k,E.keySize,E.ivSize,_.salt,m.hasher);m.iv=q.iv;var P=p.decrypt.call(this,E,_,q.key,m);return P}})}()})}(j0)),j0.exports}var J0={exports:{}},ax;function x1(){return ax||(ax=1,function(w,b){(function(i,r,u){w.exports=r(M(),j())})($,function(i){return i.mode.CFB=function(){var r=i.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(h,D){var l=this._cipher,d=l.blockSize;u.call(this,h,D,d,l),this._prevBlock=h.slice(D,D+d)}}),r.Decryptor=r.extend({processBlock:function(h,D){var l=this._cipher,d=l.blockSize,x=h.slice(D,D+d);u.call(this,h,D,d,l),this._prevBlock=x}});function u(h,D,l,d){var x,e=this._iv;e?(x=e.slice(0),this._iv=void 0):x=this._prevBlock,d.encryptBlock(x,0);for(var B=0;B>24&255)===255){var d=l>>16&255,x=l>>8&255,e=l&255;d===255?(d=0,x===255?(x=0,e===255?e=0:++e):++x):++d,l=0,l+=d<<16,l+=x<<8,l+=e}else l+=1<<24;return l}function h(l){return(l[0]=u(l[0]))===0&&(l[1]=u(l[1])),l}var D=r.Encryptor=r.extend({processBlock:function(l,d){var x=this._cipher,e=x.blockSize,B=this._iv,t=this._counter;B&&(t=this._counter=B.slice(0),this._iv=void 0),h(t);var c=t.slice(0);x.encryptBlock(c,0);for(var s=0;s>>2]|=l<<24-d%4*8,r.sigBytes+=l},unpad:function(r){var u=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=u}},i.pad.Ansix923})}(ar)),ar.exports}var nr={exports:{}},cx;function i1(){return cx||(cx=1,function(w,b){(function(i,r,u){w.exports=r(M(),j())})($,function(i){return i.pad.Iso10126={pad:function(r,u){var h=u*4,D=h-r.sigBytes%h;r.concat(i.lib.WordArray.random(D-1)).concat(i.lib.WordArray.create([D<<24],1))},unpad:function(r){var u=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=u}},i.pad.Iso10126})}(nr)),nr.exports}var or={exports:{}},vx;function s1(){return vx||(vx=1,function(w,b){(function(i,r,u){w.exports=r(M(),j())})($,function(i){return i.pad.Iso97971={pad:function(r,u){r.concat(i.lib.WordArray.create([2147483648],1)),i.pad.ZeroPadding.pad(r,u)},unpad:function(r){i.pad.ZeroPadding.unpad(r),r.sigBytes--}},i.pad.Iso97971})}(or)),or.exports}var ir={exports:{}},lx;function f1(){return lx||(lx=1,function(w,b){(function(i,r,u){w.exports=r(M(),j())})($,function(i){return i.pad.ZeroPadding={pad:function(r,u){var h=u*4;r.clamp(),r.sigBytes+=h-(r.sigBytes%h||h)},unpad:function(r){for(var u=r.words,h=r.sigBytes-1,h=r.sigBytes-1;h>=0;h--)if(u[h>>>2]>>>24-h%4*8&255){r.sigBytes=h+1;break}}},i.pad.ZeroPadding})}(ir)),ir.exports}var sr={exports:{}},ux;function c1(){return ux||(ux=1,function(w,b){(function(i,r,u){w.exports=r(M(),j())})($,function(i){return i.pad.NoPadding={pad:function(){},unpad:function(){}},i.pad.NoPadding})}(sr)),sr.exports}var fr={exports:{}},dx;function v1(){return dx||(dx=1,function(w,b){(function(i,r,u){w.exports=r(M(),j())})($,function(i){return function(r){var u=i,h=u.lib,D=h.CipherParams,l=u.enc,d=l.Hex,x=u.format;x.Hex={stringify:function(e){return e.ciphertext.toString(d)},parse:function(e){var B=d.parse(e);return D.create({ciphertext:B})}}}(),i.format.Hex})}(fr)),fr.exports}var cr={exports:{}},hx;function l1(){return hx||(hx=1,function(w,b){(function(i,r,u){w.exports=r(M(),l0(),u0(),v0(),j())})($,function(i){return function(){var r=i,u=r.lib,h=u.BlockCipher,D=r.algo,l=[],d=[],x=[],e=[],B=[],t=[],c=[],s=[],v=[],a=[];(function(){for(var o=[],f=0;f<256;f++)f<128?o[f]=f<<1:o[f]=f<<1^283;for(var A=0,p=0,f=0;f<256;f++){var F=p^p<<1^p<<2^p<<3^p<<4;F=F>>>8^F&255^99,l[A]=F,d[F]=A;var g=o[A],z=o[g],E=o[z],_=o[F]*257^F*16843008;x[A]=_<<24|_>>>8,e[A]=_<<16|_>>>16,B[A]=_<<8|_>>>24,t[A]=_;var _=E*16843009^z*65537^g*257^A*16843008;c[F]=_<<24|_>>>8,s[F]=_<<16|_>>>16,v[F]=_<<8|_>>>24,a[F]=_,A?(A=g^o[o[o[E^g]]],p^=o[o[p]]):A=p=1}})();var C=[0,1,2,4,8,16,32,64,128,27,54],n=D.AES=h.extend({_doReset:function(){var o;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var f=this._keyPriorReset=this._key,A=f.words,p=f.sigBytes/4,F=this._nRounds=p+6,g=(F+1)*4,z=this._keySchedule=[],E=0;E6&&E%p==4&&(o=l[o>>>24]<<24|l[o>>>16&255]<<16|l[o>>>8&255]<<8|l[o&255]):(o=o<<8|o>>>24,o=l[o>>>24]<<24|l[o>>>16&255]<<16|l[o>>>8&255]<<8|l[o&255],o^=C[E/p|0]<<24),z[E]=z[E-p]^o);for(var _=this._invKeySchedule=[],k=0;k>>24]]^s[l[o>>>16&255]]^v[l[o>>>8&255]]^a[l[o&255]]}}},encryptBlock:function(o,f){this._doCryptBlock(o,f,this._keySchedule,x,e,B,t,l)},decryptBlock:function(o,f){var A=o[f+1];o[f+1]=o[f+3],o[f+3]=A,this._doCryptBlock(o,f,this._invKeySchedule,c,s,v,a,d);var A=o[f+1];o[f+1]=o[f+3],o[f+3]=A},_doCryptBlock:function(o,f,A,p,F,g,z,E){for(var _=this._nRounds,k=o[f]^A[0],m=o[f+1]^A[1],q=o[f+2]^A[2],P=o[f+3]^A[3],I=4,G=1;G<_;G++){var N=p[k>>>24]^F[m>>>16&255]^g[q>>>8&255]^z[P&255]^A[I++],K=p[m>>>24]^F[q>>>16&255]^g[P>>>8&255]^z[k&255]^A[I++],X=p[q>>>24]^F[P>>>16&255]^g[k>>>8&255]^z[m&255]^A[I++],y=p[P>>>24]^F[k>>>16&255]^g[m>>>8&255]^z[q&255]^A[I++];k=N,m=K,q=X,P=y}var N=(E[k>>>24]<<24|E[m>>>16&255]<<16|E[q>>>8&255]<<8|E[P&255])^A[I++],K=(E[m>>>24]<<24|E[q>>>16&255]<<16|E[P>>>8&255]<<8|E[k&255])^A[I++],X=(E[q>>>24]<<24|E[P>>>16&255]<<16|E[k>>>8&255]<<8|E[m&255])^A[I++],y=(E[P>>>24]<<24|E[k>>>16&255]<<16|E[m>>>8&255]<<8|E[q&255])^A[I++];o[f]=N,o[f+1]=K,o[f+2]=X,o[f+3]=y},keySize:256/32});r.AES=h._createHelper(n)}(),i.AES})}(cr)),cr.exports}var vr={exports:{}},Bx;function u1(){return Bx||(Bx=1,function(w,b){(function(i,r,u){w.exports=r(M(),l0(),u0(),v0(),j())})($,function(i){return function(){var r=i,u=r.lib,h=u.WordArray,D=u.BlockCipher,l=r.algo,d=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],x=[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],e=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],B=[{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}],t=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],c=l.DES=D.extend({_doReset:function(){for(var C=this._key,n=C.words,o=[],f=0;f<56;f++){var A=d[f]-1;o[f]=n[A>>>5]>>>31-A%32&1}for(var p=this._subKeys=[],F=0;F<16;F++){for(var g=p[F]=[],z=e[F],f=0;f<24;f++)g[f/6|0]|=o[(x[f]-1+z)%28]<<31-f%6,g[4+(f/6|0)]|=o[28+(x[f+24]-1+z)%28]<<31-f%6;g[0]=g[0]<<1|g[0]>>>31;for(var f=1;f<7;f++)g[f]=g[f]>>>(f-1)*4+3;g[7]=g[7]<<5|g[7]>>>27}for(var E=this._invSubKeys=[],f=0;f<16;f++)E[f]=p[15-f]},encryptBlock:function(C,n){this._doCryptBlock(C,n,this._subKeys)},decryptBlock:function(C,n){this._doCryptBlock(C,n,this._invSubKeys)},_doCryptBlock:function(C,n,o){this._lBlock=C[n],this._rBlock=C[n+1],s.call(this,4,252645135),s.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),s.call(this,1,1431655765);for(var f=0;f<16;f++){for(var A=o[f],p=this._lBlock,F=this._rBlock,g=0,z=0;z<8;z++)g|=B[z][((F^A[z])&t[z])>>>0];this._lBlock=F,this._rBlock=p^g}var E=this._lBlock;this._lBlock=this._rBlock,this._rBlock=E,s.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),s.call(this,16,65535),s.call(this,4,252645135),C[n]=this._lBlock,C[n+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function s(C,n){var o=(this._lBlock>>>C^this._rBlock)&n;this._rBlock^=o,this._lBlock^=o<>>C^this._lBlock)&n;this._lBlock^=o,this._rBlock^=o<192.");var o=n.slice(0,2),f=n.length<4?n.slice(0,2):n.slice(2,4),A=n.length<6?n.slice(0,2):n.slice(4,6);this._des1=c.createEncryptor(h.create(o)),this._des2=c.createEncryptor(h.create(f)),this._des3=c.createEncryptor(h.create(A))},encryptBlock:function(C,n){this._des1.encryptBlock(C,n),this._des2.decryptBlock(C,n),this._des3.encryptBlock(C,n)},decryptBlock:function(C,n){this._des3.decryptBlock(C,n),this._des2.encryptBlock(C,n),this._des1.decryptBlock(C,n)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=D._createHelper(a)}(),i.TripleDES})}(vr)),vr.exports}var lr={exports:{}},Cx;function d1(){return Cx||(Cx=1,function(w,b){(function(i,r,u){w.exports=r(M(),l0(),u0(),v0(),j())})($,function(i){return function(){var r=i,u=r.lib,h=u.StreamCipher,D=r.algo,l=D.RC4=h.extend({_doReset:function(){for(var e=this._key,B=e.words,t=e.sigBytes,c=this._S=[],s=0;s<256;s++)c[s]=s;for(var s=0,v=0;s<256;s++){var a=s%t,C=B[a>>>2]>>>24-a%4*8&255;v=(v+c[s]+C)%256;var n=c[s];c[s]=c[v],c[v]=n}this._i=this._j=0},_doProcessBlock:function(e,B){e[B]^=d.call(this)},keySize:256/32,ivSize:0});function d(){for(var e=this._S,B=this._i,t=this._j,c=0,s=0;s<4;s++){B=(B+1)%256,t=(t+e[B])%256;var v=e[B];e[B]=e[t],e[t]=v,c|=e[(e[B]+e[t])%256]<<24-s*8}return this._i=B,this._j=t,c}r.RC4=h._createHelper(l);var x=D.RC4Drop=l.extend({cfg:l.cfg.extend({drop:192}),_doReset:function(){l._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)d.call(this)}});r.RC4Drop=h._createHelper(x)}(),i.RC4})}(lr)),lr.exports}var ur={exports:{}},Ex;function h1(){return Ex||(Ex=1,function(w,b){(function(i,r,u){w.exports=r(M(),l0(),u0(),v0(),j())})($,function(i){return function(){var r=i,u=r.lib,h=u.StreamCipher,D=r.algo,l=[],d=[],x=[],e=D.Rabbit=h.extend({_doReset:function(){for(var t=this._key.words,c=this.cfg.iv,s=0;s<4;s++)t[s]=(t[s]<<8|t[s]>>>24)&16711935|(t[s]<<24|t[s]>>>8)&4278255360;var v=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],a=this._C=[t[2]<<16|t[2]>>>16,t[0]&4294901760|t[1]&65535,t[3]<<16|t[3]>>>16,t[1]&4294901760|t[2]&65535,t[0]<<16|t[0]>>>16,t[2]&4294901760|t[3]&65535,t[1]<<16|t[1]>>>16,t[3]&4294901760|t[0]&65535];this._b=0;for(var s=0;s<4;s++)B.call(this);for(var s=0;s<8;s++)a[s]^=v[s+4&7];if(c){var C=c.words,n=C[0],o=C[1],f=(n<<8|n>>>24)&16711935|(n<<24|n>>>8)&4278255360,A=(o<<8|o>>>24)&16711935|(o<<24|o>>>8)&4278255360,p=f>>>16|A&4294901760,F=A<<16|f&65535;a[0]^=f,a[1]^=p,a[2]^=A,a[3]^=F,a[4]^=f,a[5]^=p,a[6]^=A,a[7]^=F;for(var s=0;s<4;s++)B.call(this)}},_doProcessBlock:function(t,c){var s=this._X;B.call(this),l[0]=s[0]^s[5]>>>16^s[3]<<16,l[1]=s[2]^s[7]>>>16^s[5]<<16,l[2]=s[4]^s[1]>>>16^s[7]<<16,l[3]=s[6]^s[3]>>>16^s[1]<<16;for(var v=0;v<4;v++)l[v]=(l[v]<<8|l[v]>>>24)&16711935|(l[v]<<24|l[v]>>>8)&4278255360,t[c+v]^=l[v]},blockSize:128/32,ivSize:64/32});function B(){for(var t=this._X,c=this._C,s=0;s<8;s++)d[s]=c[s];c[0]=c[0]+1295307597+this._b|0,c[1]=c[1]+3545052371+(c[0]>>>0>>0?1:0)|0,c[2]=c[2]+886263092+(c[1]>>>0>>0?1:0)|0,c[3]=c[3]+1295307597+(c[2]>>>0>>0?1:0)|0,c[4]=c[4]+3545052371+(c[3]>>>0>>0?1:0)|0,c[5]=c[5]+886263092+(c[4]>>>0>>0?1:0)|0,c[6]=c[6]+1295307597+(c[5]>>>0>>0?1:0)|0,c[7]=c[7]+3545052371+(c[6]>>>0>>0?1:0)|0,this._b=c[7]>>>0>>0?1:0;for(var s=0;s<8;s++){var v=t[s]+c[s],a=v&65535,C=v>>>16,n=((a*a>>>17)+a*C>>>15)+C*C,o=((v&4294901760)*v|0)+((v&65535)*v|0);x[s]=n^o}t[0]=x[0]+(x[7]<<16|x[7]>>>16)+(x[6]<<16|x[6]>>>16)|0,t[1]=x[1]+(x[0]<<8|x[0]>>>24)+x[7]|0,t[2]=x[2]+(x[1]<<16|x[1]>>>16)+(x[0]<<16|x[0]>>>16)|0,t[3]=x[3]+(x[2]<<8|x[2]>>>24)+x[1]|0,t[4]=x[4]+(x[3]<<16|x[3]>>>16)+(x[2]<<16|x[2]>>>16)|0,t[5]=x[5]+(x[4]<<8|x[4]>>>24)+x[3]|0,t[6]=x[6]+(x[5]<<16|x[5]>>>16)+(x[4]<<16|x[4]>>>16)|0,t[7]=x[7]+(x[6]<<8|x[6]>>>24)+x[5]|0}r.Rabbit=h._createHelper(e)}(),i.Rabbit})}(ur)),ur.exports}var dr={exports:{}},Ax;function B1(){return Ax||(Ax=1,function(w,b){(function(i,r,u){w.exports=r(M(),l0(),u0(),v0(),j())})($,function(i){return function(){var r=i,u=r.lib,h=u.StreamCipher,D=r.algo,l=[],d=[],x=[],e=D.RabbitLegacy=h.extend({_doReset:function(){var t=this._key.words,c=this.cfg.iv,s=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],v=this._C=[t[2]<<16|t[2]>>>16,t[0]&4294901760|t[1]&65535,t[3]<<16|t[3]>>>16,t[1]&4294901760|t[2]&65535,t[0]<<16|t[0]>>>16,t[2]&4294901760|t[3]&65535,t[1]<<16|t[1]>>>16,t[3]&4294901760|t[0]&65535];this._b=0;for(var a=0;a<4;a++)B.call(this);for(var a=0;a<8;a++)v[a]^=s[a+4&7];if(c){var C=c.words,n=C[0],o=C[1],f=(n<<8|n>>>24)&16711935|(n<<24|n>>>8)&4278255360,A=(o<<8|o>>>24)&16711935|(o<<24|o>>>8)&4278255360,p=f>>>16|A&4294901760,F=A<<16|f&65535;v[0]^=f,v[1]^=p,v[2]^=A,v[3]^=F,v[4]^=f,v[5]^=p,v[6]^=A,v[7]^=F;for(var a=0;a<4;a++)B.call(this)}},_doProcessBlock:function(t,c){var s=this._X;B.call(this),l[0]=s[0]^s[5]>>>16^s[3]<<16,l[1]=s[2]^s[7]>>>16^s[5]<<16,l[2]=s[4]^s[1]>>>16^s[7]<<16,l[3]=s[6]^s[3]>>>16^s[1]<<16;for(var v=0;v<4;v++)l[v]=(l[v]<<8|l[v]>>>24)&16711935|(l[v]<<24|l[v]>>>8)&4278255360,t[c+v]^=l[v]},blockSize:128/32,ivSize:64/32});function B(){for(var t=this._X,c=this._C,s=0;s<8;s++)d[s]=c[s];c[0]=c[0]+1295307597+this._b|0,c[1]=c[1]+3545052371+(c[0]>>>0>>0?1:0)|0,c[2]=c[2]+886263092+(c[1]>>>0>>0?1:0)|0,c[3]=c[3]+1295307597+(c[2]>>>0>>0?1:0)|0,c[4]=c[4]+3545052371+(c[3]>>>0>>0?1:0)|0,c[5]=c[5]+886263092+(c[4]>>>0>>0?1:0)|0,c[6]=c[6]+1295307597+(c[5]>>>0>>0?1:0)|0,c[7]=c[7]+3545052371+(c[6]>>>0>>0?1:0)|0,this._b=c[7]>>>0>>0?1:0;for(var s=0;s<8;s++){var v=t[s]+c[s],a=v&65535,C=v>>>16,n=((a*a>>>17)+a*C>>>15)+C*C,o=((v&4294901760)*v|0)+((v&65535)*v|0);x[s]=n^o}t[0]=x[0]+(x[7]<<16|x[7]>>>16)+(x[6]<<16|x[6]>>>16)|0,t[1]=x[1]+(x[0]<<8|x[0]>>>24)+x[7]|0,t[2]=x[2]+(x[1]<<16|x[1]>>>16)+(x[0]<<16|x[0]>>>16)|0,t[3]=x[3]+(x[2]<<8|x[2]>>>24)+x[1]|0,t[4]=x[4]+(x[3]<<16|x[3]>>>16)+(x[2]<<16|x[2]>>>16)|0,t[5]=x[5]+(x[4]<<8|x[4]>>>24)+x[3]|0,t[6]=x[6]+(x[5]<<16|x[5]>>>16)+(x[4]<<16|x[4]>>>16)|0,t[7]=x[7]+(x[6]<<8|x[6]>>>24)+x[5]|0}r.RabbitLegacy=h._createHelper(e)}(),i.RabbitLegacy})}(dr)),dr.exports}var hr={exports:{}},px;function C1(){return px||(px=1,function(w,b){(function(i,r,u){w.exports=r(M(),l0(),u0(),v0(),j())})($,function(i){return function(){var r=i,u=r.lib,h=u.BlockCipher,D=r.algo;const l=16,d=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],x=[[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 e={pbox:[],sbox:[]};function B(a,C){let n=C>>24&255,o=C>>16&255,f=C>>8&255,A=C&255,p=a.sbox[0][n]+a.sbox[1][o];return p=p^a.sbox[2][f],p=p+a.sbox[3][A],p}function t(a,C,n){let o=C,f=n,A;for(let p=0;p1;--p)o=o^a.pbox[p],f=B(a,o)^f,A=o,o=f,f=A;return A=o,o=f,f=A,f=f^a.pbox[1],o=o^a.pbox[0],{left:o,right:f}}function s(a,C,n){for(let F=0;F<4;F++){a.sbox[F]=[];for(let g=0;g<256;g++)a.sbox[F][g]=x[F][g]}let o=0;for(let F=0;F=n&&(o=0);let f=0,A=0,p=0;for(let F=0;F{const b=await Ar.get(),i=s0.SHA256(b).toString(s0.enc.Hex);localStorage.setItem("mnemonicHash",i);const r=s0.lib.WordArray.random(16).toString(s0.enc.Hex);return{encryptedData:s0.AES.encrypt(b,w,{iv:r}).toString(),iv:r}},A1=(w,b,i)=>s0.AES.decrypt(w,b,{iv:i}).toString(s0.enc.Utf8);async function q1(w){const b=await E1(w);return localStorage.setItem("iv",b.iv),localStorage.setItem("encryptedMnemonic",b.encryptedData),!!localStorage.getItem("encryptedMnemonic")}function L1(w){const b=localStorage.getItem("iv");if(!b)return!1;const i=localStorage.getItem("encryptedMnemonic");if(!i)return!1;const r=A1(i,w,b),u=localStorage.getItem("mnemonicHash"),h=s0.SHA256(r).toString(s0.enc.Hex);return h===u?(Ar.set(h),!0):!1}async function p1(){const w=await Ar.get(),b=localStorage.getItem("encryptedMnemonic");let i=[!1,!1];return b?i[0]=!0:i[0]=!1,w?i[1]=!0:i[1]=!1,i}function F1(w){let b,i;return{c(){b=Q("img"),this.h()},l(r){b=Y(r,"IMG",{src:!0,alt:!0,class:!0}),this.h()},h(){Dx(b.src,i=g1)||L(b,"src",i),L(b,"alt","logo"),L(b,"class","w-2/5")},m(r,u){J(r,b,u)},p:A0,d(r){r&&W(b)}}}function D1(w){let b,i;return{c(){b=Q("img"),this.h()},l(r){b=Y(r,"IMG",{src:!0,alt:!0,class:!0}),this.h()},h(){Dx(b.src,i=b1)||L(b,"src",i),L(b,"alt","logo"),L(b,"class","w-4/5")},m(r,u){J(r,b,u)},p:A0,d(r){r&&W(b)}}}function _1(w){let b;function i(h,D){if(h[0]==!0)return D1;if(h[0]==!1)return F1}let r=i(w),u=r&&r(w);return{c(){b=Q("a"),u&&u.c(),this.h()},l(h){b=Y(h,"A",{href:!0});var D=U(b);u&&u.l(D),D.forEach(W),this.h()},h(){L(b,"href","/")},m(h,D){J(h,b,D),u&&u.m(b,null)},p(h,[D]){r===(r=i(h))&&u?u.p(h,D):(u&&u.d(1),u=r&&r(h),u&&(u.c(),u.m(b,null)))},i:A0,o:A0,d(h){h&&W(b),u&&u.d()}}}let b1="/netsepio-logo.png",g1="/logo-3.png";function y1(w,b,i){let r=!0;return Fx(()=>{localStorage.theme==="dark"||!("theme"in localStorage)&&window.matchMedia("(prefers-color-scheme: dark)").matches?i(0,r=!0):document.documentElement.classList.remove("dark")}),[r]}class k1 extends Br{constructor(b){super(),Cr(this,b,y1,_1,Er,{})}}function m1(w){let b,i,r,u,h,D,l,d,x,e,B,t,c,s,v;return{c(){b=Q("li"),i=Q("a"),r=k0("My Wallet"),u=C0(),h=Q("li"),D=Q("a"),l=k0("Profile"),d=C0(),x=Q("li"),e=Q("a"),B=k0("Settings"),t=C0(),c=Q("li"),s=Q("a"),v=k0("Help & Feedback"),this.h()},l(a){b=Y(a,"LI",{});var C=U(b);i=Y(C,"A",{href:!0,class:!0});var n=U(i);r=m0(n,"My Wallet"),n.forEach(W),C.forEach(W),u=E0(a),h=Y(a,"LI",{});var o=U(h);D=Y(o,"A",{href:!0,class:!0});var f=U(D);l=m0(f,"Profile"),f.forEach(W),o.forEach(W),d=E0(a),x=Y(a,"LI",{});var A=U(x);e=Y(A,"A",{href:!0,class:!0});var p=U(e);B=m0(p,"Settings"),p.forEach(W),A.forEach(W),t=E0(a),c=Y(a,"LI",{});var F=U(c);s=Y(F,"A",{href:!0,class:!0});var g=U(s);v=m0(g,"Help & Feedback"),g.forEach(W),F.forEach(W),this.h()},h(){L(i,"href","/wallet"),L(i,"class","nav-link"),L(D,"href","/profile"),L(D,"class","nav-link"),L(e,"href","/settings"),L(e,"class","nav-link"),L(s,"href","/feedback"),L(s,"class","nav-link")},m(a,C){J(a,b,C),O(b,i),O(i,r),J(a,u,C),J(a,h,C),O(h,D),O(D,l),J(a,d,C),J(a,x,C),O(x,e),O(e,B),J(a,t,C),J(a,c,C),O(c,s),O(s,v)},d(a){a&&W(b),a&&W(u),a&&W(h),a&&W(d),a&&W(x),a&&W(t),a&&W(c)}}}function w1(w){let b,i,r;return{c(){b=Q("li"),i=Q("a"),r=k0("Help & Feedback"),this.h()},l(u){b=Y(u,"LI",{});var h=U(b);i=Y(h,"A",{href:!0,class:!0});var D=U(i);r=m0(D,"Help & Feedback"),D.forEach(W),h.forEach(W),this.h()},h(){L(i,"href","/feedback"),L(i,"class","nav-link")},m(u,h){J(u,b,h),O(b,i),O(i,r)},d(u){u&&W(b)}}}function H1(w){let b,i,r,u,h,D,l,d,x,e,B,t,c,s,v,a,C;u=new k1({});function n(A,p){return A[0]==!1?w1:m1}let o=n(w),f=o(w);return a=new Kx({}),{c(){b=Q("div"),i=Q("div"),r=Q("div"),qr(u.$$.fragment),h=C0(),D=Q("div"),l=Q("ul"),d=Q("li"),x=Q("button"),e=o0("svg"),B=o0("path"),t=C0(),c=Q("ul"),f.c(),s=C0(),v=Q("li"),qr(a.$$.fragment),this.h()},l(A){b=Y(A,"DIV",{});var p=U(b);i=Y(p,"DIV",{class:!0});var F=U(i);r=Y(F,"DIV",{class:!0});var g=U(r);Lr(u.$$.fragment,g),g.forEach(W),h=E0(F),D=Y(F,"DIV",{class:!0});var z=U(D);l=Y(z,"UL",{class:!0});var E=U(l);d=Y(E,"LI",{tabindex:!0});var _=U(d);x=Y(_,"BUTTON",{class:!0});var k=U(x);e=i0(k,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0,class:!0});var m=U(e);B=i0(m,"path",{d:!0,"stroke-linecap":!0,"stroke-linejoin":!0}),U(B).forEach(W),m.forEach(W),k.forEach(W),t=E0(_),c=Y(_,"UL",{class:!0});var q=U(c);f.l(q),q.forEach(W),_.forEach(W),s=E0(E),v=Y(E,"LI",{});var P=U(v);Lr(a.$$.fragment,P),P.forEach(W),E.forEach(W),z.forEach(W),F.forEach(W),p.forEach(W),this.h()},h(){L(r,"class","flex-1"),L(B,"d","M7.5 10.625H11.875M3.125 7.5H11.875M3.125 4.375H11.875"),L(B,"stroke-linecap","round"),L(B,"stroke-linejoin","round"),L(e,"width","15"),L(e,"height","15"),L(e,"viewBox","0 0 15 15"),L(e,"fill","none"),L(e,"xmlns","http://www.w3.org/2000/svg"),L(e,"class","stroke-black dark:stroke-white"),L(x,"class","text-sm hover:bg-gray-600 active:bg-gray-700 hover:text-gray-200"),L(c,"class","py-2 bg-white dark:bg-[#222944] -left-10"),L(d,"tabindex",0),L(l,"class","menu menu-horizontal px-1 z-10"),L(D,"class","flex-none"),L(i,"class","navbar bg-white dark:bg-[#222944] rounded-lg shadow-md px-2 py-4 dark:shadow-white/5 gap-12")},m(A,p){J(A,b,p),O(b,i),O(i,r),Pr(u,r,null),O(i,h),O(i,D),O(D,l),O(l,d),O(d,x),O(x,e),O(e,B),O(d,t),O(d,c),f.m(c,null),O(l,s),O(l,v),Pr(a,v,null),C=!0},p(A,[p]){o!==(o=n(A))&&(f.d(1),f=o(A),f&&(f.c(),f.m(c,null)))},i(A){C||(Wr(u.$$.fragment,A),Wr(a.$$.fragment,A),C=!0)},o(A){Ir(u.$$.fragment,A),Ir(a.$$.fragment,A),C=!1},d(A){A&&W(b),$r(u),f.d(),$r(a)}}}function S1(w,b,i){let r;return Fx(async()=>{i(0,[r]=await p1(),r)}),[r]}class P1 extends Br{constructor(b){super(),Cr(this,b,S1,H1,Er,{})}}export{P1 as H,L1 as a,p1 as c,q1 as e}; diff --git a/build/app/immutable/chunks/Loader.d36557e7.js b/build/app/immutable/chunks/Loader.ef1f0f41.js similarity index 89% rename from build/app/immutable/chunks/Loader.d36557e7.js rename to build/app/immutable/chunks/Loader.ef1f0f41.js index 9eccb1368..0b2eb5454 100644 --- a/build/app/immutable/chunks/Loader.d36557e7.js +++ b/build/app/immutable/chunks/Loader.ef1f0f41.js @@ -1 +1 @@ -import{S as h,i as f,s as m,k as i,l as o,m as c,h as r,n as d,b as p,D as u,H as n}from"./index.f3b06f47.js";function v(l){let e,s;return{c(){e=i("div"),s=i("div"),this.h()},l(t){e=o(t,"DIV",{class:!0});var a=c(e);s=o(a,"DIV",{class:!0}),c(s).forEach(r),a.forEach(r),this.h()},h(){d(s,"class","animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-[#11d9c5]"),d(e,"class","fixed top-0 right-0 h-screen w-screen z-50 flex justify-center items-center p-10")},m(t,a){p(t,e,a),u(e,s)},p:n,i:n,o:n,d(t){t&&r(e)}}}class b extends h{constructor(e){super(),f(this,e,null,v,m,{})}}export{b as L}; +import{S as h,i as f,s as m,k as i,l as o,m as c,h as r,n as d,b as p,D as u,H as n}from"./index.89e71670.js";function v(l){let e,s;return{c(){e=i("div"),s=i("div"),this.h()},l(t){e=o(t,"DIV",{class:!0});var a=c(e);s=o(a,"DIV",{class:!0}),c(s).forEach(r),a.forEach(r),this.h()},h(){d(s,"class","animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-[#11d9c5]"),d(e,"class","fixed top-0 right-0 h-screen w-screen z-50 flex justify-center items-center p-10")},m(t,a){p(t,e,a),u(e,s)},p:n,i:n,o:n,d(t){t&&r(e)}}}class b extends h{constructor(e){super(),f(this,e,null,v,m,{})}}export{b as L}; diff --git a/build/app/immutable/chunks/Logout.35258e20.js b/build/app/immutable/chunks/Logout.35258e20.js deleted file mode 100644 index 5b63e6020..000000000 --- a/build/app/immutable/chunks/Logout.35258e20.js +++ /dev/null @@ -1 +0,0 @@ -import{S as W,i as z,s as C,k as h,q as T,a as D,l as m,m as b,r as y,h as i,c as R,n as u,K as J,b as V,D as r,Q as M,J as w,H as S,L as K}from"./index.f3b06f47.js";import{m as Q,s as j,w as F,o as G,d as X}from"./store.26750aee.js";function Y(d){let t,e,l;return{c(){t=h("div"),e=h("button"),l=T("Reset"),this.h()},l(o){t=m(o,"DIV",{class:!0});var a=b(t);e=m(a,"BUTTON",{class:!0});var s=b(e);l=y(s,"Reset"),s.forEach(i),a.forEach(i),this.h()},h(){u(e,"class","btn"),e.disabled=!0,u(t,"class","modal-action")},m(o,a){V(o,t,a),r(t,e),r(e,l)},p:S,d(o){o&&i(t)}}}function Z(d){let t,e,l,o,a,s;return{c(){t=h("div"),e=h("a"),l=h("button"),o=T("Reset"),this.h()},l(n){t=m(n,"DIV",{class:!0});var v=b(t);e=m(v,"A",{href:!0});var k=b(e);l=m(k,"BUTTON",{class:!0});var g=b(l);o=y(g,"Reset"),g.forEach(i),k.forEach(i),v.forEach(i),this.h()},h(){u(l,"class","btn"),u(e,"href","/"),u(t,"class","modal-action")},m(n,v){V(n,t,v),r(t,e),r(e,l),r(l,o),a||(s=w(l,"click",d[3]),a=!0)},p:S,d(n){n&&i(t),a=!1,s()}}}function $(d){let t,e,l,o,a,s,n,v,k,g,x,L,f,N,U,B;function O(c,_){return c[1]?Z:Y}let I=O(d),p=I(d);return{c(){t=h("div"),e=h("button"),l=T("Reset Wallet"),o=D(),a=h("div"),s=h("div"),n=h("button"),v=T("✕"),k=D(),g=h("p"),x=T("Enter 'reset'"),L=D(),f=h("input"),N=D(),p.c(),this.h()},l(c){t=m(c,"DIV",{});var _=b(t);e=m(_,"BUTTON",{class:!0});var P=b(e);l=y(P,"Reset Wallet"),P.forEach(i),o=R(_),a=m(_,"DIV",{class:!0});var q=b(a);s=m(q,"DIV",{class:!0});var E=b(s);n=m(E,"BUTTON",{class:!0});var A=b(n);v=y(A,"✕"),A.forEach(i),k=R(E),g=m(E,"P",{class:!0});var H=b(g);x=y(H,"Enter 'reset'"),H.forEach(i),L=R(E),f=m(E,"INPUT",{type:!0,placeholder:!0,class:!0}),N=R(E),p.l(E),E.forEach(i),q.forEach(i),_.forEach(i),this.h()},h(){u(e,"class","block rounded-lg shadow-lg bg-red-500 dark:bg-red-500 text-white p-2 w-full h-auto hover:bg-slate-600 active:bg-slate-500 text-xl text-center"),u(n,"class","btn btn-sm btn-circle absolute right-2 top-2"),u(g,"class","text-md mt-5 mb-3 text-center"),u(f,"type","text"),u(f,"placeholder","reset"),u(f,"class","input input-bordered dark:bg-gray-900 dark:text-white dark:border-zinc-600 input-md w-full max-w-xs"),u(s,"class","modal-box dark:bg-gray-900 dark:text-white"),u(a,"class","modal modal-bottom sm:modal-middle"),J(a,"modal-open",d[0])},m(c,_){V(c,t,_),r(t,e),r(e,l),r(t,o),r(t,a),r(a,s),r(s,n),r(n,v),r(s,k),r(s,g),r(g,x),r(s,L),r(s,f),M(f,d[2]),r(s,N),p.m(s,null),U||(B=[w(e,"click",d[4]),w(n,"click",d[5]),w(f,"input",d[6]),w(f,"change",d[7])],U=!0)},p(c,[_]){_&4&&f.value!==c[2]&&M(f,c[2]),I===(I=O(c))&&p?p.p(c,_):(p.d(1),p=I(c),p&&(p.c(),p.m(s,null))),_&1&&J(a,"modal-open",c[0])},i:S,o:S,d(c){c&&i(t),p.d(),U=!1,K(B)}}}function ee(d,t,e){let l=!1,o=!1,a="";const s=async()=>{await Q.remove(),j(""),F.set(""),G.set(3),localStorage.removeItem("encryptedMnemonic"),localStorage.removeItem("iv"),localStorage.removeItem("mnemonicHash"),X.set(""),e(0,l=!1)},n=()=>e(0,l=!0),v=()=>{e(0,l=!1)};function k(){a=this.value,e(2,a)}return[l,o,a,s,n,v,k,()=>{a=="reset"&&e(1,o=!0)}]}class se extends W{constructor(t){super(),z(this,t,ee,$,C,{})}}export{se as L}; diff --git a/build/app/immutable/chunks/functionsForLogin.1a2a5d01.js b/build/app/immutable/chunks/functionsForLogin.58cfd4e2.js similarity index 59% rename from build/app/immutable/chunks/functionsForLogin.1a2a5d01.js rename to build/app/immutable/chunks/functionsForLogin.58cfd4e2.js index 63ebcff43..63c90849b 100644 --- a/build/app/immutable/chunks/functionsForLogin.1a2a5d01.js +++ b/build/app/immutable/chunks/functionsForLogin.58cfd4e2.js @@ -1,3 +1,3 @@ -import{w as d,b as u,p}from"./store.26750aee.js";import{a as c}from"./public.02ab71de.js";import{A as l}from"./index.ec3c65db.js";const b=async()=>{let t="";return d.subscribe(a=>t=a),(await fetch(`${c}/flowid?walletAddress=${t}`)).json()},A=async(t,e,a)=>{let r=new Headers;r.append("Content-Type","application/json");let o=JSON.stringify({flowId:t,signature:e,pubKey:a}),n={method:"POST",headers:r,body:o,redirect:"follow"};return await(await fetch(`${c}/authenticate`,n)).json()},h=async t=>{let e="",a="";u.subscribe(n=>a=n),p.subscribe(n=>e=n);function r(n){return new Uint8Array(n.match(/.{1,2}/g).map(s=>parseInt(s,16)))}let o=new TextEncoder().encode(`APTOS +import{w as d,a as u,p}from"./store.b194c171.js";import{P as c}from"./public.6087a87e.js";import{A as l}from"./index.aad90ce6.js";const A=async()=>{let t="";return d.subscribe(a=>t=a),(await fetch(`${c}/flowid?walletAddress=${t}`)).json()},b=async(t,e,a)=>{let r=new Headers;r.append("Content-Type","application/json");let o=JSON.stringify({flowId:t,signature:e,pubKey:a}),n={method:"POST",headers:r,body:o,redirect:"follow"};return await(await fetch(`${c}/authenticate`,n)).json()},h=async t=>{let e="",a="";u.subscribe(n=>a=n),p.subscribe(n=>e=n);function r(n){return new Uint8Array(n.match(/.{1,2}/g).map(s=>parseInt(s,16)))}let o=new TextEncoder().encode(`APTOS message: ${t==null?void 0:t.eula} -nonce: ${t==null?void 0:t.flowId}`);if(e!==""){const n=r(e);return{signature:new l(n).signBuffer(o).hex(),pubKey:a}}};export{b as a,A as b,h as s}; +nonce: ${t==null?void 0:t.flowId}`);if(e!==""){const n=r(e);return{signature:new l(n).signBuffer(o).hex(),pubKey:a}}};export{A as a,b,h as s}; diff --git a/build/app/immutable/chunks/index.3a682f2f.js b/build/app/immutable/chunks/index.41201598.js similarity index 85% rename from build/app/immutable/chunks/index.3a682f2f.js rename to build/app/immutable/chunks/index.41201598.js index b8ea630c0..6e28b4c34 100644 --- a/build/app/immutable/chunks/index.3a682f2f.js +++ b/build/app/immutable/chunks/index.41201598.js @@ -1 +1 @@ -import{H as f,s as l}from"./index.f3b06f47.js";const e=[];function h(n,u=f){let i;const o=new Set;function r(t){if(l(n,t)&&(n=t,i)){const c=!e.length;for(const s of o)s[1](),e.push(s,n);if(c){for(let s=0;s{o.delete(s),o.size===0&&i&&(i(),i=null)}}return{set:r,update:b,subscribe:p}}export{h as w}; +import{H as f,s as l}from"./index.89e71670.js";const e=[];function h(n,u=f){let i;const o=new Set;function r(t){if(l(n,t)&&(n=t,i)){const c=!e.length;for(const s of o)s[1](),e.push(s,n);if(c){for(let s=0;s{o.delete(s),o.size===0&&i&&(i(),i=null)}}return{set:r,update:b,subscribe:p}}export{h as w}; diff --git a/build/app/immutable/chunks/index.89e71670.js b/build/app/immutable/chunks/index.89e71670.js new file mode 100644 index 000000000..87d8140c7 --- /dev/null +++ b/build/app/immutable/chunks/index.89e71670.js @@ -0,0 +1 @@ +function w(){}function H(t,n){for(const e in n)t[e]=n[e];return t}function L(t){return t()}function M(){return Object.create(null)}function g(t){t.forEach(L)}function O(t){return typeof t=="function"}function lt(t,n){return t!=t?n==n:t!==n||t&&typeof t=="object"||typeof t=="function"}let b;function ft(t,n){return b||(b=document.createElement("a")),b.href=n,t===b.href}function W(t){return Object.keys(t).length===0}function G(t,...n){if(t==null)return w;const e=t.subscribe(...n);return e.unsubscribe?()=>e.unsubscribe():e}function at(t,n,e){t.$$.on_destroy.push(G(n,e))}function _t(t,n,e,i){if(t){const r=B(t,n,e,i);return t[0](r)}}function B(t,n,e,i){return t[1]&&i?H(e.ctx.slice(),t[1](i(n))):e.ctx}function dt(t,n,e,i){if(t[2]&&i){const r=t[2](i(e));if(n.dirty===void 0)return r;if(typeof r=="object"){const l=[],u=Math.max(n.dirty.length,r.length);for(let o=0;o32){const n=[],e=t.ctx.length/32;for(let i=0;i>1);e(r)<=i?t=r+1:n=r}return t}function R(t){if(t.hydrate_init)return;t.hydrate_init=!0;let n=t.childNodes;if(t.nodeName==="HEAD"){const c=[];for(let s=0;s0&&n[e[r]].claim_order<=s?r+1:Q(1,r,x=>n[e[x]].claim_order,s))-1;i[c]=e[a]+1;const f=a+1;e[f]=c,r=Math.max(f,r)}const l=[],u=[];let o=n.length-1;for(let c=e[r]+1;c!=0;c=i[c-1]){for(l.push(n[c-1]);o>=c;o--)u.push(n[o]);o--}for(;o>=0;o--)u.push(n[o]);l.reverse(),u.sort((c,s)=>c.claim_order-s.claim_order);for(let c=0,s=0;c=l[s].claim_order;)s++;const a=st.removeEventListener(n,e,i)}function Z(t,n,e){e==null?t.removeAttribute(n):t.getAttribute(n)!==e&&t.setAttribute(n,e)}function $t(t,n){for(const e in n)Z(t,e,n[e])}function wt(t){return t===""?null:+t}function tt(t){return Array.from(t.childNodes)}function nt(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function P(t,n,e,i,r=!1){nt(t);const l=(()=>{for(let u=t.claim_info.last_index;u=0;u--){const o=t[u];if(n(o)){const c=e(o);return c===void 0?t.splice(u,1):t[u]=c,r?c===void 0&&t.claim_info.last_index--:t.claim_info.last_index=u,o}}return i()})();return l.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,l}function T(t,n,e,i){return P(t,r=>r.nodeName===n,r=>{const l=[];for(let u=0;ur.removeAttribute(u))},()=>i(n))}function vt(t,n,e){return T(t,n,e,X)}function Et(t,n,e){return T(t,n,e,Y)}function et(t,n){return P(t,e=>e.nodeType===3,e=>{const i=""+n;if(e.data.startsWith(i)){if(e.data.length!==i.length)return e.splitText(i.length)}else e.data=i},()=>A(n),!0)}function Nt(t){return et(t," ")}function kt(t,n){n=""+n,t.data!==n&&(t.data=n)}function St(t,n){t.value=n??""}function At(t,n,e,i){e==null?t.style.removeProperty(n):t.style.setProperty(n,e,i?"important":"")}function jt(t,n,e){for(let i=0;it.indexOf(i)===-1?n.push(i):e.push(i)),e.forEach(i=>i()),m=n}const $=new Set;let _;function Tt(){_={r:0,c:[],p:_}}function It(){_.r||g(_.c),_=_.p}function ct(t,n){t&&t.i&&($.delete(t),t.i(n))}function zt(t,n,e,i){if(t&&t.o){if($.has(t))return;$.add(t),_.c.push(()=>{$.delete(t),i&&(e&&t.d(1),i())}),t.o(n)}else i&&i()}function Dt(t,n){const e={},i={},r={$$scope:1};let l=t.length;for(;l--;){const u=t[l],o=n[l];if(o){for(const c in u)c in o||(i[c]=1);for(const c in o)r[c]||(e[c]=o[c],r[c]=1);t[l]=o}else for(const c in u)r[c]=1}for(const u in i)u in e||(e[u]=void 0);return e}function Ft(t,n,e){const i=t.$$.props[n];i!==void 0&&(t.$$.bound[i]=e,e(t.$$.ctx[i]))}function Ht(t){t&&t.c()}function Wt(t,n){t&&t.l(n)}function ut(t,n,e,i){const{fragment:r,after_update:l}=t.$$;r&&r.m(n,e),i||S(()=>{const u=t.$$.on_mount.map(L).filter(O);t.$$.on_destroy?t.$$.on_destroy.push(...u):g(u),t.$$.on_mount=[]}),l.forEach(S)}function ot(t,n){const e=t.$$;e.fragment!==null&&(rt(e.after_update),g(e.on_destroy),e.fragment&&e.fragment.d(n),e.on_destroy=e.fragment=null,e.ctx=[])}function st(t,n){t.$$.dirty[0]===-1&&(h.push(t),D(),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<{const C=j.length?j[0]:x;return s.ctx&&r(s.ctx[f],s.ctx[f]=C)&&(!s.skip_bound&&s.bound[f]&&s.bound[f](C),a&&st(t,f)),x}):[],s.update(),a=!0,g(s.before_update),s.fragment=i?i(s.ctx):!1,n.target){if(n.hydrate){J();const f=tt(n.target);s.fragment&&s.fragment.l(f),f.forEach(V)}else s.fragment&&s.fragment.c();n.intro&&ct(t.$$.fragment),ut(t,n.target,n.anchor,n.customElement),K(),F()}p(c)}class Jt{$destroy(){ot(this,1),this.$destroy=w}$on(n,e){if(!O(e))return w;const i=this.$$.callbacks[n]||(this.$$.callbacks[n]=[]);return i.push(e),()=>{const r=i.indexOf(e);r!==-1&&i.splice(r,1)}}$set(n){this.$$set&&!W(n)&&(this.$$.skip_bound=!0,this.$$set(n),this.$$.skip_bound=!1)}}export{ut as A,ot as B,_t as C,U as D,ht as E,mt as F,dt as G,w as H,at as I,yt as J,bt as K,Mt as L,St as M,g as N,Y as O,Et as P,H as Q,$t as R,Jt as S,Dt as T,ft as U,Ft as V,Pt as W,S as X,jt as Y,wt as Z,Ct as _,gt as a,pt as b,Nt as c,zt as d,xt as e,It as f,ct as g,V as h,Gt as i,Ot as j,X as k,vt as l,tt as m,Z as n,Lt as o,At as p,A as q,et as r,lt as s,Bt as t,kt as u,Tt as v,q as w,qt as x,Ht as y,Wt as z}; diff --git a/build/app/immutable/chunks/index.aad90ce6.js b/build/app/immutable/chunks/index.aad90ce6.js new file mode 100644 index 000000000..4ea0948b8 --- /dev/null +++ b/build/app/immutable/chunks/index.aad90ce6.js @@ -0,0 +1,421 @@ +import{e as ba,r as ga,g as wa}from"./store.b194c171.js";function bt(n){if(!Number.isSafeInteger(n)||n<0)throw new Error(`Wrong positive integer: ${n}`)}function ma(n){return n instanceof Uint8Array||n!=null&&typeof n=="object"&&n.constructor.name==="Uint8Array"}function Nr(n,...e){if(!ma(n))throw new Error("Expected Uint8Array");if(e.length>0&&!e.includes(n.length))throw new Error(`Expected Uint8Array of length ${e}, not of length=${n.length}`)}function Qs(n){if(typeof n!="function"||typeof n.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");bt(n.outputLen),bt(n.blockLen)}function kt(n,e=!0){if(n.destroyed)throw new Error("Hash instance has been destroyed");if(e&&n.finished)throw new Error("Hash#digest() has already been called")}function Zs(n,e){Nr(n);const t=e.outputLen;if(n.lengthnew Uint32Array(n.buffer,n.byteOffset,Math.floor(n.byteLength/4));function ei(n){return n instanceof Uint8Array||n!=null&&typeof n=="object"&&n.constructor.name==="Uint8Array"}const Un=n=>new DataView(n.buffer,n.byteOffset,n.byteLength),Ye=(n,e)=>n<<32-e|n>>>e,Ta=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;if(!Ta)throw new Error("Non little-endian hardware is not supported");const Aa=Array.from({length:256},(n,e)=>e.toString(16).padStart(2,"0"));function ti(n){if(!ei(n))throw new Error("Uint8Array expected");let e="";for(let t=0;t=et._0&&n<=et._9)return n-et._0;if(n>=et._A&&n<=et._F)return n-(et._A-10);if(n>=et._a&&n<=et._f)return n-(et._a-10)}function ni(n){if(typeof n!="string")throw new Error("hex string expected, got "+typeof n);const e=n.length,t=e/2;if(e%2)throw new Error("padded hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(t);for(let i=0,a=0;in().update(Nt(r)).digest(),t=n();return e.outputLen=t.outputLen,e.blockLen=t.blockLen,e.create=()=>n(),e}function uu(n=32){if(hr&&typeof hr.getRandomValues=="function")return hr.getRandomValues(new Uint8Array(n));throw new Error("crypto.getRandomValues must be defined")}class ri extends Rr{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,Qs(e);const r=Nt(t);if(this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const i=this.blockLen,a=new Uint8Array(i);a.set(r.length>i?e.create().update(r).digest():r);for(let c=0;cnew ri(n,e).update(t).digest();Mn.create=(n,e)=>new ri(n,e);function Ba(n,e,t,r){Qs(n);const i=Sa({dkLen:32,asyncTick:10},r),{c:a,dkLen:c,asyncTick:d}=i;if(bt(a),bt(c),bt(d),a<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const p=Nt(e),x=Nt(t),g=new Uint8Array(c),y=Mn.create(n,p),I=y._cloneInto().update(x);return{c:a,dkLen:c,asyncTick:d,DK:g,PRF:y,PRFSalt:I}}function Ia(n,e,t,r,i){return n.destroy(),e.destroy(),r&&r.destroy(),i.fill(0),t}function za(n,e,t,r){const{c:i,dkLen:a,DK:c,PRF:d,PRFSalt:p}=Ba(n,e,t,r);let x;const g=new Uint8Array(4),y=Un(g),I=new Uint8Array(d.outputLen);for(let C=1,B=0;B>i&a),d=Number(t&a),p=r?4:0,x=r?0:4;n.setUint32(e+p,c,r),n.setUint32(e+x,d,r)}class si extends Rr{constructor(e,t,r,i){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=i,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=Un(this.buffer)}update(e){kt(this);const{view:t,buffer:r,blockLen:i}=this;e=Nt(e);const a=e.length;for(let c=0;ci-c&&(this.process(r,0),c=0);for(let y=c;yg.length)throw new Error("_sha2: outputLen bigger than state");for(let y=0;yn&e^~n&t,ka=(n,e,t)=>n&e^n&t^e&t,Na=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),at=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),ct=new Uint32Array(64);class Ra extends si{constructor(){super(64,32,8,!1),this.A=at[0]|0,this.B=at[1]|0,this.C=at[2]|0,this.D=at[3]|0,this.E=at[4]|0,this.F=at[5]|0,this.G=at[6]|0,this.H=at[7]|0}get(){const{A:e,B:t,C:r,D:i,E:a,F:c,G:d,H:p}=this;return[e,t,r,i,a,c,d,p]}set(e,t,r,i,a,c,d,p){this.A=e|0,this.B=t|0,this.C=r|0,this.D=i|0,this.E=a|0,this.F=c|0,this.G=d|0,this.H=p|0}process(e,t){for(let y=0;y<16;y++,t+=4)ct[y]=e.getUint32(t,!1);for(let y=16;y<64;y++){const I=ct[y-15],C=ct[y-2],B=Ye(I,7)^Ye(I,18)^I>>>3,O=Ye(C,17)^Ye(C,19)^C>>>10;ct[y]=O+ct[y-7]+B+ct[y-16]|0}let{A:r,B:i,C:a,D:c,E:d,F:p,G:x,H:g}=this;for(let y=0;y<64;y++){const I=Ye(d,6)^Ye(d,11)^Ye(d,25),C=g+I+Ca(d,p,x)+Na[y]+ct[y]|0,O=(Ye(r,2)^Ye(r,13)^Ye(r,22))+ka(r,i,a)|0;g=x,x=p,p=d,d=c+C|0,c=a,a=i,i=r,r=C+O|0}r=r+this.A|0,i=i+this.B|0,a=a+this.C|0,c=c+this.D|0,d=d+this.E|0,p=p+this.F|0,x=x+this.G|0,g=g+this.H|0,this.set(r,i,a,c,d,p,x,g)}roundClean(){ct.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const Pa=Pr(()=>new Ra),Tn=BigInt(2**32-1),gr=BigInt(32);function ii(n,e=!1){return e?{h:Number(n&Tn),l:Number(n>>gr&Tn)}:{h:Number(n>>gr&Tn)|0,l:Number(n&Tn)|0}}function oi(n,e=!1){let t=new Uint32Array(n.length),r=new Uint32Array(n.length);for(let i=0;iBigInt(n>>>0)<>>0),$a=(n,e,t)=>n>>>t,Ma=(n,e,t)=>n<<32-t|e>>>t,Fa=(n,e,t)=>n>>>t|e<<32-t,Da=(n,e,t)=>n<<32-t|e>>>t,Ha=(n,e,t)=>n<<64-t|e>>>t-32,qa=(n,e,t)=>n>>>t-32|e<<64-t,ja=(n,e)=>e,Ka=(n,e)=>n,ai=(n,e,t)=>n<>>32-t,ci=(n,e,t)=>e<>>32-t,fi=(n,e,t)=>e<>>64-t,li=(n,e,t)=>n<>>64-t;function Ga(n,e,t,r){const i=(e>>>0)+(r>>>0);return{h:n+t+(i/2**32|0)|0,l:i|0}}const Wa=(n,e,t)=>(n>>>0)+(e>>>0)+(t>>>0),Va=(n,e,t,r)=>e+t+r+(n/2**32|0)|0,Ya=(n,e,t,r)=>(n>>>0)+(e>>>0)+(t>>>0)+(r>>>0),Ja=(n,e,t,r,i)=>e+t+r+i+(n/2**32|0)|0,Xa=(n,e,t,r,i)=>(n>>>0)+(e>>>0)+(t>>>0)+(r>>>0)+(i>>>0),Qa=(n,e,t,r,i,a)=>e+t+r+i+a+(n/2**32|0)|0,Za={fromBig:ii,split:oi,toBig:La,shrSH:$a,shrSL:Ma,rotrSH:Fa,rotrSL:Da,rotrBH:Ha,rotrBL:qa,rotr32H:ja,rotr32L:Ka,rotlSH:ai,rotlSL:ci,rotlBH:fi,rotlBL:li,add:Ga,add3L:Wa,add3H:Va,add4L:Ya,add4H:Ja,add5H:Qa,add5L:Xa},se=Za,[ec,tc]=(()=>se.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(n=>BigInt(n))))(),ft=new Uint32Array(80),lt=new Uint32Array(80);class nc extends si{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:e,Al:t,Bh:r,Bl:i,Ch:a,Cl:c,Dh:d,Dl:p,Eh:x,El:g,Fh:y,Fl:I,Gh:C,Gl:B,Hh:O,Hl:k}=this;return[e,t,r,i,a,c,d,p,x,g,y,I,C,B,O,k]}set(e,t,r,i,a,c,d,p,x,g,y,I,C,B,O,k){this.Ah=e|0,this.Al=t|0,this.Bh=r|0,this.Bl=i|0,this.Ch=a|0,this.Cl=c|0,this.Dh=d|0,this.Dl=p|0,this.Eh=x|0,this.El=g|0,this.Fh=y|0,this.Fl=I|0,this.Gh=C|0,this.Gl=B|0,this.Hh=O|0,this.Hl=k|0}process(e,t){for(let M=0;M<16;M++,t+=4)ft[M]=e.getUint32(t),lt[M]=e.getUint32(t+=4);for(let M=16;M<80;M++){const Te=ft[M-15]|0,Be=lt[M-15]|0,qe=se.rotrSH(Te,Be,1)^se.rotrSH(Te,Be,8)^se.shrSH(Te,Be,7),vt=se.rotrSL(Te,Be,1)^se.rotrSL(Te,Be,8)^se.shrSL(Te,Be,7),Me=ft[M-2]|0,Fe=lt[M-2]|0,st=se.rotrSH(Me,Fe,19)^se.rotrBH(Me,Fe,61)^se.shrSH(Me,Fe,6),it=se.rotrSL(Me,Fe,19)^se.rotrBL(Me,Fe,61)^se.shrSL(Me,Fe,6),ot=se.add4L(vt,it,lt[M-7],lt[M-16]),Tt=se.add4H(ot,qe,st,ft[M-7],ft[M-16]);ft[M]=Tt|0,lt[M]=ot|0}let{Ah:r,Al:i,Bh:a,Bl:c,Ch:d,Cl:p,Dh:x,Dl:g,Eh:y,El:I,Fh:C,Fl:B,Gh:O,Gl:k,Hh:Q,Hl:_e}=this;for(let M=0;M<80;M++){const Te=se.rotrSH(y,I,14)^se.rotrSH(y,I,18)^se.rotrBH(y,I,41),Be=se.rotrSL(y,I,14)^se.rotrSL(y,I,18)^se.rotrBL(y,I,41),qe=y&C^~y&O,vt=I&B^~I&k,Me=se.add5L(_e,Be,vt,tc[M],lt[M]),Fe=se.add5H(Me,Q,Te,qe,ec[M],ft[M]),st=Me|0,it=se.rotrSH(r,i,28)^se.rotrBH(r,i,34)^se.rotrBH(r,i,39),ot=se.rotrSL(r,i,28)^se.rotrBL(r,i,34)^se.rotrBL(r,i,39),Tt=r&a^r&d^a&d,jt=i&c^i&p^c&p;Q=O|0,_e=k|0,O=C|0,k=B|0,C=y|0,B=I|0,{h:y,l:I}=se.add(x|0,g|0,Fe|0,st|0),x=d|0,g=p|0,d=a|0,p=c|0,a=r|0,c=i|0;const At=se.add3L(st,ot,jt);r=se.add3H(At,Fe,it,Tt),i=At|0}({h:r,l:i}=se.add(this.Ah|0,this.Al|0,r|0,i|0)),{h:a,l:c}=se.add(this.Bh|0,this.Bl|0,a|0,c|0),{h:d,l:p}=se.add(this.Ch|0,this.Cl|0,d|0,p|0),{h:x,l:g}=se.add(this.Dh|0,this.Dl|0,x|0,g|0),{h:y,l:I}=se.add(this.Eh|0,this.El|0,y|0,I|0),{h:C,l:B}=se.add(this.Fh|0,this.Fl|0,C|0,B|0),{h:O,l:k}=se.add(this.Gh|0,this.Gl|0,O|0,k|0),{h:Q,l:_e}=se.add(this.Hh|0,this.Hl|0,Q|0,_e|0),this.set(r,i,a,c,d,p,x,g,y,I,C,B,O,k,Q,_e)}roundClean(){ft.fill(0),lt.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const Lr=Pr(()=>new nc);var ui={exports:{}};(function(n){(function(e){var t=function(o){var l,f=new Float64Array(16);if(o)for(l=0;l>24&255,o[l+1]=f>>16&255,o[l+2]=f>>8&255,o[l+3]=f&255,o[l+4]=s>>24&255,o[l+5]=s>>16&255,o[l+6]=s>>8&255,o[l+7]=s&255}function O(o,l,f,s,u){var _,b=0;for(_=0;_>>8)-1}function k(o,l,f,s){return O(o,l,f,s,16)}function Q(o,l,f,s){return O(o,l,f,s,32)}function _e(o,l,f,s){for(var u=s[0]&255|(s[1]&255)<<8|(s[2]&255)<<16|(s[3]&255)<<24,_=f[0]&255|(f[1]&255)<<8|(f[2]&255)<<16|(f[3]&255)<<24,b=f[4]&255|(f[5]&255)<<8|(f[6]&255)<<16|(f[7]&255)<<24,A=f[8]&255|(f[9]&255)<<8|(f[10]&255)<<16|(f[11]&255)<<24,z=f[12]&255|(f[13]&255)<<8|(f[14]&255)<<16|(f[15]&255)<<24,H=s[4]&255|(s[5]&255)<<8|(s[6]&255)<<16|(s[7]&255)<<24,R=l[0]&255|(l[1]&255)<<8|(l[2]&255)<<16|(l[3]&255)<<24,le=l[4]&255|(l[5]&255)<<8|(l[6]&255)<<16|(l[7]&255)<<24,L=l[8]&255|(l[9]&255)<<8|(l[10]&255)<<16|(l[11]&255)<<24,G=l[12]&255|(l[13]&255)<<8|(l[14]&255)<<16|(l[15]&255)<<24,W=s[8]&255|(s[9]&255)<<8|(s[10]&255)<<16|(s[11]&255)<<24,Z=f[16]&255|(f[17]&255)<<8|(f[18]&255)<<16|(f[19]&255)<<24,X=f[20]&255|(f[21]&255)<<8|(f[22]&255)<<16|(f[23]&255)<<24,V=f[24]&255|(f[25]&255)<<8|(f[26]&255)<<16|(f[27]&255)<<24,J=f[28]&255|(f[29]&255)<<8|(f[30]&255)<<16|(f[31]&255)<<24,Y=s[12]&255|(s[13]&255)<<8|(s[14]&255)<<16|(s[15]&255)<<24,$=u,j=_,P=b,F=A,D=z,N=H,w=R,m=le,U=L,T=G,E=W,S=Z,K=X,ee=V,ne=J,te=Y,h,ie=0;ie<20;ie+=2)h=$+K|0,D^=h<<7|h>>>32-7,h=D+$|0,U^=h<<9|h>>>32-9,h=U+D|0,K^=h<<13|h>>>32-13,h=K+U|0,$^=h<<18|h>>>32-18,h=N+j|0,T^=h<<7|h>>>32-7,h=T+N|0,ee^=h<<9|h>>>32-9,h=ee+T|0,j^=h<<13|h>>>32-13,h=j+ee|0,N^=h<<18|h>>>32-18,h=E+w|0,ne^=h<<7|h>>>32-7,h=ne+E|0,P^=h<<9|h>>>32-9,h=P+ne|0,w^=h<<13|h>>>32-13,h=w+P|0,E^=h<<18|h>>>32-18,h=te+S|0,F^=h<<7|h>>>32-7,h=F+te|0,m^=h<<9|h>>>32-9,h=m+F|0,S^=h<<13|h>>>32-13,h=S+m|0,te^=h<<18|h>>>32-18,h=$+F|0,j^=h<<7|h>>>32-7,h=j+$|0,P^=h<<9|h>>>32-9,h=P+j|0,F^=h<<13|h>>>32-13,h=F+P|0,$^=h<<18|h>>>32-18,h=N+D|0,w^=h<<7|h>>>32-7,h=w+N|0,m^=h<<9|h>>>32-9,h=m+w|0,D^=h<<13|h>>>32-13,h=D+m|0,N^=h<<18|h>>>32-18,h=E+T|0,S^=h<<7|h>>>32-7,h=S+E|0,U^=h<<9|h>>>32-9,h=U+S|0,T^=h<<13|h>>>32-13,h=T+U|0,E^=h<<18|h>>>32-18,h=te+ne|0,K^=h<<7|h>>>32-7,h=K+te|0,ee^=h<<9|h>>>32-9,h=ee+K|0,ne^=h<<13|h>>>32-13,h=ne+ee|0,te^=h<<18|h>>>32-18;$=$+u|0,j=j+_|0,P=P+b|0,F=F+A|0,D=D+z|0,N=N+H|0,w=w+R|0,m=m+le|0,U=U+L|0,T=T+G|0,E=E+W|0,S=S+Z|0,K=K+X|0,ee=ee+V|0,ne=ne+J|0,te=te+Y|0,o[0]=$>>>0&255,o[1]=$>>>8&255,o[2]=$>>>16&255,o[3]=$>>>24&255,o[4]=j>>>0&255,o[5]=j>>>8&255,o[6]=j>>>16&255,o[7]=j>>>24&255,o[8]=P>>>0&255,o[9]=P>>>8&255,o[10]=P>>>16&255,o[11]=P>>>24&255,o[12]=F>>>0&255,o[13]=F>>>8&255,o[14]=F>>>16&255,o[15]=F>>>24&255,o[16]=D>>>0&255,o[17]=D>>>8&255,o[18]=D>>>16&255,o[19]=D>>>24&255,o[20]=N>>>0&255,o[21]=N>>>8&255,o[22]=N>>>16&255,o[23]=N>>>24&255,o[24]=w>>>0&255,o[25]=w>>>8&255,o[26]=w>>>16&255,o[27]=w>>>24&255,o[28]=m>>>0&255,o[29]=m>>>8&255,o[30]=m>>>16&255,o[31]=m>>>24&255,o[32]=U>>>0&255,o[33]=U>>>8&255,o[34]=U>>>16&255,o[35]=U>>>24&255,o[36]=T>>>0&255,o[37]=T>>>8&255,o[38]=T>>>16&255,o[39]=T>>>24&255,o[40]=E>>>0&255,o[41]=E>>>8&255,o[42]=E>>>16&255,o[43]=E>>>24&255,o[44]=S>>>0&255,o[45]=S>>>8&255,o[46]=S>>>16&255,o[47]=S>>>24&255,o[48]=K>>>0&255,o[49]=K>>>8&255,o[50]=K>>>16&255,o[51]=K>>>24&255,o[52]=ee>>>0&255,o[53]=ee>>>8&255,o[54]=ee>>>16&255,o[55]=ee>>>24&255,o[56]=ne>>>0&255,o[57]=ne>>>8&255,o[58]=ne>>>16&255,o[59]=ne>>>24&255,o[60]=te>>>0&255,o[61]=te>>>8&255,o[62]=te>>>16&255,o[63]=te>>>24&255}function M(o,l,f,s){for(var u=s[0]&255|(s[1]&255)<<8|(s[2]&255)<<16|(s[3]&255)<<24,_=f[0]&255|(f[1]&255)<<8|(f[2]&255)<<16|(f[3]&255)<<24,b=f[4]&255|(f[5]&255)<<8|(f[6]&255)<<16|(f[7]&255)<<24,A=f[8]&255|(f[9]&255)<<8|(f[10]&255)<<16|(f[11]&255)<<24,z=f[12]&255|(f[13]&255)<<8|(f[14]&255)<<16|(f[15]&255)<<24,H=s[4]&255|(s[5]&255)<<8|(s[6]&255)<<16|(s[7]&255)<<24,R=l[0]&255|(l[1]&255)<<8|(l[2]&255)<<16|(l[3]&255)<<24,le=l[4]&255|(l[5]&255)<<8|(l[6]&255)<<16|(l[7]&255)<<24,L=l[8]&255|(l[9]&255)<<8|(l[10]&255)<<16|(l[11]&255)<<24,G=l[12]&255|(l[13]&255)<<8|(l[14]&255)<<16|(l[15]&255)<<24,W=s[8]&255|(s[9]&255)<<8|(s[10]&255)<<16|(s[11]&255)<<24,Z=f[16]&255|(f[17]&255)<<8|(f[18]&255)<<16|(f[19]&255)<<24,X=f[20]&255|(f[21]&255)<<8|(f[22]&255)<<16|(f[23]&255)<<24,V=f[24]&255|(f[25]&255)<<8|(f[26]&255)<<16|(f[27]&255)<<24,J=f[28]&255|(f[29]&255)<<8|(f[30]&255)<<16|(f[31]&255)<<24,Y=s[12]&255|(s[13]&255)<<8|(s[14]&255)<<16|(s[15]&255)<<24,$=u,j=_,P=b,F=A,D=z,N=H,w=R,m=le,U=L,T=G,E=W,S=Z,K=X,ee=V,ne=J,te=Y,h,ie=0;ie<20;ie+=2)h=$+K|0,D^=h<<7|h>>>32-7,h=D+$|0,U^=h<<9|h>>>32-9,h=U+D|0,K^=h<<13|h>>>32-13,h=K+U|0,$^=h<<18|h>>>32-18,h=N+j|0,T^=h<<7|h>>>32-7,h=T+N|0,ee^=h<<9|h>>>32-9,h=ee+T|0,j^=h<<13|h>>>32-13,h=j+ee|0,N^=h<<18|h>>>32-18,h=E+w|0,ne^=h<<7|h>>>32-7,h=ne+E|0,P^=h<<9|h>>>32-9,h=P+ne|0,w^=h<<13|h>>>32-13,h=w+P|0,E^=h<<18|h>>>32-18,h=te+S|0,F^=h<<7|h>>>32-7,h=F+te|0,m^=h<<9|h>>>32-9,h=m+F|0,S^=h<<13|h>>>32-13,h=S+m|0,te^=h<<18|h>>>32-18,h=$+F|0,j^=h<<7|h>>>32-7,h=j+$|0,P^=h<<9|h>>>32-9,h=P+j|0,F^=h<<13|h>>>32-13,h=F+P|0,$^=h<<18|h>>>32-18,h=N+D|0,w^=h<<7|h>>>32-7,h=w+N|0,m^=h<<9|h>>>32-9,h=m+w|0,D^=h<<13|h>>>32-13,h=D+m|0,N^=h<<18|h>>>32-18,h=E+T|0,S^=h<<7|h>>>32-7,h=S+E|0,U^=h<<9|h>>>32-9,h=U+S|0,T^=h<<13|h>>>32-13,h=T+U|0,E^=h<<18|h>>>32-18,h=te+ne|0,K^=h<<7|h>>>32-7,h=K+te|0,ee^=h<<9|h>>>32-9,h=ee+K|0,ne^=h<<13|h>>>32-13,h=ne+ee|0,te^=h<<18|h>>>32-18;o[0]=$>>>0&255,o[1]=$>>>8&255,o[2]=$>>>16&255,o[3]=$>>>24&255,o[4]=N>>>0&255,o[5]=N>>>8&255,o[6]=N>>>16&255,o[7]=N>>>24&255,o[8]=E>>>0&255,o[9]=E>>>8&255,o[10]=E>>>16&255,o[11]=E>>>24&255,o[12]=te>>>0&255,o[13]=te>>>8&255,o[14]=te>>>16&255,o[15]=te>>>24&255,o[16]=w>>>0&255,o[17]=w>>>8&255,o[18]=w>>>16&255,o[19]=w>>>24&255,o[20]=m>>>0&255,o[21]=m>>>8&255,o[22]=m>>>16&255,o[23]=m>>>24&255,o[24]=U>>>0&255,o[25]=U>>>8&255,o[26]=U>>>16&255,o[27]=U>>>24&255,o[28]=T>>>0&255,o[29]=T>>>8&255,o[30]=T>>>16&255,o[31]=T>>>24&255}function Te(o,l,f,s){_e(o,l,f,s)}function Be(o,l,f,s){M(o,l,f,s)}var qe=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function vt(o,l,f,s,u,_,b){var A=new Uint8Array(16),z=new Uint8Array(64),H,R;for(R=0;R<16;R++)A[R]=0;for(R=0;R<8;R++)A[R]=_[R];for(;u>=64;){for(Te(z,A,b,qe),R=0;R<64;R++)o[l+R]=f[s+R]^z[R];for(H=1,R=8;R<16;R++)H=H+(A[R]&255)|0,A[R]=H&255,H>>>=8;u-=64,l+=64,s+=64}if(u>0)for(Te(z,A,b,qe),R=0;R=64;){for(Te(b,_,u,qe),z=0;z<64;z++)o[l+z]=b[z];for(A=1,z=8;z<16;z++)A=A+(_[z]&255)|0,_[z]=A&255,A>>>=8;f-=64,l+=64}if(f>0)for(Te(b,_,u,qe),z=0;z>>13|f<<3)&8191,s=o[4]&255|(o[5]&255)<<8,this.r[2]=(f>>>10|s<<6)&7939,u=o[6]&255|(o[7]&255)<<8,this.r[3]=(s>>>7|u<<9)&8191,_=o[8]&255|(o[9]&255)<<8,this.r[4]=(u>>>4|_<<12)&255,this.r[5]=_>>>1&8190,b=o[10]&255|(o[11]&255)<<8,this.r[6]=(_>>>14|b<<2)&8191,A=o[12]&255|(o[13]&255)<<8,this.r[7]=(b>>>11|A<<5)&8065,z=o[14]&255|(o[15]&255)<<8,this.r[8]=(A>>>8|z<<8)&8191,this.r[9]=z>>>5&127,this.pad[0]=o[16]&255|(o[17]&255)<<8,this.pad[1]=o[18]&255|(o[19]&255)<<8,this.pad[2]=o[20]&255|(o[21]&255)<<8,this.pad[3]=o[22]&255|(o[23]&255)<<8,this.pad[4]=o[24]&255|(o[25]&255)<<8,this.pad[5]=o[26]&255|(o[27]&255)<<8,this.pad[6]=o[28]&255|(o[29]&255)<<8,this.pad[7]=o[30]&255|(o[31]&255)<<8};it.prototype.blocks=function(o,l,f){for(var s=this.fin?0:2048,u,_,b,A,z,H,R,le,L,G,W,Z,X,V,J,Y,$,j,P,F=this.h[0],D=this.h[1],N=this.h[2],w=this.h[3],m=this.h[4],U=this.h[5],T=this.h[6],E=this.h[7],S=this.h[8],K=this.h[9],ee=this.r[0],ne=this.r[1],te=this.r[2],h=this.r[3],ie=this.r[4],ue=this.r[5],de=this.r[6],re=this.r[7],ae=this.r[8],ce=this.r[9];f>=16;)u=o[l+0]&255|(o[l+1]&255)<<8,F+=u&8191,_=o[l+2]&255|(o[l+3]&255)<<8,D+=(u>>>13|_<<3)&8191,b=o[l+4]&255|(o[l+5]&255)<<8,N+=(_>>>10|b<<6)&8191,A=o[l+6]&255|(o[l+7]&255)<<8,w+=(b>>>7|A<<9)&8191,z=o[l+8]&255|(o[l+9]&255)<<8,m+=(A>>>4|z<<12)&8191,U+=z>>>1&8191,H=o[l+10]&255|(o[l+11]&255)<<8,T+=(z>>>14|H<<2)&8191,R=o[l+12]&255|(o[l+13]&255)<<8,E+=(H>>>11|R<<5)&8191,le=o[l+14]&255|(o[l+15]&255)<<8,S+=(R>>>8|le<<8)&8191,K+=le>>>5|s,L=0,G=L,G+=F*ee,G+=D*(5*ce),G+=N*(5*ae),G+=w*(5*re),G+=m*(5*de),L=G>>>13,G&=8191,G+=U*(5*ue),G+=T*(5*ie),G+=E*(5*h),G+=S*(5*te),G+=K*(5*ne),L+=G>>>13,G&=8191,W=L,W+=F*ne,W+=D*ee,W+=N*(5*ce),W+=w*(5*ae),W+=m*(5*re),L=W>>>13,W&=8191,W+=U*(5*de),W+=T*(5*ue),W+=E*(5*ie),W+=S*(5*h),W+=K*(5*te),L+=W>>>13,W&=8191,Z=L,Z+=F*te,Z+=D*ne,Z+=N*ee,Z+=w*(5*ce),Z+=m*(5*ae),L=Z>>>13,Z&=8191,Z+=U*(5*re),Z+=T*(5*de),Z+=E*(5*ue),Z+=S*(5*ie),Z+=K*(5*h),L+=Z>>>13,Z&=8191,X=L,X+=F*h,X+=D*te,X+=N*ne,X+=w*ee,X+=m*(5*ce),L=X>>>13,X&=8191,X+=U*(5*ae),X+=T*(5*re),X+=E*(5*de),X+=S*(5*ue),X+=K*(5*ie),L+=X>>>13,X&=8191,V=L,V+=F*ie,V+=D*h,V+=N*te,V+=w*ne,V+=m*ee,L=V>>>13,V&=8191,V+=U*(5*ce),V+=T*(5*ae),V+=E*(5*re),V+=S*(5*de),V+=K*(5*ue),L+=V>>>13,V&=8191,J=L,J+=F*ue,J+=D*ie,J+=N*h,J+=w*te,J+=m*ne,L=J>>>13,J&=8191,J+=U*ee,J+=T*(5*ce),J+=E*(5*ae),J+=S*(5*re),J+=K*(5*de),L+=J>>>13,J&=8191,Y=L,Y+=F*de,Y+=D*ue,Y+=N*ie,Y+=w*h,Y+=m*te,L=Y>>>13,Y&=8191,Y+=U*ne,Y+=T*ee,Y+=E*(5*ce),Y+=S*(5*ae),Y+=K*(5*re),L+=Y>>>13,Y&=8191,$=L,$+=F*re,$+=D*de,$+=N*ue,$+=w*ie,$+=m*h,L=$>>>13,$&=8191,$+=U*te,$+=T*ne,$+=E*ee,$+=S*(5*ce),$+=K*(5*ae),L+=$>>>13,$&=8191,j=L,j+=F*ae,j+=D*re,j+=N*de,j+=w*ue,j+=m*ie,L=j>>>13,j&=8191,j+=U*h,j+=T*te,j+=E*ne,j+=S*ee,j+=K*(5*ce),L+=j>>>13,j&=8191,P=L,P+=F*ce,P+=D*ae,P+=N*re,P+=w*de,P+=m*ue,L=P>>>13,P&=8191,P+=U*ie,P+=T*h,P+=E*te,P+=S*ne,P+=K*ee,L+=P>>>13,P&=8191,L=(L<<2)+L|0,L=L+G|0,G=L&8191,L=L>>>13,W+=L,F=G,D=W,N=Z,w=X,m=V,U=J,T=Y,E=$,S=j,K=P,l+=16,f-=16;this.h[0]=F,this.h[1]=D,this.h[2]=N,this.h[3]=w,this.h[4]=m,this.h[5]=U,this.h[6]=T,this.h[7]=E,this.h[8]=S,this.h[9]=K},it.prototype.finish=function(o,l){var f=new Uint16Array(10),s,u,_,b;if(this.leftover){for(b=this.leftover,this.buffer[b++]=1;b<16;b++)this.buffer[b]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(s=this.h[1]>>>13,this.h[1]&=8191,b=2;b<10;b++)this.h[b]+=s,s=this.h[b]>>>13,this.h[b]&=8191;for(this.h[0]+=s*5,s=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=s,s=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=s,f[0]=this.h[0]+5,s=f[0]>>>13,f[0]&=8191,b=1;b<10;b++)f[b]=this.h[b]+s,s=f[b]>>>13,f[b]&=8191;for(f[9]-=8192,u=(s^1)-1,b=0;b<10;b++)f[b]&=u;for(u=~u,b=0;b<10;b++)this.h[b]=this.h[b]&u|f[b];for(this.h[0]=(this.h[0]|this.h[1]<<13)&65535,this.h[1]=(this.h[1]>>>3|this.h[2]<<10)&65535,this.h[2]=(this.h[2]>>>6|this.h[3]<<7)&65535,this.h[3]=(this.h[3]>>>9|this.h[4]<<4)&65535,this.h[4]=(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14)&65535,this.h[5]=(this.h[6]>>>2|this.h[7]<<11)&65535,this.h[6]=(this.h[7]>>>5|this.h[8]<<8)&65535,this.h[7]=(this.h[8]>>>8|this.h[9]<<5)&65535,_=this.h[0]+this.pad[0],this.h[0]=_&65535,b=1;b<8;b++)_=(this.h[b]+this.pad[b]|0)+(_>>>16)|0,this.h[b]=_&65535;o[l+0]=this.h[0]>>>0&255,o[l+1]=this.h[0]>>>8&255,o[l+2]=this.h[1]>>>0&255,o[l+3]=this.h[1]>>>8&255,o[l+4]=this.h[2]>>>0&255,o[l+5]=this.h[2]>>>8&255,o[l+6]=this.h[3]>>>0&255,o[l+7]=this.h[3]>>>8&255,o[l+8]=this.h[4]>>>0&255,o[l+9]=this.h[4]>>>8&255,o[l+10]=this.h[5]>>>0&255,o[l+11]=this.h[5]>>>8&255,o[l+12]=this.h[6]>>>0&255,o[l+13]=this.h[6]>>>8&255,o[l+14]=this.h[7]>>>0&255,o[l+15]=this.h[7]>>>8&255},it.prototype.update=function(o,l,f){var s,u;if(this.leftover){for(u=16-this.leftover,u>f&&(u=f),s=0;s=16&&(u=f-f%16,this.blocks(o,l,u),l+=u,f-=u),f){for(s=0;s>16&1),_[f-1]&=65535;_[15]=b[15]-32767-(_[14]>>16&1),u=_[15]>>16&1,_[14]&=65535,Et(b,_,1-u)}for(f=0;f<16;f++)o[2*f]=b[f]&255,o[2*f+1]=b[f]>>8}function ys(o,l){var f=new Uint8Array(32),s=new Uint8Array(32);return Ut(f,o),Ut(s,l),Q(f,0,s,0)}function _s(o){var l=new Uint8Array(32);return Ut(l,o),l[0]&1}function nr(o,l){var f;for(f=0;f<16;f++)o[f]=l[2*f]+(l[2*f+1]<<8);o[15]&=32767}function je(o,l,f){for(var s=0;s<16;s++)o[s]=l[s]+f[s]}function Ke(o,l,f){for(var s=0;s<16;s++)o[s]=l[s]-f[s]}function oe(o,l,f){var s,u,_=0,b=0,A=0,z=0,H=0,R=0,le=0,L=0,G=0,W=0,Z=0,X=0,V=0,J=0,Y=0,$=0,j=0,P=0,F=0,D=0,N=0,w=0,m=0,U=0,T=0,E=0,S=0,K=0,ee=0,ne=0,te=0,h=f[0],ie=f[1],ue=f[2],de=f[3],re=f[4],ae=f[5],ce=f[6],Ae=f[7],xe=f[8],ge=f[9],we=f[10],me=f[11],Ie=f[12],Ce=f[13],ke=f[14],Ne=f[15];s=l[0],_+=s*h,b+=s*ie,A+=s*ue,z+=s*de,H+=s*re,R+=s*ae,le+=s*ce,L+=s*Ae,G+=s*xe,W+=s*ge,Z+=s*we,X+=s*me,V+=s*Ie,J+=s*Ce,Y+=s*ke,$+=s*Ne,s=l[1],b+=s*h,A+=s*ie,z+=s*ue,H+=s*de,R+=s*re,le+=s*ae,L+=s*ce,G+=s*Ae,W+=s*xe,Z+=s*ge,X+=s*we,V+=s*me,J+=s*Ie,Y+=s*Ce,$+=s*ke,j+=s*Ne,s=l[2],A+=s*h,z+=s*ie,H+=s*ue,R+=s*de,le+=s*re,L+=s*ae,G+=s*ce,W+=s*Ae,Z+=s*xe,X+=s*ge,V+=s*we,J+=s*me,Y+=s*Ie,$+=s*Ce,j+=s*ke,P+=s*Ne,s=l[3],z+=s*h,H+=s*ie,R+=s*ue,le+=s*de,L+=s*re,G+=s*ae,W+=s*ce,Z+=s*Ae,X+=s*xe,V+=s*ge,J+=s*we,Y+=s*me,$+=s*Ie,j+=s*Ce,P+=s*ke,F+=s*Ne,s=l[4],H+=s*h,R+=s*ie,le+=s*ue,L+=s*de,G+=s*re,W+=s*ae,Z+=s*ce,X+=s*Ae,V+=s*xe,J+=s*ge,Y+=s*we,$+=s*me,j+=s*Ie,P+=s*Ce,F+=s*ke,D+=s*Ne,s=l[5],R+=s*h,le+=s*ie,L+=s*ue,G+=s*de,W+=s*re,Z+=s*ae,X+=s*ce,V+=s*Ae,J+=s*xe,Y+=s*ge,$+=s*we,j+=s*me,P+=s*Ie,F+=s*Ce,D+=s*ke,N+=s*Ne,s=l[6],le+=s*h,L+=s*ie,G+=s*ue,W+=s*de,Z+=s*re,X+=s*ae,V+=s*ce,J+=s*Ae,Y+=s*xe,$+=s*ge,j+=s*we,P+=s*me,F+=s*Ie,D+=s*Ce,N+=s*ke,w+=s*Ne,s=l[7],L+=s*h,G+=s*ie,W+=s*ue,Z+=s*de,X+=s*re,V+=s*ae,J+=s*ce,Y+=s*Ae,$+=s*xe,j+=s*ge,P+=s*we,F+=s*me,D+=s*Ie,N+=s*Ce,w+=s*ke,m+=s*Ne,s=l[8],G+=s*h,W+=s*ie,Z+=s*ue,X+=s*de,V+=s*re,J+=s*ae,Y+=s*ce,$+=s*Ae,j+=s*xe,P+=s*ge,F+=s*we,D+=s*me,N+=s*Ie,w+=s*Ce,m+=s*ke,U+=s*Ne,s=l[9],W+=s*h,Z+=s*ie,X+=s*ue,V+=s*de,J+=s*re,Y+=s*ae,$+=s*ce,j+=s*Ae,P+=s*xe,F+=s*ge,D+=s*we,N+=s*me,w+=s*Ie,m+=s*Ce,U+=s*ke,T+=s*Ne,s=l[10],Z+=s*h,X+=s*ie,V+=s*ue,J+=s*de,Y+=s*re,$+=s*ae,j+=s*ce,P+=s*Ae,F+=s*xe,D+=s*ge,N+=s*we,w+=s*me,m+=s*Ie,U+=s*Ce,T+=s*ke,E+=s*Ne,s=l[11],X+=s*h,V+=s*ie,J+=s*ue,Y+=s*de,$+=s*re,j+=s*ae,P+=s*ce,F+=s*Ae,D+=s*xe,N+=s*ge,w+=s*we,m+=s*me,U+=s*Ie,T+=s*Ce,E+=s*ke,S+=s*Ne,s=l[12],V+=s*h,J+=s*ie,Y+=s*ue,$+=s*de,j+=s*re,P+=s*ae,F+=s*ce,D+=s*Ae,N+=s*xe,w+=s*ge,m+=s*we,U+=s*me,T+=s*Ie,E+=s*Ce,S+=s*ke,K+=s*Ne,s=l[13],J+=s*h,Y+=s*ie,$+=s*ue,j+=s*de,P+=s*re,F+=s*ae,D+=s*ce,N+=s*Ae,w+=s*xe,m+=s*ge,U+=s*we,T+=s*me,E+=s*Ie,S+=s*Ce,K+=s*ke,ee+=s*Ne,s=l[14],Y+=s*h,$+=s*ie,j+=s*ue,P+=s*de,F+=s*re,D+=s*ae,N+=s*ce,w+=s*Ae,m+=s*xe,U+=s*ge,T+=s*we,E+=s*me,S+=s*Ie,K+=s*Ce,ee+=s*ke,ne+=s*Ne,s=l[15],$+=s*h,j+=s*ie,P+=s*ue,F+=s*de,D+=s*re,N+=s*ae,w+=s*ce,m+=s*Ae,U+=s*xe,T+=s*ge,E+=s*we,S+=s*me,K+=s*Ie,ee+=s*Ce,ne+=s*ke,te+=s*Ne,_+=38*j,b+=38*P,A+=38*F,z+=38*D,H+=38*N,R+=38*w,le+=38*m,L+=38*U,G+=38*T,W+=38*E,Z+=38*S,X+=38*K,V+=38*ee,J+=38*ne,Y+=38*te,u=1,s=_+u+65535,u=Math.floor(s/65536),_=s-u*65536,s=b+u+65535,u=Math.floor(s/65536),b=s-u*65536,s=A+u+65535,u=Math.floor(s/65536),A=s-u*65536,s=z+u+65535,u=Math.floor(s/65536),z=s-u*65536,s=H+u+65535,u=Math.floor(s/65536),H=s-u*65536,s=R+u+65535,u=Math.floor(s/65536),R=s-u*65536,s=le+u+65535,u=Math.floor(s/65536),le=s-u*65536,s=L+u+65535,u=Math.floor(s/65536),L=s-u*65536,s=G+u+65535,u=Math.floor(s/65536),G=s-u*65536,s=W+u+65535,u=Math.floor(s/65536),W=s-u*65536,s=Z+u+65535,u=Math.floor(s/65536),Z=s-u*65536,s=X+u+65535,u=Math.floor(s/65536),X=s-u*65536,s=V+u+65535,u=Math.floor(s/65536),V=s-u*65536,s=J+u+65535,u=Math.floor(s/65536),J=s-u*65536,s=Y+u+65535,u=Math.floor(s/65536),Y=s-u*65536,s=$+u+65535,u=Math.floor(s/65536),$=s-u*65536,_+=u-1+37*(u-1),u=1,s=_+u+65535,u=Math.floor(s/65536),_=s-u*65536,s=b+u+65535,u=Math.floor(s/65536),b=s-u*65536,s=A+u+65535,u=Math.floor(s/65536),A=s-u*65536,s=z+u+65535,u=Math.floor(s/65536),z=s-u*65536,s=H+u+65535,u=Math.floor(s/65536),H=s-u*65536,s=R+u+65535,u=Math.floor(s/65536),R=s-u*65536,s=le+u+65535,u=Math.floor(s/65536),le=s-u*65536,s=L+u+65535,u=Math.floor(s/65536),L=s-u*65536,s=G+u+65535,u=Math.floor(s/65536),G=s-u*65536,s=W+u+65535,u=Math.floor(s/65536),W=s-u*65536,s=Z+u+65535,u=Math.floor(s/65536),Z=s-u*65536,s=X+u+65535,u=Math.floor(s/65536),X=s-u*65536,s=V+u+65535,u=Math.floor(s/65536),V=s-u*65536,s=J+u+65535,u=Math.floor(s/65536),J=s-u*65536,s=Y+u+65535,u=Math.floor(s/65536),Y=s-u*65536,s=$+u+65535,u=Math.floor(s/65536),$=s-u*65536,_+=u-1+37*(u-1),o[0]=_,o[1]=b,o[2]=A,o[3]=z,o[4]=H,o[5]=R,o[6]=le,o[7]=L,o[8]=G,o[9]=W,o[10]=Z,o[11]=X,o[12]=V,o[13]=J,o[14]=Y,o[15]=$}function De(o,l){oe(o,l,l)}function bs(o,l){var f=t(),s;for(s=0;s<16;s++)f[s]=l[s];for(s=253;s>=0;s--)De(f,f),s!==2&&s!==4&&oe(f,f,l);for(s=0;s<16;s++)o[s]=f[s]}function gs(o,l){var f=t(),s;for(s=0;s<16;s++)f[s]=l[s];for(s=250;s>=0;s--)De(f,f),s!==1&&oe(f,f,l);for(s=0;s<16;s++)o[s]=f[s]}function xn(o,l,f){var s=new Uint8Array(32),u=new Float64Array(80),_,b,A=t(),z=t(),H=t(),R=t(),le=t(),L=t();for(b=0;b<31;b++)s[b]=l[b];for(s[31]=l[31]&127|64,s[0]&=248,nr(u,f),b=0;b<16;b++)z[b]=u[b],R[b]=A[b]=H[b]=0;for(A[0]=R[0]=1,b=254;b>=0;--b)_=s[b>>>3]>>>(b&7)&1,Et(A,z,_),Et(H,R,_),je(le,A,H),Ke(A,A,H),je(H,z,R),Ke(z,z,R),De(R,le),De(L,A),oe(A,H,A),oe(H,z,le),je(le,A,H),Ke(A,A,H),De(z,A),Ke(H,R,L),oe(A,H,p),je(A,A,R),oe(H,H,A),oe(A,R,L),oe(R,z,u),De(z,le),Et(A,z,_),Et(H,R,_);for(b=0;b<16;b++)u[b+16]=A[b],u[b+32]=H[b],u[b+48]=z[b],u[b+64]=R[b];var G=u.subarray(32),W=u.subarray(16);return bs(G,G),oe(W,W,G),Ut(o,W),0}function yn(o,l){return xn(o,l,a)}function ws(o,l){return r(l,32),yn(o,l)}function _n(o,l,f){var s=new Uint8Array(32);return xn(s,f,l),Be(o,i,s,qe)}var ms=jt,ua=At;function da(o,l,f,s,u,_){var b=new Uint8Array(32);return _n(b,u,_),ms(o,l,f,s,b)}function ha(o,l,f,s,u,_){var b=new Uint8Array(32);return _n(b,u,_),ua(o,l,f,s,b)}var vs=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function Ts(o,l,f,s){for(var u=new Int32Array(16),_=new Int32Array(16),b,A,z,H,R,le,L,G,W,Z,X,V,J,Y,$,j,P,F,D,N,w,m,U,T,E,S,K=o[0],ee=o[1],ne=o[2],te=o[3],h=o[4],ie=o[5],ue=o[6],de=o[7],re=l[0],ae=l[1],ce=l[2],Ae=l[3],xe=l[4],ge=l[5],we=l[6],me=l[7],Ie=0;s>=128;){for(D=0;D<16;D++)N=8*D+Ie,u[D]=f[N+0]<<24|f[N+1]<<16|f[N+2]<<8|f[N+3],_[D]=f[N+4]<<24|f[N+5]<<16|f[N+6]<<8|f[N+7];for(D=0;D<80;D++)if(b=K,A=ee,z=ne,H=te,R=h,le=ie,L=ue,G=de,W=re,Z=ae,X=ce,V=Ae,J=xe,Y=ge,$=we,j=me,w=de,m=me,U=m&65535,T=m>>>16,E=w&65535,S=w>>>16,w=(h>>>14|xe<<32-14)^(h>>>18|xe<<32-18)^(xe>>>41-32|h<<32-(41-32)),m=(xe>>>14|h<<32-14)^(xe>>>18|h<<32-18)^(h>>>41-32|xe<<32-(41-32)),U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,w=h&ie^~h&ue,m=xe&ge^~xe&we,U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,w=vs[D*2],m=vs[D*2+1],U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,w=u[D%16],m=_[D%16],U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,T+=U>>>16,E+=T>>>16,S+=E>>>16,P=E&65535|S<<16,F=U&65535|T<<16,w=P,m=F,U=m&65535,T=m>>>16,E=w&65535,S=w>>>16,w=(K>>>28|re<<32-28)^(re>>>34-32|K<<32-(34-32))^(re>>>39-32|K<<32-(39-32)),m=(re>>>28|K<<32-28)^(K>>>34-32|re<<32-(34-32))^(K>>>39-32|re<<32-(39-32)),U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,w=K&ee^K&ne^ee&ne,m=re&ae^re&ce^ae&ce,U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,T+=U>>>16,E+=T>>>16,S+=E>>>16,G=E&65535|S<<16,j=U&65535|T<<16,w=H,m=V,U=m&65535,T=m>>>16,E=w&65535,S=w>>>16,w=P,m=F,U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,T+=U>>>16,E+=T>>>16,S+=E>>>16,H=E&65535|S<<16,V=U&65535|T<<16,ee=b,ne=A,te=z,h=H,ie=R,ue=le,de=L,K=G,ae=W,ce=Z,Ae=X,xe=V,ge=J,we=Y,me=$,re=j,D%16===15)for(N=0;N<16;N++)w=u[N],m=_[N],U=m&65535,T=m>>>16,E=w&65535,S=w>>>16,w=u[(N+9)%16],m=_[(N+9)%16],U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,P=u[(N+1)%16],F=_[(N+1)%16],w=(P>>>1|F<<32-1)^(P>>>8|F<<32-8)^P>>>7,m=(F>>>1|P<<32-1)^(F>>>8|P<<32-8)^(F>>>7|P<<32-7),U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,P=u[(N+14)%16],F=_[(N+14)%16],w=(P>>>19|F<<32-19)^(F>>>61-32|P<<32-(61-32))^P>>>6,m=(F>>>19|P<<32-19)^(P>>>61-32|F<<32-(61-32))^(F>>>6|P<<32-6),U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,T+=U>>>16,E+=T>>>16,S+=E>>>16,u[N]=E&65535|S<<16,_[N]=U&65535|T<<16;w=K,m=re,U=m&65535,T=m>>>16,E=w&65535,S=w>>>16,w=o[0],m=l[0],U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,T+=U>>>16,E+=T>>>16,S+=E>>>16,o[0]=K=E&65535|S<<16,l[0]=re=U&65535|T<<16,w=ee,m=ae,U=m&65535,T=m>>>16,E=w&65535,S=w>>>16,w=o[1],m=l[1],U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,T+=U>>>16,E+=T>>>16,S+=E>>>16,o[1]=ee=E&65535|S<<16,l[1]=ae=U&65535|T<<16,w=ne,m=ce,U=m&65535,T=m>>>16,E=w&65535,S=w>>>16,w=o[2],m=l[2],U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,T+=U>>>16,E+=T>>>16,S+=E>>>16,o[2]=ne=E&65535|S<<16,l[2]=ce=U&65535|T<<16,w=te,m=Ae,U=m&65535,T=m>>>16,E=w&65535,S=w>>>16,w=o[3],m=l[3],U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,T+=U>>>16,E+=T>>>16,S+=E>>>16,o[3]=te=E&65535|S<<16,l[3]=Ae=U&65535|T<<16,w=h,m=xe,U=m&65535,T=m>>>16,E=w&65535,S=w>>>16,w=o[4],m=l[4],U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,T+=U>>>16,E+=T>>>16,S+=E>>>16,o[4]=h=E&65535|S<<16,l[4]=xe=U&65535|T<<16,w=ie,m=ge,U=m&65535,T=m>>>16,E=w&65535,S=w>>>16,w=o[5],m=l[5],U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,T+=U>>>16,E+=T>>>16,S+=E>>>16,o[5]=ie=E&65535|S<<16,l[5]=ge=U&65535|T<<16,w=ue,m=we,U=m&65535,T=m>>>16,E=w&65535,S=w>>>16,w=o[6],m=l[6],U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,T+=U>>>16,E+=T>>>16,S+=E>>>16,o[6]=ue=E&65535|S<<16,l[6]=we=U&65535|T<<16,w=de,m=me,U=m&65535,T=m>>>16,E=w&65535,S=w>>>16,w=o[7],m=l[7],U+=m&65535,T+=m>>>16,E+=w&65535,S+=w>>>16,T+=U>>>16,E+=T>>>16,S+=E>>>16,o[7]=de=E&65535|S<<16,l[7]=me=U&65535|T<<16,Ie+=128,s-=128}return s}function yt(o,l,f){var s=new Int32Array(8),u=new Int32Array(8),_=new Uint8Array(256),b,A=f;for(s[0]=1779033703,s[1]=3144134277,s[2]=1013904242,s[3]=2773480762,s[4]=1359893119,s[5]=2600822924,s[6]=528734635,s[7]=1541459225,u[0]=4089235720,u[1]=2227873595,u[2]=4271175723,u[3]=1595750129,u[4]=2917565137,u[5]=725511199,u[6]=4215389547,u[7]=327033209,Ts(s,u,l,f),f%=128,b=0;b=0;--u)s=f[u/8|0]>>(u&7)&1,As(o,l,s),bn(l,o),bn(o,o),As(o,l,s)}function gn(o,l){var f=[t(),t(),t(),t()];Qe(f[0],y),Qe(f[1],I),Qe(f[2],d),oe(f[3],y,I),sr(o,f,l)}function ir(o,l,f){var s=new Uint8Array(64),u=[t(),t(),t(),t()],_;for(f||r(l,32),yt(s,l,32),s[0]&=248,s[31]&=127,s[31]|=64,gn(u,s),rr(o,u),_=0;_<32;_++)l[_+32]=o[_];return 0}var wn=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function or(o,l){var f,s,u,_;for(s=63;s>=32;--s){for(f=0,u=s-32,_=s-12;u<_;++u)l[u]+=f-16*l[s]*wn[u-(s-32)],f=Math.floor((l[u]+128)/256),l[u]-=f*256;l[u]+=f,l[s]=0}for(f=0,u=0;u<32;u++)l[u]+=f-(l[31]>>4)*wn[u],f=l[u]>>8,l[u]&=255;for(u=0;u<32;u++)l[u]-=f*wn[u];for(s=0;s<32;s++)l[s+1]+=l[s]>>8,o[s]=l[s]&255}function ar(o){var l=new Float64Array(64),f;for(f=0;f<64;f++)l[f]=o[f];for(f=0;f<64;f++)o[f]=0;or(o,l)}function Es(o,l,f,s){var u=new Uint8Array(64),_=new Uint8Array(64),b=new Uint8Array(64),A,z,H=new Float64Array(64),R=[t(),t(),t(),t()];yt(u,s,32),u[0]&=248,u[31]&=127,u[31]|=64;var le=f+64;for(A=0;A>7&&Ke(o[0],c,o[0]),oe(o[3],o[0],o[1]),0)}function cr(o,l,f,s){var u,_=new Uint8Array(32),b=new Uint8Array(64),A=[t(),t(),t(),t()],z=[t(),t(),t(),t()];if(f<64||pa(z,s))return-1;for(u=0;u=0},e.sign.keyPair=function(){var o=new Uint8Array(_t),l=new Uint8Array(Bt);return ir(o,l),{publicKey:o,secretKey:l}},e.sign.keyPair.fromSecretKey=function(o){if($e(o),o.length!==Bt)throw new Error("bad secret key size");for(var l=new Uint8Array(_t),f=0;fdi(`mnemonic${n}`);function oc(n,e=""){return za(Lr,sc(n).nfkd,ic(e),{c:2048,dkLen:64})}const[hi,pi,xi]=[[],[],[]],ac=BigInt(0),Yt=BigInt(1),cc=BigInt(2),fc=BigInt(7),lc=BigInt(256),uc=BigInt(113);for(let n=0,e=Yt,t=1,r=0;n<24;n++){[t,r]=[r,(2*t+3*r)%5],hi.push(2*(5*r+t)),pi.push((n+1)*(n+2)/2%64);let i=ac;for(let a=0;a<7;a++)e=(e<>fc)*uc)%lc,e&cc&&(i^=Yt<<(Yt<t>32?fi(n,e,t):ai(n,e,t),Os=(n,e,t)=>t>32?li(n,e,t):ci(n,e,t);function pc(n,e=24){const t=new Uint32Array(10);for(let r=24-e;r<24;r++){for(let c=0;c<10;c++)t[c]=n[c]^n[c+10]^n[c+20]^n[c+30]^n[c+40];for(let c=0;c<10;c+=2){const d=(c+8)%10,p=(c+2)%10,x=t[p],g=t[p+1],y=zs(x,g,1)^t[d],I=Os(x,g,1)^t[d+1];for(let C=0;C<50;C+=10)n[c+C]^=y,n[c+C+1]^=I}let i=n[2],a=n[3];for(let c=0;c<24;c++){const d=pi[c],p=zs(i,a,d),x=Os(i,a,d),g=hi[c];i=n[g],a=n[g+1],n[g]=p,n[g+1]=x}for(let c=0;c<50;c+=10){for(let d=0;d<10;d++)t[d]=n[c+d];for(let d=0;d<10;d++)n[c+d]^=~t[(d+2)%10]&t[(d+4)%10]}n[0]^=dc[r],n[1]^=hc[r]}t.fill(0)}class $r extends Rr{constructor(e,t,r,i=!1,a=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=i,this.rounds=a,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,bt(r),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=va(this.state)}keccak(){pc(this.state32,this.rounds),this.posOut=0,this.pos=0}update(e){kt(this);const{blockLen:t,state:r}=this;e=Nt(e);const i=e.length;for(let a=0;a=r&&this.keccak();const c=Math.min(r-this.posOut,a-i);e.set(t.subarray(this.posOut,this.posOut+c),i),this.posOut+=c,i+=c}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return bt(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(Zs(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(e){const{blockLen:t,suffix:r,outputLen:i,rounds:a,enableXOF:c}=this;return e||(e=new $r(t,r,i,c,a)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=a,e.suffix=r,e.outputLen=i,e.enableXOF=c,e.destroyed=this.destroyed,e}}const xc=(n,e,t)=>Pr(()=>new $r(e,n,t)),Rt=xc(6,136,256/8);function yi(n,e){return function(){return n.apply(e,arguments)}}const{toString:yc}=Object.prototype,{getPrototypeOf:Mr}=Object,Fn=(n=>e=>{const t=yc.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),Xe=n=>(n=n.toLowerCase(),e=>Fn(e)===n),Dn=n=>e=>typeof e===n,{isArray:Lt}=Array,Zt=Dn("undefined");function _c(n){return n!==null&&!Zt(n)&&n.constructor!==null&&!Zt(n.constructor)&&He(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const _i=Xe("ArrayBuffer");function bc(n){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(n):e=n&&n.buffer&&_i(n.buffer),e}const gc=Dn("string"),He=Dn("function"),bi=Dn("number"),Hn=n=>n!==null&&typeof n=="object",wc=n=>n===!0||n===!1,Sn=n=>{if(Fn(n)!=="object")return!1;const e=Mr(n);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)},mc=Xe("Date"),vc=Xe("File"),Tc=Xe("Blob"),Ac=Xe("FileList"),Ec=n=>Hn(n)&&He(n.pipe),Uc=n=>{let e;return n&&(typeof FormData=="function"&&n instanceof FormData||He(n.append)&&((e=Fn(n))==="formdata"||e==="object"&&He(n.toString)&&n.toString()==="[object FormData]"))},Sc=Xe("URLSearchParams"),Bc=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function sn(n,e,{allOwnKeys:t=!1}={}){if(n===null||typeof n>"u")return;let r,i;if(typeof n!="object"&&(n=[n]),Lt(n))for(r=0,i=n.length;r0;)if(i=t[r],e===i.toLowerCase())return i;return null}const wi=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),mi=n=>!Zt(n)&&n!==wi;function wr(){const{caseless:n}=mi(this)&&this||{},e={},t=(r,i)=>{const a=n&&gi(e,i)||i;Sn(e[a])&&Sn(r)?e[a]=wr(e[a],r):Sn(r)?e[a]=wr({},r):Lt(r)?e[a]=r.slice():e[a]=r};for(let r=0,i=arguments.length;r(sn(e,(i,a)=>{t&&He(i)?n[a]=yi(i,t):n[a]=i},{allOwnKeys:r}),n),zc=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),Oc=(n,e,t,r)=>{n.prototype=Object.create(e.prototype,r),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:e.prototype}),t&&Object.assign(n.prototype,t)},Cc=(n,e,t,r)=>{let i,a,c;const d={};if(e=e||{},n==null)return e;do{for(i=Object.getOwnPropertyNames(n),a=i.length;a-- >0;)c=i[a],(!r||r(c,n,e))&&!d[c]&&(e[c]=n[c],d[c]=!0);n=t!==!1&&Mr(n)}while(n&&(!t||t(n,e))&&n!==Object.prototype);return e},kc=(n,e,t)=>{n=String(n),(t===void 0||t>n.length)&&(t=n.length),t-=e.length;const r=n.indexOf(e,t);return r!==-1&&r===t},Nc=n=>{if(!n)return null;if(Lt(n))return n;let e=n.length;if(!bi(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=n[e];return t},Rc=(n=>e=>n&&e instanceof n)(typeof Uint8Array<"u"&&Mr(Uint8Array)),Pc=(n,e)=>{const r=(n&&n[Symbol.iterator]).call(n);let i;for(;(i=r.next())&&!i.done;){const a=i.value;e.call(n,a[0],a[1])}},Lc=(n,e)=>{let t;const r=[];for(;(t=n.exec(e))!==null;)r.push(t);return r},$c=Xe("HTMLFormElement"),Mc=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,i){return r.toUpperCase()+i}),Cs=(({hasOwnProperty:n})=>(e,t)=>n.call(e,t))(Object.prototype),Fc=Xe("RegExp"),vi=(n,e)=>{const t=Object.getOwnPropertyDescriptors(n),r={};sn(t,(i,a)=>{let c;(c=e(i,a,n))!==!1&&(r[a]=c||i)}),Object.defineProperties(n,r)},Dc=n=>{vi(n,(e,t)=>{if(He(n)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const r=n[t];if(He(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},Hc=(n,e)=>{const t={},r=i=>{i.forEach(a=>{t[a]=!0})};return Lt(n)?r(n):r(String(n).split(e)),t},qc=()=>{},jc=(n,e)=>(n=+n,Number.isFinite(n)?n:e),pr="abcdefghijklmnopqrstuvwxyz",ks="0123456789",Ti={DIGIT:ks,ALPHA:pr,ALPHA_DIGIT:pr+pr.toUpperCase()+ks},Kc=(n=16,e=Ti.ALPHA_DIGIT)=>{let t="";const{length:r}=e;for(;n--;)t+=e[Math.random()*r|0];return t};function Gc(n){return!!(n&&He(n.append)&&n[Symbol.toStringTag]==="FormData"&&n[Symbol.iterator])}const Wc=n=>{const e=new Array(10),t=(r,i)=>{if(Hn(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[i]=r;const a=Lt(r)?[]:{};return sn(r,(c,d)=>{const p=t(c,i+1);!Zt(p)&&(a[d]=p)}),e[i]=void 0,a}}return r};return t(n,0)},Vc=Xe("AsyncFunction"),Yc=n=>n&&(Hn(n)||He(n))&&He(n.then)&&He(n.catch),v={isArray:Lt,isArrayBuffer:_i,isBuffer:_c,isFormData:Uc,isArrayBufferView:bc,isString:gc,isNumber:bi,isBoolean:wc,isObject:Hn,isPlainObject:Sn,isUndefined:Zt,isDate:mc,isFile:vc,isBlob:Tc,isRegExp:Fc,isFunction:He,isStream:Ec,isURLSearchParams:Sc,isTypedArray:Rc,isFileList:Ac,forEach:sn,merge:wr,extend:Ic,trim:Bc,stripBOM:zc,inherits:Oc,toFlatObject:Cc,kindOf:Fn,kindOfTest:Xe,endsWith:kc,toArray:Nc,forEachEntry:Pc,matchAll:Lc,isHTMLForm:$c,hasOwnProperty:Cs,hasOwnProp:Cs,reduceDescriptors:vi,freezeMethods:Dc,toObjectSet:Hc,toCamelCase:Mc,noop:qc,toFiniteNumber:jc,findKey:gi,global:wi,isContextDefined:mi,ALPHABET:Ti,generateString:Kc,isSpecCompliantForm:Gc,toJSONObject:Wc,isAsyncFn:Vc,isThenable:Yc};function fe(n,e,t,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),r&&(this.request=r),i&&(this.response=i)}v.inherits(fe,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:v.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ai=fe.prototype,Ei={};["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(n=>{Ei[n]={value:n}});Object.defineProperties(fe,Ei);Object.defineProperty(Ai,"isAxiosError",{value:!0});fe.from=(n,e,t,r,i,a)=>{const c=Object.create(Ai);return v.toFlatObject(n,c,function(p){return p!==Error.prototype},d=>d!=="isAxiosError"),fe.call(c,n.message,e,t,r,i),c.cause=n,c.name=n.name,a&&Object.assign(c,a),c};const Jc=null;function mr(n){return v.isPlainObject(n)||v.isArray(n)}function Ui(n){return v.endsWith(n,"[]")?n.slice(0,-2):n}function Ns(n,e,t){return n?n.concat(e).map(function(i,a){return i=Ui(i),!t&&a?"["+i+"]":i}).join(t?".":""):e}function Xc(n){return v.isArray(n)&&!n.some(mr)}const Qc=v.toFlatObject(v,{},null,function(e){return/^is[A-Z]/.test(e)});function qn(n,e,t){if(!v.isObject(n))throw new TypeError("target must be an object");e=e||new FormData,t=v.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(O,k){return!v.isUndefined(k[O])});const r=t.metaTokens,i=t.visitor||g,a=t.dots,c=t.indexes,p=(t.Blob||typeof Blob<"u"&&Blob)&&v.isSpecCompliantForm(e);if(!v.isFunction(i))throw new TypeError("visitor must be a function");function x(B){if(B===null)return"";if(v.isDate(B))return B.toISOString();if(!p&&v.isBlob(B))throw new fe("Blob is not supported. Use a Buffer instead.");return v.isArrayBuffer(B)||v.isTypedArray(B)?p&&typeof Blob=="function"?new Blob([B]):Buffer.from(B):B}function g(B,O,k){let Q=B;if(B&&!k&&typeof B=="object"){if(v.endsWith(O,"{}"))O=r?O:O.slice(0,-2),B=JSON.stringify(B);else if(v.isArray(B)&&Xc(B)||(v.isFileList(B)||v.endsWith(O,"[]"))&&(Q=v.toArray(B)))return O=Ui(O),Q.forEach(function(M,Te){!(v.isUndefined(M)||M===null)&&e.append(c===!0?Ns([O],Te,a):c===null?O:O+"[]",x(M))}),!1}return mr(B)?!0:(e.append(Ns(k,O,a),x(B)),!1)}const y=[],I=Object.assign(Qc,{defaultVisitor:g,convertValue:x,isVisitable:mr});function C(B,O){if(!v.isUndefined(B)){if(y.indexOf(B)!==-1)throw Error("Circular reference detected in "+O.join("."));y.push(B),v.forEach(B,function(Q,_e){(!(v.isUndefined(Q)||Q===null)&&i.call(e,Q,v.isString(_e)?_e.trim():_e,O,I))===!0&&C(Q,O?O.concat(_e):[_e])}),y.pop()}}if(!v.isObject(n))throw new TypeError("data must be an object");return C(n),e}function Rs(n){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Fr(n,e){this._pairs=[],n&&qn(n,this,e)}const Si=Fr.prototype;Si.append=function(e,t){this._pairs.push([e,t])};Si.toString=function(e){const t=e?function(r){return e.call(this,r,Rs)}:Rs;return this._pairs.map(function(i){return t(i[0])+"="+t(i[1])},"").join("&")};function Zc(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Bi(n,e,t){if(!e)return n;const r=t&&t.encode||Zc,i=t&&t.serialize;let a;if(i?a=i(e,t):a=v.isURLSearchParams(e)?e.toString():new Fr(e,t).toString(r),a){const c=n.indexOf("#");c!==-1&&(n=n.slice(0,c)),n+=(n.indexOf("?")===-1?"?":"&")+a}return n}class ef{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){v.forEach(this.handlers,function(r){r!==null&&e(r)})}}const Ps=ef,Ii={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},tf=typeof URLSearchParams<"u"?URLSearchParams:Fr,nf=typeof FormData<"u"?FormData:null,rf=typeof Blob<"u"?Blob:null,sf={isBrowser:!0,classes:{URLSearchParams:tf,FormData:nf,Blob:rf},protocols:["http","https","file","blob","url","data"]},zi=typeof window<"u"&&typeof document<"u",of=(n=>zi&&["ReactNative","NativeScript","NS"].indexOf(n)<0)(typeof navigator<"u"&&navigator.product),af=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),cf=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:zi,hasStandardBrowserEnv:of,hasStandardBrowserWebWorkerEnv:af},Symbol.toStringTag,{value:"Module"})),Je={...cf,...sf};function ff(n,e){return qn(n,new Je.classes.URLSearchParams,Object.assign({visitor:function(t,r,i,a){return Je.isNode&&v.isBuffer(t)?(this.append(r,t.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},e))}function lf(n){return v.matchAll(/\w+|\[(\w*)]/g,n).map(e=>e[0]==="[]"?"":e[1]||e[0])}function uf(n){const e={},t=Object.keys(n);let r;const i=t.length;let a;for(r=0;r=t.length;return c=!c&&v.isArray(i)?i.length:c,p?(v.hasOwnProp(i,c)?i[c]=[i[c],r]:i[c]=r,!d):((!i[c]||!v.isObject(i[c]))&&(i[c]=[]),e(t,r,i[c],a)&&v.isArray(i[c])&&(i[c]=uf(i[c])),!d)}if(v.isFormData(n)&&v.isFunction(n.entries)){const t={};return v.forEachEntry(n,(r,i)=>{e(lf(r),i,t,0)}),t}return null}function df(n,e,t){if(v.isString(n))try{return(e||JSON.parse)(n),v.trim(n)}catch(r){if(r.name!=="SyntaxError")throw r}return(t||JSON.stringify)(n)}const Dr={transitional:Ii,adapter:["xhr","http"],transformRequest:[function(e,t){const r=t.getContentType()||"",i=r.indexOf("application/json")>-1,a=v.isObject(e);if(a&&v.isHTMLForm(e)&&(e=new FormData(e)),v.isFormData(e))return i&&i?JSON.stringify(Oi(e)):e;if(v.isArrayBuffer(e)||v.isBuffer(e)||v.isStream(e)||v.isFile(e)||v.isBlob(e))return e;if(v.isArrayBufferView(e))return e.buffer;if(v.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let d;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return ff(e,this.formSerializer).toString();if((d=v.isFileList(e))||r.indexOf("multipart/form-data")>-1){const p=this.env&&this.env.FormData;return qn(d?{"files[]":e}:e,p&&new p,this.formSerializer)}}return a||i?(t.setContentType("application/json",!1),df(e)):e}],transformResponse:[function(e){const t=this.transitional||Dr.transitional,r=t&&t.forcedJSONParsing,i=this.responseType==="json";if(e&&v.isString(e)&&(r&&!this.responseType||i)){const c=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(d){if(c)throw d.name==="SyntaxError"?fe.from(d,fe.ERR_BAD_RESPONSE,this,null,this.response):d}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Je.classes.FormData,Blob:Je.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};v.forEach(["delete","get","head","post","put","patch"],n=>{Dr.headers[n]={}});const Hr=Dr,hf=v.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"]),pf=n=>{const e={};let t,r,i;return n&&n.split(` +`).forEach(function(c){i=c.indexOf(":"),t=c.substring(0,i).trim().toLowerCase(),r=c.substring(i+1).trim(),!(!t||e[t]&&hf[t])&&(t==="set-cookie"?e[t]?e[t].push(r):e[t]=[r]:e[t]=e[t]?e[t]+", "+r:r)}),e},Ls=Symbol("internals");function Jt(n){return n&&String(n).trim().toLowerCase()}function Bn(n){return n===!1||n==null?n:v.isArray(n)?n.map(Bn):String(n)}function xf(n){const e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=t.exec(n);)e[r[1]]=r[2];return e}const yf=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function xr(n,e,t,r,i){if(v.isFunction(r))return r.call(this,e,t);if(i&&(e=t),!!v.isString(e)){if(v.isString(r))return e.indexOf(r)!==-1;if(v.isRegExp(r))return r.test(e)}}function _f(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}function bf(n,e){const t=v.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(n,r+t,{value:function(i,a,c){return this[r].call(this,e,i,a,c)},configurable:!0})})}class jn{constructor(e){e&&this.set(e)}set(e,t,r){const i=this;function a(d,p,x){const g=Jt(p);if(!g)throw new Error("header name must be a non-empty string");const y=v.findKey(i,g);(!y||i[y]===void 0||x===!0||x===void 0&&i[y]!==!1)&&(i[y||p]=Bn(d))}const c=(d,p)=>v.forEach(d,(x,g)=>a(x,g,p));return v.isPlainObject(e)||e instanceof this.constructor?c(e,t):v.isString(e)&&(e=e.trim())&&!yf(e)?c(pf(e),t):e!=null&&a(t,e,r),this}get(e,t){if(e=Jt(e),e){const r=v.findKey(this,e);if(r){const i=this[r];if(!t)return i;if(t===!0)return xf(i);if(v.isFunction(t))return t.call(this,i,r);if(v.isRegExp(t))return t.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Jt(e),e){const r=v.findKey(this,e);return!!(r&&this[r]!==void 0&&(!t||xr(this,this[r],r,t)))}return!1}delete(e,t){const r=this;let i=!1;function a(c){if(c=Jt(c),c){const d=v.findKey(r,c);d&&(!t||xr(r,r[d],d,t))&&(delete r[d],i=!0)}}return v.isArray(e)?e.forEach(a):a(e),i}clear(e){const t=Object.keys(this);let r=t.length,i=!1;for(;r--;){const a=t[r];(!e||xr(this,this[a],a,e,!0))&&(delete this[a],i=!0)}return i}normalize(e){const t=this,r={};return v.forEach(this,(i,a)=>{const c=v.findKey(r,a);if(c){t[c]=Bn(i),delete t[a];return}const d=e?_f(a):String(a).trim();d!==a&&delete t[a],t[d]=Bn(i),r[d]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return v.forEach(this,(r,i)=>{r!=null&&r!==!1&&(t[i]=e&&v.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach(i=>r.set(i)),r}static accessor(e){const r=(this[Ls]=this[Ls]={accessors:{}}).accessors,i=this.prototype;function a(c){const d=Jt(c);r[d]||(bf(i,c),r[d]=!0)}return v.isArray(e)?e.forEach(a):a(e),this}}jn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);v.reduceDescriptors(jn.prototype,({value:n},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:()=>n,set(r){this[t]=r}}});v.freezeMethods(jn);const nt=jn;function yr(n,e){const t=this||Hr,r=e||t,i=nt.from(r.headers);let a=r.data;return v.forEach(n,function(d){a=d.call(t,a,i.normalize(),e?e.status:void 0)}),i.normalize(),a}function Ci(n){return!!(n&&n.__CANCEL__)}function on(n,e,t){fe.call(this,n??"canceled",fe.ERR_CANCELED,e,t),this.name="CanceledError"}v.inherits(on,fe,{__CANCEL__:!0});function gf(n,e,t){const r=t.config.validateStatus;!t.status||!r||r(t.status)?n(t):e(new fe("Request failed with status code "+t.status,[fe.ERR_BAD_REQUEST,fe.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}const wf=Je.hasStandardBrowserEnv?{write(n,e,t,r,i,a){const c=[n+"="+encodeURIComponent(e)];v.isNumber(t)&&c.push("expires="+new Date(t).toGMTString()),v.isString(r)&&c.push("path="+r),v.isString(i)&&c.push("domain="+i),a===!0&&c.push("secure"),document.cookie=c.join("; ")},read(n){const e=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function mf(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function vf(n,e){return e?n.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):n}function ki(n,e){return n&&!mf(e)?vf(n,e):e}const Tf=Je.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let r;function i(a){let c=a;return e&&(t.setAttribute("href",c),c=t.href),t.setAttribute("href",c),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return r=i(window.location.href),function(c){const d=v.isString(c)?i(c):c;return d.protocol===r.protocol&&d.host===r.host}}():function(){return function(){return!0}}();function Af(n){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return e&&e[1]||""}function Ef(n,e){n=n||10;const t=new Array(n),r=new Array(n);let i=0,a=0,c;return e=e!==void 0?e:1e3,function(p){const x=Date.now(),g=r[a];c||(c=x),t[i]=p,r[i]=x;let y=a,I=0;for(;y!==i;)I+=t[y++],y=y%n;if(i=(i+1)%n,i===a&&(a=(a+1)%n),x-c{const a=i.loaded,c=i.lengthComputable?i.total:void 0,d=a-t,p=r(d),x=a<=c;t=a;const g={loaded:a,total:c,progress:c?a/c:void 0,bytes:d,rate:p||void 0,estimated:p&&c&&x?(c-a)/p:void 0,event:i};g[e?"download":"upload"]=!0,n(g)}}const Uf=typeof XMLHttpRequest<"u",Sf=Uf&&function(n){return new Promise(function(t,r){let i=n.data;const a=nt.from(n.headers).normalize();let{responseType:c,withXSRFToken:d}=n,p;function x(){n.cancelToken&&n.cancelToken.unsubscribe(p),n.signal&&n.signal.removeEventListener("abort",p)}let g;if(v.isFormData(i)){if(Je.hasStandardBrowserEnv||Je.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((g=a.getContentType())!==!1){const[O,...k]=g?g.split(";").map(Q=>Q.trim()).filter(Boolean):[];a.setContentType([O||"multipart/form-data",...k].join("; "))}}let y=new XMLHttpRequest;if(n.auth){const O=n.auth.username||"",k=n.auth.password?unescape(encodeURIComponent(n.auth.password)):"";a.set("Authorization","Basic "+btoa(O+":"+k))}const I=ki(n.baseURL,n.url);y.open(n.method.toUpperCase(),Bi(I,n.params,n.paramsSerializer),!0),y.timeout=n.timeout;function C(){if(!y)return;const O=nt.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),Q={data:!c||c==="text"||c==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:O,config:n,request:y};gf(function(M){t(M),x()},function(M){r(M),x()},Q),y=null}if("onloadend"in y?y.onloadend=C:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(C)},y.onabort=function(){y&&(r(new fe("Request aborted",fe.ECONNABORTED,n,y)),y=null)},y.onerror=function(){r(new fe("Network Error",fe.ERR_NETWORK,n,y)),y=null},y.ontimeout=function(){let k=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const Q=n.transitional||Ii;n.timeoutErrorMessage&&(k=n.timeoutErrorMessage),r(new fe(k,Q.clarifyTimeoutError?fe.ETIMEDOUT:fe.ECONNABORTED,n,y)),y=null},Je.hasStandardBrowserEnv&&(d&&v.isFunction(d)&&(d=d(n)),d||d!==!1&&Tf(I))){const O=n.xsrfHeaderName&&n.xsrfCookieName&&wf.read(n.xsrfCookieName);O&&a.set(n.xsrfHeaderName,O)}i===void 0&&a.setContentType(null),"setRequestHeader"in y&&v.forEach(a.toJSON(),function(k,Q){y.setRequestHeader(Q,k)}),v.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),c&&c!=="json"&&(y.responseType=n.responseType),typeof n.onDownloadProgress=="function"&&y.addEventListener("progress",$s(n.onDownloadProgress,!0)),typeof n.onUploadProgress=="function"&&y.upload&&y.upload.addEventListener("progress",$s(n.onUploadProgress)),(n.cancelToken||n.signal)&&(p=O=>{y&&(r(!O||O.type?new on(null,n,y):O),y.abort(),y=null)},n.cancelToken&&n.cancelToken.subscribe(p),n.signal&&(n.signal.aborted?p():n.signal.addEventListener("abort",p)));const B=Af(I);if(B&&Je.protocols.indexOf(B)===-1){r(new fe("Unsupported protocol "+B+":",fe.ERR_BAD_REQUEST,n));return}y.send(i||null)})},vr={http:Jc,xhr:Sf};v.forEach(vr,(n,e)=>{if(n){try{Object.defineProperty(n,"name",{value:e})}catch{}Object.defineProperty(n,"adapterName",{value:e})}});const Ms=n=>`- ${n}`,Bf=n=>v.isFunction(n)||n===null||n===!1,Ni={getAdapter:n=>{n=v.isArray(n)?n:[n];const{length:e}=n;let t,r;const i={};for(let a=0;a`adapter ${d} `+(p===!1?"is not supported by the environment":"is not available in the build"));let c=e?a.length>1?`since : +`+a.map(Ms).join(` +`):" "+Ms(a[0]):"as no adapter specified";throw new fe("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return r},adapters:vr};function _r(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new on(null,n)}function Fs(n){return _r(n),n.headers=nt.from(n.headers),n.data=yr.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),Ni.getAdapter(n.adapter||Hr.adapter)(n).then(function(r){return _r(n),r.data=yr.call(n,n.transformResponse,r),r.headers=nt.from(r.headers),r},function(r){return Ci(r)||(_r(n),r&&r.response&&(r.response.data=yr.call(n,n.transformResponse,r.response),r.response.headers=nt.from(r.response.headers))),Promise.reject(r)})}const Ds=n=>n instanceof nt?n.toJSON():n;function Pt(n,e){e=e||{};const t={};function r(x,g,y){return v.isPlainObject(x)&&v.isPlainObject(g)?v.merge.call({caseless:y},x,g):v.isPlainObject(g)?v.merge({},g):v.isArray(g)?g.slice():g}function i(x,g,y){if(v.isUndefined(g)){if(!v.isUndefined(x))return r(void 0,x,y)}else return r(x,g,y)}function a(x,g){if(!v.isUndefined(g))return r(void 0,g)}function c(x,g){if(v.isUndefined(g)){if(!v.isUndefined(x))return r(void 0,x)}else return r(void 0,g)}function d(x,g,y){if(y in e)return r(x,g);if(y in n)return r(void 0,x)}const p={url:a,method:a,data:a,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:d,headers:(x,g)=>i(Ds(x),Ds(g),!0)};return v.forEach(Object.keys(Object.assign({},n,e)),function(g){const y=p[g]||i,I=y(n[g],e[g],g);v.isUndefined(I)&&y!==d||(t[g]=I)}),t}const Ri="1.6.2",qr={};["object","boolean","number","function","string","symbol"].forEach((n,e)=>{qr[n]=function(r){return typeof r===n||"a"+(e<1?"n ":" ")+n}});const Hs={};qr.transitional=function(e,t,r){function i(a,c){return"[Axios v"+Ri+"] Transitional option '"+a+"'"+c+(r?". "+r:"")}return(a,c,d)=>{if(e===!1)throw new fe(i(c," has been removed"+(t?" in "+t:"")),fe.ERR_DEPRECATED);return t&&!Hs[c]&&(Hs[c]=!0,console.warn(i(c," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(a,c,d):!0}};function If(n,e,t){if(typeof n!="object")throw new fe("options must be an object",fe.ERR_BAD_OPTION_VALUE);const r=Object.keys(n);let i=r.length;for(;i-- >0;){const a=r[i],c=e[a];if(c){const d=n[a],p=d===void 0||c(d,a,n);if(p!==!0)throw new fe("option "+a+" must be "+p,fe.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new fe("Unknown option "+a,fe.ERR_BAD_OPTION)}}const Tr={assertOptions:If,validators:qr},ut=Tr.validators;class Pn{constructor(e){this.defaults=e,this.interceptors={request:new Ps,response:new Ps}}request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=Pt(this.defaults,t);const{transitional:r,paramsSerializer:i,headers:a}=t;r!==void 0&&Tr.assertOptions(r,{silentJSONParsing:ut.transitional(ut.boolean),forcedJSONParsing:ut.transitional(ut.boolean),clarifyTimeoutError:ut.transitional(ut.boolean)},!1),i!=null&&(v.isFunction(i)?t.paramsSerializer={serialize:i}:Tr.assertOptions(i,{encode:ut.function,serialize:ut.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let c=a&&v.merge(a.common,a[t.method]);a&&v.forEach(["delete","get","head","post","put","patch","common"],B=>{delete a[B]}),t.headers=nt.concat(c,a);const d=[];let p=!0;this.interceptors.request.forEach(function(O){typeof O.runWhen=="function"&&O.runWhen(t)===!1||(p=p&&O.synchronous,d.unshift(O.fulfilled,O.rejected))});const x=[];this.interceptors.response.forEach(function(O){x.push(O.fulfilled,O.rejected)});let g,y=0,I;if(!p){const B=[Fs.bind(this),void 0];for(B.unshift.apply(B,d),B.push.apply(B,x),I=B.length,g=Promise.resolve(t);y{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a;const c=new Promise(d=>{r.subscribe(d),a=d}).then(i);return c.cancel=function(){r.unsubscribe(a)},c},e(function(a,c,d){r.reason||(r.reason=new on(a,c,d),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}static source(){let e;return{token:new jr(function(i){e=i}),cancel:e}}}const zf=jr;function Of(n){return function(t){return n.apply(null,t)}}function Cf(n){return v.isObject(n)&&n.isAxiosError===!0}const Ar={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(Ar).forEach(([n,e])=>{Ar[e]=n});const kf=Ar;function Pi(n){const e=new In(n),t=yi(In.prototype.request,e);return v.extend(t,In.prototype,e,{allOwnKeys:!0}),v.extend(t,e,null,{allOwnKeys:!0}),t.create=function(i){return Pi(Pt(n,i))},t}const Ue=Pi(Hr);Ue.Axios=In;Ue.CanceledError=on;Ue.CancelToken=zf;Ue.isCancel=Ci;Ue.VERSION=Ri;Ue.toFormData=qn;Ue.AxiosError=fe;Ue.Cancel=Ue.CanceledError;Ue.all=function(e){return Promise.all(e)};Ue.spread=Of;Ue.isAxiosError=Cf;Ue.mergeConfig=Pt;Ue.AxiosHeaders=nt;Ue.formToJSON=n=>Oi(v.isHTMLForm(n)?new FormData(n):n);Ue.getAdapter=Ni.getAdapter;Ue.HttpStatusCode=kf;Ue.default=Ue;const Nf=Ue;async function Rf(n){var e;const{params:t,method:r,url:i,headers:a,body:c,overrides:d}=n,p={headers:a,method:r,url:i,params:t,data:c,withCredentials:(e=d==null?void 0:d.WITH_CREDENTIALS)!=null?e:!0};try{const x=await Nf(p);return{status:x.status,statusText:x.statusText,data:x.data,headers:x.headers,config:x.config}}catch(x){const g=x;if(g.response)return g.response;throw x}}var Pf={exports:{}};(function(n){var e=Object.prototype.hasOwnProperty,t="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(t=!1));function i(p,x,g){this.fn=p,this.context=x,this.once=g||!1}function a(p,x,g,y,I){if(typeof g!="function")throw new TypeError("The listener must be a function");var C=new i(g,y||p,I),B=t?t+x:x;return p._events[B]?p._events[B].fn?p._events[B]=[p._events[B],C]:p._events[B].push(C):(p._events[B]=C,p._eventsCount++),p}function c(p,x){--p._eventsCount===0?p._events=new r:delete p._events[x]}function d(){this._events=new r,this._eventsCount=0}d.prototype.eventNames=function(){var x=[],g,y;if(this._eventsCount===0)return x;for(y in g=this._events)e.call(g,y)&&x.push(t?y.slice(1):y);return Object.getOwnPropertySymbols?x.concat(Object.getOwnPropertySymbols(g)):x},d.prototype.listeners=function(x){var g=t?t+x:x,y=this._events[g];if(!y)return[];if(y.fn)return[y.fn];for(var I=0,C=y.length,B=new Array(C);I{for(var t in e)Li(n,t,{get:e[t],enumerable:!0})},pe=(n,e,t,r)=>{for(var i=r>1?void 0:r?Lf(e,t):e,a=n.length-1,c;a>=0;a--)(c=n[a])&&(i=(r?c(e,t,i):c(i))||i);return r&&i&&Li(e,t,i),i},$f=/^m(\/[0-9]+')+$/,$i=n=>n.replace("'",""),Mf="ed25519 seed",Ff=2147483648,Df=n=>{const t=Mn.create(Lr,Mf).update(ni(n)).digest(),r=t.slice(0,32),i=t.slice(32);return{key:r,chainCode:i}},Hf=({key:n,chainCode:e},t)=>{const r=new ArrayBuffer(4);new DataView(r).setUint32(0,t);const i=new Uint8Array(r),a=new Uint8Array([0]),c=new Uint8Array([...a,...n,...i]),d=Mn.create(Lr,e).update(c).digest(),p=d.slice(0,32),x=d.slice(32);return{key:p,chainCode:x}},qf=n=>$f.test(n)?!n.split("/").slice(1).map($i).some(Number.isNaN):!1,jf=(n,e,t=Ff)=>{if(!qf(n))throw new Error("Invalid derivation path");const{key:r,chainCode:i}=Df(e);return n.split("/").slice(1).map($i).map(c=>parseInt(c,10)).reduce((c,d)=>Hf(c,d+t),{key:r,chainCode:i})},Kf="1.21.0";async function Gf(n){return new Promise(e=>{setTimeout(e,n)})}var qs="/v1";function Wf(n){let e=`${n}`;return e.endsWith("/")&&(e=e.substring(0,e.length-1)),e.endsWith(qs)||(e=`${e}${qs}`),e}var Mi=2e5,Fi=20,Vf=20,Er="0x1::aptos_coin::AptosCoin";function Gn(n){let e,t,r;return typeof n=="object"?(e=n.hashFunction,t=n.ttlMs,r=n.tags):e=n,(i,a,c)=>{if(c.value!=null)c.value=js(c.value,e,t,r);else if(c.get!=null)c.get=js(c.get,e,t,r);else throw new Error("Only put a Memoize() decorator on a method or get accessor.")}}function Di(n,e){return Gn({ttlMs:n,hashFunction:e})}var zn=new Map;function Yf(n){const e=new Set;for(const t of n){const r=zn.get(t);if(r)for(const i of r)e.has(i)||(i.clear(),e.add(i))}return e.size}function js(n,e,t=0,r){const i=Symbol("__memoized_map__");return function(...a){let c;const d=this;d.hasOwnProperty(i)||Object.defineProperty(d,i,{configurable:!1,enumerable:!1,writable:!1,value:new Map});const p=d[i];if(Array.isArray(r))for(const x of r)zn.has(x)?zn.get(x).push(p):zn.set(x,[p]);if(e||a.length>0||t>0){let x;e===!0?x=a.map(I=>I.toString()).join("!"):e?x=e.apply(d,a):x=a[0];const g=`${x}__timestamp`;let y=!1;if(t>0)if(!p.has(g))y=!0;else{const I=p.get(g);y=Date.now()-I>t}p.has(x)&&!y?c=p.get(x):(c=n.apply(d,a),p.set(x,c),t>0&&p.set(g,Date.now()))}else{const x=d;p.has(x)?c=p.get(x):(c=n.apply(d,a),p.set(x,c))}return c}}var Hi=class extends Error{constructor(n,e,t){super(t),this.name="AptosApiError",this.url=e.url,this.status=e.status,this.statusText=e.statusText,this.data=e.data,this.request=n}},Jf={400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",429:"Too Many Requests",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable"};async function Xf(n,e,t,r,i,a){const c={...a==null?void 0:a.HEADERS,"x-aptos-client":`aptos-ts-sdk/${Kf}`,"content-type":r??"application/json"};return a!=null&&a.TOKEN&&(c.Authorization=`Bearer ${a==null?void 0:a.TOKEN}`),await Rf({url:n,method:e,body:t,params:i,headers:c,overrides:a})}async function qi(n){const{url:e,endpoint:t,method:r,body:i,contentType:a,params:c,overrides:d}=n,p=`${e}/${t??""}`,x=await Xf(p,r,i,a,c,d),g={status:x.status,statusText:x.statusText,data:x.data,headers:x.headers,config:x.config,url:p};if(g.status>=200&&g.status<300)return g;const y=Jf[g.status];throw new Hi(n,g,y??"Generic Error")}async function Le(n){return await qi({...n,method:"GET"})}async function Xt(n){return await qi({...n,method:"POST"})}async function Ks(n){const e=[];let t;const r=n.params;for(;;){r.start=t;const i=await Le({url:n.url,endpoint:n.endpoint,params:r,originMethod:n.originMethod,overrides:n.overrides});if(t=i.headers["x-aptos-cursor"],delete i.headers,e.push(...i.data),t==null)break}return e}var Ur={mainnet:"https://indexer.mainnet.aptoslabs.com/v1/graphql",testnet:"https://indexer-testnet.staging.gcp.aptosdev.com/v1/graphql",devnet:"https://indexer-devnet.staging.gcp.aptosdev.com/v1/graphql",local:"http://127.0.0.1:8090/v1/graphql"},Qf={mainnet:"https://fullnode.mainnet.aptoslabs.com/v1",testnet:"https://fullnode.testnet.aptoslabs.com/v1",devnet:"https://fullnode.devnet.aptoslabs.com/v1",local:"http://127.0.0.1:8080/v1"},Gs={"https://fullnode.mainnet.aptoslabs.com/v1":"mainnet","https://fullnode.testnet.aptoslabs.com/v1":"testnet","https://fullnode.devnet.aptoslabs.com/v1":"devnet","http://127.0.0.1:8080/v1":"local"},Zf=(n=>(n.MAINNET="mainnet",n.TESTNET="testnet",n.DEVNET="devnet",n.LOCAL="local",n))(Zf||{}),q=class On{static fromBuffer(e){return On.fromUint8Array(e)}static fromUint8Array(e){return new On(ti(e))}static ensure(e){return typeof e=="string"?new On(e):e}constructor(e){e.startsWith("0x")?this.hexString=e:this.hexString=`0x${e}`}hex(){return this.hexString}noPrefix(){return this.hexString.slice(2)}toString(){return this.hex()}toShortString(){return`0x${this.hexString.replace(/^0x0*/,"")}`}toUint8Array(){return Uint8Array.from(ni(this.noPrefix()))}},ye={};Kn(ye,{AccountAddress:()=>he,AccountAuthenticator:()=>pt,AccountAuthenticatorEd25519:()=>no,AccountAuthenticatorMultiEd25519:()=>so,ArgumentABI:()=>Xn,AuthenticationKey:()=>Or,ChainId:()=>ns,ChangeSet:()=>gl,Ed25519PublicKey:()=>We,Ed25519Signature:()=>tt,EntryFunction:()=>Vn,EntryFunctionABI:()=>nn,FeePayerRawTransaction:()=>Zr,Identifier:()=>Re,Module:()=>bl,ModuleId:()=>tn,MultiAgentRawTransaction:()=>Qr,MultiEd25519PublicKey:()=>Wn,MultiEd25519Signature:()=>Gr,MultiSig:()=>Uo,MultiSigTransactionPayload:()=>Ao,RawTransaction:()=>qt,RawTransactionWithData:()=>Xr,RotationProofChallenge:()=>ml,Script:()=>Jr,ScriptABI:()=>Qn,SignedTransaction:()=>Yn,StructTag:()=>Ht,Transaction:()=>Go,TransactionArgument:()=>Ve,TransactionArgumentAddress:()=>fs,TransactionArgumentBool:()=>us,TransactionArgumentU128:()=>as,TransactionArgumentU16:()=>ss,TransactionArgumentU256:()=>cs,TransactionArgumentU32:()=>is,TransactionArgumentU64:()=>os,TransactionArgumentU8:()=>rs,TransactionArgumentU8Vector:()=>ls,TransactionAuthenticator:()=>$t,TransactionAuthenticatorEd25519:()=>Wr,TransactionAuthenticatorFeePayer:()=>eo,TransactionAuthenticatorMultiAgent:()=>Qi,TransactionAuthenticatorMultiEd25519:()=>Vr,TransactionPayload:()=>dn,TransactionPayloadEntryFunction:()=>ts,TransactionPayloadMultisig:()=>No,TransactionPayloadScript:()=>es,TransactionScriptABI:()=>ds,TypeArgumentABI:()=>Jn,TypeTag:()=>Oe,TypeTagAddress:()=>gt,TypeTagBool:()=>Mt,TypeTagParser:()=>un,TypeTagParserError:()=>mo,TypeTagSigner:()=>yo,TypeTagStruct:()=>wt,TypeTagU128:()=>Dt,TypeTagU16:()=>an,TypeTagU256:()=>fn,TypeTagU32:()=>cn,TypeTagU64:()=>Ft,TypeTagU8:()=>xt,TypeTagVector:()=>ln,UserTransaction:()=>Wo,WriteSet:()=>wl,objectStructTag:()=>pl,optionStructTag:()=>hl,stringStructTag:()=>Yr});var el={};Kn(el,{Deserializer:()=>Kr,Serializer:()=>be,bcsSerializeBool:()=>ll,bcsSerializeBytes:()=>dt,bcsSerializeFixedBytes:()=>dl,bcsSerializeStr:()=>ul,bcsSerializeU128:()=>cl,bcsSerializeU16:()=>ol,bcsSerializeU256:()=>fl,bcsSerializeU32:()=>al,bcsSerializeU8:()=>Sr,bcsSerializeUint64:()=>il,bcsToBytes:()=>rt,deserializeVector:()=>Pe,serializeVector:()=>ze,serializeVectorWithFunc:()=>sl});var tl=2**8-1,nl=2**16-1,en=2**32-1,ji=BigInt(2**64)-BigInt(1),Ki=BigInt(2**128)-BigInt(1),rl=BigInt(2**256)-BigInt(1),be=class{constructor(){this.buffer=new ArrayBuffer(64),this.offset=0}ensureBufferWillHandleSize(n){for(;this.buffer.byteLength>BigInt(32);this.serializeU32(Number(e)),this.serializeU32(Number(t))}serializeU128(n){const e=BigInt(n.toString())&ji,t=BigInt(n.toString())>>BigInt(64);this.serializeU64(e),this.serializeU64(t)}serializeU256(n){const e=BigInt(n.toString())&Ki,t=BigInt(n.toString())>>BigInt(128);this.serializeU128(e),this.serializeU128(t)}serializeU32AsUleb128(n){let e=n;const t=[];for(;e>>>7;)t.push(e&127|128),e>>>=7;t.push(e),this.serialize(new Uint8Array(t))}getBytes(){return new Uint8Array(this.buffer).slice(0,this.offset)}};pe([mt(0,tl)],be.prototype,"serializeU8",1);pe([mt(0,nl)],be.prototype,"serializeU16",1);pe([mt(0,en)],be.prototype,"serializeU32",1);pe([mt(BigInt(0),ji)],be.prototype,"serializeU64",1);pe([mt(BigInt(0),Ki)],be.prototype,"serializeU128",1);pe([mt(BigInt(0),rl)],be.prototype,"serializeU256",1);pe([mt(0,en)],be.prototype,"serializeU32AsUleb128",1);function mt(n,e,t){return(r,i,a)=>{const c=a.value;return a.value=function(p){const x=BigInt(p.toString());if(x>BigInt(e.toString())||xthis.buffer.byteLength)throw new Error("Reached to the end of buffer");const e=this.buffer.slice(this.offset,this.offset+n);return this.offset+=n,e}deserializeStr(){const n=this.deserializeBytes();return new TextDecoder().decode(n)}deserializeBytes(){const n=this.deserializeUleb128AsU32();return new Uint8Array(this.read(n))}deserializeFixedBytes(n){return new Uint8Array(this.read(n))}deserializeBool(){const n=new Uint8Array(this.read(1))[0];if(n!==1&&n!==0)throw new Error("Invalid boolean value");return n===1}deserializeU8(){return new DataView(this.read(1)).getUint8(0)}deserializeU16(){return new DataView(this.read(2)).getUint16(0,!0)}deserializeU32(){return new DataView(this.read(4)).getUint32(0,!0)}deserializeU64(){const n=this.deserializeU32(),e=this.deserializeU32();return BigInt(BigInt(e)<en)throw new Error("Overflow while parsing uleb128-encoded uint32 value");return Number(n)}};function ze(n,e){e.serializeU32AsUleb128(n.length),n.forEach(t=>{t.serialize(e)})}function sl(n,e){const t=new be;t.serializeU32AsUleb128(n.length);const r=t[e];return n.forEach(i=>{r.call(t,i)}),t.getBytes()}function Pe(n,e){const t=n.deserializeUleb128AsU32(),r=[];for(let i=0;iGe.LENGTH)throw new Error("Hex string is too long. Address's length is 32 bytes.");if(r.length===Ge.LENGTH)return new Ge(r);const i=new Uint8Array(Ge.LENGTH);return i.set(r,Ge.LENGTH-r.length),new Ge(i)}static isValid(e){if(e==="")return!1;let t=q.ensure(e);return t.noPrefix().length%2!==0&&(t=new q(`0${t.noPrefix()}`)),t.toUint8Array().length<=Ge.LENGTH}toHexString(){return q.fromUint8Array(this.address).hex()}serialize(e){e.serializeFixedBytes(this.address)}static deserialize(e){return new Ge(e.deserializeFixedBytes(Ge.LENGTH))}static standardizeAddress(e){const t=e.toLowerCase();return`0x${(t.startsWith("0x")?t.slice(2):t).padStart(64,"0")}`}};Ln.LENGTH=32;Ln.CORE_CODE_ADDRESS=Ln.fromHex("0x1");var he=Ln,Gi=class Cn{constructor(e){if(e.length!==Cn.LENGTH)throw new Error(`Ed25519PublicKey length should be ${Cn.LENGTH}`);this.value=e}toBytes(){return this.value}serialize(e){e.serializeBytes(this.value)}static deserialize(e){const t=e.deserializeBytes();return new Cn(t)}};Gi.LENGTH=32;var We=Gi,Wi=class kn{constructor(e){if(this.value=e,e.length!==kn.LENGTH)throw new Error(`Ed25519Signature length should be ${kn.LENGTH}`)}serialize(e){e.serializeBytes(this.value)}static deserialize(e){const t=e.deserializeBytes();return new kn(t)}};Wi.LENGTH=64;var tt=Wi,Br=32,Wn=class Vi{constructor(e,t){if(this.public_keys=e,this.threshold=t,t>Br)throw new Error(`"threshold" cannot be larger than ${Br}`)}toBytes(){const e=new Uint8Array(this.public_keys.length*We.LENGTH+1);return this.public_keys.forEach((t,r)=>{e.set(t.value,r*We.LENGTH)}),e[this.public_keys.length*We.LENGTH]=this.threshold,e}serialize(e){e.serializeBytes(this.toBytes())}static deserialize(e){const t=e.deserializeBytes(),r=t[t.length-1],i=[];for(let a=0;a{e.set(t.value,r*tt.LENGTH)}),e.set(this.bitmap,this.signatures.length*tt.LENGTH),e}static createBitmap(e){const r=new Uint8Array([0,0,0,0]),i=new Set;return e.forEach(a=>{if(a>=Br)throw new Error(`Invalid bit value ${a}.`);if(i.has(a))throw new Error("Duplicated bits detected.");i.add(a);const c=Math.floor(a/8);let d=r[c];d|=128>>a%8,r[c]=d}),r}serialize(e){e.serializeBytes(this.toBytes())}static deserialize(e){const t=e.deserializeBytes(),r=t.subarray(t.length-4),i=[];for(let a=0;a")return[["GT",">"],1];if(t===",")return[["COMMA",","],1];if(Ws(t)){let r="";for(let i=e;i";)this.tokens[0][1]==="<"?this.consumeWholeGeneric():this.tokens.shift();this.consume(">")}parseCommaList(e,t){const r=[];for(this.tokens.length<=0&&ht("Invalid type tag.");this.tokens[0][1]!==e&&(r.push(this.parseTypeTag()),!(this.tokens.length>0&&this.tokens[0][1]===e||(this.consume(","),this.tokens.length>0&&this.tokens[0][1]===e&&t)));)this.tokens.length<=0&&ht("Invalid type tag.");return r}parseTypeTag(){this.tokens.length===0&&ht("Invalid type tag.");const[e,t]=this.tokens.shift();if(t==="u8")return new xt;if(t==="u16")return new an;if(t==="u32")return new cn;if(t==="u64")return new Ft;if(t==="u128")return new Dt;if(t==="u256")return new fn;if(t==="bool")return new Mt;if(t==="address")return new gt;if(t==="vector"){this.consume("<");const r=this.parseTypeTag();return this.consume(">"),new ln(r)}if(t==="string")return new wt(Yr);if(e==="IDENT"&&(t.startsWith("0x")||t.startsWith("0X"))){const r=he.fromHex(t);this.consume("::");const[i,a]=this.tokens.shift();i!=="IDENT"&&ht("Invalid type tag."),this.consume("::");const[c,d]=this.tokens.shift();if(c!=="IDENT"&&ht("Invalid type tag."),he.CORE_CODE_ADDRESS.toHexString()===r.toHexString()&&a==="object"&&d==="Object")return this.consumeWholeGeneric(),new gt;let p=[];this.tokens.length>0&&this.tokens[0][1]==="<"&&(this.consume("<"),p=this.parseCommaList(">",!0),this.consume(">"));const x=new Ht(r,new Re(a),new Re(d),p);return new wt(x)}if(e==="GENERIC"){this.typeTags.length===0&&ht("Can't convert generic type since no typeTags were specified.");const r=parseInt(t.substring(1),10);return new wo(this.typeTags[r]).parseTypeTag()}throw new Error("Invalid type tag.")}},mo=class extends Error{constructor(n){super(n),this.name="TypeTagParserError"}},qt=class vo{constructor(e,t,r,i,a,c,d){this.sender=e,this.sequence_number=t,this.payload=r,this.max_gas_amount=i,this.gas_unit_price=a,this.expiration_timestamp_secs=c,this.chain_id=d}serialize(e){this.sender.serialize(e),e.serializeU64(this.sequence_number),this.payload.serialize(e),e.serializeU64(this.max_gas_amount),e.serializeU64(this.gas_unit_price),e.serializeU64(this.expiration_timestamp_secs),this.chain_id.serialize(e)}static deserialize(e){const t=he.deserialize(e),r=e.deserializeU64(),i=dn.deserialize(e),a=e.deserializeU64(),c=e.deserializeU64(),d=e.deserializeU64(),p=ns.deserialize(e);return new vo(t,r,i,a,c,d,p)}},Jr=class To{constructor(e,t,r){this.code=e,this.ty_args=t,this.args=r}serialize(e){e.serializeBytes(this.code),ze(this.ty_args,e),ze(this.args,e)}static deserialize(e){const t=e.deserializeBytes(),r=Pe(e,Oe),i=Pe(e,Ve);return new To(t,r,i)}},Vn=class Nn{constructor(e,t,r,i){this.module_name=e,this.function_name=t,this.ty_args=r,this.args=i}static natural(e,t,r,i){return new Nn(tn.fromStr(e),new Re(t),r,i)}static natual(e,t,r,i){return Nn.natural(e,t,r,i)}serialize(e){this.module_name.serialize(e),this.function_name.serialize(e),ze(this.ty_args,e),e.serializeU32AsUleb128(this.args.length),this.args.forEach(t=>{e.serializeBytes(t)})}static deserialize(e){const t=tn.deserialize(e),r=Re.deserialize(e),i=Pe(e,Oe),a=e.deserializeUleb128AsU32(),c=[];for(let p=0;pa.toLowerCase()).join(" "),{key:i}=jf(e,ti(oc(r)));return new Rn(i)}constructor(e,t){e?this.signingKey=An.sign.keyPair.fromSeed(e.slice(0,32)):this.signingKey=An.sign.keyPair(),this.accountAddress=q.ensure(t||this.authKey().hex())}address(){return this.accountAddress}authKey(){const e=new We(this.signingKey.publicKey);return Or.fromEd25519PublicKey(e).derivedAddress()}static getResourceAccountAddress(e,t){const r=rt(he.fromHex(e)),i=new Uint8Array([...r,...t,Or.DERIVE_RESOURCE_ACCOUNT_SCHEME]),a=Rt.create();return a.update(i),q.fromUint8Array(a.digest())}static getCollectionID(e,t){const r=new TextEncoder().encode(`${e}::${t}`),i=Pa.create();return i.update(r),q.fromUint8Array(i.digest())}pubKey(){return q.fromUint8Array(this.signingKey.publicKey)}signBuffer(e){const t=An.sign.detached(e,this.signingKey.secretKey);return q.fromUint8Array(t)}signHexString(e){const t=q.ensure(e).toUint8Array();return this.signBuffer(t)}verifySignature(e,t){const r=q.ensure(e).toUint8Array(),i=q.ensure(t).toUint8Array();return An.sign.detached.verify(r,i,this.signingKey.publicKey)}toPrivateKeyObject(){return{address:this.address().hex(),publicKeyHex:this.pubKey().hex(),privateKeyHex:q.fromUint8Array(this.signingKey.secretKey.slice(0,32)).hex()}}};pe([Gn()],Zo.prototype,"authKey",1);var Cr=Zo;function En(n){return n instanceof Cr?n.address():q.ensure(n)}var pn=` + fragment CurrentTokenOwnershipFields on current_token_ownerships_v2 { + token_standard + token_properties_mutated_v1 + token_data_id + table_type_v1 + storage_id + property_version_v1 + owner_address + last_transaction_version + last_transaction_timestamp + is_soulbound_v2 + is_fungible_v2 + amount + current_token_data { + collection_id + description + is_fungible_v2 + largest_property_version_v1 + last_transaction_timestamp + last_transaction_version + maximum + supply + token_data_id + token_name + token_properties + token_standard + token_uri + current_collection { + collection_id + collection_name + creator_address + current_supply + description + last_transaction_timestamp + last_transaction_version + max_supply + mutable_description + mutable_uri + table_handle_v1 + token_standard + total_minted_v2 + uri + } + } +} + `,vl=` + fragment TokenDataFields on current_token_datas { + creator_address + collection_name + description + metadata_uri + name + token_data_id_hash + collection_data_id_hash +} + `,Tl=` + fragment CollectionDataFields on current_collection_datas { + metadata_uri + supply + description + collection_name + collection_data_id_hash + table_handle + creator_address +} + `,ea=` + fragment TokenActivitiesFields on token_activities_v2 { + after_value + before_value + entry_function_id_str + event_account_address + event_index + from_address + is_fungible_v2 + property_version_v1 + to_address + token_amount + token_data_id + token_standard + transaction_timestamp + transaction_version + type +} + `,Al=` + query getAccountCoinsDataCount($address: String) { + current_fungible_asset_balances_aggregate( + where: {owner_address: {_eq: $address}} + ) { + aggregate { + count + } + } +} + `,El=` + query getAccountCoinsData($where_condition: current_fungible_asset_balances_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_fungible_asset_balances_order_by!]) { + current_fungible_asset_balances( + where: $where_condition + offset: $offset + limit: $limit + order_by: $order_by + ) { + amount + asset_type + is_frozen + is_primary + last_transaction_timestamp + last_transaction_version + owner_address + storage_id + token_standard + metadata { + token_standard + symbol + supply_aggregator_table_key_v1 + supply_aggregator_table_handle_v1 + project_uri + name + last_transaction_version + last_transaction_timestamp + icon_uri + decimals + creator_address + asset_type + } + } +} + `,Ul=` + query getAccountCurrentTokens($address: String!, $offset: Int, $limit: Int) { + current_token_ownerships( + where: {owner_address: {_eq: $address}, amount: {_gt: 0}} + order_by: [{last_transaction_version: desc}, {creator_address: asc}, {collection_name: asc}, {name: asc}] + offset: $offset + limit: $limit + ) { + amount + current_token_data { + ...TokenDataFields + } + current_collection_data { + ...CollectionDataFields + } + last_transaction_version + property_version + } +} + ${vl} +${Tl}`,Sl=` + query getAccountTokensCount($where_condition: current_token_ownerships_v2_bool_exp, $offset: Int, $limit: Int) { + current_token_ownerships_v2_aggregate( + where: $where_condition + offset: $offset + limit: $limit + ) { + aggregate { + count + } + } +} + `,Bl=` + query getAccountTransactionsCount($address: String) { + account_transactions_aggregate(where: {account_address: {_eq: $address}}) { + aggregate { + count + } + } +} + `,Il=` + query getAccountTransactionsData($where_condition: account_transactions_bool_exp!, $offset: Int, $limit: Int, $order_by: [account_transactions_order_by!]) { + account_transactions( + where: $where_condition + order_by: $order_by + limit: $limit + offset: $offset + ) { + token_activities_v2 { + ...TokenActivitiesFields + } + transaction_version + account_address + } +} + ${ea}`,zl=` + query getCollectionData($where_condition: current_collections_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_collections_v2_order_by!]) { + current_collections_v2( + where: $where_condition + offset: $offset + limit: $limit + order_by: $order_by + ) { + collection_id + collection_name + creator_address + current_supply + description + last_transaction_timestamp + last_transaction_version + max_supply + mutable_description + mutable_uri + table_handle_v1 + token_standard + total_minted_v2 + uri + } +} + `,Ol=` + query getCollectionsWithOwnedTokens($where_condition: current_collection_ownership_v2_view_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_collection_ownership_v2_view_order_by!]) { + current_collection_ownership_v2_view( + where: $where_condition + offset: $offset + limit: $limit + order_by: $order_by + ) { + current_collection { + collection_id + collection_name + creator_address + current_supply + description + last_transaction_timestamp + last_transaction_version + mutable_description + max_supply + mutable_uri + table_handle_v1 + token_standard + total_minted_v2 + uri + } + collection_id + collection_name + collection_uri + creator_address + distinct_tokens + last_transaction_version + owner_address + single_token_uri + } +} + `,Cl=` + query getCurrentObjects($where_condition: current_objects_bool_exp, $offset: Int, $limit: Int, $order_by: [current_objects_order_by!]) { + current_objects( + where: $where_condition + offset: $offset + limit: $limit + order_by: $order_by + ) { + allow_ungated_transfer + state_key_hash + owner_address + object_address + last_transaction_version + last_guid_creation_num + is_deleted + } +} + `,kl=` + query getDelegatedStakingActivities($delegatorAddress: String, $poolAddress: String) { + delegated_staking_activities( + where: {delegator_address: {_eq: $delegatorAddress}, pool_address: {_eq: $poolAddress}} + ) { + amount + delegator_address + event_index + event_type + pool_address + transaction_version + } +} + `,Nl=` + query getIndexerLedgerInfo { + ledger_infos { + chain_id + } +} + `,Rl=` + query getNumberOfDelegators($poolAddress: String) { + num_active_delegator_per_pool( + where: {pool_address: {_eq: $poolAddress}, num_active_delegator: {_gt: "0"}} + distinct_on: pool_address + ) { + num_active_delegator + pool_address + } +} + `,Pl=` + query getOwnedTokens($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) { + current_token_ownerships_v2( + where: $where_condition + offset: $offset + limit: $limit + order_by: $order_by + ) { + ...CurrentTokenOwnershipFields + } +} + ${pn}`,Ll=` + query getOwnedTokensByTokenData($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) { + current_token_ownerships_v2( + where: $where_condition + offset: $offset + limit: $limit + order_by: $order_by + ) { + ...CurrentTokenOwnershipFields + } +} + ${pn}`,$l=` + query getTokenActivities($where_condition: token_activities_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [token_activities_v2_order_by!]) { + token_activities_v2( + where: $where_condition + order_by: $order_by + offset: $offset + limit: $limit + ) { + ...TokenActivitiesFields + } +} + ${ea}`,Ml=` + query getTokenActivitiesCount($token_id: String) { + token_activities_v2_aggregate(where: {token_data_id: {_eq: $token_id}}) { + aggregate { + count + } + } +} + `,Fl=` + query getTokenCurrentOwnerData($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) { + current_token_ownerships_v2( + where: $where_condition + offset: $offset + limit: $limit + order_by: $order_by + ) { + ...CurrentTokenOwnershipFields + } +} + ${pn}`,Dl=` + query getTokenData($where_condition: current_token_datas_v2_bool_exp, $offset: Int, $limit: Int, $order_by: [current_token_datas_v2_order_by!]) { + current_token_datas_v2( + where: $where_condition + offset: $offset + limit: $limit + order_by: $order_by + ) { + collection_id + description + is_fungible_v2 + largest_property_version_v1 + last_transaction_timestamp + last_transaction_version + maximum + supply + token_data_id + token_name + token_properties + token_standard + token_uri + current_collection { + collection_id + collection_name + creator_address + current_supply + description + last_transaction_timestamp + last_transaction_version + max_supply + mutable_description + mutable_uri + table_handle_v1 + token_standard + total_minted_v2 + uri + } + } +} + `,Hl=` + query getTokenOwnedFromCollection($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) { + current_token_ownerships_v2( + where: $where_condition + offset: $offset + limit: $limit + order_by: $order_by + ) { + ...CurrentTokenOwnershipFields + } +} + ${pn}`,ql=` + query getTokenOwnersData($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) { + current_token_ownerships_v2( + where: $where_condition + offset: $offset + limit: $limit + order_by: $order_by + ) { + ...CurrentTokenOwnershipFields + } +} + ${pn}`,jl=` + query getTopUserTransactions($limit: Int) { + user_transactions(limit: $limit, order_by: {version: desc}) { + version + } +} + `,Kl=` + query getUserTransactions($where_condition: user_transactions_bool_exp!, $offset: Int, $limit: Int, $order_by: [user_transactions_order_by!]) { + user_transactions( + order_by: $order_by + where: $where_condition + limit: $limit + offset: $offset + ) { + version + } +} + `;function Zn(n,e,t){if(!(e!=null&&e.includes(typeof n)))throw new Error(t||`Invalid arg: ${n} type should be ${e instanceof Array?e.join(" or "):e}`)}function ta(n){if(Zn(n,["boolean","string"]),typeof n=="boolean")return n;if(n==="true")return!0;if(n==="false")return!1;throw new Error("Invalid boolean string.")}function Ot(n){if(Zn(n,["number","string"]),typeof n=="number")return n;const e=Number.parseInt(n,10);if(Number.isNaN(e))throw new Error("Invalid number string.");return e}function Ct(n){return Zn(n,["number","bigint","string"]),BigInt(n)}function Gl(n,e,t){hs(n,e,t)}function hs(n,e,t,r){if(e instanceof Mt)t.serializeBool(ta(n));else if(e instanceof xt)t.serializeU8(Ot(n));else if(e instanceof an)t.serializeU16(Ot(n));else if(e instanceof cn)t.serializeU32(Ot(n));else if(e instanceof Ft)t.serializeU64(Ct(n));else if(e instanceof Dt)t.serializeU128(Ct(n));else if(e instanceof fn)t.serializeU256(Ct(n));else if(e instanceof gt)na(n,t);else if(e instanceof ln)Wl(n,e,t);else if(e instanceof wt)Vl(n,e,t);else throw new Error("Unsupported arg type.")}function na(n,e){let t;if(typeof n=="string"||n instanceof q)t=he.fromHex(n);else if(n instanceof he)t=n;else throw new Error("Invalid account address.");t.serialize(e)}function Wl(n,e,t,r){if(e.value instanceof xt){if(n instanceof Uint8Array){t.serializeBytes(n);return}if(n instanceof q){t.serializeBytes(n.toUint8Array());return}if(typeof n=="string"){t.serializeStr(n);return}}if(!Array.isArray(n))throw new Error("Invalid vector args.");t.serializeU32AsUleb128(n.length),n.forEach(i=>hs(i,e.value,t))}function Vl(n,e,t,r){const{address:i,module_name:a,name:c,type_args:d}=e.value,p=`${q.fromUint8Array(i.address).toShortString()}::${a.value}::${c.value}`;if(p==="0x1::string::String")Zn(n,["string"]),t.serializeStr(n);else if(p==="0x1::object::Object")na(n,t);else if(p==="0x1::option::Option"){if(d.length!==1)throw new Error(`Option has the wrong number of type arguments ${d.length}`);Yl(n,d[0],t)}else throw new Error("Unsupported struct type in function argument")}function Yl(n,e,t,r){n==null?t.serializeU32AsUleb128(0):(t.serializeU32AsUleb128(1),hs(n,e,t))}function Jl(n,e){if(e instanceof Mt)return new us(ta(n));if(e instanceof xt)return new rs(Ot(n));if(e instanceof an)return new ss(Ot(n));if(e instanceof cn)return new is(Ot(n));if(e instanceof Ft)return new os(Ct(n));if(e instanceof Dt)return new as(Ct(n));if(e instanceof fn)return new cs(Ct(n));if(e instanceof gt){let t;if(typeof n=="string"||n instanceof q)t=he.fromHex(n);else if(n instanceof he)t=n;else throw new Error("Invalid account address.");return new fs(t)}if(e instanceof ln&&e.value instanceof xt){if(!(n instanceof Uint8Array))throw new Error(`${n} should be an instance of Uint8Array`);return new ls(n)}throw new Error("Unknown type for TransactionArgument.")}var Xl="APTOS::RawTransaction",Ys="APTOS::RawTransactionWithData",rn=class{constructor(n,e){this.rawTxnBuilder=e,this.signingFunction=n}build(n,e,t){if(!this.rawTxnBuilder)throw new Error("this.rawTxnBuilder doesn't exist.");return this.rawTxnBuilder.build(n,e,t)}static getSigningMessage(n){const e=Rt.create();if(n instanceof qt)e.update(Xl);else if(n instanceof Qr)e.update(Ys);else if(n instanceof Zr)e.update(Ys);else throw new Error("Unknown transaction type.");const t=e.digest(),r=rt(n),i=new Uint8Array(t.length+r.length);return i.set(t),i.set(r,t.length),i}},br=class extends rn{constructor(n,e,t){super(n,t),this.publicKey=e}rawToSigned(n){const e=rn.getSigningMessage(n),t=this.signingFunction(e),r=new Wr(new We(this.publicKey),t);return new Yn(n,r)}sign(n){return rt(this.rawToSigned(n))}},Ql=class extends rn{constructor(n,e){super(n),this.publicKey=e}rawToSigned(n){const e=rn.getSigningMessage(n),t=this.signingFunction(e),r=new Vr(this.publicKey,t);return new Yn(n,r)}sign(n){return rt(this.rawToSigned(n))}},Zl=class kr{constructor(e,t){this.abiMap=new Map,e.forEach(r=>{const i=new Kr(r),a=Qn.deserialize(i);let c;if(a instanceof nn){const d=a,{address:p,name:x}=d.module_name;c=`${q.fromUint8Array(p.address).toShortString()}::${x.value}::${d.name}`}else c=a.name;if(this.abiMap.has(c))throw new Error("Found conflicting ABI interfaces");this.abiMap.set(c,a)}),this.builderConfig={maxGasAmount:BigInt(Mi),expSecFromNow:Fi,...t}}static toBCSArgs(e,t){if(e.length!==t.length)throw new Error("Wrong number of args provided.");return t.map((r,i)=>{const a=new be;return Gl(r,e[i].type_tag,a),a.getBytes()})}static toTransactionArguments(e,t){if(e.length!==t.length)throw new Error("Wrong number of args provided.");return t.map((r,i)=>Jl(r,e[i].type_tag))}setSequenceNumber(e){this.builderConfig.sequenceNumber=BigInt(e)}buildTransactionPayload(e,t,r){const i=t.map(d=>new un(d).parseTypeTag());let a;if(!this.abiMap.has(e))throw new Error(`Cannot find function: ${e}`);const c=this.abiMap.get(e);if(c instanceof nn){const d=c,p=kr.toBCSArgs(d.args,r);a=new ts(new Vn(d.module_name,new Re(d.name),i,p))}else if(c instanceof ds){const d=c,p=kr.toTransactionArguments(d.args,r);a=new es(new Jr(d.code,i,p))}else throw new Error("Unknown ABI format.");return a}build(e,t,r){const{sender:i,sequenceNumber:a,gasUnitPrice:c,maxGasAmount:d,expSecFromNow:p,chainId:x}=this.builderConfig;if(!c)throw new Error("No gasUnitPrice provided.");const g=i instanceof he?i:he.fromHex(i),y=BigInt(Math.floor(Date.now()/1e3)+Number(p)),I=this.buildTransactionPayload(e,t,r);if(I)return new qt(g,BigInt(a),I,BigInt(d),BigInt(c),y,new ns(Number(x)));throw new Error("Invalid ABI.")}},er=class{constructor(n,e){this.aptosClient=n,this.builderConfig=e}async fetchABI(n){const t=(await this.aptosClient.getAccountModules(n)).map(i=>i.abi).flatMap(i=>i.exposed_functions.filter(a=>a.is_entry).map(a=>({fullName:`${i.address}::${i.name}::${a.name}`,...a}))),r=new Map;return t.forEach(i=>{r.set(i.fullName,i)}),r}async build(n,e,t){if(n=(M=>M.replace(/^0[xX]0*/g,"0x"))(n),n.split("::").length!==3)throw new Error("'func' needs to be a fully qualified function name in format
::::, e.g. 0x1::coin::transfer");const[a,c]=n.split("::"),d=await this.fetchABI(a);if(!d.has(n))throw new Error(`${n} doesn't exist.`);const p=d.get(n),g=p.params.filter(M=>M!=="signer"&&M!=="&signer").map((M,Te)=>new Xn(`var${Te}`,new un(M,e).parseTypeTag())),y=new nn(p.name,tn.fromStr(`${a}::${c}`),"",p.generic_type_params.map((M,Te)=>new Jn(`${Te}`)),g),{sender:I,...C}=this.builderConfig,B=I instanceof he?q.fromUint8Array(I.address):I,[{sequence_number:O},k,{gas_estimate:Q}]=await Promise.all([C!=null&&C.sequenceNumber?Promise.resolve({sequence_number:C==null?void 0:C.sequenceNumber}):this.aptosClient.getAccount(B),C!=null&&C.chainId?Promise.resolve(C==null?void 0:C.chainId):this.aptosClient.getChainId(),C!=null&&C.gasUnitPrice?Promise.resolve({gas_estimate:C==null?void 0:C.gasUnitPrice}):this.aptosClient.estimateGasPrice()]);return new Zl([rt(y)],{sender:I,sequenceNumber:O,chainId:k,gasUnitPrice:BigInt(Q),...C}).build(n,e,t)}};pe([Di(10*60*1e3)],er.prototype,"fetchABI",1);var ve=class zt{constructor(e,t,r=!1){if(!e)throw new Error("Node URL cannot be empty.");r?this.nodeUrl=e:this.nodeUrl=Wf(e),this.config=t==null?{}:{...t}}async getAccount(e){const{data:t}=await Le({url:this.nodeUrl,endpoint:`accounts/${q.ensure(e).hex()}`,originMethod:"getAccount",overrides:{...this.config}});return t}async getAccountTransactions(e,t){const{data:r}=await Le({url:this.nodeUrl,endpoint:`accounts/${q.ensure(e).hex()}/transactions`,originMethod:"getAccountTransactions",params:{start:t==null?void 0:t.start,limit:t==null?void 0:t.limit},overrides:{...this.config}});return r}async getAccountModules(e,t){return await Ks({url:this.nodeUrl,endpoint:`accounts/${e}/modules`,params:{ledger_version:t==null?void 0:t.ledgerVersion,limit:1e3},originMethod:"getAccountModules",overrides:{...this.config}})}async getAccountModule(e,t,r){const{data:i}=await Le({url:this.nodeUrl,endpoint:`accounts/${q.ensure(e).hex()}/module/${t}`,originMethod:"getAccountModule",params:{ledger_version:r==null?void 0:r.ledgerVersion},overrides:{...this.config}});return i}async getAccountResources(e,t){return await Ks({url:this.nodeUrl,endpoint:`accounts/${e}/resources`,params:{ledger_version:t==null?void 0:t.ledgerVersion,limit:9999},originMethod:"getAccountResources",overrides:{...this.config}})}async getAccountResource(e,t,r){const{data:i}=await Le({url:this.nodeUrl,endpoint:`accounts/${q.ensure(e).hex()}/resource/${t}`,originMethod:"getAccountResource",params:{ledger_version:r==null?void 0:r.ledgerVersion},overrides:{...this.config}});return i}static generateBCSTransaction(e,t){return new br(i=>{const a=e.signBuffer(i);return new ye.Ed25519Signature(a.toUint8Array())},e.pubKey().toUint8Array()).sign(t)}static generateBCSSimulation(e,t){return new br(i=>{const a=new Uint8Array(64);return new ye.Ed25519Signature(a)},e.pubKey().toUint8Array()).sign(t)}async generateTransaction(e,t,r){const i={sender:e};if(r!=null&&r.sequence_number&&(i.sequenceNumber=r.sequence_number),r!=null&&r.gas_unit_price&&(i.gasUnitPrice=r.gas_unit_price),r!=null&&r.max_gas_amount&&(i.maxGasAmount=r.max_gas_amount),r!=null&&r.expiration_timestamp_secs){const c=Number.parseInt(r.expiration_timestamp_secs,10);i.expSecFromNow=c-Math.floor(Date.now()/1e3)}return new er(this,i).build(t.function,t.type_arguments,t.arguments)}async generateFeePayerTransaction(e,t,r,i=[],a){const c=await this.generateTransaction(e,t,a),d=i.map(x=>he.fromHex(x));return new ye.FeePayerRawTransaction(c,d,he.fromHex(r))}async submitFeePayerTransaction(e,t,r,i=[]){const a=new ye.TransactionAuthenticatorFeePayer(t,e.secondary_signer_addresses,i,{address:e.fee_payer_address,authenticator:r}),c=rt(new ye.SignedTransaction(e.raw_txn,a));return await this.submitSignedBCSTransaction(c)}async signMultiTransaction(e,t){const r=new ye.Ed25519Signature(e.signBuffer(rn.getSigningMessage(t)).toUint8Array()),i=new ye.AccountAuthenticatorEd25519(new ye.Ed25519PublicKey(e.signingKey.publicKey),r);return Promise.resolve(i)}async signTransaction(e,t){return Promise.resolve(zt.generateBCSTransaction(e,t))}async getEventsByCreationNumber(e,t,r){const{data:i}=await Le({url:this.nodeUrl,endpoint:`accounts/${q.ensure(e).hex()}/events/${t}`,originMethod:"getEventsByCreationNumber",params:{start:r==null?void 0:r.start,limit:r==null?void 0:r.limit},overrides:{...this.config}});return i}async getEventsByEventHandle(e,t,r,i){const{data:a}=await Le({url:this.nodeUrl,endpoint:`accounts/${q.ensure(e).hex()}/events/${t}/${r}`,originMethod:"getEventsByEventHandle",params:{start:i==null?void 0:i.start,limit:i==null?void 0:i.limit},overrides:{...this.config}});return a}async submitTransaction(e){return this.submitSignedBCSTransaction(e)}async simulateTransaction(e,t,r){let i;return e instanceof Cr?i=zt.generateBCSSimulation(e,t):e instanceof Wn?i=new Ql(()=>{const{threshold:c}=e,d=[],p=[];for(let g=0;g{const c=new Uint8Array(64);return new ye.Ed25519Signature(c)},e.toBytes()).sign(t),this.submitBCSSimulation(i,r)}async submitSignedBCSTransaction(e){const{data:t}=await Xt({url:this.nodeUrl,body:e,endpoint:"transactions",originMethod:"submitSignedBCSTransaction",contentType:"application/x.aptos.signed_transaction+bcs",overrides:{...this.config}});return t}async submitBCSSimulation(e,t){var r,i,a;const c={estimate_gas_unit_price:(r=t==null?void 0:t.estimateGasUnitPrice)!=null?r:!1,estimate_max_gas_amount:(i=t==null?void 0:t.estimateMaxGasAmount)!=null?i:!1,estimate_prioritized_gas_unit_price:(a=t==null?void 0:t.estimatePrioritizedGasUnitPrice)!=null?a:!1},{data:d}=await Xt({url:this.nodeUrl,body:e,endpoint:"transactions/simulate",params:c,originMethod:"submitBCSSimulation",contentType:"application/x.aptos.signed_transaction+bcs",overrides:{...this.config}});return d}async getTransactions(e){var t;const{data:r}=await Le({url:this.nodeUrl,endpoint:"transactions",originMethod:"getTransactions",params:{start:(t=e==null?void 0:e.start)==null?void 0:t.toString(),limit:e==null?void 0:e.limit},overrides:{...this.config}});return r}async getTransactionByHash(e){const{data:t}=await Le({url:this.nodeUrl,endpoint:`transactions/by_hash/${e}`,originMethod:"getTransactionByHash",overrides:{...this.config}});return t}async getTransactionByVersion(e){const{data:t}=await Le({url:this.nodeUrl,endpoint:`transactions/by_version/${e}`,originMethod:"getTransactionByVersion",overrides:{...this.config}});return t}async transactionPending(e){try{return(await this.getTransactionByHash(e)).type==="pending_transaction"}catch(t){if((t==null?void 0:t.status)===404)return!0;throw t}}async waitForTransactionWithResult(e,t){var r,i;const a=(r=t==null?void 0:t.timeoutSecs)!=null?r:Vf,c=(i=t==null?void 0:t.checkSuccess)!=null?i:!1;let d=!0,p=0,x;for(;d&&!(p>=a);){try{if(x=await this.getTransactionByHash(e),d=x.type==="pending_transaction",!d)break}catch(g){const y=g instanceof xs,I=y&&g.status!==404&&g.status>=400&&g.status<500;if(!y||I)throw g}await Gf(1e3),p+=1}if(x===void 0)throw new Error(`Waiting for transaction ${e} failed`);if(d)throw new eu(`Waiting for transaction ${e} timed out after ${a} seconds`,x);if(!c)return x;if(!(x!=null&&x.success))throw new tu(`Transaction ${e} failed with an error: ${x.vm_status}`,x);return x}async waitForTransaction(e,t){await this.waitForTransactionWithResult(e,t)}async getLedgerInfo(){const{data:e}=await Le({url:this.nodeUrl,originMethod:"getLedgerInfo",overrides:{...this.config}});return e}async getChainId(){return(await this.getLedgerInfo()).chain_id}async getTableItem(e,t,r){var i;return(await Xt({url:this.nodeUrl,body:t,endpoint:`tables/${e}/item`,originMethod:"getTableItem",params:{ledger_version:(i=r==null?void 0:r.ledgerVersion)==null?void 0:i.toString()},overrides:{...this.config}})).data}async generateRawTransaction(e,t,r){const[{sequence_number:i},a,{gas_estimate:c}]=await Promise.all([r!=null&&r.providedSequenceNumber?Promise.resolve({sequence_number:r.providedSequenceNumber}):this.getAccount(e),this.getChainId(),r!=null&&r.gasUnitPrice?Promise.resolve({gas_estimate:r.gasUnitPrice}):this.estimateGasPrice()]),{maxGasAmount:d,gasUnitPrice:p,expireTimestamp:x}={maxGasAmount:BigInt(Mi),gasUnitPrice:BigInt(c),expireTimestamp:BigInt(Math.floor(Date.now()/1e3)+Fi),...r};return new ye.RawTransaction(ye.AccountAddress.fromHex(e),BigInt(i),t,d,p,x,new ye.ChainId(a))}async generateSignSubmitTransaction(e,t,r){const i=await this.generateRawTransaction(e.address(),t,r),a=zt.generateBCSTransaction(e,i);return(await this.submitSignedBCSTransaction(a)).hash}async signAndSubmitTransaction(e,t){const r=zt.generateBCSTransaction(e,t);return(await this.submitSignedBCSTransaction(r)).hash}async publishPackage(e,t,r,i){const a=new be;ze(r,a);const c=new ye.TransactionPayloadEntryFunction(ye.EntryFunction.natural("0x1::code","publish_package_txn",[],[dt(t),a.getBytes()]));return this.generateSignSubmitTransaction(e,c,i)}async createResourceAccountAndPublishPackage(e,t,r,i,a){const c=new be;ze(i,c);const d=new ye.TransactionPayloadEntryFunction(ye.EntryFunction.natural("0x1::resource_account","create_resource_account_and_publish_package",[],[dt(t),dt(r),c.getBytes()]));return this.generateSignSubmitTransaction(e,d,a)}async generateSignSubmitWaitForTransaction(e,t,r){const i=await this.generateSignSubmitTransaction(e,t,r);return this.waitForTransactionWithResult(i,r)}async estimateGasPrice(){const{data:e}=await Le({url:this.nodeUrl,endpoint:"estimate_gas_price",originMethod:"estimateGasPrice",overrides:{...this.config}});return e}async estimateMaxGasAmount(e){const t=`0x1::coin::CoinStore<${Er}>`,[{gas_estimate:r},i]=await Promise.all([this.estimateGasPrice(),this.getAccountResources(e)]),a=i.find(d=>d.type===t);return BigInt(a.data.coin.value)/BigInt(r)}async rotateAuthKeyEd25519(e,t,r){const{sequence_number:i,authentication_key:a}=await this.getAccount(e.address()),c=new Cr(t),d=new ye.RotationProofChallenge(ye.AccountAddress.CORE_CODE_ADDRESS,"account","RotationProofChallenge",BigInt(i),ye.AccountAddress.fromHex(e.address()),new ye.AccountAddress(new q(a).toUint8Array()),c.pubKey().toUint8Array()),p=q.fromUint8Array(rt(d)),x=e.signHexString(p),g=c.signHexString(p),y=new ye.TransactionPayloadEntryFunction(ye.EntryFunction.natural("0x1::account","rotate_authentication_key",[],[Sr(0),dt(e.pubKey().toUint8Array()),Sr(0),dt(c.pubKey().toUint8Array()),dt(x.toUint8Array()),dt(g.toUint8Array())])),I=await this.generateRawTransaction(e.address(),y,r),C=zt.generateBCSTransaction(e,I);return this.submitSignedBCSTransaction(C)}async lookupOriginalAddress(e){const t=await this.getAccountResource("0x1","0x1::account::OriginatingAddress"),{address_map:{handle:r}}=t.data,i=await this.getTableItem(r,{key_type:"address",value_type:"address",key:q.ensure(e).hex()});return new q(i)}async getBlockByHeight(e,t){const{data:r}=await Le({url:this.nodeUrl,endpoint:`blocks/by_height/${e}`,originMethod:"getBlockByHeight",params:{with_transactions:t},overrides:{...this.config}});return r}async getBlockByVersion(e,t){const{data:r}=await Le({url:this.nodeUrl,endpoint:`blocks/by_version/${e}`,originMethod:"getBlockByVersion",params:{with_transactions:t},overrides:{...this.config}});return r}async view(e,t){const{data:r}=await Xt({url:this.nodeUrl,body:e,endpoint:"view",originMethod:"getTableItem",params:{ledger_version:t},overrides:{...this.config}});return r}clearCache(e){Yf(e)}};pe([Se],ve.prototype,"getAccount",1);pe([Se],ve.prototype,"getAccountTransactions",1);pe([Se,Di(10*60*1e3)],ve.prototype,"getAccountModules",1);pe([Se],ve.prototype,"getAccountModule",1);pe([Se],ve.prototype,"getAccountResources",1);pe([Se],ve.prototype,"getAccountResource",1);pe([Se],ve.prototype,"getEventsByCreationNumber",1);pe([Se],ve.prototype,"getEventsByEventHandle",1);pe([Se],ve.prototype,"submitSignedBCSTransaction",1);pe([Se],ve.prototype,"submitBCSSimulation",1);pe([Se],ve.prototype,"getTransactions",1);pe([Se],ve.prototype,"getTransactionByHash",1);pe([Se],ve.prototype,"getTransactionByVersion",1);pe([Se],ve.prototype,"getLedgerInfo",1);pe([Gn()],ve.prototype,"getChainId",1);pe([Se],ve.prototype,"getTableItem",1);pe([Se,Gn({ttlMs:5*60*1e3,tags:["gas_estimates"]})],ve.prototype,"estimateGasPrice",1);pe([Se],ve.prototype,"estimateMaxGasAmount",1);pe([Se],ve.prototype,"getBlockByHeight",1);pe([Se],ve.prototype,"getBlockByVersion",1);pe([Se],ve.prototype,"view",1);var ps=ve,eu=class extends Error{constructor(n,e){super(n),this.lastSubmittedTransaction=e}},tu=class extends Error{constructor(n,e){super(n),this.transaction=e}},xs=class extends Error{constructor(n,e,t,r){super(e),this.status=n,this.message=e,this.errorCode=t,this.vmErrorCode=r}};function Se(n,e,t){const r=t.value;return t.value=async function(...a){var c,d;try{return await r.apply(this,[...a])}catch(p){throw p instanceof Hi?new xs(p.status,JSON.stringify({message:p.message,...p.data}),(c=p.data)==null?void 0:c.error_code,(d=p.data)==null?void 0:d.vm_error_code):p}},t}var ra=class Ee{constructor(e,t){this.endpoint=e,this.config=t}static validateAddress(e){if(e.length<66)throw new Error(`${e} is less than 66 chars long.`)}async queryIndexer(e){const t=await Xt({url:this.endpoint,body:e,overrides:{WITH_CREDENTIALS:!1,...this.config}});if(t.data.errors)throw new xs(t.data.errors[0].extensions.code,JSON.stringify({message:t.data.errors[0].message,error_code:t.data.errors[0].extensions.code}));return t.data.data}async getIndexerLedgerInfo(){const e={query:Nl};return this.queryIndexer(e)}async getAccountNFTs(e,t){const r=q.ensure(e).hex();Ee.validateAddress(r);const i={query:Ul,variables:{address:r,offset:t==null?void 0:t.offset,limit:t==null?void 0:t.limit}};return this.queryIndexer(i)}async getTokenActivities(e,t){var r,i;const a=q.ensure(e).hex();Ee.validateAddress(a);const c={token_data_id:{_eq:a}};t!=null&&t.tokenStandard&&(c.token_standard={_eq:t==null?void 0:t.tokenStandard});const d={query:$l,variables:{where_condition:c,offset:(r=t==null?void 0:t.options)==null?void 0:r.offset,limit:(i=t==null?void 0:t.options)==null?void 0:i.limit,order_by:t==null?void 0:t.orderBy}};return this.queryIndexer(d)}async getTokenActivitiesCount(e){const t={query:Ml,variables:{token_id:e}};return this.queryIndexer(t)}async getAccountTokensCount(e,t){var r,i;const a={owner_address:{_eq:e},amount:{_gt:"0"}};t!=null&&t.tokenStandard&&(a.token_standard={_eq:t==null?void 0:t.tokenStandard});const c=q.ensure(e).hex();Ee.validateAddress(c);const d={query:Sl,variables:{where_condition:a,offset:(r=t==null?void 0:t.options)==null?void 0:r.offset,limit:(i=t==null?void 0:t.options)==null?void 0:i.limit}};return this.queryIndexer(d)}async getTokenData(e,t){var r,i;const a=q.ensure(e).hex();Ee.validateAddress(a);const c={token_data_id:{_eq:a}};t!=null&&t.tokenStandard&&(c.token_standard={_eq:t==null?void 0:t.tokenStandard});const d={query:Dl,variables:{where_condition:c,offset:(r=t==null?void 0:t.options)==null?void 0:r.offset,limit:(i=t==null?void 0:t.options)==null?void 0:i.limit,order_by:t==null?void 0:t.orderBy}};return this.queryIndexer(d)}async getTokenOwnersData(e,t,r){var i,a;const c=q.ensure(e).hex();Ee.validateAddress(c);const d={token_data_id:{_eq:c},amount:{_gt:"0"}};t&&(d.property_version_v1={_eq:t}),r!=null&&r.tokenStandard&&(d.token_standard={_eq:r==null?void 0:r.tokenStandard});const p={query:ql,variables:{where_condition:d,offset:(i=r==null?void 0:r.options)==null?void 0:i.offset,limit:(a=r==null?void 0:r.options)==null?void 0:a.limit,order_by:r==null?void 0:r.orderBy}};return this.queryIndexer(p)}async getTokenCurrentOwnerData(e,t,r){var i,a;const c=q.ensure(e).hex();Ee.validateAddress(c);const d={token_data_id:{_eq:c},amount:{_gt:"0"}};t&&(d.property_version_v1={_eq:t}),r!=null&&r.tokenStandard&&(d.token_standard={_eq:r==null?void 0:r.tokenStandard});const p={query:Fl,variables:{where_condition:d,offset:(i=r==null?void 0:r.options)==null?void 0:i.offset,limit:(a=r==null?void 0:r.options)==null?void 0:a.limit,order_by:r==null?void 0:r.orderBy}};return this.queryIndexer(p)}async getOwnedTokens(e,t){var r,i;const a=q.ensure(e).hex();Ee.validateAddress(a);const c={owner_address:{_eq:a},amount:{_gt:0}};t!=null&&t.tokenStandard&&(c.token_standard={_eq:t==null?void 0:t.tokenStandard});const d={query:Pl,variables:{where_condition:c,offset:(r=t==null?void 0:t.options)==null?void 0:r.offset,limit:(i=t==null?void 0:t.options)==null?void 0:i.limit,order_by:t==null?void 0:t.orderBy}};return this.queryIndexer(d)}async getOwnedTokensByTokenData(e,t){var r,i;const a=q.ensure(e).hex();Ee.validateAddress(a);const c={token_data_id:{_eq:a},amount:{_gt:0}};t!=null&&t.tokenStandard&&(c.token_standard={_eq:t==null?void 0:t.tokenStandard});const d={query:Ll,variables:{where_condition:c,offset:(r=t==null?void 0:t.options)==null?void 0:r.offset,limit:(i=t==null?void 0:t.options)==null?void 0:i.limit,order_by:t==null?void 0:t.orderBy}};return this.queryIndexer(d)}async getTokenOwnedFromCollectionAddress(e,t,r){var i,a;const c=q.ensure(e).hex();Ee.validateAddress(c);const d=q.ensure(t).hex();Ee.validateAddress(d);const p={owner_address:{_eq:c},current_token_data:{collection_id:{_eq:d}},amount:{_gt:0}};r!=null&&r.tokenStandard&&(p.token_standard={_eq:r==null?void 0:r.tokenStandard});const x={query:Hl,variables:{where_condition:p,offset:(i=r==null?void 0:r.options)==null?void 0:i.offset,limit:(a=r==null?void 0:r.options)==null?void 0:a.limit,order_by:r==null?void 0:r.orderBy}};return this.queryIndexer(x)}async getTokenOwnedFromCollectionNameAndCreatorAddress(e,t,r,i){const a=await this.getCollectionAddress(r,t,i);return await this.getTokenOwnedFromCollectionAddress(e,a,i)}async getCollectionData(e,t,r){var i,a;const c=q.ensure(e).hex();Ee.validateAddress(c);const d={collection_name:{_eq:t},creator_address:{_eq:c}};r!=null&&r.tokenStandard&&(d.token_standard={_eq:r==null?void 0:r.tokenStandard});const p={query:zl,variables:{where_condition:d,offset:(i=r==null?void 0:r.options)==null?void 0:i.offset,limit:(a=r==null?void 0:r.options)==null?void 0:a.limit,order_by:r==null?void 0:r.orderBy}};return this.queryIndexer(p)}async getCollectionAddress(e,t,r){return(await this.getCollectionData(e,t,r)).current_collections_v2[0].collection_id}async getCollectionsWithOwnedTokens(e,t){var r,i;const a=q.ensure(e).hex();Ee.validateAddress(a);const c={owner_address:{_eq:a}};t!=null&&t.tokenStandard&&(c.current_collection={token_standard:{_eq:t==null?void 0:t.tokenStandard}});const d={query:Ol,variables:{where_condition:c,offset:(r=t==null?void 0:t.options)==null?void 0:r.offset,limit:(i=t==null?void 0:t.options)==null?void 0:i.limit,order_by:t==null?void 0:t.orderBy}};return this.queryIndexer(d)}async getAccountTransactionsCount(e){const t=q.ensure(e).hex();Ee.validateAddress(t);const r={query:Bl,variables:{address:t}};return this.queryIndexer(r)}async getAccountTransactionsData(e,t){var r,i;const a=q.ensure(e).hex();Ee.validateAddress(a);const d={query:Il,variables:{where_condition:{account_address:{_eq:a}},offset:(r=t==null?void 0:t.options)==null?void 0:r.offset,limit:(i=t==null?void 0:t.options)==null?void 0:i.limit,order_by:t==null?void 0:t.orderBy}};return this.queryIndexer(d)}async getTopUserTransactions(e){const t={query:jl,variables:{limit:e}};return this.queryIndexer(t)}async getUserTransactions(e){var t,r;const i={version:{_lte:e==null?void 0:e.startVersion}},a={query:Kl,variables:{where_condition:i,offset:(t=e==null?void 0:e.options)==null?void 0:t.offset,limit:(r=e==null?void 0:e.options)==null?void 0:r.limit,order_by:e==null?void 0:e.orderBy}};return this.queryIndexer(a)}async getDelegatedStakingActivities(e,t){const r=q.ensure(e).hex(),i=q.ensure(t).hex();Ee.validateAddress(r),Ee.validateAddress(i);const a={query:kl,variables:{delegatorAddress:r,poolAddress:i}};return this.queryIndexer(a)}async getNumberOfDelegators(e){const t=q.ensure(e).hex();Ee.validateAddress(t);const r={query:Rl,variables:{poolAddress:t}};return this.queryIndexer(r)}async getAccountCoinsData(e,t){var r,i;const a=q.ensure(e).hex();Ee.validateAddress(a);const d={query:El,variables:{where_condition:{owner_address:{_eq:a}},offset:(r=t==null?void 0:t.options)==null?void 0:r.offset,limit:(i=t==null?void 0:t.options)==null?void 0:i.limit,order_by:t==null?void 0:t.orderBy}};return this.queryIndexer(d)}async getAccountCoinsDataCount(e){const t=q.ensure(e).hex();Ee.validateAddress(t);const r={query:Al,variables:{address:t}};return this.queryIndexer(r)}async getAccountOwnedObjects(e,t){var r,i;const a=q.ensure(e).hex();Ee.validateAddress(a);const d={query:Cl,variables:{where_condition:{owner_address:{_eq:a}},offset:(r=t==null?void 0:t.options)==null?void 0:r.offset,limit:(i=t==null?void 0:t.options)==null?void 0:i.limit,order_by:t==null?void 0:t.orderBy}};return this.queryIndexer(d)}},$n=class{constructor(n,e,t=!1){let r=null,i=null;if(typeof n=="object"&&nu(n)?(r=n.fullnodeUrl,i=n.indexerUrl,this.network="CUSTOM"):(r=Qf[n],i=Ur[n],this.network=n),this.network==="CUSTOM"&&!r)throw new Error("fullnode url is not provided");i&&(this.indexerClient=new ra(i,e)),this.aptosClient=new ps(r,e,t)}};function sa(n,e,t){Object.getOwnPropertyNames(e.prototype).forEach(r=>{const i=Object.getOwnPropertyDescriptor(e.prototype,r);i&&(i.value=function(...a){return this[t][r](...a)},Object.defineProperty(n.prototype,r,i))}),Object.getOwnPropertyNames(e).forEach(r=>{const i=Object.getOwnPropertyDescriptor(e,r);i&&(i.value=function(...a){return this[t][r](...a)},!n.hasOwnProperty.call(n,r)&&Object.defineProperty(n,r,i))})}sa($n,ps,"aptosClient");sa($n,ra,"indexerClient");function nu(n){return n.fullnodeUrl!==void 0&&typeof n.fullnodeUrl=="string"}var ia=class{constructor(n,e){this.type=n,this.value=e}},oa=class{constructor(){this.data={}}setProperty(n,e){this.data[n]=e}};function ru(n){let e;return n==="string"||n==="String"?e=new wt(Yr):e=new un(n).parseTypeTag(),e}function aa(n){const e=n.map.data,t=new oa;return e.forEach(r=>{const{key:i}=r,a=r.value.value,c=r.value.type,d=ru(c),p=su(d,a),x=new ia(c,p);t.setProperty(i,x)}),t}function su(n,e){const t=new Kr(new q(e).toUint8Array());let r="";return n instanceof xt?r=t.deserializeU8().toString():n instanceof Ft?r=t.deserializeU64().toString():n instanceof Dt?r=t.deserializeU128().toString():n instanceof Mt?r=t.deserializeBool()?"true":"false":n instanceof gt?r=q.fromUint8Array(t.deserializeFixedBytes(32)).hex():n instanceof wt&&n.isStringTypeTag()?r=t.deserializeStr():r=e,r}var iu={};Kn(iu,{PropertyMap:()=>oa,PropertyValue:()=>ia,Token:()=>au,TokenData:()=>ou});var ou=class{constructor(n,e,t,r,i,a,c,d){this.collection=n,this.description=e,this.name=t,this.maximum=r,this.supply=i,this.uri=a,this.default_properties=aa(c),this.mutability_config=d}},au=class{constructor(n,e,t){this.id=n,this.amount=e,this.token_properties=aa(t)}},Js=class{constructor(n){this.assetType="0x1::fungible_asset::Metadata",this.provider=n}async transfer(n,e,t,r,i){const a=await this.generateTransfer(n,e,t,r,i);return await this.provider.signAndSubmitTransaction(n,a)}async getPrimaryBalance(n,e){const t={function:"0x1::primary_fungible_store::balance",type_arguments:[this.assetType],arguments:[q.ensure(n).hex(),q.ensure(e).hex()]},r=await this.provider.view(t);return BigInt(r[0])}async generateTransfer(n,e,t,r,i){return await new er(this.provider,{sender:n.address(),...i}).build("0x1::primary_fungible_store::transfer",[this.assetType],[q.ensure(e).hex(),q.ensure(t).hex(),r])}},Xs="0x1::aptos_account::transfer_coins",cu="0x1::coin::transfer",du=class{constructor(n){this.aptosClient=n}async transfer(n,e,t,r){var i,a,c;const d=((i=r==null?void 0:r.coinType)!=null?i:"").toString().includes("::");if(r!=null&&r.coinType&&!d&&he.isValid(r.coinType)){console.warn("to transfer a fungible asset, use `FungibleAssetClient()` class for better support");const O=new $n({fullnodeUrl:this.aptosClient.nodeUrl,indexerUrl:(a=Ur[Gs[this.aptosClient.nodeUrl]])!=null?a:this.aptosClient.nodeUrl});return await new Js(O).transfer(n,r==null?void 0:r.coinType,En(e),t)}const p=(c=r==null?void 0:r.coinType)!=null?c:Er;let x;(r==null?void 0:r.createReceiverIfMissing)===void 0?x=Xs:x=r!=null&&r.createReceiverIfMissing?Xs:cu;const g=En(e),I=await new er(this.aptosClient,{sender:n.address(),...r}).build(x,[p],[g,t]),C=ps.generateBCSTransaction(n,I);return(await this.aptosClient.submitSignedBCSTransaction(C)).hash}async checkBalance(n,e){var t,r,i;const a=((t=e==null?void 0:e.coinType)!=null?t:"").toString().includes("::");if(e!=null&&e.coinType&&!a&&he.isValid(e.coinType)){console.warn("to check balance of a fungible asset, use `FungibleAssetClient()` class for better support");const g=new $n({fullnodeUrl:this.aptosClient.nodeUrl,indexerUrl:(r=Ur[Gs[this.aptosClient.nodeUrl]])!=null?r:this.aptosClient.nodeUrl});return await new Js(g).getPrimaryBalance(En(n),e==null?void 0:e.coinType)}const d=`0x1::coin::CoinStore<${(i=e==null?void 0:e.coinType)!=null?i:Er}>`,p=En(n),x=await this.aptosClient.getAccountResource(p,d);return BigInt(x.data.coin.value)}},fu={};Kn(fu,{AptosErrorCode:()=>ca,MoveFunctionVisibility:()=>fa,RoleType:()=>la});var ca=(n=>(n.ACCOUNT_NOT_FOUND="account_not_found",n.RESOURCE_NOT_FOUND="resource_not_found",n.MODULE_NOT_FOUND="module_not_found",n.STRUCT_FIELD_NOT_FOUND="struct_field_not_found",n.VERSION_NOT_FOUND="version_not_found",n.TRANSACTION_NOT_FOUND="transaction_not_found",n.TABLE_ITEM_NOT_FOUND="table_item_not_found",n.BLOCK_NOT_FOUND="block_not_found",n.STATE_VALUE_NOT_FOUND="state_value_not_found",n.VERSION_PRUNED="version_pruned",n.BLOCK_PRUNED="block_pruned",n.INVALID_INPUT="invalid_input",n.INVALID_TRANSACTION_UPDATE="invalid_transaction_update",n.SEQUENCE_NUMBER_TOO_OLD="sequence_number_too_old",n.VM_ERROR="vm_error",n.HEALTH_CHECK_FAILED="health_check_failed",n.MEMPOOL_IS_FULL="mempool_is_full",n.INTERNAL_ERROR="internal_error",n.WEB_FRAMEWORK_ERROR="web_framework_error",n.BCS_NOT_SUPPORTED="bcs_not_supported",n.API_DISABLED="api_disabled",n))(ca||{}),fa=(n=>(n.PRIVATE="private",n.PUBLIC="public",n.FRIEND="friend",n))(fa||{}),la=(n=>(n.VALIDATOR="validator",n.FULL_NODE="full_node",n))(la||{});export{Cr as A,du as C,Zf as N,$n as P,ps as a,Nr as b,bt as n,uu as r,Pa as s}; diff --git a/build/app/immutable/chunks/index.ec3c65db.js b/build/app/immutable/chunks/index.ec3c65db.js deleted file mode 100644 index 06c028564..000000000 --- a/build/app/immutable/chunks/index.ec3c65db.js +++ /dev/null @@ -1,418 +0,0 @@ -import{e as Da,r as Ma,g as to,a as Fa}from"./store.26750aee.js";/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function qa(e){if(!Number.isSafeInteger(e))throw new Error(`Wrong integer: ${e}`)}function ot(...e){const t=(i,a)=>c=>i(a(c)),n=Array.from(e).reverse().reduce((i,a)=>i?t(i,a.encode):a.encode,void 0),r=e.reduce((i,a)=>i?t(i,a.decode):a.decode,void 0);return{encode:n,decode:r}}function ut(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(n=>{if(n<0||n>=e.length)throw new Error(`Digit index outside alphabet: ${n} (alphabet: ${e.length})`);return e[n]})},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(n=>{if(typeof n!="string")throw new Error(`alphabet.decode: not string element=${n}`);const r=e.indexOf(n);if(r===-1)throw new Error(`Unknown letter: "${n}". Allowed: ${e}`);return r})}}}function lt(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 n of t)if(typeof n!="string")throw new Error(`join.encode: non-string input=${n}`);return t.join(e)},decode:t=>{if(typeof t!="string")throw new Error("join.decode input should be string");return t.split(e)}}}function Cn(e,t="="){if(typeof t!="string")throw new Error("padding chr should be string");return{encode(n){if(!Array.isArray(n)||n.length&&typeof n[0]!="string")throw new Error("padding.encode input should be array of strings");for(let r of n)if(typeof r!="string")throw new Error(`padding.encode: non-string input=${r}`);for(;n.length*e%8;)n.push(t);return n},decode(n){if(!Array.isArray(n)||n.length&&typeof n[0]!="string")throw new Error("padding.encode input should be array of strings");for(let i of n)if(typeof i!="string")throw new Error(`padding.decode: non-string input=${i}`);let r=n.length;if(r*e%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;r>0&&n[r-1]===t;r--)if(!((r-1)*e%8))throw new Error("Invalid padding: string has too much padding");return n.slice(0,r)}}}function no(e){if(typeof e!="function")throw new Error("normalize fn should be function");return{encode:t=>t,decode:t=>e(t)}}function yi(e,t,n){if(t<2)throw new Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: wrong to=${n}, base cannot be less than 2`);if(!Array.isArray(e))throw new Error("convertRadix: data should be array");if(!e.length)return[];let r=0;const i=[],a=Array.from(e);for(a.forEach(c=>{if(c<0||c>=t)throw new Error(`Wrong integer: ${c}`)});;){let c=0,d=!0;for(let h=r;ht?ro(t,e%t):e,or=(e,t)=>e+(t-ro(e,t));function ws(e,t,n,r){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(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if(or(t,n)>32)throw new Error(`convertRadix2: carry overflow from=${t} to=${n} carryBits=${or(t,n)}`);let i=0,a=0;const c=2**n-1,d=[];for(const h of e){if(h>=2**t)throw new Error(`convertRadix2: invalid data word=${h} from=${t}`);if(i=i<32)throw new Error(`convertRadix2: carry overflow pos=${a} from=${t}`);for(a+=t;a>=n;a-=n)d.push((i>>a-n&c)>>>0);i&=2**a-1}if(i=i<=t)throw new Error("Excess padding");if(!r&&i)throw new Error(`Non-zero padding: ${i}`);return r&&a>0&&d.push(i>>>0),d}function so(e){return{encode:t=>{if(!(t instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return yi(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 strings");return Uint8Array.from(yi(t,e,2**8))}}}function pt(e,t=!1){if(e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if(or(8,e)>32||or(e,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!(n instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return ws(Array.from(n),8,e,!t)},decode:n=>{if(!Array.isArray(n)||n.length&&typeof n[0]!="number")throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(ws(n,e,8,t))}}}function bi(e){if(typeof e!="function")throw new Error("unsafeWrapper fn should be function");return function(...t){try{return e.apply(null,t)}catch{}}}function io(e,t){if(typeof t!="function")throw new Error("checksum fn should be function");return{encode(n){if(!(n instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const r=t(n).slice(0,e),i=new Uint8Array(n.length+e);return i.set(n),i.set(r,n.length),i},decode(n){if(!(n instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const r=n.slice(0,-e),i=t(r).slice(0,e),a=n.slice(-e);for(let c=0;ce.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),co=ot(pt(6),ut("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),Cn(6),lt("")),fo=ot(pt(6),ut("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),Cn(6),lt("")),Wa=ot(pt(6),ut("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),lt("")),Is=e=>ot(so(58),ut(e),lt("")),Sn=Is("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),Ya=Is("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),Va=Is("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz"),_i=[0,2,3,5,6,7,9,10,11],uo={encode(e){let t="";for(let n=0;not(io(4,t=>e(e(t))),Sn),gs=ot(ut("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),lt("")),wi=[996825010,642813549,513874426,1027748829,705979059];function mn(e){const t=e>>25;let n=(e&33554431)<<5;for(let r=0;r>r&1)===1&&(n^=wi[r]);return n}function gi(e,t,n=1){const r=e.length;let i=1;for(let a=0;a126)throw new Error(`Invalid prefix (${e})`);i=mn(i)^c>>5}i=mn(i);for(let a=0;aw)throw new TypeError(`Length ${U} exceeds limit ${w}`);const O=b.toLowerCase(),z=gi(O,p,t);return`${O}1${gs.encode(p)}${z}`}function d(b,p=90){if(typeof b!="string")throw new Error(`bech32.decode input should be string, not ${typeof b}`);if(b.length<8||p!==!1&&b.length>p)throw new TypeError(`Wrong string length: ${b.length} (${b}). Expected (8..${p})`);const w=b.toLowerCase();if(b!==w&&b!==b.toUpperCase())throw new Error("String must be lowercase or uppercase");b=w;const U=b.lastIndexOf("1");if(U===0||U===-1)throw new Error('Letter "1" must be present between prefix and data only');const O=b.slice(0,U),z=b.slice(U+1);if(z.length<6)throw new Error("Data must be at least 6 characters long");const L=gs.decode(z).slice(0,-6),Q=gi(O,L,t);if(!z.endsWith(Q))throw new Error(`Invalid checksum in ${b}: expected "${Q}"`);return{prefix:O,words:L}}const h=bi(d);function y(b){const{prefix:p,words:w}=d(b,!1);return{prefix:p,words:w,bytes:r(w)}}return{encode:c,decode:d,decodeToBytes:y,decodeUnsafe:h,fromWords:r,fromWordsUnsafe:a,toWords:i}}const Qa=lo("bech32"),Ja=lo("bech32m"),ho={encode:e=>new TextDecoder().decode(e),decode:e=>new TextEncoder().encode(e)},xo=ot(pt(4),ut("0123456789abcdef"),lt(""),no(e=>{if(typeof e!="string"||e.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof e} with length ${e.length}`);return e.toLowerCase()})),ar={utf8:ho,hex:xo,base16:oo,base32:ao,base64:co,base64url:fo,base58:Sn,base58xmr:uo},po="Invalid encoding type. Available types: utf8, hex, base16, base32, base64, base64url, base58, base58xmr",yo=(e,t)=>{if(typeof e!="string"||!ar.hasOwnProperty(e))throw new TypeError(po);if(!(t instanceof Uint8Array))throw new TypeError("bytesToString() expects Uint8Array");return ar[e].encode(t)},Za=yo,bo=(e,t)=>{if(!ar.hasOwnProperty(e))throw new TypeError(po);if(typeof t!="string")throw new TypeError("stringToBytes() expects string");return ar[e].decode(t)},ec=bo,tc=Object.freeze(Object.defineProperty({__proto__:null,assertNumber:qa,base16:oo,base32:ao,base32crockford:Ka,base32hex:Ga,base58:Sn,base58check:Xa,base58flickr:Ya,base58xmr:uo,base58xrp:Va,base64:co,base64url:fo,base64urlnopad:Wa,bech32:Qa,bech32m:Ja,bytes:ec,bytesToString:yo,hex:xo,str:Za,stringToBytes:bo,utf8:ho,utils:ja},Symbol.toStringTag,{value:"Module"}));var _o={exports:{}};(function(e){(function(t){var n=function(o){var u,f=new Float64Array(16);if(o)for(u=0;u>24&255,o[u+1]=f>>16&255,o[u+2]=f>>8&255,o[u+3]=f&255,o[u+4]=s>>24&255,o[u+5]=s>>16&255,o[u+6]=s>>8&255,o[u+7]=s&255}function z(o,u,f,s,l){var _,g=0;for(_=0;_>>8)-1}function L(o,u,f,s){return z(o,u,f,s,16)}function Q(o,u,f,s){return z(o,u,f,s,32)}function he(o,u,f,s){for(var l=s[0]&255|(s[1]&255)<<8|(s[2]&255)<<16|(s[3]&255)<<24,_=f[0]&255|(f[1]&255)<<8|(f[2]&255)<<16|(f[3]&255)<<24,g=f[4]&255|(f[5]&255)<<8|(f[6]&255)<<16|(f[7]&255)<<24,E=f[8]&255|(f[9]&255)<<8|(f[10]&255)<<16|(f[11]&255)<<24,k=f[12]&255|(f[13]&255)<<8|(f[14]&255)<<16|(f[15]&255)<<24,K=s[4]&255|(s[5]&255)<<8|(s[6]&255)<<16|(s[7]&255)<<24,N=u[0]&255|(u[1]&255)<<8|(u[2]&255)<<16|(u[3]&255)<<24,we=u[4]&255|(u[5]&255)<<8|(u[6]&255)<<16|(u[7]&255)<<24,D=u[8]&255|(u[9]&255)<<8|(u[10]&255)<<16|(u[11]&255)<<24,X=u[12]&255|(u[13]&255)<<8|(u[14]&255)<<16|(u[15]&255)<<24,J=s[8]&255|(s[9]&255)<<8|(s[10]&255)<<16|(s[11]&255)<<24,se=f[16]&255|(f[17]&255)<<8|(f[18]&255)<<16|(f[19]&255)<<24,re=f[20]&255|(f[21]&255)<<8|(f[22]&255)<<16|(f[23]&255)<<24,Z=f[24]&255|(f[25]&255)<<8|(f[26]&255)<<16|(f[27]&255)<<24,te=f[28]&255|(f[29]&255)<<8|(f[30]&255)<<16|(f[31]&255)<<24,ee=s[12]&255|(s[13]&255)<<8|(s[14]&255)<<16|(s[15]&255)<<24,F=l,Y=_,P=g,q=E,G=k,H=K,v=N,m=we,B=D,A=X,T=J,C=se,V=re,ie=Z,ce=te,oe=ee,x,de=0;de<20;de+=2)x=F+V|0,G^=x<<7|x>>>32-7,x=G+F|0,B^=x<<9|x>>>32-9,x=B+G|0,V^=x<<13|x>>>32-13,x=V+B|0,F^=x<<18|x>>>32-18,x=H+Y|0,A^=x<<7|x>>>32-7,x=A+H|0,ie^=x<<9|x>>>32-9,x=ie+A|0,Y^=x<<13|x>>>32-13,x=Y+ie|0,H^=x<<18|x>>>32-18,x=T+v|0,ce^=x<<7|x>>>32-7,x=ce+T|0,P^=x<<9|x>>>32-9,x=P+ce|0,v^=x<<13|x>>>32-13,x=v+P|0,T^=x<<18|x>>>32-18,x=oe+C|0,q^=x<<7|x>>>32-7,x=q+oe|0,m^=x<<9|x>>>32-9,x=m+q|0,C^=x<<13|x>>>32-13,x=C+m|0,oe^=x<<18|x>>>32-18,x=F+q|0,Y^=x<<7|x>>>32-7,x=Y+F|0,P^=x<<9|x>>>32-9,x=P+Y|0,q^=x<<13|x>>>32-13,x=q+P|0,F^=x<<18|x>>>32-18,x=H+G|0,v^=x<<7|x>>>32-7,x=v+H|0,m^=x<<9|x>>>32-9,x=m+v|0,G^=x<<13|x>>>32-13,x=G+m|0,H^=x<<18|x>>>32-18,x=T+A|0,C^=x<<7|x>>>32-7,x=C+T|0,B^=x<<9|x>>>32-9,x=B+C|0,A^=x<<13|x>>>32-13,x=A+B|0,T^=x<<18|x>>>32-18,x=oe+ce|0,V^=x<<7|x>>>32-7,x=V+oe|0,ie^=x<<9|x>>>32-9,x=ie+V|0,ce^=x<<13|x>>>32-13,x=ce+ie|0,oe^=x<<18|x>>>32-18;F=F+l|0,Y=Y+_|0,P=P+g|0,q=q+E|0,G=G+k|0,H=H+K|0,v=v+N|0,m=m+we|0,B=B+D|0,A=A+X|0,T=T+J|0,C=C+se|0,V=V+re|0,ie=ie+Z|0,ce=ce+te|0,oe=oe+ee|0,o[0]=F>>>0&255,o[1]=F>>>8&255,o[2]=F>>>16&255,o[3]=F>>>24&255,o[4]=Y>>>0&255,o[5]=Y>>>8&255,o[6]=Y>>>16&255,o[7]=Y>>>24&255,o[8]=P>>>0&255,o[9]=P>>>8&255,o[10]=P>>>16&255,o[11]=P>>>24&255,o[12]=q>>>0&255,o[13]=q>>>8&255,o[14]=q>>>16&255,o[15]=q>>>24&255,o[16]=G>>>0&255,o[17]=G>>>8&255,o[18]=G>>>16&255,o[19]=G>>>24&255,o[20]=H>>>0&255,o[21]=H>>>8&255,o[22]=H>>>16&255,o[23]=H>>>24&255,o[24]=v>>>0&255,o[25]=v>>>8&255,o[26]=v>>>16&255,o[27]=v>>>24&255,o[28]=m>>>0&255,o[29]=m>>>8&255,o[30]=m>>>16&255,o[31]=m>>>24&255,o[32]=B>>>0&255,o[33]=B>>>8&255,o[34]=B>>>16&255,o[35]=B>>>24&255,o[36]=A>>>0&255,o[37]=A>>>8&255,o[38]=A>>>16&255,o[39]=A>>>24&255,o[40]=T>>>0&255,o[41]=T>>>8&255,o[42]=T>>>16&255,o[43]=T>>>24&255,o[44]=C>>>0&255,o[45]=C>>>8&255,o[46]=C>>>16&255,o[47]=C>>>24&255,o[48]=V>>>0&255,o[49]=V>>>8&255,o[50]=V>>>16&255,o[51]=V>>>24&255,o[52]=ie>>>0&255,o[53]=ie>>>8&255,o[54]=ie>>>16&255,o[55]=ie>>>24&255,o[56]=ce>>>0&255,o[57]=ce>>>8&255,o[58]=ce>>>16&255,o[59]=ce>>>24&255,o[60]=oe>>>0&255,o[61]=oe>>>8&255,o[62]=oe>>>16&255,o[63]=oe>>>24&255}function $(o,u,f,s){for(var l=s[0]&255|(s[1]&255)<<8|(s[2]&255)<<16|(s[3]&255)<<24,_=f[0]&255|(f[1]&255)<<8|(f[2]&255)<<16|(f[3]&255)<<24,g=f[4]&255|(f[5]&255)<<8|(f[6]&255)<<16|(f[7]&255)<<24,E=f[8]&255|(f[9]&255)<<8|(f[10]&255)<<16|(f[11]&255)<<24,k=f[12]&255|(f[13]&255)<<8|(f[14]&255)<<16|(f[15]&255)<<24,K=s[4]&255|(s[5]&255)<<8|(s[6]&255)<<16|(s[7]&255)<<24,N=u[0]&255|(u[1]&255)<<8|(u[2]&255)<<16|(u[3]&255)<<24,we=u[4]&255|(u[5]&255)<<8|(u[6]&255)<<16|(u[7]&255)<<24,D=u[8]&255|(u[9]&255)<<8|(u[10]&255)<<16|(u[11]&255)<<24,X=u[12]&255|(u[13]&255)<<8|(u[14]&255)<<16|(u[15]&255)<<24,J=s[8]&255|(s[9]&255)<<8|(s[10]&255)<<16|(s[11]&255)<<24,se=f[16]&255|(f[17]&255)<<8|(f[18]&255)<<16|(f[19]&255)<<24,re=f[20]&255|(f[21]&255)<<8|(f[22]&255)<<16|(f[23]&255)<<24,Z=f[24]&255|(f[25]&255)<<8|(f[26]&255)<<16|(f[27]&255)<<24,te=f[28]&255|(f[29]&255)<<8|(f[30]&255)<<16|(f[31]&255)<<24,ee=s[12]&255|(s[13]&255)<<8|(s[14]&255)<<16|(s[15]&255)<<24,F=l,Y=_,P=g,q=E,G=k,H=K,v=N,m=we,B=D,A=X,T=J,C=se,V=re,ie=Z,ce=te,oe=ee,x,de=0;de<20;de+=2)x=F+V|0,G^=x<<7|x>>>32-7,x=G+F|0,B^=x<<9|x>>>32-9,x=B+G|0,V^=x<<13|x>>>32-13,x=V+B|0,F^=x<<18|x>>>32-18,x=H+Y|0,A^=x<<7|x>>>32-7,x=A+H|0,ie^=x<<9|x>>>32-9,x=ie+A|0,Y^=x<<13|x>>>32-13,x=Y+ie|0,H^=x<<18|x>>>32-18,x=T+v|0,ce^=x<<7|x>>>32-7,x=ce+T|0,P^=x<<9|x>>>32-9,x=P+ce|0,v^=x<<13|x>>>32-13,x=v+P|0,T^=x<<18|x>>>32-18,x=oe+C|0,q^=x<<7|x>>>32-7,x=q+oe|0,m^=x<<9|x>>>32-9,x=m+q|0,C^=x<<13|x>>>32-13,x=C+m|0,oe^=x<<18|x>>>32-18,x=F+q|0,Y^=x<<7|x>>>32-7,x=Y+F|0,P^=x<<9|x>>>32-9,x=P+Y|0,q^=x<<13|x>>>32-13,x=q+P|0,F^=x<<18|x>>>32-18,x=H+G|0,v^=x<<7|x>>>32-7,x=v+H|0,m^=x<<9|x>>>32-9,x=m+v|0,G^=x<<13|x>>>32-13,x=G+m|0,H^=x<<18|x>>>32-18,x=T+A|0,C^=x<<7|x>>>32-7,x=C+T|0,B^=x<<9|x>>>32-9,x=B+C|0,A^=x<<13|x>>>32-13,x=A+B|0,T^=x<<18|x>>>32-18,x=oe+ce|0,V^=x<<7|x>>>32-7,x=V+oe|0,ie^=x<<9|x>>>32-9,x=ie+V|0,ce^=x<<13|x>>>32-13,x=ce+ie|0,oe^=x<<18|x>>>32-18;o[0]=F>>>0&255,o[1]=F>>>8&255,o[2]=F>>>16&255,o[3]=F>>>24&255,o[4]=H>>>0&255,o[5]=H>>>8&255,o[6]=H>>>16&255,o[7]=H>>>24&255,o[8]=T>>>0&255,o[9]=T>>>8&255,o[10]=T>>>16&255,o[11]=T>>>24&255,o[12]=oe>>>0&255,o[13]=oe>>>8&255,o[14]=oe>>>16&255,o[15]=oe>>>24&255,o[16]=v>>>0&255,o[17]=v>>>8&255,o[18]=v>>>16&255,o[19]=v>>>24&255,o[20]=m>>>0&255,o[21]=m>>>8&255,o[22]=m>>>16&255,o[23]=m>>>24&255,o[24]=B>>>0&255,o[25]=B>>>8&255,o[26]=B>>>16&255,o[27]=B>>>24&255,o[28]=A>>>0&255,o[29]=A>>>8&255,o[30]=A>>>16&255,o[31]=A>>>24&255}function I(o,u,f,s){he(o,u,f,s)}function S(o,u,f,s){$(o,u,f,s)}var fe=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function ye(o,u,f,s,l,_,g){var E=new Uint8Array(16),k=new Uint8Array(64),K,N;for(N=0;N<16;N++)E[N]=0;for(N=0;N<8;N++)E[N]=_[N];for(;l>=64;){for(I(k,E,g,fe),N=0;N<64;N++)o[u+N]=f[s+N]^k[N];for(K=1,N=8;N<16;N++)K=K+(E[N]&255)|0,E[N]=K&255,K>>>=8;l-=64,u+=64,s+=64}if(l>0)for(I(k,E,g,fe),N=0;N=64;){for(I(g,_,l,fe),k=0;k<64;k++)o[u+k]=g[k];for(E=1,k=8;k<16;k++)E=E+(_[k]&255)|0,_[k]=E&255,E>>>=8;f-=64,u+=64}if(f>0)for(I(g,_,l,fe),k=0;k>>13|f<<3)&8191,s=o[4]&255|(o[5]&255)<<8,this.r[2]=(f>>>10|s<<6)&7939,l=o[6]&255|(o[7]&255)<<8,this.r[3]=(s>>>7|l<<9)&8191,_=o[8]&255|(o[9]&255)<<8,this.r[4]=(l>>>4|_<<12)&255,this.r[5]=_>>>1&8190,g=o[10]&255|(o[11]&255)<<8,this.r[6]=(_>>>14|g<<2)&8191,E=o[12]&255|(o[13]&255)<<8,this.r[7]=(g>>>11|E<<5)&8065,k=o[14]&255|(o[15]&255)<<8,this.r[8]=(E>>>8|k<<8)&8191,this.r[9]=k>>>5&127,this.pad[0]=o[16]&255|(o[17]&255)<<8,this.pad[1]=o[18]&255|(o[19]&255)<<8,this.pad[2]=o[20]&255|(o[21]&255)<<8,this.pad[3]=o[22]&255|(o[23]&255)<<8,this.pad[4]=o[24]&255|(o[25]&255)<<8,this.pad[5]=o[26]&255|(o[27]&255)<<8,this.pad[6]=o[28]&255|(o[29]&255)<<8,this.pad[7]=o[30]&255|(o[31]&255)<<8};W.prototype.blocks=function(o,u,f){for(var s=this.fin?0:2048,l,_,g,E,k,K,N,we,D,X,J,se,re,Z,te,ee,F,Y,P,q=this.h[0],G=this.h[1],H=this.h[2],v=this.h[3],m=this.h[4],B=this.h[5],A=this.h[6],T=this.h[7],C=this.h[8],V=this.h[9],ie=this.r[0],ce=this.r[1],oe=this.r[2],x=this.r[3],de=this.r[4],ge=this.r[5],ve=this.r[6],ue=this.r[7],be=this.r[8],_e=this.r[9];f>=16;)l=o[u+0]&255|(o[u+1]&255)<<8,q+=l&8191,_=o[u+2]&255|(o[u+3]&255)<<8,G+=(l>>>13|_<<3)&8191,g=o[u+4]&255|(o[u+5]&255)<<8,H+=(_>>>10|g<<6)&8191,E=o[u+6]&255|(o[u+7]&255)<<8,v+=(g>>>7|E<<9)&8191,k=o[u+8]&255|(o[u+9]&255)<<8,m+=(E>>>4|k<<12)&8191,B+=k>>>1&8191,K=o[u+10]&255|(o[u+11]&255)<<8,A+=(k>>>14|K<<2)&8191,N=o[u+12]&255|(o[u+13]&255)<<8,T+=(K>>>11|N<<5)&8191,we=o[u+14]&255|(o[u+15]&255)<<8,C+=(N>>>8|we<<8)&8191,V+=we>>>5|s,D=0,X=D,X+=q*ie,X+=G*(5*_e),X+=H*(5*be),X+=v*(5*ue),X+=m*(5*ve),D=X>>>13,X&=8191,X+=B*(5*ge),X+=A*(5*de),X+=T*(5*x),X+=C*(5*oe),X+=V*(5*ce),D+=X>>>13,X&=8191,J=D,J+=q*ce,J+=G*ie,J+=H*(5*_e),J+=v*(5*be),J+=m*(5*ue),D=J>>>13,J&=8191,J+=B*(5*ve),J+=A*(5*ge),J+=T*(5*de),J+=C*(5*x),J+=V*(5*oe),D+=J>>>13,J&=8191,se=D,se+=q*oe,se+=G*ce,se+=H*ie,se+=v*(5*_e),se+=m*(5*be),D=se>>>13,se&=8191,se+=B*(5*ue),se+=A*(5*ve),se+=T*(5*ge),se+=C*(5*de),se+=V*(5*x),D+=se>>>13,se&=8191,re=D,re+=q*x,re+=G*oe,re+=H*ce,re+=v*ie,re+=m*(5*_e),D=re>>>13,re&=8191,re+=B*(5*be),re+=A*(5*ue),re+=T*(5*ve),re+=C*(5*ge),re+=V*(5*de),D+=re>>>13,re&=8191,Z=D,Z+=q*de,Z+=G*x,Z+=H*oe,Z+=v*ce,Z+=m*ie,D=Z>>>13,Z&=8191,Z+=B*(5*_e),Z+=A*(5*be),Z+=T*(5*ue),Z+=C*(5*ve),Z+=V*(5*ge),D+=Z>>>13,Z&=8191,te=D,te+=q*ge,te+=G*de,te+=H*x,te+=v*oe,te+=m*ce,D=te>>>13,te&=8191,te+=B*ie,te+=A*(5*_e),te+=T*(5*be),te+=C*(5*ue),te+=V*(5*ve),D+=te>>>13,te&=8191,ee=D,ee+=q*ve,ee+=G*ge,ee+=H*de,ee+=v*x,ee+=m*oe,D=ee>>>13,ee&=8191,ee+=B*ce,ee+=A*ie,ee+=T*(5*_e),ee+=C*(5*be),ee+=V*(5*ue),D+=ee>>>13,ee&=8191,F=D,F+=q*ue,F+=G*ve,F+=H*ge,F+=v*de,F+=m*x,D=F>>>13,F&=8191,F+=B*oe,F+=A*ce,F+=T*ie,F+=C*(5*_e),F+=V*(5*be),D+=F>>>13,F&=8191,Y=D,Y+=q*be,Y+=G*ue,Y+=H*ve,Y+=v*ge,Y+=m*de,D=Y>>>13,Y&=8191,Y+=B*x,Y+=A*oe,Y+=T*ce,Y+=C*ie,Y+=V*(5*_e),D+=Y>>>13,Y&=8191,P=D,P+=q*_e,P+=G*be,P+=H*ue,P+=v*ve,P+=m*ge,D=P>>>13,P&=8191,P+=B*de,P+=A*x,P+=T*oe,P+=C*ce,P+=V*ie,D+=P>>>13,P&=8191,D=(D<<2)+D|0,D=D+X|0,X=D&8191,D=D>>>13,J+=D,q=X,G=J,H=se,v=re,m=Z,B=te,A=ee,T=F,C=Y,V=P,u+=16,f-=16;this.h[0]=q,this.h[1]=G,this.h[2]=H,this.h[3]=v,this.h[4]=m,this.h[5]=B,this.h[6]=A,this.h[7]=T,this.h[8]=C,this.h[9]=V},W.prototype.finish=function(o,u){var f=new Uint16Array(10),s,l,_,g;if(this.leftover){for(g=this.leftover,this.buffer[g++]=1;g<16;g++)this.buffer[g]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(s=this.h[1]>>>13,this.h[1]&=8191,g=2;g<10;g++)this.h[g]+=s,s=this.h[g]>>>13,this.h[g]&=8191;for(this.h[0]+=s*5,s=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=s,s=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=s,f[0]=this.h[0]+5,s=f[0]>>>13,f[0]&=8191,g=1;g<10;g++)f[g]=this.h[g]+s,s=f[g]>>>13,f[g]&=8191;for(f[9]-=8192,l=(s^1)-1,g=0;g<10;g++)f[g]&=l;for(l=~l,g=0;g<10;g++)this.h[g]=this.h[g]&l|f[g];for(this.h[0]=(this.h[0]|this.h[1]<<13)&65535,this.h[1]=(this.h[1]>>>3|this.h[2]<<10)&65535,this.h[2]=(this.h[2]>>>6|this.h[3]<<7)&65535,this.h[3]=(this.h[3]>>>9|this.h[4]<<4)&65535,this.h[4]=(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14)&65535,this.h[5]=(this.h[6]>>>2|this.h[7]<<11)&65535,this.h[6]=(this.h[7]>>>5|this.h[8]<<8)&65535,this.h[7]=(this.h[8]>>>8|this.h[9]<<5)&65535,_=this.h[0]+this.pad[0],this.h[0]=_&65535,g=1;g<8;g++)_=(this.h[g]+this.pad[g]|0)+(_>>>16)|0,this.h[g]=_&65535;o[u+0]=this.h[0]>>>0&255,o[u+1]=this.h[0]>>>8&255,o[u+2]=this.h[1]>>>0&255,o[u+3]=this.h[1]>>>8&255,o[u+4]=this.h[2]>>>0&255,o[u+5]=this.h[2]>>>8&255,o[u+6]=this.h[3]>>>0&255,o[u+7]=this.h[3]>>>8&255,o[u+8]=this.h[4]>>>0&255,o[u+9]=this.h[4]>>>8&255,o[u+10]=this.h[5]>>>0&255,o[u+11]=this.h[5]>>>8&255,o[u+12]=this.h[6]>>>0&255,o[u+13]=this.h[6]>>>8&255,o[u+14]=this.h[7]>>>0&255,o[u+15]=this.h[7]>>>8&255},W.prototype.update=function(o,u,f){var s,l;if(this.leftover){for(l=16-this.leftover,l>f&&(l=f),s=0;s=16&&(l=f-f%16,this.blocks(o,u,l),u+=l,f-=l),f){for(s=0;s>16&1),_[f-1]&=65535;_[15]=g[15]-32767-(_[14]>>16&1),l=_[15]>>16&1,_[14]&=65535,Wt(g,_,1-l)}for(f=0;f<16;f++)o[2*f]=g[f]&255,o[2*f+1]=g[f]>>8}function ri(o,u){var f=new Uint8Array(32),s=new Uint8Array(32);return Yt(f,o),Yt(s,u),Q(f,0,s,0)}function si(o){var u=new Uint8Array(32);return Yt(u,o),u[0]&1}function jr(o,u){var f;for(f=0;f<16;f++)o[f]=u[2*f]+(u[2*f+1]<<8);o[15]&=32767}function at(o,u,f){for(var s=0;s<16;s++)o[s]=u[s]+f[s]}function ct(o,u,f){for(var s=0;s<16;s++)o[s]=u[s]-f[s]}function pe(o,u,f){var s,l,_=0,g=0,E=0,k=0,K=0,N=0,we=0,D=0,X=0,J=0,se=0,re=0,Z=0,te=0,ee=0,F=0,Y=0,P=0,q=0,G=0,H=0,v=0,m=0,B=0,A=0,T=0,C=0,V=0,ie=0,ce=0,oe=0,x=f[0],de=f[1],ge=f[2],ve=f[3],ue=f[4],be=f[5],_e=f[6],Oe=f[7],Ue=f[8],Ce=f[9],$e=f[10],ke=f[11],He=f[12],qe=f[13],je=f[14],Ge=f[15];s=u[0],_+=s*x,g+=s*de,E+=s*ge,k+=s*ve,K+=s*ue,N+=s*be,we+=s*_e,D+=s*Oe,X+=s*Ue,J+=s*Ce,se+=s*$e,re+=s*ke,Z+=s*He,te+=s*qe,ee+=s*je,F+=s*Ge,s=u[1],g+=s*x,E+=s*de,k+=s*ge,K+=s*ve,N+=s*ue,we+=s*be,D+=s*_e,X+=s*Oe,J+=s*Ue,se+=s*Ce,re+=s*$e,Z+=s*ke,te+=s*He,ee+=s*qe,F+=s*je,Y+=s*Ge,s=u[2],E+=s*x,k+=s*de,K+=s*ge,N+=s*ve,we+=s*ue,D+=s*be,X+=s*_e,J+=s*Oe,se+=s*Ue,re+=s*Ce,Z+=s*$e,te+=s*ke,ee+=s*He,F+=s*qe,Y+=s*je,P+=s*Ge,s=u[3],k+=s*x,K+=s*de,N+=s*ge,we+=s*ve,D+=s*ue,X+=s*be,J+=s*_e,se+=s*Oe,re+=s*Ue,Z+=s*Ce,te+=s*$e,ee+=s*ke,F+=s*He,Y+=s*qe,P+=s*je,q+=s*Ge,s=u[4],K+=s*x,N+=s*de,we+=s*ge,D+=s*ve,X+=s*ue,J+=s*be,se+=s*_e,re+=s*Oe,Z+=s*Ue,te+=s*Ce,ee+=s*$e,F+=s*ke,Y+=s*He,P+=s*qe,q+=s*je,G+=s*Ge,s=u[5],N+=s*x,we+=s*de,D+=s*ge,X+=s*ve,J+=s*ue,se+=s*be,re+=s*_e,Z+=s*Oe,te+=s*Ue,ee+=s*Ce,F+=s*$e,Y+=s*ke,P+=s*He,q+=s*qe,G+=s*je,H+=s*Ge,s=u[6],we+=s*x,D+=s*de,X+=s*ge,J+=s*ve,se+=s*ue,re+=s*be,Z+=s*_e,te+=s*Oe,ee+=s*Ue,F+=s*Ce,Y+=s*$e,P+=s*ke,q+=s*He,G+=s*qe,H+=s*je,v+=s*Ge,s=u[7],D+=s*x,X+=s*de,J+=s*ge,se+=s*ve,re+=s*ue,Z+=s*be,te+=s*_e,ee+=s*Oe,F+=s*Ue,Y+=s*Ce,P+=s*$e,q+=s*ke,G+=s*He,H+=s*qe,v+=s*je,m+=s*Ge,s=u[8],X+=s*x,J+=s*de,se+=s*ge,re+=s*ve,Z+=s*ue,te+=s*be,ee+=s*_e,F+=s*Oe,Y+=s*Ue,P+=s*Ce,q+=s*$e,G+=s*ke,H+=s*He,v+=s*qe,m+=s*je,B+=s*Ge,s=u[9],J+=s*x,se+=s*de,re+=s*ge,Z+=s*ve,te+=s*ue,ee+=s*be,F+=s*_e,Y+=s*Oe,P+=s*Ue,q+=s*Ce,G+=s*$e,H+=s*ke,v+=s*He,m+=s*qe,B+=s*je,A+=s*Ge,s=u[10],se+=s*x,re+=s*de,Z+=s*ge,te+=s*ve,ee+=s*ue,F+=s*be,Y+=s*_e,P+=s*Oe,q+=s*Ue,G+=s*Ce,H+=s*$e,v+=s*ke,m+=s*He,B+=s*qe,A+=s*je,T+=s*Ge,s=u[11],re+=s*x,Z+=s*de,te+=s*ge,ee+=s*ve,F+=s*ue,Y+=s*be,P+=s*_e,q+=s*Oe,G+=s*Ue,H+=s*Ce,v+=s*$e,m+=s*ke,B+=s*He,A+=s*qe,T+=s*je,C+=s*Ge,s=u[12],Z+=s*x,te+=s*de,ee+=s*ge,F+=s*ve,Y+=s*ue,P+=s*be,q+=s*_e,G+=s*Oe,H+=s*Ue,v+=s*Ce,m+=s*$e,B+=s*ke,A+=s*He,T+=s*qe,C+=s*je,V+=s*Ge,s=u[13],te+=s*x,ee+=s*de,F+=s*ge,Y+=s*ve,P+=s*ue,q+=s*be,G+=s*_e,H+=s*Oe,v+=s*Ue,m+=s*Ce,B+=s*$e,A+=s*ke,T+=s*He,C+=s*qe,V+=s*je,ie+=s*Ge,s=u[14],ee+=s*x,F+=s*de,Y+=s*ge,P+=s*ve,q+=s*ue,G+=s*be,H+=s*_e,v+=s*Oe,m+=s*Ue,B+=s*Ce,A+=s*$e,T+=s*ke,C+=s*He,V+=s*qe,ie+=s*je,ce+=s*Ge,s=u[15],F+=s*x,Y+=s*de,P+=s*ge,q+=s*ve,G+=s*ue,H+=s*be,v+=s*_e,m+=s*Oe,B+=s*Ue,A+=s*Ce,T+=s*$e,C+=s*ke,V+=s*He,ie+=s*qe,ce+=s*je,oe+=s*Ge,_+=38*Y,g+=38*P,E+=38*q,k+=38*G,K+=38*H,N+=38*v,we+=38*m,D+=38*B,X+=38*A,J+=38*T,se+=38*C,re+=38*V,Z+=38*ie,te+=38*ce,ee+=38*oe,l=1,s=_+l+65535,l=Math.floor(s/65536),_=s-l*65536,s=g+l+65535,l=Math.floor(s/65536),g=s-l*65536,s=E+l+65535,l=Math.floor(s/65536),E=s-l*65536,s=k+l+65535,l=Math.floor(s/65536),k=s-l*65536,s=K+l+65535,l=Math.floor(s/65536),K=s-l*65536,s=N+l+65535,l=Math.floor(s/65536),N=s-l*65536,s=we+l+65535,l=Math.floor(s/65536),we=s-l*65536,s=D+l+65535,l=Math.floor(s/65536),D=s-l*65536,s=X+l+65535,l=Math.floor(s/65536),X=s-l*65536,s=J+l+65535,l=Math.floor(s/65536),J=s-l*65536,s=se+l+65535,l=Math.floor(s/65536),se=s-l*65536,s=re+l+65535,l=Math.floor(s/65536),re=s-l*65536,s=Z+l+65535,l=Math.floor(s/65536),Z=s-l*65536,s=te+l+65535,l=Math.floor(s/65536),te=s-l*65536,s=ee+l+65535,l=Math.floor(s/65536),ee=s-l*65536,s=F+l+65535,l=Math.floor(s/65536),F=s-l*65536,_+=l-1+37*(l-1),l=1,s=_+l+65535,l=Math.floor(s/65536),_=s-l*65536,s=g+l+65535,l=Math.floor(s/65536),g=s-l*65536,s=E+l+65535,l=Math.floor(s/65536),E=s-l*65536,s=k+l+65535,l=Math.floor(s/65536),k=s-l*65536,s=K+l+65535,l=Math.floor(s/65536),K=s-l*65536,s=N+l+65535,l=Math.floor(s/65536),N=s-l*65536,s=we+l+65535,l=Math.floor(s/65536),we=s-l*65536,s=D+l+65535,l=Math.floor(s/65536),D=s-l*65536,s=X+l+65535,l=Math.floor(s/65536),X=s-l*65536,s=J+l+65535,l=Math.floor(s/65536),J=s-l*65536,s=se+l+65535,l=Math.floor(s/65536),se=s-l*65536,s=re+l+65535,l=Math.floor(s/65536),re=s-l*65536,s=Z+l+65535,l=Math.floor(s/65536),Z=s-l*65536,s=te+l+65535,l=Math.floor(s/65536),te=s-l*65536,s=ee+l+65535,l=Math.floor(s/65536),ee=s-l*65536,s=F+l+65535,l=Math.floor(s/65536),F=s-l*65536,_+=l-1+37*(l-1),o[0]=_,o[1]=g,o[2]=E,o[3]=k,o[4]=K,o[5]=N,o[6]=we,o[7]=D,o[8]=X,o[9]=J,o[10]=se,o[11]=re,o[12]=Z,o[13]=te,o[14]=ee,o[15]=F}function tt(o,u){pe(o,u,u)}function ii(o,u){var f=n(),s;for(s=0;s<16;s++)f[s]=u[s];for(s=253;s>=0;s--)tt(f,f),s!==2&&s!==4&&pe(f,f,u);for(s=0;s<16;s++)o[s]=f[s]}function oi(o,u){var f=n(),s;for(s=0;s<16;s++)f[s]=u[s];for(s=250;s>=0;s--)tt(f,f),s!==1&&pe(f,f,u);for(s=0;s<16;s++)o[s]=f[s]}function Mn(o,u,f){var s=new Uint8Array(32),l=new Float64Array(80),_,g,E=n(),k=n(),K=n(),N=n(),we=n(),D=n();for(g=0;g<31;g++)s[g]=u[g];for(s[31]=u[31]&127|64,s[0]&=248,jr(l,f),g=0;g<16;g++)k[g]=l[g],N[g]=E[g]=K[g]=0;for(E[0]=N[0]=1,g=254;g>=0;--g)_=s[g>>>3]>>>(g&7)&1,Wt(E,k,_),Wt(K,N,_),at(we,E,K),ct(E,E,K),at(K,k,N),ct(k,k,N),tt(N,we),tt(D,E),pe(E,K,E),pe(K,k,we),at(we,E,K),ct(E,E,K),tt(k,E),ct(K,N,D),pe(E,K,h),at(E,E,N),pe(K,K,E),pe(E,N,D),pe(N,k,l),tt(k,we),Wt(E,k,_),Wt(K,N,_);for(g=0;g<16;g++)l[g+16]=E[g],l[g+32]=K[g],l[g+48]=k[g],l[g+64]=N[g];var X=l.subarray(32),J=l.subarray(16);return ii(X,X),pe(J,J,X),Yt(o,J),0}function Fn(o,u){return Mn(o,u,a)}function ai(o,u){return r(u,32),Fn(o,u)}function qn(o,u,f){var s=new Uint8Array(32);return Mn(s,f,u),S(o,i,s,fe)}var ci=Ee,La=Ke;function Oa(o,u,f,s,l,_){var g=new Uint8Array(32);return qn(g,l,_),ci(o,u,f,s,g)}function za(o,u,f,s,l,_){var g=new Uint8Array(32);return qn(g,l,_),La(o,u,f,s,g)}var fi=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function ui(o,u,f,s){for(var l=new Int32Array(16),_=new Int32Array(16),g,E,k,K,N,we,D,X,J,se,re,Z,te,ee,F,Y,P,q,G,H,v,m,B,A,T,C,V=o[0],ie=o[1],ce=o[2],oe=o[3],x=o[4],de=o[5],ge=o[6],ve=o[7],ue=u[0],be=u[1],_e=u[2],Oe=u[3],Ue=u[4],Ce=u[5],$e=u[6],ke=u[7],He=0;s>=128;){for(G=0;G<16;G++)H=8*G+He,l[G]=f[H+0]<<24|f[H+1]<<16|f[H+2]<<8|f[H+3],_[G]=f[H+4]<<24|f[H+5]<<16|f[H+6]<<8|f[H+7];for(G=0;G<80;G++)if(g=V,E=ie,k=ce,K=oe,N=x,we=de,D=ge,X=ve,J=ue,se=be,re=_e,Z=Oe,te=Ue,ee=Ce,F=$e,Y=ke,v=ve,m=ke,B=m&65535,A=m>>>16,T=v&65535,C=v>>>16,v=(x>>>14|Ue<<32-14)^(x>>>18|Ue<<32-18)^(Ue>>>41-32|x<<32-(41-32)),m=(Ue>>>14|x<<32-14)^(Ue>>>18|x<<32-18)^(x>>>41-32|Ue<<32-(41-32)),B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,v=x&de^~x&ge,m=Ue&Ce^~Ue&$e,B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,v=fi[G*2],m=fi[G*2+1],B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,v=l[G%16],m=_[G%16],B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,A+=B>>>16,T+=A>>>16,C+=T>>>16,P=T&65535|C<<16,q=B&65535|A<<16,v=P,m=q,B=m&65535,A=m>>>16,T=v&65535,C=v>>>16,v=(V>>>28|ue<<32-28)^(ue>>>34-32|V<<32-(34-32))^(ue>>>39-32|V<<32-(39-32)),m=(ue>>>28|V<<32-28)^(V>>>34-32|ue<<32-(34-32))^(V>>>39-32|ue<<32-(39-32)),B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,v=V&ie^V&ce^ie&ce,m=ue&be^ue&_e^be&_e,B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,A+=B>>>16,T+=A>>>16,C+=T>>>16,X=T&65535|C<<16,Y=B&65535|A<<16,v=K,m=Z,B=m&65535,A=m>>>16,T=v&65535,C=v>>>16,v=P,m=q,B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,A+=B>>>16,T+=A>>>16,C+=T>>>16,K=T&65535|C<<16,Z=B&65535|A<<16,ie=g,ce=E,oe=k,x=K,de=N,ge=we,ve=D,V=X,be=J,_e=se,Oe=re,Ue=Z,Ce=te,$e=ee,ke=F,ue=Y,G%16===15)for(H=0;H<16;H++)v=l[H],m=_[H],B=m&65535,A=m>>>16,T=v&65535,C=v>>>16,v=l[(H+9)%16],m=_[(H+9)%16],B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,P=l[(H+1)%16],q=_[(H+1)%16],v=(P>>>1|q<<32-1)^(P>>>8|q<<32-8)^P>>>7,m=(q>>>1|P<<32-1)^(q>>>8|P<<32-8)^(q>>>7|P<<32-7),B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,P=l[(H+14)%16],q=_[(H+14)%16],v=(P>>>19|q<<32-19)^(q>>>61-32|P<<32-(61-32))^P>>>6,m=(q>>>19|P<<32-19)^(P>>>61-32|q<<32-(61-32))^(q>>>6|P<<32-6),B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,A+=B>>>16,T+=A>>>16,C+=T>>>16,l[H]=T&65535|C<<16,_[H]=B&65535|A<<16;v=V,m=ue,B=m&65535,A=m>>>16,T=v&65535,C=v>>>16,v=o[0],m=u[0],B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,A+=B>>>16,T+=A>>>16,C+=T>>>16,o[0]=V=T&65535|C<<16,u[0]=ue=B&65535|A<<16,v=ie,m=be,B=m&65535,A=m>>>16,T=v&65535,C=v>>>16,v=o[1],m=u[1],B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,A+=B>>>16,T+=A>>>16,C+=T>>>16,o[1]=ie=T&65535|C<<16,u[1]=be=B&65535|A<<16,v=ce,m=_e,B=m&65535,A=m>>>16,T=v&65535,C=v>>>16,v=o[2],m=u[2],B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,A+=B>>>16,T+=A>>>16,C+=T>>>16,o[2]=ce=T&65535|C<<16,u[2]=_e=B&65535|A<<16,v=oe,m=Oe,B=m&65535,A=m>>>16,T=v&65535,C=v>>>16,v=o[3],m=u[3],B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,A+=B>>>16,T+=A>>>16,C+=T>>>16,o[3]=oe=T&65535|C<<16,u[3]=Oe=B&65535|A<<16,v=x,m=Ue,B=m&65535,A=m>>>16,T=v&65535,C=v>>>16,v=o[4],m=u[4],B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,A+=B>>>16,T+=A>>>16,C+=T>>>16,o[4]=x=T&65535|C<<16,u[4]=Ue=B&65535|A<<16,v=de,m=Ce,B=m&65535,A=m>>>16,T=v&65535,C=v>>>16,v=o[5],m=u[5],B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,A+=B>>>16,T+=A>>>16,C+=T>>>16,o[5]=de=T&65535|C<<16,u[5]=Ce=B&65535|A<<16,v=ge,m=$e,B=m&65535,A=m>>>16,T=v&65535,C=v>>>16,v=o[6],m=u[6],B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,A+=B>>>16,T+=A>>>16,C+=T>>>16,o[6]=ge=T&65535|C<<16,u[6]=$e=B&65535|A<<16,v=ve,m=ke,B=m&65535,A=m>>>16,T=v&65535,C=v>>>16,v=o[7],m=u[7],B+=m&65535,A+=m>>>16,T+=v&65535,C+=v>>>16,A+=B>>>16,T+=A>>>16,C+=T>>>16,o[7]=ve=T&65535|C<<16,u[7]=ke=B&65535|A<<16,He+=128,s-=128}return s}function zt(o,u,f){var s=new Int32Array(8),l=new Int32Array(8),_=new Uint8Array(256),g,E=f;for(s[0]=1779033703,s[1]=3144134277,s[2]=1013904242,s[3]=2773480762,s[4]=1359893119,s[5]=2600822924,s[6]=528734635,s[7]=1541459225,l[0]=4089235720,l[1]=2227873595,l[2]=4271175723,l[3]=1595750129,l[4]=2917565137,l[5]=725511199,l[6]=4215389547,l[7]=327033209,ui(s,l,u,f),f%=128,g=0;g=0;--l)s=f[l/8|0]>>(l&7)&1,li(o,u,s),jn(u,o),jn(o,o),li(o,u,s)}function Gn(o,u){var f=[n(),n(),n(),n()];We(f[0],p),We(f[1],w),We(f[2],d),pe(f[3],p,w),Kr(o,f,u)}function Wr(o,u,f){var s=new Uint8Array(64),l=[n(),n(),n(),n()],_;for(f||r(u,32),zt(s,u,32),s[0]&=248,s[31]&=127,s[31]|=64,Gn(l,s),Gr(o,l),_=0;_<32;_++)u[_+32]=o[_];return 0}var Kn=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function Yr(o,u){var f,s,l,_;for(s=63;s>=32;--s){for(f=0,l=s-32,_=s-12;l<_;++l)u[l]+=f-16*u[s]*Kn[l-(s-32)],f=Math.floor((u[l]+128)/256),u[l]-=f*256;u[l]+=f,u[s]=0}for(f=0,l=0;l<32;l++)u[l]+=f-(u[31]>>4)*Kn[l],f=u[l]>>8,u[l]&=255;for(l=0;l<32;l++)u[l]-=f*Kn[l];for(s=0;s<32;s++)u[s+1]+=u[s]>>8,o[s]=u[s]&255}function Vr(o){var u=new Float64Array(64),f;for(f=0;f<64;f++)u[f]=o[f];for(f=0;f<64;f++)o[f]=0;Yr(o,u)}function di(o,u,f,s){var l=new Uint8Array(64),_=new Uint8Array(64),g=new Uint8Array(64),E,k,K=new Float64Array(64),N=[n(),n(),n(),n()];zt(l,s,32),l[0]&=248,l[31]&=127,l[31]|=64;var we=f+64;for(E=0;E>7&&ct(o[0],c,o[0]),pe(o[3],o[0],o[1]),0)}function Xr(o,u,f,s){var l,_=new Uint8Array(32),g=new Uint8Array(64),E=[n(),n(),n(),n()],k=[n(),n(),n(),n()];if(f<64||Ha(k,s))return-1;for(l=0;l=0},t.sign.keyPair=function(){var o=new Uint8Array(Ht),u=new Uint8Array(Xt);return Wr(o,u),{publicKey:o,secretKey:u}},t.sign.keyPair.fromSecretKey=function(o){if(Qe(o),o.length!==Xt)throw new Error("bad secret key size");for(var u=new Uint8Array(Ht),f=0;f0&&!t.includes(e.length))throw new TypeError(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}Re.bytes=Cs;function go(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");cr(e.outputLen),cr(e.blockLen)}Re.hash=go;function vo(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")}Re.exists=vo;function mo(e,t){Cs(e);const n=t.outputLen;if(e.lengthnew Uint8Array(I.buffer,I.byteOffset,I.byteLength);e.u8=n;const r=I=>new Uint32Array(I.buffer,I.byteOffset,Math.floor(I.byteLength/4));e.u32=r;const i=I=>new DataView(I.buffer,I.byteOffset,I.byteLength);e.createView=i;const a=(I,S)=>I<<32-S|I>>>S;if(e.rotr=a,e.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68,!e.isLE)throw new Error("Non little-endian hardware is not supported");const c=Array.from({length:256},(I,S)=>S.toString(16).padStart(2,"0"));function d(I){if(!(I instanceof Uint8Array))throw new Error("Uint8Array expected");let S="";for(let fe=0;fe{};e.nextTick=y;async function b(I,S,fe){let ye=Date.now();for(let ae=0;ae=0&&xeye instanceof Uint8Array))throw new Error("Uint8Array list expected");if(I.length===1)return I[0];const S=I.reduce((ye,ae)=>ye+ae.length,0),fe=new Uint8Array(S);for(let ye=0,ae=0;yeObject.prototype.toString.call(I)==="[object Object]"&&I.constructor===Object;function L(I,S){if(S!==void 0&&(typeof S!="object"||!z(S)))throw new TypeError("Options should be object or undefined");return Object.assign(I,S)}e.checkOpts=L;function Q(I){const S=ye=>I().update(w(ye)).digest(),fe=I();return S.outputLen=fe.outputLen,S.blockLen=fe.blockLen,S.create=()=>I(),S}e.wrapConstructor=Q;function he(I){const S=(ye,ae)=>I(ae).update(w(ye)).digest(),fe=I({});return S.outputLen=fe.outputLen,S.blockLen=fe.blockLen,S.create=ye=>I(ye),S}e.wrapConstructorWithOpts=he;function $(I=32){if(t.crypto.web)return t.crypto.web.getRandomValues(new Uint8Array(I));if(t.crypto.node)return new Uint8Array(t.crypto.node.randomBytes(I).buffer);throw new Error("The environment doesn't have randomBytes function")}e.randomBytes=$})(Dt);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.hmac=void 0;const t=Re,n=Dt;class r extends n.Hash{constructor(c,d){super(),this.finished=!1,this.destroyed=!1,t.default.hash(c);const h=(0,n.toBytes)(d);if(this.iHash=c.create(),typeof this.iHash.update!="function")throw new TypeError("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const y=this.blockLen,b=new Uint8Array(y);b.set(h.length>y?c.create().update(h).digest():h);for(let p=0;pnew r(a,c).update(d).digest();e.hmac=i,e.hmac.create=(a,c)=>new r(a,c)})(Ao);Object.defineProperty(sn,"__esModule",{value:!0});sn.pbkdf2Async=sn.pbkdf2=void 0;const Xn=Re,sc=Ao,tn=Dt;function Eo(e,t,n,r){Xn.default.hash(e);const i=(0,tn.checkOpts)({dkLen:32,asyncTick:10},r),{c:a,dkLen:c,asyncTick:d}=i;if(Xn.default.number(a),Xn.default.number(c),Xn.default.number(d),a<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const h=(0,tn.toBytes)(t),y=(0,tn.toBytes)(n),b=new Uint8Array(c),p=sc.hmac.create(e,h),w=p._cloneInto().update(y);return{c:a,dkLen:c,asyncTick:d,DK:b,PRF:p,PRFSalt:w}}function To(e,t,n,r,i){return e.destroy(),t.destroy(),r&&r.destroy(),i.fill(0),n}function ic(e,t,n,r){const{c:i,dkLen:a,DK:c,PRF:d,PRFSalt:h}=Eo(e,t,n,r);let y;const b=new Uint8Array(4),p=(0,tn.createView)(b),w=new Uint8Array(d.outputLen);for(let U=1,O=0;O{h._cloneInto(b).update(U).digestInto(U);for(let he=0;he>i&a),d=Number(n&a),h=r?4:0,y=r?0:4;e.setUint32(t+h,c,r),e.setUint32(t+y,d,r)}let cc=class extends An.Hash{constructor(t,n,r,i){super(),this.blockLen=t,this.outputLen=n,this.padOffset=r,this.isLE=i,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=(0,An.createView)(this.buffer)}update(t){ts.default.exists(this);const{view:n,buffer:r,blockLen:i}=this;t=(0,An.toBytes)(t);const a=t.length;for(let c=0;ci-c&&(this.process(r,0),c=0);for(let p=c;pb.length)throw new Error("_sha2: outputLen bigger than state");for(let p=0;pe&t^~e&n,lc=(e,t,n)=>e&t^e&n^t&n,dc=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),wt=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),gt=new Uint32Array(64);let Uo=class extends fc.SHA2{constructor(){super(64,32,8,!1),this.A=wt[0]|0,this.B=wt[1]|0,this.C=wt[2]|0,this.D=wt[3]|0,this.E=wt[4]|0,this.F=wt[5]|0,this.G=wt[6]|0,this.H=wt[7]|0}get(){const{A:t,B:n,C:r,D:i,E:a,F:c,G:d,H:h}=this;return[t,n,r,i,a,c,d,h]}set(t,n,r,i,a,c,d,h){this.A=t|0,this.B=n|0,this.C=r|0,this.D=i|0,this.E=a|0,this.F=c|0,this.G=d|0,this.H=h|0}process(t,n){for(let p=0;p<16;p++,n+=4)gt[p]=t.getUint32(n,!1);for(let p=16;p<64;p++){const w=gt[p-15],U=gt[p-2],O=(0,nt.rotr)(w,7)^(0,nt.rotr)(w,18)^w>>>3,z=(0,nt.rotr)(U,17)^(0,nt.rotr)(U,19)^U>>>10;gt[p]=z+gt[p-7]+O+gt[p-16]|0}let{A:r,B:i,C:a,D:c,E:d,F:h,G:y,H:b}=this;for(let p=0;p<64;p++){const w=(0,nt.rotr)(d,6)^(0,nt.rotr)(d,11)^(0,nt.rotr)(d,25),U=b+w+uc(d,h,y)+dc[p]+gt[p]|0,z=((0,nt.rotr)(r,2)^(0,nt.rotr)(r,13)^(0,nt.rotr)(r,22))+lc(r,i,a)|0;b=y,y=h,h=d,d=c+U|0,c=a,a=i,i=r,r=U+z|0}r=r+this.A|0,i=i+this.B|0,a=a+this.C|0,c=c+this.D|0,d=d+this.E|0,h=h+this.F|0,y=y+this.G|0,b=b+this.H|0,this.set(r,i,a,c,d,h,y,b)}roundClean(){gt.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}};class hc extends Uo{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}on.sha256=(0,nt.wrapConstructor)(()=>new Uo);on.sha224=(0,nt.wrapConstructor)(()=>new hc);var it={},So={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.add=e.toBig=e.split=e.fromBig=void 0;const t=BigInt(2**32-1),n=BigInt(32);function r(M,W=!1){return W?{h:Number(M&t),l:Number(M>>n&t)}:{h:Number(M>>n&t)|0,l:Number(M&t)|0}}e.fromBig=r;function i(M,W=!1){let R=new Uint32Array(M.length),Ae=new Uint32Array(M.length);for(let Ee=0;EeBigInt(M>>>0)<>>0);e.toBig=a;const c=(M,W,R)=>M>>>R,d=(M,W,R)=>M<<32-R|W>>>R,h=(M,W,R)=>M>>>R|W<<32-R,y=(M,W,R)=>M<<32-R|W>>>R,b=(M,W,R)=>M<<64-R|W>>>R-32,p=(M,W,R)=>M>>>R-32|W<<64-R,w=(M,W)=>W,U=(M,W)=>M,O=(M,W,R)=>M<>>32-R,z=(M,W,R)=>W<>>32-R,L=(M,W,R)=>W<>>64-R,Q=(M,W,R)=>M<>>64-R;function he(M,W,R,Ae){const Ee=(W>>>0)+(Ae>>>0);return{h:M+R+(Ee/2**32|0)|0,l:Ee|0}}e.add=he;const $=(M,W,R)=>(M>>>0)+(W>>>0)+(R>>>0),I=(M,W,R,Ae)=>W+R+Ae+(M/2**32|0)|0,S=(M,W,R,Ae)=>(M>>>0)+(W>>>0)+(R>>>0)+(Ae>>>0),fe=(M,W,R,Ae,Ee)=>W+R+Ae+Ee+(M/2**32|0)|0,ye=(M,W,R,Ae,Ee)=>(M>>>0)+(W>>>0)+(R>>>0)+(Ae>>>0)+(Ee>>>0),ae=(M,W,R,Ae,Ee,Ke)=>W+R+Ae+Ee+Ke+(M/2**32|0)|0,xe={fromBig:r,split:i,toBig:e.toBig,shrSH:c,shrSL:d,rotrSH:h,rotrSL:y,rotrBH:b,rotrBL:p,rotr32H:w,rotr32L:U,rotlSH:O,rotlSL:z,rotlBH:L,rotlBL:Q,add:he,add3L:$,add3H:I,add4L:S,add4H:fe,add5H:ae,add5L:ye};e.default=xe})(So);Object.defineProperty(it,"__esModule",{value:!0});it.sha384=it.sha512_256=it.sha512_224=it.sha512=it.SHA512=void 0;const xc=$n,le=So,hr=Dt,[pc,yc]=le.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),vt=new Uint32Array(80),mt=new Uint32Array(80);let kn=class extends xc.SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:t,Al:n,Bh:r,Bl:i,Ch:a,Cl:c,Dh:d,Dl:h,Eh:y,El:b,Fh:p,Fl:w,Gh:U,Gl:O,Hh:z,Hl:L}=this;return[t,n,r,i,a,c,d,h,y,b,p,w,U,O,z,L]}set(t,n,r,i,a,c,d,h,y,b,p,w,U,O,z,L){this.Ah=t|0,this.Al=n|0,this.Bh=r|0,this.Bl=i|0,this.Ch=a|0,this.Cl=c|0,this.Dh=d|0,this.Dl=h|0,this.Eh=y|0,this.El=b|0,this.Fh=p|0,this.Fl=w|0,this.Gh=U|0,this.Gl=O|0,this.Hh=z|0,this.Hl=L|0}process(t,n){for(let $=0;$<16;$++,n+=4)vt[$]=t.getUint32(n),mt[$]=t.getUint32(n+=4);for(let $=16;$<80;$++){const I=vt[$-15]|0,S=mt[$-15]|0,fe=le.default.rotrSH(I,S,1)^le.default.rotrSH(I,S,8)^le.default.shrSH(I,S,7),ye=le.default.rotrSL(I,S,1)^le.default.rotrSL(I,S,8)^le.default.shrSL(I,S,7),ae=vt[$-2]|0,xe=mt[$-2]|0,M=le.default.rotrSH(ae,xe,19)^le.default.rotrBH(ae,xe,61)^le.default.shrSH(ae,xe,6),W=le.default.rotrSL(ae,xe,19)^le.default.rotrBL(ae,xe,61)^le.default.shrSL(ae,xe,6),R=le.default.add4L(ye,W,mt[$-7],mt[$-16]),Ae=le.default.add4H(R,fe,M,vt[$-7],vt[$-16]);vt[$]=Ae|0,mt[$]=R|0}let{Ah:r,Al:i,Bh:a,Bl:c,Ch:d,Cl:h,Dh:y,Dl:b,Eh:p,El:w,Fh:U,Fl:O,Gh:z,Gl:L,Hh:Q,Hl:he}=this;for(let $=0;$<80;$++){const I=le.default.rotrSH(p,w,14)^le.default.rotrSH(p,w,18)^le.default.rotrBH(p,w,41),S=le.default.rotrSL(p,w,14)^le.default.rotrSL(p,w,18)^le.default.rotrBL(p,w,41),fe=p&U^~p&z,ye=w&O^~w&L,ae=le.default.add5L(he,S,ye,yc[$],mt[$]),xe=le.default.add5H(ae,Q,I,fe,pc[$],vt[$]),M=ae|0,W=le.default.rotrSH(r,i,28)^le.default.rotrBH(r,i,34)^le.default.rotrBH(r,i,39),R=le.default.rotrSL(r,i,28)^le.default.rotrBL(r,i,34)^le.default.rotrBL(r,i,39),Ae=r&a^r&d^a&d,Ee=i&c^i&h^c&h;Q=z|0,he=L|0,z=U|0,L=O|0,U=p|0,O=w|0,{h:p,l:w}=le.default.add(y|0,b|0,xe|0,M|0),y=d|0,b=h|0,d=a|0,h=c|0,a=r|0,c=i|0;const Ke=le.default.add3L(M,R,Ee);r=le.default.add3H(Ke,xe,W,Ae),i=Ke|0}({h:r,l:i}=le.default.add(this.Ah|0,this.Al|0,r|0,i|0)),{h:a,l:c}=le.default.add(this.Bh|0,this.Bl|0,a|0,c|0),{h:d,l:h}=le.default.add(this.Ch|0,this.Cl|0,d|0,h|0),{h:y,l:b}=le.default.add(this.Dh|0,this.Dl|0,y|0,b|0),{h:p,l:w}=le.default.add(this.Eh|0,this.El|0,p|0,w|0),{h:U,l:O}=le.default.add(this.Fh|0,this.Fl|0,U|0,O|0),{h:z,l:L}=le.default.add(this.Gh|0,this.Gl|0,z|0,L|0),{h:Q,l:he}=le.default.add(this.Hh|0,this.Hl|0,Q|0,he|0),this.set(r,i,a,c,d,h,y,b,p,w,U,O,z,L,Q,he)}roundClean(){vt.fill(0),mt.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}};it.SHA512=kn;class bc extends kn{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}let _c=class extends kn{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}},wc=class extends kn{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}};it.sha512=(0,hr.wrapConstructor)(()=>new kn);it.sha512_224=(0,hr.wrapConstructor)(()=>new bc);it.sha512_256=(0,hr.wrapConstructor)(()=>new _c);it.sha384=(0,hr.wrapConstructor)(()=>new wc);const gc=Fa(tc);Object.defineProperty(Ze,"__esModule",{value:!0});var Bo=Ze.mnemonicToSeedSync=Ze.mnemonicToSeed=Ze.validateMnemonic=Ze.entropyToMnemonic=Ze.mnemonicToEntropy=Ze.generateMnemonic=void 0;/*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */const Io=Re,Co=sn,vc=on,$o=it,mc=Dt,Qn=gc,Ac=e=>e[0]==="あいこくしん";function ko(e){if(typeof e!="string")throw new TypeError(`Invalid mnemonic type: ${typeof e}`);return e.normalize("NFKD")}function $s(e){const t=ko(e),n=t.split(" ");if(![12,15,18,21,24].includes(n.length))throw new Error("Invalid mnemonic");return{nfkd:t,words:n}}function Lo(e){Io.default.bytes(e,16,20,24,28,32)}function Ec(e,t=128){if(Io.default.number(t),t%32!==0||t>256)throw new TypeError("Invalid entropy");return Ho((0,mc.randomBytes)(t/8),e)}Ze.generateMnemonic=Ec;const Tc=e=>{const t=8-e.length/4;return new Uint8Array([(0,vc.sha256)(e)[0]>>t<{if(typeof t!="string")throw new Error(`Wordlist: non-string element: ${t}`)}),Qn.utils.chain(Qn.utils.checksum(1,Tc),Qn.utils.radix2(11,!0),Qn.utils.alphabet(e))}function zo(e,t){const{words:n}=$s(e),r=Oo(t).decode(n);return Lo(r),r}Ze.mnemonicToEntropy=zo;function Ho(e,t){return Lo(e),Oo(t).encode(e).join(Ac(t)?" ":" ")}Ze.entropyToMnemonic=Ho;function Uc(e,t){try{zo(e,t)}catch{return!1}return!0}Ze.validateMnemonic=Uc;const No=e=>ko(`mnemonic${e}`);function Sc(e,t=""){return(0,Co.pbkdf2Async)($o.sha512,$s(e).nfkd,No(t),{c:2048,dkLen:64})}Ze.mnemonicToSeed=Sc;function Bc(e,t=""){return(0,Co.pbkdf2)($o.sha512,$s(e).nfkd,No(t),{c:2048,dkLen:64})}Bo=Ze.mnemonicToSeedSync=Bc;/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Ic=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4)),ns=e=>new DataView(e.buffer,e.byteOffset,e.byteLength),ht=(e,t)=>e<<32-t|e>>>t,Cc=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;if(!Cc)throw new Error("Non little-endian hardware is not supported");const $c=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function Ro(e){if(!(e instanceof Uint8Array))throw new Error("Uint8Array expected");let t="";for(let n=0;ne().update(Ln(r)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}function Lc(e){const t=(r,i)=>e(i).update(Ln(r)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=r=>e(r),t}function vs(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Wrong positive integer: ${e}`)}function Oc(e){if(typeof e!="boolean")throw new Error(`Expected boolean, not ${e}`)}function Do(e,...t){if(!(e instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw new TypeError(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function zc(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");vs(e.outputLen),vs(e.blockLen)}function Hc(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 Nc(e,t){Do(e);const n=t.outputLen;if(e.length>i&a),d=Number(n&a),h=r?4:0,y=r?0:4;e.setUint32(t+h,c,r),e.setUint32(t+y,d,r)}class Mo extends ks{constructor(t,n,r,i){super(),this.blockLen=t,this.outputLen=n,this.padOffset=r,this.isLE=i,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=ns(this.buffer)}update(t){et.exists(this);const{view:n,buffer:r,blockLen:i}=this;t=Ln(t);const a=t.length;for(let c=0;ci-c&&(this.process(r,0),c=0);for(let h=c;hd.setUint32(4*y,h,a))}digest(){const{buffer:t,outputLen:n}=this;this.digestInto(t);const r=t.slice(0,n);return this.destroy(),r}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:a,destroyed:c,pos:d}=this;return t.length=i,t.pos=d,t.finished=a,t.destroyed=c,i%n&&t.buffer.set(r),t}}const Pc=(e,t,n)=>e&t^~e&n,Dc=(e,t,n)=>e&t^e&n^t&n,Mc=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),At=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Et=new Uint32Array(64);class Fc extends Mo{constructor(){super(64,32,8,!1),this.A=At[0]|0,this.B=At[1]|0,this.C=At[2]|0,this.D=At[3]|0,this.E=At[4]|0,this.F=At[5]|0,this.G=At[6]|0,this.H=At[7]|0}get(){const{A:t,B:n,C:r,D:i,E:a,F:c,G:d,H:h}=this;return[t,n,r,i,a,c,d,h]}set(t,n,r,i,a,c,d,h){this.A=t|0,this.B=n|0,this.C=r|0,this.D=i|0,this.E=a|0,this.F=c|0,this.G=d|0,this.H=h|0}process(t,n){for(let p=0;p<16;p++,n+=4)Et[p]=t.getUint32(n,!1);for(let p=16;p<64;p++){const w=Et[p-15],U=Et[p-2],O=ht(w,7)^ht(w,18)^w>>>3,z=ht(U,17)^ht(U,19)^U>>>10;Et[p]=z+Et[p-7]+O+Et[p-16]|0}let{A:r,B:i,C:a,D:c,E:d,F:h,G:y,H:b}=this;for(let p=0;p<64;p++){const w=ht(d,6)^ht(d,11)^ht(d,25),U=b+w+Pc(d,h,y)+Mc[p]+Et[p]|0,z=(ht(r,2)^ht(r,13)^ht(r,22))+Dc(r,i,a)|0;b=y,y=h,h=d,d=c+U|0,c=a,a=i,i=r,r=U+z|0}r=r+this.A|0,i=i+this.B|0,a=a+this.C|0,c=c+this.D|0,d=d+this.E|0,h=h+this.F|0,y=y+this.G|0,b=b+this.H|0,this.set(r,i,a,c,d,h,y,b)}roundClean(){Et.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const qc=On(()=>new Fc),Jn=BigInt(2**32-1),ms=BigInt(32);function Fo(e,t=!1){return t?{h:Number(e&Jn),l:Number(e>>ms&Jn)}:{h:Number(e>>ms&Jn)|0,l:Number(e&Jn)|0}}function jc(e,t=!1){let n=new Uint32Array(e.length),r=new Uint32Array(e.length);for(let i=0;iBigInt(e>>>0)<>>0),Kc=(e,t,n)=>e>>>n,Wc=(e,t,n)=>e<<32-n|t>>>n,Yc=(e,t,n)=>e>>>n|t<<32-n,Vc=(e,t,n)=>e<<32-n|t>>>n,Xc=(e,t,n)=>e<<64-n|t>>>n-32,Qc=(e,t,n)=>e>>>n-32|t<<64-n,Jc=(e,t)=>t,Zc=(e,t)=>e,ef=(e,t,n)=>e<>>32-n,tf=(e,t,n)=>t<>>32-n,nf=(e,t,n)=>t<>>64-n,rf=(e,t,n)=>e<>>64-n;function sf(e,t,n,r){const i=(t>>>0)+(r>>>0);return{h:e+n+(i/2**32|0)|0,l:i|0}}const of=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0),af=(e,t,n,r)=>t+n+r+(e/2**32|0)|0,cf=(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0),ff=(e,t,n,r,i)=>t+n+r+i+(e/2**32|0)|0,uf=(e,t,n,r,i)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(i>>>0),lf=(e,t,n,r,i,a)=>t+n+r+i+a+(e/2**32|0)|0,ne={fromBig:Fo,split:jc,toBig:Gc,shrSH:Kc,shrSL:Wc,rotrSH:Yc,rotrSL:Vc,rotrBH:Xc,rotrBL:Qc,rotr32H:Jc,rotr32L:Zc,rotlSH:ef,rotlSL:tf,rotlBH:nf,rotlBL:rf,add:sf,add3L:of,add3H:af,add4L:cf,add4H:ff,add5H:lf,add5L:uf},[qo,jo,Go]=[[],[],[]],df=BigInt(0),En=BigInt(1),hf=BigInt(2),xf=BigInt(7),pf=BigInt(256),yf=BigInt(113);for(let e=0,t=En,n=1,r=0;e<24;e++){[n,r]=[r,(2*n+3*r)%5],qo.push(2*(5*r+n)),jo.push((e+1)*(e+2)/2%64);let i=df;for(let a=0;a<7;a++)t=(t<>xf)*yf)%pf,t&hf&&(i^=En<<(En<n>32?ne.rotlBH(e,t,n):ne.rotlSH(e,t,n),mi=(e,t,n)=>n>32?ne.rotlBL(e,t,n):ne.rotlSL(e,t,n);function wf(e,t=24){const n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let c=0;c<10;c++)n[c]=e[c]^e[c+10]^e[c+20]^e[c+30]^e[c+40];for(let c=0;c<10;c+=2){const d=(c+8)%10,h=(c+2)%10,y=n[h],b=n[h+1],p=vi(y,b,1)^n[d],w=mi(y,b,1)^n[d+1];for(let U=0;U<50;U+=10)e[c+U]^=p,e[c+U+1]^=w}let i=e[2],a=e[3];for(let c=0;c<24;c++){const d=jo[c],h=vi(i,a,d),y=mi(i,a,d),b=qo[c];i=e[b],a=e[b+1],e[b]=h,e[b+1]=y}for(let c=0;c<50;c+=10){for(let d=0;d<10;d++)n[d]=e[c+d];for(let d=0;d<10;d++)e[c+d]^=~n[(d+2)%10]&n[(d+4)%10]}e[0]^=bf[r],e[1]^=_f[r]}n.fill(0)}class xr extends ks{constructor(t,n,r,i=!1,a=24){if(super(),this.blockLen=t,this.suffix=n,this.outputLen=r,this.enableXOF=i,this.rounds=a,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,et.number(r),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=Ic(this.state)}keccak(){wf(this.state32,this.rounds),this.posOut=0,this.pos=0}update(t){et.exists(this);const{blockLen:n,state:r}=this;t=Ln(t);const i=t.length;for(let a=0;a=r&&this.keccak();const c=Math.min(r-this.posOut,a-i);t.set(n.subarray(this.posOut,this.posOut+c),i),this.posOut+=c,i+=c}return t}xofInto(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return et.number(t),this.xofInto(new Uint8Array(t))}digestInto(t){if(et.output(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){const{blockLen:n,suffix:r,outputLen:i,rounds:a,enableXOF:c}=this;return t||(t=new xr(n,r,i,c,a)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=a,t.suffix=r,t.outputLen=i,t.enableXOF=c,t.destroyed=this.destroyed,t}}const Ot=(e,t,n)=>On(()=>new xr(t,e,n));Ot(6,144,224/8);const an=Ot(6,136,256/8);Ot(6,104,384/8);Ot(6,72,512/8);Ot(1,144,224/8);Ot(1,136,256/8);Ot(1,104,384/8);Ot(1,72,512/8);const Ko=(e,t,n)=>Lc((r={})=>new xr(t,e,r.dkLen===void 0?n:r.dkLen,!0));Ko(31,168,128/8);Ko(31,136,256/8);class Wo extends ks{constructor(t,n){super(),this.finished=!1,this.destroyed=!1,et.hash(t);const r=Ln(n);if(this.iHash=t.create(),typeof this.iHash.update!="function")throw new TypeError("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const i=this.blockLen,a=new Uint8Array(i);a.set(r.length>i?t.create().update(r).digest():r);for(let c=0;cnew Wo(e,t).update(n).digest();Ls.create=(e,t)=>new Wo(e,t);const[gf,vf]=ne.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),Tt=new Uint32Array(80),Ut=new Uint32Array(80);class Os extends Mo{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:t,Al:n,Bh:r,Bl:i,Ch:a,Cl:c,Dh:d,Dl:h,Eh:y,El:b,Fh:p,Fl:w,Gh:U,Gl:O,Hh:z,Hl:L}=this;return[t,n,r,i,a,c,d,h,y,b,p,w,U,O,z,L]}set(t,n,r,i,a,c,d,h,y,b,p,w,U,O,z,L){this.Ah=t|0,this.Al=n|0,this.Bh=r|0,this.Bl=i|0,this.Ch=a|0,this.Cl=c|0,this.Dh=d|0,this.Dl=h|0,this.Eh=y|0,this.El=b|0,this.Fh=p|0,this.Fl=w|0,this.Gh=U|0,this.Gl=O|0,this.Hh=z|0,this.Hl=L|0}process(t,n){for(let $=0;$<16;$++,n+=4)Tt[$]=t.getUint32(n),Ut[$]=t.getUint32(n+=4);for(let $=16;$<80;$++){const I=Tt[$-15]|0,S=Ut[$-15]|0,fe=ne.rotrSH(I,S,1)^ne.rotrSH(I,S,8)^ne.shrSH(I,S,7),ye=ne.rotrSL(I,S,1)^ne.rotrSL(I,S,8)^ne.shrSL(I,S,7),ae=Tt[$-2]|0,xe=Ut[$-2]|0,M=ne.rotrSH(ae,xe,19)^ne.rotrBH(ae,xe,61)^ne.shrSH(ae,xe,6),W=ne.rotrSL(ae,xe,19)^ne.rotrBL(ae,xe,61)^ne.shrSL(ae,xe,6),R=ne.add4L(ye,W,Ut[$-7],Ut[$-16]),Ae=ne.add4H(R,fe,M,Tt[$-7],Tt[$-16]);Tt[$]=Ae|0,Ut[$]=R|0}let{Ah:r,Al:i,Bh:a,Bl:c,Ch:d,Cl:h,Dh:y,Dl:b,Eh:p,El:w,Fh:U,Fl:O,Gh:z,Gl:L,Hh:Q,Hl:he}=this;for(let $=0;$<80;$++){const I=ne.rotrSH(p,w,14)^ne.rotrSH(p,w,18)^ne.rotrBH(p,w,41),S=ne.rotrSL(p,w,14)^ne.rotrSL(p,w,18)^ne.rotrBL(p,w,41),fe=p&U^~p&z,ye=w&O^~w&L,ae=ne.add5L(he,S,ye,vf[$],Ut[$]),xe=ne.add5H(ae,Q,I,fe,gf[$],Tt[$]),M=ae|0,W=ne.rotrSH(r,i,28)^ne.rotrBH(r,i,34)^ne.rotrBH(r,i,39),R=ne.rotrSL(r,i,28)^ne.rotrBL(r,i,34)^ne.rotrBL(r,i,39),Ae=r&a^r&d^a&d,Ee=i&c^i&h^c&h;Q=z|0,he=L|0,z=U|0,L=O|0,U=p|0,O=w|0,{h:p,l:w}=ne.add(y|0,b|0,xe|0,M|0),y=d|0,b=h|0,d=a|0,h=c|0,a=r|0,c=i|0;const Ke=ne.add3L(M,R,Ee);r=ne.add3H(Ke,xe,W,Ae),i=Ke|0}({h:r,l:i}=ne.add(this.Ah|0,this.Al|0,r|0,i|0)),{h:a,l:c}=ne.add(this.Bh|0,this.Bl|0,a|0,c|0),{h:d,l:h}=ne.add(this.Ch|0,this.Cl|0,d|0,h|0),{h:y,l:b}=ne.add(this.Dh|0,this.Dl|0,y|0,b|0),{h:p,l:w}=ne.add(this.Eh|0,this.El|0,p|0,w|0),{h:U,l:O}=ne.add(this.Fh|0,this.Fl|0,U|0,O|0),{h:z,l:L}=ne.add(this.Gh|0,this.Gl|0,z|0,L|0),{h:Q,l:he}=ne.add(this.Hh|0,this.Hl|0,Q|0,he|0),this.set(r,i,a,c,d,h,y,b,p,w,U,O,z,L,Q,he)}roundClean(){Tt.fill(0),Ut.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class mf extends Os{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class Af extends Os{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}const Yo=On(()=>new Os);On(()=>new mf);On(()=>new Af);var zs={exports:{}},Vo=function(t,n){return function(){for(var i=new Array(arguments.length),a=0;a"u"}function Tf(e){return e!==null&&!fr(e)&&e.constructor!==null&&!fr(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var Xo=Mt("ArrayBuffer");function Uf(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Xo(e.buffer),t}function Sf(e){return typeof e=="string"}function Bf(e){return typeof e=="number"}function Qo(e){return e!==null&&typeof e=="object"}function er(e){if(Ns(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var If=Mt("Date"),Cf=Mt("File"),$f=Mt("Blob"),kf=Mt("FileList");function Ps(e){return Hs.call(e)==="[object Function]"}function Lf(e){return Qo(e)&&Ps(e.pipe)}function Of(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Hs.call(e)===t||Ps(e.toString)&&e.toString()===t)}var zf=Mt("URLSearchParams");function Hf(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Nf(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Ds(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Rs(e))for(var n=0,r=e.length;n0;)a=r[i],c[a]||(t[a]=e[a],c[a]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function Ff(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return r!==-1&&r===n}function qf(e){if(!e)return null;var t=e.length;if(fr(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var jf=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),Fe={isArray:Rs,isArrayBuffer:Xo,isBuffer:Tf,isFormData:Of,isArrayBufferView:Uf,isString:Sf,isNumber:Bf,isObject:Qo,isPlainObject:er,isUndefined:fr,isDate:If,isFile:Cf,isBlob:$f,isFunction:Ps,isStream:Lf,isURLSearchParams:zf,isStandardBrowserEnv:Nf,forEach:Ds,merge:As,extend:Rf,trim:Hf,stripBOM:Pf,inherits:Df,toFlatObject:Mf,kindOf:Ns,kindOfTest:Mt,endsWith:Ff,toArray:qf,isTypedArray:jf,isFileList:kf},Qt=Fe;function Ai(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Jo=function(t,n,r){if(!n)return t;var i;if(r)i=r(n);else if(Qt.isURLSearchParams(n))i=n.toString();else{var a=[];Qt.forEach(n,function(h,y){h===null||typeof h>"u"||(Qt.isArray(h)?y=y+"[]":h=[h],Qt.forEach(h,function(p){Qt.isDate(p)?p=p.toISOString():Qt.isObject(p)&&(p=JSON.stringify(p)),a.push(Ai(y)+"="+Ai(p))}))}),i=a.join("&")}if(i){var c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t},Gf=Fe;function pr(){this.handlers=[]}pr.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};pr.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};pr.prototype.forEach=function(t){Gf.forEach(this.handlers,function(r){r!==null&&t(r)})};var Kf=pr,Wf=Fe,Yf=function(t,n){Wf.forEach(t,function(i,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(t[n]=i,delete t[a])})},Zo=Fe;function cn(e,t,n,r,i){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}Zo.inherits(cn,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var ea=cn.prototype,ta={};["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"].forEach(function(e){ta[e]={value:e}});Object.defineProperties(cn,ta);Object.defineProperty(ea,"isAxiosError",{value:!0});cn.from=function(e,t,n,r,i,a){var c=Object.create(ea);return Zo.toFlatObject(e,c,function(h){return h!==Error.prototype}),cn.call(c,e.message,t,n,r,i),c.name=e.name,a&&Object.assign(c,a),c};var ln=cn,na={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ft=Fe;function Vf(e,t){t=t||new FormData;var n=[];function r(a){return a===null?"":ft.isDate(a)?a.toISOString():ft.isArrayBuffer(a)||ft.isTypedArray(a)?typeof Blob=="function"?new Blob([a]):Buffer.from(a):a}function i(a,c){if(ft.isPlainObject(a)||ft.isArray(a)){if(n.indexOf(a)!==-1)throw Error("Circular reference detected in "+c);n.push(a),ft.forEach(a,function(h,y){if(!ft.isUndefined(h)){var b=c?c+"."+y:y,p;if(h&&!c&&typeof h=="object"){if(ft.endsWith(y,"{}"))h=JSON.stringify(h);else if(ft.endsWith(y,"[]")&&(p=ft.toArray(h))){p.forEach(function(w){!ft.isUndefined(w)&&t.append(b,r(w))});return}}i(h,b)}}),n.pop()}else t.append(c,r(a))}return i(e),t}var ra=Vf,rs,Ei;function Xf(){if(Ei)return rs;Ei=1;var e=ln;return rs=function(n,r,i){var a=i.config.validateStatus;!i.status||!a||a(i.status)?n(i):r(new e("Request failed with status code "+i.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},rs}var ss,Ti;function Qf(){if(Ti)return ss;Ti=1;var e=Fe;return ss=e.isStandardBrowserEnv()?function(){return{write:function(r,i,a,c,d,h){var y=[];y.push(r+"="+encodeURIComponent(i)),e.isNumber(a)&&y.push("expires="+new Date(a).toGMTString()),e.isString(c)&&y.push("path="+c),e.isString(d)&&y.push("domain="+d),h===!0&&y.push("secure"),document.cookie=y.join("; ")},read:function(r){var i=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),ss}var Jf=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},Zf=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},eu=Jf,tu=Zf,sa=function(t,n){return t&&!eu(n)?tu(t,n):n},is,Ui;function nu(){if(Ui)return is;Ui=1;var e=Fe,t=["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"];return is=function(r){var i={},a,c,d;return r&&e.forEach(r.split(` -`),function(y){if(d=y.indexOf(":"),a=e.trim(y.substr(0,d)).toLowerCase(),c=e.trim(y.substr(d+1)),a){if(i[a]&&t.indexOf(a)>=0)return;a==="set-cookie"?i[a]=(i[a]?i[a]:[]).concat([c]):i[a]=i[a]?i[a]+", "+c:c}}),i},is}var os,Si;function ru(){if(Si)return os;Si=1;var e=Fe;return os=e.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function a(c){var d=c;return n&&(r.setAttribute("href",d),d=r.href),r.setAttribute("href",d),{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 i=a(window.location.href),function(d){var h=e.isString(d)?a(d):d;return h.protocol===i.protocol&&h.host===i.host}}():function(){return function(){return!0}}(),os}var as,Bi;function yr(){if(Bi)return as;Bi=1;var e=ln,t=Fe;function n(r){e.call(this,r??"canceled",e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(n,e,{__CANCEL__:!0}),as=n,as}var cs,Ii;function su(){return Ii||(Ii=1,cs=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}),cs}var fs,Ci;function $i(){if(Ci)return fs;Ci=1;var e=Fe,t=Xf(),n=Qf(),r=Jo,i=sa,a=nu(),c=ru(),d=na,h=ln,y=yr(),b=su();return fs=function(w){return new Promise(function(O,z){var L=w.data,Q=w.headers,he=w.responseType,$;function I(){w.cancelToken&&w.cancelToken.unsubscribe($),w.signal&&w.signal.removeEventListener("abort",$)}e.isFormData(L)&&e.isStandardBrowserEnv()&&delete Q["Content-Type"];var S=new XMLHttpRequest;if(w.auth){var fe=w.auth.username||"",ye=w.auth.password?unescape(encodeURIComponent(w.auth.password)):"";Q.Authorization="Basic "+btoa(fe+":"+ye)}var ae=i(w.baseURL,w.url);S.open(w.method.toUpperCase(),r(ae,w.params,w.paramsSerializer),!0),S.timeout=w.timeout;function xe(){if(S){var R="getAllResponseHeaders"in S?a(S.getAllResponseHeaders()):null,Ae=!he||he==="text"||he==="json"?S.responseText:S.response,Ee={data:Ae,status:S.status,statusText:S.statusText,headers:R,config:w,request:S};t(function(We){O(We),I()},function(We){z(We),I()},Ee),S=null}}if("onloadend"in S?S.onloadend=xe:S.onreadystatechange=function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.indexOf("file:")===0)||setTimeout(xe)},S.onabort=function(){S&&(z(new h("Request aborted",h.ECONNABORTED,w,S)),S=null)},S.onerror=function(){z(new h("Network Error",h.ERR_NETWORK,w,S,S)),S=null},S.ontimeout=function(){var Ae=w.timeout?"timeout of "+w.timeout+"ms exceeded":"timeout exceeded",Ee=w.transitional||d;w.timeoutErrorMessage&&(Ae=w.timeoutErrorMessage),z(new h(Ae,Ee.clarifyTimeoutError?h.ETIMEDOUT:h.ECONNABORTED,w,S)),S=null},e.isStandardBrowserEnv()){var M=(w.withCredentials||c(ae))&&w.xsrfCookieName?n.read(w.xsrfCookieName):void 0;M&&(Q[w.xsrfHeaderName]=M)}"setRequestHeader"in S&&e.forEach(Q,function(Ae,Ee){typeof L>"u"&&Ee.toLowerCase()==="content-type"?delete Q[Ee]:S.setRequestHeader(Ee,Ae)}),e.isUndefined(w.withCredentials)||(S.withCredentials=!!w.withCredentials),he&&he!=="json"&&(S.responseType=w.responseType),typeof w.onDownloadProgress=="function"&&S.addEventListener("progress",w.onDownloadProgress),typeof w.onUploadProgress=="function"&&S.upload&&S.upload.addEventListener("progress",w.onUploadProgress),(w.cancelToken||w.signal)&&($=function(R){S&&(z(!R||R&&R.type?new y:R),S.abort(),S=null)},w.cancelToken&&w.cancelToken.subscribe($),w.signal&&(w.signal.aborted?$():w.signal.addEventListener("abort",$))),L||(L=null);var W=b(ae);if(W&&["http","https","file"].indexOf(W)===-1){z(new h("Unsupported protocol "+W+":",h.ERR_BAD_REQUEST,w));return}S.send(L)})},fs}var us,ki;function iu(){return ki||(ki=1,us=null),us}var Ne=Fe,Li=Yf,Oi=ln,ou=na,au=ra,cu={"Content-Type":"application/x-www-form-urlencoded"};function zi(e,t){!Ne.isUndefined(e)&&Ne.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function fu(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=$i()),e}function uu(e,t,n){if(Ne.isString(e))try{return(t||JSON.parse)(e),Ne.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var br={transitional:ou,adapter:fu(),transformRequest:[function(t,n){if(Li(n,"Accept"),Li(n,"Content-Type"),Ne.isFormData(t)||Ne.isArrayBuffer(t)||Ne.isBuffer(t)||Ne.isStream(t)||Ne.isFile(t)||Ne.isBlob(t))return t;if(Ne.isArrayBufferView(t))return t.buffer;if(Ne.isURLSearchParams(t))return zi(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r=Ne.isObject(t),i=n&&n["Content-Type"],a;if((a=Ne.isFileList(t))||r&&i==="multipart/form-data"){var c=this.env&&this.env.FormData;return au(a?{"files[]":t}:t,c&&new c)}else if(r||i==="application/json")return zi(n,"application/json"),uu(t);return t}],transformResponse:[function(t){var n=this.transitional||br.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,a=!r&&this.responseType==="json";if(a||i&&Ne.isString(t)&&t.length)try{return JSON.parse(t)}catch(c){if(a)throw c.name==="SyntaxError"?Oi.from(c,Oi.ERR_BAD_RESPONSE,this,null,this.response):c}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:iu()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Ne.forEach(["delete","get","head"],function(t){br.headers[t]={}});Ne.forEach(["post","put","patch"],function(t){br.headers[t]=Ne.merge(cu)});var Ms=br,lu=Fe,du=Ms,hu=function(t,n,r){var i=this||du;return lu.forEach(r,function(c){t=c.call(i,t,n)}),t},ls,Hi;function ia(){return Hi||(Hi=1,ls=function(t){return!!(t&&t.__CANCEL__)}),ls}var Ni=Fe,ds=hu,xu=ia(),pu=Ms,yu=yr();function hs(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new yu}var bu=function(t){hs(t),t.headers=t.headers||{},t.data=ds.call(t,t.data,t.headers,t.transformRequest),t.headers=Ni.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Ni.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||pu.adapter;return n(t).then(function(i){return hs(t),i.data=ds.call(t,i.data,i.headers,t.transformResponse),i},function(i){return xu(i)||(hs(t),i&&i.response&&(i.response.data=ds.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})},Je=Fe,oa=function(t,n){n=n||{};var r={};function i(b,p){return Je.isPlainObject(b)&&Je.isPlainObject(p)?Je.merge(b,p):Je.isPlainObject(p)?Je.merge({},p):Je.isArray(p)?p.slice():p}function a(b){if(Je.isUndefined(n[b])){if(!Je.isUndefined(t[b]))return i(void 0,t[b])}else return i(t[b],n[b])}function c(b){if(!Je.isUndefined(n[b]))return i(void 0,n[b])}function d(b){if(Je.isUndefined(n[b])){if(!Je.isUndefined(t[b]))return i(void 0,t[b])}else return i(void 0,n[b])}function h(b){if(b in n)return i(t[b],n[b]);if(b in t)return i(void 0,t[b])}var y={url:c,method:c,data:c,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,beforeRedirect:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:h};return Je.forEach(Object.keys(t).concat(Object.keys(n)),function(p){var w=y[p]||a,U=w(p);Je.isUndefined(U)&&w!==h||(r[p]=U)}),r},xs,Ri;function aa(){return Ri||(Ri=1,xs={version:"0.27.2"}),xs}var _u=aa().version,It=ln,Fs={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Fs[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Pi={};Fs.transitional=function(t,n,r){function i(a,c){return"[Axios v"+_u+"] Transitional option '"+a+"'"+c+(r?". "+r:"")}return function(a,c,d){if(t===!1)throw new It(i(c," has been removed"+(n?" in "+n:"")),It.ERR_DEPRECATED);return n&&!Pi[c]&&(Pi[c]=!0,console.warn(i(c," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,c,d):!0}};function wu(e,t,n){if(typeof e!="object")throw new It("options must be an object",It.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],c=t[a];if(c){var d=e[a],h=d===void 0||c(d,a,e);if(h!==!0)throw new It("option "+a+" must be "+h,It.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new It("Unknown option "+a,It.ERR_BAD_OPTION)}}var gu={assertOptions:wu,validators:Fs},ca=Fe,vu=Jo,Di=Kf,Mi=bu,_r=oa,mu=sa,fa=gu,Jt=fa.validators;function fn(e){this.defaults=e,this.interceptors={request:new Di,response:new Di}}fn.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=_r(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&fa.assertOptions(r,{silentJSONParsing:Jt.transitional(Jt.boolean),forcedJSONParsing:Jt.transitional(Jt.boolean),clarifyTimeoutError:Jt.transitional(Jt.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach(function(U){typeof U.runWhen=="function"&&U.runWhen(n)===!1||(a=a&&U.synchronous,i.unshift(U.fulfilled,U.rejected))});var c=[];this.interceptors.response.forEach(function(U){c.push(U.fulfilled,U.rejected)});var d;if(!a){var h=[Mi,void 0];for(Array.prototype.unshift.apply(h,i),h=h.concat(c),d=Promise.resolve(n);h.length;)d=d.then(h.shift(),h.shift());return d}for(var y=n;i.length;){var b=i.shift(),p=i.shift();try{y=b(y)}catch(w){p(w);break}}try{d=Mi(y)}catch(w){return Promise.reject(w)}for(;c.length;)d=d.then(c.shift(),c.shift());return d};fn.prototype.getUri=function(t){t=_r(this.defaults,t);var n=mu(t.baseURL,t.url);return vu(n,t.params,t.paramsSerializer)};ca.forEach(["delete","get","head","options"],function(t){fn.prototype[t]=function(n,r){return this.request(_r(r||{},{method:t,url:n,data:(r||{}).data}))}});ca.forEach(["post","put","patch"],function(t){function n(r){return function(a,c,d){return this.request(_r(d||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:c}))}}fn.prototype[t]=n(),fn.prototype[t+"Form"]=n(!0)});var Au=fn,ps,Fi;function Eu(){if(Fi)return ps;Fi=1;var e=yr();function t(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(c){r=c});var i=this;this.promise.then(function(a){if(i._listeners){var c,d=i._listeners.length;for(c=0;c{for(var n in t)la(e,n,{get:t[n],enumerable:!0})},Te=(e,t,n,r)=>{for(var i=r>1?void 0:r?zu(t,n):t,a=e.length-1,c;a>=0;a--)(c=e[a])&&(i=(r?c(t,n,i):c(i))||i);return r&&i&&la(t,n,i),i},Hu=/^m(\/[0-9]+')+$/,da=e=>e.replace("'",""),Nu="ed25519 seed",Ru=2147483648,Pu=e=>{const n=Ls.create(Yo,Nu).update(Po(e)).digest(),r=n.slice(0,32),i=n.slice(32);return{key:r,chainCode:i}},Du=({key:e,chainCode:t},n)=>{const r=new ArrayBuffer(4);new DataView(r).setUint32(0,n);const i=new Uint8Array(r),a=new Uint8Array([0]),c=new Uint8Array([...a,...e,...i]),d=Ls.create(Yo,t).update(c).digest(),h=d.slice(0,32),y=d.slice(32);return{key:h,chainCode:y}},Mu=e=>Hu.test(e)?!e.split("/").slice(1).map(da).some(Number.isNaN):!1,Fu=(e,t,n=Ru)=>{if(!Mu(e))throw new Error("Invalid derivation path");const{key:r,chainCode:i}=Pu(t);return e.split("/").slice(1).map(da).map(c=>parseInt(c,10)).reduce((c,d)=>Du(c,d+n),{key:r,chainCode:i})},qu="1.20.0";async function ju(e){return new Promise(t=>{setTimeout(t,e)})}var Ki="/v1";function Gu(e){let t=`${e}`;return t.endsWith("/")&&(t=t.substring(0,t.length-1)),t.endsWith(Ki)||(t=`${t}${Ki}`),t}var ha=2e5,xa=20,Ku=20,Es="0x1::aptos_coin::AptosCoin";function gr(e){let t,n,r;return typeof e=="object"?(t=e.hashFunction,n=e.ttlMs,r=e.tags):t=e,(i,a,c)=>{if(c.value!=null)c.value=Wi(c.value,t,n,r);else if(c.get!=null)c.get=Wi(c.get,t,n,r);else throw new Error("Only put a Memoize() decorator on a method or get accessor.")}}function pa(e,t){return gr({ttlMs:e,hashFunction:t})}var nr=new Map;function Wu(e){const t=new Set;for(const n of e){const r=nr.get(n);if(r)for(const i of r)t.has(i)||(i.clear(),t.add(i))}return t.size}function Wi(e,t,n=0,r){const i=Symbol("__memoized_map__");return function(...a){let c;const d=this;d.hasOwnProperty(i)||Object.defineProperty(d,i,{configurable:!1,enumerable:!1,writable:!1,value:new Map});const h=d[i];if(Array.isArray(r))for(const y of r)nr.has(y)?nr.get(y).push(h):nr.set(y,[h]);if(t||a.length>0||n>0){let y;t===!0?y=a.map(w=>w.toString()).join("!"):t?y=t.apply(d,a):y=a[0];const b=`${y}__timestamp`;let p=!1;if(n>0)if(!h.has(b))p=!0;else{const w=h.get(b);p=Date.now()-w>n}h.has(y)&&!p?c=h.get(y):(c=e.apply(d,a),h.set(y,c),n>0&&h.set(b,Date.now()))}else{const y=d;h.has(y)?c=h.get(y):(c=e.apply(d,a),h.set(y,c))}return c}}var ya=class extends Error{constructor(e,t,n){super(n),this.name="AptosApiError",this.url=t.url,this.status=t.status,this.statusText=t.statusText,this.data=t.data,this.request=e}},Yu={400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",429:"Too Many Requests",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable"};async function Vu(e,t,n,r,i,a){const c={...a==null?void 0:a.HEADERS,"x-aptos-client":`aptos-ts-sdk/${qu}`,"content-type":r??"application/json"};return a!=null&&a.TOKEN&&(c.Authorization=`Bearer ${a==null?void 0:a.TOKEN}`),await Lu({url:e,method:t,body:n,params:i,headers:c,overrides:a})}async function ba(e){const{url:t,endpoint:n,method:r,body:i,contentType:a,params:c,overrides:d}=e,h=`${t}/${n??""}`,y=await Vu(h,r,i,a,c,d),b={status:y.status,statusText:y.statusText,data:y.data,headers:y.headers,config:y.config,url:h};if(b.status>=200&&b.status<300)return b;const p=Yu[b.status];throw new ya(e,b,p??"Generic Error")}async function Ve(e){return await ba({...e,method:"GET"})}async function Tn(e){return await ba({...e,method:"POST"})}async function Yi(e){const t=[];let n;const r=e.params;for(;;){r.start=n;const i=await Ve({url:e.url,endpoint:e.endpoint,params:r,originMethod:e.originMethod,overrides:e.overrides});if(n=i.headers["x-aptos-cursor"],delete i.headers,t.push(...i.data),n==null)break}return t}var Ts={mainnet:"https://indexer.mainnet.aptoslabs.com/v1/graphql",testnet:"https://indexer-testnet.staging.gcp.aptosdev.com/v1/graphql",devnet:"https://indexer-devnet.staging.gcp.aptosdev.com/v1/graphql"},Xu={mainnet:"https://fullnode.mainnet.aptoslabs.com/v1",testnet:"https://fullnode.testnet.aptoslabs.com/v1",devnet:"https://fullnode.devnet.aptoslabs.com/v1",local:"http://localhost:8080/v1"},Vi={"https://fullnode.mainnet.aptoslabs.com/v1":"mainnet","https://fullnode.testnet.aptoslabs.com/v1":"testnet","https://fullnode.devnet.aptoslabs.com/v1":"devnet","http://localhost:8080/v1":"local"},Qu=(e=>(e.MAINNET="mainnet",e.TESTNET="testnet",e.DEVNET="devnet",e.LOCAL="local",e))(Qu||{}),j=class{static fromBuffer(e){return j.fromUint8Array(e)}static fromUint8Array(e){return new j(Ro(e))}static ensure(e){return typeof e=="string"?new j(e):e}constructor(e){e.startsWith("0x")?this.hexString=e:this.hexString=`0x${e}`}hex(){return this.hexString}noPrefix(){return this.hexString.slice(2)}toString(){return this.hex()}toShortString(){return`0x${this.hexString.replace(/^0x0*/,"")}`}toUint8Array(){return Uint8Array.from(Po(this.noPrefix()))}},Se={};wr(Se,{AccountAddress:()=>me,AccountAuthenticator:()=>Ct,AccountAuthenticatorEd25519:()=>Ks,AccountAuthenticatorMultiEd25519:()=>Ws,ArgumentABI:()=>Pn,AuthenticationKey:()=>Pt,ChainId:()=>Ir,ChangeSet:()=>yl,Ed25519PublicKey:()=>st,Ed25519Signature:()=>xt,EntryFunction:()=>Nt,EntryFunctionABI:()=>un,FeePayerRawTransaction:()=>Ur,Identifier:()=>De,Module:()=>va,ModuleId:()=>Rt,MultiAgentRawTransaction:()=>Tr,MultiEd25519PublicKey:()=>zn,MultiEd25519Signature:()=>vr,MultiSig:()=>Qs,MultiSigTransactionPayload:()=>Xs,RawTransaction:()=>Kt,RawTransactionWithData:()=>Js,RotationProofChallenge:()=>_l,Script:()=>Er,ScriptABI:()=>Pr,SignedTransaction:()=>Hn,StructTag:()=>Lt,Transaction:()=>ma,TransactionArgument:()=>dt,TransactionArgumentAddress:()=>Hr,TransactionArgumentBool:()=>Rr,TransactionArgumentU128:()=>Or,TransactionArgumentU16:()=>$r,TransactionArgumentU256:()=>zr,TransactionArgumentU32:()=>kr,TransactionArgumentU64:()=>Lr,TransactionArgumentU8:()=>Cr,TransactionArgumentU8Vector:()=>Nr,TransactionAuthenticator:()=>dn,TransactionAuthenticatorEd25519:()=>mr,TransactionAuthenticatorFeePayer:()=>Gs,TransactionAuthenticatorMultiAgent:()=>js,TransactionAuthenticatorMultiEd25519:()=>Ar,TransactionPayload:()=>Nn,TransactionPayloadEntryFunction:()=>Br,TransactionPayloadMultisig:()=>Zs,TransactionPayloadScript:()=>Sr,TransactionScriptABI:()=>Dr,TypeArgumentABI:()=>Rn,TypeTag:()=>Me,TypeTagAddress:()=>$t,TypeTagBool:()=>qt,TypeTagParser:()=>bn,TypeTagParserError:()=>ga,TypeTagSigner:()=>Ys,TypeTagStruct:()=>kt,TypeTagU128:()=>Gt,TypeTagU16:()=>hn,TypeTagU256:()=>pn,TypeTagU32:()=>xn,TypeTagU64:()=>jt,TypeTagU8:()=>_t,TypeTagVector:()=>yn,UserTransaction:()=>ei,WriteSet:()=>bl,objectStructTag:()=>dl,optionStructTag:()=>ll,stringStructTag:()=>Vs});var Ju={};wr(Ju,{Deserializer:()=>qs,Serializer:()=>Ie,bcsSerializeBool:()=>cl,bcsSerializeBytes:()=>St,bcsSerializeFixedBytes:()=>ul,bcsSerializeStr:()=>fl,bcsSerializeU128:()=>ol,bcsSerializeU16:()=>sl,bcsSerializeU256:()=>al,bcsSerializeU32:()=>il,bcsSerializeU8:()=>Us,bcsSerializeUint64:()=>rl,bcsToBytes:()=>bt,deserializeVector:()=>Ye,serializeVector:()=>Pe,serializeVectorWithFunc:()=>nl});var Zu=2**8-1,el=2**16-1,Bn=2**32-1,_a=BigInt(2**64)-BigInt(1),wa=BigInt(2**128)-BigInt(1),tl=BigInt(2**256)-BigInt(1),Ie=class{constructor(){this.buffer=new ArrayBuffer(64),this.offset=0}ensureBufferWillHandleSize(e){for(;this.buffer.byteLength>BigInt(32);this.serializeU32(Number(t)),this.serializeU32(Number(n))}serializeU128(e){const t=BigInt(e.toString())&_a,n=BigInt(e.toString())>>BigInt(64);this.serializeU64(t),this.serializeU64(n)}serializeU256(e){const t=BigInt(e.toString())&wa,n=BigInt(e.toString())>>BigInt(128);this.serializeU128(t),this.serializeU128(n)}serializeU32AsUleb128(e){let t=e;const n=[];for(;t>>>7;)n.push(t&127|128),t>>>=7;n.push(t),this.serialize(new Uint8Array(n))}getBytes(){return new Uint8Array(this.buffer).slice(0,this.offset)}};Te([Ft(0,Zu)],Ie.prototype,"serializeU8",1);Te([Ft(0,el)],Ie.prototype,"serializeU16",1);Te([Ft(0,Bn)],Ie.prototype,"serializeU32",1);Te([Ft(BigInt(0),_a)],Ie.prototype,"serializeU64",1);Te([Ft(BigInt(0),wa)],Ie.prototype,"serializeU128",1);Te([Ft(BigInt(0),tl)],Ie.prototype,"serializeU256",1);Te([Ft(0,Bn)],Ie.prototype,"serializeU32AsUleb128",1);function Ft(e,t,n){return(r,i,a)=>{const c=a.value;return a.value=function(h){const y=BigInt(h.toString());if(y>BigInt(t.toString())||ythis.buffer.byteLength)throw new Error("Reached to the end of buffer");const t=this.buffer.slice(this.offset,this.offset+e);return this.offset+=e,t}deserializeStr(){const e=this.deserializeBytes();return new TextDecoder().decode(e)}deserializeBytes(){const e=this.deserializeUleb128AsU32();return new Uint8Array(this.read(e))}deserializeFixedBytes(e){return new Uint8Array(this.read(e))}deserializeBool(){const e=new Uint8Array(this.read(1))[0];if(e!==1&&e!==0)throw new Error("Invalid boolean value");return e===1}deserializeU8(){return new DataView(this.read(1)).getUint8(0)}deserializeU16(){return new DataView(this.read(2)).getUint16(0,!0)}deserializeU32(){return new DataView(this.read(4)).getUint32(0,!0)}deserializeU64(){const e=this.deserializeU32(),t=this.deserializeU32();return BigInt(BigInt(t)<Bn)throw new Error("Overflow while parsing uleb128-encoded uint32 value");return Number(e)}};function Pe(e,t){t.serializeU32AsUleb128(e.length),e.forEach(n=>{n.serialize(t)})}function nl(e,t){const n=new Ie;n.serializeU32AsUleb128(e.length);const r=n[t];return e.forEach(i=>{r.call(n,i)}),n.getBytes()}function Ye(e,t){const n=e.deserializeUleb128AsU32(),r=[];for(let i=0;irt.LENGTH)throw new Error("Hex string is too long. Address's length is 32 bytes.");if(n.length===rt.LENGTH)return new rt(n);const r=new Uint8Array(rt.LENGTH);return r.set(n,rt.LENGTH-n.length),new rt(r)}static isValid(e){if(e==="")return!1;let t=j.ensure(e);return t.noPrefix().length%2!==0&&(t=new j(`0${t.noPrefix()}`)),t.toUint8Array().length<=rt.LENGTH}toHexString(){return j.fromUint8Array(this.address).hex()}serialize(e){e.serializeFixedBytes(this.address)}static deserialize(e){return new rt(e.deserializeFixedBytes(rt.LENGTH))}static standardizeAddress(e){const t=e.toLowerCase();return`0x${(t.startsWith("0x")?t.slice(2):t).padStart(64,"0")}`}},me=rt;me.LENGTH=32;me.CORE_CODE_ADDRESS=rt.fromHex("0x1");var rr=class{constructor(e){if(e.length!==rr.LENGTH)throw new Error(`Ed25519PublicKey length should be ${rr.LENGTH}`);this.value=e}toBytes(){return this.value}serialize(e){e.serializeBytes(this.value)}static deserialize(e){const t=e.deserializeBytes();return new rr(t)}},st=rr;st.LENGTH=32;var sr=class{constructor(e){if(this.value=e,e.length!==sr.LENGTH)throw new Error(`Ed25519Signature length should be ${sr.LENGTH}`)}serialize(e){e.serializeBytes(this.value)}static deserialize(e){const t=e.deserializeBytes();return new sr(t)}},xt=sr;xt.LENGTH=64;var Ss=32,zn=class{constructor(e,t){if(this.public_keys=e,this.threshold=t,t>Ss)throw new Error(`"threshold" cannot be larger than ${Ss}`)}toBytes(){const e=new Uint8Array(this.public_keys.length*st.LENGTH+1);return this.public_keys.forEach((t,n)=>{e.set(t.value,n*st.LENGTH)}),e[this.public_keys.length*st.LENGTH]=this.threshold,e}serialize(e){e.serializeBytes(this.toBytes())}static deserialize(e){const t=e.deserializeBytes(),n=t[t.length-1],r=[];for(let i=0;i{e.set(t.value,n*xt.LENGTH)}),e.set(this.bitmap,this.signatures.length*xt.LENGTH),e}static createBitmap(e){const n=new Uint8Array([0,0,0,0]),r=new Set;return e.forEach(i=>{if(i>=Ss)throw new Error(`Invalid bit value ${i}.`);if(r.has(i))throw new Error("Duplicated bits detected.");r.add(i);const a=Math.floor(i/8);let c=n[a];c|=128>>i%8,n[a]=c}),n}serialize(e){e.serializeBytes(this.toBytes())}static deserialize(e){const t=e.deserializeBytes(),n=t.subarray(t.length-4),r=[];for(let i=0;i")return[["GT",">"],1];if(n===",")return[["COMMA",","],1];if(Xi(n)){let r="";for(let i=t;i";)this.tokens[0][1]==="<"&&this.consumeWholeGeneric(),this.tokens.shift();this.consume(">")}parseCommaList(e,t){const n=[];for(this.tokens.length<=0&&Bt("Invalid type tag.");this.tokens[0][1]!==e&&(n.push(this.parseTypeTag()),!(this.tokens.length>0&&this.tokens[0][1]===e||(this.consume(","),this.tokens.length>0&&this.tokens[0][1]===e&&t)));)this.tokens.length<=0&&Bt("Invalid type tag.");return n}parseTypeTag(){this.tokens.length===0&&Bt("Invalid type tag.");const[e,t]=this.tokens.shift();if(t==="u8")return new _t;if(t==="u16")return new hn;if(t==="u32")return new xn;if(t==="u64")return new jt;if(t==="u128")return new Gt;if(t==="u256")return new pn;if(t==="bool")return new qt;if(t==="address")return new $t;if(t==="vector"){this.consume("<");const n=this.parseTypeTag();return this.consume(">"),new yn(n)}if(t==="string")return new kt(Vs);if(e==="IDENT"&&(t.startsWith("0x")||t.startsWith("0X"))){const n=me.fromHex(t);this.consume("::");const[r,i]=this.tokens.shift();r!=="IDENT"&&Bt("Invalid type tag."),this.consume("::");const[a,c]=this.tokens.shift();if(a!=="IDENT"&&Bt("Invalid type tag."),me.CORE_CODE_ADDRESS.toHexString()===n.toHexString()&&i==="object"&&c==="Object")return this.consumeWholeGeneric(),new $t;let d=[];this.tokens.length>0&&this.tokens[0][1]==="<"&&(this.consume("<"),d=this.parseCommaList(">",!0),this.consume(">"));const h=new Lt(n,new De(i),new De(c),d);return new kt(h)}if(e==="GENERIC"){this.typeTags.length===0&&Bt("Can't convert generic type since no typeTags were specified.");const n=parseInt(t.substring(1),10);return new bn(this.typeTags[n]).parseTypeTag()}throw new Error("Invalid type tag.")}},ga=class extends Error{constructor(e){super(e),this.name="TypeTagParserError"}},Kt=class{constructor(e,t,n,r,i,a,c){this.sender=e,this.sequence_number=t,this.payload=n,this.max_gas_amount=r,this.gas_unit_price=i,this.expiration_timestamp_secs=a,this.chain_id=c}serialize(e){this.sender.serialize(e),e.serializeU64(this.sequence_number),this.payload.serialize(e),e.serializeU64(this.max_gas_amount),e.serializeU64(this.gas_unit_price),e.serializeU64(this.expiration_timestamp_secs),this.chain_id.serialize(e)}static deserialize(e){const t=me.deserialize(e),n=e.deserializeU64(),r=Nn.deserialize(e),i=e.deserializeU64(),a=e.deserializeU64(),c=e.deserializeU64(),d=Ir.deserialize(e);return new Kt(t,n,r,i,a,c,d)}},Er=class{constructor(e,t,n){this.code=e,this.ty_args=t,this.args=n}serialize(e){e.serializeBytes(this.code),Pe(this.ty_args,e),Pe(this.args,e)}static deserialize(e){const t=e.deserializeBytes(),n=Ye(e,Me),r=Ye(e,dt);return new Er(t,n,r)}},Nt=class{constructor(e,t,n,r){this.module_name=e,this.function_name=t,this.ty_args=n,this.args=r}static natural(e,t,n,r){return new Nt(Rt.fromStr(e),new De(t),n,r)}static natual(e,t,n,r){return Nt.natural(e,t,n,r)}serialize(e){this.module_name.serialize(e),this.function_name.serialize(e),Pe(this.ty_args,e),e.serializeU32AsUleb128(this.args.length),this.args.forEach(t=>{e.serializeBytes(t)})}static deserialize(e){const t=Rt.deserialize(e),n=De.deserialize(e),r=Ye(e,Me),i=e.deserializeUleb128AsU32(),a=[];for(let d=0;di.toLowerCase()).join(" "),{key:r}=Fu(e,Ro(Bo(n)));return new ir(r)}constructor(e,t){e?this.signingKey=Vn.sign.keyPair.fromSeed(e.slice(0,32)):this.signingKey=Vn.sign.keyPair(),this.accountAddress=j.ensure(t||this.authKey().hex())}address(){return this.accountAddress}authKey(){const e=new st(this.signingKey.publicKey);return Pt.fromEd25519PublicKey(e).derivedAddress()}static getResourceAccountAddress(e,t){const n=bt(me.fromHex(e)),r=new Uint8Array([...n,...t,Pt.DERIVE_RESOURCE_ACCOUNT_SCHEME]),i=an.create();return i.update(r),j.fromUint8Array(i.digest())}static getCollectionID(e,t){const n=new TextEncoder().encode(`${e}::${t}`),r=qc.create();return r.update(n),j.fromUint8Array(r.digest())}pubKey(){return j.fromUint8Array(this.signingKey.publicKey)}signBuffer(e){const t=Vn.sign.detached(e,this.signingKey.secretKey);return j.fromUint8Array(t)}signHexString(e){const t=j.ensure(e).toUint8Array();return this.signBuffer(t)}verifySignature(e,t){const n=j.ensure(e).toUint8Array(),r=j.ensure(t).toUint8Array();return Vn.sign.detached.verify(n,r,this.signingKey.publicKey)}toPrivateKeyObject(){return{address:this.address().hex(),publicKeyHex:this.pubKey().hex(),privateKeyHex:j.fromUint8Array(this.signingKey.secretKey.slice(0,32)).hex()}}},ur=ir;Te([gr()],ur.prototype,"authKey",1);function Zn(e){return e instanceof ur?e.address():j.ensure(e)}var Dn=` - fragment CurrentTokenOwnershipFields on current_token_ownerships_v2 { - token_standard - token_properties_mutated_v1 - token_data_id - table_type_v1 - storage_id - property_version_v1 - owner_address - last_transaction_version - last_transaction_timestamp - is_soulbound_v2 - is_fungible_v2 - amount - current_token_data { - collection_id - description - is_fungible_v2 - largest_property_version_v1 - last_transaction_timestamp - last_transaction_version - maximum - supply - token_data_id - token_name - token_properties - token_standard - token_uri - current_collection { - collection_id - collection_name - creator_address - current_supply - description - last_transaction_timestamp - last_transaction_version - max_supply - mutable_description - mutable_uri - table_handle_v1 - token_standard - total_minted_v2 - uri - } - } -} - `,wl=` - fragment TokenDataFields on current_token_datas { - creator_address - collection_name - description - metadata_uri - name - token_data_id_hash - collection_data_id_hash -} - `,gl=` - fragment CollectionDataFields on current_collection_datas { - metadata_uri - supply - description - collection_name - collection_data_id_hash - table_handle - creator_address -} - `,Aa=` - fragment TokenActivitiesFields on token_activities_v2 { - after_value - before_value - entry_function_id_str - event_account_address - event_index - from_address - is_fungible_v2 - property_version_v1 - to_address - token_amount - token_data_id - token_standard - transaction_timestamp - transaction_version - type -} - `,vl=` - query getAccountCoinsDataCount($address: String) { - current_fungible_asset_balances_aggregate( - where: {owner_address: {_eq: $address}} - ) { - aggregate { - count - } - } -} - `,ml=` - query getAccountCoinsData($where_condition: current_fungible_asset_balances_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_fungible_asset_balances_order_by!]) { - current_fungible_asset_balances( - where: $where_condition - offset: $offset - limit: $limit - order_by: $order_by - ) { - amount - asset_type - is_frozen - is_primary - last_transaction_timestamp - last_transaction_version - owner_address - storage_id - token_standard - metadata { - token_standard - symbol - supply_aggregator_table_key_v1 - supply_aggregator_table_handle_v1 - project_uri - name - last_transaction_version - last_transaction_timestamp - icon_uri - decimals - creator_address - asset_type - } - } -} - `,Al=` - query getAccountCurrentTokens($address: String!, $offset: Int, $limit: Int) { - current_token_ownerships( - where: {owner_address: {_eq: $address}, amount: {_gt: 0}} - order_by: [{last_transaction_version: desc}, {creator_address: asc}, {collection_name: asc}, {name: asc}] - offset: $offset - limit: $limit - ) { - amount - current_token_data { - ...TokenDataFields - } - current_collection_data { - ...CollectionDataFields - } - last_transaction_version - property_version - } -} - ${wl} -${gl}`,El=` - query getAccountTokensCount($where_condition: current_token_ownerships_v2_bool_exp, $offset: Int, $limit: Int) { - current_token_ownerships_v2_aggregate( - where: $where_condition - offset: $offset - limit: $limit - ) { - aggregate { - count - } - } -} - `,Tl=` - query getAccountTransactionsCount($address: String) { - account_transactions_aggregate(where: {account_address: {_eq: $address}}) { - aggregate { - count - } - } -} - `,Ul=` - query getAccountTransactionsData($where_condition: account_transactions_bool_exp!, $offset: Int, $limit: Int, $order_by: [account_transactions_order_by!]) { - account_transactions( - where: $where_condition - order_by: $order_by - limit: $limit - offset: $offset - ) { - token_activities_v2 { - ...TokenActivitiesFields - } - transaction_version - account_address - } -} - ${Aa}`,Sl=` - query getCollectionData($where_condition: current_collections_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_collections_v2_order_by!]) { - current_collections_v2( - where: $where_condition - offset: $offset - limit: $limit - order_by: $order_by - ) { - collection_id - collection_name - creator_address - current_supply - description - last_transaction_timestamp - last_transaction_version - max_supply - mutable_description - mutable_uri - table_handle_v1 - token_standard - total_minted_v2 - uri - } -} - `,Bl=` - query getCollectionsWithOwnedTokens($where_condition: current_collection_ownership_v2_view_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_collection_ownership_v2_view_order_by!]) { - current_collection_ownership_v2_view( - where: $where_condition - offset: $offset - limit: $limit - order_by: $order_by - ) { - current_collection { - collection_id - collection_name - creator_address - current_supply - description - last_transaction_timestamp - last_transaction_version - mutable_description - max_supply - mutable_uri - table_handle_v1 - token_standard - total_minted_v2 - uri - } - collection_id - collection_name - collection_uri - creator_address - distinct_tokens - last_transaction_version - owner_address - single_token_uri - } -} - `,Il=` - query getCurrentObjects($where_condition: current_objects_bool_exp, $offset: Int, $limit: Int, $order_by: [current_objects_order_by!]) { - current_objects( - where: $where_condition - offset: $offset - limit: $limit - order_by: $order_by - ) { - allow_ungated_transfer - state_key_hash - owner_address - object_address - last_transaction_version - last_guid_creation_num - is_deleted - } -} - `,Cl=` - query getDelegatedStakingActivities($delegatorAddress: String, $poolAddress: String) { - delegated_staking_activities( - where: {delegator_address: {_eq: $delegatorAddress}, pool_address: {_eq: $poolAddress}} - ) { - amount - delegator_address - event_index - event_type - pool_address - transaction_version - } -} - `,$l=` - query getIndexerLedgerInfo { - ledger_infos { - chain_id - } -} - `,kl=` - query getNumberOfDelegators($poolAddress: String) { - num_active_delegator_per_pool( - where: {pool_address: {_eq: $poolAddress}, num_active_delegator: {_gt: "0"}} - distinct_on: pool_address - ) { - num_active_delegator - pool_address - } -} - `,Ll=` - query getOwnedTokens($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) { - current_token_ownerships_v2( - where: $where_condition - offset: $offset - limit: $limit - order_by: $order_by - ) { - ...CurrentTokenOwnershipFields - } -} - ${Dn}`,Ol=` - query getOwnedTokensByTokenData($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) { - current_token_ownerships_v2( - where: $where_condition - offset: $offset - limit: $limit - order_by: $order_by - ) { - ...CurrentTokenOwnershipFields - } -} - ${Dn}`,zl=` - query getTokenActivities($where_condition: token_activities_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [token_activities_v2_order_by!]) { - token_activities_v2( - where: $where_condition - order_by: $order_by - offset: $offset - limit: $limit - ) { - ...TokenActivitiesFields - } -} - ${Aa}`,Hl=` - query getTokenActivitiesCount($token_id: String) { - token_activities_v2_aggregate(where: {token_data_id: {_eq: $token_id}}) { - aggregate { - count - } - } -} - `,Nl=` - query getTokenCurrentOwnerData($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) { - current_token_ownerships_v2( - where: $where_condition - offset: $offset - limit: $limit - order_by: $order_by - ) { - ...CurrentTokenOwnershipFields - } -} - ${Dn}`,Rl=` - query getTokenData($where_condition: current_token_datas_v2_bool_exp, $offset: Int, $limit: Int, $order_by: [current_token_datas_v2_order_by!]) { - current_token_datas_v2( - where: $where_condition - offset: $offset - limit: $limit - order_by: $order_by - ) { - collection_id - description - is_fungible_v2 - largest_property_version_v1 - last_transaction_timestamp - last_transaction_version - maximum - supply - token_data_id - token_name - token_properties - token_standard - token_uri - current_collection { - collection_id - collection_name - creator_address - current_supply - description - last_transaction_timestamp - last_transaction_version - max_supply - mutable_description - mutable_uri - table_handle_v1 - token_standard - total_minted_v2 - uri - } - } -} - `,Pl=` - query getTokenOwnedFromCollection($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) { - current_token_ownerships_v2( - where: $where_condition - offset: $offset - limit: $limit - order_by: $order_by - ) { - ...CurrentTokenOwnershipFields - } -} - ${Dn}`,Dl=` - query getTokenOwnersData($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) { - current_token_ownerships_v2( - where: $where_condition - offset: $offset - limit: $limit - order_by: $order_by - ) { - ...CurrentTokenOwnershipFields - } -} - ${Dn}`,Ml=` - query getTopUserTransactions($limit: Int) { - user_transactions(limit: $limit, order_by: {version: desc}) { - version - } -} - `,Fl=` - query getUserTransactions($where_condition: user_transactions_bool_exp!, $offset: Int, $limit: Int, $order_by: [user_transactions_order_by!]) { - user_transactions( - order_by: $order_by - where: $where_condition - limit: $limit - offset: $offset - ) { - version - } -} - `;function Mr(e,t,n){if(!(t!=null&&t.includes(typeof e)))throw new Error(n||`Invalid arg: ${e} type should be ${t instanceof Array?t.join(" or "):t}`)}function Ea(e){if(Mr(e,["boolean","string"]),typeof e=="boolean")return e;if(e==="true")return!0;if(e==="false")return!1;throw new Error("Invalid boolean string.")}function nn(e){if(Mr(e,["number","string"]),typeof e=="number")return e;const t=Number.parseInt(e,10);if(Number.isNaN(t))throw new Error("Invalid number string.");return t}function rn(e){return Mr(e,["number","bigint","string"]),BigInt(e)}function ql(e,t,n){ti(e,t,n)}function ti(e,t,n,r){if(t instanceof qt)n.serializeBool(Ea(e));else if(t instanceof _t)n.serializeU8(nn(e));else if(t instanceof hn)n.serializeU16(nn(e));else if(t instanceof xn)n.serializeU32(nn(e));else if(t instanceof jt)n.serializeU64(rn(e));else if(t instanceof Gt)n.serializeU128(rn(e));else if(t instanceof pn)n.serializeU256(rn(e));else if(t instanceof $t)Ta(e,n);else if(t instanceof yn)jl(e,t,n);else if(t instanceof kt)Gl(e,t,n);else throw new Error("Unsupported arg type.")}function Ta(e,t){let n;if(typeof e=="string"||e instanceof j)n=me.fromHex(e);else if(e instanceof me)n=e;else throw new Error("Invalid account address.");n.serialize(t)}function jl(e,t,n,r){if(t.value instanceof _t){if(e instanceof Uint8Array){n.serializeBytes(e);return}if(e instanceof j){n.serializeBytes(e.toUint8Array());return}if(typeof e=="string"){n.serializeStr(e);return}}if(!Array.isArray(e))throw new Error("Invalid vector args.");n.serializeU32AsUleb128(e.length),e.forEach(i=>ti(i,t.value,n))}function Gl(e,t,n,r){const{address:i,module_name:a,name:c,type_args:d}=t.value,h=`${j.fromUint8Array(i.address).toShortString()}::${a.value}::${c.value}`;if(h==="0x1::string::String")Mr(e,["string"]),n.serializeStr(e);else if(h==="0x1::object::Object")Ta(e,n);else if(h==="0x1::option::Option"){if(d.length!==1)throw new Error(`Option has the wrong number of type arguments ${d.length}`);Kl(e,d[0],n)}else throw new Error("Unsupported struct type in function argument")}function Kl(e,t,n,r){e==null?n.serializeU32AsUleb128(0):(n.serializeU32AsUleb128(1),ti(e,t,n))}function Wl(e,t){if(t instanceof qt)return new Rr(Ea(e));if(t instanceof _t)return new Cr(nn(e));if(t instanceof hn)return new $r(nn(e));if(t instanceof xn)return new kr(nn(e));if(t instanceof jt)return new Lr(rn(e));if(t instanceof Gt)return new Or(rn(e));if(t instanceof pn)return new zr(rn(e));if(t instanceof $t){let n;if(typeof e=="string"||e instanceof j)n=me.fromHex(e);else if(e instanceof me)n=e;else throw new Error("Invalid account address.");return new Hr(n)}if(t instanceof yn&&t.value instanceof _t){if(!(e instanceof Uint8Array))throw new Error(`${e} should be an instance of Uint8Array`);return new Nr(e)}throw new Error("Unknown type for TransactionArgument.")}var Yl="APTOS::RawTransaction",Ji="APTOS::RawTransactionWithData",In=class{constructor(e,t){this.rawTxnBuilder=t,this.signingFunction=e}build(e,t,n){if(!this.rawTxnBuilder)throw new Error("this.rawTxnBuilder doesn't exist.");return this.rawTxnBuilder.build(e,t,n)}static getSigningMessage(e){const t=an.create();if(e instanceof Kt)t.update(Yl);else if(e instanceof Tr)t.update(Ji);else if(e instanceof Ur)t.update(Ji);else throw new Error("Unknown transaction type.");const n=t.digest(),r=bt(e),i=new Uint8Array(n.length+r.length);return i.set(n),i.set(r,n.length),i}},_s=class extends In{constructor(e,t,n){super(e,n),this.publicKey=t}rawToSigned(e){const t=In.getSigningMessage(e),n=this.signingFunction(t),r=new mr(new st(this.publicKey),n);return new Hn(e,r)}sign(e){return bt(this.rawToSigned(e))}},Vl=class extends In{constructor(e,t){super(e),this.publicKey=t}rawToSigned(e){const t=In.getSigningMessage(e),n=this.signingFunction(t),r=new Ar(this.publicKey,n);return new Hn(e,r)}sign(e){return bt(this.rawToSigned(e))}},Bs=class{constructor(e,t){this.abiMap=new Map,e.forEach(n=>{const r=new qs(n),i=Pr.deserialize(r);let a;if(i instanceof un){const c=i,{address:d,name:h}=c.module_name;a=`${j.fromUint8Array(d.address).toShortString()}::${h.value}::${c.name}`}else a=i.name;if(this.abiMap.has(a))throw new Error("Found conflicting ABI interfaces");this.abiMap.set(a,i)}),this.builderConfig={maxGasAmount:BigInt(ha),expSecFromNow:xa,...t}}static toBCSArgs(e,t){if(e.length!==t.length)throw new Error("Wrong number of args provided.");return t.map((n,r)=>{const i=new Ie;return ql(n,e[r].type_tag,i),i.getBytes()})}static toTransactionArguments(e,t){if(e.length!==t.length)throw new Error("Wrong number of args provided.");return t.map((n,r)=>Wl(n,e[r].type_tag))}setSequenceNumber(e){this.builderConfig.sequenceNumber=BigInt(e)}buildTransactionPayload(e,t,n){const r=t.map(c=>new bn(c).parseTypeTag());let i;if(!this.abiMap.has(e))throw new Error(`Cannot find function: ${e}`);const a=this.abiMap.get(e);if(a instanceof un){const c=a,d=Bs.toBCSArgs(c.args,n);i=new Br(new Nt(c.module_name,new De(c.name),r,d))}else if(a instanceof Dr){const c=a,d=Bs.toTransactionArguments(c.args,n);i=new Sr(new Er(c.code,r,d))}else throw new Error("Unknown ABI format.");return i}build(e,t,n){const{sender:r,sequenceNumber:i,gasUnitPrice:a,maxGasAmount:c,expSecFromNow:d,chainId:h}=this.builderConfig;if(!a)throw new Error("No gasUnitPrice provided.");const y=r instanceof me?r:me.fromHex(r),b=BigInt(Math.floor(Date.now()/1e3)+Number(d)),p=this.buildTransactionPayload(e,t,n);if(p)return new Kt(y,BigInt(i),p,BigInt(c),BigInt(a),b,new Ir(Number(h)));throw new Error("Invalid ABI.")}},Fr=class{constructor(e,t){this.aptosClient=e,this.builderConfig=t}async fetchABI(e){const n=(await this.aptosClient.getAccountModules(e)).map(i=>i.abi).flatMap(i=>i.exposed_functions.filter(a=>a.is_entry).map(a=>({fullName:`${i.address}::${i.name}::${a.name}`,...a}))),r=new Map;return n.forEach(i=>{r.set(i.fullName,i)}),r}async build(e,t,n){if(e=($=>$.replace(/^0[xX]0*/g,"0x"))(e),e.split("::").length!==3)throw new Error("'func' needs to be a fully qualified function name in format
::::, e.g. 0x1::coin::transfer");const[a,c]=e.split("::"),d=await this.fetchABI(a);if(!d.has(e))throw new Error(`${e} doesn't exist.`);const h=d.get(e),b=h.params.filter($=>$!=="signer"&&$!=="&signer").map(($,I)=>new Pn(`var${I}`,new bn($,t).parseTypeTag())),p=new un(h.name,Rt.fromStr(`${a}::${c}`),"",h.generic_type_params.map(($,I)=>new Rn(`${I}`)),b),{sender:w,...U}=this.builderConfig,O=w instanceof me?j.fromUint8Array(w.address):w,[{sequence_number:z},L,{gas_estimate:Q}]=await Promise.all([U!=null&&U.sequenceNumber?Promise.resolve({sequence_number:U==null?void 0:U.sequenceNumber}):this.aptosClient.getAccount(O),U!=null&&U.chainId?Promise.resolve(U==null?void 0:U.chainId):this.aptosClient.getChainId(),U!=null&&U.gasUnitPrice?Promise.resolve({gas_estimate:U==null?void 0:U.gasUnitPrice}):this.aptosClient.estimateGasPrice()]);return new Bs([bt(p)],{sender:w,sequenceNumber:z,chainId:L,gasUnitPrice:BigInt(Q),...U}).build(e,t,n)}};Te([pa(10*60*1e3)],Fr.prototype,"fetchABI",1);var en=class{constructor(e,t,n=!1){if(!e)throw new Error("Node URL cannot be empty.");n?this.nodeUrl=e:this.nodeUrl=Gu(e),this.config=t==null?{}:{...t}}async getAccount(e){const{data:t}=await Ve({url:this.nodeUrl,endpoint:`accounts/${j.ensure(e).hex()}`,originMethod:"getAccount",overrides:{...this.config}});return t}async getAccountTransactions(e,t){const{data:n}=await Ve({url:this.nodeUrl,endpoint:`accounts/${j.ensure(e).hex()}/transactions`,originMethod:"getAccountTransactions",params:{start:t==null?void 0:t.start,limit:t==null?void 0:t.limit},overrides:{...this.config}});return n}async getAccountModules(e,t){return await Yi({url:this.nodeUrl,endpoint:`accounts/${e}/modules`,params:{ledger_version:t==null?void 0:t.ledgerVersion,limit:1e3},originMethod:"getAccountModules",overrides:{...this.config}})}async getAccountModule(e,t,n){const{data:r}=await Ve({url:this.nodeUrl,endpoint:`accounts/${j.ensure(e).hex()}/module/${t}`,originMethod:"getAccountModule",params:{ledger_version:n==null?void 0:n.ledgerVersion},overrides:{...this.config}});return r}async getAccountResources(e,t){return await Yi({url:this.nodeUrl,endpoint:`accounts/${e}/resources`,params:{ledger_version:t==null?void 0:t.ledgerVersion,limit:9999},originMethod:"getAccountResources",overrides:{...this.config}})}async getAccountResource(e,t,n){const{data:r}=await Ve({url:this.nodeUrl,endpoint:`accounts/${j.ensure(e).hex()}/resource/${t}`,originMethod:"getAccountResource",params:{ledger_version:n==null?void 0:n.ledgerVersion},overrides:{...this.config}});return r}static generateBCSTransaction(e,t){return new _s(r=>{const i=e.signBuffer(r);return new Se.Ed25519Signature(i.toUint8Array())},e.pubKey().toUint8Array()).sign(t)}static generateBCSSimulation(e,t){return new _s(r=>{const i=new Uint8Array(64);return new Se.Ed25519Signature(i)},e.pubKey().toUint8Array()).sign(t)}async generateTransaction(e,t,n){const r={sender:e};if(n!=null&&n.sequence_number&&(r.sequenceNumber=n.sequence_number),n!=null&&n.gas_unit_price&&(r.gasUnitPrice=n.gas_unit_price),n!=null&&n.max_gas_amount&&(r.maxGasAmount=n.max_gas_amount),n!=null&&n.expiration_timestamp_secs){const a=Number.parseInt(n.expiration_timestamp_secs,10);r.expSecFromNow=a-Math.floor(Date.now()/1e3)}return new Fr(this,r).build(t.function,t.type_arguments,t.arguments)}async generateFeePayerTransaction(e,t,n,r=[],i){const a=await this.generateTransaction(e,t,i),c=r.map(h=>me.fromHex(h));return new Se.FeePayerRawTransaction(a,c,me.fromHex(n))}async submitFeePayerTransaction(e,t,n,r=[]){const i=new Se.TransactionAuthenticatorFeePayer(t,e.secondary_signer_addresses,r,{address:e.fee_payer_address,authenticator:n}),a=bt(new Se.SignedTransaction(e.raw_txn,i));return await this.submitSignedBCSTransaction(a)}async signMultiTransaction(e,t){const n=new Se.Ed25519Signature(e.signBuffer(In.getSigningMessage(t)).toUint8Array()),r=new Se.AccountAuthenticatorEd25519(new Se.Ed25519PublicKey(e.signingKey.publicKey),n);return Promise.resolve(r)}async signTransaction(e,t){return Promise.resolve(en.generateBCSTransaction(e,t))}async getEventsByCreationNumber(e,t,n){const{data:r}=await Ve({url:this.nodeUrl,endpoint:`accounts/${j.ensure(e).hex()}/events/${t}`,originMethod:"getEventsByCreationNumber",params:{start:n==null?void 0:n.start,limit:n==null?void 0:n.limit},overrides:{...this.config}});return r}async getEventsByEventHandle(e,t,n,r){const{data:i}=await Ve({url:this.nodeUrl,endpoint:`accounts/${j.ensure(e).hex()}/events/${t}/${n}`,originMethod:"getEventsByEventHandle",params:{start:r==null?void 0:r.start,limit:r==null?void 0:r.limit},overrides:{...this.config}});return i}async submitTransaction(e){return this.submitSignedBCSTransaction(e)}async simulateTransaction(e,t,n){let r;return e instanceof ur?r=en.generateBCSSimulation(e,t):e instanceof zn?r=new Vl(()=>{const{threshold:a}=e,c=[],d=[];for(let y=0;y{const a=new Uint8Array(64);return new Se.Ed25519Signature(a)},e.toBytes()).sign(t),this.submitBCSSimulation(r,n)}async submitSignedBCSTransaction(e){const{data:t}=await Tn({url:this.nodeUrl,body:e,endpoint:"transactions",originMethod:"submitSignedBCSTransaction",contentType:"application/x.aptos.signed_transaction+bcs",overrides:{...this.config}});return t}async submitBCSSimulation(e,t){var n,r,i;const a={estimate_gas_unit_price:(n=t==null?void 0:t.estimateGasUnitPrice)!=null?n:!1,estimate_max_gas_amount:(r=t==null?void 0:t.estimateMaxGasAmount)!=null?r:!1,estimate_prioritized_gas_unit_price:(i=t==null?void 0:t.estimatePrioritizedGasUnitPrice)!=null?i:!1},{data:c}=await Tn({url:this.nodeUrl,body:e,endpoint:"transactions/simulate",params:a,originMethod:"submitBCSSimulation",contentType:"application/x.aptos.signed_transaction+bcs",overrides:{...this.config}});return c}async getTransactions(e){var t;const{data:n}=await Ve({url:this.nodeUrl,endpoint:"transactions",originMethod:"getTransactions",params:{start:(t=e==null?void 0:e.start)==null?void 0:t.toString(),limit:e==null?void 0:e.limit},overrides:{...this.config}});return n}async getTransactionByHash(e){const{data:t}=await Ve({url:this.nodeUrl,endpoint:`transactions/by_hash/${e}`,originMethod:"getTransactionByHash",overrides:{...this.config}});return t}async getTransactionByVersion(e){const{data:t}=await Ve({url:this.nodeUrl,endpoint:`transactions/by_version/${e}`,originMethod:"getTransactionByVersion",overrides:{...this.config}});return t}async transactionPending(e){try{return(await this.getTransactionByHash(e)).type==="pending_transaction"}catch(t){if((t==null?void 0:t.status)===404)return!0;throw t}}async waitForTransactionWithResult(e,t){var n,r;const i=(n=t==null?void 0:t.timeoutSecs)!=null?n:Ku,a=(r=t==null?void 0:t.checkSuccess)!=null?r:!1;let c=!0,d=0,h;for(;c&&!(d>=i);){try{if(h=await this.getTransactionByHash(e),c=h.type==="pending_transaction",!c)break}catch(y){const b=y instanceof ni,p=b&&y.status!==404&&y.status>=400&&y.status<500;if(!b||p)throw y}await ju(1e3),d+=1}if(h===void 0)throw new Error(`Waiting for transaction ${e} failed`);if(c)throw new Xl(`Waiting for transaction ${e} timed out after ${i} seconds`,h);if(!a)return h;if(!(h!=null&&h.success))throw new Ql(`Transaction ${e} failed with an error: ${h.vm_status}`,h);return h}async waitForTransaction(e,t){await this.waitForTransactionWithResult(e,t)}async getLedgerInfo(){const{data:e}=await Ve({url:this.nodeUrl,originMethod:"getLedgerInfo",overrides:{...this.config}});return e}async getChainId(){return(await this.getLedgerInfo()).chain_id}async getTableItem(e,t,n){var r;return(await Tn({url:this.nodeUrl,body:t,endpoint:`tables/${e}/item`,originMethod:"getTableItem",params:{ledger_version:(r=n==null?void 0:n.ledgerVersion)==null?void 0:r.toString()},overrides:{...this.config}})).data}async generateRawTransaction(e,t,n){const[{sequence_number:r},i,{gas_estimate:a}]=await Promise.all([n!=null&&n.providedSequenceNumber?Promise.resolve({sequence_number:n.providedSequenceNumber}):this.getAccount(e),this.getChainId(),n!=null&&n.gasUnitPrice?Promise.resolve({gas_estimate:n.gasUnitPrice}):this.estimateGasPrice()]),{maxGasAmount:c,gasUnitPrice:d,expireTimestamp:h}={maxGasAmount:BigInt(ha),gasUnitPrice:BigInt(a),expireTimestamp:BigInt(Math.floor(Date.now()/1e3)+xa),...n};return new Se.RawTransaction(Se.AccountAddress.fromHex(e),BigInt(r),t,c,d,h,new Se.ChainId(i))}async generateSignSubmitTransaction(e,t,n){const r=await this.generateRawTransaction(e.address(),t,n),i=en.generateBCSTransaction(e,r);return(await this.submitSignedBCSTransaction(i)).hash}async signAndSubmitTransaction(e,t){const n=en.generateBCSTransaction(e,t);return(await this.submitSignedBCSTransaction(n)).hash}async publishPackage(e,t,n,r){const i=new Ie;Pe(n,i);const a=new Se.TransactionPayloadEntryFunction(Se.EntryFunction.natural("0x1::code","publish_package_txn",[],[St(t),i.getBytes()]));return this.generateSignSubmitTransaction(e,a,r)}async createResourceAccountAndPublishPackage(e,t,n,r,i){const a=new Ie;Pe(r,a);const c=new Se.TransactionPayloadEntryFunction(Se.EntryFunction.natural("0x1::resource_account","create_resource_account_and_publish_package",[],[St(t),St(n),a.getBytes()]));return this.generateSignSubmitTransaction(e,c,i)}async generateSignSubmitWaitForTransaction(e,t,n){const r=await this.generateSignSubmitTransaction(e,t,n);return this.waitForTransactionWithResult(r,n)}async estimateGasPrice(){const{data:e}=await Ve({url:this.nodeUrl,endpoint:"estimate_gas_price",originMethod:"estimateGasPrice",overrides:{...this.config}});return e}async estimateMaxGasAmount(e){const t=`0x1::coin::CoinStore<${Es}>`,[{gas_estimate:n},r]=await Promise.all([this.estimateGasPrice(),this.getAccountResources(e)]),i=r.find(c=>c.type===t);return BigInt(i.data.coin.value)/BigInt(n)}async rotateAuthKeyEd25519(e,t,n){const{sequence_number:r,authentication_key:i}=await this.getAccount(e.address()),a=new ur(t),c=new Se.RotationProofChallenge(Se.AccountAddress.CORE_CODE_ADDRESS,"account","RotationProofChallenge",BigInt(r),Se.AccountAddress.fromHex(e.address()),new Se.AccountAddress(new j(i).toUint8Array()),a.pubKey().toUint8Array()),d=j.fromUint8Array(bt(c)),h=e.signHexString(d),y=a.signHexString(d),b=new Se.TransactionPayloadEntryFunction(Se.EntryFunction.natural("0x1::account","rotate_authentication_key",[],[Us(0),St(e.pubKey().toUint8Array()),Us(0),St(a.pubKey().toUint8Array()),St(h.toUint8Array()),St(y.toUint8Array())])),p=await this.generateRawTransaction(e.address(),b,n),w=en.generateBCSTransaction(e,p);return this.submitSignedBCSTransaction(w)}async lookupOriginalAddress(e){const t=await this.getAccountResource("0x1","0x1::account::OriginatingAddress"),{address_map:{handle:n}}=t.data,r=await this.getTableItem(n,{key_type:"address",value_type:"address",key:j.ensure(e).hex()});return new j(r)}async getBlockByHeight(e,t){const{data:n}=await Ve({url:this.nodeUrl,endpoint:`blocks/by_height/${e}`,originMethod:"getBlockByHeight",params:{with_transactions:t},overrides:{...this.config}});return n}async getBlockByVersion(e,t){const{data:n}=await Ve({url:this.nodeUrl,endpoint:`blocks/by_version/${e}`,originMethod:"getBlockByVersion",params:{with_transactions:t},overrides:{...this.config}});return n}async view(e,t){const{data:n}=await Tn({url:this.nodeUrl,body:e,endpoint:"view",originMethod:"getTableItem",params:{ledger_version:t},overrides:{...this.config}});return n}clearCache(e){Wu(e)}},Be=en;Te([ze],Be.prototype,"getAccount",1);Te([ze],Be.prototype,"getAccountTransactions",1);Te([ze,pa(10*60*1e3)],Be.prototype,"getAccountModules",1);Te([ze],Be.prototype,"getAccountModule",1);Te([ze],Be.prototype,"getAccountResources",1);Te([ze],Be.prototype,"getAccountResource",1);Te([ze],Be.prototype,"getEventsByCreationNumber",1);Te([ze],Be.prototype,"getEventsByEventHandle",1);Te([ze],Be.prototype,"submitSignedBCSTransaction",1);Te([ze],Be.prototype,"submitBCSSimulation",1);Te([ze],Be.prototype,"getTransactions",1);Te([ze],Be.prototype,"getTransactionByHash",1);Te([ze],Be.prototype,"getTransactionByVersion",1);Te([ze],Be.prototype,"getLedgerInfo",1);Te([gr()],Be.prototype,"getChainId",1);Te([ze],Be.prototype,"getTableItem",1);Te([ze,gr({ttlMs:5*60*1e3,tags:["gas_estimates"]})],Be.prototype,"estimateGasPrice",1);Te([ze],Be.prototype,"estimateMaxGasAmount",1);Te([ze],Be.prototype,"getBlockByHeight",1);Te([ze],Be.prototype,"getBlockByVersion",1);Te([ze],Be.prototype,"view",1);var Xl=class extends Error{constructor(e,t){super(e),this.lastSubmittedTransaction=t}},Ql=class extends Error{constructor(e,t){super(e),this.transaction=t}},ni=class extends Error{constructor(e,t,n,r){super(t),this.status=e,this.message=t,this.errorCode=n,this.vmErrorCode=r}};function ze(e,t,n){const r=n.value;return n.value=async function(...a){var c,d;try{return await r.apply(this,[...a])}catch(h){throw h instanceof ya?new ni(h.status,JSON.stringify({message:h.message,...h.data}),(c=h.data)==null?void 0:c.error_code,(d=h.data)==null?void 0:d.vm_error_code):h}},n}var Le=class{constructor(e,t){this.endpoint=e,this.config=t}static validateAddress(e){if(e.length<66)throw new Error(`${e} is less than 66 chars long.`)}async queryIndexer(e){const t=await Tn({url:this.endpoint,body:e,overrides:{WITH_CREDENTIALS:!1,...this.config}});if(t.data.errors)throw new ni(t.data.errors[0].extensions.code,JSON.stringify({message:t.data.errors[0].message,error_code:t.data.errors[0].extensions.code}));return t.data.data}async getIndexerLedgerInfo(){const e={query:$l};return this.queryIndexer(e)}async getAccountNFTs(e,t){const n=j.ensure(e).hex();Le.validateAddress(n);const r={query:Al,variables:{address:n,offset:t==null?void 0:t.offset,limit:t==null?void 0:t.limit}};return this.queryIndexer(r)}async getTokenActivities(e,t){var n,r;const i=j.ensure(e).hex();Le.validateAddress(i);const a={token_data_id:{_eq:i}};t!=null&&t.tokenStandard&&(a.token_standard={_eq:t==null?void 0:t.tokenStandard});const c={query:zl,variables:{where_condition:a,offset:(n=t==null?void 0:t.options)==null?void 0:n.offset,limit:(r=t==null?void 0:t.options)==null?void 0:r.limit,order_by:t==null?void 0:t.orderBy}};return this.queryIndexer(c)}async getTokenActivitiesCount(e){const t={query:Hl,variables:{token_id:e}};return this.queryIndexer(t)}async getAccountTokensCount(e,t){var n,r;const i={owner_address:{_eq:e},amount:{_gt:"0"}};t!=null&&t.tokenStandard&&(i.token_standard={_eq:t==null?void 0:t.tokenStandard});const a=j.ensure(e).hex();Le.validateAddress(a);const c={query:El,variables:{where_condition:i,offset:(n=t==null?void 0:t.options)==null?void 0:n.offset,limit:(r=t==null?void 0:t.options)==null?void 0:r.limit}};return this.queryIndexer(c)}async getTokenData(e,t){var n,r;const i=j.ensure(e).hex();Le.validateAddress(i);const a={token_data_id:{_eq:i}};t!=null&&t.tokenStandard&&(a.token_standard={_eq:t==null?void 0:t.tokenStandard});const c={query:Rl,variables:{where_condition:a,offset:(n=t==null?void 0:t.options)==null?void 0:n.offset,limit:(r=t==null?void 0:t.options)==null?void 0:r.limit,order_by:t==null?void 0:t.orderBy}};return this.queryIndexer(c)}async getTokenOwnersData(e,t,n){var r,i;const a=j.ensure(e).hex();Le.validateAddress(a);const c={token_data_id:{_eq:a},amount:{_gt:"0"}};t&&(c.property_version_v1={_eq:t}),n!=null&&n.tokenStandard&&(c.token_standard={_eq:n==null?void 0:n.tokenStandard});const d={query:Dl,variables:{where_condition:c,offset:(r=n==null?void 0:n.options)==null?void 0:r.offset,limit:(i=n==null?void 0:n.options)==null?void 0:i.limit,order_by:n==null?void 0:n.orderBy}};return this.queryIndexer(d)}async getTokenCurrentOwnerData(e,t,n){var r,i;const a=j.ensure(e).hex();Le.validateAddress(a);const c={token_data_id:{_eq:a},amount:{_gt:"0"}};t&&(c.property_version_v1={_eq:t}),n!=null&&n.tokenStandard&&(c.token_standard={_eq:n==null?void 0:n.tokenStandard});const d={query:Nl,variables:{where_condition:c,offset:(r=n==null?void 0:n.options)==null?void 0:r.offset,limit:(i=n==null?void 0:n.options)==null?void 0:i.limit,order_by:n==null?void 0:n.orderBy}};return this.queryIndexer(d)}async getOwnedTokens(e,t){var n,r;const i=j.ensure(e).hex();Le.validateAddress(i);const a={owner_address:{_eq:i},amount:{_gt:0}};t!=null&&t.tokenStandard&&(a.token_standard={_eq:t==null?void 0:t.tokenStandard});const c={query:Ll,variables:{where_condition:a,offset:(n=t==null?void 0:t.options)==null?void 0:n.offset,limit:(r=t==null?void 0:t.options)==null?void 0:r.limit,order_by:t==null?void 0:t.orderBy}};return this.queryIndexer(c)}async getOwnedTokensByTokenData(e,t){var n,r;const i=j.ensure(e).hex();Le.validateAddress(i);const a={token_data_id:{_eq:i},amount:{_gt:0}};t!=null&&t.tokenStandard&&(a.token_standard={_eq:t==null?void 0:t.tokenStandard});const c={query:Ol,variables:{where_condition:a,offset:(n=t==null?void 0:t.options)==null?void 0:n.offset,limit:(r=t==null?void 0:t.options)==null?void 0:r.limit,order_by:t==null?void 0:t.orderBy}};return this.queryIndexer(c)}async getTokenOwnedFromCollectionAddress(e,t,n){var r,i;const a=j.ensure(e).hex();Le.validateAddress(a);const c=j.ensure(t).hex();Le.validateAddress(c);const d={owner_address:{_eq:a},current_token_data:{collection_id:{_eq:c}},amount:{_gt:0}};n!=null&&n.tokenStandard&&(d.token_standard={_eq:n==null?void 0:n.tokenStandard});const h={query:Pl,variables:{where_condition:d,offset:(r=n==null?void 0:n.options)==null?void 0:r.offset,limit:(i=n==null?void 0:n.options)==null?void 0:i.limit,order_by:n==null?void 0:n.orderBy}};return this.queryIndexer(h)}async getTokenOwnedFromCollectionNameAndCreatorAddress(e,t,n,r){const i=await this.getCollectionAddress(n,t,r);return await this.getTokenOwnedFromCollectionAddress(e,i,r)}async getCollectionData(e,t,n){var r,i;const a=j.ensure(e).hex();Le.validateAddress(a);const c={collection_name:{_eq:t},creator_address:{_eq:a}};n!=null&&n.tokenStandard&&(c.token_standard={_eq:n==null?void 0:n.tokenStandard});const d={query:Sl,variables:{where_condition:c,offset:(r=n==null?void 0:n.options)==null?void 0:r.offset,limit:(i=n==null?void 0:n.options)==null?void 0:i.limit,order_by:n==null?void 0:n.orderBy}};return this.queryIndexer(d)}async getCollectionAddress(e,t,n){return(await this.getCollectionData(e,t,n)).current_collections_v2[0].collection_id}async getCollectionsWithOwnedTokens(e,t){var n,r;const i=j.ensure(e).hex();Le.validateAddress(i);const a={owner_address:{_eq:i}};t!=null&&t.tokenStandard&&(a.current_collection={token_standard:{_eq:t==null?void 0:t.tokenStandard}});const c={query:Bl,variables:{where_condition:a,offset:(n=t==null?void 0:t.options)==null?void 0:n.offset,limit:(r=t==null?void 0:t.options)==null?void 0:r.limit,order_by:t==null?void 0:t.orderBy}};return this.queryIndexer(c)}async getAccountTransactionsCount(e){const t=j.ensure(e).hex();Le.validateAddress(t);const n={query:Tl,variables:{address:t}};return this.queryIndexer(n)}async getAccountTransactionsData(e,t){var n,r;const i=j.ensure(e).hex();Le.validateAddress(i);const c={query:Ul,variables:{where_condition:{account_address:{_eq:i}},offset:(n=t==null?void 0:t.options)==null?void 0:n.offset,limit:(r=t==null?void 0:t.options)==null?void 0:r.limit,order_by:t==null?void 0:t.orderBy}};return this.queryIndexer(c)}async getTopUserTransactions(e){const t={query:Ml,variables:{limit:e}};return this.queryIndexer(t)}async getUserTransactions(e){var t,n;const r={version:{_lte:e==null?void 0:e.startVersion}},i={query:Fl,variables:{where_condition:r,offset:(t=e==null?void 0:e.options)==null?void 0:t.offset,limit:(n=e==null?void 0:e.options)==null?void 0:n.limit,order_by:e==null?void 0:e.orderBy}};return this.queryIndexer(i)}async getDelegatedStakingActivities(e,t){const n=j.ensure(e).hex(),r=j.ensure(t).hex();Le.validateAddress(n),Le.validateAddress(r);const i={query:Cl,variables:{delegatorAddress:n,poolAddress:r}};return this.queryIndexer(i)}async getNumberOfDelegators(e){const t=j.ensure(e).hex();Le.validateAddress(t);const n={query:kl,variables:{poolAddress:t}};return this.queryIndexer(n)}async getAccountCoinsData(e,t){var n,r;const i=j.ensure(e).hex();Le.validateAddress(i);const c={query:ml,variables:{where_condition:{owner_address:{_eq:i}},offset:(n=t==null?void 0:t.options)==null?void 0:n.offset,limit:(r=t==null?void 0:t.options)==null?void 0:r.limit,order_by:t==null?void 0:t.orderBy}};return this.queryIndexer(c)}async getAccountCoinsDataCount(e){const t=j.ensure(e).hex();Le.validateAddress(t);const n={query:vl,variables:{address:t}};return this.queryIndexer(n)}async getAccountOwnedObjects(e,t){var n,r;const i=j.ensure(e).hex();Le.validateAddress(i);const c={query:Il,variables:{where_condition:{owner_address:{_eq:i}},offset:(n=t==null?void 0:t.options)==null?void 0:n.offset,limit:(r=t==null?void 0:t.options)==null?void 0:r.limit,order_by:t==null?void 0:t.orderBy}};return this.queryIndexer(c)}},lr=class{constructor(e,t,n=!1){let r=null,i=null;if(typeof e=="object"&&Jl(e)?(r=e.fullnodeUrl,i=e.indexerUrl,this.network="CUSTOM"):(r=Xu[e],i=Ts[e],this.network=e),this.network==="CUSTOM"&&!r)throw new Error("fullnode url is not provided");i&&(this.indexerClient=new Le(i,t)),this.aptosClient=new Be(r,t,n)}};function Ua(e,t,n){Object.getOwnPropertyNames(t.prototype).forEach(r=>{const i=Object.getOwnPropertyDescriptor(t.prototype,r);i&&(i.value=function(...a){return this[n][r](...a)},Object.defineProperty(e.prototype,r,i))}),Object.getOwnPropertyNames(t).forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);i&&(i.value=function(...a){return this[n][r](...a)},!e.hasOwnProperty.call(e,r)&&Object.defineProperty(e,r,i))})}Ua(lr,Be,"aptosClient");Ua(lr,Le,"indexerClient");function Jl(e){return e.fullnodeUrl!==void 0&&typeof e.fullnodeUrl=="string"}var Sa=class{constructor(e,t){this.type=e,this.value=t}},Ba=class{constructor(){this.data={}}setProperty(e,t){this.data[e]=t}};function Zl(e){let t;return e==="string"||e==="String"?t=new kt(Vs):t=new bn(e).parseTypeTag(),t}function Ia(e){const t=e.map.data,n=new Ba;return t.forEach(r=>{const{key:i}=r,a=r.value.value,c=r.value.type,d=Zl(c),h=ed(d,a),y=new Sa(c,h);n.setProperty(i,y)}),n}function ed(e,t){const n=new qs(new j(t).toUint8Array());let r="";return e instanceof _t?r=n.deserializeU8().toString():e instanceof jt?r=n.deserializeU64().toString():e instanceof Gt?r=n.deserializeU128().toString():e instanceof qt?r=n.deserializeBool()?"true":"false":e instanceof $t?r=j.fromUint8Array(n.deserializeFixedBytes(32)).hex():e instanceof kt&&e.isStringTypeTag()?r=n.deserializeStr():r=t,r}var td={};wr(td,{PropertyMap:()=>Ba,PropertyValue:()=>Sa,Token:()=>rd,TokenData:()=>nd});var nd=class{constructor(e,t,n,r,i,a,c,d){this.collection=e,this.description=t,this.name=n,this.maximum=r,this.supply=i,this.uri=a,this.default_properties=Ia(c),this.mutability_config=d}},rd=class{constructor(e,t,n){this.id=e,this.amount=t,this.token_properties=Ia(n)}},Zi=class{constructor(e){this.assetType="0x1::fungible_asset::Metadata",this.provider=e}async transfer(e,t,n,r,i){const a=await this.generateTransfer(e,t,n,r,i);return await this.provider.signAndSubmitTransaction(e,a)}async getPrimaryBalance(e,t){const n={function:"0x1::primary_fungible_store::balance",type_arguments:[this.assetType],arguments:[j.ensure(e).hex(),j.ensure(t).hex()]},r=await this.provider.view(n);return BigInt(r[0])}async generateTransfer(e,t,n,r,i){return await new Fr(this.provider,{sender:e.address(),...i}).build("0x1::primary_fungible_store::transfer",[this.assetType],[j.ensure(t).hex(),j.ensure(n).hex(),r])}},eo="0x1::aptos_account::transfer_coins",sd="0x1::coin::transfer",dd=class{constructor(e){this.aptosClient=e}async transfer(e,t,n,r){var i,a,c;const d=((i=r==null?void 0:r.coinType)!=null?i:"").toString().includes("::");if(r!=null&&r.coinType&&!d&&me.isValid(r.coinType)){console.warn("to transfer a fungible asset, use `FungibleAssetClient()` class for better support");const z=new lr({fullnodeUrl:this.aptosClient.nodeUrl,indexerUrl:(a=Ts[Vi[this.aptosClient.nodeUrl]])!=null?a:this.aptosClient.nodeUrl});return await new Zi(z).transfer(e,r==null?void 0:r.coinType,Zn(t),n)}const h=(c=r==null?void 0:r.coinType)!=null?c:Es;let y;(r==null?void 0:r.createReceiverIfMissing)===void 0?y=eo:y=r!=null&&r.createReceiverIfMissing?eo:sd;const b=Zn(t),w=await new Fr(this.aptosClient,{sender:e.address(),...r}).build(y,[h],[b,n]),U=Be.generateBCSTransaction(e,w);return(await this.aptosClient.submitSignedBCSTransaction(U)).hash}async checkBalance(e,t){var n,r,i;const a=((n=t==null?void 0:t.coinType)!=null?n:"").toString().includes("::");if(t!=null&&t.coinType&&!a&&me.isValid(t.coinType)){console.warn("to check balance of a fungible asset, use `FungibleAssetClient()` class for better support");const b=new lr({fullnodeUrl:this.aptosClient.nodeUrl,indexerUrl:(r=Ts[Vi[this.aptosClient.nodeUrl]])!=null?r:this.aptosClient.nodeUrl});return await new Zi(b).getPrimaryBalance(Zn(e),t==null?void 0:t.coinType)}const d=`0x1::coin::CoinStore<${(i=t==null?void 0:t.coinType)!=null?i:Es}>`,h=Zn(e),y=await this.aptosClient.getAccountResource(h,d);return BigInt(y.data.coin.value)}},id={};wr(id,{AptosErrorCode:()=>Ca,MoveFunctionVisibility:()=>$a,RoleType:()=>ka});var Ca=(e=>(e.ACCOUNT_NOT_FOUND="account_not_found",e.RESOURCE_NOT_FOUND="resource_not_found",e.MODULE_NOT_FOUND="module_not_found",e.STRUCT_FIELD_NOT_FOUND="struct_field_not_found",e.VERSION_NOT_FOUND="version_not_found",e.TRANSACTION_NOT_FOUND="transaction_not_found",e.TABLE_ITEM_NOT_FOUND="table_item_not_found",e.BLOCK_NOT_FOUND="block_not_found",e.STATE_VALUE_NOT_FOUND="state_value_not_found",e.VERSION_PRUNED="version_pruned",e.BLOCK_PRUNED="block_pruned",e.INVALID_INPUT="invalid_input",e.INVALID_TRANSACTION_UPDATE="invalid_transaction_update",e.SEQUENCE_NUMBER_TOO_OLD="sequence_number_too_old",e.VM_ERROR="vm_error",e.HEALTH_CHECK_FAILED="health_check_failed",e.MEMPOOL_IS_FULL="mempool_is_full",e.INTERNAL_ERROR="internal_error",e.WEB_FRAMEWORK_ERROR="web_framework_error",e.BCS_NOT_SUPPORTED="bcs_not_supported",e.API_DISABLED="api_disabled",e))(Ca||{}),$a=(e=>(e.PRIVATE="private",e.PUBLIC="public",e.FRIEND="friend",e))($a||{}),ka=(e=>(e.VALIDATOR="validator",e.FULL_NODE="full_node",e))(ka||{});export{ur as A,dd as C,Qu as N,lr as P,Be as a,ja as u}; diff --git a/build/app/immutable/chunks/index.f3b06f47.js b/build/app/immutable/chunks/index.f3b06f47.js deleted file mode 100644 index f28af2b8c..000000000 --- a/build/app/immutable/chunks/index.f3b06f47.js +++ /dev/null @@ -1 +0,0 @@ -function w(){}function H(t,n){for(const e in n)t[e]=n[e];return t}function O(t){return t()}function q(){return Object.create(null)}function g(t){t.forEach(O)}function B(t){return typeof t=="function"}function lt(t,n){return t!=t?n==n:t!==n||t&&typeof t=="object"||typeof t=="function"}let x;function at(t,n){return x||(x=document.createElement("a")),x.href=n,t===x.href}function W(t){return Object.keys(t).length===0}function G(t,...n){if(t==null)return w;const e=t.subscribe(...n);return e.unsubscribe?()=>e.unsubscribe():e}function ft(t,n,e){t.$$.on_destroy.push(G(n,e))}function _t(t,n,e,i){if(t){const r=P(t,n,e,i);return t[0](r)}}function P(t,n,e,i){return t[1]&&i?H(e.ctx.slice(),t[1](i(n))):e.ctx}function dt(t,n,e,i){if(t[2]&&i){const r=t[2](i(e));if(n.dirty===void 0)return r;if(typeof r=="object"){const l=[],u=Math.max(n.dirty.length,r.length);for(let o=0;o32){const n=[],e=t.ctx.length/32;for(let i=0;i>1);e(r)<=i?t=r+1:n=r}return t}function R(t){if(t.hydrate_init)return;t.hydrate_init=!0;let n=t.childNodes;if(t.nodeName==="HEAD"){const c=[];for(let s=0;s0&&n[e[r]].claim_order<=s?r+1:Q(1,r,b=>n[e[b]].claim_order,s))-1;i[c]=e[f]+1;const a=f+1;e[a]=c,r=Math.max(a,r)}const l=[],u=[];let o=n.length-1;for(let c=e[r]+1;c!=0;c=i[c-1]){for(l.push(n[c-1]);o>=c;o--)u.push(n[o]);o--}for(;o>=0;o--)u.push(n[o]);l.reverse(),u.sort((c,s)=>c.claim_order-s.claim_order);for(let c=0,s=0;c=l[s].claim_order;)s++;const f=st.removeEventListener(n,e,i)}function Z(t,n,e){e==null?t.removeAttribute(n):t.getAttribute(n)!==e&&t.setAttribute(n,e)}function $t(t,n){for(const e in n)Z(t,e,n[e])}function wt(t){return t===""?null:+t}function tt(t){return Array.from(t.childNodes)}function nt(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function T(t,n,e,i,r=!1){nt(t);const l=(()=>{for(let u=t.claim_info.last_index;u=0;u--){const o=t[u];if(n(o)){const c=e(o);return c===void 0?t.splice(u,1):t[u]=c,r?c===void 0&&t.claim_info.last_index--:t.claim_info.last_index=u,o}}return i()})();return l.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,l}function D(t,n,e,i){return T(t,r=>r.nodeName===n,r=>{const l=[];for(let u=0;ur.removeAttribute(u))},()=>i(n))}function vt(t,n,e){return D(t,n,e,X)}function Et(t,n,e){return D(t,n,e,Y)}function et(t,n){return T(t,e=>e.nodeType===3,e=>{const i=""+n;if(e.data.startsWith(i)){if(e.data.length!==i.length)return e.splitText(i.length)}else e.data=i},()=>A(n),!0)}function kt(t){return et(t," ")}function Nt(t,n){n=""+n,t.data!==n&&(t.data=n)}function St(t,n){t.value=n??""}function At(t,n,e,i){e==null?t.style.removeProperty(n):t.style.setProperty(n,e,i?"important":"")}function jt(t,n,e){for(let i=0;ii.call(this,n))}const h=[],L=[];let m=[];const k=[],I=Promise.resolve();let N=!1;function z(){N||(N=!0,I.then(F))}function Tt(){return z(),I}function S(t){m.push(t)}function Dt(t){k.push(t)}const E=new Set;let d=0;function F(){if(d!==0)return;const t=y;do{try{for(;dt.indexOf(i)===-1?n.push(i):e.push(i)),e.forEach(i=>i()),m=n}const $=new Set;let _;function It(){_={r:0,c:[],p:_}}function zt(){_.r||g(_.c),_=_.p}function ct(t,n){t&&t.i&&($.delete(t),t.i(n))}function Ft(t,n,e,i){if(t&&t.o){if($.has(t))return;$.add(t),_.c.push(()=>{$.delete(t),i&&(e&&t.d(1),i())}),t.o(n)}else i&&i()}function Ht(t,n){const e={},i={},r={$$scope:1};let l=t.length;for(;l--;){const u=t[l],o=n[l];if(o){for(const c in u)c in o||(i[c]=1);for(const c in o)r[c]||(e[c]=o[c],r[c]=1);t[l]=o}else for(const c in u)r[c]=1}for(const u in i)u in e||(e[u]=void 0);return e}function Wt(t,n,e){const i=t.$$.props[n];i!==void 0&&(t.$$.bound[i]=e,e(t.$$.ctx[i]))}function Gt(t){t&&t.c()}function Jt(t,n){t&&t.l(n)}function ut(t,n,e,i){const{fragment:r,after_update:l}=t.$$;r&&r.m(n,e),i||S(()=>{const u=t.$$.on_mount.map(O).filter(B);t.$$.on_destroy?t.$$.on_destroy.push(...u):g(u),t.$$.on_mount=[]}),l.forEach(S)}function ot(t,n){const e=t.$$;e.fragment!==null&&(rt(e.after_update),g(e.on_destroy),e.fragment&&e.fragment.d(n),e.on_destroy=e.fragment=null,e.ctx=[])}function st(t,n){t.$$.dirty[0]===-1&&(h.push(t),z(),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<{const M=C.length?C[0]:b;return s.ctx&&r(s.ctx[a],s.ctx[a]=M)&&(!s.skip_bound&&s.bound[a]&&s.bound[a](M),f&&st(t,a)),b}):[],s.update(),f=!0,g(s.before_update),s.fragment=i?i(s.ctx):!1,n.target){if(n.hydrate){J();const a=tt(n.target);s.fragment&&s.fragment.l(a),a.forEach(V)}else s.fragment&&s.fragment.c();n.intro&&ct(t.$$.fragment),ut(t,n.target,n.anchor,n.customElement),K(),F()}p(c)}class Qt{$destroy(){ot(this,1),this.$destroy=w}$on(n,e){if(!B(e))return w;const i=this.$$.callbacks[n]||(this.$$.callbacks[n]=[]);return i.push(e),()=>{const r=i.indexOf(e);r!==-1&&i.splice(r,1)}}$set(n){this.$$set&&!W(n)&&(this.$$.skip_bound=!0,this.$$set(n),this.$$.skip_bound=!1)}}export{$t as $,ut as A,ot as B,_t as C,U as D,ht as E,mt as F,dt as G,w as H,ft as I,xt as J,Mt as K,g as L,Ct as M,wt as N,S as O,jt as P,St as Q,Bt as R,Qt as S,Pt as T,at as U,yt as V,Wt as W,Dt as X,H as Y,Y as Z,Et as _,gt as a,Ht as a0,pt as b,kt as c,Ft as d,bt as e,zt as f,ct as g,V as h,Kt as i,Ot as j,X as k,vt as l,tt as m,Z as n,Lt as o,At as p,A as q,et as r,lt as s,Tt as t,Nt as u,It as v,L as w,qt as x,Gt as y,Jt as z}; diff --git a/build/app/immutable/chunks/public.02ab71de.js b/build/app/immutable/chunks/public.02ab71de.js deleted file mode 100644 index a683595ba..000000000 --- a/build/app/immutable/chunks/public.02ab71de.js +++ /dev/null @@ -1 +0,0 @@ -const t="https://testnet.gateway.netsepio.com/api/v1.0",s="https://api.thegraph.com/subgraphs/name/netsepio/netsepio-mumbai",I="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkaWQ6ZXRocjoweDBDRTZkN0U2NDllZTcyOTRiNTdhNTU0ODI5M2Y3MjJmNEYwMjYwYTkiLCJpc3MiOiJuZnQtc3RvcmFnZSIsImlhdCI6MTY5NzU2NDQ0NTUwMywibmFtZSI6Im5ldHNwaW8ifQ.UsIhXHD1-FqliafFjqKyYrxFIVdHRgjkXlPRw_zX4yM",a="https://fullnode.testnet.aptoslabs.com/v1";export{I as P,t as a,s as b,a as c}; diff --git a/build/app/immutable/chunks/public.6087a87e.js b/build/app/immutable/chunks/public.6087a87e.js new file mode 100644 index 000000000..5faadfb3b --- /dev/null +++ b/build/app/immutable/chunks/public.6087a87e.js @@ -0,0 +1 @@ +const s="https://gateway.netsepio.com/api/v1.0",t="https://api.thegraph.com/subgraphs/name/netsepio/netsepio-mumbai",I="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkaWQ6ZXRocjoweDBDRTZkN0U2NDllZTcyOTRiNTdhNTU0ODI5M2Y3MjJmNEYwMjYwYTkiLCJpc3MiOiJuZnQtc3RvcmFnZSIsImlhdCI6MTY5NzU2NDQ0NTUwMywibmFtZSI6Im5ldHNwaW8ifQ.UsIhXHD1-FqliafFjqKyYrxFIVdHRgjkXlPRw_zX4yM",a="https://fullnode.testnet.aptoslabs.com/v1";export{s as P,I as a,t as b,a as c}; diff --git a/build/app/immutable/chunks/qrCode.512fe2c5.js b/build/app/immutable/chunks/qrCode.512fe2c5.js new file mode 100644 index 000000000..addcf82d6 --- /dev/null +++ b/build/app/immutable/chunks/qrCode.512fe2c5.js @@ -0,0 +1,8 @@ +var V={},bt=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},dt={},T={};let it;const Rt=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];T.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};T.getSymbolTotalCodewords=function(t){return Rt[t]};T.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};T.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');it=t};T.isKanjiModeEnabled=function(){return typeof it<"u"};T.toSJIS=function(t){return it(t)};var $={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+i)}}e.isValid=function(o){return o&&typeof o.bit<"u"&&o.bit>=0&&o.bit<4},e.from=function(o,r){if(e.isValid(o))return o;try{return t(o)}catch{return r}}})($);function ht(){this.buffer=[],this.length=0}ht.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let i=0;i>>t-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var Lt=ht;function H(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}H.prototype.set=function(e,t,i,o){const r=e*this.size+t;this.data[r]=i,o&&(this.reservedBit[r]=!0)};H.prototype.get=function(e,t){return this.data[e*this.size+t]};H.prototype.xor=function(e,t,i){this.data[e*this.size+t]^=i};H.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var Dt=H,wt={};(function(e){const t=T.getSymbolSize;e.getRowColCoords=function(o){if(o===1)return[];const r=Math.floor(o/7)+2,n=t(o),s=n===145?26:Math.ceil((n-13)/(2*r-2))*2,c=[n-7];for(let u=1;u=0&&r<=7},e.from=function(r){return e.isValid(r)?parseInt(r,10):void 0},e.getPenaltyN1=function(r){const n=r.size;let s=0,c=0,u=0,a=null,l=null;for(let B=0;B=5&&(s+=t.N1+(c-5)),a=f,c=1),f=r.get(w,B),f===l?u++:(u>=5&&(s+=t.N1+(u-5)),l=f,u=1)}c>=5&&(s+=t.N1+(c-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(r){const n=r.size;let s=0;for(let c=0;c=10&&(c===1488||c===93)&&s++,u=u<<1&2047|r.get(l,a),l>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(r){let n=0;const s=r.data.length;for(let u=0;u=0;){const s=n[0];for(let u=0;u0){const n=new Uint8Array(this.degree);return n.set(o,r),n}return o};var _t=st,Bt={},L={},ut={};ut.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var P={};const pt="[0-9]+",Ft="[A-Z $%*+\\-./:]+";let z="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";z=z.replace(/u/g,"\\u");const kt="(?:(?![A-Z0-9 $%*+\\-./:]|"+z+`)(?:.|[\r +]))+`;P.KANJI=new RegExp(z,"g");P.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");P.BYTE=new RegExp(kt,"g");P.NUMERIC=new RegExp(pt,"g");P.ALPHANUMERIC=new RegExp(Ft,"g");const vt=new RegExp("^"+z+"$"),zt=new RegExp("^"+pt+"$"),Vt=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");P.testKanji=function(t){return vt.test(t)};P.testNumeric=function(t){return zt.test(t)};P.testAlphanumeric=function(t){return Vt.test(t)};(function(e){const t=ut,i=P;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(n,s){if(!n.ccBits)throw new Error("Invalid mode: "+n);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?n.ccBits[0]:s<27?n.ccBits[1]:n.ccBits[2]},e.getBestModeForData=function(n){return i.testNumeric(n)?e.NUMERIC:i.testAlphanumeric(n)?e.ALPHANUMERIC:i.testKanji(n)?e.KANJI:e.BYTE},e.toString=function(n){if(n&&n.id)return n.id;throw new Error("Invalid mode")},e.isValid=function(n){return n&&n.bit&&n.ccBits};function o(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+r)}}e.from=function(n,s){if(e.isValid(n))return n;try{return o(n)}catch{return s}}})(L);(function(e){const t=T,i=j,o=$,r=L,n=ut,s=7973,c=t.getBCHDigit(s);function u(w,f,m){for(let y=1;y<=40;y++)if(f<=e.getCapacity(y,m,w))return y}function a(w,f){return r.getCharCountIndicator(w,f)+4}function l(w,f){let m=0;return w.forEach(function(y){const I=a(y.mode,f);m+=I+y.getBitsLength()}),m}function B(w,f){for(let m=1;m<=40;m++)if(l(w,m)<=e.getCapacity(m,f,r.MIXED))return m}e.from=function(f,m){return n.isValid(f)?parseInt(f,10):m},e.getCapacity=function(f,m,y){if(!n.isValid(f))throw new Error("Invalid QR Code version");typeof y>"u"&&(y=r.BYTE);const I=t.getSymbolTotalCodewords(f),h=i.getTotalCodewordsCount(f,m),C=(I-h)*8;if(y===r.MIXED)return C;const d=C-a(y,f);switch(y){case r.NUMERIC:return Math.floor(d/10*3);case r.ALPHANUMERIC:return Math.floor(d/11*2);case r.KANJI:return Math.floor(d/13);case r.BYTE:default:return Math.floor(d/8)}},e.getBestVersionForData=function(f,m){let y;const I=o.from(m,o.M);if(Array.isArray(f)){if(f.length>1)return B(f,I);if(f.length===0)return 1;y=f[0]}else y=f;return u(y.mode,y.getLength(),I)},e.getEncodedBits=function(f){if(!n.isValid(f)||f<7)throw new Error("Invalid QR Code version");let m=f<<12;for(;t.getBCHDigit(m)-c>=0;)m^=s<=0;)r^=It<0&&(o=this.data.substr(i),r=parseInt(o,10),t.put(r,n*3+1))};var Jt=D;const Yt=L,W=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function U(e){this.mode=Yt.ALPHANUMERIC,this.data=e}U.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};U.prototype.getLength=function(){return this.data.length};U.prototype.getBitsLength=function(){return U.getBitsLength(this.data.length)};U.prototype.write=function(t){let i;for(i=0;i+2<=this.data.length;i+=2){let o=W.indexOf(this.data[i])*45;o+=W.indexOf(this.data[i+1]),t.put(o,11)}this.data.length%2&&t.put(W.indexOf(this.data[i]),6)};var Ot=U,$t=function(t){for(var i=[],o=t.length,r=0;r=55296&&n<=56319&&o>r+1){var s=t.charCodeAt(r+1);s>=56320&&s<=57343&&(n=(n-55296)*1024+s-56320+65536,r+=1)}if(n<128){i.push(n);continue}if(n<2048){i.push(n>>6|192),i.push(n&63|128);continue}if(n<55296||n>=57344&&n<65536){i.push(n>>12|224),i.push(n>>6&63|128),i.push(n&63|128);continue}if(n>=65536&&n<=1114111){i.push(n>>18|240),i.push(n>>12&63|128),i.push(n>>6&63|128),i.push(n&63|128);continue}i.push(239,191,189)}return new Uint8Array(i).buffer};const jt=$t,Gt=L;function _(e){this.mode=Gt.BYTE,typeof e=="string"&&(e=jt(e)),this.data=new Uint8Array(e)}_.getBitsLength=function(t){return t*8};_.prototype.getLength=function(){return this.data.length};_.prototype.getBitsLength=function(){return _.getBitsLength(this.data.length)};_.prototype.write=function(e){for(let t=0,i=this.data.length;t=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+` +Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),e.put(i,13)}};var Zt=F,Nt={exports:{}};(function(e){var t={single_source_shortest_paths:function(i,o,r){var n={},s={};s[o]=0;var c=t.PriorityQueue.make();c.push(o,0);for(var u,a,l,B,w,f,m,y,I;!c.empty();){u=c.pop(),a=u.value,B=u.cost,w=i[a]||{};for(l in w)w.hasOwnProperty(l)&&(f=w[l],m=B+f,y=s[l],I=typeof s[l]>"u",(I||y>m)&&(s[l]=m,c.push(l,m),n[l]=a))}if(typeof r<"u"&&typeof s[r]>"u"){var h=["Could not find a path from ",o," to ",r,"."].join("");throw new Error(h)}return n},extract_shortest_path_from_predecessor_list:function(i,o){for(var r=[],n=o;n;)r.push(n),i[n],n=i[n];return r.reverse(),r},find_path:function(i,o,r){var n=t.single_source_shortest_paths(i,o,r);return t.extract_shortest_path_from_predecessor_list(n,r)},PriorityQueue:{make:function(i){var o=t.PriorityQueue,r={},n;i=i||{};for(n in o)o.hasOwnProperty(n)&&(r[n]=o[n]);return r.queue=[],r.sorter=i.sorter||o.default_sorter,r},default_sorter:function(i,o){return i.cost-o.cost},push:function(i,o){var r={value:i,cost:o};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Nt);var Xt=Nt.exports;(function(e){const t=L,i=Jt,o=Ot,r=Qt,n=Zt,s=P,c=T,u=Xt;function a(h){return unescape(encodeURIComponent(h)).length}function l(h,C,d){const g=[];let E;for(;(E=h.exec(d))!==null;)g.push({data:E[0],index:E.index,mode:C,length:E[0].length});return g}function B(h){const C=l(s.NUMERIC,t.NUMERIC,h),d=l(s.ALPHANUMERIC,t.ALPHANUMERIC,h);let g,E;return c.isKanjiModeEnabled()?(g=l(s.BYTE,t.BYTE,h),E=l(s.KANJI,t.KANJI,h)):(g=l(s.BYTE_KANJI,t.BYTE,h),E=[]),C.concat(d,g,E).sort(function(A,N){return A.index-N.index}).map(function(A){return{data:A.data,mode:A.mode,length:A.length}})}function w(h,C){switch(C){case t.NUMERIC:return i.getBitsLength(h);case t.ALPHANUMERIC:return o.getBitsLength(h);case t.KANJI:return n.getBitsLength(h);case t.BYTE:return r.getBitsLength(h)}}function f(h){return h.reduce(function(C,d){const g=C.length-1>=0?C[C.length-1]:null;return g&&g.mode===d.mode?(C[C.length-1].data+=d.data,C):(C.push(d),C)},[])}function m(h){const C=[];for(let d=0;d=0&&c<=6&&(u===0||u===6)||u>=0&&u<=6&&(c===0||c===6)||c>=2&&c<=4&&u>=2&&u<=4?e.set(n+c,s+u,!0,!0):e.set(n+c,s+u,!1,!0))}}function ue(e){const t=e.size;for(let i=8;i>c&1)===1,e.set(r,n,s,!0),e.set(n,r,s,!0)}function x(e,t,i){const o=e.size,r=oe.getEncodedBits(t,i);let n,s;for(n=0;n<15;n++)s=(r>>n&1)===1,n<6?e.set(n,8,s,!0):n<8?e.set(n+1,8,s,!0):e.set(o-15+n,8,s,!0),n<8?e.set(8,o-n-1,s,!0):n<9?e.set(8,15-n-1+1,s,!0):e.set(8,15-n-1,s,!0);e.set(o-8,8,1,!0)}function le(e,t){const i=e.size;let o=-1,r=i-1,n=7,s=0;for(let c=i-1;c>0;c-=2)for(c===6&&c--;;){for(let u=0;u<2;u++)if(!e.isReserved(r,c-u)){let a=!1;s>>n&1)===1),e.set(r,c-u,a),n--,n===-1&&(s++,n=7)}if(r+=o,r<0||i<=r){r-=o,o=-o;break}}}function fe(e,t,i){const o=new xt;i.forEach(function(u){o.put(u.mode.bit,4),o.put(u.getLength(),ie.getCharCountIndicator(u.mode,e)),u.write(o)});const r=Q.getSymbolTotalCodewords(e),n=rt.getTotalCodewordsCount(e,t),s=(r-n)*8;for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!==0;)o.putBit(0);const c=(s-o.getLengthInBits())/8;for(let u=0;u=7&&ae(u,t),le(u,s),isNaN(o)&&(o=nt.getBestMask(u,x.bind(null,u,i))),nt.applyMask(o,u),x(u,i,o),{modules:u,version:t,errorCorrectionLevel:i,maskPattern:o,segments:r}}dt.create=function(t,i){if(typeof t>"u"||t==="")throw new Error("No input text");let o=Z.M,r,n;return typeof i<"u"&&(o=Z.from(i.errorCorrectionLevel,Z.M),r=O.from(i.version),n=nt.from(i.maskPattern),i.toSJISFunc&&Q.setToSJISFunction(i.toSJISFunc)),de(t,r,o,n)};var Mt={},ct={};(function(e){function t(i){if(typeof i=="number"&&(i=i.toString()),typeof i!="string")throw new Error("Color should be defined as hex string");let o=i.slice().replace("#","").split("");if(o.length<3||o.length===5||o.length>8)throw new Error("Invalid hex color: "+i);(o.length===3||o.length===4)&&(o=Array.prototype.concat.apply([],o.map(function(n){return[n,n]}))),o.length===6&&o.push("F","F");const r=parseInt(o.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:r&255,hex:"#"+o.slice(0,6).join("")}}e.getOptions=function(o){o||(o={}),o.color||(o.color={});const r=typeof o.margin>"u"||o.margin===null||o.margin<0?4:o.margin,n=o.width&&o.width>=21?o.width:void 0,s=o.scale||4;return{width:n,scale:n?4:s,margin:r,color:{dark:t(o.color.dark||"#000000ff"),light:t(o.color.light||"#ffffffff")},type:o.type,rendererOpts:o.rendererOpts||{}}},e.getScale=function(o,r){return r.width&&r.width>=o+r.margin*2?r.width/(o+r.margin*2):r.scale},e.getImageWidth=function(o,r){const n=e.getScale(o,r);return Math.floor((o+r.margin*2)*n)},e.qrToImageData=function(o,r,n){const s=r.modules.size,c=r.modules.data,u=e.getScale(s,n),a=Math.floor((s+n.margin*2)*u),l=n.margin*u,B=[n.color.light,n.color.dark];for(let w=0;w=l&&f>=l&&w"u"&&(!s||!s.getContext)&&(u=s,s=void 0),s||(a=o()),u=t.getOptions(u);const l=t.getImageWidth(n.modules.size,u),B=a.getContext("2d"),w=B.createImageData(l,l);return t.qrToImageData(w.data,n,u),i(B,a,l),B.putImageData(w,0,0),a},e.renderToDataURL=function(n,s,c){let u=c;typeof u>"u"&&(!s||!s.getContext)&&(u=s,s=void 0),u||(u={});const a=e.render(n,s,u),l=u.type||"image/png",B=u.rendererOpts||{};return a.toDataURL(l,B.quality)}})(Mt);var Pt={};const he=ct;function gt(e,t){const i=e.a/255,o=t+'="'+e.hex+'"';return i<1?o+" "+t+'-opacity="'+i.toFixed(2).slice(1)+'"':o}function tt(e,t,i){let o=e+t;return typeof i<"u"&&(o+=" "+i),o}function we(e,t,i){let o="",r=0,n=!1,s=0;for(let c=0;c0&&u>0&&e[c-1]||(o+=n?tt("M",u+i,.5+a+i):tt("m",r,0),r=0,n=!1),u+1':"",a="',l='viewBox="0 0 '+c+" "+c+'"',w=''+u+a+` +`;return typeof o=="function"&&o(null,w),w};const me=bt,ot=dt,St=Mt,ye=Pt;function at(e,t,i,o,r){const n=[].slice.call(arguments,1),s=n.length,c=typeof n[s-1]=="function";if(!c&&!me())throw new Error("Callback required as last argument");if(c){if(s<2)throw new Error("Too few arguments provided");s===2?(r=i,i=t,t=o=void 0):s===3&&(t.getContext&&typeof r>"u"?(r=o,o=void 0):(r=o,o=i,i=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(i=t,t=o=void 0):s===2&&!t.getContext&&(o=i,i=t,t=void 0),new Promise(function(u,a){try{const l=ot.create(i,o);u(e(l,t,o))}catch(l){a(l)}})}try{const u=ot.create(i,o);r(null,e(u,t,o))}catch(u){r(u)}}V.create=ot.create;V.toCanvas=at.bind(null,St.render);V.toDataURL=at.bind(null,St.renderToDataURL);V.toString=at.bind(null,function(e,t,i){return ye.render(e,i)});async function Ce(e){try{return await V.toDataURL(e)}catch(t){return console.error(t),""}}export{Ce as g}; diff --git a/build/app/immutable/chunks/qrCode.9ed71917.js b/build/app/immutable/chunks/qrCode.9ed71917.js deleted file mode 100644 index 800dce8b2..000000000 --- a/build/app/immutable/chunks/qrCode.9ed71917.js +++ /dev/null @@ -1,8 +0,0 @@ -import{S as _t,i as Dt,s as Ut,Y as Ft,Z as kt,_ as vt,m as zt,h as lt,$ as ft,b as Ht,a0 as Vt,H as gt}from"./index.f3b06f47.js";function Kt(e){let t,i=[{width:e[1]},{height:e[1]},{"stroke-width":"0"},{class:e[2]},e[0].a,e[4],{xmlns:"http://www.w3.org/2000/svg"}],o={};for(let r=0;r{"src"in c&&i(0,o=c.src),"size"in c&&i(1,r=c.size),"color"in c&&i(5,n=c.color),"title"in c&&i(6,s=c.title),"className"in c&&i(2,a=c.className)},e.$$.update=()=>{e.$$.dirty&33&&(i(4,l={}),n&&(o.a.stroke!=="none"&&i(4,l.stroke=n,l),o.a.fill!=="none"&&i(4,l.fill=n,l))),e.$$.dirty&65&&i(3,u=(s?`${s}`:"")+o.c)},[o,r,a,u,l,n,s]}class De extends _t{constructor(t){super(),Dt(this,t,Jt,Kt,Ut,{src:0,size:1,color:5,title:6,className:2})}}const Ue={a:{viewBox:"0 0 512 512"},c:''};var H={},Yt=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},mt={},N={};let it;const Ot=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];N.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};N.getSymbolTotalCodewords=function(t){return Ot[t]};N.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};N.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');it=t};N.isKanjiModeEnabled=function(){return typeof it<"u"};N.toSJIS=function(t){return it(t)};var j={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+i)}}e.isValid=function(o){return o&&typeof o.bit<"u"&&o.bit>=0&&o.bit<4},e.from=function(o,r){if(e.isValid(o))return o;try{return t(o)}catch{return r}}})(j);function Ct(){this.buffer=[],this.length=0}Ct.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let i=0;i>>t-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var jt=Ct;function V(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}V.prototype.set=function(e,t,i,o){const r=e*this.size+t;this.data[r]=i,o&&(this.reservedBit[r]=!0)};V.prototype.get=function(e,t){return this.data[e*this.size+t]};V.prototype.xor=function(e,t,i){this.data[e*this.size+t]^=i};V.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var Gt=V,yt={};(function(e){const t=N.getSymbolSize;e.getRowColCoords=function(o){if(o===1)return[];const r=Math.floor(o/7)+2,n=t(o),s=n===145?26:Math.ceil((n-13)/(2*r-2))*2,a=[n-7];for(let u=1;u=0&&r<=7},e.from=function(r){return e.isValid(r)?parseInt(r,10):void 0},e.getPenaltyN1=function(r){const n=r.size;let s=0,a=0,u=0,l=null,c=null;for(let B=0;B=5&&(s+=t.N1+(a-5)),l=f,a=1),f=r.get(w,B),f===c?u++:(u>=5&&(s+=t.N1+(u-5)),c=f,u=1)}a>=5&&(s+=t.N1+(a-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(r){const n=r.size;let s=0;for(let a=0;a=10&&(a===1488||a===93)&&s++,u=u<<1&2047|r.get(c,l),c>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(r){let n=0;const s=r.data.length;for(let u=0;u=0;){const s=n[0];for(let u=0;u0){const n=new Uint8Array(this.degree);return n.set(o,r),n}return o};var Qt=st,It={},L={},ut={};ut.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var S={};const Nt="[0-9]+",Zt="[A-Z $%*+\\-./:]+";let z="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";z=z.replace(/u/g,"\\u");const Wt="(?:(?![A-Z0-9 $%*+\\-./:]|"+z+`)(?:.|[\r -]))+`;S.KANJI=new RegExp(z,"g");S.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");S.BYTE=new RegExp(Wt,"g");S.NUMERIC=new RegExp(Nt,"g");S.ALPHANUMERIC=new RegExp(Zt,"g");const Xt=new RegExp("^"+z+"$"),xt=new RegExp("^"+Nt+"$"),$t=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");S.testKanji=function(t){return Xt.test(t)};S.testNumeric=function(t){return xt.test(t)};S.testAlphanumeric=function(t){return $t.test(t)};(function(e){const t=ut,i=S;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(n,s){if(!n.ccBits)throw new Error("Invalid mode: "+n);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?n.ccBits[0]:s<27?n.ccBits[1]:n.ccBits[2]},e.getBestModeForData=function(n){return i.testNumeric(n)?e.NUMERIC:i.testAlphanumeric(n)?e.ALPHANUMERIC:i.testKanji(n)?e.KANJI:e.BYTE},e.toString=function(n){if(n&&n.id)return n.id;throw new Error("Invalid mode")},e.isValid=function(n){return n&&n.bit&&n.ccBits};function o(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+r)}}e.from=function(n,s){if(e.isValid(n))return n;try{return o(n)}catch{return s}}})(L);(function(e){const t=N,i=G,o=j,r=L,n=ut,s=7973,a=t.getBCHDigit(s);function u(w,f,m){for(let C=1;C<=40;C++)if(f<=e.getCapacity(C,m,w))return C}function l(w,f){return r.getCharCountIndicator(w,f)+4}function c(w,f){let m=0;return w.forEach(function(C){const I=l(C.mode,f);m+=I+C.getBitsLength()}),m}function B(w,f){for(let m=1;m<=40;m++)if(c(w,m)<=e.getCapacity(m,f,r.MIXED))return m}e.from=function(f,m){return n.isValid(f)?parseInt(f,10):m},e.getCapacity=function(f,m,C){if(!n.isValid(f))throw new Error("Invalid QR Code version");typeof C>"u"&&(C=r.BYTE);const I=t.getSymbolTotalCodewords(f),d=i.getTotalCodewordsCount(f,m),y=(I-d)*8;if(C===r.MIXED)return y;const h=y-l(C,f);switch(C){case r.NUMERIC:return Math.floor(h/10*3);case r.ALPHANUMERIC:return Math.floor(h/11*2);case r.KANJI:return Math.floor(h/13);case r.BYTE:default:return Math.floor(h/8)}},e.getBestVersionForData=function(f,m){let C;const I=o.from(m,o.M);if(Array.isArray(f)){if(f.length>1)return B(f,I);if(f.length===0)return 1;C=f[0]}else C=f;return u(C.mode,C.getLength(),I)},e.getEncodedBits=function(f){if(!n.isValid(f)||f<7)throw new Error("Invalid QR Code version");let m=f<<12;for(;t.getBCHDigit(m)-a>=0;)m^=s<=0;)r^=Mt<0&&(o=this.data.substr(i),r=parseInt(o,10),t.put(r,n*3+1))};var ne=_;const re=L,W=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function D(e){this.mode=re.ALPHANUMERIC,this.data=e}D.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};D.prototype.getLength=function(){return this.data.length};D.prototype.getBitsLength=function(){return D.getBitsLength(this.data.length)};D.prototype.write=function(t){let i;for(i=0;i+2<=this.data.length;i+=2){let o=W.indexOf(this.data[i])*45;o+=W.indexOf(this.data[i+1]),t.put(o,11)}this.data.length%2&&t.put(W.indexOf(this.data[i]),6)};var oe=D,ie=function(t){for(var i=[],o=t.length,r=0;r=55296&&n<=56319&&o>r+1){var s=t.charCodeAt(r+1);s>=56320&&s<=57343&&(n=(n-55296)*1024+s-56320+65536,r+=1)}if(n<128){i.push(n);continue}if(n<2048){i.push(n>>6|192),i.push(n&63|128);continue}if(n<55296||n>=57344&&n<65536){i.push(n>>12|224),i.push(n>>6&63|128),i.push(n&63|128);continue}if(n>=65536&&n<=1114111){i.push(n>>18|240),i.push(n>>12&63|128),i.push(n>>6&63|128),i.push(n&63|128);continue}i.push(239,191,189)}return new Uint8Array(i).buffer};const se=ie,ue=L;function U(e){this.mode=ue.BYTE,typeof e=="string"&&(e=se(e)),this.data=new Uint8Array(e)}U.getBitsLength=function(t){return t*8};U.prototype.getLength=function(){return this.data.length};U.prototype.getBitsLength=function(){return U.getBitsLength(this.data.length)};U.prototype.write=function(e){for(let t=0,i=this.data.length;t=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+` -Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),e.put(i,13)}};var fe=F,bt={exports:{}};(function(e){var t={single_source_shortest_paths:function(i,o,r){var n={},s={};s[o]=0;var a=t.PriorityQueue.make();a.push(o,0);for(var u,l,c,B,w,f,m,C,I;!a.empty();){u=a.pop(),l=u.value,B=u.cost,w=i[l]||{};for(c in w)w.hasOwnProperty(c)&&(f=w[c],m=B+f,C=s[c],I=typeof s[c]>"u",(I||C>m)&&(s[c]=m,a.push(c,m),n[c]=l))}if(typeof r<"u"&&typeof s[r]>"u"){var d=["Could not find a path from ",o," to ",r,"."].join("");throw new Error(d)}return n},extract_shortest_path_from_predecessor_list:function(i,o){for(var r=[],n=o;n;)r.push(n),i[n],n=i[n];return r.reverse(),r},find_path:function(i,o,r){var n=t.single_source_shortest_paths(i,o,r);return t.extract_shortest_path_from_predecessor_list(n,r)},PriorityQueue:{make:function(i){var o=t.PriorityQueue,r={},n;i=i||{};for(n in o)o.hasOwnProperty(n)&&(r[n]=o[n]);return r.queue=[],r.sorter=i.sorter||o.default_sorter,r},default_sorter:function(i,o){return i.cost-o.cost},push:function(i,o){var r={value:i,cost:o};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(bt);var ge=bt.exports;(function(e){const t=L,i=ne,o=oe,r=ae,n=fe,s=S,a=N,u=ge;function l(d){return unescape(encodeURIComponent(d)).length}function c(d,y,h){const g=[];let E;for(;(E=d.exec(h))!==null;)g.push({data:E[0],index:E.index,mode:y,length:E[0].length});return g}function B(d){const y=c(s.NUMERIC,t.NUMERIC,d),h=c(s.ALPHANUMERIC,t.ALPHANUMERIC,d);let g,E;return a.isKanjiModeEnabled()?(g=c(s.BYTE,t.BYTE,d),E=c(s.KANJI,t.KANJI,d)):(g=c(s.BYTE_KANJI,t.BYTE,d),E=[]),y.concat(h,g,E).sort(function(p,T){return p.index-T.index}).map(function(p){return{data:p.data,mode:p.mode,length:p.length}})}function w(d,y){switch(y){case t.NUMERIC:return i.getBitsLength(d);case t.ALPHANUMERIC:return o.getBitsLength(d);case t.KANJI:return n.getBitsLength(d);case t.BYTE:return r.getBitsLength(d)}}function f(d){return d.reduce(function(y,h){const g=y.length-1>=0?y[y.length-1]:null;return g&&g.mode===h.mode?(y[y.length-1].data+=h.data,y):(y.push(h),y)},[])}function m(d){const y=[];for(let h=0;h=0&&a<=6&&(u===0||u===6)||u>=0&&u<=6&&(a===0||a===6)||a>=2&&a<=4&&u>=2&&u<=4?e.set(n+a,s+u,!0,!0):e.set(n+a,s+u,!1,!0))}}function Ae(e){const t=e.size;for(let i=8;i>a&1)===1,e.set(r,n,s,!0),e.set(n,r,s,!0)}function $(e,t,i){const o=e.size,r=ye.getEncodedBits(t,i);let n,s;for(n=0;n<15;n++)s=(r>>n&1)===1,n<6?e.set(n,8,s,!0):n<8?e.set(n+1,8,s,!0):e.set(o-15+n,8,s,!0),n<8?e.set(8,o-n-1,s,!0):n<9?e.set(8,15-n-1+1,s,!0):e.set(8,15-n-1,s,!0);e.set(o-8,8,1,!0)}function Ne(e,t){const i=e.size;let o=-1,r=i-1,n=7,s=0;for(let a=i-1;a>0;a-=2)for(a===6&&a--;;){for(let u=0;u<2;u++)if(!e.isReserved(r,a-u)){let l=!1;s>>n&1)===1),e.set(r,a-u,l),n--,n===-1&&(s++,n=7)}if(r+=o,r<0||i<=r){r-=o,o=-o;break}}}function Te(e,t,i){const o=new he;i.forEach(function(u){o.put(u.mode.bit,4),o.put(u.getLength(),Ee.getCharCountIndicator(u.mode,e)),u.write(o)});const r=Q.getSymbolTotalCodewords(e),n=rt.getTotalCodewordsCount(e,t),s=(r-n)*8;for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!==0;)o.putBit(0);const a=(s-o.getLengthInBits())/8;for(let u=0;u=7&&Ie(u,t),Ne(u,s),isNaN(o)&&(o=nt.getBestMask(u,$.bind(null,u,i))),nt.applyMask(o,u),$(u,i,o),{modules:u,version:t,errorCorrectionLevel:i,maskPattern:o,segments:r}}mt.create=function(t,i){if(typeof t>"u"||t==="")throw new Error("No input text");let o=X.M,r,n;return typeof i<"u"&&(o=X.from(i.errorCorrectionLevel,X.M),r=O.from(i.version),n=nt.from(i.maskPattern),i.toSJISFunc&&Q.setToSJISFunction(i.toSJISFunc)),Se(t,r,o,n)};var Pt={},at={};(function(e){function t(i){if(typeof i=="number"&&(i=i.toString()),typeof i!="string")throw new Error("Color should be defined as hex string");let o=i.slice().replace("#","").split("");if(o.length<3||o.length===5||o.length>8)throw new Error("Invalid hex color: "+i);(o.length===3||o.length===4)&&(o=Array.prototype.concat.apply([],o.map(function(n){return[n,n]}))),o.length===6&&o.push("F","F");const r=parseInt(o.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:r&255,hex:"#"+o.slice(0,6).join("")}}e.getOptions=function(o){o||(o={}),o.color||(o.color={});const r=typeof o.margin>"u"||o.margin===null||o.margin<0?4:o.margin,n=o.width&&o.width>=21?o.width:void 0,s=o.scale||4;return{width:n,scale:n?4:s,margin:r,color:{dark:t(o.color.dark||"#000000ff"),light:t(o.color.light||"#ffffffff")},type:o.type,rendererOpts:o.rendererOpts||{}}},e.getScale=function(o,r){return r.width&&r.width>=o+r.margin*2?r.width/(o+r.margin*2):r.scale},e.getImageWidth=function(o,r){const n=e.getScale(o,r);return Math.floor((o+r.margin*2)*n)},e.qrToImageData=function(o,r,n){const s=r.modules.size,a=r.modules.data,u=e.getScale(s,n),l=Math.floor((s+n.margin*2)*u),c=n.margin*u,B=[n.color.light,n.color.dark];for(let w=0;w=c&&f>=c&&w"u"&&(!s||!s.getContext)&&(u=s,s=void 0),s||(l=o()),u=t.getOptions(u);const c=t.getImageWidth(n.modules.size,u),B=l.getContext("2d"),w=B.createImageData(c,c);return t.qrToImageData(w.data,n,u),i(B,l,c),B.putImageData(w,0,0),l},e.renderToDataURL=function(n,s,a){let u=a;typeof u>"u"&&(!s||!s.getContext)&&(u=s,s=void 0),u||(u={});const l=e.render(n,s,u),c=u.type||"image/png",B=u.rendererOpts||{};return l.toDataURL(c,B.quality)}})(Pt);var Rt={};const be=at;function wt(e,t){const i=e.a/255,o=t+'="'+e.hex+'"';return i<1?o+" "+t+'-opacity="'+i.toFixed(2).slice(1)+'"':o}function tt(e,t,i){let o=e+t;return typeof i<"u"&&(o+=" "+i),o}function Pe(e,t,i){let o="",r=0,n=!1,s=0;for(let a=0;a0&&u>0&&e[a-1]||(o+=n?tt("M",u+i,.5+l+i):tt("m",r,0),r=0,n=!1),u+1':"",l="',c='viewBox="0 0 '+a+" "+a+'"',w=''+u+l+` -`;return typeof o=="function"&&o(null,w),w};const Re=Yt,ot=mt,Lt=Pt,Le=Rt;function ct(e,t,i,o,r){const n=[].slice.call(arguments,1),s=n.length,a=typeof n[s-1]=="function";if(!a&&!Re())throw new Error("Callback required as last argument");if(a){if(s<2)throw new Error("Too few arguments provided");s===2?(r=i,i=t,t=o=void 0):s===3&&(t.getContext&&typeof r>"u"?(r=o,o=void 0):(r=o,o=i,i=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(i=t,t=o=void 0):s===2&&!t.getContext&&(o=i,i=t,t=void 0),new Promise(function(u,l){try{const c=ot.create(i,o);u(e(c,t,o))}catch(c){l(c)}})}try{const u=ot.create(i,o);r(null,e(u,t,o))}catch(u){r(u)}}H.create=ot.create;H.toCanvas=ct.bind(null,Lt.render);H.toDataURL=ct.bind(null,Lt.renderToDataURL);H.toString=ct.bind(null,function(e,t,i){return Le.render(e,i)});async function Fe(e){try{return await H.toDataURL(e)}catch(t){return console.error(t),""}}export{De as I,Ue as a,Fe as g}; diff --git a/build/app/immutable/chunks/secondAuth.f9ee4b2a.js b/build/app/immutable/chunks/secondAuth.f9ee4b2a.js deleted file mode 100644 index 4b3ca3c05..000000000 --- a/build/app/immutable/chunks/secondAuth.f9ee4b2a.js +++ /dev/null @@ -1,14 +0,0 @@ -import{e as dr,r as hr,c as L,m as ex}from"./store.26750aee.js";var jx={exports:{}},D0={exports:{}},Cx;function T(){return Cx||(Cx=1,function(R,P){(function(v,a){R.exports=a()})(L,function(){var v=v||function(a,p){var D;if(typeof window<"u"&&window.crypto&&(D=window.crypto),typeof self<"u"&&self.crypto&&(D=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(D=globalThis.crypto),!D&&typeof window<"u"&&window.msCrypto&&(D=window.msCrypto),!D&&typeof L<"u"&&L.crypto&&(D=L.crypto),!D&&typeof dr=="function")try{D=hr}catch{}var H=function(){if(D){if(typeof D.getRandomValues=="function")try{return D.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof D.randomBytes=="function")try{return D.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},B=Object.create||function(){function t(){}return function(n){var i;return t.prototype=n,i=new t,t.prototype=null,i}}(),h={},x=h.lib={},e=x.Base=function(){return{extend:function(t){var n=B(this);return t&&n.mixIn(t),(!n.hasOwnProperty("init")||this.init===n.init)&&(n.init=function(){n.$super.init.apply(this,arguments)}),n.init.prototype=n,n.$super=this,n},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),d=x.WordArray=e.extend({init:function(t,n){t=this.words=t||[],n!=p?this.sigBytes=n:this.sigBytes=t.length*4},toString:function(t){return(t||s).stringify(this)},concat:function(t){var n=this.words,i=t.words,E=this.sigBytes,C=t.sigBytes;if(this.clamp(),E%4)for(var A=0;A>>2]>>>24-A%4*8&255;n[E+A>>>2]|=_<<24-(E+A)%4*8}else for(var S=0;S>>2]=i[S>>>2];return this.sigBytes+=C,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=a.ceil(n/4)},clone:function(){var t=e.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var n=[],i=0;i>>2]>>>24-C%4*8&255;E.push((A>>>4).toString(16)),E.push((A&15).toString(16))}return E.join("")},parse:function(t){for(var n=t.length,i=[],E=0;E>>3]|=parseInt(t.substr(E,2),16)<<24-E%8*4;return new d.init(i,n/2)}},o=r.Latin1={stringify:function(t){for(var n=t.words,i=t.sigBytes,E=[],C=0;C>>2]>>>24-C%4*8&255;E.push(String.fromCharCode(A))}return E.join("")},parse:function(t){for(var n=t.length,i=[],E=0;E>>2]|=(t.charCodeAt(E)&255)<<24-E%4*8;return new d.init(i,n)}},c=r.Utf8={stringify:function(t){try{return decodeURIComponent(escape(o.stringify(t)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(t){return o.parse(unescape(encodeURIComponent(t)))}},f=x.BufferedBlockAlgorithm=e.extend({reset:function(){this._data=new d.init,this._nDataBytes=0},_append:function(t){typeof t=="string"&&(t=c.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var n,i=this._data,E=i.words,C=i.sigBytes,A=this.blockSize,_=A*4,S=C/_;t?S=a.ceil(S):S=a.max((S|0)-this._minBufferSize,0);var u=S*A,F=a.min(u*4,C);if(u){for(var y=0;y>>2]|=h[d]<<24-d%4*8;H.call(this,e,x)}else H.apply(this,arguments)};B.prototype=D}}(),v.lib.WordArray})}(_0)),_0.exports}var b0={exports:{}},Fx;function Cr(){return Fx||(Fx=1,function(R,P){(function(v,a){R.exports=a(T())})(L,function(v){return function(){var a=v,p=a.lib,D=p.WordArray,H=a.enc;H.Utf16=H.Utf16BE={stringify:function(h){for(var x=h.words,e=h.sigBytes,d=[],r=0;r>>2]>>>16-r%4*8&65535;d.push(String.fromCharCode(s))}return d.join("")},parse:function(h){for(var x=h.length,e=[],d=0;d>>1]|=h.charCodeAt(d)<<16-d%2*16;return D.create(e,x*2)}},H.Utf16LE={stringify:function(h){for(var x=h.words,e=h.sigBytes,d=[],r=0;r>>2]>>>16-r%4*8&65535);d.push(String.fromCharCode(s))}return d.join("")},parse:function(h){for(var x=h.length,e=[],d=0;d>>1]|=B(h.charCodeAt(d)<<16-d%2*16);return D.create(e,x*2)}};function B(h){return h<<8&4278255360|h>>>8&16711935}}(),v.enc.Utf16})}(b0)),b0.exports}var y0={exports:{}},Dx;function t0(){return Dx||(Dx=1,function(R,P){(function(v,a){R.exports=a(T())})(L,function(v){return function(){var a=v,p=a.lib,D=p.WordArray,H=a.enc;H.Base64={stringify:function(h){var x=h.words,e=h.sigBytes,d=this._map;h.clamp();for(var r=[],s=0;s>>2]>>>24-s%4*8&255,c=x[s+1>>>2]>>>24-(s+1)%4*8&255,f=x[s+2>>>2]>>>24-(s+2)%4*8&255,l=o<<16|c<<8|f,t=0;t<4&&s+t*.75>>6*(3-t)&63));var n=d.charAt(64);if(n)for(;r.length%4;)r.push(n);return r.join("")},parse:function(h){var x=h.length,e=this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var r=0;r>>6-s%4*2,f=o|c;d[r>>>2]|=f<<24-r%4*8,r++}return D.create(d,r)}}(),v.enc.Base64})}(y0)),y0.exports}var g0={exports:{}},px;function Er(){return px||(px=1,function(R,P){(function(v,a){R.exports=a(T())})(L,function(v){return function(){var a=v,p=a.lib,D=p.WordArray,H=a.enc;H.Base64url={stringify:function(h,x){x===void 0&&(x=!0);var e=h.words,d=h.sigBytes,r=x?this._safe_map:this._map;h.clamp();for(var s=[],o=0;o>>2]>>>24-o%4*8&255,f=e[o+1>>>2]>>>24-(o+1)%4*8&255,l=e[o+2>>>2]>>>24-(o+2)%4*8&255,t=c<<16|f<<8|l,n=0;n<4&&o+n*.75>>6*(3-n)&63));var i=r.charAt(64);if(i)for(;s.length%4;)s.push(i);return s.join("")},parse:function(h,x){x===void 0&&(x=!0);var e=h.length,d=x?this._safe_map:this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var s=0;s>>6-s%4*2,f=o|c;d[r>>>2]|=f<<24-r%4*8,r++}return D.create(d,r)}}(),v.enc.Base64url})}(g0)),g0.exports}var k0={exports:{}},_x;function a0(){return _x||(_x=1,function(R,P){(function(v,a){R.exports=a(T())})(L,function(v){return function(a){var p=v,D=p.lib,H=D.WordArray,B=D.Hasher,h=p.algo,x=[];(function(){for(var c=0;c<64;c++)x[c]=a.abs(a.sin(c+1))*4294967296|0})();var e=h.MD5=B.extend({_doReset:function(){this._hash=new H.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(c,f){for(var l=0;l<16;l++){var t=f+l,n=c[t];c[t]=(n<<8|n>>>24)&16711935|(n<<24|n>>>8)&4278255360}var i=this._hash.words,E=c[f+0],C=c[f+1],A=c[f+2],_=c[f+3],S=c[f+4],u=c[f+5],F=c[f+6],y=c[f+7],g=c[f+8],z=c[f+9],q=c[f+10],W=c[f+11],O=c[f+12],X=c[f+13],U=c[f+14],N=c[f+15],b=i[0],w=i[1],m=i[2],k=i[3];b=d(b,w,m,k,E,7,x[0]),k=d(k,b,w,m,C,12,x[1]),m=d(m,k,b,w,A,17,x[2]),w=d(w,m,k,b,_,22,x[3]),b=d(b,w,m,k,S,7,x[4]),k=d(k,b,w,m,u,12,x[5]),m=d(m,k,b,w,F,17,x[6]),w=d(w,m,k,b,y,22,x[7]),b=d(b,w,m,k,g,7,x[8]),k=d(k,b,w,m,z,12,x[9]),m=d(m,k,b,w,q,17,x[10]),w=d(w,m,k,b,W,22,x[11]),b=d(b,w,m,k,O,7,x[12]),k=d(k,b,w,m,X,12,x[13]),m=d(m,k,b,w,U,17,x[14]),w=d(w,m,k,b,N,22,x[15]),b=r(b,w,m,k,C,5,x[16]),k=r(k,b,w,m,F,9,x[17]),m=r(m,k,b,w,W,14,x[18]),w=r(w,m,k,b,E,20,x[19]),b=r(b,w,m,k,u,5,x[20]),k=r(k,b,w,m,q,9,x[21]),m=r(m,k,b,w,N,14,x[22]),w=r(w,m,k,b,S,20,x[23]),b=r(b,w,m,k,z,5,x[24]),k=r(k,b,w,m,U,9,x[25]),m=r(m,k,b,w,_,14,x[26]),w=r(w,m,k,b,g,20,x[27]),b=r(b,w,m,k,X,5,x[28]),k=r(k,b,w,m,A,9,x[29]),m=r(m,k,b,w,y,14,x[30]),w=r(w,m,k,b,O,20,x[31]),b=s(b,w,m,k,u,4,x[32]),k=s(k,b,w,m,g,11,x[33]),m=s(m,k,b,w,W,16,x[34]),w=s(w,m,k,b,U,23,x[35]),b=s(b,w,m,k,C,4,x[36]),k=s(k,b,w,m,S,11,x[37]),m=s(m,k,b,w,y,16,x[38]),w=s(w,m,k,b,q,23,x[39]),b=s(b,w,m,k,X,4,x[40]),k=s(k,b,w,m,E,11,x[41]),m=s(m,k,b,w,_,16,x[42]),w=s(w,m,k,b,F,23,x[43]),b=s(b,w,m,k,z,4,x[44]),k=s(k,b,w,m,O,11,x[45]),m=s(m,k,b,w,N,16,x[46]),w=s(w,m,k,b,A,23,x[47]),b=o(b,w,m,k,E,6,x[48]),k=o(k,b,w,m,y,10,x[49]),m=o(m,k,b,w,U,15,x[50]),w=o(w,m,k,b,u,21,x[51]),b=o(b,w,m,k,O,6,x[52]),k=o(k,b,w,m,_,10,x[53]),m=o(m,k,b,w,q,15,x[54]),w=o(w,m,k,b,C,21,x[55]),b=o(b,w,m,k,g,6,x[56]),k=o(k,b,w,m,N,10,x[57]),m=o(m,k,b,w,F,15,x[58]),w=o(w,m,k,b,X,21,x[59]),b=o(b,w,m,k,S,6,x[60]),k=o(k,b,w,m,W,10,x[61]),m=o(m,k,b,w,A,15,x[62]),w=o(w,m,k,b,z,21,x[63]),i[0]=i[0]+b|0,i[1]=i[1]+w|0,i[2]=i[2]+m|0,i[3]=i[3]+k|0},_doFinalize:function(){var c=this._data,f=c.words,l=this._nDataBytes*8,t=c.sigBytes*8;f[t>>>5]|=128<<24-t%32;var n=a.floor(l/4294967296),i=l;f[(t+64>>>9<<4)+15]=(n<<8|n>>>24)&16711935|(n<<24|n>>>8)&4278255360,f[(t+64>>>9<<4)+14]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360,c.sigBytes=(f.length+1)*4,this._process();for(var E=this._hash,C=E.words,A=0;A<4;A++){var _=C[A];C[A]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}return E},clone:function(){var c=B.clone.call(this);return c._hash=this._hash.clone(),c}});function d(c,f,l,t,n,i,E){var C=c+(f&l|~f&t)+n+E;return(C<>>32-i)+f}function r(c,f,l,t,n,i,E){var C=c+(f&t|l&~t)+n+E;return(C<>>32-i)+f}function s(c,f,l,t,n,i,E){var C=c+(f^l^t)+n+E;return(C<>>32-i)+f}function o(c,f,l,t,n,i,E){var C=c+(l^(f|~t))+n+E;return(C<>>32-i)+f}p.MD5=B._createHelper(e),p.HmacMD5=B._createHmacHelper(e)}(Math),v.MD5})}(k0)),k0.exports}var H0={exports:{}},bx;function Jx(){return bx||(bx=1,function(R,P){(function(v,a){R.exports=a(T())})(L,function(v){return function(){var a=v,p=a.lib,D=p.WordArray,H=p.Hasher,B=a.algo,h=[],x=B.SHA1=H.extend({_doReset:function(){this._hash=new D.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,d){for(var r=this._hash.words,s=r[0],o=r[1],c=r[2],f=r[3],l=r[4],t=0;t<80;t++){if(t<16)h[t]=e[d+t]|0;else{var n=h[t-3]^h[t-8]^h[t-14]^h[t-16];h[t]=n<<1|n>>>31}var i=(s<<5|s>>>27)+l+h[t];t<20?i+=(o&c|~o&f)+1518500249:t<40?i+=(o^c^f)+1859775393:t<60?i+=(o&c|o&f|c&f)-1894007588:i+=(o^c^f)-899497514,l=f,f=c,c=o<<30|o>>>2,o=s,s=i}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+c|0,r[3]=r[3]+f|0,r[4]=r[4]+l|0},_doFinalize:function(){var e=this._data,d=e.words,r=this._nDataBytes*8,s=e.sigBytes*8;return d[s>>>5]|=128<<24-s%32,d[(s+64>>>9<<4)+14]=Math.floor(r/4294967296),d[(s+64>>>9<<4)+15]=r,e.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var e=H.clone.call(this);return e._hash=this._hash.clone(),e}});a.SHA1=H._createHelper(x),a.HmacSHA1=H._createHmacHelper(x)}(),v.SHA1})}(H0)),H0.exports}var w0={exports:{}},yx;function tx(){return yx||(yx=1,function(R,P){(function(v,a){R.exports=a(T())})(L,function(v){return function(a){var p=v,D=p.lib,H=D.WordArray,B=D.Hasher,h=p.algo,x=[],e=[];(function(){function s(l){for(var t=a.sqrt(l),n=2;n<=t;n++)if(!(l%n))return!1;return!0}function o(l){return(l-(l|0))*4294967296|0}for(var c=2,f=0;f<64;)s(c)&&(f<8&&(x[f]=o(a.pow(c,1/2))),e[f]=o(a.pow(c,1/3)),f++),c++})();var d=[],r=h.SHA256=B.extend({_doReset:function(){this._hash=new H.init(x.slice(0))},_doProcessBlock:function(s,o){for(var c=this._hash.words,f=c[0],l=c[1],t=c[2],n=c[3],i=c[4],E=c[5],C=c[6],A=c[7],_=0;_<64;_++){if(_<16)d[_]=s[o+_]|0;else{var S=d[_-15],u=(S<<25|S>>>7)^(S<<14|S>>>18)^S>>>3,F=d[_-2],y=(F<<15|F>>>17)^(F<<13|F>>>19)^F>>>10;d[_]=u+d[_-7]+y+d[_-16]}var g=i&E^~i&C,z=f&l^f&t^l&t,q=(f<<30|f>>>2)^(f<<19|f>>>13)^(f<<10|f>>>22),W=(i<<26|i>>>6)^(i<<21|i>>>11)^(i<<7|i>>>25),O=A+W+g+e[_]+d[_],X=q+z;A=C,C=E,E=i,i=n+O|0,n=t,t=l,l=f,f=O+X|0}c[0]=c[0]+f|0,c[1]=c[1]+l|0,c[2]=c[2]+t|0,c[3]=c[3]+n|0,c[4]=c[4]+i|0,c[5]=c[5]+E|0,c[6]=c[6]+C|0,c[7]=c[7]+A|0},_doFinalize:function(){var s=this._data,o=s.words,c=this._nDataBytes*8,f=s.sigBytes*8;return o[f>>>5]|=128<<24-f%32,o[(f+64>>>9<<4)+14]=a.floor(c/4294967296),o[(f+64>>>9<<4)+15]=c,s.sigBytes=o.length*4,this._process(),this._hash},clone:function(){var s=B.clone.call(this);return s._hash=this._hash.clone(),s}});p.SHA256=B._createHelper(r),p.HmacSHA256=B._createHmacHelper(r)}(Math),v.SHA256})}(w0)),w0.exports}var m0={exports:{}},gx;function Ar(){return gx||(gx=1,function(R,P){(function(v,a,p){R.exports=a(T(),tx())})(L,function(v){return function(){var a=v,p=a.lib,D=p.WordArray,H=a.algo,B=H.SHA256,h=H.SHA224=B.extend({_doReset:function(){this._hash=new D.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var x=B._doFinalize.call(this);return x.sigBytes-=4,x}});a.SHA224=B._createHelper(h),a.HmacSHA224=B._createHmacHelper(h)}(),v.SHA224})}(m0)),m0.exports}var S0={exports:{}},kx;function xr(){return kx||(kx=1,function(R,P){(function(v,a,p){R.exports=a(T(),E0())})(L,function(v){return function(){var a=v,p=a.lib,D=p.Hasher,H=a.x64,B=H.Word,h=H.WordArray,x=a.algo;function e(){return B.create.apply(B,arguments)}var d=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],r=[];(function(){for(var o=0;o<80;o++)r[o]=e()})();var s=x.SHA512=D.extend({_doReset:function(){this._hash=new h.init([new B.init(1779033703,4089235720),new B.init(3144134277,2227873595),new B.init(1013904242,4271175723),new B.init(2773480762,1595750129),new B.init(1359893119,2917565137),new B.init(2600822924,725511199),new B.init(528734635,4215389547),new B.init(1541459225,327033209)])},_doProcessBlock:function(o,c){for(var f=this._hash.words,l=f[0],t=f[1],n=f[2],i=f[3],E=f[4],C=f[5],A=f[6],_=f[7],S=l.high,u=l.low,F=t.high,y=t.low,g=n.high,z=n.low,q=i.high,W=i.low,O=E.high,X=E.low,U=C.high,N=C.low,b=A.high,w=A.low,m=_.high,k=_.low,G=S,K=u,M=F,I=y,f0=g,n0=z,A0=q,s0=W,V=O,$=X,h0=U,c0=N,l0=b,v0=w,F0=m,u0=k,j=0;j<80;j++){var Y,x0,C0=r[j];if(j<16)x0=C0.high=o[c+j*2]|0,Y=C0.low=o[c+j*2+1]|0;else{var nx=r[j-15],o0=nx.high,B0=nx.low,rr=(o0>>>1|B0<<31)^(o0>>>8|B0<<24)^o0>>>7,ox=(B0>>>1|o0<<31)^(B0>>>8|o0<<24)^(B0>>>7|o0<<25),ix=r[j-2],i0=ix.high,d0=ix.low,er=(i0>>>19|d0<<13)^(i0<<3|d0>>>29)^i0>>>6,fx=(d0>>>19|i0<<13)^(d0<<3|i0>>>29)^(d0>>>6|i0<<26),sx=r[j-7],tr=sx.high,ar=sx.low,cx=r[j-16],nr=cx.high,vx=cx.low;Y=ox+ar,x0=rr+tr+(Y>>>0>>0?1:0),Y=Y+fx,x0=x0+er+(Y>>>0>>0?1:0),Y=Y+vx,x0=x0+nr+(Y>>>0>>0?1:0),C0.high=x0,C0.low=Y}var or=V&h0^~V&l0,ux=$&c0^~$&v0,ir=G&M^G&f0^M&f0,fr=K&I^K&n0^I&n0,sr=(G>>>28|K<<4)^(G<<30|K>>>2)^(G<<25|K>>>7),Bx=(K>>>28|G<<4)^(K<<30|G>>>2)^(K<<25|G>>>7),cr=(V>>>14|$<<18)^(V>>>18|$<<14)^(V<<23|$>>>9),vr=($>>>14|V<<18)^($>>>18|V<<14)^($<<23|V>>>9),dx=d[j],ur=dx.high,hx=dx.low,Q=u0+vr,r0=F0+cr+(Q>>>0>>0?1:0),Q=Q+ux,r0=r0+or+(Q>>>0>>0?1:0),Q=Q+hx,r0=r0+ur+(Q>>>0>>0?1:0),Q=Q+Y,r0=r0+x0+(Q>>>0>>0?1:0),lx=Bx+fr,Br=sr+ir+(lx>>>0>>0?1:0);F0=l0,u0=v0,l0=h0,v0=c0,h0=V,c0=$,$=s0+Q|0,V=A0+r0+($>>>0>>0?1:0)|0,A0=f0,s0=n0,f0=M,n0=I,M=G,I=K,K=Q+lx|0,G=r0+Br+(K>>>0>>0?1:0)|0}u=l.low=u+K,l.high=S+G+(u>>>0>>0?1:0),y=t.low=y+I,t.high=F+M+(y>>>0>>0?1:0),z=n.low=z+n0,n.high=g+f0+(z>>>0>>0?1:0),W=i.low=W+s0,i.high=q+A0+(W>>>0>>0?1:0),X=E.low=X+$,E.high=O+V+(X>>>0<$>>>0?1:0),N=C.low=N+c0,C.high=U+h0+(N>>>0>>0?1:0),w=A.low=w+v0,A.high=b+l0+(w>>>0>>0?1:0),k=_.low=k+u0,_.high=m+F0+(k>>>0>>0?1:0)},_doFinalize:function(){var o=this._data,c=o.words,f=this._nDataBytes*8,l=o.sigBytes*8;c[l>>>5]|=128<<24-l%32,c[(l+128>>>10<<5)+30]=Math.floor(f/4294967296),c[(l+128>>>10<<5)+31]=f,o.sigBytes=c.length*4,this._process();var t=this._hash.toX32();return t},clone:function(){var o=D.clone.call(this);return o._hash=this._hash.clone(),o},blockSize:1024/32});a.SHA512=D._createHelper(s),a.HmacSHA512=D._createHmacHelper(s)}(),v.SHA512})}(S0)),S0.exports}var R0={exports:{}},Hx;function Fr(){return Hx||(Hx=1,function(R,P){(function(v,a,p){R.exports=a(T(),E0(),xr())})(L,function(v){return function(){var a=v,p=a.x64,D=p.Word,H=p.WordArray,B=a.algo,h=B.SHA512,x=B.SHA384=h.extend({_doReset:function(){this._hash=new H.init([new D.init(3418070365,3238371032),new D.init(1654270250,914150663),new D.init(2438529370,812702999),new D.init(355462360,4144912697),new D.init(1731405415,4290775857),new D.init(2394180231,1750603025),new D.init(3675008525,1694076839),new D.init(1203062813,3204075428)])},_doFinalize:function(){var e=h._doFinalize.call(this);return e.sigBytes-=16,e}});a.SHA384=h._createHelper(x),a.HmacSHA384=h._createHmacHelper(x)}(),v.SHA384})}(R0)),R0.exports}var z0={exports:{}},wx;function Dr(){return wx||(wx=1,function(R,P){(function(v,a,p){R.exports=a(T(),E0())})(L,function(v){return function(a){var p=v,D=p.lib,H=D.WordArray,B=D.Hasher,h=p.x64,x=h.Word,e=p.algo,d=[],r=[],s=[];(function(){for(var f=1,l=0,t=0;t<24;t++){d[f+5*l]=(t+1)*(t+2)/2%64;var n=l%5,i=(2*f+3*l)%5;f=n,l=i}for(var f=0;f<5;f++)for(var l=0;l<5;l++)r[f+5*l]=l+(2*f+3*l)%5*5;for(var E=1,C=0;C<24;C++){for(var A=0,_=0,S=0;S<7;S++){if(E&1){var u=(1<>>24)&16711935|(E<<24|E>>>8)&4278255360,C=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360;var A=t[i];A.high^=C,A.low^=E}for(var _=0;_<24;_++){for(var S=0;S<5;S++){for(var u=0,F=0,y=0;y<5;y++){var A=t[S+5*y];u^=A.high,F^=A.low}var g=o[S];g.high=u,g.low=F}for(var S=0;S<5;S++)for(var z=o[(S+4)%5],q=o[(S+1)%5],W=q.high,O=q.low,u=z.high^(W<<1|O>>>31),F=z.low^(O<<1|W>>>31),y=0;y<5;y++){var A=t[S+5*y];A.high^=u,A.low^=F}for(var X=1;X<25;X++){var u,F,A=t[X],U=A.high,N=A.low,b=d[X];b<32?(u=U<>>32-b,F=N<>>32-b):(u=N<>>64-b,F=U<>>64-b);var w=o[r[X]];w.high=u,w.low=F}var m=o[0],k=t[0];m.high=k.high,m.low=k.low;for(var S=0;S<5;S++)for(var y=0;y<5;y++){var X=S+5*y,A=t[X],G=o[X],K=o[(S+1)%5+5*y],M=o[(S+2)%5+5*y];A.high=G.high^~K.high&M.high,A.low=G.low^~K.low&M.low}var A=t[0],I=s[_];A.high^=I.high,A.low^=I.low}},_doFinalize:function(){var f=this._data,l=f.words;this._nDataBytes*8;var t=f.sigBytes*8,n=this.blockSize*32;l[t>>>5]|=1<<24-t%32,l[(a.ceil((t+1)/n)*n>>>5)-1]|=128,f.sigBytes=l.length*4,this._process();for(var i=this._state,E=this.cfg.outputLength/8,C=E/8,A=[],_=0;_>>24)&16711935|(u<<24|u>>>8)&4278255360,F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,A.push(F),A.push(u)}return new H.init(A,E)},clone:function(){for(var f=B.clone.call(this),l=f._state=this._state.slice(0),t=0;t<25;t++)l[t]=l[t].clone();return f}});p.SHA3=B._createHelper(c),p.HmacSHA3=B._createHmacHelper(c)}(Math),v.SHA3})}(z0)),z0.exports}var q0={exports:{}},mx;function pr(){return mx||(mx=1,function(R,P){(function(v,a){R.exports=a(T())})(L,function(v){/** @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(a){var p=v,D=p.lib,H=D.WordArray,B=D.Hasher,h=p.algo,x=H.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]),e=H.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]),d=H.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]),r=H.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]),s=H.create([0,1518500249,1859775393,2400959708,2840853838]),o=H.create([1352829926,1548603684,1836072691,2053994217,0]),c=h.RIPEMD160=B.extend({_doReset:function(){this._hash=H.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(C,A){for(var _=0;_<16;_++){var S=A+_,u=C[S];C[S]=(u<<8|u>>>24)&16711935|(u<<24|u>>>8)&4278255360}var F=this._hash.words,y=s.words,g=o.words,z=x.words,q=e.words,W=d.words,O=r.words,X,U,N,b,w,m,k,G,K,M;m=X=F[0],k=U=F[1],G=N=F[2],K=b=F[3],M=w=F[4];for(var I,_=0;_<80;_+=1)I=X+C[A+z[_]]|0,_<16?I+=f(U,N,b)+y[0]:_<32?I+=l(U,N,b)+y[1]:_<48?I+=t(U,N,b)+y[2]:_<64?I+=n(U,N,b)+y[3]:I+=i(U,N,b)+y[4],I=I|0,I=E(I,W[_]),I=I+w|0,X=w,w=b,b=E(N,10),N=U,U=I,I=m+C[A+q[_]]|0,_<16?I+=i(k,G,K)+g[0]:_<32?I+=n(k,G,K)+g[1]:_<48?I+=t(k,G,K)+g[2]:_<64?I+=l(k,G,K)+g[3]:I+=f(k,G,K)+g[4],I=I|0,I=E(I,O[_]),I=I+M|0,m=M,M=K,K=E(G,10),G=k,k=I;I=F[1]+N+K|0,F[1]=F[2]+b+M|0,F[2]=F[3]+w+m|0,F[3]=F[4]+X+k|0,F[4]=F[0]+U+G|0,F[0]=I},_doFinalize:function(){var C=this._data,A=C.words,_=this._nDataBytes*8,S=C.sigBytes*8;A[S>>>5]|=128<<24-S%32,A[(S+64>>>9<<4)+14]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,C.sigBytes=(A.length+1)*4,this._process();for(var u=this._hash,F=u.words,y=0;y<5;y++){var g=F[y];F[y]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360}return u},clone:function(){var C=B.clone.call(this);return C._hash=this._hash.clone(),C}});function f(C,A,_){return C^A^_}function l(C,A,_){return C&A|~C&_}function t(C,A,_){return(C|~A)^_}function n(C,A,_){return C&_|A&~_}function i(C,A,_){return C^(A|~_)}function E(C,A){return C<>>32-A}p.RIPEMD160=B._createHelper(c),p.HmacRIPEMD160=B._createHmacHelper(c)}(),v.RIPEMD160})}(q0)),q0.exports}var P0={exports:{}},Sx;function ax(){return Sx||(Sx=1,function(R,P){(function(v,a){R.exports=a(T())})(L,function(v){(function(){var a=v,p=a.lib,D=p.Base,H=a.enc,B=H.Utf8,h=a.algo;h.HMAC=D.extend({init:function(x,e){x=this._hasher=new x.init,typeof e=="string"&&(e=B.parse(e));var d=x.blockSize,r=d*4;e.sigBytes>r&&(e=x.finalize(e)),e.clamp();for(var s=this._oKey=e.clone(),o=this._iKey=e.clone(),c=s.words,f=o.words,l=0;l>>2]&255;u.sigBytes-=F}};D.BlockCipher=s.extend({cfg:s.cfg.extend({mode:f,padding:t}),reset:function(){var u;s.reset.call(this);var F=this.cfg,y=F.iv,g=F.mode;this._xformMode==this._ENC_XFORM_MODE?u=g.createEncryptor:(u=g.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==u?this._mode.init(this,y&&y.words):(this._mode=u.call(g,this,y&&y.words),this._mode.__creator=u)},_doProcessBlock:function(u,F){this._mode.processBlock(u,F)},_doFinalize:function(){var u,F=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(F.pad(this._data,this.blockSize),u=this._process(!0)):(u=this._process(!0),F.unpad(u)),u},blockSize:128/32});var n=D.CipherParams=H.extend({init:function(u){this.mixIn(u)},toString:function(u){return(u||this.formatter).stringify(this)}}),i=p.format={},E=i.OpenSSL={stringify:function(u){var F,y=u.ciphertext,g=u.salt;return g?F=B.create([1398893684,1701076831]).concat(g).concat(y):F=y,F.toString(e)},parse:function(u){var F,y=e.parse(u),g=y.words;return g[0]==1398893684&&g[1]==1701076831&&(F=B.create(g.slice(2,4)),g.splice(0,4),y.sigBytes-=16),n.create({ciphertext:y,salt:F})}},C=D.SerializableCipher=H.extend({cfg:H.extend({format:E}),encrypt:function(u,F,y,g){g=this.cfg.extend(g);var z=u.createEncryptor(y,g),q=z.finalize(F),W=z.cfg;return n.create({ciphertext:q,key:y,iv:W.iv,algorithm:u,mode:W.mode,padding:W.padding,blockSize:u.blockSize,formatter:g.format})},decrypt:function(u,F,y,g){g=this.cfg.extend(g),F=this._parse(F,g.format);var z=u.createDecryptor(y,g).finalize(F.ciphertext);return z},_parse:function(u,F){return typeof u=="string"?F.parse(u,this):u}}),A=p.kdf={},_=A.OpenSSL={execute:function(u,F,y,g,z){if(g||(g=B.random(64/8)),z)var q=r.create({keySize:F+y,hasher:z}).compute(u,g);else var q=r.create({keySize:F+y}).compute(u,g);var W=B.create(q.words.slice(F),y*4);return q.sigBytes=F*4,n.create({key:q,iv:W,salt:g})}},S=D.PasswordBasedCipher=C.extend({cfg:C.cfg.extend({kdf:_}),encrypt:function(u,F,y,g){g=this.cfg.extend(g);var z=g.kdf.execute(y,u.keySize,u.ivSize,g.salt,g.hasher);g.iv=z.iv;var q=C.encrypt.call(this,u,F,z.key,g);return q.mixIn(z),q},decrypt:function(u,F,y,g){g=this.cfg.extend(g),F=this._parse(F,g.format);var z=g.kdf.execute(y,u.keySize,u.ivSize,F.salt,g.hasher);g.iv=z.iv;var q=C.decrypt.call(this,u,F,z.key,g);return q}})}()})}(I0)),I0.exports}var T0={exports:{}},Px;function br(){return Px||(Px=1,function(R,P){(function(v,a,p){R.exports=a(T(),Z())})(L,function(v){return v.mode.CFB=function(){var a=v.lib.BlockCipherMode.extend();a.Encryptor=a.extend({processBlock:function(D,H){var B=this._cipher,h=B.blockSize;p.call(this,D,H,h,B),this._prevBlock=D.slice(H,H+h)}}),a.Decryptor=a.extend({processBlock:function(D,H){var B=this._cipher,h=B.blockSize,x=D.slice(H,H+h);p.call(this,D,H,h,B),this._prevBlock=x}});function p(D,H,B,h){var x,e=this._iv;e?(x=e.slice(0),this._iv=void 0):x=this._prevBlock,h.encryptBlock(x,0);for(var d=0;d>24&255)===255){var h=B>>16&255,x=B>>8&255,e=B&255;h===255?(h=0,x===255?(x=0,e===255?e=0:++e):++x):++h,B=0,B+=h<<16,B+=x<<8,B+=e}else B+=1<<24;return B}function D(B){return(B[0]=p(B[0]))===0&&(B[1]=p(B[1])),B}var H=a.Encryptor=a.extend({processBlock:function(B,h){var x=this._cipher,e=x.blockSize,d=this._iv,r=this._counter;d&&(r=this._counter=d.slice(0),this._iv=void 0),D(r);var s=r.slice(0);x.encryptBlock(s,0);for(var o=0;o>>2]|=B<<24-h%4*8,a.sigBytes+=B},unpad:function(a){var p=a.words[a.sigBytes-1>>>2]&255;a.sigBytes-=p}},v.pad.Ansix923})}(O0)),O0.exports}var G0={exports:{}},Nx;function mr(){return Nx||(Nx=1,function(R,P){(function(v,a,p){R.exports=a(T(),Z())})(L,function(v){return v.pad.Iso10126={pad:function(a,p){var D=p*4,H=D-a.sigBytes%D;a.concat(v.lib.WordArray.random(H-1)).concat(v.lib.WordArray.create([H<<24],1))},unpad:function(a){var p=a.words[a.sigBytes-1>>>2]&255;a.sigBytes-=p}},v.pad.Iso10126})}(G0)),G0.exports}var Z0={exports:{}},Ux;function Sr(){return Ux||(Ux=1,function(R,P){(function(v,a,p){R.exports=a(T(),Z())})(L,function(v){return v.pad.Iso97971={pad:function(a,p){a.concat(v.lib.WordArray.create([2147483648],1)),v.pad.ZeroPadding.pad(a,p)},unpad:function(a){v.pad.ZeroPadding.unpad(a),a.sigBytes--}},v.pad.Iso97971})}(Z0)),Z0.exports}var M0={exports:{}},Kx;function Rr(){return Kx||(Kx=1,function(R,P){(function(v,a,p){R.exports=a(T(),Z())})(L,function(v){return v.pad.ZeroPadding={pad:function(a,p){var D=p*4;a.clamp(),a.sigBytes+=D-(a.sigBytes%D||D)},unpad:function(a){for(var p=a.words,D=a.sigBytes-1,D=a.sigBytes-1;D>=0;D--)if(p[D>>>2]>>>24-D%4*8&255){a.sigBytes=D+1;break}}},v.pad.ZeroPadding})}(M0)),M0.exports}var $0={exports:{}},Ox;function zr(){return Ox||(Ox=1,function(R,P){(function(v,a,p){R.exports=a(T(),Z())})(L,function(v){return v.pad.NoPadding={pad:function(){},unpad:function(){}},v.pad.NoPadding})}($0)),$0.exports}var Q0={exports:{}},Gx;function qr(){return Gx||(Gx=1,function(R,P){(function(v,a,p){R.exports=a(T(),Z())})(L,function(v){return function(a){var p=v,D=p.lib,H=D.CipherParams,B=p.enc,h=B.Hex,x=p.format;x.Hex={stringify:function(e){return e.ciphertext.toString(h)},parse:function(e){var d=h.parse(e);return H.create({ciphertext:d})}}}(),v.format.Hex})}(Q0)),Q0.exports}var Y0={exports:{}},Zx;function Pr(){return Zx||(Zx=1,function(R,P){(function(v,a,p){R.exports=a(T(),t0(),a0(),e0(),Z())})(L,function(v){return function(){var a=v,p=a.lib,D=p.BlockCipher,H=a.algo,B=[],h=[],x=[],e=[],d=[],r=[],s=[],o=[],c=[],f=[];(function(){for(var n=[],i=0;i<256;i++)i<128?n[i]=i<<1:n[i]=i<<1^283;for(var E=0,C=0,i=0;i<256;i++){var A=C^C<<1^C<<2^C<<3^C<<4;A=A>>>8^A&255^99,B[E]=A,h[A]=E;var _=n[E],S=n[_],u=n[S],F=n[A]*257^A*16843008;x[E]=F<<24|F>>>8,e[E]=F<<16|F>>>16,d[E]=F<<8|F>>>24,r[E]=F;var F=u*16843009^S*65537^_*257^E*16843008;s[A]=F<<24|F>>>8,o[A]=F<<16|F>>>16,c[A]=F<<8|F>>>24,f[A]=F,E?(E=_^n[n[n[u^_]]],C^=n[n[C]]):E=C=1}})();var l=[0,1,2,4,8,16,32,64,128,27,54],t=H.AES=D.extend({_doReset:function(){var n;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var i=this._keyPriorReset=this._key,E=i.words,C=i.sigBytes/4,A=this._nRounds=C+6,_=(A+1)*4,S=this._keySchedule=[],u=0;u<_;u++)u6&&u%C==4&&(n=B[n>>>24]<<24|B[n>>>16&255]<<16|B[n>>>8&255]<<8|B[n&255]):(n=n<<8|n>>>24,n=B[n>>>24]<<24|B[n>>>16&255]<<16|B[n>>>8&255]<<8|B[n&255],n^=l[u/C|0]<<24),S[u]=S[u-C]^n);for(var F=this._invKeySchedule=[],y=0;y<_;y++){var u=_-y;if(y%4)var n=S[u];else var n=S[u-4];y<4||u<=4?F[y]=n:F[y]=s[B[n>>>24]]^o[B[n>>>16&255]]^c[B[n>>>8&255]]^f[B[n&255]]}}},encryptBlock:function(n,i){this._doCryptBlock(n,i,this._keySchedule,x,e,d,r,B)},decryptBlock:function(n,i){var E=n[i+1];n[i+1]=n[i+3],n[i+3]=E,this._doCryptBlock(n,i,this._invKeySchedule,s,o,c,f,h);var E=n[i+1];n[i+1]=n[i+3],n[i+3]=E},_doCryptBlock:function(n,i,E,C,A,_,S,u){for(var F=this._nRounds,y=n[i]^E[0],g=n[i+1]^E[1],z=n[i+2]^E[2],q=n[i+3]^E[3],W=4,O=1;O>>24]^A[g>>>16&255]^_[z>>>8&255]^S[q&255]^E[W++],U=C[g>>>24]^A[z>>>16&255]^_[q>>>8&255]^S[y&255]^E[W++],N=C[z>>>24]^A[q>>>16&255]^_[y>>>8&255]^S[g&255]^E[W++],b=C[q>>>24]^A[y>>>16&255]^_[g>>>8&255]^S[z&255]^E[W++];y=X,g=U,z=N,q=b}var X=(u[y>>>24]<<24|u[g>>>16&255]<<16|u[z>>>8&255]<<8|u[q&255])^E[W++],U=(u[g>>>24]<<24|u[z>>>16&255]<<16|u[q>>>8&255]<<8|u[y&255])^E[W++],N=(u[z>>>24]<<24|u[q>>>16&255]<<16|u[y>>>8&255]<<8|u[g&255])^E[W++],b=(u[q>>>24]<<24|u[y>>>16&255]<<16|u[g>>>8&255]<<8|u[z&255])^E[W++];n[i]=X,n[i+1]=U,n[i+2]=N,n[i+3]=b},keySize:256/32});a.AES=D._createHelper(t)}(),v.AES})}(Y0)),Y0.exports}var V0={exports:{}},Mx;function Wr(){return Mx||(Mx=1,function(R,P){(function(v,a,p){R.exports=a(T(),t0(),a0(),e0(),Z())})(L,function(v){return function(){var a=v,p=a.lib,D=p.WordArray,H=p.BlockCipher,B=a.algo,h=[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],x=[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],e=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],d=[{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}],r=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],s=B.DES=H.extend({_doReset:function(){for(var l=this._key,t=l.words,n=[],i=0;i<56;i++){var E=h[i]-1;n[i]=t[E>>>5]>>>31-E%32&1}for(var C=this._subKeys=[],A=0;A<16;A++){for(var _=C[A]=[],S=e[A],i=0;i<24;i++)_[i/6|0]|=n[(x[i]-1+S)%28]<<31-i%6,_[4+(i/6|0)]|=n[28+(x[i+24]-1+S)%28]<<31-i%6;_[0]=_[0]<<1|_[0]>>>31;for(var i=1;i<7;i++)_[i]=_[i]>>>(i-1)*4+3;_[7]=_[7]<<5|_[7]>>>27}for(var u=this._invSubKeys=[],i=0;i<16;i++)u[i]=C[15-i]},encryptBlock:function(l,t){this._doCryptBlock(l,t,this._subKeys)},decryptBlock:function(l,t){this._doCryptBlock(l,t,this._invSubKeys)},_doCryptBlock:function(l,t,n){this._lBlock=l[t],this._rBlock=l[t+1],o.call(this,4,252645135),o.call(this,16,65535),c.call(this,2,858993459),c.call(this,8,16711935),o.call(this,1,1431655765);for(var i=0;i<16;i++){for(var E=n[i],C=this._lBlock,A=this._rBlock,_=0,S=0;S<8;S++)_|=d[S][((A^E[S])&r[S])>>>0];this._lBlock=A,this._rBlock=C^_}var u=this._lBlock;this._lBlock=this._rBlock,this._rBlock=u,o.call(this,1,1431655765),c.call(this,8,16711935),c.call(this,2,858993459),o.call(this,16,65535),o.call(this,4,252645135),l[t]=this._lBlock,l[t+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function o(l,t){var n=(this._lBlock>>>l^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<>>l^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<192.");var n=t.slice(0,2),i=t.length<4?t.slice(0,2):t.slice(2,4),E=t.length<6?t.slice(0,2):t.slice(4,6);this._des1=s.createEncryptor(D.create(n)),this._des2=s.createEncryptor(D.create(i)),this._des3=s.createEncryptor(D.create(E))},encryptBlock:function(l,t){this._des1.encryptBlock(l,t),this._des2.decryptBlock(l,t),this._des3.encryptBlock(l,t)},decryptBlock:function(l,t){this._des3.decryptBlock(l,t),this._des2.encryptBlock(l,t),this._des1.decryptBlock(l,t)},keySize:192/32,ivSize:64/32,blockSize:64/32});a.TripleDES=H._createHelper(f)}(),v.TripleDES})}(V0)),V0.exports}var j0={exports:{}},$x;function Lr(){return $x||($x=1,function(R,P){(function(v,a,p){R.exports=a(T(),t0(),a0(),e0(),Z())})(L,function(v){return function(){var a=v,p=a.lib,D=p.StreamCipher,H=a.algo,B=H.RC4=D.extend({_doReset:function(){for(var e=this._key,d=e.words,r=e.sigBytes,s=this._S=[],o=0;o<256;o++)s[o]=o;for(var o=0,c=0;o<256;o++){var f=o%r,l=d[f>>>2]>>>24-f%4*8&255;c=(c+s[o]+l)%256;var t=s[o];s[o]=s[c],s[c]=t}this._i=this._j=0},_doProcessBlock:function(e,d){e[d]^=h.call(this)},keySize:256/32,ivSize:0});function h(){for(var e=this._S,d=this._i,r=this._j,s=0,o=0;o<4;o++){d=(d+1)%256,r=(r+e[d])%256;var c=e[d];e[d]=e[r],e[r]=c,s|=e[(e[d]+e[r])%256]<<24-o*8}return this._i=d,this._j=r,s}a.RC4=D._createHelper(B);var x=H.RC4Drop=B.extend({cfg:B.cfg.extend({drop:192}),_doReset:function(){B._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)h.call(this)}});a.RC4Drop=D._createHelper(x)}(),v.RC4})}(j0)),j0.exports}var J0={exports:{}},Qx;function Ir(){return Qx||(Qx=1,function(R,P){(function(v,a,p){R.exports=a(T(),t0(),a0(),e0(),Z())})(L,function(v){return function(){var a=v,p=a.lib,D=p.StreamCipher,H=a.algo,B=[],h=[],x=[],e=H.Rabbit=D.extend({_doReset:function(){for(var r=this._key.words,s=this.cfg.iv,o=0;o<4;o++)r[o]=(r[o]<<8|r[o]>>>24)&16711935|(r[o]<<24|r[o]>>>8)&4278255360;var c=this._X=[r[0],r[3]<<16|r[2]>>>16,r[1],r[0]<<16|r[3]>>>16,r[2],r[1]<<16|r[0]>>>16,r[3],r[2]<<16|r[1]>>>16],f=this._C=[r[2]<<16|r[2]>>>16,r[0]&4294901760|r[1]&65535,r[3]<<16|r[3]>>>16,r[1]&4294901760|r[2]&65535,r[0]<<16|r[0]>>>16,r[2]&4294901760|r[3]&65535,r[1]<<16|r[1]>>>16,r[3]&4294901760|r[0]&65535];this._b=0;for(var o=0;o<4;o++)d.call(this);for(var o=0;o<8;o++)f[o]^=c[o+4&7];if(s){var l=s.words,t=l[0],n=l[1],i=(t<<8|t>>>24)&16711935|(t<<24|t>>>8)&4278255360,E=(n<<8|n>>>24)&16711935|(n<<24|n>>>8)&4278255360,C=i>>>16|E&4294901760,A=E<<16|i&65535;f[0]^=i,f[1]^=C,f[2]^=E,f[3]^=A,f[4]^=i,f[5]^=C,f[6]^=E,f[7]^=A;for(var o=0;o<4;o++)d.call(this)}},_doProcessBlock:function(r,s){var o=this._X;d.call(this),B[0]=o[0]^o[5]>>>16^o[3]<<16,B[1]=o[2]^o[7]>>>16^o[5]<<16,B[2]=o[4]^o[1]>>>16^o[7]<<16,B[3]=o[6]^o[3]>>>16^o[1]<<16;for(var c=0;c<4;c++)B[c]=(B[c]<<8|B[c]>>>24)&16711935|(B[c]<<24|B[c]>>>8)&4278255360,r[s+c]^=B[c]},blockSize:128/32,ivSize:64/32});function d(){for(var r=this._X,s=this._C,o=0;o<8;o++)h[o]=s[o];s[0]=s[0]+1295307597+this._b|0,s[1]=s[1]+3545052371+(s[0]>>>0>>0?1:0)|0,s[2]=s[2]+886263092+(s[1]>>>0>>0?1:0)|0,s[3]=s[3]+1295307597+(s[2]>>>0>>0?1:0)|0,s[4]=s[4]+3545052371+(s[3]>>>0>>0?1:0)|0,s[5]=s[5]+886263092+(s[4]>>>0>>0?1:0)|0,s[6]=s[6]+1295307597+(s[5]>>>0>>0?1:0)|0,s[7]=s[7]+3545052371+(s[6]>>>0>>0?1:0)|0,this._b=s[7]>>>0>>0?1:0;for(var o=0;o<8;o++){var c=r[o]+s[o],f=c&65535,l=c>>>16,t=((f*f>>>17)+f*l>>>15)+l*l,n=((c&4294901760)*c|0)+((c&65535)*c|0);x[o]=t^n}r[0]=x[0]+(x[7]<<16|x[7]>>>16)+(x[6]<<16|x[6]>>>16)|0,r[1]=x[1]+(x[0]<<8|x[0]>>>24)+x[7]|0,r[2]=x[2]+(x[1]<<16|x[1]>>>16)+(x[0]<<16|x[0]>>>16)|0,r[3]=x[3]+(x[2]<<8|x[2]>>>24)+x[1]|0,r[4]=x[4]+(x[3]<<16|x[3]>>>16)+(x[2]<<16|x[2]>>>16)|0,r[5]=x[5]+(x[4]<<8|x[4]>>>24)+x[3]|0,r[6]=x[6]+(x[5]<<16|x[5]>>>16)+(x[4]<<16|x[4]>>>16)|0,r[7]=x[7]+(x[6]<<8|x[6]>>>24)+x[5]|0}a.Rabbit=D._createHelper(e)}(),v.Rabbit})}(J0)),J0.exports}var xx={exports:{}},Yx;function Tr(){return Yx||(Yx=1,function(R,P){(function(v,a,p){R.exports=a(T(),t0(),a0(),e0(),Z())})(L,function(v){return function(){var a=v,p=a.lib,D=p.StreamCipher,H=a.algo,B=[],h=[],x=[],e=H.RabbitLegacy=D.extend({_doReset:function(){var r=this._key.words,s=this.cfg.iv,o=this._X=[r[0],r[3]<<16|r[2]>>>16,r[1],r[0]<<16|r[3]>>>16,r[2],r[1]<<16|r[0]>>>16,r[3],r[2]<<16|r[1]>>>16],c=this._C=[r[2]<<16|r[2]>>>16,r[0]&4294901760|r[1]&65535,r[3]<<16|r[3]>>>16,r[1]&4294901760|r[2]&65535,r[0]<<16|r[0]>>>16,r[2]&4294901760|r[3]&65535,r[1]<<16|r[1]>>>16,r[3]&4294901760|r[0]&65535];this._b=0;for(var f=0;f<4;f++)d.call(this);for(var f=0;f<8;f++)c[f]^=o[f+4&7];if(s){var l=s.words,t=l[0],n=l[1],i=(t<<8|t>>>24)&16711935|(t<<24|t>>>8)&4278255360,E=(n<<8|n>>>24)&16711935|(n<<24|n>>>8)&4278255360,C=i>>>16|E&4294901760,A=E<<16|i&65535;c[0]^=i,c[1]^=C,c[2]^=E,c[3]^=A,c[4]^=i,c[5]^=C,c[6]^=E,c[7]^=A;for(var f=0;f<4;f++)d.call(this)}},_doProcessBlock:function(r,s){var o=this._X;d.call(this),B[0]=o[0]^o[5]>>>16^o[3]<<16,B[1]=o[2]^o[7]>>>16^o[5]<<16,B[2]=o[4]^o[1]>>>16^o[7]<<16,B[3]=o[6]^o[3]>>>16^o[1]<<16;for(var c=0;c<4;c++)B[c]=(B[c]<<8|B[c]>>>24)&16711935|(B[c]<<24|B[c]>>>8)&4278255360,r[s+c]^=B[c]},blockSize:128/32,ivSize:64/32});function d(){for(var r=this._X,s=this._C,o=0;o<8;o++)h[o]=s[o];s[0]=s[0]+1295307597+this._b|0,s[1]=s[1]+3545052371+(s[0]>>>0>>0?1:0)|0,s[2]=s[2]+886263092+(s[1]>>>0>>0?1:0)|0,s[3]=s[3]+1295307597+(s[2]>>>0>>0?1:0)|0,s[4]=s[4]+3545052371+(s[3]>>>0>>0?1:0)|0,s[5]=s[5]+886263092+(s[4]>>>0>>0?1:0)|0,s[6]=s[6]+1295307597+(s[5]>>>0>>0?1:0)|0,s[7]=s[7]+3545052371+(s[6]>>>0>>0?1:0)|0,this._b=s[7]>>>0>>0?1:0;for(var o=0;o<8;o++){var c=r[o]+s[o],f=c&65535,l=c>>>16,t=((f*f>>>17)+f*l>>>15)+l*l,n=((c&4294901760)*c|0)+((c&65535)*c|0);x[o]=t^n}r[0]=x[0]+(x[7]<<16|x[7]>>>16)+(x[6]<<16|x[6]>>>16)|0,r[1]=x[1]+(x[0]<<8|x[0]>>>24)+x[7]|0,r[2]=x[2]+(x[1]<<16|x[1]>>>16)+(x[0]<<16|x[0]>>>16)|0,r[3]=x[3]+(x[2]<<8|x[2]>>>24)+x[1]|0,r[4]=x[4]+(x[3]<<16|x[3]>>>16)+(x[2]<<16|x[2]>>>16)|0,r[5]=x[5]+(x[4]<<8|x[4]>>>24)+x[3]|0,r[6]=x[6]+(x[5]<<16|x[5]>>>16)+(x[4]<<16|x[4]>>>16)|0,r[7]=x[7]+(x[6]<<8|x[6]>>>24)+x[5]|0}a.RabbitLegacy=D._createHelper(e)}(),v.RabbitLegacy})}(xx)),xx.exports}var rx={exports:{}},Vx;function Xr(){return Vx||(Vx=1,function(R,P){(function(v,a,p){R.exports=a(T(),t0(),a0(),e0(),Z())})(L,function(v){return function(){var a=v,p=a.lib,D=p.BlockCipher,H=a.algo;const B=16,h=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],x=[[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 e={pbox:[],sbox:[]};function d(f,l){let t=l>>24&255,n=l>>16&255,i=l>>8&255,E=l&255,C=f.sbox[0][t]+f.sbox[1][n];return C=C^f.sbox[2][i],C=C+f.sbox[3][E],C}function r(f,l,t){let n=l,i=t,E;for(let C=0;C1;--C)n=n^f.pbox[C],i=d(f,n)^i,E=n,n=i,i=E;return E=n,n=i,i=E,i=i^f.pbox[1],n=n^f.pbox[0],{left:n,right:i}}function o(f,l,t){for(let A=0;A<4;A++){f.sbox[A]=[];for(let _=0;_<256;_++)f.sbox[A][_]=x[A][_]}let n=0;for(let A=0;A=t&&(n=0);let i=0,E=0,C=0;for(let A=0;A{const P=await ex.get(),v=J.SHA256(P).toString(J.enc.Hex);localStorage.setItem("mnemonicHash",v);const a=J.lib.WordArray.random(16).toString(J.enc.Hex);return{encryptedData:J.AES.encrypt(P,R,{iv:a}).toString(),iv:a}},Ur=(R,P,v)=>J.AES.decrypt(R,P,{iv:v}).toString(J.enc.Utf8);async function Or(R){const P=await Nr(R);return localStorage.setItem("iv",P.iv),localStorage.setItem("encryptedMnemonic",P.encryptedData),!!localStorage.getItem("encryptedMnemonic")}function Gr(R){const P=localStorage.getItem("iv");if(!P)return!1;const v=localStorage.getItem("encryptedMnemonic");if(!v)return!1;const a=Ur(v,R,P),p=localStorage.getItem("mnemonicHash"),D=J.SHA256(a).toString(J.enc.Hex);return D===p?(ex.set(D),!0):!1}async function Zr(){const R=await ex.get(),P=localStorage.getItem("encryptedMnemonic");let v=[!1,!1];return P?v[0]=!0:v[0]=!1,R?v[1]=!0:v[1]=!1,v}export{Gr as a,Zr as c,Or as e}; diff --git a/build/app/immutable/chunks/singletons.08d4b337.js b/build/app/immutable/chunks/singletons.08d4b337.js new file mode 100644 index 000000000..1cf95ba42 --- /dev/null +++ b/build/app/immutable/chunks/singletons.08d4b337.js @@ -0,0 +1 @@ +import{w as u}from"./index.41201598.js";var _;const k=((_=globalThis.__sveltekit_1ayvo9m)==null?void 0:_.base)??"";var g;const m=((g=globalThis.__sveltekit_1ayvo9m)==null?void 0:g.assets)??k,w="1704828299904",R="sveltekit:snapshot",T="sveltekit:scroll",I="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},h=location.origin;function S(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function x(){return{x:pageXOffset,y:pageYOffset}}function c(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function b(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function O(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=b(e)}}function U(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const o=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!o||E(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),l=(n==null?void 0:n.origin)===h&&e.hasAttribute("download");return{url:n,external:r,target:o,download:l}}function L(e){let t=null,n=null,o=null,r=null,l=null,a=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=c(s,"preload-code")),r===null&&(r=c(s,"preload-data")),t===null&&(t=c(s,"keepfocus")),n===null&&(n=c(s,"noscroll")),l===null&&(l=c(s,"reload")),a===null&&(a=c(s,"replacestate")),s=b(s);function i(v){switch(v){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:d[o??"off"],preload_data:d[r??"off"],keep_focus:i(t),noscroll:i(n),reload:i(l),replace_state:i(a)}}function p(e){const t=u(e);let n=!0;function o(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function l(a){let s;return t.subscribe(i=>{(s===void 0||n&&i!==s)&&a(s=i)})}return{notify:o,set:r,subscribe:l}}function y(){const{set:e,subscribe:t}=u(!1);let n;async function o(){clearTimeout(n);try{const r=await fetch(`${m}/app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==w;return a&&(e(!0),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:o}}function E(e,t){return e.origin!==h||!e.pathname.startsWith(t)}function N(e){e.client}const P={url:p({}),page:p({}),navigating:u(null),updated:y()};export{I,f as P,T as S,R as a,U as b,L as c,P as d,k as e,O as f,S as g,N as h,E as i,h as o,x as s}; diff --git a/build/app/immutable/chunks/singletons.a7bfad94.js b/build/app/immutable/chunks/singletons.a7bfad94.js deleted file mode 100644 index 05c7c1382..000000000 --- a/build/app/immutable/chunks/singletons.a7bfad94.js +++ /dev/null @@ -1 +0,0 @@ -import{w as u}from"./index.3a682f2f.js";var _;const v=((_=globalThis.__sveltekit_hzpi7s)==null?void 0:_.base)??"";var h;const k=((h=globalThis.__sveltekit_hzpi7s)==null?void 0:h.assets)??v,m="1701534461193",R="sveltekit:snapshot",T="sveltekit:scroll",y="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function I(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function S(){return{x:pageXOffset,y:pageYOffset}}function c(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function g(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function x(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=g(e)}}function O(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const o=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!o||E(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),l=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:r,target:o,download:l}}function U(e){let t=null,n=null,o=null,r=null,l=null,a=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=c(s,"preload-code")),r===null&&(r=c(s,"preload-data")),t===null&&(t=c(s,"keepfocus")),n===null&&(n=c(s,"noscroll")),l===null&&(l=c(s,"reload")),a===null&&(a=c(s,"replacestate")),s=g(s);function i(b){switch(b){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:d[o??"off"],preload_data:d[r??"off"],keep_focus:i(t),noscroll:i(n),reload:i(l),replace_state:i(a)}}function p(e){const t=u(e);let n=!0;function o(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function l(a){let s;return t.subscribe(i=>{(s===void 0||n&&i!==s)&&a(s=i)})}return{notify:o,set:r,subscribe:l}}function w(){const{set:e,subscribe:t}=u(!1);let n;async function o(){clearTimeout(n);try{const r=await fetch(`${k}/app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==m;return a&&(e(!0),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:o}}function E(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}function L(e){e.client}const N={url:p({}),page:p({}),navigating:u(null),updated:w()};export{y as I,f as P,T as S,R as a,O as b,U as c,N as d,v as e,x as f,I as g,L as h,E as i,S as s}; diff --git a/build/app/immutable/chunks/store.26750aee.js b/build/app/immutable/chunks/store.b194c171.js similarity index 92% rename from build/app/immutable/chunks/store.26750aee.js rename to build/app/immutable/chunks/store.b194c171.js index a9b8e9c42..66ae452ee 100644 --- a/build/app/immutable/chunks/store.26750aee.js +++ b/build/app/immutable/chunks/store.b194c171.js @@ -1 +1 @@ -import{w as t}from"./index.3a682f2f.js";const l=!0,u=l;var P=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function L(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function g(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var o=function s(){return this instanceof s?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};o.prototype=r.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(s){var c=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(o,s,c.get?c:{enumerable:!0,get:function(){return e[s]}})}),o}function T(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.')}const m={},b=Object.freeze(Object.defineProperty({__proto__:null,default:m},Symbol.toStringTag,{value:"Module"})),M=g(b),f=t(localStorage.getItem("walletAddress")||"");f.subscribe(e=>localStorage.setItem("walletAddress",e));const d=t(sessionStorage.getItem("privateKey")||""),p=t(sessionStorage.getItem("publicKey")||"");d.subscribe(e=>sessionStorage.setItem("privateKey",e));p.subscribe(e=>sessionStorage.setItem("publicKey",e));async function S(e){try{return u&&sessionStorage.setItem("mnemonicPhrase",e),!0}catch{return!1}}async function y(){try{return sessionStorage.getItem("mnemonicPhrase")}catch{return}}async function w(){try{return sessionStorage.removeItem("mnemonicPhrase"),!0}catch{return!1}}const $={get:y,set:S,remove:w},i=t(localStorage.getItem("jwtToken")||"");i.subscribe(e=>localStorage.setItem("jwtToken",e));const q=e=>{localStorage.setItem("jwtToken",`${e}`),i.set(e)},n=t(Number(localStorage.getItem("onboardingStepsLeft"))||4);n.subscribe(e=>localStorage.setItem("onboardingStepsLeft",e));const I=e=>{localStorage.setItem("onboardingStepsLeft",`${e}`),n.set(e)},h=()=>{n.update(e=>(localStorage.setItem("onboardingStepsLeft",`${e-1}`),e-1))},v=()=>{n.update(e=>(localStorage.setItem("onboardingStepsLeft",e+1),e+1))},E={subscribe:n.subscribe,set:I,decrease:h,increase:v},j=t(localStorage.getItem("iv")||"");j.subscribe(e=>localStorage.setItem("iv",e));const a=t(localStorage.getItem("avatar")||"");a.subscribe(e=>localStorage.setItem("avatar",e));const _=e=>{localStorage.setItem("avatar",`${e}`),a.set(e)},K={set:_,subscribe:a.subscribe};export{g as a,p as b,P as c,K as d,T as e,L as g,i as j,$ as m,E as o,d as p,M as r,q as s,f as w}; +import{w as t}from"./index.41201598.js";const l=!0,u=l;var P=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function L(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function g(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var o=function s(){return this instanceof s?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};o.prototype=r.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(s){var c=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(o,s,c.get?c:{enumerable:!0,get:function(){return e[s]}})}),o}function T(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.')}const m={},b=Object.freeze(Object.defineProperty({__proto__:null,default:m},Symbol.toStringTag,{value:"Module"})),M=g(b),f=t(localStorage.getItem("walletAddress")||"");f.subscribe(e=>localStorage.setItem("walletAddress",e));const d=t(sessionStorage.getItem("privateKey")||""),p=t(sessionStorage.getItem("publicKey")||"");d.subscribe(e=>sessionStorage.setItem("privateKey",e));p.subscribe(e=>sessionStorage.setItem("publicKey",e));async function S(e){try{return u&&sessionStorage.setItem("mnemonicPhrase",e),!0}catch{return!1}}async function y(){try{return sessionStorage.getItem("mnemonicPhrase")}catch{return}}async function w(){try{return sessionStorage.removeItem("mnemonicPhrase"),!0}catch{return!1}}const $={get:y,set:S,remove:w},i=t(localStorage.getItem("jwtToken")||"");i.subscribe(e=>localStorage.setItem("jwtToken",e));const q=e=>{localStorage.setItem("jwtToken",`${e}`),i.set(e)},n=t(Number(localStorage.getItem("onboardingStepsLeft"))||0);n.subscribe(e=>localStorage.setItem("onboardingStepsLeft",e));const I=e=>{localStorage.setItem("onboardingStepsLeft",`${e}`),n.set(e)},h=()=>{n.update(e=>(localStorage.setItem("onboardingStepsLeft",`${e-1}`),e-1))},v=()=>{n.update(e=>(localStorage.setItem("onboardingStepsLeft",e+1),e+1))},E={subscribe:n.subscribe,set:I,decrease:h,increase:v},j=t(localStorage.getItem("iv")||"");j.subscribe(e=>localStorage.setItem("iv",e));const a=t(localStorage.getItem("avatar")||"");a.subscribe(e=>localStorage.setItem("avatar",e));const _=e=>{localStorage.setItem("avatar",`${e}`),a.set(e)},K={set:_,subscribe:a.subscribe};export{p as a,K as b,P as c,g as d,T as e,L as g,i as j,$ as m,E as o,d as p,M as r,q as s,f as w}; diff --git a/build/app/immutable/chunks/stores.d32fd6ff.js b/build/app/immutable/chunks/stores.10dbaf69.js similarity index 73% rename from build/app/immutable/chunks/stores.d32fd6ff.js rename to build/app/immutable/chunks/stores.10dbaf69.js index f7e160ea5..380452023 100644 --- a/build/app/immutable/chunks/stores.d32fd6ff.js +++ b/build/app/immutable/chunks/stores.10dbaf69.js @@ -1 +1 @@ -import{d as e}from"./singletons.a7bfad94.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; +import{d as e}from"./singletons.08d4b337.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; diff --git a/build/app/immutable/entry/app.21aaaf31.js b/build/app/immutable/entry/app.21aaaf31.js deleted file mode 100644 index 20fa657f6..000000000 --- a/build/app/immutable/entry/app.21aaaf31.js +++ /dev/null @@ -1 +0,0 @@ -import{S as C,i as q,s as U,a as j,e as d,c as z,b as E,d as h,f as L,g,h as w,j as W,o as F,k as G,l as H,m as J,n as I,p,q as K,r as M,u as Q,v as P,t as X,w as A,x as v,y as k,z as D,A as O,B as R}from"../chunks/index.f3b06f47.js";const Y="modulepreload",Z=function(a,e){return new URL(a,e).href},T={},m=function(e,n,i){if(!n||n.length===0)return e();const r=document.getElementsByTagName("link");return Promise.all(n.map(_=>{if(_=Z(_,i),_ in T)return;T[_]=!0;const t=_.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(!!i)for(let l=r.length-1;l>=0;l--){const u=r[l];if(u.href===_&&(!t||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${_}"]${o}`))return;const s=document.createElement("link");if(s.rel=t?"stylesheet":Y,t||(s.as="script",s.crossOrigin=""),s.href=_,document.head.appendChild(s),t)return new Promise((l,u)=>{s.addEventListener("load",l),s.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${_}`)))})})).then(()=>e()).catch(_=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=_,window.dispatchEvent(t),!t.defaultPrevented)throw _})},re={};function $(a){let e,n,i;var r=a[1][0];function _(t){return{props:{data:t[3],form:t[2]}}}return r&&(e=v(r,_(a)),a[12](e)),{c(){e&&k(e.$$.fragment),n=d()},l(t){e&&D(e.$$.fragment,t),n=d()},m(t,o){e&&O(e,t,o),E(t,n,o),i=!0},p(t,o){const c={};if(o&8&&(c.data=t[3]),o&4&&(c.form=t[2]),o&2&&r!==(r=t[1][0])){if(e){P();const s=e;h(s.$$.fragment,1,0,()=>{R(s,1)}),L()}r?(e=v(r,_(t)),t[12](e),k(e.$$.fragment),g(e.$$.fragment,1),O(e,n.parentNode,n)):e=null}else r&&e.$set(c)},i(t){i||(e&&g(e.$$.fragment,t),i=!0)},o(t){e&&h(e.$$.fragment,t),i=!1},d(t){a[12](null),t&&w(n),e&&R(e,t)}}}function x(a){let e,n,i;var r=a[1][0];function _(t){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return r&&(e=v(r,_(a)),a[11](e)),{c(){e&&k(e.$$.fragment),n=d()},l(t){e&&D(e.$$.fragment,t),n=d()},m(t,o){e&&O(e,t,o),E(t,n,o),i=!0},p(t,o){const c={};if(o&8&&(c.data=t[3]),o&8215&&(c.$$scope={dirty:o,ctx:t}),o&2&&r!==(r=t[1][0])){if(e){P();const s=e;h(s.$$.fragment,1,0,()=>{R(s,1)}),L()}r?(e=v(r,_(t)),t[11](e),k(e.$$.fragment),g(e.$$.fragment,1),O(e,n.parentNode,n)):e=null}else r&&e.$set(c)},i(t){i||(e&&g(e.$$.fragment,t),i=!0)},o(t){e&&h(e.$$.fragment,t),i=!1},d(t){a[11](null),t&&w(n),e&&R(e,t)}}}function ee(a){let e,n,i;var r=a[1][1];function _(t){return{props:{data:t[4],form:t[2]}}}return r&&(e=v(r,_(a)),a[10](e)),{c(){e&&k(e.$$.fragment),n=d()},l(t){e&&D(e.$$.fragment,t),n=d()},m(t,o){e&&O(e,t,o),E(t,n,o),i=!0},p(t,o){const c={};if(o&16&&(c.data=t[4]),o&4&&(c.form=t[2]),o&2&&r!==(r=t[1][1])){if(e){P();const s=e;h(s.$$.fragment,1,0,()=>{R(s,1)}),L()}r?(e=v(r,_(t)),t[10](e),k(e.$$.fragment),g(e.$$.fragment,1),O(e,n.parentNode,n)):e=null}else r&&e.$set(c)},i(t){i||(e&&g(e.$$.fragment,t),i=!0)},o(t){e&&h(e.$$.fragment,t),i=!1},d(t){a[10](null),t&&w(n),e&&R(e,t)}}}function V(a){let e,n=a[6]&&y(a);return{c(){e=G("div"),n&&n.c(),this.h()},l(i){e=H(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var r=J(e);n&&n.l(r),r.forEach(w),this.h()},h(){I(e,"id","svelte-announcer"),I(e,"aria-live","assertive"),I(e,"aria-atomic","true"),p(e,"position","absolute"),p(e,"left","0"),p(e,"top","0"),p(e,"clip","rect(0 0 0 0)"),p(e,"clip-path","inset(50%)"),p(e,"overflow","hidden"),p(e,"white-space","nowrap"),p(e,"width","1px"),p(e,"height","1px")},m(i,r){E(i,e,r),n&&n.m(e,null)},p(i,r){i[6]?n?n.p(i,r):(n=y(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&w(e),n&&n.d()}}}function y(a){let e;return{c(){e=K(a[7])},l(n){e=M(n,a[7])},m(n,i){E(n,e,i)},p(n,i){i&128&&Q(e,n[7])},d(n){n&&w(e)}}}function te(a){let e,n,i,r,_;const t=[x,$],o=[];function c(l,u){return l[1][1]?0:1}e=c(a),n=o[e]=t[e](a);let s=a[5]&&V(a);return{c(){n.c(),i=j(),s&&s.c(),r=d()},l(l){n.l(l),i=z(l),s&&s.l(l),r=d()},m(l,u){o[e].m(l,u),E(l,i,u),s&&s.m(l,u),E(l,r,u),_=!0},p(l,[u]){let b=e;e=c(l),e===b?o[e].p(l,u):(P(),h(o[b],1,1,()=>{o[b]=null}),L(),n=o[e],n?n.p(l,u):(n=o[e]=t[e](l),n.c()),g(n,1),n.m(i.parentNode,i)),l[5]?s?s.p(l,u):(s=V(l),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},i(l){_||(g(n),_=!0)},o(l){h(n),_=!1},d(l){o[e].d(l),l&&w(i),s&&s.d(l),l&&w(r)}}}function ne(a,e,n){let{stores:i}=e,{page:r}=e,{constructors:_}=e,{components:t=[]}=e,{form:o}=e,{data_0:c=null}=e,{data_1:s=null}=e;W(i.page.notify);let l=!1,u=!1,b=null;F(()=>{const f=i.page.subscribe(()=>{l&&(n(6,u=!0),X().then(()=>{n(7,b=document.title||"untitled page")}))});return n(5,l=!0),f});function N(f){A[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function S(f){A[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function B(f){A[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return a.$$set=f=>{"stores"in f&&n(8,i=f.stores),"page"in f&&n(9,r=f.page),"constructors"in f&&n(1,_=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(2,o=f.form),"data_0"in f&&n(3,c=f.data_0),"data_1"in f&&n(4,s=f.data_1)},a.$$.update=()=>{a.$$.dirty&768&&i.page.set(r)},[t,_,o,c,s,l,u,b,i,r,N,S,B]}class oe extends C{constructor(e){super(),q(this,e,ne,te,U,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const se=[()=>m(()=>import("../nodes/0.56f78fc3.js"),["..\\nodes\\0.56f78fc3.js","..\\chunks\\index.f3b06f47.js","..\\assets\\0.678956fe.css"],import.meta.url),()=>m(()=>import("../nodes/1.a80c0d3e.js"),["..\\nodes\\1.a80c0d3e.js","..\\chunks\\index.f3b06f47.js","..\\chunks\\stores.d32fd6ff.js","..\\chunks\\singletons.a7bfad94.js","..\\chunks\\index.3a682f2f.js"],import.meta.url),()=>m(()=>import("../nodes/2.fcc26c31.js"),["..\\nodes\\2.fcc26c31.js","..\\chunks\\index.f3b06f47.js","..\\chunks\\Header.b7ab37a3.js","..\\chunks\\secondAuth.f9ee4b2a.js","..\\chunks\\store.26750aee.js","..\\chunks\\index.3a682f2f.js","..\\chunks\\public.02ab71de.js","..\\chunks\\Loader.d36557e7.js"],import.meta.url),()=>m(()=>import("../nodes/3.5063bed6.js"),["..\\nodes\\3.5063bed6.js","..\\chunks\\index.f3b06f47.js","..\\chunks\\Header.b7ab37a3.js","..\\chunks\\secondAuth.f9ee4b2a.js","..\\chunks\\store.26750aee.js","..\\chunks\\index.3a682f2f.js","..\\chunks\\public.02ab71de.js","..\\chunks\\AskToLogin.c273dc76.js"],import.meta.url),()=>m(()=>import("../nodes/4.b7bd329e.js"),["..\\nodes\\4.b7bd329e.js","..\\chunks\\index.f3b06f47.js","..\\chunks\\Header.b7ab37a3.js","..\\chunks\\secondAuth.f9ee4b2a.js","..\\chunks\\store.26750aee.js","..\\chunks\\index.3a682f2f.js"],import.meta.url),()=>m(()=>import("../nodes/5.2e37ee17.js"),["..\\nodes\\5.2e37ee17.js","..\\chunks\\index.f3b06f47.js","..\\chunks\\store.26750aee.js","..\\chunks\\index.3a682f2f.js","..\\chunks\\Header.b7ab37a3.js","..\\chunks\\secondAuth.f9ee4b2a.js","..\\chunks\\index.ec3c65db.js"],import.meta.url),()=>m(()=>import("../nodes/6.84af78c8.js"),["..\\nodes\\6.84af78c8.js","..\\chunks\\index.f3b06f47.js","..\\chunks\\functionsForLogin.1a2a5d01.js","..\\chunks\\store.26750aee.js","..\\chunks\\index.3a682f2f.js","..\\chunks\\public.02ab71de.js","..\\chunks\\index.ec3c65db.js","..\\chunks\\Header.b7ab37a3.js","..\\chunks\\secondAuth.f9ee4b2a.js"],import.meta.url),()=>m(()=>import("../nodes/7.22545cd2.js"),["..\\nodes\\7.22545cd2.js","..\\chunks\\index.f3b06f47.js","..\\chunks\\store.26750aee.js","..\\chunks\\index.3a682f2f.js","..\\chunks\\Header.b7ab37a3.js","..\\chunks\\secondAuth.f9ee4b2a.js","..\\chunks\\index.ec3c65db.js"],import.meta.url),()=>m(()=>import("../nodes/8.eaf2523e.js"),["..\\nodes\\8.eaf2523e.js","..\\chunks\\index.f3b06f47.js","..\\chunks\\functionsForLogin.1a2a5d01.js","..\\chunks\\store.26750aee.js","..\\chunks\\index.3a682f2f.js","..\\chunks\\public.02ab71de.js","..\\chunks\\index.ec3c65db.js","..\\chunks\\Header.b7ab37a3.js","..\\chunks\\secondAuth.f9ee4b2a.js"],import.meta.url),()=>m(()=>import("../nodes/9.821502a3.js"),["..\\nodes\\9.821502a3.js","..\\chunks\\index.f3b06f47.js","..\\chunks\\Header.b7ab37a3.js","..\\chunks\\secondAuth.f9ee4b2a.js","..\\chunks\\store.26750aee.js","..\\chunks\\index.3a682f2f.js","..\\chunks\\qrCode.9ed71917.js","..\\chunks\\public.02ab71de.js","..\\chunks\\AskToLogin.c273dc76.js"],import.meta.url),()=>m(()=>import("../nodes/10.99a1db5c.js"),["..\\nodes\\10.99a1db5c.js","..\\chunks\\index.f3b06f47.js","..\\chunks\\Header.b7ab37a3.js","..\\chunks\\secondAuth.f9ee4b2a.js","..\\chunks\\store.26750aee.js","..\\chunks\\index.3a682f2f.js","..\\chunks\\Logout.35258e20.js"],import.meta.url),()=>m(()=>import("../nodes/11.5d5fd754.js"),["..\\nodes\\11.5d5fd754.js","..\\chunks\\index.f3b06f47.js","..\\chunks\\Header.b7ab37a3.js","..\\chunks\\secondAuth.f9ee4b2a.js","..\\chunks\\store.26750aee.js","..\\chunks\\index.3a682f2f.js"],import.meta.url),()=>m(()=>import("../nodes/12.e61ea9bd.js"),["..\\nodes\\12.e61ea9bd.js","..\\chunks\\index.f3b06f47.js","..\\chunks\\secondAuth.f9ee4b2a.js","..\\chunks\\store.26750aee.js","..\\chunks\\index.3a682f2f.js"],import.meta.url),()=>m(()=>import("../nodes/13.0d5ed22d.js"),["..\\nodes\\13.0d5ed22d.js","..\\chunks\\index.f3b06f47.js","..\\chunks\\stores.d32fd6ff.js","..\\chunks\\singletons.a7bfad94.js","..\\chunks\\index.3a682f2f.js","..\\chunks\\store.26750aee.js","..\\chunks\\index.ec3c65db.js","..\\chunks\\Loader.d36557e7.js"],import.meta.url),()=>m(()=>import("../nodes/14.64b23fc3.js"),["..\\nodes\\14.64b23fc3.js","..\\chunks\\index.f3b06f47.js","..\\chunks\\secondAuth.f9ee4b2a.js","..\\chunks\\store.26750aee.js","..\\chunks\\index.3a682f2f.js","..\\chunks\\qrCode.9ed71917.js","..\\chunks\\index.ec3c65db.js","..\\chunks\\public.02ab71de.js","..\\chunks\\Loader.d36557e7.js","..\\chunks\\Logout.35258e20.js","..\\chunks\\Header.b7ab37a3.js"],import.meta.url)],ae=[],le={"/":[2],"/Onboarding":[4],"/Onboarding/get-secret-key":[5],"/Onboarding/get-secret-key/create-password":[6],"/Onboarding/import-old-wallet":[7],"/Onboarding/import-old-wallet/create-password":[8],"/feedback":[3],"/profile":[9],"/settings":[10],"/settings/show-secret-key":[11],"/signIn":[12],"/transaction/[hash]":[13],"/wallet":[14]},_e={handleError:({error:a})=>{console.error(a)}};export{le as dictionary,_e as hooks,re as matchers,se as nodes,oe as root,ae as server_loads}; diff --git a/build/app/immutable/entry/app.f801ab02.js b/build/app/immutable/entry/app.f801ab02.js new file mode 100644 index 000000000..35b05e815 --- /dev/null +++ b/build/app/immutable/entry/app.f801ab02.js @@ -0,0 +1 @@ +import{S as C,i as q,s as U,a as j,e as d,c as z,b as g,d as h,f as L,g as E,h as w,j as W,o as F,k as G,l as H,m as J,n as I,p,q as K,r as M,u as Q,v as P,t as X,w as A,x as b,y as k,z as D,A as O,B as R}from"../chunks/index.89e71670.js";const Y="modulepreload",Z=function(a,e){return new URL(a,e).href},T={},c=function(e,i,r){if(!i||i.length===0)return e();const n=document.getElementsByTagName("link");return Promise.all(i.map(l=>{if(l=Z(l,r),l in T)return;T[l]=!0;const t=l.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(!!r)for(let _=n.length-1;_>=0;_--){const m=n[_];if(m.href===l&&(!t||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${o}`))return;const s=document.createElement("link");if(s.rel=t?"stylesheet":Y,t||(s.as="script",s.crossOrigin=""),s.href=l,document.head.appendChild(s),t)return new Promise((_,m)=>{s.addEventListener("load",_),s.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>e()).catch(l=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=l,window.dispatchEvent(t),!t.defaultPrevented)throw l})},ne={};function $(a){let e,i,r;var n=a[1][0];function l(t){return{props:{data:t[3],form:t[2]}}}return n&&(e=b(n,l(a)),a[12](e)),{c(){e&&k(e.$$.fragment),i=d()},l(t){e&&D(e.$$.fragment,t),i=d()},m(t,o){e&&O(e,t,o),g(t,i,o),r=!0},p(t,o){const u={};if(o&8&&(u.data=t[3]),o&4&&(u.form=t[2]),o&2&&n!==(n=t[1][0])){if(e){P();const s=e;h(s.$$.fragment,1,0,()=>{R(s,1)}),L()}n?(e=b(n,l(t)),t[12](e),k(e.$$.fragment),E(e.$$.fragment,1),O(e,i.parentNode,i)):e=null}else n&&e.$set(u)},i(t){r||(e&&E(e.$$.fragment,t),r=!0)},o(t){e&&h(e.$$.fragment,t),r=!1},d(t){a[12](null),t&&w(i),e&&R(e,t)}}}function x(a){let e,i,r;var n=a[1][0];function l(t){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return n&&(e=b(n,l(a)),a[11](e)),{c(){e&&k(e.$$.fragment),i=d()},l(t){e&&D(e.$$.fragment,t),i=d()},m(t,o){e&&O(e,t,o),g(t,i,o),r=!0},p(t,o){const u={};if(o&8&&(u.data=t[3]),o&8215&&(u.$$scope={dirty:o,ctx:t}),o&2&&n!==(n=t[1][0])){if(e){P();const s=e;h(s.$$.fragment,1,0,()=>{R(s,1)}),L()}n?(e=b(n,l(t)),t[11](e),k(e.$$.fragment),E(e.$$.fragment,1),O(e,i.parentNode,i)):e=null}else n&&e.$set(u)},i(t){r||(e&&E(e.$$.fragment,t),r=!0)},o(t){e&&h(e.$$.fragment,t),r=!1},d(t){a[11](null),t&&w(i),e&&R(e,t)}}}function ee(a){let e,i,r;var n=a[1][1];function l(t){return{props:{data:t[4],form:t[2]}}}return n&&(e=b(n,l(a)),a[10](e)),{c(){e&&k(e.$$.fragment),i=d()},l(t){e&&D(e.$$.fragment,t),i=d()},m(t,o){e&&O(e,t,o),g(t,i,o),r=!0},p(t,o){const u={};if(o&16&&(u.data=t[4]),o&4&&(u.form=t[2]),o&2&&n!==(n=t[1][1])){if(e){P();const s=e;h(s.$$.fragment,1,0,()=>{R(s,1)}),L()}n?(e=b(n,l(t)),t[10](e),k(e.$$.fragment),E(e.$$.fragment,1),O(e,i.parentNode,i)):e=null}else n&&e.$set(u)},i(t){r||(e&&E(e.$$.fragment,t),r=!0)},o(t){e&&h(e.$$.fragment,t),r=!1},d(t){a[10](null),t&&w(i),e&&R(e,t)}}}function V(a){let e,i=a[6]&&y(a);return{c(){e=G("div"),i&&i.c(),this.h()},l(r){e=H(r,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var n=J(e);i&&i.l(n),n.forEach(w),this.h()},h(){I(e,"id","svelte-announcer"),I(e,"aria-live","assertive"),I(e,"aria-atomic","true"),p(e,"position","absolute"),p(e,"left","0"),p(e,"top","0"),p(e,"clip","rect(0 0 0 0)"),p(e,"clip-path","inset(50%)"),p(e,"overflow","hidden"),p(e,"white-space","nowrap"),p(e,"width","1px"),p(e,"height","1px")},m(r,n){g(r,e,n),i&&i.m(e,null)},p(r,n){r[6]?i?i.p(r,n):(i=y(r),i.c(),i.m(e,null)):i&&(i.d(1),i=null)},d(r){r&&w(e),i&&i.d()}}}function y(a){let e;return{c(){e=K(a[7])},l(i){e=M(i,a[7])},m(i,r){g(i,e,r)},p(i,r){r&128&&Q(e,i[7])},d(i){i&&w(e)}}}function te(a){let e,i,r,n,l;const t=[x,$],o=[];function u(_,m){return _[1][1]?0:1}e=u(a),i=o[e]=t[e](a);let s=a[5]&&V(a);return{c(){i.c(),r=j(),s&&s.c(),n=d()},l(_){i.l(_),r=z(_),s&&s.l(_),n=d()},m(_,m){o[e].m(_,m),g(_,r,m),s&&s.m(_,m),g(_,n,m),l=!0},p(_,[m]){let v=e;e=u(_),e===v?o[e].p(_,m):(P(),h(o[v],1,1,()=>{o[v]=null}),L(),i=o[e],i?i.p(_,m):(i=o[e]=t[e](_),i.c()),E(i,1),i.m(r.parentNode,r)),_[5]?s?s.p(_,m):(s=V(_),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},i(_){l||(E(i),l=!0)},o(_){h(i),l=!1},d(_){o[e].d(_),_&&w(r),s&&s.d(_),_&&w(n)}}}function ie(a,e,i){let{stores:r}=e,{page:n}=e,{constructors:l}=e,{components:t=[]}=e,{form:o}=e,{data_0:u=null}=e,{data_1:s=null}=e;W(r.page.notify);let _=!1,m=!1,v=null;F(()=>{const f=r.page.subscribe(()=>{_&&(i(6,m=!0),X().then(()=>{i(7,v=document.title||"untitled page")}))});return i(5,_=!0),f});function N(f){A[f?"unshift":"push"](()=>{t[1]=f,i(0,t)})}function S(f){A[f?"unshift":"push"](()=>{t[0]=f,i(0,t)})}function B(f){A[f?"unshift":"push"](()=>{t[0]=f,i(0,t)})}return a.$$set=f=>{"stores"in f&&i(8,r=f.stores),"page"in f&&i(9,n=f.page),"constructors"in f&&i(1,l=f.constructors),"components"in f&&i(0,t=f.components),"form"in f&&i(2,o=f.form),"data_0"in f&&i(3,u=f.data_0),"data_1"in f&&i(4,s=f.data_1)},a.$$.update=()=>{a.$$.dirty&768&&r.page.set(n)},[t,l,o,u,s,_,m,v,r,n,N,S,B]}class oe extends C{constructor(e){super(),q(this,e,ie,te,U,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const se=[()=>c(()=>import("../nodes/0.96a454bd.js"),["..\\nodes\\0.96a454bd.js","..\\chunks\\index.89e71670.js","..\\assets\\0.354f7094.css"],import.meta.url),()=>c(()=>import("../nodes/1.dc4ed5df.js"),["..\\nodes\\1.dc4ed5df.js","..\\chunks\\index.89e71670.js","..\\chunks\\stores.10dbaf69.js","..\\chunks\\singletons.08d4b337.js","..\\chunks\\index.41201598.js"],import.meta.url),()=>c(()=>import("../nodes/2.c6b1f6e9.js"),["..\\nodes\\2.c6b1f6e9.js","..\\chunks\\index.89e71670.js","..\\chunks\\Header.cf7b0240.js","..\\chunks\\store.b194c171.js","..\\chunks\\index.41201598.js","..\\chunks\\Loader.ef1f0f41.js","..\\chunks\\public.6087a87e.js"],import.meta.url),()=>c(()=>import("../nodes/3.8927f60a.js"),["..\\nodes\\3.8927f60a.js","..\\chunks\\index.89e71670.js","..\\chunks\\Header.cf7b0240.js","..\\chunks\\store.b194c171.js","..\\chunks\\index.41201598.js","..\\chunks\\public.6087a87e.js"],import.meta.url),()=>c(()=>import("../nodes/4.544ace99.js"),["..\\nodes\\4.544ace99.js","..\\chunks\\index.89e71670.js","..\\chunks\\Header.cf7b0240.js","..\\chunks\\store.b194c171.js","..\\chunks\\index.41201598.js","..\\chunks\\public.6087a87e.js"],import.meta.url),()=>c(()=>import("../nodes/5.afd034f0.js"),["..\\nodes\\5.afd034f0.js","..\\chunks\\index.89e71670.js","..\\chunks\\Header.cf7b0240.js","..\\chunks\\store.b194c171.js","..\\chunks\\index.41201598.js"],import.meta.url),()=>c(()=>import("../nodes/6.27b2679f.js"),["..\\nodes\\6.27b2679f.js","..\\chunks\\index.89e71670.js","..\\chunks\\store.b194c171.js","..\\chunks\\index.41201598.js","..\\chunks\\Header.cf7b0240.js","..\\chunks\\index.aad90ce6.js"],import.meta.url),()=>c(()=>import("../nodes/7.37e8c4da.js"),["..\\nodes\\7.37e8c4da.js","..\\chunks\\index.89e71670.js","..\\chunks\\functionsForLogin.58cfd4e2.js","..\\chunks\\store.b194c171.js","..\\chunks\\index.41201598.js","..\\chunks\\public.6087a87e.js","..\\chunks\\index.aad90ce6.js","..\\chunks\\Header.cf7b0240.js"],import.meta.url),()=>c(()=>import("../nodes/8.28ec62b5.js"),["..\\nodes\\8.28ec62b5.js","..\\chunks\\index.89e71670.js","..\\chunks\\store.b194c171.js","..\\chunks\\index.41201598.js","..\\chunks\\Header.cf7b0240.js","..\\chunks\\index.aad90ce6.js"],import.meta.url),()=>c(()=>import("../nodes/9.84ee94ce.js"),["..\\nodes\\9.84ee94ce.js","..\\chunks\\index.89e71670.js","..\\chunks\\functionsForLogin.58cfd4e2.js","..\\chunks\\store.b194c171.js","..\\chunks\\index.41201598.js","..\\chunks\\public.6087a87e.js","..\\chunks\\index.aad90ce6.js","..\\chunks\\Header.cf7b0240.js"],import.meta.url),()=>c(()=>import("../nodes/10.119eba6e.js"),["..\\nodes\\10.119eba6e.js","..\\chunks\\index.89e71670.js","..\\chunks\\Header.cf7b0240.js","..\\chunks\\store.b194c171.js","..\\chunks\\index.41201598.js","..\\chunks\\public.6087a87e.js","..\\chunks\\qrCode.512fe2c5.js"],import.meta.url),()=>c(()=>import("../nodes/11.1c99b5c9.js"),["..\\nodes\\11.1c99b5c9.js","..\\chunks\\index.89e71670.js","..\\chunks\\Header.cf7b0240.js","..\\chunks\\store.b194c171.js","..\\chunks\\index.41201598.js"],import.meta.url),()=>c(()=>import("../nodes/12.d000e9c3.js"),["..\\nodes\\12.d000e9c3.js","..\\chunks\\index.89e71670.js","..\\chunks\\Header.cf7b0240.js","..\\chunks\\store.b194c171.js","..\\chunks\\index.41201598.js"],import.meta.url),()=>c(()=>import("../nodes/13.29e752ec.js"),["..\\nodes\\13.29e752ec.js","..\\chunks\\index.89e71670.js","..\\chunks\\Header.cf7b0240.js","..\\chunks\\store.b194c171.js","..\\chunks\\index.41201598.js"],import.meta.url),()=>c(()=>import("../nodes/14.7ecadb95.js"),["..\\nodes\\14.7ecadb95.js","..\\chunks\\index.89e71670.js","..\\chunks\\Header.cf7b0240.js","..\\chunks\\store.b194c171.js","..\\chunks\\index.41201598.js"],import.meta.url),()=>c(()=>import("../nodes/15.c8f67112.js"),["..\\nodes\\15.c8f67112.js","..\\chunks\\index.89e71670.js","..\\chunks\\store.b194c171.js","..\\chunks\\index.41201598.js","..\\chunks\\public.6087a87e.js","..\\chunks\\Header.cf7b0240.js","..\\chunks\\Loader.ef1f0f41.js"],import.meta.url),()=>c(()=>import("../nodes/16.9c0a46fb.js"),["..\\nodes\\16.9c0a46fb.js","..\\chunks\\index.89e71670.js","..\\chunks\\Header.cf7b0240.js","..\\chunks\\store.b194c171.js","..\\chunks\\index.41201598.js"],import.meta.url),()=>c(()=>import("../nodes/17.d881b037.js"),["..\\nodes\\17.d881b037.js","..\\chunks\\index.89e71670.js","..\\chunks\\stores.10dbaf69.js","..\\chunks\\singletons.08d4b337.js","..\\chunks\\index.41201598.js","..\\chunks\\store.b194c171.js","..\\chunks\\index.aad90ce6.js","..\\chunks\\Loader.ef1f0f41.js"],import.meta.url),()=>c(()=>import("../nodes/18.179817f6.js"),["..\\nodes\\18.179817f6.js","..\\chunks\\index.89e71670.js","..\\chunks\\store.b194c171.js","..\\chunks\\index.41201598.js","..\\chunks\\qrCode.512fe2c5.js","..\\chunks\\index.aad90ce6.js","..\\chunks\\public.6087a87e.js","..\\chunks\\Loader.ef1f0f41.js","..\\chunks\\Header.cf7b0240.js"],import.meta.url)],ae=[],_e={"/":[2],"/Onboarding":[5],"/Onboarding/get-secret-key":[6],"/Onboarding/get-secret-key/create-password":[7],"/Onboarding/import-old-wallet":[8],"/Onboarding/import-old-wallet/create-password":[9],"/create-profile":[3],"/feedback":[4],"/profile":[10],"/settings":[11],"/settings/show-secret-key":[12],"/signIn":[13],"/submit-review":[14],"/submit-review/create-review":[15],"/submit-review/success":[16],"/transaction/[hash]":[17],"/wallet":[18]},le={handleError:({error:a})=>{console.error(a)}};export{_e as dictionary,le as hooks,ne as matchers,se as nodes,oe as root,ae as server_loads}; diff --git a/build/app/immutable/entry/start.4107338a.js b/build/app/immutable/entry/start.4107338a.js deleted file mode 100644 index d1a68f279..000000000 --- a/build/app/immutable/entry/start.4107338a.js +++ /dev/null @@ -1,3 +0,0 @@ -import{o as me,t as we}from"../chunks/index.f3b06f47.js";import{S as Be,a as Ge,I as M,g as De,f as Ce,b as _e,c as le,s as te,i as ye,d as F,e as J,P as Me,h as Xe}from"../chunks/singletons.a7bfad94.js";function Ze(t,r){return t==="/"||r==="ignore"?t:r==="never"?t.endsWith("/")?t.slice(0,-1):t:r==="always"&&!t.endsWith("/")?t+"/":t}function Qe(t){return t.split("%25").map(decodeURI).join("%25")}function et(t){for(const r in t)t[r]=decodeURIComponent(t[r]);return t}const tt=["href","pathname","search","searchParams","toString","toJSON"];function nt(t,r){const f=new URL(t);for(const s of tt)Object.defineProperty(f,s,{get(){return r(),t[s]},enumerable:!0,configurable:!0});return at(f),f}function at(t){Object.defineProperty(t,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const rt="/__data.json";function ot(t){return t.replace(/\/$/,"")+rt}function it(...t){let r=5381;for(const f of t)if(typeof f=="string"){let s=f.length;for(;s;)r=r*33^f.charCodeAt(--s)}else if(ArrayBuffer.isView(f)){const s=new Uint8Array(f.buffer,f.byteOffset,f.byteLength);let d=s.length;for(;d;)r=r*33^s[--d]}else throw new TypeError("value must be a string or TypedArray");return(r>>>0).toString(36)}const Je=window.fetch;window.fetch=(t,r)=>((t instanceof Request?t.method:(r==null?void 0:r.method)||"GET")!=="GET"&&ae.delete(Se(t)),Je(t,r));const ae=new Map;function st(t,r){const f=Se(t,r),s=document.querySelector(f);if(s!=null&&s.textContent){const{body:d,...u}=JSON.parse(s.textContent),E=s.getAttribute("data-ttl");return E&&ae.set(f,{body:d,init:u,ttl:1e3*Number(E)}),Promise.resolve(new Response(d,u))}return window.fetch(t,r)}function ct(t,r,f){if(ae.size>0){const s=Se(t,f),d=ae.get(s);if(d){if(performance.now(){const d=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(s);if(d)return r.push({name:d[1],matcher:d[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const u=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(s);if(u)return r.push({name:u[1],matcher:u[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!s)return;const E=s.split(/\[(.+?)\](?!\])/);return"/"+E.map((g,m)=>{if(m%2){if(g.startsWith("x+"))return ve(String.fromCharCode(parseInt(g.slice(2),16)));if(g.startsWith("u+"))return ve(String.fromCharCode(...g.slice(2).split("-").map(U=>parseInt(U,16))));const h=lt.exec(g);if(!h)throw new Error(`Invalid param: ${g}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,x,j,k,N]=h;return r.push({name:k,matcher:N,optional:!!x,rest:!!j,chained:j?m===1&&E[0]==="":!1}),j?"(.*?)":x?"([^/]*)?":"([^/]+?)"}return ve(g)}).join("")}).join("")}/?$`),params:r}}function ut(t){return!/^\([^)]+\)$/.test(t)}function dt(t){return t.slice(1).split("/").filter(ut)}function pt(t,r,f){const s={},d=t.slice(1),u=d.filter(l=>l!==void 0);let E=0;for(let l=0;lh).join("/"),E=0),m===void 0){g.rest&&(s[g.name]="");continue}if(!g.matcher||f[g.matcher](m)){s[g.name]=m;const h=r[l+1],x=d[l+1];h&&!h.rest&&h.optional&&x&&g.chained&&(E=0),!h&&!x&&Object.keys(s).length===u.length&&(E=0);continue}if(g.optional&&g.chained){E++;continue}return}if(!E)return s}function ve(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function ht({nodes:t,server_loads:r,dictionary:f,matchers:s}){const d=new Set(r);return Object.entries(f).map(([l,[g,m,h]])=>{const{pattern:x,params:j}=ft(l),k={id:l,exec:N=>{const U=x.exec(N);if(U)return pt(U,j,s)},errors:[1,...h||[]].map(N=>t[N]),layouts:[0,...m||[]].map(E),leaf:u(g)};return k.errors.length=k.layouts.length=Math.max(k.errors.length,k.layouts.length),k});function u(l){const g=l<0;return g&&(l=~l),[g,t[l]]}function E(l){return l===void 0?l:[d.has(l),t[l]]}}function Ke(t){try{return JSON.parse(sessionStorage[t])}catch{}}function Ve(t,r){const f=JSON.stringify(r);try{sessionStorage[t]=f}catch{}}const gt=-1,mt=-2,wt=-3,_t=-4,yt=-5,vt=-6;function bt(t,r){if(typeof t=="number")return d(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const f=t,s=Array(f.length);function d(u,E=!1){if(u===gt)return;if(u===wt)return NaN;if(u===_t)return 1/0;if(u===yt)return-1/0;if(u===vt)return-0;if(E)throw new Error("Invalid input");if(u in s)return s[u];const l=f[u];if(!l||typeof l!="object")s[u]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const g=l[0],m=r==null?void 0:r[g];if(m)return s[u]=m(d(l[1]));switch(g){case"Date":s[u]=new Date(l[1]);break;case"Set":const h=new Set;s[u]=h;for(let k=1;kr!=null)}const ze=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ze];const St=new Set([...ze]);[...St];async function kt(t){var r;for(const f in t)if(typeof((r=t[f])==null?void 0:r.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(t).map(async([s,d])=>[s,await d])));return t}class ne{constructor(r,f){this.status=r,typeof f=="string"?this.body={message:f}:f?this.body=f:this.body={message:`Error: ${r}`}}toString(){return JSON.stringify(this.body)}}class qe{constructor(r,f){this.status=r,this.location=f}}const Rt="x-sveltekit-invalidated",At="x-sveltekit-trailing-slash",K=Ke(Be)??{},ee=Ke(Ge)??{};function be(t){K[t]=te()}function It(t,r){var Ne;const f=ht(t),s=t.nodes[0],d=t.nodes[1];s(),d();const u=document.documentElement,E=[],l=[];let g=null;const m={before_navigate:[],on_navigate:[],after_navigate:[]};let h={branch:[],error:null,url:null},x=!1,j=!1,k=!0,N=!1,U=!1,H=!1,B=!1,V,D=(Ne=history.state)==null?void 0:Ne[M];D||(D=Date.now(),history.replaceState({...history.state,[M]:D},"",location.href));const fe=K[D];fe&&(history.scrollRestoration="manual",scrollTo(fe.x,fe.y));let q,z,Y;async function ke(){if(Y=Y||Promise.resolve(),await Y,!Y)return;Y=null;const e=new URL(location.href),i=Z(e,!0);g=null;const n=z={},o=i&&await pe(i);if(n===z&&o){if(o.type==="redirect")return re(new URL(o.location,e).href,{},1,n);o.props.page!==void 0&&(q=o.props.page),V.$set(o.props)}}function Re(e){l.some(i=>i==null?void 0:i.snapshot)&&(ee[e]=l.map(i=>{var n;return(n=i==null?void 0:i.snapshot)==null?void 0:n.capture()}))}function Ae(e){var i;(i=ee[e])==null||i.forEach((n,o)=>{var a,c;(c=(a=l[o])==null?void 0:a.snapshot)==null||c.restore(n)})}function Ie(){be(D),Ve(Be,K),Re(D),Ve(Ge,ee)}async function re(e,{noScroll:i=!1,replaceState:n=!1,keepFocus:o=!1,state:a={},invalidateAll:c=!1},p,v){return typeof e=="string"&&(e=new URL(e,De(document))),ce({url:e,scroll:i?te():null,keepfocus:o,redirect_count:p,details:{state:a,replaceState:n},nav_token:v,accepted:()=>{c&&(B=!0)},blocked:()=>{},type:"goto"})}async function Le(e){return g={id:e.id,promise:pe(e).then(i=>(i.type==="loaded"&&i.state.error&&(g=null),i))},g.promise}async function oe(...e){const n=f.filter(o=>e.some(a=>o.exec(a))).map(o=>Promise.all([...o.layouts,o.leaf].map(a=>a==null?void 0:a[1]())));await Promise.all(n)}function Pe(e){var o;h=e.state;const i=document.querySelector("style[data-sveltekit]");i&&i.remove(),q=e.props.page,V=new t.root({target:r,props:{...e.props,stores:F,components:l},hydrate:!0}),Ae(D);const n={from:null,to:{params:h.params,route:{id:((o=h.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};m.after_navigate.forEach(a=>a(n)),j=!0}async function X({url:e,params:i,branch:n,status:o,error:a,route:c,form:p}){let v="never";for(const _ of n)(_==null?void 0:_.slash)!==void 0&&(v=_.slash);e.pathname=Ze(e.pathname,v),e.search=e.search;const b={type:"loaded",state:{url:e,params:i,branch:n,error:a,route:c},props:{constructors:Et(n).map(_=>_.node.component)}};p!==void 0&&(b.props.form=p);let y={},L=!q,A=0;for(let _=0;_(v.route=!0,w[O])}),params:new Proxy(o,{get:(w,O)=>(v.params.add(O),w[O])}),data:(c==null?void 0:c.data)??null,url:nt(n,()=>{v.url=!0}),async fetch(w,O){let $;w instanceof Request?($=w.url,O={body:w.method==="GET"||w.method==="HEAD"?void 0:await w.blob(),cache:w.cache,credentials:w.credentials,headers:w.headers,integrity:w.integrity,keepalive:w.keepalive,method:w.method,mode:w.mode,redirect:w.redirect,referrer:w.referrer,referrerPolicy:w.referrerPolicy,signal:w.signal,...O}):$=w;const C=new URL($,n);return P(C.href),C.origin===n.origin&&($=C.href.slice(n.origin.length)),j?ct($,C.href,O):st($,O)},setHeaders:()=>{},depends:P,parent(){return v.parent=!0,i()}};p=await b.universal.load.call(null,_)??null,p=p?await kt(p):null}return{node:b,loader:e,server:c,universal:(L=b.universal)!=null&&L.load?{type:"data",data:p,uses:v}:null,data:p??(c==null?void 0:c.data)??null,slash:((A=b.universal)==null?void 0:A.trailingSlash)??(c==null?void 0:c.slash)}}function Oe(e,i,n,o,a){if(B)return!0;if(!o)return!1;if(o.parent&&e||o.route&&i||o.url&&n)return!0;for(const c of o.params)if(a[c]!==h.params[c])return!0;for(const c of o.dependencies)if(E.some(p=>p(new URL(c))))return!0;return!1}function de(e,i){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?i??null:null}async function pe({id:e,invalidating:i,url:n,params:o,route:a}){if((g==null?void 0:g.id)===e)return g.promise;const{errors:c,layouts:p,leaf:v}=a,b=[...p,v];c.forEach(S=>S==null?void 0:S().catch(()=>{})),b.forEach(S=>S==null?void 0:S[1]().catch(()=>{}));let y=null;const L=h.url?e!==h.url.pathname+h.url.search:!1,A=h.route?a.id!==h.route.id:!1;let P=!1;const _=b.map((S,I)=>{var G;const R=h.branch[I],T=!!(S!=null&&S[0])&&((R==null?void 0:R.loader)!==S[1]||Oe(P,A,L,(G=R.server)==null?void 0:G.uses,o));return T&&(P=!0),T});if(_.some(Boolean)){try{y=await Fe(n,_)}catch(S){return ie({status:S instanceof ne?S.status:500,error:await Q(S,{url:n,params:o,route:{id:a.id}}),url:n,route:a})}if(y.type==="redirect")return y}const w=y==null?void 0:y.nodes;let O=!1;const $=b.map(async(S,I)=>{var he;if(!S)return;const R=h.branch[I],T=w==null?void 0:w[I];if((!T||T.type==="skip")&&S[1]===(R==null?void 0:R.loader)&&!Oe(O,A,L,(he=R.universal)==null?void 0:he.uses,o))return R;if(O=!0,(T==null?void 0:T.type)==="error")throw T;return ue({loader:S[1],url:n,params:o,route:a,parent:async()=>{var Te;const $e={};for(let ge=0;ge{});const C=[];for(let S=0;SPromise.resolve({}),server_data_node:de(c)}),b={node:await d(),loader:d,universal:null,server:null,data:null};return await X({url:n,params:a,branch:[v,b],status:e,error:i,route:null})}function Z(e,i){if(ye(e,J))return;const n=se(e);for(const o of f){const a=o.exec(n);if(a)return{id:e.pathname+e.search,invalidating:i,route:o,params:et(a),url:e}}}function se(e){return Qe(e.pathname.slice(J.length)||"/")}function xe({url:e,type:i,intent:n,delta:o}){let a=!1;const c=He(h,n,e,i);o!==void 0&&(c.navigation.delta=o);const p={...c.navigation,cancel:()=>{a=!0,c.reject(new Error("navigation was cancelled"))}};return U||m.before_navigate.forEach(v=>v(p)),a?null:c}async function ce({url:e,scroll:i,keepfocus:n,redirect_count:o,details:a,type:c,delta:p,nav_token:v={},accepted:b,blocked:y}){var $,C,S;const L=Z(e,!1),A=xe({url:e,type:c,delta:p,intent:L});if(!A){y();return}const P=D;b(),U=!0,j&&F.navigating.set(A.navigation),z=v;let _=L&&await pe(L);if(!_){if(ye(e,J))return await W(e);_=await je(e,{id:null},await Q(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(L==null?void 0:L.url)||e,z!==v)return A.reject(new Error("navigation was aborted")),!1;if(_.type==="redirect")if(o>=20)_=await ie({status:500,error:await Q(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return re(new URL(_.location,e).href,{},o+1,v),!1;else(($=_.props.page)==null?void 0:$.status)>=400&&await F.updated.check()&&await W(e);if(E.length=0,B=!1,N=!0,be(P),Re(P),(C=_.props.page)!=null&&C.url&&_.props.page.url.pathname!==e.pathname&&(e.pathname=(S=_.props.page)==null?void 0:S.url.pathname),a){const I=a.replaceState?0:1;if(a.state[M]=D+=I,history[a.replaceState?"replaceState":"pushState"](a.state,"",e),!a.replaceState){let R=D+1;for(;ee[R]||K[R];)delete ee[R],delete K[R],R+=1}}if(g=null,j){h=_.state,_.props.page&&(_.props.page.url=e);const I=(await Promise.all(m.on_navigate.map(R=>R(A.navigation)))).filter(R=>typeof R=="function");if(I.length>0){let R=function(){m.after_navigate=m.after_navigate.filter(T=>!I.includes(T))};I.push(R),m.after_navigate.push(...I)}V.$set(_.props)}else Pe(_);const{activeElement:w}=document;if(await we(),k){const I=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));i?scrollTo(i.x,i.y):I?I.scrollIntoView():scrollTo(0,0)}const O=document.activeElement!==w&&document.activeElement!==document.body;!n&&!O&&Ee(),k=!0,_.props.page&&(q=_.props.page),U=!1,c==="popstate"&&Ae(D),A.fulfil(void 0),m.after_navigate.forEach(I=>I(A.navigation)),F.navigating.set(null),N=!1}async function je(e,i,n,o){return e.origin===location.origin&&e.pathname===location.pathname&&!x?await ie({status:o,error:n,url:e,route:i}):await W(e)}function W(e){return location.href=e.href,new Promise(()=>{})}function Ye(){let e;u.addEventListener("mousemove",c=>{const p=c.target;clearTimeout(e),e=setTimeout(()=>{o(p,2)},20)});function i(c){o(c.composedPath()[0],1)}u.addEventListener("mousedown",i),u.addEventListener("touchstart",i,{passive:!0});const n=new IntersectionObserver(c=>{for(const p of c)p.isIntersecting&&(oe(se(new URL(p.target.href))),n.unobserve(p.target))},{threshold:0});function o(c,p){const v=Ce(c,u);if(!v)return;const{url:b,external:y,download:L}=_e(v,J);if(y||L)return;const A=le(v);if(!A.reload)if(p<=A.preload_data){const P=Z(b,!1);P&&Le(P)}else p<=A.preload_code&&oe(se(b))}function a(){n.disconnect();for(const c of u.querySelectorAll("a")){const{url:p,external:v,download:b}=_e(c,J);if(v||b)continue;const y=le(c);y.reload||(y.preload_code===Me.viewport&&n.observe(c),y.preload_code===Me.eager&&oe(se(p)))}}m.after_navigate.push(a),a()}function Q(e,i){return e instanceof ne?e.body:t.hooks.handleError({error:e,event:i})??{message:i.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:e=>{me(()=>(m.after_navigate.push(e),()=>{const i=m.after_navigate.indexOf(e);m.after_navigate.splice(i,1)}))},before_navigate:e=>{me(()=>(m.before_navigate.push(e),()=>{const i=m.before_navigate.indexOf(e);m.before_navigate.splice(i,1)}))},on_navigate:e=>{me(()=>(m.on_navigate.push(e),()=>{const i=m.on_navigate.indexOf(e);m.on_navigate.splice(i,1)}))},disable_scroll_handling:()=>{(N||!j)&&(k=!1)},goto:(e,i={})=>re(e,i,0),invalidate:e=>{if(typeof e=="function")E.push(e);else{const{href:i}=new URL(e,location.href);E.push(n=>n.href===i)}return ke()},invalidate_all:()=>(B=!0,ke()),preload_data:async e=>{const i=new URL(e,De(document)),n=Z(i,!1);if(!n)throw new Error(`Attempted to preload a URL that does not belong to this app: ${i}`);await Le(n)},preload_code:oe,apply_action:async e=>{if(e.type==="error"){const i=new URL(location.href),{branch:n,route:o}=h;if(!o)return;const a=await Ue(h.branch.length,n,o.errors);if(a){const c=await X({url:i,params:h.params,branch:n.slice(0,a.idx).concat(a.node),status:e.status??500,error:e.error,route:o});h=c.state,V.$set(c.props),we().then(Ee)}}else e.type==="redirect"?re(e.location,{invalidateAll:!0},0):(V.$set({form:null,page:{...q,form:e.data,status:e.status}}),await we(),V.$set({form:e.data}),e.type==="success"&&Ee())},_start_router:()=>{var i;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let o=!1;if(Ie(),!U){const a=He(h,void 0,null,"leave"),c={...a.navigation,cancel:()=>{o=!0,a.reject(new Error("navigation was cancelled"))}};m.before_navigate.forEach(p=>p(c))}o?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ie()}),(i=navigator.connection)!=null&&i.saveData||Ye(),u.addEventListener("click",n=>{var P;if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const o=Ce(n.composedPath()[0],u);if(!o)return;const{url:a,external:c,target:p,download:v}=_e(o,J);if(!a)return;if(p==="_parent"||p==="_top"){if(window.parent!==window)return}else if(p&&p!=="_self")return;const b=le(o);if(!(o instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||v)return;if(c||b.reload){xe({url:a,type:"link"})?U=!0:n.preventDefault();return}const[L,A]=a.href.split("#");if(A!==void 0&&L===location.href.split("#")[0]){if(h.url.hash===a.hash){n.preventDefault(),(P=o.ownerDocument.getElementById(A))==null||P.scrollIntoView();return}if(H=!0,be(D),e(a),!b.replace_state)return;H=!1,n.preventDefault()}ce({url:a,scroll:b.noscroll?te():null,keepfocus:b.keep_focus??!1,redirect_count:0,details:{state:{},replaceState:b.replace_state??a.href===location.href},accepted:()=>n.preventDefault(),blocked:()=>n.preventDefault(),type:"link"})}),u.addEventListener("submit",n=>{if(n.defaultPrevented)return;const o=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formMethod)||o.method)!=="get")return;const p=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||o.action);if(ye(p,J))return;const v=n.target,{keep_focus:b,noscroll:y,reload:L,replace_state:A}=le(v);if(L)return;n.preventDefault(),n.stopPropagation();const P=new FormData(v),_=a==null?void 0:a.getAttribute("name");_&&P.append(_,(a==null?void 0:a.getAttribute("value"))??""),p.search=new URLSearchParams(P).toString(),ce({url:p,scroll:y?te():null,keepfocus:b??!1,redirect_count:0,details:{state:{},replaceState:A??p.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async n=>{var o;if(z={},(o=n.state)!=null&&o[M]){if(n.state[M]===D)return;const a=K[n.state[M]],c=new URL(location.href);if(h.url.href.split("#")[0]===location.href.split("#")[0]){e(c),K[D]=te(),D=n.state[M],scrollTo(a.x,a.y);return}const p=n.state[M]-D;await ce({url:c,scroll:a,keepfocus:!1,redirect_count:0,details:null,accepted:()=>{D=n.state[M]},blocked:()=>{history.go(-p)},type:"popstate",delta:p,nav_token:z})}else if(!H){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{H&&(H=!1,history.replaceState({...history.state,[M]:++D},"",location.href))});for(const n of document.querySelectorAll("link"))n.rel==="icon"&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&F.navigating.set(null)});function e(n){h.url=n,F.page.set({...q,url:n}),F.page.notify()}},_hydrate:async({status:e=200,error:i,node_ids:n,params:o,route:a,data:c,form:p})=>{x=!0;const v=new URL(location.href);({params:o={},route:a={id:null}}=Z(v,!1)||{});let b;try{const y=n.map(async(P,_)=>{const w=c[_];return w!=null&&w.uses&&(w.uses=We(w.uses)),ue({loader:t.nodes[P],url:v,params:o,route:a,parent:async()=>{const O={};for(let $=0;$<_;$+=1)Object.assign(O,(await y[$]).data);return O},server_data_node:de(w)})}),L=await Promise.all(y),A=f.find(({id:P})=>P===a.id);if(A){const P=A.layouts;for(let _=0;_d?"1":"0").join(""));const s=await Je(f.href);if(!s.ok)throw new ne(s.status,await s.json());return new Promise(async d=>{var h;const u=new Map,E=s.body.getReader(),l=new TextDecoder;function g(x){return bt(x,{Promise:j=>new Promise((k,N)=>{u.set(j,{fulfil:k,reject:N})})})}let m="";for(;;){const{done:x,value:j}=await E.read();if(x&&!m)break;for(m+=!j&&m?` -`:l.decode(j);;){const k=m.indexOf(` -`);if(k===-1)break;const N=JSON.parse(m.slice(0,k));if(m=m.slice(k+1),N.type==="redirect")return d(N);if(N.type==="data")(h=N.nodes)==null||h.forEach(U=>{(U==null?void 0:U.type)==="data"&&(U.uses=We(U.uses),U.data=g(U.data))}),d(N);else if(N.type==="chunk"){const{id:U,data:H,error:B}=N,V=u.get(U);u.delete(U),B?V.reject(g(B)):V.fulfil(g(H))}}}})}function We(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url)}}function Ee(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const r=document.body,f=r.getAttribute("tabindex");r.tabIndex=-1,r.focus({preventScroll:!0,focusVisible:!1}),f!==null?r.setAttribute("tabindex",f):r.removeAttribute("tabindex");const s=getSelection();if(s&&s.type!=="None"){const d=[];for(let u=0;u{if(s.rangeCount===d.length){for(let u=0;u{d=h,u=x});return E.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((g=t.route)==null?void 0:g.id)??null},url:t.url},to:f&&{params:(r==null?void 0:r.params)??null,route:{id:((m=r==null?void 0:r.route)==null?void 0:m.id)??null},url:f},willUnload:!r,type:s,complete:E},fulfil:d,reject:u}}async function Ot(t,r,f){const s=It(t,r);Xe({client:s}),f?await s._hydrate(f):s.goto(location.href,{replaceState:!0}),s._start_router()}export{Ot as start}; diff --git a/build/app/immutable/entry/start.70fd42b9.js b/build/app/immutable/entry/start.70fd42b9.js new file mode 100644 index 000000000..20a8e833b --- /dev/null +++ b/build/app/immutable/entry/start.70fd42b9.js @@ -0,0 +1,3 @@ +import{o as me,t as we}from"../chunks/index.89e71670.js";import{S as Ge,a as Je,I as M,g as Ce,f as De,b as ye,c as le,s as te,i as _e,d as B,e as q,o as Fe,P as Me,h as Ze}from"../chunks/singletons.08d4b337.js";function Qe(t,r){return t==="/"||r==="ignore"?t:r==="never"?t.endsWith("/")?t.slice(0,-1):t:r==="always"&&!t.endsWith("/")?t+"/":t}function et(t){return t.split("%25").map(decodeURI).join("%25")}function tt(t){for(const r in t)t[r]=decodeURIComponent(t[r]);return t}const nt=["href","pathname","search","searchParams","toString","toJSON"];function at(t,r){const f=new URL(t);for(const i of nt)Object.defineProperty(f,i,{get(){return r(),t[i]},enumerable:!0,configurable:!0});return rt(f),f}function rt(t){Object.defineProperty(t,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const ot="/__data.json";function it(t){return t.replace(/\/$/,"")+ot}function st(...t){let r=5381;for(const f of t)if(typeof f=="string"){let i=f.length;for(;i;)r=r*33^f.charCodeAt(--i)}else if(ArrayBuffer.isView(f)){const i=new Uint8Array(f.buffer,f.byteOffset,f.byteLength);let h=i.length;for(;h;)r=r*33^i[--h]}else throw new TypeError("value must be a string or TypedArray");return(r>>>0).toString(36)}const Ke=window.fetch;window.fetch=(t,r)=>((t instanceof Request?t.method:(r==null?void 0:r.method)||"GET")!=="GET"&&ae.delete(Se(t)),Ke(t,r));const ae=new Map;function ct(t){const r=atob(t),f=new Uint8Array(r.length);for(let i=0;i0){const i=Se(t,f),h=ae.get(i);if(h){if(performance.now(){const h=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(i);if(h)return r.push({name:h[1],matcher:h[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const u=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(i);if(u)return r.push({name:u[1],matcher:u[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!i)return;const E=i.split(/\[(.+?)\](?!\])/);return"/"+E.map((g,m)=>{if(m%2){if(g.startsWith("x+"))return ve(String.fromCharCode(parseInt(g.slice(2),16)));if(g.startsWith("u+"))return ve(String.fromCharCode(...g.slice(2).split("-").map(U=>parseInt(U,16))));const d=ut.exec(g);if(!d)throw new Error(`Invalid param: ${g}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,N,T,R,D]=d;return r.push({name:R,matcher:D,optional:!!N,rest:!!T,chained:T?m===1&&E[0]==="":!1}),T?"(.*?)":N?"([^/]*)?":"([^/]+?)"}return ve(g)}).join("")}).join("")}/?$`),params:r}}function ht(t){return!/^\([^)]+\)$/.test(t)}function pt(t){return t.slice(1).split("/").filter(ht)}function gt(t,r,f){const i={},h=t.slice(1),u=h.filter(l=>l!==void 0);let E=0;for(let l=0;ld).join("/"),E=0),m===void 0){g.rest&&(i[g.name]="");continue}if(!g.matcher||f[g.matcher](m)){i[g.name]=m;const d=r[l+1],N=h[l+1];d&&!d.rest&&d.optional&&N&&g.chained&&(E=0),!d&&!N&&Object.keys(i).length===u.length&&(E=0);continue}if(g.optional&&g.chained){E++;continue}return}if(!E)return i}function ve(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function mt({nodes:t,server_loads:r,dictionary:f,matchers:i}){const h=new Set(r);return Object.entries(f).map(([l,[g,m,d]])=>{const{pattern:N,params:T}=dt(l),R={id:l,exec:D=>{const U=N.exec(D);if(U)return gt(U,T,i)},errors:[1,...d||[]].map(D=>t[D]),layouts:[0,...m||[]].map(E),leaf:u(g)};return R.errors.length=R.layouts.length=Math.max(R.errors.length,R.layouts.length),R});function u(l){const g=l<0;return g&&(l=~l),[g,t[l]]}function E(l){return l===void 0?l:[h.has(l),t[l]]}}function ze(t){try{return JSON.parse(sessionStorage[t])}catch{}}function Ve(t,r){const f=JSON.stringify(r);try{sessionStorage[t]=f}catch{}}const wt=-1,yt=-2,_t=-3,vt=-4,bt=-5,Et=-6;function St(t,r){if(typeof t=="number")return h(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const f=t,i=Array(f.length);function h(u,E=!1){if(u===wt)return;if(u===_t)return NaN;if(u===vt)return 1/0;if(u===bt)return-1/0;if(u===Et)return-0;if(E)throw new Error("Invalid input");if(u in i)return i[u];const l=f[u];if(!l||typeof l!="object")i[u]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const g=l[0],m=r==null?void 0:r[g];if(m)return i[u]=m(h(l[1]));switch(g){case"Date":i[u]=new Date(l[1]);break;case"Set":const d=new Set;i[u]=d;for(let R=1;Rr!=null)}const We=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...We];const Rt=new Set([...We]);[...Rt];async function At(t,r){var f;for(const i in t)if(typeof((f=t[i])==null?void 0:f.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(t).map(async([h,u])=>[h,await u])));return t}class ne{constructor(r,f){this.status=r,typeof f=="string"?this.body={message:f}:f?this.body=f:this.body={message:`Error: ${r}`}}toString(){return JSON.stringify(this.body)}}class qe{constructor(r,f){this.status=r,this.location=f}}class It extends Error{constructor(r){super(),this.status=404,this.message=`Not found: ${r}`}}const Lt="x-sveltekit-invalidated",Pt="x-sveltekit-trailing-slash",J=ze(Ge)??{},ee=ze(Je)??{};function be(t){J[t]=te()}function K(t){return location.href=t.href,new Promise(()=>{})}function Ot(t,r){var je;const f=mt(t),i=t.nodes[0],h=t.nodes[1];i(),h();const u=document.documentElement,E=[],l=[];let g=null;const m={before_navigate:[],on_navigate:[],after_navigate:[]};let d={branch:[],error:null,url:null},N=!1,T=!1,R=!0,D=!1,U=!1,C=!1,z=!1,V,x=(je=history.state)==null?void 0:je[M];x||(x=Date.now(),history.replaceState({...history.state,[M]:x},"",location.href));const fe=J[x];fe&&(history.scrollRestoration="manual",scrollTo(fe.x,fe.y));let H,W,Y;async function ke(){if(Y=Y||Promise.resolve(),await Y,!Y)return;Y=null;const e=new URL(location.href),s=Z(e,!0);g=null;const n=W={},o=s&&await he(s);if(n===W&&o){if(o.type==="redirect")return re(new URL(o.location,e).href,{},1,n);o.props.page!==void 0&&(H=o.props.page),V.$set(o.props)}}function Re(e){l.some(s=>s==null?void 0:s.snapshot)&&(ee[e]=l.map(s=>{var n;return(n=s==null?void 0:s.snapshot)==null?void 0:n.capture()}))}function Ae(e){var s;(s=ee[e])==null||s.forEach((n,o)=>{var a,c;(c=(a=l[o])==null?void 0:a.snapshot)==null||c.restore(n)})}function Ie(){be(x),Ve(Ge,J),Re(x),Ve(Je,ee)}async function re(e,{noScroll:s=!1,replaceState:n=!1,keepFocus:o=!1,state:a={},invalidateAll:c=!1},p,_){return typeof e=="string"&&(e=new URL(e,Ce(document))),ce({url:e,scroll:s?te():null,keepfocus:o,redirect_count:p,details:{state:a,replaceState:n},nav_token:_,accepted:()=>{c&&(z=!0)},blocked:()=>{},type:"goto"})}async function Le(e){return g={id:e.id,promise:he(e).then(s=>(s.type==="loaded"&&s.state.error&&(g=null),s))},g.promise}async function oe(...e){const n=f.filter(o=>e.some(a=>o.exec(a))).map(o=>Promise.all([...o.layouts,o.leaf].map(a=>a==null?void 0:a[1]())));await Promise.all(n)}function Pe(e){var o;d=e.state;const s=document.querySelector("style[data-sveltekit]");s&&s.remove(),H=e.props.page,V=new t.root({target:r,props:{...e.props,stores:B,components:l},hydrate:!0}),Ae(x);const n={from:null,to:{params:d.params,route:{id:((o=d.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};m.after_navigate.forEach(a=>a(n)),T=!0}async function X({url:e,params:s,branch:n,status:o,error:a,route:c,form:p}){let _="never";for(const y of n)(y==null?void 0:y.slash)!==void 0&&(_=y.slash);e.pathname=Qe(e.pathname,_),e.search=e.search;const b={type:"loaded",state:{url:e,params:s,branch:n,error:a,route:c},props:{constructors:kt(n).map(y=>y.node.component)}};p!==void 0&&(b.props.form=p);let v={},L=!H,A=0;for(let y=0;y(_.route=!0,w[O])}),params:new Proxy(o,{get:(w,O)=>(_.params.add(O),w[O])}),data:(c==null?void 0:c.data)??null,url:at(n,()=>{_.url=!0}),async fetch(w,O){let j;w instanceof Request?(j=w.url,O={body:w.method==="GET"||w.method==="HEAD"?void 0:await w.blob(),cache:w.cache,credentials:w.credentials,headers:w.headers,integrity:w.integrity,keepalive:w.keepalive,method:w.method,mode:w.mode,redirect:w.redirect,referrer:w.referrer,referrerPolicy:w.referrerPolicy,signal:w.signal,...O}):j=w;const F=new URL(j,n);return P(F.href),F.origin===n.origin&&(j=F.href.slice(n.origin.length)),T?ft(j,F.href,O):lt(j,O)},setHeaders:()=>{},depends:P,parent(){return _.parent=!0,s()}};p=await b.universal.load.call(null,y)??null,p=p?await At(p,a.id):null}return{node:b,loader:e,server:c,universal:(L=b.universal)!=null&&L.load?{type:"data",data:p,uses:_}:null,data:p??(c==null?void 0:c.data)??null,slash:n.pathname===q||n.pathname===q+"/"?"always":((A=b.universal)==null?void 0:A.trailingSlash)??(c==null?void 0:c.slash)}}function Oe(e,s,n,o,a){if(z)return!0;if(!o)return!1;if(o.parent&&e||o.route&&s||o.url&&n)return!0;for(const c of o.params)if(a[c]!==d.params[c])return!0;for(const c of o.dependencies)if(E.some(p=>p(new URL(c))))return!0;return!1}function de(e,s){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?s??null:null}async function he({id:e,invalidating:s,url:n,params:o,route:a}){if((g==null?void 0:g.id)===e)return g.promise;const{errors:c,layouts:p,leaf:_}=a,b=[...p,_];c.forEach(S=>S==null?void 0:S().catch(()=>{})),b.forEach(S=>S==null?void 0:S[1]().catch(()=>{}));let v=null;const L=d.url?e!==d.url.pathname+d.url.search:!1,A=d.route?a.id!==d.route.id:!1;let P=!1;const y=b.map((S,I)=>{var G;const k=d.branch[I],$=!!(S!=null&&S[0])&&((k==null?void 0:k.loader)!==S[1]||Oe(P,A,L,(G=k.server)==null?void 0:G.uses,o));return $&&(P=!0),$});if(y.some(Boolean)){try{v=await He(n,y)}catch(S){return ie({status:S instanceof ne?S.status:500,error:await Q(S,{url:n,params:o,route:{id:a.id}}),url:n,route:a})}if(v.type==="redirect")return v}const w=v==null?void 0:v.nodes;let O=!1;const j=b.map(async(S,I)=>{var pe;if(!S)return;const k=d.branch[I],$=w==null?void 0:w[I];if((!$||$.type==="skip")&&S[1]===(k==null?void 0:k.loader)&&!Oe(O,A,L,(pe=k.universal)==null?void 0:pe.uses,o))return k;if(O=!0,($==null?void 0:$.type)==="error")throw $;return ue({loader:S[1],url:n,params:o,route:a,parent:async()=>{var Te;const $e={};for(let ge=0;ge{});const F=[];for(let S=0;SPromise.resolve({}),server_data_node:de(c)}),b={node:await h(),loader:h,universal:null,server:null,data:null};return await X({url:n,params:a,branch:[_,b],status:e,error:s,route:null})}function Z(e,s){if(_e(e,q))return;const n=se(e);for(const o of f){const a=o.exec(n);if(a)return{id:e.pathname+e.search,invalidating:s,route:o,params:tt(a),url:e}}}function se(e){return et(e.pathname.slice(q.length)||"/")}function Ue({url:e,type:s,intent:n,delta:o}){let a=!1;const c=Be(d,n,e,s);o!==void 0&&(c.navigation.delta=o);const p={...c.navigation,cancel:()=>{a=!0,c.reject(new Error("navigation was cancelled"))}};return U||m.before_navigate.forEach(_=>_(p)),a?null:c}async function ce({url:e,scroll:s,keepfocus:n,redirect_count:o,details:a,type:c,delta:p,nav_token:_={},accepted:b,blocked:v}){var j,F,S;const L=Z(e,!1),A=Ue({url:e,type:c,delta:p,intent:L});if(!A){v();return}const P=x;b(),U=!0,T&&B.navigating.set(A.navigation),W=_;let y=L&&await he(L);if(!y){if(_e(e,q))return await K(e);y=await Ne(e,{id:null},await Q(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(L==null?void 0:L.url)||e,W!==_)return A.reject(new Error("navigation was aborted")),!1;if(y.type==="redirect")if(o>=20)y=await ie({status:500,error:await Q(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return re(new URL(y.location,e).href,{},o+1,_),!1;else((j=y.props.page)==null?void 0:j.status)>=400&&await B.updated.check()&&await K(e);if(E.length=0,z=!1,D=!0,be(P),Re(P),(F=y.props.page)!=null&&F.url&&y.props.page.url.pathname!==e.pathname&&(e.pathname=(S=y.props.page)==null?void 0:S.url.pathname),a){const I=a.replaceState?0:1;if(a.state[M]=x+=I,history[a.replaceState?"replaceState":"pushState"](a.state,"",e),!a.replaceState){let k=x+1;for(;ee[k]||J[k];)delete ee[k],delete J[k],k+=1}}if(g=null,T){d=y.state,y.props.page&&(y.props.page.url=e);const I=(await Promise.all(m.on_navigate.map(k=>k(A.navigation)))).filter(k=>typeof k=="function");if(I.length>0){let k=function(){m.after_navigate=m.after_navigate.filter($=>!I.includes($))};I.push(k),m.after_navigate.push(...I)}V.$set(y.props)}else Pe(y);const{activeElement:w}=document;if(await we(),R){const I=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));s?scrollTo(s.x,s.y):I?I.scrollIntoView():scrollTo(0,0)}const O=document.activeElement!==w&&document.activeElement!==document.body;!n&&!O&&Ee(),R=!0,y.props.page&&(H=y.props.page),U=!1,c==="popstate"&&Ae(x),A.fulfil(void 0),m.after_navigate.forEach(I=>I(A.navigation)),B.navigating.set(null),D=!1}async function Ne(e,s,n,o){return e.origin===Fe&&e.pathname===location.pathname&&!N?await ie({status:o,error:n,url:e,route:s}):await K(e)}function Xe(){let e;u.addEventListener("mousemove",c=>{const p=c.target;clearTimeout(e),e=setTimeout(()=>{o(p,2)},20)});function s(c){o(c.composedPath()[0],1)}u.addEventListener("mousedown",s),u.addEventListener("touchstart",s,{passive:!0});const n=new IntersectionObserver(c=>{for(const p of c)p.isIntersecting&&(oe(se(new URL(p.target.href))),n.unobserve(p.target))},{threshold:0});function o(c,p){const _=De(c,u);if(!_)return;const{url:b,external:v,download:L}=ye(_,q);if(v||L)return;const A=le(_);if(!A.reload)if(p<=A.preload_data){const P=Z(b,!1);P&&Le(P)}else p<=A.preload_code&&oe(se(b))}function a(){n.disconnect();for(const c of u.querySelectorAll("a")){const{url:p,external:_,download:b}=ye(c,q);if(_||b)continue;const v=le(c);v.reload||(v.preload_code===Me.viewport&&n.observe(c),v.preload_code===Me.eager&&oe(se(p)))}}m.after_navigate.push(a),a()}function Q(e,s){return e instanceof ne?e.body:t.hooks.handleError({error:e,event:s})??{message:s.route.id===null&&e instanceof It?"Not Found":"Internal Error"}}return{after_navigate:e=>{me(()=>(m.after_navigate.push(e),()=>{const s=m.after_navigate.indexOf(e);m.after_navigate.splice(s,1)}))},before_navigate:e=>{me(()=>(m.before_navigate.push(e),()=>{const s=m.before_navigate.indexOf(e);m.before_navigate.splice(s,1)}))},on_navigate:e=>{me(()=>(m.on_navigate.push(e),()=>{const s=m.on_navigate.indexOf(e);m.on_navigate.splice(s,1)}))},disable_scroll_handling:()=>{(D||!T)&&(R=!1)},goto:(e,s={})=>re(e,s,0),invalidate:e=>{if(typeof e=="function")E.push(e);else{const{href:s}=new URL(e,location.href);E.push(n=>n.href===s)}return ke()},invalidate_all:()=>(z=!0,ke()),preload_data:async e=>{const s=new URL(e,Ce(document)),n=Z(s,!1);if(!n)throw new Error(`Attempted to preload a URL that does not belong to this app: ${s}`);await Le(n)},preload_code:oe,apply_action:async e=>{if(e.type==="error"){const s=new URL(location.href),{branch:n,route:o}=d;if(!o)return;const a=await xe(d.branch.length,n,o.errors);if(a){const c=await X({url:s,params:d.params,branch:n.slice(0,a.idx).concat(a.node),status:e.status??500,error:e.error,route:o});d=c.state,V.$set(c.props),we().then(Ee)}}else e.type==="redirect"?re(e.location,{invalidateAll:!0},0):(V.$set({form:null,page:{...H,form:e.data,status:e.status}}),await we(),V.$set({form:e.data}),e.type==="success"&&Ee())},_start_router:()=>{var s;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let o=!1;if(Ie(),!U){const a=Be(d,void 0,null,"leave"),c={...a.navigation,cancel:()=>{o=!0,a.reject(new Error("navigation was cancelled"))}};m.before_navigate.forEach(p=>p(c))}o?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ie()}),(s=navigator.connection)!=null&&s.saveData||Xe(),u.addEventListener("click",n=>{var P;if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const o=De(n.composedPath()[0],u);if(!o)return;const{url:a,external:c,target:p,download:_}=ye(o,q);if(!a)return;if(p==="_parent"||p==="_top"){if(window.parent!==window)return}else if(p&&p!=="_self")return;const b=le(o);if(!(o instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||_)return;if(c||b.reload){Ue({url:a,type:"link"})?U=!0:n.preventDefault();return}const[L,A]=a.href.split("#");if(A!==void 0&&L===location.href.split("#")[0]){if(d.url.hash===a.hash){n.preventDefault(),(P=o.ownerDocument.getElementById(A))==null||P.scrollIntoView();return}if(C=!0,be(x),e(a),!b.replace_state)return;C=!1,n.preventDefault()}ce({url:a,scroll:b.noscroll?te():null,keepfocus:b.keep_focus??!1,redirect_count:0,details:{state:{},replaceState:b.replace_state??a.href===location.href},accepted:()=>n.preventDefault(),blocked:()=>n.preventDefault(),type:"link"})}),u.addEventListener("submit",n=>{if(n.defaultPrevented)return;const o=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formMethod)||o.method)!=="get")return;const p=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||o.action);if(_e(p,q))return;const _=n.target,{keep_focus:b,noscroll:v,reload:L,replace_state:A}=le(_);if(L)return;n.preventDefault(),n.stopPropagation();const P=new FormData(_),y=a==null?void 0:a.getAttribute("name");y&&P.append(y,(a==null?void 0:a.getAttribute("value"))??""),p.search=new URLSearchParams(P).toString(),ce({url:p,scroll:v?te():null,keepfocus:b??!1,redirect_count:0,details:{state:{},replaceState:A??p.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async n=>{var o,a;if(W={},(o=n.state)!=null&&o[M]){if(n.state[M]===x)return;const c=J[n.state[M]],p=new URL(location.href);if(((a=d.url)==null?void 0:a.href.split("#")[0])===location.href.split("#")[0]){e(p),J[x]=te(),x=n.state[M],scrollTo(c.x,c.y);return}const _=n.state[M]-x;await ce({url:p,scroll:c,keepfocus:!1,redirect_count:0,details:null,accepted:()=>{x=n.state[M]},blocked:()=>{history.go(-_)},type:"popstate",delta:_,nav_token:W})}else if(!C){const c=new URL(location.href);e(c)}}),addEventListener("hashchange",()=>{C&&(C=!1,history.replaceState({...history.state,[M]:++x},"",location.href))});for(const n of document.querySelectorAll("link"))n.rel==="icon"&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&B.navigating.set(null)});function e(n){d.url=n,B.page.set({...H,url:n}),B.page.notify()}},_hydrate:async({status:e=200,error:s,node_ids:n,params:o,route:a,data:c,form:p})=>{N=!0;const _=new URL(location.href);({params:o={},route:a={id:null}}=Z(_,!1)||{});let b;try{const v=n.map(async(P,y)=>{const w=c[y];return w!=null&&w.uses&&(w.uses=Ye(w.uses)),ue({loader:t.nodes[P],url:_,params:o,route:a,parent:async()=>{const O={};for(let j=0;jP===a.id);if(A){const P=A.layouts;for(let y=0;yu?"1":"0").join(""));const i=await Ke(f.href);if((h=i.headers.get("content-type"))!=null&&h.includes("text/html")&&await K(t),!i.ok)throw new ne(i.status,await i.json());return new Promise(async u=>{var N;const E=new Map,l=i.body.getReader(),g=new TextDecoder;function m(T){return St(T,{Promise:R=>new Promise((D,U)=>{E.set(R,{fulfil:D,reject:U})})})}let d="";for(;;){const{done:T,value:R}=await l.read();if(T&&!d)break;for(d+=!R&&d?` +`:g.decode(R);;){const D=d.indexOf(` +`);if(D===-1)break;const U=JSON.parse(d.slice(0,D));if(d=d.slice(D+1),U.type==="redirect")return u(U);if(U.type==="data")(N=U.nodes)==null||N.forEach(C=>{(C==null?void 0:C.type)==="data"&&(C.uses=Ye(C.uses),C.data=m(C.data))}),u(U);else if(U.type==="chunk"){const{id:C,data:z,error:V}=U,x=E.get(C);E.delete(C),V?x.reject(m(V)):x.fulfil(m(z))}}}})}function Ye(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url)}}function Ee(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const r=document.body,f=r.getAttribute("tabindex");r.tabIndex=-1,r.focus({preventScroll:!0,focusVisible:!1}),f!==null?r.setAttribute("tabindex",f):r.removeAttribute("tabindex");const i=getSelection();if(i&&i.type!=="None"){const h=[];for(let u=0;u{if(i.rangeCount===h.length){for(let u=0;u{h=d,u=N});return E.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((g=t.route)==null?void 0:g.id)??null},url:t.url},to:f&&{params:(r==null?void 0:r.params)??null,route:{id:((m=r==null?void 0:r.route)==null?void 0:m.id)??null},url:f},willUnload:!r,type:i,complete:E},fulfil:h,reject:u}}async function Nt(t,r,f){const i=Ot(t,r);Ze({client:i}),f?await i._hydrate(f):i.goto(location.href,{replaceState:!0}),i._start_router()}export{Nt as start}; diff --git a/build/app/immutable/nodes/0.56f78fc3.js b/build/app/immutable/nodes/0.56f78fc3.js deleted file mode 100644 index 0765328dd..000000000 --- a/build/app/immutable/nodes/0.56f78fc3.js +++ /dev/null @@ -1 +0,0 @@ -import{S as m,i as d,s as p,C as h,k as _,l as c,m as f,h as r,n as $,b as v,D as g,E as y,F as E,G as b,g as C,d as D}from"../chunks/index.f3b06f47.js";function I(o){let e,n,a;const i=o[1].default,t=h(i,o,o[0],null);return{c(){e=_("div"),n=_("main"),t&&t.c(),this.h()},l(s){e=c(s,"DIV",{class:!0});var l=f(e);n=c(l,"MAIN",{});var u=f(n);t&&t.l(u),u.forEach(r),l.forEach(r),this.h()},h(){$(e,"class","p-8 w-[400px] min-h-[667px] mx-auto")},m(s,l){v(s,e,l),g(e,n),t&&t.m(n,null),a=!0},p(s,[l]){t&&t.p&&(!a||l&1)&&y(t,i,s,s[0],a?b(i,s[0],l,null):E(s[0]),null)},i(s){a||(C(t,s),a=!0)},o(s){D(t,s),a=!1},d(s){s&&r(e),t&&t.d(s)}}}function S(o,e,n){let{$$slots:a={},$$scope:i}=e;return o.$$set=t=>{"$$scope"in t&&n(0,i=t.$$scope)},[i,a]}class q extends m{constructor(e){super(),d(this,e,S,I,p,{})}}export{q as component}; diff --git a/build/app/immutable/nodes/0.96a454bd.js b/build/app/immutable/nodes/0.96a454bd.js new file mode 100644 index 000000000..353cc6dc1 --- /dev/null +++ b/build/app/immutable/nodes/0.96a454bd.js @@ -0,0 +1 @@ +import{S as m,i as h,s as p,C as $,k as c,l as f,m as _,h as r,n as d,b as v,D as g,E as b,F as y,G as C,g as E,d as k}from"../chunks/index.89e71670.js";function w(o){let e,a,n;const i=o[1].default,s=$(i,o,o[0],null);return{c(){e=c("div"),a=c("main"),s&&s.c(),this.h()},l(t){e=f(t,"DIV",{class:!0});var l=_(e);a=f(l,"MAIN",{class:!0});var u=_(a);s&&s.l(u),u.forEach(r),l.forEach(r),this.h()},h(){d(a,"class","p-8"),d(e,"class","mx-auto h-full bg-white dark:bg-[#171C2F] overflow-hidden")},m(t,l){v(t,e,l),g(e,a),s&&s.m(a,null),n=!0},p(t,[l]){s&&s.p&&(!n||l&1)&&b(s,i,t,t[0],n?C(i,t[0],l,null):y(t[0]),null)},i(t){n||(E(s,t),n=!0)},o(t){k(s,t),n=!1},d(t){t&&r(e),s&&s.d(t)}}}function D(o,e,a){let{$$slots:n={},$$scope:i}=e;return o.$$set=s=>{"$$scope"in s&&a(0,i=s.$$scope)},[i,n]}class I extends m{constructor(e){super(),h(this,e,D,w,p,{})}}export{I as component}; diff --git a/build/app/immutable/nodes/1.a80c0d3e.js b/build/app/immutable/nodes/1.dc4ed5df.js similarity index 84% rename from build/app/immutable/nodes/1.a80c0d3e.js rename to build/app/immutable/nodes/1.dc4ed5df.js index afe25867f..1536689f2 100644 --- a/build/app/immutable/nodes/1.a80c0d3e.js +++ b/build/app/immutable/nodes/1.dc4ed5df.js @@ -1 +1 @@ -import{S as x,i as H,s as S,k as u,q as h,a as g,l as d,m as v,r as b,h as m,c as k,b as _,D as E,u as $,H as q,I as y}from"../chunks/index.f3b06f47.js";import{p as C}from"../chunks/stores.d32fd6ff.js";function D(l){var f;let a,t=l[0].status+"",r,o,n,p=((f=l[0].error)==null?void 0:f.message)+"",c;return{c(){a=u("h1"),r=h(t),o=g(),n=u("p"),c=h(p)},l(e){a=d(e,"H1",{});var s=v(a);r=b(s,t),s.forEach(m),o=k(e),n=d(e,"P",{});var i=v(n);c=b(i,p),i.forEach(m)},m(e,s){_(e,a,s),E(a,r),_(e,o,s),_(e,n,s),E(n,c)},p(e,[s]){var i;s&1&&t!==(t=e[0].status+"")&&$(r,t),s&1&&p!==(p=((i=e[0].error)==null?void 0:i.message)+"")&&$(c,p)},i:q,o:q,d(e){e&&m(a),e&&m(o),e&&m(n)}}}function I(l,a,t){let r;return y(l,C,o=>t(0,r=o)),[r]}class w extends x{constructor(a){super(),H(this,a,I,D,S,{})}}export{w as component}; +import{S as x,i as H,s as S,k as u,q as h,a as g,l as d,m as v,r as b,h as m,c as k,b as _,D as E,u as $,H as q,I as y}from"../chunks/index.89e71670.js";import{p as C}from"../chunks/stores.10dbaf69.js";function D(l){var f;let a,t=l[0].status+"",r,o,n,p=((f=l[0].error)==null?void 0:f.message)+"",c;return{c(){a=u("h1"),r=h(t),o=g(),n=u("p"),c=h(p)},l(e){a=d(e,"H1",{});var s=v(a);r=b(s,t),s.forEach(m),o=k(e),n=d(e,"P",{});var i=v(n);c=b(i,p),i.forEach(m)},m(e,s){_(e,a,s),E(a,r),_(e,o,s),_(e,n,s),E(n,c)},p(e,[s]){var i;s&1&&t!==(t=e[0].status+"")&&$(r,t),s&1&&p!==(p=((i=e[0].error)==null?void 0:i.message)+"")&&$(c,p)},i:q,o:q,d(e){e&&m(a),e&&m(o),e&&m(n)}}}function I(l,a,t){let r;return y(l,C,o=>t(0,r=o)),[r]}class w extends x{constructor(a){super(),H(this,a,I,D,S,{})}}export{w as component}; diff --git a/build/app/immutable/nodes/10.119eba6e.js b/build/app/immutable/nodes/10.119eba6e.js new file mode 100644 index 000000000..051e644e8 --- /dev/null +++ b/build/app/immutable/nodes/10.119eba6e.js @@ -0,0 +1 @@ +import{S as We,i as Xe,s as qe,Q as It,O as Lt,P as Gt,m as A,h as x,R as Et,b as O,T as Nt,H as F,k as y,q as W,l as w,r as X,n as m,D as p,y as Fe,a as M,z as Qe,c as I,A as Ye,d as se,f as Ct,g as ce,B as Ke,I as ze,o as Rt,v as Bt,L as Ee,M as He,K as xe,u as jt,N as Ot,U as ue}from"../chunks/index.89e71670.js";import{H as Ut,c as Vt}from"../chunks/Header.cf7b0240.js";import{j as Dt,c as J,r as zt,w as Wt,b as Ht}from"../chunks/store.b194c171.js";import{P as Tt}from"../chunks/public.6087a87e.js";import{g as Xt}from"../chunks/qrCode.512fe2c5.js";function qt(h){let t,r=[{width:h[1]},{height:h[1]},{"stroke-width":"0"},{class:h[2]},h[0].a,h[4],{xmlns:"http://www.w3.org/2000/svg"}],n={};for(let u=0;u{"src"in c&&r(0,n=c.src),"size"in c&&r(1,u=c.size),"color"in c&&r(5,d=c.color),"title"in c&&r(6,v=c.title),"className"in c&&r(2,s=c.className)},h.$$.update=()=>{h.$$.dirty&33&&(r(4,o={}),d&&(n.a.stroke!=="none"&&r(4,o.stroke=d,o),n.a.fill!=="none"&&r(4,o.fill=d,o))),h.$$.dirty&65&&r(3,e=(v?`${v}`:"")+n.c)},[n,u,s,e,o,d,v]}class Qt extends We{constructor(t){super(),Xe(this,t,Ft,qt,qe,{src:0,size:1,color:5,title:6,className:2})}}const Yt={a:{viewBox:"0 0 512 512"},c:''},Kt=async()=>{let h="",t="";Dt.subscribe(r=>h=r);try{return[await(await fetch(`${Tt}/profile`,{method:"GET",headers:{Authorization:`Bearer ${h}`}})).json(),null]}catch(r){return t=r,[null,t]}};function Zt(h){let t,r,n;return{c(){t=y("div"),r=y("a"),n=W("Get Authenticated"),this.h()},l(u){t=w(u,"DIV",{class:!0});var d=A(t);r=w(d,"A",{href:!0,class:!0});var v=A(r);n=X(v,"Get Authenticated"),v.forEach(x),d.forEach(x),this.h()},h(){m(r,"href","/Onboarding"),m(r,"class","btn p-5"),m(t,"class","p-10 flex justify-center items-center h-full")},m(u,d){O(u,t,d),p(t,r),p(r,n)},p:F,i:F,o:F,d(u){u&&x(t)}}}class Jt extends We{constructor(t){super(),Xe(this,t,null,Zt,qe,{})}}var Ze={},Je={exports:{}};Je.exports;(function(h){(function(t,r,n){function u(e){var o=this,c=s();o.next=function(){var a=2091639*o.s0+o.c*23283064365386963e-26;return o.s0=o.s1,o.s1=o.s2,o.s2=a-(o.c=a|0)},o.c=1,o.s0=c(" "),o.s1=c(" "),o.s2=c(" "),o.s0-=c(e),o.s0<0&&(o.s0+=1),o.s1-=c(e),o.s1<0&&(o.s1+=1),o.s2-=c(e),o.s2<0&&(o.s2+=1),c=null}function d(e,o){return o.c=e.c,o.s0=e.s0,o.s1=e.s1,o.s2=e.s2,o}function v(e,o){var c=new u(e),a=o&&o.state,l=c.next;return l.int32=function(){return c.next()*4294967296|0},l.double=function(){return l()+(l()*2097152|0)*11102230246251565e-32},l.quick=l,a&&(typeof a=="object"&&d(a,c),l.state=function(){return d(c,{})}),l}function s(){var e=4022871197,o=function(c){c=String(c);for(var a=0;a>>0,l-=e,l*=e,e=l>>>0,l-=e,e+=l*4294967296}return(e>>>0)*23283064365386963e-26};return o}r&&r.exports?r.exports=v:n&&n.amd?n(function(){return v}):this.alea=v})(J,h,!1)})(Je);var $t=Je.exports,$e={exports:{}};$e.exports;(function(h){(function(t,r,n){function u(s){var e=this,o="";e.x=0,e.y=0,e.z=0,e.w=0,e.next=function(){var a=e.x^e.x<<11;return e.x=e.y,e.y=e.z,e.z=e.w,e.w^=e.w>>>19^a^a>>>8},s===(s|0)?e.x=s:o+=s;for(var c=0;c>>0)/4294967296};return a.double=function(){do var l=o.next()>>>11,i=(o.next()>>>0)/4294967296,f=(l+i)/(1<<21);while(f===0);return f},a.int32=o.next,a.quick=a,c&&(typeof c=="object"&&d(c,o),a.state=function(){return d(o,{})}),a}r&&r.exports?r.exports=v:n&&n.amd?n(function(){return v}):this.xor128=v})(J,h,!1)})($e);var er=$e.exports,et={exports:{}};et.exports;(function(h){(function(t,r,n){function u(s){var e=this,o="";e.next=function(){var a=e.x^e.x>>>2;return e.x=e.y,e.y=e.z,e.z=e.w,e.w=e.v,(e.d=e.d+362437|0)+(e.v=e.v^e.v<<4^(a^a<<1))|0},e.x=0,e.y=0,e.z=0,e.w=0,e.v=0,s===(s|0)?e.x=s:o+=s;for(var c=0;c>>4),e.next()}function d(s,e){return e.x=s.x,e.y=s.y,e.z=s.z,e.w=s.w,e.v=s.v,e.d=s.d,e}function v(s,e){var o=new u(s),c=e&&e.state,a=function(){return(o.next()>>>0)/4294967296};return a.double=function(){do var l=o.next()>>>11,i=(o.next()>>>0)/4294967296,f=(l+i)/(1<<21);while(f===0);return f},a.int32=o.next,a.quick=a,c&&(typeof c=="object"&&d(c,o),a.state=function(){return d(o,{})}),a}r&&r.exports?r.exports=v:n&&n.amd?n(function(){return v}):this.xorwow=v})(J,h,!1)})(et);var tr=et.exports,tt={exports:{}};tt.exports;(function(h){(function(t,r,n){function u(s){var e=this;e.next=function(){var c=e.x,a=e.i,l,i;return l=c[a],l^=l>>>7,i=l^l<<24,l=c[a+1&7],i^=l^l>>>10,l=c[a+3&7],i^=l^l>>>3,l=c[a+4&7],i^=l^l<<7,l=c[a+7&7],l=l^l<<13,i^=l^l<<9,c[a]=i,e.i=a+1&7,i};function o(c,a){var l,i=[];if(a===(a|0))i[0]=a;else for(a=""+a,l=0;l0;--l)c.next()}o(e,s)}function d(s,e){return e.x=s.x.slice(),e.i=s.i,e}function v(s,e){s==null&&(s=+new Date);var o=new u(s),c=e&&e.state,a=function(){return(o.next()>>>0)/4294967296};return a.double=function(){do var l=o.next()>>>11,i=(o.next()>>>0)/4294967296,f=(l+i)/(1<<21);while(f===0);return f},a.int32=o.next,a.quick=a,c&&(c.x&&d(c,o),a.state=function(){return d(o,{})}),a}r&&r.exports?r.exports=v:n&&n.amd?n(function(){return v}):this.xorshift7=v})(J,h,!1)})(tt);var rr=tt.exports,rt={exports:{}};rt.exports;(function(h){(function(t,r,n){function u(s){var e=this;e.next=function(){var c=e.w,a=e.X,l=e.i,i,f;return e.w=c=c+1640531527|0,f=a[l+34&127],i=a[l=l+1&127],f^=f<<13,i^=i<<17,f^=f>>>15,i^=i>>>12,f=a[l]=f^i,e.i=l,f+(c^c>>>16)|0};function o(c,a){var l,i,f,E,L,R=[],U=128;for(a===(a|0)?(i=a,a=null):(a=a+"\0",i=0,U=Math.max(U,a.length)),f=0,E=-32;E>>15,i^=i<<4,i^=i>>>13,E>=0&&(L=L+1640531527|0,l=R[E&127]^=i+L,f=l==0?f+1:0);for(f>=128&&(R[(a&&a.length||0)&127]=-1),f=127,E=4*128;E>0;--E)i=R[f+34&127],l=R[f=f+1&127],i^=i<<13,l^=l<<17,i^=i>>>15,l^=l>>>12,R[f]=i^l;c.w=L,c.X=R,c.i=f}o(e,s)}function d(s,e){return e.i=s.i,e.w=s.w,e.X=s.X.slice(),e}function v(s,e){s==null&&(s=+new Date);var o=new u(s),c=e&&e.state,a=function(){return(o.next()>>>0)/4294967296};return a.double=function(){do var l=o.next()>>>11,i=(o.next()>>>0)/4294967296,f=(l+i)/(1<<21);while(f===0);return f},a.int32=o.next,a.quick=a,c&&(c.X&&d(c,o),a.state=function(){return d(o,{})}),a}r&&r.exports?r.exports=v:n&&n.amd?n(function(){return v}):this.xor4096=v})(J,h,!1)})(rt);var nr=rt.exports,nt={exports:{}};nt.exports;(function(h){(function(t,r,n){function u(s){var e=this,o="";e.next=function(){var a=e.b,l=e.c,i=e.d,f=e.a;return a=a<<25^a>>>7^l,l=l-i|0,i=i<<24^i>>>8^f,f=f-a|0,e.b=a=a<<20^a>>>12^l,e.c=l=l-i|0,e.d=i<<16^l>>>16^f,e.a=f-a|0},e.a=0,e.b=0,e.c=-1640531527,e.d=1367130551,s===Math.floor(s)?(e.a=s/4294967296|0,e.b=s|0):o+=s;for(var c=0;c>>0)/4294967296};return a.double=function(){do var l=o.next()>>>11,i=(o.next()>>>0)/4294967296,f=(l+i)/(1<<21);while(f===0);return f},a.int32=o.next,a.quick=a,c&&(typeof c=="object"&&d(c,o),a.state=function(){return d(o,{})}),a}r&&r.exports?r.exports=v:n&&n.amd?n(function(){return v}):this.tychei=v})(J,h,!1)})(nt);var ar=nt.exports,Pt={exports:{}};(function(h){(function(t,r,n){var u=256,d=6,v=52,s="random",e=n.pow(u,d),o=n.pow(2,v),c=o*2,a=u-1,l;function i(_,k,P){var H=[];k=k==!0?{entropy:!0}:k||{};var S=R(L(k.entropy?[_,G(r)]:_??U(),3),H),N=new f(H),b=function(){for(var T=N.g(d),B=e,j=0;T=c;)T/=2,B/=2,j>>>=1;return(T+j)/B};return b.int32=function(){return N.g(4)|0},b.quick=function(){return N.g(4)/4294967296},b.double=b,R(G(N.S),r),(k.pass||P||function(T,B,j,V){return V&&(V.S&&E(V,N),T.state=function(){return E(N,{})}),j?(n[s]=T,B):T})(b,S,"global"in k?k.global:this==n,k.state)}function f(_){var k,P=_.length,H=this,S=0,N=H.i=H.j=0,b=H.S=[];for(P||(_=[P++]);S{te[ve]=null}),Ct(),f=te[i],f?f.p(g,C):(f=te[i]=lt[i](g),f.c()),ce(f,1),f.m(l,null)),(!ie||C&16)&&Ee(l,"bg-gray-900",g[4]),ye===(ye=st(g))&&Y?Y.p(g,C):(Y.d(1),Y=ye(g),Y&&(Y.c(),Y.m(b,null))),C&2&&K.value!==g[1]&&He(K,g[1]),C&4&&Z.value!==g[2]&&He(Z,g[2]),(!ie||C&1)&&Ee(z,"modal-open",g[0])},i(g){ie||(ce(f),ie=!0)},o(g){se(f),ie=!1},d(g){g&&x(t),Q.d(),g&&x(v),g&&x(s),te[i].d(),Y.d(),g&&x(T),g&&x(B),g&&x(V),g&&x(z),Ve=!1,Ot(at)}}}function gr(h){let t,r;return{c(){t=y("img"),this.h()},l(n){t=w(n,"IMG",{src:!0,alt:!0,class:!0}),this.h()},h(){ue(t.src,r=Er)||m(t,"src",r),m(t,"alt","aptos token"),m(t,"class","w-32 h-32 rounded-full object-center flex items-center mx-2 mb-4")},m(n,u){O(n,t,u)},p:F,d(n){n&&x(t)}}}function xr(h){let t,r;return{c(){t=y("img"),this.h()},l(n){t=w(n,"IMG",{src:!0,alt:!0,class:!0}),this.h()},h(){ue(t.src,r=h[3])||m(t,"src",r),m(t,"alt","aptos token"),m(t,"class","w-32 h-32 rounded-full object-center flex items-center mx-2 mb-4")},m(n,u){O(n,t,u)},p(n,u){u&8&&!ue(t.src,r=n[3])&&m(t,"src",r)},d(n){n&&x(t)}}}function _r(h){let t,r;return{c(){t=y("img"),this.h()},l(n){t=w(n,"IMG",{src:!0,alt:!0,class:!0}),this.h()},h(){ue(t.src,r=h[8])||m(t,"src",r),m(t,"alt","aptos token"),m(t,"class","w-28 flex items-center mx-2 mb-4")},m(n,u){O(n,t,u)},p(n,u){u&256&&!ue(t.src,r=n[8])&&m(t,"src",r)},d(n){n&&x(t)}}}function yr(h){let t,r;return t=new Qt({props:{src:Yt,color:"#11D9C5"}}),{c(){Fe(t.$$.fragment)},l(n){Qe(t.$$.fragment,n)},m(n,u){Ye(t,n,u),r=!0},p:F,i(n){r||(ce(t.$$.fragment,n),r=!0)},o(n){se(t.$$.fragment,n),r=!1},d(n){Ke(t,n)}}}function wr(h){let t;return{c(){t=W("COPIED")},l(r){t=X(r,"COPIED")},m(r,n){O(r,t,n)},p:F,i:F,o:F,d(r){r&&x(t)}}}function br(h){let t,r;return{c(){t=y("p"),r=W("Generating QR code...")},l(n){t=w(n,"P",{});var u=A(t);r=X(u,"Generating QR code..."),u.forEach(x)},m(n,u){O(n,t,u),p(t,r)},p:F,d(n){n&&x(t)}}}function kr(h){let t,r;return{c(){t=y("img"),this.h()},l(n){t=w(n,"IMG",{src:!0,alt:!0}),this.h()},h(){ue(t.src,r=h[7])||m(t,"src",r),m(t,"alt","QR Code")},m(n,u){O(n,t,u)},p(n,u){u&128&&!ue(t.src,r=n[7])&&m(t,"src",r)},d(n){n&&x(t)}}}function Ar(h){let t,r,n,u,d,v,s,e,o;r=new Ut({});const c=[mr,vr],a=[];function l(i,f){return i[6]?0:1}return s=l(h),e=a[s]=c[s](h),{c(){t=y("div"),Fe(r.$$.fragment),n=M(),u=y("br"),d=M(),v=y("div"),e.c(),this.h()},l(i){t=w(i,"DIV",{class:!0});var f=A(t);Qe(r.$$.fragment,f),n=I(f),u=w(f,"BR",{}),d=I(f),v=w(f,"DIV",{class:!0});var E=A(v);e.l(E),E.forEach(x),f.forEach(x),this.h()},h(){m(v,"class","w-auto rounded-lg py-12"),m(t,"class","bg-white text-black dark:bg-[#171C2F] dark:text-white")},m(i,f){O(i,t,f),Ye(r,t,null),p(t,n),p(t,u),p(t,d),p(t,v),a[s].m(v,null),o=!0},p(i,[f]){let E=s;s=l(i),s===E?a[s].p(i,f):(Bt(),se(a[E],1,1,()=>{a[E]=null}),Ct(),e=a[s],e?e.p(i,f):(e=a[s]=c[s](i),e.c()),ce(e,1),e.m(v,null))},i(i){o||(ce(r.$$.fragment,i),ce(e),o=!0)},o(i){se(r.$$.fragment,i),se(e),o=!1},d(i){i&&x(t),Ke(r),a[s].d()}}}let Er="/avatar.png";function Hr(h,t,r){let n,u,d;ze(h,Dt,b=>r(19,n=b)),ze(h,Wt,b=>r(20,u=b)),ze(h,Ht,b=>r(8,d=b));let v=!1,s="",e="",o="",c=!1,a,l,i="...",f=!0,E="",L="";const R=()=>{if(d!=="")return;const b=new Mt;Ht.set(b.generateRandomAvatar(u))},U=()=>{navigator.clipboard.writeText(u),r(4,c=!0)};async function G(){r(7,L=await Xt(u))}const _=async()=>{const[b,T]=await Kt();b.payload.name,r(3,o=b.payload.profilePictureUrl),T?E=u:E=b.payload.walletAddress,r(5,i=`${E.substring(0,5)}...${E.substring(E.length-4)}`)},k=async()=>{try{let b=s.trim(),T=e.trim(),B=new Headers;B.append("Authorization",`Bearer ${n}`),B.append("Content-Type","application/json");let j=JSON.stringify({name:b,profilePictureUrl:T});(await fetch(`${Tt}/profile`,{method:"PATCH",headers:B,body:j})).status!==200&&(l="Failed to update the profile")}catch(b){console.error(b)}finally{await _(),r(0,v=!1)}};Rt(async()=>{await _(),R(),G(),a.payload.roles,r(6,[f]=await Vt(),f)});const P=()=>r(0,v=!0);function H(){s=this.value,r(1,s)}function S(){e=this.value,r(2,e)}return[v,s,e,o,c,i,f,L,d,U,k,P,H,S,()=>r(0,v=!1)]}class Pr extends We{constructor(t){super(),Xe(this,t,Hr,Ar,qe,{})}}export{Pr as component}; diff --git a/build/app/immutable/nodes/10.99a1db5c.js b/build/app/immutable/nodes/10.99a1db5c.js deleted file mode 100644 index 23907d828..000000000 --- a/build/app/immutable/nodes/10.99a1db5c.js +++ /dev/null @@ -1 +0,0 @@ -import{S as et,i as lt,s as st,k as d,q as V,a as $,l as _,m as h,r as L,h as l,c as x,n as v,K as tt,b as k,D as i,J as z,H as O,L as at,y as J,z as K,A as X,d as C,f as ot,g as q,B as F,o as rt,v as ct,w as nt,W as it,X as ft}from"../chunks/index.f3b06f47.js";import{H as ut}from"../chunks/Header.b7ab37a3.js";import{L as dt}from"../chunks/Logout.35258e20.js";import{c as _t}from"../chunks/secondAuth.f9ee4b2a.js";import{m as mt}from"../chunks/store.26750aee.js";function bt(p){let e,a,r,c,s,f,m,n,b,o,w,g,y,D,B,W,I,T,H,R;return{c(){e=d("div"),a=d("button"),r=V("Lock Wallet"),c=$(),s=d("div"),f=d("div"),m=d("button"),n=V("✕"),b=$(),o=d("p"),w=V("Sure want to lock the wallet?"),g=$(),y=d("div"),D=d("button"),B=V("Cancel"),W=$(),I=d("button"),T=V("Lock"),this.h()},l(U){e=_(U,"DIV",{});var E=h(e);a=_(E,"BUTTON",{class:!0});var j=h(a);r=L(j,"Lock Wallet"),j.forEach(l),c=x(E),s=_(E,"DIV",{class:!0});var A=h(s);f=_(A,"DIV",{class:!0});var S=h(f);m=_(S,"BUTTON",{class:!0});var M=h(m);n=L(M,"✕"),M.forEach(l),b=x(S),o=_(S,"P",{class:!0});var N=h(o);w=L(N,"Sure want to lock the wallet?"),N.forEach(l),g=x(S),y=_(S,"DIV",{class:!0});var t=h(y);D=_(t,"BUTTON",{class:!0});var u=h(D);B=L(u,"Cancel"),u.forEach(l),W=x(t),I=_(t,"BUTTON",{class:!0});var P=h(I);T=L(P,"Lock"),P.forEach(l),t.forEach(l),S.forEach(l),A.forEach(l),E.forEach(l),this.h()},h(){v(a,"class","block rounded-lg shadow-lg bg-white dark:bg-gray-800 dark:text-white p-5 w-full h-auto hover:bg-slate-200 active:bg-slate-500 text-xl text-center"),v(m,"class","btn btn-sm btn-circle absolute right-2 top-2"),v(o,"class","text-xl mt-5 mb-3"),v(D,"class","btn"),v(I,"class","btn"),v(y,"class","modal-action"),v(f,"class","modal-box dark:bg-gray-900 dark:text-white"),v(s,"class","modal modal-bottom sm:modal-middle"),tt(s,"modal-open",p[0])},m(U,E){k(U,e,E),i(e,a),i(a,r),i(e,c),i(e,s),i(s,f),i(f,m),i(m,n),i(f,b),i(f,o),i(o,w),i(f,g),i(f,y),i(y,D),i(D,B),i(y,W),i(y,I),i(I,T),H||(R=[z(a,"click",p[3]),z(m,"click",p[4]),z(D,"click",p[5]),z(I,"click",p[1])],H=!0)},p(U,[E]){E&1&&tt(s,"modal-open",U[0])},i:O,o:O,d(U){U&&l(e),H=!1,at(R)}}}function kt(p,e,a){let r=!1,{isWalletUnlocked:c}=e;const s=async()=>{await mt.remove(),a(2,c=!1),a(0,r=!1)},f=()=>a(0,r=!0),m=()=>{a(0,r=!1)},n=()=>{a(0,r=!1)};return p.$$set=b=>{"isWalletUnlocked"in b&&a(2,c=b.isWalletUnlocked)},[r,s,c,f,m,n]}class ht extends et{constructor(e){super(),lt(this,e,kt,bt,st,{isWalletUnlocked:2})}}function vt(p){let e,a,r,c,s,f;return{c(){e=d("div"),a=d("h1"),r=V("Unlock the wallet"),c=$(),s=d("a"),f=V("Unlock"),this.h()},l(m){e=_(m,"DIV",{class:!0});var n=h(e);a=_(n,"H1",{class:!0});var b=h(a);r=L(b,"Unlock the wallet"),b.forEach(l),c=x(n),s=_(n,"A",{href:!0,class:!0});var o=h(s);f=L(o,"Unlock"),o.forEach(l),n.forEach(l),this.h()},h(){v(a,"class","text-3xl dark:text-yellow-200"),v(s,"href","/wallet"),v(s,"class","btn"),v(e,"class","h-[40vh] w-full p-5 flex flex-col items-center justify-evenly")},m(m,n){k(m,e,n),i(e,a),i(a,r),i(e,c),i(e,s),i(s,f)},p:O,i:O,o:O,d(m){m&&l(e)}}}function pt(p){let e,a,r,c,s,f,m,n,b,o,w,g,y,D,B,W,I,T,H,R,U,E,j,A,S;function M(t){p[1](t)}let N={};return p[0]!==void 0&&(N.isWalletUnlocked=p[0]),W=new ht({props:N}),nt.push(()=>it(W,"isWalletUnlocked",M)),E=new dt({}),{c(){e=d("br"),a=$(),r=d("h1"),c=V("Settings"),s=$(),f=d("br"),m=$(),n=d("div"),b=d("a"),o=d("div"),w=V("Show Seed Phrase"),g=$(),y=d("br"),D=$(),B=d("div"),J(W.$$.fragment),T=$(),H=d("br"),R=$(),U=d("div"),J(E.$$.fragment),j=$(),A=d("br"),this.h()},l(t){e=_(t,"BR",{}),a=x(t),r=_(t,"H1",{class:!0});var u=h(r);c=L(u,"Settings"),u.forEach(l),s=x(t),f=_(t,"BR",{}),m=x(t),n=_(t,"DIV",{class:!0});var P=h(n);b=_(P,"A",{href:!0,class:!0});var G=h(b);o=_(G,"DIV",{class:!0});var Q=h(o);w=L(Q,"Show Seed Phrase"),Q.forEach(l),G.forEach(l),P.forEach(l),g=x(t),y=_(t,"BR",{}),D=x(t),B=_(t,"DIV",{class:!0});var Y=h(B);K(W.$$.fragment,Y),Y.forEach(l),T=x(t),H=_(t,"BR",{}),R=x(t),U=_(t,"DIV",{class:!0});var Z=h(U);K(E.$$.fragment,Z),Z.forEach(l),j=x(t),A=_(t,"BR",{}),this.h()},h(){v(r,"class","text-3xl mt-5 mb-2 text-center"),v(o,"class","block rounded-lg shadow-lg bg-white dark:bg-gray-800 dark:text-white p-5 h-auto hover:bg-slate-200 active:bg-slate-500"),v(b,"href","/settings/show-secret-key"),v(b,"class","text-xl text-center"),v(n,"class","justify-center"),v(B,"class","justify-center"),v(U,"class","justify-center")},m(t,u){k(t,e,u),k(t,a,u),k(t,r,u),i(r,c),k(t,s,u),k(t,f,u),k(t,m,u),k(t,n,u),i(n,b),i(b,o),i(o,w),k(t,g,u),k(t,y,u),k(t,D,u),k(t,B,u),X(W,B,null),k(t,T,u),k(t,H,u),k(t,R,u),k(t,U,u),X(E,U,null),k(t,j,u),k(t,A,u),S=!0},p(t,u){const P={};!I&&u&1&&(I=!0,P.isWalletUnlocked=t[0],ft(()=>I=!1)),W.$set(P)},i(t){S||(q(W.$$.fragment,t),q(E.$$.fragment,t),S=!0)},o(t){C(W.$$.fragment,t),C(E.$$.fragment,t),S=!1},d(t){t&&l(e),t&&l(a),t&&l(r),t&&l(s),t&&l(f),t&&l(m),t&&l(n),t&&l(g),t&&l(y),t&&l(D),t&&l(B),F(W),t&&l(T),t&&l(H),t&&l(R),t&&l(U),F(E),t&&l(j),t&&l(A)}}}function wt(p){let e,a,r,c,s,f;a=new ut({});const m=[pt,vt],n=[];function b(o,w){return o[0]?0:1}return c=b(p),s=n[c]=m[c](p),{c(){e=d("div"),J(a.$$.fragment),r=$(),s.c()},l(o){e=_(o,"DIV",{});var w=h(e);K(a.$$.fragment,w),r=x(w),s.l(w),w.forEach(l)},m(o,w){k(o,e,w),X(a,e,null),i(e,r),n[c].m(e,null),f=!0},p(o,[w]){let g=c;c=b(o),c===g?n[c].p(o,w):(ct(),C(n[g],1,1,()=>{n[g]=null}),ot(),s=n[c],s?s.p(o,w):(s=n[c]=m[c](o),s.c()),q(s,1),s.m(e,null))},i(o){f||(q(a.$$.fragment,o),q(s),f=!0)},o(o){C(a.$$.fragment,o),C(s),f=!1},d(o){o&&l(e),F(a),n[c].d()}}}function Et(p,e,a){let r=!1;rt(async()=>{a(0,[,r]=await _t(),r)});function c(s){r=s,a(0,r)}return[r,c]}class gt extends et{constructor(e){super(),lt(this,e,Et,wt,st,{})}}export{gt as component}; diff --git a/build/app/immutable/nodes/11.1c99b5c9.js b/build/app/immutable/nodes/11.1c99b5c9.js new file mode 100644 index 000000000..4bb147b33 --- /dev/null +++ b/build/app/immutable/nodes/11.1c99b5c9.js @@ -0,0 +1 @@ +import{S as ke,i as Ee,s as xe,k as d,q as z,a as S,l as h,m as i,r as q,h as t,c as U,n as e,L as _e,b as B,D as l,M as Te,K as te,H as ce,N as Oe,O as b,P as C,y as be,z as Ce,A as we,g as ue,d as pe,f as Ae,B as ge,o as We,w as Ne,V as Re,W as Fe,v as Ge}from"../chunks/index.89e71670.js";import{H as Pe,c as Ze}from"../chunks/Header.cf7b0240.js";import{m as $e,s as He,w as je,o as ze,b as qe}from"../chunks/store.b194c171.js";function Je(m){let r,a,s;return{c(){r=d("div"),a=d("button"),s=z("Reset"),this.h()},l(c){r=h(c,"DIV",{class:!0});var n=i(r);a=h(n,"BUTTON",{class:!0});var f=i(a);s=q(f,"Reset"),f.forEach(t),n.forEach(t),this.h()},h(){e(a,"class","btn w-full primary-button"),a.disabled=!0,e(r,"class","modal-action")},m(c,n){B(c,r,n),l(r,a),l(a,s)},p:ce,d(c){c&&t(r)}}}function Ke(m){let r,a,s,c,n,f;return{c(){r=d("div"),a=d("a"),s=d("button"),c=z("Reset"),this.h()},l(u){r=h(u,"DIV",{class:!0});var x=i(r);a=h(x,"A",{href:!0});var k=i(a);s=h(k,"BUTTON",{class:!0});var y=i(s);c=q(y,"Reset"),y.forEach(t),k.forEach(t),x.forEach(t),this.h()},h(){e(s,"class","btn w-full primary-button"),e(a,"href","/"),e(r,"class","modal-action")},m(u,x){B(u,r,x),l(r,a),l(a,s),l(s,c),n||(f=te(s,"click",m[3]),n=!0)},p:ce,d(u){u&&t(r),n=!1,f()}}}function Qe(m){let r,a,s,c,n,f,u,x,k,y,D,M,w,E,I,N;function O(_,v){return _[1]?Ke:Je}let $=O(m),p=$(m);return{c(){r=d("div"),a=d("button"),s=z("Reset password"),c=S(),n=d("div"),f=d("div"),u=d("button"),x=z("✕"),k=S(),y=d("p"),D=z("Enter 'reset'"),M=S(),w=d("input"),E=S(),p.c(),this.h()},l(_){r=h(_,"DIV",{});var v=i(r);a=h(v,"BUTTON",{class:!0});var T=i(a);s=q(T,"Reset password"),T.forEach(t),c=U(v),n=h(v,"DIV",{class:!0});var G=i(n);f=h(G,"DIV",{class:!0});var L=i(f);u=h(L,"BUTTON",{class:!0});var V=i(u);x=q(V,"✕"),V.forEach(t),k=U(L),y=h(L,"P",{class:!0});var A=i(y);D=q(A,"Enter 'reset'"),A.forEach(t),M=U(L),w=h(L,"INPUT",{type:!0,placeholder:!0,class:!0}),E=U(L),p.l(L),L.forEach(t),G.forEach(t),v.forEach(t),this.h()},h(){e(a,"class","primary-button"),e(u,"class","btn btn-sm btn-circle absolute right-2 top-2"),e(y,"class","text-md mt-5 mb-3 text-center"),e(w,"type","text"),e(w,"placeholder","reset"),e(w,"class","secondary-input"),e(f,"class","modal-box dark:bg-[#171C2F] dark:text-white"),e(n,"class","modal modal-bottom sm:modal-middle"),_e(n,"modal-open",m[0])},m(_,v){B(_,r,v),l(r,a),l(a,s),l(r,c),l(r,n),l(n,f),l(f,u),l(u,x),l(f,k),l(f,y),l(y,D),l(f,M),l(f,w),Te(w,m[2]),l(f,E),p.m(f,null),I||(N=[te(a,"click",m[4]),te(u,"click",m[5]),te(w,"input",m[6]),te(w,"change",m[7])],I=!0)},p(_,[v]){v&4&&w.value!==_[2]&&Te(w,_[2]),$===($=O(_))&&p?p.p(_,v):(p.d(1),p=$(_),p&&(p.c(),p.m(f,null))),v&1&&_e(n,"modal-open",_[0])},i:ce,o:ce,d(_){_&&t(r),p.d(),I=!1,Oe(N)}}}function Xe(m,r,a){let s=!1,c=!1,n="";const f=async()=>{await $e.remove(),He(""),je.set(""),ze.set(3),localStorage.removeItem("encryptedMnemonic"),localStorage.removeItem("iv"),localStorage.removeItem("mnemonicHash"),qe.set(""),a(0,s=!1)},u=()=>a(0,s=!0),x=()=>{a(0,s=!1)};function k(){n=this.value,a(2,n)}return[s,c,n,f,u,x,k,()=>{n=="reset"&&a(1,c=!0)}]}class Ye extends ke{constructor(r){super(),Ee(this,r,Xe,Qe,xe,{})}}function et(m){let r,a,s,c,n,f,u,x,k,y,D,M,w,E,I,N,O,$,p,_,v,T,G,L,V,A,P,Z,R,ie,le,H,re,J,j;return{c(){r=d("div"),a=d("button"),s=b("svg"),c=b("g"),n=b("path"),f=b("defs"),u=b("filter"),x=b("feFlood"),k=b("feColorMatrix"),y=b("feOffset"),D=b("feGaussianBlur"),M=b("feComposite"),w=b("feColorMatrix"),E=b("feBlend"),I=b("feBlend"),N=S(),O=d("span"),$=z("lock your wallet"),p=S(),_=d("div"),v=d("div"),T=d("button"),G=z("✕"),L=S(),V=d("p"),A=z("Sure want to lock the wallet?"),P=S(),Z=d("div"),R=d("button"),ie=z("Cancel"),le=S(),H=d("button"),re=z("Lock"),this.h()},l(K){r=h(K,"DIV",{});var F=i(r);a=h(F,"BUTTON",{class:!0});var Y=i(a);s=C(Y,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0,class:!0});var ae=i(s);c=C(ae,"g",{filter:!0});var Q=i(c);n=C(Q,"path",{"fill-rule":!0,"clip-rule":!0,d:!0}),i(n).forEach(t),Q.forEach(t),f=C(ae,"defs",{});var X=i(f);u=C(X,"filter",{id:!0,x:!0,y:!0,width:!0,height:!0,filterUnits:!0,"color-interpolation-filters":!0});var W=i(u);x=C(W,"feFlood",{"flood-opacity":!0,result:!0}),i(x).forEach(t),k=C(W,"feColorMatrix",{in:!0,type:!0,values:!0,result:!0}),i(k).forEach(t),y=C(W,"feOffset",{dy:!0}),i(y).forEach(t),D=C(W,"feGaussianBlur",{stdDeviation:!0}),i(D).forEach(t),M=C(W,"feComposite",{in2:!0,operator:!0}),i(M).forEach(t),w=C(W,"feColorMatrix",{type:!0,values:!0}),i(w).forEach(t),E=C(W,"feBlend",{mode:!0,in2:!0,result:!0}),i(E).forEach(t),I=C(W,"feBlend",{mode:!0,in:!0,in2:!0,result:!0}),i(I).forEach(t),W.forEach(t),X.forEach(t),ae.forEach(t),N=U(Y),O=h(Y,"SPAN",{});var ne=i(O);$=q(ne,"lock your wallet"),ne.forEach(t),Y.forEach(t),p=U(F),_=h(F,"DIV",{class:!0});var fe=i(_);v=h(fe,"DIV",{class:!0});var se=i(v);T=h(se,"BUTTON",{class:!0});var de=i(T);G=q(de,"✕"),de.forEach(t),L=U(se),V=h(se,"P",{class:!0});var o=i(V);A=q(o,"Sure want to lock the wallet?"),o.forEach(t),P=U(se),Z=h(se,"DIV",{class:!0});var g=i(Z);R=h(g,"BUTTON",{class:!0});var oe=i(R);ie=q(oe,"Cancel"),oe.forEach(t),le=U(g),H=h(g,"BUTTON",{class:!0});var he=i(H);re=q(he,"Lock"),he.forEach(t),g.forEach(t),se.forEach(t),fe.forEach(t),F.forEach(t),this.h()},h(){e(n,"fill-rule","evenodd"),e(n,"clip-rule","evenodd"),e(n,"d","M26 8.98853V9.99953C26.5304 9.99953 27.0391 10.2102 27.4142 10.5853C27.7893 10.9604 28 11.4691 28 11.9995V21.9995C28 22.53 27.7893 23.0387 27.4142 23.4137C27.0391 23.7888 26.5304 23.9995 26 23.9995H12C11.4696 23.9995 10.9609 23.7888 10.5858 23.4137C10.2107 23.0387 10 22.53 10 21.9995V11.9995C10 10.9545 10.835 10.0065 11.813 9.72753L22.813 6.58453C23.1851 6.47818 23.5768 6.45967 23.9573 6.53045C24.3377 6.60123 24.6966 6.75938 25.0055 6.99242C25.3145 7.22547 25.5651 7.52706 25.7377 7.87344C25.9102 8.21982 26 8.60154 26 8.98853ZM22.5 15.4995C22.1022 15.4995 21.7206 15.6576 21.4393 15.9389C21.158 16.2202 21 16.6017 21 16.9995C21 17.3974 21.158 17.7789 21.4393 18.0602C21.7206 18.3415 22.1022 18.4995 22.5 18.4995C22.8978 18.4995 23.2794 18.3415 23.5607 18.0602C23.842 17.7789 24 17.3974 24 16.9995C24 16.6017 23.842 16.2202 23.5607 15.9389C23.2794 15.6576 22.8978 15.4995 22.5 15.4995ZM24 8.98853C24.0001 8.91794 23.9852 8.84814 23.9563 8.78372C23.9274 8.71931 23.8853 8.66173 23.8326 8.61478C23.7798 8.56783 23.7178 8.53258 23.6505 8.51133C23.5832 8.49009 23.5121 8.48334 23.442 8.49153L23.362 8.50753L18.14 9.99953H24V8.98853Z"),e(c,"filter","url(#filter0_d_6771_6548)"),e(x,"flood-opacity","0"),e(x,"result","BackgroundImageFix"),e(k,"in","SourceAlpha"),e(k,"type","matrix"),e(k,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),e(k,"result","hardAlpha"),e(y,"dy","4"),e(D,"stdDeviation","5"),e(M,"in2","hardAlpha"),e(M,"operator","out"),e(w,"type","matrix"),e(w,"values","0 0 0 0 0.0666667 0 0 0 0 0.85098 0 0 0 0 0.772549 0 0 0 0.1 0"),e(E,"mode","normal"),e(E,"in2","BackgroundImageFix"),e(E,"result","effect1_dropShadow_6771_6548"),e(I,"mode","normal"),e(I,"in","SourceGraphic"),e(I,"in2","effect1_dropShadow_6771_6548"),e(I,"result","shape"),e(u,"id","filter0_d_6771_6548"),e(u,"x","0"),e(u,"y","0.488281"),e(u,"width","38"),e(u,"height","37.5117"),e(u,"filterUnits","userSpaceOnUse"),e(u,"color-interpolation-filters","sRGB"),e(s,"width","38"),e(s,"height","38"),e(s,"viewBox","0 0 38 38"),e(s,"fill","none"),e(s,"xmlns","http://www.w3.org/2000/svg"),e(s,"class","fill-[#263238] dark:fill-[#11D9C5]"),e(a,"class","flex items-center gap-2 px-4 py-2 rounded-full capitalize bg-white dark:bg-[#222944] dark:text-white w-full h-auto hover:bg-slate-200 hover:text-black active:bg-slate-500 text-sm text-center shadow-md dark:shadow-none"),e(T,"class","btn btn-sm btn-circle absolute right-2 top-2"),e(V,"class","text-xl mt-5 mb-3"),e(R,"class","btn secondary-button"),e(H,"class","btn primary-button"),e(Z,"class","modal-action flex gap-4"),e(v,"class","modal-box dark:bg-gray-900 dark:text-white"),e(_,"class","modal modal-bottom sm:modal-middle"),_e(_,"modal-open",m[0])},m(K,F){B(K,r,F),l(r,a),l(a,s),l(s,c),l(c,n),l(s,f),l(f,u),l(u,x),l(u,k),l(u,y),l(u,D),l(u,M),l(u,w),l(u,E),l(u,I),l(a,N),l(a,O),l(O,$),l(r,p),l(r,_),l(_,v),l(v,T),l(T,G),l(v,L),l(v,V),l(V,A),l(v,P),l(v,Z),l(Z,R),l(R,ie),l(Z,le),l(Z,H),l(H,re),J||(j=[te(a,"click",m[3]),te(T,"click",m[4]),te(R,"click",m[5]),te(H,"click",m[1])],J=!0)},p(K,[F]){F&1&&_e(_,"modal-open",K[0])},i:ce,o:ce,d(K){K&&t(r),J=!1,Oe(j)}}}function tt(m,r,a){let s=!1,{isWalletUnlocked:c}=r;const n=async()=>{await $e.remove(),a(2,c=!1),a(0,s=!1)},f=()=>a(0,s=!0),u=()=>{a(0,s=!1)},x=()=>{a(0,s=!1)};return m.$$set=k=>{"isWalletUnlocked"in k&&a(2,c=k.isWalletUnlocked)},[s,n,c,f,u,x]}class lt extends ke{constructor(r){super(),Ee(this,r,tt,et,xe,{isWalletUnlocked:2})}}function Ve(m){let r,a,s,c,n,f,u,x,k,y,D,M,w,E,I,N,O,$,p,_,v,T,G,L,V,A,P,Z,R,ie,le,H,re,J,j,K,F,Y,ae,Q,X,W,ne,fe;function se(o){m[1](o)}let de={};return m[0]!==void 0&&(de.isWalletUnlocked=m[0]),j=new lt({props:de}),Ne.push(()=>Re(j,"isWalletUnlocked",se)),X=new Ye({}),{c(){r=d("div"),a=d("a"),s=b("svg"),c=b("path"),n=S(),f=d("h1"),u=z("Settings"),x=S(),k=d("br"),y=S(),D=d("div"),M=d("a"),w=d("button"),E=b("svg"),I=b("path"),N=b("g"),O=b("path"),$=b("defs"),p=b("filter"),_=b("feFlood"),v=b("feColorMatrix"),T=b("feOffset"),G=b("feGaussianBlur"),L=b("feComposite"),V=b("feColorMatrix"),A=b("feBlend"),P=b("feBlend"),Z=S(),R=d("span"),ie=z("Show Seed Phrase"),le=S(),H=d("br"),re=S(),J=d("div"),be(j.$$.fragment),F=S(),Y=d("br"),ae=S(),Q=d("div"),be(X.$$.fragment),W=S(),ne=d("br"),this.h()},l(o){r=h(o,"DIV",{class:!0});var g=i(r);a=h(g,"A",{href:!0});var oe=i(a);s=C(oe,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0,class:!0});var he=i(s);c=C(he,"path",{d:!0}),i(c).forEach(t),he.forEach(t),oe.forEach(t),n=U(g),f=h(g,"H1",{class:!0});var ye=i(f);u=q(ye,"Settings"),ye.forEach(t),g.forEach(t),x=U(o),k=h(o,"BR",{}),y=U(o),D=h(o,"DIV",{class:!0});var Be=i(D);M=h(Be,"A",{href:!0,class:!0});var Le=i(M);w=h(Le,"BUTTON",{class:!0});var me=i(w);E=C(me,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0,class:!0});var ve=i(E);I=C(ve,"path",{d:!0}),i(I).forEach(t),N=C(ve,"g",{filter:!0});var Se=i(N);O=C(Se,"path",{d:!0}),i(O).forEach(t),Se.forEach(t),$=C(ve,"defs",{});var Ue=i($);p=C(Ue,"filter",{id:!0,x:!0,y:!0,width:!0,height:!0,filterUnits:!0,"color-interpolation-filters":!0});var ee=i(p);_=C(ee,"feFlood",{"flood-opacity":!0,result:!0}),i(_).forEach(t),v=C(ee,"feColorMatrix",{in:!0,type:!0,values:!0,result:!0}),i(v).forEach(t),T=C(ee,"feOffset",{dy:!0}),i(T).forEach(t),G=C(ee,"feGaussianBlur",{stdDeviation:!0}),i(G).forEach(t),L=C(ee,"feComposite",{in2:!0,operator:!0}),i(L).forEach(t),V=C(ee,"feColorMatrix",{type:!0,values:!0}),i(V).forEach(t),A=C(ee,"feBlend",{mode:!0,in2:!0,result:!0}),i(A).forEach(t),P=C(ee,"feBlend",{mode:!0,in:!0,in2:!0,result:!0}),i(P).forEach(t),ee.forEach(t),Ue.forEach(t),ve.forEach(t),Z=U(me),R=h(me,"SPAN",{});var Me=i(R);ie=q(Me,"Show Seed Phrase"),Me.forEach(t),me.forEach(t),Le.forEach(t),Be.forEach(t),le=U(o),H=h(o,"BR",{}),re=U(o),J=h(o,"DIV",{class:!0});var Ie=i(J);Ce(j.$$.fragment,Ie),Ie.forEach(t),F=U(o),Y=h(o,"BR",{}),ae=U(o),Q=h(o,"DIV",{class:!0});var De=i(Q);Ce(X.$$.fragment,De),De.forEach(t),W=U(o),ne=h(o,"BR",{}),this.h()},h(){e(c,"d","M16.6185 2.99028C16.5024 2.87387 16.3645 2.78152 16.2126 2.7185C16.0608 2.65548 15.898 2.62305 15.7335 2.62305C15.5691 2.62305 15.4063 2.65548 15.2545 2.7185C15.1026 2.78152 14.9647 2.87387 14.8485 2.99028L6.53854 11.3003C6.44583 11.3928 6.37229 11.5027 6.32211 11.6237C6.27192 11.7446 6.24609 11.8743 6.24609 12.0053C6.24609 12.1362 6.27192 12.2659 6.32211 12.3869C6.37229 12.5079 6.44583 12.6178 6.53854 12.7103L14.8485 21.0203C15.3385 21.5103 16.1285 21.5103 16.6185 21.0203C17.1085 20.5303 17.1085 19.7403 16.6185 19.2503L9.37854 12.0003L16.6285 4.75028C17.1085 4.27028 17.1085 3.47028 16.6185 2.99028Z"),e(s,"width","24"),e(s,"height","24"),e(s,"viewBox","0 0 24 24"),e(s,"fill","none"),e(s,"xmlns","http://www.w3.org/2000/svg"),e(s,"class","fill-[#222944] dark:fill-[#11D9C5]"),e(a,"href","/"),e(f,"class","text-xl font-bold"),e(r,"class","flex gap-8 mt-16 mb-8 items-center"),e(I,"d","M18.2891 11.6836L17.8332 13.5086C18.3491 13.6369 19.9407 14.1619 20.1982 13.1286C20.4666 12.0528 18.8041 11.8128 18.2891 11.6836ZM17.6041 14.4303L17.1016 16.4428C17.7207 16.5969 19.6324 17.2103 19.9149 16.0753C20.2107 14.8903 18.2241 14.5844 17.6041 14.4303Z"),e(O,"d","M20.3454 6.24921C15.8812 5.13671 11.362 7.85337 10.2495 12.3175C9.13621 16.78 11.8529 21.3009 16.3137 22.4142C20.7779 23.5267 25.2995 20.8109 26.4112 16.3467C27.5245 11.8834 24.8079 7.36254 20.3454 6.24921ZM22.0045 13.145C21.8837 13.9567 21.4329 14.3492 20.8362 14.4875C21.657 14.9142 22.0737 15.5692 21.677 16.705C21.1837 18.1142 20.012 18.2334 18.452 17.9384L18.0737 19.455L17.1604 19.2275L17.5329 17.7325C17.2892 17.6717 17.0461 17.6083 16.8037 17.5425L16.4295 19.0459L15.517 18.8167L15.8954 17.2975C15.6812 17.2425 15.4645 17.1842 15.2437 17.1292L14.0529 16.8334L14.5079 15.7867C14.5079 15.7867 15.1812 15.9659 15.172 15.9525C15.4312 16.0167 15.5454 15.8484 15.5904 15.735L16.1895 13.3392L16.2854 13.3634C16.2545 13.3509 16.2227 13.3406 16.1904 13.3325L16.617 11.6217C16.6279 11.4267 16.562 11.1817 16.1912 11.0892C16.2062 11.08 15.527 10.9242 15.527 10.9242L15.7695 9.94754L17.0312 10.2625L17.0304 10.2667C17.2195 10.3142 17.4145 10.3592 17.6137 10.4042L17.9879 8.90254L18.902 9.13004L18.5354 10.6017C18.7804 10.6575 19.0279 10.7142 19.2679 10.7742L19.6329 9.31171L20.547 9.53921L20.1729 11.0409C21.3262 11.44 22.1695 12.0367 22.0045 13.145Z"),e(N,"filter","url(#filter0_d_6771_6544)"),e(_,"flood-opacity","0"),e(_,"result","BackgroundImageFix"),e(v,"in","SourceAlpha"),e(v,"type","matrix"),e(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),e(v,"result","hardAlpha"),e(T,"dy","4"),e(G,"stdDeviation","5"),e(L,"in2","hardAlpha"),e(L,"operator","out"),e(V,"type","matrix"),e(V,"values","0 0 0 0 0.0666667 0 0 0 0 0.85098 0 0 0 0 0.772549 0 0 0 0.1 0"),e(A,"mode","normal"),e(A,"in2","BackgroundImageFix"),e(A,"result","effect1_dropShadow_6771_6544"),e(P,"mode","normal"),e(P,"in","SourceGraphic"),e(P,"in2","effect1_dropShadow_6771_6544"),e(P,"result","shape"),e(p,"id","filter0_d_6771_6544"),e(p,"x","0"),e(p,"y","0"),e(p,"width","36.6602"),e(p,"height","36.6641"),e(p,"filterUnits","userSpaceOnUse"),e(p,"color-interpolation-filters","sRGB"),e(E,"width","37"),e(E,"height","37"),e(E,"viewBox","0 0 37 37"),e(E,"fill","none"),e(E,"xmlns","http://www.w3.org/2000/svg"),e(E,"class","fill-[#263238] dark:fill-[#11D9C5]"),e(w,"class","flex items-center gap-2 px-4 py-2 rounded-full bg-white dark:bg-[#222944] dark:text-white w-full h-auto hover:bg-slate-200 hover:text-black active:bg-slate-500 shadow-md dark:shadow-none"),e(M,"href","/settings/show-secret-key"),e(M,"class","text-sm capitalize"),e(D,"class","justify-center"),e(J,"class","justify-center"),e(Q,"class","justify-center mt-8")},m(o,g){B(o,r,g),l(r,a),l(a,s),l(s,c),l(r,n),l(r,f),l(f,u),B(o,x,g),B(o,k,g),B(o,y,g),B(o,D,g),l(D,M),l(M,w),l(w,E),l(E,I),l(E,N),l(N,O),l(E,$),l($,p),l(p,_),l(p,v),l(p,T),l(p,G),l(p,L),l(p,V),l(p,A),l(p,P),l(w,Z),l(w,R),l(R,ie),B(o,le,g),B(o,H,g),B(o,re,g),B(o,J,g),we(j,J,null),B(o,F,g),B(o,Y,g),B(o,ae,g),B(o,Q,g),we(X,Q,null),B(o,W,g),B(o,ne,g),fe=!0},p(o,g){const oe={};!K&&g&1&&(K=!0,oe.isWalletUnlocked=o[0],Fe(()=>K=!1)),j.$set(oe)},i(o){fe||(ue(j.$$.fragment,o),ue(X.$$.fragment,o),fe=!0)},o(o){pe(j.$$.fragment,o),pe(X.$$.fragment,o),fe=!1},d(o){o&&t(r),o&&t(x),o&&t(k),o&&t(y),o&&t(D),o&&t(le),o&&t(H),o&&t(re),o&&t(J),ge(j),o&&t(F),o&&t(Y),o&&t(ae),o&&t(Q),ge(X),o&&t(W),o&&t(ne)}}}function rt(m){let r,a,s,c;a=new Pe({});let n=m[0]&&Ve(m);return{c(){r=d("div"),be(a.$$.fragment),s=S(),n&&n.c()},l(f){r=h(f,"DIV",{});var u=i(r);Ce(a.$$.fragment,u),s=U(u),n&&n.l(u),u.forEach(t)},m(f,u){B(f,r,u),we(a,r,null),l(r,s),n&&n.m(r,null),c=!0},p(f,[u]){f[0]?n?(n.p(f,u),u&1&&ue(n,1)):(n=Ve(f),n.c(),ue(n,1),n.m(r,null)):n&&(Ge(),pe(n,1,1,()=>{n=null}),Ae())},i(f){c||(ue(a.$$.fragment,f),ue(n),c=!0)},o(f){pe(a.$$.fragment,f),pe(n),c=!1},d(f){f&&t(r),ge(a),n&&n.d()}}}function at(m,r,a){let s=!1;const c=()=>{typeof window<"u"&&(window.location.href="/signIn")};We(async()=>{a(0,[s]=await Ze(),s),s===!1&&c()});function n(f){s=f,a(0,s)}return[s,n]}class nt extends ke{constructor(r){super(),Ee(this,r,at,rt,xe,{})}}export{nt as component}; diff --git a/build/app/immutable/nodes/11.5d5fd754.js b/build/app/immutable/nodes/11.5d5fd754.js deleted file mode 100644 index 4e530ee2c..000000000 --- a/build/app/immutable/nodes/11.5d5fd754.js +++ /dev/null @@ -1 +0,0 @@ -import{S as O,i as V,s as $,k as w,y as N,a as E,l as v,m as k,z as j,c as x,h as _,b as I,A as q,D as l,g as C,d as K,B as M,q as y,r as P,n as g,J as U,u as H,K as R,Q as T,L as z}from"../chunks/index.f3b06f47.js";import{H as A}from"../chunks/Header.b7ab37a3.js";import{a as J}from"../chunks/secondAuth.f9ee4b2a.js";import{m as Q}from"../chunks/store.26750aee.js";const F=u=>{const e="mnemonic.txt",t=new Blob([u],{type:"text/plain"}),o=window.URL.createObjectURL(t),i=document.createElement("a");i.href=o,i.download=e,i.click(),window.URL.revokeObjectURL(o)};function G(u){let e,t,o,i,s,c,p,d,a,n,r;return{c(){e=w("div"),t=w("h1"),o=y("Show Seed Phrase"),i=E(),s=w("div"),c=y(u[2]),p=E(),d=w("button"),a=y("Export mnemonic"),this.h()},l(b){e=v(b,"DIV",{});var m=k(e);t=v(m,"H1",{class:!0});var S=k(t);o=P(S,"Show Seed Phrase"),S.forEach(_),i=x(m),s=v(m,"DIV",{class:!0});var f=k(s);c=P(f,u[2]),f.forEach(_),p=x(m),d=v(m,"BUTTON",{class:!0});var h=k(d);a=P(h,"Export mnemonic"),h.forEach(_),m.forEach(_),this.h()},h(){g(t,"class","text-5xl text-left text-black dark:text-white"),g(s,"class","p-5 text-lg border rounded-md mt-5 font-semibold"),g(d,"class","btn mt-5")},m(b,m){I(b,e,m),l(e,t),l(t,o),l(e,i),l(e,s),l(s,c),l(e,p),l(e,d),l(d,a),n||(r=U(d,"click",u[4]),n=!0)},p(b,m){m&4&&H(c,b[2])},d(b){b&&_(e),n=!1,r()}}}function W(u){let e,t,o,i,s,c=(u[1].length>1?u[1]:"Enter Password")+"",p,d,a,n,r,b,m,S;return{c(){e=w("div"),t=w("h1"),o=y("Show Seed Phrase"),i=E(),s=w("p"),p=y(c),d=E(),a=w("input"),n=E(),r=w("button"),b=y("Unlock"),this.h()},l(f){e=v(f,"DIV",{});var h=k(e);t=v(h,"H1",{class:!0});var D=k(t);o=P(D,"Show Seed Phrase"),D.forEach(_),i=x(h),s=v(h,"P",{class:!0});var B=k(s);p=P(B,c),B.forEach(_),d=x(h),a=v(h,"INPUT",{type:!0,placeholder:!0,class:!0}),n=x(h),r=v(h,"BUTTON",{class:!0});var L=k(r);b=P(L,"Unlock"),L.forEach(_),h.forEach(_),this.h()},h(){g(t,"class","text-5xl text-left text-black dark:text-white"),g(s,"class","text-md mt-5 mb-3 dark:text-white dark:bg-gray-900"),R(s,"text-red-500",u[1].length>1),g(a,"type","password"),g(a,"placeholder","Enter Password"),g(a,"class","input input-bordered input-md w-full max-w-xs dark:bg-gray-700 dark:text-white"),g(r,"class","btn mt-5")},m(f,h){I(f,e,h),l(e,t),l(t,o),l(e,i),l(e,s),l(s,p),l(e,d),l(e,a),T(a,u[0]),l(e,n),l(e,r),l(r,b),m||(S=[U(a,"input",u[6]),U(r,"click",u[5])],m=!0)},p(f,h){h&2&&c!==(c=(f[1].length>1?f[1]:"Enter Password")+"")&&H(p,c),h&2&&R(s,"text-red-500",f[1].length>1),h&1&&a.value!==f[0]&&T(a,f[0])},d(f){f&&_(e),m=!1,z(S)}}}function X(u){let e,t,o,i,s,c;t=new A({});function p(n,r){return n[3]?G:W}let d=p(u),a=d(u);return{c(){e=w("div"),N(t.$$.fragment),o=E(),i=w("br"),s=E(),a.c()},l(n){e=v(n,"DIV",{});var r=k(e);j(t.$$.fragment,r),o=x(r),i=v(r,"BR",{}),s=x(r),a.l(r),r.forEach(_)},m(n,r){I(n,e,r),q(t,e,null),l(e,o),l(e,i),l(e,s),a.m(e,null),c=!0},p(n,[r]){d===(d=p(n))&&a?a.p(n,r):(a.d(1),a=d(n),a&&(a.c(),a.m(e,null)))},i(n){c||(C(t.$$.fragment,n),c=!0)},o(n){K(t.$$.fragment,n),c=!1},d(n){n&&_(e),M(t),a.d()}}}function Y(u,e,t){let o="",i="",s="",c=!1;const p=()=>{F(s)},d=async()=>{o.length>=6?(t(3,c=J(o)),c?t(2,s=await Q.get()):t(1,i="Invalid password")):t(1,i="Invalid password")};function a(){o=this.value,t(0,o)}return[o,i,s,c,p,d,a]}class se extends O{constructor(e){super(),V(this,e,Y,X,$,{})}}export{se as component}; diff --git a/build/app/immutable/nodes/12.d000e9c3.js b/build/app/immutable/nodes/12.d000e9c3.js new file mode 100644 index 000000000..7b9eae478 --- /dev/null +++ b/build/app/immutable/nodes/12.d000e9c3.js @@ -0,0 +1 @@ +import{S as re,i as le,s as ae,k as x,y as oe,a as D,O as g,l as L,m as i,z as se,c as P,P as C,h as s,n as e,b as q,A as ne,D as r,g as ie,d as de,B as ue,q as O,r as A,K as j,u as te,L as Y,M as ee,N as fe}from"../chunks/index.89e71670.js";import{H as ce,a as he}from"../chunks/Header.cf7b0240.js";import{m as pe}from"../chunks/store.b194c171.js";const me=v=>{const t="mnemonic.txt",a=new Blob([v],{type:"text/plain"}),u=window.URL.createObjectURL(a),f=document.createElement("a");f.href=u,f.download=t,f.click(),window.URL.revokeObjectURL(u)};function _e(v){let t,a,u,f,p,h,l,c,_,b,E;return{c(){t=x("div"),a=x("h1"),u=O("Show Seed Phrase"),f=D(),p=x("div"),h=O(v[2]),l=D(),c=x("button"),_=O("Export mnemonic"),this.h()},l(m){t=L(m,"DIV",{class:!0});var o=i(t);a=L(o,"H1",{class:!0});var n=i(a);u=A(n,"Show Seed Phrase"),n.forEach(s),f=P(o),p=L(o,"DIV",{class:!0});var d=i(p);h=A(d,v[2]),d.forEach(s),l=P(o),c=L(o,"BUTTON",{class:!0});var B=i(c);_=A(B,"Export mnemonic"),B.forEach(s),o.forEach(s),this.h()},h(){e(a,"class","text-2xl text-center font-bold text-black dark:text-white"),e(p,"class","p-2 overflow-hidden text-sm border border-[#11D9C5] rounded-full my-5 mx-4 font-semibold"),e(c,"class","btn primary-button"),e(t,"class","mt-28")},m(m,o){q(m,t,o),r(t,a),r(a,u),r(t,f),r(t,p),r(p,h),r(t,l),r(t,c),r(c,_),b||(E=j(c,"click",v[4]),b=!0)},p(m,o){o&4&&te(h,m[2])},d(m){m&&s(t),b=!1,E()}}}function ve(v){let t,a,u,f,p,h,l,c,_,b,E,m,o,n,d,B,M,T,Z,S,R=(v[1].length>1?v[1]:"Enter Password")+"",F,H,y,N,I,V,$,K;return{c(){t=x("div"),a=g("svg"),u=g("path"),f=g("g"),p=g("path"),h=g("defs"),l=g("filter"),c=g("feFlood"),_=g("feColorMatrix"),b=g("feOffset"),E=g("feGaussianBlur"),m=g("feComposite"),o=g("feColorMatrix"),n=g("feBlend"),d=g("feBlend"),B=D(),M=x("h1"),T=O("Seed Phrase"),Z=D(),S=x("label"),F=O(R),H=D(),y=x("input"),N=D(),I=x("button"),V=O("Unlock"),this.h()},l(k){t=L(k,"DIV",{});var w=i(t);a=C(w,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0,class:!0});var G=i(a);u=C(G,"path",{d:!0}),i(u).forEach(s),f=C(G,"g",{filter:!0});var z=i(f);p=C(z,"path",{d:!0}),i(p).forEach(s),z.forEach(s),h=C(G,"defs",{});var J=i(h);l=C(J,"filter",{id:!0,x:!0,y:!0,width:!0,height:!0,filterUnits:!0,"color-interpolation-filters":!0});var U=i(l);c=C(U,"feFlood",{"flood-opacity":!0,result:!0}),i(c).forEach(s),_=C(U,"feColorMatrix",{in:!0,type:!0,values:!0,result:!0}),i(_).forEach(s),b=C(U,"feOffset",{dy:!0}),i(b).forEach(s),E=C(U,"feGaussianBlur",{stdDeviation:!0}),i(E).forEach(s),m=C(U,"feComposite",{in2:!0,operator:!0}),i(m).forEach(s),o=C(U,"feColorMatrix",{type:!0,values:!0}),i(o).forEach(s),n=C(U,"feBlend",{mode:!0,in2:!0,result:!0}),i(n).forEach(s),d=C(U,"feBlend",{mode:!0,in:!0,in2:!0,result:!0}),i(d).forEach(s),U.forEach(s),J.forEach(s),G.forEach(s),B=P(w),M=L(w,"H1",{class:!0});var Q=i(M);T=A(Q,"Seed Phrase"),Q.forEach(s),Z=P(w),S=L(w,"LABEL",{for:!0,class:!0});var W=i(S);F=A(W,R),W.forEach(s),H=P(w),y=L(w,"INPUT",{name:!0,type:!0,class:!0}),N=P(w),I=L(w,"BUTTON",{class:!0});var X=i(I);V=A(X,"Unlock"),X.forEach(s),w.forEach(s),this.h()},h(){e(u,"d","M44.8252 29.875L42.91 37.5427C45.0773 38.0819 51.7647 40.2877 52.8466 35.9462C53.974 31.4261 46.989 30.4177 44.8252 29.875ZM41.9472 41.4151L39.8359 49.8706C42.4374 50.5183 50.4692 53.0952 51.6561 48.3266C52.8991 43.3478 44.5521 42.0628 41.9472 41.4151Z"),e(p,"d","M53.466 7.04704C34.7099 2.37287 15.7226 13.7869 11.0484 32.5431C6.37079 51.2923 17.7848 70.2865 36.527 74.9642C55.2832 79.6383 74.2809 68.2278 78.9516 49.4716C83.6292 30.719 72.2152 11.7247 53.466 7.04704ZM60.437 36.0198C59.9293 39.43 58.0351 41.0791 55.5283 41.6603C58.977 43.453 60.7276 46.205 59.061 50.9771C56.9883 56.8978 52.0655 57.3984 45.5112 56.159L43.9216 62.5313L40.0843 61.5754L41.6493 55.2942C40.6255 55.0384 39.6042 54.7723 38.5857 54.4959L37.0137 60.8121L33.1798 59.8493L34.7694 53.4665C33.8696 53.2355 32.9592 52.9904 32.0314 52.7593L27.0281 51.5163L28.9398 47.1188C28.9398 47.1188 31.7688 47.8715 31.7303 47.8155C32.8192 48.0851 33.2989 47.3779 33.4879 46.9017L36.0053 36.8356L36.408 36.9372C36.2781 36.8848 36.1447 36.8415 36.0088 36.8076L37.8015 29.6196C37.847 28.8003 37.5704 27.7709 36.0123 27.3823C36.0753 27.3438 33.2218 26.689 33.2218 26.689L34.2407 22.5856L39.5416 23.909L39.5381 23.9265C40.3329 24.1261 41.1521 24.3152 41.9889 24.5042L43.561 18.195L47.4019 19.1508L45.8613 25.334C46.8907 25.5686 47.9306 25.8067 48.9389 26.0588L50.4725 19.9141L54.3133 20.8699L52.7413 27.1792C57.587 28.8563 61.1302 31.3632 60.437 36.0198Z"),e(f,"filter","url(#filter0_d_6870_4111)"),e(c,"flood-opacity","0"),e(c,"result","BackgroundImageFix"),e(_,"in","SourceAlpha"),e(_,"type","matrix"),e(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),e(_,"result","hardAlpha"),e(b,"dy","4"),e(E,"stdDeviation","5"),e(m,"in2","hardAlpha"),e(m,"operator","out"),e(o,"type","matrix"),e(o,"values","0 0 0 0 0.0666667 0 0 0 0 0.85098 0 0 0 0 0.772549 0 0 0 0.1 0"),e(n,"mode","normal"),e(n,"in2","BackgroundImageFix"),e(n,"result","effect1_dropShadow_6870_4111"),e(d,"mode","normal"),e(d,"in","SourceGraphic"),e(d,"in2","effect1_dropShadow_6870_4111"),e(d,"result","shape"),e(l,"id","filter0_d_6870_4111"),e(l,"x","0"),e(l,"y","0"),e(l,"width","90"),e(l,"height","90.0117"),e(l,"filterUnits","userSpaceOnUse"),e(l,"color-interpolation-filters","sRGB"),e(a,"width","90"),e(a,"height","91"),e(a,"viewBox","0 0 90 91"),e(a,"fill","none"),e(a,"xmlns","http://www.w3.org/2000/svg"),e(a,"class","block mx-auto my-8 fill-[#263238] dark:fill-[#11D9C5] drop-shadow-lg dark:drop-shadow-none"),e(M,"class","text-2xl text-center font-bold text-black dark:text-white"),e(S,"for","password"),e(S,"class","text-md my-6 block dark:text-white"),Y(S,"text-red-500",v[1].length>1),e(y,"name","password"),e(y,"type","password"),e(y,"class","bg-transparent border-b border-b-black dark:border-b-[#11D9C5] outline-none rounded-none w-full text-black dark:text-white"),e(I,"class","btn primary-button mt-8")},m(k,w){q(k,t,w),r(t,a),r(a,u),r(a,f),r(f,p),r(a,h),r(h,l),r(l,c),r(l,_),r(l,b),r(l,E),r(l,m),r(l,o),r(l,n),r(l,d),r(t,B),r(t,M),r(M,T),r(t,Z),r(t,S),r(S,F),r(t,H),r(t,y),ee(y,v[0]),r(t,N),r(t,I),r(I,V),$||(K=[j(y,"input",v[6]),j(I,"click",v[5])],$=!0)},p(k,w){w&2&&R!==(R=(k[1].length>1?k[1]:"Enter Password")+"")&&te(F,R),w&2&&Y(S,"text-red-500",k[1].length>1),w&1&&y.value!==k[0]&&ee(y,k[0])},d(k){k&&s(t),$=!1,fe(K)}}}function we(v){let t,a,u,f,p,h,l,c,_,b;a=new ce({});function E(n,d){return n[3]?_e:ve}let m=E(v),o=m(v);return{c(){t=x("div"),oe(a.$$.fragment),u=D(),f=x("br"),p=D(),h=x("a"),l=g("svg"),c=g("path"),_=D(),o.c(),this.h()},l(n){t=L(n,"DIV",{});var d=i(t);se(a.$$.fragment,d),u=P(d),f=L(d,"BR",{}),p=P(d),h=L(d,"A",{href:!0});var B=i(h);l=C(B,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0,class:!0});var M=i(l);c=C(M,"path",{d:!0}),i(c).forEach(s),M.forEach(s),B.forEach(s),_=P(d),o.l(d),d.forEach(s),this.h()},h(){e(c,"d","M16.6185 2.99028C16.5024 2.87387 16.3645 2.78152 16.2126 2.7185C16.0608 2.65548 15.898 2.62305 15.7335 2.62305C15.5691 2.62305 15.4063 2.65548 15.2545 2.7185C15.1026 2.78152 14.9647 2.87387 14.8485 2.99028L6.53854 11.3003C6.44583 11.3928 6.37229 11.5027 6.32211 11.6237C6.27192 11.7446 6.24609 11.8743 6.24609 12.0053C6.24609 12.1362 6.27192 12.2659 6.32211 12.3869C6.37229 12.5079 6.44583 12.6178 6.53854 12.7103L14.8485 21.0203C15.3385 21.5103 16.1285 21.5103 16.6185 21.0203C17.1085 20.5303 17.1085 19.7403 16.6185 19.2503L9.37854 12.0003L16.6285 4.75028C17.1085 4.27028 17.1085 3.47028 16.6185 2.99028Z"),e(l,"width","24"),e(l,"height","24"),e(l,"viewBox","0 0 24 24"),e(l,"fill","none"),e(l,"xmlns","http://www.w3.org/2000/svg"),e(l,"class","fill-[#263238] dark:fill-[#11D9C5]"),e(h,"href","/settings")},m(n,d){q(n,t,d),ne(a,t,null),r(t,u),r(t,f),r(t,p),r(t,h),r(h,l),r(l,c),r(t,_),o.m(t,null),b=!0},p(n,[d]){m===(m=E(n))&&o?o.p(n,d):(o.d(1),o=m(n),o&&(o.c(),o.m(t,null)))},i(n){b||(ie(a.$$.fragment,n),b=!0)},o(n){de(a.$$.fragment,n),b=!1},d(n){n&&s(t),ue(a),o.d()}}}function ge(v,t,a){let u="",f="",p="",h=!1;const l=()=>{me(p)},c=async()=>{u.length>=6?(a(3,h=he(u)),h?a(2,p=await pe.get()):a(1,f="Invalid password")):a(1,f="Invalid password")};function _(){u=this.value,a(0,u)}return[u,f,p,h,l,c,_]}class Le extends re{constructor(t){super(),le(this,t,ge,we,ae,{})}}export{Le as component}; diff --git a/build/app/immutable/nodes/12.e61ea9bd.js b/build/app/immutable/nodes/12.e61ea9bd.js deleted file mode 100644 index 8a2a26d36..000000000 --- a/build/app/immutable/nodes/12.e61ea9bd.js +++ /dev/null @@ -1 +0,0 @@ -import{S as A,i as L,s as V,k as p,l as m,m as b,h as r,n as f,b as v,H as I,o as q,q as x,a as C,r as y,c as H,D as h,Q as S,J as T,L as B}from"../chunks/index.f3b06f47.js";import{a as N}from"../chunks/secondAuth.f9ee4b2a.js";function W(k){let e,n,s,a,l,o,i,d,c,_,E;return{c(){e=p("div"),n=p("h3"),s=x("Congratulations!"),a=C(),l=p("p"),o=x("Click below to go to home page"),i=C(),d=p("div"),c=p("label"),_=p("a"),E=x("Home"),this.h()},l(w){e=m(w,"DIV",{class:!0});var t=b(e);n=m(t,"H3",{class:!0});var u=b(n);s=y(u,"Congratulations!"),u.forEach(r),a=H(t),l=m(t,"P",{class:!0});var g=b(l);o=y(g,"Click below to go to home page"),g.forEach(r),i=H(t),d=m(t,"DIV",{class:!0});var P=b(d);c=m(P,"LABEL",{for:!0,class:!0});var U=b(c);_=m(U,"A",{href:!0});var D=b(_);E=y(D,"Home"),D.forEach(r),U.forEach(r),P.forEach(r),t.forEach(r),this.h()},h(){f(n,"class","font-bold text-lg"),f(l,"class","py-4"),f(_,"href","/"),f(c,"for","my-modal"),f(c,"class","btn"),f(d,"class","modal-action"),f(e,"class","modal-box dark:text-white dark:bg-gray-800")},m(w,t){v(w,e,t),h(e,n),h(n,s),h(e,a),h(e,l),h(l,o),h(e,i),h(e,d),h(d,c),h(c,_),h(_,E)},p:I,d(w){w&&r(e)}}}function $(k){let e,n,s,a,l,o,i,d,c,_,E,w;return{c(){e=p("h1"),n=x("Wallet is locked!"),s=C(),a=p("p"),l=x("Enter Password"),o=C(),i=p("input"),d=C(),c=p("button"),_=x("Unlock"),this.h()},l(t){e=m(t,"H1",{class:!0});var u=b(e);n=y(u,"Wallet is locked!"),u.forEach(r),s=H(t),a=m(t,"P",{class:!0});var g=b(a);l=y(g,"Enter Password"),g.forEach(r),o=H(t),i=m(t,"INPUT",{type:!0,placeholder:!0,class:!0}),d=H(t),c=m(t,"BUTTON",{class:!0});var P=b(c);_=y(P,"Unlock"),P.forEach(r),this.h()},h(){f(e,"class","text-5xl text-left text-black dark:text-white"),f(a,"class","text-md mt-5 mb-3 dark:text-white dark:bg-gray-900"),f(i,"type","password"),f(i,"placeholder","Enter Password"),f(i,"class","input input-bordered input-md w-full max-w-xs dark:bg-gray-700 dark:text-white"),f(c,"class","btn mt-5")},m(t,u){v(t,e,u),h(e,n),v(t,s,u),v(t,a,u),h(a,l),v(t,o,u),v(t,i,u),S(i,k[0]),v(t,d,u),v(t,c,u),h(c,_),E||(w=[T(i,"input",k[3]),T(c,"click",k[2])],E=!0)},p(t,u){u&1&&i.value!==t[0]&&S(i,t[0])},d(t){t&&r(e),t&&r(s),t&&r(a),t&&r(o),t&&r(i),t&&r(d),t&&r(c),E=!1,B(w)}}}function j(k){let e;function n(l,o){return l[1]==!1?$:W}let s=n(k),a=s(k);return{c(){e=p("div"),a.c(),this.h()},l(l){e=m(l,"DIV",{class:!0});var o=b(e);a.l(o),o.forEach(r),this.h()},h(){f(e,"class","bg-white dark:text-white dark:bg-gray-900")},m(l,o){v(l,e,o),a.m(e,null)},p(l,[o]){s===(s=n(l))&&a?a.p(l,o):(a.d(1),a=s(l),a&&(a.c(),a.m(e,null)))},i:I,o:I,d(l){l&&r(e),a.d()}}}function J(k,e,n){let s="",a=!1;function l(){return N(s)}const o=()=>{s.length>=6&&l()&&n(1,a=!0)};q(()=>{localStorage.removeItem("jwtToken")});function i(){s=this.value,n(0,s)}return[s,a,o,i]}class Q extends A{constructor(e){super(),L(this,e,J,j,V,{})}}export{Q as component}; diff --git a/build/app/immutable/nodes/13.29e752ec.js b/build/app/immutable/nodes/13.29e752ec.js new file mode 100644 index 000000000..1e2071023 --- /dev/null +++ b/build/app/immutable/nodes/13.29e752ec.js @@ -0,0 +1,3 @@ +import{S as _e,i as ve,s as xe,k,y as we,a as V,O as s,q as z,l as y,m as l,z as ge,c as $,P as i,h as r,r as K,n as e,b as R,A as Ee,D as t,g as ke,d as ye,B as Be,o as be,H as Me,M as Ce,K as me,N as Le}from"../chunks/index.89e71670.js";import{H as Se,a as De}from"../chunks/Header.cf7b0240.js";function Fe(J){let a,C,v,B,I,u,p,b,m,f,c,x,_,S,n,w,g,M,P,o,h,O,E,d,D,G;return{c(){a=k("div"),C=k("div"),v=k("h3"),B=z("Congratulations!"),I=V(),u=s("svg"),p=s("g"),b=s("path"),m=s("defs"),f=s("filter"),c=s("feFlood"),x=s("feColorMatrix"),_=s("feOffset"),S=s("feGaussianBlur"),n=s("feComposite"),w=s("feColorMatrix"),g=s("feBlend"),M=s("feBlend"),P=V(),o=k("p"),h=z("Click below to go to home page"),O=V(),E=k("div"),d=k("a"),D=k("button"),G=z("Go to homepage"),this.h()},l(N){a=y(N,"DIV",{class:!0});var U=l(a);C=y(U,"DIV",{class:!0});var T=l(C);v=y(T,"H3",{class:!0});var Q=l(v);B=K(Q,"Congratulations!"),Q.forEach(r),I=$(T),u=i(T,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0,class:!0});var Z=l(u);p=i(Z,"g",{filter:!0});var H=l(p);b=i(H,"path",{d:!0}),l(b).forEach(r),H.forEach(r),m=i(Z,"defs",{});var ee=l(m);f=i(ee,"filter",{id:!0,x:!0,y:!0,width:!0,height:!0,filterUnits:!0,"color-interpolation-filters":!0});var F=l(f);c=i(F,"feFlood",{"flood-opacity":!0,result:!0}),l(c).forEach(r),x=i(F,"feColorMatrix",{in:!0,type:!0,values:!0,result:!0}),l(x).forEach(r),_=i(F,"feOffset",{dy:!0}),l(_).forEach(r),S=i(F,"feGaussianBlur",{stdDeviation:!0}),l(S).forEach(r),n=i(F,"feComposite",{in2:!0,operator:!0}),l(n).forEach(r),w=i(F,"feColorMatrix",{type:!0,values:!0}),l(w).forEach(r),g=i(F,"feBlend",{mode:!0,in2:!0,result:!0}),l(g).forEach(r),M=i(F,"feBlend",{mode:!0,in:!0,in2:!0,result:!0}),l(M).forEach(r),F.forEach(r),ee.forEach(r),Z.forEach(r),T.forEach(r),P=$(U),o=y(U,"P",{class:!0});var te=l(o);h=K(te,"Click below to go to home page"),te.forEach(r),O=$(U),E=y(U,"DIV",{class:!0});var q=l(E);d=y(q,"A",{href:!0,class:!0});var re=l(d);D=y(re,"BUTTON",{class:!0});var W=l(D);G=K(W,"Go to homepage"),W.forEach(r),re.forEach(r),q.forEach(r),U.forEach(r),this.h()},h(){e(v,"class","font-bold text-lg"),e(b,"d","M12.6253 46.6667L20.4898 24.7917C20.6635 24.3403 20.9329 23.9931 21.2982 23.75C21.6635 23.5069 22.0537 23.3854 22.469 23.3854C22.7468 23.3854 23.0072 23.4375 23.2503 23.5417C23.4933 23.6458 23.719 23.8021 23.9273 24.0104L37.9898 38.0729C38.1982 38.2812 38.3544 38.5069 38.4586 38.75C38.5628 38.9931 38.6148 39.2535 38.6148 39.5312C38.6148 39.9479 38.4933 40.3389 38.2503 40.7042C38.0072 41.0694 37.66 41.3382 37.2086 41.5104L15.3336 49.375C14.9169 49.5486 14.5176 49.575 14.1357 49.4542C13.7537 49.3333 13.4239 49.1333 13.1461 48.8542C12.8683 48.5764 12.6683 48.2465 12.5461 47.8646C12.4239 47.4826 12.4503 47.0833 12.6253 46.6667ZM54.969 19.6354C54.6565 19.9479 54.2919 20.1042 53.8753 20.1042C53.4586 20.1042 53.094 19.9479 52.7815 19.6354L52.6253 19.4792C52.1391 18.9931 51.5315 18.75 50.8023 18.75C50.0732 18.75 49.4655 18.9931 48.9794 19.4792L38.4065 30.0521C38.094 30.3646 37.7294 30.5208 37.3128 30.5208C36.8961 30.5208 36.5315 30.3646 36.219 30.0521C35.9065 29.7396 35.7503 29.375 35.7503 28.9583C35.7503 28.5417 35.9065 28.1771 36.219 27.8646L46.7919 17.2917C47.903 16.1806 49.2398 15.625 50.8023 15.625C52.3648 15.625 53.7016 16.1806 54.8128 17.2917L54.969 17.4479C55.2815 17.7604 55.4378 18.125 55.4378 18.5417C55.4378 18.9583 55.2815 19.3229 54.969 19.6354ZM27.7815 13.3854C28.094 13.0729 28.4586 12.9167 28.8753 12.9167C29.2919 12.9167 29.6565 13.0729 29.969 13.3854L30.2294 13.6458C31.3405 14.7569 31.8961 16.0764 31.8961 17.6042C31.8961 19.1319 31.3405 20.4514 30.2294 21.5625L30.0732 21.7187C29.7607 22.0312 29.3961 22.1875 28.9794 22.1875C28.5628 22.1875 28.1982 22.0312 27.8857 21.7187C27.5732 21.4062 27.4169 21.0417 27.4169 20.625C27.4169 20.2083 27.5732 19.8438 27.8857 19.5312L28.0419 19.375C28.528 18.8889 28.7711 18.2986 28.7711 17.6042C28.7711 16.9097 28.528 16.3194 28.0419 15.8333L27.7815 15.5729C27.469 15.2604 27.3128 14.8958 27.3128 14.4792C27.3128 14.0625 27.469 13.6979 27.7815 13.3854ZM36.219 9.21875C36.5315 8.90625 36.8961 8.75 37.3128 8.75C37.7294 8.75 38.094 8.90625 38.4065 9.21875L40.6461 11.4583C41.7572 12.5694 42.3128 13.9062 42.3128 15.4688C42.3128 17.0312 41.7572 18.3681 40.6461 19.4792L34.2398 25.8854C33.9273 26.1979 33.5628 26.3542 33.1461 26.3542C32.7294 26.3542 32.3648 26.1979 32.0523 25.8854C31.7398 25.5729 31.5836 25.2083 31.5836 24.7917C31.5836 24.375 31.7398 24.0104 32.0523 23.6979L38.4586 17.2917C38.9447 16.8056 39.1878 16.1979 39.1878 15.4688C39.1878 14.7396 38.9447 14.1319 38.4586 13.6458L36.219 11.4062C35.9065 11.0938 35.7503 10.7292 35.7503 10.3125C35.7503 9.89583 35.9065 9.53125 36.219 9.21875ZM52.8857 34.2187C52.5732 34.5312 52.2086 34.6875 51.7919 34.6875C51.3753 34.6875 51.0107 34.5312 50.6982 34.2187L48.4586 31.9792C47.9725 31.4931 47.3648 31.25 46.6357 31.25C45.9065 31.25 45.2989 31.4931 44.8128 31.9792L42.5732 34.2187C42.2607 34.5312 41.8961 34.6875 41.4794 34.6875C41.0628 34.6875 40.6982 34.5312 40.3857 34.2187C40.0732 33.9062 39.9169 33.5417 39.9169 33.125C39.9169 32.7083 40.0732 32.3438 40.3857 32.0312L42.6253 29.7917C43.7364 28.6806 45.0732 28.125 46.6357 28.125C48.1982 28.125 49.535 28.6806 50.6461 29.7917L52.8857 32.0312C53.1982 32.3438 53.3544 32.7083 53.3544 33.125C53.3544 33.5417 53.1982 33.9062 52.8857 34.2187Z"),e(p,"filter","url(#filter0_d_6892_6947)"),e(c,"flood-opacity","0"),e(c,"result","BackgroundImageFix"),e(x,"in","SourceAlpha"),e(x,"type","matrix"),e(x,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),e(x,"result","hardAlpha"),e(_,"dy","4"),e(S,"stdDeviation","6"),e(n,"in2","hardAlpha"),e(n,"operator","out"),e(w,"type","matrix"),e(w,"values","0 0 0 0 0.0666667 0 0 0 0 0.85098 0 0 0 0 0.772549 0 0 0 0.2 0"),e(g,"mode","normal"),e(g,"in2","BackgroundImageFix"),e(g,"result","effect1_dropShadow_6892_6947"),e(M,"mode","normal"),e(M,"in","SourceGraphic"),e(M,"in2","effect1_dropShadow_6892_6947"),e(M,"result","shape"),e(f,"id","filter0_d_6892_6947"),e(f,"x","0.470703"),e(f,"y","0.75"),e(f,"width","66.9668"),e(f,"height","64.7773"),e(f,"filterUnits","userSpaceOnUse"),e(f,"color-interpolation-filters","sRGB"),e(u,"width","68"),e(u,"height","66"),e(u,"viewBox","0 0 68 66"),e(u,"fill","none"),e(u,"xmlns","http://www.w3.org/2000/svg"),e(u,"class","fill-[#263238] dark:fill-[#11D9C5]"),e(C,"class","flex gap-4 justify-center items-center"),e(o,"class","py-4"),e(D,"class","btn primary-button"),e(d,"href","/"),e(d,"class","w-full"),e(E,"class","modal-action"),e(a,"class","modal-box dark:text-white bg-white dark:bg-[#222944] shadow-md dark:shadow-none")},m(N,U){R(N,a,U),t(a,C),t(C,v),t(v,B),t(C,I),t(C,u),t(u,p),t(p,b),t(u,m),t(m,f),t(f,c),t(f,x),t(f,_),t(f,S),t(f,n),t(f,w),t(f,g),t(f,M),t(a,P),t(a,o),t(o,h),t(a,O),t(a,E),t(E,d),t(d,D),t(D,G)},p:Me,d(N){N&&r(a)}}}function Ge(J){let a,C,v,B,I,u,p,b,m,f,c,x,_,S,n,w,g,M,P;return{c(){a=k("h1"),C=z("Set unlock password"),v=V(),B=k("p"),I=z("This password will be used to unlock your wallet"),u=V(),p=k("div"),b=k("label"),m=z("Password"),f=V(),c=k("input"),x=V(),_=k("button"),S=z("Unlock"),n=V(),w=k("span"),g=z("Forgot password?"),this.h()},l(o){a=y(o,"H1",{class:!0});var h=l(a);C=K(h,"Set unlock password"),h.forEach(r),v=$(o),B=y(o,"P",{class:!0});var O=l(B);I=K(O,"This password will be used to unlock your wallet"),O.forEach(r),u=$(o),p=y(o,"DIV",{class:!0});var E=l(p);b=y(E,"LABEL",{for:!0});var d=l(b);m=K(d,"Password"),d.forEach(r),f=$(E),c=y(E,"INPUT",{name:!0,type:!0,class:!0}),E.forEach(r),x=$(o),_=y(o,"BUTTON",{class:!0});var D=l(_);S=K(D,"Unlock"),D.forEach(r),n=$(o),w=y(o,"SPAN",{class:!0});var G=l(w);g=K(G,"Forgot password?"),G.forEach(r),this.h()},h(){e(a,"class","text-2xl text-center font-bold text-black dark:text-white"),e(B,"class","text-xs mt-2 mb-3 dark:text-white"),e(b,"for","password"),e(c,"name","password"),e(c,"type","password"),e(c,"class","bg-transparent border-b border-b-black dark:border-b-[#11D9C5] outline-none rounded-none w-full text-black dark:text-white"),e(p,"class","my-8"),e(_,"class","btn primary-button"),e(w,"class","text-xs text-[#263238] dark:text-[#11D9C5] block text-center my-2")},m(o,h){R(o,a,h),t(a,C),R(o,v,h),R(o,B,h),t(B,I),R(o,u,h),R(o,p,h),t(p,b),t(b,m),t(p,f),t(p,c),Ce(c,J[0]),R(o,x,h),R(o,_,h),t(_,S),R(o,n,h),R(o,w,h),t(w,g),M||(P=[me(c,"input",J[3]),me(_,"click",J[2])],M=!0)},p(o,h){h&1&&c.value!==o[0]&&Ce(c,o[0])},d(o){o&&r(a),o&&r(v),o&&r(B),o&&r(u),o&&r(p),o&&r(x),o&&r(_),o&&r(n),o&&r(w),M=!1,Le(P)}}}function Ae(J){let a,C,v,B,I,u,p,b,m,f,c,x,_,S,n,w,g,M,P,o,h,O,E,d,D,G,N,U,T,Q,Z,H,ee,F,te,q,re,W,se,le;C=new Se({});function ne(A,L){return A[1]==!1?Ge:Fe}let oe=ne(J),j=oe(J);return{c(){a=k("div"),we(C.$$.fragment),v=V(),B=k("br"),I=V(),u=s("svg"),p=s("path"),b=V(),m=s("svg"),f=s("g"),c=s("path"),x=s("g"),_=s("path"),S=s("defs"),n=s("filter"),w=s("feFlood"),g=s("feColorMatrix"),M=s("feOffset"),P=s("feGaussianBlur"),o=s("feComposite"),h=s("feColorMatrix"),O=s("feBlend"),E=s("feBlend"),d=s("filter"),D=s("feFlood"),G=s("feColorMatrix"),N=s("feOffset"),U=s("feGaussianBlur"),T=s("feComposite"),Q=s("feColorMatrix"),Z=s("feBlend"),H=s("feBlend"),ee=V(),F=k("div"),j.c(),te=V(),q=k("span"),re=z(`Need help?\r + `),W=k("small"),se=z("Contact netsepio support"),this.h()},l(A){a=y(A,"DIV",{class:!0});var L=l(a);ge(C.$$.fragment,L),v=$(L),B=y(L,"BR",{}),I=$(L),u=i(L,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0,class:!0});var fe=l(u);p=i(fe,"path",{d:!0}),l(p).forEach(r),fe.forEach(r),b=$(L),m=i(L,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0,class:!0});var ae=l(m);f=i(ae,"g",{filter:!0});var de=l(f);c=i(de,"path",{d:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0,"shape-rendering":!0}),l(c).forEach(r),de.forEach(r),x=i(ae,"g",{filter:!0,class:!0});var ce=l(x);_=i(ce,"path",{"fill-rule":!0,"clip-rule":!0,d:!0}),l(_).forEach(r),ce.forEach(r),S=i(ae,"defs",{});var ie=l(S);n=i(ie,"filter",{id:!0,x:!0,y:!0,width:!0,height:!0,filterUnits:!0,"color-interpolation-filters":!0});var X=l(n);w=i(X,"feFlood",{"flood-opacity":!0,result:!0}),l(w).forEach(r),g=i(X,"feColorMatrix",{in:!0,type:!0,values:!0,result:!0}),l(g).forEach(r),M=i(X,"feOffset",{dy:!0}),l(M).forEach(r),P=i(X,"feGaussianBlur",{stdDeviation:!0}),l(P).forEach(r),o=i(X,"feComposite",{in2:!0,operator:!0}),l(o).forEach(r),h=i(X,"feColorMatrix",{type:!0,values:!0}),l(h).forEach(r),O=i(X,"feBlend",{mode:!0,in2:!0,result:!0}),l(O).forEach(r),E=i(X,"feBlend",{mode:!0,in:!0,in2:!0,result:!0}),l(E).forEach(r),X.forEach(r),d=i(ie,"filter",{id:!0,x:!0,y:!0,width:!0,height:!0,filterUnits:!0,"color-interpolation-filters":!0});var Y=l(d);D=i(Y,"feFlood",{"flood-opacity":!0,result:!0}),l(D).forEach(r),G=i(Y,"feColorMatrix",{in:!0,type:!0,values:!0,result:!0}),l(G).forEach(r),N=i(Y,"feOffset",{dy:!0}),l(N).forEach(r),U=i(Y,"feGaussianBlur",{stdDeviation:!0}),l(U).forEach(r),T=i(Y,"feComposite",{in2:!0,operator:!0}),l(T).forEach(r),Q=i(Y,"feColorMatrix",{type:!0,values:!0}),l(Q).forEach(r),Z=i(Y,"feBlend",{mode:!0,in2:!0,result:!0}),l(Z).forEach(r),H=i(Y,"feBlend",{mode:!0,in:!0,in2:!0,result:!0}),l(H).forEach(r),Y.forEach(r),ie.forEach(r),ae.forEach(r),ee=$(L),F=y(L,"DIV",{});var he=l(F);j.l(he),he.forEach(r),te=$(L),q=y(L,"SPAN",{class:!0});var ue=l(q);re=K(ue,`Need help?\r + `),W=y(ue,"SMALL",{class:!0});var pe=l(W);se=K(pe,"Contact netsepio support"),pe.forEach(r),ue.forEach(r),L.forEach(r),this.h()},h(){e(p,"d","M16.6185 2.99028C16.5024 2.87387 16.3645 2.78152 16.2126 2.7185C16.0608 2.65548 15.898 2.62305 15.7335 2.62305C15.5691 2.62305 15.4063 2.65548 15.2545 2.7185C15.1026 2.78152 14.9647 2.87387 14.8485 2.99028L6.53854 11.3003C6.44583 11.3928 6.37229 11.5027 6.32211 11.6237C6.27192 11.7446 6.24609 11.8743 6.24609 12.0053C6.24609 12.1362 6.27192 12.2659 6.32211 12.3869C6.37229 12.5079 6.44583 12.6178 6.53854 12.7103L14.8485 21.0203C15.3385 21.5103 16.1285 21.5103 16.6185 21.0203C17.1085 20.5303 17.1085 19.7403 16.6185 19.2503L9.37854 12.0003L16.6285 4.75028C17.1085 4.27028 17.1085 3.47028 16.6185 2.99028Z"),e(u,"width","24"),e(u,"height","24"),e(u,"viewBox","0 0 24 24"),e(u,"fill","none"),e(u,"xmlns","http://www.w3.org/2000/svg"),e(u,"class","fill-[#263238] dark:fill-[#11D9C5]"),e(c,"d","M53.6719 17.6333C51.8652 14.1467 48.3519 11 42.0052 11C31.3385 11 28.6719 19.89 28.6719 24.3333V34.3333"),e(c,"stroke-width","5"),e(c,"stroke-linecap","round"),e(c,"stroke-linejoin","round"),e(c,"shape-rendering","crispEdges"),e(f,"filter","url(#filter0_d_6910_1689)"),e(_,"fill-rule","evenodd"),e(_,"clip-rule","evenodd"),e(_,"d","M12 41C12 38.3478 13.0536 35.8043 14.9289 33.9289C16.8043 32.0536 19.3478 31 22 31H62C64.6522 31 67.1957 32.0536 69.0711 33.9289C70.9464 35.8043 72 38.3478 72 41V64.3333C72 66.9855 70.9464 69.529 69.0711 71.4044C67.1957 73.2798 64.6522 74.3333 62 74.3333H22C19.3478 74.3333 16.8043 73.2798 14.9289 71.4044C13.0536 69.529 12 66.9855 12 64.3333V41ZM45.3333 47.6667C45.3333 46.7826 44.9821 45.9348 44.357 45.3096C43.7319 44.6845 42.8841 44.3333 42 44.3333C41.1159 44.3333 40.2681 44.6845 39.643 45.3096C39.0179 45.9348 38.6667 46.7826 38.6667 47.6667V57.6667C38.6667 58.5507 39.0179 59.3986 39.643 60.0237C40.2681 60.6488 41.1159 61 42 61C42.8841 61 43.7319 60.6488 44.357 60.0237C44.9821 59.3986 45.3333 58.5507 45.3333 57.6667V47.6667Z"),e(x,"filter","url(#filter1_d_6910_1689)"),e(x,"class","fill-[#263238] dark:fill-[#11D9C5]"),e(w,"flood-opacity","0"),e(w,"result","BackgroundImageFix"),e(g,"in","SourceAlpha"),e(g,"type","matrix"),e(g,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),e(g,"result","hardAlpha"),e(M,"dy","4"),e(P,"stdDeviation","6"),e(o,"in2","hardAlpha"),e(o,"operator","out"),e(h,"type","matrix"),e(h,"values","0 0 0 0 0.14902 0 0 0 0 0.196078 0 0 0 0 0.219608 0 0 0 0.4 0"),e(O,"mode","normal"),e(O,"in2","BackgroundImageFix"),e(O,"result","effect1_dropShadow_6910_1689"),e(E,"mode","normal"),e(E,"in","SourceGraphic"),e(E,"in2","effect1_dropShadow_6910_1689"),e(E,"result","shape"),e(n,"id","filter0_d_6910_1689"),e(n,"x","14.1719"),e(n,"y","0.5"),e(n,"width","54"),e(n,"height","52.334"),e(n,"filterUnits","userSpaceOnUse"),e(n,"color-interpolation-filters","sRGB"),e(D,"flood-opacity","0"),e(D,"result","BackgroundImageFix"),e(G,"in","SourceAlpha"),e(G,"type","matrix"),e(G,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),e(G,"result","hardAlpha"),e(N,"dy","4"),e(U,"stdDeviation","6"),e(T,"in2","hardAlpha"),e(T,"operator","out"),e(Q,"type","matrix"),e(Q,"values","0 0 0 0 0.14902 0 0 0 0 0.196078 0 0 0 0 0.219608 0 0 0 0.4 0"),e(Z,"mode","normal"),e(Z,"in2","BackgroundImageFix"),e(Z,"result","effect1_dropShadow_6910_1689"),e(H,"mode","normal"),e(H,"in","SourceGraphic"),e(H,"in2","effect1_dropShadow_6910_1689"),e(H,"result","shape"),e(d,"id","filter1_d_6910_1689"),e(d,"x","0"),e(d,"y","23"),e(d,"width","84"),e(d,"height","67.334"),e(d,"filterUnits","userSpaceOnUse"),e(d,"color-interpolation-filters","sRGB"),e(m,"width","84"),e(m,"height","91"),e(m,"viewBox","0 0 84 91"),e(m,"fill","none"),e(m,"xmlns","http://www.w3.org/2000/svg"),e(m,"class","block mx-auto my-4 stroke-[#263238] dark:stroke-[#11D9C5] drop-shadow-md dark:drop-shadow-none"),e(W,"class","text-xs text-[#263238] dark:text-[#11D9C5] align-bottom"),e(q,"class","text-xs block text-center mt-32"),e(a,"class","h-[600px]")},m(A,L){R(A,a,L),Ee(C,a,null),t(a,v),t(a,B),t(a,I),t(a,u),t(u,p),t(a,b),t(a,m),t(m,f),t(f,c),t(m,x),t(x,_),t(m,S),t(S,n),t(n,w),t(n,g),t(n,M),t(n,P),t(n,o),t(n,h),t(n,O),t(n,E),t(S,d),t(d,D),t(d,G),t(d,N),t(d,U),t(d,T),t(d,Q),t(d,Z),t(d,H),t(a,ee),t(a,F),j.m(F,null),t(a,te),t(a,q),t(q,re),t(q,W),t(W,se),le=!0},p(A,[L]){oe===(oe=ne(A))&&j?j.p(A,L):(j.d(1),j=oe(A),j&&(j.c(),j.m(F,null)))},i(A){le||(ke(C.$$.fragment,A),le=!0)},o(A){ye(C.$$.fragment,A),le=!1},d(A){A&&r(a),Be(C),j.d()}}}function Oe(J,a,C){let v="",B=!1;function I(){return De(v)}const u=()=>{v.length>=6&&I()&&C(1,B=!0)};be(()=>{localStorage.removeItem("jwtToken")});function p(){v=this.value,C(0,v)}return[v,B,u,p]}class Ve extends _e{constructor(a){super(),ve(this,a,Oe,Ae,xe,{})}}export{Ve as component}; diff --git a/build/app/immutable/nodes/14.64b23fc3.js b/build/app/immutable/nodes/14.64b23fc3.js deleted file mode 100644 index 4da19c7b3..000000000 --- a/build/app/immutable/nodes/14.64b23fc3.js +++ /dev/null @@ -1,9 +0,0 @@ -import{S as he,i as _e,s as pe,k as f,a as D,q as U,l as h,m as g,h as c,c as A,r as S,n as i,K as oe,U as xe,b as L,D as r,J as ee,v as ye,d as F,f as we,g as Q,u as ne,L as Ee,o as ve,y as te,z as le,A as re,H as K,B as ae,V as Qe,Q as He}from"../chunks/index.f3b06f47.js";import{c as Le,a as Me}from"../chunks/secondAuth.f9ee4b2a.js";import{g as Fe,I as Ge,a as je}from"../chunks/qrCode.9ed71917.js";import{w as $e}from"../chunks/store.26750aee.js";import{P as qe,N as Ye,A as Je,a as Ke,C as Xe}from"../chunks/index.ec3c65db.js";import{b as Ze,c as et}from"../chunks/public.02ab71de.js";import{L as tt}from"../chunks/Loader.d36557e7.js";import{L as lt}from"../chunks/Logout.35258e20.js";import{H as rt}from"../chunks/Header.b7ab37a3.js";function at(d){let e,l;return e=new Ge({props:{src:je,color:"#11D9C5"}}),{c(){te(e.$$.fragment)},l(t){le(e.$$.fragment,t)},m(t,a){re(e,t,a),l=!0},p:K,i(t){l||(Q(e.$$.fragment,t),l=!0)},o(t){F(e.$$.fragment,t),l=!1},d(t){ae(e,t)}}}function st(d){let e;return{c(){e=U("COPIED")},l(l){e=S(l,"COPIED")},m(l,t){L(l,e,t)},p:K,i:K,o:K,d(l){l&&c(e)}}}function nt(d){let e,l;return{c(){e=f("p"),l=U("Generating QR code...")},l(t){e=h(t,"P",{});var a=g(e);l=S(a,"Generating QR code..."),a.forEach(c)},m(t,a){L(t,e,a),r(e,l)},p:K,d(t){t&&c(e)}}}function ot(d){let e,l;return{c(){e=f("img"),this.h()},l(t){e=h(t,"IMG",{src:!0,alt:!0,class:!0}),this.h()},h(){xe(e.src,l=d[3])||i(e,"src",l),i(e,"alt","QR Code"),i(e,"class","w-full")},m(t,a){L(t,e,a)},p(t,a){a&8&&!xe(e.src,l=t[3])&&i(e,"src",l)},d(t){t&&c(e)}}}function ct(d){let e,l,t,a,p,s,o,n,u,b,$,P,N,B,m,_,C,v,y,T,E,w=d[1].substring(0,25)+"...",k,x,V,I,H,O,z,q,G,se=d[0].substring(0,5)+"...",Y,J,Z,ie,W;const me=[st,at],X=[];function be(R,M){return R[2]?0:1}a=be(d),p=X[a]=me[a](d);function ge(R,M){return R[3]?ot:nt}let ce=ge(d),j=ce(d);return{c(){e=f("div"),l=f("div"),t=f("button"),p.c(),s=D(),o=f("div"),n=f("label"),u=f("button"),b=U("Show QR Code"),$=D(),P=f("input"),N=D(),B=f("div"),m=f("div"),_=f("label"),C=U("✕"),v=D(),y=f("div"),j.c(),T=D(),E=f("p"),k=U(w),x=D(),V=f("div"),I=f("div"),H=f("img"),z=D(),q=f("div"),G=f("span"),Y=U(se),J=U(" APT"),this.h()},l(R){e=h(R,"DIV",{class:!0});var M=g(e);l=h(M,"DIV",{class:!0});var de=g(l);t=h(de,"BUTTON",{class:!0});var De=g(t);p.l(De),De.forEach(c),de.forEach(c),s=A(M),o=h(M,"DIV",{class:!0});var ue=g(o);n=h(ue,"LABEL",{for:!0});var Ae=g(n);u=h(Ae,"BUTTON",{class:!0});var Ie=g(u);b=S(Ie,"Show QR Code"),Ie.forEach(c),Ae.forEach(c),$=A(ue),P=h(ue,"INPUT",{type:!0,id:!0,class:!0}),N=A(ue),B=h(ue,"DIV",{class:!0});var Pe=g(B);m=h(Pe,"DIV",{class:!0});var fe=g(m);_=h(fe,"LABEL",{for:!0,class:!0});var Ne=g(_);C=S(Ne,"✕"),Ne.forEach(c),v=A(fe),y=h(fe,"DIV",{class:!0});var Be=g(y);j.l(Be),Be.forEach(c),T=A(fe),E=h(fe,"P",{});var Ce=g(E);k=S(Ce,w),Ce.forEach(c),fe.forEach(c),Pe.forEach(c),ue.forEach(c),x=A(M),V=h(M,"DIV",{class:!0});var ke=g(V);I=h(ke,"DIV",{class:!0});var Ue=g(I);H=h(Ue,"IMG",{src:!0,alt:!0,class:!0}),Ue.forEach(c),z=A(ke),q=h(ke,"DIV",{class:!0});var Se=g(q);G=h(Se,"SPAN",{class:!0});var Te=g(G);Y=S(Te,se),J=S(Te," APT"),Te.forEach(c),Se.forEach(c),ke.forEach(c),M.forEach(c),this.h()},h(){i(t,"class","ml-1 px-4 py-2 rounded-xl bg-zinc-200 text-white w-auto h-auto content-around border border-[#11D9C5] dark:bg-gray-700"),oe(t,"bg-gray-600",d[2]),i(l,"class","flex items-center mb-4"),i(u,"class","ml-1 px-4 py-2 rounded-xl bg-zinc-200 text-black w-auto h-auto content-around dark:bg-gray-700 dark:text-white"),i(n,"for","my-modal-3"),i(P,"type","checkbox"),i(P,"id","my-modal-3"),i(P,"class","modal-toggle"),i(_,"for","my-modal-3"),i(_,"class","btn btn-sm btn-circle absolute right-2 top-2"),i(y,"class","py-10"),i(m,"class","modal-box relative dark:bg-gray-800 dark:text-gray-100"),i(B,"class","modal"),i(o,"class","flex items-center mb-4"),xe(H.src,O=it)||i(H,"src",O),i(H,"alt","Netsepio "),i(H,"class","h-16 w-16 flex items-center mx-28 mb-4"),i(I,"class","flex items-center mb-4"),i(G,"class","text-3xl text-center"),i(q,"class","flex justify-center"),i(V,"class","flex flex-col mb-4"),i(e,"class","flex flex-col items-center")},m(R,M){L(R,e,M),r(e,l),r(l,t),X[a].m(t,null),r(e,s),r(e,o),r(o,n),r(n,u),r(u,b),r(o,$),r(o,P),r(o,N),r(o,B),r(B,m),r(m,_),r(_,C),r(m,v),r(m,y),j.m(y,null),r(m,T),r(m,E),r(E,k),r(e,x),r(e,V),r(V,I),r(I,H),r(V,z),r(V,q),r(q,G),r(G,Y),r(G,J),Z=!0,ie||(W=[ee(t,"click",d[4]),ee(u,"click",d[5])],ie=!0)},p(R,[M]){let de=a;a=be(R),a===de?X[a].p(R,M):(ye(),F(X[de],1,1,()=>{X[de]=null}),we(),p=X[a],p?p.p(R,M):(p=X[a]=me[a](R),p.c()),Q(p,1),p.m(t,null)),(!Z||M&4)&&oe(t,"bg-gray-600",R[2]),ce===(ce=ge(R))&&j?j.p(R,M):(j.d(1),j=ce(R),j&&(j.c(),j.m(y,null))),(!Z||M&2)&&w!==(w=R[1].substring(0,25)+"...")&&ne(k,w),(!Z||M&1)&&se!==(se=R[0].substring(0,5)+"...")&&ne(Y,se)},i(R){Z||(Q(p),Z=!0)},o(R){F(p),Z=!1},d(R){R&&c(e),X[a].d(),j.d(),ie=!1,Ee(W)}}}let it="/aptos-logo.png";function dt(d,e,l){let t,a="",p=!1,s="",{balance:o}=e;$e.subscribe($=>l(1,a=$));const n=()=>{navigator.clipboard.writeText(a),l(2,p=!0)};async function u(){l(3,s=await Fe(a))}function b(){const $=document.getElementById("my-modal-3");$.checked=!0}return ve(async()=>{u()}),d.$$set=$=>{"balance"in $&&l(6,o=$.balance)},d.$$.update=()=>{d.$$.dirty&64&&l(0,t=Number(o/1e8).toFixed(8))},[t,a,p,s,n,b,o]}class ut extends he{constructor(e){super(),_e(this,e,dt,ct,pe,{balance:6})}}function Ve(d,e,l){const t=d.slice();return t[3]=e[l],t}function ft(d){let e,l;return{c(){e=f("h1"),l=U("No data to show"),this.h()},l(t){e=h(t,"H1",{class:!0});var a=g(e);l=S(a,"No data to show"),a.forEach(c),this.h()},h(){i(e,"class","text-lg text-center")},m(t,a){L(t,e,a),r(e,l)},p:K,d(t){t&&c(e)}}}function ht(d){let e,l,t,a,p,s,o,n,u,b,$,P,N,B,m,_,C=d[0],v=[];for(let y=0;y0?ht:ft}let s=p(d),o=s(d);return{c(){e=f("div"),l=f("label"),t=U("Activity"),a=D(),o.c(),this.h()},l(n){e=h(n,"DIV",{class:!0});var u=g(e);l=h(u,"LABEL",{class:!0,for:!0});var b=g(l);t=S(b,"Activity"),b.forEach(c),a=A(u),o.l(u),u.forEach(c),this.h()},h(){i(l,"class","text-lg font-bold mb-2"),i(l,"for","transactions-table"),i(e,"class","flex flex-col mb-4")},m(n,u){L(n,e,u),r(e,l),r(l,t),r(e,a),o.m(e,null)},p(n,[u]){s===(s=p(n))&&o?o.p(n,u):(o.d(1),o=s(n),o&&(o.c(),o.m(e,null)))},i:K,o:K,d(n){n&&c(e),o.d()}}}function bt(d,e,l){let t=[],a;$e.subscribe(s=>l(1,a=s));const p=async()=>{const s=new qe(Ye.TESTNET);l(0,t=await s.getAccountTransactions(a))};return ve(()=>{p()}),[t,a]}class gt extends he{constructor(e){super(),_e(this,e,bt,mt,pe,{})}}const vt=` -query MyQuery($walletAddress: String!) { - reviewCreateds(where: {receiver: $walletAddress}) { - tokenId - domainAddress - metadataURI - } -} -`,kt=async(d,e={})=>{try{const t=await(await fetch(Ze,{method:"POST",redirect:"follow",body:JSON.stringify({query:d,variables:e})})).json();if(t.errors)throw new Error(t.errors[0].message);return t.data}catch(l){throw l}};function Oe(d,e,l){const t=d.slice();return t[5]=e[l],t}function yt(d){let e,l,t,a,p,s,o,n,u,b,$,P,N,B=d[0],m=[];for(let _=0;_{$e.subscribe(u=>p=u);let n=await kt(vt,{walletAddress:p});l(0,t=n.reviewCreateds)}),[t,a,()=>l(1,a=!1),()=>l(1,a=!1)]}class Tt extends he{constructor(e){super(),_e(this,e,$t,Et,pe,{})}}function xt(d){let e,l;return e=new gt({}),{c(){te(e.$$.fragment)},l(t){le(e.$$.fragment,t)},m(t,a){re(e,t,a),l=!0},i(t){l||(Q(e.$$.fragment,t),l=!0)},o(t){F(e.$$.fragment,t),l=!1},d(t){ae(e,t)}}}function Dt(d){let e,l;return e=new Tt({}),{c(){te(e.$$.fragment)},l(t){le(e.$$.fragment,t)},m(t,a){re(e,t,a),l=!0},i(t){l||(Q(e.$$.fragment,t),l=!0)},o(t){F(e.$$.fragment,t),l=!1},d(t){ae(e,t)}}}function At(d){let e,l,t,a,p,s,o,n,u,b,$,P,N,B,m,_,C,v,y,T,E,w;l=new ut({props:{balance:d[1]}});const k=[Dt,xt],x=[];function V(I,H){return I[0]?0:1}return m=V(d),_=x[m]=k[m](d),y=new tt({}),{c(){e=f("div"),te(l.$$.fragment),t=D(),a=f("br"),p=D(),s=f("div"),o=f("button"),n=U("Assets"),b=D(),$=f("button"),P=U("Activity"),B=D(),_.c(),C=D(),v=f("div"),te(y.$$.fragment),this.h()},l(I){e=h(I,"DIV",{class:!0});var H=g(e);le(l.$$.fragment,H),t=A(H),a=h(H,"BR",{}),p=A(H),s=h(H,"DIV",{class:!0});var O=g(s);o=h(O,"BUTTON",{class:!0});var z=g(o);n=S(z,"Assets"),z.forEach(c),b=A(O),$=h(O,"BUTTON",{class:!0});var q=g($);P=S(q,"Activity"),q.forEach(c),O.forEach(c),B=A(H),_.l(H),C=A(H),v=h(H,"DIV",{class:!0});var G=g(v);le(y.$$.fragment,G),G.forEach(c),H.forEach(c),this.h()},h(){i(o,"class",u=`px-4 py-2 rounded-md ${d[0]?"shadow-lg bg-zinc-700 text-white dark:bg-gray-900 dark:text-white":"bg-gray-200 text-gray-700 dark:bg-gray-900 dark:text-white shadow-lg"}`),i($,"class",N=`px-4 py-2 rounded-md dark:bg-gray-900 dark:text-white ${d[0]?"bg-gray-200 text-gray-700 dark:bg-gray-900 dark:text-white shadow-lg":"shadow-lg bg-zinc-700 text-white dark:bg-gray-900 dark:text-white"}`),i(s,"class","flex justify-between mb-4"),i(v,"class","modal h-screen z-10 absolute top-0 flex justify-center items-center"),oe(v,"modal-open",d[2]),i(e,"class","flex flex-col p-4 rounded-lg shadow-lg")},m(I,H){L(I,e,H),re(l,e,null),r(e,t),r(e,a),r(e,p),r(e,s),r(s,o),r(o,n),r(s,b),r(s,$),r($,P),r(e,B),x[m].m(e,null),r(e,C),r(e,v),re(y,v,null),T=!0,E||(w=[ee(o,"click",d[3]),ee($,"click",d[4])],E=!0)},p(I,[H]){const O={};H&2&&(O.balance=I[1]),l.$set(O),(!T||H&1&&u!==(u=`px-4 py-2 rounded-md ${I[0]?"shadow-lg bg-zinc-700 text-white dark:bg-gray-900 dark:text-white":"bg-gray-200 text-gray-700 dark:bg-gray-900 dark:text-white shadow-lg"}`))&&i(o,"class",u),(!T||H&1&&N!==(N=`px-4 py-2 rounded-md dark:bg-gray-900 dark:text-white ${I[0]?"bg-gray-200 text-gray-700 dark:bg-gray-900 dark:text-white shadow-lg":"shadow-lg bg-zinc-700 text-white dark:bg-gray-900 dark:text-white"}`))&&i($,"class",N);let z=m;m=V(I),m!==z&&(ye(),F(x[z],1,1,()=>{x[z]=null}),we(),_=x[m],_||(_=x[m]=k[m](I),_.c()),Q(_,1),_.m(e,C)),(!T||H&4)&&oe(v,"modal-open",I[2])},i(I){T||(Q(l.$$.fragment,I),Q(_),Q(y.$$.fragment,I),T=!0)},o(I){F(l.$$.fragment,I),F(_),F(y.$$.fragment,I),T=!1},d(I){I&&c(e),ae(l),x[m].d(),ae(y),E=!1,Ee(w)}}}function It(d,e,l){let t=!1,a="",p,s=!1;$e.subscribe(b=>a=b);const o=async()=>{l(2,s=!0),new Je;try{const b=new Ke(et);let P=await new Xe(b).checkBalance(a);l(1,p=Number(P))}catch(b){b&&l(1,p=0),console.log(b)}finally{l(2,s=!1)}};return ve(async()=>{await o()}),[t,p,s,()=>l(0,t=!0),()=>l(0,t=!1)]}class Pt extends he{constructor(e){super(),_e(this,e,It,At,pe,{})}}function Nt(d){let e,l;return e=new Pt({}),{c(){te(e.$$.fragment)},l(t){le(e.$$.fragment,t)},m(t,a){re(e,t,a),l=!0},p:K,i(t){l||(Q(e.$$.fragment,t),l=!0)},o(t){F(e.$$.fragment,t),l=!1},d(t){ae(e,t)}}}function Bt(d){let e,l,t,a,p,s,o=(d[1].length>1?d[1]:"Enter Password")+"",n,u,b,$,P,N,B,m,_,C,v,y,T,E,w=d[4]&&ze();return{c(){e=f("br"),l=D(),t=f("h1"),a=U("Wallet is locked!"),p=D(),s=f("p"),n=U(o),u=D(),b=f("input"),$=D(),P=f("button"),N=U("Forgot password?"),B=D(),m=f("div"),_=f("button"),C=U("Unlock"),v=D(),w&&w.c(),this.h()},l(k){e=h(k,"BR",{}),l=A(k),t=h(k,"H1",{class:!0});var x=g(t);a=S(x,"Wallet is locked!"),x.forEach(c),p=A(k),s=h(k,"P",{class:!0});var V=g(s);n=S(V,o),V.forEach(c),u=A(k),b=h(k,"INPUT",{type:!0,placeholder:!0,class:!0}),$=A(k),P=h(k,"BUTTON",{class:!0});var I=g(P);N=S(I,"Forgot password?"),I.forEach(c),B=A(k),m=h(k,"DIV",{class:!0});var H=g(m);_=h(H,"BUTTON",{class:!0});var O=g(_);C=S(O,"Unlock"),O.forEach(c),v=A(H),w&&w.l(H),H.forEach(c),this.h()},h(){i(t,"class","text-3xl text-center text-black dark:text-white"),i(s,"class","text-lg mt-5 mb-3 dark:text-white dark:bg-gray-900"),oe(s,"text-red-500",d[1].length>1),i(b,"type","password"),i(b,"placeholder","Enter Password"),i(b,"class","input input-bordered input-md w-full max-w-xs dark:bg-gray-700 dark:text-white"),i(P,"class","block text-1xl"),i(_,"class","btn mt-5"),i(m,"class","flex justify-between items-baseline")},m(k,x){L(k,e,x),L(k,l,x),L(k,t,x),r(t,a),L(k,p,x),L(k,s,x),r(s,n),L(k,u,x),L(k,b,x),He(b,d[0]),L(k,$,x),L(k,P,x),r(P,N),L(k,B,x),L(k,m,x),r(m,_),r(_,C),r(m,v),w&&w.m(m,null),y=!0,T||(E=[ee(b,"input",d[6]),ee(P,"click",d[7]),ee(_,"click",d[5])],T=!0)},p(k,x){(!y||x&2)&&o!==(o=(k[1].length>1?k[1]:"Enter Password")+"")&&ne(n,o),(!y||x&2)&&oe(s,"text-red-500",k[1].length>1),x&1&&b.value!==k[0]&&He(b,k[0]),k[4]?w?x&16&&Q(w,1):(w=ze(),w.c(),Q(w,1),w.m(m,null)):w&&(ye(),F(w,1,1,()=>{w=null}),we())},i(k){y||(Q(w),y=!0)},o(k){F(w),y=!1},d(k){k&&c(e),k&&c(l),k&&c(t),k&&c(p),k&&c(s),k&&c(u),k&&c(b),k&&c($),k&&c(P),k&&c(B),k&&c(m),w&&w.d(),T=!1,Ee(E)}}}function ze(d){let e,l;return e=new lt({}),{c(){te(e.$$.fragment)},l(t){le(e.$$.fragment,t)},m(t,a){re(e,t,a),l=!0},i(t){l||(Q(e.$$.fragment,t),l=!0)},o(t){F(e.$$.fragment,t),l=!1},d(t){ae(e,t)}}}function Ct(d){let e,l,t,a;const p=[Bt,Nt],s=[];function o(n,u){return n[2]&&!n[3]?0:n[2]&&n[3]?1:-1}return~(l=o(d))&&(t=s[l]=p[l](d)),{c(){e=f("div"),t&&t.c()},l(n){e=h(n,"DIV",{});var u=g(e);t&&t.l(u),u.forEach(c)},m(n,u){L(n,e,u),~l&&s[l].m(e,null),a=!0},p(n,[u]){let b=l;l=o(n),l===b?~l&&s[l].p(n,u):(t&&(ye(),F(s[b],1,1,()=>{s[b]=null}),we()),~l?(t=s[l],t?t.p(n,u):(t=s[l]=p[l](n),t.c()),Q(t,1),t.m(e,null)):t=null)},i(n){a||(Q(t),a=!0)},o(n){F(t),a=!1},d(n){n&&c(e),~l&&s[l].d()}}}function Ut(d,e,l){let t="",a="",p=!1,s=!1,o=!1;const n=async()=>{if(t.length>=6)try{Me(t)&&(l(1,a=""),l(2,[p,s]=await Le(),p,l(3,s)))}catch($){l(1,a="Invalid password"),console.log($)}};ve(async()=>{l(2,[p,s]=await Le(),p,l(3,s))});function u(){t=this.value,l(0,t)}return[t,a,p,s,o,n,u,()=>l(4,o=!0)]}class St extends he{constructor(e){super(),_e(this,e,Ut,Ct,pe,{})}}function Ht(d){let e,l,t,a,p,s,o;return l=new rt({}),s=new St({}),{c(){e=f("div"),te(l.$$.fragment),t=D(),a=f("br"),p=D(),te(s.$$.fragment),this.h()},l(n){e=h(n,"DIV",{class:!0});var u=g(e);le(l.$$.fragment,u),t=A(u),a=h(u,"BR",{}),p=A(u),le(s.$$.fragment,u),u.forEach(c),this.h()},h(){i(e,"class","dark:text-white dark:bg-gray-900")},m(n,u){L(n,e,u),re(l,e,null),r(e,t),r(e,a),r(e,p),re(s,e,null),o=!0},p:K,i(n){o||(Q(l.$$.fragment,n),Q(s.$$.fragment,n),o=!0)},o(n){F(l.$$.fragment,n),F(s.$$.fragment,n),o=!1},d(n){n&&c(e),ae(l),ae(s)}}}class Gt extends he{constructor(e){super(),_e(this,e,null,Ht,pe,{})}}export{Gt as component}; diff --git a/build/app/immutable/nodes/14.7ecadb95.js b/build/app/immutable/nodes/14.7ecadb95.js new file mode 100644 index 000000000..f0c324ba5 --- /dev/null +++ b/build/app/immutable/nodes/14.7ecadb95.js @@ -0,0 +1,5 @@ +import{S as D,i as N,s as R,k as c,y as k,a as I,q as y,l as m,m as h,z as q,c as V,r as S,h as u,n as d,b as z,A,D as e,H as T,g as W,d as Y,B as j}from"../chunks/index.89e71670.js";import{H as C}from"../chunks/Header.cf7b0240.js";function O(B){let t,n,v,s,r,b,x,g,$,i,o,w,f;return n=new C({}),{c(){t=c("div"),k(n.$$.fragment),v=I(),s=c("div"),r=c("h1"),b=y(`secure Your Visit, Share Insights on\r + `),x=c("br"),g=y(`\r + [“Website Name”]`),$=I(),i=c("a"),o=c("button"),w=y("Submit Review"),this.h()},l(a){t=m(a,"DIV",{});var l=h(t);q(n.$$.fragment,l),v=V(l),s=m(l,"DIV",{class:!0});var p=h(s);r=m(p,"H1",{class:!0});var _=h(r);b=S(_,`secure Your Visit, Share Insights on\r + `),x=m(_,"BR",{}),g=S(_,`\r + [“Website Name”]`),_.forEach(u),$=V(p),i=m(p,"A",{href:!0,class:!0});var E=h(i);o=m(E,"BUTTON",{class:!0});var H=h(o);w=S(H,"Submit Review"),H.forEach(u),E.forEach(u),p.forEach(u),l.forEach(u),this.h()},h(){d(r,"class","text-2xl font-bold text-center capitalize text-[#263238] dark:text-white"),d(o,"class","btn primary-button"),d(i,"href","/submit-review/create-review"),d(i,"class","w-full"),d(s,"class","h-[460px] flex flex-col gap-4 justify-center items-start")},m(a,l){z(a,t,l),A(n,t,null),e(t,v),e(t,s),e(s,r),e(r,b),e(r,x),e(r,g),e(s,$),e(s,i),e(i,o),e(o,w),f=!0},p:T,i(a){f||(W(n.$$.fragment,a),f=!0)},o(a){Y(n.$$.fragment,a),f=!1},d(a){a&&u(t),j(n)}}}class F extends D{constructor(t){super(),N(this,t,null,O,R,{})}}export{F as component}; diff --git a/build/app/immutable/nodes/15.c8f67112.js b/build/app/immutable/nodes/15.c8f67112.js new file mode 100644 index 000000000..c86f018ac --- /dev/null +++ b/build/app/immutable/nodes/15.c8f67112.js @@ -0,0 +1,24 @@ +import{S as SvelteComponent,i as init,s as safe_not_equal,k as element,y as create_component,a as space,O as svg_element,q as text,l as claim_element,m as children,z as claim_component,c as claim_space,P as claim_svg_element,h as detach,r as claim_text,n as attr,X as add_render_callback,L as toggle_class,b as insert_hydration,A as mount_component,D as append_hydration,Y as select_option,M as set_input_value,K as listen,u as set_data,Z as to_number,g as transition_in,d as transition_out,B as destroy_component,N as run_all,o as onMount,_ as select_value}from"../chunks/index.89e71670.js";import{g as getDefaultExportFromCjs,c as commonjsGlobal,d as getAugmentedNamespace,j as jwtToken}from"../chunks/store.b194c171.js";import{a as PUBLIC_NFT_STORAGE_API_KEY,P as PUBLIC_GATEWAY_URL}from"../chunks/public.6087a87e.js";import{H as Header,c as checkAuth}from"../chunks/Header.cf7b0240.js";import{L as Loader}from"../chunks/Loader.ef1f0f41.js";function getIterator(t){if(typeof t.next=="function")return t;if(typeof t[Symbol.iterator]=="function")return t[Symbol.iterator]();if(typeof t[Symbol.asyncIterator]=="function")return t[Symbol.asyncIterator]();throw new TypeError('"values" does not to conform to any of the iterator or iterable protocols')}function defer(){let t,e;return{promise:new Promise((n,o)=>{e=n,t=o}),reject:t,resolve:e}}function _transform(t,e,r){const n=getIterator(r),o=[],a=[];let u=!1,c=!1,d=0,m=null;function y(){for(;a.length>0&&o.length>0;){const{resolve:h}=a.shift(),E=o.shift();h({done:!1,value:E})}for(;a.length>0&&d===0&&u;){const{resolve:h,reject:E}=a.shift();m?(E(m),m=null):h({done:!0,value:void 0})}}async function D(){if(u){y();return}if(!c&&!(d+o.length>=t)){c=!0,d++;try{const{done:h,value:E}=await n.next();h?(u=!0,d--,y()):T(E)}catch(h){u=!0,d--,m=h,y()}c=!1,D()}}async function T(h){try{const E=await e(h);o.push(E)}catch(E){u=!0,m=E}d--,y(),D()}async function w(){if(o.length===0){const E=defer();return a.push(E),D(),E.promise}const h=o.shift();return D(),{done:!1,value:h}}const _={next:w,[Symbol.asyncIterator]:()=>_};return _}function transform(t,e,r){return e===void 0?(n,o)=>o?transform(t,n,o):transform(t,n):r===void 0?n=>transform(t,e,n):_transform(t,e,r)}var pRetry$2={exports:{}},retry$2={};function RetryOperation(t,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}var retry_operation=RetryOperation;RetryOperation.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};RetryOperation.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};RetryOperation.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.push(t),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1);else return!1;var n=this;return this._timer=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r),this._options.unref&&this._timer.unref(),!0};RetryOperation.prototype.attempt=function(t,e){this._fn=t,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};RetryOperation.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};RetryOperation.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,n=0;n=r&&(e=o,r=u)}return e};(function(t){var e=retry_operation;t.operation=function(r){var n=t.timeouts(r);return new e(n,{forever:r&&(r.forever||r.retries===1/0),unref:r&&r.unref,maxRetryTime:r&&r.maxRetryTime})},t.timeouts=function(r){if(r instanceof Array)return[].concat(r);var n={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var o in r)n[o]=r[o];if(n.minTimeout>n.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var a=[],u=0;u{const n=r.retries-(e-1);return t.attemptNumber=e,t.retriesLeft=n,t},isNetworkError=t=>networkErrorMsgs.includes(t),pRetry=(t,e)=>new Promise((r,n)=>{e={onFailedAttempt:()=>{},retries:10,...e};const o=retry.operation(e);o.attempt(async a=>{try{r(await t(a))}catch(u){if(!(u instanceof Error)){n(new TypeError(`Non-error was thrown: "${u}". You should only throw errors.`));return}if(u instanceof AbortError)o.stop(),n(u.originalError);else if(u instanceof TypeError&&!isNetworkError(u.message))o.stop(),n(u);else{decorateErrorWithCounts(u,a,e);try{await e.onFailedAttempt(u)}catch(c){n(c);return}o.retry(u)||n(o.mainError())}}})});pRetry$2.exports=pRetry;pRetry$2.exports.default=pRetry;var AbortError_1=pRetry$2.exports.AbortError=AbortError,pRetryExports=pRetry$2.exports;const pRetry$1=getDefaultExportFromCjs(pRetryExports);var encode_1$1=encode$9,MSB$3=128,REST$3=127,MSBALL$1=~REST$3,INT$1=Math.pow(2,31);function encode$9(t,e,r){if(Number.MAX_SAFE_INTEGER&&t>Number.MAX_SAFE_INTEGER)throw encode$9.bytes=0,new RangeError("Could not encode varint");e=e||[],r=r||0;for(var n=r;t>=INT$1;)e[r++]=t&255|MSB$3,t/=128;for(;t&MSBALL$1;)e[r++]=t&255|MSB$3,t>>>=7;return e[r]=t|0,encode$9.bytes=r-n+1,e}var decode$a=read$1,MSB$2=128,REST$2=127;function read$1(t,n){var r=0,n=n||0,o=0,a=n,u,c=t.length;do{if(a>=c||o>49)throw read$1.bytes=0,new RangeError("Could not decode varint");u=t[a++],r+=o<28?(u&REST$2)<=MSB$2);return read$1.bytes=a-n,r}var N1$1=Math.pow(2,7),N2$1=Math.pow(2,14),N3$1=Math.pow(2,21),N4$1=Math.pow(2,28),N5$1=Math.pow(2,35),N6$1=Math.pow(2,42),N7$1=Math.pow(2,49),N8$1=Math.pow(2,56),N9$1=Math.pow(2,63),length$1=function(t){return t=INT;)e[r++]=t&255|MSB,t/=128;for(;t&MSBALL;)e[r++]=t&255|MSB,t>>>=7;return e[r]=t|0,encode$8.bytes=r-n+1,e}var decode$9=read,MSB$1=128,REST$1=127;function read(t,n){var r=0,n=n||0,o=0,a=n,u,c=t.length;do{if(a>=c)throw read.bytes=0,new RangeError("Could not decode varint");u=t[a++],r+=o<28?(u&REST$1)<=MSB$1);return read.bytes=a-n,r}var N1=Math.pow(2,7),N2=Math.pow(2,14),N3=Math.pow(2,21),N4=Math.pow(2,28),N5=Math.pow(2,35),N6=Math.pow(2,42),N7=Math.pow(2,49),N8=Math.pow(2,56),N9=Math.pow(2,63),length=function(t){return t[_brrp_varint.decode(t,e),_brrp_varint.decode.bytes],encodeTo=(t,e,r=0)=>(_brrp_varint.encode(t,e,r),e),encodingLength=t=>_brrp_varint.encodingLength(t),empty=new Uint8Array(0),fromHex=t=>{const e=t.match(/../g);return e?new Uint8Array(e.map(r=>parseInt(r,16))):empty},equals$1=(t,e)=>{if(t===e)return!0;if(t.byteLength!==e.byteLength)return!1;for(let r=0;r{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},fromString$3=t=>new TextEncoder().encode(t),toString$1=t=>new TextDecoder().decode(t),create$4=(t,e)=>{const r=e.byteLength,n=encodingLength(t),o=n+encodingLength(r),a=new Uint8Array(o+r);return encodeTo(t,a,0),encodeTo(r,a,n),a.set(e,o),new Digest(t,r,e,a)},decode$7=t=>{const e=coerce(t),[r,n]=decode$8(e),[o,a]=decode$8(e.subarray(n)),u=e.subarray(n+a);if(u.byteLength!==o)throw new Error("Incorrect length");return new Digest(r,o,u,e)},equals=(t,e)=>t===e?!0:t.code===e.code&&t.size===e.size&&equals$1(t.bytes,e.bytes);class Digest{constructor(e,r,n,o){this.code=e,this.size=r,this.digest=n,this.bytes=o}}function base(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var r=new Uint8Array(256),n=0;n>>0,S=new Uint8Array(k);B!==O;){for(var A=_[B],$=0,v=k-1;(A!==0||$>>0,S[v]=A%c>>>0,A=A/c>>>0;if(A!==0)throw new Error("Non-zero carry");E=$,B++}for(var C=k-E;C!==k&&S[C]===0;)C++;for(var I=d.repeat(h);C>>0,k=new Uint8Array(O);_[h];){var S=r[_.charCodeAt(h)];if(S===255)return;for(var A=0,$=O-1;(S!==0||A>>0,k[$]=S%256>>>0,S=S/256>>>0;if(S!==0)throw new Error("Non-zero carry");B=A,h++}if(_[h]!==" "){for(var v=O-B;v!==O&&k[v]===0;)v++;for(var C=new Uint8Array(E+(O-v)),I=E;v!==O;)C[I++]=k[v++];return C}}}function w(_){var h=T(_);if(h)return h;throw new Error(`Non-${e} character`)}return{encode:D,decodeUnsafe:T,decode:w}}var src$2=base,_brrp__multiformats_scope_baseX=src$2;class Encoder{constructor(e,r,n){this.name=e,this.prefix=r,this.baseEncode=n}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}}class Decoder{constructor(e,r,n){if(this.name=e,this.prefix=r,r.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=r.codePointAt(0),this.baseDecode=n}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return or(this,e)}}class ComposedDecoder{constructor(e){this.decoders=e}or(e){return or(this,e)}decode(e){const r=e[0],n=this.decoders[r];if(n)return n.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const or=(t,e)=>new ComposedDecoder({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}});class Codec{constructor(e,r,n,o){this.name=e,this.prefix=r,this.baseEncode=n,this.baseDecode=o,this.encoder=new Encoder(e,r,n),this.decoder=new Decoder(e,r,o)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}const from$1=({name:t,prefix:e,encode:r,decode:n})=>new Codec(t,e,r,n),baseX=({prefix:t,name:e,alphabet:r})=>{const{encode:n,decode:o}=_brrp__multiformats_scope_baseX(r,e);return from$1({prefix:t,name:e,encode:n,decode:a=>coerce(o(a))})},decode$6=(t,e,r,n)=>{const o={};for(let y=0;y=8&&(c-=8,u[m++]=255&d>>c)}if(c>=r||255&d<<8-c)throw new SyntaxError("Unexpected end of data");return u},encode$7=(t,e,r)=>{const n=e[e.length-1]==="=",o=(1<r;)u-=r,a+=e[o&c>>u];if(u&&(a+=e[o&c<from$1({prefix:e,name:t,encode(o){return encode$7(o,n,r)},decode(o){return decode$6(o,n,r,t)}}),base58btc=baseX({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),base58flickr=baseX({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"}),base58=Object.freeze(Object.defineProperty({__proto__:null,base58btc,base58flickr},Symbol.toStringTag,{value:"Module"})),base32=rfc4648({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),base32upper=rfc4648({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),base32pad=rfc4648({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),base32padupper=rfc4648({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),base32hex=rfc4648({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),base32hexupper=rfc4648({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),base32hexpad=rfc4648({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),base32hexpadupper=rfc4648({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),base32z=rfc4648({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),base32$1=Object.freeze(Object.defineProperty({__proto__:null,base32,base32hex,base32hexpad,base32hexpadupper,base32hexupper,base32pad,base32padupper,base32upper,base32z},Symbol.toStringTag,{value:"Module"}));class CID{constructor(e,r,n,o){this.code=r,this.version=e,this.multihash=n,this.bytes=o,this.byteOffset=o.byteOffset,this.byteLength=o.byteLength,this.asCID=this,this._baseCache=new Map,Object.defineProperties(this,{byteOffset:hidden,byteLength:hidden,code:readonly$1,version:readonly$1,multihash:readonly$1,bytes:readonly$1,_baseCache:hidden,asCID:hidden})}toV0(){switch(this.version){case 0:return this;default:{const{code:e,multihash:r}=this;if(e!==DAG_PB_CODE)throw new Error("Cannot convert a non dag-pb CID to CIDv0");if(r.code!==SHA_256_CODE)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");return CID.createV0(r)}}}toV1(){switch(this.version){case 0:{const{code:e,digest:r}=this.multihash,n=create$4(e,r);return CID.createV1(this.code,n)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}equals(e){return e&&this.code===e.code&&this.version===e.version&&equals(this.multihash,e.multihash)}toString(e){const{bytes:r,version:n,_baseCache:o}=this;switch(n){case 0:return toStringV0(r,o,e||base58btc.encoder);default:return toStringV1(r,o,e||base32.encoder)}}toJSON(){return{code:this.code,version:this.version,hash:this.multihash.bytes}}get[Symbol.toStringTag](){return"CID"}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}static isCID(e){return deprecate(/^0\.0/,IS_CID_DEPRECATION),!!(e&&(e[cidSymbol]||e.asCID===e))}get toBaseEncodedString(){throw new Error("Deprecated, use .toString()")}get codec(){throw new Error('"codec" property is deprecated, use integer "code" property instead')}get buffer(){throw new Error("Deprecated .buffer property, use .bytes to get Uint8Array instead")}get multibaseName(){throw new Error('"multibaseName" property is deprecated')}get prefix(){throw new Error('"prefix" property is deprecated')}static asCID(e){if(e instanceof CID)return e;if(e!=null&&e.asCID===e){const{version:r,code:n,multihash:o,bytes:a}=e;return new CID(r,n,o,a||encodeCID(r,n,o.bytes))}else if(e!=null&&e[cidSymbol]===!0){const{version:r,multihash:n,code:o}=e,a=decode$7(n);return CID.create(r,o,a)}else return null}static create(e,r,n){if(typeof r!="number")throw new Error("String codecs are no longer supported");switch(e){case 0:{if(r!==DAG_PB_CODE)throw new Error(`Version 0 CID must use dag-pb (code: ${DAG_PB_CODE}) block encoding`);return new CID(e,r,n,n.bytes)}case 1:{const o=encodeCID(e,r,n.bytes);return new CID(e,r,n,o)}default:throw new Error("Invalid version")}}static createV0(e){return CID.create(0,DAG_PB_CODE,e)}static createV1(e,r){return CID.create(1,e,r)}static decode(e){const[r,n]=CID.decodeFirst(e);if(n.length)throw new Error("Incorrect length");return r}static decodeFirst(e){const r=CID.inspectBytes(e),n=r.size-r.multihashSize,o=coerce(e.subarray(n,n+r.multihashSize));if(o.byteLength!==r.multihashSize)throw new Error("Incorrect length");const a=o.subarray(r.multihashSize-r.digestSize),u=new Digest(r.multihashCode,r.digestSize,a,o);return[r.version===0?CID.createV0(u):CID.createV1(r.codec,u),e.subarray(r.size)]}static inspectBytes(e){let r=0;const n=()=>{const[D,T]=decode$8(e.subarray(r));return r+=T,D};let o=n(),a=DAG_PB_CODE;if(o===18?(o=0,r=0):o===1&&(a=n()),o!==0&&o!==1)throw new RangeError(`Invalid CID version ${o}`);const u=r,c=n(),d=n(),m=r+d,y=m-u;return{version:o,codec:a,multihashCode:c,digestSize:d,multihashSize:y,size:m}}static parse(e,r){const[n,o]=parseCIDtoBytes(e,r),a=CID.decode(o);return a._baseCache.set(n,e),a}}const parseCIDtoBytes=(t,e)=>{switch(t[0]){case"Q":{const r=e||base58btc;return[base58btc.prefix,r.decode(`${base58btc.prefix}${t}`)]}case base58btc.prefix:{const r=e||base58btc;return[base58btc.prefix,r.decode(t)]}case base32.prefix:{const r=e||base32;return[base32.prefix,r.decode(t)]}default:{if(e==null)throw Error("To parse non base32 or base58btc encoded CID multibase decoder must be provided");return[t[0],e.decode(t)]}}},toStringV0=(t,e,r)=>{const{prefix:n}=r;if(n!==base58btc.prefix)throw Error(`Cannot string encode V0 in ${r.name} encoding`);const o=e.get(n);if(o==null){const a=r.encode(t).slice(1);return e.set(n,a),a}else return o},toStringV1=(t,e,r)=>{const{prefix:n}=r,o=e.get(n);if(o==null){const a=r.encode(t);return e.set(n,a),a}else return o},DAG_PB_CODE=112,SHA_256_CODE=18,encodeCID=(t,e,r)=>{const n=encodingLength(t),o=n+encodingLength(e),a=new Uint8Array(o+r.byteLength);return encodeTo(t,a,0),encodeTo(e,a,n),a.set(r,o),a},cidSymbol=Symbol.for("@ipld/js-cid/CID"),readonly$1={writable:!1,configurable:!1,enumerable:!0},hidden={writable:!1,enumerable:!1,configurable:!1},version="0.0.0-dev",deprecate=(t,e)=>{if(t.test(version))console.warn(e);else throw new Error(e)},IS_CID_DEPRECATION=`CID.isCID(v) is deprecated and will be removed in the next major release. +Following code pattern: + +if (CID.isCID(value)) { + doSomethingWithCID(value) +} + +Is replaced with: + +const cid = CID.asCID(value) +if (cid) { + // Make sure to use cid instead of value + doSomethingWithCID(cid) +} +`,typeofs=["string","number","bigint","symbol"],objectTypeNames=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","HTMLElement","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function is(t){if(t===null)return"null";if(t===void 0)return"undefined";if(t===!0||t===!1)return"boolean";const e=typeof t;if(typeofs.includes(e))return e;if(e==="function")return"Function";if(Array.isArray(t))return"Array";if(isBuffer$1(t))return"Buffer";const r=getObjectType(t);return r||"Object"}function isBuffer$1(t){return t&&t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer.call(null,t)}function getObjectType(t){const e=Object.prototype.toString.call(t).slice(8,-1);if(objectTypeNames.includes(e))return e}class Type{constructor(e,r,n){this.major=e,this.majorEncoded=e<<5,this.name=r,this.terminal=n}toString(){return`Type[${this.major}].${this.name}`}compare(e){return this.majore.major?1:0}}Type.uint=new Type(0,"uint",!0);Type.negint=new Type(1,"negint",!0);Type.bytes=new Type(2,"bytes",!0);Type.string=new Type(3,"string",!0);Type.array=new Type(4,"array",!1);Type.map=new Type(5,"map",!1);Type.tag=new Type(6,"tag",!1);Type.float=new Type(7,"float",!0);Type.false=new Type(7,"false",!0);Type.true=new Type(7,"true",!0);Type.null=new Type(7,"null",!0);Type.undefined=new Type(7,"undefined",!0);Type.break=new Type(7,"break",!0);let Token$1=class{constructor(e,r,n){this.type=e,this.value=r,this.encodedLength=n,this.encodedBytes=void 0,this.byteValue=void 0}toString(){return`Token[${this.type}].${this.value}`}};const useBuffer=globalThis.process&&!globalThis.process.browser&&globalThis.Buffer&&typeof globalThis.Buffer.isBuffer=="function",textDecoder$1=new TextDecoder,textEncoder$2=new TextEncoder;function isBuffer(t){return useBuffer&&globalThis.Buffer.isBuffer(t)}function asU8A(t){return t instanceof Uint8Array?isBuffer(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t:Uint8Array.from(t)}const toString=useBuffer?(t,e,r)=>r-e>64?globalThis.Buffer.from(t.subarray(e,r)).toString("utf8"):utf8Slice(t,e,r):(t,e,r)=>r-e>64?textDecoder$1.decode(t.subarray(e,r)):utf8Slice(t,e,r),fromString$2=useBuffer?t=>t.length>64?globalThis.Buffer.from(t):utf8ToBytes(t):t=>t.length>64?textEncoder$2.encode(t):utf8ToBytes(t),fromArray=t=>Uint8Array.from(t),slice=useBuffer?(t,e,r)=>isBuffer(t)?new Uint8Array(t.subarray(e,r)):t.slice(e,r):(t,e,r)=>t.slice(e,r),concat$2=useBuffer?(t,e)=>(t=t.map(r=>r instanceof Uint8Array?r:globalThis.Buffer.from(r)),asU8A(globalThis.Buffer.concat(t,e))):(t,e)=>{const r=new Uint8Array(e);let n=0;for(let o of t)n+o.length>r.length&&(o=o.subarray(0,r.length-n)),r.set(o,n),n+=o.length;return r},alloc=useBuffer?t=>globalThis.Buffer.allocUnsafe(t):t=>new Uint8Array(t);function compare(t,e){if(isBuffer(t)&&isBuffer(e))return t.compare(e);for(let r=0;r55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(u+1===n){(e-=3)>-1&&a.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(e-=3)>-1&&a.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function utf8Slice(t,e,r){const n=[];for(;e239?4:o>223?3:o>191?2:1;if(e+u<=r){let c,d,m,y;switch(u){case 1:o<128&&(a=o);break;case 2:c=t[e+1],(c&192)===128&&(y=(o&31)<<6|c&63,y>127&&(a=y));break;case 3:c=t[e+1],d=t[e+2],(c&192)===128&&(d&192)===128&&(y=(o&15)<<12|(c&63)<<6|d&63,y>2047&&(y<55296||y>57343)&&(a=y));break;case 4:c=t[e+1],d=t[e+2],m=t[e+3],(c&192)===128&&(d&192)===128&&(m&192)===128&&(y=(o&15)<<18|(c&63)<<12|(d&63)<<6|m&63,y>65535&&y<1114112&&(a=y))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),e+=u}return decodeCodePointsArray(n)}const MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(t){const e=t.length;if(e<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,t);let r="",n=0;for(;nn.length/2?(r=this.cursor===n.length?n:n.subarray(0,this.cursor),this._initReuseChunk=null,this.chunks=[]):r=slice(n,0,this.cursor)}else r=concat$2(this.chunks,this.cursor);return e&&this.reset(),r}}const decodeErrPrefix="CBOR decode error:",encodeErrPrefix="CBOR encode error:";function assertEnoughData(t,e,r){if(t.length-e>>8,n&255])}else if(r>>24&255,n>>>16&255,n>>>8&255,n&255])}else{const n=BigInt(r);if(n>BigInt(32)&BigInt(4294967295));o[8]=a&255,a=a>>8,o[7]=a&255,a=a>>8,o[6]=a&255,a=a>>8,o[5]=a&255,o[4]=u&255,u=u>>8,o[3]=u&255,u=u>>8,o[2]=u&255,u=u>>8,o[1]=u&255,t.push(o)}else throw new Error(`${decodeErrPrefix} encountered BigInt larger than allowable range`)}}encodeUint.encodedSize=function(e){return encodeUintValue.encodedSize(e.value)};encodeUintValue.encodedSize=function(e){return er.value?1:0};function decodeNegint8(t,e,r,n){return new Token$1(Type.negint,-1-readUint8(t,e+1,n),2)}function decodeNegint16(t,e,r,n){return new Token$1(Type.negint,-1-readUint16(t,e+1,n),3)}function decodeNegint32(t,e,r,n){return new Token$1(Type.negint,-1-readUint32(t,e+1,n),5)}const neg1b=BigInt(-1),pos1b=BigInt(1);function decodeNegint64(t,e,r,n){const o=readUint64(t,e+1,n);if(typeof o!="bigint"){const a=-1-o;if(a>=Number.MIN_SAFE_INTEGER)return new Token$1(Type.negint,a,9)}if(n.allowBigInt!==!0)throw new Error(`${decodeErrPrefix} integers outside of the safe integer range are not supported`);return new Token$1(Type.negint,neg1b-BigInt(o),9)}function encodeNegint(t,e){const r=e.value,n=typeof r=="bigint"?r*neg1b-pos1b:r*-1-1;encodeUintValue(t,e.type.majorEncoded,n)}encodeNegint.encodedSize=function(e){const r=e.value,n=typeof r=="bigint"?r*neg1b-pos1b:r*-1-1;return nr.value?-1:0};function toToken$3(t,e,r,n){assertEnoughData(t,e,r+n);const o=slice(t,e+r,e+r+n);return new Token$1(Type.bytes,o,r+n)}function decodeBytesCompact(t,e,r,n){return toToken$3(t,e,1,r)}function decodeBytes8(t,e,r,n){return toToken$3(t,e,2,readUint8(t,e+1,n))}function decodeBytes16(t,e,r,n){return toToken$3(t,e,3,readUint16(t,e+1,n))}function decodeBytes32(t,e,r,n){return toToken$3(t,e,5,readUint32(t,e+1,n))}function decodeBytes64(t,e,r,n){const o=readUint64(t,e+1,n);if(typeof o=="bigint")throw new Error(`${decodeErrPrefix} 64-bit integer bytes lengths not supported`);return toToken$3(t,e,9,o)}function tokenBytes(t){return t.encodedBytes===void 0&&(t.encodedBytes=t.type===Type.string?fromString$2(t.value):t.value),t.encodedBytes}function encodeBytes(t,e){const r=tokenBytes(e);encodeUintValue(t,e.type.majorEncoded,r.length),t.push(r)}encodeBytes.encodedSize=function(e){const r=tokenBytes(e);return encodeUintValue.encodedSize(r.length)+r.length};encodeBytes.compareTokens=function(e,r){return compareBytes(tokenBytes(e),tokenBytes(r))};function compareBytes(t,e){return t.lengthe.length?1:compare(t,e)}function toToken$2(t,e,r,n,o){const a=r+n;assertEnoughData(t,e,a);const u=new Token$1(Type.string,toString(t,e+r,e+a),a);return o.retainStringBytes===!0&&(u.byteValue=slice(t,e+r,e+a)),u}function decodeStringCompact(t,e,r,n){return toToken$2(t,e,1,r,n)}function decodeString8(t,e,r,n){return toToken$2(t,e,2,readUint8(t,e+1,n),n)}function decodeString16(t,e,r,n){return toToken$2(t,e,3,readUint16(t,e+1,n),n)}function decodeString32(t,e,r,n){return toToken$2(t,e,5,readUint32(t,e+1,n),n)}function decodeString64(t,e,r,n){const o=readUint64(t,e+1,n);if(typeof o=="bigint")throw new Error(`${decodeErrPrefix} 64-bit integer string lengths not supported`);return toToken$2(t,e,9,o,n)}const encodeString=encodeBytes;function toToken$1(t,e,r,n){return new Token$1(Type.array,n,r)}function decodeArrayCompact(t,e,r,n){return toToken$1(t,e,1,r)}function decodeArray8(t,e,r,n){return toToken$1(t,e,2,readUint8(t,e+1,n))}function decodeArray16(t,e,r,n){return toToken$1(t,e,3,readUint16(t,e+1,n))}function decodeArray32(t,e,r,n){return toToken$1(t,e,5,readUint32(t,e+1,n))}function decodeArray64(t,e,r,n){const o=readUint64(t,e+1,n);if(typeof o=="bigint")throw new Error(`${decodeErrPrefix} 64-bit integer array lengths not supported`);return toToken$1(t,e,9,o)}function decodeArrayIndefinite(t,e,r,n){if(n.allowIndefinite===!1)throw new Error(`${decodeErrPrefix} indefinite length items not allowed`);return toToken$1(t,e,1,1/0)}function encodeArray(t,e){encodeUintValue(t,Type.array.majorEncoded,e.value)}encodeArray.compareTokens=encodeUint.compareTokens;encodeArray.encodedSize=function(e){return encodeUintValue.encodedSize(e.value)};function toToken(t,e,r,n){return new Token$1(Type.map,n,r)}function decodeMapCompact(t,e,r,n){return toToken(t,e,1,r)}function decodeMap8(t,e,r,n){return toToken(t,e,2,readUint8(t,e+1,n))}function decodeMap16(t,e,r,n){return toToken(t,e,3,readUint16(t,e+1,n))}function decodeMap32(t,e,r,n){return toToken(t,e,5,readUint32(t,e+1,n))}function decodeMap64(t,e,r,n){const o=readUint64(t,e+1,n);if(typeof o=="bigint")throw new Error(`${decodeErrPrefix} 64-bit integer map lengths not supported`);return toToken(t,e,9,o)}function decodeMapIndefinite(t,e,r,n){if(n.allowIndefinite===!1)throw new Error(`${decodeErrPrefix} indefinite length items not allowed`);return toToken(t,e,1,1/0)}function encodeMap(t,e){encodeUintValue(t,Type.map.majorEncoded,e.value)}encodeMap.compareTokens=encodeUint.compareTokens;encodeMap.encodedSize=function(e){return encodeUintValue.encodedSize(e.value)};function decodeTagCompact(t,e,r,n){return new Token$1(Type.tag,r,1)}function decodeTag8(t,e,r,n){return new Token$1(Type.tag,readUint8(t,e+1,n),2)}function decodeTag16(t,e,r,n){return new Token$1(Type.tag,readUint16(t,e+1,n),3)}function decodeTag32(t,e,r,n){return new Token$1(Type.tag,readUint32(t,e+1,n),5)}function decodeTag64(t,e,r,n){return new Token$1(Type.tag,readUint64(t,e+1,n),9)}function encodeTag(t,e){encodeUintValue(t,Type.tag.majorEncoded,e.value)}encodeTag.compareTokens=encodeUint.compareTokens;encodeTag.encodedSize=function(e){return encodeUintValue.encodedSize(e.value)};const MINOR_FALSE=20,MINOR_TRUE=21,MINOR_NULL=22,MINOR_UNDEFINED=23;function decodeUndefined(t,e,r,n){if(n.allowUndefined===!1)throw new Error(`${decodeErrPrefix} undefined values are not supported`);return n.coerceUndefinedToNull===!0?new Token$1(Type.null,null,1):new Token$1(Type.undefined,void 0,1)}function decodeBreak(t,e,r,n){if(n.allowIndefinite===!1)throw new Error(`${decodeErrPrefix} indefinite length items not allowed`);return new Token$1(Type.break,void 0,1)}function createToken(t,e,r){if(r){if(r.allowNaN===!1&&Number.isNaN(t))throw new Error(`${decodeErrPrefix} NaN values are not supported`);if(r.allowInfinity===!1&&(t===1/0||t===-1/0))throw new Error(`${decodeErrPrefix} Infinity values are not supported`)}return new Token$1(Type.float,t,e)}function decodeFloat16(t,e,r,n){return createToken(readFloat16(t,e+1),3,n)}function decodeFloat32(t,e,r,n){return createToken(readFloat32(t,e+1),5,n)}function decodeFloat64(t,e,r,n){return createToken(readFloat64(t,e+1),9,n)}function encodeFloat(t,e,r){const n=e.value;if(n===!1)t.push([Type.float.majorEncoded|MINOR_FALSE]);else if(n===!0)t.push([Type.float.majorEncoded|MINOR_TRUE]);else if(n===null)t.push([Type.float.majorEncoded|MINOR_NULL]);else if(n===void 0)t.push([Type.float.majorEncoded|MINOR_UNDEFINED]);else{let o,a=!1;(!r||r.float64!==!0)&&(encodeFloat16(n),o=readFloat16(ui8a,1),n===o||Number.isNaN(n)?(ui8a[0]=249,t.push(ui8a.slice(0,3)),a=!0):(encodeFloat32(n),o=readFloat32(ui8a,1),n===o&&(ui8a[0]=250,t.push(ui8a.slice(0,5)),a=!0))),a||(encodeFloat64(n),o=readFloat64(ui8a,1),ui8a[0]=251,t.push(ui8a.slice(0,9)))}}encodeFloat.encodedSize=function(e,r){const n=e.value;if(n===!1||n===!0||n===null||n===void 0)return 1;if(!r||r.float64!==!0){encodeFloat16(n);let o=readFloat16(ui8a,1);if(n===o||Number.isNaN(n))return 3;if(encodeFloat32(n),o=readFloat32(ui8a,1),n===o)return 5}return 9};const buffer$1=new ArrayBuffer(9),dataView=new DataView(buffer$1,1),ui8a=new Uint8Array(buffer$1,0);function encodeFloat16(t){if(t===1/0)dataView.setUint16(0,31744,!1);else if(t===-1/0)dataView.setUint16(0,64512,!1);else if(Number.isNaN(t))dataView.setUint16(0,32256,!1);else{dataView.setFloat32(0,t);const e=dataView.getUint32(0),r=(e&2139095040)>>23,n=e&8388607;if(r===255)dataView.setUint16(0,31744,!1);else if(r===0)dataView.setUint16(0,(t&2147483648)>>16|n>>13,!1);else{const o=r-127;o<-24?dataView.setUint16(0,0):o<-14?dataView.setUint16(0,(e&2147483648)>>16|1<<24+o,!1):dataView.setUint16(0,(e&2147483648)>>16|o+15<<10|n>>13,!1)}}}function readFloat16(t,e){if(t.length-e<2)throw new Error(`${decodeErrPrefix} not enough data for float16`);const r=(t[e]<<8)+t[e+1];if(r===31744)return 1/0;if(r===64512)return-1/0;if(r===32256)return NaN;const n=r>>10&31,o=r&1023;let a;return n===0?a=o*2**-24:n!==31?a=(o+1024)*2**(n-25):a=o===0?1/0:NaN,r&32768?-a:a}function encodeFloat32(t){dataView.setFloat32(0,t,!1)}function readFloat32(t,e){if(t.length-e<4)throw new Error(`${decodeErrPrefix} not enough data for float32`);const r=(t.byteOffset||0)+e;return new DataView(t.buffer,r,4).getFloat32(0,!1)}function encodeFloat64(t){dataView.setFloat64(0,t,!1)}function readFloat64(t,e){if(t.length-e<8)throw new Error(`${decodeErrPrefix} not enough data for float64`);const r=(t.byteOffset||0)+e;return new DataView(t.buffer,r,8).getFloat64(0,!1)}encodeFloat.compareTokens=encodeUint.compareTokens;function invalidMinor(t,e,r){throw new Error(`${decodeErrPrefix} encountered invalid minor (${r}) for major ${t[e]>>>5}`)}function errorer(t){return()=>{throw new Error(`${decodeErrPrefix} ${t}`)}}const jump=[];for(let t=0;t<=23;t++)jump[t]=invalidMinor;jump[24]=decodeUint8;jump[25]=decodeUint16;jump[26]=decodeUint32;jump[27]=decodeUint64;jump[28]=invalidMinor;jump[29]=invalidMinor;jump[30]=invalidMinor;jump[31]=invalidMinor;for(let t=32;t<=55;t++)jump[t]=invalidMinor;jump[56]=decodeNegint8;jump[57]=decodeNegint16;jump[58]=decodeNegint32;jump[59]=decodeNegint64;jump[60]=invalidMinor;jump[61]=invalidMinor;jump[62]=invalidMinor;jump[63]=invalidMinor;for(let t=64;t<=87;t++)jump[t]=decodeBytesCompact;jump[88]=decodeBytes8;jump[89]=decodeBytes16;jump[90]=decodeBytes32;jump[91]=decodeBytes64;jump[92]=invalidMinor;jump[93]=invalidMinor;jump[94]=invalidMinor;jump[95]=errorer("indefinite length bytes/strings are not supported");for(let t=96;t<=119;t++)jump[t]=decodeStringCompact;jump[120]=decodeString8;jump[121]=decodeString16;jump[122]=decodeString32;jump[123]=decodeString64;jump[124]=invalidMinor;jump[125]=invalidMinor;jump[126]=invalidMinor;jump[127]=errorer("indefinite length bytes/strings are not supported");for(let t=128;t<=151;t++)jump[t]=decodeArrayCompact;jump[152]=decodeArray8;jump[153]=decodeArray16;jump[154]=decodeArray32;jump[155]=decodeArray64;jump[156]=invalidMinor;jump[157]=invalidMinor;jump[158]=invalidMinor;jump[159]=decodeArrayIndefinite;for(let t=160;t<=183;t++)jump[t]=decodeMapCompact;jump[184]=decodeMap8;jump[185]=decodeMap16;jump[186]=decodeMap32;jump[187]=decodeMap64;jump[188]=invalidMinor;jump[189]=invalidMinor;jump[190]=invalidMinor;jump[191]=decodeMapIndefinite;for(let t=192;t<=215;t++)jump[t]=decodeTagCompact;jump[216]=decodeTag8;jump[217]=decodeTag16;jump[218]=decodeTag32;jump[219]=decodeTag64;jump[220]=invalidMinor;jump[221]=invalidMinor;jump[222]=invalidMinor;jump[223]=invalidMinor;for(let t=224;t<=243;t++)jump[t]=errorer("simple values are not supported");jump[244]=invalidMinor;jump[245]=invalidMinor;jump[246]=invalidMinor;jump[247]=decodeUndefined;jump[248]=errorer("simple values are not supported");jump[249]=decodeFloat16;jump[250]=decodeFloat32;jump[251]=decodeFloat64;jump[252]=invalidMinor;jump[253]=invalidMinor;jump[254]=invalidMinor;jump[255]=decodeBreak;const quick=[];for(let t=0;t<24;t++)quick[t]=new Token$1(Type.uint,t,1);for(let t=-1;t>=-24;t--)quick[31-t]=new Token$1(Type.negint,t,1);quick[64]=new Token$1(Type.bytes,new Uint8Array(0),1);quick[96]=new Token$1(Type.string,"",1);quick[128]=new Token$1(Type.array,0,1);quick[160]=new Token$1(Type.map,0,1);quick[244]=new Token$1(Type.false,!1,1);quick[245]=new Token$1(Type.true,!0,1);quick[246]=new Token$1(Type.null,null,1);function quickEncodeToken(t){switch(t.type){case Type.false:return fromArray([244]);case Type.true:return fromArray([245]);case Type.null:return fromArray([246]);case Type.bytes:return t.value.length?void 0:fromArray([64]);case Type.string:return t.value===""?fromArray([96]):void 0;case Type.array:return t.value===0?fromArray([128]):void 0;case Type.map:return t.value===0?fromArray([160]):void 0;case Type.uint:return t.value<24?fromArray([Number(t.value)]):void 0;case Type.negint:if(t.value>=-24)return fromArray([31-Number(t.value)])}}const defaultEncodeOptions={float64:!1,mapSorter,quickEncodeToken};function makeCborEncoders(){const t=[];return t[Type.uint.major]=encodeUint,t[Type.negint.major]=encodeNegint,t[Type.bytes.major]=encodeBytes,t[Type.string.major]=encodeString,t[Type.array.major]=encodeArray,t[Type.map.major]=encodeMap,t[Type.tag.major]=encodeTag,t[Type.float.major]=encodeFloat,t}const cborEncoders=makeCborEncoders(),buf=new Bl;class Ref{constructor(e,r){this.obj=e,this.parent=r}includes(e){let r=this;do if(r.obj===e)return!0;while(r=r.parent);return!1}static createCheck(e,r){if(e&&e.includes(r))throw new Error(`${encodeErrPrefix} object contains circular references`);return new Ref(r,e)}}const simpleTokens={null:new Token$1(Type.null,null),undefined:new Token$1(Type.undefined,void 0),true:new Token$1(Type.true,!0),false:new Token$1(Type.false,!1),emptyArray:new Token$1(Type.array,0),emptyMap:new Token$1(Type.map,0)},typeEncoders={number(t,e,r,n){return!Number.isInteger(t)||!Number.isSafeInteger(t)?new Token$1(Type.float,t):t>=0?new Token$1(Type.uint,t):new Token$1(Type.negint,t)},bigint(t,e,r,n){return t>=BigInt(0)?new Token$1(Type.uint,t):new Token$1(Type.negint,t)},Uint8Array(t,e,r,n){return new Token$1(Type.bytes,t)},string(t,e,r,n){return new Token$1(Type.string,t)},boolean(t,e,r,n){return t?simpleTokens.true:simpleTokens.false},null(t,e,r,n){return simpleTokens.null},undefined(t,e,r,n){return simpleTokens.undefined},ArrayBuffer(t,e,r,n){return new Token$1(Type.bytes,new Uint8Array(t))},DataView(t,e,r,n){return new Token$1(Type.bytes,new Uint8Array(t.buffer,t.byteOffset,t.byteLength))},Array(t,e,r,n){if(!t.length)return r.addBreakTokens===!0?[simpleTokens.emptyArray,new Token$1(Type.break)]:simpleTokens.emptyArray;n=Ref.createCheck(n,t);const o=[];let a=0;for(const u of t)o[a++]=objectToTokens(u,r,n);return r.addBreakTokens?[new Token$1(Type.array,t.length),o,new Token$1(Type.break)]:[new Token$1(Type.array,t.length),o]},Object(t,e,r,n){const o=e!=="Object",a=o?t.keys():Object.keys(t),u=o?t.size:a.length;if(!u)return r.addBreakTokens===!0?[simpleTokens.emptyMap,new Token$1(Type.break)]:simpleTokens.emptyMap;n=Ref.createCheck(n,t);const c=[];let d=0;for(const m of a)c[d++]=[objectToTokens(m,r,n),objectToTokens(o?t.get(m):t[m],r,n)];return sortMapEntries(c,r),r.addBreakTokens?[new Token$1(Type.map,u),c,new Token$1(Type.break)]:[new Token$1(Type.map,u),c]}};typeEncoders.Map=typeEncoders.Object;typeEncoders.Buffer=typeEncoders.Uint8Array;for(const t of"Uint8Clamped Uint16 Uint32 Int8 Int16 Int32 BigUint64 BigInt64 Float32 Float64".split(" "))typeEncoders[`${t}Array`]=typeEncoders.DataView;function objectToTokens(t,e={},r){const n=is(t),o=e&&e.typeEncoders&&e.typeEncoders[n]||typeEncoders[n];if(typeof o=="function"){const u=o(t,n,e,r);if(u!=null)return u}const a=typeEncoders[n];if(!a)throw new Error(`${encodeErrPrefix} unsupported type: ${n}`);return a(t,n,e,r)}function sortMapEntries(t,e){e.mapSorter&&t.sort(e.mapSorter)}function mapSorter(t,e){const r=Array.isArray(t[0])?t[0][0]:t[0],n=Array.isArray(e[0])?e[0][0]:e[0];if(r.type!==n.type)return r.type.compare(n.type);const o=r.type.major,a=cborEncoders[o].compareTokens(r,n);return a===0&&console.warn("WARNING: complex key types used, CBOR key sorting guarantees are gone"),a}function tokensToEncoded(t,e,r,n){if(Array.isArray(e))for(const o of e)tokensToEncoded(t,o,r,n);else r[e.type.major](t,e,n)}function encodeCustom(t,e,r){const n=objectToTokens(t,r);if(!Array.isArray(n)&&r.quickEncodeToken){const o=r.quickEncodeToken(n);if(o)return o;const a=e[n.type.major];if(a.encodedSize){const u=a.encodedSize(n,r),c=new Bl(u);if(a(c,n,r),c.chunks.length!==1)throw new Error(`Unexpected error: pre-calculated length for ${n} was wrong`);return asU8A(c.chunks[0])}}return buf.reset(),tokensToEncoded(buf,n,e,r),buf.toBytes(!0)}function encode$6(t,e){return e=Object.assign({},defaultEncodeOptions,e),encodeCustom(t,cborEncoders,e)}const defaultDecodeOptions={strict:!1,allowIndefinite:!0,allowUndefined:!0,allowBigInt:!0};class Tokeniser{constructor(e,r={}){this.pos=0,this.data=e,this.options=r}done(){return this.pos>=this.data.length}next(){const e=this.data[this.pos];let r=quick[e];if(r===void 0){const n=jump[e];if(!n)throw new Error(`${decodeErrPrefix} no decoder for major type ${e>>>5} (byte 0x${e.toString(16).padStart(2,"0")})`);const o=e&31;r=n(this.data,this.pos,o,this.options)}return this.pos+=r.encodedLength,r}}const DONE=Symbol.for("DONE"),BREAK=Symbol.for("BREAK");function tokenToArray(t,e,r){const n=[];for(let o=0;oencode$6(t,encodeOptions$1),decode$4=t=>decode$5(t,decodeOptions$1),CIDV0_BYTES={SHA2_256:18,LENGTH:32,DAG_PB:112};async function readVarint(t){const e=await t.upTo(8),r=varint$2.decode(e);return t.seek(varint$2.decode.bytes),r}async function readHeader(t){const e=await readVarint(t);if(e===0)throw new Error("Invalid CAR header (zero length)");const r=await t.exactly(e);t.seek(e);const n=decode$4(r);if(n==null||Array.isArray(n)||typeof n!="object")throw new Error("Invalid CAR header format");if(n.version!==1)throw typeof n.version=="string"?new Error(`Invalid CAR version: "${n.version}"`):new Error(`Invalid CAR version: ${n.version}`);if(!Array.isArray(n.roots))throw new Error("Invalid CAR header format");if(Object.keys(n).filter(o=>o!=="roots"&&o!=="version").length)throw new Error("Invalid CAR header format");return n}async function readMultihash(t){const e=await t.upTo(8);varint$2.decode(e);const r=varint$2.decode.bytes,n=varint$2.decode(e.subarray(varint$2.decode.bytes)),o=varint$2.decode.bytes,a=r+o+n,u=await t.exactly(a);return t.seek(a),u}async function readCid(t){const e=await t.exactly(2);if(e[0]===CIDV0_BYTES.SHA2_256&&e[1]===CIDV0_BYTES.LENGTH){const u=await t.exactly(34);t.seek(34);const c=decode$7(u);return CID.create(0,CIDV0_BYTES.DAG_PB,c)}const r=await readVarint(t);if(r!==1)throw new Error(`Unexpected CID version (${r})`);const n=await readVarint(t),o=await readMultihash(t),a=decode$7(o);return CID.create(r,n,a)}async function readBlockHead(t){const e=t.pos;let r=await readVarint(t);if(r===0)throw new Error("Invalid CAR section (zero length)");r+=t.pos-e;const n=await readCid(t),o=r-(t.pos-e);return{cid:n,length:r,blockLength:o}}async function readBlock(t){const{cid:e,blockLength:r}=await readBlockHead(t),n=await t.exactly(r);return t.seek(r),{bytes:n,cid:e}}async function readBlockIndex(t){const e=t.pos,{cid:r,length:n,blockLength:o}=await readBlockHead(t),a={cid:r,length:n,blockLength:o,offset:e,blockOffset:t.pos};return t.seek(a.blockLength),a}function createDecoder(t){const e=readHeader(t);return{header:()=>e,async*blocks(){for(await e;(await t.upTo(8)).length>0;)yield await readBlock(t)},async*blocksIndex(){for(await e;(await t.upTo(8)).length>0;)yield await readBlockIndex(t)}}}function bytesReader(t){let e=0;return{async upTo(r){return t.subarray(e,e+Math.min(r,t.length-e))},async exactly(r){if(r>t.length-e)throw new Error("Unexpected end of data");return t.subarray(e,e+r)},seek(r){e+=r},get pos(){return e}}}function chunkReader(t){let e=0,r=0,n=0,o=new Uint8Array(0);const a=async u=>{r=o.length-n;const c=[o.subarray(n)];for(;rr&&c.push(m.subarray(-r)):c.push(m),r+=m.length}o=new Uint8Array(c.reduce((m,y)=>m+y.length,0));let d=0;for(const m of c)o.set(m,d),d+=m.length;n=0};return{async upTo(u){return o.length-no.cid.toString())}get version(){return this._version}async getRoots(){return this._roots}async has(e){return this._keys.indexOf(e.toString())>-1}async get(e){const r=this._keys.indexOf(e.toString());return r>-1?this._blocks[r]:void 0}async*blocks(){for(const e of this._blocks)yield e}async*cids(){for(const e of this._blocks)yield e.cid}static async fromBytes(e){if(!(e instanceof Uint8Array))throw new TypeError("fromBytes() requires a Uint8Array");return decodeReaderComplete(bytesReader(e))}static async fromIterable(e){if(!e||typeof e[Symbol.asyncIterator]!="function")throw new TypeError("fromIterable() requires an async iterable");return decodeReaderComplete(asyncIterableReader(e))}}async function decodeReaderComplete(t){const e=createDecoder(t),{version:r,roots:n}=await e.header(),o=[];for await(const a of e.blocks())o.push(a);return new CarReader(r,n,o)}function createHeader(t){const e=encode$5({version:1,roots:t}),r=varint$2.encode(e.length),n=new Uint8Array(r.length+e.length);return n.set(r,0),n.set(e,r.length),n}function createEncoder(t){return{async setRoots(e){const r=createHeader(e);await t.write(r)},async writeBlock(e){const{cid:r,bytes:n}=e;await t.write(new Uint8Array(varint$2.encode(r.bytes.length+n.length))),await t.write(r.bytes),n.length&&await t.write(n)},async close(){return t.end()}}}function noop$1(){}function create$3(){const t=[];let e=null,r=noop$1,n=!1,o=null,a=noop$1;const u=()=>(e||(e=new Promise(m=>{r=()=>{e=null,r=noop$1,m()}})),e),c={write(m){t.push(m);const y=u();return a(),y},async end(){n=!0;const m=u();return a(),m}},d={async next(){const m=t.shift();return m?(t.length===0&&r(),{done:!1,value:m}):n?(r(),{done:!0,value:void 0}):(o||(o=new Promise(y=>{a=()=>(o=null,a=noop$1,y(d.next()))})),o)}};return{writer:c,iterator:d}}class CarWriter{constructor(e,r){this._encoder=r,this._mutex=r.setRoots(e),this._ended=!1}async put(e){if(!(e.bytes instanceof Uint8Array)||!e.cid)throw new TypeError("Can only write {cid, bytes} objects");if(this._ended)throw new Error("Already closed");const r=CID.asCID(e.cid);if(!r)throw new TypeError("Can only write {cid, bytes} objects");return this._mutex=this._mutex.then(()=>this._encoder.writeBlock({cid:r,bytes:e.bytes})),this._mutex}async close(){if(this._ended)throw new Error("Already closed");return await this._mutex,this._ended=!0,this._encoder.close()}static create(e){e=toRoots(e);const{encoder:r,iterator:n}=encodeWriter(),o=new CarWriter(e,r),a=new CarWriterOut(n);return{writer:o,out:a}}static createAppender(){const{encoder:e,iterator:r}=encodeWriter();e.setRoots=()=>Promise.resolve();const n=new CarWriter([],e),o=new CarWriterOut(r);return{writer:n,out:o}}static async updateRootsInBytes(e,r){const n=bytesReader(e);await readHeader(n);const o=createHeader(r);if(n.pos!==o.length)throw new Error(`updateRoots() can only overwrite a header of the same length (old header is ${n.pos} bytes, new header is ${o.length} bytes)`);return e.set(o,0),e}}class CarWriterOut{constructor(e){this._iterator=e}[Symbol.asyncIterator](){if(this._iterating)throw new Error("Multiple iterator not supported");return this._iterating=!0,this._iterator}}function encodeWriter(){const t=create$3(),{writer:e,iterator:r}=t;return{encoder:createEncoder(e),iterator:r}}function toRoots(t){if(t===void 0)return[];if(!Array.isArray(t)){const r=CID.asCID(t);if(!r)throw new TypeError("roots must be a single CID or an array of CIDs");return[r]}const e=[];for(const r of t){const n=CID.asCID(r);if(!n)throw new TypeError("roots must be a single CID or an array of CIDs");e.push(n)}return e}const from=({name:t,code:e,encode:r})=>new Hasher(t,e,r);class Hasher{constructor(e,r,n){this.name=e,this.code=r,this.encode=n}digest(e){if(e instanceof Uint8Array){const r=this.encode(e);return r instanceof Uint8Array?create$4(this.code,r):r.then(n=>create$4(this.code,n))}else throw Error("Unknown type, must be binary type")}}const readonly=({enumerable:t=!0,configurable:e=!1}={})=>({enumerable:t,configurable:e,writable:!1}),links=function*(t,e){if(t!=null&&!(t instanceof Uint8Array))for(const[r,n]of Object.entries(t)){const o=[...e,r];if(n!=null&&typeof n=="object")if(Array.isArray(n))for(const[a,u]of n.entries()){const c=[...o,a],d=CID.asCID(u);d?yield[c.join("/"),d]:typeof u=="object"&&(yield*links(u,c))}else{const a=CID.asCID(n);a?yield[o.join("/"),a]:yield*links(n,o)}}},tree=function*(t,e){if(t!=null)for(const[r,n]of Object.entries(t)){const o=[...e,r];if(yield o.join("/"),n!=null&&!(n instanceof Uint8Array)&&typeof n=="object"&&!CID.asCID(n))if(Array.isArray(n))for(const[a,u]of n.entries()){const c=[...o,a];yield c.join("/"),typeof u=="object"&&!CID.asCID(u)&&(yield*tree(u,c))}else yield*tree(n,o)}},get=(t,e)=>{let r=t;for(const[n,o]of e.entries()){if(r=r[o],r==null)throw new Error(`Object has no property at ${e.slice(0,n+1).map(u=>`[${JSON.stringify(u)}]`).join("")}`);const a=CID.asCID(r);if(a)return{value:a,remaining:e.slice(n+1).join("/")}}return{value:r}};class Block{constructor({cid:e,bytes:r,value:n}){if(!e||!r||typeof n>"u")throw new Error("Missing required argument");this.cid=e,this.bytes=r,this.value=n,this.asBlock=this,Object.defineProperties(this,{cid:readonly(),bytes:readonly(),value:readonly(),asBlock:readonly()})}links(){return links(this.value,[])}tree(){return tree(this.value,[])}get(e="/"){return get(this.value,e.split("/").filter(Boolean))}}const encode$4=async({value:t,codec:e,hasher:r})=>{if(typeof t>"u")throw new Error('Missing required argument "value"');if(!e||!r)throw new Error("Missing required argument: codec or hasher");const n=e.encode(t),o=await r.digest(n),a=CID.create(1,e.code,o);return new Block({value:t,bytes:n,cid:a})},name$2="raw",code$3=85,encode$3=t=>coerce(t),decode$3=t=>coerce(t),raw=Object.freeze(Object.defineProperty({__proto__:null,code:code$3,decode:decode$3,encode:encode$3,name:name$2},Symbol.toStringTag,{value:"Module"})),CID_CBOR_TAG=42;function cidEncoder(t){if(t.asCID!==t)return null;const e=CID.asCID(t);if(!e)return null;const r=new Uint8Array(e.bytes.byteLength+1);return r.set(e.bytes,1),[new Token$1(Type.tag,CID_CBOR_TAG),new Token$1(Type.bytes,r)]}function undefinedEncoder(){throw new Error("`undefined` is not supported by the IPLD Data Model and cannot be encoded")}function numberEncoder(t){if(Number.isNaN(t))throw new Error("`NaN` is not supported by the IPLD Data Model and cannot be encoded");if(t===1/0||t===-1/0)throw new Error("`Infinity` and `-Infinity` is not supported by the IPLD Data Model and cannot be encoded");return null}const encodeOptions={float64:!0,typeEncoders:{Object:cidEncoder,undefined:undefinedEncoder,number:numberEncoder}};function cidDecoder(t){if(t[0]!==0)throw new Error("Invalid CID for CBOR tag 42; expected leading 0x00");return CID.decode(t.subarray(1))}const decodeOptions={allowIndefinite:!1,allowUndefined:!1,allowNaN:!1,allowInfinity:!1,allowBigInt:!0,strict:!0,useMaps:!1,tags:[]};decodeOptions.tags[CID_CBOR_TAG]=cidDecoder;const name$1="dag-cbor",code$2=113,encode$2=t=>encode$6(t,encodeOptions),decode$2=t=>decode$5(t,decodeOptions),dagCbor=Object.freeze(Object.defineProperty({__proto__:null,code:code$2,decode:decode$2,encode:encode$2,name:name$1},Symbol.toStringTag,{value:"Module"})),textDecoder=new TextDecoder;function decodeVarint(t,e){let r=0;for(let n=0;;n+=7){if(n>=64)throw new Error("protobuf: varint overflow");if(e>=t.length)throw new Error("protobuf: unexpected end of data");const o=t[e++];if(r+=n<28?(o&127)<t.length)throw new Error("protobuf: unexpected end of data");return[t.subarray(e,n),n]}function decodeKey(t,e){let r;return[r,e]=decodeVarint(t,e),[r&7,r>>3,e]}function decodeLink(t){const e={},r=t.length;let n=0;for(;nr)throw new Error("protobuf: (PBLink) unexpected end of data");return e}function decodeNode(t){const e=t.length;let r=0,n,o=!1,a;for(;re)throw new Error("protobuf: (PBNode) unexpected end of data");const u={};return a&&(u.Data=a),u.Links=n||[],u}const textEncoder$1=new TextEncoder,maxInt32=2**32,maxUInt32=2**31;function encodeLink(t,e){let r=e.length;if(typeof t.Tsize=="number"){if(t.Tsize<0)throw new Error("Tsize cannot be negative");if(!Number.isSafeInteger(t.Tsize))throw new Error("Tsize too large for encoding");r=encodeVarint(e,r,t.Tsize)-1,e[r]=24}if(typeof t.Name=="string"){const n=textEncoder$1.encode(t.Name);r-=n.length,e.set(n,r),r=encodeVarint(e,r,n.length)-1,e[r]=18}return t.Hash&&(r-=t.Hash.length,e.set(t.Hash,r),r=encodeVarint(e,r,t.Hash.length)-1,e[r]=10),e.length-r}function encodeNode(t){const e=sizeNode(t),r=new Uint8Array(e);let n=e;if(t.Data&&(n-=t.Data.length,r.set(t.Data,n),n=encodeVarint(r,n,t.Data.length)-1,r[n]=10),t.Links)for(let o=t.Links.length-1;o>=0;o--){const a=encodeLink(t.Links[o],r.subarray(0,n));n-=a,n=encodeVarint(r,n,a)-1,r[n]=18}return r}function sizeLink(t){let e=0;if(t.Hash){const r=t.Hash.length;e+=1+r+sov(r)}if(typeof t.Name=="string"){const r=textEncoder$1.encode(t.Name).length;e+=1+r+sov(r)}return typeof t.Tsize=="number"&&(e+=1+sov(t.Tsize)),e}function sizeNode(t){let e=0;if(t.Data){const r=t.Data.length;e+=1+r+sov(r)}if(t.Links)for(const r of t.Links){const n=sizeLink(r);e+=1+n+sov(n)}return e}function encodeVarint(t,e,r){e-=sov(r);const n=e;for(;r>=maxUInt32;)t[e++]=r&127|128,r/=128;for(;r>=128;)t[e++]=r&127|128,r>>>=7;return t[e]=r,n}function sov(t){return t%2===0&&t++,Math.floor((len64(t)+6)/7)}function len64(t){let e=0;return t>=maxInt32&&(t=Math.floor(t/maxInt32),e=32),t>=65536&&(t>>>=16,e+=16),t>=256&&(t>>>=8,e+=8),e+len8tab[t]}const len8tab=[0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8],pbNodeProperties=["Data","Links"],pbLinkProperties=["Hash","Name","Tsize"],textEncoder=new TextEncoder;function linkComparator(t,e){if(t===e)return 0;const r=t.Name?textEncoder.encode(t.Name):[],n=e.Name?textEncoder.encode(e.Name):[];let o=r.length,a=n.length;for(let u=0,c=Math.min(o,a);u!e.includes(r))}function asLink(t){if(typeof t.asCID=="object"){const r=CID.asCID(t);if(!r)throw new TypeError("Invalid DAG-PB form");return{Hash:r}}if(typeof t!="object"||Array.isArray(t))throw new TypeError("Invalid DAG-PB form");const e={};if(t.Hash){let r=CID.asCID(t.Hash);try{r||(typeof t.Hash=="string"?r=CID.parse(t.Hash):t.Hash instanceof Uint8Array&&(r=CID.decode(t.Hash)))}catch(n){throw new TypeError(`Invalid DAG-PB form: ${n.message}`)}r&&(e.Hash=r)}if(!e.Hash)throw new TypeError("Invalid DAG-PB form");return typeof t.Name=="string"&&(e.Name=t.Name),typeof t.Tsize=="number"&&(e.Tsize=t.Tsize),e}function prepare(t){if((t instanceof Uint8Array||typeof t=="string")&&(t={Data:t}),typeof t!="object"||Array.isArray(t))throw new TypeError("Invalid DAG-PB form");const e={};if(t.Data!==void 0)if(typeof t.Data=="string")e.Data=textEncoder.encode(t.Data);else if(t.Data instanceof Uint8Array)e.Data=t.Data;else throw new TypeError("Invalid DAG-PB form");if(t.Links!==void 0)if(Array.isArray(t.Links))e.Links=t.Links.map(asLink),e.Links.sort(linkComparator);else throw new TypeError("Invalid DAG-PB form");else e.Links=[];return e}function validate(t){if(!t||typeof t!="object"||Array.isArray(t))throw new TypeError("Invalid DAG-PB form");if(!hasOnlyProperties(t,pbNodeProperties))throw new TypeError("Invalid DAG-PB form (extraneous properties)");if(t.Data!==void 0&&!(t.Data instanceof Uint8Array))throw new TypeError("Invalid DAG-PB form (Data must be a Uint8Array)");if(!Array.isArray(t.Links))throw new TypeError("Invalid DAG-PB form (Links must be an array)");for(let e=0;e0&&linkComparator(r,t.Links[e-1])===-1)throw new TypeError("Invalid DAG-PB form (links must be sorted by Name bytes)")}}function createNode(t,e=[]){return prepare({Data:t,Links:e})}function createLink(t,e,r){return asLink({Hash:r,Name:t,Tsize:e})}const name="dag-pb",code$1=112;function encode$1(t){validate(t);const e={};return t.Links&&(e.Links=t.Links.map(r=>{const n={};return r.Hash&&(n.Hash=r.Hash.bytes),r.Name!==void 0&&(n.Name=r.Name),r.Tsize!==void 0&&(n.Tsize=r.Tsize),n})),t.Data&&(e.Data=t.Data),encodeNode(e)}function decode$1(t){const e=decodeNode(t),r={};return e.Data&&(r.Data=e.Data),e.Links&&(r.Links=e.Links.map(n=>{const o={};try{o.Hash=CID.decode(n.Hash)}catch{}if(!o.Hash)throw new Error("Invalid Hash field found in link, expected CID");return n.Name!==void 0&&(o.Name=n.Name),n.Tsize!==void 0&&(o.Tsize=n.Tsize),o})),r}const dagPb=Object.freeze(Object.defineProperty({__proto__:null,code:code$1,createLink,createNode,decode:decode$1,encode:encode$1,name,prepare,validate},Symbol.toStringTag,{value:"Module"}));class TreewalkCarSplitter{constructor(e,r,n={}){if(typeof r!="number"||r<=0)throw new Error("invalid target chunk size");this._reader=e,this._targetSize=r,this._decoders=[dagPb,raw,dagCbor,...n.decoders||[]]}async*cars(){const e=await this._reader.getRoots();if(e.length!==1)throw new Error(`unexpected number of roots: ${e.length}`);let r;for await(const n of this._cars(e[0]))r=n.channel,n.out&&(yield n.out);if(!r)throw new Error("missing CAR writer channel");r.writer.close(),yield r.out}async _get(e){const r=await this._reader.get(e);if(!r)throw new Error(`missing block for ${e}`);const{bytes:n}=r,o=this._decoders.find(a=>a.code===e.code);if(!o)throw new Error(`missing decoder for ${e.code}`);return new Block({cid:e,bytes:n,value:o.decode(n)})}async*_cars(e,r=[],n=void 0){const o=await this._get(e);if(n=n||Object.assign(CarWriter.create(e),{size:0}),n.size>0&&n.size+o.bytes.byteLength>=this._targetSize){n.writer.close();const{out:a}=n;n=newCar(r),yield{channel:n,out:a}}r=r.concat(o),n.size+=o.bytes.byteLength,n.writer.put(o);for(const[,a]of o.links())for await(const u of this._cars(a,r,n))n=u.channel,yield u;if(!n)throw new Error("missing CAR writer channel");yield{channel:n}}static async fromIterable(e,r,n){const o=await CarReader.fromIterable(e);return new TreewalkCarSplitter(o,r,n)}static async fromBlob(e,r,n){const o=await e.arrayBuffer(),a=await CarReader.fromBytes(new Uint8Array(o));return new TreewalkCarSplitter(a,r,n)}}function newCar(t){const e=Object.assign(CarWriter.create(t[0].cid),{size:t.reduce((r,n)=>r+n.bytes.byteLength,0)});for(const r of t)e.writer.put(r);return e}const last=async t=>{let e;for await(const r of t)e=r;return e};var itLast=last;const last$1=getDefaultExportFromCjs(itLast);var itPipe={exports:{}};const rawPipe=(...t)=>{let e;for(;t.length;)e=t.shift()(e);return e},isIterable$1=t=>t&&(typeof t[Symbol.asyncIterator]=="function"||typeof t[Symbol.iterator]=="function"||typeof t.next=="function"),isDuplex=t=>t&&typeof t.sink=="function"&&isIterable$1(t.source),duplexPipelineFn=t=>e=>(t.sink(e),t.source),pipe=(...t)=>{if(isDuplex(t[0])){const e=t[0];t[0]=()=>e.source}else if(isIterable$1(t[0])){const e=t[0];t[0]=()=>e}if(t.length>1&&isDuplex(t[t.length-1])&&(t[t.length-1]=t[t.length-1].sink),t.length>2)for(let e=1;e=e;)yield r.slice(0,e),r=r.slice(e);for(;r.length;)yield r.slice(0,e),r=r.slice(e)}var itBatch=batch$1;const batch$2=getDefaultExportFromCjs(itBatch),batch=itBatch;async function*parallelBatch(t,e=1){for await(const r of batch(t,e)){const n=r.map(o=>o().then(a=>({ok:!0,value:a}),a=>({ok:!1,err:a})));for(let o=0;o{if(Object.prototype.toString.call(t)!=="[object Object]")return!1;const e=Object.getPrototypeOf(t);return e===null||e===Object.prototype};const isOptionObject=isPlainObj,{hasOwnProperty}=Object.prototype,{propertyIsEnumerable}=Object,defineProperty=(t,e,r)=>Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!0,configurable:!0}),globalThis$1=commonjsGlobal,defaultMergeOptions={concatArrays:!1,ignoreUndefined:!1},getEnumerableOwnPropertyKeys=t=>{const e=[];for(const r in t)hasOwnProperty.call(t,r)&&e.push(r);if(Object.getOwnPropertySymbols){const r=Object.getOwnPropertySymbols(t);for(const n of r)propertyIsEnumerable.call(t,n)&&e.push(n)}return e};function clone(t){return Array.isArray(t)?cloneArray(t):isOptionObject(t)?cloneOptionObject(t):t}function cloneArray(t){const e=t.slice(0,0);return getEnumerableOwnPropertyKeys(t).forEach(r=>{defineProperty(e,r,clone(t[r]))}),e}function cloneOptionObject(t){const e=Object.getPrototypeOf(t)===null?Object.create(null):{};return getEnumerableOwnPropertyKeys(t).forEach(r=>{defineProperty(e,r,clone(t[r]))}),e}const mergeKeys=(t,e,r,n)=>(r.forEach(o=>{typeof e[o]>"u"&&n.ignoreUndefined||(o in t&&t[o]!==Object.getPrototypeOf(t)?defineProperty(t,o,merge(t[o],e[o],n)):defineProperty(t,o,clone(e[o])))}),t),concatArrays=(t,e,r)=>{let n=t.slice(0,0),o=0;return[t,e].forEach(a=>{const u=[];for(let c=0;c!u.includes(c)),r)}),n};function merge(t,e,r){return r.concatArrays&&Array.isArray(t)&&Array.isArray(e)?concatArrays(t,e,r):!isOptionObject(e)||!isOptionObject(t)?clone(e):mergeKeys(t,e,getEnumerableOwnPropertyKeys(e),r)}var mergeOptions=function(...t){const e=merge(clone(defaultMergeOptions),this!==globalThis$1&&this||{},defaultMergeOptions);let r={_:{}};for(const n of t)if(n!==void 0){if(!isOptionObject(n))throw new TypeError("`"+n+"` is not an Option Object");r=merge(r,{_:n},e)}return r._};const mergeOptions$1=getDefaultExportFromCjs(mergeOptions),sha=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),sha256=from({name:"sha2-256",code:18,encode:sha("SHA-256")});var murmurHash3js={exports:{}};(function(t,e){(function(r,n){var o={version:"3.0.0",x86:{},x64:{},inputValidation:!0};function a(h){if(!Array.isArray(h)&&!ArrayBuffer.isView(h))return!1;for(var E=0;E255)return!1;return!0}function u(h,E){return(h&65535)*E+(((h>>>16)*E&65535)<<16)}function c(h,E){return h<>>32-E}function d(h){return h^=h>>>16,h=u(h,2246822507),h^=h>>>13,h=u(h,3266489909),h^=h>>>16,h}function m(h,E){h=[h[0]>>>16,h[0]&65535,h[1]>>>16,h[1]&65535],E=[E[0]>>>16,E[0]&65535,E[1]>>>16,E[1]&65535];var B=[0,0,0,0];return B[3]+=h[3]+E[3],B[2]+=B[3]>>>16,B[3]&=65535,B[2]+=h[2]+E[2],B[1]+=B[2]>>>16,B[2]&=65535,B[1]+=h[1]+E[1],B[0]+=B[1]>>>16,B[1]&=65535,B[0]+=h[0]+E[0],B[0]&=65535,[B[0]<<16|B[1],B[2]<<16|B[3]]}function y(h,E){h=[h[0]>>>16,h[0]&65535,h[1]>>>16,h[1]&65535],E=[E[0]>>>16,E[0]&65535,E[1]>>>16,E[1]&65535];var B=[0,0,0,0];return B[3]+=h[3]*E[3],B[2]+=B[3]>>>16,B[3]&=65535,B[2]+=h[2]*E[3],B[1]+=B[2]>>>16,B[2]&=65535,B[2]+=h[3]*E[2],B[1]+=B[2]>>>16,B[2]&=65535,B[1]+=h[1]*E[3],B[0]+=B[1]>>>16,B[1]&=65535,B[1]+=h[2]*E[2],B[0]+=B[1]>>>16,B[1]&=65535,B[1]+=h[3]*E[1],B[0]+=B[1]>>>16,B[1]&=65535,B[0]+=h[0]*E[3]+h[1]*E[2]+h[2]*E[1]+h[3]*E[0],B[0]&=65535,[B[0]<<16|B[1],B[2]<<16|B[3]]}function D(h,E){return E%=64,E===32?[h[1],h[0]]:E<32?[h[0]<>>32-E,h[1]<>>32-E]:(E-=32,[h[1]<>>32-E,h[0]<>>32-E])}function T(h,E){return E%=64,E===0?h:E<32?[h[0]<>>32-E,h[1]<>>1]),h=y(h,[4283543511,3981806797]),h=w(h,[0,h[0]>>>1]),h=y(h,[3301882366,444984403]),h=w(h,[0,h[0]>>>1]),h}o.x86.hash32=function(h,E){if(o.inputValidation&&!a(h))return n;E=E||0;for(var B=h.length%4,O=h.length-B,k=E,S=0,A=3432918353,$=461845907,v=0;v>>0},o.x86.hash128=function(h,E){if(o.inputValidation&&!a(h))return n;E=E||0;for(var B=h.length%16,O=h.length-B,k=E,S=E,A=E,$=E,v=0,C=0,I=0,F=0,K=597399067,G=2869860233,re=951274213,q=2716044179,U=0;U>>0).toString(16)).slice(-8)+("00000000"+(S>>>0).toString(16)).slice(-8)+("00000000"+(A>>>0).toString(16)).slice(-8)+("00000000"+($>>>0).toString(16)).slice(-8)},o.x64.hash128=function(h,E){if(o.inputValidation&&!a(h))return n;E=E||0;for(var B=h.length%16,O=h.length-B,k=[0,E],S=[0,E],A=[0,0],$=[0,0],v=[2277735313,289559509],C=[1291169091,658871167],I=0;I>>0).toString(16)).slice(-8)+("00000000"+(k[1]>>>0).toString(16)).slice(-8)+("00000000"+(S[0]>>>0).toString(16)).slice(-8)+("00000000"+(S[1]>>>0).toString(16)).slice(-8)},t.exports&&(e=t.exports=o),e.murmurHash3=o})()})(murmurHash3js,murmurHash3js.exports);var murmurHash3jsExports=murmurHash3js.exports,murmurhash3jsRevisited=murmurHash3jsExports;const mur=getDefaultExportFromCjs(murmurhash3jsRevisited),murmur3128=from({name:"murmur3-128",code:34,encode:t=>fromHex(mur.x64.hash128(t))});async function hamtHashFn(t){return(await murmur3128.encode(t)).slice(0,8).reverse()}const defaultOptions={chunker:"fixed",strategy:"balanced",rawLeaves:!1,onlyHash:!1,reduceSingleLeafToSelf:!0,hasher:sha256,leafType:"file",cidVersion:0,progress:()=>()=>{},shardSplitThreshold:1e3,fileImportConcurrency:50,blockWriteConcurrency:10,minChunkSize:262144,maxChunkSize:262144,avgChunkSize:262144,window:16,polynomial:0x3df305dfb2a804,maxChildrenPerNode:174,layerRepeat:4,wrapWithDirectory:!1,recursive:!1,hidden:!1,timeout:void 0,hamtHashFn,hamtHashCode:34,hamtBucketBits:8},defaultOptions$1=(t={})=>mergeOptions$1.bind({ignoreUndefined:!0})(defaultOptions,t);function assign(t,e){for(const r in e)Object.defineProperty(t,r,{value:e[r],enumerable:!0,configurable:!0});return t}function createError(t,e,r){if(!t||typeof t=="string")throw new TypeError("Please pass an Error to err-code");r||(r={}),typeof e=="object"&&(r=e,e=""),e&&(r.code=e);try{return assign(t,r)}catch{r.message=t.message,r.stack=t.stack;const o=function(){};return o.prototype=Object.create(Object.getPrototypeOf(t)),assign(new o,r)}}var errCode=createError;const errCode$1=getDefaultExportFromCjs(errCode);var indexMinimal={},minimal$1={},aspromise,hasRequiredAspromise;function requireAspromise(){if(hasRequiredAspromise)return aspromise;hasRequiredAspromise=1,aspromise=t;function t(e,r){for(var n=new Array(arguments.length-1),o=0,a=2,u=!0;a1&&c.charAt(d)==="=";)++m;return Math.ceil(c.length*3)/4-m};for(var r=new Array(64),n=new Array(123),o=0;o<64;)n[r[o]=o<26?o+65:o<52?o+71:o<62?o-4:o-59|43]=o++;e.encode=function(c,d,m){for(var y=null,D=[],T=0,w=0,_;d>2],_=(h&3)<<4,w=1;break;case 1:D[T++]=r[_|h>>4],_=(h&15)<<2,w=2;break;case 2:D[T++]=r[_|h>>6],D[T++]=r[h&63],w=0;break}T>8191&&((y||(y=[])).push(String.fromCharCode.apply(String,D)),T=0)}return w&&(D[T++]=r[_],D[T++]=61,w===1&&(D[T++]=61)),y?(T&&y.push(String.fromCharCode.apply(String,D.slice(0,T))),y.join("")):String.fromCharCode.apply(String,D.slice(0,T))};var a="invalid encoding";e.decode=function(c,d,m){for(var y=m,D=0,T,w=0;w1)break;if((_=n[_])===void 0)throw Error(a);switch(D){case 0:T=_,D=1;break;case 1:d[m++]=T<<2|(_&48)>>4,T=_,D=2;break;case 2:d[m++]=(T&15)<<4|(_&60)>>2,T=_,D=3;break;case 3:d[m++]=(T&3)<<6|_,D=0;break}}if(D===1)throw Error(a);return m-y},e.test=function(c){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(c)}}(base64$3)),base64$3}var eventemitter,hasRequiredEventemitter;function requireEventemitter(){if(hasRequiredEventemitter)return eventemitter;hasRequiredEventemitter=1,eventemitter=t;function t(){this._listeners={}}return t.prototype.on=function(r,n,o){return(this._listeners[r]||(this._listeners[r]=[])).push({fn:n,ctx:o||this}),this},t.prototype.off=function(r,n){if(r===void 0)this._listeners={};else if(n===void 0)this._listeners[r]=[];else for(var o=this._listeners[r],a=0;a0?0:2147483648,y,D);else if(isNaN(m))d(2143289344,y,D);else if(m>34028234663852886e22)d((T<<31|2139095040)>>>0,y,D);else if(m<11754943508222875e-54)d((T<<31|Math.round(m/1401298464324817e-60))>>>0,y,D);else{var w=Math.floor(Math.log(m)/Math.LN2),_=Math.round(m*Math.pow(2,-w)*8388608)&8388607;d((T<<31|w+127<<23|_)>>>0,y,D)}}a.writeFloatLE=u.bind(null,e),a.writeFloatBE=u.bind(null,r);function c(d,m,y){var D=d(m,y),T=(D>>31)*2+1,w=D>>>23&255,_=D&8388607;return w===255?_?NaN:T*(1/0):w===0?T*1401298464324817e-60*_:T*Math.pow(2,w-150)*(_+8388608)}a.readFloatLE=c.bind(null,n),a.readFloatBE=c.bind(null,o)}(),typeof Float64Array<"u"?function(){var u=new Float64Array([-0]),c=new Uint8Array(u.buffer),d=c[7]===128;function m(w,_,h){u[0]=w,_[h]=c[0],_[h+1]=c[1],_[h+2]=c[2],_[h+3]=c[3],_[h+4]=c[4],_[h+5]=c[5],_[h+6]=c[6],_[h+7]=c[7]}function y(w,_,h){u[0]=w,_[h]=c[7],_[h+1]=c[6],_[h+2]=c[5],_[h+3]=c[4],_[h+4]=c[3],_[h+5]=c[2],_[h+6]=c[1],_[h+7]=c[0]}a.writeDoubleLE=d?m:y,a.writeDoubleBE=d?y:m;function D(w,_){return c[0]=w[_],c[1]=w[_+1],c[2]=w[_+2],c[3]=w[_+3],c[4]=w[_+4],c[5]=w[_+5],c[6]=w[_+6],c[7]=w[_+7],u[0]}function T(w,_){return c[7]=w[_],c[6]=w[_+1],c[5]=w[_+2],c[4]=w[_+3],c[3]=w[_+4],c[2]=w[_+5],c[1]=w[_+6],c[0]=w[_+7],u[0]}a.readDoubleLE=d?D:T,a.readDoubleBE=d?T:D}():function(){function u(d,m,y,D,T,w){var _=D<0?1:0;if(_&&(D=-D),D===0)d(0,T,w+m),d(1/D>0?0:2147483648,T,w+y);else if(isNaN(D))d(0,T,w+m),d(2146959360,T,w+y);else if(D>17976931348623157e292)d(0,T,w+m),d((_<<31|2146435072)>>>0,T,w+y);else{var h;if(D<22250738585072014e-324)h=D/5e-324,d(h>>>0,T,w+m),d((_<<31|h/4294967296)>>>0,T,w+y);else{var E=Math.floor(Math.log(D)/Math.LN2);E===1024&&(E=1023),h=D*Math.pow(2,-E),d(h*4503599627370496>>>0,T,w+m),d((_<<31|E+1023<<20|h*1048576&1048575)>>>0,T,w+y)}}}a.writeDoubleLE=u.bind(null,e,0,4),a.writeDoubleBE=u.bind(null,r,4,0);function c(d,m,y,D,T){var w=d(D,T+m),_=d(D,T+y),h=(_>>31)*2+1,E=_>>>20&2047,B=4294967296*(_&1048575)+w;return E===2047?B?NaN:h*(1/0):E===0?h*5e-324*B:h*Math.pow(2,E-1075)*(B+4503599627370496)}a.readDoubleLE=c.bind(null,n,0,4),a.readDoubleBE=c.bind(null,o,4,0)}(),a}function e(a,u,c){u[c]=a&255,u[c+1]=a>>>8&255,u[c+2]=a>>>16&255,u[c+3]=a>>>24}function r(a,u,c){u[c]=a>>>24,u[c+1]=a>>>16&255,u[c+2]=a>>>8&255,u[c+3]=a&255}function n(a,u){return(a[u]|a[u+1]<<8|a[u+2]<<16|a[u+3]<<24)>>>0}function o(a,u){return(a[u]<<24|a[u+1]<<16|a[u+2]<<8|a[u+3])>>>0}return float}var inquire_1,hasRequiredInquire;function requireInquire(){if(hasRequiredInquire)return inquire_1;hasRequiredInquire=1,inquire_1=inquire;function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(t){}return null}return inquire_1}var utf8$2={},hasRequiredUtf8;function requireUtf8(){return hasRequiredUtf8||(hasRequiredUtf8=1,function(t){var e=t;e.length=function(n){for(var o=0,a=0,u=0;u191&&y<224?d[m++]=(y&31)<<6|n[o++]&63:y>239&&y<365?(y=((y&7)<<18|(n[o++]&63)<<12|(n[o++]&63)<<6|n[o++]&63)-65536,d[m++]=55296+(y>>10),d[m++]=56320+(y&1023)):d[m++]=(y&15)<<12|(n[o++]&63)<<6|n[o++]&63,m>8191&&((c||(c=[])).push(String.fromCharCode.apply(String,d)),m=0);return c?(m&&c.push(String.fromCharCode.apply(String,d.slice(0,m))),c.join("")):String.fromCharCode.apply(String,d.slice(0,m))},e.write=function(n,o,a){for(var u=a,c,d,m=0;m>6|192,o[a++]=c&63|128):(c&64512)===55296&&((d=n.charCodeAt(m+1))&64512)===56320?(c=65536+((c&1023)<<10)+(d&1023),++m,o[a++]=c>>18|240,o[a++]=c>>12&63|128,o[a++]=c>>6&63|128,o[a++]=c&63|128):(o[a++]=c>>12|224,o[a++]=c>>6&63|128,o[a++]=c&63|128);return a-u}}(utf8$2)),utf8$2}var pool_1,hasRequiredPool;function requirePool(){if(hasRequiredPool)return pool_1;hasRequiredPool=1,pool_1=t;function t(e,r,n){var o=n||8192,a=o>>>1,u=null,c=o;return function(m){if(m<1||m>a)return e(m);c+m>o&&(u=e(o),c=0);var y=r.call(u,c,c+=m);return c&7&&(c=(c|7)+1),y}}return pool_1}var longbits,hasRequiredLongbits;function requireLongbits(){if(hasRequiredLongbits)return longbits;hasRequiredLongbits=1,longbits=e;var t=requireMinimal();function e(a,u){this.lo=a>>>0,this.hi=u>>>0}var r=e.zero=new e(0,0);r.toNumber=function(){return 0},r.zzEncode=r.zzDecode=function(){return this},r.length=function(){return 1};var n=e.zeroHash="\0\0\0\0\0\0\0\0";e.fromNumber=function(u){if(u===0)return r;var c=u<0;c&&(u=-u);var d=u>>>0,m=(u-d)/4294967296>>>0;return c&&(m=~m>>>0,d=~d>>>0,++d>4294967295&&(d=0,++m>4294967295&&(m=0))),new e(d,m)},e.from=function(u){if(typeof u=="number")return e.fromNumber(u);if(t.isString(u))if(t.Long)u=t.Long.fromString(u);else return e.fromNumber(parseInt(u,10));return u.low||u.high?new e(u.low>>>0,u.high>>>0):r},e.prototype.toNumber=function(u){if(!u&&this.hi>>>31){var c=~this.lo+1>>>0,d=~this.hi>>>0;return c||(d=d+1>>>0),-(c+d*4294967296)}return this.lo+this.hi*4294967296},e.prototype.toLong=function(u){return t.Long?new t.Long(this.lo|0,this.hi|0,!!u):{low:this.lo|0,high:this.hi|0,unsigned:!!u}};var o=String.prototype.charCodeAt;return e.fromHash=function(u){return u===n?r:new e((o.call(u,0)|o.call(u,1)<<8|o.call(u,2)<<16|o.call(u,3)<<24)>>>0,(o.call(u,4)|o.call(u,5)<<8|o.call(u,6)<<16|o.call(u,7)<<24)>>>0)},e.prototype.toHash=function(){return String.fromCharCode(this.lo&255,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,this.hi&255,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},e.prototype.zzEncode=function(){var u=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^u)>>>0,this.lo=(this.lo<<1^u)>>>0,this},e.prototype.zzDecode=function(){var u=-(this.lo&1);return this.lo=((this.lo>>>1|this.hi<<31)^u)>>>0,this.hi=(this.hi>>>1^u)>>>0,this},e.prototype.length=function(){var u=this.lo,c=(this.lo>>>28|this.hi<<4)>>>0,d=this.hi>>>24;return d===0?c===0?u<16384?u<128?1:2:u<2097152?3:4:c<16384?c<128?5:6:c<2097152?7:8:d<128?9:10},longbits}var hasRequiredMinimal;function requireMinimal(){return hasRequiredMinimal||(hasRequiredMinimal=1,function(t){var e=t;e.asPromise=requireAspromise(),e.base64=requireBase64(),e.EventEmitter=requireEventemitter(),e.float=requireFloat(),e.inquire=requireInquire(),e.utf8=requireUtf8(),e.pool=requirePool(),e.LongBits=requireLongbits(),e.isNode=!!(typeof commonjsGlobal<"u"&&commonjsGlobal&&commonjsGlobal.process&&commonjsGlobal.process.versions&&commonjsGlobal.process.versions.node),e.global=e.isNode&&commonjsGlobal||typeof window<"u"&&window||typeof self<"u"&&self||commonjsGlobal,e.emptyArray=Object.freeze?Object.freeze([]):[],e.emptyObject=Object.freeze?Object.freeze({}):{},e.isInteger=Number.isInteger||function(a){return typeof a=="number"&&isFinite(a)&&Math.floor(a)===a},e.isString=function(a){return typeof a=="string"||a instanceof String},e.isObject=function(a){return a&&typeof a=="object"},e.isset=e.isSet=function(a,u){var c=a[u];return c!=null&&a.hasOwnProperty(u)?typeof c!="object"||(Array.isArray(c)?c.length:Object.keys(c).length)>0:!1},e.Buffer=function(){try{var o=e.inquire("buffer").Buffer;return o.prototype.utf8Write?o:null}catch{return null}}(),e._Buffer_from=null,e._Buffer_allocUnsafe=null,e.newBuffer=function(a){return typeof a=="number"?e.Buffer?e._Buffer_allocUnsafe(a):new e.Array(a):e.Buffer?e._Buffer_from(a):typeof Uint8Array>"u"?a:new Uint8Array(a)},e.Array=typeof Uint8Array<"u"?Uint8Array:Array,e.Long=e.global.dcodeIO&&e.global.dcodeIO.Long||e.global.Long||e.inquire("long"),e.key2Re=/^true|false|0|1$/,e.key32Re=/^-?(?:0|[1-9][0-9]*)$/,e.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,e.longToHash=function(a){return a?e.LongBits.from(a).toHash():e.LongBits.zeroHash},e.longFromHash=function(a,u){var c=e.LongBits.fromHash(a);return e.Long?e.Long.fromBits(c.lo,c.hi,u):c.toNumber(!!u)};function r(o,a,u){for(var c=Object.keys(a),d=0;d-1;--m)if(u[d[m]]===1&&this[d[m]]!==void 0&&this[d[m]]!==null)return d[m]}},e.oneOfSetter=function(a){return function(u){for(var c=0;c127;)e[r++]=t&127|128,t>>>=7;e[r]=t}function VarintOp(t,e){this.len=t,this.next=void 0,this.val=e}VarintOp.prototype=Object.create(Op.prototype);VarintOp.prototype.fn=writeVarint32;Writer$1.prototype.uint32=function t(e){return this.len+=(this.tail=this.tail.next=new VarintOp((e=e>>>0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this};Writer$1.prototype.int32=function t(e){return e<0?this._push(writeVarint64,10,LongBits$1.fromNumber(e)):this.uint32(e)};Writer$1.prototype.sint32=function t(e){return this.uint32((e<<1^e>>31)>>>0)};function writeVarint64(t,e,r){for(;t.hi;)e[r++]=t.lo&127|128,t.lo=(t.lo>>>7|t.hi<<25)>>>0,t.hi>>>=7;for(;t.lo>127;)e[r++]=t.lo&127|128,t.lo=t.lo>>>7;e[r++]=t.lo}Writer$1.prototype.uint64=function t(e){var r=LongBits$1.from(e);return this._push(writeVarint64,r.length(),r)};Writer$1.prototype.int64=Writer$1.prototype.uint64;Writer$1.prototype.sint64=function t(e){var r=LongBits$1.from(e).zzEncode();return this._push(writeVarint64,r.length(),r)};Writer$1.prototype.bool=function t(e){return this._push(writeByte,1,e?1:0)};function writeFixed32(t,e,r){e[r]=t&255,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24}Writer$1.prototype.fixed32=function t(e){return this._push(writeFixed32,4,e>>>0)};Writer$1.prototype.sfixed32=Writer$1.prototype.fixed32;Writer$1.prototype.fixed64=function t(e){var r=LongBits$1.from(e);return this._push(writeFixed32,4,r.lo)._push(writeFixed32,4,r.hi)};Writer$1.prototype.sfixed64=Writer$1.prototype.fixed64;Writer$1.prototype.float=function t(e){return this._push(util$4.float.writeFloatLE,4,e)};Writer$1.prototype.double=function t(e){return this._push(util$4.float.writeDoubleLE,8,e)};var writeBytes=util$4.Array.prototype.set?function t(e,r,n){r.set(e,n)}:function t(e,r,n){for(var o=0;o>>0;if(!r)return this._push(writeByte,1,0);if(util$4.isString(e)){var n=Writer$1.alloc(r=base64$2.length(e));base64$2.decode(e,n,0),e=n}return this.uint32(r)._push(writeBytes,r,e)};Writer$1.prototype.string=function t(e){var r=utf8$1.length(e);return r?this.uint32(r)._push(utf8$1.write,r,e):this._push(writeByte,1,0)};Writer$1.prototype.fork=function t(){return this.states=new State(this),this.head=this.tail=new Op(noop,0,0),this.len=0,this};Writer$1.prototype.reset=function t(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new Op(noop,0,0),this.len=0),this};Writer$1.prototype.ldelim=function t(){var e=this.head,r=this.tail,n=this.len;return this.reset().uint32(n),n&&(this.tail.next=e.next,this.tail=r,this.len+=n),this};Writer$1.prototype.finish=function t(){for(var e=this.head.next,r=this.constructor.alloc(this.len),n=0;e;)e.fn(e.val,r,n),n+=e.len,e=e.next;return r};Writer$1._configure=function(t){BufferWriter$1=t,Writer$1.create=create$2(),BufferWriter$1._configure()};var writer_buffer=BufferWriter,Writer=writer;(BufferWriter.prototype=Object.create(Writer.prototype)).constructor=BufferWriter;var util$3=requireMinimal();function BufferWriter(){Writer.call(this)}BufferWriter._configure=function(){BufferWriter.alloc=util$3._Buffer_allocUnsafe,BufferWriter.writeBytesBuffer=util$3.Buffer&&util$3.Buffer.prototype instanceof Uint8Array&&util$3.Buffer.prototype.set.name==="set"?function(e,r,n){r.set(e,n)}:function(e,r,n){if(e.copy)e.copy(r,n,0,e.length);else for(var o=0;o>>0;return this.uint32(r),r&&this._push(BufferWriter.writeBytesBuffer,r,e),this};function writeStringBuffer(t,e,r){t.length<40?util$3.utf8.write(t,e,r):e.utf8Write?e.utf8Write(t,r):e.write(t,r)}BufferWriter.prototype.string=function t(e){var r=util$3.Buffer.byteLength(e);return this.uint32(r),r&&this._push(writeStringBuffer,r,e),this};BufferWriter._configure();var reader=Reader$1,util$2=requireMinimal(),BufferReader$1,LongBits=util$2.LongBits,utf8=util$2.utf8;function indexOutOfRange(t,e){return RangeError("index out of range: "+t.pos+" + "+(e||1)+" > "+t.len)}function Reader$1(t){this.buf=t,this.pos=0,this.len=t.length}var create_array=typeof Uint8Array<"u"?function t(e){if(e instanceof Uint8Array||Array.isArray(e))return new Reader$1(e);throw Error("illegal buffer")}:function t(e){if(Array.isArray(e))return new Reader$1(e);throw Error("illegal buffer")},create$1=function t(){return util$2.Buffer?function(r){return(Reader$1.create=function(o){return util$2.Buffer.isBuffer(o)?new BufferReader$1(o):create_array(o)})(r)}:create_array};Reader$1.create=create$1();Reader$1.prototype._slice=util$2.Array.prototype.subarray||util$2.Array.prototype.slice;Reader$1.prototype.uint32=function t(){var e=4294967295;return function(){if(e=(this.buf[this.pos]&127)>>>0,this.buf[this.pos++]<128||(e=(e|(this.buf[this.pos]&127)<<7)>>>0,this.buf[this.pos++]<128)||(e=(e|(this.buf[this.pos]&127)<<14)>>>0,this.buf[this.pos++]<128)||(e=(e|(this.buf[this.pos]&127)<<21)>>>0,this.buf[this.pos++]<128)||(e=(e|(this.buf[this.pos]&15)<<28)>>>0,this.buf[this.pos++]<128))return e;if((this.pos+=5)>this.len)throw this.pos=this.len,indexOutOfRange(this,10);return e}}();Reader$1.prototype.int32=function t(){return this.uint32()|0};Reader$1.prototype.sint32=function t(){var e=this.uint32();return e>>>1^-(e&1)|0};function readLongVarint(){var t=new LongBits(0,0),e=0;if(this.len-this.pos>4){for(;e<4;++e)if(t.lo=(t.lo|(this.buf[this.pos]&127)<>>0,this.buf[this.pos++]<128)return t;if(t.lo=(t.lo|(this.buf[this.pos]&127)<<28)>>>0,t.hi=(t.hi|(this.buf[this.pos]&127)>>4)>>>0,this.buf[this.pos++]<128)return t;e=0}else{for(;e<3;++e){if(this.pos>=this.len)throw indexOutOfRange(this);if(t.lo=(t.lo|(this.buf[this.pos]&127)<>>0,this.buf[this.pos++]<128)return t}return t.lo=(t.lo|(this.buf[this.pos++]&127)<>>0,t}if(this.len-this.pos>4){for(;e<5;++e)if(t.hi=(t.hi|(this.buf[this.pos]&127)<>>0,this.buf[this.pos++]<128)return t}else for(;e<5;++e){if(this.pos>=this.len)throw indexOutOfRange(this);if(t.hi=(t.hi|(this.buf[this.pos]&127)<>>0,this.buf[this.pos++]<128)return t}throw Error("invalid varint encoding")}Reader$1.prototype.bool=function t(){return this.uint32()!==0};function readFixed32_end(t,e){return(t[e-4]|t[e-3]<<8|t[e-2]<<16|t[e-1]<<24)>>>0}Reader$1.prototype.fixed32=function t(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);return readFixed32_end(this.buf,this.pos+=4)};Reader$1.prototype.sfixed32=function t(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);return readFixed32_end(this.buf,this.pos+=4)|0};function readFixed64(){if(this.pos+8>this.len)throw indexOutOfRange(this,8);return new LongBits(readFixed32_end(this.buf,this.pos+=4),readFixed32_end(this.buf,this.pos+=4))}Reader$1.prototype.float=function t(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);var e=util$2.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e};Reader$1.prototype.double=function t(){if(this.pos+8>this.len)throw indexOutOfRange(this,4);var e=util$2.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e};Reader$1.prototype.bytes=function t(){var e=this.uint32(),r=this.pos,n=this.pos+e;if(n>this.len)throw indexOutOfRange(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(r,n):r===n?new this.buf.constructor(0):this._slice.call(this.buf,r,n)};Reader$1.prototype.string=function t(){var e=this.bytes();return utf8.read(e,0,e.length)};Reader$1.prototype.skip=function t(e){if(typeof e=="number"){if(this.pos+e>this.len)throw indexOutOfRange(this,e);this.pos+=e}else do if(this.pos>=this.len)throw indexOutOfRange(this);while(this.buf[this.pos++]&128);return this};Reader$1.prototype.skipType=function(t){switch(t){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;(t=this.uint32()&7)!==4;)this.skipType(t);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+t+" at offset "+this.pos)}return this};Reader$1._configure=function(t){BufferReader$1=t,Reader$1.create=create$1(),BufferReader$1._configure();var e=util$2.Long?"toLong":"toNumber";util$2.merge(Reader$1.prototype,{int64:function(){return readLongVarint.call(this)[e](!1)},uint64:function(){return readLongVarint.call(this)[e](!0)},sint64:function(){return readLongVarint.call(this).zzDecode()[e](!1)},fixed64:function(){return readFixed64.call(this)[e](!0)},sfixed64:function(){return readFixed64.call(this)[e](!1)}})};var reader_buffer=BufferReader,Reader=reader;(BufferReader.prototype=Object.create(Reader.prototype)).constructor=BufferReader;var util$1=requireMinimal();function BufferReader(t){Reader.call(this,t)}BufferReader._configure=function(){util$1.Buffer&&(BufferReader.prototype._slice=util$1.Buffer.prototype.slice)};BufferReader.prototype.string=function t(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))};BufferReader._configure();var rpc={},service=Service,util=requireMinimal();(Service.prototype=Object.create(util.EventEmitter.prototype)).constructor=Service;function Service(t,e,r){if(typeof t!="function")throw TypeError("rpcImpl must be a function");util.EventEmitter.call(this),this.rpcImpl=t,this.requestDelimited=!!e,this.responseDelimited=!!r}Service.prototype.rpcCall=function t(e,r,n,o,a){if(!o)throw TypeError("request must be specified");var u=this;if(!a)return util.asPromise(t,u,e,r,n,o);if(!u.rpcImpl){setTimeout(function(){a(Error("already ended"))},0);return}try{return u.rpcImpl(e,r[u.requestDelimited?"encodeDelimited":"encode"](o).finish(),function(d,m){if(d)return u.emit("error",d,e),a(d);if(m===null){u.end(!0);return}if(!(m instanceof n))try{m=n[u.responseDelimited?"decodeDelimited":"decode"](m)}catch(y){return u.emit("error",y,e),a(y)}return u.emit("data",m,e),a(null,m)})}catch(c){u.emit("error",c,e),setTimeout(function(){a(c)},0);return}};Service.prototype.end=function t(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this};(function(t){var e=t;e.Service=service})(rpc);var roots={};(function(t){var e=t;e.build="minimal",e.Writer=writer,e.BufferWriter=writer_buffer,e.Reader=reader,e.BufferReader=reader_buffer,e.util=requireMinimal(),e.rpc=rpc,e.roots=roots,e.configure=r;function r(){e.util._configure(),e.Writer._configure(e.BufferWriter),e.Reader._configure(e.BufferReader)}r()})(indexMinimal);var minimal=indexMinimal;const $protobuf=getDefaultExportFromCjs(minimal),$Reader=$protobuf.Reader,$Writer=$protobuf.Writer,$util=$protobuf.util,$root=$protobuf.roots["ipfs-unixfs"]||($protobuf.roots["ipfs-unixfs"]={}),Data=$root.Data=(()=>{function t(e){if(this.blocksizes=[],e)for(var r=Object.keys(e),n=0;n>>3){case 1:a.Type=r.int32();break;case 2:a.Data=r.bytes();break;case 3:a.filesize=r.uint64();break;case 4:if(a.blocksizes&&a.blocksizes.length||(a.blocksizes=[]),(u&7)===2)for(var c=r.uint32()+r.pos;r.pos>>0,r.filesize.high>>>0).toNumber(!0))),r.blocksizes){if(!Array.isArray(r.blocksizes))throw TypeError(".Data.blocksizes: array expected");n.blocksizes=[];for(var o=0;o>>0,r.blocksizes[o].high>>>0).toNumber(!0))}if(r.hashType!=null&&($util.Long?(n.hashType=$util.Long.fromValue(r.hashType)).unsigned=!0:typeof r.hashType=="string"?n.hashType=parseInt(r.hashType,10):typeof r.hashType=="number"?n.hashType=r.hashType:typeof r.hashType=="object"&&(n.hashType=new $util.LongBits(r.hashType.low>>>0,r.hashType.high>>>0).toNumber(!0))),r.fanout!=null&&($util.Long?(n.fanout=$util.Long.fromValue(r.fanout)).unsigned=!0:typeof r.fanout=="string"?n.fanout=parseInt(r.fanout,10):typeof r.fanout=="number"?n.fanout=r.fanout:typeof r.fanout=="object"&&(n.fanout=new $util.LongBits(r.fanout.low>>>0,r.fanout.high>>>0).toNumber(!0))),r.mode!=null&&(n.mode=r.mode>>>0),r.mtime!=null){if(typeof r.mtime!="object")throw TypeError(".Data.mtime: object expected");n.mtime=$root.UnixTime.fromObject(r.mtime)}return n},t.toObject=function(r,n){n||(n={});var o={};if((n.arrays||n.defaults)&&(o.blocksizes=[]),n.defaults){if(o.Type=n.enums===String?"Raw":0,n.bytes===String?o.Data="":(o.Data=[],n.bytes!==Array&&(o.Data=$util.newBuffer(o.Data))),$util.Long){var a=new $util.Long(0,0,!0);o.filesize=n.longs===String?a.toString():n.longs===Number?a.toNumber():a}else o.filesize=n.longs===String?"0":0;if($util.Long){var a=new $util.Long(0,0,!0);o.hashType=n.longs===String?a.toString():n.longs===Number?a.toNumber():a}else o.hashType=n.longs===String?"0":0;if($util.Long){var a=new $util.Long(0,0,!0);o.fanout=n.longs===String?a.toString():n.longs===Number?a.toNumber():a}else o.fanout=n.longs===String?"0":0;o.mode=0,o.mtime=null}if(r.Type!=null&&r.hasOwnProperty("Type")&&(o.Type=n.enums===String?$root.Data.DataType[r.Type]:r.Type),r.Data!=null&&r.hasOwnProperty("Data")&&(o.Data=n.bytes===String?$util.base64.encode(r.Data,0,r.Data.length):n.bytes===Array?Array.prototype.slice.call(r.Data):r.Data),r.filesize!=null&&r.hasOwnProperty("filesize")&&(typeof r.filesize=="number"?o.filesize=n.longs===String?String(r.filesize):r.filesize:o.filesize=n.longs===String?$util.Long.prototype.toString.call(r.filesize):n.longs===Number?new $util.LongBits(r.filesize.low>>>0,r.filesize.high>>>0).toNumber(!0):r.filesize),r.blocksizes&&r.blocksizes.length){o.blocksizes=[];for(var u=0;u>>0,r.blocksizes[u].high>>>0).toNumber(!0):r.blocksizes[u]}return r.hashType!=null&&r.hasOwnProperty("hashType")&&(typeof r.hashType=="number"?o.hashType=n.longs===String?String(r.hashType):r.hashType:o.hashType=n.longs===String?$util.Long.prototype.toString.call(r.hashType):n.longs===Number?new $util.LongBits(r.hashType.low>>>0,r.hashType.high>>>0).toNumber(!0):r.hashType),r.fanout!=null&&r.hasOwnProperty("fanout")&&(typeof r.fanout=="number"?o.fanout=n.longs===String?String(r.fanout):r.fanout:o.fanout=n.longs===String?$util.Long.prototype.toString.call(r.fanout):n.longs===Number?new $util.LongBits(r.fanout.low>>>0,r.fanout.high>>>0).toNumber(!0):r.fanout),r.mode!=null&&r.hasOwnProperty("mode")&&(o.mode=r.mode),r.mtime!=null&&r.hasOwnProperty("mtime")&&(o.mtime=$root.UnixTime.toObject(r.mtime,n)),o},t.prototype.toJSON=function(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},t.DataType=function(){const e={},r=Object.create(e);return r[e[0]="Raw"]=0,r[e[1]="Directory"]=1,r[e[2]="File"]=2,r[e[3]="Metadata"]=3,r[e[4]="Symlink"]=4,r[e[5]="HAMTShard"]=5,r}(),t})();$root.UnixTime=(()=>{function t(e){if(e)for(var r=Object.keys(e),n=0;n>>3){case 1:a.Seconds=r.int64();break;case 2:a.FractionalNanoseconds=r.fixed32();break;default:r.skipType(u&7);break}}if(!a.hasOwnProperty("Seconds"))throw $util.ProtocolError("missing required 'Seconds'",{instance:a});return a},t.fromObject=function(r){if(r instanceof $root.UnixTime)return r;var n=new $root.UnixTime;return r.Seconds!=null&&($util.Long?(n.Seconds=$util.Long.fromValue(r.Seconds)).unsigned=!1:typeof r.Seconds=="string"?n.Seconds=parseInt(r.Seconds,10):typeof r.Seconds=="number"?n.Seconds=r.Seconds:typeof r.Seconds=="object"&&(n.Seconds=new $util.LongBits(r.Seconds.low>>>0,r.Seconds.high>>>0).toNumber())),r.FractionalNanoseconds!=null&&(n.FractionalNanoseconds=r.FractionalNanoseconds>>>0),n},t.toObject=function(r,n){n||(n={});var o={};if(n.defaults){if($util.Long){var a=new $util.Long(0,0,!1);o.Seconds=n.longs===String?a.toString():n.longs===Number?a.toNumber():a}else o.Seconds=n.longs===String?"0":0;o.FractionalNanoseconds=0}return r.Seconds!=null&&r.hasOwnProperty("Seconds")&&(typeof r.Seconds=="number"?o.Seconds=n.longs===String?String(r.Seconds):r.Seconds:o.Seconds=n.longs===String?$util.Long.prototype.toString.call(r.Seconds):n.longs===Number?new $util.LongBits(r.Seconds.low>>>0,r.Seconds.high>>>0).toNumber():r.Seconds),r.FractionalNanoseconds!=null&&r.hasOwnProperty("FractionalNanoseconds")&&(o.FractionalNanoseconds=r.FractionalNanoseconds),o},t.prototype.toJSON=function(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},t})();$root.Metadata=(()=>{function t(e){if(e)for(var r=Object.keys(e),n=0;n>>3){case 1:a.MimeType=r.string();break;default:r.skipType(u&7);break}}return a},t.fromObject=function(r){if(r instanceof $root.Metadata)return r;var n=new $root.Metadata;return r.MimeType!=null&&(n.MimeType=String(r.MimeType)),n},t.toObject=function(r,n){n||(n={});var o={};return n.defaults&&(o.MimeType=""),r.MimeType!=null&&r.hasOwnProperty("MimeType")&&(o.MimeType=r.MimeType),o},t.prototype.toJSON=function(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},t})();const PBData=Data,types=["raw","directory","file","metadata","symlink","hamt-sharded-directory"],dirTypes=["directory","hamt-sharded-directory"],DEFAULT_FILE_MODE=parseInt("0644",8),DEFAULT_DIRECTORY_MODE=parseInt("0755",8);function parseMode(t){if(t!=null)return typeof t=="number"?t&4095:(t=t.toString(),t.substring(0,1)==="0"?parseInt(t,8)&4095:parseInt(t,10)&4095)}function parseMtime(t){if(t==null)return;let e;if(t.secs!=null&&(e={secs:t.secs,nsecs:t.nsecs}),t.Seconds!=null&&(e={secs:t.Seconds,nsecs:t.FractionalNanoseconds}),Array.isArray(t)&&(e={secs:t[0],nsecs:t[1]}),t instanceof Date){const r=t.getTime(),n=Math.floor(r/1e3);e={secs:n,nsecs:(r-n*1e3)*1e3}}if(Object.prototype.hasOwnProperty.call(e,"secs")){if(e!=null&&e.nsecs!=null&&(e.nsecs<0||e.nsecs>999999999))throw errCode$1(new Error("mtime-nsecs must be within the range [0,999999999]"),"ERR_INVALID_MTIME_NSECS");return e}}class UnixFS{static unmarshal(e){const r=PBData.decode(e),n=PBData.toObject(r,{defaults:!1,arrays:!0,longs:Number,objects:!1}),o=new UnixFS({type:types[n.Type],data:n.Data,blockSizes:n.blocksizes,mode:n.mode,mtime:n.mtime?{secs:n.mtime.Seconds,nsecs:n.mtime.FractionalNanoseconds}:void 0});return o._originalMode=n.mode||0,o}constructor(e={type:"file"}){const{type:r,data:n,blockSizes:o,hashType:a,fanout:u,mtime:c,mode:d}=e;if(r&&!types.includes(r))throw errCode$1(new Error("Type: "+r+" is not valid"),"ERR_INVALID_TYPE");this.type=r||"file",this.data=n,this.hashType=a,this.fanout=u,this.blockSizes=o||[],this._originalMode=0,this.mode=parseMode(d),c&&(this.mtime=parseMtime(c),this.mtime&&!this.mtime.nsecs&&(this.mtime.nsecs=0))}set mode(e){this._mode=this.isDirectory()?DEFAULT_DIRECTORY_MODE:DEFAULT_FILE_MODE;const r=parseMode(e);r!==void 0&&(this._mode=r)}get mode(){return this._mode}isDirectory(){return!!(this.type&&dirTypes.includes(this.type))}addBlockSize(e){this.blockSizes.push(e)}removeBlockSize(e){this.blockSizes.splice(e,1)}fileSize(){if(this.isDirectory())return 0;let e=0;return this.blockSizes.forEach(r=>{e+=r}),this.data&&(e+=this.data.length),e}marshal(){let e;switch(this.type){case"raw":e=PBData.DataType.Raw;break;case"directory":e=PBData.DataType.Directory;break;case"file":e=PBData.DataType.File;break;case"metadata":e=PBData.DataType.Metadata;break;case"symlink":e=PBData.DataType.Symlink;break;case"hamt-sharded-directory":e=PBData.DataType.HAMTShard;break;default:throw errCode$1(new Error("Type: "+e+" is not valid"),"ERR_INVALID_TYPE")}let r=this.data;(!this.data||!this.data.length)&&(r=void 0);let n;this.mode!=null&&(n=this._originalMode&4294963200|(parseMode(this.mode)||0),n===DEFAULT_FILE_MODE&&!this.isDirectory()&&(n=void 0),n===DEFAULT_DIRECTORY_MODE&&this.isDirectory()&&(n=void 0));let o;if(this.mtime!=null){const u=parseMtime(this.mtime);u&&(o={Seconds:u.secs,FractionalNanoseconds:u.nsecs},o.FractionalNanoseconds===0&&delete o.FractionalNanoseconds)}const a={Type:e,Data:r,filesize:this.isDirectory()?void 0:this.fileSize(),blocksizes:this.blockSizes,hashType:this.hashType,fanout:this.fanout,mode:n,mtime:o};return PBData.encode(a).finish()}}const persist=async(t,e,r)=>{r.codec||(r.codec=dagPb),r.hasher||(r.hasher=sha256),r.cidVersion===void 0&&(r.cidVersion=1),r.codec===dagPb&&r.hasher!==sha256&&(r.cidVersion=1);const n=await r.hasher.digest(t),o=CID.create(r.cidVersion,r.codec.code,n);return r.onlyHash||await e.put(o,t,{signal:r.signal}),o},dirBuilder=async(t,e,r)=>{const n=new UnixFS({type:"directory",mtime:t.mtime,mode:t.mode}),o=encode$1(prepare({Data:n.marshal()})),a=await persist(o,e,r),u=t.path;return{cid:a,path:u,unixfs:n,size:o.length}},all=async t=>{const e=[];for await(const r of t)e.push(r);return e};var itAll=all;const all$1=getDefaultExportFromCjs(itAll);async function flat(t,e){return e(await all$1(t))}function balanced(t,e,r){return reduceToParents(t,e,r)}async function reduceToParents(t,e,r){const n=[];for await(const o of batch$2(t,r.maxChildrenPerNode))n.push(await e(o));return n.length>1?reduceToParents(n,e,r):n[0]}async function trickleStream(t,e,r){const n=new Root(r.layerRepeat);let o=0,a=1,u=n;for await(const c of batch$2(t,r.maxChildrenPerNode))u.isFull()&&(u!==n&&n.addChild(await u.reduce(e)),o&&o%r.layerRepeat===0&&a++,u=new SubTree(a,r.layerRepeat,o),o++),u.append(c);return u&&u!==n&&n.addChild(await u.reduce(e)),n.reduce(e)}class SubTree{constructor(e,r,n=0){this.maxDepth=e,this.layerRepeat=r,this.currentDepth=1,this.iteration=n,this.root=this.node=this.parent={children:[],depth:this.currentDepth,maxDepth:e,maxChildren:(this.maxDepth-this.currentDepth)*this.layerRepeat}}isFull(){if(!this.root.data)return!1;if(this.currentDeptho.data).map(o=>this._reduce(o,r)))),r((e.data||[]).concat(n))}_findParent(e,r){const n=e.parent;if(!(!n||n.depth===0))return n.children.length===n.maxChildren||!n.maxChildren?this._findParent(n,r):n}}class Root extends SubTree{constructor(e){super(0,e),this.root.depth=0,this.currentDepth=1}addChild(e){this.root.children.push(e)}reduce(e){return e((this.root.data||[]).concat(this.root.children))}}async function*bufferImporter(t,e,r){for await(let n of t.content)yield async()=>{r.progress(n.length,t.path);let o;const a={codec:dagPb,cidVersion:r.cidVersion,hasher:r.hasher,onlyHash:r.onlyHash};return r.rawLeaves?(a.codec=raw,a.cidVersion=1):(o=new UnixFS({type:r.leafType,data:n}),n=encode$1({Data:o.marshal(),Links:[]})),{cid:await persist(n,e,a),unixfs:o,size:n.length}}}const dagBuilders={flat,balanced,trickle:trickleStream};async function*buildFileBatch(t,e,r){let n=-1,o,a;typeof r.bufferImporter=="function"?a=r.bufferImporter:a=bufferImporter;for await(const u of parallelBatch$1(a(t,e,r),r.blockWriteConcurrency)){if(n++,n===0){o=u;continue}else n===1&&o&&(yield o,o=null);yield u}o&&(o.single=!0,yield o)}const reduce=(t,e,r)=>{async function n(o){if(o.length===1&&o[0].single&&r.reduceSingleLeafToSelf){const y=o[0];if(t.mtime!==void 0||t.mode!==void 0){let D=await e.get(y.cid);y.unixfs=new UnixFS({type:"file",mtime:t.mtime,mode:t.mode,data:D}),D=encode$1(prepare({Data:y.unixfs.marshal()})),y.cid=await persist(D,e,{...r,codec:dagPb,hasher:r.hasher,cidVersion:r.cidVersion}),y.size=D.length}return{cid:y.cid,path:t.path,unixfs:y.unixfs,size:y.size}}const a=new UnixFS({type:"file",mtime:t.mtime,mode:t.mode}),u=o.filter(y=>y.cid.code===code$3&&y.size||y.unixfs&&!y.unixfs.data&&y.unixfs.fileSize()?!0:!!(y.unixfs&&y.unixfs.data&&y.unixfs.data.length)).map(y=>y.cid.code===code$3?(a.addBlockSize(y.size),{Name:"",Tsize:y.size,Hash:y.cid}):(!y.unixfs||!y.unixfs.data?a.addBlockSize(y.unixfs&&y.unixfs.fileSize()||0):a.addBlockSize(y.unixfs.data.length),{Name:"",Tsize:y.size,Hash:y.cid})),c={Data:a.marshal(),Links:u},d=encode$1(prepare(c));return{cid:await persist(d,e,r),path:t.path,unixfs:a,size:d.length+c.Links.reduce((y,D)=>y+D.Tsize,0)}}return n};function fileBuilder(t,e,r){const n=dagBuilders[r.strategy];if(!n)throw errCode$1(new Error(`Unknown importer build strategy name: ${r.strategy}`),"ERR_BAD_STRATEGY");return n(buildFileBatch(t,e,r),reduce(t,e,r),r)}var buffer={},base64Js={};base64Js.byteLength=byteLength;base64Js.toByteArray=toByteArray;base64Js.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var i=0,len=code.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function byteLength(t){var e=getLens(t),r=e[0],n=e[1];return(r+n)*3/4-n}function _byteLength(t,e,r){return(e+r)*3/4-r}function toByteArray(t){var e,r=getLens(t),n=r[0],o=r[1],a=new Arr(_byteLength(t,n,o)),u=0,c=o>0?n-4:n,d;for(d=0;d>16&255,a[u++]=e>>8&255,a[u++]=e&255;return o===2&&(e=revLookup[t.charCodeAt(d)]<<2|revLookup[t.charCodeAt(d+1)]>>4,a[u++]=e&255),o===1&&(e=revLookup[t.charCodeAt(d)]<<10|revLookup[t.charCodeAt(d+1)]<<4|revLookup[t.charCodeAt(d+2)]>>2,a[u++]=e>>8&255,a[u++]=e&255),a}function tripletToBase64(t){return lookup[t>>18&63]+lookup[t>>12&63]+lookup[t>>6&63]+lookup[t&63]}function encodeChunk(t,e,r){for(var n,o=[],a=e;ac?c:u+a));return n===1?(e=t[r-1],o.push(lookup[e>>2]+lookup[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],o.push(lookup[e>>10]+lookup[e>>4&63]+lookup[e<<2&63]+"=")),o.join("")}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ieee754.read=function(t,e,r,n,o){var a,u,c=o*8-n-1,d=(1<>1,y=-7,D=r?o-1:0,T=r?-1:1,w=t[e+D];for(D+=T,a=w&(1<<-y)-1,w>>=-y,y+=c;y>0;a=a*256+t[e+D],D+=T,y-=8);for(u=a&(1<<-y)-1,a>>=-y,y+=n;y>0;u=u*256+t[e+D],D+=T,y-=8);if(a===0)a=1-m;else{if(a===d)return u?NaN:(w?-1:1)*(1/0);u=u+Math.pow(2,n),a=a-m}return(w?-1:1)*u*Math.pow(2,a-n)};ieee754.write=function(t,e,r,n,o,a){var u,c,d,m=a*8-o-1,y=(1<>1,T=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:a-1,_=n?1:-1,h=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,u=y):(u=Math.floor(Math.log(e)/Math.LN2),e*(d=Math.pow(2,-u))<1&&(u--,d*=2),u+D>=1?e+=T/d:e+=T*Math.pow(2,1-D),e*d>=2&&(u++,d/=2),u+D>=y?(c=0,u=y):u+D>=1?(c=(e*d-1)*Math.pow(2,o),u=u+D):(c=e*Math.pow(2,D-1)*Math.pow(2,o),u=0));o>=8;t[r+w]=c&255,w+=_,c/=256,o-=8);for(u=u<0;t[r+w]=u&255,w+=_,u/=256,m-=8);t[r+w-_]|=h*128};/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */(function(t){const e=base64Js,r=ieee754,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=c,t.SlowBuffer=O,t.INSPECT_MAX_BYTES=50;const o=2147483647;t.kMaxLength=o,c.TYPED_ARRAY_SUPPORT=a(),!c.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{const f=new Uint8Array(1),s={foo:function(){return 42}};return Object.setPrototypeOf(s,Uint8Array.prototype),Object.setPrototypeOf(f,s),f.foo()===42}catch{return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}});function u(f){if(f>o)throw new RangeError('The value "'+f+'" is invalid for option "size"');const s=new Uint8Array(f);return Object.setPrototypeOf(s,c.prototype),s}function c(f,s,l){if(typeof f=="number"){if(typeof s=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return D(f)}return d(f,s,l)}c.poolSize=8192;function d(f,s,l){if(typeof f=="string")return T(f,s);if(ArrayBuffer.isView(f))return _(f);if(f==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof f);if(Y(f,ArrayBuffer)||f&&Y(f.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Y(f,SharedArrayBuffer)||f&&Y(f.buffer,SharedArrayBuffer)))return h(f,s,l);if(typeof f=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const p=f.valueOf&&f.valueOf();if(p!=null&&p!==f)return c.from(p,s,l);const g=E(f);if(g)return g;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof f[Symbol.toPrimitive]=="function")return c.from(f[Symbol.toPrimitive]("string"),s,l);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof f)}c.from=function(f,s,l){return d(f,s,l)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array);function m(f){if(typeof f!="number")throw new TypeError('"size" argument must be of type number');if(f<0)throw new RangeError('The value "'+f+'" is invalid for option "size"')}function y(f,s,l){return m(f),f<=0?u(f):s!==void 0?typeof l=="string"?u(f).fill(s,l):u(f).fill(s):u(f)}c.alloc=function(f,s,l){return y(f,s,l)};function D(f){return m(f),u(f<0?0:B(f)|0)}c.allocUnsafe=function(f){return D(f)},c.allocUnsafeSlow=function(f){return D(f)};function T(f,s){if((typeof s!="string"||s==="")&&(s="utf8"),!c.isEncoding(s))throw new TypeError("Unknown encoding: "+s);const l=k(f,s)|0;let p=u(l);const g=p.write(f,s);return g!==l&&(p=p.slice(0,g)),p}function w(f){const s=f.length<0?0:B(f.length)|0,l=u(s);for(let p=0;p=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return f|0}function O(f){return+f!=f&&(f=0),c.alloc(+f)}c.isBuffer=function(s){return s!=null&&s._isBuffer===!0&&s!==c.prototype},c.compare=function(s,l){if(Y(s,Uint8Array)&&(s=c.from(s,s.offset,s.byteLength)),Y(l,Uint8Array)&&(l=c.from(l,l.offset,l.byteLength)),!c.isBuffer(s)||!c.isBuffer(l))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(s===l)return 0;let p=s.length,g=l.length;for(let b=0,x=Math.min(p,g);bg.length?(c.isBuffer(x)||(x=c.from(x)),x.copy(g,b)):Uint8Array.prototype.set.call(g,x,b);else if(c.isBuffer(x))x.copy(g,b);else throw new TypeError('"list" argument must be an Array of Buffers');b+=x.length}return g};function k(f,s){if(c.isBuffer(f))return f.length;if(ArrayBuffer.isView(f)||Y(f,ArrayBuffer))return f.byteLength;if(typeof f!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof f);const l=f.length,p=arguments.length>2&&arguments[2]===!0;if(!p&&l===0)return 0;let g=!1;for(;;)switch(s){case"ascii":case"latin1":case"binary":return l;case"utf8":case"utf-8":return Ae(f).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l*2;case"hex":return l>>>1;case"base64":return se(f).length;default:if(g)return p?-1:Ae(f).length;s=(""+s).toLowerCase(),g=!0}}c.byteLength=k;function S(f,s,l){let p=!1;if((s===void 0||s<0)&&(s=0),s>this.length||((l===void 0||l>this.length)&&(l=this.length),l<=0)||(l>>>=0,s>>>=0,l<=s))return"";for(f||(f="utf8");;)switch(f){case"hex":return Pe(this,s,l);case"utf8":case"utf-8":return q(this,s,l);case"ascii":return Ne(this,s,l);case"latin1":case"binary":return le(this,s,l);case"base64":return re(this,s,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fe(this,s,l);default:if(p)throw new TypeError("Unknown encoding: "+f);f=(f+"").toLowerCase(),p=!0}}c.prototype._isBuffer=!0;function A(f,s,l){const p=f[s];f[s]=f[l],f[l]=p}c.prototype.swap16=function(){const s=this.length;if(s%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let l=0;ll&&(s+=" ... "),""},n&&(c.prototype[n]=c.prototype.inspect),c.prototype.compare=function(s,l,p,g,b){if(Y(s,Uint8Array)&&(s=c.from(s,s.offset,s.byteLength)),!c.isBuffer(s))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof s);if(l===void 0&&(l=0),p===void 0&&(p=s?s.length:0),g===void 0&&(g=0),b===void 0&&(b=this.length),l<0||p>s.length||g<0||b>this.length)throw new RangeError("out of range index");if(g>=b&&l>=p)return 0;if(g>=b)return-1;if(l>=p)return 1;if(l>>>=0,p>>>=0,g>>>=0,b>>>=0,this===s)return 0;let x=b-g,R=p-l;const j=Math.min(x,R),N=this.slice(g,b),M=s.slice(l,p);for(let P=0;P2147483647?l=2147483647:l<-2147483648&&(l=-2147483648),l=+l,xe(l)&&(l=g?0:f.length-1),l<0&&(l=f.length+l),l>=f.length){if(g)return-1;l=f.length-1}else if(l<0)if(g)l=0;else return-1;if(typeof s=="string"&&(s=c.from(s,p)),c.isBuffer(s))return s.length===0?-1:v(f,s,l,p,g);if(typeof s=="number")return s=s&255,typeof Uint8Array.prototype.indexOf=="function"?g?Uint8Array.prototype.indexOf.call(f,s,l):Uint8Array.prototype.lastIndexOf.call(f,s,l):v(f,[s],l,p,g);throw new TypeError("val must be string, number or Buffer")}function v(f,s,l,p,g){let b=1,x=f.length,R=s.length;if(p!==void 0&&(p=String(p).toLowerCase(),p==="ucs2"||p==="ucs-2"||p==="utf16le"||p==="utf-16le")){if(f.length<2||s.length<2)return-1;b=2,x/=2,R/=2,l/=2}function j(M,P){return b===1?M[P]:M.readUInt16BE(P*b)}let N;if(g){let M=-1;for(N=l;Nx&&(l=x-R),N=l;N>=0;N--){let M=!0;for(let P=0;Pg&&(p=g)):p=g;const b=s.length;p>b/2&&(p=b/2);let x;for(x=0;x>>0,isFinite(p)?(p=p>>>0,g===void 0&&(g="utf8")):(g=p,p=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const b=this.length-l;if((p===void 0||p>b)&&(p=b),s.length>0&&(p<0||l<0)||l>this.length)throw new RangeError("Attempt to write outside buffer bounds");g||(g="utf8");let x=!1;for(;;)switch(g){case"hex":return C(this,s,l,p);case"utf8":case"utf-8":return I(this,s,l,p);case"ascii":case"latin1":case"binary":return F(this,s,l,p);case"base64":return K(this,s,l,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,s,l,p);default:if(x)throw new TypeError("Unknown encoding: "+g);g=(""+g).toLowerCase(),x=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function re(f,s,l){return s===0&&l===f.length?e.fromByteArray(f):e.fromByteArray(f.slice(s,l))}function q(f,s,l){l=Math.min(f.length,l);const p=[];let g=s;for(;g239?4:b>223?3:b>191?2:1;if(g+R<=l){let j,N,M,P;switch(R){case 1:b<128&&(x=b);break;case 2:j=f[g+1],(j&192)===128&&(P=(b&31)<<6|j&63,P>127&&(x=P));break;case 3:j=f[g+1],N=f[g+2],(j&192)===128&&(N&192)===128&&(P=(b&15)<<12|(j&63)<<6|N&63,P>2047&&(P<55296||P>57343)&&(x=P));break;case 4:j=f[g+1],N=f[g+2],M=f[g+3],(j&192)===128&&(N&192)===128&&(M&192)===128&&(P=(b&15)<<18|(j&63)<<12|(N&63)<<6|M&63,P>65535&&P<1114112&&(x=P))}}x===null?(x=65533,R=1):x>65535&&(x-=65536,p.push(x>>>10&1023|55296),x=56320|x&1023),p.push(x),g+=R}return ue(p)}const U=4096;function ue(f){const s=f.length;if(s<=U)return String.fromCharCode.apply(String,f);let l="",p=0;for(;pp)&&(l=p);let g="";for(let b=s;bp&&(s=p),l<0?(l+=p,l<0&&(l=0)):l>p&&(l=p),ll)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(s,l,p){s=s>>>0,l=l>>>0,p||H(s,l,this.length);let g=this[s],b=1,x=0;for(;++x>>0,l=l>>>0,p||H(s,l,this.length);let g=this[s+--l],b=1;for(;l>0&&(b*=256);)g+=this[s+--l]*b;return g},c.prototype.readUint8=c.prototype.readUInt8=function(s,l){return s=s>>>0,l||H(s,1,this.length),this[s]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(s,l){return s=s>>>0,l||H(s,2,this.length),this[s]|this[s+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(s,l){return s=s>>>0,l||H(s,2,this.length),this[s]<<8|this[s+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(s,l){return s=s>>>0,l||H(s,4,this.length),(this[s]|this[s+1]<<8|this[s+2]<<16)+this[s+3]*16777216},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(s,l){return s=s>>>0,l||H(s,4,this.length),this[s]*16777216+(this[s+1]<<16|this[s+2]<<8|this[s+3])},c.prototype.readBigUInt64LE=L(function(s){s=s>>>0,V(s,"offset");const l=this[s],p=this[s+7];(l===void 0||p===void 0)&&ee(s,this.length-8);const g=l+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24,b=this[++s]+this[++s]*2**8+this[++s]*2**16+p*2**24;return BigInt(g)+(BigInt(b)<>>0,V(s,"offset");const l=this[s],p=this[s+7];(l===void 0||p===void 0)&&ee(s,this.length-8);const g=l*2**24+this[++s]*2**16+this[++s]*2**8+this[++s],b=this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+p;return(BigInt(g)<>>0,l=l>>>0,p||H(s,l,this.length);let g=this[s],b=1,x=0;for(;++x=b&&(g-=Math.pow(2,8*l)),g},c.prototype.readIntBE=function(s,l,p){s=s>>>0,l=l>>>0,p||H(s,l,this.length);let g=l,b=1,x=this[s+--g];for(;g>0&&(b*=256);)x+=this[s+--g]*b;return b*=128,x>=b&&(x-=Math.pow(2,8*l)),x},c.prototype.readInt8=function(s,l){return s=s>>>0,l||H(s,1,this.length),this[s]&128?(255-this[s]+1)*-1:this[s]},c.prototype.readInt16LE=function(s,l){s=s>>>0,l||H(s,2,this.length);const p=this[s]|this[s+1]<<8;return p&32768?p|4294901760:p},c.prototype.readInt16BE=function(s,l){s=s>>>0,l||H(s,2,this.length);const p=this[s+1]|this[s]<<8;return p&32768?p|4294901760:p},c.prototype.readInt32LE=function(s,l){return s=s>>>0,l||H(s,4,this.length),this[s]|this[s+1]<<8|this[s+2]<<16|this[s+3]<<24},c.prototype.readInt32BE=function(s,l){return s=s>>>0,l||H(s,4,this.length),this[s]<<24|this[s+1]<<16|this[s+2]<<8|this[s+3]},c.prototype.readBigInt64LE=L(function(s){s=s>>>0,V(s,"offset");const l=this[s],p=this[s+7];(l===void 0||p===void 0)&&ee(s,this.length-8);const g=this[s+4]+this[s+5]*2**8+this[s+6]*2**16+(p<<24);return(BigInt(g)<>>0,V(s,"offset");const l=this[s],p=this[s+7];(l===void 0||p===void 0)&&ee(s,this.length-8);const g=(l<<24)+this[++s]*2**16+this[++s]*2**8+this[++s];return(BigInt(g)<>>0,l||H(s,4,this.length),r.read(this,s,!0,23,4)},c.prototype.readFloatBE=function(s,l){return s=s>>>0,l||H(s,4,this.length),r.read(this,s,!1,23,4)},c.prototype.readDoubleLE=function(s,l){return s=s>>>0,l||H(s,8,this.length),r.read(this,s,!0,52,8)},c.prototype.readDoubleBE=function(s,l){return s=s>>>0,l||H(s,8,this.length),r.read(this,s,!1,52,8)};function z(f,s,l,p,g,b){if(!c.isBuffer(f))throw new TypeError('"buffer" argument must be a Buffer instance');if(s>g||sf.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(s,l,p,g){if(s=+s,l=l>>>0,p=p>>>0,!g){const R=Math.pow(2,8*p)-1;z(this,s,l,p,R,0)}let b=1,x=0;for(this[l]=s&255;++x>>0,p=p>>>0,!g){const R=Math.pow(2,8*p)-1;z(this,s,l,p,R,0)}let b=p-1,x=1;for(this[l+b]=s&255;--b>=0&&(x*=256);)this[l+b]=s/x&255;return l+p},c.prototype.writeUint8=c.prototype.writeUInt8=function(s,l,p){return s=+s,l=l>>>0,p||z(this,s,l,1,255,0),this[l]=s&255,l+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(s,l,p){return s=+s,l=l>>>0,p||z(this,s,l,2,65535,0),this[l]=s&255,this[l+1]=s>>>8,l+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(s,l,p){return s=+s,l=l>>>0,p||z(this,s,l,2,65535,0),this[l]=s>>>8,this[l+1]=s&255,l+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(s,l,p){return s=+s,l=l>>>0,p||z(this,s,l,4,4294967295,0),this[l+3]=s>>>24,this[l+2]=s>>>16,this[l+1]=s>>>8,this[l]=s&255,l+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(s,l,p){return s=+s,l=l>>>0,p||z(this,s,l,4,4294967295,0),this[l]=s>>>24,this[l+1]=s>>>16,this[l+2]=s>>>8,this[l+3]=s&255,l+4};function Ie(f,s,l,p,g){Fe(s,p,g,f,l,7);let b=Number(s&BigInt(4294967295));f[l++]=b,b=b>>8,f[l++]=b,b=b>>8,f[l++]=b,b=b>>8,f[l++]=b;let x=Number(s>>BigInt(32)&BigInt(4294967295));return f[l++]=x,x=x>>8,f[l++]=x,x=x>>8,f[l++]=x,x=x>>8,f[l++]=x,l}function ae(f,s,l,p,g){Fe(s,p,g,f,l,7);let b=Number(s&BigInt(4294967295));f[l+7]=b,b=b>>8,f[l+6]=b,b=b>>8,f[l+5]=b,b=b>>8,f[l+4]=b;let x=Number(s>>BigInt(32)&BigInt(4294967295));return f[l+3]=x,x=x>>8,f[l+2]=x,x=x>>8,f[l+1]=x,x=x>>8,f[l]=x,l+8}c.prototype.writeBigUInt64LE=L(function(s,l=0){return Ie(this,s,l,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeBigUInt64BE=L(function(s,l=0){return ae(this,s,l,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeIntLE=function(s,l,p,g){if(s=+s,l=l>>>0,!g){const j=Math.pow(2,8*p-1);z(this,s,l,p,j-1,-j)}let b=0,x=1,R=0;for(this[l]=s&255;++b>0)-R&255;return l+p},c.prototype.writeIntBE=function(s,l,p,g){if(s=+s,l=l>>>0,!g){const j=Math.pow(2,8*p-1);z(this,s,l,p,j-1,-j)}let b=p-1,x=1,R=0;for(this[l+b]=s&255;--b>=0&&(x*=256);)s<0&&R===0&&this[l+b+1]!==0&&(R=1),this[l+b]=(s/x>>0)-R&255;return l+p},c.prototype.writeInt8=function(s,l,p){return s=+s,l=l>>>0,p||z(this,s,l,1,127,-128),s<0&&(s=255+s+1),this[l]=s&255,l+1},c.prototype.writeInt16LE=function(s,l,p){return s=+s,l=l>>>0,p||z(this,s,l,2,32767,-32768),this[l]=s&255,this[l+1]=s>>>8,l+2},c.prototype.writeInt16BE=function(s,l,p){return s=+s,l=l>>>0,p||z(this,s,l,2,32767,-32768),this[l]=s>>>8,this[l+1]=s&255,l+2},c.prototype.writeInt32LE=function(s,l,p){return s=+s,l=l>>>0,p||z(this,s,l,4,2147483647,-2147483648),this[l]=s&255,this[l+1]=s>>>8,this[l+2]=s>>>16,this[l+3]=s>>>24,l+4},c.prototype.writeInt32BE=function(s,l,p){return s=+s,l=l>>>0,p||z(this,s,l,4,2147483647,-2147483648),s<0&&(s=4294967295+s+1),this[l]=s>>>24,this[l+1]=s>>>16,this[l+2]=s>>>8,this[l+3]=s&255,l+4},c.prototype.writeBigInt64LE=L(function(s,l=0){return Ie(this,s,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeBigInt64BE=L(function(s,l=0){return ae(this,s,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Se(f,s,l,p,g,b){if(l+p>f.length)throw new RangeError("Index out of range");if(l<0)throw new RangeError("Index out of range")}function Ce(f,s,l,p,g){return s=+s,l=l>>>0,g||Se(f,s,l,4),r.write(f,s,l,p,23,4),l+4}c.prototype.writeFloatLE=function(s,l,p){return Ce(this,s,l,!0,p)},c.prototype.writeFloatBE=function(s,l,p){return Ce(this,s,l,!1,p)};function Q(f,s,l,p,g){return s=+s,l=l>>>0,g||Se(f,s,l,8),r.write(f,s,l,p,52,8),l+8}c.prototype.writeDoubleLE=function(s,l,p){return Q(this,s,l,!0,p)},c.prototype.writeDoubleBE=function(s,l,p){return Q(this,s,l,!1,p)},c.prototype.copy=function(s,l,p,g){if(!c.isBuffer(s))throw new TypeError("argument should be a Buffer");if(p||(p=0),!g&&g!==0&&(g=this.length),l>=s.length&&(l=s.length),l||(l=0),g>0&&g=this.length)throw new RangeError("Index out of range");if(g<0)throw new RangeError("sourceEnd out of bounds");g>this.length&&(g=this.length),s.length-l>>0,p=p===void 0?this.length:p>>>0,s||(s=0);let b;if(typeof s=="number")for(b=l;b2**32?g=Oe(String(l)):typeof l=="bigint"&&(g=String(l),(l>BigInt(2)**BigInt(32)||l<-(BigInt(2)**BigInt(32)))&&(g=Oe(g)),g+="n"),p+=` It must be ${s}. Received ${g}`,p},RangeError);function Oe(f){let s="",l=f.length;const p=f[0]==="-"?1:0;for(;l>=p+4;l-=3)s=`_${f.slice(l-3,l)}${s}`;return`${f.slice(0,l)}${s}`}function ne(f,s,l){V(s,"offset"),(f[s]===void 0||f[s+l]===void 0)&&ee(s,f.length-(l+1))}function Fe(f,s,l,p,g,b){if(f>l||f3?s===0||s===BigInt(0)?R=`>= 0${x} and < 2${x} ** ${(b+1)*8}${x}`:R=`>= -(2${x} ** ${(b+1)*8-1}${x}) and < 2 ** ${(b+1)*8-1}${x}`:R=`>= ${s}${x} and <= ${l}${x}`,new de.ERR_OUT_OF_RANGE("value",R,f)}ne(p,g,b)}function V(f,s){if(typeof f!="number")throw new de.ERR_INVALID_ARG_TYPE(s,"number",f)}function ee(f,s,l){throw Math.floor(f)!==f?(V(f,l),new de.ERR_OUT_OF_RANGE(l||"offset","an integer",f)):s<0?new de.ERR_BUFFER_OUT_OF_BOUNDS:new de.ERR_OUT_OF_RANGE(l||"offset",`>= ${l?1:0} and <= ${s}`,f)}const Le=/[^+/0-9A-Za-z-_]/g;function he(f){if(f=f.split("=")[0],f=f.trim().replace(Le,""),f.length<2)return"";for(;f.length%4!==0;)f=f+"=";return f}function Ae(f,s){s=s||1/0;let l;const p=f.length;let g=null;const b=[];for(let x=0;x55295&&l<57344){if(!g){if(l>56319){(s-=3)>-1&&b.push(239,191,189);continue}else if(x+1===p){(s-=3)>-1&&b.push(239,191,189);continue}g=l;continue}if(l<56320){(s-=3)>-1&&b.push(239,191,189),g=l;continue}l=(g-55296<<10|l-56320)+65536}else g&&(s-=3)>-1&&b.push(239,191,189);if(g=null,l<128){if((s-=1)<0)break;b.push(l)}else if(l<2048){if((s-=2)<0)break;b.push(l>>6|192,l&63|128)}else if(l<65536){if((s-=3)<0)break;b.push(l>>12|224,l>>6&63|128,l&63|128)}else if(l<1114112){if((s-=4)<0)break;b.push(l>>18|240,l>>12&63|128,l>>6&63|128,l&63|128)}else throw new Error("Invalid code point")}return b}function pe(f){const s=[];for(let l=0;l>8,g=l%256,b.push(g),b.push(p);return b}function se(f){return e.toByteArray(he(f))}function ye(f,s,l,p){let g;for(g=0;g=s.length||g>=f.length);++g)s[g+l]=f[g];return g}function Y(f,s){return f instanceof s||f!=null&&f.constructor!=null&&f.constructor.name!=null&&f.constructor.name===s.name}function xe(f){return f!==f}const Me=function(){const f="0123456789abcdef",s=new Array(256);for(let l=0;l<16;++l){const p=l*16;for(let g=0;g<16;++g)s[p+g]=f[l]+f[g]}return s}();function L(f){return typeof BigInt>"u"?ie:f}function ie(){throw new Error("BigInt not supported")}})(buffer);const{Buffer}=buffer,symbol=Symbol.for("BufferList");function BufferList(t){if(!(this instanceof BufferList))return new BufferList(t);BufferList._init.call(this,t)}BufferList._init=function t(e){Object.defineProperty(this,symbol,{value:!0}),this._bufs=[],this.length=0,e&&this.append(e)};BufferList.prototype._new=function t(e){return new BufferList(e)};BufferList.prototype._offset=function t(e){if(e===0)return[0,0];let r=0;for(let n=0;nthis.length||e<0)return;const r=this._offset(e);return this._bufs[r[0]][r[1]]};BufferList.prototype.slice=function t(e,r){return typeof e=="number"&&e<0&&(e+=this.length),typeof r=="number"&&r<0&&(r+=this.length),this.copy(null,0,e,r)};BufferList.prototype.copy=function t(e,r,n,o){if((typeof n!="number"||n<0)&&(n=0),(typeof o!="number"||o>this.length)&&(o=this.length),n>=this.length||o<=0)return e||Buffer.alloc(0);const a=!!e,u=this._offset(n),c=o-n;let d=c,m=a&&r||0,y=u[1];if(n===0&&o===this.length){if(!a)return this._bufs.length===1?this._bufs[0]:Buffer.concat(this._bufs,this.length);for(let D=0;DT)this._bufs[D].copy(e,m,y),m+=T;else{this._bufs[D].copy(e,m,y,y+d),m+=T;break}d-=T,y&&(y=0)}return e.length>m?e.slice(0,m):e};BufferList.prototype.shallowSlice=function t(e,r){if(e=e||0,r=typeof r!="number"?this.length:r,e<0&&(e+=this.length),r<0&&(r+=this.length),e===r)return this._new();const n=this._offset(e),o=this._offset(r),a=this._bufs.slice(n[0],o[0]+1);return o[1]===0?a.pop():a[a.length-1]=a[a.length-1].slice(0,o[1]),n[1]!==0&&(a[0]=a[0].slice(n[1])),this._new(a)};BufferList.prototype.toString=function t(e,r,n){return this.slice(r,n).toString(e)};BufferList.prototype.consume=function t(e){if(e=Math.trunc(e),Number.isNaN(e)||e<=0)return this;for(;this._bufs.length;)if(e>=this._bufs[0].length)e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}return this};BufferList.prototype.duplicate=function t(){const e=this._new();for(let r=0;rthis.length?this.length:e;const n=this._offset(e);let o=n[0],a=n[1];for(;o=t.length){const d=u.indexOf(t,a);if(d!==-1)return this._reverseOffset([o,d]);a=u.length-t.length+1}else{const d=this._reverseOffset([o,a]);if(this._match(d,t))return d;a++}a=0}return-1};BufferList.prototype._match=function(t,e){if(this.length-t=0?T.subarray(0,w):T}};var rabin$1=Rabin$1,loader={};const ID_OFFSET=-8,SIZE_OFFSET=-4,ARRAYBUFFER_ID=0,STRING_ID=1,ARRAYBUFFERVIEW=1,ARRAY=2,VAL_ALIGN_OFFSET=5,VAL_SIGNED=1024,VAL_FLOAT=2048,VAL_MANAGED=8192,ARRAYBUFFERVIEW_BUFFER_OFFSET=0,ARRAYBUFFERVIEW_DATASTART_OFFSET=4,ARRAYBUFFERVIEW_DATALENGTH_OFFSET=8,ARRAYBUFFERVIEW_SIZE=12,ARRAY_LENGTH_OFFSET=12,ARRAY_SIZE=16,BIGINT=typeof BigUint64Array<"u",THIS=Symbol(),CHUNKSIZE=1024;function getStringImpl(t,e){const r=new Uint32Array(t),n=new Uint16Array(t);var o=r[e+SIZE_OFFSET>>>2]>>>1,a=e>>>1;if(o<=CHUNKSIZE)return String.fromCharCode.apply(String,n.subarray(a,a+o));const u=[];do{const c=n[a+CHUNKSIZE-1],d=c>=55296&&c<56320?CHUNKSIZE-1:CHUNKSIZE;u.push(String.fromCharCode.apply(String,n.subarray(a,a+=d))),o-=d}while(o>CHUNKSIZE);return u.join("")+String.fromCharCode.apply(String,n.subarray(a,a+o))}function preInstantiate(t){const e={};function r(o,a){return o?getStringImpl(o.buffer,a):""}const n=t.env=t.env||{};return n.abort=n.abort||function(a,u,c,d){const m=e.memory||n.memory;throw Error("abort: "+r(m,a)+" at "+r(m,u)+":"+c+":"+d)},n.trace=n.trace||function(a,u){const c=e.memory||n.memory;console.log("trace: "+r(c,a)+(u?" ":"")+Array.prototype.slice.call(arguments,2,2+u).join(", "))},t.Math=t.Math||Math,t.Date=t.Date||Date,e}function postInstantiate(t,e){const r=e.exports,n=r.memory,o=r.table,a=r.__alloc,u=r.__retain,c=r.__rtti_base||-1;function d(A){const $=new Uint32Array(n.buffer),v=$[c>>>2];if((A>>>=0)>=v)throw Error("invalid id: "+A);return $[(c+4>>>2)+A*2]}function m(A){const $=new Uint32Array(n.buffer),v=$[c>>>2];if((A>>>=0)>=v)throw Error("invalid id: "+A);return $[(c+4>>>2)+A*2+1]}function y(A){return 31-Math.clz32(A>>>VAL_ALIGN_OFFSET&31)}function D(A){const $=A.length,v=a($<<1,STRING_ID),C=new Uint16Array(n.buffer);for(var I=0,F=v>>>1;I<$;++I)C[F+I]=A.charCodeAt(I);return v}t.__allocString=D;function T(A){const $=n.buffer;if(new Uint32Array($)[A+ID_OFFSET>>>2]!==STRING_ID)throw Error("not a string: "+A);return getStringImpl($,A)}t.__getString=T;function w(A,$,v){const C=n.buffer;if(v)switch(A){case 2:return new Float32Array(C);case 3:return new Float64Array(C)}else switch(A){case 0:return new($?Int8Array:Uint8Array)(C);case 1:return new($?Int16Array:Uint16Array)(C);case 2:return new($?Int32Array:Uint32Array)(C);case 3:return new($?BigInt64Array:BigUint64Array)(C)}throw Error("unsupported align: "+A)}function _(A,$){const v=d(A);if(!(v&(ARRAYBUFFERVIEW|ARRAY)))throw Error("not an array: "+A+" @ "+v);const C=y(v),I=$.length,F=a(I<>>2]=u(F),G[K+ARRAYBUFFERVIEW_DATASTART_OFFSET>>>2]=F,G[K+ARRAYBUFFERVIEW_DATALENGTH_OFFSET>>>2]=I<>>2]=I);const re=w(C,v&VAL_SIGNED,v&VAL_FLOAT);if(v&VAL_MANAGED)for(let q=0;q>>C)+q]=u($[q]);else re.set($,F>>>C);return K}t.__allocArray=_;function h(A){const $=new Uint32Array(n.buffer),v=$[A+ID_OFFSET>>>2],C=d(v);if(!(C&ARRAYBUFFERVIEW))throw Error("not an array: "+v);const I=y(C);var F=$[A+ARRAYBUFFERVIEW_DATASTART_OFFSET>>>2];const K=C&ARRAY?$[A+ARRAY_LENGTH_OFFSET>>>2]:$[F+SIZE_OFFSET>>>2]>>>I;return w(I,C&VAL_SIGNED,C&VAL_FLOAT).subarray(F>>>=I,F+K)}t.__getArrayView=h;function E(A){const $=h(A),v=$.length,C=new Array(v);for(let I=0;I>>2];return $.slice(A,A+v)}t.__getArrayBuffer=B;function O(A,$,v){return new A(k(A,$,v))}function k(A,$,v){const C=n.buffer,I=new Uint32Array(C),F=I[v+ARRAYBUFFERVIEW_DATASTART_OFFSET>>>2];return new A(C,F,I[F+SIZE_OFFSET>>>2]>>>$)}t.__getInt8Array=O.bind(null,Int8Array,0),t.__getInt8ArrayView=k.bind(null,Int8Array,0),t.__getUint8Array=O.bind(null,Uint8Array,0),t.__getUint8ArrayView=k.bind(null,Uint8Array,0),t.__getUint8ClampedArray=O.bind(null,Uint8ClampedArray,0),t.__getUint8ClampedArrayView=k.bind(null,Uint8ClampedArray,0),t.__getInt16Array=O.bind(null,Int16Array,1),t.__getInt16ArrayView=k.bind(null,Int16Array,1),t.__getUint16Array=O.bind(null,Uint16Array,1),t.__getUint16ArrayView=k.bind(null,Uint16Array,1),t.__getInt32Array=O.bind(null,Int32Array,2),t.__getInt32ArrayView=k.bind(null,Int32Array,2),t.__getUint32Array=O.bind(null,Uint32Array,2),t.__getUint32ArrayView=k.bind(null,Uint32Array,2),BIGINT&&(t.__getInt64Array=O.bind(null,BigInt64Array,3),t.__getInt64ArrayView=k.bind(null,BigInt64Array,3),t.__getUint64Array=O.bind(null,BigUint64Array,3),t.__getUint64ArrayView=k.bind(null,BigUint64Array,3)),t.__getFloat32Array=O.bind(null,Float32Array,2),t.__getFloat32ArrayView=k.bind(null,Float32Array,2),t.__getFloat64Array=O.bind(null,Float64Array,3),t.__getFloat64ArrayView=k.bind(null,Float64Array,3);function S(A,$){const v=new Uint32Array(n.buffer);var C=v[A+ID_OFFSET>>>2];if(C<=v[c>>>2])do if(C==$)return!0;while(C=m(C));return!1}return t.__instanceof=S,t.memory=t.memory||n,t.table=t.table||o,demangle(r,t)}function isResponse(t){return typeof Response<"u"&&t instanceof Response}async function instantiate$1(t,e){return isResponse(t=await t)?instantiateStreaming(t,e):postInstantiate(preInstantiate(e||(e={})),await WebAssembly.instantiate(t instanceof WebAssembly.Module?t:await WebAssembly.compile(t),e))}loader.instantiate=instantiate$1;function instantiateSync(t,e){return postInstantiate(preInstantiate(e||(e={})),new WebAssembly.Instance(t instanceof WebAssembly.Module?t:new WebAssembly.Module(t),e))}loader.instantiateSync=instantiateSync;async function instantiateStreaming(t,e){return WebAssembly.instantiateStreaming?postInstantiate(preInstantiate(e||(e={})),(await WebAssembly.instantiateStreaming(t,e)).instance):instantiate$1(isResponse(t=await t)?t.arrayBuffer():t,e)}loader.instantiateStreaming=instantiateStreaming;function demangle(t,e){var r=e?Object.create(e):{},n=t.__argumentsLength?function(o){t.__argumentsLength.value=o}:t.__setArgumentsLength||t.__setargc||function(){};for(let o in t){if(!Object.prototype.hasOwnProperty.call(t,o))continue;const a=t[o];let u=o.split("."),c=r;for(;u.length>1;){let y=u.shift();Object.prototype.hasOwnProperty.call(c,y)||(c[y]={}),c=c[y]}let d=u[0],m=d.indexOf("#");if(m>=0){let y=d.substring(0,m),D=c[y];if(typeof D>"u"||!D.prototype){let T=function(...w){return T.wrap(T.prototype.constructor(0,...w))};T.prototype={valueOf:function(){return this[THIS]}},T.wrap=function(w){return Object.create(T.prototype,{[THIS]:{value:w,writable:!1}})},D&&Object.getOwnPropertyNames(D).forEach(w=>Object.defineProperty(T,w,Object.getOwnPropertyDescriptor(D,w))),c[y]=T}if(d=d.substring(m+1),c=c[y].prototype,/^(get|set):/.test(d)){if(!Object.prototype.hasOwnProperty.call(c,d=d.substring(4))){let T=t[o.replace("set:","get:")],w=t[o.replace("get:","set:")];Object.defineProperty(c,d,{get:function(){return T(this[THIS])},set:function(_){w(this[THIS],_)},enumerable:!0})}}else d==="constructor"?(c[d]=(...T)=>(n(T.length),a(...T))).original=a:(c[d]=function(...T){return n(T.length),a(this[THIS],...T)}).original=a}else/^(get|set):/.test(d)?Object.prototype.hasOwnProperty.call(c,d=d.substring(4))||Object.defineProperty(c,d,{get:t[o.replace("set:","get:")],set:t[o.replace("get:","set:")],enumerable:!0}):typeof a=="function"&&a!==n?(c[d]=(...y)=>(n(y.length),a(...y))).original=a:c[d]=a}return r}loader.demangle=demangle;const{instantiate}=loader;loadWebAssembly.supported=typeof WebAssembly<"u";function loadWebAssembly(t={}){if(!loadWebAssembly.supported)return null;var e=new Uint8Array([0,97,115,109,1,0,0,0,1,78,14,96,2,127,126,0,96,1,127,1,126,96,2,127,127,0,96,1,127,1,127,96,1,127,0,96,2,127,127,1,127,96,3,127,127,127,1,127,96,0,0,96,3,127,127,127,0,96,0,1,127,96,4,127,127,127,127,0,96,5,127,127,127,127,127,1,127,96,1,126,1,127,96,2,126,126,1,126,2,13,1,3,101,110,118,5,97,98,111,114,116,0,10,3,54,53,2,2,8,9,3,5,2,8,6,5,3,4,2,6,9,12,13,2,5,11,3,2,3,2,3,2,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,6,7,7,4,4,5,3,1,0,1,6,47,9,127,1,65,0,11,127,1,65,0,11,127,0,65,3,11,127,0,65,4,11,127,1,65,0,11,127,1,65,0,11,127,1,65,0,11,127,0,65,240,2,11,127,0,65,6,11,7,240,5,41,6,109,101,109,111,114,121,2,0,7,95,95,97,108,108,111,99,0,10,8,95,95,114,101,116,97,105,110,0,11,9,95,95,114,101,108,101,97,115,101,0,12,9,95,95,99,111,108,108,101,99,116,0,51,11,95,95,114,116,116,105,95,98,97,115,101,3,7,13,73,110,116,51,50,65,114,114,97,121,95,73,68,3,2,13,85,105,110,116,56,65,114,114,97,121,95,73,68,3,3,6,100,101,103,114,101,101,0,16,3,109,111,100,0,17,5,82,97,98,105,110,3,8,16,82,97,98,105,110,35,103,101,116,58,119,105,110,100,111,119,0,21,16,82,97,98,105,110,35,115,101,116,58,119,105,110,100,111,119,0,22,21,82,97,98,105,110,35,103,101,116,58,119,105,110,100,111,119,95,115,105,122,101,0,23,21,82,97,98,105,110,35,115,101,116,58,119,105,110,100,111,119,95,115,105,122,101,0,24,14,82,97,98,105,110,35,103,101,116,58,119,112,111,115,0,25,14,82,97,98,105,110,35,115,101,116,58,119,112,111,115,0,26,15,82,97,98,105,110,35,103,101,116,58,99,111,117,110,116,0,27,15,82,97,98,105,110,35,115,101,116,58,99,111,117,110,116,0,28,13,82,97,98,105,110,35,103,101,116,58,112,111,115,0,29,13,82,97,98,105,110,35,115,101,116,58,112,111,115,0,30,15,82,97,98,105,110,35,103,101,116,58,115,116,97,114,116,0,31,15,82,97,98,105,110,35,115,101,116,58,115,116,97,114,116,0,32,16,82,97,98,105,110,35,103,101,116,58,100,105,103,101,115,116,0,33,16,82,97,98,105,110,35,115,101,116,58,100,105,103,101,115,116,0,34,21,82,97,98,105,110,35,103,101,116,58,99,104,117,110,107,95,115,116,97,114,116,0,35,21,82,97,98,105,110,35,115,101,116,58,99,104,117,110,107,95,115,116,97,114,116,0,36,22,82,97,98,105,110,35,103,101,116,58,99,104,117,110,107,95,108,101,110,103,116,104,0,37,22,82,97,98,105,110,35,115,101,116,58,99,104,117,110,107,95,108,101,110,103,116,104,0,38,31,82,97,98,105,110,35,103,101,116,58,99,104,117,110,107,95,99,117,116,95,102,105,110,103,101,114,112,114,105,110,116,0,39,31,82,97,98,105,110,35,115,101,116,58,99,104,117,110,107,95,99,117,116,95,102,105,110,103,101,114,112,114,105,110,116,0,40,20,82,97,98,105,110,35,103,101,116,58,112,111,108,121,110,111,109,105,97,108,0,41,20,82,97,98,105,110,35,115,101,116,58,112,111,108,121,110,111,109,105,97,108,0,42,17,82,97,98,105,110,35,103,101,116,58,109,105,110,115,105,122,101,0,43,17,82,97,98,105,110,35,115,101,116,58,109,105,110,115,105,122,101,0,44,17,82,97,98,105,110,35,103,101,116,58,109,97,120,115,105,122,101,0,45,17,82,97,98,105,110,35,115,101,116,58,109,97,120,115,105,122,101,0,46,14,82,97,98,105,110,35,103,101,116,58,109,97,115,107,0,47,14,82,97,98,105,110,35,115,101,116,58,109,97,115,107,0,48,17,82,97,98,105,110,35,99,111,110,115,116,114,117,99,116,111,114,0,20,17,82,97,98,105,110,35,102,105,110,103,101,114,112,114,105,110,116,0,49,8,1,50,10,165,31,53,199,1,1,4,127,32,1,40,2,0,65,124,113,34,2,65,128,2,73,4,127,32,2,65,4,118,33,4,65,0,5,32,2,65,31,32,2,103,107,34,3,65,4,107,118,65,16,115,33,4,32,3,65,7,107,11,33,3,32,1,40,2,20,33,2,32,1,40,2,16,34,5,4,64,32,5,32,2,54,2,20,11,32,2,4,64,32,2,32,5,54,2,16,11,32,1,32,0,32,4,32,3,65,4,116,106,65,2,116,106,40,2,96,70,4,64,32,0,32,4,32,3,65,4,116,106,65,2,116,106,32,2,54,2,96,32,2,69,4,64,32,0,32,3,65,2,116,106,32,0,32,3,65,2,116,106,40,2,4,65,1,32,4,116,65,127,115,113,34,1,54,2,4,32,1,69,4,64,32,0,32,0,40,2,0,65,1,32,3,116,65,127,115,113,54,2,0,11,11,11,11,226,2,1,6,127,32,1,40,2,0,33,3,32,1,65,16,106,32,1,40,2,0,65,124,113,106,34,4,40,2,0,34,5,65,1,113,4,64,32,3,65,124,113,65,16,106,32,5,65,124,113,106,34,2,65,240,255,255,255,3,73,4,64,32,0,32,4,16,1,32,1,32,2,32,3,65,3,113,114,34,3,54,2,0,32,1,65,16,106,32,1,40,2,0,65,124,113,106,34,4,40,2,0,33,5,11,11,32,3,65,2,113,4,64,32,1,65,4,107,40,2,0,34,2,40,2,0,34,6,65,124,113,65,16,106,32,3,65,124,113,106,34,7,65,240,255,255,255,3,73,4,64,32,0,32,2,16,1,32,2,32,7,32,6,65,3,113,114,34,3,54,2,0,32,2,33,1,11,11,32,4,32,5,65,2,114,54,2,0,32,4,65,4,107,32,1,54,2,0,32,0,32,3,65,124,113,34,2,65,128,2,73,4,127,32,2,65,4,118,33,4,65,0,5,32,2,65,31,32,2,103,107,34,2,65,4,107,118,65,16,115,33,4,32,2,65,7,107,11,34,3,65,4,116,32,4,106,65,2,116,106,40,2,96,33,2,32,1,65,0,54,2,16,32,1,32,2,54,2,20,32,2,4,64,32,2,32,1,54,2,16,11,32,0,32,4,32,3,65,4,116,106,65,2,116,106,32,1,54,2,96,32,0,32,0,40,2,0,65,1,32,3,116,114,54,2,0,32,0,32,3,65,2,116,106,32,0,32,3,65,2,116,106,40,2,4,65,1,32,4,116,114,54,2,4,11,119,1,1,127,32,2,2,127,32,0,40,2,160,12,34,2,4,64,32,2,32,1,65,16,107,70,4,64,32,2,40,2,0,33,3,32,1,65,16,107,33,1,11,11,32,1,11,107,34,2,65,48,73,4,64,15,11,32,1,32,3,65,2,113,32,2,65,32,107,65,1,114,114,54,2,0,32,1,65,0,54,2,16,32,1,65,0,54,2,20,32,1,32,2,106,65,16,107,34,2,65,2,54,2,0,32,0,32,2,54,2,160,12,32,0,32,1,16,2,11,155,1,1,3,127,35,0,34,0,69,4,64,65,1,63,0,34,0,74,4,127,65,1,32,0,107,64,0,65,0,72,5,65,0,11,4,64,0,11,65,176,3,34,0,65,0,54,2,0,65,208,15,65,0,54,2,0,3,64,32,1,65,23,73,4,64,32,1,65,2,116,65,176,3,106,65,0,54,2,4,65,0,33,2,3,64,32,2,65,16,73,4,64,32,1,65,4,116,32,2,106,65,2,116,65,176,3,106,65,0,54,2,96,32,2,65,1,106,33,2,12,1,11,11,32,1,65,1,106,33,1,12,1,11,11,65,176,3,65,224,15,63,0,65,16,116,16,3,65,176,3,36,0,11,32,0,11,45,0,32,0,65,240,255,255,255,3,79,4,64,65,32,65,224,0,65,201,3,65,29,16,0,0,11,32,0,65,15,106,65,112,113,34,0,65,16,32,0,65,16,75,27,11,169,1,1,1,127,32,0,32,1,65,128,2,73,4,127,32,1,65,4,118,33,1,65,0,5,32,1,65,248,255,255,255,1,73,4,64,32,1,65,1,65,27,32,1,103,107,116,106,65,1,107,33,1,11,32,1,65,31,32,1,103,107,34,2,65,4,107,118,65,16,115,33,1,32,2,65,7,107,11,34,2,65,2,116,106,40,2,4,65,127,32,1,116,113,34,1,4,127,32,0,32,1,104,32,2,65,4,116,106,65,2,116,106,40,2,96,5,32,0,40,2,0,65,127,32,2,65,1,106,116,113,34,1,4,127,32,0,32,0,32,1,104,34,0,65,2,116,106,40,2,4,104,32,0,65,4,116,106,65,2,116,106,40,2,96,5,65,0,11,11,11,111,1,1,127,63,0,34,2,32,1,65,248,255,255,255,1,73,4,127,32,1,65,1,65,27,32,1,103,107,116,65,1,107,106,5,32,1,11,65,16,32,0,40,2,160,12,32,2,65,16,116,65,16,107,71,116,106,65,255,255,3,106,65,128,128,124,113,65,16,118,34,1,32,2,32,1,74,27,64,0,65,0,72,4,64,32,1,64,0,65,0,72,4,64,0,11,11,32,0,32,2,65,16,116,63,0,65,16,116,16,3,11,113,1,2,127,32,1,40,2,0,34,3,65,124,113,32,2,107,34,4,65,32,79,4,64,32,1,32,2,32,3,65,2,113,114,54,2,0,32,2,32,1,65,16,106,106,34,1,32,4,65,16,107,65,1,114,54,2,0,32,0,32,1,16,2,5,32,1,32,3,65,126,113,54,2,0,32,1,65,16,106,32,1,40,2,0,65,124,113,106,32,1,65,16,106,32,1,40,2,0,65,124,113,106,40,2,0,65,125,113,54,2,0,11,11,91,1,2,127,32,0,32,1,16,5,34,4,16,6,34,3,69,4,64,65,1,36,1,65,0,36,1,32,0,32,4,16,6,34,3,69,4,64,32,0,32,4,16,7,32,0,32,4,16,6,33,3,11,11,32,3,65,0,54,2,4,32,3,32,2,54,2,8,32,3,32,1,54,2,12,32,0,32,3,16,1,32,0,32,3,32,4,16,8,32,3,11,13,0,16,4,32,0,32,1,16,9,65,16,106,11,33,1,1,127,32,0,65,172,3,75,4,64,32,0,65,16,107,34,1,32,1,40,2,4,65,1,106,54,2,4,11,32,0,11,18,0,32,0,65,172,3,75,4,64,32,0,65,16,107,16,52,11,11,140,3,1,1,127,2,64,32,1,69,13,0,32,0,65,0,58,0,0,32,0,32,1,106,65,1,107,65,0,58,0,0,32,1,65,2,77,13,0,32,0,65,1,106,65,0,58,0,0,32,0,65,2,106,65,0,58,0,0,32,0,32,1,106,34,2,65,2,107,65,0,58,0,0,32,2,65,3,107,65,0,58,0,0,32,1,65,6,77,13,0,32,0,65,3,106,65,0,58,0,0,32,0,32,1,106,65,4,107,65,0,58,0,0,32,1,65,8,77,13,0,32,1,65,0,32,0,107,65,3,113,34,1,107,33,2,32,0,32,1,106,34,0,65,0,54,2,0,32,0,32,2,65,124,113,34,1,106,65,4,107,65,0,54,2,0,32,1,65,8,77,13,0,32,0,65,4,106,65,0,54,2,0,32,0,65,8,106,65,0,54,2,0,32,0,32,1,106,34,2,65,12,107,65,0,54,2,0,32,2,65,8,107,65,0,54,2,0,32,1,65,24,77,13,0,32,0,65,12,106,65,0,54,2,0,32,0,65,16,106,65,0,54,2,0,32,0,65,20,106,65,0,54,2,0,32,0,65,24,106,65,0,54,2,0,32,0,32,1,106,34,2,65,28,107,65,0,54,2,0,32,2,65,24,107,65,0,54,2,0,32,2,65,20,107,65,0,54,2,0,32,2,65,16,107,65,0,54,2,0,32,0,32,0,65,4,113,65,24,106,34,2,106,33,0,32,1,32,2,107,33,1,3,64,32,1,65,32,79,4,64,32,0,66,0,55,3,0,32,0,65,8,106,66,0,55,3,0,32,0,65,16,106,66,0,55,3,0,32,0,65,24,106,66,0,55,3,0,32,1,65,32,107,33,1,32,0,65,32,106,33,0,12,1,11,11,11,11,178,1,1,3,127,32,1,65,240,255,255,255,3,32,2,118,75,4,64,65,144,1,65,192,1,65,23,65,56,16,0,0,11,32,1,32,2,116,34,3,65,0,16,10,34,2,32,3,16,13,32,0,69,4,64,65,12,65,2,16,10,34,0,65,172,3,75,4,64,32,0,65,16,107,34,1,32,1,40,2,4,65,1,106,54,2,4,11,11,32,0,65,0,54,2,0,32,0,65,0,54,2,4,32,0,65,0,54,2,8,32,2,34,1,32,0,40,2,0,34,4,71,4,64,32,1,65,172,3,75,4,64,32,1,65,16,107,34,5,32,5,40,2,4,65,1,106,54,2,4,11,32,4,16,12,11,32,0,32,1,54,2,0,32,0,32,2,54,2,4,32,0,32,3,54,2,8,32,0,11,46,1,2,127,65,12,65,5,16,10,34,0,65,172,3,75,4,64,32,0,65,16,107,34,1,32,1,40,2,4,65,1,106,54,2,4,11,32,0,65,128,2,65,3,16,14,11,9,0,65,63,32,0,121,167,107,11,49,1,2,127,65,63,32,1,121,167,107,33,2,3,64,65,63,32,0,121,167,107,32,2,107,34,3,65,0,78,4,64,32,0,32,1,32,3,172,134,133,33,0,12,1,11,11,32,0,11,40,0,32,1,32,0,40,2,8,79,4,64,65,128,2,65,192,2,65,163,1,65,44,16,0,0,11,32,1,32,0,40,2,4,106,65,0,58,0,0,11,38,0,32,1,32,0,40,2,8,79,4,64,65,128,2,65,192,2,65,152,1,65,44,16,0,0,11,32,1,32,0,40,2,4,106,45,0,0,11,254,5,2,1,127,4,126,32,0,69,4,64,65,232,0,65,6,16,10,34,0,65,172,3,75,4,64,32,0,65,16,107,34,5,32,5,40,2,4,65,1,106,54,2,4,11,11,32,0,65,0,54,2,0,32,0,65,0,54,2,4,32,0,65,0,54,2,8,32,0,66,0,55,3,16,32,0,66,0,55,3,24,32,0,66,0,55,3,32,32,0,66,0,55,3,40,32,0,66,0,55,3,48,32,0,66,0,55,3,56,32,0,66,0,55,3,64,32,0,66,0,55,3,72,32,0,66,0,55,3,80,32,0,66,0,55,3,88,32,0,66,0,55,3,96,32,0,32,2,173,55,3,80,32,0,32,3,173,55,3,88,65,12,65,4,16,10,34,2,65,172,3,75,4,64,32,2,65,16,107,34,3,32,3,40,2,4,65,1,106,54,2,4,11,32,2,32,4,65,0,16,14,33,2,32,0,40,2,0,16,12,32,0,32,2,54,2,0,32,0,32,4,54,2,4,32,0,66,1,32,1,173,134,66,1,125,55,3,96,32,0,66,243,130,183,218,216,230,232,30,55,3,72,35,4,69,4,64,65,0,33,2,3,64,32,2,65,128,2,72,4,64,32,2,65,255,1,113,173,33,6,32,0,41,3,72,34,7,33,8,65,63,32,7,121,167,107,33,1,3,64,65,63,32,6,121,167,107,32,1,107,34,3,65,0,78,4,64,32,6,32,8,32,3,172,134,133,33,6,12,1,11,11,65,0,33,4,3,64,32,4,32,0,40,2,4,65,1,107,72,4,64,32,6,66,8,134,33,6,32,0,41,3,72,34,7,33,8,65,63,32,7,121,167,107,33,1,3,64,65,63,32,6,121,167,107,32,1,107,34,3,65,0,78,4,64,32,6,32,8,32,3,172,134,133,33,6,12,1,11,11,32,4,65,1,106,33,4,12,1,11,11,35,6,40,2,4,32,2,65,3,116,106,32,6,55,3,0,32,2,65,1,106,33,2,12,1,11,11,65,63,32,0,41,3,72,121,167,107,172,33,7,65,0,33,2,3,64,32,2,65,128,2,72,4,64,35,5,33,1,32,2,172,32,7,134,34,8,33,6,65,63,32,0,41,3,72,34,9,121,167,107,33,3,3,64,65,63,32,6,121,167,107,32,3,107,34,4,65,0,78,4,64,32,6,32,9,32,4,172,134,133,33,6,12,1,11,11,32,1,40,2,4,32,2,65,3,116,106,32,6,32,8,132,55,3,0,32,2,65,1,106,33,2,12,1,11,11,65,1,36,4,11,32,0,66,0,55,3,24,32,0,66,0,55,3,32,65,0,33,2,3,64,32,2,32,0,40,2,4,72,4,64,32,0,40,2,0,32,2,16,18,32,2,65,1,106,33,2,12,1,11,11,32,0,66,0,55,3,40,32,0,65,0,54,2,8,32,0,66,0,55,3,16,32,0,66,0,55,3,40,32,0,40,2,0,32,0,40,2,8,16,19,33,1,32,0,40,2,8,32,0,40,2,0,40,2,4,106,65,1,58,0,0,32,0,32,0,41,3,40,35,6,40,2,4,32,1,65,3,116,106,41,3,0,133,55,3,40,32,0,32,0,40,2,8,65,1,106,32,0,40,2,4,111,54,2,8,32,0,35,5,40,2,4,32,0,41,3,40,34,6,66,45,136,167,65,3,116,106,41,3,0,32,6,66,8,134,66,1,132,133,55,3,40,32,0,11,38,1,1,127,32,0,40,2,0,34,0,65,172,3,75,4,64,32,0,65,16,107,34,1,32,1,40,2,4,65,1,106,54,2,4,11,32,0,11,55,1,2,127,32,1,32,0,40,2,0,34,2,71,4,64,32,1,65,172,3,75,4,64,32,1,65,16,107,34,3,32,3,40,2,4,65,1,106,54,2,4,11,32,2,16,12,11,32,0,32,1,54,2,0,11,7,0,32,0,40,2,4,11,9,0,32,0,32,1,54,2,4,11,7,0,32,0,40,2,8,11,9,0,32,0,32,1,54,2,8,11,7,0,32,0,41,3,16,11,9,0,32,0,32,1,55,3,16,11,7,0,32,0,41,3,24,11,9,0,32,0,32,1,55,3,24,11,7,0,32,0,41,3,32,11,9,0,32,0,32,1,55,3,32,11,7,0,32,0,41,3,40,11,9,0,32,0,32,1,55,3,40,11,7,0,32,0,41,3,48,11,9,0,32,0,32,1,55,3,48,11,7,0,32,0,41,3,56,11,9,0,32,0,32,1,55,3,56,11,7,0,32,0,41,3,64,11,9,0,32,0,32,1,55,3,64,11,7,0,32,0,41,3,72,11,9,0,32,0,32,1,55,3,72,11,7,0,32,0,41,3,80,11,9,0,32,0,32,1,55,3,80,11,7,0,32,0,41,3,88,11,9,0,32,0,32,1,55,3,88,11,7,0,32,0,41,3,96,11,9,0,32,0,32,1,55,3,96,11,172,4,2,5,127,1,126,32,2,65,172,3,75,4,64,32,2,65,16,107,34,4,32,4,40,2,4,65,1,106,54,2,4,11,32,2,33,4,65,0,33,2,32,1,40,2,8,33,5,32,1,40,2,4,33,6,3,64,2,127,65,0,33,3,3,64,32,3,32,5,72,4,64,32,3,32,6,106,45,0,0,33,1,32,0,40,2,0,32,0,40,2,8,16,19,33,7,32,0,40,2,8,32,0,40,2,0,40,2,4,106,32,1,58,0,0,32,0,32,0,41,3,40,35,6,40,2,4,32,7,65,3,116,106,41,3,0,133,55,3,40,32,0,32,0,40,2,8,65,1,106,32,0,40,2,4,111,54,2,8,32,0,35,5,40,2,4,32,0,41,3,40,34,8,66,45,136,167,65,3,116,106,41,3,0,32,1,173,32,8,66,8,134,132,133,55,3,40,32,0,32,0,41,3,16,66,1,124,55,3,16,32,0,32,0,41,3,24,66,1,124,55,3,24,32,0,41,3,16,32,0,41,3,80,90,4,127,32,0,41,3,40,32,0,41,3,96,131,80,5,65,0,11,4,127,65,1,5,32,0,41,3,16,32,0,41,3,88,90,11,4,64,32,0,32,0,41,3,32,55,3,48,32,0,32,0,41,3,16,55,3,56,32,0,32,0,41,3,40,55,3,64,65,0,33,1,3,64,32,1,32,0,40,2,4,72,4,64,32,0,40,2,0,32,1,16,18,32,1,65,1,106,33,1,12,1,11,11,32,0,66,0,55,3,40,32,0,65,0,54,2,8,32,0,66,0,55,3,16,32,0,66,0,55,3,40,32,0,40,2,0,32,0,40,2,8,16,19,33,1,32,0,40,2,8,32,0,40,2,0,40,2,4,106,65,1,58,0,0,32,0,32,0,41,3,40,35,6,40,2,4,32,1,65,3,116,106,41,3,0,133,55,3,40,32,0,32,0,40,2,8,65,1,106,32,0,40,2,4,111,54,2,8,32,0,35,5,40,2,4,32,0,41,3,40,34,8,66,45,136,167,65,3,116,106,41,3,0,32,8,66,8,134,66,1,132,133,55,3,40,32,3,65,1,106,12,3,11,32,3,65,1,106,33,3,12,1,11,11,65,127,11,34,1,65,0,78,4,64,32,5,32,1,107,33,5,32,1,32,6,106,33,6,32,2,34,1,65,1,106,33,2,32,4,40,2,4,32,1,65,2,116,106,32,0,41,3,56,62,2,0,12,1,11,11,32,4,11,10,0,16,15,36,5,16,15,36,6,11,3,0,1,11,73,1,2,127,32,0,40,2,4,34,1,65,255,255,255,255,0,113,34,2,65,1,70,4,64,32,0,65,16,106,16,53,32,0,32,0,40,2,0,65,1,114,54,2,0,35,0,32,0,16,2,5,32,0,32,2,65,1,107,32,1,65,128,128,128,128,127,113,114,54,2,4,11,11,58,0,2,64,2,64,2,64,32,0,65,8,107,40,2,0,14,7,0,0,1,1,1,1,1,2,11,15,11,32,0,40,2,0,34,0,4,64,32,0,65,172,3,79,4,64,32,0,65,16,107,16,52,11,11,15,11,0,11,11,137,3,7,0,65,16,11,55,40,0,0,0,1,0,0,0,1,0,0,0,40,0,0,0,97,0,108,0,108,0,111,0,99,0,97,0,116,0,105,0,111,0,110,0,32,0,116,0,111,0,111,0,32,0,108,0,97,0,114,0,103,0,101,0,65,208,0,11,45,30,0,0,0,1,0,0,0,1,0,0,0,30,0,0,0,126,0,108,0,105,0,98,0,47,0,114,0,116,0,47,0,116,0,108,0,115,0,102,0,46,0,116,0,115,0,65,128,1,11,43,28,0,0,0,1,0,0,0,1,0,0,0,28,0,0,0,73,0,110,0,118,0,97,0,108,0,105,0,100,0,32,0,108,0,101,0,110,0,103,0,116,0,104,0,65,176,1,11,53,38,0,0,0,1,0,0,0,1,0,0,0,38,0,0,0,126,0,108,0,105,0,98,0,47,0,97,0,114,0,114,0,97,0,121,0,98,0,117,0,102,0,102,0,101,0,114,0,46,0,116,0,115,0,65,240,1,11,51,36,0,0,0,1,0,0,0,1,0,0,0,36,0,0,0,73,0,110,0,100,0,101,0,120,0,32,0,111,0,117,0,116,0,32,0,111,0,102,0,32,0,114,0,97,0,110,0,103,0,101,0,65,176,2,11,51,36,0,0,0,1,0,0,0,1,0,0,0,36,0,0,0,126,0,108,0,105,0,98,0,47,0,116,0,121,0,112,0,101,0,100,0,97,0,114,0,114,0,97,0,121,0,46,0,116,0,115,0,65,240,2,11,53,7,0,0,0,16,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,145,4,0,0,2,0,0,0,49,0,0,0,2,0,0,0,17,1,0,0,2,0,0,0,16,0,34,16,115,111,117,114,99,101,77,97,112,112,105,110,103,85,82,76,16,46,47,114,97,98,105,110,46,119,97,115,109,46,109,97,112]);return instantiate(new Response(new Blob([e],{type:"application/wasm"})),t)}var rabinWasm=loadWebAssembly;const Rabin=rabin$1,getRabin=rabinWasm,create=async(t,e,r,n,o)=>{const a=await getRabin();return new Rabin(a,t,e,r,n,o)};var src$1={Rabin,create};async function*rabinChunker(t,e){let r,n,o;if(e.minChunkSize&&e.maxChunkSize&&e.avgChunkSize)o=e.avgChunkSize,r=e.minChunkSize,n=e.maxChunkSize;else if(e.avgChunkSize)o=e.avgChunkSize,r=o/3,n=o+o/2;else throw errCode$1(new Error("please specify an average chunk size"),"ERR_INVALID_AVG_CHUNK_SIZE");if(r<16)throw errCode$1(new Error("rabin min must be greater than 16"),"ERR_INVALID_MIN_CHUNK_SIZE");n=a;)if(yield r.slice(0,a),o=!0,a===r.length)r=new BufferList$1,n=0;else{const c=new BufferList$1;c.append(r.shallowSlice(a)),r=c,n-=a}(!o||n)&&(yield r.slice(0,n))}const identity=from$1({prefix:"\0",name:"identity",encode:t=>toString$1(t),decode:t=>fromString$3(t)}),identityBase=Object.freeze(Object.defineProperty({__proto__:null,identity},Symbol.toStringTag,{value:"Module"})),base2=rfc4648({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1}),base2$1=Object.freeze(Object.defineProperty({__proto__:null,base2},Symbol.toStringTag,{value:"Module"})),base8=rfc4648({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3}),base8$1=Object.freeze(Object.defineProperty({__proto__:null,base8},Symbol.toStringTag,{value:"Module"})),base10=baseX({prefix:"9",name:"base10",alphabet:"0123456789"}),base10$1=Object.freeze(Object.defineProperty({__proto__:null,base10},Symbol.toStringTag,{value:"Module"})),base16=rfc4648({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),base16upper=rfc4648({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4}),base16$1=Object.freeze(Object.defineProperty({__proto__:null,base16,base16upper},Symbol.toStringTag,{value:"Module"})),base36=baseX({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),base36upper=baseX({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),base36$1=Object.freeze(Object.defineProperty({__proto__:null,base36,base36upper},Symbol.toStringTag,{value:"Module"})),base64=rfc4648({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),base64pad=rfc4648({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),base64url=rfc4648({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),base64urlpad=rfc4648({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6}),base64$1=Object.freeze(Object.defineProperty({__proto__:null,base64,base64pad,base64url,base64urlpad},Symbol.toStringTag,{value:"Module"})),alphabet=Array.from("🚀🪐☄🛰🌌🌑🌒🌓🌔🌕🌖🌗🌘🌍🌏🌎🐉☀💻🖥💾💿😂❤😍🤣😊🙏💕😭😘👍😅👏😁🔥🥰💔💖💙😢🤔😆🙄💪😉☺👌🤗💜😔😎😇🌹🤦🎉💞✌✨🤷😱😌🌸🙌😋💗💚😏💛🙂💓🤩😄😀🖤😃💯🙈👇🎶😒🤭❣😜💋👀😪😑💥🙋😞😩😡🤪👊🥳😥🤤👉💃😳✋😚😝😴🌟😬🙃🍀🌷😻😓⭐✅🥺🌈😈🤘💦✔😣🏃💐☹🎊💘😠☝😕🌺🎂🌻😐🖕💝🙊😹🗣💫💀👑🎵🤞😛🔴😤🌼😫⚽🤙☕🏆🤫👈😮🙆🍻🍃🐶💁😲🌿🧡🎁⚡🌞🎈❌✊👋😰🤨😶🤝🚶💰🍓💢🤟🙁🚨💨🤬✈🎀🍺🤓😙💟🌱😖👶🥴▶➡❓💎💸⬇😨🌚🦋😷🕺⚠🙅😟😵👎🤲🤠🤧📌🔵💅🧐🐾🍒😗🤑🌊🤯🐷☎💧😯💆👆🎤🙇🍑❄🌴💣🐸💌📍🥀🤢👅💡💩👐📸👻🤐🤮🎼🥵🚩🍎🍊👼💍📣🥂"),alphabetBytesToChars=alphabet.reduce((t,e,r)=>(t[r]=e,t),[]),alphabetCharsToBytes=alphabet.reduce((t,e,r)=>(t[e.codePointAt(0)]=r,t),[]);function encode(t){return t.reduce((e,r)=>(e+=alphabetBytesToChars[r],e),"")}function decode(t){const e=[];for(const r of t){const n=alphabetCharsToBytes[r.codePointAt(0)];if(n===void 0)throw new Error(`Non-base256emoji character: ${r}`);e.push(n)}return new Uint8Array(e)}const base256emoji=from$1({prefix:"🚀",name:"base256emoji",encode,decode}),base256emoji$1=Object.freeze(Object.defineProperty({__proto__:null,base256emoji},Symbol.toStringTag,{value:"Module"}));new TextEncoder;new TextDecoder;const bases={...identityBase,...base2$1,...base8$1,...base10$1,...base16$1,...base32$1,...base36$1,...base58,...base64$1,...base256emoji$1};function asUint8Array(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function allocUnsafe(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?asUint8Array(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function createCodec(t,e,r,n){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:r},decoder:{decode:n}}}const string=createCodec("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),ascii=createCodec("ascii","a",t=>{let e="a";for(let r=0;r{t=t.substring(1);const e=allocUnsafe(t.length);for(let r=0;ro&&o!==".").join("/")),n.content){let o;typeof r.chunker=="function"?o=r.chunker:r.chunker==="rabin"?o=rabinChunker:o=fixedSizeChunker;let a;typeof r.chunkValidator=="function"?a=r.chunkValidator:a=validateChunks;const u={path:n.path,mtime:n.mtime,mode:n.mode,content:o(a(contentAsAsyncIterable(n.content),r),r)};yield()=>fileBuilder(u,e,r)}else if(n.path){const o={path:n.path,mtime:n.mtime,mode:n.mode};yield()=>dirBuilder(o,e,r)}else throw new Error("Import candidate must have content or path or both")}class Dir{constructor(e,r){this.options=r||{},this.root=e.root,this.dir=e.dir,this.path=e.path,this.dirty=e.dirty,this.flat=e.flat,this.parent=e.parent,this.parentKey=e.parentKey,this.unixfs=e.unixfs,this.mode=e.mode,this.mtime=e.mtime,this.cid=void 0,this.size=void 0}async put(e,r){}get(e){return Promise.resolve(this)}async*eachChildSeries(){}async*flush(e){}}class DirFlat extends Dir{constructor(e,r){super(e,r),this._children={}}async put(e,r){this.cid=void 0,this.size=void 0,this._children[e]=r}get(e){return Promise.resolve(this._children[e])}childCount(){return Object.keys(this._children).length}directChildrenCount(){return this.childCount()}onlyChild(){return this._children[Object.keys(this._children)[0]]}async*eachChildSeries(){const e=Object.keys(this._children);for(let r=0;rm+(y.Tsize==null?0:y.Tsize),0);this.cid=c,this.size=d,yield{cid:c,unixfs:o,path:this.path,size:d}}}const BITS_PER_BYTE=7;var sparseArray=class{constructor(){this._bitArrays=[],this._data=[],this._length=0,this._changedLength=!1,this._changedData=!1}set(e,r){let n=this._internalPositionFor(e,!1);if(r===void 0)n!==-1&&(this._unsetInternalPos(n),this._unsetBit(e),this._changedLength=!0,this._changedData=!0);else{let o=!1;n===-1?(n=this._data.length,this._setBit(e),this._changedData=!0):o=!0,this._setInternalPos(n,e,r,o),this._changedLength=!0}}unset(e){this.set(e,void 0)}get(e){this._sortData();const r=this._internalPositionFor(e,!0);if(r!==-1)return this._data[r][1]}push(e){return this.set(this.length,e),this.length}get length(){if(this._sortData(),this._changedLength){const e=this._data[this._data.length-1];this._length=e?e[0]+1:0,this._changedLength=!1}return this._length}forEach(e){let r=0;for(;r=this._bitArrays.length)return-1;const o=this._bitArrays[n],a=e-n*BITS_PER_BYTE;if(!((o&1<0))return-1;const c=this._bitArrays.slice(0,n).reduce(popCountReduce,0),d=~(4294967295<=r)a.push(u);else if(a[0][0]<=r)a.unshift(u);else{const c=Math.round(a.length/2);this._data=a.slice(0,c).concat(u).concat(a.slice(c))}else this._data.push(u);this._changedData=!0,this._changedLength=!0}}_unsetInternalPos(e){this._data.splice(e,1)}_sortData(){this._changedData&&this._data.sort(sortInternal),this._changedData=!1}bitField(){const e=[];let r=8,n=0,o=0,a;const u=this._bitArrays.slice();for(;u.length||n;){n===0&&(a=u.shift(),n=7);const d=Math.min(n,r),m=~(255<>>d,n-=d,r-=d,(!r||!n&&!u.length)&&(e.push(o),o=0,r=8)}for(var c=e.length-1;c>0&&e[c]===0;c--)e.pop();return e}compactArray(){return this._sortData(),this._data.map(valueOnly)}};function popCountReduce(t,e){return t+popCount(e)}function popCount(t){let e=t;return e=e-(e>>1&1431655765),e=(e&858993459)+(e>>2&858993459),(e+(e>>4)&252645135)*16843009>>24}function sortInternal(t,e){return t[0]-e[0]}function valueOnly(t){return t[1]}const require$$1$1=getAugmentedNamespace(fromString$1),SparseArray=sparseArray,{fromString:uint8ArrayFromString}=require$$1$1;let Bucket$1=class Be{constructor(e,r,n=0){this._options=e,this._popCount=0,this._parent=r,this._posAtParent=n,this._children=new SparseArray,this.key=null}async put(e,r){const n=await this._findNewBucketAndPos(e);await n.bucket._putAt(n,e,r)}async get(e){const r=await this._findChild(e);if(r)return r.value}async del(e){const r=await this._findPlace(e),n=r.bucket._at(r.pos);n&&n.key===e&&r.bucket._delAt(r.pos)}leafCount(){return this._children.compactArray().reduce((r,n)=>n instanceof Be?r+n.leafCount():r+1,0)}childrenCount(){return this._children.length}onlyChild(){return this._children.get(0)}*eachLeafSeries(){const e=this._children.compactArray();for(const r of e)r instanceof Be?yield*r.eachLeafSeries():yield r;return[]}serialize(e,r){const n=[];return r(this._children.reduce((o,a,u)=>(a&&(a instanceof Be?o.push(a.serialize(e,r)):o.push(e(a,u))),o),n))}asyncTransform(e,r){return asyncTransformBucket(this,e,r)}toJSON(){return this.serialize(mapNode,reduceNodes)}prettyPrint(){return JSON.stringify(this.toJSON(),null," ")}tableSize(){return Math.pow(2,this._options.bits)}async _findChild(e){const r=await this._findPlace(e),n=r.bucket._at(r.pos);if(!(n instanceof Be)&&n&&n.key===e)return n}async _findPlace(e){const r=this._options.hash(typeof e=="string"?uint8ArrayFromString(e):e),n=await r.take(this._options.bits),o=this._children.get(n);return o instanceof Be?o._findPlace(r):{bucket:this,pos:n,hash:r,existingChild:o}}async _findNewBucketAndPos(e){const r=await this._findPlace(e);if(r.existingChild&&r.existingChild.key!==e){const n=new Be(this._options,r.bucket,r.pos);r.bucket._putObjectAt(r.pos,n);const o=await n._findPlace(r.existingChild.hash);return o.bucket._putAt(o,r.existingChild.key,r.existingChild.value),n._findNewBucketAndPos(r.hash)}return r}_putAt(e,r,n){this._putObjectAt(e.pos,{key:r,value:n,hash:e.hash})}_putObjectAt(e,r){this._children.get(e)||this._popCount++,this._children.set(e,r)}_delAt(e){if(e===-1)throw new Error("Invalid position");this._children.get(e)&&this._popCount--,this._children.unset(e),this._level()}_level(){if(this._parent&&this._popCount<=1)if(this._popCount===1){const e=this._children.find(exists);if(e&&!(e instanceof Be)){const r=e.hash;r.untake(this._options.bits);const n={pos:this._posAtParent,hash:r,bucket:this._parent};this._parent._putAt(n,e.key,e.value)}}else this._parent._delAt(this._posAtParent)}_at(e){return this._children.get(e)}};function exists(t){return!!t}function mapNode(t,e){return t.key}function reduceNodes(t){return t}async function asyncTransformBucket(t,e,r){const n=[];for(const o of t._children.compactArray())if(o instanceof Bucket$1)await asyncTransformBucket(o,e,r);else{const a=await e(o);n.push({bitField:t._children.bitField(),children:a})}return r(n)}var bucket=Bucket$1,consumableHash={exports:{}};const START_MASKS=[255,254,252,248,240,224,192,128],STOP_MASKS=[1,3,7,15,31,63,127,255];var consumableBuffer=class{constructor(e){this._value=e,this._currentBytePos=e.length-1,this._currentBitPos=7}availableBits(){return this._currentBitPos+1+this._currentBytePos*8}totalBits(){return this._value.length*8}take(e){let r=e,n=0;for(;r&&this._haveBits();){const o=this._value[this._currentBytePos],a=this._currentBitPos+1,u=Math.min(a,r),c=byteBitsToInt(o,a-u,u);n=(n<7;)this._currentBitPos-=8,this._currentBytePos+=1}_haveBits(){return this._currentBytePos>=0}};function byteBitsToInt(t,e,r){const n=maskFor(e,r);return(t&n)>>>e}function maskFor(t,e){return START_MASKS[t]&STOP_MASKS[Math.min(e+t-1,7)]}function concat(t,e){e||(e=t.reduce((o,a)=>o+a.length,0));const r=allocUnsafe(e);let n=0;for(const o of t)r.set(o,n),n+=o.length;return asUint8Array(r)}const concat$1=Object.freeze(Object.defineProperty({__proto__:null,concat},Symbol.toStringTag,{value:"Module"})),require$$1=getAugmentedNamespace(concat$1),ConsumableBuffer=consumableBuffer,{concat:uint8ArrayConcat}=require$$1;function wrapHash$1(t){function e(r){return r instanceof InfiniteHash?r:new InfiniteHash(r,t)}return e}class InfiniteHash{constructor(e,r){if(!(e instanceof Uint8Array))throw new Error("can only hash Uint8Arrays");this._value=e,this._hashFn=r,this._depth=-1,this._availableBits=0,this._currentBufferIndex=0,this._buffers=[]}async take(e){let r=e;for(;this._availableBits0;){const o=this._buffers[this._currentBufferIndex],a=Math.min(o.availableBits(),r),u=o.take(a);n=(n<0;){const n=this._buffers[this._currentBufferIndex],o=Math.min(n.totalBits()-n.availableBits(),r);n.untake(o),r-=o,this._availableBits+=o,this._currentBufferIndex>0&&n.totalBits()===n.availableBits()&&(this._depth--,this._currentBufferIndex--)}}async _produceMoreBits(){this._depth++;const e=this._depth?uint8ArrayConcat([this._value,Uint8Array.from([this._depth])]):this._value,r=await this._hashFn(e),n=new ConsumableBuffer(r);this._buffers.push(n),this._availableBits+=n.availableBits()}}consumableHash.exports=wrapHash$1;consumableHash.exports.InfiniteHash=InfiniteHash;var consumableHashExports=consumableHash.exports;const Bucket=bucket,wrapHash=consumableHashExports;function createHAMT(t){if(!t||!t.hashFn)throw new Error("please define an options.hashFn");const e={bits:t.bits||8,hash:wrapHash(t.hashFn)};return new Bucket(e)}var src={createHAMT,Bucket};class DirSharded extends Dir{constructor(e,r){super(e,r),this._bucket=src.createHAMT({hashFn:r.hamtHashFn,bits:r.hamtBucketBits})}async put(e,r){await this._bucket.put(e,r)}get(e){return this._bucket.get(e)}childCount(){return this._bucket.leafCount()}directChildrenCount(){return this._bucket.childrenCount()}onlyChild(){return this._bucket.onlyChild()}async*eachChildSeries(){for await(const{key:e,value:r}of this._bucket.eachLeafSeries())yield{key:e,child:r}}async*flush(e){for await(const r of flush(this._bucket,e,this,this.options))yield{...r,path:this.path}}}async function*flush(t,e,r,n){const o=t._children,a=[];let u=0;for(let w=0;w=r&&(o=await convertToShard(e,n));const a=o.parent;if(a){if(o!==e){if(t&&(t.parent=o),!o.parentKey)throw new Error("No parent key found");await a.put(o.parentKey,o)}return flatToShard(o,a,r,n)}return o}async function convertToShard(t,e){const r=new DirSharded({root:t.root,dir:!0,parent:t.parent,parentKey:t.parentKey,path:t.path,dirty:t.dirty,flat:!1,mtime:t.mtime,mode:t.mode},e);for await(const{key:n,child:o}of t.eachChildSeries())await r.put(n,o);return r}const toPathComponents=(t="")=>(t.trim().match(/([^\\/]|\\\/)+/g)||[]).filter(Boolean);async function addToTree(t,e,r){const n=toPathComponents(t.path||""),o=n.length-1;let a=e,u="";for(let c=0;ce.next(),push:o=>{n.push(o)},next:()=>n.length?{done:!1,value:n.shift()}:e.next(),[r](){return this}}}var itPeekable=peekableIterator;const itPeekable$1=getDefaultExportFromCjs(itPeekable),map=async function*(t,e){for await(const r of t)yield e(r)};var itMap=map;const map$1=getDefaultExportFromCjs(itMap);function isBytes$1(t){return ArrayBuffer.isView(t)||t instanceof ArrayBuffer}function isBlob$2(t){return t.constructor&&(t.constructor.name==="Blob"||t.constructor.name==="File")&&typeof t.stream=="function"}function isFileObject(t){return typeof t=="object"&&(t.path||t.content)}const isReadableStream=t=>t&&typeof t.getReader=="function";async function*toAsyncIterable(t){yield t}async function normaliseContent(t){if(isBytes$1(t))return toAsyncIterable(toBytes(t));if(typeof t=="string"||t instanceof String)return toAsyncIterable(toBytes(t.toString()));if(isBlob$2(t))return blobToIt$1(t);if(isReadableStream(t)&&(t=browserStreamToIt(t)),Symbol.iterator in t||Symbol.asyncIterator in t){const e=itPeekable$1(t),{value:r,done:n}=await e.peek();if(n)return toAsyncIterable(new Uint8Array(0));if(e.push(r),Number.isInteger(r))return toAsyncIterable(Uint8Array.from(await all$1(e)));if(isBytes$1(r)||typeof r=="string"||r instanceof String)return map$1(e,toBytes)}throw errCode$1(new Error(`Unexpected input: ${t}`),"ERR_UNEXPECTED_INPUT")}function toBytes(t){return t instanceof Uint8Array?t:ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t instanceof ArrayBuffer?new Uint8Array(t):Array.isArray(t)?Uint8Array.from(t):fromString(t.toString())}async function*normaliseCandidateSingle(t,e){if(t==null)throw errCode$1(new Error(`Unexpected input: ${t}`),"ERR_UNEXPECTED_INPUT");if(typeof t=="string"||t instanceof String){yield toFileObject$1(t.toString(),e);return}if(isBytes$1(t)||isBlob$2(t)){yield toFileObject$1(t,e);return}if(isReadableStream(t)&&(t=browserStreamToIt(t)),Symbol.iterator in t||Symbol.asyncIterator in t){const r=itPeekable$1(t),{value:n,done:o}=await r.peek();if(o){yield{content:[]};return}if(r.push(n),Number.isInteger(n)||isBytes$1(n)||typeof n=="string"||n instanceof String){yield toFileObject$1(r,e);return}throw errCode$1(new Error("Unexpected input: multiple items passed - if you are using ipfs.add, please use ipfs.addAll instead"),"ERR_UNEXPECTED_INPUT")}if(isFileObject(t)){yield toFileObject$1(t,e);return}throw errCode$1(new Error('Unexpected input: cannot convert "'+typeof t+'" into ImportCandidate'),"ERR_UNEXPECTED_INPUT")}async function toFileObject$1(t,e){const{path:r,mode:n,mtime:o,content:a}=t,u={path:r||"",mode:parseMode(n),mtime:parseMtime(o)};return a?u.content=await e(a):r||(u.content=await e(t)),u}function normaliseInput$1(t){return normaliseCandidateSingle(t,normaliseContent)}async function*normaliseCandidateMultiple(t,e){if(typeof t=="string"||t instanceof String||isBytes$1(t)||isBlob$2(t)||t._readableState)throw errCode$1(new Error("Unexpected input: single item passed - if you are using ipfs.addAll, please use ipfs.add instead"),"ERR_UNEXPECTED_INPUT");if(isReadableStream(t)&&(t=browserStreamToIt(t)),Symbol.iterator in t||Symbol.asyncIterator in t){const r=itPeekable$1(t),{value:n,done:o}=await r.peek();if(o){yield*[];return}if(r.push(n),Number.isInteger(n))throw errCode$1(new Error("Unexpected input: single item passed - if you are using ipfs.addAll, please use ipfs.add instead"),"ERR_UNEXPECTED_INPUT");if(n._readableState){yield*map$1(r,a=>toFileObject({content:a},e));return}if(isBytes$1(n)){yield toFileObject({content:r},e);return}if(isFileObject(n)||n[Symbol.iterator]||n[Symbol.asyncIterator]||isReadableStream(n)||isBlob$2(n)){yield*map$1(r,a=>toFileObject(a,e));return}}throw isFileObject(t)?errCode$1(new Error("Unexpected input: single item passed - if you are using ipfs.addAll, please use ipfs.add instead"),"ERR_UNEXPECTED_INPUT"):errCode$1(new Error("Unexpected input: "+typeof t),"ERR_UNEXPECTED_INPUT")}async function toFileObject(t,e){const{path:r,mode:n,mtime:o,content:a}=t,u={path:r||"",mode:parseMode(n),mtime:parseMtime(o)};return a?u.content=await e(a):r||(u.content=await e(t)),u}function normaliseInput(t){return normaliseCandidateMultiple(t,normaliseContent)}function isBytes(t){return ArrayBuffer.isView(t)||t instanceof ArrayBuffer}function isBlob$1(t){return!!t.constructor&&(t.constructor.name==="Blob"||t.constructor.name==="File")&&typeof t.stream=="function"}function isSingle(t){return typeof t=="string"||t instanceof String||isBytes(t)||isBlob$1(t)||"_readableState"in t}function getNormaliser(t){return isSingle(t)?normaliseInput$1(t):normaliseInput(t)}const drain=async t=>{for await(const e of t);};var itDrain=drain;const drain$1=getDefaultExportFromCjs(itDrain),filter=async function*(t,e){for await(const r of t)await e(r)&&(yield r)};var itFilter=filter;const filter$1=getDefaultExportFromCjs(itFilter),take=async function*(t,e){let r=0;if(!(e<1)){for await(const n of t)if(yield n,r++,r===e)return}};var itTake=take;const take$1=getDefaultExportFromCjs(itTake),sortAll=(t,e)=>async function*(){yield*(await all$1(t)).sort(e)}();class BaseBlockstore{open(){return Promise.reject(new Error(".open is not implemented"))}close(){return Promise.reject(new Error(".close is not implemented"))}put(e,r,n){return Promise.reject(new Error(".put is not implemented"))}get(e,r){return Promise.reject(new Error(".get is not implemented"))}has(e,r){return Promise.reject(new Error(".has is not implemented"))}delete(e,r){return Promise.reject(new Error(".delete is not implemented"))}async*putMany(e,r={}){for await(const{key:n,value:o}of e)await this.put(n,o,r),yield{key:n,value:o}}async*getMany(e,r={}){for await(const n of e)yield this.get(n,r)}async*deleteMany(e,r={}){for await(const n of e)await this.delete(n,r),yield n}batch(){let e=[],r=[];return{put(n,o){e.push({key:n,value:o})},delete(n){r.push(n)},commit:async n=>{await drain$1(this.putMany(e,n)),e=[],await drain$1(this.deleteMany(r,n)),r=[]}}}async*_all(e,r){throw new Error("._all is not implemented")}async*_allKeys(e,r){throw new Error("._allKeys is not implemented")}query(e,r){let n=this._all(e,r);if(e.prefix!=null&&(n=filter$1(n,o=>o.key.toString().startsWith(e.prefix||""))),Array.isArray(e.filters)&&(n=e.filters.reduce((o,a)=>filter$1(o,a),n)),Array.isArray(e.orders)&&(n=e.orders.reduce((o,a)=>sortAll(o,a),n)),e.offset!=null){let o=0;n=filter$1(n,()=>o++>=(e.offset||0))}return e.limit!=null&&(n=take$1(n,e.limit)),n}queryKeys(e,r){let n=this._allKeys(e,r);if(e.prefix!=null&&(n=filter$1(n,o=>o.toString().startsWith(e.prefix||""))),Array.isArray(e.filters)&&(n=e.filters.reduce((o,a)=>filter$1(o,a),n)),Array.isArray(e.orders)&&(n=e.orders.reduce((o,a)=>sortAll(o,a),n)),e.offset!=null){let o=0;n=filter$1(n,()=>o++>=e.offset)}return e.limit!=null&&(n=take$1(n,e.limit)),n}}class MemoryBlockStore extends BaseBlockstore{constructor(){super(),this.store=new Map}async*blocks(){for(const[e,r]of this.store.entries())yield{cid:CID.parse(e),bytes:r}}put(e,r){return this.store.set(e.toString(),r),Promise.resolve()}get(e){const r=this.store.get(e.toString());if(!r)throw new Error(`block with cid ${e.toString()} no found`);return Promise.resolve(r)}has(e){return Promise.resolve(this.store.has(e.toString()))}close(){return this.store.clear(),Promise.resolve()}}const unixfsImporterOptionsDefault={cidVersion:1,chunker:"fixed",maxChunkSize:262144,hasher:sha256,rawLeaves:!0,wrapWithDirectory:!0,maxChildrenPerNode:174};async function pack({input:t,blockstore:e,hasher:r,maxChunkSize:n,maxChildrenPerNode:o,wrapWithDirectory:a,rawLeaves:u}){if(!t||Array.isArray(t)&&!t.length)throw new Error("missing input file(s)");const c=e||new MemoryBlockStore,d=await last$1(pipe$1(getNormaliser(t),E=>importer(E,c,{...unixfsImporterOptionsDefault,hasher:r||unixfsImporterOptionsDefault.hasher,maxChunkSize:n||unixfsImporterOptionsDefault.maxChunkSize,maxChildrenPerNode:o||unixfsImporterOptionsDefault.maxChildrenPerNode,wrapWithDirectory:a===!1?!1:unixfsImporterOptionsDefault.wrapWithDirectory,rawLeaves:u??unixfsImporterOptionsDefault.rawLeaves})));if(!d||!d.cid)throw new Error("given input could not be parsed correctly");const m=d.cid,{writer:y,out:D}=await CarWriter.create([m]),T=D[Symbol.asyncIterator]();let w;const _=async()=>{for await(const E of c.blocks())await y.put(E);await y.close(),e||await c.close()},h={[Symbol.asyncIterator](){if(w!=null)throw new Error("Multiple iterator not supported");return w=_(),{async next(){const E=await T.next();return E.done&&await w,E}}}};return{root:m,out:h}}var throttledQueue$1={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});function r(n,o,a){a===void 0&&(a=!1),a&&(o=o/n,n=1);var u=[],c=0,d=0,m,y=function(){var D=c+o,T=Date.now();if(To&&(c=h,d=0),d++{const r=e.gateway||GATEWAY;return t=new URL(String(t)),t.protocol==="ipfs:"?new URL(`/ipfs/${t.href.slice(7)}`,r):t};class BlockstoreCarReader{constructor(e,r,n){this._version=e,this._roots=r,this._blockstore=n}get version(){return this._version}get blockstore(){return this._blockstore}async getRoots(){return this._roots}has(e){return this._blockstore.has(e)}async get(e){const r=await this._blockstore.get(e);return{cid:e,bytes:r}}blocks(){return this._blockstore.blocks()}async*cids(){for await(const e of this.blocks())yield e.cid}}class Token{constructor(e,r,n){this.ipnft=e,this.url=r,this.data=n,Object.defineProperties(this,{ipnft:{enumerable:!0,writable:!1},url:{enumerable:!0,writable:!1},data:{enumerable:!1,writable:!1}})}embed(){return Token.embed(this)}static embed({data:e}){return embed(e,{gateway:GATEWAY})}static async encode(e){var m,y;const r=new Blockstore,[n,o]=mapTokenInputBlobs(e),a=JSON.parse(JSON.stringify(o)),u=JSON.parse(JSON.stringify(o));for(const[D,T]of n.entries()){const w=T.name||"blob";let _;parseInt((y=(m=globalThis.process)==null?void 0:m.versions)==null?void 0:y.node)>18?_=new Uint8Array(await T.arrayBuffer()):_=T.stream();const{root:h}=await pack({input:[{path:w,content:_}],blockstore:r,wrapWithDirectory:!0}),E=new URL(`ipfs://${h}/${w}`),B=D.split(".");setIn(a,B,E),setIn(u,B,h)}const{root:c}=await pack({input:[{path:"metadata.json",content:JSON.stringify(a)}],blockstore:r,wrapWithDirectory:!1}),d=await encode$4({value:{...u,"metadata.json":c,type:"nft"},codec:dagCbor,hasher:sha256});return await r.put(d.cid,d.bytes),{cid:d.cid,token:new Token(d.cid.toString(),`ipfs://${d.cid}/metadata.json`,a),car:new BlockstoreCarReader(1,[d.cid],r)}}}const embed=(t,e)=>mapWith(t,isURL,embedURL,e),isURL=t=>t instanceof URL,embedURL=(t,e)=>[t,toGatewayURL(e,t)],isObject=t=>typeof t=="object"&&t!=null,encodeBlob=(t,e,r)=>(t.set(r.join("."),e),[t,void 0]),isBlob=t=>t instanceof Blob$1,mapTokenInputBlobs=t=>mapValueWith(t,isBlob,encodeBlob,new Map,[]),mapWith=(t,e,r,n)=>{const[,o]=mapValueWith(t,e,r,n,[]);return o},mapValueWith=(t,e,r,n,o)=>e(t,n,o)?r(n,t,o):Array.isArray(t)?mapArrayWith(t,e,r,n,o):isObject(t)?mapObjectWith(t,e,r,n,o):[n,t],mapObjectWith=(t,e,r,n,o)=>{let a=n;const u={};for(const[c,d]of Object.entries(t)){const[m,y]=mapValueWith(d,e,r,a,[...o,c]);u[c]=y,a=m}return[a,u]},mapArrayWith=(t,e,r,n,o)=>{const a=[];let u=n;for(const[c,d]of t.entries()){const[m,y]=mapValueWith(d,e,r,u,[...o,c]);a[c]=y,u=m}return[u,a]},setIn=(t,e,r)=>{const n=e.length-1;let o=t;for(let[a,u]of e.entries())a===n?o[u]=r:o=o[u]},MAX_STORE_RETRIES=5,MAX_CONCURRENT_UPLOADS=3,MAX_CHUNK_SIZE=1024*1024*50,RATE_LIMIT_REQUESTS=30,RATE_LIMIT_PERIOD=10*1e3;function createRateLimiter(){const t=throttledQueue(RATE_LIMIT_REQUESTS,RATE_LIMIT_PERIOD);return()=>t(()=>{})}const globalRateLimiter=createRateLimiter();class NFTStorage{constructor({token:e,did:r,endpoint:n=new URL("https://api.nft.storage"),rateLimiter:o}){this.token=e,this.endpoint=n,this.rateLimiter=o||createRateLimiter(),this.did=r}static auth({token:e,did:r}){if(!e)throw new Error("missing token");return{Authorization:`Bearer ${e}`,"X-Client":"nft.storage/js",...r?{"x-agent-did":r}:{}}}static async storeBlob(e,r,n){const o=new Blockstore;let a;try{const{cid:u,car:c}=await NFTStorage.encodeBlob(r,{blockstore:o});await NFTStorage.storeCar(e,c,n),a=u.toString()}finally{await o.close()}return a}static async storeCar({endpoint:e,rateLimiter:r=globalRateLimiter,...n},o,{onStoredChunk:a,maxRetries:u,maxChunkSize:c,decoders:d,signal:m}={}){const y=new URL("upload/",e),D={...NFTStorage.auth(n),"Content-Type":"application/car"},T=c||MAX_CHUNK_SIZE,w=o instanceof Blob$1?await TreewalkCarSplitter.fromBlob(o,T,{decoders:d}):new TreewalkCarSplitter(o,T,{decoders:d}),_=transform(MAX_CONCURRENT_UPLOADS,async function(E){var A,$;const B=[];for await(const v of E)B.push(v);const O=new Blob$1(B,{type:"application/car"});let k=O;parseInt(($=(A=globalThis.process)==null?void 0:A.versions)==null?void 0:$.node)>18&&(k=await k.arrayBuffer());const S=await pRetry$1(async()=>{await r();let v;try{v=await fetch$1(y.toString(),{method:"POST",headers:D,body:k,signal:m})}catch(I){throw m&&m.aborted?new AbortError_1(I):I}if(v.status===429)throw new Error("rate limited");const C=await v.json();if(!C.ok)throw v.status===401?new AbortError_1(C.error.message):new Error(C.error.message);return C.value.cid},{retries:u??MAX_STORE_RETRIES});return a&&a(O.size),S});let h;for await(const E of _(w.cars()))h=E;return h}static async storeDirectory(e,r,n){const o=new Blockstore;let a;try{const{cid:u,car:c}=await NFTStorage.encodeDirectory(r,{blockstore:o});await NFTStorage.storeCar(e,c,n),a=u.toString()}finally{await o.close()}return a}static async store(e,r,n){const{token:o,car:a}=await NFTStorage.encodeNFT(r);return await NFTStorage.storeCar(e,a,n),o}static async status({endpoint:e,rateLimiter:r=globalRateLimiter,...n},o,a){const u=new URL(`${o}/`,e);await r();const c=await fetch$1(u.toString(),{method:"GET",headers:NFTStorage.auth(n),signal:a&&a.signal});if(c.status===429)throw new Error("rate limited");const d=await c.json();if(d.ok)return{cid:d.value.cid,deals:decodeDeals(d.value.deals),size:d.value.size,pin:decodePin(d.value.pin),created:new Date(d.value.created)};throw new Error(d.error.message)}static async check({endpoint:e,rateLimiter:r=globalRateLimiter},n,o){const a=new URL(`check/${n}/`,e);await r();const u=await fetch$1(a.toString(),{signal:o&&o.signal});if(u.status===429)throw new Error("rate limited");const c=await u.json();if(c.ok)return{cid:c.value.cid,deals:decodeDeals(c.value.deals),pin:c.value.pin};throw new Error(c.error.message)}static async delete({endpoint:e,rateLimiter:r=globalRateLimiter,...n},o,a){const u=new URL(`${o}/`,e);await r();const c=await fetch$1(u.toString(),{method:"DELETE",headers:NFTStorage.auth(n),signal:a&&a.signal});if(c.status===429)throw new Error("rate limited");const d=await c.json();if(!d.ok)throw new Error(d.error.message)}static async encodeNFT(e){return validateERC1155(e),Token.encode(e)}static async encodeBlob(e,{blockstore:r}={}){if(e.size===0)throw new Error("Content size is 0, make sure to provide some content");return packCar([toImportCandidate("blob",e)],{blockstore:r,wrapWithDirectory:!1})}static async encodeDirectory(e,{blockstore:r}={}){let n=0;const o=pipe$1(e,async function*(u){for await(const c of u)yield toImportCandidate(c.name,c),n+=c.size}),a=await packCar(o,{blockstore:r,wrapWithDirectory:!0});if(n===0)throw new Error("Total size of files should exceed 0, make sure to provide some content");return a}storeBlob(e,r){return NFTStorage.storeBlob(this,e,r)}storeCar(e,r){return NFTStorage.storeCar(this,e,r)}storeDirectory(e,r){return NFTStorage.storeDirectory(this,e,r)}status(e,r){return NFTStorage.status(this,e,r)}delete(e,r){return NFTStorage.delete(this,e,r)}check(e,r){return NFTStorage.check(this,e,r)}store(e,r){return NFTStorage.store(this,e,r)}}const validateERC1155=({name:t,description:e,image:r,decimals:n})=>{if(typeof t!="string")throw new TypeError("string property `name` identifying the asset is required");if(typeof e!="string")throw new TypeError("string property `description` describing asset is required");if(r instanceof Blob$1)r.type.startsWith("image/")||console.warn(`According to ERC721 Metadata JSON Schema 'image' must have 'image/*' mime type. + +For better interoperability we would highly recommend storing content with different mime type under 'properties' namespace e.g. \`properties: { video: file }\` and using 'image' field for storing a preview image for it instead. + +For more context please see ERC-721 specification https://eips.ethereum.org/EIPS/eip-721`);else throw new TypeError("property `image` must be a Blob or File object");if(typeof n<"u"&&typeof n!="number")throw new TypeError("property `decimals` must be an integer value")},packCar=async(t,{blockstore:e,wrapWithDirectory:r}={})=>{e=e||new Blockstore;const{root:n}=await pack({input:t,blockstore:e,wrapWithDirectory:r}),o=new BlockstoreCarReader(1,[n],e);return{cid:n,car:o}},decodeDeals=t=>t.map(e=>{const{dealActivation:r,dealExpiration:n,lastChanged:o}={dealExpiration:null,dealActivation:null,...e};return{...e,lastChanged:new Date(o),...r&&{dealActivation:new Date(r)},...n&&{dealExpiration:new Date(n)}}}),decodePin=t=>({...t,created:new Date(t.created)});function toImportCandidate(t,e){let r;return{path:t,get content(){return r=r||e.stream(),r}}}const client=new NFTStorage({token:PUBLIC_NFT_STORAGE_API_KEY}),storeMetaData=async t=>{try{const e=JSON.stringify(t),r=new Blob([e],{type:"application/json"});return[await client.storeBlob(r),null]}catch(e){return console.error(e),[null,e]}},createReview=async t=>{try{let e="";jwtToken.subscribe(a=>e=a);const r={method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${e}`},body:JSON.stringify(t)};return await(await fetch(`${PUBLIC_GATEWAY_URL}/delegateReviewCreation`,r)).json()}catch(e){return console.error(e),[null,e]}};function create_fragment(t){let e,r,n,o,a,u,c,d,m,y,D,T,w,_,h,E,B,O,k,S,A,$,v,C,I,F,K,G,re,q,U,ue,Ne,le,Pe,fe,H,z,Ie,ae,Se,Ce,Q,de,te,Oe,ne,Fe,V,ee,Le,he,Ae,pe,je,se,ye,Y,xe,Me,L,ie,f,s,l,p,g,b,x,R,j,N,M,P,J,ce,He,me,qe,ge,Ge,we,Ye,_e,Ke,be,Je,De,Xe,Ze,ze,$e,Qe,et,Ee,ve,Re,tt,rt;return r=new Header({}),ve=new Loader({}),{c(){e=element("div"),create_component(r.$$.fragment),n=space(),o=element("div"),a=element("div"),u=element("a"),c=svg_element("svg"),d=svg_element("path"),m=space(),y=element("h1"),D=text("share your reviews"),T=space(),w=element("div"),_=element("div"),h=text(t[2]),E=space(),B=element("select"),O=element("option"),k=text("Category"),S=element("option"),A=text("Tooling"),$=element("option"),v=text("Infra"),C=element("option"),I=text("Bridges"),F=element("option"),K=text("Launchpads"),G=element("option"),re=text("Social"),q=element("option"),U=text("Marketplaces"),ue=element("option"),Ne=text("Wallets"),le=element("option"),Pe=text("Stablecoins"),fe=element("option"),H=text("NFT Tooling"),z=element("option"),Ie=text("Gaming"),ae=element("option"),Se=text("DeFi"),Ce=space(),Q=element("input"),de=space(),te=element("input"),Oe=space(),ne=element("textarea"),Fe=space(),V=element("select"),ee=element("option"),Le=text("Type"),he=element("option"),Ae=text("Website"),pe=element("option"),je=text("Mobile App"),se=element("option"),ye=text("Browser Extension"),Y=element("option"),xe=text("Software"),Me=space(),L=element("select"),ie=element("option"),f=text("Tag"),s=element("option"),l=text("Genuine"),p=element("option"),g=text("Abandoned"),b=element("option"),x=text("Scam"),R=element("option"),j=text("Fake"),N=element("option"),M=text("Unsure"),P=space(),J=element("select"),ce=element("option"),He=text("Safety"),me=element("option"),qe=text("Safe"),ge=element("option"),Ge=text("Mostly Safe"),we=element("option"),Ye=text("Adware Issues"),_e=element("option"),Ke=text("Malware Threats"),be=element("option"),Je=text("Spyware Risks"),De=element("option"),Xe=text("Phishing Concerns"),Ze=space(),ze=element("div"),$e=element("button"),Qe=text("Submit"),et=space(),Ee=element("div"),create_component(ve.$$.fragment),this.h()},l(W){e=claim_element(W,"DIV",{class:!0});var X=children(e);claim_component(r.$$.fragment,X),n=claim_space(X),o=claim_element(X,"DIV",{class:!0});var Ve=children(o);a=claim_element(Ve,"DIV",{class:!0});var We=children(a);u=claim_element(We,"A",{href:!0});var nt=children(u);c=claim_svg_element(nt,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0,class:!0});var it=children(c);d=claim_svg_element(it,"path",{d:!0}),children(d).forEach(detach),it.forEach(detach),nt.forEach(detach),m=claim_space(We),y=claim_element(We,"H1",{class:!0});var ot=children(y);D=claim_text(ot,"share your reviews"),ot.forEach(detach),We.forEach(detach),T=claim_space(Ve),w=claim_element(Ve,"DIV",{class:!0});var Z=children(w);_=claim_element(Z,"DIV",{id:!0,class:!0});var at=children(_);h=claim_text(at,t[2]),at.forEach(detach),E=claim_space(Z),B=claim_element(Z,"SELECT",{id:!0,class:!0});var oe=children(B);O=claim_element(oe,"OPTION",{class:!0});var st=children(O);k=claim_text(st,"Category"),st.forEach(detach),S=claim_element(oe,"OPTION",{});var ct=children(S);A=claim_text(ct,"Tooling"),ct.forEach(detach),$=claim_element(oe,"OPTION",{});var ut=children($);v=claim_text(ut,"Infra"),ut.forEach(detach),C=claim_element(oe,"OPTION",{});var lt=children(C);I=claim_text(lt,"Bridges"),lt.forEach(detach),F=claim_element(oe,"OPTION",{});var ft=children(F);K=claim_text(ft,"Launchpads"),ft.forEach(detach),G=claim_element(oe,"OPTION",{});var dt=children(G);re=claim_text(dt,"Social"),dt.forEach(detach),q=claim_element(oe,"OPTION",{});var ht=children(q);U=claim_text(ht,"Marketplaces"),ht.forEach(detach),ue=claim_element(oe,"OPTION",{});var pt=children(ue);Ne=claim_text(pt,"Wallets"),pt.forEach(detach),le=claim_element(oe,"OPTION",{});var yt=children(le);Pe=claim_text(yt,"Stablecoins"),yt.forEach(detach),fe=claim_element(oe,"OPTION",{});var mt=children(fe);H=claim_text(mt,"NFT Tooling"),mt.forEach(detach),z=claim_element(oe,"OPTION",{});var gt=children(z);Ie=claim_text(gt,"Gaming"),gt.forEach(detach),ae=claim_element(oe,"OPTION",{});var wt=children(ae);Se=claim_text(wt,"DeFi"),wt.forEach(detach),oe.forEach(detach),Ce=claim_space(Z),Q=claim_element(Z,"INPUT",{id:!0,type:!0,min:!0,max:!0,placeholder:!0,class:!0}),de=claim_space(Z),te=claim_element(Z,"INPUT",{id:!0,type:!0,placeholder:!0,class:!0}),Oe=claim_space(Z),ne=claim_element(Z,"TEXTAREA",{id:!0,placeholder:!0,class:!0}),children(ne).forEach(detach),Fe=claim_space(Z),V=claim_element(Z,"SELECT",{id:!0,class:!0});var Ue=children(V);ee=claim_element(Ue,"OPTION",{class:!0});var _t=children(ee);Le=claim_text(_t,"Type"),_t.forEach(detach),he=claim_element(Ue,"OPTION",{});var bt=children(he);Ae=claim_text(bt,"Website"),bt.forEach(detach),pe=claim_element(Ue,"OPTION",{});var Dt=children(pe);je=claim_text(Dt,"Mobile App"),Dt.forEach(detach),se=claim_element(Ue,"OPTION",{});var Et=children(se);ye=claim_text(Et,"Browser Extension"),Et.forEach(detach),Y=claim_element(Ue,"OPTION",{});var Tt=children(Y);xe=claim_text(Tt,"Software"),Tt.forEach(detach),Ue.forEach(detach),Me=claim_space(Z),L=claim_element(Z,"SELECT",{id:!0,class:!0});var ke=children(L);ie=claim_element(ke,"OPTION",{class:!0});var Bt=children(ie);f=claim_text(Bt,"Tag"),Bt.forEach(detach),s=claim_element(ke,"OPTION",{});var At=children(s);l=claim_text(At,"Genuine"),At.forEach(detach),p=claim_element(ke,"OPTION",{});var xt=children(p);g=claim_text(xt,"Abandoned"),xt.forEach(detach),b=claim_element(ke,"OPTION",{});var $t=children(b);x=claim_text($t,"Scam"),$t.forEach(detach),R=claim_element(ke,"OPTION",{});var vt=children(R);j=claim_text(vt,"Fake"),vt.forEach(detach),N=claim_element(ke,"OPTION",{});var kt=children(N);M=claim_text(kt,"Unsure"),kt.forEach(detach),ke.forEach(detach),P=claim_space(Z),J=claim_element(Z,"SELECT",{id:!0,class:!0});var Te=children(J);ce=claim_element(Te,"OPTION",{class:!0});var It=children(ce);He=claim_text(It,"Safety"),It.forEach(detach),me=claim_element(Te,"OPTION",{});var St=children(me);qe=claim_text(St,"Safe"),St.forEach(detach),ge=claim_element(Te,"OPTION",{});var Ct=children(ge);Ge=claim_text(Ct,"Mostly Safe"),Ct.forEach(detach),we=claim_element(Te,"OPTION",{});var Ot=children(we);Ye=claim_text(Ot,"Adware Issues"),Ot.forEach(detach),_e=claim_element(Te,"OPTION",{});var Ft=children(_e);Ke=claim_text(Ft,"Malware Threats"),Ft.forEach(detach),be=claim_element(Te,"OPTION",{});var Rt=children(be);Je=claim_text(Rt,"Spyware Risks"),Rt.forEach(detach),De=claim_element(Te,"OPTION",{});var Ut=children(De);Xe=claim_text(Ut,"Phishing Concerns"),Ut.forEach(detach),Te.forEach(detach),Ze=claim_space(Z),ze=claim_element(Z,"DIV",{});var Nt=children(ze);$e=claim_element(Nt,"BUTTON",{class:!0});var Pt=children($e);Qe=claim_text(Pt,"Submit"),Pt.forEach(detach),Nt.forEach(detach),Z.forEach(detach),Ve.forEach(detach),et=claim_space(X),Ee=claim_element(X,"DIV",{class:!0});var Lt=children(Ee);claim_component(ve.$$.fragment,Lt),Lt.forEach(detach),X.forEach(detach),this.h()},h(){attr(d,"d","M16.6205 2.98833C16.5044 2.87192 16.3664 2.77956 16.2146 2.71655C16.0627 2.65353 15.8999 2.62109 15.7355 2.62109C15.5711 2.62109 15.4083 2.65353 15.2564 2.71655C15.1045 2.77956 14.9666 2.87192 14.8505 2.98833L6.54049 11.2983C6.44779 11.3908 6.37424 11.5007 6.32406 11.6217C6.27388 11.7427 6.24805 11.8724 6.24805 12.0033C6.24805 12.1343 6.27388 12.264 6.32406 12.385C6.37424 12.5059 6.44779 12.6158 6.54049 12.7083L14.8505 21.0183C15.3405 21.5083 16.1305 21.5083 16.6205 21.0183C17.1105 20.5283 17.1105 19.7383 16.6205 19.2483L9.38049 11.9983L16.6305 4.74833C17.1105 4.26833 17.1105 3.46833 16.6205 2.98833Z"),attr(c,"width","24"),attr(c,"height","24"),attr(c,"viewBox","0 0 24 24"),attr(c,"fill","none"),attr(c,"xmlns","http://www.w3.org/2000/svg"),attr(c,"class","fill-[#263238] dark:fill-[#11D9C5]"),attr(u,"href","/"),attr(y,"class","font-bold text-2xl capitalize"),attr(a,"class","flex items-center gap-4 mt-6"),attr(_,"id","websiteUrl"),attr(_,"class","text-xs text-gray-400 bg-transparent border border-[#263238] dark:border-[#11D9C5] py-3 px-3 rounded-full"),O.disabled=!0,O.selected=!0,attr(O,"class","font-bold"),O.__value="Category",O.value=O.__value,S.__value="tooling",S.value=S.__value,$.__value="infra",$.value=$.__value,C.__value="bridges",C.value=C.__value,F.__value="launchpads",F.value=F.__value,G.__value="social",G.value=G.__value,q.__value="marketplaces",q.value=q.__value,ue.__value="wallets",ue.value=ue.__value,le.__value="stablecoins",le.value=le.__value,fe.__value="nft tooling",fe.value=fe.__value,z.__value="gaming",z.value=z.__value,ae.__value="defi",ae.value=ae.__value,attr(B,"id","siteTag"),attr(B,"class","select select-success primary-input h-8"),B.required=!0,t[3]===void 0&&add_render_callback(()=>t[10].call(B)),attr(Q,"id","rating"),attr(Q,"type","number"),attr(Q,"min",0),attr(Q,"max",10),attr(Q,"placeholder","rating"),attr(Q,"class","input primary-input text-gray-400"),Q.required=!0,attr(te,"id","title"),attr(te,"type","text"),attr(te,"placeholder","Title"),attr(te,"class","input primary-input"),te.required=!0,attr(ne,"id","description"),attr(ne,"placeholder","Description"),attr(ne,"class","textarea textarea-success primary-input h-12 rounded-2xl"),ne.required=!0,ee.disabled=!0,ee.selected=!0,attr(ee,"class","font-bold"),ee.__value="Type",ee.value=ee.__value,he.__value="website",he.value=he.__value,pe.__value="mobile app",pe.value=pe.__value,se.__value="browser extension",se.value=se.__value,Y.__value="software",Y.value=Y.__value,attr(V,"id","siteType"),attr(V,"class","select select-success primary-input"),V.required=!0,t[6]===void 0&&add_render_callback(()=>t[14].call(V)),ie.disabled=!0,ie.selected=!0,attr(ie,"class","font-bold"),ie.__value="Tag",ie.value=ie.__value,s.__value="genuine",s.value=s.__value,p.__value="abandoned",p.value=p.__value,b.__value="scam",b.value=b.__value,R.__value="fake",R.value=R.__value,N.__value="unsure",N.value=N.__value,attr(L,"id","siteTag"),attr(L,"class","select select-success primary-input"),L.required=!0,t[4]===void 0&&add_render_callback(()=>t[15].call(L)),ce.disabled=!0,ce.selected=!0,attr(ce,"class","font-bold"),ce.__value="Safety",ce.value=ce.__value,me.__value="safe",me.value=me.__value,ge.__value="mostly safe",ge.value=ge.__value,we.__value="adware issues",we.value=we.__value,_e.__value="malware threats",_e.value=_e.__value,be.__value="spyware risks",be.value=be.__value,De.__value="phishing concerns",De.value=De.__value,attr(J,"id","siteSafety"),attr(J,"class","select select-success primary-input"),J.required=!0,t[5]===void 0&&add_render_callback(()=>t[16].call(J)),attr($e,"class","btn primary-button"),attr(w,"class","grid gap-y-4 mt-4"),attr(o,"class","relative text-black dark:text-white"),attr(Ee,"class","modal h-screen z-10 absolute top-0 flex justify-center items-center"),toggle_class(Ee,"modal-open",t[7]),attr(e,"class","grid flex-grow")},m(W,X){insert_hydration(W,e,X),mount_component(r,e,null),append_hydration(e,n),append_hydration(e,o),append_hydration(o,a),append_hydration(a,u),append_hydration(u,c),append_hydration(c,d),append_hydration(a,m),append_hydration(a,y),append_hydration(y,D),append_hydration(o,T),append_hydration(o,w),append_hydration(w,_),append_hydration(_,h),append_hydration(w,E),append_hydration(w,B),append_hydration(B,O),append_hydration(O,k),append_hydration(B,S),append_hydration(S,A),append_hydration(B,$),append_hydration($,v),append_hydration(B,C),append_hydration(C,I),append_hydration(B,F),append_hydration(F,K),append_hydration(B,G),append_hydration(G,re),append_hydration(B,q),append_hydration(q,U),append_hydration(B,ue),append_hydration(ue,Ne),append_hydration(B,le),append_hydration(le,Pe),append_hydration(B,fe),append_hydration(fe,H),append_hydration(B,z),append_hydration(z,Ie),append_hydration(B,ae),append_hydration(ae,Se),select_option(B,t[3],!0),append_hydration(w,Ce),append_hydration(w,Q),set_input_value(Q,t[8]),append_hydration(w,de),append_hydration(w,te),set_input_value(te,t[0]),append_hydration(w,Oe),append_hydration(w,ne),set_input_value(ne,t[1]),append_hydration(w,Fe),append_hydration(w,V),append_hydration(V,ee),append_hydration(ee,Le),append_hydration(V,he),append_hydration(he,Ae),append_hydration(V,pe),append_hydration(pe,je),append_hydration(V,se),append_hydration(se,ye),append_hydration(V,Y),append_hydration(Y,xe),select_option(V,t[6],!0),append_hydration(w,Me),append_hydration(w,L),append_hydration(L,ie),append_hydration(ie,f),append_hydration(L,s),append_hydration(s,l),append_hydration(L,p),append_hydration(p,g),append_hydration(L,b),append_hydration(b,x),append_hydration(L,R),append_hydration(R,j),append_hydration(L,N),append_hydration(N,M),select_option(L,t[4],!0),append_hydration(w,P),append_hydration(w,J),append_hydration(J,ce),append_hydration(ce,He),append_hydration(J,me),append_hydration(me,qe),append_hydration(J,ge),append_hydration(ge,Ge),append_hydration(J,we),append_hydration(we,Ye),append_hydration(J,_e),append_hydration(_e,Ke),append_hydration(J,be),append_hydration(be,Je),append_hydration(J,De),append_hydration(De,Xe),select_option(J,t[5],!0),append_hydration(w,Ze),append_hydration(w,ze),append_hydration(ze,$e),append_hydration($e,Qe),append_hydration(e,et),append_hydration(e,Ee),mount_component(ve,Ee,null),Re=!0,tt||(rt=[listen(B,"change",t[10]),listen(Q,"input",t[11]),listen(te,"input",t[12]),listen(ne,"input",t[13]),listen(V,"change",t[14]),listen(L,"change",t[15]),listen(J,"change",t[16]),listen($e,"click",t[9])],tt=!0)},p(W,[X]){(!Re||X&4)&&set_data(h,W[2]),X&8&&select_option(B,W[3]),X&256&&to_number(Q.value)!==W[8]&&set_input_value(Q,W[8]),X&1&&te.value!==W[0]&&set_input_value(te,W[0]),X&2&&set_input_value(ne,W[1]),X&64&&select_option(V,W[6]),X&16&&select_option(L,W[4]),X&32&&select_option(J,W[5]),(!Re||X&128)&&toggle_class(Ee,"modal-open",W[7])},i(W){Re||(transition_in(r.$$.fragment,W),transition_in(ve.$$.fragment,W),Re=!0)},o(W){transition_out(r.$$.fragment,W),transition_out(ve.$$.fragment,W),Re=!1},d(W){W&&detach(e),destroy_component(r),destroy_component(ve),tt=!1,run_all(rt)}}}let image="ipfs://bafybeica7pi67452fokrlrmxrooazsxbuluckmcojascc5z4fcazsuhsuy";function instance(t,e,r){let n,o,a,u,c,d,m,y=!1,D=0,T;const w=async()=>{var v;const[$]=await chrome.tabs.query({active:!0,currentWindow:!0});r(2,a=(v=$.url)==null?void 0:v.toLocaleLowerCase())},_=async()=>{r(7,y=!0);const $=new URL(`${a}`).hostname;let I=`ipfs://${await storeMetaData({name:n??"",description:o??"",category:u??"",image,domainAddress:$??"",siteUrl:a??"",siteType:m??"",siteTag:c??"",siteSafety:d??"",siteRating:D??""})}`.split(",")[0];try{T=await createReview({category:u??"",domainAddress:$??"",siteUrl:a??"",siteType:m??"",siteTag:c??"",siteSafety:d??"",metaDataUri:I,siteIpfsHash:"ipfs://abcd"})}catch(F){console.log("error: "+F)}finally{r(7,y=!1),T.status===200&&(window.location.href="/submit-review/success")}};onMount(async()=>{await checkAuth(),await w()});function h(){u=select_value(this),r(3,u)}function E(){D=to_number(this.value),r(8,D)}function B(){n=this.value,r(0,n)}function O(){o=this.value,r(1,o)}function k(){m=select_value(this),r(6,m)}function S(){c=select_value(this),r(4,c)}function A(){d=select_value(this),r(5,d)}return[n,o,a,u,c,d,m,y,D,_,h,E,B,O,k,S,A]}class Page extends SvelteComponent{constructor(e){super(),init(this,e,instance,create_fragment,safe_not_equal,{})}}export{Page as component}; diff --git a/build/app/immutable/nodes/16.9c0a46fb.js b/build/app/immutable/nodes/16.9c0a46fb.js new file mode 100644 index 000000000..3782279d5 --- /dev/null +++ b/build/app/immutable/nodes/16.9c0a46fb.js @@ -0,0 +1 @@ +import{S as O,i as P,s as T,k as _,y as V,a as $,O as B,q as A,l as g,m as i,z as j,c as D,P as H,h as n,r as I,n as t,b as z,A as M,D as e,H as N,g as U,d as F,B as G}from"../chunks/index.89e71670.js";import{H as J}from"../chunks/Header.cf7b0240.js";function K(L){let r,u,x,s,a,o,c,w,m,b,y,h,d,k,v;return u=new J({}),{c(){r=_("div"),V(u.$$.fragment),x=$(),s=_("div"),a=B("svg"),o=B("circle"),c=B("path"),w=$(),m=_("h1"),b=A("Successfully submitted!"),y=$(),h=_("a"),d=_("button"),k=A("go to homepage"),this.h()},l(l){r=g(l,"DIV",{});var f=i(r);j(u.$$.fragment,f),x=D(f),s=g(f,"DIV",{class:!0});var p=i(s);a=H(p,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var E=i(a);o=H(E,"circle",{cx:!0,cy:!0,r:!0,fill:!0}),i(o).forEach(n),c=H(E,"path",{d:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0}),i(c).forEach(n),E.forEach(n),w=D(p),m=g(p,"H1",{class:!0});var S=i(m);b=I(S,"Successfully submitted!"),S.forEach(n),y=D(p),h=g(p,"A",{href:!0,class:!0});var C=i(h);d=g(C,"BUTTON",{class:!0});var q=i(d);k=I(q,"go to homepage"),q.forEach(n),C.forEach(n),p.forEach(n),f.forEach(n),this.h()},h(){t(o,"cx","75"),t(o,"cy","105"),t(o,"r","52.5"),t(o,"fill","#222944"),t(c,"d","M44.9998 97.502L74.2205 119.417C74.6542 119.743 75.268 119.663 75.6045 119.238L126.9 54.4531"),t(c,"stroke","#11D9C5"),t(c,"stroke-width","7"),t(c,"stroke-linecap","round"),t(a,"width","180"),t(a,"height","180"),t(a,"viewBox","0 0 180 180"),t(a,"fill","none"),t(a,"xmlns","http://www.w3.org/2000/svg"),t(m,"class","text-black dark:text-white text-xl text-center font-bold"),t(d,"class","btn primary-button"),t(h,"href","/"),t(h,"class","w-full"),t(s,"class","h-[460px] text-center flex flex-col items-center justify-center gap-4")},m(l,f){z(l,r,f),M(u,r,null),e(r,x),e(r,s),e(s,a),e(a,o),e(a,c),e(s,w),e(s,m),e(m,b),e(s,y),e(s,h),e(h,d),e(d,k),v=!0},p:N,i(l){v||(U(u.$$.fragment,l),v=!0)},o(l){F(u.$$.fragment,l),v=!1},d(l){l&&n(r),G(u)}}}class W extends O{constructor(r){super(),P(this,r,null,K,T,{})}}export{W as component}; diff --git a/build/app/immutable/nodes/13.0d5ed22d.js b/build/app/immutable/nodes/17.d881b037.js similarity index 76% rename from build/app/immutable/nodes/13.0d5ed22d.js rename to build/app/immutable/nodes/17.d881b037.js index 15c6829ac..9565bee35 100644 --- a/build/app/immutable/nodes/13.0d5ed22d.js +++ b/build/app/immutable/nodes/17.d881b037.js @@ -1 +1 @@ -import{S as Ie,i as we,s as He,k as d,q as I,a as k,y as Pe,l as u,m as p,r as w,h as f,c as D,z as Ve,n as y,K as be,b as C,D as s,A as Te,u as K,g as Ae,d as Se,B as $e,I as Le,o as Ne}from"../chunks/index.f3b06f47.js";import{p as qe}from"../chunks/stores.d32fd6ff.js";import{w as ze}from"../chunks/store.26750aee.js";import{P as Be,N as Ge}from"../chunks/index.ec3c65db.js";import{L as Re}from"../chunks/Loader.d36557e7.js";function Ee(n){var h,c;let e,l=((h=n[0])==null?void 0:h.sender.substring(0,6))+"......"+((c=n[0])==null?void 0:c.sender.slice(-4)),o;return{c(){e=d("p"),o=I(l)},l(a){e=u(a,"P",{});var r=p(e);o=w(r,l),r.forEach(f)},m(a,r){C(a,e,r),s(e,o)},p(a,r){var t,m;r&1&&l!==(l=((t=a[0])==null?void 0:t.sender.substring(0,6))+"......"+((m=a[0])==null?void 0:m.sender.slice(-4)))&&K(o,l)},d(a){a&&f(e)}}}function ye(n){var h,c;let e,l=((h=n[0])==null?void 0:h.hash.substring(0,8))+"......"+((c=n[0])==null?void 0:c.hash.slice(-4)),o;return{c(){e=d("p"),o=I(l)},l(a){e=u(a,"P",{});var r=p(e);o=w(r,l),r.forEach(f)},m(a,r){C(a,e,r),s(e,o)},p(a,r){var t,m;r&1&&l!==(l=((t=a[0])==null?void 0:t.hash.substring(0,8))+"......"+((m=a[0])==null?void 0:m.hash.slice(-4)))&&K(o,l)},d(a){a&&f(e)}}}function ke(n){var h;let e,l=parseInt((h=n[0])==null?void 0:h.payload.arguments[1])/1e5+"",o;return{c(){e=d("p"),o=I(l)},l(c){e=u(c,"P",{});var a=p(e);o=w(a,l),a.forEach(f)},m(c,a){C(c,e,a),s(e,o)},p(c,a){var r;a&1&&l!==(l=parseInt((r=c[0])==null?void 0:r.payload.arguments[1])/1e5+"")&&K(o,l)},d(c){c&&f(e)}}}function De(n){var h,c;let e,l=((h=n[0])==null?void 0:h.payload.arguments[0].substring(0,8))+"......"+((c=n[0])==null?void 0:c.payload.arguments[0].slice(-4)),o;return{c(){e=d("p"),o=I(l)},l(a){e=u(a,"P",{});var r=p(e);o=w(r,l),r.forEach(f)},m(a,r){C(a,e,r),s(e,o)},p(a,r){var t,m;r&1&&l!==(l=((t=a[0])==null?void 0:t.payload.arguments[0].substring(0,8))+"......"+((m=a[0])==null?void 0:m.payload.arguments[0].slice(-4)))&&K(o,l)},d(a){a&&f(e)}}}function je(n){let e,l,o,h,c,a,r,t,m,L,W,X,Y,P,N,Z,x,ee,A,q,ae,se,R,j=n[0].gas_unit_price+"",M,le,V,z,te,re,ne,T,B,oe,ie,ce,S,$,G,v=n[0].sender&&Ee(n),g=n[0].hash&&ye(n),b=n[0].payload&&n[0].payload.arguments&&ke(n),E=n[0].payload&&n[0].payload.arguments&&De(n);return $=new Re({}),{c(){e=d("div"),l=d("a"),o=I("back"),h=k(),c=d("h3"),a=I("Transaction Details"),r=k(),t=d("div"),m=d("div"),L=d("h3"),W=I("Sender:"),X=k(),v&&v.c(),Y=k(),P=d("div"),N=d("h3"),Z=I("Hash:"),x=k(),g&&g.c(),ee=k(),A=d("div"),q=d("h3"),ae=I("Gas:"),se=k(),R=d("p"),M=I(j),le=k(),V=d("div"),z=d("h3"),te=I("Amount:"),re=k(),b&&b.c(),ne=k(),T=d("div"),B=d("h3"),oe=I("Receiver:"),ie=k(),E&&E.c(),ce=k(),S=d("div"),Pe($.$$.fragment),this.h()},l(i){e=u(i,"DIV",{class:!0});var _=p(e);l=u(_,"A",{href:!0,class:!0});var fe=p(l);o=w(fe,"back"),fe.forEach(f),h=D(_),c=u(_,"H3",{class:!0});var de=p(c);a=w(de,"Transaction Details"),de.forEach(f),r=D(_),t=u(_,"DIV",{class:!0});var H=p(t);m=u(H,"DIV",{class:!0});var F=p(m);L=u(F,"H3",{class:!0});var ue=p(L);W=w(ue,"Sender:"),ue.forEach(f),X=D(F),v&&v.l(F),F.forEach(f),Y=D(H),P=u(H,"DIV",{class:!0});var J=p(P);N=u(J,"H3",{class:!0});var pe=p(N);Z=w(pe,"Hash:"),pe.forEach(f),x=D(J),g&&g.l(J),J.forEach(f),ee=D(H),A=u(H,"DIV",{class:!0});var O=p(A);q=u(O,"H3",{class:!0});var he=p(q);ae=w(he,"Gas:"),he.forEach(f),se=D(O),R=u(O,"P",{});var me=p(R);M=w(me,j),me.forEach(f),O.forEach(f),le=D(H),V=u(H,"DIV",{class:!0});var Q=p(V);z=u(Q,"H3",{class:!0});var _e=p(z);te=w(_e,"Amount:"),_e.forEach(f),re=D(Q),b&&b.l(Q),Q.forEach(f),ne=D(H),T=u(H,"DIV",{class:!0});var U=p(T);B=u(U,"H3",{class:!0});var ve=p(B);oe=w(ve,"Receiver:"),ve.forEach(f),ie=D(U),E&&E.l(U),U.forEach(f),H.forEach(f),ce=D(_),S=u(_,"DIV",{class:!0});var ge=p(S);Ve($.$$.fragment,ge),ge.forEach(f),_.forEach(f),this.h()},h(){y(l,"href","/wallet"),y(l,"class","text-gray-900 dark:text-white no-underline"),y(c,"class","text-center font-bold"),y(L,"class","basis-1/4"),y(m,"class","flex gap-4"),y(N,"class","basis-1/4"),y(P,"class","flex gap-4"),y(q,"class","basis-1/4"),y(A,"class","flex gap-4"),y(z,"class","basis-1/4"),y(V,"class","flex gap-4"),y(B,"class","basis-1/4"),y(T,"class","flex gap-4"),y(t,"class","p-4 my-8 border border-white rounded-lg"),y(S,"class","modal h-screen z-10 absolute top-0 flex justify-center items-center"),be(S,"modal-open",n[1]),y(e,"class","p-8")},m(i,_){C(i,e,_),s(e,l),s(l,o),s(e,h),s(e,c),s(c,a),s(e,r),s(e,t),s(t,m),s(m,L),s(L,W),s(m,X),v&&v.m(m,null),s(t,Y),s(t,P),s(P,N),s(N,Z),s(P,x),g&&g.m(P,null),s(t,ee),s(t,A),s(A,q),s(q,ae),s(A,se),s(A,R),s(R,M),s(t,le),s(t,V),s(V,z),s(z,te),s(V,re),b&&b.m(V,null),s(t,ne),s(t,T),s(T,B),s(B,oe),s(T,ie),E&&E.m(T,null),s(e,ce),s(e,S),Te($,S,null),G=!0},p(i,[_]){i[0].sender?v?v.p(i,_):(v=Ee(i),v.c(),v.m(m,null)):v&&(v.d(1),v=null),i[0].hash?g?g.p(i,_):(g=ye(i),g.c(),g.m(P,null)):g&&(g.d(1),g=null),(!G||_&1)&&j!==(j=i[0].gas_unit_price+"")&&K(M,j),i[0].payload&&i[0].payload.arguments?b?b.p(i,_):(b=ke(i),b.c(),b.m(V,null)):b&&(b.d(1),b=null),i[0].payload&&i[0].payload.arguments?E?E.p(i,_):(E=De(i),E.c(),E.m(T,null)):E&&(E.d(1),E=null),(!G||_&2)&&be(S,"modal-open",i[1])},i(i){G||(Ae($.$$.fragment,i),G=!0)},o(i){Se($.$$.fragment,i),G=!1},d(i){i&&f(e),v&&v.d(),g&&g.d(),b&&b.d(),E&&E.d(),$e($)}}}function Ce(n,e,l){let o;Le(n,qe,t=>l(3,o=t));let h=[],{params:c}=o,a=!1;ze.subscribe(t=>t);const r=async()=>{l(1,a=!0);try{const t=new Be(Ge.TESTNET);l(0,h=await t.getTransactionByHash(c.hash))}catch{}finally{l(1,a=!1)}};return Ne(()=>{r()}),[h,a]}class Qe extends Ie{constructor(e){super(),we(this,e,Ce,je,He,{})}}export{Qe as component}; +import{S as Ie,i as we,s as He,k as d,q as I,a as k,y as Pe,l as u,m as p,r as w,h as f,c as D,z as Ve,n as y,L as be,b as C,D as s,A as Te,u as M,g as Ae,d as Se,B as $e,I as Le,o as Ne}from"../chunks/index.89e71670.js";import{p as qe}from"../chunks/stores.10dbaf69.js";import{w as ze}from"../chunks/store.b194c171.js";import{P as Be,N as Ge}from"../chunks/index.aad90ce6.js";import{L as Re}from"../chunks/Loader.ef1f0f41.js";function Ee(n){var h,c;let e,l=((h=n[0])==null?void 0:h.sender.substring(0,6))+"......"+((c=n[0])==null?void 0:c.sender.slice(-4)),o;return{c(){e=d("p"),o=I(l)},l(a){e=u(a,"P",{});var r=p(e);o=w(r,l),r.forEach(f)},m(a,r){C(a,e,r),s(e,o)},p(a,r){var t,m;r&1&&l!==(l=((t=a[0])==null?void 0:t.sender.substring(0,6))+"......"+((m=a[0])==null?void 0:m.sender.slice(-4)))&&M(o,l)},d(a){a&&f(e)}}}function ye(n){var h,c;let e,l=((h=n[0])==null?void 0:h.hash.substring(0,8))+"......"+((c=n[0])==null?void 0:c.hash.slice(-4)),o;return{c(){e=d("p"),o=I(l)},l(a){e=u(a,"P",{});var r=p(e);o=w(r,l),r.forEach(f)},m(a,r){C(a,e,r),s(e,o)},p(a,r){var t,m;r&1&&l!==(l=((t=a[0])==null?void 0:t.hash.substring(0,8))+"......"+((m=a[0])==null?void 0:m.hash.slice(-4)))&&M(o,l)},d(a){a&&f(e)}}}function ke(n){var h;let e,l=parseInt((h=n[0])==null?void 0:h.payload.arguments[1])/1e5+"",o;return{c(){e=d("p"),o=I(l)},l(c){e=u(c,"P",{});var a=p(e);o=w(a,l),a.forEach(f)},m(c,a){C(c,e,a),s(e,o)},p(c,a){var r;a&1&&l!==(l=parseInt((r=c[0])==null?void 0:r.payload.arguments[1])/1e5+"")&&M(o,l)},d(c){c&&f(e)}}}function De(n){var h,c;let e,l=((h=n[0])==null?void 0:h.payload.arguments[0].substring(0,8))+"......"+((c=n[0])==null?void 0:c.payload.arguments[0].slice(-4)),o;return{c(){e=d("p"),o=I(l)},l(a){e=u(a,"P",{});var r=p(e);o=w(r,l),r.forEach(f)},m(a,r){C(a,e,r),s(e,o)},p(a,r){var t,m;r&1&&l!==(l=((t=a[0])==null?void 0:t.payload.arguments[0].substring(0,8))+"......"+((m=a[0])==null?void 0:m.payload.arguments[0].slice(-4)))&&M(o,l)},d(a){a&&f(e)}}}function je(n){let e,l,o,h,c,a,r,t,m,L,W,X,Y,P,N,Z,x,ee,A,q,ae,se,R,j=n[0].gas_unit_price+"",F,le,V,z,te,re,ne,T,B,oe,ie,ce,S,$,G,v=n[0].sender&&Ee(n),g=n[0].hash&&ye(n),b=n[0].payload&&n[0].payload.arguments&&ke(n),E=n[0].payload&&n[0].payload.arguments&&De(n);return $=new Re({}),{c(){e=d("div"),l=d("a"),o=I("back"),h=k(),c=d("h3"),a=I("Transaction Details"),r=k(),t=d("div"),m=d("div"),L=d("h3"),W=I("Sender:"),X=k(),v&&v.c(),Y=k(),P=d("div"),N=d("h3"),Z=I("Hash:"),x=k(),g&&g.c(),ee=k(),A=d("div"),q=d("h3"),ae=I("Gas:"),se=k(),R=d("p"),F=I(j),le=k(),V=d("div"),z=d("h3"),te=I("Amount:"),re=k(),b&&b.c(),ne=k(),T=d("div"),B=d("h3"),oe=I("Receiver:"),ie=k(),E&&E.c(),ce=k(),S=d("div"),Pe($.$$.fragment),this.h()},l(i){e=u(i,"DIV",{class:!0});var _=p(e);l=u(_,"A",{href:!0,class:!0});var fe=p(l);o=w(fe,"back"),fe.forEach(f),h=D(_),c=u(_,"H3",{class:!0});var de=p(c);a=w(de,"Transaction Details"),de.forEach(f),r=D(_),t=u(_,"DIV",{class:!0});var H=p(t);m=u(H,"DIV",{class:!0});var J=p(m);L=u(J,"H3",{class:!0});var ue=p(L);W=w(ue,"Sender:"),ue.forEach(f),X=D(J),v&&v.l(J),J.forEach(f),Y=D(H),P=u(H,"DIV",{class:!0});var K=p(P);N=u(K,"H3",{class:!0});var pe=p(N);Z=w(pe,"Hash:"),pe.forEach(f),x=D(K),g&&g.l(K),K.forEach(f),ee=D(H),A=u(H,"DIV",{class:!0});var O=p(A);q=u(O,"H3",{class:!0});var he=p(q);ae=w(he,"Gas:"),he.forEach(f),se=D(O),R=u(O,"P",{});var me=p(R);F=w(me,j),me.forEach(f),O.forEach(f),le=D(H),V=u(H,"DIV",{class:!0});var Q=p(V);z=u(Q,"H3",{class:!0});var _e=p(z);te=w(_e,"Amount:"),_e.forEach(f),re=D(Q),b&&b.l(Q),Q.forEach(f),ne=D(H),T=u(H,"DIV",{class:!0});var U=p(T);B=u(U,"H3",{class:!0});var ve=p(B);oe=w(ve,"Receiver:"),ve.forEach(f),ie=D(U),E&&E.l(U),U.forEach(f),H.forEach(f),ce=D(_),S=u(_,"DIV",{class:!0});var ge=p(S);Ve($.$$.fragment,ge),ge.forEach(f),_.forEach(f),this.h()},h(){y(l,"href","/wallet"),y(l,"class","text-gray-900 dark:text-white no-underline"),y(c,"class","text-center font-bold"),y(L,"class","basis-1/4"),y(m,"class","flex gap-4"),y(N,"class","basis-1/4"),y(P,"class","flex gap-4"),y(q,"class","basis-1/4"),y(A,"class","flex gap-4"),y(z,"class","basis-1/4"),y(V,"class","flex gap-4"),y(B,"class","basis-1/4"),y(T,"class","flex gap-4"),y(t,"class","p-4 my-8 border border-white rounded-lg"),y(S,"class","modal h-screen z-10 absolute top-0 flex justify-center items-center"),be(S,"modal-open",n[1]),y(e,"class","p-8")},m(i,_){C(i,e,_),s(e,l),s(l,o),s(e,h),s(e,c),s(c,a),s(e,r),s(e,t),s(t,m),s(m,L),s(L,W),s(m,X),v&&v.m(m,null),s(t,Y),s(t,P),s(P,N),s(N,Z),s(P,x),g&&g.m(P,null),s(t,ee),s(t,A),s(A,q),s(q,ae),s(A,se),s(A,R),s(R,F),s(t,le),s(t,V),s(V,z),s(z,te),s(V,re),b&&b.m(V,null),s(t,ne),s(t,T),s(T,B),s(B,oe),s(T,ie),E&&E.m(T,null),s(e,ce),s(e,S),Te($,S,null),G=!0},p(i,[_]){i[0].sender?v?v.p(i,_):(v=Ee(i),v.c(),v.m(m,null)):v&&(v.d(1),v=null),i[0].hash?g?g.p(i,_):(g=ye(i),g.c(),g.m(P,null)):g&&(g.d(1),g=null),(!G||_&1)&&j!==(j=i[0].gas_unit_price+"")&&M(F,j),i[0].payload&&i[0].payload.arguments?b?b.p(i,_):(b=ke(i),b.c(),b.m(V,null)):b&&(b.d(1),b=null),i[0].payload&&i[0].payload.arguments?E?E.p(i,_):(E=De(i),E.c(),E.m(T,null)):E&&(E.d(1),E=null),(!G||_&2)&&be(S,"modal-open",i[1])},i(i){G||(Ae($.$$.fragment,i),G=!0)},o(i){Se($.$$.fragment,i),G=!1},d(i){i&&f(e),v&&v.d(),g&&g.d(),b&&b.d(),E&&E.d(),$e($)}}}function Ce(n,e,l){let o;Le(n,qe,t=>l(3,o=t));let h=[],{params:c}=o,a=!1;ze.subscribe(t=>t);const r=async()=>{l(1,a=!0);try{const t=new Be(Ge.TESTNET);l(0,h=await t.getTransactionByHash(c.hash))}catch{}finally{l(1,a=!1)}};return Ne(()=>{r()}),[h,a]}class Qe extends Ie{constructor(e){super(),we(this,e,Ce,je,He,{})}}export{Qe as component}; diff --git a/build/app/immutable/nodes/18.179817f6.js b/build/app/immutable/nodes/18.179817f6.js new file mode 100644 index 000000000..581af086f --- /dev/null +++ b/build/app/immutable/nodes/18.179817f6.js @@ -0,0 +1,9 @@ +import{S as mt,i as pt,s as _t,k as u,a as $,q as I,O as J,l as f,m as i,h as o,c as T,r as N,P as K,U as At,n as a,b as Y,D as e,K as kt,u as yt,H as st,o as $t,J as Wt,L as Et,N as Zt,y as nt,z as ot,A as ct,v as Qt,d as X,f as zt,g as tt,B as dt}from"../chunks/index.89e71670.js";import{w as Tt}from"../chunks/store.b194c171.js";import{g as Ft}from"../chunks/qrCode.512fe2c5.js";import{P as Gt,N as jt,a as qt,C as Yt}from"../chunks/index.aad90ce6.js";import{b as Jt,c as Kt}from"../chunks/public.6087a87e.js";import{L as Xt}from"../chunks/Loader.ef1f0f41.js";import{H as te}from"../chunks/Header.cf7b0240.js";function ee(p){let t,r;return{c(){t=u("p"),r=I("Generating QR code...")},l(l){t=f(l,"P",{});var s=i(t);r=N(s,"Generating QR code..."),s.forEach(o)},m(l,s){Y(l,t,s),e(t,r)},p:st,d(l){l&&o(t)}}}function re(p){let t,r;return{c(){t=u("img"),this.h()},l(l){t=f(l,"IMG",{src:!0,alt:!0,class:!0}),this.h()},h(){At(t.src,r=p[2])||a(t,"src",r),a(t,"alt","QR Code"),a(t,"class","w-full")},m(l,s){Y(l,t,s)},p(l,s){s&4&&!At(t.src,r=l[2])&&a(t,"src",r)},d(l){l&&o(t)}}}function le(p){let t,r,l,s,b,n,c,h,_=p[0].substring(0,5)+"...",g,y,P,w,H,m,d,A,v,k,V,M,R,S,C,Q,x,E,U,B,j,O,Z,L,z,it,q,D,et,rt=p[1].substring(0,25)+"...",lt,ut,bt;function vt(W,G){return W[2]?re:ee}let at=vt(p),F=at(p);return{c(){t=u("div"),r=u("div"),l=u("div"),s=u("img"),n=$(),c=u("div"),h=u("span"),g=I(_),y=I(" APTOS"),P=$(),w=u("div"),H=u("label"),m=u("button"),d=u("span"),A=I("Show QR Code"),v=$(),k=J("svg"),V=J("g"),M=J("path"),R=J("path"),S=J("path"),C=J("path"),Q=J("defs"),x=J("clipPath"),E=J("rect"),U=$(),B=u("input"),j=$(),O=u("div"),Z=u("div"),L=u("label"),z=I("✕"),it=$(),q=u("div"),F.c(),D=$(),et=u("p"),lt=I(rt),this.h()},l(W){t=f(W,"DIV",{class:!0});var G=i(t);r=f(G,"DIV",{class:!0});var wt=i(r);l=f(wt,"DIV",{class:!0});var Dt=i(l);s=f(Dt,"IMG",{src:!0,alt:!0,class:!0}),Dt.forEach(o),n=T(wt),c=f(wt,"DIV",{class:!0});var It=i(c);h=f(It,"SPAN",{class:!0});var Vt=i(h);g=N(Vt,_),y=N(Vt," APTOS"),Vt.forEach(o),It.forEach(o),wt.forEach(o),P=T(G),w=f(G,"DIV",{class:!0});var ft=i(w);H=f(ft,"LABEL",{for:!0});var Nt=i(H);m=f(Nt,"BUTTON",{class:!0});var xt=i(m);d=f(xt,"SPAN",{class:!0});var Pt=i(d);A=N(Pt,"Show QR Code"),Pt.forEach(o),v=T(xt),k=K(xt,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0,class:!0});var Ht=i(k);V=K(Ht,"g",{"clip-path":!0});var gt=i(V);M=K(gt,"path",{d:!0}),i(M).forEach(o),R=K(gt,"path",{d:!0}),i(R).forEach(o),S=K(gt,"path",{d:!0}),i(S).forEach(o),C=K(gt,"path",{d:!0}),i(C).forEach(o),gt.forEach(o),Q=K(Ht,"defs",{});var Ct=i(Q);x=K(Ct,"clipPath",{id:!0});var Bt=i(x);E=K(Bt,"rect",{width:!0,height:!0,fill:!0}),i(E).forEach(o),Bt.forEach(o),Ct.forEach(o),Ht.forEach(o),xt.forEach(o),Nt.forEach(o),U=T(ft),B=f(ft,"INPUT",{type:!0,id:!0,class:!0}),j=T(ft),O=f(ft,"DIV",{class:!0});var Mt=i(O);Z=f(Mt,"DIV",{class:!0});var ht=i(Z);L=f(ht,"LABEL",{for:!0,class:!0});var St=i(L);z=N(St,"✕"),St.forEach(o),it=T(ht),q=f(ht,"DIV",{class:!0});var Ut=i(q);F.l(Ut),Ut.forEach(o),D=T(ht),et=f(ht,"P",{});var Rt=i(et);lt=N(Rt,rt),Rt.forEach(o),ht.forEach(o),Mt.forEach(o),ft.forEach(o),G.forEach(o),this.h()},h(){At(s.src,b=ae)||a(s,"src",b),a(s,"alt","Netsepio "),a(s,"class","h-20 w-20 flex items-center mx-28 mb-4"),a(l,"class","flex items-center mb-4"),a(h,"class","text-3xl font-bold text-center"),a(c,"class","flex justify-center"),a(r,"class","flex flex-col mb-8"),a(d,"class","text-sm"),a(M,"d","M7.875 7.875H9.75V9.75H7.875V7.875ZM6.375 6.375H7.875V7.875H6.375V6.375ZM9.75 9.75H11.25V11.25H9.75V9.75ZM10.125 6.375H11.25V7.5H10.125V6.375ZM6.375 10.125H7.5V11.25H6.375V10.125ZM7.875 2.25H9.75V4.125H7.875V2.25Z"),a(R,"d","M11.25 5.625H6.375V0.75H11.25V5.625ZM7.40625 4.59375H10.2188V1.78125H7.40625V4.59375ZM2.25 2.25H4.125V4.125H2.25V2.25Z"),a(S,"d","M5.625 5.625H0.75V0.75H5.625V5.625ZM1.78125 4.59375H4.59375V1.78125H1.78125V4.59375ZM2.25 7.875H4.125V9.75H2.25V7.875Z"),a(C,"d","M5.625 11.25H0.75V6.375H5.625V11.25ZM1.78125 10.2188H4.59375V7.40625H1.78125V10.2188Z"),a(V,"clip-path","url(#clip0_6768_6370)"),a(E,"width","12"),a(E,"height","12"),a(E,"fill","white"),a(x,"id","clip0_6768_6370"),a(k,"width","12"),a(k,"height","12"),a(k,"viewBox","0 0 12 12"),a(k,"fill","none"),a(k,"xmlns","http://www.w3.org/2000/svg"),a(k,"class","fill-[#263238] dark:fill-[#11D9C5]"),a(m,"class","flex gap-8 items-center px-4 py-2 rounded-full border border-[#11D9C5] bg-transparent text-black w-auto h-auto content-around dark:text-white"),a(H,"for","my-modal-3"),a(B,"type","checkbox"),a(B,"id","my-modal-3"),a(B,"class","modal-toggle"),a(L,"for","my-modal-3"),a(L,"class","btn btn-sm btn-circle absolute right-2 top-2"),a(q,"class","py-10"),a(Z,"class","modal-box relative dark:bg-gray-800 dark:text-gray-100"),a(O,"class","modal"),a(w,"class","flex items-center mb-4"),a(t,"class","flex flex-col items-center")},m(W,G){Y(W,t,G),e(t,r),e(r,l),e(l,s),e(r,n),e(r,c),e(c,h),e(h,g),e(h,y),e(t,P),e(t,w),e(w,H),e(H,m),e(m,d),e(d,A),e(m,v),e(m,k),e(k,V),e(V,M),e(V,R),e(V,S),e(V,C),e(k,Q),e(Q,x),e(x,E),e(w,U),e(w,B),e(w,j),e(w,O),e(O,Z),e(Z,L),e(L,z),e(Z,it),e(Z,q),F.m(q,null),e(Z,D),e(Z,et),e(et,lt),ut||(bt=kt(m,"click",p[3]),ut=!0)},p(W,[G]){G&1&&_!==(_=W[0].substring(0,5)+"...")&&yt(g,_),at===(at=vt(W))&&F?F.p(W,G):(F.d(1),F=at(W),F&&(F.c(),F.m(q,null))),G&2&&rt!==(rt=W[1].substring(0,25)+"...")&&yt(lt,rt)},i:st,o:st,d(W){W&&o(t),F.d(),ut=!1,bt()}}}let ae="/aptos-logo.png";function se(p,t,r){let l,s="",b="",{balance:n}=t;Tt.subscribe(_=>r(1,s=_));async function c(){r(2,b=await Ft(s))}function h(){const _=document.getElementById("my-modal-3");_.checked=!0}return $t(async()=>{c()}),p.$$set=_=>{"balance"in _&&r(4,n=_.balance)},p.$$.update=()=>{p.$$.dirty&16&&r(0,l=Number(n/1e8).toFixed(8))},[l,s,b,h,n]}class ne extends mt{constructor(t){super(),pt(this,t,se,le,_t,{balance:4})}}function oe(p){let t;Tt.subscribe(l=>t=l);const r=async()=>{await new Gt(jt.TESTNET).getAccountTransactions(t)};return $t(()=>{r()}),[]}class ce extends mt{constructor(t){super(),pt(this,t,oe,null,_t,{})}}const de=` +query MyQuery($walletAddress: String!) { + reviewCreateds(where: {receiver: $walletAddress}) { + tokenId + domainAddress + metadataURI + } +} +`,ie=async(p,t={})=>{try{const l=await(await fetch(Jt,{method:"POST",redirect:"follow",body:JSON.stringify({query:p,variables:t})})).json();if(l.errors)throw new Error(l.errors[0].message);return l.data}catch(r){throw r}};function Lt(p,t,r){const l=p.slice();return l[5]=t[r],l}function ue(p){let t,r,l,s,b,n,c,h,_,g,y,P,w,H=p[0],m=[];for(let d=0;d{Tt.subscribe(_=>b=_);let h=await ie(de,{walletAddress:b});r(0,l=h.reviewCreateds)}),[l,s,()=>r(1,s=!1),()=>r(1,s=!1)]}class pe extends mt{constructor(t){super(),pt(this,t,me,he,_t,{})}}function _e(p){let t,r;return t=new ce({}),{c(){nt(t.$$.fragment)},l(l){ot(t.$$.fragment,l)},m(l,s){ct(t,l,s),r=!0},i(l){r||(tt(t.$$.fragment,l),r=!0)},o(l){X(t.$$.fragment,l),r=!1},d(l){dt(t,l)}}}function be(p){let t,r;return t=new pe({}),{c(){nt(t.$$.fragment)},l(l){ot(t.$$.fragment,l)},m(l,s){ct(t,l,s),r=!0},i(l){r||(tt(t.$$.fragment,l),r=!0)},o(l){X(t.$$.fragment,l),r=!1},d(l){dt(t,l)}}}function ve(p){let t,r,l,s,b,n,c,h,_,g,y,P,w,H,m,d,A,v,k,V,M,R;r=new ne({props:{balance:p[1]}});const S=[be,_e],C=[];function Q(x,E){return x[0]?0:1}return m=Q(p),d=C[m]=S[m](p),k=new Xt({}),{c(){t=u("div"),nt(r.$$.fragment),l=$(),s=u("br"),b=$(),n=u("div"),c=u("button"),h=I("Assets"),g=$(),y=u("button"),P=I("Activity"),H=$(),d.c(),A=$(),v=u("div"),nt(k.$$.fragment),this.h()},l(x){t=f(x,"DIV",{class:!0});var E=i(t);ot(r.$$.fragment,E),l=T(E),s=f(E,"BR",{}),b=T(E),n=f(E,"DIV",{class:!0});var U=i(n);c=f(U,"BUTTON",{class:!0});var B=i(c);h=N(B,"Assets"),B.forEach(o),g=T(U),y=f(U,"BUTTON",{class:!0});var j=i(y);P=N(j,"Activity"),j.forEach(o),U.forEach(o),H=T(E),d.l(E),A=T(E),v=f(E,"DIV",{class:!0});var O=i(v);ot(k.$$.fragment,O),O.forEach(o),E.forEach(o),this.h()},h(){a(c,"class",_=`px-4 py-2 rounded-md ${p[0]?"bg-zinc-700 text-white dark:bg-transparent dark:text-white":"text-gray-700 dark:text-white"}`),a(y,"class",w=`px-4 py-2 rounded-md dark:bg-transparent dark:text-white ${p[0]?"text-gray-700 dark:text-white":"text-white dark:text-white"}`),a(n,"class","flex justify-between mb-4"),a(v,"class","modal h-screen z-10 absolute top-0 flex justify-center items-center"),Et(v,"modal-open",p[2]),a(t,"class","flex flex-col")},m(x,E){Y(x,t,E),ct(r,t,null),e(t,l),e(t,s),e(t,b),e(t,n),e(n,c),e(c,h),e(n,g),e(n,y),e(y,P),e(t,H),C[m].m(t,null),e(t,A),e(t,v),ct(k,v,null),V=!0,M||(R=[kt(c,"click",p[3]),kt(y,"click",p[4])],M=!0)},p(x,[E]){const U={};E&2&&(U.balance=x[1]),r.$set(U),(!V||E&1&&_!==(_=`px-4 py-2 rounded-md ${x[0]?"bg-zinc-700 text-white dark:bg-transparent dark:text-white":"text-gray-700 dark:text-white"}`))&&a(c,"class",_),(!V||E&1&&w!==(w=`px-4 py-2 rounded-md dark:bg-transparent dark:text-white ${x[0]?"text-gray-700 dark:text-white":"text-white dark:text-white"}`))&&a(y,"class",w);let B=m;m=Q(x),m!==B&&(Qt(),X(C[B],1,1,()=>{C[B]=null}),zt(),d=C[m],d||(d=C[m]=S[m](x),d.c()),tt(d,1),d.m(t,A)),(!V||E&4)&&Et(v,"modal-open",x[2])},i(x){V||(tt(r.$$.fragment,x),tt(d),tt(k.$$.fragment,x),V=!0)},o(x){X(r.$$.fragment,x),X(d),X(k.$$.fragment,x),V=!1},d(x){x&&o(t),dt(r),C[m].d(),dt(k),M=!1,Zt(R)}}}function ge(p,t,r){let l=!1,s="",b,n=!1;Tt.subscribe(g=>s=g);const c=async()=>{r(2,n=!0);try{const g=new qt(Kt);let P=await new Yt(g).checkBalance(s);r(1,b=Number(P))}catch(g){g&&r(1,b=0),console.log(g)}finally{r(2,n=!1)}};return $t(async()=>{await c()}),[l,b,n,()=>r(0,l=!0),()=>r(0,l=!1)]}class ke extends mt{constructor(t){super(),pt(this,t,ge,ve,_t,{})}}function we(p){let t,r,l;return r=new ke({}),{c(){t=u("div"),nt(r.$$.fragment)},l(s){t=f(s,"DIV",{});var b=i(t);ot(r.$$.fragment,b),b.forEach(o)},m(s,b){Y(s,t,b),ct(r,t,null),l=!0},p:st,i(s){l||(tt(r.$$.fragment,s),l=!0)},o(s){X(r.$$.fragment,s),l=!1},d(s){s&&o(t),dt(r)}}}class xe extends mt{constructor(t){super(),pt(this,t,null,we,_t,{})}}function ye(p){let t,r,l,s,b,n,c;return r=new te({}),n=new xe({}),{c(){t=u("div"),nt(r.$$.fragment),l=$(),s=u("br"),b=$(),nt(n.$$.fragment),this.h()},l(h){t=f(h,"DIV",{class:!0});var _=i(t);ot(r.$$.fragment,_),l=T(_),s=f(_,"BR",{}),b=T(_),ot(n.$$.fragment,_),_.forEach(o),this.h()},h(){a(t,"class","dark:text-white dark:bg-[#171C2F]")},m(h,_){Y(h,t,_),ct(r,t,null),e(t,l),e(t,s),e(t,b),ct(n,t,null),c=!0},p:st,i(h){c||(tt(r.$$.fragment,h),tt(n.$$.fragment,h),c=!0)},o(h){X(r.$$.fragment,h),X(n.$$.fragment,h),c=!1},d(h){h&&o(t),dt(r),dt(n)}}}class Ie extends mt{constructor(t){super(),pt(this,t,null,ye,_t,{})}}export{Ie as component}; diff --git a/build/app/immutable/nodes/2.c6b1f6e9.js b/build/app/immutable/nodes/2.c6b1f6e9.js new file mode 100644 index 000000000..6268ea306 --- /dev/null +++ b/build/app/immutable/nodes/2.c6b1f6e9.js @@ -0,0 +1 @@ +import{S as z,i as G,s as M,k as g,a as A,e as _e,l as v,m as b,h as f,c as V,n as w,b as I,H as D,J as ce,I as Ie,o as ne,q as S,r as L,D as h,K as ue,u as ee,L as le,y as Q,z as X,A as Z,v as De,d as H,f as Te,g as O,B as x}from"../chunks/index.89e71670.js";import{c as We,H as Re}from"../chunks/Header.cf7b0240.js";import{L as Ae}from"../chunks/Loader.ef1f0f41.js";import{w as Ve}from"../chunks/index.41201598.js";import{P as Pe}from"../chunks/public.6087a87e.js";const Se=!0,nt=Object.freeze(Object.defineProperty({__proto__:null,prerender:Se},Symbol.toStringTag,{value:"Module"}));function ge(l,e,r){const t=l.slice();return t[6]=e[r].id,t}function ve(l,e,r){const t=l.slice();return t[6]=e[r].id,t[9]=e[r].label,t}function be(l){let e,r=l[9]+"",t,s,o,c,i;function n(){return l[4](l[6])}return{c(){e=g("button"),t=S(r),s=A(),this.h()},l(u){e=v(u,"BUTTON",{class:!0});var a=b(e);t=L(a,r),s=V(a),a.forEach(f),this.h()},h(){w(e,"class",o=`tab ${l[1]===l[6]?"active":""}`)},m(u,a){I(u,e,a),h(e,t),h(e,s),c||(i=ue(e,"click",n),c=!0)},p(u,a){l=u,a&1&&r!==(r=l[9]+"")&&ee(t,r),a&3&&o!==(o=`tab ${l[1]===l[6]?"active":""}`)&&w(e,"class",o)},d(u){u&&f(e),c=!1,i()}}}function we(l){let e,r;return{c(){e=g("div"),this.h()},l(t){e=v(t,"DIV",{class:!0,id:!0});var s=b(e);s.forEach(f),this.h()},h(){w(e,"class","tab-content"),w(e,"id",r=`tab-content-${l[6]}`),le(e,"show",l[1]===l[6])},m(t,s){I(t,e,s)},p(t,s){s&1&&r!==(r=`tab-content-${t[6]}`)&&w(e,"id",r),s&3&&le(e,"show",t[1]===t[6])},d(t){t&&f(e)}}}function Le(l){let e,r,t,s=l[0],o=[];for(let n=0;n0?s[0].id:null);Ie(l,o,n=>r(1,t=n));function c(n){o.set(n)}ne(()=>{s.forEach(({id:n,component:u,props:a})=>{const p=document.getElementById(`tab-content-${n}`);p&&new u({target:p,props:a})})});const i=n=>c(n);return l.$$set=n=>{"tabs"in n&&r(0,s=n.tabs)},[s,t,o,c,i]}class je extends z{constructor(e){super(),G(this,e,Ue,Le,M,{tabs:0})}}function Ce(l){let e,r,t,s,o;return{c(){e=g("div"),r=g("button"),t=S("read reviews"),this.h()},l(c){e=v(c,"DIV",{class:!0});var i=b(e);r=v(i,"BUTTON",{class:!0});var n=b(r);t=L(n,"read reviews"),n.forEach(f),i.forEach(f),this.h()},h(){w(r,"class","btn secondary-button"),w(e,"class","grid flex-grow")},m(c,i){I(c,e,i),h(e,r),h(r,t),s||(o=ue(r,"click",l[0]),s=!0)},p:D,i:D,o:D,d(c){c&&f(e),s=!1,o()}}}function Ne(l,e,r){let{urlWithoutProtocol:t}=e;function s(){window.open(`https://app.netsepio.com/#/reviews/${t}`,"_blank")}return l.$$set=o=>{"urlWithoutProtocol"in o&&r(1,t=o.urlWithoutProtocol)},[s,t]}class Be extends z{constructor(e){super(),G(this,e,Ne,Ce,M,{urlWithoutProtocol:1})}}function Fe(l){let e,r,t,s,o;return{c(){e=g("div"),r=g("button"),t=S("Submit Review"),this.h()},l(c){e=v(c,"DIV",{class:!0});var i=b(e);r=v(i,"BUTTON",{class:!0});var n=b(r);t=L(n,"Submit Review"),n.forEach(f),i.forEach(f),this.h()},h(){w(r,"class","btn primary-button"),w(e,"class","grid flex-grow")},m(c,i){I(c,e,i),h(e,r),h(r,t),s||(o=ue(r,"click",l[0]),s=!0)},p:D,i:D,o:D,d(c){c&&f(e),s=!1,o()}}}function He(l,e,r){let{urlWithoutProtocol:t}=e;function s(){window.open(`https://app.netsepio.com/#/my-reviews?siteUrl=https://${t}`,"_blank")}return l.$$set=o=>{"urlWithoutProtocol"in o&&r(1,t=o.urlWithoutProtocol)},[s,t]}class Oe extends z{constructor(e){super(),G(this,e,He,Fe,M,{urlWithoutProtocol:1})}}function $e(l,e,r){const t=l.slice();return t[11]=e[r],t}function ye(l){let e,r,t=l[11].description+"",s,o;return{c(){e=g("div"),r=g("p"),s=S(t),o=A(),this.h()},l(c){e=v(c,"DIV",{class:!0});var i=b(e);r=v(i,"P",{});var n=b(r);s=L(n,t),n.forEach(f),o=V(i),i.forEach(f),this.h()},h(){w(e,"class","reviews")},m(c,i){I(c,e,i),h(e,r),h(r,s),h(e,o)},p(c,i){i&1&&t!==(t=c[11].description+"")&&ee(s,t)},d(c){c&&f(e)}}}function qe(l){let e,r,t;return{c(){e=g("a"),r=g("button"),t=S("Submit Review"),this.h()},l(s){e=v(s,"A",{href:!0});var o=b(e);r=v(o,"BUTTON",{class:!0});var c=b(r);t=L(c,"Submit Review"),c.forEach(f),o.forEach(f),this.h()},h(){w(r,"class","btn primary-button"),w(e,"href","/submit-review")},m(s,o){I(s,e,o),h(e,r),h(r,t)},p:D,i:D,o:D,d(s){s&&f(e)}}}function ze(l){let e,r;return e=new Oe({props:{urlWithoutProtocol:l[4]}}),{c(){Q(e.$$.fragment)},l(t){X(e.$$.fragment,t)},m(t,s){Z(e,t,s),r=!0},p(t,s){const o={};s&16&&(o.urlWithoutProtocol=t[4]),e.$set(o)},i(t){r||(O(e.$$.fragment,t),r=!0)},o(t){H(e.$$.fragment,t),r=!1},d(t){x(e,t)}}}function Ge(l){let e,r,t,s,o,c,i,n,u,a,p,_,d,P,k,C,re,te,U,q,j,N,ae,T,W,J,K=l[0].slice(0,2),$=[];for(let m=0;m{B[F]=null}),Te(),W=B[T],W?W.p(m,y):(W=B[T]=fe[T](m),W.c()),O(W,1),W.m(j,null))},i(m){J||(O(N.$$.fragment,m),O(W),J=!0)},o(m){H(N.$$.fragment,m),H(W),J=!1},d(m){m&&f(e),ce($,m),x(N),B[T].d()}}}function Me(l,e,r){let t,{url:s}=e,o,c=[],i=0,n=0,u;const a=async()=>{var d;try{const[P]=await chrome.tabs.query({active:!0,currentWindow:!0});r(6,o=(d=P.url)==null?void 0:d.toLocaleLowerCase())}catch(P){console.log(P)}finally{}},p=d=>d==null?void 0:d.replace("ipfs://",""),_=async()=>{try{const d={method:"GET",headers:{"Content-Type":"application/json"}},k=await(await fetch(`${Pe}/getreviews?page=1&domain=${t}`,d)).json();Array.isArray(k.payload)&&k.payload.length>0&&k.payload.forEach(async C=>{const te=await(await fetch(`https://nftstorage.link/ipfs/${p(C.metaDataUri)}`)).json();r(0,c=[...c,te]),r(1,i=c.reduce((U,q)=>U+(q==null?void 0:q.siteRating),0)/c.length*10),r(2,n=i/100*100)})}catch(d){console.error("An error occurred:",d)}};return ne(async()=>{await a(),await _(),r(3,[u]=await We(),u)}),l.$$set=d=>{"url"in d&&r(5,s=d.url)},l.$$.update=()=>{l.$$.dirty&64&&r(4,t=o==null?void 0:o.replace(/^https?:\/\/([^/]+)\/.*/,"$1"))},[c,i,n,u,t,s,o]}class ke extends z{constructor(e){super(),G(this,e,Me,Ge,M,{url:5})}}function Je(l){let e,r;return{c(){e=g("p"),r=S(l[0])},l(t){e=v(t,"P",{});var s=b(e);r=L(s,l[0]),s.forEach(f)},m(t,s){I(t,e,s),h(e,r)},p(t,s){s&1&&ee(r,t[0])},d(t){t&&f(e)}}}function Ke(l){let e,r;return{c(){e=g("p"),r=S(l[1])},l(t){e=v(t,"P",{});var s=b(e);r=L(s,l[1]),s.forEach(f)},m(t,s){I(t,e,s),h(e,r)},p(t,s){s&2&&ee(r,t[1])},d(t){t&&f(e)}}}function Ye(l){let e;function r(o,c){return o[1]==="Insight generation in progress"?Ke:Je}let t=r(l),s=t(l);return{c(){e=g("div"),s.c(),this.h()},l(o){e=v(o,"DIV",{class:!0});var c=b(e);s.l(c),c.forEach(f),this.h()},h(){w(e,"class","reviews")},m(o,c){I(o,e,c),s.m(e,null)},p(o,[c]){t===(t=r(o))&&s?s.p(o,c):(s.d(1),s=t(o),s&&(s.c(),s.m(e,null)))},i:D,o:D,d(o){o&&f(e),s.d()}}}function Qe(l,e,r){let{url:t}=e,s,o="",c;const i=async()=>{var u;try{const[a]=await chrome.tabs.query({active:!0,currentWindow:!0});s=(u=a.url)==null?void 0:u.toLocaleLowerCase()}catch(a){console.log(a)}finally{}},n=async()=>{const u={method:"GET",headers:{"Content-Type":"application/json"}},p=await(await fetch(`${Pe}/site-insight?siteUrl=${s}`,u)).json();return r(1,c=p.message),p.payload.insight&&r(0,o=p.payload.insight),o};return ne(async()=>{await i(),await n()}),l.$$set=u=>{"url"in u&&r(2,t=u.url)},[o,c,t]}class Ee extends z{constructor(e){super(),G(this,e,Qe,Ye,M,{url:2})}}function Xe(l){let e,r,t,s,o,c,i,n,u,a,p;return r=new Re({}),i=new je({props:{tabs:[{id:"tab2",label:"AI's summary",component:Ee,props:{url:l[1]}},{id:"tab1",label:"Reviews",component:ke,props:{url:l[1]}}]}}),a=new Ae({}),{c(){e=g("div"),Q(r.$$.fragment),t=A(),s=g("h2"),o=S(l[1]),c=A(),Q(i.$$.fragment),n=A(),u=g("div"),Q(a.$$.fragment),this.h()},l(_){e=v(_,"DIV",{});var d=b(e);X(r.$$.fragment,d),t=V(d),s=v(d,"H2",{class:!0});var P=b(s);o=L(P,l[1]),P.forEach(f),c=V(d),X(i.$$.fragment,d),n=V(d),u=v(d,"DIV",{class:!0});var k=b(u);X(a.$$.fragment,k),k.forEach(f),d.forEach(f),this.h()},h(){w(s,"class","pb-2 text-center text-black dark:text-white my-6 text-2xl"),w(u,"class","modal h-screen z-10 absolute top-0 flex justify-center items-center"),le(u,"modal-open",l[0])},m(_,d){I(_,e,d),Z(r,e,null),h(e,t),h(e,s),h(s,o),h(e,c),Z(i,e,null),h(e,n),h(e,u),Z(a,u,null),p=!0},p(_,[d]){(!p||d&2)&&ee(o,_[1]);const P={};d&2&&(P.tabs=[{id:"tab2",label:"AI's summary",component:Ee,props:{url:_[1]}},{id:"tab1",label:"Reviews",component:ke,props:{url:_[1]}}]),i.$set(P),(!p||d&1)&&le(u,"modal-open",_[0])},i(_){p||(O(r.$$.fragment,_),O(i.$$.fragment,_),O(a.$$.fragment,_),p=!0)},o(_){H(r.$$.fragment,_),H(i.$$.fragment,_),H(a.$$.fragment,_),p=!1},d(_){_&&f(e),x(r),x(i),x(a)}}}function Ze(l,e,r){let t,s,o=!1;const c=async()=>{var i;r(0,o=!0);try{const[n]=await chrome.tabs.query({active:!0,currentWindow:!0});r(2,s=(i=n.url)==null?void 0:i.toLocaleLowerCase())}catch(n){console.log(n)}finally{r(0,o=!1)}};return ne(async()=>{await c()}),l.$$.update=()=>{l.$$.dirty&4&&r(1,t=s==null?void 0:s.replace(/^https?:\/\/([^/]+)\/.*/,"$1"))},[o,t,s]}class xe extends z{constructor(e){super(),G(this,e,Ze,Xe,M,{})}}function et(l){let e,r;return e=new xe({}),{c(){Q(e.$$.fragment)},l(t){X(e.$$.fragment,t)},m(t,s){Z(e,t,s),r=!0},p:D,i(t){r||(O(e.$$.fragment,t),r=!0)},o(t){H(e.$$.fragment,t),r=!1},d(t){x(e,t)}}}class at extends z{constructor(e){super(),G(this,e,null,et,M,{})}}export{at as component,nt as universal}; diff --git a/build/app/immutable/nodes/2.fcc26c31.js b/build/app/immutable/nodes/2.fcc26c31.js deleted file mode 100644 index 873ff88a5..000000000 --- a/build/app/immutable/nodes/2.fcc26c31.js +++ /dev/null @@ -1,43 +0,0 @@ -import{S as SvelteComponent,i as init,s as safe_not_equal,k as element,q as text,l as claim_element,m as children,r as claim_text,h as detach,n as attr,b as insert_hydration,D as append_hydration,J as listen,H as noop$2,a as space,y as create_component,c as claim_space,z as claim_component,K as toggle_class,A as mount_component,g as transition_in,d as transition_out,B as destroy_component,L as run_all,o as onMount,M as select_value,N as to_number,O as add_render_callback,P as select_option,Q as set_input_value,R as onDestroy,T as bubble,w as binding_callbacks,u as set_data,v as group_outros,f as check_outros,e as empty$1,I as component_subscribe,U as src_url_equal}from"../chunks/index.f3b06f47.js";import{H as Header}from"../chunks/Header.b7ab37a3.js";import{g as getDefaultExportFromCjs,c as commonjsGlobal,a as getAugmentedNamespace,j as jwtToken,o as onboardingStepsLeft}from"../chunks/store.26750aee.js";import{P as PUBLIC_NFT_STORAGE_API_KEY,a as PUBLIC_GATEWAY_URL}from"../chunks/public.02ab71de.js";import{c as checkAuth}from"../chunks/secondAuth.f9ee4b2a.js";import{L as Loader}from"../chunks/Loader.d36557e7.js";const prerender=!0,_page=Object.freeze(Object.defineProperty({__proto__:null,prerender},Symbol.toStringTag,{value:"Module"}));function create_fragment$4(r){let e,t,n,o,a;return{c(){e=element("div"),t=element("button"),n=text("Reviews"),this.h()},l(s){e=claim_element(s,"DIV",{class:!0});var l=children(e);t=claim_element(l,"BUTTON",{class:!0});var f=children(t);n=claim_text(f,"Reviews"),f.forEach(detach),l.forEach(detach),this.h()},h(){attr(t,"class","btn px-4 py-2 rounded-md"),attr(e,"class","grid flex-grow")},m(s,l){insert_hydration(s,e,l),append_hydration(e,t),append_hydration(t,n),o||(a=listen(t,"click",r[0]),o=!0)},p:noop$2,i:noop$2,o:noop$2,d(s){s&&detach(e),o=!1,a()}}}function instance$4(r,e,t){let{urlWithoutProtocol:n}=e;function o(){window.open(`https://testnet.netsepio.com/#/reviews/${n}`,"_blank")}return r.$$set=a=>{"urlWithoutProtocol"in a&&t(1,n=a.urlWithoutProtocol)},[o,n]}class Review extends SvelteComponent{constructor(e){super(),init(this,e,instance$4,create_fragment$4,safe_not_equal,{urlWithoutProtocol:1})}}function getIterator(r){if(typeof r.next=="function")return r;if(typeof r[Symbol.iterator]=="function")return r[Symbol.iterator]();if(typeof r[Symbol.asyncIterator]=="function")return r[Symbol.asyncIterator]();throw new TypeError('"values" does not to conform to any of the iterator or iterable protocols')}function defer(){let r,e;return{promise:new Promise((n,o)=>{e=n,r=o}),reject:r,resolve:e}}function _transform(r,e,t){const n=getIterator(t),o=[],a=[];let s=!1,l=!1,f=0,h=null;function d(){for(;a.length>0&&o.length>0;){const{resolve:y}=a.shift(),E=o.shift();y({done:!1,value:E})}for(;a.length>0&&f===0&&s;){const{resolve:y,reject:E}=a.shift();h?(E(h),h=null):y({done:!0,value:void 0})}}async function m(){if(s){d();return}if(!l&&!(f+o.length>=r)){l=!0,f++;try{const{done:y,value:E}=await n.next();y?(s=!0,f--,d()):_(E)}catch(y){s=!0,f--,h=y,d()}l=!1,m()}}async function _(y){try{const E=await e(y);o.push(E)}catch(E){s=!0,h=E}f--,d(),m()}async function b(){if(o.length===0){const E=defer();return a.push(E),m(),E.promise}const y=o.shift();return m(),{done:!1,value:y}}const w={next:b,[Symbol.asyncIterator]:()=>w};return w}function transform$1(r,e,t){return e===void 0?(n,o)=>o?transform$1(r,n,o):transform$1(r,n):t===void 0?n=>transform$1(r,e,n):_transform(r,e,t)}var pRetry$2={exports:{}},retry$2={};function RetryOperation(r,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(r)),this._timeouts=r,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}var retry_operation=RetryOperation;RetryOperation.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};RetryOperation.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};RetryOperation.prototype.retry=function(r){if(this._timeout&&clearTimeout(this._timeout),!r)return!1;var e=new Date().getTime();if(r&&e-this._operationStart>=this._maxRetryTime)return this._errors.push(r),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(r);var t=this._timeouts.shift();if(t===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),t=this._cachedTimeouts.slice(-1);else return!1;var n=this;return this._timer=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},t),this._options.unref&&this._timer.unref(),!0};RetryOperation.prototype.attempt=function(r,e){this._fn=r,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var t=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){t._operationTimeoutCb()},t._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};RetryOperation.prototype.try=function(r){console.log("Using RetryOperation.try() is deprecated"),this.attempt(r)};RetryOperation.prototype.start=function(r){console.log("Using RetryOperation.start() is deprecated"),this.attempt(r)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0)return null;for(var r={},e=null,t=0,n=0;n=t&&(e=o,t=s)}return e};(function(r){var e=retry_operation;r.operation=function(t){var n=r.timeouts(t);return new e(n,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})},r.timeouts=function(t){if(t instanceof Array)return[].concat(t);var n={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var o in t)n[o]=t[o];if(n.minTimeout>n.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var a=[],s=0;s{const n=t.retries-(e-1);return r.attemptNumber=e,r.retriesLeft=n,r},isNetworkError=r=>networkErrorMsgs.includes(r),pRetry=(r,e)=>new Promise((t,n)=>{e={onFailedAttempt:()=>{},retries:10,...e};const o=retry.operation(e);o.attempt(async a=>{try{t(await r(a))}catch(s){if(!(s instanceof Error)){n(new TypeError(`Non-error was thrown: "${s}". You should only throw errors.`));return}if(s instanceof AbortError)o.stop(),n(s.originalError);else if(s instanceof TypeError&&!isNetworkError(s.message))o.stop(),n(s);else{decorateErrorWithCounts(s,a,e);try{await e.onFailedAttempt(s)}catch(l){n(l);return}o.retry(s)||n(o.mainError())}}})});pRetry$2.exports=pRetry;pRetry$2.exports.default=pRetry;var AbortError_1=pRetry$2.exports.AbortError=AbortError,pRetryExports=pRetry$2.exports;const pRetry$1=getDefaultExportFromCjs(pRetryExports);var encode_1$1=encode$9,MSB$3=128,REST$3=127,MSBALL$1=~REST$3,INT$1=Math.pow(2,31);function encode$9(r,e,t){if(Number.MAX_SAFE_INTEGER&&r>Number.MAX_SAFE_INTEGER)throw encode$9.bytes=0,new RangeError("Could not encode varint");e=e||[],t=t||0;for(var n=t;r>=INT$1;)e[t++]=r&255|MSB$3,r/=128;for(;r&MSBALL$1;)e[t++]=r&255|MSB$3,r>>>=7;return e[t]=r|0,encode$9.bytes=t-n+1,e}var decode$a=read$1,MSB$2=128,REST$2=127;function read$1(r,n){var t=0,n=n||0,o=0,a=n,s,l=r.length;do{if(a>=l||o>49)throw read$1.bytes=0,new RangeError("Could not decode varint");s=r[a++],t+=o<28?(s&REST$2)<=MSB$2);return read$1.bytes=a-n,t}var N1$1=Math.pow(2,7),N2$1=Math.pow(2,14),N3$1=Math.pow(2,21),N4$1=Math.pow(2,28),N5$1=Math.pow(2,35),N6$1=Math.pow(2,42),N7$1=Math.pow(2,49),N8$1=Math.pow(2,56),N9$1=Math.pow(2,63),length$1=function(r){return r=INT;)e[t++]=r&255|MSB,r/=128;for(;r&MSBALL;)e[t++]=r&255|MSB,r>>>=7;return e[t]=r|0,encode$8.bytes=t-n+1,e}var decode$9=read,MSB$1=128,REST$1=127;function read(r,n){var t=0,n=n||0,o=0,a=n,s,l=r.length;do{if(a>=l)throw read.bytes=0,new RangeError("Could not decode varint");s=r[a++],t+=o<28?(s&REST$1)<=MSB$1);return read.bytes=a-n,t}var N1=Math.pow(2,7),N2=Math.pow(2,14),N3=Math.pow(2,21),N4=Math.pow(2,28),N5=Math.pow(2,35),N6=Math.pow(2,42),N7=Math.pow(2,49),N8=Math.pow(2,56),N9=Math.pow(2,63),length=function(r){return r[_brrp_varint.decode(r,e),_brrp_varint.decode.bytes],encodeTo=(r,e,t=0)=>(_brrp_varint.encode(r,e,t),e),encodingLength=r=>_brrp_varint.encodingLength(r),empty=new Uint8Array(0),fromHex=r=>{const e=r.match(/../g);return e?new Uint8Array(e.map(t=>parseInt(t,16))):empty},equals$1=(r,e)=>{if(r===e)return!0;if(r.byteLength!==e.byteLength)return!1;for(let t=0;t{if(r instanceof Uint8Array&&r.constructor.name==="Uint8Array")return r;if(r instanceof ArrayBuffer)return new Uint8Array(r);if(ArrayBuffer.isView(r))return new Uint8Array(r.buffer,r.byteOffset,r.byteLength);throw new Error("Unknown type, must be binary type")},fromString$3=r=>new TextEncoder().encode(r),toString$1=r=>new TextDecoder().decode(r),create$4=(r,e)=>{const t=e.byteLength,n=encodingLength(r),o=n+encodingLength(t),a=new Uint8Array(o+t);return encodeTo(r,a,0),encodeTo(t,a,n),a.set(e,o),new Digest(r,t,e,a)},decode$7=r=>{const e=coerce(r),[t,n]=decode$8(e),[o,a]=decode$8(e.subarray(n)),s=e.subarray(n+a);if(s.byteLength!==o)throw new Error("Incorrect length");return new Digest(t,o,s,e)},equals=(r,e)=>r===e?!0:r.code===e.code&&r.size===e.size&&equals$1(r.bytes,e.bytes);class Digest{constructor(e,t,n,o){this.code=e,this.size=t,this.digest=n,this.bytes=o}}function base(r,e){if(r.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),n=0;n>>0,C=new Uint8Array(D);T!==N;){for(var A=w[T],S=0,I=D-1;(A!==0||S>>0,C[I]=A%l>>>0,A=A/l>>>0;if(A!==0)throw new Error("Non-zero carry");E=S,T++}for(var L=D-E;L!==D&&C[L]===0;)L++;for(var x=f.repeat(y);L>>0,D=new Uint8Array(N);w[y];){var C=t[w.charCodeAt(y)];if(C===255)return;for(var A=0,S=N-1;(C!==0||A>>0,D[S]=C%256>>>0,C=C/256>>>0;if(C!==0)throw new Error("Non-zero carry");T=A,y++}if(w[y]!==" "){for(var I=N-T;I!==N&&D[I]===0;)I++;for(var L=new Uint8Array(E+(N-I)),x=E;I!==N;)L[x++]=D[I++];return L}}}function b(w){var y=_(w);if(y)return y;throw new Error(`Non-${e} character`)}return{encode:m,decodeUnsafe:_,decode:b}}var src$3=base,_brrp__multiformats_scope_baseX=src$3;class Encoder{constructor(e,t,n){this.name=e,this.prefix=t,this.baseEncode=n}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}}class Decoder{constructor(e,t,n){if(this.name=e,this.prefix=t,t.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=t.codePointAt(0),this.baseDecode=n}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return or(this,e)}}class ComposedDecoder{constructor(e){this.decoders=e}or(e){return or(this,e)}decode(e){const t=e[0],n=this.decoders[t];if(n)return n.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const or=(r,e)=>new ComposedDecoder({...r.decoders||{[r.prefix]:r},...e.decoders||{[e.prefix]:e}});class Codec{constructor(e,t,n,o){this.name=e,this.prefix=t,this.baseEncode=n,this.baseDecode=o,this.encoder=new Encoder(e,t,n),this.decoder=new Decoder(e,t,o)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}const from$1=({name:r,prefix:e,encode:t,decode:n})=>new Codec(r,e,t,n),baseX=({prefix:r,name:e,alphabet:t})=>{const{encode:n,decode:o}=_brrp__multiformats_scope_baseX(t,e);return from$1({prefix:r,name:e,encode:n,decode:a=>coerce(o(a))})},decode$6=(r,e,t,n)=>{const o={};for(let d=0;d=8&&(l-=8,s[h++]=255&f>>l)}if(l>=t||255&f<<8-l)throw new SyntaxError("Unexpected end of data");return s},encode$7=(r,e,t)=>{const n=e[e.length-1]==="=",o=(1<t;)s-=t,a+=e[o&l>>s];if(s&&(a+=e[o&l<from$1({prefix:e,name:r,encode(o){return encode$7(o,n,t)},decode(o){return decode$6(o,n,t,r)}}),base58btc=baseX({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),base58flickr=baseX({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"}),base58=Object.freeze(Object.defineProperty({__proto__:null,base58btc,base58flickr},Symbol.toStringTag,{value:"Module"})),base32=rfc4648({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),base32upper=rfc4648({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),base32pad=rfc4648({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),base32padupper=rfc4648({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),base32hex=rfc4648({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),base32hexupper=rfc4648({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),base32hexpad=rfc4648({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),base32hexpadupper=rfc4648({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),base32z=rfc4648({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),base32$1=Object.freeze(Object.defineProperty({__proto__:null,base32,base32hex,base32hexpad,base32hexpadupper,base32hexupper,base32pad,base32padupper,base32upper,base32z},Symbol.toStringTag,{value:"Module"}));class CID{constructor(e,t,n,o){this.code=t,this.version=e,this.multihash=n,this.bytes=o,this.byteOffset=o.byteOffset,this.byteLength=o.byteLength,this.asCID=this,this._baseCache=new Map,Object.defineProperties(this,{byteOffset:hidden,byteLength:hidden,code:readonly$1,version:readonly$1,multihash:readonly$1,bytes:readonly$1,_baseCache:hidden,asCID:hidden})}toV0(){switch(this.version){case 0:return this;default:{const{code:e,multihash:t}=this;if(e!==DAG_PB_CODE)throw new Error("Cannot convert a non dag-pb CID to CIDv0");if(t.code!==SHA_256_CODE)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");return CID.createV0(t)}}}toV1(){switch(this.version){case 0:{const{code:e,digest:t}=this.multihash,n=create$4(e,t);return CID.createV1(this.code,n)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}equals(e){return e&&this.code===e.code&&this.version===e.version&&equals(this.multihash,e.multihash)}toString(e){const{bytes:t,version:n,_baseCache:o}=this;switch(n){case 0:return toStringV0(t,o,e||base58btc.encoder);default:return toStringV1(t,o,e||base32.encoder)}}toJSON(){return{code:this.code,version:this.version,hash:this.multihash.bytes}}get[Symbol.toStringTag](){return"CID"}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}static isCID(e){return deprecate(/^0\.0/,IS_CID_DEPRECATION),!!(e&&(e[cidSymbol]||e.asCID===e))}get toBaseEncodedString(){throw new Error("Deprecated, use .toString()")}get codec(){throw new Error('"codec" property is deprecated, use integer "code" property instead')}get buffer(){throw new Error("Deprecated .buffer property, use .bytes to get Uint8Array instead")}get multibaseName(){throw new Error('"multibaseName" property is deprecated')}get prefix(){throw new Error('"prefix" property is deprecated')}static asCID(e){if(e instanceof CID)return e;if(e!=null&&e.asCID===e){const{version:t,code:n,multihash:o,bytes:a}=e;return new CID(t,n,o,a||encodeCID(t,n,o.bytes))}else if(e!=null&&e[cidSymbol]===!0){const{version:t,multihash:n,code:o}=e,a=decode$7(n);return CID.create(t,o,a)}else return null}static create(e,t,n){if(typeof t!="number")throw new Error("String codecs are no longer supported");switch(e){case 0:{if(t!==DAG_PB_CODE)throw new Error(`Version 0 CID must use dag-pb (code: ${DAG_PB_CODE}) block encoding`);return new CID(e,t,n,n.bytes)}case 1:{const o=encodeCID(e,t,n.bytes);return new CID(e,t,n,o)}default:throw new Error("Invalid version")}}static createV0(e){return CID.create(0,DAG_PB_CODE,e)}static createV1(e,t){return CID.create(1,e,t)}static decode(e){const[t,n]=CID.decodeFirst(e);if(n.length)throw new Error("Incorrect length");return t}static decodeFirst(e){const t=CID.inspectBytes(e),n=t.size-t.multihashSize,o=coerce(e.subarray(n,n+t.multihashSize));if(o.byteLength!==t.multihashSize)throw new Error("Incorrect length");const a=o.subarray(t.multihashSize-t.digestSize),s=new Digest(t.multihashCode,t.digestSize,a,o);return[t.version===0?CID.createV0(s):CID.createV1(t.codec,s),e.subarray(t.size)]}static inspectBytes(e){let t=0;const n=()=>{const[m,_]=decode$8(e.subarray(t));return t+=_,m};let o=n(),a=DAG_PB_CODE;if(o===18?(o=0,t=0):o===1&&(a=n()),o!==0&&o!==1)throw new RangeError(`Invalid CID version ${o}`);const s=t,l=n(),f=n(),h=t+f,d=h-s;return{version:o,codec:a,multihashCode:l,digestSize:f,multihashSize:d,size:h}}static parse(e,t){const[n,o]=parseCIDtoBytes(e,t),a=CID.decode(o);return a._baseCache.set(n,e),a}}const parseCIDtoBytes=(r,e)=>{switch(r[0]){case"Q":{const t=e||base58btc;return[base58btc.prefix,t.decode(`${base58btc.prefix}${r}`)]}case base58btc.prefix:{const t=e||base58btc;return[base58btc.prefix,t.decode(r)]}case base32.prefix:{const t=e||base32;return[base32.prefix,t.decode(r)]}default:{if(e==null)throw Error("To parse non base32 or base58btc encoded CID multibase decoder must be provided");return[r[0],e.decode(r)]}}},toStringV0=(r,e,t)=>{const{prefix:n}=t;if(n!==base58btc.prefix)throw Error(`Cannot string encode V0 in ${t.name} encoding`);const o=e.get(n);if(o==null){const a=t.encode(r).slice(1);return e.set(n,a),a}else return o},toStringV1=(r,e,t)=>{const{prefix:n}=t,o=e.get(n);if(o==null){const a=t.encode(r);return e.set(n,a),a}else return o},DAG_PB_CODE=112,SHA_256_CODE=18,encodeCID=(r,e,t)=>{const n=encodingLength(r),o=n+encodingLength(e),a=new Uint8Array(o+t.byteLength);return encodeTo(r,a,0),encodeTo(e,a,n),a.set(t,o),a},cidSymbol=Symbol.for("@ipld/js-cid/CID"),readonly$1={writable:!1,configurable:!1,enumerable:!0},hidden={writable:!1,enumerable:!1,configurable:!1},version="0.0.0-dev",deprecate=(r,e)=>{if(r.test(version))console.warn(e);else throw new Error(e)},IS_CID_DEPRECATION=`CID.isCID(v) is deprecated and will be removed in the next major release. -Following code pattern: - -if (CID.isCID(value)) { - doSomethingWithCID(value) -} - -Is replaced with: - -const cid = CID.asCID(value) -if (cid) { - // Make sure to use cid instead of value - doSomethingWithCID(cid) -} -`,typeofs=["string","number","bigint","symbol"],objectTypeNames=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","HTMLElement","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function is(r){if(r===null)return"null";if(r===void 0)return"undefined";if(r===!0||r===!1)return"boolean";const e=typeof r;if(typeofs.includes(e))return e;if(e==="function")return"Function";if(Array.isArray(r))return"Array";if(isBuffer$1(r))return"Buffer";const t=getObjectType(r);return t||"Object"}function isBuffer$1(r){return r&&r.constructor&&r.constructor.isBuffer&&r.constructor.isBuffer.call(null,r)}function getObjectType(r){const e=Object.prototype.toString.call(r).slice(8,-1);if(objectTypeNames.includes(e))return e}class Type{constructor(e,t,n){this.major=e,this.majorEncoded=e<<5,this.name=t,this.terminal=n}toString(){return`Type[${this.major}].${this.name}`}compare(e){return this.majore.major?1:0}}Type.uint=new Type(0,"uint",!0);Type.negint=new Type(1,"negint",!0);Type.bytes=new Type(2,"bytes",!0);Type.string=new Type(3,"string",!0);Type.array=new Type(4,"array",!1);Type.map=new Type(5,"map",!1);Type.tag=new Type(6,"tag",!1);Type.float=new Type(7,"float",!0);Type.false=new Type(7,"false",!0);Type.true=new Type(7,"true",!0);Type.null=new Type(7,"null",!0);Type.undefined=new Type(7,"undefined",!0);Type.break=new Type(7,"break",!0);let Token$1=class{constructor(e,t,n){this.type=e,this.value=t,this.encodedLength=n,this.encodedBytes=void 0,this.byteValue=void 0}toString(){return`Token[${this.type}].${this.value}`}};const useBuffer=globalThis.process&&!globalThis.process.browser&&globalThis.Buffer&&typeof globalThis.Buffer.isBuffer=="function",textDecoder$1=new TextDecoder,textEncoder$2=new TextEncoder;function isBuffer(r){return useBuffer&&globalThis.Buffer.isBuffer(r)}function asU8A(r){return r instanceof Uint8Array?isBuffer(r)?new Uint8Array(r.buffer,r.byteOffset,r.byteLength):r:Uint8Array.from(r)}const toString=useBuffer?(r,e,t)=>t-e>64?globalThis.Buffer.from(r.subarray(e,t)).toString("utf8"):utf8Slice(r,e,t):(r,e,t)=>t-e>64?textDecoder$1.decode(r.subarray(e,t)):utf8Slice(r,e,t),fromString$2=useBuffer?r=>r.length>64?globalThis.Buffer.from(r):utf8ToBytes(r):r=>r.length>64?textEncoder$2.encode(r):utf8ToBytes(r),fromArray=r=>Uint8Array.from(r),slice=useBuffer?(r,e,t)=>isBuffer(r)?new Uint8Array(r.subarray(e,t)):r.slice(e,t):(r,e,t)=>r.slice(e,t),concat$2=useBuffer?(r,e)=>(r=r.map(t=>t instanceof Uint8Array?t:globalThis.Buffer.from(t)),asU8A(globalThis.Buffer.concat(r,e))):(r,e)=>{const t=new Uint8Array(e);let n=0;for(let o of r)n+o.length>t.length&&(o=o.subarray(0,t.length-n)),t.set(o,n),n+=o.length;return t},alloc=useBuffer?r=>globalThis.Buffer.allocUnsafe(r):r=>new Uint8Array(r);function compare(r,e){if(isBuffer(r)&&isBuffer(e))return r.compare(e);for(let t=0;t55295&&t<57344){if(!o){if(t>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&a.push(239,191,189);continue}o=t;continue}if(t<56320){(e-=3)>-1&&a.push(239,191,189),o=t;continue}t=(o-55296<<10|t-56320)+65536}else o&&(e-=3)>-1&&a.push(239,191,189);if(o=null,t<128){if((e-=1)<0)break;a.push(t)}else if(t<2048){if((e-=2)<0)break;a.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;a.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;a.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return a}function utf8Slice(r,e,t){const n=[];for(;e239?4:o>223?3:o>191?2:1;if(e+s<=t){let l,f,h,d;switch(s){case 1:o<128&&(a=o);break;case 2:l=r[e+1],(l&192)===128&&(d=(o&31)<<6|l&63,d>127&&(a=d));break;case 3:l=r[e+1],f=r[e+2],(l&192)===128&&(f&192)===128&&(d=(o&15)<<12|(l&63)<<6|f&63,d>2047&&(d<55296||d>57343)&&(a=d));break;case 4:l=r[e+1],f=r[e+2],h=r[e+3],(l&192)===128&&(f&192)===128&&(h&192)===128&&(d=(o&15)<<18|(l&63)<<12|(f&63)<<6|h&63,d>65535&&d<1114112&&(a=d))}}a===null?(a=65533,s=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),e+=s}return decodeCodePointsArray(n)}const MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(r){const e=r.length;if(e<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,r);let t="",n=0;for(;nn.length/2?(t=this.cursor===n.length?n:n.subarray(0,this.cursor),this._initReuseChunk=null,this.chunks=[]):t=slice(n,0,this.cursor)}else t=concat$2(this.chunks,this.cursor);return e&&this.reset(),t}}const decodeErrPrefix="CBOR decode error:",encodeErrPrefix="CBOR encode error:";function assertEnoughData(r,e,t){if(r.length-e>>8,n&255])}else if(t>>24&255,n>>>16&255,n>>>8&255,n&255])}else{const n=BigInt(t);if(n>BigInt(32)&BigInt(4294967295));o[8]=a&255,a=a>>8,o[7]=a&255,a=a>>8,o[6]=a&255,a=a>>8,o[5]=a&255,o[4]=s&255,s=s>>8,o[3]=s&255,s=s>>8,o[2]=s&255,s=s>>8,o[1]=s&255,r.push(o)}else throw new Error(`${decodeErrPrefix} encountered BigInt larger than allowable range`)}}encodeUint.encodedSize=function(e){return encodeUintValue.encodedSize(e.value)};encodeUintValue.encodedSize=function(e){return et.value?1:0};function decodeNegint8(r,e,t,n){return new Token$1(Type.negint,-1-readUint8(r,e+1,n),2)}function decodeNegint16(r,e,t,n){return new Token$1(Type.negint,-1-readUint16(r,e+1,n),3)}function decodeNegint32(r,e,t,n){return new Token$1(Type.negint,-1-readUint32(r,e+1,n),5)}const neg1b=BigInt(-1),pos1b=BigInt(1);function decodeNegint64(r,e,t,n){const o=readUint64(r,e+1,n);if(typeof o!="bigint"){const a=-1-o;if(a>=Number.MIN_SAFE_INTEGER)return new Token$1(Type.negint,a,9)}if(n.allowBigInt!==!0)throw new Error(`${decodeErrPrefix} integers outside of the safe integer range are not supported`);return new Token$1(Type.negint,neg1b-BigInt(o),9)}function encodeNegint(r,e){const t=e.value,n=typeof t=="bigint"?t*neg1b-pos1b:t*-1-1;encodeUintValue(r,e.type.majorEncoded,n)}encodeNegint.encodedSize=function(e){const t=e.value,n=typeof t=="bigint"?t*neg1b-pos1b:t*-1-1;return nt.value?-1:0};function toToken$3(r,e,t,n){assertEnoughData(r,e,t+n);const o=slice(r,e+t,e+t+n);return new Token$1(Type.bytes,o,t+n)}function decodeBytesCompact(r,e,t,n){return toToken$3(r,e,1,t)}function decodeBytes8(r,e,t,n){return toToken$3(r,e,2,readUint8(r,e+1,n))}function decodeBytes16(r,e,t,n){return toToken$3(r,e,3,readUint16(r,e+1,n))}function decodeBytes32(r,e,t,n){return toToken$3(r,e,5,readUint32(r,e+1,n))}function decodeBytes64(r,e,t,n){const o=readUint64(r,e+1,n);if(typeof o=="bigint")throw new Error(`${decodeErrPrefix} 64-bit integer bytes lengths not supported`);return toToken$3(r,e,9,o)}function tokenBytes(r){return r.encodedBytes===void 0&&(r.encodedBytes=r.type===Type.string?fromString$2(r.value):r.value),r.encodedBytes}function encodeBytes(r,e){const t=tokenBytes(e);encodeUintValue(r,e.type.majorEncoded,t.length),r.push(t)}encodeBytes.encodedSize=function(e){const t=tokenBytes(e);return encodeUintValue.encodedSize(t.length)+t.length};encodeBytes.compareTokens=function(e,t){return compareBytes(tokenBytes(e),tokenBytes(t))};function compareBytes(r,e){return r.lengthe.length?1:compare(r,e)}function toToken$2(r,e,t,n,o){const a=t+n;assertEnoughData(r,e,a);const s=new Token$1(Type.string,toString(r,e+t,e+a),a);return o.retainStringBytes===!0&&(s.byteValue=slice(r,e+t,e+a)),s}function decodeStringCompact(r,e,t,n){return toToken$2(r,e,1,t,n)}function decodeString8(r,e,t,n){return toToken$2(r,e,2,readUint8(r,e+1,n),n)}function decodeString16(r,e,t,n){return toToken$2(r,e,3,readUint16(r,e+1,n),n)}function decodeString32(r,e,t,n){return toToken$2(r,e,5,readUint32(r,e+1,n),n)}function decodeString64(r,e,t,n){const o=readUint64(r,e+1,n);if(typeof o=="bigint")throw new Error(`${decodeErrPrefix} 64-bit integer string lengths not supported`);return toToken$2(r,e,9,o,n)}const encodeString=encodeBytes;function toToken$1(r,e,t,n){return new Token$1(Type.array,n,t)}function decodeArrayCompact(r,e,t,n){return toToken$1(r,e,1,t)}function decodeArray8(r,e,t,n){return toToken$1(r,e,2,readUint8(r,e+1,n))}function decodeArray16(r,e,t,n){return toToken$1(r,e,3,readUint16(r,e+1,n))}function decodeArray32(r,e,t,n){return toToken$1(r,e,5,readUint32(r,e+1,n))}function decodeArray64(r,e,t,n){const o=readUint64(r,e+1,n);if(typeof o=="bigint")throw new Error(`${decodeErrPrefix} 64-bit integer array lengths not supported`);return toToken$1(r,e,9,o)}function decodeArrayIndefinite(r,e,t,n){if(n.allowIndefinite===!1)throw new Error(`${decodeErrPrefix} indefinite length items not allowed`);return toToken$1(r,e,1,1/0)}function encodeArray(r,e){encodeUintValue(r,Type.array.majorEncoded,e.value)}encodeArray.compareTokens=encodeUint.compareTokens;encodeArray.encodedSize=function(e){return encodeUintValue.encodedSize(e.value)};function toToken(r,e,t,n){return new Token$1(Type.map,n,t)}function decodeMapCompact(r,e,t,n){return toToken(r,e,1,t)}function decodeMap8(r,e,t,n){return toToken(r,e,2,readUint8(r,e+1,n))}function decodeMap16(r,e,t,n){return toToken(r,e,3,readUint16(r,e+1,n))}function decodeMap32(r,e,t,n){return toToken(r,e,5,readUint32(r,e+1,n))}function decodeMap64(r,e,t,n){const o=readUint64(r,e+1,n);if(typeof o=="bigint")throw new Error(`${decodeErrPrefix} 64-bit integer map lengths not supported`);return toToken(r,e,9,o)}function decodeMapIndefinite(r,e,t,n){if(n.allowIndefinite===!1)throw new Error(`${decodeErrPrefix} indefinite length items not allowed`);return toToken(r,e,1,1/0)}function encodeMap(r,e){encodeUintValue(r,Type.map.majorEncoded,e.value)}encodeMap.compareTokens=encodeUint.compareTokens;encodeMap.encodedSize=function(e){return encodeUintValue.encodedSize(e.value)};function decodeTagCompact(r,e,t,n){return new Token$1(Type.tag,t,1)}function decodeTag8(r,e,t,n){return new Token$1(Type.tag,readUint8(r,e+1,n),2)}function decodeTag16(r,e,t,n){return new Token$1(Type.tag,readUint16(r,e+1,n),3)}function decodeTag32(r,e,t,n){return new Token$1(Type.tag,readUint32(r,e+1,n),5)}function decodeTag64(r,e,t,n){return new Token$1(Type.tag,readUint64(r,e+1,n),9)}function encodeTag(r,e){encodeUintValue(r,Type.tag.majorEncoded,e.value)}encodeTag.compareTokens=encodeUint.compareTokens;encodeTag.encodedSize=function(e){return encodeUintValue.encodedSize(e.value)};const MINOR_FALSE=20,MINOR_TRUE=21,MINOR_NULL=22,MINOR_UNDEFINED=23;function decodeUndefined(r,e,t,n){if(n.allowUndefined===!1)throw new Error(`${decodeErrPrefix} undefined values are not supported`);return n.coerceUndefinedToNull===!0?new Token$1(Type.null,null,1):new Token$1(Type.undefined,void 0,1)}function decodeBreak(r,e,t,n){if(n.allowIndefinite===!1)throw new Error(`${decodeErrPrefix} indefinite length items not allowed`);return new Token$1(Type.break,void 0,1)}function createToken(r,e,t){if(t){if(t.allowNaN===!1&&Number.isNaN(r))throw new Error(`${decodeErrPrefix} NaN values are not supported`);if(t.allowInfinity===!1&&(r===1/0||r===-1/0))throw new Error(`${decodeErrPrefix} Infinity values are not supported`)}return new Token$1(Type.float,r,e)}function decodeFloat16(r,e,t,n){return createToken(readFloat16(r,e+1),3,n)}function decodeFloat32(r,e,t,n){return createToken(readFloat32(r,e+1),5,n)}function decodeFloat64(r,e,t,n){return createToken(readFloat64(r,e+1),9,n)}function encodeFloat(r,e,t){const n=e.value;if(n===!1)r.push([Type.float.majorEncoded|MINOR_FALSE]);else if(n===!0)r.push([Type.float.majorEncoded|MINOR_TRUE]);else if(n===null)r.push([Type.float.majorEncoded|MINOR_NULL]);else if(n===void 0)r.push([Type.float.majorEncoded|MINOR_UNDEFINED]);else{let o,a=!1;(!t||t.float64!==!0)&&(encodeFloat16(n),o=readFloat16(ui8a,1),n===o||Number.isNaN(n)?(ui8a[0]=249,r.push(ui8a.slice(0,3)),a=!0):(encodeFloat32(n),o=readFloat32(ui8a,1),n===o&&(ui8a[0]=250,r.push(ui8a.slice(0,5)),a=!0))),a||(encodeFloat64(n),o=readFloat64(ui8a,1),ui8a[0]=251,r.push(ui8a.slice(0,9)))}}encodeFloat.encodedSize=function(e,t){const n=e.value;if(n===!1||n===!0||n===null||n===void 0)return 1;if(!t||t.float64!==!0){encodeFloat16(n);let o=readFloat16(ui8a,1);if(n===o||Number.isNaN(n))return 3;if(encodeFloat32(n),o=readFloat32(ui8a,1),n===o)return 5}return 9};const buffer$1=new ArrayBuffer(9),dataView=new DataView(buffer$1,1),ui8a=new Uint8Array(buffer$1,0);function encodeFloat16(r){if(r===1/0)dataView.setUint16(0,31744,!1);else if(r===-1/0)dataView.setUint16(0,64512,!1);else if(Number.isNaN(r))dataView.setUint16(0,32256,!1);else{dataView.setFloat32(0,r);const e=dataView.getUint32(0),t=(e&2139095040)>>23,n=e&8388607;if(t===255)dataView.setUint16(0,31744,!1);else if(t===0)dataView.setUint16(0,(r&2147483648)>>16|n>>13,!1);else{const o=t-127;o<-24?dataView.setUint16(0,0):o<-14?dataView.setUint16(0,(e&2147483648)>>16|1<<24+o,!1):dataView.setUint16(0,(e&2147483648)>>16|o+15<<10|n>>13,!1)}}}function readFloat16(r,e){if(r.length-e<2)throw new Error(`${decodeErrPrefix} not enough data for float16`);const t=(r[e]<<8)+r[e+1];if(t===31744)return 1/0;if(t===64512)return-1/0;if(t===32256)return NaN;const n=t>>10&31,o=t&1023;let a;return n===0?a=o*2**-24:n!==31?a=(o+1024)*2**(n-25):a=o===0?1/0:NaN,t&32768?-a:a}function encodeFloat32(r){dataView.setFloat32(0,r,!1)}function readFloat32(r,e){if(r.length-e<4)throw new Error(`${decodeErrPrefix} not enough data for float32`);const t=(r.byteOffset||0)+e;return new DataView(r.buffer,t,4).getFloat32(0,!1)}function encodeFloat64(r){dataView.setFloat64(0,r,!1)}function readFloat64(r,e){if(r.length-e<8)throw new Error(`${decodeErrPrefix} not enough data for float64`);const t=(r.byteOffset||0)+e;return new DataView(r.buffer,t,8).getFloat64(0,!1)}encodeFloat.compareTokens=encodeUint.compareTokens;function invalidMinor(r,e,t){throw new Error(`${decodeErrPrefix} encountered invalid minor (${t}) for major ${r[e]>>>5}`)}function errorer(r){return()=>{throw new Error(`${decodeErrPrefix} ${r}`)}}const jump=[];for(let r=0;r<=23;r++)jump[r]=invalidMinor;jump[24]=decodeUint8;jump[25]=decodeUint16;jump[26]=decodeUint32;jump[27]=decodeUint64;jump[28]=invalidMinor;jump[29]=invalidMinor;jump[30]=invalidMinor;jump[31]=invalidMinor;for(let r=32;r<=55;r++)jump[r]=invalidMinor;jump[56]=decodeNegint8;jump[57]=decodeNegint16;jump[58]=decodeNegint32;jump[59]=decodeNegint64;jump[60]=invalidMinor;jump[61]=invalidMinor;jump[62]=invalidMinor;jump[63]=invalidMinor;for(let r=64;r<=87;r++)jump[r]=decodeBytesCompact;jump[88]=decodeBytes8;jump[89]=decodeBytes16;jump[90]=decodeBytes32;jump[91]=decodeBytes64;jump[92]=invalidMinor;jump[93]=invalidMinor;jump[94]=invalidMinor;jump[95]=errorer("indefinite length bytes/strings are not supported");for(let r=96;r<=119;r++)jump[r]=decodeStringCompact;jump[120]=decodeString8;jump[121]=decodeString16;jump[122]=decodeString32;jump[123]=decodeString64;jump[124]=invalidMinor;jump[125]=invalidMinor;jump[126]=invalidMinor;jump[127]=errorer("indefinite length bytes/strings are not supported");for(let r=128;r<=151;r++)jump[r]=decodeArrayCompact;jump[152]=decodeArray8;jump[153]=decodeArray16;jump[154]=decodeArray32;jump[155]=decodeArray64;jump[156]=invalidMinor;jump[157]=invalidMinor;jump[158]=invalidMinor;jump[159]=decodeArrayIndefinite;for(let r=160;r<=183;r++)jump[r]=decodeMapCompact;jump[184]=decodeMap8;jump[185]=decodeMap16;jump[186]=decodeMap32;jump[187]=decodeMap64;jump[188]=invalidMinor;jump[189]=invalidMinor;jump[190]=invalidMinor;jump[191]=decodeMapIndefinite;for(let r=192;r<=215;r++)jump[r]=decodeTagCompact;jump[216]=decodeTag8;jump[217]=decodeTag16;jump[218]=decodeTag32;jump[219]=decodeTag64;jump[220]=invalidMinor;jump[221]=invalidMinor;jump[222]=invalidMinor;jump[223]=invalidMinor;for(let r=224;r<=243;r++)jump[r]=errorer("simple values are not supported");jump[244]=invalidMinor;jump[245]=invalidMinor;jump[246]=invalidMinor;jump[247]=decodeUndefined;jump[248]=errorer("simple values are not supported");jump[249]=decodeFloat16;jump[250]=decodeFloat32;jump[251]=decodeFloat64;jump[252]=invalidMinor;jump[253]=invalidMinor;jump[254]=invalidMinor;jump[255]=decodeBreak;const quick=[];for(let r=0;r<24;r++)quick[r]=new Token$1(Type.uint,r,1);for(let r=-1;r>=-24;r--)quick[31-r]=new Token$1(Type.negint,r,1);quick[64]=new Token$1(Type.bytes,new Uint8Array(0),1);quick[96]=new Token$1(Type.string,"",1);quick[128]=new Token$1(Type.array,0,1);quick[160]=new Token$1(Type.map,0,1);quick[244]=new Token$1(Type.false,!1,1);quick[245]=new Token$1(Type.true,!0,1);quick[246]=new Token$1(Type.null,null,1);function quickEncodeToken(r){switch(r.type){case Type.false:return fromArray([244]);case Type.true:return fromArray([245]);case Type.null:return fromArray([246]);case Type.bytes:return r.value.length?void 0:fromArray([64]);case Type.string:return r.value===""?fromArray([96]):void 0;case Type.array:return r.value===0?fromArray([128]):void 0;case Type.map:return r.value===0?fromArray([160]):void 0;case Type.uint:return r.value<24?fromArray([Number(r.value)]):void 0;case Type.negint:if(r.value>=-24)return fromArray([31-Number(r.value)])}}const defaultEncodeOptions={float64:!1,mapSorter,quickEncodeToken};function makeCborEncoders(){const r=[];return r[Type.uint.major]=encodeUint,r[Type.negint.major]=encodeNegint,r[Type.bytes.major]=encodeBytes,r[Type.string.major]=encodeString,r[Type.array.major]=encodeArray,r[Type.map.major]=encodeMap,r[Type.tag.major]=encodeTag,r[Type.float.major]=encodeFloat,r}const cborEncoders=makeCborEncoders(),buf=new Bl;class Ref{constructor(e,t){this.obj=e,this.parent=t}includes(e){let t=this;do if(t.obj===e)return!0;while(t=t.parent);return!1}static createCheck(e,t){if(e&&e.includes(t))throw new Error(`${encodeErrPrefix} object contains circular references`);return new Ref(t,e)}}const simpleTokens={null:new Token$1(Type.null,null),undefined:new Token$1(Type.undefined,void 0),true:new Token$1(Type.true,!0),false:new Token$1(Type.false,!1),emptyArray:new Token$1(Type.array,0),emptyMap:new Token$1(Type.map,0)},typeEncoders={number(r,e,t,n){return!Number.isInteger(r)||!Number.isSafeInteger(r)?new Token$1(Type.float,r):r>=0?new Token$1(Type.uint,r):new Token$1(Type.negint,r)},bigint(r,e,t,n){return r>=BigInt(0)?new Token$1(Type.uint,r):new Token$1(Type.negint,r)},Uint8Array(r,e,t,n){return new Token$1(Type.bytes,r)},string(r,e,t,n){return new Token$1(Type.string,r)},boolean(r,e,t,n){return r?simpleTokens.true:simpleTokens.false},null(r,e,t,n){return simpleTokens.null},undefined(r,e,t,n){return simpleTokens.undefined},ArrayBuffer(r,e,t,n){return new Token$1(Type.bytes,new Uint8Array(r))},DataView(r,e,t,n){return new Token$1(Type.bytes,new Uint8Array(r.buffer,r.byteOffset,r.byteLength))},Array(r,e,t,n){if(!r.length)return t.addBreakTokens===!0?[simpleTokens.emptyArray,new Token$1(Type.break)]:simpleTokens.emptyArray;n=Ref.createCheck(n,r);const o=[];let a=0;for(const s of r)o[a++]=objectToTokens(s,t,n);return t.addBreakTokens?[new Token$1(Type.array,r.length),o,new Token$1(Type.break)]:[new Token$1(Type.array,r.length),o]},Object(r,e,t,n){const o=e!=="Object",a=o?r.keys():Object.keys(r),s=o?r.size:a.length;if(!s)return t.addBreakTokens===!0?[simpleTokens.emptyMap,new Token$1(Type.break)]:simpleTokens.emptyMap;n=Ref.createCheck(n,r);const l=[];let f=0;for(const h of a)l[f++]=[objectToTokens(h,t,n),objectToTokens(o?r.get(h):r[h],t,n)];return sortMapEntries(l,t),t.addBreakTokens?[new Token$1(Type.map,s),l,new Token$1(Type.break)]:[new Token$1(Type.map,s),l]}};typeEncoders.Map=typeEncoders.Object;typeEncoders.Buffer=typeEncoders.Uint8Array;for(const r of"Uint8Clamped Uint16 Uint32 Int8 Int16 Int32 BigUint64 BigInt64 Float32 Float64".split(" "))typeEncoders[`${r}Array`]=typeEncoders.DataView;function objectToTokens(r,e={},t){const n=is(r),o=e&&e.typeEncoders&&e.typeEncoders[n]||typeEncoders[n];if(typeof o=="function"){const s=o(r,n,e,t);if(s!=null)return s}const a=typeEncoders[n];if(!a)throw new Error(`${encodeErrPrefix} unsupported type: ${n}`);return a(r,n,e,t)}function sortMapEntries(r,e){e.mapSorter&&r.sort(e.mapSorter)}function mapSorter(r,e){const t=Array.isArray(r[0])?r[0][0]:r[0],n=Array.isArray(e[0])?e[0][0]:e[0];if(t.type!==n.type)return t.type.compare(n.type);const o=t.type.major,a=cborEncoders[o].compareTokens(t,n);return a===0&&console.warn("WARNING: complex key types used, CBOR key sorting guarantees are gone"),a}function tokensToEncoded(r,e,t,n){if(Array.isArray(e))for(const o of e)tokensToEncoded(r,o,t,n);else t[e.type.major](r,e,n)}function encodeCustom(r,e,t){const n=objectToTokens(r,t);if(!Array.isArray(n)&&t.quickEncodeToken){const o=t.quickEncodeToken(n);if(o)return o;const a=e[n.type.major];if(a.encodedSize){const s=a.encodedSize(n,t),l=new Bl(s);if(a(l,n,t),l.chunks.length!==1)throw new Error(`Unexpected error: pre-calculated length for ${n} was wrong`);return asU8A(l.chunks[0])}}return buf.reset(),tokensToEncoded(buf,n,e,t),buf.toBytes(!0)}function encode$6(r,e){return e=Object.assign({},defaultEncodeOptions,e),encodeCustom(r,cborEncoders,e)}const defaultDecodeOptions={strict:!1,allowIndefinite:!0,allowUndefined:!0,allowBigInt:!0};class Tokeniser{constructor(e,t={}){this.pos=0,this.data=e,this.options=t}done(){return this.pos>=this.data.length}next(){const e=this.data[this.pos];let t=quick[e];if(t===void 0){const n=jump[e];if(!n)throw new Error(`${decodeErrPrefix} no decoder for major type ${e>>>5} (byte 0x${e.toString(16).padStart(2,"0")})`);const o=e&31;t=n(this.data,this.pos,o,this.options)}return this.pos+=t.encodedLength,t}}const DONE=Symbol.for("DONE"),BREAK=Symbol.for("BREAK");function tokenToArray(r,e,t){const n=[];for(let o=0;oencode$6(r,encodeOptions$1),decode$4=r=>decode$5(r,decodeOptions$1),CIDV0_BYTES={SHA2_256:18,LENGTH:32,DAG_PB:112};async function readVarint(r){const e=await r.upTo(8),t=varint$2.decode(e);return r.seek(varint$2.decode.bytes),t}async function readHeader(r){const e=await readVarint(r);if(e===0)throw new Error("Invalid CAR header (zero length)");const t=await r.exactly(e);r.seek(e);const n=decode$4(t);if(n==null||Array.isArray(n)||typeof n!="object")throw new Error("Invalid CAR header format");if(n.version!==1)throw typeof n.version=="string"?new Error(`Invalid CAR version: "${n.version}"`):new Error(`Invalid CAR version: ${n.version}`);if(!Array.isArray(n.roots))throw new Error("Invalid CAR header format");if(Object.keys(n).filter(o=>o!=="roots"&&o!=="version").length)throw new Error("Invalid CAR header format");return n}async function readMultihash(r){const e=await r.upTo(8);varint$2.decode(e);const t=varint$2.decode.bytes,n=varint$2.decode(e.subarray(varint$2.decode.bytes)),o=varint$2.decode.bytes,a=t+o+n,s=await r.exactly(a);return r.seek(a),s}async function readCid(r){const e=await r.exactly(2);if(e[0]===CIDV0_BYTES.SHA2_256&&e[1]===CIDV0_BYTES.LENGTH){const s=await r.exactly(34);r.seek(34);const l=decode$7(s);return CID.create(0,CIDV0_BYTES.DAG_PB,l)}const t=await readVarint(r);if(t!==1)throw new Error(`Unexpected CID version (${t})`);const n=await readVarint(r),o=await readMultihash(r),a=decode$7(o);return CID.create(t,n,a)}async function readBlockHead(r){const e=r.pos;let t=await readVarint(r);if(t===0)throw new Error("Invalid CAR section (zero length)");t+=r.pos-e;const n=await readCid(r),o=t-(r.pos-e);return{cid:n,length:t,blockLength:o}}async function readBlock(r){const{cid:e,blockLength:t}=await readBlockHead(r),n=await r.exactly(t);return r.seek(t),{bytes:n,cid:e}}async function readBlockIndex(r){const e=r.pos,{cid:t,length:n,blockLength:o}=await readBlockHead(r),a={cid:t,length:n,blockLength:o,offset:e,blockOffset:r.pos};return r.seek(a.blockLength),a}function createDecoder(r){const e=readHeader(r);return{header:()=>e,async*blocks(){for(await e;(await r.upTo(8)).length>0;)yield await readBlock(r)},async*blocksIndex(){for(await e;(await r.upTo(8)).length>0;)yield await readBlockIndex(r)}}}function bytesReader(r){let e=0;return{async upTo(t){return r.subarray(e,e+Math.min(t,r.length-e))},async exactly(t){if(t>r.length-e)throw new Error("Unexpected end of data");return r.subarray(e,e+t)},seek(t){e+=t},get pos(){return e}}}function chunkReader(r){let e=0,t=0,n=0,o=new Uint8Array(0);const a=async s=>{t=o.length-n;const l=[o.subarray(n)];for(;tt&&l.push(h.subarray(-t)):l.push(h),t+=h.length}o=new Uint8Array(l.reduce((h,d)=>h+d.length,0));let f=0;for(const h of l)o.set(h,f),f+=h.length;n=0};return{async upTo(s){return o.length-no.cid.toString())}get version(){return this._version}async getRoots(){return this._roots}async has(e){return this._keys.indexOf(e.toString())>-1}async get(e){const t=this._keys.indexOf(e.toString());return t>-1?this._blocks[t]:void 0}async*blocks(){for(const e of this._blocks)yield e}async*cids(){for(const e of this._blocks)yield e.cid}static async fromBytes(e){if(!(e instanceof Uint8Array))throw new TypeError("fromBytes() requires a Uint8Array");return decodeReaderComplete(bytesReader(e))}static async fromIterable(e){if(!e||typeof e[Symbol.asyncIterator]!="function")throw new TypeError("fromIterable() requires an async iterable");return decodeReaderComplete(asyncIterableReader(e))}}async function decodeReaderComplete(r){const e=createDecoder(r),{version:t,roots:n}=await e.header(),o=[];for await(const a of e.blocks())o.push(a);return new CarReader(t,n,o)}function createHeader(r){const e=encode$5({version:1,roots:r}),t=varint$2.encode(e.length),n=new Uint8Array(t.length+e.length);return n.set(t,0),n.set(e,t.length),n}function createEncoder(r){return{async setRoots(e){const t=createHeader(e);await r.write(t)},async writeBlock(e){const{cid:t,bytes:n}=e;await r.write(new Uint8Array(varint$2.encode(t.bytes.length+n.length))),await r.write(t.bytes),n.length&&await r.write(n)},async close(){return r.end()}}}function noop$1(){}function create$3(){const r=[];let e=null,t=noop$1,n=!1,o=null,a=noop$1;const s=()=>(e||(e=new Promise(h=>{t=()=>{e=null,t=noop$1,h()}})),e),l={write(h){r.push(h);const d=s();return a(),d},async end(){n=!0;const h=s();return a(),h}},f={async next(){const h=r.shift();return h?(r.length===0&&t(),{done:!1,value:h}):n?(t(),{done:!0,value:void 0}):(o||(o=new Promise(d=>{a=()=>(o=null,a=noop$1,d(f.next()))})),o)}};return{writer:l,iterator:f}}class CarWriter{constructor(e,t){this._encoder=t,this._mutex=t.setRoots(e),this._ended=!1}async put(e){if(!(e.bytes instanceof Uint8Array)||!e.cid)throw new TypeError("Can only write {cid, bytes} objects");if(this._ended)throw new Error("Already closed");const t=CID.asCID(e.cid);if(!t)throw new TypeError("Can only write {cid, bytes} objects");return this._mutex=this._mutex.then(()=>this._encoder.writeBlock({cid:t,bytes:e.bytes})),this._mutex}async close(){if(this._ended)throw new Error("Already closed");return await this._mutex,this._ended=!0,this._encoder.close()}static create(e){e=toRoots(e);const{encoder:t,iterator:n}=encodeWriter(),o=new CarWriter(e,t),a=new CarWriterOut(n);return{writer:o,out:a}}static createAppender(){const{encoder:e,iterator:t}=encodeWriter();e.setRoots=()=>Promise.resolve();const n=new CarWriter([],e),o=new CarWriterOut(t);return{writer:n,out:o}}static async updateRootsInBytes(e,t){const n=bytesReader(e);await readHeader(n);const o=createHeader(t);if(n.pos!==o.length)throw new Error(`updateRoots() can only overwrite a header of the same length (old header is ${n.pos} bytes, new header is ${o.length} bytes)`);return e.set(o,0),e}}class CarWriterOut{constructor(e){this._iterator=e}[Symbol.asyncIterator](){if(this._iterating)throw new Error("Multiple iterator not supported");return this._iterating=!0,this._iterator}}function encodeWriter(){const r=create$3(),{writer:e,iterator:t}=r;return{encoder:createEncoder(e),iterator:t}}function toRoots(r){if(r===void 0)return[];if(!Array.isArray(r)){const t=CID.asCID(r);if(!t)throw new TypeError("roots must be a single CID or an array of CIDs");return[t]}const e=[];for(const t of r){const n=CID.asCID(t);if(!n)throw new TypeError("roots must be a single CID or an array of CIDs");e.push(n)}return e}const from=({name:r,code:e,encode:t})=>new Hasher(r,e,t);class Hasher{constructor(e,t,n){this.name=e,this.code=t,this.encode=n}digest(e){if(e instanceof Uint8Array){const t=this.encode(e);return t instanceof Uint8Array?create$4(this.code,t):t.then(n=>create$4(this.code,n))}else throw Error("Unknown type, must be binary type")}}const readonly=({enumerable:r=!0,configurable:e=!1}={})=>({enumerable:r,configurable:e,writable:!1}),links=function*(r,e){if(r!=null&&!(r instanceof Uint8Array))for(const[t,n]of Object.entries(r)){const o=[...e,t];if(n!=null&&typeof n=="object")if(Array.isArray(n))for(const[a,s]of n.entries()){const l=[...o,a],f=CID.asCID(s);f?yield[l.join("/"),f]:typeof s=="object"&&(yield*links(s,l))}else{const a=CID.asCID(n);a?yield[o.join("/"),a]:yield*links(n,o)}}},tree=function*(r,e){if(r!=null)for(const[t,n]of Object.entries(r)){const o=[...e,t];if(yield o.join("/"),n!=null&&!(n instanceof Uint8Array)&&typeof n=="object"&&!CID.asCID(n))if(Array.isArray(n))for(const[a,s]of n.entries()){const l=[...o,a];yield l.join("/"),typeof s=="object"&&!CID.asCID(s)&&(yield*tree(s,l))}else yield*tree(n,o)}},get=(r,e)=>{let t=r;for(const[n,o]of e.entries()){if(t=t[o],t==null)throw new Error(`Object has no property at ${e.slice(0,n+1).map(s=>`[${JSON.stringify(s)}]`).join("")}`);const a=CID.asCID(t);if(a)return{value:a,remaining:e.slice(n+1).join("/")}}return{value:t}};class Block{constructor({cid:e,bytes:t,value:n}){if(!e||!t||typeof n>"u")throw new Error("Missing required argument");this.cid=e,this.bytes=t,this.value=n,this.asBlock=this,Object.defineProperties(this,{cid:readonly(),bytes:readonly(),value:readonly(),asBlock:readonly()})}links(){return links(this.value,[])}tree(){return tree(this.value,[])}get(e="/"){return get(this.value,e.split("/").filter(Boolean))}}const encode$4=async({value:r,codec:e,hasher:t})=>{if(typeof r>"u")throw new Error('Missing required argument "value"');if(!e||!t)throw new Error("Missing required argument: codec or hasher");const n=e.encode(r),o=await t.digest(n),a=CID.create(1,e.code,o);return new Block({value:r,bytes:n,cid:a})},name$2="raw",code$3=85,encode$3=r=>coerce(r),decode$3=r=>coerce(r),raw=Object.freeze(Object.defineProperty({__proto__:null,code:code$3,decode:decode$3,encode:encode$3,name:name$2},Symbol.toStringTag,{value:"Module"})),CID_CBOR_TAG=42;function cidEncoder(r){if(r.asCID!==r)return null;const e=CID.asCID(r);if(!e)return null;const t=new Uint8Array(e.bytes.byteLength+1);return t.set(e.bytes,1),[new Token$1(Type.tag,CID_CBOR_TAG),new Token$1(Type.bytes,t)]}function undefinedEncoder(){throw new Error("`undefined` is not supported by the IPLD Data Model and cannot be encoded")}function numberEncoder(r){if(Number.isNaN(r))throw new Error("`NaN` is not supported by the IPLD Data Model and cannot be encoded");if(r===1/0||r===-1/0)throw new Error("`Infinity` and `-Infinity` is not supported by the IPLD Data Model and cannot be encoded");return null}const encodeOptions={float64:!0,typeEncoders:{Object:cidEncoder,undefined:undefinedEncoder,number:numberEncoder}};function cidDecoder(r){if(r[0]!==0)throw new Error("Invalid CID for CBOR tag 42; expected leading 0x00");return CID.decode(r.subarray(1))}const decodeOptions={allowIndefinite:!1,allowUndefined:!1,allowNaN:!1,allowInfinity:!1,allowBigInt:!0,strict:!0,useMaps:!1,tags:[]};decodeOptions.tags[CID_CBOR_TAG]=cidDecoder;const name$1="dag-cbor",code$2=113,encode$2=r=>encode$6(r,encodeOptions),decode$2=r=>decode$5(r,decodeOptions),dagCbor=Object.freeze(Object.defineProperty({__proto__:null,code:code$2,decode:decode$2,encode:encode$2,name:name$1},Symbol.toStringTag,{value:"Module"})),textDecoder=new TextDecoder;function decodeVarint(r,e){let t=0;for(let n=0;;n+=7){if(n>=64)throw new Error("protobuf: varint overflow");if(e>=r.length)throw new Error("protobuf: unexpected end of data");const o=r[e++];if(t+=n<28?(o&127)<r.length)throw new Error("protobuf: unexpected end of data");return[r.subarray(e,n),n]}function decodeKey(r,e){let t;return[t,e]=decodeVarint(r,e),[t&7,t>>3,e]}function decodeLink(r){const e={},t=r.length;let n=0;for(;nt)throw new Error("protobuf: (PBLink) unexpected end of data");return e}function decodeNode(r){const e=r.length;let t=0,n,o=!1,a;for(;te)throw new Error("protobuf: (PBNode) unexpected end of data");const s={};return a&&(s.Data=a),s.Links=n||[],s}const textEncoder$1=new TextEncoder,maxInt32=2**32,maxUInt32=2**31;function encodeLink(r,e){let t=e.length;if(typeof r.Tsize=="number"){if(r.Tsize<0)throw new Error("Tsize cannot be negative");if(!Number.isSafeInteger(r.Tsize))throw new Error("Tsize too large for encoding");t=encodeVarint(e,t,r.Tsize)-1,e[t]=24}if(typeof r.Name=="string"){const n=textEncoder$1.encode(r.Name);t-=n.length,e.set(n,t),t=encodeVarint(e,t,n.length)-1,e[t]=18}return r.Hash&&(t-=r.Hash.length,e.set(r.Hash,t),t=encodeVarint(e,t,r.Hash.length)-1,e[t]=10),e.length-t}function encodeNode(r){const e=sizeNode(r),t=new Uint8Array(e);let n=e;if(r.Data&&(n-=r.Data.length,t.set(r.Data,n),n=encodeVarint(t,n,r.Data.length)-1,t[n]=10),r.Links)for(let o=r.Links.length-1;o>=0;o--){const a=encodeLink(r.Links[o],t.subarray(0,n));n-=a,n=encodeVarint(t,n,a)-1,t[n]=18}return t}function sizeLink(r){let e=0;if(r.Hash){const t=r.Hash.length;e+=1+t+sov(t)}if(typeof r.Name=="string"){const t=textEncoder$1.encode(r.Name).length;e+=1+t+sov(t)}return typeof r.Tsize=="number"&&(e+=1+sov(r.Tsize)),e}function sizeNode(r){let e=0;if(r.Data){const t=r.Data.length;e+=1+t+sov(t)}if(r.Links)for(const t of r.Links){const n=sizeLink(t);e+=1+n+sov(n)}return e}function encodeVarint(r,e,t){e-=sov(t);const n=e;for(;t>=maxUInt32;)r[e++]=t&127|128,t/=128;for(;t>=128;)r[e++]=t&127|128,t>>>=7;return r[e]=t,n}function sov(r){return r%2===0&&r++,Math.floor((len64(r)+6)/7)}function len64(r){let e=0;return r>=maxInt32&&(r=Math.floor(r/maxInt32),e=32),r>=65536&&(r>>>=16,e+=16),r>=256&&(r>>>=8,e+=8),e+len8tab[r]}const len8tab=[0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8],pbNodeProperties=["Data","Links"],pbLinkProperties=["Hash","Name","Tsize"],textEncoder=new TextEncoder;function linkComparator(r,e){if(r===e)return 0;const t=r.Name?textEncoder.encode(r.Name):[],n=e.Name?textEncoder.encode(e.Name):[];let o=t.length,a=n.length;for(let s=0,l=Math.min(o,a);s!e.includes(t))}function asLink(r){if(typeof r.asCID=="object"){const t=CID.asCID(r);if(!t)throw new TypeError("Invalid DAG-PB form");return{Hash:t}}if(typeof r!="object"||Array.isArray(r))throw new TypeError("Invalid DAG-PB form");const e={};if(r.Hash){let t=CID.asCID(r.Hash);try{t||(typeof r.Hash=="string"?t=CID.parse(r.Hash):r.Hash instanceof Uint8Array&&(t=CID.decode(r.Hash)))}catch(n){throw new TypeError(`Invalid DAG-PB form: ${n.message}`)}t&&(e.Hash=t)}if(!e.Hash)throw new TypeError("Invalid DAG-PB form");return typeof r.Name=="string"&&(e.Name=r.Name),typeof r.Tsize=="number"&&(e.Tsize=r.Tsize),e}function prepare(r){if((r instanceof Uint8Array||typeof r=="string")&&(r={Data:r}),typeof r!="object"||Array.isArray(r))throw new TypeError("Invalid DAG-PB form");const e={};if(r.Data!==void 0)if(typeof r.Data=="string")e.Data=textEncoder.encode(r.Data);else if(r.Data instanceof Uint8Array)e.Data=r.Data;else throw new TypeError("Invalid DAG-PB form");if(r.Links!==void 0)if(Array.isArray(r.Links))e.Links=r.Links.map(asLink),e.Links.sort(linkComparator);else throw new TypeError("Invalid DAG-PB form");else e.Links=[];return e}function validate(r){if(!r||typeof r!="object"||Array.isArray(r))throw new TypeError("Invalid DAG-PB form");if(!hasOnlyProperties(r,pbNodeProperties))throw new TypeError("Invalid DAG-PB form (extraneous properties)");if(r.Data!==void 0&&!(r.Data instanceof Uint8Array))throw new TypeError("Invalid DAG-PB form (Data must be a Uint8Array)");if(!Array.isArray(r.Links))throw new TypeError("Invalid DAG-PB form (Links must be an array)");for(let e=0;e0&&linkComparator(t,r.Links[e-1])===-1)throw new TypeError("Invalid DAG-PB form (links must be sorted by Name bytes)")}}function createNode(r,e=[]){return prepare({Data:r,Links:e})}function createLink(r,e,t){return asLink({Hash:t,Name:r,Tsize:e})}const name="dag-pb",code$1=112;function encode$1(r){validate(r);const e={};return r.Links&&(e.Links=r.Links.map(t=>{const n={};return t.Hash&&(n.Hash=t.Hash.bytes),t.Name!==void 0&&(n.Name=t.Name),t.Tsize!==void 0&&(n.Tsize=t.Tsize),n})),r.Data&&(e.Data=r.Data),encodeNode(e)}function decode$1(r){const e=decodeNode(r),t={};return e.Data&&(t.Data=e.Data),e.Links&&(t.Links=e.Links.map(n=>{const o={};try{o.Hash=CID.decode(n.Hash)}catch{}if(!o.Hash)throw new Error("Invalid Hash field found in link, expected CID");return n.Name!==void 0&&(o.Name=n.Name),n.Tsize!==void 0&&(o.Tsize=n.Tsize),o})),t}const dagPb=Object.freeze(Object.defineProperty({__proto__:null,code:code$1,createLink,createNode,decode:decode$1,encode:encode$1,name,prepare,validate},Symbol.toStringTag,{value:"Module"}));class TreewalkCarSplitter{constructor(e,t,n={}){if(typeof t!="number"||t<=0)throw new Error("invalid target chunk size");this._reader=e,this._targetSize=t,this._decoders=[dagPb,raw,dagCbor,...n.decoders||[]]}async*cars(){const e=await this._reader.getRoots();if(e.length!==1)throw new Error(`unexpected number of roots: ${e.length}`);let t;for await(const n of this._cars(e[0]))t=n.channel,n.out&&(yield n.out);if(!t)throw new Error("missing CAR writer channel");t.writer.close(),yield t.out}async _get(e){const t=await this._reader.get(e);if(!t)throw new Error(`missing block for ${e}`);const{bytes:n}=t,o=this._decoders.find(a=>a.code===e.code);if(!o)throw new Error(`missing decoder for ${e.code}`);return new Block({cid:e,bytes:n,value:o.decode(n)})}async*_cars(e,t=[],n=void 0){const o=await this._get(e);if(n=n||Object.assign(CarWriter.create(e),{size:0}),n.size>0&&n.size+o.bytes.byteLength>=this._targetSize){n.writer.close();const{out:a}=n;n=newCar(t),yield{channel:n,out:a}}t=t.concat(o),n.size+=o.bytes.byteLength,n.writer.put(o);for(const[,a]of o.links())for await(const s of this._cars(a,t,n))n=s.channel,yield s;if(!n)throw new Error("missing CAR writer channel");yield{channel:n}}static async fromIterable(e,t,n){const o=await CarReader.fromIterable(e);return new TreewalkCarSplitter(o,t,n)}static async fromBlob(e,t,n){const o=await e.arrayBuffer(),a=await CarReader.fromBytes(new Uint8Array(o));return new TreewalkCarSplitter(a,t,n)}}function newCar(r){const e=Object.assign(CarWriter.create(r[0].cid),{size:r.reduce((t,n)=>t+n.bytes.byteLength,0)});for(const t of r)e.writer.put(t);return e}const last=async r=>{let e;for await(const t of r)e=t;return e};var itLast=last;const last$1=getDefaultExportFromCjs(itLast);var itPipe={exports:{}};const rawPipe=(...r)=>{let e;for(;r.length;)e=r.shift()(e);return e},isIterable$1=r=>r&&(typeof r[Symbol.asyncIterator]=="function"||typeof r[Symbol.iterator]=="function"||typeof r.next=="function"),isDuplex=r=>r&&typeof r.sink=="function"&&isIterable$1(r.source),duplexPipelineFn=r=>e=>(r.sink(e),r.source),pipe=(...r)=>{if(isDuplex(r[0])){const e=r[0];r[0]=()=>e.source}else if(isIterable$1(r[0])){const e=r[0];r[0]=()=>e}if(r.length>1&&isDuplex(r[r.length-1])&&(r[r.length-1]=r[r.length-1].sink),r.length>2)for(let e=1;e=e;)yield t.slice(0,e),t=t.slice(e);for(;t.length;)yield t.slice(0,e),t=t.slice(e)}var itBatch=batch$1;const batch$2=getDefaultExportFromCjs(itBatch),batch=itBatch;async function*parallelBatch(r,e=1){for await(const t of batch(r,e)){const n=t.map(o=>o().then(a=>({ok:!0,value:a}),a=>({ok:!1,err:a})));for(let o=0;o{if(Object.prototype.toString.call(r)!=="[object Object]")return!1;const e=Object.getPrototypeOf(r);return e===null||e===Object.prototype};const isOptionObject=isPlainObj,{hasOwnProperty}=Object.prototype,{propertyIsEnumerable}=Object,defineProperty=(r,e,t)=>Object.defineProperty(r,e,{value:t,writable:!0,enumerable:!0,configurable:!0}),globalThis$1=commonjsGlobal,defaultMergeOptions={concatArrays:!1,ignoreUndefined:!1},getEnumerableOwnPropertyKeys=r=>{const e=[];for(const t in r)hasOwnProperty.call(r,t)&&e.push(t);if(Object.getOwnPropertySymbols){const t=Object.getOwnPropertySymbols(r);for(const n of t)propertyIsEnumerable.call(r,n)&&e.push(n)}return e};function clone$1(r){return Array.isArray(r)?cloneArray(r):isOptionObject(r)?cloneOptionObject(r):r}function cloneArray(r){const e=r.slice(0,0);return getEnumerableOwnPropertyKeys(r).forEach(t=>{defineProperty(e,t,clone$1(r[t]))}),e}function cloneOptionObject(r){const e=Object.getPrototypeOf(r)===null?Object.create(null):{};return getEnumerableOwnPropertyKeys(r).forEach(t=>{defineProperty(e,t,clone$1(r[t]))}),e}const mergeKeys=(r,e,t,n)=>(t.forEach(o=>{typeof e[o]>"u"&&n.ignoreUndefined||(o in r&&r[o]!==Object.getPrototypeOf(r)?defineProperty(r,o,merge(r[o],e[o],n)):defineProperty(r,o,clone$1(e[o])))}),r),concatArrays=(r,e,t)=>{let n=r.slice(0,0),o=0;return[r,e].forEach(a=>{const s=[];for(let l=0;l!s.includes(l)),t)}),n};function merge(r,e,t){return t.concatArrays&&Array.isArray(r)&&Array.isArray(e)?concatArrays(r,e,t):!isOptionObject(e)||!isOptionObject(r)?clone$1(e):mergeKeys(r,e,getEnumerableOwnPropertyKeys(e),t)}var mergeOptions=function(...r){const e=merge(clone$1(defaultMergeOptions),this!==globalThis$1&&this||{},defaultMergeOptions);let t={_:{}};for(const n of r)if(n!==void 0){if(!isOptionObject(n))throw new TypeError("`"+n+"` is not an Option Object");t=merge(t,{_:n},e)}return t._};const mergeOptions$1=getDefaultExportFromCjs(mergeOptions),sha=r=>async e=>new Uint8Array(await crypto.subtle.digest(r,e)),sha256=from({name:"sha2-256",code:18,encode:sha("SHA-256")});var murmurHash3js={exports:{}};(function(r,e){(function(t,n){var o={version:"3.0.0",x86:{},x64:{},inputValidation:!0};function a(y){if(!Array.isArray(y)&&!ArrayBuffer.isView(y))return!1;for(var E=0;E255)return!1;return!0}function s(y,E){return(y&65535)*E+(((y>>>16)*E&65535)<<16)}function l(y,E){return y<>>32-E}function f(y){return y^=y>>>16,y=s(y,2246822507),y^=y>>>13,y=s(y,3266489909),y^=y>>>16,y}function h(y,E){y=[y[0]>>>16,y[0]&65535,y[1]>>>16,y[1]&65535],E=[E[0]>>>16,E[0]&65535,E[1]>>>16,E[1]&65535];var T=[0,0,0,0];return T[3]+=y[3]+E[3],T[2]+=T[3]>>>16,T[3]&=65535,T[2]+=y[2]+E[2],T[1]+=T[2]>>>16,T[2]&=65535,T[1]+=y[1]+E[1],T[0]+=T[1]>>>16,T[1]&=65535,T[0]+=y[0]+E[0],T[0]&=65535,[T[0]<<16|T[1],T[2]<<16|T[3]]}function d(y,E){y=[y[0]>>>16,y[0]&65535,y[1]>>>16,y[1]&65535],E=[E[0]>>>16,E[0]&65535,E[1]>>>16,E[1]&65535];var T=[0,0,0,0];return T[3]+=y[3]*E[3],T[2]+=T[3]>>>16,T[3]&=65535,T[2]+=y[2]*E[3],T[1]+=T[2]>>>16,T[2]&=65535,T[2]+=y[3]*E[2],T[1]+=T[2]>>>16,T[2]&=65535,T[1]+=y[1]*E[3],T[0]+=T[1]>>>16,T[1]&=65535,T[1]+=y[2]*E[2],T[0]+=T[1]>>>16,T[1]&=65535,T[1]+=y[3]*E[1],T[0]+=T[1]>>>16,T[1]&=65535,T[0]+=y[0]*E[3]+y[1]*E[2]+y[2]*E[1]+y[3]*E[0],T[0]&=65535,[T[0]<<16|T[1],T[2]<<16|T[3]]}function m(y,E){return E%=64,E===32?[y[1],y[0]]:E<32?[y[0]<>>32-E,y[1]<>>32-E]:(E-=32,[y[1]<>>32-E,y[0]<>>32-E])}function _(y,E){return E%=64,E===0?y:E<32?[y[0]<>>32-E,y[1]<>>1]),y=d(y,[4283543511,3981806797]),y=b(y,[0,y[0]>>>1]),y=d(y,[3301882366,444984403]),y=b(y,[0,y[0]>>>1]),y}o.x86.hash32=function(y,E){if(o.inputValidation&&!a(y))return n;E=E||0;for(var T=y.length%4,N=y.length-T,D=E,C=0,A=3432918353,S=461845907,I=0;I>>0},o.x86.hash128=function(y,E){if(o.inputValidation&&!a(y))return n;E=E||0;for(var T=y.length%16,N=y.length-T,D=E,C=E,A=E,S=E,I=0,L=0,x=0,R=0,M=597399067,K=2869860233,Y=951274213,ee=2716044179,F=0;F>>0).toString(16)).slice(-8)+("00000000"+(C>>>0).toString(16)).slice(-8)+("00000000"+(A>>>0).toString(16)).slice(-8)+("00000000"+(S>>>0).toString(16)).slice(-8)},o.x64.hash128=function(y,E){if(o.inputValidation&&!a(y))return n;E=E||0;for(var T=y.length%16,N=y.length-T,D=[0,E],C=[0,E],A=[0,0],S=[0,0],I=[2277735313,289559509],L=[1291169091,658871167],x=0;x>>0).toString(16)).slice(-8)+("00000000"+(D[1]>>>0).toString(16)).slice(-8)+("00000000"+(C[0]>>>0).toString(16)).slice(-8)+("00000000"+(C[1]>>>0).toString(16)).slice(-8)},r.exports&&(e=r.exports=o),e.murmurHash3=o})()})(murmurHash3js,murmurHash3js.exports);var murmurHash3jsExports=murmurHash3js.exports,murmurhash3jsRevisited=murmurHash3jsExports;const mur=getDefaultExportFromCjs(murmurhash3jsRevisited),murmur3128=from({name:"murmur3-128",code:34,encode:r=>fromHex(mur.x64.hash128(r))});async function hamtHashFn(r){return(await murmur3128.encode(r)).slice(0,8).reverse()}const defaultOptions={chunker:"fixed",strategy:"balanced",rawLeaves:!1,onlyHash:!1,reduceSingleLeafToSelf:!0,hasher:sha256,leafType:"file",cidVersion:0,progress:()=>()=>{},shardSplitThreshold:1e3,fileImportConcurrency:50,blockWriteConcurrency:10,minChunkSize:262144,maxChunkSize:262144,avgChunkSize:262144,window:16,polynomial:0x3df305dfb2a804,maxChildrenPerNode:174,layerRepeat:4,wrapWithDirectory:!1,recursive:!1,hidden:!1,timeout:void 0,hamtHashFn,hamtHashCode:34,hamtBucketBits:8},defaultOptions$1=(r={})=>mergeOptions$1.bind({ignoreUndefined:!0})(defaultOptions,r);function assign(r,e){for(const t in e)Object.defineProperty(r,t,{value:e[t],enumerable:!0,configurable:!0});return r}function createError(r,e,t){if(!r||typeof r=="string")throw new TypeError("Please pass an Error to err-code");t||(t={}),typeof e=="object"&&(t=e,e=""),e&&(t.code=e);try{return assign(r,t)}catch{t.message=r.message,t.stack=r.stack;const o=function(){};return o.prototype=Object.create(Object.getPrototypeOf(r)),assign(new o,t)}}var errCode=createError;const errCode$1=getDefaultExportFromCjs(errCode);var indexMinimal={},minimal$1={},aspromise,hasRequiredAspromise;function requireAspromise(){if(hasRequiredAspromise)return aspromise;hasRequiredAspromise=1,aspromise=r;function r(e,t){for(var n=new Array(arguments.length-1),o=0,a=2,s=!0;a1&&l.charAt(f)==="=";)++h;return Math.ceil(l.length*3)/4-h};for(var t=new Array(64),n=new Array(123),o=0;o<64;)n[t[o]=o<26?o+65:o<52?o+71:o<62?o-4:o-59|43]=o++;e.encode=function(l,f,h){for(var d=null,m=[],_=0,b=0,w;f>2],w=(y&3)<<4,b=1;break;case 1:m[_++]=t[w|y>>4],w=(y&15)<<2,b=2;break;case 2:m[_++]=t[w|y>>6],m[_++]=t[y&63],b=0;break}_>8191&&((d||(d=[])).push(String.fromCharCode.apply(String,m)),_=0)}return b&&(m[_++]=t[w],m[_++]=61,b===1&&(m[_++]=61)),d?(_&&d.push(String.fromCharCode.apply(String,m.slice(0,_))),d.join("")):String.fromCharCode.apply(String,m.slice(0,_))};var a="invalid encoding";e.decode=function(l,f,h){for(var d=h,m=0,_,b=0;b1)break;if((w=n[w])===void 0)throw Error(a);switch(m){case 0:_=w,m=1;break;case 1:f[h++]=_<<2|(w&48)>>4,_=w,m=2;break;case 2:f[h++]=(_&15)<<4|(w&60)>>2,_=w,m=3;break;case 3:f[h++]=(_&3)<<6|w,m=0;break}}if(m===1)throw Error(a);return h-d},e.test=function(l){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(l)}}(base64$3)),base64$3}var eventemitter,hasRequiredEventemitter;function requireEventemitter(){if(hasRequiredEventemitter)return eventemitter;hasRequiredEventemitter=1,eventemitter=r;function r(){this._listeners={}}return r.prototype.on=function(t,n,o){return(this._listeners[t]||(this._listeners[t]=[])).push({fn:n,ctx:o||this}),this},r.prototype.off=function(t,n){if(t===void 0)this._listeners={};else if(n===void 0)this._listeners[t]=[];else for(var o=this._listeners[t],a=0;a0?0:2147483648,d,m);else if(isNaN(h))f(2143289344,d,m);else if(h>34028234663852886e22)f((_<<31|2139095040)>>>0,d,m);else if(h<11754943508222875e-54)f((_<<31|Math.round(h/1401298464324817e-60))>>>0,d,m);else{var b=Math.floor(Math.log(h)/Math.LN2),w=Math.round(h*Math.pow(2,-b)*8388608)&8388607;f((_<<31|b+127<<23|w)>>>0,d,m)}}a.writeFloatLE=s.bind(null,e),a.writeFloatBE=s.bind(null,t);function l(f,h,d){var m=f(h,d),_=(m>>31)*2+1,b=m>>>23&255,w=m&8388607;return b===255?w?NaN:_*(1/0):b===0?_*1401298464324817e-60*w:_*Math.pow(2,b-150)*(w+8388608)}a.readFloatLE=l.bind(null,n),a.readFloatBE=l.bind(null,o)}(),typeof Float64Array<"u"?function(){var s=new Float64Array([-0]),l=new Uint8Array(s.buffer),f=l[7]===128;function h(b,w,y){s[0]=b,w[y]=l[0],w[y+1]=l[1],w[y+2]=l[2],w[y+3]=l[3],w[y+4]=l[4],w[y+5]=l[5],w[y+6]=l[6],w[y+7]=l[7]}function d(b,w,y){s[0]=b,w[y]=l[7],w[y+1]=l[6],w[y+2]=l[5],w[y+3]=l[4],w[y+4]=l[3],w[y+5]=l[2],w[y+6]=l[1],w[y+7]=l[0]}a.writeDoubleLE=f?h:d,a.writeDoubleBE=f?d:h;function m(b,w){return l[0]=b[w],l[1]=b[w+1],l[2]=b[w+2],l[3]=b[w+3],l[4]=b[w+4],l[5]=b[w+5],l[6]=b[w+6],l[7]=b[w+7],s[0]}function _(b,w){return l[7]=b[w],l[6]=b[w+1],l[5]=b[w+2],l[4]=b[w+3],l[3]=b[w+4],l[2]=b[w+5],l[1]=b[w+6],l[0]=b[w+7],s[0]}a.readDoubleLE=f?m:_,a.readDoubleBE=f?_:m}():function(){function s(f,h,d,m,_,b){var w=m<0?1:0;if(w&&(m=-m),m===0)f(0,_,b+h),f(1/m>0?0:2147483648,_,b+d);else if(isNaN(m))f(0,_,b+h),f(2146959360,_,b+d);else if(m>17976931348623157e292)f(0,_,b+h),f((w<<31|2146435072)>>>0,_,b+d);else{var y;if(m<22250738585072014e-324)y=m/5e-324,f(y>>>0,_,b+h),f((w<<31|y/4294967296)>>>0,_,b+d);else{var E=Math.floor(Math.log(m)/Math.LN2);E===1024&&(E=1023),y=m*Math.pow(2,-E),f(y*4503599627370496>>>0,_,b+h),f((w<<31|E+1023<<20|y*1048576&1048575)>>>0,_,b+d)}}}a.writeDoubleLE=s.bind(null,e,0,4),a.writeDoubleBE=s.bind(null,t,4,0);function l(f,h,d,m,_){var b=f(m,_+h),w=f(m,_+d),y=(w>>31)*2+1,E=w>>>20&2047,T=4294967296*(w&1048575)+b;return E===2047?T?NaN:y*(1/0):E===0?y*5e-324*T:y*Math.pow(2,E-1075)*(T+4503599627370496)}a.readDoubleLE=l.bind(null,n,0,4),a.readDoubleBE=l.bind(null,o,4,0)}(),a}function e(a,s,l){s[l]=a&255,s[l+1]=a>>>8&255,s[l+2]=a>>>16&255,s[l+3]=a>>>24}function t(a,s,l){s[l]=a>>>24,s[l+1]=a>>>16&255,s[l+2]=a>>>8&255,s[l+3]=a&255}function n(a,s){return(a[s]|a[s+1]<<8|a[s+2]<<16|a[s+3]<<24)>>>0}function o(a,s){return(a[s]<<24|a[s+1]<<16|a[s+2]<<8|a[s+3])>>>0}return float}var inquire_1,hasRequiredInquire;function requireInquire(){if(hasRequiredInquire)return inquire_1;hasRequiredInquire=1,inquire_1=inquire;function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(r){}return null}return inquire_1}var utf8$2={},hasRequiredUtf8;function requireUtf8(){return hasRequiredUtf8||(hasRequiredUtf8=1,function(r){var e=r;e.length=function(n){for(var o=0,a=0,s=0;s191&&d<224?f[h++]=(d&31)<<6|n[o++]&63:d>239&&d<365?(d=((d&7)<<18|(n[o++]&63)<<12|(n[o++]&63)<<6|n[o++]&63)-65536,f[h++]=55296+(d>>10),f[h++]=56320+(d&1023)):f[h++]=(d&15)<<12|(n[o++]&63)<<6|n[o++]&63,h>8191&&((l||(l=[])).push(String.fromCharCode.apply(String,f)),h=0);return l?(h&&l.push(String.fromCharCode.apply(String,f.slice(0,h))),l.join("")):String.fromCharCode.apply(String,f.slice(0,h))},e.write=function(n,o,a){for(var s=a,l,f,h=0;h>6|192,o[a++]=l&63|128):(l&64512)===55296&&((f=n.charCodeAt(h+1))&64512)===56320?(l=65536+((l&1023)<<10)+(f&1023),++h,o[a++]=l>>18|240,o[a++]=l>>12&63|128,o[a++]=l>>6&63|128,o[a++]=l&63|128):(o[a++]=l>>12|224,o[a++]=l>>6&63|128,o[a++]=l&63|128);return a-s}}(utf8$2)),utf8$2}var pool_1,hasRequiredPool;function requirePool(){if(hasRequiredPool)return pool_1;hasRequiredPool=1,pool_1=r;function r(e,t,n){var o=n||8192,a=o>>>1,s=null,l=o;return function(h){if(h<1||h>a)return e(h);l+h>o&&(s=e(o),l=0);var d=t.call(s,l,l+=h);return l&7&&(l=(l|7)+1),d}}return pool_1}var longbits,hasRequiredLongbits;function requireLongbits(){if(hasRequiredLongbits)return longbits;hasRequiredLongbits=1,longbits=e;var r=requireMinimal();function e(a,s){this.lo=a>>>0,this.hi=s>>>0}var t=e.zero=new e(0,0);t.toNumber=function(){return 0},t.zzEncode=t.zzDecode=function(){return this},t.length=function(){return 1};var n=e.zeroHash="\0\0\0\0\0\0\0\0";e.fromNumber=function(s){if(s===0)return t;var l=s<0;l&&(s=-s);var f=s>>>0,h=(s-f)/4294967296>>>0;return l&&(h=~h>>>0,f=~f>>>0,++f>4294967295&&(f=0,++h>4294967295&&(h=0))),new e(f,h)},e.from=function(s){if(typeof s=="number")return e.fromNumber(s);if(r.isString(s))if(r.Long)s=r.Long.fromString(s);else return e.fromNumber(parseInt(s,10));return s.low||s.high?new e(s.low>>>0,s.high>>>0):t},e.prototype.toNumber=function(s){if(!s&&this.hi>>>31){var l=~this.lo+1>>>0,f=~this.hi>>>0;return l||(f=f+1>>>0),-(l+f*4294967296)}return this.lo+this.hi*4294967296},e.prototype.toLong=function(s){return r.Long?new r.Long(this.lo|0,this.hi|0,!!s):{low:this.lo|0,high:this.hi|0,unsigned:!!s}};var o=String.prototype.charCodeAt;return e.fromHash=function(s){return s===n?t:new e((o.call(s,0)|o.call(s,1)<<8|o.call(s,2)<<16|o.call(s,3)<<24)>>>0,(o.call(s,4)|o.call(s,5)<<8|o.call(s,6)<<16|o.call(s,7)<<24)>>>0)},e.prototype.toHash=function(){return String.fromCharCode(this.lo&255,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,this.hi&255,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},e.prototype.zzEncode=function(){var s=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^s)>>>0,this.lo=(this.lo<<1^s)>>>0,this},e.prototype.zzDecode=function(){var s=-(this.lo&1);return this.lo=((this.lo>>>1|this.hi<<31)^s)>>>0,this.hi=(this.hi>>>1^s)>>>0,this},e.prototype.length=function(){var s=this.lo,l=(this.lo>>>28|this.hi<<4)>>>0,f=this.hi>>>24;return f===0?l===0?s<16384?s<128?1:2:s<2097152?3:4:l<16384?l<128?5:6:l<2097152?7:8:f<128?9:10},longbits}var hasRequiredMinimal;function requireMinimal(){return hasRequiredMinimal||(hasRequiredMinimal=1,function(r){var e=r;e.asPromise=requireAspromise(),e.base64=requireBase64(),e.EventEmitter=requireEventemitter(),e.float=requireFloat(),e.inquire=requireInquire(),e.utf8=requireUtf8(),e.pool=requirePool(),e.LongBits=requireLongbits(),e.isNode=!!(typeof commonjsGlobal<"u"&&commonjsGlobal&&commonjsGlobal.process&&commonjsGlobal.process.versions&&commonjsGlobal.process.versions.node),e.global=e.isNode&&commonjsGlobal||typeof window<"u"&&window||typeof self<"u"&&self||commonjsGlobal,e.emptyArray=Object.freeze?Object.freeze([]):[],e.emptyObject=Object.freeze?Object.freeze({}):{},e.isInteger=Number.isInteger||function(a){return typeof a=="number"&&isFinite(a)&&Math.floor(a)===a},e.isString=function(a){return typeof a=="string"||a instanceof String},e.isObject=function(a){return a&&typeof a=="object"},e.isset=e.isSet=function(a,s){var l=a[s];return l!=null&&a.hasOwnProperty(s)?typeof l!="object"||(Array.isArray(l)?l.length:Object.keys(l).length)>0:!1},e.Buffer=function(){try{var o=e.inquire("buffer").Buffer;return o.prototype.utf8Write?o:null}catch{return null}}(),e._Buffer_from=null,e._Buffer_allocUnsafe=null,e.newBuffer=function(a){return typeof a=="number"?e.Buffer?e._Buffer_allocUnsafe(a):new e.Array(a):e.Buffer?e._Buffer_from(a):typeof Uint8Array>"u"?a:new Uint8Array(a)},e.Array=typeof Uint8Array<"u"?Uint8Array:Array,e.Long=e.global.dcodeIO&&e.global.dcodeIO.Long||e.global.Long||e.inquire("long"),e.key2Re=/^true|false|0|1$/,e.key32Re=/^-?(?:0|[1-9][0-9]*)$/,e.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,e.longToHash=function(a){return a?e.LongBits.from(a).toHash():e.LongBits.zeroHash},e.longFromHash=function(a,s){var l=e.LongBits.fromHash(a);return e.Long?e.Long.fromBits(l.lo,l.hi,s):l.toNumber(!!s)};function t(o,a,s){for(var l=Object.keys(a),f=0;f-1;--h)if(s[f[h]]===1&&this[f[h]]!==void 0&&this[f[h]]!==null)return f[h]}},e.oneOfSetter=function(a){return function(s){for(var l=0;l127;)e[t++]=r&127|128,r>>>=7;e[t]=r}function VarintOp(r,e){this.len=r,this.next=void 0,this.val=e}VarintOp.prototype=Object.create(Op.prototype);VarintOp.prototype.fn=writeVarint32;Writer$1.prototype.uint32=function r(e){return this.len+=(this.tail=this.tail.next=new VarintOp((e=e>>>0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this};Writer$1.prototype.int32=function r(e){return e<0?this._push(writeVarint64,10,LongBits$1.fromNumber(e)):this.uint32(e)};Writer$1.prototype.sint32=function r(e){return this.uint32((e<<1^e>>31)>>>0)};function writeVarint64(r,e,t){for(;r.hi;)e[t++]=r.lo&127|128,r.lo=(r.lo>>>7|r.hi<<25)>>>0,r.hi>>>=7;for(;r.lo>127;)e[t++]=r.lo&127|128,r.lo=r.lo>>>7;e[t++]=r.lo}Writer$1.prototype.uint64=function r(e){var t=LongBits$1.from(e);return this._push(writeVarint64,t.length(),t)};Writer$1.prototype.int64=Writer$1.prototype.uint64;Writer$1.prototype.sint64=function r(e){var t=LongBits$1.from(e).zzEncode();return this._push(writeVarint64,t.length(),t)};Writer$1.prototype.bool=function r(e){return this._push(writeByte,1,e?1:0)};function writeFixed32(r,e,t){e[t]=r&255,e[t+1]=r>>>8&255,e[t+2]=r>>>16&255,e[t+3]=r>>>24}Writer$1.prototype.fixed32=function r(e){return this._push(writeFixed32,4,e>>>0)};Writer$1.prototype.sfixed32=Writer$1.prototype.fixed32;Writer$1.prototype.fixed64=function r(e){var t=LongBits$1.from(e);return this._push(writeFixed32,4,t.lo)._push(writeFixed32,4,t.hi)};Writer$1.prototype.sfixed64=Writer$1.prototype.fixed64;Writer$1.prototype.float=function r(e){return this._push(util$4.float.writeFloatLE,4,e)};Writer$1.prototype.double=function r(e){return this._push(util$4.float.writeDoubleLE,8,e)};var writeBytes=util$4.Array.prototype.set?function r(e,t,n){t.set(e,n)}:function r(e,t,n){for(var o=0;o>>0;if(!t)return this._push(writeByte,1,0);if(util$4.isString(e)){var n=Writer$1.alloc(t=base64$2.length(e));base64$2.decode(e,n,0),e=n}return this.uint32(t)._push(writeBytes,t,e)};Writer$1.prototype.string=function r(e){var t=utf8$1.length(e);return t?this.uint32(t)._push(utf8$1.write,t,e):this._push(writeByte,1,0)};Writer$1.prototype.fork=function r(){return this.states=new State(this),this.head=this.tail=new Op(noop,0,0),this.len=0,this};Writer$1.prototype.reset=function r(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new Op(noop,0,0),this.len=0),this};Writer$1.prototype.ldelim=function r(){var e=this.head,t=this.tail,n=this.len;return this.reset().uint32(n),n&&(this.tail.next=e.next,this.tail=t,this.len+=n),this};Writer$1.prototype.finish=function r(){for(var e=this.head.next,t=this.constructor.alloc(this.len),n=0;e;)e.fn(e.val,t,n),n+=e.len,e=e.next;return t};Writer$1._configure=function(r){BufferWriter$1=r,Writer$1.create=create$2(),BufferWriter$1._configure()};var writer_buffer=BufferWriter,Writer=writer;(BufferWriter.prototype=Object.create(Writer.prototype)).constructor=BufferWriter;var util$3=requireMinimal();function BufferWriter(){Writer.call(this)}BufferWriter._configure=function(){BufferWriter.alloc=util$3._Buffer_allocUnsafe,BufferWriter.writeBytesBuffer=util$3.Buffer&&util$3.Buffer.prototype instanceof Uint8Array&&util$3.Buffer.prototype.set.name==="set"?function(e,t,n){t.set(e,n)}:function(e,t,n){if(e.copy)e.copy(t,n,0,e.length);else for(var o=0;o>>0;return this.uint32(t),t&&this._push(BufferWriter.writeBytesBuffer,t,e),this};function writeStringBuffer(r,e,t){r.length<40?util$3.utf8.write(r,e,t):e.utf8Write?e.utf8Write(r,t):e.write(r,t)}BufferWriter.prototype.string=function r(e){var t=util$3.Buffer.byteLength(e);return this.uint32(t),t&&this._push(writeStringBuffer,t,e),this};BufferWriter._configure();var reader=Reader$1,util$2=requireMinimal(),BufferReader$1,LongBits=util$2.LongBits,utf8=util$2.utf8;function indexOutOfRange(r,e){return RangeError("index out of range: "+r.pos+" + "+(e||1)+" > "+r.len)}function Reader$1(r){this.buf=r,this.pos=0,this.len=r.length}var create_array=typeof Uint8Array<"u"?function r(e){if(e instanceof Uint8Array||Array.isArray(e))return new Reader$1(e);throw Error("illegal buffer")}:function r(e){if(Array.isArray(e))return new Reader$1(e);throw Error("illegal buffer")},create$1=function r(){return util$2.Buffer?function(t){return(Reader$1.create=function(o){return util$2.Buffer.isBuffer(o)?new BufferReader$1(o):create_array(o)})(t)}:create_array};Reader$1.create=create$1();Reader$1.prototype._slice=util$2.Array.prototype.subarray||util$2.Array.prototype.slice;Reader$1.prototype.uint32=function r(){var e=4294967295;return function(){if(e=(this.buf[this.pos]&127)>>>0,this.buf[this.pos++]<128||(e=(e|(this.buf[this.pos]&127)<<7)>>>0,this.buf[this.pos++]<128)||(e=(e|(this.buf[this.pos]&127)<<14)>>>0,this.buf[this.pos++]<128)||(e=(e|(this.buf[this.pos]&127)<<21)>>>0,this.buf[this.pos++]<128)||(e=(e|(this.buf[this.pos]&15)<<28)>>>0,this.buf[this.pos++]<128))return e;if((this.pos+=5)>this.len)throw this.pos=this.len,indexOutOfRange(this,10);return e}}();Reader$1.prototype.int32=function r(){return this.uint32()|0};Reader$1.prototype.sint32=function r(){var e=this.uint32();return e>>>1^-(e&1)|0};function readLongVarint(){var r=new LongBits(0,0),e=0;if(this.len-this.pos>4){for(;e<4;++e)if(r.lo=(r.lo|(this.buf[this.pos]&127)<>>0,this.buf[this.pos++]<128)return r;if(r.lo=(r.lo|(this.buf[this.pos]&127)<<28)>>>0,r.hi=(r.hi|(this.buf[this.pos]&127)>>4)>>>0,this.buf[this.pos++]<128)return r;e=0}else{for(;e<3;++e){if(this.pos>=this.len)throw indexOutOfRange(this);if(r.lo=(r.lo|(this.buf[this.pos]&127)<>>0,this.buf[this.pos++]<128)return r}return r.lo=(r.lo|(this.buf[this.pos++]&127)<>>0,r}if(this.len-this.pos>4){for(;e<5;++e)if(r.hi=(r.hi|(this.buf[this.pos]&127)<>>0,this.buf[this.pos++]<128)return r}else for(;e<5;++e){if(this.pos>=this.len)throw indexOutOfRange(this);if(r.hi=(r.hi|(this.buf[this.pos]&127)<>>0,this.buf[this.pos++]<128)return r}throw Error("invalid varint encoding")}Reader$1.prototype.bool=function r(){return this.uint32()!==0};function readFixed32_end(r,e){return(r[e-4]|r[e-3]<<8|r[e-2]<<16|r[e-1]<<24)>>>0}Reader$1.prototype.fixed32=function r(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);return readFixed32_end(this.buf,this.pos+=4)};Reader$1.prototype.sfixed32=function r(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);return readFixed32_end(this.buf,this.pos+=4)|0};function readFixed64(){if(this.pos+8>this.len)throw indexOutOfRange(this,8);return new LongBits(readFixed32_end(this.buf,this.pos+=4),readFixed32_end(this.buf,this.pos+=4))}Reader$1.prototype.float=function r(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);var e=util$2.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e};Reader$1.prototype.double=function r(){if(this.pos+8>this.len)throw indexOutOfRange(this,4);var e=util$2.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e};Reader$1.prototype.bytes=function r(){var e=this.uint32(),t=this.pos,n=this.pos+e;if(n>this.len)throw indexOutOfRange(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(t,n):t===n?new this.buf.constructor(0):this._slice.call(this.buf,t,n)};Reader$1.prototype.string=function r(){var e=this.bytes();return utf8.read(e,0,e.length)};Reader$1.prototype.skip=function r(e){if(typeof e=="number"){if(this.pos+e>this.len)throw indexOutOfRange(this,e);this.pos+=e}else do if(this.pos>=this.len)throw indexOutOfRange(this);while(this.buf[this.pos++]&128);return this};Reader$1.prototype.skipType=function(r){switch(r){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;(r=this.uint32()&7)!==4;)this.skipType(r);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+r+" at offset "+this.pos)}return this};Reader$1._configure=function(r){BufferReader$1=r,Reader$1.create=create$1(),BufferReader$1._configure();var e=util$2.Long?"toLong":"toNumber";util$2.merge(Reader$1.prototype,{int64:function(){return readLongVarint.call(this)[e](!1)},uint64:function(){return readLongVarint.call(this)[e](!0)},sint64:function(){return readLongVarint.call(this).zzDecode()[e](!1)},fixed64:function(){return readFixed64.call(this)[e](!0)},sfixed64:function(){return readFixed64.call(this)[e](!1)}})};var reader_buffer=BufferReader,Reader=reader;(BufferReader.prototype=Object.create(Reader.prototype)).constructor=BufferReader;var util$1=requireMinimal();function BufferReader(r){Reader.call(this,r)}BufferReader._configure=function(){util$1.Buffer&&(BufferReader.prototype._slice=util$1.Buffer.prototype.slice)};BufferReader.prototype.string=function r(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))};BufferReader._configure();var rpc={},service=Service,util=requireMinimal();(Service.prototype=Object.create(util.EventEmitter.prototype)).constructor=Service;function Service(r,e,t){if(typeof r!="function")throw TypeError("rpcImpl must be a function");util.EventEmitter.call(this),this.rpcImpl=r,this.requestDelimited=!!e,this.responseDelimited=!!t}Service.prototype.rpcCall=function r(e,t,n,o,a){if(!o)throw TypeError("request must be specified");var s=this;if(!a)return util.asPromise(r,s,e,t,n,o);if(!s.rpcImpl){setTimeout(function(){a(Error("already ended"))},0);return}try{return s.rpcImpl(e,t[s.requestDelimited?"encodeDelimited":"encode"](o).finish(),function(f,h){if(f)return s.emit("error",f,e),a(f);if(h===null){s.end(!0);return}if(!(h instanceof n))try{h=n[s.responseDelimited?"decodeDelimited":"decode"](h)}catch(d){return s.emit("error",d,e),a(d)}return s.emit("data",h,e),a(null,h)})}catch(l){s.emit("error",l,e),setTimeout(function(){a(l)},0);return}};Service.prototype.end=function r(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this};(function(r){var e=r;e.Service=service})(rpc);var roots={};(function(r){var e=r;e.build="minimal",e.Writer=writer,e.BufferWriter=writer_buffer,e.Reader=reader,e.BufferReader=reader_buffer,e.util=requireMinimal(),e.rpc=rpc,e.roots=roots,e.configure=t;function t(){e.util._configure(),e.Writer._configure(e.BufferWriter),e.Reader._configure(e.BufferReader)}t()})(indexMinimal);var minimal=indexMinimal;const $protobuf=getDefaultExportFromCjs(minimal),$Reader=$protobuf.Reader,$Writer=$protobuf.Writer,$util=$protobuf.util,$root=$protobuf.roots["ipfs-unixfs"]||($protobuf.roots["ipfs-unixfs"]={}),Data=$root.Data=(()=>{function r(e){if(this.blocksizes=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:a.Type=t.int32();break;case 2:a.Data=t.bytes();break;case 3:a.filesize=t.uint64();break;case 4:if(a.blocksizes&&a.blocksizes.length||(a.blocksizes=[]),(s&7)===2)for(var l=t.uint32()+t.pos;t.pos>>0,t.filesize.high>>>0).toNumber(!0))),t.blocksizes){if(!Array.isArray(t.blocksizes))throw TypeError(".Data.blocksizes: array expected");n.blocksizes=[];for(var o=0;o>>0,t.blocksizes[o].high>>>0).toNumber(!0))}if(t.hashType!=null&&($util.Long?(n.hashType=$util.Long.fromValue(t.hashType)).unsigned=!0:typeof t.hashType=="string"?n.hashType=parseInt(t.hashType,10):typeof t.hashType=="number"?n.hashType=t.hashType:typeof t.hashType=="object"&&(n.hashType=new $util.LongBits(t.hashType.low>>>0,t.hashType.high>>>0).toNumber(!0))),t.fanout!=null&&($util.Long?(n.fanout=$util.Long.fromValue(t.fanout)).unsigned=!0:typeof t.fanout=="string"?n.fanout=parseInt(t.fanout,10):typeof t.fanout=="number"?n.fanout=t.fanout:typeof t.fanout=="object"&&(n.fanout=new $util.LongBits(t.fanout.low>>>0,t.fanout.high>>>0).toNumber(!0))),t.mode!=null&&(n.mode=t.mode>>>0),t.mtime!=null){if(typeof t.mtime!="object")throw TypeError(".Data.mtime: object expected");n.mtime=$root.UnixTime.fromObject(t.mtime)}return n},r.toObject=function(t,n){n||(n={});var o={};if((n.arrays||n.defaults)&&(o.blocksizes=[]),n.defaults){if(o.Type=n.enums===String?"Raw":0,n.bytes===String?o.Data="":(o.Data=[],n.bytes!==Array&&(o.Data=$util.newBuffer(o.Data))),$util.Long){var a=new $util.Long(0,0,!0);o.filesize=n.longs===String?a.toString():n.longs===Number?a.toNumber():a}else o.filesize=n.longs===String?"0":0;if($util.Long){var a=new $util.Long(0,0,!0);o.hashType=n.longs===String?a.toString():n.longs===Number?a.toNumber():a}else o.hashType=n.longs===String?"0":0;if($util.Long){var a=new $util.Long(0,0,!0);o.fanout=n.longs===String?a.toString():n.longs===Number?a.toNumber():a}else o.fanout=n.longs===String?"0":0;o.mode=0,o.mtime=null}if(t.Type!=null&&t.hasOwnProperty("Type")&&(o.Type=n.enums===String?$root.Data.DataType[t.Type]:t.Type),t.Data!=null&&t.hasOwnProperty("Data")&&(o.Data=n.bytes===String?$util.base64.encode(t.Data,0,t.Data.length):n.bytes===Array?Array.prototype.slice.call(t.Data):t.Data),t.filesize!=null&&t.hasOwnProperty("filesize")&&(typeof t.filesize=="number"?o.filesize=n.longs===String?String(t.filesize):t.filesize:o.filesize=n.longs===String?$util.Long.prototype.toString.call(t.filesize):n.longs===Number?new $util.LongBits(t.filesize.low>>>0,t.filesize.high>>>0).toNumber(!0):t.filesize),t.blocksizes&&t.blocksizes.length){o.blocksizes=[];for(var s=0;s>>0,t.blocksizes[s].high>>>0).toNumber(!0):t.blocksizes[s]}return t.hashType!=null&&t.hasOwnProperty("hashType")&&(typeof t.hashType=="number"?o.hashType=n.longs===String?String(t.hashType):t.hashType:o.hashType=n.longs===String?$util.Long.prototype.toString.call(t.hashType):n.longs===Number?new $util.LongBits(t.hashType.low>>>0,t.hashType.high>>>0).toNumber(!0):t.hashType),t.fanout!=null&&t.hasOwnProperty("fanout")&&(typeof t.fanout=="number"?o.fanout=n.longs===String?String(t.fanout):t.fanout:o.fanout=n.longs===String?$util.Long.prototype.toString.call(t.fanout):n.longs===Number?new $util.LongBits(t.fanout.low>>>0,t.fanout.high>>>0).toNumber(!0):t.fanout),t.mode!=null&&t.hasOwnProperty("mode")&&(o.mode=t.mode),t.mtime!=null&&t.hasOwnProperty("mtime")&&(o.mtime=$root.UnixTime.toObject(t.mtime,n)),o},r.prototype.toJSON=function(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},r.DataType=function(){const e={},t=Object.create(e);return t[e[0]="Raw"]=0,t[e[1]="Directory"]=1,t[e[2]="File"]=2,t[e[3]="Metadata"]=3,t[e[4]="Symlink"]=4,t[e[5]="HAMTShard"]=5,t}(),r})();$root.UnixTime=(()=>{function r(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:a.Seconds=t.int64();break;case 2:a.FractionalNanoseconds=t.fixed32();break;default:t.skipType(s&7);break}}if(!a.hasOwnProperty("Seconds"))throw $util.ProtocolError("missing required 'Seconds'",{instance:a});return a},r.fromObject=function(t){if(t instanceof $root.UnixTime)return t;var n=new $root.UnixTime;return t.Seconds!=null&&($util.Long?(n.Seconds=$util.Long.fromValue(t.Seconds)).unsigned=!1:typeof t.Seconds=="string"?n.Seconds=parseInt(t.Seconds,10):typeof t.Seconds=="number"?n.Seconds=t.Seconds:typeof t.Seconds=="object"&&(n.Seconds=new $util.LongBits(t.Seconds.low>>>0,t.Seconds.high>>>0).toNumber())),t.FractionalNanoseconds!=null&&(n.FractionalNanoseconds=t.FractionalNanoseconds>>>0),n},r.toObject=function(t,n){n||(n={});var o={};if(n.defaults){if($util.Long){var a=new $util.Long(0,0,!1);o.Seconds=n.longs===String?a.toString():n.longs===Number?a.toNumber():a}else o.Seconds=n.longs===String?"0":0;o.FractionalNanoseconds=0}return t.Seconds!=null&&t.hasOwnProperty("Seconds")&&(typeof t.Seconds=="number"?o.Seconds=n.longs===String?String(t.Seconds):t.Seconds:o.Seconds=n.longs===String?$util.Long.prototype.toString.call(t.Seconds):n.longs===Number?new $util.LongBits(t.Seconds.low>>>0,t.Seconds.high>>>0).toNumber():t.Seconds),t.FractionalNanoseconds!=null&&t.hasOwnProperty("FractionalNanoseconds")&&(o.FractionalNanoseconds=t.FractionalNanoseconds),o},r.prototype.toJSON=function(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},r})();$root.Metadata=(()=>{function r(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:a.MimeType=t.string();break;default:t.skipType(s&7);break}}return a},r.fromObject=function(t){if(t instanceof $root.Metadata)return t;var n=new $root.Metadata;return t.MimeType!=null&&(n.MimeType=String(t.MimeType)),n},r.toObject=function(t,n){n||(n={});var o={};return n.defaults&&(o.MimeType=""),t.MimeType!=null&&t.hasOwnProperty("MimeType")&&(o.MimeType=t.MimeType),o},r.prototype.toJSON=function(){return this.constructor.toObject(this,$protobuf.util.toJSONOptions)},r})();const PBData=Data,types=["raw","directory","file","metadata","symlink","hamt-sharded-directory"],dirTypes=["directory","hamt-sharded-directory"],DEFAULT_FILE_MODE=parseInt("0644",8),DEFAULT_DIRECTORY_MODE=parseInt("0755",8);function parseMode(r){if(r!=null)return typeof r=="number"?r&4095:(r=r.toString(),r.substring(0,1)==="0"?parseInt(r,8)&4095:parseInt(r,10)&4095)}function parseMtime(r){if(r==null)return;let e;if(r.secs!=null&&(e={secs:r.secs,nsecs:r.nsecs}),r.Seconds!=null&&(e={secs:r.Seconds,nsecs:r.FractionalNanoseconds}),Array.isArray(r)&&(e={secs:r[0],nsecs:r[1]}),r instanceof Date){const t=r.getTime(),n=Math.floor(t/1e3);e={secs:n,nsecs:(t-n*1e3)*1e3}}if(Object.prototype.hasOwnProperty.call(e,"secs")){if(e!=null&&e.nsecs!=null&&(e.nsecs<0||e.nsecs>999999999))throw errCode$1(new Error("mtime-nsecs must be within the range [0,999999999]"),"ERR_INVALID_MTIME_NSECS");return e}}class UnixFS{static unmarshal(e){const t=PBData.decode(e),n=PBData.toObject(t,{defaults:!1,arrays:!0,longs:Number,objects:!1}),o=new UnixFS({type:types[n.Type],data:n.Data,blockSizes:n.blocksizes,mode:n.mode,mtime:n.mtime?{secs:n.mtime.Seconds,nsecs:n.mtime.FractionalNanoseconds}:void 0});return o._originalMode=n.mode||0,o}constructor(e={type:"file"}){const{type:t,data:n,blockSizes:o,hashType:a,fanout:s,mtime:l,mode:f}=e;if(t&&!types.includes(t))throw errCode$1(new Error("Type: "+t+" is not valid"),"ERR_INVALID_TYPE");this.type=t||"file",this.data=n,this.hashType=a,this.fanout=s,this.blockSizes=o||[],this._originalMode=0,this.mode=parseMode(f),l&&(this.mtime=parseMtime(l),this.mtime&&!this.mtime.nsecs&&(this.mtime.nsecs=0))}set mode(e){this._mode=this.isDirectory()?DEFAULT_DIRECTORY_MODE:DEFAULT_FILE_MODE;const t=parseMode(e);t!==void 0&&(this._mode=t)}get mode(){return this._mode}isDirectory(){return!!(this.type&&dirTypes.includes(this.type))}addBlockSize(e){this.blockSizes.push(e)}removeBlockSize(e){this.blockSizes.splice(e,1)}fileSize(){if(this.isDirectory())return 0;let e=0;return this.blockSizes.forEach(t=>{e+=t}),this.data&&(e+=this.data.length),e}marshal(){let e;switch(this.type){case"raw":e=PBData.DataType.Raw;break;case"directory":e=PBData.DataType.Directory;break;case"file":e=PBData.DataType.File;break;case"metadata":e=PBData.DataType.Metadata;break;case"symlink":e=PBData.DataType.Symlink;break;case"hamt-sharded-directory":e=PBData.DataType.HAMTShard;break;default:throw errCode$1(new Error("Type: "+e+" is not valid"),"ERR_INVALID_TYPE")}let t=this.data;(!this.data||!this.data.length)&&(t=void 0);let n;this.mode!=null&&(n=this._originalMode&4294963200|(parseMode(this.mode)||0),n===DEFAULT_FILE_MODE&&!this.isDirectory()&&(n=void 0),n===DEFAULT_DIRECTORY_MODE&&this.isDirectory()&&(n=void 0));let o;if(this.mtime!=null){const s=parseMtime(this.mtime);s&&(o={Seconds:s.secs,FractionalNanoseconds:s.nsecs},o.FractionalNanoseconds===0&&delete o.FractionalNanoseconds)}const a={Type:e,Data:t,filesize:this.isDirectory()?void 0:this.fileSize(),blocksizes:this.blockSizes,hashType:this.hashType,fanout:this.fanout,mode:n,mtime:o};return PBData.encode(a).finish()}}const persist=async(r,e,t)=>{t.codec||(t.codec=dagPb),t.hasher||(t.hasher=sha256),t.cidVersion===void 0&&(t.cidVersion=1),t.codec===dagPb&&t.hasher!==sha256&&(t.cidVersion=1);const n=await t.hasher.digest(r),o=CID.create(t.cidVersion,t.codec.code,n);return t.onlyHash||await e.put(o,r,{signal:t.signal}),o},dirBuilder=async(r,e,t)=>{const n=new UnixFS({type:"directory",mtime:r.mtime,mode:r.mode}),o=encode$1(prepare({Data:n.marshal()})),a=await persist(o,e,t),s=r.path;return{cid:a,path:s,unixfs:n,size:o.length}},all=async r=>{const e=[];for await(const t of r)e.push(t);return e};var itAll=all;const all$1=getDefaultExportFromCjs(itAll);async function flat(r,e){return e(await all$1(r))}function balanced(r,e,t){return reduceToParents(r,e,t)}async function reduceToParents(r,e,t){const n=[];for await(const o of batch$2(r,t.maxChildrenPerNode))n.push(await e(o));return n.length>1?reduceToParents(n,e,t):n[0]}async function trickleStream(r,e,t){const n=new Root(t.layerRepeat);let o=0,a=1,s=n;for await(const l of batch$2(r,t.maxChildrenPerNode))s.isFull()&&(s!==n&&n.addChild(await s.reduce(e)),o&&o%t.layerRepeat===0&&a++,s=new SubTree(a,t.layerRepeat,o),o++),s.append(l);return s&&s!==n&&n.addChild(await s.reduce(e)),n.reduce(e)}class SubTree{constructor(e,t,n=0){this.maxDepth=e,this.layerRepeat=t,this.currentDepth=1,this.iteration=n,this.root=this.node=this.parent={children:[],depth:this.currentDepth,maxDepth:e,maxChildren:(this.maxDepth-this.currentDepth)*this.layerRepeat}}isFull(){if(!this.root.data)return!1;if(this.currentDeptho.data).map(o=>this._reduce(o,t)))),t((e.data||[]).concat(n))}_findParent(e,t){const n=e.parent;if(!(!n||n.depth===0))return n.children.length===n.maxChildren||!n.maxChildren?this._findParent(n,t):n}}class Root extends SubTree{constructor(e){super(0,e),this.root.depth=0,this.currentDepth=1}addChild(e){this.root.children.push(e)}reduce(e){return e((this.root.data||[]).concat(this.root.children))}}async function*bufferImporter(r,e,t){for await(let n of r.content)yield async()=>{t.progress(n.length,r.path);let o;const a={codec:dagPb,cidVersion:t.cidVersion,hasher:t.hasher,onlyHash:t.onlyHash};return t.rawLeaves?(a.codec=raw,a.cidVersion=1):(o=new UnixFS({type:t.leafType,data:n}),n=encode$1({Data:o.marshal(),Links:[]})),{cid:await persist(n,e,a),unixfs:o,size:n.length}}}const dagBuilders={flat,balanced,trickle:trickleStream};async function*buildFileBatch(r,e,t){let n=-1,o,a;typeof t.bufferImporter=="function"?a=t.bufferImporter:a=bufferImporter;for await(const s of parallelBatch$1(a(r,e,t),t.blockWriteConcurrency)){if(n++,n===0){o=s;continue}else n===1&&o&&(yield o,o=null);yield s}o&&(o.single=!0,yield o)}const reduce=(r,e,t)=>{async function n(o){if(o.length===1&&o[0].single&&t.reduceSingleLeafToSelf){const d=o[0];if(r.mtime!==void 0||r.mode!==void 0){let m=await e.get(d.cid);d.unixfs=new UnixFS({type:"file",mtime:r.mtime,mode:r.mode,data:m}),m=encode$1(prepare({Data:d.unixfs.marshal()})),d.cid=await persist(m,e,{...t,codec:dagPb,hasher:t.hasher,cidVersion:t.cidVersion}),d.size=m.length}return{cid:d.cid,path:r.path,unixfs:d.unixfs,size:d.size}}const a=new UnixFS({type:"file",mtime:r.mtime,mode:r.mode}),s=o.filter(d=>d.cid.code===code$3&&d.size||d.unixfs&&!d.unixfs.data&&d.unixfs.fileSize()?!0:!!(d.unixfs&&d.unixfs.data&&d.unixfs.data.length)).map(d=>d.cid.code===code$3?(a.addBlockSize(d.size),{Name:"",Tsize:d.size,Hash:d.cid}):(!d.unixfs||!d.unixfs.data?a.addBlockSize(d.unixfs&&d.unixfs.fileSize()||0):a.addBlockSize(d.unixfs.data.length),{Name:"",Tsize:d.size,Hash:d.cid})),l={Data:a.marshal(),Links:s},f=encode$1(prepare(l));return{cid:await persist(f,e,t),path:r.path,unixfs:a,size:f.length+l.Links.reduce((d,m)=>d+m.Tsize,0)}}return n};function fileBuilder(r,e,t){const n=dagBuilders[t.strategy];if(!n)throw errCode$1(new Error(`Unknown importer build strategy name: ${t.strategy}`),"ERR_BAD_STRATEGY");return n(buildFileBatch(r,e,t),reduce(r,e,t),t)}var buffer={},base64Js={};base64Js.byteLength=byteLength;base64Js.toByteArray=toByteArray;base64Js.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var i=0,len=code.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}function byteLength(r){var e=getLens(r),t=e[0],n=e[1];return(t+n)*3/4-n}function _byteLength(r,e,t){return(e+t)*3/4-t}function toByteArray(r){var e,t=getLens(r),n=t[0],o=t[1],a=new Arr(_byteLength(r,n,o)),s=0,l=o>0?n-4:n,f;for(f=0;f>16&255,a[s++]=e>>8&255,a[s++]=e&255;return o===2&&(e=revLookup[r.charCodeAt(f)]<<2|revLookup[r.charCodeAt(f+1)]>>4,a[s++]=e&255),o===1&&(e=revLookup[r.charCodeAt(f)]<<10|revLookup[r.charCodeAt(f+1)]<<4|revLookup[r.charCodeAt(f+2)]>>2,a[s++]=e>>8&255,a[s++]=e&255),a}function tripletToBase64(r){return lookup[r>>18&63]+lookup[r>>12&63]+lookup[r>>6&63]+lookup[r&63]}function encodeChunk(r,e,t){for(var n,o=[],a=e;al?l:s+a));return n===1?(e=r[t-1],o.push(lookup[e>>2]+lookup[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],o.push(lookup[e>>10]+lookup[e>>4&63]+lookup[e<<2&63]+"=")),o.join("")}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ieee754.read=function(r,e,t,n,o){var a,s,l=o*8-n-1,f=(1<>1,d=-7,m=t?o-1:0,_=t?-1:1,b=r[e+m];for(m+=_,a=b&(1<<-d)-1,b>>=-d,d+=l;d>0;a=a*256+r[e+m],m+=_,d-=8);for(s=a&(1<<-d)-1,a>>=-d,d+=n;d>0;s=s*256+r[e+m],m+=_,d-=8);if(a===0)a=1-h;else{if(a===f)return s?NaN:(b?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-h}return(b?-1:1)*s*Math.pow(2,a-n)};ieee754.write=function(r,e,t,n,o,a){var s,l,f,h=a*8-o-1,d=(1<>1,_=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:a-1,w=n?1:-1,y=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,s=d):(s=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-s))<1&&(s--,f*=2),s+m>=1?e+=_/f:e+=_*Math.pow(2,1-m),e*f>=2&&(s++,f/=2),s+m>=d?(l=0,s=d):s+m>=1?(l=(e*f-1)*Math.pow(2,o),s=s+m):(l=e*Math.pow(2,m-1)*Math.pow(2,o),s=0));o>=8;r[t+b]=l&255,b+=w,l/=256,o-=8);for(s=s<0;r[t+b]=s&255,b+=w,s/=256,h-=8);r[t+b-w]|=y*128};/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */(function(r){const e=base64Js,t=ieee754,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=l,r.SlowBuffer=N,r.INSPECT_MAX_BYTES=50;const o=2147483647;r.kMaxLength=o,l.TYPED_ARRAY_SUPPORT=a(),!l.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{const p=new Uint8Array(1),c={foo:function(){return 42}};return Object.setPrototypeOf(c,Uint8Array.prototype),Object.setPrototypeOf(p,c),p.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function s(p){if(p>o)throw new RangeError('The value "'+p+'" is invalid for option "size"');const c=new Uint8Array(p);return Object.setPrototypeOf(c,l.prototype),c}function l(p,c,u){if(typeof p=="number"){if(typeof c=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return m(p)}return f(p,c,u)}l.poolSize=8192;function f(p,c,u){if(typeof p=="string")return _(p,c);if(ArrayBuffer.isView(p))return w(p);if(p==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof p);if(ie(p,ArrayBuffer)||p&&ie(p.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ie(p,SharedArrayBuffer)||p&&ie(p.buffer,SharedArrayBuffer)))return y(p,c,u);if(typeof p=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const g=p.valueOf&&p.valueOf();if(g!=null&&g!==p)return l.from(g,c,u);const v=E(p);if(v)return v;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof p[Symbol.toPrimitive]=="function")return l.from(p[Symbol.toPrimitive]("string"),c,u);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof p)}l.from=function(p,c,u){return f(p,c,u)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function h(p){if(typeof p!="number")throw new TypeError('"size" argument must be of type number');if(p<0)throw new RangeError('The value "'+p+'" is invalid for option "size"')}function d(p,c,u){return h(p),p<=0?s(p):c!==void 0?typeof u=="string"?s(p).fill(c,u):s(p).fill(c):s(p)}l.alloc=function(p,c,u){return d(p,c,u)};function m(p){return h(p),s(p<0?0:T(p)|0)}l.allocUnsafe=function(p){return m(p)},l.allocUnsafeSlow=function(p){return m(p)};function _(p,c){if((typeof c!="string"||c==="")&&(c="utf8"),!l.isEncoding(c))throw new TypeError("Unknown encoding: "+c);const u=D(p,c)|0;let g=s(u);const v=g.write(p,c);return v!==u&&(g=g.slice(0,v)),g}function b(p){const c=p.length<0?0:T(p.length)|0,u=s(c);for(let g=0;g=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return p|0}function N(p){return+p!=p&&(p=0),l.alloc(+p)}l.isBuffer=function(c){return c!=null&&c._isBuffer===!0&&c!==l.prototype},l.compare=function(c,u){if(ie(c,Uint8Array)&&(c=l.from(c,c.offset,c.byteLength)),ie(u,Uint8Array)&&(u=l.from(u,u.offset,u.byteLength)),!l.isBuffer(c)||!l.isBuffer(u))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(c===u)return 0;let g=c.length,v=u.length;for(let k=0,B=Math.min(g,v);kv.length?(l.isBuffer(B)||(B=l.from(B)),B.copy(v,k)):Uint8Array.prototype.set.call(v,B,k);else if(l.isBuffer(B))B.copy(v,k);else throw new TypeError('"list" argument must be an Array of Buffers');k+=B.length}return v};function D(p,c){if(l.isBuffer(p))return p.length;if(ArrayBuffer.isView(p)||ie(p,ArrayBuffer))return p.byteLength;if(typeof p!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof p);const u=p.length,g=arguments.length>2&&arguments[2]===!0;if(!g&&u===0)return 0;let v=!1;for(;;)switch(c){case"ascii":case"latin1":case"binary":return u;case"utf8":case"utf-8":return ae(p).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return u*2;case"hex":return u>>>1;case"base64":return W(p).length;default:if(v)return g?-1:ae(p).length;c=(""+c).toLowerCase(),v=!0}}l.byteLength=D;function C(p,c,u){let g=!1;if((c===void 0||c<0)&&(c=0),c>this.length||((u===void 0||u>this.length)&&(u=this.length),u<=0)||(u>>>=0,c>>>=0,u<=c))return"";for(p||(p="utf8");;)switch(p){case"hex":return he(this,c,u);case"utf8":case"utf-8":return ee(this,c,u);case"ascii":return fe(this,c,u);case"latin1":case"binary":return Ve(this,c,u);case"base64":return Y(this,c,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return We(this,c,u);default:if(g)throw new TypeError("Unknown encoding: "+p);p=(p+"").toLowerCase(),g=!0}}l.prototype._isBuffer=!0;function A(p,c,u){const g=p[c];p[c]=p[u],p[u]=g}l.prototype.swap16=function(){const c=this.length;if(c%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let u=0;uu&&(c+=" ... "),""},n&&(l.prototype[n]=l.prototype.inspect),l.prototype.compare=function(c,u,g,v,k){if(ie(c,Uint8Array)&&(c=l.from(c,c.offset,c.byteLength)),!l.isBuffer(c))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof c);if(u===void 0&&(u=0),g===void 0&&(g=c?c.length:0),v===void 0&&(v=0),k===void 0&&(k=this.length),u<0||g>c.length||v<0||k>this.length)throw new RangeError("out of range index");if(v>=k&&u>=g)return 0;if(v>=k)return-1;if(u>=g)return 1;if(u>>>=0,g>>>=0,v>>>=0,k>>>=0,this===c)return 0;let B=k-v,U=g-u;const j=Math.min(B,U),V=this.slice(v,k),z=c.slice(u,g);for(let H=0;H2147483647?u=2147483647:u<-2147483648&&(u=-2147483648),u=+u,se(u)&&(u=v?0:p.length-1),u<0&&(u=p.length+u),u>=p.length){if(v)return-1;u=p.length-1}else if(u<0)if(v)u=0;else return-1;if(typeof c=="string"&&(c=l.from(c,g)),l.isBuffer(c))return c.length===0?-1:I(p,c,u,g,v);if(typeof c=="number")return c=c&255,typeof Uint8Array.prototype.indexOf=="function"?v?Uint8Array.prototype.indexOf.call(p,c,u):Uint8Array.prototype.lastIndexOf.call(p,c,u):I(p,[c],u,g,v);throw new TypeError("val must be string, number or Buffer")}function I(p,c,u,g,v){let k=1,B=p.length,U=c.length;if(g!==void 0&&(g=String(g).toLowerCase(),g==="ucs2"||g==="ucs-2"||g==="utf16le"||g==="utf-16le")){if(p.length<2||c.length<2)return-1;k=2,B/=2,U/=2,u/=2}function j(z,H){return k===1?z[H]:z.readUInt16BE(H*k)}let V;if(v){let z=-1;for(V=u;VB&&(u=B-U),V=u;V>=0;V--){let z=!0;for(let H=0;Hv&&(g=v)):g=v;const k=c.length;g>k/2&&(g=k/2);let B;for(B=0;B>>0,isFinite(g)?(g=g>>>0,v===void 0&&(v="utf8")):(v=g,g=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const k=this.length-u;if((g===void 0||g>k)&&(g=k),c.length>0&&(g<0||u<0)||u>this.length)throw new RangeError("Attempt to write outside buffer bounds");v||(v="utf8");let B=!1;for(;;)switch(v){case"hex":return L(this,c,u,g);case"utf8":case"utf-8":return x(this,c,u,g);case"ascii":case"latin1":case"binary":return R(this,c,u,g);case"base64":return M(this,c,u,g);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return K(this,c,u,g);default:if(B)throw new TypeError("Unknown encoding: "+v);v=(""+v).toLowerCase(),B=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Y(p,c,u){return c===0&&u===p.length?e.fromByteArray(p):e.fromByteArray(p.slice(c,u))}function ee(p,c,u){u=Math.min(p.length,u);const g=[];let v=c;for(;v239?4:k>223?3:k>191?2:1;if(v+U<=u){let j,V,z,H;switch(U){case 1:k<128&&(B=k);break;case 2:j=p[v+1],(j&192)===128&&(H=(k&31)<<6|j&63,H>127&&(B=H));break;case 3:j=p[v+1],V=p[v+2],(j&192)===128&&(V&192)===128&&(H=(k&15)<<12|(j&63)<<6|V&63,H>2047&&(H<55296||H>57343)&&(B=H));break;case 4:j=p[v+1],V=p[v+2],z=p[v+3],(j&192)===128&&(V&192)===128&&(z&192)===128&&(H=(k&15)<<18|(j&63)<<12|(V&63)<<6|z&63,H>65535&&H<1114112&&(B=H))}}B===null?(B=65533,U=1):B>65535&&(B-=65536,g.push(B>>>10&1023|55296),B=56320|B&1023),g.push(B),v+=U}return He(g)}const F=4096;function He(p){const c=p.length;if(c<=F)return String.fromCharCode.apply(String,p);let u="",g=0;for(;gg)&&(u=g);let v="";for(let k=c;kg&&(c=g),u<0?(u+=g,u<0&&(u=0)):u>g&&(u=g),uu)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(c,u,g){c=c>>>0,u=u>>>0,g||G(c,u,this.length);let v=this[c],k=1,B=0;for(;++B>>0,u=u>>>0,g||G(c,u,this.length);let v=this[c+--u],k=1;for(;u>0&&(k*=256);)v+=this[c+--u]*k;return v},l.prototype.readUint8=l.prototype.readUInt8=function(c,u){return c=c>>>0,u||G(c,1,this.length),this[c]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(c,u){return c=c>>>0,u||G(c,2,this.length),this[c]|this[c+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(c,u){return c=c>>>0,u||G(c,2,this.length),this[c]<<8|this[c+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(c,u){return c=c>>>0,u||G(c,4,this.length),(this[c]|this[c+1]<<8|this[c+2]<<16)+this[c+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(c,u){return c=c>>>0,u||G(c,4,this.length),this[c]*16777216+(this[c+1]<<16|this[c+2]<<8|this[c+3])},l.prototype.readBigUInt64LE=Q(function(c){c=c>>>0,pe(c,"offset");const u=this[c],g=this[c+7];(u===void 0||g===void 0)&&ye(c,this.length-8);const v=u+this[++c]*2**8+this[++c]*2**16+this[++c]*2**24,k=this[++c]+this[++c]*2**8+this[++c]*2**16+g*2**24;return BigInt(v)+(BigInt(k)<>>0,pe(c,"offset");const u=this[c],g=this[c+7];(u===void 0||g===void 0)&&ye(c,this.length-8);const v=u*2**24+this[++c]*2**16+this[++c]*2**8+this[++c],k=this[++c]*2**24+this[++c]*2**16+this[++c]*2**8+g;return(BigInt(v)<>>0,u=u>>>0,g||G(c,u,this.length);let v=this[c],k=1,B=0;for(;++B=k&&(v-=Math.pow(2,8*u)),v},l.prototype.readIntBE=function(c,u,g){c=c>>>0,u=u>>>0,g||G(c,u,this.length);let v=u,k=1,B=this[c+--v];for(;v>0&&(k*=256);)B+=this[c+--v]*k;return k*=128,B>=k&&(B-=Math.pow(2,8*u)),B},l.prototype.readInt8=function(c,u){return c=c>>>0,u||G(c,1,this.length),this[c]&128?(255-this[c]+1)*-1:this[c]},l.prototype.readInt16LE=function(c,u){c=c>>>0,u||G(c,2,this.length);const g=this[c]|this[c+1]<<8;return g&32768?g|4294901760:g},l.prototype.readInt16BE=function(c,u){c=c>>>0,u||G(c,2,this.length);const g=this[c+1]|this[c]<<8;return g&32768?g|4294901760:g},l.prototype.readInt32LE=function(c,u){return c=c>>>0,u||G(c,4,this.length),this[c]|this[c+1]<<8|this[c+2]<<16|this[c+3]<<24},l.prototype.readInt32BE=function(c,u){return c=c>>>0,u||G(c,4,this.length),this[c]<<24|this[c+1]<<16|this[c+2]<<8|this[c+3]},l.prototype.readBigInt64LE=Q(function(c){c=c>>>0,pe(c,"offset");const u=this[c],g=this[c+7];(u===void 0||g===void 0)&&ye(c,this.length-8);const v=this[c+4]+this[c+5]*2**8+this[c+6]*2**16+(g<<24);return(BigInt(v)<>>0,pe(c,"offset");const u=this[c],g=this[c+7];(u===void 0||g===void 0)&&ye(c,this.length-8);const v=(u<<24)+this[++c]*2**16+this[++c]*2**8+this[++c];return(BigInt(v)<>>0,u||G(c,4,this.length),t.read(this,c,!0,23,4)},l.prototype.readFloatBE=function(c,u){return c=c>>>0,u||G(c,4,this.length),t.read(this,c,!1,23,4)},l.prototype.readDoubleLE=function(c,u){return c=c>>>0,u||G(c,8,this.length),t.read(this,c,!0,52,8)},l.prototype.readDoubleBE=function(c,u){return c=c>>>0,u||G(c,8,this.length),t.read(this,c,!1,52,8)};function q(p,c,u,g,v,k){if(!l.isBuffer(p))throw new TypeError('"buffer" argument must be a Buffer instance');if(c>v||cp.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(c,u,g,v){if(c=+c,u=u>>>0,g=g>>>0,!v){const U=Math.pow(2,8*g)-1;q(this,c,u,g,U,0)}let k=1,B=0;for(this[u]=c&255;++B>>0,g=g>>>0,!v){const U=Math.pow(2,8*g)-1;q(this,c,u,g,U,0)}let k=g-1,B=1;for(this[u+k]=c&255;--k>=0&&(B*=256);)this[u+k]=c/B&255;return u+g},l.prototype.writeUint8=l.prototype.writeUInt8=function(c,u,g){return c=+c,u=u>>>0,g||q(this,c,u,1,255,0),this[u]=c&255,u+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(c,u,g){return c=+c,u=u>>>0,g||q(this,c,u,2,65535,0),this[u]=c&255,this[u+1]=c>>>8,u+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(c,u,g){return c=+c,u=u>>>0,g||q(this,c,u,2,65535,0),this[u]=c>>>8,this[u+1]=c&255,u+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(c,u,g){return c=+c,u=u>>>0,g||q(this,c,u,4,4294967295,0),this[u+3]=c>>>24,this[u+2]=c>>>16,this[u+1]=c>>>8,this[u]=c&255,u+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(c,u,g){return c=+c,u=u>>>0,g||q(this,c,u,4,4294967295,0),this[u]=c>>>24,this[u+1]=c>>>16,this[u+2]=c>>>8,this[u+3]=c&255,u+4};function Ue(p,c,u,g,v){ce(c,g,v,p,u,7);let k=Number(c&BigInt(4294967295));p[u++]=k,k=k>>8,p[u++]=k,k=k>>8,p[u++]=k,k=k>>8,p[u++]=k;let B=Number(c>>BigInt(32)&BigInt(4294967295));return p[u++]=B,B=B>>8,p[u++]=B,B=B>>8,p[u++]=B,B=B>>8,p[u++]=B,u}function $e(p,c,u,g,v){ce(c,g,v,p,u,7);let k=Number(c&BigInt(4294967295));p[u+7]=k,k=k>>8,p[u+6]=k,k=k>>8,p[u+5]=k,k=k>>8,p[u+4]=k;let B=Number(c>>BigInt(32)&BigInt(4294967295));return p[u+3]=B,B=B>>8,p[u+2]=B,B=B>>8,p[u+1]=B,B=B>>8,p[u]=B,u+8}l.prototype.writeBigUInt64LE=Q(function(c,u=0){return Ue(this,c,u,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=Q(function(c,u=0){return $e(this,c,u,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(c,u,g,v){if(c=+c,u=u>>>0,!v){const j=Math.pow(2,8*g-1);q(this,c,u,g,j-1,-j)}let k=0,B=1,U=0;for(this[u]=c&255;++k>0)-U&255;return u+g},l.prototype.writeIntBE=function(c,u,g,v){if(c=+c,u=u>>>0,!v){const j=Math.pow(2,8*g-1);q(this,c,u,g,j-1,-j)}let k=g-1,B=1,U=0;for(this[u+k]=c&255;--k>=0&&(B*=256);)c<0&&U===0&&this[u+k+1]!==0&&(U=1),this[u+k]=(c/B>>0)-U&255;return u+g},l.prototype.writeInt8=function(c,u,g){return c=+c,u=u>>>0,g||q(this,c,u,1,127,-128),c<0&&(c=255+c+1),this[u]=c&255,u+1},l.prototype.writeInt16LE=function(c,u,g){return c=+c,u=u>>>0,g||q(this,c,u,2,32767,-32768),this[u]=c&255,this[u+1]=c>>>8,u+2},l.prototype.writeInt16BE=function(c,u,g){return c=+c,u=u>>>0,g||q(this,c,u,2,32767,-32768),this[u]=c>>>8,this[u+1]=c&255,u+2},l.prototype.writeInt32LE=function(c,u,g){return c=+c,u=u>>>0,g||q(this,c,u,4,2147483647,-2147483648),this[u]=c&255,this[u+1]=c>>>8,this[u+2]=c>>>16,this[u+3]=c>>>24,u+4},l.prototype.writeInt32BE=function(c,u,g){return c=+c,u=u>>>0,g||q(this,c,u,4,2147483647,-2147483648),c<0&&(c=4294967295+c+1),this[u]=c>>>24,this[u+1]=c>>>16,this[u+2]=c>>>8,this[u+3]=c&255,u+4},l.prototype.writeBigInt64LE=Q(function(c,u=0){return Ue(this,c,u,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=Q(function(c,u=0){return $e(this,c,u,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Z(p,c,u,g,v,k){if(u+g>p.length)throw new RangeError("Index out of range");if(u<0)throw new RangeError("Index out of range")}function Ne(p,c,u,g,v){return c=+c,u=u>>>0,v||Z(p,c,u,4),t.write(p,c,u,g,23,4),u+4}l.prototype.writeFloatLE=function(c,u,g){return Ne(this,c,u,!0,g)},l.prototype.writeFloatBE=function(c,u,g){return Ne(this,c,u,!1,g)};function le(p,c,u,g,v){return c=+c,u=u>>>0,v||Z(p,c,u,8),t.write(p,c,u,g,52,8),u+8}l.prototype.writeDoubleLE=function(c,u,g){return le(this,c,u,!0,g)},l.prototype.writeDoubleBE=function(c,u,g){return le(this,c,u,!1,g)},l.prototype.copy=function(c,u,g,v){if(!l.isBuffer(c))throw new TypeError("argument should be a Buffer");if(g||(g=0),!v&&v!==0&&(v=this.length),u>=c.length&&(u=c.length),u||(u=0),v>0&&v=this.length)throw new RangeError("Index out of range");if(v<0)throw new RangeError("sourceEnd out of bounds");v>this.length&&(v=this.length),c.length-u>>0,g=g===void 0?this.length:g>>>0,c||(c=0);let k;if(typeof c=="number")for(k=u;k2**32?v=te(String(u)):typeof u=="bigint"&&(v=String(u),(u>BigInt(2)**BigInt(32)||u<-(BigInt(2)**BigInt(32)))&&(v=te(v)),v+="n"),g+=` It must be ${c}. Received ${v}`,g},RangeError);function te(p){let c="",u=p.length;const g=p[0]==="-"?1:0;for(;u>=g+4;u-=3)c=`_${p.slice(u-3,u)}${c}`;return`${p.slice(0,u)}${c}`}function Me(p,c,u){pe(c,"offset"),(p[c]===void 0||p[c+u]===void 0)&&ye(c,p.length-(u+1))}function ce(p,c,u,g,v,k){if(p>u||p3?c===0||c===BigInt(0)?U=`>= 0${B} and < 2${B} ** ${(k+1)*8}${B}`:U=`>= -(2${B} ** ${(k+1)*8-1}${B}) and < 2 ** ${(k+1)*8-1}${B}`:U=`>= ${c}${B} and <= ${u}${B}`,new de.ERR_OUT_OF_RANGE("value",U,p)}Me(g,v,k)}function pe(p,c){if(typeof p!="number")throw new de.ERR_INVALID_ARG_TYPE(c,"number",p)}function ye(p,c,u){throw Math.floor(p)!==p?(pe(p,u),new de.ERR_OUT_OF_RANGE(u||"offset","an integer",p)):c<0?new de.ERR_BUFFER_OUT_OF_BOUNDS:new de.ERR_OUT_OF_RANGE(u||"offset",`>= ${u?1:0} and <= ${c}`,p)}const ne=/[^+/0-9A-Za-z-_]/g;function je(p){if(p=p.split("=")[0],p=p.trim().replace(ne,""),p.length<2)return"";for(;p.length%4!==0;)p=p+"=";return p}function ae(p,c){c=c||1/0;let u;const g=p.length;let v=null;const k=[];for(let B=0;B55295&&u<57344){if(!v){if(u>56319){(c-=3)>-1&&k.push(239,191,189);continue}else if(B+1===g){(c-=3)>-1&&k.push(239,191,189);continue}v=u;continue}if(u<56320){(c-=3)>-1&&k.push(239,191,189),v=u;continue}u=(v-55296<<10|u-56320)+65536}else v&&(c-=3)>-1&&k.push(239,191,189);if(v=null,u<128){if((c-=1)<0)break;k.push(u)}else if(u<2048){if((c-=2)<0)break;k.push(u>>6|192,u&63|128)}else if(u<65536){if((c-=3)<0)break;k.push(u>>12|224,u>>6&63|128,u&63|128)}else if(u<1114112){if((c-=4)<0)break;k.push(u>>18|240,u>>12&63|128,u>>6&63|128,u&63|128)}else throw new Error("Invalid code point")}return k}function Ge(p){const c=[];for(let u=0;u>8,v=u%256,k.push(v),k.push(g);return k}function W(p){return e.toByteArray(je(p))}function re(p,c,u,g){let v;for(v=0;v=c.length||v>=p.length);++v)c[v+u]=p[v];return v}function ie(p,c){return p instanceof c||p!=null&&p.constructor!=null&&p.constructor.name!=null&&p.constructor.name===c.name}function se(p){return p!==p}const qe=function(){const p="0123456789abcdef",c=new Array(256);for(let u=0;u<16;++u){const g=u*16;for(let v=0;v<16;++v)c[g+v]=p[u]+p[v]}return c}();function Q(p){return typeof BigInt>"u"?Ye:p}function Ye(){throw new Error("BigInt not supported")}})(buffer);const{Buffer}=buffer,symbol=Symbol.for("BufferList");function BufferList(r){if(!(this instanceof BufferList))return new BufferList(r);BufferList._init.call(this,r)}BufferList._init=function r(e){Object.defineProperty(this,symbol,{value:!0}),this._bufs=[],this.length=0,e&&this.append(e)};BufferList.prototype._new=function r(e){return new BufferList(e)};BufferList.prototype._offset=function r(e){if(e===0)return[0,0];let t=0;for(let n=0;nthis.length||e<0)return;const t=this._offset(e);return this._bufs[t[0]][t[1]]};BufferList.prototype.slice=function r(e,t){return typeof e=="number"&&e<0&&(e+=this.length),typeof t=="number"&&t<0&&(t+=this.length),this.copy(null,0,e,t)};BufferList.prototype.copy=function r(e,t,n,o){if((typeof n!="number"||n<0)&&(n=0),(typeof o!="number"||o>this.length)&&(o=this.length),n>=this.length||o<=0)return e||Buffer.alloc(0);const a=!!e,s=this._offset(n),l=o-n;let f=l,h=a&&t||0,d=s[1];if(n===0&&o===this.length){if(!a)return this._bufs.length===1?this._bufs[0]:Buffer.concat(this._bufs,this.length);for(let m=0;m_)this._bufs[m].copy(e,h,d),h+=_;else{this._bufs[m].copy(e,h,d,d+f),h+=_;break}f-=_,d&&(d=0)}return e.length>h?e.slice(0,h):e};BufferList.prototype.shallowSlice=function r(e,t){if(e=e||0,t=typeof t!="number"?this.length:t,e<0&&(e+=this.length),t<0&&(t+=this.length),e===t)return this._new();const n=this._offset(e),o=this._offset(t),a=this._bufs.slice(n[0],o[0]+1);return o[1]===0?a.pop():a[a.length-1]=a[a.length-1].slice(0,o[1]),n[1]!==0&&(a[0]=a[0].slice(n[1])),this._new(a)};BufferList.prototype.toString=function r(e,t,n){return this.slice(t,n).toString(e)};BufferList.prototype.consume=function r(e){if(e=Math.trunc(e),Number.isNaN(e)||e<=0)return this;for(;this._bufs.length;)if(e>=this._bufs[0].length)e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}return this};BufferList.prototype.duplicate=function r(){const e=this._new();for(let t=0;tthis.length?this.length:e;const n=this._offset(e);let o=n[0],a=n[1];for(;o=r.length){const f=s.indexOf(r,a);if(f!==-1)return this._reverseOffset([o,f]);a=s.length-r.length+1}else{const f=this._reverseOffset([o,a]);if(this._match(f,r))return f;a++}a=0}return-1};BufferList.prototype._match=function(r,e){if(this.length-r=0?_.subarray(0,b):_}};var rabin$1=Rabin$1,loader={};const ID_OFFSET=-8,SIZE_OFFSET=-4,ARRAYBUFFER_ID=0,STRING_ID=1,ARRAYBUFFERVIEW=1,ARRAY=2,VAL_ALIGN_OFFSET=5,VAL_SIGNED=1024,VAL_FLOAT=2048,VAL_MANAGED=8192,ARRAYBUFFERVIEW_BUFFER_OFFSET=0,ARRAYBUFFERVIEW_DATASTART_OFFSET=4,ARRAYBUFFERVIEW_DATALENGTH_OFFSET=8,ARRAYBUFFERVIEW_SIZE=12,ARRAY_LENGTH_OFFSET=12,ARRAY_SIZE=16,BIGINT=typeof BigUint64Array<"u",THIS=Symbol(),CHUNKSIZE=1024;function getStringImpl(r,e){const t=new Uint32Array(r),n=new Uint16Array(r);var o=t[e+SIZE_OFFSET>>>2]>>>1,a=e>>>1;if(o<=CHUNKSIZE)return String.fromCharCode.apply(String,n.subarray(a,a+o));const s=[];do{const l=n[a+CHUNKSIZE-1],f=l>=55296&&l<56320?CHUNKSIZE-1:CHUNKSIZE;s.push(String.fromCharCode.apply(String,n.subarray(a,a+=f))),o-=f}while(o>CHUNKSIZE);return s.join("")+String.fromCharCode.apply(String,n.subarray(a,a+o))}function preInstantiate(r){const e={};function t(o,a){return o?getStringImpl(o.buffer,a):""}const n=r.env=r.env||{};return n.abort=n.abort||function(a,s,l,f){const h=e.memory||n.memory;throw Error("abort: "+t(h,a)+" at "+t(h,s)+":"+l+":"+f)},n.trace=n.trace||function(a,s){const l=e.memory||n.memory;console.log("trace: "+t(l,a)+(s?" ":"")+Array.prototype.slice.call(arguments,2,2+s).join(", "))},r.Math=r.Math||Math,r.Date=r.Date||Date,e}function postInstantiate(r,e){const t=e.exports,n=t.memory,o=t.table,a=t.__alloc,s=t.__retain,l=t.__rtti_base||-1;function f(A){const S=new Uint32Array(n.buffer),I=S[l>>>2];if((A>>>=0)>=I)throw Error("invalid id: "+A);return S[(l+4>>>2)+A*2]}function h(A){const S=new Uint32Array(n.buffer),I=S[l>>>2];if((A>>>=0)>=I)throw Error("invalid id: "+A);return S[(l+4>>>2)+A*2+1]}function d(A){return 31-Math.clz32(A>>>VAL_ALIGN_OFFSET&31)}function m(A){const S=A.length,I=a(S<<1,STRING_ID),L=new Uint16Array(n.buffer);for(var x=0,R=I>>>1;x>>2]!==STRING_ID)throw Error("not a string: "+A);return getStringImpl(S,A)}r.__getString=_;function b(A,S,I){const L=n.buffer;if(I)switch(A){case 2:return new Float32Array(L);case 3:return new Float64Array(L)}else switch(A){case 0:return new(S?Int8Array:Uint8Array)(L);case 1:return new(S?Int16Array:Uint16Array)(L);case 2:return new(S?Int32Array:Uint32Array)(L);case 3:return new(S?BigInt64Array:BigUint64Array)(L)}throw Error("unsupported align: "+A)}function w(A,S){const I=f(A);if(!(I&(ARRAYBUFFERVIEW|ARRAY)))throw Error("not an array: "+A+" @ "+I);const L=d(I),x=S.length,R=a(x<>>2]=s(R),K[M+ARRAYBUFFERVIEW_DATASTART_OFFSET>>>2]=R,K[M+ARRAYBUFFERVIEW_DATALENGTH_OFFSET>>>2]=x<>>2]=x);const Y=b(L,I&VAL_SIGNED,I&VAL_FLOAT);if(I&VAL_MANAGED)for(let ee=0;ee>>L)+ee]=s(S[ee]);else Y.set(S,R>>>L);return M}r.__allocArray=w;function y(A){const S=new Uint32Array(n.buffer),I=S[A+ID_OFFSET>>>2],L=f(I);if(!(L&ARRAYBUFFERVIEW))throw Error("not an array: "+I);const x=d(L);var R=S[A+ARRAYBUFFERVIEW_DATASTART_OFFSET>>>2];const M=L&ARRAY?S[A+ARRAY_LENGTH_OFFSET>>>2]:S[R+SIZE_OFFSET>>>2]>>>x;return b(x,L&VAL_SIGNED,L&VAL_FLOAT).subarray(R>>>=x,R+M)}r.__getArrayView=y;function E(A){const S=y(A),I=S.length,L=new Array(I);for(let x=0;x>>2];return S.slice(A,A+I)}r.__getArrayBuffer=T;function N(A,S,I){return new A(D(A,S,I))}function D(A,S,I){const L=n.buffer,x=new Uint32Array(L),R=x[I+ARRAYBUFFERVIEW_DATASTART_OFFSET>>>2];return new A(L,R,x[R+SIZE_OFFSET>>>2]>>>S)}r.__getInt8Array=N.bind(null,Int8Array,0),r.__getInt8ArrayView=D.bind(null,Int8Array,0),r.__getUint8Array=N.bind(null,Uint8Array,0),r.__getUint8ArrayView=D.bind(null,Uint8Array,0),r.__getUint8ClampedArray=N.bind(null,Uint8ClampedArray,0),r.__getUint8ClampedArrayView=D.bind(null,Uint8ClampedArray,0),r.__getInt16Array=N.bind(null,Int16Array,1),r.__getInt16ArrayView=D.bind(null,Int16Array,1),r.__getUint16Array=N.bind(null,Uint16Array,1),r.__getUint16ArrayView=D.bind(null,Uint16Array,1),r.__getInt32Array=N.bind(null,Int32Array,2),r.__getInt32ArrayView=D.bind(null,Int32Array,2),r.__getUint32Array=N.bind(null,Uint32Array,2),r.__getUint32ArrayView=D.bind(null,Uint32Array,2),BIGINT&&(r.__getInt64Array=N.bind(null,BigInt64Array,3),r.__getInt64ArrayView=D.bind(null,BigInt64Array,3),r.__getUint64Array=N.bind(null,BigUint64Array,3),r.__getUint64ArrayView=D.bind(null,BigUint64Array,3)),r.__getFloat32Array=N.bind(null,Float32Array,2),r.__getFloat32ArrayView=D.bind(null,Float32Array,2),r.__getFloat64Array=N.bind(null,Float64Array,3),r.__getFloat64ArrayView=D.bind(null,Float64Array,3);function C(A,S){const I=new Uint32Array(n.buffer);var L=I[A+ID_OFFSET>>>2];if(L<=I[l>>>2])do if(L==S)return!0;while(L=h(L));return!1}return r.__instanceof=C,r.memory=r.memory||n,r.table=r.table||o,demangle(t,r)}function isResponse(r){return typeof Response<"u"&&r instanceof Response}async function instantiate$1(r,e){return isResponse(r=await r)?instantiateStreaming(r,e):postInstantiate(preInstantiate(e||(e={})),await WebAssembly.instantiate(r instanceof WebAssembly.Module?r:await WebAssembly.compile(r),e))}loader.instantiate=instantiate$1;function instantiateSync(r,e){return postInstantiate(preInstantiate(e||(e={})),new WebAssembly.Instance(r instanceof WebAssembly.Module?r:new WebAssembly.Module(r),e))}loader.instantiateSync=instantiateSync;async function instantiateStreaming(r,e){return WebAssembly.instantiateStreaming?postInstantiate(preInstantiate(e||(e={})),(await WebAssembly.instantiateStreaming(r,e)).instance):instantiate$1(isResponse(r=await r)?r.arrayBuffer():r,e)}loader.instantiateStreaming=instantiateStreaming;function demangle(r,e){var t=e?Object.create(e):{},n=r.__argumentsLength?function(o){r.__argumentsLength.value=o}:r.__setArgumentsLength||r.__setargc||function(){};for(let o in r){if(!Object.prototype.hasOwnProperty.call(r,o))continue;const a=r[o];let s=o.split("."),l=t;for(;s.length>1;){let d=s.shift();Object.prototype.hasOwnProperty.call(l,d)||(l[d]={}),l=l[d]}let f=s[0],h=f.indexOf("#");if(h>=0){let d=f.substring(0,h),m=l[d];if(typeof m>"u"||!m.prototype){let _=function(...b){return _.wrap(_.prototype.constructor(0,...b))};_.prototype={valueOf:function(){return this[THIS]}},_.wrap=function(b){return Object.create(_.prototype,{[THIS]:{value:b,writable:!1}})},m&&Object.getOwnPropertyNames(m).forEach(b=>Object.defineProperty(_,b,Object.getOwnPropertyDescriptor(m,b))),l[d]=_}if(f=f.substring(h+1),l=l[d].prototype,/^(get|set):/.test(f)){if(!Object.prototype.hasOwnProperty.call(l,f=f.substring(4))){let _=r[o.replace("set:","get:")],b=r[o.replace("get:","set:")];Object.defineProperty(l,f,{get:function(){return _(this[THIS])},set:function(w){b(this[THIS],w)},enumerable:!0})}}else f==="constructor"?(l[f]=(..._)=>(n(_.length),a(..._))).original=a:(l[f]=function(..._){return n(_.length),a(this[THIS],..._)}).original=a}else/^(get|set):/.test(f)?Object.prototype.hasOwnProperty.call(l,f=f.substring(4))||Object.defineProperty(l,f,{get:r[o.replace("set:","get:")],set:r[o.replace("get:","set:")],enumerable:!0}):typeof a=="function"&&a!==n?(l[f]=(...d)=>(n(d.length),a(...d))).original=a:l[f]=a}return t}loader.demangle=demangle;const{instantiate}=loader;loadWebAssembly.supported=typeof WebAssembly<"u";function loadWebAssembly(r={}){if(!loadWebAssembly.supported)return null;var e=new Uint8Array([0,97,115,109,1,0,0,0,1,78,14,96,2,127,126,0,96,1,127,1,126,96,2,127,127,0,96,1,127,1,127,96,1,127,0,96,2,127,127,1,127,96,3,127,127,127,1,127,96,0,0,96,3,127,127,127,0,96,0,1,127,96,4,127,127,127,127,0,96,5,127,127,127,127,127,1,127,96,1,126,1,127,96,2,126,126,1,126,2,13,1,3,101,110,118,5,97,98,111,114,116,0,10,3,54,53,2,2,8,9,3,5,2,8,6,5,3,4,2,6,9,12,13,2,5,11,3,2,3,2,3,2,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,6,7,7,4,4,5,3,1,0,1,6,47,9,127,1,65,0,11,127,1,65,0,11,127,0,65,3,11,127,0,65,4,11,127,1,65,0,11,127,1,65,0,11,127,1,65,0,11,127,0,65,240,2,11,127,0,65,6,11,7,240,5,41,6,109,101,109,111,114,121,2,0,7,95,95,97,108,108,111,99,0,10,8,95,95,114,101,116,97,105,110,0,11,9,95,95,114,101,108,101,97,115,101,0,12,9,95,95,99,111,108,108,101,99,116,0,51,11,95,95,114,116,116,105,95,98,97,115,101,3,7,13,73,110,116,51,50,65,114,114,97,121,95,73,68,3,2,13,85,105,110,116,56,65,114,114,97,121,95,73,68,3,3,6,100,101,103,114,101,101,0,16,3,109,111,100,0,17,5,82,97,98,105,110,3,8,16,82,97,98,105,110,35,103,101,116,58,119,105,110,100,111,119,0,21,16,82,97,98,105,110,35,115,101,116,58,119,105,110,100,111,119,0,22,21,82,97,98,105,110,35,103,101,116,58,119,105,110,100,111,119,95,115,105,122,101,0,23,21,82,97,98,105,110,35,115,101,116,58,119,105,110,100,111,119,95,115,105,122,101,0,24,14,82,97,98,105,110,35,103,101,116,58,119,112,111,115,0,25,14,82,97,98,105,110,35,115,101,116,58,119,112,111,115,0,26,15,82,97,98,105,110,35,103,101,116,58,99,111,117,110,116,0,27,15,82,97,98,105,110,35,115,101,116,58,99,111,117,110,116,0,28,13,82,97,98,105,110,35,103,101,116,58,112,111,115,0,29,13,82,97,98,105,110,35,115,101,116,58,112,111,115,0,30,15,82,97,98,105,110,35,103,101,116,58,115,116,97,114,116,0,31,15,82,97,98,105,110,35,115,101,116,58,115,116,97,114,116,0,32,16,82,97,98,105,110,35,103,101,116,58,100,105,103,101,115,116,0,33,16,82,97,98,105,110,35,115,101,116,58,100,105,103,101,115,116,0,34,21,82,97,98,105,110,35,103,101,116,58,99,104,117,110,107,95,115,116,97,114,116,0,35,21,82,97,98,105,110,35,115,101,116,58,99,104,117,110,107,95,115,116,97,114,116,0,36,22,82,97,98,105,110,35,103,101,116,58,99,104,117,110,107,95,108,101,110,103,116,104,0,37,22,82,97,98,105,110,35,115,101,116,58,99,104,117,110,107,95,108,101,110,103,116,104,0,38,31,82,97,98,105,110,35,103,101,116,58,99,104,117,110,107,95,99,117,116,95,102,105,110,103,101,114,112,114,105,110,116,0,39,31,82,97,98,105,110,35,115,101,116,58,99,104,117,110,107,95,99,117,116,95,102,105,110,103,101,114,112,114,105,110,116,0,40,20,82,97,98,105,110,35,103,101,116,58,112,111,108,121,110,111,109,105,97,108,0,41,20,82,97,98,105,110,35,115,101,116,58,112,111,108,121,110,111,109,105,97,108,0,42,17,82,97,98,105,110,35,103,101,116,58,109,105,110,115,105,122,101,0,43,17,82,97,98,105,110,35,115,101,116,58,109,105,110,115,105,122,101,0,44,17,82,97,98,105,110,35,103,101,116,58,109,97,120,115,105,122,101,0,45,17,82,97,98,105,110,35,115,101,116,58,109,97,120,115,105,122,101,0,46,14,82,97,98,105,110,35,103,101,116,58,109,97,115,107,0,47,14,82,97,98,105,110,35,115,101,116,58,109,97,115,107,0,48,17,82,97,98,105,110,35,99,111,110,115,116,114,117,99,116,111,114,0,20,17,82,97,98,105,110,35,102,105,110,103,101,114,112,114,105,110,116,0,49,8,1,50,10,165,31,53,199,1,1,4,127,32,1,40,2,0,65,124,113,34,2,65,128,2,73,4,127,32,2,65,4,118,33,4,65,0,5,32,2,65,31,32,2,103,107,34,3,65,4,107,118,65,16,115,33,4,32,3,65,7,107,11,33,3,32,1,40,2,20,33,2,32,1,40,2,16,34,5,4,64,32,5,32,2,54,2,20,11,32,2,4,64,32,2,32,5,54,2,16,11,32,1,32,0,32,4,32,3,65,4,116,106,65,2,116,106,40,2,96,70,4,64,32,0,32,4,32,3,65,4,116,106,65,2,116,106,32,2,54,2,96,32,2,69,4,64,32,0,32,3,65,2,116,106,32,0,32,3,65,2,116,106,40,2,4,65,1,32,4,116,65,127,115,113,34,1,54,2,4,32,1,69,4,64,32,0,32,0,40,2,0,65,1,32,3,116,65,127,115,113,54,2,0,11,11,11,11,226,2,1,6,127,32,1,40,2,0,33,3,32,1,65,16,106,32,1,40,2,0,65,124,113,106,34,4,40,2,0,34,5,65,1,113,4,64,32,3,65,124,113,65,16,106,32,5,65,124,113,106,34,2,65,240,255,255,255,3,73,4,64,32,0,32,4,16,1,32,1,32,2,32,3,65,3,113,114,34,3,54,2,0,32,1,65,16,106,32,1,40,2,0,65,124,113,106,34,4,40,2,0,33,5,11,11,32,3,65,2,113,4,64,32,1,65,4,107,40,2,0,34,2,40,2,0,34,6,65,124,113,65,16,106,32,3,65,124,113,106,34,7,65,240,255,255,255,3,73,4,64,32,0,32,2,16,1,32,2,32,7,32,6,65,3,113,114,34,3,54,2,0,32,2,33,1,11,11,32,4,32,5,65,2,114,54,2,0,32,4,65,4,107,32,1,54,2,0,32,0,32,3,65,124,113,34,2,65,128,2,73,4,127,32,2,65,4,118,33,4,65,0,5,32,2,65,31,32,2,103,107,34,2,65,4,107,118,65,16,115,33,4,32,2,65,7,107,11,34,3,65,4,116,32,4,106,65,2,116,106,40,2,96,33,2,32,1,65,0,54,2,16,32,1,32,2,54,2,20,32,2,4,64,32,2,32,1,54,2,16,11,32,0,32,4,32,3,65,4,116,106,65,2,116,106,32,1,54,2,96,32,0,32,0,40,2,0,65,1,32,3,116,114,54,2,0,32,0,32,3,65,2,116,106,32,0,32,3,65,2,116,106,40,2,4,65,1,32,4,116,114,54,2,4,11,119,1,1,127,32,2,2,127,32,0,40,2,160,12,34,2,4,64,32,2,32,1,65,16,107,70,4,64,32,2,40,2,0,33,3,32,1,65,16,107,33,1,11,11,32,1,11,107,34,2,65,48,73,4,64,15,11,32,1,32,3,65,2,113,32,2,65,32,107,65,1,114,114,54,2,0,32,1,65,0,54,2,16,32,1,65,0,54,2,20,32,1,32,2,106,65,16,107,34,2,65,2,54,2,0,32,0,32,2,54,2,160,12,32,0,32,1,16,2,11,155,1,1,3,127,35,0,34,0,69,4,64,65,1,63,0,34,0,74,4,127,65,1,32,0,107,64,0,65,0,72,5,65,0,11,4,64,0,11,65,176,3,34,0,65,0,54,2,0,65,208,15,65,0,54,2,0,3,64,32,1,65,23,73,4,64,32,1,65,2,116,65,176,3,106,65,0,54,2,4,65,0,33,2,3,64,32,2,65,16,73,4,64,32,1,65,4,116,32,2,106,65,2,116,65,176,3,106,65,0,54,2,96,32,2,65,1,106,33,2,12,1,11,11,32,1,65,1,106,33,1,12,1,11,11,65,176,3,65,224,15,63,0,65,16,116,16,3,65,176,3,36,0,11,32,0,11,45,0,32,0,65,240,255,255,255,3,79,4,64,65,32,65,224,0,65,201,3,65,29,16,0,0,11,32,0,65,15,106,65,112,113,34,0,65,16,32,0,65,16,75,27,11,169,1,1,1,127,32,0,32,1,65,128,2,73,4,127,32,1,65,4,118,33,1,65,0,5,32,1,65,248,255,255,255,1,73,4,64,32,1,65,1,65,27,32,1,103,107,116,106,65,1,107,33,1,11,32,1,65,31,32,1,103,107,34,2,65,4,107,118,65,16,115,33,1,32,2,65,7,107,11,34,2,65,2,116,106,40,2,4,65,127,32,1,116,113,34,1,4,127,32,0,32,1,104,32,2,65,4,116,106,65,2,116,106,40,2,96,5,32,0,40,2,0,65,127,32,2,65,1,106,116,113,34,1,4,127,32,0,32,0,32,1,104,34,0,65,2,116,106,40,2,4,104,32,0,65,4,116,106,65,2,116,106,40,2,96,5,65,0,11,11,11,111,1,1,127,63,0,34,2,32,1,65,248,255,255,255,1,73,4,127,32,1,65,1,65,27,32,1,103,107,116,65,1,107,106,5,32,1,11,65,16,32,0,40,2,160,12,32,2,65,16,116,65,16,107,71,116,106,65,255,255,3,106,65,128,128,124,113,65,16,118,34,1,32,2,32,1,74,27,64,0,65,0,72,4,64,32,1,64,0,65,0,72,4,64,0,11,11,32,0,32,2,65,16,116,63,0,65,16,116,16,3,11,113,1,2,127,32,1,40,2,0,34,3,65,124,113,32,2,107,34,4,65,32,79,4,64,32,1,32,2,32,3,65,2,113,114,54,2,0,32,2,32,1,65,16,106,106,34,1,32,4,65,16,107,65,1,114,54,2,0,32,0,32,1,16,2,5,32,1,32,3,65,126,113,54,2,0,32,1,65,16,106,32,1,40,2,0,65,124,113,106,32,1,65,16,106,32,1,40,2,0,65,124,113,106,40,2,0,65,125,113,54,2,0,11,11,91,1,2,127,32,0,32,1,16,5,34,4,16,6,34,3,69,4,64,65,1,36,1,65,0,36,1,32,0,32,4,16,6,34,3,69,4,64,32,0,32,4,16,7,32,0,32,4,16,6,33,3,11,11,32,3,65,0,54,2,4,32,3,32,2,54,2,8,32,3,32,1,54,2,12,32,0,32,3,16,1,32,0,32,3,32,4,16,8,32,3,11,13,0,16,4,32,0,32,1,16,9,65,16,106,11,33,1,1,127,32,0,65,172,3,75,4,64,32,0,65,16,107,34,1,32,1,40,2,4,65,1,106,54,2,4,11,32,0,11,18,0,32,0,65,172,3,75,4,64,32,0,65,16,107,16,52,11,11,140,3,1,1,127,2,64,32,1,69,13,0,32,0,65,0,58,0,0,32,0,32,1,106,65,1,107,65,0,58,0,0,32,1,65,2,77,13,0,32,0,65,1,106,65,0,58,0,0,32,0,65,2,106,65,0,58,0,0,32,0,32,1,106,34,2,65,2,107,65,0,58,0,0,32,2,65,3,107,65,0,58,0,0,32,1,65,6,77,13,0,32,0,65,3,106,65,0,58,0,0,32,0,32,1,106,65,4,107,65,0,58,0,0,32,1,65,8,77,13,0,32,1,65,0,32,0,107,65,3,113,34,1,107,33,2,32,0,32,1,106,34,0,65,0,54,2,0,32,0,32,2,65,124,113,34,1,106,65,4,107,65,0,54,2,0,32,1,65,8,77,13,0,32,0,65,4,106,65,0,54,2,0,32,0,65,8,106,65,0,54,2,0,32,0,32,1,106,34,2,65,12,107,65,0,54,2,0,32,2,65,8,107,65,0,54,2,0,32,1,65,24,77,13,0,32,0,65,12,106,65,0,54,2,0,32,0,65,16,106,65,0,54,2,0,32,0,65,20,106,65,0,54,2,0,32,0,65,24,106,65,0,54,2,0,32,0,32,1,106,34,2,65,28,107,65,0,54,2,0,32,2,65,24,107,65,0,54,2,0,32,2,65,20,107,65,0,54,2,0,32,2,65,16,107,65,0,54,2,0,32,0,32,0,65,4,113,65,24,106,34,2,106,33,0,32,1,32,2,107,33,1,3,64,32,1,65,32,79,4,64,32,0,66,0,55,3,0,32,0,65,8,106,66,0,55,3,0,32,0,65,16,106,66,0,55,3,0,32,0,65,24,106,66,0,55,3,0,32,1,65,32,107,33,1,32,0,65,32,106,33,0,12,1,11,11,11,11,178,1,1,3,127,32,1,65,240,255,255,255,3,32,2,118,75,4,64,65,144,1,65,192,1,65,23,65,56,16,0,0,11,32,1,32,2,116,34,3,65,0,16,10,34,2,32,3,16,13,32,0,69,4,64,65,12,65,2,16,10,34,0,65,172,3,75,4,64,32,0,65,16,107,34,1,32,1,40,2,4,65,1,106,54,2,4,11,11,32,0,65,0,54,2,0,32,0,65,0,54,2,4,32,0,65,0,54,2,8,32,2,34,1,32,0,40,2,0,34,4,71,4,64,32,1,65,172,3,75,4,64,32,1,65,16,107,34,5,32,5,40,2,4,65,1,106,54,2,4,11,32,4,16,12,11,32,0,32,1,54,2,0,32,0,32,2,54,2,4,32,0,32,3,54,2,8,32,0,11,46,1,2,127,65,12,65,5,16,10,34,0,65,172,3,75,4,64,32,0,65,16,107,34,1,32,1,40,2,4,65,1,106,54,2,4,11,32,0,65,128,2,65,3,16,14,11,9,0,65,63,32,0,121,167,107,11,49,1,2,127,65,63,32,1,121,167,107,33,2,3,64,65,63,32,0,121,167,107,32,2,107,34,3,65,0,78,4,64,32,0,32,1,32,3,172,134,133,33,0,12,1,11,11,32,0,11,40,0,32,1,32,0,40,2,8,79,4,64,65,128,2,65,192,2,65,163,1,65,44,16,0,0,11,32,1,32,0,40,2,4,106,65,0,58,0,0,11,38,0,32,1,32,0,40,2,8,79,4,64,65,128,2,65,192,2,65,152,1,65,44,16,0,0,11,32,1,32,0,40,2,4,106,45,0,0,11,254,5,2,1,127,4,126,32,0,69,4,64,65,232,0,65,6,16,10,34,0,65,172,3,75,4,64,32,0,65,16,107,34,5,32,5,40,2,4,65,1,106,54,2,4,11,11,32,0,65,0,54,2,0,32,0,65,0,54,2,4,32,0,65,0,54,2,8,32,0,66,0,55,3,16,32,0,66,0,55,3,24,32,0,66,0,55,3,32,32,0,66,0,55,3,40,32,0,66,0,55,3,48,32,0,66,0,55,3,56,32,0,66,0,55,3,64,32,0,66,0,55,3,72,32,0,66,0,55,3,80,32,0,66,0,55,3,88,32,0,66,0,55,3,96,32,0,32,2,173,55,3,80,32,0,32,3,173,55,3,88,65,12,65,4,16,10,34,2,65,172,3,75,4,64,32,2,65,16,107,34,3,32,3,40,2,4,65,1,106,54,2,4,11,32,2,32,4,65,0,16,14,33,2,32,0,40,2,0,16,12,32,0,32,2,54,2,0,32,0,32,4,54,2,4,32,0,66,1,32,1,173,134,66,1,125,55,3,96,32,0,66,243,130,183,218,216,230,232,30,55,3,72,35,4,69,4,64,65,0,33,2,3,64,32,2,65,128,2,72,4,64,32,2,65,255,1,113,173,33,6,32,0,41,3,72,34,7,33,8,65,63,32,7,121,167,107,33,1,3,64,65,63,32,6,121,167,107,32,1,107,34,3,65,0,78,4,64,32,6,32,8,32,3,172,134,133,33,6,12,1,11,11,65,0,33,4,3,64,32,4,32,0,40,2,4,65,1,107,72,4,64,32,6,66,8,134,33,6,32,0,41,3,72,34,7,33,8,65,63,32,7,121,167,107,33,1,3,64,65,63,32,6,121,167,107,32,1,107,34,3,65,0,78,4,64,32,6,32,8,32,3,172,134,133,33,6,12,1,11,11,32,4,65,1,106,33,4,12,1,11,11,35,6,40,2,4,32,2,65,3,116,106,32,6,55,3,0,32,2,65,1,106,33,2,12,1,11,11,65,63,32,0,41,3,72,121,167,107,172,33,7,65,0,33,2,3,64,32,2,65,128,2,72,4,64,35,5,33,1,32,2,172,32,7,134,34,8,33,6,65,63,32,0,41,3,72,34,9,121,167,107,33,3,3,64,65,63,32,6,121,167,107,32,3,107,34,4,65,0,78,4,64,32,6,32,9,32,4,172,134,133,33,6,12,1,11,11,32,1,40,2,4,32,2,65,3,116,106,32,6,32,8,132,55,3,0,32,2,65,1,106,33,2,12,1,11,11,65,1,36,4,11,32,0,66,0,55,3,24,32,0,66,0,55,3,32,65,0,33,2,3,64,32,2,32,0,40,2,4,72,4,64,32,0,40,2,0,32,2,16,18,32,2,65,1,106,33,2,12,1,11,11,32,0,66,0,55,3,40,32,0,65,0,54,2,8,32,0,66,0,55,3,16,32,0,66,0,55,3,40,32,0,40,2,0,32,0,40,2,8,16,19,33,1,32,0,40,2,8,32,0,40,2,0,40,2,4,106,65,1,58,0,0,32,0,32,0,41,3,40,35,6,40,2,4,32,1,65,3,116,106,41,3,0,133,55,3,40,32,0,32,0,40,2,8,65,1,106,32,0,40,2,4,111,54,2,8,32,0,35,5,40,2,4,32,0,41,3,40,34,6,66,45,136,167,65,3,116,106,41,3,0,32,6,66,8,134,66,1,132,133,55,3,40,32,0,11,38,1,1,127,32,0,40,2,0,34,0,65,172,3,75,4,64,32,0,65,16,107,34,1,32,1,40,2,4,65,1,106,54,2,4,11,32,0,11,55,1,2,127,32,1,32,0,40,2,0,34,2,71,4,64,32,1,65,172,3,75,4,64,32,1,65,16,107,34,3,32,3,40,2,4,65,1,106,54,2,4,11,32,2,16,12,11,32,0,32,1,54,2,0,11,7,0,32,0,40,2,4,11,9,0,32,0,32,1,54,2,4,11,7,0,32,0,40,2,8,11,9,0,32,0,32,1,54,2,8,11,7,0,32,0,41,3,16,11,9,0,32,0,32,1,55,3,16,11,7,0,32,0,41,3,24,11,9,0,32,0,32,1,55,3,24,11,7,0,32,0,41,3,32,11,9,0,32,0,32,1,55,3,32,11,7,0,32,0,41,3,40,11,9,0,32,0,32,1,55,3,40,11,7,0,32,0,41,3,48,11,9,0,32,0,32,1,55,3,48,11,7,0,32,0,41,3,56,11,9,0,32,0,32,1,55,3,56,11,7,0,32,0,41,3,64,11,9,0,32,0,32,1,55,3,64,11,7,0,32,0,41,3,72,11,9,0,32,0,32,1,55,3,72,11,7,0,32,0,41,3,80,11,9,0,32,0,32,1,55,3,80,11,7,0,32,0,41,3,88,11,9,0,32,0,32,1,55,3,88,11,7,0,32,0,41,3,96,11,9,0,32,0,32,1,55,3,96,11,172,4,2,5,127,1,126,32,2,65,172,3,75,4,64,32,2,65,16,107,34,4,32,4,40,2,4,65,1,106,54,2,4,11,32,2,33,4,65,0,33,2,32,1,40,2,8,33,5,32,1,40,2,4,33,6,3,64,2,127,65,0,33,3,3,64,32,3,32,5,72,4,64,32,3,32,6,106,45,0,0,33,1,32,0,40,2,0,32,0,40,2,8,16,19,33,7,32,0,40,2,8,32,0,40,2,0,40,2,4,106,32,1,58,0,0,32,0,32,0,41,3,40,35,6,40,2,4,32,7,65,3,116,106,41,3,0,133,55,3,40,32,0,32,0,40,2,8,65,1,106,32,0,40,2,4,111,54,2,8,32,0,35,5,40,2,4,32,0,41,3,40,34,8,66,45,136,167,65,3,116,106,41,3,0,32,1,173,32,8,66,8,134,132,133,55,3,40,32,0,32,0,41,3,16,66,1,124,55,3,16,32,0,32,0,41,3,24,66,1,124,55,3,24,32,0,41,3,16,32,0,41,3,80,90,4,127,32,0,41,3,40,32,0,41,3,96,131,80,5,65,0,11,4,127,65,1,5,32,0,41,3,16,32,0,41,3,88,90,11,4,64,32,0,32,0,41,3,32,55,3,48,32,0,32,0,41,3,16,55,3,56,32,0,32,0,41,3,40,55,3,64,65,0,33,1,3,64,32,1,32,0,40,2,4,72,4,64,32,0,40,2,0,32,1,16,18,32,1,65,1,106,33,1,12,1,11,11,32,0,66,0,55,3,40,32,0,65,0,54,2,8,32,0,66,0,55,3,16,32,0,66,0,55,3,40,32,0,40,2,0,32,0,40,2,8,16,19,33,1,32,0,40,2,8,32,0,40,2,0,40,2,4,106,65,1,58,0,0,32,0,32,0,41,3,40,35,6,40,2,4,32,1,65,3,116,106,41,3,0,133,55,3,40,32,0,32,0,40,2,8,65,1,106,32,0,40,2,4,111,54,2,8,32,0,35,5,40,2,4,32,0,41,3,40,34,8,66,45,136,167,65,3,116,106,41,3,0,32,8,66,8,134,66,1,132,133,55,3,40,32,3,65,1,106,12,3,11,32,3,65,1,106,33,3,12,1,11,11,65,127,11,34,1,65,0,78,4,64,32,5,32,1,107,33,5,32,1,32,6,106,33,6,32,2,34,1,65,1,106,33,2,32,4,40,2,4,32,1,65,2,116,106,32,0,41,3,56,62,2,0,12,1,11,11,32,4,11,10,0,16,15,36,5,16,15,36,6,11,3,0,1,11,73,1,2,127,32,0,40,2,4,34,1,65,255,255,255,255,0,113,34,2,65,1,70,4,64,32,0,65,16,106,16,53,32,0,32,0,40,2,0,65,1,114,54,2,0,35,0,32,0,16,2,5,32,0,32,2,65,1,107,32,1,65,128,128,128,128,127,113,114,54,2,4,11,11,58,0,2,64,2,64,2,64,32,0,65,8,107,40,2,0,14,7,0,0,1,1,1,1,1,2,11,15,11,32,0,40,2,0,34,0,4,64,32,0,65,172,3,79,4,64,32,0,65,16,107,16,52,11,11,15,11,0,11,11,137,3,7,0,65,16,11,55,40,0,0,0,1,0,0,0,1,0,0,0,40,0,0,0,97,0,108,0,108,0,111,0,99,0,97,0,116,0,105,0,111,0,110,0,32,0,116,0,111,0,111,0,32,0,108,0,97,0,114,0,103,0,101,0,65,208,0,11,45,30,0,0,0,1,0,0,0,1,0,0,0,30,0,0,0,126,0,108,0,105,0,98,0,47,0,114,0,116,0,47,0,116,0,108,0,115,0,102,0,46,0,116,0,115,0,65,128,1,11,43,28,0,0,0,1,0,0,0,1,0,0,0,28,0,0,0,73,0,110,0,118,0,97,0,108,0,105,0,100,0,32,0,108,0,101,0,110,0,103,0,116,0,104,0,65,176,1,11,53,38,0,0,0,1,0,0,0,1,0,0,0,38,0,0,0,126,0,108,0,105,0,98,0,47,0,97,0,114,0,114,0,97,0,121,0,98,0,117,0,102,0,102,0,101,0,114,0,46,0,116,0,115,0,65,240,1,11,51,36,0,0,0,1,0,0,0,1,0,0,0,36,0,0,0,73,0,110,0,100,0,101,0,120,0,32,0,111,0,117,0,116,0,32,0,111,0,102,0,32,0,114,0,97,0,110,0,103,0,101,0,65,176,2,11,51,36,0,0,0,1,0,0,0,1,0,0,0,36,0,0,0,126,0,108,0,105,0,98,0,47,0,116,0,121,0,112,0,101,0,100,0,97,0,114,0,114,0,97,0,121,0,46,0,116,0,115,0,65,240,2,11,53,7,0,0,0,16,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,145,4,0,0,2,0,0,0,49,0,0,0,2,0,0,0,17,1,0,0,2,0,0,0,16,0,34,16,115,111,117,114,99,101,77,97,112,112,105,110,103,85,82,76,16,46,47,114,97,98,105,110,46,119,97,115,109,46,109,97,112]);return instantiate(new Response(new Blob([e],{type:"application/wasm"})),r)}var rabinWasm=loadWebAssembly;const Rabin=rabin$1,getRabin=rabinWasm,create=async(r,e,t,n,o)=>{const a=await getRabin();return new Rabin(a,r,e,t,n,o)};var src$2={Rabin,create};async function*rabinChunker(r,e){let t,n,o;if(e.minChunkSize&&e.maxChunkSize&&e.avgChunkSize)o=e.avgChunkSize,t=e.minChunkSize,n=e.maxChunkSize;else if(e.avgChunkSize)o=e.avgChunkSize,t=o/3,n=o+o/2;else throw errCode$1(new Error("please specify an average chunk size"),"ERR_INVALID_AVG_CHUNK_SIZE");if(t<16)throw errCode$1(new Error("rabin min must be greater than 16"),"ERR_INVALID_MIN_CHUNK_SIZE");n=a;)if(yield t.slice(0,a),o=!0,a===t.length)t=new BufferList$1,n=0;else{const l=new BufferList$1;l.append(t.shallowSlice(a)),t=l,n-=a}(!o||n)&&(yield t.slice(0,n))}const identity=from$1({prefix:"\0",name:"identity",encode:r=>toString$1(r),decode:r=>fromString$3(r)}),identityBase=Object.freeze(Object.defineProperty({__proto__:null,identity},Symbol.toStringTag,{value:"Module"})),base2=rfc4648({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1}),base2$1=Object.freeze(Object.defineProperty({__proto__:null,base2},Symbol.toStringTag,{value:"Module"})),base8=rfc4648({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3}),base8$1=Object.freeze(Object.defineProperty({__proto__:null,base8},Symbol.toStringTag,{value:"Module"})),base10=baseX({prefix:"9",name:"base10",alphabet:"0123456789"}),base10$1=Object.freeze(Object.defineProperty({__proto__:null,base10},Symbol.toStringTag,{value:"Module"})),base16=rfc4648({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),base16upper=rfc4648({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4}),base16$1=Object.freeze(Object.defineProperty({__proto__:null,base16,base16upper},Symbol.toStringTag,{value:"Module"})),base36=baseX({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),base36upper=baseX({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),base36$1=Object.freeze(Object.defineProperty({__proto__:null,base36,base36upper},Symbol.toStringTag,{value:"Module"})),base64=rfc4648({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),base64pad=rfc4648({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),base64url=rfc4648({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),base64urlpad=rfc4648({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6}),base64$1=Object.freeze(Object.defineProperty({__proto__:null,base64,base64pad,base64url,base64urlpad},Symbol.toStringTag,{value:"Module"})),alphabet=Array.from("🚀🪐☄🛰🌌🌑🌒🌓🌔🌕🌖🌗🌘🌍🌏🌎🐉☀💻🖥💾💿😂❤😍🤣😊🙏💕😭😘👍😅👏😁🔥🥰💔💖💙😢🤔😆🙄💪😉☺👌🤗💜😔😎😇🌹🤦🎉💞✌✨🤷😱😌🌸🙌😋💗💚😏💛🙂💓🤩😄😀🖤😃💯🙈👇🎶😒🤭❣😜💋👀😪😑💥🙋😞😩😡🤪👊🥳😥🤤👉💃😳✋😚😝😴🌟😬🙃🍀🌷😻😓⭐✅🥺🌈😈🤘💦✔😣🏃💐☹🎊💘😠☝😕🌺🎂🌻😐🖕💝🙊😹🗣💫💀👑🎵🤞😛🔴😤🌼😫⚽🤙☕🏆🤫👈😮🙆🍻🍃🐶💁😲🌿🧡🎁⚡🌞🎈❌✊👋😰🤨😶🤝🚶💰🍓💢🤟🙁🚨💨🤬✈🎀🍺🤓😙💟🌱😖👶🥴▶➡❓💎💸⬇😨🌚🦋😷🕺⚠🙅😟😵👎🤲🤠🤧📌🔵💅🧐🐾🍒😗🤑🌊🤯🐷☎💧😯💆👆🎤🙇🍑❄🌴💣🐸💌📍🥀🤢👅💡💩👐📸👻🤐🤮🎼🥵🚩🍎🍊👼💍📣🥂"),alphabetBytesToChars=alphabet.reduce((r,e,t)=>(r[t]=e,r),[]),alphabetCharsToBytes=alphabet.reduce((r,e,t)=>(r[e.codePointAt(0)]=t,r),[]);function encode(r){return r.reduce((e,t)=>(e+=alphabetBytesToChars[t],e),"")}function decode(r){const e=[];for(const t of r){const n=alphabetCharsToBytes[t.codePointAt(0)];if(n===void 0)throw new Error(`Non-base256emoji character: ${t}`);e.push(n)}return new Uint8Array(e)}const base256emoji=from$1({prefix:"🚀",name:"base256emoji",encode,decode}),base256emoji$1=Object.freeze(Object.defineProperty({__proto__:null,base256emoji},Symbol.toStringTag,{value:"Module"}));new TextEncoder;new TextDecoder;const bases={...identityBase,...base2$1,...base8$1,...base10$1,...base16$1,...base32$1,...base36$1,...base58,...base64$1,...base256emoji$1};function asUint8Array(r){return globalThis.Buffer!=null?new Uint8Array(r.buffer,r.byteOffset,r.byteLength):r}function allocUnsafe(r=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?asUint8Array(globalThis.Buffer.allocUnsafe(r)):new Uint8Array(r)}function createCodec(r,e,t,n){return{name:r,prefix:e,encoder:{name:r,prefix:e,encode:t},decoder:{decode:n}}}const string=createCodec("utf8","u",r=>"u"+new TextDecoder("utf8").decode(r),r=>new TextEncoder().encode(r.substring(1))),ascii=createCodec("ascii","a",r=>{let e="a";for(let t=0;t{r=r.substring(1);const e=allocUnsafe(r.length);for(let t=0;to&&o!==".").join("/")),n.content){let o;typeof t.chunker=="function"?o=t.chunker:t.chunker==="rabin"?o=rabinChunker:o=fixedSizeChunker;let a;typeof t.chunkValidator=="function"?a=t.chunkValidator:a=validateChunks;const s={path:n.path,mtime:n.mtime,mode:n.mode,content:o(a(contentAsAsyncIterable(n.content),t),t)};yield()=>fileBuilder(s,e,t)}else if(n.path){const o={path:n.path,mtime:n.mtime,mode:n.mode};yield()=>dirBuilder(o,e,t)}else throw new Error("Import candidate must have content or path or both")}class Dir{constructor(e,t){this.options=t||{},this.root=e.root,this.dir=e.dir,this.path=e.path,this.dirty=e.dirty,this.flat=e.flat,this.parent=e.parent,this.parentKey=e.parentKey,this.unixfs=e.unixfs,this.mode=e.mode,this.mtime=e.mtime,this.cid=void 0,this.size=void 0}async put(e,t){}get(e){return Promise.resolve(this)}async*eachChildSeries(){}async*flush(e){}}class DirFlat extends Dir{constructor(e,t){super(e,t),this._children={}}async put(e,t){this.cid=void 0,this.size=void 0,this._children[e]=t}get(e){return Promise.resolve(this._children[e])}childCount(){return Object.keys(this._children).length}directChildrenCount(){return this.childCount()}onlyChild(){return this._children[Object.keys(this._children)[0]]}async*eachChildSeries(){const e=Object.keys(this._children);for(let t=0;th+(d.Tsize==null?0:d.Tsize),0);this.cid=l,this.size=f,yield{cid:l,unixfs:o,path:this.path,size:f}}}const BITS_PER_BYTE=7;var sparseArray=class{constructor(){this._bitArrays=[],this._data=[],this._length=0,this._changedLength=!1,this._changedData=!1}set(e,t){let n=this._internalPositionFor(e,!1);if(t===void 0)n!==-1&&(this._unsetInternalPos(n),this._unsetBit(e),this._changedLength=!0,this._changedData=!0);else{let o=!1;n===-1?(n=this._data.length,this._setBit(e),this._changedData=!0):o=!0,this._setInternalPos(n,e,t,o),this._changedLength=!0}}unset(e){this.set(e,void 0)}get(e){this._sortData();const t=this._internalPositionFor(e,!0);if(t!==-1)return this._data[t][1]}push(e){return this.set(this.length,e),this.length}get length(){if(this._sortData(),this._changedLength){const e=this._data[this._data.length-1];this._length=e?e[0]+1:0,this._changedLength=!1}return this._length}forEach(e){let t=0;for(;t=this._bitArrays.length)return-1;const o=this._bitArrays[n],a=e-n*BITS_PER_BYTE;if(!((o&1<0))return-1;const l=this._bitArrays.slice(0,n).reduce(popCountReduce,0),f=~(4294967295<=t)a.push(s);else if(a[0][0]<=t)a.unshift(s);else{const l=Math.round(a.length/2);this._data=a.slice(0,l).concat(s).concat(a.slice(l))}else this._data.push(s);this._changedData=!0,this._changedLength=!0}}_unsetInternalPos(e){this._data.splice(e,1)}_sortData(){this._changedData&&this._data.sort(sortInternal),this._changedData=!1}bitField(){const e=[];let t=8,n=0,o=0,a;const s=this._bitArrays.slice();for(;s.length||n;){n===0&&(a=s.shift(),n=7);const f=Math.min(n,t),h=~(255<>>f,n-=f,t-=f,(!t||!n&&!s.length)&&(e.push(o),o=0,t=8)}for(var l=e.length-1;l>0&&e[l]===0;l--)e.pop();return e}compactArray(){return this._sortData(),this._data.map(valueOnly)}};function popCountReduce(r,e){return r+popCount(e)}function popCount(r){let e=r;return e=e-(e>>1&1431655765),e=(e&858993459)+(e>>2&858993459),(e+(e>>4)&252645135)*16843009>>24}function sortInternal(r,e){return r[0]-e[0]}function valueOnly(r){return r[1]}const require$$1$1=getAugmentedNamespace(fromString$1),SparseArray=sparseArray,{fromString:uint8ArrayFromString}=require$$1$1;let Bucket$1=class Oe{constructor(e,t,n=0){this._options=e,this._popCount=0,this._parent=t,this._posAtParent=n,this._children=new SparseArray,this.key=null}async put(e,t){const n=await this._findNewBucketAndPos(e);await n.bucket._putAt(n,e,t)}async get(e){const t=await this._findChild(e);if(t)return t.value}async del(e){const t=await this._findPlace(e),n=t.bucket._at(t.pos);n&&n.key===e&&t.bucket._delAt(t.pos)}leafCount(){return this._children.compactArray().reduce((t,n)=>n instanceof Oe?t+n.leafCount():t+1,0)}childrenCount(){return this._children.length}onlyChild(){return this._children.get(0)}*eachLeafSeries(){const e=this._children.compactArray();for(const t of e)t instanceof Oe?yield*t.eachLeafSeries():yield t;return[]}serialize(e,t){const n=[];return t(this._children.reduce((o,a,s)=>(a&&(a instanceof Oe?o.push(a.serialize(e,t)):o.push(e(a,s))),o),n))}asyncTransform(e,t){return asyncTransformBucket(this,e,t)}toJSON(){return this.serialize(mapNode,reduceNodes)}prettyPrint(){return JSON.stringify(this.toJSON(),null," ")}tableSize(){return Math.pow(2,this._options.bits)}async _findChild(e){const t=await this._findPlace(e),n=t.bucket._at(t.pos);if(!(n instanceof Oe)&&n&&n.key===e)return n}async _findPlace(e){const t=this._options.hash(typeof e=="string"?uint8ArrayFromString(e):e),n=await t.take(this._options.bits),o=this._children.get(n);return o instanceof Oe?o._findPlace(t):{bucket:this,pos:n,hash:t,existingChild:o}}async _findNewBucketAndPos(e){const t=await this._findPlace(e);if(t.existingChild&&t.existingChild.key!==e){const n=new Oe(this._options,t.bucket,t.pos);t.bucket._putObjectAt(t.pos,n);const o=await n._findPlace(t.existingChild.hash);return o.bucket._putAt(o,t.existingChild.key,t.existingChild.value),n._findNewBucketAndPos(t.hash)}return t}_putAt(e,t,n){this._putObjectAt(e.pos,{key:t,value:n,hash:e.hash})}_putObjectAt(e,t){this._children.get(e)||this._popCount++,this._children.set(e,t)}_delAt(e){if(e===-1)throw new Error("Invalid position");this._children.get(e)&&this._popCount--,this._children.unset(e),this._level()}_level(){if(this._parent&&this._popCount<=1)if(this._popCount===1){const e=this._children.find(exists);if(e&&!(e instanceof Oe)){const t=e.hash;t.untake(this._options.bits);const n={pos:this._posAtParent,hash:t,bucket:this._parent};this._parent._putAt(n,e.key,e.value)}}else this._parent._delAt(this._posAtParent)}_at(e){return this._children.get(e)}};function exists(r){return!!r}function mapNode(r,e){return r.key}function reduceNodes(r){return r}async function asyncTransformBucket(r,e,t){const n=[];for(const o of r._children.compactArray())if(o instanceof Bucket$1)await asyncTransformBucket(o,e,t);else{const a=await e(o);n.push({bitField:r._children.bitField(),children:a})}return t(n)}var bucket=Bucket$1,consumableHash={exports:{}};const START_MASKS=[255,254,252,248,240,224,192,128],STOP_MASKS=[1,3,7,15,31,63,127,255];var consumableBuffer=class{constructor(e){this._value=e,this._currentBytePos=e.length-1,this._currentBitPos=7}availableBits(){return this._currentBitPos+1+this._currentBytePos*8}totalBits(){return this._value.length*8}take(e){let t=e,n=0;for(;t&&this._haveBits();){const o=this._value[this._currentBytePos],a=this._currentBitPos+1,s=Math.min(a,t),l=byteBitsToInt(o,a-s,s);n=(n<7;)this._currentBitPos-=8,this._currentBytePos+=1}_haveBits(){return this._currentBytePos>=0}};function byteBitsToInt(r,e,t){const n=maskFor(e,t);return(r&n)>>>e}function maskFor(r,e){return START_MASKS[r]&STOP_MASKS[Math.min(e+r-1,7)]}function concat(r,e){e||(e=r.reduce((o,a)=>o+a.length,0));const t=allocUnsafe(e);let n=0;for(const o of r)t.set(o,n),n+=o.length;return asUint8Array(t)}const concat$1=Object.freeze(Object.defineProperty({__proto__:null,concat},Symbol.toStringTag,{value:"Module"})),require$$1=getAugmentedNamespace(concat$1),ConsumableBuffer=consumableBuffer,{concat:uint8ArrayConcat}=require$$1;function wrapHash$1(r){function e(t){return t instanceof InfiniteHash?t:new InfiniteHash(t,r)}return e}class InfiniteHash{constructor(e,t){if(!(e instanceof Uint8Array))throw new Error("can only hash Uint8Arrays");this._value=e,this._hashFn=t,this._depth=-1,this._availableBits=0,this._currentBufferIndex=0,this._buffers=[]}async take(e){let t=e;for(;this._availableBits0;){const o=this._buffers[this._currentBufferIndex],a=Math.min(o.availableBits(),t),s=o.take(a);n=(n<0;){const n=this._buffers[this._currentBufferIndex],o=Math.min(n.totalBits()-n.availableBits(),t);n.untake(o),t-=o,this._availableBits+=o,this._currentBufferIndex>0&&n.totalBits()===n.availableBits()&&(this._depth--,this._currentBufferIndex--)}}async _produceMoreBits(){this._depth++;const e=this._depth?uint8ArrayConcat([this._value,Uint8Array.from([this._depth])]):this._value,t=await this._hashFn(e),n=new ConsumableBuffer(t);this._buffers.push(n),this._availableBits+=n.availableBits()}}consumableHash.exports=wrapHash$1;consumableHash.exports.InfiniteHash=InfiniteHash;var consumableHashExports=consumableHash.exports;const Bucket=bucket,wrapHash=consumableHashExports;function createHAMT(r){if(!r||!r.hashFn)throw new Error("please define an options.hashFn");const e={bits:r.bits||8,hash:wrapHash(r.hashFn)};return new Bucket(e)}var src$1={createHAMT,Bucket};class DirSharded extends Dir{constructor(e,t){super(e,t),this._bucket=src$1.createHAMT({hashFn:t.hamtHashFn,bits:t.hamtBucketBits})}async put(e,t){await this._bucket.put(e,t)}get(e){return this._bucket.get(e)}childCount(){return this._bucket.leafCount()}directChildrenCount(){return this._bucket.childrenCount()}onlyChild(){return this._bucket.onlyChild()}async*eachChildSeries(){for await(const{key:e,value:t}of this._bucket.eachLeafSeries())yield{key:e,child:t}}async*flush(e){for await(const t of flush(this._bucket,e,this,this.options))yield{...t,path:this.path}}}async function*flush(r,e,t,n){const o=r._children,a=[];let s=0;for(let b=0;b=t&&(o=await convertToShard(e,n));const a=o.parent;if(a){if(o!==e){if(r&&(r.parent=o),!o.parentKey)throw new Error("No parent key found");await a.put(o.parentKey,o)}return flatToShard(o,a,t,n)}return o}async function convertToShard(r,e){const t=new DirSharded({root:r.root,dir:!0,parent:r.parent,parentKey:r.parentKey,path:r.path,dirty:r.dirty,flat:!1,mtime:r.mtime,mode:r.mode},e);for await(const{key:n,child:o}of r.eachChildSeries())await t.put(n,o);return t}const toPathComponents=(r="")=>(r.trim().match(/([^\\/]|\\\/)+/g)||[]).filter(Boolean);async function addToTree(r,e,t){const n=toPathComponents(r.path||""),o=n.length-1;let a=e,s="";for(let l=0;le.next(),push:o=>{n.push(o)},next:()=>n.length?{done:!1,value:n.shift()}:e.next(),[t](){return this}}}var itPeekable=peekableIterator;const itPeekable$1=getDefaultExportFromCjs(itPeekable),map=async function*(r,e){for await(const t of r)yield e(t)};var itMap=map;const map$1=getDefaultExportFromCjs(itMap);function isBytes$1(r){return ArrayBuffer.isView(r)||r instanceof ArrayBuffer}function isBlob$2(r){return r.constructor&&(r.constructor.name==="Blob"||r.constructor.name==="File")&&typeof r.stream=="function"}function isFileObject(r){return typeof r=="object"&&(r.path||r.content)}const isReadableStream=r=>r&&typeof r.getReader=="function";async function*toAsyncIterable(r){yield r}async function normaliseContent(r){if(isBytes$1(r))return toAsyncIterable(toBytes(r));if(typeof r=="string"||r instanceof String)return toAsyncIterable(toBytes(r.toString()));if(isBlob$2(r))return blobToIt$1(r);if(isReadableStream(r)&&(r=browserStreamToIt(r)),Symbol.iterator in r||Symbol.asyncIterator in r){const e=itPeekable$1(r),{value:t,done:n}=await e.peek();if(n)return toAsyncIterable(new Uint8Array(0));if(e.push(t),Number.isInteger(t))return toAsyncIterable(Uint8Array.from(await all$1(e)));if(isBytes$1(t)||typeof t=="string"||t instanceof String)return map$1(e,toBytes)}throw errCode$1(new Error(`Unexpected input: ${r}`),"ERR_UNEXPECTED_INPUT")}function toBytes(r){return r instanceof Uint8Array?r:ArrayBuffer.isView(r)?new Uint8Array(r.buffer,r.byteOffset,r.byteLength):r instanceof ArrayBuffer?new Uint8Array(r):Array.isArray(r)?Uint8Array.from(r):fromString(r.toString())}async function*normaliseCandidateSingle(r,e){if(r==null)throw errCode$1(new Error(`Unexpected input: ${r}`),"ERR_UNEXPECTED_INPUT");if(typeof r=="string"||r instanceof String){yield toFileObject$1(r.toString(),e);return}if(isBytes$1(r)||isBlob$2(r)){yield toFileObject$1(r,e);return}if(isReadableStream(r)&&(r=browserStreamToIt(r)),Symbol.iterator in r||Symbol.asyncIterator in r){const t=itPeekable$1(r),{value:n,done:o}=await t.peek();if(o){yield{content:[]};return}if(t.push(n),Number.isInteger(n)||isBytes$1(n)||typeof n=="string"||n instanceof String){yield toFileObject$1(t,e);return}throw errCode$1(new Error("Unexpected input: multiple items passed - if you are using ipfs.add, please use ipfs.addAll instead"),"ERR_UNEXPECTED_INPUT")}if(isFileObject(r)){yield toFileObject$1(r,e);return}throw errCode$1(new Error('Unexpected input: cannot convert "'+typeof r+'" into ImportCandidate'),"ERR_UNEXPECTED_INPUT")}async function toFileObject$1(r,e){const{path:t,mode:n,mtime:o,content:a}=r,s={path:t||"",mode:parseMode(n),mtime:parseMtime(o)};return a?s.content=await e(a):t||(s.content=await e(r)),s}function normaliseInput$1(r){return normaliseCandidateSingle(r,normaliseContent)}async function*normaliseCandidateMultiple(r,e){if(typeof r=="string"||r instanceof String||isBytes$1(r)||isBlob$2(r)||r._readableState)throw errCode$1(new Error("Unexpected input: single item passed - if you are using ipfs.addAll, please use ipfs.add instead"),"ERR_UNEXPECTED_INPUT");if(isReadableStream(r)&&(r=browserStreamToIt(r)),Symbol.iterator in r||Symbol.asyncIterator in r){const t=itPeekable$1(r),{value:n,done:o}=await t.peek();if(o){yield*[];return}if(t.push(n),Number.isInteger(n))throw errCode$1(new Error("Unexpected input: single item passed - if you are using ipfs.addAll, please use ipfs.add instead"),"ERR_UNEXPECTED_INPUT");if(n._readableState){yield*map$1(t,a=>toFileObject({content:a},e));return}if(isBytes$1(n)){yield toFileObject({content:t},e);return}if(isFileObject(n)||n[Symbol.iterator]||n[Symbol.asyncIterator]||isReadableStream(n)||isBlob$2(n)){yield*map$1(t,a=>toFileObject(a,e));return}}throw isFileObject(r)?errCode$1(new Error("Unexpected input: single item passed - if you are using ipfs.addAll, please use ipfs.add instead"),"ERR_UNEXPECTED_INPUT"):errCode$1(new Error("Unexpected input: "+typeof r),"ERR_UNEXPECTED_INPUT")}async function toFileObject(r,e){const{path:t,mode:n,mtime:o,content:a}=r,s={path:t||"",mode:parseMode(n),mtime:parseMtime(o)};return a?s.content=await e(a):t||(s.content=await e(r)),s}function normaliseInput(r){return normaliseCandidateMultiple(r,normaliseContent)}function isBytes(r){return ArrayBuffer.isView(r)||r instanceof ArrayBuffer}function isBlob$1(r){return!!r.constructor&&(r.constructor.name==="Blob"||r.constructor.name==="File")&&typeof r.stream=="function"}function isSingle(r){return typeof r=="string"||r instanceof String||isBytes(r)||isBlob$1(r)||"_readableState"in r}function getNormaliser(r){return isSingle(r)?normaliseInput$1(r):normaliseInput(r)}const drain=async r=>{for await(const e of r);};var itDrain=drain;const drain$1=getDefaultExportFromCjs(itDrain),filter=async function*(r,e){for await(const t of r)await e(t)&&(yield t)};var itFilter=filter;const filter$1=getDefaultExportFromCjs(itFilter),take=async function*(r,e){let t=0;if(!(e<1)){for await(const n of r)if(yield n,t++,t===e)return}};var itTake=take;const take$1=getDefaultExportFromCjs(itTake),sortAll=(r,e)=>async function*(){yield*(await all$1(r)).sort(e)}();class BaseBlockstore{open(){return Promise.reject(new Error(".open is not implemented"))}close(){return Promise.reject(new Error(".close is not implemented"))}put(e,t,n){return Promise.reject(new Error(".put is not implemented"))}get(e,t){return Promise.reject(new Error(".get is not implemented"))}has(e,t){return Promise.reject(new Error(".has is not implemented"))}delete(e,t){return Promise.reject(new Error(".delete is not implemented"))}async*putMany(e,t={}){for await(const{key:n,value:o}of e)await this.put(n,o,t),yield{key:n,value:o}}async*getMany(e,t={}){for await(const n of e)yield this.get(n,t)}async*deleteMany(e,t={}){for await(const n of e)await this.delete(n,t),yield n}batch(){let e=[],t=[];return{put(n,o){e.push({key:n,value:o})},delete(n){t.push(n)},commit:async n=>{await drain$1(this.putMany(e,n)),e=[],await drain$1(this.deleteMany(t,n)),t=[]}}}async*_all(e,t){throw new Error("._all is not implemented")}async*_allKeys(e,t){throw new Error("._allKeys is not implemented")}query(e,t){let n=this._all(e,t);if(e.prefix!=null&&(n=filter$1(n,o=>o.key.toString().startsWith(e.prefix||""))),Array.isArray(e.filters)&&(n=e.filters.reduce((o,a)=>filter$1(o,a),n)),Array.isArray(e.orders)&&(n=e.orders.reduce((o,a)=>sortAll(o,a),n)),e.offset!=null){let o=0;n=filter$1(n,()=>o++>=(e.offset||0))}return e.limit!=null&&(n=take$1(n,e.limit)),n}queryKeys(e,t){let n=this._allKeys(e,t);if(e.prefix!=null&&(n=filter$1(n,o=>o.toString().startsWith(e.prefix||""))),Array.isArray(e.filters)&&(n=e.filters.reduce((o,a)=>filter$1(o,a),n)),Array.isArray(e.orders)&&(n=e.orders.reduce((o,a)=>sortAll(o,a),n)),e.offset!=null){let o=0;n=filter$1(n,()=>o++>=e.offset)}return e.limit!=null&&(n=take$1(n,e.limit)),n}}class MemoryBlockStore extends BaseBlockstore{constructor(){super(),this.store=new Map}async*blocks(){for(const[e,t]of this.store.entries())yield{cid:CID.parse(e),bytes:t}}put(e,t){return this.store.set(e.toString(),t),Promise.resolve()}get(e){const t=this.store.get(e.toString());if(!t)throw new Error(`block with cid ${e.toString()} no found`);return Promise.resolve(t)}has(e){return Promise.resolve(this.store.has(e.toString()))}close(){return this.store.clear(),Promise.resolve()}}const unixfsImporterOptionsDefault={cidVersion:1,chunker:"fixed",maxChunkSize:262144,hasher:sha256,rawLeaves:!0,wrapWithDirectory:!0,maxChildrenPerNode:174};async function pack({input:r,blockstore:e,hasher:t,maxChunkSize:n,maxChildrenPerNode:o,wrapWithDirectory:a,rawLeaves:s}){if(!r||Array.isArray(r)&&!r.length)throw new Error("missing input file(s)");const l=e||new MemoryBlockStore,f=await last$1(pipe$1(getNormaliser(r),E=>importer(E,l,{...unixfsImporterOptionsDefault,hasher:t||unixfsImporterOptionsDefault.hasher,maxChunkSize:n||unixfsImporterOptionsDefault.maxChunkSize,maxChildrenPerNode:o||unixfsImporterOptionsDefault.maxChildrenPerNode,wrapWithDirectory:a===!1?!1:unixfsImporterOptionsDefault.wrapWithDirectory,rawLeaves:s??unixfsImporterOptionsDefault.rawLeaves})));if(!f||!f.cid)throw new Error("given input could not be parsed correctly");const h=f.cid,{writer:d,out:m}=await CarWriter.create([h]),_=m[Symbol.asyncIterator]();let b;const w=async()=>{for await(const E of l.blocks())await d.put(E);await d.close(),e||await l.close()},y={[Symbol.asyncIterator](){if(b!=null)throw new Error("Multiple iterator not supported");return b=w(),{async next(){const E=await _.next();return E.done&&await b,E}}}};return{root:h,out:y}}var throttledQueue$1={exports:{}};(function(r,e){Object.defineProperty(e,"__esModule",{value:!0});function t(n,o,a){a===void 0&&(a=!1),a&&(o=o/n,n=1);var s=[],l=0,f=0,h,d=function(){var m=l+o,_=Date.now();if(_o&&(l=y,f=0),f++{const t=e.gateway||GATEWAY;return r=new URL(String(r)),r.protocol==="ipfs:"?new URL(`/ipfs/${r.href.slice(7)}`,t):r};class BlockstoreCarReader{constructor(e,t,n){this._version=e,this._roots=t,this._blockstore=n}get version(){return this._version}get blockstore(){return this._blockstore}async getRoots(){return this._roots}has(e){return this._blockstore.has(e)}async get(e){const t=await this._blockstore.get(e);return{cid:e,bytes:t}}blocks(){return this._blockstore.blocks()}async*cids(){for await(const e of this.blocks())yield e.cid}}class Token{constructor(e,t,n){this.ipnft=e,this.url=t,this.data=n,Object.defineProperties(this,{ipnft:{enumerable:!0,writable:!1},url:{enumerable:!0,writable:!1},data:{enumerable:!1,writable:!1}})}embed(){return Token.embed(this)}static embed({data:e}){return embed(e,{gateway:GATEWAY})}static async encode(e){var h,d;const t=new Blockstore,[n,o]=mapTokenInputBlobs(e),a=JSON.parse(JSON.stringify(o)),s=JSON.parse(JSON.stringify(o));for(const[m,_]of n.entries()){const b=_.name||"blob";let w;parseInt((d=(h=globalThis.process)==null?void 0:h.versions)==null?void 0:d.node)>18?w=new Uint8Array(await _.arrayBuffer()):w=_.stream();const{root:y}=await pack({input:[{path:b,content:w}],blockstore:t,wrapWithDirectory:!0}),E=new URL(`ipfs://${y}/${b}`),T=m.split(".");setIn(a,T,E),setIn(s,T,y)}const{root:l}=await pack({input:[{path:"metadata.json",content:JSON.stringify(a)}],blockstore:t,wrapWithDirectory:!1}),f=await encode$4({value:{...s,"metadata.json":l,type:"nft"},codec:dagCbor,hasher:sha256});return await t.put(f.cid,f.bytes),{cid:f.cid,token:new Token(f.cid.toString(),`ipfs://${f.cid}/metadata.json`,a),car:new BlockstoreCarReader(1,[f.cid],t)}}}const embed=(r,e)=>mapWith(r,isURL,embedURL,e),isURL=r=>r instanceof URL,embedURL=(r,e)=>[r,toGatewayURL(e,r)],isObject=r=>typeof r=="object"&&r!=null,encodeBlob=(r,e,t)=>(r.set(t.join("."),e),[r,void 0]),isBlob=r=>r instanceof Blob$1,mapTokenInputBlobs=r=>mapValueWith(r,isBlob,encodeBlob,new Map,[]),mapWith=(r,e,t,n)=>{const[,o]=mapValueWith(r,e,t,n,[]);return o},mapValueWith=(r,e,t,n,o)=>e(r,n,o)?t(n,r,o):Array.isArray(r)?mapArrayWith(r,e,t,n,o):isObject(r)?mapObjectWith(r,e,t,n,o):[n,r],mapObjectWith=(r,e,t,n,o)=>{let a=n;const s={};for(const[l,f]of Object.entries(r)){const[h,d]=mapValueWith(f,e,t,a,[...o,l]);s[l]=d,a=h}return[a,s]},mapArrayWith=(r,e,t,n,o)=>{const a=[];let s=n;for(const[l,f]of r.entries()){const[h,d]=mapValueWith(f,e,t,s,[...o,l]);a[l]=d,s=h}return[s,a]},setIn=(r,e,t)=>{const n=e.length-1;let o=r;for(let[a,s]of e.entries())a===n?o[s]=t:o=o[s]},MAX_STORE_RETRIES=5,MAX_CONCURRENT_UPLOADS=3,MAX_CHUNK_SIZE=1024*1024*50,RATE_LIMIT_REQUESTS=30,RATE_LIMIT_PERIOD=10*1e3;function createRateLimiter(){const r=throttledQueue(RATE_LIMIT_REQUESTS,RATE_LIMIT_PERIOD);return()=>r(()=>{})}const globalRateLimiter=createRateLimiter();class NFTStorage{constructor({token:e,did:t,endpoint:n=new URL("https://api.nft.storage"),rateLimiter:o}){this.token=e,this.endpoint=n,this.rateLimiter=o||createRateLimiter(),this.did=t}static auth({token:e,did:t}){if(!e)throw new Error("missing token");return{Authorization:`Bearer ${e}`,"X-Client":"nft.storage/js",...t?{"x-agent-did":t}:{}}}static async storeBlob(e,t,n){const o=new Blockstore;let a;try{const{cid:s,car:l}=await NFTStorage.encodeBlob(t,{blockstore:o});await NFTStorage.storeCar(e,l,n),a=s.toString()}finally{await o.close()}return a}static async storeCar({endpoint:e,rateLimiter:t=globalRateLimiter,...n},o,{onStoredChunk:a,maxRetries:s,maxChunkSize:l,decoders:f,signal:h}={}){const d=new URL("upload/",e),m={...NFTStorage.auth(n),"Content-Type":"application/car"},_=l||MAX_CHUNK_SIZE,b=o instanceof Blob$1?await TreewalkCarSplitter.fromBlob(o,_,{decoders:f}):new TreewalkCarSplitter(o,_,{decoders:f}),w=transform$1(MAX_CONCURRENT_UPLOADS,async function(E){var A,S;const T=[];for await(const I of E)T.push(I);const N=new Blob$1(T,{type:"application/car"});let D=N;parseInt((S=(A=globalThis.process)==null?void 0:A.versions)==null?void 0:S.node)>18&&(D=await D.arrayBuffer());const C=await pRetry$1(async()=>{await t();let I;try{I=await fetch$1(d.toString(),{method:"POST",headers:m,body:D,signal:h})}catch(x){throw h&&h.aborted?new AbortError_1(x):x}if(I.status===429)throw new Error("rate limited");const L=await I.json();if(!L.ok)throw I.status===401?new AbortError_1(L.error.message):new Error(L.error.message);return L.value.cid},{retries:s??MAX_STORE_RETRIES});return a&&a(N.size),C});let y;for await(const E of w(b.cars()))y=E;return y}static async storeDirectory(e,t,n){const o=new Blockstore;let a;try{const{cid:s,car:l}=await NFTStorage.encodeDirectory(t,{blockstore:o});await NFTStorage.storeCar(e,l,n),a=s.toString()}finally{await o.close()}return a}static async store(e,t,n){const{token:o,car:a}=await NFTStorage.encodeNFT(t);return await NFTStorage.storeCar(e,a,n),o}static async status({endpoint:e,rateLimiter:t=globalRateLimiter,...n},o,a){const s=new URL(`${o}/`,e);await t();const l=await fetch$1(s.toString(),{method:"GET",headers:NFTStorage.auth(n),signal:a&&a.signal});if(l.status===429)throw new Error("rate limited");const f=await l.json();if(f.ok)return{cid:f.value.cid,deals:decodeDeals(f.value.deals),size:f.value.size,pin:decodePin(f.value.pin),created:new Date(f.value.created)};throw new Error(f.error.message)}static async check({endpoint:e,rateLimiter:t=globalRateLimiter},n,o){const a=new URL(`check/${n}/`,e);await t();const s=await fetch$1(a.toString(),{signal:o&&o.signal});if(s.status===429)throw new Error("rate limited");const l=await s.json();if(l.ok)return{cid:l.value.cid,deals:decodeDeals(l.value.deals),pin:l.value.pin};throw new Error(l.error.message)}static async delete({endpoint:e,rateLimiter:t=globalRateLimiter,...n},o,a){const s=new URL(`${o}/`,e);await t();const l=await fetch$1(s.toString(),{method:"DELETE",headers:NFTStorage.auth(n),signal:a&&a.signal});if(l.status===429)throw new Error("rate limited");const f=await l.json();if(!f.ok)throw new Error(f.error.message)}static async encodeNFT(e){return validateERC1155(e),Token.encode(e)}static async encodeBlob(e,{blockstore:t}={}){if(e.size===0)throw new Error("Content size is 0, make sure to provide some content");return packCar([toImportCandidate("blob",e)],{blockstore:t,wrapWithDirectory:!1})}static async encodeDirectory(e,{blockstore:t}={}){let n=0;const o=pipe$1(e,async function*(s){for await(const l of s)yield toImportCandidate(l.name,l),n+=l.size}),a=await packCar(o,{blockstore:t,wrapWithDirectory:!0});if(n===0)throw new Error("Total size of files should exceed 0, make sure to provide some content");return a}storeBlob(e,t){return NFTStorage.storeBlob(this,e,t)}storeCar(e,t){return NFTStorage.storeCar(this,e,t)}storeDirectory(e,t){return NFTStorage.storeDirectory(this,e,t)}status(e,t){return NFTStorage.status(this,e,t)}delete(e,t){return NFTStorage.delete(this,e,t)}check(e,t){return NFTStorage.check(this,e,t)}store(e,t){return NFTStorage.store(this,e,t)}}const validateERC1155=({name:r,description:e,image:t,decimals:n})=>{if(typeof r!="string")throw new TypeError("string property `name` identifying the asset is required");if(typeof e!="string")throw new TypeError("string property `description` describing asset is required");if(t instanceof Blob$1)t.type.startsWith("image/")||console.warn(`According to ERC721 Metadata JSON Schema 'image' must have 'image/*' mime type. - -For better interoperability we would highly recommend storing content with different mime type under 'properties' namespace e.g. \`properties: { video: file }\` and using 'image' field for storing a preview image for it instead. - -For more context please see ERC-721 specification https://eips.ethereum.org/EIPS/eip-721`);else throw new TypeError("property `image` must be a Blob or File object");if(typeof n<"u"&&typeof n!="number")throw new TypeError("property `decimals` must be an integer value")},packCar=async(r,{blockstore:e,wrapWithDirectory:t}={})=>{e=e||new Blockstore;const{root:n}=await pack({input:r,blockstore:e,wrapWithDirectory:t}),o=new BlockstoreCarReader(1,[n],e);return{cid:n,car:o}},decodeDeals=r=>r.map(e=>{const{dealActivation:t,dealExpiration:n,lastChanged:o}={dealExpiration:null,dealActivation:null,...e};return{...e,lastChanged:new Date(o),...t&&{dealActivation:new Date(t)},...n&&{dealExpiration:new Date(n)}}}),decodePin=r=>({...r,created:new Date(r.created)});function toImportCandidate(r,e){let t;return{path:r,get content(){return t=t||e.stream(),t}}}const client=new NFTStorage({token:PUBLIC_NFT_STORAGE_API_KEY}),storeMetaData=async r=>{try{const e=JSON.stringify(r),t=new Blob([e],{type:"application/json"});return[await client.storeBlob(t),null]}catch(e){return console.error(e),[null,e]}},createReview=async r=>{try{let e="";jwtToken.subscribe(a=>e=a);const t={method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${e}`},body:JSON.stringify(r)};return await(await fetch(`${PUBLIC_GATEWAY_URL}/delegateReviewCreation`,t)).json()}catch(e){return console.error(e),[null,e]}};function create_else_block$1(r){let e,t,n;return{c(){e=element("a"),t=element("h1"),n=text("Get Authenticated"),this.h()},l(o){e=claim_element(o,"A",{href:!0,class:!0});var a=children(e);t=claim_element(a,"H1",{});var s=children(t);n=claim_text(s,"Get Authenticated"),s.forEach(detach),a.forEach(detach),this.h()},h(){attr(e,"href","/Onboarding"),attr(e,"class","btn")},m(o,a){insert_hydration(o,e,a),append_hydration(e,t),append_hydration(t,n)},p:noop$2,d(o){o&&detach(e)}}}function create_if_block$2(r){let e,t,n,o,a,s,l,f,h,d,m,_,b,w,y,E,T,N,D,C,A,S,I,L,x,R,M,K,Y,ee,F,He,fe,Ve,he,We,G,q,Ue,$e,Z,Ne,le,de,_e,te,Me,ce,pe,ye,ne,je,ae,Ge,ze,W,re,ie,se,qe,Q,Ye,p,c,u,g,v,k,B,U,j,V,z,H,be,et,Ke,we,tt,Ze,X,me,rt,ve,nt,Ee,it,De,ot,Te,at,Ae,st,Xe,xe,lt,Je,J,ge,ct,ke,ut,Se,ft,Ce,ht,Be,dt,Ie,pt,Qe,Le,Re,yt,mt,gt;return{c(){e=element("h3"),t=text("Write Your Reviews Here"),n=space(),o=element("label"),a=text("URL"),s=space(),l=element("input"),f=space(),h=element("label"),d=text("CATEGORY"),m=space(),_=element("select"),b=element("option"),w=text("Pick a category"),y=element("option"),E=text("Tooling"),T=element("option"),N=text("Infra"),D=element("option"),C=text("Bridges"),A=element("option"),S=text("Launchpads"),I=element("option"),L=text("Social"),x=element("option"),R=text("Marketplaces"),M=element("option"),K=text("Wallets"),Y=element("option"),ee=text("Stablecoins"),F=element("option"),He=text("NFT Tooling"),fe=element("option"),Ve=text("Gaming"),he=element("option"),We=text("DeFi"),G=space(),q=element("label"),Ue=text("RATING"),$e=space(),Z=element("input"),Ne=space(),le=element("label"),de=text("TITLE"),_e=space(),te=element("input"),Me=space(),ce=element("label"),pe=text("DESCRIPTION"),ye=space(),ne=element("textarea"),je=space(),ae=element("label"),Ge=text("SITE TYPE"),ze=space(),W=element("select"),re=element("option"),ie=text("Pick a site type"),se=element("option"),qe=text("Blog"),Q=element("option"),Ye=text("Common Website"),p=element("option"),c=text("Company Portfolio"),u=element("option"),g=text("DeFi Project"),v=element("option"),k=text("E-commerce"),B=element("option"),U=text("Personal Portfolio"),j=element("option"),V=text("Social Media"),z=element("option"),H=text("Software as a Service"),be=element("option"),et=text("Web3 Wallet"),Ke=space(),we=element("label"),tt=text("SITE TAG"),Ze=space(),X=element("select"),me=element("option"),rt=text("Pick a site tag"),ve=element("option"),nt=text("Scam"),Ee=element("option"),it=text("Fake"),De=element("option"),ot=text("Stereotype"),Te=element("option"),at=text("Hate"),Ae=element("option"),st=text("Genuine"),Xe=space(),xe=element("label"),lt=text("SITE SAFETY"),Je=space(),J=element("select"),ge=element("option"),ct=text("Pick a site safety"),ke=element("option"),ut=text("Safe"),Se=element("option"),ft=text("Phishing"),Ce=element("option"),ht=text("Adware"),Be=element("option"),dt=text("Malware"),Ie=element("option"),pt=text("Spyware"),Qe=space(),Le=element("div"),Re=element("button"),yt=text("Submit"),this.h()},l(O){e=claim_element(O,"H3",{class:!0});var P=children(e);t=claim_text(P,"Write Your Reviews Here"),P.forEach(detach),n=claim_space(O),o=claim_element(O,"LABEL",{for:!0,class:!0});var _t=children(o);a=claim_text(_t,"URL"),_t.forEach(detach),s=claim_space(O),l=claim_element(O,"INPUT",{id:!0,type:!0,class:!0}),f=claim_space(O),h=claim_element(O,"LABEL",{for:!0,class:!0});var bt=children(h);d=claim_text(bt,"CATEGORY"),bt.forEach(detach),m=claim_space(O),_=claim_element(O,"SELECT",{id:!0,class:!0});var oe=children(_);b=claim_element(oe,"OPTION",{});var wt=children(b);w=claim_text(wt,"Pick a category"),wt.forEach(detach),y=claim_element(oe,"OPTION",{});var vt=children(y);E=claim_text(vt,"Tooling"),vt.forEach(detach),T=claim_element(oe,"OPTION",{});var Et=children(T);N=claim_text(Et,"Infra"),Et.forEach(detach),D=claim_element(oe,"OPTION",{});var Dt=children(D);C=claim_text(Dt,"Bridges"),Dt.forEach(detach),A=claim_element(oe,"OPTION",{});var Tt=children(A);S=claim_text(Tt,"Launchpads"),Tt.forEach(detach),I=claim_element(oe,"OPTION",{});var At=children(I);L=claim_text(At,"Social"),At.forEach(detach),x=claim_element(oe,"OPTION",{});var xt=children(x);R=claim_text(xt,"Marketplaces"),xt.forEach(detach),M=claim_element(oe,"OPTION",{});var kt=children(M);K=claim_text(kt,"Wallets"),kt.forEach(detach),Y=claim_element(oe,"OPTION",{});var St=children(Y);ee=claim_text(St,"Stablecoins"),St.forEach(detach),F=claim_element(oe,"OPTION",{});var Ct=children(F);He=claim_text(Ct,"NFT Tooling"),Ct.forEach(detach),fe=claim_element(oe,"OPTION",{});var Bt=children(fe);Ve=claim_text(Bt,"Gaming"),Bt.forEach(detach),he=claim_element(oe,"OPTION",{});var It=children(he);We=claim_text(It,"DeFi"),It.forEach(detach),oe.forEach(detach),G=claim_space(O),q=claim_element(O,"LABEL",{for:!0,class:!0});var Ot=children(q);Ue=claim_text(Ot,"RATING"),Ot.forEach(detach),$e=claim_space(O),Z=claim_element(O,"INPUT",{id:!0,type:!0,min:!0,max:!0,placeholder:!0,class:!0}),Ne=claim_space(O),le=claim_element(O,"LABEL",{for:!0,class:!0});var $t=children(le);de=claim_text($t,"TITLE"),$t.forEach(detach),_e=claim_space(O),te=claim_element(O,"INPUT",{id:!0,type:!0,placeholder:!0,class:!0}),Me=claim_space(O),ce=claim_element(O,"LABEL",{for:!0,class:!0});var Nt=children(ce);pe=claim_text(Nt,"DESCRIPTION"),Nt.forEach(detach),ye=claim_space(O),ne=claim_element(O,"TEXTAREA",{id:!0,placeholder:!0,class:!0}),children(ne).forEach(detach),je=claim_space(O),ae=claim_element(O,"LABEL",{for:!0,class:!0});var Lt=children(ae);Ge=claim_text(Lt,"SITE TYPE"),Lt.forEach(detach),ze=claim_space(O),W=claim_element(O,"SELECT",{id:!0,class:!0});var ue=children(W);re=claim_element(ue,"OPTION",{});var Rt=children(re);ie=claim_text(Rt,"Pick a site type"),Rt.forEach(detach),se=claim_element(ue,"OPTION",{});var Pt=children(se);qe=claim_text(Pt,"Blog"),Pt.forEach(detach),Q=claim_element(ue,"OPTION",{});var Ft=children(Q);Ye=claim_text(Ft,"Common Website"),Ft.forEach(detach),p=claim_element(ue,"OPTION",{});var Ut=children(p);c=claim_text(Ut,"Company Portfolio"),Ut.forEach(detach),u=claim_element(ue,"OPTION",{});var Mt=children(u);g=claim_text(Mt,"DeFi Project"),Mt.forEach(detach),v=claim_element(ue,"OPTION",{});var jt=children(v);k=claim_text(jt,"E-commerce"),jt.forEach(detach),B=claim_element(ue,"OPTION",{});var zt=children(B);U=claim_text(zt,"Personal Portfolio"),zt.forEach(detach),j=claim_element(ue,"OPTION",{});var Ht=children(j);V=claim_text(Ht,"Social Media"),Ht.forEach(detach),z=claim_element(ue,"OPTION",{});var Vt=children(z);H=claim_text(Vt,"Software as a Service"),Vt.forEach(detach),be=claim_element(ue,"OPTION",{});var Wt=children(be);et=claim_text(Wt,"Web3 Wallet"),Wt.forEach(detach),ue.forEach(detach),Ke=claim_space(O),we=claim_element(O,"LABEL",{for:!0,class:!0});var Gt=children(we);tt=claim_text(Gt,"SITE TAG"),Gt.forEach(detach),Ze=claim_space(O),X=claim_element(O,"SELECT",{id:!0,class:!0});var Pe=children(X);me=claim_element(Pe,"OPTION",{});var qt=children(me);rt=claim_text(qt,"Pick a site tag"),qt.forEach(detach),ve=claim_element(Pe,"OPTION",{});var Yt=children(ve);nt=claim_text(Yt,"Scam"),Yt.forEach(detach),Ee=claim_element(Pe,"OPTION",{});var Kt=children(Ee);it=claim_text(Kt,"Fake"),Kt.forEach(detach),De=claim_element(Pe,"OPTION",{});var Zt=children(De);ot=claim_text(Zt,"Stereotype"),Zt.forEach(detach),Te=claim_element(Pe,"OPTION",{});var Xt=children(Te);at=claim_text(Xt,"Hate"),Xt.forEach(detach),Ae=claim_element(Pe,"OPTION",{});var Jt=children(Ae);st=claim_text(Jt,"Genuine"),Jt.forEach(detach),Pe.forEach(detach),Xe=claim_space(O),xe=claim_element(O,"LABEL",{for:!0,class:!0});var Qt=children(xe);lt=claim_text(Qt,"SITE SAFETY"),Qt.forEach(detach),Je=claim_space(O),J=claim_element(O,"SELECT",{id:!0,class:!0});var Fe=children(J);ge=claim_element(Fe,"OPTION",{});var er=children(ge);ct=claim_text(er,"Pick a site safety"),er.forEach(detach),ke=claim_element(Fe,"OPTION",{});var tr=children(ke);ut=claim_text(tr,"Safe"),tr.forEach(detach),Se=claim_element(Fe,"OPTION",{});var rr=children(Se);ft=claim_text(rr,"Phishing"),rr.forEach(detach),Ce=claim_element(Fe,"OPTION",{});var nr=children(Ce);ht=claim_text(nr,"Adware"),nr.forEach(detach),Be=claim_element(Fe,"OPTION",{});var ir=children(Be);dt=claim_text(ir,"Malware"),ir.forEach(detach),Ie=claim_element(Fe,"OPTION",{});var ar=children(Ie);pt=claim_text(ar,"Spyware"),ar.forEach(detach),Fe.forEach(detach),Qe=claim_space(O),Le=claim_element(O,"DIV",{class:!0});var sr=children(Le);Re=claim_element(sr,"BUTTON",{class:!0});var lr=children(Re);yt=claim_text(lr,"Submit"),lr.forEach(detach),sr.forEach(detach),this.h()},h(){attr(e,"class","font-bold text-2xl mt-5"),attr(o,"for","websiteUrl"),attr(o,"class","text-md mt-5 mb-3 block"),attr(l,"id","websiteUrl"),attr(l,"type","text"),l.value=r[3],attr(l,"class","input input-bordered input-success dark:bg-gray-900 dark:text-white dark:border-zinc-600 input-md w-full max-w-xs"),l.disabled=!0,attr(h,"for","category"),attr(h,"class","text-md mt-3 mb-3 block"),b.disabled=!0,b.selected=!0,b.__value="Pick a category",b.value=b.__value,y.__value="tooling",y.value=y.__value,T.__value="infra",T.value=T.__value,D.__value="bridges",D.value=D.__value,A.__value="launchpads",A.value=A.__value,I.__value="social",I.value=I.__value,x.__value="marketplaces",x.value=x.__value,M.__value="wallets",M.value=M.__value,Y.__value="stablecoins",Y.value=Y.__value,F.__value="nft tooling",F.value=F.__value,fe.__value="gaming",fe.value=fe.__value,he.__value="defi",he.value=he.__value,attr(_,"id","siteTag"),attr(_,"class","select select-success w-full max-w-xs dark:bg-gray-900 dark:text-white dark:border-zinc-600"),_.required=!0,r[4]===void 0&&add_render_callback(()=>r[14].call(_)),attr(q,"for","rating"),attr(q,"class","text-md mt-3 mb-3 block"),attr(Z,"id","rating"),attr(Z,"type","number"),attr(Z,"min",0),attr(Z,"max",10),attr(Z,"placeholder","rating"),attr(Z,"class","textarea textarea-success dark:bg-gray-900 dark:text-white dark:border-zinc-600 input-md w-full max-w-xs"),Z.required=!0,attr(le,"for","title"),attr(le,"class","text-md mt-5 mb-3 block"),attr(te,"id","title"),attr(te,"type","text"),attr(te,"placeholder","TITLE"),attr(te,"class","input input-bordered input-success dark:bg-gray-900 dark:text-white dark:border-zinc-600 input-md w-full max-w-xs"),te.required=!0,attr(ce,"for","description"),attr(ce,"class","text-md mt-3 mb-3 block"),attr(ne,"id","description"),attr(ne,"placeholder","DESCRIPTION"),attr(ne,"class","textarea textarea-success dark:bg-gray-900 dark:text-white dark:border-zinc-600 input-md w-full max-w-xs"),ne.required=!0,attr(ae,"for","siteType"),attr(ae,"class","text-md mt-3 mb-3 block"),re.disabled=!0,re.selected=!0,re.__value="Pick a site type",re.value=re.__value,se.__value="blog",se.value=se.__value,Q.__value="common website",Q.value=Q.__value,p.__value="company portfolio",p.value=p.__value,u.__value="defi project",u.value=u.__value,v.__value="ecommerce",v.value=v.__value,B.__value="personal portfolio",B.value=B.__value,j.__value="social media",j.value=j.__value,z.__value="software as a Service",z.value=z.__value,be.__value="web3 wallet",be.value=be.__value,attr(W,"id","siteType"),attr(W,"class","select select-success w-full max-w-xs dark:bg-gray-900 dark:text-white dark:border-zinc-600"),W.required=!0,r[7]===void 0&&add_render_callback(()=>r[18].call(W)),attr(we,"for","siteTag"),attr(we,"class","text-md mt-3 mb-3 block"),me.disabled=!0,me.selected=!0,me.__value="Pick a site tag",me.value=me.__value,ve.__value="scam",ve.value=ve.__value,Ee.__value="fake",Ee.value=Ee.__value,De.__value="stereotype",De.value=De.__value,Te.__value="hate",Te.value=Te.__value,Ae.__value="genuine",Ae.value=Ae.__value,attr(X,"id","siteTag"),attr(X,"class","select select-success w-full max-w-xs dark:bg-gray-900 dark:text-white dark:border-zinc-600"),X.required=!0,r[5]===void 0&&add_render_callback(()=>r[19].call(X)),attr(xe,"for","siteSafety"),attr(xe,"class","text-md mt-3 mb-3 block"),ge.disabled=!0,ge.selected=!0,ge.__value="Pick a site safety",ge.value=ge.__value,ke.__value="safe",ke.value=ke.__value,Se.__value="phishing",Se.value=Se.__value,Ce.__value="adware",Ce.value=Ce.__value,Be.__value="malware",Be.value=Be.__value,Ie.__value="spyware",Ie.value=Ie.__value,attr(J,"id","siteSafety"),attr(J,"class","select select-success w-full max-w-xs dark:bg-gray-900 dark:text-white dark:border-zinc-600"),J.required=!0,r[6]===void 0&&add_render_callback(()=>r[20].call(J)),attr(Re,"class","btn"),attr(Le,"class","modal-action")},m(O,P){insert_hydration(O,e,P),append_hydration(e,t),insert_hydration(O,n,P),insert_hydration(O,o,P),append_hydration(o,a),insert_hydration(O,s,P),insert_hydration(O,l,P),insert_hydration(O,f,P),insert_hydration(O,h,P),append_hydration(h,d),insert_hydration(O,m,P),insert_hydration(O,_,P),append_hydration(_,b),append_hydration(b,w),append_hydration(_,y),append_hydration(y,E),append_hydration(_,T),append_hydration(T,N),append_hydration(_,D),append_hydration(D,C),append_hydration(_,A),append_hydration(A,S),append_hydration(_,I),append_hydration(I,L),append_hydration(_,x),append_hydration(x,R),append_hydration(_,M),append_hydration(M,K),append_hydration(_,Y),append_hydration(Y,ee),append_hydration(_,F),append_hydration(F,He),append_hydration(_,fe),append_hydration(fe,Ve),append_hydration(_,he),append_hydration(he,We),select_option(_,r[4],!0),insert_hydration(O,G,P),insert_hydration(O,q,P),append_hydration(q,Ue),insert_hydration(O,$e,P),insert_hydration(O,Z,P),set_input_value(Z,r[10]),insert_hydration(O,Ne,P),insert_hydration(O,le,P),append_hydration(le,de),insert_hydration(O,_e,P),insert_hydration(O,te,P),set_input_value(te,r[1]),insert_hydration(O,Me,P),insert_hydration(O,ce,P),append_hydration(ce,pe),insert_hydration(O,ye,P),insert_hydration(O,ne,P),set_input_value(ne,r[2]),insert_hydration(O,je,P),insert_hydration(O,ae,P),append_hydration(ae,Ge),insert_hydration(O,ze,P),insert_hydration(O,W,P),append_hydration(W,re),append_hydration(re,ie),append_hydration(W,se),append_hydration(se,qe),append_hydration(W,Q),append_hydration(Q,Ye),append_hydration(W,p),append_hydration(p,c),append_hydration(W,u),append_hydration(u,g),append_hydration(W,v),append_hydration(v,k),append_hydration(W,B),append_hydration(B,U),append_hydration(W,j),append_hydration(j,V),append_hydration(W,z),append_hydration(z,H),append_hydration(W,be),append_hydration(be,et),select_option(W,r[7],!0),insert_hydration(O,Ke,P),insert_hydration(O,we,P),append_hydration(we,tt),insert_hydration(O,Ze,P),insert_hydration(O,X,P),append_hydration(X,me),append_hydration(me,rt),append_hydration(X,ve),append_hydration(ve,nt),append_hydration(X,Ee),append_hydration(Ee,it),append_hydration(X,De),append_hydration(De,ot),append_hydration(X,Te),append_hydration(Te,at),append_hydration(X,Ae),append_hydration(Ae,st),select_option(X,r[5],!0),insert_hydration(O,Xe,P),insert_hydration(O,xe,P),append_hydration(xe,lt),insert_hydration(O,Je,P),insert_hydration(O,J,P),append_hydration(J,ge),append_hydration(ge,ct),append_hydration(J,ke),append_hydration(ke,ut),append_hydration(J,Se),append_hydration(Se,ft),append_hydration(J,Ce),append_hydration(Ce,ht),append_hydration(J,Be),append_hydration(Be,dt),append_hydration(J,Ie),append_hydration(Ie,pt),select_option(J,r[6],!0),insert_hydration(O,Qe,P),insert_hydration(O,Le,P),append_hydration(Le,Re),append_hydration(Re,yt),mt||(gt=[listen(_,"change",r[14]),listen(Z,"input",r[15]),listen(te,"input",r[16]),listen(ne,"input",r[17]),listen(W,"change",r[18]),listen(X,"change",r[19]),listen(J,"change",r[20]),listen(Re,"click",r[11])],mt=!0)},p(O,P){P&8&&l.value!==O[3]&&(l.value=O[3]),P&16&&select_option(_,O[4]),P&1024&&to_number(Z.value)!==O[10]&&set_input_value(Z,O[10]),P&2&&te.value!==O[1]&&set_input_value(te,O[1]),P&4&&set_input_value(ne,O[2]),P&128&&select_option(W,O[7]),P&32&&select_option(X,O[5]),P&64&&select_option(J,O[6])},d(O){O&&detach(e),O&&detach(n),O&&detach(o),O&&detach(s),O&&detach(l),O&&detach(f),O&&detach(h),O&&detach(m),O&&detach(_),O&&detach(G),O&&detach(q),O&&detach($e),O&&detach(Z),O&&detach(Ne),O&&detach(le),O&&detach(_e),O&&detach(te),O&&detach(Me),O&&detach(ce),O&&detach(ye),O&&detach(ne),O&&detach(je),O&&detach(ae),O&&detach(ze),O&&detach(W),O&&detach(Ke),O&&detach(we),O&&detach(Ze),O&&detach(X),O&&detach(Xe),O&&detach(xe),O&&detach(Je),O&&detach(J),O&&detach(Qe),O&&detach(Le),mt=!1,run_all(gt)}}}function create_fragment$3(r){let e,t,n,o,a,s,l,f,h,d,m,_,b,w,y;function E(D,C){return D[8]?create_if_block$2:create_else_block$1}let T=E(r),N=T(r);return _=new Loader({}),{c(){e=element("div"),t=element("button"),n=text("Submit Review"),o=space(),a=element("div"),s=element("div"),l=element("button"),f=text("✕"),h=space(),N.c(),d=space(),m=element("div"),create_component(_.$$.fragment),this.h()},l(D){e=claim_element(D,"DIV",{class:!0});var C=children(e);t=claim_element(C,"BUTTON",{class:!0});var A=children(t);n=claim_text(A,"Submit Review"),A.forEach(detach),o=claim_space(C),a=claim_element(C,"DIV",{class:!0});var S=children(a);s=claim_element(S,"DIV",{class:!0});var I=children(s);l=claim_element(I,"BUTTON",{class:!0});var L=children(l);f=claim_text(L,"✕"),L.forEach(detach),h=claim_space(I),N.l(I),I.forEach(detach),d=claim_space(S),m=claim_element(S,"DIV",{class:!0});var x=children(m);claim_component(_.$$.fragment,x),x.forEach(detach),S.forEach(detach),C.forEach(detach),this.h()},h(){attr(t,"class","btn"),attr(l,"class","btn btn-sm btn-circle absolute right-2 top-2"),attr(s,"class","modal-box relative bg-white text-black dark:bg-gray-900 dark:text-white"),attr(m,"class","modal h-screen z-10 absolute top-0 flex justify-center items-center"),toggle_class(m,"modal-open",r[9]),attr(a,"class","modal"),toggle_class(a,"modal-open",r[0]),attr(e,"class","grid flex-grow")},m(D,C){insert_hydration(D,e,C),append_hydration(e,t),append_hydration(t,n),append_hydration(e,o),append_hydration(e,a),append_hydration(a,s),append_hydration(s,l),append_hydration(l,f),append_hydration(s,h),N.m(s,null),append_hydration(a,d),append_hydration(a,m),mount_component(_,m,null),b=!0,w||(y=[listen(t,"click",r[12]),listen(l,"click",r[13])],w=!0)},p(D,[C]){T===(T=E(D))&&N?N.p(D,C):(N.d(1),N=T(D),N&&(N.c(),N.m(s,null))),(!b||C&512)&&toggle_class(m,"modal-open",D[9]),(!b||C&1)&&toggle_class(a,"modal-open",D[0])},i(D){b||(transition_in(_.$$.fragment,D),b=!0)},o(D){transition_out(_.$$.fragment,D),b=!1},d(D){D&&detach(e),N.d(),destroy_component(_),w=!1,run_all(y)}}}let image="ipfs://bafybeica7pi67452fokrlrmxrooazsxbuluckmcojascc5z4fcazsuhsuy";function instance$3(r,e,t){let n=!1,o,a,s,l,f,h,d,m=!1,_=!1,b=0;const w=async()=>{var R;const[x]=await chrome.tabs.query({active:!0,currentWindow:!0});t(3,s=(R=x.url)==null?void 0:R.toLocaleLowerCase())},y=async()=>{t(9,_=!0);const x=new URL(`${s}`).hostname;let K=`ipfs://${await storeMetaData({name:o??"",description:a??"",category:l??"",image,domainAddress:x??"",siteUrl:s??"",siteType:d??"",siteTag:f??"",siteSafety:h??"",siteRating:b??""})}`.split(",")[0];try{await createReview({category:l??"",domainAddress:x??"",siteUrl:s??"",siteType:d??"",siteTag:f??"",siteSafety:h??"",metaDataUri:K,siteIpfsHash:"ipfs://abcd"})}catch(Y){console.log("error: "+Y)}finally{t(9,_=!1),t(0,n=!1),location.reload()}};onMount(async()=>{t(8,[m]=await checkAuth(),m),await w()});const E=()=>{t(0,n=!0)},T=()=>t(0,n=!1);function N(){l=select_value(this),t(4,l)}function D(){b=to_number(this.value),t(10,b)}function C(){o=this.value,t(1,o)}function A(){a=this.value,t(2,a)}function S(){d=select_value(this),t(7,d)}function I(){f=select_value(this),t(5,f)}function L(){h=select_value(this),t(6,h)}return[n,o,a,s,l,f,h,d,m,_,b,y,E,T,N,D,C,A,S,I,L]}class SubmitReview extends SvelteComponent{constructor(e){super(),init(this,e,instance$3,create_fragment$3,safe_not_equal,{})}}function styleInject(r,e){e===void 0&&(e={});var t=e.insertAt;if(r&&typeof document<"u"){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",t==="top"&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r))}}function $(r,e){return typeof r=="string"?(e||document).querySelector(r):r||null}function getOffset(r){var e=r.getBoundingClientRect();return{top:e.top+(document.documentElement.scrollTop||document.body.scrollTop),left:e.left+(document.documentElement.scrollLeft||document.body.scrollLeft)}}function isHidden(r){return r.offsetParent===null}function isElementInViewport(r){var e=r.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}function getElementContentWidth(r){var e=window.getComputedStyle(r),t=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight);return r.clientWidth-t}function fire(r,e,t){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0);for(var o in t)n[o]=t[o];return r.dispatchEvent(n)}function getTopOffset(r){return r.titleHeight+r.margins.top+r.paddings.top}function getLeftOffset(r){return r.margins.left+r.paddings.left}function getExtraHeight(r){return r.margins.top+r.margins.bottom+r.paddings.top+r.paddings.bottom+r.titleHeight+r.legendHeight}function getExtraWidth(r){return r.margins.left+r.margins.right+r.paddings.left+r.paddings.right}function _classCallCheck$4(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function floatTwo(r){return parseFloat(r.toFixed(2))}function fillArray(r,e,t){var n=arguments.length>3&&arguments[3]!==void 0&&arguments[3];t||(t=n?r[0]:r[r.length-1]);var o=new Array(Math.abs(e)).fill(t);return r=n?o.concat(r):r.concat(o)}function getStringWidth(r,e){return(r+"").length*e}function getPositionByAngle(r,e){return{x:Math.sin(r*ANGLE_RATIO)*e,y:Math.cos(r*ANGLE_RATIO)*e}}function isValidNumber(r){var e=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return!Number.isNaN(r)&&r!==void 0&&!!Number.isFinite(r)&&!(e&&r<0)}function round(r){return+(Math.round(r+"e4")+"e-4")}function deepClone(r){var e=void 0,t=void 0,n=void 0;if(r instanceof Date)return new Date(r.getTime());if((r===void 0?"undefined":_typeof$2(r))!=="object"||r===null)return r;e=Array.isArray(r)?[]:{};for(n in r)t=r[n],e[n]=deepClone(t);return e}function getBarHeightAndYAttr(r,e){var t=void 0,n=void 0;return r<=e?(t=e-r,n=r):(t=r-e,n=e),[t,n]}function equilizeNoOfElements(r,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length-r.length;return t>0?r=fillArray(r,t):e=fillArray(e,t),[r,e]}function truncateString(r,e){if(r)return r.length>e?r.slice(0,e-3)+"...":r}function shortenLargeNumber(r){var e=void 0;if(typeof r=="number")e=r;else if(typeof r=="string"&&(e=Number(r),Number.isNaN(e)))return r;var t=Math.floor(Math.log10(Math.abs(e)));if(t<=2)return e;var n=Math.floor(t/3),o=Math.pow(10,t-3*n)*+(e/Math.pow(10,t)).toFixed(1);return Math.round(100*o)/100+" "+["","K","M","B","T"][n]}function getSplineCurvePointsStr(r,e){for(var t=[],n=0;n255?255:r<0?0:r}function lightenDarkenColor(r,e){var t=getColor(r),n=!1;t[0]=="#"&&(t=t.slice(1),n=!0);var o=parseInt(t,16),a=limitColor((o>>16)+e),s=limitColor((o>>8&255)+e),l=limitColor((255&o)+e);return(n?"#":"")+(l|s<<8|a<<16).toString(16)}function isValidColor(r){var e=/(^\s*)(rgb|hsl)(a?)[(]\s*([\d.]+\s*%?)\s*,\s*([\d.]+\s*%?)\s*,\s*([\d.]+\s*%?)\s*(?:,\s*([\d.]+)\s*)?[)]$/i;return/(^\s*)(#)((?:[A-Fa-f0-9]{3}){1,2})$/i.test(r)||e.test(r)}function $$1(r,e){return typeof r=="string"?(e||document).querySelector(r):r||null}function createSVG(r,e){var t=document.createElementNS("http://www.w3.org/2000/svg",r);for(var n in e){var o=e[n];if(n==="inside")$$1(o).appendChild(t);else if(n==="around"){var a=$$1(o);a.parentNode.insertBefore(t,a),t.appendChild(a)}else n==="styles"?(o===void 0?"undefined":_typeof$1(o))==="object"&&Object.keys(o).map(function(s){t.style[s]=o[s]}):(n==="className"&&(n="class"),n==="innerHTML"?t.textContent=o:t.setAttribute(n,o))}return t}function renderVerticalGradient(r,e){return createSVG("linearGradient",{inside:r,id:e,x1:0,x2:0,y1:0,y2:1})}function setGradientStop(r,e,t,n){return createSVG("stop",{inside:r,style:"stop-color: "+t,offset:e,"stop-opacity":n})}function makeSVGContainer(r,e,t,n){return createSVG("svg",{className:e,inside:r,width:t,height:n})}function makeSVGDefs(r){return createSVG("defs",{inside:r})}function makeSVGGroup(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,n={className:r,transform:e};return t&&(n.inside=t),createSVG("g",n)}function makePath(r){return createSVG("path",{className:arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",d:r,styles:{stroke:arguments.length>2&&arguments[2]!==void 0?arguments[2]:"none",fill:arguments.length>3&&arguments[3]!==void 0?arguments[3]:"none","stroke-width":arguments.length>4&&arguments[4]!==void 0?arguments[4]:2}})}function makeArcPathStr(r,e,t,n){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,s=t.x+r.x,l=t.y+r.y,f=t.x+e.x,h=t.y+e.y;return"M"+t.x+" "+t.y+` - L`+s+" "+l+` - A `+n+" "+n+" 0 "+a+" "+(o?1:0)+` - `+f+" "+h+" z"}function makeCircleStr(r,e,t,n){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,s=t.x+r.x,l=t.y+r.y,f=t.x+e.x,h=2*t.y,d=t.y+e.y;return"M"+t.x+" "+t.y+` - L`+s+" "+l+` - A `+n+" "+n+" 0 "+a+" "+(o?1:0)+` - `+f+" "+h+` z - L`+s+" "+h+` - A `+n+" "+n+" 0 "+a+" "+(o?1:0)+` - `+f+" "+d+" z"}function makeArcStrokePathStr(r,e,t,n){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,s=t.x+r.x,l=t.y+r.y,f=t.x+e.x,h=t.y+e.y;return"M"+s+" "+l+` - A `+n+" "+n+" 0 "+a+" "+(o?1:0)+` - `+f+" "+h}function makeStrokeCircleStr(r,e,t,n){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,s=t.x+r.x,l=t.y+r.y,f=t.x+e.x,h=2*n+l,d=t.y+r.y;return"M"+s+" "+l+` - A `+n+" "+n+" 0 "+a+" "+(o?1:0)+` - `+f+" "+h+` - M`+s+" "+h+` - A `+n+" "+n+" 0 "+a+" "+(o?1:0)+` - `+f+" "+d}function makeGradient(r,e){var t=arguments.length>2&&arguments[2]!==void 0&&arguments[2],n="path-fill-gradient-"+e+"-"+(t?"lighter":"default"),o=renderVerticalGradient(r,n),a=[1,.6,.2];return t&&(a=[.4,.2,0]),setGradientStop(o,"0%",e,a[0]),setGradientStop(o,"50%",e,a[1]),setGradientStop(o,"100%",e,a[2]),n}function percentageBar(r,e,t,n){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:PERCENTAGE_BAR_DEFAULT_DEPTH,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"none";return createSVG("rect",{className:"percentage-bar",x:r,y:e,width:t,height:n,fill:a,styles:{stroke:lightenDarkenColor(a,-25),"stroke-dasharray":"0, "+(n+t)+", "+t+", "+n,"stroke-width":o}})}function heatSquare(r,e,t,n,o){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"none",s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:{},l={className:r,x:e,y:t,width:n,height:n,rx:o,fill:a};return Object.keys(s).map(function(f){l[f]=s[f]}),createSVG("rect",l)}function legendBar(r,e,t){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"none",o=arguments[4];o=arguments.length>5&&arguments[5]!==void 0&&arguments[5]?truncateString(o,LABEL_MAX_CHARS):o;var a={className:"legend-bar",x:0,y:0,width:t,height:"2px",fill:n},s=createSVG("text",{className:"legend-dataset-text",x:0,y:0,dy:2*FONT_SIZE+"px","font-size":1.2*FONT_SIZE+"px","text-anchor":"start",fill:FONT_FILL,innerHTML:o}),l=createSVG("g",{transform:"translate("+r+", "+e+")"});return l.appendChild(createSVG("rect",a)),l.appendChild(s),l}function legendDot(r,e,t){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"none",o=arguments[4];o=arguments.length>5&&arguments[5]!==void 0&&arguments[5]?truncateString(o,LABEL_MAX_CHARS):o;var a={className:"legend-dot",cx:0,cy:0,r:t,fill:n},s=createSVG("text",{className:"legend-dataset-text",x:0,y:0,dx:FONT_SIZE+"px",dy:FONT_SIZE/3+"px","font-size":1.2*FONT_SIZE+"px","text-anchor":"start",fill:FONT_FILL,innerHTML:o}),l=createSVG("g",{transform:"translate("+r+", "+e+")"});return l.appendChild(createSVG("circle",a)),l.appendChild(s),l}function makeText(r,e,t,n){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},a=o.fontSize||FONT_SIZE;return createSVG("text",{className:r,x:e,y:t,dy:(o.dy!==void 0?o.dy:a/2)+"px","font-size":a+"px",fill:o.fill||FONT_FILL,"text-anchor":o.textAnchor||"start",innerHTML:n})}function makeVertLine(r,e,t,n){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};o.stroke||(o.stroke=BASE_LINE_COLOR);var a=createSVG("line",{className:"line-vertical "+o.className,x1:0,x2:0,y1:t,y2:n,styles:{stroke:o.stroke}}),s=createSVG("text",{x:0,y:t>n?t+LABEL_MARGIN:t-LABEL_MARGIN-FONT_SIZE,dy:FONT_SIZE+"px","font-size":FONT_SIZE+"px","text-anchor":"middle",innerHTML:e+""}),l=createSVG("g",{transform:"translate("+r+", 0)"});return l.appendChild(a),l.appendChild(s),l}function makeHoriLine(r,e,t,n){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};o.stroke||(o.stroke=BASE_LINE_COLOR),o.lineType||(o.lineType=""),o.shortenNumbers&&(e=shortenLargeNumber(e));var a=createSVG("line",{className:"line-horizontal "+o.className+(o.lineType==="dashed"?"dashed":""),x1:t,x2:n,y1:0,y2:0,styles:{stroke:o.stroke}}),s=createSVG("text",{x:t3&&arguments[3]!==void 0?arguments[3]:{};isValidNumber(r)||(r=0),n.pos||(n.pos="left"),n.offset||(n.offset=0),n.mode||(n.mode="span"),n.stroke||(n.stroke=BASE_LINE_COLOR),n.className||(n.className="");var o=-1*AXIS_TICK_LENGTH,a=n.mode==="span"?t+AXIS_TICK_LENGTH:0;return n.mode==="tick"&&n.pos==="right"&&(o=t+AXIS_TICK_LENGTH,a=t),o+=n.offset,a+=n.offset,makeHoriLine(r,e,o,a,{stroke:n.stroke,className:n.className,lineType:n.lineType,shortenNumbers:n.shortenNumbers})}function xLine(r,e,t){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};isValidNumber(r)||(r=0),n.pos||(n.pos="bottom"),n.offset||(n.offset=0),n.mode||(n.mode="span"),n.stroke||(n.stroke=BASE_LINE_COLOR),n.className||(n.className="");var o=t+AXIS_TICK_LENGTH,a=n.mode==="span"?-1*AXIS_TICK_LENGTH:t;return n.mode==="tick"&&n.pos==="top"&&(o=-1*AXIS_TICK_LENGTH,a=0),makeVertLine(r,e,o,a,{stroke:n.stroke,className:n.className,lineType:n.lineType})}function yMarker(r,e,t){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};n.labelPos||(n.labelPos="right");var o=createSVG("text",{className:"chart-label",x:n.labelPos==="left"?LABEL_MARGIN:t-getStringWidth(e,5)-LABEL_MARGIN,y:0,dy:FONT_SIZE/-2+"px","font-size":FONT_SIZE+"px","text-anchor":"start",innerHTML:e+""}),a=makeHoriLine(r,"",0,t,{stroke:n.stroke||BASE_LINE_COLOR,className:n.className||"",lineType:n.lineType});return a.appendChild(o),a}function yRegion(r,e,t,n){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},a=r-e,s=createSVG("rect",{className:"bar mini",styles:{fill:"rgba(228, 234, 239, 0.49)",stroke:BASE_LINE_COLOR,"stroke-dasharray":t+", "+a},x:0,y:0,width:t,height:a});o.labelPos||(o.labelPos="right");var l=createSVG("text",{className:"chart-label",x:o.labelPos==="left"?LABEL_MARGIN:t-getStringWidth(n+"",4.5)-LABEL_MARGIN,y:0,dy:FONT_SIZE/-2+"px","font-size":FONT_SIZE+"px","text-anchor":"start",innerHTML:n+""}),f=createSVG("g",{transform:"translate(0, "+e+")"});return f.appendChild(s),f.appendChild(l),f}function datasetBar(r,e,t,n){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"",a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,l=arguments.length>7&&arguments[7]!==void 0?arguments[7]:{},f=getBarHeightAndYAttr(e,l.zeroLine),h=_slicedToArray(f,2),d=h[0],m=h[1];m-=s,d===0&&(d=l.minHeight,m-=l.minHeight),isValidNumber(r)||(r=0),isValidNumber(m)||(m=0),isValidNumber(d,!0)||(d=0),isValidNumber(t,!0)||(t=0);var _=createSVG("rect",{className:"bar mini",style:"fill: "+n,"data-point-index":a,x:r,y:m,width:t,height:d});if((o+="")||o.length){_.setAttribute("y",0),_.setAttribute("x",0);var b=createSVG("text",{className:"data-point-value",x:t/2,y:0,dy:FONT_SIZE/2*-1+"px","font-size":FONT_SIZE+"px","text-anchor":"middle",innerHTML:o}),w=createSVG("g",{"data-point-index":a,transform:"translate("+r+", "+m+")"});return w.appendChild(_),w.appendChild(b),w}return _}function datasetDot(r,e,t,n){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"",a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,s=createSVG("circle",{style:"fill: "+n,"data-point-index":a,cx:r,cy:e,r:t});if((o+="")||o.length){s.setAttribute("cy",0),s.setAttribute("cx",0);var l=createSVG("text",{className:"data-point-value",x:0,y:0,dy:FONT_SIZE/2*-1-t+"px","font-size":FONT_SIZE+"px","text-anchor":"middle",innerHTML:o}),f=createSVG("g",{"data-point-index":a,transform:"translate("+r+", "+e+")"});return f.appendChild(s),f.appendChild(l),f}return s}function getPaths(r,e,t){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},a=e.map(function(m,_){return r[_]+","+m}).join("L");n.spline&&(a=getSplineCurvePointsStr(r,e));var s=makePath("M"+a,"line-graph-path",t);if(n.heatline){var l=makeGradient(o.svgDefs,t);s.style.stroke="url(#"+l+")"}var f={path:s};if(n.regionFill){var h=makeGradient(o.svgDefs,t,!0),d="M"+r[0]+","+o.zeroLine+"L"+a+"L"+r.slice(-1)[0]+","+o.zeroLine;f.region=makePath(d,"region-fill","none","url(#"+h+")")}return f}function translate(r,e,t,n){var o=typeof e=="string"?e:e.join(", ");return[r,{transform:t.join(", ")},n,STD_EASING,"translate",{transform:o}]}function translateVertLine(r,e,t){return translate(r,[t,0],[e,0],MARKER_LINE_ANIM_DUR)}function translateHoriLine(r,e,t){return translate(r,[0,t],[0,e],MARKER_LINE_ANIM_DUR)}function animateRegion(r,e,t,n){var o=e-t,a=r.childNodes[0];return[[a,{height:o,"stroke-dasharray":a.getAttribute("width")+", "+o},MARKER_LINE_ANIM_DUR,STD_EASING],translate(r,[0,n],[0,t],MARKER_LINE_ANIM_DUR)]}function animateBar(r,e,t,n){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,a=getBarHeightAndYAttr(t,(arguments.length>5&&arguments[5]!==void 0?arguments[5]:{}).zeroLine),s=_slicedToArray$2(a,2),l=s[0],f=s[1];return f-=o,r.nodeName!=="rect"?[[r.childNodes[0],{width:n,height:l},UNIT_ANIM_DUR,STD_EASING],translate(r,r.getAttribute("transform").split("(")[1].slice(0,-1),[e,f],MARKER_LINE_ANIM_DUR)]:[[r,{width:n,height:l,x:e,y:f},UNIT_ANIM_DUR,STD_EASING]]}function animateDot(r,e,t){return r.nodeName!=="circle"?[translate(r,r.getAttribute("transform").split("(")[1].slice(0,-1),[e,t],MARKER_LINE_ANIM_DUR)]:[[r,{cx:e,cy:t},UNIT_ANIM_DUR,STD_EASING]]}function animatePath(r,e,t,n,o){var a=[],s=t.map(function(m,_){return e[_]+","+m}).join("L");o&&(s=getSplineCurvePointsStr(e,t));var l=[r.path,{d:"M"+s},PATH_ANIM_DUR,STD_EASING];if(a.push(l),r.region){var f=e[0]+","+n+"L",h="L"+e.slice(-1)[0]+", "+n,d=[r.region,{d:"M"+f+s+h},PATH_ANIM_DUR,STD_EASING];a.push(d)}return a}function animatePathStr(r,e){return[r,{d:e},UNIT_ANIM_DUR,STD_EASING]}function _toConsumableArray$1(r){if(Array.isArray(r)){for(var e=0,t=Array(r.length);e3&&arguments[3]!==void 0?arguments[3]:"linear",o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:void 0,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},s=r.cloneNode(!0),l=r.cloneNode(!0);for(var f in e){var h=void 0;h=f==="transform"?document.createElementNS("http://www.w3.org/2000/svg","animateTransform"):document.createElementNS("http://www.w3.org/2000/svg","animate");var d=a[f]||r.getAttribute(f),m=e[f],_={attributeName:f,from:d,to:m,begin:"0s",dur:t/1e3+"s",values:d+";"+m,keySplines:EASING[n],keyTimes:"0;1",calcMode:"spline",fill:"freeze"};o&&(_.type=o);for(var b in _)h.setAttribute(b,_[b]);s.appendChild(h),o?l.setAttribute(f,"translate("+m+")"):l.setAttribute(f,m)}return[s,l]}function transform(r,e){r.style.transform=e,r.style.webkitTransform=e,r.style.msTransform=e,r.style.mozTransform=e,r.style.oTransform=e}function animateSVG(r,e){var t=[],n=[];e.map(function(a){var s=a[0],l=s.parentNode,f=void 0,h=void 0;a[0]=s;var d=animateSVGElement.apply(void 0,_toConsumableArray$1(a)),m=_slicedToArray$1(d,2);f=m[0],h=m[1],t.push(h),n.push([f,l]),l&&l.replaceChild(f,s)});var o=r.cloneNode(!0);return n.map(function(a,s){a[1]&&(a[1].replaceChild(t[s],a[0]),e[s][0]=t[s])}),o}function runSMILAnimation(r,e,t){if(t.length!==0){var n=animateSVG(e,t);e.parentNode==r&&(r.removeChild(e),r.appendChild(n)),setTimeout(function(){n.parentNode==r&&(r.removeChild(n),r.appendChild(e))},REPLACE_ALL_NEW_DUR)}}function downloadFile(r,e){var t=document.createElement("a");t.style="display: none";var n=new Blob(e,{type:"image/svg+xml; charset=utf-8"}),o=window.URL.createObjectURL(n);t.href=o,t.download=r,document.body.appendChild(t),t.click(),setTimeout(function(){document.body.removeChild(t),window.URL.revokeObjectURL(o)},300)}function prepareForExport(r){var e=r.cloneNode(!0);e.classList.add("chart-container"),e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink");var t=$.create("style",{innerHTML:CSSTEXT});e.insertBefore(t,e.firstChild);var n=$.create("div");return n.appendChild(e),n.innerHTML}function _classCallCheck$3(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck$2(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn$1(r,e){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||typeof e!="object"&&typeof e!="function"?r:e}function _inherits$1(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(r,e):r.__proto__=e)}function treatAsUtc(r){var e=new Date(r);return e.setMinutes(e.getMinutes()-e.getTimezoneOffset()),e}function getYyyyMmDd(r){var e=r.getDate(),t=r.getMonth()+1;return[r.getFullYear(),(t>9?"":"0")+t,(e>9?"":"0")+e].join("-")}function clone(r){return new Date(r.getTime())}function getWeeksBetween(r,e){var t=setDayToSunday(r);return Math.ceil(getDaysBetween(t,e)/NO_OF_DAYS_IN_WEEK)}function getDaysBetween(r,e){var t=SEC_IN_DAY*NO_OF_MILLIS;return(treatAsUtc(e)-treatAsUtc(r))/t}function areInSameMonth(r,e){return r.getMonth()===e.getMonth()&&r.getFullYear()===e.getFullYear()}function getMonthName(r){var e=arguments.length>1&&arguments[1]!==void 0&&arguments[1],t=MONTH_NAMES[r];return e?t.slice(0,3):t}function getLastDateInMonth(r,e){return new Date(e,r+1,0)}function setDayToSunday(r){var e=clone(r),t=e.getDay();return t!==0&&addDays(e,-1*t),e}function addDays(r,e){r.setDate(r.getDate()+e)}function _classCallCheck$5(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function getComponent(r,e,t){var n=Object.keys(componentConfigs).filter(function(a){return r.includes(a)}),o=componentConfigs[n[0]];return Object.assign(o,{constants:e,getData:t}),new ChartComponent(o)}function _toConsumableArray(r){if(Array.isArray(r)){for(var e=0,t=Array(r.length);e0?1:-1;if(!isFinite(r))return{mantissa:4503599627370496*e,exponent:972};r=Math.abs(r);var t=Math.floor(Math.log10(r));return[e*(r/Math.pow(10,t)),t]}function getChartRangeIntervals(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=Math.ceil(r),n=Math.floor(e),o=t-n,a=o,s=1;o>5&&(o%2!=0&&(o=++t-n),a=o/2,s=2),o<=2&&(s=o/(a=4)),o===0&&(a=5,s=1);for(var l=[],f=0;f<=a;f++)l.push(n+s*f);return l}function getChartIntervals(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=normalize(r),n=_slicedToArray$4(t,2),o=n[0],a=n[1],s=e?e/Math.pow(10,a):0,l=getChartRangeIntervals(o=o.toFixed(6),s);return l=l.map(function(f){return f*Math.pow(10,a)})}function calcChartIntervals(r){function e(h,d){for(var m=getChartIntervals(h),_=m[1]-m[0],b=0,w=1;b1&&arguments[1]!==void 0&&arguments[1],n=Math.max.apply(Math,_toConsumableArray$4(r)),o=Math.min.apply(Math,_toConsumableArray$4(r)),a=[];if(n>=0&&o>=0)normalize(n)[1],a=t?getChartIntervals(n,o):getChartIntervals(n);else if(n>0&&o<0){var s=Math.abs(o);n>=s?(normalize(n)[1],a=e(n,s)):(normalize(s)[1],a=e(s,n).reverse().map(function(h){return-1*h}))}else if(n<=0&&o<=0){var l=Math.abs(o),f=Math.abs(n);normalize(l)[1],a=(a=t?getChartIntervals(l,f):getChartIntervals(l)).reverse().map(function(h){return-1*h})}return a}function getZeroIndex(r){var e=getIntervalSize(r);return r.indexOf(0)>=0?r.indexOf(0):r[0]>0?-1*r[0]/e:-1*r[r.length-1]/e+(r.length-1)}function getIntervalSize(r){return r[1]-r[0]}function getValueRange(r){return r[r.length-1]-r[0]}function scale(r,e){return floatTwo(e.zeroLine-r*e.scaleMultiplier)}function getClosestInArray(r,e){var t=arguments.length>2&&arguments[2]!==void 0&&arguments[2],n=e.reduce(function(o,a){return Math.abs(a-r)t?s.slice(0,t):fillArray(s,t-s.length,0),a.values=s}else a.values=o;a.chartType||(a.chartType=e)}),r.yRegions&&r.yRegions.map(function(a){if(a.end1&&arguments[1]!==void 0?arguments[1]:[],t=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],n=r/e.length;n<=0&&(n=1);var o=n/DEFAULT_CHAR_WIDTH,a=void 0;if(t){var s=Math.max.apply(Math,_toConsumableArray$6(e.map(function(l){return l.length})));a=Math.ceil(s/o)}return e.map(function(l,f){return(l+="").length>o&&(t?f%a!=0&&(l=""):l=o-3>0?l.slice(0,o-3)+" ...":l.slice(0,o)+".."),l})}function _toConsumableArray$5(r){if(Array.isArray(r)){for(var e=0,t=Array(r.length);e0&&arguments[0]!==void 0?arguments[0]:"line",e=arguments[1],t=arguments[2];return r==="axis-mixed"?(t.type="line",new AxisChart(e,t)):chartTypes[r]?new chartTypes[r](e,t):void console.error("Undefined chart type: "+r)}var css_248z='.chart-container{position:relative;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.chart-container .axis,.chart-container .chart-label{fill:#555b51}.chart-container .axis line,.chart-container .chart-label line{stroke:#dadada}.chart-container .dataset-units circle{stroke:#fff;stroke-width:2}.chart-container .dataset-units path{fill:none;stroke-opacity:1;stroke-width:2px}.chart-container .dataset-path{stroke-width:2px}.chart-container .path-group path{fill:none;stroke-opacity:1;stroke-width:2px}.chart-container line.dashed{stroke-dasharray:5,3}.chart-container .axis-line .specific-value{text-anchor:start}.chart-container .axis-line .y-line{text-anchor:end}.chart-container .axis-line .x-line{text-anchor:middle}.chart-container .legend-dataset-text{fill:#6c7680;font-weight:600}.graph-svg-tip{position:absolute;z-index:99999;padding:10px;font-size:12px;color:#959da5;text-align:center;background:rgba(0,0,0,.8);border-radius:3px}.graph-svg-tip ol,.graph-svg-tip ul{padding-left:0;display:-webkit-box;display:-ms-flexbox;display:flex}.graph-svg-tip ul.data-point-list li{min-width:90px;-webkit-box-flex:1;-ms-flex:1;flex:1;font-weight:600}.graph-svg-tip strong{color:#dfe2e5;font-weight:600}.graph-svg-tip .svg-pointer{position:absolute;height:5px;margin:0 0 0 -5px;content:" ";border:5px solid transparent;border-top-color:rgba(0,0,0,.8)}.graph-svg-tip.comparison{padding:0;text-align:left;pointer-events:none}.graph-svg-tip.comparison .title{display:block;padding:10px;margin:0;font-weight:600;line-height:1;pointer-events:none}.graph-svg-tip.comparison ul{margin:0;white-space:nowrap;list-style:none}.graph-svg-tip.comparison li{display:inline-block;padding:5px 10px}';styleInject(css_248z);var _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r};$.create=function(r,e){var t=document.createElement(r);for(var n in e){var o=e[n];if(n==="inside")$(o).appendChild(t);else if(n==="around"){var a=$(o);a.parentNode.insertBefore(t,a),t.appendChild(a)}else n==="styles"?(o===void 0?"undefined":_typeof(o))==="object"&&Object.keys(o).map(function(s){t.style[s]=o[s]}):n in t?t[n]=o:t.setAttribute(n,o)}return t};var BASE_MEASURES={margins:{top:10,bottom:10,left:20,right:20},paddings:{top:20,bottom:40,left:30,right:10},baseHeight:240,titleHeight:20,legendHeight:30,titleFontSize:12},INIT_CHART_UPDATE_TIMEOUT=700,CHART_POST_ANIMATE_TIMEOUT=400,AXIS_LEGEND_BAR_SIZE=100,BAR_CHART_SPACE_RATIO=.5,MIN_BAR_PERCENT_HEIGHT=0,LINE_CHART_DOT_SIZE=4,DOT_OVERLAY_SIZE_INCR=4,PERCENTAGE_BAR_DEFAULT_HEIGHT=20,PERCENTAGE_BAR_DEFAULT_DEPTH=2,HEATMAP_DISTRIBUTION_SIZE=5,HEATMAP_SQUARE_SIZE=10,HEATMAP_GUTTER_SIZE=2,DEFAULT_CHAR_WIDTH=7,TOOLTIP_POINTER_TRIANGLE_HEIGHT=5,DEFAULT_CHART_COLORS=["light-blue","blue","violet","red","orange","yellow","green","light-green","purple","magenta","light-grey","dark-grey"],HEATMAP_COLORS_GREEN=["#ebedf0","#c6e48b","#7bc96f","#239a3b","#196127"],DEFAULT_COLORS={bar:DEFAULT_CHART_COLORS,line:DEFAULT_CHART_COLORS,pie:DEFAULT_CHART_COLORS,percentage:DEFAULT_CHART_COLORS,heatmap:HEATMAP_COLORS_GREEN,donut:DEFAULT_CHART_COLORS},ANGLE_RATIO=Math.PI/180,FULL_ANGLE=360,_createClass$3=function(){function r(e,t){for(var n=0;n -
    -
    `}),this.hideTip(),this.title=this.container.querySelector(".title"),this.dataPointList=this.container.querySelector(".data-point-list"),this.parent.addEventListener("mouseleave",function(){e.hideTip()})}},{key:"fill",value:function(){var e=this,t=void 0;this.index&&this.container.setAttribute("data-point-index",this.index),t=this.titleValueFirst?""+this.titleValue+""+this.titleName:this.titleName+""+this.titleValue+"",this.title.innerHTML=t,this.dataPointList.innerHTML="",this.listValues.map(function(n,o){var a=e.colors[o]||"black",s=n.formatted===0||n.formatted?n.formatted:n.value,l=$.create("li",{styles:{"border-top":"3px solid "+a},innerHTML:''+(s===0||s?s:"")+` - `+(n.title?n.title:"")});e.dataPointList.appendChild(l)})}},{key:"calcPosition",value:function(){var e=this.container.offsetWidth;this.top=this.y-this.container.offsetHeight-TOOLTIP_POINTER_TRIANGLE_HEIGHT,this.left=this.x-e/2;var t=this.parent.offsetWidth-e,n=this.container.querySelector(".svg-pointer");if(this.left<0)n.style.left="calc(50% - "+-1*this.left+"px)",this.left=0;else if(this.left>t){var o="calc(50% + "+(this.left-t)+"px)";n.style.left=o,this.left=t}else n.style.left="50%"}},{key:"setValues",value:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[],a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;this.titleName=n.name,this.titleValue=n.value,this.listValues=o,this.x=e,this.y=t,this.titleValueFirst=n.valueFirst||0,this.index=a,this.refresh()}},{key:"hideTip",value:function(){this.container.style.top="0px",this.container.style.left="0px",this.container.style.opacity="0"}},{key:"showTip",value:function(){this.container.style.top=this.top+"px",this.container.style.left=this.left+"px",this.container.style.opacity="1"}}]),r}(),_typeof$2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},PRESET_COLOR_MAP={"light-blue":"#7cd6fd",blue:"#5e64ff",violet:"#743ee2",red:"#ff5858",orange:"#ffa00a",yellow:"#feef72",green:"#28a745","light-green":"#98d85b",purple:"#b554ff",magenta:"#ffa3ef",black:"#36114C",grey:"#bdd3e6","light-grey":"#f0f4f7","dark-grey":"#b8c2cc"},getColor=function(r){return/rgb[a]{0,1}\([\d, ]+\)/gim.test(r)?/\D+(\d*)\D+(\d*)\D+(\d*)/gim.exec(r).map(function(e,t){return t!==0?Number(e).toString(16):"#"}).reduce(function(e,t){return""+e+t}):PRESET_COLOR_MAP[r]||r},_slicedToArray=function(){function r(e,t){var n=[],o=!0,a=!1,s=void 0;try{for(var l,f=e[Symbol.iterator]();!(o=(l=f.next()).done)&&(n.push(l.value),!t||n.length!==t);o=!0);}catch(h){a=!0,s=h}finally{try{!o&&f.return&&f.return()}finally{if(a)throw s}}return n}return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return r(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_typeof$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},AXIS_TICK_LENGTH=6,LABEL_MARGIN=4,LABEL_MAX_CHARS=15,FONT_SIZE=10,BASE_LINE_COLOR="#dadada",FONT_FILL="#555b51",makeOverlay={bar:function(r){var e=void 0;r.nodeName!=="rect"&&(e=r.getAttribute("transform"),r=r.childNodes[0]);var t=r.cloneNode();return t.style.fill="#000000",t.style.opacity="0.4",e&&t.setAttribute("transform",e),t},dot:function(r){var e=void 0;r.nodeName!=="circle"&&(e=r.getAttribute("transform"),r=r.childNodes[0]);var t=r.cloneNode(),n=r.getAttribute("r"),o=r.getAttribute("fill");return t.setAttribute("r",parseInt(n)+DOT_OVERLAY_SIZE_INCR),t.setAttribute("fill",o),t.style.opacity="0.6",e&&t.setAttribute("transform",e),t},heat_square:function(r){var e=void 0;r.nodeName!=="circle"&&(e=r.getAttribute("transform"),r=r.childNodes[0]);var t=r.cloneNode(),n=r.getAttribute("r"),o=r.getAttribute("fill");return t.setAttribute("r",parseInt(n)+DOT_OVERLAY_SIZE_INCR),t.setAttribute("fill",o),t.style.opacity="0.6",e&&t.setAttribute("transform",e),t}},updateOverlay={bar:function(r,e){var t=void 0;r.nodeName!=="rect"&&(t=r.getAttribute("transform"),r=r.childNodes[0]);var n=["x","y","width","height"];Object.values(r.attributes).filter(function(o){return n.includes(o.name)&&o.specified}).map(function(o){e.setAttribute(o.name,o.nodeValue)}),t&&e.setAttribute("transform",t)},dot:function(r,e){var t=void 0;r.nodeName!=="circle"&&(t=r.getAttribute("transform"),r=r.childNodes[0]);var n=["cx","cy"];Object.values(r.attributes).filter(function(o){return n.includes(o.name)&&o.specified}).map(function(o){e.setAttribute(o.name,o.nodeValue)}),t&&e.setAttribute("transform",t)},heat_square:function(r,e){var t=void 0;r.nodeName!=="circle"&&(t=r.getAttribute("transform"),r=r.childNodes[0]);var n=["cx","cy"];Object.values(r.attributes).filter(function(o){return n.includes(o.name)&&o.specified}).map(function(o){e.setAttribute(o.name,o.nodeValue)}),t&&e.setAttribute("transform",t)}},_slicedToArray$2=function(){function r(e,t){var n=[],o=!0,a=!1,s=void 0;try{for(var l,f=e[Symbol.iterator]();!(o=(l=f.next()).done)&&(n.push(l.value),!t||n.length!==t);o=!0);}catch(h){a=!0,s=h}finally{try{!o&&f.return&&f.return()}finally{if(a)throw s}}return n}return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return r(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),UNIT_ANIM_DUR=350,PATH_ANIM_DUR=350,MARKER_LINE_ANIM_DUR=UNIT_ANIM_DUR,REPLACE_ALL_NEW_DUR=250,STD_EASING="easein",_slicedToArray$1=function(){function r(e,t){var n=[],o=!0,a=!1,s=void 0;try{for(var l,f=e[Symbol.iterator]();!(o=(l=f.next()).done)&&(n.push(l.value),!t||n.length!==t);o=!0);}catch(h){a=!0,s=h}finally{try{!o&&f.return&&f.return()}finally{if(a)throw s}}return n}return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return r(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),EASING={ease:"0.25 0.1 0.25 1",linear:"0 0 1 1",easein:"0.1 0.8 0.2 1",easeout:"0 0 0.58 1",easeinout:"0.42 0 0.58 1"},CSSTEXT=".chart-container{position:relative;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Roboto','Oxygen','Ubuntu','Cantarell','Fira Sans','Droid Sans','Helvetica Neue',sans-serif}.chart-container .axis,.chart-container .chart-label{fill:#555b51}.chart-container .axis line,.chart-container .chart-label line{stroke:#dadada}.chart-container .dataset-units circle{stroke:#fff;stroke-width:2}.chart-container .dataset-units path{fill:none;stroke-opacity:1;stroke-width:2px}.chart-container .dataset-path{stroke-width:2px}.chart-container .path-group path{fill:none;stroke-opacity:1;stroke-width:2px}.chart-container line.dashed{stroke-dasharray:5,3}.chart-container .axis-line .specific-value{text-anchor:start}.chart-container .axis-line .y-line{text-anchor:end}.chart-container .axis-line .x-line{text-anchor:middle}.chart-container .legend-dataset-text{fill:#6c7680;font-weight:600}.graph-svg-tip{position:absolute;z-index:99999;padding:10px;font-size:12px;color:#959da5;text-align:center;background:rgba(0,0,0,.8);border-radius:3px}.graph-svg-tip ul{padding-left:0;display:flex}.graph-svg-tip ol{padding-left:0;display:flex}.graph-svg-tip ul.data-point-list li{min-width:90px;flex:1;font-weight:600}.graph-svg-tip strong{color:#dfe2e5;font-weight:600}.graph-svg-tip .svg-pointer{position:absolute;height:5px;margin:0 0 0 -5px;content:' ';border:5px solid transparent;border-top-color:rgba(0,0,0,.8)}.graph-svg-tip.comparison{padding:0;text-align:left;pointer-events:none}.graph-svg-tip.comparison .title{display:block;padding:10px;margin:0;font-weight:600;line-height:1;pointer-events:none}.graph-svg-tip.comparison ul{margin:0;white-space:nowrap;list-style:none}.graph-svg-tip.comparison li{display:inline-block;padding:5px 10px}",_createClass$2=function(){function r(e,t){for(var n=0;n0&&arguments[0]!==void 0&&arguments[0],n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];t&&isHidden(this.parent)||(this.updateWidth(),this.calc(t),this.makeChartArea(),this.setupComponents(),this.components.forEach(function(o){return o.setup(e.drawArea)}),this.render(this.components,!1),n&&(this.data=this.realData,setTimeout(function(){e.update(e.data)},this.initTimeout)),this.renderLegend(),this.setupNavigation(n))}},{key:"calc",value:function(){}},{key:"updateWidth",value:function(){this.baseWidth=getElementContentWidth(this.parent),this.width=this.baseWidth-getExtraWidth(this.measures)}},{key:"makeChartArea",value:function(){this.svg&&this.container.removeChild(this.svg);var e=this.measures;this.svg=makeSVGContainer(this.container,"frappe-chart chart",this.baseWidth,this.baseHeight),this.svgDefs=makeSVGDefs(this.svg),this.title.length&&(this.titleEL=makeText("title",e.margins.left,e.margins.top,this.title,{fontSize:e.titleFontSize,fill:"#666666",dy:e.titleFontSize}));var t=getTopOffset(e);this.drawArea=makeSVGGroup(this.type+"-chart chart-draw-area","translate("+getLeftOffset(e)+", "+t+")"),this.config.showLegend&&(t+=this.height+e.paddings.bottom,this.legendArea=makeSVGGroup("chart-legend","translate("+getLeftOffset(e)+", "+t+")")),this.title.length&&this.svg.appendChild(this.titleEL),this.svg.appendChild(this.drawArea),this.config.showLegend&&this.svg.appendChild(this.legendArea),this.updateTipOffset(getLeftOffset(e),getTopOffset(e))}},{key:"updateTipOffset",value:function(e,t){this.tip.offset={x:e,y:t}}},{key:"setupComponents",value:function(){this.components=new Map}},{key:"update",value:function(e){e||console.error("No data to update."),this.data=this.prepareData(e),this.calc(),this.render(this.components,this.config.animate),this.renderLegend()}},{key:"render",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.components,n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this.config.isNavigable&&this.overlays.map(function(a){return a.parentNode.removeChild(a)});var o=[];t.forEach(function(a){o=o.concat(a.update(n))}),o.length>0?(runSMILAnimation(this.container,this.svg,o),setTimeout(function(){t.forEach(function(a){return a.make()}),e.updateNav()},CHART_POST_ANIMATE_TIMEOUT)):(t.forEach(function(a){return a.make()}),this.updateNav())}},{key:"updateNav",value:function(){this.config.isNavigable&&(this.makeOverlay(),this.bindUnits())}},{key:"renderLegend",value:function(){}},{key:"setupNavigation",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0&&arguments[0];this.config.isNavigable&&t&&(this.bindOverlay(),this.keyActions={13:this.onEnterKey.bind(this),37:this.onLeftArrow.bind(this),38:this.onUpArrow.bind(this),39:this.onRightArrow.bind(this),40:this.onDownArrow.bind(this)},document.addEventListener("keydown",function(n){isElementInViewport(e.container)&&(n=n||window.event,e.keyActions[n.keyCode]&&e.keyActions[n.keyCode]())}))}},{key:"makeOverlay",value:function(){}},{key:"updateOverlay",value:function(){}},{key:"bindOverlay",value:function(){}},{key:"bindUnits",value:function(){}},{key:"onLeftArrow",value:function(){}},{key:"onRightArrow",value:function(){}},{key:"onUpArrow",value:function(){}},{key:"onDownArrow",value:function(){}},{key:"onEnterKey",value:function(){}},{key:"addDataPoint",value:function(){}},{key:"removeDataPoint",value:function(){}},{key:"getDataPoint",value:function(){}},{key:"setCurrentDataPoint",value:function(){}},{key:"updateDataset",value:function(){}},{key:"export",value:function(){var e=prepareForExport(this.svg);downloadFile(this.title||"Chart",[e])}}]),r}(),_createClass$1=function(){function r(e,t){for(var n=0;n=0}),s=a;if(a.length>o){a.sort(function(f,h){return h[0]-f[0]}),s=a.slice(0,o-1);var l=0;a.slice(o-1).map(function(f){l+=f[0]}),s.push([l,"Rest"]),this.colors[o-1]="grey"}n.labels=[],s.map(function(f){n.sliceTotals.push(round(f[0])),n.labels.push(f[1])}),n.grandTotal=n.sliceTotals.reduce(function(f,h){return f+h},0),this.center={x:this.width/2,y:this.height/2}}},{key:"renderLegend",value:function(){var t=this,n=this.state;this.legendArea.textContent="",this.legendTotals=n.sliceTotals.slice(0,this.config.maxLegendPoints);var o=0,a=0;this.legendTotals.map(function(s,l){var f=150,h=Math.floor((t.width-getExtraWidth(t.measures))/f);t.legendTotals.lengthh&&(o=0,a+=20);var d=f*o+5,m=t.config.truncateLegends?truncateString(n.labels[l],f/10):n.labels[l],_=t.config.formatTooltipY?t.config.formatTooltipY(s):s,b=legendDot(d,a,5,t.colors[l],m+": "+_,!1);t.legendArea.appendChild(b),o++})}}]),e}(BaseChart),NO_OF_YEAR_MONTHS=12,NO_OF_DAYS_IN_WEEK=7,NO_OF_MILLIS=1e3,SEC_IN_DAY=86400,MONTH_NAMES=["January","February","March","April","May","June","July","August","September","October","November","December"],DAY_NAMES_SHORT=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],_slicedToArray$3=function(){function r(e,t){var n=[],o=!0,a=!1,s=void 0;try{for(var l,f=e[Symbol.iterator]();!(o=(l=f.next()).done)&&(n.push(l.value),!t||n.length!==t);o=!0);}catch(h){a=!0,s=h}finally{try{!o&&f.return&&f.return()}finally{if(a)throw s}}return n}return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return r(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_createClass$4=function(){function r(e,t){for(var n=0;n0&&arguments[0]!==void 0)||arguments[0];this.refresh();var t=[];return e&&(t=this.animateElements(this.data)||[]),t}}]),r}(),componentConfigs={donutSlices:{layerClass:"donut-slices",makeElements:function(r){return r.sliceStrings.map(function(e,t){var n=makePath(e,"donut-path",r.colors[t],"none",r.strokeWidth);return n.style.transition="transform .3s;",n})},animateElements:function(r){return this.store.map(function(e,t){return animatePathStr(e,r.sliceStrings[t])})}},pieSlices:{layerClass:"pie-slices",makeElements:function(r){return r.sliceStrings.map(function(e,t){var n=makePath(e,"pie-path","none",r.colors[t]);return n.style.transition="transform .3s;",n})},animateElements:function(r){return this.store.map(function(e,t){return animatePathStr(e,r.sliceStrings[t])})}},percentageBars:{layerClass:"percentage-bars",makeElements:function(r){var e=this;return r.xPositions.map(function(t,n){return percentageBar(t,0,r.widths[n],e.constants.barHeight,e.constants.barDepth,r.colors[n])})},animateElements:function(r){if(r)return[]}},yAxis:{layerClass:"y axis",makeElements:function(r){var e=this;return r.positions.map(function(t,n){return yLine(t,r.labels[n],e.constants.width,{mode:e.constants.mode,pos:e.constants.pos,shortenNumbers:e.constants.shortenNumbers})})},animateElements:function(r){var e=r.positions,t=r.labels,n=this.oldData.positions,o=this.oldData.labels,a=equilizeNoOfElements(n,e),s=_slicedToArray$3(a,2);n=s[0],e=s[1];var l=equilizeNoOfElements(o,t),f=_slicedToArray$3(l,2);return o=f[0],t=f[1],this.render({positions:n,labels:t}),this.store.map(function(h,d){return translateHoriLine(h,e[d],n[d])})}},xAxis:{layerClass:"x axis",makeElements:function(r){var e=this;return r.positions.map(function(t,n){return xLine(t,r.calcLabels[n],e.constants.height,{mode:e.constants.mode,pos:e.constants.pos})})},animateElements:function(r){var e=r.positions,t=r.calcLabels,n=this.oldData.positions,o=this.oldData.calcLabels,a=equilizeNoOfElements(n,e),s=_slicedToArray$3(a,2);n=s[0],e=s[1];var l=equilizeNoOfElements(o,t),f=_slicedToArray$3(l,2);return o=f[0],t=f[1],this.render({positions:n,calcLabels:t}),this.store.map(function(h,d){return translateVertLine(h,e[d],n[d])})}},yMarkers:{layerClass:"y-markers",makeElements:function(r){var e=this;return r.map(function(t){return yMarker(t.position,t.label,e.constants.width,{labelPos:t.options.labelPos,mode:"span",lineType:"dashed"})})},animateElements:function(r){var e=equilizeNoOfElements(this.oldData,r),t=_slicedToArray$3(e,2);this.oldData=t[0];var n=(r=t[1]).map(function(l){return l.position}),o=r.map(function(l){return l.label}),a=r.map(function(l){return l.options}),s=this.oldData.map(function(l){return l.position});return this.render(s.map(function(l,f){return{position:s[f],label:o[f],options:a[f]}})),this.store.map(function(l,f){return translateHoriLine(l,n[f],s[f])})}},yRegions:{layerClass:"y-regions",makeElements:function(r){var e=this;return r.map(function(t){return yRegion(t.startPos,t.endPos,e.constants.width,t.label,{labelPos:t.options.labelPos})})},animateElements:function(r){var e=equilizeNoOfElements(this.oldData,r),t=_slicedToArray$3(e,2);this.oldData=t[0];var n=(r=t[1]).map(function(d){return d.endPos}),o=r.map(function(d){return d.label}),a=r.map(function(d){return d.startPos}),s=r.map(function(d){return d.options}),l=this.oldData.map(function(d){return d.endPos}),f=this.oldData.map(function(d){return d.startPos});this.render(l.map(function(d,m){return{startPos:f[m],endPos:l[m],label:o[m],options:s[m]}}));var h=[];return this.store.map(function(d,m){h=h.concat(animateRegion(d,a[m],n[m],l[m]))}),h}},heatDomain:{layerClass:function(){return"heat-domain domain-"+this.constants.index},makeElements:function(r){var e=this,t=this.constants,n=t.index,o=t.colWidth,a=t.rowHeight,s=t.squareSize,l=t.radius,f=t.xTranslate,h=0;return this.serializedSubDomains=[],r.cols.map(function(d,m){m===1&&e.labels.push(makeText("domain-name",f,-12,getMonthName(n,!0).toUpperCase(),{fontSize:9})),d.map(function(_,b){if(_.fill){var w={"data-date":_.yyyyMmDd,"data-value":_.dataValue,"data-day":b},y=heatSquare("day",f,h,s,l,_.fill,w);e.serializedSubDomains.push(y)}h+=a}),h=0,f+=o}),this.serializedSubDomains},animateElements:function(r){if(r)return[]}},barGraph:{layerClass:function(){return"dataset-units dataset-bars dataset-"+this.constants.index},makeElements:function(r){var e=this.constants;return this.unitType="bar",this.units=r.yPositions.map(function(t,n){return datasetBar(r.xPositions[n],t,r.barWidth,e.color,r.labels[n],n,r.offsets[n],{zeroLine:r.zeroLine,barsWidth:r.barsWidth,minHeight:e.minHeight})}),this.units},animateElements:function(r){var e=r.xPositions,t=r.yPositions,n=r.offsets,o=r.labels,a=this.oldData.xPositions,s=this.oldData.yPositions,l=this.oldData.offsets,f=this.oldData.labels,h=equilizeNoOfElements(a,e),d=_slicedToArray$3(h,2);a=d[0],e=d[1];var m=equilizeNoOfElements(s,t),_=_slicedToArray$3(m,2);s=_[0],t=_[1];var b=equilizeNoOfElements(l,n),w=_slicedToArray$3(b,2);l=w[0],n=w[1];var y=equilizeNoOfElements(f,o),E=_slicedToArray$3(y,2);f=E[0],o=E[1],this.render({xPositions:a,yPositions:s,offsets:l,labels:o,zeroLine:this.oldData.zeroLine,barsWidth:this.oldData.barsWidth,barWidth:this.oldData.barWidth});var T=[];return this.store.map(function(N,D){T=T.concat(animateBar(N,e[D],t[D],r.barWidth,n[D],{zeroLine:r.zeroLine}))}),T}},lineGraph:{layerClass:function(){return"dataset-units dataset-line dataset-"+this.constants.index},makeElements:function(r){var e=this.constants;return this.unitType="dot",this.paths={},e.hideLine||(this.paths=getPaths(r.xPositions,r.yPositions,e.color,{heatline:e.heatline,regionFill:e.regionFill,spline:e.spline},{svgDefs:e.svgDefs,zeroLine:r.zeroLine})),this.units=[],e.hideDots||(this.units=r.yPositions.map(function(t,n){return datasetDot(r.xPositions[n],t,r.radius,e.color,e.valuesOverPoints?r.values[n]:"",n)})),Object.values(this.paths).concat(this.units)},animateElements:function(r){var e=r.xPositions,t=r.yPositions,n=r.values,o=this.oldData.xPositions,a=this.oldData.yPositions,s=this.oldData.values,l=equilizeNoOfElements(o,e),f=_slicedToArray$3(l,2);o=f[0],e=f[1];var h=equilizeNoOfElements(a,t),d=_slicedToArray$3(h,2);a=d[0],t=d[1];var m=equilizeNoOfElements(s,n),_=_slicedToArray$3(m,2);s=_[0],n=_[1],this.render({xPositions:o,yPositions:a,values:n,zeroLine:this.oldData.zeroLine,radius:this.oldData.radius});var b=[];return Object.keys(this.paths).length&&(b=b.concat(animatePath(this.paths,e,t,r.zeroLine,this.constants.spline))),this.units.length&&this.units.map(function(w,y){b=b.concat(animateDot(w,e[y],t[y]))}),b}}},_createClass=function(){function r(e,t){for(var n=0;n0?t.formattedLabels[l]:t.state.labels[l])+": ",b=n.sliceTotals[l]/n.grandTotal;t.tip.setValues(d,m,{name:_,value:(100*b).toFixed(1)+"%"}),t.tip.showTip()}})}}]),e}(AggregationChart),_createClass$5=function(){function r(e,t){for(var n=0;nthis.width?this.center.x:this.center.y;var o=this.radius,a=this.clockWise,s=n.slicesProperties||[];n.sliceStrings=[],n.slicesProperties=[];var l=180-this.config.startAngle;n.sliceTotals.map(function(f,h){var d=l,m=f/n.grandTotal*FULL_ANGLE,_=m>180?1:0,b=a?-m:m,w=l+=b,y=getPositionByAngle(d,o),E=getPositionByAngle(w,o),T=t.init&&s[h],N=void 0,D=void 0;t.init?(N=T?T.startPosition:y,D=T?T.endPosition:y):(N=y,D=E);var C=m===360?makeCircleStr(N,D,t.center,t.radius,a,_):makeArcPathStr(N,D,t.center,t.radius,a,_);n.sliceStrings.push(C),n.slicesProperties.push({startPosition:y,endPosition:E,value:f,total:n.grandTotal,startAngle:d,endAngle:w,angle:b})}),this.init=0}},{key:"setupComponents",value:function(){var t=this.state,n=[["pieSlices",{},(function(){return{sliceStrings:t.sliceStrings,colors:this.colors}}).bind(this)]];this.components=new Map(n.map(function(o){var a=getComponent.apply(void 0,_toConsumableArray$2(o));return[o[0],a]}))}},{key:"calTranslateByAngle",value:function(t){var n=this.radius,o=this.hoverRadio,a=getPositionByAngle(t.startAngle+t.angle/2,n);return"translate3d("+a.x*o+"px,"+a.y*o+"px,0)"}},{key:"hoverSlice",value:function(t,n,o,a){if(t){var s=this.colors[n];if(o){transform(t,this.calTranslateByAngle(this.state.slicesProperties[n])),t.style.fill=lightenDarkenColor(s,50);var l=getOffset(this.svg),f=a.pageX-l.left+10,h=a.pageY-l.top-10,d=(this.formatted_labels&&this.formatted_labels.length>0?this.formatted_labels[n]:this.state.labels[n])+": ",m=(100*this.state.sliceTotals[n]/this.state.grandTotal).toFixed(1);this.tip.setValues(f,h,{name:d,value:m+"%"}),this.tip.showTip()}else transform(t,"translate3d(0,0,0)"),this.tip.hideTip(),t.style.fill=s}}},{key:"bindTooltip",value:function(){this.container.addEventListener("mousemove",this.mouseMove),this.container.addEventListener("mouseleave",this.mouseLeave)}},{key:"mouseMove",value:function(t){var n=t.target,o=this.components.get("pieSlices").store,a=this.curActiveSliceIndex,s=this.curActiveSlice;if(o.includes(n)){var l=o.indexOf(n);this.hoverSlice(s,a,!1),this.curActiveSlice=n,this.curActiveSliceIndex=l,this.hoverSlice(n,l,!0,t)}else this.mouseLeave()}},{key:"mouseLeave",value:function(){this.hoverSlice(this.curActiveSlice,this.curActiveSliceIndex,!1)}}]),e}(AggregationChart),_slicedToArray$4=function(){function r(e,t){var n=[],o=!0,a=!1,s=void 0;try{for(var l,f=e[Symbol.iterator]();!(o=(l=f.next()).done)&&(n.push(l.value),!t||n.length!==t);o=!0);}catch(h){a=!0,s=h}finally{try{!o&&f.return&&f.return()}finally{if(a)throw s}}return n}return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return r(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_createClass$6=function(){function r(e,t){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:this.data;if(t.start&&t.end&&t.start>t.end)throw new Error("Start date cannot be greater than end date.");if(t.start||(t.start=new Date,t.start.setFullYear(t.start.getFullYear()-1)),t.end||(t.end=new Date),t.dataPoints=t.dataPoints||{},parseInt(Object.keys(t.dataPoints)[0])>1e5){var n={};Object.keys(t.dataPoints).forEach(function(o){var a=new Date(o*NO_OF_MILLIS);n[getYyyyMmDd(a)]=t.dataPoints[o]}),t.dataPoints=n}return t}},{key:"calc",value:function(){var t=this.state;t.start=clone(this.data.start),t.end=clone(this.data.end),t.firstWeekStart=clone(t.start),t.noOfWeeks=getWeeksBetween(t.start,t.end),t.distribution=calcDistribution(Object.values(this.data.dataPoints),HEATMAP_DISTRIBUTION_SIZE),t.domainConfigs=this.getDomains()}},{key:"setupComponents",value:function(){var t=this,n=this.state,o=this.discreteDomains?0:1,a=n.domainConfigs.map(function(l,f){return["heatDomain",{index:l.index,colWidth:COL_WIDTH,rowHeight:ROW_HEIGHT,squareSize:HEATMAP_SQUARE_SIZE,radius:t.rawChartArgs.radius||0,xTranslate:n.domainConfigs.filter(function(h,d){return d1&&arguments[1]!==void 0?arguments[1]:"",o=[t.getMonth(),t.getFullYear()],a=o[0],s=o[1],l=setDayToSunday(t),f={index:a,cols:[]};addDays(n=clone(n)||getLastDateInMonth(a,s),1);for(var h=getWeeksBetween(l,n),d=[],m=void 0,_=0;_2&&arguments[2]!==void 0&&arguments[2],a=this.state,s=clone(t),l=[],f=0;f=a.start&&s<=a.end;o||s.getMonth()!==n||!d?h.yyyyMmDd=getYyyyMmDd(s):h=this.getSubDomainConfig(s),l.push(h)}return l}},{key:"getSubDomainConfig",value:function(t){var n=getYyyyMmDd(t),o=this.data.dataPoints[n];return{yyyyMmDd:n,dataValue:o||0,fill:this.colors[getMaxCheckpoint(o,this.state.distribution)]}}}]),e}(BaseChart),_createClass$7=function(){function r(e,t){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:this.data,this.type)}},{key:"prepareFirstData",value:function(){return zeroDataPrep(arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.data)}},{key:"calc",value:function(){var t=arguments.length>0&&arguments[0]!==void 0&&arguments[0];this.calcXPositions(),t||this.calcYAxisParameters(this.getAllYValues(),this.type==="line"),this.makeDataByIndex()}},{key:"calcXPositions",value:function(){var t=this.state,n=this.data.labels;t.datasetLength=n.length,t.unitWidth=this.width/t.datasetLength,t.xOffset=t.unitWidth/2,t.xAxis={labels:n,positions:n.map(function(o,a){return floatTwo(t.xOffset+a*t.unitWidth)})}}},{key:"calcYAxisParameters",value:function(t){var n=calcChartIntervals(t,arguments.length>1&&arguments[1]!==void 0?arguments[1]:"false"),o=this.height/getValueRange(n),a=getIntervalSize(n)*o,s=this.height-getZeroIndex(n)*a;this.state.yAxis={labels:n,positions:n.map(function(l){return s-l*o}),scaleMultiplier:o,zeroLine:s},this.calcDatasetPoints(),this.calcYExtremes(),this.calcYRegions()}},{key:"calcDatasetPoints",value:function(){var t=this.state,n=function(o){return o.map(function(a){return scale(a,t.yAxis)})};t.datasets=this.data.datasets.map(function(o,a){var s=o.values,l=o.cumulativeYs||[];return{name:o.name&&o.name.replace(/<|>|&/g,function(f){return f=="&"?"&":f=="<"?"<":">"}),index:a,chartType:o.chartType,values:s,yPositions:n(s),cumulativeYs:l,cumulativeYPos:n(l)}})}},{key:"calcYExtremes",value:function(){var t=this.state;if(this.barOptions.stacked)return void(t.yExtremes=t.datasets[t.datasets.length-1].cumulativeYPos);t.yExtremes=new Array(t.datasetLength).fill(9999),t.datasets.map(function(n){n.yPositions.map(function(o,a){ogetTopOffset(o)?t.mapTooltipXPosition(s):t.tip.hideTip()})}},{key:"mapTooltipXPosition",value:function(t){var n=this.state;if(n.yExtremes){var o=getClosestInArray(t,n.xAxis.positions,!0);if(o>=0){var a=this.dataByIndex[o];this.tip.setValues(a.xPos+this.tip.offset.x,a.yExtreme+this.tip.offset.y,{name:a.formattedLabel,value:""},a.values,o),this.tip.showTip()}}}},{key:"renderLegend",value:function(){var t=this,n=this.data;n.datasets.length>1&&(this.legendArea.textContent="",n.datasets.map(function(o,a){var s=AXIS_LEGEND_BAR_SIZE,l=legendBar(s*a,"0",s,t.colors[a],o.name,t.config.truncateLegends);t.legendArea.appendChild(l)}))}},{key:"makeOverlay",value:function(){var t=this;if(this.init)return void(this.init=0);this.overlayGuides&&this.overlayGuides.forEach(function(n){var o=n.overlay;o.parentNode.removeChild(o)}),this.overlayGuides=this.dataUnitComponents.map(function(n){return{type:n.unitType,overlay:void 0,units:n.units}}),this.state.currentIndex===void 0&&(this.state.currentIndex=this.state.datasetLength-1),this.overlayGuides.map(function(n){var o=n.units[t.state.currentIndex];n.overlay=makeOverlay[n.type](o),t.drawArea.appendChild(n.overlay)})}},{key:"updateOverlayGuides",value:function(){this.overlayGuides&&this.overlayGuides.forEach(function(t){var n=t.overlay;n.parentNode.removeChild(n)})}},{key:"bindOverlay",value:function(){var t=this;this.parent.addEventListener("data-select",function(){t.updateOverlay()})}},{key:"bindUnits",value:function(){var t=this;this.dataUnitComponents.map(function(n){n.units.map(function(o){o.addEventListener("click",function(){var a=o.getAttribute("data-point-index");t.setCurrentDataPoint(a)})})}),this.tip.container.addEventListener("click",function(){var n=t.tip.container.getAttribute("data-point-index");t.setCurrentDataPoint(n)})}},{key:"updateOverlay",value:function(){var t=this;this.overlayGuides.map(function(n){var o=n.units[t.state.currentIndex];updateOverlay[n.type](o,n.overlay)})}},{key:"onLeftArrow",value:function(){this.setCurrentDataPoint(this.state.currentIndex-1)}},{key:"onRightArrow",value:function(){this.setCurrentDataPoint(this.state.currentIndex+1)}},{key:"getDataPoint",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.state.currentIndex,n=this.state;return{index:t,label:n.xAxis.labels[t],values:n.datasets.map(function(o){return o.values[t]})}}},{key:"setCurrentDataPoint",value:function(t){var n=this.state;(t=parseInt(t))<0&&(t=0),t>=n.xAxis.labels.length&&(t=n.xAxis.labels.length-1),t!==n.currentIndex&&(n.currentIndex=t,fire(this.parent,"data-select",this.getDataPoint()))}},{key:"addDataPoint",value:function(t,n){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.state.datasetLength;_get$3(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"addDataPoint",this).call(this,t,n,o),this.data.labels.splice(o,0,t),this.data.datasets.map(function(a,s){a.values.splice(o,0,n[s])}),this.update(this.data)}},{key:"removeDataPoint",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.state.datasetLength-1;this.data.labels.length<=1||(_get$3(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"removeDataPoint",this).call(this,t),this.data.labels.splice(t,1),this.data.datasets.map(function(n){n.values.splice(t,1)}),this.update(this.data))}},{key:"updateDataset",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this.data.datasets[n].values=t,this.update(this.data)}},{key:"updateDatasets",value:function(t){this.data.datasets.map(function(n,o){t[o]&&(n.values=t[o])}),this.update(this.data)}}]),e}(BaseChart),_createClass$8=function(){function r(e,t){for(var n=0;nthis.width?this.center.x-this.strokeWidth/2:this.center.y-this.strokeWidth/2;var o=this.radius,a=this.clockWise,s=n.slicesProperties||[];n.sliceStrings=[],n.slicesProperties=[];var l=180-this.config.startAngle;n.sliceTotals.map(function(f,h){var d=l,m=f/n.grandTotal*FULL_ANGLE,_=m>180?1:0,b=a?-m:m,w=l+=b,y=getPositionByAngle(d,o),E=getPositionByAngle(w,o),T=t.init&&s[h],N=void 0,D=void 0;t.init?(N=T?T.startPosition:y,D=T?T.endPosition:y):(N=y,D=E);var C=m===360?makeStrokeCircleStr(N,D,t.center,t.radius,t.clockWise,_):makeArcStrokePathStr(N,D,t.center,t.radius,t.clockWise,_);n.sliceStrings.push(C),n.slicesProperties.push({startPosition:y,endPosition:E,value:f,total:n.grandTotal,startAngle:d,endAngle:w,angle:b})}),this.init=0}},{key:"setupComponents",value:function(){var t=this.state,n=[["donutSlices",{},(function(){return{sliceStrings:t.sliceStrings,colors:this.colors,strokeWidth:this.strokeWidth}}).bind(this)]];this.components=new Map(n.map(function(o){var a=getComponent.apply(void 0,_toConsumableArray$7(o));return[o[0],a]}))}},{key:"calTranslateByAngle",value:function(t){var n=this.radius,o=this.hoverRadio,a=getPositionByAngle(t.startAngle+t.angle/2,n);return"translate3d("+a.x*o+"px,"+a.y*o+"px,0)"}},{key:"hoverSlice",value:function(t,n,o,a){if(t){var s=this.colors[n];if(o){transform(t,this.calTranslateByAngle(this.state.slicesProperties[n])),t.style.stroke=lightenDarkenColor(s,50);var l=getOffset(this.svg),f=a.pageX-l.left+10,h=a.pageY-l.top-10,d=(this.formatted_labels&&this.formatted_labels.length>0?this.formatted_labels[n]:this.state.labels[n])+": ",m=(100*this.state.sliceTotals[n]/this.state.grandTotal).toFixed(1);this.tip.setValues(f,h,{name:d,value:m+"%"}),this.tip.showTip()}else transform(t,"translate3d(0,0,0)"),this.tip.hideTip(),t.style.stroke=s}}},{key:"bindTooltip",value:function(){this.container.addEventListener("mousemove",this.mouseMove),this.container.addEventListener("mouseleave",this.mouseLeave)}},{key:"mouseMove",value:function(t){var n=t.target,o=this.components.get("donutSlices").store,a=this.curActiveSliceIndex,s=this.curActiveSlice;if(o.includes(n)){var l=o.indexOf(n);this.hoverSlice(s,a,!1),this.curActiveSlice=n,this.curActiveSliceIndex=l,this.hoverSlice(n,l,!0,t)}else this.mouseLeave()}},{key:"mouseLeave",value:function(){this.hoverSlice(this.curActiveSlice,this.curActiveSliceIndex,!1)}}]),e}(AggregationChart),chartTypes={bar:AxisChart,line:AxisChart,percentage:PercentageChart,heatmap:Heatmap,pie:PieChart,donut:DonutChart},Chart=function r(e,t){return _classCallCheck(this,r),getChartByType(t.type,e,t)};function create_fragment$2(r){let e,t,n;return{c(){e=element("div")},l(o){e=claim_element(o,"DIV",{}),children(e).forEach(detach)},m(o,a){insert_hydration(o,e,a),r[18](e),t||(n=listen(e,"data-select",r[17]),t=!0)},p:noop$2,i:noop$2,o:noop$2,d(o){o&&detach(e),r[18](null),t=!1,n()}}}function instance$2(r,e,t){let{data:n={labels:[],datasets:[{values:[]}],yMarkers:{},yRegions:[]}}=e,{title:o=""}=e,{type:a="line"}=e,{height:s=300}=e,{animate:l=!0}=e,{axisOptions:f={}}=e,{barOptions:h={}}=e,{lineOptions:d={}}=e,{tooltipOptions:m={}}=e,{colors:_=[]}=e,{valuesOverPoints:b=0}=e,{isNavigable:w=!1}=e,{maxSlices:y=3}=e,E=null,T;function N(x){return function(...M){if(E)return x(...M)}}const D=N((x,R,M)=>E.addDataPoint(x,R,M)),C=N(x=>E.removeDataPoint(x)),A=N(()=>E.export()),S=N(x=>E.update(x));onMount(()=>{E=new Chart(T,{data:n,title:o,type:a,height:s,animate:l,colors:_,axisOptions:f,barOptions:h,lineOptions:d,tooltipOptions:m,valuesOverPoints:b,isNavigable:w,maxSlices:y})}),onDestroy(()=>{E=null});function I(x){bubble.call(this,r,x)}function L(x){binding_callbacks[x?"unshift":"push"](()=>{T=x,t(0,T)})}return r.$$set=x=>{"data"in x&&t(1,n=x.data),"title"in x&&t(2,o=x.title),"type"in x&&t(3,a=x.type),"height"in x&&t(4,s=x.height),"animate"in x&&t(5,l=x.animate),"axisOptions"in x&&t(6,f=x.axisOptions),"barOptions"in x&&t(7,h=x.barOptions),"lineOptions"in x&&t(8,d=x.lineOptions),"tooltipOptions"in x&&t(9,m=x.tooltipOptions),"colors"in x&&t(10,_=x.colors),"valuesOverPoints"in x&&t(11,b=x.valuesOverPoints),"isNavigable"in x&&t(12,w=x.isNavigable),"maxSlices"in x&&t(13,y=x.maxSlices)},r.$$.update=()=>{r.$$.dirty&2&&S(n)},[T,n,o,a,s,l,f,h,d,m,_,b,w,y,D,C,A,I,L]}class Base extends SvelteComponent{constructor(e){super(),init(this,e,instance$2,create_fragment$2,safe_not_equal,{data:1,title:2,type:3,height:4,animate:5,axisOptions:6,barOptions:7,lineOptions:8,tooltipOptions:9,colors:10,valuesOverPoints:11,isNavigable:12,maxSlices:13,addDataPoint:14,removeDataPoint:15,exportChart:16})}get addDataPoint(){return this.$$.ctx[14]}get removeDataPoint(){return this.$$.ctx[15]}get exportChart(){return this.$$.ctx[16]}}const Base$1=Base;function create_if_block_1(r){let e,t,n,o,a,s,l;return s=new SubmitReview({}),{c(){e=element("div"),t=element("h3"),n=text("Be the first to review this website"),o=space(),a=element("div"),create_component(s.$$.fragment),this.h()},l(f){e=claim_element(f,"DIV",{class:!0});var h=children(e);t=claim_element(h,"H3",{class:!0});var d=children(t);n=claim_text(d,"Be the first to review this website"),d.forEach(detach),o=claim_space(h),a=claim_element(h,"DIV",{class:!0});var m=children(a);claim_component(s.$$.fragment,m),m.forEach(detach),h.forEach(detach),this.h()},h(){attr(t,"class","text-3xl text-center"),attr(a,"class","card-actions justify-end"),attr(e,"class","flex flex-col gap-28 items-center")},m(f,h){insert_hydration(f,e,h),append_hydration(e,t),append_hydration(t,n),append_hydration(e,o),append_hydration(e,a),mount_component(s,a,null),l=!0},p:noop$2,i(f){l||(transition_in(s.$$.fragment,f),l=!0)},o(f){transition_out(s.$$.fragment,f),l=!1},d(f){f&&detach(e),destroy_component(s)}}}function create_if_block$1(r){let e,t,n,o,a,s,l,f,h,d,m,_,b,w,y,E,T,N;return n=new Base$1({props:{data:r[1],type:"donut",height:300,width:300}}),y=new Review({props:{urlWithoutProtocol:r[3]}}),T=new SubmitReview({}),{c(){e=element("div"),t=element("div"),create_component(n.$$.fragment),o=space(),a=element("div"),s=space(),l=element("br"),f=space(),h=element("div"),d=element("div"),m=element("h2"),_=text("What people say"),b=space(),w=element("div"),create_component(y.$$.fragment),E=space(),create_component(T.$$.fragment),this.h()},l(D){e=claim_element(D,"DIV",{class:!0});var C=children(e);t=claim_element(C,"DIV",{class:!0});var A=children(t);claim_component(n.$$.fragment,A),o=claim_space(A),a=claim_element(A,"DIV",{}),children(a).forEach(detach),A.forEach(detach),C.forEach(detach),s=claim_space(D),l=claim_element(D,"BR",{}),f=claim_space(D),h=claim_element(D,"DIV",{class:!0});var S=children(h);d=claim_element(S,"DIV",{class:!0});var I=children(d);m=claim_element(I,"H2",{class:!0});var L=children(m);_=claim_text(L,"What people say"),L.forEach(detach),b=claim_space(I),w=claim_element(I,"DIV",{class:!0});var x=children(w);claim_component(y.$$.fragment,x),E=claim_space(x),claim_component(T.$$.fragment,x),x.forEach(detach),I.forEach(detach),S.forEach(detach),this.h()},h(){attr(t,"class","block w-auto h-max"),attr(e,"class","justify-center"),attr(m,"class","px-5 text-xl font-bold text-center dark:text-white"),attr(w,"class","card-actions mt-4 justify-center"),attr(d,"class","p-4"),attr(h,"class","w-auto shadow-lg dark:shadow-green-300/30 rounded-lg")},m(D,C){insert_hydration(D,e,C),append_hydration(e,t),mount_component(n,t,null),append_hydration(t,o),append_hydration(t,a),insert_hydration(D,s,C),insert_hydration(D,l,C),insert_hydration(D,f,C),insert_hydration(D,h,C),append_hydration(h,d),append_hydration(d,m),append_hydration(m,_),append_hydration(d,b),append_hydration(d,w),mount_component(y,w,null),append_hydration(w,E),mount_component(T,w,null),N=!0},p(D,C){const A={};C&2&&(A.data=D[1]),n.$set(A);const S={};C&8&&(S.urlWithoutProtocol=D[3]),y.$set(S)},i(D){N||(transition_in(n.$$.fragment,D),transition_in(y.$$.fragment,D),transition_in(T.$$.fragment,D),N=!0)},o(D){transition_out(n.$$.fragment,D),transition_out(y.$$.fragment,D),transition_out(T.$$.fragment,D),N=!1},d(D){D&&detach(e),destroy_component(n),D&&detach(s),D&&detach(l),D&&detach(f),D&&detach(h),destroy_component(y),destroy_component(T)}}}function create_fragment$1(r){let e,t,n,o,a,s,l,f,h,d,m,_,b;t=new Header({});const w=[create_if_block$1,create_if_block_1],y=[];function E(T,N){return T[0]&&T[0].length>0?0:T[0]&&T[0].length<=0||!T[0]?1:-1}return~(f=E(r))&&(h=y[f]=w[f](r)),_=new Loader({}),{c(){e=element("div"),create_component(t.$$.fragment),n=space(),o=element("div"),a=text(r[3]),s=space(),l=element("div"),h&&h.c(),d=space(),m=element("div"),create_component(_.$$.fragment),this.h()},l(T){e=claim_element(T,"DIV",{});var N=children(e);claim_component(t.$$.fragment,N),n=claim_space(N),o=claim_element(N,"DIV",{class:!0});var D=children(o);a=claim_text(D,r[3]),D.forEach(detach),s=claim_space(N),l=claim_element(N,"DIV",{class:!0});var C=children(l);h&&h.l(C),C.forEach(detach),d=claim_space(N),m=claim_element(N,"DIV",{class:!0});var A=children(m);claim_component(_.$$.fragment,A),A.forEach(detach),N.forEach(detach),this.h()},h(){attr(o,"class","text-center text-xl text-bold dark:text-white p-2 m-5 border border-zinc-600 dark:border-green-400 rounded-full flex justify-center items-center"),attr(l,"class","bg-white text-black dark:bg-gray-900 dark:text-white"),attr(m,"class","modal h-screen z-10 absolute top-0 flex justify-center items-center"),toggle_class(m,"modal-open",r[2])},m(T,N){insert_hydration(T,e,N),mount_component(t,e,null),append_hydration(e,n),append_hydration(e,o),append_hydration(o,a),append_hydration(e,s),append_hydration(e,l),~f&&y[f].m(l,null),append_hydration(e,d),append_hydration(e,m),mount_component(_,m,null),b=!0},p(T,[N]){(!b||N&8)&&set_data(a,T[3]);let D=f;f=E(T),f===D?~f&&y[f].p(T,N):(h&&(group_outros(),transition_out(y[D],1,1,()=>{y[D]=null}),check_outros()),~f?(h=y[f],h?h.p(T,N):(h=y[f]=w[f](T),h.c()),transition_in(h,1),h.m(l,null)):h=null),(!b||N&4)&&toggle_class(m,"modal-open",T[2])},i(T){b||(transition_in(t.$$.fragment,T),transition_in(h),transition_in(_.$$.fragment,T),b=!0)},o(T){transition_out(t.$$.fragment,T),transition_out(h),transition_out(_.$$.fragment,T),b=!1},d(T){T&&detach(e),destroy_component(t),~f&&y[f].d(),destroy_component(_)}}}function instance$1(r,e,t){let n,o,a=[],s,l=!1;const f=async()=>{var m;t(2,l=!0);try{const[_]=await chrome.tabs.query({active:!0,currentWindow:!0});t(4,o=(m=_.url)==null?void 0:m.toLocaleLowerCase())}catch(_){console.log(_)}finally{t(2,l=!1)}};let h=async()=>{let m="";jwtToken.subscribe(y=>m=y);const _={method:"GET",headers:{"Content-Type":"application/json",Authorization:`Bearer ${m}`}},w=await(await fetch(`${PUBLIC_GATEWAY_URL}/stats?domain=${n}`,_)).json();t(0,a=w.payload),console.log(w)};const d=async()=>{t(1,s={labels:[],datasets:[{values:[]}]}),a&&a.forEach(m=>{s.labels.push(m.siteSafety),s.datasets[0].values.push(Number(m.count))})};return onMount(async()=>{await f(),await h(),await d()}),r.$$.update=()=>{r.$$.dirty&16&&t(3,n=o==null?void 0:o.replace(/^https?:\/\/([^/]+)\/.*/,"$1"))},[a,s,l,n,o]}class Dashboard extends SvelteComponent{constructor(e){super(),init(this,e,instance$1,create_fragment$1,safe_not_equal,{})}}function create_else_block(r){let e,t;return e=new Dashboard({}),{c(){create_component(e.$$.fragment)},l(n){claim_component(e.$$.fragment,n)},m(n,o){mount_component(e,n,o),t=!0},p:noop$2,i(n){t||(transition_in(e.$$.fragment,n),t=!0)},o(n){transition_out(e.$$.fragment,n),t=!1},d(n){destroy_component(e,n)}}}function create_if_block(r){let e,t,n,o,a,s,l,f,h,d,m,_,b,w,y,E,T,N,D,C;return t=new Header({}),{c(){e=element("div"),create_component(t.$$.fragment),n=space(),o=element("div"),a=element("img"),l=space(),f=element("div"),h=element("h1"),d=text("Welcome "),m=element("br"),_=text(" to Netsepio"),b=space(),w=element("div"),y=element("a"),E=element("button"),T=text("Dashboard"),this.h()},l(A){e=claim_element(A,"DIV",{});var S=children(e);claim_component(t.$$.fragment,S),n=claim_space(S),o=claim_element(S,"DIV",{class:!0});var I=children(o);a=claim_element(I,"IMG",{src:!0,alt:!0,class:!0}),l=claim_space(I),f=claim_element(I,"DIV",{class:!0});var L=children(f);h=claim_element(L,"H1",{class:!0});var x=children(h);d=claim_text(x,"Welcome "),m=claim_element(x,"BR",{}),_=claim_text(x," to Netsepio"),x.forEach(detach),b=claim_space(L),w=claim_element(L,"DIV",{class:!0});var R=children(w);y=claim_element(R,"A",{href:!0});var M=children(y);E=claim_element(M,"BUTTON",{class:!0});var K=children(E);T=claim_text(K,"Dashboard"),K.forEach(detach),M.forEach(detach),R.forEach(detach),L.forEach(detach),I.forEach(detach),S.forEach(detach),this.h()},h(){src_url_equal(a.src,s=src)||attr(a,"src",s),attr(a,"alt","NetSepio logo"),attr(a,"class","w-1/2 mx-auto block"),attr(h,"class","text-4xl font-bold text-center"),attr(E,"class","btn btn-wide mt-3"),attr(y,"href","/"),attr(w,"class","mt-2"),attr(f,"class",""),attr(o,"class","flex flex-col justify-evenly items-center w-full min-h-[490px] max-h-max mx-auto")},m(A,S){insert_hydration(A,e,S),mount_component(t,e,null),append_hydration(e,n),append_hydration(e,o),append_hydration(o,a),append_hydration(o,l),append_hydration(o,f),append_hydration(f,h),append_hydration(h,d),append_hydration(h,m),append_hydration(h,_),append_hydration(f,b),append_hydration(f,w),append_hydration(w,y),append_hydration(y,E),append_hydration(E,T),N=!0,D||(C=listen(E,"click",r[1]),D=!0)},p:noop$2,i(A){N||(transition_in(t.$$.fragment,A),N=!0)},o(A){transition_out(t.$$.fragment,A),N=!1},d(A){A&&detach(e),destroy_component(t),D=!1,C()}}}function create_fragment(r){let e,t,n,o;const a=[create_if_block,create_else_block],s=[];function l(f,h){return f[0]===0?0:1}return e=l(r),t=s[e]=a[e](r),{c(){t.c(),n=empty$1()},l(f){t.l(f),n=empty$1()},m(f,h){s[e].m(f,h),insert_hydration(f,n,h),o=!0},p(f,[h]){let d=e;e=l(f),e===d?s[e].p(f,h):(group_outros(),transition_out(s[d],1,1,()=>{s[d]=null}),check_outros(),t=s[e],t?t.p(f,h):(t=s[e]=a[e](f),t.c()),transition_in(t,1),t.m(n.parentNode,n))},i(f){o||(transition_in(t),o=!0)},o(f){transition_out(t),o=!1},d(f){s[e].d(f),f&&detach(n)}}}let src="/logo-3.png";function instance(r,e,t){let n;return component_subscribe(r,onboardingStepsLeft,a=>t(0,n=a)),[n,()=>{onboardingStepsLeft.set(3)}]}class Page extends SvelteComponent{constructor(e){super(),init(this,e,instance,create_fragment,safe_not_equal,{})}}export{Page as component,_page as universal}; diff --git a/build/app/immutable/nodes/3.5063bed6.js b/build/app/immutable/nodes/3.5063bed6.js deleted file mode 100644 index 5f3b30a92..000000000 --- a/build/app/immutable/nodes/3.5063bed6.js +++ /dev/null @@ -1 +0,0 @@ -import{S as te,i as ae,s as se,k as b,y as X,a as I,l as v,m as x,z as F,c as U,h as _,b as w,A as Z,D as c,d as B,f as re,g as L,B as ee,I as le,o as ne,v as ie,H as R,q as W,r as z,n as o,K as M,Q,J as N,u as oe,L as ce}from"../chunks/index.f3b06f47.js";import{H as ue}from"../chunks/Header.b7ab37a3.js";import{a as me}from"../chunks/public.02ab71de.js";import{j as fe}from"../chunks/store.26750aee.js";import{c as pe}from"../chunks/secondAuth.f9ee4b2a.js";import{A as _e}from"../chunks/AskToLogin.c273dc76.js";function de(f){let e,t;return e=new _e({}),{c(){X(e.$$.fragment)},l(l){F(e.$$.fragment,l)},m(l,d){Z(e,l,d),t=!0},p:R,i(l){t||(L(e.$$.fragment,l),t=!0)},o(l){B(e.$$.fragment,l),t=!1},d(l){ee(e,l)}}}function ke(f){let e,t,l,d,i,n,u,k,y,m,A,a,p,g,P,$,s,S=(f[1]??"Write to Us!")+"",D,j,T,V,H,C,O,Y;return{c(){e=b("div"),t=b("h1"),l=W("Rate Us"),d=I(),i=b("div"),n=b("input"),u=I(),k=b("input"),y=I(),m=b("input"),A=I(),a=b("input"),p=I(),g=b("input"),P=I(),$=b("div"),s=b("h1"),D=W(S),j=I(),T=b("textarea"),V=I(),H=b("button"),C=W("Submit"),this.h()},l(r){e=v(r,"DIV",{});var h=x(e);t=v(h,"H1",{class:!0});var q=x(t);l=z(q,"Rate Us"),q.forEach(_),d=U(h),i=v(h,"DIV",{class:!0});var E=x(i);n=v(E,"INPUT",{type:!0,name:!0,class:!0}),u=U(E),k=v(E,"INPUT",{type:!0,name:!0,class:!0}),y=U(E),m=v(E,"INPUT",{type:!0,name:!0,class:!0}),A=U(E),a=v(E,"INPUT",{type:!0,name:!0,class:!0}),p=U(E),g=v(E,"INPUT",{type:!0,name:!0,class:!0}),E.forEach(_),h.forEach(_),P=U(r),$=v(r,"DIV",{});var J=x($);s=v(J,"H1",{class:!0});var G=x(s);D=z(G,S),G.forEach(_),J.forEach(_),j=U(r),T=v(r,"TEXTAREA",{class:!0,placeholder:!0}),x(T).forEach(_),V=U(r),H=v(r,"BUTTON",{class:!0});var K=x(H);C=z(K,"Submit"),K.forEach(_),this.h()},h(){o(t,"class","text-3xl text-left mt-5 mb-5"),o(n,"type","radio"),o(n,"name","rating-2"),o(n,"class","mask mask-star-2 bg-orange-400"),n.checked=!0,n.value="1",o(k,"type","radio"),o(k,"name","rating-2"),o(k,"class","mask mask-star-2 bg-orange-400"),k.value="2",o(m,"type","radio"),o(m,"name","rating-2"),o(m,"class","mask mask-star-2 bg-orange-400"),m.value="3",o(a,"type","radio"),o(a,"name","rating-2"),o(a,"class","mask mask-star-2 bg-orange-400"),a.value="4",o(g,"type","radio"),o(g,"name","rating-2"),o(g,"class","mask mask-star-2 bg-orange-400"),g.value="5",o(i,"class","rating"),o(s,"class","text-5xl text-left mt-10 mb-5"),M(s,"text-red-500",f[1]),o(T,"class","textarea textarea-success w-full h-44 bg-slate-100 dark:text-white dark:bg-gray-900 border border-zinc-600"),o(T,"placeholder","Write Here"),o(H,"class","btn mt-2 mb-2")},m(r,h){w(r,e,h),c(e,t),c(t,l),c(e,d),c(e,i),c(i,n),c(i,u),c(i,k),c(i,y),c(i,m),c(i,A),c(i,a),c(i,p),c(i,g),w(r,P,h),w(r,$,h),c($,s),c(s,D),w(r,j,h),w(r,T,h),Q(T,f[0]),w(r,V,h),w(r,H,h),c(H,C),O||(Y=[N(n,"click",f[6]),N(k,"click",f[7]),N(m,"click",f[8]),N(a,"click",f[9]),N(g,"click",f[10]),N(T,"input",f[11]),N(H,"click",f[5])],O=!0)},p(r,h){h&2&&S!==(S=(r[1]??"Write to Us!")+"")&&oe(D,S),h&2&&M(s,"text-red-500",r[1]),h&1&&Q(T,r[0])},i:R,o:R,d(r){r&&_(e),r&&_(P),r&&_($),r&&_(j),r&&_(T),r&&_(V),r&&_(H),O=!1,ce(Y)}}}function he(f){let e,t;return{c(){e=b("div"),t=W("Your feedback means a lot to us, so thank you :)"),this.h()},l(l){e=v(l,"DIV",{class:!0});var d=x(e);t=z(d,"Your feedback means a lot to us, so thank you :)"),d.forEach(_),this.h()},h(){o(e,"class","h-[70vh] text-center flex justify-center items-center p-8 text-xl")},m(l,d){w(l,e,d),c(e,t)},p:R,i:R,o:R,d(l){l&&_(e)}}}function be(f){let e,t,l,d,i,n,u,k;t=new ue({});const y=[he,ke,de],m=[];function A(a,p){return a[2]?0:a[3]?1:2}return n=A(f),u=m[n]=y[n](f),{c(){e=b("div"),X(t.$$.fragment),l=I(),d=b("br"),i=I(),u.c()},l(a){e=v(a,"DIV",{});var p=x(e);F(t.$$.fragment,p),l=U(p),d=v(p,"BR",{}),i=U(p),u.l(p),p.forEach(_)},m(a,p){w(a,e,p),Z(t,e,null),c(e,l),c(e,d),c(e,i),m[n].m(e,null),k=!0},p(a,[p]){let g=n;n=A(a),n===g?m[n].p(a,p):(ie(),B(m[g],1,1,()=>{m[g]=null}),re(),u=m[n],u?u.p(a,p):(u=m[n]=y[n](a),u.c()),L(u,1),u.m(e,null))},i(a){k||(L(t.$$.fragment,a),L(u),k=!0)},o(a){B(t.$$.fragment,a),B(u),k=!1},d(a){a&&_(e),ee(t),m[n].d()}}}function ve(f,e,t){let l;le(f,fe,s=>t(13,l=s));let d,i,n,u,k=!1;const y=s=>{d=s.target.value},m=async()=>{try{const s=await fetch(`${me}/feedback`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:l},body:JSON.stringify({feedback:i,rating:Number(d)})});s.status===401&&t(1,n="Setup wallet and sing up first"),s.status===200&&t(2,u=!0)}catch(s){t(1,n=s.message)}};ne(async()=>{t(3,[k]=await pe(),k)});const A=s=>{y(s)},a=s=>{y(s)},p=s=>{y(s)},g=s=>{y(s)},P=s=>{y(s)};function $(){i=this.value,t(0,i)}return[i,n,u,k,y,m,A,a,p,g,P,$]}class xe extends te{constructor(e){super(),ae(this,e,ve,be,se,{})}}export{xe as component}; diff --git a/build/app/immutable/nodes/3.8927f60a.js b/build/app/immutable/nodes/3.8927f60a.js new file mode 100644 index 000000000..2d530d8d8 --- /dev/null +++ b/build/app/immutable/nodes/3.8927f60a.js @@ -0,0 +1 @@ +import{S as X,i as Z,s as ee,k as l,y as te,a as b,q as D,l as o,m as f,z as ae,c as y,r as H,h as p,n as r,b as re,A as se,D as e,M as C,K as F,g as ne,d as le,B as oe,N as ie,I as ue}from"../chunks/index.89e71670.js";import{H as ce}from"../chunks/Header.cf7b0240.js";import{j as me}from"../chunks/store.b194c171.js";import{P as pe}from"../chunks/public.6087a87e.js";function de(h){let t,u,U,c,_,T,$,B,d,n,L,E,i,P,v,g,R,V,m,j,k,q,w,N,I,z,x,O,G;return u=new ce({}),{c(){t=l("div"),te(u.$$.fragment),U=b(),c=l("h1"),_=D("Set your profile"),T=b(),$=l("br"),B=b(),d=l("div"),n=l("label"),L=D("Enter name"),E=b(),i=l("input"),P=b(),v=l("div"),g=l("label"),R=D("Enter profile URL"),V=b(),m=l("input"),j=b(),k=l("br"),q=b(),w=l("div"),N=l("div"),I=l("button"),z=D("Save"),this.h()},l(s){t=o(s,"DIV",{});var a=f(t);ae(u.$$.fragment,a),U=y(a),c=o(a,"H1",{class:!0});var J=f(c);_=H(J,"Set your profile"),J.forEach(p),T=y(a),$=o(a,"BR",{}),B=y(a),d=o(a,"DIV",{});var A=f(d);n=o(A,"LABEL",{for:!0,class:!0});var K=f(n);L=H(K,"Enter name"),K.forEach(p),E=y(A),i=o(A,"INPUT",{name:!0,type:!0,class:!0}),A.forEach(p),P=y(a),v=o(a,"DIV",{class:!0});var S=f(v);g=o(S,"LABEL",{for:!0,class:!0});var M=f(g);R=H(M,"Enter profile URL"),M.forEach(p),V=y(S),m=o(S,"INPUT",{name:!0,type:!0,class:!0}),S.forEach(p),j=y(a),k=o(a,"BR",{}),q=y(a),w=o(a,"DIV",{class:!0});var W=f(w);N=o(W,"DIV",{class:!0});var Y=f(N);I=o(Y,"BUTTON",{class:!0});var Q=f(I);z=H(Q,"Save"),Q.forEach(p),Y.forEach(p),W.forEach(p),a.forEach(p),this.h()},h(){r(c,"class","text-xl font-bold text-center mt-4"),r(n,"for","userName"),r(n,"class","text-sm text-left mt-4 mb-4"),r(i,"name","userName"),r(i,"type","text"),r(i,"class","secondary-input"),r(g,"for","userImage"),r(g,"class","text-sm text-left mt-4 mb-4"),r(m,"name","userImage"),r(m,"type","url"),r(m,"class","secondary-input"),r(v,"class","mt-12"),r(I,"class","btn primary-button"),r(N,"class","grid flex-grow"),r(w,"class","flex gap-4 w-full mt-5")},m(s,a){re(s,t,a),se(u,t,null),e(t,U),e(t,c),e(c,_),e(t,T),e(t,$),e(t,B),e(t,d),e(d,n),e(n,L),e(d,E),e(d,i),C(i,h[0]),e(t,P),e(t,v),e(v,g),e(g,R),e(v,V),e(v,m),C(m,h[1]),e(t,j),e(t,k),e(t,q),e(t,w),e(w,N),e(N,I),e(I,z),x=!0,O||(G=[F(i,"input",h[3]),F(m,"input",h[4]),F(I,"click",h[2])],O=!0)},p(s,[a]){a&1&&i.value!==s[0]&&C(i,s[0]),a&2&&m.value!==s[1]&&C(m,s[1])},i(s){x||(ne(u.$$.fragment,s),x=!0)},o(s){le(u.$$.fragment,s),x=!1},d(s){s&&p(t),oe(u),O=!1,ie(G)}}}function fe(h,t,u){let U;ue(h,me,n=>u(6,U=n));let c="",_="",T;const $=async()=>{try{let n=c.trim(),L=_.trim(),E=new Headers;E.append("Authorization",`Bearer ${U}`),E.append("Content-Type","application/json");let i=JSON.stringify({name:n,profilePictureUrl:L});(await fetch(`${pe}/profile`,{method:"PATCH",headers:E,body:i})).status!==200&&(T="Failed to update the profile")}catch(n){console.error(n)}finally{window.location.href="/"}};function B(){c=this.value,u(0,c)}function d(){_=this.value,u(1,_)}return[c,_,$,B,d]}class ye extends X{constructor(t){super(),Z(this,t,fe,de,ee,{})}}export{ye as component}; diff --git a/build/app/immutable/nodes/4.544ace99.js b/build/app/immutable/nodes/4.544ace99.js new file mode 100644 index 000000000..271537c57 --- /dev/null +++ b/build/app/immutable/nodes/4.544ace99.js @@ -0,0 +1 @@ +import{S as me,i as he,s as pe,k as i,y as fe,a as _,O as ce,q as j,l as o,m as h,z as _e,c as g,P as ue,h as u,r as z,n as t,L as y,b as ge,A as ve,D as e,M as de,K as S,u as ke,g as be,d as Ce,B as De,N as we,o as Ee}from"../chunks/index.89e71670.js";import{H as ye,c as Te}from"../chunks/Header.cf7b0240.js";import{P as Ie}from"../chunks/public.6087a87e.js";function Pe(n){let r,p,H,d,v,m,f,$,U,x,R,T,A,B,s,c,I,G,k,J,b,K,C,X,D,Y,V,N,O=(n[2]??"Additional feedback")+"",M,Z,P,F,L,Q,w,ee,te;return p=new ye({}),{c(){r=i("div"),fe(p.$$.fragment),H=_(),d=i("div"),v=i("a"),m=ce("svg"),f=ce("path"),$=_(),U=i("h1"),x=j("Do u like netsepio?"),R=_(),T=i("div"),A=i("p"),B=j("Rate Us"),s=_(),c=i("div"),I=i("input"),G=_(),k=i("input"),J=_(),b=i("input"),K=_(),C=i("input"),X=_(),D=i("input"),Y=_(),V=i("div"),N=i("h1"),M=j(O),Z=_(),P=i("textarea"),F=_(),L=i("button"),Q=j("Submit"),this.h()},l(l){r=o(l,"DIV",{});var a=h(r);_e(p.$$.fragment,a),H=g(a),d=o(a,"DIV",{class:!0});var q=h(d);v=o(q,"A",{href:!0});var ae=h(v);m=ue(ae,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0,class:!0});var se=h(m);f=ue(se,"path",{d:!0}),h(f).forEach(u),se.forEach(u),ae.forEach(u),$=g(q),U=o(q,"H1",{class:!0});var re=h(U);x=z(re,"Do u like netsepio?"),re.forEach(u),q.forEach(u),R=g(a),T=o(a,"DIV",{});var W=h(T);A=o(W,"P",{class:!0});var le=h(A);B=z(le,"Rate Us"),le.forEach(u),s=g(W),c=o(W,"DIV",{class:!0});var E=h(c);I=o(E,"INPUT",{type:!0,name:!0,class:!0}),G=g(E),k=o(E,"INPUT",{type:!0,name:!0,class:!0}),J=g(E),b=o(E,"INPUT",{type:!0,name:!0,class:!0}),K=g(E),C=o(E,"INPUT",{type:!0,name:!0,class:!0}),X=g(E),D=o(E,"INPUT",{type:!0,name:!0,class:!0}),E.forEach(u),W.forEach(u),Y=g(a),V=o(a,"DIV",{});var ne=h(V);N=o(ne,"H1",{class:!0});var ie=h(N);M=z(ie,O),ie.forEach(u),ne.forEach(u),Z=g(a),P=o(a,"TEXTAREA",{class:!0,placeholder:!0}),h(P).forEach(u),F=g(a),L=o(a,"BUTTON",{class:!0});var oe=h(L);Q=z(oe,"Submit"),oe.forEach(u),a.forEach(u),this.h()},h(){t(f,"d","M16.6185 2.99028C16.5024 2.87387 16.3645 2.78152 16.2126 2.7185C16.0608 2.65548 15.898 2.62305 15.7335 2.62305C15.5691 2.62305 15.4063 2.65548 15.2545 2.7185C15.1026 2.78152 14.9647 2.87387 14.8485 2.99028L6.53854 11.3003C6.44583 11.3928 6.37229 11.5027 6.32211 11.6237C6.27192 11.7446 6.24609 11.8743 6.24609 12.0053C6.24609 12.1362 6.27192 12.2659 6.32211 12.3869C6.37229 12.5079 6.44583 12.6178 6.53854 12.7103L14.8485 21.0203C15.3385 21.5103 16.1285 21.5103 16.6185 21.0203C17.1085 20.5303 17.1085 19.7403 16.6185 19.2503L9.37854 12.0003L16.6285 4.75028C17.1085 4.27028 17.1085 3.47028 16.6185 2.99028Z"),t(m,"width","24"),t(m,"height","24"),t(m,"viewBox","0 0 24 24"),t(m,"fill","none"),t(m,"xmlns","http://www.w3.org/2000/svg"),t(m,"class","fill-[#263238] dark:fill-[#11D9C5]"),t(v,"href","/"),t(U,"class","text-2xl"),t(d,"class","mt-8 flex gap-8 items-center"),t(A,"class","text-xs mt-5 mb-5"),t(I,"type","radio"),t(I,"name","rating-2"),t(I,"class","mask mask-star-2 bg-[#11D9C5]"),I.checked=!0,I.value="1",t(k,"type","radio"),t(k,"name","rating-2"),t(k,"class","mask mask-star-2"),k.value="2",y(k,"bg-[#11D9C5]",n[0]!==2),t(b,"type","radio"),t(b,"name","rating-2"),t(b,"class","mask mask-star-2"),b.value="3",y(b,"bg-[#11D9C5]",n[0]!==3),t(C,"type","radio"),t(C,"name","rating-2"),t(C,"class","mask mask-star-2"),C.value="4",y(C,"bg-[#11D9C5]",n[0]!==4),t(D,"type","radio"),t(D,"name","rating-2"),t(D,"class","mask mask-star-2"),D.value="5",y(D,"bg-[#11D9C5]",n[0]!==5),t(c,"class","rating"),t(N,"class","text-2xl text-left mt-10 mb-5"),y(N,"text-red-500",n[2]),t(P,"class","textarea textarea-success w-full bg-transparent h-44 dark:text-white border dark:border-[#11D9C5]"),t(P,"placeholder","Write Here"),t(L,"class","btn primary-button mt-2 mb-2")},m(l,a){ge(l,r,a),ve(p,r,null),e(r,H),e(r,d),e(d,v),e(v,m),e(m,f),e(d,$),e(d,U),e(U,x),e(r,R),e(r,T),e(T,A),e(A,B),e(T,s),e(T,c),e(c,I),e(c,G),e(c,k),e(c,J),e(c,b),e(c,K),e(c,C),e(c,X),e(c,D),e(r,Y),e(r,V),e(V,N),e(N,M),e(r,Z),e(r,P),de(P,n[1]),e(r,F),e(r,L),e(L,Q),w=!0,ee||(te=[S(I,"click",n[5]),S(k,"click",n[6]),S(b,"click",n[7]),S(C,"click",n[8]),S(D,"click",n[9]),S(P,"input",n[10]),S(L,"click",n[4])],ee=!0)},p(l,[a]){(!w||a&1)&&y(k,"bg-[#11D9C5]",l[0]!==2),(!w||a&1)&&y(b,"bg-[#11D9C5]",l[0]!==3),(!w||a&1)&&y(C,"bg-[#11D9C5]",l[0]!==4),(!w||a&1)&&y(D,"bg-[#11D9C5]",l[0]!==5),(!w||a&4)&&O!==(O=(l[2]??"Additional feedback")+"")&&ke(M,O),(!w||a&4)&&y(N,"text-red-500",l[2]),a&2&&de(P,l[1])},i(l){w||(be(p.$$.fragment,l),w=!0)},o(l){Ce(p.$$.fragment,l),w=!1},d(l){l&&u(r),De(p),ee=!1,we(te)}}}function Ue(n,r,p){let H,d,v,m;const f=s=>{p(0,H=s.target.value)},$=async()=>{try{const s=await fetch(`${Ie}/feedback`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({feedback:d,rating:Number(H)})});s.status===401&&p(2,v="Setup wallet and sing up first"),s.status===200&&(m=!0,window.location.href="/")}catch(s){p(2,v=s.message)}};Ee(async()=>{await Te()});const U=s=>{f(s)},x=s=>{f(s)},R=s=>{f(s)},T=s=>{f(s)},A=s=>{f(s)};function B(){d=this.value,p(1,d)}return[H,d,v,f,$,U,x,R,T,A,B]}class Le extends me{constructor(r){super(),he(this,r,Ue,Pe,pe,{})}}export{Le as component}; diff --git a/build/app/immutable/nodes/4.b7bd329e.js b/build/app/immutable/nodes/4.b7bd329e.js deleted file mode 100644 index 04e7bad2e..000000000 --- a/build/app/immutable/nodes/4.b7bd329e.js +++ /dev/null @@ -1 +0,0 @@ -import{S as z,i as C,s as J,k as c,y as M,a as w,l as d,m as u,z as P,c as V,h as n,b as S,A as j,D as r,g as F,d as G,B as K,o as Q,q as W,r as x,n as f,J as O,H as Y,L as R}from"../chunks/index.f3b06f47.js";import{H as X}from"../chunks/Header.b7ab37a3.js";import{o as H}from"../chunks/store.26750aee.js";function Z(k){let e,s,o,h,v,l,a,t,i,y,m,$,p,_,b,I,N;return{c(){e=c("div"),s=c("div"),o=c("h1"),h=W("Welcome to Netsepio"),v=w(),l=c("div"),a=c("a"),t=c("button"),i=W("New Wallet"),y=w(),m=c("div"),$=w(),p=c("a"),_=c("button"),b=W("Import Wallet"),this.h()},l(E){e=d(E,"DIV",{class:!0});var g=u(e);s=d(g,"DIV",{class:!0});var T=u(s);o=d(T,"H1",{class:!0});var A=u(o);h=x(A,"Welcome to Netsepio"),A.forEach(n),T.forEach(n),v=V(g),l=d(g,"DIV",{class:!0});var D=u(l);a=d(D,"A",{href:!0});var B=u(a);t=d(B,"BUTTON",{class:!0});var L=u(t);i=x(L,"New Wallet"),L.forEach(n),B.forEach(n),y=V(D),m=d(D,"DIV",{class:!0}),u(m).forEach(n),$=V(D),p=d(D,"A",{href:!0});var U=u(p);_=d(U,"BUTTON",{class:!0});var q=u(_);b=x(q,"Import Wallet"),q.forEach(n),U.forEach(n),D.forEach(n),g.forEach(n),this.h()},h(){f(o,"class","text-5xl text-center font-bold "),f(s,"class","mx-auto"),f(t,"class","btn btn-wide"),f(a,"href","/Onboarding/get-secret-key"),f(m,"class","divider mr-5 divider-white"),f(_,"class","btn btn-wide"),f(p,"href","/Onboarding/import-old-wallet"),f(l,"class","mt-10 grid place-content-center"),f(e,"class","mt-28")},m(E,g){S(E,e,g),r(e,s),r(s,o),r(o,h),r(e,v),r(e,l),r(l,a),r(a,t),r(t,i),r(l,y),r(l,m),r(l,$),r(l,p),r(p,_),r(_,b),I||(N=[O(a,"click",k[2]),O(p,"click",k[3])],I=!0)},p:Y,d(E){E&&n(e),I=!1,R(N)}}}function ee(k){let e,s,o,h,v,l,a,t,i,y,m,$,p;return{c(){e=c("div"),s=c("div"),o=c("h1"),h=W("You have already completed this 🤩"),v=w(),l=c("div"),a=c("a"),t=c("button"),i=W("See your profile"),y=w(),m=c("div"),this.h()},l(_){e=d(_,"DIV",{class:!0});var b=u(e);s=d(b,"DIV",{});var I=u(s);o=d(I,"H1",{class:!0});var N=u(o);h=x(N,"You have already completed this 🤩"),N.forEach(n),I.forEach(n),v=V(b),l=d(b,"DIV",{class:!0});var E=u(l);a=d(E,"A",{href:!0});var g=u(a);t=d(g,"BUTTON",{class:!0});var T=u(t);i=x(T,"See your profile"),T.forEach(n),g.forEach(n),y=V(E),m=d(E,"DIV",{class:!0}),u(m).forEach(n),E.forEach(n),b.forEach(n),this.h()},h(){f(o,"class","text-5xl text-left"),f(t,"class","btn btn-wide"),f(a,"href","/profile"),f(m,"class","divider mr-5 divider-white"),f(l,"class","mt-10"),f(e,"class","mt-28")},m(_,b){S(_,e,b),r(e,s),r(s,o),r(o,h),r(e,v),r(e,l),r(l,a),r(a,t),r(t,i),r(l,y),r(l,m),$||(p=O(a,"click",k[1]),$=!0)},p:Y,d(_){_&&n(e),$=!1,p()}}}function te(k){let e,s,o,h;s=new X({});function v(t,i){return t[0]<1&&t[0]!==null&&t[0]!==void 0?ee:Z}let l=v(k),a=l(k);return{c(){e=c("div"),M(s.$$.fragment),o=w(),a.c()},l(t){e=d(t,"DIV",{});var i=u(e);P(s.$$.fragment,i),o=V(i),a.l(i),i.forEach(n)},m(t,i){S(t,e,i),j(s,e,null),r(e,o),a.m(e,null),h=!0},p(t,[i]){l===(l=v(t))&&a?a.p(t,i):(a.d(1),a=l(t),a&&(a.c(),a.m(e,null)))},i(t){h||(F(s.$$.fragment,t),h=!0)},o(t){G(s.$$.fragment,t),h=!1},d(t){t&&n(e),K(s),a.d()}}}function ae(k,e,s){let o;return Q(()=>{H.subscribe(a=>s(0,o=a))}),[o,()=>H.set(-1),()=>H.set(2),()=>H.set(2)]}class oe extends z{constructor(e){super(),C(this,e,ae,te,J,{})}}export{oe as component}; diff --git a/build/app/immutable/nodes/5.afd034f0.js b/build/app/immutable/nodes/5.afd034f0.js new file mode 100644 index 000000000..55602fd00 --- /dev/null +++ b/build/app/immutable/nodes/5.afd034f0.js @@ -0,0 +1 @@ +import{S as z,i as C,s as K,k as c,y as M,a as w,l as d,m as u,z as P,c as V,h as n,b as S,A as j,D as r,g as F,d as G,B as J,o as Q,q as W,r as x,n as f,K as O,H as Y,N as R}from"../chunks/index.89e71670.js";import{H as X}from"../chunks/Header.cf7b0240.js";import{o as H}from"../chunks/store.b194c171.js";function Z(k){let e,s,o,h,v,l,a,t,i,y,m,$,p,_,b,I,N;return{c(){e=c("div"),s=c("div"),o=c("h1"),h=W("Welcome to Netsepio"),v=w(),l=c("div"),a=c("a"),t=c("button"),i=W("New Wallet"),y=w(),m=c("div"),$=w(),p=c("a"),_=c("button"),b=W("Import Wallet"),this.h()},l(E){e=d(E,"DIV",{class:!0});var g=u(e);s=d(g,"DIV",{class:!0});var T=u(s);o=d(T,"H1",{class:!0});var A=u(o);h=x(A,"Welcome to Netsepio"),A.forEach(n),T.forEach(n),v=V(g),l=d(g,"DIV",{class:!0});var D=u(l);a=d(D,"A",{href:!0});var B=u(a);t=d(B,"BUTTON",{class:!0});var U=u(t);i=x(U,"New Wallet"),U.forEach(n),B.forEach(n),y=V(D),m=d(D,"DIV",{class:!0}),u(m).forEach(n),$=V(D),p=d(D,"A",{href:!0});var q=u(p);_=d(q,"BUTTON",{class:!0});var L=u(_);b=x(L,"Import Wallet"),L.forEach(n),q.forEach(n),D.forEach(n),g.forEach(n),this.h()},h(){f(o,"class","text-5xl text-center font-bold"),f(s,"class","mx-auto"),f(t,"class","btn btn-wide"),f(a,"href","/Onboarding/get-secret-key"),f(m,"class","divider mr-5 divider-white"),f(_,"class","btn btn-wide"),f(p,"href","/Onboarding/import-old-wallet"),f(l,"class","mt-10 grid place-content-center"),f(e,"class","mt-28")},m(E,g){S(E,e,g),r(e,s),r(s,o),r(o,h),r(e,v),r(e,l),r(l,a),r(a,t),r(t,i),r(l,y),r(l,m),r(l,$),r(l,p),r(p,_),r(_,b),I||(N=[O(a,"click",k[2]),O(p,"click",k[3])],I=!0)},p:Y,d(E){E&&n(e),I=!1,R(N)}}}function ee(k){let e,s,o,h,v,l,a,t,i,y,m,$,p;return{c(){e=c("div"),s=c("div"),o=c("h1"),h=W("You have already completed this 🤩"),v=w(),l=c("div"),a=c("a"),t=c("button"),i=W("See your profile"),y=w(),m=c("div"),this.h()},l(_){e=d(_,"DIV",{class:!0});var b=u(e);s=d(b,"DIV",{});var I=u(s);o=d(I,"H1",{class:!0});var N=u(o);h=x(N,"You have already completed this 🤩"),N.forEach(n),I.forEach(n),v=V(b),l=d(b,"DIV",{class:!0});var E=u(l);a=d(E,"A",{href:!0});var g=u(a);t=d(g,"BUTTON",{class:!0});var T=u(t);i=x(T,"See your profile"),T.forEach(n),g.forEach(n),y=V(E),m=d(E,"DIV",{class:!0}),u(m).forEach(n),E.forEach(n),b.forEach(n),this.h()},h(){f(o,"class","text-5xl text-left"),f(t,"class","btn btn-wide"),f(a,"href","/profile"),f(m,"class","divider mr-5 divider-white"),f(l,"class","mt-10"),f(e,"class","mt-28")},m(_,b){S(_,e,b),r(e,s),r(s,o),r(o,h),r(e,v),r(e,l),r(l,a),r(a,t),r(t,i),r(l,y),r(l,m),$||(p=O(a,"click",k[1]),$=!0)},p:Y,d(_){_&&n(e),$=!1,p()}}}function te(k){let e,s,o,h;s=new X({});function v(t,i){return t[0]<1&&t[0]!==null&&t[0]!==void 0?ee:Z}let l=v(k),a=l(k);return{c(){e=c("div"),M(s.$$.fragment),o=w(),a.c()},l(t){e=d(t,"DIV",{});var i=u(e);P(s.$$.fragment,i),o=V(i),a.l(i),i.forEach(n)},m(t,i){S(t,e,i),j(s,e,null),r(e,o),a.m(e,null),h=!0},p(t,[i]){l===(l=v(t))&&a?a.p(t,i):(a.d(1),a=l(t),a&&(a.c(),a.m(e,null)))},i(t){h||(F(s.$$.fragment,t),h=!0)},o(t){G(s.$$.fragment,t),h=!1},d(t){t&&n(e),J(s),a.d()}}}function ae(k,e,s){let o;return Q(()=>{H.subscribe(a=>s(0,o=a))}),[o,()=>H.set(-1),()=>H.set(2),()=>H.set(2)]}class oe extends z{constructor(e){super(),C(this,e,ae,te,K,{})}}export{oe as component}; diff --git a/build/app/immutable/nodes/5.2e37ee17.js b/build/app/immutable/nodes/6.27b2679f.js similarity index 55% rename from build/app/immutable/nodes/5.2e37ee17.js rename to build/app/immutable/nodes/6.27b2679f.js index f1b8dcd9e..7aa2c7a82 100644 --- a/build/app/immutable/nodes/5.2e37ee17.js +++ b/build/app/immutable/nodes/6.27b2679f.js @@ -1,4 +1,4 @@ -import{S as _e,i as Ee,s as je,k as w,y as ze,a as A,q as B,l as v,m as k,z as Ae,c as U,r as H,h as g,n as x,K as me,b as ye,A as Ue,D as u,J as te,g as qe,d as Be,B as He,V as Te,L as Le,u as Ce}from"../chunks/index.f3b06f47.js";import{p as Ie,b as $e,w as De,m as Ve,o as Pe}from"../chunks/store.26750aee.js";import{H as Se}from"../chunks/Header.b7ab37a3.js";import{u as W,A as Ge}from"../chunks/index.ec3c65db.js";function oe(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Wrong positive integer: ${e}`)}function Ke(e){if(typeof e!="boolean")throw new Error(`Expected boolean, not ${e}`)}function we(e,...t){if(!(e instanceof Uint8Array))throw new Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function Ne(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");oe(e.outputLen),oe(e.blockLen)}function se(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 ve(e,t){we(e);const r=t.outputLen;if(e.lengthe instanceof Uint8Array,ae=e=>new DataView(e.buffer,e.byteOffset,e.byteLength),z=(e,t)=>e<<32-t|e>>>t,Re=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;if(!Re)throw new Error("Non little-endian hardware is not supported");function Me(e){if(typeof e!="string")throw new Error(`utf8ToBytes expected string, got ${typeof e}`);return new Uint8Array(new TextEncoder().encode(e))}function xe(e){if(typeof e=="string"&&(e=Me(e)),!Fe(e))throw new Error(`expected Uint8Array, got ${typeof e}`);return e}class Oe{clone(){return this._cloneInto()}}function Je(e){const t=a=>e().update(xe(a)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function Qe(e=32){if(re&&typeof re.getRandomValues=="function")return re.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}function Xe(e,t,r,a){if(typeof e.setBigUint64=="function")return e.setBigUint64(t,r,a);const o=BigInt(32),l=BigInt(4294967295),n=Number(r>>o&l),i=Number(r&l),c=a?4:0,f=a?0:4;e.setUint32(t+c,n,a),e.setUint32(t+f,i,a)}class Ye extends Oe{constructor(t,r,a,o){super(),this.blockLen=t,this.outputLen=r,this.padOffset=a,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=ae(this.buffer)}update(t){se(this);const{view:r,buffer:a,blockLen:o}=this;t=xe(t);const l=t.length;for(let n=0;no-n&&(this.process(a,0),n=0);for(let s=n;sb.length)throw new Error("_sha2: outputLen bigger than state");for(let s=0;se&t^~e&r,et=(e,t,r)=>e&t^e&r^t&r,tt=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),L=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),C=new Uint32Array(64);class rt extends Ye{constructor(){super(64,32,8,!1),this.A=L[0]|0,this.B=L[1]|0,this.C=L[2]|0,this.D=L[3]|0,this.E=L[4]|0,this.F=L[5]|0,this.G=L[6]|0,this.H=L[7]|0}get(){const{A:t,B:r,C:a,D:o,E:l,F:n,G:i,H:c}=this;return[t,r,a,o,l,n,i,c]}set(t,r,a,o,l,n,i,c){this.A=t|0,this.B=r|0,this.C=a|0,this.D=o|0,this.E=l|0,this.F=n|0,this.G=i|0,this.H=c|0}process(t,r){for(let s=0;s<16;s++,r+=4)C[s]=t.getUint32(r,!1);for(let s=16;s<64;s++){const d=C[s-15],m=C[s-2],_=z(d,7)^z(d,18)^d>>>3,q=z(m,17)^z(m,19)^m>>>10;C[s]=q+C[s-7]+_+C[s-16]|0}let{A:a,B:o,C:l,D:n,E:i,F:c,G:f,H:b}=this;for(let s=0;s<64;s++){const d=z(i,6)^z(i,11)^z(i,25),m=b+d+Ze(i,c,f)+tt[s]+C[s]|0,q=(z(a,2)^z(a,13)^z(a,22))+et(a,o,l)|0;b=f,f=c,c=i,i=n+m|0,n=l,l=o,o=a,a=m+q|0}a=a+this.A|0,o=o+this.B|0,l=l+this.C|0,n=n+this.D|0,i=i+this.E|0,c=c+this.F|0,f=f+this.G|0,b=b+this.H|0,this.set(a,o,l,n,i,c,f,b)}roundClean(){C.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const at=Je(()=>new rt),ot=e=>e[0]==="あいこくしん";function st(e){ke.bytes(e,16,20,24,28,32)}function nt(e,t=128){if(ke.number(t),t%32!==0||t>256)throw new TypeError("Invalid entropy");return ct(Qe(t/8),e)}const it=e=>{const t=8-e.length/4;return new Uint8Array([at(e)[0]>>t<{if(typeof t!="string")throw new Error(`Wordlist: non-string element: ${t}`)}),W.chain(W.checksum(1,it),W.radix2(11,!0),W.alphabet(e))}function ct(e,t){return st(e),lt(t).encode(e).join(ot(t)?" ":" ")}const ut=`abandon +import{S as ye,i as be,s as we,k as g,y as ve,a as A,q as z,l as y,m as b,z as ke,c as j,r as $,h as m,n as v,L as he,b as fe,A as xe,D as s,K as ee,g as Ee,d as _e,B as Ae,J as je,N as ze,u as $e}from"../chunks/index.89e71670.js";import{p as qe,a as Re,w as Ue,m as Ie,o as Pe}from"../chunks/store.b194c171.js";import{H as Te}from"../chunks/Header.cf7b0240.js";import{n as Ce,r as De,b as Se,s as Be,A as Ke}from"../chunks/index.aad90ce6.js";/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function V(t){return t instanceof Uint8Array||t!=null&&typeof t=="object"&&t.constructor.name==="Uint8Array"}function Ne(...t){const e=i=>i,r=(i,n)=>d=>i(n(d)),o=t.map(i=>i.encode).reduceRight(r,e),a=t.map(i=>i.decode).reduce(r,e);return{encode:o,decode:a}}function He(t){return{encode:e=>{if(!Array.isArray(e)||e.length&&typeof e[0]!="number")throw new Error("alphabet.encode input should be an array of numbers");return e.map(r=>{if(r<0||r>=t.length)throw new Error(`Digit index outside alphabet: ${r} (alphabet: ${t.length})`);return t[r]})},decode:e=>{if(!Array.isArray(e)||e.length&&typeof e[0]!="string")throw new Error("alphabet.decode input should be array of strings");return e.map(r=>{if(typeof r!="string")throw new Error(`alphabet.decode: not string element=${r}`);const o=t.indexOf(r);if(o===-1)throw new Error(`Unknown letter: "${r}". Allowed: ${t}`);return o})}}}function Ve(t=""){if(typeof t!="string")throw new Error("join separator should be string");return{encode:e=>{if(!Array.isArray(e)||e.length&&typeof e[0]!="string")throw new Error("join.encode input should be array of strings");for(let r of e)if(typeof r!="string")throw new Error(`join.encode: non-string input=${r}`);return e.join(t)},decode:e=>{if(typeof e!="string")throw new Error("join.decode input should be string");return e.split(t)}}}function Oe(t,e="="){if(typeof e!="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 o of r)if(typeof o!="string")throw new Error(`padding.encode: non-string input=${o}`);for(;r.length*t%8;)r.push(e);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 a of r)if(typeof a!="string")throw new Error(`padding.decode: non-string input=${a}`);let o=r.length;if(o*t%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;o>0&&r[o-1]===e;o--)if(!((o-1)*t%8))throw new Error("Invalid padding: string has too much padding");return r.slice(0,o)}}}function re(t,e,r){if(e<2)throw new Error(`convertRadix: wrong from=${e}, 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(t))throw new Error("convertRadix: data should be array");if(!t.length)return[];let o=0;const a=[],i=Array.from(t);for(i.forEach(n=>{if(n<0||n>=e)throw new Error(`Wrong integer: ${n}`)});;){let n=0,d=!0;for(let c=o;ce?ge(e,t%e):t,O=(t,e)=>t+(e-ge(t,e));function te(t,e,r,o){if(!Array.isArray(t))throw new Error("convertRadix2: data should be array");if(e<=0||e>32)throw new Error(`convertRadix2: wrong from=${e}`);if(r<=0||r>32)throw new Error(`convertRadix2: wrong to=${r}`);if(O(e,r)>32)throw new Error(`convertRadix2: carry overflow from=${e} to=${r} carryBits=${O(e,r)}`);let a=0,i=0;const n=2**r-1,d=[];for(const c of t){if(c>=2**e)throw new Error(`convertRadix2: invalid data word=${c} from=${e}`);if(a=a<32)throw new Error(`convertRadix2: carry overflow pos=${i} from=${e}`);for(i+=e;i>=r;i-=r)d.push((a>>i-r&n)>>>0);a&=2**i-1}if(a=a<=e)throw new Error("Excess padding");if(!o&&a)throw new Error(`Non-zero padding: ${a}`);return o&&i>0&&d.push(a>>>0),d}function Ge(t){return{encode:e=>{if(!V(e))throw new Error("radix.encode input should be Uint8Array");return re(Array.from(e),2**8,t)},decode:e=>{if(!Array.isArray(e)||e.length&&typeof e[0]!="number")throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(re(e,t,2**8))}}}function Me(t,e=!1){if(t<=0||t>32)throw new Error("radix2: bits should be in (0..32]");if(O(8,t)>32||O(t,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!V(r))throw new Error("radix2.encode input should be Uint8Array");return te(Array.from(r),8,t,!e)},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(te(r,t,8,e))}}}function We(t,e){if(typeof e!="function")throw new Error("checksum fn should be function");return{encode(r){if(!V(r))throw new Error("checksum.encode: input should be Uint8Array");const o=e(r).slice(0,t),a=new Uint8Array(r.length+t);return a.set(r),a.set(o,r.length),a},decode(r){if(!V(r))throw new Error("checksum.decode: input should be Uint8Array");const o=r.slice(0,-t),a=e(o).slice(0,t),i=r.slice(-t);for(let n=0;nt[0]==="あいこくしん";function Je(t){Se(t,16,20,24,28,32)}function Fe(t,e=128){if(Ce(e),e%32!==0||e>256)throw new TypeError("Invalid entropy");return Ye(De(e/8),t)}const Qe=t=>{const e=8-t.length/4;return new Uint8Array([Be(t)[0]>>e<{if(typeof e!="string")throw new Error(`Wordlist: non-string element: ${e}`)}),H.chain(H.checksum(1,Qe),H.radix2(11,!0),H.alphabet(t))}function Ye(t,e){return Je(t),Xe(e).encode(t).join(Le(e)?" ":" ")}const Ze=`abandon ability able about @@ -2046,6 +2046,6 @@ zebra zero zone zoo`.split(` -`);function be(e,t,r){const a=e.slice();return a[9]=t[r],a[11]=r,a}function ge(e){let t,r,a=e[11]+1+"",o,l,n,i,c=e[9]+"",f,b;return{c(){t=w("div"),r=w("span"),o=B(a),l=B(":"),n=A(),i=w("p"),f=B(c),b=A(),this.h()},l(s){t=v(s,"DIV",{class:!0});var d=k(t);r=v(d,"SPAN",{class:!0});var m=k(r);o=H(m,a),l=H(m,":"),m.forEach(g),n=U(d),i=v(d,"P",{class:!0});var _=k(i);f=H(_,c),_.forEach(g),b=U(d),d.forEach(g),this.h()},h(){x(r,"class","text-gray-700"),x(i,"class","text-black"),x(t,"class","font-bold text-base border bg-white p-2 rounded w-28 flex gap-1")},m(s,d){ye(s,t,d),u(t,r),u(r,o),u(r,l),u(t,n),u(t,i),u(i,f),u(t,b)},p(s,d){d&2&&c!==(c=s[9]+"")&&Ce(f,c)},d(s){s&&g(t)}}}function dt(e){let t,r,a,o,l,n,i,c,f,b,s,d,m,_,q,F,R,V,M,O,I,J,T,$,Q,X,D,P,Y,G,Z,ne;r=new Se({});let S=e[1],y=[];for(let p=0;p{r(4,n=nt(ut,128));let m=Ge.fromDerivePath(o,n).toPrivateKeyObject();i=m.address;let _=m.privateKeyHex.slice(2),q=m.publicKeyHex;Ie.set(_),$e.set(q),De.set(i),Ve.set(n)};function f(){navigator.clipboard.writeText(n).then(()=>{alert("Copied to clipboard!")}).catch(d=>{console.error("Failed to copy words: ",d)})}const b=()=>{r(0,l=!0),c()},s=()=>Pe.set(1);return e.$$.update=()=>{e.$$.dirty&16&&r(1,a=n.split(" "))},[l,a,c,f,n,b,s]}class gt extends _e{constructor(t){super(),Ee(this,t,ht,dt,je,{})}}export{gt as component}; +`);function pe(t,e,r){const o=t.slice();return o[9]=e[r],o[11]=r,o}function me(t){let e,r,o=t[11]+1+"",a,i,n,d,c=t[9]+"",x,w;return{c(){e=g("div"),r=g("span"),a=z(o),i=z(":"),n=A(),d=g("p"),x=z(c),w=A(),this.h()},l(h){e=y(h,"DIV",{class:!0});var l=b(e);r=y(l,"SPAN",{class:!0});var k=b(r);a=$(k,o),i=$(k,":"),k.forEach(m),n=j(l),d=y(l,"P",{class:!0});var q=b(d);x=$(q,c),q.forEach(m),w=j(l),l.forEach(m),this.h()},h(){v(r,"class","text-gray-700"),v(d,"class","text-black"),v(e,"class","font-bold text-base border bg-white p-2 rounded w-28 flex gap-1")},m(h,l){fe(h,e,l),s(e,r),s(r,a),s(r,i),s(e,n),s(e,d),s(d,x),s(e,w)},p(h,l){l&2&&c!==(c=h[9]+"")&&$e(x,c)},d(h){h&&m(e)}}}function er(t){let e,r,o,a,i,n,d,c,x,w,h,l,k,q,S,G,M,T,W,L,U,J,R,I,F,Q,P,C,X,B,Y,ae;r=new Te({});let D=t[1],f=[];for(let p=0;p{r(4,n=Fe(Ze,128));let k=Ke.fromDerivePath(a,n).toPrivateKeyObject();d=k.address;let q=k.privateKeyHex.slice(2),S=k.publicKeyHex;qe.set(q),Re.set(S),Ue.set(d),Ie.set(n)};function x(){navigator.clipboard.writeText(n).then(()=>{alert("Copied to clipboard!")}).catch(l=>{console.error("Failed to copy words: ",l)})}const w=()=>{r(0,i=!0),c()},h=()=>Pe.set(1);return t.$$.update=()=>{t.$$.dirty&16&&r(1,o=n.split(" "))},[i,o,c,x,n,w,h]}class ir extends ye{constructor(e){super(),be(this,e,rr,er,we,{})}}export{ir as component}; diff --git a/build/app/immutable/nodes/6.84af78c8.js b/build/app/immutable/nodes/6.84af78c8.js deleted file mode 100644 index 24c76b93e..000000000 --- a/build/app/immutable/nodes/6.84af78c8.js +++ /dev/null @@ -1,3 +0,0 @@ -import{S as vt,i as _t,s as pt,k as l,y as bt,a as v,q as P,l as s,m as n,z as mt,c as _,r as D,h as t,n as r,K as ye,b as x,A as wt,D as e,Q as ge,J as se,u as Fe,g as Et,d as kt,B as yt,L as gt,H as Je}from"../chunks/index.f3b06f47.js";import{a as xt,s as It,b as Pt}from"../chunks/functionsForLogin.1a2a5d01.js";import{H as Dt}from"../chunks/Header.b7ab37a3.js";import{e as Tt}from"../chunks/secondAuth.f9ee4b2a.js";import{o as Vt,j as Bt}from"../chunks/store.26750aee.js";function Nt(p){let o,c;return{c(){o=l("button"),c=P("Confirm"),this.h()},l(d){o=s(d,"BUTTON",{class:!0});var a=n(o);c=D(a,"Confirm"),a.forEach(t),this.h()},h(){o.disabled=!0,r(o,"class","btn btn-wide block mx-auto")},m(d,a){x(d,o,a),e(o,c)},p:Je,d(d){d&&t(o)}}}function Ct(p){let o,c,d,a;return{c(){o=l("button"),c=P("Confirm"),this.h()},l(f){o=s(f,"BUTTON",{class:!0});var m=n(o);c=D(m,"Confirm"),m.forEach(t),this.h()},h(){r(o,"class","btn btn-wide block mx-auto")},m(f,m){x(f,o,m),e(o,c),d||(a=se(o,"click",p[7]),d=!0)},p:Je,d(f){f&&t(o),d=!1,a()}}}function St(p){let o,c,d,a,f,m,N,k,I,C,w,T,E,V,Y;return{c(){o=l("h1"),c=P("Lets go 🚀!"),d=v(),a=l("br"),f=v(),m=l("p"),N=P("You are all set ✅"),k=v(),I=l("br"),C=v(),w=l("div"),T=l("div"),E=l("a"),V=l("button"),Y=P("Dashboard"),this.h()},l(i){o=s(i,"H1",{class:!0});var b=n(o);c=D(b,"Lets go 🚀!"),b.forEach(t),d=_(i),a=s(i,"BR",{}),f=_(i),m=s(i,"P",{class:!0});var R=n(m);N=D(R,"You are all set ✅"),R.forEach(t),k=_(i),I=s(i,"BR",{}),C=_(i),w=s(i,"DIV",{class:!0});var g=n(w);T=s(g,"DIV",{class:!0});var j=n(T);E=s(j,"A",{href:!0,class:!0});var U=n(E);V=s(U,"BUTTON",{class:!0});var O=n(V);Y=D(O,"Dashboard"),O.forEach(t),U.forEach(t),j.forEach(t),g.forEach(t),this.h()},h(){r(o,"class","text-5xl text-left mb-2"),r(m,"class","text-lg text-left text-green-500"),r(V,"class","btn w-full h-full"),r(E,"href","/"),r(E,"class","btn mt-5 p-0"),r(T,"class","grid flex-grow"),r(w,"class","flex w-full mt-2")},m(i,b){x(i,o,b),e(o,c),x(i,d,b),x(i,a,b),x(i,f,b),x(i,m,b),e(m,N),x(i,k,b),x(i,I,b),x(i,C,b),x(i,w,b),e(w,T),e(T,E),e(E,V),e(V,Y)},p:Je,d(i){i&&t(o),i&&t(d),i&&t(a),i&&t(f),i&&t(m),i&&t(k),i&&t(I),i&&t(C),i&&t(w)}}}function Ht(p){let o,c,d,a,f,m,N,k,I,C,w,T,E,V,Y,i,b,R,g,j,U,O;return{c(){o=l("h1"),c=P("Unable to sign-in ☹️!"),d=v(),a=l("br"),f=v(),m=l("p"),N=P(p[2]),k=v(),I=l("br"),C=v(),w=l("div"),T=l("div"),E=l("a"),V=P("Try later"),Y=v(),i=l("div"),b=v(),R=l("div"),g=l("button"),j=P("Retry"),this.h()},l(u){o=s(u,"H1",{class:!0});var S=n(o);c=D(S,"Unable to sign-in ☹️!"),S.forEach(t),d=_(u),a=s(u,"BR",{}),f=_(u),m=s(u,"P",{class:!0});var L=n(m);N=D(L,p[2]),L.forEach(t),k=_(u),I=s(u,"BR",{}),C=_(u),w=s(u,"DIV",{class:!0});var q=n(w);T=s(q,"DIV",{class:!0});var W=n(T);E=s(W,"A",{href:!0,class:!0});var re=n(E);V=D(re,"Try later"),re.forEach(t),W.forEach(t),Y=_(q),i=s(q,"DIV",{class:!0}),n(i).forEach(t),b=_(q),R=s(q,"DIV",{class:!0});var Q=n(R);g=s(Q,"BUTTON",{class:!0});var M=n(g);j=D(M,"Retry"),M.forEach(t),Q.forEach(t),q.forEach(t),this.h()},h(){r(o,"class","text-3xl text-center mb-2"),r(m,"class","text-lg text-left text-red-500"),r(E,"href","/"),r(E,"class","btn w-full h-full"),r(T,"class","grid flex-grow"),r(i,"class","divider divider-horizontal"),r(g,"class","btn w-full h-full"),r(R,"class","grid flex-grow"),r(w,"class","flex w-full mt-2")},m(u,S){x(u,o,S),e(o,c),x(u,d,S),x(u,a,S),x(u,f,S),x(u,m,S),e(m,N),x(u,k,S),x(u,I,S),x(u,C,S),x(u,w,S),e(w,T),e(T,E),e(E,V),e(w,Y),e(w,i),e(w,b),e(w,R),e(R,g),e(g,j),U||(O=se(g,"click",p[13]),U=!0)},p(u,S){S&4&&Fe(N,u[2])},d(u){u&&t(o),u&&t(d),u&&t(a),u&&t(f),u&&t(m),u&&t(k),u&&t(I),u&&t(C),u&&t(w),U=!1,O()}}}function Rt(p){var Xe,Ze;let o,c,d,a,f,m,N,k,I=(p[2]!==""?p[2]:"You will use this to unlock your wallet")+"",C,w,T,E,V,Y,i,b,R,g,j,U,O,u,S,L,q,W,re,Q,M,$,xe,ae,Ie,Pe,G,De,_e,X,H,oe,Te,Ve,Be,Ne,ne,Ce,Se,He,Re,ie,fe=`${(Ze=(Xe=p[5])==null?void 0:Xe.payload)==null?void 0:Ze.eula}`??"...",pe,Ue,Ae,Ye,F,ce,ee,Le,Oe,he,Me,ue,te,ze,Ke,Z,le,J,je,Qe;c=new Dt({});function We(h,B){return h[4]?Ct:Nt}let be=We(p),z=be(p);function Ge(h,B){return h[2].length>0?Ht:St}let me=Ge(p),K=me(p);return{c(){o=l("div"),bt(c.$$.fragment),d=v(),a=l("div"),f=l("h1"),m=P("Create Your Password"),N=v(),k=l("h1"),C=P(I),T=v(),E=l("div"),V=l("h2"),Y=P("New Password"),i=v(),b=l("input"),R=v(),g=l("br"),j=v(),U=l("div"),O=l("h2"),u=P("Confirm Password"),S=v(),L=l("input"),q=v(),W=l("div"),re=v(),Q=l("div"),M=l("label"),$=l("span"),xe=P(`I agree to the\r - `),ae=l("span"),Ie=P("Terms of Service"),Pe=v(),G=l("input"),De=v(),z.c(),_e=v(),X=l("div"),H=l("div"),oe=l("h1"),Te=P("You are signing!"),Ve=v(),Be=l("br"),Ne=v(),ne=l("h2"),Ce=P("Message"),Se=v(),He=l("br"),Re=v(),ie=l("p"),pe=P(fe),Ue=v(),Ae=l("br"),Ye=v(),F=l("div"),ce=l("div"),ee=l("button"),Le=P("CANCEL"),Oe=v(),he=l("div"),Me=v(),ue=l("div"),te=l("button"),ze=P("Sign"),Ke=v(),Z=l("div"),le=l("div"),K.c(),this.h()},l(h){o=s(h,"DIV",{});var B=n(o);mt(c.$$.fragment,B),d=_(B),a=s(B,"DIV",{class:!0});var y=n(a);f=s(y,"H1",{class:!0});var ve=n(f);m=D(ve,"Create Your Password"),ve.forEach(t),N=_(y),k=s(y,"H1",{class:!0});var $e=n(k);C=D($e,I),$e.forEach(t),T=_(y),E=s(y,"DIV",{});var we=n(E);V=s(we,"H2",{class:!0});var et=n(V);Y=D(et,"New Password"),et.forEach(t),i=_(we),b=s(we,"INPUT",{type:!0,class:!0,placeholder:!0}),we.forEach(t),R=_(y),g=s(y,"BR",{}),j=_(y),U=s(y,"DIV",{});var Ee=n(U);O=s(Ee,"H2",{class:!0});var tt=n(O);u=D(tt,"Confirm Password"),tt.forEach(t),S=_(Ee),L=s(Ee,"INPUT",{type:!0,class:!0,placeholder:!0}),Ee.forEach(t),q=_(y),W=s(y,"DIV",{class:!0}),n(W).forEach(t),re=_(y),Q=s(y,"DIV",{class:!0});var lt=n(Q);M=s(lt,"LABEL",{class:!0});var ke=n(M);$=s(ke,"SPAN",{class:!0});var qe=n($);xe=D(qe,`I agree to the\r - `),ae=s(qe,"SPAN",{class:!0});var st=n(ae);Ie=D(st,"Terms of Service"),st.forEach(t),qe.forEach(t),Pe=_(ke),G=s(ke,"INPUT",{type:!0,class:!0}),ke.forEach(t),lt.forEach(t),De=_(y),z.l(y),_e=_(y),X=s(y,"DIV",{class:!0});var rt=n(X);H=s(rt,"DIV",{class:!0});var A=n(H);oe=s(A,"H1",{class:!0});var at=n(oe);Te=D(at,"You are signing!"),at.forEach(t),Ve=_(A),Be=s(A,"BR",{}),Ne=_(A),ne=s(A,"H2",{class:!0});var ot=n(ne);Ce=D(ot,"Message"),ot.forEach(t),Se=_(A),He=s(A,"BR",{}),Re=_(A),ie=s(A,"P",{class:!0});var nt=n(ie);pe=D(nt,fe),nt.forEach(t),Ue=_(A),Ae=s(A,"BR",{}),Ye=_(A),F=s(A,"DIV",{class:!0});var de=n(F);ce=s(de,"DIV",{class:!0});var it=n(ce);ee=s(it,"BUTTON",{class:!0});var ct=n(ee);Le=D(ct,"CANCEL"),ct.forEach(t),it.forEach(t),Oe=_(de),he=s(de,"DIV",{class:!0}),n(he).forEach(t),Me=_(de),ue=s(de,"DIV",{class:!0});var ut=n(ue);te=s(ut,"BUTTON",{class:!0});var dt=n(te);ze=D(dt,"Sign"),dt.forEach(t),ut.forEach(t),de.forEach(t),A.forEach(t),rt.forEach(t),Ke=_(y),Z=s(y,"DIV",{class:!0});var ft=n(Z);le=s(ft,"DIV",{class:!0});var ht=n(le);K.l(ht),ht.forEach(t),ft.forEach(t),y.forEach(t),B.forEach(t),this.h()},h(){r(f,"class","text-3xl text-center my-3 font-bold"),r(k,"class",w=`text-lg text-center mb-3 ${p[2]!==""?"text-red-500":""}`),r(V,"class","text-xl text-left mt-3 mb-1"),r(b,"type","password"),r(b,"class","input input-bordered w-full dark:bg-gray-800 dark:text-white"),r(b,"placeholder","New Password"),r(O,"class","text-xl text-left mt-3 mb-1"),r(L,"type","password"),r(L,"class","input input-bordered w-full dark:bg-gray-800 dark:text-white"),r(L,"placeholder","Confirm Password"),r(W,"class","divider"),r(ae,"class","text-lime-700"),r($,"class","label-text dark:text-white"),r(G,"type","checkbox"),r(G,"class","checkbox"),G.checked=p[4],r(M,"class","label cursor-pointer"),r(Q,"class","form-control"),r(oe,"class","text-3xl text-center font-bold mb-2"),r(ne,"class","text-xl text-center"),r(ie,"class","text-lg text-center dark:text-green-100"),r(ee,"class","btn mt-5"),r(ce,"class","grid flex-grow"),r(he,"class","divider divider-horizontal"),r(te,"class","btn w-full mt-5"),r(ue,"class","grid flex-grow"),r(F,"class","flex w-full mt-2"),r(H,"class","modal-box dark:bg-gray-800 dark:text-white"),r(X,"class","modal"),ye(X,"modal-open",p[3]),r(le,"class","modal-box dark:bg-gray-800 dark:text-white"),r(Z,"class","modal"),ye(Z,"modal-open",p[6]),r(a,"class","mt-6 w-4/5 mx-auto")},m(h,B){x(h,o,B),wt(c,o,null),e(o,d),e(o,a),e(a,f),e(f,m),e(a,N),e(a,k),e(k,C),e(a,T),e(a,E),e(E,V),e(V,Y),e(E,i),e(E,b),ge(b,p[0]),e(a,R),e(a,g),e(a,j),e(a,U),e(U,O),e(O,u),e(U,S),e(U,L),ge(L,p[1]),e(a,q),e(a,W),e(a,re),e(a,Q),e(Q,M),e(M,$),e($,xe),e($,ae),e(ae,Ie),e(M,Pe),e(M,G),e(a,De),z.m(a,null),e(a,_e),e(a,X),e(X,H),e(H,oe),e(oe,Te),e(H,Ve),e(H,Be),e(H,Ne),e(H,ne),e(ne,Ce),e(H,Se),e(H,He),e(H,Re),e(H,ie),e(ie,pe),e(H,Ue),e(H,Ae),e(H,Ye),e(H,F),e(F,ce),e(ce,ee),e(ee,Le),e(F,Oe),e(F,he),e(F,Me),e(F,ue),e(ue,te),e(te,ze),e(a,Ke),e(a,Z),e(Z,le),K.m(le,null),J=!0,je||(Qe=[se(b,"input",p[9]),se(L,"input",p[10]),se(G,"change",p[11]),se(ee,"click",p[12]),se(te,"click",p[8])],je=!0)},p(h,[B]){var y,ve;(!J||B&4)&&I!==(I=(h[2]!==""?h[2]:"You will use this to unlock your wallet")+"")&&Fe(C,I),(!J||B&4&&w!==(w=`text-lg text-center mb-3 ${h[2]!==""?"text-red-500":""}`))&&r(k,"class",w),B&1&&b.value!==h[0]&&ge(b,h[0]),B&2&&L.value!==h[1]&&ge(L,h[1]),(!J||B&16)&&(G.checked=h[4]),be===(be=We(h))&&z?z.p(h,B):(z.d(1),z=be(h),z&&(z.c(),z.m(a,_e))),(!J||B&32)&&fe!==(fe=`${(ve=(y=h[5])==null?void 0:y.payload)==null?void 0:ve.eula}`??"...")&&Fe(pe,fe),(!J||B&8)&&ye(X,"modal-open",h[3]),me===(me=Ge(h))&&K?K.p(h,B):(K.d(1),K=me(h),K&&(K.c(),K.m(le,null))),(!J||B&64)&&ye(Z,"modal-open",h[6])},i(h){J||(Et(c.$$.fragment,h),J=!0)},o(h){kt(c.$$.fragment,h),J=!1},d(h){h&&t(o),yt(c),z.d(),K.d(),je=!1,gt(Qe)}}}function Ut(p,o,c){let d="",a="",f="",m,N=!1,k=!0,I,C=!1;async function w(){try{const g=await It(I.payload);m=await Pt(I.payload.flowId,g==null?void 0:g.signature,g==null?void 0:g.pubKey),await Tt(d),Bt.set(m.payload.token),c(3,N=!0)}catch{c(2,f="Something went wrong"),console.error(f)}}const T=async()=>{d===a&&d!==""&&d.length>=6&&k?(c(2,f=""),c(3,N=!0)):d.length<6?c(2,f="Password has to be at least 6 characters long"):k?c(2,f="Passwords are not matching"):c(2,f="You need to accept the terms and conditions"),c(5,I=await xt())},E=async()=>{await w(),f.length<1&&Vt.set(0),c(6,C=!0)};function V(){d=this.value,c(0,d)}function Y(){a=this.value,c(1,a)}return[d,a,f,N,k,I,C,T,E,V,Y,()=>c(4,k=!k),()=>c(3,N=!1),()=>{c(3,N=!1),c(6,C=!1)}]}class zt extends vt{constructor(o){super(),_t(this,o,Ut,Rt,pt,{})}}export{zt as component}; diff --git a/build/app/immutable/nodes/7.22545cd2.js b/build/app/immutable/nodes/7.22545cd2.js deleted file mode 100644 index 9df0cd91b..000000000 --- a/build/app/immutable/nodes/7.22545cd2.js +++ /dev/null @@ -1 +0,0 @@ -import{S as le,i as ae,s as re,k as p,y as ne,a as S,q as K,l as f,m as _,z as oe,c as H,r as T,h as d,n as h,K as Y,b as V,A as ie,D as o,Q as Z,J as U,g as ce,d as ue,B as de,L as ee,u as te,H as se}from"../chunks/index.f3b06f47.js";import{b as he,p as pe,w as fe,m as me,o as _e}from"../chunks/store.26750aee.js";import{H as be}from"../chunks/Header.b7ab37a3.js";import{A as ve}from"../chunks/index.ec3c65db.js";function ye(c){let e,t=c[1].length>0?`${c[1]}`:"Enter your seed phases separated with a single blank space",n,s;return{c(){e=p("h3"),n=K(t),this.h()},l(l){e=f(l,"H3",{class:!0});var r=_(e);n=T(r,t),r.forEach(d),this.h()},h(){h(e,"class",s=`text-sm ${c[1]!==""?"text-red-500":""}`)},m(l,r){V(l,e,r),o(e,n)},p(l,r){r&2&&t!==(t=l[1].length>0?`${l[1]}`:"Enter your seed phases separated with a single blank space")&&te(n,t),r&2&&s!==(s=`text-sm ${l[1]!==""?"text-red-500":""}`)&&h(e,"class",s)},d(l){l&&d(e)}}}function ge(c){let e,t,n,s,l=`${c[3].substring(0,8)}...${c[3].substring(c[3].length-8)}`,r;return{c(){e=p("h2"),t=K("Found this Wallet"),n=S(),s=p("span"),r=K(l),this.h()},l(a){e=f(a,"H2",{class:!0});var i=_(e);t=T(i,"Found this Wallet"),i.forEach(d),n=H(a),s=f(a,"SPAN",{});var v=_(s);r=T(v,l),v.forEach(d),this.h()},h(){h(e,"class","text-sm text-green-300")},m(a,i){V(a,e,i),o(e,t),V(a,n,i),V(a,s,i),o(s,r)},p(a,i){i&8&&l!==(l=`${a[3].substring(0,8)}...${a[3].substring(a[3].length-8)}`)&&te(r,l)},d(a){a&&d(e),a&&d(n),a&&d(s)}}}function ke(c){let e,t,n,s,l;return{c(){e=p("div"),t=p("button"),n=K("Submit"),this.h()},l(r){e=f(r,"DIV",{class:!0});var a=_(e);t=f(a,"BUTTON",{class:!0});var i=_(t);n=T(i,"Submit"),i.forEach(d),a.forEach(d),this.h()},h(){h(t,"class","btn"),h(e,"class","modal-action ml-px")},m(r,a){V(r,e,a),o(e,t),o(t,n),s||(l=U(t,"click",c[4]),s=!0)},p:se,d(r){r&&d(e),s=!1,l()}}}function Ee(c){let e,t,n,s,l,r;return{c(){e=p("div"),t=p("a"),n=p("button"),s=K("Continue"),this.h()},l(a){e=f(a,"DIV",{class:!0});var i=_(e);t=f(i,"A",{href:!0});var v=_(t);n=f(v,"BUTTON",{class:!0});var A=_(n);s=T(A,"Continue"),A.forEach(d),v.forEach(d),i.forEach(d),this.h()},h(){h(n,"class","btn"),h(t,"href","import-old-wallet/create-password"),h(e,"class","modal-action ml-px")},m(a,i){V(a,e,i),o(e,t),o(t,n),o(n,s),l||(r=[U(n,"click",c[5]),U(t,"click",c[8])],l=!0)},p:se,d(a){a&&d(e),l=!1,ee(r)}}}function we(c){let e,t,n,s,l,r,a,i,v,A,D,$,k,m,E,N,x,q,F,C,w,L,B,j,z;t=new be({});function J(u,b){return u[3]!==""?ge:ye}let O=J(c),y=O(c);function M(u,b){return u[3]!==""?Ee:ke}let W=M(c),g=W(c);return{c(){e=p("div"),ne(t.$$.fragment),n=S(),s=p("div"),l=p("h1"),r=K("Enter your seed phase"),a=S(),i=p("button"),v=K("Enter Seed Phrase"),A=S(),D=p("input"),$=S(),k=p("div"),m=p("div"),E=p("h3"),N=K("Seed Phrase"),x=S(),q=p("br"),F=S(),y.c(),C=S(),w=p("input"),L=S(),g.c(),this.h()},l(u){e=f(u,"DIV",{});var b=_(e);oe(t.$$.fragment,b),n=H(b),s=f(b,"DIV",{class:!0});var I=_(s);l=f(I,"H1",{class:!0});var Q=_(l);r=T(Q,"Enter your seed phase"),Q.forEach(d),a=H(I),i=f(I,"BUTTON",{class:!0});var R=_(i);v=T(R,"Enter Seed Phrase"),R.forEach(d),A=H(I),D=f(I,"INPUT",{type:!0,id:!0,class:!0}),$=H(I),k=f(I,"DIV",{class:!0});var G=_(k);m=f(G,"DIV",{class:!0});var P=_(m);E=f(P,"H3",{class:!0});var X=_(E);N=T(X,"Seed Phrase"),X.forEach(d),x=H(P),q=f(P,"BR",{}),F=H(P),y.l(P),C=H(P),w=f(P,"INPUT",{type:!0,placeholder:!0,class:!0}),L=H(P),g.l(P),P.forEach(d),G.forEach(d),I.forEach(d),b.forEach(d),this.h()},h(){h(l,"class","text-3xl font-bold text-center mb-48"),h(i,"class","btn btn-wide modal-button mx-auto block"),h(D,"type","checkbox"),h(D,"id","my-modal"),h(D,"class","modal-toggle"),h(E,"class","font-bold text-lg"),h(w,"type","text"),h(w,"placeholder","ex - better phone option poke water glasses mandate spell thought nice history united"),h(w,"class","py-4 my-4 input input-bordered input-lg w-full max-w-xs dark:bg-gray-800 dark:text-white border-white/50"),h(m,"class","modal-box dark:bg-gray-800 dark:text-white"),h(k,"class","modal"),Y(k,"modal-open",c[0]),h(s,"class","mt-12")},m(u,b){V(u,e,b),ie(t,e,null),o(e,n),o(e,s),o(s,l),o(l,r),o(s,a),o(s,i),o(i,v),o(s,A),o(s,D),o(s,$),o(s,k),o(k,m),o(m,E),o(E,N),o(m,x),o(m,q),o(m,F),y.m(m,null),o(m,C),o(m,w),Z(w,c[2]),o(m,L),g.m(m,null),B=!0,j||(z=[U(i,"click",c[6]),U(w,"input",c[7])],j=!0)},p(u,[b]){O===(O=J(u))&&y?y.p(u,b):(y.d(1),y=O(u),y&&(y.c(),y.m(m,C))),b&4&&w.value!==u[2]&&Z(w,u[2]),W===(W=M(u))&&g?g.p(u,b):(g.d(1),g=W(u),g&&(g.c(),g.m(m,null))),(!B||b&1)&&Y(k,"modal-open",u[0])},i(u){B||(ce(t.$$.fragment,u),B=!0)},o(u){ue(t.$$.fragment,u),B=!1},d(u){u&&d(e),de(t),y.d(),g.d(),j=!1,ee(z)}}}function Pe(c,e,t){let n=!1,s="",l="",r="",a="",i="";const v="m/44'/637'/0'/0'/0'",A=async()=>{if(l!==""){t(1,s=""),t(2,l=l.trim());try{let E=ve.fromDerivePath(v,l);if(E!==null){let N=E.toPrivateKeyObject();t(3,r=N.address),a=N.publicKeyHex,i=N.privateKeyHex.slice(2)}else t(1,s="No wallet found")}catch{t(1,s="Something wrong!")}}else t(1,s="Enter a valid key")},D=async()=>{he.set(a),pe.set(i),fe.set(r),me.set(l)},$=()=>t(0,n=!0);function k(){l=this.value,t(2,l)}return[n,s,l,r,A,D,$,k,()=>_e.set(1)]}class Ie extends le{constructor(e){super(),ae(this,e,Pe,we,re,{})}}export{Ie as component}; diff --git a/build/app/immutable/nodes/7.37e8c4da.js b/build/app/immutable/nodes/7.37e8c4da.js new file mode 100644 index 000000000..cfcc68c98 --- /dev/null +++ b/build/app/immutable/nodes/7.37e8c4da.js @@ -0,0 +1,3 @@ +import{S as vt,i as _t,s as pt,k as l,y as bt,a as v,q as P,l as s,m as n,z as mt,c as _,r as D,h as t,n as a,L as ye,b as x,A as wt,D as e,M as ge,K as se,u as Fe,g as Et,d as kt,B as yt,N as gt,H as We}from"../chunks/index.89e71670.js";import{a as xt,s as It,b as Pt}from"../chunks/functionsForLogin.58cfd4e2.js";import{H as Dt,e as Tt}from"../chunks/Header.cf7b0240.js";import{o as Vt,j as Nt}from"../chunks/store.b194c171.js";function Bt(p){let o,c;return{c(){o=l("button"),c=P("Confirm"),this.h()},l(d){o=s(d,"BUTTON",{class:!0});var r=n(o);c=D(r,"Confirm"),r.forEach(t),this.h()},h(){o.disabled=!0,a(o,"class","btn btn-wide block mx-auto")},m(d,r){x(d,o,r),e(o,c)},p:We,d(d){d&&t(o)}}}function Ct(p){let o,c,d,r;return{c(){o=l("button"),c=P("Confirm"),this.h()},l(f){o=s(f,"BUTTON",{class:!0});var m=n(o);c=D(m,"Confirm"),m.forEach(t),this.h()},h(){a(o,"class","btn btn-wide block mx-auto")},m(f,m){x(f,o,m),e(o,c),d||(r=se(o,"click",p[7]),d=!0)},p:We,d(f){f&&t(o),d=!1,r()}}}function St(p){let o,c,d,r,f,m,B,k,I,C,w,T,E,V,Y;return{c(){o=l("h1"),c=P("Lets go 🚀!"),d=v(),r=l("br"),f=v(),m=l("p"),B=P("You are all set ✅"),k=v(),I=l("br"),C=v(),w=l("div"),T=l("div"),E=l("a"),V=l("button"),Y=P("Dashboard"),this.h()},l(i){o=s(i,"H1",{class:!0});var b=n(o);c=D(b,"Lets go 🚀!"),b.forEach(t),d=_(i),r=s(i,"BR",{}),f=_(i),m=s(i,"P",{class:!0});var R=n(m);B=D(R,"You are all set ✅"),R.forEach(t),k=_(i),I=s(i,"BR",{}),C=_(i),w=s(i,"DIV",{class:!0});var g=n(w);T=s(g,"DIV",{class:!0});var j=n(T);E=s(j,"A",{href:!0,class:!0});var U=n(E);V=s(U,"BUTTON",{class:!0});var O=n(V);Y=D(O,"Dashboard"),O.forEach(t),U.forEach(t),j.forEach(t),g.forEach(t),this.h()},h(){a(o,"class","text-5xl text-left mb-2"),a(m,"class","text-lg text-left text-green-500"),a(V,"class","btn w-full h-full"),a(E,"href","/"),a(E,"class","btn mt-5 p-0"),a(T,"class","grid flex-grow"),a(w,"class","flex w-full mt-2")},m(i,b){x(i,o,b),e(o,c),x(i,d,b),x(i,r,b),x(i,f,b),x(i,m,b),e(m,B),x(i,k,b),x(i,I,b),x(i,C,b),x(i,w,b),e(w,T),e(T,E),e(E,V),e(V,Y)},p:We,d(i){i&&t(o),i&&t(d),i&&t(r),i&&t(f),i&&t(m),i&&t(k),i&&t(I),i&&t(C),i&&t(w)}}}function Ht(p){let o,c,d,r,f,m,B,k,I,C,w,T,E,V,Y,i,b,R,g,j,U,O;return{c(){o=l("h1"),c=P("Unable to sign-in ☹️!"),d=v(),r=l("br"),f=v(),m=l("p"),B=P(p[2]),k=v(),I=l("br"),C=v(),w=l("div"),T=l("div"),E=l("a"),V=P("Try later"),Y=v(),i=l("div"),b=v(),R=l("div"),g=l("button"),j=P("Retry"),this.h()},l(u){o=s(u,"H1",{class:!0});var S=n(o);c=D(S,"Unable to sign-in ☹️!"),S.forEach(t),d=_(u),r=s(u,"BR",{}),f=_(u),m=s(u,"P",{class:!0});var L=n(m);B=D(L,p[2]),L.forEach(t),k=_(u),I=s(u,"BR",{}),C=_(u),w=s(u,"DIV",{class:!0});var q=n(w);T=s(q,"DIV",{class:!0});var J=n(T);E=s(J,"A",{href:!0,class:!0});var ae=n(E);V=D(ae,"Try later"),ae.forEach(t),J.forEach(t),Y=_(q),i=s(q,"DIV",{class:!0}),n(i).forEach(t),b=_(q),R=s(q,"DIV",{class:!0});var G=n(R);g=s(G,"BUTTON",{class:!0});var M=n(g);j=D(M,"Retry"),M.forEach(t),G.forEach(t),q.forEach(t),this.h()},h(){a(o,"class","text-3xl text-center mb-2"),a(m,"class","text-lg text-left text-red-500"),a(E,"href","/"),a(E,"class","btn w-full h-full"),a(T,"class","grid flex-grow"),a(i,"class","divider divider-horizontal"),a(g,"class","btn w-full h-full"),a(R,"class","grid flex-grow"),a(w,"class","flex w-full mt-2")},m(u,S){x(u,o,S),e(o,c),x(u,d,S),x(u,r,S),x(u,f,S),x(u,m,S),e(m,B),x(u,k,S),x(u,I,S),x(u,C,S),x(u,w,S),e(w,T),e(T,E),e(E,V),e(w,Y),e(w,i),e(w,b),e(w,R),e(R,g),e(g,j),U||(O=se(g,"click",p[13]),U=!0)},p(u,S){S&4&&Fe(B,u[2])},d(u){u&&t(o),u&&t(d),u&&t(r),u&&t(f),u&&t(m),u&&t(k),u&&t(I),u&&t(C),u&&t(w),U=!1,O()}}}function Rt(p){var Xe,Ze;let o,c,d,r,f,m,B,k,I=(p[2]!==""?p[2]:"You will use this to unlock your wallet")+"",C,w,T,E,V,Y,i,b,R,g,j,U,O,u,S,L,q,J,ae,G,M,$,xe,re,Ie,Pe,Q,De,_e,X,H,oe,Te,Ve,Ne,Be,ne,Ce,Se,He,Re,ie,fe=`${(Ze=(Xe=p[5])==null?void 0:Xe.payload)==null?void 0:Ze.eula}`??"...",pe,Ue,Ae,Ye,F,ce,ee,Le,Oe,he,Me,ue,te,ze,Ke,Z,le,W,je,Ge;c=new Dt({});function Je(h,N){return h[4]?Ct:Bt}let be=Je(p),z=be(p);function Qe(h,N){return h[2].length>0?Ht:St}let me=Qe(p),K=me(p);return{c(){o=l("div"),bt(c.$$.fragment),d=v(),r=l("div"),f=l("h1"),m=P("Create Your Password"),B=v(),k=l("h1"),C=P(I),T=v(),E=l("div"),V=l("h2"),Y=P("New Password"),i=v(),b=l("input"),R=v(),g=l("br"),j=v(),U=l("div"),O=l("h2"),u=P("Confirm Password"),S=v(),L=l("input"),q=v(),J=l("div"),ae=v(),G=l("div"),M=l("label"),$=l("span"),xe=P(`I agree to the\r + `),re=l("span"),Ie=P("Terms of Service"),Pe=v(),Q=l("input"),De=v(),z.c(),_e=v(),X=l("div"),H=l("div"),oe=l("h1"),Te=P("You are signing!"),Ve=v(),Ne=l("br"),Be=v(),ne=l("h2"),Ce=P("Message"),Se=v(),He=l("br"),Re=v(),ie=l("p"),pe=P(fe),Ue=v(),Ae=l("br"),Ye=v(),F=l("div"),ce=l("div"),ee=l("button"),Le=P("CANCEL"),Oe=v(),he=l("div"),Me=v(),ue=l("div"),te=l("button"),ze=P("Sign"),Ke=v(),Z=l("div"),le=l("div"),K.c(),this.h()},l(h){o=s(h,"DIV",{});var N=n(o);mt(c.$$.fragment,N),d=_(N),r=s(N,"DIV",{class:!0});var y=n(r);f=s(y,"H1",{class:!0});var ve=n(f);m=D(ve,"Create Your Password"),ve.forEach(t),B=_(y),k=s(y,"H1",{class:!0});var $e=n(k);C=D($e,I),$e.forEach(t),T=_(y),E=s(y,"DIV",{});var we=n(E);V=s(we,"H2",{class:!0});var et=n(V);Y=D(et,"New Password"),et.forEach(t),i=_(we),b=s(we,"INPUT",{type:!0,class:!0,placeholder:!0}),we.forEach(t),R=_(y),g=s(y,"BR",{}),j=_(y),U=s(y,"DIV",{});var Ee=n(U);O=s(Ee,"H2",{class:!0});var tt=n(O);u=D(tt,"Confirm Password"),tt.forEach(t),S=_(Ee),L=s(Ee,"INPUT",{type:!0,class:!0,placeholder:!0}),Ee.forEach(t),q=_(y),J=s(y,"DIV",{class:!0}),n(J).forEach(t),ae=_(y),G=s(y,"DIV",{class:!0});var lt=n(G);M=s(lt,"LABEL",{class:!0});var ke=n(M);$=s(ke,"SPAN",{class:!0});var qe=n($);xe=D(qe,`I agree to the\r + `),re=s(qe,"SPAN",{class:!0});var st=n(re);Ie=D(st,"Terms of Service"),st.forEach(t),qe.forEach(t),Pe=_(ke),Q=s(ke,"INPUT",{type:!0,class:!0}),ke.forEach(t),lt.forEach(t),De=_(y),z.l(y),_e=_(y),X=s(y,"DIV",{class:!0});var at=n(X);H=s(at,"DIV",{class:!0});var A=n(H);oe=s(A,"H1",{class:!0});var rt=n(oe);Te=D(rt,"You are signing!"),rt.forEach(t),Ve=_(A),Ne=s(A,"BR",{}),Be=_(A),ne=s(A,"H2",{class:!0});var ot=n(ne);Ce=D(ot,"Message"),ot.forEach(t),Se=_(A),He=s(A,"BR",{}),Re=_(A),ie=s(A,"P",{class:!0});var nt=n(ie);pe=D(nt,fe),nt.forEach(t),Ue=_(A),Ae=s(A,"BR",{}),Ye=_(A),F=s(A,"DIV",{class:!0});var de=n(F);ce=s(de,"DIV",{class:!0});var it=n(ce);ee=s(it,"BUTTON",{class:!0});var ct=n(ee);Le=D(ct,"CANCEL"),ct.forEach(t),it.forEach(t),Oe=_(de),he=s(de,"DIV",{class:!0}),n(he).forEach(t),Me=_(de),ue=s(de,"DIV",{class:!0});var ut=n(ue);te=s(ut,"BUTTON",{class:!0});var dt=n(te);ze=D(dt,"Sign"),dt.forEach(t),ut.forEach(t),de.forEach(t),A.forEach(t),at.forEach(t),Ke=_(y),Z=s(y,"DIV",{class:!0});var ft=n(Z);le=s(ft,"DIV",{class:!0});var ht=n(le);K.l(ht),ht.forEach(t),ft.forEach(t),y.forEach(t),N.forEach(t),this.h()},h(){a(f,"class","text-3xl text-center my-3 font-bold"),a(k,"class",w=`text-lg text-center mb-3 ${p[2]!==""?"text-red-500":""}`),a(V,"class","text-xl text-left mt-3 mb-1"),a(b,"type","password"),a(b,"class","input input-bordered w-full dark:bg-gray-800 dark:text-white"),a(b,"placeholder","New Password"),a(O,"class","text-xl text-left mt-3 mb-1"),a(L,"type","password"),a(L,"class","input input-bordered w-full dark:bg-gray-800 dark:text-white"),a(L,"placeholder","Confirm Password"),a(J,"class","divider"),a(re,"class","text-lime-700"),a($,"class","label-text dark:text-white"),a(Q,"type","checkbox"),a(Q,"class","checkbox"),Q.checked=p[4],a(M,"class","label cursor-pointer"),a(G,"class","form-control"),a(oe,"class","text-3xl text-center font-bold mb-2"),a(ne,"class","text-xl text-center"),a(ie,"class","text-lg text-center dark:text-green-100"),a(ee,"class","btn mt-5"),a(ce,"class","grid flex-grow"),a(he,"class","divider divider-horizontal"),a(te,"class","btn w-full mt-5"),a(ue,"class","grid flex-grow"),a(F,"class","flex w-full mt-2"),a(H,"class","modal-box dark:bg-gray-800 dark:text-white"),a(X,"class","modal"),ye(X,"modal-open",p[3]),a(le,"class","modal-box dark:bg-gray-800 dark:text-white"),a(Z,"class","modal"),ye(Z,"modal-open",p[6]),a(r,"class","mt-6 w-4/5 mx-auto")},m(h,N){x(h,o,N),wt(c,o,null),e(o,d),e(o,r),e(r,f),e(f,m),e(r,B),e(r,k),e(k,C),e(r,T),e(r,E),e(E,V),e(V,Y),e(E,i),e(E,b),ge(b,p[0]),e(r,R),e(r,g),e(r,j),e(r,U),e(U,O),e(O,u),e(U,S),e(U,L),ge(L,p[1]),e(r,q),e(r,J),e(r,ae),e(r,G),e(G,M),e(M,$),e($,xe),e($,re),e(re,Ie),e(M,Pe),e(M,Q),e(r,De),z.m(r,null),e(r,_e),e(r,X),e(X,H),e(H,oe),e(oe,Te),e(H,Ve),e(H,Ne),e(H,Be),e(H,ne),e(ne,Ce),e(H,Se),e(H,He),e(H,Re),e(H,ie),e(ie,pe),e(H,Ue),e(H,Ae),e(H,Ye),e(H,F),e(F,ce),e(ce,ee),e(ee,Le),e(F,Oe),e(F,he),e(F,Me),e(F,ue),e(ue,te),e(te,ze),e(r,Ke),e(r,Z),e(Z,le),K.m(le,null),W=!0,je||(Ge=[se(b,"input",p[9]),se(L,"input",p[10]),se(Q,"change",p[11]),se(ee,"click",p[12]),se(te,"click",p[8])],je=!0)},p(h,[N]){var y,ve;(!W||N&4)&&I!==(I=(h[2]!==""?h[2]:"You will use this to unlock your wallet")+"")&&Fe(C,I),(!W||N&4&&w!==(w=`text-lg text-center mb-3 ${h[2]!==""?"text-red-500":""}`))&&a(k,"class",w),N&1&&b.value!==h[0]&&ge(b,h[0]),N&2&&L.value!==h[1]&&ge(L,h[1]),(!W||N&16)&&(Q.checked=h[4]),be===(be=Je(h))&&z?z.p(h,N):(z.d(1),z=be(h),z&&(z.c(),z.m(r,_e))),(!W||N&32)&&fe!==(fe=`${(ve=(y=h[5])==null?void 0:y.payload)==null?void 0:ve.eula}`??"...")&&Fe(pe,fe),(!W||N&8)&&ye(X,"modal-open",h[3]),me===(me=Qe(h))&&K?K.p(h,N):(K.d(1),K=me(h),K&&(K.c(),K.m(le,null))),(!W||N&64)&&ye(Z,"modal-open",h[6])},i(h){W||(Et(c.$$.fragment,h),W=!0)},o(h){kt(c.$$.fragment,h),W=!1},d(h){h&&t(o),yt(c),z.d(),K.d(),je=!1,gt(Ge)}}}function Ut(p,o,c){let d="",r="",f="",m,B=!1,k=!0,I,C=!1;async function w(){try{const g=await It(I.payload);m=await Pt(I.payload.flowId,g==null?void 0:g.signature,g==null?void 0:g.pubKey),await Tt(d),Nt.set(m.payload.token),c(3,B=!0)}catch{c(2,f="Something went wrong"),console.error(f)}}const T=async()=>{d===r&&d!==""&&d.length>=6&&k?(c(2,f=""),c(3,B=!0)):d.length<6?c(2,f="Password has to be at least 6 characters long"):k?c(2,f="Passwords are not matching"):c(2,f="You need to accept the terms and conditions"),c(5,I=await xt())},E=async()=>{await w(),f.length<1&&Vt.set(0),c(6,C=!0)};function V(){d=this.value,c(0,d)}function Y(){r=this.value,c(1,r)}return[d,r,f,B,k,I,C,T,E,V,Y,()=>c(4,k=!k),()=>c(3,B=!1),()=>{c(3,B=!1),c(6,C=!1)}]}class Mt extends vt{constructor(o){super(),_t(this,o,Ut,Rt,pt,{})}}export{Mt as component}; diff --git a/build/app/immutable/nodes/8.28ec62b5.js b/build/app/immutable/nodes/8.28ec62b5.js new file mode 100644 index 000000000..9d4993834 --- /dev/null +++ b/build/app/immutable/nodes/8.28ec62b5.js @@ -0,0 +1 @@ +import{S as z,i as R,s as X,k as v,y as Z,a as A,O as q,l as b,m as _,z as F,c as S,P as M,h as u,n as p,b as g,A as G,D as m,M as U,K as L,g as J,d as Q,B as Y,q as H,r as D,u as W,H as j,N as ee}from"../chunks/index.89e71670.js";import{a as te,p as se,w as le,m as re,o as ae}from"../chunks/store.b194c171.js";import{H as ne}from"../chunks/Header.cf7b0240.js";import{A as oe}from"../chunks/index.aad90ce6.js";function ie(f){let t,s,o,e,c=f[0].length>0?`${f[0]}`:"enter the seed phrase with a single blank space.",a,n;return{c(){t=v("h1"),s=H("Enter your seed phase"),o=A(),e=v("h3"),a=H(c),this.h()},l(l){t=b(l,"H1",{class:!0});var i=_(t);s=D(i,"Enter your seed phase"),i.forEach(u),o=S(l),e=b(l,"H3",{class:!0});var r=_(e);a=D(r,c),r.forEach(u),this.h()},h(){p(t,"class","text-2xl font-bold text-center mt-24 mb-4"),p(e,"class",n=`text-sm text-center ${f[0]!==""?"text-red-800 dark:text-red-500":""}`)},m(l,i){g(l,t,i),m(t,s),g(l,o,i),g(l,e,i),m(e,a)},p(l,i){i&1&&c!==(c=l[0].length>0?`${l[0]}`:"enter the seed phrase with a single blank space.")&&W(a,c),i&1&&n!==(n=`text-sm text-center ${l[0]!==""?"text-red-800 dark:text-red-500":""}`)&&p(e,"class",n)},d(l){l&&u(t),l&&u(o),l&&u(e)}}}function ue(f){let t,s,o,e,c,a,n,l=`${f[2].substring(0,8)}...${f[2].substring(f[2].length-8)}`,i;return{c(){t=v("h1"),s=H("Seed phase"),o=A(),e=v("h2"),c=H("wallet has been found"),a=A(),n=v("span"),i=H(l),this.h()},l(r){t=b(r,"H1",{class:!0});var h=_(t);s=D(h,"Seed phase"),h.forEach(u),o=S(r),e=b(r,"H2",{class:!0});var C=_(e);c=D(C,"wallet has been found"),C.forEach(u),a=S(r),n=b(r,"SPAN",{class:!0});var y=_(n);i=D(y,l),y.forEach(u),this.h()},h(){p(t,"class","text-2xl font-bold text-center mt-24 mb-4"),p(e,"class","text-sm text-black dark:text-green-300 text-center"),p(n,"class","text-center block")},m(r,h){g(r,t,h),m(t,s),g(r,o,h),g(r,e,h),m(e,c),g(r,a,h),g(r,n,h),m(n,i)},p(r,h){h&4&&l!==(l=`${r[2].substring(0,8)}...${r[2].substring(r[2].length-8)}`)&&W(i,l)},d(r){r&&u(t),r&&u(o),r&&u(e),r&&u(a),r&&u(n)}}}function ce(f){let t,s,o,e,c;return{c(){t=v("div"),s=v("button"),o=H("Submit"),this.h()},l(a){t=b(a,"DIV",{});var n=_(t);s=b(n,"BUTTON",{class:!0});var l=_(s);o=D(l,"Submit"),l.forEach(u),n.forEach(u),this.h()},h(){p(s,"class","btn w-full primary-button")},m(a,n){g(a,t,n),m(t,s),m(s,o),e||(c=L(s,"click",f[3]),e=!0)},p:j,d(a){a&&u(t),e=!1,c()}}}function he(f){let t,s,o,e,c,a;return{c(){t=v("div"),s=v("a"),o=v("button"),e=H("Continue"),this.h()},l(n){t=b(n,"DIV",{});var l=_(t);s=b(l,"A",{href:!0});var i=_(s);o=b(i,"BUTTON",{class:!0});var r=_(o);e=D(r,"Continue"),r.forEach(u),i.forEach(u),l.forEach(u),this.h()},h(){p(o,"class","btn w-full primary-button"),p(s,"href","/Onboarding/import-old-wallet/create-password")},m(n,l){g(n,t,l),m(t,s),m(s,o),m(o,e),c||(a=[L(o,"click",f[4]),L(s,"click",f[6])],c=!0)},p:j,d(n){n&&u(t),c=!1,ee(a)}}}function fe(f){let t,s,o,e,c,a,n,l,i,r,h,C,y,x,T;s=new ne({});function B(d,k){return d[2]!==""?ue:ie}let $=B(f),E=$(f);function N(d,k){return d[2]!==""?he:ce}let P=N(f),w=P(f);return{c(){t=v("div"),Z(s.$$.fragment),o=A(),e=v("div"),c=v("a"),a=q("svg"),n=q("path"),l=A(),i=v("div"),E.c(),r=A(),h=v("textarea"),C=A(),w.c(),this.h()},l(d){t=b(d,"DIV",{});var k=_(t);F(s.$$.fragment,k),o=S(k),e=b(k,"DIV",{class:!0});var I=_(e);c=b(I,"A",{href:!0});var O=_(c);a=M(O,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0,class:!0});var V=_(a);n=M(V,"path",{d:!0}),_(n).forEach(u),V.forEach(u),O.forEach(u),l=S(I),i=b(I,"DIV",{});var K=_(i);E.l(K),r=S(K),h=b(K,"TEXTAREA",{placeholder:!0,class:!0}),_(h).forEach(u),C=S(K),w.l(K),K.forEach(u),I.forEach(u),k.forEach(u),this.h()},h(){p(n,"d","M16.6185 2.99028C16.5024 2.87387 16.3645 2.78152 16.2126 2.7185C16.0608 2.65548 15.898 2.62305 15.7335 2.62305C15.5691 2.62305 15.4063 2.65548 15.2545 2.7185C15.1026 2.78152 14.9647 2.87387 14.8485 2.99028L6.53854 11.3003C6.44583 11.3928 6.37229 11.5027 6.32211 11.6237C6.27192 11.7446 6.24609 11.8743 6.24609 12.0053C6.24609 12.1362 6.27192 12.2659 6.32211 12.3869C6.37229 12.5079 6.44583 12.6178 6.53854 12.7103L14.8485 21.0203C15.3385 21.5103 16.1285 21.5103 16.6185 21.0203C17.1085 20.5303 17.1085 19.7403 16.6185 19.2503L9.37854 12.0003L16.6285 4.75028C17.1085 4.27028 17.1085 3.47028 16.6185 2.99028Z"),p(a,"width","24"),p(a,"height","24"),p(a,"viewBox","0 0 24 24"),p(a,"fill","none"),p(a,"xmlns","http://www.w3.org/2000/svg"),p(a,"class","fill-[#263238] dark:fill-[#11D9C5]"),p(c,"href","/"),p(h,"placeholder","ex: Lorem Ipsum"),p(h,"class","my-4 input primary-input h-32 rounded-sm"),p(e,"class","mt-12")},m(d,k){g(d,t,k),G(s,t,null),m(t,o),m(t,e),m(e,c),m(c,a),m(a,n),m(e,l),m(e,i),E.m(i,null),m(i,r),m(i,h),U(h,f[1]),m(i,C),w.m(i,null),y=!0,x||(T=L(h,"input",f[5]),x=!0)},p(d,[k]){$===($=B(d))&&E?E.p(d,k):(E.d(1),E=$(d),E&&(E.c(),E.m(i,r))),k&2&&U(h,d[1]),P===(P=N(d))&&w?w.p(d,k):(w.d(1),w=P(d),w&&(w.c(),w.m(i,null)))},i(d){y||(J(s.$$.fragment,d),y=!0)},o(d){Q(s.$$.fragment,d),y=!1},d(d){d&&u(t),Y(s),E.d(),w.d(),x=!1,T()}}}function de(f,t,s){let o="",e="",c="",a="",n="";const l="m/44'/637'/0'/0'/0'",i=async()=>{if(e!==""){s(0,o=""),s(1,e=e.trim());try{let y=oe.fromDerivePath(l,e);if(y!==null){let x=y.toPrivateKeyObject();s(2,c=x.address),a=x.publicKeyHex,n=x.privateKeyHex.slice(2)}else s(0,o="No wallet found")}catch{s(0,o="Something wrong!")}}else s(0,o="Enter a valid key")},r=async()=>{te.set(a),se.set(n),le.set(c),re.set(e)};function h(){e=this.value,s(1,e)}return[o,e,c,i,r,h,()=>ae.set(1)]}class be extends z{constructor(t){super(),R(this,t,de,fe,X,{})}}export{be as component}; diff --git a/build/app/immutable/nodes/8.eaf2523e.js b/build/app/immutable/nodes/8.eaf2523e.js deleted file mode 100644 index 5dd41198e..000000000 --- a/build/app/immutable/nodes/8.eaf2523e.js +++ /dev/null @@ -1 +0,0 @@ -import{S as bt,i as mt,s as wt,k as l,y as Et,a as f,q as x,l as s,m as n,z as kt,c as h,r as I,h as t,n as a,K as ge,b as P,A as yt,D as e,Q as xe,J as se,u as Qe,g as gt,d as xt,B as It,L as Pt,H as We}from"../chunks/index.f3b06f47.js";import{a as Dt,s as Tt,b as Vt}from"../chunks/functionsForLogin.1a2a5d01.js";import{H as Bt}from"../chunks/Header.b7ab37a3.js";import{e as Nt}from"../chunks/secondAuth.f9ee4b2a.js";import{o as Ct,j as St}from"../chunks/store.26750aee.js";function Ht(p){let o,c;return{c(){o=l("button"),c=x("Confirm"),this.h()},l(d){o=s(d,"BUTTON",{class:!0});var r=n(o);c=I(r,"Confirm"),r.forEach(t),this.h()},h(){o.disabled=!0,a(o,"class","btn btn-wide block mx-auto")},m(d,r){P(d,o,r),e(o,c)},p:We,d(d){d&&t(o)}}}function Rt(p){let o,c,d,r;return{c(){o=l("button"),c=x("Confirm"),this.h()},l(v){o=s(v,"BUTTON",{class:!0});var m=n(o);c=I(m,"Confirm"),m.forEach(t),this.h()},h(){a(o,"class","btn btn-wide block mx-auto")},m(v,m){P(v,o,m),e(o,c),d||(r=se(o,"click",p[7]),d=!0)},p:We,d(v){v&&t(o),d=!1,r()}}}function Ut(p){let o,c,d,r,v,m,N,k,D,C,w,T,E,V,Y;return{c(){o=l("h1"),c=x("Lets go 🚀!"),d=f(),r=l("br"),v=f(),m=l("p"),N=x("You are all set ✅"),k=f(),D=l("br"),C=f(),w=l("div"),T=l("div"),E=l("a"),V=l("button"),Y=x("Dashboard"),this.h()},l(i){o=s(i,"H1",{class:!0});var b=n(o);c=I(b,"Lets go 🚀!"),b.forEach(t),d=h(i),r=s(i,"BR",{}),v=h(i),m=s(i,"P",{class:!0});var R=n(m);N=I(R,"You are all set ✅"),R.forEach(t),k=h(i),D=s(i,"BR",{}),C=h(i),w=s(i,"DIV",{class:!0});var g=n(w);T=s(g,"DIV",{class:!0});var j=n(T);E=s(j,"A",{href:!0,class:!0});var U=n(E);V=s(U,"BUTTON",{class:!0});var O=n(V);Y=I(O,"Dashboard"),O.forEach(t),U.forEach(t),j.forEach(t),g.forEach(t),this.h()},h(){a(o,"class","text-5xl text-left mb-2"),a(m,"class","text-lg text-left text-green-500"),a(V,"class","btn w-full h-full"),a(E,"href","/"),a(E,"class","btn mt-5 p-0"),a(T,"class","grid flex-grow"),a(w,"class","flex w-full mt-2")},m(i,b){P(i,o,b),e(o,c),P(i,d,b),P(i,r,b),P(i,v,b),P(i,m,b),e(m,N),P(i,k,b),P(i,D,b),P(i,C,b),P(i,w,b),e(w,T),e(T,E),e(E,V),e(V,Y)},p:We,d(i){i&&t(o),i&&t(d),i&&t(r),i&&t(v),i&&t(m),i&&t(k),i&&t(D),i&&t(C),i&&t(w)}}}function At(p){let o,c,d,r,v,m,N,k,D,C,w,T,E,V,Y,i,b,R,g,j,U,O;return{c(){o=l("h1"),c=x("Unable to sign-in ☹️!"),d=f(),r=l("br"),v=f(),m=l("p"),N=x(p[2]),k=f(),D=l("br"),C=f(),w=l("div"),T=l("div"),E=l("a"),V=x("Try later"),Y=f(),i=l("div"),b=f(),R=l("div"),g=l("button"),j=x("Retry"),this.h()},l(u){o=s(u,"H1",{class:!0});var S=n(o);c=I(S,"Unable to sign-in ☹️!"),S.forEach(t),d=h(u),r=s(u,"BR",{}),v=h(u),m=s(u,"P",{class:!0});var L=n(m);N=I(L,p[2]),L.forEach(t),k=h(u),D=s(u,"BR",{}),C=h(u),w=s(u,"DIV",{class:!0});var q=n(w);T=s(q,"DIV",{class:!0});var G=n(T);E=s(G,"A",{href:!0,class:!0});var ae=n(E);V=I(ae,"Try later"),ae.forEach(t),G.forEach(t),Y=h(q),i=s(q,"DIV",{class:!0}),n(i).forEach(t),b=h(q),R=s(q,"DIV",{class:!0});var Q=n(R);g=s(Q,"BUTTON",{class:!0});var M=n(g);j=I(M,"Retry"),M.forEach(t),Q.forEach(t),q.forEach(t),this.h()},h(){a(o,"class","text-3xl text-center mb-2"),a(m,"class","text-lg text-left text-red-500"),a(E,"href","/"),a(E,"class","btn w-full h-full"),a(T,"class","grid flex-grow"),a(i,"class","divider divider-horizontal"),a(g,"class","btn w-full h-full"),a(R,"class","grid flex-grow"),a(w,"class","flex w-full mt-2")},m(u,S){P(u,o,S),e(o,c),P(u,d,S),P(u,r,S),P(u,v,S),P(u,m,S),e(m,N),P(u,k,S),P(u,D,S),P(u,C,S),P(u,w,S),e(w,T),e(T,E),e(E,V),e(w,Y),e(w,i),e(w,b),e(w,R),e(R,g),e(g,j),U||(O=se(g,"click",p[13]),U=!0)},p(u,S){S&4&&Qe(N,u[2])},d(u){u&&t(o),u&&t(d),u&&t(r),u&&t(v),u&&t(m),u&&t(k),u&&t(D),u&&t(C),u&&t(w),U=!1,O()}}}function Yt(p){var et,tt;let o,c,d,r,v,m,N,k,D=(p[2]!==""?p[2]:"You will use this to unlock your wallet")+"",C,w,T,E,V,Y,i,b,R,g,j,U,O,u,S,L,q,G,ae,Q,M,W,Ie,Ge=" ",Pe,De,re,Te,Ve,X,Be,pe,Z,H,oe,Ne,Ce,Se,He,ne,Re,Ue,Ae,Ye,ie,fe=`${(tt=(et=p[5])==null?void 0:et.payload)==null?void 0:tt.eula}`??"...",be,Le,Oe,Me,F,ce,ee,ze,Ke,he,je,ue,te,qe,Fe,$,le,J,Je,Xe;c=new Bt({});function Ze(_,B){return _[4]?Rt:Ht}let me=Ze(p),z=me(p);function $e(_,B){return _[2].length>0?At:Ut}let we=$e(p),K=we(p);return{c(){o=l("div"),Et(c.$$.fragment),d=f(),r=l("div"),v=l("h1"),m=x("Create Your Password"),N=f(),k=l("h1"),C=x(D),T=f(),E=l("div"),V=l("h2"),Y=x("New Password"),i=f(),b=l("input"),R=f(),g=l("br"),j=f(),U=l("div"),O=l("h2"),u=x("Confirm Password"),S=f(),L=l("input"),q=f(),G=l("div"),ae=f(),Q=l("div"),M=l("label"),W=l("span"),Ie=x("I agree to the"),Pe=x(Ge),De=f(),re=l("span"),Te=x("Terms of Service"),Ve=f(),X=l("input"),Be=f(),z.c(),pe=f(),Z=l("div"),H=l("div"),oe=l("h1"),Ne=x("You are signing!"),Ce=f(),Se=l("br"),He=f(),ne=l("h2"),Re=x("Message"),Ue=f(),Ae=l("br"),Ye=f(),ie=l("p"),be=x(fe),Le=f(),Oe=l("br"),Me=f(),F=l("div"),ce=l("div"),ee=l("button"),ze=x("CANCEL"),Ke=f(),he=l("div"),je=f(),ue=l("div"),te=l("button"),qe=x("Sign"),Fe=f(),$=l("div"),le=l("div"),K.c(),this.h()},l(_){o=s(_,"DIV",{});var B=n(o);kt(c.$$.fragment,B),d=h(B),r=s(B,"DIV",{class:!0});var y=n(r);v=s(y,"H1",{class:!0});var ve=n(v);m=I(ve,"Create Your Password"),ve.forEach(t),N=h(y),k=s(y,"H1",{class:!0});var lt=n(k);C=I(lt,D),lt.forEach(t),T=h(y),E=s(y,"DIV",{});var Ee=n(E);V=s(Ee,"H2",{class:!0});var st=n(V);Y=I(st,"New Password"),st.forEach(t),i=h(Ee),b=s(Ee,"INPUT",{type:!0,class:!0,placeholder:!0}),Ee.forEach(t),R=h(y),g=s(y,"BR",{}),j=h(y),U=s(y,"DIV",{});var ke=n(U);O=s(ke,"H2",{class:!0});var at=n(O);u=I(at,"Confirm Password"),at.forEach(t),S=h(ke),L=s(ke,"INPUT",{type:!0,class:!0,placeholder:!0}),ke.forEach(t),q=h(y),G=s(y,"DIV",{class:!0}),n(G).forEach(t),ae=h(y),Q=s(y,"DIV",{class:!0});var rt=n(Q);M=s(rt,"LABEL",{class:!0});var ye=n(M);W=s(ye,"SPAN",{class:!0});var _e=n(W);Ie=I(_e,"I agree to the"),Pe=I(_e,Ge),De=h(_e),re=s(_e,"SPAN",{class:!0});var ot=n(re);Te=I(ot,"Terms of Service"),ot.forEach(t),_e.forEach(t),Ve=h(ye),X=s(ye,"INPUT",{type:!0,class:!0}),ye.forEach(t),rt.forEach(t),Be=h(y),z.l(y),pe=h(y),Z=s(y,"DIV",{class:!0});var nt=n(Z);H=s(nt,"DIV",{class:!0});var A=n(H);oe=s(A,"H1",{class:!0});var it=n(oe);Ne=I(it,"You are signing!"),it.forEach(t),Ce=h(A),Se=s(A,"BR",{}),He=h(A),ne=s(A,"H2",{class:!0});var ct=n(ne);Re=I(ct,"Message"),ct.forEach(t),Ue=h(A),Ae=s(A,"BR",{}),Ye=h(A),ie=s(A,"P",{class:!0});var ut=n(ie);be=I(ut,fe),ut.forEach(t),Le=h(A),Oe=s(A,"BR",{}),Me=h(A),F=s(A,"DIV",{class:!0});var de=n(F);ce=s(de,"DIV",{class:!0});var dt=n(ce);ee=s(dt,"BUTTON",{class:!0});var ft=n(ee);ze=I(ft,"CANCEL"),ft.forEach(t),dt.forEach(t),Ke=h(de),he=s(de,"DIV",{class:!0}),n(he).forEach(t),je=h(de),ue=s(de,"DIV",{class:!0});var ht=n(ue);te=s(ht,"BUTTON",{class:!0});var vt=n(te);qe=I(vt,"Sign"),vt.forEach(t),ht.forEach(t),de.forEach(t),A.forEach(t),nt.forEach(t),Fe=h(y),$=s(y,"DIV",{class:!0});var _t=n($);le=s(_t,"DIV",{class:!0});var pt=n(le);K.l(pt),pt.forEach(t),_t.forEach(t),y.forEach(t),B.forEach(t),this.h()},h(){a(v,"class","text-3xl text-center my-3"),a(k,"class",w=`text-lg text-center mb-3 ${p[2]!==""?"text-red-500":""}`),a(V,"class","text-xl text-left mt-3 mb-1"),a(b,"type","password"),a(b,"class","input input-bordered w-full dark:bg-gray-800 dark:text-white"),a(b,"placeholder","New Password"),a(O,"class","text-xl text-left mt-3 mb-1"),a(L,"type","password"),a(L,"class","input input-bordered w-full dark:bg-gray-800 dark:text-white"),a(L,"placeholder","Confirm Password"),a(G,"class","divider"),a(re,"class","text-lime-700"),a(W,"class","label-text dark:text-white"),a(X,"type","checkbox"),a(X,"class","checkbox"),X.checked=p[4],a(M,"class","label cursor-pointer"),a(Q,"class","form-control"),a(oe,"class","text-3xl text-center font-bold mb-2"),a(ne,"class","text-xl text-center"),a(ie,"class","text-lg text-center dark:text-green-100"),a(ee,"class","btn mt-5"),a(ce,"class","grid flex-grow"),a(he,"class","divider divider-horizontal"),a(te,"class","btn w-full mt-5"),a(ue,"class","grid flex-grow"),a(F,"class","flex w-full mt-2"),a(H,"class","modal-box dark:bg-gray-800 dark:text-white"),a(Z,"class","modal"),ge(Z,"modal-open",p[3]),a(le,"class","modal-box dark:bg-gray-800 dark:text-white"),a($,"class","modal"),ge($,"modal-open",p[6]),a(r,"class","mt-6 w-4/5 mx-auto")},m(_,B){P(_,o,B),yt(c,o,null),e(o,d),e(o,r),e(r,v),e(v,m),e(r,N),e(r,k),e(k,C),e(r,T),e(r,E),e(E,V),e(V,Y),e(E,i),e(E,b),xe(b,p[0]),e(r,R),e(r,g),e(r,j),e(r,U),e(U,O),e(O,u),e(U,S),e(U,L),xe(L,p[1]),e(r,q),e(r,G),e(r,ae),e(r,Q),e(Q,M),e(M,W),e(W,Ie),e(W,Pe),e(W,De),e(W,re),e(re,Te),e(M,Ve),e(M,X),e(r,Be),z.m(r,null),e(r,pe),e(r,Z),e(Z,H),e(H,oe),e(oe,Ne),e(H,Ce),e(H,Se),e(H,He),e(H,ne),e(ne,Re),e(H,Ue),e(H,Ae),e(H,Ye),e(H,ie),e(ie,be),e(H,Le),e(H,Oe),e(H,Me),e(H,F),e(F,ce),e(ce,ee),e(ee,ze),e(F,Ke),e(F,he),e(F,je),e(F,ue),e(ue,te),e(te,qe),e(r,Fe),e(r,$),e($,le),K.m(le,null),J=!0,Je||(Xe=[se(b,"input",p[9]),se(L,"input",p[10]),se(X,"change",p[11]),se(ee,"click",p[12]),se(te,"click",p[8])],Je=!0)},p(_,[B]){var y,ve;(!J||B&4)&&D!==(D=(_[2]!==""?_[2]:"You will use this to unlock your wallet")+"")&&Qe(C,D),(!J||B&4&&w!==(w=`text-lg text-center mb-3 ${_[2]!==""?"text-red-500":""}`))&&a(k,"class",w),B&1&&b.value!==_[0]&&xe(b,_[0]),B&2&&L.value!==_[1]&&xe(L,_[1]),(!J||B&16)&&(X.checked=_[4]),me===(me=Ze(_))&&z?z.p(_,B):(z.d(1),z=me(_),z&&(z.c(),z.m(r,pe))),(!J||B&32)&&fe!==(fe=`${(ve=(y=_[5])==null?void 0:y.payload)==null?void 0:ve.eula}`??"...")&&Qe(be,fe),(!J||B&8)&&ge(Z,"modal-open",_[3]),we===(we=$e(_))&&K?K.p(_,B):(K.d(1),K=we(_),K&&(K.c(),K.m(le,null))),(!J||B&64)&&ge($,"modal-open",_[6])},i(_){J||(gt(c.$$.fragment,_),J=!0)},o(_){xt(c.$$.fragment,_),J=!1},d(_){_&&t(o),It(c),z.d(),K.d(),Je=!1,Pt(Xe)}}}function Lt(p,o,c){let d="",r="",v="",m,N=!1,k=!0,D,C=!1;async function w(){try{const g=await Tt(D.payload);m=await Vt(D.payload.flowId,g==null?void 0:g.signature,g==null?void 0:g.pubKey),await Nt(d),St.set(m.payload.token),c(3,N=!0)}catch{c(2,v="Something went wrong"),console.error(v)}}const T=async()=>{d===r&&d!==""&&d.length>=6&&k?(c(2,v=""),c(3,N=!0)):d.length<6?c(2,v="Password has to be at least 6 characters long"):k?c(2,v="Passwords are not matching"):c(2,v="You need to accept the terms and conditions"),c(5,D=await Dt())},E=async()=>{await w(),v.length<1&&Ct.set(0),c(6,C=!0)};function V(){d=this.value,c(0,d)}function Y(){r=this.value,c(1,r)}return[d,r,v,N,k,D,C,T,E,V,Y,()=>c(4,k=!k),()=>c(3,N=!1),()=>{c(3,N=!1),c(6,C=!1)}]}class qt extends bt{constructor(o){super(),mt(this,o,Lt,Yt,wt,{})}}export{qt as component}; diff --git a/build/app/immutable/nodes/9.821502a3.js b/build/app/immutable/nodes/9.821502a3.js deleted file mode 100644 index 86e5e9e5a..000000000 --- a/build/app/immutable/nodes/9.821502a3.js +++ /dev/null @@ -1 +0,0 @@ -import{S as Pt,i as It,s as Mt,k as w,y as Xe,a as I,l as b,m as H,z as $e,c as M,h as y,n as v,b as O,A as qe,D as d,d as ie,f as At,g as se,B as Fe,I as We,o as Gt,v as Et,H as ye,q as X,r as $,K as Ee,Q as He,J as ge,u as kt,L as Lt,U as _e}from"../chunks/index.f3b06f47.js";import{H as Rt}from"../chunks/Header.b7ab37a3.js";import{j as Ht,c as ee,r as Nt,w as Ut,d as Ct}from"../chunks/store.26750aee.js";import{g as jt,I as Ot,a as zt}from"../chunks/qrCode.9ed71917.js";import{c as Vt}from"../chunks/secondAuth.f9ee4b2a.js";import{a as Bt}from"../chunks/public.02ab71de.js";import{A as Wt}from"../chunks/AskToLogin.c273dc76.js";const Xt=async()=>{let p="",r="";Ht.subscribe(l=>p=l);try{return[await(await fetch(`${Bt}/profile`,{method:"GET",headers:{Authorization:`Bearer ${p}`}})).json(),null]}catch(l){return r=l,[null,r]}};var Qe={},Ye={exports:{}};Ye.exports;(function(p){(function(r,l,o){function f(e){var a=this,u=i();a.next=function(){var t=2091639*a.s0+a.c*23283064365386963e-26;return a.s0=a.s1,a.s1=a.s2,a.s2=t-(a.c=t|0)},a.c=1,a.s0=u(" "),a.s1=u(" "),a.s2=u(" "),a.s0-=u(e),a.s0<0&&(a.s0+=1),a.s1-=u(e),a.s1<0&&(a.s1+=1),a.s2-=u(e),a.s2<0&&(a.s2+=1),u=null}function k(e,a){return a.c=e.c,a.s0=e.s0,a.s1=e.s1,a.s2=e.s2,a}function x(e,a){var u=new f(e),t=a&&a.state,n=u.next;return n.int32=function(){return u.next()*4294967296|0},n.double=function(){return n()+(n()*2097152|0)*11102230246251565e-32},n.quick=n,t&&(typeof t=="object"&&k(t,u),n.state=function(){return k(u,{})}),n}function i(){var e=4022871197,a=function(u){u=String(u);for(var t=0;t>>0,n-=e,n*=e,e=n>>>0,n-=e,e+=n*4294967296}return(e>>>0)*23283064365386963e-26};return a}l&&l.exports?l.exports=x:o&&o.amd?o(function(){return x}):this.alea=x})(ee,p,!1)})(Ye);var $t=Ye.exports,Je={exports:{}};Je.exports;(function(p){(function(r,l,o){function f(i){var e=this,a="";e.x=0,e.y=0,e.z=0,e.w=0,e.next=function(){var t=e.x^e.x<<11;return e.x=e.y,e.y=e.z,e.z=e.w,e.w^=e.w>>>19^t^t>>>8},i===(i|0)?e.x=i:a+=i;for(var u=0;u>>0)/4294967296};return t.double=function(){do var n=a.next()>>>11,s=(a.next()>>>0)/4294967296,c=(n+s)/(1<<21);while(c===0);return c},t.int32=a.next,t.quick=t,u&&(typeof u=="object"&&k(u,a),t.state=function(){return k(a,{})}),t}l&&l.exports?l.exports=x:o&&o.amd?o(function(){return x}):this.xor128=x})(ee,p,!1)})(Je);var qt=Je.exports,Ke={exports:{}};Ke.exports;(function(p){(function(r,l,o){function f(i){var e=this,a="";e.next=function(){var t=e.x^e.x>>>2;return e.x=e.y,e.y=e.z,e.z=e.w,e.w=e.v,(e.d=e.d+362437|0)+(e.v=e.v^e.v<<4^(t^t<<1))|0},e.x=0,e.y=0,e.z=0,e.w=0,e.v=0,i===(i|0)?e.x=i:a+=i;for(var u=0;u>>4),e.next()}function k(i,e){return e.x=i.x,e.y=i.y,e.z=i.z,e.w=i.w,e.v=i.v,e.d=i.d,e}function x(i,e){var a=new f(i),u=e&&e.state,t=function(){return(a.next()>>>0)/4294967296};return t.double=function(){do var n=a.next()>>>11,s=(a.next()>>>0)/4294967296,c=(n+s)/(1<<21);while(c===0);return c},t.int32=a.next,t.quick=t,u&&(typeof u=="object"&&k(u,a),t.state=function(){return k(a,{})}),t}l&&l.exports?l.exports=x:o&&o.amd?o(function(){return x}):this.xorwow=x})(ee,p,!1)})(Ke);var Ft=Ke.exports,Ze={exports:{}};Ze.exports;(function(p){(function(r,l,o){function f(i){var e=this;e.next=function(){var u=e.x,t=e.i,n,s;return n=u[t],n^=n>>>7,s=n^n<<24,n=u[t+1&7],s^=n^n>>>10,n=u[t+3&7],s^=n^n>>>3,n=u[t+4&7],s^=n^n<<7,n=u[t+7&7],n=n^n<<13,s^=n^n<<9,u[t]=s,e.i=t+1&7,s};function a(u,t){var n,s=[];if(t===(t|0))s[0]=t;else for(t=""+t,n=0;n0;--n)u.next()}a(e,i)}function k(i,e){return e.x=i.x.slice(),e.i=i.i,e}function x(i,e){i==null&&(i=+new Date);var a=new f(i),u=e&&e.state,t=function(){return(a.next()>>>0)/4294967296};return t.double=function(){do var n=a.next()>>>11,s=(a.next()>>>0)/4294967296,c=(n+s)/(1<<21);while(c===0);return c},t.int32=a.next,t.quick=t,u&&(u.x&&k(u,a),t.state=function(){return k(a,{})}),t}l&&l.exports?l.exports=x:o&&o.amd?o(function(){return x}):this.xorshift7=x})(ee,p,!1)})(Ze);var Qt=Ze.exports,et={exports:{}};et.exports;(function(p){(function(r,l,o){function f(i){var e=this;e.next=function(){var u=e.w,t=e.X,n=e.i,s,c;return e.w=u=u+1640531527|0,c=t[n+34&127],s=t[n=n+1&127],c^=c<<13,s^=s<<17,c^=c>>>15,s^=s>>>12,c=t[n]=c^s,e.i=n,c+(u^u>>>16)|0};function a(u,t){var n,s,c,C,D,P=[],z=128;for(t===(t|0)?(s=t,t=null):(t=t+"\0",s=0,z=Math.max(z,t.length)),c=0,C=-32;C>>15,s^=s<<4,s^=s>>>13,C>=0&&(D=D+1640531527|0,n=P[C&127]^=s+D,c=n==0?c+1:0);for(c>=128&&(P[(t&&t.length||0)&127]=-1),c=127,C=4*128;C>0;--C)s=P[c+34&127],n=P[c=c+1&127],s^=s<<13,n^=n<<17,s^=s>>>15,n^=n>>>12,P[c]=s^n;u.w=D,u.X=P,u.i=c}a(e,i)}function k(i,e){return e.i=i.i,e.w=i.w,e.X=i.X.slice(),e}function x(i,e){i==null&&(i=+new Date);var a=new f(i),u=e&&e.state,t=function(){return(a.next()>>>0)/4294967296};return t.double=function(){do var n=a.next()>>>11,s=(a.next()>>>0)/4294967296,c=(n+s)/(1<<21);while(c===0);return c},t.int32=a.next,t.quick=t,u&&(u.X&&k(u,a),t.state=function(){return k(a,{})}),t}l&&l.exports?l.exports=x:o&&o.amd?o(function(){return x}):this.xor4096=x})(ee,p,!1)})(et);var Yt=et.exports,tt={exports:{}};tt.exports;(function(p){(function(r,l,o){function f(i){var e=this,a="";e.next=function(){var t=e.b,n=e.c,s=e.d,c=e.a;return t=t<<25^t>>>7^n,n=n-s|0,s=s<<24^s>>>8^c,c=c-t|0,e.b=t=t<<20^t>>>12^n,e.c=n=n-s|0,e.d=s<<16^n>>>16^c,e.a=c-t|0},e.a=0,e.b=0,e.c=-1640531527,e.d=1367130551,i===Math.floor(i)?(e.a=i/4294967296|0,e.b=i|0):a+=i;for(var u=0;u>>0)/4294967296};return t.double=function(){do var n=a.next()>>>11,s=(a.next()>>>0)/4294967296,c=(n+s)/(1<<21);while(c===0);return c},t.int32=a.next,t.quick=t,u&&(typeof u=="object"&&k(u,a),t.state=function(){return k(a,{})}),t}l&&l.exports?l.exports=x:o&&o.amd?o(function(){return x}):this.tychei=x})(ee,p,!1)})(tt);var Jt=tt.exports,Dt={exports:{}};(function(p){(function(r,l,o){var f=256,k=6,x=52,i="random",e=o.pow(f,k),a=o.pow(2,x),u=a*2,t=f-1,n;function s(m,g,S){var B=[];g=g==!0?{entropy:!0}:g||{};var A=P(D(g.entropy?[m,q(l)]:m??z(),3),B),L=new c(B),G=function(){for(var _=L.g(k),T=e,R=0;_=u;)_/=2,T/=2,R>>>=1;return(_+R)/T};return G.int32=function(){return L.g(4)|0},G.quick=function(){return L.g(4)/4294967296},G.double=G,P(q(L.S),l),(g.pass||S||function(_,T,R,j){return j&&(j.S&&C(j,L),_.state=function(){return C(L,{})}),R?(o[i]=_,T):_})(G,A,"global"in g?g.global:this==o,g.state)}function c(m){var g,S=m.length,B=this,A=0,L=B.i=B.j=0,G=B.S=[];for(S||(m=[S++]);A{ne[he]=null}),At(),S=ne[g],S?S.p(h,E):(S=ne[g]=at[g](h),S.c()),se(S,1),S.m(m,null)),(!re||E&32)&&Ee(m,"bg-gray-900",h[5]),Ce===(Ce=lt(h))&&F?F.p(h,E):(F.d(1),F=Ce(h),F&&(F.c(),F.m(ae,null))),E&2&&Q.value!==h[1]&&He(Q,h[1]),E&4&&Y.value!==h[2]&&He(Y,h[2]),(!re||E&1)&&Ee(Z,"modal-open",h[0])},i(h){re||(se(S),re=!0)},o(h){ie(S),re=!1},d(h){h&&y(r),U&&U.d(),h&&y(c),h&&y(C),ne[g].d(),F.d(),h&&y(be),h&&y(te),h&&y(ke),h&&y(Z),Ve=!1,Lt(rt)}}}function cr(p){let r,l;return{c(){r=w("img"),this.h()},l(o){r=b(o,"IMG",{src:!0,alt:!0,class:!0}),this.h()},h(){_e(r.src,l=p[4])||v(r,"src",l),v(r,"alt","aptos token"),v(r,"class","w-32 h-32 rounded-full object-center flex items-center mx-2 mb-4")},m(o,f){O(o,r,f)},p(o,f){f&16&&!_e(r.src,l=o[4])&&v(r,"src",l)},d(o){o&&y(r)}}}function fr(p){let r,l;return{c(){r=w("img"),this.h()},l(o){r=b(o,"IMG",{src:!0,alt:!0,class:!0}),this.h()},h(){_e(r.src,l=p[9])||v(r,"src",l),v(r,"alt","aptos token"),v(r,"class","w-28 flex items-center mx-2 mb-4")},m(o,f){O(o,r,f)},p(o,f){f&512&&!_e(r.src,l=o[9])&&v(r,"src",l)},d(o){o&&y(r)}}}function pr(p){let r,l;return r=new Ot({props:{src:zt,color:"#11D9C5"}}),{c(){Xe(r.$$.fragment)},l(o){$e(r.$$.fragment,o)},m(o,f){qe(r,o,f),l=!0},p:ye,i(o){l||(se(r.$$.fragment,o),l=!0)},o(o){ie(r.$$.fragment,o),l=!1},d(o){Fe(r,o)}}}function dr(p){let r;return{c(){r=X("COPIED")},l(l){r=$(l,"COPIED")},m(l,o){O(l,r,o)},p:ye,i:ye,o:ye,d(l){l&&y(r)}}}function hr(p){let r,l;return{c(){r=w("p"),l=X("Generating QR code...")},l(o){r=b(o,"P",{});var f=H(r);l=$(f,"Generating QR code..."),f.forEach(y)},m(o,f){O(o,r,f),d(r,l)},p:ye,d(o){o&&y(r)}}}function vr(p){let r,l;return{c(){r=w("img"),this.h()},l(o){r=b(o,"IMG",{src:!0,alt:!0}),this.h()},h(){_e(r.src,l=p[8])||v(r,"src",l),v(r,"alt","QR Code")},m(o,f){O(o,r,f)},p(o,f){f&256&&!_e(r.src,l=o[8])&&v(r,"src",l)},d(o){o&&y(r)}}}function xr(p){let r,l,o,f,k,x,i,e,a;l=new Rt({});const u=[ur,sr],t=[];function n(s,c){return s[7]?0:1}return i=n(p),e=t[i]=u[i](p),{c(){r=w("div"),Xe(l.$$.fragment),o=I(),f=w("br"),k=I(),x=w("div"),e.c(),this.h()},l(s){r=b(s,"DIV",{class:!0});var c=H(r);$e(l.$$.fragment,c),o=M(c),f=b(c,"BR",{}),k=M(c),x=b(c,"DIV",{class:!0});var C=H(x);e.l(C),C.forEach(y),c.forEach(y),this.h()},h(){v(x,"class","w-auto rounded-lg shadow-xl p-5"),v(r,"class","bg-white text-black dark:bg-gray-900 dark:text-white")},m(s,c){O(s,r,c),qe(l,r,null),d(r,o),d(r,f),d(r,k),d(r,x),t[i].m(x,null),a=!0},p(s,[c]){let C=i;i=n(s),i===C?t[i].p(s,c):(Et(),ie(t[C],1,1,()=>{t[C]=null}),At(),e=t[i],e?e.p(s,c):(e=t[i]=u[i](s),e.c()),se(e,1),e.m(x,null))},i(s){a||(se(l.$$.fragment,s),se(e),a=!0)},o(s){ie(l.$$.fragment,s),ie(e),a=!1},d(s){s&&y(r),Fe(l),t[i].d()}}}function mr(p,r,l){let o,f,k;We(p,Ht,_=>l(19,o=_)),We(p,Ut,_=>l(20,f=_)),We(p,Ct,_=>l(9,k=_));let x=!1,i="",e="",a="",u="",t=!1,n,s,c="...",C=!0,D="",P="";const z=()=>{if(k!=="")return;const _=new Tt;Ct.set(_.generateRandomAvatar(f))},q=()=>{navigator.clipboard.writeText(f),l(5,t=!0)};async function m(){l(8,P=await jt(f))}const g=async()=>{const[_,T]=await Xt();l(3,a=_.payload.name),l(4,u=_.payload.profilePictureUrl),T?D=f:D=_.payload.walletAddress,l(6,c=`${D.substring(0,5)}...${D.substring(D.length-4)}`)},S=async()=>{try{let _=i.trim(),T=e.trim(),R=new Headers;R.append("Authorization",`Bearer ${o}`),R.append("Content-Type","application/json");let j=JSON.stringify({name:_,profilePictureUrl:T});(await fetch(`${Bt}/profile`,{method:"PATCH",headers:R,body:j})).status!==200&&(s="Failed to update the profile")}catch(_){console.error(_)}finally{await g(),l(0,x=!1)}};Gt(async()=>{await g(),z(),m(),n.payload.roles,l(7,[C]=await Vt(),C)});const B=()=>l(0,x=!0);function A(){i=this.value,l(1,i)}function L(){e=this.value,l(2,e)}return[x,i,e,a,u,t,c,C,P,k,q,S,B,A,L,()=>l(0,x=!1)]}class Sr extends Pt{constructor(r){super(),It(this,r,mr,xr,Mt,{})}}export{Sr as component}; diff --git a/build/app/immutable/nodes/9.84ee94ce.js b/build/app/immutable/nodes/9.84ee94ce.js new file mode 100644 index 000000000..983b9d09c --- /dev/null +++ b/build/app/immutable/nodes/9.84ee94ce.js @@ -0,0 +1,3 @@ +import{S as ut,i as ct,s as ft,k as n,y as dt,a as b,O as Z,q as N,l as i,m as s,z as ht,c as C,P as j,h as l,r as M,n as t,L as Ie,b as B,A as pt,D as e,M as Pe,K as de,u as Fe,g as _t,d as mt,B as vt,N as bt,H as De}from"../chunks/index.89e71670.js";import{a as Ct,s as wt,b as Et}from"../chunks/functionsForLogin.58cfd4e2.js";import{H as gt,e as yt}from"../chunks/Header.cf7b0240.js";import{o as kt,j as xt}from"../chunks/store.b194c171.js";function Bt(m){let r,o;return{c(){r=n("button"),o=N("create password"),this.h()},l(u){r=i(u,"BUTTON",{class:!0});var a=s(r);o=M(a,"create password"),a.forEach(l),this.h()},h(){r.disabled=!0,t(r,"class","btn primary-button")},m(u,a){B(u,r,a),e(r,o)},p:De,d(u){u&&l(r)}}}function Lt(m){let r,o,u,a;return{c(){r=n("button"),o=N("create password"),this.h()},l(c){r=i(c,"BUTTON",{class:!0});var f=s(r);o=M(f,"create password"),f.forEach(l),this.h()},h(){t(r,"class","btn primary-button")},m(c,f){B(c,r,f),e(r,o),u||(a=de(r,"click",m[7]),u=!0)},p:De,d(c){c&&l(r),u=!1,a()}}}function It(m){let r,o;return{c(){r=n("p"),o=N("cannot find message"),this.h()},l(u){r=i(u,"P",{class:!0});var a=s(r);o=M(a,"cannot find message"),a.forEach(l),this.h()},h(){t(r,"class","text-sm text-center dark:text-green-100")},m(u,a){B(u,r,a),e(r,o)},p:De,d(u){u&&l(r)}}}function Pt(m){var a,c;let r,o=`${(c=(a=m[5])==null?void 0:a.payload)==null?void 0:c.eula}`??"...",u;return{c(){r=n("p"),u=N(o),this.h()},l(f){r=i(f,"P",{class:!0});var v=s(r);u=M(v,o),v.forEach(l),this.h()},h(){t(r,"class","text-sm text-center dark:text-green-100")},m(f,v){B(f,r,v),e(r,u)},p(f,v){var g,h;v&32&&o!==(o=`${(h=(g=f[5])==null?void 0:g.payload)==null?void 0:h.eula}`??"...")&&Fe(u,o)},d(f){f&&l(r)}}}function Dt(m){let r,o,u,a,c,f,v,g,h,U,w,L,D,H,Y,O,S,T,E,z,I,ee,d,y,F,P,K,q,V,te;return{c(){r=n("div"),o=n("h1"),u=N("Congrats"),a=b(),c=Z("svg"),f=Z("g"),v=Z("path"),g=Z("defs"),h=Z("filter"),U=Z("feFlood"),w=Z("feColorMatrix"),L=Z("feOffset"),D=Z("feGaussianBlur"),H=Z("feComposite"),Y=Z("feColorMatrix"),O=Z("feBlend"),S=Z("feBlend"),T=b(),E=n("br"),z=b(),I=n("p"),ee=N("You are all set! Go to Homepage"),d=b(),y=n("br"),F=b(),P=n("div"),K=n("div"),q=n("a"),V=n("button"),te=N("go to homepage"),this.h()},l(p){r=i(p,"DIV",{class:!0});var k=s(r);o=i(k,"H1",{class:!0});var W=s(o);u=M(W,"Congrats"),W.forEach(l),a=C(k),c=j(k,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0,class:!0});var ne=s(c);f=j(ne,"g",{filter:!0});var le=s(f);v=j(le,"path",{d:!0}),s(v).forEach(l),le.forEach(l),g=j(ne,"defs",{});var he=s(g);h=j(he,"filter",{id:!0,x:!0,y:!0,width:!0,height:!0,filterUnits:!0,"color-interpolation-filters":!0});var G=s(h);U=j(G,"feFlood",{"flood-opacity":!0,result:!0}),s(U).forEach(l),w=j(G,"feColorMatrix",{in:!0,type:!0,values:!0,result:!0}),s(w).forEach(l),L=j(G,"feOffset",{dy:!0}),s(L).forEach(l),D=j(G,"feGaussianBlur",{stdDeviation:!0}),s(D).forEach(l),H=j(G,"feComposite",{in2:!0,operator:!0}),s(H).forEach(l),Y=j(G,"feColorMatrix",{type:!0,values:!0}),s(Y).forEach(l),O=j(G,"feBlend",{mode:!0,in2:!0,result:!0}),s(O).forEach(l),S=j(G,"feBlend",{mode:!0,in:!0,in2:!0,result:!0}),s(S).forEach(l),G.forEach(l),he.forEach(l),ne.forEach(l),k.forEach(l),T=C(p),E=i(p,"BR",{}),z=C(p),I=i(p,"P",{class:!0});var pe=s(I);ee=M(pe,"You are all set! Go to Homepage"),pe.forEach(l),d=C(p),y=i(p,"BR",{}),F=C(p),P=i(p,"DIV",{class:!0});var _e=s(P);K=i(_e,"DIV",{class:!0});var ie=s(K);q=i(ie,"A",{href:!0});var J=s(q);V=i(J,"BUTTON",{class:!0});var R=s(V);te=M(R,"go to homepage"),R.forEach(l),J.forEach(l),ie.forEach(l),_e.forEach(l),this.h()},h(){t(o,"class","text-3xl text-center mb-2"),t(v,"d","M12.6233 46.6667L20.4879 24.7917C20.6615 24.3403 20.9309 23.9931 21.2962 23.75C21.6615 23.5069 22.0518 23.3854 22.4671 23.3854C22.7448 23.3854 23.0053 23.4375 23.2483 23.5417C23.4914 23.6458 23.7171 23.8021 23.9254 24.0104L37.9879 38.0729C38.1962 38.2812 38.3525 38.5069 38.4566 38.75C38.5608 38.9931 38.6129 39.2535 38.6129 39.5312C38.6129 39.9479 38.4914 40.3389 38.2483 40.7042C38.0052 41.0694 37.658 41.3382 37.2066 41.5104L15.3316 49.375C14.915 49.5486 14.5157 49.575 14.1337 49.4542C13.7518 49.3333 13.4219 49.1333 13.1441 48.8542C12.8664 48.5764 12.6664 48.2465 12.5441 47.8646C12.4219 47.4826 12.4483 47.0833 12.6233 46.6667ZM54.9671 19.6354C54.6546 19.9479 54.29 20.1042 53.8733 20.1042C53.4566 20.1042 53.0921 19.9479 52.7796 19.6354L52.6233 19.4792C52.1372 18.9931 51.5296 18.75 50.8004 18.75C50.0712 18.75 49.4636 18.9931 48.9775 19.4792L38.4046 30.0521C38.0921 30.3646 37.7275 30.5208 37.3108 30.5208C36.8941 30.5208 36.5296 30.3646 36.2171 30.0521C35.9046 29.7396 35.7483 29.375 35.7483 28.9583C35.7483 28.5417 35.9046 28.1771 36.2171 27.8646L46.79 17.2917C47.9011 16.1806 49.2379 15.625 50.8004 15.625C52.3629 15.625 53.6997 16.1806 54.8108 17.2917L54.9671 17.4479C55.2796 17.7604 55.4358 18.125 55.4358 18.5417C55.4358 18.9583 55.2796 19.3229 54.9671 19.6354ZM27.7796 13.3854C28.0921 13.0729 28.4566 12.9167 28.8733 12.9167C29.29 12.9167 29.6546 13.0729 29.9671 13.3854L30.2275 13.6458C31.3386 14.7569 31.8941 16.0764 31.8941 17.6042C31.8941 19.1319 31.3386 20.4514 30.2275 21.5625L30.0712 21.7187C29.7587 22.0312 29.3941 22.1875 28.9775 22.1875C28.5608 22.1875 28.1962 22.0312 27.8837 21.7187C27.5712 21.4062 27.415 21.0417 27.415 20.625C27.415 20.2083 27.5712 19.8438 27.8837 19.5312L28.04 19.375C28.5261 18.8889 28.7691 18.2986 28.7691 17.6042C28.7691 16.9097 28.5261 16.3194 28.04 15.8333L27.7796 15.5729C27.4671 15.2604 27.3108 14.8958 27.3108 14.4792C27.3108 14.0625 27.4671 13.6979 27.7796 13.3854ZM36.2171 9.21875C36.5296 8.90625 36.8941 8.75 37.3108 8.75C37.7275 8.75 38.0921 8.90625 38.4046 9.21875L40.6441 11.4583C41.7552 12.5694 42.3108 13.9062 42.3108 15.4688C42.3108 17.0312 41.7552 18.3681 40.6441 19.4792L34.2379 25.8854C33.9254 26.1979 33.5608 26.3542 33.1441 26.3542C32.7275 26.3542 32.3629 26.1979 32.0504 25.8854C31.7379 25.5729 31.5816 25.2083 31.5816 24.7917C31.5816 24.375 31.7379 24.0104 32.0504 23.6979L38.4566 17.2917C38.9427 16.8056 39.1858 16.1979 39.1858 15.4688C39.1858 14.7396 38.9427 14.1319 38.4566 13.6458L36.2171 11.4062C35.9046 11.0938 35.7483 10.7292 35.7483 10.3125C35.7483 9.89583 35.9046 9.53125 36.2171 9.21875ZM52.8837 34.2187C52.5712 34.5312 52.2066 34.6875 51.79 34.6875C51.3733 34.6875 51.0087 34.5312 50.6962 34.2187L48.4566 31.9792C47.9705 31.4931 47.3629 31.25 46.6337 31.25C45.9046 31.25 45.2969 31.4931 44.8108 31.9792L42.5712 34.2187C42.2587 34.5312 41.8941 34.6875 41.4775 34.6875C41.0608 34.6875 40.6962 34.5312 40.3837 34.2187C40.0712 33.9062 39.915 33.5417 39.915 33.125C39.915 32.7083 40.0712 32.3438 40.3837 32.0312L42.6233 29.7917C43.7344 28.6806 45.0712 28.125 46.6337 28.125C48.1962 28.125 49.533 28.6806 50.6441 29.7917L52.8837 32.0312C53.1962 32.3438 53.3525 32.7083 53.3525 33.125C53.3525 33.5417 53.1962 33.9062 52.8837 34.2187Z"),t(f,"filter","url(#filter0_d_6892_6947)"),t(U,"flood-opacity","0"),t(U,"result","BackgroundImageFix"),t(w,"in","SourceAlpha"),t(w,"type","matrix"),t(w,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),t(w,"result","hardAlpha"),t(L,"dy","4"),t(D,"stdDeviation","6"),t(H,"in2","hardAlpha"),t(H,"operator","out"),t(Y,"type","matrix"),t(Y,"values","0 0 0 0 0.0666667 0 0 0 0 0.85098 0 0 0 0 0.772549 0 0 0 0.2 0"),t(O,"mode","normal"),t(O,"in2","BackgroundImageFix"),t(O,"result","effect1_dropShadow_6892_6947"),t(S,"mode","normal"),t(S,"in","SourceGraphic"),t(S,"in2","effect1_dropShadow_6892_6947"),t(S,"result","shape"),t(h,"id","filter0_d_6892_6947"),t(h,"x","0.46875"),t(h,"y","0.75"),t(h,"width","66.9688"),t(h,"height","64.7793"),t(h,"filterUnits","userSpaceOnUse"),t(h,"color-interpolation-filters","sRGB"),t(c,"width","68"),t(c,"height","66"),t(c,"viewBox","0 0 68 66"),t(c,"fill","none"),t(c,"xmlns","http://www.w3.org/2000/svg"),t(c,"class","fill-[#263238] dark:fill-[#11D9C5]"),t(r,"class","flex gap-4 justify-center items-center"),t(I,"class","text-sm text-center text-black dark:text-white"),t(V,"class","btn primary-button mx-auto"),t(q,"href","/create-profile"),t(K,"class","grid flex-grow"),t(P,"class","flex w-full mt-2")},m(p,k){B(p,r,k),e(r,o),e(o,u),e(r,a),e(r,c),e(c,f),e(f,v),e(c,g),e(g,h),e(h,U),e(h,w),e(h,L),e(h,D),e(h,H),e(h,Y),e(h,O),e(h,S),B(p,T,k),B(p,E,k),B(p,z,k),B(p,I,k),e(I,ee),B(p,d,k),B(p,y,k),B(p,F,k),B(p,P,k),e(P,K),e(K,q),e(q,V),e(V,te)},p:De,d(p){p&&l(r),p&&l(T),p&&l(E),p&&l(z),p&&l(I),p&&l(d),p&&l(y),p&&l(F),p&&l(P)}}}function St(m){let r,o,u,a,c,f,v,g,h,U,w,L,D,H,Y,O,S,T,E,z,I,ee;return{c(){r=n("h1"),o=N("Unable to sign-in ☹️!"),u=b(),a=n("br"),c=b(),f=n("p"),v=N(m[2]),g=b(),h=n("br"),U=b(),w=n("div"),L=n("div"),D=n("a"),H=N("Try later"),Y=b(),O=n("div"),S=b(),T=n("div"),E=n("button"),z=N("Retry"),this.h()},l(d){r=i(d,"H1",{class:!0});var y=s(r);o=M(y,"Unable to sign-in ☹️!"),y.forEach(l),u=C(d),a=i(d,"BR",{}),c=C(d),f=i(d,"P",{class:!0});var F=s(f);v=M(F,m[2]),F.forEach(l),g=C(d),h=i(d,"BR",{}),U=C(d),w=i(d,"DIV",{class:!0});var P=s(w);L=i(P,"DIV",{class:!0});var K=s(L);D=i(K,"A",{href:!0,class:!0});var q=s(D);H=M(q,"Try later"),q.forEach(l),K.forEach(l),Y=C(P),O=i(P,"DIV",{class:!0}),s(O).forEach(l),S=C(P),T=i(P,"DIV",{class:!0});var V=s(T);E=i(V,"BUTTON",{class:!0});var te=s(E);z=M(te,"Retry"),te.forEach(l),V.forEach(l),P.forEach(l),this.h()},h(){t(r,"class","text-xl font-bold text-center mb-2"),t(f,"class","text-base text-center text-red-500"),t(D,"href","/"),t(D,"class","btn secondary-button"),t(L,"class","grid flex-grow"),t(O,"class","divider divider-horizontal"),t(E,"class","btn primary-button"),t(T,"class","grid flex-grow"),t(w,"class","flex w-full mt-2")},m(d,y){B(d,r,y),e(r,o),B(d,u,y),B(d,a,y),B(d,c,y),B(d,f,y),e(f,v),B(d,g,y),B(d,h,y),B(d,U,y),B(d,w,y),e(w,L),e(L,D),e(D,H),e(w,Y),e(w,O),e(w,S),e(w,T),e(T,E),e(E,z),I||(ee=de(E,"click",m[13]),I=!0)},p(d,y){y&4&&Fe(v,d[2])},d(d){d&&l(r),d&&l(u),d&&l(a),d&&l(c),d&&l(f),d&&l(g),d&&l(h),d&&l(U),d&&l(w),I=!1,ee()}}}function Tt(m){let r,o,u,a,c,f,v,g,h,U,w,L,D=(m[2]!==""?m[2]:"You will use this to unlock your wallet")+"",H,Y,O,S,T,E,z,I,ee,d,y,F,P,K,q,V,te,p,k,W,ne,le,he,G,pe,_e,ie,J,R,me,Se,Te,Ve,Ae,we,Ne,Me,ae,ve,ue,Ue,Oe,be,ce,Re,He,oe,fe,se,Ye,Ze;o=new gt({});function je(_,A){return _[4]?Lt:Bt}let Ee=je(m),Q=Ee(m);function Ke(_,A){var x,Ce;return(Ce=(x=_[5])==null?void 0:x.payload)!=null&&Ce.eula?Pt:It}let ge=Ke(m),X=ge(m);function qe(_,A){return _[2].length>0?St:Dt}let ye=qe(m),$=ye(m);return{c(){r=n("div"),dt(o.$$.fragment),u=b(),a=n("div"),c=n("a"),f=Z("svg"),v=Z("path"),g=b(),h=n("h1"),U=N("Create Your Password"),w=b(),L=n("p"),H=N(D),O=b(),S=n("div"),T=n("label"),E=N("New Password"),z=b(),I=n("input"),ee=b(),d=n("br"),y=b(),F=n("div"),P=n("label"),K=N("Confirm Password"),q=b(),V=n("input"),te=b(),p=n("div"),k=n("label"),W=n("input"),ne=b(),le=n("span"),he=N(`I agree to the\r + `),G=n("span"),pe=N("Terms of Service"),_e=b(),Q.c(),ie=b(),J=n("div"),R=n("div"),me=n("h1"),Se=N("You are signing!"),Te=b(),Ve=n("br"),Ae=b(),X.c(),we=b(),Ne=n("br"),Me=b(),ae=n("div"),ve=n("div"),ue=n("button"),Ue=N("CANCEL"),Oe=b(),be=n("div"),ce=n("button"),Re=N("Sign"),He=b(),oe=n("div"),fe=n("div"),$.c(),this.h()},l(_){r=i(_,"DIV",{});var A=s(r);ht(o.$$.fragment,A),u=C(A),a=i(A,"DIV",{class:!0});var x=s(a);c=i(x,"A",{href:!0});var Ce=s(c);f=j(Ce,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0,class:!0});var ze=s(f);v=j(ze,"path",{d:!0}),s(v).forEach(l),ze.forEach(l),Ce.forEach(l),g=C(x),h=i(x,"H1",{class:!0});var We=s(h);U=M(We,"Create Your Password"),We.forEach(l),w=C(x),L=i(x,"P",{class:!0});var Je=s(L);H=M(Je,D),Je.forEach(l),O=C(x),S=i(x,"DIV",{});var ke=s(S);T=i(ke,"LABEL",{for:!0,class:!0});var Qe=s(T);E=M(Qe,"New Password"),Qe.forEach(l),z=C(ke),I=i(ke,"INPUT",{name:!0,type:!0,class:!0}),ke.forEach(l),ee=C(x),d=i(x,"BR",{}),y=C(x),F=i(x,"DIV",{});var xe=s(F);P=i(xe,"LABEL",{for:!0,class:!0});var Xe=s(P);K=M(Xe,"Confirm Password"),Xe.forEach(l),q=C(xe),V=i(xe,"INPUT",{name:!0,type:!0,class:!0}),xe.forEach(l),te=C(x),p=i(x,"DIV",{class:!0});var $e=s(p);k=i($e,"LABEL",{class:!0});var Be=s(k);W=i(Be,"INPUT",{type:!0,class:!0}),ne=C(Be),le=i(Be,"SPAN",{class:!0});var Ge=s(le);he=M(Ge,`I agree to the\r + `),G=i(Ge,"SPAN",{class:!0});var et=s(G);pe=M(et,"Terms of Service"),et.forEach(l),Ge.forEach(l),Be.forEach(l),$e.forEach(l),_e=C(x),Q.l(x),ie=C(x),J=i(x,"DIV",{class:!0});var tt=s(J);R=i(tt,"DIV",{class:!0});var re=s(R);me=i(re,"H1",{class:!0});var lt=s(me);Se=M(lt,"You are signing!"),lt.forEach(l),Te=C(re),Ve=i(re,"BR",{}),Ae=C(re),X.l(re),we=C(re),Ne=i(re,"BR",{}),Me=C(re),ae=i(re,"DIV",{class:!0});var Le=s(ae);ve=i(Le,"DIV",{class:!0});var rt=s(ve);ue=i(rt,"BUTTON",{class:!0});var st=s(ue);Ue=M(st,"CANCEL"),st.forEach(l),rt.forEach(l),Oe=C(Le),be=i(Le,"DIV",{class:!0});var at=s(be);ce=i(at,"BUTTON",{class:!0});var ot=s(ce);Re=M(ot,"Sign"),ot.forEach(l),at.forEach(l),Le.forEach(l),re.forEach(l),tt.forEach(l),He=C(x),oe=i(x,"DIV",{class:!0});var nt=s(oe);fe=i(nt,"DIV",{class:!0});var it=s(fe);$.l(it),it.forEach(l),nt.forEach(l),x.forEach(l),A.forEach(l),this.h()},h(){t(v,"d","M16.6185 2.99028C16.5024 2.87387 16.3645 2.78152 16.2126 2.7185C16.0608 2.65548 15.898 2.62305 15.7335 2.62305C15.5691 2.62305 15.4063 2.65548 15.2545 2.7185C15.1026 2.78152 14.9647 2.87387 14.8485 2.99028L6.53854 11.3003C6.44583 11.3928 6.37229 11.5027 6.32211 11.6237C6.27192 11.7446 6.24609 11.8743 6.24609 12.0053C6.24609 12.1362 6.27192 12.2659 6.32211 12.3869C6.37229 12.5079 6.44583 12.6178 6.53854 12.7103L14.8485 21.0203C15.3385 21.5103 16.1285 21.5103 16.6185 21.0203C17.1085 20.5303 17.1085 19.7403 16.6185 19.2503L9.37854 12.0003L16.6285 4.75028C17.1085 4.27028 17.1085 3.47028 16.6185 2.99028Z"),t(f,"width","24"),t(f,"height","24"),t(f,"viewBox","0 0 24 24"),t(f,"fill","none"),t(f,"xmlns","http://www.w3.org/2000/svg"),t(f,"class","fill-[#263238] dark:fill-[#11D9C5]"),t(c,"href","/Onboarding/import-old-wallet"),t(h,"class","text-xl font-bold text-center mt-12 mb-3"),t(L,"class",Y=`text-sm text-center mb-8 ${m[2]!==""?"text-red-500":""}`),t(T,"for","password"),t(T,"class","text-sm text-left mt-3 mb-1"),t(I,"name","password"),t(I,"type","password"),t(I,"class","secondary-input"),t(P,"for","confirmPassword"),t(P,"class","text-sm text-left mt-3 mb-1"),t(V,"name","confirmPassword"),t(V,"type","password"),t(V,"class","secondary-input"),t(W,"type","checkbox"),t(W,"class","checkbox checkbox-accent"),W.checked=m[4],t(G,"class","text-[#11D9C5]"),t(le,"class","text-sm dark:text-white"),t(k,"class","label justify-evenly cursor-pointer"),t(p,"class","form-control mt-16 mb-8"),t(me,"class","text-2xl text-center font-bold mb-2"),t(ue,"class","btn secondary-button"),t(ve,"class","grid flex-grow"),t(ce,"class","btn primary-button"),t(be,"class","grid flex-grow"),t(ae,"class","flex w-full mt-8 gap-4"),t(R,"class","modal-box py-16 dark:bg-[#222944] dark:text-white"),t(J,"class","modal"),Ie(J,"modal-open",m[3]),t(fe,"class","modal-box py-16 dark:bg-[#222944] dark:text-white"),t(oe,"class","modal"),Ie(oe,"modal-open",m[6]),t(a,"class","mt-6 mx-auto")},m(_,A){B(_,r,A),pt(o,r,null),e(r,u),e(r,a),e(a,c),e(c,f),e(f,v),e(a,g),e(a,h),e(h,U),e(a,w),e(a,L),e(L,H),e(a,O),e(a,S),e(S,T),e(T,E),e(S,z),e(S,I),Pe(I,m[0]),e(a,ee),e(a,d),e(a,y),e(a,F),e(F,P),e(P,K),e(F,q),e(F,V),Pe(V,m[1]),e(a,te),e(a,p),e(p,k),e(k,W),e(k,ne),e(k,le),e(le,he),e(le,G),e(G,pe),e(a,_e),Q.m(a,null),e(a,ie),e(a,J),e(J,R),e(R,me),e(me,Se),e(R,Te),e(R,Ve),e(R,Ae),X.m(R,null),e(R,we),e(R,Ne),e(R,Me),e(R,ae),e(ae,ve),e(ve,ue),e(ue,Ue),e(ae,Oe),e(ae,be),e(be,ce),e(ce,Re),e(a,He),e(a,oe),e(oe,fe),$.m(fe,null),se=!0,Ye||(Ze=[de(I,"input",m[9]),de(V,"input",m[10]),de(W,"change",m[11]),de(ue,"click",m[12]),de(ce,"click",m[8])],Ye=!0)},p(_,[A]){(!se||A&4)&&D!==(D=(_[2]!==""?_[2]:"You will use this to unlock your wallet")+"")&&Fe(H,D),(!se||A&4&&Y!==(Y=`text-sm text-center mb-8 ${_[2]!==""?"text-red-500":""}`))&&t(L,"class",Y),A&1&&I.value!==_[0]&&Pe(I,_[0]),A&2&&V.value!==_[1]&&Pe(V,_[1]),(!se||A&16)&&(W.checked=_[4]),Ee===(Ee=je(_))&&Q?Q.p(_,A):(Q.d(1),Q=Ee(_),Q&&(Q.c(),Q.m(a,ie))),ge===(ge=Ke(_))&&X?X.p(_,A):(X.d(1),X=ge(_),X&&(X.c(),X.m(R,we))),(!se||A&8)&&Ie(J,"modal-open",_[3]),ye===(ye=qe(_))&&$?$.p(_,A):($.d(1),$=ye(_),$&&($.c(),$.m(fe,null))),(!se||A&64)&&Ie(oe,"modal-open",_[6])},i(_){se||(_t(o.$$.fragment,_),se=!0)},o(_){mt(o.$$.fragment,_),se=!1},d(_){_&&l(r),vt(o),Q.d(),X.d(),$.d(),Ye=!1,bt(Ze)}}}function Vt(m,r,o){let u="",a="",c="",f,v=!1,g=!0,h,U=!1;async function w(){try{const E=await wt(h.payload);f=await Et(h.payload.flowId,E==null?void 0:E.signature,E==null?void 0:E.pubKey),await yt(u),xt.set(f.payload.token),o(3,v=!0)}catch{o(2,c="Something went wrong"),console.error(c)}}const L=async()=>{u===a&&u!==""&&u.length>=6&&g?(o(2,c=""),o(3,v=!0)):u.length<6?o(2,c="Password has to be at least 6 characters long"):g?o(2,c="Passwords are not matching"):o(2,c="You need to accept the terms and conditions"),o(5,h=await Ct())},D=async()=>{await w(),c.length<1&&kt.set(0),o(6,U=!0)};function H(){u=this.value,o(0,u)}function Y(){a=this.value,o(1,a)}return[u,a,c,v,g,h,U,L,D,H,Y,()=>o(4,g=!g),()=>o(3,v=!1),()=>{o(3,v=!1),o(6,U=!1)}]}class Ot extends ut{constructor(r){super(),ct(this,r,Vt,Tt,ft,{})}}export{Ot as component}; diff --git a/build/app/version.json b/build/app/version.json index f8c0e32d6..580496069 100644 --- a/build/app/version.json +++ b/build/app/version.json @@ -1 +1 @@ -{"version":"1701534461193"} \ No newline at end of file +{"version":"1704828299904"} \ No newline at end of file diff --git a/build/avatar.png b/build/avatar.png new file mode 100644 index 000000000..0b506d1ae Binary files /dev/null and b/build/avatar.png differ diff --git a/build/index.html b/build/index.html index 8659a3fa1..ba9b7df37 100644 --- a/build/index.html +++ b/build/index.html @@ -5,112 +5,97 @@ - - - - - - - - - - - - - + + + + + + + + + + + +
    -
    -
    +
    +
    +

    undefined

    - undefined +
    -
    -
    -

    Be the first to review this website

    -
    -
    - - -
    -
    -
    -
    +
    +
    +