@testream/mocha-reporter 1.0.0
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/LICENSE +30 -0
- package/README.md +22 -0
- package/THIRD_PARTY_NOTICES.md +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +14 -0
- package/dist/parallel-buffered.js +165 -0
- package/dist/reporter.d.ts +29 -0
- package/dist/types.d.ts +68 -0
- package/dist/uploader.d.ts +6 -0
- package/dist/worker.js +151 -0
- package/dist/worker1.js +263 -0
- package/package.json +63 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
(()=>{var __webpack_modules__={8344:(e,r,t)=>{"use strict";e=t.nmd(e);const wrapAnsi16=(e,r)=>(...t)=>{const n=e(...t);return`[${n+r}m`};const wrapAnsi256=(e,r)=>(...t)=>{const n=e(...t);return`[${38+r};5;${n}m`};const wrapAnsi16m=(e,r)=>(...t)=>{const n=e(...t);return`[${38+r};2;${n[0]};${n[1]};${n[2]}m`};const ansi2ansi=e=>e;const rgb2rgb=(e,r,t)=>[e,r,t];const setLazyProperty=(e,r,t)=>{Object.defineProperty(e,r,{get:()=>{const n=t();Object.defineProperty(e,r,{value:n,enumerable:true,configurable:true});return n},enumerable:true,configurable:true})};let n;const makeDynamicStyles=(e,r,o,i)=>{if(n===undefined){n=t(8821)}const s=i?10:0;const a={};for(const[t,i]of Object.entries(n)){const n=t==="ansi16"?"ansi":t;if(t===r){a[n]=e(o,s)}else if(typeof i==="object"){a[n]=e(i[r],s)}}return a};function assembleStyles(){const e=new Map;const r={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};r.color.gray=r.color.blackBright;r.bgColor.bgGray=r.bgColor.bgBlackBright;r.color.grey=r.color.blackBright;r.bgColor.bgGrey=r.bgColor.bgBlackBright;for(const[t,n]of Object.entries(r)){for(const[t,o]of Object.entries(n)){r[t]={open:`[${o[0]}m`,close:`[${o[1]}m`};n[t]=r[t];e.set(o[0],o[1])}Object.defineProperty(r,t,{value:n,enumerable:false})}Object.defineProperty(r,"codes",{value:e,enumerable:false});r.color.close="[39m";r.bgColor.close="[49m";setLazyProperty(r.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(r.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(r.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(r.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(r.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(r.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return r}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},2325:(e,r,t)=>{"use strict";const n=t(8344);const{stdout:o,stderr:i}=t(3662);const{stringReplaceAll:s,stringEncaseCRLFWithFirstIndex:a}=t(6437);const{isArray:u}=Array;const l=["ansi","ansi","ansi256","ansi16m"];const c=Object.create(null);const applyOptions=(e,r={})=>{if(r.level&&!(Number.isInteger(r.level)&&r.level>=0&&r.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const t=o?o.level:0;e.level=r.level===undefined?t:r.level};class ChalkClass{constructor(e){return chalkFactory(e)}}const chalkFactory=e=>{const r={};applyOptions(r,e);r.template=(...e)=>chalkTag(r.template,...e);Object.setPrototypeOf(r,Chalk.prototype);Object.setPrototypeOf(r.template,r);r.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};r.template.Instance=ChalkClass;return r.template};function Chalk(e){return chalkFactory(e)}for(const[e,r]of Object.entries(n)){c[e]={get(){const t=createBuilder(this,createStyler(r.open,r.close,this._styler),this._isEmpty);Object.defineProperty(this,e,{value:t});return t}}}c.visible={get(){const e=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:e});return e}};const p=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of p){c[e]={get(){const{level:r}=this;return function(...t){const o=createStyler(n.color[l[r]][e](...t),n.color.close,this._styler);return createBuilder(this,o,this._isEmpty)}}}}for(const e of p){const r="bg"+e[0].toUpperCase()+e.slice(1);c[r]={get(){const{level:r}=this;return function(...t){const o=createStyler(n.bgColor[l[r]][e](...t),n.bgColor.close,this._styler);return createBuilder(this,o,this._isEmpty)}}}}const d=Object.defineProperties((()=>{}),{...c,level:{enumerable:true,get(){return this._generator.level},set(e){this._generator.level=e}}});const createStyler=(e,r,t)=>{let n;let o;if(t===undefined){n=e;o=r}else{n=t.openAll+e;o=r+t.closeAll}return{open:e,close:r,openAll:n,closeAll:o,parent:t}};const createBuilder=(e,r,t)=>{const builder=(...e)=>{if(u(e[0])&&u(e[0].raw)){return applyStyle(builder,chalkTag(builder,...e))}return applyStyle(builder,e.length===1?""+e[0]:e.join(" "))};Object.setPrototypeOf(builder,d);builder._generator=e;builder._styler=r;builder._isEmpty=t;return builder};const applyStyle=(e,r)=>{if(e.level<=0||!r){return e._isEmpty?"":r}let t=e._styler;if(t===undefined){return r}const{openAll:n,closeAll:o}=t;if(r.indexOf("")!==-1){while(t!==undefined){r=s(r,t.close,t.open);t=t.parent}}const i=r.indexOf("\n");if(i!==-1){r=a(r,o,n,i)}return n+r+o};let h;const chalkTag=(e,...r)=>{const[n]=r;if(!u(n)||!u(n.raw)){return r.join(" ")}const o=r.slice(1);const i=[n.raw[0]];for(let e=1;e<n.length;e++){i.push(String(o[e-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[e]))}if(h===undefined){h=t(9514)}return h(e,i.join(""))};Object.defineProperties(Chalk.prototype,c);const g=Chalk();g.supportsColor=o;g.stderr=Chalk({level:i?i.level:0});g.stderr.supportsColor=i;e.exports=g},9514:e=>{"use strict";const r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const t=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const o=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;const i=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){const r=e[0]==="u";const t=e[1]==="{";if(r&&!t&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}if(r&&t){return String.fromCodePoint(parseInt(e.slice(2,-1),16))}return i.get(e)||e}function parseArguments(e,r){const t=[];const i=r.trim().split(/\s*,\s*/g);let s;for(const r of i){const i=Number(r);if(!Number.isNaN(i)){t.push(i)}else if(s=r.match(n)){t.push(s[2].replace(o,((e,r,t)=>r?unescape(r):t)))}else{throw new Error(`Invalid Chalk template style argument: ${r} (in style '${e}')`)}}return t}function parseStyle(e){t.lastIndex=0;const r=[];let n;while((n=t.exec(e))!==null){const e=n[1];if(n[2]){const t=parseArguments(e,n[2]);r.push([e].concat(t))}else{r.push([e])}}return r}function buildStyle(e,r){const t={};for(const e of r){for(const r of e.styles){t[r[0]]=e.inverse?null:r.slice(1)}}let n=e;for(const[e,r]of Object.entries(t)){if(!Array.isArray(r)){continue}if(!(e in n)){throw new Error(`Unknown Chalk style: ${e}`)}n=r.length>0?n[e](...r):n[e]}return n}e.exports=(e,t)=>{const n=[];const o=[];let i=[];t.replace(r,((r,t,s,a,u,l)=>{if(t){i.push(unescape(t))}else if(a){const r=i.join("");i=[];o.push(n.length===0?r:buildStyle(e,n)(r));n.push({inverse:s,styles:parseStyle(a)})}else if(u){if(n.length===0){throw new Error("Found extraneous } in Chalk template literal")}o.push(buildStyle(e,n)(i.join("")));i=[];n.pop()}else{i.push(l)}}));o.push(i.join(""));if(n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return o.join("")}},6437:e=>{"use strict";const stringReplaceAll=(e,r,t)=>{let n=e.indexOf(r);if(n===-1){return e}const o=r.length;let i=0;let s="";do{s+=e.substr(i,n-i)+r+t;i=n+o;n=e.indexOf(r,i)}while(n!==-1);s+=e.substr(i);return s};const stringEncaseCRLFWithFirstIndex=(e,r,t,n)=>{let o=0;let i="";do{const s=e[n-1]==="\r";i+=e.substr(o,(s?n-1:n)-o)+r+(s?"\r\n":"\n")+t;o=n+1;n=e.indexOf("\n",o)}while(n!==-1);i+=e.substr(o);return i};e.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},4700:e=>{var r={utf8:{stringToBytes:function(e){return r.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(r.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var r=[],t=0;t<e.length;t++)r.push(e.charCodeAt(t)&255);return r},bytesToString:function(e){for(var r=[],t=0;t<e.length;t++)r.push(String.fromCharCode(e[t]));return r.join("")}}};e.exports=r},9308:(e,r,t)=>{const n=t(9437);const o={};for(const e of Object.keys(n)){o[n[e]]=e}const i={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=i;for(const e of Object.keys(i)){if(!("channels"in i[e])){throw new Error("missing channels property: "+e)}if(!("labels"in i[e])){throw new Error("missing channel labels property: "+e)}if(i[e].labels.length!==i[e].channels){throw new Error("channel and label counts mismatch: "+e)}const{channels:r,labels:t}=i[e];delete i[e].channels;delete i[e].labels;Object.defineProperty(i[e],"channels",{value:r});Object.defineProperty(i[e],"labels",{value:t})}i.rgb.hsl=function(e){const r=e[0]/255;const t=e[1]/255;const n=e[2]/255;const o=Math.min(r,t,n);const i=Math.max(r,t,n);const s=i-o;let a;let u;if(i===o){a=0}else if(r===i){a=(t-n)/s}else if(t===i){a=2+(n-r)/s}else if(n===i){a=4+(r-t)/s}a=Math.min(a*60,360);if(a<0){a+=360}const l=(o+i)/2;if(i===o){u=0}else if(l<=.5){u=s/(i+o)}else{u=s/(2-i-o)}return[a,u*100,l*100]};i.rgb.hsv=function(e){let r;let t;let n;let o;let i;const s=e[0]/255;const a=e[1]/255;const u=e[2]/255;const l=Math.max(s,a,u);const c=l-Math.min(s,a,u);const diffc=function(e){return(l-e)/6/c+1/2};if(c===0){o=0;i=0}else{i=c/l;r=diffc(s);t=diffc(a);n=diffc(u);if(s===l){o=n-t}else if(a===l){o=1/3+r-n}else if(u===l){o=2/3+t-r}if(o<0){o+=1}else if(o>1){o-=1}}return[o*360,i*100,l*100]};i.rgb.hwb=function(e){const r=e[0];const t=e[1];let n=e[2];const o=i.rgb.hsl(e)[0];const s=1/255*Math.min(r,Math.min(t,n));n=1-1/255*Math.max(r,Math.max(t,n));return[o,s*100,n*100]};i.rgb.cmyk=function(e){const r=e[0]/255;const t=e[1]/255;const n=e[2]/255;const o=Math.min(1-r,1-t,1-n);const i=(1-r-o)/(1-o)||0;const s=(1-t-o)/(1-o)||0;const a=(1-n-o)/(1-o)||0;return[i*100,s*100,a*100,o*100]};function comparativeDistance(e,r){return(e[0]-r[0])**2+(e[1]-r[1])**2+(e[2]-r[2])**2}i.rgb.keyword=function(e){const r=o[e];if(r){return r}let t=Infinity;let i;for(const r of Object.keys(n)){const o=n[r];const s=comparativeDistance(e,o);if(s<t){t=s;i=r}}return i};i.keyword.rgb=function(e){return n[e]};i.rgb.xyz=function(e){let r=e[0]/255;let t=e[1]/255;let n=e[2]/255;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92;n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const o=r*.4124+t*.3576+n*.1805;const i=r*.2126+t*.7152+n*.0722;const s=r*.0193+t*.1192+n*.9505;return[o*100,i*100,s*100]};i.rgb.lab=function(e){const r=i.rgb.xyz(e);let t=r[0];let n=r[1];let o=r[2];t/=95.047;n/=100;o/=108.883;t=t>.008856?t**(1/3):7.787*t+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;o=o>.008856?o**(1/3):7.787*o+16/116;const s=116*n-16;const a=500*(t-n);const u=200*(n-o);return[s,a,u]};i.hsl.rgb=function(e){const r=e[0]/360;const t=e[1]/100;const n=e[2]/100;let o;let i;let s;if(t===0){s=n*255;return[s,s,s]}if(n<.5){o=n*(1+t)}else{o=n+t-n*t}const a=2*n-o;const u=[0,0,0];for(let e=0;e<3;e++){i=r+1/3*-(e-1);if(i<0){i++}if(i>1){i--}if(6*i<1){s=a+(o-a)*6*i}else if(2*i<1){s=o}else if(3*i<2){s=a+(o-a)*(2/3-i)*6}else{s=a}u[e]=s*255}return u};i.hsl.hsv=function(e){const r=e[0];let t=e[1]/100;let n=e[2]/100;let o=t;const i=Math.max(n,.01);n*=2;t*=n<=1?n:2-n;o*=i<=1?i:2-i;const s=(n+t)/2;const a=n===0?2*o/(i+o):2*t/(n+t);return[r,a*100,s*100]};i.hsv.rgb=function(e){const r=e[0]/60;const t=e[1]/100;let n=e[2]/100;const o=Math.floor(r)%6;const i=r-Math.floor(r);const s=255*n*(1-t);const a=255*n*(1-t*i);const u=255*n*(1-t*(1-i));n*=255;switch(o){case 0:return[n,u,s];case 1:return[a,n,s];case 2:return[s,n,u];case 3:return[s,a,n];case 4:return[u,s,n];case 5:return[n,s,a]}};i.hsv.hsl=function(e){const r=e[0];const t=e[1]/100;const n=e[2]/100;const o=Math.max(n,.01);let i;let s;s=(2-t)*n;const a=(2-t)*o;i=t*o;i/=a<=1?a:2-a;i=i||0;s/=2;return[r,i*100,s*100]};i.hwb.rgb=function(e){const r=e[0]/360;let t=e[1]/100;let n=e[2]/100;const o=t+n;let i;if(o>1){t/=o;n/=o}const s=Math.floor(6*r);const a=1-n;i=6*r-s;if((s&1)!==0){i=1-i}const u=t+i*(a-t);let l;let c;let p;switch(s){default:case 6:case 0:l=a;c=u;p=t;break;case 1:l=u;c=a;p=t;break;case 2:l=t;c=a;p=u;break;case 3:l=t;c=u;p=a;break;case 4:l=u;c=t;p=a;break;case 5:l=a;c=t;p=u;break}return[l*255,c*255,p*255]};i.cmyk.rgb=function(e){const r=e[0]/100;const t=e[1]/100;const n=e[2]/100;const o=e[3]/100;const i=1-Math.min(1,r*(1-o)+o);const s=1-Math.min(1,t*(1-o)+o);const a=1-Math.min(1,n*(1-o)+o);return[i*255,s*255,a*255]};i.xyz.rgb=function(e){const r=e[0]/100;const t=e[1]/100;const n=e[2]/100;let o;let i;let s;o=r*3.2406+t*-1.5372+n*-.4986;i=r*-.9689+t*1.8758+n*.0415;s=r*.0557+t*-.204+n*1.057;o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92;i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92;s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92;o=Math.min(Math.max(0,o),1);i=Math.min(Math.max(0,i),1);s=Math.min(Math.max(0,s),1);return[o*255,i*255,s*255]};i.xyz.lab=function(e){let r=e[0];let t=e[1];let n=e[2];r/=95.047;t/=100;n/=108.883;r=r>.008856?r**(1/3):7.787*r+16/116;t=t>.008856?t**(1/3):7.787*t+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;const o=116*t-16;const i=500*(r-t);const s=200*(t-n);return[o,i,s]};i.lab.xyz=function(e){const r=e[0];const t=e[1];const n=e[2];let o;let i;let s;i=(r+16)/116;o=t/500+i;s=i-n/200;const a=i**3;const u=o**3;const l=s**3;i=a>.008856?a:(i-16/116)/7.787;o=u>.008856?u:(o-16/116)/7.787;s=l>.008856?l:(s-16/116)/7.787;o*=95.047;i*=100;s*=108.883;return[o,i,s]};i.lab.lch=function(e){const r=e[0];const t=e[1];const n=e[2];let o;const i=Math.atan2(n,t);o=i*360/2/Math.PI;if(o<0){o+=360}const s=Math.sqrt(t*t+n*n);return[r,s,o]};i.lch.lab=function(e){const r=e[0];const t=e[1];const n=e[2];const o=n/360*2*Math.PI;const i=t*Math.cos(o);const s=t*Math.sin(o);return[r,i,s]};i.rgb.ansi16=function(e,r=null){const[t,n,o]=e;let s=r===null?i.rgb.hsv(e)[2]:r;s=Math.round(s/50);if(s===0){return 30}let a=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(t/255));if(s===2){a+=60}return a};i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])};i.rgb.ansi256=function(e){const r=e[0];const t=e[1];const n=e[2];if(r===t&&t===n){if(r<8){return 16}if(r>248){return 231}return Math.round((r-8)/247*24)+232}const o=16+36*Math.round(r/255*5)+6*Math.round(t/255*5)+Math.round(n/255*5);return o};i.ansi16.rgb=function(e){let r=e%10;if(r===0||r===7){if(e>50){r+=3.5}r=r/10.5*255;return[r,r,r]}const t=(~~(e>50)+1)*.5;const n=(r&1)*t*255;const o=(r>>1&1)*t*255;const i=(r>>2&1)*t*255;return[n,o,i]};i.ansi256.rgb=function(e){if(e>=232){const r=(e-232)*10+8;return[r,r,r]}e-=16;let r;const t=Math.floor(e/36)/5*255;const n=Math.floor((r=e%36)/6)/5*255;const o=r%6/5*255;return[t,n,o]};i.rgb.hex=function(e){const r=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);const t=r.toString(16).toUpperCase();return"000000".substring(t.length)+t};i.hex.rgb=function(e){const r=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r){return[0,0,0]}let t=r[0];if(r[0].length===3){t=t.split("").map((e=>e+e)).join("")}const n=parseInt(t,16);const o=n>>16&255;const i=n>>8&255;const s=n&255;return[o,i,s]};i.rgb.hcg=function(e){const r=e[0]/255;const t=e[1]/255;const n=e[2]/255;const o=Math.max(Math.max(r,t),n);const i=Math.min(Math.min(r,t),n);const s=o-i;let a;let u;if(s<1){a=i/(1-s)}else{a=0}if(s<=0){u=0}else if(o===r){u=(t-n)/s%6}else if(o===t){u=2+(n-r)/s}else{u=4+(r-t)/s}u/=6;u%=1;return[u*360,s*100,a*100]};i.hsl.hcg=function(e){const r=e[1]/100;const t=e[2]/100;const n=t<.5?2*r*t:2*r*(1-t);let o=0;if(n<1){o=(t-.5*n)/(1-n)}return[e[0],n*100,o*100]};i.hsv.hcg=function(e){const r=e[1]/100;const t=e[2]/100;const n=r*t;let o=0;if(n<1){o=(t-n)/(1-n)}return[e[0],n*100,o*100]};i.hcg.rgb=function(e){const r=e[0]/360;const t=e[1]/100;const n=e[2]/100;if(t===0){return[n*255,n*255,n*255]}const o=[0,0,0];const i=r%1*6;const s=i%1;const a=1-s;let u=0;switch(Math.floor(i)){case 0:o[0]=1;o[1]=s;o[2]=0;break;case 1:o[0]=a;o[1]=1;o[2]=0;break;case 2:o[0]=0;o[1]=1;o[2]=s;break;case 3:o[0]=0;o[1]=a;o[2]=1;break;case 4:o[0]=s;o[1]=0;o[2]=1;break;default:o[0]=1;o[1]=0;o[2]=a}u=(1-t)*n;return[(t*o[0]+u)*255,(t*o[1]+u)*255,(t*o[2]+u)*255]};i.hcg.hsv=function(e){const r=e[1]/100;const t=e[2]/100;const n=r+t*(1-r);let o=0;if(n>0){o=r/n}return[e[0],o*100,n*100]};i.hcg.hsl=function(e){const r=e[1]/100;const t=e[2]/100;const n=t*(1-r)+.5*r;let o=0;if(n>0&&n<.5){o=r/(2*n)}else if(n>=.5&&n<1){o=r/(2*(1-n))}return[e[0],o*100,n*100]};i.hcg.hwb=function(e){const r=e[1]/100;const t=e[2]/100;const n=r+t*(1-r);return[e[0],(n-r)*100,(1-n)*100]};i.hwb.hcg=function(e){const r=e[1]/100;const t=e[2]/100;const n=1-t;const o=n-r;let i=0;if(o<1){i=(n-o)/(1-o)}return[e[0],o*100,i*100]};i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};i.gray.hsl=function(e){return[0,0,e[0]]};i.gray.hsv=i.gray.hsl;i.gray.hwb=function(e){return[0,100,e[0]]};i.gray.cmyk=function(e){return[0,0,0,e[0]]};i.gray.lab=function(e){return[e[0],0,0]};i.gray.hex=function(e){const r=Math.round(e[0]/100*255)&255;const t=(r<<16)+(r<<8)+r;const n=t.toString(16).toUpperCase();return"000000".substring(n.length)+n};i.rgb.gray=function(e){const r=(e[0]+e[1]+e[2])/3;return[r/255*100]}},8821:(e,r,t)=>{const n=t(9308);const o=t(4140);const i={};const s=Object.keys(n);function wrapRaw(e){const wrappedFn=function(...r){const t=r[0];if(t===undefined||t===null){return t}if(t.length>1){r=t}return e(r)};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}function wrapRounded(e){const wrappedFn=function(...r){const t=r[0];if(t===undefined||t===null){return t}if(t.length>1){r=t}const n=e(r);if(typeof n==="object"){for(let e=n.length,r=0;r<e;r++){n[r]=Math.round(n[r])}}return n};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}s.forEach((e=>{i[e]={};Object.defineProperty(i[e],"channels",{value:n[e].channels});Object.defineProperty(i[e],"labels",{value:n[e].labels});const r=o(e);const t=Object.keys(r);t.forEach((t=>{const n=r[t];i[e][t]=wrapRounded(n);i[e][t].raw=wrapRaw(n)}))}));e.exports=i},4140:(e,r,t)=>{const n=t(9308);function buildGraph(){const e={};const r=Object.keys(n);for(let t=r.length,n=0;n<t;n++){e[r[n]]={distance:-1,parent:null}}return e}function deriveBFS(e){const r=buildGraph();const t=[e];r[e].distance=0;while(t.length){const e=t.pop();const o=Object.keys(n[e]);for(let n=o.length,i=0;i<n;i++){const n=o[i];const s=r[n];if(s.distance===-1){s.distance=r[e].distance+1;s.parent=e;t.unshift(n)}}}return r}function link(e,r){return function(t){return r(e(t))}}function wrapConversion(e,r){const t=[r[e].parent,e];let o=n[r[e].parent][e];let i=r[e].parent;while(r[i].parent){t.unshift(r[i].parent);o=link(n[r[i].parent][i],o);i=r[i].parent}o.conversion=t;return o}e.exports=function(e){const r=deriveBFS(e);const t={};const n=Object.keys(r);for(let e=n.length,o=0;o<e;o++){const e=n[o];const i=r[e];if(i.parent===null){continue}t[e]=wrapConversion(e,r)}return t}},9437:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},1896:e=>{(function(){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(e,r){return e<<r|e>>>32-r},rotr:function(e,r){return e<<32-r|e>>>r},endian:function(e){if(e.constructor==Number){return t.rotl(e,8)&16711935|t.rotl(e,24)&4278255360}for(var r=0;r<e.length;r++)e[r]=t.endian(e[r]);return e},randomBytes:function(e){for(var r=[];e>0;e--)r.push(Math.floor(Math.random()*256));return r},bytesToWords:function(e){for(var r=[],t=0,n=0;t<e.length;t++,n+=8)r[n>>>5]|=e[t]<<24-n%32;return r},wordsToBytes:function(e){for(var r=[],t=0;t<e.length*32;t+=8)r.push(e[t>>>5]>>>24-t%32&255);return r},bytesToHex:function(e){for(var r=[],t=0;t<e.length;t++){r.push((e[t]>>>4).toString(16));r.push((e[t]&15).toString(16))}return r.join("")},hexToBytes:function(e){for(var r=[],t=0;t<e.length;t+=2)r.push(parseInt(e.substr(t,2),16));return r},bytesToBase64:function(e){for(var t=[],n=0;n<e.length;n+=3){var o=e[n]<<16|e[n+1]<<8|e[n+2];for(var i=0;i<4;i++)if(n*8+i*6<=e.length*8)t.push(r.charAt(o>>>6*(3-i)&63));else t.push("=")}return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],n=0,o=0;n<e.length;o=++n%4){if(o==0)continue;t.push((r.indexOf(e.charAt(n-1))&Math.pow(2,-2*o+8)-1)<<o*2|r.indexOf(e.charAt(n))>>>6-o*2)}return t}};e.exports=t})()},9802:(e,r,t)=>{r.formatArgs=formatArgs;r.save=save;r.load=load;r.useColors=useColors;r.storage=localstorage();r.destroy=(()=>{let e=false;return()=>{if(!e){e=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();r.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}let e;return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(r){r[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+r[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const t="color: "+this.color;r.splice(1,0,t,"color: inherit");let n=0;let o=0;r[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}n++;if(e==="%c"){o=n}}));r.splice(o,0,t)}r.log=console.debug||console.log||(()=>{});function save(e){try{if(e){r.storage.setItem("debug",e)}else{r.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=r.storage.getItem("debug")||r.storage.getItem("DEBUG")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=t(4213)(r);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},4213:(e,r,t)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=t(5900);createDebug.destroy=destroy;Object.keys(e).forEach((r=>{createDebug[r]=e[r]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let r=0;for(let t=0;t<e.length;t++){r=(r<<5)-r+e.charCodeAt(t);r|=0}return createDebug.colors[Math.abs(r)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(e){let r;let t=null;let n;let o;function debug(...e){if(!debug.enabled){return}const t=debug;const n=Number(new Date);const o=n-(r||n);t.diff=o;t.prev=r;t.curr=n;r=n;e[0]=createDebug.coerce(e[0]);if(typeof e[0]!=="string"){e.unshift("%O")}let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,n)=>{if(r==="%%"){return"%"}i++;const o=createDebug.formatters[n];if(typeof o==="function"){const n=e[i];r=o.call(t,n);e.splice(i,1);i--}return r}));createDebug.formatArgs.call(t,e);const s=t.log||createDebug.log;s.apply(t,e)}debug.namespace=e;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(t!==null){return t}if(n!==createDebug.namespaces){n=createDebug.namespaces;o=createDebug.enabled(e)}return o},set:e=>{t=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,r){const t=createDebug(this.namespace+(typeof r==="undefined"?":":r)+e);t.log=this.log;return t}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];const r=(typeof e==="string"?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of r){if(e[0]==="-"){createDebug.skips.push(e.slice(1))}else{createDebug.names.push(e)}}}function matchesTemplate(e,r){let t=0;let n=0;let o=-1;let i=0;while(t<e.length){if(n<r.length&&(r[n]===e[t]||r[n]==="*")){if(r[n]==="*"){o=n;i=t;n++}else{t++;n++}}else if(o!==-1){n=o+1;i++;t=i}else{return false}}while(n<r.length&&r[n]==="*"){n++}return n===r.length}function disable(){const e=[...createDebug.names,...createDebug.skips.map((e=>"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){for(const r of createDebug.skips){if(matchesTemplate(e,r)){return false}}for(const r of createDebug.names){if(matchesTemplate(e,r)){return true}}return false}function coerce(e){if(e instanceof Error){return e.stack||e.message}return e}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}createDebug.enable(createDebug.load());return createDebug}e.exports=setup},7674:(e,r,t)=>{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=t(9802)}else{e.exports=t(5040)}},5040:(e,r,t)=>{const n=t(2018);const o=t(9023);r.init=init;r.log=log;r.formatArgs=formatArgs;r.save=save;r.load=load;r.useColors=useColors;r.destroy=o.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");r.colors=[6,2,3,4,5,1];try{const e=t(3662);if(e&&(e.stderr||e).level>=2){r.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}r.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,r)=>{const t=r.substring(6).toLowerCase().replace(/_([a-z])/g,((e,r)=>r.toUpperCase()));let n=process.env[r];if(/^(yes|on|true|enabled)$/i.test(n)){n=true}else if(/^(no|off|false|disabled)$/i.test(n)){n=false}else if(n==="null"){n=null}else{n=Number(n)}e[t]=n;return e}),{});function useColors(){return"colors"in r.inspectOpts?Boolean(r.inspectOpts.colors):n.isatty(process.stderr.fd)}function formatArgs(r){const{namespace:t,useColors:n}=this;if(n){const n=this.color;const o="[3"+(n<8?n:"8;5;"+n);const i=` ${o};1m${t} [0m`;r[0]=i+r[0].split("\n").join("\n"+i);r.push(o+"m+"+e.exports.humanize(this.diff)+"[0m")}else{r[0]=getDate()+t+" "+r[0]}}function getDate(){if(r.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(o.formatWithOptions(r.inspectOpts,...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const t=Object.keys(r.inspectOpts);for(let n=0;n<t.length;n++){e.inspectOpts[t[n]]=r.inspectOpts[t[n]]}}e.exports=t(4213)(r);const{formatters:i}=e.exports;i.o=function(e){this.inspectOpts.colors=this.useColors;return o.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")};i.O=function(e){this.inspectOpts.colors=this.useColors;return o.inspect(e,this.inspectOpts)}},5227:e=>{"use strict";e.exports=e=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},9473:e=>{"use strict";e.exports=(e,r=process.argv)=>{const t=e.startsWith("-")?"":e.length===1?"-":"--";const n=r.indexOf(t+e);const o=r.indexOf("--");return n!==-1&&(o===-1||n<o)}},4180:function(e,r,t){e=t.nmd(e);
|
|
2
|
+
/*! https://mths.be/he v1.2.0 by @mathias | MIT license */(function(t){var n=true&&r;var o=true&&e&&e.exports==n&&e;var i=typeof global=="object"&&global;if(i.global===i||i.window===i){t=i}var s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var a=/[\x01-\x7F]/g;var u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;var l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g;var c={"":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp"," ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"};var p=/["&'<>`]/g;var d={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"};var h=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/;var g=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var m=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g;var b={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"",zwnj:""};var v={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"};var y={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};var E=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];var w=String.fromCharCode;var _={};var T=_.hasOwnProperty;var has=function(e,r){return T.call(e,r)};var contains=function(e,r){var t=-1;var n=e.length;while(++t<n){if(e[t]==r){return true}}return false};var merge=function(e,r){if(!e){return r}var t={};var n;for(n in r){t[n]=has(e,n)?e[n]:r[n]}return t};var codePointToSymbol=function(e,r){var t="";if(e>=55296&&e<=57343||e>1114111){if(r){parseError("character reference outside the permissible Unicode range")}return"�"}if(has(y,e)){if(r){parseError("disallowed character reference")}return y[e]}if(r&&contains(E,e)){parseError("disallowed character reference")}if(e>65535){e-=65536;t+=w(e>>>10&1023|55296);e=56320|e&1023}t+=w(e);return t};var hexEscape=function(e){return"&#x"+e.toString(16).toUpperCase()+";"};var decEscape=function(e){return"&#"+e+";"};var parseError=function(e){throw Error("Parse error: "+e)};var encode=function(e,r){r=merge(r,encode.options);var t=r.strict;if(t&&g.test(e)){parseError("forbidden code point")}var n=r.encodeEverything;var o=r.useNamedReferences;var i=r.allowUnsafeSymbols;var d=r.decimal?decEscape:hexEscape;var escapeBmpSymbol=function(e){return d(e.charCodeAt(0))};if(n){e=e.replace(a,(function(e){if(o&&has(c,e)){return"&"+c[e]+";"}return escapeBmpSymbol(e)}));if(o){e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")}if(o){e=e.replace(l,(function(e){return"&"+c[e]+";"}))}}else if(o){if(!i){e=e.replace(p,(function(e){return"&"+c[e]+";"}))}e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒");e=e.replace(l,(function(e){return"&"+c[e]+";"}))}else if(!i){e=e.replace(p,escapeBmpSymbol)}return e.replace(s,(function(e){var r=e.charCodeAt(0);var t=e.charCodeAt(1);var n=(r-55296)*1024+t-56320+65536;return d(n)})).replace(u,escapeBmpSymbol)};encode.options={allowUnsafeSymbols:false,encodeEverything:false,strict:false,useNamedReferences:false,decimal:false};var decode=function(e,r){r=merge(r,decode.options);var t=r.strict;if(t&&h.test(e)){parseError("malformed character reference")}return e.replace(m,(function(e,n,o,i,s,a,u,l,c){var p;var d;var h;var g;var m;var y;if(n){m=n;return b[m]}if(o){m=o;y=i;if(y&&r.isAttributeValue){if(t&&y=="="){parseError("`&` did not start a character reference")}return e}else{if(t){parseError("named character reference was not terminated by a semicolon")}return v[m]+(y||"")}}if(s){h=s;d=a;if(t&&!d){parseError("character reference was not terminated by a semicolon")}p=parseInt(h,10);return codePointToSymbol(p,t)}if(u){g=u;d=l;if(t&&!d){parseError("character reference was not terminated by a semicolon")}p=parseInt(g,16);return codePointToSymbol(p,t)}if(t){parseError("named character reference was not terminated by a semicolon")}return e}))};decode.options={isAttributeValue:false,strict:false};var escape=function(e){return e.replace(p,(function(e){return d[e]}))};var k={version:"1.2.0",encode:encode,decode:decode,escape:escape,unescape:decode};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){define((function(){return k}))}else if(n&&!n.nodeType){if(o){o.exports=k}else{for(var A in k){has(k,A)&&(n[A]=k[A])}}}else{t.he=k}})(this)},141:e=>{
|
|
3
|
+
/*!
|
|
4
|
+
* Determine if an object is a Buffer
|
|
5
|
+
*
|
|
6
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
7
|
+
* @license MIT
|
|
8
|
+
*/
|
|
9
|
+
e.exports=function(e){return e!=null&&(isBuffer(e)||isSlowBuffer(e)||!!e._isBuffer)};function isBuffer(e){return!!e.constructor&&typeof e.constructor.isBuffer==="function"&&e.constructor.isBuffer(e)}function isSlowBuffer(e){return typeof e.readFloatLE==="function"&&typeof e.slice==="function"&&isBuffer(e.slice(0,0))}},3505:e=>{"use strict";e.exports=()=>{if(process.platform!=="win32"){return true}return Boolean(process.env.CI)||Boolean(process.env.WT_SESSION)||process.env.TERM_PROGRAM==="vscode"||process.env.TERM==="xterm-256color"||process.env.TERM==="alacritty"}},4394:(e,r,t)=>{"use strict";const n=t(2325);const o=t(3505);const i={info:n.blue("ℹ"),success:n.green("✔"),warning:n.yellow("⚠"),error:n.red("✖")};const s={info:n.blue("i"),success:n.green("√"),warning:n.yellow("‼"),error:n.red("×")};e.exports=o()?i:s},1956:(e,r,t)=>{(function(){var r=t(1896),n=t(4700).utf8,o=t(141),i=t(4700).bin,md5=function(e,t){if(e.constructor==String)if(t&&t.encoding==="binary")e=i.stringToBytes(e);else e=n.stringToBytes(e);else if(o(e))e=Array.prototype.slice.call(e,0);else if(!Array.isArray(e)&&e.constructor!==Uint8Array)e=e.toString();var s=r.bytesToWords(e),a=e.length*8,u=1732584193,l=-271733879,c=-1732584194,p=271733878;for(var d=0;d<s.length;d++){s[d]=(s[d]<<8|s[d]>>>24)&16711935|(s[d]<<24|s[d]>>>8)&4278255360}s[a>>>5]|=128<<a%32;s[(a+64>>>9<<4)+14]=a;var h=md5._ff,g=md5._gg,m=md5._hh,b=md5._ii;for(var d=0;d<s.length;d+=16){var v=u,y=l,E=c,w=p;u=h(u,l,c,p,s[d+0],7,-680876936);p=h(p,u,l,c,s[d+1],12,-389564586);c=h(c,p,u,l,s[d+2],17,606105819);l=h(l,c,p,u,s[d+3],22,-1044525330);u=h(u,l,c,p,s[d+4],7,-176418897);p=h(p,u,l,c,s[d+5],12,1200080426);c=h(c,p,u,l,s[d+6],17,-1473231341);l=h(l,c,p,u,s[d+7],22,-45705983);u=h(u,l,c,p,s[d+8],7,1770035416);p=h(p,u,l,c,s[d+9],12,-1958414417);c=h(c,p,u,l,s[d+10],17,-42063);l=h(l,c,p,u,s[d+11],22,-1990404162);u=h(u,l,c,p,s[d+12],7,1804603682);p=h(p,u,l,c,s[d+13],12,-40341101);c=h(c,p,u,l,s[d+14],17,-1502002290);l=h(l,c,p,u,s[d+15],22,1236535329);u=g(u,l,c,p,s[d+1],5,-165796510);p=g(p,u,l,c,s[d+6],9,-1069501632);c=g(c,p,u,l,s[d+11],14,643717713);l=g(l,c,p,u,s[d+0],20,-373897302);u=g(u,l,c,p,s[d+5],5,-701558691);p=g(p,u,l,c,s[d+10],9,38016083);c=g(c,p,u,l,s[d+15],14,-660478335);l=g(l,c,p,u,s[d+4],20,-405537848);u=g(u,l,c,p,s[d+9],5,568446438);p=g(p,u,l,c,s[d+14],9,-1019803690);c=g(c,p,u,l,s[d+3],14,-187363961);l=g(l,c,p,u,s[d+8],20,1163531501);u=g(u,l,c,p,s[d+13],5,-1444681467);p=g(p,u,l,c,s[d+2],9,-51403784);c=g(c,p,u,l,s[d+7],14,1735328473);l=g(l,c,p,u,s[d+12],20,-1926607734);u=m(u,l,c,p,s[d+5],4,-378558);p=m(p,u,l,c,s[d+8],11,-2022574463);c=m(c,p,u,l,s[d+11],16,1839030562);l=m(l,c,p,u,s[d+14],23,-35309556);u=m(u,l,c,p,s[d+1],4,-1530992060);p=m(p,u,l,c,s[d+4],11,1272893353);c=m(c,p,u,l,s[d+7],16,-155497632);l=m(l,c,p,u,s[d+10],23,-1094730640);u=m(u,l,c,p,s[d+13],4,681279174);p=m(p,u,l,c,s[d+0],11,-358537222);c=m(c,p,u,l,s[d+3],16,-722521979);l=m(l,c,p,u,s[d+6],23,76029189);u=m(u,l,c,p,s[d+9],4,-640364487);p=m(p,u,l,c,s[d+12],11,-421815835);c=m(c,p,u,l,s[d+15],16,530742520);l=m(l,c,p,u,s[d+2],23,-995338651);u=b(u,l,c,p,s[d+0],6,-198630844);p=b(p,u,l,c,s[d+7],10,1126891415);c=b(c,p,u,l,s[d+14],15,-1416354905);l=b(l,c,p,u,s[d+5],21,-57434055);u=b(u,l,c,p,s[d+12],6,1700485571);p=b(p,u,l,c,s[d+3],10,-1894986606);c=b(c,p,u,l,s[d+10],15,-1051523);l=b(l,c,p,u,s[d+1],21,-2054922799);u=b(u,l,c,p,s[d+8],6,1873313359);p=b(p,u,l,c,s[d+15],10,-30611744);c=b(c,p,u,l,s[d+6],15,-1560198380);l=b(l,c,p,u,s[d+13],21,1309151649);u=b(u,l,c,p,s[d+4],6,-145523070);p=b(p,u,l,c,s[d+11],10,-1120210379);c=b(c,p,u,l,s[d+2],15,718787259);l=b(l,c,p,u,s[d+9],21,-343485551);u=u+v>>>0;l=l+y>>>0;c=c+E>>>0;p=p+w>>>0}return r.endian([u,l,c,p])};md5._ff=function(e,r,t,n,o,i,s){var a=e+(r&t|~r&n)+(o>>>0)+s;return(a<<i|a>>>32-i)+r};md5._gg=function(e,r,t,n,o,i,s){var a=e+(r&n|t&~n)+(o>>>0)+s;return(a<<i|a>>>32-i)+r};md5._hh=function(e,r,t,n,o,i,s){var a=e+(r^t^n)+(o>>>0)+s;return(a<<i|a>>>32-i)+r};md5._ii=function(e,r,t,n,o,i,s){var a=e+(t^(r|~n))+(o>>>0)+s;return(a<<i|a>>>32-i)+r};md5._blocksize=16;md5._digestsize=16;e.exports=function(e,t){if(e===undefined||e===null)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(md5(e,t));return t&&t.asBytes?n:t&&t.asString?i.bytesToString(n):r.bytesToHex(n)}})()},1260:function(e,r,t){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const o=t(2057);const i=t(9896);const s=t(6928);const a=n(t(1956));class GenerateCtrfReport extends o.reporters.Base{constructor(e,r){var t,n,o,a,u,l,c,p,d,h,g,m,b,v,y,E,w,_,T,k,A,N,S,R,D,O,x,C,I,L,P;super(e);this.reporterName="mocha-ctrf-json-reporter";this.defaultOutputFile="ctrf-report.json";this.defaultOutputDir="ctrf";this.filename=this.defaultOutputFile;this.projectRoot=process.cwd();this.mocharcJsPath=(0,s.join)(this.projectRoot,".mocharc.js");this.mocharcJsonPath=(0,s.join)(this.projectRoot,".mocharc.json");this.reporterOptions=this.getReporterOptions(r);this.reporterOptions={outputFile:(n=(t=this.reporterOptions)===null||t===void 0?void 0:t.outputFile)!==null&&n!==void 0?n:this.defaultOutputFile,outputDir:(a=(o=this.reporterOptions)===null||o===void 0?void 0:o.outputDir)!==null&&a!==void 0?a:this.defaultOutputDir,appName:(l=(u=this.reporterOptions)===null||u===void 0?void 0:u.appName)!==null&&l!==void 0?l:undefined,appVersion:(p=(c=this.reporterOptions)===null||c===void 0?void 0:c.appVersion)!==null&&p!==void 0?p:undefined,osPlatform:(h=(d=this.reporterOptions)===null||d===void 0?void 0:d.osPlatform)!==null&&h!==void 0?h:undefined,osRelease:(m=(g=this.reporterOptions)===null||g===void 0?void 0:g.osRelease)!==null&&m!==void 0?m:undefined,osVersion:(v=(b=this.reporterOptions)===null||b===void 0?void 0:b.osVersion)!==null&&v!==void 0?v:undefined,buildName:(E=(y=this.reporterOptions)===null||y===void 0?void 0:y.buildName)!==null&&E!==void 0?E:undefined,buildNumber:(_=(w=this.reporterOptions)===null||w===void 0?void 0:w.buildNumber)!==null&&_!==void 0?_:undefined,buildUrl:(k=(T=this.reporterOptions)===null||T===void 0?void 0:T.buildUrl)!==null&&k!==void 0?k:undefined,repositoryName:(N=(A=this.reporterOptions)===null||A===void 0?void 0:A.repositoryName)!==null&&N!==void 0?N:undefined,repositoryUrl:(R=(S=this.reporterOptions)===null||S===void 0?void 0:S.repositoryUrl)!==null&&R!==void 0?R:undefined,branchName:(O=(D=this.reporterOptions)===null||D===void 0?void 0:D.branchName)!==null&&O!==void 0?O:undefined,testEnvironment:(C=(x=this.reporterOptions)===null||x===void 0?void 0:x.testEnvironment)!==null&&C!==void 0?C:undefined};this.ctrfReport={results:{tool:{name:"mocha"},summary:{tests:0,passed:0,failed:0,pending:0,skipped:0,other:0,start:0,stop:0},tests:[]}};this.ctrfEnvironment={};if(((I=this.reporterOptions)===null||I===void 0?void 0:I.outputFile)!==undefined)this.setFilename(this.reporterOptions.outputFile);if(!(0,i.existsSync)((L=this.reporterOptions.outputDir)!==null&&L!==void 0?L:this.defaultOutputDir)){(0,i.mkdirSync)((P=this.reporterOptions.outputDir)!==null&&P!==void 0?P:this.defaultOutputDir,{recursive:true})}e.on("start",this.handleStart.bind(this)).on("pass",this.handleTestEnd.bind(this)).on("pending",this.handleTestEnd.bind(this)).on("fail",this.handleTestEnd.bind(this)).on("end",this.handleEnd.bind(this))}handleStart(){var e;this.ctrfReport.results.summary.start=Date.now();this.setEnvironmentDetails((e=this.reporterOptions)!==null&&e!==void 0?e:{});if(this.hasEnvironmentDetails(this.ctrfEnvironment)){this.ctrfReport.results.environment=this.ctrfEnvironment}}handleTestEnd(e,r){if(r!=null){e.err=r}this.updateCtrfTestResultsFromTest(e,this.ctrfReport);this.updateCtrfTotalsFromTest(e,this.ctrfReport)}handleEnd(){this.ctrfReport.results.summary.stop=Date.now();this.writeReportToFile(this.ctrfReport)}updateCtrfTestResultsFromTest(e,r){var t,n,o;const i=(t=e.state)!==null&&t!==void 0?t:"other";const s=Date.now();const a=(n=e.duration)!==null&&n!==void 0?n:0;const u=s-a;const l=e.currentRetry();const c={name:e.fullTitle(),status:i,duration:(o=e.duration)!==null&&o!==void 0?o:0,retries:l,flaky:e.state==="passed"&&l>0,filePath:e.file,rawStatus:e.state,start:u,stop:Date.now()};if(e.state==="failed"&&e.err!=null){const r=this.extractFailureDetails(e);c.message=r.message;c.trace=r.trace}r.results.tests.push(c)}getReporterOptions(e){if((0,i.existsSync)(this.mocharcJsPath)){return this.getReporterOptionsFromMocharcJs(this.mocharcJsPath)}if((0,i.existsSync)(this.mocharcJsonPath)){return this.getReporterOptionsFromMocharcJson(this.mocharcJsonPath)}else{return this.getReporterOptionsFromCommandLine(e)}}getReporterOptionsFromMocharcJs(e){var r;const t=require(e);return(r=t.reporterOptions)!==null&&r!==void 0?r:{}}getReporterOptionsFromMocharcJson(e){var r;const t=(0,i.readFileSync)(e,"utf-8");const n=JSON.parse(t);return(r=n.reporterOptions)!==null&&r!==void 0?r:{}}getReporterOptionsFromCommandLine(e){var r,t;return(t=(r=e.reporterOptions)!==null&&r!==void 0?r:e["reporter-option"])!==null&&t!==void 0?t:{}}setFilename(e){if(e.endsWith(".json")){this.filename=e}else{this.filename=`${e}.json`}}updateCtrfTotalsFromTest(e,r){r.results.summary.tests++;switch(e.state){case"passed":r.results.summary.passed++;break;case"failed":r.results.summary.failed++;break;case"pending":r.results.summary.pending++;break;case"skipped":r.results.summary.skipped++;break;default:r.results.summary.other++;break}}setEnvironmentDetails(e){if(e.appName!==undefined){this.ctrfEnvironment.appName=e.appName}if(e.appVersion!==undefined){this.ctrfEnvironment.appVersion=e.appVersion}if(e.osPlatform!==undefined){this.ctrfEnvironment.osPlatform=e.osPlatform}if(e.osRelease!==undefined){this.ctrfEnvironment.osRelease=e.osRelease}if(e.osVersion!==undefined){this.ctrfEnvironment.osVersion=e.osVersion}if(e.buildName!==undefined){this.ctrfEnvironment.buildName=e.buildName}if(e.buildNumber!==undefined){this.ctrfEnvironment.buildNumber=e.buildNumber}if(e.buildUrl!==undefined){this.ctrfEnvironment.buildUrl=e.buildUrl}if(e.repositoryName!==undefined){this.ctrfEnvironment.repositoryName=e.repositoryName}if(e.repositoryUrl!==undefined){this.ctrfEnvironment.repositoryUrl=e.repositoryUrl}if(e.branchName!==undefined){this.ctrfEnvironment.branchName=e.branchName}if(e.testEnvironment!==undefined){this.ctrfEnvironment.testEnvironment=e.testEnvironment}}hasEnvironmentDetails(e){return Object.keys(e).length>0}extractFailureDetails(e){if(e.state==="failed"&&e.err!==undefined){const r={};if(e.err.message!==undefined){r.message=`${e.err.name} ${e.err.message}`}if(e.err.stack!==undefined){r.trace=e.err.stack}return r}return{}}writeReportToFile(e){var r,t;let n=(r=this.reporterOptions.outputFile)!==null&&r!==void 0?r:this.defaultOutputFile;if(n.includes("[hash]")){n=n.replace("[hash]",(0,a.default)(JSON.stringify(e)))}const o=(0,s.join)((t=this.reporterOptions.outputDir)!==null&&t!==void 0?t:this.defaultOutputDir,n);const u=JSON.stringify(e,null,2);try{(0,i.writeFileSync)(o,u+"\n");console.log(`${this.reporterName}: successfully written ctrf json to %s/%s`,this.reporterOptions.outputDir,this.reporterOptions.outputFile)}catch(e){console.error(`Error writing ctrf json report:, ${String(e)}`)}}}e.exports=GenerateCtrfReport},1364:(e,r,t)=>{"use strict";const n=t(1260);e.exports=n},6584:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.convertChangesToDMP=convertChangesToDMP;function convertChangesToDMP(e){var r=[],t,n;for(var o=0;o<e.length;o++){t=e[o];if(t.added){n=1}else if(t.removed){n=-1}else{n=0}r.push([n,t.value])}return r}},5408:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.convertChangesToXML=convertChangesToXML;function convertChangesToXML(e){var r=[];for(var t=0;t<e.length;t++){var n=e[t];if(n.added){r.push("<ins>")}else if(n.removed){r.push("<del>")}r.push(escapeHTML(n.value));if(n.added){r.push("</ins>")}else if(n.removed){r.push("</del>")}}return r.join("")}function escapeHTML(e){var r=e;r=r.replace(/&/g,"&");r=r.replace(/</g,"<");r=r.replace(/>/g,">");r=r.replace(/"/g,""");return r}},1844:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.diffArrays=diffArrays;r.arrayDiff=void 0;var n=_interopRequireDefault(t(3e3));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o=new n["default"];r.arrayDiff=o;o.tokenize=function(e){return e.slice()};o.join=o.removeEmpty=function(e){return e};function diffArrays(e,r,t){return o.diff(e,r,t)}},3e3:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=Diff;function Diff(){}Diff.prototype={diff:function diff(e,r){var t;var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var o=n.callback;if(typeof n==="function"){o=n;n={}}this.options=n;var i=this;function done(e){if(o){setTimeout((function(){o(undefined,e)}),0);return true}else{return e}}e=this.castInput(e);r=this.castInput(r);e=this.removeEmpty(this.tokenize(e));r=this.removeEmpty(this.tokenize(r));var s=r.length,a=e.length;var u=1;var l=s+a;if(n.maxEditLength){l=Math.min(l,n.maxEditLength)}var c=(t=n.timeout)!==null&&t!==void 0?t:Infinity;var p=Date.now()+c;var d=[{oldPos:-1,lastComponent:undefined}];var h=this.extractCommon(d[0],r,e,0);if(d[0].oldPos+1>=a&&h+1>=s){return done([{value:this.join(r),count:r.length}])}var g=-Infinity,m=Infinity;function execEditLength(){for(var t=Math.max(g,-u);t<=Math.min(m,u);t+=2){var n=void 0;var o=d[t-1],l=d[t+1];if(o){d[t-1]=undefined}var c=false;if(l){var p=l.oldPos-t;c=l&&0<=p&&p<s}var b=o&&o.oldPos+1<a;if(!c&&!b){d[t]=undefined;continue}if(!b||c&&o.oldPos+1<l.oldPos){n=i.addToPath(l,true,undefined,0)}else{n=i.addToPath(o,undefined,true,1)}h=i.extractCommon(n,r,e,t);if(n.oldPos+1>=a&&h+1>=s){return done(buildValues(i,n.lastComponent,r,e,i.useLongestToken))}else{d[t]=n;if(n.oldPos+1>=a){m=Math.min(m,t-1)}if(h+1>=s){g=Math.max(g,t+1)}}}u++}if(o){(function exec(){setTimeout((function(){if(u>l||Date.now()>p){return o()}if(!execEditLength()){exec()}}),0)})()}else{while(u<=l&&Date.now()<=p){var b=execEditLength();if(b){return b}}}},addToPath:function addToPath(e,r,t,n){var o=e.lastComponent;if(o&&o.added===r&&o.removed===t){return{oldPos:e.oldPos+n,lastComponent:{count:o.count+1,added:r,removed:t,previousComponent:o.previousComponent}}}else{return{oldPos:e.oldPos+n,lastComponent:{count:1,added:r,removed:t,previousComponent:o}}}},extractCommon:function extractCommon(e,r,t,n){var o=r.length,i=t.length,s=e.oldPos,a=s-n,u=0;while(a+1<o&&s+1<i&&this.equals(r[a+1],t[s+1])){a++;s++;u++}if(u){e.lastComponent={count:u,previousComponent:e.lastComponent}}e.oldPos=s;return a},equals:function equals(e,r){if(this.options.comparator){return this.options.comparator(e,r)}else{return e===r||this.options.ignoreCase&&e.toLowerCase()===r.toLowerCase()}},removeEmpty:function removeEmpty(e){var r=[];for(var t=0;t<e.length;t++){if(e[t]){r.push(e[t])}}return r},castInput:function castInput(e){return e},tokenize:function tokenize(e){return e.split("")},join:function join(e){return e.join("")}};function buildValues(e,r,t,n,o){var i=[];var s;while(r){i.push(r);s=r.previousComponent;delete r.previousComponent;r=s}i.reverse();var a=0,u=i.length,l=0,c=0;for(;a<u;a++){var p=i[a];if(!p.removed){if(!p.added&&o){var d=t.slice(l,l+p.count);d=d.map((function(e,r){var t=n[c+r];return t.length>e.length?t:e}));p.value=e.join(d)}else{p.value=e.join(t.slice(l,l+p.count))}l+=p.count;if(!p.added){c+=p.count}}else{p.value=e.join(n.slice(c,c+p.count));c+=p.count;if(a&&i[a-1].added){var h=i[a-1];i[a-1]=i[a];i[a]=h}}}var g=i[u-1];if(u>1&&typeof g.value==="string"&&(g.added||g.removed)&&e.equals("",g.value)){i[u-2].value+=g.value;i.pop()}return i}},3010:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.diffChars=diffChars;r.characterDiff=void 0;var n=_interopRequireDefault(t(3e3));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o=new n["default"];r.characterDiff=o;function diffChars(e,r,t){return o.diff(e,r,t)}},9230:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.diffCss=diffCss;r.cssDiff=void 0;var n=_interopRequireDefault(t(3e3));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o=new n["default"];r.cssDiff=o;o.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};function diffCss(e,r,t){return o.diff(e,r,t)}},9471:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.diffJson=diffJson;r.canonicalize=canonicalize;r.jsonDiff=void 0;var n=_interopRequireDefault(t(3e3));var o=t(2427);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _typeof(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}var i=Object.prototype.toString;var s=new n["default"];r.jsonDiff=s;s.useLongestToken=true;s.tokenize=o.lineDiff.tokenize;s.castInput=function(e){var r=this.options,t=r.undefinedReplacement,n=r.stringifyReplacer,o=n===void 0?function(e,r){return typeof r==="undefined"?t:r}:n;return typeof e==="string"?e:JSON.stringify(canonicalize(e,null,null,o),o," ")};s.equals=function(e,r){return n["default"].prototype.equals.call(s,e.replace(/,([\r\n])/g,"$1"),r.replace(/,([\r\n])/g,"$1"))};function diffJson(e,r,t){return s.diff(e,r,t)}function canonicalize(e,r,t,n,o){r=r||[];t=t||[];if(n){e=n(o,e)}var s;for(s=0;s<r.length;s+=1){if(r[s]===e){return t[s]}}var a;if("[object Array]"===i.call(e)){r.push(e);a=new Array(e.length);t.push(a);for(s=0;s<e.length;s+=1){a[s]=canonicalize(e[s],r,t,n,o)}r.pop();t.pop();return a}if(e&&e.toJSON){e=e.toJSON()}if(_typeof(e)==="object"&&e!==null){r.push(e);a={};t.push(a);var u=[],l;for(l in e){if(e.hasOwnProperty(l)){u.push(l)}}u.sort();for(s=0;s<u.length;s+=1){l=u[s];a[l]=canonicalize(e[l],r,t,n,l)}r.pop();t.pop()}else{a=e}return a}},2427:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.diffLines=diffLines;r.diffTrimmedLines=diffTrimmedLines;r.lineDiff=void 0;var n=_interopRequireDefault(t(3e3));var o=t(7990);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=new n["default"];r.lineDiff=i;i.tokenize=function(e){if(this.options.stripTrailingCr){e=e.replace(/\r\n/g,"\n")}var r=[],t=e.split(/(\n|\r\n)/);if(!t[t.length-1]){t.pop()}for(var n=0;n<t.length;n++){var o=t[n];if(n%2&&!this.options.newlineIsToken){r[r.length-1]+=o}else{if(this.options.ignoreWhitespace){o=o.trim()}r.push(o)}}return r};function diffLines(e,r,t){return i.diff(e,r,t)}function diffTrimmedLines(e,r,t){var n=(0,o.generateOptions)(t,{ignoreWhitespace:true});return i.diff(e,r,n)}},1992:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.diffSentences=diffSentences;r.sentenceDiff=void 0;var n=_interopRequireDefault(t(3e3));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o=new n["default"];r.sentenceDiff=o;o.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)};function diffSentences(e,r,t){return o.diff(e,r,t)}},8781:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.diffWords=diffWords;r.diffWordsWithSpace=diffWordsWithSpace;r.wordDiff=void 0;var n=_interopRequireDefault(t(3e3));var o=t(7990);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/;var s=/\S/;var a=new n["default"];r.wordDiff=a;a.equals=function(e,r){if(this.options.ignoreCase){e=e.toLowerCase();r=r.toLowerCase()}return e===r||this.options.ignoreWhitespace&&!s.test(e)&&!s.test(r)};a.tokenize=function(e){var r=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/);for(var t=0;t<r.length-1;t++){if(!r[t+1]&&r[t+2]&&i.test(r[t])&&i.test(r[t+2])){r[t]+=r[t+2];r.splice(t+1,2);t--}}return r};function diffWords(e,r,t){t=(0,o.generateOptions)(t,{ignoreWhitespace:true});return a.diff(e,r,t)}function diffWordsWithSpace(e,r,t){return a.diff(e,r,t)}},8125:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"Diff",{enumerable:true,get:function get(){return n["default"]}});Object.defineProperty(r,"diffChars",{enumerable:true,get:function get(){return o.diffChars}});Object.defineProperty(r,"diffWords",{enumerable:true,get:function get(){return i.diffWords}});Object.defineProperty(r,"diffWordsWithSpace",{enumerable:true,get:function get(){return i.diffWordsWithSpace}});Object.defineProperty(r,"diffLines",{enumerable:true,get:function get(){return s.diffLines}});Object.defineProperty(r,"diffTrimmedLines",{enumerable:true,get:function get(){return s.diffTrimmedLines}});Object.defineProperty(r,"diffSentences",{enumerable:true,get:function get(){return a.diffSentences}});Object.defineProperty(r,"diffCss",{enumerable:true,get:function get(){return u.diffCss}});Object.defineProperty(r,"diffJson",{enumerable:true,get:function get(){return l.diffJson}});Object.defineProperty(r,"canonicalize",{enumerable:true,get:function get(){return l.canonicalize}});Object.defineProperty(r,"diffArrays",{enumerable:true,get:function get(){return c.diffArrays}});Object.defineProperty(r,"applyPatch",{enumerable:true,get:function get(){return p.applyPatch}});Object.defineProperty(r,"applyPatches",{enumerable:true,get:function get(){return p.applyPatches}});Object.defineProperty(r,"parsePatch",{enumerable:true,get:function get(){return d.parsePatch}});Object.defineProperty(r,"merge",{enumerable:true,get:function get(){return h.merge}});Object.defineProperty(r,"reversePatch",{enumerable:true,get:function get(){return g.reversePatch}});Object.defineProperty(r,"structuredPatch",{enumerable:true,get:function get(){return m.structuredPatch}});Object.defineProperty(r,"createTwoFilesPatch",{enumerable:true,get:function get(){return m.createTwoFilesPatch}});Object.defineProperty(r,"createPatch",{enumerable:true,get:function get(){return m.createPatch}});Object.defineProperty(r,"formatPatch",{enumerable:true,get:function get(){return m.formatPatch}});Object.defineProperty(r,"convertChangesToDMP",{enumerable:true,get:function get(){return b.convertChangesToDMP}});Object.defineProperty(r,"convertChangesToXML",{enumerable:true,get:function get(){return v.convertChangesToXML}});var n=_interopRequireDefault(t(3e3));var o=t(3010);var i=t(8781);var s=t(2427);var a=t(1992);var u=t(9230);var l=t(9471);var c=t(1844);var p=t(3852);var d=t(4175);var h=t(1072);var g=t(4930);var m=t(4330);var b=t(6584);var v=t(5408);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},3852:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.applyPatch=applyPatch;r.applyPatches=applyPatches;var n=t(4175);var o=_interopRequireDefault(t(1766));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function applyPatch(e,r){var t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};if(typeof r==="string"){r=(0,n.parsePatch)(r)}if(Array.isArray(r)){if(r.length>1){throw new Error("applyPatch only works with a single input.")}r=r[0]}var i=e.split(/\r\n|[\n\v\f\r\x85]/),s=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=r.hunks,u=t.compareLine||function(e,r,t,n){return r===n},l=0,c=t.fuzzFactor||0,p=0,d=0,h,g;function hunkFits(e,r){for(var t=0;t<e.lines.length;t++){var n=e.lines[t],o=n.length>0?n[0]:" ",s=n.length>0?n.substr(1):n;if(o===" "||o==="-"){if(!u(r+1,i[r],o,s)){l++;if(l>c){return false}}r++}}return true}for(var m=0;m<a.length;m++){var b=a[m],v=i.length-b.oldLines,y=0,E=d+b.oldStart-1;var w=(0,o["default"])(E,p,v);for(;y!==undefined;y=w()){if(hunkFits(b,E+y)){b.offset=d+=y;break}}if(y===undefined){return false}p=b.offset+b.oldStart+b.oldLines}var _=0;for(var T=0;T<a.length;T++){var k=a[T],A=k.oldStart+k.offset+_-1;_+=k.newLines-k.oldLines;for(var N=0;N<k.lines.length;N++){var S=k.lines[N],R=S.length>0?S[0]:" ",D=S.length>0?S.substr(1):S,O=k.linedelimiters&&k.linedelimiters[N]||"\n";if(R===" "){A++}else if(R==="-"){i.splice(A,1);s.splice(A,1)}else if(R==="+"){i.splice(A,0,D);s.splice(A,0,O);A++}else if(R==="\\"){var x=k.lines[N-1]?k.lines[N-1][0]:null;if(x==="+"){h=true}else if(x==="-"){g=true}}}}if(h){while(!i[i.length-1]){i.pop();s.pop()}}else if(g){i.push("");s.push("\n")}for(var C=0;C<i.length-1;C++){i[C]=i[C]+s[C]}return i.join("")}function applyPatches(e,r){if(typeof e==="string"){e=(0,n.parsePatch)(e)}var t=0;function processIndex(){var n=e[t++];if(!n){return r.complete()}r.loadFile(n,(function(e,t){if(e){return r.complete(e)}var o=applyPatch(t,n,r);r.patched(n,o,(function(e){if(e){return r.complete(e)}processIndex()}))}))}processIndex()}},4330:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.structuredPatch=structuredPatch;r.formatPatch=formatPatch;r.createTwoFilesPatch=createTwoFilesPatch;r.createPatch=createPatch;var n=t(2427);function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(!e)return;if(typeof e==="string")return _arrayLikeToArray(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor)t=e.constructor.name;if(t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return _arrayLikeToArray(e,r)}function _iterableToArray(e){if(typeof Symbol!=="undefined"&&Symbol.iterator in Object(e))return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,r){if(r==null||r>e.length)r=e.length;for(var t=0,n=new Array(r);t<r;t++){n[t]=e[t]}return n}function structuredPatch(e,r,t,o,i,s,a){if(!a){a={}}if(typeof a.context==="undefined"){a.context=4}var u=(0,n.diffLines)(t,o,a);if(!u){return}u.push({value:"",lines:[]});function contextLines(e){return e.map((function(e){return" "+e}))}var l=[];var c=0,p=0,d=[],h=1,g=1;var m=function _loop(e){var r=u[e],n=r.lines||r.value.replace(/\n$/,"").split("\n");r.lines=n;if(r.added||r.removed){var i;if(!c){var s=u[e-1];c=h;p=g;if(s){d=a.context>0?contextLines(s.lines.slice(-a.context)):[];c-=d.length;p-=d.length}}(i=d).push.apply(i,_toConsumableArray(n.map((function(e){return(r.added?"+":"-")+e}))));if(r.added){g+=n.length}else{h+=n.length}}else{if(c){if(n.length<=a.context*2&&e<u.length-2){var m;(m=d).push.apply(m,_toConsumableArray(contextLines(n)))}else{var b;var v=Math.min(n.length,a.context);(b=d).push.apply(b,_toConsumableArray(contextLines(n.slice(0,v))));var y={oldStart:c,oldLines:h-c+v,newStart:p,newLines:g-p+v,lines:d};if(e>=u.length-2&&n.length<=a.context){var E=/\n$/.test(t);var w=/\n$/.test(o);var _=n.length==0&&d.length>y.oldLines;if(!E&&_&&t.length>0){d.splice(y.oldLines,0,"\")}if(!E&&!_||!w){d.push("\")}}l.push(y);c=0;p=0;d=[]}}h+=n.length;g+=n.length}};for(var b=0;b<u.length;b++){m(b)}return{oldFileName:e,newFileName:r,oldHeader:i,newHeader:s,hunks:l}}function formatPatch(e){if(Array.isArray(e)){return e.map(formatPatch).join("\n")}var r=[];if(e.oldFileName==e.newFileName){r.push("Index: "+e.oldFileName)}r.push("===================================================================");r.push("--- "+e.oldFileName+(typeof e.oldHeader==="undefined"?"":"\t"+e.oldHeader));r.push("+++ "+e.newFileName+(typeof e.newHeader==="undefined"?"":"\t"+e.newHeader));for(var t=0;t<e.hunks.length;t++){var n=e.hunks[t];if(n.oldLines===0){n.oldStart-=1}if(n.newLines===0){n.newStart-=1}r.push("@@ -"+n.oldStart+","+n.oldLines+" +"+n.newStart+","+n.newLines+" @@");r.push.apply(r,n.lines)}return r.join("\n")+"\n"}function createTwoFilesPatch(e,r,t,n,o,i,s){return formatPatch(structuredPatch(e,r,t,n,o,i,s))}function createPatch(e,r,t,n,o,i){return createTwoFilesPatch(e,e,r,t,n,o,i)}},1072:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.calcLineCount=calcLineCount;r.merge=merge;var n=t(4330);var o=t(4175);var i=t(4667);function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(!e)return;if(typeof e==="string")return _arrayLikeToArray(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor)t=e.constructor.name;if(t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return _arrayLikeToArray(e,r)}function _iterableToArray(e){if(typeof Symbol!=="undefined"&&Symbol.iterator in Object(e))return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,r){if(r==null||r>e.length)r=e.length;for(var t=0,n=new Array(r);t<r;t++){n[t]=e[t]}return n}function calcLineCount(e){var r=calcOldNewLineCount(e.lines),t=r.oldLines,n=r.newLines;if(t!==undefined){e.oldLines=t}else{delete e.oldLines}if(n!==undefined){e.newLines=n}else{delete e.newLines}}function merge(e,r,t){e=loadPatch(e,t);r=loadPatch(r,t);var n={};if(e.index||r.index){n.index=e.index||r.index}if(e.newFileName||r.newFileName){if(!fileNameChanged(e)){n.oldFileName=r.oldFileName||e.oldFileName;n.newFileName=r.newFileName||e.newFileName;n.oldHeader=r.oldHeader||e.oldHeader;n.newHeader=r.newHeader||e.newHeader}else if(!fileNameChanged(r)){n.oldFileName=e.oldFileName;n.newFileName=e.newFileName;n.oldHeader=e.oldHeader;n.newHeader=e.newHeader}else{n.oldFileName=selectField(n,e.oldFileName,r.oldFileName);n.newFileName=selectField(n,e.newFileName,r.newFileName);n.oldHeader=selectField(n,e.oldHeader,r.oldHeader);n.newHeader=selectField(n,e.newHeader,r.newHeader)}}n.hunks=[];var o=0,i=0,s=0,a=0;while(o<e.hunks.length||i<r.hunks.length){var u=e.hunks[o]||{oldStart:Infinity},l=r.hunks[i]||{oldStart:Infinity};if(hunkBefore(u,l)){n.hunks.push(cloneHunk(u,s));o++;a+=u.newLines-u.oldLines}else if(hunkBefore(l,u)){n.hunks.push(cloneHunk(l,a));i++;s+=l.newLines-l.oldLines}else{var c={oldStart:Math.min(u.oldStart,l.oldStart),oldLines:0,newStart:Math.min(u.newStart+s,l.oldStart+a),newLines:0,lines:[]};mergeLines(c,u.oldStart,u.lines,l.oldStart,l.lines);i++;o++;n.hunks.push(c)}}return n}function loadPatch(e,r){if(typeof e==="string"){if(/^@@/m.test(e)||/^Index:/m.test(e)){return(0,o.parsePatch)(e)[0]}if(!r){throw new Error("Must provide a base reference or pass in a patch")}return(0,n.structuredPatch)(undefined,undefined,r,e)}return e}function fileNameChanged(e){return e.newFileName&&e.newFileName!==e.oldFileName}function selectField(e,r,t){if(r===t){return r}else{e.conflict=true;return{mine:r,theirs:t}}}function hunkBefore(e,r){return e.oldStart<r.oldStart&&e.oldStart+e.oldLines<r.oldStart}function cloneHunk(e,r){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+r,newLines:e.newLines,lines:e.lines}}function mergeLines(e,r,t,n,o){var i={offset:r,lines:t,index:0},s={offset:n,lines:o,index:0};insertLeading(e,i,s);insertLeading(e,s,i);while(i.index<i.lines.length&&s.index<s.lines.length){var a=i.lines[i.index],u=s.lines[s.index];if((a[0]==="-"||a[0]==="+")&&(u[0]==="-"||u[0]==="+")){mutualChange(e,i,s)}else if(a[0]==="+"&&u[0]===" "){var l;(l=e.lines).push.apply(l,_toConsumableArray(collectChange(i)))}else if(u[0]==="+"&&a[0]===" "){var c;(c=e.lines).push.apply(c,_toConsumableArray(collectChange(s)))}else if(a[0]==="-"&&u[0]===" "){removal(e,i,s)}else if(u[0]==="-"&&a[0]===" "){removal(e,s,i,true)}else if(a===u){e.lines.push(a);i.index++;s.index++}else{conflict(e,collectChange(i),collectChange(s))}}insertTrailing(e,i);insertTrailing(e,s);calcLineCount(e)}function mutualChange(e,r,t){var n=collectChange(r),o=collectChange(t);if(allRemoves(n)&&allRemoves(o)){if((0,i.arrayStartsWith)(n,o)&&skipRemoveSuperset(t,n,n.length-o.length)){var s;(s=e.lines).push.apply(s,_toConsumableArray(n));return}else if((0,i.arrayStartsWith)(o,n)&&skipRemoveSuperset(r,o,o.length-n.length)){var a;(a=e.lines).push.apply(a,_toConsumableArray(o));return}}else if((0,i.arrayEqual)(n,o)){var u;(u=e.lines).push.apply(u,_toConsumableArray(n));return}conflict(e,n,o)}function removal(e,r,t,n){var o=collectChange(r),i=collectContext(t,o);if(i.merged){var s;(s=e.lines).push.apply(s,_toConsumableArray(i.merged))}else{conflict(e,n?i:o,n?o:i)}}function conflict(e,r,t){e.conflict=true;e.lines.push({conflict:true,mine:r,theirs:t})}function insertLeading(e,r,t){while(r.offset<t.offset&&r.index<r.lines.length){var n=r.lines[r.index++];e.lines.push(n);r.offset++}}function insertTrailing(e,r){while(r.index<r.lines.length){var t=r.lines[r.index++];e.lines.push(t)}}function collectChange(e){var r=[],t=e.lines[e.index][0];while(e.index<e.lines.length){var n=e.lines[e.index];if(t==="-"&&n[0]==="+"){t="+"}if(t===n[0]){r.push(n);e.index++}else{break}}return r}function collectContext(e,r){var t=[],n=[],o=0,i=false,s=false;while(o<r.length&&e.index<e.lines.length){var a=e.lines[e.index],u=r[o];if(u[0]==="+"){break}i=i||a[0]!==" ";n.push(u);o++;if(a[0]==="+"){s=true;while(a[0]==="+"){t.push(a);a=e.lines[++e.index]}}if(u.substr(1)===a.substr(1)){t.push(a);e.index++}else{s=true}}if((r[o]||"")[0]==="+"&&i){s=true}if(s){return t}while(o<r.length){n.push(r[o++])}return{merged:n,changes:t}}function allRemoves(e){return e.reduce((function(e,r){return e&&r[0]==="-"}),true)}function skipRemoveSuperset(e,r,t){for(var n=0;n<t;n++){var o=r[r.length-t+n].substr(1);if(e.lines[e.index+n]!==" "+o){return false}}e.index+=t;return true}function calcOldNewLineCount(e){var r=0;var t=0;e.forEach((function(e){if(typeof e!=="string"){var n=calcOldNewLineCount(e.mine);var o=calcOldNewLineCount(e.theirs);if(r!==undefined){if(n.oldLines===o.oldLines){r+=n.oldLines}else{r=undefined}}if(t!==undefined){if(n.newLines===o.newLines){t+=n.newLines}else{t=undefined}}}else{if(t!==undefined&&(e[0]==="+"||e[0]===" ")){t++}if(r!==undefined&&(e[0]==="-"||e[0]===" ")){r++}}}));return{oldLines:r,newLines:t}}},4175:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.parsePatch=parsePatch;function parsePatch(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=e.split(/\r\n|[\n\v\f\r\x85]/),n=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function parseIndex(){var e={};o.push(e);while(i<t.length){var n=t[i];if(/^(\-\-\-|\+\+\+|@@)\s/.test(n)){break}var s=/^(?:Index:|diff(?: -r \w+)+)\s+/.exec(n);if(s){e.index=n.substring(s[0].length).trim()}i++}parseFileHeader(e);parseFileHeader(e);e.hunks=[];while(i<t.length){var a=t[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(a)){break}else if(/^@@/.test(a)){e.hunks.push(parseHunk())}else if(a&&r.strict){throw new Error("Unknown line "+(i+1)+" "+JSON.stringify(a))}else{i++}}}function parseFileHeader(e){var r=/^(---|\+\+\+)\s+/.exec(t[i]);if(r){var n=r[1]==="---"?"old":"new";var o=t[i].substring(3).trim().split("\t",2);var s=o[0].replace(/\\\\/g,"\\");if(s.startsWith('"')&&s.endsWith('"')){s=s.substr(1,s.length-2)}e[n+"FileName"]=s;e[n+"Header"]=(o[1]||"").trim();i++}}function parseHunk(){var e=i,o=t[i++],s=o.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/);var a={oldStart:+s[1],oldLines:typeof s[2]==="undefined"?1:+s[2],newStart:+s[3],newLines:typeof s[4]==="undefined"?1:+s[4],lines:[],linedelimiters:[]};if(a.oldLines===0){a.oldStart+=1}if(a.newLines===0){a.newStart+=1}var u=0,l=0;for(;i<t.length;i++){if(t[i].indexOf("--- ")===0&&i+2<t.length&&t[i+1].indexOf("+++ ")===0&&t[i+2].indexOf("@@")===0){break}var c=t[i].length==0&&i!=t.length-1?" ":t[i][0];if(c==="+"||c==="-"||c===" "||c==="\\"){a.lines.push(t[i]);a.linedelimiters.push(n[i]||"\n");if(c==="+"){u++}else if(c==="-"){l++}else if(c===" "){u++;l++}}else{break}}if(!u&&a.newLines===1){a.newLines=0}if(!l&&a.oldLines===1){a.oldLines=0}if(r.strict){if(u!==a.newLines){throw new Error("Added line count did not match for hunk at line "+(e+1))}if(l!==a.oldLines){throw new Error("Removed line count did not match for hunk at line "+(e+1))}}return a}while(i<t.length){parseIndex()}return o}},4930:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.reversePatch=reversePatch;function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);if(r)n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}));t.push.apply(t,n)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};if(r%2){ownKeys(Object(t),true).forEach((function(r){_defineProperty(e,r,t[r])}))}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(e,Object.getOwnPropertyDescriptors(t))}else{ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}}return e}function _defineProperty(e,r,t){if(r in e){Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true})}else{e[r]=t}return e}function reversePatch(e){if(Array.isArray(e)){return e.map(reversePatch).reverse()}return _objectSpread(_objectSpread({},e),{},{oldFileName:e.newFileName,oldHeader:e.newHeader,newFileName:e.oldFileName,newHeader:e.oldHeader,hunks:e.hunks.map((function(e){return{oldLines:e.newLines,oldStart:e.newStart,newLines:e.oldLines,newStart:e.oldStart,linedelimiters:e.linedelimiters,lines:e.lines.map((function(e){if(e.startsWith("-")){return"+".concat(e.slice(1))}if(e.startsWith("+")){return"-".concat(e.slice(1))}return e}))}}))})}},4667:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.arrayEqual=arrayEqual;r.arrayStartsWith=arrayStartsWith;function arrayEqual(e,r){if(e.length!==r.length){return false}return arrayStartsWith(e,r)}function arrayStartsWith(e,r){if(r.length>e.length){return false}for(var t=0;t<r.length;t++){if(r[t]!==e[t]){return false}}return true}},1766:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;function _default(e,r,t){var n=true,o=false,i=false,s=1;return function iterator(){if(n&&!i){if(o){s++}else{n=false}if(e+s<=t){return s}i=true}if(!o){if(!i){n=true}if(r<=e-s){return-s++}o=true;return iterator()}}}},7990:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.generateOptions=generateOptions;function generateOptions(e,r){if(typeof e==="function"){r.callback=e}else if(e){for(var t in e){if(e.hasOwnProperty(t)){r[t]=e[t]}}}return r}},6856:(e,r,t)=>{"use strict";const n=t(857);const o=t(2018);const i=t(9473);const{env:s}=process;let a;if(i("no-color")||i("no-colors")||i("color=false")||i("color=never")){a=0}else if(i("color")||i("colors")||i("color=true")||i("color=always")){a=1}function envForceColor(){if("FORCE_COLOR"in s){if(s.FORCE_COLOR==="true"){return 1}if(s.FORCE_COLOR==="false"){return 0}return s.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(s.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e,{streamIsTTY:r,sniffFlags:t=true}={}){const o=envForceColor();if(o!==undefined){a=o}const u=t?a:o;if(u===0){return 0}if(t){if(i("color=16m")||i("color=full")||i("color=truecolor")){return 3}if(i("color=256")){return 2}}if(e&&!r&&u===undefined){return 0}const l=u||0;if(s.TERM==="dumb"){return l}if(process.platform==="win32"){const e=n.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in s){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((e=>e in s))||s.CI_NAME==="codeship"){return 1}return l}if("TEAMCITY_VERSION"in s){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(s.TEAMCITY_VERSION)?1:0}if(s.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in s){const e=Number.parseInt((s.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(s.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(s.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(s.TERM)){return 1}if("COLORTERM"in s){return 1}return l}function getSupportLevel(e,r={}){const t=supportsColor(e,{streamIsTTY:e&&e.isTTY,...r});return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:getSupportLevel({isTTY:o.isatty(1)}),stderr:getSupportLevel({isTTY:o.isatty(2)})}},5900:e=>{var r=1e3;var t=r*60;var n=t*60;var o=n*24;var i=o*7;var s=o*365.25;e.exports=function(e,r){r=r||{};var t=typeof e;if(t==="string"&&e.length>0){return parse(e)}else if(t==="number"&&isFinite(e)){return r.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a){return}var u=parseFloat(a[1]);var l=(a[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return u*s;case"weeks":case"week":case"w":return u*i;case"days":case"day":case"d":return u*o;case"hours":case"hour":case"hrs":case"hr":case"h":return u*n;case"minutes":case"minute":case"mins":case"min":case"m":return u*t;case"seconds":case"second":case"secs":case"sec":case"s":return u*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return undefined}}function fmtShort(e){var i=Math.abs(e);if(i>=o){return Math.round(e/o)+"d"}if(i>=n){return Math.round(e/n)+"h"}if(i>=t){return Math.round(e/t)+"m"}if(i>=r){return Math.round(e/r)+"s"}return e+"ms"}function fmtLong(e){var i=Math.abs(e);if(i>=o){return plural(e,i,o,"day")}if(i>=n){return plural(e,i,n,"hour")}if(i>=t){return plural(e,i,t,"minute")}if(i>=r){return plural(e,i,r,"second")}return e+" ms"}function plural(e,r,t,n){var o=r>=t*1.5;return Math.round(e/t)+" "+n+(o?"s":"")}},7598:(e,r,t)=>{e.exports=t(6982).randomBytes},4994:(e,r,t)=>{"use strict";var n=t(7598);var o=16;var i=generateUID();var s=new RegExp('(\\\\)?"@__(F|R|D|M|S|A|U|I|B|L)-'+i+'-(\\d+)__@"',"g");var a=/\{\s*\[native code\]\s*\}/g;var u=/function.*?\(/;var l=/.*?=>.*?/;var c=/[<>\/\u2028\u2029]/g;var p=["*","async"];var d={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\u2028":"\\u2028","\u2029":"\\u2029"};function escapeUnsafeChars(e){return d[e]}function generateUID(){var e=n(o);var r="";for(var t=0;t<o;++t){r+=e[t].toString(16)}return r}function deleteFunctions(e){var r=[];for(var t in e){if(typeof e[t]==="function"){r.push(t)}}for(var n=0;n<r.length;n++){delete e[r[n]]}}e.exports=function serialize(e,r){r||(r={});if(typeof r==="number"||typeof r==="string"){r={space:r}}var t=[];var n=[];var o=[];var d=[];var h=[];var g=[];var m=[];var b=[];var v=[];var y=[];function replacer(e,s){if(r.ignoreFunction){deleteFunctions(s)}if(!s&&s!==undefined&&s!==BigInt(0)){return s}var a=this[e];var u=typeof a;if(u==="object"){if(a instanceof RegExp){return"@__R-"+i+"-"+(n.push(a)-1)+"__@"}if(a instanceof Date){return"@__D-"+i+"-"+(o.push(a)-1)+"__@"}if(a instanceof Map){return"@__M-"+i+"-"+(d.push(a)-1)+"__@"}if(a instanceof Set){return"@__S-"+i+"-"+(h.push(a)-1)+"__@"}if(a instanceof Array){var l=a.filter((function(){return true})).length!==a.length;if(l){return"@__A-"+i+"-"+(g.push(a)-1)+"__@"}}if(a instanceof URL){return"@__L-"+i+"-"+(y.push(a)-1)+"__@"}}if(u==="function"){return"@__F-"+i+"-"+(t.push(a)-1)+"__@"}if(u==="undefined"){return"@__U-"+i+"-"+(m.push(a)-1)+"__@"}if(u==="number"&&!isNaN(a)&&!isFinite(a)){return"@__I-"+i+"-"+(b.push(a)-1)+"__@"}if(u==="bigint"){return"@__B-"+i+"-"+(v.push(a)-1)+"__@"}return s}function serializeFunc(e){var r=e.toString();if(a.test(r)){throw new TypeError("Serializing native function: "+e.name)}if(u.test(r)){return r}if(l.test(r)){return r}var t=r.indexOf("(");var n=r.substr(0,t).trim().split(" ").filter((function(e){return e.length>0}));var o=n.filter((function(e){return p.indexOf(e)===-1}));if(o.length>0){return(n.indexOf("async")>-1?"async ":"")+"function"+(n.join("").indexOf("*")>-1?"*":"")+r.substr(t)}return r}if(r.ignoreFunction&&typeof e==="function"){e=undefined}if(e===undefined){return String(e)}var E;if(r.isJSON&&!r.space){E=JSON.stringify(e)}else{E=JSON.stringify(e,r.isJSON?null:replacer,r.space)}if(typeof E!=="string"){return String(E)}if(r.unsafe!==true){E=E.replace(c,escapeUnsafeChars)}if(t.length===0&&n.length===0&&o.length===0&&d.length===0&&h.length===0&&g.length===0&&m.length===0&&b.length===0&&v.length===0&&y.length===0){return E}return E.replace(s,(function(e,i,s,a){if(i){return e}if(s==="D"){return'new Date("'+o[a].toISOString()+'")'}if(s==="R"){return"new RegExp("+serialize(n[a].source)+', "'+n[a].flags+'")'}if(s==="M"){return"new Map("+serialize(Array.from(d[a].entries()),r)+")"}if(s==="S"){return"new Set("+serialize(Array.from(h[a].values()),r)+")"}if(s==="A"){return"Array.prototype.slice.call("+serialize(Object.assign({length:g[a].length},g[a]),r)+")"}if(s==="U"){return"undefined"}if(s==="I"){return b[a]}if(s==="B"){return'BigInt("'+v[a]+'")'}if(s==="L"){return"new URL("+serialize(y[a].toString(),r)+")"}var u=t[a];return serializeFunc(u)}))}},3662:(e,r,t)=>{"use strict";const n=t(857);const o=t(2018);const i=t(9473);const{env:s}=process;let a;if(i("no-color")||i("no-colors")||i("color=false")||i("color=never")){a=0}else if(i("color")||i("colors")||i("color=true")||i("color=always")){a=1}if("FORCE_COLOR"in s){if(s.FORCE_COLOR==="true"){a=1}else if(s.FORCE_COLOR==="false"){a=0}else{a=s.FORCE_COLOR.length===0?1:Math.min(parseInt(s.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e,r){if(a===0){return 0}if(i("color=16m")||i("color=full")||i("color=truecolor")){return 3}if(i("color=256")){return 2}if(e&&!r&&a===undefined){return 0}const t=a||0;if(s.TERM==="dumb"){return t}if(process.platform==="win32"){const e=n.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in s){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in s))||s.CI_NAME==="codeship"){return 1}return t}if("TEAMCITY_VERSION"in s){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(s.TEAMCITY_VERSION)?1:0}if(s.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in s){const e=parseInt((s.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(s.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(s.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(s.TERM)){return 1}if("COLORTERM"in s){return 1}return t}function getSupportLevel(e){const r=supportsColor(e,e&&e.isTTY);return translateLevel(r)}e.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,o.isatty(1))),stderr:translateLevel(supportsColor(true,o.isatty(2)))}},1067:(e,r,t)=>{var n=t(1252);var o=t(5451);var i=t(4840);var s=t(9284);var a=new s;function Pool(e,r){if(typeof e==="string"){this.script=e||null}else{this.script=null;r=e}this.workers=[];this.tasks=[];r=r||{};this.forkArgs=Object.freeze(r.forkArgs||[]);this.forkOpts=Object.freeze(r.forkOpts||{});this.workerOpts=Object.freeze(r.workerOpts||{});this.workerThreadOpts=Object.freeze(r.workerThreadOpts||{});this.debugPortStart=r.debugPortStart||43210;this.nodeWorker=r.nodeWorker;this.workerType=r.workerType||r.nodeWorker||"auto";this.maxQueueSize=r.maxQueueSize||Infinity;this.workerTerminateTimeout=r.workerTerminateTimeout||1e3;this.onCreateWorker=r.onCreateWorker||(()=>null);this.onTerminateWorker=r.onTerminateWorker||(()=>null);if(r&&"maxWorkers"in r){validateMaxWorkers(r.maxWorkers);this.maxWorkers=r.maxWorkers}else{this.maxWorkers=Math.max((i.cpus||4)-1,1)}if(r&&"minWorkers"in r){if(r.minWorkers==="max"){this.minWorkers=this.maxWorkers}else{validateMinWorkers(r.minWorkers);this.minWorkers=r.minWorkers;this.maxWorkers=Math.max(this.minWorkers,this.maxWorkers)}this._ensureMinWorkers()}this._boundNext=this._next.bind(this);if(this.workerType==="thread"){o.ensureWorkerThreads()}}Pool.prototype.exec=function(e,r,t){if(r&&!Array.isArray(r)){throw new TypeError('Array expected as argument "params"')}if(typeof e==="string"){var o=n.defer();if(this.tasks.length>=this.maxQueueSize){throw new Error("Max queue size of "+this.maxQueueSize+" reached")}var i=this.tasks;var s={method:e,params:r,resolver:o,timeout:null,options:t};i.push(s);var a=o.promise.timeout;o.promise.timeout=function timeout(e){if(i.indexOf(s)!==-1){s.timeout=e;return o.promise}else{return a.call(o.promise,e)}};this._next();return o.promise}else if(typeof e==="function"){return this.exec("run",[String(e),r])}else{throw new TypeError('Function or string expected as argument "method"')}};Pool.prototype.proxy=function(){if(arguments.length>0){throw new Error("No arguments expected")}var e=this;return this.exec("methods").then((function(r){var t={};r.forEach((function(r){t[r]=function(){return e.exec(r,Array.prototype.slice.call(arguments))}}));return t}))};Pool.prototype._next=function(){if(this.tasks.length>0){var e=this._getWorker();if(e){var r=this;var t=this.tasks.shift();if(t.resolver.promise.pending){var n=e.exec(t.method,t.params,t.resolver,t.options).then(r._boundNext).catch((function(){if(e.terminated){return r._removeWorker(e)}})).then((function(){r._next()}));if(typeof t.timeout==="number"){n.timeout(t.timeout)}}else{r._next()}}}};Pool.prototype._getWorker=function(){var e=this.workers;for(var r=0;r<e.length;r++){var t=e[r];if(t.busy()===false){return t}}if(e.length<this.maxWorkers){t=this._createWorkerHandler();e.push(t);return t}return null};Pool.prototype._removeWorker=function(e){var r=this;a.releasePort(e.debugPort);this._removeWorkerFromList(e);this._ensureMinWorkers();return new n((function(t,n){e.terminate(false,(function(o){r.onTerminateWorker({forkArgs:e.forkArgs,forkOpts:e.forkOpts,workerThreadOpts:e.workerThreadOpts,script:e.script});if(o){n(o)}else{t(e)}}))}))};Pool.prototype._removeWorkerFromList=function(e){var r=this.workers.indexOf(e);if(r!==-1){this.workers.splice(r,1)}};Pool.prototype.terminate=function(e,r){var t=this;this.tasks.forEach((function(e){e.resolver.reject(new Error("Pool terminated"))}));this.tasks.length=0;var f=function(e){a.releasePort(e.debugPort);this._removeWorkerFromList(e)};var o=f.bind(this);var i=[];var s=this.workers.slice();s.forEach((function(n){var s=n.terminateAndNotify(e,r).then(o).always((function(){t.onTerminateWorker({forkArgs:n.forkArgs,forkOpts:n.forkOpts,workerThreadOpts:n.workerThreadOpts,script:n.script})}));i.push(s)}));return n.all(i)};Pool.prototype.stats=function(){var e=this.workers.length;var r=this.workers.filter((function(e){return e.busy()})).length;return{totalWorkers:e,busyWorkers:r,idleWorkers:e-r,pendingTasks:this.tasks.length,activeTasks:r}};Pool.prototype._ensureMinWorkers=function(){if(this.minWorkers){for(var e=this.workers.length;e<this.minWorkers;e++){this.workers.push(this._createWorkerHandler())}}};Pool.prototype._createWorkerHandler=function(){const e=this.onCreateWorker({forkArgs:this.forkArgs,forkOpts:this.forkOpts,workerOpts:this.workerOpts,workerThreadOpts:this.workerThreadOpts,script:this.script})||{};return new o(e.script||this.script,{forkArgs:e.forkArgs||this.forkArgs,forkOpts:e.forkOpts||this.forkOpts,workerOpts:e.workerOpts||this.workerOpts,workerThreadOpts:e.workerThreadOpts||this.workerThreadOpts,debugPort:a.nextAvailableStartingAt(this.debugPortStart),workerType:this.workerType,workerTerminateTimeout:this.workerTerminateTimeout})};function validateMaxWorkers(e){if(!isNumber(e)||!isInteger(e)||e<1){throw new TypeError("Option maxWorkers must be an integer number >= 1")}}function validateMinWorkers(e){if(!isNumber(e)||!isInteger(e)||e<0){throw new TypeError("Option minWorkers must be an integer number >= 0")}}function isNumber(e){return typeof e==="number"}function isInteger(e){return Math.round(e)==e}e.exports=Pool},1252:e=>{"use strict";function Promise(e,r){var t=this;if(!(this instanceof Promise)){throw new SyntaxError("Constructor must be called with the new operator")}if(typeof e!=="function"){throw new SyntaxError("Function parameter handler(resolve, reject) missing")}var n=[];var o=[];this.resolved=false;this.rejected=false;this.pending=true;var _process=function(e,r){n.push(e);o.push(r)};this.then=function(e,r){return new Promise((function(t,n){var o=e?_then(e,t,n):t;var i=r?_then(r,t,n):n;_process(o,i)}),t)};var _resolve=function(e){t.resolved=true;t.rejected=false;t.pending=false;n.forEach((function(r){r(e)}));_process=function(r,t){r(e)};_resolve=_reject=function(){};return t};var _reject=function(e){t.resolved=false;t.rejected=true;t.pending=false;o.forEach((function(r){r(e)}));_process=function(r,t){t(e)};_resolve=_reject=function(){};return t};this.cancel=function(){if(r){r.cancel()}else{_reject(new CancellationError)}return t};this.timeout=function(e){if(r){r.timeout(e)}else{var n=setTimeout((function(){_reject(new TimeoutError("Promise timed out after "+e+" ms"))}),e);t.always((function(){clearTimeout(n)}))}return t};e((function(e){_resolve(e)}),(function(e){_reject(e)}))}function _then(e,r,t){return function(n){try{var o=e(n);if(o&&typeof o.then==="function"&&typeof o["catch"]==="function"){o.then(r,t)}else{r(o)}}catch(e){t(e)}}}Promise.prototype["catch"]=function(e){return this.then(null,e)};Promise.prototype.always=function(e){return this.then(e,e)};Promise.all=function(e){return new Promise((function(r,t){var n=e.length,o=[];if(n){e.forEach((function(e,i){e.then((function(e){o[i]=e;n--;if(n==0){r(o)}}),(function(e){n=0;t(e)}))}))}else{r(o)}}))};Promise.defer=function(){var e={};e.promise=new Promise((function(r,t){e.resolve=r;e.reject=t}));return e};function CancellationError(e){this.message=e||"promise cancelled";this.stack=(new Error).stack}CancellationError.prototype=new Error;CancellationError.prototype.constructor=Error;CancellationError.prototype.name="CancellationError";Promise.CancellationError=CancellationError;function TimeoutError(e){this.message=e||"timeout exceeded";this.stack=(new Error).stack}TimeoutError.prototype=new Error;TimeoutError.prototype.constructor=Error;TimeoutError.prototype.name="TimeoutError";Promise.TimeoutError=TimeoutError;e.exports=Promise},5451:(e,r,t)=>{"use strict";var n=t(1252);var o=t(4840);var i=t(2147);var s="__workerpool-terminate__";function ensureWorkerThreads(){var e=tryRequireWorkerThreads();if(!e){throw new Error("WorkerPool: workerType = 'thread' is not supported, Node >= 11.7.0 required")}return e}function ensureWebWorker(){if(typeof Worker!=="function"&&(typeof Worker!=="object"||typeof Worker.prototype.constructor!=="function")){throw new Error("WorkerPool: Web Workers not supported")}}function tryRequireWorkerThreads(){try{return i("worker_threads")}catch(e){if(typeof e==="object"&&e!==null&&e.code==="MODULE_NOT_FOUND"){return null}else{throw e}}}function getDefaultWorker(){if(o.platform==="browser"){if(typeof Blob==="undefined"){throw new Error("Blob not supported by the browser")}if(!window.URL||typeof window.URL.createObjectURL!=="function"){throw new Error("URL.createObjectURL not supported by the browser")}var e=new Blob([t(563)],{type:"text/javascript"});return window.URL.createObjectURL(e)}else{return t.ab+"worker1.js"}}function setupWorker(e,r){if(r.workerType==="web"){ensureWebWorker();return setupBrowserWorker(e,r.workerOpts,Worker)}else if(r.workerType==="thread"){t=ensureWorkerThreads();return setupWorkerThreadWorker(e,t,r.workerThreadOpts)}else if(r.workerType==="process"||!r.workerType){return setupProcessWorker(e,resolveForkOptions(r),i("child_process"))}else{if(o.platform==="browser"){ensureWebWorker();return setupBrowserWorker(e,r.workerOpts,Worker)}else{var t=tryRequireWorkerThreads();if(t){return setupWorkerThreadWorker(e,t,r.workerThreadOpts)}else{return setupProcessWorker(e,resolveForkOptions(r),i("child_process"))}}}}function setupBrowserWorker(e,r,t){var n=new t(e,r);n.isBrowserWorker=true;n.on=function(e,r){this.addEventListener(e,(function(e){r(e.data)}))};n.send=function(e,r){this.postMessage(e,r)};return n}function setupWorkerThreadWorker(e,r,t){var n=new r.Worker(e,{stdout:false,stderr:false,...t});n.isWorkerThread=true;n.send=function(e,r){this.postMessage(e,r)};n.kill=function(){this.terminate();return true};n.disconnect=function(){this.terminate()};return n}function setupProcessWorker(e,r,t){var n=t.fork(e,r.forkArgs,r.forkOpts);var o=n.send;n.send=function(e){return o.call(n,e)};n.isChildProcess=true;return n}function resolveForkOptions(e){e=e||{};var r=process.execArgv.join(" ");var t=r.indexOf("--inspect")!==-1;var n=r.indexOf("--debug-brk")!==-1;var o=[];if(t){o.push("--inspect="+e.debugPort);if(n){o.push("--debug-brk")}}process.execArgv.forEach((function(e){if(e.indexOf("--max-old-space-size")>-1){o.push(e)}}));return Object.assign({},e,{forkArgs:e.forkArgs,forkOpts:Object.assign({},e.forkOpts,{execArgv:(e.forkOpts&&e.forkOpts.execArgv||[]).concat(o)})})}function objectToError(e){var r=new Error("");var t=Object.keys(e);for(var n=0;n<t.length;n++){r[t[n]]=e[t[n]]}return r}function WorkerHandler(e,r){var t=this;var n=r||{};this.script=e||getDefaultWorker();this.worker=setupWorker(this.script,n);this.debugPort=n.debugPort;this.forkOpts=n.forkOpts;this.forkArgs=n.forkArgs;this.workerOpts=n.workerOpts;this.workerThreadOpts=n.workerThreadOpts;this.workerTerminateTimeout=n.workerTerminateTimeout;if(!e){this.worker.ready=true}this.requestQueue=[];this.worker.on("message",(function(e){if(t.terminated){return}if(typeof e==="string"&&e==="ready"){t.worker.ready=true;dispatchQueuedRequests()}else{var r=e.id;var n=t.processing[r];if(n!==undefined){if(e.isEvent){if(n.options&&typeof n.options.on==="function"){n.options.on(e.payload)}}else{delete t.processing[r];if(t.terminating===true){t.terminate()}if(e.error){n.resolver.reject(objectToError(e.error))}else{n.resolver.resolve(e.result)}}}}}));function onError(e){t.terminated=true;for(var r in t.processing){if(t.processing[r]!==undefined){t.processing[r].resolver.reject(e)}}t.processing=Object.create(null)}function dispatchQueuedRequests(){for(const e of t.requestQueue.splice(0)){t.worker.send(e.message,e.transfer)}}var o=this.worker;this.worker.on("error",onError);this.worker.on("exit",(function(e,r){var n="Workerpool Worker terminated Unexpectedly\n";n+=" exitCode: `"+e+"`\n";n+=" signalCode: `"+r+"`\n";n+=" workerpool.script: `"+t.script+"`\n";n+=" spawnArgs: `"+o.spawnargs+"`\n";n+=" spawnfile: `"+o.spawnfile+"`\n";n+=" stdout: `"+o.stdout+"`\n";n+=" stderr: `"+o.stderr+"`\n";onError(new Error(n))}));this.processing=Object.create(null);this.terminating=false;this.terminated=false;this.cleaning=false;this.terminationHandler=null;this.lastId=0}WorkerHandler.prototype.methods=function(){return this.exec("methods")};WorkerHandler.prototype.exec=function(e,r,t,o){if(!t){t=n.defer()}var i=++this.lastId;this.processing[i]={id:i,resolver:t,options:o};var s={message:{id:i,method:e,params:r},transfer:o&&o.transfer};if(this.terminated){t.reject(new Error("Worker is terminated"))}else if(this.worker.ready){this.worker.send(s.message,s.transfer)}else{this.requestQueue.push(s)}var a=this;return t.promise.catch((function(e){if(e instanceof n.CancellationError||e instanceof n.TimeoutError){delete a.processing[i];return a.terminateAndNotify(true).then((function(){throw e}),(function(e){throw e}))}else{throw e}}))};WorkerHandler.prototype.busy=function(){return this.cleaning||Object.keys(this.processing).length>0};WorkerHandler.prototype.terminate=function(e,r){var t=this;if(e){for(var n in this.processing){if(this.processing[n]!==undefined){this.processing[n].resolver.reject(new Error("Worker terminated"))}}this.processing=Object.create(null)}if(typeof r==="function"){this.terminationHandler=r}if(!this.busy()){var cleanup=function(e){t.terminated=true;t.cleaning=false;if(t.worker!=null&&t.worker.removeAllListeners){t.worker.removeAllListeners("message")}t.worker=null;t.terminating=false;if(t.terminationHandler){t.terminationHandler(e,t)}else if(e){throw e}};if(this.worker){if(typeof this.worker.kill==="function"){if(this.worker.killed){cleanup(new Error("worker already killed!"));return}var o=setTimeout((function(){if(t.worker){t.worker.kill()}}),this.workerTerminateTimeout);this.worker.once("exit",(function(){clearTimeout(o);if(t.worker){t.worker.killed=true}cleanup()}));if(this.worker.ready){this.worker.send(s)}else{this.requestQueue.push({message:s})}this.cleaning=true;return}else if(typeof this.worker.terminate==="function"){this.worker.terminate();this.worker.killed=true}else{throw new Error("Failed to terminate worker")}}cleanup()}else{this.terminating=true}};WorkerHandler.prototype.terminateAndNotify=function(e,r){var t=n.defer();if(r){t.promise.timeout(r)}this.terminate(e,(function(e,r){if(e){t.reject(e)}else{t.resolve(r)}}));return t.promise};e.exports=WorkerHandler;e.exports._tryRequireWorkerThreads=tryRequireWorkerThreads;e.exports._setupProcessWorker=setupProcessWorker;e.exports._setupBrowserWorker=setupBrowserWorker;e.exports._setupWorkerThreadWorker=setupWorkerThreadWorker;e.exports.ensureWorkerThreads=ensureWorkerThreads},9284:e=>{"use strict";var r=65535;e.exports=DebugPortAllocator;function DebugPortAllocator(){this.ports=Object.create(null);this.length=0}DebugPortAllocator.prototype.nextAvailableStartingAt=function(e){while(this.ports[e]===true){e++}if(e>=r){throw new Error("WorkerPool debug port limit reached: "+e+">= "+r)}this.ports[e]=true;this.length++;return e};DebugPortAllocator.prototype.releasePort=function(e){delete this.ports[e];this.length--}},4840:(e,r,t)=>{var n=t(2147);var isNode=function(e){return typeof e!=="undefined"&&e.versions!=null&&e.versions.node!=null};e.exports.isNode=isNode;e.exports.platform=typeof process!=="undefined"&&isNode(process)?"node":"browser";var o=tryRequireFoolWebpack("worker_threads");e.exports.isMainThread=e.exports.platform==="node"?(!o||o.isMainThread)&&!process.connected:typeof Window!=="undefined";e.exports.cpus=e.exports.platform==="browser"?self.navigator.hardwareConcurrency:n("os").cpus().length;function tryRequireFoolWebpack(e){try{return n(e)}catch(e){return null}}},563:e=>{e.exports='!function(){var __webpack_modules__={577:function(e){e.exports=function(e,r){this.message=e,this.transfer=r}}},__webpack_module_cache__={};function __nccwpck_require__(e){var r=__webpack_module_cache__[e];return void 0!==r||(r=__webpack_module_cache__[e]={exports:{}},__webpack_modules__[e](r,r.exports,__nccwpck_require__)),r.exports}var __webpack_exports__={};!function(){var exports=__webpack_exports__,__webpack_unused_export__;function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Transfer=__nccwpck_require__(577),requireFoolWebpack=eval("typeof require !== \'undefined\' ? require : function (module) { throw new Error(\'Module \\" + module + \\" not found.\') }"),TERMINATE_METHOD_ID="__workerpool-terminate__",worker={exit:function(){}},WorkerThreads,parentPort;if("undefined"!=typeof self&&"function"==typeof postMessage&&"function"==typeof addEventListener)worker.on=function(e,r){addEventListener(e,function(e){r(e.data)})},worker.send=function(e){postMessage(e)};else{if("undefined"==typeof process)throw new Error("Script must be executed as a worker");try{WorkerThreads=requireFoolWebpack("worker_threads")}catch(error){if("object"!==_typeof(error)||null===error||"MODULE_NOT_FOUND"!==error.code)throw error}WorkerThreads&&null!==WorkerThreads.parentPort?(parentPort=WorkerThreads.parentPort,worker.send=parentPort.postMessage.bind(parentPort),worker.on=parentPort.on.bind(parentPort)):(worker.on=process.on.bind(process),worker.send=function(e){process.send(e)},worker.on("disconnect",function(){process.exit(1)})),worker.exit=process.exit.bind(process)}function convertError(o){return Object.getOwnPropertyNames(o).reduce(function(e,r){return Object.defineProperty(e,r,{value:o[r],enumerable:!0})},{})}function isPromise(e){return e&&"function"==typeof e.then&&"function"==typeof e.catch}worker.methods={},worker.methods.run=function(e,r){e=new Function("return ("+e+").apply(null, arguments);");return e.apply(e,r)},worker.methods.methods=function(){return Object.keys(worker.methods)},worker.terminationHandler=void 0,worker.cleanupAndExit=function(e){function r(){worker.exit(e)}if(!worker.terminationHandler)return r();var o=worker.terminationHandler(e);isPromise(o)?o.then(r,r):r()};var currentRequestId=null;worker.on("message",function(r){if(r===TERMINATE_METHOD_ID)return worker.cleanupAndExit(0);try{var e=worker.methods[r.method];if(!e)throw new Error(\'Unknown method "\'+r.method+\'"\');currentRequestId=r.id;var o=e.apply(e,r.params);isPromise(o)?o.then(function(e){e instanceof Transfer?worker.send({id:r.id,result:e.message,error:null},e.transfer):worker.send({id:r.id,result:e,error:null}),currentRequestId=null}).catch(function(e){worker.send({id:r.id,result:null,error:convertError(e)}),currentRequestId=null}):(o instanceof Transfer?worker.send({id:r.id,result:o.message,error:null},o.transfer):worker.send({id:r.id,result:o,error:null}),currentRequestId=null)}catch(e){worker.send({id:r.id,result:null,error:convertError(e)})}}),worker.register=function(e,r){if(e)for(var o in e)e.hasOwnProperty(o)&&(worker.methods[o]=e[o]);r&&(worker.terminationHandler=r.onTerminate),worker.send("ready")},worker.emit=function(e){currentRequestId&&(e instanceof Transfer?worker.send({id:currentRequestId,isEvent:!0,payload:e.message},e.transfer):worker.send({id:currentRequestId,isEvent:!0,payload:e}))},__webpack_unused_export__=worker.register,worker.emit}()}();'},7949:(e,r,t)=>{var n=t(4840);r.pool=function pool(e,r){var n=t(1067);return new n(e,r)};r.worker=function worker(e,r){var worker=t(6959);worker.add(e,r)};r.workerEmit=function workerEmit(e){var r=t(6959);r.emit(e)};r.Promise=t(1252);r.Transfer=t(8030);r.platform=n.platform;r.isMainThread=n.isMainThread;r.cpus=n.cpus},2147:module=>{var requireFoolWebpack=eval("typeof require !== 'undefined' "+"? require "+": function (module) { throw new Error('Module \" + module + \" not found.') }");module.exports=requireFoolWebpack},8030:e=>{function Transfer(e,r){this.message=e;this.transfer=r}e.exports=Transfer},6959:(__unused_webpack_module,exports,__nccwpck_require__)=>{var Transfer=__nccwpck_require__(8030);var requireFoolWebpack=eval("typeof require !== 'undefined'"+" ? require"+" : function (module) { throw new Error('Module \" + module + \" not found.') }");var TERMINATE_METHOD_ID="__workerpool-terminate__";var worker={exit:function(){}};if(typeof self!=="undefined"&&typeof postMessage==="function"&&typeof addEventListener==="function"){worker.on=function(e,r){addEventListener(e,(function(e){r(e.data)}))};worker.send=function(e){postMessage(e)}}else if(typeof process!=="undefined"){var WorkerThreads;try{WorkerThreads=requireFoolWebpack("worker_threads")}catch(e){if(typeof e==="object"&&e!==null&&e.code==="MODULE_NOT_FOUND"){}else{throw e}}if(WorkerThreads&&WorkerThreads.parentPort!==null){var parentPort=WorkerThreads.parentPort;worker.send=parentPort.postMessage.bind(parentPort);worker.on=parentPort.on.bind(parentPort);worker.exit=process.exit.bind(process)}else{worker.on=process.on.bind(process);worker.send=function(e){process.send(e)};worker.on("disconnect",(function(){process.exit(1)}));worker.exit=process.exit.bind(process)}}else{throw new Error("Script must be executed as a worker")}function convertError(e){return Object.getOwnPropertyNames(e).reduce((function(r,t){return Object.defineProperty(r,t,{value:e[t],enumerable:true})}),{})}function isPromise(e){return e&&typeof e.then==="function"&&typeof e.catch==="function"}worker.methods={};worker.methods.run=function run(e,r){var t=new Function("return ("+e+").apply(null, arguments);");return t.apply(t,r)};worker.methods.methods=function methods(){return Object.keys(worker.methods)};worker.terminationHandler=undefined;worker.cleanupAndExit=function(e){var _exit=function(){worker.exit(e)};if(!worker.terminationHandler){return _exit()}var r=worker.terminationHandler(e);if(isPromise(r)){r.then(_exit,_exit)}else{_exit()}};var currentRequestId=null;worker.on("message",(function(e){if(e===TERMINATE_METHOD_ID){return worker.cleanupAndExit(0)}try{var r=worker.methods[e.method];if(r){currentRequestId=e.id;var t=r.apply(r,e.params);if(isPromise(t)){t.then((function(r){if(r instanceof Transfer){worker.send({id:e.id,result:r.message,error:null},r.transfer)}else{worker.send({id:e.id,result:r,error:null})}currentRequestId=null})).catch((function(r){worker.send({id:e.id,result:null,error:convertError(r)});currentRequestId=null}))}else{if(t instanceof Transfer){worker.send({id:e.id,result:t.message,error:null},t.transfer)}else{worker.send({id:e.id,result:t,error:null})}currentRequestId=null}}else{throw new Error('Unknown method "'+e.method+'"')}}catch(r){worker.send({id:e.id,result:null,error:convertError(r)})}}));worker.register=function(e,r){if(e){for(var t in e){if(e.hasOwnProperty(t)){worker.methods[t]=e[t]}}}if(r){worker.terminationHandler=r.onTerminate}worker.send("ready")};worker.emit=function(e){if(currentRequestId){if(e instanceof Transfer){worker.send({id:currentRequestId,isEvent:true,payload:e.message},e.transfer);return}worker.send({id:currentRequestId,isEvent:true,payload:e})}};if(true){exports.add=worker.register;exports.emit=worker.emit}},2406:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.detectCIContext=detectCIContext;function detectCIContext(){const e=process.env;if(e.GITHUB_ACTIONS==="true"){return{branch:e.GITHUB_HEAD_REF||e.GITHUB_REF_NAME||e.GITHUB_REF?.replace("refs/heads/",""),commitSha:e.GITHUB_SHA,repositoryUrl:e.GITHUB_SERVER_URL&&e.GITHUB_REPOSITORY?`${e.GITHUB_SERVER_URL}/${e.GITHUB_REPOSITORY}`:undefined,buildNumber:e.GITHUB_RUN_NUMBER,buildUrl:e.GITHUB_SERVER_URL&&e.GITHUB_REPOSITORY&&e.GITHUB_RUN_ID?`${e.GITHUB_SERVER_URL}/${e.GITHUB_REPOSITORY}/actions/runs/${e.GITHUB_RUN_ID}`:undefined}}if(e.GITLAB_CI==="true"){return{branch:e.CI_COMMIT_BRANCH||e.CI_MERGE_REQUEST_SOURCE_BRANCH_NAME,commitSha:e.CI_COMMIT_SHA,repositoryUrl:e.CI_PROJECT_URL,buildNumber:e.CI_PIPELINE_IID,buildUrl:e.CI_PIPELINE_URL}}if(e.TF_BUILD==="True"){return{branch:e.BUILD_SOURCEBRANCH?.replace("refs/heads/",""),commitSha:e.BUILD_SOURCEVERSION,repositoryUrl:e.BUILD_REPOSITORY_URI,buildNumber:e.BUILD_BUILDNUMBER,buildUrl:e.SYSTEM_TEAMFOUNDATIONCOLLECTIONURI&&e.SYSTEM_TEAMPROJECT&&e.BUILD_BUILDID?`${e.SYSTEM_TEAMFOUNDATIONCOLLECTIONURI}${e.SYSTEM_TEAMPROJECT}/_build/results?buildId=${e.BUILD_BUILDID}`:undefined}}if(e.CIRCLECI==="true"){return{branch:e.CIRCLE_BRANCH,commitSha:e.CIRCLE_SHA1,repositoryUrl:e.CIRCLE_REPOSITORY_URL,buildNumber:e.CIRCLE_BUILD_NUM,buildUrl:e.CIRCLE_BUILD_URL}}if(e.JENKINS_URL){return{branch:e.GIT_BRANCH?.replace("origin/",""),commitSha:e.GIT_COMMIT,repositoryUrl:e.GIT_URL,buildNumber:e.BUILD_NUMBER,buildUrl:e.BUILD_URL}}if(e.BITBUCKET_BUILD_NUMBER){return{branch:e.BITBUCKET_BRANCH,commitSha:e.BITBUCKET_COMMIT,repositoryUrl:e.BITBUCKET_GIT_HTTP_ORIGIN,buildNumber:e.BITBUCKET_BUILD_NUMBER,buildUrl:e.BITBUCKET_REPO_FULL_NAME&&e.BITBUCKET_BUILD_NUMBER?`https://bitbucket.org/${e.BITBUCKET_REPO_FULL_NAME}/pipelines/results/${e.BITBUCKET_BUILD_NUMBER}`:undefined}}return{}}},3827:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true})},7322:function(e,r,t){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,r,t,n){if(n===undefined)n=t;var o=Object.getOwnPropertyDescriptor(r,t);if(!o||("get"in o?!r.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return r[t]}}}Object.defineProperty(e,n,o)}:function(e,r,t,n){if(n===undefined)n=t;e[n]=r[t]});var o=this&&this.__exportStar||function(e,r){for(var t in e)if(t!=="default"&&!Object.prototype.hasOwnProperty.call(r,t))n(r,e,t)};Object.defineProperty(r,"__esModule",{value:true});r.ensureReportId=r.mapAttachmentsToTestResults=r.uploadArtifacts=r.uploadTestRun=r.detectCIContext=void 0;o(t(3827),r);var i=t(2406);Object.defineProperty(r,"detectCIContext",{enumerable:true,get:function(){return i.detectCIContext}});var s=t(8969);Object.defineProperty(r,"uploadTestRun",{enumerable:true,get:function(){return s.uploadTestRun}});Object.defineProperty(r,"uploadArtifacts",{enumerable:true,get:function(){return s.uploadArtifacts}});Object.defineProperty(r,"mapAttachmentsToTestResults",{enumerable:true,get:function(){return s.mapAttachmentsToTestResults}});Object.defineProperty(r,"ensureReportId",{enumerable:true,get:function(){return s.ensureReportId}})},8969:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.ensureReportId=ensureReportId;r.uploadTestRun=uploadTestRun;r.mapAttachmentsToTestResults=mapAttachmentsToTestResults;r.uploadArtifacts=uploadArtifacts;const n="https://test-manager-backend.fly.dev";function ensureReportId(e){if(typeof e.reportId==="string"&&e.reportId.trim().length>0){return e.reportId}const r=crypto.randomUUID();e.reportId=r;return r}function resolveApiUrl(e){const r=normalizeApiUrl(e);if(r){return r}const t=getEnvApiUrl();if(t){return t}return n}function getEnvApiUrl(){if(typeof process==="undefined"||!process?.env){return undefined}return normalizeApiUrl(process.env.TESTREAM_API_URL)}function normalizeApiUrl(e){if(!e){return undefined}const r=e.trim();if(!r){return undefined}return r.replace(/\/+$/,"")}async function uploadTestRun(e){const{report:r,apiKey:t}=e;const n=resolveApiUrl(e.apiUrl);const o=ensureReportId(r);const i={report:r,reportId:o,commitSha:e.commitSha,branch:e.branch,repositoryUrl:e.repositoryUrl,buildName:e.buildName,buildNumber:e.buildNumber,buildUrl:e.buildUrl,testEnvironment:e.testEnvironment,appName:e.appName,appVersion:e.appVersion,testType:e.testType};console.log("Uploading test results...");let s;try{s=await fetch(`${n}/api/v1/ingest`,{method:"POST",headers:{"X-API-KEY":t,"Content-Type":"application/json"},body:JSON.stringify(i)})}catch(e){const r=e instanceof Error?e.message:String(e);return{success:false,reportId:o,error:`Connection failed: ${r}`}}if(s.status===409){console.warn("Report already exists (workflow may have been re-run)");return{success:true,reportId:o,summary:{passed:r.results.summary.passed,failed:r.results.summary.failed,skipped:r.results.summary.skipped,total:r.results.summary.tests},alreadyExists:true}}if(!s.ok){const e=await s.text();return{success:false,reportId:o,error:`Upload failed (HTTP ${s.status}): ${e}`}}const a=await s.json();console.log(`✓ Test results uploaded successfully`);console.log(` Report ID: ${a.reportId}`);console.log(` Test Run ID: ${a.testRunId}`);console.log(` Tests: ${a.summary.passed}/${a.summary.total} passed`);return{success:true,reportId:a.reportId,testRunId:a.testRunId,summary:{passed:a.summary.passed,failed:a.summary.failed,skipped:a.summary.skipped,total:a.summary.total},testResults:a.testResults}}function mapAttachmentsToTestResults(e,r){const t=new Map;for(const e of r){const r=t.get(e.name)??[];r.push(e.id);t.set(e.name,r)}const n=[];for(const r of e){const e=t.get(r.name);const o=e?.shift();if(!r.attachments||r.attachments.length===0){continue}if(!o){console.warn(`Skipping artifact upload: could not match test result for "${r.name}"`);continue}n.push({testResultId:o,attachments:r.attachments})}return n}async function uploadArtifacts(e){const{reportId:r,apiKey:t,testResults:n}=e;const o=resolveApiUrl(e.apiUrl);let i=0;for(const e of n){for(const n of e.attachments){try{const s=await uploadSingleArtifact({testResultId:e.testResultId,attachment:n,reportId:r,apiKey:t,apiUrl:o});if(s)i++}catch(e){const r=e instanceof Error?e.message:String(e);console.error(`Failed to upload artifact ${n.name}: ${r}`)}}}if(i>0){console.log(`✓ Uploaded ${i} artifact(s)`)}return i}async function uploadSingleArtifact(e){const{testResultId:r,attachment:n,reportId:o,apiKey:i,apiUrl:s}=e;const a=await Promise.resolve().then(t.t.bind(t,1943,23));const u=await Promise.resolve().then(t.t.bind(t,6928,23));const l=u.resolve(n.path);try{await a.access(l)}catch{console.warn(`Artifact not found: ${u.basename(l)}`);return false}let c;let p;const d=u.basename(l);const h=n.contentType||"application/octet-stream";try{c=await a.readFile(l);p=c.byteLength}catch(e){const r=e instanceof Error?e.message:String(e);throw new Error(`Failed to read file: ${r}`)}try{return await uploadWithPresignedUrl({testResultId:r,reportId:o,apiKey:i,apiUrl:s,attachmentName:n.name,fileName:d,contentType:h,sizeBytes:p,fileBuffer:c})}catch(e){if(!(e instanceof LegacyUploadRequiredError)){throw e}return await uploadWithLegacyEndpoint({testResultId:r,attachmentName:n.name,reportId:o,apiKey:i,apiUrl:s,fileName:d,contentType:h,fileBuffer:c})}}class LegacyUploadRequiredError extends Error{constructor(){super("Legacy upload endpoint required")}}async function uploadWithPresignedUrl(e){const{testResultId:r,reportId:t,apiKey:n,apiUrl:o,attachmentName:i,fileName:s,contentType:a,sizeBytes:u,fileBuffer:l}=e;const c={testResultId:r,ctrfAttachmentName:i,fileName:s,contentType:a,sizeBytes:u};const p=await fetch(`${o}/api/v1/artifacts/${t}/upload-url`,{method:"POST",headers:{"X-API-KEY":n,"Content-Type":"application/json"},body:JSON.stringify(c)});if(shouldFallbackToLegacyUpload(p.status)){throw new LegacyUploadRequiredError}if(!p.ok){const e=await p.text();throw new Error(`Failed to create direct upload URL (HTTP ${p.status}): ${e}`)}const d=await p.json();const h={...d.requiredHeaders??{}};if(!hasHeaderIgnoreCase(h,"Content-Type")){h["Content-Type"]=a}const g=await fetch(d.uploadUrl,{method:"PUT",headers:h,body:l});if(!g.ok){const e=await g.text();throw new Error(`Direct artifact upload failed (HTTP ${g.status}): ${e}`)}const m={testResultId:r,ctrfAttachmentName:i,fileName:s,contentType:a,sizeBytes:u,storageKey:d.storageKey};const b=await fetch(`${o}/api/v1/artifacts/${t}/complete`,{method:"POST",headers:{"X-API-KEY":n,"Content-Type":"application/json"},body:JSON.stringify(m)});if(!b.ok){const e=await b.text();throw new Error(`Failed to finalize artifact upload (HTTP ${b.status}): ${e}`)}return true}async function uploadWithLegacyEndpoint(e){const{testResultId:r,attachmentName:t,reportId:n,apiKey:o,apiUrl:i,fileName:s,contentType:a,fileBuffer:u}=e;const l=new Blob([new Uint8Array(u)],{type:a});const c=new FormData;c.append("testResultId",r);c.append("ctrfAttachmentName",t);c.append("file",l,s);const p=await fetch(`${i}/api/v1/artifacts/${n}`,{method:"POST",headers:{"X-API-KEY":o},body:c});if(!p.ok){const e=await p.text();throw new Error(`Legacy artifact upload failed (HTTP ${p.status}): ${e}`)}return true}function shouldFallbackToLegacyUpload(e){return e===404||e===405||e===501}function hasHeaderIgnoreCase(e,r){const t=r.toLowerCase();return Object.keys(e).some((e=>e.toLowerCase()===t))}},3018:(e,r,t)=>{"use strict";const n=t(7665);e.exports=n.TestreamMochaReporter},7665:function(e,r,t){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,r,t,n){if(n===undefined)n=t;var o=Object.getOwnPropertyDescriptor(r,t);if(!o||("get"in o?!r.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return r[t]}}}Object.defineProperty(e,n,o)}:function(e,r,t,n){if(n===undefined)n=t;e[n]=r[t]});var o=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var i=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var r=[];for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))r[r.length]=t;return r};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var t=ownKeys(e),i=0;i<t.length;i++)if(t[i]!=="default")n(r,e,t[i]);o(r,e);return r}}();Object.defineProperty(r,"__esModule",{value:true});r.TestreamMochaReporter=void 0;const s=i(t(2057));const a=i(t(1943));const u=i(t(6928));const l=t(7322);const c=t(8010);const p=t(1364);function toBool(e,r){if(typeof e==="boolean")return e;if(typeof e==="string")return e.toLowerCase()==="true";return r}class TestreamMochaReporter extends s.reporters.Base{constructor(e,r){super(e,r);this.outputDir="ctrf";this.outputFile="ctrf-report.json";const t=r.reporterOptions||{};this.config={...t,uploadEnabled:toBool(t.uploadEnabled,true),failOnUploadError:toBool(t.failOnUploadError,false)};if(!this.config.apiKey){this.config.apiKey=""}const n={reporterOptions:{outputDir:this.outputDir,outputFile:this.outputFile}};if(this.config.testEnvironment)n.reporterOptions.testEnvironment=this.config.testEnvironment;if(this.config.appName)n.reporterOptions.appName=this.config.appName;if(this.config.appVersion)n.reporterOptions.appVersion=this.config.appVersion;if(this.config.buildName)n.reporterOptions.buildName=this.config.buildName;if(this.config.buildNumber)n.reporterOptions.buildNumber=this.config.buildNumber;if(this.config.buildUrl)n.reporterOptions.buildUrl=this.config.buildUrl;if(this.config.testType)n.reporterOptions.testType=this.config.testType;if(this.config.branch)n.reporterOptions.branchName=this.config.branch;if(this.config.commitSha)n.reporterOptions.commit=this.config.commitSha;new p(e,n)}done(e,r){this.handleRunEnd().then((()=>r?.(e))).catch((t=>{console.error("Testream reporter error:",t instanceof Error?t.message:String(t));r?.(e)}))}async handleRunEnd(){const e=await this.readCTRFReport();if(!e){console.error("Failed to read CTRF report, skipping upload");return}console.info(`CTRF report written to: ${u.join(this.outputDir,this.outputFile)}`);if(this.config.uploadEnabled&&this.config.apiKey){await this.uploadReport(e)}}async readCTRFReport(){const e=u.join(this.outputDir,this.outputFile);try{const r=await a.readFile(e,"utf-8");const t=JSON.parse(r);t.results.tool.name="mocha";return t}catch(r){console.error(`Failed to read CTRF report from ${e}: ${r instanceof Error?r.message:String(r)}`);return null}}async uploadReport(e){const r=(0,l.detectCIContext)();const t=this.config.branch||r.branch;const n=this.config.commitSha||r.commitSha;const o=this.config.repositoryUrl||r.repositoryUrl;const i=this.config.buildNumber||r.buildNumber;const s=this.config.buildUrl||r.buildUrl;const a=await(0,c.uploadToApi)({report:e,apiKey:this.config.apiKey,branch:t,commitSha:n,repositoryUrl:o,buildName:this.config.buildName,buildNumber:i,buildUrl:s,testEnvironment:this.config.testEnvironment,appName:this.config.appName,appVersion:this.config.appVersion,testType:this.config.testType});if(!a.success&&this.config.failOnUploadError){throw new Error(`Upload failed: ${a.error}`)}}}r.TestreamMochaReporter=TestreamMochaReporter;r["default"]=TestreamMochaReporter},8010:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.uploadToApi=uploadToApi;const n=t(7322);async function uploadToApi(e){return(0,n.uploadTestRun)({report:e.report,apiKey:e.apiKey,apiUrl:e.apiUrl,commitSha:e.commitSha,branch:e.branch,repositoryUrl:e.repositoryUrl,buildName:e.buildName,buildNumber:e.buildNumber,buildUrl:e.buildUrl,testEnvironment:e.testEnvironment,appName:e.appName,appVersion:e.appVersion,testType:e.testType})}},4215:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then((()=>{var r=new Error("Cannot find module '"+e+"'");r.code="MODULE_NOT_FOUND";throw r}))}webpackEmptyAsyncContext.keys=()=>[];webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=4215;e.exports=webpackEmptyAsyncContext},6982:e=>{"use strict";e.exports=require("crypto")},4434:e=>{"use strict";e.exports=require("events")},9896:e=>{"use strict";e.exports=require("fs")},1943:e=>{"use strict";e.exports=require("fs/promises")},857:e=>{"use strict";e.exports=require("os")},6928:e=>{"use strict";e.exports=require("path")},2018:e=>{"use strict";e.exports=require("tty")},7016:e=>{"use strict";e.exports=require("url")},9023:e=>{"use strict";e.exports=require("util")},2057:(e,r,t)=>{"use strict";e.exports=t(6459)},9822:e=>{"use strict";e.exports=Context;function Context(){}Context.prototype.runnable=function(e){if(!arguments.length){return this._runnable}this.test=this._runnable=e;return this};Context.prototype.timeout=function(e){if(!arguments.length){return this.runnable().timeout()}this.runnable().timeout(e);return this};Context.prototype.slow=function(e){if(!arguments.length){return this.runnable().slow()}this.runnable().slow(e);return this};Context.prototype.skip=function(){this.runnable().skip()};Context.prototype.retries=function(e){if(!arguments.length){return this.runnable().retries()}this.runnable().retries(e);return this}},8406:(e,r,t)=>{"use strict";const{format:n}=t(9023);const emitWarning=(e,r)=>{if(process.emitWarning){process.emitWarning(e,r)}else{process.nextTick((function(){console.warn(r+": "+e)}))}};const deprecate=e=>{e=String(e);if(e&&!deprecate.cache[e]){deprecate.cache[e]=true;emitWarning(e,"DeprecationWarning")}};deprecate.cache={};const warn=e=>{if(e){emitWarning(e)}};var o={FATAL:"ERR_MOCHA_FATAL",INVALID_ARG_TYPE:"ERR_MOCHA_INVALID_ARG_TYPE",INVALID_ARG_VALUE:"ERR_MOCHA_INVALID_ARG_VALUE",INVALID_EXCEPTION:"ERR_MOCHA_INVALID_EXCEPTION",INVALID_INTERFACE:"ERR_MOCHA_INVALID_INTERFACE",INVALID_REPORTER:"ERR_MOCHA_INVALID_REPORTER",MULTIPLE_DONE:"ERR_MOCHA_MULTIPLE_DONE",NO_FILES_MATCH_PATTERN:"ERR_MOCHA_NO_FILES_MATCH_PATTERN",UNSUPPORTED:"ERR_MOCHA_UNSUPPORTED",INSTANCE_ALREADY_RUNNING:"ERR_MOCHA_INSTANCE_ALREADY_RUNNING",INSTANCE_ALREADY_DISPOSED:"ERR_MOCHA_INSTANCE_ALREADY_DISPOSED",FORBIDDEN_EXCLUSIVITY:"ERR_MOCHA_FORBIDDEN_EXCLUSIVITY",INVALID_PLUGIN_IMPLEMENTATION:"ERR_MOCHA_INVALID_PLUGIN_IMPLEMENTATION",INVALID_PLUGIN_DEFINITION:"ERR_MOCHA_INVALID_PLUGIN_DEFINITION",TIMEOUT:"ERR_MOCHA_TIMEOUT",UNPARSABLE_FILE:"ERR_MOCHA_UNPARSABLE_FILE"};const i=new Set(Object.values(o));function createNoFilesMatchPatternError(e,r){var t=new Error(e);t.code=o.NO_FILES_MATCH_PATTERN;t.pattern=r;return t}function createInvalidReporterError(e,r){var t=new TypeError(e);t.code=o.INVALID_REPORTER;t.reporter=r;return t}function createInvalidInterfaceError(e,r){var t=new Error(e);t.code=o.INVALID_INTERFACE;t.interface=r;return t}function createUnsupportedError(e){var r=new Error(e);r.code=o.UNSUPPORTED;return r}function createMissingArgumentError(e,r,t){return createInvalidArgumentTypeError(e,r,t)}function createInvalidArgumentTypeError(e,r,t){var n=new TypeError(e);n.code=o.INVALID_ARG_TYPE;n.argument=r;n.expected=t;n.actual=typeof r;return n}function createInvalidArgumentValueError(e,r,t,n){var i=new TypeError(e);i.code=o.INVALID_ARG_VALUE;i.argument=r;i.value=t;i.reason=typeof n!=="undefined"?n:"is invalid";return i}function createInvalidExceptionError(e,r){var t=new Error(e);t.code=o.INVALID_EXCEPTION;t.valueType=typeof r;t.value=r;return t}function createFatalError(e,r){var t=new Error(e);t.code=o.FATAL;t.valueType=typeof r;t.value=r;return t}function createInvalidLegacyPluginError(e,r,t){switch(r){case"reporter":return createInvalidReporterError(e,t);case"ui":return createInvalidInterfaceError(e,t);default:throw new Error('unknown pluginType "'+r+'"')}}function createInvalidPluginError(...e){deprecate("Use createInvalidLegacyPluginError() instead");return createInvalidLegacyPluginError(...e)}function createMochaInstanceAlreadyDisposedError(e,r,t){var n=new Error(e);n.code=o.INSTANCE_ALREADY_DISPOSED;n.cleanReferencesAfterRun=r;n.instance=t;return n}function createMochaInstanceAlreadyRunningError(e,r){var t=new Error(e);t.code=o.INSTANCE_ALREADY_RUNNING;t.instance=r;return t}function createMultipleDoneError(e,r){var t;try{t=n("<%s>",e.fullTitle());if(e.parent.root){t+=" (of root suite)"}}catch(r){t=n("<%s> (of unknown suite)",e.title)}var i=n("done() called multiple times in %s %s",e.type?e.type:"unknown runnable",t);if(e.file){i+=n(" of file %s",e.file)}if(r){i+=n("; in addition, done() received error: %s",r)}var s=new Error(i);s.code=o.MULTIPLE_DONE;s.valueType=typeof r;s.value=r;return s}function createForbiddenExclusivityError(e){var r=new Error(e.isWorker?"`.only` is not supported in parallel mode":"`.only` forbidden by --forbid-only");r.code=o.FORBIDDEN_EXCLUSIVITY;return r}function createInvalidPluginDefinitionError(e,r){const t=new Error(e);t.code=o.INVALID_PLUGIN_DEFINITION;t.pluginDef=r;return t}function createInvalidPluginImplementationError(e,{pluginDef:r,pluginImpl:t}={}){const n=new Error(e);n.code=o.INVALID_PLUGIN_IMPLEMENTATION;n.pluginDef=r;n.pluginImpl=t;return n}function createTimeoutError(e,r,t){const n=new Error(e);n.code=o.TIMEOUT;n.timeout=r;n.file=t;return n}function createUnparsableFileError(e,r){var t=new Error(e);t.code=o.UNPARSABLE_FILE;return t}const isMochaError=e=>Boolean(e&&typeof e==="object"&&i.has(e.code));e.exports={constants:o,createFatalError:createFatalError,createForbiddenExclusivityError:createForbiddenExclusivityError,createInvalidArgumentTypeError:createInvalidArgumentTypeError,createInvalidArgumentValueError:createInvalidArgumentValueError,createInvalidExceptionError:createInvalidExceptionError,createInvalidInterfaceError:createInvalidInterfaceError,createInvalidLegacyPluginError:createInvalidLegacyPluginError,createInvalidPluginDefinitionError:createInvalidPluginDefinitionError,createInvalidPluginError:createInvalidPluginError,createInvalidPluginImplementationError:createInvalidPluginImplementationError,createInvalidReporterError:createInvalidReporterError,createMissingArgumentError:createMissingArgumentError,createMochaInstanceAlreadyDisposedError:createMochaInstanceAlreadyDisposedError,createMochaInstanceAlreadyRunningError:createMochaInstanceAlreadyRunningError,createMultipleDoneError:createMultipleDoneError,createNoFilesMatchPatternError:createNoFilesMatchPatternError,createTimeoutError:createTimeoutError,createUnparsableFileError:createUnparsableFileError,createUnsupportedError:createUnsupportedError,deprecate:deprecate,isMochaError:isMochaError,warn:warn}},4302:(e,r,t)=>{"use strict";var n=t(8368);const{inherits:o,constants:i}=t(3519);const{MOCHA_ID_PROP_NAME:s}=i;e.exports=Hook;function Hook(e,r){n.call(this,e,r);this.type="hook"}o(Hook,n);Hook.prototype.reset=function(){n.prototype.reset.call(this);delete this._error};Hook.prototype.error=function(e){if(!arguments.length){e=this._error;this._error=null;return e}this._error=e};Hook.prototype.serialize=function serialize(){return{$$currentRetry:this.currentRetry(),$$fullTitle:this.fullTitle(),$$isPending:Boolean(this.isPending()),$$titlePath:this.titlePath(),ctx:this.ctx&&this.ctx.currentTest?{currentTest:{title:this.ctx.currentTest.title,[s]:this.ctx.currentTest.id}}:{},duration:this.duration,file:this.file,parent:{$$fullTitle:this.parent.fullTitle(),[s]:this.parent.id},state:this.state,title:this.title,type:this.type,[s]:this.id}}},6872:(e,r,t)=>{"use strict";var n=t(9293);var o=t(4377).constants.EVENT_FILE_PRE_REQUIRE;e.exports=function bddInterface(e){var r=[e];e.on(o,(function(o,i,s){var a=t(9509)(r,o,s);o.before=a.before;o.after=a.after;o.beforeEach=a.beforeEach;o.afterEach=a.afterEach;o.run=s.options.delay&&a.runWithSuite(e);o.describe=o.context=function(e,r){return a.suite.create({title:e,file:i,fn:r})};o.xdescribe=o.xcontext=o.describe.skip=function(e,r){return a.suite.skip({title:e,file:i,fn:r})};o.describe.only=function(e,r){return a.suite.only({title:e,file:i,fn:r})};o.it=o.specify=function(e,t){var o=r[0];if(o.isPending()){t=null}var s=new n(e,t);s.file=i;o.addTest(s);return s};o.it.only=function(e,r){return a.test.only(s,o.it(e,r))};o.xit=o.xspecify=o.it.skip=function(e){return o.it(e)}}))};e.exports.description="BDD or RSpec style [default]"},9509:(e,r,t)=>{"use strict";var n=t(4377);var o=t(8406);var i=o.createMissingArgumentError;var s=o.createUnsupportedError;var a=o.createForbiddenExclusivityError;e.exports=function(e,r,t){function shouldBeTested(e){return!t.options.grep||t.options.grep&&t.options.grep.test(e.fullTitle())&&!t.options.invert}return{runWithSuite:function runWithSuite(e){return function run(){e.run()}},before:function(r,t){e[0].beforeAll(r,t)},after:function(r,t){e[0].afterAll(r,t)},beforeEach:function(r,t){e[0].beforeEach(r,t)},afterEach:function(r,t){e[0].afterEach(r,t)},suite:{only:function only(e){if(t.options.forbidOnly){throw a(t)}e.isOnly=true;return this.create(e)},skip:function skip(e){e.pending=true;return this.create(e)},create:function create(r){var o=n.create(e[0],r.title);o.pending=Boolean(r.pending);o.file=r.file;e.unshift(o);if(r.isOnly){o.markOnly()}if(o.pending&&t.options.forbidPending&&shouldBeTested(o)){throw s("Pending test forbidden")}if(typeof r.fn==="function"){r.fn.call(o);e.shift()}else if(typeof r.fn==="undefined"&&!o.pending){throw i('Suite "'+o.fullTitle()+'" was defined but no callback was supplied. '+"Supply a callback or explicitly skip the suite.","callback","function")}else if(!r.fn&&o.pending){e.shift()}return o}},test:{only:function(e,r){if(e.options.forbidOnly){throw a(e)}r.markOnly();return r},skip:function(e){r.test(e)}}}}},2065:(e,r,t)=>{"use strict";var n=t(4377);var o=t(9293);e.exports=function(e){var r=[e];e.on(n.constants.EVENT_FILE_REQUIRE,visit);function visit(e,t){var i;for(var s in e){if(typeof e[s]==="function"){var a=e[s];switch(s){case"before":r[0].beforeAll(a);break;case"after":r[0].afterAll(a);break;case"beforeEach":r[0].beforeEach(a);break;case"afterEach":r[0].afterEach(a);break;default:var u=new o(s,a);u.file=t;r[0].addTest(u)}}else{i=n.create(r[0],s);r.unshift(i);visit(e[s],t);r.shift()}}}};e.exports.description='Node.js module ("exports") style'},9914:(e,r,t)=>{"use strict";r.bdd=t(6872);r.tdd=t(4798);r.qunit=t(4055);r.exports=t(2065)},4055:(e,r,t)=>{"use strict";var n=t(9293);var o=t(4377).constants.EVENT_FILE_PRE_REQUIRE;e.exports=function qUnitInterface(e){var r=[e];e.on(o,(function(o,i,s){var a=t(9509)(r,o,s);o.before=a.before;o.after=a.after;o.beforeEach=a.beforeEach;o.afterEach=a.afterEach;o.run=s.options.delay&&a.runWithSuite(e);o.suite=function(e){if(r.length>1){r.shift()}return a.suite.create({title:e,file:i,fn:false})};o.suite.only=function(e){if(r.length>1){r.shift()}return a.suite.only({title:e,file:i,fn:false})};o.test=function(e,t){var o=new n(e,t);o.file=i;r[0].addTest(o);return o};o.test.only=function(e,r){return a.test.only(s,o.test(e,r))};o.test.skip=a.test.skip}))};e.exports.description="QUnit style"},4798:(e,r,t)=>{"use strict";var n=t(9293);var o=t(4377).constants.EVENT_FILE_PRE_REQUIRE;e.exports=function(e){var r=[e];e.on(o,(function(o,i,s){var a=t(9509)(r,o,s);o.setup=a.beforeEach;o.teardown=a.afterEach;o.suiteSetup=a.before;o.suiteTeardown=a.after;o.run=s.options.delay&&a.runWithSuite(e);o.suite=function(e,r){return a.suite.create({title:e,file:i,fn:r})};o.suite.skip=function(e,r){return a.suite.skip({title:e,file:i,fn:r})};o.suite.only=function(e,r){return a.suite.only({title:e,file:i,fn:r})};o.test=function(e,t){var o=r[0];if(o.isPending()){t=null}var s=new n(e,t);s.file=i;o.addTest(s);return s};o.test.only=function(e,r){return a.test.only(s,o.test(e,r))};o.test.skip=a.test.skip}))};e.exports.description='traditional "suite"/"test" instead of BDD\'s "describe"/"it"'},6459:(e,r,t)=>{"use strict";e=t.nmd(e);
|
|
10
|
+
/*!
|
|
11
|
+
* mocha
|
|
12
|
+
* Copyright(c) 2011 TJ Holowaychuk <tj@vision-media.ca>
|
|
13
|
+
* MIT Licensed
|
|
14
|
+
*/var n=t(5227);var o=t(6928);var i=t(5644);var s=t(3519);var a=t(8042);var u=t(4377);var l=t(1162);var c=t(4032);const{createInvalidReporterError:p,createInvalidInterfaceError:d,createMochaInstanceAlreadyDisposedError:h,createMochaInstanceAlreadyRunningError:g,createUnsupportedError:m}=t(8406);const{EVENT_FILE_PRE_REQUIRE:b,EVENT_FILE_POST_REQUIRE:v,EVENT_FILE_REQUIRE:y}=u.constants;var E=t(7674)("mocha:mocha");r=e.exports=Mocha;var w=s.defineConstants({INIT:"init",RUNNING:"running",REFERENCES_CLEANED:"referencesCleaned",DISPOSED:"disposed"});if(!s.isBrowser()&&typeof e.paths!=="undefined"){var _=s.cwd();e.paths.push(_,o.join(_,"node_modules"))}r.utils=s;r.interfaces=t(9914);r.reporters=i;r.Runnable=t(8368);r.Context=t(9822);r.Runner=t(5299);r.Suite=u;r.Hook=t(4302);r.Test=t(9293);let T;r.afterEach=function(...e){return(T.afterEach||T.teardown).apply(this,e)};r.after=function(...e){return(T.after||T.suiteTeardown).apply(this,e)};r.beforeEach=function(...e){return(T.beforeEach||T.setup).apply(this,e)};r.before=function(...e){return(T.before||T.suiteSetup).apply(this,e)};r.describe=function(...e){return(T.describe||T.suite).apply(this,e)};r.describe.only=function(...e){return(T.describe||T.suite).only.apply(this,e)};r.describe.skip=function(...e){return(T.describe||T.suite).skip.apply(this,e)};r.it=function(...e){return(T.it||T.test).apply(this,e)};r.it.only=function(...e){return(T.it||T.test).only.apply(this,e)};r.it.skip=function(...e){return(T.it||T.test).skip.apply(this,e)};r.xdescribe=r.describe.skip;r.xit=r.it.skip;r.setup=r.beforeEach;r.suiteSetup=r.before;r.suiteTeardown=r.after;r.suite=r.describe;r.teardown=r.afterEach;r.test=r.it;r.run=function(...e){return T.run.apply(this,e)};function Mocha(e={}){e={...a,...e};this.files=[];this.options=e;this.suite=new r.Suite("",new r.Context,true);this._cleanReferencesAfterRun=true;this._state=w.INIT;this.grep(e.grep).fgrep(e.fgrep).ui(e.ui).reporter(e.reporter,e.reporterOption||e.reporterOptions).slow(e.slow).global(e.global);if(typeof e.timeout!=="undefined"){this.timeout(e.timeout===false?0:e.timeout)}if("retries"in e){this.retries(e.retries)}["allowUncaught","asyncOnly","bail","checkLeaks","color","delay","diff","dryRun","passOnFailingTestSuite","failZero","forbidOnly","forbidPending","fullTrace","inlineDiffs","invert"].forEach((function(r){if(e[r]){this[r]()}}),this);if(e.rootHooks){this.rootHooks(e.rootHooks)}this._runnerClass=r.Runner;this._lazyLoadFiles=false;this.isWorker=Boolean(e.isWorker);this.globalSetup(e.globalSetup).globalTeardown(e.globalTeardown).enableGlobalSetup(e.enableGlobalSetup).enableGlobalTeardown(e.enableGlobalTeardown);if(e.parallel&&(typeof e.jobs==="undefined"||e.jobs>1)){E("attempting to enable parallel mode");this.parallelMode(true)}}Mocha.prototype.bail=function(e){this.suite.bail(e!==false);return this};Mocha.prototype.addFile=function(e){this.files.push(e);return this};Mocha.prototype.reporter=function(e,r){if(typeof e==="function"){this._reporter=e}else{e=e||"spec";var t;if(i[e]){t=i[e]}if(!t){let r;try{r=require.resolve(e);t=require(r)}catch(n){if(r){throw p(n.message,r)}try{t=require(o.resolve(e))}catch(r){throw p(r.message,e)}}}this._reporter=t}this.options.reporterOption=r;this.options.reporterOptions=r;return this};Mocha.prototype.ui=function(e){var t;if(typeof e==="function"){t=e}else{e=e||"bdd";t=r.interfaces[e];if(!t){try{t=require(e)}catch(r){throw d(`invalid interface '${e}'`,e)}}}t(this.suite);this.suite.on(b,(function(e){T=e}));return this};Mocha.prototype.loadFiles=function(e){var r=this;var t=this.suite;this.files.forEach((function(e){e=o.resolve(e);t.emit(b,global,e,r);t.emit(y,require(e),e,r);t.emit(v,global,e,r)}));e&&e()};Mocha.prototype.loadFilesAsync=function({esmDecorator:e}={}){var r=this;var t=this.suite;this.lazyLoadFiles(true);return l.loadFilesAsync(this.files,(function(e){t.emit(b,global,e,r)}),(function(e,n){t.emit(y,n,e,r);t.emit(v,global,e,r)}),e)};Mocha.unloadFile=function(e){if(s.isBrowser()){throw m("unloadFile() is only supported in a Node.js environment")}return t(3120).unloadFile(e)};Mocha.prototype.unloadFiles=function(){if(this._state===w.DISPOSED){throw h("Mocha instance is already disposed, it cannot be used again.",this._cleanReferencesAfterRun,this)}this.files.forEach((function(e){Mocha.unloadFile(e)}));this._state=w.INIT;return this};Mocha.prototype.fgrep=function(e){if(!e){return this}return this.grep(new RegExp(n(e)))};Mocha.prototype.grep=function(e){if(s.isString(e)){var r=e.match(/^\/(.*)\/([gimy]{0,4})$|.*/);this.options.grep=new RegExp(r[1]||r[0],r[2])}else{this.options.grep=e}return this};Mocha.prototype.invert=function(){this.options.invert=true;return this};Mocha.prototype.checkLeaks=function(e){this.options.checkLeaks=e!==false;return this};Mocha.prototype.cleanReferencesAfterRun=function(e){this._cleanReferencesAfterRun=e!==false;return this};Mocha.prototype.dispose=function(){if(this._state===w.RUNNING){throw g("Cannot dispose while the mocha instance is still running tests.")}this.unloadFiles();this._previousRunner&&this._previousRunner.dispose();this.suite.dispose();this._state=w.DISPOSED};Mocha.prototype.fullTrace=function(e){this.options.fullTrace=e!==false;return this};Mocha.prototype.global=function(e){this.options.global=(this.options.global||[]).concat(e).filter(Boolean).filter((function(e,r,t){return t.indexOf(e)===r}));return this};Mocha.prototype.globals=Mocha.prototype.global;Mocha.prototype.color=function(e){this.options.color=e!==false;return this};Mocha.prototype.inlineDiffs=function(e){this.options.inlineDiffs=e!==false;return this};Mocha.prototype.diff=function(e){this.options.diff=e!==false;return this};Mocha.prototype.timeout=function(e){this.suite.timeout(e);return this};Mocha.prototype.retries=function(e){this.suite.retries(e);return this};Mocha.prototype.slow=function(e){this.suite.slow(e);return this};Mocha.prototype.asyncOnly=function(e){this.options.asyncOnly=e!==false;return this};Mocha.prototype.noHighlighting=function(){this.options.noHighlighting=true;return this};Mocha.prototype.allowUncaught=function(e){this.options.allowUncaught=e!==false;return this};Mocha.prototype.delay=function delay(){this.options.delay=true;return this};Mocha.prototype.dryRun=function(e){this.options.dryRun=e!==false;return this};Mocha.prototype.failZero=function(e){this.options.failZero=e!==false;return this};Mocha.prototype.passOnFailingTestSuite=function(e){this.options.passOnFailingTestSuite=e===true;return this};Mocha.prototype.forbidOnly=function(e){this.options.forbidOnly=e!==false;return this};Mocha.prototype.forbidPending=function(e){this.options.forbidPending=e!==false;return this};Mocha.prototype._guardRunningStateTransition=function(){if(this._state===w.RUNNING){throw g("Mocha instance is currently running tests, cannot start a next test run until this one is done",this)}if(this._state===w.DISPOSED||this._state===w.REFERENCES_CLEANED){throw h("Mocha instance is already disposed, cannot start a new test run. Please create a new mocha instance. Be sure to set disable `cleanReferencesAfterRun` when you want to reuse the same mocha instance for multiple test runs.",this._cleanReferencesAfterRun,this)}};Object.defineProperty(Mocha.prototype,"version",{value:t(5715).rE,configurable:false,enumerable:true,writable:false});Mocha.prototype.run=function(e){this._guardRunningStateTransition();this._state=w.RUNNING;if(this._previousRunner){this._previousRunner.dispose();this.suite.reset()}if(this.files.length&&!this._lazyLoadFiles){this.loadFiles()}var t=this.suite;var n=this.options;n.files=this.files;const o=new this._runnerClass(t,{cleanReferencesAfterRun:this._cleanReferencesAfterRun,delay:n.delay,dryRun:n.dryRun,failZero:n.failZero});c(o);var i=new this._reporter(o,n);o.checkLeaks=n.checkLeaks===true;o.fullStackTrace=n.fullTrace;o.asyncOnly=n.asyncOnly;o.allowUncaught=n.allowUncaught;o.forbidOnly=n.forbidOnly;o.forbidPending=n.forbidPending;if(n.grep){o.grep(n.grep,n.invert)}if(n.global){o.globals(n.global)}if(n.color!==undefined){r.reporters.Base.useColors=n.color}r.reporters.Base.inlineDiffs=n.inlineDiffs;r.reporters.Base.hideDiff=!n.diff;const done=r=>{this._previousRunner=o;this._state=this._cleanReferencesAfterRun?w.REFERENCES_CLEANED:w.INIT;e=e||s.noop;if(typeof i.done==="function"){i.done(r,e)}else{e(r)}};const runAsync=async e=>{const r=this.options.enableGlobalSetup&&this.hasGlobalSetupFixtures()?await this.runGlobalSetup(e):{};const t=await e.runAsync({files:this.files,options:n});if(this.options.enableGlobalTeardown&&this.hasGlobalTeardownFixtures()){await this.runGlobalTeardown(e,{context:r})}return t};runAsync(o).then(done);return o};Mocha.prototype.rootHooks=function rootHooks({beforeAll:e=[],beforeEach:r=[],afterAll:t=[],afterEach:n=[]}={}){e=s.castArray(e);r=s.castArray(r);t=s.castArray(t);n=s.castArray(n);e.forEach((e=>{this.suite.beforeAll(e)}));r.forEach((e=>{this.suite.beforeEach(e)}));t.forEach((e=>{this.suite.afterAll(e)}));n.forEach((e=>{this.suite.afterEach(e)}));return this};Mocha.prototype.parallelMode=function parallelMode(e=true){if(s.isBrowser()){throw m("parallel mode is only supported in Node.js")}const n=Boolean(e);if(n===this.options.parallel&&this._lazyLoadFiles&&this._runnerClass!==r.Runner){return this}if(this._state!==w.INIT){throw m("cannot change parallel mode after having called run()")}this.options.parallel=n;this._runnerClass=n?t(559):r.Runner;return this.lazyLoadFiles(this._lazyLoadFiles||n)};Mocha.prototype.lazyLoadFiles=function lazyLoadFiles(e){this._lazyLoadFiles=e===true;E("set lazy load to %s",e);return this};Mocha.prototype.globalSetup=function globalSetup(e=[]){e=s.castArray(e);this.options.globalSetup=e;E("configured %d global setup functions",e.length);return this};Mocha.prototype.globalTeardown=function globalTeardown(e=[]){e=s.castArray(e);this.options.globalTeardown=e;E("configured %d global teardown functions",e.length);return this};Mocha.prototype.runGlobalSetup=async function runGlobalSetup(e={}){const{globalSetup:r}=this.options;if(r&&r.length){E("run(): global setup starting");await this._runGlobalFixtures(r,e);E("run(): global setup complete")}return e};Mocha.prototype.runGlobalTeardown=async function runGlobalTeardown(e={}){const{globalTeardown:r}=this.options;if(r&&r.length){E("run(): global teardown starting");await this._runGlobalFixtures(r,e)}E("run(): global teardown complete");return e};Mocha.prototype._runGlobalFixtures=async function _runGlobalFixtures(e=[],r={}){for await(const t of e){await t.call(r)}return r};Mocha.prototype.enableGlobalSetup=function enableGlobalSetup(e=true){this.options.enableGlobalSetup=Boolean(e);return this};Mocha.prototype.enableGlobalTeardown=function enableGlobalTeardown(e=true){this.options.enableGlobalTeardown=Boolean(e);return this};Mocha.prototype.hasGlobalSetupFixtures=function hasGlobalSetupFixtures(){return Boolean(this.options.globalSetup.length)};Mocha.prototype.hasGlobalTeardownFixtures=function hasGlobalTeardownFixtures(){return Boolean(this.options.globalTeardown.length)}},1320:(e,r,t)=>{"use strict";const n=t(4994);const o=t(7949);const{deserialize:i}=t(8733);const s=t(7674)("mocha:parallel:buffered-worker-pool");const{createInvalidArgumentTypeError:a}=t(8406);const u=t.ab+"worker.js";let l=new WeakMap;const c={workerType:"process",forkOpts:{execArgv:process.execArgv},maxWorkers:o.cpus-1};class BufferedWorkerPool{constructor(e={}){const r=Math.max(1,typeof e.maxWorkers==="undefined"?c.maxWorkers:e.maxWorkers);if(o.cpus<2){s("not enough CPU cores available to run multiple jobs; avoid --parallel on this machine")}else if(r>=o.cpus){s("%d concurrent job(s) requested, but only %d core(s) available",r,o.cpus)}s("run(): starting worker pool of max size %d, using node args: %s",r,process.execArgv.join(" "));let n=0;const onCreateWorker=({forkOpts:e})=>({forkOpts:{...e,env:{...process.env,MOCHA_WORKER_ID:n++}}});this.options={...c,...e,maxWorkers:r,onCreateWorker:onCreateWorker};this._pool=o.pool(t.ab+"worker.js",this.options)}async terminate(e=false){s("terminate(): terminating with force = %s",e);return this._pool.terminate(e)}async run(e,r={}){if(!e||typeof e!=="string"){throw a("Expected a non-empty filepath","filepath","string")}const t=BufferedWorkerPool.serializeOptions(r);const n=await this._pool.exec("run",[e,t]);return i(n)}stats(){return this._pool.stats()}static create(...e){return new BufferedWorkerPool(...e)}static serializeOptions(e={}){if(!l.has(e)){const r=n(e,{unsafe:true,ignoreFunction:true});l.set(e,r);s("serializeOptions(): serialized options %O to: %s",e,r)}return l.get(e)}static resetOptionsCache(){l=new WeakMap}}r.BufferedWorkerPool=BufferedWorkerPool},1162:(e,r,t)=>{const n=t(6928);const o=t(7016);const forward=e=>e;const formattedImport=async(e,t=forward)=>{if(n.isAbsolute(e)){try{return await r.doImport(t(o.pathToFileURL(e)))}catch(r){if(r instanceof SyntaxError&&r.message&&r.stack&&!r.stack.includes(e)){const t=new SyntaxError(r.message);t.stack=r.stack.replace(/^SyntaxError/,`SyntaxError[ @${e} ]`);throw t}throw r}}return r.doImport(t(e))};r.doImport=async e=>t(4215)(e);r.requireOrImport=async(e,r)=>{if(n.extname(e)===".mjs"){return formattedImport(e,r)}try{return dealWithExports(await formattedImport(e,r))}catch(r){if(r.code==="ERR_MODULE_NOT_FOUND"||r.code==="ERR_UNKNOWN_FILE_EXTENSION"||r.code==="ERR_UNSUPPORTED_DIR_IMPORT"){try{return require(e)}catch(e){if(e.code==="ERR_REQUIRE_ESM"||e instanceof SyntaxError&&e.toString().includes("Cannot use import statement outside a module")){throw r}else{throw e}}}else{throw r}}};function dealWithExports(e){if(e.default){return e.default}else{return{...e,default:undefined}}}r.loadFilesAsync=async(e,t,o,i)=>{for(const s of e){t(s);const e=await r.requireOrImport(n.resolve(s),i);o(s,e)}}},3120:(e,r)=>{"use strict";r.unloadFile=e=>{delete require.cache[require.resolve(e)]}},559:(e,r,t)=>{"use strict";const n=t(5299);const{EVENT_RUN_BEGIN:o,EVENT_RUN_END:i}=n.constants;const s=t(7674)("mocha:parallel:parallel-buffered-runner");const{BufferedWorkerPool:a}=t(1320);const{setInterval:u,clearInterval:l}=global;const{createMap:c,constants:p}=t(3519);const{MOCHA_ID_PROP_NAME:d}=p;const{createFatalError:h}=t(8406);const g=t.ab+"parallel-buffered.js";const m=["globalSetup","globalTeardown","parallel","p","jobs","j"];const debugStats=e=>{const{totalWorkers:r,busyWorkers:t,idleWorkers:n,pendingTasks:o}=e.stats();s("%d/%d busy workers; %d idle; %d tasks queued",t,r,n,o)};const b=5e3;const v="ABORTED";const y="IDLE";const E="ABORTING";const w="RUNNING";const _="BAILING";const T="BAILED";const k="COMPLETE";const A=c({[y]:new Set([w,E]),[w]:new Set([k,_,E]),[k]:new Set,[v]:new Set,[E]:new Set([v]),[_]:new Set([T,E]),[T]:new Set([k,E])});class ParallelBufferedRunner extends n{constructor(...e){super(...e);let r=y;Object.defineProperty(this,"_state",{get(){return r},set(e){if(A[r].has(e)){r=e}else{throw new Error(`invalid state transition: ${r} => ${e}`)}}});this._workerReporter=t.ab+"parallel-buffered.js";this._linkPartialObjects=false;this._linkedObjectMap=new Map;this.once(n.constants.EVENT_RUN_END,(()=>{this._state=k}))}_createFileRunner(e,r){const emitEvent=(e,r)=>{this.emit(e.eventName,e.data,e.error);if(this._state!==_&&e.data&&e.data._bail&&(r||e.error)){s("run(): nonzero failure count & found bail flag");this._state=_}};const linkEvent=e=>{const r=[{parent:e,prop:"data"}];while(r.length){const{parent:e,prop:t}=r.pop();const n=e[t];let o;if(n&&typeof n==="object"){if(n[d]){const r=n[d];o=this._linkedObjectMap.has(r)?Object.assign(this._linkedObjectMap.get(r),n):n;this._linkedObjectMap.set(r,o);e[t]=o}else{throw h("Object missing ID received in event data",n)}}Object.keys(o).forEach((e=>{const t=n[e];if(t&&typeof t==="object"&&t[d]){r.push({obj:t,parent:o,prop:e})}}))}};return async t=>{s("run(): enqueueing test file %s",t);try{const{failureCount:n,events:o}=await e.run(t,r);if(this._state===T){return}s("run(): completed run of file %s; %d failures / %d events",t,n,o.length);this.failures+=n;let i=o.shift();if(this._linkPartialObjects){while(i){linkEvent(i);emitEvent(i,n);i=o.shift()}}else{while(i){emitEvent(i,n);i=o.shift()}}if(this._state===_){s('run(): terminating pool due to "bail" flag');this._state=T;await e.terminate()}}catch(r){if(this._state===T||this._state===E){s("run(): worker pool terminated with intent; skipping file %s",t)}else{s("run(): encountered uncaught exception: %O",r);if(this.allowUncaught){this._state=E;await e.terminate(true)}throw r}}finally{s("run(): done running file %s",t)}}}_bindSigIntListener(e){const sigIntListener=async()=>{s("run(): caught a SIGINT");this._state=E;try{s("run(): force-terminating worker pool");await e.terminate(true)}catch(e){console.error(`Error while attempting to force-terminate worker pool: ${e}`);process.exitCode=1}finally{process.nextTick((()=>{s("run(): imminent death");this._state=v;process.kill(process.pid,"SIGINT")}))}};process.once("SIGINT",sigIntListener);return sigIntListener}run(e,{files:r,options:t={}}={}){let n;t={...t,reporter:this._workerReporter};(async()=>{let c;let p;try{p=a.create({maxWorkers:t.jobs});n=this._bindSigIntListener(p);c=u((()=>debugStats(p)),b).unref();this.started=true;this._state=w;this.emit(o);t={...t};m.forEach((e=>{delete t[e]}));const l=await Promise.allSettled(r.map(this._createFileRunner(p,t)));await p.terminate();l.filter((({status:e})=>e==="rejected")).forEach((({reason:e})=>{if(this.allowUncaught){throw e}this.uncaught(e)}));if(this._state===E){return}this.emit(i);s("run(): completing with failure count %d",this.failures);e(this.failures)}catch(e){process.nextTick((()=>{s("run(): re-throwing uncaught exception");throw e}))}finally{l(c);process.removeListener("SIGINT",n)}})();return this}linkPartialObjects(e){this._linkPartialObjects=Boolean(e);return super.linkPartialObjects(e)}isParallelMode(){return true}workerReporter(e){this._workerReporter=e;return this}}e.exports=ParallelBufferedRunner},8733:(e,r,t)=>{"use strict";const{type:n,breakCircularDeps:o}=t(3519);const{createInvalidArgumentTypeError:i}=t(8406);const s=t(7674)("mocha:serializer");const a="SerializableWorkerResult";const u=new Set(["object","array","function","error"]);class SerializableWorkerResult{constructor(e=[],r=0){this.failureCount=r;this.events=e;Object.defineProperty(this,"__type",{value:a,enumerable:true,writable:false})}static create(...e){return new SerializableWorkerResult(...e)}serialize(){this.events.forEach((e=>{e.serialize()}));return Object.freeze(this)}static deserialize(e){e.events.forEach((e=>{SerializableEvent.deserialize(e)}));return e}static isSerializedWorkerResult(e){return e instanceof SerializableWorkerResult||n(e)==="object"&&e.__type===a}}class SerializableEvent{constructor(e,r,t){if(!e){throw i("Empty `eventName` string argument","eventName","string")}this.eventName=e;const o=n(r);if(o!=="object"&&o!=="undefined"){throw i(`Expected object but received ${o}`,"originalValue","object")}Object.defineProperty(this,"originalError",{value:t,enumerable:false});Object.defineProperty(this,"originalValue",{value:r,enumerable:false})}static create(...e){return new SerializableEvent(...e)}static _serialize(e,r,t){let o=r[t];let i=n(o);if(i==="error"){o=Object.assign(Object.create(null),o,{stack:o.stack,message:o.message,__type:"Error"});r[t]=o;i="object"}switch(i){case"object":if(n(o.serialize)==="function"){r[t]=o.serialize()}else{e.push(...Object.keys(o).filter((e=>u.has(n(o[e])))).map((e=>[o,e])))}break;case"function":delete r[t];break;case"array":e.push(...o.filter((e=>u.has(n(e)))).map(((e,r)=>[e,r])));break}}serialize(){const e=this.originalValue;const r=Object.assign(Object.create(null),{data:n(e)==="object"&&n(e.serialize)==="function"?e.serialize():e,error:this.originalError});o(r.error);const t=Object.keys(r).map((e=>[r,e]));const i=new Set;let s;while(s=t.shift()){if(i.has(s[1])){continue}i.add(s[1]);SerializableEvent._serialize(t,...s)}this.data=r.data;this.error=r.error;return Object.freeze(this)}static _deserializeError(e){const r=new Error(e.message);r.stack=e.stack;Object.assign(r,e);delete r.__type;return r}static _deserializeObject(e,r){if(r==="__proto__"){delete e[r];return}const t=e[r];if(n(r)==="string"&&r.startsWith("$$")){const n=r.slice(2);e[n]=()=>t;delete e[r];r=n}if(n(t)==="array"){t.forEach(((e,r)=>{SerializableEvent._deserializeObject(t,r)}))}else if(n(t)==="object"){if(t.__type==="Error"){e[r]=SerializableEvent._deserializeError(t)}else{Object.keys(t).forEach((e=>{SerializableEvent._deserializeObject(t,e)}))}}}static deserialize(e){if(!e){throw i("Expected value",e)}e=Object.assign(Object.create(null),e);if(e.data){Object.keys(e.data).forEach((r=>{SerializableEvent._deserializeObject(e.data,r)}))}if(e.error){e.error=SerializableEvent._deserializeError(e.error)}return e}}r.serialize=function serialize(e){const r=n(e)==="object"&&n(e.serialize)==="function"?e.serialize():e;s("serialized: %O",r);return r};r.deserialize=function deserialize(e){const r=SerializableWorkerResult.isSerializedWorkerResult(e)?SerializableWorkerResult.deserialize(e):e;s("deserialized: %O",r);return r};r.SerializableEvent=SerializableEvent;r.SerializableWorkerResult=SerializableWorkerResult},902:e=>{"use strict";e.exports=Pending;function Pending(e){this.message=e}},307:(e,r,t)=>{"use strict";var n=t(8125);var o=t(5900);var i=t(3519);var s=t(6856);var a=t(4394);var u=t(5299).constants;var l=u.EVENT_TEST_PASS;var c=u.EVENT_TEST_FAIL;const p=i.isBrowser();function getBrowserWindowSize(){if("innerHeight"in global){return[global.innerHeight,global.innerWidth]}return[640,480]}r=e.exports=Base;var d=p||process.stdout.isTTY&&process.stderr.isTTY;var h=console.log;r.useColors=!p&&(s.stdout||process.env.MOCHA_COLORS!==undefined);r.inlineDiffs=false;r.maxDiffSize=8192;r.colors={pass:90,fail:31,"bright pass":92,"bright fail":91,"bright yellow":93,pending:36,suite:0,"error title":0,"error message":31,"error stack":90,checkmark:32,fast:90,medium:33,slow:31,green:32,light:90,"diff gutter":90,"diff added":32,"diff removed":31,"diff added inline":"30;42","diff removed inline":"30;41"};r.symbols={ok:a.success,err:a.error,dot:".",comma:",",bang:"!"};var g=r.color=function(e,t){if(!r.useColors){return String(t)}return"["+r.colors[e]+"m"+t+"[0m"};r.window={width:75};if(d){if(p){r.window.width=getBrowserWindowSize()[1]}else{r.window.width=process.stdout.getWindowSize(1)[0]}}r.cursor={hide:function(){d&&process.stdout.write("[?25l")},show:function(){d&&process.stdout.write("[?25h")},deleteLine:function(){d&&process.stdout.write("[2K")},beginningOfLine:function(){d&&process.stdout.write("[0G")},CR:function(){if(d){r.cursor.deleteLine();r.cursor.beginningOfLine()}else{process.stdout.write("\r")}}};var m=r.showDiff=function(e){return e&&e.showDiff!==false&&sameType(e.actual,e.expected)&&e.expected!==undefined};function stringifyDiffObjs(e){if(!i.isString(e.actual)||!i.isString(e.expected)){e.actual=i.stringify(e.actual);e.expected=i.stringify(e.expected)}}var b=r.generateDiff=function(e,t){try{var n=r.maxDiffSize;var o=0;if(n>0){o=Math.max(e.length-n,t.length-n);e=e.slice(0,n);t=t.slice(0,n)}let i=r.inlineDiffs?inlineDiff(e,t):unifiedDiff(e,t);if(o>0){i=`${i}\n [mocha] output truncated to ${n} characters, see "maxDiffSize" reporter-option\n`}return i}catch(e){var i="\n "+g("diff added","+ expected")+" "+g("diff removed","- actual: failed to generate Mocha diff")+"\n";return i}};var getFullErrorStack=function(e,r){if(r&&r.has(e)){return{message:"",msg:"<circular>",stack:""}}var t;if(typeof e.inspect==="function"){t=e.inspect()+""}else if(e.message&&typeof e.message.toString==="function"){t=e.message+""}else{t=""}var n;var o=e.stack||t;var i=t?o.indexOf(t):-1;if(i===-1){n=t}else{i+=t.length;n=o.slice(0,i);o=o.slice(i+1);if(e.cause){r=r||new Set;r.add(e);const t=getFullErrorStack(e.cause,r);o+="\n Caused by: "+t.msg+(t.stack?"\n"+t.stack:"")}}return{message:t,msg:n,stack:o}};r.list=function(e){var t,n;Base.consoleLog();e.forEach((function(e,o){var i=g("error title"," %s) %s:\n")+g("error message"," %s")+g("error stack","\n%s\n");var s;if(e.err&&e.err.multiple){if(n!==e){n=e;t=[e.err].concat(e.err.multiple)}s=t.shift()}else{s=e.err}var{message:a,msg:u,stack:l}=getFullErrorStack(s);if(s.uncaught){u="Uncaught "+u}if(!r.hideDiff&&m(s)){stringifyDiffObjs(s);i=g("error title"," %s) %s:\n%s")+g("error stack","\n%s\n");var c=a.match(/^([^:]+): expected/);u="\n "+g("error message",c?c[1]:u);u+=b(s.actual,s.expected)}l=l.replace(/^/gm," ");var p="";e.titlePath().forEach((function(e,r){if(r!==0){p+="\n "}for(var t=0;t<r;t++){p+=" "}p+=e}));Base.consoleLog(i,o+1,p,u,l)}))};function Base(e,t){var n=this.failures=[];if(!e){throw new TypeError("Missing runner argument")}this.options=t||{};this.runner=e;this.stats=e.stats;var o=this.options.reporterOption&&this.options.reporterOption.maxDiffSize;if(o!==undefined&&!isNaN(Number(o))){r.maxDiffSize=Number(o)}e.on(l,(function(e){if(e.duration>e.slow()){e.speed="slow"}else if(e.duration>e.slow()/2){e.speed="medium"}else{e.speed="fast"}}));e.on(c,(function(e,r){if(m(r)){stringifyDiffObjs(r)}if(e.err&&r instanceof Error){e.err.multiple=(e.err.multiple||[]).concat(r)}else{e.err=r}n.push(e)}))}Base.prototype.epilogue=function(){var e=this.stats;var r;Base.consoleLog();r=g("bright pass"," ")+g("green"," %d passing")+g("light"," (%s)");Base.consoleLog(r,e.passes||0,o(e.duration));if(e.pending){r=g("pending"," ")+g("pending"," %d pending");Base.consoleLog(r,e.pending)}if(e.failures){r=g("fail"," %d failing");Base.consoleLog(r,e.failures);Base.list(this.failures);Base.consoleLog()}Base.consoleLog()};function pad(e,r){e=String(e);return Array(r-e.length+1).join(" ")+e}function inlineDiff(e,r){var t=errorDiff(e,r);var n=t.split("\n");if(n.length>4){var o=String(n.length).length;t=n.map((function(e,r){return pad(++r,o)+" |"+" "+e})).join("\n")}t="\n"+g("diff removed inline","actual")+" "+g("diff added inline","expected")+"\n\n"+t+"\n";t=t.replace(/^/gm," ");return t}function unifiedDiff(e,r){var t=" ";function cleanUp(e){if(e[0]==="+"){return t+colorLines("diff added",e)}if(e[0]==="-"){return t+colorLines("diff removed",e)}if(e.match(/@@/)){return"--"}if(e.match(/\\ No newline/)){return null}return t+e}function notBlank(e){return typeof e!=="undefined"&&e!==null}var o=n.createPatch("string",e,r);var i=o.split("\n").splice(5);return"\n "+colorLines("diff added","+ expected")+" "+colorLines("diff removed","- actual")+"\n\n"+i.map(cleanUp).filter(notBlank).join("\n")}function errorDiff(e,r){return n.diffWordsWithSpace(e,r).map((function(e){if(e.added){return colorLines("diff added inline",e.value)}if(e.removed){return colorLines("diff removed inline",e.value)}return e.value})).join("")}function colorLines(e,r){return r.split("\n").map((function(r){return g(e,r)})).join("\n")}var v=Object.prototype.toString;function sameType(e,r){return v.call(e)===v.call(r)}Base.consoleLog=h;Base.abstract=true},2882:(e,r,t)=>{"use strict";var n=t(307);var o=t(3519);var i=t(5299).constants;var s=i.EVENT_TEST_PASS;var a=i.EVENT_TEST_FAIL;var u=i.EVENT_SUITE_BEGIN;var l=i.EVENT_SUITE_END;r=e.exports=Doc;function Doc(e,r){n.call(this,e,r);var t=2;function indent(){return Array(t).join(" ")}e.on(u,(function(e){if(e.root){return}++t;n.consoleLog('%s<section class="suite">',indent());++t;n.consoleLog("%s<h1>%s</h1>",indent(),o.escape(e.title));n.consoleLog("%s<dl>",indent())}));e.on(l,(function(e){if(e.root){return}n.consoleLog("%s</dl>",indent());--t;n.consoleLog("%s</section>",indent());--t}));e.on(s,(function(e){n.consoleLog("%s <dt>%s</dt>",indent(),o.escape(e.title));n.consoleLog("%s <dt>%s</dt>",indent(),o.escape(e.file));var r=o.escape(o.clean(e.body));n.consoleLog("%s <dd><pre><code>%s</code></pre></dd>",indent(),r)}));e.on(a,(function(e,r){n.consoleLog('%s <dt class="error">%s</dt>',indent(),o.escape(e.title));n.consoleLog('%s <dt class="error">%s</dt>',indent(),o.escape(e.file));var t=o.escape(o.clean(e.body));n.consoleLog('%s <dd class="error"><pre><code>%s</code></pre></dd>',indent(),t);n.consoleLog('%s <dd class="error">%s</dd>',indent(),o.escape(r))}))}Doc.description="HTML documentation"},6987:(e,r,t)=>{"use strict";var n=t(307);var o=t(3519).inherits;var i=t(5299).constants;var s=i.EVENT_TEST_PASS;var a=i.EVENT_TEST_FAIL;var u=i.EVENT_RUN_BEGIN;var l=i.EVENT_TEST_PENDING;var c=i.EVENT_RUN_END;r=e.exports=Dot;function Dot(e,r){n.call(this,e,r);var t=this;var o=n.window.width*.75|0;var i=-1;e.on(u,(function(){process.stdout.write("\n")}));e.on(l,(function(){if(++i%o===0){process.stdout.write("\n ")}process.stdout.write(n.color("pending",n.symbols.comma))}));e.on(s,(function(e){if(++i%o===0){process.stdout.write("\n ")}if(e.speed==="slow"){process.stdout.write(n.color("bright yellow",n.symbols.dot))}else{process.stdout.write(n.color(e.speed,n.symbols.dot))}}));e.on(a,(function(){if(++i%o===0){process.stdout.write("\n ")}process.stdout.write(n.color("fail",n.symbols.bang))}));e.once(c,(function(){process.stdout.write("\n");t.epilogue()}))}o(Dot,n);Dot.description="dot matrix representation"},7451:(e,r,t)=>{"use strict";var n=t(307);var o=t(3519);var i=t(5227);var s=t(5299).constants;var a=s.EVENT_TEST_PASS;var u=s.EVENT_TEST_FAIL;var l=s.EVENT_SUITE_BEGIN;var c=s.EVENT_SUITE_END;var p=s.EVENT_TEST_PENDING;var d=o.escape;var h=global.Date;r=e.exports=HTML;var g='<ul id="mocha-stats">'+'<li class="result"></li>'+'<li class="progress-contain"><progress class="progress-element" max="100" value="0"></progress><svg class="progress-ring"><circle class="ring-flatlight" stroke-dasharray="100%,0%"/><circle class="ring-highlight" stroke-dasharray="0%,100%"/></svg><div class="progress-text">0%</div></li>'+'<li class="passes"><a href="javascript:void(0);">passes:</a> <em>0</em></li>'+'<li class="failures"><a href="javascript:void(0);">failures:</a> <em>0</em></li>'+'<li class="duration">duration: <em>0</em>s</li>'+"</ul>";var m="‣";function HTML(e,r){n.call(this,e,r);var t=this;var o=this.stats;var i=fragment(g);var s=i.getElementsByTagName("li");const b=0;const v=1;const y=2;const E=3;const w=4;var _=s[b];const T=s[y];const k=T.getElementsByTagName("em")[0];const A=T.getElementsByTagName("a")[0];const N=s[E];const S=N.getElementsByTagName("em")[0];const R=N.getElementsByTagName("a")[0];var D=s[w].getElementsByTagName("em")[0];var O=fragment('<ul id="mocha-report"></ul>');var x=[O];var C=s[v].getElementsByTagName("div")[0];var I=s[v].getElementsByTagName("progress")[0];var L=[s[v].getElementsByClassName("ring-flatlight")[0],s[v].getElementsByClassName("ring-highlight")[0]];var P=null;var q=document.getElementById("mocha");if(!q){return error("#mocha div missing, add it to your document")}on(A,"click",(function(e){e.preventDefault();unhide();var r=/pass/.test(O.className)?"":" pass";O.className=O.className.replace(/fail|pass/g,"")+r;if(O.className.trim()){hideSuitesWithout("test pass")}}));on(R,"click",(function(e){e.preventDefault();unhide();var r=/fail/.test(O.className)?"":" fail";O.className=O.className.replace(/fail|pass/g,"")+r;if(O.className.trim()){hideSuitesWithout("test fail")}}));q.appendChild(i);q.appendChild(O);e.on(l,(function(e){if(e.root){return}var r=t.suiteURL(e);var n=fragment('<li class="suite"><h1><a href="%s">%s</a></h1></li>',r,d(e.title));x[0].appendChild(n);x.unshift(document.createElement("ul"));n.appendChild(x[0])}));e.on(c,(function(e){if(e.root){if(o.failures===0){text(_,"✓");i.className+=" pass"}updateStats();return}x.shift()}));e.on(a,(function(e){var r=t.testURL(e);var n='<li class="test pass %e"><h2>%e<span class="duration">%ems</span> '+'<a href="%s" class="replay">'+m+"</a></h2></li>";var o=fragment(n,e.speed,e.title,e.duration,r);t.addCodeToggle(o,e.body);appendToStack(o);updateStats()}));e.on(u,(function(e){text(_,"✖");i.className+=" fail";var r=fragment('<li class="test fail"><h2>%e <a href="%e" class="replay">'+m+"</a></h2></li>",e.title,t.testURL(e));var n;var o=e.err.toString();if(o==="[object Error]"){o=e.err.message}if(e.err.stack){var s=e.err.stack.indexOf(e.err.message);if(s===-1){n=e.err.stack}else{n=e.err.stack.slice(e.err.message.length+s)}}else if(e.err.sourceURL&&e.err.line!==undefined){n="\n("+e.err.sourceURL+":"+e.err.line+")"}n=n||"";if(e.err.htmlMessage&&n){r.appendChild(fragment('<div class="html-error">%s\n<pre class="error">%e</pre></div>',e.err.htmlMessage,n))}else if(e.err.htmlMessage){r.appendChild(fragment('<div class="html-error">%s</div>',e.err.htmlMessage))}else{r.appendChild(fragment('<pre class="error">%e%e</pre>',o,n))}t.addCodeToggle(r,e.body);appendToStack(r);updateStats()}));e.on(p,(function(e){var r=fragment('<li class="test pass pending"><h2>%e</h2></li>',e.title);appendToStack(r);updateStats()}));function appendToStack(e){if(x[0]){x[0].appendChild(e)}}function updateStats(){var r=o.tests/e.total*100|0;I.value=r;if(C){var t=Math.ceil(Math.log10(e.total/100));text(C,r.toFixed(Math.min(Math.max(t,0),100))+"%")}if(L){var n=parseFloat(getComputedStyle(L[0]).getPropertyValue("r"));var i=Math.PI*2*n;var s=r*(i/100);L[0].style["stroke-dasharray"]=`0,${s}px,${i}px`;L[1].style["stroke-dasharray"]=`${s}px,${i}px`}var a=new h-o.start;text(k,o.passes);text(S,o.failures);text(D,(a/1e3).toFixed(2))}}function makeUrl(e){var r=window.location.search;if(r){r=r.replace(/[?&](?:f?grep|invert)=[^&\s]*/g,"").replace(/^&/,"?")}return window.location.pathname+(r?r+"&":"?")+"grep="+encodeURIComponent(e)}HTML.prototype.suiteURL=function(e){return makeUrl("^"+i(e.fullTitle())+" ")};HTML.prototype.testURL=function(e){return makeUrl("^"+i(e.fullTitle())+"$")};HTML.prototype.addCodeToggle=function(e,r){var t=e.getElementsByTagName("h2")[0];on(t,"click",(function(){n.style.display=n.style.display==="none"?"block":"none"}));var n=fragment("<pre><code>%e</code></pre>",o.clean(r));e.appendChild(n);n.style.display="none"};function error(e){document.body.appendChild(fragment('<div id="mocha-error">%s</div>',e))}function fragment(e){var r=arguments;var t=document.createElement("div");var n=1;t.innerHTML=e.replace(/%([se])/g,(function(e,t){switch(t){case"s":return String(r[n++]);case"e":return d(r[n++])}}));return t.firstChild}function hideSuitesWithout(e){var r=document.getElementsByClassName("suite");for(var t=0;t<r.length;t++){var n=r[t].getElementsByClassName(e);if(!n.length){r[t].className+=" hidden"}}}function unhide(){var e=document.getElementsByClassName("suite hidden");while(e.length>0){e[0].className=e[0].className.replace("suite hidden","suite")}}function text(e,r){if(e.textContent){e.textContent=r}else{e.innerText=r}}function on(e,r,t){if(e.addEventListener){e.addEventListener(r,t,false)}else{e.attachEvent("on"+r,t)}}HTML.browserOnly=true},5644:(e,r,t)=>{"use strict";r.Base=r.base=t(307);r.Dot=r.dot=t(6987);r.Doc=r.doc=t(2882);r.TAP=r.tap=t(6033);r.JSON=r.json=t(2500);r.HTML=r.html=t(7451);r.List=r.list=t(9286);r.Min=r.min=t(5664);r.Spec=r.spec=t(3333);r.Nyan=r.nyan=t(5592);r.XUnit=r.xunit=t(4002);r.Markdown=r.markdown=t(2927);r.Progress=r.progress=t(5325);r.Landing=r.landing=t(1599);r.JSONStream=r["json-stream"]=t(7841)},7841:(e,r,t)=>{"use strict";var n=t(307);var o=t(5299).constants;var i=o.EVENT_TEST_PASS;var s=o.EVENT_TEST_FAIL;var a=o.EVENT_RUN_BEGIN;var u=o.EVENT_RUN_END;r=e.exports=JSONStream;function JSONStream(e,r){n.call(this,e,r);var t=this;var o=e.total;e.once(a,(function(){writeEvent(["start",{total:o}])}));e.on(i,(function(e){writeEvent(["pass",clean(e)])}));e.on(s,(function(e,r){e=clean(e);e.err=r.message;e.stack=r.stack||null;writeEvent(["fail",e])}));e.once(u,(function(){writeEvent(["end",t.stats])}))}function writeEvent(e){process.stdout.write(JSON.stringify(e)+"\n")}function clean(e){return{title:e.title,fullTitle:e.fullTitle(),file:e.file,duration:e.duration,currentRetry:e.currentRetry(),speed:e.speed}}JSONStream.description="newline delimited JSON events"},2500:(e,r,t)=>{"use strict";var n=t(307);var o=t(9896);var i=t(6928);const s=t(8406).createUnsupportedError;const a=t(3519);var u=t(5299).constants;var l=u.EVENT_TEST_PASS;var c=u.EVENT_TEST_PENDING;var p=u.EVENT_TEST_FAIL;var d=u.EVENT_TEST_END;var h=u.EVENT_RUN_END;r=e.exports=JSONReporter;function JSONReporter(e,r={}){n.call(this,e,r);var t=this;var u=[];var g=[];var m=[];var b=[];var v;if(r.reporterOption&&r.reporterOption.output){if(a.isBrowser()){throw s("file output not supported in browser")}v=r.reporterOption.output}e.on(d,(function(e){u.push(e)}));e.on(l,(function(e){b.push(e)}));e.on(p,(function(e){m.push(e)}));e.on(c,(function(e){g.push(e)}));e.once(h,(function(){var r={stats:t.stats,tests:u.map(clean),pending:g.map(clean),failures:m.map(clean),passes:b.map(clean)};e.testResults=r;var s=JSON.stringify(r,null,2);if(v){try{o.mkdirSync(i.dirname(v),{recursive:true});o.writeFileSync(v,s)}catch(e){console.error(`${n.symbols.err} [mocha] writing output to "${v}" failed: ${e.message}\n`);process.stdout.write(s)}}else{process.stdout.write(s)}}))}function clean(e){var r=e.err||{};if(r instanceof Error){r=errorJSON(r)}return{title:e.title,fullTitle:e.fullTitle(),file:e.file,duration:e.duration,currentRetry:e.currentRetry(),speed:e.speed,err:cleanCycles(r)}}function cleanCycles(e){var r=[];return JSON.parse(JSON.stringify(e,(function(e,t){if(typeof t==="object"&&t!==null){if(r.indexOf(t)!==-1){return""+t}r.push(t)}return t})))}function errorJSON(e){var r={};Object.getOwnPropertyNames(e).forEach((function(t){r[t]=e[t]}),e);return r}JSONReporter.description="single JSON object"},1599:(e,r,t)=>{"use strict";var n=t(307);var o=t(3519).inherits;var i=t(5299).constants;var s=i.EVENT_RUN_BEGIN;var a=i.EVENT_RUN_END;var u=i.EVENT_TEST_END;var l=t(8368).constants.STATE_FAILED;var c=n.cursor;var p=n.color;r=e.exports=Landing;n.colors.plane=0;n.colors["plane crash"]=31;n.colors.runway=90;function Landing(e,r){n.call(this,e,r);var t=this;var o=n.window.width*.75|0;var i=process.stdout;var d=p("plane","✈");var h=-1;var g=0;var m=0;function runway(){var e=Array(o).join("-");return" "+p("runway",e)}e.on(s,(function(){i.write("\n\n\n ");c.hide()}));e.on(u,(function(e){var r=h===-1?o*++g/++m|0:h;if(e.state===l){d=p("plane crash","✈");h=r}i.write("["+(o+1)+"D[2A");i.write(runway());i.write("\n ");i.write(p("runway",Array(r).join("⋅")));i.write(d);i.write(p("runway",Array(o-r).join("⋅")+"\n"));i.write(runway());i.write("[0m")}));e.once(a,(function(){c.show();process.stdout.write("\n");t.epilogue()}));process.once("SIGINT",(function(){c.show();process.nextTick((function(){process.kill(process.pid,"SIGINT")}))}))}o(Landing,n);Landing.description="Unicode landing strip"},9286:(e,r,t)=>{"use strict";var n=t(307);var o=t(3519).inherits;var i=t(5299).constants;var s=i.EVENT_RUN_BEGIN;var a=i.EVENT_RUN_END;var u=i.EVENT_TEST_BEGIN;var l=i.EVENT_TEST_FAIL;var c=i.EVENT_TEST_PASS;var p=i.EVENT_TEST_PENDING;var d=n.color;var h=n.cursor;r=e.exports=List;function List(e,r){n.call(this,e,r);var t=this;var o=0;e.on(s,(function(){n.consoleLog()}));e.on(u,(function(e){process.stdout.write(d("pass"," "+e.fullTitle()+": "))}));e.on(p,(function(e){var r=d("checkmark"," -")+d("pending"," %s");n.consoleLog(r,e.fullTitle())}));e.on(c,(function(e){var r=d("checkmark"," "+n.symbols.ok)+d("pass"," %s: ")+d(e.speed,"%dms");h.CR();n.consoleLog(r,e.fullTitle(),e.duration)}));e.on(l,(function(e){h.CR();n.consoleLog(d("fail"," %d) %s"),++o,e.fullTitle())}));e.once(a,t.epilogue.bind(t))}o(List,n);List.description='like "spec" reporter but flat'},2927:(e,r,t)=>{"use strict";var n=t(307);var o=t(3519);var i=t(5299).constants;var s=i.EVENT_RUN_END;var a=i.EVENT_SUITE_BEGIN;var u=i.EVENT_SUITE_END;var l=i.EVENT_TEST_PASS;var c="$";r=e.exports=Markdown;function Markdown(e,r){n.call(this,e,r);var t=0;var i="";function title(e){return Array(t).join("#")+" "+e}function mapTOC(e,r){var t=r;var n=c+e.title;r=r[n]=r[n]||{suite:e};e.suites.forEach((function(e){mapTOC(e,r)}));return t}function stringifyTOC(e,r){++r;var t="";var n;for(var i in e){if(i==="suite"){continue}if(i!==c){n=" - ["+i.substring(1)+"]";n+="(#"+o.slug(e[i].suite.fullTitle())+")\n";t+=Array(r).join(" ")+n}t+=stringifyTOC(e[i],r)}return t}function generateTOC(e){var r=mapTOC(e,{});return stringifyTOC(r,0)}generateTOC(e.suite);e.on(a,(function(e){++t;var r=o.slug(e.fullTitle());i+='<a name="'+r+'"></a>'+"\n";i+=title(e.title)+"\n"}));e.on(u,(function(){--t}));e.on(l,(function(e){var r=o.clean(e.body);i+=e.title+".\n";i+="\n```js\n";i+=r+"\n";i+="```\n\n"}));e.once(s,(function(){process.stdout.write("# TOC\n");process.stdout.write(generateTOC(e.suite));process.stdout.write(i)}))}Markdown.description="GitHub Flavored Markdown"},5664:(e,r,t)=>{"use strict";var n=t(307);var o=t(3519).inherits;var i=t(5299).constants;var s=i.EVENT_RUN_END;var a=i.EVENT_RUN_BEGIN;r=e.exports=Min;function Min(e,r){n.call(this,e,r);e.on(a,(function(){process.stdout.write("[2J");process.stdout.write("[1;3H")}));e.once(s,this.epilogue.bind(this))}o(Min,n);Min.description="essentially just a summary"},5592:(e,r,t)=>{"use strict";var n=t(307);var o=t(5299).constants;var i=t(3519).inherits;var s=o.EVENT_RUN_BEGIN;var a=o.EVENT_TEST_PENDING;var u=o.EVENT_TEST_PASS;var l=o.EVENT_RUN_END;var c=o.EVENT_TEST_FAIL;r=e.exports=NyanCat;function NyanCat(e,r){n.call(this,e,r);var t=this;var o=n.window.width*.75|0;var i=this.nyanCatWidth=11;this.colorIndex=0;this.numberOfLines=4;this.rainbowColors=t.generateColors();this.scoreboardWidth=5;this.tick=0;this.trajectories=[[],[],[],[]];this.trajectoryWidthMax=o-i;e.on(s,(function(){n.cursor.hide();t.draw()}));e.on(a,(function(){t.draw()}));e.on(u,(function(){t.draw()}));e.on(c,(function(){t.draw()}));e.once(l,(function(){n.cursor.show();for(var e=0;e<t.numberOfLines;e++){process.stdout.write("\n")}t.epilogue()}))}i(NyanCat,n);NyanCat.prototype.draw=function(){this.appendRainbow();this.drawScoreboard();this.drawRainbow();this.drawNyanCat();this.tick=!this.tick};NyanCat.prototype.drawScoreboard=function(){var e=this.stats;function draw(e,r){process.stdout.write(" ");process.stdout.write(n.color(e,r));process.stdout.write("\n")}draw("green",e.passes);draw("fail",e.failures);draw("pending",e.pending);process.stdout.write("\n");this.cursorUp(this.numberOfLines)};NyanCat.prototype.appendRainbow=function(){var e=this.tick?"_":"-";var r=this.rainbowify(e);for(var t=0;t<this.numberOfLines;t++){var n=this.trajectories[t];if(n.length>=this.trajectoryWidthMax){n.shift()}n.push(r)}};NyanCat.prototype.drawRainbow=function(){var e=this;this.trajectories.forEach((function(r){process.stdout.write("["+e.scoreboardWidth+"C");process.stdout.write(r.join(""));process.stdout.write("\n")}));this.cursorUp(this.numberOfLines)};NyanCat.prototype.drawNyanCat=function(){var e=this;var r=this.scoreboardWidth+this.trajectories[0].length;var t="["+r+"C";var n="";process.stdout.write(t);process.stdout.write("_,------,");process.stdout.write("\n");process.stdout.write(t);n=e.tick?" ":" ";process.stdout.write("_|"+n+"/\\_/\\ ");process.stdout.write("\n");process.stdout.write(t);n=e.tick?"_":"__";var o=e.tick?"~":"^";process.stdout.write(o+"|"+n+this.face()+" ");process.stdout.write("\n");process.stdout.write(t);n=e.tick?" ":" ";process.stdout.write(n+'"" "" ');process.stdout.write("\n");this.cursorUp(this.numberOfLines)};NyanCat.prototype.face=function(){var e=this.stats;if(e.failures){return"( x .x)"}else if(e.pending){return"( o .o)"}else if(e.passes){return"( ^ .^)"}return"( - .-)"};NyanCat.prototype.cursorUp=function(e){process.stdout.write("["+e+"A")};NyanCat.prototype.cursorDown=function(e){process.stdout.write("["+e+"B")};NyanCat.prototype.generateColors=function(){var e=[];for(var r=0;r<6*7;r++){var t=Math.floor(Math.PI/3);var n=r*(1/6);var o=Math.floor(3*Math.sin(n)+3);var i=Math.floor(3*Math.sin(n+2*t)+3);var s=Math.floor(3*Math.sin(n+4*t)+3);e.push(36*o+6*i+s+16)}return e};NyanCat.prototype.rainbowify=function(e){if(!n.useColors){return e}var r=this.rainbowColors[this.colorIndex%this.rainbowColors.length];this.colorIndex+=1;return"[38;5;"+r+"m"+e+"[0m"};NyanCat.description='"nyan cat"'},5325:(e,r,t)=>{"use strict";var n=t(307);var o=t(5299).constants;var i=o.EVENT_RUN_BEGIN;var s=o.EVENT_TEST_END;var a=o.EVENT_RUN_END;var u=t(3519).inherits;var l=n.color;var c=n.cursor;r=e.exports=Progress;n.colors.progress=90;function Progress(e,r){n.call(this,e,r);var t=this;var o=n.window.width*.5|0;var u=e.total;var p=0;var d=-1;r=r||{};var h=r.reporterOptions||{};r.open=h.open||"[";r.complete=h.complete||"▬";r.incomplete=h.incomplete||n.symbols.dot;r.close=h.close||"]";r.verbose=h.verbose||false;e.on(i,(function(){process.stdout.write("\n");c.hide()}));e.on(s,(function(){p++;var e=p/u;var t=o*e|0;var n=o-t;if(t===d&&!r.verbose){return}d=t;c.CR();process.stdout.write("[J");process.stdout.write(l("progress"," "+r.open));process.stdout.write(Array(t).join(r.complete));process.stdout.write(Array(n).join(r.incomplete));process.stdout.write(l("progress",r.close));if(r.verbose){process.stdout.write(l("progress"," "+p+" of "+u))}}));e.once(a,(function(){c.show();process.stdout.write("\n");t.epilogue()}))}u(Progress,n);Progress.description="a progress bar"},3333:(e,r,t)=>{"use strict";var n=t(307);var o=t(5299).constants;var i=o.EVENT_RUN_BEGIN;var s=o.EVENT_RUN_END;var a=o.EVENT_SUITE_BEGIN;var u=o.EVENT_SUITE_END;var l=o.EVENT_TEST_FAIL;var c=o.EVENT_TEST_PASS;var p=o.EVENT_TEST_PENDING;var d=t(3519).inherits;var h=n.color;r=e.exports=Spec;function Spec(e,r){n.call(this,e,r);var t=this;var o=0;var d=0;function indent(){return Array(o).join(" ")}e.on(i,(function(){n.consoleLog()}));e.on(a,(function(e){++o;n.consoleLog(h("suite","%s%s"),indent(),e.title)}));e.on(u,(function(){--o;if(o===1){n.consoleLog()}}));e.on(p,(function(e){var r=indent()+h("pending"," - %s");n.consoleLog(r,e.title)}));e.on(c,(function(e){var r;if(e.speed==="fast"){r=indent()+h("checkmark"," "+n.symbols.ok)+h("pass"," %s");n.consoleLog(r,e.title)}else{r=indent()+h("checkmark"," "+n.symbols.ok)+h("pass"," %s")+h(e.speed," (%dms)");n.consoleLog(r,e.title,e.duration)}}));e.on(l,(function(e){n.consoleLog(indent()+h("fail"," %d) %s"),++d,e.title)}));e.once(s,t.epilogue.bind(t))}d(Spec,n);Spec.description="hierarchical & verbose [default]"},6033:(e,r,t)=>{"use strict";var n=t(9023);var o=t(307);var i=t(5299).constants;var s=i.EVENT_TEST_PASS;var a=i.EVENT_TEST_FAIL;var u=i.EVENT_RUN_BEGIN;var l=i.EVENT_RUN_END;var c=i.EVENT_TEST_PENDING;var p=i.EVENT_TEST_END;var d=t(3519).inherits;var h=n.format;r=e.exports=TAP;function TAP(e,r){o.call(this,e,r);var t=this;var n=1;var i="12";if(r&&r.reporterOptions){if(r.reporterOptions.tapVersion){i=r.reporterOptions.tapVersion.toString()}}this._producer=createProducer(i);e.once(u,(function(){t._producer.writeVersion()}));e.on(p,(function(){++n}));e.on(c,(function(e){t._producer.writePending(n,e)}));e.on(s,(function(e){t._producer.writePass(n,e)}));e.on(a,(function(e,r){t._producer.writeFail(n,e,r)}));e.once(l,(function(){t._producer.writeEpilogue(e.stats)}))}d(TAP,o);function title(e){return e.fullTitle().replace(/#/g,"")}function println(e,r){var t=Array.from(arguments);t[0]+="\n";process.stdout.write(h.apply(null,t))}function createProducer(e){var r={12:new TAP12Producer,13:new TAP13Producer};var t=r[e];if(!t){throw new Error("invalid or unsupported TAP version: "+JSON.stringify(e))}return t}function TAPProducer(){}TAPProducer.prototype.writeVersion=function(){};TAPProducer.prototype.writePlan=function(e){println("%d..%d",1,e)};TAPProducer.prototype.writePass=function(e,r){println("ok %d %s",e,title(r))};TAPProducer.prototype.writePending=function(e,r){println("ok %d %s # SKIP -",e,title(r))};TAPProducer.prototype.writeFail=function(e,r,t){println("not ok %d %s",e,title(r))};TAPProducer.prototype.writeEpilogue=function(e){println("# tests "+(e.passes+e.failures));println("# pass "+e.passes);println("# fail "+e.failures);this.writePlan(e.passes+e.failures+e.pending)};function TAP12Producer(){this.writeFail=function(e,r,t){TAPProducer.prototype.writeFail.call(this,e,r,t);if(t.message){println(t.message.replace(/^/gm," "))}if(t.stack){println(t.stack.replace(/^/gm," "))}}}d(TAP12Producer,TAPProducer);function TAP13Producer(){this.writeVersion=function(){println("TAP version 13")};this.writeFail=function(e,r,t){TAPProducer.prototype.writeFail.call(this,e,r,t);var n=t.message!=null||t.stack!=null;if(n){println(indent(1)+"---");if(t.message){println(indent(2)+"message: |-");println(t.message.replace(/^/gm,indent(3)))}if(t.stack){println(indent(2)+"stack: |-");println(t.stack.replace(/^/gm,indent(3)))}println(indent(1)+"...")}};function indent(e){return Array(e+1).join(" ")}}d(TAP13Producer,TAPProducer);TAP.description="TAP-compatible output"},4002:(e,r,t)=>{"use strict";var n=t(307);var o=t(3519);var i=t(9896);var s=t(6928);var a=t(8406);var u=a.createUnsupportedError;var l=t(5299).constants;var c=l.EVENT_TEST_PASS;var p=l.EVENT_TEST_FAIL;var d=l.EVENT_RUN_END;var h=l.EVENT_TEST_PENDING;var g=t(8368).constants.STATE_FAILED;var m=o.inherits;var b=o.escape;var v=global.Date;r=e.exports=XUnit;function XUnit(e,r){n.call(this,e,r);var t=this.stats;var o=[];var a=this;var l;var g="Mocha Tests";if(r&&r.reporterOptions){if(r.reporterOptions.output){if(!i.createWriteStream){throw u("file output not supported in browser")}i.mkdirSync(s.dirname(r.reporterOptions.output),{recursive:true});a.fileStream=i.createWriteStream(r.reporterOptions.output)}l=r.reporterOptions.suiteName}l=l||g;e.on(h,(function(e){o.push(e)}));e.on(c,(function(e){o.push(e)}));e.on(p,(function(e){o.push(e)}));e.once(d,(function(){a.write(tag("testsuite",{name:l,tests:t.tests,failures:0,errors:t.failures,skipped:t.tests-t.failures-t.passes,timestamp:(new v).toUTCString(),time:t.duration/1e3||0},false));o.forEach((function(e){a.test(e)}));a.write("</testsuite>")}))}m(XUnit,n);XUnit.prototype.done=function(e,r){if(this.fileStream){this.fileStream.end((function(){r(e)}))}else{r(e)}};XUnit.prototype.write=function(e){if(this.fileStream){this.fileStream.write(e+"\n")}else if(typeof process==="object"&&process.stdout){process.stdout.write(e+"\n")}else{n.consoleLog(e)}};XUnit.prototype.test=function(e){n.useColors=false;var r={classname:e.parent.fullTitle(),name:e.title,file:e.file,time:e.duration/1e3||0};if(e.state===g){var t=e.err;var o=!n.hideDiff&&n.showDiff(t)?"\n"+n.generateDiff(t.actual,t.expected):"";this.write(tag("testcase",r,false,tag("failure",{},false,b(t.message)+b(o)+"\n"+b(t.stack))))}else if(e.isPending()){this.write(tag("testcase",r,false,tag("skipped",{},true)))}else{this.write(tag("testcase",r,true))}};function tag(e,r,t,n){var o=t?"/>":">";var i=[];var s;for(var a in r){if(Object.prototype.hasOwnProperty.call(r,a)){i.push(a+'="'+b(r[a])+'"')}}s="<"+e+(i.length?" "+i.join(" "):"")+o;if(n){s+=n+"</"+e+o}return s}XUnit.description="XUnit-compatible XML output"},8368:(e,r,t)=>{"use strict";var n=t(4434).EventEmitter;var o=t(902);var i=t(7674)("mocha:runnable");var s=t(5900);var a=t(3519);const{createInvalidExceptionError:u,createMultipleDoneError:l,createTimeoutError:c}=t(8406);var p=global.Date;var d=global.setTimeout;var h=global.clearTimeout;var g=Object.prototype.toString;var m=Math.pow(2,31)-1;e.exports=Runnable;function Runnable(e,r){this.title=e;this.fn=r;this.body=(r||"").toString();this.async=r&&r.length;this.sync=!this.async;this._timeout=2e3;this._slow=75;this._retries=-1;a.assignNewMochaID(this);Object.defineProperty(this,"id",{get(){return a.getMochaID(this)}});this.reset()}a.inherits(Runnable,n);Runnable.prototype.reset=function(){this.timedOut=false;this._currentRetry=0;this.pending=false;delete this.state;delete this.err};Runnable.prototype.timeout=function(e){if(!arguments.length){return this._timeout}if(typeof e==="string"){e=s(e)}var r=[0,m];e=a.clamp(e,r);if(e===r[0]||e===r[1]){this._timeout=0}else{this._timeout=e}i("timeout %d",this._timeout);if(this.timer){this.resetTimeout()}return this};Runnable.prototype.slow=function(e){if(!arguments.length||typeof e==="undefined"){return this._slow}if(typeof e==="string"){e=s(e)}i("slow %d",e);this._slow=e;return this};Runnable.prototype.skip=function(){this.pending=true;throw new o("sync skip; aborting execution")};Runnable.prototype.isPending=function(){return this.pending||this.parent&&this.parent.isPending()};Runnable.prototype.isFailed=function(){return!this.isPending()&&this.state===b.STATE_FAILED};Runnable.prototype.isPassed=function(){return!this.isPending()&&this.state===b.STATE_PASSED};Runnable.prototype.retries=function(e){if(!arguments.length){return this._retries}this._retries=e};Runnable.prototype.currentRetry=function(e){if(!arguments.length){return this._currentRetry}this._currentRetry=e};Runnable.prototype.fullTitle=function(){return this.titlePath().join(" ")};Runnable.prototype.titlePath=function(){return this.parent.titlePath().concat([this.title])};Runnable.prototype.clearTimeout=function(){h(this.timer)};Runnable.prototype.resetTimeout=function(){var e=this;var r=this.timeout()||m;this.clearTimeout();this.timer=d((function(){if(e.timeout()===0){return}e.callback(e._timeoutError(r));e.timedOut=true}),r)};Runnable.prototype.globals=function(e){if(!arguments.length){return this._allowedGlobals}this._allowedGlobals=e};Runnable.prototype.run=function(e){var r=this;var t=new p;var n=this.ctx;var i;var s=false;if(this.isPending())return e();if(n&&n.runnable){n.runnable(this)}function multiple(e){if(s){return}s=true;r.emit("error",l(r,e))}function done(n){var o=r.timeout();if(r.timedOut){return}if(i){return multiple(n)}r.clearTimeout();r.duration=new p-t;i=true;if(!n&&r.duration>o&&o>0){n=r._timeoutError(o)}e(n)}this.callback=done;if(this.fn&&typeof this.fn.call!=="function"){done(new TypeError("A runnable must be passed a function as its second argument."));return}if(this.async){this.resetTimeout();this.skip=function asyncSkip(){this.pending=true;done();throw new o("async skip; aborting execution")};try{callFnAsync(this.fn)}catch(e){s=true;if(e instanceof o){return}else if(this.allowUncaught){throw e}done(Runnable.toValueOrError(e))}return}try{callFn(this.fn)}catch(e){s=true;if(e instanceof o){return done()}else if(this.allowUncaught){throw e}done(Runnable.toValueOrError(e))}function callFn(e){var t=e.call(n);if(t&&typeof t.then==="function"){r.resetTimeout();t.then((function(){done();return null}),(function(e){done(e||new Error("Promise rejected with no or falsy reason"))}))}else{if(r.asyncOnly){return done(new Error("--async-only option in use without declaring `done()` or returning a promise"))}done()}}function callFnAsync(e){var r=e.call(n,(function(e){if(e instanceof Error||g.call(e)==="[object Error]"){return done(e)}if(e){if(Object.prototype.toString.call(e)==="[object Object]"){return done(new Error("done() invoked with non-Error: "+JSON.stringify(e)))}return done(new Error("done() invoked with non-Error: "+e))}if(r&&a.isPromise(r)){return done(new Error("Resolution method is overspecified. Specify a callback *or* return a Promise; not both."))}done()}))}};Runnable.prototype._timeoutError=function(e){let r=`Timeout of ${e}ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.`;if(this.file){r+=" ("+this.file+")"}return c(r,e,this.file)};var b=a.defineConstants({STATE_FAILED:"failed",STATE_PASSED:"passed",STATE_PENDING:"pending"});Runnable.toValueOrError=function(e){return e||u("Runnable failed with falsy or undefined exception. Please throw an Error instead.",e)};Runnable.constants=b},5299:(e,r,t)=>{"use strict";var n=t(4434).EventEmitter;var o=t(902);var i=t(3519);var s=t(7674)("mocha:runner");var a=t(8368);var u=t(4377);var l=u.constants.HOOK_TYPE_BEFORE_EACH;var c=u.constants.HOOK_TYPE_AFTER_EACH;var p=u.constants.HOOK_TYPE_AFTER_ALL;var d=u.constants.HOOK_TYPE_BEFORE_ALL;var h=u.constants.EVENT_ROOT_SUITE_RUN;var g=a.constants.STATE_FAILED;var m=a.constants.STATE_PASSED;var b=a.constants.STATE_PENDING;var v=i.stackTraceFilter();var y=i.stringify;const{createInvalidExceptionError:E,createUnsupportedError:w,createFatalError:_,isMochaError:T,constants:k}=t(8406);var A=["setTimeout","clearTimeout","setInterval","clearInterval","XMLHttpRequest","Date","setImmediate","clearImmediate"];var N=i.defineConstants({EVENT_HOOK_BEGIN:"hook",EVENT_HOOK_END:"hook end",EVENT_RUN_BEGIN:"start",EVENT_DELAY_BEGIN:"waiting",EVENT_DELAY_END:"ready",EVENT_RUN_END:"end",EVENT_SUITE_BEGIN:"suite",EVENT_SUITE_END:"suite end",EVENT_TEST_BEGIN:"test",EVENT_TEST_END:"test end",EVENT_TEST_FAIL:"fail",EVENT_TEST_PASS:"pass",EVENT_TEST_PENDING:"pending",EVENT_TEST_RETRY:"retry",STATE_IDLE:"idle",STATE_RUNNING:"running",STATE_STOPPED:"stopped"});class Runner extends n{constructor(e,r={}){super();var t=this;this._globals=[];this._abort=false;this.suite=e;this._opts=r;this.state=N.STATE_IDLE;this.total=e.total();this.failures=0;this._eventListeners=new Map;this.on(N.EVENT_TEST_END,(function(e){if(e.type==="test"&&e.retriedTest()&&e.parent){var r=e.parent.tests&&e.parent.tests.indexOf(e.retriedTest());if(r>-1)e.parent.tests[r]=e}t.checkGlobals(e)}));this.on(N.EVENT_HOOK_END,(function(e){t.checkGlobals(e)}));this._defaultGrep=/.*/;this.grep(this._defaultGrep);this.globals(this.globalProps());this.uncaught=this._uncaught.bind(this);this.unhandled=(e,r)=>{if(T(e)){s("trapped unhandled rejection coming out of Mocha; forwarding to uncaught handler:",e);this.uncaught(e)}else{s("trapped unhandled rejection from (probably) user code; re-emitting on process");this._removeEventListener(process,"unhandledRejection",this.unhandled);try{process.emit("unhandledRejection",e,r)}finally{this._addEventListener(process,"unhandledRejection",this.unhandled)}}}}}Runner.immediately=global.setImmediate||process.nextTick;Runner.prototype._addEventListener=function(e,r,t){s("_addEventListener(): adding for event %s; %d current listeners",r,e.listenerCount(r));if(this._eventListeners.has(e)&&this._eventListeners.get(e).has(r)&&this._eventListeners.get(e).get(r).has(t)){s("warning: tried to attach duplicate event listener for %s",r);return}e.on(r,t);const n=this._eventListeners.has(e)?this._eventListeners.get(e):new Map;const o=n.has(r)?n.get(r):new Set;o.add(t);n.set(r,o);this._eventListeners.set(e,n)};Runner.prototype._removeEventListener=function(e,r,t){e.removeListener(r,t);if(this._eventListeners.has(e)){const n=this._eventListeners.get(e);if(n.has(r)){const e=n.get(r);e.delete(t);if(!e.size){n.delete(r)}}if(!n.size){this._eventListeners.delete(e)}}else{s("trying to remove listener for untracked object %s",e)}};Runner.prototype.dispose=function(){this.removeAllListeners();this._eventListeners.forEach(((e,r)=>{e.forEach(((e,t)=>{e.forEach((e=>{r.removeListener(t,e)}))}))}));this._eventListeners.clear()};Runner.prototype.grep=function(e,r){s("grep(): setting to %s",e);this._grep=e;this._invert=r;this.total=this.grepTotal(this.suite);return this};Runner.prototype.grepTotal=function(e){var r=this;var t=0;e.eachTest((function(e){var n=r._grep.test(e.fullTitle());if(r._invert){n=!n}if(n){t++}}));return t};Runner.prototype.globalProps=function(){var e=Object.keys(global);for(var r=0;r<A.length;++r){if(~e.indexOf(A[r])){continue}e.push(A[r])}return e};Runner.prototype.globals=function(e){if(!arguments.length){return this._globals}s("globals(): setting to %O",e);this._globals=this._globals.concat(e);return this};Runner.prototype.checkGlobals=function(e){if(!this.checkLeaks){return}var r=this._globals;var t=this.globalProps();var n;if(e){r=r.concat(e._allowedGlobals||[])}if(this.prevGlobalsLength===t.length){return}this.prevGlobalsLength=t.length;n=filterLeaks(r,t);this._globals=this._globals.concat(n);if(n.length){var o=`global leak(s) detected: ${n.map((e=>`'${e}'`)).join(", ")}`;this.fail(e,new Error(o))}};Runner.prototype.fail=function(e,r,t){t=t===true;if(e.isPending()&&!t){return}if(this.state===N.STATE_STOPPED){if(r.code===k.MULTIPLE_DONE){throw r}throw _("Test failed after root suite execution completed!",r)}++this.failures;s("total number of failures: %d",this.failures);e.state=g;if(!isError(r)){r=thrown2Error(r)}if(!this.fullStackTrace){const e=new Set;let t=r;while(t&&t.stack&&!e.has(t)){e.add(t);try{t.stack=v(t.stack)}catch(e){}t=t.cause}}this.emit(N.EVENT_TEST_FAIL,e,r)};Runner.prototype.hook=function(e,r){if(this._opts.dryRun)return r();var t=this.suite;var n=t.getHooks(e);var o=this;function next(i){var s=n[i];if(!s){return r()}o.currentRunnable=s;if(e===d){s.ctx.currentTest=s.parent.tests[0]}else if(e===p){s.ctx.currentTest=s.parent.tests[s.parent.tests.length-1]}else{s.ctx.currentTest=o.test}setHookTitle(s);s.allowUncaught=o.allowUncaught;o.emit(N.EVENT_HOOK_BEGIN,s);if(!s.listeners("error").length){o._addEventListener(s,"error",(function(e){o.fail(s,e)}))}s.run((function cbHookRun(a){var u=s.error();if(u){o.fail(o.test,u)}if(s.pending){if(e===c){if(o.test){o.test.pending=true}}else if(e===l){if(o.test){o.test.pending=true}o.emit(N.EVENT_HOOK_END,s);s.pending=false;return r(new Error("abort hookDown"))}else if(e===d){t.tests.forEach((function(e){e.pending=true}));t.suites.forEach((function(e){e.pending=true}));n=[]}else{s.pending=false;var p=w("`this.skip` forbidden");o.fail(s,p);return r(p)}}else if(a){o.fail(s,a);return r(a)}o.emit(N.EVENT_HOOK_END,s);delete s.ctx.currentTest;setHookTitle(s);next(++i)}));function setHookTitle(e){e.originalTitle=e.originalTitle||e.title;if(e.ctx&&e.ctx.currentTest){e.title=`${e.originalTitle} for "${e.ctx.currentTest.title}"`}else{var r;if(e.parent.title){r=e.parent.title}else{r=e.parent.root?"{root}":""}e.title=`${e.originalTitle} in "${r}"`}}}Runner.immediately((function(){next(0)}))};Runner.prototype.hooks=function(e,r,t){var n=this;var o=this.suite;function next(i){n.suite=i;if(!i){n.suite=o;return t()}n.hook(e,(function(e){if(e){var i=n.suite;n.suite=o;return t(e,i)}next(r.pop())}))}next(r.pop())};Runner.prototype.hookUp=function(e,r){var t=[this.suite].concat(this.parents()).reverse();this.hooks(e,t,r)};Runner.prototype.hookDown=function(e,r){var t=[this.suite].concat(this.parents());this.hooks(e,t,r)};Runner.prototype.parents=function(){var e=this.suite;var r=[];while(e.parent){e=e.parent;r.push(e)}return r};Runner.prototype.runTest=function(e){if(this._opts.dryRun)return Runner.immediately(e);var r=this;var t=this.test;if(!t){return}if(this.asyncOnly){t.asyncOnly=true}this._addEventListener(t,"error",(function(e){r.fail(t,e)}));if(this.allowUncaught){t.allowUncaught=true;return t.run(e)}try{t.run(e)}catch(r){e(r)}};Runner.prototype.runTests=function(e,r){var t=this;var n=e.tests.slice();var o;function hookErr(e,n,o){var i=t.suite;t.suite=o?n.parent:n;if(t.suite){t.hookUp(c,(function(e,o){t.suite=i;if(e){return hookErr(e,o,true)}r(n)}))}else{t.suite=i;r(n)}}function next(i,s){if(t.failures&&e._bail){n=[]}if(t._abort){return r()}if(i){return hookErr(i,s,true)}o=n.shift();if(!o){return r()}var a=t._grep.test(o.fullTitle());if(t._invert){a=!a}if(!a){if(t._grep!==t._defaultGrep){Runner.immediately(next)}else{next()}return}if(o.isPending()){if(t.forbidPending){t.fail(o,new Error("Pending test forbidden"),true)}else{o.state=b;t.emit(N.EVENT_TEST_PENDING,o)}t.emit(N.EVENT_TEST_END,o);return next()}t.emit(N.EVENT_TEST_BEGIN,t.test=o);t.hookDown(l,(function(e,r){if(o.isPending()){if(t.forbidPending){t.fail(o,new Error("Pending test forbidden"),true)}else{o.state=b;t.emit(N.EVENT_TEST_PENDING,o)}t.emit(N.EVENT_TEST_END,o);var i=t.suite;t.suite=r||t.suite;return t.hookUp(c,(function(e,r){t.suite=i;next(e,r)}))}if(e){return hookErr(e,r,false)}t.currentRunnable=t.test;t.runTest((function(e){o=t.test;if(o.pending){if(t.forbidPending){t.fail(o,new Error("Pending test forbidden"),true)}else{o.state=b;t.emit(N.EVENT_TEST_PENDING,o)}t.emit(N.EVENT_TEST_END,o);return t.hookUp(c,next)}else if(e){var r=o.currentRetry();if(r<o.retries()){var i=o.clone();i.currentRetry(r+1);n.unshift(i);t.emit(N.EVENT_TEST_RETRY,o,e);return t.hookUp(c,next)}else{t.fail(o,e)}t.emit(N.EVENT_TEST_END,o);return t.hookUp(c,next)}o.state=m;t.emit(N.EVENT_TEST_PASS,o);t.emit(N.EVENT_TEST_END,o);t.hookUp(c,next)}))}))}this.next=next;this.hookErr=hookErr;next()};Runner.prototype.runSuite=function(e,r){var t=0;var n=this;var o=this.grepTotal(e);s("runSuite(): running %s",e.fullTitle());if(!o||n.failures&&e._bail){s("runSuite(): bailing");return r()}this.emit(N.EVENT_SUITE_BEGIN,this.suite=e);function next(r){if(r){if(r===e){return done()}return done(r)}if(n._abort){return done()}var o=e.suites[t++];if(!o){return done()}if(n._grep!==n._defaultGrep){Runner.immediately((function(){n.runSuite(o,next)}))}else{n.runSuite(o,next)}}function done(t){n.suite=e;n.nextSuite=next;delete n.test;n.hook(p,(function(){n.emit(N.EVENT_SUITE_END,e);r(t)}))}this.nextSuite=next;this.hook(d,(function(r){if(r){return done()}n.runTests(e,next)}))};Runner.prototype._uncaught=function(e){if(!(this instanceof Runner)){throw _("Runner#uncaught() called with invalid context",this)}if(e instanceof o){s("uncaught(): caught a Pending");return}if(this.allowUncaught&&!i.isBrowser()){s("uncaught(): bubbling exception due to --allow-uncaught");throw e}if(this.state===N.STATE_STOPPED){s("uncaught(): throwing after run has completed!");throw e}if(e){s("uncaught(): got truthy exception %O",e)}else{s("uncaught(): undefined/falsy exception");e=E("Caught falsy/undefined exception which would otherwise be uncaught. No stack trace found; try a debugger",e)}if(!isError(e)){e=thrown2Error(e);s('uncaught(): converted "error" %o to Error',e)}e.uncaught=true;var r=this.currentRunnable;if(!r){r=new a("Uncaught error outside test suite");s("uncaught(): no current Runnable; created a phony one");r.parent=this.suite;if(this.state===N.STATE_RUNNING){s("uncaught(): failing gracefully");this.fail(r,e)}else{s("uncaught(): test run has not yet started; unrecoverable");this.emit(N.EVENT_RUN_BEGIN);this.fail(r,e);this.emit(N.EVENT_RUN_END)}return}r.clearTimeout();if(r.isFailed()){s("uncaught(): Runnable has already failed");return}else if(r.isPending()){s("uncaught(): pending Runnable wound up failing!");this.fail(r,e,true);return}if(r.isPassed()){s("uncaught(): Runnable has already passed; bailing gracefully");this.fail(r,e);this.abort()}else{s("uncaught(): forcing Runnable to complete with Error");return r.callback(e)}};Runner.prototype.run=function(e,r={}){var t=this.suite;var n=r.options||{};s("run(): got options: %O",n);e=e||function(){};const end=()=>{if(!this.total&&this._opts.failZero)this.failures=1;s("run(): root suite completed; emitting %s",N.EVENT_RUN_END);this.emit(N.EVENT_RUN_END)};const begin=()=>{s("run(): emitting %s",N.EVENT_RUN_BEGIN);this.emit(N.EVENT_RUN_BEGIN);s("run(): emitted %s",N.EVENT_RUN_BEGIN);this.runSuite(t,end)};const prepare=()=>{s("run(): starting");if(t.hasOnly()){t.filterOnly();s("run(): filtered exclusive Runnables")}this.state=N.STATE_RUNNING;if(this._opts.delay){this.emit(N.EVENT_DELAY_END);s('run(): "delay" ended')}return begin()};if(this._opts.cleanReferencesAfterRun){this.on(N.EVENT_SUITE_END,(e=>{e.cleanReferences()}))}this.on(N.EVENT_RUN_END,(function(){this.state=N.STATE_STOPPED;s("run(): emitted %s",N.EVENT_RUN_END);e(this.failures)}));this._removeEventListener(process,"uncaughtException",this.uncaught);this._removeEventListener(process,"unhandledRejection",this.unhandled);this._addEventListener(process,"uncaughtException",this.uncaught);this._addEventListener(process,"unhandledRejection",this.unhandled);if(this._opts.delay){this.emit(N.EVENT_DELAY_BEGIN,t);t.once(h,prepare);s("run(): waiting for green light due to --delay")}else{Runner.immediately(prepare)}return this};Runner.prototype.linkPartialObjects=function(e){return this};Runner.prototype.runAsync=async function runAsync(e={}){return new Promise((r=>{this.run(r,e)}))};Runner.prototype.abort=function(){s("abort(): aborting");this._abort=true;return this};Runner.prototype.isParallelMode=function isParallelMode(){return false};Runner.prototype.workerReporter=function(){throw w("workerReporter() not supported in serial mode")};function filterLeaks(e,r){return r.filter((function(r){if(/^\d+/.test(r)){return false}if(global.navigator&&/^getInterface/.test(r)){return false}if(global.navigator&&/^\d+/.test(r)){return false}if(/^mocha-/.test(r)){return false}var t=e.filter((function(e){if(~e.indexOf("*")){return r.indexOf(e.split("*")[0])===0}return r===e}));return!t.length&&(!global.navigator||r!=="onerror")}))}function isError(e){return e instanceof Error||e&&typeof e.message==="string"}function thrown2Error(e){return new Error(`the ${i.canonicalType(e)} ${y(e)} was thrown, throw an Error :)`)}Runner.constants=N;e.exports=Runner},4032:(e,r,t)=>{"use strict";var n=t(5299).constants;var o=n.EVENT_TEST_PASS;var i=n.EVENT_TEST_FAIL;var s=n.EVENT_SUITE_BEGIN;var a=n.EVENT_RUN_BEGIN;var u=n.EVENT_TEST_PENDING;var l=n.EVENT_RUN_END;var c=n.EVENT_TEST_END;var p=global.Date;function createStatsCollector(e){var r={suites:0,tests:0,passes:0,pending:0,failures:0};if(!e){throw new TypeError("Missing runner argument")}e.stats=r;e.once(a,(function(){r.start=new p}));e.on(s,(function(e){e.root||r.suites++}));e.on(o,(function(){r.passes++}));e.on(i,(function(){r.failures++}));e.on(u,(function(){r.pending++}));e.on(c,(function(){r.tests++}));e.once(l,(function(){r.end=new p;r.duration=r.end-r.start}))}e.exports=createStatsCollector},4377:(e,r,t)=>{"use strict";const{EventEmitter:n}=t(4434);const o=t(4302);var{assignNewMochaID:i,clamp:s,constants:a,defineConstants:u,getMochaID:l,inherits:c,isString:p}=t(3519);const d=t(7674)("mocha:suite");const h=t(5900);const g=t(8406);const{MOCHA_ID_PROP_NAME:m}=a;r=e.exports=Suite;Suite.create=function(e,r){var t=new Suite(r,e.ctx);t.parent=e;r=t.fullTitle();e.addSuite(t);return t};function Suite(e,r,t){if(!p(e)){throw g.createInvalidArgumentTypeError('Suite argument "title" must be a string. Received type "'+typeof e+'"',"title","string")}this.title=e;function Context(){}Context.prototype=r;this.ctx=new Context;this.suites=[];this.tests=[];this.root=t===true;this.pending=false;this._retries=-1;this._beforeEach=[];this._beforeAll=[];this._afterEach=[];this._afterAll=[];this._timeout=2e3;this._slow=75;this._bail=false;this._onlyTests=[];this._onlySuites=[];i(this);Object.defineProperty(this,"id",{get(){return l(this)}});this.reset()}c(Suite,n);Suite.prototype.reset=function(){this.delayed=false;function doReset(e){e.reset()}this.suites.forEach(doReset);this.tests.forEach(doReset);this._beforeEach.forEach(doReset);this._afterEach.forEach(doReset);this._beforeAll.forEach(doReset);this._afterAll.forEach(doReset)};Suite.prototype.clone=function(){var e=new Suite(this.title);d("clone");e.ctx=this.ctx;e.root=this.root;e.timeout(this.timeout());e.retries(this.retries());e.slow(this.slow());e.bail(this.bail());return e};Suite.prototype.timeout=function(e){if(!arguments.length){return this._timeout}if(typeof e==="string"){e=h(e)}var r=Math.pow(2,31)-1;var t=[0,r];e=s(e,t);d("timeout %d",e);this._timeout=parseInt(e,10);return this};Suite.prototype.retries=function(e){if(!arguments.length){return this._retries}d("retries %d",e);this._retries=parseInt(e,10)||0;return this};Suite.prototype.slow=function(e){if(!arguments.length){return this._slow}if(typeof e==="string"){e=h(e)}d("slow %d",e);this._slow=e;return this};Suite.prototype.bail=function(e){if(!arguments.length){return this._bail}d("bail %s",e);this._bail=e;return this};Suite.prototype.isPending=function(){return this.pending||this.parent&&this.parent.isPending()};Suite.prototype._createHook=function(e,r){var t=new o(e,r);t.parent=this;t.timeout(this.timeout());t.retries(this.retries());t.slow(this.slow());t.ctx=this.ctx;t.file=this.file;return t};Suite.prototype.beforeAll=function(e,r){if(this.isPending()){return this}if(typeof e==="function"){r=e;e=r.name}e='"before all" hook'+(e?": "+e:"");var t=this._createHook(e,r);this._beforeAll.push(t);this.emit(b.EVENT_SUITE_ADD_HOOK_BEFORE_ALL,t);return this};Suite.prototype.afterAll=function(e,r){if(this.isPending()){return this}if(typeof e==="function"){r=e;e=r.name}e='"after all" hook'+(e?": "+e:"");var t=this._createHook(e,r);this._afterAll.push(t);this.emit(b.EVENT_SUITE_ADD_HOOK_AFTER_ALL,t);return this};Suite.prototype.beforeEach=function(e,r){if(this.isPending()){return this}if(typeof e==="function"){r=e;e=r.name}e='"before each" hook'+(e?": "+e:"");var t=this._createHook(e,r);this._beforeEach.push(t);this.emit(b.EVENT_SUITE_ADD_HOOK_BEFORE_EACH,t);return this};Suite.prototype.afterEach=function(e,r){if(this.isPending()){return this}if(typeof e==="function"){r=e;e=r.name}e='"after each" hook'+(e?": "+e:"");var t=this._createHook(e,r);this._afterEach.push(t);this.emit(b.EVENT_SUITE_ADD_HOOK_AFTER_EACH,t);return this};Suite.prototype.addSuite=function(e){e.parent=this;e.root=false;e.timeout(this.timeout());e.retries(this.retries());e.slow(this.slow());e.bail(this.bail());this.suites.push(e);this.emit(b.EVENT_SUITE_ADD_SUITE,e);return this};Suite.prototype.addTest=function(e){e.parent=this;e.timeout(this.timeout());e.retries(this.retries());e.slow(this.slow());e.ctx=this.ctx;this.tests.push(e);this.emit(b.EVENT_SUITE_ADD_TEST,e);return this};Suite.prototype.fullTitle=function(){return this.titlePath().join(" ")};Suite.prototype.titlePath=function(){var e=[];if(this.parent){e=e.concat(this.parent.titlePath())}if(!this.root){e.push(this.title)}return e};Suite.prototype.total=function(){return this.suites.reduce((function(e,r){return e+r.total()}),0)+this.tests.length};Suite.prototype.eachTest=function(e){this.tests.forEach(e);this.suites.forEach((function(r){r.eachTest(e)}));return this};Suite.prototype.run=function run(){if(this.root){this.emit(b.EVENT_ROOT_SUITE_RUN)}};Suite.prototype.hasOnly=function hasOnly(){return this._onlyTests.length>0||this._onlySuites.length>0||this.suites.some((function(e){return e.hasOnly()}))};Suite.prototype.filterOnly=function filterOnly(){if(this._onlyTests.length){this.tests=this._onlyTests;this.suites=[]}else{this.tests=[];this._onlySuites.forEach((function(e){if(e.hasOnly()){e.filterOnly()}}));var e=this._onlySuites;this.suites=this.suites.filter((function(r){return e.indexOf(r)!==-1||r.filterOnly()}))}return this.tests.length>0||this.suites.length>0};Suite.prototype.appendOnlySuite=function(e){this._onlySuites.push(e)};Suite.prototype.markOnly=function(){this.parent&&this.parent.appendOnlySuite(this)};Suite.prototype.appendOnlyTest=function(e){this._onlyTests.push(e)};Suite.prototype.getHooks=function getHooks(e){return this["_"+e]};Suite.prototype.dispose=function(){this.suites.forEach((function(e){e.dispose()}));this.cleanReferences()};Suite.prototype.cleanReferences=function cleanReferences(){function cleanArrReferences(e){for(var r=0;r<e.length;r++){delete e[r].fn}}if(Array.isArray(this._beforeAll)){cleanArrReferences(this._beforeAll)}if(Array.isArray(this._beforeEach)){cleanArrReferences(this._beforeEach)}if(Array.isArray(this._afterAll)){cleanArrReferences(this._afterAll)}if(Array.isArray(this._afterEach)){cleanArrReferences(this._afterEach)}for(var e=0;e<this.tests.length;e++){delete this.tests[e].fn}};Suite.prototype.serialize=function serialize(){return{_bail:this._bail,$$fullTitle:this.fullTitle(),$$isPending:Boolean(this.isPending()),root:this.root,title:this.title,[m]:this.id,parent:this.parent?{[m]:this.parent.id}:null}};var b=u({EVENT_FILE_POST_REQUIRE:"post-require",EVENT_FILE_PRE_REQUIRE:"pre-require",EVENT_FILE_REQUIRE:"require",EVENT_ROOT_SUITE_RUN:"run",HOOK_TYPE_AFTER_ALL:"afterAll",HOOK_TYPE_AFTER_EACH:"afterEach",HOOK_TYPE_BEFORE_ALL:"beforeAll",HOOK_TYPE_BEFORE_EACH:"beforeEach",EVENT_SUITE_ADD_SUITE:"suite",EVENT_SUITE_ADD_HOOK_AFTER_ALL:"afterAll",EVENT_SUITE_ADD_HOOK_AFTER_EACH:"afterEach",EVENT_SUITE_ADD_HOOK_BEFORE_ALL:"beforeAll",EVENT_SUITE_ADD_HOOK_BEFORE_EACH:"beforeEach",EVENT_SUITE_ADD_TEST:"test"});Suite.constants=b},9293:(e,r,t)=>{"use strict";var n=t(8368);var o=t(3519);var i=t(8406);var s=i.createInvalidArgumentTypeError;var a=o.isString;const{MOCHA_ID_PROP_NAME:u}=o.constants;e.exports=Test;function Test(e,r){if(!a(e)){throw s('Test argument "title" should be a string. Received type "'+typeof e+'"',"title","string")}this.type="test";n.call(this,e,r);this.reset()}o.inherits(Test,n);Test.prototype.reset=function(){n.prototype.reset.call(this);this.pending=!this.fn;delete this.state};Test.prototype.retriedTest=function(e){if(!arguments.length){return this._retriedTest}this._retriedTest=e};Test.prototype.markOnly=function(){this.parent.appendOnlyTest(this)};Test.prototype.clone=function(){var e=new Test(this.title,this.fn);e.timeout(this.timeout());e.slow(this.slow());e.retries(this.retries());e.currentRetry(this.currentRetry());e.retriedTest(this.retriedTest()||this);e.globals(this.globals());e.parent=this.parent;e.file=this.file;e.ctx=this.ctx;return e};Test.prototype.serialize=function serialize(){return{$$currentRetry:this._currentRetry,$$fullTitle:this.fullTitle(),$$isPending:Boolean(this.pending),$$retriedTest:this._retriedTest||null,$$slow:this._slow,$$titlePath:this.titlePath(),body:this.body,duration:this.duration,err:this.err,parent:{$$fullTitle:this.parent.fullTitle(),[u]:this.parent.id},speed:this.speed,state:this.state,title:this.title,type:this.type,file:this.file,[u]:this.id}}},3519:(e,r,t)=>{"use strict";var n=t(6928);var o=t(9023);var i=t(4180);const s="__mocha_id__";r.inherits=o.inherits;r.escape=function(e){return i.encode(String(e),{useNamedReferences:false})};r.isString=function(e){return typeof e==="string"};r.slug=function(e){return e.toLowerCase().replace(/\s+/g,"-").replace(/[^-\w]/g,"").replace(/-{2,}/g,"-")};r.clean=function(e){e=e.replace(/\r\n?|[\n\u2028\u2029]/g,"\n").replace(/^\uFEFF/,"").replace(/^function(?:\s*|\s[^(]*)\([^)]*\)\s*\{((?:.|\n)*?)\}$|^\([^)]*\)\s*=>\s*(?:\{((?:.|\n)*?)\}|((?:.|\n)*))$/,"$1$2$3");var r=e.match(/^\n?( *)/)[1].length;var t=e.match(/^\n?(\t*)/)[1].length;var n=new RegExp("^\n?"+(t?"\t":" ")+"{"+(t||r)+"}","gm");e=e.replace(n,"");return e.trim()};function emptyRepresentation(e,r){switch(r){case"function":return"[Function]";case"object":return"{}";case"array":return"[]";default:return e.toString()}}var a=r.canonicalType=function canonicalType(e){if(e===undefined){return"undefined"}else if(e===null){return"null"}else if(Buffer.isBuffer(e)){return"buffer"}else if(Object.getPrototypeOf(e)===null){return"null-prototype"}return Object.prototype.toString.call(e).replace(/^\[.+\s(.+?)]$/,"$1").toLowerCase()};r.type=function type(e){if(e===null)return"null";const r=new Set(["undefined","boolean","number","string","bigint","symbol"]);const t=typeof e;if(t==="function")return t;if(r.has(t))return t;if(e instanceof String)return"string";if(e instanceof Error)return"error";if(Array.isArray(e))return"array";return t};r.stringify=function(e){var t=a(e);if(!~["object","array","function","null-prototype"].indexOf(t)){if(t==="buffer"){var n=Buffer.prototype.toJSON.call(e);return jsonStringify(n.data&&n.type?n.data:n,2).replace(/,(\n|$)/g,"$1")}if(t==="string"&&typeof e==="object"){e=e.split("").reduce((function(e,r,t){e[t]=r;return e}),{});t="object"}else{return jsonStringify(e)}}for(var o in e){if(Object.prototype.hasOwnProperty.call(e,o)){return jsonStringify(r.canonicalize(e,null,t),2).replace(/,(\n|$)/g,"$1")}}return emptyRepresentation(e,t)};function jsonStringify(e,r,t){if(typeof r==="undefined"){return _stringify(e)}t=t||1;var n=r*t;var o=Array.isArray(e)?"[":"{";var i=Array.isArray(e)?"]":"}";var s=typeof e.length==="number"?e.length:Object.keys(e).length;function repeat(e,r){return new Array(r).join(e)}function _stringify(e){switch(a(e)){case"null":case"undefined":e="["+e+"]";break;case"array":case"object":e=jsonStringify(e,r,t+1);break;case"boolean":case"regexp":case"symbol":case"number":e=e===0&&1/e===-Infinity?"-0":e.toString();break;case"bigint":e=e.toString()+"n";break;case"date":var n=isNaN(e.getTime())?e.toString():e.toISOString();e="[Date: "+n+"]";break;case"buffer":var o=e.toJSON();o=o.data&&o.type?o.data:o;e="[Buffer: "+jsonStringify(o,2,t+1)+"]";break;default:e=e==="[Function]"||e==="[Circular]"?e:JSON.stringify(e)}return e}for(var u in e){if(!Object.prototype.hasOwnProperty.call(e,u)){continue}--s;o+="\n "+repeat(" ",n)+(Array.isArray(e)?"":'"'+u+'": ')+_stringify(e[u])+(s?",":"")}return o+(o.length!==1?"\n"+repeat(" ",--n)+i:i)}r.canonicalize=function canonicalize(e,t,n){var o;var i;n=n||a(e);function withStack(e,r){t.push(e);r();t.pop()}t=t||[];if(t.indexOf(e)!==-1){return"[Circular]"}switch(n){case"undefined":case"buffer":case"null":o=e;break;case"array":withStack(e,(function(){o=e.map((function(e){return r.canonicalize(e,t)}))}));break;case"function":for(i in e){o={};break}if(!o){o=emptyRepresentation(e,n);break}case"null-prototype":case"object":o=o||{};if(n==="null-prototype"&&Symbol.toStringTag in e){o["[Symbol.toStringTag]"]=e[Symbol.toStringTag]}withStack(e,(function(){Object.keys(e).sort().forEach((function(n){o[n]=r.canonicalize(e[n],t)}))}));break;case"date":case"number":case"regexp":case"boolean":case"symbol":o=e;break;default:o=e+""}return o};r.stackTraceFilter=function(){var e=typeof document==="undefined"?{node:true}:{browser:true};var t=n.sep;var o;if(e.node){o=r.cwd()+t}else{o=(typeof location==="undefined"?window.location:location).href.replace(/\/[^/]*$/,"/");t="/"}function isMochaInternal(e){return~e.indexOf("node_modules"+t+"mocha"+t)||~e.indexOf(t+"mocha.js")||~e.indexOf(t+"mocha.min.js")}function isNodeInternal(e){return~e.indexOf("(timers.js:")||~e.indexOf("(events.js:")||~e.indexOf("(node.js:")||~e.indexOf("(module.js:")||~e.indexOf("GeneratorFunctionPrototype.next (native)")||false}return function(r){r=r.split("\n");r=r.reduce((function(r,t){if(isMochaInternal(t)){return r}if(e.node&&isNodeInternal(t)){return r}if(/:\d+:\d+\)?$/.test(t)){t=t.replace("("+o,"(")}r.push(t);return r}),[]);return r.join("\n")}};r.isPromise=function isPromise(e){return typeof e==="object"&&e!==null&&typeof e.then==="function"};r.clamp=function clamp(e,r){return Math.min(Math.max(e,r[0]),r[1])};r.noop=function(){};r.createMap=function(e){return Object.assign.apply(null,[Object.create(null)].concat(Array.prototype.slice.call(arguments)))};r.defineConstants=function(e){if(a(e)!=="object"||!Object.keys(e).length){throw new TypeError("Invalid argument; expected a non-empty object")}return Object.freeze(r.createMap(e))};r.cwd=function cwd(){return process.cwd()};r.isBrowser=function isBrowser(){return Boolean(process.browser)};r.castArray=function castArray(e){if(e===undefined){return[]}if(e===null){return[null]}if(typeof e==="object"&&(typeof e[Symbol.iterator]==="function"||e.length!==undefined)){return Array.from(e)}return[e]};r.constants=r.defineConstants({MOCHA_ID_PROP_NAME:s});const u="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_";r.uniqueID=()=>{let e="";for(let r=0;r<21;r++){e+=u[Math.random()*64|0]}return e};r.assignNewMochaID=e=>{const t=r.uniqueID();Object.defineProperty(e,s,{get(){return t}});return e};r.getMochaID=e=>e&&typeof e==="object"?e[s]:undefined;r.breakCircularDeps=e=>{const r=new Set;function _breakCircularDeps(e){if(e&&typeof e!=="object"){return e}if(r.has(e)){return"[Circular]"}r.add(e);for(const r in e){const t=Object.getOwnPropertyDescriptor(e,r);if(t&&t.writable){e[r]=_breakCircularDeps(e[r],r)}}r.delete(e);return e}return _breakCircularDeps(e)}},8042:e=>{"use strict";e.exports=JSON.parse('{"diff":true,"extension":["js","cjs","mjs"],"package":"./package.json","reporter":"spec","slow":75,"timeout":2000,"ui":"bdd","watch-ignore":["node_modules",".git"]}')},5715:e=>{"use strict";e.exports={rE:"10.8.2"}}};var __webpack_module_cache__={};function __nccwpck_require__(e){var r=__webpack_module_cache__[e];if(r!==undefined){return r.exports}var t=__webpack_module_cache__[e]={id:e,loaded:false,exports:{}};var n=true;try{__webpack_modules__[e].call(t.exports,t,t.exports,__nccwpck_require__);n=false}finally{if(n)delete __webpack_module_cache__[e]}t.loaded=true;return t.exports}(()=>{var e=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;var r;__nccwpck_require__.t=function(t,n){if(n&1)t=this(t);if(n&8)return t;if(typeof t==="object"&&t){if(n&4&&t.__esModule)return t;if(n&16&&typeof t.then==="function")return t}var o=Object.create(null);__nccwpck_require__.r(o);var i={};r=r||[null,e({}),e([]),e(e)];for(var s=n&2&&t;typeof s=="object"&&!~r.indexOf(s);s=e(s)){Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>t[e]))}i["default"]=()=>t;__nccwpck_require__.d(o,i);return o}})();(()=>{__nccwpck_require__.d=(e,r)=>{for(var t in r){if(__nccwpck_require__.o(r,t)&&!__nccwpck_require__.o(e,t)){Object.defineProperty(e,t,{enumerable:true,get:r[t]})}}}})();(()=>{__nccwpck_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();(()=>{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var __webpack_exports__=__nccwpck_require__(3018);module.exports=__webpack_exports__})();
|