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