@appsurify-testmap/rrweb-player 2.0.0-alpha.31 → 2.0.0-alpha.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rrweb-player.cjs +0 -2
- package/dist/rrweb-player.cjs.map +1 -1
- package/dist/rrweb-player.js +0 -2
- package/dist/rrweb-player.js.map +1 -1
- package/dist/rrweb-player.umd.cjs +0 -2
- package/dist/rrweb-player.umd.cjs.map +2 -2
- package/dist/rrweb-player.umd.min.cjs +2 -2
- package/dist/rrweb-player.umd.min.cjs.map +2 -2
- package/package.json +4 -4
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
}(this, () => {
|
|
12
12
|
var exports = {};
|
|
13
13
|
var module = { exports };
|
|
14
|
-
"use strict";var jl=Object.defineProperty,Zl=Object.defineProperties;var Hl=Object.getOwnPropertyDescriptors;var Dt=Object.getOwnPropertySymbols;var dr=Object.prototype.hasOwnProperty,mr=Object.prototype.propertyIsEnumerable;var pr=(s,e,t)=>e in s?jl(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,$=(s,e)=>{for(var t in e||(e={}))dr.call(e,t)&&pr(s,t,e[t]);if(Dt)for(var t of Dt(e))mr.call(e,t)&&pr(s,t,e[t]);return s},oe=(s,e)=>Zl(s,Hl(e));var nt=(s,e)=>{var t={};for(var i in s)dr.call(s,i)&&e.indexOf(i)<0&&(t[i]=s[i]);if(s!=null&&Dt)for(var i of Dt(s))e.indexOf(i)<0&&mr.call(s,i)&&(t[i]=s[i]);return t};var Xl=Object.defineProperty,Jl=(s,e,t)=>e in s?Xl(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,gr=(s,e,t)=>Jl(s,typeof e!="symbol"?e+"":e,t);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function gt(){}function yr(s,e){for(const t in e)s[t]=e[t];return s}function Fn(s){return s()}function wr(){return Object.create(null)}function st(s){s.forEach(Fn)}function Bn(s){return typeof s=="function"}function Ls(s,e){return s!=s?e==e:s!==e||s&&typeof s=="object"||typeof s=="function"}function Kl(s){return Object.keys(s).length===0}function vr(s){const e={};for(const t in s)t[0]!=="$"&&(e[t]=s[t]);return e}function T(s,e){s.appendChild(e)}function Me(s,e,t){s.insertBefore(e,t||null)}function Ee(s){s.parentNode&&s.parentNode.removeChild(s)}function ki(s,e){for(let t=0;t<s.length;t+=1)s[t]&&s[t].d(e)}function se(s){return document.createElement(s)}function oi(s){return document.createElementNS("http://www.w3.org/2000/svg",s)}function Le(s){return document.createTextNode(s)}function ce(){return Le(" ")}function Ql(){return Le("")}function je(s,e,t,i){return s.addEventListener(e,t,i),()=>s.removeEventListener(e,t,i)}function M(s,e,t){t==null?s.removeAttribute(e):s.getAttribute(e)!==t&&s.setAttribute(e,t)}function ql(s){return Array.from(s.childNodes)}function li(s,e){e=""+e,s.data!==e&&(s.data=e)}function ee(s,e,t,i){t==null?s.style.removeProperty(e):s.style.setProperty(e,t,"")}function Xe(s,e,t){s.classList.toggle(e,!!t)}function ea(s,e,{bubbles:t=!1,cancelable:i=!1}={}){return new CustomEvent(s,{detail:e,bubbles:t,cancelable:i})}let yt;function pt(s){yt=s}function bi(){if(!yt)throw new Error("Function called outside component initialization");return yt}function Un(s){bi().$$.on_mount.push(s)}function ta(s){bi().$$.after_update.push(s)}function zn(s){bi().$$.on_destroy.push(s)}function ia(){const s=bi();return(e,t,{cancelable:i=!1}={})=>{const r=s.$$.callbacks[e];if(r){const o=ea(e,t,{cancelable:i});return r.slice().forEach(n=>{n.call(s,o)}),!o.defaultPrevented}return!0}}const Ve=[],$e=[];let He=[];const Ki=[],sa=Promise.resolve();let Qi=!1;function ra(){Qi||(Qi=!0,sa.then(Vn))}function qi(s){He.push(s)}function na(s){Ki.push(s)}const Pi=new Set;let Ue=0;function Vn(){if(Ue!==0)return;const s=yt;do{try{for(;Ue<Ve.length;){const e=Ve[Ue];Ue++,pt(e),oa(e.$$)}}catch(e){throw Ve.length=0,Ue=0,e}for(pt(null),Ve.length=0,Ue=0;$e.length;)$e.pop()();for(let e=0;e<He.length;e+=1){const t=He[e];Pi.has(t)||(Pi.add(t),t())}He.length=0}while(Ve.length);for(;Ki.length;)Ki.pop()();Qi=!1,Pi.clear(),pt(s)}function oa(s){if(s.fragment!==null){s.update(),st(s.before_update);const e=s.dirty;s.dirty=[-1],s.fragment&&s.fragment.p(s.ctx,e),s.after_update.forEach(qi)}}function la(s){const e=[],t=[];He.forEach(i=>s.indexOf(i)===-1?e.push(i):t.push(i)),t.forEach(i=>i()),He=e}const ti=new Set;let Pe;function Wn(){Pe={r:0,c:[],p:Pe}}function Gn(){Pe.r||st(Pe.c),Pe=Pe.p}function Ae(s,e){s&&s.i&&(ti.delete(s),s.i(e))}function Je(s,e,t,i){if(s&&s.o){if(ti.has(s))return;ti.add(s),Pe.c.push(()=>{ti.delete(s),i&&(t&&s.d(1),i())}),s.o(e)}else i&&i()}function ze(s){return(s==null?void 0:s.length)!==void 0?s:Array.from(s)}function aa(s,e,t){const i=s.$$.props[e];i!==void 0&&(s.$$.bound[i]=t,t(s.$$.ctx[i]))}function Yn(s){s&&s.c()}function Fs(s,e,t){const{fragment:i,after_update:r}=s.$$;i&&i.m(e,t),qi(()=>{const o=s.$$.on_mount.map(Fn).filter(Bn);s.$$.on_destroy?s.$$.on_destroy.push(...o):st(o),s.$$.on_mount=[]}),r.forEach(qi)}function Bs(s,e){const t=s.$$;t.fragment!==null&&(la(t.after_update),st(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function ua(s,e){s.$$.dirty[0]===-1&&(Ve.push(s),ra(),s.$$.dirty.fill(0)),s.$$.dirty[e/31|0]|=1<<e%31}function Us(s,e,t,i,r,o,n=null,l=[-1]){const a=yt;pt(s);const u=s.$$={fragment:null,ctx:[],props:o,update:gt,not_equal:r,bound:wr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:wr(),dirty:l,skip_bound:!1,root:e.target||a.$$.root};n&&n(u.root);let c=!1;if(u.ctx=t?t(s,e.props||{},(h,f,...g)=>{const d=g.length?g[0]:f;return u.ctx&&r(u.ctx[h],u.ctx[h]=d)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](d),c&&ua(s,h)),f}):[],u.update(),c=!0,st(u.before_update),u.fragment=i?i(u.ctx):!1,e.target){if(e.hydrate){const h=ql(e.target);u.fragment&&u.fragment.l(h),h.forEach(Ee)}else u.fragment&&u.fragment.c();e.intro&&Ae(s.$$.fragment),Fs(s,e.target,e.anchor),Vn()}pt(a)}class zs{constructor(){gr(this,"$$"),gr(this,"$$set")}$destroy(){Bs(this,1),this.$destroy=gt}$on(e,t){if(!Bn(t))return gt;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const r=i.indexOf(t);r!==-1&&i.splice(r,1)}}$set(e){this.$$set&&!Kl(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const ca="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ca);var ha=Object.defineProperty,fa=(s,e,t)=>e in s?ha(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,N=(s,e,t)=>fa(s,typeof e!="symbol"?e+"":e,t),br,pa=Object.defineProperty,da=(s,e,t)=>e in s?pa(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,Cr=(s,e,t)=>da(s,typeof e!="symbol"?e+"":e,t),Q=(s=>(s[s.Document=0]="Document",s[s.DocumentType=1]="DocumentType",s[s.Element=2]="Element",s[s.Text=3]="Text",s[s.CDATA=4]="CDATA",s[s.Comment=5]="Comment",s))(Q||{});class jn{constructor(){Cr(this,"idNodeMap",new Map),Cr(this,"nodeMetaMap",new WeakMap)}getId(e){var t;if(!e)return-1;const i=(t=this.getMeta(e))==null?void 0:t.id;return i!=null?i:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(i=>this.removeNodeFromMap(i))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const i=t.id;this.idNodeMap.set(i,e),this.nodeMetaMap.set(e,t)}replace(e,t){const i=this.getNode(e);if(i){const r=this.nodeMetaMap.get(i);r&&this.nodeMetaMap.set(t,r)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function Zn(){return new jn}function ma(s){return s.toLowerCase()}function ga(s,e){return!s||!e||s.type!==e.type?!1:s.type===Q.Document?s.compatMode===e.compatMode:s.type===Q.DocumentType?s.name===e.name&&s.publicId===e.publicId&&s.systemId===e.systemId:s.type===Q.Comment||s.type===Q.Text||s.type===Q.CDATA?s.textContent===e.textContent:s.type===Q.Element?s.tagName===e.tagName&&JSON.stringify(s.attributes)===JSON.stringify(e.attributes)&&s.isSVG===e.isSVG&&s.needBlock===e.needBlock:!1}function ya(s){return s.nodeType===s.ELEMENT_NODE}const wa=["change","submit","dragstart","drop","pointerdown","pointerup","input","keydown","keyup","keypress","mouseenter","mouseleave","mouseup","mousedown","click","contextmenu","dblclick","focus","blur","touchstart","touchmove","touchend","touchcancel"],va=["onclick","ondblclick","onmousedown","onmouseup","onmouseover","onmouseout","onmousemove","onfocus","onblur","onkeydown","onkeypress","onkeyup","onchange","oninput","onsubmit","onreset","onselect","oncontextmenu","ontouchstart","ontouchmove","ontouchend","ontouchcancel"],Hn=new WeakSet,ba=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(s,e,t){if(ba.call(this,s,e,t),this instanceof Element){const i=s.toLowerCase();
|
|
14
|
+
"use strict";var jl=Object.defineProperty,Zl=Object.defineProperties;var Hl=Object.getOwnPropertyDescriptors;var Dt=Object.getOwnPropertySymbols;var dr=Object.prototype.hasOwnProperty,mr=Object.prototype.propertyIsEnumerable;var pr=(s,e,t)=>e in s?jl(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,$=(s,e)=>{for(var t in e||(e={}))dr.call(e,t)&&pr(s,t,e[t]);if(Dt)for(var t of Dt(e))mr.call(e,t)&&pr(s,t,e[t]);return s},oe=(s,e)=>Zl(s,Hl(e));var nt=(s,e)=>{var t={};for(var i in s)dr.call(s,i)&&e.indexOf(i)<0&&(t[i]=s[i]);if(s!=null&&Dt)for(var i of Dt(s))e.indexOf(i)<0&&mr.call(s,i)&&(t[i]=s[i]);return t};var Xl=Object.defineProperty,Jl=(s,e,t)=>e in s?Xl(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,gr=(s,e,t)=>Jl(s,typeof e!="symbol"?e+"":e,t);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function gt(){}function yr(s,e){for(const t in e)s[t]=e[t];return s}function Fn(s){return s()}function wr(){return Object.create(null)}function st(s){s.forEach(Fn)}function Bn(s){return typeof s=="function"}function Ls(s,e){return s!=s?e==e:s!==e||s&&typeof s=="object"||typeof s=="function"}function Kl(s){return Object.keys(s).length===0}function vr(s){const e={};for(const t in s)t[0]!=="$"&&(e[t]=s[t]);return e}function T(s,e){s.appendChild(e)}function Me(s,e,t){s.insertBefore(e,t||null)}function Ee(s){s.parentNode&&s.parentNode.removeChild(s)}function ki(s,e){for(let t=0;t<s.length;t+=1)s[t]&&s[t].d(e)}function se(s){return document.createElement(s)}function oi(s){return document.createElementNS("http://www.w3.org/2000/svg",s)}function Le(s){return document.createTextNode(s)}function ce(){return Le(" ")}function Ql(){return Le("")}function je(s,e,t,i){return s.addEventListener(e,t,i),()=>s.removeEventListener(e,t,i)}function M(s,e,t){t==null?s.removeAttribute(e):s.getAttribute(e)!==t&&s.setAttribute(e,t)}function ql(s){return Array.from(s.childNodes)}function li(s,e){e=""+e,s.data!==e&&(s.data=e)}function ee(s,e,t,i){t==null?s.style.removeProperty(e):s.style.setProperty(e,t,"")}function Xe(s,e,t){s.classList.toggle(e,!!t)}function ea(s,e,{bubbles:t=!1,cancelable:i=!1}={}){return new CustomEvent(s,{detail:e,bubbles:t,cancelable:i})}let yt;function pt(s){yt=s}function bi(){if(!yt)throw new Error("Function called outside component initialization");return yt}function Un(s){bi().$$.on_mount.push(s)}function ta(s){bi().$$.after_update.push(s)}function zn(s){bi().$$.on_destroy.push(s)}function ia(){const s=bi();return(e,t,{cancelable:i=!1}={})=>{const r=s.$$.callbacks[e];if(r){const o=ea(e,t,{cancelable:i});return r.slice().forEach(n=>{n.call(s,o)}),!o.defaultPrevented}return!0}}const Ve=[],$e=[];let He=[];const Ki=[],sa=Promise.resolve();let Qi=!1;function ra(){Qi||(Qi=!0,sa.then(Vn))}function qi(s){He.push(s)}function na(s){Ki.push(s)}const Pi=new Set;let Ue=0;function Vn(){if(Ue!==0)return;const s=yt;do{try{for(;Ue<Ve.length;){const e=Ve[Ue];Ue++,pt(e),oa(e.$$)}}catch(e){throw Ve.length=0,Ue=0,e}for(pt(null),Ve.length=0,Ue=0;$e.length;)$e.pop()();for(let e=0;e<He.length;e+=1){const t=He[e];Pi.has(t)||(Pi.add(t),t())}He.length=0}while(Ve.length);for(;Ki.length;)Ki.pop()();Qi=!1,Pi.clear(),pt(s)}function oa(s){if(s.fragment!==null){s.update(),st(s.before_update);const e=s.dirty;s.dirty=[-1],s.fragment&&s.fragment.p(s.ctx,e),s.after_update.forEach(qi)}}function la(s){const e=[],t=[];He.forEach(i=>s.indexOf(i)===-1?e.push(i):t.push(i)),t.forEach(i=>i()),He=e}const ti=new Set;let Pe;function Wn(){Pe={r:0,c:[],p:Pe}}function Gn(){Pe.r||st(Pe.c),Pe=Pe.p}function Ae(s,e){s&&s.i&&(ti.delete(s),s.i(e))}function Je(s,e,t,i){if(s&&s.o){if(ti.has(s))return;ti.add(s),Pe.c.push(()=>{ti.delete(s),i&&(t&&s.d(1),i())}),s.o(e)}else i&&i()}function ze(s){return(s==null?void 0:s.length)!==void 0?s:Array.from(s)}function aa(s,e,t){const i=s.$$.props[e];i!==void 0&&(s.$$.bound[i]=t,t(s.$$.ctx[i]))}function Yn(s){s&&s.c()}function Fs(s,e,t){const{fragment:i,after_update:r}=s.$$;i&&i.m(e,t),qi(()=>{const o=s.$$.on_mount.map(Fn).filter(Bn);s.$$.on_destroy?s.$$.on_destroy.push(...o):st(o),s.$$.on_mount=[]}),r.forEach(qi)}function Bs(s,e){const t=s.$$;t.fragment!==null&&(la(t.after_update),st(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function ua(s,e){s.$$.dirty[0]===-1&&(Ve.push(s),ra(),s.$$.dirty.fill(0)),s.$$.dirty[e/31|0]|=1<<e%31}function Us(s,e,t,i,r,o,n=null,l=[-1]){const a=yt;pt(s);const u=s.$$={fragment:null,ctx:[],props:o,update:gt,not_equal:r,bound:wr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:wr(),dirty:l,skip_bound:!1,root:e.target||a.$$.root};n&&n(u.root);let c=!1;if(u.ctx=t?t(s,e.props||{},(h,f,...g)=>{const d=g.length?g[0]:f;return u.ctx&&r(u.ctx[h],u.ctx[h]=d)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](d),c&&ua(s,h)),f}):[],u.update(),c=!0,st(u.before_update),u.fragment=i?i(u.ctx):!1,e.target){if(e.hydrate){const h=ql(e.target);u.fragment&&u.fragment.l(h),h.forEach(Ee)}else u.fragment&&u.fragment.c();e.intro&&Ae(s.$$.fragment),Fs(s,e.target,e.anchor),Vn()}pt(a)}class zs{constructor(){gr(this,"$$"),gr(this,"$$set")}$destroy(){Bs(this,1),this.$destroy=gt}$on(e,t){if(!Bn(t))return gt;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const r=i.indexOf(t);r!==-1&&i.splice(r,1)}}$set(e){this.$$set&&!Kl(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const ca="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ca);var ha=Object.defineProperty,fa=(s,e,t)=>e in s?ha(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,N=(s,e,t)=>fa(s,typeof e!="symbol"?e+"":e,t),br,pa=Object.defineProperty,da=(s,e,t)=>e in s?pa(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,Cr=(s,e,t)=>da(s,typeof e!="symbol"?e+"":e,t),Q=(s=>(s[s.Document=0]="Document",s[s.DocumentType=1]="DocumentType",s[s.Element=2]="Element",s[s.Text=3]="Text",s[s.CDATA=4]="CDATA",s[s.Comment=5]="Comment",s))(Q||{});class jn{constructor(){Cr(this,"idNodeMap",new Map),Cr(this,"nodeMetaMap",new WeakMap)}getId(e){var t;if(!e)return-1;const i=(t=this.getMeta(e))==null?void 0:t.id;return i!=null?i:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(i=>this.removeNodeFromMap(i))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const i=t.id;this.idNodeMap.set(i,e),this.nodeMetaMap.set(e,t)}replace(e,t){const i=this.getNode(e);if(i){const r=this.nodeMetaMap.get(i);r&&this.nodeMetaMap.set(t,r)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function Zn(){return new jn}function ma(s){return s.toLowerCase()}function ga(s,e){return!s||!e||s.type!==e.type?!1:s.type===Q.Document?s.compatMode===e.compatMode:s.type===Q.DocumentType?s.name===e.name&&s.publicId===e.publicId&&s.systemId===e.systemId:s.type===Q.Comment||s.type===Q.Text||s.type===Q.CDATA?s.textContent===e.textContent:s.type===Q.Element?s.tagName===e.tagName&&JSON.stringify(s.attributes)===JSON.stringify(e.attributes)&&s.isSVG===e.isSVG&&s.needBlock===e.needBlock:!1}function ya(s){return s.nodeType===s.ELEMENT_NODE}const wa=["change","submit","dragstart","drop","pointerdown","pointerup","input","keydown","keyup","keypress","mouseenter","mouseleave","mouseup","mousedown","click","contextmenu","dblclick","focus","blur","touchstart","touchmove","touchend","touchcancel"],va=["onclick","ondblclick","onmousedown","onmouseup","onmouseover","onmouseout","onmousemove","onfocus","onblur","onkeydown","onkeypress","onkeyup","onchange","oninput","onsubmit","onreset","onselect","oncontextmenu","ontouchstart","ontouchmove","ontouchend","ontouchcancel"],Hn=new WeakSet,ba=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(s,e,t){if(ba.call(this,s,e,t),this instanceof Element){const i=s.toLowerCase();wa.includes(i)&&Hn.add(this)}};const Ca=EventTarget.prototype.removeEventListener;EventTarget.prototype.removeEventListener=function(s,e,t){Ca.call(this,s,e,t)};function Sr(){document.querySelectorAll("*").forEach(e=>{va.forEach(t=>{e.hasAttribute(t)&&Hn.add(e)})})}document.readyState==="complete"||document.readyState==="interactive"?Sr():document.addEventListener("DOMContentLoaded",Sr);const Sa=/(max|min)-device-(width|height)/,Er=new RegExp(Sa.source,"g"),Ea={postcssPlugin:"postcss-custom-selectors",prepare(){return{postcssPlugin:"postcss-custom-selectors",AtRule:function(s){s.params.match(Er)&&(s.params=s.params.replace(Er,"$1-$2"))}}}},xa={postcssPlugin:"postcss-hover-classes",prepare:function(){const s=[];return{Rule:function(e){s.indexOf(e)===-1&&(s.push(e),e.selectors.forEach(function(t){t.includes(":hover")&&(e.selector+=`,
|
|
15
15
|
`+t.replace(/:hover/g,".\\:hover"))}))}}}};function Aa(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}function Ra(s){if(s.__esModule)return s;var e=s.default;if(typeof e=="function"){var t=function i(){return this instanceof i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(s).forEach(function(i){var r=Object.getOwnPropertyDescriptor(s,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:function(){return s[i]}})}),t}var Vs={exports:{}},W=String,Xn=function(){return{isColorSupported:!1,reset:W,bold:W,dim:W,italic:W,underline:W,inverse:W,hidden:W,strikethrough:W,black:W,red:W,green:W,yellow:W,blue:W,magenta:W,cyan:W,white:W,gray:W,bgBlack:W,bgRed:W,bgGreen:W,bgYellow:W,bgBlue:W,bgMagenta:W,bgCyan:W,bgWhite:W}};Vs.exports=Xn();Vs.exports.createColors=Xn;var Na=Vs.exports;const Ma={},Ia=Object.freeze(Object.defineProperty({__proto__:null,default:Ma},Symbol.toStringTag,{value:"Module"})),me=Ra(Ia);let xr=Na,Ar=me,es=class Jn extends Error{constructor(e,t,i,r,o,n){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),r&&(this.source=r),n&&(this.plugin=n),typeof t!="undefined"&&typeof i!="undefined"&&(typeof t=="number"?(this.line=t,this.column=i):(this.line=t.line,this.column=t.column,this.endLine=i.line,this.endColumn=i.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,Jn)}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(e){if(!this.source)return"";let t=this.source;e==null&&(e=xr.isColorSupported),Ar&&e&&(t=Ar(t));let i=t.split(/\r?\n/),r=Math.max(this.line-3,0),o=Math.min(this.line+2,i.length),n=String(o).length,l,a;if(e){let{bold:u,gray:c,red:h}=xr.createColors(!0);l=f=>u(h(f)),a=f=>c(f)}else l=a=u=>u;return i.slice(r,o).map((u,c)=>{let h=r+1+c,f=" "+(" "+h).slice(-n)+" | ";if(h===this.line){let g=a(f.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return l(">")+a(f)+u+`
|
|
16
16
|
`+g+l("^")}return" "+a(f)+u}).join(`
|
|
17
17
|
`)}toString(){let e=this.showSourceCode();return e&&(e=`
|
|
@@ -37,7 +37,7 @@ var module = { exports };
|
|
|
37
37
|
`),t=l.length-n):t+=l.length,a&&u!=="start"){let c=a.parent||{raws:{}};(!(a.type==="decl"||a.type==="atrule"&&!a.nodes)||a!==c.last||c.raws.semicolon)&&(a.source&&a.source.end?(r.source=this.sourcePath(a),r.original.line=a.source.end.line,r.original.column=a.source.end.column-1,r.generated.line=e,r.generated.column=t-2,this.map.addMapping(r)):(r.source=i,r.original.line=1,r.original.column=0,r.generated.line=e,r.generated.column=t-1,this.map.addMapping(r)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation!="undefined"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}isInline(){if(typeof this.mapOpts.inline!="undefined")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e!="undefined"&&e!==!0?!1:this.previous().length?this.previous().some(t=>t.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(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let i=this.opts.to?si(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(i=si(to(i,this.mapOpts.annotation)));let r=eo(i,e);return this.memoizedPaths.set(e,r),r}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new Ja(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let i=t.source.input.from;if(i&&!e[i]){e[i]=!0;let r=this.usesFileUrls?this.toFileUrl(i):this.toUrl(this.path(i));this.map.setSourceContent(r,t.source.input.css)}}});else if(this.css){let t=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(t,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(_r){let i=_r(e).toString();return this.memoizedFileURLs.set(e,i),i}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;io==="\\"&&(e=e.replace(/\\/g,"/"));let i=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,i),i}};var so=qa;let eu=Si,us=class extends eu{constructor(e){super(e),this.type="comment"}};var Ai=us;us.default=us;let{isClean:ro,my:no}=Rt,oo=Ei,lo=Ai,tu=Si,ao,Gs,Ys,uo;function co(s){return s.map(e=>(e.nodes&&(e.nodes=co(e.nodes)),delete e.source,e))}function ho(s){if(s[ro]=!1,s.proxyOf.nodes)for(let e of s.proxyOf.nodes)ho(e)}let Re=class fo extends tu{append(...e){for(let t of e){let i=this.normalize(t,this.last);for(let r of i)this.proxyOf.nodes.push(r)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),i,r;for(;this.indexes[t]<this.proxyOf.nodes.length&&(i=this.indexes[t],r=e(this.proxyOf.nodes[i],i),r!==!1);)this.indexes[t]+=1;return delete this.indexes[t],r}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...i)=>e[t](...i.map(r=>typeof r=="function"?(o,n)=>r(o.toProxy(),n):r)):t==="every"||t==="some"?i=>e[t]((r,...o)=>i(r.toProxy(),...o)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(i=>i.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]},set(e,t,i){return e[t]===i||(e[t]=i,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let i=this.index(e),r=this.normalize(t,this.proxyOf.nodes[i]).reverse();i=this.index(e);for(let n of r)this.proxyOf.nodes.splice(i+1,0,n);let o;for(let n in this.indexes)o=this.indexes[n],i<o&&(this.indexes[n]=o+r.length);return this.markDirty(),this}insertBefore(e,t){let i=this.index(e),r=i===0?"prepend":!1,o=this.normalize(t,this.proxyOf.nodes[i],r).reverse();i=this.index(e);for(let l of o)this.proxyOf.nodes.splice(i,0,l);let n;for(let l in this.indexes)n=this.indexes[l],i<=n&&(this.indexes[l]=n+o.length);return this.markDirty(),this}normalize(e,t){if(typeof e=="string")e=co(ao(e).nodes);else if(typeof e=="undefined")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let r of e)r.parent&&r.parent.removeChild(r,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let r of e)r.parent&&r.parent.removeChild(r,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value=="undefined")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new oo(e)]}else if(e.selector)e=[new Gs(e)];else if(e.name)e=[new Ys(e)];else if(e.text)e=[new lo(e)];else throw new Error("Unknown node type in node creation");return e.map(r=>(r[no]||fo.rebuild(r),r=r.proxyOf,r.parent&&r.parent.removeChild(r),r[ro]&&ho(r),typeof r.raws.before=="undefined"&&t&&typeof t.raws.before!="undefined"&&(r.raws.before=t.raws.before.replace(/\S/g,"")),r.parent=this.proxyOf,r))}prepend(...e){e=e.reverse();for(let t of e){let i=this.normalize(t,this.first,"prepend").reverse();for(let r of i)this.proxyOf.nodes.unshift(r);for(let r in this.indexes)this.indexes[r]=this.indexes[r]+i.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let i in this.indexes)t=this.indexes[i],t>=e&&(this.indexes[i]=t-1);return this.markDirty(),this}replaceValues(e,t,i){return i||(i=t,t={}),this.walkDecls(r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,i))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,i)=>{let r;try{r=e(t,i)}catch(o){throw t.addToError(o)}return r!==!1&&t.walk&&(r=t.walk(e)),r})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((i,r)=>{if(i.type==="atrule"&&e.test(i.name))return t(i,r)}):this.walk((i,r)=>{if(i.type==="atrule"&&i.name===e)return t(i,r)}):(t=e,this.walk((i,r)=>{if(i.type==="atrule")return t(i,r)}))}walkComments(e){return this.walk((t,i)=>{if(t.type==="comment")return e(t,i)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((i,r)=>{if(i.type==="decl"&&e.test(i.prop))return t(i,r)}):this.walk((i,r)=>{if(i.type==="decl"&&i.prop===e)return t(i,r)}):(t=e,this.walk((i,r)=>{if(i.type==="decl")return t(i,r)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((i,r)=>{if(i.type==="rule"&&e.test(i.selector))return t(i,r)}):this.walk((i,r)=>{if(i.type==="rule"&&i.selector===e)return t(i,r)}):(t=e,this.walk((i,r)=>{if(i.type==="rule")return t(i,r)}))}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]}};Re.registerParse=s=>{ao=s};Re.registerRule=s=>{Gs=s};Re.registerAtRule=s=>{Ys=s};Re.registerRoot=s=>{uo=s};var Fe=Re;Re.default=Re;Re.rebuild=s=>{s.type==="atrule"?Object.setPrototypeOf(s,Ys.prototype):s.type==="rule"?Object.setPrototypeOf(s,Gs.prototype):s.type==="decl"?Object.setPrototypeOf(s,oo.prototype):s.type==="comment"?Object.setPrototypeOf(s,lo.prototype):s.type==="root"&&Object.setPrototypeOf(s,uo.prototype),s[no]=!0,s.nodes&&s.nodes.forEach(e=>{Re.rebuild(e)})};let iu=Fe,po,mo,wt=class extends iu{constructor(e){super($({type:"document"},e)),this.nodes||(this.nodes=[])}toResult(e={}){return new po(new mo,this,e).stringify()}};wt.registerLazyResult=s=>{po=s};wt.registerProcessor=s=>{mo=s};var js=wt;wt.default=wt;let cs=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let i=t.node.rangeBy(t);this.line=i.start.line,this.column=i.start.column,this.endLine=i.end.line,this.endColumn=i.end.column}for(let i in t)this[i]=t[i]}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}};var go=cs;cs.default=cs;let su=go,hs=class{constructor(e,t,i){this.processor=e,this.messages=[],this.root=t,this.opts=i,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let i=new su(e,t);return this.messages.push(i),i}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};var Zs=hs;hs.default=hs;const Bi=39,Tr=34,kt=92,kr=47,Pt=10,ot=32,$t=12,Lt=9,Ft=13,ru=91,nu=93,ou=40,lu=41,au=123,uu=125,cu=59,hu=42,fu=58,pu=64,Bt=/[\t\n\f\r "#'()/;[\\\]{}]/g,Ut=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,du=/.[\r\n"'(/\\]/,Pr=/[\da-f]/i;var mu=function(e,t={}){let i=e.css.valueOf(),r=t.ignoreErrors,o,n,l,a,u,c,h,f,g,d,A=i.length,p=0,m=[],w=[];function v(){return p}function x(I){throw e.error("Unclosed "+I,p)}function R(){return w.length===0&&p>=A}function O(I){if(w.length)return w.pop();if(p>=A)return;let X=I?I.ignoreUnclosed:!1;switch(o=i.charCodeAt(p),o){case Pt:case ot:case Lt:case Ft:case $t:{n=p;do n+=1,o=i.charCodeAt(n);while(o===ot||o===Pt||o===Lt||o===Ft||o===$t);d=["space",i.slice(p,n)],p=n-1;break}case ru:case nu:case au:case uu:case fu:case cu:case lu:{let z=String.fromCharCode(o);d=[z,z,p];break}case ou:{if(f=m.length?m.pop()[1]:"",g=i.charCodeAt(p+1),f==="url"&&g!==Bi&&g!==Tr&&g!==ot&&g!==Pt&&g!==Lt&&g!==$t&&g!==Ft){n=p;do{if(c=!1,n=i.indexOf(")",n+1),n===-1)if(r||X){n=p;break}else x("bracket");for(h=n;i.charCodeAt(h-1)===kt;)h-=1,c=!c}while(c);d=["brackets",i.slice(p,n+1),p,n],p=n}else n=i.indexOf(")",p+1),a=i.slice(p,n+1),n===-1||du.test(a)?d=["(","(",p]:(d=["brackets",a,p,n],p=n);break}case Bi:case Tr:{l=o===Bi?"'":'"',n=p;do{if(c=!1,n=i.indexOf(l,n+1),n===-1)if(r||X){n=p+1;break}else x("string");for(h=n;i.charCodeAt(h-1)===kt;)h-=1,c=!c}while(c);d=["string",i.slice(p,n+1),p,n],p=n;break}case pu:{Bt.lastIndex=p+1,Bt.test(i),Bt.lastIndex===0?n=i.length-1:n=Bt.lastIndex-2,d=["at-word",i.slice(p,n+1),p,n],p=n;break}case kt:{for(n=p,u=!0;i.charCodeAt(n+1)===kt;)n+=1,u=!u;if(o=i.charCodeAt(n+1),u&&o!==kr&&o!==ot&&o!==Pt&&o!==Lt&&o!==Ft&&o!==$t&&(n+=1,Pr.test(i.charAt(n)))){for(;Pr.test(i.charAt(n+1));)n+=1;i.charCodeAt(n+1)===ot&&(n+=1)}d=["word",i.slice(p,n+1),p,n],p=n;break}default:{o===kr&&i.charCodeAt(p+1)===hu?(n=i.indexOf("*/",p+2)+1,n===0&&(r||X?n=i.length:x("comment")),d=["comment",i.slice(p,n+1),p,n],p=n):(Ut.lastIndex=p+1,Ut.test(i),Ut.lastIndex===0?n=i.length-1:n=Ut.lastIndex-2,d=["word",i.slice(p,n+1),p,n],m.push(d),p=n);break}}return p++,d}function Z(I){w.push(I)}return{back:Z,endOfFile:R,nextToken:O,position:v}};let yo=Fe,ui=class extends yo{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};var Hs=ui;ui.default=ui;yo.registerAtRule(ui);let wo=Fe,vo,bo,Ke=class extends wo{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,i){let r=super.normalize(e);if(t){if(i==="prepend")this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let o of r)o.raws.before=t.raws.before}return r}removeChild(e,t){let i=this.index(e);return!t&&i===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[i].raws.before),super.removeChild(e)}toResult(e={}){return new vo(new bo,this,e).stringify()}};Ke.registerLazyResult=s=>{vo=s};Ke.registerProcessor=s=>{bo=s};var Nt=Ke;Ke.default=Ke;wo.registerRoot(Ke);let vt={comma(s){return vt.split(s,[","],!0)},space(s){let e=[" ",`
|
|
38
38
|
`," "];return vt.split(s,e)},split(s,e,t){let i=[],r="",o=!1,n=0,l=!1,a="",u=!1;for(let c of s)u?u=!1:c==="\\"?u=!0:l?c===a&&(l=!1):c==='"'||c==="'"?(l=!0,a=c):c==="("?n+=1:c===")"?n>0&&(n-=1):n===0&&e.includes(c)&&(o=!0),o?(r!==""&&i.push(r.trim()),r="",o=!1):r+=c;return(t||r!=="")&&i.push(r.trim()),i}};var Co=vt;vt.default=vt;let So=Fe,gu=Co,ci=class extends So{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return gu.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,i=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(i)}};var Xs=ci;ci.default=ci;So.registerRule(ci);let yu=Ei,wu=mu,vu=Ai,bu=Hs,Cu=Nt,$r=Xs;const Lr={empty:!0,space:!0};function Su(s){for(let e=s.length-1;e>=0;e--){let t=s[e],i=t[3]||t[2];if(i)return i}}let Eu=class{constructor(e){this.input=e,this.root=new Cu,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new bu;t.name=e[1].slice(1),t.name===""&&this.unnamedAtrule(t,e),this.init(t,e[2]);let i,r,o,n=!1,l=!1,a=[],u=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),i=e[0],i==="("||i==="["?u.push(i==="("?")":"]"):i==="{"&&u.length>0?u.push("}"):i===u[u.length-1]&&u.pop(),u.length===0)if(i===";"){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}else if(i==="{"){l=!0;break}else if(i==="}"){if(a.length>0){for(o=a.length-1,r=a[o];r&&r[0]==="space";)r=a[--o];r&&(t.source.end=this.getPosition(r[3]||r[2]),t.source.end.offset++)}this.end(e);break}else a.push(e);else a.push(e);if(this.tokenizer.endOfFile()){n=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(t.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(t,"params",a),n&&(e=a[a.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),l&&(t.nodes=[],this.current=t)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let i=0,r;for(let o=t-1;o>=0&&(r=e[o],!(r[0]!=="space"&&(i+=1,i===2)));o--);throw this.input.error("Missed semicolon",r[0]==="word"?r[3]+1:r[2])}colon(e){let t=0,i,r,o;for(let[n,l]of e.entries()){if(i=l,r=i[0],r==="("&&(t+=1),r===")"&&(t-=1),t===0&&r===":")if(!o)this.doubleColon(i);else{if(o[0]==="word"&&o[1]==="progid")continue;return n}o=i}return!1}comment(e){let t=new vu;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let i=e[1].slice(2,-2);if(/^\s*$/.test(i))t.text="",t.raws.left=i,t.raws.right="";else{let r=i.match(/^(\s*)([^]*\S)(\s*)$/);t.text=r[2],t.raws.left=r[1],t.raws.right=r[3]}}createTokenizer(){this.tokenizer=wu(this.input)}decl(e,t){let i=new yu;this.init(i,e[0][2]);let r=e[e.length-1];for(r[0]===";"&&(this.semicolon=!0,e.pop()),i.source.end=this.getPosition(r[3]||r[2]||Su(e)),i.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),i.raws.before+=e.shift()[1];for(i.source.start=this.getPosition(e[0][2]),i.prop="";e.length;){let u=e[0][0];if(u===":"||u==="space"||u==="comment")break;i.prop+=e.shift()[1]}i.raws.between="";let o;for(;e.length;)if(o=e.shift(),o[0]===":"){i.raws.between+=o[1];break}else o[0]==="word"&&/\w/.test(o[1])&&this.unknownWord([o]),i.raws.between+=o[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1));let n=[],l;for(;e.length&&(l=e[0][0],!(l!=="space"&&l!=="comment"));)n.push(e.shift());this.precheckMissedSemicolon(e);for(let u=e.length-1;u>=0;u--){if(o=e[u],o[1].toLowerCase()==="!important"){i.important=!0;let c=this.stringFrom(e,u);c=this.spacesFromEnd(e)+c,c!==" !important"&&(i.raws.important=c);break}else if(o[1].toLowerCase()==="important"){let c=e.slice(0),h="";for(let f=u;f>0;f--){let g=c[f][0];if(h.trim().indexOf("!")===0&&g!=="space")break;h=c.pop()[1]+h}h.trim().indexOf("!")===0&&(i.important=!0,i.raws.important=h,e=c)}if(o[0]!=="space"&&o[0]!=="comment")break}e.some(u=>u[0]!=="space"&&u[0]!=="comment")&&(i.raws.between+=n.map(u=>u[1]).join(""),n=[]),this.raw(i,"value",n.concat(e),t),i.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new $r;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){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(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}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(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type==="rule"&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let t=!1,i=null,r=!1,o=null,n=[],l=e[1].startsWith("--"),a=[],u=e;for(;u;){if(i=u[0],a.push(u),i==="("||i==="[")o||(o=u),n.push(i==="("?")":"]");else if(l&&r&&i==="{")o||(o=u),n.push("}");else if(n.length===0)if(i===";")if(r){this.decl(a,l);return}else break;else if(i==="{"){this.rule(a);return}else if(i==="}"){this.tokenizer.back(a.pop()),t=!0;break}else i===":"&&(r=!0);else i===n[n.length-1]&&(n.pop(),n.length===0&&(o=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),n.length>0&&this.unclosedBracket(o),t&&r){if(!l)for(;a.length&&(u=a[a.length-1][0],!(u!=="space"&&u!=="comment"));)this.tokenizer.back(a.pop());this.decl(a,l)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,t,i,r){let o,n,l=i.length,a="",u=!0,c,h;for(let f=0;f<l;f+=1)o=i[f],n=o[0],n==="space"&&f===l-1&&!r?u=!1:n==="comment"?(h=i[f-1]?i[f-1][0]:"empty",c=i[f+1]?i[f+1][0]:"empty",!Lr[h]&&!Lr[c]?a.slice(-1)===","?u=!1:a+=o[1]:u=!1):a+=o[1];if(!u){let f=i.reduce((g,d)=>g+d[1],"");e.raws[t]={raw:f,value:a}}e[t]=a}rule(e){e.pop();let t=new $r;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,i="";for(;e.length&&(t=e[e.length-1][0],!(t!=="space"&&t!=="comment"));)i=e.pop()[1]+i;return i}spacesAndCommentsFromStart(e){let t,i="";for(;e.length&&(t=e[0][0],!(t!=="space"&&t!=="comment"));)i+=e.shift()[1];return i}spacesFromEnd(e){let t,i="";for(;e.length&&(t=e[e.length-1][0],t==="space");)i=e.pop()[1]+i;return i}stringFrom(e,t){let i="";for(let r=t;r<e.length;r++)i+=e[r][1];return e.splice(t,e.length-t),i}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}};var xu=Eu;let Au=Fe,Ru=xu,Nu=xi;function hi(s,e){let t=new Nu(s,e),i=new Ru(t);try{i.parse()}catch(r){throw r}return i.root}var Js=hi;hi.default=hi;Au.registerParse(hi);let{isClean:be,my:Mu}=Rt,Iu=so,Ou=Ci,Du=Fe,_u=js;let Fr=Zs,Tu=Js,ku=Nt;const Pu={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},$u={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},Lu={Once:!0,postcssPlugin:!0,prepare:!0},Qe=0;function lt(s){return typeof s=="object"&&typeof s.then=="function"}function Eo(s){let e=!1,t=Pu[s.type];return s.type==="decl"?e=s.prop.toLowerCase():s.type==="atrule"&&(e=s.name.toLowerCase()),e&&s.append?[t,t+"-"+e,Qe,t+"Exit",t+"Exit-"+e]:e?[t,t+"-"+e,t+"Exit",t+"Exit-"+e]:s.append?[t,Qe,t+"Exit"]:[t,t+"Exit"]}function Br(s){let e;return s.type==="document"?e=["Document",Qe,"DocumentExit"]:s.type==="root"?e=["Root",Qe,"RootExit"]:e=Eo(s),{eventIndex:0,events:e,iterator:0,node:s,visitorIndex:0,visitors:[]}}function fs(s){return s[be]=!1,s.nodes&&s.nodes.forEach(e=>fs(e)),s}let ps={},qe=class xo{constructor(e,t,i){this.stringified=!1,this.processed=!1;let r;if(typeof t=="object"&&t!==null&&(t.type==="root"||t.type==="document"))r=fs(t);else if(t instanceof xo||t instanceof Fr)r=fs(t.root),t.map&&(typeof i.map=="undefined"&&(i.map={}),i.map.inline||(i.map.inline=!1),i.map.prev=t.map);else{let o=Tu;i.syntax&&(o=i.syntax.parse),i.parser&&(o=i.parser),o.parse&&(o=o.parse);try{r=o(t,i)}catch(n){this.processed=!0,this.error=n}r&&!r[Mu]&&Du.rebuild(r)}this.result=new Fr(e,r,i),this.helpers=oe($({},ps),{postcss:ps,result:this.result}),this.plugins=this.processor.plugins.map(o=>typeof o=="object"&&o.prepare?$($({},o),o.prepare(this.result)):o)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let i=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=i.postcssPlugin,e.setMessage()):i.postcssVersion}catch(r){console&&console.error&&console.error(r)}return e}prepareVisitors(){this.listeners={};let e=(t,i,r)=>{this.listeners[i]||(this.listeners[i]=[]),this.listeners[i].push([t,r])};for(let t of this.plugins)if(typeof t=="object")for(let i in t){if(!$u[i]&&/^[A-Z]/.test(i))throw new Error(`Unknown event ${i} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!Lu[i])if(typeof t[i]=="object")for(let r in t[i])r==="*"?e(t,i,t[i][r]):e(t,i+"-"+r.toLowerCase(),t[i][r]);else typeof t[i]=="function"&&e(t,i,t[i])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],i=this.runOnRoot(t);if(lt(i))try{await i}catch(r){throw this.handleError(r)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[be];){e[be]=!0;let t=[Br(e)];for(;t.length>0;){let i=this.visitTick(t);if(lt(i))try{await i}catch(r){let o=t[t.length-1].node;throw this.handleError(r,o)}}}if(this.listeners.OnceExit)for(let[t,i]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let r=e.nodes.map(o=>i(o,this.helpers));await Promise.all(r)}else await i(e,this.helpers)}catch(r){throw this.handleError(r)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map(i=>e.Once(i,this.helpers));return lt(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=Ou;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new Iu(t,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 e of this.plugins){let t=this.runOnRoot(e);if(lt(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[be];)e[be]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[i,r]of e){this.result.lastPlugin=i;let o;try{o=r(t,this.helpers)}catch(n){throw this.handleError(n,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent)return!0;if(lt(o))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:i,visitors:r}=t;if(i.type!=="root"&&i.type!=="document"&&!i.parent){e.pop();return}if(r.length>0&&t.visitorIndex<r.length){let[n,l]=r[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=n;try{return l(i.toProxy(),this.helpers)}catch(a){throw this.handleError(a,i)}}if(t.iterator!==0){let n=t.iterator,l;for(;l=i.nodes[i.indexes[n]];)if(i.indexes[n]+=1,!l[be]){l[be]=!0,e.push(Br(l));return}t.iterator=0,delete i.indexes[n]}let o=t.events;for(;t.eventIndex<o.length;){let n=o[t.eventIndex];if(t.eventIndex+=1,n===Qe){i.nodes&&i.nodes.length&&(i[be]=!0,t.iterator=i.getIterator());return}else if(this.listeners[n]){t.visitors=this.listeners[n];return}}e.pop()}walkSync(e){e[be]=!0;let t=Eo(e);for(let i of t)if(i===Qe)e.nodes&&e.each(r=>{r[be]||this.walkSync(r)});else{let r=this.listeners[i];if(r&&this.visitSync(r,e.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"}};qe.registerPostcss=s=>{ps=s};var Ao=qe;qe.default=qe;ku.registerLazyResult(qe);_u.registerLazyResult(qe);let Fu=so,Bu=Ci;let Uu=Js;const zu=Zs;let ds=class{constructor(e,t,i){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=i,this._map=void 0;let r,o=Bu;this.result=new zu(this._processor,r,this._opts),this.result.css=t;let n=this;Object.defineProperty(this.result,"root",{get(){return n.root}});let l=new Fu(o,r,this._opts,t);if(l.isMap()){let[a,u]=l.generate();a&&(this.result.css=a),u&&(this.result.map=u)}else l.clearAnnotation(),this.result.css=l.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}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 e,t=Uu;try{e=t(this._css,this._opts)}catch(i){this.error=i}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};var Vu=ds;ds.default=ds;let Wu=Vu,Gu=Ao,Yu=js,ju=Nt,bt=class{constructor(e=[]){this.version="8.4.38",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let i of e)if(i.postcss===!0?i=i():i.postcss&&(i=i.postcss),typeof i=="object"&&Array.isArray(i.plugins))t=t.concat(i.plugins);else if(typeof i=="object"&&i.postcssPlugin)t.push(i);else if(typeof i=="function")t.push(i);else if(!(typeof i=="object"&&(i.parse||i.stringify)))throw new Error(i+" is not a PostCSS plugin");return t}process(e,t={}){return!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new Wu(this,e,t):new Gu(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};var Zu=bt;bt.default=bt;ju.registerProcessor(bt);Yu.registerProcessor(bt);let Hu=Ei,Xu=Qn,Ju=Ai,Ku=Hs,Qu=xi,qu=Nt,ec=Xs;function Ct(s,e){if(Array.isArray(s))return s.map(n=>Ct(n));let r=s,{inputs:t}=r,i=nt(r,["inputs"]);if(t){e=[];for(let n of t){let l=oe($({},n),{__proto__:Qu.prototype});l.map&&(l.map=oe($({},l.map),{__proto__:Xu.prototype})),e.push(l)}}if(i.nodes&&(i.nodes=s.nodes.map(n=>Ct(n,e))),i.source){let o=i.source,{inputId:n}=o,l=nt(o,["inputId"]);i.source=l,n!=null&&(i.source.input=e[n])}if(i.type==="root")return new qu(i);if(i.type==="decl")return new Hu(i);if(i.type==="rule")return new ec(i);if(i.type==="comment")return new Ju(i);if(i.type==="atrule")return new Ku(i);throw new Error("Unknown node type: "+s.type)}var tc=Ct;Ct.default=Ct;let ic=Ws,Ro=Ei,sc=Ao,rc=Fe,Ks=Zu,nc=Ci,oc=tc,No=js,lc=go,Mo=Ai,Io=Hs,ac=Zs,uc=xi,cc=Js,hc=Co,Oo=Xs,Do=Nt,fc=Si;function B(...s){return s.length===1&&Array.isArray(s[0])&&(s=s[0]),new Ks(s)}B.plugin=function(e,t){let i=!1;function r(...n){console&&console.warn&&!i&&(i=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
39
39
|
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
|
|
40
|
-
https://www.w3ctech.com/topic/2226`));let l=t(...n);return l.postcssPlugin=e,l.postcssVersion=new Ks().version,l}let o;return Object.defineProperty(r,"postcss",{get(){return o||(o=r()),o}}),r.process=function(n,l,a){return B([r(a)]).process(n,l)},r};B.stringify=nc;B.parse=cc;B.fromJSON=oc;B.list=hc;B.comment=s=>new Mo(s);B.atRule=s=>new Io(s);B.decl=s=>new Ro(s);B.rule=s=>new Oo(s);B.root=s=>new Do(s);B.document=s=>new No(s);B.CssSyntaxError=ic;B.Declaration=Ro;B.Container=rc;B.Processor=Ks;B.Document=No;B.Comment=Mo;B.Warning=lc;B.AtRule=Io;B.Result=ac;B.Input=uc;B.Rule=Oo;B.Root=Do;B.Node=fc;sc.registerPostcss(B);var pc=B;B.default=B;const j=Aa(pc);j.stringify;j.fromJSON;j.plugin;j.parse;j.list;j.document;j.comment;j.atRule;j.rule;j.decl;j.root;j.CssSyntaxError;j.Declaration;j.Container;j.Processor;j.Document;j.Comment;j.Warning;j.AtRule;j.Result;j.Input;j.Rule;j.Root;j.Node;const Ur={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 dc(s){let e=Ur[s.tagName]?Ur[s.tagName]:s.tagName;return e==="link"&&s.attributes._cssText&&(e="style"),e}function Ri(s,e){const t=e==null?void 0:e.stylesWithHoverClass.get(s);if(t)return t;const r=j([Ea,xa]).process(s).css;return e==null||e.stylesWithHoverClass.set(s,r),r}function zr(){return{stylesWithHoverClass:new Map}}function mc(s,e,t,i){const r=[];for(const n of s.childNodes)n.type===Q.Text&&r.push(n);const o=e.split("/* rr_split */");for(;o.length>1&&o.length>r.length;)o.splice(-2,2,o.slice(-2).join(""));for(let n=0;n<r.length;n++){const l=r[n],a=o[n];l&&a&&(l.textContent=t?Ri(a,i):a)}}function gc(s,e,t,i){const{doc:r,hackCss:o,cache:n}=i;s.childNodes.length?mc(s,t,o,n):(o&&(t=Ri(t,n)),e.appendChild(r.createTextNode(t)))}function yc(s,e){var t;const{doc:i,hackCss:r,cache:o}=e;switch(s.type){case Q.Document:return i.implementation.createDocument(null,"",null);case Q.DocumentType:return i.implementation.createDocumentType(s.name||"html",s.publicId,s.systemId);case Q.Element:{const n=dc(s);let l;s.isSVG?l=i.createElementNS("http://www.w3.org/2000/svg",n):(s.isCustom&&((t=i.defaultView)!=null&&t.customElements)&&!i.defaultView.customElements.get(s.tagName)&&i.defaultView.customElements.define(s.tagName,class extends i.defaultView.HTMLElement{}),l=i.createElement(n));const a={};for(const u in s.attributes){if(!Object.prototype.hasOwnProperty.call(s.attributes,u))continue;let c=s.attributes[u];if(!(n==="option"&&u==="selected"&&c===!1)&&c!==null){if(c===!0&&(c=""),u.startsWith("rr_")){a[u]=c;continue}if(typeof c=="string"){if(n==="style"&&u==="_cssText"){gc(s,l,c,e);continue}else if(n==="textarea"&&u==="value"){l.appendChild(i.createTextNode(c)),s.childNodes=[];continue}}try{if(s.isSVG&&u==="xlink:href")l.setAttributeNS("http://www.w3.org/1999/xlink",u,c.toString());else if(u==="onload"||u==="onclick"||u.substring(0,7)==="onmouse")l.setAttribute("_"+u,c.toString());else if(n==="meta"&&s.attributes["http-equiv"]==="Content-Security-Policy"&&u==="content"){l.setAttribute("csp-content",c.toString());continue}else n==="link"&&(s.attributes.rel==="preload"||s.attributes.rel==="modulepreload")&&s.attributes.as==="script"||n==="link"&&s.attributes.rel==="prefetch"&&typeof s.attributes.href=="string"&&s.attributes.href.endsWith(".js")||(n==="img"&&s.attributes.srcset&&s.attributes.rr_dataURL?l.setAttribute("rrweb-original-srcset",s.attributes.srcset):l.setAttribute(u,c.toString()))}catch(h){}}}for(const u in a){const c=a[u];if(n==="canvas"&&u==="rr_dataURL"){const h=i.createElement("img");h.onload=()=>{const f=l.getContext("2d");f&&f.drawImage(h,0,0,h.width,h.height)},h.src=c.toString(),l.RRNodeType&&(l.rr_dataURL=c.toString())}else if(n==="img"&&u==="rr_dataURL"){const h=l;h.currentSrc.startsWith("data:")||(h.setAttribute("rrweb-original-src",s.attributes.src),h.src=c.toString())}if(u==="rr_width")l.style.setProperty("width",c.toString());else if(u==="rr_height")l.style.setProperty("height",c.toString());else if(u==="rr_mediaCurrentTime"&&typeof c=="number")l.currentTime=c;else if(u==="rr_mediaState")switch(c){case"played":l.play().catch(h=>console.warn("media playback error",h));break;case"paused":l.pause();break}else u==="rr_mediaPlaybackRate"&&typeof c=="number"?l.playbackRate=c:u==="rr_mediaMuted"&&typeof c=="boolean"?l.muted=c:u==="rr_mediaLoop"&&typeof c=="boolean"?l.loop=c:u==="rr_mediaVolume"&&typeof c=="number"?l.volume=c:u==="rr_open_mode"&&l.setAttribute("rr_open_mode",c)}if(s.isShadowHost)if(!l.shadowRoot)l.attachShadow({mode:"open"});else for(;l.shadowRoot.firstChild;)l.shadowRoot.removeChild(l.shadowRoot.firstChild);return l}case Q.Text:return s.isStyle&&r?i.createTextNode(Ri(s.textContent,o)):i.createTextNode(s.textContent);case Q.CDATA:return i.createCDATASection(s.textContent);case Q.Comment:return i.createComment(s.textContent);default:return null}}function dt(s,e){const{doc:t,mirror:i,skipChild:r=!1,hackCss:o=!0,afterAppend:n,cache:l}=e;if(i.has(s.id)){const u=i.getNode(s.id),c=i.getMeta(u);if(ga(c,s))return i.getNode(s.id)}let a=yc(s,{doc:t,hackCss:o,cache:l});if(!a)return null;if(s.rootId&&i.getNode(s.rootId)!==t&&i.replace(s.rootId,t),s.type===Q.Document&&(t.close(),t.open(),s.compatMode==="BackCompat"&&s.childNodes&&s.childNodes[0].type!==Q.DocumentType&&(s.childNodes[0].type===Q.Element&&"xmlns"in s.childNodes[0].attributes&&s.childNodes[0].attributes.xmlns==="http://www.w3.org/1999/xhtml"?t.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">'):t.write('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "">')),a=t),i.add(a,s),(s.type===Q.Document||s.type===Q.Element)&&!r)for(const u of s.childNodes){const c=dt(u,{doc:t,mirror:i,skipChild:!1,hackCss:o,afterAppend:n,cache:l});if(!c){console.warn("Failed to rebuild",u);continue}if(u.isShadow&&ya(a)&&a.shadowRoot)a.shadowRoot.appendChild(c);else if(s.type===Q.Document&&u.type==Q.Element){const h=c;let f=null;h.childNodes.forEach(g=>{g.nodeName==="BODY"&&(f=g)}),f?(h.removeChild(f),a.appendChild(c),h.appendChild(f)):a.appendChild(c)}else a.appendChild(c);n&&n(c,u.id)}return a}function wc(s,e){function t(i){e(i)}for(const i of s.getIds())s.has(i)&&t(s.getNode(i))}function vc(s,e){const t=e.getMeta(s);if((t==null?void 0:t.type)!==Q.Element)return;const i=s;for(const r in t.attributes){if(!(Object.prototype.hasOwnProperty.call(t.attributes,r)&&r.startsWith("rr_")))continue;const o=t.attributes[r];r==="rr_scrollLeft"&&(i.scrollLeft=o),r==="rr_scrollTop"&&(i.scrollTop=o)}}function bc(s,e){const{doc:t,onVisit:i,hackCss:r=!0,afterAppend:o,cache:n,mirror:l=new jn}=e,a=dt(s,{doc:t,mirror:l,skipChild:!1,hackCss:r,afterAppend:o,cache:n});return wc(l,u=>{i&&i(u),vc(u,l)}),a}var Cc=Object.defineProperty,Sc=(s,e,t)=>e in s?Cc(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,C=(s,e,t)=>Sc(s,typeof e!="symbol"?e+"":e,t),Ec=Object.defineProperty,xc=(s,e,t)=>e in s?Ec(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,Vr=(s,e,t)=>xc(s,typeof e!="symbol"?e+"":e,t);let Ac=class{constructor(){Vr(this,"idNodeMap",new Map),Vr(this,"nodeMetaMap",new WeakMap)}getId(e){var t;if(!e)return-1;const i=(t=this.getMeta(e))==null?void 0:t.id;return i!=null?i:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(i=>this.removeNodeFromMap(i))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const i=t.id;this.idNodeMap.set(i,e),this.nodeMetaMap.set(e,t)}replace(e,t){const i=this.getNode(e);if(i){const r=this.nodeMetaMap.get(i);r&&this.nodeMetaMap.set(t,r)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}};function Rc(){return new Ac}const Nc=["change","submit","dragstart","drop","pointerdown","pointerup","input","keydown","keyup","keypress","mouseenter","mouseleave","mouseup","mousedown","click","contextmenu","dblclick","focus","blur","touchstart","touchmove","touchend","touchcancel"],Mc=["onclick","ondblclick","onmousedown","onmouseup","onmouseover","onmouseout","onmousemove","onfocus","onblur","onkeydown","onkeypress","onkeyup","onchange","oninput","onsubmit","onreset","onselect","oncontextmenu","ontouchstart","ontouchmove","ontouchend","ontouchcancel"],_o=new WeakSet,Ic=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(s,e,t){if(Ic.call(this,s,e,t),this instanceof Element){const i=s.toLowerCase();console.info("Event type: ",i),Nc.includes(i)&&_o.add(this)}};const Oc=EventTarget.prototype.removeEventListener;EventTarget.prototype.removeEventListener=function(s,e,t){Oc.call(this,s,e,t)};function Wr(){document.querySelectorAll("*").forEach(e=>{Mc.forEach(t=>{e.hasAttribute(t)&&_o.add(e)})})}document.readyState==="complete"||document.readyState==="interactive"?Wr():document.addEventListener("DOMContentLoaded",Wr);function Dc(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}function _c(s){if(s.__esModule)return s;var e=s.default;if(typeof e=="function"){var t=function i(){return this instanceof i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(s).forEach(function(i){var r=Object.getOwnPropertyDescriptor(s,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:function(){return s[i]}})}),t}var Qs={exports:{}},G=String,To=function(){return{isColorSupported:!1,reset:G,bold:G,dim:G,italic:G,underline:G,inverse:G,hidden:G,strikethrough:G,black:G,red:G,green:G,yellow:G,blue:G,magenta:G,cyan:G,white:G,gray:G,bgBlack:G,bgRed:G,bgGreen:G,bgYellow:G,bgBlue:G,bgMagenta:G,bgCyan:G,bgWhite:G}};Qs.exports=To();Qs.exports.createColors=To;var Tc=Qs.exports;const kc={},Pc=Object.freeze(Object.defineProperty({__proto__:null,default:kc},Symbol.toStringTag,{value:"Module"})),ge=_c(Pc);let Gr=Tc,Yr=ge,ms=class ko extends Error{constructor(e,t,i,r,o,n){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),r&&(this.source=r),n&&(this.plugin=n),typeof t!="undefined"&&typeof i!="undefined"&&(typeof t=="number"?(this.line=t,this.column=i):(this.line=t.line,this.column=t.column,this.endLine=i.line,this.endColumn=i.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,ko)}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(e){if(!this.source)return"";let t=this.source;e==null&&(e=Gr.isColorSupported),Yr&&e&&(t=Yr(t));let i=t.split(/\r?\n/),r=Math.max(this.line-3,0),o=Math.min(this.line+2,i.length),n=String(o).length,l,a;if(e){let{bold:u,gray:c,red:h}=Gr.createColors(!0);l=f=>u(h(f)),a=f=>c(f)}else l=a=u=>u;return i.slice(r,o).map((u,c)=>{let h=r+1+c,f=" "+(" "+h).slice(-n)+" | ";if(h===this.line){let g=a(f.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return l(">")+a(f)+u+`
|
|
40
|
+
https://www.w3ctech.com/topic/2226`));let l=t(...n);return l.postcssPlugin=e,l.postcssVersion=new Ks().version,l}let o;return Object.defineProperty(r,"postcss",{get(){return o||(o=r()),o}}),r.process=function(n,l,a){return B([r(a)]).process(n,l)},r};B.stringify=nc;B.parse=cc;B.fromJSON=oc;B.list=hc;B.comment=s=>new Mo(s);B.atRule=s=>new Io(s);B.decl=s=>new Ro(s);B.rule=s=>new Oo(s);B.root=s=>new Do(s);B.document=s=>new No(s);B.CssSyntaxError=ic;B.Declaration=Ro;B.Container=rc;B.Processor=Ks;B.Document=No;B.Comment=Mo;B.Warning=lc;B.AtRule=Io;B.Result=ac;B.Input=uc;B.Rule=Oo;B.Root=Do;B.Node=fc;sc.registerPostcss(B);var pc=B;B.default=B;const j=Aa(pc);j.stringify;j.fromJSON;j.plugin;j.parse;j.list;j.document;j.comment;j.atRule;j.rule;j.decl;j.root;j.CssSyntaxError;j.Declaration;j.Container;j.Processor;j.Document;j.Comment;j.Warning;j.AtRule;j.Result;j.Input;j.Rule;j.Root;j.Node;const Ur={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 dc(s){let e=Ur[s.tagName]?Ur[s.tagName]:s.tagName;return e==="link"&&s.attributes._cssText&&(e="style"),e}function Ri(s,e){const t=e==null?void 0:e.stylesWithHoverClass.get(s);if(t)return t;const r=j([Ea,xa]).process(s).css;return e==null||e.stylesWithHoverClass.set(s,r),r}function zr(){return{stylesWithHoverClass:new Map}}function mc(s,e,t,i){const r=[];for(const n of s.childNodes)n.type===Q.Text&&r.push(n);const o=e.split("/* rr_split */");for(;o.length>1&&o.length>r.length;)o.splice(-2,2,o.slice(-2).join(""));for(let n=0;n<r.length;n++){const l=r[n],a=o[n];l&&a&&(l.textContent=t?Ri(a,i):a)}}function gc(s,e,t,i){const{doc:r,hackCss:o,cache:n}=i;s.childNodes.length?mc(s,t,o,n):(o&&(t=Ri(t,n)),e.appendChild(r.createTextNode(t)))}function yc(s,e){var t;const{doc:i,hackCss:r,cache:o}=e;switch(s.type){case Q.Document:return i.implementation.createDocument(null,"",null);case Q.DocumentType:return i.implementation.createDocumentType(s.name||"html",s.publicId,s.systemId);case Q.Element:{const n=dc(s);let l;s.isSVG?l=i.createElementNS("http://www.w3.org/2000/svg",n):(s.isCustom&&((t=i.defaultView)!=null&&t.customElements)&&!i.defaultView.customElements.get(s.tagName)&&i.defaultView.customElements.define(s.tagName,class extends i.defaultView.HTMLElement{}),l=i.createElement(n));const a={};for(const u in s.attributes){if(!Object.prototype.hasOwnProperty.call(s.attributes,u))continue;let c=s.attributes[u];if(!(n==="option"&&u==="selected"&&c===!1)&&c!==null){if(c===!0&&(c=""),u.startsWith("rr_")){a[u]=c;continue}if(typeof c=="string"){if(n==="style"&&u==="_cssText"){gc(s,l,c,e);continue}else if(n==="textarea"&&u==="value"){l.appendChild(i.createTextNode(c)),s.childNodes=[];continue}}try{if(s.isSVG&&u==="xlink:href")l.setAttributeNS("http://www.w3.org/1999/xlink",u,c.toString());else if(u==="onload"||u==="onclick"||u.substring(0,7)==="onmouse")l.setAttribute("_"+u,c.toString());else if(n==="meta"&&s.attributes["http-equiv"]==="Content-Security-Policy"&&u==="content"){l.setAttribute("csp-content",c.toString());continue}else n==="link"&&(s.attributes.rel==="preload"||s.attributes.rel==="modulepreload")&&s.attributes.as==="script"||n==="link"&&s.attributes.rel==="prefetch"&&typeof s.attributes.href=="string"&&s.attributes.href.endsWith(".js")||(n==="img"&&s.attributes.srcset&&s.attributes.rr_dataURL?l.setAttribute("rrweb-original-srcset",s.attributes.srcset):l.setAttribute(u,c.toString()))}catch(h){}}}for(const u in a){const c=a[u];if(n==="canvas"&&u==="rr_dataURL"){const h=i.createElement("img");h.onload=()=>{const f=l.getContext("2d");f&&f.drawImage(h,0,0,h.width,h.height)},h.src=c.toString(),l.RRNodeType&&(l.rr_dataURL=c.toString())}else if(n==="img"&&u==="rr_dataURL"){const h=l;h.currentSrc.startsWith("data:")||(h.setAttribute("rrweb-original-src",s.attributes.src),h.src=c.toString())}if(u==="rr_width")l.style.setProperty("width",c.toString());else if(u==="rr_height")l.style.setProperty("height",c.toString());else if(u==="rr_mediaCurrentTime"&&typeof c=="number")l.currentTime=c;else if(u==="rr_mediaState")switch(c){case"played":l.play().catch(h=>console.warn("media playback error",h));break;case"paused":l.pause();break}else u==="rr_mediaPlaybackRate"&&typeof c=="number"?l.playbackRate=c:u==="rr_mediaMuted"&&typeof c=="boolean"?l.muted=c:u==="rr_mediaLoop"&&typeof c=="boolean"?l.loop=c:u==="rr_mediaVolume"&&typeof c=="number"?l.volume=c:u==="rr_open_mode"&&l.setAttribute("rr_open_mode",c)}if(s.isShadowHost)if(!l.shadowRoot)l.attachShadow({mode:"open"});else for(;l.shadowRoot.firstChild;)l.shadowRoot.removeChild(l.shadowRoot.firstChild);return l}case Q.Text:return s.isStyle&&r?i.createTextNode(Ri(s.textContent,o)):i.createTextNode(s.textContent);case Q.CDATA:return i.createCDATASection(s.textContent);case Q.Comment:return i.createComment(s.textContent);default:return null}}function dt(s,e){const{doc:t,mirror:i,skipChild:r=!1,hackCss:o=!0,afterAppend:n,cache:l}=e;if(i.has(s.id)){const u=i.getNode(s.id),c=i.getMeta(u);if(ga(c,s))return i.getNode(s.id)}let a=yc(s,{doc:t,hackCss:o,cache:l});if(!a)return null;if(s.rootId&&i.getNode(s.rootId)!==t&&i.replace(s.rootId,t),s.type===Q.Document&&(t.close(),t.open(),s.compatMode==="BackCompat"&&s.childNodes&&s.childNodes[0].type!==Q.DocumentType&&(s.childNodes[0].type===Q.Element&&"xmlns"in s.childNodes[0].attributes&&s.childNodes[0].attributes.xmlns==="http://www.w3.org/1999/xhtml"?t.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">'):t.write('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "">')),a=t),i.add(a,s),(s.type===Q.Document||s.type===Q.Element)&&!r)for(const u of s.childNodes){const c=dt(u,{doc:t,mirror:i,skipChild:!1,hackCss:o,afterAppend:n,cache:l});if(!c){console.warn("Failed to rebuild",u);continue}if(u.isShadow&&ya(a)&&a.shadowRoot)a.shadowRoot.appendChild(c);else if(s.type===Q.Document&&u.type==Q.Element){const h=c;let f=null;h.childNodes.forEach(g=>{g.nodeName==="BODY"&&(f=g)}),f?(h.removeChild(f),a.appendChild(c),h.appendChild(f)):a.appendChild(c)}else a.appendChild(c);n&&n(c,u.id)}return a}function wc(s,e){function t(i){e(i)}for(const i of s.getIds())s.has(i)&&t(s.getNode(i))}function vc(s,e){const t=e.getMeta(s);if((t==null?void 0:t.type)!==Q.Element)return;const i=s;for(const r in t.attributes){if(!(Object.prototype.hasOwnProperty.call(t.attributes,r)&&r.startsWith("rr_")))continue;const o=t.attributes[r];r==="rr_scrollLeft"&&(i.scrollLeft=o),r==="rr_scrollTop"&&(i.scrollTop=o)}}function bc(s,e){const{doc:t,onVisit:i,hackCss:r=!0,afterAppend:o,cache:n,mirror:l=new jn}=e,a=dt(s,{doc:t,mirror:l,skipChild:!1,hackCss:r,afterAppend:o,cache:n});return wc(l,u=>{i&&i(u),vc(u,l)}),a}var Cc=Object.defineProperty,Sc=(s,e,t)=>e in s?Cc(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,C=(s,e,t)=>Sc(s,typeof e!="symbol"?e+"":e,t),Ec=Object.defineProperty,xc=(s,e,t)=>e in s?Ec(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,Vr=(s,e,t)=>xc(s,typeof e!="symbol"?e+"":e,t);let Ac=class{constructor(){Vr(this,"idNodeMap",new Map),Vr(this,"nodeMetaMap",new WeakMap)}getId(e){var t;if(!e)return-1;const i=(t=this.getMeta(e))==null?void 0:t.id;return i!=null?i:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(i=>this.removeNodeFromMap(i))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const i=t.id;this.idNodeMap.set(i,e),this.nodeMetaMap.set(e,t)}replace(e,t){const i=this.getNode(e);if(i){const r=this.nodeMetaMap.get(i);r&&this.nodeMetaMap.set(t,r)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}};function Rc(){return new Ac}const Nc=["change","submit","dragstart","drop","pointerdown","pointerup","input","keydown","keyup","keypress","mouseenter","mouseleave","mouseup","mousedown","click","contextmenu","dblclick","focus","blur","touchstart","touchmove","touchend","touchcancel"],Mc=["onclick","ondblclick","onmousedown","onmouseup","onmouseover","onmouseout","onmousemove","onfocus","onblur","onkeydown","onkeypress","onkeyup","onchange","oninput","onsubmit","onreset","onselect","oncontextmenu","ontouchstart","ontouchmove","ontouchend","ontouchcancel"],_o=new WeakSet,Ic=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(s,e,t){if(Ic.call(this,s,e,t),this instanceof Element){const i=s.toLowerCase();Nc.includes(i)&&_o.add(this)}};const Oc=EventTarget.prototype.removeEventListener;EventTarget.prototype.removeEventListener=function(s,e,t){Oc.call(this,s,e,t)};function Wr(){document.querySelectorAll("*").forEach(e=>{Mc.forEach(t=>{e.hasAttribute(t)&&_o.add(e)})})}document.readyState==="complete"||document.readyState==="interactive"?Wr():document.addEventListener("DOMContentLoaded",Wr);function Dc(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}function _c(s){if(s.__esModule)return s;var e=s.default;if(typeof e=="function"){var t=function i(){return this instanceof i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(s).forEach(function(i){var r=Object.getOwnPropertyDescriptor(s,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:function(){return s[i]}})}),t}var Qs={exports:{}},G=String,To=function(){return{isColorSupported:!1,reset:G,bold:G,dim:G,italic:G,underline:G,inverse:G,hidden:G,strikethrough:G,black:G,red:G,green:G,yellow:G,blue:G,magenta:G,cyan:G,white:G,gray:G,bgBlack:G,bgRed:G,bgGreen:G,bgYellow:G,bgBlue:G,bgMagenta:G,bgCyan:G,bgWhite:G}};Qs.exports=To();Qs.exports.createColors=To;var Tc=Qs.exports;const kc={},Pc=Object.freeze(Object.defineProperty({__proto__:null,default:kc},Symbol.toStringTag,{value:"Module"})),ge=_c(Pc);let Gr=Tc,Yr=ge,ms=class ko extends Error{constructor(e,t,i,r,o,n){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),r&&(this.source=r),n&&(this.plugin=n),typeof t!="undefined"&&typeof i!="undefined"&&(typeof t=="number"?(this.line=t,this.column=i):(this.line=t.line,this.column=t.column,this.endLine=i.line,this.endColumn=i.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,ko)}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(e){if(!this.source)return"";let t=this.source;e==null&&(e=Gr.isColorSupported),Yr&&e&&(t=Yr(t));let i=t.split(/\r?\n/),r=Math.max(this.line-3,0),o=Math.min(this.line+2,i.length),n=String(o).length,l,a;if(e){let{bold:u,gray:c,red:h}=Gr.createColors(!0);l=f=>u(h(f)),a=f=>c(f)}else l=a=u=>u;return i.slice(r,o).map((u,c)=>{let h=r+1+c,f=" "+(" "+h).slice(-n)+" | ";if(h===this.line){let g=a(f.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return l(">")+a(f)+u+`
|
|
41
41
|
`+g+l("^")}return" "+a(f)+u}).join(`
|
|
42
42
|
`)}toString(){let e=this.showSourceCode();return e&&(e=`
|
|
43
43
|
|