mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-12 00:51:33 -04:00
🔧:build SSR dist and deploy
This commit is contained in:
parent
76c26901d7
commit
c59ad6aedb
465 changed files with 214127 additions and 2 deletions
1
dist/client/assets/chunks/chunk-81b950ae.js
vendored
Normal file
1
dist/client/assets/chunks/chunk-81b950ae.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
function d({value:s,fromBase:r,toBase:n}){const t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ+/".split(""),i=t.slice(0,r),u=t.slice(0,n);let e=s.split("").reverse().reduce((o,l,a)=>{if(!i.includes(l))throw new Error(`Invalid digit "${l}" for base ${r}.`);return o+=i.indexOf(l)*r**a},0),c="";for(;e>0;)c=u[e%n]+c,e=(e-e%n)/n;return c||"0"}export{d as c};
|
Loading…
Add table
Add a link
Reference in a new issue