2 lines
7.0 KiB
JavaScript
2 lines
7.0 KiB
JavaScript
|
|
import{_ as ne}from"./notData-cf10628e.js";import{d as le,r as ae,b as re,a4 as se,c as f,e as g,f as S,h as i,i as d,g as m,l as E,t as U,x as ie,F as ue,j as de,k as T,p as ce,q as fe,s as pe,_ as me}from"./index-ccab2584.js";const R="3.7.5",_e=R,be=typeof atob=="function",xe=typeof btoa=="function",b=typeof Buffer=="function",w=typeof TextDecoder=="function"?new TextDecoder:void 0,I=typeof TextEncoder=="function"?new TextEncoder:void 0,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",x=Array.prototype.slice.call(he),A=(e=>{let t={};return e.forEach((o,a)=>t[o]=a),t})(x),ye=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,l=String.fromCharCode.bind(String),N=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),z=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_"),O=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),P=e=>{let t,o,a,c,r="";const n=e.length%3;for(let s=0;s<e.length;){if((o=e.charCodeAt(s++))>255||(a=e.charCodeAt(s++))>255||(c=e.charCodeAt(s++))>255)throw new TypeError("invalid character found");t=o<<16|a<<8|c,r+=x[t>>18&63]+x[t>>12&63]+x[t>>6&63]+x[t&63]}return n?r.slice(0,n-3)+"===".substring(n):r},F=xe?e=>btoa(e):b?e=>Buffer.from(e,"binary").toString("base64"):P,v=b?e=>Buffer.from(e).toString("base64"):e=>{let o=[];for(let a=0,c=e.length;a<c;a+=4096)o.push(l.apply(null,e.subarray(a,a+4096)));return F(o.join(""))},B=(e,t=!1)=>t?z(v(e)):v(e),ge=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?l(192|t>>>6)+l(128|t&63):l(224|t>>>12&15)+l(128|t>>>6&63)+l(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return l(240|t>>>18&7)+l(128|t>>>12&63)+l(128|t>>>6&63)+l(128|t&63)}},Ae=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,j=e=>e.replace(Ae,ge),k=b?e=>Buffer.from(e,"utf8").toString("base64"):I?e=>v(I.encode(e)):e=>F(j(e)),_=(e,t=!1)=>t?z(k(e)):k(e),L=e=>_(e,!0),Be=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Ue=e=>{switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),o=t-65536;return l((o>>>10)+55296)+l((o&1023)+56320);case 3:return l((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return l((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},Z=e=>e.replace(Be,Ue),$=e=>{if(e=e.replace(/\s+/g,""),!ye.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(e.length&3));let t,o="",a,c;for(let r=0;r<e.length;)t=A[e.charAt(r++)]<<18|A[e.charAt(r++)]<<12|(a=A[e.charAt(r++)])<<6|(c=A[e.charAt(r++)]),o+=a===64?l(t>>16&255):c===64?l(t>>16&255,t>>8&255):l(t>>16&255,t>>8&255,t&255);return o},V=be?e=>atob(O(e)):b?e=>Buffer.from(e,"base64").toString("binary"):$,M=b?e=>N(Buffer.from(e,"base64")):e=>N(V(e).split("").map(t=>t.charCodeAt(0))),q=e=>M(G(e)),ve=b?e=>Buffer.from(e,"base64").toString("utf8"):w?e=>w.decode(M(e)):e=>Z(V(e)),G=e=>O(e.replace(/[-_]/g,t=>t=="-"?"+":"/")),C=e=>ve(G(e)),Ce=e=>{if(typeof e!="string")return!1;const t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},H=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),J=function(){const e=(t,o)=>Object.defineProperty(String.prototype,t,H(o));e("fromBase64",function(){return C(this)}),e("toBase64",function(t){return _(this,t)}),e("toBase64URI",function(){return _(this,!0)}),e("toBase64URL",function(){return _(this,!0)}),e("toUint8Array",function(){return q(this)})},K=function(){const e=(t,o)=>Object.defineProperty(Uint8Array.prototype,t,H(o));e("toBase64",function(t){return B(this,t)}),e("toBase64URI",function(){return B(this,!0)}),e("toBase64URL",function(){return B(this,!0)})},Fe=()=>{J(),K()},Ve={version:R,VERSION:_e,atob:V,atobPolyfill:$,btoa:F,btoaPolyfill:P,fromBase64:C,toBase64:_,encode:_,encodeURI:L,encodeURL:L,utob:j,btou:Z,decode:C,isValid:Ce,fromUint8Array:B,toUint8Array:q,extendString:J,extendUint8Array:K,extendBuiltins:Fe},Q=e=>(fe("data-v-dd02b3df"),e=e(),pe(),e),De={class:"unit-table"},Se={class:"pos
|