PageSourceSearch

https://knix.ca/cdn/shop/t/341/assets/rrweb-record-QQKTL64F.js

js knix.ca collected 2026-09-24 21:25:54 UTC 182,457 bytes, 129 lines download raw bytes

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

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.