@bluepic/embed 0.4.0-next.129 → 0.4.0-next.130
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/dist/bluepic-embed.iife.js +267 -133
- package/dist/bluepic-embed.umd.js +267 -133
- package/dist/main.cjs +100 -97
- package/dist/main.mjs +16257 -16073
- package/dist/postal-mime-Df-WB8Vq.js +3337 -0
- package/dist/postal-mime-_7WF5UBe.cjs +28 -0
- package/dist/style.css +1 -1
- package/dist/xlsx-BopDBbWb.js +24176 -0
- package/dist/xlsx-qn1xoUuv.cjs +105 -0
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=new TextEncoder,R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",w=new Uint8Array(256);for(let s=0;s<R.length;s++)w[R.charCodeAt(s)]=s;function _(s){let u=s.length;for(;u>0&&s.charAt(u-1)==="=";)u--;u%4===1&&u--;const r=u%4,t=Math.floor(u/4)*3+(r?r-1:0),i=new ArrayBuffer(t),n=new Uint8Array(i);let e=0;for(let a=0;a<u;a+=4){let o=w[s.charCodeAt(a)],c=w[s.charCodeAt(a+1)],l=w[s.charCodeAt(a+2)],p=w[s.charCodeAt(a+3)];n[e++]=o<<2|c>>4,e<t&&(n[e++]=(c&15)<<4|l>>2),e<t&&(n[e++]=(l&3)<<6|p&63)}return i}const J=new Map([["iso88598i","iso-8859-8"],["iso88598e","iso-8859-8"],["shiftjis","shift_jis"],["windows31j","shift_jis"],["mskanji","shift_jis"],["eucjp","euc-jp"],["iso2022jp","iso-2022-jp"],["iso2022jp1","iso-2022-jp"],["iso2022jp2","iso-2022-jp"],["junet","iso-2022-jp"],["euckr","euc-kr"],["uhc","euc-kr"],["tis620","windows-874"]]),Y=new Map([["932","shift_jis"],["936","gbk"],["949","euc-kr"],["950","big5"],["874","windows-874"],["51932","euc-jp"],["50220","iso-2022-jp"],["50221","iso-2022-jp"],["50222","iso-2022-jp"]]),Z=/^(?:cp|windows|ms|ibm)(\d+)$/;function X(s){return s.replace(/^(?:x-ms-|x-|cs)/,"").replace(/[\s._-]+/g,"")}function U(s){try{return new TextDecoder(s)}catch{return null}}function N(s){s=(s||"utf8").trim().toLowerCase();const u=U(s);if(u)return u;const r=X(s),t=r.match(Z),i=t&&Y.get(t[1])||J.get(r)||r;return U(i)||new TextDecoder("windows-1252")}async function q(s){if("arrayBuffer"in s)return await s.arrayBuffer();const u=new FileReader;return new Promise((r,t)=>{u.onload=function(i){r(i.target.result)},u.onerror=function(i){t(u.error)},u.readAsArrayBuffer(s)})}function F(s){return s>=48&&s<=57?s-48:s>=97&&s<=102?s-97+10:s>=65&&s<=70?s-65+10:-1}function k(s,u,r){let t=s.indexOf("*");t>=0&&(s=s.substr(0,t)),u=u.toUpperCase();let i;if(u==="Q"){r=r.replace(/=\s+([0-9a-fA-F])/g,"=$1").replace(/[_\s]/g," ");let n=E.encode(r),e=[];for(let o=0,c=n.length;o<c;o++){let l=n[o];if(o<=c-2&&l===61){let p=F(n[o+1]),f=F(n[o+2]);if(p>=0&&f>=0){e.push(p<<4|f),o+=2;continue}}e.push(l)}i=new ArrayBuffer(e.length);let a=new DataView(i);for(let o=0,c=e.length;o<c;o++)a.setUint8(o,e[o])}else u==="B"?i=_(r.replace(/[^a-zA-Z0-9\+\/=]+/g,"")):i=E.encode(r);return N(s).decode(i)}const W="=\\?([^?\\s]+)\\?([QqBb])\\?([^?]*)\\?=",P=new RegExp(W,"g"),uu=/^[ \t\r\n]+$/,eu=new RegExp(`^(?:${W}\\s*)+$`);function tu(s){return eu.test(s)}function ru(s){const u=[];P.lastIndex=0;let r=0,t;for(;t=P.exec(s);)t.index>r&&u.push({text:s.substring(r,t.index)}),u.push({charset:t[1],encoding:t[2],encodedText:t[3]}),r=t.index+t[0].length;return r<s.length&&u.push({text:s.substring(r)}),u}function su(s,u){const r=s.encoding.toUpperCase();return s.charset!==u.charset||r!==u.encoding.toUpperCase()?!1:r==="B"?s.encodedText.length%4===0&&!/=$/.test(s.encodedText):!0}function O(s,u){let r="",t=null;for(let i=0;i<s.length;i++){const n=s[i];if(n.text!==void 0){const e=s[i+1];if(t&&e&&e.text===void 0&&uu.test(n.text))continue;t&&(r+=k(t.charset,t.encoding,t.encodedText),t=null),r+=n.text;continue}if(t&&u&&su(t,n)){t.encodedText+=n.encodedText;continue}t&&(r+=k(t.charset,t.encoding,t.encodedText)),t={charset:n.charset,encoding:n.encoding,encodedText:n.encodedText}}return t&&(r+=k(t.charset,t.encoding,t.encodedText)),r}function g(s){const u=ru((s||"").toString()),r=O(u,!0);return r.indexOf("�")<0?r:O(u,!1)}function H(s,u){u=u||"utf-8";let r=[];for(let n=0;n<s.length;n++){let e=s.charAt(n);if(e==="%"&&/^[a-f0-9]{2}/i.test(s.substr(n+1,2))){let a=s.substr(n+1,2);n+=2,r.push(parseInt(a,16))}else if(e.charCodeAt(0)>126){e=E.encode(e);for(let a=0;a<e.length;a++)r.push(e[a])}else r.push(e.charCodeAt(0))}const t=new ArrayBuffer(r.length),i=new DataView(t);for(let n=0,e=r.length;n<e;n++)i.setUint8(n,r[n]);return N(u).decode(t)}function au(s){let u=new Map;Object.keys(s.params).forEach(r=>{let t=r.match(/\*((\d+)\*?)?$/);if(!t)return;let i=r.substr(0,t.index).toLowerCase(),n=Number(t[2])||0,e;u.has(i)?e=u.get(i):(e={charset:!1,values:[]},u.set(i,e));let a=s.params[r],o=t[0].charAt(t[0].length-1)==="*";n===0&&o&&(t=a.match(/^([^']*)'[^']*'(.*)$/))&&(e.charset=t[1]||"utf-8",a=t[2]),e.values.push({nr:n,value:a,encoded:o}),delete s.params[r]}),u.forEach((r,t)=>{let i="",n="";for(let e of r.values.sort((a,o)=>a.nr-o.nr)){if(e.encoded){n+=e.value;continue}n&&(i+=H(n,r.charset),n=""),i+=e.value}n&&(i+=H(n,r.charset)),s.params[t]=i})}class iu{constructor(){this.chunks=[]}update(u){this.chunks.push(u),this.chunks.push(`
|
|
2
|
+
`)}finalize(){return q(new Blob(this.chunks,{type:"application/octet-stream"}))}}class nu{constructor(u){u=u||{},this.decoder=u.decoder||new TextDecoder,this.maxChunkSize=100*1024,this.chunks=[],this.remainder=""}pushChunk(u){u.length&&this.chunks.push(_(u))}flushRemainder(){this.pushChunk(this.remainder),this.remainder=""}update(u){const t=this.decoder.decode(u).replace(/[^a-zA-Z0-9+/=]+/g,"").split(/=+/);for(let i=0;i<t.length;i++)this.remainder+=t[i],i<t.length-1&&this.flushRemainder();if(this.remainder.length>=this.maxChunkSize){const i=Math.floor(this.remainder.length/4)*4;this.pushChunk(this.remainder.substring(0,i)),this.remainder=this.remainder.substring(i)}}finalize(){return this.flushRemainder(),q(new Blob(this.chunks,{type:"application/octet-stream"}))}}const j=61,ou=10;class lu{constructor(){this.maxChunkSize=100*1024,this.buffer=new Uint8Array(this.maxChunkSize),this.bufferPos=0,this.chunks=[]}writeByte(u){this.bufferPos>=this.buffer.length&&this.flushBuffer(),this.buffer[this.bufferPos++]=u}writeBytes(u,r,t){for(;r<t;){this.bufferPos>=this.buffer.length&&this.flushBuffer();const i=Math.min(t-r,this.buffer.length-this.bufferPos);this.buffer.set(u.subarray(r,r+i),this.bufferPos),this.bufferPos+=i,r+=i}}flushBuffer(){this.bufferPos&&(this.chunks.push(this.buffer.slice(0,this.bufferPos)),this.bufferPos=0)}update(u){let r=u.length;const t=r>0&&u[r-1]===j;t&&r--;let i=0;for(let n=0;n<r;n++){if(u[n]!==j||n+2>=r)continue;const e=F(u[n+1]),a=F(u[n+2]);e<0||a<0||(this.writeBytes(u,i,n),this.writeByte(e<<4|a),n+=2,i=n+1)}this.writeBytes(u,i,r),t||this.writeByte(ou)}finalize(){return this.flushBuffer(),q(new Blob(this.chunks,{type:"application/octet-stream"}))}}const cu=new TextDecoder("utf-8",{ignoreBOM:!0}),T=s=>s.replace(/^[ \t]+|[ \t]+$/g,""),pu=new Set(["content-type","content-transfer-encoding","content-disposition","content-id","content-description"]);class z{constructor(u){if(this.options=u||{},this.postalMime=this.options.postalMime,this.childNodes=[],this.finalizedChildCount=0,this.options.parentNode){if(this.parentNode=this.options.parentNode,this.depth=this.parentNode.depth+1,this.depth>this.options.maxNestingDepth)throw new Error(`Maximum MIME nesting depth of ${this.options.maxNestingDepth} levels exceeded`);this.options.parentNode.childNodes.push(this)}else this.depth=0;this.state="header",this.headerLines=[];const t=(this.options.parentMultipartType||null)==="digest"?"message/rfc822":"text/plain";this.contentType={value:t},this.contentTransferEncoding={value:"8bit"},this.contentDisposition={value:""},this.headers=[],this.contentDecoder=!1}setupContentDecoder(u){/base64/i.test(u)?this.contentDecoder=new nu:/quoted-printable/i.test(u)?this.contentDecoder=new lu:this.contentDecoder=new iu}async finalize(){if(this.state==="finished")return;this.state==="header"&&this.processHeaders();let u=this.postalMime.boundaries;for(let r=u.length-1;r>=0;r--)if(u[r].node===this){u.splice(r,1);break}await this.finalizeChildNodes(),this.content=this.contentDecoder?await this.contentDecoder.finalize():null,this.contentDecoder=!1,this.state="finished"}async finalizeChildNodes(){for(;this.finalizedChildCount<this.childNodes.length;)await this.childNodes[this.finalizedChildCount++].finalize()}stripComments(u){let r="",t=0,i=!1,n=!1,e=-1,a=!1;const o=()=>!a||!r.length||/[ \t]$/.test(r);for(let c=0;c<u.length;c++){const l=u.charAt(c);if(i){t===0&&(r+=l),i=!1;continue}if(l==="\\"){i=!0,t===0&&(r+=l);continue}if(l==='"'&&t===0){n=!n,r+=l;continue}if(!n){if(l==="("&&o()){t===0&&(e=c),t++;continue}if(l===")"&&t>0){t--;continue}t===0&&(l==="="?a=!0:l===";"&&(a=!1))}t===0&&(r+=l)}return t===0||u.indexOf(";",e)<0?r:u}parseStructuredHeader(u){u=this.stripComments(u);let r={value:!1,params:{}},t=!1,i="",n="value",e="",a=!1,o=!1,c=!1,l;const p=h=>{i.length&&(i+=e),e="",i+=h},f=()=>{const h=i;return i="",e="",a=!1,h},B=(h,d)=>{Object.prototype.hasOwnProperty.call(r.params,h)||(r.params[h]=d)},A=()=>{const h=f();t===!1?r.value=h:B(t,h)},C=()=>{const h=f().trim();h&&B(h.toLowerCase(),"")};for(let h=0,d=u.length;h<d;h++)switch(l=u.charAt(h),n){case"key":if(l==="="){t=f().trim().toLowerCase(),n="value";break}if(l===";"){C();break}i+=l;break;case"value":if(c)p(l);else if(o&&l==="\\"){c=!0;continue}else o&&l===o?(o=!1,a=!0):!o&&l==='"'?(o=l,i.length&&(i+=e),e=""):!o&&l===";"?(A(),n="key"):!o&&(l===" "||l===" ")?e+=l:a||p(l);c=!1;break}return n==="value"?A():C(),r.value&&(r.value=r.value.toLowerCase()),au(r),r}decodeFlowedText(u,r){return u.split(/\r?\n/).map(t=>t.charAt(0)===" "?t.slice(1):t).reduce((t,i)=>t.endsWith(" ")&&t!=="-- "&&!t.endsWith(`
|
|
3
|
+
-- `)?r?t.slice(0,-1)+i:t+i:t+`
|
|
4
|
+
`+i)}getTextContent(){if(!this.content)return"";let u=N(this.contentType.parsed.params.charset).decode(this.content);return/^flowed$/i.test(this.contentType.parsed.params.format)&&(u=this.decodeFlowedText(u,/^yes$/i.test(this.contentType.parsed.params.delsp))),u}processHeaders(){let u=[];for(let t of this.headerLines)u.length&&/^[ \t]/.test(t)?u[u.length-1].push(t):u.push([t]);this.rawHeaderLines=[];let r=new Set;for(let t of u){let i=t.join(`
|
|
5
|
+
`),n=i.indexOf(":"),e=T(n<0?i:i.substr(0,n));this.rawHeaderLines.push({key:e.toLowerCase(),line:i});let a=t.join("");n=a.indexOf(":");let o=T(n<0?a:a.substr(0,n)),c=n<0?"":T(a.substr(n+1).replace(/[\r\n]+/g," "));this.headers.push({key:o.toLowerCase(),originalKey:o,value:c});const l=o.toLowerCase();if(pu.has(l)&&!r.has(l))switch(r.add(l),l){case"content-type":this.contentType={value:c,parsed:{}};break;case"content-transfer-encoding":this.contentTransferEncoding={value:c,parsed:{}};break;case"content-disposition":this.contentDisposition={value:c,parsed:{}};break;case"content-id":this.contentId=c;break;case"content-description":this.contentDescription=c;break}}this.contentType.parsed=this.parseStructuredHeader(this.contentType.value),this.contentType.multipart=/^multipart\//i.test(this.contentType.parsed.value)?this.contentType.parsed.value.substr(this.contentType.parsed.value.indexOf("/")+1):!1,this.contentType.multipart&&this.contentType.parsed.params.boundary&&this.postalMime.boundaries.push({value:E.encode(this.contentType.parsed.params.boundary),node:this}),this.contentDisposition.parsed=this.parseStructuredHeader(this.contentDisposition.value),this.contentTransferEncoding.encoding=(this.stripComments(this.contentTransferEncoding.value).toLowerCase().match(/[\w-]+/)||[""])[0],this.setupContentDecoder(this.contentTransferEncoding.encoding)}feed(u){switch(this.state){case"header":if(!u.length)return this.state="body",this.processHeaders();if(this.postalMime.headerSize+=u.length,this.postalMime.headerSize>this.options.maxHeadersSize)throw new Error(`Maximum header size of ${this.options.maxHeadersSize} bytes exceeded`);this.headerLines.push(cu.decode(u));break;case"body":this.contentDecoder.update(u)}}}const M={"Æ":"Æ","Æ":"Æ","&":"&","&":"&","Á":"Á","Á":"Á","Ă":"Ă","Â":"Â","Â":"Â","А":"А","𝔄":"𝔄","À":"À","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","⁡":"","Å":"Å","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","ℬ":"ℬ","≎":"≎","Ч":"Ч","©":"©","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","ℭ":"ℭ","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","ⅅ":"ⅅ","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","∯":"∯","¨":"¨","⇓":"⇓","⇐":"⇐","⇔":"⇔","⫤":"⫤","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","⇓":"⇓","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","Ð":"Ð","É":"É","É":"É","Ě":"Ě","Ê":"Ê","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","ℱ":"ℱ","Ѓ":"Ѓ",">":">",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","ℋ":"ℋ","Ħ":"Ħ","≎":"≎","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Í":"Í","Î":"Î","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ì":"Ì","ℑ":"ℑ","Ī":"Ī","ⅈ":"ⅈ","⇒":"⇒","∬":"∬","∫":"∫","⋂":"⋂","⁣":"","⁢":"","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⇐":"⇐","⇔":"⇔","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","⟸":"⟸","⟺":"⟺","⟹":"⟹","𝕃":"𝕃","↙":"↙","↘":"↘","ℒ":"ℒ","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","ℳ":"ℳ","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","​":"","​":"","​":"","​":"","≫":"≫","≪":"≪","
":`
|
|
6
|
+
`,"𝔑":"𝔑","⁠":""," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Ø":"Ø","Õ":"Õ","Õ":"Õ","⨷":"⨷","Ö":"Ö","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℌ":"ℌ","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∷":"∷","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",""":'"',""":'"',"𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","ℜ":"ℜ","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","⇒":"⇒","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↓":"↓","←":"←","→":"→","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∋":"∋","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","⋑":"⋑","Þ":"Þ","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц","	":" ","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":" "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ù":"Ù","Ū":"Ū","_":"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","↑":"↑","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","⇑":"⇑","⇕":"⇕","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","​":"","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"","𝔞":"𝔞","à":"à","à":"à","ℵ":"ℵ","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","&":"&","&":"&","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∠":"∠","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","Å":"Å","⍼":"⍼","ą":"ą","𝕒":"𝕒","≈":"≈","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","≈":"≈","≊":"≊","å":"å","å":"å","𝒶":"𝒶","*":"*","≈":"≈","≍":"≍","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"∳","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⌅":"⌅","⎵":"⎵","⎶":"⎶","≌":"≌","б":"б","„":"„","∵":"∵","∵":"∵","⦰":"⦰","϶":"϶","ℬ":"ℬ","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","⋂":"⋂","◯":"◯","⋃":"⋃","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⋁":"⋁","⋀":"⋀","⤍":"⤍","⧫":"⧫","▪":"▪","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⊥":"⊥","⊥":"⊥","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","─":"─","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","‵":"‵","˘":"˘","¦":"¦","¦":"¦","𝒷":"𝒷","⁏":"⁏","∽":"∽","⋍":"⋍","\":"\\","⧅":"⧅","⟈":"⟈","•":"•","•":"•","≎":"≎","⪮":"⪮","≏":"≏","≏":"≏","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","ˇ":"ˇ","⩍":"⩍","č":"č","ç":"ç","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"𝔠","ч":"ч","✓":"✓","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","®":"®","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","≗":"≗","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣","♣":"♣",":":":","≔":"≔","≔":"≔",",":",","@":"@","∁":"∁","∘":"∘","∁":"∁","ℂ":"ℂ","≅":"≅","⩭":"⩭","∮":"∮","𝕔":"𝕔","∐":"∐","©":"©","©":"©","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋞":"⋞","⋟":"⋟","⋎":"⋎","⋏":"⋏","¤":"¤","¤":"¤","↶":"↶","↷":"↷","⋎":"⋎","⋏":"⋏","∲":"∲","∱":"∱","⌭":"⌭","⇓":"⇓","⥥":"⥥","†":"†","ℸ":"ℸ","↓":"↓","‐":"‐","⊣":"⊣","⤏":"⤏","˝":"˝","ď":"ď","д":"д","ⅆ":"ⅆ","‡":"‡","⇊":"⇊","⩷":"⩷","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","⇃":"⇃","⇂":"⇂","⋄":"⋄","⋄":"⋄","♦":"♦","♦":"♦","¨":"¨","ϝ":"ϝ","⋲":"⋲","÷":"÷","÷":"÷","÷":"÷","⋇":"⋇","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍","$":"$","𝕕":"𝕕","˙":"˙","≐":"≐","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌆":"⌆","↓":"↓","⇊":"⇊","⇃":"⇃","⇂":"⇂","⤐":"⤐","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","▾":"▾","⇵":"⇵","⥯":"⥯","⦦":"⦦","џ":"џ","⟿":"⟿","⩷":"⩷","≑":"≑","é":"é","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","ê":"ê","≕":"≕","э":"э","ė":"ė","ⅇ":"ⅇ","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅","∅":"∅","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"≖","≕":"≕","≂":"≂","⪖":"⪖","⪕":"⪕","=":"=","≟":"≟","≡":"≡","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","≐":"≐","≂":"≂","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"€","!":"!","∃":"∃","ℰ":"ℰ","ⅇ":"ⅇ","≒":"≒","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi","fj":"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","∀":"∀","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","½":"½","⅓":"⅓","¼":"¼","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","≧":"≧","⪌":"⪌","ǵ":"ǵ","γ":"γ","ϝ":"ϝ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","≥":"≥","⋛":"⋛","≥":"≥","≧":"≧","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","≫":"≫","⋙":"⋙","ℷ":"ℷ","ѓ":"ѓ","≷":"≷","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪊":"⪊","⪈":"⪈","⪈":"⪈","≩":"≩","⋧":"⋧","𝕘":"𝕘","`":"`","ℊ":"ℊ","≳":"≳","⪎":"⪎","⪐":"⪐",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⪆":"⪆","⥸":"⥸","⋗":"⋗","⋛":"⋛","⪌":"⪌","≷":"≷","≳":"≳","≩︀":"≩︀","≩︀":"≩︀","⇔":"⇔"," ":" ","½":"½","ℋ":"ℋ","ъ":"ъ","↔":"↔","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ℏ":"ℏ","ħ":"ħ","⁃":"⁃","‐":"‐","í":"í","í":"í","⁣":"","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"⇔","𝔦":"𝔦","ì":"ì","ì":"ì","ⅈ":"ⅈ","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ℑ":"ℑ","ℐ":"ℐ","ℑ":"ℑ","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","∈":"∈","℅":"℅","∞":"∞","⧝":"⧝","ı":"ı","∫":"∫","⊺":"⊺","ℤ":"ℤ","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"𝒾","∈":"∈","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","∈":"∈","⁢":"","ĩ":"ĩ","і":"і","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⇚":"⇚","⇐":"⇐","⤛":"⤛","⤎":"⤎","≦":"≦","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"ℒ","λ":"λ","⟨":"⟨","⦑":"⦑","⟨":"⟨","⪅":"⪅","«":"«","«":"«","←":"←","⇤":"⇤","⤟":"⤟","⤝":"⤝","↩":"↩","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","⌈":"⌈","{":"{","л":"л","⤶":"⤶","“":"“","„":"„","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","←":"←","↢":"↢","↽":"↽","↼":"↼","⇇":"⇇","↔":"↔","⇆":"⇆","⇋":"⇋","↭":"↭","⋋":"⋋","⋚":"⋚","≤":"≤","≦":"≦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⪅":"⪅","⋖":"⋖","⋚":"⋚","⪋":"⪋","≶":"≶","≲":"≲","⥼":"⥼","⌊":"⌊","𝔩":"𝔩","≶":"≶","⪑":"⪑","↽":"↽","↼":"↼","⥪":"⥪","▄":"▄","љ":"љ","≪":"≪","⇇":"⇇","⌞":"⌞","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","⎰":"⎰","≨":"≨","⪉":"⪉","⪉":"⪉","⪇":"⪇","⪇":"⪇","≨":"≨","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟦":"⟦","⟵":"⟵","⟷":"⟷","⟼":"⟼","⟶":"⟶","↫":"↫","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","_":"_","◊":"◊","◊":"◊","⧫":"⧫","(":"(","⦓":"⦓","⇆":"⇆","⌟":"⌟","⇋":"⇋","⥭":"⥭","‎":"","⊿":"⊿","‹":"‹","𝓁":"𝓁","↰":"↰","≲":"≲","⪍":"⪍","⪏":"⪏","[":"[","‘":"‘","‚":"‚","ł":"ł","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"⋖","⋋":"⋋","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⊴":"⊴","◂":"◂","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","≨︀":"≨︀","∺":"∺","¯":"¯","¯":"¯","♂":"♂","✠":"✠","✠":"✠","↦":"↦","↦":"↦","↧":"↧","↤":"↤","↥":"↥","▮":"▮","⨩":"⨩","м":"м","—":"—","∡":"∡","𝔪":"𝔪","℧":"℧","µ":"µ","µ":"µ","∣":"∣","*":"*","⫰":"⫰","·":"·","·":"·","−":"−","⊟":"⊟","∸":"∸","⨪":"⨪","⫛":"⫛","…":"…","∓":"∓","⊧":"⊧","𝕞":"𝕞","∓":"∓","𝓂":"𝓂","∾":"∾","μ":"μ","⊸":"⊸","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","≫̸":"≫̸","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","≪̸":"≪̸","⇏":"⇏","⊯":"⊯","⊮":"⊮","∇":"∇","ń":"ń","∠⃒":"∠⃒","≉":"≉","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","≉":"≉","♮":"♮","♮":"♮","ℕ":"ℕ"," ":" "," ":" ","≎̸":"≎̸","≏̸":"≏̸","⩃":"⩃","ň":"ň","ņ":"ņ","≇":"≇","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","≠":"≠","⇗":"⇗","⤤":"⤤","↗":"↗","↗":"↗","≐̸":"≐̸","≢":"≢","⤨":"⤨","≂̸":"≂̸","∄":"∄","∄":"∄","𝔫":"𝔫","≧̸":"≧̸","≱":"≱","≱":"≱","≧̸":"≧̸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"≵","≯":"≯","≯":"≯","⇎":"⇎","↮":"↮","⫲":"⫲","∋":"∋","⋼":"⋼","⋺":"⋺","∋":"∋","њ":"њ","⇍":"⇍","≦̸":"≦̸","↚":"↚","‥":"‥","≰":"≰","↚":"↚","↮":"↮","≰":"≰","≦̸":"≦̸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"≮","≴":"≴","≮":"≮","⋪":"⋪","⋬":"⋬","∤":"∤","𝕟":"𝕟","¬":"¬","¬":"¬","∉":"∉","⋹̸":"⋹̸","⋵̸":"⋵̸","∉":"∉","⋷":"⋷","⋶":"⋶","∌":"∌","∌":"∌","⋾":"⋾","⋽":"⋽","∦":"∦","∦":"∦","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","⊀":"⊀","⋠":"⋠","⪯̸":"⪯̸","⊀":"⊀","⪯̸":"⪯̸","⇏":"⇏","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","↛":"↛","⋫":"⋫","⋭":"⋭","⊁":"⊁","⋡":"⋡","⪰̸":"⪰̸","𝓃":"𝓃","∤":"∤","∦":"∦","≁":"≁","≄":"≄","≄":"≄","∤":"∤","∦":"∦","⋢":"⋢","⋣":"⋣","⊄":"⊄","⫅̸":"⫅̸","⊈":"⊈","⊂⃒":"⊂⃒","⊈":"⊈","⫅̸":"⫅̸","⊁":"⊁","⪰̸":"⪰̸","⊅":"⊅","⫆̸":"⫆̸","⊉":"⊉","⊃⃒":"⊃⃒","⊉":"⊉","⫆̸":"⫆̸","≹":"≹","ñ":"ñ","ñ":"ñ","≸":"≸","⋪":"⋪","⋬":"⋬","⋫":"⋫","⋭":"⋭","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","↖":"↖","↖":"↖","⤧":"⤧","Ⓢ":"Ⓢ","ó":"ó","ó":"ó","⊛":"⊛","⊚":"⊚","ô":"ô","ô":"ô","о":"о","⊝":"⊝","ő":"ő","⨸":"⨸","⊙":"⊙","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","ò":"ò","⧁":"⧁","⦵":"⦵","Ω":"Ω","∮":"∮","↺":"↺","⦾":"⦾","⦻":"⦻","‾":"‾","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","⊖":"⊖","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","⊕":"⊕","∨":"∨","↻":"↻","⩝":"⩝","ℴ":"ℴ","ℴ":"ℴ","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ℴ":"ℴ","ø":"ø","ø":"ø","⊘":"⊘","õ":"õ","õ":"õ","⊗":"⊗","⨶":"⨶","ö":"ö","ö":"ö","⌽":"⌽","∥":"∥","¶":"¶","¶":"¶","∥":"∥","⫳":"⫳","⫽":"⫽","∂":"∂","п":"п","%":"%",".":".","‰":"‰","⊥":"⊥","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","ℳ":"ℳ","☎":"☎","π":"π","⋔":"⋔","ϖ":"ϖ","ℏ":"ℏ","ℎ":"ℎ","ℏ":"ℏ","+":"+","⨣":"⨣","⊞":"⊞","⨢":"⨢","∔":"∔","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"⨕","𝕡":"𝕡","£":"£","£":"£","≺":"≺","⪳":"⪳","⪷":"⪷","≼":"≼","⪯":"⪯","≺":"≺","⪷":"⪷","≼":"≼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"⋨","≾":"≾","′":"′","ℙ":"ℙ","⪵":"⪵","⪹":"⪹","⋨":"⋨","∏":"∏","⌮":"⌮","⌒":"⌒","⌓":"⌓","∝":"∝","∝":"∝","≾":"≾","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","⨌":"⨌","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","ℍ":"ℍ","⨖":"⨖","?":"?","≟":"≟",""":'"',""":'"',"⇛":"⇛","⇒":"⇒","⤜":"⤜","⤏":"⤏","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","√":"√","⦳":"⦳","⟩":"⟩","⦒":"⦒","⦥":"⦥","⟩":"⟩","»":"»","»":"»","→":"→","⥵":"⥵","⇥":"⇥","⤠":"⤠","⤳":"⤳","⤞":"⤞","↪":"↪","↬":"↬","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","ℚ":"ℚ","⤍":"⤍","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","⌉":"⌉","}":"}","р":"р","⤷":"⤷","⥩":"⥩","”":"”","”":"”","↳":"↳","ℜ":"ℜ","ℛ":"ℛ","ℜ":"ℜ","ℝ":"ℝ","▭":"▭","®":"®","®":"®","⥽":"⥽","⌋":"⌋","𝔯":"𝔯","⇁":"⇁","⇀":"⇀","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","→":"→","↣":"↣","⇁":"⇁","⇀":"⇀","⇄":"⇄","⇌":"⇌","⇉":"⇉","↝":"↝","⋌":"⋌","˚":"˚","≓":"≓","⇄":"⇄","⇌":"⇌","‏":"","⎱":"⎱","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⟧":"⟧","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","⇉":"⇉","›":"›","𝓇":"𝓇","↱":"↱","]":"]","’":"’","’":"’","⋌":"⋌","⋊":"⋊","▹":"▹","⊵":"⊵","▸":"▸","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","‚":"‚","≻":"≻","⪴":"⪴","⪸":"⪸","š":"š","≽":"≽","⪰":"⪰","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","≿":"≿","с":"с","⋅":"⋅","⊡":"⊡","⩦":"⩦","⇘":"⇘","⤥":"⤥","↘":"↘","↘":"↘","§":"§","§":"§",";":";","⤩":"⤩","∖":"∖","∖":"∖","✶":"✶","𝔰":"𝔰","⌢":"⌢","♯":"♯","щ":"щ","ш":"ш","∣":"∣","∥":"∥","­":"","­":"","σ":"σ","ς":"ς","ς":"ς","∼":"∼","⩪":"⩪","≃":"≃","≃":"≃","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","←":"←","∖":"∖","⨳":"⨳","⧤":"⧤","∣":"∣","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","♠":"♠","∥":"∥","⊓":"⊓","⊓︀":"⊓︀","⊔":"⊔","⊔︀":"⊔︀","⊏":"⊏","⊑":"⊑","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊐":"⊐","⊒":"⊒","□":"□","□":"□","▪":"▪","▪":"▪","→":"→","𝓈":"𝓈","∖":"∖","⌣":"⌣","⋆":"⋆","☆":"☆","★":"★","ϵ":"ϵ","ϕ":"ϕ","¯":"¯","⊂":"⊂","⫅":"⫅","⪽":"⪽","⊆":"⊆","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⊂":"⊂","⊆":"⊆","⫅":"⫅","⊊":"⊊","⫋":"⫋","⫇":"⫇","⫕":"⫕","⫓":"⫓","≻":"≻","⪸":"⪸","≽":"≽","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"⋩","≿":"≿","∑":"∑","♪":"♪","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"⊃","⫆":"⫆","⪾":"⪾","⫘":"⫘","⊇":"⊇","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⊃":"⊃","⊇":"⊇","⫆":"⫆","⊋":"⊋","⫌":"⫌","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤦":"⤦","↙":"↙","↙":"↙","⤪":"⤪","ß":"ß","ß":"ß","⌖":"⌖","τ":"τ","⎴":"⎴","ť":"ť","ţ":"ţ","т":"т","⃛":"⃛","⌕":"⌕","𝔱":"𝔱","∴":"∴","∴":"∴","θ":"θ","ϑ":"ϑ","ϑ":"ϑ","≈":"≈","∼":"∼"," ":" ","≈":"≈","∼":"∼","þ":"þ","þ":"þ","˜":"˜","×":"×","×":"×","⊠":"⊠","⨱":"⨱","⨰":"⨰","∭":"∭","⤨":"⤨","⊤":"⊤","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","⤩":"⤩","‴":"‴","™":"™","▵":"▵","▿":"▿","◃":"◃","⊴":"⊴","≜":"≜","▹":"▹","⊵":"⊵","◬":"◬","≜":"≜","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","≬":"≬","↞":"↞","↠":"↠","⇑":"⇑","⥣":"⥣","ú":"ú","ú":"ú","↑":"↑","ў":"ў","ŭ":"ŭ","û":"û","û":"û","у":"у","⇅":"⇅","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"𝔲","ù":"ù","ù":"ù","↿":"↿","↾":"↾","▀":"▀","⌜":"⌜","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","¨":"¨","¨":"¨","ų":"ų","𝕦":"𝕦","↑":"↑","↕":"↕","↿":"↿","↾":"↾","⊎":"⊎","υ":"υ","ϒ":"ϒ","υ":"υ","⇈":"⇈","⌝":"⌝","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","▵":"▵","▴":"▴","⇈":"⇈","ü":"ü","ü":"ü","⦧":"⦧","⇕":"⇕","⫨":"⫨","⫩":"⫩","⊨":"⊨","⦜":"⦜","ϵ":"ϵ","ϰ":"ϰ","∅":"∅","ϕ":"ϕ","ϖ":"ϖ","∝":"∝","↕":"↕","ϱ":"ϱ","ς":"ς","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","ϑ":"ϑ","⊲":"⊲","⊳":"⊳","в":"в","⊢":"⊢","∨":"∨","⊻":"⊻","≚":"≚","⋮":"⋮","|":"|","|":"|","𝔳":"𝔳","⊲":"⊲","⊂⃒":"⊂⃒","⊃⃒":"⊃⃒","𝕧":"𝕧","∝":"∝","⊳":"⊳","𝓋":"𝓋","⫋︀":"⫋︀","⊊︀":"⊊︀","⫌︀":"⫌︀","⊋︀":"⊋︀","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","∧":"∧","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","℘":"℘","≀":"≀","≀":"≀","𝓌":"𝓌","⋂":"⋂","◯":"◯","⋃":"⋃","▽":"▽","𝔵":"𝔵","⟺":"⟺","⟷":"⟷","ξ":"ξ","⟸":"⟸","⟵":"⟵","⟼":"⟼","⋻":"⋻","⨀":"⨀","𝕩":"𝕩","⨁":"⨁","⨂":"⨂","⟹":"⟹","⟶":"⟶","𝓍":"𝓍","⨆":"⨆","⨄":"⨄","△":"△","⋁":"⋁","⋀":"⋀","ý":"ý","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"ℨ","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"","‌":""};function hu(s){return s.replace(/&(#\d+|#x[a-f0-9]+|[a-z]+\d*);?/gi,(u,r)=>{if(typeof M[u]=="string")return M[u];if(r.charAt(0)!=="#"||u.charAt(u.length-1)!==";")return u;let t;r.charAt(1)==="x"?t=parseInt(r.substr(2),16):t=parseInt(r.substr(1),10);let i="";return t>=55296&&t<=57343||t>1114111?"�":(t>65535&&(t-=65536,i+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),i+=String.fromCharCode(t),i)})}function m(s){return s.trim().replace(/[<>"'?&]/g,u=>{let r=u.charCodeAt(0).toString(16);return r.length<2&&(r="0"+r),"&#x"+r.toUpperCase()+";"})}function du(s){return"<div>"+m(s).replace(/\n/g,"<br />")+"</div>"}function fu(s){return s=s.replace(/\r?\n/g,"").replace(/<\!\-\-.*?\-\->/gi," ").replace(/<br\b[^>]*>/gi,`
|
|
7
|
+
`).replace(/<\/?(p|div|table|tr|td|th)\b[^>]*>/gi,`
|
|
8
|
+
|
|
9
|
+
`).replace(/<script\b[^>]*>.*?<\/script\b[^>]*>/gi," ").replace(/^.*<body\b[^>]*>/i,"").replace(/^.*<\/head\b[^>]*>/i,"").replace(/^.*<\!doctype\b[^>]*>/i,"").replace(/<\/body\b[^>]*>.*$/i,"").replace(/<\/html\b[^>]*>.*$/i,"").replace(/<a\b[^>]*href\s*=\s*["']?([^\s"']+)[^>]*>/gi," ($1) ").replace(/<\/?(span|em|i|strong|b|u|a)\b[^>]*>/gi,"").replace(/<li\b[^>]*>[\n\u0001\s]*/gi,"* ").replace(/<hr\b[^>]*>/g,`
|
|
10
|
+
-------------
|
|
11
|
+
`).replace(/<[^>]*>/g," ").replace(/\u0001/g,`
|
|
12
|
+
`).replace(/[ \t]+/g," ").replace(/^\s+$/gm,"").replace(/\n\n+/g,`
|
|
13
|
+
|
|
14
|
+
`).replace(/^\n+/,`
|
|
15
|
+
`).replace(/\n+$/,`
|
|
16
|
+
`),s=hu(s),s}function Q(s){if(typeof Intl>"u")return s;const u=new Date(s);return isNaN(u.getTime())?s:new Intl.DateTimeFormat("default",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1}).format(u)}function Du(s){return[].concat(s.name||[]).concat(s.name?`<${s.address}>`:s.address).join(" ")}function v(s){let u=[],r=(t,i)=>{if(i&&u.push(", "),t.group){let n=`${t.name}:`,e=";";u.push(n),t.group.forEach(r),u.push(e)}else u.push(Du(t))};return s.forEach(r),u.join("")}function Au(s){return`<a href="mailto:${m(s.address)}" class="postal-email-address">${m(s.name||`<${s.address}>`)}</a>`}function y(s){let u=[],r=(t,i)=>{if(i&&u.push('<span class="postal-email-address-separator">, </span>'),t.group){let n=`<span class="postal-email-address-group">${m(t.name)}:</span>`,e='<span class="postal-email-address-group">;</span>';u.push(n),t.group.forEach(r),u.push(e)}else u.push(Au(t))};return s.forEach(r),u.join(" ")}function gu(s,u,r){s=(s||"").toString(),u=u||76;let t=0,i=s.length,n="",e,a;for(;t<i;){if(e=s.substr(t,u),e.length<u){n+=e;break}if(a=e.match(/^[^\n\r]*(\r?\n|\r)/)){e=a[0],n+=e,t+=e.length;continue}else(a=e.match(/(\s+)[^\s]*$/))&&a[0].length-(a[1]||"").length<e.length?e=e.substr(0,e.length-(a[0].length-(a[1]||"").length)):(a=s.substr(t+e.length).match(/^[^\s]+(\s*)/))&&(e=e+a[0].substr(0,a[0].length-0));n+=e,t+=e.length,t<i&&(n+=`\r
|
|
17
|
+
`)}return n}function I(s){let u=[];s.from&&u.push({key:"From",val:v([s.from])}),s.subject&&u.push({key:"Subject",val:s.subject}),s.date&&u.push({key:"Date",val:Q(s.date)}),s.to&&s.to.length&&u.push({key:"To",val:v(s.to)}),s.cc&&s.cc.length&&u.push({key:"Cc",val:v(s.cc)}),s.bcc&&s.bcc.length&&u.push({key:"Bcc",val:v(s.bcc)});let r=u.map(e=>e.key.length).reduce((e,a)=>a>e?a:e,0);u=u.flatMap(e=>{let a=r-e.key.length,o=`${e.key}: ${" ".repeat(a)}`,c=`${" ".repeat(e.key.length+1)} ${" ".repeat(a)}`;return gu(e.val,80).split(/\r?\n/).map(p=>p.trim()).map((p,f)=>`${f?c:o}${p}`)});let t=u.map(e=>e.length).reduce((e,a)=>a>e?a:e,0),i="-".repeat(t);return`
|
|
18
|
+
${i}
|
|
19
|
+
${u.join(`
|
|
20
|
+
`)}
|
|
21
|
+
${i}
|
|
22
|
+
`}function V(s){let u=[];return s.from&&u.push(`<div class="postal-email-header-key">From</div><div class="postal-email-header-value">${y([s.from])}</div>`),s.subject&&u.push(`<div class="postal-email-header-key">Subject</div><div class="postal-email-header-value postal-email-header-subject">${m(s.subject)}</div>`),s.date&&u.push(`<div class="postal-email-header-key">Date</div><div class="postal-email-header-value postal-email-header-date" data-date="${m(s.date)}">${m(Q(s.date))}</div>`),s.to&&s.to.length&&u.push(`<div class="postal-email-header-key">To</div><div class="postal-email-header-value">${y(s.to)}</div>`),s.cc&&s.cc.length&&u.push(`<div class="postal-email-header-key">Cc</div><div class="postal-email-header-value">${y(s.cc)}</div>`),s.bcc&&s.bcc.length&&u.push(`<div class="postal-email-header-key">Bcc</div><div class="postal-email-header-value">${y(s.bcc)}</div>`),`<div class="postal-email-header">${u.length?'<div class="postal-email-header-row">':""}${u.join(`</div>
|
|
23
|
+
<div class="postal-email-header-row">`)}${u.length?"</div>":""}</div>`}const G=/\w/,$=/[^\s]+/g;function mu(s){$.lastIndex=0;let u;for(;u=$.exec(s);){const r=u[0],t=r.indexOf("@");let i=0;for(;i<t&&!G.test(r.charAt(i));)i++;if(i>=t)continue;let n=r.length;for(;n>t+1&&!G.test(r.charAt(n-1));)n--;if(!(n<=t+1))return{index:u.index+i,length:n-i,value:r.substring(i,n)}}return null}function Cu(s,u){let r=!1,t="text",i,n=[],e={address:[],comment:[],group:[],text:[],textWasQuoted:[]},a,o,c=!1;for(a=0,o=s.length;a<o;a++){let l=s[a],p=a?s[a-1]:null;if(l.type==="operator")switch(l.value){case"<":t="address",c=!1;break;case"(":t="comment",c=!1;break;case":":t="group",r=!0,c=!1;break;case'"':c=!c,t="text";break;default:t="text",c=!1;break}else l.value&&(t==="address"&&(l.value=l.value.replace(/^[^<]*<\s*/,"")),p&&p.noBreak&&e[t].length?(e[t][e[t].length-1]+=l.value,t==="text"&&c&&(e.textWasQuoted[e.textWasQuoted.length-1]=!0)):(e[t].push(l.value),t==="text"&&e.textWasQuoted.push(c)))}if(!e.text.length&&e.comment.length&&(e.text=e.comment,e.comment=[]),r){e.text=e.text.join(" ");let l=[];e.group.length&&b(e.group.join(","),{_depth:u+1}).forEach(f=>{f.group?l=l.concat(f.group):l.push(f)}),n.push({name:g(e.text||i&&i.name),group:l})}else{if(!e.address.length&&e.text.length){for(a=e.text.length-1;a>=0;a--)if(!e.textWasQuoted[a]&&e.text[a].match(/^[^@\s]+@[^@\s]+$/)){e.address=e.text.splice(a,1),e.textWasQuoted.splice(a,1);break}if(!e.address.length){for(a=e.text.length-1;a>=0;a--)if(!e.textWasQuoted[a]){const l=mu(e.text[a]);if(l){e.address=[l.value],e.text[a]=(e.text[a].substring(0,l.index).replace(/\s+$/,"")+" "+e.text[a].substring(l.index+l.length).replace(/^\s+/,"")).trim();break}e.text[a]=e.text[a].trim()}}}if(!e.text.length&&e.comment.length&&(e.text=e.comment,e.comment=[]),e.address.length>1&&(e.text=e.text.concat(e.address.splice(1))),e.text=e.text.join(" "),e.address=e.address.join(" "),!e.address&&tu(e.text.trim())){const l=g(e.text);if(/<[^<>]+@[^<>]+>/.test(l)){const p=b(l);if(p&&p.length)return p}return[{address:"",name:l}]}i={address:e.address||e.text||"",name:g(e.text||e.address||"")},i.address===i.name&&((i.address||"").match(/@/)?i.name="":i.address=""),n.push(i)}return n}class bu{constructor(u){this.str=(u||"").toString(),this.operatorCurrent="",this.operatorExpecting="",this.node=null,this.escaped=!1,this.list=[],this.operators={'"':'"',"(":")","<":">",",":"",":":";",";":""}}tokenize(){let u=[];for(let r=0,t=this.str.length;r<t;r++){let i=this.str.charAt(r),n=r<t-1?this.str.charAt(r+1):null;this.checkChar(i,n)}return this.list.forEach(r=>{r.value=(r.value||"").toString().trim(),r.value&&u.push(r)}),u}checkChar(u,r){if(!this.escaped){if(u===this.operatorExpecting){this.node={type:"operator",value:u},r&&![" "," ","\r",`
|
|
24
|
+
`,",",";"].includes(r)&&(this.node.noBreak=!0),this.list.push(this.node),this.node=null,this.operatorExpecting="",this.escaped=!1;return}else if(!this.operatorExpecting&&u in this.operators){this.node={type:"operator",value:u},this.list.push(this.node),this.node=null,this.operatorExpecting=this.operators[u],this.escaped=!1;return}else if(this.operatorExpecting==='"'&&u==="\\"){this.escaped=!0;return}}this.node||(this.node={type:"text",value:""},this.list.push(this.node)),u===`
|
|
25
|
+
`&&(u=" "),(u.charCodeAt(0)>=33||[" "," "].includes(u))&&(this.node.value+=u),this.escaped=!1}}const Eu=50;function b(s,u){u=u||{};let r=u._depth||0;if(r>Eu)return[];let i=new bu(s).tokenize(),n=[],e=[],a=[];if(i.forEach(o=>{o.type==="operator"&&(o.value===","||o.value===";")?(e.length&&n.push(e),e=[]):e.push(o)}),e.length&&n.push(e),n.forEach(o=>{o=Cu(o,r),o.length&&(a=a.concat(o))}),u.flatten){let o=[],c=l=>{l.forEach(p=>{if(p.group)return c(p.group);o.push(p)})};return c(a),o}return a}function Bu(s){for(var u="",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=new Uint8Array(s),i=t.byteLength,n=i%3,e=i-n,a,o,c,l,p,f=0;f<e;f=f+3)p=t[f]<<16|t[f+1]<<8|t[f+2],a=(p&16515072)>>18,o=(p&258048)>>12,c=(p&4032)>>6,l=p&63,u+=r[a]+r[o]+r[c]+r[l];return n==1?(p=t[e],a=(p&252)>>2,o=(p&3)<<4,u+=r[a]+r[o]+"=="):n==2&&(p=t[e]<<8|t[e+1],a=(p&64512)>>10,o=(p&1008)>>4,c=(p&15)<<2,u+=r[a]+r[o]+r[c]+"="),u}const wu=256,vu=2*1024*1024,yu=10;function L(s){return s.replace(/-(.)/g,(u,r)=>r.toUpperCase())}function S(s,u,r){if(s==null)return u;if(typeof s!="number"||!Number.isInteger(s)||s<0)throw new TypeError(`${r} must be a non-negative integer`);return s}class x{static async parse(u,r){return new x(r).parse(u)}constructor(u,r=0){this.options=u||{},this.mimeOptions={maxNestingDepth:S(this.options.maxNestingDepth,wu,"maxNestingDepth"),maxHeadersSize:S(this.options.maxHeadersSize,vu,"maxHeadersSize")},this.maxRfc822NestingDepth=S(this.options.maxRfc822NestingDepth,yu,"maxRfc822NestingDepth"),this.rfc822NestingDepth=r,this.root=this.currentNode=new z({postalMime:this,...this.mimeOptions}),this.boundaries=[],this.headerSize=0,this.textContent={},this.attachments=[],this.attachmentEncoding=(this.options.attachmentEncoding||"").toString().replace(/[-_\s]/g,"").trim().toLowerCase()||"arraybuffer",this.started=!1}async finalize(){await this.root.finalize()}async processLine(u,r){let t=this.boundaries;if(t.length&&u.length>2&&u[0]===45&&u[1]===45)for(let i=t.length-1;i>=0;i--){let n=t[i];if(u.length<n.value.length+2)continue;let e=!0;for(let l=0;l<n.value.length;l++)if(u[l+2]!==n.value[l]){e=!1;break}if(!e)continue;let a=n.value.length+2,o=!1;u.length>=n.value.length+4&&u[n.value.length+2]===45&&u[n.value.length+3]===45&&(o=!0,a=n.value.length+4);let c=!0;for(let l=a;l<u.length;l++)if(u[l]!==32&&u[l]!==9){c=!1;break}if(c)return o?(await n.node.finalize(),this.currentNode=n.node.parentNode||this.root):(await n.node.finalizeChildNodes(),this.currentNode=new z({postalMime:this,parentNode:n.node,parentMultipartType:n.node.contentType.multipart,...this.mimeOptions})),r?this.finalize():void 0}if(this.currentNode.feed(u),r)return this.finalize()}readLine(){let u=this.readPos,r=this.readPos;for(;this.readPos<this.av.length;){const t=this.av[this.readPos++];if(t!==13&&t!==10&&(r=this.readPos),t===10)return{bytes:new Uint8Array(this.buf,u,r-u),done:this.readPos>=this.av.length}}return{bytes:new Uint8Array(this.buf,u,r-u),done:this.readPos>=this.av.length}}async processNodeTree(){let u={},r=new Set,t=this.textMap=new Map,i=this.forceRfc822Attachments(),n=async(e,a,o)=>{var c,l,p,f,B;if(a=a||!1,o=o||!1,e.contentType.multipart)e.contentType.multipart==="alternative"?a=e:e.contentType.multipart==="related"&&(o=e);else{const A=this.isInlineMessageRfc822(e)&&!i,C=A&&this.rfc822NestingDepth>=this.maxRfc822NestingDepth;if(A&&!C){const h=new x({...this.mimeOptions,maxRfc822NestingDepth:this.maxRfc822NestingDepth,attachmentEncoding:"arraybuffer"},this.rfc822NestingDepth+1);e.subMessage=await h.parse(e.content),t.has(e)||t.set(e,{});let d=t.get(e);(e.subMessage.text||!e.subMessage.html)&&(d.plain=d.plain||[],d.plain.push({type:"subMessage",value:e.subMessage}),r.add("plain")),e.subMessage.html&&(d.html=d.html||[],d.html.push({type:"subMessage",value:e.subMessage}),r.add("html")),h.textMap&&h.textMap.forEach((D,K)=>{t.set(K,D)});for(let D of e.subMessage.attachments||[])this.attachments.push(D)}else if(this.isInlineTextNode(e)){let h=e.contentType.parsed.value.substr(e.contentType.parsed.value.indexOf("/")+1),d=a||e;t.has(d)||t.set(d,{});let D=t.get(d);D[h]=D[h]||[],D[h].push({type:"text",value:e.getTextContent()}),r.add(h)}else if(e.content){const h=((p=(l=(c=e.contentDisposition)==null?void 0:c.parsed)==null?void 0:l.params)==null?void 0:p.filename)||e.contentType.parsed.params.name||null,d={filename:h?g(h):null,mimeType:e.contentType.parsed.value,disposition:((B=(f=e.contentDisposition)==null?void 0:f.parsed)==null?void 0:B.value)||null};switch(o&&e.contentId&&!C&&(d.related=!0),C&&(d.rfc822DepthExceeded=!0),e.contentDescription&&(d.description=g(e.contentDescription)),e.contentId&&(d.contentId=e.contentId),e.contentType.parsed.value){case"text/calendar":case"application/ics":{e.contentType.parsed.params.method&&(d.method=e.contentType.parsed.params.method.toString().toUpperCase().trim());const D=e.getTextContent().replace(/\r?\n/g,`
|
|
26
|
+
`).replace(/\n*$/,`
|
|
27
|
+
`);d.content=E.encode(D);break}default:d.content=e.content}this.attachments.push(d)}}for(let A of e.childNodes)await n(A,a,o)};await n(this.root,!1,!1),t.forEach(e=>{r.forEach(a=>{if(u[a]||(u[a]=[]),e[a])e[a].forEach(o=>{switch(o.type){case"text":u[a].push(o.value);break;case"subMessage":switch(a){case"html":u[a].push(V(o.value));break;case"plain":u[a].push(I(o.value));break}break}});else{let o;switch(a){case"html":o="plain";break;case"plain":o="html";break}(e[o]||[]).forEach(c=>{switch(c.type){case"text":switch(a){case"html":u[a].push(du(c.value));break;case"plain":u[a].push(fu(c.value));break}break;case"subMessage":switch(a){case"html":u[a].push(V(c.value));break;case"plain":u[a].push(I(c.value));break}break}})}})}),Object.keys(u).forEach(e=>{u[e]=u[e].join(`
|
|
28
|
+
`)}),this.textContent=u}isInlineTextNode(u){var r,t,i;if(((t=(r=u.contentDisposition)==null?void 0:r.parsed)==null?void 0:t.value)==="attachment")return!1;switch((i=u.contentType.parsed)==null?void 0:i.value){case"text/html":case"text/plain":return!0;case"text/calendar":case"text/csv":default:return!1}}isInlineMessageRfc822(u){var t,i,n;return((t=u.contentType.parsed)==null?void 0:t.value)!=="message/rfc822"?!1:(((n=(i=u.contentDisposition)==null?void 0:i.parsed)==null?void 0:n.value)||(this.options.rfc822Attachments?"attachment":"inline"))==="inline"}forceRfc822Attachments(){if(this.options.forceRfc822Attachments)return!0;let u=!1,r=t=>{t.contentType.multipart||t.contentType.parsed&&["message/delivery-status","message/feedback-report"].includes(t.contentType.parsed.value)&&(u=!0);for(let i of t.childNodes)r(i)};return r(this.root),u}async resolveStream(u){let r=0,t=[];const i=u.getReader();for(;;){const{done:a,value:o}=await i.read();if(a)break;t.push(o),r+=o.length}const n=new Uint8Array(r);let e=0;for(let a of t)n.set(a,e),e+=a.length;return n}async parse(u){var i,n;if(this.started)throw new Error("Can not reuse parser, create a new PostalMime object");for(this.started=!0,u&&typeof u.getReader=="function"&&(u=await this.resolveStream(u)),u=u||new ArrayBuffer(0),typeof u=="string"&&(u=E.encode(u)),(u instanceof Blob||Object.prototype.toString.call(u)==="[object Blob]")&&(u=await q(u)),ArrayBuffer.isView(u)&&(u=u.buffer.slice(u.byteOffset,u.byteOffset+u.byteLength)),this.buf=u,this.av=new Uint8Array(u),this.readPos=0;this.readPos<this.av.length;){const e=this.readLine();await this.processLine(e.bytes,e.done)}await this.processNodeTree();const r={headers:this.root.headers.map(e=>({key:e.key,originalKey:e.originalKey,value:e.value}))};for(const e of["from","sender"]){const a=this.root.headers.find(o=>o.key===e);if(a&&a.value){const o=b(a.value);o&&o.length&&(r[e]=o[0])}}for(const e of["delivered-to","return-path"]){const a=this.root.headers.find(o=>o.key===e);if(a&&a.value){const o=b(a.value);if(o&&o.length&&o[0].address){const c=L(e);r[c]=o[0].address}}}for(const e of["to","cc","bcc","reply-to"]){const a=this.root.headers.filter(c=>c.key===e);let o=[];if(a.filter(c=>c&&c.value).map(c=>b(c.value)).forEach(c=>o=o.concat(c||[])),o&&o.length){const c=L(e);r[c]=o}}for(const e of["subject","message-id","in-reply-to","references"]){const a=this.root.headers.find(o=>o.key===e);if(a&&a.value){const o=L(e);r[o]=g(a.value)}}let t=this.root.headers.find(e=>e.key==="date");if(t){let e=new Date(t.value);e.toString()==="Invalid Date"?e=t.value:e=e.toISOString(),r.date=e}switch((i=this.textContent)!=null&&i.html&&(r.html=this.textContent.html),(n=this.textContent)!=null&&n.plain&&(r.text=this.textContent.plain),r.attachments=this.attachments,r.headerLines=(this.root.rawHeaderLines||[]).slice(),this.attachmentEncoding){case"arraybuffer":break;case"base64":for(let a of r.attachments||[])a!=null&&a.content&&(a.content=Bu(a.content),a.encoding="base64");break;case"utf8":let e=new TextDecoder("utf8");for(let a of r.attachments||[])a!=null&&a.content&&(a.content=e.decode(a.content),a.encoding="utf8");break;default:throw new Error("Unknown attachment encoding")}return r}}exports.addressParser=b;exports.decodeWords=g;exports.default=x;
|