monocart-coverage-reports
Version:
A code coverage tool to generate native V8 reports or Istanbul reports.
22 lines (21 loc) • 182 kB
JavaScript
var oa=Object.create;var Bt=Object.defineProperty;var la=Object.getOwnPropertyDescriptor;var aa=Object.getOwnPropertyNames;var fa=Object.getPrototypeOf,ua=Object.prototype.hasOwnProperty;var b=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports),ca=(n,e)=>{for(var t in e)Bt(n,t,{get:e[t],enumerable:!0})},ri=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of aa(e))!ua.call(n,i)&&i!==t&&Bt(n,i,{get:()=>e[i],enumerable:!(r=la(e,i))||r.enumerable});return n};var W=(n,e,t)=>(t=n!=null?oa(fa(n)):{},ri(e||!n||!n.__esModule?Bt(t,"default",{value:n,enumerable:!0}):t,n)),ha=n=>ri(Bt({},"__esModule",{value:!0}),n);var ii=b(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 zt;typeof Buffer<"u"?typeof Buffer.from=="function"?zt=pa:zt=da:zt=ma;function pa(n){return Buffer.from(n,"base64").toString()}function da(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 ma(n){return decodeURIComponent(escape(atob(n)))}function ga(n){return n.split(",").pop()}function _a(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=ga(n)),e.encoding==="base64"?n=zt(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=ya:Y.prototype.toBase64=wa:Y.prototype.toBase64=Ea;function ya(){var n=this.toJSON();return Buffer.from(n,"utf8").toString("base64")}function wa(){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 Ea(){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 ni(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=_a(n,e);return t!=null&&typeof t.then=="function"?t.then(ni):ni(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 Or=b((Ph,Lr)=>{var Wt=process||{},fi=Wt.argv||[],Gt=Wt.env||{},La=!(Gt.NO_COLOR||fi.includes("--no-color"))&&(!!Gt.FORCE_COLOR||fi.includes("--color")||Wt.platform==="win32"||(Wt.stdout||{}).isTTY&&Gt.TERM!=="dumb"||!!Gt.CI),Oa=(n,e,t=n)=>r=>{let i=""+r,s=i.indexOf(e,n.length);return~s?n+Ta(i,e,t,s)+e:n+i+e},Ta=(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)},ui=(n=La)=>{let e=n?Oa:()=>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")}};Lr.exports=ui();Lr.exports.createColors=ui});var Tr=b((Fh,hi)=>{"use strict";var jt=/[\t\n\f\r "#'()/;[\\\]{}]/g,qt=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Ia=/.[\r\n"'(/\\]/,ci=/[\da-f]/i;hi.exports=function(e,t={}){let r=e.css.valueOf(),i=t.ignoreErrors,s,o,a,l,f,u,h,c,p,m,d=r.length,_=0,S=[],w=[];function L(){return _}function O(P){throw e.error("Unclosed "+P,_)}function R(){return w.length===0&&_>=d}function T(P){if(w.length)return w.pop();if(_>=d)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);u=["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);u=[G,G,_];break}case 40:{if(m=S.length?S.pop()[1]:"",p=r.charCodeAt(_+1),m==="url"&&p!==39&&p!==34&&p!==32&&p!==10&&p!==9&&p!==12&&p!==13){l=_;do{if(h=!1,l=r.indexOf(")",l+1),l===-1)if(i||A){l=_;break}else O("bracket");for(c=l;r.charCodeAt(c-1)===92;)c-=1,h=!h}while(h);u=["brackets",r.slice(_,l+1),_,l],_=l}else l=r.indexOf(")",_+1),o=r.slice(_,l+1),l===-1||Ia.test(o)?u=["(","(",_]:(u=["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(c=l;r.charCodeAt(c-1)===92;)c-=1,h=!h}while(h);u=["string",r.slice(_,l+1),_,l],_=l;break}case 64:{jt.lastIndex=_+1,jt.test(r),jt.lastIndex===0?l=r.length-1:l=jt.lastIndex-2,u=["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,ci.test(r.charAt(l)))){for(;ci.test(r.charAt(l+1));)l+=1;r.charCodeAt(l+1)===32&&(l+=1)}u=["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")),u=["comment",r.slice(_,l+1),_,l],_=l):(qt.lastIndex=_+1,qt.test(r),qt.lastIndex===0?l=r.length-1:l=qt.lastIndex-2,u=["word",r.slice(_,l+1),_,l],S.push(u),_=l);break}}return _++,u}function B(P){w.push(P)}return{back:B,endOfFile:R,nextToken:T,position:L}}});var Ir=b((Uh,mi)=>{"use strict";var J=Or(),Na=Tr(),pi;function Ra(n){pi=n}var Aa={";":J.yellow,":":J.yellow,"(":J.cyan,")":J.cyan,"[":J.yellow,"]":J.yellow,"{":J.yellow,"}":J.yellow,"at-word":J.cyan,brackets:J.cyan,call:J.cyan,class:J.yellow,comment:J.gray,hash:J.magenta,string:J.green};function Da([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 di(n){let e=Na(new pi(n),{ignoreErrors:!0}),t="";for(;!e.endOfFile();){let r=e.nextToken(),i=Aa[Da(r,e)];i?t+=r[1].split(/\r?\n/).map(s=>i(s)).join(`
`):t+=r[1]}return t}di.registerInput=Ra;mi.exports=di});var Nr=b((kh,yi)=>{"use strict";var gi=Or(),_i=Ir(),ht=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=gi.isColorSupported);let r=u=>u,i=u=>u,s=u=>u;if(e){let{bold:u,gray:h,red:c}=gi.createColors(!0);i=p=>u(c(p)),r=p=>h(p),_i&&(s=p=>_i(p))}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((u,h)=>{let c=a+1+h,p=" "+(" "+c).slice(-f)+" | ";if(c===this.line){if(u.length>160){let d=20,_=Math.max(0,this.column-d),S=Math.max(this.column+d,this.endColumn+d),w=u.slice(_,S),L=r(p.replace(/\d/g," "))+u.slice(0,Math.min(this.column-1,d-1)).replace(/[^\t]/g," ");return i(">")+r(p)+s(w)+`
`+L+i("^")}let m=r(p.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return i(">")+r(p)+s(u)+`
`+m+i("^")}return" "+r(p)+s(u)}).join(`
`)}toString(){let e=this.showSourceCode();return e&&(e=`
`+e+`
`),this.name+": "+this.message+e}};yi.exports=ht;ht.default=ht});var Rr=b((Bh,Ei)=>{"use strict";var Ma=/(<)(\/?style\b)/gi,Pa=/(<)(!--)/g;function be(n){return typeof n!="string"||!n.includes("<")?n:n.replace(Ma,"\\3c $2").replace(Pa,"\\3c $2")}var wi={after:`
`,beforeClose:`
`,beforeComment:`
`,beforeDecl:`
`,beforeOpen:" ",beforeRule:`
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function Fa(n){return n[0].toUpperCase()+n.slice(1)}var pt=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(be(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(be(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(be(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"),i=e.type==="document";for(let s=0;s<e.nodes.length;s++){let o=e.nodes[s],a=this.raw(o,"before");a&&this.builder(i?a:be(a)),this.stringify(o,t!==s||r)}}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder(be("/*"+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(be(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 wi[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"+Fa(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=wi[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){if(this.body(e),e.raws.after){let t=e.raws.after,r=e.parent&&e.parent.type==="document";this.builder(r?t:be(t))}}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(be(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)}};Ei.exports=pt;pt.default=pt});var vi=b((zh,Si)=>{"use strict";var Ua=Rr();function Ar(n,e){new Ua(e).stringify(n)}Si.exports=Ar;Ar.default=Ar});var Mr=b((Gh,Dr)=>{"use strict";Dr.exports.isClean=Symbol("isClean");Dr.exports.my=Symbol("my")});var $t=b((Wh,xi)=>{"use strict";var ka=Nr(),Ba=Rr(),za=vi(),{isClean:dt,my:Ga}=Mr();function Pr(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=>Pr(o,t)):(s==="object"&&i!==null&&(i=Pr(i)),t[r]=i)}return t}function _e(n,e){if(e&&typeof e.offset<"u")return e.offset;let t=1,r=1,i=0;for(let s=0;s<n.length;s++){if(r===e.line&&t===e.column){i=s;break}n[s]===`
`?(t=1,r+=1):t+=1}return i}var mt=class{get proxyOf(){return this}constructor(e={}){this.raws={},this[dt]=!1,this[Ga]=!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=Pr(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 ka(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[dt]=!0}markDirty(){if(this[dt]){this[dt]=!1;let e=this;for(;e=e.parent;)e[dt]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let r="document"in this.source.input?this.source.input.document:this.source.input.css,s=r.slice(_e(r,this.source.start),_e(r,this.source.end)).indexOf(e.word);s!==-1&&(t=this.positionInside(s))}return t}positionInside(e){let t=this.source.start.column,r=this.source.start.line,i="document"in this.source.input?this.source.input.document:this.source.input.css,s=_e(i,this.source.start),o=s+e;for(let a=s;a<o;a++)i[a]===`
`?(t=1,r+=1):t+=1;return{column:t,line:r,offset:o}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e={}){let t="document"in this.source.input?this.source.input.document:this.source.input.css,r={column:this.source.start.column,line:this.source.start.line,offset:_e(t,this.source.start)},i=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:_e(t,this.source.end)+1}:{column:r.column+1,line:r.line,offset:r.offset+1};if(e.word){let o=t.slice(_e(t,this.source.start),_e(t,this.source.end)).indexOf(e.word);o!==-1&&(r=this.positionInside(o),i=this.positionInside(o+e.word.length))}else e.start?r={column:e.start.column,line:e.start.line,offset:_e(t,e.start)}:e.index&&(r=this.positionInside(e.index)),e.end?i={column:e.end.column,line:e.end.line,offset:_e(t,e.end)}:typeof e.endIndex=="number"?i=this.positionInside(e.endIndex):e.index&&(i=this.positionInside(e.index+1));return(i.line<r.line||i.line===r.line&&i.column<=r.column)&&(i={column:r.column+1,line:r.line,offset:r.offset+1}),{end:i,start:r}}raw(e,t){return new Ba().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"){if(a==null)continue;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=za){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)}};xi.exports=mt;mt.default=mt});var Fr=b((jh,Ci)=>{"use strict";var Wa=$t(),gt=class extends Wa{constructor(e){super(e),this.type="comment"}};Ci.exports=gt;gt.default=gt});var Ur=b((qh,bi)=>{"use strict";var ja=$t(),_t=class extends ja{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}};bi.exports=_t;_t.default=_t});var yt=b(($h,Mi)=>{"use strict";var Li=Fr(),Oi=Ur(),qa=$t(),{isClean:Ti,my:Ii}=Mr(),kr,Ni,Ri,Br;function Ai(n){return n.map(e=>(e.nodes&&(e.nodes=Ai(e.nodes)),delete e.source,e))}function Di(n){if(n[Ti]=!1,n.proxyOf.nodes)for(let e of n.proxyOf.nodes)Di(e)}var he=class n extends qa{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]}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=Ai(Ni(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 Oi(e)]}else if(e.selector||e.selectors)e=[new Br(e)];else if(e.name)e=[new kr(e)];else if(e.text)e=[new Li(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[Ii]||n.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[Ti]&&Di(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)}))}};he.registerParse=n=>{Ni=n};he.registerRule=n=>{Br=n};he.registerAtRule=n=>{kr=n};he.registerRoot=n=>{Ri=n};Mi.exports=he;he.default=he;he.rebuild=n=>{n.type==="atrule"?Object.setPrototypeOf(n,kr.prototype):n.type==="rule"?Object.setPrototypeOf(n,Br.prototype):n.type==="decl"?Object.setPrototypeOf(n,Oi.prototype):n.type==="comment"?Object.setPrototypeOf(n,Li.prototype):n.type==="root"&&Object.setPrototypeOf(n,Ri.prototype),n[Ii]=!0,n.nodes&&n.nodes.forEach(e=>{he.rebuild(e)})}});var Fi=b((Vh,Pi)=>{var $a="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Va=(n,e=21)=>(t=e)=>{let r="",i=t|0;for(;i--;)r+=n[Math.random()*n.length|0];return r},Ha=(n=21)=>{let e="",t=n|0;for(;t--;)e+=$a[Math.random()*64|0];return e};Pi.exports={nanoid:Ha,customAlphabet:Va}});var ki=b(zr=>{var Ui="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");zr.encode=function(n){if(0<=n&&n<Ui.length)return Ui[n];throw new TypeError("Must be between 0 and 63: "+n)};zr.decode=function(n){var e=65,t=90,r=97,i=122,s=48,o=57,a=43,l=47,f=26,u=52;return e<=n&&n<=t?n-e:r<=n&&n<=i?n-r+f:s<=n&&n<=o?n-s+u:n==a?62:n==l?63:-1}});var jr=b(Wr=>{var Bi=ki(),Gr=5,zi=1<<Gr,Gi=zi-1,Wi=zi;function Za(n){return n<0?(-n<<1)+1:(n<<1)+0}function Ya(n){var e=(n&1)===1,t=n>>1;return e?-t:t}Wr.encode=function(e){var t="",r,i=Za(e);do r=i&Gi,i>>>=Gr,i>0&&(r|=Wi),t+=Bi.encode(r);while(i>0);return t};Wr.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=Bi.decode(e.charCodeAt(t++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(t-1));a=!!(l&Wi),l&=Gi,s=s+(l<<o),o+=Gr}while(a);r.value=Ya(s),r.rest=t}});var He=b($=>{function Xa(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=Xa;var ji=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Ka=/^data:.+\,.+$/;function wt(n){var e=n.match(ji);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}$.urlParse=wt;function Ve(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=Ve;var Ja=32;function Qa(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>Ja&&e.pop(),s}}var qr=Qa(function(e){var t=e,r=wt(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,Ve(r)):t});$.normalize=qr;function qi(n,e){n===""&&(n="."),e===""&&(e=".");var t=wt(e),r=wt(n);if(r&&(n=r.path||"/"),t&&!t.scheme)return r&&(t.scheme=r.scheme),Ve(t);if(t||e.match(Ka))return e;if(r&&!r.host&&!r.path)return r.host=e,Ve(r);var i=e.charAt(0)==="/"?e:qr(n.replace(/\/+$/,"")+"/"+e);return r?(r.path=i,Ve(r)):i}$.join=qi;$.isAbsolute=function(n){return n.charAt(0)==="/"||ji.test(n)};function ef(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=ef;var $i=(function(){var n=Object.create(null);return!("__proto__"in n)})();function Vi(n){return n}function tf(n){return Hi(n)?"$"+n:n}$.toSetString=$i?Vi:tf;function rf(n){return Hi(n)?n.slice(1):n}$.fromSetString=$i?Vi:rf;function Hi(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 nf(n,e,t){var r=ye(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:ye(n.name,e.name)}$.compareByOriginalPositions=nf;function sf(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:ye(n.name,e.name)}$.compareByOriginalPositionsNoSource=sf;function of(n,e,t){var r=n.generatedLine-e.generatedLine;return r!==0||(r=n.generatedColumn-e.generatedColumn,r!==0||t)||(r=ye(n.source,e.source),r!==0)||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0)?r:ye(n.name,e.name)}$.compareByGeneratedPositionsDeflated=of;function lf(n,e,t){var r=n.generatedColumn-e.generatedColumn;return r!==0||t||(r=ye(n.source,e.source),r!==0)||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0)?r:ye(n.name,e.name)}$.compareByGeneratedPositionsDeflatedNoLine=lf;function ye(n,e){return n===e?0:n===null?1:e===null?-1:n>e?1:-1}function af(n,e){var t=n.generatedLine-e.generatedLine;return t!==0||(t=n.generatedColumn-e.generatedColumn,t!==0)||(t=ye(n.source,e.source),t!==0)||(t=n.originalLine-e.originalLine,t!==0)||(t=n.originalColumn-e.originalColumn,t!==0)?t:ye(n.name,e.name)}$.compareByGeneratedPositionsInflated=af;function ff(n){return JSON.parse(n.replace(/^\)]}'[^\n]*\n/,""))}$.parseSourceMapInput=ff;function uf(n,e,t){if(e=e||"",n&&(n[n.length-1]!=="/"&&e[0]!=="/"&&(n+="/"),e=n+e),t){var r=wt(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=qi(Ve(r),e)}return qr(e)}$.computeSourceURL=uf});var Hr=b(Zi=>{var $r=He(),Vr=Object.prototype.hasOwnProperty,Ue=typeof Map<"u";function we(){this._array=[],this._set=Ue?new Map:Object.create(null)}we.fromArray=function(e,t){for(var r=new we,i=0,s=e.length;i<s;i++)r.add(e[i],t);return r};we.prototype.size=function(){return Ue?this._set.size:Object.getOwnPropertyNames(this._set).length};we.prototype.add=function(e,t){var r=Ue?e:$r.toSetString(e),i=Ue?this.has(e):Vr.call(this._set,r),s=this._array.length;(!i||t)&&this._array.push(e),i||(Ue?this._set.set(e,s):this._set[r]=s)};we.prototype.has=function(e){if(Ue)return this._set.has(e);var t=$r.toSetString(e);return Vr.call(this._set,t)};we.prototype.indexOf=function(e){if(Ue){var t=this._set.get(e);if(t>=0)return t}else{var r=$r.toSetString(e);if(Vr.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')};we.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};we.prototype.toArray=function(){return this._array.slice()};Zi.ArraySet=we});var Ki=b(Xi=>{var Yi=He();function cf(n,e){var t=n.generatedLine,r=e.generatedLine,i=n.generatedColumn,s=e.generatedColumn;return r>t||r==t&&s>=i||Yi.compareByGeneratedPositionsInflated(n,e)<=0}function Vt(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Vt.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)};Vt.prototype.add=function(e){cf(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};Vt.prototype.toArray=function(){return this._sorted||(this._array.sort(Yi.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Xi.MappingList=Vt});var Zr=b(Ji=>{var Et=jr(),j=He(),Ht=Hr().ArraySet,hf=Ki().MappingList;function ie(n){n||(n={}),this._file=j.getArg(n,"file",null),this._sourceRoot=j.getArg(n,"sourceRoot",null),this._skipValidation=j.getArg(n,"skipValidation",!1),this._ignoreInvalidMapping=j.getArg(n,"ignoreInvalidMapping",!1),this._sources=new Ht,this._names=new Ht,this._mappings=new hf,this._sourcesContents=null}ie.prototype._version=3;ie.fromSourceMap=function(e,t){var r=e.sourceRoot,i=new ie(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=j.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=j.relative(r,s)),i._sources.has(o)||i._sources.add(o);var a=e.sourceContentFor(s);a!=null&&i.setSourceContent(s,a)}),i};ie.prototype.addMapping=function(e){var t=j.getArg(e,"generated"),r=j.getArg(e,"original",null),i=j.getArg(e,"source",null),s=j.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}))};ie.prototype.setSourceContent=function(e,t){var r=e;this._sourceRoot!=null&&(r=j.relative(this._sourceRoot,r)),t!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[j.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[j.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};ie.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=j.relative(s,i));var o=new Ht,a=new Ht;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=j.join(r,l.source)),s!=null&&(l.source=j.relative(s,l.source)),l.originalLine=f.line,l.originalColumn=f.column,f.name!=null&&(l.name=f.name))}var u=l.source;u!=null&&!o.has(u)&&o.add(u);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=j.join(r,l)),s!=null&&(l=j.relative(s,l)),this.setSourceContent(l,f))},this)};ie.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)}};ie.prototype._serializeMappings=function(){for(var e=0,t=1,r=0,i=0,s=0,o=0,a="",l,f,u,h,c=this._mappings.toArray(),p=0,m=c.length;p<m;p++){if(f=c[p],l="",f.generatedLine!==t)for(e=0;f.generatedLine!==t;)l+=";",t++;else if(p>0){if(!j.compareByGeneratedPositionsInflated(f,c[p-1]))continue;l+=","}l+=Et.encode(f.generatedColumn-e),e=f.generatedColumn,f.source!=null&&(h=this._sources.indexOf(f.source),l+=Et.encode(h-o),o=h,l+=Et.encode(f.originalLine-1-i),i=f.originalLine-1,l+=Et.encode(f.originalColumn-r),r=f.originalColumn,f.name!=null&&(u=this._names.indexOf(f.name),l+=Et.encode(u-s),s=u)),a+=l}return a};ie.prototype._generateSourcesContent=function(e,t){return e.map(function(r){if(!this._sourcesContents)return null;t!=null&&(r=j.relative(t,r));var i=j.toSetString(r);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};ie.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};ie.prototype.toString=function(){return JSON.stringify(this.toJSON())};Ji.SourceMapGenerator=ie});var Qi=b(ke=>{ke.GREATEST_LOWER_BOUND=1;ke.LEAST_UPPER_BOUND=2;function Yr(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?Yr(o,e,t,r,i,s):s==ke.LEAST_UPPER_BOUND?e<r.length?e:-1:o:o-n>1?Yr(n,o,t,r,i,s):s==ke.LEAST_UPPER_BOUND?o:n<0?-1:n}ke.search=function(e,t,r,i){if(t.length===0)return-1;var s=Yr(-1,t.length,e,t,r,i||ke.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&r(t[s],t[s-1],!0)===0;)--s;return s}});var rs=b(ts=>{function pf(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 u=i[a],h=o;h<a;h++)s(i[h],u,!1)<=0&&(f+=1,e(i,f,h));e(i,f+1,h);var c=f+1;r(i,s,o,c-1),r(i,s,c+1,a)}}return r}function df(n){let e=pf.toString();return new Function(`return ${e}`)()(n)}var es=new WeakMap;ts.quickSort=function(n,e,t=0){let r=es.get(e);r===void 0&&(r=df(e),es.set(e,r)),r(n,e,t,n.length-1)}});var ss=b(Zt=>{var x=He(),Kr=Qi(),Ze=Hr().ArraySet,mf=jr(),St=rs().quickSort;function M(n,e){var t=n;return typeof n=="string"&&(t=x.parseSourceMapInput(n)),t.sections!=null?new pe(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,u=this._sources,h=this._sourceMapURL,c=0,p=o.length;c<p;c++){var m=o[c],d=m.source===null?null:u.at(m.source);d!==null&&(d=x.computeSourceURL(a,d,h)),l({source:d,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=x.getArg(e,"line"),r={source:x.getArg(e,"source"),originalLine:t,originalColumn:x.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",x.compareByOriginalPositions,Kr.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:x.getArg(o,"generatedLine",null),column:x.getArg(o,"generatedColumn",null),lastColumn:x.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s];else for(var l=o.originalColumn;o&&o.originalLine===t&&o.originalColumn==l;)i.push({line:x.getArg(o,"generatedLine",null),column:x.getArg(o,"generatedColumn",null),lastColumn:x.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s]}return i};Zt.SourceMapConsumer=M;function H(n,e){var t=n;typeof n=="string"&&(t=x.parseSourceMapInput(n));var r=x.getArg(t,"version"),i=x.getArg(t,"sources"),s=x.getArg(t,"names",[]),o=x.getArg(t,"sourceRoot",null),a=x.getArg(t,"sourcesContent",null),l=x.getArg(t,"mappings"),f=x.getArg(t,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);o&&(o=x.normalize(o)),i=i.map(String).map(x.normalize).map(function(u){return o&&x.isAbsolute(o)&&x.isAbsolute(u)?x.relative(o,u):u}),this._names=Ze.fromArray(s.map(String),!0),this._sources=Ze.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(u){return x.computeSourceURL(o,u,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=x.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=Ze.fromArray(e._names.toArray(),!0),s=r._sources=Ze.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(p){return x.computeSourceURL(r.sourceRoot,p,t)});for(var o=e._mappings.toArray().slice(),a=r.__generatedMappings=[],l=r.__originalMappings=[],f=0,u=o.length;f<u;f++){var h=o[f],c=new is;c.generatedLine=h.generatedLine,c.generatedColumn=h.generatedColumn,h.source&&(c.source=s.indexOf(h.source),c.originalLine=h.originalLine,c.originalColumn=h.originalColumn,h.name&&(c.name=i.indexOf(h.name)),l.push(c)),a.push(c)}return St(r.__originalMappings,x.compareByOriginalPositions),r};H.prototype._version=3;Object.defineProperty(H.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function is(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var Xr=x.compareByGeneratedPositionsDeflatedNoLine;function ns(n,e){let t=n.length,r=n.length-e;if(!(r<=1))if(r==2){let i=n[e],s=n[e+1];Xr(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(Xr(o,a)<=0)break;n[s-1]=a,n[s]=o}else St(n,Xr,e)}H.prototype._parseMappings=function(e,t){var r=1,i=0,s=0,o=0,a=0,l=0,f=e.length,u=0,h={},c={},p=[],m=[],d,_,S,w,L;let O=0;for(;u<f;)if(e.charAt(u)===";")r++,u++,i=0,ns(m,O),O=m.length;else if(e.charAt(u)===",")u++;else{for(d=new is,d.generatedLine=r,w=u;w<f&&!this._charIsMappingSeparator(e,w);w++);for(_=e.slice(u,w),S=[];u<w;)mf.decode(e,u,c),L=c.value,u=c.rest,S.push(L);if(S.length===2)throw new Error("Found a source, but no line and column");if(S.length===3)throw new Error("Found a source and line, but no column");if(d.generatedColumn=i+S[0],i=d.generatedColumn,S.length>1&&(d.source=a+S[1],a+=S[1],d.originalLine=s+S[2],s=d.originalLine,d.originalLine+=1,d.originalColumn=o+S[3],o=d.originalColumn,S.length>4&&(d.name=l+S[4],l+=S[4])),m.push(d),typeof d.originalLine=="number"){let T=d.source;for(;p.length<=T;)p.push(null);p[T]===null&&(p[T]=[]),p[T].push(d)}}ns(m,O),this.__generatedMappings=m;for(var R=0;R<p.length;R++)p[R]!=null&&St(p[R],x.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...p)};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 Kr.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:x.getArg(e,"line"),generatedColumn:x.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",x.compareByGeneratedPositionsDeflated,x.getArg(e,"bias",M.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===t.generatedLine){var s=x.getArg(i,"source",null);s!==null&&(s=this._sources.at(s),s=x.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var o=x.getArg(i,"name",null);return o!==null&&(o=this._names.at(o)),{source:s,line:x.getArg(i,"originalLine",null),column:x.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=x.relative(this.sourceRoot,i));var s;if(this.sourceRoot!=null&&(s=x.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=x.getArg(e,"source");if(t=this._findSourceIndex(t),t<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:x.getArg(e,"line"),originalColumn:x.getArg(e,"column")},i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",x.compareByOriginalPositions,x.getArg(e,"bias",M.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===r.source)return{line:x.getArg(s,"generatedLine",null),column:x.getArg(s,"generatedColumn",null),lastColumn:x.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};Zt.BasicSourceMapConsumer=H;function pe(n,e){var t=n;typeof n=="string"&&(t=x.parseSourceMapInput(n));var r=x.getArg(t,"version"),i=x.getArg(t,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new Ze,this._names=new Ze;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=x.getArg(o,"offset"),l=x.getArg(a,"line"),f=x.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(x.getArg(o,"map"),e)}})}pe.prototype=Object.create(M.prototype);pe.prototype.constructor=M;pe.prototype._version=3;Object.defineProperty(pe.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}});pe.prototype.originalPositionFor=function(e){var t={generatedLine:x.getArg(e,"line"),generatedColumn:x.getArg(e,"column")},r=Kr.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}};pe.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};pe.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.')};pe.prototype.generatedPositionFor=function(e){for(va