vendor: 13,598 bytes, line 1
1import{a as D,b as ue,c as Ne}from"./chunk-XUHYVR5R.js";var Rn=Object.defineProperty,On=(e,t,r)=>t in e?Rn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,A=(e,t,r)=>On(e,typeof t!="symbol"?t+"":t,r),cs,Mn=Object.defineProperty,En=(e,t,r)=>t in e?Mn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,hs=(e,t,r)=>En(e,typeof t!="symbol"?t+"":t,r),K=(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))(K||{}),fs={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},ps={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Ye={};function In(e){var t,r;let o=(r=(t=globalThis?.Zone)==null?void 0:t.__symbol__)==null?void 0:r.call(t,e);if(o&&globalThis[o])return globalThis[o]}function Hr(e){if(Ye[e])return Ye[e];let t=In(e)||globalThis[e],r=t.prototype,o=e in fs?fs[e]:void 0,s=!!(o&&o.every(d=>{var n,p;return!!((p=(n=Object.getOwnPropertyDescriptor(r,d))==null?void 0:n.get)!=null&&p.toString().includes("[native code]"))})),c=e in ps?ps[e]:void 0,f=!!(c&&c.every(d=>{var n;return typeof r[d]=="function"&&((n=r[d])==null?void 0:n.toString().includes("[native code]"))}));if(s&&f)return Ye[e]=t.prototype,t.prototype;try{let d=document.createElement("iframe");document.body.appendChild(d);let n=d.contentWindow;if(!n)return t.prototype;let p=n[e].prototype;return document.body.removeChild(d),p?Ye[e]=p:r}catch{return r}}var Et={};function Ce(e,t,r){var o;let s=`${e}.${String(r)}`;if(Et[s])return Et[s].call(t);let c=Hr(e),f=(o=Object.getOwnPropertyDescriptor(c,r))==null?void 0:o.get;return f?(Et[s]=f,f.call(t)):t[r]}var It={};function Ti(e,t,r){let o=`${e}.${String(r)}`;if(It[o])return It[o].bind(t);let c=Hr(e)[r];return typeof c!="function"?t[r]:(It[o]=c,c.bind(t))}function An(e){return Ce("Node",e,"childNodes")}function Nn(e){return Ce("Node",e,"parentNode")}function kn(e){return Ce("Node",e,"parentElement")}function Pn(e){return Ce("Node",e,"textContent")}function _n(e,t){return Ti("Node",e,"contains")(t)}function Dn(e){return Ti("Node",e,"getRootNode")()}function Ln(e){return!e||!("host"in e)?null:Ce("ShadowRoot",e,"host")}function Tn(e){return e.styleSheets}function Fn(e){return!e||!("shadowRoot"in e)?null:Ce("Element",e,"shadowRoot")}function Un(e,t){return Ce("Element",e,"querySelector")(t)}function $n(e,t){return Ce("Element",e,"querySelectorAll")(t)}function zn(){return Hr("MutationObserver").constructor}var re={childNodes:An,parentNode:Nn,parentElement:kn,textContent:Pn,contains:_n,getRootNode:Dn,host:Ln,styleSheets:Tn,shadowRoot:Fn,querySelector:Un,querySelectorAll:$n,mutationObserver:zn};function Fi(e){return e.nodeType===e.ELEMENT_NODE}function Be(e){let t=e&&"host"in e&&"mode"in e&&re.host(e)||null;return!!(t&&"shadowRoot"in t&&re.shadowRoot(t)===e)}function We(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function Bn(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 Wn(e){let{cssText:t}=e;if(t.split('"').length<3)return t;let r=["@import",`url(${JSON.stringify(e.href)})`];return e.layerName===""?r.push("layer"):e.layerName&&r.push(`layer(${e.layerName})`),e.supportsText&&r.push(`supports(${e.supportsText})`),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}function _r(e){try{let t=e.rules||e.cssRules;if(!t)return null;let r=e.href;!r&&e.ownerNode&&e.ownerNode.ownerDocument&&(r=e.ownerNode.ownerDocument.location.href);let o=Array.from(t,s=>Gr(s,r)).join("");return Bn(o)}catch{return null}}function Gr(e,t){if(jn(e)){let r;try{r=_r(e.styleSheet)||Wn(e)}catch{r=e.cssText}return e.styleSheet.href?ut(r,e.styleSheet.href):r}else{let r=e.cssText;return Vn(e)&&e.selectorText.includes(":")&&(r=qn(r)),t?ut(r,t):r}}function qn(e){let t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function jn(e){return"styleSheet"in e}function Vn(e){return"selectorText"in e}var ot=class{constructor(){hs(this,"idNodeMap",new Map),hs(this,"nodeMetaMap",new WeakMap)}getId(t){var r;return t?((r=this.getMeta(t))==null?void 0:r.id)??-1:-1}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){let r=this.getId(t);this.idNodeMap.delete(r),t.childNodes&&t.childNodes.forEach(o=>this.removeNodeFromMap(o))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,r){let o=r.id;this.idNodeMap.set(o,t),this.nodeMetaMap.set(t,r)}replace(t,r){let o=this.getNode(t);if(o){let s=this.nodeMetaMap.get(o);s&&this.nodeMetaMap.set(r,s)}this.idNodeMap.set(t,r)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}};function Hn(){return new ot}function at({element:e,maskInputOptions:t,tagName:r,type:o,value:s,maskInputFn:c}){let f=s||"",d=o&&Oe(o);return(t[r.toLowerCase()]||d&&t[d])&&(c?f=c(f,e):f="*".repeat(f.length)),f}function Oe(e){return e.toLowerCase()}var ds="__rrweb_original__";function Gn(e){let t=e.getContext("2d");if(!t)return!0;let r=50;for(let o=0;o<e.width;o+=r)for(let s=0;s<e.height;s+=r){let c=t.getImageData,f=ds in c?c[ds]:c;if(new Uint32Array(f.call(t,o,s,Math.min(r,e.width-o),Math.min(r,e.height-s)).data.buffer).some(n=>n!==0))return!1}return!0}function lt(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Oe(t):null}function Ui(e,t){let r;try{r=new URL(e,t??window.location.href)}catch{return null}let o=/\.([0-9a-z]+)(?:$)/i,s=r.pathname.match(o);return s?.[1]??null}function Jn(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}var Yn=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Qn=/^(?:[a-z+]+:)?\/\//i,Xn=/^www\..*/i,Kn=/^(data:)([^,]*),(.*)/i;function ut(e,t){return(e||"").replace(Yn,(r,o,s,c,f,d)=>{let n=s||f||d,p=o||c||"";if(!n)return r;if(Qn.test(n)||Xn.test(n))return`url(${p}${n}${p})`;if(Kn.test(n))return`url(${p}${n}${p})`;if(n[0]==="/")return`url(${p}${Jn(t)+n}${p})`;let i=t.split("/"),h=n.split("/");i.pop();for(let a of h)a!=="."&&(a===".."?i.pop():i.push(a));return`url(${p}${i.join("/")}${p})`})}function Qe(e,t=!1){return t?e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}function Zn(e,t,r=!1){let o=Array.from(t.childNodes),s=[],c=0;if(o.length>1&&e&&typeof e=="string"){let f=Qe(e,r),d=f.length/e.length;for(let n=1;n<o.length;n++)if(o[n].textContent&&typeof o[n].textContent=="string"){let p=Qe(o[n].textContent,r),i=100,h=3;for(;h<p.length&&(p[h].match(/[a-zA-Z0-9]/)||p.indexOf(p.substring(0,h),1)!==-1);h++);for(;h<p.length;h++){let a=p.substring(0,h),m=f.split(a),l=-1;if(m.length===2)l=m[0].length;else if(m.length>2&&m[0]===""&&o[n-1].textContent!=="")l=f.indexOf(a,1);else if(m.length===1){if(a=a.substring(0,a.length-1),m=f.split(a),m.length<=1)return s.push(e),s;h=i+1}else h===p.length-1&&(l=f.indexOf(a));if(m.length>=2&&h>i){let u=o[n-1].textContent;if(u&&typeof u=="string"){let y=Qe(u).length;l=f.indexOf(a,y)}l===-1&&(l=m[0].length)}if(l!==-1){let u=Math.floor(l/d);for(;u>0&&u<e.length;){if(c+=1,c>50*o.length)return s.push(e),s;let y=Qe(e.substring(0,u),r);if(y.length===l){s.push(e.substring(0,u)),e=e.substring(u),f=f.substring(l);break}else y.length<l?u+=Math.max(1,Math.floor((l-y.length)/d)):u-=Math.max(1,Math.floor((y.length-l)*d))}break}}}}return s.push(e),s}function eo(e,t){return Zn(e,t).join("/* rr_split */")}var to="lightgrey",ro=1,so=new RegExp("[^a-z0-9-_:]"),je=-2;function $i(){return ro++}function io(e){if(e instanceof HTMLFormElement)return"form";let t=Oe(e.tagName);return so.test(t)?"div":t}var ke,ms,no=/^[^ \t\n\r\u000c]+/,oo=/^[, \t\n\r\u000c]+/;function ao(e,t){if(t.trim()==="")return t;let r=0;function o(c){let f,d=c.exec(t.substring(r));return d?(f=d[0],r+=f.length,f):""}let s=[];for(;o(oo),!(r>=t.length);){let c=o(no);if(c.slice(-1)===",")c=De(e,c.substring(0,c.length-1)),s.push(c);else{let f="";c=De(e,c);let d=!1;for(;;){let n=t.charAt(r);if(n===""){s.push((c+f).trim());break}else if(d)n===")"&&(d=!1);else if(n===","){r+=1,s.push((c+f).trim());break}else n==="("&&(d=!0);f+=n,r+=1}}}return s.join(", ")}var gs=new WeakMap;function De(e,t){return!t||t.trim()===""?t:Jr(e,t)}function lo(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function Jr(e,t){let r=gs.get(e);if(r||(r=e.createElement("a"),gs.set(e,r)),!t)t="";else if(t.startsWith("blob:")||t.startsWith("data:"))return t;return r.setAttribute("href",t),r.href}function zi(e,t,r,o){return o&&(r==="src"||r==="href"&&!(t==="use"&&o[0]==="#")||r==="xlink:href"&&o[0]!=="#"||r==="background"&&(t==="table"||t==="td"||t==="th")?De(e,o):r==="srcset"?ao(e,o):r==="style"?ut(o,Jr(e)):t==="object"&&r==="data"?De(e,o):o)}function Bi(e,t,r){return(e==="video"||e==="audio")&&t==="autoplay"}function uo(e,t,r){try{if(typeof t=="string"){if(e.classList.contains(t))return!0}else for(let o=e.classList.length;o--;){let s=e.classList[o];if(t.test(s))return!0}if(r)return e.matches(r)}catch{}return!1}function ct(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return r?ct(re.parentNode(e),t,r):!1;for(let o=e.classList.length;o--;){let s=e.classList[o];if(t.test(s))return!0}return r?ct(re.parentNode(e),t,r):!1}function Wi(e,t,r,o){let s;if(Fi(e)){if(s=e,!re.childNodes(s).length)return!1}else{if(re.parentElement(e)===null)return!1;s=re.parentElement(e)}try{if(typeof t=="string"){if(o){if(s.closest(`.${t}`))return!0}else if(s.classList.contains(t))return!0}else if(ct(s,t,o))return!0;if(r){if(o){if(s.closest(r))return!0}else if(s.matches(r))return!0}}catch{}return!1}function co(e,t,r){let o=e.contentWindow;if(!o)return;let s=!1,c;try{c=o.document.readyState}catch{return}if(c!=="complete"){let d=setTimeout(()=>{s||(t(),s=!0)},r);e.addEventListener("load",()=>{clearTimeout(d),s=!0,t()});return}let f="about:blank";if(o.location.href!==f||e.src===f||e.src==="")return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function ho(e,t,r){let o=!1,s;try{s=e.sheet}catch{return}if(s)return;let c=setTimeout(()=>{o||(t(),o=!0)},r);e.addEventListener("load",()=>{clearTimeout(c),o=!0,t()})}function fo(e,t){let{doc:r,mirror:o,blockClass:s,blockSelector:c,needsMask:f,inlineStylesheet:d,maskInputOptions:n={},maskTextFn:p,maskInputFn:i,maskAttributeFn:h,dataURLOptions:a={},inlineImages:m,recordCanvas:l,keepIframeSrcFn:u,newlyAddedElement:y=!1,cssCaptured:g=!1,applyBackgroundColorToBlockedElements:w=!1}=t,v=po(r,o);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:K.Document,childNodes:[],compatMode:e.compatMode}:{type:K.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:K.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:v};case e.ELEMENT_NODE:return go(e,{doc:r,blockClass:s,blockSelector:c,inlineStylesheet:d,maskInputOptions:n,maskInputFn:i,maskAttributeFn:h,dataURLOptions:a,inlineImages:m,recordCanvas:l,keepIframeSrcFn:u,newlyAddedElement:y,rootId:v,applyBackgroundColorToBlockedElements:w});case e.TEXT_NODE:return mo(e,{doc:r,needsMask:f,maskTextFn:p,rootId:v,cssCaptured:g});case e.CDATA_SECTION_NODE:return{type:K.CDATA,textContent:"",rootId:v};case e.COMMENT_NODE:return{type:K.Comment,textContent:re.textContent(e)||"",rootId:v};default:return!1}}function po(e,t){if(!t.hasNode(e))return;let r=t.getId(e);return r===1?void 0:r}function mo(e,t){let{needsMask:r,maskTextFn:o,rootId:s,cssCaptured:c}=t,f=re.parentNode(e),d=f&&f.tagName,n="",p=d==="STYLE"?!0:void 0,i=d==="SCRIPT"?!0:void 0;return i?n="SCRIPT_PLACEHOLDER":c||(n=re.textContent(e),p&&n&&(n=ut(n,Jr(t.doc)))),!p&&!i&&n&&r&&(n=o?o(n,re.parentElement(e)):n.replace(/[\S]/g,"*")),{type:K.Text,textContent:n||"",rootId:s}}function go(e,t){let{doc:r,blockClass:o,blockSelector:s,inlineStylesheet:c,maskInputOptions:f={},maskInputFn:d,maskAttributeFn:n,dataURLOptions:p={},inlineImages:i,recordCanvas:h,keepIframeSrcFn:a,newlyAddedElement:m=!1,rootId:l,applyBackgroundColorToBlockedElements:u=!1}=t,y=uo(e,o,s),g=io(e),w={},v=e.attributes.length;for(let x=0;x<v;x++){let b=e.attributes[x];if(!Bi(g,b.name,b.value)){let S=zi(r,g,Oe(b.name),b.value);if(n&&S!==null){let C=n(b.name,S,e);C!==null&&(w[b.name]=C)}else w[b.name]=S}}if(g==="link"&&c){let x=Array.from(r.styleSheets).find(S=>S.href===e.href),b=null;x&&(b=_r(x)),b&&(delete w.rel,delete w.href,w._cssText=b)}if(g==="style"&&e.sheet){let x=_r(e.sheet);x&&(e.childNodes.length>1&&(x=eo(x,e)),w._cssText=x)}if(g==="input"||g==="textarea"||g==="select"){let x=e.value,b=e.checked;w.type!=="radio"&&w.type!=="checkbox"&&w.type!=="submit"&&w.type!=="button"&&x?w.value=at({element:e,type:lt(e),tagName:g,value:x,maskInputOptions:f,maskInputFn:d}):b&&(w.checked=b)}if(g==="option"&&(e.selected&&!f.select?w.selected=!0:delete w.selected),g==="dialog"&&e.open&&(w.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal"),g==="canvas"&&h){if(e.__context==="2d")Gn(e)||(w.rr_dataURL=e.toDataURL(p.type,p.quality));else if(!("__context"in e)){let x=e.toDataURL(p.type,p.quality),b=r.createElement("canvas");b.width=e.width,b.height=e.height;let S=b.toDataURL(p.type,p.quality);x!==S&&(w.rr_dataURL=x)}}if(g==="img"&&i){ke||(ke=r.createElement("canvas"),ms=ke.getContext("2d"));let x=e,b=x.currentSrc||x.getAttribute("src")||"<unknown-src>",S=x.crossOrigin,C=()=>{x.removeEventListener("load",C);
vendor: 4,166 bytes, line 1
1try{ke.width=x.naturalWidth,ke.height=x.naturalHeight,ms.drawImage(x,0,0),w.rr_dataURL=ke.toDataURL(p.type,p.quality)}catch(E){if(x.crossOrigin!=="anonymous"){x.crossOrigin="anonymous",x.complete&&x.naturalWidth!==0?C():x.addEventListener("load",C);return}else console.warn(`Cannot inline img src=${b}! Error: ${E}`)}x.crossOrigin==="anonymous"&&(S?w.crossOrigin=S:x.removeAttribute("crossorigin"))};x.complete&&x.naturalWidth!==0?C():x.addEventListener("load",C)}if(g==="audio"||g==="video"){let x=w;x.rr_mediaState=e.paused?"paused":"played",x.rr_mediaCurrentTime=e.currentTime,x.rr_mediaPlaybackRate=e.playbackRate,x.rr_mediaMuted=e.muted,x.rr_mediaLoop=e.loop,x.rr_mediaVolume=e.volume}if(m||(e.scrollLeft&&(w.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(w.rr_scrollTop=e.scrollTop)),y){let{width:x,height:b}=e.getBoundingClientRect();w=D({class:w.class,rr_width:`${x}px`,rr_height:`${b}px`},u?{rr_background_color:to}:{})}g==="iframe"&&!a(w.src)&&(e.contentDocument||(w.rr_src=w.src),delete w.src);let R;try{customElements.get(g)&&(R=!0)}catch{}return{type:K.Element,tagName:g,attributes:w,childNodes:[],isSVG:lo(e)||void 0,needBlock:y,rootId:l,isCustom:R}}function q(e){return e==null?"":e.toLowerCase()}function yo(e,t){if(t.comment&&e.type===K.Comment)return!0;if(e.type===K.Element){if(t.script&&(e.tagName==="script"||e.tagName==="link"&&(e.attributes.rel==="preload"||e.attributes.rel==="modulepreload")&&e.attributes.as==="script"||e.tagName==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&Ui(e.attributes.href)==="js"))return!0;if(t.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(q(e.attributes.name).match(/^msapplication-tile(image|color)$/)||q(e.attributes.name)==="application-name"||q(e.attributes.rel)==="icon"||q(e.attributes.rel)==="apple-touch-icon"||q(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&&q(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(q(e.attributes.property).match(/^(og|twitter|fb):/)||q(e.attributes.name).match(/^(og|twitter):/)||q(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&&(q(e.attributes.name)==="robots"||q(e.attributes.name)==="googlebot"||q(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&&(q(e.attributes.name)==="author"||q(e.attributes.name)==="generator"||q(e.attributes.name)==="framework"||q(e.attributes.name)==="publisher"||q(e.attributes.name)==="progid"||q(e.attributes.property).match(/^article:/)||q(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&(q(e.attributes.name)==="google-site-verification"||q(e.attributes.name)==="yandex-verification"||q(e.attributes.name)==="csrf-token"||q(e.attributes.name)==="p:domain_verify"||q(e.attributes.name)==="verify-v1"||q(e.attributes.name)==="verification"||q(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function ys(e,t,r){return Array.from(e).map(o=>{let s=t(o),c=[];if(!r.has(s)){r.add(s);try{c=Array.from(o.cssRules,(f,d)=>({rule:Gr(f,o.href),index:d}))}catch(f){if(!(f instanceof DOMException&&f.name==="SecurityError"))throw f}}return{styleId:s,rules:c}})}function Le(e,t){var r,o;let{doc:s,mirror:c,blockClass:f,blockSelector:d,maskTextClass:n,maskTextSelector:p,skipChild:i=!1,inlineStylesheet:h=!0,maskInputOptions:a={},maskTextFn:m,maskInputFn:l,maskAttributeFn:u,slimDOMOptions:y,dataURLOptions:g={},inlineImages:w=!1,recordCanvas:v=!1,onSerialize:R,onAdoptedStyleSheet:x,onIframeLoad:b,iframeLoadTimeout:S=5e3,onStylesheetLoad:C,stylesheetLoadTimeout:E=5e3,keepIframeSrcFn:O=()=>!1,newlyAddedElement:k=!1,cssCaptured:N=!1,applyBackgroundColorToBlockedElements:M=!1}=t,oe=t._emittedStyleIds??new Set,{needsMask:Z}=t,{preserveWhiteSpace:te=!0}=t;Z||(Z=Wi(e,n,p,Z===void 0));let j=fo(e,{doc:s,mirror:c,blockClass:f,blockSelector:d,needsMask:Z,inlineStylesheet:h,maskInputOptions:a,maskTextFn:m,maskInputFn:l,maskAttributeFn:u,dataURLOptions:g,inlineImages:w,recordCanvas:v,keepIframeSrcFn:O,newlyAddedElement:k,cssCaptured:N,applyBackgroun
vendor: 4,216 bytes, line 1
1dColorToBlockedElements:M});if(!j)return console.warn(e,"not serialized"),null;let Q;c.hasNode(e)?Q=c.getId(e):yo(j,y)||!te&&j.type===K.Text&&!j.textContent.replace(/^\s+|\s+$/gm,"").length?Q=je:Q=$i();let P=Object.assign(j,{id:Q});if(c.add(e,P),Q===je)return null;R&&R(e);let B=!i;if(P.type===K.Element){B=B&&!P.needBlock,delete P.needBlock;let z=re.shadowRoot(e);z&&We(z)&&(P.isShadowHost=!0,x&&((r=z.adoptedStyleSheets)!=null&&r.length)&&(P.adoptedStyleSheets=ys(z.adoptedStyleSheets,x,oe)))}if(P.type===K.Document&&x){let z=e;(o=z.adoptedStyleSheets)!=null&&o.length&&(P.adoptedStyleSheets=ys(z.adoptedStyleSheets,x,oe))}if((P.type===K.Document||P.type===K.Element)&&B){y.headWhitespace&&P.type===K.Element&&P.tagName==="head"&&(te=!1);let z={doc:s,mirror:c,blockClass:f,blockSelector:d,needsMask:Z,maskTextClass:n,maskTextSelector:p,skipChild:i,inlineStylesheet:h,maskInputOptions:a,maskTextFn:m,maskInputFn:l,maskAttributeFn:u,slimDOMOptions:y,dataURLOptions:g,inlineImages:w,recordCanvas:v,preserveWhiteSpace:te,onSerialize:R,onAdoptedStyleSheet:x,_emittedStyleIds:oe,onIframeLoad:b,iframeLoadTimeout:S,onStylesheetLoad:C,stylesheetLoadTimeout:E,keepIframeSrcFn:O,cssCaptured:!1,applyBackgroundColorToBlockedElements:M};if(!(P.type===K.Element&&P.tagName==="textarea"&&P.attributes.value!==void 0)){P.type===K.Element&&P.attributes._cssText!==void 0&&typeof P.attributes._cssText=="string"&&(z.cssCaptured=!0);for(let se of Array.from(re.childNodes(e))){let ee=Le(se,z);ee&&P.childNodes.push(ee)}}let I=null;if(Fi(e)&&(I=re.shadowRoot(e)))for(let se of Array.from(re.childNodes(I))){let ee=Le(se,z);ee&&(We(I)&&(ee.isShadow=!0),P.childNodes.push(ee))}}let F=re.parentNode(e);return F&&Be(F)&&We(F)&&(P.isShadow=!0),P.type===K.Element&&P.tagName==="iframe"&&co(e,()=>{let z=e.contentDocument;if(z&&b){let I=Le(z,{doc:z,mirror:c,blockClass:f,blockSelector:d,needsMask:Z,maskTextClass:n,maskTextSelector:p,skipChild:!1,inlineStylesheet:h,maskInputOptions:a,maskTextFn:m,maskInputFn:l,maskAttributeFn:u,slimDOMOptions:y,dataURLOptions:g,inlineImages:w,recordCanvas:v,preserveWhiteSpace:te,onSerialize:R,onAdoptedStyleSheet:x,onIframeLoad:b,iframeLoadTimeout:S,onStylesheetLoad:C,stylesheetLoadTimeout:E,keepIframeSrcFn:O});I&&b(e,I)}},S),P.type===K.Element&&P.tagName==="link"&&typeof P.attributes.rel=="string"&&(P.attributes.rel==="stylesheet"||P.attributes.rel==="preload"&&typeof P.attributes.href=="string"&&Ui(P.attributes.href)==="css")&&ho(e,()=>{if(C){let z=Le(e,{doc:s,mirror:c,blockClass:f,blockSelector:d,needsMask:Z,maskTextClass:n,maskTextSelector:p,skipChild:!1,inlineStylesheet:h,maskInputOptions:a,maskTextFn:m,maskInputFn:l,maskAttributeFn:u,slimDOMOptions:y,dataURLOptions:g,inlineImages:w,recordCanvas:v,preserveWhiteSpace:te,onSerialize:R,onIframeLoad:b,iframeLoadTimeout:S,onStylesheetLoad:C,stylesheetLoadTimeout:E,keepIframeSrcFn:O});z&&C(e,z)}},E),P}function wo(e,t){let{mirror:r=new ot,blockClass:o="rr-block",blockSelector:s=null,maskTextClass:c="rr-mask",maskTextSelector:f=null,inlineStylesheet:d=!0,inlineImages:n=!1,recordCanvas:p=!1,maskAllInputs:i=!1,maskTextFn:h,maskInputFn:a,maskAttributeFn:m,slimDOM:l=!1,dataURLOptions:u,preserveWhiteSpace:y,onSerialize:g,onAdoptedStyleSheet:w,onIframeLoad:v,iframeLoadTimeout:R,onStylesheetLoad:x,stylesheetLoadTimeout:b,keepIframeSrcFn:S=()=>!1,applyBackgroundColorToBlockedElements:C=!1}=t||{};return Le(e,{doc:e,mirror:r,blockClass:o,blockSelector:s,maskTextClass:c,maskTextSelector:f,skipChild:!1,inlineStylesheet:d,maskInputOptions:i===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:i===!1?{password:!0}:i,maskTextFn:h,maskInputFn:a,maskAttributeFn:m,slimDOMOptions:l===!0||l==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:l==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:l===!1?{}:l,dataURLOptions:u,inlineImages:n,recordCanvas:p,preserveWhiteSpace:y,onSerialize:g,onAdoptedStyleSheet:w,onIframeLoad:v,iframeLoadTimeout:R,onStylesheetLoad:x,stylesheetLoadTimeout:b,keepIframeSrcFn:S,newlyAddedElement:!1,applyBackgroun
vendor: 2,827 bytes, lines 1-11
1dColorToBlockedElements:C})}function bo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function So(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var s=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,s.get?s:{enumerable:!0,get:function(){return e[o]}})}),r}var Xe={exports:{}},ws;function vo(){if(ws)return Xe.exports;ws=1;var e=String,t=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}};return Xe.exports=t(),Xe.exports.createColors=t,Xe.exports}var Co={},xo=Object.freeze(Object.defineProperty({__proto__:null,default:Co},Symbol.toStringTag,{value:"Module"})),de=So(xo),At,bs;function Yr(){if(bs)return At;bs=1;let e=vo(),t=de;class r extends Error{constructor(s,c,f,d,n,p){super(s),this.name="CssSyntaxError",this.reason=s,n&&(this.file=n),d&&(this.source=d),p&&(this.plugin=p),typeof c<"u"&&typeof f<"u"&&(typeof c=="number"?(this.line=c,this.column=f):(this.line=c.line,this.column=c.column,this.endLine=f.line,this.endColumn=f.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,r)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(s){if(!this.source)return"";let c=this.source;s==null&&(s=e.isColorSupported),t&&s&&(c=t(c));let f=c.split(/\r?\n/),d=Math.max(this.line-3,0),n=Math.min(this.line+2,f.length),p=String(n).length,i,h;if(s){let{bold:a,gray:m,red:l}=e.createColors(!0);i=u=>a(l(u)),h=u=>m(u)}else i=h=a=>a;return f.slice(d,n).map((a,m)=>{let l=d+1+m,u=" "+(" "+l).slice(-p)+" | ";if(l===this.line){let y=h(u.replace(/\d/g," "))+a.slice(0,this.column-1).replace(/[^\t]/g," ");return i(">")+h(u)+a+` 2 `+y+i("^")}return" "+h(u)+a}).join(` 3`)}toString(){let s=this.showSourceCode();return s&&(s=` 4 5`+s+` 6`),this.name+": "+this.message+s}}return At=r,r.default=r,At}var Ke={},Ss;function Qr(){return Ss||(Ss=1,Ke.isClean=Symbol("isClean"),Ke.my=Symbol("my")),Ke}var Nt,vs;function qi(){if(vs)return Nt;vs=1;let e={after:` 7`,beforeClose:` 8`,beforeComment:` 9`,beforeDecl:` 10`,beforeOpen:" ",beforeRule:` 11`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function t(o){return o[0].toUpperCase()+o.slice(1)}
vendor: 5,667 bytes, lines 11-17
11class r{constructor(s){this.builder=s}atrule(s,c){let f="@"+s.name,d=s.params?this.rawValue(s,"params"):"";if(typeof s.raws.afterName<"u"?f+=s.raws.afterName:d&&(f+=" "),s.nodes)this.block(s,f+d);else{let n=(s.raws.between||"")+(c?";":"");this.builder(f+d+n,s)}}beforeAfter(s,c){let f;s.type==="decl"?f=this.raw(s,null,"beforeDecl"):s.type==="comment"?f=this.raw(s,null,"beforeComment"):c==="before"?f=this.raw(s,null,"beforeRule"):f=this.raw(s,null,"beforeClose");let d=s.parent,n=0;for(;d&&d.type!=="root";)n+=1,d=d.parent;if(f.includes(` 12`)){let p=this.raw(s,null,"indent");if(p.length)for(let i=0;i<n;i++)f+=p}return f}block(s,c){let f=this.raw(s,"between","beforeOpen");this.builder(c+f+"{",s,"start");let d;s.nodes&&s.nodes.length?(this.body(s),d=this.raw(s,"after")):d=this.raw(s,"after","emptyBody"),d&&this.builder(d),this.builder("}",s,"end")}body(s){let c=s.nodes.length-1;for(;c>0&&s.nodes[c].type==="comment";)c-=1;let f=this.raw(s,"semicolon");for(let d=0;d<s.nodes.length;d++){let n=s.nodes[d],p=this.raw(n,"before");p&&this.builder(p),this.stringify(n,c!==d||f)}}comment(s){let c=this.raw(s,"left","commentLeft"),f=this.raw(s,"right","commentRight");this.builder("/*"+c+s.text+f+"*/",s)}decl(s,c){let f=this.raw(s,"between","colon"),d=s.prop+f+this.rawValue(s,"value");s.important&&(d+=s.raws.important||" !important"),c&&(d+=";"),this.builder(d,s)}document(s){this.body(s)}raw(s,c,f){let d;if(f||(f=c),c&&(d=s.raws[c],typeof d<"u"))return d;let n=s.parent;if(f==="before"&&(!n||n.type==="root"&&n.first===s||n&&n.type==="document"))return"";if(!n)return e[f];let p=s.root();if(p.rawCache||(p.rawCache={}),typeof p.rawCache[f]<"u")return p.rawCache[f];if(f==="before"||f==="after")return this.beforeAfter(s,f);{let i="raw"+t(f);this[i]?d=this[i](p,s):p.walk(h=>{if(d=h.raws[c],typeof d<"u")return!1})}return typeof d>"u"&&(d=e[f]),p.rawCache[f]=d,d}rawBeforeClose(s){let c;return s.walk(f=>{if(f.nodes&&f.nodes.length>0&&typeof f.raws.after<"u")return c=f.raws.after,c.includes(` 13`)&&(c=c.replace(/[^\n]+$/,"")),!1}),c&&(c=c.replace(/\S/g,"")),c}rawBeforeComment(s,c){let f;return s.walkComments(d=>{if(typeof d.raws.before<"u")return f=d.raws.before,f.includes(` 14`)&&(f=f.replace(/[^\n]+$/,"")),!1}),typeof f>"u"?f=this.raw(c,null,"beforeDecl"):f&&(f=f.replace(/\S/g,"")),f}rawBeforeDecl(s,c){let f;return s.walkDecls(d=>{if(typeof d.raws.before<"u")return f=d.raws.before,f.includes(` 15`)&&(f=f.replace(/[^\n]+$/,"")),!1}),typeof f>"u"?f=this.raw(c,null,"beforeRule"):f&&(f=f.replace(/\S/g,"")),f}rawBeforeOpen(s){let c;return s.walk(f=>{if(f.type!=="decl"&&(c=f.raws.between,typeof c<"u"))return!1}),c}rawBeforeRule(s){let c;return s.walk(f=>{if(f.nodes&&(f.parent!==s||s.first!==f)&&typeof f.raws.before<"u")return c=f.raws.before,c.includes(` 16`)&&(c=c.replace(/[^\n]+$/,"")),!1}),c&&(c=c.replace(/\S/g,"")),c}rawColon(s){let c;return s.walkDecls(f=>{if(typeof f.raws.between<"u")return c=f.raws.between.replace(/[^\s:]/g,""),!1}),c}rawEmptyBody(s){let c;return s.walk(f=>{if(f.nodes&&f.nodes.length===0&&(c=f.raws.after,typeof c<"u"))return!1}),c}rawIndent(s){if(s.raws.indent)return s.raws.indent;let c;return s.walk(f=>{let d=f.parent;if(d&&d!==s&&d.parent&&d.parent===s&&typeof f.raws.before<"u"){let n=f.raws.before.split(` 17`);return c=n[n.length-1],c=c.replace(/\S/g,""),!1}}),c}rawSemicolon(s){let c;return s.walk(f=>{if(f.nodes&&f.nodes.length&&f.last.type==="decl"&&(c=f.raws.semicolon,typeof c<"u"))return!1}),c}rawValue(s,c){let f=s[c],d=s.raws[c];return d&&d.value===f?d.raw:f}root(s){this.body(s),s.raws.after&&this.builder(s.raws.after)}rule(s){this.block(s,this.rawValue(s,"selector")),s.raws.ownSemicolon&&this.builder(s.raws.ownSemicolon,s,"end")}stringify(s,c){if(!this[s.type])throw new Error("Unknown AST node type "+s.type+". Maybe you need to change PostCSS stringifier.");this[s.type](s,c)}}return Nt=r,r.default=r,Nt}var kt,Cs;function mt(){if(Cs)return kt;Cs=1;let e=qi();function t(r,o){new e(o).stringify(r)}return kt=t,t.default=t,kt}var Pt,xs;function gt(){if(xs)return Pt;xs=1;let{isClean:e,my:t}=Qr(),r=Yr(),o=qi(),s=mt();function c(d,n){let p=new d.constructor;for(let i in d){if(!Object.prototype.hasOwnProperty.call(d,i)||i==="proxyCache")continue;let h=d[i],a=typeof h;i==="parent"&&a==="object"?n&&(p[i]=n):i==="source"?p[i]=h:Array.isArray(h)?p[i]=h.map(m=>c(m,p)):(a==="object"&&h!==null&&(h=c(h)),p[i]=h)}return p}class f{constructor(n={}){this.raws={},this[e]=!1,this[t]=!0;for(let p in n)if(p==="nodes"){this.nodes=[];for(let i of n[p])typeof i.clone=="function"?this.append(i.clone()):this.append(i)}else this[p]=n[p]}addToError(n){if(n.postcssNode=this,n.stack&&this.source&&/\n\s{4}at /.test(n.stack)){let p=this.source;n.stack=n.stack.replace(/\n\s{4}at /,`$&${p.input.from}:${p.start.line}:${p.start.column}$&`)}return n}after(n){return this.parent.insertAfter(this,n),this}assign(n={}){for(let p in n)this[p]=n[p];return this}before(n){return this.parent.insertBefore(this,n),this}cleanRaws(n){delete this.raws.before,delete this.raws.after,n||delete this.raws.between}clone(n={}){let p=c(this);for(let i in n)p[i]=n[i];return p}cloneAfter(n={}){let p=this.clone(n);return this.parent.insertAfter(this,p),p}cloneBefore(n={}){let p=this.clone(n);return this.parent.insertBefore(this,p),p}error(n,p={}){if(this.source){let{end:i,start:h}=this.rangeBy(p);return this.source.input.error(n,{column:h.column,line:h.line},{column:i.column,line:i.line},p)}return new r(n)}getProxyProcessor(){return{get(n,p){return p==="proxyOf"?n:p==="root"?()=>n.root().toProxy():n[p]},set(n,p,i){return n[p]===i||(n[p]=i,(p==="prop"||p==="value"||p==="name"||p==="params"||p==="important"||p==="text")&&n.markDirty()),!0}}}
vendor: 15,168 bytes, lines 17-23
17markDirty(){if(this[e]){this[e]=!1;let n=this;for(;n=n.parent;)n[e]=!1}}next(){if(!this.parent)return;let n=this.parent.index(this);return this.parent.nodes[n+1]}positionBy(n,p){let i=this.source.start;if(n.index)i=this.positionInside(n.index,p);else if(n.word){p=this.toString();let h=p.indexOf(n.word);h!==-1&&(i=this.positionInside(h,p))}return i}positionInside(n,p){let i=p||this.toString(),h=this.source.start.column,a=this.source.start.line;for(let m=0;m<n;m++)i[m]===` 18`?(h=1,a+=1):h+=1;return{column:h,line:a}}prev(){if(!this.parent)return;let n=this.parent.index(this);return this.parent.nodes[n-1]}rangeBy(n){let p={column:this.source.start.column,line:this.source.start.line},i=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:p.column+1,line:p.line};if(n.word){let h=this.toString(),a=h.indexOf(n.word);a!==-1&&(p=this.positionInside(a,h),i=this.positionInside(a+n.word.length,h))}else n.start?p={column:n.start.column,line:n.start.line}:n.index&&(p=this.positionInside(n.index)),n.end?i={column:n.end.column,line:n.end.line}:typeof n.endIndex=="number"?i=this.positionInside(n.endIndex):n.index&&(i=this.positionInside(n.index+1));return(i.line<p.line||i.line===p.line&&i.column<=p.column)&&(i={column:p.column+1,line:p.line}),{end:i,start:p}}raw(n,p){return new o().raw(this,n,p)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...n){if(this.parent){let p=this,i=!1;for(let h of n)h===this?i=!0:i?(this.parent.insertAfter(p,h),p=h):this.parent.insertBefore(p,h);i||this.remove()}return this}root(){let n=this;for(;n.parent&&n.parent.type!=="document";)n=n.parent;return n}toJSON(n,p){let i={},h=p==null;p=p||new Map;let a=0;for(let m in this){if(!Object.prototype.hasOwnProperty.call(this,m)||m==="parent"||m==="proxyCache")continue;let l=this[m];if(Array.isArray(l))i[m]=l.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,p):u);else if(typeof l=="object"&&l.toJSON)i[m]=l.toJSON(null,p);else if(m==="source"){let u=p.get(l.input);u==null&&(u=a,p.set(l.input,a),a++),i[m]={end:l.end,inputId:u,start:l.start}}else i[m]=l}return h&&(i.inputs=[...p.keys()].map(m=>m.toJSON())),i}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(n=s){n.stringify&&(n=n.stringify);let p="";return n(this,i=>{p+=i}),p}warn(n,p,i){let h={node:this};for(let a in i)h[a]=i[a];return n.warn(p,h)}get proxyOf(){return this}}return Pt=f,f.default=f,Pt}var _t,Rs;function yt(){if(Rs)return _t;Rs=1;let e=gt();class t extends e{constructor(o){o&&typeof o.value<"u"&&typeof o.value!="string"&&(o=ue(D({},o),{value:String(o.value)})),super(o),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}return _t=t,t.default=t,_t}var Dt,Os;function Ro(){if(Os)return Dt;Os=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return Dt={nanoid:(o=21)=>{let s="",c=o;for(;c--;)s+=e[Math.random()*64|0];return s},customAlphabet:(o,s=21)=>(c=s)=>{let f="",d=c;for(;d--;)f+=o[Math.random()*o.length|0];return f}},Dt}var Lt,Ms;function ji(){if(Ms)return Lt;Ms=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=de,{existsSync:r,readFileSync:o}=de,{dirname:s,join:c}=de;function f(n){return Buffer?Buffer.from(n,"base64").toString():window.atob(n)}class d{constructor(p,i){if(i.map===!1)return;this.loadAnnotation(p),this.inline=this.startWith(this.annotation,"data:");let h=i.map?i.map.prev:void 0,a=this.loadMap(i.from,h);!this.mapFile&&i.from&&(this.mapFile=i.from),this.mapFile&&(this.root=s(this.mapFile)),a&&(this.text=a)}consumer(){return this.consumerCache||(this.consumerCache=new e(this.text)),this.consumerCache}decodeInline(p){let i=/^data:application\/json;charset=utf-?8;base64,/,h=/^data:application\/json;base64,/,a=/^data:application\/json;charset=utf-?8,/,m=/^data:application\/json,/;if(a.test(p)||m.test(p))return decodeURIComponent(p.substr(RegExp.lastMatch.length));if(i.test(p)||h.test(p))return f(p.substr(RegExp.lastMatch.length));let l=p.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+l)}getAnnotationURL(p){return p.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(p){return typeof p!="object"?!1:typeof p.mappings=="string"||typeof p._mappings=="string"||Array.isArray(p.sections)}loadAnnotation(p){let i=p.match(/\/\*\s*# sourceMappingURL=/gm);if(!i)return;let h=p.lastIndexOf(i.pop()),a=p.indexOf("*/",h);h>-1&&a>-1&&(this.annotation=this.getAnnotationURL(p.substring(h,a)))}loadFile(p){if(this.root=s(p),r(p))return this.mapFile=p,o(p,"utf-8").toString().trim()}loadMap(p,i){if(i===!1)return!1;if(i){if(typeof i=="string")return i;if(typeof i=="function"){let h=i(p);if(h){let a=this.loadFile(h);if(!a)throw new Error("Unable to load previous source map: "+h.toString());return a}}else{if(i instanceof e)return t.fromSourceMap(i).toString();if(i instanceof t)return i.toString();if(this.isMap(i))return JSON.stringify(i);throw new Error("Unsupported previous source map format: "+i.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let h=this.annotation;return p&&(h=c(s(p),h)),this.loadFile(h)}}}startWith(p,i){return p?p.substr(0,i.length)===i:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Lt=d,d.default=d,Lt}var Tt,Es;function wt(){if(Es)return Tt;Es=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=de,{fileURLToPath:r,pathToFileURL:o}=de,{isAbsolute:s,resolve:c}=de,{nanoid:f}=Ro(),d=de,n=Yr(),p=ji(),i=Symbol("fromOffsetCache"),h=!!(e&&t),a=!!(c&&s);class m{constructor(u,y={}){if(u===null||typeof u>"u"||typeof u=="object"&&!u.toString)throw new Error(`PostCSS received ${u} instead of CSS string`);if(this.css=u.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,y.from&&(!a||/^\w+:\/\//.test(y.from)||s(y.from)?this.file=y.from:this.file=c(y.from)),a&&h){let g=new p(this.css,y);if(g.text){this.map=g;let w=g.consumer().file;!this.file&&w&&(this.file=this.mapResolve(w))}}this.file||(this.id="<input css "+f(6)+">"),this.map&&(this.map.file=this.from)}error(u,y,g,w={}){let v,R,x;if(y&&typeof y=="object"){let S=y,C=g;if(typeof S.offset=="number"){let E=this.fromOffset(S.offset);y=E.line,g=E.col}else y=S.line,g=S.column;if(typeof C.offset=="number"){let E=this.fromOffset(C.offset);R=E.line,x=E.col}else R=C.line,x=C.column}else if(!g){let S=this.fromOffset(y);y=S.line,g=S.col}let b=this.origin(y,g,R,x);return b?v=new n(u,b.endLine===void 0?b.line:{column:b.column,line:b.line},b.endLine===void 0?b.column:{column:b.endColumn,line:b.endLine},b.source,b.file,w.plugin):v=new n(u,R===void 0?y:{column:g,line:y},R===void 0?g:{column:x,line:R},this.css,this.file,w.plugin),v.input={column:g,endColumn:x,endLine:R,line:y,source:this.css},this.file&&(o&&(v.input.url=o(this.file).toString()),v.input.file=this.file),v}fromOffset(u){let y,g;if(this[i])g=this[i];else{let v=this.css.split(` 19`);g=new Array(v.length);let R=0;for(let x=0,b=v.length;x<b;x++)g[x]=R,R+=v[x].length+1;this[i]=g}y=g[g.length-1];let w=0;if(u>=y)w=g.length-1;else{let v=g.length-2,R;for(;w<v;)if(R=w+(v-w>>1),u<g[R])v=R-1;else if(u>=g[R+1])w=R+1;else{w=R;break}}return{col:u-g[w]+1,line:w+1}}mapResolve(u){return/^\w+:\/\//.test(u)?u:c(this.map.consumer().sourceRoot||this.map.root||".",u)}origin(u,y,g,w){if(!this.map)return!1;let v=this.map.consumer(),R=v.originalPositionFor({column:y,line:u});if(!R.source)return!1;let x;typeof g=="number"&&(x=v.originalPositionFor({column:w,line:g}));let b;s(R.source)?b=o(R.source):b=new URL(R.source,this.map.consumer().sourceRoot||o(this.map.mapFile));let S={column:R.column,endColumn:x&&x.column,endLine:x&&x.line,line:R.line,url:b.toString()};if(b.protocol==="file:")if(r)S.file=r(b);else throw new Error("file: protocol is not available in this PostCSS build");let C=v.sourceContentFor(R.source);return C&&(S.source=C),S}toJSON(){let u={};for(let y of["hasBOM","css","file","id"])this[y]!=null&&(u[y]=this[y]);return this.map&&(u.map=D({},this.map),u.map.consumerCache&&(u.map.consumerCache=void 0)),u}get from(){return this.file||this.id}}return Tt=m,m.default=m,d&&d.registerInput&&d.registerInput(m),Tt}var Ft,Is;function Vi(){if(Is)return Ft;Is=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=de,{dirname:r,relative:o,resolve:s,sep:c}=de,{pathToFileURL:f}=de,d=wt(),n=!!(e&&t),p=!!(r&&s&&o&&c);class i{constructor(a,m,l,u){this.stringify=a,this.mapOpts=l.map||{},this.root=m,this.opts=l,this.css=u,this.originalCSS=u,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let a;this.isInline()?a="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?a=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?a=this.mapOpts.annotation(this.opts.to,this.root):a=this.outputFile()+".map";let m=` 20`;this.css.includes(`\r 21`)&&(m=`\r 22`),this.css+=m+"/*# sourceMappingURL="+a+" */"}applyPrevMaps(){for(let a of this.previous()){let m=this.toUrl(this.path(a.file)),l=a.root||r(a.file),u;this.mapOpts.sourcesContent===!1?(u=new e(a.text),u.sourcesContent&&(u.sourcesContent=null)):u=a.consumer(),this.map.applySourceMap(u,m,this.toUrl(this.path(l)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let a;for(let m=this.root.nodes.length-1;m>=0;m--)a=this.root.nodes[m],a.type==="comment"&&a.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(m)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),p&&n&&this.isMap())return this.generateMap();{let a="";return this.stringify(this.root,m=>{a+=m}),[a]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let a=this.previous()[0].consumer();a.file=this.outputFile(),this.map=t.fromSourceMap(a,{ignoreInvalidMapping:!0})}else this.map=new t({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 t({file:this.outputFile(),ignoreInvalidMapping:!0});let a=1,m=1,l="<no source>",u={generated:{column:0,line:0},original:{column:0,line:0},source:""},y,g;this.stringify(this.root,(w,v,R)=>{if(this.css+=w,v&&R!=="end"&&(u.generated.line=a,u.generated.column=m-1,v.source&&v.source.start?(u.source=this.sourcePath(v),u.original.line=v.source.start.line,u.original.column=v.source.start.column-1,this.map.addMapping(u)):(u.source=l,u.original.line=1,u.original.column=0,this.map.addMapping(u))),y=w.match(/\n/g),y?(a+=y.length,g=w.lastIndexOf(` 23`),m=w.length-g):m+=w.length,v&&R!=="start"){let x=v.parent||{raws:{}};(!(v.type==="decl"||v.type==="atrule"&&!v.nodes)||v!==x.last||x.raws.semicolon)&&(v.source&&v.source.end?(u.source=this.sourcePath(v),u.original.line=v.source.end.line,u.original.column=v.source.end.column-1,u.generated.line=a,u.generated.column=m-2,this.map.addMapping(u)):(u.source=l,u.original.line=1,u.original.column=0,u.generated.line=a,u.generated.column=m-1,this.map.addMapping(u)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(a=>a.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let a=this.mapOpts.annotation;return typeof a<"u"&&a!==!0?!1:this.previous().length?this.previous().some(m=>m.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(a=>a.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(a){if(this.mapOpts.absolute||a.charCodeAt(0)===60||/^\w+:\/\//.test(a))return a;let m=this.memoizedPaths.get(a);if(m)return m;let l=this.opts.to?r(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(l=r(s(l,this.mapOpts.annotation)));let u=o(l,a);return this.memoizedPaths.set(a,u),u}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(a=>{if(a.source&&a.source.input.map){let m=a.source.input.map;this.previousMaps.includes(m)||this.previousMaps.push(m)}});else{let a=new d(this.originalCSS,this.opts);a.map&&this.previousMaps.push(a.map)}return this.previousMaps}setSourcesContent(){let a={};if(this.root)this.root.walk(m=>{if(m.source){let l=m.source.input.from;if(l&&!a[l]){a[l]=!0;let u=this.usesFileUrls?this.toFileUrl(l):this.toUrl(this.path(l));this.map.setSourceContent(u,m.source.input.css)}}});else if(this.css){let m=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(m,this.css)}}sourcePath(a){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(a.source.input.from):this.toUrl(this.path(a.source.input.from))}toBase64(a){return Buffer?Buffer.from(a).toString("base64"):window.btoa(unescape(encodeURIComponent(a)))}toFileUrl(a){let m=this.memoizedFileURLs.get(a);if(m)return m;if(f){let l=f(a).toString();return this.memoizedFileURLs.set(a,l),l}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(a){let m=this.memoizedURLs.get(a);if(m)return m;c==="\\"&&(a=a.replace(/\\/g,"/"));let l=encodeURI(a).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(a,l),l}}return Ft=i,Ft}var Ut,As;function bt(){if(As)return Ut;As=1;let e=gt();class t extends e{constructor(o){super(o),this.type="comment"}}return Ut=t,t.default=t,Ut}var $t,Ns;function Me(){if(Ns)return $t;Ns=1;let{isClean:e,my:t}=Qr(),r=yt(),o=bt(),s=gt(),c,f,d,n;function p(a){return a.map(m=>(m.nodes&&(m.nodes=p(m.nodes)),delete m.source,m))}function i(a){if(a[e]=!1,a.proxyOf.nodes)for(let m of a.proxyOf.nodes)i(m)}let h=(()=>{class a extends s{append(...l){for(let u of l){let y=this.normalize(u,this.last);for(let g of y)this.proxyOf.nodes.push(g)}return this.markDirty(),this}cleanRaws(l){if(super.cleanRaws(l),this.nodes)for(let u of this.nodes)u.cleanRaws(l)}each(l){if(!this.proxyOf.nodes)return;let u=this.getIterator(),y,g;for(;this.indexes[u]<this.proxyOf.nodes.length&&(y=this.indexes[u],g=l(this.proxyOf.nodes[y],y),g!==!1);)this.indexes[u]+=1;return delete this.indexes[u],g}every(l){return this.nodes.every(l)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let l=this.lastEach;return this.indexes[l]=0,l}getProxyProcessor(){return{get(l,u){return u==="proxyOf"?l:l[u]?u==="each"||typeof u=="string"&&u.startsWith("walk")?(...y)=>l[u](...y.map(g=>typeof g=="function"?(w,v)=>g(w.toProxy(),v):g)):u==="every"||u==="some"?y=>l[u]((g,...w)=>y(g.toProxy(),...w)):u==="root"?()=>
vendor: 4,581 bytes, line 23
23l.root().toProxy():u==="nodes"?l.nodes.map(y=>y.toProxy()):u==="first"||u==="last"?l[u].toProxy():l[u]:l[u]},set(l,u,y){return l[u]===y||(l[u]=y,(u==="name"||u==="params"||u==="selector")&&l.markDirty()),!0}}}index(l){return typeof l=="number"?l:(l.proxyOf&&(l=l.proxyOf),this.proxyOf.nodes.indexOf(l))}insertAfter(l,u){let y=this.index(l),g=this.normalize(u,this.proxyOf.nodes[y]).reverse();y=this.index(l);for(let v of g)this.proxyOf.nodes.splice(y+1,0,v);let w;for(let v in this.indexes)w=this.indexes[v],y<w&&(this.indexes[v]=w+g.length);return this.markDirty(),this}insertBefore(l,u){let y=this.index(l),g=y===0?"prepend":!1,w=this.normalize(u,this.proxyOf.nodes[y],g).reverse();y=this.index(l);for(let R of w)this.proxyOf.nodes.splice(y,0,R);let v;for(let R in this.indexes)v=this.indexes[R],y<=v&&(this.indexes[R]=v+w.length);return this.markDirty(),this}normalize(l,u){if(typeof l=="string")l=p(c(l).nodes);else if(typeof l>"u")l=[];else if(Array.isArray(l)){l=l.slice(0);for(let g of l)g.parent&&g.parent.removeChild(g,"ignore")}else if(l.type==="root"&&this.type!=="document"){l=l.nodes.slice(0);for(let g of l)g.parent&&g.parent.removeChild(g,"ignore")}else if(l.type)l=[l];else if(l.prop){if(typeof l.value>"u")throw new Error("Value field is missed in node creation");typeof l.value!="string"&&(l.value=String(l.value)),l=[new r(l)]}else if(l.selector)l=[new f(l)];else if(l.name)l=[new d(l)];else if(l.text)l=[new o(l)];else throw new Error("Unknown node type in node creation");return l.map(g=>(g[t]||a.rebuild(g),g=g.proxyOf,g.parent&&g.parent.removeChild(g),g[e]&&i(g),typeof g.raws.before>"u"&&u&&typeof u.raws.before<"u"&&(g.raws.before=u.raws.before.replace(/\S/g,"")),g.parent=this.proxyOf,g))}prepend(...l){l=l.reverse();for(let u of l){let y=this.normalize(u,this.first,"prepend").reverse();for(let g of y)this.proxyOf.nodes.unshift(g);for(let g in this.indexes)this.indexes[g]=this.indexes[g]+y.length}return this.markDirty(),this}push(l){return l.parent=this,this.proxyOf.nodes.push(l),this}removeAll(){for(let l of this.proxyOf.nodes)l.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(l){l=this.index(l),this.proxyOf.nodes[l].parent=void 0,this.proxyOf.nodes.splice(l,1);let u;for(let y in this.indexes)u=this.indexes[y],u>=l&&(this.indexes[y]=u-1);return this.markDirty(),this}replaceValues(l,u,y){return y||(y=u,u={}),this.walkDecls(g=>{u.props&&!u.props.includes(g.prop)||u.fast&&!g.value.includes(u.fast)||(g.value=g.value.replace(l,y))}),this.markDirty(),this}some(l){return this.nodes.some(l)}walk(l){return this.each((u,y)=>{let g;try{g=l(u,y)}catch(w){throw u.addToError(w)}return g!==!1&&u.walk&&(g=u.walk(l)),g})}walkAtRules(l,u){return u?l instanceof RegExp?this.walk((y,g)=>{if(y.type==="atrule"&&l.test(y.name))return u(y,g)}):this.walk((y,g)=>{if(y.type==="atrule"&&y.name===l)return u(y,g)}):(u=l,this.walk((y,g)=>{if(y.type==="atrule")return u(y,g)}))}walkComments(l){return this.walk((u,y)=>{if(u.type==="comment")return l(u,y)})}walkDecls(l,u){return u?l instanceof RegExp?this.walk((y,g)=>{if(y.type==="decl"&&l.test(y.prop))return u(y,g)}):this.walk((y,g)=>{if(y.type==="decl"&&y.prop===l)return u(y,g)}):(u=l,this.walk((y,g)=>{if(y.type==="decl")return u(y,g)}))}walkRules(l,u){return u?l instanceof RegExp?this.walk((y,g)=>{if(y.type==="rule"&&l.test(y.selector))return u(y,g)}):this.walk((y,g)=>{if(y.type==="rule"&&y.selector===l)return u(y,g)}):(u=l,this.walk((y,g)=>{if(y.type==="rule")return u(y,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 a.registerParse=m=>{c=m},a.registerRule=m=>{f=m},a.registerAtRule=m=>{d=m},a.registerRoot=m=>{n=m},a})();return $t=h,h.default=h,h.rebuild=a=>{a.type==="atrule"?Object.setPrototypeOf(a,d.prototype):a.type==="rule"?Object.setPrototypeOf(a,f.prototype):a.type==="decl"?Object.setPrototypeOf(a,r.prototype):a.type==="comment"?Object.setPrototypeOf(a,o.prototype):a.type==="root"&&Object.setPrototypeOf(a,n.prototype),a[t]=!0,a.nodes&&a.nodes.forEach(m=>{h.rebuild(m)})},$t}var zt,ks;function Xr(){if(ks)return zt;ks=1;let e=Me(),t,r,o=(()=>{class s extends e{constructor(f){super(D({type:"document"},f)),this.nodes||(this.nodes=[])}toResult(f={}){return new t(new r,this,f).stringify()}}return s.registerLazyResult=c=>{t=c},s.registerProcessor=c=>{r=c},s})();return zt=o,o.default=o,zt}var Bt,Ps;function Hi(){if(Ps)return Bt;Ps=1;let e={};return Bt=function(r){e[r]||(e[r]=!0,typeof console<"u"&&console.warn&&console.warn(r))},Bt}var Wt,_s;
vendor: 15,011 bytes, lines 23-24
23function Gi(){if(_s)return Wt;_s=1;class e{constructor(r,o={}){if(this.type="warning",this.text=r,o.node&&o.node.source){let s=o.node.rangeBy(o);this.line=s.start.line,this.column=s.start.column,this.endLine=s.end.line,this.endColumn=s.end.column}for(let s in o)this[s]=o[s]}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 Wt=e,e.default=e,Wt}var qt,Ds;function Kr(){if(Ds)return qt;Ds=1;let e=Gi();class t{constructor(o,s,c){this.processor=o,this.messages=[],this.root=s,this.opts=c,this.css=void 0,this.map=void 0}toString(){return this.css}warn(o,s={}){s.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(s.plugin=this.lastPlugin.postcssPlugin);let c=new e(o,s);return this.messages.push(c),c}warnings(){return this.messages.filter(o=>o.type==="warning")}get content(){return this.css}}return qt=t,t.default=t,qt}var jt,Ls;function Oo(){if(Ls)return jt;Ls=1;let e=39,t=34,r=92,o=47,s=10,c=32,f=12,d=9,n=13,p=91,i=93,h=40,a=41,m=123,l=125,u=59,y=42,g=58,w=64,v=/[\t\n\f\r "#'()/;[\\\]{}]/g,R=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,x=/.[\r\n"'(/\\]/,b=/[\da-f]/i;return jt=function(C,E={}){let O=C.css.valueOf(),k=E.ignoreErrors,N,M,oe,Z,te,j,Q,P,B,F,z=O.length,I=0,se=[],ee=[];function Se(){return I}function ge(X){throw C.error("Unclosed "+X,I)}function Ae(){return ee.length===0&&I>=z}function $e(X){if(ee.length)return ee.pop();if(I>=z)return;let he=X?X.ignoreUnclosed:!1;switch(N=O.charCodeAt(I),N){case s:case c:case d:case n:case f:{M=I;do M+=1,N=O.charCodeAt(M);while(N===c||N===s||N===d||N===n||N===f);F=["space",O.slice(I,M)],I=M-1;break}case p:case i:case m:case l:case g:case u:case a:{let ye=String.fromCharCode(N);F=[ye,ye,I];break}case h:{if(P=se.length?se.pop()[1]:"",B=O.charCodeAt(I+1),P==="url"&&B!==e&&B!==t&&B!==c&&B!==s&&B!==d&&B!==f&&B!==n){M=I;do{if(j=!1,M=O.indexOf(")",M+1),M===-1)if(k||he){M=I;break}else ge("bracket");for(Q=M;O.charCodeAt(Q-1)===r;)Q-=1,j=!j}while(j);F=["brackets",O.slice(I,M+1),I,M],I=M}else M=O.indexOf(")",I+1),Z=O.slice(I,M+1),M===-1||x.test(Z)?F=["(","(",I]:(F=["brackets",Z,I,M],I=M);break}case e:case t:{oe=N===e?"'":'"',M=I;do{if(j=!1,M=O.indexOf(oe,M+1),M===-1)if(k||he){M=I+1;break}else ge("string");for(Q=M;O.charCodeAt(Q-1)===r;)Q-=1,j=!j}while(j);F=["string",O.slice(I,M+1),I,M],I=M;break}case w:{v.lastIndex=I+1,v.test(O),v.lastIndex===0?M=O.length-1:M=v.lastIndex-2,F=["at-word",O.slice(I,M+1),I,M],I=M;break}case r:{for(M=I,te=!0;O.charCodeAt(M+1)===r;)M+=1,te=!te;if(N=O.charCodeAt(M+1),te&&N!==o&&N!==c&&N!==s&&N!==d&&N!==n&&N!==f&&(M+=1,b.test(O.charAt(M)))){for(;b.test(O.charAt(M+1));)M+=1;O.charCodeAt(M+1)===c&&(M+=1)}F=["word",O.slice(I,M+1),I,M],I=M;break}default:{N===o&&O.charCodeAt(I+1)===y?(M=O.indexOf("*/",I+2)+1,M===0&&(k||he?M=O.length:ge("comment")),F=["comment",O.slice(I,M+1),I,M],I=M):(R.lastIndex=I+1,R.test(O),R.lastIndex===0?M=O.length-1:M=R.lastIndex-2,F=["word",O.slice(I,M+1),I,M],se.push(F),I=M);break}}return I++,F}function le(X){ee.push(X)}return{back:le,endOfFile:Ae,nextToken:$e,position:Se}},jt}var Vt,Ts;function Zr(){if(Ts)return Vt;Ts=1;let e=Me();class t extends e{constructor(o){super(o),this.type="atrule"}append(...o){return this.proxyOf.nodes||(this.nodes=[]),super.append(...o)}prepend(...o){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...o)}}return Vt=t,t.default=t,e.registerAtRule(t),Vt}var Ht,Fs;function He(){if(Fs)return Ht;Fs=1;let e=Me(),t,r,o=(()=>{class s extends e{constructor(f){super(f),this.type="root",this.nodes||(this.nodes=[])}normalize(f,d,n){let p=super.normalize(f);if(d){if(n==="prepend")this.nodes.length>1?d.raws.before=this.nodes[1].raws.before:delete d.raws.before;else if(this.first!==d)for(let i of p)i.raws.before=d.raws.before}return p}removeChild(f,d){let n=this.index(f);return!d&&n===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(f)}toResult(f={}){return new t(new r,this,f).stringify()}}return s.registerLazyResult=c=>{t=c},s.registerProcessor=c=>{r=c},s})();return Ht=o,o.default=o,e.registerRoot(o),Ht}var Gt,Us;function Ji(){if(Us)return Gt;Us=1;let e={comma(t){return e.split(t,[","],!0)},space(t){let r=[" ",` 24`," "];return e.split(t,r)},split(t,r,o){let s=[],c="",f=!1,d=0,n=!1,p="",i=!1;for(let h of t)i?i=!1:h==="\\"?i=!0:n?h===p&&(n=!1):h==='"'||h==="'"?(n=!0,p=h):h==="("?d+=1:h===")"?d>0&&(d-=1):d===0&&r.includes(h)&&(f=!0),f?(c!==""&&s.push(c.trim()),c="",f=!1):c+=h;return(o||c!=="")&&s.push(c.trim()),s}};return Gt=e,e.default=e,Gt}var Jt,$s;function es(){if($s)return Jt;$s=1;let e=Me(),t=Ji();class r extends e{constructor(s){super(s),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return t.comma(this.selector)}set selectors(s){let c=this.selector?this.selector.match(/,\s*/):null,f=c?c[0]:","+this.raw("between","beforeOpen");this.selector=s.join(f)}}return Jt=r,r.default=r,e.registerRule(r),Jt}var Yt,zs;function Mo(){if(zs)return Yt;zs=1;let e=yt(),t=Oo(),r=bt(),o=Zr(),s=He(),c=es(),f={empty:!0,space:!0};function d(p){for(let i=p.length-1;i>=0;i--){let h=p[i],a=h[3]||h[2];if(a)return a}}class n{constructor(i){this.input=i,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:i,start:{column:1,line:1,offset:0}}}atrule(i){let h=new o;h.name=i[1].slice(1),h.name===""&&this.unnamedAtrule(h,i),this.init(h,i[2]);let a,m,l,u=!1,y=!1,g=[],w=[];for(;!this.tokenizer.endOfFile();){if(i=this.tokenizer.nextToken(),a=i[0],a==="("||a==="["?w.push(a==="("?")":"]"):a==="{"&&w.length>0?w.push("}"):a===w[w.length-1]&&w.pop(),w.length===0)if(a===";"){h.source.end=this.getPosition(i[2]),h.source.end.offset++,this.semicolon=!0;break}else if(a==="{"){y=!0;break}else if(a==="}"){if(g.length>0){for(l=g.length-1,m=g[l];m&&m[0]==="space";)m=g[--l];m&&(h.source.end=this.getPosition(m[3]||m[2]),h.source.end.offset++)}this.end(i);break}else g.push(i);else g.push(i);if(this.tokenizer.endOfFile()){u=!0;break}}h.raws.between=this.spacesAndCommentsFromEnd(g),g.length?(h.raws.afterName=this.spacesAndCommentsFromStart(g),this.raw(h,"params",g),u&&(i=g[g.length-1],h.source.end=this.getPosition(i[3]||i[2]),h.source.end.offset++,this.spaces=h.raws.between,h.raws.between="")):(h.raws.afterName="",h.params=""),y&&(h.nodes=[],this.current=h)}checkMissedSemicolon(i){let h=this.colon(i);if(h===!1)return;let a=0,m;for(let l=h-1;l>=0&&(m=i[l],!(m[0]!=="space"&&(a+=1,a===2)));l--);throw this.input.error("Missed semicolon",m[0]==="word"?m[3]+1:m[2])}colon(i){let h=0,a,m,l;for(let[u,y]of i.entries()){if(a=y,m=a[0],m==="("&&(h+=1),m===")"&&(h-=1),h===0&&m===":")if(!l)this.doubleColon(a);else{if(l[0]==="word"&&l[1]==="progid")continue;return u}l=a}return!1}comment(i){let h=new r;this.init(h,i[2]),h.source.end=this.getPosition(i[3]||i[2]),h.source.end.offset++;let a=i[1].slice(2,-2);if(/^\s*$/.test(a))h.text="",h.raws.left=a,h.raws.right="";else{let m=a.match(/^(\s*)([^]*\S)(\s*)$/);h.text=m[2],h.raws.left=m[1],h.raws.right=m[3]}}createTokenizer(){this.tokenizer=t(this.input)}decl(i,h){let a=new e;this.init(a,i[0][2]);let m=i[i.length-1];for(m[0]===";"&&(this.semicolon=!0,i.pop()),a.source.end=this.getPosition(m[3]||m[2]||d(i)),a.source.end.offset++;i[0][0]!=="word";)i.length===1&&this.unknownWord(i),a.raws.before+=i.shift()[1];for(a.source.start=this.getPosition(i[0][2]),a.prop="";i.length;){let w=i[0][0];if(w===":"||w==="space"||w==="comment")break;a.prop+=i.shift()[1]}a.raws.between="";let l;for(;i.length;)if(l=i.shift(),l[0]===":"){a.raws.between+=l[1];break}else l[0]==="word"&&/\w/.test(l[1])&&this.unknownWord([l]),a.raws.between+=l[1];(a.prop[0]==="_"||a.prop[0]==="*")&&(a.raws.before+=a.prop[0],a.prop=a.prop.slice(1));let u=[],y;for(;i.length&&(y=i[0][0],!(y!=="space"&&y!=="comment"));)u.push(i.shift());this.precheckMissedSemicolon(i);for(let w=i.length-1;w>=0;w--){if(l=i[w],l[1].toLowerCase()==="!important"){a.important=!0;let v=this.stringFrom(i,w);v=this.spacesFromEnd(i)+v,v!==" !important"&&(a.raws.important=v);break}else if(l[1].toLowerCase()==="important"){let v=i.slice(0),R="";for(let x=w;x>0;x--){let b=v[x][0];if(R.trim().indexOf("!")===0&&b!=="space")break;R=v.pop()[1]+R}R.trim().indexOf("!")===0&&(a.important=!0,a.raws.important=R,i=v)}if(l[0]!=="space"&&l[0]!=="comment")break}i.some(w=>w[0]!=="space"&&w[0]!=="comment")&&(a.raws.between+=u.map(w=>w[1]).join(""),u=[]),this.raw(a,"value",u.concat(i),h),a.value.includes(":")&&!h&&this.checkMissedSemicolon(i)}doubleColon(i){throw this.input.error("Double colon",{offset:i[2]},{offset:i[2]+i[1].length})}emptyRule(i){let h=new c;this.init(h,i[2]),h.selector="",h.raws.between="",this.current=h}end(i){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(i[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(i)}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(i){if(this.spaces+=i[1],this.current.nodes){let h=this.current.nodes[this.current.nodes.length-1];h&&h.type==="rule"&&!h.raws.ownSemicolon&&(h.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(i){let h=this.input.fromOffset(i);return{column:h.col,line:h.line,offset:i}}init(i,h){this.current.push(i),i.source={input:this.input,start:this.getPosition(h)},i.raws.before=this.spaces,this.spaces="",i.type!=="comment"&&(this.semicolon=!1)}other(i){let h=!1,a=null,m=!1,l=null,u=[],y=i[1].startsWith("--"),g=[],w=i;for(;w;){if(a=w[0],g.push(w),a==="("||a==="[")l||(l=w),u.push(a==="("?")":"]");else if(y&&m&&a==="{")l||(l=w),u.push("}");else if(u.length===0)if(a===";")if(m){this.decl(g,y);return}else break;else if(a==="{"){this.rule(g);return}else if(a==="}"){this.tokenizer.back(g.pop()),h=!0;break}else a===":"&&(m=!0);else a===u[u.length-1]&&(u.pop(),u.length===0&&(l=null));w=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(h=!0),u.length>0&&this.unclosedBracket(l),h&&m){if(!y)for(;g.length&&(w=g[g.length-1][0],!(w!=="space"&&w!=="comment"));)this.tokenizer.back(g.pop());this.decl(g,y)}else this.unknownWord(g)}parse(){let i;for(;!this.tokenizer.endOfFile();)switch(i=this.tokenizer.nextToken(),i[0]){case"space":this.spaces+=i[1];break;case";":this.freeSemicolon(i);break;case"}":this.end(i);break;case"comment":this.comment(i);break;case"at-word":this.atrule(i);break;case"{":this.emptyRule(i);break;default:this.other(i);break}this.endFile()}precheckMissedSemicolon(){}raw(i,h,a,m){let l,u,y=a.length,g="",w=!0,v,R;for(let x=0;x<y;x+=1)l=a[x],u=l[0],u==="space"&&x===y-1&&!m?w=!1:u==="comment"?(R=a[x-1]?a[x-1][0]:"empty",v=a[x+1]?a[x+1][0]:"empty",!f[R]&&!f[v]?g.slice(-1)===","?w=!1:g+=l[1]:w=!1):g+=l[1];if(!w){let x=a.reduce((b,S)=>b+S[1],"");i.raws[h]={raw:x,value:g}}i[h]=g}rule(i){i.pop();let h=new c;this.init(h,i[0][2]),h.raws.between=this.spacesAndCommentsFromEnd(i),this.raw(h,"selector",i),this.current=h}spacesAndCommentsFromEnd(i){let h,a="";for(;i.length&&(h=i[i.length-1][0],!(h!=="space"&&h!=="comment"));)a=i.pop()[1]+a;return a}spacesAndCommentsFromStart(i){let h,a="";for(;i.length&&(h=i[0][0],!(h!=="space"&&h!=="comment"));)a+=i.shift()[1];return a}spacesFromEnd(i){let h,a="";for(;i.length&&(h=i[i.length-1][0],h==="space");)a=i.pop()[1]+a;return a}stringFrom(i,h){let a="";for(let m=h;m<i.length;m++)a+=i[m][1];return i.splice(h,i.length-h),a}unclosedBlock(){let i=this.current.source.start;throw this.input.error("Unclosed block",i.line,i.column)}unclosedBracket(i){throw this.input.error("Unclosed bracket",{offset:i[2]},{offset:i[2]+1})}unexpectedClose(i){throw this.input.error("Unexpected }",{offset:i[2]},{offset:i[2]+1})}unknownWord(i){throw this.input.error("Unknown word",{offset:i[0][2]},{offset:i[0][2]+i[0][1].length})}unnamedAtrule(i,h){throw this.input.error("At-rule without name",{offset:h[2]},{offset:h[2]+h[1].length})}}return Yt=n,Yt}var Qt,Bs;function ts(){if(Bs)return Qt;Bs=1;let e=Me(),t=Mo(),r=wt();function o(s,c){let f=new r(s,c),d=new t(f);try{d.parse()}catch(n){throw n}return d.root}return Qt=o,o.default=o,e.registerParse(o),Qt}var Xt,Ws;function Yi(){if(Ws)return Xt;Ws=1;let{isClean:e,my:t}=Qr(),r=Vi(),o=mt(),s=Me(),c=Xr(),f=Hi(),d=Kr(),n=ts(),p=He(),i={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},h={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},a={Once:!0,postcssPlugin:!0,prepare:!0},m=0;function l(R){return typeof R=="object"&&typeof R.then=="function"}function u(R){let x=!1,b=i[R.type];return R.type==="decl"?x=R.prop.toLowerCase():R.type==="atrule"&&(x=R.name.toLowerCase()),x&&R.append?[b,b+"-"+x,m,b+"Exit",b+"Exit-"+x]:x?[b,b+"-"+x,b+"Exit",b+"Exit-"+x]:R.append?[b,m,b+"Exit"]:[b,b+"Exit"]}function y(R){let x;return R.type==="document"?x=["Document",m,"DocumentExit"]:R.type==="root"?x=["Root",m,"RootExit"]:x=u(R),{eventIndex:0,events:x,iterator:0,node:R,visitorIndex:0,visitors:[]}}function g(R){return R[e]=!1,R.nodes&&R.nodes.forEach(x=>g(x)),R}let w={},v=(()=>{class R{constructor(b,S,C){this.stringified=!1,this.processed=!1;let E;if(typeof S=="object"&&S!==null&&(S.type==="root"||S.type==="document"))E=g(S);else if(S instanceof R||S instanceof d)E=g(S.root),S.map&&(typeof C.map>"u"&&(C.map={}),C.map.inline||(C.map.inline=!1),C.map.prev=S.map);else{let O=n;C.syntax&&(O=C.syntax.parse),C.parser&&(O=C.parser),O.parse&&(O=O.parse);try{E=O(S,C)}catch(k){this.processed=!0,this.error=k}E&&!E[t]&&s.rebuild(E)}this.result=new d(b,E,C),this.helpers=ue(D({},w),{postcss:w,result:this.result}),this.plugins=this.processor.plugins.map(O=>typeof O=="object"&&O.prepare?D(D({},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(b){return this.async().catch(b)}finally(b){return this.async().then(b,b)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(b,S){let C=this.result.lastPlugin;try{S&&S.addToError(b),this.error=b,b.name==="CssSyntaxError"&&!b.plugin?(b.plugin=C.postcssPlugin,b.setMessage()):C.postcssVersion}catch(E){console&&console.error&&console.error(E)}return b}prepareVisitors(){this.listeners={};let b=(S,C,E)=>{this.listeners[C]||(this.listeners[C]=[]),this.listeners[C].push([S,E])};for(let S of this.plugins)if(typeof S=="object")for(let C in S){if(!h[C]&&/^[A-Z]/.test(C))throw new Error(`Unknown event ${C} in ${S.postcssPlugin}
24. Try to update PostCSS (${this.processor.version} now).`);if(!a[C])if(typeof S[C]=="object")for(let E in S[C])E==="*"?b(S,C,S[C][E]):b(S,C+"-"+E.toLowerCase(),S[C][E]);else typeof S[C]=="function"&&b(S,C,S[C])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let b=0;b<this.plugins.length;b++){let S=this.plugins[b],C=this.runOnRoot(S);if(l(C))try{await C}catch(E){throw this.handleError(E)}}if(this.prepareVisitors(),this.hasListener){let b=this.result.root;for(;!b[e];){b[e]=!0;let S=[y(b)];for(;S.length>0;){let C=this.visitTick(S);if(l(C))try{await C}catch(E){let O=S[S.length-1].node;throw this.handleError(E,O)}}}if(this.listeners.OnceExit)for(let[S,C]of this.listeners.OnceExit){this.result.lastPlugin=S;try{if(b.type==="document"){let E=b.nodes.map(O=>C(O,this.helpers));await Promise.all(E)}else await C(b,this.helpers)}catch(E){throw this.handleError(E)}}}return this.processed=!0,this.stringify()}runOnRoot(b){this.result.lastPlugin=b;try{if(typeof b=="object"&&b.Once){if(this.result.root.type==="document"){let S=this.result.root.nodes.map(C=>b.Once(C,this.helpers));return l(S[0])?Promise.all(S):S}return b.Once(this.result.root,this.helpers)}else if(typeof b=="function")return b(this.result.root,this.result)}catch(S){throw this.handleError(S)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let b=this.result.opts,S=o;b.syntax&&(S=b.syntax.stringify),b.stringifier&&(S=b.stringifier),S.stringify&&(S=S.stringify);let E=new r(S,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 b of this.plugins){let S=this.runOnRoot(b);if(l(S))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let b=this.result.root;for(;!b[e];)b[e]=!0,this.walkSync(b);if(this.listeners.OnceExit)if(b.type==="document")for(let S of b.nodes)this.visitSync(this.listeners.OnceExit,S);else this.visitSync(this.listeners.OnceExit,b)}return this.result}then(b,S){return this.async().then(b,S)}toString(){return this.css}visitSync(b,S){for(let[C,E]of b){this.result.lastPlugin=C;let O;try{O=E(S,this.helpers)}catch(k){throw this.handleError(k,S.proxyOf)}if(S.type!=="root"&&S.type!=="document"&&!S.parent)return!0;if(l(O))throw this.getAsyncError()}}visitTick(b){let S=b[b.length-1],{node:C,visitors:E}=S;if(C.type!=="root"&&C.type!=="document"&&!C.parent){b.pop();return}if(E.length>0&&S.visitorIndex<E.length){let[k,N]=E[S.visitorIndex];S.visitorIndex+=1,S.visitorIndex===E.length&&(S.visitors=[],S.visitorIndex=0),this.result.lastPlugin=k;try{return N(C.toProxy(),this.helpers)}catch(M){throw this.handleError(M,C)}}if(S.iterator!==0){let k=S.iterator,N;for(;N=C.nodes[C.indexes[k]];)if(C.indexes[k]+=1,!N[e]){N[e]=!0,b.push(y(N));return}S.iterator=0,delete C.indexes[k]}let O=S.events;for(;S.eventIndex<O.length;){let k=O[S.eventIndex];if(S.eventIndex+=1,k===m){C.nodes&&C.nodes.length&&(C[e]=!0,S.iterator=C.getIterator());return}else if(this.listeners[k]){S.visitors=this.listeners[k];return}}b.pop()}walkSync(b){b[e]=!0;let S=u(b);for(let C of S)if(C===m)b.nodes&&b.each(E=>{E[e]||this.walkSync(E)});else{let E=this.listeners[C];if(E&&this.visitSync(E,b.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}return R.registerPostcss=x=>{w=x},R})();return Xt=v,v.default=v,p.registerLazyResult(v),c.registerLazyResult(v),Xt}var Kt,qs;function Eo(){if(qs)return Kt;qs=1;let e=Vi(),t=mt(),r=Hi(),o=ts(),s=Kr();class c{constructor(d,n,p){n=n.toString(),this.stringified=!1,this._processor=d,this._css=n,this._opts=p,this._map=void 0;let i,h=t;this.result=new s(this._processor,i,this._opts),this.result.css=n;let a=this;Object.defineProperty(this.result,"root",{get(){return a.root}});let m=new e(h,i,this._opts,n);if(m.isMap()){let[l,u]=m.generate();l&&(this.result.css=l),u&&(this.result.map=u)}else m.clearAnnotation(),this.result.css=m.css}
vendor: 4,268 bytes, lines 24-26
24async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(d){return this.async().catch(d)}finally(d){return this.async().then(d,d)}sync(){if(this.error)throw this.error;return this.result}then(d,n){return this.async().then(d,n)}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 d,n=o;try{d=n(this._css,this._opts)}catch(p){this.error=p}if(this.error)throw this.error;return this._root=d,d}get[Symbol.toStringTag](){return"NoWorkResult"}}return Kt=c,c.default=c,Kt}var Zt,js;function Io(){if(js)return Zt;js=1;let e=Eo(),t=Yi(),r=Xr(),o=He();class s{constructor(f=[]){this.version="8.4.38",this.plugins=this.normalize(f)}normalize(f){let d=[];for(let n of f)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n=="object"&&Array.isArray(n.plugins))d=d.concat(n.plugins);else if(typeof n=="object"&&n.postcssPlugin)d.push(n);else if(typeof n=="function")d.push(n);else if(!(typeof n=="object"&&(n.parse||n.stringify)))throw new Error(n+" is not a PostCSS plugin");return d}process(f,d={}){return!this.plugins.length&&!d.parser&&!d.stringifier&&!d.syntax?new e(this,f,d):new t(this,f,d)}use(f){return this.plugins=this.plugins.concat(this.normalize([f])),this}}return Zt=s,s.default=s,o.registerProcessor(s),r.registerProcessor(s),Zt}var er,Vs;function Ao(){if(Vs)return er;Vs=1;let e=yt(),t=ji(),r=bt(),o=Zr(),s=wt(),c=He(),f=es();function d(n,p){if(Array.isArray(n))return n.map(l=>d(l));let a=n,{inputs:i}=a,h=Ne(a,["inputs"]);if(i){p=[];for(let l of i){let u=ue(D({},l),{__proto__:s.prototype});u.map&&(u.map=ue(D({},u.map),{__proto__:t.prototype})),p.push(u)}}if(h.nodes&&(h.nodes=n.nodes.map(l=>d(l,p))),h.source){let m=h.source,{inputId:l}=m,u=Ne(m,["inputId"]);h.source=u,l!=null&&(h.source.input=p[l])}if(h.type==="root")return new c(h);if(h.type==="decl")return new e(h);if(h.type==="rule")return new f(h);if(h.type==="comment")return new r(h);if(h.type==="atrule")return new o(h);throw new Error("Unknown node type: "+n.type)}return er=d,d.default=d,er}var tr,Hs;function No(){if(Hs)return tr;Hs=1;let e=Yr(),t=yt(),r=Yi(),o=Me(),s=Io(),c=mt(),f=Ao(),d=Xr(),n=Gi(),p=bt(),i=Zr(),h=Kr(),a=wt(),m=ts(),l=Ji(),u=es(),y=He(),g=gt();function w(...v){return v.length===1&&Array.isArray(v[0])&&(v=v[0]),new s(v)}return w.plugin=function(R,x){let b=!1;function S(...E){console&&console.warn&&!b&&(b=!0,console.warn(R+`: postcss.plugin was deprecated. Migration guide: 25https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(R+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357: 26https://www.w3ctech.com/topic/2226`));let O=x(...E);return O.postcssPlugin=R,O.postcssVersion=new s().version,O}let C;return Object.defineProperty(S,"postcss",{get(){return C||(C=S()),C}}),S.process=function(E,O,k){return w([S(k)]).process(E,O)},S},w.stringify=c,w.parse=m,w.fromJSON=f,w.list=l,w.comment=v=>new p(v),w.atRule=v=>new i(v),w.decl=v=>new t(v),w.rule=v=>new u(v),w.root=v=>new y(v),w.document=v=>new d(v),w.CssSyntaxError=e,w.Declaration=t,w.Container=o,w.Processor=s,w.Document=d,w.Comment=p,w.Warning=n,w.AtRule=i,w.Result=h,w.Input=a,w.Rule=u,w.Root=y,w.Node=g,r.registerPostcss(w),tr=w,w.default=w,tr}var ko=No(),H=bo(ko);H.stringify;H.fromJSON;H.plugin;H.parse;H.list;H.document;H.comment;H.atRule;H.rule;H.decl;H.root;H.CssSyntaxError;H.Declaration;H.Container;H.Processor;H.Document;H.Comment;H.Warning;H.AtRule;H.Result;H.Input;H.Rule;H.Root;H.Node;var Po=Object.defineProperty,_o=(e,t,r)=>t in e?Po(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ce=(e,t,r)=>_o(e,typeof t!="symbol"?t+"":t,r);function Do(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Lo(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};
vendor: 2,426 bytes, lines 26-36
26return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var s=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,s.get?s:{enumerable:!0,get:function(){return e[o]}})}),r}var Ze={exports:{}},Gs;function To(){if(Gs)return Ze.exports;Gs=1;var e=String,t=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}};return Ze.exports=t(),Ze.exports.createColors=t,Ze.exports}var Fo={},Uo=Object.freeze(Object.defineProperty({__proto__:null,default:Fo},Symbol.toStringTag,{value:"Module"})),me=Lo(Uo),rr,Js;function rs(){if(Js)return rr;Js=1;let e=To(),t=me;class r extends Error{constructor(s,c,f,d,n,p){super(s),this.name="CssSyntaxError",this.reason=s,n&&(this.file=n),d&&(this.source=d),p&&(this.plugin=p),typeof c<"u"&&typeof f<"u"&&(typeof c=="number"?(this.line=c,this.column=f):(this.line=c.line,this.column=c.column,this.endLine=f.line,this.endColumn=f.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,r)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(s){if(!this.source)return"";let c=this.source;s==null&&(s=e.isColorSupported),t&&s&&(c=t(c));let f=c.split(/\r?\n/),d=Math.max(this.line-3,0),n=Math.min(this.line+2,f.length),p=String(n).length,i,h;if(s){let{bold:a,gray:m,red:l}=e.createColors(!0);i=u=>a(l(u)),h=u=>m(u)}else i=h=a=>a;return f.slice(d,n).map((a,m)=>{let l=d+1+m,u=" "+(" "+l).slice(-p)+" | ";if(l===this.line){let y=h(u.replace(/\d/g," "))+a.slice(0,this.column-1).replace(/[^\t]/g," ");return i(">")+h(u)+a+` 27 `+y+i("^")}return" "+h(u)+a}).join(` 28`)}toString(){let s=this.showSourceCode();return s&&(s=` 29 30`+s+` 31`),this.name+": "+this.message+s}}return rr=r,r.default=r,rr}var et={},Ys;function ss(){return Ys||(Ys=1,et.isClean=Symbol("isClean"),et.my=Symbol("my")),et}var sr,Qs;function Qi(){if(Qs)return sr;Qs=1;let e={after:` 32`,beforeClose:` 33`,beforeComment:` 34`,beforeDecl:` 35`,beforeOpen:" ",beforeRule:` 36`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function t(o){return o[0].toUpperCase()+o.slice(1)}
vendor: 5,667 bytes, lines 36-42
36class r{constructor(s){this.builder=s}atrule(s,c){let f="@"+s.name,d=s.params?this.rawValue(s,"params"):"";if(typeof s.raws.afterName<"u"?f+=s.raws.afterName:d&&(f+=" "),s.nodes)this.block(s,f+d);else{let n=(s.raws.between||"")+(c?";":"");this.builder(f+d+n,s)}}beforeAfter(s,c){let f;s.type==="decl"?f=this.raw(s,null,"beforeDecl"):s.type==="comment"?f=this.raw(s,null,"beforeComment"):c==="before"?f=this.raw(s,null,"beforeRule"):f=this.raw(s,null,"beforeClose");let d=s.parent,n=0;for(;d&&d.type!=="root";)n+=1,d=d.parent;if(f.includes(` 37`)){let p=this.raw(s,null,"indent");if(p.length)for(let i=0;i<n;i++)f+=p}return f}block(s,c){let f=this.raw(s,"between","beforeOpen");this.builder(c+f+"{",s,"start");let d;s.nodes&&s.nodes.length?(this.body(s),d=this.raw(s,"after")):d=this.raw(s,"after","emptyBody"),d&&this.builder(d),this.builder("}",s,"end")}body(s){let c=s.nodes.length-1;for(;c>0&&s.nodes[c].type==="comment";)c-=1;let f=this.raw(s,"semicolon");for(let d=0;d<s.nodes.length;d++){let n=s.nodes[d],p=this.raw(n,"before");p&&this.builder(p),this.stringify(n,c!==d||f)}}comment(s){let c=this.raw(s,"left","commentLeft"),f=this.raw(s,"right","commentRight");this.builder("/*"+c+s.text+f+"*/",s)}decl(s,c){let f=this.raw(s,"between","colon"),d=s.prop+f+this.rawValue(s,"value");s.important&&(d+=s.raws.important||" !important"),c&&(d+=";"),this.builder(d,s)}document(s){this.body(s)}raw(s,c,f){let d;if(f||(f=c),c&&(d=s.raws[c],typeof d<"u"))return d;let n=s.parent;if(f==="before"&&(!n||n.type==="root"&&n.first===s||n&&n.type==="document"))return"";if(!n)return e[f];let p=s.root();if(p.rawCache||(p.rawCache={}),typeof p.rawCache[f]<"u")return p.rawCache[f];if(f==="before"||f==="after")return this.beforeAfter(s,f);{let i="raw"+t(f);this[i]?d=this[i](p,s):p.walk(h=>{if(d=h.raws[c],typeof d<"u")return!1})}return typeof d>"u"&&(d=e[f]),p.rawCache[f]=d,d}rawBeforeClose(s){let c;return s.walk(f=>{if(f.nodes&&f.nodes.length>0&&typeof f.raws.after<"u")return c=f.raws.after,c.includes(` 38`)&&(c=c.replace(/[^\n]+$/,"")),!1}),c&&(c=c.replace(/\S/g,"")),c}rawBeforeComment(s,c){let f;return s.walkComments(d=>{if(typeof d.raws.before<"u")return f=d.raws.before,f.includes(` 39`)&&(f=f.replace(/[^\n]+$/,"")),!1}),typeof f>"u"?f=this.raw(c,null,"beforeDecl"):f&&(f=f.replace(/\S/g,"")),f}rawBeforeDecl(s,c){let f;return s.walkDecls(d=>{if(typeof d.raws.before<"u")return f=d.raws.before,f.includes(` 40`)&&(f=f.replace(/[^\n]+$/,"")),!1}),typeof f>"u"?f=this.raw(c,null,"beforeRule"):f&&(f=f.replace(/\S/g,"")),f}rawBeforeOpen(s){let c;return s.walk(f=>{if(f.type!=="decl"&&(c=f.raws.between,typeof c<"u"))return!1}),c}rawBeforeRule(s){let c;return s.walk(f=>{if(f.nodes&&(f.parent!==s||s.first!==f)&&typeof f.raws.before<"u")return c=f.raws.before,c.includes(` 41`)&&(c=c.replace(/[^\n]+$/,"")),!1}),c&&(c=c.replace(/\S/g,"")),c}rawColon(s){let c;return s.walkDecls(f=>{if(typeof f.raws.between<"u")return c=f.raws.between.replace(/[^\s:]/g,""),!1}),c}rawEmptyBody(s){let c;return s.walk(f=>{if(f.nodes&&f.nodes.length===0&&(c=f.raws.after,typeof c<"u"))return!1}),c}rawIndent(s){if(s.raws.indent)return s.raws.indent;let c;return s.walk(f=>{let d=f.parent;if(d&&d!==s&&d.parent&&d.parent===s&&typeof f.raws.before<"u"){let n=f.raws.before.split(` 42`);return c=n[n.length-1],c=c.replace(/\S/g,""),!1}}),c}rawSemicolon(s){let c;return s.walk(f=>{if(f.nodes&&f.nodes.length&&f.last.type==="decl"&&(c=f.raws.semicolon,typeof c<"u"))return!1}),c}rawValue(s,c){let f=s[c],d=s.raws[c];return d&&d.value===f?d.raw:f}root(s){this.body(s),s.raws.after&&this.builder(s.raws.after)}rule(s){this.block(s,this.rawValue(s,"selector")),s.raws.ownSemicolon&&this.builder(s.raws.ownSemicolon,s,"end")}stringify(s,c){if(!this[s.type])throw new Error("Unknown AST node type "+s.type+". Maybe you need to change PostCSS stringifier.");this[s.type](s,c)}}return sr=r,r.default=r,sr}var ir,Xs;function St(){if(Xs)return ir;Xs=1;let e=Qi();function t(r,o){new e(o).stringify(r)}return ir=t,t.default=t,ir}var nr,Ks;function vt(){if(Ks)return nr;Ks=1;let{isClean:e,my:t}=ss(),r=rs(),o=Qi(),s=St();function c(d,n){let p=new d.constructor;for(let i in d){if(!Object.prototype.hasOwnProperty.call(d,i)||i==="proxyCache")continue;let h=d[i],a=typeof h;i==="parent"&&a==="object"?n&&(p[i]=n):i==="source"?p[i]=h:Array.isArray(h)?p[i]=h.map(m=>c(m,p)):(a==="object"&&h!==null&&(h=c(h)),p[i]=h)}return p}class f{constructor(n={}){this.raws={},this[e]=!1,this[t]=!0;for(let p in n)if(p==="nodes"){this.nodes=[];for(let i of n[p])typeof i.clone=="function"?this.append(i.clone()):this.append(i)}else this[p]=n[p]}addToError(n){if(n.postcssNode=this,n.stack&&this.source&&/\n\s{4}at /.test(n.stack)){let p=this.source;n.stack=n.stack.replace(/\n\s{4}at /,`$&${p.input.from}:${p.start.line}:${p.start.column}$&`)}return n}after(n){return this.parent.insertAfter(this,n),this}assign(n={}){for(let p in n)this[p]=n[p];return this}before(n){return this.parent.insertBefore(this,n),this}cleanRaws(n){delete this.raws.before,delete this.raws.after,n||delete this.raws.between}clone(n={}){let p=c(this);for(let i in n)p[i]=n[i];return p}cloneAfter(n={}){let p=this.clone(n);return this.parent.insertAfter(this,p),p}cloneBefore(n={}){let p=this.clone(n);return this.parent.insertBefore(this,p),p}error(n,p={}){if(this.source){let{end:i,start:h}=this.rangeBy(p);return this.source.input.error(n,{column:h.column,line:h.line},{column:i.column,line:i.line},p)}return new r(n)}getProxyProcessor(){return{get(n,p){return p==="proxyOf"?n:p==="root"?()=>n.root().toProxy():n[p]},set(n,p,i){return n[p]===i||(n[p]=i,(p==="prop"||p==="value"||p==="name"||p==="params"||p==="important"||p==="text")&&n.markDirty()),!0}}}
vendor: 15,168 bytes, lines 42-48
42markDirty(){if(this[e]){this[e]=!1;let n=this;for(;n=n.parent;)n[e]=!1}}next(){if(!this.parent)return;let n=this.parent.index(this);return this.parent.nodes[n+1]}positionBy(n,p){let i=this.source.start;if(n.index)i=this.positionInside(n.index,p);else if(n.word){p=this.toString();let h=p.indexOf(n.word);h!==-1&&(i=this.positionInside(h,p))}return i}positionInside(n,p){let i=p||this.toString(),h=this.source.start.column,a=this.source.start.line;for(let m=0;m<n;m++)i[m]===` 43`?(h=1,a+=1):h+=1;return{column:h,line:a}}prev(){if(!this.parent)return;let n=this.parent.index(this);return this.parent.nodes[n-1]}rangeBy(n){let p={column:this.source.start.column,line:this.source.start.line},i=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:p.column+1,line:p.line};if(n.word){let h=this.toString(),a=h.indexOf(n.word);a!==-1&&(p=this.positionInside(a,h),i=this.positionInside(a+n.word.length,h))}else n.start?p={column:n.start.column,line:n.start.line}:n.index&&(p=this.positionInside(n.index)),n.end?i={column:n.end.column,line:n.end.line}:typeof n.endIndex=="number"?i=this.positionInside(n.endIndex):n.index&&(i=this.positionInside(n.index+1));return(i.line<p.line||i.line===p.line&&i.column<=p.column)&&(i={column:p.column+1,line:p.line}),{end:i,start:p}}raw(n,p){return new o().raw(this,n,p)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...n){if(this.parent){let p=this,i=!1;for(let h of n)h===this?i=!0:i?(this.parent.insertAfter(p,h),p=h):this.parent.insertBefore(p,h);i||this.remove()}return this}root(){let n=this;for(;n.parent&&n.parent.type!=="document";)n=n.parent;return n}toJSON(n,p){let i={},h=p==null;p=p||new Map;let a=0;for(let m in this){if(!Object.prototype.hasOwnProperty.call(this,m)||m==="parent"||m==="proxyCache")continue;let l=this[m];if(Array.isArray(l))i[m]=l.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,p):u);else if(typeof l=="object"&&l.toJSON)i[m]=l.toJSON(null,p);else if(m==="source"){let u=p.get(l.input);u==null&&(u=a,p.set(l.input,a),a++),i[m]={end:l.end,inputId:u,start:l.start}}else i[m]=l}return h&&(i.inputs=[...p.keys()].map(m=>m.toJSON())),i}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(n=s){n.stringify&&(n=n.stringify);let p="";return n(this,i=>{p+=i}),p}warn(n,p,i){let h={node:this};for(let a in i)h[a]=i[a];return n.warn(p,h)}get proxyOf(){return this}}return nr=f,f.default=f,nr}var or,Zs;function Ct(){if(Zs)return or;Zs=1;let e=vt();class t extends e{constructor(o){o&&typeof o.value<"u"&&typeof o.value!="string"&&(o=ue(D({},o),{value:String(o.value)})),super(o),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}return or=t,t.default=t,or}var ar,ei;function $o(){if(ei)return ar;ei=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return ar={nanoid:(o=21)=>{let s="",c=o;for(;c--;)s+=e[Math.random()*64|0];return s},customAlphabet:(o,s=21)=>(c=s)=>{let f="",d=c;for(;d--;)f+=o[Math.random()*o.length|0];return f}},ar}var lr,ti;function Xi(){if(ti)return lr;ti=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=me,{existsSync:r,readFileSync:o}=me,{dirname:s,join:c}=me;function f(n){return Buffer?Buffer.from(n,"base64").toString():window.atob(n)}class d{constructor(p,i){if(i.map===!1)return;this.loadAnnotation(p),this.inline=this.startWith(this.annotation,"data:");let h=i.map?i.map.prev:void 0,a=this.loadMap(i.from,h);!this.mapFile&&i.from&&(this.mapFile=i.from),this.mapFile&&(this.root=s(this.mapFile)),a&&(this.text=a)}consumer(){return this.consumerCache||(this.consumerCache=new e(this.text)),this.consumerCache}decodeInline(p){let i=/^data:application\/json;charset=utf-?8;base64,/,h=/^data:application\/json;base64,/,a=/^data:application\/json;charset=utf-?8,/,m=/^data:application\/json,/;if(a.test(p)||m.test(p))return decodeURIComponent(p.substr(RegExp.lastMatch.length));if(i.test(p)||h.test(p))return f(p.substr(RegExp.lastMatch.length));let l=p.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+l)}getAnnotationURL(p){return p.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(p){return typeof p!="object"?!1:typeof p.mappings=="string"||typeof p._mappings=="string"||Array.isArray(p.sections)}loadAnnotation(p){let i=p.match(/\/\*\s*# sourceMappingURL=/gm);if(!i)return;let h=p.lastIndexOf(i.pop()),a=p.indexOf("*/",h);h>-1&&a>-1&&(this.annotation=this.getAnnotationURL(p.substring(h,a)))}loadFile(p){if(this.root=s(p),r(p))return this.mapFile=p,o(p,"utf-8").toString().trim()}loadMap(p,i){if(i===!1)return!1;if(i){if(typeof i=="string")return i;if(typeof i=="function"){let h=i(p);if(h){let a=this.loadFile(h);if(!a)throw new Error("Unable to load previous source map: "+h.toString());return a}}else{if(i instanceof e)return t.fromSourceMap(i).toString();if(i instanceof t)return i.toString();if(this.isMap(i))return JSON.stringify(i);throw new Error("Unsupported previous source map format: "+i.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let h=this.annotation;return p&&(h=c(s(p),h)),this.loadFile(h)}}}startWith(p,i){return p?p.substr(0,i.length)===i:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return lr=d,d.default=d,lr}var ur,ri;function xt(){if(ri)return ur;ri=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=me,{fileURLToPath:r,pathToFileURL:o}=me,{isAbsolute:s,resolve:c}=me,{nanoid:f}=$o(),d=me,n=rs(),p=Xi(),i=Symbol("fromOffsetCache"),h=!!(e&&t),a=!!(c&&s);class m{constructor(u,y={}){if(u===null||typeof u>"u"||typeof u=="object"&&!u.toString)throw new Error(`PostCSS received ${u} instead of CSS string`);if(this.css=u.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,y.from&&(!a||/^\w+:\/\//.test(y.from)||s(y.from)?this.file=y.from:this.file=c(y.from)),a&&h){let g=new p(this.css,y);if(g.text){this.map=g;let w=g.consumer().file;!this.file&&w&&(this.file=this.mapResolve(w))}}this.file||(this.id="<input css "+f(6)+">"),this.map&&(this.map.file=this.from)}error(u,y,g,w={}){let v,R,x;if(y&&typeof y=="object"){let S=y,C=g;if(typeof S.offset=="number"){let E=this.fromOffset(S.offset);y=E.line,g=E.col}else y=S.line,g=S.column;if(typeof C.offset=="number"){let E=this.fromOffset(C.offset);R=E.line,x=E.col}else R=C.line,x=C.column}else if(!g){let S=this.fromOffset(y);y=S.line,g=S.col}let b=this.origin(y,g,R,x);return b?v=new n(u,b.endLine===void 0?b.line:{column:b.column,line:b.line},b.endLine===void 0?b.column:{column:b.endColumn,line:b.endLine},b.source,b.file,w.plugin):v=new n(u,R===void 0?y:{column:g,line:y},R===void 0?g:{column:x,line:R},this.css,this.file,w.plugin),v.input={column:g,endColumn:x,endLine:R,line:y,source:this.css},this.file&&(o&&(v.input.url=o(this.file).toString()),v.input.file=this.file),v}fromOffset(u){let y,g;if(this[i])g=this[i];else{let v=this.css.split(` 44`);g=new Array(v.length);let R=0;for(let x=0,b=v.length;x<b;x++)g[x]=R,R+=v[x].length+1;this[i]=g}y=g[g.length-1];let w=0;if(u>=y)w=g.length-1;else{let v=g.length-2,R;for(;w<v;)if(R=w+(v-w>>1),u<g[R])v=R-1;else if(u>=g[R+1])w=R+1;else{w=R;break}}return{col:u-g[w]+1,line:w+1}}mapResolve(u){return/^\w+:\/\//.test(u)?u:c(this.map.consumer().sourceRoot||this.map.root||".",u)}origin(u,y,g,w){if(!this.map)return!1;let v=this.map.consumer(),R=v.originalPositionFor({column:y,line:u});if(!R.source)return!1;let x;typeof g=="number"&&(x=v.originalPositionFor({column:w,line:g}));let b;s(R.source)?b=o(R.source):b=new URL(R.source,this.map.consumer().sourceRoot||o(this.map.mapFile));let S={column:R.column,endColumn:x&&x.column,endLine:x&&x.line,line:R.line,url:b.toString()};if(b.protocol==="file:")if(r)S.file=r(b);else throw new Error("file: protocol is not available in this PostCSS build");let C=v.sourceContentFor(R.source);return C&&(S.source=C),S}toJSON(){let u={};for(let y of["hasBOM","css","file","id"])this[y]!=null&&(u[y]=this[y]);return this.map&&(u.map=D({},this.map),u.map.consumerCache&&(u.map.consumerCache=void 0)),u}get from(){return this.file||this.id}}return ur=m,m.default=m,d&&d.registerInput&&d.registerInput(m),ur}var cr,si;function Ki(){if(si)return cr;si=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=me,{dirname:r,relative:o,resolve:s,sep:c}=me,{pathToFileURL:f}=me,d=xt(),n=!!(e&&t),p=!!(r&&s&&o&&c);class i{constructor(a,m,l,u){this.stringify=a,this.mapOpts=l.map||{},this.root=m,this.opts=l,this.css=u,this.originalCSS=u,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let a;this.isInline()?a="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?a=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?a=this.mapOpts.annotation(this.opts.to,this.root):a=this.outputFile()+".map";let m=` 45`;this.css.includes(`\r 46`)&&(m=`\r 47`),this.css+=m+"/*# sourceMappingURL="+a+" */"}applyPrevMaps(){for(let a of this.previous()){let m=this.toUrl(this.path(a.file)),l=a.root||r(a.file),u;this.mapOpts.sourcesContent===!1?(u=new e(a.text),u.sourcesContent&&(u.sourcesContent=null)):u=a.consumer(),this.map.applySourceMap(u,m,this.toUrl(this.path(l)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let a;for(let m=this.root.nodes.length-1;m>=0;m--)a=this.root.nodes[m],a.type==="comment"&&a.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(m)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),p&&n&&this.isMap())return this.generateMap();{let a="";return this.stringify(this.root,m=>{a+=m}),[a]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let a=this.previous()[0].consumer();a.file=this.outputFile(),this.map=t.fromSourceMap(a,{ignoreInvalidMapping:!0})}else this.map=new t({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 t({file:this.outputFile(),ignoreInvalidMapping:!0});let a=1,m=1,l="<no source>",u={generated:{column:0,line:0},original:{column:0,line:0},source:""},y,g;this.stringify(this.root,(w,v,R)=>{if(this.css+=w,v&&R!=="end"&&(u.generated.line=a,u.generated.column=m-1,v.source&&v.source.start?(u.source=this.sourcePath(v),u.original.line=v.source.start.line,u.original.column=v.source.start.column-1,this.map.addMapping(u)):(u.source=l,u.original.line=1,u.original.column=0,this.map.addMapping(u))),y=w.match(/\n/g),y?(a+=y.length,g=w.lastIndexOf(` 48`),m=w.length-g):m+=w.length,v&&R!=="start"){let x=v.parent||{raws:{}};(!(v.type==="decl"||v.type==="atrule"&&!v.nodes)||v!==x.last||x.raws.semicolon)&&(v.source&&v.source.end?(u.source=this.sourcePath(v),u.original.line=v.source.end.line,u.original.column=v.source.end.column-1,u.generated.line=a,u.generated.column=m-2,this.map.addMapping(u)):(u.source=l,u.original.line=1,u.original.column=0,u.generated.line=a,u.generated.column=m-1,this.map.addMapping(u)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(a=>a.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let a=this.mapOpts.annotation;return typeof a<"u"&&a!==!0?!1:this.previous().length?this.previous().some(m=>m.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(a=>a.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(a){if(this.mapOpts.absolute||a.charCodeAt(0)===60||/^\w+:\/\//.test(a))return a;let m=this.memoizedPaths.get(a);if(m)return m;let l=this.opts.to?r(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(l=r(s(l,this.mapOpts.annotation)));let u=o(l,a);return this.memoizedPaths.set(a,u),u}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(a=>{if(a.source&&a.source.input.map){let m=a.source.input.map;this.previousMaps.includes(m)||this.previousMaps.push(m)}});else{let a=new d(this.originalCSS,this.opts);a.map&&this.previousMaps.push(a.map)}return this.previousMaps}setSourcesContent(){let a={};if(this.root)this.root.walk(m=>{if(m.source){let l=m.source.input.from;if(l&&!a[l]){a[l]=!0;let u=this.usesFileUrls?this.toFileUrl(l):this.toUrl(this.path(l));this.map.setSourceContent(u,m.source.input.css)}}});else if(this.css){let m=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(m,this.css)}}sourcePath(a){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(a.source.input.from):this.toUrl(this.path(a.source.input.from))}toBase64(a){return Buffer?Buffer.from(a).toString("base64"):window.btoa(unescape(encodeURIComponent(a)))}toFileUrl(a){let m=this.memoizedFileURLs.get(a);if(m)return m;if(f){let l=f(a).toString();return this.memoizedFileURLs.set(a,l),l}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(a){let m=this.memoizedURLs.get(a);if(m)return m;c==="\\"&&(a=a.replace(/\\/g,"/"));let l=encodeURI(a).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(a,l),l}}return cr=i,cr}var hr,ii;function Rt(){if(ii)return hr;ii=1;let e=vt();class t extends e{constructor(o){super(o),this.type="comment"}}return hr=t,t.default=t,hr}var fr,ni;function Ee(){if(ni)return fr;ni=1;let{isClean:e,my:t}=ss(),r=Ct(),o=Rt(),s=vt(),c,f,d,n;function p(a){return a.map(m=>(m.nodes&&(m.nodes=p(m.nodes)),delete m.source,m))}function i(a){if(a[e]=!1,a.proxyOf.nodes)for(let m of a.proxyOf.nodes)i(m)}let h=(()=>{class a extends s{append(...l){for(let u of l){let y=this.normalize(u,this.last);for(let g of y)this.proxyOf.nodes.push(g)}return this.markDirty(),this}cleanRaws(l){if(super.cleanRaws(l),this.nodes)for(let u of this.nodes)u.cleanRaws(l)}each(l){if(!this.proxyOf.nodes)return;let u=this.getIterator(),y,g;for(;this.indexes[u]<this.proxyOf.nodes.length&&(y=this.indexes[u],g=l(this.proxyOf.nodes[y],y),g!==!1);)this.indexes[u]+=1;return delete this.indexes[u],g}every(l){return this.nodes.every(l)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let l=this.lastEach;return this.indexes[l]=0,l}getProxyProcessor(){return{get(l,u){return u==="proxyOf"?l:l[u]?u==="each"||typeof u=="string"&&u.startsWith("walk")?(...y)=>l[u](...y.map(g=>typeof g=="function"?(w,v)=>g(w.toProxy(),v):g)):u==="every"||u==="some"?y=>l[u]((g,...w)=>y(g.toProxy(),...w)):u==="root"?()=>
vendor: 4,642 bytes, line 48
48l.root().toProxy():u==="nodes"?l.nodes.map(y=>y.toProxy()):u==="first"||u==="last"?l[u].toProxy():l[u]:l[u]},set(l,u,y){return l[u]===y||(l[u]=y,(u==="name"||u==="params"||u==="selector")&&l.markDirty()),!0}}}index(l){return typeof l=="number"?l:(l.proxyOf&&(l=l.proxyOf),this.proxyOf.nodes.indexOf(l))}insertAfter(l,u){let y=this.index(l),g=this.normalize(u,this.proxyOf.nodes[y]).reverse();y=this.index(l);for(let v of g)this.proxyOf.nodes.splice(y+1,0,v);let w;for(let v in this.indexes)w=this.indexes[v],y<w&&(this.indexes[v]=w+g.length);return this.markDirty(),this}insertBefore(l,u){let y=this.index(l),g=y===0?"prepend":!1,w=this.normalize(u,this.proxyOf.nodes[y],g).reverse();y=this.index(l);for(let R of w)this.proxyOf.nodes.splice(y,0,R);let v;for(let R in this.indexes)v=this.indexes[R],y<=v&&(this.indexes[R]=v+w.length);return this.markDirty(),this}normalize(l,u){if(typeof l=="string")l=p(c(l).nodes);else if(typeof l>"u")l=[];else if(Array.isArray(l)){l=l.slice(0);for(let g of l)g.parent&&g.parent.removeChild(g,"ignore")}else if(l.type==="root"&&this.type!=="document"){l=l.nodes.slice(0);for(let g of l)g.parent&&g.parent.removeChild(g,"ignore")}else if(l.type)l=[l];else if(l.prop){if(typeof l.value>"u")throw new Error("Value field is missed in node creation");typeof l.value!="string"&&(l.value=String(l.value)),l=[new r(l)]}else if(l.selector)l=[new f(l)];else if(l.name)l=[new d(l)];else if(l.text)l=[new o(l)];else throw new Error("Unknown node type in node creation");return l.map(g=>(g[t]||a.rebuild(g),g=g.proxyOf,g.parent&&g.parent.removeChild(g),g[e]&&i(g),typeof g.raws.before>"u"&&u&&typeof u.raws.before<"u"&&(g.raws.before=u.raws.before.replace(/\S/g,"")),g.parent=this.proxyOf,g))}prepend(...l){l=l.reverse();for(let u of l){let y=this.normalize(u,this.first,"prepend").reverse();for(let g of y)this.proxyOf.nodes.unshift(g);for(let g in this.indexes)this.indexes[g]=this.indexes[g]+y.length}return this.markDirty(),this}push(l){return l.parent=this,this.proxyOf.nodes.push(l),this}removeAll(){for(let l of this.proxyOf.nodes)l.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(l){l=this.index(l),this.proxyOf.nodes[l].parent=void 0,this.proxyOf.nodes.splice(l,1);let u;for(let y in this.indexes)u=this.indexes[y],u>=l&&(this.indexes[y]=u-1);return this.markDirty(),this}replaceValues(l,u,y){return y||(y=u,u={}),this.walkDecls(g=>{u.props&&!u.props.includes(g.prop)||u.fast&&!g.value.includes(u.fast)||(g.value=g.value.replace(l,y))}),this.markDirty(),this}some(l){return this.nodes.some(l)}walk(l){return this.each((u,y)=>{let g;try{g=l(u,y)}catch(w){throw u.addToError(w)}return g!==!1&&u.walk&&(g=u.walk(l)),g})}walkAtRules(l,u){return u?l instanceof RegExp?this.walk((y,g)=>{if(y.type==="atrule"&&l.test(y.name))return u(y,g)}):this.walk((y,g)=>{if(y.type==="atrule"&&y.name===l)return u(y,g)}):(u=l,this.walk((y,g)=>{if(y.type==="atrule")return u(y,g)}))}walkComments(l){return this.walk((u,y)=>{if(u.type==="comment")return l(u,y)})}walkDecls(l,u){return u?l instanceof RegExp?this.walk((y,g)=>{if(y.type==="decl"&&l.test(y.prop))return u(y,g)}):this.walk((y,g)=>{if(y.type==="decl"&&y.prop===l)return u(y,g)}):(u=l,this.walk((y,g)=>{if(y.type==="decl")return u(y,g)}))}walkRules(l,u){return u?l instanceof RegExp?this.walk((y,g)=>{if(y.type==="rule"&&l.test(y.selector))return u(y,g)}):this.walk((y,g)=>{if(y.type==="rule"&&y.selector===l)return u(y,g)}):(u=l,this.walk((y,g)=>{if(y.type==="rule")return u(y,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 a.registerParse=m=>{c=m},a.registerRule=m=>{f=m},a.registerAtRule=m=>{d=m},a.registerRoot=m=>{n=m},a})();return fr=h,h.default=h,h.rebuild=a=>{a.type==="atrule"?Object.setPrototypeOf(a,d.prototype):a.type==="rule"?Object.setPrototypeOf(a,f.prototype):a.type==="decl"?Object.setPrototypeOf(a,r.prototype):a.type==="comment"?Object.setPrototypeOf(a,o.prototype):a.type==="root"&&Object.setPrototypeOf(a,n.prototype),a[t]=!0,a.nodes&&a.nodes.forEach(m=>{h.rebuild(m)})},fr}var pr,oi;function is(){if(oi)return pr;oi=1;let e=Ee(),t,r,o=(()=>{class s extends e{constructor(f){super(D({type:"document"},f)),this.nodes||(this.nodes=[])}toResult(f={}){return new t(new r,this,f).stringify()}}return s.registerLazyResult=c=>{t=c},s.registerProcessor=c=>{r=c},s})();return pr=o,o.default=o,pr}var dr,ai;function Zi(){if(ai)return dr;ai=1;let e={};return dr=function(r){e[r]||(e[r]=!0,typeof console<"u"&&console.warn&&console.warn(r))},dr}var mr,li;function en(){if(li)return mr;li=1;class e{constructor(r,o={}
vendor: 14,950 bytes, lines 48-49
48){if(this.type="warning",this.text=r,o.node&&o.node.source){let s=o.node.rangeBy(o);this.line=s.start.line,this.column=s.start.column,this.endLine=s.end.line,this.endColumn=s.end.column}for(let s in o)this[s]=o[s]}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 mr=e,e.default=e,mr}var gr,ui;function ns(){if(ui)return gr;ui=1;let e=en();class t{constructor(o,s,c){this.processor=o,this.messages=[],this.root=s,this.opts=c,this.css=void 0,this.map=void 0}toString(){return this.css}warn(o,s={}){s.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(s.plugin=this.lastPlugin.postcssPlugin);let c=new e(o,s);return this.messages.push(c),c}warnings(){return this.messages.filter(o=>o.type==="warning")}get content(){return this.css}}return gr=t,t.default=t,gr}var yr,ci;function zo(){if(ci)return yr;ci=1;let e=39,t=34,r=92,o=47,s=10,c=32,f=12,d=9,n=13,p=91,i=93,h=40,a=41,m=123,l=125,u=59,y=42,g=58,w=64,v=/[\t\n\f\r "#'()/;[\\\]{}]/g,R=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,x=/.[\r\n"'(/\\]/,b=/[\da-f]/i;return yr=function(C,E={}){let O=C.css.valueOf(),k=E.ignoreErrors,N,M,oe,Z,te,j,Q,P,B,F,z=O.length,I=0,se=[],ee=[];function Se(){return I}function ge(X){throw C.error("Unclosed "+X,I)}function Ae(){return ee.length===0&&I>=z}function $e(X){if(ee.length)return ee.pop();if(I>=z)return;let he=X?X.ignoreUnclosed:!1;switch(N=O.charCodeAt(I),N){case s:case c:case d:case n:case f:{M=I;do M+=1,N=O.charCodeAt(M);while(N===c||N===s||N===d||N===n||N===f);F=["space",O.slice(I,M)],I=M-1;break}case p:case i:case m:case l:case g:case u:case a:{let ye=String.fromCharCode(N);F=[ye,ye,I];break}case h:{if(P=se.length?se.pop()[1]:"",B=O.charCodeAt(I+1),P==="url"&&B!==e&&B!==t&&B!==c&&B!==s&&B!==d&&B!==f&&B!==n){M=I;do{if(j=!1,M=O.indexOf(")",M+1),M===-1)if(k||he){M=I;break}else ge("bracket");for(Q=M;O.charCodeAt(Q-1)===r;)Q-=1,j=!j}while(j);F=["brackets",O.slice(I,M+1),I,M],I=M}else M=O.indexOf(")",I+1),Z=O.slice(I,M+1),M===-1||x.test(Z)?F=["(","(",I]:(F=["brackets",Z,I,M],I=M);break}case e:case t:{oe=N===e?"'":'"',M=I;do{if(j=!1,M=O.indexOf(oe,M+1),M===-1)if(k||he){M=I+1;break}else ge("string");for(Q=M;O.charCodeAt(Q-1)===r;)Q-=1,j=!j}while(j);F=["string",O.slice(I,M+1),I,M],I=M;break}case w:{v.lastIndex=I+1,v.test(O),v.lastIndex===0?M=O.length-1:M=v.lastIndex-2,F=["at-word",O.slice(I,M+1),I,M],I=M;break}case r:{for(M=I,te=!0;O.charCodeAt(M+1)===r;)M+=1,te=!te;if(N=O.charCodeAt(M+1),te&&N!==o&&N!==c&&N!==s&&N!==d&&N!==n&&N!==f&&(M+=1,b.test(O.charAt(M)))){for(;b.test(O.charAt(M+1));)M+=1;O.charCodeAt(M+1)===c&&(M+=1)}F=["word",O.slice(I,M+1),I,M],I=M;break}default:{N===o&&O.charCodeAt(I+1)===y?(M=O.indexOf("*/",I+2)+1,M===0&&(k||he?M=O.length:ge("comment")),F=["comment",O.slice(I,M+1),I,M],I=M):(R.lastIndex=I+1,R.test(O),R.lastIndex===0?M=O.length-1:M=R.lastIndex-2,F=["word",O.slice(I,M+1),I,M],se.push(F),I=M);break}}return I++,F}function le(X){ee.push(X)}return{back:le,endOfFile:Ae,nextToken:$e,position:Se}},yr}var wr,hi;function os(){if(hi)return wr;hi=1;let e=Ee();class t extends e{constructor(o){super(o),this.type="atrule"}append(...o){return this.proxyOf.nodes||(this.nodes=[]),super.append(...o)}prepend(...o){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...o)}}return wr=t,t.default=t,e.registerAtRule(t),wr}var br,fi;function Ge(){if(fi)return br;fi=1;let e=Ee(),t,r,o=(()=>{class s extends e{constructor(f){super(f),this.type="root",this.nodes||(this.nodes=[])}normalize(f,d,n){let p=super.normalize(f);if(d){if(n==="prepend")this.nodes.length>1?d.raws.before=this.nodes[1].raws.before:delete d.raws.before;else if(this.first!==d)for(let i of p)i.raws.before=d.raws.before}return p}removeChild(f,d){let n=this.index(f);return!d&&n===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(f)}toResult(f={}){return new t(new r,this,f).stringify()}}return s.registerLazyResult=c=>{t=c},s.registerProcessor=c=>{r=c},s})();return br=o,o.default=o,e.registerRoot(o),br}var Sr,pi;function tn(){if(pi)return Sr;pi=1;let e={comma(t){return e.split(t,[","],!0)},space(t){let r=[" ",` 49`," "];return e.split(t,r)},split(t,r,o){let s=[],c="",f=!1,d=0,n=!1,p="",i=!1;for(let h of t)i?i=!1:h==="\\"?i=!0:n?h===p&&(n=!1):h==='"'||h==="'"?(n=!0,p=h):h==="("?d+=1:h===")"?d>0&&(d-=1):d===0&&r.includes(h)&&(f=!0),f?(c!==""&&s.push(c.trim()),c="",f=!1):c+=h;return(o||c!=="")&&s.push(c.trim()),s}};return Sr=e,e.default=e,Sr}var vr,di;function as(){if(di)return vr;di=1;let e=Ee(),t=tn();class r extends e{constructor(s){super(s),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return t.comma(this.selector)}set selectors(s){let c=this.selector?this.selector.match(/,\s*/):null,f=c?c[0]:","+this.raw("between","beforeOpen");this.selector=s.join(f)}}return vr=r,r.default=r,e.registerRule(r),vr}var Cr,mi;function Bo(){if(mi)return Cr;mi=1;let e=Ct(),t=zo(),r=Rt(),o=os(),s=Ge(),c=as(),f={empty:!0,space:!0};function d(p){for(let i=p.length-1;i>=0;i--){let h=p[i],a=h[3]||h[2];if(a)return a}}class n{constructor(i){this.input=i,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:i,start:{column:1,line:1,offset:0}}}atrule(i){let h=new o;h.name=i[1].slice(1),h.name===""&&this.unnamedAtrule(h,i),this.init(h,i[2]);let a,m,l,u=!1,y=!1,g=[],w=[];for(;!this.tokenizer.endOfFile();){if(i=this.tokenizer.nextToken(),a=i[0],a==="("||a==="["?w.push(a==="("?")":"]"):a==="{"&&w.length>0?w.push("}"):a===w[w.length-1]&&w.pop(),w.length===0)if(a===";"){h.source.end=this.getPosition(i[2]),h.source.end.offset++,this.semicolon=!0;break}else if(a==="{"){y=!0;break}else if(a==="}"){if(g.length>0){for(l=g.length-1,m=g[l];m&&m[0]==="space";)m=g[--l];m&&(h.source.end=this.getPosition(m[3]||m[2]),h.source.end.offset++)}this.end(i);break}else g.push(i);else g.push(i);if(this.tokenizer.endOfFile()){u=!0;break}}h.raws.between=this.spacesAndCommentsFromEnd(g),g.length?(h.raws.afterName=this.spacesAndCommentsFromStart(g),this.raw(h,"params",g),u&&(i=g[g.length-1],h.source.end=this.getPosition(i[3]||i[2]),h.source.end.offset++,this.spaces=h.raws.between,h.raws.between="")):(h.raws.afterName="",h.params=""),y&&(h.nodes=[],this.current=h)}checkMissedSemicolon(i){let h=this.colon(i);if(h===!1)return;let a=0,m;for(let l=h-1;l>=0&&(m=i[l],!(m[0]!=="space"&&(a+=1,a===2)));l--);throw this.input.error("Missed semicolon",m[0]==="word"?m[3]+1:m[2])}colon(i){let h=0,a,m,l;for(let[u,y]of i.entries()){if(a=y,m=a[0],m==="("&&(h+=1),m===")"&&(h-=1),h===0&&m===":")if(!l)this.doubleColon(a);else{if(l[0]==="word"&&l[1]==="progid")continue;return u}l=a}return!1}comment(i){let h=new r;this.init(h,i[2]),h.source.end=this.getPosition(i[3]||i[2]),h.source.end.offset++;let a=i[1].slice(2,-2);if(/^\s*$/.test(a))h.text="",h.raws.left=a,h.raws.right="";else{let m=a.match(/^(\s*)([^]*\S)(\s*)$/);h.text=m[2],h.raws.left=m[1],h.raws.right=m[3]}}createTokenizer(){this.tokenizer=t(this.input)}decl(i,h){let a=new e;this.init(a,i[0][2]);let m=i[i.length-1];for(m[0]===";"&&(this.semicolon=!0,i.pop()),a.source.end=this.getPosition(m[3]||m[2]||d(i)),a.source.end.offset++;i[0][0]!=="word";)i.length===1&&this.unknownWord(i),a.raws.before+=i.shift()[1];for(a.source.start=this.getPosition(i[0][2]),a.prop="";i.length;){let w=i[0][0];if(w===":"||w==="space"||w==="comment")break;a.prop+=i.shift()[1]}a.raws.between="";let l;for(;i.length;)if(l=i.shift(),l[0]===":"){a.raws.between+=l[1];break}else l[0]==="word"&&/\w/.test(l[1])&&this.unknownWord([l]),a.raws.between+=l[1];(a.prop[0]==="_"||a.prop[0]==="*")&&(a.raws.before+=a.prop[0],a.prop=a.prop.slice(1));let u=[],y;for(;i.length&&(y=i[0][0],!(y!=="space"&&y!=="comment"));)u.push(i.shift());this.precheckMissedSemicolon(i);for(let w=i.length-1;w>=0;w--){if(l=i[w],l[1].toLowerCase()==="!important"){a.important=!0;let v=this.stringFrom(i,w);v=this.spacesFromEnd(i)+v,v!==" !important"&&(a.raws.important=v);break}else if(l[1].toLowerCase()==="important"){let v=i.slice(0),R="";for(let x=w;x>0;x--){let b=v[x][0];if(R.trim().indexOf("!")===0&&b!=="space")break;R=v.pop()[1]+R}R.trim().indexOf("!")===0&&(a.important=!0,a.raws.important=R,i=v)}if(l[0]!=="space"&&l[0]!=="comment")break}i.some(w=>w[0]!=="space"&&w[0]!=="comment")&&(a.raws.between+=u.map(w=>w[1]).join(""),u=[]),this.raw(a,"value",u.concat(i),h),a.value.includes(":")&&!h&&this.checkMissedSemicolon(i)}doubleColon(i){throw this.input.error("Double colon",{offset:i[2]},{offset:i[2]+i[1].length})}emptyRule(i){let h=new c;this.init(h,i[2]),h.selector="",h.raws.between="",this.current=h}end(i){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(i[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(i)}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(i){if(this.spaces+=i[1],this.current.nodes){let h=this.current.nodes[this.current.nodes.length-1];h&&h.type==="rule"&&!h.raws.ownSemicolon&&(h.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(i){let h=this.input.fromOffset(i);return{column:h.col,line:h.line,offset:i}}init(i,h){this.current.push(i),i.source={input:this.input,start:this.getPosition(h)},i.raws.before=this.spaces,this.spaces="",i.type!=="comment"&&(this.semicolon=!1)}other(i){let h=!1,a=null,m=!1,l=null,u=[],y=i[1].startsWith("--"),g=[],w=i;for(;w;){if(a=w[0],g.push(w),a==="("||a==="[")l||(l=w),u.push(a==="("?")":"]");else if(y&&m&&a==="{")l||(l=w),u.push("}");else if(u.length===0)if(a===";")if(m){this.decl(g,y);return}else break;else if(a==="{"){this.rule(g);return}else if(a==="}"){this.tokenizer.back(g.pop()),h=!0;break}else a===":"&&(m=!0);else a===u[u.length-1]&&(u.pop(),u.length===0&&(l=null));w=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(h=!0),u.length>0&&this.unclosedBracket(l),h&&m){if(!y)for(;g.length&&(w=g[g.length-1][0],!(w!=="space"&&w!=="comment"));)this.tokenizer.back(g.pop());this.decl(g,y)}else this.unknownWord(g)}parse(){let i;for(;!this.tokenizer.endOfFile();)switch(i=this.tokenizer.nextToken(),i[0]){case"space":this.spaces+=i[1];break;case";":this.freeSemicolon(i);break;case"}":this.end(i);break;case"comment":this.comment(i);break;case"at-word":this.atrule(i);break;case"{":this.emptyRule(i);break;default:this.other(i);break}this.endFile()}precheckMissedSemicolon(){}raw(i,h,a,m){let l,u,y=a.length,g="",w=!0,v,R;for(let x=0;x<y;x+=1)l=a[x],u=l[0],u==="space"&&x===y-1&&!m?w=!1:u==="comment"?(R=a[x-1]?a[x-1][0]:"empty",v=a[x+1]?a[x+1][0]:"empty",!f[R]&&!f[v]?g.slice(-1)===","?w=!1:g+=l[1]:w=!1):g+=l[1];if(!w){let x=a.reduce((b,S)=>b+S[1],"");i.raws[h]={raw:x,value:g}}i[h]=g}rule(i){i.pop();let h=new c;this.init(h,i[0][2]),h.raws.between=this.spacesAndCommentsFromEnd(i),this.raw(h,"selector",i),this.current=h}spacesAndCommentsFromEnd(i){let h,a="";for(;i.length&&(h=i[i.length-1][0],!(h!=="space"&&h!=="comment"));)a=i.pop()[1]+a;return a}spacesAndCommentsFromStart(i){let h,a="";for(;i.length&&(h=i[0][0],!(h!=="space"&&h!=="comment"));)a+=i.shift()[1];return a}spacesFromEnd(i){let h,a="";for(;i.length&&(h=i[i.length-1][0],h==="space");)a=i.pop()[1]+a;return a}stringFrom(i,h){let a="";for(let m=h;m<i.length;m++)a+=i[m][1];return i.splice(h,i.length-h),a}unclosedBlock(){let i=this.current.source.start;throw this.input.error("Unclosed block",i.line,i.column)}unclosedBracket(i){throw this.input.error("Unclosed bracket",{offset:i[2]},{offset:i[2]+1})}unexpectedClose(i){throw this.input.error("Unexpected }",{offset:i[2]},{offset:i[2]+1})}unknownWord(i){throw this.input.error("Unknown word",{offset:i[0][2]},{offset:i[0][2]+i[0][1].length})}unnamedAtrule(i,h){throw this.input.error("At-rule without name",{offset:h[2]},{offset:h[2]+h[1].length})}}return Cr=n,Cr}var xr,gi;function ls(){if(gi)return xr;gi=1;let e=Ee(),t=Bo(),r=xt();function o(s,c){let f=new r(s,c),d=new t(f);try{d.parse()}catch(n){throw n}return d.root}return xr=o,o.default=o,e.registerParse(o),xr}var Rr,yi;function rn(){if(yi)return Rr;yi=1;let{isClean:e,my:t}=ss(),r=Ki(),o=St(),s=Ee(),c=is(),f=Zi(),d=ns(),n=ls(),p=Ge(),i={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},h={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},a={Once:!0,postcssPlugin:!0,prepare:!0},m=0;function l(R){return typeof R=="object"&&typeof R.then=="function"}function u(R){let x=!1,b=i[R.type];return R.type==="decl"?x=R.prop.toLowerCase():R.type==="atrule"&&(x=R.name.toLowerCase()),x&&R.append?[b,b+"-"+x,m,b+"Exit",b+"Exit-"+x]:x?[b,b+"-"+x,b+"Exit",b+"Exit-"+x]:R.append?[b,m,b+"Exit"]:[b,b+"Exit"]}function y(R){let x;return R.type==="document"?x=["Document",m,"DocumentExit"]:R.type==="root"?x=["Root",m,"RootExit"]:x=u(R),{eventIndex:0,events:x,iterator:0,node:R,visitorIndex:0,visitors:[]}}function g(R){return R[e]=!1,R.nodes&&R.nodes.forEach(x=>g(x)),R}let w={},v=(()=>{class R{constructor(b,S,C){this.stringified=!1,this.processed=!1;let E;if(typeof S=="object"&&S!==null&&(S.type==="root"||S.type==="document"))E=g(S);else if(S instanceof R||S instanceof d)E=g(S.root),S.map&&(typeof C.map>"u"&&(C.map={}),C.map.inline||(C.map.inline=!1),C.map.prev=S.map);else{let O=n;C.syntax&&(O=C.syntax.parse),C.parser&&(O=C.parser),O.parse&&(O=O.parse);try{E=O(S,C)}catch(k){this.processed=!0,this.error=k}E&&!E[t]&&s.rebuild(E)}this.result=new d(b,E,C),this.helpers=ue(D({},w),{postcss:w,result:this.result}),this.plugins=this.processor.plugins.map(O=>typeof O=="object"&&O.prepare?D(D({},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(b){return this.async().catch(b)}finally(b){return this.async().then(b,b)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(b,S){let C=this.result.lastPlugin;try{S&&S.addToError(b),this.error=b,b.name==="CssSyntaxError"&&!b.plugin?(b.plugin=C.postcssPlugin,b.setMessage()):C.postcssVersion}catch(E){console&&console.error&&console.error(E)}return b}prepareVisitors(){this.listeners={};let b=(S,C,E)=>{this.listeners[C]||(this.listeners[C]=[]),this.listeners[C].push([S,E])};for(let S of this.plugins)if(typeof S=="object")for(let C in S){if(!h[C]&&/^[A-Z]/.test(C))throw new Error(`Unknown event ${C} in ${S.postcssPlugin}
49. Try to update PostCSS (${this.processor.version} now).`);if(!a[C])if(typeof S[C]=="object")for(let E in S[C])E==="*"?b(S,C,S[C][E]):b(S,C+"-"+E.toLowerCase(),S[C][E]);else typeof S[C]=="function"&&b(S,C,S[C])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let b=0;b<this.plugins.length;b++){let S=this.plugins[b],C=this.runOnRoot(S);if(l(C))try{await C}catch(E){throw this.handleError(E)}}if(this.prepareVisitors(),this.hasListener){let b=this.result.root;for(;!b[e];){b[e]=!0;let S=[y(b)];for(;S.length>0;){let C=this.visitTick(S);if(l(C))try{await C}catch(E){let O=S[S.length-1].node;throw this.handleError(E,O)}}}if(this.listeners.OnceExit)for(let[S,C]of this.listeners.OnceExit){this.result.lastPlugin=S;try{if(b.type==="document"){let E=b.nodes.map(O=>C(O,this.helpers));await Promise.all(E)}else await C(b,this.helpers)}catch(E){throw this.handleError(E)}}}return this.processed=!0,this.stringify()}runOnRoot(b){this.result.lastPlugin=b;try{if(typeof b=="object"&&b.Once){if(this.result.root.type==="document"){let S=this.result.root.nodes.map(C=>b.Once(C,this.helpers));return l(S[0])?Promise.all(S):S}return b.Once(this.result.root,this.helpers)}else if(typeof b=="function")return b(this.result.root,this.result)}catch(S){throw this.handleError(S)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let b=this.result.opts,S=o;b.syntax&&(S=b.syntax.stringify),b.stringifier&&(S=b.stringifier),S.stringify&&(S=S.stringify);let E=new r(S,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 b of this.plugins){let S=this.runOnRoot(b);if(l(S))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let b=this.result.root;for(;!b[e];)b[e]=!0,this.walkSync(b);if(this.listeners.OnceExit)if(b.type==="document")for(let S of b.nodes)this.visitSync(this.listeners.OnceExit,S);else this.visitSync(this.listeners.OnceExit,b)}return this.result}then(b,S){return this.async().then(b,S)}toString(){return this.css}visitSync(b,S){for(let[C,E]of b){this.result.lastPlugin=C;let O;try{O=E(S,this.helpers)}catch(k){throw this.handleError(k,S.proxyOf)}if(S.type!=="root"&&S.type!=="document"&&!S.parent)return!0;if(l(O))throw this.getAsyncError()}}visitTick(b){let S=b[b.length-1],{node:C,visitors:E}=S;if(C.type!=="root"&&C.type!=="document"&&!C.parent){b.pop();return}if(E.length>0&&S.visitorIndex<E.length){let[k,N]=E[S.visitorIndex];S.visitorIndex+=1,S.visitorIndex===E.length&&(S.visitors=[],S.visitorIndex=0),this.result.lastPlugin=k;try{return N(C.toProxy(),this.helpers)}catch(M){throw this.handleError(M,C)}}if(S.iterator!==0){let k=S.iterator,N;for(;N=C.nodes[C.indexes[k]];)if(C.indexes[k]+=1,!N[e]){N[e]=!0,b.push(y(N));return}S.iterator=0,delete C.indexes[k]}let O=S.events;for(;S.eventIndex<O.length;){let k=O[S.eventIndex];if(S.eventIndex+=1,k===m){C.nodes&&C.nodes.length&&(C[e]=!0,S.iterator=C.getIterator());return}else if(this.listeners[k]){S.visitors=this.listeners[k];return}}b.pop()}walkSync(b){b[e]=!0;let S=u(b);for(let C of S)if(C===m)b.nodes&&b.each(E=>{E[e]||this.walkSync(E)});else{let E=this.listeners[C];if(E&&this.visitSync(E,b.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}return R.registerPostcss=x=>{w=x},R})();return Rr=v,v.default=v,p.registerLazyResult(v),c.registerLazyResult(v),Rr}var Or,wi;function Wo(){if(wi)return Or;wi=1;let e=Ki(),t=St(),r=Zi(),o=ls(),s=ns();class c{constructor(d,n,p){n=n.toString(),this.stringified=!1,this._processor=d,this._css=n,this._opts=p,this._map=void 0;let i,h=t;this.result=new s(this._processor,i,this._opts),this.result.css=n;let a=this;Object.defineProperty(this.result,"root",{get(){return a.root}});let m=new e(h,i,this._opts,n);if(m.isMap()){let[l,u]=m.generate();l&&(this.result.css=l),u&&(this.result.map=u)}else m.clearAnnotation(),this.result.css=m.css}
vendor: 7,286 bytes, lines 49-51
49async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(d){return this.async().catch(d)}finally(d){return this.async().then(d,d)}sync(){if(this.error)throw this.error;return this.result}then(d,n){return this.async().then(d,n)}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 d,n=o;try{d=n(this._css,this._opts)}catch(p){this.error=p}if(this.error)throw this.error;return this._root=d,d}get[Symbol.toStringTag](){return"NoWorkResult"}}return Or=c,c.default=c,Or}var Mr,bi;function qo(){if(bi)return Mr;bi=1;let e=Wo(),t=rn(),r=is(),o=Ge();class s{constructor(f=[]){this.version="8.4.38",this.plugins=this.normalize(f)}normalize(f){let d=[];for(let n of f)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n=="object"&&Array.isArray(n.plugins))d=d.concat(n.plugins);else if(typeof n=="object"&&n.postcssPlugin)d.push(n);else if(typeof n=="function")d.push(n);else if(!(typeof n=="object"&&(n.parse||n.stringify)))throw new Error(n+" is not a PostCSS plugin");return d}process(f,d={}){return!this.plugins.length&&!d.parser&&!d.stringifier&&!d.syntax?new e(this,f,d):new t(this,f,d)}use(f){return this.plugins=this.plugins.concat(this.normalize([f])),this}}return Mr=s,s.default=s,o.registerProcessor(s),r.registerProcessor(s),Mr}var Er,Si;function jo(){if(Si)return Er;Si=1;let e=Ct(),t=Xi(),r=Rt(),o=os(),s=xt(),c=Ge(),f=as();function d(n,p){if(Array.isArray(n))return n.map(l=>d(l));let a=n,{inputs:i}=a,h=Ne(a,["inputs"]);if(i){p=[];for(let l of i){let u=ue(D({},l),{__proto__:s.prototype});u.map&&(u.map=ue(D({},u.map),{__proto__:t.prototype})),p.push(u)}}if(h.nodes&&(h.nodes=n.nodes.map(l=>d(l,p))),h.source){let m=h.source,{inputId:l}=m,u=Ne(m,["inputId"]);h.source=u,l!=null&&(h.source.input=p[l])}if(h.type==="root")return new c(h);if(h.type==="decl")return new e(h);if(h.type==="rule")return new f(h);if(h.type==="comment")return new r(h);if(h.type==="atrule")return new o(h);throw new Error("Unknown node type: "+n.type)}return Er=d,d.default=d,Er}var Ir,vi;function Vo(){if(vi)return Ir;vi=1;let e=rs(),t=Ct(),r=rn(),o=Ee(),s=qo(),c=St(),f=jo(),d=is(),n=en(),p=Rt(),i=os(),h=ns(),a=xt(),m=ls(),l=tn(),u=as(),y=Ge(),g=vt();function w(...v){return v.length===1&&Array.isArray(v[0])&&(v=v[0]),new s(v)}return w.plugin=function(R,x){let b=!1;function S(...E){console&&console.warn&&!b&&(b=!0,console.warn(R+`: postcss.plugin was deprecated. Migration guide: 50https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(R+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357: 51https://www.w3ctech.com/topic/2226`));let O=x(...E);return O.postcssPlugin=R,O.postcssVersion=new s().version,O}let C;return Object.defineProperty(S,"postcss",{get(){return C||(C=S()),C}}),S.process=function(E,O,k){return w([S(k)]).process(E,O)},S},w.stringify=c,w.parse=m,w.fromJSON=f,w.list=l,w.comment=v=>new p(v),w.atRule=v=>new i(v),w.decl=v=>new t(v),w.rule=v=>new u(v),w.root=v=>new y(v),w.document=v=>new d(v),w.CssSyntaxError=e,w.Declaration=t,w.Container=o,w.Processor=s,w.Document=d,w.Comment=p,w.Warning=n,w.AtRule=i,w.Result=h,w.Input=a,w.Rule=u,w.Root=y,w.Node=g,r.registerPostcss(w),Ir=w,w.default=w,Ir}var Ho=Vo(),G=Do(Ho);G.stringify;G.fromJSON;G.plugin;G.parse;G.list;G.document;G.comment;G.atRule;G.rule;G.decl;G.root;G.CssSyntaxError;G.Declaration;G.Container;G.Processor;G.Document;G.Comment;G.Warning;G.AtRule;G.Result;G.Input;G.Rule;G.Root;G.Node;var Dr=class e{constructor(...t){ce(this,"parentElement",null),ce(this,"parentNode",null),ce(this,"ownerDocument"),ce(this,"firstChild",null),ce(this,"lastChild",null),ce(this,"previousSibling",null),ce(this,"nextSibling",null),ce(this,"ELEMENT_NODE",1),ce(this,"TEXT_NODE",3),ce(this,"nodeType"),ce(this,"nodeName"),ce(this,"RRNodeType")}get childNodes(){let t=[],r=this.firstChild;for(;r;)t.push(r),r=r.nextSibling;return t}contains(t){if(t instanceof e){if(t.ownerDocument!==this.ownerDocument)return!1;if(t===this)return!0}else return!1;for(;t.parentNode;){if(t.parentNode===this)return!0;t=t.parentNode}return!1}appendChild(t){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")}insertBefore(t,r){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")}removeChild(t){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")}toString(){return"RRNode"}},Ci={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},xi={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},tt={};function Go(e){var t,r;let o=(r=(t=globalThis?.Zone)==null?void 0:t.__symbol__)==null?void 0:r.call(t,e);if(o&&globalThis[o])return globalThis[o]}function us(e){if(tt[e])return tt[e];let t=Go(e)||globalThis[e],r=t.prototype,o=e in Ci?Ci[e]:void 0,s=!!(o&&o.every(d=>{var n,p;return!!((p=(n=Object.getOwnPropertyDescriptor(r,d))==null?void 0:n.get)!=null&&p.toString().includes("[native code]"))})),c=e in xi?xi[e]:void 0,f=!!(c&&c.every(d=>{var n;return typeof r[d]=="function"&&((n=r[d])==null?void 0:n.toString().includes("[native code]"))}));if(s&&f)return tt[e]=t.prototype,t.prototype;try{let d=document.createElement("iframe");document.body.appendChild(d);let n=d.contentWindow;if(!n)return t.prototype;let p=n[e].prototype;return document.body.removeChild(d),p?tt[e]=p:r}catch{return r}}var Ar={};function xe(e,t,r){var o;let s=`${e}.${String(r)}`;if(Ar[s])return Ar[s].call(t);let c=us(e),f=(o=Object.getOwnPropertyDescriptor(c,r))==null?void 0:o.get;return f?(Ar[s]=f,f.call(t)):t[r]}var Nr={};function sn(e,t,r){let o=`${e}.${String(r)}`;if(Nr[o])return Nr[o].bind(t);let c=us(e)[r];return typeof c!="function"?t[r]:(Nr[o]=c,c.bind(t))}function Jo(e){return xe("Node",e,"childNodes")}function Yo(e){return xe("Node",e,"parentNode")}function Qo(e){return xe("Node",e,"parentElement")}function Xo(e){return xe("Node",e,"textContent")}function Ko(e,t){return sn("Node",e,"contains")(t)}function Zo(e){return sn("Node",e,"getRootNode")()}function ea(e){return!e||!("host"in e)?null:xe("ShadowRoot",e,"host")}function ta(e){return e.styleSheets}function ra(e){return!e||!("shadowRoot"in e)?null:xe("Element",e,"shadowRoot")}function sa(e,t){return xe("Element",e,"querySelector")(t)}function ia(e,t){return xe("Element",e,"querySelectorAll")(t)}function nn(){return us("MutationObserver").constructor}var _={childNodes:Jo,parentNode:Yo,parentElement:Qo,textContent:Xo,contains:Ko,getRootNode:Zo,host:ea,styleSheets:ta,shadowRoot:ra,querySelector:sa,querySelectorAll:ia,mutationObserver:nn};function ie(e,t,r=document){let o={capture:!0,passive:!0};return r.addEventListener(e,t,o),()=>r.removeEventListener(e,t,o)}var Pe=`Please stop import mirror directly. Instead of that,\r
52now you can use replayer.getMirror() to access the mirror instance of a replayer,\r 53or you can use record.mirror to access the mirror instance during recording.`,Ri={map:{},getId(){return console.error(Pe),-1},getNode(){return console.error(Pe),null},removeNodeFromMap(){console.error(Pe)},has(){return console.error(Pe),!1},reset(){console.error(Pe)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(Ri=new Proxy(Ri,{get(e,t,r){return t==="map"&&console.error(Pe),Reflect.get(e,t,r)}}));function Ve(e,t,r={}){let o=null,s=0;return function(...c){let f=Date.now();!s&&r.leading===!1&&(s=f);let d=t-(f-s),n=this;d<=0||d>t?(o&&(clearTimeout(o),o=null),s=f,e.apply(n,c)):!o&&r.trailing!==!1&&(o=setTimeout(()=>{s=r.leading===!1?0:Date.now(),o=null,e.apply(n,c)},d))}}function Ot(e,t,r,o,s=window){let c=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,o?r:{set(f){setTimeout(()=>{r.set.call(this,f)},0),c&&c.set&&c.set.call(this,f)}}),()=>Ot(e,t,c||{},!0)}function Ue(e,t,r){try{if(!(t in e))return()=>{};let o=e[t],s=r(o);return typeof s=="function"&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:o}})),e[t]=s,()=>{e[t]=o}}catch{return()=>{}}}var ht=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(ht=()=>new Date().getTime());function on(e){var t,r,o,s;let c=e.document;return{left:c.scrollingElement?c.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:c.documentElement.scrollLeft||c?.body&&((t=_.parentElement(c.body))==null?void 0:t.scrollLeft)||((r=c?.body)==null?void 0:r.scrollLeft)||0,top:c.scrollingElement?c.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:c?.documentElement.scrollTop||c?.body&&((o=_.parentElement(c.body))==null?void 0:o.scrollTop)||((s=c?.body)==null?void 0:s.scrollTop)||0}}function an(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function ln(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function un(e){return e?e.nodeType===e.ELEMENT_NODE?e:_.parentElement(e):null}function ne(e,t,r,o){if(!e)return!1;let s=un(e);if(!s)return!1;try{if(typeof t=="string"){if(s.classList.contains(t)||o&&s.closest("."+t)!==null)return!0}else if(ct(s,t,o))return!0}catch{}return!!(r&&(s.matches(r)||o&&s.closest(r)!==null))}function na(e,t){return t.getId(e)!==-1}function kr(e,t,r){return e.tagName==="TITLE"&&r.headTitleMutations?!0:t.getId(e)===je}function cn(e,t){if(Be(e))return!1;let r=t.getId(e);if(!t.has(r))return!0;let o=_.parentNode(e);return o&&o.nodeType===e.DOCUMENT_NODE?!1:o?cn(o,t):!0}function Lr(e){return!!e.changedTouches}function oa(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach)}function hn(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function fn(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function Tr(e){return e?e instanceof Dr&&"shadowRoot"in e?!!e.shadowRoot:!!_.shadowRoot(e):!1}var Fr=class{constructor(){A(this,"id",1),A(this,"styleIDMap",new WeakMap),A(this,"idStyleMap",new Map)}getId(t){return this.styleIDMap.get(t)??-1}has(t){return this.styleIDMap.has(t)}add(t,r){if(this.has(t))return this.getId(t);let o;return r===void 0?o=this.id++:o=r,this.styleIDMap.set(t,o),this.idStyleMap.set(o,t),o}getStyle(t){return this.idStyleMap.get(t)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}};function pn(e){var t;let r=null;return"getRootNode"in e&&((t=_.getRootNode(e))==null?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&_.host(_.getRootNode(e))&&(r=_.host(_.getRootNode(e))),r}function aa(e){let t=e,r;for(;r=pn(t);)t=r;return t}function la(e){let t=e.ownerDocument;if(!t)return!1;let r=aa(e);return _.contains(t,r)}function dn(e){let t=e.ownerDocument;return t?_.contains(t,e)||la(e):!1}var U=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(U||{}),L=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(L||{}),ae=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(ae||{}),be=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(be||{}),Fe=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(Fe||{}),_e=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(_e||{}),mn=(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))(mn||{});function Oi(e){return"__ln"in e}var Ur=class{constructor(){A(this,"length",0),A(this,"head",null),A(this,"tail",null)}get(t){if(t>=this.length)throw new Error("Position outside of list range");let r=this.head;for(let o=0;o<t;o++)r=r?.next||null;return r}addNode(t){let r={value:t,previous:null,next:null};if(t.__ln=r,t.previousSibling&&Oi(t.previousSibling)){let o=t.previousSibling.__ln.next;r.next=o,r.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=r,o&&(o.previous=r)}else if(t.nextSibling&&Oi(t.nextSibling)&&t.nextSibling.__ln.previous){let o=t.nextSibling.__ln.previous;r.previous=o,r.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=r,o&&(o.next=r)}else this.head&&(this.head.previous=r),r.next=this.head,this.head=r;r.next===null&&(this.tail=r),this.length++}removeNode(t){let r=t.__ln;this.head&&(r.previous?(r.previous.next=r.next,r.next?r.next.previous=r.previous:this.tail=r.previous):(this.head=r.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)}},Mi=(e,t)=>`${e}@${t}`,$r=class{constructor(){A(this,"frozen",!1),A(this,"locked",!1),A(this,"texts",[]),A(this,"attributes",[]),A(this,"attributeMap",new WeakMap),A(this,"removes",[]),A(this,"mapRemoves",[]),A(this,"movedMap",{}),A(this,"addedSet",new Set),A(this,"movedSet",new Set),A(this,"droppedSet",new Set),A(this,"removesSubTreeCache",new Set),A(this,"mutationCb"),A(this,"blockClass"),A(this,"blockSelector"),A(this,"maskTextClass"),A(this,"maskTextSelector"),A(this,"inlineStylesheet"),A(this,"maskInputOptions"),A(this,"maskTextFn"),A(this,"maskInputFn"),A(this,"maskAttributeFn"),A(this,"keepIframeSrcFn"),A(this,"recordCanvas"),A(this,"inlineImages"),A(this,"slimDOMOptions"),A(this,"dataURLOptions"),A(this,"doc"),A(this,"mirror"),A(this,"iframeManager"),A(this,"stylesheetManager"),A(this,"shadowDomManager"),A(this,"canvasManager"),A(this,"processedNodeManager"),A(this,"unattachedDoc"),A(this,"processMutations",t=>
vendor: 5,618 bytes, line 53
53{t.forEach(this.processMutation),this.emit()}),A(this,"emit",()=>{if(this.frozen||this.locked)return;let t=[],r=new Set,o=new Ur,s=n=>{let p=n,i=je;for(;i===je;)p=p&&p.nextSibling,i=p&&this.mirror.getId(p);return i},c=n=>{let p=_.parentNode(n);if(!p||!dn(n))return;let i=!1;if(n.nodeType===Node.TEXT_NODE){let l=p.tagName;if(l==="TEXTAREA")return;l==="STYLE"&&this.addedSet.has(p)&&(i=!0)}let h=Be(p)?this.mirror.getId(pn(n)):this.mirror.getId(p),a=s(n);if(h===-1||a===-1)return o.addNode(n);let m=Le(n,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:l=>{hn(l,this.mirror)&&this.iframeManager.addIframe(l),fn(l,this.mirror)&&this.stylesheetManager.trackLinkElement(l),Tr(n)&&this.shadowDomManager.addShadowRoot(_.shadowRoot(n),this.doc)},onIframeLoad:(l,u)=>{this.iframeManager.attachIframe(l,u),this.shadowDomManager.observeAttachShadow(l)},onStylesheetLoad:(l,u)=>{this.stylesheetManager.attachLinkElement(l,u)},cssCaptured:i});m&&(t.push({parentId:h,nextId:a,node:m}),r.add(m.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let n of this.movedSet)Ei(this.removesSubTreeCache,n,this.mirror)&&!this.movedSet.has(_.parentNode(n))||c(n);for(let n of this.addedSet)!Ii(this.droppedSet,n)&&!Ei(this.removesSubTreeCache,n,this.mirror)||Ii(this.movedSet,n)?c(n):this.droppedSet.add(n);let f=null;for(;o.length;){let n=null;if(f){let p=this.mirror.getId(_.parentNode(f.value)),i=s(f.value);p!==-1&&i!==-1&&(n=f)}if(!n){let p=o.tail;for(;p;){let i=p;if(p=p.previous,i){let h=this.mirror.getId(_.parentNode(i.value));if(s(i.value)===-1)continue;if(h!==-1){n=i;break}else{let m=i.value,l=_.parentNode(m);if(l&&l.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let u=_.host(l);if(this.mirror.getId(u)!==-1){n=i;break}}}}}}if(!n){for(;o.head;)o.removeNode(o.head.value);break}f=n.previous,o.removeNode(n.value),c(n.value)}let d={texts:this.texts.map(n=>{let p=n.node,i=_.parentNode(p);return i&&i.tagName==="TEXTAREA"&&this.genTextAreaValueMutation(i),{id:this.mirror.getId(p),value:n.value}}).filter(n=>!r.has(n.id)).filter(n=>this.mirror.has(n.id)),attributes:this.attributes.map(n=>{let{attributes:p}=n;if(typeof p.style=="string"){let i=JSON.stringify(n.styleDiff),h=JSON.stringify(n._unchangedStyles);i.length<p.style.length&&(i+h).split("var(").length===p.style.split("var(").length&&(p.style=n.styleDiff)}return{id:this.mirror.getId(n.node),attributes:p}}).filter(n=>!r.has(n.id)).filter(n=>this.mirror.has(n.id)),removes:this.removes,adds:t};!d.texts.length&&!d.attributes.length&&!d.removes.length&&!d.adds.length||(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.removesSubTreeCache=new Set,this.movedMap={},this.mutationCb(d))}),A(this,"genTextAreaValueMutation",t=>{let r=this.attributeMap.get(t);r||(r={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(r),this.attributeMap.set(t,r));let o=Array.from(_.childNodes(t),s=>_.textContent(s)||"").join("");r.attributes.value=at({element:t,maskInputOptions:this.maskInputOptions,tagName:t.tagName,type:lt(t),value:o,maskInputFn:this.maskInputFn})}),A(this,"processMutation",t=>{if(!kr(t.target,this.mirror,this.slimDOMOptions))switch(t.type){case"characterData":{let r=_.textContent(t.target);!ne(t.target,this.blockClass,this.blockSelector,!1)&&r!==t.oldValue&&this.texts.push({value:Wi(t.target,this.maskTextClass,this.maskTextSelector,!0)&&r?this.maskTextFn?this.maskTextFn(r,un(t.target)):r.replace(/[\S]/g,"*"):r,node:t.target});break}case"attributes":{let r=t.target,o=t.attributeName,s=t.target.getAttribute(o);if(o==="value"){let f=lt(r);s=at({element:r,maskInputOptions:this.maskInputOptions,tagName:r.tagName,type:f,value:s,maskInputFn:this.maskInputFn})}if(ne(t.target,this.blockClass,this.blockSelector,!1)||s===t.oldValue)return;let c=this.attributeMap.get(t.target);if(r.tagName==="IFRAME"&&o==="src"&&!this.keepIframeSrcFn(s))if(!r.contentDocument)o="rr_src";else return;if(c||(c={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(c),this.attributeMap.set(t.target,c)),o==="type"&&r.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&r.setAttribute("data-rr-is-password","true"),!Bi(r.tagName,o)){if(c.attributes[o]=zi(this.doc,Oe(r.tagName),Oe(o),s),this.maskAttributeFn&&typeof c.attributes[o]=="string"){let f=this.maskAttributeFn(o,c.attributes[o],r);f!==null?c.attributes[o]=f:delete c.attributes[o]}if(o==="style"){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}let f=this.unattachedDoc.createElement("span");t.oldValue&&f.setAttribute("style",t.oldValue);for(let d of Array.from(r.style)){let n=r.style.getPropertyValue(d),p=r.style.getPropertyPriority(d);n!==f.style.getPropertyValue(d)||p!==f.style.getPropertyPriority(d)?p===""?c.styleDiff[d]=n:c.styleDiff[d]=[n,p]:c._unchangedStyles[d]=[n,p]}for(let d of Array.from(f.style))r.style.getPropertyValue(d)===""&&(c.styleDiff[d]=!1)}else o==="open"&&r.tagName==="DIALOG"&&(r.matches("dialog:modal")?c.attributes.rr_open_mode="modal":c.attributes.rr_open_mode="non-modal")}break}
vendor: 15,338 bytes, line 53
53case"childList":{if(ne(t.target,this.blockClass,this.blockSelector,!0))return;if(t.target.tagName==="TEXTAREA"){this.genTextAreaValueMutation(t.target);return}t.addedNodes.forEach(r=>this.genAdds(r,t.target)),t.removedNodes.forEach(r=>{let o=this.mirror.getId(r),s=Be(t.target)?this.mirror.getId(_.host(t.target)):this.mirror.getId(t.target);ne(t.target,this.blockClass,this.blockSelector,!1)||kr(r,this.mirror,this.slimDOMOptions)||!na(r,this.mirror)||(this.addedSet.has(r)?(zr(this.addedSet,r),this.droppedSet.add(r)):this.addedSet.has(t.target)&&o===-1||cn(t.target,this.mirror)||(this.movedSet.has(r)&&this.movedMap[Mi(o,s)]?zr(this.movedSet,r):(this.removes.push({parentId:s,id:o,isShadow:Be(t.target)&&We(t.target)?!0:void 0}),ua(r,this.removesSubTreeCache))),this.mapRemoves.push(r))});break}}}),A(this,"genAdds",(t,r)=>{if(!this.processedNodeManager.inOtherBuffer(t,this)&&!(this.addedSet.has(t)||this.movedSet.has(t))){if(this.mirror.hasNode(t)){if(kr(t,this.mirror,this.slimDOMOptions))return;this.movedSet.add(t);let o=null;r&&this.mirror.hasNode(r)&&(o=this.mirror.getId(r)),o&&o!==-1&&(this.movedMap[Mi(this.mirror.getId(t),o)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);ne(t,this.blockClass,this.blockSelector,!1)||(_.childNodes(t).forEach(o=>this.genAdds(o)),Tr(t)&&_.childNodes(_.shadowRoot(t)).forEach(o=>{this.processedNodeManager.add(o,this),this.genAdds(o,t)}))}})}init(t){["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","maskAttributeFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(r=>{this[r]=t[r]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}};function zr(e,t){e.delete(t),_.childNodes(t).forEach(r=>zr(e,r))}function ua(e,t){let r=[e];for(;r.length;){let o=r.pop();t.has(o)||(t.add(o),_.childNodes(o).forEach(s=>r.push(s)))}}function Ei(e,t,r){return e.size===0?!1:ca(e,t)}function ca(e,t,r){let o=_.parentNode(t);return o?e.has(o):!1}function Ii(e,t){return e.size===0?!1:gn(e,t)}function gn(e,t){let r=_.parentNode(t);return r?e.has(r)?!0:gn(e,r):!1}var qe;function ha(e){qe=e}function fa(){qe=void 0}var T=e=>qe?(...r)=>{try{return e(...r)}catch(o){if(qe&&qe(o)===!0)return;throw o}}:e;function Ai(e){return(...t)=>{try{return e(...t)}catch(r){try{r._external_=!0}catch{}throw r}}}var Re=[];function Je(e){try{if("composedPath"in e){let t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function yn(e,t){let r=new $r;Re.push(r),r.init(e);let o=new(nn())(T(r.processMutations.bind(r)));return o.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}function pa({mousemoveCb:e,sampling:t,doc:r,mirror:o}){if(t.mousemove===!1)return()=>{};let s=typeof t.mousemove=="number"?t.mousemove:50,c=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500,f=[],d,n=Ve(T(h=>{let a=Date.now()-d;e(f.map(m=>(m.timeOffset-=a,m)),h),f=[],d=null}),c),p=T(Ve(T(h=>{let a=Je(h),{clientX:m,clientY:l}=Lr(h)?h.changedTouches[0]:h;d||(d=ht()),f.push({x:m,y:l,id:o.getId(a),timeOffset:ht()-d}),n(typeof DragEvent<"u"&&h instanceof DragEvent?L.Drag:h instanceof MouseEvent?L.MouseMove:L.TouchMove)}),s,{trailing:!1})),i=[ie("mousemove",p,r),ie("touchmove",p,r),ie("drag",p,r)];return T(()=>{i.forEach(h=>h())})}function da({mouseInteractionCb:e,doc:t,mirror:r,blockClass:o,blockSelector:s,sampling:c}){if(c.mouseInteraction===!1)return()=>{};let f=c.mouseInteraction===!0||c.mouseInteraction===void 0?{}:c.mouseInteraction,d=[],n=null,p=i=>h=>{let a=Je(h);if(ne(a,o,s,!0))return;let m=null,l=i;if("pointerType"in h){switch(h.pointerType){case"mouse":m=be.Mouse;break;case"touch":m=be.Touch;break;case"pen":m=be.Pen;break}m===be.Touch?ae[i]===ae.MouseDown?l="TouchStart":ae[i]===ae.MouseUp&&(l="TouchEnd"):be.Pen}else Lr(h)&&(m=be.Touch);m!==null?(n=m,(l.startsWith("Touch")&&m===be.Touch||l.startsWith("Mouse")&&m===be.Mouse)&&(m=null)):ae[i]===ae.Click&&(m=n,n=null);let u=Lr(h)?h.changedTouches[0]:h;if(!u)return;let y=r.getId(a),{clientX:g,clientY:w}=u;T(e)(D({type:ae[l],id:y,x:g,y:w},m!==null&&{pointerType:m}))};return Object.keys(ae).filter(i=>Number.isNaN(Number(i))&&!i.endsWith("_Departed")&&f[i]!==!1).forEach(i=>{let h=Oe(i),a=p(i);if(window.PointerEvent)switch(ae[i]){case ae.MouseDown:case ae.MouseUp:h=h.replace("mouse","pointer");break;case ae.TouchStart:case ae.TouchEnd:return}d.push(ie(h,a,t))}),T(()=>{d.forEach(i=>i())})}function wn({scrollCb:e,doc:t,mirror:r,blockClass:o,blockSelector:s,sampling:c}){let f=T(Ve(T(d=>{let n=Je(d);if(!n||ne(n,o,s,!0))return;let p=r.getId(n);if(n===t&&t.defaultView){let i=on(t.defaultView);e({id:p,x:i.left,y:i.top})}else e({id:p,x:n.scrollLeft,y:n.scrollTop})}),c.scroll||100));return ie("scroll",f,t)}function ma({viewportResizeCb:e},{win:t}){let r=-1,o=-1,s=T(Ve(T(()=>{let c=an(),f=ln();(r!==c||o!==f)&&(e({width:Number(f),height:Number(c)}),r=c,o=f)}),200));return ie("resize",s,t)}var ga=["INPUT","TEXTAREA","SELECT"],Ni=new WeakMap;function ya({inputCb:e,doc:t,mirror:r,blockClass:o,blockSelector:s,ignoreClass:c,ignoreSelector:f,maskInputOptions:d,maskInputFn:n,sampling:p,userTriggeredOnInput:i}){function h(w){let v=Je(w),R=w.isTrusted,x=v&&v.tagName;if(v&&x==="OPTION"&&(v=_.parentElement(v)),!v||!x||ga.indexOf(x)<0||ne(v,o,s,!0)||v.classList.contains(c)||f&&v.matches(f))return;let b=v.value,S=!1,C=lt(v)||"";C==="radio"||C==="checkbox"?S=v.checked:(d[x.toLowerCase()]||d[C])&&(b=at({element:v,maskInputOptions:d,tagName:x,type:C,value:b,maskInputFn:n})),a(v,i?{text:b,isChecked:S,userTriggered:R}:{text:b,isChecked:S});let E=v.name;C==="radio"&&E&&S&&t.querySelectorAll(`input[type="radio"][name="${E}"]`).forEach(O=>{if(O!==v){let k=O.value;a(O,i?{text:k,isChecked:!S,userTriggered:!1}:{text:k,isChecked:!S})}})}function a(w,v){let R=Ni.get(w);if(!R||R.text!==v.text||R.isChecked!==v.isChecked){Ni.set(w,v);let x=r.getId(w);T(e)(ue(D({},v),{id:x}))}}let l=(p.input==="last"?["change"]:["input","change"]).map(w=>ie(w,T(h),t)),u=t.defaultView;if(!u)return()=>{l.forEach(w=>w())};let y=u.Object.getOwnPropertyDescriptor(u.HTMLInputElement.prototype,"value"),g=[[u.HTMLInputElement.prototype,"value"],[u.HTMLInputElement.prototype,"checked"],[u.HTMLSelectElement.prototype,"value"],[u.HTMLTextAreaElement.prototype,"value"],[u.HTMLSelectElement.prototype,"selectedIndex"],[u.HTMLOptionElement.prototype,"selected"]];return y&&y.set&&l.push(...g.map(w=>Ot(w[0],w[1],{set(){T(h)({target:this,isTrusted:!1})}},!1,u))),T(()=>{l.forEach(w=>w())})}function ft(e){let t=[];function r(o,s){if(rt("CSSGroupingRule")&&o.parentRule instanceof CSSGroupingRule||rt("CSSMediaRule")&&o.parentRule instanceof CSSMediaRule||rt("CSSSupportsRule")&&o.parentRule instanceof CSSSupportsRule||rt("CSSConditionRule")&&o.parentRule instanceof CSSConditionRule){let f=Array.from(o.parentRule.cssRules).indexOf(o);s.unshift(f)}else if(o.parentStyleSheet){let f=Array.from(o.parentStyleSheet.cssRules).indexOf(o);s.unshift(f)}return s}return r(e,t)}function ve(e,t,r){let o,s;return e?(e.ownerNode?o=t.getId(e.ownerNode):s=r.getId(e),{styleId:s,id:o}):{}}function wa({styleSheetRuleCb:e,mirror:t,stylesheetManager:r},{win:o}){if(!o.CSSStyleSheet||!o.CSSStyleSheet.prototype)return()=>{};let s=o.CSSStyleSheet.prototype.insertRule;o.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:T((i,h,a)=>{let[m,l]=a,{id:u,styleId:y}=ve(h,t,r.styleMirror);return(u&&u!==-1||y&&y!==-1)&&e({id:u,styleId:y,adds:[{rule:m,index:l}]}),Ai(()=>i.apply(h,a))()})}),o.CSSStyleSheet.prototype.addRule=function(i,h,a=this.cssRules.length){let m=`${i} { ${h} }`;return o.CSSStyleSheet.prototype.insertRule.apply(this,[m,a])};let c=o.CSSStyleSheet.prototype.deleteRule;o.CSSStyleSheet.prototype.deleteRule=new Proxy(c,{apply:T((i,h,a)=>{let[m]=a,{id:l,styleId:u}=ve(h,t,r.styleMirror);return(l&&l!==-1||u&&u!==-1)&&e({id:l,styleId:u,removes:[{index:m}]}),Ai(()=>i.apply(h,a))()})}),o.CSSStyleSheet.prototype.removeRule=function(i){return o.CSSStyleSheet.prototype.deleteRule.apply(this,[i])};let f;o.CSSStyleSheet.prototype.replace&&(f=o.CSSStyleSheet.prototype.replace,o.CSSStyleSheet.prototype.replace=new Proxy(f,{apply:T((i,h,a)=>{let[m]=a,{id:l,styleId:u}=ve(h,t,r.styleMirror);return(l&&l!==-1||u&&u!==-1)&&e({id:l,styleId:u,replace:m}),i.apply(h,a)})}));let d;o.CSSStyleSheet.prototype.replaceSync&&(d=o.CSSStyleSheet.prototype.replaceSync,o.CSSStyleSheet.prototype.replaceSync=new Proxy(d,{apply:T((i,h,a)=>{let[m]=a,{id:l,styleId:u}=ve(h,t,r.styleMirror);return(l&&l!==-1||u&&u!==-1)&&e({id:l,styleId:u,replaceSync:m}),i.apply(h,a)})}));let n={};st("CSSGroupingRule")?n.CSSGroupingRule=o.CSSGroupingRule:(st("CSSMediaRule")&&(n.CSSMediaRule=o.CSSMediaRule),st("CSSConditionRule")&&(n.CSSConditionRule=o.CSSConditionRule),st("CSSSupportsRule")&&(n.CSSSupportsRule=o.CSSSupportsRule));let p={};return Object.entries(n).forEach(([i,h])=>{p[i]={insertRule:h.prototype.insertRule,deleteRule:h.prototype.deleteRule},h.prototype.insertRule=new Proxy(p[i].insertRule,{apply:T((a,m,l)=>{let[u,y]=l,{id:g,styleId:w}=ve(m.parentStyleSheet,t,r.styleMirror);return(g&&g!==-1||w&&w!==-1)&&e({id:g,styleId:w,adds:[{rule:u,index:[...ft(m),y||0]}]}),a.apply(m,l)})}),h.prototype.deleteRule=new Proxy(p[i].deleteRule,{apply:T((a,m,l)=>{let[u]=l,{id:y,styleId:g}=ve(m.parentStyleSheet,t,r.styleMirror);return(y&&y!==-1||g&&g!==-1)&&e({id:y,styleId:g,removes:[{index:[...ft(m),u]}]}),a.apply(m,l)})})}),T(()=>{o.CSSStyleSheet.prototype.insertRule=s,o.CSSStyleSheet.prototype.deleteRule=c,f&&(o.CSSStyleSheet.prototype.replace=f),d&&(o.CSSStyleSheet.prototype.replaceSync=d),Object.entries(n).forEach(([i,h])=>{h.prototype.insertRule=p[i].insertRule,h.prototype.deleteRule=p[i].deleteRule})})}function bn({mirror:e,stylesheetManager:t},r){var o,s,c;let f=null;r.nodeName==="#document"?f=e.getId(r):f=e.getId(_.host(r));let d=r.nodeName==="#document"?(o=r.defaultView)==null?void 0:o.Document:(c=(s=r.ownerDocument)==null?void 0:s.defaultView)==null?void 0:c.ShadowRoot,n=d?.prototype?Object.getOwnPropertyDescriptor(d?.prototype,"adoptedStyleSheets"):void 0;return f===null||f===-1||!d||!n?()=>{}:(Object.defineProperty(r,"adoptedStyleSheets",{configurable:n.configurable,enumerable:n.enumerable,get(){var p;return(p=n.get)==null?void 0:p.call(this)},set(p){var i;let h=(i=n.set)==null?void 0:i.call(this,p);if(f!==null&&f!==-1)try{t.adoptStyleSheets(p,f)}catch{}return h}}),T(()=>{Object.defineProperty(r,"adoptedStyleSheets",{configurable:n.configurable,enumerable:n.enumerable,get:n.get,set:n.set})}))}function ba({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:r,stylesheetManager:o},{win:s}){let c=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(c,{apply:T((d,n,p)=>{var i;let[h,a,m]=p;if(r.has(h))return c.apply(n,[h,a,m]);let{id:l,styleId:u}=ve((i=n.parentRule)==null?void 0:i.parentStyleSheet,t,o.styleMirror);return(l&&l!==-1||u&&u!==-1)&&e({id:l,styleId:u,set:{property:h,value:a,priority:m},index:ft(n.parentRule)}),d.apply(n,p)})});let f=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(f,{apply:T((d,n,p)=>{var i;let[h]=p;if(r.has(h))return f.apply(n,[h]);let{id:a,styleId:m}=ve((i=n.parentRule)==null?void 0:i.parentStyleSheet,t,o.styleMirror);return(a&&a!==-1||m&&m!==-1)&&e({id:a,styleId:m,remove:{property:h},index:ft(n.parentRule)}),d.apply(n,p)})}),T(()=>{s.CSSStyleDeclaration.prototype.setProperty=c,s.CSSStyleDeclaration.prototype.removeProperty=f})}function Sa({mediaInteractionCb:e,blockClass:t,blockSelector:r,mirror:o,sampling:s,doc:c}){let f=T(n=>Ve(T(p=>{let i=Je(p);if(!i||ne(i,t,r,!0))return;let{currentTime:h,volume:a,muted:m,playbackRate:l,loop:u}=i;e({type:n,id:o.getId(i),currentTime:h,volume:a,muted:m,playbackRate:l,loop:u})}),s.media||500)),d=[ie("play",f(_e.Play),c),ie("pause",f(_e.Pause),c),ie("seeked",f(_e.Seeked),c),ie("volumechange",f(_e.VolumeChange),c),ie("ratechange",f(_e.RateChange),c)];return T(()=>{d.forEach(n=>n())})}function va({fontCb:e,doc:t}){let r=t.defaultView;if(!r)return()=>{};let o=[],s=new WeakMap,c=r.FontFace;r.FontFace=function(n,p,i){let h=new c(n,p,i);return s.set(h,{family:n,buffer:typeof p!="string",descriptors:i,fontSource:typeof p=="string"?p:JSON.stringify(Array.from(new Uint8Array(p)))}),h};let f=Ue(t.fonts,"add",function(d){return function(n){return setTimeout(T(()=>{let p=s.get(n);p&&(e(p),s.delete(n))}),0),d.apply(this,[n])}});return o.push(()=>{r.FontFace=c}),o.push(f),T(()=>{o.forEach(d=>d())})}function Ca(e){let{doc:t,mirror:r,blockClass:o,blockSelector:s,selectionCb:c}=e,f=!0,d=T(()=>{let n=t.getSelection();if(!n||f&&n?.isCollapsed)return;f=n.isCollapsed||!1;let p=[],i=n.rangeCount||0;for(let h=0;h<i;h++){let a=n.getRangeAt(h),{startContainer:m,startOffset:l,endContainer:u,endOffset:y}=a;ne(m,o,s,!0)||ne(u,o,s,!0)||p.push({start:r.getId(m),startOffset:l,end:r.getId(u),endOffset:y})}c({ranges:p})});return d(),ie("selectionchange",d)}function xa({doc:e,customElementCb:t}){let r=e.defaultView;return!r||!r.customElements?()=>{}:Ue(r.customElements,"define",function(s){return function(c,f,d){try{t({define:{name:c}})}catch{console.warn(`Custom element callback failed for ${c}`)}return s.apply(this,[c,f,d])}})}function Ra(e,t){let{mutationCb:r,mousemoveCb:o,mouseInteractionCb:s,scrollCb:c,viewportResizeCb:f,inputCb:d,mediaInteractionCb:n,styleSheetRuleCb:p,styleDeclarationCb:i,canvasMutationCb:h,fontCb:a,selectionCb:m,customElementCb:l}=e;e.mutationCb=(...u)=>{t.mutation&&t.mutation(...u),r(...u)},e.mousemoveCb=(...u)=>{t.mousemove&&t.mousemove(...u),o(...u)},e.mouseInteractionCb=(...u)=>{t.mouseInteraction&&t.mouseInteraction(...u),s(...u)},e.scrollCb=(...u)=>{t.scroll&&t.scroll(...u),c(...u)},e.viewportResizeCb=(...u)=>{t.viewportResize&&t.viewportResize(...u),f(...u)},e.inputCb=(...u)=>{t.input&&t.input(...u),d(...u)},e.mediaInteractionCb=(...u)=>{t.mediaInteaction&&t.mediaInteaction(...u),n(...u)},e.styleSheetRuleCb=(...u)=>{t.styleSheetRule&&t.styleSheetRule(...u),p(...u)},e.styleDeclarationCb=(...u)=>{t.styleDeclaration&&t.styleDeclaration(...u),i(...u)},e.canvasMutationCb=(...u)=>{t.canvasMutation&&t.canvasMutation(...u),h(...u)},e.fontCb=(...u)=>{t.font&&t.font(...u),a(...u)},e.selectionCb=(...u)=>{t.selection&&t.selection(...u),m(...u)},e.customElementCb=(...u)=>{t.customElement&&t.customElement(...u),l(...u)}}function Oa(e,t={}){let r=e.doc.defaultView;if(!r)return()=>{};Ra(e,t);let o;e.recordDOM&&(o=yn(e,e.doc));let s=pa(e),c=da(e),f=wn(e),d=ma(e,{win:r}),n=ya(e),p=Sa(e),i=()=>{},h=()=>{},a=()=>{},m=()=>{};e.recordDOM&&(i=wa(e,{win:r}),h=bn(e,e.doc),a=ba(e,{win:r}),e.collectFonts&&(m=va(e)));let l=Ca(e),u=xa(e),y=[];for(let g of e.plugins)y.push(g.observer(g.callback,r,g.options));return T(()=>{Re.forEach(g=>g.reset()),o?.disconnect(),s(),c(),f(),d(),n(),p(),i(),h(),a(),m(),l(),u(),y.forEac
vendor: 4,326 bytes, line 53
53h(g=>g())})}function rt(e){return typeof window[e]<"u"}function st(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}var pt=class{constructor(t){A(this,"iframeIdToRemoteIdMap",new WeakMap),A(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=t}getId(t,r,o,s){let c=o||this.getIdToRemoteIdMap(t),f=s||this.getRemoteIdToIdMap(t),d=c.get(r);return d||(d=this.generateIdFn(),c.set(r,d),f.set(d,r)),d}getIds(t,r){let o=this.getIdToRemoteIdMap(t),s=this.getRemoteIdToIdMap(t);return r.map(c=>this.getId(t,c,o,s))}getRemoteId(t,r,o){let s=o||this.getRemoteIdToIdMap(t);if(typeof r!="number")return r;let c=s.get(r);return c||-1}getRemoteIds(t,r){let o=this.getRemoteIdToIdMap(t);return r.map(s=>this.getRemoteId(t,s,o))}reset(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let r=this.iframeIdToRemoteIdMap.get(t);return r||(r=new Map,this.iframeIdToRemoteIdMap.set(t,r)),r}getRemoteIdToIdMap(t){let r=this.iframeRemoteIdToIdMap.get(t);return r||(r=new Map,this.iframeRemoteIdToIdMap.set(t,r)),r}},Br=class{constructor(t){A(this,"iframes",new WeakMap),A(this,"crossOriginIframeMap",new WeakMap),A(this,"crossOriginIframeMirror",new pt($i)),A(this,"crossOriginIframeStyleMirror"),A(this,"crossOriginIframeRootIdMap",new WeakMap),A(this,"mirror"),A(this,"mutationCb"),A(this,"wrappedEmit"),A(this,"loadListener"),A(this,"stylesheetManager"),A(this,"recordCrossOriginIframes"),this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new pt(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(t){this.iframes.set(t,!0),t.contentWindow&&this.crossOriginIframeMap.set(t.contentWindow,t)}addLoadListener(t){this.loadListener=t}attachIframe(t,r){var o,s;this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:r}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&((o=t.contentWindow)==null||o.addEventListener("message",this.handleMessage.bind(this))),(s=this.loadListener)==null||s.call(this,t),t.contentDocument&&t.contentDocument.adoptedStyleSheets&&t.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(t.contentDocument.adoptedStyleSheets,this.mirror.getId(t.contentDocument))}handleMessage(t){let r=t;if(r.data.type!=="rrweb"||r.origin!==r.data.origin||!t.source)return;let s=this.crossOriginIframeMap.get(t.source);if(!s)return;let c=this.transformCrossOriginEvent(s,r.data.event);c&&this.wrappedEmit(c,r.data.isCheckout)}transformCrossOriginEvent(t,r){var o;switch(r.type){case U.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(r.data.node,t);let s=r.data.node.id;return this.crossOriginIframeRootIdMap.set(t,s),this.patchRootIdOnNode(r.data.node,s),{timestamp:r.timestamp,type:U.IncrementalSnapshot,data:{source:L.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:r.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case U.Meta:case U.Load:case U.DomContentLoaded:return!1;case U.Plugin:return r;case U.Custom:return this.replaceIds(r.data.payload,t,["id","parentId","previousId","nextId"]),r;case U.IncrementalSnapshot:switch(r.data.source){case L.Mutation:return r.data.adds.forEach(s=>{this.replaceIds(s,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(s.node,t);let c=this.crossOriginIframeRootIdMap.get(t);c&&this.patchRootIdOnNode(s.node,c)}),r.data.removes.forEach(s=>{this.replaceIds(s,t,["parentId","id"])}),r.data.attributes.forEach(s=>{this.replaceIds(s,t,["id"])}),r.data.texts.forEach(s=>{this.replaceIds(s,t,["id"])}),r;case L.Drag:case L.TouchMove:case L.MouseMove:return r.data.positions.forEach(s=>{this.replaceIds(s,t,["id"])}),r;case L.ViewportResize:return!1;case L.MediaInteraction:case L.MouseInteraction:case L.Scroll:case L.CanvasMutation:case L.Input:return this.replaceIds(r.data,t,["i
53d"]),r;case L.StyleSheetRule:case L.StyleDeclaration:return this.replaceIds(r.data,t,["id"]),this.replaceStyleIds(r.data,t,["styleId"]),r;case L.Font:return r;case L.Selection:return r.data.ranges.forEach(s=>{this.replaceIds(s,t,["start","end"])}),r;case L.AdoptedStyleSheet:return this.replaceIds(r.data,t,["id"]),this.replaceStyleIds(r.data,t,["styleIds"]),(o=r.data.styles)==null||o.forEach(s=>{this.replaceStyleIds(s,t,["styleId"])}),r}}return!1}replace(t,r,o,s){for(let c of s)!Array.isArray(r[c])&&typeof r[c]!="number"||(Array.isArray(r[c])?r[c]=t.getIds(o,r[c]):r[c]=t.getId(o,r[c]));return r}replaceIds(t,r,o){return this.replace(this.crossOriginIframeMirror,t,r,o)}replaceStyleIds(t,r,o){return this.replace(this.crossOriginIframeStyleMirror,t,r,o)}replaceIdOnNode(t,r){this.replaceIds(t,r,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(o=>{this.replaceIdOnNode(o,r)})}patchRootIdOnNode(t,r){t.type!==mn.Document&&!t.rootId&&(t.rootId=r),"childNodes"in t&&t.childNodes.forEach(o=>{this.patchRootIdOnNode(o,r)})}},Wr=class{constructor(t){A(this,"shadowDoms",new WeakSet),A(this,"mutationCb"),A(this,"scrollCb"),A(this,"bypassOptions"),A(this,"mirror"),A(this,"restoreHandlers",[]),this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(t,r){if(!We(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t);let o=yn(ue(D({},this.bypassOptions),{doc:r,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),t);this.restoreHandlers.push(()=>o.disconnect()),this.restoreHandlers.push(wn(ue(D({},this.bypassOptions),{scrollCb:this.scrollCb,doc:t,mirror:this.mirror}))),setTimeout(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(_.host(t))),this.restoreHandlers.push(bn({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){!t.contentWindow||!t.contentDocument||this.patchAttachShadow(t.contentWindow.Element,t.contentDocument)}patchAttachShadow(t,r){let o=this;this.restoreHandlers.push(Ue(t.prototype,"attachShadow",function(s){return function(c){let f=s.call(this,c),d=_.shadowRoot(this);return d&&dn(this)&&o.addShadowRoot(d,r),f}}))}reset(){this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet}},Te="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ma=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(ze=0;ze<Te.length;ze++)Ma[Te.charCodeAt(ze)]=ze;var ze,Ea=function(e){var t=new Uint8Array(e),r,o=t.length,s="";for(r=0;r<o;r+=3)s+=Te[t[r]>>2],s+=Te[(t[r]&3)<<4|t[r+1]>>4],s+=Te[(t[r+1]&15)<<2|t[r+2]>>6],s+=Te[t[r+2]&63];return o%3===2?s=s.substring(0,s.length-1)+"=":o%3===1&&(s=s.substring(0,s.length-2)+"=="),s},ki=new Map;function Ia(e,t){let r=ki.get(e);return r||(r=new Map,ki.set(e,r)),r.has(t)||r.set(t,[]),r.get(t)}var Sn=(e,t,r)=>{if(!e||!(Cn(e,t)||typeof e=="object"))return;let o=e.constructor.name,s=Ia(r,o),c=s.indexOf(e);return c===-1&&(c=s.length,s.push(e)),c};function it(e,t,r){if(e instanceof Array)return e.map(o=>it(o,t,r));if(e===null)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){let o=e.constructor.name,s=Ea(e);return{rr_type:o,base64:s}}else{if(e instanceof DataView)return{rr_type:e.constructor.name,args:[it(e.buffer,t,r),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement){let o=e.constructor.name,{src:s}=e;return{rr_type:o,src:s}}else if(e instanceof HTMLCanvasElement){let o="HTMLImageElement",s=e.toDataURL();return{rr_type:o,src:s}}else{if(e instanceof ImageData)return{rr_type:e.constructor.name,args:[it(e.data,t,r),e.width,e.height]};if(Cn(e,t)||typeof e=="object"){let o=e.constructor.name,s=Sn(e,t,r);return{rr_type:o,index:s}}}}return e}var vn=(e,t,r)=>e.map(o=>it(o,t,r)),Cn=(e,t)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(s=>typeof t[s]=="function").find(s=>e instanceof t[s]);function Aa(e,t,r,o){let s=[],c=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);
vendor: 6,597 bytes, lines 53-128
53for(let f of c)try{if(typeof t.CanvasRenderingContext2D.prototype[f]!="function")continue;let d=Ue(t.CanvasRenderingContext2D.prototype,f,function(n){return function(...p){return ne(this.canvas,r,o,!0)||setTimeout(()=>{let i=vn(p,t,this);e(this.canvas,{type:Fe["2D"],property:f,args:i})},0),n.apply(this,p)}});s.push(d)}catch{let d=Ot(t.CanvasRenderingContext2D.prototype,f,{set(n){e(this.canvas,{type:Fe["2D"],property:f,args:[n],setter:!0})}});s.push(d)}return()=>{s.forEach(f=>f())}}function Na(e){return e==="experimental-webgl"?"webgl":e}function Pi(e,t,r,o){let s=[];try{let c=Ue(e.HTMLCanvasElement.prototype,"getContext",function(f){return function(d,...n){if(!ne(this,t,r,!0)){let p=Na(d);if("__context"in this||(this.__context=p),o&&["webgl","webgl2"].includes(p))if(n[0]&&typeof n[0]=="object"){let i=n[0];i.preserveDrawingBuffer||(i.preserveDrawingBuffer=!0)}else n.splice(0,1,{preserveDrawingBuffer:!0})}return f.apply(this,[d,...n])}});s.push(c)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{s.forEach(c=>c())}}function _i(e,t,r,o,s,c){let f=[],d=Object.getOwnPropertyNames(e);for(let n of d)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(n))try{if(typeof e[n]!="function")continue;let p=Ue(e,n,function(i){return function(...h){let a=i.apply(this,h);if(Sn(a,c,this),"tagName"in this.canvas&&!ne(this.canvas,o,s,!0)){let m=vn(h,c,this),l={type:t,property:n,args:m};r(this.canvas,l)}return a}});f.push(p)}catch{let p=Ot(e,n,{set(i){r(this.canvas,{type:t,property:n,args:[i],setter:!0})}});f.push(p)}return f}function ka(e,t,r,o){let s=[];return s.push(..._i(t.WebGLRenderingContext.prototype,Fe.WebGL,e,r,o,t)),typeof t.WebGL2RenderingContext<"u"&&s.push(..._i(t.WebGL2RenderingContext.prototype,Fe.WebGL2,e,r,o,t)),()=>{s.forEach(c=>c())}}var xn=`(function() { 54 "use strict"; 55 var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; 56 var lookup = typeof Uint8Array === "undefined" ? [] : new Uint8Array(256); 57 for (var i = 0; i < chars.length; i++) { 58 lookup[chars.charCodeAt(i)] = i; 59 } 60 var encode = function(arraybuffer) { 61 var bytes = new Uint8Array(arraybuffer), i2, len = bytes.length, base64 = ""; 62 for (i2 = 0; i2 < len; i2 += 3) { 63 base64 += chars[bytes[i2] >> 2]; 64 base64 += chars[(bytes[i2] & 3) << 4 | bytes[i2 + 1] >> 4]; 65 base64 += chars[(bytes[i2 + 1] & 15) << 2 | bytes[i2 + 2] >> 6]; 66 base64 += chars[bytes[i2 + 2] & 63]; 67 } 68 if (len % 3 === 2) { 69 base64 = base64.substring(0, base64.length - 1) + "="; 70 } else if (len % 3 === 1) { 71 base64 = base64.substring(0, base64.length - 2) + "=="; 72 } 73 return base64; 74 }; 75 const lastBlobMap = /* @__PURE__ */ new Map(); 76 const transparentBlobMap = /* @__PURE__ */ new Map(); 77 async function getTransparentBlobFor(width, height, dataURLOptions) { 78 const id = \`\${width}-\${height}\`; 79 if ("OffscreenCanvas" in globalThis) { 80 if (transparentBlobMap.has(id)) return transparentBlobMap.get(id); 81 const offscreen = new OffscreenCanvas(width, height); 82 offscreen.getContext("2d"); 83 const blob = await offscreen.convertToBlob(dataURLOptions); 84 const arrayBuffer = await blob.arrayBuffer(); 85 const base64 = encode(arrayBuffer); 86 transparentBlobMap.set(id, base64); 87 return base64; 88 } else { 89 return ""; 90 } 91 } 92 const worker = self; 93 worker.onmessage = async function(e) { 94 if ("OffscreenCanvas" in globalThis) { 95 const { id, bitmap, width, height, dataURLOptions } = e.data; 96 const transparentBase64 = getTransparentBlobFor( 97 width, 98 height, 99 dataURLOptions 100 ); 101 const offscreen = new OffscreenCanvas(width, height); 102 const ctx = offscreen.getContext("2d"); 103 ctx.drawImage(bitmap, 0, 0); 104 bitmap.close(); 105 const blob = await offscreen.convertToBlob(dataURLOptions); 106 const type = blob.type; 107 const arrayBuffer = await blob.arrayBuffer(); 108 const base64 = encode(arrayBuffer); 109 if (!lastBlobMap.has(id) && await transparentBase64 === base64) { 110 lastBlobMap.set(id, base64); 111 return worker.postMessage({ id }); 112 } 113 if (lastBlobMap.get(id) === base64) return worker.postMessage({ id }); 114 worker.postMessage({ 115 id, 116 type, 117 base64, 118 width, 119 height 120 }); 121 lastBlobMap.set(id, base64); 122 } else { 123 return worker.postMessage({ id: e.data.id }); 124 } 125 }; 126})(); 127//# sourceMappingURL=image-bitmap-data-url-worker-IJpC7g_b.js.map 128`,Di=typeof self<"u"&&self.Blob&&new Blob([xn],{type:"text/javascript;charset=utf-8"});function Pa(e){let t;try{if(t=Di&&(self.URL||self.webkitURL).createObjectURL(Di),!t)throw"";let r=new Worker(t,{name:e?.name});return r.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(t)}),r}catch{return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(xn),{name:e?.name})}finally{t&&(self.URL||self.webkitURL).revokeObjectURL(t)}}var qr=class{constructor(t){A(this,"pendingCanvasMutations",new Map),A(this,"rafStamps",{latestId:0,invokeId:null}),A(this,"mirror"),A(this,"mutationCb"),A(this,"resetObservers"),A(this,"frozen",!1),A(this,"locked",!1),A(this,"processMutation",(n,p)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(n)||this.pendingCanvasMutations.set(n,[]),this.pendingCanvasMutations.get(n).push(p)});let{sampling:r="all",win:o,blockClass:s,blockSelector:c,recordCanvas:f,dataURLOptions:d}=t;this.mutationCb=t.mutationCb,this.mirror=t.mirror,f&&r==="all"&&this.initCanvasMutationObserver(o,s,c),f&&typeof r=="number"&&this.initCanvasFPSObserver(r,o,s,c,{dataURLOptions:d})}reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}initCanvasFPSObserver(t,r,o,s,c){let f=Pi(r,o,s,!0),d=new Map,n=new Pa;n.onmessage=l=>{let{id:u}=l.data;if(d.set(u,!1),!("base64"in l.data))return;let{base64:y,type:g,width:w,height:v}=l.data;this.mutationCb({id:u,type:Fe["2D"],commands:[{property:"clearRect",args:[0,0,w,v]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:y}],type:g}]},0,0]}]})};let p=1e3/t,i=0,h,a=()=>{let l=[];return r.document.querySelectorAll("canvas").forEach(u=>{ne(u,o,s,!0)||l.push(u)}),l},m=l=>{if(i&&l-i<p){h=requestAnimationFrame(m);return}
128i=l,a().forEach(async u=>{var y;let g=this.mirror.getId(u);if(d.get(g)||u.width===0||u.height===0)return;if(d.set(g,!0),["webgl","webgl2"].includes(u.__context)){let v=u.getContext(u.__context);((y=v?.getContextAttributes())==null?void 0:y.preserveDrawingBuffer)===!1&&v.clear(v.COLOR_BUFFER_BIT)}let w=await createImageBitmap(u);n.postMessage({id:g,bitmap:w,width:u.width,height:u.height,dataURLOptions:c.dataURLOptions},[w])}),h=requestAnimationFrame(m)};h=requestAnimationFrame(m),this.resetObservers=()=>{f(),cancelAnimationFrame(h)}}initCanvasMutationObserver(t,r,o){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();let s=Pi(t,r,o,!1),c=Aa(this.processMutation.bind(this),t,r,o),f=ka(this.processMutation.bind(this),t,r,o);this.resetObservers=()=>{s(),c(),f()}}startPendingCanvasMutationFlusher(){requestAnimationFrame(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){let t=r=>{this.rafStamps.latestId=r,requestAnimationFrame(t)};requestAnimationFrame(t)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((t,r)=>{let o=this.mirror.getId(r);this.flushPendingCanvasMutationFor(r,o)}),requestAnimationFrame(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(t,r){if(this.frozen||this.locked)return;let o=this.pendingCanvasMutations.get(t);if(!o||r===-1)return;let s=o.map(f=>{let p=f,{type:d}=p;return Ne(p,["type"])}),{type:c}=o[0];this.mutationCb({id:r,type:c,commands:s}),this.pendingCanvasMutations.delete(t)}},jr=class{constructor(t){A(this,"trackedLinkElements",new WeakSet),A(this,"mutationCb"),A(this,"adoptedStyleSheetCb"),A(this,"styleMirror",new Fr),this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,r){"_cssText"in r.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:r.id,attributes:r.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,r){if(t.length===0)return;let o={id:r,styleIds:[]},s=[];for(let c of t){let f;if(this.styleMirror.has(c))f=this.styleMirror.getId(c);else{f=this.styleMirror.add(c);let d=[];try{d=Array.from(c.cssRules,(n,p)=>({rule:Gr(n,c.href),index:p}))}catch(n){if(!(n instanceof DOMException&&n.name==="SecurityError"))throw n}s.push({styleId:f,rules:d})}o.styleIds.push(f)}s.length>0&&(o.styles=s),this.adoptedStyleSheetCb(o)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}},Vr=class{constructor(){A(this,"nodeMap",new WeakMap),A(this,"active",!1)}inOtherBuffer(t,r){let o=this.nodeMap.get(t);return o&&Array.from(o).some(s=>s!==r)}add(t,r){this.active||(this.active=!0,requestAnimationFrame(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(r))}destroy(){}},Y,nt,Pr,dt=!1;try{if(Array.from([1],e=>e*2)[0]!==2){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=((cs=e.contentWindow)==null?void 0:cs.Array.from)||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}var pe=Hn();function Ie(e={}){let{emit:t,checkoutEveryNms:r,checkoutEveryNth:o,blockClass:s="rr-block",blockSelector:c=null,ignoreClass:f="rr-ignore",ignoreSelector:d=null,maskTextClass:n="rr-mask",maskTextSelector:p=null,inlineStylesheet:i=!0,maskAllInputs:h,maskInputOptions:a,slimDOMOptions:m,maskInputFn:l,maskTextFn:u,maskAttributeFn:y,hooks:g,packFn:w,sampling:v={},dataURLOptions:R={},mousemoveWait:x,recordDOM:b=!0,recordCanvas:S=!1,recordCrossOriginIframes:C=!1,recordAfter:E=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:O=!1,collectFonts:k=!1,inlineImages:N=!1,captureAdoptedStyleSheets:M=!0,plugins:oe,keepIframeSrcFn:Z=()=>!1,ignoreCSSAttributes:te=new Set([]),errorHandler:j,applyBackgroundColorToBlockedElements:Q=!1}=e;ha(j);let P=C?window.parent===window:!0,B=!1;if(!P)try{window.parent.document&&(B=!1)}catch{B=!0}if(P&&!t)throw new Error("emit function is required");if(!P&&!B)return()=>{};x!==void 0&&v.mousemove===void 0&&(v.mousemove=x),pe.reset();let F=h===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:a!==void 0?a:{password:!0},z=m===!0||m==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:m==="all",headMetaDescKeywords:m==="all",headTitleMutations:m==="all"}:m||{};oa();let I,se=0,ee=$=>{for(let fe of oe||[])fe.eventProcessor&&($=fe.eventProcessor($));return w&&!B&&($=w($)),$};Y=($,fe)=>{var V;let J=$;if(J.timestamp=ht(),(V=Re[0])!=null&&V.isFrozen()&&J.type!==U.FullSnapshot&&!(J.type===U.IncrementalSnapshot&&J.data.source===L.Mutation)&&Re.forEach(we=>we.unfreeze()),P)t?.(ee(J),fe);else if(B){let we={type:"rrweb",event:ee(J),origin:window.location.origin,isCheckout:fe};window.parent.postMessage(we,"*")}if(J.type===U.FullSnapshot)I=J,se=0;else if(J.type===U.IncrementalSnapshot){if(J.data.source===L.Mutation&&J.data.isAttachIframe)return;se++;let we=o&&se>=o,W=r&&J.timestamp-I.timestamp>r;(we||W)&&nt(!0)}};let Se=$=>{Y({type:U.IncrementalSnapshot,data:D({source:L.Mutation},$)})},ge=$=>Y({type:U.IncrementalSnapshot,data:D({source:L.Scroll},$)}),Ae=$=>Y({type:U.IncrementalSnapshot,data:D({source:L.CanvasMutation},$)}),$e=$=>Y({type:U.IncrementalSnapshot,data:D({source:L.AdoptedStyleSheet},$)}),le=new jr({mutationCb:Se,adoptedStyleSheetCb:$e}),X=new Br({mirror:pe,mutationCb:Se,stylesheetManager:le,recordCrossOriginIframes:C,wrappedEmit:Y});for(let $ of oe||[])$.getMirror&&$.getMirror({nodeMirror:pe,crossOriginIframeMirror:X.crossOriginIframeMirror,crossOriginIframeStyleMirror:X.crossOriginIframeStyleMirror});let he=new Vr;Pr=new qr({recordCanvas:S,mutationCb:Ae,win:window,blockClass:s,blockSelector:c,mirror:pe,sampling:v.canvas,dataURLOptions:R});let ye=new Wr({mutationCb:Se,scrollCb:ge,bypassOptions:{blockClass:s,blockSelector:c,maskTextClass:n,maskTextSelector:p,inlineStylesheet:i,maskInputOptions:F,dataURLOptions:R,maskTextFn:u,maskInputFn:l,maskAttributeFn:y,recordCanvas:S,inlineImages:N,sampling:v,slimDOMOptions:z,iframeManager:X,stylesheetManager:le,canvasManager:Pr,keepIframeSrcFn:Z,processedNodeManager:he},mirror:pe});nt=($=!1)=>
128{if(!b)return;Y({type:U.Meta,data:{href:window.location.href,width:ln(),height:an()}},$),le.reset(),ye.init(),Re.forEach(V=>V.lock());let fe=wo(document,{mirror:pe,blockClass:s,blockSelector:c,maskTextClass:n,maskTextSelector:p,inlineStylesheet:i,maskAllInputs:F,maskTextFn:u,maskInputFn:l,maskAttributeFn:y,slimDOM:z,dataURLOptions:R,recordCanvas:S,inlineImages:N,applyBackgroundColorToBlockedElements:Q,onSerialize:V=>{hn(V,pe)&&X.addIframe(V),fn(V,pe)&&le.trackLinkElement(V),Tr(V)&&ye.addShadowRoot(_.shadowRoot(V),document)},onAdoptedStyleSheet:M?V=>le.styleMirror.add(V):void 0,onIframeLoad:(V,J)=>{X.attachIframe(V,J),ye.observeAttachShadow(V)},onStylesheetLoad:(V,J)=>{le.attachLinkElement(V,J)},keepIframeSrcFn:Z});if(!fe)return console.warn("Failed to snapshot the document");Y({type:U.FullSnapshot,data:{node:fe,initialOffset:on(window)}},$),Re.forEach(V=>V.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&le.adoptStyleSheets(document.adoptedStyleSheets,pe.getId(document))};try{let $=[],fe=J=>{var we;return T(Oa)({mutationCb:Se,mousemoveCb:(W,Mt)=>Y({type:U.IncrementalSnapshot,data:{source:Mt,positions:W}}),mouseInteractionCb:W=>Y({type:U.IncrementalSnapshot,data:D({source:L.MouseInteraction},W)}),scrollCb:ge,viewportResizeCb:W=>Y({type:U.IncrementalSnapshot,data:D({source:L.ViewportResize},W)}),inputCb:W=>Y({type:U.IncrementalSnapshot,data:D({source:L.Input},W)}),mediaInteractionCb:W=>Y({type:U.IncrementalSnapshot,data:D({source:L.MediaInteraction},W)}),styleSheetRuleCb:W=>Y({type:U.IncrementalSnapshot,data:D({source:L.StyleSheetRule},W)}),styleDeclarationCb:W=>Y({type:U.IncrementalSnapshot,data:D({source:L.StyleDeclaration},W)}),canvasMutationCb:Ae,fontCb:W=>Y({type:U.IncrementalSnapshot,data:D({source:L.Font},W)}),selectionCb:W=>{Y({type:U.IncrementalSnapshot,data:D({source:L.Selection},W)})},customElementCb:W=>{Y({type:U.IncrementalSnapshot,data:D({source:L.CustomElement},W)})},blockClass:s,ignoreClass:f,ignoreSelector:d,maskTextClass:n,maskTextSelector:p,maskInputOptions:F,inlineStylesheet:i,sampling:v,recordDOM:b,recordCanvas:S,inlineImages:N,userTriggeredOnInput:O,collectFonts:k,doc:J,maskInputFn:l,maskTextFn:u,maskAttributeFn:y,keepIframeSrcFn:Z,blockSelector:c,slimDOMOptions:z,dataURLOptions:R,mirror:pe,iframeManager:X,stylesheetManager:le,shadowDomManager:ye,processedNodeManager:he,canvasManager:Pr,ignoreCSSAttributes:te,plugins:((we=oe?.filter(W=>W.observer))==null?void 0:we.map(W=>({observer:W.observer,options:W.options,callback:Mt=>Y({type:U.Plugin,data:{plugin:W.name,payload:Mt}})})))||[]},g)};X.addLoadListener(J=>{try{$.push(fe(J.contentDocument))}catch(we){console.warn(we)}});let V=()=>{nt(),$.push(fe(document)),dt=!0};return document.readyState==="interactive"||document.readyState==="complete"?V():($.push(ie("DOMContentLoaded",()=>{Y({type:U.DomContentLoaded,data:{}}),E==="DOMContentLoaded"&&V()})),$.push(ie("load",()=>{Y({type:U.Load,data:{}}),E==="load"&&V()},window))),()=>{$.forEach(J=>J()),he.destroy(),dt=!1,fa()}}catch($){console.warn($)}}Ie.addCustomEvent=(e,t)=>{if(!dt)throw new Error("please add custom event after start recording");Y({type:U.Custom,data:{tag:e,payload:t}})};Ie.freezePage=()=>{Re.forEach(e=>e.freeze())};Ie.takeFullSnapshot=e=>{if(!dt)throw new Error("please take full snapshot after start recording");nt(e)};Ie.mirror=pe;var Li;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(Li||(Li={}));var{addCustomEvent:_a}=Ie,{freezePage:Da}=Ie,{takeFullSnapshot:La}=Ie;export{Ie as record};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.