UNPKG

monocart-coverage-reports

Version:

A code coverage tool to generate native V8 reports or Istanbul reports.

21 lines (20 loc) 176 kB
var Xl=Object.create;var Pt=Object.defineProperty;var Kl=Object.getOwnPropertyDescriptor;var Jl=Object.getOwnPropertyNames;var Ql=Object.getPrototypeOf,ea=Object.prototype.hasOwnProperty;var C=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports),ta=(n,e)=>{for(var t in e)Pt(n,t,{get:e[t],enumerable:!0})},Xn=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Jl(e))!ea.call(n,i)&&i!==t&&Pt(n,i,{get:()=>e[i],enumerable:!(r=Kl(e,i))||r.enumerable});return n};var j=(n,e,t)=>(t=n!=null?Xl(Ql(n)):{},Xn(e||!n||!n.__esModule?Pt(t,"default",{value:n,enumerable:!0}):t,n)),ra=n=>Xn(Pt({},"__esModule",{value:!0}),n);var Jn=C(z=>{"use strict";Object.defineProperty(z,"commentRegex",{get:function(){return/^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/mg}});Object.defineProperty(z,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/mg}});var Ft;typeof Buffer<"u"?typeof Buffer.from=="function"?Ft=na:Ft=ia:Ft=sa;function na(n){return Buffer.from(n,"base64").toString()}function ia(n){if(typeof value=="number")throw new TypeError("The value to decode must not be of type number.");return new Buffer(n,"base64").toString()}function sa(n){return decodeURIComponent(escape(atob(n)))}function oa(n){return n.split(",").pop()}function la(n,e){var t=z.mapFileCommentRegex.exec(n),r=t[1]||t[2];try{var n=e(r);return n!=null&&typeof n.catch=="function"?n.catch(i):n}catch(s){i(s)}function i(s){throw new Error("An error occurred while trying to read the map file at "+r+` `+s.stack)}}function Y(n,e){e=e||{},e.hasComment&&(n=oa(n)),e.encoding==="base64"?n=Ft(n):e.encoding==="uri"&&(n=decodeURIComponent(n)),(e.isJSON||e.encoding)&&(n=JSON.parse(n)),this.sourcemap=n}Y.prototype.toJSON=function(n){return JSON.stringify(this.sourcemap,null,n)};typeof Buffer<"u"?typeof Buffer.from=="function"?Y.prototype.toBase64=aa:Y.prototype.toBase64=fa:Y.prototype.toBase64=ca;function aa(){var n=this.toJSON();return Buffer.from(n,"utf8").toString("base64")}function fa(){var n=this.toJSON();if(typeof n=="number")throw new TypeError("The json to encode must not be of type number.");return new Buffer(n,"utf8").toString("base64")}function ca(){var n=this.toJSON();return btoa(unescape(encodeURIComponent(n)))}Y.prototype.toURI=function(){var n=this.toJSON();return encodeURIComponent(n)};Y.prototype.toComment=function(n){var e,t,r;return n!=null&&n.encoding==="uri"?(e="",t=this.toURI()):(e=";base64",t=this.toBase64()),r="sourceMappingURL=data:application/json;charset=utf-8"+e+","+t,n!=null&&n.multiline?"/*# "+r+" */":"//# "+r};Y.prototype.toObject=function(){return JSON.parse(this.toJSON())};Y.prototype.addProperty=function(n,e){if(this.sourcemap.hasOwnProperty(n))throw new Error('property "'+n+'" already exists on the sourcemap, use set property instead');return this.setProperty(n,e)};Y.prototype.setProperty=function(n,e){return this.sourcemap[n]=e,this};Y.prototype.getProperty=function(n){return this.sourcemap[n]};z.fromObject=function(n){return new Y(n)};z.fromJSON=function(n){return new Y(n,{isJSON:!0})};z.fromURI=function(n){return new Y(n,{encoding:"uri"})};z.fromBase64=function(n){return new Y(n,{encoding:"base64"})};z.fromComment=function(n){var e,t;return n=n.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),e=z.commentRegex.exec(n),t=e&&e[4]||"uri",new Y(n,{encoding:t,hasComment:!0})};function Kn(n){return new Y(n,{isJSON:!0})}z.fromMapFileComment=function(n,e){if(typeof e=="string")throw new Error("String directory paths are no longer supported with `fromMapFileComment`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var t=la(n,e);return t!=null&&typeof t.then=="function"?t.then(Kn):Kn(t)};z.fromSource=function(n){var e=n.match(z.commentRegex);return e?z.fromComment(e.pop()):null};z.fromMapFileSource=function(n,e){if(typeof e=="string")throw new Error("String directory paths are no longer supported with `fromMapFileSource`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var t=n.match(z.mapFileCommentRegex);return t?z.fromMapFileComment(t.pop(),e):null};z.removeComments=function(n){return n.replace(z.commentRegex,"")};z.removeMapFileComments=function(n){return n.replace(z.mapFileCommentRegex,"")};z.generateMapFileComment=function(n,e){var t="sourceMappingURL="+n;return e&&e.multiline?"/*# "+t+" */":"//# "+t}});var br=C((lh,yr)=>{var ni=process.argv||[],Ut=process.env,pa=!("NO_COLOR"in Ut||ni.includes("--no-color"))&&("FORCE_COLOR"in Ut||ni.includes("--color")||process.platform==="win32"||require!=null&&require("tty").isatty(1)&&Ut.TERM!=="dumb"||"CI"in Ut),ma=(n,e,t=n)=>r=>{let i=""+r,s=i.indexOf(e,n.length);return~s?n+ga(i,e,t,s)+e:n+i+e},ga=(n,e,t,r)=>{let i="",s=0;do i+=n.substring(s,r)+t,s=r+e.length,r=n.indexOf(e,s);while(~r);return i+n.substring(s)},ii=(n=pa)=>{let e=n?ma:()=>String;return{isColorSupported:n,reset:e("\x1B[0m","\x1B[0m"),bold:e("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:e("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:e("\x1B[3m","\x1B[23m"),underline:e("\x1B[4m","\x1B[24m"),inverse:e("\x1B[7m","\x1B[27m"),hidden:e("\x1B[8m","\x1B[28m"),strikethrough:e("\x1B[9m","\x1B[29m"),black:e("\x1B[30m","\x1B[39m"),red:e("\x1B[31m","\x1B[39m"),green:e("\x1B[32m","\x1B[39m"),yellow:e("\x1B[33m","\x1B[39m"),blue:e("\x1B[34m","\x1B[39m"),magenta:e("\x1B[35m","\x1B[39m"),cyan:e("\x1B[36m","\x1B[39m"),white:e("\x1B[37m","\x1B[39m"),gray:e("\x1B[90m","\x1B[39m"),bgBlack:e("\x1B[40m","\x1B[49m"),bgRed:e("\x1B[41m","\x1B[49m"),bgGreen:e("\x1B[42m","\x1B[49m"),bgYellow:e("\x1B[43m","\x1B[49m"),bgBlue:e("\x1B[44m","\x1B[49m"),bgMagenta:e("\x1B[45m","\x1B[49m"),bgCyan:e("\x1B[46m","\x1B[49m"),bgWhite:e("\x1B[47m","\x1B[49m"),blackBright:e("\x1B[90m","\x1B[39m"),redBright:e("\x1B[91m","\x1B[39m"),greenBright:e("\x1B[92m","\x1B[39m"),yellowBright:e("\x1B[93m","\x1B[39m"),blueBright:e("\x1B[94m","\x1B[39m"),magentaBright:e("\x1B[95m","\x1B[39m"),cyanBright:e("\x1B[96m","\x1B[39m"),whiteBright:e("\x1B[97m","\x1B[39m"),bgBlackBright:e("\x1B[100m","\x1B[49m"),bgRedBright:e("\x1B[101m","\x1B[49m"),bgGreenBright:e("\x1B[102m","\x1B[49m"),bgYellowBright:e("\x1B[103m","\x1B[49m"),bgBlueBright:e("\x1B[104m","\x1B[49m"),bgMagentaBright:e("\x1B[105m","\x1B[49m"),bgCyanBright:e("\x1B[106m","\x1B[49m"),bgWhiteBright:e("\x1B[107m","\x1B[49m")}};yr.exports=ii();yr.exports.createColors=ii});var Sr=C((ah,oi)=>{"use strict";var kt=/[\t\n\f\r "#'()/;[\\\]{}]/g,Bt=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,_a=/.[\r\n"'(/\\]/,si=/[\da-f]/i;oi.exports=function(e,t={}){let r=e.css.valueOf(),i=t.ignoreErrors,s,o,a,l,f,c,h,u,d,m,p=r.length,_=0,b=[],v=[];function I(){return _}function O(P){throw e.error("Unclosed "+P,_)}function R(){return v.length===0&&_>=p}function L(P){if(v.length)return v.pop();if(_>=p)return;let A=P?P.ignoreUnclosed:!1;switch(s=r.charCodeAt(_),s){case 10:case 32:case 9:case 13:case 12:{l=_;do l+=1,s=r.charCodeAt(l);while(s===32||s===10||s===9||s===13||s===12);c=["space",r.slice(_,l)],_=l-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let G=String.fromCharCode(s);c=[G,G,_];break}case 40:{if(m=b.length?b.pop()[1]:"",d=r.charCodeAt(_+1),m==="url"&&d!==39&&d!==34&&d!==32&&d!==10&&d!==9&&d!==12&&d!==13){l=_;do{if(h=!1,l=r.indexOf(")",l+1),l===-1)if(i||A){l=_;break}else O("bracket");for(u=l;r.charCodeAt(u-1)===92;)u-=1,h=!h}while(h);c=["brackets",r.slice(_,l+1),_,l],_=l}else l=r.indexOf(")",_+1),o=r.slice(_,l+1),l===-1||_a.test(o)?c=["(","(",_]:(c=["brackets",o,_,l],_=l);break}case 39:case 34:{f=s===39?"'":'"',l=_;do{if(h=!1,l=r.indexOf(f,l+1),l===-1)if(i||A){l=_+1;break}else O("string");for(u=l;r.charCodeAt(u-1)===92;)u-=1,h=!h}while(h);c=["string",r.slice(_,l+1),_,l],_=l;break}case 64:{kt.lastIndex=_+1,kt.test(r),kt.lastIndex===0?l=r.length-1:l=kt.lastIndex-2,c=["at-word",r.slice(_,l+1),_,l],_=l;break}case 92:{for(l=_,a=!0;r.charCodeAt(l+1)===92;)l+=1,a=!a;if(s=r.charCodeAt(l+1),a&&s!==47&&s!==32&&s!==10&&s!==9&&s!==13&&s!==12&&(l+=1,si.test(r.charAt(l)))){for(;si.test(r.charAt(l+1));)l+=1;r.charCodeAt(l+1)===32&&(l+=1)}c=["word",r.slice(_,l+1),_,l],_=l;break}default:{s===47&&r.charCodeAt(_+1)===42?(l=r.indexOf("*/",_+2)+1,l===0&&(i||A?l=r.length:O("comment")),c=["comment",r.slice(_,l+1),_,l],_=l):(Bt.lastIndex=_+1,Bt.test(r),Bt.lastIndex===0?l=r.length-1:l=Bt.lastIndex-2,c=["word",r.slice(_,l+1),_,l],b.push(c),_=l);break}}return _++,c}function k(P){v.push(P)}return{back:k,endOfFile:R,nextToken:L,position:I}}});var vr=C((fh,fi)=>{"use strict";var K=br(),xa=Sr(),li;function Ea(n){li=n}var wa={";":K.yellow,":":K.yellow,"(":K.cyan,")":K.cyan,"[":K.yellow,"]":K.yellow,"{":K.yellow,"}":K.yellow,"at-word":K.cyan,brackets:K.cyan,call:K.cyan,class:K.yellow,comment:K.gray,hash:K.magenta,string:K.green};function ya([n,e],t){if(n==="word"){if(e[0]===".")return"class";if(e[0]==="#")return"hash"}if(!t.endOfFile()){let r=t.nextToken();if(t.back(r),r[0]==="brackets"||r[0]==="(")return"call"}return n}function ai(n){let e=xa(new li(n),{ignoreErrors:!0}),t="";for(;!e.endOfFile();){let r=e.nextToken(),i=wa[ya(r,e)];i?t+=r[1].split(/\r?\n/).map(s=>i(s)).join(` `):t+=r[1]}return t}ai.registerInput=Ea;fi.exports=ai});var Cr=C((ch,hi)=>{"use strict";var ci=br(),ui=vr(),lt=class n extends Error{constructor(e,t,r,i,s,o){super(e),this.name="CssSyntaxError",this.reason=e,s&&(this.file=s),i&&(this.source=i),o&&(this.plugin=o),typeof t<"u"&&typeof r<"u"&&(typeof t=="number"?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,n)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;e==null&&(e=ci.isColorSupported);let r=c=>c,i=c=>c,s=c=>c;if(e){let{bold:c,gray:h,red:u}=ci.createColors(!0);i=d=>c(u(d)),r=d=>h(d),ui&&(s=d=>ui(d))}let o=t.split(/\r?\n/),a=Math.max(this.line-3,0),l=Math.min(this.line+2,o.length),f=String(l).length;return o.slice(a,l).map((c,h)=>{let u=a+1+h,d=" "+(" "+u).slice(-f)+" | ";if(u===this.line){if(c.length>160){let p=20,_=Math.max(0,this.column-p),b=Math.max(this.column+p,this.endColumn+p),v=c.slice(_,b),I=r(d.replace(/\d/g," "))+c.slice(0,Math.min(this.column-1,p-1)).replace(/[^\t]/g," ");return i(">")+r(d)+s(v)+` `+I+i("^")}let m=r(d.replace(/\d/g," "))+c.slice(0,this.column-1).replace(/[^\t]/g," ");return i(">")+r(d)+s(c)+` `+m+i("^")}return" "+r(d)+s(c)}).join(` `)}toString(){let e=this.showSourceCode();return e&&(e=` `+e+` `),this.name+": "+this.message+e}};hi.exports=lt;lt.default=lt});var Or=C((uh,pi)=>{"use strict";var di={after:` `,beforeClose:` `,beforeComment:` `,beforeDecl:` `,beforeOpen:" ",beforeRule:` `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function ba(n){return n[0].toUpperCase()+n.slice(1)}var at=class{constructor(e){this.builder=e}atrule(e,t){let r="@"+e.name,i=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?r+=e.raws.afterName:i&&(r+=" "),e.nodes)this.block(e,r+i);else{let s=(e.raws.between||"")+(t?";":"");this.builder(r+i+s,e)}}beforeAfter(e,t){let r;e.type==="decl"?r=this.raw(e,null,"beforeDecl"):e.type==="comment"?r=this.raw(e,null,"beforeComment"):t==="before"?r=this.raw(e,null,"beforeRule"):r=this.raw(e,null,"beforeClose");let i=e.parent,s=0;for(;i&&i.type!=="root";)s+=1,i=i.parent;if(r.includes(` `)){let o=this.raw(e,null,"indent");if(o.length)for(let a=0;a<s;a++)r+=o}return r}block(e,t){let r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start");let i;e.nodes&&e.nodes.length?(this.body(e),i=this.raw(e,"after")):i=this.raw(e,"after","emptyBody"),i&&this.builder(i),this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;for(;t>0&&e.nodes[t].type==="comment";)t-=1;let r=this.raw(e,"semicolon");for(let i=0;i<e.nodes.length;i++){let s=e.nodes[i],o=this.raw(s,"before");o&&this.builder(o),this.stringify(s,t!==i||r)}}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),i=e.prop+r+this.rawValue(e,"value");e.important&&(i+=e.raws.important||" !important"),t&&(i+=";"),this.builder(i,e)}document(e){this.body(e)}raw(e,t,r){let i;if(r||(r=t),t&&(i=e.raws[t],typeof i<"u"))return i;let s=e.parent;if(r==="before"&&(!s||s.type==="root"&&s.first===e||s&&s.type==="document"))return"";if(!s)return di[r];let o=e.root();if(o.rawCache||(o.rawCache={}),typeof o.rawCache[r]<"u")return o.rawCache[r];if(r==="before"||r==="after")return this.beforeAfter(e,r);{let a="raw"+ba(r);this[a]?i=this[a](o,e):o.walk(l=>{if(i=l.raws[t],typeof i<"u")return!1})}return typeof i>"u"&&(i=di[r]),o.rawCache[r]=i,i}rawBeforeClose(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return t=r.raws.after,t.includes(` `)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let r;return e.walkComments(i=>{if(typeof i.raws.before<"u")return r=i.raws.before,r.includes(` `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls(i=>{if(typeof i.raws.before<"u")return r=i.raws.before,r.includes(` `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk(r=>{if(r.type!=="decl"&&(t=r.raws.between,typeof t<"u"))return!1}),t}rawBeforeRule(e){let t;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<"u")return t=r.raws.before,t.includes(` `)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(r=>{if(typeof r.raws.between<"u")return t=r.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length===0&&(t=r.raws.after,typeof t<"u"))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(r=>{let i=r.parent;if(i&&i!==e&&i.parent&&i.parent===e&&typeof r.raws.before<"u"){let s=r.raws.before.split(` `);return t=s[s.length-1],t=t.replace(/\S/g,""),!1}}),t}rawSemicolon(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(t=r.raws.semicolon,typeof t<"u"))return!1}),t}rawValue(e,t){let r=e[t],i=e.raws[t];return i&&i.value===r?i.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}};pi.exports=at;at.default=at});var gi=C((hh,mi)=>{"use strict";var Sa=Or();function Lr(n,e){new Sa(e).stringify(n)}mi.exports=Lr;Lr.default=Lr});var Nr=C((dh,Ir)=>{"use strict";Ir.exports.isClean=Symbol("isClean");Ir.exports.my=Symbol("my")});var zt=C((ph,_i)=>{"use strict";var va=Cr(),Ca=Or(),Oa=gi(),{isClean:ft,my:La}=Nr();function Tr(n,e){let t=new n.constructor;for(let r in n){if(!Object.prototype.hasOwnProperty.call(n,r)||r==="proxyCache")continue;let i=n[r],s=typeof i;r==="parent"&&s==="object"?e&&(t[r]=e):r==="source"?t[r]=i:Array.isArray(i)?t[r]=i.map(o=>Tr(o,t)):(s==="object"&&i!==null&&(i=Tr(i)),t[r]=i)}return t}var ct=class{constructor(e={}){this.raws={},this[ft]=!1,this[La]=!0;for(let t in e)if(t==="nodes"){this.nodes=[];for(let r of e[t])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=Tr(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:r,start:i}=this.rangeBy(t);return this.source.input.error(e,{column:i.column,line:i.line},{column:r.column,line:r.line},t)}return new va(e)}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:t==="root"?()=>e.root().toProxy():e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text")&&e.markDirty()),!0}}}markClean(){this[ft]=!0}markDirty(){if(this[ft]){this[ft]=!1;let e=this;for(;e=e.parent;)e[ft]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let r=this.source.start;if(e.index)r=this.positionInside(e.index,t);else if(e.word){t=this.toString();let i=t.indexOf(e.word);i!==-1&&(r=this.positionInside(i,t))}return r}positionInside(e,t){let r=t||this.toString(),i=this.source.start.column,s=this.source.start.line;for(let o=0;o<e;o++)r[o]===` `?(i=1,s+=1):i+=1;return{column:i,line:s}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let i=this.toString(),s=i.indexOf(e.word);s!==-1&&(t=this.positionInside(s,i),r=this.positionInside(s+e.word.length,i))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}}raw(e,t){return new Ca().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let i of e)i===this?r=!0:r?(this.parent.insertAfter(t,i),t=i):this.parent.insertBefore(t,i);r||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,t){let r={},i=t==null;t=t||new Map;let s=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o)||o==="parent"||o==="proxyCache")continue;let a=this[o];if(Array.isArray(a))r[o]=a.map(l=>typeof l=="object"&&l.toJSON?l.toJSON(null,t):l);else if(typeof a=="object"&&a.toJSON)r[o]=a.toJSON(null,t);else if(o==="source"){let l=t.get(a.input);l==null&&(l=s,t.set(a.input,s),s++),r[o]={end:a.end,inputId:l,start:a.start}}else r[o]=a}return i&&(r.inputs=[...t.keys()].map(o=>o.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=Oa){e.stringify&&(e=e.stringify);let t="";return e(this,r=>{t+=r}),t}warn(e,t,r){let i={node:this};for(let s in r)i[s]=r[s];return e.warn(t,i)}get proxyOf(){return this}};_i.exports=ct;ct.default=ct});var Rr=C((mh,xi)=>{"use strict";var Ia=zt(),ut=class extends Ia{constructor(e){super(e),this.type="comment"}};xi.exports=ut;ut.default=ut});var Ar=C((gh,Ei)=>{"use strict";var Na=zt(),ht=class extends Na{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};Ei.exports=ht;ht.default=ht});var dt=C((_h,Ii)=>{"use strict";var wi=Rr(),yi=Ar(),Ta=zt(),{isClean:bi,my:Si}=Nr(),Dr,vi,Ci,Mr;function Oi(n){return n.map(e=>(e.nodes&&(e.nodes=Oi(e.nodes)),delete e.source,e))}function Li(n){if(n[bi]=!1,n.proxyOf.nodes)for(let e of n.proxyOf.nodes)Li(e)}var ue=class n extends Ta{append(...e){for(let t of e){let r=this.normalize(t,this.last);for(let i of r)this.proxyOf.nodes.push(i)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),r,i;for(;this.indexes[t]<this.proxyOf.nodes.length&&(r=this.indexes[t],i=e(this.proxyOf.nodes[r],r),i!==!1);)this.indexes[t]+=1;return delete this.indexes[t],i}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...r)=>e[t](...r.map(i=>typeof i=="function"?(s,o)=>i(s.toProxy(),o):i)):t==="every"||t==="some"?r=>e[t]((i,...s)=>r(i.toProxy(),...s)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(r=>r.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of i)this.proxyOf.nodes.splice(r+1,0,o);let s;for(let o in this.indexes)s=this.indexes[o],r<s&&(this.indexes[o]=s+i.length);return this.markDirty(),this}insertBefore(e,t){let r=this.index(e),i=r===0?"prepend":!1,s=this.normalize(t,this.proxyOf.nodes[r],i).reverse();r=this.index(e);for(let a of s)this.proxyOf.nodes.splice(r,0,a);let o;for(let a in this.indexes)o=this.indexes[a],r<=o&&(this.indexes[a]=o+s.length);return this.markDirty(),this}normalize(e,t){if(typeof e=="string")e=Oi(vi(e).nodes);else if(typeof e>"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new yi(e)]}else if(e.selector||e.selectors)e=[new Mr(e)];else if(e.name)e=[new Dr(e)];else if(e.text)e=[new wi(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[Si]||n.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[bi]&&Li(i),i.raws||(i.raws={}),typeof i.raws.before>"u"&&t&&typeof t.raws.before<"u"&&(i.raws.before=t.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}prepend(...e){e=e.reverse();for(let t of e){let r=this.normalize(t,this.first,"prepend").reverse();for(let i of r)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+r.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(i=>{t.props&&!t.props.includes(i.prop)||t.fast&&!i.value.includes(t.fast)||(i.value=i.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let i;try{i=e(t,r)}catch(s){throw t.addToError(s)}return i!==!1&&t.walk&&(i=t.walk(e)),i})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="atrule"&&e.test(r.name))return t(r,i)}):this.walk((r,i)=>{if(r.type==="atrule"&&r.name===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="atrule")return t(r,i)}))}walkComments(e){return this.walk((t,r)=>{if(t.type==="comment")return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="decl"&&e.test(r.prop))return t(r,i)}):this.walk((r,i)=>{if(r.type==="decl"&&r.prop===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="decl")return t(r,i)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="rule"&&e.test(r.selector))return t(r,i)}):this.walk((r,i)=>{if(r.type==="rule"&&r.selector===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="rule")return t(r,i)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};ue.registerParse=n=>{vi=n};ue.registerRule=n=>{Mr=n};ue.registerAtRule=n=>{Dr=n};ue.registerRoot=n=>{Ci=n};Ii.exports=ue;ue.default=ue;ue.rebuild=n=>{n.type==="atrule"?Object.setPrototypeOf(n,Dr.prototype):n.type==="rule"?Object.setPrototypeOf(n,Mr.prototype):n.type==="decl"?Object.setPrototypeOf(n,yi.prototype):n.type==="comment"?Object.setPrototypeOf(n,wi.prototype):n.type==="root"&&Object.setPrototypeOf(n,Ci.prototype),n[Si]=!0,n.nodes&&n.nodes.forEach(e=>{ue.rebuild(e)})}});var Ti=C((xh,Ni)=>{var Ra="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Aa=(n,e=21)=>(t=e)=>{let r="",i=t;for(;i--;)r+=n[Math.random()*n.length|0];return r},Da=(n=21)=>{let e="",t=n;for(;t--;)e+=Ra[Math.random()*64|0];return e};Ni.exports={nanoid:Da,customAlphabet:Aa}});var Ai=C(Pr=>{var Ri="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Pr.encode=function(n){if(0<=n&&n<Ri.length)return Ri[n];throw new TypeError("Must be between 0 and 63: "+n)};Pr.decode=function(n){var e=65,t=90,r=97,i=122,s=48,o=57,a=43,l=47,f=26,c=52;return e<=n&&n<=t?n-e:r<=n&&n<=i?n-r+f:s<=n&&n<=o?n-s+c:n==a?62:n==l?63:-1}});var kr=C(Ur=>{var Di=Ai(),Fr=5,Mi=1<<Fr,Pi=Mi-1,Fi=Mi;function Ma(n){return n<0?(-n<<1)+1:(n<<1)+0}function Pa(n){var e=(n&1)===1,t=n>>1;return e?-t:t}Ur.encode=function(e){var t="",r,i=Ma(e);do r=i&Pi,i>>>=Fr,i>0&&(r|=Fi),t+=Di.encode(r);while(i>0);return t};Ur.decode=function(e,t,r){var i=e.length,s=0,o=0,a,l;do{if(t>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(l=Di.decode(e.charCodeAt(t++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(t-1));a=!!(l&Fi),l&=Pi,s=s+(l<<o),o+=Fr}while(a);r.value=Pa(s),r.rest=t}});var je=C($=>{function Fa(n,e,t){if(e in n)return n[e];if(arguments.length===3)return t;throw new Error('"'+e+'" is a required argument.')}$.getArg=Fa;var Ui=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Ua=/^data:.+\,.+$/;function pt(n){var e=n.match(Ui);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}$.urlParse=pt;function qe(n){var e="";return n.scheme&&(e+=n.scheme+":"),e+="//",n.auth&&(e+=n.auth+"@"),n.host&&(e+=n.host),n.port&&(e+=":"+n.port),n.path&&(e+=n.path),e}$.urlGenerate=qe;var ka=32;function Ba(n){var e=[];return function(t){for(var r=0;r<e.length;r++)if(e[r].input===t){var i=e[0];return e[0]=e[r],e[r]=i,e[0].result}var s=n(t);return e.unshift({input:t,result:s}),e.length>ka&&e.pop(),s}}var Br=Ba(function(e){var t=e,r=pt(e);if(r){if(!r.path)return e;t=r.path}for(var i=$.isAbsolute(t),s=[],o=0,a=0;;)if(o=a,a=t.indexOf("/",o),a===-1){s.push(t.slice(o));break}else for(s.push(t.slice(o,a));a<t.length&&t[a]==="/";)a++;for(var l,f=0,a=s.length-1;a>=0;a--)l=s[a],l==="."?s.splice(a,1):l===".."?f++:f>0&&(l===""?(s.splice(a+1,f),f=0):(s.splice(a,2),f--));return t=s.join("/"),t===""&&(t=i?"/":"."),r?(r.path=t,qe(r)):t});$.normalize=Br;function ki(n,e){n===""&&(n="."),e===""&&(e=".");var t=pt(e),r=pt(n);if(r&&(n=r.path||"/"),t&&!t.scheme)return r&&(t.scheme=r.scheme),qe(t);if(t||e.match(Ua))return e;if(r&&!r.host&&!r.path)return r.host=e,qe(r);var i=e.charAt(0)==="/"?e:Br(n.replace(/\/+$/,"")+"/"+e);return r?(r.path=i,qe(r)):i}$.join=ki;$.isAbsolute=function(n){return n.charAt(0)==="/"||Ui.test(n)};function za(n,e){n===""&&(n="."),n=n.replace(/\/$/,"");for(var t=0;e.indexOf(n+"/")!==0;){var r=n.lastIndexOf("/");if(r<0||(n=n.slice(0,r),n.match(/^([^\/]+:\/)?\/*$/)))return e;++t}return Array(t+1).join("../")+e.substr(n.length+1)}$.relative=za;var Bi=function(){var n=Object.create(null);return!("__proto__"in n)}();function zi(n){return n}function Ga(n){return Gi(n)?"$"+n:n}$.toSetString=Bi?zi:Ga;function Wa(n){return Gi(n)?n.slice(1):n}$.fromSetString=Bi?zi:Wa;function Gi(n){if(!n)return!1;var e=n.length;if(e<9||n.charCodeAt(e-1)!==95||n.charCodeAt(e-2)!==95||n.charCodeAt(e-3)!==111||n.charCodeAt(e-4)!==116||n.charCodeAt(e-5)!==111||n.charCodeAt(e-6)!==114||n.charCodeAt(e-7)!==112||n.charCodeAt(e-8)!==95||n.charCodeAt(e-9)!==95)return!1;for(var t=e-10;t>=0;t--)if(n.charCodeAt(t)!==36)return!1;return!0}function qa(n,e,t){var r=ge(n.source,e.source);return r!==0||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0||t)||(r=n.generatedColumn-e.generatedColumn,r!==0)||(r=n.generatedLine-e.generatedLine,r!==0)?r:ge(n.name,e.name)}$.compareByOriginalPositions=qa;function ja(n,e,t){var r;return r=n.originalLine-e.originalLine,r!==0||(r=n.originalColumn-e.originalColumn,r!==0||t)||(r=n.generatedColumn-e.generatedColumn,r!==0)||(r=n.generatedLine-e.generatedLine,r!==0)?r:ge(n.name,e.name)}$.compareByOriginalPositionsNoSource=ja;function $a(n,e,t){var r=n.generatedLine-e.generatedLine;return r!==0||(r=n.generatedColumn-e.generatedColumn,r!==0||t)||(r=ge(n.source,e.source),r!==0)||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0)?r:ge(n.name,e.name)}$.compareByGeneratedPositionsDeflated=$a;function Va(n,e,t){var r=n.generatedColumn-e.generatedColumn;return r!==0||t||(r=ge(n.source,e.source),r!==0)||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0)?r:ge(n.name,e.name)}$.compareByGeneratedPositionsDeflatedNoLine=Va;function ge(n,e){return n===e?0:n===null?1:e===null?-1:n>e?1:-1}function Ha(n,e){var t=n.generatedLine-e.generatedLine;return t!==0||(t=n.generatedColumn-e.generatedColumn,t!==0)||(t=ge(n.source,e.source),t!==0)||(t=n.originalLine-e.originalLine,t!==0)||(t=n.originalColumn-e.originalColumn,t!==0)?t:ge(n.name,e.name)}$.compareByGeneratedPositionsInflated=Ha;function Za(n){return JSON.parse(n.replace(/^\)]}'[^\n]*\n/,""))}$.parseSourceMapInput=Za;function Ya(n,e,t){if(e=e||"",n&&(n[n.length-1]!=="/"&&e[0]!=="/"&&(n+="/"),e=n+e),t){var r=pt(t);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var i=r.path.lastIndexOf("/");i>=0&&(r.path=r.path.substring(0,i+1))}e=ki(qe(r),e)}return Br(e)}$.computeSourceURL=Ya});var Wr=C(Wi=>{var zr=je(),Gr=Object.prototype.hasOwnProperty,Me=typeof Map<"u";function _e(){this._array=[],this._set=Me?new Map:Object.create(null)}_e.fromArray=function(e,t){for(var r=new _e,i=0,s=e.length;i<s;i++)r.add(e[i],t);return r};_e.prototype.size=function(){return Me?this._set.size:Object.getOwnPropertyNames(this._set).length};_e.prototype.add=function(e,t){var r=Me?e:zr.toSetString(e),i=Me?this.has(e):Gr.call(this._set,r),s=this._array.length;(!i||t)&&this._array.push(e),i||(Me?this._set.set(e,s):this._set[r]=s)};_e.prototype.has=function(e){if(Me)return this._set.has(e);var t=zr.toSetString(e);return Gr.call(this._set,t)};_e.prototype.indexOf=function(e){if(Me){var t=this._set.get(e);if(t>=0)return t}else{var r=zr.toSetString(e);if(Gr.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')};_e.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};_e.prototype.toArray=function(){return this._array.slice()};Wi.ArraySet=_e});var $i=C(ji=>{var qi=je();function Xa(n,e){var t=n.generatedLine,r=e.generatedLine,i=n.generatedColumn,s=e.generatedColumn;return r>t||r==t&&s>=i||qi.compareByGeneratedPositionsInflated(n,e)<=0}function Gt(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Gt.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)};Gt.prototype.add=function(e){Xa(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};Gt.prototype.toArray=function(){return this._sorted||(this._array.sort(qi.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};ji.MappingList=Gt});var qr=C(Vi=>{var mt=kr(),W=je(),Wt=Wr().ArraySet,Ka=$i().MappingList;function re(n){n||(n={}),this._file=W.getArg(n,"file",null),this._sourceRoot=W.getArg(n,"sourceRoot",null),this._skipValidation=W.getArg(n,"skipValidation",!1),this._ignoreInvalidMapping=W.getArg(n,"ignoreInvalidMapping",!1),this._sources=new Wt,this._names=new Wt,this._mappings=new Ka,this._sourcesContents=null}re.prototype._version=3;re.fromSourceMap=function(e,t){var r=e.sourceRoot,i=new re(Object.assign(t||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(s){var o={generated:{line:s.generatedLine,column:s.generatedColumn}};s.source!=null&&(o.source=s.source,r!=null&&(o.source=W.relative(r,o.source)),o.original={line:s.originalLine,column:s.originalColumn},s.name!=null&&(o.name=s.name)),i.addMapping(o)}),e.sources.forEach(function(s){var o=s;r!==null&&(o=W.relative(r,s)),i._sources.has(o)||i._sources.add(o);var a=e.sourceContentFor(s);a!=null&&i.setSourceContent(s,a)}),i};re.prototype.addMapping=function(e){var t=W.getArg(e,"generated"),r=W.getArg(e,"original",null),i=W.getArg(e,"source",null),s=W.getArg(e,"name",null);!this._skipValidation&&this._validateMapping(t,r,i,s)===!1||(i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:s}))};re.prototype.setSourceContent=function(e,t){var r=e;this._sourceRoot!=null&&(r=W.relative(this._sourceRoot,r)),t!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[W.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[W.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};re.prototype.applySourceMap=function(e,t,r){var i=t;if(t==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=e.file}var s=this._sourceRoot;s!=null&&(i=W.relative(s,i));var o=new Wt,a=new Wt;this._mappings.unsortedForEach(function(l){if(l.source===i&&l.originalLine!=null){var f=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});f.source!=null&&(l.source=f.source,r!=null&&(l.source=W.join(r,l.source)),s!=null&&(l.source=W.relative(s,l.source)),l.originalLine=f.line,l.originalColumn=f.column,f.name!=null&&(l.name=f.name))}var c=l.source;c!=null&&!o.has(c)&&o.add(c);var h=l.name;h!=null&&!a.has(h)&&a.add(h)},this),this._sources=o,this._names=a,e.sources.forEach(function(l){var f=e.sourceContentFor(l);f!=null&&(r!=null&&(l=W.join(r,l)),s!=null&&(l=W.relative(s,l)),this.setSourceContent(l,f))},this)};re.prototype._validateMapping=function(e,t,r,i){if(t&&typeof t.line!="number"&&typeof t.column!="number"){var s="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(s),!1;throw new Error(s)}if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!r&&!i)){if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r)return;var s="Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:i});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(s),!1;throw new Error(s)}};re.prototype._serializeMappings=function(){for(var e=0,t=1,r=0,i=0,s=0,o=0,a="",l,f,c,h,u=this._mappings.toArray(),d=0,m=u.length;d<m;d++){if(f=u[d],l="",f.generatedLine!==t)for(e=0;f.generatedLine!==t;)l+=";",t++;else if(d>0){if(!W.compareByGeneratedPositionsInflated(f,u[d-1]))continue;l+=","}l+=mt.encode(f.generatedColumn-e),e=f.generatedColumn,f.source!=null&&(h=this._sources.indexOf(f.source),l+=mt.encode(h-o),o=h,l+=mt.encode(f.originalLine-1-i),i=f.originalLine-1,l+=mt.encode(f.originalColumn-r),r=f.originalColumn,f.name!=null&&(c=this._names.indexOf(f.name),l+=mt.encode(c-s),s=c)),a+=l}return a};re.prototype._generateSourcesContent=function(e,t){return e.map(function(r){if(!this._sourcesContents)return null;t!=null&&(r=W.relative(t,r));var i=W.toSetString(r);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};re.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};re.prototype.toString=function(){return JSON.stringify(this.toJSON())};Vi.SourceMapGenerator=re});var Hi=C(Pe=>{Pe.GREATEST_LOWER_BOUND=1;Pe.LEAST_UPPER_BOUND=2;function jr(n,e,t,r,i,s){var o=Math.floor((e-n)/2)+n,a=i(t,r[o],!0);return a===0?o:a>0?e-o>1?jr(o,e,t,r,i,s):s==Pe.LEAST_UPPER_BOUND?e<r.length?e:-1:o:o-n>1?jr(n,o,t,r,i,s):s==Pe.LEAST_UPPER_BOUND?o:n<0?-1:n}Pe.search=function(e,t,r,i){if(t.length===0)return-1;var s=jr(-1,t.length,e,t,r,i||Pe.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&r(t[s],t[s-1],!0)===0;)--s;return s}});var Xi=C(Yi=>{function Ja(n){function e(i,s,o){var a=i[s];i[s]=i[o],i[o]=a}function t(i,s){return Math.round(i+Math.random()*(s-i))}function r(i,s,o,a){if(o<a){var l=t(o,a),f=o-1;e(i,l,a);for(var c=i[a],h=o;h<a;h++)s(i[h],c,!1)<=0&&(f+=1,e(i,f,h));e(i,f+1,h);var u=f+1;r(i,s,o,u-1),r(i,s,u+1,a)}}return r}function Qa(n){let e=Ja.toString();return new Function(`return ${e}`)()(n)}var Zi=new WeakMap;Yi.quickSort=function(n,e,t=0){let r=Zi.get(e);r===void 0&&(r=Qa(e),Zi.set(e,r)),r(n,e,t,n.length-1)}});var Qi=C(qt=>{var y=je(),Vr=Hi(),$e=Wr().ArraySet,ef=kr(),gt=Xi().quickSort;function M(n,e){var t=n;return typeof n=="string"&&(t=y.parseSourceMapInput(n)),t.sections!=null?new he(t,e):new H(t,e)}M.fromSourceMap=function(n,e){return H.fromSourceMap(n,e)};M.prototype._version=3;M.prototype.__generatedMappings=null;Object.defineProperty(M.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});M.prototype.__originalMappings=null;Object.defineProperty(M.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});M.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return r===";"||r===","};M.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")};M.GENERATED_ORDER=1;M.ORIGINAL_ORDER=2;M.GREATEST_LOWER_BOUND=1;M.LEAST_UPPER_BOUND=2;M.prototype.eachMapping=function(e,t,r){var i=t||null,s=r||M.GENERATED_ORDER,o;switch(s){case M.GENERATED_ORDER:o=this._generatedMappings;break;case M.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var a=this.sourceRoot,l=e.bind(i),f=this._names,c=this._sources,h=this._sourceMapURL,u=0,d=o.length;u<d;u++){var m=o[u],p=m.source===null?null:c.at(m.source);p!==null&&(p=y.computeSourceURL(a,p,h)),l({source:p,generatedLine:m.generatedLine,generatedColumn:m.generatedColumn,originalLine:m.originalLine,originalColumn:m.originalColumn,name:m.name===null?null:f.at(m.name)})}};M.prototype.allGeneratedPositionsFor=function(e){var t=y.getArg(e,"line"),r={source:y.getArg(e,"source"),originalLine:t,originalColumn:y.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var i=[],s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",y.compareByOriginalPositions,Vr.LEAST_UPPER_BOUND);if(s>=0){var o=this._originalMappings[s];if(e.column===void 0)for(var a=o.originalLine;o&&o.originalLine===a;)i.push({line:y.getArg(o,"generatedLine",null),column:y.getArg(o,"generatedColumn",null),lastColumn:y.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s];else for(var l=o.originalColumn;o&&o.originalLine===t&&o.originalColumn==l;)i.push({line:y.getArg(o,"generatedLine",null),column:y.getArg(o,"generatedColumn",null),lastColumn:y.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s]}return i};qt.SourceMapConsumer=M;function H(n,e){var t=n;typeof n=="string"&&(t=y.parseSourceMapInput(n));var r=y.getArg(t,"version"),i=y.getArg(t,"sources"),s=y.getArg(t,"names",[]),o=y.getArg(t,"sourceRoot",null),a=y.getArg(t,"sourcesContent",null),l=y.getArg(t,"mappings"),f=y.getArg(t,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);o&&(o=y.normalize(o)),i=i.map(String).map(y.normalize).map(function(c){return o&&y.isAbsolute(o)&&y.isAbsolute(c)?y.relative(o,c):c}),this._names=$e.fromArray(s.map(String),!0),this._sources=$e.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(c){return y.computeSourceURL(o,c,e)}),this.sourceRoot=o,this.sourcesContent=a,this._mappings=l,this._sourceMapURL=e,this.file=f}H.prototype=Object.create(M.prototype);H.prototype.consumer=M;H.prototype._findSourceIndex=function(n){var e=n;if(this.sourceRoot!=null&&(e=y.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var t;for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==n)return t;return-1};H.fromSourceMap=function(e,t){var r=Object.create(H.prototype),i=r._names=$e.fromArray(e._names.toArray(),!0),s=r._sources=$e.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map(function(d){return y.computeSourceURL(r.sourceRoot,d,t)});for(var o=e._mappings.toArray().slice(),a=r.__generatedMappings=[],l=r.__originalMappings=[],f=0,c=o.length;f<c;f++){var h=o[f],u=new Ji;u.generatedLine=h.generatedLine,u.generatedColumn=h.generatedColumn,h.source&&(u.source=s.indexOf(h.source),u.originalLine=h.originalLine,u.originalColumn=h.originalColumn,h.name&&(u.name=i.indexOf(h.name)),l.push(u)),a.push(u)}return gt(r.__originalMappings,y.compareByOriginalPositions),r};H.prototype._version=3;Object.defineProperty(H.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Ji(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var $r=y.compareByGeneratedPositionsDeflatedNoLine;function Ki(n,e){let t=n.length,r=n.length-e;if(!(r<=1))if(r==2){let i=n[e],s=n[e+1];$r(i,s)>0&&(n[e]=s,n[e+1]=i)}else if(r<20)for(let i=e;i<t;i++)for(let s=i;s>e;s--){let o=n[s-1],a=n[s];if($r(o,a)<=0)break;n[s-1]=a,n[s]=o}else gt(n,$r,e)}H.prototype._parseMappings=function(e,t){var r=1,i=0,s=0,o=0,a=0,l=0,f=e.length,c=0,h={},u={},d=[],m=[],p,_,b,v,I;let O=0;for(;c<f;)if(e.charAt(c)===";")r++,c++,i=0,Ki(m,O),O=m.length;else if(e.charAt(c)===",")c++;else{for(p=new Ji,p.generatedLine=r,v=c;v<f&&!this._charIsMappingSeparator(e,v);v++);for(_=e.slice(c,v),b=[];c<v;)ef.decode(e,c,u),I=u.value,c=u.rest,b.push(I);if(b.length===2)throw new Error("Found a source, but no line and column");if(b.length===3)throw new Error("Found a source and line, but no column");if(p.generatedColumn=i+b[0],i=p.generatedColumn,b.length>1&&(p.source=a+b[1],a+=b[1],p.originalLine=s+b[2],s=p.originalLine,p.originalLine+=1,p.originalColumn=o+b[3],o=p.originalColumn,b.length>4&&(p.name=l+b[4],l+=b[4])),m.push(p),typeof p.originalLine=="number"){let L=p.source;for(;d.length<=L;)d.push(null);d[L]===null&&(d[L]=[]),d[L].push(p)}}Ki(m,O),this.__generatedMappings=m;for(var R=0;R<d.length;R++)d[R]!=null&&gt(d[R],y.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...d)};H.prototype._findMapping=function(e,t,r,i,s,o){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return Vr.search(e,t,s,o)};H.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}};H.prototype.originalPositionFor=function(e){var t={generatedLine:y.getArg(e,"line"),generatedColumn:y.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",y.compareByGeneratedPositionsDeflated,y.getArg(e,"bias",M.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===t.generatedLine){var s=y.getArg(i,"source",null);s!==null&&(s=this._sources.at(s),s=y.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var o=y.getArg(i,"name",null);return o!==null&&(o=this._names.at(o)),{source:s,line:y.getArg(i,"originalLine",null),column:y.getArg(i,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};H.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};H.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var i=e;this.sourceRoot!=null&&(i=y.relative(this.sourceRoot,i));var s;if(this.sourceRoot!=null&&(s=y.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,"");if(s.scheme=="file"&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!s.path||s.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(t)return null;throw new Error('"'+i+'" is not in the SourceMap.')};H.prototype.generatedPositionFor=function(e){var t=y.getArg(e,"source");if(t=this._findSourceIndex(t),t<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:y.getArg(e,"line"),originalColumn:y.getArg(e,"column")},i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",y.compareByOriginalPositions,y.getArg(e,"bias",M.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===r.source)return{line:y.getArg(s,"generatedLine",null),column:y.getArg(s,"generatedColumn",null),lastColumn:y.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};qt.BasicSourceMapConsumer=H;function he(n,e){var t=n;typeof n=="string"&&(t=y.parseSourceMapInput(n));var r=y.getArg(t,"version"),i=y.getArg(t,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new $e,this._names=new $e;var s={line:-1,column:0};this._sections=i.map(function(o){if(o.url)throw new Error("Support for url field in sections not implemented.");var a=y.getArg(o,"offset"),l=y.getArg(a,"line"),f=y.getArg(a,"column");if(l<s.line||l===s.line&&f<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=a,{generatedOffset:{generatedLine:l+1,generatedColumn:f+1},consumer:new M(y.getArg(o,"map"),e)}})}he.prototype=Object.create(M.prototype);he.prototype.constructor=M;he.prototype._version=3;Object.defineProperty(he.prototype,"sources",{get:function(){for(var n=[],e=0;e<this._sections.length;e++)for(var t=0;t<this._sections[e].consumer.sources.length;t++)n.push(this._sections[e].consumer.sources[t]);return n}});he.prototype.originalPositionFor=function(e){var t={generatedLine:y.getArg(e,"line"),generatedColumn:y.getArg(e,"column")},r=Vr.search(t,this._sections,function(s,o){var a=s.generatedLine-o.generatedOffset.generatedLine;return a||s.generatedColumn-o.generatedOffset.generatedColumn}),i=this._sections[r];return i?i.consumer.originalPositionFor({line:t.generatedLine-(i.generatedOffset.generatedLine-1),column:t.generatedColumn-(i.generatedOffset.generatedLine===t.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};he.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};he.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var i=this._sections[r],s=i.consumer.sourceContentFor(e,!0);if(s||s==="")return s}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')};he.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(r.consumer._findSourceIndex(y.getArg(e,"source"))!==-1){var i=r.consumer.generatedPositionFor(e);if(i){var s={line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)};return s}}}return{line:null,column:null}};he.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],s=i.consumer._generatedMappings,o=0;o<s.length;o++){var a=s[o],l=i.consumer._sources.at(a.source);l!==null&&(l=y.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL)),this._sources.add(l),l=this._sources.indexOf(l);var f=null;a.name&&(f=i.consumer._names.at(a.name),this._names.add(f),f=this._names.indexOf(f));var c={source:l,generatedLine:a.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(i.generatedOffset