PageSourceSearch

https://www.internships.com/assets/recorder-Bkk5wS2A.js

js internships.com collected 2026-09-24 18:27:54 UTC 185,434 bytes, 128 lines download raw bytes

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

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.