UnisKB/static/admin/assets/index-CpcEXECF.js

23 lines
586 KiB
JavaScript
Raw Normal View History

import{eI as Bf,ge as KV,d4 as $V}from"./admin-BkqzSx7d.js";const E5="data:image/svg+xml,%3csvg%20width='19'%20height='18'%20viewBox='0%200%2019%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.875%208.625H9.125V3.375H3.875V8.625ZM3.125%201.875H9.875C10.2892%201.875%2010.625%202.21079%2010.625%202.625V9.375C10.625%209.78921%2010.2892%2010.125%209.875%2010.125H3.125C2.71079%2010.125%202.375%209.78921%202.375%209.375V2.625C2.375%202.21079%202.71079%201.875%203.125%201.875ZM5.375%204.875H7.625V7.125H5.375V4.875ZM3.875%2012.75V14.625H5.75V12.75H3.875ZM3.125%2011.25H6.5C6.91421%2011.25%207.25%2011.5858%207.25%2012V15.375C7.25%2015.7892%206.91421%2016.125%206.5%2016.125H3.125C2.71079%2016.125%202.375%2015.7892%202.375%2015.375V12C2.375%2011.5858%202.71079%2011.25%203.125%2011.25ZM13.25%203.375V5.25H15.125V3.375H13.25ZM12.5%201.875H15.875C16.2892%201.875%2016.625%202.21079%2016.625%202.625V6C16.625%206.41421%2016.2892%206.75%2015.875%206.75H12.5C12.0858%206.75%2011.75%206.41421%2011.75%206V2.625C11.75%202.21079%2012.0858%201.875%2012.5%201.875ZM13.25%2012.75V14.625H15.125V12.75H13.25ZM12.5%2011.25H15.875C16.2892%2011.25%2016.625%2011.5858%2016.625%2012V15.375C16.625%2015.7892%2016.2892%2016.125%2015.875%2016.125H12.5C12.0858%2016.125%2011.75%2015.7892%2011.75%2015.375V12C11.75%2011.5858%2012.0858%2011.25%2012.5%2011.25ZM8.75%2011.25H10.25V12.75H8.75V11.25ZM8.75%2013.875H10.25V16.125H8.75V13.875ZM11.75%208.25H13.25V9.75H11.75V8.25ZM14.375%208.25H16.625V9.75H14.375V8.25Z'%20fill='%231F2329'/%3e%3c/svg%3e",y5=(t,a,e)=>{const r=t[a];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((n,i)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(i.bind(null,new Error("Unknown variable dynamic import: "+a+(a.split("/").length!==e?". Note that variables only represent file names one level deep.":""))))})};var ba,Wf;function me(){return Wf||(Wf=1,ba={options:{usePureJavaScript:!1}}),ba}var Ia={exports:{}},Pa,Hf;function WV(){if(Hf)return Pa;Hf=1;var t={};Pa=t;var a={};t.encode=function(r,n,i){if(typeof n!="string")throw new TypeError('"alphabet" must be a string.');if(i!==void 0&&typeof i!="number")throw new TypeError('"maxline" must be a number.');var u="";if(!(r instanceof Uint8Array))u=e(r,n);else{var o=0,v=n.length,c=n.charAt(0),h=[0];for(o=0;o<r.length;++o){for(var E=0,g=r[o];E<h.length;++E)g+=h[E]<<8,h[E]=g%v,g=g/v|0;for(;g>0;)h.push(g%v),g=g/v|0}for(o=0;r[o]===0&&o<r.length-1;++o)u+=c;for(o=h.length-1;o>=0;--o)u+=n[h[o]]}if(i){var s=new RegExp(".{1,"+i+"}","g");u=u.match(s).join(`\r
`)}return u},t.decode=function(r,n){if(typeof r!="string")throw new TypeError('"input" must be a string.');if(typeof n!="string")throw new TypeError('"alphabet" must be a string.');var i=a[n];if(!i){i=a[n]=[];for(var u=0;u<n.length;++u)i[n.charCodeAt(u)]=u}r=r.replace(/\s/g,"");for(var o=n.length,v=n.charAt(0),c=[0],u=0;u<r.length;u++){var h=i[r.charCodeAt(u)];if(h===void 0)return;for(var E=0,g=h;E<c.length;++E)g+=c[E]*o,c[E]=g&255,g>>=8;for(;g>0;)c.push(g&255),g>>=8}for(var s=0;r[s]===v&&s<r.length-1;++s)c.push(0);return typeof Buffer<"u"?Buffer.from(c.reverse()):new Uint8Array(c.reverse())};function e(r,n){var i=0,u=n.length,o=n.charAt(0),v=[0];for(i=0;i<r.length();++i){for(var c=0,h=r.at(i);c<v.length;++c)h+=v[c]<<8,v[c]=h%u,h=h/u|0;for(;h>0;)v.push(h%u),h=h/u|0}var E="";for(i=0;r.at(i)===0&&i<r.length()-1;++i)E+=o;for(i=v.length-1;i>=0;--i)E+=n[v[i]];return E}return Pa}var Qf;function Ne(){if(Qf)return Ia.exports;Qf=1;var t=me(),a=WV(),e=Ia.exports=t.util=t.util||{};(function(){if(typeof process<"u"&&process.nextTick&&!process.browser){e.nextTick=process.nextTick,typeof setImmediate=="function"?e.setImmediate=setImmediate:e.setImmediate=e.nextTick;return}if(typeof setImmediate=="function"){e.setImmediate=function(){return setImmediate.apply(void 0,arguments)},e.nextTick=function(f){return setImmediate(f)};return}if(e.setImmediate=function(f){setTimeout(f,0)},typeof window<"u"&&typeof window.postMessage=="function"){let f=function(d){if(d.source===window&&d.data===l){d.stopPropagation();var M=C.slice();C.length=0,M.forEach(function(V){V()})}};var l="forge.setImmediate",C=[];e.setImmediate=function(d){C.push(d),C.length===1&&window.postMessage(l,"*")},window.addEventListener("message",f,!0)}if(typeof MutationObserver<"u"){var b=Date.now(),k=!0,B=document.createElement("div"),C=[];new MutationObserver(function(){var d=C.slice();C.length=0,d.forEach(function(M){M()})}).observe(B,{attributes:!0});var N=e.setImmediate;e.setImmediate=function(d){Date.now()-b>15?(b=Date.now(),N(d)):(C.push(d),C.length===1&&B.setAttribute("a",k=!k))}}e.nextTick=e.setImmediate})(),e.isNodejs=typeof process<"u"&&process.versions&&process.versions.node,e.globalScope=(function(){return e.isNodejs?Bf:typeof self>"u"?window:self})(),e.isArray=Array.isArray||function(l){return Object.prototype.toString.call(l)==="[object Array]"},e.isArrayBuffer=function(l){return typeof ArrayBuffer<"u"&&l instanceof ArrayBuffer},e.isArrayBufferView=function(l){return l&&e.isArrayBuffer(l.buffer)&&l.byteLength!==void 0};function r(l){if(!(l===8||l===16||l===24||l===32))throw new Error("Only 8, 16, 24, or 32 bits supported: "+l)}e.ByteBuffer=n;function n(l){if(this.data="",this.read=0,typeof l=="string")this.data=l;else if(e.isArrayBuffer(l)||e.isArrayBufferView(l))if(typeof Buffer<"u"&&l instanceof Buffer)this.data=l.toString("binary");else{var C=new Uint8Array(l);try{this.data=String.fromCharCode.apply(null,C)}catch{for(var b=0;b<C.length;++b)this.putByte(C[b])}}else(l instanceof n||typeof l=="object"&&typeof l.data=="string"&&typeof l.read=="number")&&(this.data=l.data,this.read=l.read);this._constructedStringLength=0}e.ByteStringBuffer=n;var i=4096;e.ByteStringBuffer.prototype._optimizeConstructedString=function(l){this._constructedStringLength+=l,this._constructedStringLength>i&&(this.data.substr(0,1),this._constructedStringLength=0)},e.ByteStringBuffer.prototype.length=function(){return this.data.length-this.read},e.ByteStringBuffer.prototype.isEmpty=function(){return this.length()<=0},e.ByteStringBuffer.prototype.putByte=function(l){return this.putBytes(String.fromCharCode(l))},e.ByteStringBuffer.prototype.fillWithByte=function(l,C){l=String.fromCharCode(l);for(var b=this.data;C>0;)C&1&&(b+=l),C>>>=1,C>0&&(l+=l);return this.data=b,this._optimizeConstructedString(C),this},e.ByteStringBuffer.prototype.putBytes=function(l){return this.data+=l,this._optimizeConstructedString(l.length),this},e.ByteStringBuffer.prototype.putString=function(l){return this.putBytes(e.encodeUtf8(l))},e.ByteStringBuffer.prototype.putInt16=function(l){return this.putBytes(String.fromCha
`,b=b.substr(C));return k+=b,k},e.decode64=function(l){l=l.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var C="",b,k,B,N,f=0;f<l.length;)b=v[l.charCodeAt(f++)-43],k=v[l.charCodeAt(f++)-43],B=v[l.charCodeAt(f++)-43],N=v[l.charCodeAt(f++)-43],C+=String.fromCharCode(b<<2|k>>4),B!==64&&(C+=String.fromCharCode((k&15)<<4|B>>2),N!==64&&(C+=String.fromCharCode((B&3)<<6|N)));return C},e.encodeUtf8=function(l){return unescape(encodeURIComponent(l))},e.decodeUtf8=function(l){return decodeURIComponent(escape(l))},e.binary={raw:{},hex:{},base64:{},base58:{},baseN:{encode:a.encode,decode:a.decode}},e.binary.raw.encode=function(l){return String.fromCharCode.apply(null,l)},e.binary.raw.decode=function(l,C,b){var k=C;k||(k=new Uint8Array(l.length)),b=b||0;for(var B=b,N=0;N<l.length;++N)k[B++]=l.charCodeAt(N);return C?B-b:k},e.binary.hex.encode=e.bytesToHex,e.binary.hex.decode=function(l,C,b){var k=C;k||(k=new Uint8Array(Math.ceil(l.length/2))),b=b||0;var B=0,N=b;for(l.length&1&&(B=1,k[N++]=parseInt(l[0],16));B<l.length;B+=2)k[N++]=parseInt(l.substr(B,2),16);return C?N-b:k},e.binary.base64.encode=function(l,C){for(var b="",k="",B,N,f,d=0;d<l.byteLength;)B=l[d++],N=l[d++],f=l[d++],b+=o.charAt(B>>2),b+=o.charAt((B&3)<<4|N>>4),isNaN(N)?b+="==":(b+=o.charAt((N&15)<<2|f>>6),b+=isNaN(f)?"=":o.charAt(f&63)),C&&b.length>C&&(k+=b.substr(0,C)+`\r
`,b=b.substr(C));return k+=b,k},e.binary.base64.decode=function(l,C,b){var k=C;k||(k=new Uint8Array(Math.ceil(l.length/4)*3)),l=l.replace(/[^A-Za-z0-9\+\/\=]/g,""),b=b||0;for(var B,N,f,d,M=0,V=b;M<l.length;)B=v[l.charCodeAt(M++)-43],N=v[l.charCodeAt(M++)-43],f=v[l.charCodeAt(M++)-43],d=v[l.charCodeAt(M++)-43],k[V++]=B<<2|N>>4,f!==64&&(k[V++]=(N&15)<<4|f>>2,d!==64&&(k[V++]=(f&3)<<6|d));return C?V-b:k.subarray(0,V)},e.binary.base58.encode=function(l,C){return e.binary.baseN.encode(l,c,C)},e.binary.base58.decode=function(l,C){return e.binary.baseN.decode(l,c,C)},e.text={utf8:{},utf16:{}},e.text.utf8.encode=function(l,C,b){l=e.encodeUtf8(l);var k=C;k||(k=new Uint8Array(l.length)),b=b||0;for(var B=b,N=0;N<l.length;++N)k[B++]=l.charCodeAt(N);return C?B-b:k},e.text.utf8.decode=function(l){return e.decodeUtf8(String.fromCharCode.apply(null,l))},e.text.utf16.encode=function(l,C,b){var k=C;k||(k=new Uint8Array(l.length*2));var B=new Uint16Array(k.buffer);b=b||0;for(var N=b,f=b,d=0;d<l.length;++d)B[f++]=l.charCodeAt(d),N+=2;return C?N-b:k},e.text.utf16.decode=function(l){return String.fromCharCode.apply(null,new Uint16Array(l.buffer))},e.deflate=function(l,C,b){if(C=e.decode64(l.deflate(e.encode64(C)).rval),b){var k=2,B=C.charCodeAt(1);B&32&&(k=6),C=C.substring(k,C.length-4)}return C},e.inflate=function(l,C,b){var k=l.inflate(e.encode64(C)).rval;return k===null?null:e.decode64(k)};var h=function(l,C,b){if(!l)throw new Error("WebStorage not available.");var k;if(b===null?k=l.removeItem(C):(b=e.encode64(JSON.stringify(b)),k=l.setItem(C,b)),typeof k<"u"&&k.rval!==!0){var B=new Error(k.error.message);throw B.id=k.error.id,B.name=k.error.name,B}},E=function(l,C){if(!l)throw new Error("WebStorage not available.");var b=l.getItem(C);if(l.init)if(b.rval===null){if(b.error){var k=new Error(b.error.message);throw k.id=b.error.id,k.name=b.error.name,k}b=null}else b=b.rval;return b!==null&&(b=JSON.parse(e.decode64(b))),b},g=function(l,C,b,k){var B=E(l,C);B===null&&(B={}),B[b]=k,h(l,C,B)},s=function(l,C,b){var k=E(l,C);return k!==null&&(k=b in k?k[b]:null),k},p=function(l,C,b){var k=E(l,C);if(k!==null&&b in k){delete k[b];var B=!0;for(var N in k){B=!1;break}B&&(k=null),h(l,C,k)}},m=function(l,C){h(l,C,null)},S=function(l,C,b){var k=null;typeof b>"u"&&(b=["web","flash"]);var B,N=!1,f=null;for(var d in b){B=b[d];try{if(B==="flash"||B==="both"){if(C[0]===null)throw new Error("Flash local storage not available.");k=l.apply(this,C),N=B==="flash"}(B==="web"||B==="both")&&(C[0]=localStorage,k=l.apply(this,C),N=!0)}catch(M){f=M}if(N)break}if(!N)throw f;return k};return e.setItem=function(l,C,b,k,B){S(g,arguments,B)},e.getItem=function(l,C,b,k){return S(s,arguments,k)},e.removeItem=function(l,C,b,k){S(p,arguments,k)},e.clearItems=function(l,C,b){S(m,arguments,b)},e.isEmpty=function(l){for(var C in l)if(l.hasOwnProperty(C))return!1;return!0},e.format=function(l){for(var C=/%./g,b,k,B=0,N=[],f=0;b=C.exec(l);){k=l.substring(f,C.lastIndex-2),k.length>0&&N.push(k),f=C.lastIndex;var d=b[0][1];switch(d){case"s":case"o":B<arguments.length?N.push(arguments[B+++1]):N.push("<?>");break;case"%":N.push("%");break;default:N.push("<%"+d+"?>")}}return N.push(l.substring(f)),N.join("")},e.formatNumber=function(l,C,b,k){var B=l,N=isNaN(C=Math.abs(C))?2:C,f=b===void 0?",":b,d=k===void 0?".":k,M=B<0?"-":"",V=parseInt(B=Math.abs(+B||0).toFixed(N),10)+"",q=V.length>3?V.length%3:0;return M+(q?V.substr(0,q)+d:"")+V.substr(q).replace(/(\d{3})(?=\d)/g,"$1"+d)+(N?f+Math.abs(B-V).toFixed(N).slice(2):"")},e.formatSize=function(l){return l>=1073741824?l=e.formatNumber(l/1073741824,2,".","")+" GiB":l>=1048576?l=e.formatNumber(l/1048576,2,".","")+" MiB":l>=1024?l=e.formatNumber(l/1024,0)+" KiB":l=e.formatNumber(l,0)+" bytes",l},e.bytesFromIP=function(l){return l.indexOf(".")!==-1?e.bytesFromIPv4(l):l.indexOf(":")!==-1?e.bytesFromIPv6(l):null},e.bytesFromIPv4=function(l){if(l=l.split("."),l.length!==4)return null;for(var C=e.createBuffer(),b=0;b<l.length;++b){var k=parseInt(l[b],10);if(isNaN(k))return null;C.putByte(k)}return C.getBytes()},e.bytesFromIPv6=function(l){var C=0;l=l.split
`);for(var h="",E=0;E<o*v;++E)h+=" ";switch(c+=h+"Tag: ",u.tagClass){case a.Class.UNIVERSAL:c+="Universal:";break;case a.Class.APPLICATION:c+="Application:";break;case a.Class.CONTEXT_SPECIFIC:c+="Context-Specific:";break;case a.Class.PRIVATE:c+="Private:";break}if(u.tagClass===a.Class.UNIVERSAL)switch(c+=u.type,u.type){case a.Type.NONE:c+=" (None)";break;case a.Type.BOOLEAN:c+=" (Boolean)";break;case a.Type.INTEGER:c+=" (Integer)";break;case a.Type.BITSTRING:c+=" (Bit string)";break;case a.Type.OCTETSTRING:c+=" (Octet string)";break;case a.Type.NULL:c+=" (Null)";break;case a.Type.OID:c+=" (Object Identifier)";break;case a.Type.ODESC:c+=" (Object Descriptor)";break;case a.Type.EXTERNAL:c+=" (External or Instance of)";break;case a.Type.REAL:c+=" (Real)";break;case a.Type.ENUMERATED:c+=" (Enumerated)";break;case a.Type.EMBEDDED:c+=" (Embedded PDV)";break;case a.Type.UTF8:c+=" (UTF8)";break;case a.Type.ROID:c+=" (Relative Object Identifier)";break;case a.Type.SEQUENCE:c+=" (Sequence)";break;case a.Type.SET:c+=" (Set)";break;case a.Type.PRINTABLESTRING:c+=" (Printable String)";break;case a.Type.IA5String:c+=" (IA5String (ASCII))";break;case a.Type.UTCTIME:c+=" (UTC time)";break;case a.Type.GENERALIZEDTIME:c+=" (Generalized time)";break;case a.Type.BMPSTRING:c+=" (BMP String)";break}else c+=u.type;if(c+=`
`,c+=h+"Constructed: "+u.constructed+`
`,u.composed){for(var g=0,s="",E=0;E<u.value.length;++E)u.value[E]!==void 0&&(g+=1,s+=a.prettyPrint(u.value[E],o+1,v),E+1<u.value.length&&(s+=","));c+=h+"Sub values: "+g+s}else{if(c+=h+"Value: ",u.type===a.Type.OID){var p=a.derToOid(u.value);c+=p,t.pki&&t.pki.oids&&p in t.pki.oids&&(c+=" ("+t.pki.oids[p]+") ")}if(u.type===a.Type.INTEGER)try{c+=a.derToInteger(u.value)}catch{c+="0x"+t.util.bytesToHex(u.value)}else if(u.type===a.Type.BITSTRING){if(u.value.length>1?c+="0x"+t.util.bytesToHex(u.value.slice(1)):c+="(none)",u.value.length>0){var m=u.value.charCodeAt(0);m==1?c+=" (1 unused bit shown)":m>1&&(c+=" ("+m+" unused bits shown)")}}else if(u.type===a.Type.OCTETSTRING)i.test(u.value)||(c+="("+u.value+") "),c+="0x"+t.util.bytesToHex(u.value);else if(u.type===a.Type.UTF8)try{c+=t.util.decodeUtf8(u.value)}catch(S){if(S.message==="URI malformed")c+="0x"+t.util.bytesToHex(u.value)+" (malformed UTF8)";else throw S}else u.type===a.Type.PRINTABLESTRING||u.type===a.Type.IA5String?c+=u.value:i.test(u.value)?c+="0x"+t.util.bytesToHex(u.value):u.value.length===0?c+="[null]":c+=u.value}return c},Ta.exports}var Ba={exports:{}},Ra,tv;function It(){if(tv)return Ra;tv=1;var t=me();return Ra=t.md=t.md||{},t.md.algorithms=t.md.algorithms||{},Ra}var rv;function Fr(){if(rv)return Ba.exports;rv=1;var t=me();It(),Ne();var a=Ba.exports=t.hmac=t.hmac||{};return a.create=function(){var e=null,r=null,n=null,i=null,u={};return u.start=function(o,v){if(o!==null)if(typeof o=="string")if(o=o.toLowerCase(),o in t.md.algorithms)r=t.md.algorithms[o].create();else throw new Error('Unknown hash algorithm "'+o+'"');else r=o;if(v===null)v=e;else{if(typeof v=="string")v=t.util.createBuffer(v);else if(t.util.isArray(v)){var c=v;v=t.util.createBuffer();for(var h=0;h<c.length;++h)v.putByte(c[h])}var E=v.length();E>r.blockLength&&(r.start(),r.update(v.bytes()),v=r.digest()),n=t.util.createBuffer(),i=t.util.createBuffer(),E=v.length();for(var h=0;h<E;++h){var c=v.at(h);n.putByte(54^c),i.putByte(92^c)}if(E<r.blockLength)for(var c=r.blockLength-E,h=0;h<c;++h)n.putByte(54),i.putByte(92);e=v,n=n.bytes(),i=i.bytes()}r.start(),r.update(n)},u.update=function(o){r.update(o)},u.getMac=function(){var o=r.digest().bytes();return r.start(),r.update(i),r.update(o),r.digest()},u.digest=u.getMac,u},Ba.exports}var wa={exports:{}},av;function Df(){if(av)return wa.exports;av=1;var t=me();It(),Ne();var a=wa.exports=t.md5=t.md5||{};t.md.md5=t.md.algorithms.md5=a,a.create=function(){u||o();var c=null,h=t.util.createBuffer(),E=new Array(16),g={algorithm:"md5",blockLength:64,digestLength:16,messageLength:0,fullMessageLength:null,messageLengthSize:8};return g.start=function(){g.messageLength=0,g.fullMessageLength=g.messageLength64=[];for(var s=g.messageLengthSize/4,p=0;p<s;++p)g.fullMessageLength.push(0);return h=t.util.createBuffer(),c={h0:1732584193,h1:4023233417,h2:2562383102,h3:271733878},g},g.start(),g.update=function(s,p){p==="utf8"&&(s=t.util.encodeUtf8(s));var m=s.length;g.messageLength+=m,m=[m/4294967296>>>0,m>>>0];for(var S=g.fullMessageLength.length-1;S>=0;--S)g.fullMessageLength[S]+=m[1],m[1]=m[0]+(g.fullMessageLength[S]/4294967296>>>0),g.fullMessageLength[S]=g.fullMessageLength[S]>>>0,m[0]=m[1]/4294967296>>>0;return h.putBytes(s),v(c,E,h),(h.read>2048||h.length()===0)&&h.compact(),g},g.digest=function(){var s=t.util.createBuffer();s.putBytes(h.bytes());var p=g.fullMessageLength[g.fullMessageLength.length-1]+g.messageLengthSize,m=p&g.blockLength-1;s.putBytes(e.substr(0,g.blockLength-m));for(var S,l=0,C=g.fullMessageLength.length-1;C>=0;--C)S=g.fullMessageLength[C]*8+l,l=S/4294967296>>>0,s.putInt32Le(S>>>0);var b={h0:c.h0,h1:c.h1,h2:c.h2,h3:c.h3};v(b,E,s);var k=t.util.createBuffer();return k.putInt32Le(b.h0),k.putInt32Le(b.h1),k.putInt32Le(b.h2),k.putInt32Le(b.h3),k},g};var e=null,r=null,n=null,i=null,u=!1;function o(){e="€",e+=t.util.fillString("\0",64),r=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,1,6,11,0,5,10,15,4,9,14,3,8,13,2,7,12,5,8,11,14,1,4,7,10,13,0,3,6,9,12,15,2,0,7,14,5,12,3,10,1,8,15,6,13,4,11,2,9],n=[7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,
`,o;if(n.procType&&(o={name:"Proc-Type",values:[String(n.procType.version),n.procType.type]},u+=e(o)),n.contentDomain&&(o={name:"Content-Domain",values:[n.contentDomain]},u+=e(o)),n.dekInfo&&(o={name:"DEK-Info",values:[n.dekInfo.algorithm]},n.dekInfo.parameters&&o.values.push(n.dekInfo.parameters),u+=e(o)),n.headers)for(var v=0;v<n.headers.length;++v)u+=e(n.headers[v]);return n.procType&&(u+=`\r
`),u+=t.util.encode64(n.body,i.maxline||64)+`\r
`,u+="-----END "+n.type+`-----\r
`,u},a.decode=function(n){for(var i=[],u=/\s*-----BEGIN ([A-Z0-9- ]+)-----\r?\n?([\x21-\x7e\s]+?(?:\r?\n\r?\n))?([:A-Za-z0-9+\/=\s]+?)-----END \1-----/g,o=/([\x21-\x7e]+):\s*([\x21-\x7e\s^:]+)/,v=/\r?\n/,c;c=u.exec(n),!!c;){var h=c[1];h==="NEW CERTIFICATE REQUEST"&&(h="CERTIFICATE REQUEST");var E={type:h,procType:null,contentDomain:null,dekInfo:null,headers:[],body:t.util.decode64(c[3])};if(i.push(E),!!c[2]){for(var g=c[2].split(v),s=0;c&&s<g.length;){for(var p=g[s].replace(/\s+$/,""),m=s+1;m<g.length;++m){var S=g[m];if(!/\s/.test(S[0]))break;p+=S,s=m}if(c=p.match(o),c){for(var l={name:c[1],values:[]},C=c[2].split(","),b=0;b<C.length;++b)l.values.push(r(C[b]));if(E.procType)if(!E.contentDomain&&l.name==="Content-Domain")E.contentDomain=C[0]||"";else if(!E.dekInfo&&l.name==="DEK-Info"){if(l.values.length===0)throw new Error('Invalid PEM formatted message. The "DEK-Info" header must have at least one subfield.');E.dekInfo={algorithm:C[0],parameters:C[1]||null}}else E.headers.push(l);else{if(l.name!=="Proc-Type")throw new Error('Invalid PEM formatted message. The first encapsulated header must be "Proc-Type".');if(l.values.length!==2)throw new Error('Invalid PEM formatted message. The "Proc-Type" header must have two subfields.');E.procType={version:C[0],type:C[1]}}}++s}if(E.procType==="ENCRYPTED"&&!E.dekInfo)throw new Error('Invalid PEM formatted message. The "DEK-Info" header must be present if "Proc-Type" is "ENCRYPTED".')}}if(i.length===0)throw new Error("Invalid PEM formatted message.");return i};function e(n){for(var i=n.name+": ",u=[],o=function(g,s){return" "+s},v=0;v<n.values.length;++v)u.push(n.values[v].replace(/^(\S+\r\n)/,o));i+=u.join(",")+`\r
`;for(var c=0,h=-1,v=0;v<i.length;++v,++c)if(c>65&&h!==-1){var E=i[h];E===","?(++h,i=i.substr(0,h)+`\r
`+i.substr(h)):i=i.substr(0,h)+`\r
`+E+i.substr(h+1),c=v-h-1,h=-1,++v}else(i[v]===" "||i[v]===" "||i[v]===",")&&(h=v);return i}function r(n){return n.replace(/^\s+/,"")}return Da.exports}var Oa={exports:{}},La,iv;function ua(){if(iv)return La;iv=1;var t=me();wf(),OI(),Ne(),La=t.des=t.des||{},t.des.startEncrypting=function(s,p,m,S){var l=g({key:s,output:m,decrypt:!1,mode:S||(p===null?"ECB":"CBC")});return l.start(p),l},t.des.createEncryptionCipher=function(s,p){return g({key:s,output:null,decrypt:!1,mode:p})},t.des.startDecrypting=function(s,p,m,S){var l=g({key:s,output:m,decrypt:!0,mode:S||(p===null?"ECB":"CBC")});return l.start(p),l},t.des.createDecryptionCipher=function(s,p){return g({key:s,output:null,decrypt:!0,mode:p})},t.des.Algorithm=function(s,p){var m=this;m.name=s,m.mode=new p({blockSize:8,cipher:{encrypt:function(S,l){return E(m._keys,S,l,!1)},decrypt:function(S,l){return E(m._keys,S,l,!0)}}}),m._init=!1},t.des.Algorithm.prototype.initialize=function(s){if(!this._init){var p=t.util.createBuffer(s.key);if(this.name.indexOf("3DES")===0&&p.length()!==24)throw new Error("Invalid Triple-DES key size: "+p.length()*8);this._keys=h(p),this._init=!0}},a("DES-ECB",t.cipher.modes.ecb),a("DES-CBC",t.cipher.modes.cbc),a("DES-CFB",t.cipher.modes.cfb),a("DES-OFB",t.cipher.modes.ofb),a("DES-CTR",t.cipher.modes.ctr),a("3DES-ECB",t.cipher.modes.ecb),a("3DES-CBC",t.cipher.modes.cbc),a("3DES-CFB",t.cipher.modes.cfb),a("3DES-OFB",t.cipher.modes.ofb),a("3DES-CTR",t.cipher.modes.ctr);function a(s,p){var m=function(){return new t.des.Algorithm(s,p)};t.cipher.registerAlgorithm(s,m)}var e=[16843776,0,65536,16843780,16842756,66564,4,65536,1024,16843776,16843780,1024,16778244,16842756,16777216,4,1028,16778240,16778240,66560,66560,16842752,16842752,16778244,65540,16777220,16777220,65540,0,1028,66564,16777216,65536,16843780,4,16842752,16843776,16777216,16777216,1024,16842756,65536,66560,16777220,1024,4,16778244,66564,16843780,65540,16842752,16778244,16777220,1028,66564,16843776,1028,16778240,16778240,0,65540,66560,0,16842756],r=[-2146402272,-2147450880,32768,1081376,1048576,32,-2146435040,-2147450848,-2147483616,-2146402272,-2146402304,-2147483648,-2147450880,1048576,32,-2146435040,1081344,1048608,-2147450848,0,-2147483648,32768,1081376,-2146435072,1048608,-2147483616,0,1081344,32800,-2146402304,-2146435072,32800,0,1081376,-2146435040,1048576,-2147450848,-2146435072,-2146402304,32768,-2146435072,-2147450880,32,-2146402272,1081376,32,32768,-2147483648,32800,-2146402304,1048576,-2147483616,1048608,-2147450848,-2147483616,1048608,1081344,0,-2147450880,32800,-2147483648,-2146435040,-2146402272,1081344],n=[520,134349312,0,134348808,134218240,0,131592,134218240,131080,134217736,134217736,131072,134349320,131080,134348800,520,134217728,8,134349312,512,131584,134348800,134348808,131592,134218248,131584,131072,134218248,8,134349320,512,134217728,134349312,134217728,131080,520,131072,134349312,134218240,0,512,131080,134349320,134218240,134217736,512,0,134348808,134218248,131072,134217728,134349320,8,131592,131584,134217736,134348800,134218248,520,134348800,131592,8,134348808,131584],i=[8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928],u=[256,34078976,34078720,1107296512,524288,256,1073741824,34078720,1074266368,524288,33554688,1074266368,1107296512,1107820544,524544,1073741824,33554432,1074266112,1074266112,0,1073742080,1107820800,1107820800,33554688,1107820544,1073742080,0,1107296256,34078976,33554432,1107296256,524544,524288,1107296512,256,33554432,1073741824,34078720,1107296512,1074266368,33554688,1073741824,1107820544,34078976,1074266368,256,33554432,1107820544,1107820800,524544,1107296256,1107820800,34078720,0,1074266112,1107296256,524544,33554688,1073742080,524288,0,1074266112,34078976,1073742080],o=[536870928,541065216,16384,541081616,541065216,16
`;h+="Encryption: "+c+`\r
`,h+="Comment: "+o+`\r
`;var E=t.util.createBuffer();r(E,v),e(E,i.e),e(E,i.n);var g=t.util.encode64(E.bytes(),64),s=Math.floor(g.length/66)+1;h+="Public-Lines: "+s+`\r
`,h+=g;var p=t.util.createBuffer();e(p,i.d),e(p,i.p),e(p,i.q),e(p,i.qInv);var m;if(!u)m=t.util.encode64(p.bytes(),64);else{var S=p.length()+16-1;S-=S%16;var l=n(p.bytes());l.truncate(l.length()-S+p.length()),p.putBuffer(l);var C=t.util.createBuffer();C.putBuffer(n("\0\0\0\0",u)),C.putBuffer(n("\0\0\0",u));var b=t.aes.createEncryptionCipher(C.truncate(8),"CBC");b.start(t.util.createBuffer().fillWithByte(0,16)),b.update(p.copy()),b.finish();var k=b.output;k.truncate(16),m=t.util.encode64(k.bytes(),64)}s=Math.floor(m.length/66)+1,h+=`\r
Private-Lines: `+s+`\r
`,h+=m;var B=n("putty-private-key-file-mac-key",u),N=t.util.createBuffer();r(N,v),r(N,c),r(N,o),N.putInt32(E.length()),N.putBuffer(E),N.putInt32(p.length()),N.putBuffer(p);var f=t.hmac.create();return f.start("sha1",B),f.update(N.bytes()),h+=`\r
Private-MAC: `+f.digest().toHex()+`\r
`,h},a.publicKeyToOpenSSH=function(i,u){var o="ssh-rsa";u=u||"";var v=t.util.createBuffer();return r(v,o),e(v,i.e),e(v,i.n),o+" "+t.util.encode64(v.bytes())+" "+u},a.privateKeyToOpenSSH=function(i,u){return u?t.pki.encryptRsaPrivateKey(i,u,{legacy:!0,algorithm:"aes128"}):t.pki.privateKeyToPem(i)},a.getPublicKeyFingerprint=function(i,u){u=u||{};var o=u.md||t.md.md5.create(),v="ssh-rsa",c=t.util.createBuffer();r(c,v),e(c,i.e),e(c,i.n),o.start(),o.update(c.getBytes());var h=o.digest();if(u.encoding==="hex"){var E=h.toHex();return u.delimiter?E.match(/.{2}/g).join(u.delimiter):E}else{if(u.encoding==="binary")return h.getBytes();if(u.encoding)throw new Error('Unknown encoding "'+u.encoding+'".')}return h};function e(i,u){var o=u.toString(16);o[0]>="8"&&(o="00"+o);var v=t.util.hexToBytes(o);i.putInt32(v.length),i.putBytes(v)}function r(i,u){i.putInt32(u.length),i.putString(u)}function n(){for(var i=t.md.sha1.create(),u=arguments.length,o=0;o<u;++o)i.update(arguments[o]);return i.digest()}return sn.exports}var dn,Rv;function iB(){return Rv||(Rv=1,dn=me(),xt(),XV(),Nt(),wf(),ua(),ZV(),Fr(),eB(),tB(),rB(),KI(),Lf(),rr(),jI(),$I(),aB(),WI(),xI(),qI(),qf(),Et(),FI(),nB(),HI(),Ne()),dn}var oB=iB();const N5=$V(oB);var cn={exports:{}},ln={},fn={},fr={},vn={},wv;function jf(){return wv||(wv=1,(function(t){function a(r){return typeof r=="function"}function e(r,n){function i(c){return parseInt(c,10)||0}for(var u=r.split(".").map(i),o=n.split(".").map(i),v=0;v<u.length;v++){if(o[v]===void 0||u[v]<o[v])return!1;if(u[v]>o[v])return!0}return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevel=t.APP_TYPE=t.ENV_ENUM_SUB=t.ENV_ENUM=t.ERROR_CODE=t.compareVersion=t.isFunction=void 0,t.isFunction=a,t.compareVersion=e,(function(r){r.cancel="-1",r.not_exist="1",r.no_permission="7"})(t.ERROR_CODE||(t.ERROR_CODE={})),(function(r){r.pc="pc",r.android="android",r.ios="ios",r.gdtPc="gdtPc",r.gdtAndroid="gdtAndroid",r.gdtIos="gdtIos",r.gdtStandardAndroid="gdtStandardAndroid",r.gdtStandardIos="gdtStandardIos",r.notInDingTalk="notInDingTalk",r.windows="windows",r.mac="mac",r.harmony="harmony"})(t.ENV_ENUM||(t.ENV_ENUM={})),(function(r){r.mac="mac",r.win="win",r.noSub="noSub"})(t.ENV_ENUM_SUB||(t.ENV_ENUM_SUB={})),(function(r){r.WEB="WEB",r.MINI_APP="MINI_APP",r.WEEX="WEEX",r.WEBVIEW_IN_MINIAPP="WEBVIEW_IN_MINIAPP",r.WEEX_WIDGET="WEEX_WIDGET"})(t.APP_TYPE||(t.APP_TYPE={})),(function(r){r[r.INFO=1]="INFO",r[r.WARNING=2]="WARNING",r[r.ERROR=3]="ERROR"})(t.LogLevel||(t.LogLevel={}))})(vn)),vn}var Bt={},Rt={},Dv;function uB(){return Dv||(Dv=1,(function(t){function a(n){return e(this,void 0,void 0,function(){var i,u,o,v;return r(this,function(c){return i=n.invokeName,u=n.method,o=n.callParams,v=n.JSBridge,v?[2,v(i||u,o)]:[2,this.bridgeInitFn().then(function(h){return h(i||u,o)})]})})}var e=Rt&&Rt.__awaiter||function(n,i,u,o){function v(c){return c instanceof u?c:new u(function(h){h(c)})}return new(u||(u=Promise))(function(c,h){function E(p){try{s(o.next(p))}catch(m){h(m)}}function g(p){try{s(o.throw(p))}catch(m){h(m)}}function s(p){p.done?c(p.value):v(p.value).then(E,g)}s((o=o.apply(n,i||[])).next())})},r=Rt&&Rt.__generator||function(n,i){function u(s){return function(p){return o([s,p])}}function o(s){if(v)throw new TypeError("Generator is already executing.");for(;g;)try{if(v=1,c&&(h=2&s[0]?c.return:s[0]?c.throw||((h=c.return)&&h.call(c),0):c.next)&&!(h=h.call(c,s[1])).done)return h;switch(c=0,h&&(s=[2&s[0],h.value]),s[0]){case 0:case 1:h=s;break;case 4:return g.label++,{value:s[1],done:!1};case 5:g.label++,c=s[1],s=[0];continue;case 7:s=g.ops.pop(),g.trys.pop();continue;default:if(h=g.trys,!(h=h.length>0&&h[h.length-1])&&(s[0]===6||s[0]===2)){g=0;continue}if(s[0]===3&&(!h||s[1]>h[0]&&s[1]<h[3])){g.label=s[1];break}if(s[0]===6&&g.label<h[1]){g.label=h[1],h=s;break}if(h&&g.label<h[2]){g.label=h[2],g.ops.push(s);break}h[2]&&g.ops.pop(),g.trys.pop();continue}s=i.call(n,g)}catch(p){s=[6,p],c=0}finally{v=h=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}var v,c,h,E,g={label:0,sent:function(){if(1&h[0])throw h[1];return h[1]},trys:[],ops:[]};r