🔧:build SSR dist and deploy

This commit is contained in:
NEO 2024-04-28 00:48:29 +08:00
parent 76c26901d7
commit c59ad6aedb
465 changed files with 214127 additions and 2 deletions

View file

@ -0,0 +1 @@
function u(e,{makeUrlSafe:t=!1}={}){const r=window.btoa(e);return t?c(r):r}function s(e,{makeUrlSafe:t=!1}={}){if(!i(e,{makeUrlSafe:t}))throw new Error("Incorrect base64 string");let r=n(e);t&&(r=a(r));try{return window.atob(r)}catch{throw new Error("Incorrect base64 string")}}function n(e){return e.replace(/^data:.*?;base64,/,"")}function i(e,{makeUrlSafe:t=!1}={}){let r=n(e);t&&(r=a(r));try{return t?l(window.btoa(window.atob(r)))===r:window.btoa(window.atob(r))===r}catch{return!1}}function c(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function a(e){return e.replace(/-/g,"+").replace(/_/g,"/").replace(/[^A-Za-z0-9+/]/g,"")}function l(e){return e.replace(/=/g,"")}export{s as b,i,u as t};