@bugdump/sdk 0.0.1 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +165 -17
- package/dist/index.cjs +264 -135
- package/dist/index.d.cts +19 -4
- package/dist/index.d.ts +19 -4
- package/dist/index.global.js +325 -184
- package/dist/index.js +264 -135
- package/package.json +2 -2
package/dist/index.global.js
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
var Bugdump=(function(exports){'use strict';var dl="https://api.bugdump.io";function ki(n){return {projectKey:n.projectKey,endpoint:(n.endpoint||dl).replace(/\/+$/,"")}}function zr(){return {initialized:false,config:null,user:null,customContext:{},widgetOpen:false}}var It=class{endpoint;apiKey;constructor(e,t){this.endpoint=e,this.apiKey=t;}async submitReport(e){return this.post("/api/widget/v1/reports",e)}async requestUpload(e){return this.post("/api/widget/v1/reports/upload",e)}async uploadFileToS3(e,t,r){let i=new FormData;for(let[o,l]of Object.entries(t))i.append(o,l);i.append("file",r);let s=await fetch(e,{method:"POST",body:i});if(!s.ok)throw new Ze("S3_UPLOAD_FAILED",s.status)}async post(e,t){let r=`${this.endpoint}${e}`,i=await fetch(r,{method:"POST",headers:{"Content-Type":"application/json","Bugdump-API-Key":this.apiKey},body:JSON.stringify(t)});if(!i.ok){let s;try{s=await i.json();}catch{}throw new Ze(s?.error||`HTTP_${i.status}`,i.status,s?.details)}return await i.json()}},Ze=class extends Error{code;statusCode;details;constructor(e,t,r){super(`Bugdump API error: ${e} (${t})`),this.name="BugdumpApiError",this.code=e,this.statusCode=t,this.details=r;}};var Pi=["log","warn","error","info","debug"],Rt=class{buffer=[];originals=new Map;active=false;start(){if(!this.active){this.active=true;for(let e of Pi)this.originals.set(e,console[e].bind(console)),console[e]=(...t)=>{this.push({level:e,args:this.serializeArgs(t),timestamp:Date.now()}),this.originals.get(e)(...t);};}}stop(){if(this.active){this.active=false;for(let e of Pi){let t=this.originals.get(e);t&&(console[e]=t);}this.originals.clear();}}flush(){let e=[...this.buffer];return this.buffer=[],e}push(e){this.buffer.push(e),this.buffer.length>50&&this.buffer.shift();}serializeArgs(e){return e.map(t=>{if(t==null||typeof t=="string"||typeof t=="number"||typeof t=="boolean")return t;try{return JSON.parse(JSON.stringify(t,this.circularReplacer()))}catch{return String(t)}})}circularReplacer(){let e=new WeakSet;return (t,r)=>{if(typeof r=="object"&&r!==null){if(e.has(r))return "[Circular]";e.add(r);}return r}}};var Et=class{buffer=[];originalFetch=null;originalXhrOpen=null;originalXhrSend=null;active=false;start(){this.active||(this.active=true,this.patchFetch(),this.patchXhr());}stop(){this.active&&(this.active=false,this.restoreFetch(),this.restoreXhr());}flush(){let e=[...this.buffer];return this.buffer=[],e}push(e){this.buffer.push(e),this.buffer.length>30&&this.buffer.shift();}patchFetch(){this.originalFetch=window.fetch;let e=this;window.fetch=async function(t,r){let i=r?.method?.toUpperCase()||"GET",s=typeof t=="string"?t:t instanceof URL?t.href:t.url,o=Date.now(),l=e.extractHeaders(r?.headers);try{let a=await e.originalFetch.call(window,t,r);return e.push({method:i,url:s,status:a.status,statusText:a.statusText,requestHeaders:l,responseHeaders:e.extractHeaders(a.headers),duration:Date.now()-o,startedAt:o,error:null}),a}catch(a){throw e.push({method:i,url:s,status:null,statusText:null,requestHeaders:l,responseHeaders:{},duration:Date.now()-o,startedAt:o,error:a instanceof Error?a.message:String(a)}),a}};}restoreFetch(){this.originalFetch&&(window.fetch=this.originalFetch,this.originalFetch=null);}patchXhr(){this.originalXhrOpen=XMLHttpRequest.prototype.open,this.originalXhrSend=XMLHttpRequest.prototype.send;let e=this;XMLHttpRequest.prototype.open=function(t,r){return this.__bd_method=t.toUpperCase(),this.__bd_url=typeof r=="string"?r:r.href,e.originalXhrOpen.apply(this,arguments)},XMLHttpRequest.prototype.send=function(t){let r=Date.now(),i=this.__bd_method||"GET",s=this.__bd_url||"",o=()=>{e.push({method:i,url:s,status:this.status||null,statusText:this.statusText||null,requestHeaders:{},responseHeaders:e.parseXhrResponseHeaders(this.getAllResponseHeaders()),duration:Date.now()-r,startedAt:r,error:this.status===0?"Network error":null}),this.removeEventListener("loadend",o);};return this.addEventListener("loadend",o),e.originalXhrSend.call(this,t)};}restoreXhr(){this.originalXhrOpen&&(XMLHttpRequest.prototype.open=this.originalXhrOpen,this.originalXhrOpen=null),this.originalXhrSend&&(XMLHttpRequest.prototype.send=this.originalXhrSend,this.originalXhrSend=null);}extractHeaders(e){let t={};if(!e)return t;if(e instanceof Headers)e.forEach((r,i)=>{t[i]=r;});else if(Array.isArray(e))for(let[r,i]of e)t[r]=i;else for(let[r,i]of Object.entries(e))t[r]=i;return t}parseXhrResponseHeaders(e){let t={};if(!e)return t;for(let r of e.trim().split(/[\r\n]+/)){let i=r.indexOf(":");if(i===-1)continue;let s=r.slice(0,i).trim().toLowerCase(),o=r.slice(i+1).trim();t[s]=o;}return t}};var pl=Object.defineProperty,ml=(n,e,t)=>e in n?pl(n,e,{enumerable:true,configurable:true,writable:true,value:t}):n[e]=t,w=(n,e,t)=>ml(n,typeof e!="symbol"?e+"":e,t),Ti,gl=Object.defineProperty,yl=(n,e,t)=>e in n?gl(n,e,{enumerable:true,configurable:true,writable:true,value:t}):n[e]=t,Li=(n,e,t)=>yl(n,typeof e!="symbol"?e+"":e,t),G=(n=>(n[n.Document=0]="Document",n[n.DocumentType=1]="DocumentType",n[n.Element=2]="Element",n[n.Text=3]="Text",n[n.CDATA=4]="CDATA",n[n.Comment=5]="Comment",n))(G||{}),Di={Node:["childNodes","parentNode","parentElement","textContent","ownerDocument"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},_i={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Ot={},wl=()=>!!globalThis.Zone;function Yn(n){if(Ot[n])return Ot[n];let e=globalThis[n],t=e.prototype,r=n in Di?Di[n]:void 0,i=!!(r&&r.every(l=>{var a,u;return !!((u=(a=Object.getOwnPropertyDescriptor(t,l))==null?void 0:a.get)!=null&&u.toString().includes("[native code]"))})),s=n in _i?_i[n]:void 0,o=!!(s&&s.every(l=>{var a;return typeof t[l]=="function"&&((a=t[l])==null?void 0:a.toString().includes("[native code]"))}));if(i&&o&&!wl())return Ot[n]=e.prototype,e.prototype;try{let l=document.createElement("iframe");document.body.appendChild(l);let a=l.contentWindow;if(!a)return e.prototype;let u=a[n].prototype;return document.body.removeChild(l),u?Ot[n]=u:t}catch{return t}}var Wr={};function ge(n,e,t){var r;let i=`${n}.${String(t)}`;if(Wr[i])return Wr[i].call(e);let s=Yn(n),o=(r=Object.getOwnPropertyDescriptor(s,t))==null?void 0:r.get;return o?(Wr[i]=o,o.call(e)):e[t]}var jr={};function Ts(n,e,t){let r=`${n}.${String(t)}`;if(jr[r])return jr[r].bind(e);let s=Yn(n)[t];return typeof s!="function"?e[t]:(jr[r]=s,s.bind(e))}function bl(n){return ge("Node",n,"ownerDocument")}function vl(n){return ge("Node",n,"childNodes")}function Sl(n){return ge("Node",n,"parentNode")}function Cl(n){return ge("Node",n,"parentElement")}function xl(n){return ge("Node",n,"textContent")}function Il(n,e){return Ts("Node",n,"contains")(e)}function Rl(n){return Ts("Node",n,"getRootNode")()}function El(n){return !n||!("host"in n)?null:ge("ShadowRoot",n,"host")}function Ol(n){return n.styleSheets}function Ml(n){return !n||!("shadowRoot"in n)?null:ge("Element",n,"shadowRoot")}function Al(n,e){return ge("Element",n,"querySelector")(e)}function $l(n,e){return ge("Element",n,"querySelectorAll")(e)}function kl(){return Yn("MutationObserver").constructor}function Pl(n,e,t){try{if(!(e in n))return ()=>{};let r=n[e],i=t(r);return typeof i=="function"&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),n[e]=i,()=>{n[e]=r;}}catch{return ()=>{}}}var X={ownerDocument:bl,childNodes:vl,parentNode:Sl,parentElement:Cl,textContent:xl,contains:Il,getRootNode:Rl,host:El,styleSheets:Ol,shadowRoot:Ml,querySelector:Al,querySelectorAll:$l,mutationObserver:kl,patch:Pl};function Ls(n){return n.nodeType===n.ELEMENT_NODE}function tt(n){let e=n&&"host"in n&&"mode"in n&&X.host(n)||null;return !!(e&&"shadowRoot"in e&&X.shadowRoot(e)===n)}function rt(n){return Object.prototype.toString.call(n)==="[object ShadowRoot]"}function Tl(n){return n.includes(" background-clip: text;")&&!n.includes(" -webkit-background-clip: text;")&&(n=n.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),n}function Ll(n){let{cssText:e}=n;if(e.split('"').length<3)return e;let t=["@import",`url(${JSON.stringify(n.href)})`];return n.layerName===""?t.push("layer"):n.layerName&&t.push(`layer(${n.layerName})`),n.supportsText&&t.push(`supports(${n.supportsText})`),n.media.length&&t.push(n.media.mediaText),t.join(" ")+";"}function nn(n){try{let e=n.rules||n.cssRules;if(!e)return null;let t=n.href;!t&&n.ownerNode&&(t=n.ownerNode.baseURI);let r=Array.from(e,i=>Ds(i,t)).join("");return Tl(r)}catch{return null}}function Ds(n,e){if(_l(n)){let t;try{t=nn(n.styleSheet)||Ll(n);}catch{t=n.cssText;}return n.styleSheet.href?sr(t,n.styleSheet.href):t}else {let t=n.cssText;return Nl(n)&&n.selectorText.includes(":")&&(t=Dl(t)),e?sr(t,e):t}}function Dl(n){let e=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return n.replace(e,"$1\\$2")}function _l(n){return "styleSheet"in n}function Nl(n){return "selectorText"in n}var rr=class{constructor(){Li(this,"idNodeMap",new Map),Li(this,"nodeMetaMap",new WeakMap);}getId(e){var t;return e?((t=this.getMeta(e))==null?void 0:t.id)??-1:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(r=>this.removeNodeFromMap(r));}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t);}replace(e,t){let r=this.getNode(e);if(r){let i=this.nodeMetaMap.get(r);i&&this.nodeMetaMap.set(t,i);}this.idNodeMap.set(e,t);}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap;}};function Bl(){return new rr}function nr({element:n,maskInputOptions:e,tagName:t,type:r,value:i,maskInputFn:s}){let o=i||"",l=r&&xe(r);return (e[t.toLowerCase()]||l&&e[l])&&(s?o=s(o,n):o="*".repeat(o.length)),o}function xe(n){return n.toLowerCase()}var Ni="__rrweb_original__";function Fl(n){let e=n.getContext("2d");if(!e)return true;let t=50;for(let r=0;r<n.width;r+=t)for(let i=0;i<n.height;i+=t){let s=e.getImageData,o=Ni in s?s[Ni]:s;if(new Uint32Array(o.call(e,r,i,Math.min(t,n.width-r),Math.min(t,n.height-i)).data.buffer).some(a=>a!==0))return false}return true}function ir(n){let e=n.type;return n.hasAttribute("data-rr-is-password")?"password":e?xe(e):null}function _s(n,e){let t;try{t=new URL(n,e??window.location.href);}catch{return null}let r=/\.([0-9a-z]+)(?:$)/i,i=t.pathname.match(r);return i?.[1]??null}function Ul(n){let e="";return n.indexOf("//")>-1?e=n.split("/").slice(0,3).join("/"):e=n.split("/")[0],e=e.split("?")[0],e}var Hl=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,zl=/^(?:[a-z+]+:)?\/\//i,Wl=/^www\..*/i,jl=/^(data:)([^,]*),(.*)/i;function sr(n,e){return (n||"").replace(Hl,(t,r,i,s,o,l)=>{let a=i||o||l,u=r||s||"";if(!a)return t;if(zl.test(a)||Wl.test(a))return `url(${u}${a}${u})`;if(jl.test(a))return `url(${u}${a}${u})`;if(a[0]==="/")return `url(${u}${Ul(e)+a}${u})`;let c=e.split("/"),h=a.split("/");c.pop();for(let p of h)p!=="."&&(p===".."?c.pop():c.push(p));return `url(${u}${c.join("/")}${u})`})}function Mt(n,e=false){return e?n.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):n.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}function Vl(n,e,t=false){let r=Array.from(e.childNodes),i=[],s=0;if(r.length>1&&n&&typeof n=="string"){let o=Mt(n,t),l=o.length/n.length;for(let a=1;a<r.length;a++)if(r[a].textContent&&typeof r[a].textContent=="string"){let u=Mt(r[a].textContent,t),c=100,h=3;for(;h<u.length&&(u[h].match(/[a-zA-Z0-9]/)||u.indexOf(u.substring(0,h),1)!==-1);h++);for(;h<u.length;h++){let p=u.substring(0,h),g=o.split(p),m=-1;if(g.length===2)m=g[0].length;else if(g.length>2&&g[0]===""&&r[a-1].textContent!=="")m=o.indexOf(p,1);else if(g.length===1){if(p=p.substring(0,p.length-1),g=o.split(p),g.length<=1)return i.push(n),i;h=c+1;}else h===u.length-1&&(m=o.indexOf(p));if(g.length>=2&&h>c){let d=r[a-1].textContent;if(d&&typeof d=="string"){let f=Mt(d).length;m=o.indexOf(p,f);}m===-1&&(m=g[0].length);}if(m!==-1){let d=Math.floor(m/l);for(;d>0&&d<n.length;){if(s+=1,s>50*r.length)return i.push(n),i;let f=Mt(n.substring(0,d),t);if(f.length===m){i.push(n.substring(0,d)),n=n.substring(d),o=o.substring(m);break}else f.length<m?d+=Math.max(1,Math.floor((m-f.length)/l)):d-=Math.max(1,Math.floor((f.length-m)*l));}break}}}}return i.push(n),i}function Gl(n,e){return Vl(n,e).join("/* rr_split */")}var Yl=1,Xl=new RegExp("[^a-z0-9-_:]"),it=-2;function Ns(){return Yl++}function Zl(n){if(n instanceof HTMLFormElement)return "form";let e=xe(n.tagName);return Xl.test(e)?"div":e}var Oe,Bi,Jl=/^[^ \t\n\r\u000c]+/,ql=/^[, \t\n\r\u000c]+/;function Kl(n,e){if(e.trim()==="")return e;let t=0;function r(s){let o,l=s.exec(e.substring(t));return l?(o=l[0],t+=o.length,o):""}let i=[];for(;r(ql),!(t>=e.length);){let s=r(Jl);if(s.slice(-1)===",")s=$e(n,s.substring(0,s.length-1)),i.push(s);else {let o="";s=$e(n,s);let l=false;for(;;){let a=e.charAt(t);if(a===""){i.push((s+o).trim());break}else if(l)a===")"&&(l=false);else if(a===","){t+=1,i.push((s+o).trim());break}else a==="("&&(l=true);o+=a,t+=1;}}}return i.join(", ")}var Fi=new WeakMap;function $e(n,e){return !e||e.trim()===""?e:Xn(n,e)}function Ql(n){return !!(n.tagName==="svg"||n.ownerSVGElement)}function Xn(n,e){let t=Fi.get(n);if(t||(t=n.createElement("a"),Fi.set(n,t)),!e)e="";else if(e.startsWith("blob:")||e.startsWith("data:"))return e;return t.setAttribute("href",e),t.href}function Bs(n,e,t,r){return r&&(t==="src"||t==="href"&&!(e==="use"&&r[0]==="#")||t==="xlink:href"&&r[0]!=="#"||t==="background"&&["table","td","th"].includes(e)?$e(n,r):t==="srcset"?Kl(n,r):t==="style"?sr(r,Xn(n)):e==="object"&&t==="data"?$e(n,r):r)}function Fs(n,e,t){return ["video","audio"].includes(n)&&e==="autoplay"}function eu(n,e,t){try{if(typeof e=="string"){if(n.classList.contains(e))return !0}else for(let r=n.classList.length;r--;){let i=n.classList[r];if(e.test(i))return !0}if(t)return n.matches(t)}catch{}return false}function or(n,e,t){if(!n)return false;if(n.nodeType!==n.ELEMENT_NODE)return t?or(X.parentNode(n),e,t):false;for(let r=n.classList.length;r--;){let i=n.classList[r];if(e.test(i))return true}return t?or(X.parentNode(n),e,t):false}function Us(n,e,t,r){let i;if(Ls(n)){if(i=n,!X.childNodes(i).length)return false}else {if(X.parentElement(n)===null)return false;i=X.parentElement(n);}try{if(typeof e=="string"){if(r){if(i.closest(`.${e}`))return !0}else if(i.classList.contains(e))return !0}else if(or(i,e,r))return !0;if(t){if(r){if(i.closest(t))return !0}else if(i.matches(t))return !0}}catch{}return false}function tu(n,e,t){let r=n.contentWindow;if(!r)return;let i=false,s;try{s=r.document.readyState;}catch{return}if(s!=="complete"){let l=setTimeout(()=>{i||(e(),i=true);},t);n.addEventListener("load",()=>{clearTimeout(l),i=true,e();});return}let o="about:blank";if(r.location.href!==o||n.src===o||n.src==="")return setTimeout(e,0),n.addEventListener("load",e);n.addEventListener("load",e);}function ru(n,e,t){let r=false,i;try{i=n.sheet;}catch{return}if(i)return;let s=setTimeout(()=>{r||(e(),r=true);},t);n.addEventListener("load",()=>{clearTimeout(s),r=true,e();});}function nu(n,e){let{doc:t,mirror:r,blockClass:i,blockSelector:s,needsMask:o,inlineStylesheet:l,maskInputOptions:a={},maskTextFn:u,maskInputFn:c,dataURLOptions:h={},inlineImages:p,recordCanvas:g,keepIframeSrcFn:m,newlyAddedElement:d=false,cssCaptured:f=false}=e,b=iu(t,r);switch(n.nodeType){case n.DOCUMENT_NODE:return n.compatMode!=="CSS1Compat"?{type:G.Document,childNodes:[],compatMode:n.compatMode}:{type:G.Document,childNodes:[]};case n.DOCUMENT_TYPE_NODE:return {type:G.DocumentType,name:n.name,publicId:n.publicId,systemId:n.systemId,rootId:b};case n.ELEMENT_NODE:return ou(n,{doc:t,blockClass:i,blockSelector:s,inlineStylesheet:l,maskInputOptions:a,maskInputFn:c,dataURLOptions:h,inlineImages:p,recordCanvas:g,keepIframeSrcFn:m,newlyAddedElement:d,rootId:b});case n.TEXT_NODE:return su(n,{doc:t,needsMask:o,maskTextFn:u,rootId:b,cssCaptured:f});case n.CDATA_SECTION_NODE:return {type:G.CDATA,textContent:"",rootId:b};case n.COMMENT_NODE:return {type:G.Comment,textContent:X.textContent(n)||"",rootId:b};default:return false}}function iu(n,e){if(!e.hasNode(n))return;let t=e.getId(n);return t===1?void 0:t}function su(n,e){let{needsMask:t,maskTextFn:r,rootId:i,cssCaptured:s}=e,o=X.parentNode(n),l=o&&o.tagName,a="",u=l==="STYLE"?true:void 0,c=l==="SCRIPT"?true:void 0;return c?a="SCRIPT_PLACEHOLDER":s||(a=X.textContent(n),u&&a&&(a=sr(a,Xn(e.doc)))),!u&&!c&&a&&t&&(a=r?r(a,X.parentElement(n)):a.replace(/[\S]/g,"*")),{type:G.Text,textContent:a||"",rootId:i}}function ou(n,e){let{doc:t,blockClass:r,blockSelector:i,inlineStylesheet:s,maskInputOptions:o={},maskInputFn:l,dataURLOptions:a={},inlineImages:u,recordCanvas:c,keepIframeSrcFn:h,newlyAddedElement:p=false,rootId:g}=e,m=eu(n,r,i),d=Zl(n),f={},b=n.attributes.length;for(let y=0;y<b;y++){let C=n.attributes[y];Fs(d,C.name,C.value)||(f[C.name]=Bs(t,d,xe(C.name),C.value));}if(d==="link"&&s){let y=Array.from(t.styleSheets).find(k=>k.href===n.href),C=null;y&&(C=nn(y)),C&&(delete f.rel,delete f.href,f._cssText=C);}if(d==="style"&&n.sheet){let y=nn(n.sheet);y&&(n.childNodes.length>1&&(y=Gl(y,n)),f._cssText=y);}if(["input","textarea","select"].includes(d)){let y=n.value,C=n.checked;f.type!=="radio"&&f.type!=="checkbox"&&f.type!=="submit"&&f.type!=="button"&&y?f.value=nr({element:n,type:ir(n),tagName:d,value:y,maskInputOptions:o,maskInputFn:l}):C&&(f.checked=C);}if(d==="option"&&(n.selected&&!o.select?f.selected=true:delete f.selected),d==="dialog"&&n.open&&(f.rr_open_mode=n.matches("dialog:modal")?"modal":"non-modal"),d==="canvas"&&c){if(n.__context==="2d")Fl(n)||(f.rr_dataURL=n.toDataURL(a.type,a.quality));else if(!("__context"in n)){let y=n.toDataURL(a.type,a.quality),C=t.createElement("canvas");C.width=n.width,C.height=n.height;let k=C.toDataURL(a.type,a.quality);y!==k&&(f.rr_dataURL=y);}}if(d==="img"&&u){Oe||(Oe=t.createElement("canvas"),Bi=Oe.getContext("2d"));let y=n,C=y.currentSrc||y.getAttribute("src")||"<unknown-src>",k=y.crossOrigin,T=()=>{y.removeEventListener("load",T);try{Oe.width=y.naturalWidth,Oe.height=y.naturalHeight,Bi.drawImage(y,0,0),f.rr_dataURL=Oe.toDataURL(a.type,a.quality);}catch(j){if(y.crossOrigin!=="anonymous"){y.crossOrigin="anonymous",y.complete&&y.naturalWidth!==0?T():y.addEventListener("load",T);return}else console.warn(`Cannot inline img src=${C}! Error: ${j}`);}y.crossOrigin==="anonymous"&&(k?f.crossOrigin=k:y.removeAttribute("crossorigin"));};y.complete&&y.naturalWidth!==0?T():y.addEventListener("load",T);}if(["audio","video"].includes(d)){let y=f;y.rr_mediaState=n.paused?"paused":"played",y.rr_mediaCurrentTime=n.currentTime,y.rr_mediaPlaybackRate=n.playbackRate,y.rr_mediaMuted=n.muted,y.rr_mediaLoop=n.loop,y.rr_mediaVolume=n.volume;}if(p||(n.scrollLeft&&(f.rr_scrollLeft=n.scrollLeft),n.scrollTop&&(f.rr_scrollTop=n.scrollTop)),m){let{width:y,height:C}=n.getBoundingClientRect();f={class:f.class,rr_width:`${y}px`,rr_height:`${C}px`};}d==="iframe"&&!h(f.src)&&(n.contentDocument||(f.rr_src=f.src),delete f.src);let v;try{customElements.get(d)&&(v=!0);}catch{}return {type:G.Element,tagName:d,attributes:f,childNodes:[],isSVG:Ql(n)||void 0,needBlock:m,rootId:g,isCustom:v}}function L(n){return n==null?"":n.toLowerCase()}function Hs(n){return n===true||n==="all"?{script:true,comment:true,headFavicon:true,headWhitespace:true,headMetaSocial:true,headMetaRobots:true,headMetaHttpEquiv:true,headMetaVerification:true,headMetaAuthorship:n==="all",headMetaDescKeywords:n==="all",headTitleMutations:n==="all"}:n||{}}function au(n,e){if(e.comment&&n.type===G.Comment)return true;if(n.type===G.Element){if(e.script&&(n.tagName==="script"||n.tagName==="link"&&(n.attributes.rel==="preload"&&n.attributes.as==="script"||n.attributes.rel==="modulepreload")||n.tagName==="link"&&n.attributes.rel==="prefetch"&&typeof n.attributes.href=="string"&&_s(n.attributes.href)==="js"))return true;if(e.headFavicon&&(n.tagName==="link"&&n.attributes.rel==="shortcut icon"||n.tagName==="meta"&&(L(n.attributes.name).match(/^msapplication-tile(image|color)$/)||L(n.attributes.name)==="application-name"||L(n.attributes.rel)==="icon"||L(n.attributes.rel)==="apple-touch-icon"||L(n.attributes.rel)==="shortcut icon")))return true;if(n.tagName==="meta"){if(e.headMetaDescKeywords&&L(n.attributes.name).match(/^description|keywords$/))return true;if(e.headMetaSocial&&(L(n.attributes.property).match(/^(og|twitter|fb):/)||L(n.attributes.name).match(/^(og|twitter):/)||L(n.attributes.name)==="pinterest"))return true;if(e.headMetaRobots&&(L(n.attributes.name)==="robots"||L(n.attributes.name)==="googlebot"||L(n.attributes.name)==="bingbot"))return true;if(e.headMetaHttpEquiv&&n.attributes["http-equiv"]!==void 0)return true;if(e.headMetaAuthorship&&(L(n.attributes.name)==="author"||L(n.attributes.name)==="generator"||L(n.attributes.name)==="framework"||L(n.attributes.name)==="publisher"||L(n.attributes.name)==="progid"||L(n.attributes.property).match(/^article:/)||L(n.attributes.property).match(/^product:/)))return true;if(e.headMetaVerification&&(L(n.attributes.name)==="google-site-verification"||L(n.attributes.name)==="yandex-verification"||L(n.attributes.name)==="csrf-token"||L(n.attributes.name)==="p:domain_verify"||L(n.attributes.name)==="verify-v1"||L(n.attributes.name)==="verification"||L(n.attributes.name)==="shopify-checkout-api-token"))return true}}return false}function ke(n,e){let{doc:t,mirror:r,blockClass:i,blockSelector:s,maskTextClass:o,maskTextSelector:l,skipChild:a=false,inlineStylesheet:u=true,maskInputOptions:c={},maskTextFn:h,maskInputFn:p,slimDOMOptions:g,dataURLOptions:m={},inlineImages:d=false,recordCanvas:f=false,onSerialize:b,onIframeLoad:v,iframeLoadTimeout:y=5e3,onStylesheetLoad:C,stylesheetLoadTimeout:k=5e3,keepIframeSrcFn:T=()=>false,newlyAddedElement:j=false,cssCaptured:N=false}=e,{needsMask:W}=e,{preserveWhiteSpace:Y=true}=e;W||(W=Us(n,o,l,W===void 0));let te=nu(n,{doc:t,mirror:r,blockClass:i,blockSelector:s,needsMask:W,inlineStylesheet:u,maskInputOptions:c,maskTextFn:h,maskInputFn:p,dataURLOptions:m,inlineImages:d,recordCanvas:f,keepIframeSrcFn:T,newlyAddedElement:j,cssCaptured:N});if(!te)return console.warn(n,"not serialized"),null;let ue;r.hasNode(n)?ue=r.getId(n):au(te,g)||!Y&&te.type===G.Text&&!te.textContent.replace(/^\s+|\s+$/gm,"").length?ue=it:ue=Ns();let O=Object.assign(te,{id:ue});if(r.add(n,O),ue===it)return null;b&&b(n);let Ye=!a;if(O.type===G.Element){Ye=Ye&&!O.needBlock,delete O.needBlock;let V=X.shadowRoot(n);V&&rt(V)&&(O.isShadowHost=true);}if((O.type===G.Document||O.type===G.Element)&&Ye){g.headWhitespace&&O.type===G.Element&&O.tagName==="head"&&(Y=false);let V={doc:t,mirror:r,blockClass:i,blockSelector:s,needsMask:W,maskTextClass:o,maskTextSelector:l,skipChild:a,inlineStylesheet:u,maskInputOptions:c,maskTextFn:h,maskInputFn:p,slimDOMOptions:g,dataURLOptions:m,inlineImages:d,recordCanvas:f,preserveWhiteSpace:Y,onSerialize:b,onIframeLoad:v,iframeLoadTimeout:y,onStylesheetLoad:C,stylesheetLoadTimeout:k,keepIframeSrcFn:T,cssCaptured:false};if(!(O.type===G.Element&&O.tagName==="textarea"&&O.attributes.value!==void 0)){O.type===G.Element&&O.attributes._cssText!==void 0&&typeof O.attributes._cssText=="string"&&(V.cssCaptured=true);for(let be of Array.from(X.childNodes(n))){let ce=ke(be,V);ce&&O.childNodes.push(ce);}}let re=null;if(Ls(n)&&(re=X.shadowRoot(n)))for(let be of Array.from(X.childNodes(re))){let ce=ke(be,V);ce&&(rt(re)&&(ce.isShadow=true),O.childNodes.push(ce));}}let Xe=X.parentNode(n);return Xe&&tt(Xe)&&rt(Xe)&&(O.isShadow=true),O.type===G.Element&&O.tagName==="iframe"&&tu(n,()=>{let V=n.contentDocument;if(V&&v){let re=ke(V,{doc:V,mirror:r,blockClass:i,blockSelector:s,needsMask:W,maskTextClass:o,maskTextSelector:l,skipChild:false,inlineStylesheet:u,maskInputOptions:c,maskTextFn:h,maskInputFn:p,slimDOMOptions:g,dataURLOptions:m,inlineImages:d,recordCanvas:f,preserveWhiteSpace:Y,onSerialize:b,onIframeLoad:v,iframeLoadTimeout:y,onStylesheetLoad:C,stylesheetLoadTimeout:k,keepIframeSrcFn:T});re&&v(n,re);}},y),O.type===G.Element&&O.tagName==="link"&&typeof O.attributes.rel=="string"&&(O.attributes.rel==="stylesheet"||O.attributes.rel==="preload"&&typeof O.attributes.href=="string"&&_s(O.attributes.href)==="css")&&ru(n,()=>{if(C){let V=ke(n,{doc:t,mirror:r,blockClass:i,blockSelector:s,needsMask:W,maskTextClass:o,maskTextSelector:l,skipChild:false,inlineStylesheet:u,maskInputOptions:c,maskTextFn:h,maskInputFn:p,slimDOMOptions:g,dataURLOptions:m,inlineImages:d,recordCanvas:f,preserveWhiteSpace:Y,onSerialize:b,onIframeLoad:v,iframeLoadTimeout:y,onStylesheetLoad:C,stylesheetLoadTimeout:k,keepIframeSrcFn:T});V&&C(n,V);}},k),O}function lu(n,e){let{mirror:t=new rr,blockClass:r="rr-block",blockSelector:i=null,maskTextClass:s="rr-mask",maskTextSelector:o=null,inlineStylesheet:l=true,inlineImages:a=false,recordCanvas:u=false,maskAllInputs:c=false,maskTextFn:h,maskInputFn:p,slimDOM:g=false,dataURLOptions:m,preserveWhiteSpace:d,onSerialize:f,onIframeLoad:b,iframeLoadTimeout:v,onStylesheetLoad:y,stylesheetLoadTimeout:C,keepIframeSrcFn:k=()=>false}=e||{},T=c===true?{color:true,date:true,"datetime-local":true,email:true,month:true,number:true,range:true,search:true,tel:true,text:true,time:true,url:true,week:true,textarea:true,select:true,password:true}:c===false?{password:true}:c,j=Hs(g);return ke(n,{doc:n,mirror:t,blockClass:r,blockSelector:i,maskTextClass:s,maskTextSelector:o,skipChild:false,inlineStylesheet:l,maskInputOptions:T,maskTextFn:h,maskInputFn:p,slimDOMOptions:j,dataURLOptions:m,inlineImages:a,recordCanvas:u,preserveWhiteSpace:d,onSerialize:f,onIframeLoad:b,iframeLoadTimeout:v,onStylesheetLoad:y,stylesheetLoadTimeout:C,keepIframeSrcFn:k,newlyAddedElement:false})}function uu(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function cu(n){if(n.__esModule)return n;var e=n.default;if(typeof e=="function"){var t=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype;}else t={};return Object.defineProperty(t,"__esModule",{value:true}),Object.keys(n).forEach(function(r){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,i.get?i:{enumerable:true,get:function(){return n[r]}});}),t}var Zn={exports:{}},D=String,zs=function(){return {isColorSupported:false,reset:D,bold:D,dim:D,italic:D,underline:D,inverse:D,hidden:D,strikethrough:D,black:D,red:D,green:D,yellow:D,blue:D,magenta:D,cyan:D,white:D,gray:D,bgBlack:D,bgRed:D,bgGreen:D,bgYellow:D,bgBlue:D,bgMagenta:D,bgCyan:D,bgWhite:D}};Zn.exports=zs();Zn.exports.createColors=zs;var hu=Zn.exports,fu={},du=Object.freeze(Object.defineProperty({__proto__:null,default:fu},Symbol.toStringTag,{value:"Module"})),oe=cu(du),Ui=hu,Hi=oe,sn=class Ws extends Error{constructor(e,t,r,i,s,o){super(e),this.name="CssSyntaxError",this.reason=e,s&&(this.file=s),i&&(this.source=i),o&&(this.plugin=o),typeof t<"u"&&typeof r<"u"&&(typeof t=="number"?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,Ws);}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason;}showSourceCode(e){if(!this.source)return "";let t=this.source;e==null&&(e=Ui.isColorSupported),Hi&&e&&(t=Hi(t));let r=t.split(/\r?\n/),i=Math.max(this.line-3,0),s=Math.min(this.line+2,r.length),o=String(s).length,l,a;if(e){let{bold:u,gray:c,red:h}=Ui.createColors(true);l=p=>u(h(p)),a=p=>c(p);}else l=a=u=>u;return r.slice(i,s).map((u,c)=>{let h=i+1+c,p=" "+(" "+h).slice(-o)+" | ";if(h===this.line){let g=a(p.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return l(">")+a(p)+u+`
|
|
2
|
-
`+
|
|
3
|
-
`)}toString(){let
|
|
1
|
+
var Bugdump=(function(exports){'use strict';var Jf="https://api.bugdump.com";function La(r){return {projectKey:r.projectKey,endpoint:(r.endpoint||Jf).replace(/\/+$/,""),captureNetworkBodies:r.captureNetworkBodies??false,hideButton:r.hideButton??false}}function Tn(){return {initialized:false,config:null,user:null,customContext:{},widgetOpen:false}}var lr=class{endpoint;apiKey;constructor(A,e){this.endpoint=A,this.apiKey=e;}async submitReport(A){return this.post("/api/widget/v1/reports",A)}async requestUpload(A){return this.post("/api/widget/v1/reports/upload",A)}async uploadFileToS3(A,e,t,s){let n=new FormData;for(let[o,a]of Object.entries(e))n.append(o,a);if(n.append("file",t),s)return new Promise((o,a)=>{let l=new XMLHttpRequest;l.open("POST",A),l.upload.addEventListener("progress",c=>{c.lengthComputable&&s(Math.round(c.loaded/c.total*100));}),l.addEventListener("load",()=>{l.status>=200&&l.status<300?(s(100),o()):a(new Be("S3_UPLOAD_FAILED",l.status));}),l.addEventListener("error",()=>{a(new Be("S3_UPLOAD_FAILED",0));}),l.send(n);});let i=await fetch(A,{method:"POST",body:n});if(!i.ok)throw new Be("S3_UPLOAD_FAILED",i.status)}async post(A,e){let t=`${this.endpoint}${A}`,s=await fetch(t,{method:"POST",headers:{"Content-Type":"application/json","Bugdump-API-Key":this.apiKey},body:JSON.stringify(e)});if(!s.ok){let n;try{n=await s.json();}catch{}throw new Be(n?.error||`HTTP_${s.status}`,s.status,n?.details)}return await s.json()}},Be=class extends Error{code;statusCode;details;constructor(A,e,t){super(`Bugdump API error: ${A} (${e})`),this.name="BugdumpApiError",this.code=A,this.statusCode=e,this.details=t;}};var Ta=["log","warn","error","info","debug"],cr=class{buffer=[];originals=new Map;active=false;start(){if(!this.active){this.active=true;for(let A of Ta)this.originals.set(A,console[A].bind(console)),console[A]=(...e)=>{this.push({level:A,args:this.serializeArgs(e),timestamp:Date.now()}),this.originals.get(A)(...e);};}}stop(){if(this.active){this.active=false;for(let A of Ta){let e=this.originals.get(A);e&&(console[A]=e);}this.originals.clear();}}flush(){let A=[...this.buffer];return this.buffer=[],A}push(A){this.buffer.push(A),this.buffer.length>50&&this.buffer.shift();}serializeArgs(A){return A.map(e=>{if(e==null||typeof e=="string"||typeof e=="number"||typeof e=="boolean")return e;if(e instanceof Error)return {name:e.name,message:e.message,stack:e.stack};try{return JSON.parse(JSON.stringify(e,this.circularReplacer()))}catch{return String(e)}})}circularReplacer(){let A=new WeakSet;return (e,t)=>{if(typeof t=="object"&&t!==null){if(A.has(t))return "[Circular]";A.add(t);}return t}}};var ot=class{buffer=[];originalFetch=null;originalXhrOpen=null;originalXhrSend=null;active=false;options;constructor(A={}){this.options=A;}start(){this.active||(this.active=true,this.patchFetch(),this.patchXhr());}stop(){this.active&&(this.active=false,this.restoreFetch(),this.restoreXhr());}flush(){let A=[...this.buffer];return this.buffer=[],A}push(A){this.buffer.push(A),this.buffer.length>30&&this.buffer.shift();}patchFetch(){this.originalFetch=window.fetch;let A=this;window.fetch=async function(e,t){let s=t?.method?.toUpperCase()||"GET",n=typeof e=="string"?e:e instanceof URL?e.href:e.url,i=Date.now(),o=A.extractHeaders(t?.headers),a=A.options.captureBodies?A.serializeBody(t?.body):null;try{let l=await A.originalFetch.call(window,e,t),c=null;if(A.options.captureBodies)try{let h=await l.clone().text();c=A.truncateBody(h);}catch{}return A.push({method:s,url:n,status:l.status,statusText:l.statusText,requestHeaders:o,responseHeaders:A.extractHeaders(l.headers),requestBody:a,responseBody:c,duration:Date.now()-i,startedAt:i,error:null}),l}catch(l){throw A.push({method:s,url:n,status:null,statusText:null,requestHeaders:o,responseHeaders:{},requestBody:a,responseBody:null,duration:Date.now()-i,startedAt:i,error:l instanceof Error?l.message:String(l)}),l}};}restoreFetch(){this.originalFetch&&(window.fetch=this.originalFetch,this.originalFetch=null);}patchXhr(){this.originalXhrOpen=XMLHttpRequest.prototype.open,this.originalXhrSend=XMLHttpRequest.prototype.send;let A=this;XMLHttpRequest.prototype.open=function(e,t){return this.__bd_method=e.toUpperCase(),this.__bd_url=typeof t=="string"?t:t.href,A.originalXhrOpen.apply(this,arguments)},XMLHttpRequest.prototype.send=function(e){let t=Date.now(),s=this.__bd_method||"GET",n=this.__bd_url||"",i=A.options.captureBodies?A.serializeBody(e):null,o=()=>{let a=null;if(A.options.captureBodies)try{a=A.truncateBody(this.responseText);}catch{}A.push({method:s,url:n,status:this.status||null,statusText:this.statusText||null,requestHeaders:{},responseHeaders:A.parseXhrResponseHeaders(this.getAllResponseHeaders()),requestBody:i,responseBody:a,duration:Date.now()-t,startedAt:t,error:this.status===0?"Network error":null}),this.removeEventListener("loadend",o);};return this.addEventListener("loadend",o),A.originalXhrSend.call(this,e)};}restoreXhr(){this.originalXhrOpen&&(XMLHttpRequest.prototype.open=this.originalXhrOpen,this.originalXhrOpen=null),this.originalXhrSend&&(XMLHttpRequest.prototype.send=this.originalXhrSend,this.originalXhrSend=null);}extractHeaders(A){let e={};if(!A)return e;if(A instanceof Headers)A.forEach((t,s)=>{e[s]=t;});else if(Array.isArray(A))for(let[t,s]of A)e[t]=s;else for(let[t,s]of Object.entries(A))e[t]=s;return e}serializeBody(A){if(A==null)return null;if(typeof A=="string")return this.truncateBody(A);if(A instanceof URLSearchParams)return this.truncateBody(A.toString());if(A instanceof FormData){let e=[];return A.forEach((t,s)=>{e.push(`${s}=${t instanceof File?`[File: ${t.name}]`:t}`);}),this.truncateBody(e.join("&"))}if(A instanceof ArrayBuffer||A instanceof Blob)return `[Binary: ${A instanceof Blob?A.size:A.byteLength} bytes]`;try{return this.truncateBody(JSON.stringify(A))}catch{return null}}truncateBody(A){return A.length<=32768?A:A.slice(0,32768)+"\u2026[truncated]"}parseXhrResponseHeaders(A){let e={};if(!A)return e;for(let t of A.trim().split(/[\r\n]+/)){let s=t.indexOf(":");if(s===-1)continue;let n=t.slice(0,s).trim().toLowerCase(),i=t.slice(s+1).trim();e[n]=i;}return e}};var Yf=Object.defineProperty,zf=(r,A,e)=>A in r?Yf(r,A,{enumerable:true,configurable:true,writable:true,value:e}):r[A]=e,U=(r,A,e)=>zf(r,typeof A!="symbol"?A+"":A,e),Ma,Zf=Object.defineProperty,jf=(r,A,e)=>A in r?Zf(r,A,{enumerable:true,configurable:true,writable:true,value:e}):r[A]=e,Oa=(r,A,e)=>jf(r,typeof A!="symbol"?A+"":A,e),aA=(r=>(r[r.Document=0]="Document",r[r.DocumentType=1]="DocumentType",r[r.Element=2]="Element",r[r.Text=3]="Text",r[r.CDATA=4]="CDATA",r[r.Comment=5]="Comment",r))(aA||{}),Ra={Node:["childNodes","parentNode","parentElement","textContent","ownerDocument"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Da={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},ur={},qf=()=>!!globalThis.Zone;function Di(r){if(ur[r])return ur[r];let A=globalThis[r],e=A.prototype,t=r in Ra?Ra[r]:void 0,s=!!(t&&t.every(o=>{var a,l;return !!((l=(a=Object.getOwnPropertyDescriptor(e,o))==null?void 0:a.get)!=null&&l.toString().includes("[native code]"))})),n=r in Da?Da[r]:void 0,i=!!(n&&n.every(o=>{var a;return typeof e[o]=="function"&&((a=e[o])==null?void 0:a.toString().includes("[native code]"))}));if(s&&i&&!qf())return ur[r]=A.prototype,A.prototype;try{let o=document.createElement("iframe");document.body.appendChild(o);let a=o.contentWindow;if(!a)return A.prototype;let l=a[r].prototype;return document.body.removeChild(o),l?ur[r]=l:e}catch{return e}}var Mn={};function YA(r,A,e){var t;let s=`${r}.${String(e)}`;if(Mn[s])return Mn[s].call(A);let n=Di(r),i=(t=Object.getOwnPropertyDescriptor(n,e))==null?void 0:t.get;return i?(Mn[s]=i,i.call(A)):A[e]}var On={};function Ml(r,A,e){let t=`${r}.${String(e)}`;if(On[t])return On[t].bind(A);let n=Di(r)[e];return typeof n!="function"?A[e]:(On[t]=n,n.bind(A))}function Ad(r){return YA("Node",r,"ownerDocument")}function ed(r){return YA("Node",r,"childNodes")}function td(r){return YA("Node",r,"parentNode")}function rd(r){return YA("Node",r,"parentElement")}function sd(r){return YA("Node",r,"textContent")}function nd(r,A){return Ml("Node",r,"contains")(A)}function id(r){return Ml("Node",r,"getRootNode")()}function od(r){return !r||!("host"in r)?null:YA("ShadowRoot",r,"host")}function ad(r){return r.styleSheets}function ld(r){return !r||!("shadowRoot"in r)?null:YA("Element",r,"shadowRoot")}function cd(r,A){return YA("Element",r,"querySelector")(A)}function ud(r,A){return YA("Element",r,"querySelectorAll")(A)}function hd(){return Di("MutationObserver").constructor}function fd(r,A,e){try{if(!(A in r))return ()=>{};let t=r[A],s=e(t);return typeof s=="function"&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:t}})),r[A]=s,()=>{r[A]=t;}}catch{return ()=>{}}}var fA={ownerDocument:Ad,childNodes:ed,parentNode:td,parentElement:rd,textContent:sd,contains:nd,getRootNode:id,host:od,styleSheets:ad,shadowRoot:ld,querySelector:cd,querySelectorAll:ud,mutationObserver:hd,patch:fd};function Ol(r){return r.nodeType===r.ELEMENT_NODE}function ft(r){let A=r&&"host"in r&&"mode"in r&&fA.host(r)||null;return !!(A&&"shadowRoot"in A&&fA.shadowRoot(A)===r)}function dt(r){return Object.prototype.toString.call(r)==="[object ShadowRoot]"}function dd(r){return r.includes(" background-clip: text;")&&!r.includes(" -webkit-background-clip: text;")&&(r=r.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),r}function pd(r){let{cssText:A}=r;if(A.split('"').length<3)return A;let e=["@import",`url(${JSON.stringify(r.href)})`];return r.layerName===""?e.push("layer"):r.layerName&&e.push(`layer(${r.layerName})`),r.supportsText&&e.push(`supports(${r.supportsText})`),r.media.length&&e.push(r.media.mediaText),e.join(" ")+";"}function Jn(r){try{let A=r.rules||r.cssRules;if(!A)return null;let e=r.href;!e&&r.ownerNode&&(e=r.ownerNode.baseURI);let t=Array.from(A,s=>Rl(s,e)).join("");return dd(t)}catch{return null}}function Rl(r,A){if(gd(r)){let e;try{e=Jn(r.styleSheet)||pd(r);}catch{e=r.cssText;}return r.styleSheet.href?Gr(e,r.styleSheet.href):e}else {let e=r.cssText;return wd(r)&&r.selectorText.includes(":")&&(e=Bd(e)),A?Gr(e,A):e}}function Bd(r){let A=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return r.replace(A,"$1\\$2")}function gd(r){return "styleSheet"in r}function wd(r){return "selectorText"in r}var kr=class{constructor(){Oa(this,"idNodeMap",new Map),Oa(this,"nodeMetaMap",new WeakMap);}getId(A){var e;return A?((e=this.getMeta(A))==null?void 0:e.id)??-1:-1}getNode(A){return this.idNodeMap.get(A)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(A){return this.nodeMetaMap.get(A)||null}removeNodeFromMap(A){let e=this.getId(A);this.idNodeMap.delete(e),A.childNodes&&A.childNodes.forEach(t=>this.removeNodeFromMap(t));}has(A){return this.idNodeMap.has(A)}hasNode(A){return this.nodeMetaMap.has(A)}add(A,e){let t=e.id;this.idNodeMap.set(t,A),this.nodeMetaMap.set(A,e);}replace(A,e){let t=this.getNode(A);if(t){let s=this.nodeMetaMap.get(t);s&&this.nodeMetaMap.set(e,s);}this.idNodeMap.set(A,e);}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap;}};function md(){return new kr}function Pr({element:r,maskInputOptions:A,tagName:e,type:t,value:s,maskInputFn:n}){let i=s||"",o=t&&we(t);return (A[e.toLowerCase()]||o&&A[o])&&(n?i=n(i,r):i="*".repeat(i.length)),i}function we(r){return r.toLowerCase()}var Ka="__rrweb_original__";function Cd(r){let A=r.getContext("2d");if(!A)return true;let e=50;for(let t=0;t<r.width;t+=e)for(let s=0;s<r.height;s+=e){let n=A.getImageData,i=Ka in n?n[Ka]:n;if(new Uint32Array(i.call(A,t,s,Math.min(e,r.width-t),Math.min(e,r.height-s)).data.buffer).some(a=>a!==0))return false}return true}function _r(r){let A=r.type;return r.hasAttribute("data-rr-is-password")?"password":A?we(A):null}function Dl(r,A){let e;try{e=new URL(r,A??window.location.href);}catch{return null}let t=/\.([0-9a-z]+)(?:$)/i,s=e.pathname.match(t);return s?.[1]??null}function Qd(r){let A="";return r.indexOf("//")>-1?A=r.split("/").slice(0,3).join("/"):A=r.split("/")[0],A=A.split("?")[0],A}var Ud=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,yd=/^(?:[a-z+]+:)?\/\//i,Fd=/^www\..*/i,bd=/^(data:)([^,]*),(.*)/i;function Gr(r,A){return (r||"").replace(Ud,(e,t,s,n,i,o)=>{let a=s||i||o,l=t||n||"";if(!a)return e;if(yd.test(a)||Fd.test(a))return `url(${l}${a}${l})`;if(bd.test(a))return `url(${l}${a}${l})`;if(a[0]==="/")return `url(${l}${Qd(A)+a}${l})`;let c=A.split("/"),u=a.split("/");c.pop();for(let h of u)h!=="."&&(h===".."?c.pop():c.push(h));return `url(${l}${c.join("/")}${l})`})}function hr(r,A=false){return A?r.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):r.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}function Ed(r,A,e=false){let t=Array.from(A.childNodes),s=[],n=0;if(t.length>1&&r&&typeof r=="string"){let i=hr(r,e),o=i.length/r.length;for(let a=1;a<t.length;a++)if(t[a].textContent&&typeof t[a].textContent=="string"){let l=hr(t[a].textContent,e),c=100,u=3;for(;u<l.length&&(l[u].match(/[a-zA-Z0-9]/)||l.indexOf(l.substring(0,u),1)!==-1);u++);for(;u<l.length;u++){let h=l.substring(0,u),f=i.split(h),p=-1;if(f.length===2)p=f[0].length;else if(f.length>2&&f[0]===""&&t[a-1].textContent!=="")p=i.indexOf(h,1);else if(f.length===1){if(h=h.substring(0,h.length-1),f=i.split(h),f.length<=1)return s.push(r),s;u=c+1;}else u===l.length-1&&(p=i.indexOf(h));if(f.length>=2&&u>c){let d=t[a-1].textContent;if(d&&typeof d=="string"){let B=hr(d).length;p=i.indexOf(h,B);}p===-1&&(p=f[0].length);}if(p!==-1){let d=Math.floor(p/o);for(;d>0&&d<r.length;){if(n+=1,n>50*t.length)return s.push(r),s;let B=hr(r.substring(0,d),e);if(B.length===p){s.push(r.substring(0,d)),r=r.substring(d),i=i.substring(p);break}else B.length<p?d+=Math.max(1,Math.floor((p-B.length)/o)):d-=Math.max(1,Math.floor((B.length-p)*o));}break}}}}return s.push(r),s}function Id(r,A){return Ed(r,A).join("/* rr_split */")}var xd=1,Sd=new RegExp("[^a-z0-9-_:]"),Bt=-2;function Kl(){return xd++}function vd(r){if(r instanceof HTMLFormElement)return "form";let A=we(r.tagName);return Sd.test(A)?"div":A}var Le,Na,Hd=/^[^ \t\n\r\u000c]+/,Ld=/^[, \t\n\r\u000c]+/;function Td(r,A){if(A.trim()==="")return A;let e=0;function t(n){let i,o=n.exec(A.substring(e));return o?(i=o[0],e+=i.length,i):""}let s=[];for(;t(Ld),!(e>=A.length);){let n=t(Hd);if(n.slice(-1)===",")n=Oe(r,n.substring(0,n.length-1)),s.push(n);else {let i="";n=Oe(r,n);let o=false;for(;;){let a=A.charAt(e);if(a===""){s.push((n+i).trim());break}else if(o)a===")"&&(o=false);else if(a===","){e+=1,s.push((n+i).trim());break}else a==="("&&(o=true);i+=a,e+=1;}}}return s.join(", ")}var ka=new WeakMap;function Oe(r,A){return !A||A.trim()===""?A:Ki(r,A)}function Md(r){return !!(r.tagName==="svg"||r.ownerSVGElement)}function Ki(r,A){let e=ka.get(r);if(e||(e=r.createElement("a"),ka.set(r,e)),!A)A="";else if(A.startsWith("blob:")||A.startsWith("data:"))return A;return e.setAttribute("href",A),e.href}function Nl(r,A,e,t){return t&&(e==="src"||e==="href"&&!(A==="use"&&t[0]==="#")||e==="xlink:href"&&t[0]!=="#"||e==="background"&&["table","td","th"].includes(A)?Oe(r,t):e==="srcset"?Td(r,t):e==="style"?Gr(t,Ki(r)):A==="object"&&e==="data"?Oe(r,t):t)}function kl(r,A,e){return ["video","audio"].includes(r)&&A==="autoplay"}function Od(r,A,e){try{if(typeof A=="string"){if(r.classList.contains(A))return !0}else for(let t=r.classList.length;t--;){let s=r.classList[t];if(A.test(s))return !0}if(e)return r.matches(e)}catch{}return false}function Vr(r,A,e){if(!r)return false;if(r.nodeType!==r.ELEMENT_NODE)return e?Vr(fA.parentNode(r),A,e):false;for(let t=r.classList.length;t--;){let s=r.classList[t];if(A.test(s))return true}return e?Vr(fA.parentNode(r),A,e):false}function Pl(r,A,e,t){let s;if(Ol(r)){if(s=r,!fA.childNodes(s).length)return false}else {if(fA.parentElement(r)===null)return false;s=fA.parentElement(r);}try{if(typeof A=="string"){if(t){if(s.closest(`.${A}`))return !0}else if(s.classList.contains(A))return !0}else if(Vr(s,A,t))return !0;if(e){if(t){if(s.closest(e))return !0}else if(s.matches(e))return !0}}catch{}return false}function Rd(r,A,e){let t=r.contentWindow;if(!t)return;let s=false,n;try{n=t.document.readyState;}catch{return}if(n!=="complete"){let o=setTimeout(()=>{s||(A(),s=true);},e);r.addEventListener("load",()=>{clearTimeout(o),s=true,A();});return}let i="about:blank";if(t.location.href!==i||r.src===i||r.src==="")return setTimeout(A,0),r.addEventListener("load",A);r.addEventListener("load",A);}function Dd(r,A,e){let t=false,s;try{s=r.sheet;}catch{return}if(s)return;let n=setTimeout(()=>{t||(A(),t=true);},e);r.addEventListener("load",()=>{clearTimeout(n),t=true,A();});}function Kd(r,A){let{doc:e,mirror:t,blockClass:s,blockSelector:n,needsMask:i,inlineStylesheet:o,maskInputOptions:a={},maskTextFn:l,maskInputFn:c,dataURLOptions:u={},inlineImages:h,recordCanvas:f,keepIframeSrcFn:p,newlyAddedElement:d=false,cssCaptured:B=false}=A,m=Nd(e,t);switch(r.nodeType){case r.DOCUMENT_NODE:return r.compatMode!=="CSS1Compat"?{type:aA.Document,childNodes:[],compatMode:r.compatMode}:{type:aA.Document,childNodes:[]};case r.DOCUMENT_TYPE_NODE:return {type:aA.DocumentType,name:r.name,publicId:r.publicId,systemId:r.systemId,rootId:m};case r.ELEMENT_NODE:return Pd(r,{doc:e,blockClass:s,blockSelector:n,inlineStylesheet:o,maskInputOptions:a,maskInputFn:c,dataURLOptions:u,inlineImages:h,recordCanvas:f,keepIframeSrcFn:p,newlyAddedElement:d,rootId:m});case r.TEXT_NODE:return kd(r,{doc:e,needsMask:i,maskTextFn:l,rootId:m,cssCaptured:B});case r.CDATA_SECTION_NODE:return {type:aA.CDATA,textContent:"",rootId:m};case r.COMMENT_NODE:return {type:aA.Comment,textContent:fA.textContent(r)||"",rootId:m};default:return false}}function Nd(r,A){if(!A.hasNode(r))return;let e=A.getId(r);return e===1?void 0:e}function kd(r,A){let{needsMask:e,maskTextFn:t,rootId:s,cssCaptured:n}=A,i=fA.parentNode(r),o=i&&i.tagName,a="",l=o==="STYLE"?true:void 0,c=o==="SCRIPT"?true:void 0;return c?a="SCRIPT_PLACEHOLDER":n||(a=fA.textContent(r),l&&a&&(a=Gr(a,Ki(A.doc)))),!l&&!c&&a&&e&&(a=t?t(a,fA.parentElement(r)):a.replace(/[\S]/g,"*")),{type:aA.Text,textContent:a||"",rootId:s}}function Pd(r,A){let{doc:e,blockClass:t,blockSelector:s,inlineStylesheet:n,maskInputOptions:i={},maskInputFn:o,dataURLOptions:a={},inlineImages:l,recordCanvas:c,keepIframeSrcFn:u,newlyAddedElement:h=false,rootId:f}=A,p=Od(r,t,s),d=vd(r),B={},m=r.attributes.length;for(let g=0;g<m;g++){let C=r.attributes[g];kl(d,C.name,C.value)||(B[C.name]=Nl(e,d,we(C.name),C.value));}if(d==="link"&&n){let g=Array.from(e.styleSheets).find(Q=>Q.href===r.href),C=null;g&&(C=Jn(g)),C&&(delete B.rel,delete B.href,B._cssText=C);}if(d==="style"&&r.sheet){let g=Jn(r.sheet);g&&(r.childNodes.length>1&&(g=Id(g,r)),B._cssText=g);}if(["input","textarea","select"].includes(d)){let g=r.value,C=r.checked;B.type!=="radio"&&B.type!=="checkbox"&&B.type!=="submit"&&B.type!=="button"&&g?B.value=Pr({element:r,type:_r(r),tagName:d,value:g,maskInputOptions:i,maskInputFn:o}):C&&(B.checked=C);}if(d==="option"&&(r.selected&&!i.select?B.selected=true:delete B.selected),d==="dialog"&&r.open&&(B.rr_open_mode=r.matches("dialog:modal")?"modal":"non-modal"),d==="canvas"&&c){if(r.__context==="2d")Cd(r)||(B.rr_dataURL=r.toDataURL(a.type,a.quality));else if(!("__context"in r)){let g=r.toDataURL(a.type,a.quality),C=e.createElement("canvas");C.width=r.width,C.height=r.height;let Q=C.toDataURL(a.type,a.quality);g!==Q&&(B.rr_dataURL=g);}}if(d==="img"&&l){Le||(Le=e.createElement("canvas"),Na=Le.getContext("2d"));let g=r,C=g.currentSrc||g.getAttribute("src")||"<unknown-src>",Q=g.crossOrigin,b=()=>{g.removeEventListener("load",b);try{Le.width=g.naturalWidth,Le.height=g.naturalHeight,Na.drawImage(g,0,0),B.rr_dataURL=Le.toDataURL(a.type,a.quality);}catch(M){if(g.crossOrigin!=="anonymous"){g.crossOrigin="anonymous",g.complete&&g.naturalWidth!==0?b():g.addEventListener("load",b);return}else console.warn(`Cannot inline img src=${C}! Error: ${M}`);}g.crossOrigin==="anonymous"&&(Q?B.crossOrigin=Q:g.removeAttribute("crossorigin"));};g.complete&&g.naturalWidth!==0?b():g.addEventListener("load",b);}if(["audio","video"].includes(d)){let g=B;g.rr_mediaState=r.paused?"paused":"played",g.rr_mediaCurrentTime=r.currentTime,g.rr_mediaPlaybackRate=r.playbackRate,g.rr_mediaMuted=r.muted,g.rr_mediaLoop=r.loop,g.rr_mediaVolume=r.volume;}if(h||(r.scrollLeft&&(B.rr_scrollLeft=r.scrollLeft),r.scrollTop&&(B.rr_scrollTop=r.scrollTop)),p){let{width:g,height:C}=r.getBoundingClientRect();B={class:B.class,rr_width:`${g}px`,rr_height:`${C}px`};}d==="iframe"&&!u(B.src)&&(r.contentDocument||(B.rr_src=B.src),delete B.src);let w;try{customElements.get(d)&&(w=!0);}catch{}return {type:aA.Element,tagName:d,attributes:B,childNodes:[],isSVG:Md(r)||void 0,needBlock:p,rootId:f,isCustom:w}}function V(r){return r==null?"":r.toLowerCase()}function _l(r){return r===true||r==="all"?{script:true,comment:true,headFavicon:true,headWhitespace:true,headMetaSocial:true,headMetaRobots:true,headMetaHttpEquiv:true,headMetaVerification:true,headMetaAuthorship:r==="all",headMetaDescKeywords:r==="all",headTitleMutations:r==="all"}:r||{}}function _d(r,A){if(A.comment&&r.type===aA.Comment)return true;if(r.type===aA.Element){if(A.script&&(r.tagName==="script"||r.tagName==="link"&&(r.attributes.rel==="preload"&&r.attributes.as==="script"||r.attributes.rel==="modulepreload")||r.tagName==="link"&&r.attributes.rel==="prefetch"&&typeof r.attributes.href=="string"&&Dl(r.attributes.href)==="js"))return true;if(A.headFavicon&&(r.tagName==="link"&&r.attributes.rel==="shortcut icon"||r.tagName==="meta"&&(V(r.attributes.name).match(/^msapplication-tile(image|color)$/)||V(r.attributes.name)==="application-name"||V(r.attributes.rel)==="icon"||V(r.attributes.rel)==="apple-touch-icon"||V(r.attributes.rel)==="shortcut icon")))return true;if(r.tagName==="meta"){if(A.headMetaDescKeywords&&V(r.attributes.name).match(/^description|keywords$/))return true;if(A.headMetaSocial&&(V(r.attributes.property).match(/^(og|twitter|fb):/)||V(r.attributes.name).match(/^(og|twitter):/)||V(r.attributes.name)==="pinterest"))return true;if(A.headMetaRobots&&(V(r.attributes.name)==="robots"||V(r.attributes.name)==="googlebot"||V(r.attributes.name)==="bingbot"))return true;if(A.headMetaHttpEquiv&&r.attributes["http-equiv"]!==void 0)return true;if(A.headMetaAuthorship&&(V(r.attributes.name)==="author"||V(r.attributes.name)==="generator"||V(r.attributes.name)==="framework"||V(r.attributes.name)==="publisher"||V(r.attributes.name)==="progid"||V(r.attributes.property).match(/^article:/)||V(r.attributes.property).match(/^product:/)))return true;if(A.headMetaVerification&&(V(r.attributes.name)==="google-site-verification"||V(r.attributes.name)==="yandex-verification"||V(r.attributes.name)==="csrf-token"||V(r.attributes.name)==="p:domain_verify"||V(r.attributes.name)==="verify-v1"||V(r.attributes.name)==="verification"||V(r.attributes.name)==="shopify-checkout-api-token"))return true}}return false}function Re(r,A){let{doc:e,mirror:t,blockClass:s,blockSelector:n,maskTextClass:i,maskTextSelector:o,skipChild:a=false,inlineStylesheet:l=true,maskInputOptions:c={},maskTextFn:u,maskInputFn:h,slimDOMOptions:f,dataURLOptions:p={},inlineImages:d=false,recordCanvas:B=false,onSerialize:m,onIframeLoad:w,iframeLoadTimeout:g=5e3,onStylesheetLoad:C,stylesheetLoadTimeout:Q=5e3,keepIframeSrcFn:b=()=>false,newlyAddedElement:M=false,cssCaptured:v=false}=A,{needsMask:x}=A,{preserveWhiteSpace:J=true}=A;x||(x=Pl(r,i,o,x===void 0));let hA=Kd(r,{doc:e,mirror:t,blockClass:s,blockSelector:n,needsMask:x,inlineStylesheet:l,maskInputOptions:c,maskTextFn:u,maskInputFn:h,dataURLOptions:p,inlineImages:d,recordCanvas:B,keepIframeSrcFn:b,newlyAddedElement:M,cssCaptured:v});if(!hA)return console.warn(r,"not serialized"),null;let lA;t.hasNode(r)?lA=t.getId(r):_d(hA,f)||!J&&hA.type===aA.Text&&!hA.textContent.replace(/^\s+|\s+$/gm,"").length?lA=Bt:lA=Kl();let L=Object.assign(hA,{id:lA});if(t.add(r,L),lA===Bt)return null;m&&m(r);let ee=!a;if(L.type===aA.Element){ee=ee&&!L.needBlock,delete L.needBlock;let oA=fA.shadowRoot(r);oA&&dt(oA)&&(L.isShadowHost=true);}if((L.type===aA.Document||L.type===aA.Element)&&ee){f.headWhitespace&&L.type===aA.Element&&L.tagName==="head"&&(J=false);let oA={doc:e,mirror:t,blockClass:s,blockSelector:n,needsMask:x,maskTextClass:i,maskTextSelector:o,skipChild:a,inlineStylesheet:l,maskInputOptions:c,maskTextFn:u,maskInputFn:h,slimDOMOptions:f,dataURLOptions:p,inlineImages:d,recordCanvas:B,preserveWhiteSpace:J,onSerialize:m,onIframeLoad:w,iframeLoadTimeout:g,onStylesheetLoad:C,stylesheetLoadTimeout:Q,keepIframeSrcFn:b,cssCaptured:false};if(!(L.type===aA.Element&&L.tagName==="textarea"&&L.attributes.value!==void 0)){L.type===aA.Element&&L.attributes._cssText!==void 0&&typeof L.attributes._cssText=="string"&&(oA.cssCaptured=true);for(let fe of Array.from(fA.childNodes(r))){let KA=Re(fe,oA);KA&&L.childNodes.push(KA);}}let bA=null;if(Ol(r)&&(bA=fA.shadowRoot(r)))for(let fe of Array.from(fA.childNodes(bA))){let KA=Re(fe,oA);KA&&(dt(bA)&&(KA.isShadow=true),L.childNodes.push(KA));}}let te=fA.parentNode(r);return te&&ft(te)&&dt(te)&&(L.isShadow=true),L.type===aA.Element&&L.tagName==="iframe"&&Rd(r,()=>{let oA=r.contentDocument;if(oA&&w){let bA=Re(oA,{doc:oA,mirror:t,blockClass:s,blockSelector:n,needsMask:x,maskTextClass:i,maskTextSelector:o,skipChild:false,inlineStylesheet:l,maskInputOptions:c,maskTextFn:u,maskInputFn:h,slimDOMOptions:f,dataURLOptions:p,inlineImages:d,recordCanvas:B,preserveWhiteSpace:J,onSerialize:m,onIframeLoad:w,iframeLoadTimeout:g,onStylesheetLoad:C,stylesheetLoadTimeout:Q,keepIframeSrcFn:b});bA&&w(r,bA);}},g),L.type===aA.Element&&L.tagName==="link"&&typeof L.attributes.rel=="string"&&(L.attributes.rel==="stylesheet"||L.attributes.rel==="preload"&&typeof L.attributes.href=="string"&&Dl(L.attributes.href)==="css")&&Dd(r,()=>{if(C){let oA=Re(r,{doc:e,mirror:t,blockClass:s,blockSelector:n,needsMask:x,maskTextClass:i,maskTextSelector:o,skipChild:false,inlineStylesheet:l,maskInputOptions:c,maskTextFn:u,maskInputFn:h,slimDOMOptions:f,dataURLOptions:p,inlineImages:d,recordCanvas:B,preserveWhiteSpace:J,onSerialize:m,onIframeLoad:w,iframeLoadTimeout:g,onStylesheetLoad:C,stylesheetLoadTimeout:Q,keepIframeSrcFn:b});oA&&C(r,oA);}},Q),L}function Gd(r,A){let{mirror:e=new kr,blockClass:t="rr-block",blockSelector:s=null,maskTextClass:n="rr-mask",maskTextSelector:i=null,inlineStylesheet:o=true,inlineImages:a=false,recordCanvas:l=false,maskAllInputs:c=false,maskTextFn:u,maskInputFn:h,slimDOM:f=false,dataURLOptions:p,preserveWhiteSpace:d,onSerialize:B,onIframeLoad:m,iframeLoadTimeout:w,onStylesheetLoad:g,stylesheetLoadTimeout:C,keepIframeSrcFn:Q=()=>false}=A||{},b=c===true?{color:true,date:true,"datetime-local":true,email:true,month:true,number:true,range:true,search:true,tel:true,text:true,time:true,url:true,week:true,textarea:true,select:true,password:true}:c===false?{password:true}:c,M=_l(f);return Re(r,{doc:r,mirror:e,blockClass:t,blockSelector:s,maskTextClass:n,maskTextSelector:i,skipChild:false,inlineStylesheet:o,maskInputOptions:b,maskTextFn:u,maskInputFn:h,slimDOMOptions:M,dataURLOptions:p,inlineImages:a,recordCanvas:l,preserveWhiteSpace:d,onSerialize:B,onIframeLoad:m,iframeLoadTimeout:w,onStylesheetLoad:g,stylesheetLoadTimeout:C,keepIframeSrcFn:Q,newlyAddedElement:false})}function Vd(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function $d(r){if(r.__esModule)return r;var A=r.default;if(typeof A=="function"){var e=function t(){return this instanceof t?Reflect.construct(A,arguments,this.constructor):A.apply(this,arguments)};e.prototype=A.prototype;}else e={};return Object.defineProperty(e,"__esModule",{value:true}),Object.keys(r).forEach(function(t){var s=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(e,t,s.get?s:{enumerable:true,get:function(){return r[t]}});}),e}var Ni={exports:{}},W=String,Gl=function(){return {isColorSupported:false,reset:W,bold:W,dim:W,italic:W,underline:W,inverse:W,hidden:W,strikethrough:W,black:W,red:W,green:W,yellow:W,blue:W,magenta:W,cyan:W,white:W,gray:W,bgBlack:W,bgRed:W,bgGreen:W,bgYellow:W,bgBlue:W,bgMagenta:W,bgCyan:W,bgWhite:W}};Ni.exports=Gl();Ni.exports.createColors=Gl;var Wd=Ni.exports,Xd={},Jd=Object.freeze(Object.defineProperty({__proto__:null,default:Xd},Symbol.toStringTag,{value:"Module"})),TA=$d(Jd),Pa=Wd,_a=TA,Yn=class Vl extends Error{constructor(A,e,t,s,n,i){super(A),this.name="CssSyntaxError",this.reason=A,n&&(this.file=n),s&&(this.source=s),i&&(this.plugin=i),typeof e<"u"&&typeof t<"u"&&(typeof e=="number"?(this.line=e,this.column=t):(this.line=e.line,this.column=e.column,this.endLine=t.line,this.endColumn=t.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,Vl);}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason;}showSourceCode(A){if(!this.source)return "";let e=this.source;A==null&&(A=Pa.isColorSupported),_a&&A&&(e=_a(e));let t=e.split(/\r?\n/),s=Math.max(this.line-3,0),n=Math.min(this.line+2,t.length),i=String(n).length,o,a;if(A){let{bold:l,gray:c,red:u}=Pa.createColors(true);o=h=>l(u(h)),a=h=>c(h);}else o=a=l=>l;return t.slice(s,n).map((l,c)=>{let u=s+1+c,h=" "+(" "+u).slice(-i)+" | ";if(u===this.line){let f=a(h.replace(/\d/g," "))+l.slice(0,this.column-1).replace(/[^\t]/g," ");return o(">")+a(h)+l+`
|
|
2
|
+
`+f+o("^")}return " "+a(h)+l}).join(`
|
|
3
|
+
`)}toString(){let A=this.showSourceCode();return A&&(A=`
|
|
4
4
|
|
|
5
|
-
`+
|
|
6
|
-
`),this.name+": "+this.message+
|
|
5
|
+
`+A+`
|
|
6
|
+
`),this.name+": "+this.message+A}},ki=Yn;Yn.default=Yn;var Et={};Et.isClean=Symbol("isClean");Et.my=Symbol("my");var Ga={after:`
|
|
7
7
|
`,beforeClose:`
|
|
8
8
|
`,beforeComment:`
|
|
9
9
|
`,beforeDecl:`
|
|
10
10
|
`,beforeOpen:" ",beforeRule:`
|
|
11
|
-
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:false};function
|
|
12
|
-
`)){let
|
|
13
|
-
`)&&(
|
|
14
|
-
`)&&(
|
|
15
|
-
`)&&(
|
|
16
|
-
`)&&(
|
|
17
|
-
`);return
|
|
18
|
-
`?(
|
|
19
|
-
`);
|
|
11
|
+
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:false};function Yd(r){return r[0].toUpperCase()+r.slice(1)}var zn=class{constructor(A){this.builder=A;}atrule(A,e){let t="@"+A.name,s=A.params?this.rawValue(A,"params"):"";if(typeof A.raws.afterName<"u"?t+=A.raws.afterName:s&&(t+=" "),A.nodes)this.block(A,t+s);else {let n=(A.raws.between||"")+(e?";":"");this.builder(t+s+n,A);}}beforeAfter(A,e){let t;A.type==="decl"?t=this.raw(A,null,"beforeDecl"):A.type==="comment"?t=this.raw(A,null,"beforeComment"):e==="before"?t=this.raw(A,null,"beforeRule"):t=this.raw(A,null,"beforeClose");let s=A.parent,n=0;for(;s&&s.type!=="root";)n+=1,s=s.parent;if(t.includes(`
|
|
12
|
+
`)){let i=this.raw(A,null,"indent");if(i.length)for(let o=0;o<n;o++)t+=i;}return t}block(A,e){let t=this.raw(A,"between","beforeOpen");this.builder(e+t+"{",A,"start");let s;A.nodes&&A.nodes.length?(this.body(A),s=this.raw(A,"after")):s=this.raw(A,"after","emptyBody"),s&&this.builder(s),this.builder("}",A,"end");}body(A){let e=A.nodes.length-1;for(;e>0&&A.nodes[e].type==="comment";)e-=1;let t=this.raw(A,"semicolon");for(let s=0;s<A.nodes.length;s++){let n=A.nodes[s],i=this.raw(n,"before");i&&this.builder(i),this.stringify(n,e!==s||t);}}comment(A){let e=this.raw(A,"left","commentLeft"),t=this.raw(A,"right","commentRight");this.builder("/*"+e+A.text+t+"*/",A);}decl(A,e){let t=this.raw(A,"between","colon"),s=A.prop+t+this.rawValue(A,"value");A.important&&(s+=A.raws.important||" !important"),e&&(s+=";"),this.builder(s,A);}document(A){this.body(A);}raw(A,e,t){let s;if(t||(t=e),e&&(s=A.raws[e],typeof s<"u"))return s;let n=A.parent;if(t==="before"&&(!n||n.type==="root"&&n.first===A||n&&n.type==="document"))return "";if(!n)return Ga[t];let i=A.root();if(i.rawCache||(i.rawCache={}),typeof i.rawCache[t]<"u")return i.rawCache[t];if(t==="before"||t==="after")return this.beforeAfter(A,t);{let o="raw"+Yd(t);this[o]?s=this[o](i,A):i.walk(a=>{if(s=a.raws[e],typeof s<"u")return false});}return typeof s>"u"&&(s=Ga[t]),i.rawCache[t]=s,s}rawBeforeClose(A){let e;return A.walk(t=>{if(t.nodes&&t.nodes.length>0&&typeof t.raws.after<"u")return e=t.raws.after,e.includes(`
|
|
13
|
+
`)&&(e=e.replace(/[^\n]+$/,"")),false}),e&&(e=e.replace(/\S/g,"")),e}rawBeforeComment(A,e){let t;return A.walkComments(s=>{if(typeof s.raws.before<"u")return t=s.raws.before,t.includes(`
|
|
14
|
+
`)&&(t=t.replace(/[^\n]+$/,"")),false}),typeof t>"u"?t=this.raw(e,null,"beforeDecl"):t&&(t=t.replace(/\S/g,"")),t}rawBeforeDecl(A,e){let t;return A.walkDecls(s=>{if(typeof s.raws.before<"u")return t=s.raws.before,t.includes(`
|
|
15
|
+
`)&&(t=t.replace(/[^\n]+$/,"")),false}),typeof t>"u"?t=this.raw(e,null,"beforeRule"):t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(A){let e;return A.walk(t=>{if(t.type!=="decl"&&(e=t.raws.between,typeof e<"u"))return false}),e}rawBeforeRule(A){let e;return A.walk(t=>{if(t.nodes&&(t.parent!==A||A.first!==t)&&typeof t.raws.before<"u")return e=t.raws.before,e.includes(`
|
|
16
|
+
`)&&(e=e.replace(/[^\n]+$/,"")),false}),e&&(e=e.replace(/\S/g,"")),e}rawColon(A){let e;return A.walkDecls(t=>{if(typeof t.raws.between<"u")return e=t.raws.between.replace(/[^\s:]/g,""),false}),e}rawEmptyBody(A){let e;return A.walk(t=>{if(t.nodes&&t.nodes.length===0&&(e=t.raws.after,typeof e<"u"))return false}),e}rawIndent(A){if(A.raws.indent)return A.raws.indent;let e;return A.walk(t=>{let s=t.parent;if(s&&s!==A&&s.parent&&s.parent===A&&typeof t.raws.before<"u"){let n=t.raws.before.split(`
|
|
17
|
+
`);return e=n[n.length-1],e=e.replace(/\S/g,""),false}}),e}rawSemicolon(A){let e;return A.walk(t=>{if(t.nodes&&t.nodes.length&&t.last.type==="decl"&&(e=t.raws.semicolon,typeof e<"u"))return false}),e}rawValue(A,e){let t=A[e],s=A.raws[e];return s&&s.value===t?s.raw:t}root(A){this.body(A),A.raws.after&&this.builder(A.raws.after);}rule(A){this.block(A,this.rawValue(A,"selector")),A.raws.ownSemicolon&&this.builder(A.raws.ownSemicolon,A,"end");}stringify(A,e){if(!this[A.type])throw new Error("Unknown AST node type "+A.type+". Maybe you need to change PostCSS stringifier.");this[A.type](A,e);}},$l=zn;zn.default=zn;var zd=$l;function Zn(r,A){new zd(A).stringify(r);}var rs=Zn;Zn.default=Zn;var{isClean:fr,my:Zd}=Et,jd=ki,qd=$l,Ap=rs;function jn(r,A){let e=new r.constructor;for(let t in r){if(!Object.prototype.hasOwnProperty.call(r,t)||t==="proxyCache")continue;let s=r[t],n=typeof s;t==="parent"&&n==="object"?A&&(e[t]=A):t==="source"?e[t]=s:Array.isArray(s)?e[t]=s.map(i=>jn(i,e)):(n==="object"&&s!==null&&(s=jn(s)),e[t]=s);}return e}var qn=class{constructor(A={}){this.raws={},this[fr]=false,this[Zd]=true;for(let e in A)if(e==="nodes"){this.nodes=[];for(let t of A[e])typeof t.clone=="function"?this.append(t.clone()):this.append(t);}else this[e]=A[e];}addToError(A){if(A.postcssNode=this,A.stack&&this.source&&/\n\s{4}at /.test(A.stack)){let e=this.source;A.stack=A.stack.replace(/\n\s{4}at /,`$&${e.input.from}:${e.start.line}:${e.start.column}$&`);}return A}after(A){return this.parent.insertAfter(this,A),this}assign(A={}){for(let e in A)this[e]=A[e];return this}before(A){return this.parent.insertBefore(this,A),this}cleanRaws(A){delete this.raws.before,delete this.raws.after,A||delete this.raws.between;}clone(A={}){let e=jn(this);for(let t in A)e[t]=A[t];return e}cloneAfter(A={}){let e=this.clone(A);return this.parent.insertAfter(this,e),e}cloneBefore(A={}){let e=this.clone(A);return this.parent.insertBefore(this,e),e}error(A,e={}){if(this.source){let{end:t,start:s}=this.rangeBy(e);return this.source.input.error(A,{column:s.column,line:s.line},{column:t.column,line:t.line},e)}return new jd(A)}getProxyProcessor(){return {get(A,e){return e==="proxyOf"?A:e==="root"?()=>A.root().toProxy():A[e]},set(A,e,t){return A[e]===t||(A[e]=t,(e==="prop"||e==="value"||e==="name"||e==="params"||e==="important"||e==="text")&&A.markDirty()),true}}}markDirty(){if(this[fr]){this[fr]=false;let A=this;for(;A=A.parent;)A[fr]=false;}}next(){if(!this.parent)return;let A=this.parent.index(this);return this.parent.nodes[A+1]}positionBy(A,e){let t=this.source.start;if(A.index)t=this.positionInside(A.index,e);else if(A.word){e=this.toString();let s=e.indexOf(A.word);s!==-1&&(t=this.positionInside(s,e));}return t}positionInside(A,e){let t=e||this.toString(),s=this.source.start.column,n=this.source.start.line;for(let i=0;i<A;i++)t[i]===`
|
|
18
|
+
`?(s=1,n+=1):s+=1;return {column:s,line:n}}prev(){if(!this.parent)return;let A=this.parent.index(this);return this.parent.nodes[A-1]}rangeBy(A){let e={column:this.source.start.column,line:this.source.start.line},t=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:e.column+1,line:e.line};if(A.word){let s=this.toString(),n=s.indexOf(A.word);n!==-1&&(e=this.positionInside(n,s),t=this.positionInside(n+A.word.length,s));}else A.start?e={column:A.start.column,line:A.start.line}:A.index&&(e=this.positionInside(A.index)),A.end?t={column:A.end.column,line:A.end.line}:typeof A.endIndex=="number"?t=this.positionInside(A.endIndex):A.index&&(t=this.positionInside(A.index+1));return (t.line<e.line||t.line===e.line&&t.column<=e.column)&&(t={column:e.column+1,line:e.line}),{end:t,start:e}}raw(A,e){return new qd().raw(this,A,e)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...A){if(this.parent){let e=this,t=false;for(let s of A)s===this?t=true:t?(this.parent.insertAfter(e,s),e=s):this.parent.insertBefore(e,s);t||this.remove();}return this}root(){let A=this;for(;A.parent&&A.parent.type!=="document";)A=A.parent;return A}toJSON(A,e){let t={},s=e==null;e=e||new Map;let n=0;for(let i in this){if(!Object.prototype.hasOwnProperty.call(this,i)||i==="parent"||i==="proxyCache")continue;let o=this[i];if(Array.isArray(o))t[i]=o.map(a=>typeof a=="object"&&a.toJSON?a.toJSON(null,e):a);else if(typeof o=="object"&&o.toJSON)t[i]=o.toJSON(null,e);else if(i==="source"){let a=e.get(o.input);a==null&&(a=n,e.set(o.input,n),n++),t[i]={end:o.end,inputId:a,start:o.start};}else t[i]=o;}return s&&(t.inputs=[...e.keys()].map(i=>i.toJSON())),t}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(A=Ap){A.stringify&&(A=A.stringify);let e="";return A(this,t=>{e+=t;}),e}warn(A,e,t){let s={node:this};for(let n in t)s[n]=t[n];return A.warn(e,s)}get proxyOf(){return this}},ss=qn;qn.default=qn;var ep=ss,Ai=class extends ep{constructor(A){A&&typeof A.value<"u"&&typeof A.value!="string"&&(A={...A,value:String(A.value)}),super(A),this.type="decl";}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}},ns=Ai;Ai.default=Ai;var tp="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",sp=(r=21)=>{let A="",e=r;for(;e--;)A+=tp[Math.random()*64|0];return A},np={nanoid:sp},{SourceMapConsumer:Va,SourceMapGenerator:$a}=TA,{existsSync:ip,readFileSync:op}=TA,{dirname:Rn,join:ap}=TA;function lp(r){return Buffer?Buffer.from(r,"base64").toString():window.atob(r)}var ei=class{constructor(A,e){if(e.map===false)return;this.loadAnnotation(A),this.inline=this.startWith(this.annotation,"data:");let t=e.map?e.map.prev:void 0,s=this.loadMap(e.from,t);!this.mapFile&&e.from&&(this.mapFile=e.from),this.mapFile&&(this.root=Rn(this.mapFile)),s&&(this.text=s);}consumer(){return this.consumerCache||(this.consumerCache=new Va(this.text)),this.consumerCache}decodeInline(A){let e=/^data:application\/json;charset=utf-?8;base64,/,t=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,n=/^data:application\/json,/;if(s.test(A)||n.test(A))return decodeURIComponent(A.substr(RegExp.lastMatch.length));if(e.test(A)||t.test(A))return lp(A.substr(RegExp.lastMatch.length));let i=A.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)}getAnnotationURL(A){return A.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(A){return typeof A!="object"?false:typeof A.mappings=="string"||typeof A._mappings=="string"||Array.isArray(A.sections)}loadAnnotation(A){let e=A.match(/\/\*\s*# sourceMappingURL=/gm);if(!e)return;let t=A.lastIndexOf(e.pop()),s=A.indexOf("*/",t);t>-1&&s>-1&&(this.annotation=this.getAnnotationURL(A.substring(t,s)));}loadFile(A){if(this.root=Rn(A),ip(A))return this.mapFile=A,op(A,"utf-8").toString().trim()}loadMap(A,e){if(e===false)return false;if(e){if(typeof e=="string")return e;if(typeof e=="function"){let t=e(A);if(t){let s=this.loadFile(t);if(!s)throw new Error("Unable to load previous source map: "+t.toString());return s}}else {if(e instanceof Va)return $a.fromSourceMap(e).toString();if(e instanceof $a)return e.toString();if(this.isMap(e))return JSON.stringify(e);throw new Error("Unsupported previous source map format: "+e.toString())}}else {if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return A&&(t=ap(Rn(A),t)),this.loadFile(t)}}}startWith(A,e){return A?A.substr(0,e.length)===e:false}withContent(){return !!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}},Wl=ei;ei.default=ei;var{SourceMapConsumer:cp,SourceMapGenerator:up}=TA,{fileURLToPath:Wa,pathToFileURL:dr}=TA,{isAbsolute:ti,resolve:ri}=TA,{nanoid:hp}=np,Dn=TA,Xa=ki,fp=Wl,Kn=Symbol("fromOffsetCache"),dp=!!(cp&&up),Ja=!!(ri&&ti),$r=class{constructor(A,e={}){if(A===null||typeof A>"u"||typeof A=="object"&&!A.toString)throw new Error(`PostCSS received ${A} instead of CSS string`);if(this.css=A.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=true,this.css=this.css.slice(1)):this.hasBOM=false,e.from&&(!Ja||/^\w+:\/\//.test(e.from)||ti(e.from)?this.file=e.from:this.file=ri(e.from)),Ja&&dp){let t=new fp(this.css,e);if(t.text){this.map=t;let s=t.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s));}}this.file||(this.id="<input css "+hp(6)+">"),this.map&&(this.map.file=this.from);}error(A,e,t,s={}){let n,i,o;if(e&&typeof e=="object"){let l=e,c=t;if(typeof l.offset=="number"){let u=this.fromOffset(l.offset);e=u.line,t=u.col;}else e=l.line,t=l.column;if(typeof c.offset=="number"){let u=this.fromOffset(c.offset);i=u.line,o=u.col;}else i=c.line,o=c.column;}else if(!t){let l=this.fromOffset(e);e=l.line,t=l.col;}let a=this.origin(e,t,i,o);return a?n=new Xa(A,a.endLine===void 0?a.line:{column:a.column,line:a.line},a.endLine===void 0?a.column:{column:a.endColumn,line:a.endLine},a.source,a.file,s.plugin):n=new Xa(A,i===void 0?e:{column:t,line:e},i===void 0?t:{column:o,line:i},this.css,this.file,s.plugin),n.input={column:t,endColumn:o,endLine:i,line:e,source:this.css},this.file&&(dr&&(n.input.url=dr(this.file).toString()),n.input.file=this.file),n}fromOffset(A){let e,t;if(this[Kn])t=this[Kn];else {let n=this.css.split(`
|
|
19
|
+
`);t=new Array(n.length);let i=0;for(let o=0,a=n.length;o<a;o++)t[o]=i,i+=n[o].length+1;this[Kn]=t;}e=t[t.length-1];let s=0;if(A>=e)s=t.length-1;else {let n=t.length-2,i;for(;s<n;)if(i=s+(n-s>>1),A<t[i])n=i-1;else if(A>=t[i+1])s=i+1;else {s=i;break}}return {col:A-t[s]+1,line:s+1}}mapResolve(A){return /^\w+:\/\//.test(A)?A:ri(this.map.consumer().sourceRoot||this.map.root||".",A)}origin(A,e,t,s){if(!this.map)return false;let n=this.map.consumer(),i=n.originalPositionFor({column:e,line:A});if(!i.source)return false;let o;typeof t=="number"&&(o=n.originalPositionFor({column:s,line:t}));let a;ti(i.source)?a=dr(i.source):a=new URL(i.source,this.map.consumer().sourceRoot||dr(this.map.mapFile));let l={column:i.column,endColumn:o&&o.column,endLine:o&&o.line,line:i.line,url:a.toString()};if(a.protocol==="file:")if(Wa)l.file=Wa(a);else throw new Error("file: protocol is not available in this PostCSS build");let c=n.sourceContentFor(i.source);return c&&(l.source=c),l}toJSON(){let A={};for(let e of ["hasBOM","css","file","id"])this[e]!=null&&(A[e]=this[e]);return this.map&&(A.map={...this.map},A.map.consumerCache&&(A.map.consumerCache=void 0)),A}get from(){return this.file||this.id}},is=$r;$r.default=$r;Dn&&Dn.registerInput&&Dn.registerInput($r);var{SourceMapConsumer:Xl,SourceMapGenerator:Mr}=TA,{dirname:Or,relative:Jl,resolve:Yl,sep:zl}=TA,{pathToFileURL:Ya}=TA,pp=is,Bp=!!(Xl&&Mr),gp=!!(Or&&Yl&&Jl&&zl),wp=class{constructor(A,e,t,s){this.stringify=A,this.mapOpts=t.map||{},this.root=e,this.opts=t,this.css=s,this.originalCSS=s,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map;}addAnnotation(){let A;this.isInline()?A="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?A=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?A=this.mapOpts.annotation(this.opts.to,this.root):A=this.outputFile()+".map";let e=`
|
|
20
20
|
`;this.css.includes(`\r
|
|
21
|
-
`)&&(
|
|
22
|
-
`),this.css+=
|
|
23
|
-
`),t=l.length-o):t+=l.length,a&&u!=="start"){let c=a.parent||{raws:{}};(!(a.type==="decl"||a.type==="atrule"&&!a.nodes)||a!==c.last||c.raws.semicolon)&&(a.source&&a.source.end?(i.source=this.sourcePath(a),i.original.line=a.source.end.line,i.original.column=a.source.end.column-1,i.generated.line=e,i.generated.column=t-2,this.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,i.generated.line=e,i.generated.column=t-1,this.map.addMapping(i)));}});}isAnnotation(){return this.isInline()?true:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):true}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<"u"&&e!==true?false:this.previous().length?this.previous().some(t=>t.inline):true}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):true}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?qt(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(r=qt(Xs(r,this.mapOpts.annotation)));let i=Ys(r,e);return this.memoizedPaths.set(e,i),i}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t);}});else {let e=new Lu(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map);}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=true;let i=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(i,t.source.input.css);}}});else if(this.css){let t=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(t,this.css);}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(Xi){let r=Xi(e).toString();return this.memoizedFileURLs.set(e,r),r}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;Zs==="\\"&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}},Js=Nu,Bu=vr,pn=class extends Bu{constructor(e){super(e),this.type="comment";}},xr=pn;pn.default=pn;var{isClean:qs,my:Ks}=pt,Qs=Sr,eo=xr,Fu=vr,to,qn,Kn,ro;function no(n){return n.map(e=>(e.nodes&&(e.nodes=no(e.nodes)),delete e.source,e))}function io(n){if(n[qs]=false,n.proxyOf.nodes)for(let e of n.proxyOf.nodes)io(e);}var pe=class so extends Fu{append(...e){for(let t of e){let r=this.normalize(t,this.last);for(let i of r)this.proxyOf.nodes.push(i);}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e);}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),r,i;for(;this.indexes[t]<this.proxyOf.nodes.length&&(r=this.indexes[t],i=e(this.proxyOf.nodes[r],r),i!==false);)this.indexes[t]+=1;return delete this.indexes[t],i}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return {get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...r)=>e[t](...r.map(i=>typeof i=="function"?(s,o)=>i(s.toProxy(),o):i)):t==="every"||t==="some"?r=>e[t]((i,...s)=>r(i.toProxy(),...s)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(r=>r.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),true}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of i)this.proxyOf.nodes.splice(r+1,0,o);let s;for(let o in this.indexes)s=this.indexes[o],r<s&&(this.indexes[o]=s+i.length);return this.markDirty(),this}insertBefore(e,t){let r=this.index(e),i=r===0?"prepend":false,s=this.normalize(t,this.proxyOf.nodes[r],i).reverse();r=this.index(e);for(let l of s)this.proxyOf.nodes.splice(r,0,l);let o;for(let l in this.indexes)o=this.indexes[l],r<=o&&(this.indexes[l]=o+s.length);return this.markDirty(),this}normalize(e,t){if(typeof e=="string")e=no(to(e).nodes);else if(typeof e>"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore");}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore");}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new Qs(e)];}else if(e.selector)e=[new qn(e)];else if(e.name)e=[new Kn(e)];else if(e.text)e=[new eo(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[Ks]||so.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[qs]&&io(i),typeof i.raws.before>"u"&&t&&typeof t.raws.before<"u"&&(i.raws.before=t.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}prepend(...e){e=e.reverse();for(let t of e){let r=this.normalize(t,this.first,"prepend").reverse();for(let i of r)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+r.length;}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(i=>{t.props&&!t.props.includes(i.prop)||t.fast&&!i.value.includes(t.fast)||(i.value=i.value.replace(e,r));}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let i;try{i=e(t,r);}catch(s){throw t.addToError(s)}return i!==false&&t.walk&&(i=t.walk(e)),i})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="atrule"&&e.test(r.name))return t(r,i)}):this.walk((r,i)=>{if(r.type==="atrule"&&r.name===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="atrule")return t(r,i)}))}walkComments(e){return this.walk((t,r)=>{if(t.type==="comment")return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="decl"&&e.test(r.prop))return t(r,i)}):this.walk((r,i)=>{if(r.type==="decl"&&r.prop===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="decl")return t(r,i)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="rule"&&e.test(r.selector))return t(r,i)}):this.walk((r,i)=>{if(r.type==="rule"&&r.selector===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="rule")return t(r,i)}))}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]}};pe.registerParse=n=>{to=n;};pe.registerRule=n=>{qn=n;};pe.registerAtRule=n=>{Kn=n;};pe.registerRoot=n=>{ro=n;};var Ie=pe;pe.default=pe;pe.rebuild=n=>{n.type==="atrule"?Object.setPrototypeOf(n,Kn.prototype):n.type==="rule"?Object.setPrototypeOf(n,qn.prototype):n.type==="decl"?Object.setPrototypeOf(n,Qs.prototype):n.type==="comment"?Object.setPrototypeOf(n,eo.prototype):n.type==="root"&&Object.setPrototypeOf(n,ro.prototype),n[Ks]=true,n.nodes&&n.nodes.forEach(e=>{pe.rebuild(e);});};var Uu=Ie,oo,ao,st=class extends Uu{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[]);}toResult(e={}){return new oo(new ao,this,e).stringify()}};st.registerLazyResult=n=>{oo=n;};st.registerProcessor=n=>{ao=n;};var Qn=st;st.default=st;var Zi={},lo=function(e){Zi[e]||(Zi[e]=true,typeof console<"u"&&console.warn&&console.warn(e));},mn=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column;}for(let r in t)this[r]=t[r];}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}},uo=mn;mn.default=mn;var Hu=uo,gn=class{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0;}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new Hu(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}},ei=gn;gn.default=gn;var Xr=39,Ji=34,kt=92,qi=47,Pt=10,Je=32,Tt=12,Lt=9,Dt=13,zu=91,Wu=93,ju=40,Vu=41,Gu=123,Yu=125,Xu=59,Zu=42,Ju=58,qu=64,_t=/[\t\n\f\r "#'()/;[\\\]{}]/g,Nt=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Ku=/.[\r\n"'(/\\]/,Ki=/[\da-f]/i,Qu=function(e,t={}){let r=e.css.valueOf(),i=t.ignoreErrors,s,o,l,a,u,c,h,p,g,m,d=r.length,f=0,b=[],v=[];function y(){return f}function C(N){throw e.error("Unclosed "+N,f)}function k(){return v.length===0&&f>=d}function T(N){if(v.length)return v.pop();if(f>=d)return;let W=N?N.ignoreUnclosed:false;switch(s=r.charCodeAt(f),s){case Pt:case Je:case Lt:case Dt:case Tt:{o=f;do o+=1,s=r.charCodeAt(o);while(s===Je||s===Pt||s===Lt||s===Dt||s===Tt);m=["space",r.slice(f,o)],f=o-1;break}case zu:case Wu:case Gu:case Yu:case Ju:case Xu:case Vu:{let Y=String.fromCharCode(s);m=[Y,Y,f];break}case ju:{if(p=b.length?b.pop()[1]:"",g=r.charCodeAt(f+1),p==="url"&&g!==Xr&&g!==Ji&&g!==Je&&g!==Pt&&g!==Lt&&g!==Tt&&g!==Dt){o=f;do{if(c=false,o=r.indexOf(")",o+1),o===-1)if(i||W){o=f;break}else C("bracket");for(h=o;r.charCodeAt(h-1)===kt;)h-=1,c=!c;}while(c);m=["brackets",r.slice(f,o+1),f,o],f=o;}else o=r.indexOf(")",f+1),a=r.slice(f,o+1),o===-1||Ku.test(a)?m=["(","(",f]:(m=["brackets",a,f,o],f=o);break}case Xr:case Ji:{l=s===Xr?"'":'"',o=f;do{if(c=false,o=r.indexOf(l,o+1),o===-1)if(i||W){o=f+1;break}else C("string");for(h=o;r.charCodeAt(h-1)===kt;)h-=1,c=!c;}while(c);m=["string",r.slice(f,o+1),f,o],f=o;break}case qu:{_t.lastIndex=f+1,_t.test(r),_t.lastIndex===0?o=r.length-1:o=_t.lastIndex-2,m=["at-word",r.slice(f,o+1),f,o],f=o;break}case kt:{for(o=f,u=true;r.charCodeAt(o+1)===kt;)o+=1,u=!u;if(s=r.charCodeAt(o+1),u&&s!==qi&&s!==Je&&s!==Pt&&s!==Lt&&s!==Dt&&s!==Tt&&(o+=1,Ki.test(r.charAt(o)))){for(;Ki.test(r.charAt(o+1));)o+=1;r.charCodeAt(o+1)===Je&&(o+=1);}m=["word",r.slice(f,o+1),f,o],f=o;break}default:{s===qi&&r.charCodeAt(f+1)===Zu?(o=r.indexOf("*/",f+2)+1,o===0&&(i||W?o=r.length:C("comment")),m=["comment",r.slice(f,o+1),f,o],f=o):(Nt.lastIndex=f+1,Nt.test(r),Nt.lastIndex===0?o=r.length-1:o=Nt.lastIndex-2,m=["word",r.slice(f,o+1),f,o],b.push(m),f=o);break}}return f++,m}function j(N){v.push(N);}return {back:j,endOfFile:k,nextToken:T,position:y}},co=Ie,lr=class extends co{constructor(e){super(e),this.type="atrule";}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}},ti=lr;lr.default=lr;co.registerAtRule(lr);var ho=Ie,fo,po,Te=class extends ho{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[]);}normalize(e,t,r){let i=super.normalize(e);if(t){if(r==="prepend")this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let s of i)s.raws.before=t.raws.before;}return i}removeChild(e,t){let r=this.index(e);return !t&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new fo(new po,this,e).stringify()}};Te.registerLazyResult=n=>{fo=n;};Te.registerProcessor=n=>{po=n;};var mt=Te;Te.default=Te;ho.registerRoot(Te);var ot={comma(n){return ot.split(n,[","],true)},space(n){let e=[" ",`
|
|
24
|
-
`," "];return
|
|
25
|
-
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(
|
|
26
|
-
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(
|
|
27
|
-
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),i}return r.root}var ni=cr;cr.default=cr;uc.registerParse(cr);var{isClean:he,my:fc}=pt,dc=Js,pc=br,mc=Ie,gc=Qn,yc=lo,ts=ei,wc=ni,bc=mt,vc={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Sc={AtRule:true,AtRuleExit:true,Comment:true,CommentExit:true,Declaration:true,DeclarationExit:true,Document:true,DocumentExit:true,Once:true,OnceExit:true,postcssPlugin:true,prepare:true,Root:true,RootExit:true,Rule:true,RuleExit:true},Cc={Once:true,postcssPlugin:true,prepare:true},Le=0;function qe(n){return typeof n=="object"&&typeof n.then=="function"}function yo(n){let e=false,t=vc[n.type];return n.type==="decl"?e=n.prop.toLowerCase():n.type==="atrule"&&(e=n.name.toLowerCase()),e&&n.append?[t,t+"-"+e,Le,t+"Exit",t+"Exit-"+e]:e?[t,t+"-"+e,t+"Exit",t+"Exit-"+e]:n.append?[t,Le,t+"Exit"]:[t,t+"Exit"]}function rs(n){let e;return n.type==="document"?e=["Document",Le,"DocumentExit"]:n.type==="root"?e=["Root",Le,"RootExit"]:e=yo(n),{eventIndex:0,events:e,iterator:0,node:n,visitorIndex:0,visitors:[]}}function yn(n){return n[he]=false,n.nodes&&n.nodes.forEach(e=>yn(e)),n}var wn={},De=class wo{constructor(e,t,r){this.stringified=false,this.processed=false;let i;if(typeof t=="object"&&t!==null&&(t.type==="root"||t.type==="document"))i=yn(t);else if(t instanceof wo||t instanceof ts)i=yn(t.root),t.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=false),r.map.prev=t.map);else {let s=wc;r.syntax&&(s=r.syntax.parse),r.parser&&(s=r.parser),s.parse&&(s=s.parse);try{i=s(t,r);}catch(o){this.processed=true,this.error=o;}i&&!i[fc]&&mc.rebuild(i);}this.result=new ts(e,i,r),this.helpers={...wn,postcss:wn,result:this.result},this.plugins=this.processor.plugins.map(s=>typeof s=="object"&&s.prepare?{...s,...s.prepare(this.result)}:s);}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=r.postcssPlugin,e.setMessage();else if(r.postcssVersion&&process.env.NODE_ENV!=="production"){let i=r.postcssPlugin,s=r.postcssVersion,o=this.result.processor.version,l=s.split("."),a=o.split(".");(l[0]!==a[0]||parseInt(l[1])>parseInt(a[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+o+", but "+i+" uses "+s+". Perhaps this is the source of the error below.");}}catch(i){console&&console.error&&console.error(i);}return e}prepareVisitors(){this.listeners={};let e=(t,r,i)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([t,i]);};for(let t of this.plugins)if(typeof t=="object")for(let r in t){if(!Sc[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!Cc[r])if(typeof t[r]=="object")for(let i in t[r])i==="*"?e(t,r,t[r][i]):e(t,r+"-"+i.toLowerCase(),t[r][i]);else typeof t[r]=="function"&&e(t,r,t[r]);}this.hasListener=Object.keys(this.listeners).length>0;}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(qe(r))try{await r;}catch(i){throw this.handleError(i)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[he];){e[he]=true;let t=[rs(e)];for(;t.length>0;){let r=this.visitTick(t);if(qe(r))try{await r;}catch(i){let s=t[t.length-1].node;throw this.handleError(i,s)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let i=e.nodes.map(s=>r(s,this.helpers));await Promise.all(i);}else await r(e,this.helpers);}catch(i){throw this.handleError(i)}}}return this.processed=true,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return qe(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=true,this.sync();let e=this.result.opts,t=pc;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let i=new dc(t,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=true,this.processing)throw this.getAsyncError();for(let e of this.plugins){let t=this.runOnRoot(e);if(qe(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[he];)e[he]=true,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e);}return this.result}then(e,t){return process.env.NODE_ENV!=="production"&&("from"in this.opts||yc("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,i]of e){this.result.lastPlugin=r;let s;try{s=i(t,this.helpers);}catch(o){throw this.handleError(o,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent)return true;if(qe(s))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:i}=t;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(i.length>0&&t.visitorIndex<i.length){let[o,l]=i[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===i.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=o;try{return l(r.toProxy(),this.helpers)}catch(a){throw this.handleError(a,r)}}if(t.iterator!==0){let o=t.iterator,l;for(;l=r.nodes[r.indexes[o]];)if(r.indexes[o]+=1,!l[he]){l[he]=true,e.push(rs(l));return}t.iterator=0,delete r.indexes[o];}let s=t.events;for(;t.eventIndex<s.length;){let o=s[t.eventIndex];if(t.eventIndex+=1,o===Le){r.nodes&&r.nodes.length&&(r[he]=true,t.iterator=r.getIterator());return}else if(this.listeners[o]){t.visitors=this.listeners[o];return}}e.pop();}walkSync(e){e[he]=true;let t=yo(e);for(let r of t)if(r===Le)e.nodes&&e.each(i=>{i[he]||this.walkSync(i);});else {let i=this.listeners[r];if(i&&this.visitSync(i,e.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"}};De.registerPostcss=n=>{wn=n;};var bo=De;De.default=De;bc.registerLazyResult(De);gc.registerLazyResult(De);var xc=Js,Ic=br,Rc=lo,Ec=ni,Oc=ei,bn=class{constructor(e,t,r){t=t.toString(),this.stringified=false,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let i,s=Ic;this.result=new Oc(this._processor,i,this._opts),this.result.css=t;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let l=new xc(s,i,this._opts,t);if(l.isMap()){let[a,u]=l.generate();a&&(this.result.css=a),u&&(this.result.map=u);}else l.clearAnnotation(),this.result.css=l.css;}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return process.env.NODE_ENV!=="production"&&("from"in this._opts||Rc("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}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 e,t=Ec;try{e=t(this._css,this._opts);}catch(r){this.error=r;}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return "NoWorkResult"}},Mc=bn;bn.default=bn;var Ac=Mc,$c=bo,kc=Qn,Pc=mt,at=class{constructor(e=[]){this.version="8.4.38",this.plugins=this.normalize(e);}normalize(e){let t=[];for(let r of e)if(r.postcss===true?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)t.push(r);else if(typeof r=="function")t.push(r);else if(typeof r=="object"&&(r.parse||r.stringify)){if(process.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(r+" is not a PostCSS plugin");return t}process(e,t={}){return !this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new Ac(this,e,t):new $c(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}},Tc=at;at.default=at;Pc.registerProcessor(at);kc.registerProcessor(at);var Lc=Sr,Dc=Vs,_c=xr,Nc=ti,Bc=Cr,Fc=mt,Uc=ri;function lt(n,e){if(Array.isArray(n))return n.map(i=>lt(i));let{inputs:t,...r}=n;if(t){e=[];for(let i of t){let s={...i,__proto__:Bc.prototype};s.map&&(s.map={...s.map,__proto__:Dc.prototype}),e.push(s);}}if(r.nodes&&(r.nodes=n.nodes.map(i=>lt(i,e))),r.source){let{inputId:i,...s}=r.source;r.source=s,i!=null&&(r.source.input=e[i]);}if(r.type==="root")return new Fc(r);if(r.type==="decl")return new Lc(r);if(r.type==="rule")return new Uc(r);if(r.type==="comment")return new _c(r);if(r.type==="atrule")return new Nc(r);throw new Error("Unknown node type: "+n.type)}var Hc=lt;lt.default=lt;var zc=Jn,vo=Sr,Wc=bo,jc=Ie,ii=Tc,Vc=br,Gc=Hc,So=Qn,Yc=uo,Co=xr,xo=ti,Xc=ei,Zc=Cr,Jc=ni,qc=mo,Io=ri,Ro=mt,Kc=vr;function A(...n){return n.length===1&&Array.isArray(n[0])&&(n=n[0]),new ii(n)}A.plugin=function(e,t){let r=false;function i(...o){console&&console.warn&&!r&&(r=true,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
28
|
-
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(
|
|
29
|
-
https://www.w3ctech.com/topic/2226`));let
|
|
30
|
-
`+
|
|
31
|
-
`)}toString(){let
|
|
32
|
-
|
|
33
|
-
`+
|
|
34
|
-
`),this.name+": "+this.message+
|
|
21
|
+
`)&&(e=`\r
|
|
22
|
+
`),this.css+=e+"/*# sourceMappingURL="+A+" */";}applyPrevMaps(){for(let A of this.previous()){let e=this.toUrl(this.path(A.file)),t=A.root||Or(A.file),s;this.mapOpts.sourcesContent===false?(s=new Xl(A.text),s.sourcesContent&&(s.sourcesContent=null)):s=A.consumer(),this.map.applySourceMap(s,e,this.toUrl(this.path(t)));}}clearAnnotation(){if(this.mapOpts.annotation!==false)if(this.root){let A;for(let e=this.root.nodes.length-1;e>=0;e--)A=this.root.nodes[e],A.type==="comment"&&A.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(e);}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""));}generate(){if(this.clearAnnotation(),gp&&Bp&&this.isMap())return this.generateMap();{let A="";return this.stringify(this.root,e=>{A+=e;}),[A]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let A=this.previous()[0].consumer();A.file=this.outputFile(),this.map=Mr.fromSourceMap(A,{ignoreInvalidMapping:true});}else this.map=new Mr({file:this.outputFile(),ignoreInvalidMapping:true}),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 Mr({file:this.outputFile(),ignoreInvalidMapping:true});let A=1,e=1,t="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""},n,i;this.stringify(this.root,(o,a,l)=>{if(this.css+=o,a&&l!=="end"&&(s.generated.line=A,s.generated.column=e-1,a.source&&a.source.start?(s.source=this.sourcePath(a),s.original.line=a.source.start.line,s.original.column=a.source.start.column-1,this.map.addMapping(s)):(s.source=t,s.original.line=1,s.original.column=0,this.map.addMapping(s))),n=o.match(/\n/g),n?(A+=n.length,i=o.lastIndexOf(`
|
|
23
|
+
`),e=o.length-i):e+=o.length,a&&l!=="start"){let c=a.parent||{raws:{}};(!(a.type==="decl"||a.type==="atrule"&&!a.nodes)||a!==c.last||c.raws.semicolon)&&(a.source&&a.source.end?(s.source=this.sourcePath(a),s.original.line=a.source.end.line,s.original.column=a.source.end.column-1,s.generated.line=A,s.generated.column=e-2,this.map.addMapping(s)):(s.source=t,s.original.line=1,s.original.column=0,s.generated.line=A,s.generated.column=e-1,this.map.addMapping(s)));}});}isAnnotation(){return this.isInline()?true:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(A=>A.annotation):true}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let A=this.mapOpts.annotation;return typeof A<"u"&&A!==true?false:this.previous().length?this.previous().some(e=>e.inline):true}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(A=>A.withContent()):true}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(A){if(this.mapOpts.absolute||A.charCodeAt(0)===60||/^\w+:\/\//.test(A))return A;let e=this.memoizedPaths.get(A);if(e)return e;let t=this.opts.to?Or(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(t=Or(Yl(t,this.mapOpts.annotation)));let s=Jl(t,A);return this.memoizedPaths.set(A,s),s}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(A=>{if(A.source&&A.source.input.map){let e=A.source.input.map;this.previousMaps.includes(e)||this.previousMaps.push(e);}});else {let A=new pp(this.originalCSS,this.opts);A.map&&this.previousMaps.push(A.map);}return this.previousMaps}setSourcesContent(){let A={};if(this.root)this.root.walk(e=>{if(e.source){let t=e.source.input.from;if(t&&!A[t]){A[t]=true;let s=this.usesFileUrls?this.toFileUrl(t):this.toUrl(this.path(t));this.map.setSourceContent(s,e.source.input.css);}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css);}}sourcePath(A){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(A.source.input.from):this.toUrl(this.path(A.source.input.from))}toBase64(A){return Buffer?Buffer.from(A).toString("base64"):window.btoa(unescape(encodeURIComponent(A)))}toFileUrl(A){let e=this.memoizedFileURLs.get(A);if(e)return e;if(Ya){let t=Ya(A).toString();return this.memoizedFileURLs.set(A,t),t}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(A){let e=this.memoizedURLs.get(A);if(e)return e;zl==="\\"&&(A=A.replace(/\\/g,"/"));let t=encodeURI(A).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(A,t),t}},Zl=wp,mp=ss,si=class extends mp{constructor(A){super(A),this.type="comment";}},os=si;si.default=si;var{isClean:jl,my:ql}=Et,Ac=ns,ec=os,Cp=ss,tc,Pi,_i,rc;function sc(r){return r.map(A=>(A.nodes&&(A.nodes=sc(A.nodes)),delete A.source,A))}function nc(r){if(r[jl]=false,r.proxyOf.nodes)for(let A of r.proxyOf.nodes)nc(A);}var XA=class ic extends Cp{append(...A){for(let e of A){let t=this.normalize(e,this.last);for(let s of t)this.proxyOf.nodes.push(s);}return this.markDirty(),this}cleanRaws(A){if(super.cleanRaws(A),this.nodes)for(let e of this.nodes)e.cleanRaws(A);}each(A){if(!this.proxyOf.nodes)return;let e=this.getIterator(),t,s;for(;this.indexes[e]<this.proxyOf.nodes.length&&(t=this.indexes[e],s=A(this.proxyOf.nodes[t],t),s!==false);)this.indexes[e]+=1;return delete this.indexes[e],s}every(A){return this.nodes.every(A)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let A=this.lastEach;return this.indexes[A]=0,A}getProxyProcessor(){return {get(A,e){return e==="proxyOf"?A:A[e]?e==="each"||typeof e=="string"&&e.startsWith("walk")?(...t)=>A[e](...t.map(s=>typeof s=="function"?(n,i)=>s(n.toProxy(),i):s)):e==="every"||e==="some"?t=>A[e]((s,...n)=>t(s.toProxy(),...n)):e==="root"?()=>A.root().toProxy():e==="nodes"?A.nodes.map(t=>t.toProxy()):e==="first"||e==="last"?A[e].toProxy():A[e]:A[e]},set(A,e,t){return A[e]===t||(A[e]=t,(e==="name"||e==="params"||e==="selector")&&A.markDirty()),true}}}index(A){return typeof A=="number"?A:(A.proxyOf&&(A=A.proxyOf),this.proxyOf.nodes.indexOf(A))}insertAfter(A,e){let t=this.index(A),s=this.normalize(e,this.proxyOf.nodes[t]).reverse();t=this.index(A);for(let i of s)this.proxyOf.nodes.splice(t+1,0,i);let n;for(let i in this.indexes)n=this.indexes[i],t<n&&(this.indexes[i]=n+s.length);return this.markDirty(),this}insertBefore(A,e){let t=this.index(A),s=t===0?"prepend":false,n=this.normalize(e,this.proxyOf.nodes[t],s).reverse();t=this.index(A);for(let o of n)this.proxyOf.nodes.splice(t,0,o);let i;for(let o in this.indexes)i=this.indexes[o],t<=i&&(this.indexes[o]=i+n.length);return this.markDirty(),this}normalize(A,e){if(typeof A=="string")A=sc(tc(A).nodes);else if(typeof A>"u")A=[];else if(Array.isArray(A)){A=A.slice(0);for(let s of A)s.parent&&s.parent.removeChild(s,"ignore");}else if(A.type==="root"&&this.type!=="document"){A=A.nodes.slice(0);for(let s of A)s.parent&&s.parent.removeChild(s,"ignore");}else if(A.type)A=[A];else if(A.prop){if(typeof A.value>"u")throw new Error("Value field is missed in node creation");typeof A.value!="string"&&(A.value=String(A.value)),A=[new Ac(A)];}else if(A.selector)A=[new Pi(A)];else if(A.name)A=[new _i(A)];else if(A.text)A=[new ec(A)];else throw new Error("Unknown node type in node creation");return A.map(s=>(s[ql]||ic.rebuild(s),s=s.proxyOf,s.parent&&s.parent.removeChild(s),s[jl]&&nc(s),typeof s.raws.before>"u"&&e&&typeof e.raws.before<"u"&&(s.raws.before=e.raws.before.replace(/\S/g,"")),s.parent=this.proxyOf,s))}prepend(...A){A=A.reverse();for(let e of A){let t=this.normalize(e,this.first,"prepend").reverse();for(let s of t)this.proxyOf.nodes.unshift(s);for(let s in this.indexes)this.indexes[s]=this.indexes[s]+t.length;}return this.markDirty(),this}push(A){return A.parent=this,this.proxyOf.nodes.push(A),this}removeAll(){for(let A of this.proxyOf.nodes)A.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(A){A=this.index(A),this.proxyOf.nodes[A].parent=void 0,this.proxyOf.nodes.splice(A,1);let e;for(let t in this.indexes)e=this.indexes[t],e>=A&&(this.indexes[t]=e-1);return this.markDirty(),this}replaceValues(A,e,t){return t||(t=e,e={}),this.walkDecls(s=>{e.props&&!e.props.includes(s.prop)||e.fast&&!s.value.includes(e.fast)||(s.value=s.value.replace(A,t));}),this.markDirty(),this}some(A){return this.nodes.some(A)}walk(A){return this.each((e,t)=>{let s;try{s=A(e,t);}catch(n){throw e.addToError(n)}return s!==false&&e.walk&&(s=e.walk(A)),s})}walkAtRules(A,e){return e?A instanceof RegExp?this.walk((t,s)=>{if(t.type==="atrule"&&A.test(t.name))return e(t,s)}):this.walk((t,s)=>{if(t.type==="atrule"&&t.name===A)return e(t,s)}):(e=A,this.walk((t,s)=>{if(t.type==="atrule")return e(t,s)}))}walkComments(A){return this.walk((e,t)=>{if(e.type==="comment")return A(e,t)})}walkDecls(A,e){return e?A instanceof RegExp?this.walk((t,s)=>{if(t.type==="decl"&&A.test(t.prop))return e(t,s)}):this.walk((t,s)=>{if(t.type==="decl"&&t.prop===A)return e(t,s)}):(e=A,this.walk((t,s)=>{if(t.type==="decl")return e(t,s)}))}walkRules(A,e){return e?A instanceof RegExp?this.walk((t,s)=>{if(t.type==="rule"&&A.test(t.selector))return e(t,s)}):this.walk((t,s)=>{if(t.type==="rule"&&t.selector===A)return e(t,s)}):(e=A,this.walk((t,s)=>{if(t.type==="rule")return e(t,s)}))}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]}};XA.registerParse=r=>{tc=r;};XA.registerRule=r=>{Pi=r;};XA.registerAtRule=r=>{_i=r;};XA.registerRoot=r=>{rc=r;};var me=XA;XA.default=XA;XA.rebuild=r=>{r.type==="atrule"?Object.setPrototypeOf(r,_i.prototype):r.type==="rule"?Object.setPrototypeOf(r,Pi.prototype):r.type==="decl"?Object.setPrototypeOf(r,Ac.prototype):r.type==="comment"?Object.setPrototypeOf(r,ec.prototype):r.type==="root"&&Object.setPrototypeOf(r,rc.prototype),r[ql]=true,r.nodes&&r.nodes.forEach(A=>{XA.rebuild(A);});};var Qp=me,oc,ac,gt=class extends Qp{constructor(A){super({type:"document",...A}),this.nodes||(this.nodes=[]);}toResult(A={}){return new oc(new ac,this,A).stringify()}};gt.registerLazyResult=r=>{oc=r;};gt.registerProcessor=r=>{ac=r;};var Gi=gt;gt.default=gt;var za={},lc=function(A){za[A]||(za[A]=true,typeof console<"u"&&console.warn&&console.warn(A));},ni=class{constructor(A,e={}){if(this.type="warning",this.text=A,e.node&&e.node.source){let t=e.node.rangeBy(e);this.line=t.start.line,this.column=t.start.column,this.endLine=t.end.line,this.endColumn=t.end.column;}for(let t in e)this[t]=e[t];}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}},cc=ni;ni.default=ni;var Up=cc,ii=class{constructor(A,e,t){this.processor=A,this.messages=[],this.root=e,this.opts=t,this.css=void 0,this.map=void 0;}toString(){return this.css}warn(A,e={}){e.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(e.plugin=this.lastPlugin.postcssPlugin);let t=new Up(A,e);return this.messages.push(t),t}warnings(){return this.messages.filter(A=>A.type==="warning")}get content(){return this.css}},Vi=ii;ii.default=ii;var Nn=39,Za=34,pr=92,ja=47,Br=10,at=32,gr=12,wr=9,mr=13,yp=91,Fp=93,bp=40,Ep=41,Ip=123,xp=125,Sp=59,vp=42,Hp=58,Lp=64,Cr=/[\t\n\f\r "#'()/;[\\\]{}]/g,Qr=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Tp=/.[\r\n"'(/\\]/,qa=/[\da-f]/i,Mp=function(A,e={}){let t=A.css.valueOf(),s=e.ignoreErrors,n,i,o,a,l,c,u,h,f,p,d=t.length,B=0,m=[],w=[];function g(){return B}function C(v){throw A.error("Unclosed "+v,B)}function Q(){return w.length===0&&B>=d}function b(v){if(w.length)return w.pop();if(B>=d)return;let x=v?v.ignoreUnclosed:false;switch(n=t.charCodeAt(B),n){case Br:case at:case wr:case mr:case gr:{i=B;do i+=1,n=t.charCodeAt(i);while(n===at||n===Br||n===wr||n===mr||n===gr);p=["space",t.slice(B,i)],B=i-1;break}case yp:case Fp:case Ip:case xp:case Hp:case Sp:case Ep:{let J=String.fromCharCode(n);p=[J,J,B];break}case bp:{if(h=m.length?m.pop()[1]:"",f=t.charCodeAt(B+1),h==="url"&&f!==Nn&&f!==Za&&f!==at&&f!==Br&&f!==wr&&f!==gr&&f!==mr){i=B;do{if(c=false,i=t.indexOf(")",i+1),i===-1)if(s||x){i=B;break}else C("bracket");for(u=i;t.charCodeAt(u-1)===pr;)u-=1,c=!c;}while(c);p=["brackets",t.slice(B,i+1),B,i],B=i;}else i=t.indexOf(")",B+1),a=t.slice(B,i+1),i===-1||Tp.test(a)?p=["(","(",B]:(p=["brackets",a,B,i],B=i);break}case Nn:case Za:{o=n===Nn?"'":'"',i=B;do{if(c=false,i=t.indexOf(o,i+1),i===-1)if(s||x){i=B+1;break}else C("string");for(u=i;t.charCodeAt(u-1)===pr;)u-=1,c=!c;}while(c);p=["string",t.slice(B,i+1),B,i],B=i;break}case Lp:{Cr.lastIndex=B+1,Cr.test(t),Cr.lastIndex===0?i=t.length-1:i=Cr.lastIndex-2,p=["at-word",t.slice(B,i+1),B,i],B=i;break}case pr:{for(i=B,l=true;t.charCodeAt(i+1)===pr;)i+=1,l=!l;if(n=t.charCodeAt(i+1),l&&n!==ja&&n!==at&&n!==Br&&n!==wr&&n!==mr&&n!==gr&&(i+=1,qa.test(t.charAt(i)))){for(;qa.test(t.charAt(i+1));)i+=1;t.charCodeAt(i+1)===at&&(i+=1);}p=["word",t.slice(B,i+1),B,i],B=i;break}default:{n===ja&&t.charCodeAt(B+1)===vp?(i=t.indexOf("*/",B+2)+1,i===0&&(s||x?i=t.length:C("comment")),p=["comment",t.slice(B,i+1),B,i],B=i):(Qr.lastIndex=B+1,Qr.test(t),Qr.lastIndex===0?i=t.length-1:i=Qr.lastIndex-2,p=["word",t.slice(B,i+1),B,i],m.push(p),B=i);break}}return B++,p}function M(v){w.push(v);}return {back:M,endOfFile:Q,nextToken:b,position:g}},uc=me,Wr=class extends uc{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)}},$i=Wr;Wr.default=Wr;uc.registerAtRule(Wr);var hc=me,fc,dc,Ke=class extends hc{constructor(A){super(A),this.type="root",this.nodes||(this.nodes=[]);}normalize(A,e,t){let s=super.normalize(A);if(e){if(t==="prepend")this.nodes.length>1?e.raws.before=this.nodes[1].raws.before:delete e.raws.before;else if(this.first!==e)for(let n of s)n.raws.before=e.raws.before;}return s}removeChild(A,e){let t=this.index(A);return !e&&t===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[t].raws.before),super.removeChild(A)}toResult(A={}){return new fc(new dc,this,A).stringify()}};Ke.registerLazyResult=r=>{fc=r;};Ke.registerProcessor=r=>{dc=r;};var It=Ke;Ke.default=Ke;hc.registerRoot(Ke);var wt={comma(r){return wt.split(r,[","],true)},space(r){let A=[" ",`
|
|
24
|
+
`," "];return wt.split(r,A)},split(r,A,e){let t=[],s="",n=false,i=0,o=false,a="",l=false;for(let c of r)l?l=false:c==="\\"?l=true:o?c===a&&(o=false):c==='"'||c==="'"?(o=true,a=c):c==="("?i+=1:c===")"?i>0&&(i-=1):i===0&&A.includes(c)&&(n=true),n?(s!==""&&t.push(s.trim()),s="",n=false):s+=c;return (e||s!=="")&&t.push(s.trim()),t}},pc=wt;wt.default=wt;var Bc=me,Op=pc,Xr=class extends Bc{constructor(A){super(A),this.type="rule",this.nodes||(this.nodes=[]);}get selectors(){return Op.comma(this.selector)}set selectors(A){let e=this.selector?this.selector.match(/,\s*/):null,t=e?e[0]:","+this.raw("between","beforeOpen");this.selector=A.join(t);}},Wi=Xr;Xr.default=Xr;Bc.registerRule(Xr);var Rp=ns,Dp=Mp,Kp=os,Np=$i,kp=It,Al=Wi,el={empty:true,space:true};function Pp(r){for(let A=r.length-1;A>=0;A--){let e=r[A],t=e[3]||e[2];if(t)return t}}var _p=class{constructor(A){this.input=A,this.root=new kp,this.current=this.root,this.spaces="",this.semicolon=false,this.createTokenizer(),this.root.source={input:A,start:{column:1,line:1,offset:0}};}atrule(A){let e=new Np;e.name=A[1].slice(1),e.name===""&&this.unnamedAtrule(e,A),this.init(e,A[2]);let t,s,n,i=false,o=false,a=[],l=[];for(;!this.tokenizer.endOfFile();){if(A=this.tokenizer.nextToken(),t=A[0],t==="("||t==="["?l.push(t==="("?")":"]"):t==="{"&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),l.length===0)if(t===";"){e.source.end=this.getPosition(A[2]),e.source.end.offset++,this.semicolon=true;break}else if(t==="{"){o=true;break}else if(t==="}"){if(a.length>0){for(n=a.length-1,s=a[n];s&&s[0]==="space";)s=a[--n];s&&(e.source.end=this.getPosition(s[3]||s[2]),e.source.end.offset++);}this.end(A);break}else a.push(A);else a.push(A);if(this.tokenizer.endOfFile()){i=true;break}}e.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(e.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(e,"params",a),i&&(A=a[a.length-1],e.source.end=this.getPosition(A[3]||A[2]),e.source.end.offset++,this.spaces=e.raws.between,e.raws.between="")):(e.raws.afterName="",e.params=""),o&&(e.nodes=[],this.current=e);}checkMissedSemicolon(A){let e=this.colon(A);if(e===false)return;let t=0,s;for(let n=e-1;n>=0&&(s=A[n],!(s[0]!=="space"&&(t+=1,t===2)));n--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}colon(A){let e=0,t,s,n;for(let[i,o]of A.entries()){if(t=o,s=t[0],s==="("&&(e+=1),s===")"&&(e-=1),e===0&&s===":")if(!n)this.doubleColon(t);else {if(n[0]==="word"&&n[1]==="progid")continue;return i}n=t;}return false}comment(A){let e=new Kp;this.init(e,A[2]),e.source.end=this.getPosition(A[3]||A[2]),e.source.end.offset++;let t=A[1].slice(2,-2);if(/^\s*$/.test(t))e.text="",e.raws.left=t,e.raws.right="";else {let s=t.match(/^(\s*)([^]*\S)(\s*)$/);e.text=s[2],e.raws.left=s[1],e.raws.right=s[3];}}createTokenizer(){this.tokenizer=Dp(this.input);}decl(A,e){let t=new Rp;this.init(t,A[0][2]);let s=A[A.length-1];for(s[0]===";"&&(this.semicolon=true,A.pop()),t.source.end=this.getPosition(s[3]||s[2]||Pp(A)),t.source.end.offset++;A[0][0]!=="word";)A.length===1&&this.unknownWord(A),t.raws.before+=A.shift()[1];for(t.source.start=this.getPosition(A[0][2]),t.prop="";A.length;){let l=A[0][0];if(l===":"||l==="space"||l==="comment")break;t.prop+=A.shift()[1];}t.raws.between="";let n;for(;A.length;)if(n=A.shift(),n[0]===":"){t.raws.between+=n[1];break}else n[0]==="word"&&/\w/.test(n[1])&&this.unknownWord([n]),t.raws.between+=n[1];(t.prop[0]==="_"||t.prop[0]==="*")&&(t.raws.before+=t.prop[0],t.prop=t.prop.slice(1));let i=[],o;for(;A.length&&(o=A[0][0],!(o!=="space"&&o!=="comment"));)i.push(A.shift());this.precheckMissedSemicolon(A);for(let l=A.length-1;l>=0;l--){if(n=A[l],n[1].toLowerCase()==="!important"){t.important=true;let c=this.stringFrom(A,l);c=this.spacesFromEnd(A)+c,c!==" !important"&&(t.raws.important=c);break}else if(n[1].toLowerCase()==="important"){let c=A.slice(0),u="";for(let h=l;h>0;h--){let f=c[h][0];if(u.trim().indexOf("!")===0&&f!=="space")break;u=c.pop()[1]+u;}u.trim().indexOf("!")===0&&(t.important=true,t.raws.important=u,A=c);}if(n[0]!=="space"&&n[0]!=="comment")break}A.some(l=>l[0]!=="space"&&l[0]!=="comment")&&(t.raws.between+=i.map(l=>l[1]).join(""),i=[]),this.raw(t,"value",i.concat(A),e),t.value.includes(":")&&!e&&this.checkMissedSemicolon(A);}doubleColon(A){throw this.input.error("Double colon",{offset:A[2]},{offset:A[2]+A[1].length})}emptyRule(A){let e=new Al;this.init(e,A[2]),e.selector="",e.raws.between="",this.current=e;}end(A){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=false,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(A[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(A);}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(A){if(this.spaces+=A[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&e.type==="rule"&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="");}}getPosition(A){let e=this.input.fromOffset(A);return {column:e.col,line:e.line,offset:A}}init(A,e){this.current.push(A),A.source={input:this.input,start:this.getPosition(e)},A.raws.before=this.spaces,this.spaces="",A.type!=="comment"&&(this.semicolon=false);}other(A){let e=false,t=null,s=false,n=null,i=[],o=A[1].startsWith("--"),a=[],l=A;for(;l;){if(t=l[0],a.push(l),t==="("||t==="[")n||(n=l),i.push(t==="("?")":"]");else if(o&&s&&t==="{")n||(n=l),i.push("}");else if(i.length===0)if(t===";")if(s){this.decl(a,o);return}else break;else if(t==="{"){this.rule(a);return}else if(t==="}"){this.tokenizer.back(a.pop()),e=true;break}else t===":"&&(s=true);else t===i[i.length-1]&&(i.pop(),i.length===0&&(n=null));l=this.tokenizer.nextToken();}if(this.tokenizer.endOfFile()&&(e=true),i.length>0&&this.unclosedBracket(n),e&&s){if(!o)for(;a.length&&(l=a[a.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(a.pop());this.decl(a,o);}else this.unknownWord(a);}parse(){let A;for(;!this.tokenizer.endOfFile();)switch(A=this.tokenizer.nextToken(),A[0]){case "space":this.spaces+=A[1];break;case ";":this.freeSemicolon(A);break;case "}":this.end(A);break;case "comment":this.comment(A);break;case "at-word":this.atrule(A);break;case "{":this.emptyRule(A);break;default:this.other(A);break}this.endFile();}precheckMissedSemicolon(){}raw(A,e,t,s){let n,i,o=t.length,a="",l=true,c,u;for(let h=0;h<o;h+=1)n=t[h],i=n[0],i==="space"&&h===o-1&&!s?l=false:i==="comment"?(u=t[h-1]?t[h-1][0]:"empty",c=t[h+1]?t[h+1][0]:"empty",!el[u]&&!el[c]?a.slice(-1)===","?l=false:a+=n[1]:l=false):a+=n[1];if(!l){let h=t.reduce((f,p)=>f+p[1],"");A.raws[e]={raw:h,value:a};}A[e]=a;}rule(A){A.pop();let e=new Al;this.init(e,A[0][2]),e.raws.between=this.spacesAndCommentsFromEnd(A),this.raw(e,"selector",A),this.current=e;}spacesAndCommentsFromEnd(A){let e,t="";for(;A.length&&(e=A[A.length-1][0],!(e!=="space"&&e!=="comment"));)t=A.pop()[1]+t;return t}spacesAndCommentsFromStart(A){let e,t="";for(;A.length&&(e=A[0][0],!(e!=="space"&&e!=="comment"));)t+=A.shift()[1];return t}spacesFromEnd(A){let e,t="";for(;A.length&&(e=A[A.length-1][0],e==="space");)t=A.pop()[1]+t;return t}stringFrom(A,e){let t="";for(let s=e;s<A.length;s++)t+=A[s][1];return A.splice(e,A.length-e),t}unclosedBlock(){let A=this.current.source.start;throw this.input.error("Unclosed block",A.line,A.column)}unclosedBracket(A){throw this.input.error("Unclosed bracket",{offset:A[2]},{offset:A[2]+1})}unexpectedClose(A){throw this.input.error("Unexpected }",{offset:A[2]},{offset:A[2]+1})}unknownWord(A){throw this.input.error("Unknown word",{offset:A[0][2]},{offset:A[0][2]+A[0][1].length})}unnamedAtrule(A,e){throw this.input.error("At-rule without name",{offset:e[2]},{offset:e[2]+e[1].length})}},Gp=_p,Vp=me,$p=Gp,Wp=is;function Jr(r,A){let e=new Wp(r,A),t=new $p(e);try{t.parse();}catch(s){throw process.env.NODE_ENV!=="production"&&s.name==="CssSyntaxError"&&A&&A.from&&(/\.scss$/i.test(A.from)?s.message+=`
|
|
25
|
+
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(A.from)?s.message+=`
|
|
26
|
+
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(A.from)&&(s.message+=`
|
|
27
|
+
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),s}return t.root}var Xi=Jr;Jr.default=Jr;Vp.registerParse(Jr);var{isClean:NA,my:Xp}=Et,Jp=Zl,Yp=rs,zp=me,Zp=Gi,jp=lc,tl=Vi,qp=Xi,AB=It,eB={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},tB={AtRule:true,AtRuleExit:true,Comment:true,CommentExit:true,Declaration:true,DeclarationExit:true,Document:true,DocumentExit:true,Once:true,OnceExit:true,postcssPlugin:true,prepare:true,Root:true,RootExit:true,Rule:true,RuleExit:true},rB={Once:true,postcssPlugin:true,prepare:true},Ne=0;function lt(r){return typeof r=="object"&&typeof r.then=="function"}function gc(r){let A=false,e=eB[r.type];return r.type==="decl"?A=r.prop.toLowerCase():r.type==="atrule"&&(A=r.name.toLowerCase()),A&&r.append?[e,e+"-"+A,Ne,e+"Exit",e+"Exit-"+A]:A?[e,e+"-"+A,e+"Exit",e+"Exit-"+A]:r.append?[e,Ne,e+"Exit"]:[e,e+"Exit"]}function rl(r){let A;return r.type==="document"?A=["Document",Ne,"DocumentExit"]:r.type==="root"?A=["Root",Ne,"RootExit"]:A=gc(r),{eventIndex:0,events:A,iterator:0,node:r,visitorIndex:0,visitors:[]}}function oi(r){return r[NA]=false,r.nodes&&r.nodes.forEach(A=>oi(A)),r}var ai={},ke=class wc{constructor(A,e,t){this.stringified=false,this.processed=false;let s;if(typeof e=="object"&&e!==null&&(e.type==="root"||e.type==="document"))s=oi(e);else if(e instanceof wc||e instanceof tl)s=oi(e.root),e.map&&(typeof t.map>"u"&&(t.map={}),t.map.inline||(t.map.inline=false),t.map.prev=e.map);else {let n=qp;t.syntax&&(n=t.syntax.parse),t.parser&&(n=t.parser),n.parse&&(n=n.parse);try{s=n(e,t);}catch(i){this.processed=true,this.error=i;}s&&!s[Xp]&&zp.rebuild(s);}this.result=new tl(A,s,t),this.helpers={...ai,postcss:ai,result:this.result},this.plugins=this.processor.plugins.map(n=>typeof n=="object"&&n.prepare?{...n,...n.prepare(this.result)}:n);}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(A){return this.async().catch(A)}finally(A){return this.async().then(A,A)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(A,e){let t=this.result.lastPlugin;try{if(e&&e.addToError(A),this.error=A,A.name==="CssSyntaxError"&&!A.plugin)A.plugin=t.postcssPlugin,A.setMessage();else if(t.postcssVersion&&process.env.NODE_ENV!=="production"){let s=t.postcssPlugin,n=t.postcssVersion,i=this.result.processor.version,o=n.split("."),a=i.split(".");(o[0]!==a[0]||parseInt(o[1])>parseInt(a[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+i+", but "+s+" uses "+n+". Perhaps this is the source of the error below.");}}catch(s){console&&console.error&&console.error(s);}return A}prepareVisitors(){this.listeners={};let A=(e,t,s)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,s]);};for(let e of this.plugins)if(typeof e=="object")for(let t in e){if(!tB[t]&&/^[A-Z]/.test(t))throw new Error(`Unknown event ${t} in ${e.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!rB[t])if(typeof e[t]=="object")for(let s in e[t])s==="*"?A(e,t,e[t][s]):A(e,t+"-"+s.toLowerCase(),e[t][s]);else typeof e[t]=="function"&&A(e,t,e[t]);}this.hasListener=Object.keys(this.listeners).length>0;}async runAsync(){this.plugin=0;for(let A=0;A<this.plugins.length;A++){let e=this.plugins[A],t=this.runOnRoot(e);if(lt(t))try{await t;}catch(s){throw this.handleError(s)}}if(this.prepareVisitors(),this.hasListener){let A=this.result.root;for(;!A[NA];){A[NA]=true;let e=[rl(A)];for(;e.length>0;){let t=this.visitTick(e);if(lt(t))try{await t;}catch(s){let n=e[e.length-1].node;throw this.handleError(s,n)}}}if(this.listeners.OnceExit)for(let[e,t]of this.listeners.OnceExit){this.result.lastPlugin=e;try{if(A.type==="document"){let s=A.nodes.map(n=>t(n,this.helpers));await Promise.all(s);}else await t(A,this.helpers);}catch(s){throw this.handleError(s)}}}return this.processed=true,this.stringify()}runOnRoot(A){this.result.lastPlugin=A;try{if(typeof A=="object"&&A.Once){if(this.result.root.type==="document"){let e=this.result.root.nodes.map(t=>A.Once(t,this.helpers));return lt(e[0])?Promise.all(e):e}return A.Once(this.result.root,this.helpers)}else if(typeof A=="function")return A(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=true,this.sync();let A=this.result.opts,e=Yp;A.syntax&&(e=A.syntax.stringify),A.stringifier&&(e=A.stringifier),e.stringify&&(e=e.stringify);let s=new Jp(e,this.result.root,this.result.opts).generate();return this.result.css=s[0],this.result.map=s[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=true,this.processing)throw this.getAsyncError();for(let A of this.plugins){let e=this.runOnRoot(A);if(lt(e))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let A=this.result.root;for(;!A[NA];)A[NA]=true,this.walkSync(A);if(this.listeners.OnceExit)if(A.type==="document")for(let e of A.nodes)this.visitSync(this.listeners.OnceExit,e);else this.visitSync(this.listeners.OnceExit,A);}return this.result}then(A,e){return process.env.NODE_ENV!=="production"&&("from"in this.opts||jp("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(A,e)}toString(){return this.css}visitSync(A,e){for(let[t,s]of A){this.result.lastPlugin=t;let n;try{n=s(e,this.helpers);}catch(i){throw this.handleError(i,e.proxyOf)}if(e.type!=="root"&&e.type!=="document"&&!e.parent)return true;if(lt(n))throw this.getAsyncError()}}visitTick(A){let e=A[A.length-1],{node:t,visitors:s}=e;if(t.type!=="root"&&t.type!=="document"&&!t.parent){A.pop();return}if(s.length>0&&e.visitorIndex<s.length){let[i,o]=s[e.visitorIndex];e.visitorIndex+=1,e.visitorIndex===s.length&&(e.visitors=[],e.visitorIndex=0),this.result.lastPlugin=i;try{return o(t.toProxy(),this.helpers)}catch(a){throw this.handleError(a,t)}}if(e.iterator!==0){let i=e.iterator,o;for(;o=t.nodes[t.indexes[i]];)if(t.indexes[i]+=1,!o[NA]){o[NA]=true,A.push(rl(o));return}e.iterator=0,delete t.indexes[i];}let n=e.events;for(;e.eventIndex<n.length;){let i=n[e.eventIndex];if(e.eventIndex+=1,i===Ne){t.nodes&&t.nodes.length&&(t[NA]=true,e.iterator=t.getIterator());return}else if(this.listeners[i]){e.visitors=this.listeners[i];return}}A.pop();}walkSync(A){A[NA]=true;let e=gc(A);for(let t of e)if(t===Ne)A.nodes&&A.each(s=>{s[NA]||this.walkSync(s);});else {let s=this.listeners[t];if(s&&this.visitSync(s,A.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"}};ke.registerPostcss=r=>{ai=r;};var mc=ke;ke.default=ke;AB.registerLazyResult(ke);Zp.registerLazyResult(ke);var sB=Zl,nB=rs,iB=lc,oB=Xi,aB=Vi,li=class{constructor(A,e,t){e=e.toString(),this.stringified=false,this._processor=A,this._css=e,this._opts=t,this._map=void 0;let s,n=nB;this.result=new aB(this._processor,s,this._opts),this.result.css=e;let i=this;Object.defineProperty(this.result,"root",{get(){return i.root}});let o=new sB(n,s,this._opts,e);if(o.isMap()){let[a,l]=o.generate();a&&(this.result.css=a),l&&(this.result.map=l);}else o.clearAnnotation(),this.result.css=o.css;}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(A){return this.async().catch(A)}finally(A){return this.async().then(A,A)}sync(){if(this.error)throw this.error;return this.result}then(A,e){return process.env.NODE_ENV!=="production"&&("from"in this._opts||iB("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(A,e)}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 A,e=oB;try{A=e(this._css,this._opts);}catch(t){this.error=t;}if(this.error)throw this.error;return this._root=A,A}get[Symbol.toStringTag](){return "NoWorkResult"}},lB=li;li.default=li;var cB=lB,uB=mc,hB=Gi,fB=It,mt=class{constructor(A=[]){this.version="8.4.38",this.plugins=this.normalize(A);}normalize(A){let e=[];for(let t of A)if(t.postcss===true?t=t():t.postcss&&(t=t.postcss),typeof t=="object"&&Array.isArray(t.plugins))e=e.concat(t.plugins);else if(typeof t=="object"&&t.postcssPlugin)e.push(t);else if(typeof t=="function")e.push(t);else if(typeof t=="object"&&(t.parse||t.stringify)){if(process.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(t+" is not a PostCSS plugin");return e}process(A,e={}){return !this.plugins.length&&!e.parser&&!e.stringifier&&!e.syntax?new cB(this,A,e):new uB(this,A,e)}use(A){return this.plugins=this.plugins.concat(this.normalize([A])),this}},dB=mt;mt.default=mt;fB.registerProcessor(mt);hB.registerProcessor(mt);var pB=ns,BB=Wl,gB=os,wB=$i,mB=is,CB=It,QB=Wi;function Ct(r,A){if(Array.isArray(r))return r.map(s=>Ct(s));let{inputs:e,...t}=r;if(e){A=[];for(let s of e){let n={...s,__proto__:mB.prototype};n.map&&(n.map={...n.map,__proto__:BB.prototype}),A.push(n);}}if(t.nodes&&(t.nodes=r.nodes.map(s=>Ct(s,A))),t.source){let{inputId:s,...n}=t.source;t.source=n,s!=null&&(t.source.input=A[s]);}if(t.type==="root")return new CB(t);if(t.type==="decl")return new pB(t);if(t.type==="rule")return new QB(t);if(t.type==="comment")return new gB(t);if(t.type==="atrule")return new wB(t);throw new Error("Unknown node type: "+r.type)}var UB=Ct;Ct.default=Ct;var yB=ki,Cc=ns,FB=mc,bB=me,Ji=dB,EB=rs,IB=UB,Qc=Gi,xB=cc,Uc=os,yc=$i,SB=Vi,vB=is,HB=Xi,LB=pc,Fc=Wi,bc=It,TB=ss;function k(...r){return r.length===1&&Array.isArray(r[0])&&(r=r[0]),new Ji(r)}k.plugin=function(A,e){let t=false;function s(...i){console&&console.warn&&!t&&(t=true,console.warn(A+`: postcss.plugin was deprecated. Migration guide:
|
|
28
|
+
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(A+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
|
|
29
|
+
https://www.w3ctech.com/topic/2226`));let o=e(...i);return o.postcssPlugin=A,o.postcssVersion=new Ji().version,o}let n;return Object.defineProperty(s,"postcss",{get(){return n||(n=s()),n}}),s.process=function(i,o,a){return k([s(a)]).process(i,o)},s};k.stringify=EB;k.parse=HB;k.fromJSON=IB;k.list=LB;k.comment=r=>new Uc(r);k.atRule=r=>new yc(r);k.decl=r=>new Cc(r);k.rule=r=>new Fc(r);k.root=r=>new bc(r);k.document=r=>new Qc(r);k.CssSyntaxError=yB;k.Declaration=Cc;k.Container=bB;k.Processor=Ji;k.Document=Qc;k.Comment=Uc;k.Warning=xB;k.AtRule=yc;k.Result=SB;k.Input=vB;k.Rule=Fc;k.Root=bc;k.Node=TB;FB.registerPostcss(k);var MB=k;k.default=k;var Y=Vd(MB);Y.stringify;Y.fromJSON;Y.plugin;Y.parse;Y.list;Y.document;Y.comment;Y.atRule;Y.rule;Y.decl;Y.root;Y.CssSyntaxError;Y.Declaration;Y.Container;Y.Processor;Y.Document;Y.Comment;Y.Warning;Y.AtRule;Y.Result;Y.Input;Y.Rule;Y.Root;Y.Node;var OB=Object.defineProperty,RB=(r,A,e)=>A in r?OB(r,A,{enumerable:true,configurable:true,writable:true,value:e}):r[A]=e,EA=(r,A,e)=>RB(r,typeof A!="symbol"?A+"":A,e);function DB(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function KB(r){if(r.__esModule)return r;var A=r.default;if(typeof A=="function"){var e=function t(){return this instanceof t?Reflect.construct(A,arguments,this.constructor):A.apply(this,arguments)};e.prototype=A.prototype;}else e={};return Object.defineProperty(e,"__esModule",{value:true}),Object.keys(r).forEach(function(t){var s=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(e,t,s.get?s:{enumerable:true,get:function(){return r[t]}});}),e}var Yi={exports:{}},X=String,Ec=function(){return {isColorSupported:false,reset:X,bold:X,dim:X,italic:X,underline:X,inverse:X,hidden:X,strikethrough:X,black:X,red:X,green:X,yellow:X,blue:X,magenta:X,cyan:X,white:X,gray:X,bgBlack:X,bgRed:X,bgGreen:X,bgYellow:X,bgBlue:X,bgMagenta:X,bgCyan:X,bgWhite:X}};Yi.exports=Ec();Yi.exports.createColors=Ec;var NB=Yi.exports,kB={},PB=Object.freeze(Object.defineProperty({__proto__:null,default:kB},Symbol.toStringTag,{value:"Module"})),MA=KB(PB),sl=NB,nl=MA,ci=class Ic extends Error{constructor(A,e,t,s,n,i){super(A),this.name="CssSyntaxError",this.reason=A,n&&(this.file=n),s&&(this.source=s),i&&(this.plugin=i),typeof e<"u"&&typeof t<"u"&&(typeof e=="number"?(this.line=e,this.column=t):(this.line=e.line,this.column=e.column,this.endLine=t.line,this.endColumn=t.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,Ic);}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason;}showSourceCode(A){if(!this.source)return "";let e=this.source;A==null&&(A=sl.isColorSupported),nl&&A&&(e=nl(e));let t=e.split(/\r?\n/),s=Math.max(this.line-3,0),n=Math.min(this.line+2,t.length),i=String(n).length,o,a;if(A){let{bold:l,gray:c,red:u}=sl.createColors(true);o=h=>l(u(h)),a=h=>c(h);}else o=a=l=>l;return t.slice(s,n).map((l,c)=>{let u=s+1+c,h=" "+(" "+u).slice(-i)+" | ";if(u===this.line){let f=a(h.replace(/\d/g," "))+l.slice(0,this.column-1).replace(/[^\t]/g," ");return o(">")+a(h)+l+`
|
|
30
|
+
`+f+o("^")}return " "+a(h)+l}).join(`
|
|
31
|
+
`)}toString(){let A=this.showSourceCode();return A&&(A=`
|
|
32
|
+
|
|
33
|
+
`+A+`
|
|
34
|
+
`),this.name+": "+this.message+A}},zi=ci;ci.default=ci;var xt={};xt.isClean=Symbol("isClean");xt.my=Symbol("my");var il={after:`
|
|
35
35
|
`,beforeClose:`
|
|
36
36
|
`,beforeComment:`
|
|
37
37
|
`,beforeDecl:`
|
|
38
38
|
`,beforeOpen:" ",beforeRule:`
|
|
39
|
-
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:false};function
|
|
40
|
-
`)){let
|
|
41
|
-
`)&&(
|
|
42
|
-
`)&&(
|
|
43
|
-
`)&&(
|
|
44
|
-
`)&&(
|
|
45
|
-
`);return
|
|
46
|
-
`?(
|
|
47
|
-
`);
|
|
39
|
+
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:false};function _B(r){return r[0].toUpperCase()+r.slice(1)}var ui=class{constructor(A){this.builder=A;}atrule(A,e){let t="@"+A.name,s=A.params?this.rawValue(A,"params"):"";if(typeof A.raws.afterName<"u"?t+=A.raws.afterName:s&&(t+=" "),A.nodes)this.block(A,t+s);else {let n=(A.raws.between||"")+(e?";":"");this.builder(t+s+n,A);}}beforeAfter(A,e){let t;A.type==="decl"?t=this.raw(A,null,"beforeDecl"):A.type==="comment"?t=this.raw(A,null,"beforeComment"):e==="before"?t=this.raw(A,null,"beforeRule"):t=this.raw(A,null,"beforeClose");let s=A.parent,n=0;for(;s&&s.type!=="root";)n+=1,s=s.parent;if(t.includes(`
|
|
40
|
+
`)){let i=this.raw(A,null,"indent");if(i.length)for(let o=0;o<n;o++)t+=i;}return t}block(A,e){let t=this.raw(A,"between","beforeOpen");this.builder(e+t+"{",A,"start");let s;A.nodes&&A.nodes.length?(this.body(A),s=this.raw(A,"after")):s=this.raw(A,"after","emptyBody"),s&&this.builder(s),this.builder("}",A,"end");}body(A){let e=A.nodes.length-1;for(;e>0&&A.nodes[e].type==="comment";)e-=1;let t=this.raw(A,"semicolon");for(let s=0;s<A.nodes.length;s++){let n=A.nodes[s],i=this.raw(n,"before");i&&this.builder(i),this.stringify(n,e!==s||t);}}comment(A){let e=this.raw(A,"left","commentLeft"),t=this.raw(A,"right","commentRight");this.builder("/*"+e+A.text+t+"*/",A);}decl(A,e){let t=this.raw(A,"between","colon"),s=A.prop+t+this.rawValue(A,"value");A.important&&(s+=A.raws.important||" !important"),e&&(s+=";"),this.builder(s,A);}document(A){this.body(A);}raw(A,e,t){let s;if(t||(t=e),e&&(s=A.raws[e],typeof s<"u"))return s;let n=A.parent;if(t==="before"&&(!n||n.type==="root"&&n.first===A||n&&n.type==="document"))return "";if(!n)return il[t];let i=A.root();if(i.rawCache||(i.rawCache={}),typeof i.rawCache[t]<"u")return i.rawCache[t];if(t==="before"||t==="after")return this.beforeAfter(A,t);{let o="raw"+_B(t);this[o]?s=this[o](i,A):i.walk(a=>{if(s=a.raws[e],typeof s<"u")return false});}return typeof s>"u"&&(s=il[t]),i.rawCache[t]=s,s}rawBeforeClose(A){let e;return A.walk(t=>{if(t.nodes&&t.nodes.length>0&&typeof t.raws.after<"u")return e=t.raws.after,e.includes(`
|
|
41
|
+
`)&&(e=e.replace(/[^\n]+$/,"")),false}),e&&(e=e.replace(/\S/g,"")),e}rawBeforeComment(A,e){let t;return A.walkComments(s=>{if(typeof s.raws.before<"u")return t=s.raws.before,t.includes(`
|
|
42
|
+
`)&&(t=t.replace(/[^\n]+$/,"")),false}),typeof t>"u"?t=this.raw(e,null,"beforeDecl"):t&&(t=t.replace(/\S/g,"")),t}rawBeforeDecl(A,e){let t;return A.walkDecls(s=>{if(typeof s.raws.before<"u")return t=s.raws.before,t.includes(`
|
|
43
|
+
`)&&(t=t.replace(/[^\n]+$/,"")),false}),typeof t>"u"?t=this.raw(e,null,"beforeRule"):t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(A){let e;return A.walk(t=>{if(t.type!=="decl"&&(e=t.raws.between,typeof e<"u"))return false}),e}rawBeforeRule(A){let e;return A.walk(t=>{if(t.nodes&&(t.parent!==A||A.first!==t)&&typeof t.raws.before<"u")return e=t.raws.before,e.includes(`
|
|
44
|
+
`)&&(e=e.replace(/[^\n]+$/,"")),false}),e&&(e=e.replace(/\S/g,"")),e}rawColon(A){let e;return A.walkDecls(t=>{if(typeof t.raws.between<"u")return e=t.raws.between.replace(/[^\s:]/g,""),false}),e}rawEmptyBody(A){let e;return A.walk(t=>{if(t.nodes&&t.nodes.length===0&&(e=t.raws.after,typeof e<"u"))return false}),e}rawIndent(A){if(A.raws.indent)return A.raws.indent;let e;return A.walk(t=>{let s=t.parent;if(s&&s!==A&&s.parent&&s.parent===A&&typeof t.raws.before<"u"){let n=t.raws.before.split(`
|
|
45
|
+
`);return e=n[n.length-1],e=e.replace(/\S/g,""),false}}),e}rawSemicolon(A){let e;return A.walk(t=>{if(t.nodes&&t.nodes.length&&t.last.type==="decl"&&(e=t.raws.semicolon,typeof e<"u"))return false}),e}rawValue(A,e){let t=A[e],s=A.raws[e];return s&&s.value===t?s.raw:t}root(A){this.body(A),A.raws.after&&this.builder(A.raws.after);}rule(A){this.block(A,this.rawValue(A,"selector")),A.raws.ownSemicolon&&this.builder(A.raws.ownSemicolon,A,"end");}stringify(A,e){if(!this[A.type])throw new Error("Unknown AST node type "+A.type+". Maybe you need to change PostCSS stringifier.");this[A.type](A,e);}},xc=ui;ui.default=ui;var GB=xc;function hi(r,A){new GB(A).stringify(r);}var as=hi;hi.default=hi;var{isClean:Ur,my:VB}=xt,$B=zi,WB=xc,XB=as;function fi(r,A){let e=new r.constructor;for(let t in r){if(!Object.prototype.hasOwnProperty.call(r,t)||t==="proxyCache")continue;let s=r[t],n=typeof s;t==="parent"&&n==="object"?A&&(e[t]=A):t==="source"?e[t]=s:Array.isArray(s)?e[t]=s.map(i=>fi(i,e)):(n==="object"&&s!==null&&(s=fi(s)),e[t]=s);}return e}var di=class{constructor(A={}){this.raws={},this[Ur]=false,this[VB]=true;for(let e in A)if(e==="nodes"){this.nodes=[];for(let t of A[e])typeof t.clone=="function"?this.append(t.clone()):this.append(t);}else this[e]=A[e];}addToError(A){if(A.postcssNode=this,A.stack&&this.source&&/\n\s{4}at /.test(A.stack)){let e=this.source;A.stack=A.stack.replace(/\n\s{4}at /,`$&${e.input.from}:${e.start.line}:${e.start.column}$&`);}return A}after(A){return this.parent.insertAfter(this,A),this}assign(A={}){for(let e in A)this[e]=A[e];return this}before(A){return this.parent.insertBefore(this,A),this}cleanRaws(A){delete this.raws.before,delete this.raws.after,A||delete this.raws.between;}clone(A={}){let e=fi(this);for(let t in A)e[t]=A[t];return e}cloneAfter(A={}){let e=this.clone(A);return this.parent.insertAfter(this,e),e}cloneBefore(A={}){let e=this.clone(A);return this.parent.insertBefore(this,e),e}error(A,e={}){if(this.source){let{end:t,start:s}=this.rangeBy(e);return this.source.input.error(A,{column:s.column,line:s.line},{column:t.column,line:t.line},e)}return new $B(A)}getProxyProcessor(){return {get(A,e){return e==="proxyOf"?A:e==="root"?()=>A.root().toProxy():A[e]},set(A,e,t){return A[e]===t||(A[e]=t,(e==="prop"||e==="value"||e==="name"||e==="params"||e==="important"||e==="text")&&A.markDirty()),true}}}markDirty(){if(this[Ur]){this[Ur]=false;let A=this;for(;A=A.parent;)A[Ur]=false;}}next(){if(!this.parent)return;let A=this.parent.index(this);return this.parent.nodes[A+1]}positionBy(A,e){let t=this.source.start;if(A.index)t=this.positionInside(A.index,e);else if(A.word){e=this.toString();let s=e.indexOf(A.word);s!==-1&&(t=this.positionInside(s,e));}return t}positionInside(A,e){let t=e||this.toString(),s=this.source.start.column,n=this.source.start.line;for(let i=0;i<A;i++)t[i]===`
|
|
46
|
+
`?(s=1,n+=1):s+=1;return {column:s,line:n}}prev(){if(!this.parent)return;let A=this.parent.index(this);return this.parent.nodes[A-1]}rangeBy(A){let e={column:this.source.start.column,line:this.source.start.line},t=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:e.column+1,line:e.line};if(A.word){let s=this.toString(),n=s.indexOf(A.word);n!==-1&&(e=this.positionInside(n,s),t=this.positionInside(n+A.word.length,s));}else A.start?e={column:A.start.column,line:A.start.line}:A.index&&(e=this.positionInside(A.index)),A.end?t={column:A.end.column,line:A.end.line}:typeof A.endIndex=="number"?t=this.positionInside(A.endIndex):A.index&&(t=this.positionInside(A.index+1));return (t.line<e.line||t.line===e.line&&t.column<=e.column)&&(t={column:e.column+1,line:e.line}),{end:t,start:e}}raw(A,e){return new WB().raw(this,A,e)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...A){if(this.parent){let e=this,t=false;for(let s of A)s===this?t=true:t?(this.parent.insertAfter(e,s),e=s):this.parent.insertBefore(e,s);t||this.remove();}return this}root(){let A=this;for(;A.parent&&A.parent.type!=="document";)A=A.parent;return A}toJSON(A,e){let t={},s=e==null;e=e||new Map;let n=0;for(let i in this){if(!Object.prototype.hasOwnProperty.call(this,i)||i==="parent"||i==="proxyCache")continue;let o=this[i];if(Array.isArray(o))t[i]=o.map(a=>typeof a=="object"&&a.toJSON?a.toJSON(null,e):a);else if(typeof o=="object"&&o.toJSON)t[i]=o.toJSON(null,e);else if(i==="source"){let a=e.get(o.input);a==null&&(a=n,e.set(o.input,n),n++),t[i]={end:o.end,inputId:a,start:o.start};}else t[i]=o;}return s&&(t.inputs=[...e.keys()].map(i=>i.toJSON())),t}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(A=XB){A.stringify&&(A=A.stringify);let e="";return A(this,t=>{e+=t;}),e}warn(A,e,t){let s={node:this};for(let n in t)s[n]=t[n];return A.warn(e,s)}get proxyOf(){return this}},ls=di;di.default=di;var JB=ls,pi=class extends JB{constructor(A){A&&typeof A.value<"u"&&typeof A.value!="string"&&(A={...A,value:String(A.value)}),super(A),this.type="decl";}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}},cs=pi;pi.default=pi;var YB="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",ZB=(r=21)=>{let A="",e=r;for(;e--;)A+=YB[Math.random()*64|0];return A},jB={nanoid:ZB},{SourceMapConsumer:ol,SourceMapGenerator:al}=MA,{existsSync:qB,readFileSync:Ag}=MA,{dirname:kn,join:eg}=MA;function tg(r){return Buffer?Buffer.from(r,"base64").toString():window.atob(r)}var Bi=class{constructor(A,e){if(e.map===false)return;this.loadAnnotation(A),this.inline=this.startWith(this.annotation,"data:");let t=e.map?e.map.prev:void 0,s=this.loadMap(e.from,t);!this.mapFile&&e.from&&(this.mapFile=e.from),this.mapFile&&(this.root=kn(this.mapFile)),s&&(this.text=s);}consumer(){return this.consumerCache||(this.consumerCache=new ol(this.text)),this.consumerCache}decodeInline(A){let e=/^data:application\/json;charset=utf-?8;base64,/,t=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,n=/^data:application\/json,/;if(s.test(A)||n.test(A))return decodeURIComponent(A.substr(RegExp.lastMatch.length));if(e.test(A)||t.test(A))return tg(A.substr(RegExp.lastMatch.length));let i=A.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)}getAnnotationURL(A){return A.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(A){return typeof A!="object"?false:typeof A.mappings=="string"||typeof A._mappings=="string"||Array.isArray(A.sections)}loadAnnotation(A){let e=A.match(/\/\*\s*# sourceMappingURL=/gm);if(!e)return;let t=A.lastIndexOf(e.pop()),s=A.indexOf("*/",t);t>-1&&s>-1&&(this.annotation=this.getAnnotationURL(A.substring(t,s)));}loadFile(A){if(this.root=kn(A),qB(A))return this.mapFile=A,Ag(A,"utf-8").toString().trim()}loadMap(A,e){if(e===false)return false;if(e){if(typeof e=="string")return e;if(typeof e=="function"){let t=e(A);if(t){let s=this.loadFile(t);if(!s)throw new Error("Unable to load previous source map: "+t.toString());return s}}else {if(e instanceof ol)return al.fromSourceMap(e).toString();if(e instanceof al)return e.toString();if(this.isMap(e))return JSON.stringify(e);throw new Error("Unsupported previous source map format: "+e.toString())}}else {if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return A&&(t=eg(kn(A),t)),this.loadFile(t)}}}startWith(A,e){return A?A.substr(0,e.length)===e:false}withContent(){return !!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}},Sc=Bi;Bi.default=Bi;var{SourceMapConsumer:rg,SourceMapGenerator:sg}=MA,{fileURLToPath:ll,pathToFileURL:yr}=MA,{isAbsolute:gi,resolve:wi}=MA,{nanoid:ng}=jB,Pn=MA,cl=zi,ig=Sc,_n=Symbol("fromOffsetCache"),og=!!(rg&&sg),ul=!!(wi&&gi),Yr=class{constructor(A,e={}){if(A===null||typeof A>"u"||typeof A=="object"&&!A.toString)throw new Error(`PostCSS received ${A} instead of CSS string`);if(this.css=A.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=true,this.css=this.css.slice(1)):this.hasBOM=false,e.from&&(!ul||/^\w+:\/\//.test(e.from)||gi(e.from)?this.file=e.from:this.file=wi(e.from)),ul&&og){let t=new ig(this.css,e);if(t.text){this.map=t;let s=t.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s));}}this.file||(this.id="<input css "+ng(6)+">"),this.map&&(this.map.file=this.from);}error(A,e,t,s={}){let n,i,o;if(e&&typeof e=="object"){let l=e,c=t;if(typeof l.offset=="number"){let u=this.fromOffset(l.offset);e=u.line,t=u.col;}else e=l.line,t=l.column;if(typeof c.offset=="number"){let u=this.fromOffset(c.offset);i=u.line,o=u.col;}else i=c.line,o=c.column;}else if(!t){let l=this.fromOffset(e);e=l.line,t=l.col;}let a=this.origin(e,t,i,o);return a?n=new cl(A,a.endLine===void 0?a.line:{column:a.column,line:a.line},a.endLine===void 0?a.column:{column:a.endColumn,line:a.endLine},a.source,a.file,s.plugin):n=new cl(A,i===void 0?e:{column:t,line:e},i===void 0?t:{column:o,line:i},this.css,this.file,s.plugin),n.input={column:t,endColumn:o,endLine:i,line:e,source:this.css},this.file&&(yr&&(n.input.url=yr(this.file).toString()),n.input.file=this.file),n}fromOffset(A){let e,t;if(this[_n])t=this[_n];else {let n=this.css.split(`
|
|
47
|
+
`);t=new Array(n.length);let i=0;for(let o=0,a=n.length;o<a;o++)t[o]=i,i+=n[o].length+1;this[_n]=t;}e=t[t.length-1];let s=0;if(A>=e)s=t.length-1;else {let n=t.length-2,i;for(;s<n;)if(i=s+(n-s>>1),A<t[i])n=i-1;else if(A>=t[i+1])s=i+1;else {s=i;break}}return {col:A-t[s]+1,line:s+1}}mapResolve(A){return /^\w+:\/\//.test(A)?A:wi(this.map.consumer().sourceRoot||this.map.root||".",A)}origin(A,e,t,s){if(!this.map)return false;let n=this.map.consumer(),i=n.originalPositionFor({column:e,line:A});if(!i.source)return false;let o;typeof t=="number"&&(o=n.originalPositionFor({column:s,line:t}));let a;gi(i.source)?a=yr(i.source):a=new URL(i.source,this.map.consumer().sourceRoot||yr(this.map.mapFile));let l={column:i.column,endColumn:o&&o.column,endLine:o&&o.line,line:i.line,url:a.toString()};if(a.protocol==="file:")if(ll)l.file=ll(a);else throw new Error("file: protocol is not available in this PostCSS build");let c=n.sourceContentFor(i.source);return c&&(l.source=c),l}toJSON(){let A={};for(let e of ["hasBOM","css","file","id"])this[e]!=null&&(A[e]=this[e]);return this.map&&(A.map={...this.map},A.map.consumerCache&&(A.map.consumerCache=void 0)),A}get from(){return this.file||this.id}},us=Yr;Yr.default=Yr;Pn&&Pn.registerInput&&Pn.registerInput(Yr);var{SourceMapConsumer:vc,SourceMapGenerator:Rr}=MA,{dirname:Dr,relative:Hc,resolve:Lc,sep:Tc}=MA,{pathToFileURL:hl}=MA,ag=us,lg=!!(vc&&Rr),cg=!!(Dr&&Lc&&Hc&&Tc),ug=class{constructor(A,e,t,s){this.stringify=A,this.mapOpts=t.map||{},this.root=e,this.opts=t,this.css=s,this.originalCSS=s,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map;}addAnnotation(){let A;this.isInline()?A="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?A=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?A=this.mapOpts.annotation(this.opts.to,this.root):A=this.outputFile()+".map";let e=`
|
|
48
48
|
`;this.css.includes(`\r
|
|
49
|
-
`)&&(
|
|
50
|
-
`),this.css+=
|
|
51
|
-
`),t=l.length-o):t+=l.length,a&&u!=="start"){let c=a.parent||{raws:{}};(!(a.type==="decl"||a.type==="atrule"&&!a.nodes)||a!==c.last||c.raws.semicolon)&&(a.source&&a.source.end?(i.source=this.sourcePath(a),i.original.line=a.source.end.line,i.original.column=a.source.end.column-1,i.generated.line=e,i.generated.column=t-2,this.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,i.generated.line=e,i.generated.column=t-1,this.map.addMapping(i)));}});}isAnnotation(){return this.isInline()?true:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):true}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<"u"&&e!==true?false:this.previous().length?this.previous().some(t=>t.inline):true}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):true}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?Qt(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(r=Qt(Po(r,this.mapOpts.annotation)));let i=ko(r,e);return this.memoizedPaths.set(e,i),i}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t);}});else {let e=new Oh(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map);}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=true;let i=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(i,t.source.input.css);}}});else if(this.css){let t=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(t,this.css);}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(hs){let r=hs(e).toString();return this.memoizedFileURLs.set(e,r),r}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;To==="\\"&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}},Lo=$h,kh=Rr,An=class extends kh{constructor(e){super(e),this.type="comment";}},Mr=An;An.default=An;var{isClean:Do,my:_o}=gt,No=Er,Bo=Mr,Ph=Rr,Fo,ai,li,Uo;function Ho(n){return n.map(e=>(e.nodes&&(e.nodes=Ho(e.nodes)),delete e.source,e))}function zo(n){if(n[Do]=false,n.proxyOf.nodes)for(let e of n.proxyOf.nodes)zo(e);}var me=class Wo extends Ph{append(...e){for(let t of e){let r=this.normalize(t,this.last);for(let i of r)this.proxyOf.nodes.push(i);}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e);}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),r,i;for(;this.indexes[t]<this.proxyOf.nodes.length&&(r=this.indexes[t],i=e(this.proxyOf.nodes[r],r),i!==false);)this.indexes[t]+=1;return delete this.indexes[t],i}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return {get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...r)=>e[t](...r.map(i=>typeof i=="function"?(s,o)=>i(s.toProxy(),o):i)):t==="every"||t==="some"?r=>e[t]((i,...s)=>r(i.toProxy(),...s)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(r=>r.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),true}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of i)this.proxyOf.nodes.splice(r+1,0,o);let s;for(let o in this.indexes)s=this.indexes[o],r<s&&(this.indexes[o]=s+i.length);return this.markDirty(),this}insertBefore(e,t){let r=this.index(e),i=r===0?"prepend":false,s=this.normalize(t,this.proxyOf.nodes[r],i).reverse();r=this.index(e);for(let l of s)this.proxyOf.nodes.splice(r,0,l);let o;for(let l in this.indexes)o=this.indexes[l],r<=o&&(this.indexes[l]=o+s.length);return this.markDirty(),this}normalize(e,t){if(typeof e=="string")e=Ho(Fo(e).nodes);else if(typeof e>"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore");}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore");}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new No(e)];}else if(e.selector)e=[new ai(e)];else if(e.name)e=[new li(e)];else if(e.text)e=[new Bo(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[_o]||Wo.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[Do]&&zo(i),typeof i.raws.before>"u"&&t&&typeof t.raws.before<"u"&&(i.raws.before=t.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}prepend(...e){e=e.reverse();for(let t of e){let r=this.normalize(t,this.first,"prepend").reverse();for(let i of r)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+r.length;}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(i=>{t.props&&!t.props.includes(i.prop)||t.fast&&!i.value.includes(t.fast)||(i.value=i.value.replace(e,r));}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let i;try{i=e(t,r);}catch(s){throw t.addToError(s)}return i!==false&&t.walk&&(i=t.walk(e)),i})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="atrule"&&e.test(r.name))return t(r,i)}):this.walk((r,i)=>{if(r.type==="atrule"&&r.name===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="atrule")return t(r,i)}))}walkComments(e){return this.walk((t,r)=>{if(t.type==="comment")return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="decl"&&e.test(r.prop))return t(r,i)}):this.walk((r,i)=>{if(r.type==="decl"&&r.prop===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="decl")return t(r,i)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="rule"&&e.test(r.selector))return t(r,i)}):this.walk((r,i)=>{if(r.type==="rule"&&r.selector===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="rule")return t(r,i)}))}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]}};me.registerParse=n=>{Fo=n;};me.registerRule=n=>{ai=n;};me.registerAtRule=n=>{li=n;};me.registerRoot=n=>{Uo=n;};var Re=me;me.default=me;me.rebuild=n=>{n.type==="atrule"?Object.setPrototypeOf(n,li.prototype):n.type==="rule"?Object.setPrototypeOf(n,ai.prototype):n.type==="decl"?Object.setPrototypeOf(n,No.prototype):n.type==="comment"?Object.setPrototypeOf(n,Bo.prototype):n.type==="root"&&Object.setPrototypeOf(n,Uo.prototype),n[_o]=true,n.nodes&&n.nodes.forEach(e=>{me.rebuild(e);});};var Th=Re,jo,Vo,ut=class extends Th{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[]);}toResult(e={}){return new jo(new Vo,this,e).stringify()}};ut.registerLazyResult=n=>{jo=n;};ut.registerProcessor=n=>{Vo=n;};var ui=ut;ut.default=ut;var fs={},Go=function(e){fs[e]||(fs[e]=true,typeof console<"u"&&console.warn&&console.warn(e));},$n=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column;}for(let r in t)this[r]=t[r];}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}},Yo=$n;$n.default=$n;var Lh=Yo,kn=class{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0;}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new Lh(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}},ci=kn;kn.default=kn;var Kr=39,ds=34,Ut=92,ps=47,Ht=10,Ke=32,zt=12,Wt=9,jt=13,Dh=91,_h=93,Nh=40,Bh=41,Fh=123,Uh=125,Hh=59,zh=42,Wh=58,jh=64,Vt=/[\t\n\f\r "#'()/;[\\\]{}]/g,Gt=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Vh=/.[\r\n"'(/\\]/,ms=/[\da-f]/i,Gh=function(e,t={}){let r=e.css.valueOf(),i=t.ignoreErrors,s,o,l,a,u,c,h,p,g,m,d=r.length,f=0,b=[],v=[];function y(){return f}function C(N){throw e.error("Unclosed "+N,f)}function k(){return v.length===0&&f>=d}function T(N){if(v.length)return v.pop();if(f>=d)return;let W=N?N.ignoreUnclosed:false;switch(s=r.charCodeAt(f),s){case Ht:case Ke:case Wt:case jt:case zt:{o=f;do o+=1,s=r.charCodeAt(o);while(s===Ke||s===Ht||s===Wt||s===jt||s===zt);m=["space",r.slice(f,o)],f=o-1;break}case Dh:case _h:case Fh:case Uh:case Wh:case Hh:case Bh:{let Y=String.fromCharCode(s);m=[Y,Y,f];break}case Nh:{if(p=b.length?b.pop()[1]:"",g=r.charCodeAt(f+1),p==="url"&&g!==Kr&&g!==ds&&g!==Ke&&g!==Ht&&g!==Wt&&g!==zt&&g!==jt){o=f;do{if(c=false,o=r.indexOf(")",o+1),o===-1)if(i||W){o=f;break}else C("bracket");for(h=o;r.charCodeAt(h-1)===Ut;)h-=1,c=!c;}while(c);m=["brackets",r.slice(f,o+1),f,o],f=o;}else o=r.indexOf(")",f+1),a=r.slice(f,o+1),o===-1||Vh.test(a)?m=["(","(",f]:(m=["brackets",a,f,o],f=o);break}case Kr:case ds:{l=s===Kr?"'":'"',o=f;do{if(c=false,o=r.indexOf(l,o+1),o===-1)if(i||W){o=f+1;break}else C("string");for(h=o;r.charCodeAt(h-1)===Ut;)h-=1,c=!c;}while(c);m=["string",r.slice(f,o+1),f,o],f=o;break}case jh:{Vt.lastIndex=f+1,Vt.test(r),Vt.lastIndex===0?o=r.length-1:o=Vt.lastIndex-2,m=["at-word",r.slice(f,o+1),f,o],f=o;break}case Ut:{for(o=f,u=true;r.charCodeAt(o+1)===Ut;)o+=1,u=!u;if(s=r.charCodeAt(o+1),u&&s!==ps&&s!==Ke&&s!==Ht&&s!==Wt&&s!==jt&&s!==zt&&(o+=1,ms.test(r.charAt(o)))){for(;ms.test(r.charAt(o+1));)o+=1;r.charCodeAt(o+1)===Ke&&(o+=1);}m=["word",r.slice(f,o+1),f,o],f=o;break}default:{s===ps&&r.charCodeAt(f+1)===zh?(o=r.indexOf("*/",f+2)+1,o===0&&(i||W?o=r.length:C("comment")),m=["comment",r.slice(f,o+1),f,o],f=o):(Gt.lastIndex=f+1,Gt.test(r),Gt.lastIndex===0?o=r.length-1:o=Gt.lastIndex-2,m=["word",r.slice(f,o+1),f,o],b.push(m),f=o);break}}return f++,m}function j(N){v.push(N);}return {back:j,endOfFile:k,nextToken:T,position:y}},Xo=Re,fr=class extends Xo{constructor(e){super(e),this.type="atrule";}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}},hi=fr;fr.default=fr;Xo.registerAtRule(fr);var Zo=Re,Jo,qo,_e=class extends Zo{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[]);}normalize(e,t,r){let i=super.normalize(e);if(t){if(r==="prepend")this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let s of i)s.raws.before=t.raws.before;}return i}removeChild(e,t){let r=this.index(e);return !t&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new Jo(new qo,this,e).stringify()}};_e.registerLazyResult=n=>{Jo=n;};_e.registerProcessor=n=>{qo=n;};var yt=_e;_e.default=_e;Zo.registerRoot(_e);var ct={comma(n){return ct.split(n,[","],true)},space(n){let e=[" ",`
|
|
52
|
-
`," "];return
|
|
53
|
-
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(
|
|
54
|
-
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(
|
|
55
|
-
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),i}return r.root}var di=pr;pr.default=pr;rf.registerParse(pr);var{isClean:fe,my:of}=gt,af=Lo,lf=Ir,uf=Re,cf=ui,hf=Go,ws=ci,ff=di,df=yt,pf={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},mf={AtRule:true,AtRuleExit:true,Comment:true,CommentExit:true,Declaration:true,DeclarationExit:true,Document:true,DocumentExit:true,Once:true,OnceExit:true,postcssPlugin:true,prepare:true,Root:true,RootExit:true,Rule:true,RuleExit:true},gf={Once:true,postcssPlugin:true,prepare:true},Ne=0;function Qe(n){return typeof n=="object"&&typeof n.then=="function"}function ea(n){let e=false,t=pf[n.type];return n.type==="decl"?e=n.prop.toLowerCase():n.type==="atrule"&&(e=n.name.toLowerCase()),e&&n.append?[t,t+"-"+e,Ne,t+"Exit",t+"Exit-"+e]:e?[t,t+"-"+e,t+"Exit",t+"Exit-"+e]:n.append?[t,Ne,t+"Exit"]:[t,t+"Exit"]}function bs(n){let e;return n.type==="document"?e=["Document",Ne,"DocumentExit"]:n.type==="root"?e=["Root",Ne,"RootExit"]:e=ea(n),{eventIndex:0,events:e,iterator:0,node:n,visitorIndex:0,visitors:[]}}function Pn(n){return n[fe]=false,n.nodes&&n.nodes.forEach(e=>Pn(e)),n}var Tn={},Be=class ta{constructor(e,t,r){this.stringified=false,this.processed=false;let i;if(typeof t=="object"&&t!==null&&(t.type==="root"||t.type==="document"))i=Pn(t);else if(t instanceof ta||t instanceof ws)i=Pn(t.root),t.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=false),r.map.prev=t.map);else {let s=ff;r.syntax&&(s=r.syntax.parse),r.parser&&(s=r.parser),s.parse&&(s=s.parse);try{i=s(t,r);}catch(o){this.processed=true,this.error=o;}i&&!i[of]&&uf.rebuild(i);}this.result=new ws(e,i,r),this.helpers={...Tn,postcss:Tn,result:this.result},this.plugins=this.processor.plugins.map(s=>typeof s=="object"&&s.prepare?{...s,...s.prepare(this.result)}:s);}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=r.postcssPlugin,e.setMessage();else if(r.postcssVersion&&process.env.NODE_ENV!=="production"){let i=r.postcssPlugin,s=r.postcssVersion,o=this.result.processor.version,l=s.split("."),a=o.split(".");(l[0]!==a[0]||parseInt(l[1])>parseInt(a[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+o+", but "+i+" uses "+s+". Perhaps this is the source of the error below.");}}catch(i){console&&console.error&&console.error(i);}return e}prepareVisitors(){this.listeners={};let e=(t,r,i)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([t,i]);};for(let t of this.plugins)if(typeof t=="object")for(let r in t){if(!mf[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!gf[r])if(typeof t[r]=="object")for(let i in t[r])i==="*"?e(t,r,t[r][i]):e(t,r+"-"+i.toLowerCase(),t[r][i]);else typeof t[r]=="function"&&e(t,r,t[r]);}this.hasListener=Object.keys(this.listeners).length>0;}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(Qe(r))try{await r;}catch(i){throw this.handleError(i)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[fe];){e[fe]=true;let t=[bs(e)];for(;t.length>0;){let r=this.visitTick(t);if(Qe(r))try{await r;}catch(i){let s=t[t.length-1].node;throw this.handleError(i,s)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let i=e.nodes.map(s=>r(s,this.helpers));await Promise.all(i);}else await r(e,this.helpers);}catch(i){throw this.handleError(i)}}}return this.processed=true,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return Qe(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=true,this.sync();let e=this.result.opts,t=lf;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let i=new af(t,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=true,this.processing)throw this.getAsyncError();for(let e of this.plugins){let t=this.runOnRoot(e);if(Qe(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[fe];)e[fe]=true,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e);}return this.result}then(e,t){return process.env.NODE_ENV!=="production"&&("from"in this.opts||hf("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,i]of e){this.result.lastPlugin=r;let s;try{s=i(t,this.helpers);}catch(o){throw this.handleError(o,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent)return true;if(Qe(s))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:i}=t;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(i.length>0&&t.visitorIndex<i.length){let[o,l]=i[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===i.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=o;try{return l(r.toProxy(),this.helpers)}catch(a){throw this.handleError(a,r)}}if(t.iterator!==0){let o=t.iterator,l;for(;l=r.nodes[r.indexes[o]];)if(r.indexes[o]+=1,!l[fe]){l[fe]=true,e.push(bs(l));return}t.iterator=0,delete r.indexes[o];}let s=t.events;for(;t.eventIndex<s.length;){let o=s[t.eventIndex];if(t.eventIndex+=1,o===Ne){r.nodes&&r.nodes.length&&(r[fe]=true,t.iterator=r.getIterator());return}else if(this.listeners[o]){t.visitors=this.listeners[o];return}}e.pop();}walkSync(e){e[fe]=true;let t=ea(e);for(let r of t)if(r===Ne)e.nodes&&e.each(i=>{i[fe]||this.walkSync(i);});else {let i=this.listeners[r];if(i&&this.visitSync(i,e.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"}};Be.registerPostcss=n=>{Tn=n;};var ra=Be;Be.default=Be;df.registerLazyResult(Be);cf.registerLazyResult(Be);var yf=Lo,wf=Ir,bf=Go,vf=di,Sf=ci,Ln=class{constructor(e,t,r){t=t.toString(),this.stringified=false,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let i,s=wf;this.result=new Sf(this._processor,i,this._opts),this.result.css=t;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let l=new yf(s,i,this._opts,t);if(l.isMap()){let[a,u]=l.generate();a&&(this.result.css=a),u&&(this.result.map=u);}else l.clearAnnotation(),this.result.css=l.css;}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return process.env.NODE_ENV!=="production"&&("from"in this._opts||bf("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}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 e,t=vf;try{e=t(this._css,this._opts);}catch(r){this.error=r;}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return "NoWorkResult"}},Cf=Ln;Ln.default=Ln;var xf=Cf,If=ra,Rf=ui,Ef=yt,ht=class{constructor(e=[]){this.version="8.4.38",this.plugins=this.normalize(e);}normalize(e){let t=[];for(let r of e)if(r.postcss===true?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)t.push(r);else if(typeof r=="function")t.push(r);else if(typeof r=="object"&&(r.parse||r.stringify)){if(process.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(r+" is not a PostCSS plugin");return t}process(e,t={}){return !this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new xf(this,e,t):new If(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}},Of=ht;ht.default=ht;Ef.registerProcessor(ht);Rf.registerProcessor(ht);var Mf=Er,Af=Ao,$f=Mr,kf=hi,Pf=Or,Tf=yt,Lf=fi;function ft(n,e){if(Array.isArray(n))return n.map(i=>ft(i));let{inputs:t,...r}=n;if(t){e=[];for(let i of t){let s={...i,__proto__:Pf.prototype};s.map&&(s.map={...s.map,__proto__:Af.prototype}),e.push(s);}}if(r.nodes&&(r.nodes=n.nodes.map(i=>ft(i,e))),r.source){let{inputId:i,...s}=r.source;r.source=s,i!=null&&(r.source.input=e[i]);}if(r.type==="root")return new Tf(r);if(r.type==="decl")return new Mf(r);if(r.type==="rule")return new Lf(r);if(r.type==="comment")return new $f(r);if(r.type==="atrule")return new kf(r);throw new Error("Unknown node type: "+n.type)}var Df=ft;ft.default=ft;var _f=oi,na=Er,Nf=ra,Bf=Re,pi=Of,Ff=Ir,Uf=Df,ia=ui,Hf=Yo,sa=Mr,oa=hi,zf=ci,Wf=Or,jf=di,Vf=Ko,aa=fi,la=yt,Gf=Rr;function $(...n){return n.length===1&&Array.isArray(n[0])&&(n=n[0]),new pi(n)}$.plugin=function(e,t){let r=false;function i(...o){console&&console.warn&&!r&&(r=true,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
56
|
-
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(
|
|
57
|
-
https://www.w3ctech.com/topic/2226`));let
|
|
49
|
+
`)&&(e=`\r
|
|
50
|
+
`),this.css+=e+"/*# sourceMappingURL="+A+" */";}applyPrevMaps(){for(let A of this.previous()){let e=this.toUrl(this.path(A.file)),t=A.root||Dr(A.file),s;this.mapOpts.sourcesContent===false?(s=new vc(A.text),s.sourcesContent&&(s.sourcesContent=null)):s=A.consumer(),this.map.applySourceMap(s,e,this.toUrl(this.path(t)));}}clearAnnotation(){if(this.mapOpts.annotation!==false)if(this.root){let A;for(let e=this.root.nodes.length-1;e>=0;e--)A=this.root.nodes[e],A.type==="comment"&&A.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(e);}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""));}generate(){if(this.clearAnnotation(),cg&&lg&&this.isMap())return this.generateMap();{let A="";return this.stringify(this.root,e=>{A+=e;}),[A]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let A=this.previous()[0].consumer();A.file=this.outputFile(),this.map=Rr.fromSourceMap(A,{ignoreInvalidMapping:true});}else this.map=new Rr({file:this.outputFile(),ignoreInvalidMapping:true}),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 Rr({file:this.outputFile(),ignoreInvalidMapping:true});let A=1,e=1,t="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""},n,i;this.stringify(this.root,(o,a,l)=>{if(this.css+=o,a&&l!=="end"&&(s.generated.line=A,s.generated.column=e-1,a.source&&a.source.start?(s.source=this.sourcePath(a),s.original.line=a.source.start.line,s.original.column=a.source.start.column-1,this.map.addMapping(s)):(s.source=t,s.original.line=1,s.original.column=0,this.map.addMapping(s))),n=o.match(/\n/g),n?(A+=n.length,i=o.lastIndexOf(`
|
|
51
|
+
`),e=o.length-i):e+=o.length,a&&l!=="start"){let c=a.parent||{raws:{}};(!(a.type==="decl"||a.type==="atrule"&&!a.nodes)||a!==c.last||c.raws.semicolon)&&(a.source&&a.source.end?(s.source=this.sourcePath(a),s.original.line=a.source.end.line,s.original.column=a.source.end.column-1,s.generated.line=A,s.generated.column=e-2,this.map.addMapping(s)):(s.source=t,s.original.line=1,s.original.column=0,s.generated.line=A,s.generated.column=e-1,this.map.addMapping(s)));}});}isAnnotation(){return this.isInline()?true:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(A=>A.annotation):true}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let A=this.mapOpts.annotation;return typeof A<"u"&&A!==true?false:this.previous().length?this.previous().some(e=>e.inline):true}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(A=>A.withContent()):true}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(A){if(this.mapOpts.absolute||A.charCodeAt(0)===60||/^\w+:\/\//.test(A))return A;let e=this.memoizedPaths.get(A);if(e)return e;let t=this.opts.to?Dr(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(t=Dr(Lc(t,this.mapOpts.annotation)));let s=Hc(t,A);return this.memoizedPaths.set(A,s),s}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(A=>{if(A.source&&A.source.input.map){let e=A.source.input.map;this.previousMaps.includes(e)||this.previousMaps.push(e);}});else {let A=new ag(this.originalCSS,this.opts);A.map&&this.previousMaps.push(A.map);}return this.previousMaps}setSourcesContent(){let A={};if(this.root)this.root.walk(e=>{if(e.source){let t=e.source.input.from;if(t&&!A[t]){A[t]=true;let s=this.usesFileUrls?this.toFileUrl(t):this.toUrl(this.path(t));this.map.setSourceContent(s,e.source.input.css);}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css);}}sourcePath(A){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(A.source.input.from):this.toUrl(this.path(A.source.input.from))}toBase64(A){return Buffer?Buffer.from(A).toString("base64"):window.btoa(unescape(encodeURIComponent(A)))}toFileUrl(A){let e=this.memoizedFileURLs.get(A);if(e)return e;if(hl){let t=hl(A).toString();return this.memoizedFileURLs.set(A,t),t}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(A){let e=this.memoizedURLs.get(A);if(e)return e;Tc==="\\"&&(A=A.replace(/\\/g,"/"));let t=encodeURI(A).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(A,t),t}},Mc=ug,hg=ls,mi=class extends hg{constructor(A){super(A),this.type="comment";}},hs=mi;mi.default=mi;var{isClean:Oc,my:Rc}=xt,Dc=cs,Kc=hs,fg=ls,Nc,Zi,ji,kc;function Pc(r){return r.map(A=>(A.nodes&&(A.nodes=Pc(A.nodes)),delete A.source,A))}function _c(r){if(r[Oc]=false,r.proxyOf.nodes)for(let A of r.proxyOf.nodes)_c(A);}var JA=class Gc extends fg{append(...A){for(let e of A){let t=this.normalize(e,this.last);for(let s of t)this.proxyOf.nodes.push(s);}return this.markDirty(),this}cleanRaws(A){if(super.cleanRaws(A),this.nodes)for(let e of this.nodes)e.cleanRaws(A);}each(A){if(!this.proxyOf.nodes)return;let e=this.getIterator(),t,s;for(;this.indexes[e]<this.proxyOf.nodes.length&&(t=this.indexes[e],s=A(this.proxyOf.nodes[t],t),s!==false);)this.indexes[e]+=1;return delete this.indexes[e],s}every(A){return this.nodes.every(A)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let A=this.lastEach;return this.indexes[A]=0,A}getProxyProcessor(){return {get(A,e){return e==="proxyOf"?A:A[e]?e==="each"||typeof e=="string"&&e.startsWith("walk")?(...t)=>A[e](...t.map(s=>typeof s=="function"?(n,i)=>s(n.toProxy(),i):s)):e==="every"||e==="some"?t=>A[e]((s,...n)=>t(s.toProxy(),...n)):e==="root"?()=>A.root().toProxy():e==="nodes"?A.nodes.map(t=>t.toProxy()):e==="first"||e==="last"?A[e].toProxy():A[e]:A[e]},set(A,e,t){return A[e]===t||(A[e]=t,(e==="name"||e==="params"||e==="selector")&&A.markDirty()),true}}}index(A){return typeof A=="number"?A:(A.proxyOf&&(A=A.proxyOf),this.proxyOf.nodes.indexOf(A))}insertAfter(A,e){let t=this.index(A),s=this.normalize(e,this.proxyOf.nodes[t]).reverse();t=this.index(A);for(let i of s)this.proxyOf.nodes.splice(t+1,0,i);let n;for(let i in this.indexes)n=this.indexes[i],t<n&&(this.indexes[i]=n+s.length);return this.markDirty(),this}insertBefore(A,e){let t=this.index(A),s=t===0?"prepend":false,n=this.normalize(e,this.proxyOf.nodes[t],s).reverse();t=this.index(A);for(let o of n)this.proxyOf.nodes.splice(t,0,o);let i;for(let o in this.indexes)i=this.indexes[o],t<=i&&(this.indexes[o]=i+n.length);return this.markDirty(),this}normalize(A,e){if(typeof A=="string")A=Pc(Nc(A).nodes);else if(typeof A>"u")A=[];else if(Array.isArray(A)){A=A.slice(0);for(let s of A)s.parent&&s.parent.removeChild(s,"ignore");}else if(A.type==="root"&&this.type!=="document"){A=A.nodes.slice(0);for(let s of A)s.parent&&s.parent.removeChild(s,"ignore");}else if(A.type)A=[A];else if(A.prop){if(typeof A.value>"u")throw new Error("Value field is missed in node creation");typeof A.value!="string"&&(A.value=String(A.value)),A=[new Dc(A)];}else if(A.selector)A=[new Zi(A)];else if(A.name)A=[new ji(A)];else if(A.text)A=[new Kc(A)];else throw new Error("Unknown node type in node creation");return A.map(s=>(s[Rc]||Gc.rebuild(s),s=s.proxyOf,s.parent&&s.parent.removeChild(s),s[Oc]&&_c(s),typeof s.raws.before>"u"&&e&&typeof e.raws.before<"u"&&(s.raws.before=e.raws.before.replace(/\S/g,"")),s.parent=this.proxyOf,s))}prepend(...A){A=A.reverse();for(let e of A){let t=this.normalize(e,this.first,"prepend").reverse();for(let s of t)this.proxyOf.nodes.unshift(s);for(let s in this.indexes)this.indexes[s]=this.indexes[s]+t.length;}return this.markDirty(),this}push(A){return A.parent=this,this.proxyOf.nodes.push(A),this}removeAll(){for(let A of this.proxyOf.nodes)A.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(A){A=this.index(A),this.proxyOf.nodes[A].parent=void 0,this.proxyOf.nodes.splice(A,1);let e;for(let t in this.indexes)e=this.indexes[t],e>=A&&(this.indexes[t]=e-1);return this.markDirty(),this}replaceValues(A,e,t){return t||(t=e,e={}),this.walkDecls(s=>{e.props&&!e.props.includes(s.prop)||e.fast&&!s.value.includes(e.fast)||(s.value=s.value.replace(A,t));}),this.markDirty(),this}some(A){return this.nodes.some(A)}walk(A){return this.each((e,t)=>{let s;try{s=A(e,t);}catch(n){throw e.addToError(n)}return s!==false&&e.walk&&(s=e.walk(A)),s})}walkAtRules(A,e){return e?A instanceof RegExp?this.walk((t,s)=>{if(t.type==="atrule"&&A.test(t.name))return e(t,s)}):this.walk((t,s)=>{if(t.type==="atrule"&&t.name===A)return e(t,s)}):(e=A,this.walk((t,s)=>{if(t.type==="atrule")return e(t,s)}))}walkComments(A){return this.walk((e,t)=>{if(e.type==="comment")return A(e,t)})}walkDecls(A,e){return e?A instanceof RegExp?this.walk((t,s)=>{if(t.type==="decl"&&A.test(t.prop))return e(t,s)}):this.walk((t,s)=>{if(t.type==="decl"&&t.prop===A)return e(t,s)}):(e=A,this.walk((t,s)=>{if(t.type==="decl")return e(t,s)}))}walkRules(A,e){return e?A instanceof RegExp?this.walk((t,s)=>{if(t.type==="rule"&&A.test(t.selector))return e(t,s)}):this.walk((t,s)=>{if(t.type==="rule"&&t.selector===A)return e(t,s)}):(e=A,this.walk((t,s)=>{if(t.type==="rule")return e(t,s)}))}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]}};JA.registerParse=r=>{Nc=r;};JA.registerRule=r=>{Zi=r;};JA.registerAtRule=r=>{ji=r;};JA.registerRoot=r=>{kc=r;};var Ce=JA;JA.default=JA;JA.rebuild=r=>{r.type==="atrule"?Object.setPrototypeOf(r,ji.prototype):r.type==="rule"?Object.setPrototypeOf(r,Zi.prototype):r.type==="decl"?Object.setPrototypeOf(r,Dc.prototype):r.type==="comment"?Object.setPrototypeOf(r,Kc.prototype):r.type==="root"&&Object.setPrototypeOf(r,kc.prototype),r[Rc]=true,r.nodes&&r.nodes.forEach(A=>{JA.rebuild(A);});};var dg=Ce,Vc,$c,Qt=class extends dg{constructor(A){super({type:"document",...A}),this.nodes||(this.nodes=[]);}toResult(A={}){return new Vc(new $c,this,A).stringify()}};Qt.registerLazyResult=r=>{Vc=r;};Qt.registerProcessor=r=>{$c=r;};var qi=Qt;Qt.default=Qt;var fl={},Wc=function(A){fl[A]||(fl[A]=true,typeof console<"u"&&console.warn&&console.warn(A));},Ci=class{constructor(A,e={}){if(this.type="warning",this.text=A,e.node&&e.node.source){let t=e.node.rangeBy(e);this.line=t.start.line,this.column=t.start.column,this.endLine=t.end.line,this.endColumn=t.end.column;}for(let t in e)this[t]=e[t];}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}},Xc=Ci;Ci.default=Ci;var pg=Xc,Qi=class{constructor(A,e,t){this.processor=A,this.messages=[],this.root=e,this.opts=t,this.css=void 0,this.map=void 0;}toString(){return this.css}warn(A,e={}){e.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(e.plugin=this.lastPlugin.postcssPlugin);let t=new pg(A,e);return this.messages.push(t),t}warnings(){return this.messages.filter(A=>A.type==="warning")}get content(){return this.css}},Ao=Qi;Qi.default=Qi;var Gn=39,dl=34,Fr=92,pl=47,br=10,ct=32,Er=12,Ir=9,xr=13,Bg=91,gg=93,wg=40,mg=41,Cg=123,Qg=125,Ug=59,yg=42,Fg=58,bg=64,Sr=/[\t\n\f\r "#'()/;[\\\]{}]/g,vr=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Eg=/.[\r\n"'(/\\]/,Bl=/[\da-f]/i,Ig=function(A,e={}){let t=A.css.valueOf(),s=e.ignoreErrors,n,i,o,a,l,c,u,h,f,p,d=t.length,B=0,m=[],w=[];function g(){return B}function C(v){throw A.error("Unclosed "+v,B)}function Q(){return w.length===0&&B>=d}function b(v){if(w.length)return w.pop();if(B>=d)return;let x=v?v.ignoreUnclosed:false;switch(n=t.charCodeAt(B),n){case br:case ct:case Ir:case xr:case Er:{i=B;do i+=1,n=t.charCodeAt(i);while(n===ct||n===br||n===Ir||n===xr||n===Er);p=["space",t.slice(B,i)],B=i-1;break}case Bg:case gg:case Cg:case Qg:case Fg:case Ug:case mg:{let J=String.fromCharCode(n);p=[J,J,B];break}case wg:{if(h=m.length?m.pop()[1]:"",f=t.charCodeAt(B+1),h==="url"&&f!==Gn&&f!==dl&&f!==ct&&f!==br&&f!==Ir&&f!==Er&&f!==xr){i=B;do{if(c=false,i=t.indexOf(")",i+1),i===-1)if(s||x){i=B;break}else C("bracket");for(u=i;t.charCodeAt(u-1)===Fr;)u-=1,c=!c;}while(c);p=["brackets",t.slice(B,i+1),B,i],B=i;}else i=t.indexOf(")",B+1),a=t.slice(B,i+1),i===-1||Eg.test(a)?p=["(","(",B]:(p=["brackets",a,B,i],B=i);break}case Gn:case dl:{o=n===Gn?"'":'"',i=B;do{if(c=false,i=t.indexOf(o,i+1),i===-1)if(s||x){i=B+1;break}else C("string");for(u=i;t.charCodeAt(u-1)===Fr;)u-=1,c=!c;}while(c);p=["string",t.slice(B,i+1),B,i],B=i;break}case bg:{Sr.lastIndex=B+1,Sr.test(t),Sr.lastIndex===0?i=t.length-1:i=Sr.lastIndex-2,p=["at-word",t.slice(B,i+1),B,i],B=i;break}case Fr:{for(i=B,l=true;t.charCodeAt(i+1)===Fr;)i+=1,l=!l;if(n=t.charCodeAt(i+1),l&&n!==pl&&n!==ct&&n!==br&&n!==Ir&&n!==xr&&n!==Er&&(i+=1,Bl.test(t.charAt(i)))){for(;Bl.test(t.charAt(i+1));)i+=1;t.charCodeAt(i+1)===ct&&(i+=1);}p=["word",t.slice(B,i+1),B,i],B=i;break}default:{n===pl&&t.charCodeAt(B+1)===yg?(i=t.indexOf("*/",B+2)+1,i===0&&(s||x?i=t.length:C("comment")),p=["comment",t.slice(B,i+1),B,i],B=i):(vr.lastIndex=B+1,vr.test(t),vr.lastIndex===0?i=t.length-1:i=vr.lastIndex-2,p=["word",t.slice(B,i+1),B,i],m.push(p),B=i);break}}return B++,p}function M(v){w.push(v);}return {back:M,endOfFile:Q,nextToken:b,position:g}},Jc=Ce,zr=class extends Jc{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)}},eo=zr;zr.default=zr;Jc.registerAtRule(zr);var Yc=Ce,zc,Zc,Pe=class extends Yc{constructor(A){super(A),this.type="root",this.nodes||(this.nodes=[]);}normalize(A,e,t){let s=super.normalize(A);if(e){if(t==="prepend")this.nodes.length>1?e.raws.before=this.nodes[1].raws.before:delete e.raws.before;else if(this.first!==e)for(let n of s)n.raws.before=e.raws.before;}return s}removeChild(A,e){let t=this.index(A);return !e&&t===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[t].raws.before),super.removeChild(A)}toResult(A={}){return new zc(new Zc,this,A).stringify()}};Pe.registerLazyResult=r=>{zc=r;};Pe.registerProcessor=r=>{Zc=r;};var St=Pe;Pe.default=Pe;Yc.registerRoot(Pe);var Ut={comma(r){return Ut.split(r,[","],true)},space(r){let A=[" ",`
|
|
52
|
+
`," "];return Ut.split(r,A)},split(r,A,e){let t=[],s="",n=false,i=0,o=false,a="",l=false;for(let c of r)l?l=false:c==="\\"?l=true:o?c===a&&(o=false):c==='"'||c==="'"?(o=true,a=c):c==="("?i+=1:c===")"?i>0&&(i-=1):i===0&&A.includes(c)&&(n=true),n?(s!==""&&t.push(s.trim()),s="",n=false):s+=c;return (e||s!=="")&&t.push(s.trim()),t}},jc=Ut;Ut.default=Ut;var qc=Ce,xg=jc,Zr=class extends qc{constructor(A){super(A),this.type="rule",this.nodes||(this.nodes=[]);}get selectors(){return xg.comma(this.selector)}set selectors(A){let e=this.selector?this.selector.match(/,\s*/):null,t=e?e[0]:","+this.raw("between","beforeOpen");this.selector=A.join(t);}},to=Zr;Zr.default=Zr;qc.registerRule(Zr);var Sg=cs,vg=Ig,Hg=hs,Lg=eo,Tg=St,gl=to,wl={empty:true,space:true};function Mg(r){for(let A=r.length-1;A>=0;A--){let e=r[A],t=e[3]||e[2];if(t)return t}}var Og=class{constructor(A){this.input=A,this.root=new Tg,this.current=this.root,this.spaces="",this.semicolon=false,this.createTokenizer(),this.root.source={input:A,start:{column:1,line:1,offset:0}};}atrule(A){let e=new Lg;e.name=A[1].slice(1),e.name===""&&this.unnamedAtrule(e,A),this.init(e,A[2]);let t,s,n,i=false,o=false,a=[],l=[];for(;!this.tokenizer.endOfFile();){if(A=this.tokenizer.nextToken(),t=A[0],t==="("||t==="["?l.push(t==="("?")":"]"):t==="{"&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),l.length===0)if(t===";"){e.source.end=this.getPosition(A[2]),e.source.end.offset++,this.semicolon=true;break}else if(t==="{"){o=true;break}else if(t==="}"){if(a.length>0){for(n=a.length-1,s=a[n];s&&s[0]==="space";)s=a[--n];s&&(e.source.end=this.getPosition(s[3]||s[2]),e.source.end.offset++);}this.end(A);break}else a.push(A);else a.push(A);if(this.tokenizer.endOfFile()){i=true;break}}e.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(e.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(e,"params",a),i&&(A=a[a.length-1],e.source.end=this.getPosition(A[3]||A[2]),e.source.end.offset++,this.spaces=e.raws.between,e.raws.between="")):(e.raws.afterName="",e.params=""),o&&(e.nodes=[],this.current=e);}checkMissedSemicolon(A){let e=this.colon(A);if(e===false)return;let t=0,s;for(let n=e-1;n>=0&&(s=A[n],!(s[0]!=="space"&&(t+=1,t===2)));n--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}colon(A){let e=0,t,s,n;for(let[i,o]of A.entries()){if(t=o,s=t[0],s==="("&&(e+=1),s===")"&&(e-=1),e===0&&s===":")if(!n)this.doubleColon(t);else {if(n[0]==="word"&&n[1]==="progid")continue;return i}n=t;}return false}comment(A){let e=new Hg;this.init(e,A[2]),e.source.end=this.getPosition(A[3]||A[2]),e.source.end.offset++;let t=A[1].slice(2,-2);if(/^\s*$/.test(t))e.text="",e.raws.left=t,e.raws.right="";else {let s=t.match(/^(\s*)([^]*\S)(\s*)$/);e.text=s[2],e.raws.left=s[1],e.raws.right=s[3];}}createTokenizer(){this.tokenizer=vg(this.input);}decl(A,e){let t=new Sg;this.init(t,A[0][2]);let s=A[A.length-1];for(s[0]===";"&&(this.semicolon=true,A.pop()),t.source.end=this.getPosition(s[3]||s[2]||Mg(A)),t.source.end.offset++;A[0][0]!=="word";)A.length===1&&this.unknownWord(A),t.raws.before+=A.shift()[1];for(t.source.start=this.getPosition(A[0][2]),t.prop="";A.length;){let l=A[0][0];if(l===":"||l==="space"||l==="comment")break;t.prop+=A.shift()[1];}t.raws.between="";let n;for(;A.length;)if(n=A.shift(),n[0]===":"){t.raws.between+=n[1];break}else n[0]==="word"&&/\w/.test(n[1])&&this.unknownWord([n]),t.raws.between+=n[1];(t.prop[0]==="_"||t.prop[0]==="*")&&(t.raws.before+=t.prop[0],t.prop=t.prop.slice(1));let i=[],o;for(;A.length&&(o=A[0][0],!(o!=="space"&&o!=="comment"));)i.push(A.shift());this.precheckMissedSemicolon(A);for(let l=A.length-1;l>=0;l--){if(n=A[l],n[1].toLowerCase()==="!important"){t.important=true;let c=this.stringFrom(A,l);c=this.spacesFromEnd(A)+c,c!==" !important"&&(t.raws.important=c);break}else if(n[1].toLowerCase()==="important"){let c=A.slice(0),u="";for(let h=l;h>0;h--){let f=c[h][0];if(u.trim().indexOf("!")===0&&f!=="space")break;u=c.pop()[1]+u;}u.trim().indexOf("!")===0&&(t.important=true,t.raws.important=u,A=c);}if(n[0]!=="space"&&n[0]!=="comment")break}A.some(l=>l[0]!=="space"&&l[0]!=="comment")&&(t.raws.between+=i.map(l=>l[1]).join(""),i=[]),this.raw(t,"value",i.concat(A),e),t.value.includes(":")&&!e&&this.checkMissedSemicolon(A);}doubleColon(A){throw this.input.error("Double colon",{offset:A[2]},{offset:A[2]+A[1].length})}emptyRule(A){let e=new gl;this.init(e,A[2]),e.selector="",e.raws.between="",this.current=e;}end(A){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=false,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(A[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(A);}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(A){if(this.spaces+=A[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&e.type==="rule"&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="");}}getPosition(A){let e=this.input.fromOffset(A);return {column:e.col,line:e.line,offset:A}}init(A,e){this.current.push(A),A.source={input:this.input,start:this.getPosition(e)},A.raws.before=this.spaces,this.spaces="",A.type!=="comment"&&(this.semicolon=false);}other(A){let e=false,t=null,s=false,n=null,i=[],o=A[1].startsWith("--"),a=[],l=A;for(;l;){if(t=l[0],a.push(l),t==="("||t==="[")n||(n=l),i.push(t==="("?")":"]");else if(o&&s&&t==="{")n||(n=l),i.push("}");else if(i.length===0)if(t===";")if(s){this.decl(a,o);return}else break;else if(t==="{"){this.rule(a);return}else if(t==="}"){this.tokenizer.back(a.pop()),e=true;break}else t===":"&&(s=true);else t===i[i.length-1]&&(i.pop(),i.length===0&&(n=null));l=this.tokenizer.nextToken();}if(this.tokenizer.endOfFile()&&(e=true),i.length>0&&this.unclosedBracket(n),e&&s){if(!o)for(;a.length&&(l=a[a.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(a.pop());this.decl(a,o);}else this.unknownWord(a);}parse(){let A;for(;!this.tokenizer.endOfFile();)switch(A=this.tokenizer.nextToken(),A[0]){case "space":this.spaces+=A[1];break;case ";":this.freeSemicolon(A);break;case "}":this.end(A);break;case "comment":this.comment(A);break;case "at-word":this.atrule(A);break;case "{":this.emptyRule(A);break;default:this.other(A);break}this.endFile();}precheckMissedSemicolon(){}raw(A,e,t,s){let n,i,o=t.length,a="",l=true,c,u;for(let h=0;h<o;h+=1)n=t[h],i=n[0],i==="space"&&h===o-1&&!s?l=false:i==="comment"?(u=t[h-1]?t[h-1][0]:"empty",c=t[h+1]?t[h+1][0]:"empty",!wl[u]&&!wl[c]?a.slice(-1)===","?l=false:a+=n[1]:l=false):a+=n[1];if(!l){let h=t.reduce((f,p)=>f+p[1],"");A.raws[e]={raw:h,value:a};}A[e]=a;}rule(A){A.pop();let e=new gl;this.init(e,A[0][2]),e.raws.between=this.spacesAndCommentsFromEnd(A),this.raw(e,"selector",A),this.current=e;}spacesAndCommentsFromEnd(A){let e,t="";for(;A.length&&(e=A[A.length-1][0],!(e!=="space"&&e!=="comment"));)t=A.pop()[1]+t;return t}spacesAndCommentsFromStart(A){let e,t="";for(;A.length&&(e=A[0][0],!(e!=="space"&&e!=="comment"));)t+=A.shift()[1];return t}spacesFromEnd(A){let e,t="";for(;A.length&&(e=A[A.length-1][0],e==="space");)t=A.pop()[1]+t;return t}stringFrom(A,e){let t="";for(let s=e;s<A.length;s++)t+=A[s][1];return A.splice(e,A.length-e),t}unclosedBlock(){let A=this.current.source.start;throw this.input.error("Unclosed block",A.line,A.column)}unclosedBracket(A){throw this.input.error("Unclosed bracket",{offset:A[2]},{offset:A[2]+1})}unexpectedClose(A){throw this.input.error("Unexpected }",{offset:A[2]},{offset:A[2]+1})}unknownWord(A){throw this.input.error("Unknown word",{offset:A[0][2]},{offset:A[0][2]+A[0][1].length})}unnamedAtrule(A,e){throw this.input.error("At-rule without name",{offset:e[2]},{offset:e[2]+e[1].length})}},Rg=Og,Dg=Ce,Kg=Rg,Ng=us;function jr(r,A){let e=new Ng(r,A),t=new Kg(e);try{t.parse();}catch(s){throw process.env.NODE_ENV!=="production"&&s.name==="CssSyntaxError"&&A&&A.from&&(/\.scss$/i.test(A.from)?s.message+=`
|
|
53
|
+
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(A.from)?s.message+=`
|
|
54
|
+
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(A.from)&&(s.message+=`
|
|
55
|
+
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),s}return t.root}var ro=jr;jr.default=jr;Dg.registerParse(jr);var{isClean:kA,my:kg}=xt,Pg=Mc,_g=as,Gg=Ce,Vg=qi,$g=Wc,ml=Ao,Wg=ro,Xg=St,Jg={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Yg={AtRule:true,AtRuleExit:true,Comment:true,CommentExit:true,Declaration:true,DeclarationExit:true,Document:true,DocumentExit:true,Once:true,OnceExit:true,postcssPlugin:true,prepare:true,Root:true,RootExit:true,Rule:true,RuleExit:true},zg={Once:true,postcssPlugin:true,prepare:true},_e=0;function ut(r){return typeof r=="object"&&typeof r.then=="function"}function Au(r){let A=false,e=Jg[r.type];return r.type==="decl"?A=r.prop.toLowerCase():r.type==="atrule"&&(A=r.name.toLowerCase()),A&&r.append?[e,e+"-"+A,_e,e+"Exit",e+"Exit-"+A]:A?[e,e+"-"+A,e+"Exit",e+"Exit-"+A]:r.append?[e,_e,e+"Exit"]:[e,e+"Exit"]}function Cl(r){let A;return r.type==="document"?A=["Document",_e,"DocumentExit"]:r.type==="root"?A=["Root",_e,"RootExit"]:A=Au(r),{eventIndex:0,events:A,iterator:0,node:r,visitorIndex:0,visitors:[]}}function Ui(r){return r[kA]=false,r.nodes&&r.nodes.forEach(A=>Ui(A)),r}var yi={},Ge=class eu{constructor(A,e,t){this.stringified=false,this.processed=false;let s;if(typeof e=="object"&&e!==null&&(e.type==="root"||e.type==="document"))s=Ui(e);else if(e instanceof eu||e instanceof ml)s=Ui(e.root),e.map&&(typeof t.map>"u"&&(t.map={}),t.map.inline||(t.map.inline=false),t.map.prev=e.map);else {let n=Wg;t.syntax&&(n=t.syntax.parse),t.parser&&(n=t.parser),n.parse&&(n=n.parse);try{s=n(e,t);}catch(i){this.processed=true,this.error=i;}s&&!s[kg]&&Gg.rebuild(s);}this.result=new ml(A,s,t),this.helpers={...yi,postcss:yi,result:this.result},this.plugins=this.processor.plugins.map(n=>typeof n=="object"&&n.prepare?{...n,...n.prepare(this.result)}:n);}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(A){return this.async().catch(A)}finally(A){return this.async().then(A,A)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(A,e){let t=this.result.lastPlugin;try{if(e&&e.addToError(A),this.error=A,A.name==="CssSyntaxError"&&!A.plugin)A.plugin=t.postcssPlugin,A.setMessage();else if(t.postcssVersion&&process.env.NODE_ENV!=="production"){let s=t.postcssPlugin,n=t.postcssVersion,i=this.result.processor.version,o=n.split("."),a=i.split(".");(o[0]!==a[0]||parseInt(o[1])>parseInt(a[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+i+", but "+s+" uses "+n+". Perhaps this is the source of the error below.");}}catch(s){console&&console.error&&console.error(s);}return A}prepareVisitors(){this.listeners={};let A=(e,t,s)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,s]);};for(let e of this.plugins)if(typeof e=="object")for(let t in e){if(!Yg[t]&&/^[A-Z]/.test(t))throw new Error(`Unknown event ${t} in ${e.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!zg[t])if(typeof e[t]=="object")for(let s in e[t])s==="*"?A(e,t,e[t][s]):A(e,t+"-"+s.toLowerCase(),e[t][s]);else typeof e[t]=="function"&&A(e,t,e[t]);}this.hasListener=Object.keys(this.listeners).length>0;}async runAsync(){this.plugin=0;for(let A=0;A<this.plugins.length;A++){let e=this.plugins[A],t=this.runOnRoot(e);if(ut(t))try{await t;}catch(s){throw this.handleError(s)}}if(this.prepareVisitors(),this.hasListener){let A=this.result.root;for(;!A[kA];){A[kA]=true;let e=[Cl(A)];for(;e.length>0;){let t=this.visitTick(e);if(ut(t))try{await t;}catch(s){let n=e[e.length-1].node;throw this.handleError(s,n)}}}if(this.listeners.OnceExit)for(let[e,t]of this.listeners.OnceExit){this.result.lastPlugin=e;try{if(A.type==="document"){let s=A.nodes.map(n=>t(n,this.helpers));await Promise.all(s);}else await t(A,this.helpers);}catch(s){throw this.handleError(s)}}}return this.processed=true,this.stringify()}runOnRoot(A){this.result.lastPlugin=A;try{if(typeof A=="object"&&A.Once){if(this.result.root.type==="document"){let e=this.result.root.nodes.map(t=>A.Once(t,this.helpers));return ut(e[0])?Promise.all(e):e}return A.Once(this.result.root,this.helpers)}else if(typeof A=="function")return A(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=true,this.sync();let A=this.result.opts,e=_g;A.syntax&&(e=A.syntax.stringify),A.stringifier&&(e=A.stringifier),e.stringify&&(e=e.stringify);let s=new Pg(e,this.result.root,this.result.opts).generate();return this.result.css=s[0],this.result.map=s[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=true,this.processing)throw this.getAsyncError();for(let A of this.plugins){let e=this.runOnRoot(A);if(ut(e))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let A=this.result.root;for(;!A[kA];)A[kA]=true,this.walkSync(A);if(this.listeners.OnceExit)if(A.type==="document")for(let e of A.nodes)this.visitSync(this.listeners.OnceExit,e);else this.visitSync(this.listeners.OnceExit,A);}return this.result}then(A,e){return process.env.NODE_ENV!=="production"&&("from"in this.opts||$g("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(A,e)}toString(){return this.css}visitSync(A,e){for(let[t,s]of A){this.result.lastPlugin=t;let n;try{n=s(e,this.helpers);}catch(i){throw this.handleError(i,e.proxyOf)}if(e.type!=="root"&&e.type!=="document"&&!e.parent)return true;if(ut(n))throw this.getAsyncError()}}visitTick(A){let e=A[A.length-1],{node:t,visitors:s}=e;if(t.type!=="root"&&t.type!=="document"&&!t.parent){A.pop();return}if(s.length>0&&e.visitorIndex<s.length){let[i,o]=s[e.visitorIndex];e.visitorIndex+=1,e.visitorIndex===s.length&&(e.visitors=[],e.visitorIndex=0),this.result.lastPlugin=i;try{return o(t.toProxy(),this.helpers)}catch(a){throw this.handleError(a,t)}}if(e.iterator!==0){let i=e.iterator,o;for(;o=t.nodes[t.indexes[i]];)if(t.indexes[i]+=1,!o[kA]){o[kA]=true,A.push(Cl(o));return}e.iterator=0,delete t.indexes[i];}let n=e.events;for(;e.eventIndex<n.length;){let i=n[e.eventIndex];if(e.eventIndex+=1,i===_e){t.nodes&&t.nodes.length&&(t[kA]=true,e.iterator=t.getIterator());return}else if(this.listeners[i]){e.visitors=this.listeners[i];return}}A.pop();}walkSync(A){A[kA]=true;let e=Au(A);for(let t of e)if(t===_e)A.nodes&&A.each(s=>{s[kA]||this.walkSync(s);});else {let s=this.listeners[t];if(s&&this.visitSync(s,A.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"}};Ge.registerPostcss=r=>{yi=r;};var tu=Ge;Ge.default=Ge;Xg.registerLazyResult(Ge);Vg.registerLazyResult(Ge);var Zg=Mc,jg=as,qg=Wc,Aw=ro,ew=Ao,Fi=class{constructor(A,e,t){e=e.toString(),this.stringified=false,this._processor=A,this._css=e,this._opts=t,this._map=void 0;let s,n=jg;this.result=new ew(this._processor,s,this._opts),this.result.css=e;let i=this;Object.defineProperty(this.result,"root",{get(){return i.root}});let o=new Zg(n,s,this._opts,e);if(o.isMap()){let[a,l]=o.generate();a&&(this.result.css=a),l&&(this.result.map=l);}else o.clearAnnotation(),this.result.css=o.css;}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(A){return this.async().catch(A)}finally(A){return this.async().then(A,A)}sync(){if(this.error)throw this.error;return this.result}then(A,e){return process.env.NODE_ENV!=="production"&&("from"in this._opts||qg("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(A,e)}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 A,e=Aw;try{A=e(this._css,this._opts);}catch(t){this.error=t;}if(this.error)throw this.error;return this._root=A,A}get[Symbol.toStringTag](){return "NoWorkResult"}},tw=Fi;Fi.default=Fi;var rw=tw,sw=tu,nw=qi,iw=St,yt=class{constructor(A=[]){this.version="8.4.38",this.plugins=this.normalize(A);}normalize(A){let e=[];for(let t of A)if(t.postcss===true?t=t():t.postcss&&(t=t.postcss),typeof t=="object"&&Array.isArray(t.plugins))e=e.concat(t.plugins);else if(typeof t=="object"&&t.postcssPlugin)e.push(t);else if(typeof t=="function")e.push(t);else if(typeof t=="object"&&(t.parse||t.stringify)){if(process.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(t+" is not a PostCSS plugin");return e}process(A,e={}){return !this.plugins.length&&!e.parser&&!e.stringifier&&!e.syntax?new rw(this,A,e):new sw(this,A,e)}use(A){return this.plugins=this.plugins.concat(this.normalize([A])),this}},ow=yt;yt.default=yt;iw.registerProcessor(yt);nw.registerProcessor(yt);var aw=cs,lw=Sc,cw=hs,uw=eo,hw=us,fw=St,dw=to;function Ft(r,A){if(Array.isArray(r))return r.map(s=>Ft(s));let{inputs:e,...t}=r;if(e){A=[];for(let s of e){let n={...s,__proto__:hw.prototype};n.map&&(n.map={...n.map,__proto__:lw.prototype}),A.push(n);}}if(t.nodes&&(t.nodes=r.nodes.map(s=>Ft(s,A))),t.source){let{inputId:s,...n}=t.source;t.source=n,s!=null&&(t.source.input=A[s]);}if(t.type==="root")return new fw(t);if(t.type==="decl")return new aw(t);if(t.type==="rule")return new dw(t);if(t.type==="comment")return new cw(t);if(t.type==="atrule")return new uw(t);throw new Error("Unknown node type: "+r.type)}var pw=Ft;Ft.default=Ft;var Bw=zi,ru=cs,gw=tu,ww=Ce,so=ow,mw=as,Cw=pw,su=qi,Qw=Xc,nu=hs,iu=eo,Uw=Ao,yw=us,Fw=ro,bw=jc,ou=to,au=St,Ew=ls;function P(...r){return r.length===1&&Array.isArray(r[0])&&(r=r[0]),new so(r)}P.plugin=function(A,e){let t=false;function s(...i){console&&console.warn&&!t&&(t=true,console.warn(A+`: postcss.plugin was deprecated. Migration guide:
|
|
56
|
+
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(A+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
|
|
57
|
+
https://www.w3ctech.com/topic/2226`));let o=e(...i);return o.postcssPlugin=A,o.postcssVersion=new so().version,o}let n;return Object.defineProperty(s,"postcss",{get(){return n||(n=s()),n}}),s.process=function(i,o,a){return P([s(a)]).process(i,o)},s};P.stringify=mw;P.parse=Fw;P.fromJSON=Cw;P.list=bw;P.comment=r=>new nu(r);P.atRule=r=>new iu(r);P.decl=r=>new ru(r);P.rule=r=>new ou(r);P.root=r=>new au(r);P.document=r=>new su(r);P.CssSyntaxError=Bw;P.Declaration=ru;P.Container=ww;P.Processor=so;P.Document=su;P.Comment=nu;P.Warning=Qw;P.AtRule=iu;P.Result=Uw;P.Input=yw;P.Rule=ou;P.Root=au;P.Node=Ew;gw.registerPostcss(P);var Iw=P;P.default=P;var z=DB(Iw);z.stringify;z.fromJSON;z.plugin;z.parse;z.list;z.document;z.comment;z.atRule;z.rule;z.decl;z.root;z.CssSyntaxError;z.Declaration;z.Container;z.Processor;z.Document;z.Comment;z.Warning;z.AtRule;z.Result;z.Input;z.Rule;z.Root;z.Node;var bi=class r{constructor(...A){EA(this,"parentElement",null),EA(this,"parentNode",null),EA(this,"ownerDocument"),EA(this,"firstChild",null),EA(this,"lastChild",null),EA(this,"previousSibling",null),EA(this,"nextSibling",null),EA(this,"ELEMENT_NODE",1),EA(this,"TEXT_NODE",3),EA(this,"nodeType"),EA(this,"nodeName"),EA(this,"RRNodeType");}get childNodes(){let A=[],e=this.firstChild;for(;e;)A.push(e),e=e.nextSibling;return A}contains(A){if(A instanceof r){if(A.ownerDocument!==this.ownerDocument)return false;if(A===this)return true}else return false;for(;A.parentNode;){if(A.parentNode===this)return true;A=A.parentNode;}return false}appendChild(A){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")}insertBefore(A,e){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")}removeChild(A){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")}toString(){return "RRNode"}},Ql={Node:["childNodes","parentNode","parentElement","textContent","ownerDocument"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Ul={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Hr={},xw=()=>!!globalThis.Zone;function no(r){if(Hr[r])return Hr[r];let A=globalThis[r],e=A.prototype,t=r in Ql?Ql[r]:void 0,s=!!(t&&t.every(o=>{var a,l;return !!((l=(a=Object.getOwnPropertyDescriptor(e,o))==null?void 0:a.get)!=null&&l.toString().includes("[native code]"))})),n=r in Ul?Ul[r]:void 0,i=!!(n&&n.every(o=>{var a;return typeof e[o]=="function"&&((a=e[o])==null?void 0:a.toString().includes("[native code]"))}));if(s&&i&&!xw())return Hr[r]=A.prototype,A.prototype;try{let o=document.createElement("iframe");document.body.appendChild(o);let a=o.contentWindow;if(!a)return A.prototype;let l=a[r].prototype;return document.body.removeChild(o),l?Hr[r]=l:e}catch{return e}}var Vn={};function zA(r,A,e){var t;let s=`${r}.${String(e)}`;if(Vn[s])return Vn[s].call(A);let n=no(r),i=(t=Object.getOwnPropertyDescriptor(n,e))==null?void 0:t.get;return i?(Vn[s]=i,i.call(A)):A[e]}var $n={};function lu(r,A,e){let t=`${r}.${String(e)}`;if($n[t])return $n[t].bind(A);let n=no(r)[e];return typeof n!="function"?A[e]:($n[t]=n,n.bind(A))}function Sw(r){return zA("Node",r,"ownerDocument")}function vw(r){return zA("Node",r,"childNodes")}function Hw(r){return zA("Node",r,"parentNode")}function Lw(r){return zA("Node",r,"parentElement")}function Tw(r){return zA("Node",r,"textContent")}function Mw(r,A){return lu("Node",r,"contains")(A)}function Ow(r){return lu("Node",r,"getRootNode")()}function Rw(r){return !r||!("host"in r)?null:zA("ShadowRoot",r,"host")}function Dw(r){return r.styleSheets}function Kw(r){return !r||!("shadowRoot"in r)?null:zA("Element",r,"shadowRoot")}function Nw(r,A){return zA("Element",r,"querySelector")(A)}function kw(r,A){return zA("Element",r,"querySelectorAll")(A)}function cu(){return no("MutationObserver").constructor}function Qe(r,A,e){try{if(!(A in r))return ()=>{};let t=r[A],s=e(t);return typeof s=="function"&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:t}})),r[A]=s,()=>{r[A]=t;}}catch{return ()=>{}}}var H={ownerDocument:Sw,childNodes:vw,parentNode:Hw,parentElement:Lw,textContent:Tw,contains:Mw,getRootNode:Ow,host:Rw,styleSheets:Dw,shadowRoot:Kw,querySelector:Nw,querySelectorAll:kw,mutationObserver:cu,patch:Qe};function pA(r,A,e=document){let t={capture:true,passive:true};return e.addEventListener(r,A,t),()=>e.removeEventListener(r,A,t)}var Te=`Please stop import mirror directly. Instead of that,\r
|
|
58
58
|
now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
|
|
59
|
-
or you can use record.mirror to access the mirror instance during recording.`,Cs={map:{},getId(){return console.error(Me),-1},getNode(){return console.error(Me),null},removeNodeFromMap(){console.error(Me);},has(){return console.error(Me),false},reset(){console.error(Me);}};typeof window<"u"&&window.Proxy&&window.Reflect&&(Cs=new Proxy(Cs,{get(n,e,t){return e==="map"&&console.error(Me),Reflect.get(n,e,t)}}));function dt(n,e,t={}){let r=null,i=0;return function(...s){let o=Date.now();!i&&t.leading===false&&(i=o);let l=e-(o-i),a=this;l<=0||l>e?(r&&(clearTimeout(r),r=null),i=o,n.apply(a,s)):!r&&t.trailing!==false&&(r=setTimeout(()=>{i=t.leading===false?0:Date.now(),r=null,n.apply(a,s);},l));}}function Ar(n,e,t,r,i=window){let s=i.Object.getOwnPropertyDescriptor(n,e);return i.Object.defineProperty(n,e,r?t:{set(o){setTimeout(()=>{t.set.call(this,o);},0),s&&s.set&&s.set.call(this,o);}}),()=>Ar(n,e,s||{},true)}var mr=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(mr=()=>new Date().getTime());function ha(n){var e,t,r,i;let s=n.document;return {left:s.scrollingElement?s.scrollingElement.scrollLeft:n.pageXOffset!==void 0?n.pageXOffset:s.documentElement.scrollLeft||s?.body&&((e=x.parentElement(s.body))==null?void 0:e.scrollLeft)||((t=s?.body)==null?void 0:t.scrollLeft)||0,top:s.scrollingElement?s.scrollingElement.scrollTop:n.pageYOffset!==void 0?n.pageYOffset:s?.documentElement.scrollTop||s?.body&&((r=x.parentElement(s.body))==null?void 0:r.scrollTop)||((i=s?.body)==null?void 0:i.scrollTop)||0}}function fa(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function da(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function pa(n){return n?n.nodeType===n.ELEMENT_NODE?n:x.parentElement(n):null}function q(n,e,t,r){if(!n)return false;let i=pa(n);if(!i)return false;try{if(typeof e=="string"){if(i.classList.contains(e)||r&&i.closest("."+e)!==null)return !0}else if(or(i,e,r))return !0}catch{}return !!(t&&(i.matches(t)||r&&i.closest(t)!==null))}function ad(n,e){return e.getId(n)!==-1}function tn(n,e,t){return n.tagName==="TITLE"&&t.headTitleMutations?true:e.getId(n)===it}function ma(n,e){if(tt(n))return false;let t=e.getId(n);if(!e.has(t))return true;let r=x.parentNode(n);return r&&r.nodeType===n.DOCUMENT_NODE?false:r?ma(r,e):true}function _n(n){return !!n.changedTouches}function ld(n=window){"NodeList"in n&&!n.NodeList.prototype.forEach&&(n.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in n&&!n.DOMTokenList.prototype.forEach&&(n.DOMTokenList.prototype.forEach=Array.prototype.forEach);}function ga(n,e){return !!(n.nodeName==="IFRAME"&&e.getMeta(n))}function ya(n,e){return !!(n.nodeName==="LINK"&&n.nodeType===n.ELEMENT_NODE&&n.getAttribute&&n.getAttribute("rel")==="stylesheet"&&e.getMeta(n))}function Nn(n){return n?n instanceof Dn&&"shadowRoot"in n?!!n.shadowRoot:!!x.shadowRoot(n):false}var Bn=class{constructor(){w(this,"id",1),w(this,"styleIDMap",new WeakMap),w(this,"idStyleMap",new Map);}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let r;return t===void 0?r=this.id++:r=t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1;}generateId(){return this.id++}};function wa(n){var e;let t=null;return "getRootNode"in n&&((e=x.getRootNode(n))==null?void 0:e.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&x.host(x.getRootNode(n))&&(t=x.host(x.getRootNode(n))),t}function ud(n){let e=n,t;for(;t=wa(e);)e=t;return e}function cd(n){let e=x.ownerDocument(n);if(!e)return false;let t=ud(n);return x.contains(e,t)}function ba(n){let e=x.ownerDocument(n);return e?x.contains(e,n)||cd(n):false}var E=(n=>(n[n.DomContentLoaded=0]="DomContentLoaded",n[n.Load=1]="Load",n[n.FullSnapshot=2]="FullSnapshot",n[n.IncrementalSnapshot=3]="IncrementalSnapshot",n[n.Meta=4]="Meta",n[n.Custom=5]="Custom",n[n.Plugin=6]="Plugin",n))(E||{}),I=(n=>(n[n.Mutation=0]="Mutation",n[n.MouseMove=1]="MouseMove",n[n.MouseInteraction=2]="MouseInteraction",n[n.Scroll=3]="Scroll",n[n.ViewportResize=4]="ViewportResize",n[n.Input=5]="Input",n[n.TouchMove=6]="TouchMove",n[n.MediaInteraction=7]="MediaInteraction",n[n.StyleSheetRule=8]="StyleSheetRule",n[n.CanvasMutation=9]="CanvasMutation",n[n.Font=10]="Font",n[n.Log=11]="Log",n[n.Drag=12]="Drag",n[n.StyleDeclaration=13]="StyleDeclaration",n[n.Selection=14]="Selection",n[n.AdoptedStyleSheet=15]="AdoptedStyleSheet",n[n.CustomElement=16]="CustomElement",n))(I||{}),K=(n=>(n[n.MouseUp=0]="MouseUp",n[n.MouseDown=1]="MouseDown",n[n.Click=2]="Click",n[n.ContextMenu=3]="ContextMenu",n[n.DblClick=4]="DblClick",n[n.Focus=5]="Focus",n[n.Blur=6]="Blur",n[n.TouchStart=7]="TouchStart",n[n.TouchMove_Departed=8]="TouchMove_Departed",n[n.TouchEnd=9]="TouchEnd",n[n.TouchCancel=10]="TouchCancel",n))(K||{}),de=(n=>(n[n.Mouse=0]="Mouse",n[n.Pen=1]="Pen",n[n.Touch=2]="Touch",n))(de||{}),Fe=(n=>(n[n["2D"]=0]="2D",n[n.WebGL=1]="WebGL",n[n.WebGL2=2]="WebGL2",n))(Fe||{}),Ae=(n=>(n[n.Play=0]="Play",n[n.Pause=1]="Pause",n[n.Seeked=2]="Seeked",n[n.VolumeChange=3]="VolumeChange",n[n.RateChange=4]="RateChange",n))(Ae||{}),va=(n=>(n[n.Document=0]="Document",n[n.DocumentType=1]="DocumentType",n[n.Element=2]="Element",n[n.Text=3]="Text",n[n.CDATA=4]="CDATA",n[n.Comment=5]="Comment",n))(va||{});function xs(n){return "__ln"in n}var Fn=class{constructor(){w(this,"length",0),w(this,"head",null),w(this,"tail",null);}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let r=0;r<e;r++)t=t?.next||null;return t}addNode(e){let t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&xs(e.previousSibling)){let r=e.previousSibling.__ln.next;t.next=r,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,r&&(r.previous=t);}else if(e.nextSibling&&xs(e.nextSibling)&&e.nextSibling.__ln.previous){let r=e.nextSibling.__ln.previous;t.previous=r,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,r&&(r.next=t);}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;t.next===null&&(this.tail=t),this.length++;}removeNode(e){let t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--);}},Is=(n,e)=>`${n}@${e}`,Un=class{constructor(){w(this,"frozen",false),w(this,"locked",false),w(this,"texts",[]),w(this,"attributes",[]),w(this,"attributeMap",new WeakMap),w(this,"removes",[]),w(this,"mapRemoves",[]),w(this,"movedMap",{}),w(this,"addedSet",new Set),w(this,"movedSet",new Set),w(this,"droppedSet",new Set),w(this,"removesSubTreeCache",new Set),w(this,"mutationCb"),w(this,"blockClass"),w(this,"blockSelector"),w(this,"maskTextClass"),w(this,"maskTextSelector"),w(this,"inlineStylesheet"),w(this,"maskInputOptions"),w(this,"maskTextFn"),w(this,"maskInputFn"),w(this,"keepIframeSrcFn"),w(this,"recordCanvas"),w(this,"inlineImages"),w(this,"slimDOMOptions"),w(this,"dataURLOptions"),w(this,"doc"),w(this,"mirror"),w(this,"iframeManager"),w(this,"stylesheetManager"),w(this,"shadowDomManager"),w(this,"canvasManager"),w(this,"processedNodeManager"),w(this,"unattachedDoc"),w(this,"processMutations",e=>{e.forEach(this.processMutation),this.emit();}),w(this,"emit",()=>{if(this.frozen||this.locked)return;let e=[],t=new Set,r=new Fn,i=a=>{let u=a,c=it;for(;c===it;)u=u&&u.nextSibling,c=u&&this.mirror.getId(u);return c},s=a=>{let u=x.parentNode(a);if(!u||!ba(a))return;let c=false;if(a.nodeType===Node.TEXT_NODE){let m=u.tagName;if(m==="TEXTAREA")return;m==="STYLE"&&this.addedSet.has(u)&&(c=true);}let h=tt(u)?this.mirror.getId(wa(a)):this.mirror.getId(u),p=i(a);if(h===-1||p===-1)return r.addNode(a);let g=ke(a,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,skipChild:true,newlyAddedElement:true,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:m=>{ga(m,this.mirror)&&this.iframeManager.addIframe(m),ya(m,this.mirror)&&this.stylesheetManager.trackLinkElement(m),Nn(a)&&this.shadowDomManager.addShadowRoot(x.shadowRoot(a),this.doc);},onIframeLoad:(m,d)=>{this.iframeManager.attachIframe(m,d),this.shadowDomManager.observeAttachShadow(m);},onStylesheetLoad:(m,d)=>{this.stylesheetManager.attachLinkElement(m,d);},cssCaptured:c});g&&(e.push({parentId:h,nextId:p,node:g}),t.add(g.id));};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let a of this.movedSet)Rs(this.removesSubTreeCache,a,this.mirror)&&!this.movedSet.has(x.parentNode(a))||s(a);for(let a of this.addedSet)!Es(this.droppedSet,a)&&!Rs(this.removesSubTreeCache,a,this.mirror)||Es(this.movedSet,a)?s(a):this.droppedSet.add(a);let o=null;for(;r.length;){let a=null;if(o){let u=this.mirror.getId(x.parentNode(o.value)),c=i(o.value);u!==-1&&c!==-1&&(a=o);}if(!a){let u=r.tail;for(;u;){let c=u;if(u=u.previous,c){let h=this.mirror.getId(x.parentNode(c.value));if(i(c.value)===-1)continue;if(h!==-1){a=c;break}else {let g=c.value,m=x.parentNode(g);if(m&&m.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let d=x.host(m);if(this.mirror.getId(d)!==-1){a=c;break}}}}}}if(!a){for(;r.head;)r.removeNode(r.head.value);break}o=a.previous,r.removeNode(a.value),s(a.value);}let l={texts:this.texts.map(a=>{let u=a.node,c=x.parentNode(u);return c&&c.tagName==="TEXTAREA"&&this.genTextAreaValueMutation(c),{id:this.mirror.getId(u),value:a.value}}).filter(a=>!t.has(a.id)).filter(a=>this.mirror.has(a.id)),attributes:this.attributes.map(a=>{let{attributes:u}=a;if(typeof u.style=="string"){let c=JSON.stringify(a.styleDiff),h=JSON.stringify(a._unchangedStyles);c.length<u.style.length&&(c+h).split("var(").length===u.style.split("var(").length&&(u.style=a.styleDiff);}return {id:this.mirror.getId(a.node),attributes:u}}).filter(a=>!t.has(a.id)).filter(a=>this.mirror.has(a.id)),removes:this.removes,adds:e};!l.texts.length&&!l.attributes.length&&!l.removes.length&&!l.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(l));}),w(this,"genTextAreaValueMutation",e=>{let t=this.attributeMap.get(e);t||(t={node:e,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(t),this.attributeMap.set(e,t));let r=Array.from(x.childNodes(e),i=>x.textContent(i)||"").join("");t.attributes.value=nr({element:e,maskInputOptions:this.maskInputOptions,tagName:e.tagName,type:ir(e),value:r,maskInputFn:this.maskInputFn});}),w(this,"processMutation",e=>{if(!tn(e.target,this.mirror,this.slimDOMOptions))switch(e.type){case "characterData":{let t=x.textContent(e.target);!q(e.target,this.blockClass,this.blockSelector,false)&&t!==e.oldValue&&this.texts.push({value:Us(e.target,this.maskTextClass,this.maskTextSelector,true)&&t?this.maskTextFn?this.maskTextFn(t,pa(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case "attributes":{let t=e.target,r=e.attributeName,i=e.target.getAttribute(r);if(r==="value"){let o=ir(t);i=nr({element:t,maskInputOptions:this.maskInputOptions,tagName:t.tagName,type:o,value:i,maskInputFn:this.maskInputFn});}if(q(e.target,this.blockClass,this.blockSelector,false)||i===e.oldValue)return;let s=this.attributeMap.get(e.target);if(t.tagName==="IFRAME"&&r==="src"&&!this.keepIframeSrcFn(i))if(!t.contentDocument)r="rr_src";else return;if(s||(s={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(s),this.attributeMap.set(e.target,s)),r==="type"&&t.tagName==="INPUT"&&(e.oldValue||"").toLowerCase()==="password"&&t.setAttribute("data-rr-is-password","true"),!Fs(t.tagName,r))if(s.attributes[r]=Bs(this.doc,xe(t.tagName),xe(r),i),r==="style"){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument();}catch{this.unattachedDoc=this.doc;}let o=this.unattachedDoc.createElement("span");e.oldValue&&o.setAttribute("style",e.oldValue);for(let l of Array.from(t.style)){let a=t.style.getPropertyValue(l),u=t.style.getPropertyPriority(l);a!==o.style.getPropertyValue(l)||u!==o.style.getPropertyPriority(l)?u===""?s.styleDiff[l]=a:s.styleDiff[l]=[a,u]:s._unchangedStyles[l]=[a,u];}for(let l of Array.from(o.style))t.style.getPropertyValue(l)===""&&(s.styleDiff[l]=false);}else r==="open"&&t.tagName==="DIALOG"&&(t.matches("dialog:modal")?s.attributes.rr_open_mode="modal":s.attributes.rr_open_mode="non-modal");break}case "childList":{if(q(e.target,this.blockClass,this.blockSelector,true))return;if(e.target.tagName==="TEXTAREA"){this.genTextAreaValueMutation(e.target);return}e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let r=this.mirror.getId(t),i=tt(e.target)?this.mirror.getId(x.host(e.target)):this.mirror.getId(e.target);q(e.target,this.blockClass,this.blockSelector,false)||tn(t,this.mirror,this.slimDOMOptions)||!ad(t,this.mirror)||(this.addedSet.has(t)?(Hn(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&r===-1||ma(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[Is(r,i)]?Hn(this.movedSet,t):(this.removes.push({parentId:i,id:r,isShadow:tt(e.target)&&rt(e.target)?true:void 0}),hd(t,this.removesSubTreeCache))),this.mapRemoves.push(t));});break}}}),w(this,"genAdds",(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(tn(e,this.mirror,this.slimDOMOptions))return;this.movedSet.add(e);let r=null;t&&this.mirror.hasNode(t)&&(r=this.mirror.getId(t)),r&&r!==-1&&(this.movedMap[Is(this.mirror.getId(e),r)]=true);}else this.addedSet.add(e),this.droppedSet.delete(e);q(e,this.blockClass,this.blockSelector,false)||(x.childNodes(e).forEach(r=>this.genAdds(r)),Nn(e)&&x.childNodes(x.shadowRoot(e)).forEach(r=>{this.processedNodeManager.add(r,this),this.genAdds(r,e);}));}});}init(e){["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(t=>{this[t]=e[t];});}freeze(){this.frozen=true,this.canvasManager.freeze();}unfreeze(){this.frozen=false,this.canvasManager.unfreeze(),this.emit();}isFrozen(){return this.frozen}lock(){this.locked=true,this.canvasManager.lock();}unlock(){this.locked=false,this.canvasManager.unlock(),this.emit();}reset(){this.shadowDomManager.reset(),this.canvasManager.reset();}};function Hn(n,e){n.delete(e),x.childNodes(e).forEach(t=>Hn(n,t));}function hd(n,e){let t=[n];for(;t.length;){let r=t.pop();e.has(r)||(e.add(r),x.childNodes(r).forEach(i=>t.push(i)));}}function Rs(n,e,t){return n.size===0?false:fd(n,e)}function fd(n,e,t){let r=x.parentNode(e);return r?n.has(r):false}function Es(n,e){return n.size===0?false:Sa(n,e)}function Sa(n,e){let t=x.parentNode(e);return t?n.has(t)?true:Sa(n,t):false}var nt;function dd(n){nt=n;}function pd(){nt=void 0;}var R=n=>nt?(...t)=>{try{return n(...t)}catch(r){if(nt&&nt(r)===true)return;throw r}}:n,Ce=[];function wt(n){try{if("composedPath"in n){let e=n.composedPath();if(e.length)return e[0]}else if("path"in n&&n.path.length)return n.path[0]}catch{}return n&&n.target}function Ca(n,e){let t=new Un;Ce.push(t),t.init(n);let r=new(ca())(R(t.processMutations.bind(t)));return r.observe(e,{attributes:true,attributeOldValue:true,characterData:true,characterDataOldValue:true,childList:true,subtree:true}),r}function md({mousemoveCb:n,sampling:e,doc:t,mirror:r}){if(e.mousemove===false)return ()=>{};let i=typeof e.mousemove=="number"?e.mousemove:50,s=typeof e.mousemoveCallback=="number"?e.mousemoveCallback:500,o=[],l,a=dt(R(h=>{let p=Date.now()-l;n(o.map(g=>(g.timeOffset-=p,g)),h),o=[],l=null;}),s),u=R(dt(R(h=>{let p=wt(h),{clientX:g,clientY:m}=_n(h)?h.changedTouches[0]:h;l||(l=mr()),o.push({x:g,y:m,id:r.getId(p),timeOffset:mr()-l}),a(typeof DragEvent<"u"&&h instanceof DragEvent?I.Drag:h instanceof MouseEvent?I.MouseMove:I.TouchMove);}),i,{trailing:!1})),c=[J("mousemove",u,t),J("touchmove",u,t),J("drag",u,t)];return R(()=>{c.forEach(h=>h());})}function gd({mouseInteractionCb:n,doc:e,mirror:t,blockClass:r,blockSelector:i,sampling:s}){if(s.mouseInteraction===false)return ()=>{};let o=s.mouseInteraction===true||s.mouseInteraction===void 0?{}:s.mouseInteraction,l=[],a=null,u=c=>h=>{let p=wt(h);if(q(p,r,i,true))return;let g=null,m=c;if("pointerType"in h){switch(h.pointerType){case "mouse":g=de.Mouse;break;case "touch":g=de.Touch;break;case "pen":g=de.Pen;break}g===de.Touch?K[c]===K.MouseDown?m="TouchStart":K[c]===K.MouseUp&&(m="TouchEnd"):de.Pen;}else _n(h)&&(g=de.Touch);g!==null?(a=g,(m.startsWith("Touch")&&g===de.Touch||m.startsWith("Mouse")&&g===de.Mouse)&&(g=null)):K[c]===K.Click&&(g=a,a=null);let d=_n(h)?h.changedTouches[0]:h;if(!d)return;let f=t.getId(p),{clientX:b,clientY:v}=d;R(n)({type:K[m],id:f,x:b,y:v,...g!==null&&{pointerType:g}});};return Object.keys(K).filter(c=>Number.isNaN(Number(c))&&!c.endsWith("_Departed")&&o[c]!==false).forEach(c=>{let h=xe(c),p=u(c);if(window.PointerEvent)switch(K[c]){case K.MouseDown:case K.MouseUp:h=h.replace("mouse","pointer");break;case K.TouchStart:case K.TouchEnd:return}l.push(J(h,p,e));}),R(()=>{l.forEach(c=>c());})}function xa({scrollCb:n,doc:e,mirror:t,blockClass:r,blockSelector:i,sampling:s}){let o=R(dt(R(l=>{let a=wt(l);if(!a||q(a,r,i,!0))return;let u=t.getId(a);if(a===e&&e.defaultView){let c=ha(e.defaultView);n({id:u,x:c.left,y:c.top});}else n({id:u,x:a.scrollLeft,y:a.scrollTop});}),s.scroll||100));return J("scroll",o,e)}function yd({viewportResizeCb:n},{win:e}){let t=-1,r=-1,i=R(dt(R(()=>{let s=fa(),o=da();(t!==s||r!==o)&&(n({width:Number(o),height:Number(s)}),t=s,r=o);}),200));return J("resize",i,e)}var wd=["INPUT","TEXTAREA","SELECT"],Os=new WeakMap;function bd({inputCb:n,doc:e,mirror:t,blockClass:r,blockSelector:i,ignoreClass:s,ignoreSelector:o,maskInputOptions:l,maskInputFn:a,sampling:u,userTriggeredOnInput:c}){function h(v){let y=wt(v),C=v.isTrusted,k=y&&y.tagName;if(y&&k==="OPTION"&&(y=x.parentElement(y)),!y||!k||wd.indexOf(k)<0||q(y,r,i,true)||y.classList.contains(s)||o&&y.matches(o))return;let T=y.value,j=false,N=ir(y)||"";N==="radio"||N==="checkbox"?j=y.checked:(l[k.toLowerCase()]||l[N])&&(T=nr({element:y,maskInputOptions:l,tagName:k,type:N,value:T,maskInputFn:a})),p(y,c?{text:T,isChecked:j,userTriggered:C}:{text:T,isChecked:j});let W=y.name;N==="radio"&&W&&j&&e.querySelectorAll(`input[type="radio"][name="${W}"]`).forEach(Y=>{if(Y!==y){let te=Y.value;p(Y,c?{text:te,isChecked:!j,userTriggered:false}:{text:te,isChecked:!j});}});}function p(v,y){let C=Os.get(v);if(!C||C.text!==y.text||C.isChecked!==y.isChecked){Os.set(v,y);let k=t.getId(v);R(n)({...y,id:k});}}let m=(u.input==="last"?["change"]:["input","change"]).map(v=>J(v,R(h),e)),d=e.defaultView;if(!d)return ()=>{m.forEach(v=>v());};let f=d.Object.getOwnPropertyDescriptor(d.HTMLInputElement.prototype,"value"),b=[[d.HTMLInputElement.prototype,"value"],[d.HTMLInputElement.prototype,"checked"],[d.HTMLSelectElement.prototype,"value"],[d.HTMLTextAreaElement.prototype,"value"],[d.HTMLSelectElement.prototype,"selectedIndex"],[d.HTMLOptionElement.prototype,"selected"]];return f&&f.set&&m.push(...b.map(v=>Ar(v[0],v[1],{set(){R(h)({target:this,isTrusted:false});}},false,d))),R(()=>{m.forEach(v=>v());})}function gr(n){let e=[];function t(r,i){if(Xt("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||Xt("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||Xt("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||Xt("CSSConditionRule")&&r.parentRule instanceof CSSConditionRule){let o=Array.from(r.parentRule.cssRules).indexOf(r);i.unshift(o);}else if(r.parentStyleSheet){let o=Array.from(r.parentStyleSheet.cssRules).indexOf(r);i.unshift(o);}return i}return t(n,e)}function we(n,e,t){let r,i;return n?(n.ownerNode?r=e.getId(n.ownerNode):i=t.getId(n),{styleId:i,id:r}):{}}function vd({styleSheetRuleCb:n,mirror:e,stylesheetManager:t},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return ()=>{};let i=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:R((c,h,p)=>{let[g,m]=p,{id:d,styleId:f}=we(h,e,t.styleMirror);return (d&&d!==-1||f&&f!==-1)&&n({id:d,styleId:f,adds:[{rule:g,index:m}]}),c.apply(h,p)})}),r.CSSStyleSheet.prototype.addRule=function(c,h,p=this.cssRules.length){let g=`${c} { ${h} }`;return r.CSSStyleSheet.prototype.insertRule.apply(this,[g,p])};let s=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:R((c,h,p)=>{let[g]=p,{id:m,styleId:d}=we(h,e,t.styleMirror);return (m&&m!==-1||d&&d!==-1)&&n({id:m,styleId:d,removes:[{index:g}]}),c.apply(h,p)})}),r.CSSStyleSheet.prototype.removeRule=function(c){return r.CSSStyleSheet.prototype.deleteRule.apply(this,[c])};let o;r.CSSStyleSheet.prototype.replace&&(o=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:R((c,h,p)=>{let[g]=p,{id:m,styleId:d}=we(h,e,t.styleMirror);return (m&&m!==-1||d&&d!==-1)&&n({id:m,styleId:d,replace:g}),c.apply(h,p)})}));let l;r.CSSStyleSheet.prototype.replaceSync&&(l=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(l,{apply:R((c,h,p)=>{let[g]=p,{id:m,styleId:d}=we(h,e,t.styleMirror);return (m&&m!==-1||d&&d!==-1)&&n({id:m,styleId:d,replaceSync:g}),c.apply(h,p)})}));let a={};Zt("CSSGroupingRule")?a.CSSGroupingRule=r.CSSGroupingRule:(Zt("CSSMediaRule")&&(a.CSSMediaRule=r.CSSMediaRule),Zt("CSSConditionRule")&&(a.CSSConditionRule=r.CSSConditionRule),Zt("CSSSupportsRule")&&(a.CSSSupportsRule=r.CSSSupportsRule));let u={};return Object.entries(a).forEach(([c,h])=>{u[c]={insertRule:h.prototype.insertRule,deleteRule:h.prototype.deleteRule},h.prototype.insertRule=new Proxy(u[c].insertRule,{apply:R((p,g,m)=>{let[d,f]=m,{id:b,styleId:v}=we(g.parentStyleSheet,e,t.styleMirror);return (b&&b!==-1||v&&v!==-1)&&n({id:b,styleId:v,adds:[{rule:d,index:[...gr(g),f||0]}]}),p.apply(g,m)})}),h.prototype.deleteRule=new Proxy(u[c].deleteRule,{apply:R((p,g,m)=>{let[d]=m,{id:f,styleId:b}=we(g.parentStyleSheet,e,t.styleMirror);return (f&&f!==-1||b&&b!==-1)&&n({id:f,styleId:b,removes:[{index:[...gr(g),d]}]}),p.apply(g,m)})});}),R(()=>{r.CSSStyleSheet.prototype.insertRule=i,r.CSSStyleSheet.prototype.deleteRule=s,o&&(r.CSSStyleSheet.prototype.replace=o),l&&(r.CSSStyleSheet.prototype.replaceSync=l),Object.entries(a).forEach(([c,h])=>{h.prototype.insertRule=u[c].insertRule,h.prototype.deleteRule=u[c].deleteRule;});})}function Ia({mirror:n,stylesheetManager:e},t){var r,i,s;let o=null;t.nodeName==="#document"?o=n.getId(t):o=n.getId(x.host(t));let l=t.nodeName==="#document"?(r=t.defaultView)==null?void 0:r.Document:(s=(i=t.ownerDocument)==null?void 0:i.defaultView)==null?void 0:s.ShadowRoot,a=l?.prototype?Object.getOwnPropertyDescriptor(l?.prototype,"adoptedStyleSheets"):void 0;return o===null||o===-1||!l||!a?()=>{}:(Object.defineProperty(t,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get(){var u;return (u=a.get)==null?void 0:u.call(this)},set(u){var c;let h=(c=a.set)==null?void 0:c.call(this,u);if(o!==null&&o!==-1)try{e.adoptStyleSheets(u,o);}catch{}return h}}),R(()=>{Object.defineProperty(t,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get:a.get,set:a.set});}))}function Sd({styleDeclarationCb:n,mirror:e,ignoreCSSAttributes:t,stylesheetManager:r},{win:i}){let s=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(s,{apply:R((l,a,u)=>{var c;let[h,p,g]=u;if(t.has(h))return s.apply(a,[h,p,g]);let{id:m,styleId:d}=we((c=a.parentRule)==null?void 0:c.parentStyleSheet,e,r.styleMirror);return (m&&m!==-1||d&&d!==-1)&&n({id:m,styleId:d,set:{property:h,value:p,priority:g},index:gr(a.parentRule)}),l.apply(a,u)})});let o=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:R((l,a,u)=>{var c;let[h]=u;if(t.has(h))return o.apply(a,[h]);let{id:p,styleId:g}=we((c=a.parentRule)==null?void 0:c.parentStyleSheet,e,r.styleMirror);return (p&&p!==-1||g&&g!==-1)&&n({id:p,styleId:g,remove:{property:h},index:gr(a.parentRule)}),l.apply(a,u)})}),R(()=>{i.CSSStyleDeclaration.prototype.setProperty=s,i.CSSStyleDeclaration.prototype.removeProperty=o;})}function Cd({mediaInteractionCb:n,blockClass:e,blockSelector:t,mirror:r,sampling:i,doc:s}){let o=R(a=>dt(R(u=>{let c=wt(u);if(!c||q(c,e,t,!0))return;let{currentTime:h,volume:p,muted:g,playbackRate:m,loop:d}=c;n({type:a,id:r.getId(c),currentTime:h,volume:p,muted:g,playbackRate:m,loop:d});}),i.media||500)),l=[J("play",o(Ae.Play),s),J("pause",o(Ae.Pause),s),J("seeked",o(Ae.Seeked),s),J("volumechange",o(Ae.VolumeChange),s),J("ratechange",o(Ae.RateChange),s)];return R(()=>{l.forEach(a=>a());})}function xd({fontCb:n,doc:e}){let t=e.defaultView;if(!t)return ()=>{};let r=[],i=new WeakMap,s=t.FontFace;t.FontFace=function(a,u,c){let h=new s(a,u,c);return i.set(h,{family:a,buffer:typeof u!="string",descriptors:c,fontSource:typeof u=="string"?u:JSON.stringify(Array.from(new Uint8Array(u)))}),h};let o=Ee(e.fonts,"add",function(l){return function(a){return setTimeout(R(()=>{let u=i.get(a);u&&(n(u),i.delete(a));}),0),l.apply(this,[a])}});return r.push(()=>{t.FontFace=s;}),r.push(o),R(()=>{r.forEach(l=>l());})}function Id(n){let{doc:e,mirror:t,blockClass:r,blockSelector:i,selectionCb:s}=n,o=true,l=R(()=>{let a=e.getSelection();if(!a||o&&a?.isCollapsed)return;o=a.isCollapsed||!1;let u=[],c=a.rangeCount||0;for(let h=0;h<c;h++){let p=a.getRangeAt(h),{startContainer:g,startOffset:m,endContainer:d,endOffset:f}=p;q(g,r,i,!0)||q(d,r,i,!0)||u.push({start:t.getId(g),startOffset:m,end:t.getId(d),endOffset:f});}s({ranges:u});});return l(),J("selectionchange",l)}function Rd({doc:n,customElementCb:e}){let t=n.defaultView;return !t||!t.customElements?()=>{}:Ee(t.customElements,"define",function(i){return function(s,o,l){try{e({define:{name:s}});}catch{console.warn(`Custom element callback failed for ${s}`);}return i.apply(this,[s,o,l])}})}function Ed(n,e){let{mutationCb:t,mousemoveCb:r,mouseInteractionCb:i,scrollCb:s,viewportResizeCb:o,inputCb:l,mediaInteractionCb:a,styleSheetRuleCb:u,styleDeclarationCb:c,canvasMutationCb:h,fontCb:p,selectionCb:g,customElementCb:m}=n;n.mutationCb=(...d)=>{e.mutation&&e.mutation(...d),t(...d);},n.mousemoveCb=(...d)=>{e.mousemove&&e.mousemove(...d),r(...d);},n.mouseInteractionCb=(...d)=>{e.mouseInteraction&&e.mouseInteraction(...d),i(...d);},n.scrollCb=(...d)=>{e.scroll&&e.scroll(...d),s(...d);},n.viewportResizeCb=(...d)=>{e.viewportResize&&e.viewportResize(...d),o(...d);},n.inputCb=(...d)=>{e.input&&e.input(...d),l(...d);},n.mediaInteractionCb=(...d)=>{e.mediaInteaction&&e.mediaInteaction(...d),a(...d);},n.styleSheetRuleCb=(...d)=>{e.styleSheetRule&&e.styleSheetRule(...d),u(...d);},n.styleDeclarationCb=(...d)=>{e.styleDeclaration&&e.styleDeclaration(...d),c(...d);},n.canvasMutationCb=(...d)=>{e.canvasMutation&&e.canvasMutation(...d),h(...d);},n.fontCb=(...d)=>{e.font&&e.font(...d),p(...d);},n.selectionCb=(...d)=>{e.selection&&e.selection(...d),g(...d);},n.customElementCb=(...d)=>{e.customElement&&e.customElement(...d),m(...d);};}function Od(n,e={}){let t=n.doc.defaultView;if(!t)return ()=>{};Ed(n,e);let r;n.recordDOM&&(r=Ca(n,n.doc));let i=md(n),s=gd(n),o=xa(n),l=yd(n,{win:t}),a=bd(n),u=Cd(n),c=()=>{},h=()=>{},p=()=>{},g=()=>{};n.recordDOM&&(c=vd(n,{win:t}),h=Ia(n,n.doc),p=Sd(n,{win:t}),n.collectFonts&&(g=xd(n)));let m=Id(n),d=Rd(n),f=[];for(let b of n.plugins)f.push(b.observer(b.callback,t,b.options));return R(()=>{Ce.forEach(b=>b.reset()),r?.disconnect(),i(),s(),o(),l(),a(),u(),c(),h(),p(),g(),m(),d(),f.forEach(b=>b());})}function Xt(n){return typeof window[n]<"u"}function Zt(n){return !!(typeof window[n]<"u"&&window[n].prototype&&"insertRule"in window[n].prototype&&"deleteRule"in window[n].prototype)}var yr=class{constructor(e){w(this,"iframeIdToRemoteIdMap",new WeakMap),w(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=e;}getId(e,t,r,i){let s=r||this.getIdToRemoteIdMap(e),o=i||this.getRemoteIdToIdMap(e),l=s.get(t);return l||(l=this.generateIdFn(),s.set(t,l),o.set(l,t)),l}getIds(e,t){let r=this.getIdToRemoteIdMap(e),i=this.getRemoteIdToIdMap(e);return t.map(s=>this.getId(e,s,r,i))}getRemoteId(e,t,r){let i=r||this.getRemoteIdToIdMap(e);if(typeof t!="number")return t;let s=i.get(t);return s||-1}getRemoteIds(e,t){let r=this.getRemoteIdToIdMap(e);return t.map(i=>this.getRemoteId(e,i,r))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e);}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}},zn=class{constructor(e){w(this,"iframes",new WeakMap),w(this,"crossOriginIframeMap",new WeakMap),w(this,"crossOriginIframeMirror",new yr(Ns)),w(this,"crossOriginIframeStyleMirror"),w(this,"crossOriginIframeRootIdMap",new WeakMap),w(this,"mirror"),w(this,"mutationCb"),w(this,"wrappedEmit"),w(this,"loadListener"),w(this,"stylesheetManager"),w(this,"recordCrossOriginIframes"),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new yr(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this));}addIframe(e){this.iframes.set(e,true),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e);}addLoadListener(e){this.loadListener=e;}attachIframe(e,t){var r,i;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:true}),this.recordCrossOriginIframes&&((r=e.contentWindow)==null||r.addEventListener("message",this.handleMessage.bind(this))),(i=this.loadListener)==null||i.call(this,e),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument));}handleMessage(e){let t=e;if(t.data.type!=="rrweb"||t.origin!==t.data.origin||!e.source)return;let i=this.crossOriginIframeMap.get(e.source);if(!i)return;let s=this.transformCrossOriginEvent(i,t.data.event);s&&this.wrappedEmit(s,t.data.isCheckout);}transformCrossOriginEvent(e,t){var r;switch(t.type){case E.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let i=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,i),this.patchRootIdOnNode(t.data.node,i),{timestamp:t.timestamp,type:E.IncrementalSnapshot,data:{source:I.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:true}}}case E.Meta:case E.Load:case E.DomContentLoaded:return false;case E.Plugin:return t;case E.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case E.IncrementalSnapshot:switch(t.data.source){case I.Mutation:return t.data.adds.forEach(i=>{this.replaceIds(i,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(i.node,e);let s=this.crossOriginIframeRootIdMap.get(e);s&&this.patchRootIdOnNode(i.node,s);}),t.data.removes.forEach(i=>{this.replaceIds(i,e,["parentId","id"]);}),t.data.attributes.forEach(i=>{this.replaceIds(i,e,["id"]);}),t.data.texts.forEach(i=>{this.replaceIds(i,e,["id"]);}),t;case I.Drag:case I.TouchMove:case I.MouseMove:return t.data.positions.forEach(i=>{this.replaceIds(i,e,["id"]);}),t;case I.ViewportResize:return false;case I.MediaInteraction:case I.MouseInteraction:case I.Scroll:case I.CanvasMutation:case I.Input:return this.replaceIds(t.data,e,["id"]),t;case I.StyleSheetRule:case I.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case I.Font:return t;case I.Selection:return t.data.ranges.forEach(i=>{this.replaceIds(i,e,["start","end"]);}),t;case I.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),(r=t.data.styles)==null||r.forEach(i=>{this.replaceStyleIds(i,e,["styleId"]);}),t}}return false}replace(e,t,r,i){for(let s of i)!Array.isArray(t[s])&&typeof t[s]!="number"||(Array.isArray(t[s])?t[s]=e.getIds(r,t[s]):t[s]=e.getId(r,t[s]));return t}replaceIds(e,t,r){return this.replace(this.crossOriginIframeMirror,e,t,r)}replaceStyleIds(e,t,r){return this.replace(this.crossOriginIframeStyleMirror,e,t,r)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(r=>{this.replaceIdOnNode(r,t);});}patchRootIdOnNode(e,t){e.type!==va.Document&&!e.rootId&&(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(r=>{this.patchRootIdOnNode(r,t);});}},Wn=class{constructor(e){w(this,"shadowDoms",new WeakSet),w(this,"mutationCb"),w(this,"scrollCb"),w(this,"bypassOptions"),w(this,"mirror"),w(this,"restoreHandlers",[]),this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init();}init(){this.reset(),this.patchAttachShadow(Element,document);}addShadowRoot(e,t){if(!rt(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e);let r=Ca({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(xa({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),setTimeout(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(x.host(e))),this.restoreHandlers.push(Ia({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e));},0);}observeAttachShadow(e){!e.contentWindow||!e.contentDocument||this.patchAttachShadow(e.contentWindow.Element,e.contentDocument);}patchAttachShadow(e,t){let r=this;this.restoreHandlers.push(Ee(e.prototype,"attachShadow",function(i){return function(s){let o=i.call(this,s),l=x.shadowRoot(this);return l&&ba(this)&&r.addShadowRoot(l,t),o}}));}reset(){this.restoreHandlers.forEach(e=>{try{e();}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet;}},Pe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Md=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(et=0;et<Pe.length;et++)Md[Pe.charCodeAt(et)]=et;var et,Ad=function(n){var e=new Uint8Array(n),t,r=e.length,i="";for(t=0;t<r;t+=3)i+=Pe[e[t]>>2],i+=Pe[(e[t]&3)<<4|e[t+1]>>4],i+=Pe[(e[t+1]&15)<<2|e[t+2]>>6],i+=Pe[e[t+2]&63];return r%3===2?i=i.substring(0,i.length-1)+"=":r%3===1&&(i=i.substring(0,i.length-2)+"=="),i},Ms=new Map;function $d(n,e){let t=Ms.get(n);return t||(t=new Map,Ms.set(n,t)),t.has(e)||t.set(e,[]),t.get(e)}var Ra=(n,e,t)=>{if(!n||!(Oa(n,e)||typeof n=="object"))return;let r=n.constructor.name,i=$d(t,r),s=i.indexOf(n);return s===-1&&(s=i.length,i.push(n)),s};function er(n,e,t){if(n instanceof Array)return n.map(r=>er(r,e,t));if(n===null)return n;if(n instanceof Float32Array||n instanceof Float64Array||n instanceof Int32Array||n instanceof Uint32Array||n instanceof Uint8Array||n instanceof Uint16Array||n instanceof Int16Array||n instanceof Int8Array||n instanceof Uint8ClampedArray)return {rr_type:n.constructor.name,args:[Object.values(n)]};if(n instanceof ArrayBuffer){let r=n.constructor.name,i=Ad(n);return {rr_type:r,base64:i}}else {if(n instanceof DataView)return {rr_type:n.constructor.name,args:[er(n.buffer,e,t),n.byteOffset,n.byteLength]};if(n instanceof HTMLImageElement){let r=n.constructor.name,{src:i}=n;return {rr_type:r,src:i}}else if(n instanceof HTMLCanvasElement){let r="HTMLImageElement",i=n.toDataURL();return {rr_type:r,src:i}}else {if(n instanceof ImageData)return {rr_type:n.constructor.name,args:[er(n.data,e,t),n.width,n.height]};if(Oa(n,e)||typeof n=="object"){let r=n.constructor.name,i=Ra(n,e,t);return {rr_type:r,index:i}}}}return n}var Ea=(n,e,t)=>n.map(r=>er(r,e,t)),Oa=(n,e)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(i=>typeof e[i]=="function").find(i=>n instanceof e[i]);function kd(n,e,t,r){let i=[],s=Object.getOwnPropertyNames(e.CanvasRenderingContext2D.prototype);for(let o of s)try{if(typeof e.CanvasRenderingContext2D.prototype[o]!="function")continue;let l=Ee(e.CanvasRenderingContext2D.prototype,o,function(a){return function(...u){return q(this.canvas,t,r,!0)||setTimeout(()=>{let c=Ea(u,e,this);n(this.canvas,{type:Fe["2D"],property:o,args:c});},0),a.apply(this,u)}});i.push(l);}catch{let l=Ar(e.CanvasRenderingContext2D.prototype,o,{set(a){n(this.canvas,{type:Fe["2D"],property:o,args:[a],setter:true});}});i.push(l);}return ()=>{i.forEach(o=>o());}}function Pd(n){return n==="experimental-webgl"?"webgl":n}function As(n,e,t,r){let i=[];try{let s=Ee(n.HTMLCanvasElement.prototype,"getContext",function(o){return function(l,...a){if(!q(this,e,t,!0)){let u=Pd(l);if("__context"in this||(this.__context=u),r&&["webgl","webgl2"].includes(u))if(a[0]&&typeof a[0]=="object"){let c=a[0];c.preserveDrawingBuffer||(c.preserveDrawingBuffer=!0);}else a.splice(0,1,{preserveDrawingBuffer:!0});}return o.apply(this,[l,...a])}});i.push(s);}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext");}return ()=>{i.forEach(s=>s());}}function $s(n,e,t,r,i,s){let o=[],l=Object.getOwnPropertyNames(n);for(let a of l)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(a))try{if(typeof n[a]!="function")continue;let u=Ee(n,a,function(c){return function(...h){let p=c.apply(this,h);if(Ra(p,s,this),"tagName"in this.canvas&&!q(this.canvas,r,i,!0)){let g=Ea(h,s,this),m={type:e,property:a,args:g};t(this.canvas,m);}return p}});o.push(u);}catch{let u=Ar(n,a,{set(c){t(this.canvas,{type:e,property:a,args:[c],setter:true});}});o.push(u);}return o}function Td(n,e,t,r){let i=[];return i.push(...$s(e.WebGLRenderingContext.prototype,Fe.WebGL,n,t,r,e)),typeof e.WebGL2RenderingContext<"u"&&i.push(...$s(e.WebGL2RenderingContext.prototype,Fe.WebGL2,n,t,r,e)),()=>{i.forEach(s=>s());}}var Ma="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCB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0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",Ld=n=>Uint8Array.from(atob(n),e=>e.charCodeAt(0)),ks=typeof window<"u"&&window.Blob&&new Blob([Ld(Ma)],{type:"text/javascript;charset=utf-8"});function Dd(n){let e;try{if(e=ks&&(window.URL||window.webkitURL).createObjectURL(ks),!e)throw "";let t=new Worker(e,{name:n?.name});return t.addEventListener("error",()=>{(window.URL||window.webkitURL).revokeObjectURL(e);}),t}catch{return new Worker("data:text/javascript;base64,"+Ma,{name:n?.name})}finally{e&&(window.URL||window.webkitURL).revokeObjectURL(e);}}var jn=class{constructor(e){w(this,"pendingCanvasMutations",new Map),w(this,"rafStamps",{latestId:0,invokeId:null}),w(this,"mirror"),w(this,"mutationCb"),w(this,"resetObservers"),w(this,"frozen",false),w(this,"locked",false),w(this,"processMutation",(a,u)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(a)||this.pendingCanvasMutations.set(a,[]),this.pendingCanvasMutations.get(a).push(u);});let{sampling:t="all",win:r,blockClass:i,blockSelector:s,recordCanvas:o,dataURLOptions:l}=e;this.mutationCb=e.mutationCb,this.mirror=e.mirror,o&&t==="all"&&this.initCanvasMutationObserver(r,i,s),o&&typeof t=="number"&&this.initCanvasFPSObserver(t,r,i,s,{dataURLOptions:l});}reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers();}freeze(){this.frozen=true;}unfreeze(){this.frozen=false;}lock(){this.locked=true;}unlock(){this.locked=false;}initCanvasFPSObserver(e,t,r,i,s){let o=As(t,r,i,true),l=new Map,a=new Dd;a.onmessage=m=>{let{id:d}=m.data;if(l.set(d,false),!("base64"in m.data))return;let{base64:f,type:b,width:v,height:y}=m.data;this.mutationCb({id:d,type:Fe["2D"],commands:[{property:"clearRect",args:[0,0,v,y]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:f}],type:b}]},0,0]}]});};let u=1e3/e,c=0,h,p=()=>{let m=[];return t.document.querySelectorAll("canvas").forEach(d=>{q(d,r,i,true)||m.push(d);}),m},g=m=>{if(c&&m-c<u){h=requestAnimationFrame(g);return}c=m,p().forEach(async d=>{var f;let b=this.mirror.getId(d);if(l.get(b)||d.width===0||d.height===0)return;if(l.set(b,true),["webgl","webgl2"].includes(d.__context)){let y=d.getContext(d.__context);((f=y?.getContextAttributes())==null?void 0:f.preserveDrawingBuffer)===false&&y.clear(y.COLOR_BUFFER_BIT);}let v=await createImageBitmap(d);a.postMessage({id:b,bitmap:v,width:d.width,height:d.height,dataURLOptions:s.dataURLOptions},[v]);}),h=requestAnimationFrame(g);};h=requestAnimationFrame(g),this.resetObservers=()=>{o(),cancelAnimationFrame(h);};}initCanvasMutationObserver(e,t,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();let i=As(e,t,r,false),s=kd(this.processMutation.bind(this),e,t,r),o=Td(this.processMutation.bind(this),e,t,r);this.resetObservers=()=>{i(),s(),o();};}startPendingCanvasMutationFlusher(){requestAnimationFrame(()=>this.flushPendingCanvasMutations());}startRAFTimestamping(){let e=t=>{this.rafStamps.latestId=t,requestAnimationFrame(e);};requestAnimationFrame(e);}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((e,t)=>{let r=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,r);}),requestAnimationFrame(()=>this.flushPendingCanvasMutations());}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;let r=this.pendingCanvasMutations.get(e);if(!r||t===-1)return;let i=r.map(o=>{let{type:l,...a}=o;return a}),{type:s}=r[0];this.mutationCb({id:t,type:s,commands:i}),this.pendingCanvasMutations.delete(e);}},Vn=class{constructor(e){w(this,"trackedLinkElements",new WeakSet),w(this,"mutationCb"),w(this,"adoptedStyleSheetCb"),w(this,"styleMirror",new Bn),this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb;}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e);}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e));}adoptStyleSheets(e,t){if(e.length===0)return;let r={id:t,styleIds:[]},i=[];for(let s of e){let o;this.styleMirror.has(s)?o=this.styleMirror.getId(s):(o=this.styleMirror.add(s),i.push({styleId:o,rules:Array.from(s.rules||CSSRule,(l,a)=>({rule:Ds(l,s.href),index:a}))})),r.styleIds.push(o);}i.length>0&&(r.styles=i),this.adoptedStyleSheetCb(r);}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet;}trackStylesheetInLinkElement(e){}},Gn=class{constructor(){w(this,"nodeMap",new WeakMap),w(this,"active",false);}inOtherBuffer(e,t){let r=this.nodeMap.get(e);return r&&Array.from(r).some(i=>i!==t)}add(e,t){this.active||(this.active=true,requestAnimationFrame(()=>{this.nodeMap=new WeakMap,this.active=false;})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t));}destroy(){}},z,tr,rn,wr=false;try{if(Array.from([1],n=>n*2)[0]!==2){let n=document.createElement("iframe");document.body.appendChild(n),Array.from=((Ti=n.contentWindow)==null?void 0:Ti.Array.from)||Array.from,document.body.removeChild(n);}}catch(n){console.debug("Unable to override Array.from",n);}var se=Bl();function Ue(n={}){let{emit:e,checkoutEveryNms:t,checkoutEveryNth:r,blockClass:i="rr-block",blockSelector:s=null,ignoreClass:o="rr-ignore",ignoreSelector:l=null,maskTextClass:a="rr-mask",maskTextSelector:u=null,inlineStylesheet:c=true,maskAllInputs:h,maskInputOptions:p,slimDOMOptions:g,maskInputFn:m,maskTextFn:d,hooks:f,packFn:b,sampling:v={},dataURLOptions:y={},mousemoveWait:C,recordDOM:k=true,recordCanvas:T=false,recordCrossOriginIframes:j=false,recordAfter:N=n.recordAfter==="DOMContentLoaded"?n.recordAfter:"load",userTriggeredOnInput:W=false,collectFonts:Y=false,inlineImages:te=false,plugins:ue,keepIframeSrcFn:O=()=>false,ignoreCSSAttributes:Ye=new Set([]),errorHandler:Xe}=n;dd(Xe);let V=j?window.parent===window:true,re=false;if(!V)try{window.parent.document&&(re=!1);}catch{re=true;}if(V&&!e)throw new Error("emit function is required");if(!V&&!re)return ()=>{};C!==void 0&&v.mousemove===void 0&&(v.mousemove=C),se.reset();let be=h===true?{color:true,date:true,"datetime-local":true,email:true,month:true,number:true,range:true,search:true,tel:true,text:true,time:true,url:true,week:true,textarea:true,select:true,password:true}:p!==void 0?p:{password:true},ce=Hs(g);ld();let Oi,Fr=0,Mi=M=>{for(let ie of ue||[])ie.eventProcessor&&(M=ie.eventProcessor(M));return b&&!re&&(M=b(M)),M};z=(M,ie)=>{var U;let H=M;if(H.timestamp=mr(),(U=Ce[0])!=null&&U.isFrozen()&&H.type!==E.FullSnapshot&&!(H.type===E.IncrementalSnapshot&&H.data.source===I.Mutation)&&Ce.forEach(Q=>Q.unfreeze()),V)e?.(Mi(H),ie);else if(re){let Q={type:"rrweb",event:Mi(H),origin:window.location.origin,isCheckout:ie};window.parent.postMessage(Q,"*");}if(H.type===E.FullSnapshot)Oi=H,Fr=0;else if(H.type===E.IncrementalSnapshot){if(H.data.source===I.Mutation&&H.data.isAttachIframe)return;Fr++;let Q=r&&Fr>=r,P=t&&H.timestamp-Oi.timestamp>t;(Q||P)&&tr(true);}};let Ct=M=>{z({type:E.IncrementalSnapshot,data:{source:I.Mutation,...M}});},Ai=M=>z({type:E.IncrementalSnapshot,data:{source:I.Scroll,...M}}),$i=M=>z({type:E.IncrementalSnapshot,data:{source:I.CanvasMutation,...M}}),fl=M=>z({type:E.IncrementalSnapshot,data:{source:I.AdoptedStyleSheet,...M}}),ve=new Vn({mutationCb:Ct,adoptedStyleSheetCb:fl}),Se=new zn({mirror:se,mutationCb:Ct,stylesheetManager:ve,recordCrossOriginIframes:j,wrappedEmit:z});for(let M of ue||[])M.getMirror&&M.getMirror({nodeMirror:se,crossOriginIframeMirror:Se.crossOriginIframeMirror,crossOriginIframeStyleMirror:Se.crossOriginIframeStyleMirror});let Ur=new Gn;rn=new jn({recordCanvas:T,mutationCb:$i,win:window,blockClass:i,blockSelector:s,mirror:se,sampling:v.canvas,dataURLOptions:y});let xt=new Wn({mutationCb:Ct,scrollCb:Ai,bypassOptions:{blockClass:i,blockSelector:s,maskTextClass:a,maskTextSelector:u,inlineStylesheet:c,maskInputOptions:be,dataURLOptions:y,maskTextFn:d,maskInputFn:m,recordCanvas:T,inlineImages:te,sampling:v,slimDOMOptions:ce,iframeManager:Se,stylesheetManager:ve,canvasManager:rn,keepIframeSrcFn:O,processedNodeManager:Ur},mirror:se});tr=(M=false)=>{if(!k)return;z({type:E.Meta,data:{href:window.location.href,width:da(),height:fa()}},M),ve.reset(),xt.init(),Ce.forEach(U=>U.lock());let ie=lu(document,{mirror:se,blockClass:i,blockSelector:s,maskTextClass:a,maskTextSelector:u,inlineStylesheet:c,maskAllInputs:be,maskTextFn:d,maskInputFn:m,slimDOM:ce,dataURLOptions:y,recordCanvas:T,inlineImages:te,onSerialize:U=>{ga(U,se)&&Se.addIframe(U),ya(U,se)&&ve.trackLinkElement(U),Nn(U)&&xt.addShadowRoot(x.shadowRoot(U),document);},onIframeLoad:(U,H)=>{Se.attachIframe(U,H),xt.observeAttachShadow(U);},onStylesheetLoad:(U,H)=>{ve.attachLinkElement(U,H);},keepIframeSrcFn:O});if(!ie)return console.warn("Failed to snapshot the document");z({type:E.FullSnapshot,data:{node:ie,initialOffset:ha(window)}},M),Ce.forEach(U=>U.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&ve.adoptStyleSheets(document.adoptedStyleSheets,se.getId(document));};try{let M=[],ie=H=>{var Q;return R(Od)({mutationCb:Ct,mousemoveCb:(P,Hr)=>z({type:E.IncrementalSnapshot,data:{source:Hr,positions:P}}),mouseInteractionCb:P=>z({type:E.IncrementalSnapshot,data:{source:I.MouseInteraction,...P}}),scrollCb:Ai,viewportResizeCb:P=>z({type:E.IncrementalSnapshot,data:{source:I.ViewportResize,...P}}),inputCb:P=>z({type:E.IncrementalSnapshot,data:{source:I.Input,...P}}),mediaInteractionCb:P=>z({type:E.IncrementalSnapshot,data:{source:I.MediaInteraction,...P}}),styleSheetRuleCb:P=>z({type:E.IncrementalSnapshot,data:{source:I.StyleSheetRule,...P}}),styleDeclarationCb:P=>z({type:E.IncrementalSnapshot,data:{source:I.StyleDeclaration,...P}}),canvasMutationCb:$i,fontCb:P=>z({type:E.IncrementalSnapshot,data:{source:I.Font,...P}}),selectionCb:P=>{z({type:E.IncrementalSnapshot,data:{source:I.Selection,...P}});},customElementCb:P=>{z({type:E.IncrementalSnapshot,data:{source:I.CustomElement,...P}});},blockClass:i,ignoreClass:o,ignoreSelector:l,maskTextClass:a,maskTextSelector:u,maskInputOptions:be,inlineStylesheet:c,sampling:v,recordDOM:k,recordCanvas:T,inlineImages:te,userTriggeredOnInput:W,collectFonts:Y,doc:H,maskInputFn:m,maskTextFn:d,keepIframeSrcFn:O,blockSelector:s,slimDOMOptions:ce,dataURLOptions:y,mirror:se,iframeManager:Se,stylesheetManager:ve,shadowDomManager:xt,processedNodeManager:Ur,canvasManager:rn,ignoreCSSAttributes:Ye,plugins:((Q=ue?.filter(P=>P.observer))==null?void 0:Q.map(P=>({observer:P.observer,options:P.options,callback:Hr=>z({type:E.Plugin,data:{plugin:P.name,payload:Hr}})})))||[]},f)};Se.addLoadListener(H=>{try{M.push(ie(H.contentDocument));}catch(Q){console.warn(Q);}});let U=()=>{tr(),M.push(ie(document)),wr=!0;};return ["interactive","complete"].includes(document.readyState)?U():(M.push(J("DOMContentLoaded",()=>{z({type:E.DomContentLoaded,data:{}}),N==="DOMContentLoaded"&&U();})),M.push(J("load",()=>{z({type:E.Load,data:{}}),N==="load"&&U();},window))),()=>{M.forEach(H=>{try{H();}catch(Q){String(Q).toLowerCase().includes("cross-origin")||console.warn(Q);}}),Ur.destroy(),wr=!1,pd();}}catch(M){console.warn(M);}}Ue.addCustomEvent=(n,e)=>{if(!wr)throw new Error("please add custom event after start recording");z({type:E.Custom,data:{tag:n,payload:e}});};Ue.freezePage=()=>{Ce.forEach(n=>n.freeze());};Ue.takeFullSnapshot=n=>{if(!wr)throw new Error("please take full snapshot after start recording");tr(n);};Ue.mirror=se;var Ps;(function(n){n[n.NotStarted=0]="NotStarted",n[n.Running=1]="Running",n[n.Stopped=2]="Stopped";})(Ps||(Ps={}));var _d=3e4,$r=class{buffer=[];stopFn=null;active=false;start(){if(this.active)return;this.active=true;let e=Ue({emit:t=>{this.buffer.push(t),this.pruneOldEvents();},sampling:{mousemove:true,mouseInteraction:true,scroll:150,input:"last"},blockClass:"bugdump-block",maskAllInputs:true});e&&(this.stopFn=e);}stop(){this.active&&(this.active=false,this.stopFn&&(this.stopFn(),this.stopFn=null));}flush(){this.pruneOldEvents();let e=[...this.buffer];return this.buffer=[],e}pruneOldEvents(){let e=Date.now()-_d,t=this.buffer.findIndex(r=>r.timestamp>=e);t===-1?this.buffer=[]:t>0&&(this.buffer=this.buffer.slice(t));}};function Aa(){return {timing:Nd(),memory:Bd(),resources:Fd()}}function Nd(){let n=performance.getEntriesByType("navigation");if(n.length===0)return null;let e=n[0],t=performance.getEntriesByType("paint"),r=t.find(s=>s.name==="first-paint"),i=t.find(s=>s.name==="first-contentful-paint");return {domContentLoaded:e.domContentLoadedEventEnd>0?Math.round(e.domContentLoadedEventEnd):null,loadComplete:e.loadEventEnd>0?Math.round(e.loadEventEnd):null,firstPaint:r?Math.round(r.startTime):null,firstContentfulPaint:i?Math.round(i.startTime):null,ttfb:e.responseStart>0?Math.round(e.responseStart):null}}function Bd(){let n=performance;return n.memory?{usedJSHeapSize:n.memory.usedJSHeapSize,totalJSHeapSize:n.memory.totalJSHeapSize,jsHeapSizeLimit:n.memory.jsHeapSizeLimit}:null}function Fd(){return performance.getEntriesByType("resource").slice(-20).map(e=>({name:e.name,type:e.initiatorType,duration:Math.round(e.duration),size:e.transferSize||0}))}function $a(){return {userAgent:navigator.userAgent,language:navigator.language,platform:navigator.platform,viewport:{width:window.innerWidth,height:window.innerHeight},screenResolution:{width:screen.width,height:screen.height},devicePixelRatio:window.devicePixelRatio||1,url:window.location.href,referrer:document.referrer,timestamp:Date.now()}}var S={primary:"#6366f1",primaryHover:"#4f46e5",primaryText:"#ffffff",bg:"#ffffff",bgSecondary:"#f9fafb",bgHover:"#f3f4f6",border:"#e5e7eb",borderFocus:"#6366f1",text:"#111827",textSecondary:"#6b7280",textMuted:"#9ca3af",danger:"#ef4444",dangerHover:"#dc2626",overlay:"rgba(0, 0, 0, 0.5)",shadow:"rgba(0, 0, 0, 0.15)",shadowLight:"rgba(0, 0, 0, 0.08)"};function ka(){return `
|
|
59
|
+
or you can use record.mirror to access the mirror instance during recording.`,yl={map:{},getId(){return console.error(Te),-1},getNode(){return console.error(Te),null},removeNodeFromMap(){console.error(Te);},has(){return console.error(Te),false},reset(){console.error(Te);}};typeof window<"u"&&window.Proxy&&window.Reflect&&(yl=new Proxy(yl,{get(r,A,e){return A==="map"&&console.error(Te),Reflect.get(r,A,e)}}));function bt(r,A,e={}){let t=null,s=0;return function(...n){let i=Date.now();!s&&e.leading===false&&(s=i);let o=A-(i-s),a=this;o<=0||o>A?(t&&(clearTimeout(t),t=null),s=i,r.apply(a,n)):!t&&e.trailing!==false&&(t=setTimeout(()=>{s=e.leading===false?0:Date.now(),t=null,r.apply(a,n);},o));}}function fs(r,A,e,t,s=window){let n=s.Object.getOwnPropertyDescriptor(r,A);return s.Object.defineProperty(r,A,t?e:{set(i){setTimeout(()=>{e.set.call(this,i);},0),n&&n.set&&n.set.call(this,i);}}),()=>fs(r,A,n||{},true)}var qr=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(qr=()=>new Date().getTime());function uu(r){var A,e,t,s;let n=r.document;return {left:n.scrollingElement?n.scrollingElement.scrollLeft:r.pageXOffset!==void 0?r.pageXOffset:n.documentElement.scrollLeft||n?.body&&((A=H.parentElement(n.body))==null?void 0:A.scrollLeft)||((e=n?.body)==null?void 0:e.scrollLeft)||0,top:n.scrollingElement?n.scrollingElement.scrollTop:r.pageYOffset!==void 0?r.pageYOffset:n?.documentElement.scrollTop||n?.body&&((t=H.parentElement(n.body))==null?void 0:t.scrollTop)||((s=n?.body)==null?void 0:s.scrollTop)||0}}function hu(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function fu(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function du(r){return r?r.nodeType===r.ELEMENT_NODE?r:H.parentElement(r):null}function BA(r,A,e,t){if(!r)return false;let s=du(r);if(!s)return false;try{if(typeof A=="string"){if(s.classList.contains(A)||t&&s.closest("."+A)!==null)return !0}else if(Vr(s,A,t))return !0}catch{}return !!(e&&(s.matches(e)||t&&s.closest(e)!==null))}function Pw(r,A){return A.getId(r)!==-1}function Wn(r,A,e){return r.tagName==="TITLE"&&e.headTitleMutations?true:A.getId(r)===Bt}function pu(r,A){if(ft(r))return false;let e=A.getId(r);if(!A.has(e))return true;let t=H.parentNode(r);return t&&t.nodeType===r.DOCUMENT_NODE?false:t?pu(t,A):true}function Ei(r){return !!r.changedTouches}function _w(r=window){"NodeList"in r&&!r.NodeList.prototype.forEach&&(r.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in r&&!r.DOMTokenList.prototype.forEach&&(r.DOMTokenList.prototype.forEach=Array.prototype.forEach);}function Bu(r,A){return !!(r.nodeName==="IFRAME"&&A.getMeta(r))}function gu(r,A){return !!(r.nodeName==="LINK"&&r.nodeType===r.ELEMENT_NODE&&r.getAttribute&&r.getAttribute("rel")==="stylesheet"&&A.getMeta(r))}function Ii(r){return r?r instanceof bi&&"shadowRoot"in r?!!r.shadowRoot:!!H.shadowRoot(r):false}var xi=class{constructor(){U(this,"id",1),U(this,"styleIDMap",new WeakMap),U(this,"idStyleMap",new Map);}getId(A){return this.styleIDMap.get(A)??-1}has(A){return this.styleIDMap.has(A)}add(A,e){if(this.has(A))return this.getId(A);let t;return e===void 0?t=this.id++:t=e,this.styleIDMap.set(A,t),this.idStyleMap.set(t,A),t}getStyle(A){return this.idStyleMap.get(A)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1;}generateId(){return this.id++}};function wu(r){var A;let e=null;return "getRootNode"in r&&((A=H.getRootNode(r))==null?void 0:A.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&H.host(H.getRootNode(r))&&(e=H.host(H.getRootNode(r))),e}function Gw(r){let A=r,e;for(;e=wu(A);)A=e;return A}function Vw(r){let A=H.ownerDocument(r);if(!A)return false;let e=Gw(r);return H.contains(A,e)}function mu(r){let A=H.ownerDocument(r);return A?H.contains(A,r)||Vw(r):false}var D=(r=>(r[r.DomContentLoaded=0]="DomContentLoaded",r[r.Load=1]="Load",r[r.FullSnapshot=2]="FullSnapshot",r[r.IncrementalSnapshot=3]="IncrementalSnapshot",r[r.Meta=4]="Meta",r[r.Custom=5]="Custom",r[r.Plugin=6]="Plugin",r))(D||{}),O=(r=>(r[r.Mutation=0]="Mutation",r[r.MouseMove=1]="MouseMove",r[r.MouseInteraction=2]="MouseInteraction",r[r.Scroll=3]="Scroll",r[r.ViewportResize=4]="ViewportResize",r[r.Input=5]="Input",r[r.TouchMove=6]="TouchMove",r[r.MediaInteraction=7]="MediaInteraction",r[r.StyleSheetRule=8]="StyleSheetRule",r[r.CanvasMutation=9]="CanvasMutation",r[r.Font=10]="Font",r[r.Log=11]="Log",r[r.Drag=12]="Drag",r[r.StyleDeclaration=13]="StyleDeclaration",r[r.Selection=14]="Selection",r[r.AdoptedStyleSheet=15]="AdoptedStyleSheet",r[r.CustomElement=16]="CustomElement",r))(O||{}),gA=(r=>(r[r.MouseUp=0]="MouseUp",r[r.MouseDown=1]="MouseDown",r[r.Click=2]="Click",r[r.ContextMenu=3]="ContextMenu",r[r.DblClick=4]="DblClick",r[r.Focus=5]="Focus",r[r.Blur=6]="Blur",r[r.TouchStart=7]="TouchStart",r[r.TouchMove_Departed=8]="TouchMove_Departed",r[r.TouchEnd=9]="TouchEnd",r[r.TouchCancel=10]="TouchCancel",r))(gA||{}),WA=(r=>(r[r.Mouse=0]="Mouse",r[r.Pen=1]="Pen",r[r.Touch=2]="Touch",r))(WA||{}),Ve=(r=>(r[r["2D"]=0]="2D",r[r.WebGL=1]="WebGL",r[r.WebGL2=2]="WebGL2",r))(Ve||{}),Me=(r=>(r[r.Play=0]="Play",r[r.Pause=1]="Pause",r[r.Seeked=2]="Seeked",r[r.VolumeChange=3]="VolumeChange",r[r.RateChange=4]="RateChange",r))(Me||{}),Cu=(r=>(r[r.Document=0]="Document",r[r.DocumentType=1]="DocumentType",r[r.Element=2]="Element",r[r.Text=3]="Text",r[r.CDATA=4]="CDATA",r[r.Comment=5]="Comment",r))(Cu||{});function Fl(r){return "__ln"in r}var Si=class{constructor(){U(this,"length",0),U(this,"head",null),U(this,"tail",null);}get(A){if(A>=this.length)throw new Error("Position outside of list range");let e=this.head;for(let t=0;t<A;t++)e=e?.next||null;return e}addNode(A){let e={value:A,previous:null,next:null};if(A.__ln=e,A.previousSibling&&Fl(A.previousSibling)){let t=A.previousSibling.__ln.next;e.next=t,e.previous=A.previousSibling.__ln,A.previousSibling.__ln.next=e,t&&(t.previous=e);}else if(A.nextSibling&&Fl(A.nextSibling)&&A.nextSibling.__ln.previous){let t=A.nextSibling.__ln.previous;e.previous=t,e.next=A.nextSibling.__ln,A.nextSibling.__ln.previous=e,t&&(t.next=e);}else this.head&&(this.head.previous=e),e.next=this.head,this.head=e;e.next===null&&(this.tail=e),this.length++;}removeNode(A){let e=A.__ln;this.head&&(e.previous?(e.previous.next=e.next,e.next?e.next.previous=e.previous:this.tail=e.previous):(this.head=e.next,this.head?this.head.previous=null:this.tail=null),A.__ln&&delete A.__ln,this.length--);}},bl=(r,A)=>`${r}@${A}`,vi=class{constructor(){U(this,"frozen",false),U(this,"locked",false),U(this,"texts",[]),U(this,"attributes",[]),U(this,"attributeMap",new WeakMap),U(this,"removes",[]),U(this,"mapRemoves",[]),U(this,"movedMap",{}),U(this,"addedSet",new Set),U(this,"movedSet",new Set),U(this,"droppedSet",new Set),U(this,"removesSubTreeCache",new Set),U(this,"mutationCb"),U(this,"blockClass"),U(this,"blockSelector"),U(this,"maskTextClass"),U(this,"maskTextSelector"),U(this,"inlineStylesheet"),U(this,"maskInputOptions"),U(this,"maskTextFn"),U(this,"maskInputFn"),U(this,"keepIframeSrcFn"),U(this,"recordCanvas"),U(this,"inlineImages"),U(this,"slimDOMOptions"),U(this,"dataURLOptions"),U(this,"doc"),U(this,"mirror"),U(this,"iframeManager"),U(this,"stylesheetManager"),U(this,"shadowDomManager"),U(this,"canvasManager"),U(this,"processedNodeManager"),U(this,"unattachedDoc"),U(this,"processMutations",A=>{A.forEach(this.processMutation),this.emit();}),U(this,"emit",()=>{if(this.frozen||this.locked)return;let A=[],e=new Set,t=new Si,s=a=>{let l=a,c=Bt;for(;c===Bt;)l=l&&l.nextSibling,c=l&&this.mirror.getId(l);return c},n=a=>{let l=H.parentNode(a);if(!l||!mu(a))return;let c=false;if(a.nodeType===Node.TEXT_NODE){let p=l.tagName;if(p==="TEXTAREA")return;p==="STYLE"&&this.addedSet.has(l)&&(c=true);}let u=ft(l)?this.mirror.getId(wu(a)):this.mirror.getId(l),h=s(a);if(u===-1||h===-1)return t.addNode(a);let f=Re(a,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,skipChild:true,newlyAddedElement:true,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=>{Bu(p,this.mirror)&&this.iframeManager.addIframe(p),gu(p,this.mirror)&&this.stylesheetManager.trackLinkElement(p),Ii(a)&&this.shadowDomManager.addShadowRoot(H.shadowRoot(a),this.doc);},onIframeLoad:(p,d)=>{this.iframeManager.attachIframe(p,d),this.shadowDomManager.observeAttachShadow(p);},onStylesheetLoad:(p,d)=>{this.stylesheetManager.attachLinkElement(p,d);},cssCaptured:c});f&&(A.push({parentId:u,nextId:h,node:f}),e.add(f.id));};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let a of this.movedSet)El(this.removesSubTreeCache,a,this.mirror)&&!this.movedSet.has(H.parentNode(a))||n(a);for(let a of this.addedSet)!Il(this.droppedSet,a)&&!El(this.removesSubTreeCache,a,this.mirror)||Il(this.movedSet,a)?n(a):this.droppedSet.add(a);let i=null;for(;t.length;){let a=null;if(i){let l=this.mirror.getId(H.parentNode(i.value)),c=s(i.value);l!==-1&&c!==-1&&(a=i);}if(!a){let l=t.tail;for(;l;){let c=l;if(l=l.previous,c){let u=this.mirror.getId(H.parentNode(c.value));if(s(c.value)===-1)continue;if(u!==-1){a=c;break}else {let f=c.value,p=H.parentNode(f);if(p&&p.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let d=H.host(p);if(this.mirror.getId(d)!==-1){a=c;break}}}}}}if(!a){for(;t.head;)t.removeNode(t.head.value);break}i=a.previous,t.removeNode(a.value),n(a.value);}let o={texts:this.texts.map(a=>{let l=a.node,c=H.parentNode(l);return c&&c.tagName==="TEXTAREA"&&this.genTextAreaValueMutation(c),{id:this.mirror.getId(l),value:a.value}}).filter(a=>!e.has(a.id)).filter(a=>this.mirror.has(a.id)),attributes:this.attributes.map(a=>{let{attributes:l}=a;if(typeof l.style=="string"){let c=JSON.stringify(a.styleDiff),u=JSON.stringify(a._unchangedStyles);c.length<l.style.length&&(c+u).split("var(").length===l.style.split("var(").length&&(l.style=a.styleDiff);}return {id:this.mirror.getId(a.node),attributes:l}}).filter(a=>!e.has(a.id)).filter(a=>this.mirror.has(a.id)),removes:this.removes,adds:A};!o.texts.length&&!o.attributes.length&&!o.removes.length&&!o.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(o));}),U(this,"genTextAreaValueMutation",A=>{let e=this.attributeMap.get(A);e||(e={node:A,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(e),this.attributeMap.set(A,e));let t=Array.from(H.childNodes(A),s=>H.textContent(s)||"").join("");e.attributes.value=Pr({element:A,maskInputOptions:this.maskInputOptions,tagName:A.tagName,type:_r(A),value:t,maskInputFn:this.maskInputFn});}),U(this,"processMutation",A=>{if(!Wn(A.target,this.mirror,this.slimDOMOptions))switch(A.type){case "characterData":{let e=H.textContent(A.target);!BA(A.target,this.blockClass,this.blockSelector,false)&&e!==A.oldValue&&this.texts.push({value:Pl(A.target,this.maskTextClass,this.maskTextSelector,true)&&e?this.maskTextFn?this.maskTextFn(e,du(A.target)):e.replace(/[\S]/g,"*"):e,node:A.target});break}case "attributes":{let e=A.target,t=A.attributeName,s=A.target.getAttribute(t);if(t==="value"){let i=_r(e);s=Pr({element:e,maskInputOptions:this.maskInputOptions,tagName:e.tagName,type:i,value:s,maskInputFn:this.maskInputFn});}if(BA(A.target,this.blockClass,this.blockSelector,false)||s===A.oldValue)return;let n=this.attributeMap.get(A.target);if(e.tagName==="IFRAME"&&t==="src"&&!this.keepIframeSrcFn(s))if(!e.contentDocument)t="rr_src";else return;if(n||(n={node:A.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(n),this.attributeMap.set(A.target,n)),t==="type"&&e.tagName==="INPUT"&&(A.oldValue||"").toLowerCase()==="password"&&e.setAttribute("data-rr-is-password","true"),!kl(e.tagName,t))if(n.attributes[t]=Nl(this.doc,we(e.tagName),we(t),s),t==="style"){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument();}catch{this.unattachedDoc=this.doc;}let i=this.unattachedDoc.createElement("span");A.oldValue&&i.setAttribute("style",A.oldValue);for(let o of Array.from(e.style)){let a=e.style.getPropertyValue(o),l=e.style.getPropertyPriority(o);a!==i.style.getPropertyValue(o)||l!==i.style.getPropertyPriority(o)?l===""?n.styleDiff[o]=a:n.styleDiff[o]=[a,l]:n._unchangedStyles[o]=[a,l];}for(let o of Array.from(i.style))e.style.getPropertyValue(o)===""&&(n.styleDiff[o]=false);}else t==="open"&&e.tagName==="DIALOG"&&(e.matches("dialog:modal")?n.attributes.rr_open_mode="modal":n.attributes.rr_open_mode="non-modal");break}case "childList":{if(BA(A.target,this.blockClass,this.blockSelector,true))return;if(A.target.tagName==="TEXTAREA"){this.genTextAreaValueMutation(A.target);return}A.addedNodes.forEach(e=>this.genAdds(e,A.target)),A.removedNodes.forEach(e=>{let t=this.mirror.getId(e),s=ft(A.target)?this.mirror.getId(H.host(A.target)):this.mirror.getId(A.target);BA(A.target,this.blockClass,this.blockSelector,false)||Wn(e,this.mirror,this.slimDOMOptions)||!Pw(e,this.mirror)||(this.addedSet.has(e)?(Hi(this.addedSet,e),this.droppedSet.add(e)):this.addedSet.has(A.target)&&t===-1||pu(A.target,this.mirror)||(this.movedSet.has(e)&&this.movedMap[bl(t,s)]?Hi(this.movedSet,e):(this.removes.push({parentId:s,id:t,isShadow:ft(A.target)&&dt(A.target)?true:void 0}),$w(e,this.removesSubTreeCache))),this.mapRemoves.push(e));});break}}}),U(this,"genAdds",(A,e)=>{if(!this.processedNodeManager.inOtherBuffer(A,this)&&!(this.addedSet.has(A)||this.movedSet.has(A))){if(this.mirror.hasNode(A)){if(Wn(A,this.mirror,this.slimDOMOptions))return;this.movedSet.add(A);let t=null;e&&this.mirror.hasNode(e)&&(t=this.mirror.getId(e)),t&&t!==-1&&(this.movedMap[bl(this.mirror.getId(A),t)]=true);}else this.addedSet.add(A),this.droppedSet.delete(A);BA(A,this.blockClass,this.blockSelector,false)||(H.childNodes(A).forEach(t=>this.genAdds(t)),Ii(A)&&H.childNodes(H.shadowRoot(A)).forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,A);}));}});}init(A){["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(e=>{this[e]=A[e];});}freeze(){this.frozen=true,this.canvasManager.freeze();}unfreeze(){this.frozen=false,this.canvasManager.unfreeze(),this.emit();}isFrozen(){return this.frozen}lock(){this.locked=true,this.canvasManager.lock();}unlock(){this.locked=false,this.canvasManager.unlock(),this.emit();}reset(){this.shadowDomManager.reset(),this.canvasManager.reset();}};function Hi(r,A){r.delete(A),H.childNodes(A).forEach(e=>Hi(r,e));}function $w(r,A){let e=[r];for(;e.length;){let t=e.pop();A.has(t)||(A.add(t),H.childNodes(t).forEach(s=>e.push(s)));}}function El(r,A,e){return r.size===0?false:Ww(r,A)}function Ww(r,A,e){let t=H.parentNode(A);return t?r.has(t):false}function Il(r,A){return r.size===0?false:Qu(r,A)}function Qu(r,A){let e=H.parentNode(A);return e?r.has(e)?true:Qu(r,e):false}var pt;function Xw(r){pt=r;}function Jw(){pt=void 0;}var R=r=>pt?(...e)=>{try{return r(...e)}catch(t){if(pt&&pt(t)===true)return;throw t}}:r,ge=[];function vt(r){try{if("composedPath"in r){let A=r.composedPath();if(A.length)return A[0]}else if("path"in r&&r.path.length)return r.path[0]}catch{}return r&&r.target}function Uu(r,A){let e=new vi;ge.push(e),e.init(r);let t=new(cu())(R(e.processMutations.bind(e)));return t.observe(A,{attributes:true,attributeOldValue:true,characterData:true,characterDataOldValue:true,childList:true,subtree:true}),t}function Yw({mousemoveCb:r,sampling:A,doc:e,mirror:t}){if(A.mousemove===false)return ()=>{};let s=typeof A.mousemove=="number"?A.mousemove:50,n=typeof A.mousemoveCallback=="number"?A.mousemoveCallback:500,i=[],o,a=bt(R(u=>{let h=Date.now()-o;r(i.map(f=>(f.timeOffset-=h,f)),u),i=[],o=null;}),n),l=R(bt(R(u=>{let h=vt(u),{clientX:f,clientY:p}=Ei(u)?u.changedTouches[0]:u;o||(o=qr()),i.push({x:f,y:p,id:t.getId(h),timeOffset:qr()-o}),a(typeof DragEvent<"u"&&u instanceof DragEvent?O.Drag:u instanceof MouseEvent?O.MouseMove:O.TouchMove);}),s,{trailing:!1})),c=[pA("mousemove",l,e),pA("touchmove",l,e),pA("drag",l,e)];return R(()=>{c.forEach(u=>u());})}function zw({mouseInteractionCb:r,doc:A,mirror:e,blockClass:t,blockSelector:s,sampling:n}){if(n.mouseInteraction===false)return ()=>{};let i=n.mouseInteraction===true||n.mouseInteraction===void 0?{}:n.mouseInteraction,o=[],a=null,l=c=>u=>{let h=vt(u);if(BA(h,t,s,true))return;let f=null,p=c;if("pointerType"in u){switch(u.pointerType){case "mouse":f=WA.Mouse;break;case "touch":f=WA.Touch;break;case "pen":f=WA.Pen;break}f===WA.Touch?gA[c]===gA.MouseDown?p="TouchStart":gA[c]===gA.MouseUp&&(p="TouchEnd"):WA.Pen;}else Ei(u)&&(f=WA.Touch);f!==null?(a=f,(p.startsWith("Touch")&&f===WA.Touch||p.startsWith("Mouse")&&f===WA.Mouse)&&(f=null)):gA[c]===gA.Click&&(f=a,a=null);let d=Ei(u)?u.changedTouches[0]:u;if(!d)return;let B=e.getId(h),{clientX:m,clientY:w}=d;R(r)({type:gA[p],id:B,x:m,y:w,...f!==null&&{pointerType:f}});};return Object.keys(gA).filter(c=>Number.isNaN(Number(c))&&!c.endsWith("_Departed")&&i[c]!==false).forEach(c=>{let u=we(c),h=l(c);if(window.PointerEvent)switch(gA[c]){case gA.MouseDown:case gA.MouseUp:u=u.replace("mouse","pointer");break;case gA.TouchStart:case gA.TouchEnd:return}o.push(pA(u,h,A));}),R(()=>{o.forEach(c=>c());})}function yu({scrollCb:r,doc:A,mirror:e,blockClass:t,blockSelector:s,sampling:n}){let i=R(bt(R(o=>{let a=vt(o);if(!a||BA(a,t,s,!0))return;let l=e.getId(a);if(a===A&&A.defaultView){let c=uu(A.defaultView);r({id:l,x:c.left,y:c.top});}else r({id:l,x:a.scrollLeft,y:a.scrollTop});}),n.scroll||100));return pA("scroll",i,A)}function Zw({viewportResizeCb:r},{win:A}){let e=-1,t=-1,s=R(bt(R(()=>{let n=hu(),i=fu();(e!==n||t!==i)&&(r({width:Number(i),height:Number(n)}),e=n,t=i);}),200));return pA("resize",s,A)}var jw=["INPUT","TEXTAREA","SELECT"],xl=new WeakMap;function qw({inputCb:r,doc:A,mirror:e,blockClass:t,blockSelector:s,ignoreClass:n,ignoreSelector:i,maskInputOptions:o,maskInputFn:a,sampling:l,userTriggeredOnInput:c}){function u(w){let g=vt(w),C=w.isTrusted,Q=g&&g.tagName;if(g&&Q==="OPTION"&&(g=H.parentElement(g)),!g||!Q||jw.indexOf(Q)<0||BA(g,t,s,true)||g.classList.contains(n)||i&&g.matches(i))return;let b=g.value,M=false,v=_r(g)||"";v==="radio"||v==="checkbox"?M=g.checked:(o[Q.toLowerCase()]||o[v])&&(b=Pr({element:g,maskInputOptions:o,tagName:Q,type:v,value:b,maskInputFn:a})),h(g,c?{text:b,isChecked:M,userTriggered:C}:{text:b,isChecked:M});let x=g.name;v==="radio"&&x&&M&&A.querySelectorAll(`input[type="radio"][name="${x}"]`).forEach(J=>{if(J!==g){let hA=J.value;h(J,c?{text:hA,isChecked:!M,userTriggered:false}:{text:hA,isChecked:!M});}});}function h(w,g){let C=xl.get(w);if(!C||C.text!==g.text||C.isChecked!==g.isChecked){xl.set(w,g);let Q=e.getId(w);R(r)({...g,id:Q});}}let p=(l.input==="last"?["change"]:["input","change"]).map(w=>pA(w,R(u),A)),d=A.defaultView;if(!d)return ()=>{p.forEach(w=>w());};let B=d.Object.getOwnPropertyDescriptor(d.HTMLInputElement.prototype,"value"),m=[[d.HTMLInputElement.prototype,"value"],[d.HTMLInputElement.prototype,"checked"],[d.HTMLSelectElement.prototype,"value"],[d.HTMLTextAreaElement.prototype,"value"],[d.HTMLSelectElement.prototype,"selectedIndex"],[d.HTMLOptionElement.prototype,"selected"]];return B&&B.set&&p.push(...m.map(w=>fs(w[0],w[1],{set(){R(u)({target:this,isTrusted:false});}},false,d))),R(()=>{p.forEach(w=>w());})}function As(r){let A=[];function e(t,s){if(Lr("CSSGroupingRule")&&t.parentRule instanceof CSSGroupingRule||Lr("CSSMediaRule")&&t.parentRule instanceof CSSMediaRule||Lr("CSSSupportsRule")&&t.parentRule instanceof CSSSupportsRule||Lr("CSSConditionRule")&&t.parentRule instanceof CSSConditionRule){let i=Array.from(t.parentRule.cssRules).indexOf(t);s.unshift(i);}else if(t.parentStyleSheet){let i=Array.from(t.parentStyleSheet.cssRules).indexOf(t);s.unshift(i);}return s}return e(r,A)}function re(r,A,e){let t,s;return r?(r.ownerNode?t=A.getId(r.ownerNode):s=e.getId(r),{styleId:s,id:t}):{}}function Am({styleSheetRuleCb:r,mirror:A,stylesheetManager:e},{win:t}){if(!t.CSSStyleSheet||!t.CSSStyleSheet.prototype)return ()=>{};let s=t.CSSStyleSheet.prototype.insertRule;t.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:R((c,u,h)=>{let[f,p]=h,{id:d,styleId:B}=re(u,A,e.styleMirror);return (d&&d!==-1||B&&B!==-1)&&r({id:d,styleId:B,adds:[{rule:f,index:p}]}),c.apply(u,h)})}),t.CSSStyleSheet.prototype.addRule=function(c,u,h=this.cssRules.length){let f=`${c} { ${u} }`;return t.CSSStyleSheet.prototype.insertRule.apply(this,[f,h])};let n=t.CSSStyleSheet.prototype.deleteRule;t.CSSStyleSheet.prototype.deleteRule=new Proxy(n,{apply:R((c,u,h)=>{let[f]=h,{id:p,styleId:d}=re(u,A,e.styleMirror);return (p&&p!==-1||d&&d!==-1)&&r({id:p,styleId:d,removes:[{index:f}]}),c.apply(u,h)})}),t.CSSStyleSheet.prototype.removeRule=function(c){return t.CSSStyleSheet.prototype.deleteRule.apply(this,[c])};let i;t.CSSStyleSheet.prototype.replace&&(i=t.CSSStyleSheet.prototype.replace,t.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:R((c,u,h)=>{let[f]=h,{id:p,styleId:d}=re(u,A,e.styleMirror);return (p&&p!==-1||d&&d!==-1)&&r({id:p,styleId:d,replace:f}),c.apply(u,h)})}));let o;t.CSSStyleSheet.prototype.replaceSync&&(o=t.CSSStyleSheet.prototype.replaceSync,t.CSSStyleSheet.prototype.replaceSync=new Proxy(o,{apply:R((c,u,h)=>{let[f]=h,{id:p,styleId:d}=re(u,A,e.styleMirror);return (p&&p!==-1||d&&d!==-1)&&r({id:p,styleId:d,replaceSync:f}),c.apply(u,h)})}));let a={};Tr("CSSGroupingRule")?a.CSSGroupingRule=t.CSSGroupingRule:(Tr("CSSMediaRule")&&(a.CSSMediaRule=t.CSSMediaRule),Tr("CSSConditionRule")&&(a.CSSConditionRule=t.CSSConditionRule),Tr("CSSSupportsRule")&&(a.CSSSupportsRule=t.CSSSupportsRule));let l={};return Object.entries(a).forEach(([c,u])=>{l[c]={insertRule:u.prototype.insertRule,deleteRule:u.prototype.deleteRule},u.prototype.insertRule=new Proxy(l[c].insertRule,{apply:R((h,f,p)=>{let[d,B]=p,{id:m,styleId:w}=re(f.parentStyleSheet,A,e.styleMirror);return (m&&m!==-1||w&&w!==-1)&&r({id:m,styleId:w,adds:[{rule:d,index:[...As(f),B||0]}]}),h.apply(f,p)})}),u.prototype.deleteRule=new Proxy(l[c].deleteRule,{apply:R((h,f,p)=>{let[d]=p,{id:B,styleId:m}=re(f.parentStyleSheet,A,e.styleMirror);return (B&&B!==-1||m&&m!==-1)&&r({id:B,styleId:m,removes:[{index:[...As(f),d]}]}),h.apply(f,p)})});}),R(()=>{t.CSSStyleSheet.prototype.insertRule=s,t.CSSStyleSheet.prototype.deleteRule=n,i&&(t.CSSStyleSheet.prototype.replace=i),o&&(t.CSSStyleSheet.prototype.replaceSync=o),Object.entries(a).forEach(([c,u])=>{u.prototype.insertRule=l[c].insertRule,u.prototype.deleteRule=l[c].deleteRule;});})}function Fu({mirror:r,stylesheetManager:A},e){var t,s,n;let i=null;e.nodeName==="#document"?i=r.getId(e):i=r.getId(H.host(e));let o=e.nodeName==="#document"?(t=e.defaultView)==null?void 0:t.Document:(n=(s=e.ownerDocument)==null?void 0:s.defaultView)==null?void 0:n.ShadowRoot,a=o?.prototype?Object.getOwnPropertyDescriptor(o?.prototype,"adoptedStyleSheets"):void 0;return i===null||i===-1||!o||!a?()=>{}:(Object.defineProperty(e,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get(){var l;return (l=a.get)==null?void 0:l.call(this)},set(l){var c;let u=(c=a.set)==null?void 0:c.call(this,l);if(i!==null&&i!==-1)try{A.adoptStyleSheets(l,i);}catch{}return u}}),R(()=>{Object.defineProperty(e,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get:a.get,set:a.set});}))}function em({styleDeclarationCb:r,mirror:A,ignoreCSSAttributes:e,stylesheetManager:t},{win:s}){let n=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(n,{apply:R((o,a,l)=>{var c;let[u,h,f]=l;if(e.has(u))return n.apply(a,[u,h,f]);let{id:p,styleId:d}=re((c=a.parentRule)==null?void 0:c.parentStyleSheet,A,t.styleMirror);return (p&&p!==-1||d&&d!==-1)&&r({id:p,styleId:d,set:{property:u,value:h,priority:f},index:As(a.parentRule)}),o.apply(a,l)})});let i=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:R((o,a,l)=>{var c;let[u]=l;if(e.has(u))return i.apply(a,[u]);let{id:h,styleId:f}=re((c=a.parentRule)==null?void 0:c.parentStyleSheet,A,t.styleMirror);return (h&&h!==-1||f&&f!==-1)&&r({id:h,styleId:f,remove:{property:u},index:As(a.parentRule)}),o.apply(a,l)})}),R(()=>{s.CSSStyleDeclaration.prototype.setProperty=n,s.CSSStyleDeclaration.prototype.removeProperty=i;})}function tm({mediaInteractionCb:r,blockClass:A,blockSelector:e,mirror:t,sampling:s,doc:n}){let i=R(a=>bt(R(l=>{let c=vt(l);if(!c||BA(c,A,e,!0))return;let{currentTime:u,volume:h,muted:f,playbackRate:p,loop:d}=c;r({type:a,id:t.getId(c),currentTime:u,volume:h,muted:f,playbackRate:p,loop:d});}),s.media||500)),o=[pA("play",i(Me.Play),n),pA("pause",i(Me.Pause),n),pA("seeked",i(Me.Seeked),n),pA("volumechange",i(Me.VolumeChange),n),pA("ratechange",i(Me.RateChange),n)];return R(()=>{o.forEach(a=>a());})}function rm({fontCb:r,doc:A}){let e=A.defaultView;if(!e)return ()=>{};let t=[],s=new WeakMap,n=e.FontFace;e.FontFace=function(a,l,c){let u=new n(a,l,c);return s.set(u,{family:a,buffer:typeof l!="string",descriptors:c,fontSource:typeof l=="string"?l:JSON.stringify(Array.from(new Uint8Array(l)))}),u};let i=Qe(A.fonts,"add",function(o){return function(a){return setTimeout(R(()=>{let l=s.get(a);l&&(r(l),s.delete(a));}),0),o.apply(this,[a])}});return t.push(()=>{e.FontFace=n;}),t.push(i),R(()=>{t.forEach(o=>o());})}function sm(r){let{doc:A,mirror:e,blockClass:t,blockSelector:s,selectionCb:n}=r,i=true,o=R(()=>{let a=A.getSelection();if(!a||i&&a?.isCollapsed)return;i=a.isCollapsed||!1;let l=[],c=a.rangeCount||0;for(let u=0;u<c;u++){let h=a.getRangeAt(u),{startContainer:f,startOffset:p,endContainer:d,endOffset:B}=h;BA(f,t,s,!0)||BA(d,t,s,!0)||l.push({start:e.getId(f),startOffset:p,end:e.getId(d),endOffset:B});}n({ranges:l});});return o(),pA("selectionchange",o)}function nm({doc:r,customElementCb:A}){let e=r.defaultView;return !e||!e.customElements?()=>{}:Qe(e.customElements,"define",function(s){return function(n,i,o){try{A({define:{name:n}});}catch{console.warn(`Custom element callback failed for ${n}`);}return s.apply(this,[n,i,o])}})}function im(r,A){let{mutationCb:e,mousemoveCb:t,mouseInteractionCb:s,scrollCb:n,viewportResizeCb:i,inputCb:o,mediaInteractionCb:a,styleSheetRuleCb:l,styleDeclarationCb:c,canvasMutationCb:u,fontCb:h,selectionCb:f,customElementCb:p}=r;r.mutationCb=(...d)=>{A.mutation&&A.mutation(...d),e(...d);},r.mousemoveCb=(...d)=>{A.mousemove&&A.mousemove(...d),t(...d);},r.mouseInteractionCb=(...d)=>{A.mouseInteraction&&A.mouseInteraction(...d),s(...d);},r.scrollCb=(...d)=>{A.scroll&&A.scroll(...d),n(...d);},r.viewportResizeCb=(...d)=>{A.viewportResize&&A.viewportResize(...d),i(...d);},r.inputCb=(...d)=>{A.input&&A.input(...d),o(...d);},r.mediaInteractionCb=(...d)=>{A.mediaInteaction&&A.mediaInteaction(...d),a(...d);},r.styleSheetRuleCb=(...d)=>{A.styleSheetRule&&A.styleSheetRule(...d),l(...d);},r.styleDeclarationCb=(...d)=>{A.styleDeclaration&&A.styleDeclaration(...d),c(...d);},r.canvasMutationCb=(...d)=>{A.canvasMutation&&A.canvasMutation(...d),u(...d);},r.fontCb=(...d)=>{A.font&&A.font(...d),h(...d);},r.selectionCb=(...d)=>{A.selection&&A.selection(...d),f(...d);},r.customElementCb=(...d)=>{A.customElement&&A.customElement(...d),p(...d);};}function om(r,A={}){let e=r.doc.defaultView;if(!e)return ()=>{};im(r,A);let t;r.recordDOM&&(t=Uu(r,r.doc));let s=Yw(r),n=zw(r),i=yu(r),o=Zw(r,{win:e}),a=qw(r),l=tm(r),c=()=>{},u=()=>{},h=()=>{},f=()=>{};r.recordDOM&&(c=Am(r,{win:e}),u=Fu(r,r.doc),h=em(r,{win:e}),r.collectFonts&&(f=rm(r)));let p=sm(r),d=nm(r),B=[];for(let m of r.plugins)B.push(m.observer(m.callback,e,m.options));return R(()=>{ge.forEach(m=>m.reset()),t?.disconnect(),s(),n(),i(),o(),a(),l(),c(),u(),h(),f(),p(),d(),B.forEach(m=>m());})}function Lr(r){return typeof window[r]<"u"}function Tr(r){return !!(typeof window[r]<"u"&&window[r].prototype&&"insertRule"in window[r].prototype&&"deleteRule"in window[r].prototype)}var es=class{constructor(A){U(this,"iframeIdToRemoteIdMap",new WeakMap),U(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=A;}getId(A,e,t,s){let n=t||this.getIdToRemoteIdMap(A),i=s||this.getRemoteIdToIdMap(A),o=n.get(e);return o||(o=this.generateIdFn(),n.set(e,o),i.set(o,e)),o}getIds(A,e){let t=this.getIdToRemoteIdMap(A),s=this.getRemoteIdToIdMap(A);return e.map(n=>this.getId(A,n,t,s))}getRemoteId(A,e,t){let s=t||this.getRemoteIdToIdMap(A);if(typeof e!="number")return e;let n=s.get(e);return n||-1}getRemoteIds(A,e){let t=this.getRemoteIdToIdMap(A);return e.map(s=>this.getRemoteId(A,s,t))}reset(A){if(!A){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(A),this.iframeRemoteIdToIdMap.delete(A);}getIdToRemoteIdMap(A){let e=this.iframeIdToRemoteIdMap.get(A);return e||(e=new Map,this.iframeIdToRemoteIdMap.set(A,e)),e}getRemoteIdToIdMap(A){let e=this.iframeRemoteIdToIdMap.get(A);return e||(e=new Map,this.iframeRemoteIdToIdMap.set(A,e)),e}},Li=class{constructor(A){U(this,"iframes",new WeakMap),U(this,"crossOriginIframeMap",new WeakMap),U(this,"crossOriginIframeMirror",new es(Kl)),U(this,"crossOriginIframeStyleMirror"),U(this,"crossOriginIframeRootIdMap",new WeakMap),U(this,"mirror"),U(this,"mutationCb"),U(this,"wrappedEmit"),U(this,"loadListener"),U(this,"stylesheetManager"),U(this,"recordCrossOriginIframes"),this.mutationCb=A.mutationCb,this.wrappedEmit=A.wrappedEmit,this.stylesheetManager=A.stylesheetManager,this.recordCrossOriginIframes=A.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new es(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=A.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this));}addIframe(A){this.iframes.set(A,true),A.contentWindow&&this.crossOriginIframeMap.set(A.contentWindow,A);}addLoadListener(A){this.loadListener=A;}attachIframe(A,e){var t,s;this.mutationCb({adds:[{parentId:this.mirror.getId(A),nextId:null,node:e}],removes:[],texts:[],attributes:[],isAttachIframe:true}),this.recordCrossOriginIframes&&((t=A.contentWindow)==null||t.addEventListener("message",this.handleMessage.bind(this))),(s=this.loadListener)==null||s.call(this,A),A.contentDocument&&A.contentDocument.adoptedStyleSheets&&A.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(A.contentDocument.adoptedStyleSheets,this.mirror.getId(A.contentDocument));}handleMessage(A){let e=A;if(e.data.type!=="rrweb"||e.origin!==e.data.origin||!A.source)return;let s=this.crossOriginIframeMap.get(A.source);if(!s)return;let n=this.transformCrossOriginEvent(s,e.data.event);n&&this.wrappedEmit(n,e.data.isCheckout);}transformCrossOriginEvent(A,e){var t;switch(e.type){case D.FullSnapshot:{this.crossOriginIframeMirror.reset(A),this.crossOriginIframeStyleMirror.reset(A),this.replaceIdOnNode(e.data.node,A);let s=e.data.node.id;return this.crossOriginIframeRootIdMap.set(A,s),this.patchRootIdOnNode(e.data.node,s),{timestamp:e.timestamp,type:D.IncrementalSnapshot,data:{source:O.Mutation,adds:[{parentId:this.mirror.getId(A),nextId:null,node:e.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:true}}}case D.Meta:case D.Load:case D.DomContentLoaded:return false;case D.Plugin:return e;case D.Custom:return this.replaceIds(e.data.payload,A,["id","parentId","previousId","nextId"]),e;case D.IncrementalSnapshot:switch(e.data.source){case O.Mutation:return e.data.adds.forEach(s=>{this.replaceIds(s,A,["parentId","nextId","previousId"]),this.replaceIdOnNode(s.node,A);let n=this.crossOriginIframeRootIdMap.get(A);n&&this.patchRootIdOnNode(s.node,n);}),e.data.removes.forEach(s=>{this.replaceIds(s,A,["parentId","id"]);}),e.data.attributes.forEach(s=>{this.replaceIds(s,A,["id"]);}),e.data.texts.forEach(s=>{this.replaceIds(s,A,["id"]);}),e;case O.Drag:case O.TouchMove:case O.MouseMove:return e.data.positions.forEach(s=>{this.replaceIds(s,A,["id"]);}),e;case O.ViewportResize:return false;case O.MediaInteraction:case O.MouseInteraction:case O.Scroll:case O.CanvasMutation:case O.Input:return this.replaceIds(e.data,A,["id"]),e;case O.StyleSheetRule:case O.StyleDeclaration:return this.replaceIds(e.data,A,["id"]),this.replaceStyleIds(e.data,A,["styleId"]),e;case O.Font:return e;case O.Selection:return e.data.ranges.forEach(s=>{this.replaceIds(s,A,["start","end"]);}),e;case O.AdoptedStyleSheet:return this.replaceIds(e.data,A,["id"]),this.replaceStyleIds(e.data,A,["styleIds"]),(t=e.data.styles)==null||t.forEach(s=>{this.replaceStyleIds(s,A,["styleId"]);}),e}}return false}replace(A,e,t,s){for(let n of s)!Array.isArray(e[n])&&typeof e[n]!="number"||(Array.isArray(e[n])?e[n]=A.getIds(t,e[n]):e[n]=A.getId(t,e[n]));return e}replaceIds(A,e,t){return this.replace(this.crossOriginIframeMirror,A,e,t)}replaceStyleIds(A,e,t){return this.replace(this.crossOriginIframeStyleMirror,A,e,t)}replaceIdOnNode(A,e){this.replaceIds(A,e,["id","rootId"]),"childNodes"in A&&A.childNodes.forEach(t=>{this.replaceIdOnNode(t,e);});}patchRootIdOnNode(A,e){A.type!==Cu.Document&&!A.rootId&&(A.rootId=e),"childNodes"in A&&A.childNodes.forEach(t=>{this.patchRootIdOnNode(t,e);});}},Ti=class{constructor(A){U(this,"shadowDoms",new WeakSet),U(this,"mutationCb"),U(this,"scrollCb"),U(this,"bypassOptions"),U(this,"mirror"),U(this,"restoreHandlers",[]),this.mutationCb=A.mutationCb,this.scrollCb=A.scrollCb,this.bypassOptions=A.bypassOptions,this.mirror=A.mirror,this.init();}init(){this.reset(),this.patchAttachShadow(Element,document);}addShadowRoot(A,e){if(!dt(A)||this.shadowDoms.has(A))return;this.shadowDoms.add(A);let t=Uu({...this.bypassOptions,doc:e,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},A);this.restoreHandlers.push(()=>t.disconnect()),this.restoreHandlers.push(yu({...this.bypassOptions,scrollCb:this.scrollCb,doc:A,mirror:this.mirror})),setTimeout(()=>{A.adoptedStyleSheets&&A.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(A.adoptedStyleSheets,this.mirror.getId(H.host(A))),this.restoreHandlers.push(Fu({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},A));},0);}observeAttachShadow(A){!A.contentWindow||!A.contentDocument||this.patchAttachShadow(A.contentWindow.Element,A.contentDocument);}patchAttachShadow(A,e){let t=this;this.restoreHandlers.push(Qe(A.prototype,"attachShadow",function(s){return function(n){let i=s.call(this,n),o=H.shadowRoot(this);return o&&mu(this)&&t.addShadowRoot(o,e),i}}));}reset(){this.restoreHandlers.forEach(A=>{try{A();}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet;}},De="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",am=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(ht=0;ht<De.length;ht++)am[De.charCodeAt(ht)]=ht;var ht,lm=function(r){var A=new Uint8Array(r),e,t=A.length,s="";for(e=0;e<t;e+=3)s+=De[A[e]>>2],s+=De[(A[e]&3)<<4|A[e+1]>>4],s+=De[(A[e+1]&15)<<2|A[e+2]>>6],s+=De[A[e+2]&63];return t%3===2?s=s.substring(0,s.length-1)+"=":t%3===1&&(s=s.substring(0,s.length-2)+"=="),s},Sl=new Map;function cm(r,A){let e=Sl.get(r);return e||(e=new Map,Sl.set(r,e)),e.has(A)||e.set(A,[]),e.get(A)}var bu=(r,A,e)=>{if(!r||!(Iu(r,A)||typeof r=="object"))return;let t=r.constructor.name,s=cm(e,t),n=s.indexOf(r);return n===-1&&(n=s.length,s.push(r)),n};function Kr(r,A,e){if(r instanceof Array)return r.map(t=>Kr(t,A,e));if(r===null)return r;if(r instanceof Float32Array||r instanceof Float64Array||r instanceof Int32Array||r instanceof Uint32Array||r instanceof Uint8Array||r instanceof Uint16Array||r instanceof Int16Array||r instanceof Int8Array||r instanceof Uint8ClampedArray)return {rr_type:r.constructor.name,args:[Object.values(r)]};if(r instanceof ArrayBuffer){let t=r.constructor.name,s=lm(r);return {rr_type:t,base64:s}}else {if(r instanceof DataView)return {rr_type:r.constructor.name,args:[Kr(r.buffer,A,e),r.byteOffset,r.byteLength]};if(r instanceof HTMLImageElement){let t=r.constructor.name,{src:s}=r;return {rr_type:t,src:s}}else if(r instanceof HTMLCanvasElement){let t="HTMLImageElement",s=r.toDataURL();return {rr_type:t,src:s}}else {if(r instanceof ImageData)return {rr_type:r.constructor.name,args:[Kr(r.data,A,e),r.width,r.height]};if(Iu(r,A)||typeof r=="object"){let t=r.constructor.name,s=bu(r,A,e);return {rr_type:t,index:s}}}}return r}var Eu=(r,A,e)=>r.map(t=>Kr(t,A,e)),Iu=(r,A)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(s=>typeof A[s]=="function").find(s=>r instanceof A[s]);function um(r,A,e,t){let s=[],n=Object.getOwnPropertyNames(A.CanvasRenderingContext2D.prototype);for(let i of n)try{if(typeof A.CanvasRenderingContext2D.prototype[i]!="function")continue;let o=Qe(A.CanvasRenderingContext2D.prototype,i,function(a){return function(...l){return BA(this.canvas,e,t,!0)||setTimeout(()=>{let c=Eu(l,A,this);r(this.canvas,{type:Ve["2D"],property:i,args:c});},0),a.apply(this,l)}});s.push(o);}catch{let o=fs(A.CanvasRenderingContext2D.prototype,i,{set(a){r(this.canvas,{type:Ve["2D"],property:i,args:[a],setter:true});}});s.push(o);}return ()=>{s.forEach(i=>i());}}function hm(r){return r==="experimental-webgl"?"webgl":r}function vl(r,A,e,t){let s=[];try{let n=Qe(r.HTMLCanvasElement.prototype,"getContext",function(i){return function(o,...a){if(!BA(this,A,e,!0)){let l=hm(o);if("__context"in this||(this.__context=l),t&&["webgl","webgl2"].includes(l))if(a[0]&&typeof a[0]=="object"){let c=a[0];c.preserveDrawingBuffer||(c.preserveDrawingBuffer=!0);}else a.splice(0,1,{preserveDrawingBuffer:!0});}return i.apply(this,[o,...a])}});s.push(n);}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext");}return ()=>{s.forEach(n=>n());}}function Hl(r,A,e,t,s,n){let i=[],o=Object.getOwnPropertyNames(r);for(let a of o)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(a))try{if(typeof r[a]!="function")continue;let l=Qe(r,a,function(c){return function(...u){let h=c.apply(this,u);if(bu(h,n,this),"tagName"in this.canvas&&!BA(this.canvas,t,s,!0)){let f=Eu(u,n,this),p={type:A,property:a,args:f};e(this.canvas,p);}return h}});i.push(l);}catch{let l=fs(r,a,{set(c){e(this.canvas,{type:A,property:a,args:[c],setter:true});}});i.push(l);}return i}function fm(r,A,e,t){let s=[];return s.push(...Hl(A.WebGLRenderingContext.prototype,Ve.WebGL,r,e,t,A)),typeof A.WebGL2RenderingContext<"u"&&s.push(...Hl(A.WebGL2RenderingContext.prototype,Ve.WebGL2,r,e,t,A)),()=>{s.forEach(n=>n());}}var xu="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGF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XRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",dm=r=>Uint8Array.from(atob(r),A=>A.charCodeAt(0)),Ll=typeof window<"u"&&window.Blob&&new Blob([dm(xu)],{type:"text/javascript;charset=utf-8"});function pm(r){let A;try{if(A=Ll&&(window.URL||window.webkitURL).createObjectURL(Ll),!A)throw "";let e=new Worker(A,{name:r?.name});return e.addEventListener("error",()=>{(window.URL||window.webkitURL).revokeObjectURL(A);}),e}catch{return new Worker("data:text/javascript;base64,"+xu,{name:r?.name})}finally{A&&(window.URL||window.webkitURL).revokeObjectURL(A);}}var Mi=class{constructor(A){U(this,"pendingCanvasMutations",new Map),U(this,"rafStamps",{latestId:0,invokeId:null}),U(this,"mirror"),U(this,"mutationCb"),U(this,"resetObservers"),U(this,"frozen",false),U(this,"locked",false),U(this,"processMutation",(a,l)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(a)||this.pendingCanvasMutations.set(a,[]),this.pendingCanvasMutations.get(a).push(l);});let{sampling:e="all",win:t,blockClass:s,blockSelector:n,recordCanvas:i,dataURLOptions:o}=A;this.mutationCb=A.mutationCb,this.mirror=A.mirror,i&&e==="all"&&this.initCanvasMutationObserver(t,s,n),i&&typeof e=="number"&&this.initCanvasFPSObserver(e,t,s,n,{dataURLOptions:o});}reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers();}freeze(){this.frozen=true;}unfreeze(){this.frozen=false;}lock(){this.locked=true;}unlock(){this.locked=false;}initCanvasFPSObserver(A,e,t,s,n){let i=vl(e,t,s,true),o=new Map,a=new pm;a.onmessage=p=>{let{id:d}=p.data;if(o.set(d,false),!("base64"in p.data))return;let{base64:B,type:m,width:w,height:g}=p.data;this.mutationCb({id:d,type:Ve["2D"],commands:[{property:"clearRect",args:[0,0,w,g]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:B}],type:m}]},0,0]}]});};let l=1e3/A,c=0,u,h=()=>{let p=[];return e.document.querySelectorAll("canvas").forEach(d=>{BA(d,t,s,true)||p.push(d);}),p},f=p=>{if(c&&p-c<l){u=requestAnimationFrame(f);return}c=p,h().forEach(async d=>{var B;let m=this.mirror.getId(d);if(o.get(m)||d.width===0||d.height===0)return;if(o.set(m,true),["webgl","webgl2"].includes(d.__context)){let g=d.getContext(d.__context);((B=g?.getContextAttributes())==null?void 0:B.preserveDrawingBuffer)===false&&g.clear(g.COLOR_BUFFER_BIT);}let w=await createImageBitmap(d);a.postMessage({id:m,bitmap:w,width:d.width,height:d.height,dataURLOptions:n.dataURLOptions},[w]);}),u=requestAnimationFrame(f);};u=requestAnimationFrame(f),this.resetObservers=()=>{i(),cancelAnimationFrame(u);};}initCanvasMutationObserver(A,e,t){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();let s=vl(A,e,t,false),n=um(this.processMutation.bind(this),A,e,t),i=fm(this.processMutation.bind(this),A,e,t);this.resetObservers=()=>{s(),n(),i();};}startPendingCanvasMutationFlusher(){requestAnimationFrame(()=>this.flushPendingCanvasMutations());}startRAFTimestamping(){let A=e=>{this.rafStamps.latestId=e,requestAnimationFrame(A);};requestAnimationFrame(A);}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((A,e)=>{let t=this.mirror.getId(e);this.flushPendingCanvasMutationFor(e,t);}),requestAnimationFrame(()=>this.flushPendingCanvasMutations());}flushPendingCanvasMutationFor(A,e){if(this.frozen||this.locked)return;let t=this.pendingCanvasMutations.get(A);if(!t||e===-1)return;let s=t.map(i=>{let{type:o,...a}=i;return a}),{type:n}=t[0];this.mutationCb({id:e,type:n,commands:s}),this.pendingCanvasMutations.delete(A);}},Oi=class{constructor(A){U(this,"trackedLinkElements",new WeakSet),U(this,"mutationCb"),U(this,"adoptedStyleSheetCb"),U(this,"styleMirror",new xi),this.mutationCb=A.mutationCb,this.adoptedStyleSheetCb=A.adoptedStyleSheetCb;}attachLinkElement(A,e){"_cssText"in e.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:e.id,attributes:e.attributes}]}),this.trackLinkElement(A);}trackLinkElement(A){this.trackedLinkElements.has(A)||(this.trackedLinkElements.add(A),this.trackStylesheetInLinkElement(A));}adoptStyleSheets(A,e){if(A.length===0)return;let t={id:e,styleIds:[]},s=[];for(let n of A){let i;this.styleMirror.has(n)?i=this.styleMirror.getId(n):(i=this.styleMirror.add(n),s.push({styleId:i,rules:Array.from(n.rules||CSSRule,(o,a)=>({rule:Rl(o,n.href),index:a}))})),t.styleIds.push(i);}s.length>0&&(t.styles=s),this.adoptedStyleSheetCb(t);}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet;}trackStylesheetInLinkElement(A){}},Ri=class{constructor(){U(this,"nodeMap",new WeakMap),U(this,"active",false);}inOtherBuffer(A,e){let t=this.nodeMap.get(A);return t&&Array.from(t).some(s=>s!==e)}add(A,e){this.active||(this.active=true,requestAnimationFrame(()=>{this.nodeMap=new WeakMap,this.active=false;})),this.nodeMap.set(A,(this.nodeMap.get(A)||new Set).add(e));}destroy(){}},eA,Nr,Xn,ts=false;try{if(Array.from([1],r=>r*2)[0]!==2){let r=document.createElement("iframe");document.body.appendChild(r),Array.from=((Ma=r.contentWindow)==null?void 0:Ma.Array.from)||Array.from,document.body.removeChild(r);}}catch(r){console.debug("Unable to override Array.from",r);}var LA=md();function PA(r={}){let{emit:A,checkoutEveryNms:e,checkoutEveryNth:t,blockClass:s="rr-block",blockSelector:n=null,ignoreClass:i="rr-ignore",ignoreSelector:o=null,maskTextClass:a="rr-mask",maskTextSelector:l=null,inlineStylesheet:c=true,maskAllInputs:u,maskInputOptions:h,slimDOMOptions:f,maskInputFn:p,maskTextFn:d,hooks:B,packFn:m,sampling:w={},dataURLOptions:g={},mousemoveWait:C,recordDOM:Q=true,recordCanvas:b=false,recordCrossOriginIframes:M=false,recordAfter:v=r.recordAfter==="DOMContentLoaded"?r.recordAfter:"load",userTriggeredOnInput:x=false,collectFonts:J=false,inlineImages:hA=false,plugins:lA,keepIframeSrcFn:L=()=>false,ignoreCSSAttributes:ee=new Set([]),errorHandler:te}=r;Xw(te);let oA=M?window.parent===window:true,bA=false;if(!oA)try{window.parent.document&&(bA=!1);}catch{bA=true;}if(oA&&!A)throw new Error("emit function is required");if(!oA&&!bA)return ()=>{};C!==void 0&&w.mousemove===void 0&&(w.mousemove=C),LA.reset();let fe=u===true?{color:true,date:true,"datetime-local":true,email:true,month:true,number:true,range:true,search:true,tel:true,text:true,time:true,url:true,week:true,textarea:true,select:true,password:true}:h!==void 0?h:{password:true},KA=_l(f);_w();let xa,vn=0,Sa=K=>{for(let HA of lA||[])HA.eventProcessor&&(K=HA.eventProcessor(K));return m&&!bA&&(K=m(K)),K};eA=(K,HA)=>{var q;let AA=K;if(AA.timestamp=qr(),(q=ge[0])!=null&&q.isFrozen()&&AA.type!==D.FullSnapshot&&!(AA.type===D.IncrementalSnapshot&&AA.data.source===O.Mutation)&&ge.forEach(QA=>QA.unfreeze()),oA)A?.(Sa(AA),HA);else if(bA){let QA={type:"rrweb",event:Sa(AA),origin:window.location.origin,isCheckout:HA};window.parent.postMessage(QA,"*");}if(AA.type===D.FullSnapshot)xa=AA,vn=0;else if(AA.type===D.IncrementalSnapshot){if(AA.data.source===O.Mutation&&AA.data.isAttachIframe)return;vn++;let QA=t&&vn>=t,G=e&&AA.timestamp-xa.timestamp>e;(QA||G)&&Nr(true);}};let or=K=>{eA({type:D.IncrementalSnapshot,data:{source:O.Mutation,...K}});},va=K=>eA({type:D.IncrementalSnapshot,data:{source:O.Scroll,...K}}),Ha=K=>eA({type:D.IncrementalSnapshot,data:{source:O.CanvasMutation,...K}}),Xf=K=>eA({type:D.IncrementalSnapshot,data:{source:O.AdoptedStyleSheet,...K}}),de=new Oi({mutationCb:or,adoptedStyleSheetCb:Xf}),pe=new Li({mirror:LA,mutationCb:or,stylesheetManager:de,recordCrossOriginIframes:M,wrappedEmit:eA});for(let K of lA||[])K.getMirror&&K.getMirror({nodeMirror:LA,crossOriginIframeMirror:pe.crossOriginIframeMirror,crossOriginIframeStyleMirror:pe.crossOriginIframeStyleMirror});let Hn=new Ri;Xn=new Mi({recordCanvas:b,mutationCb:Ha,win:window,blockClass:s,blockSelector:n,mirror:LA,sampling:w.canvas,dataURLOptions:g});let ar=new Ti({mutationCb:or,scrollCb:va,bypassOptions:{blockClass:s,blockSelector:n,maskTextClass:a,maskTextSelector:l,inlineStylesheet:c,maskInputOptions:fe,dataURLOptions:g,maskTextFn:d,maskInputFn:p,recordCanvas:b,inlineImages:hA,sampling:w,slimDOMOptions:KA,iframeManager:pe,stylesheetManager:de,canvasManager:Xn,keepIframeSrcFn:L,processedNodeManager:Hn},mirror:LA});Nr=(K=false)=>{if(!Q)return;eA({type:D.Meta,data:{href:window.location.href,width:fu(),height:hu()}},K),de.reset(),ar.init(),ge.forEach(q=>q.lock());let HA=Gd(document,{mirror:LA,blockClass:s,blockSelector:n,maskTextClass:a,maskTextSelector:l,inlineStylesheet:c,maskAllInputs:fe,maskTextFn:d,maskInputFn:p,slimDOM:KA,dataURLOptions:g,recordCanvas:b,inlineImages:hA,onSerialize:q=>{Bu(q,LA)&&pe.addIframe(q),gu(q,LA)&&de.trackLinkElement(q),Ii(q)&&ar.addShadowRoot(H.shadowRoot(q),document);},onIframeLoad:(q,AA)=>{pe.attachIframe(q,AA),ar.observeAttachShadow(q);},onStylesheetLoad:(q,AA)=>{de.attachLinkElement(q,AA);},keepIframeSrcFn:L});if(!HA)return console.warn("Failed to snapshot the document");eA({type:D.FullSnapshot,data:{node:HA,initialOffset:uu(window)}},K),ge.forEach(q=>q.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&de.adoptStyleSheets(document.adoptedStyleSheets,LA.getId(document));};try{let K=[],HA=AA=>{var QA;return R(om)({mutationCb:or,mousemoveCb:(G,Ln)=>eA({type:D.IncrementalSnapshot,data:{source:Ln,positions:G}}),mouseInteractionCb:G=>eA({type:D.IncrementalSnapshot,data:{source:O.MouseInteraction,...G}}),scrollCb:va,viewportResizeCb:G=>eA({type:D.IncrementalSnapshot,data:{source:O.ViewportResize,...G}}),inputCb:G=>eA({type:D.IncrementalSnapshot,data:{source:O.Input,...G}}),mediaInteractionCb:G=>eA({type:D.IncrementalSnapshot,data:{source:O.MediaInteraction,...G}}),styleSheetRuleCb:G=>eA({type:D.IncrementalSnapshot,data:{source:O.StyleSheetRule,...G}}),styleDeclarationCb:G=>eA({type:D.IncrementalSnapshot,data:{source:O.StyleDeclaration,...G}}),canvasMutationCb:Ha,fontCb:G=>eA({type:D.IncrementalSnapshot,data:{source:O.Font,...G}}),selectionCb:G=>{eA({type:D.IncrementalSnapshot,data:{source:O.Selection,...G}});},customElementCb:G=>{eA({type:D.IncrementalSnapshot,data:{source:O.CustomElement,...G}});},blockClass:s,ignoreClass:i,ignoreSelector:o,maskTextClass:a,maskTextSelector:l,maskInputOptions:fe,inlineStylesheet:c,sampling:w,recordDOM:Q,recordCanvas:b,inlineImages:hA,userTriggeredOnInput:x,collectFonts:J,doc:AA,maskInputFn:p,maskTextFn:d,keepIframeSrcFn:L,blockSelector:n,slimDOMOptions:KA,dataURLOptions:g,mirror:LA,iframeManager:pe,stylesheetManager:de,shadowDomManager:ar,processedNodeManager:Hn,canvasManager:Xn,ignoreCSSAttributes:ee,plugins:((QA=lA?.filter(G=>G.observer))==null?void 0:QA.map(G=>({observer:G.observer,options:G.options,callback:Ln=>eA({type:D.Plugin,data:{plugin:G.name,payload:Ln}})})))||[]},B)};pe.addLoadListener(AA=>{try{K.push(HA(AA.contentDocument));}catch(QA){console.warn(QA);}});let q=()=>{Nr(),K.push(HA(document)),ts=!0;};return ["interactive","complete"].includes(document.readyState)?q():(K.push(pA("DOMContentLoaded",()=>{eA({type:D.DomContentLoaded,data:{}}),v==="DOMContentLoaded"&&q();})),K.push(pA("load",()=>{eA({type:D.Load,data:{}}),v==="load"&&q();},window))),()=>{K.forEach(AA=>{try{AA();}catch(QA){String(QA).toLowerCase().includes("cross-origin")||console.warn(QA);}}),Hn.destroy(),ts=!1,Jw();}}catch(K){console.warn(K);}}PA.addCustomEvent=(r,A)=>{if(!ts)throw new Error("please add custom event after start recording");eA({type:D.Custom,data:{tag:r,payload:A}});};PA.freezePage=()=>{ge.forEach(r=>r.freeze());};PA.takeFullSnapshot=r=>{if(!ts)throw new Error("please take full snapshot after start recording");Nr(r);};PA.mirror=LA;var Tl;(function(r){r[r.NotStarted=0]="NotStarted",r[r.Running=1]="Running",r[r.Stopped=2]="Stopped";})(Tl||(Tl={}));var io=6e4,oo=5e3,ds=class{buffer=[];stopFn=null;active=false;start(){if(this.active)return;this.active=true;let A=PA({emit:e=>{this.buffer.push(e),this.pruneBuffer();},checkoutEveryNms:io,inlineStylesheet:true,inlineImages:true,collectFonts:true,sampling:{mousemove:50,mouseInteraction:true,scroll:150,input:"last",media:800},slimDOMOptions:{script:true,comment:true,headFavicon:true,headWhitespace:true,headMetaDescKeywords:true,headMetaSocial:true,headMetaRobots:true,headMetaHttpEquiv:true,headMetaAuthorship:true},blockClass:"bugdump-block",maskAllInputs:true});A&&(this.stopFn=A),this.schedulePostLoadSnapshot();}schedulePostLoadSnapshot(){let A=()=>{this.active&&PA.takeFullSnapshot&&PA.takeFullSnapshot();};document.readyState==="complete"?setTimeout(A,100):window.addEventListener("load",()=>setTimeout(A,100),{once:true});}stop(){this.active&&(this.active=false,this.stopFn&&(this.stopFn(),this.stopFn=null));}flush(){this.active&&PA.takeFullSnapshot&&PA.takeFullSnapshot();let A=this.extractReplayableSlice();return this.buffer=[],A}extractReplayableSlice(){let A=Date.now()-io,e=-1;for(let i=this.buffer.length-1;i>=0;i--)if(this.buffer[i]?.type===2){e=i;break}if(e===-1)return [];let t=e;t>0&&this.buffer[t-1]?.type===4&&(t=t-1);let s=this.buffer.slice(t),n=-1;for(let i=0;i<this.buffer.length;i++){let o=this.buffer[i];if(o&&!(o.timestamp<A)){if(o.type===2){n=i;break}if(o.type===4&&this.buffer[i+1]?.type===2){n=i;break}}}if(n>=0){let i=this.buffer.slice(n);if(i.length>s.length)return i}return s}pruneBuffer(){if(this.buffer.length<=oo)return;let A=Date.now()-io,e=this.buffer.findIndex(t=>t.timestamp>=A);if(e===-1){let t=this.findLastSnapshotStart();this.buffer=t>=0?this.buffer.slice(t):[];return}if(e>0){let t=-1;for(let s=e;s>=0;s--)if(this.buffer[s]?.type===2){t=s;break}if(t>=0){let s=t>0&&this.buffer[t-1]?.type===4?t-1:t;this.buffer=this.buffer.slice(s);}else this.buffer=this.buffer.slice(e);}if(this.buffer.length>oo){let t=this.findLastSnapshotStart();t>0?this.buffer=this.buffer.slice(t):this.buffer=this.buffer.slice(-oo);}}findLastSnapshotStart(){for(let A=this.buffer.length-1;A>=0;A--)if(this.buffer[A]?.type===2)return A>0&&this.buffer[A-1]?.type===4?A-1:A;return -1}};function Su(){return {timing:Bm(),memory:gm(),resources:wm()}}function Bm(){let r=performance.getEntriesByType("navigation");if(r.length===0)return null;let A=r[0],e=performance.getEntriesByType("paint"),t=e.find(n=>n.name==="first-paint"),s=e.find(n=>n.name==="first-contentful-paint");return {domContentLoaded:A.domContentLoadedEventEnd>0?Math.round(A.domContentLoadedEventEnd):null,loadComplete:A.loadEventEnd>0?Math.round(A.loadEventEnd):null,firstPaint:t?Math.round(t.startTime):null,firstContentfulPaint:s?Math.round(s.startTime):null,ttfb:A.responseStart>0?Math.round(A.responseStart):null}}function gm(){let r=performance;return r.memory?{usedJSHeapSize:r.memory.usedJSHeapSize,totalJSHeapSize:r.memory.totalJSHeapSize,jsHeapSizeLimit:r.memory.jsHeapSizeLimit}:null}function wm(){return performance.getEntriesByType("resource").slice(-20).map(A=>({name:A.name,type:A.initiatorType,duration:Math.round(A.duration),size:A.transferSize||0}))}function vu(){return {userAgent:navigator.userAgent,language:navigator.language,platform:navigator.platform,viewport:{width:window.innerWidth,height:window.innerHeight},screenResolution:{width:screen.width,height:screen.height},devicePixelRatio:window.devicePixelRatio||1,url:window.location.href,referrer:document.referrer,timestamp:Date.now()}}var E={primary:"#6366f1",primaryHover:"#4f46e5",primaryText:"#ffffff",bg:"#ffffff",bgSecondary:"#f9fafb",bgHover:"#f3f4f6",border:"#e5e7eb",borderFocus:"#6366f1",text:"#111827",textSecondary:"#6b7280",textMuted:"#9ca3af",danger:"#ef4444",dangerHover:"#dc2626",shadow:"rgba(0, 0, 0, 0.15)",shadowLight:"rgba(0, 0, 0, 0.08)"};function Hu(){return `
|
|
60
60
|
* {
|
|
61
61
|
box-sizing: border-box;
|
|
62
62
|
margin: 0;
|
|
@@ -70,23 +70,23 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
70
70
|
width: 56px;
|
|
71
71
|
height: 56px;
|
|
72
72
|
border-radius: 50%;
|
|
73
|
-
background: ${
|
|
74
|
-
color: ${
|
|
73
|
+
background: ${E.primary};
|
|
74
|
+
color: ${E.primaryText};
|
|
75
75
|
border: none;
|
|
76
76
|
cursor: pointer;
|
|
77
77
|
display: flex;
|
|
78
78
|
align-items: center;
|
|
79
79
|
justify-content: center;
|
|
80
|
-
box-shadow: 0 4px 12px ${
|
|
80
|
+
box-shadow: 0 4px 12px ${E.shadow};
|
|
81
81
|
transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
|
|
82
82
|
z-index: 2147483647;
|
|
83
83
|
outline: none;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.bd-trigger:hover {
|
|
87
|
-
background: ${
|
|
87
|
+
background: ${E.primaryHover};
|
|
88
88
|
transform: scale(1.05);
|
|
89
|
-
box-shadow: 0 6px 16px ${
|
|
89
|
+
box-shadow: 0 6px 16px ${E.shadow};
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.bd-trigger:active {
|
|
@@ -109,9 +109,9 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
109
109
|
right: 20px;
|
|
110
110
|
width: 380px;
|
|
111
111
|
max-height: calc(100vh - 120px);
|
|
112
|
-
background: ${
|
|
112
|
+
background: ${E.bg};
|
|
113
113
|
border-radius: 16px;
|
|
114
|
-
box-shadow: 0 8px 32px ${
|
|
114
|
+
box-shadow: 0 8px 32px ${E.shadow}, 0 2px 8px ${E.shadowLight};
|
|
115
115
|
display: flex;
|
|
116
116
|
flex-direction: column;
|
|
117
117
|
overflow: hidden;
|
|
@@ -123,7 +123,7 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
123
123
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
124
124
|
font-size: 14px;
|
|
125
125
|
line-height: 1.5;
|
|
126
|
-
color: ${
|
|
126
|
+
color: ${E.text};
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.bd-panel--visible {
|
|
@@ -137,21 +137,21 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
137
137
|
align-items: center;
|
|
138
138
|
justify-content: space-between;
|
|
139
139
|
padding: 16px 20px;
|
|
140
|
-
border-bottom: 1px solid ${
|
|
141
|
-
background: ${
|
|
140
|
+
border-bottom: 1px solid ${E.border};
|
|
141
|
+
background: ${E.bgSecondary};
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
.bd-panel__title {
|
|
145
145
|
font-size: 16px;
|
|
146
146
|
font-weight: 600;
|
|
147
|
-
color: ${
|
|
147
|
+
color: ${E.text};
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.bd-panel__close {
|
|
151
151
|
background: none;
|
|
152
152
|
border: none;
|
|
153
153
|
cursor: pointer;
|
|
154
|
-
color: ${
|
|
154
|
+
color: ${E.textSecondary};
|
|
155
155
|
padding: 4px;
|
|
156
156
|
border-radius: 6px;
|
|
157
157
|
display: flex;
|
|
@@ -161,8 +161,8 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
.bd-panel__close:hover {
|
|
164
|
-
color: ${
|
|
165
|
-
background: ${
|
|
164
|
+
color: ${E.text};
|
|
165
|
+
background: ${E.bgHover};
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
.bd-panel__close svg {
|
|
@@ -183,24 +183,24 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
183
183
|
width: 100%;
|
|
184
184
|
min-height: 100px;
|
|
185
185
|
padding: 10px 12px;
|
|
186
|
-
border: 1px solid ${
|
|
186
|
+
border: 1px solid ${E.border};
|
|
187
187
|
border-radius: 8px;
|
|
188
188
|
resize: vertical;
|
|
189
189
|
font-family: inherit;
|
|
190
190
|
font-size: 14px;
|
|
191
191
|
line-height: 1.5;
|
|
192
|
-
color: ${
|
|
193
|
-
background: ${
|
|
192
|
+
color: ${E.text};
|
|
193
|
+
background: ${E.bg};
|
|
194
194
|
outline: none;
|
|
195
195
|
transition: border-color 0.15s;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
.bd-textarea::placeholder {
|
|
199
|
-
color: ${
|
|
199
|
+
color: ${E.textMuted};
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
.bd-textarea:focus {
|
|
203
|
-
border-color: ${
|
|
203
|
+
border-color: ${E.borderFocus};
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
.bd-action-bar {
|
|
@@ -214,10 +214,10 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
214
214
|
align-items: center;
|
|
215
215
|
gap: 6px;
|
|
216
216
|
padding: 6px 10px;
|
|
217
|
-
border: 1px solid ${
|
|
217
|
+
border: 1px solid ${E.border};
|
|
218
218
|
border-radius: 6px;
|
|
219
|
-
background: ${
|
|
220
|
-
color: ${
|
|
219
|
+
background: ${E.bg};
|
|
220
|
+
color: ${E.textSecondary};
|
|
221
221
|
font-size: 13px;
|
|
222
222
|
font-family: inherit;
|
|
223
223
|
cursor: pointer;
|
|
@@ -225,9 +225,9 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
.bd-action-btn:hover {
|
|
228
|
-
color: ${
|
|
229
|
-
border-color: ${
|
|
230
|
-
background: ${
|
|
228
|
+
color: ${E.text};
|
|
229
|
+
border-color: ${E.textSecondary};
|
|
230
|
+
background: ${E.bgSecondary};
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
.bd-action-btn:disabled {
|
|
@@ -253,8 +253,8 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
253
253
|
height: 64px;
|
|
254
254
|
border-radius: 8px;
|
|
255
255
|
overflow: hidden;
|
|
256
|
-
border: 1px solid ${
|
|
257
|
-
background: ${
|
|
256
|
+
border: 1px solid ${E.border};
|
|
257
|
+
background: ${E.bgSecondary};
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
.bd-attachment img,
|
|
@@ -270,7 +270,7 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
270
270
|
display: flex;
|
|
271
271
|
align-items: center;
|
|
272
272
|
justify-content: center;
|
|
273
|
-
color: ${
|
|
273
|
+
color: ${E.textSecondary};
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
.bd-attachment__icon svg {
|
|
@@ -285,9 +285,9 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
285
285
|
width: 20px;
|
|
286
286
|
height: 20px;
|
|
287
287
|
border-radius: 50%;
|
|
288
|
-
background: ${
|
|
289
|
-
color: ${
|
|
290
|
-
border: 2px solid ${
|
|
288
|
+
background: ${E.danger};
|
|
289
|
+
color: ${E.primaryText};
|
|
290
|
+
border: 2px solid ${E.bg};
|
|
291
291
|
cursor: pointer;
|
|
292
292
|
display: flex;
|
|
293
293
|
align-items: center;
|
|
@@ -299,7 +299,7 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
.bd-attachment__remove:hover {
|
|
302
|
-
background: ${
|
|
302
|
+
background: ${E.dangerHover};
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
.bd-attachment__remove svg {
|
|
@@ -316,13 +316,13 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
316
316
|
cursor: pointer;
|
|
317
317
|
font-size: 13px;
|
|
318
318
|
font-family: inherit;
|
|
319
|
-
color: ${
|
|
319
|
+
color: ${E.textSecondary};
|
|
320
320
|
padding: 0;
|
|
321
321
|
transition: color 0.15s;
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
.bd-reporter-toggle:hover {
|
|
325
|
-
color: ${
|
|
325
|
+
color: ${E.text};
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
.bd-reporter-toggle svg {
|
|
@@ -349,27 +349,27 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
349
349
|
.bd-input {
|
|
350
350
|
width: 100%;
|
|
351
351
|
padding: 8px 12px;
|
|
352
|
-
border: 1px solid ${
|
|
352
|
+
border: 1px solid ${E.border};
|
|
353
353
|
border-radius: 8px;
|
|
354
354
|
font-family: inherit;
|
|
355
355
|
font-size: 14px;
|
|
356
|
-
color: ${
|
|
357
|
-
background: ${
|
|
356
|
+
color: ${E.text};
|
|
357
|
+
background: ${E.bg};
|
|
358
358
|
outline: none;
|
|
359
359
|
transition: border-color 0.15s;
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
.bd-input::placeholder {
|
|
363
|
-
color: ${
|
|
363
|
+
color: ${E.textMuted};
|
|
364
364
|
}
|
|
365
365
|
|
|
366
366
|
.bd-input:focus {
|
|
367
|
-
border-color: ${
|
|
367
|
+
border-color: ${E.borderFocus};
|
|
368
368
|
}
|
|
369
369
|
|
|
370
370
|
.bd-panel__footer {
|
|
371
371
|
padding: 12px 20px;
|
|
372
|
-
border-top: 1px solid ${
|
|
372
|
+
border-top: 1px solid ${E.border};
|
|
373
373
|
display: flex;
|
|
374
374
|
justify-content: flex-end;
|
|
375
375
|
gap: 8px;
|
|
@@ -380,8 +380,8 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
380
380
|
align-items: center;
|
|
381
381
|
gap: 6px;
|
|
382
382
|
padding: 8px 20px;
|
|
383
|
-
background: ${
|
|
384
|
-
color: ${
|
|
383
|
+
background: ${E.primary};
|
|
384
|
+
color: ${E.primaryText};
|
|
385
385
|
border: none;
|
|
386
386
|
border-radius: 8px;
|
|
387
387
|
font-size: 14px;
|
|
@@ -392,7 +392,7 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
392
392
|
}
|
|
393
393
|
|
|
394
394
|
.bd-send-btn:hover {
|
|
395
|
-
background: ${
|
|
395
|
+
background: ${E.primaryHover};
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
.bd-send-btn:disabled {
|
|
@@ -428,82 +428,13 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
428
428
|
|
|
429
429
|
.bd-success__subtitle {
|
|
430
430
|
font-size: 14px;
|
|
431
|
-
color: ${
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
.bd-annotation-overlay {
|
|
435
|
-
position: fixed;
|
|
436
|
-
top: 0;
|
|
437
|
-
left: 0;
|
|
438
|
-
width: 100%;
|
|
439
|
-
height: 100%;
|
|
440
|
-
z-index: 2147483647;
|
|
441
|
-
background: ${S.overlay};
|
|
442
|
-
display: flex;
|
|
443
|
-
flex-direction: column;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
.bd-annotation-toolbar {
|
|
447
|
-
display: flex;
|
|
448
|
-
align-items: center;
|
|
449
|
-
gap: 4px;
|
|
450
|
-
padding: 8px 12px;
|
|
451
|
-
background: rgba(0, 0, 0, 0.85);
|
|
452
|
-
color: ${S.primaryText};
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
.bd-annotation-toolbar button {
|
|
456
|
-
padding: 6px 10px;
|
|
457
|
-
background: transparent;
|
|
458
|
-
color: ${S.primaryText};
|
|
459
|
-
border: 1px solid transparent;
|
|
460
|
-
border-radius: 6px;
|
|
461
|
-
font-size: 13px;
|
|
462
|
-
font-family: inherit;
|
|
463
|
-
cursor: pointer;
|
|
464
|
-
transition: background-color 0.15s, border-color 0.15s;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
.bd-annotation-toolbar button:hover {
|
|
468
|
-
background: rgba(255, 255, 255, 0.1);
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
.bd-annotation-toolbar button.active {
|
|
472
|
-
background: rgba(255, 255, 255, 0.2);
|
|
473
|
-
border-color: rgba(255, 255, 255, 0.3);
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
.bd-annotation-toolbar__spacer {
|
|
477
|
-
flex: 1;
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
.bd-annotation-toolbar__confirm {
|
|
481
|
-
background: #22c55e !important;
|
|
482
|
-
color: ${S.primaryText} !important;
|
|
483
|
-
font-weight: 500;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
.bd-annotation-toolbar__confirm:hover {
|
|
487
|
-
background: #16a34a !important;
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
.bd-annotation-toolbar__cancel {
|
|
491
|
-
color: ${S.textMuted} !important;
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
.bd-annotation-canvas-wrap {
|
|
495
|
-
flex: 1;
|
|
496
|
-
display: flex;
|
|
497
|
-
align-items: center;
|
|
498
|
-
justify-content: center;
|
|
499
|
-
overflow: hidden;
|
|
500
|
-
position: relative;
|
|
431
|
+
color: ${E.textSecondary};
|
|
501
432
|
}
|
|
502
433
|
|
|
503
434
|
.bd-spinner {
|
|
504
435
|
width: 20px;
|
|
505
436
|
height: 20px;
|
|
506
|
-
border: 2px solid ${
|
|
437
|
+
border: 2px solid ${E.primaryText};
|
|
507
438
|
border-top-color: transparent;
|
|
508
439
|
border-radius: 50%;
|
|
509
440
|
animation: bd-spin 0.6s linear infinite;
|
|
@@ -527,22 +458,26 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
527
458
|
border-radius: 16px 16px 0 0;
|
|
528
459
|
}
|
|
529
460
|
}
|
|
530
|
-
`}function gi(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 2l1.88 1.88"/><path d="M14.12 3.88 16 2"/><path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1"/><path d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6"/><path d="M12 20v-9"/><path d="M6.53 9C4.6 8.8 3 7.1 3 5"/><path d="M6 13H2"/><path d="M3 21c0-2.1 1.7-3.9 3.8-4"/><path d="M20.97 5c0 2.1-1.6 3.8-3.5 4"/><path d="M22 13h-4"/><path d="M17.2 17c2.1.1 3.8 1.9 3.8 4"/></svg>'}function kr(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>'}function Pa(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48"/></svg>'}function Ta(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z"/><circle cx="12" cy="13" r="3"/></svg>'}function yi(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5"/><rect x="2" y="6" width="14" height="12" rx="2"/></svg>'}function wi(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m22 2-7 20-4-9-9-4z"/><path d="M22 2 11 13"/></svg>'}function La(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6"/></svg>'}function Da(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><path d="m9 11 3 3L22 4"/></svg>'}function _a(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/></svg>'}function Na(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>'}function Ba(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="6" y="6" width="12" height="12" rx="2"/></svg>'}function Fa(n,e){if(n.match(/^[a-z]+:\/\//i))return n;if(n.match(/^\/\//))return window.location.protocol+n;if(n.match(/^[a-z]+:/i))return n;let t=document.implementation.createHTMLDocument(),r=t.createElement("base"),i=t.createElement("a");return t.head.appendChild(r),t.body.appendChild(i),e&&(r.href=e),i.href=n,i.href}var Ua=(()=>{let n=0,e=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return ()=>(n+=1,`u${e()}${n}`)})();function le(n){let e=[];for(let t=0,r=n.length;t<r;t++)e.push(n[t]);return e}var He=null;function Tr(n={}){return He||(n.includeStyleProperties?(He=n.includeStyleProperties,He):(He=le(window.getComputedStyle(document.documentElement)),He))}function Pr(n,e){let r=(n.ownerDocument.defaultView||window).getComputedStyle(n).getPropertyValue(e);return r?parseFloat(r.replace("px","")):0}function Ud(n){let e=Pr(n,"border-left-width"),t=Pr(n,"border-right-width");return n.clientWidth+e+t}function Hd(n){let e=Pr(n,"border-top-width"),t=Pr(n,"border-bottom-width");return n.clientHeight+e+t}function bi(n,e={}){let t=e.width||Ud(n),r=e.height||Hd(n);return {width:t,height:r}}function Ha(){let n,e;try{e=process;}catch{}let t=e&&e.env?e.env.devicePixelRatio:null;return t&&(n=parseInt(t,10),Number.isNaN(n)&&(n=1)),n||window.devicePixelRatio||1}var ee=16384;function za(n){(n.width>ee||n.height>ee)&&(n.width>ee&&n.height>ee?n.width>n.height?(n.height*=ee/n.width,n.width=ee):(n.width*=ee/n.height,n.height=ee):n.width>ee?(n.height*=ee/n.width,n.width=ee):(n.width*=ee/n.height,n.height=ee));}function Wa(n,e={}){return n.toBlob?new Promise(t=>{n.toBlob(t,e.type?e.type:"image/png",e.quality?e.quality:1);}):new Promise(t=>{let r=window.atob(n.toDataURL(e.type?e.type:void 0,e.quality?e.quality:void 0).split(",")[1]),i=r.length,s=new Uint8Array(i);for(let o=0;o<i;o+=1)s[o]=r.charCodeAt(o);t(new Blob([s],{type:e.type?e.type:"image/png"}));})}function ze(n){return new Promise((e,t)=>{let r=new Image;r.onload=()=>{r.decode().then(()=>{requestAnimationFrame(()=>e(r));});},r.onerror=t,r.crossOrigin="anonymous",r.decoding="async",r.src=n;})}async function zd(n){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(n)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function ja(n,e,t){let r="http://www.w3.org/2000/svg",i=document.createElementNS(r,"svg"),s=document.createElementNS(r,"foreignObject");return i.setAttribute("width",`${e}`),i.setAttribute("height",`${t}`),i.setAttribute("viewBox",`0 0 ${e} ${t}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),i.appendChild(s),s.appendChild(n),zd(i)}var Z=(n,e)=>{if(n instanceof e)return true;let t=Object.getPrototypeOf(n);return t===null?false:t.constructor.name===e.name||Z(t,e)};function Wd(n){let e=n.getPropertyValue("content");return `${n.cssText} content: '${e.replace(/'|"/g,"")}';`}function jd(n,e){return Tr(e).map(t=>{let r=n.getPropertyValue(t),i=n.getPropertyPriority(t);return `${t}: ${r}${i?" !important":""};`}).join(" ")}function Vd(n,e,t,r){let i=`.${n}:${e}`,s=t.cssText?Wd(t):jd(t,r);return document.createTextNode(`${i}{${s}}`)}function Va(n,e,t,r){let i=window.getComputedStyle(n,t),s=i.getPropertyValue("content");if(s===""||s==="none")return;let o=Ua();try{e.className=`${e.className} ${o}`;}catch{return}let l=document.createElement("style");l.appendChild(Vd(o,t,i,r)),e.appendChild(l);}function Ga(n,e,t){Va(n,e,":before",t),Va(n,e,":after",t);}var Ya="application/font-woff",Xa="image/jpeg",Gd={woff:Ya,woff2:Ya,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Xa,jpeg:Xa,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Yd(n){let e=/\.([^./]*?)$/g.exec(n);return e?e[1]:""}function We(n){let e=Yd(n).toLowerCase();return Gd[e]||""}function Xd(n){return n.split(/,/)[1]}function bt(n){return n.search(/^(data:)/)!==-1}function Si(n,e){return `data:${e};base64,${n}`}async function Ci(n,e,t){let r=await fetch(n,e);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);let i=await r.blob();return new Promise((s,o)=>{let l=new FileReader;l.onerror=o,l.onloadend=()=>{try{s(t({res:r,result:l.result}));}catch(a){o(a);}},l.readAsDataURL(i);})}var vi={};function Zd(n,e,t){let r=n.replace(/\?.*/,"");return t&&(r=n),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),e?`[${e}]${r}`:r}async function je(n,e,t){let r=Zd(n,e,t.includeQueryParams);if(vi[r]!=null)return vi[r];t.cacheBust&&(n+=(/\?/.test(n)?"&":"?")+new Date().getTime());let i;try{let s=await Ci(n,t.fetchRequestInit,({res:o,result:l})=>(e||(e=o.headers.get("Content-Type")||""),Xd(l)));i=Si(s,e);}catch(s){i=t.imagePlaceholder||"";let o=`Failed to fetch resource: ${n}`;s&&(o=typeof s=="string"?s:s.message),o&&console.warn(o);}return vi[r]=i,i}async function Jd(n){let e=n.toDataURL();return e==="data:,"?n.cloneNode(false):ze(e)}async function qd(n,e){if(n.currentSrc){let s=document.createElement("canvas"),o=s.getContext("2d");s.width=n.clientWidth,s.height=n.clientHeight,o?.drawImage(n,0,0,s.width,s.height);let l=s.toDataURL();return ze(l)}let t=n.poster,r=We(t),i=await je(t,r,e);return ze(i)}async function Kd(n,e){var t;try{if(!((t=n?.contentDocument)===null||t===void 0)&&t.body)return await vt(n.contentDocument.body,e,!0)}catch{}return n.cloneNode(false)}async function Qd(n,e){return Z(n,HTMLCanvasElement)?Jd(n):Z(n,HTMLVideoElement)?qd(n,e):Z(n,HTMLIFrameElement)?Kd(n,e):n.cloneNode(Za(n))}var ep=n=>n.tagName!=null&&n.tagName.toUpperCase()==="SLOT",Za=n=>n.tagName!=null&&n.tagName.toUpperCase()==="SVG";async function tp(n,e,t){var r,i;if(Za(e))return e;let s=[];return ep(n)&&n.assignedNodes?s=le(n.assignedNodes()):Z(n,HTMLIFrameElement)&&(!((r=n.contentDocument)===null||r===void 0)&&r.body)?s=le(n.contentDocument.body.childNodes):s=le(((i=n.shadowRoot)!==null&&i!==void 0?i:n).childNodes),s.length===0||Z(n,HTMLVideoElement)||await s.reduce((o,l)=>o.then(()=>vt(l,t)).then(a=>{a&&e.appendChild(a);}),Promise.resolve()),e}function rp(n,e,t){let r=e.style;if(!r)return;let i=window.getComputedStyle(n);i.cssText?(r.cssText=i.cssText,r.transformOrigin=i.transformOrigin):Tr(t).forEach(s=>{let o=i.getPropertyValue(s);s==="font-size"&&o.endsWith("px")&&(o=`${Math.floor(parseFloat(o.substring(0,o.length-2)))-.1}px`),Z(n,HTMLIFrameElement)&&s==="display"&&o==="inline"&&(o="block"),s==="d"&&e.getAttribute("d")&&(o=`path(${e.getAttribute("d")})`),r.setProperty(s,o,i.getPropertyPriority(s));});}function np(n,e){Z(n,HTMLTextAreaElement)&&(e.innerHTML=n.value),Z(n,HTMLInputElement)&&e.setAttribute("value",n.value);}function ip(n,e){if(Z(n,HTMLSelectElement)){let r=Array.from(e.children).find(i=>n.value===i.getAttribute("value"));r&&r.setAttribute("selected","");}}function sp(n,e,t){return Z(e,Element)&&(rp(n,e,t),Ga(n,e,t),np(n,e),ip(n,e)),e}async function op(n,e){let t=n.querySelectorAll?n.querySelectorAll("use"):[];if(t.length===0)return n;let r={};for(let s=0;s<t.length;s++){let l=t[s].getAttribute("xlink:href");if(l){let a=n.querySelector(l),u=document.querySelector(l);!a&&u&&!r[l]&&(r[l]=await vt(u,e,true));}}let i=Object.values(r);if(i.length){let s="http://www.w3.org/1999/xhtml",o=document.createElementNS(s,"svg");o.setAttribute("xmlns",s),o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.overflow="hidden",o.style.display="none";let l=document.createElementNS(s,"defs");o.appendChild(l);for(let a=0;a<i.length;a++)l.appendChild(i[a]);n.appendChild(o);}return n}async function vt(n,e,t){return !t&&e.filter&&!e.filter(n)?null:Promise.resolve(n).then(r=>Qd(r,e)).then(r=>tp(n,r,e)).then(r=>sp(n,r,e)).then(r=>op(r,e))}var Ja=/url\((['"]?)([^'"]+?)\1\)/g,ap=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,lp=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function up(n){let e=n.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function cp(n){let e=[];return n.replace(Ja,(t,r,i)=>(e.push(i),t)),e.filter(t=>!bt(t))}async function hp(n,e,t,r,i){try{let s=t?Fa(e,t):e,o=We(e),l;if(i);else l=await je(s,o,r);return n.replace(up(e),`$1${l}$3`)}catch{}return n}function fp(n,{preferredFontFormat:e}){return e?n.replace(lp,t=>{for(;;){let[r,,i]=ap.exec(t)||[];if(!i)return "";if(i===e)return `src: ${r};`}}):n}function xi(n){return n.search(Ja)!==-1}async function Lr(n,e,t){if(!xi(n))return n;let r=fp(n,t);return cp(r).reduce((s,o)=>s.then(l=>hp(l,o,e,t)),Promise.resolve(r))}async function Ve(n,e,t){var r;let i=(r=e.style)===null||r===void 0?void 0:r.getPropertyValue(n);if(i){let s=await Lr(i,null,t);return e.style.setProperty(n,s,e.style.getPropertyPriority(n)),true}return false}async function dp(n,e){await Ve("background",n,e)||await Ve("background-image",n,e),await Ve("mask",n,e)||await Ve("-webkit-mask",n,e)||await Ve("mask-image",n,e)||await Ve("-webkit-mask-image",n,e);}async function pp(n,e){let t=Z(n,HTMLImageElement);if(!(t&&!bt(n.src))&&!(Z(n,SVGImageElement)&&!bt(n.href.baseVal)))return;let r=t?n.src:n.href.baseVal,i=await je(r,We(r),e);await new Promise((s,o)=>{n.onload=s,n.onerror=e.onImageErrorHandler?(...a)=>{try{s(e.onImageErrorHandler(...a));}catch(u){o(u);}}:o;let l=n;l.decode&&(l.decode=s),l.loading==="lazy"&&(l.loading="eager"),t?(n.srcset="",n.src=i):n.href.baseVal=i;});}async function mp(n,e){let r=le(n.childNodes).map(i=>Ii(i,e));await Promise.all(r).then(()=>n);}async function Ii(n,e){Z(n,Element)&&(await dp(n,e),await pp(n,e),await mp(n,e));}function qa(n,e){let{style:t}=n;e.backgroundColor&&(t.backgroundColor=e.backgroundColor),e.width&&(t.width=`${e.width}px`),e.height&&(t.height=`${e.height}px`);let r=e.style;return r!=null&&Object.keys(r).forEach(i=>{t[i]=r[i];}),n}var Ka={};async function Qa(n){let e=Ka[n];if(e!=null)return e;let r=await(await fetch(n)).text();return e={url:n,cssText:r},Ka[n]=e,e}async function el(n,e){let t=n.cssText,r=/url\(["']?([^"')]+)["']?\)/g,s=(t.match(/url\([^)]+\)/g)||[]).map(async o=>{let l=o.replace(r,"$1");return l.startsWith("https://")||(l=new URL(l,n.url).href),Ci(l,e.fetchRequestInit,({result:a})=>(t=t.replace(o,`url(${a})`),[o,a]))});return Promise.all(s).then(()=>t)}function tl(n){if(n==null)return [];let e=[],t=/(\/\*[\s\S]*?\*\/)/gi,r=n.replace(t,""),i=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let a=i.exec(r);if(a===null)break;e.push(a[0]);}r=r.replace(i,"");let s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,o="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",l=new RegExp(o,"gi");for(;;){let a=s.exec(r);if(a===null){if(a=l.exec(r),a===null)break;s.lastIndex=l.lastIndex;}else l.lastIndex=s.lastIndex;e.push(a[0]);}return e}async function gp(n,e){let t=[],r=[];return n.forEach(i=>{if("cssRules"in i)try{le(i.cssRules||[]).forEach((s,o)=>{if(s.type===CSSRule.IMPORT_RULE){let l=o+1,a=s.href,u=Qa(a).then(c=>el(c,e)).then(c=>tl(c).forEach(h=>{try{i.insertRule(h,h.startsWith("@import")?l+=1:i.cssRules.length);}catch(p){console.error("Error inserting rule from remote css",{rule:h,error:p});}})).catch(c=>{console.error("Error loading remote css",c.toString());});r.push(u);}});}catch(s){let o=n.find(l=>l.href==null)||document.styleSheets[0];i.href!=null&&r.push(Qa(i.href).then(l=>el(l,e)).then(l=>tl(l).forEach(a=>{o.insertRule(a,o.cssRules.length);})).catch(l=>{console.error("Error loading remote stylesheet",l);})),console.error("Error inlining remote css file",s);}}),Promise.all(r).then(()=>(n.forEach(i=>{if("cssRules"in i)try{le(i.cssRules||[]).forEach(s=>{t.push(s);});}catch(s){console.error(`Error while reading CSS rules from ${i.href}`,s);}}),t))}function yp(n){return n.filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>xi(e.style.getPropertyValue("src")))}async function wp(n,e){if(n.ownerDocument==null)throw new Error("Provided element is not within a Document");let t=le(n.ownerDocument.styleSheets),r=await gp(t,e);return yp(r)}function rl(n){return n.trim().replace(/["']/g,"")}function bp(n){let e=new Set;function t(r){(r.style.fontFamily||getComputedStyle(r).fontFamily).split(",").forEach(s=>{e.add(rl(s));}),Array.from(r.children).forEach(s=>{s instanceof HTMLElement&&t(s);});}return t(n),e}async function nl(n,e){let t=await wp(n,e),r=bp(n);return (await Promise.all(t.filter(s=>r.has(rl(s.style.fontFamily))).map(s=>{let o=s.parentStyleSheet?s.parentStyleSheet.href:null;return Lr(s.cssText,o,e)}))).join(`
|
|
531
|
-
|
|
461
|
+
`}function ao(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 2l1.88 1.88"/><path d="M14.12 3.88 16 2"/><path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1"/><path d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6"/><path d="M12 20v-9"/><path d="M6.53 9C4.6 8.8 3 7.1 3 5"/><path d="M6 13H2"/><path d="M3 21c0-2.1 1.7-3.9 3.8-4"/><path d="M20.97 5c0 2.1-1.6 3.8-3.5 4"/><path d="M22 13h-4"/><path d="M17.2 17c2.1.1 3.8 1.9 3.8 4"/></svg>'}function Ht(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>'}function Lu(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48"/></svg>'}function Tu(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z"/><circle cx="12" cy="13" r="3"/></svg>'}function lo(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5"/><rect x="2" y="6" width="14" height="12" rx="2"/></svg>'}function co(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m22 2-7 20-4-9-9-4z"/><path d="M22 2 11 13"/></svg>'}function Mu(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6"/></svg>'}function Ou(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><path d="m9 11 3 3L22 4"/></svg>'}function Ru(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/></svg>'}function Du(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>'}function Ku(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="6" y="6" width="12" height="12" rx="2"/></svg>'}function Nu(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 19L19 5"/><path d="M12 5h7v7"/></svg>'}function ku(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2"/></svg>'}function Pu(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"/></svg>'}function _u(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 7 4 4 20 4 20 7"/><line x1="9" y1="20" x2="15" y2="20"/><line x1="12" y1="4" x2="12" y2="20"/></svg>'}function Gu(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" opacity="0.5"/><circle cx="12" cy="12" r="6" opacity="0.3"/><circle cx="12" cy="12" r="2"/></svg>'}function Vu(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7v6h6"/><path d="M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13"/></svg>'}function $u(){return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>'}var FA=class r{constructor(A,e,t,s){this.left=A,this.top=e,this.width=t,this.height=s;}add(A,e,t,s){return new r(this.left+A,this.top+e,this.width+t,this.height+s)}static fromClientRect(A,e){return new r(e.left+A.windowBounds.left,e.top+A.windowBounds.top,e.width,e.height)}static fromDOMRectList(A,e){let t=Array.from(e),s=t.find(n=>n.width!==0);return s||(s=t.find(n=>n.height!==0)),!s&&t.length>0&&(s=t[0]),s?new r(s.left+A.windowBounds.left,s.top+A.windowBounds.top,s.width,s.height):r.EMPTY}};FA.EMPTY=new FA(0,0,0,0);var cn=(r,A)=>FA.fromClientRect(r,A.getBoundingClientRect()),mm=r=>{let A=r.body,e=r.documentElement;if(!A||!e)throw new Error("Unable to get document size");let t=Math.max(Math.max(A.scrollWidth,e.scrollWidth),Math.max(A.offsetWidth,e.offsetWidth),Math.max(A.clientWidth,e.clientWidth)),s=Math.max(Math.max(A.scrollHeight,e.scrollHeight),Math.max(A.offsetHeight,e.offsetHeight),Math.max(A.clientHeight,e.clientHeight));return new FA(0,0,t,s)},un=function(r){for(var A=[],e=0,t=r.length;e<t;){var s=r.charCodeAt(e++);if(s>=55296&&s<=56319&&e<t){var n=r.charCodeAt(e++);(n&64512)===56320?A.push(((s&1023)<<10)+(n&1023)+65536):(A.push(s),e--);}else A.push(s);}return A},sA=function(){for(var r=[],A=0;A<arguments.length;A++)r[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,r);var e=r.length;if(!e)return "";for(var t=[],s=-1,n="";++s<e;){var i=r[s];i<=65535?t.push(i):(i-=65536,t.push((i>>10)+55296,i%1024+56320)),(s+1===e||t.length>16384)&&(n+=String.fromCharCode.apply(String,t),t.length=0);}return n},Wu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Cm=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(Lt=0;Lt<Wu.length;Lt++)Cm[Wu.charCodeAt(Lt)]=Lt;var Lt,Xu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pt=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(Tt=0;Tt<Xu.length;Tt++)Pt[Xu.charCodeAt(Tt)]=Tt;var Tt,Qm=function(r){var A=r.length*.75,e=r.length,t,s=0,n,i,o,a;r[r.length-1]==="="&&(A--,r[r.length-2]==="="&&A--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),c=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t<e;t+=4)n=Pt[r.charCodeAt(t)],i=Pt[r.charCodeAt(t+1)],o=Pt[r.charCodeAt(t+2)],a=Pt[r.charCodeAt(t+3)],c[s++]=n<<2|i>>4,c[s++]=(i&15)<<4|o>>2,c[s++]=(o&3)<<6|a&63;return l},Um=function(r){for(var A=r.length,e=[],t=0;t<A;t+=2)e.push(r[t+1]<<8|r[t]);return e},ym=function(r){for(var A=r.length,e=[],t=0;t<A;t+=4)e.push(r[t+3]<<24|r[t+2]<<16|r[t+1]<<8|r[t]);return e},Ie=5,Ca=11,uo=2,Fm=Ca-Ie,Wh=65536>>Ie,bm=1<<Ie,ho=bm-1,Em=1024>>Ie,Im=Wh+Em,xm=Im,Sm=32,vm=xm+Sm,Hm=65536>>Ca,Lm=1<<Fm,Tm=Lm-1,Ju=function(r,A,e){return r.slice?r.slice(A,e):new Uint16Array(Array.prototype.slice.call(r,A,e))},Mm=function(r,A,e){return r.slice?r.slice(A,e):new Uint32Array(Array.prototype.slice.call(r,A,e))},Om=function(r,A){var e=Qm(r),t=Array.isArray(e)?ym(e):new Uint32Array(e),s=Array.isArray(e)?Um(e):new Uint16Array(e),n=24,i=Ju(s,n/2,t[4]/2),o=t[5]===2?Ju(s,(n+t[4])/2):Mm(t,Math.ceil((n+t[4])/4));return new Rm(t[0],t[1],t[2],t[3],i,o)},Rm=(function(){function r(A,e,t,s,n,i){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=s,this.index=n,this.data=i;}return r.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>Ie],e=(e<<uo)+(A&ho),this.data[e];if(A<=65535)return e=this.index[Wh+(A-55296>>Ie)],e=(e<<uo)+(A&ho),this.data[e];if(A<this.highStart)return e=vm-Hm+(A>>Ca),e=this.index[e],e+=A>>Ie&Tm,e=this.index[e],e=(e<<uo)+(A&ho),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},r})(),Yu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Dm=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(Mt=0;Mt<Yu.length;Mt++)Dm[Yu.charCodeAt(Mt)]=Mt;var Mt,Km="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkA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sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1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whoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAd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wADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAA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QAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEA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eAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgA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lACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",zu=50,Nm=1,Xh=2,Jh=3,km=4,Pm=5,Zu=7,Yh=8,ju=9,ae=10,Mo=11,qu=12,Oo=13,_m=14,_t=15,Ro=16,ps=17,Ot=18,Gm=19,Ah=20,Do=21,Rt=22,fo=23,$e=24,UA=25,Gt=26,Vt=27,We=28,Vm=29,ye=30,$m=31,Bs=32,gs=33,Ko=34,No=35,ko=36,qt=37,Po=38,vs=39,Hs=40,po=41,zh=42,Wm=43,Xm=[9001,65288],Zh="!",T="\xD7",ws="\xF7",_o=Om(Km),ZA=[ye,ko],Go=[Nm,Xh,Jh,Pm],jh=[ae,Yh],eh=[Vt,Gt],Jm=Go.concat(jh),th=[Po,vs,Hs,Ko,No],Ym=[_t,Oo],zm=function(r,A){A===void 0&&(A="strict");var e=[],t=[],s=[];return r.forEach(function(n,i){var o=_o.get(n);if(o>zu?(s.push(true),o-=zu):s.push(false),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(n)!==-1)return t.push(i),e.push(Ro);if(o===km||o===Mo){if(i===0)return t.push(i),e.push(ye);var a=e[i-1];return Jm.indexOf(a)===-1?(t.push(t[i-1]),e.push(a)):(t.push(i),e.push(ye))}if(t.push(i),o===$m)return e.push(A==="strict"?Do:qt);if(o===zh||o===Vm)return e.push(ye);if(o===Wm)return n>=131072&&n<=196605||n>=196608&&n<=262141?e.push(qt):e.push(ye);e.push(o);}),[t,e,s]},Bo=function(r,A,e,t){var s=t[e];if(Array.isArray(r)?r.indexOf(s)!==-1:r===s)for(var n=e;n<=t.length;){n++;var i=t[n];if(i===A)return true;if(i!==ae)break}if(s===ae)for(var n=e;n>0;){n--;var o=t[n];if(Array.isArray(r)?r.indexOf(o)!==-1:r===o)for(var a=e;a<=t.length;){a++;var i=t[a];if(i===A)return true;if(i!==ae)break}if(o!==ae)break}return false},rh=function(r,A){for(var e=r;e>=0;){var t=A[e];if(t===ae)e--;else return t}return 0},Zm=function(r,A,e,t,s){if(e[t]===0)return T;var n=t-1;if(Array.isArray(s)&&s[n]===true)return T;var i=n-1,o=n+1,a=A[n],l=i>=0?A[i]:0,c=A[o];if(a===Xh&&c===Jh)return T;if(Go.indexOf(a)!==-1)return Zh;if(Go.indexOf(c)!==-1||jh.indexOf(c)!==-1)return T;if(rh(n,A)===Yh)return ws;if(_o.get(r[n])===Mo||(a===Bs||a===gs)&&_o.get(r[o])===Mo||a===Zu||c===Zu||a===ju||[ae,Oo,_t].indexOf(a)===-1&&c===ju||[ps,Ot,Gm,$e,We].indexOf(c)!==-1||rh(n,A)===Rt||Bo(fo,Rt,n,A)||Bo([ps,Ot],Do,n,A)||Bo(qu,qu,n,A))return T;if(a===ae)return ws;if(a===fo||c===fo)return T;if(c===Ro||a===Ro)return ws;if([Oo,_t,Do].indexOf(c)!==-1||a===_m||l===ko&&Ym.indexOf(a)!==-1||a===We&&c===ko||c===Ah||ZA.indexOf(c)!==-1&&a===UA||ZA.indexOf(a)!==-1&&c===UA||a===Vt&&[qt,Bs,gs].indexOf(c)!==-1||[qt,Bs,gs].indexOf(a)!==-1&&c===Gt||ZA.indexOf(a)!==-1&&eh.indexOf(c)!==-1||eh.indexOf(a)!==-1&&ZA.indexOf(c)!==-1||[Vt,Gt].indexOf(a)!==-1&&(c===UA||[Rt,_t].indexOf(c)!==-1&&A[o+1]===UA)||[Rt,_t].indexOf(a)!==-1&&c===UA||a===UA&&[UA,We,$e].indexOf(c)!==-1)return T;if([UA,We,$e,ps,Ot].indexOf(c)!==-1)for(var u=n;u>=0;){var h=A[u];if(h===UA)return T;if([We,$e].indexOf(h)!==-1)u--;else break}if([Vt,Gt].indexOf(c)!==-1)for(var u=[ps,Ot].indexOf(a)!==-1?i:n;u>=0;){var h=A[u];if(h===UA)return T;if([We,$e].indexOf(h)!==-1)u--;else break}if(Po===a&&[Po,vs,Ko,No].indexOf(c)!==-1||[vs,Ko].indexOf(a)!==-1&&[vs,Hs].indexOf(c)!==-1||[Hs,No].indexOf(a)!==-1&&c===Hs||th.indexOf(a)!==-1&&[Ah,Gt].indexOf(c)!==-1||th.indexOf(c)!==-1&&a===Vt||ZA.indexOf(a)!==-1&&ZA.indexOf(c)!==-1||a===$e&&ZA.indexOf(c)!==-1||ZA.concat(UA).indexOf(a)!==-1&&c===Rt&&Xm.indexOf(r[o])===-1||ZA.concat(UA).indexOf(c)!==-1&&a===Ot)return T;if(a===po&&c===po){for(var f=e[n],p=1;f>0&&(f--,A[f]===po);)p++;if(p%2!==0)return T}return a===Bs&&c===gs?T:ws},jm=function(r,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=zm(r,A.lineBreak),t=e[0],s=e[1],n=e[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(s=s.map(function(o){return [UA,ye,zh].indexOf(o)!==-1?qt:o}));var i=A.wordBreak==="keep-all"?n.map(function(o,a){return o&&r[a]>=19968&&r[a]<=40959}):void 0;return [t,s,i]},qm=(function(){function r(A,e,t,s){this.codePoints=A,this.required=e===Zh,this.start=t,this.end=s;}return r.prototype.slice=function(){return sA.apply(void 0,this.codePoints.slice(this.start,this.end))},r})(),AC=function(r,A){var e=un(r),t=jm(e,A),s=t[0],n=t[1],i=t[2],o=e.length,a=0,l=0;return {next:function(){if(l>=o)return {done:true,value:null};for(var c=T;l<o&&(c=Zm(e,n,s,++l,i))===T;);if(c!==T||l===o){var u=new qm(e,c,a,l);return a=l,{value:u,done:false}}return {done:true,value:null}}}},eC=1,tC=2,st=4,sh=8,Ts=10,nh=47,Yt=92,rC=9,sC=32,ms=34,Dt=61,nC=35,iC=36,oC=37,Cs=39,Qs=40,Kt=41,aC=95,wA=45,lC=33,cC=60,uC=62,hC=64,fC=91,dC=93,pC=61,BC=123,Us=63,gC=125,ih=124,wC=126,mC=128,oh=65533,go=42,be=43,CC=44,QC=58,UC=59,Ar=46,yC=0,FC=8,bC=11,EC=14,IC=31,xC=127,_A=-1,qh=48,Af=97,ef=101,SC=102,vC=117,HC=122,tf=65,rf=69,sf=70,LC=85,TC=90,dA=r=>r>=qh&&r<=57,MC=r=>r>=55296&&r<=57343,Xe=r=>dA(r)||r>=tf&&r<=sf||r>=Af&&r<=SC,OC=r=>r>=Af&&r<=HC,RC=r=>r>=tf&&r<=TC,DC=r=>OC(r)||RC(r),KC=r=>r>=mC,ys=r=>r===Ts||r===rC||r===sC,Ms=r=>DC(r)||KC(r)||r===aC,ah=r=>Ms(r)||dA(r)||r===wA,NC=r=>r>=yC&&r<=FC||r===bC||r>=EC&&r<=IC||r===xC,ie=(r,A)=>r!==Yt?false:A!==Ts,Fs=(r,A,e)=>r===wA?Ms(A)||ie(A,e):Ms(r)?true:!!(r===Yt&&ie(r,A)),wo=(r,A,e)=>r===be||r===wA?dA(A)?true:A===Ar&&dA(e):dA(r===Ar?A:r),kC=r=>{let A=0,e=1;(r[A]===be||r[A]===wA)&&(r[A]===wA&&(e=-1),A++);let t=[];for(;dA(r[A]);)t.push(r[A++]);let s=t.length?parseInt(sA(...t),10):0;r[A]===Ar&&A++;let n=[];for(;dA(r[A]);)n.push(r[A++]);let i=n.length,o=i?parseInt(sA(...n),10):0;(r[A]===rf||r[A]===ef)&&A++;let a=1;(r[A]===be||r[A]===wA)&&(r[A]===wA&&(a=-1),A++);let l=[];for(;dA(r[A]);)l.push(r[A++]);let c=l.length?parseInt(sA(...l),10):0;return e*(s+o*Math.pow(10,-i))*Math.pow(10,a*c)},PC={type:2},_C={type:3},GC={type:4},VC={type:13},$C={type:8},WC={type:21},XC={type:9},JC={type:10},YC={type:11},zC={type:12},ZC={type:14},bs={type:23},jC={type:1},qC={type:25},A0={type:24},e0={type:26},t0={type:27},r0={type:28},s0={type:29},n0={type:31},Vo={type:32},Os=class{constructor(){this._value=[];}write(A){this._value=this._value.concat(un(A));}read(){let A=[],e=this.consumeToken();for(;e!==Vo;)A.push(e),e=this.consumeToken();return A}consumeToken(){let A=this.consumeCodePoint();switch(A){case ms:return this.consumeStringToken(ms);case nC:let e=this.peekCodePoint(0),t=this.peekCodePoint(1),s=this.peekCodePoint(2);if(ah(e)||ie(t,s)){let f=Fs(e,t,s)?tC:eC;return {type:5,value:this.consumeName(),flags:f}}break;case iC:if(this.peekCodePoint(0)===Dt)return this.consumeCodePoint(),VC;break;case Cs:return this.consumeStringToken(Cs);case Qs:return PC;case Kt:return _C;case go:if(this.peekCodePoint(0)===Dt)return this.consumeCodePoint(),ZC;break;case be:if(wo(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case CC:return GC;case wA:let n=A,i=this.peekCodePoint(0),o=this.peekCodePoint(1);if(wo(n,i,o))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(Fs(n,i,o))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(i===wA&&o===uC)return this.consumeCodePoint(),this.consumeCodePoint(),A0;break;case Ar:if(wo(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case nh:if(this.peekCodePoint(0)===go)for(this.consumeCodePoint();;){let f=this.consumeCodePoint();if(f===go&&(f=this.consumeCodePoint(),f===nh))return this.consumeToken();if(f===_A)return this.consumeToken()}break;case QC:return e0;case UC:return t0;case cC:if(this.peekCodePoint(0)===lC&&this.peekCodePoint(1)===wA&&this.peekCodePoint(2)===wA)return this.consumeCodePoint(),this.consumeCodePoint(),qC;break;case hC:let a=this.peekCodePoint(0),l=this.peekCodePoint(1),c=this.peekCodePoint(2);if(Fs(a,l,c))return {type:7,value:this.consumeName()};break;case fC:return r0;case Yt:if(ie(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case dC:return s0;case pC:if(this.peekCodePoint(0)===Dt)return this.consumeCodePoint(),$C;break;case BC:return YC;case gC:return zC;case vC:case LC:let u=this.peekCodePoint(0),h=this.peekCodePoint(1);return u===be&&(Xe(h)||h===Us)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case ih:if(this.peekCodePoint(0)===Dt)return this.consumeCodePoint(),XC;if(this.peekCodePoint(0)===ih)return this.consumeCodePoint(),WC;break;case wC:if(this.peekCodePoint(0)===Dt)return this.consumeCodePoint(),JC;break;case _A:return Vo}return ys(A)?(this.consumeWhiteSpace(),n0):dA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):Ms(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:sA(A)}}consumeCodePoint(){let A=this._value.shift();return typeof A>"u"?-1:A}reconsumeCodePoint(A){this._value.unshift(A);}peekCodePoint(A){return A>=this._value.length?-1:this._value[A]}consumeUnicodeRangeToken(){let A=[],e=this.consumeCodePoint();for(;Xe(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();let t=false;for(;e===Us&&A.length<6;)A.push(e),e=this.consumeCodePoint(),t=true;if(t){let n=parseInt(sA(...A.map(o=>o===Us?qh:o)),16),i=parseInt(sA(...A.map(o=>o===Us?sf:o)),16);return {type:30,start:n,end:i}}let s=parseInt(sA(...A),16);if(this.peekCodePoint(0)===wA&&Xe(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();let n=[];for(;Xe(e)&&n.length<6;)n.push(e),e=this.consumeCodePoint();let i=parseInt(sA(...n),16);return {type:30,start:s,end:i}}else return {type:30,start:s,end:s}}consumeIdentLikeToken(){let A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===Qs?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Qs?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}}consumeUrlToken(){let A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===_A)return {type:22,value:""};let e=this.peekCodePoint(0);if(e===Cs||e===ms){let t=this.consumeStringToken(this.consumeCodePoint());return t.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===_A||this.peekCodePoint(0)===Kt)?(this.consumeCodePoint(),{type:22,value:t.value}):(this.consumeBadUrlRemnants(),bs)}for(;;){let t=this.consumeCodePoint();if(t===_A||t===Kt)return {type:22,value:sA(...A)};if(ys(t))return this.consumeWhiteSpace(),this.peekCodePoint(0)===_A||this.peekCodePoint(0)===Kt?(this.consumeCodePoint(),{type:22,value:sA(...A)}):(this.consumeBadUrlRemnants(),bs);if(t===ms||t===Cs||t===Qs||NC(t))return this.consumeBadUrlRemnants(),bs;if(t===Yt)if(ie(t,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),bs;else A.push(t);}}consumeWhiteSpace(){for(;ys(this.peekCodePoint(0));)this.consumeCodePoint();}consumeBadUrlRemnants(){for(;;){let A=this.consumeCodePoint();if(A===Kt||A===_A)return;ie(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint();}}consumeStringSlice(A){let t="";for(;A>0;){let s=Math.min(5e4,A);t+=sA(...this._value.splice(0,s)),A-=s;}return this._value.shift(),t}consumeStringToken(A){let e="",t=0;do{let s=this._value[t];if(s===_A||s===void 0||s===A)return e+=this.consumeStringSlice(t),{type:0,value:e};if(s===Ts)return this._value.splice(0,t),jC;if(s===Yt){let n=this._value[t+1];n!==_A&&n!==void 0&&(n===Ts?(e+=this.consumeStringSlice(t),t=-1,this._value.shift()):ie(s,n)&&(e+=this.consumeStringSlice(t),e+=sA(this.consumeEscapedCodePoint()),t=-1));}t++;}while(true)}consumeNumber(){let A=[],e=st,t=this.peekCodePoint(0);for((t===be||t===wA)&&A.push(this.consumeCodePoint());dA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0);let s=this.peekCodePoint(1);if(t===Ar&&dA(s))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=sh;dA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0),s=this.peekCodePoint(1);let n=this.peekCodePoint(2);if((t===rf||t===ef)&&((s===be||s===wA)&&dA(n)||dA(s)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=sh;dA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return [kC(A),e]}consumeNumericToken(){let[A,e]=this.consumeNumber(),t=this.peekCodePoint(0),s=this.peekCodePoint(1),n=this.peekCodePoint(2);if(Fs(t,s,n)){let i=this.consumeName();return {type:15,number:A,flags:e,unit:i}}return t===oC?(this.consumeCodePoint(),{type:16,number:A,flags:e}):{type:17,number:A,flags:e}}consumeEscapedCodePoint(){let A=this.consumeCodePoint();if(Xe(A)){let e=sA(A);for(;Xe(this.peekCodePoint(0))&&e.length<6;)e+=sA(this.consumeCodePoint());ys(this.peekCodePoint(0))&&this.consumeCodePoint();let t=parseInt(e,16);return t===0||MC(t)||t>1114111?oh:t}return A===_A?oh:A}consumeName(){let A="";for(;;){let e=this.consumeCodePoint();if(ah(e))A+=sA(e);else if(ie(e,this.peekCodePoint(0)))A+=sA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),A}}},Rs=class r{constructor(A){this._tokens=A;}static create(A){let e=new Os;return e.write(A),new r(e.read())}static parseValue(A){return r.create(A).parseComponentValue()}static parseValues(A){return r.create(A).parseComponentValues()}parseComponentValue(){let A=this.consumeToken();for(;A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);let e=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")}parseComponentValues(){let A=[];for(;;){let e=this.consumeComponentValue();if(e.type===32)return A;A.push(e),A.push();}}consumeComponentValue(){let A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A}consumeSimpleBlock(A){let e={type:A,values:[]},t=this.consumeToken();for(;;){if(t.type===32||o0(t,A))return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue()),t=this.consumeToken();}}consumeFunction(A){let e={name:A.value,values:[],type:18};for(;;){let t=this.consumeToken();if(t.type===32||t.type===3)return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue());}}consumeToken(){let A=this._tokens.shift();return typeof A>"u"?Vo:A}reconsumeToken(A){this._tokens.unshift(A);}},$A=r=>r.type===15,nA=r=>r.type===17,S=r=>r.type===20,i0=r=>r.type===0,er=(r,A)=>S(r)&&r.value===A,hn=r=>r.type!==31,uA=r=>r.type!==31&&r.type!==4,DA=r=>{let A=[],e=[];return r.forEach(t=>{if(t.type===4){if(e.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(e),e=[];return}t.type!==31&&e.push(t);}),e.length&&A.push(e),A},o0=(r,A)=>A===11&&r.type===12||A===28&&r.type===29?true:A===2&&r.type===3,tA=(r,A,e)=>Math.min(Math.max(r,A),e),CA=(r,A)=>[r[0]*A[0]+r[1]*A[1]+r[2]*A[2],r[3]*A[0]+r[4]*A[1]+r[5]*A[2],r[6]*A[0]+r[7]*A[1]+r[8]*A[2]],he=r=>CA([3.2409699419045226,-1.537383177570094,-0.4986107602930034,-0.9692436362808796,1.8759675015077202,.04155505740717559,.05563007969699366,-0.20397695888897652,1.0569715142428786],r),$o=r=>CA([.41239079926595934,.357584339383878,.1804807884018343,.21263900587151027,.715168678767756,.07219231536073371,.01933081871559182,.11919477979462598,.9505321522496607],r),ve=r=>r.map(A=>{let e=A<0?-1:1,t=Math.abs(A);return t>.0031308?e*(1.055*t**(1/2.4)-.055):12.92*A}),Wo=r=>r.map(A=>{let e=A<0?-1:1,t=Math.abs(A);return t<=.04045?A/12.92:e*((t+.055)/1.055)**2.4}),a0=r=>{let[A,e,t]=ve(he([r[0],r[1],r[2]]));return [A,e,t,r[3]]},l0=r=>{let[A,e,t]=he([r[0],r[1],r[2]]);return [tA(Math.round(A*255),0,255),tA(Math.round(e*255),0,255),tA(Math.round(t*255),0,255),r[3]]},ue=r=>r.type===17||r.type===15,_=r=>r.type===16||ue(r),c0=r=>r.type===18&&r.name==="calc",u0=(r,A=0)=>{let e=t=>{let s="";for(let n of t)if(n.type!==31){if(n.type===18)if(n.name==="calc"){let i=e(n.values);if(i===null)return null;s+=`(${i})`;}else return null;else if(n.type===17)s+=n.number.toString();else if(n.type===15)n.unit==="px"?s+=n.number.toString():n.unit==="rem"||n.unit==="em"?s+=(n.number*16).toString():s+=n.number.toString();else if(n.type===16)s+=(n.number/100*A).toString();else if(n.type===6){let i=n.value;i==="+"||i==="-"||i==="*"||i==="/"?s+=` ${i} `:i==="("?s+="(":i===")"&&(s+=")");}}return s};try{let t=e(r.values);if(t===null||t.trim()==="")return null;let s=new Function("return "+t)();if(typeof s=="number"&&!isNaN(s))return {type:17,number:s,flags:st}}catch{return null}return null},nf=r=>r.length>1?[r[0],r[1]]:[r[0]],iA={type:17,number:0,flags:st},Ee={type:16,number:50,flags:st},GA={type:16,number:100,flags:st},$t=(r,A,e)=>{let[t,s]=r;return [I(t,A),I(typeof s<"u"?s:t,e)]},I=(r,A)=>{if(r.type===16)return r.number/100*A;if($A(r))switch(r.unit){case "rem":case "em":return 16*r.number;default:return r.number}return r.number},of="deg",af="grad",lf="rad",cf="turn",nt={name:"angle",parse:(r,A)=>{if(A.type===15)switch(A.unit){case of:return Math.PI*A.number/180;case af:return Math.PI/200*A.number;case lf:return A.number;case cf:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},uf=r=>r.type===15&&(r.unit===of||r.unit===af||r.unit===lf||r.unit===cf),hf=r=>{switch(r.filter(S).map(e=>e.value).join(" ")){case "to bottom right":case "to right bottom":case "left top":case "top left":return [iA,iA];case "to top":case "bottom":return xA(0);case "to bottom left":case "to left bottom":case "right top":case "top right":return [iA,GA];case "to right":case "left":return xA(90);case "to top left":case "to left top":case "right bottom":case "bottom right":return [GA,GA];case "to bottom":case "top":return xA(180);case "to top right":case "to right top":case "left bottom":case "bottom left":return [GA,iA];case "to left":case "right":return xA(270)}return 0},xA=r=>Math.PI*r/180,le=r=>(255&r)===0,$=r=>{let A=255&r,e=255&r>>8,t=255&r>>16,s=255&r>>24;return A<255?`rgba(${s},${t},${e},${A/255})`:`rgb(${s},${t},${e})`},RA=(r,A,e,t)=>(r<<24|A<<16|e<<8|Math.round(t*255)<<0)>>>0,oe=(r,A)=>{if(r.type===17)return r.number;if(r.type===16){let e=A===3?1:255;return A===3?r.number/100*e:Math.round(r.number/100*e)}return 0},He=r=>(r[0].type===20?r[0].value:"unknown")==="from",h0=r=>RA(tA(Math.round(r[0]*255),0,255),tA(Math.round(r[1]*255),0,255),tA(Math.round(r[2]*255),0,255),tA(r[3],0,1)),Qa=([r,A,e,t])=>{let s=ve([r,A,e]);return RA(tA(Math.round(s[0]*255),0,255),tA(Math.round(s[1]*255),0,255),tA(Math.round(s[2]*255),0,255),t)},nr=r=>{let A=he([r[0],r[1],r[2]]);return Qa([A[0],A[1],A[2],r[3]])},f0=(r,A)=>{if(He(A.filter(uA)))throw new Error("Relative color not supported for lab()");let[e,t,s,n]=fn(A),i=ve(he(Bn([e,t,s])));return RA(tA(Math.round(i[0]*255),0,255),tA(Math.round(i[1]*255),0,255),tA(Math.round(i[2]*255),0,255),n)},d0=(r,A)=>{if(He(A.filter(uA)))throw new Error("Relative color not supported for oklab()");let[e,t,s,n]=fn(A),i=ve(he(pn([e,t,s])));return RA(tA(Math.round(i[0]*255),0,255),tA(Math.round(i[1]*255),0,255),tA(Math.round(i[2]*255),0,255),n)},p0=(r,A)=>{if(He(A.filter(uA)))throw new Error("Relative color not supported for oklch()");let[e,t,s,n]=pf(A),i=ve(he(pn(dn([e,t,s]))));return RA(tA(Math.round(i[0]*255),0,255),tA(Math.round(i[1]*255),0,255),tA(Math.round(i[2]*255),0,255),n)},B0=(r,A)=>{if(He(A.filter(uA)))throw new Error("Relative color not supported for lch()");let[e,t,s,n]=df(A),i=ve(he(Bn(dn([e,t,s]))));return RA(tA(Math.round(i[0]*255),0,255),tA(Math.round(i[1]*255),0,255),tA(Math.round(i[2]*255),0,255),n)},ff=(r,A)=>{let e=A.filter(uA),[t,s,n,i]=e,o=(t.type===17?xA(t.number):nt.parse(r,t))/(Math.PI*2),a=_(s)?s.number/100:0,l=_(n)?n.number/100:0,c=typeof i<"u"&&_(i)?I(i,1):1;return [o,a,l,c]},lh=(r,A)=>{if(He(A))throw new Error("Relative color not supported for hsl()");let[e,t,s,n]=ff(r,A),i=gf([e,t,s]);return RA(i[0]*255,i[1]*255,i[2]*255,t===0?1:n)},df=r=>{let A=r.filter(uA),e=_(A[0])?A[0].number:0,t=_(A[1])?A[1].number:0,s=nA(A[2])||$A(A[2])?A[2].number:0,n=typeof A[4]<"u"&&_(A[4])?I(A[4],1):1;return [e,t,s,n]},fn=r=>{let A=r.filter(uA),e=A[0].type===16?A[0].number/100:nA(A[0])?A[0].number:0,t=A[1].type===16?A[1].number/100:nA(A[1])?A[1].number:0,s=nA(A[2])||$A(A[2])?A[2].number:0,n=typeof A[4]<"u"&&_(A[4])?I(A[4],1):1;return [e,t,s,n]},pf=r=>{let A=r.filter(uA),e=A[0].type===16?A[0].number/100:nA(A[0])?A[0].number:0,t=A[1].type===16?A[1].number/100:nA(A[1])?A[1].number:0,s=nA(A[2])||$A(A[2])?A[2].number:0,n=typeof A[4]<"u"&&_(A[4])?I(A[4],1):1;return [e,t,s,n]},Bf=r=>CA([1.0479297925449969,.022946870601609652,-0.05019226628920524,.02962780877005599,.9904344267538799,-0.017073799063418826,-0.009243040646204504,.015055191490298152,.7518742814281371],r),Ua=r=>CA([.955473421488075,-0.02309845494876471,.06325924320057072,-0.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-0.020507649298898964,1.330365926242124],r),mo=(r,A,e)=>(e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(A-r)*e*6+r:e<1/2?A:e<2/3?(A-r)*6*(2/3-e)+r:r),gf=([r,A,e])=>{if(A===0)return [e*255,e*255,e*255];let t=e<=.5?e*(A+1):e+A-e*A,s=e*2-t,n=mo(s,t,r+1/3),i=mo(s,t,r),o=mo(s,t,r-1/3);return [n,i,o]},dn=([r,A,e])=>(A<0&&(A=0),isNaN(e)&&(e=0),[r,A*Math.cos(e*Math.PI/180),A*Math.sin(e*Math.PI/180)]),pn=r=>{let A=CA([1,.3963377773761749,.2158037573099136,1,-0.1055613458156586,-0.0638541728258133,1,-0.0894841775298119,-1.2914855480194092],r),e=A.map(t=>t**3);return CA([1.2268798758459243,-0.5578149944602171,.2813910456659647,-0.0405757452148008,1.112286803280317,-0.0717110580655164,-0.0763729366746601,-0.4214933324022432,1.5869240198367816],e)},Bn=r=>{let A=(r[0]+16)/116,e=r[1]/500+A,t=A-r[2]/200,s=24389/27,n=24/116,i=[(e>n?e**3:(116*e-16)/s)*.3457/.3585,r[0]>8?A**3:r[0]/s,(t>n?t**3:(116*t-16)/s)*(1-.3457-.3585)/.3585];return Ua([i[0],i[1],i[2]])},g0=(r,A)=>{let e=A.filter(uA);if(e.length===3){let[t,s,n]=e.map(oe),i=Wo([t/255,s/255,n/255]),[o,a,l]=$o([i[0],i[1],i[2]]);return [o,a,l,1]}if(e.length===4){let[t,s,n,i]=e.map(oe),o=Wo([t/255,s/255,n/255]),[a,l,c]=$o([o[0],o[1],o[2]]);return [a,l,c,i]}return [0,0,0,1]},w0=(r,A)=>{let[e,t,s,n]=ff(r,A),i=Wo(gf([e,t,s])),[o,a,l]=$o([i[0],i[1],i[2]]);return [o,a,l,n]},m0=(r,A)=>{let[e,t,s,n]=fn(A),[i,o,a]=Bn([e,t,s]);return [i,o,a,n]},C0=(r,A)=>{let[e,t,s,n]=df(A),[i,o,a]=Bn(dn([e,t,s]));return [i,o,a,n]},Q0=(r,A)=>{let[e,t,s,n]=pf(A),[i,o,a]=pn(dn([e,t,s]));return [i,o,a,n]},U0=(r,A)=>{let[e,t,s,n]=fn(A),[i,o,a]=pn([e,t,s]);return [i,o,a,n]},y0=r=>Ua([r[0],r[1],r[2]]),ch=r=>r,F0=r=>{let[A,e,t]=Bf([r[0],r[2],r[3]]);return [A,e,t,r[3]]},uh=r=>nr([r[0],r[1],r[2],r[3]]),b0=r=>{let A=y0([r[0],r[1],r[2]]);return nr([A[0],A[1],A[2],r[3]])},E0=r=>CA([.4865709486482162,.26566769316909306,.1982172852343625,.2289745640697488,.6917385218365064,.079286914093745,0,.04511338185890264,1.043944368900976],r),I0=r=>CA([2.493496911941425,-0.9313836179191239,-0.40271078445071684,-0.8294889695615747,1.7626640603183463,.023624685841943577,.03584583024378447,-0.07617238926804182,.9568845240076872],r),x0=r=>r.map(A=>{let e=A<0?-1:1;return A*e<=.04045?A/12.92:e*((A+.055)/1.055)**2.4||0}),S0=r=>ve(r),v0=r=>{let A=x0([r[0],r[1],r[2]]);return E0([A[0],A[1],A[2]])},H0=r=>{let[A,e,t]=S0(I0([r[0],r[1],r[2]]));return [A,e,t,r[3]]},L0=r=>{let A=v0([r[0],r[1],r[2]]);return nr([A[0],A[1],A[2],r[3]])},T0=r=>CA([2.0415879038107465,-0.5650069742788596,-0.34473135077832956,-0.9692436362808795,1.8759675015077202,.04155505740717557,.013444280632031142,-0.11836239223101838,1.0151749943912054],r),M0=r=>CA([.5766690429101305,.1855582379065463,.1882286462349947,.29734497525053605,.6273635662554661,.0752914584939978,.02703136138641234,.07068885253582723,.9913375368376388],r),O0=r=>{let A=r.map(e=>{let t=e<0?-1:1,s=Math.abs(e);return t*s**2.19921875});return [A[0],A[1],A[2]]},R0=r=>{let A=r.map(e=>{let t=e<0?-1:1,s=Math.abs(e);return t*s**.4547069271758437});return [A[0],A[1],A[2]]},D0=r=>{let[A,e,t]=R0(T0([r[0],r[1],r[2]]));return [A,e,t,r[3]]},K0=r=>{let A=he(M0(O0([r[0],r[1],r[2]])));return Qa([A[0],A[1],A[2],r[3]])},N0=r=>CA([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],r),k0=r=>CA([1.3457868816471583,-0.25557208737979464,-0.05110186497554526,-0.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],r),P0=r=>r.map(A=>A<16/512?A/16:A**1.8),_0=r=>r.map(A=>A>1/512?A**(1/1.8):A*16),G0=r=>{let A=P0([r[0],r[1],r[2]]);return Ua(N0([A[0],A[1],A[2]]))},V0=r=>{let[A,e,t]=_0(k0(Bf([r[0],r[1],r[2]])));return [A,e,t,r[3]]},$0=r=>{let A=G0([r[0],r[1],r[2]]);return nr([A[0],A[1],A[2],r[3]])},Ds=1.09929682680944,wf=.018053968510807,W0=r=>r.map(function(A){return A<wf*4.5?A/4.5:Math.pow((A+Ds-1)/Ds,1/.45)}),X0=r=>r.map(function(A){return A>=wf?Ds*Math.pow(A,.45)-(Ds-1):4.5*A}),J0=r=>CA([.6369580483012914,.14461690358620832,.1688809751641721,.2627002120112671,.6779980715188708,.05930171646986196,0,.028072693049087428,1.060985057710791],r),Y0=r=>CA([1.716651187971268,-0.355670783776392,-0.25336628137366,-0.666684351832489,1.616481236634939,.0157685458139111,.017639857445311,-0.042770613257809,.942103121235474],r),z0=r=>{let A=W0([r[0],r[1],r[2]]);return J0([A[0],A[1],A[2]])},Z0=r=>{let[A,e,t]=X0(Y0([r[0],r[1],r[2]]));return [A,e,t,r[3]]},j0=r=>{let A=z0([r[0],r[1],r[2]]);return nr([A[0],A[1],A[2],r[3]])},ce={name:"color",parse:(r,A)=>{if(A.type===18){let e=tQ[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported color function "${A.name}"`);return e(r,A.values)}if(A.type===5){let[e,t,s,n]=mf(A);return RA(e,t,s,n)}if(A.type===20){let e=VA[A.value.toUpperCase()];if(typeof e<"u")return e}return VA.TRANSPARENT}},mf=r=>{if(r.value.length===3){let A=r.value.substring(0,1),e=r.value.substring(1,2),t=r.value.substring(2,3);return [parseInt(A+A,16),parseInt(e+e,16),parseInt(t+t,16),1]}if(r.value.length===4){let A=r.value.substring(0,1),e=r.value.substring(1,2),t=r.value.substring(2,3),s=r.value.substring(3,4);return [parseInt(A+A,16),parseInt(e+e,16),parseInt(t+t,16),parseInt(s+s,16)/255]}if(r.value.length===6){let A=r.value.substring(0,2),e=r.value.substring(2,4),t=r.value.substring(4,6);return [parseInt(A,16),parseInt(e,16),parseInt(t,16),1]}if(r.value.length===8){let A=r.value.substring(0,2),e=r.value.substring(2,4),t=r.value.substring(4,6),s=r.value.substring(6,8);return [parseInt(A,16),parseInt(e,16),parseInt(t,16),parseInt(s,16)/255]}return [0,0,0,1]},hh=(r,A)=>{let e=A.filter(uA);if(He(e))throw new Error("Relative color not supported for rgb()");if(e.length===3){let[t,s,n]=e.map(oe);return RA(t,s,n,1)}if(e.length===4){let[t,s,n,i]=e.map(oe);return RA(t,s,n,i)}if(e.length===5&&e[3].type===6&&e[3].value==="/"){let t=oe(e[0],0),s=oe(e[1],1),n=oe(e[2],2),i=oe(e[4],3);return RA(t,s,n,i)}return 0},q0=(r,A)=>{let e=A.filter(uA),t=e[0].type===20?e[0].value:"unknown";if(!He(e)){let n=t,i=fh[n];if(typeof i>"u")throw new Error(`Attempting to parse an unsupported color space "${n}" for color() function`);let o=nA(e[1])?e[1].number:0,a=nA(e[2])?e[2].number:0,l=nA(e[3])?e[3].number:0,c=e.length>4&&e[4].type===6&&e[4].value==="/"&&nA(e[5])?e[5].number:1;return i([o,a,l,c])}else {let n=(w,g)=>{if(nA(g))return g.number;let C=b=>b==="r"||b==="x"?0:b==="g"||b==="y"?1:2;if(S(g)){let b=C(g.value);return w[b]}let Q=b=>{let M=b.filter(uA),v="(";for(let x of M)v+=x.type===18&&x.name==="calc"?Q(x.values):nA(x)?x.number:x.type===6||S(x)?x.value:"";return v+=")",v};if(g.type===18){let b=g.values.filter(uA);if(g.name==="calc"){let M=Q(b).replace(/r|x/,w[0].toString()).replace(/g|y/,w[1].toString()).replace(/b|z/,w[2].toString());return new Function("return "+M)()}}return null},i=e[1].type===18?e[1].name:S(e[1])||e[1].type===5?"rgb":"unknown",o=S(e[2])?e[2].value:"unknown",a=e[1].type===18?e[1].values:S(e[1])?[e[1]]:[];if(S(e[1])){if(typeof VA[e[1].value.toUpperCase()]>"u")throw new Error("Attempting to use unknown color in relative color 'from'");{let g=tt(r,e[1].value),C=255&g,Q=255&g>>8,b=255&g>>16;a=[{type:17,number:255&g>>24,flags:1},{type:17,number:b,flags:1},{type:17,number:Q,flags:1},{type:17,number:C>1?C/255:C,flags:1}];}}else if(e[1].type===5){let[w,g,C,Q]=mf(e[1]);a=[{type:17,number:w,flags:1},{type:17,number:g,flags:1},{type:17,number:C,flags:1},{type:17,number:Q>1?Q/255:Q,flags:1}];}if(a.length===0)throw new Error("Attempting to use unknown color in relative color 'from'");if(o==="unknown")throw new Error("Attempting to use unknown colorspace in relative color 'to'");let l=AQ[i],c=eQ[o],u=fh[o];if(typeof l>"u")throw new Error(`Attempting to parse an unsupported color space "${i}" for color() function`);if(typeof c>"u")throw new Error(`Attempting to parse an unsupported color space "${o}" for color() function`);let h=l(r,a),f=c(h),p=n(f,e[3]),d=n(f,e[4]),B=n(f,e[5]),m=e.length>6&&e[6].type===6&&e[6].value==="/"&&nA(e[7])?e[7].number:1;if(p===null||d===null||B===null)throw new Error("Invalid relative color in color() function");return u([p,d,B,m])}},fh={srgb:h0,"srgb-linear":Qa,"display-p3":L0,"a98-rgb":K0,"prophoto-rgb":$0,xyz:uh,"xyz-d50":b0,"xyz-d65":uh,rec2020:j0},AQ={rgb:g0,hsl:w0,lab:m0,lch:C0,oklab:U0,oklch:Q0},eQ={srgb:a0,"srgb-linear":l0,"display-p3":H0,"a98-rgb":D0,"prophoto-rgb":V0,xyz:ch,"xyz-d50":F0,"xyz-d65":ch,rec2020:Z0},tQ={hsl:lh,hsla:lh,rgb:hh,rgba:hh,lch:B0,oklch:p0,oklab:d0,lab:f0,color:q0},tt=(r,A)=>ce.parse(r,Rs.create(A).parseComponentValue()),VA={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},rQ={name:"background-clip",initialValue:"border-box",prefix:false,type:1,parse:(r,A)=>A.map(e=>{if(S(e))switch(e.value){case "padding-box":return 1;case "content-box":return 2}return 0})},sQ={name:"background-color",initialValue:"transparent",prefix:false,type:3,format:"color"},gn=(r,A)=>{let e=ce.parse(r,A[0]),t=A[1];return t&&_(t)?{color:e,stop:t}:{color:e,stop:null}},dh=(r,A)=>{let e=r[0],t=r[r.length-1];e.stop===null&&(e.stop=iA),t.stop===null&&(t.stop=GA);let s=[],n=0;for(let o=0;o<r.length;o++){let a=r[o].stop;if(a!==null){let l=I(a,A);l>n?s.push(l):s.push(n),n=l;}else s.push(null);}let i=null;for(let o=0;o<s.length;o++){let a=s[o];if(a===null)i===null&&(i=o);else if(i!==null){let l=o-i,c=s[i-1],u=(a-c)/(l+1);for(let h=1;h<=l;h++)s[i+h-1]=u*h;i=null;}}return r.map(({color:o},a)=>({color:o,stop:Math.max(Math.min(1,s[a]/A),0)}))},nQ=(r,A,e)=>{let t=A/2,s=e/2,n=I(r[0],A)-t,i=s-I(r[1],e);return (Math.atan2(i,n)+Math.PI*2)%(Math.PI*2)},iQ=(r,A,e)=>{let t=typeof r=="number"?r:nQ(r,A,e),s=Math.abs(A*Math.sin(t))+Math.abs(e*Math.cos(t)),n=A/2,i=e/2,o=s/2,a=Math.sin(t-Math.PI/2)*o,l=Math.cos(t-Math.PI/2)*o;return [s,n-l,n+l,i-a,i+a]},OA=(r,A)=>Math.sqrt(r*r+A*A),ph=(r,A,e,t,s)=>[[0,0],[0,A],[r,0],[r,A]].reduce((i,o)=>{let[a,l]=o,c=OA(e-a,t-l);return (s?c<i.optimumDistance:c>i.optimumDistance)?{optimumCorner:o,optimumDistance:c}:i},{optimumDistance:s?1/0:-1/0,optimumCorner:null}).optimumCorner,oQ=(r,A,e,t,s)=>{let n=0,i=0;switch(r.size){case 0:r.shape===0?n=i=Math.min(Math.abs(A),Math.abs(A-t),Math.abs(e),Math.abs(e-s)):r.shape===1&&(n=Math.min(Math.abs(A),Math.abs(A-t)),i=Math.min(Math.abs(e),Math.abs(e-s)));break;case 2:if(r.shape===0)n=i=Math.min(OA(A,e),OA(A,e-s),OA(A-t,e),OA(A-t,e-s));else if(r.shape===1){let o=Math.min(Math.abs(e),Math.abs(e-s))/Math.min(Math.abs(A),Math.abs(A-t)),[a,l]=ph(t,s,A,e,true);n=OA(a-A,(l-e)/o),i=o*n;}break;case 1:r.shape===0?n=i=Math.max(Math.abs(A),Math.abs(A-t),Math.abs(e),Math.abs(e-s)):r.shape===1&&(n=Math.max(Math.abs(A),Math.abs(A-t)),i=Math.max(Math.abs(e),Math.abs(e-s)));break;case 3:if(r.shape===0)n=i=Math.max(OA(A,e),OA(A,e-s),OA(A-t,e),OA(A-t,e-s));else if(r.shape===1){let o=Math.max(Math.abs(e),Math.abs(e-s))/Math.max(Math.abs(A),Math.abs(A-t)),[a,l]=ph(t,s,A,e,false);n=OA(a-A,(l-e)/o),i=o*n;}break}return Array.isArray(r.size)&&(n=I(r.size[0],t),i=r.size.length===2?I(r.size[1],s):n),[n,i]},aQ=(r,A)=>{let e=xA(180),t=[];return DA(A).forEach((s,n)=>{if(n===0){let o=s[0];if(o.type===20&&o.value==="to"){e=hf(s);return}else if(uf(o)){e=nt.parse(r,o);return}}let i=gn(r,s);t.push(i);}),{angle:e,stops:t,type:1}},Es=(r,A)=>{let e=xA(180),t=[];return DA(A).forEach((s,n)=>{if(n===0){let o=s[0];if(o.type===20&&["top","left","right","bottom"].indexOf(o.value)!==-1){e=hf(s);return}else if(uf(o)){e=(nt.parse(r,o)+xA(270))%xA(360);return}}let i=gn(r,s);t.push(i);}),{angle:e,stops:t,type:1}},lQ=(r,A)=>{let e=xA(180),t=[],s=1,n=0,i=3,o=[];return DA(A).forEach((a,l)=>{let c=a[0];if(l===0){if(S(c)&&c.value==="linear"){s=1;return}else if(S(c)&&c.value==="radial"){s=2;return}}if(c.type===18){if(c.name==="from"){let u=ce.parse(r,c.values[0]);t.push({stop:iA,color:u});}else if(c.name==="to"){let u=ce.parse(r,c.values[0]);t.push({stop:GA,color:u});}else if(c.name==="color-stop"){let u=c.values.filter(uA);if(u.length===2){let h=ce.parse(r,u[1]),f=u[0];nA(f)&&t.push({stop:{type:16,number:f.number*100,flags:f.flags},color:h});}}}}),s===1?{angle:(e+xA(180))%xA(360),stops:t,type:s}:{size:i,shape:n,stops:t,position:o,type:s}},Cf="closest-side",Qf="farthest-side",Uf="closest-corner",yf="farthest-corner",Ff="circle",bf="ellipse",Ef="cover",If="contain",cQ=(r,A)=>{let e=0,t=3,s=[],n=[];return DA(A).forEach((i,o)=>{let a=true;if(o===0){let l=false;a=i.reduce((c,u)=>{if(l)if(S(u))switch(u.value){case "center":return n.push(Ee),c;case "top":case "left":return n.push(iA),c;case "right":case "bottom":return n.push(GA),c}else (_(u)||ue(u))&&n.push(u);else if(S(u))switch(u.value){case Ff:return e=0,false;case bf:return e=1,false;case "at":return l=true,false;case Cf:return t=0,false;case Ef:case Qf:return t=1,false;case If:case Uf:return t=2,false;case yf:return t=3,false}else if(ue(u)||_(u))return Array.isArray(t)||(t=[]),t.push(u),false;return c},a);}if(a){let l=gn(r,i);s.push(l);}}),{size:t,shape:e,stops:s,position:n,type:2}},Is=(r,A)=>{let e=0,t=3,s=[],n=[];return DA(A).forEach((i,o)=>{let a=true;if(o===0?a=i.reduce((l,c)=>{if(S(c))switch(c.value){case "center":return n.push(Ee),false;case "top":case "left":return n.push(iA),false;case "right":case "bottom":return n.push(GA),false}else if(_(c)||ue(c))return n.push(c),false;return l},a):o===1&&(a=i.reduce((l,c)=>{if(S(c))switch(c.value){case Ff:return e=0,false;case bf:return e=1,false;case If:case Cf:return t=0,false;case Qf:return t=1,false;case Uf:return t=2,false;case Ef:case yf:return t=3,false}else if(ue(c)||_(c))return Array.isArray(t)||(t=[]),t.push(c),false;return l},a)),a){let l=gn(r,i);s.push(l);}}),{size:t,shape:e,stops:s,position:n,type:2}},uQ=r=>r.type===1,hQ=r=>r.type===2,ya={name:"image",parse:(r,A)=>{if(A.type===22){let e={url:A.value,type:0};return r.cache.addImage(A.value),e}if(A.type===18){let e=xf[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported image function "${A.name}"`);return e(r,A.values)}throw new Error(`Unsupported image type ${A.type}`)}};function fQ(r){return !(r.type===20&&r.value==="none")&&(r.type!==18||!!xf[r.name])}var xf={"linear-gradient":aQ,"-moz-linear-gradient":Es,"-ms-linear-gradient":Es,"-o-linear-gradient":Es,"-webkit-linear-gradient":Es,"radial-gradient":cQ,"-moz-radial-gradient":Is,"-ms-radial-gradient":Is,"-o-radial-gradient":Is,"-webkit-radial-gradient":Is,"-webkit-gradient":lQ},dQ={name:"background-image",initialValue:"none",type:1,prefix:false,parse:(r,A)=>{if(A.length===0)return [];let e=A[0];return e.type===20&&e.value==="none"?[]:A.filter(t=>uA(t)&&fQ(t)).map(t=>ya.parse(r,t))}},pQ={name:"background-origin",initialValue:"border-box",prefix:false,type:1,parse:(r,A)=>A.map(e=>{if(S(e))switch(e.value){case "padding-box":return 1;case "content-box":return 2}return 0})},BQ={name:"background-position",initialValue:"0% 0%",type:1,prefix:false,parse:(r,A)=>DA(A).map(e=>e.map(t=>c0(t)?u0(t,0):_(t)?t:null).filter(t=>t!==null)).map(nf)},gQ={name:"background-repeat",initialValue:"repeat",prefix:false,type:1,parse:(r,A)=>DA(A).map(e=>e.filter(S).map(t=>t.value).join(" ")).map(wQ)},wQ=r=>{switch(r){case "no-repeat":return 1;case "repeat-x":case "repeat no-repeat":return 2;case "repeat-y":case "no-repeat repeat":return 3;default:return 0}},rt;(function(r){r.AUTO="auto",r.CONTAIN="contain",r.COVER="cover";})(rt||(rt={}));var mQ={name:"background-size",initialValue:"0",prefix:false,type:1,parse:(r,A)=>DA(A).map(e=>e.filter(CQ))},CQ=r=>S(r)||_(r),wn=r=>({name:`border-${r}-color`,initialValue:"transparent",prefix:false,type:3,format:"color"}),QQ=wn("top"),UQ=wn("right"),yQ=wn("bottom"),FQ=wn("left"),mn=r=>({name:`border-radius-${r}`,initialValue:"0 0",prefix:false,type:1,parse:(A,e)=>nf(e.filter(_))}),bQ=mn("top-left"),EQ=mn("top-right"),IQ=mn("bottom-right"),xQ=mn("bottom-left"),Cn=r=>({name:`border-${r}-style`,initialValue:"solid",prefix:false,type:2,parse:(A,e)=>{switch(e){case "none":return 0;case "dashed":return 2;case "dotted":return 3;case "double":return 4}return 1}}),SQ=Cn("top"),vQ=Cn("right"),HQ=Cn("bottom"),LQ=Cn("left"),Qn=r=>({name:`border-${r}-width`,initialValue:"0",type:0,prefix:false,parse:(A,e)=>$A(e)?e.number:0}),TQ=Qn("top"),MQ=Qn("right"),OQ=Qn("bottom"),RQ=Qn("left"),Xo={type:0},Jo=r=>{let[A]=r;return A?S(A)?A.value==="farthest-side"?"farthest-side":"closest-side":_(A)?A:"closest-side":"closest-side"},Sf=r=>{let A=null,e=null;for(let t of r)if(S(t))switch(t.value){case "left":A=iA;break;case "right":A=GA;break;case "top":e=iA;break;case "bottom":e=GA;break;case "center":A===null?A=Ee:e===null&&(e=Ee);break}else _(t)&&(A===null?A=t:e===null&&(e=t));return {cx:A??Ee,cy:e??Ee}},DQ=r=>{let A=[];for(let i of r)if(i.type!==31){if(S(i)&&i.value==="round")break;_(i)&&A.push(i);}let e=A[0]??iA,t=A[1]??e,s=A[2]??e,n=A[3]??t;return {type:1,top:e,right:t,bottom:s,left:n}},KQ=r=>{let A=r.filter(hn),e=A.findIndex(n=>er(n,"at")),t=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return {type:2,radius:Jo(t),...Sf(s)}},NQ=r=>{let A=r.filter(hn),e=A.findIndex(n=>er(n,"at")),t=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return {type:3,rx:Jo(t.slice(0,1)),ry:Jo(t.slice(1,2)),...Sf(s)}},kQ=r=>{let A=DA(r),e=[];for(let t of A){if(t.length===1&&S(t[0]))continue;let s=t.filter(_);s.length>=2&&e.push([s[0],s[1]]);}return {type:4,points:e}},PQ=r=>{let A=r.find(e=>e.type===0);return A?{type:5,d:A.value}:Xo},_Q={name:"clip-path",initialValue:"none",prefix:false,type:0,parse:(r,A)=>{if(S(A)&&A.value==="none")return Xo;if(A.type===18)switch(A.name){case "inset":return DQ(A.values);case "circle":return KQ(A.values);case "ellipse":return NQ(A.values);case "polygon":return kQ(A.values);case "path":return PQ(A.values)}return Xo}},GQ={name:"color",initialValue:"transparent",prefix:false,type:3,format:"color"},VQ={name:"direction",initialValue:"ltr",prefix:false,type:2,parse:(r,A)=>A==="rtl"?1:0},$Q={name:"display",initialValue:"inline-block",prefix:false,type:1,parse:(r,A)=>A.filter(S).reduce((e,t)=>e|WQ(t.value),0)},WQ=r=>{switch(r){case "block":case "-webkit-box":return 2;case "inline":return 4;case "run-in":return 8;case "flow":return 16;case "flow-root":return 32;case "table":return 64;case "flex":case "-webkit-flex":return 128;case "grid":case "-ms-grid":return 256;case "ruby":return 512;case "subgrid":return 1024;case "list-item":return 2048;case "table-row-group":return 4096;case "table-header-group":return 8192;case "table-footer-group":return 16384;case "table-row":return 32768;case "table-cell":return 65536;case "table-column-group":return 131072;case "table-column":return 262144;case "table-caption":return 524288;case "ruby-base":return 1048576;case "ruby-text":return 2097152;case "ruby-base-container":return 4194304;case "ruby-text-container":return 8388608;case "contents":return 16777216;case "inline-block":return 33554432;case "inline-list-item":return 67108864;case "inline-table":return 134217728;case "inline-flex":return 268435456;case "inline-grid":return 536870912}return 0},XQ={name:"float",initialValue:"none",prefix:false,type:2,parse:(r,A)=>{switch(A){case "left":return 1;case "right":return 2;case "inline-start":return 3;case "inline-end":return 4}return 0}},JQ={name:"letter-spacing",initialValue:"0",prefix:false,type:0,parse:(r,A)=>A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0},Ks;(function(r){r.NORMAL="normal",r.STRICT="strict";})(Ks||(Ks={}));var YQ={name:"line-break",initialValue:"normal",prefix:false,type:2,parse:(r,A)=>A==="strict"?Ks.STRICT:Ks.NORMAL},zQ={name:"line-height",initialValue:"normal",prefix:false,type:4},Bh=(r,A)=>S(r)&&r.value==="normal"?1.2*A:r.type===17?A*r.number:_(r)?I(r,A):A,ZQ={name:"list-style-image",initialValue:"none",type:0,prefix:false,parse:(r,A)=>A.type===20&&A.value==="none"?null:ya.parse(r,A)},jQ={name:"list-style-position",initialValue:"outside",prefix:false,type:2,parse:(r,A)=>A==="inside"?0:1},Yo={name:"list-style-type",initialValue:"none",prefix:false,type:2,parse:(r,A)=>{switch(A){case "disc":return 0;case "circle":return 1;case "square":return 2;case "decimal":return 3;case "cjk-decimal":return 4;case "decimal-leading-zero":return 5;case "lower-roman":return 6;case "upper-roman":return 7;case "lower-greek":return 8;case "lower-alpha":return 9;case "upper-alpha":return 10;case "arabic-indic":return 11;case "armenian":return 12;case "bengali":return 13;case "cambodian":return 14;case "cjk-earthly-branch":return 15;case "cjk-heavenly-stem":return 16;case "cjk-ideographic":return 17;case "devanagari":return 18;case "ethiopic-numeric":return 19;case "georgian":return 20;case "gujarati":return 21;case "gurmukhi":return 22;case "hebrew":return 52;case "hiragana":return 23;case "hiragana-iroha":return 24;case "japanese-formal":return 25;case "japanese-informal":return 26;case "kannada":return 27;case "katakana":return 28;case "katakana-iroha":return 29;case "khmer":return 30;case "korean-hangul-formal":return 31;case "korean-hanja-formal":return 32;case "korean-hanja-informal":return 33;case "lao":return 34;case "lower-armenian":return 35;case "malayalam":return 36;case "mongolian":return 37;case "myanmar":return 38;case "oriya":return 39;case "persian":return 40;case "simp-chinese-formal":return 41;case "simp-chinese-informal":return 42;case "tamil":return 43;case "telugu":return 44;case "thai":return 45;case "tibetan":return 46;case "trad-chinese-formal":return 47;case "trad-chinese-informal":return 48;case "upper-armenian":return 49;case "disclosure-open":return 50;case "disclosure-closed":return 51;default:return -1}}},Un=r=>({name:`margin-${r}`,initialValue:"0",prefix:false,type:4}),qQ=Un("top"),AU=Un("right"),eU=Un("bottom"),tU=Un("left"),rU={name:"overflow",initialValue:"visible",prefix:false,type:1,parse:(r,A)=>A.filter(S).map(e=>{switch(e.value){case "hidden":return 1;case "scroll":return 2;case "clip":return 3;case "auto":return 4;default:return 0}})},sU={name:"overflow-wrap",initialValue:"normal",prefix:false,type:2,parse:(r,A)=>A==="break-word"?"break-word":"normal"},yn=r=>({name:`padding-${r}`,initialValue:"0",prefix:false,type:3,format:"length-percentage"}),nU=yn("top"),iU=yn("right"),oU=yn("bottom"),aU=yn("left"),lU={name:"text-align",initialValue:"left",prefix:false,type:2,parse:(r,A)=>{switch(A){case "right":return 2;case "center":case "justify":return 1;default:return 0}}},cU={name:"position",initialValue:"static",prefix:false,type:2,parse:(r,A)=>{switch(A){case "relative":return 1;case "absolute":return 2;case "fixed":return 3;case "sticky":return 4}return 0}},uU={name:"text-shadow",initialValue:"none",type:1,prefix:false,parse:(r,A)=>A.length===1&&er(A[0],"none")?[]:DA(A).map(e=>{let t={color:VA.TRANSPARENT,offsetX:iA,offsetY:iA,blur:iA},s=0;for(let n=0;n<e.length;n++){let i=e[n];ue(i)?(s===0?t.offsetX=i:s===1?t.offsetY=i:t.blur=i,s++):t.color=ce.parse(r,i);}return t})},hU={name:"text-transform",initialValue:"none",prefix:false,type:2,parse:(r,A)=>{switch(A){case "uppercase":return 2;case "lowercase":return 1;case "capitalize":return 3}return 0}},fU={name:"transform",initialValue:"none",prefix:true,type:0,parse:(r,A)=>{if(A.type===20&&A.value==="none")return null;if(A.type===18){let e=gU[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported transform function "${A.name}"`);return e(r,A.values)}return null}},dU=(r,A)=>{let e=A.filter(t=>t.type===17).map(t=>t.number);return e.length===6?e:null},pU=(r,A)=>{let e=A.filter(l=>l.type===17).map(l=>l.number),[t,s,{},{},n,i,{},{},{},{},{},{},o,a]=e;return e.length===16?[t,s,n,i,o,a]:null},BU=(r,A)=>{if(A.length!==1)return null;let e=A[0],t=0;if(e.type===17&&e.number===0)t=0;else if(e.type===15)t=nt.parse(r,e);else return null;let s=Math.cos(t),n=Math.sin(t);return [s,n,-n,s,0,0]},gU={matrix:dU,matrix3d:pU,rotate:BU},gh={type:16,number:50,flags:st},wU=[gh,gh],mU={name:"transform-origin",initialValue:"50% 50%",prefix:true,type:1,parse:(r,A)=>{let e=A.filter(_);return e.length!==2?wU:[e[0],e[1]]}},CU={name:"rotate",initialValue:"none",prefix:false,type:0,parse:(r,A)=>A.type===20&&A.value==="none"?null:A.type===17&&A.number===0?0:A.type===15?nt.parse(r,A)*180/Math.PI:null},QU={name:"visible",initialValue:"none",prefix:false,type:2,parse:(r,A)=>{switch(A){case "hidden":return 1;case "collapse":return 2;default:return 0}}},zt;(function(r){r.NORMAL="normal",r.BREAK_ALL="break-all",r.KEEP_ALL="keep-all";})(zt||(zt={}));var UU={name:"word-break",initialValue:"normal",prefix:false,type:2,parse:(r,A)=>{switch(A){case "break-all":return zt.BREAK_ALL;case "keep-all":return zt.KEEP_ALL;default:return zt.NORMAL}}},yU={name:"z-index",initialValue:"auto",prefix:false,type:0,parse:(r,A)=>{if(A.type===20)return {auto:true,order:0};if(nA(A))return {auto:false,order:A.number};throw new Error("Invalid z-index number parsed")}},vf={name:"time",parse:(r,A)=>{if(A.type===15)switch(A.unit.toLowerCase()){case "s":return 1e3*A.number;case "ms":return A.number}throw new Error("Unsupported time type")}},FU={name:"opacity",initialValue:"1",type:0,prefix:false,parse:(r,A)=>nA(A)?A.number:1},bU={name:"text-decoration-color",initialValue:"transparent",prefix:false,type:3,format:"color"},EU={name:"text-decoration-line",initialValue:"none",prefix:false,type:1,parse:(r,A)=>A.filter(S).map(e=>{switch(e.value){case "underline":return 1;case "overline":return 2;case "line-through":return 3;case "none":return 4}return 0}).filter(e=>e!==0)},IU={name:"text-decoration-style",initialValue:"solid",prefix:false,type:2,parse:(r,A)=>{switch(A){case "double":return 1;case "dotted":return 2;case "dashed":return 3;case "wavy":return 4;default:return 0}}},xU={name:"text-decoration-thickness",initialValue:"auto",prefix:false,type:0,parse:(r,A)=>{if(S(A))switch(A.value){case "auto":return "auto";case "from-font":return "from-font"}return $A(A)?A.number:"auto"}},SU={name:"text-underline-offset",initialValue:"auto",prefix:false,type:0,parse:(r,A)=>S(A)&&A.value==="auto"?"auto":$A(A)?A.number:"auto"},vU={name:"font-family",initialValue:"",prefix:false,type:1,parse:(r,A)=>{let e=[],t=[];return A.forEach(s=>{switch(s.type){case 20:case 0:e.push(s.value);break;case 17:e.push(s.number.toString());break;case 4:t.push(e.join(" ")),e.length=0;break}}),e.length&&t.push(e.join(" ")),t.map(s=>s.indexOf(" ")===-1?s:`'${s}'`)}},HU={name:"font-size",initialValue:"0",prefix:false,type:3,format:"length"},LU={name:"font-weight",initialValue:"normal",type:0,prefix:false,parse:(r,A)=>nA(A)?A.number:S(A)&&A.value==="bold"?700:400},TU={name:"font-variant",initialValue:"none",type:1,prefix:false,parse:(r,A)=>A.filter(S).map(e=>e.value)},MU={name:"font-style",initialValue:"normal",prefix:false,type:2,parse:(r,A)=>{switch(A){case "oblique":return "oblique";case "italic":return "italic";default:return "normal"}}},j=(r,A)=>(r&A)!==0,OU={name:"content",initialValue:"none",type:1,prefix:false,parse:(r,A)=>{if(A.length===0)return [];let e=A[0];return e.type===20&&e.value==="none"?[]:A}},RU={name:"counter-increment",initialValue:"none",prefix:true,type:1,parse:(r,A)=>{if(A.length===0)return null;let e=A[0];if(e.type===20&&e.value==="none")return null;let t=[],s=A.filter(hn);for(let n=0;n<s.length;n++){let i=s[n],o=s[n+1];if(i.type===20){let a=o&&nA(o)?o.number:1;t.push({counter:i.value,increment:a});}}return t}},DU={name:"counter-reset",initialValue:"none",prefix:true,type:1,parse:(r,A)=>{if(A.length===0)return [];let e=[],t=A.filter(hn);for(let s=0;s<t.length;s++){let n=t[s],i=t[s+1];if(S(n)&&n.value!=="none"){let o=i&&nA(i)?i.number:0;e.push({counter:n.value,reset:o});}}return e}},KU={name:"duration",initialValue:"0s",prefix:false,type:1,parse:(r,A)=>A.filter($A).map(e=>vf.parse(r,e))},NU={name:"quotes",initialValue:"none",prefix:true,type:1,parse:(r,A)=>{if(A.length===0)return null;let e=A[0];if(e.type===20&&e.value==="none")return null;let t=[],s=A.filter(i0);if(s.length%2!==0)return null;for(let n=0;n<s.length;n+=2){let i=s[n].value,o=s[n+1].value;t.push({open:i,close:o});}return t}},wh=(r,A,e)=>{if(!r)return "";let t=r[Math.min(A,r.length-1)];return t?e?t.open:t.close:""},kU={name:"box-shadow",initialValue:"none",type:1,prefix:false,parse:(r,A)=>A.length===1&&er(A[0],"none")?[]:DA(A).map(e=>{let t={color:255,offsetX:iA,offsetY:iA,blur:iA,spread:iA,inset:false},s=0;for(let n=0;n<e.length;n++){let i=e[n];er(i,"inset")?t.inset=true:ue(i)?(s===0?t.offsetX=i:s===1?t.offsetY=i:s===2?t.blur=i:t.spread=i,s++):t.color=ce.parse(r,i);}return t})},PU={name:"paint-order",initialValue:"normal",prefix:false,type:1,parse:(r,A)=>{let e=[0,1,2],t=[];return A.filter(S).forEach(s=>{switch(s.value){case "stroke":t.push(1);break;case "fill":t.push(0);break;case "markers":t.push(2);break}}),e.forEach(s=>{t.indexOf(s)===-1&&t.push(s);}),t}},_U={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:false,type:3,format:"color"},GU={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:false,parse:(r,A)=>$A(A)?A.number:0},VU={name:"-webkit-line-clamp",initialValue:"none",prefix:true,type:0,parse:(r,A)=>A.type===20&&A.value==="none"?0:A.type===17?Math.max(0,Math.floor(A.number)):0},$U={name:"objectFit",initialValue:"fill",prefix:false,type:1,parse:(r,A)=>A.filter(S).reduce((e,t)=>e|WU(t.value),0)},WU=r=>{switch(r){case "contain":return 2;case "cover":return 4;case "none":return 8;case "scale-down":return 16}return 0},XU={name:"text-overflow",initialValue:"clip",prefix:false,type:2,parse:(r,A)=>A==="ellipsis"?1:0},yA;(function(r){r[r.AUTO=0]="AUTO",r[r.CRISP_EDGES=1]="CRISP_EDGES",r[r.PIXELATED=2]="PIXELATED",r[r.SMOOTH=3]="SMOOTH";})(yA||(yA={}));var JU={name:"image-rendering",initialValue:"auto",prefix:false,type:2,parse:(r,A)=>{switch(A.toLowerCase()){case "crisp-edges":case "-webkit-crisp-edges":case "-moz-crisp-edges":return yA.CRISP_EDGES;case "pixelated":case "-webkit-optimize-contrast":return yA.PIXELATED;case "smooth":case "high-quality":return yA.SMOOTH;default:return yA.AUTO}}},zo=class{constructor(A,e){this.animationDuration=y(A,KU,e.animationDuration),this.backgroundClip=y(A,rQ,e.backgroundClip),this.backgroundColor=y(A,sQ,e.backgroundColor),this.backgroundImage=y(A,dQ,e.backgroundImage),this.backgroundOrigin=y(A,pQ,e.backgroundOrigin),this.backgroundPosition=y(A,BQ,e.backgroundPosition),this.backgroundRepeat=y(A,gQ,e.backgroundRepeat),this.backgroundSize=y(A,mQ,e.backgroundSize),this.borderTopColor=y(A,QQ,e.borderTopColor),this.borderRightColor=y(A,UQ,e.borderRightColor),this.borderBottomColor=y(A,yQ,e.borderBottomColor),this.borderLeftColor=y(A,FQ,e.borderLeftColor),this.borderTopLeftRadius=y(A,bQ,e.borderTopLeftRadius),this.borderTopRightRadius=y(A,EQ,e.borderTopRightRadius),this.borderBottomRightRadius=y(A,IQ,e.borderBottomRightRadius),this.borderBottomLeftRadius=y(A,xQ,e.borderBottomLeftRadius),this.borderTopStyle=y(A,SQ,e.borderTopStyle),this.borderRightStyle=y(A,vQ,e.borderRightStyle),this.borderBottomStyle=y(A,HQ,e.borderBottomStyle),this.borderLeftStyle=y(A,LQ,e.borderLeftStyle),this.borderTopWidth=y(A,TQ,e.borderTopWidth),this.borderRightWidth=y(A,MQ,e.borderRightWidth),this.borderBottomWidth=y(A,OQ,e.borderBottomWidth),this.borderLeftWidth=y(A,RQ,e.borderLeftWidth),this.boxShadow=y(A,kU,e.boxShadow),this.clipPath=y(A,_Q,e.clipPath),this.color=y(A,GQ,e.color),this.direction=y(A,VQ,e.direction),this.display=y(A,$Q,e.display),this.float=y(A,XQ,e.cssFloat),this.fontFamily=y(A,vU,e.fontFamily),this.fontSize=y(A,HU,e.fontSize),this.fontStyle=y(A,MU,e.fontStyle),this.fontVariant=y(A,TU,e.fontVariant),this.fontWeight=y(A,LU,e.fontWeight),this.letterSpacing=y(A,JQ,e.letterSpacing),this.lineBreak=y(A,YQ,e.lineBreak),this.lineHeight=y(A,zQ,e.lineHeight),this.listStyleImage=y(A,ZQ,e.listStyleImage),this.listStylePosition=y(A,jQ,e.listStylePosition),this.listStyleType=y(A,Yo,e.listStyleType),this.marginTop=y(A,qQ,e.marginTop),this.marginRight=y(A,AU,e.marginRight),this.marginBottom=y(A,eU,e.marginBottom),this.marginLeft=y(A,tU,e.marginLeft),this.opacity=y(A,FU,e.opacity);let t=y(A,rU,e.overflow);this.overflowX=t[0],this.overflowY=t[t.length>1?1:0],this.overflowWrap=y(A,sU,e.overflowWrap),this.paddingTop=y(A,nU,e.paddingTop),this.paddingRight=y(A,iU,e.paddingRight),this.paddingBottom=y(A,oU,e.paddingBottom),this.paddingLeft=y(A,aU,e.paddingLeft),this.paintOrder=y(A,PU,e.paintOrder),this.position=y(A,cU,e.position),this.textAlign=y(A,lU,e.textAlign),this.textDecorationColor=y(A,bU,e.textDecorationColor??e.color),this.textDecorationLine=y(A,EU,e.textDecorationLine??e.textDecoration),this.textDecorationStyle=y(A,IU,e.textDecorationStyle),this.textDecorationThickness=y(A,xU,e.textDecorationThickness),this.textUnderlineOffset=y(A,SU,e.textUnderlineOffset),this.textShadow=y(A,uU,e.textShadow),this.textTransform=y(A,hU,e.textTransform),this.textOverflow=y(A,XU,e.textOverflow),this.transform=y(A,fU,e.transform),this.transformOrigin=y(A,mU,e.transformOrigin),this.rotate=y(A,CU,e.rotate),this.visibility=y(A,QU,e.visibility),this.webkitTextStrokeColor=y(A,_U,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=y(A,GU,e.webkitTextStrokeWidth),this.webkitLineClamp=y(A,VU,e.webkitLineClamp),this.wordBreak=y(A,UU,e.wordBreak),this.zIndex=y(A,yU,e.zIndex),this.objectFit=y(A,$U,e.objectFit),this.imageRendering=y(A,JU,e.imageRendering);}isVisible(){return this.display>0&&this.opacity>0&&this.visibility===0}isTransparent(){return le(this.backgroundColor)}isTransformed(){return this.transform!==null||this.rotate!==null}isPositioned(){return this.position!==0}isPositionedWithZIndex(){return this.isPositioned()&&!this.zIndex.auto}isFloating(){return this.float!==0}isInlineLevel(){return j(this.display,4)||j(this.display,33554432)||j(this.display,268435456)||j(this.display,536870912)||j(this.display,67108864)||j(this.display,134217728)}},Zo=class{constructor(A,e){this.content=y(A,OU,e.content),this.quotes=y(A,NU,e.quotes);}},Ns=class{constructor(A,e){this.counterIncrement=y(A,RU,e.counterIncrement),this.counterReset=y(A,DU,e.counterReset);}},y=(r,A,e)=>{let t=new Os,s=e!==null&&typeof e<"u"?e.toString():A.initialValue;t.write(s);let n=new Rs(t.read());switch(A.type){case 2:let i=n.parseComponentValue();return A.parse(r,S(i)?i.value:A.initialValue);case 0:return A.parse(r,n.parseComponentValue());case 1:return A.parse(r,n.parseComponentValues());case 4:return n.parseComponentValue();case 3:switch(A.format){case "angle":return nt.parse(r,n.parseComponentValue());case "color":return ce.parse(r,n.parseComponentValue());case "image":return ya.parse(r,n.parseComponentValue());case "length":let o=n.parseComponentValue();return ue(o)?o:iA;case "length-percentage":let a=n.parseComponentValue();return _(a)?a:iA;case "time":return vf.parse(r,n.parseComponentValue())}break}},qA=r=>r.nodeType===Node.ELEMENT_NODE,Hf=r=>r.nodeType===Node.TEXT_NODE,qe=r=>typeof r.className=="object",tr=r=>qA(r)&&typeof r.style<"u"&&!qe(r),YU=r=>r.tagName==="LI",zU=r=>r.tagName==="OL",mh=r=>!qe(r)&&r.tagName.indexOf("-")>0,ZU="data-html2canvas-debug",jU=r=>{if(typeof r.getAttribute!="function")return 0;switch(r.getAttribute(ZU)){case "all":return 1;case "clone":return 2;case "parse":return 3;case "render":return 4;default:return 0}},jo=(r,A)=>{let e=jU(r);return e===1||A===e},ks=class{static normalizeElement(A,e){let t={};return tr(A)&&(e.animationDuration.some(s=>s>0)&&(t.animationDuration=A.style.animationDuration,A.style.animationDuration="0s"),e.transform!==null&&(t.transform=A.style.transform,A.style.transform="translate(0, 0)"),e.rotate!==null&&(t.rotate=A.style.rotate,A.style.rotate="0deg",t.transform===void 0&&(t.transform=A.style.transform,A.style.transform="translate(0, 0)"))),t}static restoreElement(A,e){tr(A)&&(e.animationDuration!==void 0&&(A.style.animationDuration=e.animationDuration),e.transform!==void 0&&(A.style.transform=e.transform),e.rotate!==void 0&&(A.style.rotate=e.rotate));}},vA=class{constructor(A,e,t={}){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,jo(e,3))debugger;this.styles=new zo(A,A.config.window.getComputedStyle(e,null)),t.normalizeDom!==false&&tr(e)&&(this.originalStyles=ks.normalizeElement(e,this.styles),this.originalElement=e),this.bounds=cn(this.context,e),jo(e,4)&&(this.flags|=16);}restore(){this.originalStyles&&this.originalElement&&(ks.restoreElement(this.originalElement,this.originalStyles),this.originalStyles=void 0,this.originalElement=void 0);}restoreTree(){this.restore();for(let A of this.elements)A.restoreTree();}},qU="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIA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MAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAG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AAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Ch="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Wt=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(Nt=0;Nt<Ch.length;Nt++)Wt[Ch.charCodeAt(Nt)]=Nt;var Nt,Ay=function(r){var A=r.length*.75,e=r.length,t,s=0,n,i,o,a;r[r.length-1]==="="&&(A--,r[r.length-2]==="="&&A--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),c=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t<e;t+=4)n=Wt[r.charCodeAt(t)],i=Wt[r.charCodeAt(t+1)],o=Wt[r.charCodeAt(t+2)],a=Wt[r.charCodeAt(t+3)],c[s++]=n<<2|i>>4,c[s++]=(i&15)<<4|o>>2,c[s++]=(o&3)<<6|a&63;return l},ey=function(r){for(var A=r.length,e=[],t=0;t<A;t+=2)e.push(r[t+1]<<8|r[t]);return e},ty=function(r){for(var A=r.length,e=[],t=0;t<A;t+=4)e.push(r[t+3]<<24|r[t+2]<<16|r[t+1]<<8|r[t]);return e},xe=5,Fa=11,Co=2,ry=Fa-xe,Lf=65536>>xe,sy=1<<xe,Qo=sy-1,ny=1024>>xe,iy=Lf+ny,oy=iy,ay=32,ly=oy+ay,cy=65536>>Fa,uy=1<<ry,hy=uy-1,Qh=function(r,A,e){return r.slice?r.slice(A,e):new Uint16Array(Array.prototype.slice.call(r,A,e))},fy=function(r,A,e){return r.slice?r.slice(A,e):new Uint32Array(Array.prototype.slice.call(r,A,e))},dy=function(r,A){var e=Ay(r),t=Array.isArray(e)?ty(e):new Uint32Array(e),s=Array.isArray(e)?ey(e):new Uint16Array(e),n=24,i=Qh(s,n/2,t[4]/2),o=t[5]===2?Qh(s,(n+t[4])/2):fy(t,Math.ceil((n+t[4])/4));return new py(t[0],t[1],t[2],t[3],i,o)},py=(function(){function r(A,e,t,s,n,i){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=s,this.index=n,this.data=i;}return r.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>xe],e=(e<<Co)+(A&Qo),this.data[e];if(A<=65535)return e=this.index[Lf+(A-55296>>xe)],e=(e<<Co)+(A&Qo),this.data[e];if(A<this.highStart)return e=ly-cy+(A>>Fa),e=this.index[e],e+=A>>xe&hy,e=this.index[e],e=(e<<Co)+(A&Qo),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},r})(),Uh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",By=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(kt=0;kt<Uh.length;kt++)By[Uh.charCodeAt(kt)]=kt;var kt,gy=1,Uo=2,yo=3,yh=4,Fh=5,wy=7,bh=8,Fo=9,bo=10,Eh=11,Ih=12,xh=13,Sh=14,Eo=15,my=function(r){for(var A=[],e=0,t=r.length;e<t;){var s=r.charCodeAt(e++);if(s>=55296&&s<=56319&&e<t){var n=r.charCodeAt(e++);(n&64512)===56320?A.push(((s&1023)<<10)+(n&1023)+65536):(A.push(s),e--);}else A.push(s);}return A},Cy=function(){for(var r=[],A=0;A<arguments.length;A++)r[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,r);var e=r.length;if(!e)return "";for(var t=[],s=-1,n="";++s<e;){var i=r[s];i<=65535?t.push(i):(i-=65536,t.push((i>>10)+55296,i%1024+56320)),(s+1===e||t.length>16384)&&(n+=String.fromCharCode.apply(String,t),t.length=0);}return n},Qy=dy(qU),IA="\xD7",Io="\xF7",Uy=function(r){return Qy.get(r)},yy=function(r,A,e){var t=e-2,s=A[t],n=A[e-1],i=A[e];if(n===Uo&&i===yo)return IA;if(n===Uo||n===yo||n===yh||i===Uo||i===yo||i===yh)return Io;if(n===bh&&[bh,Fo,Eh,Ih].indexOf(i)!==-1||(n===Eh||n===Fo)&&(i===Fo||i===bo)||(n===Ih||n===bo)&&i===bo||i===xh||i===Fh||i===wy||n===gy)return IA;if(n===xh&&i===Sh){for(;s===Fh;)s=A[--t];if(s===Sh)return IA}if(n===Eo&&i===Eo){for(var o=0;s===Eo;)o++,s=A[--t];if(o%2===0)return IA}return Io},Fy=function(r){var A=my(r),e=A.length,t=0,s=0,n=A.map(Uy);return {next:function(){if(t>=e)return {done:true,value:null};for(var i=IA;t<e&&(i=yy(A,n,++t))===IA;);if(i!==IA||t===e){var o=Cy.apply(null,A.slice(s,t));return s=t,{value:o,done:false}}return {done:true,value:null}}}},by=function(r){for(var A=Fy(r),e=[],t;!(t=A.next()).done;)t.value&&e.push(t.value.slice());return e},Ey=r=>{if(r.createRange){let e=r.createRange();if(e.getBoundingClientRect){let t=r.createElement("boundtest");t.style.height="123px",t.style.display="block",r.body.appendChild(t),e.selectNode(t);let s=e.getBoundingClientRect(),n=Math.round(s.height);if(r.body.removeChild(t),n===123)return true}}return false},Iy=r=>{let A=r.createElement("boundtest");A.style.width="50px",A.style.display="block",A.style.fontSize="12px",A.style.letterSpacing="0px",A.style.wordSpacing="0px",r.body.appendChild(A);let e=r.createRange();A.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";let t=A.firstChild,s=un(t.data).map(a=>sA(a)),n=0,i={},o=s.every((a,l)=>{e.setStart(t,n),e.setEnd(t,n+a.length);let c=e.getBoundingClientRect();n+=a.length;let u=c.x>i.x||c.y>i.y;return i=c,l===0?true:u});return r.body.removeChild(A),o},xy=()=>typeof new Image().crossOrigin<"u",Sy=()=>typeof new XMLHttpRequest().responseType=="string",vy=r=>{let A=new Image,e=r.createElement("canvas"),t=e.getContext("2d");if(!t)return false;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{t.drawImage(A,0,0),e.toDataURL();}catch{return false}return true},vh=r=>r[0]===0&&r[1]===255&&r[2]===0&&r[3]===255,Hy=r=>{let A=r.createElement("canvas"),e=100;A.width=e,A.height=e;let t=A.getContext("2d");if(!t)return Promise.reject(false);t.fillStyle="rgb(0, 255, 0)",t.fillRect(0,0,e,e);let s=new Image,n=A.toDataURL();s.src=n;let i=qo(e,e,0,0,s);return t.fillStyle="red",t.fillRect(0,0,e,e),Hh(i).then(o=>{t.drawImage(o,0,0);let a=t.getImageData(0,0,e,e).data;t.fillStyle="red",t.fillRect(0,0,e,e);let l=r.createElement("div");return l.style.backgroundImage=`url(${n})`,l.style.height=`${e}px`,vh(a)?Hh(qo(e,e,0,0,l)):Promise.reject(false)}).then(o=>(t.drawImage(o,0,0),vh(t.getImageData(0,0,e,e).data))).catch(()=>false)},qo=(r,A,e,t,s)=>{let n="http://www.w3.org/2000/svg",i=document.createElementNS(n,"svg"),o=document.createElementNS(n,"foreignObject");return i.setAttributeNS(null,"width",r.toString()),i.setAttributeNS(null,"height",A.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",e.toString()),o.setAttributeNS(null,"y",t.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),i.appendChild(o),o.appendChild(s),i},Hh=r=>new Promise((A,e)=>{let t=new Image;t.onload=()=>A(t),t.onerror=e,t.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(r))}`;}),cA={get SUPPORT_RANGE_BOUNDS(){let r=Ey(document);return Object.defineProperty(cA,"SUPPORT_RANGE_BOUNDS",{value:r}),r},get SUPPORT_WORD_BREAKING(){let r=cA.SUPPORT_RANGE_BOUNDS&&Iy(document);return Object.defineProperty(cA,"SUPPORT_WORD_BREAKING",{value:r}),r},get SUPPORT_SVG_DRAWING(){let r=vy(document);return Object.defineProperty(cA,"SUPPORT_SVG_DRAWING",{value:r}),r},get SUPPORT_FOREIGNOBJECT_DRAWING(){let r=typeof Array.from=="function"&&typeof window.fetch=="function"?Hy(document):Promise.resolve(false);return Object.defineProperty(cA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:r}),r},get SUPPORT_CORS_IMAGES(){let r=xy();return Object.defineProperty(cA,"SUPPORT_CORS_IMAGES",{value:r}),r},get SUPPORT_RESPONSE_TYPE(){let r=Sy();return Object.defineProperty(cA,"SUPPORT_RESPONSE_TYPE",{value:r}),r},get SUPPORT_CORS_XHR(){let r="withCredentials"in new XMLHttpRequest;return Object.defineProperty(cA,"SUPPORT_CORS_XHR",{value:r}),r},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){let r=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(cA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:r}),r}},Ae=class{constructor(A,e){this.text=A,this.bounds=e;}},Ly=(r,A,e,t)=>{let s=Oy(A,e),n=[],i=0;return s.forEach(o=>{if(e.textDecorationLine.length||o.trim().length>0)if(cA.SUPPORT_RANGE_BOUNDS){let a=Lh(t,i,o.length).getClientRects();if(a.length>1){let l=Ps(o),c=0;l.forEach(u=>{n.push(new Ae(u,FA.fromDOMRectList(r,Lh(t,c+i,u.length).getClientRects()))),c+=u.length;});}else n.push(new Ae(o,FA.fromDOMRectList(r,a)));}else {let a=t.splitText(o.length);n.push(new Ae(o,Ty(r,t))),t=a;}else cA.SUPPORT_RANGE_BOUNDS||(t=t.splitText(o.length));i+=o.length;}),n},Ty=(r,A)=>{let e=A.ownerDocument;if(e){let t=e.createElement("html2canvaswrapper");t.appendChild(A.cloneNode(true));let s=A.parentNode;if(s){s.replaceChild(t,A);let n=cn(r,t);return t.firstChild&&s.replaceChild(t.firstChild,t),n}}return FA.EMPTY},Lh=(r,A,e)=>{let t=r.ownerDocument;if(!t)throw new Error("Node has no owner document");let s=t.createRange();return s.setStart(r,A),s.setEnd(r,A+e),s},Ps=r=>{if(cA.SUPPORT_NATIVE_TEXT_SEGMENTATION){let A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(r)).map(e=>e.segment)}return by(r)},My=(r,A)=>{if(cA.SUPPORT_NATIVE_TEXT_SEGMENTATION){let e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(r)).map(t=>t.segment)}return Dy(r,A)},Oy=(r,A)=>A.letterSpacing!==0?Ps(r):My(r,A),Ry=[32,160,4961,65792,65793,4153,4241],Dy=(r,A)=>{let e=AC(r,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),t=[],s;for(;!(s=e.next()).done;)if(s.value){let n=s.value.slice(),i=un(n),o="";i.forEach(a=>{Ry.indexOf(a)===-1?o+=sA(a):(o.length&&t.push(o),t.push(sA(a)),o="");}),o.length&&t.push(o);}return t},Aa=class{constructor(A,e,t){this.text=Ky(e.data,t.textTransform),this.textBounds=Ly(A,this.text,t,e);}},Ky=(r,A)=>{switch(A){case 1:return r.toLowerCase();case 3:return r.replace(Ny,ky);case 2:return r.toUpperCase();default:return r}},Ny=/(^|\s|:|-|\(|\))([a-z])/g,ky=(r,A,e)=>r.length>0?A+e.toUpperCase():r,_s=class extends vA{constructor(A,e){super(A,e),this.src=e.currentSrc||e.src,this.intrinsicWidth=e.naturalWidth,this.intrinsicHeight=e.naturalHeight,this.context.cache.addImage(this.src);}},Gs=class extends vA{constructor(A,e){super(A,e),this.canvas=e,this.intrinsicWidth=e.width,this.intrinsicHeight=e.height;}},Vs=class extends vA{constructor(A,e){super(A,e);let t=new XMLSerializer,s=cn(A,e);e.setAttribute("width",`${s.width}px`),e.setAttribute("height",`${s.height}px`),this.svg=`data:image/svg+xml,${encodeURIComponent(t.serializeToString(e))}`,this.intrinsicWidth=e.width.baseVal.value,this.intrinsicHeight=e.height.baseVal.value,this.context.cache.addImage(this.svg);}},$s=class extends vA{constructor(A,e){super(A,e),this.value=e.value;}},rr=class extends vA{constructor(A,e){super(A,e),this.start=e.start,this.reversed=typeof e.reversed=="boolean"&&e.reversed===true;}},Py=[{type:15,flags:0,unit:"px",number:3}],_y=[{type:16,flags:0,number:50}],Gy=r=>r.width>r.height?new FA(r.left+(r.width-r.height)/2,r.top,r.height,r.height):r.width<r.height?new FA(r.left,r.top+(r.height-r.width)/2,r.width,r.width):r,Vy=r=>{let A=r.type===Wy?new Array(r.value.length+1).join("\u2022"):r.value;return A.length===0?r.placeholder||"":A},$y=r=>r.value.length===0&&!!r.placeholder,Ws="checkbox",Xs="radio",Wy="password",Th=707406591,Xy=1970632191,Se=class extends vA{constructor(A,e){switch(super(A,e),this.type=e.type.toLowerCase(),this.checked=e.checked,this.value=Vy(e),this.isPlaceholder=$y(e),(this.type===Ws||this.type===Xs)&&(this.styles.backgroundColor=3739148031,this.styles.borderTopColor=this.styles.borderRightColor=this.styles.borderBottomColor=this.styles.borderLeftColor=2779096575,this.styles.borderTopWidth=this.styles.borderRightWidth=this.styles.borderBottomWidth=this.styles.borderLeftWidth=1,this.styles.borderTopStyle=this.styles.borderRightStyle=this.styles.borderBottomStyle=this.styles.borderLeftStyle=1,this.styles.backgroundClip=[0],this.styles.backgroundOrigin=[0],this.bounds=Gy(this.bounds)),this.type){case Ws:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=Py;break;case Xs:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=_y;break}}},Js=class extends vA{constructor(A,e){super(A,e);let t=e.options[e.selectedIndex||0];this.value=t&&t.text||"";}},Ys=class extends vA{constructor(A,e){super(A,e),this.value=e.value;}},zs=class extends vA{constructor(A,e,t){super(A,e),this.src=e.src,this.width=parseInt(e.width,10)||0,this.height=parseInt(e.height,10)||0,this.backgroundColor=this.styles.backgroundColor,this.parseTreeFn=t;try{if(e.contentWindow&&e.contentWindow.document&&e.contentWindow.document.documentElement&&this.parseTreeFn){this.tree=this.parseTreeFn(A,e.contentWindow.document.documentElement);let s=e.contentWindow.document.documentElement?tt(A,getComputedStyle(e.contentWindow.document.documentElement).backgroundColor):VA.TRANSPARENT,n=e.contentWindow.document.body?tt(A,getComputedStyle(e.contentWindow.document.body).backgroundColor):VA.TRANSPARENT;this.backgroundColor=le(s)?le(n)?this.styles.backgroundColor:n:s;}}catch{}}},Jy=["OL","UL","MENU"],Ls=(r,A,e,t)=>{for(let s=A.firstChild,n;s;s=n)if(n=s.nextSibling,Hf(s)&&s.data.length>0)e.textNodes.push(new Aa(r,s,e.styles));else if(qA(s))if(Xt(s)&&s.assignedNodes)s.assignedNodes().forEach(i=>Ls(r,i,e,t));else {let i=Tf(r,s);i.styles.isVisible()&&(Yy(s,i,t)?i.flags|=4:zy(i.styles)&&(i.flags|=2),Jy.indexOf(s.tagName)!==-1&&(i.flags|=8),e.elements.push(i),s.slot,s.shadowRoot?Ls(r,s.shadowRoot,i,t):!Zs(s)&&!Of(s)&&!js(s)&&Ls(r,s,i,t));}},Tf=(r,A)=>ea(A)?new _s(r,A):Rf(A)?new Gs(r,A):Of(A)?new Vs(r,A):YU(A)?new $s(r,A):zU(A)?new rr(r,A):Zy(A)?new Se(r,A):js(A)?new Js(r,A):Zs(A)?new Ys(r,A):Df(A)?new zs(r,A,Mf):new vA(r,A),Mf=(r,A)=>{let e=Tf(r,A);return e.flags|=4,Ls(r,A,e,e),e},Yy=(r,A,e)=>A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||ba(r)&&e.styles.isTransparent(),zy=r=>r.isPositioned()||r.isFloating()?true:j(r.display,268435456)||j(r.display,33554432)||j(r.display,536870912)||j(r.display,134217728),Zy=r=>r.tagName==="INPUT",jy=r=>r.tagName==="HTML",Of=r=>r.tagName==="svg",ba=r=>r.tagName==="BODY",Rf=r=>r.tagName==="CANVAS",Mh=r=>r.tagName==="VIDEO",ea=r=>r.tagName==="IMG",Df=r=>r.tagName==="IFRAME",xo=r=>r.tagName==="STYLE",Oh=r=>r.tagName==="SCRIPT",Zs=r=>r.tagName==="TEXTAREA",js=r=>r.tagName==="SELECT",Xt=r=>r.tagName==="SLOT",ta=class{constructor(){this.counters={};}getCounterValue(A){let e=this.counters[A];return e&&e.length?e[e.length-1]:1}getCounterValues(A){let e=this.counters[A];return e||[]}pop(A){A.forEach(e=>this.counters[e].pop());}parse(A){let e=A.counterIncrement,t=A.counterReset,s=true;e!==null&&e.forEach(i=>{let o=this.counters[i.counter];o&&i.increment!==0&&(s=false,o.length||o.push(1),o[Math.max(0,o.length-1)]+=i.increment);});let n=[];return s&&t.forEach(i=>{let o=this.counters[i.counter];n.push(i.counter),o||(o=this.counters[i.counter]=[]),o.push(i.reset);}),n}},Rh={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Dh={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},qy={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},AF={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Je=(r,A,e,t,s,n)=>r<A||r>e?sr(r,s,n.length>0):t.integers.reduce((i,o,a)=>{for(;r>=o;)r-=o,i+=t.values[a];return i},"")+n,Kf=(r,A,e,t)=>{let s="";do e||r--,s=t(r)+s,r/=A;while(r*A>=A);return s},rA=(r,A,e,t,s)=>{let n=e-A+1;return (r<0?"-":"")+(Kf(Math.abs(r),n,t,i=>sA(Math.floor(i%n)+A))+s)},Ue=(r,A,e=". ")=>{let t=A.length;return Kf(Math.abs(r),t,false,s=>A[Math.floor(s%t)])+e},Ze=1,se=2,ne=4,Jt=8,jA=(r,A,e,t,s,n)=>{if(r<-9999||r>9999)return sr(r,4,s.length>0);let i=Math.abs(r),o=s;if(i===0)return A[0]+o;for(let a=0;i>0&&a<=4;a++){let l=i%10;l===0&&j(n,Ze)&&o!==""?o=A[l]+o:l>1||l===1&&a===0||l===1&&a===1&&j(n,se)||l===1&&a===1&&j(n,ne)&&r>100||l===1&&a>1&&j(n,Jt)?o=A[l]+(a>0?e[a-1]:"")+o:l===1&&a>0&&(o=e[a-1]+o),i=Math.floor(i/10);}return (r<0?t:"")+o},Kh="\u5341\u767E\u5343\u842C",Nh="\u62FE\u4F70\u4EDF\u842C",kh="\u30DE\u30A4\u30CA\u30B9",So="\uB9C8\uC774\uB108\uC2A4",sr=(r,A,e)=>{let t=e?". ":"",s=e?"\u3001":"",n=e?", ":"",i=e?" ":"";switch(A){case 0:return "\u2022"+i;case 1:return "\u25E6"+i;case 2:return "\u25FE"+i;case 5:let o=rA(r,48,57,true,t);return o.length<4?`0${o}`:o;case 4:return Ue(r,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",s);case 6:return Je(r,1,3999,Rh,3,t).toLowerCase();case 7:return Je(r,1,3999,Rh,3,t);case 8:return rA(r,945,969,false,t);case 9:return rA(r,97,122,false,t);case 10:return rA(r,65,90,false,t);case 11:return rA(r,1632,1641,true,t);case 12:case 49:return Je(r,1,9999,Dh,3,t);case 35:return Je(r,1,9999,Dh,3,t).toLowerCase();case 13:return rA(r,2534,2543,true,t);case 14:case 30:return rA(r,6112,6121,true,t);case 15:return Ue(r,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",s);case 16:return Ue(r,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",s);case 17:case 48:return jA(r,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Kh,"\u8CA0",s,se|ne|Jt);case 47:return jA(r,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Nh,"\u8CA0",s,Ze|se|ne|Jt);case 42:return jA(r,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Kh,"\u8D1F",s,se|ne|Jt);case 41:return jA(r,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Nh,"\u8D1F",s,Ze|se|ne|Jt);case 26:return jA(r,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",kh,s,0);case 25:return jA(r,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",kh,s,Ze|se|ne);case 31:return jA(r,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",So,n,Ze|se|ne);case 33:return jA(r,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",So,n,0);case 32:return jA(r,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",So,n,Ze|se|ne);case 18:return rA(r,2406,2415,true,t);case 20:return Je(r,1,19999,AF,3,t);case 21:return rA(r,2790,2799,true,t);case 22:return rA(r,2662,2671,true,t);case 52:return Je(r,1,10999,qy,3,t);case 23:return Ue(r,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return Ue(r,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return rA(r,3302,3311,true,t);case 28:return Ue(r,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",s);case 29:return Ue(r,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",s);case 34:return rA(r,3792,3801,true,t);case 37:return rA(r,6160,6169,true,t);case 38:return rA(r,4160,4169,true,t);case 39:return rA(r,2918,2927,true,t);case 40:return rA(r,1776,1785,true,t);case 43:return rA(r,3046,3055,true,t);case 44:return rA(r,3174,3183,true,t);case 45:return rA(r,3664,3673,true,t);case 46:return rA(r,3872,3881,true,t);default:return rA(r,48,57,true,t)}},ra="data-html2canvas-ignore",eF=r=>{let A=r;for(;A;){if(A.parentNode&&A.parentNode.host)return A.parentNode;let e=A.getRootNode();if(e&&e!==A.ownerDocument&&e.host)return e;A=A.parentNode;}return null},qs=class{constructor(A,e,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=e,this.counters=new ta,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");if(!this.options.iframeContainer){let s=eF(e);s&&(this.options.iframeContainer=s);}this.documentElement=this.cloneNode(e.ownerDocument.documentElement,false);}toIFrame(A,e){let t=tF(A,e,this.options.iframeContainer);if(!t.contentWindow)throw new Error("Unable to find iframe window");let s=A.defaultView.pageXOffset,n=A.defaultView.pageYOffset,i=t.contentWindow,o=i.document,a=nF(t).then(async()=>{this.scrolledElements.forEach(lF),i&&(i.scrollTo(e.left,e.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(i.scrollY!==e.top||i.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(i.scrollX-e.left,i.scrollY-e.top,0,0)));let h=this.options.onclone,f=this.clonedReferenceElement;if(typeof f>"u")throw new Error(`Error finding the ${this.referenceElement.nodeName} in the cloned document`);return o.fonts&&o.fonts.ready&&await o.fonts.ready,/(AppleWebKit)/g.test(navigator.userAgent)&&await sF(o),typeof h=="function"?Promise.resolve().then(()=>h(o,f)).then(()=>t):t}),l=o.baseURI;o.open();let c=oF(document.doctype)+"<html></html>";try{let h=this.referenceElement.ownerDocument?.defaultView,f=h&&h.trustedTypes,p=f?.getPolicy?.("html2canvas-pro");!p&&f&&(p=f.createPolicy("html2canvas-pro",{createHTML:d=>d})),p?o.write(p.createHTML(c)):o.write(c);}catch{o.write(c);}aF(this.referenceElement.ownerDocument,s,n),o.close();let u=o.adoptNode(this.documentElement);return dF(u,l),o.replaceChild(u,o.documentElement),a}createElementClone(A){if(jo(A,2))debugger;if(Rf(A))return this.createCanvasClone(A);if(Mh(A))return this.createVideoClone(A);if(xo(A))return this.createStyleClone(A);let e=A.cloneNode(false);return ea(e)&&(ea(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),e.loading==="lazy"&&(e.loading="eager")),mh(e)&&!qe(e)?this.createCustomElementClone(e):e}createCustomElementClone(A){let e=document.createElement("div");if(e.className=A.className,vo(A.style,e),A.shadowRoot)try{e.attachShadow({mode:"open"});}catch(t){this.context.logger.error("Failed to attach shadow root to custom element clone:",t);}return e}createStyleClone(A){try{let t=A.sheet;if(t&&t.cssRules){let s=[].slice.call(t.cssRules,0).reduce((i,o)=>o&&typeof o.cssText=="string"?i+o.cssText:i,""),n=A.cloneNode(!1);return n.textContent=s,this.options.cspNonce&&(n.nonce=this.options.cspNonce),n}}catch(t){if(this.context.logger.error("Unable to access cssRules property",t),t.name!=="SecurityError")throw t}let e=A.cloneNode(false);return this.options.cspNonce&&(e.nonce=this.options.cspNonce),e}createCanvasClone(A){if(this.options.inlineImages&&A.ownerDocument){let t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A);}}let e=A.cloneNode(false);try{e.width=A.width,e.height=A.height;let t=A.getContext("2d"),s=e.getContext("2d",{willReadFrequently:!0});if(s)if(!this.options.allowTaint&&t)s.putImageData(t.getImageData(0,0,A.width,A.height),0,0);else {let n=A.getContext("webgl2")??A.getContext("webgl");n&&n.getContextAttributes()?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A),s.drawImage(A,0,0);}return e}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A);}return e}createVideoClone(A){let e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;let t=e.getContext("2d");try{return t&&(t.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||t.getImageData(0,0,e.width,e.height)),e}catch{this.context.logger.info("Unable to clone video as it is tainted",A);}let s=A.ownerDocument.createElement("canvas");return s.width=A.offsetWidth,s.height=A.offsetHeight,s}appendChildNode(A,e,t){(!qA(e)||!Oh(e)&&!e.hasAttribute(ra)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!qA(e)||!xo(e))&&A.appendChild(this.cloneNode(e,t));}shouldCloneChild(A){return !qA(A)||!Oh(A)&&!A.hasAttribute(ra)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(A))}shouldCloneStyleElement(A){return !this.options.copyStyles||!qA(A)||!xo(A)}safeAppendClonedChild(A,e,t){this.shouldCloneChild(e)&&this.shouldCloneStyleElement(e)&&A.appendChild(this.cloneNode(e,t));}cloneAssignedNodes(A,e,t){A.forEach(s=>{this.safeAppendClonedChild(e,s,t);});}cloneSlotFallbackContent(A,e,t){for(let s=A.firstChild;s;s=s.nextSibling)this.safeAppendClonedChild(e,s,t);}cloneSlotElement(A,e,t){if(!Xt(A))return;let s=A;if(typeof s.assignedNodes!="function"){this.context.logger.warn("HTMLSlotElement.assignedNodes is not available",A),this.cloneSlotFallbackContent(A,e,t);return}let n=s.assignedNodes();if(!n||!Array.isArray(n)){this.context.logger.warn("assignedNodes() did not return a valid array",A),this.cloneSlotFallbackContent(A,e,t);return}n.length>0?this.cloneAssignedNodes(n,e,t):this.cloneSlotFallbackContent(A,e,t);}cloneShadowDOMChildren(A,e,t){for(let s=A.firstChild;s;s=s.nextSibling)qA(s)&&Xt(s)?this.cloneSlotElement(s,e,t):this.safeAppendClonedChild(e,s,t);}cloneLightDOMChildren(A,e,t){for(let s=A.firstChild;s;s=s.nextSibling)this.appendChildNode(e,s,t);}cloneSlotElementAsLightDOM(A,e,t){if(!Xt(A))return;let s=A;if(typeof s.assignedNodes!="function"){for(let i=A.firstChild;i;i=i.nextSibling)this.appendChildNode(e,i,t);return}let n=s.assignedNodes();if(n&&Array.isArray(n)&&n.length>0)n.forEach(i=>this.appendChildNode(e,i,t));else for(let i=A.firstChild;i;i=i.nextSibling)this.appendChildNode(e,i,t);}cloneShadowDOMAsLightDOM(A,e,t){for(let s=A.firstChild;s;s=s.nextSibling)qA(s)&&Xt(s)?this.cloneSlotElementAsLightDOM(s,e,t):this.appendChildNode(e,s,t);}cloneChildNodes(A,e,t){A.shadowRoot&&e.shadowRoot?(this.cloneShadowDOMChildren(A.shadowRoot,e.shadowRoot,t),this.cloneLightDOMChildren(A,e,t)):A.shadowRoot&&!e.shadowRoot?this.cloneShadowDOMAsLightDOM(A.shadowRoot,e,t):this.cloneLightDOMChildren(A,e,t);}cloneNode(A,e){if(Hf(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(false);let t=A.ownerDocument.defaultView;if(t&&qA(A)&&(tr(A)||qe(A))){let s=this.createElementClone(A);s.style.transitionProperty="none";let n=t.getComputedStyle(A),i=t.getComputedStyle(A,":before"),o=t.getComputedStyle(A,":after");this.referenceElement===A&&tr(s)&&(this.clonedReferenceElement=s),ba(s)&&hF(s,this.options.cspNonce);let a=this.counters.parse(new Ns(this.context,n)),l=this.resolvePseudoContent(A,s,i,Zt.BEFORE);mh(A)&&(e=true),Mh(A)||this.cloneChildNodes(A,s,e),l&&s.insertBefore(l,s.firstChild);let c=this.resolvePseudoContent(A,s,o,Zt.AFTER);return c&&s.appendChild(c),this.counters.pop(a),(n&&(this.options.copyStyles||qe(A))&&!Df(A)||e)&&vo(n,s),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([s,A.scrollLeft,A.scrollTop]),(Zs(A)||js(A))&&(Zs(s)||js(s))&&(s.value=A.value),s}return A.cloneNode(false)}resolvePseudoContent(A,e,t,s){if(!t)return;let n=t.content,i=e.ownerDocument;if(!i||!n||n==="none"||n==="-moz-alt-content"||t.display==="none")return;this.counters.parse(new Ns(this.context,t));let o=new Zo(this.context,t),a=i.createElement("html2canvaspseudoelement");vo(t,a),o.content.forEach(c=>{if(c.type===0)a.appendChild(i.createTextNode(c.value));else if(c.type===22){let u=i.createElement("img");u.src=c.value,u.style.opacity="1",a.appendChild(u);}else if(c.type===18){if(c.name==="attr"){let u=c.values.filter(S);u.length&&a.appendChild(i.createTextNode(A.getAttribute(u[0].value)||""));}else if(c.name==="counter"){let[u,h]=c.values.filter(uA);if(u&&S(u)){let f=this.counters.getCounterValue(u.value),p=h&&S(h)?Yo.parse(this.context,h.value):3;a.appendChild(i.createTextNode(sr(f,p,false)));}}else if(c.name==="counters"){let[u,h,f]=c.values.filter(uA);if(u&&S(u)){let p=this.counters.getCounterValues(u.value),d=f&&S(f)?Yo.parse(this.context,f.value):3,B=h&&h.type===0?h.value:"",m=p.map(w=>sr(w,d,false)).join(B);a.appendChild(i.createTextNode(m));}}}else if(c.type===20)switch(c.value){case "open-quote":a.appendChild(i.createTextNode(wh(o.quotes,this.quoteDepth++,true)));break;case "close-quote":a.appendChild(i.createTextNode(wh(o.quotes,--this.quoteDepth,false)));break;default:a.appendChild(i.createTextNode(c.value));}}),a.className=`${sa} ${na}`;let l=s===Zt.BEFORE?` ${sa}`:` ${na}`;return qe(e)?e.className.baseValue+=l:e.className+=l,a}static destroy(A){return A.parentNode?(A.parentNode.removeChild(A),true):false}},Zt;(function(r){r[r.BEFORE=0]="BEFORE",r[r.AFTER=1]="AFTER";})(Zt||(Zt={}));var tF=(r,A,e)=>{let t=r.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=A.width.toString(),t.height=A.height.toString(),t.scrolling="no",t.setAttribute(ra,"true"),(e||r.body).appendChild(t),t},rF=r=>new Promise(A=>{if(r.complete){A();return}if(!r.src){A();return}r.onload=A,r.onerror=A;}),sF=r=>Promise.all([].slice.call(r.images,0).map(rF)),nF=r=>new Promise((A,e)=>{let t=r.contentWindow;if(!t)return e("No window assigned for iframe");let s=t.document;t.onload=r.onload=()=>{t.onload=r.onload=null;let n=setInterval(()=>{s.body.childNodes.length>0&&s.readyState==="complete"&&(clearInterval(n),A(r));},50);};}),iF=["all","d","content"],vo=(r,A)=>{for(let e=r.length-1;e>=0;e--){let t=r.item(e);iF.indexOf(t)===-1&&!t.startsWith("--")&&A.style.setProperty(t,r.getPropertyValue(t));}return A},oF=r=>{let A="";return r&&(A+="<!DOCTYPE ",r.name&&(A+=r.name),r.internalSubset&&(A+=" "+r.internalSubset.replace(/"/g,""").replace(/>/g,">")),r.publicId?(A+=' PUBLIC "'+r.publicId.replace(/"/g,""")+'"',r.systemId&&(A+=' "'+r.systemId.replace(/"/g,""")+'"')):r.systemId&&(A+=' SYSTEM "'+r.systemId.replace(/"/g,""")+'"'),A+=">"),A},aF=(r,A,e)=>{r&&r.defaultView&&(A!==r.defaultView.pageXOffset||e!==r.defaultView.pageYOffset)&&r.defaultView.scrollTo(A,e);},lF=([r,A,e])=>{r.scrollLeft=A,r.scrollTop=e;},cF=":before",uF=":after",sa="___html2canvas___pseudoelement_before",na="___html2canvas___pseudoelement_after",Ph=`{
|
|
462
|
+
content: "" !important;
|
|
463
|
+
display: none !important;
|
|
464
|
+
}`,hF=(r,A)=>{fF(r,`.${sa}${cF}${Ph}
|
|
465
|
+
.${na}${uF}${Ph}`,A);},fF=(r,A,e)=>{let t=r.ownerDocument;if(t){let s=t.createElement("style");s.textContent=A,e&&(s.nonce=e),r.appendChild(s);}},dF=(r,A)=>{let e=r.ownerDocument.createElement("base");e.href=A;let t=r.getElementsByTagName("head").item(0);t?.insertBefore(e,t?.firstChild??null);},F=class r{constructor(A,e){this.type=0,this.x=A,this.y=e;}add(A,e){return new r(this.x+A,this.y+e)}},Ye=(r,A,e)=>new F(r.x+(A.x-r.x)*e,r.y+(A.y-r.y)*e),At=class r{constructor(A,e,t,s){this.type=1,this.start=A,this.startControl=e,this.endControl=t,this.end=s;}subdivide(A,e){let t=Ye(this.start,this.startControl,A),s=Ye(this.startControl,this.endControl,A),n=Ye(this.endControl,this.end,A),i=Ye(t,s,A),o=Ye(s,n,A),a=Ye(i,o,A);return e?new r(this.start,t,i,a):new r(a,o,n,this.end)}add(A,e){return new r(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))}reverse(){return new r(this.end,this.endControl,this.startControl,this.start)}},mA=r=>r.type===1,ia=class{constructor(A){let e=A.styles,t=A.bounds,[s,n]=$t(e.borderTopLeftRadius,t.width,t.height),[i,o]=$t(e.borderTopRightRadius,t.width,t.height),[a,l]=$t(e.borderBottomRightRadius,t.width,t.height),[c,u]=$t(e.borderBottomLeftRadius,t.width,t.height),h=[];h.push((s+i)/t.width),h.push((c+a)/t.width),h.push((n+u)/t.height),h.push((o+l)/t.height);let f=Math.max(...h);f>1&&(s/=f,n/=f,i/=f,o/=f,a/=f,l/=f,c/=f,u/=f);let p=t.width-i,d=t.height-l,B=t.width-a,m=t.height-u,w=e.borderTopWidth,g=e.borderRightWidth,C=e.borderBottomWidth,Q=e.borderLeftWidth,b=I(e.paddingTop,A.bounds.width),M=I(e.paddingRight,A.bounds.width),v=I(e.paddingBottom,A.bounds.width),x=I(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||n>0?Z(t.left+Q/3,t.top+w/3,s-Q/3,n-w/3,N.TOP_LEFT):new F(t.left+Q/3,t.top+w/3),this.topRightBorderDoubleOuterBox=s>0||n>0?Z(t.left+p,t.top+w/3,i-g/3,o-w/3,N.TOP_RIGHT):new F(t.left+t.width-g/3,t.top+w/3),this.bottomRightBorderDoubleOuterBox=a>0||l>0?Z(t.left+B,t.top+d,a-g/3,l-C/3,N.BOTTOM_RIGHT):new F(t.left+t.width-g/3,t.top+t.height-C/3),this.bottomLeftBorderDoubleOuterBox=c>0||u>0?Z(t.left+Q/3,t.top+m,c-Q/3,u-C/3,N.BOTTOM_LEFT):new F(t.left+Q/3,t.top+t.height-C/3),this.topLeftBorderDoubleInnerBox=s>0||n>0?Z(t.left+Q*2/3,t.top+w*2/3,s-Q*2/3,n-w*2/3,N.TOP_LEFT):new F(t.left+Q*2/3,t.top+w*2/3),this.topRightBorderDoubleInnerBox=s>0||n>0?Z(t.left+p,t.top+w*2/3,i-g*2/3,o-w*2/3,N.TOP_RIGHT):new F(t.left+t.width-g*2/3,t.top+w*2/3),this.bottomRightBorderDoubleInnerBox=a>0||l>0?Z(t.left+B,t.top+d,a-g*2/3,l-C*2/3,N.BOTTOM_RIGHT):new F(t.left+t.width-g*2/3,t.top+t.height-C*2/3),this.bottomLeftBorderDoubleInnerBox=c>0||u>0?Z(t.left+Q*2/3,t.top+m,c-Q*2/3,u-C*2/3,N.BOTTOM_LEFT):new F(t.left+Q*2/3,t.top+t.height-C*2/3),this.topLeftBorderStroke=s>0||n>0?Z(t.left+Q/2,t.top+w/2,s-Q/2,n-w/2,N.TOP_LEFT):new F(t.left+Q/2,t.top+w/2),this.topRightBorderStroke=s>0||n>0?Z(t.left+p,t.top+w/2,i-g/2,o-w/2,N.TOP_RIGHT):new F(t.left+t.width-g/2,t.top+w/2),this.bottomRightBorderStroke=a>0||l>0?Z(t.left+B,t.top+d,a-g/2,l-C/2,N.BOTTOM_RIGHT):new F(t.left+t.width-g/2,t.top+t.height-C/2),this.bottomLeftBorderStroke=c>0||u>0?Z(t.left+Q/2,t.top+m,c-Q/2,u-C/2,N.BOTTOM_LEFT):new F(t.left+Q/2,t.top+t.height-C/2),this.topLeftBorderBox=s>0||n>0?Z(t.left,t.top,s,n,N.TOP_LEFT):new F(t.left,t.top),this.topRightBorderBox=i>0||o>0?Z(t.left+p,t.top,i,o,N.TOP_RIGHT):new F(t.left+t.width,t.top),this.bottomRightBorderBox=a>0||l>0?Z(t.left+B,t.top+d,a,l,N.BOTTOM_RIGHT):new F(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=c>0||u>0?Z(t.left,t.top+m,c,u,N.BOTTOM_LEFT):new F(t.left,t.top+t.height),this.topLeftPaddingBox=s>0||n>0?Z(t.left+Q,t.top+w,Math.max(0,s-Q),Math.max(0,n-w),N.TOP_LEFT):new F(t.left+Q,t.top+w),this.topRightPaddingBox=i>0||o>0?Z(t.left+Math.min(p,t.width-g),t.top+w,p>t.width+g?0:Math.max(0,i-g),Math.max(0,o-w),N.TOP_RIGHT):new F(t.left+t.width-g,t.top+w),this.bottomRightPaddingBox=a>0||l>0?Z(t.left+Math.min(B,t.width-Q),t.top+Math.min(d,t.height-C),Math.max(0,a-g),Math.max(0,l-C),N.BOTTOM_RIGHT):new F(t.left+t.width-g,t.top+t.height-C),this.bottomLeftPaddingBox=c>0||u>0?Z(t.left+Q,t.top+Math.min(m,t.height-C),Math.max(0,c-Q),Math.max(0,u-C),N.BOTTOM_LEFT):new F(t.left+Q,t.top+t.height-C),this.topLeftContentBox=s>0||n>0?Z(t.left+Q+x,t.top+w+b,Math.max(0,s-(Q+x)),Math.max(0,n-(w+b)),N.TOP_LEFT):new F(t.left+Q+x,t.top+w+b),this.topRightContentBox=i>0||o>0?Z(t.left+Math.min(p,t.width+Q+x),t.top+w+b,p>t.width+Q+x?0:i-Q+x,o-(w+b),N.TOP_RIGHT):new F(t.left+t.width-(g+M),t.top+w+b),this.bottomRightContentBox=a>0||l>0?Z(t.left+Math.min(B,t.width-(Q+x)),t.top+Math.min(d,t.height+w+b),Math.max(0,a-(g+M)),l-(C+v),N.BOTTOM_RIGHT):new F(t.left+t.width-(g+M),t.top+t.height-(C+v)),this.bottomLeftContentBox=c>0||u>0?Z(t.left+Q+x,t.top+m,Math.max(0,c-(Q+x)),u-(C+v),N.BOTTOM_LEFT):new F(t.left+Q+x,t.top+t.height-(C+v));}},N;(function(r){r[r.TOP_LEFT=0]="TOP_LEFT",r[r.TOP_RIGHT=1]="TOP_RIGHT",r[r.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",r[r.BOTTOM_LEFT=3]="BOTTOM_LEFT";})(N||(N={}));var Z=(r,A,e,t,s)=>{let n=4*((Math.sqrt(2)-1)/3),i=e*n,o=t*n,a=r+e,l=A+t;switch(s){case N.TOP_LEFT:return new At(new F(r,l),new F(r,l-o),new F(a-i,A),new F(a,A));case N.TOP_RIGHT:return new At(new F(r,A),new F(r+i,A),new F(a,l-o),new F(a,l));case N.BOTTOM_RIGHT:return new At(new F(a,A),new F(a,A+o),new F(r+i,l),new F(r,l));case N.BOTTOM_LEFT:default:return new At(new F(a,l),new F(a-i,l),new F(r,A+o),new F(r,A))}},An=r=>[r.topLeftBorderBox,r.topRightBorderBox,r.bottomRightBorderBox,r.bottomLeftBorderBox],pF=r=>[r.topLeftContentBox,r.topRightContentBox,r.bottomRightContentBox,r.bottomLeftContentBox],en=r=>[r.topLeftPaddingBox,r.topRightPaddingBox,r.bottomRightPaddingBox,r.bottomLeftPaddingBox],tn=class{constructor(A,e,t){this.offsetX=A,this.offsetY=e,this.matrix=t,this.type=0,this.target=6;}},et=class{constructor(A,e){this.path=A,this.target=e,this.type=1;}},oa=class{constructor(A){this.opacity=A,this.type=2,this.target=6;}},Fe=class{constructor(A){this.applyClip=A,this.type=3,this.target=6;}},BF=r=>r.type===0,Nf=r=>r.type===1,gF=r=>r.type===2,wF=r=>r.type===3,_h=(r,A)=>r.length===A.length?r.some((e,t)=>e===A[t]):false,mF=(r,A,e,t,s)=>r.map((n,i)=>{switch(i){case 0:return n.add(A,e);case 1:return n.add(A+t,e);case 2:return n.add(A+t,e+s);case 3:return n.add(A,e+s)}return n}),rn=class{constructor(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[];}},sn=class{constructor(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new ia(this.container),this.container.styles.opacity<1&&this.effects.push(new oa(this.container.styles.opacity)),this.container.styles.rotate!==null){let t=this.container.styles.transformOrigin,s=this.container.bounds.left+I(t[0],this.container.bounds.width),n=this.container.bounds.top+I(t[1],this.container.bounds.height),o=this.container.styles.rotate*Math.PI/180,a=Math.cos(o),l=Math.sin(o),c=[a,l,-l,a,0,0];this.effects.push(new tn(s,n,c));}if(this.container.styles.transform!==null){let t=this.container.styles.transformOrigin,s=this.container.bounds.left+I(t[0],this.container.bounds.width),n=this.container.bounds.top+I(t[1],this.container.bounds.height),i=this.container.styles.transform;this.effects.push(new tn(s,n,i));}if(this.container.styles.overflowX!==0){let t=An(this.curves),s=en(this.curves);_h(t,s)?this.effects.push(new et(t,6)):(this.effects.push(new et(t,2)),this.effects.push(new et(s,4)));}if(this.container.styles.clipPath.type!==0){let t=CF(this.container.styles.clipPath,this.container.bounds);t&&this.effects.push(t);}}getEffects(A){let e=[2,3].indexOf(this.container.styles.position)===-1,t=this.parent,s=this.effects.slice(0);for(;t;){let n=t.effects.filter(i=>!Nf(i));if(e||t.container.styles.position!==0||!t.parent){if(e=[2,3].indexOf(t.container.styles.position)===-1,t.container.styles.overflowX!==0){let i=An(t.curves),o=en(t.curves);_h(i,o)||s.unshift(new et(o,6));}s.unshift(...n);}else s.unshift(...n);t=t.parent;}return s.filter(n=>j(n.target,A))}},Gh=(r,A,e,t,s)=>r==="closest-side"?Math.min(A-e,t-A):r==="farthest-side"?Math.max(A-e,t-A):I(r,s),CF=(r,A)=>{let{left:e,top:t,width:s,height:n}=A;switch(r.type){case 1:{let i=I(r.left,s),o=I(r.top,n),a=e+i,l=t+o,c=Math.max(0,s-i-I(r.right,s)),u=Math.max(0,n-o-I(r.bottom,n));return new Fe(h=>{h.beginPath(),h.rect(a,l,c,u),h.clip();})}case 2:{let i=e+I(r.cx,s),o=t+I(r.cy,n),a;return r.radius==="closest-side"?a=Math.min(i-e,o-t,e+s-i,t+n-o):r.radius==="farthest-side"?a=Math.max(i-e,o-t,e+s-i,t+n-o):a=I(r.radius,Math.sqrt(s*s+n*n)/Math.SQRT2),new Fe(l=>{l.beginPath(),l.arc(i,o,Math.max(0,a),0,Math.PI*2),l.clip();})}case 3:{let i=e+I(r.cx,s),o=t+I(r.cy,n),a=Gh(r.rx,i,e,e+s,s),l=Gh(r.ry,o,t,t+n,n);return new Fe(c=>{c.beginPath(),c.ellipse(i,o,Math.max(0,a),Math.max(0,l),0,0,Math.PI*2),c.clip();})}case 4:{let i=r.points.map(([o,a])=>[e+I(o,s),t+I(a,n)]);return new Fe(o=>{if(o.beginPath(),i.length>0){o.moveTo(i[0][0],i[0][1]);for(let a=1;a<i.length;a++)o.lineTo(i[a][0],i[a][1]);o.closePath();}o.clip();})}case 5:{let{d:i}=r;return new Fe(o=>{try{let a=o.getTransform();o.translate(e,t),o.clip(new Path2D(i)),o.setTransform(a);}catch{}})}case 0:return null;default:return null}},aa=(r,A,e,t)=>{r.container.elements.forEach(s=>{let n=j(s.flags,4),i=j(s.flags,2),o=new sn(s,r);j(s.styles.display,2048)&&t.push(o);let a=j(s.flags,8)?[]:t;if(n||i){let l=n||s.styles.isPositioned()?e:A,c=new rn(o);if(s.styles.isPositioned()||s.styles.opacity<1||s.styles.isTransformed()){let u=s.styles.zIndex.order;if(u<0){let h=0;l.negativeZIndex.some((f,p)=>u>f.element.container.styles.zIndex.order?(h=p,false):h>0),l.negativeZIndex.splice(h,0,c);}else if(u>0){let h=0;l.positiveZIndex.some((f,p)=>u>=f.element.container.styles.zIndex.order?(h=p+1,false):h>0),l.positiveZIndex.splice(h,0,c);}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c);}else s.styles.isFloating()?l.nonPositionedFloats.push(c):l.nonPositionedInlineLevel.push(c);aa(o,c,n?c:e,a);}else s.styles.isInlineLevel()?A.inlineLevel.push(o):A.nonInlineLevel.push(o),aa(o,A,e,a);j(s.flags,8)&&kf(s,a);});},kf=(r,A)=>{let e=r instanceof rr?r.start:1,t=r instanceof rr?r.reversed:false;for(let s=0;s<A.length;s++){let n=A[s];n.container instanceof $s&&typeof n.container.value=="number"&&n.container.value!==0&&(e=n.container.value),n.listValue=sr(e,n.container.styles.listStyleType,true),e+=t?-1:1;}},QF=r=>{let A=new sn(r,null),e=new rn(A),t=[];return aa(A,e,e,t),kf(A.container,t),e},Pf=r=>{let A=r.bounds,e=r.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},jt=r=>{let A=r.styles,e=r.bounds,t=I(A.paddingLeft,e.width),s=I(A.paddingRight,e.width),n=I(A.paddingTop,e.width),i=I(A.paddingBottom,e.width);return e.add(t+A.borderLeftWidth,n+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+t+s),-(A.borderTopWidth+A.borderBottomWidth+n+i))},UF=(r,A)=>r===0?A.bounds:r===2?jt(A):Pf(A),yF=(r,A)=>r===0?A.bounds:r===2?jt(A):Pf(A),Ho=(r,A,e)=>{let t=UF(je(r.styles.backgroundOrigin,A),r),s=yF(je(r.styles.backgroundClip,A),r),n=FF(je(r.styles.backgroundSize,A),e,t),[i,o]=n,a=$t(je(r.styles.backgroundPosition,A),t.width-i,t.height-o),l=bF(je(r.styles.backgroundRepeat,A),a,n,t,s),c=Math.round(t.left+a[0]),u=Math.round(t.top+a[1]);return i=Math.max(1,i),o=Math.max(1,o),[l,c,u,i,o]},ze=r=>S(r)&&r.value===rt.AUTO,xs=r=>typeof r=="number",FF=(r,[A,e,t],s)=>{let[n,i]=r;if(!n)return [0,0];if(_(n)&&i&&_(i))return [I(n,s.width),I(i,s.height)];let o=xs(t);if(S(n)&&(n.value===rt.CONTAIN||n.value===rt.COVER))return xs(t)?s.width/s.height<t!=(n.value===rt.COVER)?[s.width,s.width/t]:[s.height*t,s.height]:[s.width,s.height];let a=xs(A),l=xs(e),c=a||l;if(ze(n)&&(!i||ze(i))){if(a&&l)return [A,e];if(!o&&!c)return [s.width,s.height];if(c&&o){let d=a?A:e*t,B=l?e:A/t;return [d,B]}let f=a?A:s.width,p=l?e:s.height;return [f,p]}if(o){let f=0,p=0;return _(n)?f=I(n,s.width):_(i)&&(p=I(i,s.height)),ze(n)?f=p*t:(!i||ze(i))&&(p=f/t),[f,p]}let u=null,h=null;if(_(n)?u=I(n,s.width):i&&_(i)&&(h=I(i,s.height)),u!==null&&(!i||ze(i))&&(h=a&&l?u/A*e:s.height),h!==null&&ze(n)&&(u=a&&l?h/e*A:s.width),u!==null&&h!==null)return [u,h];throw new Error("Unable to calculate background-size for element")},je=(r,A)=>{let e=r[A];return typeof e>"u"?r[0]:e},bF=(r,[A,e],[t,s],n,i)=>{switch(r){case 2:return [new F(Math.round(n.left),Math.round(n.top+e)),new F(Math.round(n.left+n.width),Math.round(n.top+e)),new F(Math.round(n.left+n.width),Math.round(s+n.top+e)),new F(Math.round(n.left),Math.round(s+n.top+e))];case 3:return [new F(Math.round(n.left+A),Math.round(n.top)),new F(Math.round(n.left+A+t),Math.round(n.top)),new F(Math.round(n.left+A+t),Math.round(n.height+n.top)),new F(Math.round(n.left+A),Math.round(n.height+n.top))];case 1:return [new F(Math.round(n.left+A),Math.round(n.top+e)),new F(Math.round(n.left+A+t),Math.round(n.top+e)),new F(Math.round(n.left+A+t),Math.round(n.top+e+s)),new F(Math.round(n.left+A),Math.round(n.top+e+s))];default:return [new F(Math.round(i.left),Math.round(i.top)),new F(Math.round(i.left+i.width),Math.round(i.top)),new F(Math.round(i.left+i.width),Math.round(i.height+i.top)),new F(Math.round(i.left),Math.round(i.height+i.top))]}},EF="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Vh="Hidden Text",la=class{constructor(A){this._data={},this._document=A;}parseMetrics(A,e){let t=this._document.createElement("div"),s=this._document.createElement("img"),n=this._document.createElement("span"),i=this._document.body;t.style.visibility="hidden",t.style.fontFamily=A,t.style.fontSize=e,t.style.margin="0",t.style.padding="0",t.style.whiteSpace="nowrap",i.appendChild(t),s.src=EF,s.width=1,s.height=1,s.style.margin="0",s.style.padding="0",s.style.verticalAlign="baseline",n.style.fontFamily=A,n.style.fontSize=e,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode(Vh)),t.appendChild(n),t.appendChild(s);let o=s.offsetTop-n.offsetTop+2;t.removeChild(n),t.appendChild(this._document.createTextNode(Vh)),t.style.lineHeight="normal",s.style.verticalAlign="super";let a=s.offsetTop-t.offsetTop+2;return i.removeChild(t),{baseline:o,middle:a}}getMetrics(A,e){let t=`${A} ${e}`;return typeof this._data[t]>"u"&&(this._data[t]=this.parseMetrics(A,e)),this._data[t]}},nn=class{constructor(A,e){this.context=A,this.options=e;}},ca=class{constructor(A){this.ctx=A.ctx,this.context=A.context,this.canvas=A.canvas;}async renderBackgroundImage(A){let e=A.styles.backgroundImage.length-1;for(let t of A.styles.backgroundImage.slice(0).reverse())t.type===0?await this.renderBackgroundURLImage(A,t,e):uQ(t)?this.renderLinearGradient(A,t,e):hQ(t)&&this.renderRadialGradient(A,t,e),e--;}async renderBackgroundURLImage(A,e,t){let s,n=e.url;try{s=await this.context.cache.match(n);}catch{this.context.logger.error(`Error loading background-image ${n}`);}if(s){let i=isNaN(s.width)||s.width===0?1:s.width,o=isNaN(s.height)||s.height===0?1:s.height,[a,l,c,u,h]=Ho(A,t,[i,o,i/o]),f=this.ctx.createPattern(this.resizeImage(s,u,h,A.styles.imageRendering),"repeat");this.renderRepeat(a,f,l,c);}}renderLinearGradient(A,e,t){let[s,n,i,o,a]=Ho(A,t,[null,null,null]),[l,c,u,h,f]=iQ(e.angle,o,a),d=(this.canvas.ownerDocument??document).createElement("canvas");d.width=o,d.height=a;let B=d.getContext("2d"),m=B.createLinearGradient(c,h,u,f);if(dh(e.stops,l||1).forEach(w=>m.addColorStop(w.stop,$(w.color))),B.fillStyle=m,B.fillRect(0,0,o,a),o>0&&a>0){let w=this.ctx.createPattern(d,"repeat");this.renderRepeat(s,w,n,i);}}renderRadialGradient(A,e,t){let[s,n,i,o,a]=Ho(A,t,[null,null,null]),l=e.position.length===0?[Ee]:e.position,c=I(l[0],o),u=I(l[l.length-1],a),[h,f]=oQ(e,c,u,o,a);if((h===0||f===0)&&(h=Math.max(h,.01),f=Math.max(f,.01)),h>0&&f>0){let p=this.ctx.createRadialGradient(n+c,i+u,0,n+c,i+u,h);if(dh(e.stops,h*2).forEach(d=>p.addColorStop(d.stop,$(d.color))),this.path(s),this.ctx.fillStyle=p,h!==f){let d=A.bounds.left+.5*A.bounds.width,B=A.bounds.top+.5*A.bounds.height,m=f/h,w=1/m;this.ctx.save(),this.ctx.translate(d,B),this.ctx.transform(1,0,0,m,0,0),this.ctx.translate(-d,-B),this.ctx.fillRect(n,w*(i-B)+B,o,a*w),this.ctx.restore();}else this.ctx.fill();}}renderRepeat(A,e,t,s){this.path(A),this.ctx.fillStyle=e,this.ctx.translate(t,s),this.ctx.fill(),this.ctx.translate(-t,-s);}resizeImage(A,e,t,s){let i=(this.canvas.ownerDocument??document).createElement("canvas");i.width=Math.max(1,e),i.height=Math.max(1,t);let o=i.getContext("2d");return s===yA.PIXELATED||s===yA.CRISP_EDGES?(this.context.logger.debug("Disabling image smoothing for background image due to CSS image-rendering"),o.imageSmoothingEnabled=false):s===yA.SMOOTH?(this.context.logger.debug("Enabling image smoothing for background image due to CSS image-rendering: smooth"),o.imageSmoothingEnabled=true):o.imageSmoothingEnabled=this.ctx.imageSmoothingEnabled,this.ctx.imageSmoothingQuality&&(o.imageSmoothingQuality=this.ctx.imageSmoothingQuality),o.drawImage(A,0,0,A.width,A.height,0,0,e,t),i}path(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath();}formatPath(A){A.forEach((e,t)=>{let s=mA(e)?e.start:e;t===0?this.ctx.moveTo(s.x,s.y):this.ctx.lineTo(s.x,s.y),mA(e)&&this.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y);});}},$h=(r,A)=>{switch(A){case 0:return SA(r.topLeftBorderBox,r.topLeftPaddingBox,r.topRightBorderBox,r.topRightPaddingBox);case 1:return SA(r.topRightBorderBox,r.topRightPaddingBox,r.bottomRightBorderBox,r.bottomRightPaddingBox);case 2:return SA(r.bottomRightBorderBox,r.bottomRightPaddingBox,r.bottomLeftBorderBox,r.bottomLeftPaddingBox);default:return SA(r.bottomLeftBorderBox,r.bottomLeftPaddingBox,r.topLeftBorderBox,r.topLeftPaddingBox)}},IF=(r,A)=>{switch(A){case 0:return SA(r.topLeftBorderBox,r.topLeftBorderDoubleOuterBox,r.topRightBorderBox,r.topRightBorderDoubleOuterBox);case 1:return SA(r.topRightBorderBox,r.topRightBorderDoubleOuterBox,r.bottomRightBorderBox,r.bottomRightBorderDoubleOuterBox);case 2:return SA(r.bottomRightBorderBox,r.bottomRightBorderDoubleOuterBox,r.bottomLeftBorderBox,r.bottomLeftBorderDoubleOuterBox);default:return SA(r.bottomLeftBorderBox,r.bottomLeftBorderDoubleOuterBox,r.topLeftBorderBox,r.topLeftBorderDoubleOuterBox)}},xF=(r,A)=>{switch(A){case 0:return SA(r.topLeftBorderDoubleInnerBox,r.topLeftPaddingBox,r.topRightBorderDoubleInnerBox,r.topRightPaddingBox);case 1:return SA(r.topRightBorderDoubleInnerBox,r.topRightPaddingBox,r.bottomRightBorderDoubleInnerBox,r.bottomRightPaddingBox);case 2:return SA(r.bottomRightBorderDoubleInnerBox,r.bottomRightPaddingBox,r.bottomLeftBorderDoubleInnerBox,r.bottomLeftPaddingBox);default:return SA(r.bottomLeftBorderDoubleInnerBox,r.bottomLeftPaddingBox,r.topLeftBorderDoubleInnerBox,r.topLeftPaddingBox)}},SF=(r,A)=>{switch(A){case 0:return Ss(r.topLeftBorderStroke,r.topRightBorderStroke);case 1:return Ss(r.topRightBorderStroke,r.bottomRightBorderStroke);case 2:return Ss(r.bottomRightBorderStroke,r.bottomLeftBorderStroke);default:return Ss(r.bottomLeftBorderStroke,r.topLeftBorderStroke)}},Ss=(r,A)=>{let e=[];return mA(r)?e.push(r.subdivide(.5,false)):e.push(r),mA(A)?e.push(A.subdivide(.5,true)):e.push(A),e},SA=(r,A,e,t)=>{let s=[];return mA(r)?s.push(r.subdivide(.5,false)):s.push(r),mA(e)?s.push(e.subdivide(.5,true)):s.push(e),mA(t)?s.push(t.subdivide(.5,true).reverse()):s.push(t),mA(A)?s.push(A.subdivide(.5,false).reverse()):s.push(A),s},ua=class{constructor(A,e){this.ctx=A.ctx,this.pathCallbacks=e;}async renderSolidBorder(A,e,t){this.pathCallbacks.path($h(t,e)),this.ctx.fillStyle=$(A),this.ctx.fill();}async renderDoubleBorder(A,e,t,s){if(e<3){await this.renderSolidBorder(A,t,s);return}let n=IF(s,t);this.pathCallbacks.path(n),this.ctx.fillStyle=$(A),this.ctx.fill();let i=xF(s,t);this.pathCallbacks.path(i),this.ctx.fill();}async renderDashedDottedBorder(A,e,t,s,n){this.ctx.save();let i=SF(s,t),o=$h(s,t);n===2&&(this.pathCallbacks.path(o),this.ctx.clip());let a,l,c,u;mA(o[0])?(a=o[0].start.x,l=o[0].start.y):(a=o[0].x,l=o[0].y),mA(o[1])?(c=o[1].end.x,u=o[1].end.y):(c=o[1].x,u=o[1].y);let h;t===0||t===2?h=Math.abs(a-c):h=Math.abs(l-u),this.ctx.beginPath(),n===3?this.pathCallbacks.formatPath(i):this.pathCallbacks.formatPath(o.slice(0,2));let f=e<3?e*3:e*2,p=e<3?e*2:e;n===3&&(f=e,p=e);let d=true;if(h<=f*2)d=false;else if(h<=f*2+p){let B=h/(2*f+p);f*=B,p*=B;}else {let B=Math.floor((h+p)/(f+p)),m=(h-B*f)/(B-1),w=(h-(B+1)*f)/B;p=w<=0||Math.abs(p-m)<Math.abs(p-w)?m:w;}if(d&&(n===3?this.ctx.setLineDash([0,f+p]):this.ctx.setLineDash([f,p])),n===3?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=e*2+1.1,this.ctx.strokeStyle=$(A),this.ctx.stroke(),this.ctx.setLineDash([]),n===2){if(mA(o[0])){let B=o[3],m=o[0];this.ctx.beginPath(),this.pathCallbacks.formatPath([new F(B.end.x,B.end.y),new F(m.start.x,m.start.y)]),this.ctx.stroke();}if(mA(o[1])){let B=o[1],m=o[2];this.ctx.beginPath(),this.pathCallbacks.formatPath([new F(B.end.x,B.end.y),new F(m.start.x,m.start.y)]),this.ctx.stroke();}}this.ctx.restore();}},ha=class{constructor(A,e){this.activeEffects=[],this.ctx=A.ctx,this.pathCallback=e;}applyEffects(A){for(;this.activeEffects.length;)this.popEffect();A.forEach(e=>this.applyEffect(e));}applyEffect(A){this.ctx.save(),gF(A)?this.ctx.globalAlpha=A.opacity:BF(A)?(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)):Nf(A)?(this.pathCallback.path(A.path),this.ctx.clip()):wF(A)&&A.applyClip(this.ctx),this.activeEffects.push(A);}popEffect(){this.activeEffects.pop(),this.ctx.restore();}getActiveEffectCount(){return this.activeEffects.length}hasActiveEffects(){return this.activeEffects.length>0}},vF=["-apple-system","system-ui"],HF=/[\u2E80-\u2FFF\u3000-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uAC00-\uD7AF\uF900-\uFAFF\uFF01-\uFFEF]/,LF=r=>HF.test(r),TF=()=>{if(typeof navigator>"u")return null;let r=navigator.userAgent,A=/iPhone|iPad|iPod/.test(r),e=/Macintosh/.test(r)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1;if(!A&&!e)return null;let t=[/(?:iPhone|CPU(?:\siPhone)?)\sOS\s(\d+)[\._](\d+)/,/Version\/(\d+)\.(\d+)/];for(let s of t){let n=r.match(s);if(n&&n[1])return parseInt(n[1],10)}return null},MF=r=>{let A=TF();return A!==null&&A>=15&&A<17?r.map(e=>vF.indexOf(e)!==-1?'-apple-system, "Helvetica Neue", Arial, sans-serif':e):r},fa=class{constructor(A){this.ctx=A.ctx,this.options=A.options;}iterateLettersWithLetterSpacing(A,e,t,s){let n=Ps(A.text),i=A.bounds.top+t,o=A.bounds.left;for(let a of n){if(LF(a)){let l=this.ctx.textBaseline;this.ctx.textBaseline="ideographic",s(a,o,i),this.ctx.textBaseline=l;}else s(a,o,i);o+=this.ctx.measureText(a).width+e;}}renderTextWithLetterSpacing(A,e,t){e===0?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+t):this.iterateLettersWithLetterSpacing(A,e,t,(s,n,i)=>{this.ctx.fillText(s,n,i);});}renderTextBoundWithPaintOrder(A,e,t){t.forEach(s=>{switch(s){case 0:this.ctx.fillStyle=$(e.color),this.renderTextWithLetterSpacing(A,e.letterSpacing,e.fontSize.number);break;case 1:e.webkitTextStrokeWidth&&A.text.trim().length&&(this.ctx.strokeStyle=$(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(A,e.letterSpacing,e.fontSize.number,(n,i,o)=>this.ctx.strokeText(n,i,o)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}});}renderTextDecoration(A,e){this.ctx.fillStyle=$(e.textDecorationColor||e.color);let t=1;typeof e.textDecorationThickness=="number"?t=e.textDecorationThickness:e.textDecorationThickness==="from-font"&&(t=Math.max(1,Math.floor(e.fontSize.number*.05)));let s=0;typeof e.textUnderlineOffset=="number"&&(s=e.textUnderlineOffset);let n=e.textDecorationStyle;e.textDecorationLine.forEach(i=>{let o=0;switch(i){case 1:o=A.top+A.height-t+s;break;case 2:o=A.top;break;case 3:o=A.top+(A.height/2-t/2);break;default:return}this.drawDecorationLine(A.left,o,A.width,t,n);});}drawDecorationLine(A,e,t,s,n){switch(n){case 0:this.ctx.fillRect(A,e,t,s);break;case 1:let i=Math.max(1,s);this.ctx.fillRect(A,e,t,s),this.ctx.fillRect(A,e+s+i,t,s);break;case 2:this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash([s,s*2]),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+s/2),this.ctx.lineTo(A+t,e+s/2),this.ctx.stroke(),this.ctx.restore();break;case 3:this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash([s*3,s*2]),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+s/2),this.ctx.lineTo(A+t,e+s/2),this.ctx.stroke(),this.ctx.restore();break;case 4:this.ctx.save(),this.ctx.beginPath(),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle;let o=s*2,a=s*4,l=A;for(this.ctx.moveTo(l,e+s/2);l<A+t;){let c=Math.min(l+a/2,A+t);if(this.ctx.quadraticCurveTo(l+a/4,e+s/2-o,c,e+s/2),l=c,l<A+t){let u=Math.min(l+a/2,A+t);this.ctx.quadraticCurveTo(l+a/4,e+s/2+o,u,e+s/2),l=u;}}this.ctx.stroke(),this.ctx.restore();break;default:this.ctx.fillRect(A,e,t,s);}}truncateTextWithEllipsis(A,e,t){let n=this.ctx.measureText("\u2026").width,i=Ps(A);if(t===0){let o=c=>this.ctx.measureText(i.slice(0,c).join("")).width+n<=e,a=0,l=i.length;for(;a<l;){let c=a+l+1>>1;o(c)?a=c:l=c-1;}return i.slice(0,a).join("")+"\u2026"}else {let o=n,a=[];for(let l of i){let c=this.ctx.measureText(l).width;if(o+c>e)break;a.push(l),o+=c+t;}return a.join("")+"\u2026"}}createFontStyle(A){let e=A.fontVariant.filter(n=>n==="normal"||n==="small-caps").join(""),t=MF(A.fontFamily).join(", "),s=$A(A.fontSize)?`${A.fontSize.number}${A.fontSize.unit}`:`${A.fontSize.number}px`;return [[A.fontStyle,e,A.fontWeight,s,t].join(" "),t,s]}async renderTextNode(A,e,t){let[s]=this.createFontStyle(e);this.ctx.font=s,this.ctx.direction=e.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic";let n=e.paintOrder,i=e.fontSize.number*1.5;if(e.webkitLineClamp>0&&(e.display&2)!==0&&e.overflowY===1&&A.textBounds.length>0){let u=[],h=[],f=A.textBounds[0].bounds.top;A.textBounds.forEach(d=>{Math.abs(d.bounds.top-f)>=i*.5?(h.length>0&&u.push(h),h=[d],f=d.bounds.top):h.push(d);}),h.length>0&&u.push(h);let p=e.webkitLineClamp;if(u.length>p){for(let B=0;B<p-1;B++)u[B].forEach(m=>{this.renderTextBoundWithPaintOrder(m,e,n);});let d=u[p-1];if(d&&d.length>0&&t){let B=d.map(Q=>Q.text).join(""),m=d[0],w=t.width-(m.bounds.left-t.left),g=this.truncateTextWithEllipsis(B,w,e.letterSpacing),C=new Ae(g,m.bounds);n.forEach(Q=>{switch(Q){case 0:this.ctx.fillStyle=$(e.color),e.letterSpacing===0?this.ctx.fillText(g,m.bounds.left,m.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(C,e.letterSpacing,e.fontSize.number,(b,M,v)=>this.ctx.fillText(b,M,v));break;case 1:e.webkitTextStrokeWidth&&g.trim().length&&(this.ctx.strokeStyle=$(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(g,m.bounds.left,m.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(C,e.letterSpacing,e.fontSize.number,(b,M,v)=>this.ctx.strokeText(b,M,v)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}});}return}}let a=e.textOverflow===1&&t&&e.overflowX===1&&A.textBounds.length>0,l=false,c="";if(a){let u=A.textBounds[0].bounds.top;if(A.textBounds.every(f=>Math.abs(f.bounds.top-u)<i*.5)){let f=A.textBounds.map(B=>B.text).join("");f=f.replace(/\s+/g," ").trim();let p=this.ctx.measureText(f).width,d=t.width;p>d&&(l=true,c=this.truncateTextWithEllipsis(f,d,e.letterSpacing));}}if(l){let u=A.textBounds[0],h=new Ae(c,u.bounds);n.forEach(f=>{switch(f){case 0:{this.ctx.fillStyle=$(e.color),e.letterSpacing===0?this.ctx.fillText(c,u.bounds.left,u.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(h,e.letterSpacing,e.fontSize.number,(d,B,m)=>this.ctx.fillText(d,B,m));let p=e.textShadow;p.length&&c.trim().length&&(p.slice(0).reverse().forEach(d=>{this.ctx.shadowColor=$(d.color),this.ctx.shadowOffsetX=d.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=d.offsetY.number*this.options.scale,this.ctx.shadowBlur=d.blur.number,e.letterSpacing===0?this.ctx.fillText(c,u.bounds.left,u.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(h,e.letterSpacing,e.fontSize.number,(B,m,w)=>this.ctx.fillText(B,m,w));}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0);break}case 1:e.webkitTextStrokeWidth&&c.trim().length&&(this.ctx.strokeStyle=$(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(c,u.bounds.left,u.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(h,e.letterSpacing,e.fontSize.number,(p,d,B)=>this.ctx.strokeText(p,d,B)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}});return}A.textBounds.forEach(u=>{n.forEach(h=>{switch(h){case 0:{this.ctx.fillStyle=$(e.color),this.renderTextWithLetterSpacing(u,e.letterSpacing,e.fontSize.number);let f=e.textShadow;f.length&&u.text.trim().length&&(f.slice(0).reverse().forEach(p=>{this.ctx.shadowColor=$(p.color),this.ctx.shadowOffsetX=p.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=p.offsetY.number*this.options.scale,this.ctx.shadowBlur=p.blur.number,this.renderTextWithLetterSpacing(u,e.letterSpacing,e.fontSize.number);}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0),e.textDecorationLine.length&&this.renderTextDecoration(u.bounds,e);break}case 1:{if(e.webkitTextStrokeWidth&&u.text.trim().length){this.ctx.strokeStyle=$(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round";let f=e.fontSize.number;e.letterSpacing===0?this.ctx.strokeText(u.text,u.bounds.left,u.bounds.top+f):this.iterateLettersWithLetterSpacing(u,e.letterSpacing,f,(p,d,B)=>this.ctx.strokeText(p,d,B)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter";}break}}});});}},OF=1e4,da=class r extends nn{constructor(A,e){super(A,e),this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),e.canvas||(this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=`${e.width}px`,this.canvas.style.height=`${e.height}px`),this.fontMetrics=new la(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x,-e.y),this.ctx.textBaseline="bottom",e.imageSmoothing!==void 0&&(this.ctx.imageSmoothingEnabled=e.imageSmoothing),e.imageSmoothingQuality&&(this.ctx.imageSmoothingQuality=e.imageSmoothingQuality),this.backgroundRenderer=new ca({ctx:this.ctx,context:this.context,canvas:this.canvas,options:{width:e.width,height:e.height,scale:e.scale}}),this.borderRenderer=new ua({ctx:this.ctx},{path:t=>this.path(t),formatPath:t=>this.formatPath(t)}),this.effectsRenderer=new ha({ctx:this.ctx},{path:t=>this.path(t)}),this.textRenderer=new fa({ctx:this.ctx,context:this.context,options:{scale:e.scale}}),this.context.logger.debug(`Canvas renderer initialized (${e.width}x${e.height}) with scale ${e.scale}`);}async renderStack(A){A.element.container.styles.isVisible()&&await this.renderStackContent(A);}async renderNode(A){if(j(A.container.flags,16))debugger;A.container.styles.isVisible()&&(await this.renderNodeBackgroundAndBorders(A),await this.renderNodeContent(A));}renderReplacedElement(A,e,t){let s=t.naturalWidth||A.intrinsicWidth,n=t.naturalHeight||A.intrinsicHeight;if(t&&s>0&&n>0){let i=jt(A),o=en(e);this.path(o),this.ctx.save(),this.ctx.clip();let a=0,l=0,c=s,u=n,h=i.left,f=i.top,p=i.width,d=i.height,{objectFit:B}=A.styles,m=p/d,w=c/u;if(B===2)w>m?(d=p/w,f+=(i.height-d)/2):(p=d*w,h+=(i.width-p)/2);else if(B===4)w>m?(c=u*m,a+=(s-c)/2):(u=c/m,l+=(n-u)/2);else if(B===8)c>p?(a+=(c-p)/2,c=p):(h+=(p-c)/2,p=c),u>d?(l+=(u-d)/2,u=d):(f+=(d-u)/2,d=u);else if(B===16){let g=w>m?p:d*w,C=c>p?c:p;g<C?w>m?(d=p/w,f+=(i.height-d)/2):(p=d*w,h+=(i.width-p)/2):(c>p?(a+=(c-p)/2,c=p):(h+=(p-c)/2,p=c),u>d?(l+=(u-d)/2,u=d):(f+=(d-u)/2,d=u));}this.ctx.drawImage(t,a,l,c,u,h,f,p,d),this.ctx.restore();}}async renderNodeContent(A){this.effectsRenderer.applyEffects(A.getEffects(4));let e=A.container,t=A.curves,s=e.styles,n=jt(e);for(let i of e.textNodes)await this.textRenderer.renderTextNode(i,s,n);if(e instanceof _s)try{let i=await this.context.cache.match(e.src),o=this.ctx.imageSmoothingEnabled;s.imageRendering===yA.PIXELATED||s.imageRendering===yA.CRISP_EDGES?(this.context.logger.debug(`Disabling image smoothing for ${e.src} due to CSS image-rendering: ${s.imageRendering===yA.PIXELATED?"pixelated":"crisp-edges"}`),this.ctx.imageSmoothingEnabled=!1):s.imageRendering===yA.SMOOTH&&(this.context.logger.debug(`Enabling image smoothing for ${e.src} due to CSS image-rendering: smooth`),this.ctx.imageSmoothingEnabled=!0),this.renderReplacedElement(e,t,i),this.ctx.imageSmoothingEnabled=o;}catch{this.context.logger.error(`Error loading image ${e.src}`);}if(e instanceof Gs&&this.renderReplacedElement(e,t,e.canvas),e instanceof Vs)try{let i=await this.context.cache.match(e.svg);this.renderReplacedElement(e,t,i);}catch{this.context.logger.error(`Error loading svg ${e.svg.substring(0,255)}`);}if(e instanceof zs&&e.tree){let o=await new r(this.context,{scale:this.options.scale,backgroundColor:e.backgroundColor,x:0,y:0,width:e.width,height:e.height}).render(e.tree);e.width&&e.height&&this.ctx.drawImage(o,0,0,e.width,e.height,e.bounds.left,e.bounds.top,e.bounds.width,e.bounds.height);}if(e instanceof Se){let i=Math.min(e.bounds.width,e.bounds.height);e.type===Ws?e.checked&&(this.ctx.save(),this.path([new F(e.bounds.left+i*.39363,e.bounds.top+i*.79),new F(e.bounds.left+i*.16,e.bounds.top+i*.5549),new F(e.bounds.left+i*.27347,e.bounds.top+i*.44071),new F(e.bounds.left+i*.39694,e.bounds.top+i*.5649),new F(e.bounds.left+i*.72983,e.bounds.top+i*.23),new F(e.bounds.left+i*.84,e.bounds.top+i*.34085),new F(e.bounds.left+i*.39363,e.bounds.top+i*.79)]),this.ctx.fillStyle=$(Th),this.ctx.fill(),this.ctx.restore()):e.type===Xs&&e.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(e.bounds.left+i/2,e.bounds.top+i/2,i/4,0,Math.PI*2,true),this.ctx.fillStyle=$(Th),this.ctx.fill(),this.ctx.restore());}if(RF(e)&&e.value.length){let[i,o,a]=this.textRenderer.createFontStyle(s),{baseline:l}=this.fontMetrics.getMetrics(o,a);this.ctx.font=i;let c=e instanceof Se&&e.isPlaceholder;this.ctx.fillStyle=$(c?Xy:s.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=KF(e.styles.textAlign);let u=jt(e),h=0;switch(e.styles.textAlign){case 1:h+=u.width/2;break;case 2:h+=u.width;break}let f=0;if(e instanceof Se){let d=I(s.fontSize,0);f=(u.height-d)/2;}let p=u.add(h,f,0,0);this.ctx.save(),this.path([new F(u.left,u.top),new F(u.left+u.width,u.top),new F(u.left+u.width,u.top+u.height),new F(u.left,u.top+u.height)]),this.ctx.clip(),this.textRenderer.renderTextWithLetterSpacing(new Ae(e.value,p),s.letterSpacing,l),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left";}if(j(e.styles.display,2048)){if(e.styles.listStyleImage!==null){let i=e.styles.listStyleImage;if(i.type===0){let o,a=i.url;try{o=await this.context.cache.match(a),this.ctx.drawImage(o,e.bounds.left-(o.width+10),e.bounds.top);}catch{this.context.logger.error(`Error loading list-style-image ${a}`);}}}else if(A.listValue&&e.styles.listStyleType!==-1){let[i]=this.textRenderer.createFontStyle(s);this.ctx.font=i,this.ctx.fillStyle=$(s.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right";let o=new FA(e.bounds.left,e.bounds.top+I(e.styles.paddingTop,e.bounds.width),e.bounds.width,Bh(s.lineHeight,s.fontSize.number)/2+1);this.textRenderer.renderTextWithLetterSpacing(new Ae(A.listValue,o),s.letterSpacing,Bh(s.lineHeight,s.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left";}}}async renderStackContent(A){if(j(A.element.container.flags,16))debugger;await this.renderNodeBackgroundAndBorders(A.element);for(let e of A.negativeZIndex)await this.renderStack(e);await this.renderNodeContent(A.element);for(let e of A.nonInlineLevel)await this.renderNode(e);for(let e of A.nonPositionedFloats)await this.renderStack(e);for(let e of A.nonPositionedInlineLevel)await this.renderStack(e);for(let e of A.inlineLevel)await this.renderNode(e);for(let e of A.zeroOrAutoZIndexOrTransformedOrOpacity)await this.renderStack(e);for(let e of A.positiveZIndex)await this.renderStack(e);}mask(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.options.width,0),this.ctx.lineTo(this.options.width,this.options.height),this.ctx.lineTo(0,this.options.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath();}path(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath();}formatPath(A){A.forEach((e,t)=>{let s=mA(e)?e.start:e;t===0?this.ctx.moveTo(s.x,s.y):this.ctx.lineTo(s.x,s.y),mA(e)&&this.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y);});}async renderNodeBackgroundAndBorders(A){this.effectsRenderer.applyEffects(A.getEffects(2));let e=A.container.styles,t=!le(e.backgroundColor)||e.backgroundImage.length,s=[{style:e.borderTopStyle,color:e.borderTopColor,width:e.borderTopWidth},{style:e.borderRightStyle,color:e.borderRightColor,width:e.borderRightWidth},{style:e.borderBottomStyle,color:e.borderBottomColor,width:e.borderBottomWidth},{style:e.borderLeftStyle,color:e.borderLeftColor,width:e.borderLeftWidth}],n=DF(je(e.backgroundClip,0),A.curves);(t||e.boxShadow.length)&&(this.ctx.save(),this.path(n),this.ctx.clip(),le(e.backgroundColor)||(this.ctx.fillStyle=$(e.backgroundColor),this.ctx.fill()),await this.backgroundRenderer.renderBackgroundImage(A.container),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach(o=>{this.ctx.save();let a=An(A.curves),l=o.inset?0:OF,c=mF(a,-l+(o.inset?1:-1)*o.spread.number,(o.inset?1:-1)*o.spread.number,o.spread.number*(o.inset?-2:2),o.spread.number*(o.inset?-2:2));o.inset?(this.path(a),this.ctx.clip(),this.mask(c)):(this.mask(a),this.ctx.clip(),this.path(c)),this.ctx.shadowOffsetX=o.offsetX.number+l,this.ctx.shadowOffsetY=o.offsetY.number,this.ctx.shadowColor=$(o.color),this.ctx.shadowBlur=o.blur.number,this.ctx.fillStyle=o.inset?$(o.color):"rgba(0,0,0,1)",this.ctx.fill(),this.ctx.restore();}));let i=0;for(let o of s)o.style!==0&&!le(o.color)&&o.width>0&&(o.style===2?await this.borderRenderer.renderDashedDottedBorder(o.color,o.width,i,A.curves,2):o.style===3?await this.borderRenderer.renderDashedDottedBorder(o.color,o.width,i,A.curves,3):o.style===4?await this.borderRenderer.renderDoubleBorder(o.color,o.width,i,A.curves):await this.borderRenderer.renderSolidBorder(o.color,i,A.curves)),i++;}async render(A){this.options.backgroundColor&&(this.ctx.fillStyle=$(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height));let e=QF(A);return await this.renderStack(e),this.effectsRenderer.applyEffects([]),this.canvas}},RF=r=>r instanceof Ys||r instanceof Js?true:r instanceof Se&&r.type!==Xs&&r.type!==Ws,DF=(r,A)=>{switch(r){case 0:return An(A);case 2:return pF(A);default:return en(A)}},KF=r=>{switch(r){case 1:return "center";case 2:return "right";default:return "left"}},pa=class extends nn{constructor(A,e){super(A,e),this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=e,this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=`${e.width}px`,this.canvas.style.height=`${e.height}px`,this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x,-e.y),this.context.logger.debug(`EXPERIMENTAL ForeignObject renderer initialized (${e.width}x${e.height} at ${e.x},${e.y}) with scale ${e.scale}`);}async render(A){let e=qo(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),t=await NF(e);return this.options.backgroundColor&&(this.ctx.fillStyle=$(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(t,-this.options.x*this.options.scale,-this.options.y*this.options.scale),this.canvas}},NF=r=>new Promise((A,e)=>{let t=new Image;t.onload=()=>{A(t);},t.onerror=e,t.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(r))}`;}),on=class{constructor({id:A,enabled:e}){this.id=A,this.enabled=e,this.start=Date.now();}debug(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug(this.id,`${this.getTime()}ms`,...A):this.info(...A));}getTime(){return Date.now()-this.start}info(...A){this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info(this.id,`${this.getTime()}ms`,...A);}warn(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn(this.id,`${this.getTime()}ms`,...A):this.info(...A));}error(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error(this.id,`${this.getTime()}ms`,...A):this.info(...A));}};on.instances={};var Ba=class{constructor(A,e){if(this.context=A,this._options=e,this._cache=new Map,this._pendingOperations=new Map,this.maxSize=e.maxCacheSize??100,this.maxSize<1)throw new Error("Cache maxSize must be at least 1");this.maxSize>1e4&&this.context.logger.warn(`Cache maxSize ${this.maxSize} is very large and may cause memory issues. Consider using a smaller value (recommended: 100-1000).`);}addImage(A){let e=this._pendingOperations.get(A);if(e)return e;if(this.has(A)){let t=this._cache.get(A);return t&&(t.lastAccessed=Date.now()),Promise.resolve()}if(To(A)||GF(A)){let t=this._addImageInternal(A);return this._pendingOperations.set(A,t),t.finally(()=>{this._pendingOperations.delete(A);}),t}return Promise.resolve()}async _addImageInternal(A){let e=this._options.imageTimeout??15e3,t=new Promise((n,i)=>{setTimeout(()=>{i(new Error(`Image load timeout after ${e}ms: ${A}`));},e);}),s=Promise.race([this.loadImage(A),t]);s.catch(n=>{this.context.logger.error(`Failed to load image ${A}: ${n instanceof Error?n.message:"Unknown error"}`);}),this.set(A,s);}match(A){let e=this._cache.get(A);if(e)return e.lastAccessed=Date.now(),e.value}set(A,e){if(this._cache.has(A)){let t=this._cache.get(A);t.value=e,t.lastAccessed=Date.now();return}this._cache.size>=this.maxSize&&this.evictLRU(),this._cache.set(A,{value:e,lastAccessed:Date.now()});}evictLRU(){let A=null,e=1/0;for(let[t,s]of this._cache.entries())s.lastAccessed<e&&(e=s.lastAccessed,A=t);A&&(this._cache.delete(A),this.context.logger.debug(`Cache: Evicted LRU entry: ${A}`));}size(){return this._cache.size}getMaxSize(){return this.maxSize}clear(){this._cache.clear();}async loadImage(A){let e=this.context.originChecker,t=a=>e.isSameOrigin(a),s=typeof this._options.customIsSameOrigin=="function"?await this._options.customIsSameOrigin(A,t):t(A),n=!Lo(A)&&this._options.useCORS===true&&cA.SUPPORT_CORS_IMAGES&&!s,i=!Lo(A)&&!s&&!To(A)&&typeof this._options.proxy=="string"&&cA.SUPPORT_CORS_XHR&&!n;if(!s&&this._options.allowTaint===false&&!Lo(A)&&!To(A)&&!i&&!n)return;let o=A;return i&&(o=await this.proxy(o)),this.context.logger.debug(`Added image ${A.substring(0,256)}`),await new Promise((a,l)=>{let c=new Image;c.onload=()=>a(c),c.onerror=l,(VF(o)||n)&&(c.crossOrigin="anonymous"),c.src=o,c.complete===true&&setTimeout(()=>a(c),500),this._options.imageTimeout>0&&setTimeout(()=>l(`Timed out (${this._options.imageTimeout}ms) loading image`),this._options.imageTimeout);})}has(A){return this._cache.has(A)}keys(){return Promise.resolve(Object.keys(this._cache))}proxy(A){let e=this._options.proxy;if(!e)throw new Error("No proxy defined");let t=A.substring(0,256);return new Promise((s,n)=>{let i=cA.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;o.onload=()=>{if(o.status===200)if(i==="text")s(o.response);else {let l=new FileReader;l.addEventListener("load",()=>s(l.result),false),l.addEventListener("error",c=>n(c),false),l.readAsDataURL(o.response);}else n(`Failed to proxy resource ${t} with status code ${o.status}`);},o.onerror=n;let a=e.indexOf("?")>-1?"&":"?";if(o.open("GET",`${e}${a}url=${encodeURIComponent(A)}&responseType=${i}`),i!=="text"&&o instanceof XMLHttpRequest&&(o.responseType=i),this._options.imageTimeout){let l=this._options.imageTimeout;o.timeout=l,o.ontimeout=()=>n(`Timed out (${l}ms) proxying ${t}`);}o.send();})}},kF=/^data:image\/svg\+xml/i,PF=/^data:image\/.*;base64,/i,_F=/^data:image\/.*/i,GF=r=>cA.SUPPORT_SVG_DRAWING||!$F(r),Lo=r=>_F.test(r),VF=r=>PF.test(r),To=r=>r.substr(0,4)==="blob",$F=r=>r.substr(-3).toLowerCase()==="svg"||kF.test(r),ga=class{constructor(A){if(!A||!A.document)throw new Error("Valid window object required for OriginChecker");if(!A.location||!A.location.href)throw new Error("Window object must have valid location");this.link=A.document.createElement("a"),this.origin=this.getOrigin(A.location.href);}getOrigin(A){return this.link.href=A,this.link.href=this.link.href,this.link.protocol+this.link.hostname+this.link.port}isSameOrigin(A){return this.getOrigin(A)===this.origin}getContextOrigin(){return this.origin}},an=class r{constructor(A,e,t){this.windowBounds=e,this.instanceName=`#${r.instanceCount++}`,this.config=t,this.logger=new on({id:this.instanceName,enabled:A.logging}),this.originChecker=new ga(t.window),this.cache=A.cache??t.cache??new Ba(this,A);}};an.instanceCount=1;var ln=class r{constructor(A={}){if(this.window=A.window||(typeof window<"u"?window:null),!this.window)throw new Error("Window object is required but not available");this.cspNonce=A.cspNonce,this.cache=A.cache;}static fromElement(A,e={}){let t=A.ownerDocument;if(!t)throw new Error("Element is not attached to a document");let s=t.defaultView;if(!s)throw new Error("Document is not attached to a window");return new r({window:s,...e})}clone(A={}){return new r({window:A.window||this.window,cspNonce:A.cspNonce??this.cspNonce,cache:A.cache??this.cache})}};function WF(r){console.warn("[html2canvas-pro] setDefaultConfig is deprecated. Pass configuration to html2canvas directly.");}var wa=class{constructor(A={}){this.config={maxImageTimeout:3e5,allowDataUrls:true,...A};}validateUrl(A,e="general"){if(!A||typeof A!="string")return {valid:false,error:"URL must be a non-empty string"};if(A.startsWith("data:"))return this.config.allowDataUrls?{valid:true,sanitized:A}:{valid:false,error:"Data URLs are not allowed"};if(A.startsWith("blob:"))return {valid:true,sanitized:A};try{let t=new URL(A);if(!["http:","https:"].includes(t.protocol))return {valid:!1,error:`Protocol ${t.protocol} is not allowed. Only http and https are permitted.`};if(e==="proxy"&&this.config.allowedProxyDomains&&this.config.allowedProxyDomains.length>0){let s=t.hostname.toLowerCase();if(!this.config.allowedProxyDomains.some(i=>{let o=i.toLowerCase();return s===o||s.endsWith("."+o)}))return {valid:!1,error:`Proxy domain ${t.hostname} is not in the allowed list`}}if(e==="proxy"){if(!this.config.allowLocalhostProxy){let s=t.hostname.toLowerCase();if(s==="localhost"||s==="127.0.0.1"||s==="::1")return {valid:!1,error:"Localhost is not allowed for proxy URLs"};if(this.isPrivateIP(s))return {valid:!1,error:"Private IP addresses are not allowed for proxy URLs"};if(s.startsWith("169.254.")||s.startsWith("fe80:"))return {valid:!1,error:"Link-local addresses are not allowed for proxy URLs"}}return {valid:!0,sanitized:A,requiresRuntimeCheck:!0}}return {valid:!0,sanitized:A}}catch(t){return {valid:false,error:`Invalid URL format: ${t instanceof Error?t.message:"Unknown error"}`}}}isPrivateIP(A){return [/^0\./,/^10\./,/^100\.(6[4-9]|[7-9][0-9]|1[0-1][0-9]|12[0-7])\./,/^127\./,/^169\.254\./,/^172\.(1[6-9]|2[0-9]|3[0-1])\./,/^192\.0\.0\./,/^192\.0\.2\./,/^192\.168\./,/^198\.(1[8-9])\./,/^198\.51\.100\./,/^203\.0\.113\./,/^2(2[4-9]|3[0-9])\./,/^24[0-9]\./,/^255\.255\.255\.255$/].some(t=>t.test(A))?true:A.includes(":")?this.isPrivateIPv6(A):false}isPrivateIPv6(A){let s=A.toLowerCase().trim().replace(/^\[|\]$/g,"").split("%")[0];if(/^(0:){7}1$/.test(s)||s==="::1"||/^(0:){7}0$/.test(s)||s==="::")return true;let n=this.expandIPv6(s);if(!n)return this.isPrivateIPv6Prefix(s);let i=parseInt(n.substring(0,2),16);if(i>=252&&i<=253)return true;if(i===254){let o=parseInt(n.substring(2,4),16);if(o>=128&&o<=191)return true}return i===255}expandIPv6(A){try{if(A.includes("::")){let e=A.split("::");if(e.length>2)return null;let t=e[0]?e[0].split(":"):[],s=e[1]?e[1].split(":"):[],n=8-t.length-s.length;if(n<0)return null;let i=Array(n).fill("0000");return [...t,...i,...s].map(a=>a.padStart(4,"0")).join(":")}else {let e=A.split(":");return e.length!==8?null:e.map(t=>t.padStart(4,"0")).join(":")}}catch{return null}}isPrivateIPv6Prefix(A){return !!(/^fc[0-9a-f]{0,2}:?/i.test(A)||/^fd[0-9a-f]{0,2}:?/i.test(A)||/^fe[89ab][0-9a-f]:?/i.test(A)||/^ff[0-9a-f]{0,2}:?/i.test(A))}validateCspNonce(A){return !A||typeof A!="string"?{valid:false,error:"CSP nonce must be a non-empty string"}:A.length<16?{valid:false,error:"CSP nonce is too short (minimum 16 characters recommended)"}:/^[A-Za-z0-9+/=_-]+$/.test(A)?{valid:true,sanitized:A}:{valid:false,error:"CSP nonce contains invalid characters"}}validateImageTimeout(A){return typeof A!="number"||isNaN(A)?{valid:false,error:"Image timeout must be a number"}:A<0?{valid:false,error:"Image timeout cannot be negative"}:this.config.maxImageTimeout&&A>this.config.maxImageTimeout?{valid:false,error:`Image timeout ${A}ms exceeds maximum allowed ${this.config.maxImageTimeout}ms`}:{valid:true,sanitized:A}}validateDimensions(A,e){if(typeof A!="number"||typeof e!="number")return {valid:false,error:"Dimensions must be numbers"};if(isNaN(A)||isNaN(e))return {valid:false,error:"Dimensions cannot be NaN"};if(A<=0||e<=0)return {valid:false,error:"Dimensions must be positive"};let t=32767;return A>t||e>t?{valid:false,error:`Dimensions exceed maximum allowed (${t}px)`}:{valid:true,sanitized:{width:A,height:e}}}validateScale(A){return typeof A!="number"||isNaN(A)?{valid:false,error:"Scale must be a number"}:A<=0?{valid:false,error:"Scale must be positive"}:A>10?{valid:false,error:"Scale factor too large (maximum 10x)"}:{valid:true,sanitized:A}}validateElement(A){return A?typeof A!="object"?{valid:false,error:"Element must be an object"}:typeof HTMLElement<"u"&&A instanceof HTMLElement?A.ownerDocument?{valid:true}:{valid:false,error:"Element must be attached to a document"}:A.ownerDocument?A.ownerDocument.defaultView?{valid:true}:{valid:false,error:"Document must be attached to a window (ownerDocument.defaultView required)"}:{valid:false,error:"Element must be attached to a document (ownerDocument required)"}:{valid:false,error:"Element is required"}}validateOptions(A){let e=[],t=A.proxy;if(t!=null&&typeof t=="string"&&t.length>0){let s=this.validateUrl(t,"proxy");s.valid||e.push(`Proxy: ${s.error}`);}if(A.imageTimeout!==void 0){let s=this.validateImageTimeout(A.imageTimeout);s.valid||e.push(`Image timeout: ${s.error}`);}if(A.width!==void 0||A.height!==void 0){let s=A.width??800,n=A.height??600,i=this.validateDimensions(s,n);i.valid||e.push(`Dimensions: ${i.error}`);}if(A.scale!==void 0){let s=this.validateScale(A.scale);s.valid||e.push(`Scale: ${s.error}`);}if(A.cspNonce!==void 0){let s=this.validateCspNonce(A.cspNonce);s.valid||e.push(`CSP nonce: ${s.error}`);}if(this.config.customValidator){let s=this.config.customValidator(A,"options");s.valid||e.push(`Custom validation: ${s.error}`);}return e.length>0?{valid:false,error:e.join("; ")}:{valid:true}}};function XF(r={}){return new wa({allowDataUrls:true,maxImageTimeout:3e5,...r})}var ma=class{constructor(A,e=true){this.context=A,this.activeMetrics=new Map,this.completedMetrics=[],this.enabled=e,this.getTime=typeof performance<"u"&&typeof performance.now=="function"?()=>performance.now():()=>Date.now();}start(A,e){this.enabled&&(this.activeMetrics.has(A)&&this.context?.logger.warn(`Performance metric '${A}' already started. Overwriting.`),this.activeMetrics.set(A,{name:A,startTime:this.getTime(),metadata:e}));}end(A){if(!this.enabled)return;let e=this.activeMetrics.get(A);if(!e){this.context?.logger.warn(`Performance metric '${A}' not found. Was start() called?`);return}return e.endTime=this.getTime(),e.duration=e.endTime-e.startTime,this.completedMetrics.push(e),this.activeMetrics.delete(A),this.context?.logger.debug(`\u23F1\uFE0F ${A}: ${e.duration.toFixed(2)}ms`,e.metadata),e}measure(A,e,t){this.start(A,t);try{let s=e();return this.end(A),s}catch(s){throw this.end(A),s}}async measureAsync(A,e,t){this.start(A,t);try{let s=await e();return this.end(A),s}catch(s){throw this.end(A),s}}getMetrics(){return [...this.completedMetrics]}getMetric(A){return this.completedMetrics.find(e=>e.name===A)}getSummary(){let A=this.completedMetrics.reduce((t,s)=>t+(s.duration||0),0),e=this.completedMetrics.map(t=>({name:t.name,duration:t.duration||0,percentage:A>0?((t.duration||0)/A*100).toFixed(1)+"%":"0%"}));return {totalDuration:A,metrics:this.getMetrics(),breakdown:e}}logSummary(){if(!this.enabled||this.completedMetrics.length===0||!this.context)return;let A=this.getSummary();this.context.logger.info(`
|
|
466
|
+
\u{1F4CA} Performance Summary (Total: ${A.totalDuration.toFixed(2)}ms):`),A.breakdown.sort((e,t)=>t.duration-e.duration).forEach(e=>{this.context.logger.info(` ${e.name.padEnd(20)} ${e.duration.toFixed(2).padStart(8)}ms ${e.percentage.padStart(6)}`);});}clear(){this.activeMetrics.clear(),this.completedMetrics.splice(0);}isEnabled(){return this.enabled}getActiveMetrics(){return Array.from(this.activeMetrics.keys())}},Ea=(r,A={},e)=>{let t=e||ln.fromElement(r,{cspNonce:A.cspNonce,cache:A.cache});return zF(r,A,t)},JF=r=>{console.warn('[html2canvas-pro] setCspNonce is deprecated. Pass cspNonce in options instead: html2canvas(element, { cspNonce: "..." })'),typeof window<"u"&&WF(new ln({window,cspNonce:r}));};Ea.setCspNonce=JF;var YF=r=>{["scale","width","height","imageTimeout","x","y","windowWidth","windowHeight","scrollX","scrollY"].forEach(e=>{let t=r[e];if(t!=null&&typeof t!="number"){let s=Number(t);Number.isNaN(s)||(r[e]=s);}});},zF=async(r,A,e)=>{if(YF(A),!A.skipValidation){let L=A.validator||XF(),ee=L.validateElement(r);if(!ee.valid)throw new Error(ee.error);let te=L.validateOptions(A);if(!te.valid)throw new Error(`Invalid options: ${te.error}`)}if(!r||typeof r!="object")throw new Error("Invalid element provided as first argument");let t=r.ownerDocument;if(!t)throw new Error("Element is not attached to a Document");let s=t.defaultView;if(!s)throw new Error("Document is not attached to a Window");let n={allowTaint:A.allowTaint??false,imageTimeout:A.imageTimeout??15e3,proxy:A.proxy,useCORS:A.useCORS??false,customIsSameOrigin:A.customIsSameOrigin},i={logging:A.logging??true,cache:A.cache??e.cache,...n},o=800,a=600,l=0,c=s,u={windowWidth:A.windowWidth??c.innerWidth??o,windowHeight:A.windowHeight??c.innerHeight??a,scrollX:A.scrollX??c.pageXOffset??l,scrollY:A.scrollY??c.pageYOffset??l},h=new FA(u.scrollX,u.scrollY,u.windowWidth,u.windowHeight),f=new an(i,h,e),p=A.enablePerformanceMonitoring??A.logging??false,d=new ma(f,p);d.start("total",{width:u.windowWidth,height:u.windowHeight});let B=A.foreignObjectRendering??false,m={allowTaint:A.allowTaint??false,onclone:A.onclone,ignoreElements:A.ignoreElements,iframeContainer:A.iframeContainer,inlineImages:B,copyStyles:B,cspNonce:A.cspNonce??e.cspNonce};f.logger.debug(`Starting document clone with size ${h.width}x${h.height} scrolled to ${-h.left},${-h.top}`),d.start("clone");let w=new qs(f,r,m),g=w.clonedReferenceElement;if(!g)throw new Error("Unable to find element in cloned iframe");let C=await w.toIFrame(t,h);d.end("clone");let{width:Q,height:b,left:M,top:v}=ba(g)||jy(g)?mm(g.ownerDocument):cn(f,g),x=ZF(f,g,A.backgroundColor),J={canvas:A.canvas,backgroundColor:x,scale:A.scale??s.devicePixelRatio??1,x:(A.x??0)+M,y:(A.y??0)+v,width:A.width??Math.ceil(Q),height:A.height??Math.ceil(b),imageSmoothing:A.imageSmoothing,imageSmoothingQuality:A.imageSmoothingQuality},hA,lA;try{return B?(f.logger.debug("Document cloned, using foreign object rendering"),d.start("render-foreignobject"),hA=await new pa(f,J).render(g),d.end("render-foreignobject")):(f.logger.debug(`Document cloned, element located at ${M},${v} with size ${Q}x${b} using computed rendering`),f.logger.debug("Starting DOM parsing"),d.start("parse"),lA=Mf(f,g),d.end("parse"),x===lA.styles.backgroundColor&&(lA.styles.backgroundColor=VA.TRANSPARENT),f.logger.debug(`Starting renderer for element at ${J.x},${J.y} with size ${J.width}x${J.height}`),d.start("render"),hA=await new da(f,J).render(lA),d.end("render")),d.start("cleanup"),(A.removeContainer??!0)&&(qs.destroy(C)||f.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),d.end("cleanup"),d.end("total"),f.logger.debug("Finished rendering"),p&&d.logSummary(),hA}finally{lA&&lA.restoreTree();}},ZF=(r,A,e)=>{let t=A.ownerDocument,s=t.documentElement?tt(r,getComputedStyle(t.documentElement).backgroundColor):VA.TRANSPARENT,n=t.body?tt(r,getComputedStyle(t.body).backgroundColor):VA.TRANSPARENT,i=typeof e=="string"?tt(r,e):e===null?VA.TRANSPARENT:4294967295;return A===t.documentElement?le(s)?le(n)?i:n:s:i};var jF=.85,qF="image/jpeg";async function Fn(r={}){let{quality:A=jF,target:e=document.documentElement,filter:t}=r,s=window.innerWidth,n=window.innerHeight,i=await Ea(e,{width:s,height:n,useCORS:true,allowTaint:false,logging:false,ignoreElements:a=>!!(t&&a instanceof HTMLElement&&!t(a))});return {blob:await new Promise((a,l)=>{i.toBlob(c=>{c?a(c):l(new Error("Screenshot capture failed: no blob produced"));},qF,A);}),width:s,height:n}}var bn=Math.PI/6,Ab="#ff0000",eb=3,tb=16,rb=10,sb=0;function ir(){return `ann_${Date.now()}_${++sb}`}function _f(r,A,e,t,s){let n=Math.atan2(e.y-A.y,e.x-A.x);r.save(),r.strokeStyle=t,r.fillStyle=t,r.lineWidth=s,r.lineCap="round",r.lineJoin="round",r.beginPath(),r.moveTo(A.x,A.y),r.lineTo(e.x,e.y),r.stroke(),r.beginPath(),r.moveTo(e.x,e.y),r.lineTo(e.x-15*Math.cos(n-bn),e.y-15*Math.sin(n-bn)),r.lineTo(e.x-15*Math.cos(n+bn),e.y-15*Math.sin(n+bn)),r.closePath(),r.fill(),r.restore();}function Gf(r,A,e,t,s){r.save(),r.strokeStyle=t,r.lineWidth=s,r.lineCap="round",r.lineJoin="round",r.strokeRect(A.x,A.y,e.x-A.x,e.y-A.y),r.restore();}function nb(r,A,e,t,s){r.save(),r.font=`${s}px sans-serif`,r.textBaseline="top";let n=4,i=r.measureText(e),o=s*1.2;r.fillStyle="rgba(0, 0, 0, 0.6)",r.fillRect(A.x-n,A.y-n,i.width+n*2,o+n*2),r.fillStyle=t,r.fillText(e,A.x,A.y),r.restore();}function Vf(r,A,e,t,s){let n=Math.min(e.x,t.x),i=Math.min(e.y,t.y),o=Math.abs(t.x-e.x),a=Math.abs(t.y-e.y);o===0||a===0||(r.save(),r.filter=`blur(${s}px)`,r.drawImage(A,n,i,o,a,n,i,o,a),r.filter="none",r.strokeStyle="rgba(128, 128, 128, 0.5)",r.lineWidth=1,r.setLineDash([4,4]),r.strokeRect(n,i,o,a),r.setLineDash([]),r.restore());}function $f(r,A,e,t){if(A.length<2)return;r.save(),r.strokeStyle=e,r.lineWidth=t,r.lineCap="round",r.lineJoin="round";let s=A[0];r.beginPath(),r.moveTo(s.x,s.y);for(let n=1;n<A.length;n++){let i=A[n];r.lineTo(i.x,i.y);}r.stroke(),r.restore();}function Wf(r,A,e){switch(e.tool){case "arrow":_f(r,e.start,e.end,e.color,e.lineWidth);break;case "box":Gf(r,e.start,e.end,e.color,e.lineWidth);break;case "text":nb(r,e.position,e.text,e.color,e.fontSize);break;case "blur":Vf(r,A,e.start,e.end,e.blurRadius);break;case "freehand":$f(r,e.points,e.color,e.lineWidth);break}}function En(r,A){for(let e of A)Wf(r,r.canvas,e);}var it=class{constructor(A,e,t){this.container=A;this.width=e;this.height=t;this.canvas=document.createElement("canvas"),this.canvas.width=e,this.canvas.height=t,this.canvas.style.cssText="position:absolute;top:0;left:0;width:100%;height:100%;cursor:crosshair;touch-action:none;";let s=this.canvas.getContext("2d");if(!s)throw new Error("Failed to get 2D canvas context");this.ctx=s,this.onPointerDownBound=this.onPointerDown.bind(this),this.onPointerMoveBound=this.onPointerMove.bind(this),this.onPointerUpBound=this.onPointerUp.bind(this),this.canvas.addEventListener("pointerdown",this.onPointerDownBound),this.canvas.addEventListener("pointermove",this.onPointerMoveBound),this.canvas.addEventListener("pointerup",this.onPointerUpBound),this.container.appendChild(this.canvas);}canvas;ctx;operations=[];currentTool="arrow";color=Ab;lineWidth=eb;fontSize=tb;blurRadius=rb;isDrawing=false;startPoint=null;currentPoints=[];screenshotImage=null;onPointerDownBound;onPointerMoveBound;onPointerUpBound;setScreenshotImage(A){this.screenshotImage=A,this.redraw();}setTool(A){this.currentTool=A;}getTool(){return this.currentTool}setColor(A){this.color=A;}setLineWidth(A){this.lineWidth=A;}setFontSize(A){this.fontSize=A;}setBlurRadius(A){this.blurRadius=A;}getOperations(){return [...this.operations]}getCanvasWidth(){return this.width}getCanvasHeight(){return this.height}undo(){this.operations.pop(),this.redraw();}clear(){this.operations=[],this.redraw();}addTextAtPosition(A,e){let t={id:ir(),tool:"text",color:this.color,lineWidth:this.lineWidth,position:A,text:e,fontSize:this.fontSize,timestamp:Date.now()};this.operations.push(t),this.redraw();}destroy(){this.canvas.removeEventListener("pointerdown",this.onPointerDownBound),this.canvas.removeEventListener("pointermove",this.onPointerMoveBound),this.canvas.removeEventListener("pointerup",this.onPointerUpBound),this.canvas.remove();}getCanvasPoint(A){let e=this.canvas.getBoundingClientRect();return {x:(A.clientX-e.left)/e.width*this.width,y:(A.clientY-e.top)/e.height*this.height}}onPointerDown(A){A.preventDefault(),this.canvas.setPointerCapture(A.pointerId);let e=this.getCanvasPoint(A);if(this.startPoint=e,this.currentTool==="text"){this.promptTextInput(e);return}this.isDrawing=true,this.currentTool==="freehand"&&(this.currentPoints=[e]);}onPointerMove(A){if(!this.isDrawing||!this.startPoint)return;A.preventDefault();let e=this.getCanvasPoint(A);this.currentTool==="freehand"&&this.currentPoints.push(e),this.redraw(),this.drawPreview(e);}onPointerUp(A){if(!this.isDrawing||!this.startPoint)return;A.preventDefault();let e=this.getCanvasPoint(A);switch(this.currentTool){case "arrow":this.operations.push({id:ir(),tool:"arrow",color:this.color,lineWidth:this.lineWidth,start:this.startPoint,end:e,timestamp:Date.now()});break;case "box":this.operations.push({id:ir(),tool:"box",color:this.color,lineWidth:this.lineWidth,start:this.startPoint,end:e,timestamp:Date.now()});break;case "blur":this.operations.push({id:ir(),tool:"blur",color:this.color,lineWidth:this.lineWidth,start:this.startPoint,end:e,blurRadius:this.blurRadius,timestamp:Date.now()});break;case "freehand":this.currentPoints.push(e),this.operations.push({id:ir(),tool:"freehand",color:this.color,lineWidth:this.lineWidth,points:[...this.currentPoints],timestamp:Date.now()}),this.currentPoints=[];break;}this.isDrawing=false,this.startPoint=null,this.redraw();}promptTextInput(A){let e=prompt("Enter annotation text:");e&&this.addTextAtPosition(A,e);}drawPreview(A){if(this.startPoint)switch(this.currentTool){case "arrow":_f(this.ctx,this.startPoint,A,this.color,this.lineWidth);break;case "box":Gf(this.ctx,this.startPoint,A,this.color,this.lineWidth);break;case "blur":Vf(this.ctx,this.canvas,this.startPoint,A,this.blurRadius);break;case "freehand":$f(this.ctx,this.currentPoints,this.color,this.lineWidth);break;}}redraw(){this.ctx.clearRect(0,0,this.width,this.height),this.screenshotImage&&this.ctx.drawImage(this.screenshotImage,0,0,this.width,this.height);for(let A of this.operations)Wf(this.ctx,this.canvas,A);}};var ib=10,ob=0;function Ia(){return `att_${Date.now()}_${++ob}`}var In=class{constructor(A){this.shadowRoot=A;this.elements=this.createDOM(),this.bindEvents();}elements;attachments=[];visible=false;submitting=false;recording=false;mediaRecorder=null;mediaStream=null;recordedChunks=[];reporterVisible=false;annotationOverlay=null;annotationContainer=null;annotationStyleEl=null;onSubmit=null;onClose=null;setOnSubmit(A){this.onSubmit=A;}setOnClose(A){this.onClose=A;}show(){this.visible=true,this.elements.root.classList.add("bd-panel--visible"),this.elements.textarea.focus();}hide(){this.visible=false,this.elements.root.classList.remove("bd-panel--visible");}isVisible(){return this.visible}reset(){this.elements.textarea.value="",this.elements.nameInput.value="",this.elements.emailInput.value="",this.revokeAttachmentUrls(),this.attachments=[],this.renderAttachments(),this.showFormView(),this.setSubmitting(false);}setReporterInfo(A,e){this.elements.nameInput.value=A,this.elements.emailInput.value=e;}getElement(){return this.elements.root}destroy(){this.stopRecording(),this.destroyAnnotation(),this.revokeAttachmentUrls(),this.elements.root.remove();}createDOM(){let A=document.createElement("div");A.className="bd-panel",A.innerHTML=`
|
|
532
467
|
<div class="bd-panel__header">
|
|
533
468
|
<span class="bd-panel__title">Report a bug</span>
|
|
534
|
-
<button class="bd-panel__close" aria-label="Close">${
|
|
469
|
+
<button class="bd-panel__close" aria-label="Close">${Ht()}</button>
|
|
535
470
|
</div>
|
|
536
471
|
<div class="bd-panel__body" data-role="body">
|
|
537
472
|
<textarea class="bd-textarea" placeholder="Describe the bug you found..." rows="4"></textarea>
|
|
538
473
|
<div class="bd-action-bar">
|
|
539
|
-
<button class="bd-action-btn" data-action="attach">${
|
|
540
|
-
<button class="bd-action-btn" data-action="screenshot">${
|
|
541
|
-
<button class="bd-action-btn" data-action="record">${
|
|
474
|
+
<button class="bd-action-btn" data-action="attach">${Lu()} Attach</button>
|
|
475
|
+
<button class="bd-action-btn" data-action="screenshot">${Tu()} Screenshot</button>
|
|
476
|
+
<button class="bd-action-btn" data-action="record">${lo()} Record</button>
|
|
542
477
|
</div>
|
|
543
478
|
<div class="bd-attachments" data-role="attachments"></div>
|
|
544
479
|
<button class="bd-reporter-toggle" data-action="toggle-reporter">
|
|
545
|
-
${
|
|
480
|
+
${Mu()} Reporter info
|
|
546
481
|
</button>
|
|
547
482
|
<div class="bd-reporter-fields" data-role="reporter-fields">
|
|
548
483
|
<input class="bd-input" type="text" placeholder="Your name" data-role="name" />
|
|
@@ -551,26 +486,232 @@ or you can use record.mirror to access the mirror instance during recording.`,Cs
|
|
|
551
486
|
<input class="bd-file-input" type="file" multiple data-role="file-input" />
|
|
552
487
|
</div>
|
|
553
488
|
<div class="bd-success" data-role="success" style="display:none">
|
|
554
|
-
${
|
|
489
|
+
${Ou()}
|
|
555
490
|
<div class="bd-success__title">Bug report sent!</div>
|
|
556
491
|
<div class="bd-success__subtitle">Thank you for your feedback.</div>
|
|
557
492
|
</div>
|
|
558
493
|
<div class="bd-panel__footer">
|
|
559
|
-
<button class="bd-send-btn" data-action="send">${
|
|
494
|
+
<button class="bd-send-btn" data-action="send">${co()} Send report</button>
|
|
495
|
+
</div>
|
|
496
|
+
`;let e=s=>A.querySelector(s);return {root:A,textarea:e(".bd-textarea"),nameInput:e('[data-role="name"]'),emailInput:e('[data-role="email"]'),sendBtn:e('[data-action="send"]'),screenshotBtn:e('[data-action="screenshot"]'),recordBtn:e('[data-action="record"]'),attachBtn:e('[data-action="attach"]'),fileInput:e('[data-role="file-input"]'),attachmentsList:e('[data-role="attachments"]'),reporterToggle:e('[data-action="toggle-reporter"]'),reporterFields:e('[data-role="reporter-fields"]'),body:e('[data-role="body"]'),successView:e('[data-role="success"]')}}bindEvents(){this.elements.root.querySelector(".bd-panel__close").addEventListener("click",()=>this.handleClose()),this.elements.sendBtn.addEventListener("click",()=>this.handleSubmit()),this.elements.screenshotBtn.addEventListener("click",()=>this.handleScreenshot()),this.elements.recordBtn.addEventListener("click",()=>this.handleRecord()),this.elements.attachBtn.addEventListener("click",()=>this.elements.fileInput.click()),this.elements.fileInput.addEventListener("change",()=>this.handleFileSelect()),this.elements.reporterToggle.addEventListener("click",()=>this.toggleReporter()),this.elements.attachmentsList.addEventListener("click",e=>{let s=e.target.closest("[data-remove-id]");if(s){let n=s.dataset.removeId;this.removeAttachment(n);}});}handleClose(){this.onClose?.();}async handleSubmit(){let A=this.elements.textarea.value.trim();if(!A){this.elements.textarea.focus();return}if(!(this.submitting||!this.onSubmit)){this.setSubmitting(true);try{await this.onSubmit({description:A,reporterName:this.elements.nameInput.value.trim(),reporterEmail:this.elements.emailInput.value.trim(),attachments:[...this.attachments]}),this.showSuccessView(),setTimeout(()=>{this.reset(),this.handleClose();},2e3);}catch{this.setSubmitting(false);}}}async handleScreenshot(){this.elements.screenshotBtn.disabled=true;let A=this.elements.screenshotBtn.innerHTML;this.elements.screenshotBtn.innerHTML='<span class="bd-spinner"></span> Capturing...';try{this.hide(),await ab(50);let e=await Fn({filter:n=>!(n instanceof HTMLElement&&n.tagName.toLowerCase()==="bugdump-widget")}),t=URL.createObjectURL(e.blob),s=await lb(t);this.showAnnotationOverlay(s,e.blob,e.width,e.height);}catch(e){console.warn("[Bugdump] Screenshot capture failed:",e),this.show();}finally{this.elements.screenshotBtn.disabled=false,this.elements.screenshotBtn.innerHTML=A;}}showAnnotationOverlay(A,e,t,s){this.annotationStyleEl=document.createElement("style"),this.annotationStyleEl.textContent=ub(),document.head.appendChild(this.annotationStyleEl),this.annotationContainer=document.createElement("div"),this.annotationContainer.className="bd-annotation-overlay";let n=document.createElement("div");n.className="bd-annotation-toolbar",n.innerHTML=`
|
|
497
|
+
<div class="bd-annotation-toolbar__group">
|
|
498
|
+
<button class="bd-annotation-tool-btn active" data-tool="arrow" title="Arrow">${Nu()}</button>
|
|
499
|
+
<button class="bd-annotation-tool-btn" data-tool="box" title="Rectangle">${ku()}</button>
|
|
500
|
+
<button class="bd-annotation-tool-btn" data-tool="freehand" title="Draw">${Pu()}</button>
|
|
501
|
+
<button class="bd-annotation-tool-btn" data-tool="text" title="Text">${_u()}</button>
|
|
502
|
+
<button class="bd-annotation-tool-btn" data-tool="blur" title="Blur">${Gu()}</button>
|
|
503
|
+
</div>
|
|
504
|
+
<div class="bd-annotation-toolbar__colors">
|
|
505
|
+
<button class="bd-annotation-color-btn active" data-color="#ff0000" style="background:#ff0000" title="Red"></button>
|
|
506
|
+
<button class="bd-annotation-color-btn" data-color="#ffcc00" style="background:#ffcc00" title="Yellow"></button>
|
|
507
|
+
<button class="bd-annotation-color-btn" data-color="#00cc44" style="background:#00cc44" title="Green"></button>
|
|
508
|
+
<button class="bd-annotation-color-btn" data-color="#0099ff" style="background:#0099ff" title="Blue"></button>
|
|
509
|
+
<button class="bd-annotation-color-btn" data-color="#ffffff" style="background:#ffffff" title="White"></button>
|
|
560
510
|
</div>
|
|
561
|
-
`;let t=i=>e.querySelector(i);return {root:e,textarea:t(".bd-textarea"),nameInput:t('[data-role="name"]'),emailInput:t('[data-role="email"]'),sendBtn:t('[data-action="send"]'),screenshotBtn:t('[data-action="screenshot"]'),recordBtn:t('[data-action="record"]'),attachBtn:t('[data-action="attach"]'),fileInput:t('[data-role="file-input"]'),attachmentsList:t('[data-role="attachments"]'),reporterToggle:t('[data-action="toggle-reporter"]'),reporterFields:t('[data-role="reporter-fields"]'),body:t('[data-role="body"]'),successView:t('[data-role="success"]')}}bindEvents(){this.elements.root.querySelector(".bd-panel__close").addEventListener("click",()=>this.handleClose()),this.elements.sendBtn.addEventListener("click",()=>this.handleSubmit()),this.elements.screenshotBtn.addEventListener("click",()=>this.handleScreenshot()),this.elements.recordBtn.addEventListener("click",()=>this.handleRecord()),this.elements.attachBtn.addEventListener("click",()=>this.elements.fileInput.click()),this.elements.fileInput.addEventListener("change",()=>this.handleFileSelect()),this.elements.reporterToggle.addEventListener("click",()=>this.toggleReporter()),this.elements.attachmentsList.addEventListener("click",t=>{let i=t.target.closest("[data-remove-id]");if(i){let s=i.dataset.removeId;this.removeAttachment(s);}});}handleClose(){this.onClose?.();}async handleSubmit(){let e=this.elements.textarea.value.trim();if(!e){this.elements.textarea.focus();return}if(!(this.submitting||!this.onSubmit)){this.setSubmitting(true);try{await this.onSubmit({description:e,reporterName:this.elements.nameInput.value.trim(),reporterEmail:this.elements.emailInput.value.trim(),attachments:[...this.attachments]}),this.showSuccessView(),setTimeout(()=>{this.reset(),this.handleClose();},2e3);}catch{this.setSubmitting(false);}}}async handleScreenshot(){this.elements.screenshotBtn.disabled=true;try{this.hide(),await kp(100);let e=await Dr({filter:i=>!(i instanceof HTMLElement&&i.tagName.toLowerCase()==="bugdump-widget")}),t=URL.createObjectURL(e.blob),r=await Pp(t);this.showAnnotationOverlay(r,e.blob,e.width,e.height);}catch{this.show();}finally{this.elements.screenshotBtn.disabled=false;}}showAnnotationOverlay(e,t,r,i){this.annotationContainer=document.createElement("div"),this.annotationContainer.className="bd-annotation-overlay";let s=document.createElement("div");s.className="bd-annotation-toolbar",s.innerHTML=`
|
|
562
|
-
<button class="active" data-tool="arrow">Arrow</button>
|
|
563
|
-
<button data-tool="box">Box</button>
|
|
564
|
-
<button data-tool="freehand">Draw</button>
|
|
565
|
-
<button data-tool="text">Text</button>
|
|
566
|
-
<button data-tool="blur">Blur</button>
|
|
567
511
|
<div class="bd-annotation-toolbar__spacer"></div>
|
|
568
|
-
<button data-annotation-action="undo"
|
|
569
|
-
<
|
|
570
|
-
<button class="bd-annotation-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
512
|
+
<button class="bd-annotation-action-btn" data-annotation-action="undo" title="Undo">${Vu()}</button>
|
|
513
|
+
<div class="bd-annotation-toolbar__divider"></div>
|
|
514
|
+
<button class="bd-annotation-toolbar__cancel" data-annotation-action="cancel">${Ht()} Cancel</button>
|
|
515
|
+
<button class="bd-annotation-toolbar__confirm" data-annotation-action="confirm">${$u()} Done</button>
|
|
516
|
+
`;let i=document.createElement("div");i.className="bd-annotation-canvas-wrap",this.annotationContainer.appendChild(n),this.annotationContainer.appendChild(i),document.body.appendChild(this.annotationContainer),this.annotationOverlay=new it(i,t,s),this.annotationOverlay.setScreenshotImage(A),n.addEventListener("click",o=>{let l=o.target.closest("button");if(!l)return;let c=l.dataset.tool;if(c){this.annotationOverlay?.setTool(c),n.querySelectorAll("[data-tool]").forEach(f=>f.classList.remove("active")),l.classList.add("active");return}let u=l.dataset.color;if(u){this.annotationOverlay?.setColor(u),n.querySelectorAll("[data-color]").forEach(f=>f.classList.remove("active")),l.classList.add("active");return}let h=l.dataset.annotationAction;h==="undo"?this.annotationOverlay?.undo():h==="cancel"?(URL.revokeObjectURL(A.src),this.destroyAnnotation(),this.show()):h==="confirm"&&this.finishAnnotation(e,A);});}async finishAnnotation(A,e){let t=this.annotationOverlay?.getOperations()??[],s,n;if(t.length>0){let o=document.createElement("canvas");o.width=e.naturalWidth,o.height=e.naturalHeight;let a=o.getContext("2d");a.drawImage(e,0,0);let l=e.naturalWidth/this.annotationOverlay.getCanvasWidth(),c=e.naturalHeight/this.annotationOverlay.getCanvasHeight();a.save(),a.scale(l,c),En(a,t),a.restore(),s=await new Promise(h=>{o.toBlob(f=>h(f),"image/jpeg",.92);});let u=t.filter(h=>h.tool==="text");u.length>0&&(n=u.map(h=>({text:h.text,x:Math.round(h.position.x),y:Math.round(h.position.y)})));}else s=A;let i=URL.createObjectURL(s);this.addAttachment({id:Ia(),type:"screenshot",blob:s,name:`screenshot-${Date.now()}.jpg`,thumbnailUrl:i,textAnnotations:n}),URL.revokeObjectURL(e.src),this.destroyAnnotation(),this.show();}destroyAnnotation(){this.annotationOverlay?.destroy(),this.annotationOverlay=null,this.annotationContainer?.remove(),this.annotationContainer=null,this.annotationStyleEl?.remove(),this.annotationStyleEl=null;}async handleRecord(){if(this.recording){this.stopRecording();return}try{this.mediaStream=await navigator.mediaDevices.getDisplayMedia({video:!0,audio:!1,preferCurrentTab:!0}),this.recordedChunks=[],this.mediaRecorder=new MediaRecorder(this.mediaStream,{mimeType:cb()}),this.mediaRecorder.ondataavailable=A=>{A.data.size>0&&this.recordedChunks.push(A.data);},this.mediaRecorder.onstop=()=>{let A=new Blob(this.recordedChunks,{type:this.mediaRecorder?.mimeType||"video/webm"}),e=URL.createObjectURL(A);this.addAttachment({id:Ia(),type:"recording",blob:A,name:`recording-${Date.now()}.webm`,thumbnailUrl:e}),this.cleanupMediaStream(),this.setRecordingState(!1);},this.mediaStream.getVideoTracks()[0]?.addEventListener("ended",()=>{this.stopRecording();}),this.mediaRecorder.start(),this.setRecordingState(!0);}catch{this.cleanupMediaStream(),this.setRecordingState(false);}}stopRecording(){this.mediaRecorder&&this.mediaRecorder.state!=="inactive"&&this.mediaRecorder.stop(),this.cleanupMediaStream();}cleanupMediaStream(){this.mediaStream&&(this.mediaStream.getTracks().forEach(A=>A.stop()),this.mediaStream=null);}setRecordingState(A){this.recording=A,A?(this.elements.recordBtn.innerHTML=`${Ku()} Stop`,this.elements.recordBtn.style.color="#ef4444"):(this.elements.recordBtn.innerHTML=`${lo()} Record`,this.elements.recordBtn.style.color="");}handleFileSelect(){let A=this.elements.fileInput.files;if(A){for(let e=0;e<A.length;e++){let t=A[e],n=t.type.startsWith("image/")?URL.createObjectURL(t):void 0;this.addAttachment({id:Ia(),type:"file",blob:t,name:t.name,thumbnailUrl:n});}this.elements.fileInput.value="";}}addAttachment(A){this.attachments.length>=ib||(this.attachments.push(A),this.renderAttachments());}removeAttachment(A){let e=this.attachments.findIndex(s=>s.id===A);if(e===-1)return;let t=this.attachments[e];t.thumbnailUrl&&URL.revokeObjectURL(t.thumbnailUrl),this.attachments.splice(e,1),this.renderAttachments();}renderAttachments(){let A=this.elements.attachmentsList;if(A.innerHTML="",this.attachments.length===0){A.style.display="none";return}A.style.display="flex";for(let e of this.attachments){let t=document.createElement("div");t.className="bd-attachment";let s;e.thumbnailUrl&&e.type!=="recording"?s=`<img src="${e.thumbnailUrl}" alt="${e.name}" />`:e.type==="recording"&&e.thumbnailUrl?s=`<video src="${e.thumbnailUrl}" muted></video>`:s=`<div class="bd-attachment__icon">${Ru()}</div>`,t.innerHTML=`
|
|
517
|
+
${s}
|
|
518
|
+
<button class="bd-attachment__remove" data-remove-id="${e.id}" aria-label="Remove">
|
|
519
|
+
${Du()}
|
|
575
520
|
</button>
|
|
576
|
-
`,
|
|
521
|
+
`,A.appendChild(t);}}toggleReporter(){this.reporterVisible=!this.reporterVisible,this.elements.reporterToggle.classList.toggle("bd-reporter-toggle--open",this.reporterVisible),this.elements.reporterFields.classList.toggle("bd-reporter-fields--visible",this.reporterVisible);}setUploadProgress(A,e,t){if(e===0)return;let s=Math.round((A-1+t/100)/e*100);this.elements.sendBtn.innerHTML=`<span class="bd-spinner"></span> Uploading ${A}/${e}\u2026 ${s}%`;}setSubmitting(A){this.submitting=A,this.elements.sendBtn.disabled=A,A?this.elements.sendBtn.innerHTML='<span class="bd-spinner"></span> Sending...':this.elements.sendBtn.innerHTML=`${co()} Send report`;}showSuccessView(){this.elements.body.style.display="none",this.elements.successView.style.display="flex";let A=this.elements.root.querySelector(".bd-panel__footer");A.style.display="none";}showFormView(){this.elements.body.style.display="flex",this.elements.successView.style.display="none";let A=this.elements.root.querySelector(".bd-panel__footer");A.style.display="flex";}revokeAttachmentUrls(){for(let A of this.attachments)A.thumbnailUrl&&URL.revokeObjectURL(A.thumbnailUrl);}};function ab(r){return new Promise(A=>setTimeout(A,r))}function lb(r){return new Promise((A,e)=>{let t=new Image;t.onload=()=>A(t),t.onerror=e,t.src=r;})}function cb(){let r=["video/webm;codecs=vp9","video/webm;codecs=vp8","video/webm","video/mp4"];for(let A of r)if(MediaRecorder.isTypeSupported(A))return A;return "video/webm"}function ub(){return `
|
|
522
|
+
.bd-annotation-overlay {
|
|
523
|
+
position: fixed;
|
|
524
|
+
top: 0;
|
|
525
|
+
left: 0;
|
|
526
|
+
width: 100%;
|
|
527
|
+
height: 100%;
|
|
528
|
+
z-index: 2147483647;
|
|
529
|
+
background: rgba(0, 0, 0, 0.6);
|
|
530
|
+
display: flex;
|
|
531
|
+
flex-direction: column;
|
|
532
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.bd-annotation-toolbar {
|
|
536
|
+
display: flex;
|
|
537
|
+
align-items: center;
|
|
538
|
+
gap: 8px;
|
|
539
|
+
padding: 8px 16px;
|
|
540
|
+
background: #1a1a2e;
|
|
541
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
542
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.bd-annotation-toolbar__group {
|
|
546
|
+
display: flex;
|
|
547
|
+
align-items: center;
|
|
548
|
+
gap: 2px;
|
|
549
|
+
background: rgba(255, 255, 255, 0.06);
|
|
550
|
+
border-radius: 8px;
|
|
551
|
+
padding: 3px;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.bd-annotation-tool-btn {
|
|
555
|
+
display: flex;
|
|
556
|
+
align-items: center;
|
|
557
|
+
justify-content: center;
|
|
558
|
+
width: 36px;
|
|
559
|
+
height: 36px;
|
|
560
|
+
padding: 0;
|
|
561
|
+
background: transparent;
|
|
562
|
+
color: rgba(255, 255, 255, 0.7);
|
|
563
|
+
border: 2px solid transparent;
|
|
564
|
+
border-radius: 6px;
|
|
565
|
+
cursor: pointer;
|
|
566
|
+
transition: all 0.15s ease;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
.bd-annotation-tool-btn svg {
|
|
570
|
+
width: 18px;
|
|
571
|
+
height: 18px;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
.bd-annotation-tool-btn:hover {
|
|
575
|
+
color: #ffffff;
|
|
576
|
+
background: rgba(255, 255, 255, 0.1);
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.bd-annotation-tool-btn.active {
|
|
580
|
+
color: #ffffff;
|
|
581
|
+
background: rgba(99, 102, 241, 0.5);
|
|
582
|
+
border-color: rgba(99, 102, 241, 0.8);
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.bd-annotation-toolbar__colors {
|
|
586
|
+
display: flex;
|
|
587
|
+
align-items: center;
|
|
588
|
+
gap: 4px;
|
|
589
|
+
padding: 0 8px;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
.bd-annotation-color-btn {
|
|
593
|
+
width: 20px;
|
|
594
|
+
height: 20px;
|
|
595
|
+
border-radius: 50%;
|
|
596
|
+
border: 2px solid rgba(255, 255, 255, 0.2);
|
|
597
|
+
cursor: pointer;
|
|
598
|
+
padding: 0;
|
|
599
|
+
transition: transform 0.15s ease, border-color 0.15s ease;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
.bd-annotation-color-btn:hover {
|
|
603
|
+
transform: scale(1.2);
|
|
604
|
+
border-color: rgba(255, 255, 255, 0.5);
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.bd-annotation-color-btn.active {
|
|
608
|
+
border-color: #ffffff;
|
|
609
|
+
transform: scale(1.15);
|
|
610
|
+
box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
.bd-annotation-toolbar__spacer {
|
|
614
|
+
flex: 1;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.bd-annotation-action-btn {
|
|
618
|
+
display: flex;
|
|
619
|
+
align-items: center;
|
|
620
|
+
justify-content: center;
|
|
621
|
+
width: 36px;
|
|
622
|
+
height: 36px;
|
|
623
|
+
padding: 0;
|
|
624
|
+
background: transparent;
|
|
625
|
+
color: rgba(255, 255, 255, 0.7);
|
|
626
|
+
border: 1px solid transparent;
|
|
627
|
+
border-radius: 6px;
|
|
628
|
+
cursor: pointer;
|
|
629
|
+
transition: all 0.15s ease;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.bd-annotation-action-btn svg {
|
|
633
|
+
width: 18px;
|
|
634
|
+
height: 18px;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
.bd-annotation-action-btn:hover {
|
|
638
|
+
color: #ffffff;
|
|
639
|
+
background: rgba(255, 255, 255, 0.1);
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.bd-annotation-toolbar__divider {
|
|
643
|
+
width: 1px;
|
|
644
|
+
height: 24px;
|
|
645
|
+
background: rgba(255, 255, 255, 0.15);
|
|
646
|
+
margin: 0 4px;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.bd-annotation-toolbar__cancel {
|
|
650
|
+
display: inline-flex;
|
|
651
|
+
align-items: center;
|
|
652
|
+
gap: 6px;
|
|
653
|
+
padding: 7px 14px;
|
|
654
|
+
background: transparent;
|
|
655
|
+
color: rgba(255, 255, 255, 0.6);
|
|
656
|
+
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
657
|
+
border-radius: 6px;
|
|
658
|
+
font-size: 13px;
|
|
659
|
+
font-weight: 500;
|
|
660
|
+
font-family: inherit;
|
|
661
|
+
cursor: pointer;
|
|
662
|
+
transition: all 0.15s ease;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
.bd-annotation-toolbar__cancel svg {
|
|
666
|
+
width: 14px;
|
|
667
|
+
height: 14px;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.bd-annotation-toolbar__cancel:hover {
|
|
671
|
+
color: #ffffff;
|
|
672
|
+
background: rgba(255, 255, 255, 0.08);
|
|
673
|
+
border-color: rgba(255, 255, 255, 0.3);
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
.bd-annotation-toolbar__confirm {
|
|
677
|
+
display: inline-flex;
|
|
678
|
+
align-items: center;
|
|
679
|
+
gap: 6px;
|
|
680
|
+
padding: 7px 16px;
|
|
681
|
+
background: #22c55e;
|
|
682
|
+
color: #ffffff;
|
|
683
|
+
border: none;
|
|
684
|
+
border-radius: 6px;
|
|
685
|
+
font-size: 13px;
|
|
686
|
+
font-weight: 600;
|
|
687
|
+
font-family: inherit;
|
|
688
|
+
cursor: pointer;
|
|
689
|
+
transition: background-color 0.15s ease;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.bd-annotation-toolbar__confirm svg {
|
|
693
|
+
width: 14px;
|
|
694
|
+
height: 14px;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
.bd-annotation-toolbar__confirm:hover {
|
|
698
|
+
background: #16a34a;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.bd-annotation-canvas-wrap {
|
|
702
|
+
flex: 1;
|
|
703
|
+
display: flex;
|
|
704
|
+
align-items: center;
|
|
705
|
+
justify-content: center;
|
|
706
|
+
overflow: hidden;
|
|
707
|
+
position: relative;
|
|
708
|
+
}
|
|
709
|
+
`}var xn=class{host;shadowRoot;triggerBtn;panel;open=false;onSubmit=null;constructor(A){this.host=document.createElement("bugdump-widget"),this.host.style.cssText="all:initial;position:fixed;z-index:2147483647;",this.shadowRoot=this.host.attachShadow({mode:"closed"});let e=document.createElement("style");e.textContent=Hu(),this.shadowRoot.appendChild(e),this.triggerBtn=this.createTriggerButton(),A?.hideButton&&(this.triggerBtn.style.display="none"),this.shadowRoot.appendChild(this.triggerBtn),this.panel=new In(this.shadowRoot),this.shadowRoot.appendChild(this.panel.getElement()),this.panel.setOnClose(()=>this.close()),document.body.appendChild(this.host);}setOnSubmit(A){this.onSubmit=A,this.panel.setOnSubmit(A);}setReporterInfo(A,e){this.panel.setReporterInfo(A,e);}setUploadProgress(A,e,t){this.panel.setUploadProgress(A,e,t);}toggle(){this.open?this.close():this.openPanel();}openPanel(){this.open||(this.open=true,this.triggerBtn.classList.add("bd-trigger--open"),this.triggerBtn.innerHTML=Ht(),this.panel.show());}close(){this.open&&(this.open=false,this.triggerBtn.classList.remove("bd-trigger--open"),this.triggerBtn.innerHTML=ao(),this.panel.hide());}isOpen(){return this.open}destroy(){this.panel.destroy(),this.host.remove();}createTriggerButton(){let A=document.createElement("button");return A.className="bd-trigger",A.setAttribute("aria-label","Report a bug"),A.innerHTML=ao(),A.addEventListener("click",()=>this.toggle()),A}};var Sn=class r{static instance=null;state;httpClient=null;consoleCollector;networkCollector;sessionReplayCollector;widget=null;constructor(){this.state=Tn(),this.consoleCollector=new cr,this.networkCollector=new ot,this.sessionReplayCollector=new ds;}static init(A){if(r.instance)return r.instance;let e=new r,t=La(A);return e.state.config=t,e.state.initialized=true,e.httpClient=new lr(t.endpoint,t.projectKey),e.networkCollector=new ot({captureBodies:t.captureNetworkBodies}),e.consoleCollector.start(),e.networkCollector.start(),e.sessionReplayCollector.start(),e.mountWidget(),r.instance=e,e}static getInstance(){return r.instance}identify(A){this.ensureInitialized(),this.state.user=A,this.widget&&this.widget.setReporterInfo(A.name||"",A.email||"");}setContext(A){this.ensureInitialized(),this.state.customContext={...this.state.customContext,...A};}open(){this.ensureInitialized(),this.state.widgetOpen=true,this.widget?.openPanel();}close(){this.ensureInitialized(),this.state.widgetOpen=false,this.widget?.close();}collectTelemetry(){return this.ensureInitialized(),{consoleLogs:this.consoleCollector.flush(),networkRequests:this.networkCollector.flush(),sessionReplayEvents:this.sessionReplayCollector.flush(),performance:Su(),metadata:vu()}}destroy(){this.widget?.destroy(),this.widget=null,this.consoleCollector.stop(),this.networkCollector.stop(),this.sessionReplayCollector.stop(),this.state=Tn(),this.httpClient=null,r.instance=null;}getConfig(){return this.state.config}getUser(){return this.state.user}getContext(){return this.state.customContext}getHttpClient(){return this.ensureInitialized(),this.httpClient}isWidgetOpen(){return this.state.widgetOpen}mountWidget(){typeof document>"u"||(this.widget=new xn({hideButton:this.state.config?.hideButton}),this.widget.setOnSubmit(A=>this.handleSubmit(A)));}async handleSubmit(A){let e=this.httpClient,t=this.collectTelemetry(),s=t.metadata,n=[],i=t.sessionReplayEvents.length>0,o=A.attachments.length+(i?1:0),a=0;for(let c of A.attachments){a++;let u=a,h=await e.requestUpload({originalName:c.name,mimeType:c.blob.type,size:c.blob.size});await e.uploadFileToS3(h.url,h.fields,c.blob,p=>{this.widget?.setUploadProgress(u,o,p);});let f=c.type==="file"?"screenshot":c.type;n.push({fileId:h.fileId,type:f,metadata:c.textAnnotations?{textAnnotations:c.textAnnotations}:void 0});}if(i){a++;let c=a,u=new Blob([JSON.stringify(t.sessionReplayEvents)],{type:"application/json"}),h=await e.requestUpload({originalName:`session-replay-${Date.now()}.json`,mimeType:"application/json",size:u.size});await e.uploadFileToS3(h.url,h.fields,u,f=>{this.widget?.setUploadProgress(c,o,f);}),n.push({fileId:h.fileId,type:"session_replay"});}let l={description:A.description,reporterName:A.reporterName||this.state.user?.name||void 0,reporterEmail:A.reporterEmail||this.state.user?.email||void 0,reporterExternalId:this.state.user?.id||void 0,pageUrl:s.url,referrerUrl:s.referrer||void 0,userAgent:s.userAgent,viewport:s.viewport,consoleLogs:t.consoleLogs,networkRequests:t.networkRequests,performance:t.performance,customContext:Object.keys(this.state.customContext).length>0?this.state.customContext:void 0,attachments:n.length>0?n:void 0};await e.submitReport(l);}ensureInitialized(){if(!this.state.initialized)throw new Error("Bugdump SDK is not initialized. Call Bugdump.init() first.")}};if(typeof document<"u"){let r=document.currentScript||(()=>{let A=document.querySelectorAll("script[data-api-key]");return A[A.length-1]})();if(r){let A=r,e=A.getAttribute("data-api-key"),t=A.getAttribute("data-api-url"),s=A.getAttribute("data-capture-network-bodies")==="true",n=A.getAttribute("data-hide-button")==="true";e&&Sn.init({projectKey:e,...t&&{endpoint:t},...s&&{captureNetworkBodies:s},...n&&{hideButton:n}});}}/*! Bundled license information:
|
|
710
|
+
|
|
711
|
+
html2canvas-pro/dist/html2canvas-pro.esm.js:
|
|
712
|
+
(*!
|
|
713
|
+
* html2canvas-pro 2.0.2 <https://yorickshan.github.io/html2canvas-pro/>
|
|
714
|
+
* Copyright (c) 2024-present yorickshan and html2canvas-pro contributors
|
|
715
|
+
* Released under MIT License
|
|
716
|
+
*)
|
|
717
|
+
*/exports.AnnotationOverlay=it;exports.Bugdump=Sn;exports.BugdumpApiError=Be;exports.captureScreenshot=Fn;exports.renderOperationsToCanvas=En;return exports;})({});
|