useblocks 1.0.38 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/asset-manifest.json +16 -14
- package/iframe/{iframe-eblock.1c550d2d51c8aa34c0f7.html → iframe-eblock.abf1003d4f1205b1e590.html} +1 -1
- package/iframe/{iframe.1c550d2d51c8aa34c0f7.html → iframe.abf1003d4f1205b1e590.html} +1 -1
- package/iframe/js/cssbeautify.js +1 -1
- package/iframe/sandbox-eblock.js +1 -1
- package/iframe/sandbox.js +1 -1
- package/package.json +1 -1
- package/plugin.html +1 -1
- package/plugin_blocks_test.html +1 -1
- package/plugin_default.html +1 -1
- package/plugin_s.html +1 -1
- package/static/js/18.7612e8fc.js +1 -0
- package/static/js/{5552.9a1ecb3a.js → 2223.3c8e88e5.js} +1 -1
- package/static/js/{2299.482ca659.chunk.js → 2299.811cc35c.chunk.js} +1 -1
- package/static/js/3920.9bc9bb1d.js +2 -0
- package/static/js/{5571.7d0ffb96.js → 5571.6883ad3d.js} +1 -1
- package/static/js/8027.822d330c.js +2 -0
- package/static/js/8027.822d330c.js.LICENSE.txt +5 -0
- package/static/js/{9632.552a6f52.js → 8903.bf7d5382.js} +1 -1
- package/static/js/{useblocks_core.8bef6d83.js → useblocks_core.38c4bb89.js} +1 -1
- package/translations.pot +4 -4
- package/useblocks-esm.js +1 -1
- package/useblocks.js +1 -1
- package/static/js/18.66c5ac62.js +0 -1
- package/static/js/9560.50289051.js +0 -2
- /package/static/css/{5552.3b54559d.css → 2223.3b54559d.css} +0 -0
- /package/static/js/{9560.50289051.js.LICENSE.txt → 3920.9bc9bb1d.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 3920.9bc9bb1d.js.LICENSE.txt */
|
|
2
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[3920],{95689:(e,t,r)=>{r.d(t,{A:()=>n});const n=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}},10351:(e,t,r)=>{r.d(t,{A:()=>o});var n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const o=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}((function(e){return n.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},23093:(e,t,r)=>{r.d(t,{A:()=>n});const n={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},81158:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{bZ:()=>read});var js_base64__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(62813),text_encoding__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(18830),text_encoding__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(text_encoding__WEBPACK_IMPORTED_MODULE_1__),encode=function(e,t){return void 0===t&&(t="utf-8"),new text_encoding__WEBPACK_IMPORTED_MODULE_1__.TextEncoder(t).encode(e)},arr2str=function(e){for(var t=[],r=0;r<e.length;r+=32768)t.push(String.fromCharCode.apply(null,e.subarray(r,r+32768)));return t.join("")};function decode(e,t){void 0===t&&(t="utf-8");for(var r=0,n=[{charset:normalizeCharset(t),fatal:!1},{charset:"utf-8",fatal:!0},{charset:"iso-8859-15",fatal:!1}];r<n.length;r++){var o=n[r],a=o.charset,i=o.fatal;try{return new text_encoding__WEBPACK_IMPORTED_MODULE_1__.TextDecoder(a,{fatal:i}).decode(e)}catch(s){}}return arr2str(e)}var convert=function(e,t){return encode("string"===typeof e?e:decode(e,t))};function normalizeCharset(e){var t;return void 0===e&&(e="utf-8"),(t=e.match(/^utf[-_]?(\d+)$/i))?"UTF-"+t[1]:(t=e.match(/^win[-_]?(\d+)$/i))?"WINDOWS-"+t[1]:(t=e.match(/^latin[-_]?(\d+)$/i))?"ISO-8859-"+t[1]:e}function getCharsetName(e){return e.toLowerCase().replace(/[^0-9a-z]/g,"")}function guid(){return"xxxxxxxxxxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})).replace("-","")}function wrap(e,t){var r=[];do{r.push(e.substring(0,t))}while(""!=(e=e.substring(t,e.length)));return r.join("\r\n")}function mimeDecode(e,t){void 0===e&&(e=""),void 0===t&&(t="UTF-8");for(var r=(e.match(/=[\da-fA-F]{2}/g)||[]).length,n=new Uint8Array(e.length-2*r),o=0,a=e.length,i=0;o<a;o++){var s=e.substr(o+1,2),l=e.charAt(o);"="===l&&s&&/[\da-fA-F]{2}/.test(s)?(n[i++]=parseInt(s,16),o+=2):n[i++]=l.charCodeAt(0)}return decode(n,t)}var GB2312UTF8={Dig2Dec:function(s){var retV=0;if(4==s.length){for(var i=0;i<4;i++)retV+=eval(s.charAt(i))*Math.pow(2,3-i);return retV}return-1},Hex2Utf8:function(s){var retS="",tempS="",ss="";if(16==s.length){tempS="1110"+s.substring(0,4),tempS+="10"+s.substring(4,10),tempS+="10"+s.substring(10,16);for(var sss="0123456789ABCDEF",i=0;i<3;i++)retS+="%",ss=tempS.substring(8*i,8*(eval(i.toString())+1)),retS+=sss.charAt(this.Dig2Dec(ss.substring(0,4))),retS+=sss.charAt(this.Dig2Dec(ss.substring(4,8)));return retS}return""},Dec2Dig:function(e){for(var t="",r=0,n=0;n<4;n++)e>=(r=Math.pow(2,3-n))?(t+="1",e-=r):t+="0";return t},Str2Hex:function(s){for(var c="",n,ss="0123456789ABCDEF",digS="",i=0;i<s.length;i++)c=s.charAt(i),n=ss.indexOf(c),digS+=this.Dec2Dig(eval(n.toString()));return digS},GB2312ToUTF8:function(e){var t=escape(e).split("%"),r="";""!=t[0]&&(r=t[0]);for(var n=1;n<t.length;n++)"u"==t[n].substring(0,1)?(r+=this.Hex2Utf8(this.Str2Hex(t[n].substring(1,5))),t[n].length&&(r+=t[n].substring(5))):(r+=unescape("%"+t[n]),t[n].length&&(r+=t[n].substring(5)));return r},UTF8ToGB2312:function(e){var t="",r="",n="",o="",a=-1;if(-1==(a=e.indexOf("%")))return e;for(;-1!=a;){if(a<3)if(t+=e.substr(0,a-1),r=(e=e.substr(a+1,e.length-a)).substr(0,2),e=e.substr(2,e.length-2),0===(128&parseInt("0x"+r)))t+=String.fromCharCode(parseInt("0x"+r));else if(192===(224&parseInt("0x"+r))){n=e.substr(1,2),e=e.substr(3,e.length-3);var i=(31&parseInt("0x"+r))<<6;i|=63&parseInt("0x"+n),t+=String.fromCharCode(i)}else{n=e.substr(1,2),o=(e=e.substr(3,e.length-3)).substr(1,2),e=e.substr(3,e.length-3);i=(15&parseInt("0x"+r))<<12;i|=(63&parseInt("0x"+n))<<6,i|=63&parseInt("0x"+o),t+=String.fromCharCode(i)}else t+=e.substring(0,a),e=e.substring(a);a=e.indexOf("%")}return t+e}},verbose=!1,defaultCharset="utf-8";function createBoundary(){return"----="+guid()}function toEmailAddress(e){var t="";return"undefined"===typeof e||("string"===typeof e?t=e:"object"===typeof e&&(Array.isArray(e)?t+=e.map((function(e){var t="";return e.name&&(t+='"'+e.name.replace(/^"|"\s*$/g,"")+'" '),e.email&&(t+="<"+e.email+">"),t})).filter((function(e){return e})).join(", "):e&&(e.name&&(t+='"'+e.name.replace(/^"|"\s*$/g,"")+'" '),e.email&&(t+="<"+e.email+">")))),t}function getBoundary(e){var t=/boundary="?(.+?)"?(\s*;[\s\S]*)?$/g.exec(e);return t?t[1]:void 0}function getCharset(e){var t=/charset\s*=\W*([\w\-]+)/g.exec(e);return t?t[1]:void 0}function getEmailAddress(e){var t=[],r=e.match(/('[^']*')|[^,]+/g);if(!r)return t;for(var n=0;n<r.length;n++){var o={name:"",email:""},a=unquoteString(r[n]);/^'.*'$/g.test(a)&&(o.name=a.replace(/'/g,"").trim(),n++);var i=/^(.*?)(\s*\<(.*?)\>)$/g.exec(a);if(i){var s=i[1].replace(/'/g,"").trim();s&&s.length&&(o.name=s),o.email=i[3].trim(),t.push(o)}else o.email=a.trim(),t.push(o)}return 0===t.length?null:1===t.length?t[0]:t}function decodeJoint(e){var t=/=\?([^?]+)\?(B|Q)\?(.+?)(\?=)/gi.exec(e);if(t){var r=getCharsetName(t[1]||defaultCharset),n=t[2].toUpperCase(),o=t[3];if("B"===n)return"utf8"===r?decode(encode(js_base64__WEBPACK_IMPORTED_MODULE_0__.o4.fromBase64(o.replace(/\r?\n/g,""))),"utf8"):decode(js_base64__WEBPACK_IMPORTED_MODULE_0__.o4.toUint8Array(o.replace(/\r?\n/g,"")),r);if("Q"===n)return unquotePrintable(o,r,!0)}return e}function unquoteString(e){var t=e||"",r=t.match(/=\?([^?]+)\?(B|Q)\?(.+?)(\?=)/gi);return r&&r.forEach((function(e){t=t.replace(e,decodeJoint(e))})),t.replace(/\r?\n/g,"")}function unquotePrintable(e,t,r){void 0===r&&(r=!1);var n=e.replace(/[\t ]+$/gm,"").replace(/=(?:\r?\n|$)/g,"");return r&&(n=n.replace(/_/g,decode(new Uint8Array([32]),t))),mimeDecode(n,t)}function parse(e,t,r){var n;"function"===typeof t&&"undefined"===typeof r&&(r=t,t=null),"object"!==typeof t&&(t={headersOnly:!1});var o={};try{if("string"!==typeof e)throw new Error('Argument "eml" expected to be string!');o=parseRecursive(e.split(/\r?\n/),0,o,t)}catch(a){n=a}return r&&r(n,o),n||o||new Error("read EML failed!")}function parseRecursive(e,t,r,n){var o,a,i,s=null,l="",d="",u=!1,c=!1,f=!1,p=!1;function h(e){e.part={},parseRecursive(e.lines,0,e.part,n),delete e.lines}r.headers={};for(var g=t;g<e.length;g++){var y=e[g];if(u){if(!p){r.body=e.splice(g).join("\r\n");break}if(0==y.indexOf("--"+d)&&!/\-\-(\r?\n)?$/g.test(y)){c=!0,s&&s.lines&&h(s),s={boundary:(b=/^\-\-([^\r\n]+)(\r?\n)?$/g.exec(y))[1],lines:[]},r.body.push(s);continue}if(c){if((null===(o=s)||void 0===o?void 0:o.boundary)&&""==e[g-1]&&0==y.indexOf("--"+d+"--")){c=!1,h(s);continue}if((null===(a=s)||void 0===a?void 0:a.boundary)&&0==y.indexOf("--"+d+"--"))continue;null===(i=s)||void 0===i||i.lines.push(y)}}else{if(""==y){if(u=!0,n&&n.headersOnly)break;var m=r.headers["Content-Type"];if(m&&/^multipart\//g.test(m)){var v=getBoundary(m);v&&v.length&&(d=v,p=!0,r.body=[])}continue}var b;if(b=/^\s+([^\r\n]+)/g.exec(y)){f?r.headers[l][r.headers[l].length-1]+="\r\n"+b[1]:r.headers[l]+="\r\n"+b[1];continue}if(b=/^([\w\d\-]+):\s*([^\r\n]*)/gi.exec(y)){l=b[1],r.headers[l]?(f=!0,"string"==typeof r.headers[l]&&(r.headers[l]=[r.headers[l]]),r.headers[l].push(b[2])):(f=!1,r.headers[l]=b[2]);continue}}}return r.body&&r.body.length&&r.body[r.body.length-1].lines&&h(r.body[r.body.length-1]),r}function completeBoundary(e){if(!e||!e.boundary)return null;for(var t,r=e.lines||[],n={boundary:e.boundary,part:{headers:{}}},o="",a=!1,i=0;i<r.length;i++){var s=r[i];if(a){u=/^\-\-([^\r\n]+)(\r?\n)?$/g.exec(s);var l=getBoundary(n.part.headers["Content-Type"]||n.part.headers["Content-type"]);if(u&&0===s.indexOf("--"+l)&&!t){t={boundary:u?u[1]:"",lines:[]};continue}if(!t||!t.boundary){n.part.body=r.splice(i).join("\r\n");break}if(""===r[i-1]&&0===s.indexOf("--"+t.boundary)){var d=completeBoundary(t);if(d?Array.isArray(n.part.body)?n.part.body.push(d):n.part.body=[d]:n.part.body=t.lines.join("\r\n"),r[i+1]){t.lines=[];continue}if(0===s.indexOf("--"+t.boundary+"--")&&""===r[i+1]){t=void 0;break}}t.lines.push(s)}else{if(""===s){a=!0;continue}var u;if(u=/^([\w\d\-]+):\s*([^\r\n]*)/gi.exec(s)){o=u[1],n.part.headers[o]=u[2];continue}var c=/^\s+([^\r\n]+)/g.exec(s);if(c){n.part.headers[o]+="\r\n"+c[1];continue}}}return n}function build(e,t,r){var n;"function"===typeof t&&"undefined"===typeof r&&(r=t,t=null);var o="",a="\r\n";try{if(!e)throw new Error('Argument "data" expected to be an object! or string');if("string"===typeof e){var i=read(e);if("string"===typeof i)throw new Error(i);if(i instanceof Error)throw i;e=i}if(!e.headers)throw new Error('Argument "data" expected to be has headers');"string"===typeof e.subject&&(e.headers.Subject=e.subject),"undefined"!==typeof e.from&&(e.headers.From=toEmailAddress(e.from)),"undefined"!==typeof e.to&&(e.headers.To=toEmailAddress(e.to)),"undefined"!==typeof e.cc&&(e.headers.Cc=toEmailAddress(e.cc));var s=getBoundary(e.headers["Content-Type"]||e.headers["Content-type"]||""),l=!1,d=createBoundary(),u="";e.multipartAlternative&&(u=""+(getBoundary(e.multipartAlternative["Content-Type"])||""),l=!0),s?(d=s,l=!0):e.headers["Content-Type"]=e.headers["Content-type"]||'multipart/mixed;\r\nboundary="'+d+'"';for(var c=Object.keys(e.headers),f=0;f<c.length;f++){var p=c[f],h=e.headers[p];if("undefined"!==typeof h)if("string"===typeof h)o+=p+": "+h.replace(/\r?\n/g,"\r\n ")+a;else for(var g=0;g<h.length;g++)o+=p+": "+h[g].replace(/\r?\n/g,"\r\n ")+a}if(e.multipartAlternative&&(o+=a,o+="--"+s+a,o+="Content-Type: "+e.multipartAlternative["Content-Type"].replace(/\r?\n/g,"\r\n ")+a),o+=a,e.text){if("object"===typeof t&&t&&t.encode&&e.textheaders)for(var p in o+="--"+d+a,e.textheaders)e.textheaders.hasOwnProperty(p)&&(o+=p+": "+e.textheaders[p].replace(/\r?\n/g,"\r\n "));else l&&(o+="--"+(u||d)+a,o+='Content-Type: text/plain; charset="utf-8"\r\n');o+=a+e.text,o+=a}if(e.html){if("object"===typeof t&&t&&t.encode&&e.textheaders)for(var p in o+="--"+d+a,e.textheaders)e.textheaders.hasOwnProperty(p)&&(o+=p+": "+e.textheaders[p].replace(/\r?\n/g,"\r\n "));else l&&(o+="--"+(u||d)+a,o+='Content-Type: text/html; charset="utf-8"\r\n');verbose&&console.info("line 765 "+l+", emlBoundary: "+s+", multipartBoundary: "+u+", boundary: "+d),o+=a+e.html,o+=a}if(e.attachments)for(f=0;f<e.attachments.length;f++){var y=e.attachments[f];if(o+="--"+d+a,o+="Content-Type: "+(y.contentType.replace(/\r?\n/g,"\r\n ")||"application/octet-stream")+a,o+="Content-Transfer-Encoding: base64\r\n",o+="Content-Disposition: "+(y.inline?"inline":"attachment")+'; filename="'+(y.filename||y.name||"attachment_"+(f+1))+'"'+a,y.cid&&(o+="Content-ID: <"+y.cid+">"+a),o+=a,"string"===typeof y.data)o+=wrap(js_base64__WEBPACK_IMPORTED_MODULE_0__.o4.toBase64(y.data),72)+a;else o+=wrap(decode(y.data),72)+a;o+=a}l&&(o+="--"+d+"--"+a)}catch(m){n=m}return r&&r(n,o),n||o}function read(e,t,r){var n,o;function a(e,t,r){var o=e["Content-Type"]||e["Content-type"],a=getCharsetName(getCharset(o)||defaultCharset),i=e["Content-Transfer-Encoding"]||e["Content-transfer-encoding"];if("string"===typeof i&&(i=i.toLowerCase()),"base64"===i?t=o&&o.indexOf("gbk")>=0?encode(GB2312UTF8.GB2312ToUTF8(t.replace(/\r?\n/g,""))):encode(t.replace(/\r?\n/g,"")):"quoted-printable"===i?t=unquotePrintable(t,a):i&&"utf8"!==a&&0===i.search(/binary|8bit/)&&(t=decode(t,a)),!r.html&&o&&o.indexOf("text/html")>=0){"string"!==typeof t&&(t=decode(t,a)),r.html=t.replace(/\r\n|(")/g,"").replace(/\"/g,'"');try{"base64"===i?r.html=js_base64__WEBPACK_IMPORTED_MODULE_0__.o4.decode(r.html):js_base64__WEBPACK_IMPORTED_MODULE_0__.o4.btoa(js_base64__WEBPACK_IMPORTED_MODULE_0__.o4.atob(r.html))==r.html&&(r.html=js_base64__WEBPACK_IMPORTED_MODULE_0__.o4.atob(r.html))}catch(n){console.error(n)}r.htmlheaders={"Content-Type":o,"Content-Transfer-Encoding":i||""}}else if(!r.text&&o&&o.indexOf("text/plain")>=0)"string"!==typeof t&&(t=decode(t,a)),"base64"===i&&(t=js_base64__WEBPACK_IMPORTED_MODULE_0__.o4.decode(t)),r.text=t,r.textheaders={"Content-Type":o,"Content-Transfer-Encoding":i||""};else{r.attachments||(r.attachments=[]);var s={},l=e["Content-ID"]||e["Content-Id"];l&&(s.id=l);for(var d=void 0,u=0,c=["Content-Disposition","Content-Type","Content-type"];u<c.length;u++){var f=e[c[u]];if(f&&(d=f.replace(/(\s|'|utf-8|\*[0-9]\*)/g,"").split(";").map((function(e){return/name[\*]?="?(.+?)"?$/gi.exec(e)})).reduce((function(e,t){return t&&t[1]&&(e+=t[1]),e}),"")))break}d&&(s.name=decodeURI(d));var p=e["Content-Type"]||e["Content-type"];p&&(s.contentType=p);var h=e["Content-Disposition"];h&&(s.inline=/^\s*inline/g.test(h)),s.data=t,s.data64=decode(t,a),r.attachments.push(s)}}function i(e){if(!e)return"no data";try{var t={};if(!e.headers)throw new Error("data does't has headers");e.headers.Date&&(t.date=new Date(e.headers.Date)),e.headers.Subject&&(t.subject=unquoteString(e.headers.Subject)),e.headers.From&&(t.from=getEmailAddress(e.headers.From)),e.headers.To&&(t.to=getEmailAddress(e.headers.To)),e.headers.CC&&(t.cc=getEmailAddress(e.headers.CC)),e.headers.Cc&&(t.cc=getEmailAddress(e.headers.Cc)),t.headers=e.headers;var r=null,n=e.headers["Content-Type"]||e.headers["Content-type"];if(n&&/^multipart\//g.test(n)){var o=getBoundary(n);o&&o.length&&(r=o)}if(r&&Array.isArray(e.body))for(var i=0;i<e.body.length;i++){var s=e.body[i];if(s)if("undefined"===typeof s.part)verbose&&console.warn("Warning: undefined b.part");else if("string"===typeof s.part)t.data=s.part;else if("undefined"===typeof s.part.body)verbose&&console.warn("Warning: undefined b.part.body");else if("string"===typeof s.part.body)a(s.part.headers,s.part.body,t);else{var l=s.part.headers,d=l["Content-Type"]||l["Content-type"];verbose&&console.log("line 969 currentHeadersContentType: "+d),d&&d.indexOf("multipart")>=0&&!t.multipartAlternative&&(t.multipartAlternative={"Content-Type":d});for(var u=0;u<s.part.body.length;u++){var c=s.part.body[u];if("string"!==typeof c){var f=c.part.headers,p=c.part.body;Array.isArray(p)?p.forEach((function(e){a(e.part.headers,e.part.body,t)})):a(f,p,t)}else t.data=c}}}else"string"===typeof e.body&&a(e.headers,e.body,t);return t}catch(h){return h}}if("function"===typeof t&&"undefined"===typeof r&&(r=t,t=null),"string"===typeof e){var s=parse(e,t);if("string"===typeof s||s instanceof Error)n=s;else"string"===typeof(l=i(s))||l instanceof Error?n=l:o=l}else if("object"===typeof e){var l;"string"===typeof(l=i(e))||l instanceof Error?n=l:o=l}else n=new Error("Missing EML file content!");return r&&r(n,o),n||o||new Error("read EML failed!")}},78117:(e,t,r)=>{var n=r(33825).Buffer,o=r(97107);function a(e){return(e||"").toString().trim().replace(/^latin[\-_]?(\d+)$/i,"ISO-8859-$1").replace(/^win(?:dows)?[\-_]?(\d+)$/i,"WINDOWS-$1").replace(/^utf[\-_]?(\d+)$/i,"UTF-$1").replace(/^ks_c_5601\-1987$/i,"CP949").replace(/^us[\-_]?ascii$/i,"ASCII").toUpperCase()}e.exports.convert=function(e,t,r){var i;r=a(r||"UTF-8"),t=a(t||"UTF-8"),e=e||"","UTF-8"!==r&&"string"===typeof e&&(e=n.from(e,"binary"));if(r===t)i="string"===typeof e?n.from(e):e;else try{i=function(e,t,r){return"UTF-8"===t?o.decode(e,r):"UTF-8"===r?o.encode(e,t):o.encode(o.decode(e,r),t)}(e,t,r)}catch(s){console.error(s),i=e}"string"===typeof i&&(i=n.from(i,"utf-8"));return i}},43121:(e,t,r)=>{var n=r(58339)("%Object.defineProperty%",!0)||!1;if(n)try{n({},"a",{value:1})}catch(o){n=!1}e.exports=n},95687:e=>{e.exports=EvalError},86837:e=>{e.exports=Error},52608:e=>{e.exports=RangeError},66884:e=>{e.exports=ReferenceError},56114:e=>{e.exports=SyntaxError},26681:e=>{e.exports=TypeError},60447:e=>{e.exports=URIError},55400:()=>{String.prototype.replaceAll||(String.prototype.replaceAll=function(e,t){return"[object regexp]"===Object.prototype.toString.call(e).toLowerCase()?this.replace(e,t):this.replace(new RegExp(e,"g"),t)})},95102:(e,t,r)=>{r.d(t,{y:()=>n});const n=(o=globalThis,a={},new Proxy(o,{get:(e,t,r)=>t in a?a[t]:o[t],set:(e,t,r)=>(t in a&&delete a[t],o[t]=r,!0),deleteProperty(e,t){let r=!1;return t in a&&(delete a[t],r=!0),t in o&&(delete o[t],r=!0),r},ownKeys(e){const t=Reflect.ownKeys(o),r=Reflect.ownKeys(a),n=new Set(r);return[...t.filter((e=>!n.has(e))),...r]},defineProperty:(e,t,r)=>(t in a&&delete a[t],Reflect.defineProperty(o,t,r),!0),getOwnPropertyDescriptor:(e,t)=>t in a?Reflect.getOwnPropertyDescriptor(a,t):Reflect.getOwnPropertyDescriptor(o,t),has:(e,t)=>t in a||t in o}));var o,a},24166:(e,t,r)=>{r(53150)},55972:(e,t,r)=>{r(53150),r(96459)},16007:(e,t,r)=>{r(96459)},96459:(e,t,r)=>{r.d(t,{T:()=>a});var n=r(53150),o=r(74961);function a(e){return(0,n.XI)((function*(t,r){try{if("function"===typeof e){let r=e;t(yield*i(r()))}else t(yield*i(e))}catch(n){r(n)}}))}function i(e){if((n=e)&&l(n.then))return r=e,(0,o.v)(((e,t)=>(r.then(e,t),()=>{})));if((t=e)&&"function"===typeof t[Symbol.iterator]){return function(e){return!!e&&(l(e.next)&&l(e.throw))}(e[Symbol.iterator]())?e:s(e)}return s(e);var t,r,n}function s(e){return{[Symbol.iterator]:()=>({next:()=>({done:!0,value:e})})}}function l(e){return"function"===typeof e}},25596:(e,t,r)=>{r(73911),r(61362)},81092:(e,t,r)=>{r.d(t,{q:()=>a});var n=r(21449),o=r(9001);function a(e,t){let r=(0,n.v)("Context",{key:e},{defaultValue:t,*get(){return(yield*(0,o.g)()).get(r)},*set(e){return(yield*(0,o.g)()).set(r,e)},*[Symbol.iterator](){let t=yield*r.get();if("undefined"===typeof t)throw new i(`missing required context: '${e}'`);return t}});return r}class i extends Error{constructor(){super(...arguments),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"MissingContextError"})}}},72873:(e,t,r)=>{r.d(t,{_3:()=>l,cL:()=>i,BN:()=>s});var n=r(95102);const{Deno:o}=n.y;"boolean"!==typeof o?.noColor||o.noColor;new RegExp(["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|"),"g");var a;!function(e){e.removed="removed",e.common="common",e.added="added"}(a||(a={}));Error;function*i(e){return yield{type:"reset",block:e}}function*s(e){return yield{type:"shift",block:e}}function l(e){let t=function(){let e=[];return{reducing:!1,push:(...t)=>e.push(...t),pop:()=>e.pop()}}();return t.push({method:"next",iterator:e()[Symbol.iterator]()}),d(t)}function d(e){try{e.reducing=!0;for(let r=e.pop();r;r=e.pop())try{let t=u(r);if(e.value=t.value,!t.done){let n=t.value;if("reset"===n.type)e.push({...r,method:"next",get value(){return e.value}},{method:"next",iterator:n.block()[Symbol.iterator]()});else{let t=r,o=c((r=>(e.push({method:"next",iterator:t.iterator,value:r}),d(e))));o.tail=c((r=>{e.push({method:"next",iterator:t.iterator,value:r}),e.reducing||d(e)}));let a=c((r=>(e.push({method:"throw",iterator:t.iterator,value:r}),d(e))));a.tail=c((r=>{e.push({method:"throw",iterator:t.iterator,value:r}),e.reducing||d(e)})),e.push({method:"next",iterator:n.block(o,a)[Symbol.iterator](),value:void 0})}}}catch(t){let r=e.pop();if(!r)throw t;e.push({...r,method:"throw",value:t})}}finally{e.reducing=!1}return e.value}function u(e){let{iterator:t}=e;if("next"===e.method)return t.next(e.value);{let r=e.value;if(t.throw)return t.throw(r);throw r}}function c(e){let t,r,n=!1;return o=>{if(n){if(t)throw t.error;return r}n=!0;try{return r=e(o)}catch(a){throw t={error:a},a}}}},95998:(e,t,r)=>{(0,r(81092).q)("each")},20445:(e,t,r)=>{r(53150)},81622:(e,t,r)=>{r(73911),r(53150)},53150:(e,t,r)=>{r.d(t,{DY:()=>i,XI:()=>l,u4:()=>d});var n=r(72873),o=r(21119),a=r(70766);function i(){return u(s)}function s(e){return(0,o.a)((t=>{e.aborted&&t.tail((0,a.Ok)(void 0))}))}function l(e){return u((function(t){return(0,n.BN)((function*(r){let s=yield*(0,n.cL)((function*(){let e=yield*(0,o.a)((e=>e.tail)),t=yield*u.destroy();t.ok?r.tail(e):r.tail(t)})),l=e=>s((0,a.Ok)(e)),d=e=>s((0,a._)(e)),u=t.createChild((function*(){yield*e(l,d),yield*i()}));yield*(0,n.cL)((function*(){let e=yield*u;e.ok||r.tail(e)})),u.enter()}))}))}function d(){return u((e=>(0,o.a)((t=>t.tail((0,a.Ok)(e))))))}function u(e){return{[Symbol.iterator](){let t=!1;return{next:r=>t?{done:!0,value:r}:(t=!0,{done:!1,value:e}),throw(e){throw e}}}}}},61362:(e,t,r)=>{r(72873)},97610:(e,t,r)=>{r(95102);var n=r(81092);r(53150),r(34994),r(29876);(0,n.q)("exit")},74961:(e,t,r)=>{r.d(t,{v:()=>a});var n=r(70766),o=r(72873);function*a(e){let t=()=>{};try{return yield function(){return(0,o.BN)((function*(r){t=e((e=>r.tail((0,n.Ok)(e))),(e=>r.tail((0,n._)(e))))}))}}finally{t&&t()}}},7624:(e,t,r)=>{r.d(t,{y:()=>o});var n=r(74961);function o(){let e=[],t=new Set;function r(r){for(e.unshift(r);e.length>0&&t.size>0;){let[r]=t;r(e.pop())}}return{add:e=>r({done:!1,value:e}),close:e=>r({done:!0,value:e}),*next(){let r=e.pop();return r||(yield*(0,n.v)((e=>(t.add(e),()=>t.delete(e)))))}}}},84130:(e,t,r)=>{r(53150)},70766:(e,t,r)=>{r.d(t,{Ok:()=>n,_:()=>o});const n=e=>({ok:!0,value:e}),o=e=>({ok:!1,error:e})},34994:(e,t,r)=>{r.d(t,{eF:()=>o});var n=r(6976);r(9001);function o(e){let t=(0,n.C)({operation:e});return t.enter(),t.getTask()}},21449:(e,t,r)=>{function n(e,t,r){let n={};for(let[o,a]of Object.entries(t))n[o]={enumerable:!0,value:a};return Object.create({...r,[Symbol.toStringTag]:e},n)}r.d(t,{v:()=>n})},6976:(e,t,r)=>{r.d(t,{C:()=>u});var n=r(72873),o=r(21119);var a=r(70766),i=r(65608),s=r(92996),l=r(21449);let d=0;function u(e){return(0,n._3)((function*(){let t,{operation:r,parent:h}=e,g=new Set,y=Object.create(h??{}),m=[{done:!1,value:c(void 0)}],v=()=>{},[b,x]=yield*(0,i.k)(),_=yield*(0,o.a)((e=>{let r=(0,l.v)("Frame",{id:d++,context:y},{createChild(e){let t=u({operation:e,parent:r.context});return g.add(t),(0,n._3)((function*(){yield*t,g.delete(t)})),t},getTask(){let e=(0,s.U)(r);return r.getTask=()=>e,e},enter(){e.tail(r)},crash:e=>(o(e),x),destroy:()=>(o(),x),[Symbol.iterator]:x[Symbol.iterator]}),o=e=>{r.aborted||(r.aborted=!0,t=e,m.unshift({done:!1,value:p()}),v())};return r})),C=function(e){let t=()=>{let r=e();return t=()=>r,r};return()=>t()}((()=>r()[Symbol.iterator]())),k=m.pop();for(;!k.done;){let e=k.value;try{let t=e(C());if(t.done)m.unshift({done:!0,value:(0,a.Ok)(t.value)});else{let e=t.value,r=yield*(0,n.BN)((function*(t){v=()=>t.tail({type:"interrupted"});try{t.tail({type:"settled",result:yield*e(_)})}catch(r){t.tail({type:"settled",result:(0,a._)(r)})}}));"settled"===r.type&&(r.result.ok?m.unshift({done:!1,value:c(r.result.value)}):m.unshift({done:!1,value:f(r.result.error)}))}}catch(S){m.unshift({done:!0,value:(0,a._)(S)})}k=m.pop()}_.exited=!0;let w,E=k.value;w=E.ok?t?{type:"crashed",error:t}:_.aborted?{type:"aborted"}:{type:"result",result:E}:{type:"result",result:E};let T=(0,a.Ok)(void 0);for(;0!==g.size;)for(let e of[...g].reverse()){let t=yield*e.destroy();t.ok||(T=t)}if(T.ok)if("aborted"===w.type)b({ok:!0,value:void 0,exit:w,destruction:T});else if("result"===w.type){let{result:e}=w;e.ok?b({ok:!0,value:void 0,exit:w,destruction:T}):b({ok:!1,error:e.error,exit:w,destruction:T})}else b({ok:!1,error:w.error,exit:w,destruction:T});else b({ok:!1,error:T.error,exit:w,destruction:T})}))}const c=e=>function(t){return t.next(e)},f=e=>function(t){if(t.throw)return t.throw(e);throw e},p=e=>function(t){return t.return?t.return(e):{done:!0,value:e}}},9001:(e,t,r)=>{r.d(t,{g:()=>s});var n=r(72873),o=r(21449),a=r(6976),i=r(53150);function*s(){let e=yield*(0,i.u4)(),[t]=function(e){let t=e??(0,a.C)({operation:i.DY}),r=(0,o.v)("Scope",{},{run(e){if(t.exited){let e=new Error("cannot call run() on a scope that has already been exited");throw e.name="InactiveScopeError",e}let r=t.createChild(e);return r.enter(),(0,n._3)((function*(){let e=yield*r;e.ok||(yield*t.crash(e.error))})),r.getTask()},get(e){let{key:r,defaultValue:n}=e;return t.context[r]??n},set(e,r){let{key:n}=e;return t.context[n]=r,r}});return t.enter(),[r,t.getTask().halt]}(e);return t}},21119:(e,t,r)=>{r.d(t,{a:()=>o});var n=r(72873);function o(e){return(0,n.BN)(((t,r)=>({[Symbol.iterator]:()=>({next:()=>({done:!0,value:e(t,r)})})})))}},73911:(e,t,r)=>{var n=r(7624);r(53150);(0,r(81092).q)("Signal.createQueue",n.y)},92132:(e,t,r)=>{r(53150)}}]);
|