diff --git a/fittrackee/dist/index.html b/fittrackee/dist/index.html index 34f14139b..d9cac61fa 100644 --- a/fittrackee/dist/index.html +++ b/fittrackee/dist/index.html @@ -7,11 +7,11 @@
оборудване
auth
потребители
тренировки
${_a(t,!0)}
An error occurred:
"+_a(a.message+"",!0)+"
An err `)&&(i=i.replace(/[^\n]+$/,"")),!1}),i&&(i=i.replace(/\S/g,"")),i}rawColon(s){let i;return s.walkDecls(o=>{if(typeof o.raws.between<"u")return i=o.raws.between.replace(/[^\s:]/g,""),!1}),i}rawEmptyBody(s){let i;return s.walk(o=>{if(o.nodes&&o.nodes.length===0&&(i=o.raws.after,typeof i<"u"))return!1}),i}rawIndent(s){if(s.raws.indent)return s.raws.indent;let i;return s.walk(o=>{let r=o.parent;if(r&&r!==s&&r.parent&&r.parent===s&&typeof o.raws.before<"u"){let u=o.raws.before.split(` `);return i=u[u.length-1],i=i.replace(/\S/g,""),!1}}),i}rawSemicolon(s){let i;return s.walk(o=>{if(o.nodes&&o.nodes.length&&o.last.type==="decl"&&(i=o.raws.semicolon,typeof i<"u"))return!1}),i}rawValue(s,i){let o=s[i],r=s.raws[i];return r&&r.value===o?r.raw:o}root(s){this.body(s),s.raws.after&&this.builder(s.raws.after)}rule(s){this.block(s,this.rawValue(s,"selector")),s.raws.ownSemicolon&&this.builder(s.raws.ownSemicolon,s,"end")}stringify(s,i){if(!this[s.type])throw new Error("Unknown AST node type "+s.type+". Maybe you need to change PostCSS stringifier.");this[s.type](s,i)}}return wc=n,n.default=n,wc}var Mc,zf;function Ll(){if(zf)return Mc;zf=1;let e=mO();function t(n,a){new e(a).stringify(n)}return Mc=t,t.default=t,Mc}var yr={},xf;function yp(){return xf||(xf=1,yr.isClean=Symbol("isClean"),yr.my=Symbol("my")),yr}var Wc,Bf;function yl(){if(Bf)return Wc;Bf=1;let e=Lp(),t=mO(),n=Ll(),{isClean:a,my:s}=yp();function i(u,l){let d=new u.constructor;for(let E in u){if(!Object.prototype.hasOwnProperty.call(u,E)||E==="proxyCache")continue;let c=u[E],T=typeof c;E==="parent"&&T==="object"?l&&(d[E]=l):E==="source"?d[E]=c:Array.isArray(c)?d[E]=c.map(_=>i(_,d)):(T==="object"&&c!==null&&(c=i(c)),d[E]=c)}return d}function o(u,l){if(l&&typeof l.offset<"u")return l.offset;let d=1,E=1,c=0;for(let T=0;Tl.root().toProxy():l[d]},set(l,d,E){return l[d]===E||(l[d]=E,(d==="prop"||d==="value"||d==="name"||d==="params"||d==="important"||d==="text")&&l.markDirty()),!0}}}markClean(){this[a]=!0}markDirty(){if(this[a]){this[a]=!1;let l=this;for(;l=l.parent;)l[a]=!1}}next(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l+1]}positionBy(l){let d=this.source.start;if(l.index)d=this.positionInside(l.index);else if(l.word){let c=this.source.input.css.slice(o(this.source.input.css,this.source.start),o(this.source.input.css,this.source.end)).indexOf(l.word);c!==-1&&(d=this.positionInside(c))}return d}positionInside(l){let d=this.source.start.column,E=this.source.start.line,c=o(this.source.input.css,this.source.start),T=c+l;for(let _=c;_typeof O=="object"&&O.toJSON?O.toJSON(null,d):O);else if(typeof f=="object"&&f.toJSON)E[_]=f.toJSON(null,d);else if(_==="source"){let O=d.get(f.input);O==null&&(O=T,d.set(f.input,T),T++),E[_]={end:f.end,inputId:O,start:f.start}}else E[_]=f}return c&&(E.inputs=[...d.keys()].map(_=>_.toJSON())),E}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(l=n){l.stringify&&(l=l.stringify);let d="";return l(this,E=>{d+=E}),d}warn(l,d,E){let c={node:this};for(let T in E)c[T]=E[T];return l.warn(d,c)}get proxyOf(){return this}}return Wc=r,r.default=r,Wc}var Fc,Gf;function $l(){if(Gf)return Fc;Gf=1;let e=yl();class t extends e{constructor(a){super(a),this.type="comment"}}return Fc=t,t.default=t,Fc}var zc,Vf;function Ul(){if(Vf)return zc;Vf=1;let e=yl();class t extends e{constructor(a){a&&typeof a.value<"u"&&typeof a.value!="string"&&(a={...a,value:String(a.value)}),super(a),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}return zc=t,t.default=t,zc}var xc,Hf;function Ks(){if(Hf)return xc;Hf=1;let e=$l(),t=Ul(),n=yl(),{isClean:a,my:s}=yp(),i,o,r,u;function l(c){return c.map(T=>(T.nodes&&(T.nodes=l(T.nodes)),delete T.source,T))}function d(c){if(c[a]=!1,c.proxyOf.nodes)for(let T of c.proxyOf.nodes)d(T)}class E extends n{append(...T){for(let _ of T){let f=this.normalize(_,this.last);for(let O of f)this.proxyOf.nodes.push(O)}return this.markDirty(),this}cleanRaws(T){if(super.cleanRaws(T),this.nodes)for(let _ of this.nodes)_.cleanRaws(T)}each(T){if(!this.proxyOf.nodes)return;let _=this.getIterator(),f,O;for(;this.indexes[_]T[_](...f.map(O=>typeof O=="function"?(A,R)=>O(A.toProxy(),R):O)):_==="every"||_==="some"?f=>T[_]((O,...A)=>f(O.toProxy(),...A)):_==="root"?()=>T.root().toProxy():_==="nodes"?T.nodes.map(f=>f.toProxy()):_==="first"||_==="last"?T[_].toProxy():T[_]:T[_]},set(T,_,f){return T[_]===f||(T[_]=f,(_==="name"||_==="params"||_==="selector")&&T.markDirty()),!0}}}index(T){return typeof T=="number"?T:(T.proxyOf&&(T=T.proxyOf),this.proxyOf.nodes.indexOf(T))}insertAfter(T,_){let f=this.index(T),O=this.normalize(_,this.proxyOf.nodes[f]).reverse();f=this.index(T);for(let R of O)this.proxyOf.nodes.splice(f+1,0,R);let A;for(let R in this.indexes)A=this.indexes[R],f"u")T=[];else if(Array.isArray(T)){T=T.slice(0);for(let O of T)O.parent&&O.parent.removeChild(O,"ignore")}else if(T.type==="root"&&this.type!=="document"){T=T.nodes.slice(0);for(let O of T)O.parent&&O.parent.removeChild(O,"ignore")}else if(T.type)T=[T];else if(T.prop){if(typeof T.value>"u")throw new Error("Value field is missed in node creation");typeof T.value!="string"&&(T.value=String(T.value)),T=[new t(T)]}else if(T.selector||T.selectors)T=[new u(T)];else if(T.name)T=[new i(T)];else if(T.text)T=[new e(T)];else throw new Error("Unknown node type in node creation");return T.map(O=>(O[s]||E.rebuild(O),O=O.proxyOf,O.parent&&O.parent.removeChild(O),O[a]&&d(O),O.raws||(O.raws={}),typeof O.raws.before>"u"&&_&&typeof _.raws.before<"u"&&(O.raws.before=_.raws.before.replace(/\S/g,"")),O.parent=this.proxyOf,O))}prepend(...T){T=T.reverse();for(let _ of T){let f=this.normalize(_,this.first,"prepend").reverse();for(let O of f)this.proxyOf.nodes.unshift(O);for(let O in this.indexes)this.indexes[O]=this.indexes[O]+f.length}return this.markDirty(),this}push(T){return T.parent=this,this.proxyOf.nodes.push(T),this}removeAll(){for(let T of this.proxyOf.nodes)T.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(T){T=this.index(T),this.proxyOf.nodes[T].parent=void 0,this.proxyOf.nodes.splice(T,1);let _;for(let f in this.indexes)_=this.indexes[f],_>=T&&(this.indexes[f]=_-1);return this.markDirty(),this}replaceValues(T,_,f){return f||(f=_,_={}),this.walkDecls(O=>{_.props&&!_.props.includes(O.prop)||_.fast&&!O.value.includes(_.fast)||(O.value=O.value.replace(T,f))}),this.markDirty(),this}some(T){return this.nodes.some(T)}walk(T){return this.each((_,f)=>{let O;try{O=T(_,f)}catch(A){throw _.addToError(A)}return O!==!1&&_.walk&&(O=_.walk(T)),O})}walkAtRules(T,_){return _?T instanceof RegExp?this.walk((f,O)=>{if(f.type==="atrule"&&T.test(f.name))return _(f,O)}):this.walk((f,O)=>{if(f.type==="atrule"&&f.name===T)return _(f,O)}):(_=T,this.walk((f,O)=>{if(f.type==="atrule")return _(f,O)}))}walkComments(T){return this.walk((_,f)=>{if(_.type==="comment")return T(_,f)})}walkDecls(T,_){return _?T instanceof RegExp?this.walk((f,O)=>{if(f.type==="decl"&&T.test(f.prop))return _(f,O)}):this.walk((f,O)=>{if(f.type==="decl"&&f.prop===T)return _(f,O)}):(_=T,this.walk((f,O)=>{if(f.type==="decl")return _(f,O)}))}walkRules(T,_){return _?T instanceof RegExp?this.walk((f,O)=>{if(f.type==="rule"&&T.test(f.selector))return _(f,O)}):this.walk((f,O)=>{if(f.type==="rule"&&f.selector===T)return _(f,O)}):(_=T,this.walk((f,O)=>{if(f.type==="rule")return _(f,O)}))}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]}}return E.registerParse=c=>{o=c},E.registerRule=c=>{u=c},E.registerAtRule=c=>{i=c},E.registerRoot=c=>{r=c},xc=E,E.default=E,E.rebuild=c=>{c.type==="atrule"?Object.setPrototypeOf(c,i.prototype):c.type==="rule"?Object.setPrototypeOf(c,u.prototype):c.type==="decl"?Object.setPrototypeOf(c,t.prototype):c.type==="comment"?Object.setPrototypeOf(c,e.prototype):c.type==="root"&&Object.setPrototypeOf(c,r.prototype),c[s]=!0,c.nodes&&c.nodes.forEach(T=>{E.rebuild(T)})},xc}var Bc,Kf;function $p(){if(Kf)return Bc;Kf=1;let e=Ks();class t extends e{constructor(a){super(a),this.type="atrule"}append(...a){return this.proxyOf.nodes||(this.nodes=[]),super.append(...a)}prepend(...a){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...a)}}return Bc=t,t.default=t,e.registerAtRule(t),Bc}var Gc,qf;function Up(){if(qf)return Gc;qf=1;let e=Ks(),t,n;class a extends e{constructor(i){super({type:"document",...i}),this.nodes||(this.nodes=[])}toResult(i={}){return new t(new n,this,i).stringify()}}return a.registerLazyResult=s=>{t=s},a.registerProcessor=s=>{n=s},Gc=a,a.default=a,Gc}var Vc,jf;function BVe(){if(jf)return Vc;jf=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return Vc={nanoid:(a=21)=>{let s="",i=a|0;for(;i--;)s+=e[Math.random()*64|0];return s},customAlphabet:(a,s=21)=>(i=s)=>{let o="",r=i|0;for(;r--;)o+=a[Math.random()*a.length|0];return o}},Vc}var Hc,Yf;function _O(){if(Yf)return Hc;Yf=1;let{existsSync:e,readFileSync:t}=Jn,{dirname:n,join:a}=Jn,{SourceMapConsumer:s,SourceMapGenerator:i}=Jn;function o(u){return Buffer?Buffer.from(u,"base64").toString():window.atob(u)}class r{constructor(l,d){if(d.map===!1)return;this.loadAnnotation(l),this.inline=this.startWith(this.annotation,"data:");let E=d.map?d.map.prev:void 0,c=this.loadMap(d.from,E);!this.mapFile&&d.from&&(this.mapFile=d.from),this.mapFile&&(this.root=n(this.mapFile)),c&&(this.text=c)}consumer(){return this.consumerCache||(this.consumerCache=new s(this.text)),this.consumerCache}decodeInline(l){let d=/^data:application\/json;charset=utf-?8;base64,/,E=/^data:application\/json;base64,/,c=/^data:application\/json;charset=utf-?8,/,T=/^data:application\/json,/,_=l.match(c)||l.match(T);if(_)return decodeURIComponent(l.substr(_[0].length));let f=l.match(d)||l.match(E);if(f)return o(l.substr(f[0].length));let O=l.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+O)}getAnnotationURL(l){return l.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(l){return typeof l!="object"?!1:typeof l.mappings=="string"||typeof l._mappings=="string"||Array.isArray(l.sections)}loadAnnotation(l){let d=l.match(/\/\*\s*# sourceMappingURL=/g);if(!d)return;let E=l.lastIndexOf(d.pop()),c=l.indexOf("*/",E);E>-1&&c>-1&&(this.annotation=this.getAnnotationURL(l.substring(E,c)))}loadFile(l){if(this.root=n(l),e(l))return this.mapFile=l,t(l,"utf-8").toString().trim()}loadMap(l,d){if(d===!1)return!1;if(d){if(typeof d=="string")return d;if(typeof d=="function"){let E=d(l);if(E){let c=this.loadFile(E);if(!c)throw new Error("Unable to load previous source map: "+E.toString());return c}}else{if(d instanceof s)return i.fromSourceMap(d).toString();if(d instanceof i)return d.toString();if(this.isMap(d))return JSON.stringify(d);throw new Error("Unsupported previous source map format: "+d.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let E=this.annotation;return l&&(E=a(n(l),E)),this.loadFile(E)}}}startWith(l,d){return l?l.substr(0,d.length)===d:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Hc=r,r.default=r,Hc}var Kc,Xf;function kl(){if(Xf)return Kc;Xf=1;let{nanoid:e}=BVe(),{isAbsolute:t,resolve:n}=Jn,{SourceMapConsumer:a,SourceMapGenerator:s}=Jn,{fileURLToPath:i,pathToFileURL:o}=Jn,r=Lp(),u=_O(),l=Jn,d=Symbol("fromOffsetCache"),E=!!(a&&s),c=!!(n&&t);class T{constructor(f,O={}){if(f===null||typeof f>"u"||typeof f=="object"&&!f.toString)throw new Error(`PostCSS received ${f} instead of CSS string`);if(this.css=f.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,O.from&&(!c||/^\w+:\/\//.test(O.from)||t(O.from)?this.file=O.from:this.file=n(O.from)),c&&E){let A=new u(this.css,O);if(A.text){this.map=A;let R=A.consumer().file;!this.file&&R&&(this.file=this.mapResolve(R))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(f,O,A,R={}){let g,I,N;if(O&&typeof O=="object"){let b=O,U=A;if(typeof b.offset=="number"){let D=this.fromOffset(b.offset);O=D.line,A=D.col}else O=b.line,A=b.column;if(typeof U.offset=="number"){let D=this.fromOffset(U.offset);I=D.line,g=D.col}else I=U.line,g=U.column}else if(!A){let b=this.fromOffset(O);O=b.line,A=b.col}let C=this.origin(O,A,I,g);return C?N=new r(f,C.endLine===void 0?C.line:{column:C.column,line:C.line},C.endLine===void 0?C.column:{column:C.endColumn,line:C.endLine},C.source,C.file,R.plugin):N=new r(f,I===void 0?O:{column:A,line:O},I===void 0?A:{column:g,line:I},this.css,this.file,R.plugin),N.input={column:A,endColumn:g,endLine:I,line:O,source:this.css},this.file&&(o&&(N.input.url=o(this.file).toString()),N.input.file=this.file),N}fromOffset(f){let O,A;if(this[d])A=this[d];else{let g=this.css.split(` -`);A=new Array(g.length);let I=0;for(let N=0,C=g.length;N=O)R=A.length-1;else{let g=A.length-2,I;for(;R>1),f=A[I+1])R=I+1;else{R=I;break}}return{col:f-A[R]+1,line:R+1}}mapResolve(f){return/^\w+:\/\//.test(f)?f:n(this.map.consumer().sourceRoot||this.map.root||".",f)}origin(f,O,A,R){if(!this.map)return!1;let g=this.map.consumer(),I=g.originalPositionFor({column:O,line:f});if(!I.source)return!1;let N;typeof A=="number"&&(N=g.originalPositionFor({column:R,line:A}));let C;t(I.source)?C=o(I.source):C=new URL(I.source,this.map.consumer().sourceRoot||o(this.map.mapFile));let b={column:I.column,endColumn:N&&N.column,endLine:N&&N.line,line:I.line,url:C.toString()};if(C.protocol==="file:")if(i)b.file=i(C);else throw new Error("file: protocol is not available in this PostCSS build");let U=g.sourceContentFor(I.source);return U&&(b.source=U),b}toJSON(){let f={};for(let O of["hasBOM","css","file","id"])this[O]!=null&&(f[O]=this[O]);return this.map&&(f.map={...this.map},f.map.consumerCache&&(f.map.consumerCache=void 0)),f}get from(){return this.file||this.id}}return Kc=T,T.default=T,l&&l.registerInput&&l.registerInput(T),Kc}var qc,Qf;function lr(){if(Qf)return qc;Qf=1;let e=Ks(),t,n;class a extends e{constructor(i){super(i),this.type="root",this.nodes||(this.nodes=[])}normalize(i,o,r){let u=super.normalize(i);if(o){if(r==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(let l of u)l.raws.before=o.raws.before}return u}removeChild(i,o){let r=this.index(i);return!o&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(i)}toResult(i={}){return new t(new n,this,i).stringify()}}return a.registerLazyResult=s=>{t=s},a.registerProcessor=s=>{n=s},qc=a,a.default=a,e.registerRoot(a),qc}var jc,Zf;function fO(){if(Zf)return jc;Zf=1;let e={comma(t){return e.split(t,[","],!0)},space(t){let n=[" ",` +`?(d=1,E+=1):d+=1;return{column:d,line:E}}prev(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l-1]}rangeBy(l){let d={column:this.source.start.column,line:this.source.start.line},E=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:d.column+1,line:d.line};if(l.word){let T=this.source.input.css.slice(o(this.source.input.css,this.source.start),o(this.source.input.css,this.source.end)).indexOf(l.word);T!==-1&&(d=this.positionInside(T),E=this.positionInside(T+l.word.length))}else l.start?d={column:l.start.column,line:l.start.line}:l.index&&(d=this.positionInside(l.index)),l.end?E={column:l.end.column,line:l.end.line}:typeof l.endIndex=="number"?E=this.positionInside(l.endIndex):l.index&&(E=this.positionInside(l.index+1));return(E.linetypeof O=="object"&&O.toJSON?O.toJSON(null,d):O);else if(typeof f=="object"&&f.toJSON)E[_]=f.toJSON(null,d);else if(_==="source"){let O=d.get(f.input);O==null&&(O=T,d.set(f.input,T),T++),E[_]={end:f.end,inputId:O,start:f.start}}else E[_]=f}return c&&(E.inputs=[...d.keys()].map(_=>_.toJSON())),E}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(l=n){l.stringify&&(l=l.stringify);let d="";return l(this,E=>{d+=E}),d}warn(l,d,E){let c={node:this};for(let T in E)c[T]=E[T];return l.warn(d,c)}get proxyOf(){return this}}return Wc=r,r.default=r,Wc}var Fc,Gf;function $l(){if(Gf)return Fc;Gf=1;let e=yl();class t extends e{constructor(a){super(a),this.type="comment"}}return Fc=t,t.default=t,Fc}var zc,Vf;function Ul(){if(Vf)return zc;Vf=1;let e=yl();class t extends e{constructor(a){a&&typeof a.value<"u"&&typeof a.value!="string"&&(a={...a,value:String(a.value)}),super(a),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}return zc=t,t.default=t,zc}var xc,Hf;function Ks(){if(Hf)return xc;Hf=1;let e=$l(),t=Ul(),n=yl(),{isClean:a,my:s}=yp(),i,o,r,u;function l(c){return c.map(T=>(T.nodes&&(T.nodes=l(T.nodes)),delete T.source,T))}function d(c){if(c[a]=!1,c.proxyOf.nodes)for(let T of c.proxyOf.nodes)d(T)}class E extends n{append(...T){for(let _ of T){let f=this.normalize(_,this.last);for(let O of f)this.proxyOf.nodes.push(O)}return this.markDirty(),this}cleanRaws(T){if(super.cleanRaws(T),this.nodes)for(let _ of this.nodes)_.cleanRaws(T)}each(T){if(!this.proxyOf.nodes)return;let _=this.getIterator(),f,O;for(;this.indexes[_]T[_](...f.map(O=>typeof O=="function"?(A,R)=>O(A.toProxy(),R):O)):_==="every"||_==="some"?f=>T[_]((O,...A)=>f(O.toProxy(),...A)):_==="root"?()=>T.root().toProxy():_==="nodes"?T.nodes.map(f=>f.toProxy()):_==="first"||_==="last"?T[_].toProxy():T[_]:T[_]},set(T,_,f){return T[_]===f||(T[_]=f,(_==="name"||_==="params"||_==="selector")&&T.markDirty()),!0}}}index(T){return typeof T=="number"?T:(T.proxyOf&&(T=T.proxyOf),this.proxyOf.nodes.indexOf(T))}insertAfter(T,_){let f=this.index(T),O=this.normalize(_,this.proxyOf.nodes[f]).reverse();f=this.index(T);for(let R of O)this.proxyOf.nodes.splice(f+1,0,R);let A;for(let R in this.indexes)A=this.indexes[R],f"u")T=[];else if(Array.isArray(T)){T=T.slice(0);for(let O of T)O.parent&&O.parent.removeChild(O,"ignore")}else if(T.type==="root"&&this.type!=="document"){T=T.nodes.slice(0);for(let O of T)O.parent&&O.parent.removeChild(O,"ignore")}else if(T.type)T=[T];else if(T.prop){if(typeof T.value>"u")throw new Error("Value field is missed in node creation");typeof T.value!="string"&&(T.value=String(T.value)),T=[new t(T)]}else if(T.selector||T.selectors)T=[new u(T)];else if(T.name)T=[new i(T)];else if(T.text)T=[new e(T)];else throw new Error("Unknown node type in node creation");return T.map(O=>(O[s]||E.rebuild(O),O=O.proxyOf,O.parent&&O.parent.removeChild(O),O[a]&&d(O),O.raws||(O.raws={}),typeof O.raws.before>"u"&&_&&typeof _.raws.before<"u"&&(O.raws.before=_.raws.before.replace(/\S/g,"")),O.parent=this.proxyOf,O))}prepend(...T){T=T.reverse();for(let _ of T){let f=this.normalize(_,this.first,"prepend").reverse();for(let O of f)this.proxyOf.nodes.unshift(O);for(let O in this.indexes)this.indexes[O]=this.indexes[O]+f.length}return this.markDirty(),this}push(T){return T.parent=this,this.proxyOf.nodes.push(T),this}removeAll(){for(let T of this.proxyOf.nodes)T.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(T){T=this.index(T),this.proxyOf.nodes[T].parent=void 0,this.proxyOf.nodes.splice(T,1);let _;for(let f in this.indexes)_=this.indexes[f],_>=T&&(this.indexes[f]=_-1);return this.markDirty(),this}replaceValues(T,_,f){return f||(f=_,_={}),this.walkDecls(O=>{_.props&&!_.props.includes(O.prop)||_.fast&&!O.value.includes(_.fast)||(O.value=O.value.replace(T,f))}),this.markDirty(),this}some(T){return this.nodes.some(T)}walk(T){return this.each((_,f)=>{let O;try{O=T(_,f)}catch(A){throw _.addToError(A)}return O!==!1&&_.walk&&(O=_.walk(T)),O})}walkAtRules(T,_){return _?T instanceof RegExp?this.walk((f,O)=>{if(f.type==="atrule"&&T.test(f.name))return _(f,O)}):this.walk((f,O)=>{if(f.type==="atrule"&&f.name===T)return _(f,O)}):(_=T,this.walk((f,O)=>{if(f.type==="atrule")return _(f,O)}))}walkComments(T){return this.walk((_,f)=>{if(_.type==="comment")return T(_,f)})}walkDecls(T,_){return _?T instanceof RegExp?this.walk((f,O)=>{if(f.type==="decl"&&T.test(f.prop))return _(f,O)}):this.walk((f,O)=>{if(f.type==="decl"&&f.prop===T)return _(f,O)}):(_=T,this.walk((f,O)=>{if(f.type==="decl")return _(f,O)}))}walkRules(T,_){return _?T instanceof RegExp?this.walk((f,O)=>{if(f.type==="rule"&&T.test(f.selector))return _(f,O)}):this.walk((f,O)=>{if(f.type==="rule"&&f.selector===T)return _(f,O)}):(_=T,this.walk((f,O)=>{if(f.type==="rule")return _(f,O)}))}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]}}return E.registerParse=c=>{o=c},E.registerRule=c=>{u=c},E.registerAtRule=c=>{i=c},E.registerRoot=c=>{r=c},xc=E,E.default=E,E.rebuild=c=>{c.type==="atrule"?Object.setPrototypeOf(c,i.prototype):c.type==="rule"?Object.setPrototypeOf(c,u.prototype):c.type==="decl"?Object.setPrototypeOf(c,t.prototype):c.type==="comment"?Object.setPrototypeOf(c,e.prototype):c.type==="root"&&Object.setPrototypeOf(c,r.prototype),c[s]=!0,c.nodes&&c.nodes.forEach(T=>{E.rebuild(T)})},xc}var Bc,Kf;function $p(){if(Kf)return Bc;Kf=1;let e=Ks();class t extends e{constructor(a){super(a),this.type="atrule"}append(...a){return this.proxyOf.nodes||(this.nodes=[]),super.append(...a)}prepend(...a){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...a)}}return Bc=t,t.default=t,e.registerAtRule(t),Bc}var Gc,qf;function Up(){if(qf)return Gc;qf=1;let e=Ks(),t,n;class a extends e{constructor(i){super({type:"document",...i}),this.nodes||(this.nodes=[])}toResult(i={}){return new t(new n,this,i).stringify()}}return a.registerLazyResult=s=>{t=s},a.registerProcessor=s=>{n=s},Gc=a,a.default=a,Gc}var Vc,jf;function BVe(){if(jf)return Vc;jf=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return Vc={nanoid:(a=21)=>{let s="",i=a|0;for(;i--;)s+=e[Math.random()*64|0];return s},customAlphabet:(a,s=21)=>(i=s)=>{let o="",r=i|0;for(;r--;)o+=a[Math.random()*a.length|0];return o}},Vc}var Hc,Yf;function _O(){if(Yf)return Hc;Yf=1;let{existsSync:e,readFileSync:t}=Jn,{dirname:n,join:a}=Jn,{SourceMapConsumer:s,SourceMapGenerator:i}=Jn;function o(u){return Buffer?Buffer.from(u,"base64").toString():window.atob(u)}class r{constructor(l,d){if(d.map===!1)return;this.loadAnnotation(l),this.inline=this.startWith(this.annotation,"data:");let E=d.map?d.map.prev:void 0,c=this.loadMap(d.from,E);!this.mapFile&&d.from&&(this.mapFile=d.from),this.mapFile&&(this.root=n(this.mapFile)),c&&(this.text=c)}consumer(){return this.consumerCache||(this.consumerCache=new s(this.text)),this.consumerCache}decodeInline(l){let d=/^data:application\/json;charset=utf-?8;base64,/,E=/^data:application\/json;base64,/,c=/^data:application\/json;charset=utf-?8,/,T=/^data:application\/json,/,_=l.match(c)||l.match(T);if(_)return decodeURIComponent(l.substr(_[0].length));let f=l.match(d)||l.match(E);if(f)return o(l.substr(f[0].length));let O=l.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+O)}getAnnotationURL(l){return l.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(l){return typeof l!="object"?!1:typeof l.mappings=="string"||typeof l._mappings=="string"||Array.isArray(l.sections)}loadAnnotation(l){let d=l.match(/\/\*\s*# sourceMappingURL=/g);if(!d)return;let E=l.lastIndexOf(d.pop()),c=l.indexOf("*/",E);E>-1&&c>-1&&(this.annotation=this.getAnnotationURL(l.substring(E,c)))}loadFile(l){if(this.root=n(l),e(l))return this.mapFile=l,t(l,"utf-8").toString().trim()}loadMap(l,d){if(d===!1)return!1;if(d){if(typeof d=="string")return d;if(typeof d=="function"){let E=d(l);if(E){let c=this.loadFile(E);if(!c)throw new Error("Unable to load previous source map: "+E.toString());return c}}else{if(d instanceof s)return i.fromSourceMap(d).toString();if(d instanceof i)return d.toString();if(this.isMap(d))return JSON.stringify(d);throw new Error("Unsupported previous source map format: "+d.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let E=this.annotation;return l&&(E=a(n(l),E)),this.loadFile(E)}}}startWith(l,d){return l?l.substr(0,d.length)===d:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Hc=r,r.default=r,Hc}var Kc,Xf;function kl(){if(Xf)return Kc;Xf=1;let{nanoid:e}=BVe(),{isAbsolute:t,resolve:n}=Jn,{SourceMapConsumer:a,SourceMapGenerator:s}=Jn,{fileURLToPath:i,pathToFileURL:o}=Jn,r=Lp(),u=_O(),l=Jn,d=Symbol("fromOffsetCache"),E=!!(a&&s),c=!!(n&&t);class T{constructor(f,O={}){if(f===null||typeof f>"u"||typeof f=="object"&&!f.toString)throw new Error(`PostCSS received ${f} instead of CSS string`);if(this.css=f.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,O.from&&(!c||/^\w+:\/\//.test(O.from)||t(O.from)?this.file=O.from:this.file=n(O.from)),c&&E){let A=new u(this.css,O);if(A.text){this.map=A;let R=A.consumer().file;!this.file&&R&&(this.file=this.mapResolve(R))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(f,O,A,R={}){let g,I,N;if(O&&typeof O=="object"){let C=O,y=A;if(typeof C.offset=="number"){let D=this.fromOffset(C.offset);O=D.line,A=D.col}else O=C.line,A=C.column;if(typeof y.offset=="number"){let D=this.fromOffset(y.offset);I=D.line,g=D.col}else I=y.line,g=y.column}else if(!A){let C=this.fromOffset(O);O=C.line,A=C.col}let b=this.origin(O,A,I,g);return b?N=new r(f,b.endLine===void 0?b.line:{column:b.column,line:b.line},b.endLine===void 0?b.column:{column:b.endColumn,line:b.endLine},b.source,b.file,R.plugin):N=new r(f,I===void 0?O:{column:A,line:O},I===void 0?A:{column:g,line:I},this.css,this.file,R.plugin),N.input={column:A,endColumn:g,endLine:I,line:O,source:this.css},this.file&&(o&&(N.input.url=o(this.file).toString()),N.input.file=this.file),N}fromOffset(f){let O,A;if(this[d])A=this[d];else{let g=this.css.split(` +`);A=new Array(g.length);let I=0;for(let N=0,b=g.length;N=O)R=A.length-1;else{let g=A.length-2,I;for(;R>1),f=A[I+1])R=I+1;else{R=I;break}}return{col:f-A[R]+1,line:R+1}}mapResolve(f){return/^\w+:\/\//.test(f)?f:n(this.map.consumer().sourceRoot||this.map.root||".",f)}origin(f,O,A,R){if(!this.map)return!1;let g=this.map.consumer(),I=g.originalPositionFor({column:O,line:f});if(!I.source)return!1;let N;typeof A=="number"&&(N=g.originalPositionFor({column:R,line:A}));let b;t(I.source)?b=o(I.source):b=new URL(I.source,this.map.consumer().sourceRoot||o(this.map.mapFile));let C={column:I.column,endColumn:N&&N.column,endLine:N&&N.line,line:I.line,url:b.toString()};if(b.protocol==="file:")if(i)C.file=i(b);else throw new Error("file: protocol is not available in this PostCSS build");let y=g.sourceContentFor(I.source);return y&&(C.source=y),C}toJSON(){let f={};for(let O of["hasBOM","css","file","id"])this[O]!=null&&(f[O]=this[O]);return this.map&&(f.map={...this.map},f.map.consumerCache&&(f.map.consumerCache=void 0)),f}get from(){return this.file||this.id}}return Kc=T,T.default=T,l&&l.registerInput&&l.registerInput(T),Kc}var qc,Qf;function lr(){if(Qf)return qc;Qf=1;let e=Ks(),t,n;class a extends e{constructor(i){super(i),this.type="root",this.nodes||(this.nodes=[])}normalize(i,o,r){let u=super.normalize(i);if(o){if(r==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(let l of u)l.raws.before=o.raws.before}return u}removeChild(i,o){let r=this.index(i);return!o&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(i)}toResult(i={}){return new t(new n,this,i).stringify()}}return a.registerLazyResult=s=>{t=s},a.registerProcessor=s=>{n=s},qc=a,a.default=a,e.registerRoot(a),qc}var jc,Zf;function fO(){if(Zf)return jc;Zf=1;let e={comma(t){return e.split(t,[","],!0)},space(t){let n=[" ",` `," "];return e.split(t,n)},split(t,n,a){let s=[],i="",o=!1,r=0,u=!1,l="",d=!1;for(let E of t)d?d=!1:E==="\\"?d=!0:u?E===l&&(u=!1):E==='"'||E==="'"?(u=!0,l=E):E==="("?r+=1:E===")"?r>0&&(r-=1):r===0&&n.includes(E)&&(o=!0),o?(i!==""&&s.push(i.trim()),i="",o=!1):i+=E;return(a||i!=="")&&s.push(i.trim()),s}};return jc=e,e.default=e,jc}var Yc,Jf;function kp(){if(Jf)return Yc;Jf=1;let e=Ks(),t=fO();class n extends e{constructor(s){super(s),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return t.comma(this.selector)}set selectors(s){let i=this.selector?this.selector.match(/,\s*/):null,o=i?i[0]:","+this.raw("between","beforeOpen");this.selector=s.join(o)}}return Yc=n,n.default=n,e.registerRule(n),Yc}var Xc,eh;function GVe(){if(eh)return Xc;eh=1;let e=$p(),t=$l(),n=Ul(),a=kl(),s=_O(),i=lr(),o=kp();function r(u,l){if(Array.isArray(u))return u.map(c=>r(c));let{inputs:d,...E}=u;if(d){l=[];for(let c of d){let T={...c,__proto__:a.prototype};T.map&&(T.map={...T.map,__proto__:s.prototype}),l.push(T)}}if(E.nodes&&(E.nodes=u.nodes.map(c=>r(c,l))),E.source){let{inputId:c,...T}=E.source;E.source=T,c!=null&&(E.source.input=l[c])}if(E.type==="root")return new i(E);if(E.type==="decl")return new n(E);if(E.type==="rule")return new o(E);if(E.type==="comment")return new t(E);if(E.type==="atrule")return new e(E);throw new Error("Unknown node type: "+u.type)}return Xc=r,r.default=r,Xc}var Qc,th;function hO(){if(th)return Qc;th=1;let{dirname:e,relative:t,resolve:n,sep:a}=Jn,{SourceMapConsumer:s,SourceMapGenerator:i}=Jn,{pathToFileURL:o}=Jn,r=kl(),u=!!(s&&i),l=!!(e&&n&&t&&a);class d{constructor(c,T,_,f){this.stringify=c,this.mapOpts=_.map||{},this.root=T,this.opts=_,this.css=f,this.originalCSS=f,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let c;this.isInline()?c="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?c=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?c=this.mapOpts.annotation(this.opts.to,this.root):c=this.outputFile()+".map";let T=` `;this.css.includes(`\r `)&&(T=`\r `),this.css+=T+"/*# sourceMappingURL="+c+" */"}applyPrevMaps(){for(let c of this.previous()){let T=this.toUrl(this.path(c.file)),_=c.root||e(c.file),f;this.mapOpts.sourcesContent===!1?(f=new s(c.text),f.sourcesContent&&(f.sourcesContent=null)):f=c.consumer(),this.map.applySourceMap(f,T,this.toUrl(this.path(_)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let c;for(let T=this.root.nodes.length-1;T>=0;T--)c=this.root.nodes[T],c.type==="comment"&&c.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(T)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),l&&u&&this.isMap())return this.generateMap();{let c="";return this.stringify(this.root,T=>{c+=T}),[c]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let c=this.previous()[0].consumer();c.file=this.outputFile(),this.map=i.fromSourceMap(c,{ignoreInvalidMapping:!0})}else this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0});let c=1,T=1,_="",f={generated:{column:0,line:0},original:{column:0,line:0},source:""},O,A;this.stringify(this.root,(R,g,I)=>{if(this.css+=R,g&&I!=="end"&&(f.generated.line=c,f.generated.column=T-1,g.source&&g.source.start?(f.source=this.sourcePath(g),f.original.line=g.source.start.line,f.original.column=g.source.start.column-1,this.map.addMapping(f)):(f.source=_,f.original.line=1,f.original.column=0,this.map.addMapping(f))),A=R.match(/\n/g),A?(c+=A.length,O=R.lastIndexOf(` -`),T=R.length-O):T+=R.length,g&&I!=="start"){let N=g.parent||{raws:{}};(!(g.type==="decl"||g.type==="atrule"&&!g.nodes)||g!==N.last||N.raws.semicolon)&&(g.source&&g.source.end?(f.source=this.sourcePath(g),f.original.line=g.source.end.line,f.original.column=g.source.end.column-1,f.generated.line=c,f.generated.column=T-2,this.map.addMapping(f)):(f.source=_,f.original.line=1,f.original.column=0,f.generated.line=c,f.generated.column=T-1,this.map.addMapping(f)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(c=>c.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let c=this.mapOpts.annotation;return typeof c<"u"&&c!==!0?!1:this.previous().length?this.previous().some(T=>T.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(c=>c.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(c){if(this.mapOpts.absolute||c.charCodeAt(0)===60||/^\w+:\/\//.test(c))return c;let T=this.memoizedPaths.get(c);if(T)return T;let _=this.opts.to?e(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(_=e(n(_,this.mapOpts.annotation)));let f=t(_,c);return this.memoizedPaths.set(c,f),f}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(c=>{if(c.source&&c.source.input.map){let T=c.source.input.map;this.previousMaps.includes(T)||this.previousMaps.push(T)}});else{let c=new r(this.originalCSS,this.opts);c.map&&this.previousMaps.push(c.map)}return this.previousMaps}setSourcesContent(){let c={};if(this.root)this.root.walk(T=>{if(T.source){let _=T.source.input.from;if(_&&!c[_]){c[_]=!0;let f=this.usesFileUrls?this.toFileUrl(_):this.toUrl(this.path(_));this.map.setSourceContent(f,T.source.input.css)}}});else if(this.css){let T=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(T,this.css)}}sourcePath(c){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(c.source.input.from):this.toUrl(this.path(c.source.input.from))}toBase64(c){return Buffer?Buffer.from(c).toString("base64"):window.btoa(unescape(encodeURIComponent(c)))}toFileUrl(c){let T=this.memoizedFileURLs.get(c);if(T)return T;if(o){let _=o(c).toString();return this.memoizedFileURLs.set(c,_),_}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(c){let T=this.memoizedURLs.get(c);if(T)return T;a==="\\"&&(c=c.replace(/\\/g,"/"));let _=encodeURI(c).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(c,_),_}}return Qc=d,Qc}var Zc,nh;function VVe(){if(nh)return Zc;nh=1;const e=39,t=34,n=92,a=47,s=10,i=32,o=12,r=9,u=13,l=91,d=93,E=40,c=41,T=123,_=125,f=59,O=42,A=58,R=64,g=/[\t\n\f\r "#'()/;[\\\]{}]/g,I=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,N=/.[\r\n"'(/\\]/,C=/[\da-f]/i;return Zc=function(U,D={}){let P=U.css.valueOf(),y=D.ignoreErrors,z,ee,Ae,te,pe,_e,De,Ve,ze,st,Et=P.length,q=0,Ce=[],Rt=[];function Ot(){return q}function me(oe){throw U.error("Unclosed "+oe,q)}function Z(){return Rt.length===0&&q>=Et}function J(oe){if(Rt.length)return Rt.pop();if(q>=Et)return;let k=oe?oe.ignoreUnclosed:!1;switch(z=P.charCodeAt(q),z){case s:case i:case r:case u:case o:{te=q;do te+=1,z=P.charCodeAt(te);while(z===i||z===s||z===r||z===u||z===o);_e=["space",P.slice(q,te)],q=te-1;break}case l:case d:case T:case _:case A:case f:case c:{let w=String.fromCharCode(z);_e=[w,w,q];break}case E:{if(st=Ce.length?Ce.pop()[1]:"",ze=P.charCodeAt(q+1),st==="url"&&ze!==e&&ze!==t&&ze!==i&&ze!==s&&ze!==r&&ze!==o&&ze!==u){te=q;do{if(De=!1,te=P.indexOf(")",te+1),te===-1)if(y||k){te=q;break}else me("bracket");for(Ve=te;P.charCodeAt(Ve-1)===n;)Ve-=1,De=!De}while(De);_e=["brackets",P.slice(q,te+1),q,te],q=te}else te=P.indexOf(")",q+1),ee=P.slice(q,te+1),te===-1||N.test(ee)?_e=["(","(",q]:(_e=["brackets",ee,q,te],q=te);break}case e:case t:{pe=z===e?"'":'"',te=q;do{if(De=!1,te=P.indexOf(pe,te+1),te===-1)if(y||k){te=q+1;break}else me("string");for(Ve=te;P.charCodeAt(Ve-1)===n;)Ve-=1,De=!De}while(De);_e=["string",P.slice(q,te+1),q,te],q=te;break}case R:{g.lastIndex=q+1,g.test(P),g.lastIndex===0?te=P.length-1:te=g.lastIndex-2,_e=["at-word",P.slice(q,te+1),q,te],q=te;break}case n:{for(te=q,Ae=!0;P.charCodeAt(te+1)===n;)te+=1,Ae=!Ae;if(z=P.charCodeAt(te+1),Ae&&z!==a&&z!==i&&z!==s&&z!==r&&z!==u&&z!==o&&(te+=1,C.test(P.charAt(te)))){for(;C.test(P.charAt(te+1));)te+=1;P.charCodeAt(te+1)===i&&(te+=1)}_e=["word",P.slice(q,te+1),q,te],q=te;break}default:{z===a&&P.charCodeAt(q+1)===O?(te=P.indexOf("*/",q+2)+1,te===0&&(y||k?te=P.length:me("comment")),_e=["comment",P.slice(q,te+1),q,te],q=te):(I.lastIndex=q+1,I.test(P),I.lastIndex===0?te=P.length-1:te=I.lastIndex-2,_e=["word",P.slice(q,te+1),q,te],Ce.push(_e),q=te);break}}return q++,_e}function be(oe){Rt.push(oe)}return{back:be,endOfFile:Z,nextToken:J,position:Ot}},Zc}var Jc,ah;function HVe(){if(ah)return Jc;ah=1;let e=$p(),t=$l(),n=Ul(),a=lr(),s=kp(),i=VVe();const o={empty:!0,space:!0};function r(l){for(let d=l.length-1;d>=0;d--){let E=l[d],c=E[3]||E[2];if(c)return c}}class u{constructor(d){this.input=d,this.root=new a,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:d,start:{column:1,line:1,offset:0}}}atrule(d){let E=new e;E.name=d[1].slice(1),E.name===""&&this.unnamedAtrule(E,d),this.init(E,d[2]);let c,T,_,f=!1,O=!1,A=[],R=[];for(;!this.tokenizer.endOfFile();){if(d=this.tokenizer.nextToken(),c=d[0],c==="("||c==="["?R.push(c==="("?")":"]"):c==="{"&&R.length>0?R.push("}"):c===R[R.length-1]&&R.pop(),R.length===0)if(c===";"){E.source.end=this.getPosition(d[2]),E.source.end.offset++,this.semicolon=!0;break}else if(c==="{"){O=!0;break}else if(c==="}"){if(A.length>0){for(_=A.length-1,T=A[_];T&&T[0]==="space";)T=A[--_];T&&(E.source.end=this.getPosition(T[3]||T[2]),E.source.end.offset++)}this.end(d);break}else A.push(d);else A.push(d);if(this.tokenizer.endOfFile()){f=!0;break}}E.raws.between=this.spacesAndCommentsFromEnd(A),A.length?(E.raws.afterName=this.spacesAndCommentsFromStart(A),this.raw(E,"params",A),f&&(d=A[A.length-1],E.source.end=this.getPosition(d[3]||d[2]),E.source.end.offset++,this.spaces=E.raws.between,E.raws.between="")):(E.raws.afterName="",E.params=""),O&&(E.nodes=[],this.current=E)}checkMissedSemicolon(d){let E=this.colon(d);if(E===!1)return;let c=0,T;for(let _=E-1;_>=0&&(T=d[_],!(T[0]!=="space"&&(c+=1,c===2)));_--);throw this.input.error("Missed semicolon",T[0]==="word"?T[3]+1:T[2])}colon(d){let E=0,c,T,_;for(let[f,O]of d.entries()){if(T=O,_=T[0],_==="("&&(E+=1),_===")"&&(E-=1),E===0&&_===":")if(!c)this.doubleColon(T);else{if(c[0]==="word"&&c[1]==="progid")continue;return f}c=T}return!1}comment(d){let E=new t;this.init(E,d[2]),E.source.end=this.getPosition(d[3]||d[2]),E.source.end.offset++;let c=d[1].slice(2,-2);if(/^\s*$/.test(c))E.text="",E.raws.left=c,E.raws.right="";else{let T=c.match(/^(\s*)([^]*\S)(\s*)$/);E.text=T[2],E.raws.left=T[1],E.raws.right=T[3]}}createTokenizer(){this.tokenizer=i(this.input)}decl(d,E){let c=new n;this.init(c,d[0][2]);let T=d[d.length-1];for(T[0]===";"&&(this.semicolon=!0,d.pop()),c.source.end=this.getPosition(T[3]||T[2]||r(d)),c.source.end.offset++;d[0][0]!=="word";)d.length===1&&this.unknownWord(d),c.raws.before+=d.shift()[1];for(c.source.start=this.getPosition(d[0][2]),c.prop="";d.length;){let R=d[0][0];if(R===":"||R==="space"||R==="comment")break;c.prop+=d.shift()[1]}c.raws.between="";let _;for(;d.length;)if(_=d.shift(),_[0]===":"){c.raws.between+=_[1];break}else _[0]==="word"&&/\w/.test(_[1])&&this.unknownWord([_]),c.raws.between+=_[1];(c.prop[0]==="_"||c.prop[0]==="*")&&(c.raws.before+=c.prop[0],c.prop=c.prop.slice(1));let f=[],O;for(;d.length&&(O=d[0][0],!(O!=="space"&&O!=="comment"));)f.push(d.shift());this.precheckMissedSemicolon(d);for(let R=d.length-1;R>=0;R--){if(_=d[R],_[1].toLowerCase()==="!important"){c.important=!0;let g=this.stringFrom(d,R);g=this.spacesFromEnd(d)+g,g!==" !important"&&(c.raws.important=g);break}else if(_[1].toLowerCase()==="important"){let g=d.slice(0),I="";for(let N=R;N>0;N--){let C=g[N][0];if(I.trim().startsWith("!")&&C!=="space")break;I=g.pop()[1]+I}I.trim().startsWith("!")&&(c.important=!0,c.raws.important=I,d=g)}if(_[0]!=="space"&&_[0]!=="comment")break}d.some(R=>R[0]!=="space"&&R[0]!=="comment")&&(c.raws.between+=f.map(R=>R[1]).join(""),f=[]),this.raw(c,"value",f.concat(d),E),c.value.includes(":")&&!E&&this.checkMissedSemicolon(d)}doubleColon(d){throw this.input.error("Double colon",{offset:d[2]},{offset:d[2]+d[1].length})}emptyRule(d){let E=new s;this.init(E,d[2]),E.selector="",E.raws.between="",this.current=E}end(d){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(d[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(d)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(d){if(this.spaces+=d[1],this.current.nodes){let E=this.current.nodes[this.current.nodes.length-1];E&&E.type==="rule"&&!E.raws.ownSemicolon&&(E.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(d){let E=this.input.fromOffset(d);return{column:E.col,line:E.line,offset:d}}init(d,E){this.current.push(d),d.source={input:this.input,start:this.getPosition(E)},d.raws.before=this.spaces,this.spaces="",d.type!=="comment"&&(this.semicolon=!1)}other(d){let E=!1,c=null,T=!1,_=null,f=[],O=d[1].startsWith("--"),A=[],R=d;for(;R;){if(c=R[0],A.push(R),c==="("||c==="[")_||(_=R),f.push(c==="("?")":"]");else if(O&&T&&c==="{")_||(_=R),f.push("}");else if(f.length===0)if(c===";")if(T){this.decl(A,O);return}else break;else if(c==="{"){this.rule(A);return}else if(c==="}"){this.tokenizer.back(A.pop()),E=!0;break}else c===":"&&(T=!0);else c===f[f.length-1]&&(f.pop(),f.length===0&&(_=null));R=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(E=!0),f.length>0&&this.unclosedBracket(_),E&&T){if(!O)for(;A.length&&(R=A[A.length-1][0],!(R!=="space"&&R!=="comment"));)this.tokenizer.back(A.pop());this.decl(A,O)}else this.unknownWord(A)}parse(){let d;for(;!this.tokenizer.endOfFile();)switch(d=this.tokenizer.nextToken(),d[0]){case"space":this.spaces+=d[1];break;case";":this.freeSemicolon(d);break;case"}":this.end(d);break;case"comment":this.comment(d);break;case"at-word":this.atrule(d);break;case"{":this.emptyRule(d);break;default:this.other(d);break}this.endFile()}precheckMissedSemicolon(){}raw(d,E,c,T){let _,f,O=c.length,A="",R=!0,g,I;for(let N=0;NC+b[1],"");d.raws[E]={raw:N,value:A}}d[E]=A}rule(d){d.pop();let E=new s;this.init(E,d[0][2]),E.raws.between=this.spacesAndCommentsFromEnd(d),this.raw(E,"selector",d),this.current=E}spacesAndCommentsFromEnd(d){let E,c="";for(;d.length&&(E=d[d.length-1][0],!(E!=="space"&&E!=="comment"));)c=d.pop()[1]+c;return c}spacesAndCommentsFromStart(d){let E,c="";for(;d.length&&(E=d[0][0],!(E!=="space"&&E!=="comment"));)c+=d.shift()[1];return c}spacesFromEnd(d){let E,c="";for(;d.length&&(E=d[d.length-1][0],E==="space");)c=d.pop()[1]+c;return c}stringFrom(d,E){let c="";for(let T=E;Ta.type==="warning")}get content(){return this.css}}return nd=t,t.default=t,nd}var ad,rh;function AO(){if(rh)return ad;rh=1;let e=Ks(),t=Up(),n=hO(),a=wp(),s=Mp(),i=lr(),o=Ll(),{isClean:r,my:u}=yp();const l={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},d={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},E={Once:!0,postcssPlugin:!0,prepare:!0},c=0;function T(g){return typeof g=="object"&&typeof g.then=="function"}function _(g){let I=!1,N=l[g.type];return g.type==="decl"?I=g.prop.toLowerCase():g.type==="atrule"&&(I=g.name.toLowerCase()),I&&g.append?[N,N+"-"+I,c,N+"Exit",N+"Exit-"+I]:I?[N,N+"-"+I,N+"Exit",N+"Exit-"+I]:g.append?[N,c,N+"Exit"]:[N,N+"Exit"]}function f(g){let I;return g.type==="document"?I=["Document",c,"DocumentExit"]:g.type==="root"?I=["Root",c,"RootExit"]:I=_(g),{eventIndex:0,events:I,iterator:0,node:g,visitorIndex:0,visitors:[]}}function O(g){return g[r]=!1,g.nodes&&g.nodes.forEach(I=>O(I)),g}let A={};class R{constructor(I,N,C){this.stringified=!1,this.processed=!1;let b;if(typeof N=="object"&&N!==null&&(N.type==="root"||N.type==="document"))b=O(N);else if(N instanceof R||N instanceof s)b=O(N.root),N.map&&(typeof C.map>"u"&&(C.map={}),C.map.inline||(C.map.inline=!1),C.map.prev=N.map);else{let U=a;C.syntax&&(U=C.syntax.parse),C.parser&&(U=C.parser),U.parse&&(U=U.parse);try{b=U(N,C)}catch(D){this.processed=!0,this.error=D}b&&!b[u]&&e.rebuild(b)}this.result=new s(I,b,C),this.helpers={...A,postcss:A,result:this.result},this.plugins=this.processor.plugins.map(U=>typeof U=="object"&&U.prepare?{...U,...U.prepare(this.result)}:U)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(I){return this.async().catch(I)}finally(I){return this.async().then(I,I)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(I,N){let C=this.result.lastPlugin;try{N&&N.addToError(I),this.error=I,I.name==="CssSyntaxError"&&!I.plugin?(I.plugin=C.postcssPlugin,I.setMessage()):C.postcssVersion}catch(b){console&&console.error&&console.error(b)}return I}prepareVisitors(){this.listeners={};let I=(N,C,b)=>{this.listeners[C]||(this.listeners[C]=[]),this.listeners[C].push([N,b])};for(let N of this.plugins)if(typeof N=="object")for(let C in N){if(!d[C]&&/^[A-Z]/.test(C))throw new Error(`Unknown event ${C} in ${N.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!E[C])if(typeof N[C]=="object")for(let b in N[C])b==="*"?I(N,C,N[C][b]):I(N,C+"-"+b.toLowerCase(),N[C][b]);else typeof N[C]=="function"&&I(N,C,N[C])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let I=0;I0;){let C=this.visitTick(N);if(T(C))try{await C}catch(b){let U=N[N.length-1].node;throw this.handleError(b,U)}}}if(this.listeners.OnceExit)for(let[N,C]of this.listeners.OnceExit){this.result.lastPlugin=N;try{if(I.type==="document"){let b=I.nodes.map(U=>C(U,this.helpers));await Promise.all(b)}else await C(I,this.helpers)}catch(b){throw this.handleError(b)}}}return this.processed=!0,this.stringify()}runOnRoot(I){this.result.lastPlugin=I;try{if(typeof I=="object"&&I.Once){if(this.result.root.type==="document"){let N=this.result.root.nodes.map(C=>I.Once(C,this.helpers));return T(N[0])?Promise.all(N):N}return I.Once(this.result.root,this.helpers)}else if(typeof I=="function")return I(this.result.root,this.result)}catch(N){throw this.handleError(N)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let I=this.result.opts,N=o;I.syntax&&(N=I.syntax.stringify),I.stringifier&&(N=I.stringifier),N.stringify&&(N=N.stringify);let b=new n(N,this.result.root,this.result.opts).generate();return this.result.css=b[0],this.result.map=b[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let I of this.plugins){let N=this.runOnRoot(I);if(T(N))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let I=this.result.root;for(;!I[r];)I[r]=!0,this.walkSync(I);if(this.listeners.OnceExit)if(I.type==="document")for(let N of I.nodes)this.visitSync(this.listeners.OnceExit,N);else this.visitSync(this.listeners.OnceExit,I)}return this.result}then(I,N){return this.async().then(I,N)}toString(){return this.css}visitSync(I,N){for(let[C,b]of I){this.result.lastPlugin=C;let U;try{U=b(N,this.helpers)}catch(D){throw this.handleError(D,N.proxyOf)}if(N.type!=="root"&&N.type!=="document"&&!N.parent)return!0;if(T(U))throw this.getAsyncError()}}visitTick(I){let N=I[I.length-1],{node:C,visitors:b}=N;if(C.type!=="root"&&C.type!=="document"&&!C.parent){I.pop();return}if(b.length>0&&N.visitorIndex{b[r]||this.walkSync(b)});else{let b=this.listeners[C];if(b&&this.visitSync(b,I.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}return R.registerPostcss=g=>{A=g},ad=R,R.default=R,i.registerLazyResult(R),t.registerLazyResult(R),ad}var sd,uh;function KVe(){if(uh)return sd;uh=1;let e=hO(),t=wp();const n=Mp();let a=Ll();class s{constructor(o,r,u){r=r.toString(),this.stringified=!1,this._processor=o,this._css=r,this._opts=u,this._map=void 0;let l,d=a;this.result=new n(this._processor,l,this._opts),this.result.css=r;let E=this;Object.defineProperty(this.result,"root",{get(){return E.root}});let c=new e(d,l,this._opts,r);if(c.isMap()){let[T,_]=c.generate();T&&(this.result.css=T),_&&(this.result.map=_)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(o){return this.async().catch(o)}finally(o){return this.async().then(o,o)}sync(){if(this.error)throw this.error;return this.result}then(o,r){return this.async().then(o,r)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let o,r=t;try{o=r(this._css,this._opts)}catch(u){this.error=u}if(this.error)throw this.error;return this._root=o,o}get[Symbol.toStringTag](){return"NoWorkResult"}}return sd=s,s.default=s,sd}var id,lh;function qVe(){if(lh)return id;lh=1;let e=Up(),t=AO(),n=KVe(),a=lr();class s{constructor(o=[]){this.version="8.4.49",this.plugins=this.normalize(o)}normalize(o){let r=[];for(let u of o)if(u.postcss===!0?u=u():u.postcss&&(u=u.postcss),typeof u=="object"&&Array.isArray(u.plugins))r=r.concat(u.plugins);else if(typeof u=="object"&&u.postcssPlugin)r.push(u);else if(typeof u=="function")r.push(u);else if(!(typeof u=="object"&&(u.parse||u.stringify)))throw new Error(u+" is not a PostCSS plugin");return r}process(o,r={}){return!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new n(this,o,r):new t(this,o,r)}use(o){return this.plugins=this.plugins.concat(this.normalize([o])),this}}return id=s,s.default=s,a.registerProcessor(s),e.registerProcessor(s),id}var od,ch;function jVe(){if(ch)return od;ch=1;var e={};let t=$p(),n=$l(),a=Ks(),s=Lp(),i=Ul(),o=Up(),r=GVe(),u=kl(),l=AO(),d=fO(),E=yl(),c=wp(),T=qVe(),_=Mp(),f=lr(),O=kp(),A=Ll(),R=SO();function g(...I){return I.length===1&&Array.isArray(I[0])&&(I=I[0]),new T(I)}return g.plugin=function(N,C){let b=!1;function U(...P){console&&console.warn&&!b&&(b=!0,console.warn(N+`: postcss.plugin was deprecated. Migration guide: +`),T=R.length-O):T+=R.length,g&&I!=="start"){let N=g.parent||{raws:{}};(!(g.type==="decl"||g.type==="atrule"&&!g.nodes)||g!==N.last||N.raws.semicolon)&&(g.source&&g.source.end?(f.source=this.sourcePath(g),f.original.line=g.source.end.line,f.original.column=g.source.end.column-1,f.generated.line=c,f.generated.column=T-2,this.map.addMapping(f)):(f.source=_,f.original.line=1,f.original.column=0,f.generated.line=c,f.generated.column=T-1,this.map.addMapping(f)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(c=>c.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let c=this.mapOpts.annotation;return typeof c<"u"&&c!==!0?!1:this.previous().length?this.previous().some(T=>T.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(c=>c.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(c){if(this.mapOpts.absolute||c.charCodeAt(0)===60||/^\w+:\/\//.test(c))return c;let T=this.memoizedPaths.get(c);if(T)return T;let _=this.opts.to?e(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(_=e(n(_,this.mapOpts.annotation)));let f=t(_,c);return this.memoizedPaths.set(c,f),f}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(c=>{if(c.source&&c.source.input.map){let T=c.source.input.map;this.previousMaps.includes(T)||this.previousMaps.push(T)}});else{let c=new r(this.originalCSS,this.opts);c.map&&this.previousMaps.push(c.map)}return this.previousMaps}setSourcesContent(){let c={};if(this.root)this.root.walk(T=>{if(T.source){let _=T.source.input.from;if(_&&!c[_]){c[_]=!0;let f=this.usesFileUrls?this.toFileUrl(_):this.toUrl(this.path(_));this.map.setSourceContent(f,T.source.input.css)}}});else if(this.css){let T=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(T,this.css)}}sourcePath(c){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(c.source.input.from):this.toUrl(this.path(c.source.input.from))}toBase64(c){return Buffer?Buffer.from(c).toString("base64"):window.btoa(unescape(encodeURIComponent(c)))}toFileUrl(c){let T=this.memoizedFileURLs.get(c);if(T)return T;if(o){let _=o(c).toString();return this.memoizedFileURLs.set(c,_),_}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(c){let T=this.memoizedURLs.get(c);if(T)return T;a==="\\"&&(c=c.replace(/\\/g,"/"));let _=encodeURI(c).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(c,_),_}}return Qc=d,Qc}var Zc,nh;function VVe(){if(nh)return Zc;nh=1;const e=39,t=34,n=92,a=47,s=10,i=32,o=12,r=9,u=13,l=91,d=93,E=40,c=41,T=123,_=125,f=59,O=42,A=58,R=64,g=/[\t\n\f\r "#'()/;[\\\]{}]/g,I=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,N=/.[\r\n"'(/\\]/,b=/[\da-f]/i;return Zc=function(y,D={}){let U=y.css.valueOf(),P=D.ignoreErrors,F,Z,Oe,ee,Ee,_e,Pe,He,Je,Ve,_t=U.length,we=0,ae=[],ke=[];function pt(){return we}function Te(ie){throw y.error("Unclosed "+ie,we)}function Q(){return ke.length===0&&we>=_t}function Se(ie){if(ke.length)return ke.pop();if(we>=_t)return;let k=ie?ie.ignoreUnclosed:!1;switch(F=U.charCodeAt(we),F){case s:case i:case r:case u:case o:{ee=we;do ee+=1,F=U.charCodeAt(ee);while(F===i||F===s||F===r||F===u||F===o);_e=["space",U.slice(we,ee)],we=ee-1;break}case l:case d:case T:case _:case A:case f:case c:{let w=String.fromCharCode(F);_e=[w,w,we];break}case E:{if(Ve=ae.length?ae.pop()[1]:"",Je=U.charCodeAt(we+1),Ve==="url"&&Je!==e&&Je!==t&&Je!==i&&Je!==s&&Je!==r&&Je!==o&&Je!==u){ee=we;do{if(Pe=!1,ee=U.indexOf(")",ee+1),ee===-1)if(P||k){ee=we;break}else Te("bracket");for(He=ee;U.charCodeAt(He-1)===n;)He-=1,Pe=!Pe}while(Pe);_e=["brackets",U.slice(we,ee+1),we,ee],we=ee}else ee=U.indexOf(")",we+1),Z=U.slice(we,ee+1),ee===-1||N.test(Z)?_e=["(","(",we]:(_e=["brackets",Z,we,ee],we=ee);break}case e:case t:{Ee=F===e?"'":'"',ee=we;do{if(Pe=!1,ee=U.indexOf(Ee,ee+1),ee===-1)if(P||k){ee=we+1;break}else Te("string");for(He=ee;U.charCodeAt(He-1)===n;)He-=1,Pe=!Pe}while(Pe);_e=["string",U.slice(we,ee+1),we,ee],we=ee;break}case R:{g.lastIndex=we+1,g.test(U),g.lastIndex===0?ee=U.length-1:ee=g.lastIndex-2,_e=["at-word",U.slice(we,ee+1),we,ee],we=ee;break}case n:{for(ee=we,Oe=!0;U.charCodeAt(ee+1)===n;)ee+=1,Oe=!Oe;if(F=U.charCodeAt(ee+1),Oe&&F!==a&&F!==i&&F!==s&&F!==r&&F!==u&&F!==o&&(ee+=1,b.test(U.charAt(ee)))){for(;b.test(U.charAt(ee+1));)ee+=1;U.charCodeAt(ee+1)===i&&(ee+=1)}_e=["word",U.slice(we,ee+1),we,ee],we=ee;break}default:{F===a&&U.charCodeAt(we+1)===O?(ee=U.indexOf("*/",we+2)+1,ee===0&&(P||k?ee=U.length:Te("comment")),_e=["comment",U.slice(we,ee+1),we,ee],we=ee):(I.lastIndex=we+1,I.test(U),I.lastIndex===0?ee=U.length-1:ee=I.lastIndex-2,_e=["word",U.slice(we,ee+1),we,ee],ae.push(_e),we=ee);break}}return we++,_e}function me(ie){ke.push(ie)}return{back:me,endOfFile:Q,nextToken:Se,position:pt}},Zc}var Jc,ah;function HVe(){if(ah)return Jc;ah=1;let e=$p(),t=$l(),n=Ul(),a=lr(),s=kp(),i=VVe();const o={empty:!0,space:!0};function r(l){for(let d=l.length-1;d>=0;d--){let E=l[d],c=E[3]||E[2];if(c)return c}}class u{constructor(d){this.input=d,this.root=new a,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:d,start:{column:1,line:1,offset:0}}}atrule(d){let E=new e;E.name=d[1].slice(1),E.name===""&&this.unnamedAtrule(E,d),this.init(E,d[2]);let c,T,_,f=!1,O=!1,A=[],R=[];for(;!this.tokenizer.endOfFile();){if(d=this.tokenizer.nextToken(),c=d[0],c==="("||c==="["?R.push(c==="("?")":"]"):c==="{"&&R.length>0?R.push("}"):c===R[R.length-1]&&R.pop(),R.length===0)if(c===";"){E.source.end=this.getPosition(d[2]),E.source.end.offset++,this.semicolon=!0;break}else if(c==="{"){O=!0;break}else if(c==="}"){if(A.length>0){for(_=A.length-1,T=A[_];T&&T[0]==="space";)T=A[--_];T&&(E.source.end=this.getPosition(T[3]||T[2]),E.source.end.offset++)}this.end(d);break}else A.push(d);else A.push(d);if(this.tokenizer.endOfFile()){f=!0;break}}E.raws.between=this.spacesAndCommentsFromEnd(A),A.length?(E.raws.afterName=this.spacesAndCommentsFromStart(A),this.raw(E,"params",A),f&&(d=A[A.length-1],E.source.end=this.getPosition(d[3]||d[2]),E.source.end.offset++,this.spaces=E.raws.between,E.raws.between="")):(E.raws.afterName="",E.params=""),O&&(E.nodes=[],this.current=E)}checkMissedSemicolon(d){let E=this.colon(d);if(E===!1)return;let c=0,T;for(let _=E-1;_>=0&&(T=d[_],!(T[0]!=="space"&&(c+=1,c===2)));_--);throw this.input.error("Missed semicolon",T[0]==="word"?T[3]+1:T[2])}colon(d){let E=0,c,T,_;for(let[f,O]of d.entries()){if(T=O,_=T[0],_==="("&&(E+=1),_===")"&&(E-=1),E===0&&_===":")if(!c)this.doubleColon(T);else{if(c[0]==="word"&&c[1]==="progid")continue;return f}c=T}return!1}comment(d){let E=new t;this.init(E,d[2]),E.source.end=this.getPosition(d[3]||d[2]),E.source.end.offset++;let c=d[1].slice(2,-2);if(/^\s*$/.test(c))E.text="",E.raws.left=c,E.raws.right="";else{let T=c.match(/^(\s*)([^]*\S)(\s*)$/);E.text=T[2],E.raws.left=T[1],E.raws.right=T[3]}}createTokenizer(){this.tokenizer=i(this.input)}decl(d,E){let c=new n;this.init(c,d[0][2]);let T=d[d.length-1];for(T[0]===";"&&(this.semicolon=!0,d.pop()),c.source.end=this.getPosition(T[3]||T[2]||r(d)),c.source.end.offset++;d[0][0]!=="word";)d.length===1&&this.unknownWord(d),c.raws.before+=d.shift()[1];for(c.source.start=this.getPosition(d[0][2]),c.prop="";d.length;){let R=d[0][0];if(R===":"||R==="space"||R==="comment")break;c.prop+=d.shift()[1]}c.raws.between="";let _;for(;d.length;)if(_=d.shift(),_[0]===":"){c.raws.between+=_[1];break}else _[0]==="word"&&/\w/.test(_[1])&&this.unknownWord([_]),c.raws.between+=_[1];(c.prop[0]==="_"||c.prop[0]==="*")&&(c.raws.before+=c.prop[0],c.prop=c.prop.slice(1));let f=[],O;for(;d.length&&(O=d[0][0],!(O!=="space"&&O!=="comment"));)f.push(d.shift());this.precheckMissedSemicolon(d);for(let R=d.length-1;R>=0;R--){if(_=d[R],_[1].toLowerCase()==="!important"){c.important=!0;let g=this.stringFrom(d,R);g=this.spacesFromEnd(d)+g,g!==" !important"&&(c.raws.important=g);break}else if(_[1].toLowerCase()==="important"){let g=d.slice(0),I="";for(let N=R;N>0;N--){let b=g[N][0];if(I.trim().startsWith("!")&&b!=="space")break;I=g.pop()[1]+I}I.trim().startsWith("!")&&(c.important=!0,c.raws.important=I,d=g)}if(_[0]!=="space"&&_[0]!=="comment")break}d.some(R=>R[0]!=="space"&&R[0]!=="comment")&&(c.raws.between+=f.map(R=>R[1]).join(""),f=[]),this.raw(c,"value",f.concat(d),E),c.value.includes(":")&&!E&&this.checkMissedSemicolon(d)}doubleColon(d){throw this.input.error("Double colon",{offset:d[2]},{offset:d[2]+d[1].length})}emptyRule(d){let E=new s;this.init(E,d[2]),E.selector="",E.raws.between="",this.current=E}end(d){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(d[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(d)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(d){if(this.spaces+=d[1],this.current.nodes){let E=this.current.nodes[this.current.nodes.length-1];E&&E.type==="rule"&&!E.raws.ownSemicolon&&(E.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(d){let E=this.input.fromOffset(d);return{column:E.col,line:E.line,offset:d}}init(d,E){this.current.push(d),d.source={input:this.input,start:this.getPosition(E)},d.raws.before=this.spaces,this.spaces="",d.type!=="comment"&&(this.semicolon=!1)}other(d){let E=!1,c=null,T=!1,_=null,f=[],O=d[1].startsWith("--"),A=[],R=d;for(;R;){if(c=R[0],A.push(R),c==="("||c==="[")_||(_=R),f.push(c==="("?")":"]");else if(O&&T&&c==="{")_||(_=R),f.push("}");else if(f.length===0)if(c===";")if(T){this.decl(A,O);return}else break;else if(c==="{"){this.rule(A);return}else if(c==="}"){this.tokenizer.back(A.pop()),E=!0;break}else c===":"&&(T=!0);else c===f[f.length-1]&&(f.pop(),f.length===0&&(_=null));R=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(E=!0),f.length>0&&this.unclosedBracket(_),E&&T){if(!O)for(;A.length&&(R=A[A.length-1][0],!(R!=="space"&&R!=="comment"));)this.tokenizer.back(A.pop());this.decl(A,O)}else this.unknownWord(A)}parse(){let d;for(;!this.tokenizer.endOfFile();)switch(d=this.tokenizer.nextToken(),d[0]){case"space":this.spaces+=d[1];break;case";":this.freeSemicolon(d);break;case"}":this.end(d);break;case"comment":this.comment(d);break;case"at-word":this.atrule(d);break;case"{":this.emptyRule(d);break;default:this.other(d);break}this.endFile()}precheckMissedSemicolon(){}raw(d,E,c,T){let _,f,O=c.length,A="",R=!0,g,I;for(let N=0;N