@posthog/rrweb-snapshot 0.0.32 → 0.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,46 +1,34 @@
1
- (function (g, f) {
2
- if ("object" == typeof exports && "object" == typeof module) {
3
- module.exports = f();
4
- } else if ("function" == typeof define && define.amd) {
5
- define("rrwebSnapshotReplay", [], f);
6
- } else if ("object" == typeof exports) {
7
- exports["rrwebSnapshotReplay"] = f();
8
- } else {
9
- g["rrwebSnapshotReplay"] = f();
10
- }
11
- }(this, () => {
12
- var exports = {};
13
- var module = { exports };
14
- "use strict";var dr=Object.defineProperty,mr=Object.defineProperties;var gr=Object.getOwnPropertyDescriptors;var Z=Object.getOwnPropertySymbols;var st=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable;var it=(e,s,d)=>s in e?dr(e,s,{enumerable:!0,configurable:!0,writable:!0,value:d}):e[s]=d,L=(e,s)=>{for(var d in s||(s={}))st.call(s,d)&&it(e,d,s[d]);if(Z)for(var d of Z(s))nt.call(s,d)&&it(e,d,s[d]);return e},j=(e,s)=>mr(e,gr(s));var ae=(e,s)=>{var d={};for(var u in e)st.call(e,u)&&s.indexOf(u)<0&&(d[u]=e[u]);if(e!=null&&Z)for(var u of Z(e))s.indexOf(u)<0&&nt.call(e,u)&&(d[u]=e[u]);return d};var yr=(e,s)=>()=>(s||e((s={exports:{}}).exports,s),s.exports);var bt=yr(I=>{"use strict";var wr=Object.defineProperty,br=(e,s,d)=>s in e?wr(e,s,{enumerable:!0,configurable:!0,writable:!0,value:d}):e[s]=d,ot=(e,s,d)=>br(e,typeof s!="symbol"?s+"":s,d),z=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(z||{}),lt={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},at={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Y={};function Sr(e){var s,d;let u=(d=(s=globalThis==null?void 0:globalThis.Zone)==null?void 0:s.__symbol__)==null?void 0:d.call(s,e);if(u&&globalThis[u])return globalThis[u]}function pe(e){if(Y[e])return Y[e];let s=Sr(e)||globalThis[e],d=s.prototype,u=e in lt?lt[e]:void 0,n=!!(u&&u.every(c=>{var m,o;return!!((o=(m=Object.getOwnPropertyDescriptor(d,c))==null?void 0:m.get)!=null&&o.toString().includes("[native code]"))})),f=e in at?at[e]:void 0,a=!!(f&&f.every(c=>{var m;return typeof d[c]=="function"&&((m=d[c])==null?void 0:m.toString().includes("[native code]"))}));if(n&&a)return Y[e]=s.prototype,s.prototype;try{let c=document.createElement("iframe");document.body.appendChild(c);let m=c.contentWindow;if(!m)return s.prototype;let o=m[e].prototype;return document.body.removeChild(c),o?Y[e]=o:d}catch(c){return d}}var ue={};function q(e,s,d){var u;let n=`${e}.${String(d)}`;if(ue[n])return ue[n].call(s);let f=pe(e),a=(u=Object.getOwnPropertyDescriptor(f,d))==null?void 0:u.get;return a?(ue[n]=a,a.call(s)):s[d]}var fe={};function ct(e,s,d){let u=`${e}.${String(d)}`;if(fe[u])return fe[u].bind(s);let f=pe(e)[d];return typeof f!="function"?s[d]:(fe[u]=f,f.bind(s))}function Cr(e){return q("Node",e,"childNodes")}function vr(e){return q("Node",e,"parentNode")}function xr(e){return q("Node",e,"parentElement")}function Rr(e){return q("Node",e,"textContent")}function Er(e,s){return ct("Node",e,"contains")(s)}function Or(e){return ct("Node",e,"getRootNode")()}function Pr(e){return!e||!("host"in e)?null:q("ShadowRoot",e,"host")}function Ar(e){return e.styleSheets}function Mr(e){return!e||!("shadowRoot"in e)?null:q("Element",e,"shadowRoot")}function Nr(e,s){return q("Element",e,"querySelector")(s)}function Ir(e,s){return q("Element",e,"querySelectorAll")(s)}function _r(){return pe("MutationObserver").constructor}function Dr(e,s,d){try{if(!(s in e))return()=>{};let u=e[s],n=d(u);return typeof n=="function"&&(n.prototype=n.prototype||{},Object.defineProperties(n,{__rrweb_original__:{enumerable:!1,value:u}})),e[s]=n,()=>{e[s]=u}}catch(u){return()=>{}}}var ce={childNodes:Cr,parentNode:vr,parentElement:xr,textContent:Rr,contains:Er,getRootNode:Or,host:Pr,styleSheets:Ar,shadowRoot:Mr,querySelector:Nr,querySelectorAll:Ir,mutationObserver:_r,patch:Dr};function Tr(e){return e.nodeType===e.ELEMENT_NODE}function kr(e){let s=e&&"host"in e&&"mode"in e&&ce.host(e)||null;return!!(s&&"shadowRoot"in s&&ce.shadowRoot(s)===e)}function Lr(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function Br(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),e}function ht(e){let{cssText:s}=e;if(s.split('"').length<3)return s;let d=["@import",`url(${JSON.stringify(e.href)})`];return e.layerName===""?d.push("layer"):e.layerName&&d.push(`layer(${e.layerName})`),e.supportsText&&d.push(`supports(${e.supportsText})`),e.media.length&&d.push(e.media.mediaText),d.join(" ")+";"}function pt(e){try{let s=e.rules||e.cssRules;if(!s)return null;let d=e.href;!d&&e.ownerNode&&(d=e.ownerNode.baseURI);let u=Array.from(s,n=>dt(n,d)).join("");return Br(u)}catch(s){return null}}function dt(e,s){var d;if(gt(e)){let u;try{u=pt(e.styleSheet)||ht(e)}catch(n){u=e.cssText}try{if(u&&((d=e.styleSheet)!=null&&d.href))return he(u,e.styleSheet.href)}catch(n){}return u}else{let u=e.cssText;return yt(e)&&e.selectorText.includes(":")&&(u=mt(u)),s?he(u,s):u}}function mt(e){let s=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(s,"$1\\$2")}function gt(e){return"styleSheet"in e}function yt(e){return"selectorText"in e}var Q=class{constructor(){ot(this,"idNodeMap",new Map),ot(this,"nodeMetaMap",new WeakMap)}getId(s){var d;if(!s)return-1;let u=(d=this.getMeta(s))==null?void 0:d.id;return u!=null?u:-1}getNode(s){return this.idNodeMap.get(s)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(s){return this.nodeMetaMap.get(s)||null}removeNodeFromMap(s){let d=this.getId(s);this.idNodeMap.delete(d),s.childNodes&&s.childNodes.forEach(u=>this.removeNodeFromMap(u))}has(s){return this.idNodeMap.has(s)}hasNode(s){return this.nodeMetaMap.has(s)}add(s,d){let u=d.id;this.idNodeMap.set(u,s),this.nodeMetaMap.set(s,d)}replace(s,d){let u=this.getNode(s);if(u){let n=this.nodeMetaMap.get(u);n&&this.nodeMetaMap.set(d,n)}this.idNodeMap.set(s,d)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}};function Ur(){return new Q}function zr({element:e,maskInputOptions:s,tagName:d,type:u,value:n,maskInputFn:f}){let a=n||"",c=u&&de(u);return(s[d.toLowerCase()]||c&&s[c])&&(f?a=f(a,e):a="*".repeat(a.length)),a}function de(e){return e.toLowerCase()}var ut="__rrweb_original__";function qr(e){let s=e.getContext("2d");if(!s)return!0;let d=50;for(let u=0;u<e.width;u+=d)for(let n=0;n<e.height;n+=d){let f=s.getImageData,a=ut in f?f[ut]:f;if(new Uint32Array(a.call(s,u,n,Math.min(d,e.width-u),Math.min(d,e.height-n)).data.buffer).some(m=>m!==0))return!1}return!0}function Fr(e,s){return!e||!s||e.type!==s.type?!1:e.type===z.Document?e.compatMode===s.compatMode:e.type===z.DocumentType?e.name===s.name&&e.publicId===s.publicId&&e.systemId===s.systemId:e.type===z.Comment||e.type===z.Text||e.type===z.CDATA?e.textContent===s.textContent:e.type===z.Element?e.tagName===s.tagName&&JSON.stringify(e.attributes)===JSON.stringify(s.attributes)&&e.isSVG===s.isSVG&&e.needBlock===s.needBlock:!1}function Wr(e){let s=e.type;return e.hasAttribute("data-rr-is-password")?"password":s?de(s):null}function $r(e,s){var f;let d;try{d=new URL(e,s!=null?s:window.location.href)}catch(a){return null}let u=/\.([0-9a-z]+)(?:$)/i,n=d.pathname.match(u);return(f=n==null?void 0:n[1])!=null?f:null}function jr(e){let s="";return e.indexOf("//")>-1?s=e.split("/").slice(0,3).join("/"):s=e.split("/")[0],s=s.split("?")[0],s}var Vr=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Gr=/^(?:[a-z+]+:)?\/\//i,Hr=/^www\..*/i,Jr=/^(data:)([^,]*),(.*)/i;function he(e,s){return(e||"").replace(Vr,(d,u,n,f,a,c)=>{let m=n||a||c,o=u||f||"";if(!m)return d;if(Gr.test(m)||Hr.test(m))return`url(${o}${m}${o})`;if(Jr.test(m))return`url(${o}${m}${o})`;if(m[0]==="/")return`url(${o}${jr(s)+m}${o})`;let t=s.split("/"),l=m.split("/");t.pop();for(let i of l)i!=="."&&(i===".."?t.pop():t.push(i));return`url(${o}${t.join("/")}${o})`})}var Zr="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzPgogICAgPHBhdHRlcm4gaWQ9InN0cmlwZXMiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+CiAgICAgIDxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iYmxhY2siLz4KICAgICAgPHBhdGggZD0iTTggMEgxNkwwIDE2VjhMOCAwWiIgZmlsbD0iIzJEMkQyRCIvPgogICAgICA8cGF0aCBkPSJNMTYgOFYxNkg4TDE2IDhaIiBmaWxsPSIjMkQyRDJEIi8+CiAgICA8L3BhdHRlcm4+CiAgPC9kZWZzPgogIDxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjc3RyaXBlcykiLz4KPC9zdmc+Cg==",ft=4096;function Yr(e,s,d,u){if(!e.complete||e.naturalWidth===0||e.naturalWidth>ft||e.naturalHeight>ft)return s;try{let n=document.createElement("canvas");n.width=e.naturalWidth,n.height=e.naturalHeight;let f=n.getContext("2d");return f?(f.drawImage(e,0,0),n.toDataURL(d||"image/webp",u!=null?u:.4)):s}catch(n){return s}}function Qr(e,s){return!s||e.length<=s?e:Zr}var wt=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(wt||{});I.Mirror=Q;I.NodeType=wt;I.NodeType$1=z;I.absolutifyURLs=he;I.checkDataURLSize=Qr;I.createMirror=Ur;I.escapeImportStatement=ht;I.extractFileExtension=$r;I.fixSafariColons=mt;I.getInputType=Wr;I.index=ce;I.is2DCanvasBlank=qr;I.isCSSImportRule=gt;I.isCSSStyleRule=yt;I.isElement=Tr;I.isNativeShadowDom=Lr;I.isNodeMetaEqual=Fr;I.isShadowRoot=kr;I.maskInputValue=zr;I.recompressBase64Image=Yr;I.stringifyRule=dt;I.stringifyStylesheet=pt;I.toLowerCase=de});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var A=bt(),Kr=/(max|min)-device-(width|height)/,St=new RegExp(Kr.source,"g"),Xr={postcssPlugin:"postcss-custom-selectors",prepare(){return{postcssPlugin:"postcss-custom-selectors",AtRule:function(e){e.params.match(St)&&(e.params=e.params.replace(St,"$1-$2"))}}}},ei={postcssPlugin:"postcss-hover-classes",prepare:function(){let e=[];return{Rule:function(s){e.indexOf(s)===-1&&(e.push(s),s.selectors.forEach(function(d){d.includes(":hover")&&(s.selector+=`,
15
- `+d.replace(/:hover/g,".\\:hover"))}))}}}};function Xt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ti(e){if(e.__esModule)return e;var s=e.default;if(typeof s=="function"){var d=function u(){return this instanceof u?Reflect.construct(s,arguments,this.constructor):s.apply(this,arguments)};d.prototype=s.prototype}else d={};return Object.defineProperty(d,"__esModule",{value:!0}),Object.keys(e).forEach(function(u){var n=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(d,u,n.get?n:{enumerable:!0,get:function(){return e[u]}})}),d}var K={exports:{}},Ct;function ri(){if(Ct)return K.exports;Ct=1;var e=String,s=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e,blackBright:e,redBright:e,greenBright:e,yellowBright:e,blueBright:e,magentaBright:e,cyanBright:e,whiteBright:e,bgBlackBright:e,bgRedBright:e,bgGreenBright:e,bgYellowBright:e,bgBlueBright:e,bgMagentaBright:e,bgCyanBright:e,bgWhiteBright:e}};return K.exports=s(),K.exports.createColors=s,K.exports}var ii={},si=Object.freeze(Object.defineProperty({__proto__:null,default:ii},Symbol.toStringTag,{value:"Module"})),k=ti(si),me,vt;function je(){if(vt)return me;vt=1;let e=ri(),s=k;class d extends Error{constructor(n,f,a,c,m,o){super(n),this.name="CssSyntaxError",this.reason=n,m&&(this.file=m),c&&(this.source=c),o&&(this.plugin=o),typeof f!="undefined"&&typeof a!="undefined"&&(typeof f=="number"?(this.line=f,this.column=a):(this.line=f.line,this.column=f.column,this.endLine=a.line,this.endColumn=a.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,d)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line!="undefined"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(n){if(!this.source)return"";let f=this.source;n==null&&(n=e.isColorSupported);let a=r=>r,c=r=>r,m=r=>r;if(n){let{bold:r,gray:p,red:h}=e.createColors(!0);c=g=>r(h(g)),a=g=>p(g),s&&(m=g=>s(g))}let o=f.split(/\r?\n/),t=Math.max(this.line-3,0),l=Math.min(this.line+2,o.length),i=String(l).length;return o.slice(t,l).map((r,p)=>{let h=t+1+p,g=" "+(" "+h).slice(-i)+" | ";if(h===this.line){if(r.length>160){let b=20,S=Math.max(0,this.column-b),x=Math.max(this.column+b,this.endColumn+b),w=r.slice(S,x),y=a(g.replace(/\d/g," "))+r.slice(0,Math.min(this.column-1,b-1)).replace(/[^\t]/g," ");return c(">")+a(g)+m(w)+`
16
- `+y+c("^")}let C=a(g.replace(/\d/g," "))+r.slice(0,this.column-1).replace(/[^\t]/g," ");return c(">")+a(g)+m(r)+`
17
- `+C+c("^")}return" "+a(g)+m(r)}).join(`
18
- `)}toString(){let n=this.showSourceCode();return n&&(n=`
1
+ (function (g, f) {if ("object" == typeof exports && "object" == typeof module) {module.exports = f();} else if ("function" == typeof define && define.amd) {define("rrwebSnapshotReplay", [], f);} else if ("object" == typeof exports) {exports["rrwebSnapshotReplay"] = f();} else {g["rrwebSnapshotReplay"] = f();}}(typeof self !== 'undefined' ? self : typeof globalThis !== 'undefined' ? globalThis : this, () => {var exports = {};var module = { exports };
2
+ "use strict";var dr=Object.defineProperty,mr=Object.defineProperties;var gr=Object.getOwnPropertyDescriptors;var Z=Object.getOwnPropertySymbols;var st=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable;var it=(e,s,p)=>s in e?dr(e,s,{enumerable:!0,configurable:!0,writable:!0,value:p}):e[s]=p,L=(e,s)=>{for(var p in s||(s={}))st.call(s,p)&&it(e,p,s[p]);if(Z)for(var p of Z(s))nt.call(s,p)&&it(e,p,s[p]);return e},j=(e,s)=>mr(e,gr(s));var ae=(e,s)=>{var p={};for(var u in e)st.call(e,u)&&s.indexOf(u)<0&&(p[u]=e[u]);if(e!=null&&Z)for(var u of Z(e))s.indexOf(u)<0&&nt.call(e,u)&&(p[u]=e[u]);return p};var yr=(e,s)=>()=>(s||e((s={exports:{}}).exports,s),s.exports);var bt=yr(_=>{"use strict";var wr=Object.defineProperty,br=(e,s,p)=>s in e?wr(e,s,{enumerable:!0,configurable:!0,writable:!0,value:p}):e[s]=p,ot=(e,s,p)=>br(e,typeof s!="symbol"?s+"":s,p),z=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(z||{}),lt={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},at={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Y={};function Sr(e){var s,p;let u=(p=(s=globalThis==null?void 0:globalThis.Zone)==null?void 0:s.__symbol__)==null?void 0:p.call(s,e);if(u&&globalThis[u])return globalThis[u]}function pe(e){if(Y[e])return Y[e];let s=Sr(e)||globalThis[e],p=s.prototype,u=e in lt?lt[e]:void 0,l=!!(u&&u.every(f=>{var m,o;return!!((o=(m=Object.getOwnPropertyDescriptor(p,f))==null?void 0:m.get)!=null&&o.toString().includes("[native code]"))})),c=e in at?at[e]:void 0,a=!!(c&&c.every(f=>{var m;return typeof p[f]=="function"&&((m=p[f])==null?void 0:m.toString().includes("[native code]"))}));if(l&&a)return Y[e]=s.prototype,s.prototype;try{let f=document.createElement("iframe");document.body.appendChild(f);let m=f.contentWindow;if(!m)return s.prototype;let o=m[e].prototype;return document.body.removeChild(f),o?Y[e]=o:p}catch(f){return p}}var ue={};function q(e,s,p){var u;let l=`${e}.${String(p)}`;if(ue[l])return ue[l].call(s);let c=pe(e),a=(u=Object.getOwnPropertyDescriptor(c,p))==null?void 0:u.get;return a?(ue[l]=a,a.call(s)):s[p]}var fe={};function ct(e,s,p){let u=`${e}.${String(p)}`;if(fe[u])return fe[u].bind(s);let c=pe(e)[p];return typeof c!="function"?s[p]:(fe[u]=c,c.bind(s))}function Cr(e){return q("Node",e,"childNodes")}function xr(e){return q("Node",e,"parentNode")}function vr(e){return q("Node",e,"parentElement")}function Rr(e){return q("Node",e,"textContent")}function Er(e,s){return ct("Node",e,"contains")(s)}function Or(e){return ct("Node",e,"getRootNode")()}function Pr(e){return!e||!("host"in e)?null:q("ShadowRoot",e,"host")}function Ar(e){return e.styleSheets}function Mr(e){return!e||!("shadowRoot"in e)?null:q("Element",e,"shadowRoot")}function Nr(e,s){return q("Element",e,"querySelector")(s)}function Ir(e,s){return q("Element",e,"querySelectorAll")(s)}function _r(){return pe("MutationObserver").constructor}function Dr(e,s,p){try{if(!(s in e))return()=>{};let u=e[s],l=p(u);return typeof l=="function"&&(l.prototype=l.prototype||{},Object.defineProperties(l,{__rrweb_original__:{enumerable:!1,value:u}})),e[s]=l,()=>{e[s]=u}}catch(u){return()=>{}}}var ce={childNodes:Cr,parentNode:xr,parentElement:vr,textContent:Rr,contains:Er,getRootNode:Or,host:Pr,styleSheets:Ar,shadowRoot:Mr,querySelector:Nr,querySelectorAll:Ir,mutationObserver:_r,patch:Dr};function Tr(e){return e.nodeType===e.ELEMENT_NODE}function kr(e){let s=e&&"host"in e&&"mode"in e&&ce.host(e)||null;return!!(s&&"shadowRoot"in s&&ce.shadowRoot(s)===e)}function Lr(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function Br(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),e}function ht(e){let{cssText:s}=e;if(s.split('"').length<3)return s;let p=["@import",`url(${JSON.stringify(e.href)})`];return e.layerName===""?p.push("layer"):e.layerName&&p.push(`layer(${e.layerName})`),e.supportsText&&p.push(`supports(${e.supportsText})`),e.media.length&&p.push(e.media.mediaText),p.join(" ")+";"}function pt(e){try{let s=e.rules||e.cssRules;if(!s)return null;let p=e.href;!p&&e.ownerNode&&(p=e.ownerNode.baseURI);let u=Array.from(s,l=>dt(l,p)).join("");return Br(u)}catch(s){return null}}function dt(e,s){var p;if(gt(e)){let u;try{u=pt(e.styleSheet)||ht(e)}catch(l){u=e.cssText}try{if(u&&((p=e.styleSheet)!=null&&p.href))return he(u,e.styleSheet.href)}catch(l){}return u}else{let u=e.cssText;return yt(e)&&e.selectorText.includes(":")&&(u=mt(u)),s?he(u,s):u}}function mt(e){let s=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(s,"$1\\$2")}function gt(e){return"styleSheet"in e}function yt(e){return"selectorText"in e}var Q=class{constructor(){ot(this,"idNodeMap",new Map),ot(this,"nodeMetaMap",new WeakMap)}getId(s){var p;if(!s)return-1;let u=(p=this.getMeta(s))==null?void 0:p.id;return u!=null?u:-1}getNode(s){return this.idNodeMap.get(s)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(s){return this.nodeMetaMap.get(s)||null}removeNodeFromMap(s){let p=this.getId(s);this.idNodeMap.delete(p),s.childNodes&&s.childNodes.forEach(u=>this.removeNodeFromMap(u))}has(s){return this.idNodeMap.has(s)}hasNode(s){return this.nodeMetaMap.has(s)}add(s,p){let u=p.id;this.idNodeMap.set(u,s),this.nodeMetaMap.set(s,p)}replace(s,p){let u=this.getNode(s);if(u){let l=this.nodeMetaMap.get(u);l&&this.nodeMetaMap.set(p,l)}this.idNodeMap.set(s,p)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}};function Ur(){return new Q}function zr({element:e,maskInputOptions:s,tagName:p,type:u,value:l,maskInputFn:c}){let a=l||"",f=u&&de(u);return(s[p.toLowerCase()]||f&&s[f])&&(c?a=c(a,e):a="*".repeat(a.length)),a}function de(e){return e.toLowerCase()}var ut="__rrweb_original__";function qr(e){let s=e.getContext("2d");if(!s)return!0;let p=50;for(let u=0;u<e.width;u+=p)for(let l=0;l<e.height;l+=p){let c=s.getImageData,a=ut in c?c[ut]:c;if(new Uint32Array(a.call(s,u,l,Math.min(p,e.width-u),Math.min(p,e.height-l)).data.buffer).some(m=>m!==0))return!1}return!0}function Fr(e,s){return!e||!s||e.type!==s.type?!1:e.type===z.Document?e.compatMode===s.compatMode:e.type===z.DocumentType?e.name===s.name&&e.publicId===s.publicId&&e.systemId===s.systemId:e.type===z.Comment||e.type===z.Text||e.type===z.CDATA?e.textContent===s.textContent:e.type===z.Element?e.tagName===s.tagName&&JSON.stringify(e.attributes)===JSON.stringify(s.attributes)&&e.isSVG===s.isSVG&&e.needBlock===s.needBlock:!1}function Wr(e){let s=e.type;return e.hasAttribute("data-rr-is-password")?"password":s?de(s):null}function $r(e,s){var c;let p;try{p=new URL(e,s!=null?s:window.location.href)}catch(a){return null}let u=/\.([0-9a-z]+)(?:$)/i,l=p.pathname.match(u);return(c=l==null?void 0:l[1])!=null?c:null}function jr(e){let s="";return e.indexOf("//")>-1?s=e.split("/").slice(0,3).join("/"):s=e.split("/")[0],s=s.split("?")[0],s}var Vr=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Gr=/^(?:[a-z+]+:)?\/\//i,Hr=/^www\..*/i,Jr=/^(data:)([^,]*),(.*)/i;function he(e,s){return(e||"").replace(Vr,(p,u,l,c,a,f)=>{let m=l||a||f,o=u||c||"";if(!m)return p;if(Gr.test(m)||Hr.test(m))return`url(${o}${m}${o})`;if(Jr.test(m))return`url(${o}${m}${o})`;if(m[0]==="/")return`url(${o}${jr(s)+m}${o})`;let t=s.split("/"),n=m.split("/");t.pop();for(let i of n)i!=="."&&(i===".."?t.pop():t.push(i));return`url(${o}${t.join("/")}${o})`})}var Zr="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzPgogICAgPHBhdHRlcm4gaWQ9InN0cmlwZXMiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+CiAgICAgIDxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iYmxhY2siLz4KICAgICAgPHBhdGggZD0iTTggMEgxNkwwIDE2VjhMOCAwWiIgZmlsbD0iIzJEMkQyRCIvPgogICAgICA8cGF0aCBkPSJNMTYgOFYxNkg4TDE2IDhaIiBmaWxsPSIjMkQyRDJEIi8+CiAgICA8L3BhdHRlcm4+CiAgPC9kZWZzPgogIDxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjc3RyaXBlcykiLz4KPC9zdmc+Cg==",ft=4096;function Yr(e,s,p,u){if(!e.complete||e.naturalWidth===0||e.naturalWidth>ft||e.naturalHeight>ft)return s;try{let l=document.createElement("canvas");l.width=e.naturalWidth,l.height=e.naturalHeight;let c=l.getContext("2d");return c?(c.drawImage(e,0,0),l.toDataURL(p||"image/webp",u!=null?u:.4)):s}catch(l){return s}}function Qr(e,s){return!s||e.length<=s?e:Zr}var wt=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(wt||{});_.Mirror=Q;_.NodeType=wt;_.NodeType$1=z;_.absolutifyURLs=he;_.checkDataURLSize=Qr;_.createMirror=Ur;_.escapeImportStatement=ht;_.extractFileExtension=$r;_.fixSafariColons=mt;_.getInputType=Wr;_.index=ce;_.is2DCanvasBlank=qr;_.isCSSImportRule=gt;_.isCSSStyleRule=yt;_.isElement=Tr;_.isNativeShadowDom=Lr;_.isNodeMetaEqual=Fr;_.isShadowRoot=kr;_.maskInputValue=zr;_.recompressBase64Image=Yr;_.stringifyRule=dt;_.stringifyStylesheet=pt;_.toLowerCase=de});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var M=bt(),Kr=/(max|min)-device-(width|height)/,St=new RegExp(Kr.source,"g"),Xr={postcssPlugin:"postcss-custom-selectors",prepare(){return{postcssPlugin:"postcss-custom-selectors",AtRule:function(e){e.params.match(St)&&(e.params=e.params.replace(St,"$1-$2"))}}}},ei={postcssPlugin:"postcss-hover-classes",prepare:function(){let e=[];return{Rule:function(s){e.indexOf(s)===-1&&(e.push(s),s.selectors.forEach(function(p){p.includes(":hover")&&(s.selector+=`,
3
+ `+p.replace(/:hover/g,".\\:hover"))}))}}}};function Xt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ti(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var s=e.default;if(typeof s=="function"){var p=function u(){return this instanceof u?Reflect.construct(s,arguments,this.constructor):s.apply(this,arguments)};p.prototype=s.prototype}else p={};return Object.defineProperty(p,"__esModule",{value:!0}),Object.keys(e).forEach(function(u){var l=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(p,u,l.get?l:{enumerable:!0,get:function(){return e[u]}})}),p}var K={exports:{}},Ct;function ri(){if(Ct)return K.exports;Ct=1;var e=String,s=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e,blackBright:e,redBright:e,greenBright:e,yellowBright:e,blueBright:e,magentaBright:e,cyanBright:e,whiteBright:e,bgBlackBright:e,bgRedBright:e,bgGreenBright:e,bgYellowBright:e,bgBlueBright:e,bgMagentaBright:e,bgCyanBright:e,bgWhiteBright:e}};return K.exports=s(),K.exports.createColors=s,K.exports}var ii={},si=Object.freeze(Object.defineProperty({__proto__:null,default:ii},Symbol.toStringTag,{value:"Module"})),k=ti(si),me,xt;function je(){if(xt)return me;xt=1;let e=ri(),s=k;class p extends Error{constructor(l,c,a,f,m,o){super(l),this.name="CssSyntaxError",this.reason=l,m&&(this.file=m),f&&(this.source=f),o&&(this.plugin=o),typeof c!="undefined"&&typeof a!="undefined"&&(typeof c=="number"?(this.line=c,this.column=a):(this.line=c.line,this.column=c.column,this.endLine=a.line,this.endColumn=a.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,p)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line!="undefined"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(l){if(!this.source)return"";let c=this.source;l==null&&(l=e.isColorSupported);let a=r=>r,f=r=>r,m=r=>r;if(l){let{bold:r,gray:h,red:d}=e.createColors(!0);f=g=>r(d(g)),a=g=>h(g),s&&(m=g=>s(g))}let o=c.split(/\r?\n/),t=Math.max(this.line-3,0),n=Math.min(this.line+2,o.length),i=String(n).length;return o.slice(t,n).map((r,h)=>{let d=t+1+h,g=" "+(" "+d).slice(-i)+" | ";if(d===this.line){if(r.length>160){let w=20,C=Math.max(0,this.column-w),v=Math.max(this.column+w,this.endColumn+w),y=r.slice(C,v),b=a(g.replace(/\d/g," "))+r.slice(0,Math.min(this.column-1,w-1)).replace(/[^\t]/g," ");return f(">")+a(g)+m(y)+`
4
+ `+b+f("^")}let S=a(g.replace(/\d/g," "))+r.slice(0,this.column-1).replace(/[^\t]/g," ");return f(">")+a(g)+m(r)+`
5
+ `+S+f("^")}return" "+a(g)+m(r)}).join(`
6
+ `)}toString(){let l=this.showSourceCode();return l&&(l=`
19
7
 
20
- `+n+`
21
- `),this.name+": "+this.message+n}}return me=d,d.default=d,me}var ge,xt;function er(){if(xt)return ge;xt=1;let e={after:`
8
+ `+l+`
9
+ `),this.name+": "+this.message+l}}return me=p,p.default=p,me}var ge,vt;function er(){if(vt)return ge;vt=1;let e={after:`
22
10
  `,beforeClose:`
23
11
  `,beforeComment:`
24
12
  `,beforeDecl:`
25
13
  `,beforeOpen:" ",beforeRule:`
26
- `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function s(u){return u[0].toUpperCase()+u.slice(1)}class d{constructor(n){this.builder=n}atrule(n,f){let a="@"+n.name,c=n.params?this.rawValue(n,"params"):"";if(typeof n.raws.afterName!="undefined"?a+=n.raws.afterName:c&&(a+=" "),n.nodes)this.block(n,a+c);else{let m=(n.raws.between||"")+(f?";":"");this.builder(a+c+m,n)}}beforeAfter(n,f){let a;n.type==="decl"?a=this.raw(n,null,"beforeDecl"):n.type==="comment"?a=this.raw(n,null,"beforeComment"):f==="before"?a=this.raw(n,null,"beforeRule"):a=this.raw(n,null,"beforeClose");let c=n.parent,m=0;for(;c&&c.type!=="root";)m+=1,c=c.parent;if(a.includes(`
27
- `)){let o=this.raw(n,null,"indent");if(o.length)for(let t=0;t<m;t++)a+=o}return a}block(n,f){let a=this.raw(n,"between","beforeOpen");this.builder(f+a+"{",n,"start");let c;n.nodes&&n.nodes.length?(this.body(n),c=this.raw(n,"after")):c=this.raw(n,"after","emptyBody"),c&&this.builder(c),this.builder("}",n,"end")}body(n){let f=n.nodes.length-1;for(;f>0&&n.nodes[f].type==="comment";)f-=1;let a=this.raw(n,"semicolon");for(let c=0;c<n.nodes.length;c++){let m=n.nodes[c],o=this.raw(m,"before");o&&this.builder(o),this.stringify(m,f!==c||a)}}comment(n){let f=this.raw(n,"left","commentLeft"),a=this.raw(n,"right","commentRight");this.builder("/*"+f+n.text+a+"*/",n)}decl(n,f){let a=this.raw(n,"between","colon"),c=n.prop+a+this.rawValue(n,"value");n.important&&(c+=n.raws.important||" !important"),f&&(c+=";"),this.builder(c,n)}document(n){this.body(n)}raw(n,f,a){let c;if(a||(a=f),f&&(c=n.raws[f],typeof c!="undefined"))return c;let m=n.parent;if(a==="before"&&(!m||m.type==="root"&&m.first===n||m&&m.type==="document"))return"";if(!m)return e[a];let o=n.root();if(o.rawCache||(o.rawCache={}),typeof o.rawCache[a]!="undefined")return o.rawCache[a];if(a==="before"||a==="after")return this.beforeAfter(n,a);{let t="raw"+s(a);this[t]?c=this[t](o,n):o.walk(l=>{if(c=l.raws[f],typeof c!="undefined")return!1})}return typeof c=="undefined"&&(c=e[a]),o.rawCache[a]=c,c}rawBeforeClose(n){let f;return n.walk(a=>{if(a.nodes&&a.nodes.length>0&&typeof a.raws.after!="undefined")return f=a.raws.after,f.includes(`
28
- `)&&(f=f.replace(/[^\n]+$/,"")),!1}),f&&(f=f.replace(/\S/g,"")),f}rawBeforeComment(n,f){let a;return n.walkComments(c=>{if(typeof c.raws.before!="undefined")return a=c.raws.before,a.includes(`
29
- `)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a=="undefined"?a=this.raw(f,null,"beforeDecl"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeDecl(n,f){let a;return n.walkDecls(c=>{if(typeof c.raws.before!="undefined")return a=c.raws.before,a.includes(`
30
- `)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a=="undefined"?a=this.raw(f,null,"beforeRule"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeOpen(n){let f;return n.walk(a=>{if(a.type!=="decl"&&(f=a.raws.between,typeof f!="undefined"))return!1}),f}rawBeforeRule(n){let f;return n.walk(a=>{if(a.nodes&&(a.parent!==n||n.first!==a)&&typeof a.raws.before!="undefined")return f=a.raws.before,f.includes(`
31
- `)&&(f=f.replace(/[^\n]+$/,"")),!1}),f&&(f=f.replace(/\S/g,"")),f}rawColon(n){let f;return n.walkDecls(a=>{if(typeof a.raws.between!="undefined")return f=a.raws.between.replace(/[^\s:]/g,""),!1}),f}rawEmptyBody(n){let f;return n.walk(a=>{if(a.nodes&&a.nodes.length===0&&(f=a.raws.after,typeof f!="undefined"))return!1}),f}rawIndent(n){if(n.raws.indent)return n.raws.indent;let f;return n.walk(a=>{let c=a.parent;if(c&&c!==n&&c.parent&&c.parent===n&&typeof a.raws.before!="undefined"){let m=a.raws.before.split(`
32
- `);return f=m[m.length-1],f=f.replace(/\S/g,""),!1}}),f}rawSemicolon(n){let f;return n.walk(a=>{if(a.nodes&&a.nodes.length&&a.last.type==="decl"&&(f=a.raws.semicolon,typeof f!="undefined"))return!1}),f}rawValue(n,f){let a=n[f],c=n.raws[f];return c&&c.value===a?c.raw:a}root(n){this.body(n),n.raws.after&&this.builder(n.raws.after)}rule(n){this.block(n,this.rawValue(n,"selector")),n.raws.ownSemicolon&&this.builder(n.raws.ownSemicolon,n,"end")}stringify(n,f){if(!this[n.type])throw new Error("Unknown AST node type "+n.type+". Maybe you need to change PostCSS stringifier.");this[n.type](n,f)}}return ge=d,d.default=d,ge}var ye,Rt;function ee(){if(Rt)return ye;Rt=1;let e=er();function s(d,u){new e(u).stringify(d)}return ye=s,s.default=s,ye}var X={},Et;function Ve(){return Et||(Et=1,X.isClean=Symbol("isClean"),X.my=Symbol("my")),X}var we,Ot;function te(){if(Ot)return we;Ot=1;let e=je(),s=er(),d=ee(),{isClean:u,my:n}=Ve();function f(m,o){let t=new m.constructor;for(let l in m){if(!Object.prototype.hasOwnProperty.call(m,l)||l==="proxyCache")continue;let i=m[l],r=typeof i;l==="parent"&&r==="object"?o&&(t[l]=o):l==="source"?t[l]=i:Array.isArray(i)?t[l]=i.map(p=>f(p,t)):(r==="object"&&i!==null&&(i=f(i)),t[l]=i)}return t}function a(m,o){if(o&&typeof o.offset!="undefined")return o.offset;let t=1,l=1,i=0;for(let r=0;r<m.length;r++){if(l===o.line&&t===o.column){i=r;break}m[r]===`
33
- `?(t=1,l+=1):t+=1}return i}class c{constructor(o={}){this.raws={},this[u]=!1,this[n]=!0;for(let t in o)if(t==="nodes"){this.nodes=[];for(let l of o[t])typeof l.clone=="function"?this.append(l.clone()):this.append(l)}else this[t]=o[t]}addToError(o){if(o.postcssNode=this,o.stack&&this.source&&/\n\s{4}at /.test(o.stack)){let t=this.source;o.stack=o.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return o}after(o){return this.parent.insertAfter(this,o),this}assign(o={}){for(let t in o)this[t]=o[t];return this}before(o){return this.parent.insertBefore(this,o),this}cleanRaws(o){delete this.raws.before,delete this.raws.after,o||delete this.raws.between}clone(o={}){let t=f(this);for(let l in o)t[l]=o[l];return t}cloneAfter(o={}){let t=this.clone(o);return this.parent.insertAfter(this,t),t}cloneBefore(o={}){let t=this.clone(o);return this.parent.insertBefore(this,t),t}error(o,t={}){if(this.source){let{end:l,start:i}=this.rangeBy(t);return this.source.input.error(o,{column:i.column,line:i.line},{column:l.column,line:l.line},t)}return new e(o)}getProxyProcessor(){return{get(o,t){return t==="proxyOf"?o:t==="root"?()=>o.root().toProxy():o[t]},set(o,t,l){return o[t]===l||(o[t]=l,(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text")&&o.markDirty()),!0}}}markClean(){this[u]=!0}markDirty(){if(this[u]){this[u]=!1;let o=this;for(;o=o.parent;)o[u]=!1}}next(){if(!this.parent)return;let o=this.parent.index(this);return this.parent.nodes[o+1]}positionBy(o){let t=this.source.start;if(o.index)t=this.positionInside(o.index);else if(o.word){let l="document"in this.source.input?this.source.input.document:this.source.input.css,r=l.slice(a(l,this.source.start),a(l,this.source.end)).indexOf(o.word);r!==-1&&(t=this.positionInside(r))}return t}positionInside(o){let t=this.source.start.column,l=this.source.start.line,i="document"in this.source.input?this.source.input.document:this.source.input.css,r=a(i,this.source.start),p=r+o;for(let h=r;h<p;h++)i[h]===`
34
- `?(t=1,l+=1):t+=1;return{column:t,line:l}}prev(){if(!this.parent)return;let o=this.parent.index(this);return this.parent.nodes[o-1]}rangeBy(o){let t={column:this.source.start.column,line:this.source.start.line},l=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(o.word){let i="document"in this.source.input?this.source.input.document:this.source.input.css,p=i.slice(a(i,this.source.start),a(i,this.source.end)).indexOf(o.word);p!==-1&&(t=this.positionInside(p),l=this.positionInside(p+o.word.length))}else o.start?t={column:o.start.column,line:o.start.line}:o.index&&(t=this.positionInside(o.index)),o.end?l={column:o.end.column,line:o.end.line}:typeof o.endIndex=="number"?l=this.positionInside(o.endIndex):o.index&&(l=this.positionInside(o.index+1));return(l.line<t.line||l.line===t.line&&l.column<=t.column)&&(l={column:t.column+1,line:t.line}),{end:l,start:t}}raw(o,t){return new s().raw(this,o,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...o){if(this.parent){let t=this,l=!1;for(let i of o)i===this?l=!0:l?(this.parent.insertAfter(t,i),t=i):this.parent.insertBefore(t,i);l||this.remove()}return this}root(){let o=this;for(;o.parent&&o.parent.type!=="document";)o=o.parent;return o}toJSON(o,t){let l={},i=t==null;t=t||new Map;let r=0;for(let p in this){if(!Object.prototype.hasOwnProperty.call(this,p)||p==="parent"||p==="proxyCache")continue;let h=this[p];if(Array.isArray(h))l[p]=h.map(g=>typeof g=="object"&&g.toJSON?g.toJSON(null,t):g);else if(typeof h=="object"&&h.toJSON)l[p]=h.toJSON(null,t);else if(p==="source"){let g=t.get(h.input);g==null&&(g=r,t.set(h.input,r),r++),l[p]={end:h.end,inputId:g,start:h.start}}else l[p]=h}return i&&(l.inputs=[...t.keys()].map(p=>p.toJSON())),l}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(o=d){o.stringify&&(o=o.stringify);let t="";return o(this,l=>{t+=l}),t}warn(o,t,l){let i={node:this};for(let r in l)i[r]=l[r];return o.warn(t,i)}get proxyOf(){return this}}return we=c,c.default=c,we}var be,Pt;function V(){if(Pt)return be;Pt=1;let e=te();class s extends e{constructor(u){super(u),this.type="comment"}}return be=s,s.default=s,be}var Se,At;function re(){if(At)return Se;At=1;let e=te();class s extends e{constructor(u){u&&typeof u.value!="undefined"&&typeof u.value!="string"&&(u=j(L({},u),{value:String(u.value)})),super(u),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}return Se=s,s.default=s,Se}var Ce,Mt;function F(){if(Mt)return Ce;Mt=1;let e=V(),s=re(),d=te(),{isClean:u,my:n}=Ve(),f,a,c,m;function o(i){return i.map(r=>(r.nodes&&(r.nodes=o(r.nodes)),delete r.source,r))}function t(i){if(i[u]=!1,i.proxyOf.nodes)for(let r of i.proxyOf.nodes)t(r)}class l extends d{append(...r){for(let p of r){let h=this.normalize(p,this.last);for(let g of h)this.proxyOf.nodes.push(g)}return this.markDirty(),this}cleanRaws(r){if(super.cleanRaws(r),this.nodes)for(let p of this.nodes)p.cleanRaws(r)}each(r){if(!this.proxyOf.nodes)return;let p=this.getIterator(),h,g;for(;this.indexes[p]<this.proxyOf.nodes.length&&(h=this.indexes[p],g=r(this.proxyOf.nodes[h],h),g!==!1);)this.indexes[p]+=1;return delete this.indexes[p],g}every(r){return this.nodes.every(r)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let r=this.lastEach;return this.indexes[r]=0,r}getProxyProcessor(){return{get(r,p){return p==="proxyOf"?r:r[p]?p==="each"||typeof p=="string"&&p.startsWith("walk")?(...h)=>r[p](...h.map(g=>typeof g=="function"?(C,b)=>g(C.toProxy(),b):g)):p==="every"||p==="some"?h=>r[p]((g,...C)=>h(g.toProxy(),...C)):p==="root"?()=>r.root().toProxy():p==="nodes"?r.nodes.map(h=>h.toProxy()):p==="first"||p==="last"?r[p].toProxy():r[p]:r[p]},set(r,p,h){return r[p]===h||(r[p]=h,(p==="name"||p==="params"||p==="selector")&&r.markDirty()),!0}}}index(r){return typeof r=="number"?r:(r.proxyOf&&(r=r.proxyOf),this.proxyOf.nodes.indexOf(r))}insertAfter(r,p){let h=this.index(r),g=this.normalize(p,this.proxyOf.nodes[h]).reverse();h=this.index(r);for(let b of g)this.proxyOf.nodes.splice(h+1,0,b);let C;for(let b in this.indexes)C=this.indexes[b],h<C&&(this.indexes[b]=C+g.length);return this.markDirty(),this}insertBefore(r,p){let h=this.index(r),g=h===0?"prepend":!1,C=this.normalize(p,this.proxyOf.nodes[h],g).reverse();h=this.index(r);for(let S of C)this.proxyOf.nodes.splice(h,0,S);let b;for(let S in this.indexes)b=this.indexes[S],h<=b&&(this.indexes[S]=b+C.length);return this.markDirty(),this}normalize(r,p){if(typeof r=="string")r=o(a(r).nodes);else if(typeof r=="undefined")r=[];else if(Array.isArray(r)){r=r.slice(0);for(let g of r)g.parent&&g.parent.removeChild(g,"ignore")}else if(r.type==="root"&&this.type!=="document"){r=r.nodes.slice(0);for(let g of r)g.parent&&g.parent.removeChild(g,"ignore")}else if(r.type)r=[r];else if(r.prop){if(typeof r.value=="undefined")throw new Error("Value field is missed in node creation");typeof r.value!="string"&&(r.value=String(r.value)),r=[new s(r)]}else if(r.selector||r.selectors)r=[new m(r)];else if(r.name)r=[new f(r)];else if(r.text)r=[new e(r)];else throw new Error("Unknown node type in node creation");return r.map(g=>(g[n]||l.rebuild(g),g=g.proxyOf,g.parent&&g.parent.removeChild(g),g[u]&&t(g),g.raws||(g.raws={}),typeof g.raws.before=="undefined"&&p&&typeof p.raws.before!="undefined"&&(g.raws.before=p.raws.before.replace(/\S/g,"")),g.parent=this.proxyOf,g))}prepend(...r){r=r.reverse();for(let p of r){let h=this.normalize(p,this.first,"prepend").reverse();for(let g of h)this.proxyOf.nodes.unshift(g);for(let g in this.indexes)this.indexes[g]=this.indexes[g]+h.length}return this.markDirty(),this}push(r){return r.parent=this,this.proxyOf.nodes.push(r),this}removeAll(){for(let r of this.proxyOf.nodes)r.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(r){r=this.index(r),this.proxyOf.nodes[r].parent=void 0,this.proxyOf.nodes.splice(r,1);let p;for(let h in this.indexes)p=this.indexes[h],p>=r&&(this.indexes[h]=p-1);return this.markDirty(),this}replaceValues(r,p,h){return h||(h=p,p={}),this.walkDecls(g=>{p.props&&!p.props.includes(g.prop)||p.fast&&!g.value.includes(p.fast)||(g.value=g.value.replace(r,h))}),this.markDirty(),this}some(r){return this.nodes.some(r)}walk(r){return this.each((p,h)=>{let g;try{g=r(p,h)}catch(C){throw p.addToError(C)}return g!==!1&&p.walk&&(g=p.walk(r)),g})}walkAtRules(r,p){return p?r instanceof RegExp?this.walk((h,g)=>{if(h.type==="atrule"&&r.test(h.name))return p(h,g)}):this.walk((h,g)=>{if(h.type==="atrule"&&h.name===r)return p(h,g)}):(p=r,this.walk((h,g)=>{if(h.type==="atrule")return p(h,g)}))}walkComments(r){return this.walk((p,h)=>{if(p.type==="comment")return r(p,h)})}walkDecls(r,p){return p?r instanceof RegExp?this.walk((h,g)=>{if(h.type==="decl"&&r.test(h.prop))return p(h,g)}):this.walk((h,g)=>{if(h.type==="decl"&&h.prop===r)return p(h,g)}):(p=r,this.walk((h,g)=>{if(h.type==="decl")return p(h,g)}))}walkRules(r,p){return p?r instanceof RegExp?this.walk((h,g)=>{if(h.type==="rule"&&r.test(h.selector))return p(h,g)}):this.walk((h,g)=>{if(h.type==="rule"&&h.selector===r)return p(h,g)}):(p=r,this.walk((h,g)=>{if(h.type==="rule")return p(h,g)}))}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 l.registerParse=i=>{a=i},l.registerRule=i=>{m=i},l.registerAtRule=i=>{f=i},l.registerRoot=i=>{c=i},Ce=l,l.default=l,l.rebuild=i=>{i.type==="atrule"?Object.setPrototypeOf(i,f.prototype):i.type==="rule"?Object.setPrototypeOf(i,m.prototype):i.type==="decl"?Object.setPrototypeOf(i,s.prototype):i.type==="comment"?Object.setPrototypeOf(i,e.prototype):i.type==="root"&&Object.setPrototypeOf(i,c.prototype),i[n]=!0,i.nodes&&i.nodes.forEach(r=>{l.rebuild(r)})},Ce}var ve,Nt;function Ge(){if(Nt)return ve;Nt=1;let e=F();class s extends e{constructor(u){super(u),this.type="atrule"}append(...u){return this.proxyOf.nodes||(this.nodes=[]),super.append(...u)}prepend(...u){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...u)}}return ve=s,s.default=s,e.registerAtRule(s),ve}var xe,It;function He(){if(It)return xe;It=1;let e=F(),s,d;class u extends e{constructor(f){super(L({type:"document"},f)),this.nodes||(this.nodes=[])}toResult(f={}){return new s(new d,this,f).stringify()}}return u.registerLazyResult=n=>{s=n},u.registerProcessor=n=>{d=n},xe=u,u.default=u,xe}var Re,_t;function ni(){if(_t)return Re;_t=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return Re={nanoid:(u=21)=>{let n="",f=u|0;for(;f--;)n+=e[Math.random()*64|0];return n},customAlphabet:(u,n=21)=>(f=n)=>{let a="",c=f|0;for(;c--;)a+=u[Math.random()*u.length|0];return a}},Re}var Ee,Dt;function tr(){if(Dt)return Ee;Dt=1;let{existsSync:e,readFileSync:s}=k,{dirname:d,join:u}=k,{SourceMapConsumer:n,SourceMapGenerator:f}=k;function a(m){return Buffer?Buffer.from(m,"base64").toString():window.atob(m)}class c{constructor(o,t){if(t.map===!1)return;this.loadAnnotation(o),this.inline=this.startWith(this.annotation,"data:");let l=t.map?t.map.prev:void 0,i=this.loadMap(t.from,l);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=d(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new n(this.text)),this.consumerCache}decodeInline(o){let t=/^data:application\/json;charset=utf-?8;base64,/,l=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,r=/^data:application\/json,/,p=o.match(i)||o.match(r);if(p)return decodeURIComponent(o.substr(p[0].length));let h=o.match(t)||o.match(l);if(h)return a(o.substr(h[0].length));let g=o.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+g)}getAnnotationURL(o){return o.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(o){return typeof o!="object"?!1:typeof o.mappings=="string"||typeof o._mappings=="string"||Array.isArray(o.sections)}loadAnnotation(o){let t=o.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let l=o.lastIndexOf(t.pop()),i=o.indexOf("*/",l);l>-1&&i>-1&&(this.annotation=this.getAnnotationURL(o.substring(l,i)))}loadFile(o){if(this.root=d(o),e(o))return this.mapFile=o,s(o,"utf-8").toString().trim()}loadMap(o,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let l=t(o);if(l){let i=this.loadFile(l);if(!i)throw new Error("Unable to load previous source map: "+l.toString());return i}}else{if(t instanceof n)return f.fromSourceMap(t).toString();if(t instanceof f)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let l=this.annotation;return o&&(l=u(d(o),l)),this.loadFile(l)}}}startWith(o,t){return o?o.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Ee=c,c.default=c,Ee}var Oe,Tt;function ie(){if(Tt)return Oe;Tt=1;let{nanoid:e}=ni(),{isAbsolute:s,resolve:d}=k,{SourceMapConsumer:u,SourceMapGenerator:n}=k,{fileURLToPath:f,pathToFileURL:a}=k,c=je(),m=tr(),o=k,t=Symbol("fromOffsetCache"),l=!!(u&&n),i=!!(d&&s);class r{constructor(h,g={}){if(h===null||typeof h=="undefined"||typeof h=="object"&&!h.toString)throw new Error(`PostCSS received ${h} instead of CSS string`);if(this.css=h.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,g.document&&(this.document=g.document.toString()),g.from&&(!i||/^\w+:\/\//.test(g.from)||s(g.from)?this.file=g.from:this.file=d(g.from)),i&&l){let C=new m(this.css,g);if(C.text){this.map=C;let b=C.consumer().file;!this.file&&b&&(this.file=this.mapResolve(b))}}this.file||(this.id="<input css "+e(6)+">"),this.map&&(this.map.file=this.from)}error(h,g,C,b={}){let S,x,w;if(g&&typeof g=="object"){let v=g,E=C;if(typeof v.offset=="number"){let M=this.fromOffset(v.offset);g=M.line,C=M.col}else g=v.line,C=v.column;if(typeof E.offset=="number"){let M=this.fromOffset(E.offset);x=M.line,S=M.col}else x=E.line,S=E.column}else if(!C){let v=this.fromOffset(g);g=v.line,C=v.col}let y=this.origin(g,C,x,S);return y?w=new c(h,y.endLine===void 0?y.line:{column:y.column,line:y.line},y.endLine===void 0?y.column:{column:y.endColumn,line:y.endLine},y.source,y.file,b.plugin):w=new c(h,x===void 0?g:{column:C,line:g},x===void 0?C:{column:S,line:x},this.css,this.file,b.plugin),w.input={column:C,endColumn:S,endLine:x,line:g,source:this.css},this.file&&(a&&(w.input.url=a(this.file).toString()),w.input.file=this.file),w}fromOffset(h){let g,C;if(this[t])C=this[t];else{let S=this.css.split(`
35
- `);C=new Array(S.length);let x=0;for(let w=0,y=S.length;w<y;w++)C[w]=x,x+=S[w].length+1;this[t]=C}g=C[C.length-1];let b=0;if(h>=g)b=C.length-1;else{let S=C.length-2,x;for(;b<S;)if(x=b+(S-b>>1),h<C[x])S=x-1;else if(h>=C[x+1])b=x+1;else{b=x;break}}return{col:h-C[b]+1,line:b+1}}mapResolve(h){return/^\w+:\/\//.test(h)?h:d(this.map.consumer().sourceRoot||this.map.root||".",h)}origin(h,g,C,b){if(!this.map)return!1;let S=this.map.consumer(),x=S.originalPositionFor({column:g,line:h});if(!x.source)return!1;let w;typeof C=="number"&&(w=S.originalPositionFor({column:b,line:C}));let y;s(x.source)?y=a(x.source):y=new URL(x.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let v={column:x.column,endColumn:w&&w.column,endLine:w&&w.line,line:x.line,url:y.toString()};if(y.protocol==="file:")if(f)v.file=f(y);else throw new Error("file: protocol is not available in this PostCSS build");let E=S.sourceContentFor(x.source);return E&&(v.source=E),v}toJSON(){let h={};for(let g of["hasBOM","css","file","id"])this[g]!=null&&(h[g]=this[g]);return this.map&&(h.map=L({},this.map),h.map.consumerCache&&(h.map.consumerCache=void 0)),h}get from(){return this.file||this.id}}return Oe=r,r.default=r,o&&o.registerInput&&o.registerInput(r),Oe}var Pe,kt;function G(){if(kt)return Pe;kt=1;let e=F(),s,d;class u extends e{constructor(f){super(f),this.type="root",this.nodes||(this.nodes=[])}normalize(f,a,c){let m=super.normalize(f);if(a){if(c==="prepend")this.nodes.length>1?a.raws.before=this.nodes[1].raws.before:delete a.raws.before;else if(this.first!==a)for(let o of m)o.raws.before=a.raws.before}return m}removeChild(f,a){let c=this.index(f);return!a&&c===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[c].raws.before),super.removeChild(f)}toResult(f={}){return new s(new d,this,f).stringify()}}return u.registerLazyResult=n=>{s=n},u.registerProcessor=n=>{d=n},Pe=u,u.default=u,e.registerRoot(u),Pe}var Ae,Lt;function rr(){if(Lt)return Ae;Lt=1;let e={comma(s){return e.split(s,[","],!0)},space(s){let d=[" ",`
36
- `," "];return e.split(s,d)},split(s,d,u){let n=[],f="",a=!1,c=0,m=!1,o="",t=!1;for(let l of s)t?t=!1:l==="\\"?t=!0:m?l===o&&(m=!1):l==='"'||l==="'"?(m=!0,o=l):l==="("?c+=1:l===")"?c>0&&(c-=1):c===0&&d.includes(l)&&(a=!0),a?(f!==""&&n.push(f.trim()),f="",a=!1):f+=l;return(u||f!=="")&&n.push(f.trim()),n}};return Ae=e,e.default=e,Ae}var Me,Bt;function Je(){if(Bt)return Me;Bt=1;let e=F(),s=rr();class d extends e{constructor(n){super(n),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return s.comma(this.selector)}set selectors(n){let f=this.selector?this.selector.match(/,\s*/):null,a=f?f[0]:","+this.raw("between","beforeOpen");this.selector=n.join(a)}}return Me=d,d.default=d,e.registerRule(d),Me}var Ne,Ut;function oi(){if(Ut)return Ne;Ut=1;let e=Ge(),s=V(),d=re(),u=ie(),n=tr(),f=G(),a=Je();function c(m,o){if(Array.isArray(m))return m.map(p=>c(p));let i=m,{inputs:t}=i,l=ae(i,["inputs"]);if(t){o=[];for(let p of t){let h=j(L({},p),{__proto__:u.prototype});h.map&&(h.map=j(L({},h.map),{__proto__:n.prototype})),o.push(h)}}if(l.nodes&&(l.nodes=m.nodes.map(p=>c(p,o))),l.source){let r=l.source,{inputId:p}=r,h=ae(r,["inputId"]);l.source=h,p!=null&&(l.source.input=o[p])}if(l.type==="root")return new f(l);if(l.type==="decl")return new d(l);if(l.type==="rule")return new a(l);if(l.type==="comment")return new s(l);if(l.type==="atrule")return new e(l);throw new Error("Unknown node type: "+m.type)}return Ne=c,c.default=c,Ne}var Ie,zt;function ir(){if(zt)return Ie;zt=1;let{dirname:e,relative:s,resolve:d,sep:u}=k,{SourceMapConsumer:n,SourceMapGenerator:f}=k,{pathToFileURL:a}=k,c=ie(),m=!!(n&&f),o=!!(e&&d&&s&&u);class t{constructor(i,r,p,h){this.stringify=i,this.mapOpts=p.map||{},this.root=r,this.opts=p,this.css=h,this.originalCSS=h,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let i;this.isInline()?i="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?i=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?i=this.mapOpts.annotation(this.opts.to,this.root):i=this.outputFile()+".map";let r=`
14
+ `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function s(u){return u[0].toUpperCase()+u.slice(1)}class p{constructor(l){this.builder=l}atrule(l,c){let a="@"+l.name,f=l.params?this.rawValue(l,"params"):"";if(typeof l.raws.afterName!="undefined"?a+=l.raws.afterName:f&&(a+=" "),l.nodes)this.block(l,a+f);else{let m=(l.raws.between||"")+(c?";":"");this.builder(a+f+m,l)}}beforeAfter(l,c){let a;l.type==="decl"?a=this.raw(l,null,"beforeDecl"):l.type==="comment"?a=this.raw(l,null,"beforeComment"):c==="before"?a=this.raw(l,null,"beforeRule"):a=this.raw(l,null,"beforeClose");let f=l.parent,m=0;for(;f&&f.type!=="root";)m+=1,f=f.parent;if(a.includes(`
15
+ `)){let o=this.raw(l,null,"indent");if(o.length)for(let t=0;t<m;t++)a+=o}return a}block(l,c){let a=this.raw(l,"between","beforeOpen");this.builder(c+a+"{",l,"start");let f;l.nodes&&l.nodes.length?(this.body(l),f=this.raw(l,"after")):f=this.raw(l,"after","emptyBody"),f&&this.builder(f),this.builder("}",l,"end")}body(l){let c=l.nodes.length-1;for(;c>0&&l.nodes[c].type==="comment";)c-=1;let a=this.raw(l,"semicolon");for(let f=0;f<l.nodes.length;f++){let m=l.nodes[f],o=this.raw(m,"before");o&&this.builder(o),this.stringify(m,c!==f||a)}}comment(l){let c=this.raw(l,"left","commentLeft"),a=this.raw(l,"right","commentRight");this.builder("/*"+c+l.text+a+"*/",l)}decl(l,c){let a=this.raw(l,"between","colon"),f=l.prop+a+this.rawValue(l,"value");l.important&&(f+=l.raws.important||" !important"),c&&(f+=";"),this.builder(f,l)}document(l){this.body(l)}raw(l,c,a){let f;if(a||(a=c),c&&(f=l.raws[c],typeof f!="undefined"))return f;let m=l.parent;if(a==="before"&&(!m||m.type==="root"&&m.first===l||m&&m.type==="document"))return"";if(!m)return e[a];let o=l.root();if(o.rawCache||(o.rawCache={}),typeof o.rawCache[a]!="undefined")return o.rawCache[a];if(a==="before"||a==="after")return this.beforeAfter(l,a);{let t="raw"+s(a);this[t]?f=this[t](o,l):o.walk(n=>{if(f=n.raws[c],typeof f!="undefined")return!1})}return typeof f=="undefined"&&(f=e[a]),o.rawCache[a]=f,f}rawBeforeClose(l){let c;return l.walk(a=>{if(a.nodes&&a.nodes.length>0&&typeof a.raws.after!="undefined")return c=a.raws.after,c.includes(`
16
+ `)&&(c=c.replace(/[^\n]+$/,"")),!1}),c&&(c=c.replace(/\S/g,"")),c}rawBeforeComment(l,c){let a;return l.walkComments(f=>{if(typeof f.raws.before!="undefined")return a=f.raws.before,a.includes(`
17
+ `)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a=="undefined"?a=this.raw(c,null,"beforeDecl"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeDecl(l,c){let a;return l.walkDecls(f=>{if(typeof f.raws.before!="undefined")return a=f.raws.before,a.includes(`
18
+ `)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a=="undefined"?a=this.raw(c,null,"beforeRule"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeOpen(l){let c;return l.walk(a=>{if(a.type!=="decl"&&(c=a.raws.between,typeof c!="undefined"))return!1}),c}rawBeforeRule(l){let c;return l.walk(a=>{if(a.nodes&&(a.parent!==l||l.first!==a)&&typeof a.raws.before!="undefined")return c=a.raws.before,c.includes(`
19
+ `)&&(c=c.replace(/[^\n]+$/,"")),!1}),c&&(c=c.replace(/\S/g,"")),c}rawColon(l){let c;return l.walkDecls(a=>{if(typeof a.raws.between!="undefined")return c=a.raws.between.replace(/[^\s:]/g,""),!1}),c}rawEmptyBody(l){let c;return l.walk(a=>{if(a.nodes&&a.nodes.length===0&&(c=a.raws.after,typeof c!="undefined"))return!1}),c}rawIndent(l){if(l.raws.indent)return l.raws.indent;let c;return l.walk(a=>{let f=a.parent;if(f&&f!==l&&f.parent&&f.parent===l&&typeof a.raws.before!="undefined"){let m=a.raws.before.split(`
20
+ `);return c=m[m.length-1],c=c.replace(/\S/g,""),!1}}),c}rawSemicolon(l){let c;return l.walk(a=>{if(a.nodes&&a.nodes.length&&a.last.type==="decl"&&(c=a.raws.semicolon,typeof c!="undefined"))return!1}),c}rawValue(l,c){let a=l[c],f=l.raws[c];return f&&f.value===a?f.raw:a}root(l){this.body(l),l.raws.after&&this.builder(l.raws.after)}rule(l){this.block(l,this.rawValue(l,"selector")),l.raws.ownSemicolon&&this.builder(l.raws.ownSemicolon,l,"end")}stringify(l,c){if(!this[l.type])throw new Error("Unknown AST node type "+l.type+". Maybe you need to change PostCSS stringifier.");this[l.type](l,c)}}return ge=p,p.default=p,ge}var ye,Rt;function ee(){if(Rt)return ye;Rt=1;let e=er();function s(p,u){new e(u).stringify(p)}return ye=s,s.default=s,ye}var X={},Et;function Ve(){return Et||(Et=1,X.isClean=Symbol("isClean"),X.my=Symbol("my")),X}var we,Ot;function te(){if(Ot)return we;Ot=1;let e=je(),s=er(),p=ee(),{isClean:u,my:l}=Ve();function c(m,o){let t=new m.constructor;for(let n in m){if(!Object.prototype.hasOwnProperty.call(m,n)||n==="proxyCache")continue;let i=m[n],r=typeof i;n==="parent"&&r==="object"?o&&(t[n]=o):n==="source"?t[n]=i:Array.isArray(i)?t[n]=i.map(h=>c(h,t)):(r==="object"&&i!==null&&(i=c(i)),t[n]=i)}return t}function a(m,o){if(o&&typeof o.offset!="undefined")return o.offset;let t=1,n=1,i=0;for(let r=0;r<m.length;r++){if(n===o.line&&t===o.column){i=r;break}m[r]===`
21
+ `?(t=1,n+=1):t+=1}return i}class f{get proxyOf(){return this}constructor(o={}){this.raws={},this[u]=!1,this[l]=!0;for(let t in o)if(t==="nodes"){this.nodes=[];for(let n of o[t])typeof n.clone=="function"?this.append(n.clone()):this.append(n)}else this[t]=o[t]}addToError(o){if(o.postcssNode=this,o.stack&&this.source&&/\n\s{4}at /.test(o.stack)){let t=this.source;o.stack=o.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return o}after(o){return this.parent.insertAfter(this,o),this}assign(o={}){for(let t in o)this[t]=o[t];return this}before(o){return this.parent.insertBefore(this,o),this}cleanRaws(o){delete this.raws.before,delete this.raws.after,o||delete this.raws.between}clone(o={}){let t=c(this);for(let n in o)t[n]=o[n];return t}cloneAfter(o={}){let t=this.clone(o);return this.parent.insertAfter(this,t),t}cloneBefore(o={}){let t=this.clone(o);return this.parent.insertBefore(this,t),t}error(o,t={}){if(this.source){let{end:n,start:i}=this.rangeBy(t);return this.source.input.error(o,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new e(o)}getProxyProcessor(){return{get(o,t){return t==="proxyOf"?o:t==="root"?()=>o.root().toProxy():o[t]},set(o,t,n){return o[t]===n||(o[t]=n,(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text")&&o.markDirty()),!0}}}markClean(){this[u]=!0}markDirty(){if(this[u]){this[u]=!1;let o=this;for(;o=o.parent;)o[u]=!1}}next(){if(!this.parent)return;let o=this.parent.index(this);return this.parent.nodes[o+1]}positionBy(o={}){let t=this.source.start;if(o.index)t=this.positionInside(o.index);else if(o.word){let n="document"in this.source.input?this.source.input.document:this.source.input.css,r=n.slice(a(n,this.source.start),a(n,this.source.end)).indexOf(o.word);r!==-1&&(t=this.positionInside(r))}return t}positionInside(o){let t=this.source.start.column,n=this.source.start.line,i="document"in this.source.input?this.source.input.document:this.source.input.css,r=a(i,this.source.start),h=r+o;for(let d=r;d<h;d++)i[d]===`
22
+ `?(t=1,n+=1):t+=1;return{column:t,line:n,offset:h}}prev(){if(!this.parent)return;let o=this.parent.index(this);return this.parent.nodes[o-1]}rangeBy(o={}){let t="document"in this.source.input?this.source.input.document:this.source.input.css,n={column:this.source.start.column,line:this.source.start.line,offset:a(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:a(t,this.source.end)+1}:{column:n.column+1,line:n.line,offset:n.offset+1};if(o.word){let h=t.slice(a(t,this.source.start),a(t,this.source.end)).indexOf(o.word);h!==-1&&(n=this.positionInside(h),i=this.positionInside(h+o.word.length))}else o.start?n={column:o.start.column,line:o.start.line,offset:a(t,o.start)}:o.index&&(n=this.positionInside(o.index)),o.end?i={column:o.end.column,line:o.end.line,offset:a(t,o.end)}:typeof o.endIndex=="number"?i=this.positionInside(o.endIndex):o.index&&(i=this.positionInside(o.index+1));return(i.line<n.line||i.line===n.line&&i.column<=n.column)&&(i={column:n.column+1,line:n.line,offset:n.offset+1}),{end:i,start:n}}raw(o,t){return new s().raw(this,o,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...o){if(this.parent){let t=this,n=!1;for(let i of o)i===this?n=!0:n?(this.parent.insertAfter(t,i),t=i):this.parent.insertBefore(t,i);n||this.remove()}return this}root(){let o=this;for(;o.parent&&o.parent.type!=="document";)o=o.parent;return o}toJSON(o,t){let n={},i=t==null;t=t||new Map;let r=0;for(let h in this){if(!Object.prototype.hasOwnProperty.call(this,h)||h==="parent"||h==="proxyCache")continue;let d=this[h];if(Array.isArray(d))n[h]=d.map(g=>typeof g=="object"&&g.toJSON?g.toJSON(null,t):g);else if(typeof d=="object"&&d.toJSON)n[h]=d.toJSON(null,t);else if(h==="source"){if(d==null)continue;let g=t.get(d.input);g==null&&(g=r,t.set(d.input,r),r++),n[h]={end:d.end,inputId:g,start:d.start}}else n[h]=d}return i&&(n.inputs=[...t.keys()].map(h=>h.toJSON())),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(o=p){o.stringify&&(o=o.stringify);let t="";return o(this,n=>{t+=n}),t}warn(o,t,n={}){let i={node:this};for(let r in n)i[r]=n[r];return o.warn(t,i)}}return we=f,f.default=f,we}var be,Pt;function V(){if(Pt)return be;Pt=1;let e=te();class s extends e{constructor(u){super(u),this.type="comment"}}return be=s,s.default=s,be}var Se,At;function re(){if(At)return Se;At=1;let e=te();class s extends e{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(u){u&&typeof u.value!="undefined"&&typeof u.value!="string"&&(u=j(L({},u),{value:String(u.value)})),super(u),this.type="decl"}}return Se=s,s.default=s,Se}var Ce,Mt;function F(){if(Mt)return Ce;Mt=1;let e=V(),s=re(),p=te(),{isClean:u,my:l}=Ve(),c,a,f,m;function o(i){return i.map(r=>(r.nodes&&(r.nodes=o(r.nodes)),delete r.source,r))}function t(i){if(i[u]=!1,i.proxyOf.nodes)for(let r of i.proxyOf.nodes)t(r)}class n extends p{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(...r){for(let h of r){let d=this.normalize(h,this.last);for(let g of d)this.proxyOf.nodes.push(g)}return this.markDirty(),this}cleanRaws(r){if(super.cleanRaws(r),this.nodes)for(let h of this.nodes)h.cleanRaws(r)}each(r){if(!this.proxyOf.nodes)return;let h=this.getIterator(),d,g;for(;this.indexes[h]<this.proxyOf.nodes.length&&(d=this.indexes[h],g=r(this.proxyOf.nodes[d],d),g!==!1);)this.indexes[h]+=1;return delete this.indexes[h],g}every(r){return this.nodes.every(r)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let r=this.lastEach;return this.indexes[r]=0,r}getProxyProcessor(){return{get(r,h){return h==="proxyOf"?r:r[h]?h==="each"||typeof h=="string"&&h.startsWith("walk")?(...d)=>r[h](...d.map(g=>typeof g=="function"?(S,w)=>g(S.toProxy(),w):g)):h==="every"||h==="some"?d=>r[h]((g,...S)=>d(g.toProxy(),...S)):h==="root"?()=>r.root().toProxy():h==="nodes"?r.nodes.map(d=>d.toProxy()):h==="first"||h==="last"?r[h].toProxy():r[h]:r[h]},set(r,h,d){return r[h]===d||(r[h]=d,(h==="name"||h==="params"||h==="selector")&&r.markDirty()),!0}}}index(r){return typeof r=="number"?r:(r.proxyOf&&(r=r.proxyOf),this.proxyOf.nodes.indexOf(r))}insertAfter(r,h){let d=this.index(r),g=this.normalize(h,this.proxyOf.nodes[d]).reverse();d=this.index(r);for(let w of g)this.proxyOf.nodes.splice(d+1,0,w);let S;for(let w in this.indexes)S=this.indexes[w],d<S&&(this.indexes[w]=S+g.length);return this.markDirty(),this}insertBefore(r,h){let d=this.index(r),g=d===0?"prepend":!1,S=this.normalize(h,this.proxyOf.nodes[d],g).reverse();d=this.index(r);for(let C of S)this.proxyOf.nodes.splice(d,0,C);let w;for(let C in this.indexes)w=this.indexes[C],d<=w&&(this.indexes[C]=w+S.length);return this.markDirty(),this}normalize(r,h){if(typeof r=="string")r=o(a(r).nodes);else if(typeof r=="undefined")r=[];else if(Array.isArray(r)){r=r.slice(0);for(let g of r)g.parent&&g.parent.removeChild(g,"ignore")}else if(r.type==="root"&&this.type!=="document"){r=r.nodes.slice(0);for(let g of r)g.parent&&g.parent.removeChild(g,"ignore")}else if(r.type)r=[r];else if(r.prop){if(typeof r.value=="undefined")throw new Error("Value field is missed in node creation");typeof r.value!="string"&&(r.value=String(r.value)),r=[new s(r)]}else if(r.selector||r.selectors)r=[new m(r)];else if(r.name)r=[new c(r)];else if(r.text)r=[new e(r)];else throw new Error("Unknown node type in node creation");return r.map(g=>(g[l]||n.rebuild(g),g=g.proxyOf,g.parent&&g.parent.removeChild(g),g[u]&&t(g),g.raws||(g.raws={}),typeof g.raws.before=="undefined"&&h&&typeof h.raws.before!="undefined"&&(g.raws.before=h.raws.before.replace(/\S/g,"")),g.parent=this.proxyOf,g))}prepend(...r){r=r.reverse();for(let h of r){let d=this.normalize(h,this.first,"prepend").reverse();for(let g of d)this.proxyOf.nodes.unshift(g);for(let g in this.indexes)this.indexes[g]=this.indexes[g]+d.length}return this.markDirty(),this}push(r){return r.parent=this,this.proxyOf.nodes.push(r),this}removeAll(){for(let r of this.proxyOf.nodes)r.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(r){r=this.index(r),this.proxyOf.nodes[r].parent=void 0,this.proxyOf.nodes.splice(r,1);let h;for(let d in this.indexes)h=this.indexes[d],h>=r&&(this.indexes[d]=h-1);return this.markDirty(),this}replaceValues(r,h,d){return d||(d=h,h={}),this.walkDecls(g=>{h.props&&!h.props.includes(g.prop)||h.fast&&!g.value.includes(h.fast)||(g.value=g.value.replace(r,d))}),this.markDirty(),this}some(r){return this.nodes.some(r)}walk(r){return this.each((h,d)=>{let g;try{g=r(h,d)}catch(S){throw h.addToError(S)}return g!==!1&&h.walk&&(g=h.walk(r)),g})}walkAtRules(r,h){return h?r instanceof RegExp?this.walk((d,g)=>{if(d.type==="atrule"&&r.test(d.name))return h(d,g)}):this.walk((d,g)=>{if(d.type==="atrule"&&d.name===r)return h(d,g)}):(h=r,this.walk((d,g)=>{if(d.type==="atrule")return h(d,g)}))}walkComments(r){return this.walk((h,d)=>{if(h.type==="comment")return r(h,d)})}walkDecls(r,h){return h?r instanceof RegExp?this.walk((d,g)=>{if(d.type==="decl"&&r.test(d.prop))return h(d,g)}):this.walk((d,g)=>{if(d.type==="decl"&&d.prop===r)return h(d,g)}):(h=r,this.walk((d,g)=>{if(d.type==="decl")return h(d,g)}))}walkRules(r,h){return h?r instanceof RegExp?this.walk((d,g)=>{if(d.type==="rule"&&r.test(d.selector))return h(d,g)}):this.walk((d,g)=>{if(d.type==="rule"&&d.selector===r)return h(d,g)}):(h=r,this.walk((d,g)=>{if(d.type==="rule")return h(d,g)}))}}return n.registerParse=i=>{a=i},n.registerRule=i=>{m=i},n.registerAtRule=i=>{c=i},n.registerRoot=i=>{f=i},Ce=n,n.default=n,n.rebuild=i=>{i.type==="atrule"?Object.setPrototypeOf(i,c.prototype):i.type==="rule"?Object.setPrototypeOf(i,m.prototype):i.type==="decl"?Object.setPrototypeOf(i,s.prototype):i.type==="comment"?Object.setPrototypeOf(i,e.prototype):i.type==="root"&&Object.setPrototypeOf(i,f.prototype),i[l]=!0,i.nodes&&i.nodes.forEach(r=>{n.rebuild(r)})},Ce}var xe,Nt;function Ge(){if(Nt)return xe;Nt=1;let e=F();class s extends e{constructor(u){super(u),this.type="atrule"}append(...u){return this.proxyOf.nodes||(this.nodes=[]),super.append(...u)}prepend(...u){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...u)}}return xe=s,s.default=s,e.registerAtRule(s),xe}var ve,It;function He(){if(It)return ve;It=1;let e=F(),s,p;class u extends e{constructor(c){super(L({type:"document"},c)),this.nodes||(this.nodes=[])}toResult(c={}){return new s(new p,this,c).stringify()}}return u.registerLazyResult=l=>{s=l},u.registerProcessor=l=>{p=l},ve=u,u.default=u,ve}var Re,_t;function ni(){if(_t)return Re;_t=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return Re={nanoid:(u=21)=>{let l="",c=u|0;for(;c--;)l+=e[Math.random()*64|0];return l},customAlphabet:(u,l=21)=>(c=l)=>{let a="",f=c|0;for(;f--;)a+=u[Math.random()*u.length|0];return a}},Re}var Ee,Dt;function tr(){if(Dt)return Ee;Dt=1;let{existsSync:e,readFileSync:s}=k,{dirname:p,join:u}=k,{SourceMapConsumer:l,SourceMapGenerator:c}=k;function a(m){return Buffer?Buffer.from(m,"base64").toString():window.atob(m)}class f{constructor(o,t){if(t.map===!1)return;this.loadAnnotation(o),this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:void 0,i=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=p(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new l(this.text)),this.consumerCache}decodeInline(o){let t=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,r=/^data:application\/json,/,h=o.match(i)||o.match(r);if(h)return decodeURIComponent(o.substr(h[0].length));let d=o.match(t)||o.match(n);if(d)return a(o.substr(d[0].length));let g=o.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+g)}getAnnotationURL(o){return o.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(o){return typeof o!="object"?!1:typeof o.mappings=="string"||typeof o._mappings=="string"||Array.isArray(o.sections)}loadAnnotation(o){let t=o.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let n=o.lastIndexOf(t.pop()),i=o.indexOf("*/",n);n>-1&&i>-1&&(this.annotation=this.getAnnotationURL(o.substring(n,i)))}loadFile(o){if(this.root=p(o),e(o))return this.mapFile=o,s(o,"utf-8").toString().trim()}loadMap(o,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let n=t(o);if(n){let i=this.loadFile(n);if(!i)throw new Error("Unable to load previous source map: "+n.toString());return i}}else{if(t instanceof l)return c.fromSourceMap(t).toString();if(t instanceof c)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let n=this.annotation;return o&&(n=u(p(o),n)),this.loadFile(n)}}}startWith(o,t){return o?o.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Ee=f,f.default=f,Ee}var Oe,Tt;function ie(){if(Tt)return Oe;Tt=1;let{nanoid:e}=ni(),{isAbsolute:s,resolve:p}=k,{SourceMapConsumer:u,SourceMapGenerator:l}=k,{fileURLToPath:c,pathToFileURL:a}=k,f=je(),m=tr(),o=k,t=Symbol("lineToIndexCache"),n=!!(u&&l),i=!!(p&&s);function r(d){if(d[t])return d[t];let g=d.css.split(`
23
+ `),S=new Array(g.length),w=0;for(let C=0,v=g.length;C<v;C++)S[C]=w,w+=g[C].length+1;return d[t]=S,S}class h{get from(){return this.file||this.id}constructor(g,S={}){if(g===null||typeof g=="undefined"||typeof g=="object"&&!g.toString)throw new Error(`PostCSS received ${g} instead of CSS string`);if(this.css=g.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,S.document&&(this.document=S.document.toString()),S.from&&(!i||/^\w+:\/\//.test(S.from)||s(S.from)?this.file=S.from:this.file=p(S.from)),i&&n){let w=new m(this.css,S);if(w.text){this.map=w;let C=w.consumer().file;!this.file&&C&&(this.file=this.mapResolve(C))}}this.file||(this.id="<input css "+e(6)+">"),this.map&&(this.map.file=this.from)}error(g,S,w,C={}){let v,y,b,x,R;if(S&&typeof S=="object"){let E=S,D=w;if(typeof E.offset=="number"){x=E.offset;let N=this.fromOffset(x);S=N.line,w=N.col}else S=E.line,w=E.column,x=this.fromLineAndColumn(S,w);if(typeof D.offset=="number"){b=D.offset;let N=this.fromOffset(b);y=N.line,v=N.col}else y=D.line,v=D.column,b=this.fromLineAndColumn(D.line,D.column)}else if(w)x=this.fromLineAndColumn(S,w);else{x=S;let E=this.fromOffset(x);S=E.line,w=E.col}let P=this.origin(S,w,y,v);return P?R=new f(g,P.endLine===void 0?P.line:{column:P.column,line:P.line},P.endLine===void 0?P.column:{column:P.endColumn,line:P.endLine},P.source,P.file,C.plugin):R=new f(g,y===void 0?S:{column:w,line:S},y===void 0?w:{column:v,line:y},this.css,this.file,C.plugin),R.input={column:w,endColumn:v,endLine:y,endOffset:b,line:S,offset:x,source:this.css},this.file&&(a&&(R.input.url=a(this.file).toString()),R.input.file=this.file),R}fromLineAndColumn(g,S){return r(this)[g-1]+S-1}fromOffset(g){let S=r(this),w=S[S.length-1],C=0;if(g>=w)C=S.length-1;else{let v=S.length-2,y;for(;C<v;)if(y=C+(v-C>>1),g<S[y])v=y-1;else if(g>=S[y+1])C=y+1;else{C=y;break}}return{col:g-S[C]+1,line:C+1}}mapResolve(g){return/^\w+:\/\//.test(g)?g:p(this.map.consumer().sourceRoot||this.map.root||".",g)}origin(g,S,w,C){if(!this.map)return!1;let v=this.map.consumer(),y=v.originalPositionFor({column:S,line:g});if(!y.source)return!1;let b;typeof w=="number"&&(b=v.originalPositionFor({column:C,line:w}));let x;s(y.source)?x=a(y.source):x=new URL(y.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let R={column:y.column,endColumn:b&&b.column,endLine:b&&b.line,line:y.line,url:x.toString()};if(x.protocol==="file:")if(c)R.file=c(x);else throw new Error("file: protocol is not available in this PostCSS build");let P=v.sourceContentFor(y.source);return P&&(R.source=P),R}toJSON(){let g={};for(let S of["hasBOM","css","file","id"])this[S]!=null&&(g[S]=this[S]);return this.map&&(g.map=L({},this.map),g.map.consumerCache&&(g.map.consumerCache=void 0)),g}}return Oe=h,h.default=h,o&&o.registerInput&&o.registerInput(h),Oe}var Pe,kt;function G(){if(kt)return Pe;kt=1;let e=F(),s,p;class u extends e{constructor(c){super(c),this.type="root",this.nodes||(this.nodes=[])}normalize(c,a,f){let m=super.normalize(c);if(a){if(f==="prepend")this.nodes.length>1?a.raws.before=this.nodes[1].raws.before:delete a.raws.before;else if(this.first!==a)for(let o of m)o.raws.before=a.raws.before}return m}removeChild(c,a){let f=this.index(c);return!a&&f===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[f].raws.before),super.removeChild(c)}toResult(c={}){return new s(new p,this,c).stringify()}}return u.registerLazyResult=l=>{s=l},u.registerProcessor=l=>{p=l},Pe=u,u.default=u,e.registerRoot(u),Pe}var Ae,Lt;function rr(){if(Lt)return Ae;Lt=1;let e={comma(s){return e.split(s,[","],!0)},space(s){let p=[" ",`
24
+ `," "];return e.split(s,p)},split(s,p,u){let l=[],c="",a=!1,f=0,m=!1,o="",t=!1;for(let n of s)t?t=!1:n==="\\"?t=!0:m?n===o&&(m=!1):n==='"'||n==="'"?(m=!0,o=n):n==="("?f+=1:n===")"?f>0&&(f-=1):f===0&&p.includes(n)&&(a=!0),a?(c!==""&&l.push(c.trim()),c="",a=!1):c+=n;return(u||c!=="")&&l.push(c.trim()),l}};return Ae=e,e.default=e,Ae}var Me,Bt;function Je(){if(Bt)return Me;Bt=1;let e=F(),s=rr();class p extends e{get selectors(){return s.comma(this.selector)}set selectors(l){let c=this.selector?this.selector.match(/,\s*/):null,a=c?c[0]:","+this.raw("between","beforeOpen");this.selector=l.join(a)}constructor(l){super(l),this.type="rule",this.nodes||(this.nodes=[])}}return Me=p,p.default=p,e.registerRule(p),Me}var Ne,Ut;function oi(){if(Ut)return Ne;Ut=1;let e=Ge(),s=V(),p=re(),u=ie(),l=tr(),c=G(),a=Je();function f(m,o){if(Array.isArray(m))return m.map(h=>f(h));let i=m,{inputs:t}=i,n=ae(i,["inputs"]);if(t){o=[];for(let h of t){let d=j(L({},h),{__proto__:u.prototype});d.map&&(d.map=j(L({},d.map),{__proto__:l.prototype})),o.push(d)}}if(n.nodes&&(n.nodes=m.nodes.map(h=>f(h,o))),n.source){let r=n.source,{inputId:h}=r,d=ae(r,["inputId"]);n.source=d,h!=null&&(n.source.input=o[h])}if(n.type==="root")return new c(n);if(n.type==="decl")return new p(n);if(n.type==="rule")return new a(n);if(n.type==="comment")return new s(n);if(n.type==="atrule")return new e(n);throw new Error("Unknown node type: "+m.type)}return Ne=f,f.default=f,Ne}var Ie,zt;function ir(){if(zt)return Ie;zt=1;let{dirname:e,relative:s,resolve:p,sep:u}=k,{SourceMapConsumer:l,SourceMapGenerator:c}=k,{pathToFileURL:a}=k,f=ie(),m=!!(l&&c),o=!!(e&&p&&s&&u);class t{constructor(i,r,h,d){this.stringify=i,this.mapOpts=h.map||{},this.root=r,this.opts=h,this.css=d,this.originalCSS=d,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let i;this.isInline()?i="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?i=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?i=this.mapOpts.annotation(this.opts.to,this.root):i=this.outputFile()+".map";let r=`
37
25
  `;this.css.includes(`\r
38
26
  `)&&(r=`\r
39
- `),this.css+=r+"/*# sourceMappingURL="+i+" */"}applyPrevMaps(){for(let i of this.previous()){let r=this.toUrl(this.path(i.file)),p=i.root||e(i.file),h;this.mapOpts.sourcesContent===!1?(h=new n(i.text),h.sourcesContent&&(h.sourcesContent=null)):h=i.consumer(),this.map.applySourceMap(h,r,this.toUrl(this.path(p)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let i;for(let r=this.root.nodes.length-1;r>=0;r--)i=this.root.nodes[r],i.type==="comment"&&i.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(r)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),o&&m&&this.isMap())return this.generateMap();{let i="";return this.stringify(this.root,r=>{i+=r}),[i]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let i=this.previous()[0].consumer();i.file=this.outputFile(),this.map=f.fromSourceMap(i,{ignoreInvalidMapping:!0})}else this.map=new f({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)):"<no source>"});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 f({file:this.outputFile(),ignoreInvalidMapping:!0});let i=1,r=1,p="<no source>",h={generated:{column:0,line:0},original:{column:0,line:0},source:""},g,C;this.stringify(this.root,(b,S,x)=>{if(this.css+=b,S&&x!=="end"&&(h.generated.line=i,h.generated.column=r-1,S.source&&S.source.start?(h.source=this.sourcePath(S),h.original.line=S.source.start.line,h.original.column=S.source.start.column-1,this.map.addMapping(h)):(h.source=p,h.original.line=1,h.original.column=0,this.map.addMapping(h))),C=b.match(/\n/g),C?(i+=C.length,g=b.lastIndexOf(`
40
- `),r=b.length-g):r+=b.length,S&&x!=="start"){let w=S.parent||{raws:{}};(!(S.type==="decl"||S.type==="atrule"&&!S.nodes)||S!==w.last||w.raws.semicolon)&&(S.source&&S.source.end?(h.source=this.sourcePath(S),h.original.line=S.source.end.line,h.original.column=S.source.end.column-1,h.generated.line=i,h.generated.column=r-2,this.map.addMapping(h)):(h.source=p,h.original.line=1,h.original.column=0,h.generated.line=i,h.generated.column=r-1,this.map.addMapping(h)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation!="undefined"?this.mapOpts.annotation:this.previous().length?this.previous().some(i=>i.annotation):!0}isInline(){if(typeof this.mapOpts.inline!="undefined")return this.mapOpts.inline;let i=this.mapOpts.annotation;return typeof i!="undefined"&&i!==!0?!1:this.previous().length?this.previous().some(r=>r.inline):!0}isMap(){return typeof this.opts.map!="undefined"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent!="undefined"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(i=>i.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(i){if(this.mapOpts.absolute||i.charCodeAt(0)===60||/^\w+:\/\//.test(i))return i;let r=this.memoizedPaths.get(i);if(r)return r;let p=this.opts.to?e(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(p=e(d(p,this.mapOpts.annotation)));let h=s(p,i);return this.memoizedPaths.set(i,h),h}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(i=>{if(i.source&&i.source.input.map){let r=i.source.input.map;this.previousMaps.includes(r)||this.previousMaps.push(r)}});else{let i=new c(this.originalCSS,this.opts);i.map&&this.previousMaps.push(i.map)}return this.previousMaps}setSourcesContent(){let i={};if(this.root)this.root.walk(r=>{if(r.source){let p=r.source.input.from;if(p&&!i[p]){i[p]=!0;let h=this.usesFileUrls?this.toFileUrl(p):this.toUrl(this.path(p));this.map.setSourceContent(h,r.source.input.css)}}});else if(this.css){let r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}}sourcePath(i){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(i.source.input.from):this.toUrl(this.path(i.source.input.from))}toBase64(i){return Buffer?Buffer.from(i).toString("base64"):window.btoa(unescape(encodeURIComponent(i)))}toFileUrl(i){let r=this.memoizedFileURLs.get(i);if(r)return r;if(a){let p=a(i).toString();return this.memoizedFileURLs.set(i,p),p}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(i){let r=this.memoizedURLs.get(i);if(r)return r;u==="\\"&&(i=i.replace(/\\/g,"/"));let p=encodeURI(i).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(i,p),p}}return Ie=t,Ie}var _e,qt;function sr(){if(qt)return _e;qt=1;let e=39,s=34,d=92,u=47,n=10,f=32,a=12,c=9,m=13,o=91,t=93,l=40,i=41,r=123,p=125,h=59,g=42,C=58,b=64,S=/[\t\n\f\r "#'()/;[\\\]{}]/g,x=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,w=/.[\r\n"'(/\\]/,y=/[\da-f]/i;return _e=function(E,M={}){let O=E.css.valueOf(),D=M.ignoreErrors,_,se,H,R,Xe,T,B,W,U,et,tt=O.length,P=0,ne=[],J=[];function fr(){return P}function oe($){throw E.error("Unclosed "+$,P)}function cr(){return J.length===0&&P>=tt}function hr($){if(J.length)return J.pop();if(P>=tt)return;let le=$?$.ignoreUnclosed:!1;switch(_=O.charCodeAt(P),_){case n:case f:case c:case m:case a:{R=P;do R+=1,_=O.charCodeAt(R);while(_===f||_===n||_===c||_===m||_===a);T=["space",O.slice(P,R)],P=R-1;break}case o:case t:case r:case p:case C:case h:case i:{let rt=String.fromCharCode(_);T=[rt,rt,P];break}case l:{if(et=ne.length?ne.pop()[1]:"",U=O.charCodeAt(P+1),et==="url"&&U!==e&&U!==s&&U!==f&&U!==n&&U!==c&&U!==a&&U!==m){R=P;do{if(B=!1,R=O.indexOf(")",R+1),R===-1)if(D||le){R=P;break}else oe("bracket");for(W=R;O.charCodeAt(W-1)===d;)W-=1,B=!B}while(B);T=["brackets",O.slice(P,R+1),P,R],P=R}else R=O.indexOf(")",P+1),se=O.slice(P,R+1),R===-1||w.test(se)?T=["(","(",P]:(T=["brackets",se,P,R],P=R);break}case e:case s:{Xe=_===e?"'":'"',R=P;do{if(B=!1,R=O.indexOf(Xe,R+1),R===-1)if(D||le){R=P+1;break}else oe("string");for(W=R;O.charCodeAt(W-1)===d;)W-=1,B=!B}while(B);T=["string",O.slice(P,R+1),P,R],P=R;break}case b:{S.lastIndex=P+1,S.test(O),S.lastIndex===0?R=O.length-1:R=S.lastIndex-2,T=["at-word",O.slice(P,R+1),P,R],P=R;break}case d:{for(R=P,H=!0;O.charCodeAt(R+1)===d;)R+=1,H=!H;if(_=O.charCodeAt(R+1),H&&_!==u&&_!==f&&_!==n&&_!==c&&_!==m&&_!==a&&(R+=1,y.test(O.charAt(R)))){for(;y.test(O.charAt(R+1));)R+=1;O.charCodeAt(R+1)===f&&(R+=1)}T=["word",O.slice(P,R+1),P,R],P=R;break}default:{_===u&&O.charCodeAt(P+1)===g?(R=O.indexOf("*/",P+2)+1,R===0&&(D||le?R=O.length:oe("comment")),T=["comment",O.slice(P,R+1),P,R],P=R):(x.lastIndex=P+1,x.test(O),x.lastIndex===0?R=O.length-1:R=x.lastIndex-2,T=["word",O.slice(P,R+1),P,R],ne.push(T),P=R);break}}return P++,T}function pr($){J.push($)}return{back:pr,endOfFile:cr,nextToken:hr,position:fr}},_e}var De,Ft;function nr(){if(Ft)return De;Ft=1;let e=Ge(),s=V(),d=re(),u=G(),n=Je(),f=sr(),a={empty:!0,space:!0};function c(o){for(let t=o.length-1;t>=0;t--){let l=o[t],i=l[3]||l[2];if(i)return i}}class m{constructor(t){this.input=t,this.root=new u,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let l=new e;l.name=t[1].slice(1),l.name===""&&this.unnamedAtrule(l,t),this.init(l,t[2]);let i,r,p,h=!1,g=!1,C=[],b=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),i=t[0],i==="("||i==="["?b.push(i==="("?")":"]"):i==="{"&&b.length>0?b.push("}"):i===b[b.length-1]&&b.pop(),b.length===0)if(i===";"){l.source.end=this.getPosition(t[2]),l.source.end.offset++,this.semicolon=!0;break}else if(i==="{"){g=!0;break}else if(i==="}"){if(C.length>0){for(p=C.length-1,r=C[p];r&&r[0]==="space";)r=C[--p];r&&(l.source.end=this.getPosition(r[3]||r[2]),l.source.end.offset++)}this.end(t);break}else C.push(t);else C.push(t);if(this.tokenizer.endOfFile()){h=!0;break}}l.raws.between=this.spacesAndCommentsFromEnd(C),C.length?(l.raws.afterName=this.spacesAndCommentsFromStart(C),this.raw(l,"params",C),h&&(t=C[C.length-1],l.source.end=this.getPosition(t[3]||t[2]),l.source.end.offset++,this.spaces=l.raws.between,l.raws.between="")):(l.raws.afterName="",l.params=""),g&&(l.nodes=[],this.current=l)}checkMissedSemicolon(t){let l=this.colon(t);if(l===!1)return;let i=0,r;for(let p=l-1;p>=0&&(r=t[p],!(r[0]!=="space"&&(i+=1,i===2)));p--);throw this.input.error("Missed semicolon",r[0]==="word"?r[3]+1:r[2])}colon(t){let l=0,i,r,p;for(let[h,g]of t.entries()){if(r=g,p=r[0],p==="("&&(l+=1),p===")"&&(l-=1),l===0&&p===":")if(!i)this.doubleColon(r);else{if(i[0]==="word"&&i[1]==="progid")continue;return h}i=r}return!1}comment(t){let l=new s;this.init(l,t[2]),l.source.end=this.getPosition(t[3]||t[2]),l.source.end.offset++;let i=t[1].slice(2,-2);if(/^\s*$/.test(i))l.text="",l.raws.left=i,l.raws.right="";else{let r=i.match(/^(\s*)([^]*\S)(\s*)$/);l.text=r[2],l.raws.left=r[1],l.raws.right=r[3]}}createTokenizer(){this.tokenizer=f(this.input)}decl(t,l){let i=new d;this.init(i,t[0][2]);let r=t[t.length-1];for(r[0]===";"&&(this.semicolon=!0,t.pop()),i.source.end=this.getPosition(r[3]||r[2]||c(t)),i.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),i.raws.before+=t.shift()[1];for(i.source.start=this.getPosition(t[0][2]),i.prop="";t.length;){let b=t[0][0];if(b===":"||b==="space"||b==="comment")break;i.prop+=t.shift()[1]}i.raws.between="";let p;for(;t.length;)if(p=t.shift(),p[0]===":"){i.raws.between+=p[1];break}else p[0]==="word"&&/\w/.test(p[1])&&this.unknownWord([p]),i.raws.between+=p[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1));let h=[],g;for(;t.length&&(g=t[0][0],!(g!=="space"&&g!=="comment"));)h.push(t.shift());this.precheckMissedSemicolon(t);for(let b=t.length-1;b>=0;b--){if(p=t[b],p[1].toLowerCase()==="!important"){i.important=!0;let S=this.stringFrom(t,b);S=this.spacesFromEnd(t)+S,S!==" !important"&&(i.raws.important=S);break}else if(p[1].toLowerCase()==="important"){let S=t.slice(0),x="";for(let w=b;w>0;w--){let y=S[w][0];if(x.trim().startsWith("!")&&y!=="space")break;x=S.pop()[1]+x}x.trim().startsWith("!")&&(i.important=!0,i.raws.important=x,t=S)}if(p[0]!=="space"&&p[0]!=="comment")break}t.some(b=>b[0]!=="space"&&b[0]!=="comment")&&(i.raws.between+=h.map(b=>b[1]).join(""),h=[]),this.raw(i,"value",h.concat(t),l),i.value.includes(":")&&!l&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let l=new n;this.init(l,t[2]),l.selector="",l.raws.between="",this.current=l}end(t){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(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}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(t){if(this.spaces+=t[1],this.current.nodes){let l=this.current.nodes[this.current.nodes.length-1];l&&l.type==="rule"&&!l.raws.ownSemicolon&&(l.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){let l=this.input.fromOffset(t);return{column:l.col,line:l.line,offset:t}}init(t,l){this.current.push(t),t.source={input:this.input,start:this.getPosition(l)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let l=!1,i=null,r=!1,p=null,h=[],g=t[1].startsWith("--"),C=[],b=t;for(;b;){if(i=b[0],C.push(b),i==="("||i==="[")p||(p=b),h.push(i==="("?")":"]");else if(g&&r&&i==="{")p||(p=b),h.push("}");else if(h.length===0)if(i===";")if(r){this.decl(C,g);return}else break;else if(i==="{"){this.rule(C);return}else if(i==="}"){this.tokenizer.back(C.pop()),l=!0;break}else i===":"&&(r=!0);else i===h[h.length-1]&&(h.pop(),h.length===0&&(p=null));b=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(l=!0),h.length>0&&this.unclosedBracket(p),l&&r){if(!g)for(;C.length&&(b=C[C.length-1][0],!(b!=="space"&&b!=="comment"));)this.tokenizer.back(C.pop());this.decl(C,g)}else this.unknownWord(C)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,l,i,r){let p,h,g=i.length,C="",b=!0,S,x;for(let w=0;w<g;w+=1)p=i[w],h=p[0],h==="space"&&w===g-1&&!r?b=!1:h==="comment"?(x=i[w-1]?i[w-1][0]:"empty",S=i[w+1]?i[w+1][0]:"empty",!a[x]&&!a[S]?C.slice(-1)===","?b=!1:C+=p[1]:b=!1):C+=p[1];if(!b){let w=i.reduce((y,v)=>y+v[1],"");t.raws[l]={raw:w,value:C}}t[l]=C}rule(t){t.pop();let l=new n;this.init(l,t[0][2]),l.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(l,"selector",t),this.current=l}spacesAndCommentsFromEnd(t){let l,i="";for(;t.length&&(l=t[t.length-1][0],!(l!=="space"&&l!=="comment"));)i=t.pop()[1]+i;return i}spacesAndCommentsFromStart(t){let l,i="";for(;t.length&&(l=t[0][0],!(l!=="space"&&l!=="comment"));)i+=t.shift()[1];return i}spacesFromEnd(t){let l,i="";for(;t.length&&(l=t[t.length-1][0],l==="space");)i=t.pop()[1]+i;return i}stringFrom(t,l){let i="";for(let r=l;r<t.length;r++)i+=t[r][1];return t.splice(l,t.length-l),i}unclosedBlock(){let t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)}unclosedBracket(t){throw this.input.error("Unclosed bracket",{offset:t[2]},{offset:t[2]+1})}unexpectedClose(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})}unknownWord(t){throw this.input.error("Unknown word",{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})}unnamedAtrule(t,l){throw this.input.error("At-rule without name",{offset:l[2]},{offset:l[2]+l[1].length})}}return De=m,De}var Te,Wt;function Ze(){if(Wt)return Te;Wt=1;let e=F(),s=ie(),d=nr();function u(n,f){let a=new s(n,f),c=new d(a);try{c.parse()}catch(m){throw m}return c.root}return Te=u,u.default=u,e.registerParse(u),Te}var ke,$t;function or(){if($t)return ke;$t=1;class e{constructor(d,u={}){if(this.type="warning",this.text=d,u.node&&u.node.source){let n=u.node.rangeBy(u);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(let n in u)this[n]=u[n]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return ke=e,e.default=e,ke}var Le,jt;function Ye(){if(jt)return Le;jt=1;let e=or();class s{constructor(u,n,f){this.processor=u,this.messages=[],this.root=n,this.opts=f,this.css=void 0,this.map=void 0}toString(){return this.css}warn(u,n={}){n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);let f=new e(u,n);return this.messages.push(f),f}warnings(){return this.messages.filter(u=>u.type==="warning")}get content(){return this.css}}return Le=s,s.default=s,Le}var Be,Vt;function lr(){if(Vt)return Be;Vt=1;let e={};return Be=function(d){e[d]||(e[d]=!0,typeof console!="undefined"&&console.warn&&console.warn(d))},Be}var Ue,Gt;function ar(){if(Gt)return Ue;Gt=1;let e=F(),s=He(),d=ir(),u=Ze(),n=Ye(),f=G(),a=ee(),{isClean:c,my:m}=Ve(),o=lr(),t={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},l={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},i={Once:!0,postcssPlugin:!0,prepare:!0},r=0;function p(x){return typeof x=="object"&&typeof x.then=="function"}function h(x){let w=!1,y=t[x.type];return x.type==="decl"?w=x.prop.toLowerCase():x.type==="atrule"&&(w=x.name.toLowerCase()),w&&x.append?[y,y+"-"+w,r,y+"Exit",y+"Exit-"+w]:w?[y,y+"-"+w,y+"Exit",y+"Exit-"+w]:x.append?[y,r,y+"Exit"]:[y,y+"Exit"]}function g(x){let w;return x.type==="document"?w=["Document",r,"DocumentExit"]:x.type==="root"?w=["Root",r,"RootExit"]:w=h(x),{eventIndex:0,events:w,iterator:0,node:x,visitorIndex:0,visitors:[]}}function C(x){return x[c]=!1,x.nodes&&x.nodes.forEach(w=>C(w)),x}let b={};class S{constructor(w,y,v){this.stringified=!1,this.processed=!1;let E;if(typeof y=="object"&&y!==null&&(y.type==="root"||y.type==="document"))E=C(y);else if(y instanceof S||y instanceof n)E=C(y.root),y.map&&(typeof v.map=="undefined"&&(v.map={}),v.map.inline||(v.map.inline=!1),v.map.prev=y.map);else{let M=u;v.syntax&&(M=v.syntax.parse),v.parser&&(M=v.parser),M.parse&&(M=M.parse);try{E=M(y,v)}catch(O){this.processed=!0,this.error=O}E&&!E[m]&&e.rebuild(E)}this.result=new n(w,E,v),this.helpers=j(L({},b),{postcss:b,result:this.result}),this.plugins=this.processor.plugins.map(M=>typeof M=="object"&&M.prepare?L(L({},M),M.prepare(this.result)):M)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(w){return this.async().catch(w)}finally(w){return this.async().then(w,w)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(w,y){let v=this.result.lastPlugin;try{y&&y.addToError(w),this.error=w,w.name==="CssSyntaxError"&&!w.plugin?(w.plugin=v.postcssPlugin,w.setMessage()):v.postcssVersion}catch(E){console&&console.error&&console.error(E)}return w}prepareVisitors(){this.listeners={};let w=(y,v,E)=>{this.listeners[v]||(this.listeners[v]=[]),this.listeners[v].push([y,E])};for(let y of this.plugins)if(typeof y=="object")for(let v in y){if(!l[v]&&/^[A-Z]/.test(v))throw new Error(`Unknown event ${v} in ${y.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!i[v])if(typeof y[v]=="object")for(let E in y[v])E==="*"?w(y,v,y[v][E]):w(y,v+"-"+E.toLowerCase(),y[v][E]);else typeof y[v]=="function"&&w(y,v,y[v])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let w=0;w<this.plugins.length;w++){let y=this.plugins[w],v=this.runOnRoot(y);if(p(v))try{await v}catch(E){throw this.handleError(E)}}if(this.prepareVisitors(),this.hasListener){let w=this.result.root;for(;!w[c];){w[c]=!0;let y=[g(w)];for(;y.length>0;){let v=this.visitTick(y);if(p(v))try{await v}catch(E){let M=y[y.length-1].node;throw this.handleError(E,M)}}}if(this.listeners.OnceExit)for(let[y,v]of this.listeners.OnceExit){this.result.lastPlugin=y;try{if(w.type==="document"){let E=w.nodes.map(M=>v(M,this.helpers));await Promise.all(E)}else await v(w,this.helpers)}catch(E){throw this.handleError(E)}}}return this.processed=!0,this.stringify()}runOnRoot(w){this.result.lastPlugin=w;try{if(typeof w=="object"&&w.Once){if(this.result.root.type==="document"){let y=this.result.root.nodes.map(v=>w.Once(v,this.helpers));return p(y[0])?Promise.all(y):y}return w.Once(this.result.root,this.helpers)}else if(typeof w=="function")return w(this.result.root,this.result)}catch(y){throw this.handleError(y)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let w=this.result.opts,y=a;w.syntax&&(y=w.syntax.stringify),w.stringifier&&(y=w.stringifier),y.stringify&&(y=y.stringify);let E=new d(y,this.result.root,this.result.opts).generate();return this.result.css=E[0],this.result.map=E[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 w of this.plugins){let y=this.runOnRoot(w);if(p(y))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let w=this.result.root;for(;!w[c];)w[c]=!0,this.walkSync(w);if(this.listeners.OnceExit)if(w.type==="document")for(let y of w.nodes)this.visitSync(this.listeners.OnceExit,y);else this.visitSync(this.listeners.OnceExit,w)}return this.result}then(w,y){return this.async().then(w,y)}toString(){return this.css}visitSync(w,y){for(let[v,E]of w){this.result.lastPlugin=v;let M;try{M=E(y,this.helpers)}catch(O){throw this.handleError(O,y.proxyOf)}if(y.type!=="root"&&y.type!=="document"&&!y.parent)return!0;if(p(M))throw this.getAsyncError()}}visitTick(w){let y=w[w.length-1],{node:v,visitors:E}=y;if(v.type!=="root"&&v.type!=="document"&&!v.parent){w.pop();return}if(E.length>0&&y.visitorIndex<E.length){let[O,D]=E[y.visitorIndex];y.visitorIndex+=1,y.visitorIndex===E.length&&(y.visitors=[],y.visitorIndex=0),this.result.lastPlugin=O;try{return D(v.toProxy(),this.helpers)}catch(_){throw this.handleError(_,v)}}if(y.iterator!==0){let O=y.iterator,D;for(;D=v.nodes[v.indexes[O]];)if(v.indexes[O]+=1,!D[c]){D[c]=!0,w.push(g(D));return}y.iterator=0,delete v.indexes[O]}let M=y.events;for(;y.eventIndex<M.length;){let O=M[y.eventIndex];if(y.eventIndex+=1,O===r){v.nodes&&v.nodes.length&&(v[c]=!0,y.iterator=v.getIterator());return}else if(this.listeners[O]){y.visitors=this.listeners[O];return}}w.pop()}walkSync(w){w[c]=!0;let y=h(w);for(let v of y)if(v===r)w.nodes&&w.each(E=>{E[c]||this.walkSync(E)});else{let E=this.listeners[v];if(E&&this.visitSync(E,w.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 S.registerPostcss=x=>{b=x},Ue=S,S.default=S,f.registerLazyResult(S),s.registerLazyResult(S),Ue}var ze,Ht;function li(){if(Ht)return ze;Ht=1;let e=ir(),s=Ze(),d=Ye(),u=ee(),n=lr();class f{constructor(c,m,o){m=m.toString(),this.stringified=!1,this._processor=c,this._css=m,this._opts=o,this._map=void 0;let t,l=u;this.result=new d(this._processor,t,this._opts),this.result.css=m;let i=this;Object.defineProperty(this.result,"root",{get(){return i.root}});let r=new e(l,t,this._opts,m);if(r.isMap()){let[p,h]=r.generate();p&&(this.result.css=p),h&&(this.result.map=h)}else r.clearAnnotation(),this.result.css=r.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(c){return this.async().catch(c)}finally(c){return this.async().then(c,c)}sync(){if(this.error)throw this.error;return this.result}then(c,m){return this.async().then(c,m)}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 c,m=s;try{c=m(this._css,this._opts)}catch(o){this.error=o}if(this.error)throw this.error;return this._root=c,c}get[Symbol.toStringTag](){return"NoWorkResult"}}return ze=f,f.default=f,ze}var qe,Jt;function ai(){if(Jt)return qe;Jt=1;let e=He(),s=ar(),d=li(),u=G();class n{constructor(a=[]){this.version="8.5.1",this.plugins=this.normalize(a)}normalize(a){let c=[];for(let m of a)if(m.postcss===!0?m=m():m.postcss&&(m=m.postcss),typeof m=="object"&&Array.isArray(m.plugins))c=c.concat(m.plugins);else if(typeof m=="object"&&m.postcssPlugin)c.push(m);else if(typeof m=="function")c.push(m);else if(!(typeof m=="object"&&(m.parse||m.stringify)))throw new Error(m+" is not a PostCSS plugin");return c}process(a,c={}){return!this.plugins.length&&!c.parser&&!c.stringifier&&!c.syntax?new d(this,a,c):new s(this,a,c)}use(a){return this.plugins=this.plugins.concat(this.normalize([a])),this}}return qe=n,n.default=n,u.registerProcessor(n),e.registerProcessor(n),qe}var Fe,Zt;function ur(){if(Zt)return Fe;Zt=1;let e=Ge(),s=V(),d=F(),u=je(),n=re(),f=He(),a=oi(),c=ie(),m=ar(),o=rr(),t=te(),l=Ze(),i=ai(),r=Ye(),p=G(),h=Je(),g=ee(),C=or();function b(...S){return S.length===1&&Array.isArray(S[0])&&(S=S[0]),new i(S)}return b.plugin=function(x,w){let y=!1;function v(...M){console&&console.warn&&!y&&(y=!0,console.warn(x+`: postcss.plugin was deprecated. Migration guide:
41
- https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(x+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
42
- https://www.w3ctech.com/topic/2226`));let O=w(...M);return O.postcssPlugin=x,O.postcssVersion=new i().version,O}let E;return Object.defineProperty(v,"postcss",{get(){return E||(E=v()),E}}),v.process=function(M,O,D){return b([v(D)]).process(M,O)},v},b.stringify=g,b.parse=l,b.fromJSON=a,b.list=o,b.comment=S=>new s(S),b.atRule=S=>new e(S),b.decl=S=>new n(S),b.rule=S=>new h(S),b.root=S=>new p(S),b.document=S=>new f(S),b.CssSyntaxError=u,b.Declaration=n,b.Container=d,b.Processor=i,b.Document=f,b.Comment=s,b.Warning=C,b.AtRule=e,b.Result=r,b.Input=c,b.Rule=h,b.Root=p,b.Node=t,m.registerPostcss(b),Fe=b,b.default=b,Fe}var We,Yt;function ui(){if(Yt)return We;Yt=1;let e=V(),s=nr(),d=sr();class u extends s{checkMissedSemicolon(){}comment(f){let a=new e;this.init(a,f[2]);let c=this.input.fromOffset(f[3])||this.input.fromOffset(this.input.css.length-1);a.source.end={column:c.col,line:c.line,offset:f[3]+1};let m=f[1].slice(2);if(m.slice(-2)==="*/"&&(m=m.slice(0,-2)),/^\s*$/.test(m))a.text="",a.raws.left=m,a.raws.right="";else{let o=m.match(/^(\s*)([^]*\S)(\s*)$/);a.text=o[2],a.raws.left=o[1],a.raws.right=o[3]}}createTokenizer(){this.tokenizer=d(this.input,{ignoreErrors:!0})}decl(f){f.length>1&&f.some(a=>a[0]==="word")&&super.decl(f)}doubleColon(){}endFile(){for(this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.current.parent;)this.current=this.current.parent,this.current.raws.after="";this.root.source.end=this.getPosition(this.tokenizer.position())}precheckMissedSemicolon(f){let a=this.colon(f);if(a===!1)return;let c,m;for(c=a-1;c>=0&&f[c][0]!=="word";c--);if(c===0||c<0)return;for(m=c-1;m>=0;m--)if(f[m][0]!=="space"){m+=1;break}let o=f.slice(c),t=f.slice(m,c);f.splice(m,f.length-m),this.spaces=t.map(l=>l[1]).join(""),this.decl(o)}unclosedBracket(){}unexpectedClose(){this.current.raws.after+="}"}unknownWord(f){this.spaces+=f.map(a=>a[1]).join("")}unnamedAtrule(f){f.name=""}}return We=u,We}var $e,Qt;function fi(){if(Qt)return $e;Qt=1;let{Input:e}=ur(),s=ui();return $e=function(u,n){let f=new e(u,n),a=new s(f);return a.parse(),a.root},$e}var ci=fi(),hi=Xt(ci),pi=ur(),N=Xt(pi);N.stringify;N.fromJSON;N.plugin;N.parse;N.list;N.document;N.comment;N.atRule;N.rule;N.decl;N.root;N.CssSyntaxError;N.Declaration;N.Container;N.Processor;N.Document;N.Comment;N.Warning;N.AtRule;N.Result;N.Input;N.Rule;N.Root;N.Node;var Kt={script:"noscript",altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",fedropshadow:"feDropShadow",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient"};function di(e){let s=Kt[e.tagName]?Kt[e.tagName]:e.tagName;return s==="link"&&e.attributes._cssText&&(s="style"),s}function Qe(e,s){let d=s==null?void 0:s.stylesWithHoverClass.get(e);if(d)return d;let u=e;try{u=N([Xr,ei]).process(e,{parser:hi}).css}catch(n){console.warn("Failed to adapt css for replay",n)}return s==null||s.stylesWithHoverClass.set(e,u),u}function mi(){return{stylesWithHoverClass:new Map}}function gi(e,s){let d=e.textContent;if(e.isStyle&&s.hackCss)try{d=Qe(e.textContent,s.cache)}catch(u){}return s.doc.createTextNode(d)}function yi(e,s){var d;let{doc:u,hackCss:n,cache:f}=s;switch(e.type){case A.NodeType$1.Document:return u.implementation.createDocument(null,"",null);case A.NodeType$1.DocumentType:return u.implementation.createDocumentType(e.name||"html",e.publicId,e.systemId);case A.NodeType$1.Element:{let a=di(e),c;e.isSVG?c=u.createElementNS("http://www.w3.org/2000/svg",a):(e.isCustom&&((d=u.defaultView)!=null&&d.customElements)&&!u.defaultView.customElements.get(e.tagName)&&u.defaultView.customElements.define(e.tagName,class extends u.defaultView.HTMLElement{}),c=u.createElement(a));let m={};for(let o in e.attributes){if(!Object.prototype.hasOwnProperty.call(e.attributes,o))continue;let t=e.attributes[o];if(a==="option"&&o==="selected"&&t===!1||t===null)continue;if(t===!0&&(t=""),o.startsWith("rr_")){m[o]=t;continue}let l=a==="textarea"&&o==="value",i=a==="style"&&o==="_cssText";if(i&&n&&typeof t=="string"&&(t=Qe(t,f)),(l||i)&&typeof t=="string"){c.appendChild(u.createTextNode(t)),e.childNodes=[];continue}try{if(e.isSVG&&o==="xlink:href")c.setAttributeNS("http://www.w3.org/1999/xlink",o,t.toString());else if(o==="onload"||o==="onclick"||o.substring(0,7)==="onmouse")c.setAttribute("_"+o,t.toString());else if(a==="meta"&&e.attributes["http-equiv"]==="Content-Security-Policy"&&o==="content"){c.setAttribute("csp-content",t.toString());continue}else a==="link"&&(e.attributes.rel==="preload"&&e.attributes.as==="script"||e.attributes.rel==="modulepreload")||a==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&A.extractFileExtension(e.attributes.href)==="js"||(a==="img"&&e.attributes.srcset&&e.attributes.rr_dataURL?c.setAttribute("rrweb-original-srcset",e.attributes.srcset):c.setAttribute(o,t.toString()))}catch(r){}}for(let o in m){let t=m[o];if(a==="canvas"&&o==="rr_dataURL"){let l=u.createElement("img");l.onload=()=>{let i=c.getContext("2d");i&&i.drawImage(l,0,0,l.width,l.height)},l.src=t.toString(),c.RRNodeType&&(c.rr_dataURL=t.toString())}else if(a==="img"&&o==="rr_dataURL"){let l=c;l.currentSrc.startsWith("data:")||(l.setAttribute("rrweb-original-src",e.attributes.src),l.src=t.toString())}if(o==="rr_width")c.style.setProperty("width",t.toString());else if(o==="rr_height")c.style.setProperty("height",t.toString());else if(o==="rr_mediaCurrentTime"&&typeof t=="number")c.currentTime=t;else if(o==="rr_mediaState")switch(t){case"played":c.play().catch(l=>console.warn("media playback error",l));break;case"paused":c.pause();break}else o==="rr_mediaPlaybackRate"&&typeof t=="number"?c.playbackRate=t:o==="rr_mediaMuted"&&typeof t=="boolean"?c.muted=t:o==="rr_mediaLoop"&&typeof t=="boolean"?c.loop=t:o==="rr_mediaVolume"&&typeof t=="number"?c.volume=t:o==="rr_open_mode"&&c.setAttribute("rr_open_mode",t)}if(e.isShadowHost)if(!c.shadowRoot)c.attachShadow({mode:"open"});else for(;c.shadowRoot.firstChild;)c.shadowRoot.removeChild(c.shadowRoot.firstChild);return c}case A.NodeType$1.Text:return gi(e,{cache:f,doc:u,hackCss:n});case A.NodeType$1.CDATA:return e.textContent.trim()===""?null:u.createCDATASection(e.textContent);case A.NodeType$1.Comment:return u.createComment(e.textContent);default:return null}}function Ke(e,s){let{doc:d,mirror:u,skipChild:n=!1,hackCss:f=!0,afterAppend:a,cache:c}=s;if(u.has(e.id)){let o=u.getNode(e.id),t=u.getMeta(o);if(A.isNodeMetaEqual(t,e))return u.getNode(e.id)}let m=yi(e,{doc:d,hackCss:f,cache:c});if(!m)return null;if(e.rootId&&u.getNode(e.rootId)!==d&&u.replace(e.rootId,d),e.type===A.NodeType$1.Document&&(d.close(),d.open(),e.compatMode==="BackCompat"&&e.childNodes&&e.childNodes[0].type!==A.NodeType$1.DocumentType&&(e.childNodes[0].type===A.NodeType$1.Element&&"xmlns"in e.childNodes[0].attributes&&e.childNodes[0].attributes.xmlns==="http://www.w3.org/1999/xhtml"?d.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">'):d.write('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "">')),m=d),u.add(m,e),(e.type===A.NodeType$1.Document||e.type===A.NodeType$1.Element)&&!n)for(let o of e.childNodes){let t=Ke(o,{doc:d,mirror:u,skipChild:!1,hackCss:f,afterAppend:a,cache:c});if(!t){console.warn("Failed to rebuild",o);continue}if(o.isShadow&&A.isElement(m)&&m.shadowRoot)m.shadowRoot.appendChild(t);else if(e.type===A.NodeType$1.Document&&o.type==A.NodeType$1.Element){let l=t,i=null;l.childNodes.forEach(r=>{r.nodeName==="BODY"&&(i=r)}),i?(l.removeChild(i),m.appendChild(t),l.appendChild(i)):m.appendChild(t)}else e.type===A.NodeType$1.Document&&o.type===A.NodeType$1.DocumentType&&m.firstChild&&m.firstChild.nodeType===1?m.insertBefore(t,m.firstChild):m.appendChild(t);a&&a(t,o.id)}return m}function wi(e,s){function d(u){s(u)}for(let u of e.getIds())e.has(u)&&d(e.getNode(u))}function bi(e,s){let d=s.getMeta(e);if((d==null?void 0:d.type)!==A.NodeType$1.Element)return;let u=e;for(let n in d.attributes){if(!(Object.prototype.hasOwnProperty.call(d.attributes,n)&&n.startsWith("rr_")))continue;let f=d.attributes[n];n==="rr_scrollLeft"&&(u.scrollLeft=f),n==="rr_scrollTop"&&(u.scrollTop=f)}}function Si(e,s){let{doc:d,onVisit:u,hackCss:n=!0,afterAppend:f,cache:a,mirror:c=new A.Mirror}=s,m=Ke(e,{doc:d,mirror:c,skipChild:!1,hackCss:n,afterAppend:f,cache:a});return wi(c,o=>{u&&u(o),bi(o,c)}),m}exports.Mirror=A.Mirror;exports.NodeType=A.NodeType;exports.absolutifyURLs=A.absolutifyURLs;exports.checkDataURLSize=A.checkDataURLSize;exports.createMirror=A.createMirror;exports.escapeImportStatement=A.escapeImportStatement;exports.extractFileExtension=A.extractFileExtension;exports.fixSafariColons=A.fixSafariColons;exports.getInputType=A.getInputType;exports.is2DCanvasBlank=A.is2DCanvasBlank;exports.isCSSImportRule=A.isCSSImportRule;exports.isCSSStyleRule=A.isCSSStyleRule;exports.isElement=A.isElement;exports.isNativeShadowDom=A.isNativeShadowDom;exports.isNodeMetaEqual=A.isNodeMetaEqual;exports.isShadowRoot=A.isShadowRoot;exports.maskInputValue=A.maskInputValue;exports.recompressBase64Image=A.recompressBase64Image;exports.stringifyRule=A.stringifyRule;exports.stringifyStylesheet=A.stringifyStylesheet;exports.toLowerCase=A.toLowerCase;exports.adaptCssForReplay=Qe;exports.buildNodeWithSN=Ke;exports.createCache=mi;exports.rebuild=Si;
43
- if (typeof module.exports == "object" && typeof exports == "object") {
27
+ `),this.css+=r+"/*# sourceMappingURL="+i+" */"}applyPrevMaps(){for(let i of this.previous()){let r=this.toUrl(this.path(i.file)),h=i.root||e(i.file),d;this.mapOpts.sourcesContent===!1?(d=new l(i.text),d.sourcesContent&&(d.sourcesContent=null)):d=i.consumer(),this.map.applySourceMap(d,r,this.toUrl(this.path(h)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let i;for(let r=this.root.nodes.length-1;r>=0;r--)i=this.root.nodes[r],i.type==="comment"&&i.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(r)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),o&&m&&this.isMap())return this.generateMap();{let i="";return this.stringify(this.root,r=>{i+=r}),[i]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let i=this.previous()[0].consumer();i.file=this.outputFile(),this.map=c.fromSourceMap(i,{ignoreInvalidMapping:!0})}else this.map=new c({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)):"<no source>"});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 c({file:this.outputFile(),ignoreInvalidMapping:!0});let i=1,r=1,h="<no source>",d={generated:{column:0,line:0},original:{column:0,line:0},source:""},g,S;this.stringify(this.root,(w,C,v)=>{if(this.css+=w,C&&v!=="end"&&(d.generated.line=i,d.generated.column=r-1,C.source&&C.source.start?(d.source=this.sourcePath(C),d.original.line=C.source.start.line,d.original.column=C.source.start.column-1,this.map.addMapping(d)):(d.source=h,d.original.line=1,d.original.column=0,this.map.addMapping(d))),S=w.match(/\n/g),S?(i+=S.length,g=w.lastIndexOf(`
28
+ `),r=w.length-g):r+=w.length,C&&v!=="start"){let y=C.parent||{raws:{}};(!(C.type==="decl"||C.type==="atrule"&&!C.nodes)||C!==y.last||y.raws.semicolon)&&(C.source&&C.source.end?(d.source=this.sourcePath(C),d.original.line=C.source.end.line,d.original.column=C.source.end.column-1,d.generated.line=i,d.generated.column=r-2,this.map.addMapping(d)):(d.source=h,d.original.line=1,d.original.column=0,d.generated.line=i,d.generated.column=r-1,this.map.addMapping(d)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation!="undefined"?this.mapOpts.annotation:this.previous().length?this.previous().some(i=>i.annotation):!0}isInline(){if(typeof this.mapOpts.inline!="undefined")return this.mapOpts.inline;let i=this.mapOpts.annotation;return typeof i!="undefined"&&i!==!0?!1:this.previous().length?this.previous().some(r=>r.inline):!0}isMap(){return typeof this.opts.map!="undefined"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent!="undefined"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(i=>i.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(i){if(this.mapOpts.absolute||i.charCodeAt(0)===60||/^\w+:\/\//.test(i))return i;let r=this.memoizedPaths.get(i);if(r)return r;let h=this.opts.to?e(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(h=e(p(h,this.mapOpts.annotation)));let d=s(h,i);return this.memoizedPaths.set(i,d),d}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(i=>{if(i.source&&i.source.input.map){let r=i.source.input.map;this.previousMaps.includes(r)||this.previousMaps.push(r)}});else{let i=new f(this.originalCSS,this.opts);i.map&&this.previousMaps.push(i.map)}return this.previousMaps}setSourcesContent(){let i={};if(this.root)this.root.walk(r=>{if(r.source){let h=r.source.input.from;if(h&&!i[h]){i[h]=!0;let d=this.usesFileUrls?this.toFileUrl(h):this.toUrl(this.path(h));this.map.setSourceContent(d,r.source.input.css)}}});else if(this.css){let r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}}sourcePath(i){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(i.source.input.from):this.toUrl(this.path(i.source.input.from))}toBase64(i){return Buffer?Buffer.from(i).toString("base64"):window.btoa(unescape(encodeURIComponent(i)))}toFileUrl(i){let r=this.memoizedFileURLs.get(i);if(r)return r;if(a){let h=a(i).toString();return this.memoizedFileURLs.set(i,h),h}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(i){let r=this.memoizedURLs.get(i);if(r)return r;u==="\\"&&(i=i.replace(/\\/g,"/"));let h=encodeURI(i).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(i,h),h}}return Ie=t,Ie}var _e,qt;function sr(){if(qt)return _e;qt=1;let e=39,s=34,p=92,u=47,l=10,c=32,a=12,f=9,m=13,o=91,t=93,n=40,i=41,r=123,h=125,d=59,g=42,S=58,w=64,C=/[\t\n\f\r "#'()/;[\\\]{}]/g,v=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,y=/.[\r\n"'(/\\]/,b=/[\da-f]/i;return _e=function(R,P={}){let E=R.css.valueOf(),D=P.ignoreErrors,N,se,H,O,Xe,T,B,W,U,et,tt=E.length,A=0,ne=[],J=[];function fr(){return A}function oe($){throw R.error("Unclosed "+$,A)}function cr(){return J.length===0&&A>=tt}function hr($){if(J.length)return J.pop();if(A>=tt)return;let le=$?$.ignoreUnclosed:!1;switch(N=E.charCodeAt(A),N){case l:case c:case f:case m:case a:{O=A;do O+=1,N=E.charCodeAt(O);while(N===c||N===l||N===f||N===m||N===a);T=["space",E.slice(A,O)],A=O-1;break}case o:case t:case r:case h:case S:case d:case i:{let rt=String.fromCharCode(N);T=[rt,rt,A];break}case n:{if(et=ne.length?ne.pop()[1]:"",U=E.charCodeAt(A+1),et==="url"&&U!==e&&U!==s&&U!==c&&U!==l&&U!==f&&U!==a&&U!==m){O=A;do{if(B=!1,O=E.indexOf(")",O+1),O===-1)if(D||le){O=A;break}else oe("bracket");for(W=O;E.charCodeAt(W-1)===p;)W-=1,B=!B}while(B);T=["brackets",E.slice(A,O+1),A,O],A=O}else O=E.indexOf(")",A+1),se=E.slice(A,O+1),O===-1||y.test(se)?T=["(","(",A]:(T=["brackets",se,A,O],A=O);break}case e:case s:{Xe=N===e?"'":'"',O=A;do{if(B=!1,O=E.indexOf(Xe,O+1),O===-1)if(D||le){O=A+1;break}else oe("string");for(W=O;E.charCodeAt(W-1)===p;)W-=1,B=!B}while(B);T=["string",E.slice(A,O+1),A,O],A=O;break}case w:{C.lastIndex=A+1,C.test(E),C.lastIndex===0?O=E.length-1:O=C.lastIndex-2,T=["at-word",E.slice(A,O+1),A,O],A=O;break}case p:{for(O=A,H=!0;E.charCodeAt(O+1)===p;)O+=1,H=!H;if(N=E.charCodeAt(O+1),H&&N!==u&&N!==c&&N!==l&&N!==f&&N!==m&&N!==a&&(O+=1,b.test(E.charAt(O)))){for(;b.test(E.charAt(O+1));)O+=1;E.charCodeAt(O+1)===c&&(O+=1)}T=["word",E.slice(A,O+1),A,O],A=O;break}default:{N===u&&E.charCodeAt(A+1)===g?(O=E.indexOf("*/",A+2)+1,O===0&&(D||le?O=E.length:oe("comment")),T=["comment",E.slice(A,O+1),A,O],A=O):(v.lastIndex=A+1,v.test(E),v.lastIndex===0?O=E.length-1:O=v.lastIndex-2,T=["word",E.slice(A,O+1),A,O],ne.push(T),A=O);break}}return A++,T}function pr($){J.push($)}return{back:pr,endOfFile:cr,nextToken:hr,position:fr}},_e}var De,Ft;function nr(){if(Ft)return De;Ft=1;let e=Ge(),s=V(),p=re(),u=G(),l=Je(),c=sr(),a={empty:!0,space:!0};function f(o){for(let t=o.length-1;t>=0;t--){let n=o[t],i=n[3]||n[2];if(i)return i}}class m{constructor(t){this.input=t,this.root=new u,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let n=new e;n.name=t[1].slice(1),n.name===""&&this.unnamedAtrule(n,t),this.init(n,t[2]);let i,r,h,d=!1,g=!1,S=[],w=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),i=t[0],i==="("||i==="["?w.push(i==="("?")":"]"):i==="{"&&w.length>0?w.push("}"):i===w[w.length-1]&&w.pop(),w.length===0)if(i===";"){n.source.end=this.getPosition(t[2]),n.source.end.offset++,this.semicolon=!0;break}else if(i==="{"){g=!0;break}else if(i==="}"){if(S.length>0){for(h=S.length-1,r=S[h];r&&r[0]==="space";)r=S[--h];r&&(n.source.end=this.getPosition(r[3]||r[2]),n.source.end.offset++)}this.end(t);break}else S.push(t);else S.push(t);if(this.tokenizer.endOfFile()){d=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(S),S.length?(n.raws.afterName=this.spacesAndCommentsFromStart(S),this.raw(n,"params",S),d&&(t=S[S.length-1],n.source.end=this.getPosition(t[3]||t[2]),n.source.end.offset++,this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),g&&(n.nodes=[],this.current=n)}checkMissedSemicolon(t){let n=this.colon(t);if(n===!1)return;let i=0,r;for(let h=n-1;h>=0&&(r=t[h],!(r[0]!=="space"&&(i+=1,i===2)));h--);throw this.input.error("Missed semicolon",r[0]==="word"?r[3]+1:r[2])}colon(t){let n=0,i,r,h;for(let[d,g]of t.entries()){if(r=g,h=r[0],h==="("&&(n+=1),h===")"&&(n-=1),n===0&&h===":")if(!i)this.doubleColon(r);else{if(i[0]==="word"&&i[1]==="progid")continue;return d}i=r}return!1}comment(t){let n=new s;this.init(n,t[2]),n.source.end=this.getPosition(t[3]||t[2]),n.source.end.offset++;let i=t[1].slice(2,-2);if(/^\s*$/.test(i))n.text="",n.raws.left=i,n.raws.right="";else{let r=i.match(/^(\s*)([^]*\S)(\s*)$/);n.text=r[2],n.raws.left=r[1],n.raws.right=r[3]}}createTokenizer(){this.tokenizer=c(this.input)}decl(t,n){let i=new p;this.init(i,t[0][2]);let r=t[t.length-1];for(r[0]===";"&&(this.semicolon=!0,t.pop()),i.source.end=this.getPosition(r[3]||r[2]||f(t)),i.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),i.raws.before+=t.shift()[1];for(i.source.start=this.getPosition(t[0][2]),i.prop="";t.length;){let w=t[0][0];if(w===":"||w==="space"||w==="comment")break;i.prop+=t.shift()[1]}i.raws.between="";let h;for(;t.length;)if(h=t.shift(),h[0]===":"){i.raws.between+=h[1];break}else h[0]==="word"&&/\w/.test(h[1])&&this.unknownWord([h]),i.raws.between+=h[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1));let d=[],g;for(;t.length&&(g=t[0][0],!(g!=="space"&&g!=="comment"));)d.push(t.shift());this.precheckMissedSemicolon(t);for(let w=t.length-1;w>=0;w--){if(h=t[w],h[1].toLowerCase()==="!important"){i.important=!0;let C=this.stringFrom(t,w);C=this.spacesFromEnd(t)+C,C!==" !important"&&(i.raws.important=C);break}else if(h[1].toLowerCase()==="important"){let C=t.slice(0),v="";for(let y=w;y>0;y--){let b=C[y][0];if(v.trim().startsWith("!")&&b!=="space")break;v=C.pop()[1]+v}v.trim().startsWith("!")&&(i.important=!0,i.raws.important=v,t=C)}if(h[0]!=="space"&&h[0]!=="comment")break}t.some(w=>w[0]!=="space"&&w[0]!=="comment")&&(i.raws.between+=d.map(w=>w[1]).join(""),d=[]),this.raw(i,"value",d.concat(t),n),i.value.includes(":")&&!n&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let n=new l;this.init(n,t[2]),n.selector="",n.raws.between="",this.current=n}end(t){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(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}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(t){if(this.spaces+=t[1],this.current.nodes){let n=this.current.nodes[this.current.nodes.length-1];n&&n.type==="rule"&&!n.raws.ownSemicolon&&(n.raws.ownSemicolon=this.spaces,this.spaces="",n.source.end=this.getPosition(t[2]),n.source.end.offset+=n.raws.ownSemicolon.length)}}getPosition(t){let n=this.input.fromOffset(t);return{column:n.col,line:n.line,offset:t}}init(t,n){this.current.push(t),t.source={input:this.input,start:this.getPosition(n)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let n=!1,i=null,r=!1,h=null,d=[],g=t[1].startsWith("--"),S=[],w=t;for(;w;){if(i=w[0],S.push(w),i==="("||i==="[")h||(h=w),d.push(i==="("?")":"]");else if(g&&r&&i==="{")h||(h=w),d.push("}");else if(d.length===0)if(i===";")if(r){this.decl(S,g);return}else break;else if(i==="{"){this.rule(S);return}else if(i==="}"){this.tokenizer.back(S.pop()),n=!0;break}else i===":"&&(r=!0);else i===d[d.length-1]&&(d.pop(),d.length===0&&(h=null));w=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(n=!0),d.length>0&&this.unclosedBracket(h),n&&r){if(!g)for(;S.length&&(w=S[S.length-1][0],!(w!=="space"&&w!=="comment"));)this.tokenizer.back(S.pop());this.decl(S,g)}else this.unknownWord(S)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,n,i,r){let h,d,g=i.length,S="",w=!0,C,v;for(let y=0;y<g;y+=1)h=i[y],d=h[0],d==="space"&&y===g-1&&!r?w=!1:d==="comment"?(v=i[y-1]?i[y-1][0]:"empty",C=i[y+1]?i[y+1][0]:"empty",!a[v]&&!a[C]?S.slice(-1)===","?w=!1:S+=h[1]:w=!1):S+=h[1];if(!w){let y=i.reduce((b,x)=>b+x[1],"");t.raws[n]={raw:y,value:S}}t[n]=S}rule(t){t.pop();let n=new l;this.init(n,t[0][2]),n.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(n,"selector",t),this.current=n}spacesAndCommentsFromEnd(t){let n,i="";for(;t.length&&(n=t[t.length-1][0],!(n!=="space"&&n!=="comment"));)i=t.pop()[1]+i;return i}spacesAndCommentsFromStart(t){let n,i="";for(;t.length&&(n=t[0][0],!(n!=="space"&&n!=="comment"));)i+=t.shift()[1];return i}spacesFromEnd(t){let n,i="";for(;t.length&&(n=t[t.length-1][0],n==="space");)i=t.pop()[1]+i;return i}stringFrom(t,n){let i="";for(let r=n;r<t.length;r++)i+=t[r][1];return t.splice(n,t.length-n),i}unclosedBlock(){let t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)}unclosedBracket(t){throw this.input.error("Unclosed bracket",{offset:t[2]},{offset:t[2]+1})}unexpectedClose(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})}unknownWord(t){throw this.input.error("Unknown word "+t[0][1],{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})}unnamedAtrule(t,n){throw this.input.error("At-rule without name",{offset:n[2]},{offset:n[2]+n[1].length})}}return De=m,De}var Te,Wt;function Ze(){if(Wt)return Te;Wt=1;let e=F(),s=ie(),p=nr();function u(l,c){let a=new s(l,c),f=new p(a);try{f.parse()}catch(m){throw m}return f.root}return Te=u,u.default=u,e.registerParse(u),Te}var ke,$t;function or(){if($t)return ke;$t=1;class e{constructor(p,u={}){if(this.type="warning",this.text=p,u.node&&u.node.source){let l=u.node.rangeBy(u);this.line=l.start.line,this.column=l.start.column,this.endLine=l.end.line,this.endColumn=l.end.column}for(let l in u)this[l]=u[l]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return ke=e,e.default=e,ke}var Le,jt;function Ye(){if(jt)return Le;jt=1;let e=or();class s{get content(){return this.css}constructor(u,l,c){this.processor=u,this.messages=[],this.root=l,this.opts=c,this.css="",this.map=void 0}toString(){return this.css}warn(u,l={}){l.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(l.plugin=this.lastPlugin.postcssPlugin);let c=new e(u,l);return this.messages.push(c),c}warnings(){return this.messages.filter(u=>u.type==="warning")}}return Le=s,s.default=s,Le}var Be,Vt;function lr(){if(Vt)return Be;Vt=1;let e={};return Be=function(p){e[p]||(e[p]=!0,typeof console!="undefined"&&console.warn&&console.warn(p))},Be}var Ue,Gt;function ar(){if(Gt)return Ue;Gt=1;let e=F(),s=He(),p=ir(),u=Ze(),l=Ye(),c=G(),a=ee(),{isClean:f,my:m}=Ve(),o=lr(),t={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},n={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},i={Once:!0,postcssPlugin:!0,prepare:!0},r=0;function h(v){return typeof v=="object"&&typeof v.then=="function"}function d(v){let y=!1,b=t[v.type];return v.type==="decl"?y=v.prop.toLowerCase():v.type==="atrule"&&(y=v.name.toLowerCase()),y&&v.append?[b,b+"-"+y,r,b+"Exit",b+"Exit-"+y]:y?[b,b+"-"+y,b+"Exit",b+"Exit-"+y]:v.append?[b,r,b+"Exit"]:[b,b+"Exit"]}function g(v){let y;return v.type==="document"?y=["Document",r,"DocumentExit"]:v.type==="root"?y=["Root",r,"RootExit"]:y=d(v),{eventIndex:0,events:y,iterator:0,node:v,visitorIndex:0,visitors:[]}}function S(v){return v[f]=!1,v.nodes&&v.nodes.forEach(y=>S(y)),v}let w={};class C{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"}constructor(y,b,x){this.stringified=!1,this.processed=!1;let R;if(typeof b=="object"&&b!==null&&(b.type==="root"||b.type==="document"))R=S(b);else if(b instanceof C||b instanceof l)R=S(b.root),b.map&&(typeof x.map=="undefined"&&(x.map={}),x.map.inline||(x.map.inline=!1),x.map.prev=b.map);else{let P=u;x.syntax&&(P=x.syntax.parse),x.parser&&(P=x.parser),P.parse&&(P=P.parse);try{R=P(b,x)}catch(E){this.processed=!0,this.error=E}R&&!R[m]&&e.rebuild(R)}this.result=new l(y,R,x),this.helpers=j(L({},w),{postcss:w,result:this.result}),this.plugins=this.processor.plugins.map(P=>typeof P=="object"&&P.prepare?L(L({},P),P.prepare(this.result)):P)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(y){return this.async().catch(y)}finally(y){return this.async().then(y,y)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(y,b){let x=this.result.lastPlugin;try{b&&b.addToError(y),this.error=y,y.name==="CssSyntaxError"&&!y.plugin?(y.plugin=x.postcssPlugin,y.setMessage()):x.postcssVersion}catch(R){console&&console.error&&console.error(R)}return y}prepareVisitors(){this.listeners={};let y=(b,x,R)=>{this.listeners[x]||(this.listeners[x]=[]),this.listeners[x].push([b,R])};for(let b of this.plugins)if(typeof b=="object")for(let x in b){if(!n[x]&&/^[A-Z]/.test(x))throw new Error(`Unknown event ${x} in ${b.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!i[x])if(typeof b[x]=="object")for(let R in b[x])R==="*"?y(b,x,b[x][R]):y(b,x+"-"+R.toLowerCase(),b[x][R]);else typeof b[x]=="function"&&y(b,x,b[x])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let y=0;y<this.plugins.length;y++){let b=this.plugins[y],x=this.runOnRoot(b);if(h(x))try{await x}catch(R){throw this.handleError(R)}}if(this.prepareVisitors(),this.hasListener){let y=this.result.root;for(;!y[f];){y[f]=!0;let b=[g(y)];for(;b.length>0;){let x=this.visitTick(b);if(h(x))try{await x}catch(R){let P=b[b.length-1].node;throw this.handleError(R,P)}}}if(this.listeners.OnceExit)for(let[b,x]of this.listeners.OnceExit){this.result.lastPlugin=b;try{if(y.type==="document"){let R=y.nodes.map(P=>x(P,this.helpers));await Promise.all(R)}else await x(y,this.helpers)}catch(R){throw this.handleError(R)}}}return this.processed=!0,this.stringify()}runOnRoot(y){this.result.lastPlugin=y;try{if(typeof y=="object"&&y.Once){if(this.result.root.type==="document"){let b=this.result.root.nodes.map(x=>y.Once(x,this.helpers));return h(b[0])?Promise.all(b):b}return y.Once(this.result.root,this.helpers)}else if(typeof y=="function")return y(this.result.root,this.result)}catch(b){throw this.handleError(b)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let y=this.result.opts,b=a;y.syntax&&(b=y.syntax.stringify),y.stringifier&&(b=y.stringifier),b.stringify&&(b=b.stringify);let R=new p(b,this.result.root,this.result.opts).generate();return this.result.css=R[0],this.result.map=R[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 y of this.plugins){let b=this.runOnRoot(y);if(h(b))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let y=this.result.root;for(;!y[f];)y[f]=!0,this.walkSync(y);if(this.listeners.OnceExit)if(y.type==="document")for(let b of y.nodes)this.visitSync(this.listeners.OnceExit,b);else this.visitSync(this.listeners.OnceExit,y)}return this.result}then(y,b){return this.async().then(y,b)}toString(){return this.css}visitSync(y,b){for(let[x,R]of y){this.result.lastPlugin=x;let P;try{P=R(b,this.helpers)}catch(E){throw this.handleError(E,b.proxyOf)}if(b.type!=="root"&&b.type!=="document"&&!b.parent)return!0;if(h(P))throw this.getAsyncError()}}visitTick(y){let b=y[y.length-1],{node:x,visitors:R}=b;if(x.type!=="root"&&x.type!=="document"&&!x.parent){y.pop();return}if(R.length>0&&b.visitorIndex<R.length){let[E,D]=R[b.visitorIndex];b.visitorIndex+=1,b.visitorIndex===R.length&&(b.visitors=[],b.visitorIndex=0),this.result.lastPlugin=E;try{return D(x.toProxy(),this.helpers)}catch(N){throw this.handleError(N,x)}}if(b.iterator!==0){let E=b.iterator,D;for(;D=x.nodes[x.indexes[E]];)if(x.indexes[E]+=1,!D[f]){D[f]=!0,y.push(g(D));return}b.iterator=0,delete x.indexes[E]}let P=b.events;for(;b.eventIndex<P.length;){let E=P[b.eventIndex];if(b.eventIndex+=1,E===r){x.nodes&&x.nodes.length&&(x[f]=!0,b.iterator=x.getIterator());return}else if(this.listeners[E]){b.visitors=this.listeners[E];return}}y.pop()}walkSync(y){y[f]=!0;let b=d(y);for(let x of b)if(x===r)y.nodes&&y.each(R=>{R[f]||this.walkSync(R)});else{let R=this.listeners[x];if(R&&this.visitSync(R,y.toProxy()))return}}warnings(){return this.sync().warnings()}}return C.registerPostcss=v=>{w=v},Ue=C,C.default=C,c.registerLazyResult(C),s.registerLazyResult(C),Ue}var ze,Ht;function li(){if(Ht)return ze;Ht=1;let e=ir(),s=Ze(),p=Ye(),u=ee(),l=lr();class c{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 f,m=s;try{f=m(this._css,this._opts)}catch(o){this.error=o}if(this.error)throw this.error;return this._root=f,f}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(f,m,o){m=m.toString(),this.stringified=!1,this._processor=f,this._css=m,this._opts=o,this._map=void 0;let t,n=u;this.result=new p(this._processor,t,this._opts),this.result.css=m;let i=this;Object.defineProperty(this.result,"root",{get(){return i.root}});let r=new e(n,t,this._opts,m);if(r.isMap()){let[h,d]=r.generate();h&&(this.result.css=h),d&&(this.result.map=d)}else r.clearAnnotation(),this.result.css=r.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(f){return this.async().catch(f)}finally(f){return this.async().then(f,f)}sync(){if(this.error)throw this.error;return this.result}then(f,m){return this.async().then(f,m)}toString(){return this._css}warnings(){return[]}}return ze=c,c.default=c,ze}var qe,Jt;function ai(){if(Jt)return qe;Jt=1;let e=He(),s=ar(),p=li(),u=G();class l{constructor(a=[]){this.version="8.5.6",this.plugins=this.normalize(a)}normalize(a){let f=[];for(let m of a)if(m.postcss===!0?m=m():m.postcss&&(m=m.postcss),typeof m=="object"&&Array.isArray(m.plugins))f=f.concat(m.plugins);else if(typeof m=="object"&&m.postcssPlugin)f.push(m);else if(typeof m=="function")f.push(m);else if(!(typeof m=="object"&&(m.parse||m.stringify)))throw new Error(m+" is not a PostCSS plugin");return f}process(a,f={}){return!this.plugins.length&&!f.parser&&!f.stringifier&&!f.syntax?new p(this,a,f):new s(this,a,f)}use(a){return this.plugins=this.plugins.concat(this.normalize([a])),this}}return qe=l,l.default=l,u.registerProcessor(l),e.registerProcessor(l),qe}var Fe,Zt;function ur(){if(Zt)return Fe;Zt=1;let e=Ge(),s=V(),p=F(),u=je(),l=re(),c=He(),a=oi(),f=ie(),m=ar(),o=rr(),t=te(),n=Ze(),i=ai(),r=Ye(),h=G(),d=Je(),g=ee(),S=or();function w(...C){return C.length===1&&Array.isArray(C[0])&&(C=C[0]),new i(C)}return w.plugin=function(v,y){let b=!1;function x(...P){console&&console.warn&&!b&&(b=!0,console.warn(v+`: postcss.plugin was deprecated. Migration guide:
29
+ https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(v+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
30
+ https://www.w3ctech.com/topic/2226`));let E=y(...P);return E.postcssPlugin=v,E.postcssVersion=new i().version,E}let R;return Object.defineProperty(x,"postcss",{get(){return R||(R=x()),R}}),x.process=function(P,E,D){return w([x(D)]).process(P,E)},x},w.stringify=g,w.parse=n,w.fromJSON=a,w.list=o,w.comment=C=>new s(C),w.atRule=C=>new e(C),w.decl=C=>new l(C),w.rule=C=>new d(C),w.root=C=>new h(C),w.document=C=>new c(C),w.CssSyntaxError=u,w.Declaration=l,w.Container=p,w.Processor=i,w.Document=c,w.Comment=s,w.Warning=S,w.AtRule=e,w.Result=r,w.Input=f,w.Rule=d,w.Root=h,w.Node=t,m.registerPostcss(w),Fe=w,w.default=w,Fe}var We,Yt;function ui(){if(Yt)return We;Yt=1;let e=V(),s=nr(),p=sr();class u extends s{checkMissedSemicolon(){}comment(c){let a=new e;this.init(a,c[2]);let f=this.input.fromOffset(c[3])||this.input.fromOffset(this.input.css.length-1);a.source.end={column:f.col,line:f.line,offset:c[3]+1};let m=c[1].slice(2);if(m.slice(-2)==="*/"&&(m=m.slice(0,-2)),/^\s*$/.test(m))a.text="",a.raws.left=m,a.raws.right="";else{let o=m.match(/^(\s*)([^]*\S)(\s*)$/);a.text=o[2],a.raws.left=o[1],a.raws.right=o[3]}}createTokenizer(){this.tokenizer=p(this.input,{ignoreErrors:!0})}decl(c){c.length>1&&c.some(a=>a[0]==="word")&&super.decl(c)}doubleColon(){}endFile(){for(this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.current.parent;)this.current=this.current.parent,this.current.raws.after="";this.root.source.end=this.getPosition(this.tokenizer.position())}precheckMissedSemicolon(c){let a=this.colon(c);if(a===!1)return;let f,m;for(f=a-1;f>=0&&c[f][0]!=="word";f--);if(f===0||f<0)return;for(m=f-1;m>=0;m--)if(c[m][0]!=="space"){m+=1;break}let o=c.slice(f),t=c.slice(m,f);c.splice(m,c.length-m),this.spaces=t.map(n=>n[1]).join(""),this.decl(o)}unclosedBracket(){}unexpectedClose(){this.current.raws.after+="}"}unknownWord(c){this.spaces+=c.map(a=>a[1]).join("")}unnamedAtrule(c){c.name=""}}return We=u,We}var $e,Qt;function fi(){if(Qt)return $e;Qt=1;let{Input:e}=ur(),s=ui();return $e=function(u,l){let c=new e(u,l),a=new s(c);return a.parse(),a.root},$e}var ci=fi(),hi=Xt(ci),pi=ur(),I=Xt(pi);I.stringify;I.fromJSON;I.plugin;I.parse;I.list;I.document;I.comment;I.atRule;I.rule;I.decl;I.root;I.CssSyntaxError;I.Declaration;I.Container;I.Processor;I.Document;I.Comment;I.Warning;I.AtRule;I.Result;I.Input;I.Rule;I.Root;I.Node;var Kt={script:"noscript",altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",fedropshadow:"feDropShadow",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient"};function di(e){let s=Kt[e.tagName]?Kt[e.tagName]:e.tagName;return s==="link"&&e.attributes._cssText&&(s="style"),s}function Qe(e,s){let p=s==null?void 0:s.stylesWithHoverClass.get(e);if(p)return p;let u=e;try{u=I([Xr,ei]).process(e,{parser:hi}).css}catch(l){console.warn("Failed to adapt css for replay",l)}return s==null||s.stylesWithHoverClass.set(e,u),u}function mi(){return{stylesWithHoverClass:new Map}}function gi(e,s){let p=e.textContent;if(e.isStyle&&s.hackCss)try{p=Qe(e.textContent,s.cache)}catch(u){}return s.doc.createTextNode(p)}function yi(e,s){var p;let{doc:u,hackCss:l,cache:c}=s;switch(e.type){case M.NodeType$1.Document:return u.implementation.createDocument(null,"",null);case M.NodeType$1.DocumentType:return u.implementation.createDocumentType(e.name||"html",e.publicId,e.systemId);case M.NodeType$1.Element:{let a=di(e),f;e.isSVG?f=u.createElementNS("http://www.w3.org/2000/svg",a):(e.isCustom&&((p=u.defaultView)!=null&&p.customElements)&&!u.defaultView.customElements.get(e.tagName)&&u.defaultView.customElements.define(e.tagName,class extends u.defaultView.HTMLElement{}),f=u.createElement(a));let m={};for(let o in e.attributes){if(!Object.prototype.hasOwnProperty.call(e.attributes,o))continue;let t=e.attributes[o];if(a==="option"&&o==="selected"&&t===!1||t===null)continue;if(t===!0&&(t=""),o.startsWith("rr_")){m[o]=t;continue}let n=a==="textarea"&&o==="value",i=a==="style"&&o==="_cssText";if(i&&l&&typeof t=="string"&&(t=Qe(t,c)),(n||i)&&typeof t=="string"){f.appendChild(u.createTextNode(t)),e.childNodes=[];continue}try{if(e.isSVG&&o==="xlink:href")f.setAttributeNS("http://www.w3.org/1999/xlink",o,t.toString());else if(o==="onload"||o==="onclick"||o.substring(0,7)==="onmouse")f.setAttribute("_"+o,t.toString());else if(a==="meta"&&e.attributes["http-equiv"]==="Content-Security-Policy"&&o==="content"){f.setAttribute("csp-content",t.toString());continue}else a==="link"&&(e.attributes.rel==="preload"&&e.attributes.as==="script"||e.attributes.rel==="modulepreload")||a==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&M.extractFileExtension(e.attributes.href)==="js"||(a==="img"&&e.attributes.srcset&&e.attributes.rr_dataURL?f.setAttribute("rrweb-original-srcset",e.attributes.srcset):f.setAttribute(o,t.toString()))}catch(r){}}for(let o in m){let t=m[o];if(a==="canvas"&&o==="rr_dataURL"){let n=u.createElement("img");n.onload=()=>{let i=f.getContext("2d");i&&i.drawImage(n,0,0,n.width,n.height)},n.src=t.toString(),f.RRNodeType&&(f.rr_dataURL=t.toString())}else if(a==="img"&&o==="rr_dataURL"){let n=f;n.currentSrc.startsWith("data:")||(n.setAttribute("rrweb-original-src",e.attributes.src),n.src=t.toString())}if(o==="rr_width")f.style.setProperty("width",t.toString());else if(o==="rr_height")f.style.setProperty("height",t.toString());else if(o==="rr_left")f.style.setProperty("left",t.toString()),f.style.setProperty("position","absolute");else if(o==="rr_top")f.style.setProperty("top",t.toString()),f.style.setProperty("position","absolute");else if(o==="rr_mediaCurrentTime"&&typeof t=="number")f.currentTime=t;else if(o==="rr_mediaState")switch(t){case"played":f.play().catch(n=>console.warn("media playback error",n));break;case"paused":f.pause();break}else o==="rr_mediaPlaybackRate"&&typeof t=="number"?f.playbackRate=t:o==="rr_mediaMuted"&&typeof t=="boolean"?f.muted=t:o==="rr_mediaLoop"&&typeof t=="boolean"?f.loop=t:o==="rr_mediaVolume"&&typeof t=="number"?f.volume=t:o==="rr_open_mode"&&f.setAttribute("rr_open_mode",t)}if(e.isShadowHost)if(!f.shadowRoot)f.attachShadow({mode:"open"});else for(;f.shadowRoot.firstChild;)f.shadowRoot.removeChild(f.shadowRoot.firstChild);return f}case M.NodeType$1.Text:return gi(e,{cache:c,doc:u,hackCss:l});case M.NodeType$1.CDATA:return e.textContent.trim()===""?null:u.createCDATASection(e.textContent);case M.NodeType$1.Comment:return u.createComment(e.textContent);default:return null}}function Ke(e,s){let{doc:p,mirror:u,skipChild:l=!1,hackCss:c=!0,afterAppend:a,cache:f}=s;if(u.has(e.id)){let o=u.getNode(e.id),t=u.getMeta(o);if(M.isNodeMetaEqual(t,e))return u.getNode(e.id)}let m=yi(e,{doc:p,hackCss:c,cache:f});if(!m)return null;if(e.rootId&&u.getNode(e.rootId)!==p&&u.replace(e.rootId,p),e.type===M.NodeType$1.Document&&(p.close(),p.open(),e.compatMode==="BackCompat"&&e.childNodes&&e.childNodes[0].type!==M.NodeType$1.DocumentType&&(e.childNodes[0].type===M.NodeType$1.Element&&"xmlns"in e.childNodes[0].attributes&&e.childNodes[0].attributes.xmlns==="http://www.w3.org/1999/xhtml"?p.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">'):p.write('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "">')),m=p),u.add(m,e),(e.type===M.NodeType$1.Document||e.type===M.NodeType$1.Element)&&!l)for(let o of e.childNodes){let t=Ke(o,{doc:p,mirror:u,skipChild:!1,hackCss:c,afterAppend:a,cache:f});if(!t){console.warn("Failed to rebuild",o);continue}if(o.isShadow&&M.isElement(m)&&m.shadowRoot)m.shadowRoot.appendChild(t);else if(e.type===M.NodeType$1.Document&&o.type==M.NodeType$1.Element){let n=t,i=null;n.childNodes.forEach(r=>{r.nodeName==="BODY"&&(i=r)}),i?(n.removeChild(i),m.appendChild(t),n.appendChild(i)):m.appendChild(t)}else e.type===M.NodeType$1.Document&&o.type===M.NodeType$1.DocumentType&&m.firstChild&&m.firstChild.nodeType===1?m.insertBefore(t,m.firstChild):m.appendChild(t);a&&a(t,o.id)}return m}function wi(e,s){function p(u){s(u)}for(let u of e.getIds())e.has(u)&&p(e.getNode(u))}function bi(e,s){let p=s.getMeta(e);if((p==null?void 0:p.type)!==M.NodeType$1.Element)return;let u=e;for(let l in p.attributes){if(!(Object.prototype.hasOwnProperty.call(p.attributes,l)&&l.startsWith("rr_")))continue;let c=p.attributes[l];l==="rr_scrollLeft"&&(u.scrollLeft=c),l==="rr_scrollTop"&&(u.scrollTop=c)}}function Si(e,s){let{doc:p,onVisit:u,hackCss:l=!0,afterAppend:c,cache:a,mirror:f=new M.Mirror}=s,m=Ke(e,{doc:p,mirror:f,skipChild:!1,hackCss:l,afterAppend:c,cache:a});return wi(f,o=>{u&&u(o),bi(o,f)}),m}exports.Mirror=M.Mirror;exports.NodeType=M.NodeType;exports.absolutifyURLs=M.absolutifyURLs;exports.checkDataURLSize=M.checkDataURLSize;exports.createMirror=M.createMirror;exports.escapeImportStatement=M.escapeImportStatement;exports.extractFileExtension=M.extractFileExtension;exports.fixSafariColons=M.fixSafariColons;exports.getInputType=M.getInputType;exports.is2DCanvasBlank=M.is2DCanvasBlank;exports.isCSSImportRule=M.isCSSImportRule;exports.isCSSStyleRule=M.isCSSStyleRule;exports.isElement=M.isElement;exports.isNativeShadowDom=M.isNativeShadowDom;exports.isNodeMetaEqual=M.isNodeMetaEqual;exports.isShadowRoot=M.isShadowRoot;exports.maskInputValue=M.maskInputValue;exports.recompressBase64Image=M.recompressBase64Image;exports.stringifyRule=M.stringifyRule;exports.stringifyStylesheet=M.stringifyStylesheet;exports.toLowerCase=M.toLowerCase;exports.adaptCssForReplay=Qe;exports.buildNodeWithSN=Ke;exports.createCache=mi;exports.rebuild=Si;
31
+ ;if (typeof module.exports == "object" && typeof exports == "object") {
44
32
  var __cp = (to, from, except, desc) => {
45
33
  if ((from && typeof from === "object") || typeof from === "function") {
46
34
  for (let key of Object.getOwnPropertyNames(from)) {