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